github slevomat/coding-standard 6.3.11

latest releases: 8.15.0, 8.14.1, 8.14.0...
3 years ago

📣 You can now sponsor Slevomat Coding Standard development

Fixes

  • UselessVariableSniff: Fixed false positive
  • TraitUseSpacingSniff: Fix for uses with comments
  • UselessParenthesesSniff: Fixed false positive
  • RequireExplicitAssertionSniff: Fixed fixer
  • DisallowArrayTypeHintSyntaxSniff: Fixed internal error
  • ParentCallSpacingSniff: Fixed false positives
  • DisallowCommentAfterCodeSniff: Fixed internal error
  • PropertySpacingSniff: Fixed internal error
  • PropertySpacingSniff: Fixed false positive
  • ConstantSpacingSniff: Fixed false positive
  • RequireTernaryOperatorSniff: Prevent introducing logic errors (thanks to @Khartir)
  • ScopeHelper: Fixed internal error

Improvements

  • Added @phpstan-throws support

⚠️Deprecated

  • UnusedPrivateElementsSniff: Mark as deprecated

Don't miss a new coding-standard release

NewReleases is sending notifications on new releases.