Open praad opened 5 years ago
You should use phpcs:ignore
or phpcs:disable
comments inside the relevant files to disable the lints specifically for the relevant methods. You can find out more about this in the project's wiki: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-parts-of-a-file
Sorry, I missed this one. The ignore comments are the only way of doing this right now. The sniff does not support a list of exceptions.
Hello, Is there any property to allow some special function names against PSR1.Methods.CamelCapsMethodName sniff?
Our framework has some underscored function names can not be changed so some exceptions would be quite good like this:
`