Skip to content

Releases: cakephp/cakephp-codesniffer

3.0.1

03 Sep 16:11
3.0.1
Compare
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
Compare
Choose a tag to compare
  • Upgrade to use squizlabs/php_codesniffer v3.

2.4.0

09 Mar 12:49
Compare
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
Compare
Choose a tag to compare

Clarify error message

CakePHP CodeSniffer 2.1.3

02 Sep 01:04
2.1.3
Compare
Choose a tag to compare
  • Disallow lines with whitespace on them.

2.1.2

19 Aug 21:36
Compare
Choose a tag to compare
  • Fix fixer support for BlankLineBeforeReturn sniff. (@ADmad)

CakePHP CodeSniffer 2.1.1

19 Aug 18:53
Compare
Choose a tag to compare
  • Fixer support for BlankLineBeforeReturnSniff. (@dakota)

CakePHP CodeSniffer 2.1.0

14 Jul 02:54
2.1.0
Compare
Choose a tag to compare

New Rules

  • There must now be a blank line before return statements that are not the only line inside a set of braces, or a case statement. (@ADmad)

2.0.7

18 May 11:36
Compare
Choose a tag to compare
Merge pull request #153 from CVO-Technologies/yield-error

Resolve issue with yield and @return

CakePHP CodeSniffer 2.0.0

12 Mar 01:54
2.0.0
Compare
Choose a tag to compare

This release is a backwards incompatible release from the 1.x series. The rules in this ruleset are PSR-2 compatible and include additional whitespace, documentation and naming conventions sniffs in use by CakePHP.
This ruleset is for CakePHP 3.0+.