Hello, @cvetan !
I believe that the --ignore= flag can help you.
Take a look: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders
Let me know if it helps.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
The phpcs currently reports error for blade files with no php code.
In the configured extensions is this currently: php,js,css,inc. Can I somehow say it: "Watch PHP files but not blade"?
I know I can acomplish this with custom scope, but I was wondering if the solution can be more elegant in this manner?
Please or to participate in this conversation.