Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Mar 29, 2024
1 parent 068308b commit 2534f75
Showing 1 changed file with 52 additions and 52 deletions.
104 changes: 52 additions & 52 deletions docs/sniffs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,53 @@ PEAR (3 sniffs)
- PEAR.Functions.ValidDefaultValue
- PEAR.NamingConventions.ValidClassName

PhpCollective (38 sniffs)
-------------------------
- PhpCollective.Classes.ClassFileName
- PhpCollective.Classes.MethodArgumentDefaultValue
- PhpCollective.Classes.MethodDeclaration
- PhpCollective.Classes.MethodTypeHint
- PhpCollective.Classes.PropertyDefaultValue
- PhpCollective.Classes.ReturnTypeHint
- PhpCollective.Classes.SelfAccessor
- PhpCollective.Commenting.Attributes
- PhpCollective.Commenting.DocBlockConst
- PhpCollective.Commenting.DocBlockConstructor
- PhpCollective.Commenting.DocBlockNoInlineAlignment
- PhpCollective.Commenting.DocBlockParamAllowDefaultValue
- PhpCollective.Commenting.DocBlockPipeSpacing
- PhpCollective.Commenting.DocBlockReturnNull
- PhpCollective.Commenting.DocBlockReturnNullableType
- PhpCollective.Commenting.DocBlockReturnTag
- PhpCollective.Commenting.DocBlockReturnVoid
- PhpCollective.Commenting.DocBlockStructure
- PhpCollective.Commenting.DocBlockTagOrder
- PhpCollective.Commenting.DocBlockTypeOrder
- PhpCollective.Commenting.DocBlockVar
- PhpCollective.Commenting.DocBlockVarNotJustNull
- PhpCollective.Commenting.FullyQualifiedClassNameInDocBlock
- PhpCollective.Commenting.InlineDocBlock
- PhpCollective.Commenting.TypeHint
- PhpCollective.ControlStructures.ConditionalExpressionOrder
- PhpCollective.ControlStructures.NoInlineAssignment
- PhpCollective.Formatting.ArrayDeclaration
- PhpCollective.PHP.NoIsNull
- PhpCollective.PHP.NotEqual
- PhpCollective.PHP.PhpSapiConstant
- PhpCollective.PHP.PreferCastOverFunction
- PhpCollective.PHP.RemoveFunctionAlias
- PhpCollective.PHP.ShortCast
- PhpCollective.WhiteSpace.CommaSpacing
- PhpCollective.WhiteSpace.ConcatenationSpacing
- PhpCollective.WhiteSpace.ImplicitCastSpacing
- PhpCollective.WhiteSpace.ObjectAttributeSpacing

PSR1 (3 sniffs)
---------------
- PSR1.Classes.ClassDeclaration
- PSR1.Files.SideEffects
- PSR1.Methods.CamelCapsMethodName

PSR12 (7 sniffs)
----------------
- PSR12.Classes.ClassInstantiation
- PSR12.Files.ImportStatement
- PSR12.Functions.NullableTypeDeclaration
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Keywords.ShortFormTypeKeywords
- PSR12.Namespaces.CompoundNamespaceDepth
- PSR12.Operators.OperatorSpacing

PSR2 (6 sniffs)
---------------
- PSR2.ControlStructures.ElseIfDeclaration
Expand Down Expand Up @@ -105,46 +136,15 @@ PSR2R (44 sniffs)
- PSR2R.WhiteSpace.TabIndent
- PSR2R.WhiteSpace.UnaryOperatorSpacing

PhpCollective (38 sniffs)
-------------------------
- PhpCollective.Classes.ClassFileName
- PhpCollective.Classes.MethodArgumentDefaultValue
- PhpCollective.Classes.MethodDeclaration
- PhpCollective.Classes.MethodTypeHint
- PhpCollective.Classes.PropertyDefaultValue
- PhpCollective.Classes.ReturnTypeHint
- PhpCollective.Classes.SelfAccessor
- PhpCollective.Commenting.Attributes
- PhpCollective.Commenting.DocBlockConst
- PhpCollective.Commenting.DocBlockConstructor
- PhpCollective.Commenting.DocBlockNoInlineAlignment
- PhpCollective.Commenting.DocBlockParamAllowDefaultValue
- PhpCollective.Commenting.DocBlockPipeSpacing
- PhpCollective.Commenting.DocBlockReturnNull
- PhpCollective.Commenting.DocBlockReturnNullableType
- PhpCollective.Commenting.DocBlockReturnTag
- PhpCollective.Commenting.DocBlockReturnVoid
- PhpCollective.Commenting.DocBlockStructure
- PhpCollective.Commenting.DocBlockTagOrder
- PhpCollective.Commenting.DocBlockTypeOrder
- PhpCollective.Commenting.DocBlockVar
- PhpCollective.Commenting.DocBlockVarNotJustNull
- PhpCollective.Commenting.FullyQualifiedClassNameInDocBlock
- PhpCollective.Commenting.InlineDocBlock
- PhpCollective.Commenting.TypeHint
- PhpCollective.ControlStructures.ConditionalExpressionOrder
- PhpCollective.ControlStructures.NoInlineAssignment
- PhpCollective.Formatting.ArrayDeclaration
- PhpCollective.PHP.NoIsNull
- PhpCollective.PHP.NotEqual
- PhpCollective.PHP.PhpSapiConstant
- PhpCollective.PHP.PreferCastOverFunction
- PhpCollective.PHP.RemoveFunctionAlias
- PhpCollective.PHP.ShortCast
- PhpCollective.WhiteSpace.CommaSpacing
- PhpCollective.WhiteSpace.ConcatenationSpacing
- PhpCollective.WhiteSpace.ImplicitCastSpacing
- PhpCollective.WhiteSpace.ObjectAttributeSpacing
PSR12 (7 sniffs)
----------------
- PSR12.Classes.ClassInstantiation
- PSR12.Files.ImportStatement
- PSR12.Functions.NullableTypeDeclaration
- PSR12.Functions.ReturnTypeDeclaration
- PSR12.Keywords.ShortFormTypeKeywords
- PSR12.Namespaces.CompoundNamespaceDepth
- PSR12.Operators.OperatorSpacing

SlevomatCodingStandard (45 sniffs)
----------------------------------
Expand Down Expand Up @@ -180,8 +180,8 @@ SlevomatCodingStandard (45 sniffs)
- SlevomatCodingStandard.Namespaces.UnusedUses
- SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash
- SlevomatCodingStandard.Namespaces.UseFromSameNamespace
- SlevomatCodingStandard.Namespaces.UseSpacing
- SlevomatCodingStandard.Namespaces.UselessAlias
- SlevomatCodingStandard.Namespaces.UseSpacing
- SlevomatCodingStandard.Operators.SpreadOperatorSpacing
- SlevomatCodingStandard.PHP.ShortList
- SlevomatCodingStandard.PHP.TypeCast
Expand Down Expand Up @@ -219,5 +219,5 @@ Squiz (21 sniffs)
- Squiz.WhiteSpace.SuperfluousWhitespace

Zend (1 sniff)
---------------
--------------
- Zend.Files.ClosingTag

0 comments on commit 2534f75

Please sign in to comment.