grunt-phpcs
grunt-phpcs copied to clipboard
Success result wording
If you use directory instead of file paths, the success message is worded oddly.
>> 3 files lint free.
See https://github.com/SaschaGalley/grunt-phpcs/blob/master/tasks/phpcs.js#L69
The simplest fix would be to change the word file
to path
so instead the above message would read
>> 3 paths lint free.
While we're talking about the wording, there's also grunt-phplint
, so I'm not sure talking about "lint free" in the result message of grunt-phpcs
is the best choice. In the vernacular of PHPCS, they are called "sniff violations." If we use "sniff" it could be reworded like this
>> 3 paths contain no sniff violations.
If either or both of these wordings are supported, I'm happy to submit a PR.