From 56458da61890c69ba5872927b83857ebb3fc2aa7 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" ] } }