From 952cd703fd9ead0fc26225da1133a75cf428a26b Mon Sep 17 00:00:00 2001 From: Stephen Page Date: Fri, 19 Jan 2024 14:05:15 -0500 Subject: [PATCH 1/2] Add just the Nexcess rules --- Nexcess/ruleset.xml | 101 ++++++++++++++++++++++++++++++++++++++++++++ composer.json | 6 +-- 2 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 Nexcess/ruleset.xml diff --git a/Nexcess/ruleset.xml b/Nexcess/ruleset.xml new file mode 100644 index 0000000..5c6cf15 --- /dev/null +++ b/Nexcess/ruleset.xml @@ -0,0 +1,101 @@ + + + Coding standards for Nexcess packages. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + tests/* + + + + + + + + + + + + + + + + + + + tests/* + + + tests/* + + + tests/* + + + tests/bootstrap.php + + + + + + + + + + + diff --git a/composer.json b/composer.json index a4c7588..f3c0ebb 100644 --- a/composer.json +++ b/composer.json @@ -19,11 +19,11 @@ } ], "require": { + "automattic/vipwpcs": "^3.0", "php": ">=7.4", - "squizlabs/php_codesniffer": "^3.8.0", - "wp-coding-standards/wpcs": "^3.0.0", "slevomat/coding-standard": "^8.14.0", - "automattic/vipwpcs": "^3.0" + "squizlabs/php_codesniffer": "^3.8.0", + "wp-coding-standards/wpcs": "^3.0.0" }, "require-dev": { "dealerdirect/phpcodesniffer-composer-installer": "*", From af865c683201c897d99072017c65f6525f8a9f9a Mon Sep 17 00:00:00 2001 From: Stephen Page Date: Fri, 19 Jan 2024 14:12:01 -0500 Subject: [PATCH 2/2] Rename Nexcess to MAD --- {Nexcess => MAD}/ruleset.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {Nexcess => MAD}/ruleset.xml (97%) diff --git a/Nexcess/ruleset.xml b/MAD/ruleset.xml similarity index 97% rename from Nexcess/ruleset.xml rename to MAD/ruleset.xml index 5c6cf15..e1dc1de 100644 --- a/Nexcess/ruleset.xml +++ b/MAD/ruleset.xml @@ -1,6 +1,6 @@ - - Coding standards for Nexcess packages. + + Coding standards for MAD packages.