laravelcs
laravelcs copied to clipboard
PHP Notice: Use of undefined constant T_DOC_COMMENT_STRING - assumed 'T_DOC_COMMENT_STRING'
Use of undefined constant T_DOC_XXXXXXXXXX - assumed 'T_DOC_XXXXXX'
I am getting a lot of these errors when running the command. They come from different files located under /vendor/pragmarx/laravelcs/Standards/Laravel/Sniffs/
I am unable to install this globally using composer, because I need to deploy it at build time on a continuous integration server. So, I have added it to the composer.json file for the laravel project.
I call it like this
phpcs --standard=./vendor/pragmarx/laravelcs/Standards/Laravel /path/to/laravel
I am running PHP 5.5.22-1+deb.sury.org~precise+1 (cli) (built: Feb 20 2015 11:25:27)
Thanks!
I have the same problem as you. Any news?
+1