Open david-mkl opened 6 years ago
Any update on this? Is that working in the CodeClimate platform? We would like to use SlevomatCodingStandard
.
Hi there. No update on this. Apologies, we haven't had bandwidth to dig into it. It definitely sounds like a bug.
One bit of context: while plugins are running, they don't have network access, which means that extra dependencies aren't downloaded. For some other plugins, we've baked some popular dependencies into the engine, so they can be included. Do you think a similar approach would work here?
Any news on this, the standard is in the repo so no network access should be required.
This feature would make sense.
It seems that when custom sniffs are present, everything in the ruleset will be ignored, including the custom sniffs themselves, and phpcodesniffer will just report everything as having passed.
Codeclimate cli version:
0.71.1
My
.codeclimate.yml
fileAnd
./standards/phpcs/ruleset.xml
I then make some purposeful mistakes in some code that violate PSR2, and run
It will correctly report the issues according to PSR2.
Now, when I add some custom Sniffs, just the mere presence of them will cause everything to pass.
For example, a completely empty sniff
Now when
is run, everything will report as passed, and the PSR2 enforcements are completely ignored.