EaDesgin/magento2-pdf-generator2

View on GitHub
Test/Php/_files/phpcs/ruleset.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Copyright © EAdesign by Eco Active S.R.L.,All rights reserved.
 * See LICENSE for license details.
 */
-->
<ruleset name="MEQP2">
    <description>Magento 2 EQP Coding Standard</description>
    <!-- Include PSR2 standard. -->
    <rule ref="PSR2">
        <exclude name="PSR2.Classes.PropertyDeclaration.Underscore"/>
        <exclude name="PSR2.Methods.MethodDeclaration.Underscore"/>
    </rule>
    <rule ref="Generic.WhiteSpace.ScopeIndent">
        <exclude-pattern>*.js</exclude-pattern>
    </rule>
    <rule ref="MEQP1.Exceptions.Namespace"/>
    <rule ref="MEQP1.Performance.CollectionCount"/>
    <rule ref="MEQP1.Performance.EmptyCheck"/>
    <rule ref="MEQP1.Performance.InefficientMethods"/>
    <rule ref="MEQP1.Performance.Loop"/>
    <rule ref="MEQP1.PHP.Goto"/>
    <rule ref="MEQP1.PHP.Var"/>
    <rule ref="MEQP1.Security.DiscouragedFunction"/>
    <rule ref="MEQP1.Security.IncludeFile"/>
    <rule ref="MEQP1.Security.LanguageConstruct"/>
    <rule ref="MEQP1.Security.LanguageConstruct.DirectOutput">
        <exclude-pattern>*.phtml</exclude-pattern>
    </rule>
    <rule ref="MEQP1.SQL.RawQuery"/>
    <rule ref="MEQP1.SQL.SlowQuery"/>
    <rule ref="MEQP1.Strings.RegEx"/>
    <rule ref="MEQP1.Strings.StringConcat"/>
    <rule ref="MEQP1.Strings.StringPosition"/>
    <rule ref="MEQP2.Classes.ObjectInstantiation">
        <exclude-pattern>*/Test/*</exclude-pattern>
    </rule>
    <rule ref="MEQP2.Templates.ThisInTemplate">
        <exclude-pattern>*.php</exclude-pattern>
    </rule>
    <rule ref="MEQP2.Templates.RawJavaScript">
        <exclude-pattern>*.php</exclude-pattern>
    </rule>
    <rule ref="MEQP2.Templates.XssTemplate">
        <exclude-pattern>*.php</exclude-pattern>
    </rule>
    <rule ref="Squiz.PHP.DiscouragedFunctions"/>
    <rule ref="Generic.Functions.CallTimePassByReference.NotAllowed">
        <severity>10</severity>
    </rule>
    <rule ref="Generic.PHP.CharacterBeforePHPOpeningTag.Found">
        <severity>10</severity>
        <exclude-pattern>*.phtml</exclude-pattern>
    </rule>
    <rule ref="Generic.PHP.DeprecatedFunctions.Deprecated">
        <severity>10</severity>
    </rule>
    <rule ref="PSR1.Classes.ClassDeclaration.MissingNamespace">
        <severity>10</severity>
    </rule>
    <rule ref="PSR1.Classes.ClassDeclaration.MultipleClasses">
        <severity>10</severity>
        <type>error</type>
    </rule>
    <rule ref="PSR2.Files.ClosingTag.NotAllowed">
        <severity>10</severity>
        <type>error</type>
        <exclude-pattern>*.phtml</exclude-pattern>
    </rule>
    <rule ref="Squiz.PHP.Eval.Discouraged">
        <severity>10</severity>
        <type>error</type>
    </rule>
    <rule ref="Generic.Arrays.DisallowLongArraySyntax.Found">
        <severity>8</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Classes.DuplicateClassName.Found">
        <severity>8</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.JumbledIncrementer.Found">
        <severity>8</severity>
    </rule>
    <rule ref="Generic.Files.LineEndings.InvalidEOLChar">
        <severity>8</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Metrics.CyclomaticComplexity.MaxExceeded">
        <severity>8</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Metrics.CyclomaticComplexity.TooHigh">
        <severity>8</severity>
    </rule>
    <rule ref="Generic.Metrics.NestingLevel.MaxExceeded">
        <severity>8</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Metrics.NestingLevel.TooHigh">
        <severity>8</severity>
    </rule>
    <rule ref="Generic.PHP.NoSilencedErrors.Discouraged">
        <severity>8</severity>
    </rule>
    <rule ref="Squiz.Functions.GlobalFunction.Found">
        <severity>8</severity>
    </rule>
    <rule ref="Squiz.PHP.GlobalKeyword.NotAllowed">
        <severity>8</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop.CanSimplify">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.UnconditionalIfStatement.Found">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier.Found">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.UnusedFunctionParameter.Found">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.CodeAnalysis.UselessOverridingMethod.Found">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.Commenting.Fixme.CommentFound">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Commenting.Fixme.TaskFound">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Commenting.Todo.CommentFound">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.Commenting.Todo.TaskFound">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.ControlStructures.InlineControlStructure.NotAllowed">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Files.ByteOrderMark.Found">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Files.LineLength.MaxExceeded">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Files.LineLength.TooLong">
        <severity>6</severity>
    </rule>
    <rule ref="Generic.Formatting.DisallowMultipleStatements.SameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.PHP.DisallowShortOpenTag.EchoFound">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.PHP.DisallowShortOpenTag.Found">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.PHP.LowerCaseConstant.Found">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.PHP.LowerCaseKeyword.Found">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.WhiteSpace.DisallowTabIndent.NonIndentTabsUsed">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.WhiteSpace.DisallowTabIndent.TabsUsed">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.WhiteSpace.ScopeIndent.Incorrect">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Generic.WhiteSpace.ScopeIndent.IncorrectExact">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedCATCH">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedCLASS">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedDO">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedELSE">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedELSEIF">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedFOR">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedFOREACH">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedFUNCTION">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedIF">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedINTERFACE">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedSWITCH">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedTRAIT">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedTRY">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="MEQP1.CodeAnalysis.EmptyBlock.DetectedWHILE">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PEAR.ControlStructures.ControlSignature">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PEAR.Functions.ValidDefaultValue.NotAtEnd">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
        <severity>6</severity>
    </rule>
    <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.CloseBraceSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.ExtendsInterfaceSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.ExtendsLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.FirstExtendsInterfaceSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.FirstInterfaceSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.ImplementsLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.InterfaceSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.InterfaceWrongIndent">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.NewlineBeforeKeyword">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.NoSpaceBeforeName">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.OpenBraceNewLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.OpenBraceNotAlone">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceAfterKeyword">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceAfterName">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceBeforeBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceBeforeComma">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceBeforeExtends">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceBeforeKeyword">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.ClassDeclaration.SpaceBeforeName">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.PropertyDeclaration.Multiple">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.PropertyDeclaration.ScopeMissing">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
        <severity>6</severity>
    </rule>
    <rule ref="PSR2.Classes.PropertyDeclaration.VarUsed">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">
        <severity>6</severity>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineDEFAULT">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.BreakNotNewLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonDEFAULT">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.WrongOpenercase">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.ControlStructures.SwitchDeclaration.WrongOpenerdefault">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Files.EndFileNewline.NoneFound">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Files.EndFileNewline.TooMany">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.CloseBracketLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.EmptyLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.Indent">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.MultipleArguments">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.SpaceAfterCloseBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionCallSignature.SpaceBeforeOpenBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Methods.MethodDeclaration.StaticBeforeVisibility">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Namespaces.NamespaceDeclaration.BlankLineAfter">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Namespaces.UseDeclaration.MultipleDeclarations">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Namespaces.UseDeclaration.SpaceAfterLastUse">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Namespaces.UseDeclaration.SpaceAfterUse">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="PSR2.Namespaces.UseDeclaration.UseAfterNamespace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Classes.ValidClassName.MissingBrace">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.Classes.ValidClassName.NotCamelCaps">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Commenting.DocCommentAlignment.NoSpaceAfterStar">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Commenting.DocCommentAlignment.SpaceAfterStar">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ControlSignature.SpaceBeforeSemicolon">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.MissingCloseParenthesis">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.MissingOpenParenthesis">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterArrow">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterAs">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeArrow">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeAs">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterArrow">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterAs">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterOpen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeArrow">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeAs">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoOpenBracket">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoSpaceAfterFirst">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoSpaceAfterSecond">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterFirst">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterSecond">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterSecondNoThird">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeFirst">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeSecond">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.ControlStructures.LowercaseDeclaration.FoundUppercase">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclaration">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeHint">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterDefault">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeComma">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpenHint">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeArg">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeHint">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBetween">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.LowercaseFunctionKeywords.FoundUppercase">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceIndent">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnNewLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.CloseBracketLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.FirstParamSpacing">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.Indent">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterBracket">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenParen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Operators.IncrementDecrementUsage">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Operators.IncrementDecrementUsage.NoBrackets">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Operators.IncrementDecrementUsage.NotAllowed">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.PHP.CommentedOutCode.Found">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.PHP.NonExecutableCode.ReturnNotRequired">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.PHP.NonExecutableCode.Unreachable">
        <severity>6</severity>
    </rule>
    <rule ref="Squiz.Scope.MemberVarScope.Missing">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.Scope.MethodScope.Missing">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.TooMuchSpaceAfter">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.TooMuchSpaceBefore">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ScopeClosingBrace.Indent">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect">
        <severity>6</severity>
        <type>warning</type>
    </rule>
    <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
        <severity>6</severity>
        <type>warning</type>
    </rule>
</ruleset>