From 98d7f2c6935daae8e88d44af1b4b50a3fd6278cf Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 17 Sep 2023 00:53:53 +0200 Subject: [PATCH] Composer/PHPCS: update for YoastCS 2.3.1 Follow up on PR 52. YoastCS 2.3.1 updated the default `testVersion` to PHP `7.2-`, while this package still supports PHP 5.6. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 7a505fe..f2d3686 100644 --- a/composer.json +++ b/composer.json @@ -59,7 +59,7 @@ "@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git" ], "check-cs": [ - "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs" + "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.6-" ], "fix-cs": [ "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"