Problem/Motivation
The required php version defined on composer.json is not valid
Current declaration:
require": {
"php": ">5.4.4-13",
In order to reproduce:
$ composer validate
The following error is thrown:
./composer.json is invalid, the following errors/warnings were found:
require.php : invalid version constraint (Could not parse version constraint >5.4.4-13: Invalid version string "5.4.4-13")
Proposed resolution
Not sure which ver should be the set, but since php must be 5.4.5 or greater something like this may work
require": {
"php": ">=5.4.5",
Remaining tasks
User interface changes
API changes
Original report by [username]
Comments
Comment #1
jmolivas commentedComment #2
webchickFixing metadata. Note that this was changed explicitly in #2267551: [meta] Deal with PHP requirement vs. Debian PHP version numbering to account for Debian.
Comment #3
jfhovinne commentedPerhaps related to https://github.com/composer/composer/issues/991
Comment #4
ParisLiakos commentedhttps://getcomposer.org/doc/04-schema.md#version
:( so i guess we make it 5.4.5 and say you cant install D8 on debian wheezy with composer.
or an upstream fix
Comment #5
dawehnerSee https://github.com/composer/composer/issues/3335
Comment #6
RonanGuilloux commented+1 for
"php": ">=5.4.5",Fixed the
composer installrun on OS X 10.9.5 with both PHP versions :(original OS X php version:)
(http://php-osx.liip.ch php version:)
Comment #7
alexpottLet's do this - the debian edge case can be sorted out if we get an upstream fix.
Comment #8
catchAgreed. We can track the upstream issue on the critical.
Committed/pushed to 8.0.x, thanks!