Skip to content

Commit 98d7f2c

Browse files
committed
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.
1 parent 12ad78c commit 98d7f2c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
6060
],
6161
"check-cs": [
62-
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs"
62+
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 5.6-"
6363
],
6464
"fix-cs": [
6565
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"

0 commit comments

Comments
 (0)