Open roslov opened 9 months ago
Check these sniffs (3.5.0...3.9.2 including):
Generic.CodeAnalysis.EmptyPHPStatement
Generic.CodeAnalysis.EmptyStatement
Generic.CodeAnalysis.JumbledIncrementer
Generic.CodeAnalysis.UnnecessaryFinalModifier
Generic.CodeAnalysis.UnusedFunctionParameter
Generic.CodeAnalysis.UselessOverridingMethod
Generic.ControlStructures.DisallowYodaConditions
Generic.Files.EndFileNewline
Generic.Files.EndFileNoNewline
Generic.Files.ExecutableFile
Generic.Formatting.MultipleStatementAlignment
Generic.NamingConventions.InterfaceNameSuffix
Generic.NamingConventions.TraitNameSuffix
Generic.PHP.ClosingPHPTag
Generic.PHP.DisallowRequestSuperglobal
Generic.PHP.RequireStrictTypes
Generic.PHP.Syntax
Generic.VersionControl.GitMergeConflict
Generic.WhiteSpace.SpreadOperatorSpacingAfter
PEAR.Commenting.ClassComment
PEAR.Commenting.FileComment
PEAR.Commenting.FunctionComment
PEAR.ControlStructures.ControlSignature
PEAR.NamingConventions.ValidFunctionName
PSR1.Files.SideEffects
(check all subrules)PSR12.Classes.AnonClassDeclaration
PSR12.Classes.ClosingBrace
PSR12.ControlStructures.BooleanOperatorPlacement
PSR12.ControlStructures.ControlStructureSpacing
PSR12.Files.DeclareStatement
PSR12.Files.FileHeader
PSR12.Files.ImportStatement
PSR12.Files.OpenTag
PSR12.Functions.ReturnTypeDeclaration
PSR12.Properties.ConstantVisibility
PSR12.Traits.UseDeclaration
PSR2.Methods.FunctionCallSignature.SpaceBeforeCloseBracket
Squiz.Classes.ClassDeclaration
Squiz.Classes.LowercaseClassKeywords
Squiz.Commenting.BlockComment
Squiz.Commenting.ClassComment
Squiz.Commenting.DocCommentAlignment
Squiz.Commenting.FileComment
Squiz.Commenting.InlineComment
Squiz.Commenting.LongConditionClosingComment
Squiz.Commenting.PostStatementComment
Squiz.Commenting.VariableComment
Squiz.Formatting.OperatorBracket
Squiz.Objects.ObjectInstantiation
Squiz.PHP.DisallowMultipleAssignments
Squiz.PHP.EmbeddedPhp
Squiz.PHP.NonExecutableCode
Squiz.Scope.StaticThisUsage
Squiz.WhiteSpace.ControlStructureSpacing
Squiz.WhiteSpace.MemberVarSpacing
See in https://github.com/PHPCSStandards/PHP_CodeSniffer/releases