laravelcs icon indicating copy to clipboard operation
laravelcs copied to clipboard

PHP Notice: Use of undefined constant T_DOC_COMMENT_STRING - assumed 'T_DOC_COMMENT_STRING'

Open drafie opened this issue 9 years ago • 2 comments

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!

drafie avatar Mar 17 '15 22:03 drafie

I have the same problem as you. Any news?

nuukcillo avatar Sep 17 '15 09:09 nuukcillo

+1

twitnic avatar Sep 06 '17 21:09 twitnic