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

pestphp conflict with this package in Laravel 10 #250

Closed
Ifriqiya opened this issue Feb 15, 2023 · 2 comments
Closed

pestphp conflict with this package in Laravel 10 #250

Ifriqiya opened this issue Feb 15, 2023 · 2 comments

Comments

@Ifriqiya
Copy link

I got this error while trying to upgrade to Laravel 10:

  Problem 1
    - Root composer.json requires pestphp/pest ^1.22.4 -> satisfiable by pestphp/pest[v1.22.4].
    - pestphp/pest v1.22.4 requires nunomaduro/collision ^5.11.0|^6.3.0 -> found nunomaduro/collision[v5.11.0, v6.3.0, v6.3.1, v6.3.2, v6.4.0] but it conflicts with your root composer.json require (^7.0.2).
  Problem 2
    - pestphp/pest v1.22.4 requires nunomaduro/collision ^5.11.0|^6.3.0 -> found nunomaduro/collision[v5.11.0, v6.3.0, v6.3.1, v6.3.2, v6.4.0] but it conflicts with your root composer.json require (^7.0.2).
    - pestphp/pest-plugin-laravel v1.4.0 requires pestphp/pest ^1.22.1 -> satisfiable by pestphp/pest[v1.22.4].
    - Root composer.json requires pestphp/pest-plugin-laravel ^1.4.0 -> satisfiable by pestphp/pest-plugin-laravel[v1.4.0].

pestphp/pest 1.22.4 appears to conflict with nunomaduro/collission 7.0.2. How do I resolve this?

@Ifriqiya Ifriqiya changed the title Pest conflict with package in Laravel 10 pestphp conflict with this package in Laravel 10 Feb 15, 2023
@owenvoke
Copy link
Collaborator

Please see Nuno's comment here: pestphp/pest#664 (comment)

You only need to upgrade to Collision 7.x if you are using PHPUnit 10 or Pest 2.x (which releases towards the end of the month).

@Ifriqiya
Copy link
Author

Thanks @owenvoke, noted.

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

2 participants