Skip to content

Commit e397b3d

Browse files
committed
Update ruleset.xml
1 parent 5017671 commit e397b3d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

Magento2/ruleset.xml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@
66
<arg name="extensions" value="php,phtml,graphqls/GraphQL,less/CSS,html/PHP,xml,js/PHP"/>
77

88
<!-- Severity 10 errors: Critical code issues. -->
9-
<rule ref="Generic.Functions.CallTimePassByReference">
10-
<severity>10</severity>
11-
<type>error</type>
12-
</rule>
139
<rule ref="Generic.PHP.CharacterBeforePHPOpeningTag">
1410
<severity>10</severity>
1511
<type>error</type>
@@ -779,19 +775,11 @@
779775
All these rules belong to the unreleased PhpCompatibility 10. Remove them once PHPCompatibility is
780776
updated to version 10
781777
-->
782-
<rule ref="Magento2.PHPCompatibility.NewAttributes" />
783-
<rule ref="Magento2.PHPCompatibility.NewMagicClassConstant" />
784-
<rule ref="Magento2.PHPCompatibility.NewNonCapturingCatch" />
785-
<rule ref="Magento2.PHPCompatibility.AbstractPrivateMethods" />
786778
<rule ref="Magento2.PHPCompatibility.ForbiddenFinalPrivateMethods" />
787-
<rule ref="Magento2.PHPCompatibility.NewTrailingComma" />
788779
<rule ref="Magento2.PHPCompatibility.RemovedCallingDestructAfterConstructorExit" />
789780
<rule ref="Magento2.PHPCompatibility.RemovedOptionalBeforeRequiredParam" />
790781
<rule ref="Magento2.PHPCompatibility.ChangedIntToBoolParamType" />
791782
<rule ref="Magento2.PHPCompatibility.RemovedAssertStringAssertion" />
792783
<rule ref="Magento2.PHPCompatibility.RemovedGetDefinedFunctionsExcludeDisabledFalse" />
793784
<rule ref="Magento2.PHPCompatibility.RemovedSplAutoloadRegisterThrowFalse" />
794-
<rule ref="Magento2.PHPCompatibility.NewInterpolatedStringDereferencing" />
795-
<rule ref="Magento2.PHPCompatibility.NewMagicConstantDereferencing" />
796-
<rule ref="Magento2.PHPCompatibility.NewNestedStaticAccess" />
797785
</ruleset>

0 commit comments

Comments
 (0)