Releases: cakephp/cakephp-codesniffer
Releases · cakephp/cakephp-codesniffer
4.1.1
Updates
- Allow
{@inheritDoc}
function comments to inherit@param
and@return
tags if none are specified. - Removed unused function tag comment sniffs.
4.1.0
Updates
- Disabled NoAssignment error from inline docblocks #281
- Add sniff to maintain new/empty line consistency in docblocks. #283
Added sniffs for {@inheritdoc} -> @inheritdoc and spelling warning #287
Fixes
4.0.1
CakePHP CodeSniffer 4.0.0
Shiny new ruleset based off PSR-12 for CakePHP 4.0.
CakePHP CodeSniffer 3.3.0
New Rules
- The trailing comma sniff from the upcoming 4.x rules has been backported to make future upgrades and backports easier.
CakePHP CodeSniffer 3.2.1
Bugfixes
- Fixed 3.2.0 by removing contradicting sniffs between PSR-2 and PSR-12.
- Fixed errors emitted by use ordering sniff when
use function
was used.
CakePHP CodeSniffer 4.0.0-beta5
Updated ruleset.
CakePHP CodeSniffer 3.2.0
- Fixed function return type detection when
yield from
is used. - Pulled in several applicable sniffs from PSR12.
CakePHP CodeSniffer 3.1.2
Fixes
- Improved function spacing sniff fixer.
- Improved version compatibility documentation.
- Fixed notice error in function comment sniff.
4.0.0-beta4
Updated ruleset.