From 106712f78097d2792a0840b131e35d44d6839855 Mon Sep 17 00:00:00 2001 From: Bart Jaskulski <bjaskulski@protonmail.com> Date: Thu, 14 Nov 2024 08:59:03 +0100 Subject: [PATCH] feat: remove commenting sniffs 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 5313082..97e9033 100644 --- a/WPDeskPlugin/ruleset.xml +++ b/WPDeskPlugin/ruleset.xml @@ -26,8 +26,8 @@ <!-- Demanding Yoda conditions is stupid. --> <exclude name="WordPress.PHP.YodaConditions"/> - <!-- The only required comments are for the classes. --> - <exclude name="Squiz.Commenting.FunctionComment"/> + <!-- Commenting isn't something to be required from CS. --> + <exclude name="Squiz.Commenting"/> <exclude name="Generic.Commenting.DocComment.MissingShort"/> <!-- You can use short if-else form. --> -- GitLab