Open jeremiahsmall opened 9 years ago
I'd be in favor of anything that prevents this integration from interfering with functionality provided by phpcs. Whether that's enumerated options, a combined args
option, or just documentation that command-line switches are supported by the bin
option. Anything will help expose the flexibility offered by phpcs, rather than masking it.
I've discovered through trial and error that I can configure PHPCS features that this library doesn't directly support through configuration. Example:
I'd like to propose that support for all of the PHPCS features be added, in one of two ways.
Option 1: Explicit implementation as options. Example:
Option 2: Passthrough support for args. Example:
If there is support for either of these ideas, I'd be happy to create a PR.
See https://github.com/squizlabs/PHP_CodeSniffer/wiki/Usage