Skip to content
Snippets Groups Projects
Commit 2eb38ac8 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: uniformize test

parent fcae6f88
No related branches found
No related tags found
No related merge requests found
...@@ -75,8 +75,13 @@ ...@@ -75,8 +75,13 @@
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"> <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals">
ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma"> <severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals">
<severity>0</severity>
</rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -84,7 +89,7 @@ ...@@ -84,7 +89,7 @@
<rule ref="Generic.Metrics.CyclomaticComplexity"> <rule ref="Generic.Metrics.CyclomaticComplexity">
<properties> <properties>
<property name="complexity" value="80" /> <property name="complexity" value="80" />
<property name="absoluteComplexity" value="100" /> <property name="absoluteComplexity" value="200" />
</properties> </properties>
</rule> </rule>
<rule ref="Generic.Metrics.NestingLevel"> <rule ref="Generic.Metrics.NestingLevel">
...@@ -103,6 +108,9 @@ ...@@ -103,6 +108,9 @@
<rule ref="Generic.NamingConventions.UpperCaseConstantName" /> <rule ref="Generic.NamingConventions.UpperCaseConstantName" />
<rule ref="Generic.PHP.DeprecatedFunctions" /> <rule ref="Generic.PHP.DeprecatedFunctions" />
<rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
<severity>0</severity>
</rule>
<rule ref="Generic.PHP.DisallowShortOpenTag" /> <rule ref="Generic.PHP.DisallowShortOpenTag" />
...@@ -116,6 +124,10 @@ ...@@ -116,6 +124,10 @@
<rule ref="Generic.Strings.UnnecessaryStringConcat" /> <rule ref="Generic.Strings.UnnecessaryStringConcat" />
<rule ref="Generic.Strings.UnnecessaryStringConcat.Found">
<severity>0</severity>
</rule>
<rule ref="Generic.VersionControl.SubversionProperties" /> <rule ref="Generic.VersionControl.SubversionProperties" />
<!-- Disallow usage of tab --> <!-- Disallow usage of tab -->
...@@ -194,11 +206,15 @@ ...@@ -194,11 +206,15 @@
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid"> <rule ref="PEAR.NamingConventions.ValidClassName.Invalid">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial"> <rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName" /> <rule ref="PEAR.NamingConventions.ValidFunctionName" />
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid">
<severity>0</severity>
</rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial"> <rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -213,7 +229,7 @@ ...@@ -213,7 +229,7 @@
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent" /> <rule ref="PEAR.WhiteSpace.ObjectOperatorIndent" />
<!-- <!-- Need to be commented to be disabled
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace"> <rule ref="PEAR.WhiteSpace.ScopeClosingBrace">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
...@@ -221,7 +237,6 @@ ...@@ -221,7 +237,6 @@
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line"> <rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line">
<severity>0</severity> <severity>0</severity>
</rule> </rule>
--> -->
<!-- Already found as a Generic rule --> <!-- Already found as a Generic rule -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment