Skip to content

Releases: cakephp/cakephp-codesniffer

CakePHP CodeSniffer 4.2.4

04 Dec 17:45
c5bb1fa

Choose a tag to compare

Changes

  • Removed deprecated SlevomatCodingStandard.Classes.UnusedPrivateElements sniff.

CakePHP CodeSniffer 4.2.3

14 Oct 21:07
ea268e9

Choose a tag to compare

  • Allow running on PHP 8.

CakePHP CodeSniffer 4.2.2

20 Jul 16:19
5308726

Choose a tag to compare

Fixes

  • Removed CakePHP.Commenting.FunctionComment.InvalidReturn due to issues with compound types. Most of the functionality is already provided by SlevomatCodingStandard.TypeHints.LongTypeHints.UsedLongTypeHint.

CakePHP CodeSniffer 4.2.1

17 Jul 01:29
8f153ce

Choose a tag to compare

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

24 May 12:40
5b1abc4

Choose a tag to compare

Improvements

  • Added SingleQuoteSniff
  • Upgraded slevomat/coding-standard dependency

4.1.1

20 Apr 16:12
efde994

Choose a tag to compare

Updates

  • Allow {@inheritDoc} function comments to inherit @param and @return tags if none are specified.
  • Removed unused function tag comment sniffs.

4.1.0

05 Apr 17:50
a809170

Choose a tag to compare

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

  • Fix check for empty comment for @throws tag. #290
  • Clamp down Slevomat CS to <6.2. #291

4.0.1

18 Jan 08:47
637e424

Choose a tag to compare

Bump dependency slevomat/coding-standard to v6.

CakePHP CodeSniffer 4.0.0

16 Dec 11:09

Choose a tag to compare

Shiny new ruleset based off PSR-12 for CakePHP 4.0.

CakePHP CodeSniffer 3.3.0

07 Dec 03:04
7998a19

Choose a tag to compare

New Rules

  • The trailing comma sniff from the upcoming 4.x rules has been backported to make future upgrades and backports easier.