From a88eea6c1c41888c1f76a1c49363ac7f4d8534cd Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Thu, 27 Jan 2022 12:22:14 +0100 Subject: [PATCH] Update composer.json --- composer.json | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index 33a8e89..76d9b4c 100644 --- a/composer.json +++ b/composer.json @@ -9,9 +9,11 @@ "require-dev": { "phpunit/phpunit": "^5.7.21 || ^6.5 || ^7.5 || ^8", "phpcompatibility/php-compatibility": "*", + "phpcompatibility/phpcompatibility-wp": "*", "squizlabs/php_codesniffer": "3.*", - "wp-coding-standards/wpcs": "^2.3.0", - "yoast/phpunit-polyfills": "^1.0" + "wp-coding-standards/wpcs": "*", + "yoast/phpunit-polyfills": "^1.0", + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.1" }, "license": "MIT", "authors": [ @@ -28,12 +30,6 @@ "composer install", "bin/install-wp-tests.sh wordpress wordpress wordpress", "vendor/bin/phpunit" - ], - "post-install-cmd": [ - "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs" - ], - "post-update-cmd": [ - "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility,vendor/wp-coding-standards/wpcs" ] } }