From ee015c230f47f1b930c5132c79fb8b4cd663f9af Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Tue, 27 Sep 2022 12:19:44 +0800 Subject: [PATCH] Use Squizlabs Commenting sniffs for Method PHPDoc This commit addss support for the standard Commenting sniffs relating to methods only. Some of the specific sniffs have been disabled, or their severity/type changed to suit our rules. Fixes #30 --- moodle/ruleset.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/moodle/ruleset.xml b/moodle/ruleset.xml index 08ad436..30905b4 100644 --- a/moodle/ruleset.xml +++ b/moodle/ruleset.xml @@ -65,6 +65,58 @@ + + + + + + 0 + + + 0 + + + 0 + + + 0 + + + + + warning + 2 + + + + + 0 + + + + + 0 + + + + + warning + + + warning + + + + + 0 + + + + +