diff --git a/composer.json b/composer.json index 13445d6c8..627f8558f 100644 --- a/composer.json +++ b/composer.json @@ -47,7 +47,7 @@ "voku/portable-ascii": "^2.0.1" }, "require-dev": { - "alleyinteractive/alley-coding-standards": "^1.0", + "alleyinteractive/alley-coding-standards": "^1.0.1", "guzzlehttp/guzzle": "^7.7", "league/flysystem-aws-s3-v3": "^1.0", "mockery/mockery": "^1.6.6", @@ -58,8 +58,7 @@ "predis/predis": "^2.2.0", "squizlabs/php_codesniffer": "^3.7", "symplify/monorepo-builder": "^10.3.3", - "szepeviktor/phpstan-wordpress": "^1.3", - "wp-coding-standards/wpcs": "dev-php-8-1 as 2.3.x-dev" + "szepeviktor/phpstan-wordpress": "^1.3" }, "replace": { "mantle-framework/assets": "self.version", @@ -138,12 +137,6 @@ "@phpunit" ] }, - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/alleyinteractive/WordPress-Coding-Standards" - } - ], "minimum-stability": "dev", "prefer-stable": true } diff --git a/tests/console/generators/test-printer.php b/tests/console/generators/test-printer.php index fa9c01fbb..badb2e835 100644 --- a/tests/console/generators/test-printer.php +++ b/tests/console/generators/test-printer.php @@ -100,6 +100,7 @@ protected function lint_code( PhpFile $file, string $file_name ) { $path, '-vsn', '--no-cache', + '--standard=' . dirname( MANTLE_PHPUNIT_INCLUDES_PATH, 2 ) . '/phpcs.xml', ]; // tip: turn off the output buffering for help debugging!