Skip to content

Releases: cakephp/cakephp-codesniffer

CakePHP CodeSniffer 1.0.4

04 Jul 15:27
0f3559a

Choose a tag to compare

  • Fix return typehints being interpreted as constants.

CakePHP codesniffer 3.0.5

09 Jun 16:06
7f467fe

Choose a tag to compare

  • Fix declare() being incorrectly flagged by operator whitespace rules.

3.0.4

08 Jun 13:19
d6018c8

Choose a tag to compare

Fixes

Switch to using the phpcs provided uppercase constant sniff to avoid phpcs 3.3+ fails.

CakePHP CodeSniffer 1.0.3

08 Jun 17:43

Choose a tag to compare

  • Fix return typehints being interpreted as constants.

3.0.3

15 Mar 18:40
3.0.3
d77ac81

Choose a tag to compare

CakePHP CodeSniffer 3.0.3

Fixes

  • Update test harness to allow tests to be run with PHPCS 3.2.x

3.0.2

12 Dec 19:33
4d13930

Choose a tag to compare

Fixed

  • Update BlankLineBeforeReturnSniff to not complain about inline DocComment above return statment. #201

3.0.1

03 Sep 16:11
3.0.1

Choose a tag to compare

CakePHP CodeSniffer 3.0.1

Fixed

  • Changed Composer package type to phpcodesniffer-standard
  • Prevent false-positive sniff when using "function() use (...)"
  • Fixed inline type comments causing alignment errors.

Added

  • Added a fixer for inline type comment alignment.

3.0.0

07 May 18:22

Choose a tag to compare

  • Upgrade to use squizlabs/php_codesniffer v3.

2.4.0

09 Mar 12:49

Choose a tag to compare

  • Add sniff for extraneous empty lines.
  • Check for {@inheritDoc} tag is now case insensitive.

1.0.2

21 Dec 21:43

Choose a tag to compare

Clarify error message