Closed iit2011081 closed 7 years ago
No I use this lib with php 7.1 without issues
Any solution ?
Try composer.phar selfupdate
I already tried but it says Command "self-update" is not defined.
Seems you a very old composer version. Simply download the latest one
I tried updating it but it says composer is already the newest version
Ok, could tell me exactly what you are doing. Do you get any other information then the mentioned error message? Try running composer in verbose mode.
Op 4 mrt. 2017 om 15:36 heeft Vishal Gangwar notifications@github.com het volgende geschreven:
I tried updating it but it says composer is already the newest version
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
I am getting this error when i tried to install the library. How to run it in verbose mode ? PHP Fatal error: Cannot use 'String' as class name as it is reserved in phar:///my_project_folder/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:///my_project_folder/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
https://getcomposer.org/doc/03-cli.md#global-options
What php version are you using?
php -v
Op 4 mrt. 2017 om 17:08 heeft Vishal Gangwar notifications@github.com het volgende geschreven:
I am getting this error when i tried to install the library. How to run it in verbose mode ? PHP Fatal error: Cannot use 'String' as class name as it is reserved in phar:///my_project_folder/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:///my_project_folder/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/String.php on line 18
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
php 7
I have no idea what your issue is, but it seems unrelated to slmqueue
Op 4 mrt. 2017 om 18:17 heeft Vishal Gangwar notifications@github.com het volgende geschreven:
php 7
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Closing the issue as it is related to composer not with the library
When I tried to install using composer I get this error "Cannot use 'String' as class name as it is reserved in phar". Is it because the library is incompatible with php7 ?