From 44516b260154283e4a7bd71fde470350c233238f Mon Sep 17 00:00:00 2001 From: Grzegorz Rola <grola@seostudio.pl> Date: Mon, 20 Apr 2020 11:39:35 +0200 Subject: [PATCH] Init --- CHANGELOG.md | 4 ++++ WPDeskPlugin/ruleset.xml | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1758120..25178a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +[1.0.1] - 2019-05-30 +# Added +* classes directory in rules + [1.0.0] - 2019-05-30 # Added * First version diff --git a/WPDeskPlugin/ruleset.xml b/WPDeskPlugin/ruleset.xml index f39be67..8bf0361 100644 --- a/WPDeskPlugin/ruleset.xml +++ b/WPDeskPlugin/ruleset.xml @@ -14,15 +14,15 @@ <!-- Remove checking if classes are in class- files --> <rule ref="WordPress.Files.FileName"> - <exclude-pattern>/class/.*\.php</exclude-pattern> + <exclude-pattern>/class*/.*\.php</exclude-pattern> </rule> <rule ref="WordPress.Files.FileName.InvalidClassFileName"> - <exclude-pattern>/class/.*\.php</exclude-pattern> + <exclude-pattern>/class*/.*\.php</exclude-pattern> </rule> <rule ref="WordPress.NamingConventions.ValidVariableName"> - <exclude-pattern>/class/.*\.php</exclude-pattern> + <exclude-pattern>/class*/.*\.php</exclude-pattern> </rule> <rule ref="Generic.Commenting.DocComment.MissingShort"> -- GitLab