Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with Pest v3 #693

Closed
renky opened this issue Sep 29, 2024 · 2 comments
Closed

Incompatibility with Pest v3 #693

renky opened this issue Sep 29, 2024 · 2 comments

Comments

@renky
Copy link

renky commented Sep 29, 2024

Q A
Bug report? yes
Library version v2.11
PHP 8.3 (but should be the same with earlier versions.

Cannot be installed with current Pest v3

Pest v3 requires phpunit v11, which requires "sebastian/diff": "^6.0.2",

phpinsights requires "sebastian/diff" in v4 and 5 but not 6...

reproduce in a blank new directory:

    composer require pestphp/pest
    composer require nunomaduro/phpinsights

The first will install pest v3, the second will fail.

@brandonferens
Copy link

In addition to the conflict with sebastian/diff (which has been fixed by the merged PR #692), the cmgmyr/phploc package requires phpunit/phpunit 9 or 10 and sebastian/cli-parser 1 or 2. So now we have to get those packages updated as well, or at least get their composer.json files to be a bit more lenient.

@brandonferens
Copy link

v2.12.0 seems to have fixed the issues related to Pest v3

@cmgmyr cmgmyr closed this as completed Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants