From b2df807028a173cd438dade606b872046dbc81f3 Mon Sep 17 00:00:00 2001 From: Juliette <663378+jrfnl@users.noreply.github.com> Date: Tue, 22 Jun 2021 18:52:00 +0200 Subject: [PATCH] Composer: use a version of PHPCS compatible with PHP 8 (#2364) While working on 2363, I noticed that the code sniffer run was using PHP 8.0, but Composer still allowed for a PHP_CodeSniffer version to be installed which is not fully compatible with PHP 8.0. Note: there are still two known incompatibilities with PHP 8.0 in PHPCS 3.6.0, but everything else has been fixed. Ref: https://github.com/squizlabs/php_codesniffer/releases Co-authored-by: jrfnl --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 58393b2c..1517dc04 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "doctrine/annotations": "^1.2", "phpcompatibility/php-compatibility": "^9.3.5", "roave/security-advisories": "dev-latest", - "squizlabs/php_codesniffer": "^3.5.6", + "squizlabs/php_codesniffer": "^3.6.0", "yoast/phpunit-polyfills": "^0.2.0" }, "suggest": {