Skip to content

Releases: cakephp/cakephp-codesniffer

CakePHP CodeSniffer 4.4.2

28 May 16:24
6ad8574
Compare
Choose a tag to compare

Changes

  • Disable requiring $object::class explicitly so it isn't enabled by default on php 8.

CakePHP CodeSniffer 4.4.1

21 May 20:15
4baf9c2
Compare
Choose a tag to compare
  • Update list of magic functions. #325

CakePHP CodeSniffer 4.4.0

23 Apr 20:45
d82426b
Compare
Choose a tag to compare
  • Bump up dependency versions. #324

CakePHP CodeSniffer 4.3.0

09 Apr 18:47
53babc2
Compare
Choose a tag to compare

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

04 Dec 17:45
c5bb1fa
Compare
Choose a tag to compare

Changes

  • Removed deprecated SlevomatCodingStandard.Classes.UnusedPrivateElements sniff.

CakePHP CodeSniffer 4.2.3

14 Oct 21:07
ea268e9
Compare
Choose a tag to compare
  • Allow running on PHP 8.

CakePHP CodeSniffer 4.2.2

20 Jul 16:19
5308726
Compare
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
Compare
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
Compare
Choose a tag to compare

Improvements

  • Added SingleQuoteSniff
  • Upgraded slevomat/coding-standard dependency

4.1.1

20 Apr 16:12
efde994
Compare
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.