Skip to content

Commit be5f7f3

Browse files
authored
PHPCS/Composer: update PHPCompatibility (#30)
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 Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
1 parent 7076416 commit be5f7f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"friendsofphp/php-cs-fixer": "^2.8",
3333
"jakub-onderka/php-parallel-lint": ">=0.9.1,<1.0.0",
3434
"pdepend/pdepend": "^2.5",
35-
"phpcompatibility/php-compatibility": "^8.0",
35+
"phpcompatibility/php-compatibility": "^9.0",
3636
"phploc/phploc": "^4.0",
3737
"phpmd/phpmd": "^2.6.0",
3838
"phpmetrics/phpmetrics": "^2.3.2",

0 commit comments

Comments
 (0)