Releases: php-collective/code-sniffer
Releases · php-collective/code-sniffer
0.5.1
Fixes
- Preserve parameter order when inserting missing
@paramannotations - #44
Full Changelog: 0.5.0...0.5.1
0.5.0
Improvements
- Add support for multi-line array shape annotations by @dereuromark in #38
- Fix VariableWrong false positives for partial doc blocks by @dereuromark in #40
- Fix scope_opener error for abstract/interface methods by @dereuromark in #39
- Skip docblock requirement for constructors with fully typed parameters by @dereuromark in #41
- Fix param order when adding missing
@paramannotations by @dereuromark in #42 - Remove AttributesSniff to fix conflict with Slevomat ReferenceUsedNamesOnly by @dereuromark in #43
The attribute usage is now the same as class usage. This seems to make sense moving forward and to not clash with other sniffer packages - and triggers now the major.
Full Changelog: 0.4.6...0.5.0
0.4.6
Fixes
- Fixed use statement sniff regressions
Improvements
- Added ConsistentIndentSniff
0.4.5
Improvements
- Added auto fixing to FQCN attribute sniff.
0.4.4
Improvements
- Added PhpCollective.ControlStructures.ControlSignature sniff
Full Changelog: 0.4.3...0.4.4
0.4.3
0.4.2
Fixes
- Fix up do while loops.
0.4.1
Fixes
- Add missing sniff ControlStructureEmptyStatement
0.4.0
Improvements
- Use
"squizlabs/php_codesniffer": "^4.0.0"now.
0.3.1
Improvements
- Improved PhpCollective/Sniffs/Commenting/DocBlockParamSniff to handle
paramsbetter. Only require them once they are needed (missing type on a param or a random param defined already that cannot be removed).