Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Give original filename to phpcs #921
Please summarise the discussion in the issue you've referenced as far as it's relevant to Flycheck and elaborate why we need to drop standard input for phpcs. Ideally, try to produce a minimal example where phpcs behaves different as expected with Flycheck.
There are phpcs rules that depends on the file location.
<rule ref="Squiz.NamingConventions.ValidFunctionName"> <exclude-pattern>*/src/*</exclude-pattern> <exclude-pattern>*/tests/*</exclude-pattern> </rule>
it tells to phpcs to exclude that rule when the path of the file being checked match the patterns.