Closed jaswrks closed 8 years ago
What we can do is add a new exclusion rule here so we can avoid this problem altogether. https://github.com/websharks/phings/blob/dev/src/psr4/targets/linters/phpcs.xml#L45
Next Release Changelog:
export-ignore
rules for TODO.md
files, PsySH stubs, and for IDE helpers. See: https://github.com/websharks/phings/issues/134 and https://github.com/websharks/phings/issues/128@raamdev Noting also that you can tell PHP Code Sniffer to ignore any given file by adding this line somewhere near the top of the file.
// @codingStandardsIgnoreFile
Referencing: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders
It might be worth it for us to automatically exclude files with the special name
_ide.php
.