You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to update to 2.4.0, composer install fails because of a conflict. In my case its doctrine/coding-standard, but there could probably also be conflicts with other packages.
The reason is that phpstan/phpdoc-parser was locked to ~1.5.0 (which is a relatively old version, current is 1.9.0) in this commit: 16e8192
The commit message is not related to adding this requirement, so I'm not sure if this was added by accident.
Is locking the phpstan/phpdoc-parser version really necessary or can this tight version constraint be removed again?
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires doctrine/coding-standard 10.0.0 -> satisfiable by doctrine/coding-standard[10.0.0].
- doctrine/coding-standard 10.0.0 requires slevomat/coding-standard ^8.2 -> satisfiable by slevomat/coding-standard[8.2.0, ..., 8.5.2].
- slevomat/coding-standard[8.2.0, ..., 8.3.0] require phpstan/phpdoc-parser ^1.6.2 -> satisfiable by phpstan/phpdoc-parser[1.6.2, ..., 1.9.0].
- slevomat/coding-standard[8.5.0, ..., 8.5.2] require phpstan/phpdoc-parser >=1.7.0 <1.9.0 -> satisfiable by phpstan/phpdoc-parser[1.7.0, 1.8.0].
- slevomat/coding-standard 8.4.0 requires phpstan/phpdoc-parser >=1.7.0 <1.8.0 -> satisfiable by phpstan/phpdoc-parser[1.7.0].
- You can only install one version of a package, so only one of these can be installed: phpstan/phpdoc-parser[1.5.0, ..., 1.9.0].
- weirdan/doctrine-psalm-plugin v2.4.0 requires phpstan/phpdoc-parser ~1.5.0 -> satisfiable by phpstan/phpdoc-parser[1.5.0, 1.5.1].
- Root composer.json requires weirdan/doctrine-psalm-plugin 2.4.0 -> satisfiable by weirdan/doctrine-psalm-plugin[v2.4.0].
The text was updated successfully, but these errors were encountered:
@AndrolGenhald mentioned that the constraint should be removed again after doctrine/coding-standard has a 9.x release, so it seems like this is a leftover.
When trying to update to
2.4.0
, composer install fails because of a conflict. In my case itsdoctrine/coding-standard
, but there could probably also be conflicts with other packages.The reason is that
phpstan/phpdoc-parser
was locked to~1.5.0
(which is a relatively old version, current is1.9.0
) in this commit: 16e8192The commit message is not related to adding this requirement, so I'm not sure if this was added by accident.
Is locking the
phpstan/phpdoc-parser
version really necessary or can this tight version constraint be removed again?The text was updated successfully, but these errors were encountered: