Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
drafie opened this issue Mar 17, 2015 · 2 comments

Comments

@drafie
Copy link

drafie commented Mar 17, 2015

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!

@nuukcillo
Copy link

I have the same problem as you. Any news?

@twitnic
Copy link

twitnic commented Sep 6, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants