File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 16
16
<exclude-pattern >*\.phtml$</exclude-pattern >
17
17
<exclude-pattern >*\.xml$</exclude-pattern >
18
18
</rule >
19
- <rule ref =" Generic.PHP.DeprecatedFunctions" >
20
- <severity >10</severity >
21
- <type >error</type >
22
- <exclude-pattern >*\.xml$</exclude-pattern >
23
- </rule >
24
19
<rule ref =" Generic.PHP.NoSilencedErrors" >
25
20
<severity >10</severity >
26
21
<type >error</type >
169
164
<severity >10</severity >
170
165
<type >error</type >
171
166
</rule >
167
+ <rule ref =" PHPCompatibility.FunctionUse.RemovedFunctions" >
168
+ <severity >10</severity >
169
+ <type >error</type >
170
+ </rule >
172
171
<!-- Severity 9 warnings: Possible security and issues that may cause bugs. -->
173
172
<rule ref =" Generic.Files.ByteOrderMark" >
174
173
<severity >9</severity >
762
761
</rule >
763
762
<rule ref =" PHPCompatibility" >
764
763
<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" />
768
769
<!-- Check for cross-version support for stated PHP version and higher. -->
769
770
<config name =" testVersion" value =" 7.4-" />
770
771
</rule >
You can’t perform that action at this time.
0 commit comments