mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-02-03 05:18:41 +00:00
Remove string concat from inspection
This commit is contained in:
parent
df114587ba
commit
cf1502115a
|
|
@ -3,6 +3,7 @@
|
||||||
<description></description>
|
<description></description>
|
||||||
<exclude-pattern>*.tpl.php</exclude-pattern>
|
<exclude-pattern>*.tpl.php</exclude-pattern>
|
||||||
<exclude-pattern>*Routes.php</exclude-pattern>
|
<exclude-pattern>*Routes.php</exclude-pattern>
|
||||||
|
<exclude-pattern>*/vendor/*</exclude-pattern>
|
||||||
<arg value="q"/>
|
<arg value="q"/>
|
||||||
<rule ref="Generic.Classes.DuplicateClassName"/>
|
<rule ref="Generic.Classes.DuplicateClassName"/>
|
||||||
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
<rule ref="Generic.CodeAnalysis.EmptyStatement"/>
|
||||||
|
|
@ -43,7 +44,7 @@
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="Generic.Metrics.NestingLevel">
|
<rule ref="Generic.Metrics.NestingLevel">
|
||||||
<properties>
|
<properties>
|
||||||
<property name="nestingLevel" value="4"/>
|
<property name="nestingLevel" value="5"/>
|
||||||
<property name="absoluteNestingLevel" value="11"/>
|
<property name="absoluteNestingLevel" value="11"/>
|
||||||
</properties>
|
</properties>
|
||||||
</rule>
|
</rule>
|
||||||
|
|
@ -58,7 +59,7 @@
|
||||||
</rule>
|
</rule>
|
||||||
<rule ref="Generic.PHP.LowerCaseConstant"/>
|
<rule ref="Generic.PHP.LowerCaseConstant"/>
|
||||||
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
<rule ref="Generic.PHP.NoSilencedErrors"/>
|
||||||
<rule ref="Generic.Strings.UnnecessaryStringConcat"/>
|
<!--<rule ref="Generic.Strings.UnnecessaryStringConcat"/> Bugged for single quotes where $ cannot be put inside -->
|
||||||
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
<rule ref="Generic.WhiteSpace.DisallowTabIndent"/>
|
||||||
<rule ref="MySource.PHP.EvalObjectFactory"/>
|
<rule ref="MySource.PHP.EvalObjectFactory"/>
|
||||||
<rule ref="MySource.PHP.GetRequestData"/>
|
<rule ref="MySource.PHP.GetRequestData"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user