Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Success result wording #53

Description

@jeremiahsmall

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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