📣 You can now sponsor Slevomat Coding Standard development
Fixes
UselessVariableSniff
: Fixed false positiveTraitUseSpacingSniff
: Fix for uses with commentsUselessParenthesesSniff
: Fixed false positiveRequireExplicitAssertionSniff
: Fixed fixerDisallowArrayTypeHintSyntaxSniff
: Fixed internal errorParentCallSpacingSniff
: Fixed false positivesDisallowCommentAfterCodeSniff
: Fixed internal errorPropertySpacingSniff
: Fixed internal errorPropertySpacingSniff
: Fixed false positiveConstantSpacingSniff
: Fixed false positiveRequireTernaryOperatorSniff
: Prevent introducing logic errors (thanks to @Khartir)ScopeHelper
: Fixed internal error
Improvements
- Added
@phpstan-throws
support
⚠️Deprecated
UnusedPrivateElementsSniff
: Mark as deprecated