-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SlevomatCodingStandard.ControlStructures.YodaComparison is removed #46
Comments
Yes, this was already addressed long time ago: 2bafec2. But I am not sure if your phpcs setup is correct, since as you can see, due to the version constraints you should have never been able to install Slevomat CS 4.0 alongside an incompatible version of Consistence CS. |
I have the following in my
|
That is pretty weird, are you sure, there is no other CS ruleset, where an old version of Yoda sniff might be included? Can you verify that the Consistence's ruleset contains the changed rule on your disk? (should be at And how do you run your |
Looks like the issue was within some other repos within my IDE project. So, after composer updating each repo, the ruleset disappeared. Sorry for the false alarm. |
The ruleset
SlevomatCodingStandard.ControlStructures.YodaComparison
has been removed. Please update the ruleset as this breaksphpcs
, at least within the vscode plugin currently.It appears this sniff has been updated to
DisallowYodaComparisonSniff
.The text was updated successfully, but these errors were encountered: