I got the following error when trying to use expressive with PHP7:
composer create-project -s rc zendframework/zend-expressive-skeleton expressive
Installing zendframework/zend-expressive-skeleton (1.0.0rc4)
- Installing zendframework/zend-expressive-skeleton (1.0.0rc4)
Loading from cache
Created project in expressive
PHP Fatal error: Cannot use 'String' as class name as it is reserved in phar:///usr/local/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
Fatal error: Cannot use 'String' as class name as it is reserved in phar:///usr/local/bin/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
I checked the third project and they already changed the String class to StringConstraint, maybe what is missing is a simple update on the composer.json.
I got the following error when trying to use expressive with PHP7:
I checked the third project and they already changed the String class to StringConstraint, maybe what is missing is a simple update on the composer.json.