Skip to content

Commit 03d5751

Browse files
authored
Merge pull request #151 from magento-commerce/imported-sivaschenko-magento-coding-standard-366
[Imported] PHP 8.1 Compatibility
2 parents 5017671 + 69356eb commit 03d5751

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Magento2/ruleset.xml

+4-2
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,13 @@
761761
<exclude-pattern>*Test.php</exclude-pattern>
762762
<exclude-pattern>*/PHPCSUtils/*</exclude-pattern>
763763
</rule>
764+
764765
<rule ref="Internal.NoCodeFound">
765766
<severity>0</severity>
766767
</rule>
768+
769+
<!-- PHPCompatibility configuration. -->
770+
<config name="testVersion" value="7.4-"/>
767771
<rule ref="PHPCompatibility">
768772
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
769773
<!-- Following sniffs have been updated or renamed in PHPCompatibility 10 -->
@@ -772,8 +776,6 @@
772776
<!-- Following sniffs have an equivalent in PHPCS -->
773777
<exclude name="PHPCompatibility.Syntax.ForbiddenCallTimePassByReference" />
774778
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared" />
775-
<!-- Check for cross-version support for stated PHP version and higher. -->
776-
<config name="testVersion" value="7.4-"/>
777779
</rule>
778780
<!--
779781
All these rules belong to the unreleased PhpCompatibility 10. Remove them once PHPCompatibility is

0 commit comments

Comments
 (0)