-
Notifications
You must be signed in to change notification settings - Fork 72
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
Not Installing working with composer in Laravel 11 #384
Comments
hey @ricardosierra PHPUnit should be a dev dependency, I'm not sure why there is a conflict 🤔 . Yes, you instead Psalm as a dev dependency, but, Psalm will not instal it's dev dependencies. neither Psalm and psalm-laravel have phpunit as non-dev dependency: psalm-laravel: psalm-plugin-laravel/composer.json Lines 13 to 30 in ffd5139
UPD: I would like to move |
UPD: it's caused by But which package requested it? can you please install your composer dependencies with |
Hi @alies-dev. I can install changing phpunit for 10.5 `
|
@alies-dev When I go back to phpunit 11, the error comes back even when I remove the mocking and collision. |
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
|
Describe the bug
A clear and concise description of what the bug is.
The command: "composer require --dev psalm/plugin-laravel -W" not working
My composer.json:
Additional context
Composer response:
You can also try re-running composer require with an explicit version constraint, e.g. "composer require psalm/plugin-laravel:*" to figure out if any version is installable, or "composer require psalm/plugin-laravel:^2.1" if you know which you need.
Or using dev-master version:
composer require --dev psalm/plugin-laravel:dev-master -W
./composer.json has been updated
Running composer update psalm/plugin-laravel --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Installation failed, reverting ./composer.json to its original content.
The text was updated successfully, but these errors were encountered: