Skip to content

PHP 8.1 Compatibility #366

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -761,9 +761,13 @@
<exclude-pattern>*Test.php</exclude-pattern>
<exclude-pattern>*/PHPCSUtils/*</exclude-pattern>
</rule>

<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>

<!-- PHPCompatibility configuration. -->
<config name="testVersion" value="7.4-"/>
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
<!-- Following sniffs have been updated or renamed in PHPCompatibility 10 -->
Expand All @@ -772,8 +776,6 @@
<!-- Following sniffs have an equivalent in PHPCS -->
<exclude name="PHPCompatibility.Syntax.ForbiddenCallTimePassByReference" />
<exclude name="PHPCompatibility.Keywords.ForbiddenNamesAsDeclared" />
<!-- Check for cross-version support for stated PHP version and higher. -->
<config name="testVersion" value="7.4-"/>
</rule>
<!--
All these rules belong to the unreleased PhpCompatibility 10. Remove them once PHPCompatibility is
Expand Down