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
I tried to start a new project with symfony 4, doctrine and maker. But php-di requires a version of nikic/php-parser at ^2.0|^3.0 - would it be possible to update the dependency requirements?
Error log:
composer require php-di/symfony-bridge
Using version ^3.0 for php-di/symfony-bridge
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- php-di/symfony-bridge 3.0.0 requires php-di/php-di ~6.0 -> satisfiable by php-di/php-di[6.0.0].
- Installation request for php-di/symfony-bridge ^3.0 -> satisfiable by php-di/symfony-bridge[3.0.0].
- Conclusion: remove nikic/php-parser v4.0.1
- Conclusion: don't install nikic/php-parser v4.0.1
- php-di/php-di 6.0.0 requires nikic/php-parser ^2.0|^3.0 -> satisfiable by nikic/php-parser[v2.0.0, v2.0.1, v2.1.0, v2.1.1, v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.1.0, v3.1.1, v3.1.2, v3.1.3, v3.1.4, v3.1.5].
- Can only install one of: nikic/php-parser[v2.0.0, v4.0.1].
- Can only install one of: nikic/php-parser[v2.0.1, v4.0.1].
- Can only install one of: nikic/php-parser[v2.1.0, v4.0.1].
- Can only install one of: nikic/php-parser[v2.1.1, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.0, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.1, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.2, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.3, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.4, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.5, v4.0.1].
- Can only install one of: nikic/php-parser[v3.0.6, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.0, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.1, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.2, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.3, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.4, v4.0.1].
- Can only install one of: nikic/php-parser[v3.1.5, v4.0.1].
- Installation request for nikic/php-parser (locked at v4.0.1) -> satisfiable by nikic/php-parser[v4.0.1].
Installation failed, reverting ./composer.json to its original content.
The text was updated successfully, but these errors were encountered:
martin-juul
changed the title
Conflict regarding nikic/php-parser version
Conflict regarding nikic/php-parser version (Symfony 4)
Mar 27, 2018
I tried to start a new project with symfony 4, doctrine and maker. But php-di requires a version of nikic/php-parser at ^2.0|^3.0 - would it be possible to update the dependency requirements?
Error log:
The text was updated successfully, but these errors were encountered: