|
1 | 1 | <?xml version="1.0"?> |
2 | 2 | <ruleset name="Intervention"> |
3 | | - <file>src/</file> |
4 | | - <file>tests/</file> |
5 | | - <arg name="colors"/> |
6 | | - <arg value="p"/> |
| 3 | + <file>src/</file> |
| 4 | + <file>tests/</file> |
| 5 | + <arg name="colors"/> |
| 6 | + <arg value="p"/> |
7 | 7 |
|
8 | | - <rule ref="PSR12"/> |
9 | | - <rule ref="Generic.Arrays.ArrayIndent"/> |
10 | | - <rule ref="Generic.ControlStructures.InlineControlStructure"/> |
11 | | - <rule ref="Generic.Formatting.SpaceAfterCast"/> |
12 | | - <rule ref="Generic.Formatting.SpaceAfterNot"> |
13 | | - <properties> |
14 | | - <property name="spacing" value="0" /> |
15 | | - </properties> |
16 | | - </rule> |
17 | | - <rule ref="Generic.Metrics.NestingLevel"/> |
18 | | - <rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/> |
19 | | - <rule ref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation"/> |
20 | | - <rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/> |
21 | | - <rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/> |
22 | | - <rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/> |
23 | | - <rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/> |
24 | | - <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/> |
25 | | - <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/> |
26 | | - <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/> |
27 | | - <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> |
28 | | - <rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/> |
29 | | - <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"> |
30 | | - <properties> |
31 | | - <property name="rootNamespaces" type="array"> |
32 | | - <element key="src" value="Intervention\HttpAuth"/> |
33 | | - <element key="tests" value="Intervention\HttpAuth\Tests"/> |
34 | | - </property> |
35 | | - </properties> |
36 | | - </rule> |
37 | | - <rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/> |
38 | | - <rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/> |
39 | | - <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"> |
40 | | - <properties> |
41 | | - <property name="searchAnnotations" value="true" /> |
42 | | - </properties> |
43 | | - </rule> |
44 | | - <rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/> |
45 | | - <rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace"/> |
46 | | - <rule ref="SlevomatCodingStandard.Namespaces.UseSpacing"/> |
47 | | - <rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/> |
48 | | - <rule ref="SlevomatCodingStandard.Strings.DisallowVariableParsing"/> |
49 | | - <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> |
50 | | - <properties> |
51 | | - <property name="spacesCountAroundEqualsSign" value="0" /> |
52 | | - </properties> |
53 | | - </rule> |
54 | | - <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/> |
55 | | - <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/> |
56 | | - <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/> |
57 | | - <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/> |
58 | | - <rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat"> |
59 | | - <properties> |
60 | | - <property name="withSpacesAroundOperators" value="no" /> |
61 | | - <property name="nullPosition" value="first" /> |
62 | | - </properties> |
63 | | - </rule> |
64 | | - <rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/> |
65 | | - <rule ref="SlevomatCodingStandard.Whitespaces.DuplicateSpaces"/> |
66 | | - <rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/> |
67 | | - <rule ref="SlevomatCodingStandard.Variables.UselessVariable"/> |
| 8 | + <rule ref="PSR12"/> |
| 9 | + <rule ref="Generic.Arrays.ArrayIndent"/> |
| 10 | + <rule ref="Generic.ControlStructures.InlineControlStructure"/> |
| 11 | + <rule ref="Generic.Formatting.SpaceAfterCast"/> |
| 12 | + <rule ref="Generic.Formatting.SpaceAfterNot"> |
| 13 | + <properties> |
| 14 | + <property name="spacing" value="0" /> |
| 15 | + </properties> |
| 16 | + </rule> |
| 17 | + <rule ref="Generic.Metrics.NestingLevel"/> |
| 18 | + <rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/> |
| 19 | + <rule ref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation"/> |
| 20 | + <rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/> |
| 21 | + <rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/> |
| 22 | + <rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/> |
| 23 | + <rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/> |
| 24 | + <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/> |
| 25 | + <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/> |
| 26 | + <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/> |
| 27 | + <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> |
| 28 | + <rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/> |
| 29 | + <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"> |
| 30 | + <properties> |
| 31 | + <property name="rootNamespaces" type="array"> |
| 32 | + <element key="src" value="Intervention\HttpAuth"/> |
| 33 | + <element key="tests" value="Intervention\HttpAuth\Tests"/> |
| 34 | + </property> |
| 35 | + </properties> |
| 36 | + </rule> |
| 37 | + <rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/> |
| 38 | + <rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/> |
| 39 | + <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"> |
| 40 | + <properties> |
| 41 | + <property name="searchAnnotations" value="true" /> |
| 42 | + </properties> |
| 43 | + </rule> |
| 44 | + <rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/> |
| 45 | + <rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace"/> |
| 46 | + <rule ref="SlevomatCodingStandard.Namespaces.UseSpacing"/> |
| 47 | + <rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/> |
| 48 | + <rule ref="SlevomatCodingStandard.Strings.DisallowVariableParsing"/> |
| 49 | + <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> |
| 50 | + <properties> |
| 51 | + <property name="spacesCountAroundEqualsSign" value="0" /> |
| 52 | + </properties> |
| 53 | + </rule> |
| 54 | + <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/> |
| 55 | + <rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/> |
| 56 | + <rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/> |
| 57 | + <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/> |
| 58 | + <rule ref="SlevomatCodingStandard.TypeHints.DNFTypeHintFormat"> |
| 59 | + <properties> |
| 60 | + <property name="withSpacesAroundOperators" value="no" /> |
| 61 | + <property name="nullPosition" value="first" /> |
| 62 | + </properties> |
| 63 | + </rule> |
| 64 | + <rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/> |
| 65 | + <rule ref="SlevomatCodingStandard.Whitespaces.DuplicateSpaces"/> |
| 66 | + <rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/> |
| 67 | + <rule ref="SlevomatCodingStandard.Variables.UselessVariable"/> |
| 68 | + <rule ref="SlevomatCodingStandard.Commenting.DocCommentSpacing"> |
| 69 | + <properties> |
| 70 | + <property name="linesCountBeforeFirstContent" value="0"/> |
| 71 | + <property name="linesCountAfterLastContent" value="0"/> |
| 72 | + <property name="linesCountBetweenDescriptionAndAnnotations" value="1"/> |
| 73 | + <property name="linesCountBetweenAnnotationsGroups" value="1"/> |
| 74 | + <property name="annotationsGroups" type="array"> |
| 75 | + <element value=" |
| 76 | + @ORM\, |
| 77 | + @ODM\, |
| 78 | + "/> |
| 79 | + <element value=" |
| 80 | + @link, |
| 81 | + @internal, |
| 82 | + @deprecated, |
| 83 | + @see, |
| 84 | + @uses, |
| 85 | + "/> |
| 86 | + <element value=" |
| 87 | + @param, |
| 88 | + @throws, |
| 89 | + @return, |
| 90 | + "/> |
| 91 | + </property> |
| 92 | + </properties> |
| 93 | + </rule> |
68 | 94 | </ruleset> |
0 commit comments