Releases: php-fig-rectified/psr2r-sniffer
Releases · php-fig-rectified/psr2r-sniffer
2.7.0
Improvements
- Fix up new code-sniffer dependency v0.5 compatibility. Adds 1 sniff, removed 1.
Notable change: Attributes are now handled like classes, so no FQCN inside, but normal use statements.
Full Changelog: 2.6.1...2.7.0
2.6.1
2.6.0
Improvements
- Cleaned up signatures.
- Added PSR2R.WhiteSpace.ArrayDeclarationSpacing sniff
- Added Squiz.WhiteSpace.ScopeClosingBrace sniff
Full Changelog: 2.5.0...2.6.0
2.5.0
Improvements
- Added Squiz.ControlStructures.ForLoopDeclaration sniff
- Improved PSR2R.ControlStructures.ControlStructureSpacing sniff
Full Changelog: 2.4.3...2.5.0
2.4.3
Fixes
- Fixed up UnneededElse sniff
2.4.2
Fixes
- Added missing if/else sniffs.
2.4.1
Fixes
- Fixed bug in UnneededElse.
2.4.0
Improvements
- Update sniffs to PHPCS v4
2.3.0
Improvements
This improvement ships with 14 new sniffs, many of them making array notation more consistent and reliable.
2.2.1
Improvements
- Removed deprecations