JustBlackBird / gulp-phpcs

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

Add the exclude option #29

Closed tdmalone closed 8 years ago

tdmalone commented 8 years ago

gulp-phpcs currently supports the sniffs option, which is equivalent to the phpcs --sniffs option.

Could the exclude option also be added, equivalent to the phpcs --exclude option? The syntax is the same; it just does the opposite and is useful for excluding one or two sniffs from the standards.

JustBlackBird commented 8 years ago

Sorry for the late answer, it was busy time :sweat_smile:

I've checked PHPCS docs about --exclude option and I think it's possible to add it to gulp-phpcs. The bad news are I need some time to implement it by myself.

JustBlackBird commented 8 years ago

Done in v1.2.0