Releases: php-collective/code-sniffer
Releases · php-collective/code-sniffer
0.2.15
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
0.2.6
Improvements
- Added PSR4 namespace check for classes, traits, interfaces. It uses the composer autoload sections to compare this to the namespaces defined in each PHP class.
Full Changelog: 0.2.5...0.2.6