diff --git a/WPDeskPlugin/ruleset.xml b/WPDeskPlugin/ruleset.xml index a779dbd49c8ab0ebe820e4e0a7fbc70067465976..9a99fedb5aad424e3e071565f5ac95717fefca67 100644 --- a/WPDeskPlugin/ruleset.xml +++ b/WPDeskPlugin/ruleset.xml @@ -25,13 +25,13 @@ <!-- Demanding Yoda conditions is stupid. --> <exclude name="WordPress.PHP.YodaConditions"/> - + <!-- The only required comments are for the classes. --> <exclude name="Squiz.Commenting.FunctionComment"/> <exclude name="Generic.Commenting.DocComment.MissingShort"/> <!-- You can use short if-else form. --> - <exclude name="WordPress.PHP.DisallowShortTernary"/> + <exclude name="Universal.Operators.DisallowShortTernary"/> <!-- If a conscious choice has been made for a non-strict comparison, that's ok. I.e. when `strict` has been explicitly set to `false` in an array comparison,