Useful commands:
composer outdated
(check for outdated packages);composer why-not
(check for version constraints not allowing us to upgrade);composer recipes:update
- update symfony-packages automatically;
In order to upgrade symfony to a new version, consider following 2-step the scenario:
- Upgrade all outdated third-party packages, except
symfony/*
(though, it would be nice to upgarde symfony to latest minor version). - Run & fix tests
- Commit, deploy
Then, when it has all been successfully tested and works correctly, perform the main upgarde:
- Upgarde symfony packages (remember, currently there should be not that much dependency issues, because of first phase).
- Run & fix tests;
- Upgrade rest of the packages to the newest version
- Run & fix tests;
- Commit, deploy