Releases: php-collective/code-sniffer
Releases · php-collective/code-sniffer
0.2.16
0.2.15
Fixes
- Removed more deprecation usage.
0.2.14
Fixes
- Fixed up deprecation
0.2.13
Fixes
- Fixed DocBlockThrow sniff
0.2.12
Improvements
- Activate all relevant trailing comma sniffs as per https://www.php-fig.org/per/coding-style/#26-trailing-commas
Also added
- SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing
- SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment
- SlevomatCodingStandard.ControlStructures.LanguageConstructWithParentheses
- Squiz.PHP.DisallowSizeFunctionsInLoops
Support for Slevomat V8.16 included.
0.2.11
Fixes
- Fixed property replacement to FQCN for FullyQualifiedClassNameInDocBlock sniff
0.2.10
Fixes
- Fixed DocBlockParamAllowDefaultValueSniff for PHP 8 language features
0.2.9
Fixes
- Removed debugging statement.
0.2.8
Fixes
- Fixed array collection to generics transformation in
@property
annotations.
Improvements
- Added sniff
PhpCollective.Commenting.DisallowShorthandNullableTypeHint
to replace Nullable ? in docblocks with |null verbosely.
Full Changelog: 0.2.7...0.2.8
0.2.7
Improvements
- Added missing SlevomatCodingStandard.Arrays.ArrayAccess sniff