Releases: cakephp/cakephp-codesniffer
Releases · cakephp/cakephp-codesniffer
3.0.2
Fixed
- Update
BlankLineBeforeReturnSniff
to not complain about inline DocComment above return statment. #201
3.0.1
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
- Upgrade to use
squizlabs/php_codesniffer
v3.
2.4.0
- Add sniff for extraneous empty lines.
- Check for
{@inheritDoc}
tag is now case insensitive.
CakePHP CodeSniffer 2.1.3
- Disallow lines with whitespace on them.
2.1.2
- Fix fixer support for
BlankLineBeforeReturn
sniff. (@ADmad)
CakePHP CodeSniffer 2.1.1
- Fixer support for
BlankLineBeforeReturnSniff
. (@dakota)
CakePHP CodeSniffer 2.1.0
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
Merge pull request #153 from CVO-Technologies/yield-error
Resolve issue with yield and @return