Skip to content

Commit 2534f75

Browse files
committed
Docs
1 parent 068308b commit 2534f75

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

docs/sniffs.md

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,53 @@ PEAR (3 sniffs)
3333
- PEAR.Functions.ValidDefaultValue
3434
- PEAR.NamingConventions.ValidClassName
3535

36+
PhpCollective (38 sniffs)
37+
-------------------------
38+
- PhpCollective.Classes.ClassFileName
39+
- PhpCollective.Classes.MethodArgumentDefaultValue
40+
- PhpCollective.Classes.MethodDeclaration
41+
- PhpCollective.Classes.MethodTypeHint
42+
- PhpCollective.Classes.PropertyDefaultValue
43+
- PhpCollective.Classes.ReturnTypeHint
44+
- PhpCollective.Classes.SelfAccessor
45+
- PhpCollective.Commenting.Attributes
46+
- PhpCollective.Commenting.DocBlockConst
47+
- PhpCollective.Commenting.DocBlockConstructor
48+
- PhpCollective.Commenting.DocBlockNoInlineAlignment
49+
- PhpCollective.Commenting.DocBlockParamAllowDefaultValue
50+
- PhpCollective.Commenting.DocBlockPipeSpacing
51+
- PhpCollective.Commenting.DocBlockReturnNull
52+
- PhpCollective.Commenting.DocBlockReturnNullableType
53+
- PhpCollective.Commenting.DocBlockReturnTag
54+
- PhpCollective.Commenting.DocBlockReturnVoid
55+
- PhpCollective.Commenting.DocBlockStructure
56+
- PhpCollective.Commenting.DocBlockTagOrder
57+
- PhpCollective.Commenting.DocBlockTypeOrder
58+
- PhpCollective.Commenting.DocBlockVar
59+
- PhpCollective.Commenting.DocBlockVarNotJustNull
60+
- PhpCollective.Commenting.FullyQualifiedClassNameInDocBlock
61+
- PhpCollective.Commenting.InlineDocBlock
62+
- PhpCollective.Commenting.TypeHint
63+
- PhpCollective.ControlStructures.ConditionalExpressionOrder
64+
- PhpCollective.ControlStructures.NoInlineAssignment
65+
- PhpCollective.Formatting.ArrayDeclaration
66+
- PhpCollective.PHP.NoIsNull
67+
- PhpCollective.PHP.NotEqual
68+
- PhpCollective.PHP.PhpSapiConstant
69+
- PhpCollective.PHP.PreferCastOverFunction
70+
- PhpCollective.PHP.RemoveFunctionAlias
71+
- PhpCollective.PHP.ShortCast
72+
- PhpCollective.WhiteSpace.CommaSpacing
73+
- PhpCollective.WhiteSpace.ConcatenationSpacing
74+
- PhpCollective.WhiteSpace.ImplicitCastSpacing
75+
- PhpCollective.WhiteSpace.ObjectAttributeSpacing
76+
3677
PSR1 (3 sniffs)
3778
---------------
3879
- PSR1.Classes.ClassDeclaration
3980
- PSR1.Files.SideEffects
4081
- PSR1.Methods.CamelCapsMethodName
4182

42-
PSR12 (7 sniffs)
43-
----------------
44-
- PSR12.Classes.ClassInstantiation
45-
- PSR12.Files.ImportStatement
46-
- PSR12.Functions.NullableTypeDeclaration
47-
- PSR12.Functions.ReturnTypeDeclaration
48-
- PSR12.Keywords.ShortFormTypeKeywords
49-
- PSR12.Namespaces.CompoundNamespaceDepth
50-
- PSR12.Operators.OperatorSpacing
51-
5283
PSR2 (6 sniffs)
5384
---------------
5485
- PSR2.ControlStructures.ElseIfDeclaration
@@ -105,46 +136,15 @@ PSR2R (44 sniffs)
105136
- PSR2R.WhiteSpace.TabIndent
106137
- PSR2R.WhiteSpace.UnaryOperatorSpacing
107138

108-
PhpCollective (38 sniffs)
109-
-------------------------
110-
- PhpCollective.Classes.ClassFileName
111-
- PhpCollective.Classes.MethodArgumentDefaultValue
112-
- PhpCollective.Classes.MethodDeclaration
113-
- PhpCollective.Classes.MethodTypeHint
114-
- PhpCollective.Classes.PropertyDefaultValue
115-
- PhpCollective.Classes.ReturnTypeHint
116-
- PhpCollective.Classes.SelfAccessor
117-
- PhpCollective.Commenting.Attributes
118-
- PhpCollective.Commenting.DocBlockConst
119-
- PhpCollective.Commenting.DocBlockConstructor
120-
- PhpCollective.Commenting.DocBlockNoInlineAlignment
121-
- PhpCollective.Commenting.DocBlockParamAllowDefaultValue
122-
- PhpCollective.Commenting.DocBlockPipeSpacing
123-
- PhpCollective.Commenting.DocBlockReturnNull
124-
- PhpCollective.Commenting.DocBlockReturnNullableType
125-
- PhpCollective.Commenting.DocBlockReturnTag
126-
- PhpCollective.Commenting.DocBlockReturnVoid
127-
- PhpCollective.Commenting.DocBlockStructure
128-
- PhpCollective.Commenting.DocBlockTagOrder
129-
- PhpCollective.Commenting.DocBlockTypeOrder
130-
- PhpCollective.Commenting.DocBlockVar
131-
- PhpCollective.Commenting.DocBlockVarNotJustNull
132-
- PhpCollective.Commenting.FullyQualifiedClassNameInDocBlock
133-
- PhpCollective.Commenting.InlineDocBlock
134-
- PhpCollective.Commenting.TypeHint
135-
- PhpCollective.ControlStructures.ConditionalExpressionOrder
136-
- PhpCollective.ControlStructures.NoInlineAssignment
137-
- PhpCollective.Formatting.ArrayDeclaration
138-
- PhpCollective.PHP.NoIsNull
139-
- PhpCollective.PHP.NotEqual
140-
- PhpCollective.PHP.PhpSapiConstant
141-
- PhpCollective.PHP.PreferCastOverFunction
142-
- PhpCollective.PHP.RemoveFunctionAlias
143-
- PhpCollective.PHP.ShortCast
144-
- PhpCollective.WhiteSpace.CommaSpacing
145-
- PhpCollective.WhiteSpace.ConcatenationSpacing
146-
- PhpCollective.WhiteSpace.ImplicitCastSpacing
147-
- PhpCollective.WhiteSpace.ObjectAttributeSpacing
139+
PSR12 (7 sniffs)
140+
----------------
141+
- PSR12.Classes.ClassInstantiation
142+
- PSR12.Files.ImportStatement
143+
- PSR12.Functions.NullableTypeDeclaration
144+
- PSR12.Functions.ReturnTypeDeclaration
145+
- PSR12.Keywords.ShortFormTypeKeywords
146+
- PSR12.Namespaces.CompoundNamespaceDepth
147+
- PSR12.Operators.OperatorSpacing
148148

149149
SlevomatCodingStandard (45 sniffs)
150150
----------------------------------
@@ -180,8 +180,8 @@ SlevomatCodingStandard (45 sniffs)
180180
- SlevomatCodingStandard.Namespaces.UnusedUses
181181
- SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash
182182
- SlevomatCodingStandard.Namespaces.UseFromSameNamespace
183-
- SlevomatCodingStandard.Namespaces.UseSpacing
184183
- SlevomatCodingStandard.Namespaces.UselessAlias
184+
- SlevomatCodingStandard.Namespaces.UseSpacing
185185
- SlevomatCodingStandard.Operators.SpreadOperatorSpacing
186186
- SlevomatCodingStandard.PHP.ShortList
187187
- SlevomatCodingStandard.PHP.TypeCast
@@ -219,5 +219,5 @@ Squiz (21 sniffs)
219219
- Squiz.WhiteSpace.SuperfluousWhitespace
220220

221221
Zend (1 sniff)
222-
---------------
222+
--------------
223223
- Zend.Files.ClosingTag

0 commit comments

Comments
 (0)