forked from opensalt/opensalt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpcs.xml.dist
58 lines (51 loc) · 3.45 KB
/
phpcs.xml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0"?>
<ruleset name="OpenSalt">
<description>Default coding standard for OpenSalt</description>
<config name="installed_paths" value="./vendor/escapestudios/symfony2-coding-standard" />
<rule ref="./vendor/escapestudios/symfony2-coding-standard/Symfony">
<exclude name="Symfony.Commenting.License.Warning"/>
<exclude name="Symfony.Commenting.Annotations.Invalid"/>
<exclude name="Symfony.Commenting.ClassComment.Missing"/>
<exclude name="Symfony.Commenting.FunctionComment.SpacingAfterParamType"/>
<exclude name="Symfony.Commenting.FunctionComment.Missing"/>
<exclude name="Symfony.Commenting.FunctionComment.MissingParamTag"/>
<exclude name="Symfony.Commenting.FunctionComment.MissingReturn"/>
<exclude name="Symfony.Commenting.FunctionComment.SpacingAfterParamName"/>
<exclude name="Zend.NamingConventions.ValidVariableName.NotCamelCaps"/>
<exclude name="Zend.NamingConventions.ValidVariableName.MemberVarNotCamelCaps"/>
<exclude name="Generic.Formatting.SpaceAfterCast.NoSpace"/>
<exclude name="Generic.PHP.LowerCaseConstant.Found"/>
<exclude name="Generic.WhiteSpace.ScopeIndent.Incorrect"/>
<exclude name="PEAR.Functions.FunctionCallSignature.Indent"/>
<exclude name="PEAR.WhiteSpace.ScopeClosingBrace.Line"/>
<exclude name="PSR1.Files.SideEffects.FoundWithSymbols"/>
<exclude name="PSR2.Classes.ClassDeclaration.CloseBraceAfterBody"/>
<exclude name="PSR2.Methods.FunctionClosingBrace.SpacingBeforeClose"/>
<exclude name="Squiz.ControlStructures.ControlSignature.NewlineAfterOpenBrace"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterCloseParenthesis"/>
<exclude name="Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword"/>
<exclude name="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceAfterArrow"/>
<exclude name="Squiz.ControlStructures.ForEachLoopDeclaration.NoSpaceBeforeArrow"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction"/>
<exclude name="Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterUse"/>
<exclude name="Squiz.Strings.ConcatenationSpacing.PaddingFound"/>
<exclude name="Squiz.WhiteSpace.ControlStructureSpacing.SpacingBeforeClose"/>
<exclude name="Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore"/>
<exclude name="Symfony.Arrays.MultiLineArrayComma.Invalid"/>
<exclude name="Symfony.Commenting.FunctionComment.ParamNameNoMatch"/>
<exclude name="Symfony.Commenting.FunctionComment.WrongStyle"/>
<exclude name="Symfony.ControlStructure.IdenticalComparison.Warning"/>
<exclude name="Symfony.ControlStructure.YodaConditions.Invalid"/>
<exclude name="Symfony.Errors.ExceptionMessage.Invalid"/>
<exclude name="Symfony.Formatting.BlankLineBeforeReturn.MissedBlankLineBeforeReturn"/>
<exclude name="Symfony.Functions.Arguments.Invalid"/>
<exclude name="Symfony.Functions.ScopeOrder.Invalid"/>
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidAbstractName"/>
<exclude name="Symfony.Whitespace.AssignmentSpacing.Invalid"/>
<exclude name="Symfony.Whitespace.BinaryOperatorSpacing.Invalid"/>
</rule>
<file>./src</file>
</ruleset>