Since Magento 2.2.6 was released not long ago we wanted to update our installation via CLI. Unfortunatly i stepped accross a few problems.
Steps I've done so far
composer require magento/product-community-edition 2.2.6 --no-update
composer update
And thats where the problems kick in, after loading the repos for a while i get the following error:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
- doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
- doctrine/annotations v1.6.0 requires php ^7.1 -> your PHP version (7.0.32) does not satisfy that requirement.
- Installation request for doctrine/annotations 1.6.0 -> satisfiable by doctrine/annotations[v1.6.0].
I thought it will be an easy fix by just using the php71 prefix but it seems like Magento dont want that since i get this line then
- magento/product-community-edition 2.1.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.22) does not satisfy that requirement.
How do i update if the php requirements are that different ?