From fed58b4815c3070eb89afc0dc7c5ad11ca7f6439 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 31 Aug 2019 16:53:42 +0200 Subject: [PATCH] PHPCS/Composer: update PHPCompatibility Use the latest version of PHPCompatibility. You were missing out on a lot of new checks, including the checks to make sure code is compatible with the upcoming PHP 7.4. Note: PHPCompatibility 9.0 renamed all the sniffs, so any inline selective ignores `// phpcs:ignore Stnd.Cat.Sniff` annotations will need to be updated (if used at all). Refs: * https://github.com/PHPCompatibility/PHPCompatibility/releases/ * https://github.com/PHPCompatibility/PHPCompatibility/releases/tag/9.0.0 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 6075b9c..60951c2 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "hirak/prestissimo": "^0.3", "jakub-onderka/php-parallel-lint": ">=0.9.1,<1.0.0", "pdepend/pdepend": "^2.5", - "phpcompatibility/php-compatibility": "^8.0", + "phpcompatibility/php-compatibility": "^9.0", "phploc/phploc": "^4.0", "phpmd/phpmd": "^2.6.0", "phpmetrics/phpmetrics": "^2.3.2",