Releases: cakephp/cakephp-codesniffer
Releases · cakephp/cakephp-codesniffer
CakePHP CodeSniffer 4.4.2
Changes
- Disable requiring
$object::class
explicitly so it isn't enabled by default on php 8.
CakePHP CodeSniffer 4.4.1
- Update list of magic functions. #325
CakePHP CodeSniffer 4.4.0
- Bump up dependency versions. #324
CakePHP CodeSniffer 4.3.0
Changes
-
Removed PSR-2 standard that was added before PSR-12 standard.
The PSR-12 standard adds the appropriate PSR-2 sniffs.
CakePHP CodeSniffer 4.2.4
Changes
- Removed deprecated
SlevomatCodingStandard.Classes.UnusedPrivateElements
sniff.
CakePHP CodeSniffer 4.2.3
- Allow running on PHP 8.
CakePHP CodeSniffer 4.2.2
Fixes
- Removed
CakePHP.Commenting.FunctionComment.InvalidReturn
due 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.MissingVariable
rule 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@param
and@return
tags if none are specified. - Removed unused function tag comment sniffs.