underscore-php icon indicating copy to clipboard operation
underscore-php copied to clipboard

Incompatible PHP requirements

Open kenorb opened this issue 8 years ago • 0 comments

When installing underscore-php v2.0.0, it reports that it requires php: >=5.4.0 in its composer.json, however at the same time it requires doctrine/inflector (^1.0) which installs v1.3.0 and it requires PHP ^7.1.

Test on empty folder:

$ composer require anahkiasen/underscore-php:2.0.0
$ find vendor -name \*.php -exec php56 -l {} ';'
No syntax errors detected in vendor/composer/ClassLoader.php
PHP Parse error:  syntax error, unexpected ':', expecting ';' or '{' in vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php on line 265

Parse error: syntax error, unexpected ':', expecting ';' or '{' in vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php on line 265
Errors parsing vendor/doctrine/inflector/lib/Doctrine/Common/Inflector/Inflector.php
No syntax errors detected in vendor/patchwork/utf8/src/Normalizer.php
...

kenorb avatar Jan 12 '18 15:01 kenorb