Skip to content

Instantly share code, notes, and snippets.

@barolab
Created June 2, 2016 12:41
Show Gist options
  • Save barolab/0449c5e3d64022729cfccef50bd8fb48 to your computer and use it in GitHub Desktop.
Save barolab/0449c5e3d64022729cfccef50bd8fb48 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ruleset name="Symfony2">
<!-- There should not be any code in the bundle Resources directory. -->
<exclude-pattern>*/Resources/*</exclude-pattern>
<rule ref="Generic.Classes.DuplicateClassName.Found"><severity>0</severity></rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.EmptyStatement.NotAllowedWarning"><severity>4</severity></rule>
<rule ref="Generic.CodeAnalysis.ForLoopShouldBeWhileLoop.CanSimplify"><severity>4</severity></rule>
<rule ref="Generic.CodeAnalysis.ForLoopWithTestFunctionCall.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.JumbledIncrementer.Found"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.UnconditionalIfStatement.Found"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.UnnecessaryFinalModifier.Found"><severity>4</severity></rule>
<rule ref="Generic.CodeAnalysis.UnusedFunctionParameter.Found"><severity>2</severity></rule>
<rule ref="Generic.CodeAnalysis.UselessOverridingMethod.Found"><severity>4</severity></rule>
<rule ref="Generic.Commenting.Todo.TaskFound"><severity>5</severity></rule>
<rule ref="Generic.ControlStructures.InlineControlStructure.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.ControlStructures.InlineControlStructure.Discouraged"><severity>5</severity></rule>
<rule ref="Generic.Files.LineEndings.InvalidEOLChar">
<severity>4</severity>
<properties>
<property name="eolChar" value="\n"/>
</properties>
</rule>
<rule ref="Generic.Files.LineLength.TooLong">
<severity>4</severity>
<properties>
<property name="lineLimit" value="80"/>
</properties>
</rule>
<rule ref="Generic.Files.LineLength.MaxExceeded">
<severity>2</severity>
<properties>
<property name="absoluteLineLimit" value="120"/>
</properties>
</rule>
<rule ref="Generic.Formatting.DisallowMultipleStatements.SameLine"><severity>2</severity></rule>
<rule ref="Generic.Formatting.MultipleStatementAlignment.Incorrect">
<severity>2</severity>
<properties>
<property name="maxPadding" value="1000"/>
<property name="ignoreMultiLine" value="false"/>
</properties>
</rule>
<rule ref="Generic.Formatting.NoSpaceAfterCast.SpaceFound"><severity>4</severity></rule>
<rule ref="Generic.Formatting.SpaceAfterCast.NoSpace"><severity>4</severity></rule>
<rule ref="Generic.Formatting.SpaceAfterCast.TooMuchSpace"><severity>4</severity></rule>
<rule ref="Generic.Functions.CallTimePassByReference.NotAllowed"><severity>2</severity></rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma"><severity>4</severity></rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"><severity>4</severity></rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.TooMuchSpaceAfterComma"><severity>4</severity></rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceBeforeEquals"><severity>4</severity></rule>
<rule ref="Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterEquals"><severity>4</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceOnSameLine"><severity>2</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceSpacing"><severity>2</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman.BraceIndent"><severity>2</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie.BraceOnNewLine"><severity>2</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace"><severity>2</severity></rule>
<rule ref="Generic.Functions.OpeningFunctionBraceKernighanRitchie.SpaceBeforeBrace"><severity>2</severity></rule>
<rule ref="Generic.Metrics.CyclomaticComplexity.MaxExceeded">
<severity>2</severity>
<properties>
<property name="absoluteComplexity" value="20"/>
</properties>
</rule>
<rule ref="Generic.Metrics.CyclomaticComplexity.TooHigh">
<severity>4</severity>
<properties>
<property name="complexity" value="10"/>
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel.MaxExceeded">
<severity>2</severity>
<properties>
<property name="absoluteNestingLevel" value="10"/>
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel.TooHigh">
<severity>4</severity>
<properties>
<property name="nestingLevel" value="5"/>
</properties>
</rule>
<rule ref="Generic.NamingConventions.ConstructorName.OldStyle"><severity>2</severity></rule>
<rule ref="Generic.NamingConventions.ConstructorName.OldStyleCall"><severity>5</severity></rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ClassConstantNotUpperCase"><severity>5</severity></rule>
<rule ref="Generic.NamingConventions.UpperCaseConstantName.ConstantNotUpperCase"><severity>2</severity></rule>
<rule ref="Generic.PHP.DisallowShortOpenTag.Found"><severity>2</severity></rule>
<rule ref="Generic.PHP.DisallowShortOpenTag.EchoFound"><severity>2</severity></rule>
<rule ref="Generic.PHP.ForbiddenFunctions.Found"><severity>2</severity></rule>
<rule ref="Generic.PHP.LowerCaseConstant.Found"><severity>2</severity></rule>
<rule ref="Generic.PHP.NoSilencedErrors.Forbidden"><severity>2</severity></rule>
<rule ref="Generic.PHP.NoSilencedErrors.Discouraged"><severity>2</severity></rule>
<rule ref="Generic.PHP.UpperCaseConstant.Found"><severity>2</severity></rule>
<rule ref="Generic.Strings.UnnecessaryStringConcat.Found"><severity>2</severity></rule>
<rule ref="Generic.VersionControl.SubversionProperties.Unexpected"><severity>2</severity></rule>
<rule ref="Generic.VersionControl.SubversionProperties.Missing"><severity>2</severity></rule>
<rule ref="Generic.VersionControl.SubversionProperties.NoMatch"><severity>2</severity></rule>
<rule ref="Generic.VersionControl.SubversionProperties."><severity>2</severity></rule>
<rule ref="Generic.WhiteSpace.DisallowTabIndent.TabsUsed"><severity>5</severity></rule>
<rule ref="Generic.WhiteSpace.ScopeIndent.Incorrect">
<severity>5</severity>
<properties>
<property name="indent" value="4"/>
<property name="exact" value="false"/>
</properties>
</rule>
<rule ref="Generic.WhiteSpace.ScopeIndent.typ"><severity>5</severity></rule>
<rule ref="MySource.Channels.DisallowSelfActions.Found"><severity>2</severity></rule>
<rule ref="MySource.Channels.IncludeSystem.NotIncludedCall"><severity>2</severity></rule>
<rule ref="MySource.Channels.IncludeSystem.NotIncludedExtends"><severity>2</severity></rule>
<rule ref="MySource.Channels.IncludeSystem.NotIncludedCall"><severity>2</severity></rule>
<rule ref="MySource.Channels.UnusedSystem.Found"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.ApiNotFirst"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.ApiSpacing"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.ApiTagSpacing"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.TagNotAllowed"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.ApiNotLast"><severity>2</severity></rule>
<rule ref="MySource.Commenting.FunctionComment.ApiTagIndent"><severity>2</severity></rule>
<rule ref="MySource.CSS.BrowserSpecificStyles.ForbiddenStyle"><severity>2</severity></rule>
<rule ref="MySource.Debug.DebugCode.Found"><severity>2</severity></rule>
<rule ref="MySource.Debug.FirebugConsole.ConflictFound"><severity>2</severity></rule>
<rule ref="MySource.Objects.AssignThis.NotSelf"><severity>2</severity></rule>
<rule ref="MySource.Objects.CreateWidgetTypeCallback.FirstArgNotCallback"><severity>2</severity></rule>
<rule ref="MySource.Objects.CreateWidgetTypeCallback.ReturnValue"><severity>2</severity></rule>
<rule ref="MySource.Objects.CreateWidgetTypeCallback.FirstArgNotSelf"><severity>2</severity></rule>
<rule ref="MySource.Objects.CreateWidgetTypeCallback.NoReturn"><severity>2</severity></rule>
<rule ref="MySource.Objects.CreateWidgetTypeCallback.CallbackNotCalled"><severity>2</severity></rule>
<rule ref="MySource.Objects.DisallowNewWidget.Found"><severity>2</severity></rule>
<rule ref="MySource.PHP.EvalObjectFactory.Found"><severity>2</severity></rule>
<rule ref="MySource.PHP.GetRequestData.WithVar"><severity>2</severity></rule>
<rule ref="MySource.PHP.ReturnFunctionValue.NotAssigned"><severity>2</severity></rule>
<rule ref="MySource.Strings.JoinStrings.ArrayNotAllowed"><severity>2</severity></rule>
<rule ref="PEAR.Classes.ClassDeclaration.MissingBrace"><severity>2</severity></rule>
<rule ref="PEAR.Classes.ClassDeclaration.OpenBraceNewLine"><severity>2</severity></rule>
<rule ref="PEAR.Classes.ClassDeclaration.OpenBraceWrongLine"><severity>2</severity></rule>
<rule ref="PEAR.Classes.ClassDeclaration.OpenBraceNotAlone"><severity>2</severity></rule>
<rule ref="PEAR.Classes.ClassDeclaration.SpaceBeforeBrace">
<severity>2</severity>
<properties>
<property name="indent" value="4"/>
</properties>
</rule>
<rule ref="PEAR.Commenting.ClassComment.WrongStyle"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.TagIndent"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.MissingTag"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.EmptyCopyright"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.ParamNameNoMatch"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.Missing"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.Missing"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.Empty"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.SpacingAfterShort"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.EmptyVersion"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.ClassComment.InvalidVersion"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.WrongStyle"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.Missing"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.Empty"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.SpacingBefore"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.DescriptionSpacing"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.MissingVersion"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.MissingTag"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.DuplicateTag"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.TagsNotGrouped"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.WrongTagOrder"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.TagIndent"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidCategory"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyCategory"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidPackage"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyPackage"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidSubpackage"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptySubpackage"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidAuthors"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyAuthors"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.CopyrightHyphen"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidCopyright"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyCopyright"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyCopyright"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyLicense"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.EmptyVersion"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FileComment.InvalidVersion"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.WrongStyle"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.Empty"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterShort"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.EmptyThrows"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingReturn"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.EmptyReturn"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterParams"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeParams"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingBeforeParamType"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.ParameterNamesNotAligned"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.ParameterCommentsNotAligned"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.cod"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.ExtraParamComment"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamName"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamType"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamComment"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterLongType"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.SpacingAfterLongName"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.FunctionComment.MissingParamTag"><severity>2</severity></rule>
<rule ref="PEAR.Commenting.InlineComment.WrongStyle"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.MultiLineCondition.CloseBracketNewLine"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.ControlSignature"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.MultiLineCondition.Alignment"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.MultiLineCondition.StartWithBoolean"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.MultiLineCondition.SpaceBeforeOpenBrace"><severity>2</severity></rule>
<rule ref="PEAR.ControlStructures.MultiLineCondition.NoSpaceBeforeOpenBrace"><severity>2</severity></rule>
<rule ref="PEAR.Files.IncludingFile.BracketsNotRequired"><severity>5</severity></rule>
<rule ref="PEAR.Files.IncludingFile.UseIncludeOnce"><severity>2</severity></rule>
<rule ref="PEAR.Files.IncludingFile.UseInclude"><severity>2</severity></rule>
<rule ref="PEAR.Files.IncludingFile.UseRequireOnce"><severity>2</severity></rule>
<rule ref="PEAR.Files.IncludingFile.UseRequire"><severity>2</severity></rule>
<rule ref="PEAR.Formatting.MultiLineAssignment.EqualSignLine"><severity>2</severity></rule>
<rule ref="PEAR.Formatting.MultiLineAssignment.Indent"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeOpenBracket"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterCloseBracket"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.Indent"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionCallSignature.CloseBracketLine"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.Indent"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.BraceIndent"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.BraceOnSameLine"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.NewlineBeforeOpenBrace"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.cod"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.NoSpaceBeforeOpenBrace"><severity>2</severity></rule>
<rule ref="PEAR.Functions.FunctionDeclaration.CloseBracketLine"><severity>2</severity></rule>
<rule ref="PEAR.Functions.ValidDefaultValue.NotAtEnd"><severity>0</severity></rule>
<rule ref="PEAR.NamingConventions.ValidClassName.StartWithCaptial"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidClassName.Invalid"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.MethodDoubleUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.PrivateNoUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.PublicUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionDoubleUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNoCaptial"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionInvalid"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidFunctionName.FunctionNameInvalid"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidVariableName.PrivateNoUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.NamingConventions.ValidVariableName.PublicUnderscore"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent.Incorrect"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ObjectOperatorIndent.StartOfLine"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Line"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.BreakIdent"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ScopeClosingBrace.Indent"><severity>2</severity></rule>
<rule ref="PEAR.WhiteSpace.ScopeIndent."><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayBracketSpacing.SpaceBeforeBracket"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayBracketSpacing.SpaceAfterBracket"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NotLowerCase"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceAfterKeyword"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceInEmptyArray"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoSpaceBeforeDoubleArrow"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceBeforeDoubleArrow"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoSpaceAfterDoubleArrow"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceAfterDoubleArrow"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoSpaceAfterComma"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceAfterComma"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.CloseBraceNewLine"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoKeySpecified"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.KeySpecified"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.MulitLineNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.ValueNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.FirstValueNoNewline"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.FirstIndexNoNewline"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.KeyNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.ValueNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.NoComma"><severity>2</severity></rule>
<rule ref="Squiz.Arrays.ArrayDeclaration.SpaceBeforeComma"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.MultipleClasses"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceBeforeKeyword"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpacesBeforeKeyword"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.MissingBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.NewLineBeforeCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceBeforeCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.EndFileAfterCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.NoNewlineAfterCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.NewlinesAfterCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.CloseBraceSameLine"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceAfterKeyword"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceAfterName"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.NoSpaceBeforeName"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceBeforeName"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassDeclaration.SpaceBeforeComma"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ClassFileName.NoMatch"><severity>2</severity></rule>
<rule ref="Squiz.Classes.DuplicateProperty.Found"><severity>1</severity></rule>
<rule ref="Squiz.Classes.LowercaseClassKeywords.FoundUppercase"><severity>2</severity></rule>
<rule ref="Squiz.Classes.SelfMemberReference.IncorrectCase"><severity>5</severity></rule>
<rule ref="Squiz.Classes.SelfMemberReference.NotUsed"><severity>4</severity></rule>
<rule ref="Squiz.Classes.SelfMemberReference.SpaceBefore"><severity>5</severity></rule>
<rule ref="Squiz.Classes.SelfMemberReference.SpaceAfter"><severity>5</severity></rule>
<rule ref="Squiz.Classes.ValidClassName.MissingBrace"><severity>2</severity></rule>
<rule ref="Squiz.Classes.ValidClassName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.SingleLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.NoNewLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.HasEmptyLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.FirstLineIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.NoCaptial"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.LineIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.LastLineIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.HasEmptyLineBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.NoEmptyLineBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.BlockComment.NoEmptyLineAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.MissingShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.LongNotCaptial"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.ShortSingleLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.ShortNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.ShortFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.TagNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClassComment.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClosingDeclarationComment.Abstract"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClosingDeclarationComment.MissingBrace"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.ClosingDeclarationComment.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.DocCommentAlignment.NoSpaceBeforeTag"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.DocCommentAlignment.SpaceBeforeTag"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.DocCommentAlignment.SpaceBeforeAsterisk"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.EmptyCatchComment.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingAfterComment"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.ContentAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.LongNotCaptial"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.ShortSingleLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.ShortNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.ShortFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.TagNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingTag"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.DuplicateTag"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.TagOrder"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.TagIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingPackage"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectPackage"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingSubpackage"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectSubpackage"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingAuthor"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectAuthor"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingCopyright"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectCopyright"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingLicense"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingLinceseURL"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectLicenseURL"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.MissingLinceseName"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FileComment.IncorrectLicenseName"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.WrongStyle"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ContentAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.LongNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ShortSingleLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ShortNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ShortFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SeeOrder"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.EmptySee"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SeeIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.DuplicateReturn"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ReturnOrder"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingReturnType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidReturn"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidReturnVoid"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidNoReturn"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidReturnNotVoid"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ReturnIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingReturn"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ReturnNotRequired"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidThrows"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.EmptyThrows"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ThrowsNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ThrowsNoFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ThrowsOrder"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterParams"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingBeforeParams"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingBeforeParamType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ParameterNamesNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ParameterCommentsNotAligned"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.IncorrectParamVarName"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.TypeHintMissing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.IncorrectTypeHint"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.InvalidTypeHint"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.cod"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ExtraParamComment"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamName"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamComment"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ParamCommentNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.ParamCommentFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterLongType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.SpacingAfterLongName"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.MissingParamTag"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionComment.TagNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.FailedParse"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.WrongNumber"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.FunctionCommentThrowTag.WrongType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.DocBlock"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.WrongStyle"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.NoSpaceBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.NotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.InvalidEndChar"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.InlineComment.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.LongConditionClosingComment.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.LongConditionClosingComment.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.LongConditionClosingComment.Invalid"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.PostStatementComment.Found"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.Empty"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.ContentAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.MissingShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.SpacingBeforeShort"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.LongNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.ShortSingleLine"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.ShortNotCapital"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.ShortFullStop"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.SpacingBeforeTags"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.TagNotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.DuplicateVar"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.VarOrder"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.MissingVarType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.IncorrectVarType"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.VarIndent"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.MissingVar"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.EmptySees"><severity>2</severity></rule>
<rule ref="Squiz.Commenting.VariableComment.SeesIndent"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ElseIfDeclaration.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeArrow"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeArrow"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterArrow"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterArrow"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeAs"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingBeforeAs"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterAs"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForEachLoopDeclaration.SpacingAfterAs"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoOpenBracket"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeFirst"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoSpaceAfterFirst"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterFirst"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeSecond"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.NoSpaceAfterSecond"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterSecond"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.NotSingleLine"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.NoBrackets"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.SpacingBeforeThen"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.SpacingAfterThen"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.SpacingBeforeElse"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.InlineIfDeclaration.SpacingAfterElse"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.LowercaseDeclaration.FoundUppercase"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.CaseIndent"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpaceBeforeColon"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.BreakIndent"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyCase"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeBreak"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterBreak"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultNotLower"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeDefaultColon"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultIndent"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.BreakIndent"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.EmptyDefault"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefault"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.MissingDefault"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.CloseBraceAlign"><severity>2</severity></rule>
<rule ref="Squiz.ControlStructures.SwitchDeclaration.MissingCase"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionClosingBraceSpace.SpacingAfterClose"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionClosingBraceSpace.SpacingBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionNameSpacing.BlankLinesFound"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionOpeningBraceSpace.NoneBefore"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionOpeningBraceSpace.Before"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ClassDefinitionOpeningBraceSpace.After"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColonSpacing.Before"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColonSpacing.NoneAfter"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColonSpacing.After"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColonSpacing.AfterNewline"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColourDefinition.NotUpper"><severity>2</severity></rule>
<rule ref="Squiz.CSS.ColourDefinition.Shorthand"><severity>2</severity></rule>
<rule ref="Squiz.CSS.DisallowMultipleStyleDefinitions.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.DuplicateClassDefinition.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.DuplicateStyleDefinition.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.EmptyClassDefinition.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.EmptyStyleDefinition.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Indentation.BlankLine"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Indentation.Incorrect"><severity>2</severity></rule>
<rule ref="Squiz.CSS.LowercaseStyleDefinition.FoundUpper"><severity>2</severity></rule>
<rule ref="Squiz.CSS.MissingColon.Found"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Opacity.Invalid"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Opacity.SpacingAfterPoint"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Opacity.PointNotRequired"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Opacity.StartWithPoint"><severity>2</severity></rule>
<rule ref="Squiz.CSS.Opacity.Invalid"><severity>2</severity></rule>
<rule ref="Squiz.CSS.SemicolonSpacing.NotAtEnd"><severity>2</severity></rule>
<rule ref="Squiz.CSS.SemicolonSpacing.SpaceFound"><severity>2</severity></rule>
<rule ref="Squiz.Files.FileExtension.ClassFound"><severity>2</severity></rule>
<rule ref="Squiz.Files.FileExtension.NoClass"><severity>2</severity></rule>
<rule ref="Squiz.Formatting.OperatorBracket.SpacingAfterMinus"><severity>2</severity></rule>
<rule ref="Squiz.Formatting.OperatorBracket.MissingBrackets"><severity>2</severity></rule>
<rule ref="Squiz.Formatting.OperatorBracket.MissingBrackets"><severity>2</severity></rule>
<rule ref="Squiz.Formatting.OperatorBracket.MissingBrackets"><severity>2</severity></rule>
<rule ref="Squiz.Formatting.OperatorBracket.MissingBrackets"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeEquals"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceAfterDefault"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpaceBeforeComma"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSapceBeforeHint"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeHint"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeArg"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterHint"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpenHint"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDeclarationArgumentSpacing.SpacingBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.Functions.FunctionDuplicateArgument.Found"><severity>0</severity></rule>
<rule ref="Squiz.Functions.GlobalFunction.Found"><severity>2</severity></rule>
<rule ref="Squiz.Functions.LowercaseFunctionKeywords.FoundUppercase"><severity>2</severity></rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.FirstParamSpacing"><severity>2</severity></rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.OneParamPerLine"><severity>2</severity></rule>
<rule ref="Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterComma"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidFunctionName.DoubleUnderscore"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidFunctionName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.PublicHasUnderscore"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.PrivateNoUnderscore"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.NamingConventions.ValidVariableName.StringNotCamelCaps"><severity>2</severity></rule>
<rule ref="Squiz.Objects.DisallowObjectStringIndex.Found"><severity>2</severity></rule>
<rule ref="Squiz.Objects.ObjectInstantiation.NotAssigned"><severity>2</severity></rule>
<rule ref="Squiz.Objects.ObjectMemberComma.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Operators.ComparisonOperatorUsage.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue"><severity>2</severity></rule>
<rule ref="Squiz.Operators.ComparisonOperatorUsage.ImplicitTrue"><severity>2</severity></rule>
<rule ref="Squiz.Operators.IncrementDecrementUsage.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.Operators.IncrementDecrementUsage.NoBrackets"><severity>2</severity></rule>
<rule ref="Squiz.Operators.IncrementDecrementUsage."><severity>2</severity></rule>
<rule ref="Squiz.Operators.ValidLogicalOperators.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.PHP.CommentedOutCode.Found"><severity>2</severity></rule>
<rule ref="Squiz.PHP.DisallowComparisonAssignment.AssignedComparison"><severity>2</severity></rule>
<rule ref="Squiz.PHP.DisallowComparisonAssignment.AssignedBool"><severity>2</severity></rule>
<rule ref="Squiz.PHP.DisallowMultipleAssignments.Found"><severity>2</severity></rule>
<rule ref="Squiz.PHP.DisallowSizeFunctionsInLoops.Found"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.Empty"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.ContentAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.Indent"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.ContentAfterEnd"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.Empty"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.SpacingAfterOpen"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.NoSemicolon"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.MultipleStatements"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.NoSpaceBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.NoSpaceBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.PHP.EmbeddedPhp.SpacingBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.PHP.Eval.Discouraged"><severity>2</severity></rule>
<rule ref="Squiz.PHP.GlobalKeyword.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.PHP.Heredoc.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.PHP.InnerFunctions.NotAllowed"><severity>2</severity></rule>
<rule ref="Squiz.PHP.LowercasePHPFunctions.KeywordUppercase"><severity>2</severity></rule>
<rule ref="Squiz.PHP.LowercasePHPFunctions.CallUppercase"><severity>2</severity></rule>
<rule ref="Squiz.PHP.NonExecutableCode.Unreachable"><severity>2</severity></rule>
<rule ref="Squiz.PHP.NonExecutableCode.ReturnNotRequired"><severity>2</severity></rule>
<rule ref="Squiz.Scope.MemberVarScope.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Scope.MethodScope.Missing"><severity>2</severity></rule>
<rule ref="Squiz.Scope.StaticThisUsage.Found"><severity>0</severity></rule>
<rule ref="Squiz.Strings.DoubleQuoteUsage.ContainsVar"><severity>2</severity></rule>
<rule ref="Squiz.Strings.DoubleQuoteUsage.NotRequired"><severity>2</severity></rule>
<rule ref="Squiz.Strings.EchoedStrings.HasBracket"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.CastSpacing.ContainsWhiteSpace"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpaceBeforeCloseBrace"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeOpen"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.LineAfterClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ControlStructureSpacing.NoLineAfterClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBetween"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionClosingBraceSpace.ContentBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeNestedClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionClosingBraceSpace.SpacingBeforeClose"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace.SpacingAfterNested"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace.ContentBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionOpeningBraceSpace.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.After"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.FunctionSpacing.Before"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing.IncorrectSingle"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LanguageConstructSpacing.Incorrect"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.TooMuchSpaceBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.NoSpaceAfter"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.LogicalOperatorSpacing.TooMuchSpaceAfter"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.MemberVarSpacing.After"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing.Before"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ObjectOperatorSpacing.After"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.NoSpaceBeforeAmp"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.SpacingBeforeAmp"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfterAmp"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.SpacingAfterAmp"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.NoSpaceBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.SpacingBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.NoSpaceAfter"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.OperatorSpacing.SpacingAfter"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.PropertyLabelSpacing.Before"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.PropertyLabelSpacing.After"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ScopeClosingBrace.Indent"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.ScopeKeywordSpacing.Incorrect"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.SemicolonSpacing.Incorrect"><severity>2</severity></rule>
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines"><severity>2</severity></rule>
<rule ref="Zend.Files.ClosingTag.NotAllowed"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.NotCamelCaps"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.PublicHasUnderscore"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.PrivateNoUnderscore"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.MemberVarNotCamelCaps"><severity>2</severity></rule>
<rule ref="Zend.NamingConventions.ValidVariableName.StringVarNotCamelCaps"><severity>2</severity></rule>
</ruleset>
@barolab
Copy link
Author

barolab commented Jun 2, 2016

PHPCS ruleset for Symfony2/Silex applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment