Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
coder
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
coder
Commits
36ca8bac
Commit
36ca8bac
authored
4 months ago
by
Klaus Purer
Browse files
Options
Downloads
Patches
Plain Diff
style(ruleset): Format XML with 2 space indentation
parent
19132e11
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
coder_sniffer/Drupal/ruleset.xml
+265
-265
265 additions, 265 deletions
coder_sniffer/Drupal/ruleset.xml
with
265 additions
and
265 deletions
coder_sniffer/Drupal/ruleset.xml
+
265
−
265
View file @
36ca8bac
<?xml version="1.0"?>
<!-- See http://pear.php.net/manual/en/package.php.php-codesniffer.annotated-ruleset.php -->
<ruleset
name=
"Drupal"
>
<description>
Drupal coding standard
</description>
<!-- All Drupal code files must be UTF-8 encoded and we treat them as such. -->
<arg
name=
"encoding"
value=
"utf-8"
/>
<description>
Drupal coding standard
</description>
<!-- All Drupal code files must be UTF-8 encoded and we treat them as such. -->
<arg
name=
"encoding"
value=
"utf-8"
/>
<rule
ref=
"Internal.NoCodeFound"
>
<!-- Empty files are fine, might be used for testing. -->
<exclude-pattern>
*
</exclude-pattern>
</rule>
<rule
ref=
"Internal.NoCodeFound"
>
<!-- Empty files are fine, might be used for testing. -->
<exclude-pattern>
*
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.Commenting.FileComment"
>
<!-- Do not run this sniff on txt files. -->
<exclude-pattern>
*.txt
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.Commenting.FileComment.SpacingAfterComment"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.ControlStructures.ControlSignature"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.Commenting.FileComment"
>
<!-- Do not run this sniff on txt files. -->
<exclude-pattern>
*.txt
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.Commenting.FileComment.SpacingAfterComment"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.ControlStructures.ControlSignature"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<!-- Silence deprecated sniff that will be removed in Coder 9.x. -->
<rule
ref=
"Drupal.Functions.FunctionDeclaration.SpaceAfter"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Drupal.Functions.FunctionDeclaration.SpaceBeforeParenthesis"
>
<severity>
0
</severity>
</rule>
<!-- Silence method name underscore warning which is covered already in
Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps. -->
<rule
ref=
"Drupal.Methods.MethodDeclaration.Underscore"
>
<severity>
0
</severity>
</rule>
<!-- Silence deprecated sniff that will be removed in Coder 9.x. -->
<rule
ref=
"Drupal.Functions.FunctionDeclaration.SpaceAfter"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Drupal.Functions.FunctionDeclaration.SpaceBeforeParenthesis"
>
<severity>
0
</severity>
</rule>
<!-- Silence method name underscore warning which is covered already in
Drupal.NamingConventions.ValidFunctionName.ScopeNotCamelCaps. -->
<rule
ref=
"Drupal.Methods.MethodDeclaration.Underscore"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Drupal.WhiteSpace.ScopeIndent"
>
<!-- Do not run this sniff on template files, as the indentation might follow
the HTML -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.WhiteSpace.ScopeClosingBrace"
>
<!-- Do not run this sniff on template files, as the indentation might follow
the HTML -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.WhiteSpace.ScopeIndent"
>
<!-- Do not run this sniff on template files, as the indentation might follow
the HTML -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Drupal.WhiteSpace.ScopeClosingBrace"
>
<!-- Do not run this sniff on template files, as the indentation might follow
the HTML -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Generic.CodeAnalysis.UselessOverridingMethod"
/>
<rule
ref=
"Generic.Files.ByteOrderMark"
/>
<rule
ref=
"Generic.Formatting.DisallowMultipleStatements"
/>
<rule
ref=
"Generic.Formatting.SpaceAfterCast"
/>
<rule
ref=
"Generic.CodeAnalysis.UselessOverridingMethod"
/>
<rule
ref=
"Generic.Files.ByteOrderMark"
/>
<rule
ref=
"Generic.Formatting.DisallowMultipleStatements"
/>
<rule
ref=
"Generic.Formatting.SpaceAfterCast"
/>
<rule
ref=
"Generic.Functions.FunctionCallArgumentSpacing"
/>
<rule
ref=
"Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Generic.Functions.FunctionCallArgumentSpacing"
/>
<rule
ref=
"Generic.Functions.FunctionCallArgumentSpacing.NoSpaceAfterComma"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Generic.NamingConventions.ConstructorName"
/>
<rule
ref=
"Generic.NamingConventions.UpperCaseConstantName"
/>
<rule
ref=
"Generic.PHP.DeprecatedFunctions"
/>
<rule
ref=
"Generic.PHP.DisallowShortOpenTag"
/>
<rule
ref=
"Generic.PHP.LowerCaseKeyword"
/>
<rule
ref=
"Generic.PHP.UpperCaseConstant"
/>
<rule
ref=
"Generic.WhiteSpace.DisallowTabIndent"
/>
<rule
ref=
"Generic.NamingConventions.ConstructorName"
/>
<rule
ref=
"Generic.NamingConventions.UpperCaseConstantName"
/>
<rule
ref=
"Generic.PHP.DeprecatedFunctions"
/>
<rule
ref=
"Generic.PHP.DisallowShortOpenTag"
/>
<rule
ref=
"Generic.PHP.LowerCaseKeyword"
/>
<rule
ref=
"Generic.PHP.UpperCaseConstant"
/>
<rule
ref=
"Generic.WhiteSpace.DisallowTabIndent"
/>
<!-- Use Unix newlines -->
<rule
ref=
"Generic.Files.LineEndings"
>
<properties>
<property
name=
"eolChar"
value=
"\n"
/>
</properties>
</rule>
<!-- Use Unix newlines -->
<rule
ref=
"Generic.Files.LineEndings"
>
<properties>
<property
name=
"eolChar"
value=
"\n"
/>
</properties>
</rule>
<rule
ref=
"MySource.Debug.DebugCode"
/>
<rule
ref=
"PEAR.Files.IncludingFile"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"PEAR.Files.IncludingFile.UseIncludeOnce"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseInclude"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseRequireOnce"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseRequire"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"MySource.Debug.DebugCode"
/>
<rule
ref=
"PEAR.Files.IncludingFile"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"PEAR.Files.IncludingFile.UseIncludeOnce"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseInclude"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseRequireOnce"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Files.IncludingFile.UseRequire"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket"
>
<severity>
0
</severity>
</rule>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"PEAR.Functions.FunctionCallSignature.Indent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.CloseBracketLine"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.EmptyLine"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.OpeningIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"PEAR.Functions.FunctionCallSignature.SpaceAfterOpenBracket"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.SpaceBeforeCloseBracket"
>
<severity>
0
</severity>
</rule>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"PEAR.Functions.FunctionCallSignature.Indent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.CloseBracketLine"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.EmptyLine"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.FunctionCallSignature.OpeningIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"PEAR.Functions.ValidDefaultValue"
/>
<rule
ref=
"PEAR.Functions.ValidDefaultValue"
/>
<rule
ref=
"PSR2.Namespaces.NamespaceDeclaration"
/>
<rule
ref=
"PSR2.Namespaces.UseDeclaration"
/>
<rule
ref=
"PSR2.Namespaces.NamespaceDeclaration"
/>
<rule
ref=
"PSR2.Namespaces.UseDeclaration"
/>
<rule
ref=
"SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"
/>
<rule
ref=
"SlevomatCodingStandard.PHP.ShortList"
/>
<rule
ref=
"SlevomatCodingStandard.TypeHints.DeclareStrictTypes"
>
<exclude
name=
"SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"
/>
<properties>
<property
name=
"linesCountBeforeDeclare"
value=
"1"
/>
<property
name=
"linesCountAfterDeclare"
value=
"1"
/>
<property
name=
"spacesCountAroundEqualsSign"
value=
"0"
/>
</properties>
</rule>
<rule
ref=
"SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"
/>
<rule
ref=
"SlevomatCodingStandard.ControlStructures.RequireNullCoalesceOperator"
/>
<rule
ref=
"SlevomatCodingStandard.PHP.ShortList"
/>
<rule
ref=
"SlevomatCodingStandard.TypeHints.DeclareStrictTypes"
>
<exclude
name=
"SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing"
/>
<properties>
<property
name=
"linesCountBeforeDeclare"
value=
"1"
/>
<property
name=
"linesCountAfterDeclare"
value=
"1"
/>
<property
name=
"spacesCountAroundEqualsSign"
value=
"0"
/>
</properties>
</rule>
<rule
ref=
"SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"
/>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.FirstValueNoNewline"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.KeyNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NoComma"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NotLowerCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.ValueNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.ValueNoNewline"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.CloseBraceNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.DoubleArrowNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.FirstValueNoNewline"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.KeyNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.MultiLineNotAllowed"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NoComma"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NoCommaAfterLast"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.NotLowerCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.SingleLineNotAllowed"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.ValueNotAligned"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayDeclaration.ValueNoNewline"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Arrays.ArrayBracketSpacing"
/>
<rule
ref=
"Squiz.Arrays.ArrayBracketSpacing"
/>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.AsNotLower"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration"
/>
<!-- Disable some error messages that we already cover. -->
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration.SpacingAfterOpen"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.ForLoopDeclaration.SpacingBeforeClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.BreakIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.CaseIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.CloseBraceAlign"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.DefaultIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.EmptyCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.EmptyDefault"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.MissingDefault"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration"
/>
<!-- Disable some error messages that we do not want. -->
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.BreakIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.CaseIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.CloseBraceAlign"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.DefaultIndent"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.DefaultNoBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.EmptyCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.EmptyDefault"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.MissingDefault"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingAfterCase"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingAfterDefaultBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.ControlStructures.SwitchDeclaration.SpacingBeforeBreak"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.CSS.ClassDefinitionClosingBraceSpace"
/>
<rule
ref=
"Squiz.CSS.ClassDefinitionClosingBraceSpace.SpacingAfterClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.CSS.ClassDefinitionOpeningBraceSpace"
/>
<rule
ref=
"Squiz.CSS.ClassDefinitionOpeningBraceSpace.AfterNesting"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.CSS.ColonSpacing"
/>
<rule
ref=
"Squiz.CSS.DisallowMultipleStyleDefinitions"
/>
<rule
ref=
"Squiz.CSS.EmptyClassDefinition"
/>
<rule
ref=
"Squiz.CSS.EmptyStyleDefinition"
/>
<rule
ref=
"Squiz.CSS.Indentation"
>
<properties>
<property
name=
"indent"
value=
"2"
/>
</properties>
</rule>
<rule
ref=
"Squiz.CSS.MissingColon"
/>
<rule
ref=
"Squiz.CSS.SemicolonSpacing"
/>
<rule
ref=
"Squiz.CSS.ClassDefinitionClosingBraceSpace"
/>
<rule
ref=
"Squiz.CSS.ClassDefinitionClosingBraceSpace.SpacingAfterClose"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.CSS.ClassDefinitionOpeningBraceSpace"
/>
<rule
ref=
"Squiz.CSS.ClassDefinitionOpeningBraceSpace.AfterNesting"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.CSS.ColonSpacing"
/>
<rule
ref=
"Squiz.CSS.DisallowMultipleStyleDefinitions"
/>
<rule
ref=
"Squiz.CSS.EmptyClassDefinition"
/>
<rule
ref=
"Squiz.CSS.EmptyStyleDefinition"
/>
<rule
ref=
"Squiz.CSS.Indentation"
>
<properties>
<property
name=
"indent"
value=
"2"
/>
</properties>
</rule>
<rule
ref=
"Squiz.CSS.MissingColon"
/>
<rule
ref=
"Squiz.CSS.SemicolonSpacing"
/>
<rule
ref=
"Squiz.Functions.FunctionDeclarationArgumentSpacing"
>
<properties>
<property
name=
"equalsSpacing"
value=
"1"
/>
</properties>
</rule>
<rule
ref=
"Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.Functions.FunctionDeclarationArgumentSpacing"
>
<properties>
<property
name=
"equalsSpacing"
value=
"1"
/>
</properties>
</rule>
<rule
ref=
"Squiz.Functions.FunctionDeclarationArgumentSpacing.NoSpaceBeforeArg"
>
<severity>
0
</severity>
</rule>
<rule
ref=
"Squiz.PHP.LowercasePHPFunctions"
/>
<rule
ref=
"Squiz.PHP.NonExecutableCode"
/>
<rule
ref=
"Squiz.Strings.ConcatenationSpacing"
>
<properties>
<property
name=
"spacing"
value=
"1"
/>
<property
name=
"ignoreNewlines"
value=
"true"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.FunctionSpacing"
>
<properties>
<property
name=
"spacing"
value=
"1"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.LanguageConstructSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.OperatorSpacing"
>
<properties>
<property
name=
"ignoreNewlines"
value=
"true"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.ScopeKeywordSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.SemicolonSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.SuperfluousWhitespace"
/>
<rule
ref=
"Squiz.PHP.LowercasePHPFunctions"
/>
<rule
ref=
"Squiz.PHP.NonExecutableCode"
/>
<rule
ref=
"Squiz.Strings.ConcatenationSpacing"
>
<properties>
<property
name=
"spacing"
value=
"1"
/>
<property
name=
"ignoreNewlines"
value=
"true"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.FunctionSpacing"
>
<properties>
<property
name=
"spacing"
value=
"1"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.LanguageConstructSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.OperatorSpacing"
>
<properties>
<property
name=
"ignoreNewlines"
value=
"true"
/>
</properties>
</rule>
<rule
ref=
"Squiz.WhiteSpace.ScopeKeywordSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.SemicolonSpacing"
/>
<rule
ref=
"Squiz.WhiteSpace.SuperfluousWhitespace"
/>
<rule
ref=
"Zend.Files.ClosingTag"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<rule
ref=
"Zend.Files.ClosingTag"
>
<!-- Do not run this sniff on template files. -->
<exclude-pattern>
*.tpl.php
</exclude-pattern>
</rule>
<!-- Ignore various version control directories. -->
<exclude-pattern>
*/\.git/*
</exclude-pattern>
<exclude-pattern>
*/\.svn/*
</exclude-pattern>
<exclude-pattern>
*/\.hg/*
</exclude-pattern>
<exclude-pattern>
*/\.bzr/*
</exclude-pattern>
<!-- Ignore various version control directories. -->
<exclude-pattern>
*/\.git/*
</exclude-pattern>
<exclude-pattern>
*/\.svn/*
</exclude-pattern>
<exclude-pattern>
*/\.hg/*
</exclude-pattern>
<exclude-pattern>
*/\.bzr/*
</exclude-pattern>
<!-- Ignore minified CSS files.-->
<exclude-pattern>
*\.min\.css$
</exclude-pattern>
<!-- Ignore minified CSS files.-->
<exclude-pattern>
*\.min\.css$
</exclude-pattern>
</ruleset>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment