Error with php_codesniffer 3.8.0 on rule DisallowYodaComparison
alepieser opened this issue · comments
alepieser commented
Hello,
With the last version of php_codesniffer (3.8.0) we noticed this error:
ERROR: Ruleset invalid. Property "alwaysVariableOnRight" does not exist on sniff SlevomatCodingStandard.ControlStructures.DisallowYodaComparison
Thanks for your help
Jaroslav Hanslík commented
You have mistake in your ruleset. This sniff does not have option alwaysVariableOnRight
.
alepieser commented
Thanks for your quick answer
github-actions commented
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.