Sniff exclude-pattern not respected anymore ? #680
Replies: 3 comments
-
@tomasnorre I suspect this may be a bug. I've just been running some tests and yes, it works without the Based on my current tests though, with the I'm taking a deeper look now. |
Beta Was this translation helpful? Give feedback.
-
Actually... the problem used to be much bigger and 2/3 of the problem has already been solved in previous PHPCS versions. This is a bug though, so could you please open a bug report for this ? |
Beta Was this translation helpful? Give feedback.
-
Follow up: #683 (comment) Short answer (and solution): the included sniff still does not comply with the PHPCS naming conventions. Once it does, things work fine. |
Beta Was this translation helpful? Give feedback.
-
After adjusting (1) the Sniff according to /~https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial#creating-the-sniff my
exclude-pattern
isn't respected anymore.Any suggestions what i'm doing wrong here? It was working before without the
StrictTypes
directory, and with PHPCS 3.9.2Beta Was this translation helpful? Give feedback.
All reactions