Releases: cakephp/cakephp-codesniffer
Releases · cakephp/cakephp-codesniffer
CakePHP CodeSniffer 4.2.4
Changes
- Removed deprecated
SlevomatCodingStandard.Classes.UnusedPrivateElementssniff.
CakePHP CodeSniffer 4.2.3
- Allow running on PHP 8.
CakePHP CodeSniffer 4.2.2
Fixes
- Removed
CakePHP.Commenting.FunctionComment.InvalidReturndue to issues with compound types. Most of the functionality is already provided bySlevomatCodingStandard.TypeHints.LongTypeHints.UsedLongTypeHint.
CakePHP CodeSniffer 4.2.1
Fixes
- Disabled the
SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariablerule as the other related rules were disabled in earlier releases, and this rule being enabled prevents advanced static analyzer types from being used.
4.2.0
Improvements
- Added SingleQuoteSniff
- Upgraded slevomat/coding-standard dependency
4.1.1
Updates
- Allow
{@inheritDoc}function comments to inherit@paramand@returntags 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.