diff --git a/CHANGELOG.md b/CHANGELOG.md index 1758120dfffde740dfa25429c968e20f4907361b..25178a8f79bfebb92d350fde97cbc5c3ce24103f 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 f39be679d4b0e0d7244ddf3492cde44911791262..8bf0361db1908740edf6e911bb1728c858906f19 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">