Skip to content

AC-1059: Move PHPCompatibility rules from Magento tests #332

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
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
AC-1059: Move PHPCompatibility rules from Magento tests
  • Loading branch information
svera committed Nov 16, 2021
commit 7059a4b6bd29e247f7615e22c7ce5eb5727893f7
12 changes: 1 addition & 11 deletions Magento2/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -737,17 +737,7 @@
<rule ref="Internal.NoCodeFound">
<severity>0</severity>
</rule>
<rule ref="../vendor/phpcompatibility/php-compatibility/PHPCompatibility">
<rule ref="PHPCompatibility">
<exclude name="PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
<exclude name="PHPCompatibility.FunctionUse.RequiredToOptionalFunctionParameters" />
<exclude name="PHPCompatibility.ParameterValues.RemovedPCREModifiers" />
<exclude name="PHPCompatibility.InitialValue.NewConstantScalarExpressions" />
</rule>
<!--
These sniffs are copied from latest development version of PHPCompatibility, and are included here due to bug
in version 9.3 of PHPCompatibility. Once version 10 is released, this hack must me removed.

See https://github.com/PHPCompatibility/PHPCompatibility/issues/793 form more information
-->
<rule ref="../PHPCompatibilityMagento/Sniffs/FunctionUse" />
</ruleset>

This file was deleted.

Loading