JustBlackBird / gulp-phpcs

Gulp plugin for running PHP Code Sniffer
MIT License
47 stars 12 forks source link

Config file #24

Closed fntneves closed 8 years ago

fntneves commented 8 years ago

How do I specify .php_cs config file ?

JustBlackBird commented 8 years ago

You cannot.

JustBlackBird commented 8 years ago

I want to add some more details here.

gulp-phpcs is not just a runner for PHPCS CLI util. I tried to encapsulate all PHPCS CLI options, stdin, stdout, errors handling inside the plugin. In this case one can easily use gulp-phpcs within Gulp way. So there is no need for using PHPCS configs file: all options are stored in your gulpfile.js as gulp-phpcs plugin's options.

You can describe your use case if I've missed something.