diff --git a/composer.json b/composer.json index e0372ea..2ba5a7f 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "require": { "arubacao/tld-checker": "^1.2", "composer/installers": "^2.0", - "php": "^7|^8", + "php": "^8", "swaggest/json-schema": "^0.12", "symfony/polyfill-intl-idn": "^1.12", "symfony/validator": "^7.0 || ^6.0" @@ -18,6 +18,7 @@ "require-dev": { "10up/wp_mock": "^1.0", "automattic/vipwpcs": "^3.0", + "boxuk/coding-standards": "^0.4.0", "permafrost-dev/coverage-check": "^2.0", "phpcompatibility/phpcompatibility-wp": "^2.1", "symplify/monorepo-builder": "^11.2", @@ -48,6 +49,10 @@ ], "type": "composer", "url": "https://wpackagist.org" + }, + { + "type": "git", + "url": "https://github.com/boxuk/coding-standards.git" } ], "minimum-stability": "dev", diff --git a/phpcs.xml.dist b/phpcs.xml.dist index eaa6e05..f90293d 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,19 +1,17 @@ - - BoxUK Coding Standards + - - - - - - + + + + + + - - - - + ./packages/ /vendor @@ -27,15 +25,21 @@ /packages/akismet /packages/hello.php - - - - - - - - + + */mu-plugins/wp-feature-flags* + */mu-plugins/wp-editor-tools* + wp-content/plugins* + + + + + + + + - - + + + +