Skip to content

Commit bc121e6

Browse files
authored
Merge pull request #11 from PHPCSStandards/feature/allow-for-phpcompatibility-10.0.0
Composer/ruleset: update for PHPCompatibility 10.0.0
2 parents 3a57672 + e63ede7 commit bc121e6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

PHPCSDev/ruleset.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
<exclude name="PHPCompatibility.Constants.NewConstants.t_yield_fromFound"/>
2525
<exclude name="PHPCompatibility.Constants.NewConstants.t_bad_characterFound"/>
2626
<exclude name="PHPCompatibility.Constants.NewConstants.t_fnFound"/>
27+
<exclude name="PHPCompatibility.Constants.NewConstants.t_matchFound"/>
28+
<exclude name="PHPCompatibility.Constants.NewConstants.t_nullsafe_object_operatorFound"/>
29+
<exclude name="PHPCompatibility.Constants.RemovedConstants.t_bad_characterFound"/>
2730
</rule>
2831

2932

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require" : {
2323
"php" : ">=5.4",
2424
"squizlabs/php_codesniffer" : "^3.5.0",
25-
"phpcompatibility/php-compatibility" : "^9.0.0",
25+
"phpcompatibility/php-compatibility" : "^9.0.0 || ^10.0.0",
2626
"dealerdirect/phpcodesniffer-composer-installer" : "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7"
2727
},
2828
"require-dev" : {

0 commit comments

Comments
 (0)