diff --git a/Alley-Interactive/ruleset.xml b/Alley-Interactive/ruleset.xml index 73720bb..f619ee7 100644 --- a/Alley-Interactive/ruleset.xml +++ b/Alley-Interactive/ruleset.xml @@ -10,9 +10,16 @@ - + - + + + + + + + + @@ -24,12 +31,6 @@ - - - @@ -76,4 +77,9 @@ --> error + + + + (class|trait)-(instance|singleton).php + diff --git a/README.md b/README.md index 3b06599..356e182 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,12 @@ You can create a custom ruleset for your project that extends or customizes thes This project adheres to [Keep a CHANGELOG](https://keepachangelog.com/en/1.0.0/). +### 2.0.0 + +- **Breaking Change:** Upgraded to `automattic/vipwpcs` and + `wp-coding-standards/wpcs` to 3.0. See [Upgrading to 2.0](https://github.com/alleyinteractive/alley-coding-standards/wiki/Upgrading-to-2.0) + for more details. + ### 1.0.1 - Ignore deprecation errors in WPCS to allow it work with PHP 8.0+. diff --git a/composer.json b/composer.json index 822466c..47e2466 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "keywords": [ "phpcs", "static analysis" ], "license": "GPL-2.0-or-later", "require": { - "automattic/vipwpcs": "^2.3.4", + "automattic/vipwpcs": "^3.0", "phpcompatibility/phpcompatibility-wp": "^2.1.4" }, "config": {