File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 1616 <exclude-pattern >*\.phtml$</exclude-pattern >
1717 <exclude-pattern >*\.xml$</exclude-pattern >
1818 </rule >
19- <rule ref =" Generic.PHP.DeprecatedFunctions" >
20- <severity >10</severity >
21- <type >error</type >
22- <exclude-pattern >*\.xml$</exclude-pattern >
23- </rule >
2419 <rule ref =" Generic.PHP.NoSilencedErrors" >
2520 <severity >10</severity >
2621 <type >error</type >
169164 <severity >10</severity >
170165 <type >error</type >
171166 </rule >
167+ <rule ref =" PHPCompatibility.FunctionUse.RemovedFunctions" >
168+ <severity >10</severity >
169+ <type >error</type >
170+ </rule >
172171 <!-- Severity 9 warnings: Possible security and issues that may cause bugs. -->
173172 <rule ref =" Generic.Files.ByteOrderMark" >
174173 <severity >9</severity >
762761 </rule >
763762 <rule ref =" PHPCompatibility" >
764763 <exclude name =" PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFound" />
765- <!-- Following sniffs has been updated or renamed in PHPCompatibility 10 -->
766- <exclude name =" PHPCompatibility.Constants.NewMagicClassConstant" />
767- <exclude name =" PHPCompatibility.Classes.ForbiddenAbstractPrivateMethods" />
764+ <!-- Following sniffs have been updated or renamed in PHPCompatibility 10 -->
765+ <exclude name =" PHPCompatibility.Constants.NewMagicClassConstant.Found" />
766+ <exclude name =" PHPCompatibility.Classes.ForbiddenAbstractPrivateMethods.Found" />
767+ <!-- Following sniffs have an equivalent in PHPCS -->
768+ <exclude name =" PHPCompatibility.Syntax.ForbiddenCallTimePassByReference" />
768769 <!-- Check for cross-version support for stated PHP version and higher. -->
769770 <config name =" testVersion" value =" 7.4-" />
770771 </rule >
You can’t perform that action at this time.
0 commit comments