Releases: php-collective/code-sniffer
Releases · php-collective/code-sniffer
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
0.2.5
0.2.4
Fixes
Fixed DisallowCloakingCheckSniff for property false positive
0.2.3
Fixes
- Fixed DeclareStrictTypesSniff to check for whitespace around
=
- Reduced cloaking check strictness
- Fixed DisallowArrayTypeHintSyntaxSniff for method annotations
Improvements
- Added new
SlevomatCodingStandard.Functions.NamedArgumentSpacing
sniff - Added enum spacing sniffs
0.2.2
Fixes
- Fixed DeclareStrictTypes for $declareOnFirstLine, should also be false by default as per PSR
0.2.1
Fixes
- Dont use MIT as default overwrite for license docblocks
- Fixed up StrictType sniff to by default require at top, as per PSR. Renamed in the process (!)
0.2.0
Improvements
PHP 8.1+ now.
0.1.0
Initial upgraded release
Maintained successor of spryker/code-sniffer#369
It excludes all Spryker topics, so it can now focus fully on PHP projects in general.