we have a mix of different PHP versions running on your servers (max 5.3.5) and development machines (max 5.5.9).
Now we ran into the problem that we did a "composer update" to get the latest Version of some external Bundles. Since your composer.json looks like
"require": {
"php": ">=5.3.3",
.....
},
we get some Bundles that required PHP 5.5. No problem on our dev machines, but on the server :(
Is there any possibility to tell composer to require a PHP version between 5.3.3 and 5.3.5? Or a max available Version?
I tried
"require": {
"php": ">=5.3.3, <=5.3.5",
.....
},
and
"require": {
"php": "<=5.3.5",
.....
},
but both didn't work out. I get a "The requested package php could not be found in any version, there may be a typo in the package name." Error.
Any Ideas? Thanks in advance