I want to update the Symfony version of our app from 2.7.13 to 2.7.38. I updated composer.json but when I try to update, it throws an error.
Command:
composer update symfony/symfony --with-dependencies
Error:
Your requirements could not be resolved to an installable set of packages.
Problem 1 - phpunit/phpunit 4.7.7 conflicts with symfony/symfony[v2.7.38].
This version of Symfony actively refuses to use
phpunit/phpunit< 4.8.35 by usingconflictin https://github.com/symfony/symfony/blob/v2.7.38/composer.json:You should upgrade
"phpunit/phpunit"to a newer version in your own composer.json. Make sure you're not explicitly requiring a conflicted version and runcomposer update phpunit/phpunit(or justcomposer updateto update all dependencies)