Skip to content

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

@drafie

Description

@drafie

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions