From 8f23062a3009f6a4b83da1c77af9da14df680471 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Tue, 30 May 2023 08:51:39 +0200 Subject: [PATCH] fix: update exclusion ruleset Signed-off-by: Bart Jaskulski <bjaskulski@protonmail.com> --- WPDeskPlugin/ruleset.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WPDeskPlugin/ruleset.xml b/WPDeskPlugin/ruleset.xml index a779dbd..9a99fed 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, -- GitLab