123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142 |
- <?xml version="1.0"?>
- <!--suppress XmlUnboundNsPrefix -->
- <ruleset name="PHP-SDK">
- <description>Coding standard ruleset based on the PSR-2 coding standard.</description>
- <rule ref="PSR2"/>
- <rule ref="Generic.Files.LineLength.TooLong">
- <severity>0</severity>
- </rule>
- <rule ref="PSR1.Methods.CamelCapsMethodName.NotCamelCaps">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.MethodDeclaration.Underscore">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Classes.PropertyDeclaration.Underscore">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.Scope.MethodScope.Missing">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.SwitchDeclaration.TerminatingComment">
- <severity>0</severity>
- </rule>
- <rule ref="PEAR.Functions.ValidDefaultValue.NotAtEnd">
- <severity>0</severity>
- </rule>
- <rule ref="PSR1.Files.SideEffects.FoundWithSymbols">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Classes.PropertyDeclaration.ScopeMissing">
- <severity>0</severity>
- </rule>
- <!-- These can be fixed automatically by phpcbf -->
- <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EndLine">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpen">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose">
- <severity>0</severity>
- </rule>
- <rule ref="Generic.ControlStructures.InlineControlStructure.NotAllowed">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.ControlStructures.ControlSignature.SpaceBeforeSemicolon">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Files.EndFileNewline.NoneFound">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.CloseBracketLine">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.Indent">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.ElseIfDeclaration.NotAllowed">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.WhiteSpace.ControlStructureSpacing.SpacingAfterOpenBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace">
- <severity>0</severity>
- </rule>
- <rule ref="Generic.Functions.FunctionCallArgumentSpacing.SpaceBeforeComma">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.SwitchDeclaration.SpaceBeforeColonCASE">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.MultipleArguments">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.FunctionCallSignature.SpaceAfterOpenBracket">
- <severity>0</severity>
- </rule>
- <rule ref="Generic.WhiteSpace.ScopeIndent.Incorrect">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Classes.ClassDeclaration.OpenBraceNewLine">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction">
- <severity>0</severity>
- </rule>
- <rule ref="Generic.Formatting.DisallowMultipleStatements.SameLine">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.ControlStructures.SwitchDeclaration.BodyOnNextLineCASE">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Files.EndFileNewline.TooMany">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.ContentAfterBrace">
- <severity>0</severity>
- </rule>
- <rule ref="PSR2.Methods.MethodDeclaration.StaticBeforeVisibility">
- <severity>0</severity>
- </rule>
- <rule ref="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine">
- <severity>0</severity>
- </rule>
- </ruleset>
|