Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check new sniffs from CodeSniffer >= v3.5.0 #29

Open
roslov opened this issue Jan 12, 2024 · 1 comment
Open

Check new sniffs from CodeSniffer >= v3.5.0 #29

roslov opened this issue Jan 12, 2024 · 1 comment
Labels
future release This should be checked later

Comments

@roslov
Copy link
Owner

roslov commented Jan 12, 2024

See in https://github.com/PHPCSStandards/PHP_CodeSniffer/releases

@roslov roslov added the future release This should be checked later label Jan 12, 2024
@roslov
Copy link
Owner Author

roslov commented May 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future release This should be checked later
Projects
None yet
Development

No branches or pull requests

1 participant