NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #1395 most downloaded on Packagist
CakePHP CodeSniffer Standards
Latest stable
5.3.2
Last release 3 months ago
14 Aug 2026
Ships unpredictably
gaps range from 9 days to 1.3 years
Most releases are documented
notes for 49 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
77 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Allow inline attributes for parameters by @ADmad in https://github.com/cakephp/cakephp-codesniffer/pull/436
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.3.1...5.3.2
[5.x] Fix conflict between TypeHintSniff and Slevomat null position sniff by @dereuromark in https://github.com/cakephp/cakephp-codesniffer/pull/429
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.3.0...5.3.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Potentially breaking change: If you get an error about missing sniffs, you should remove the installed_paths config from your phpcs config file.
Updated to use PHP_CodeSniffer 4.0.
Potentially breaking change: If you get an error about missing sniffs, you should remove the installed_paths config from your phpcs config file.
Full Changelog: 5.2.2...5.3.0
Updated to use PHP_CodeSniffer 4.0.
Potentially breaking change: If you get an error about missing sniffs, you should remove the installed_paths config from your phpcs config file.
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.2.2...5.3.0
fix error with change in slevomat/coding-standard 8.19.0 by @LordSimal in #416
Full Changelog: 5.2.1...5.2.2
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.2.1...5.2.2
Replace deprecated sniffs by @ADmad in #414
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.2.0...5.2.1
Add rule for trailing command in function call. by @ADmad in #398
Full Changelog: 5.1.4...5.2.0
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.4...5.2.0
fix error when phpdoc param has no type by @LordSimal in #403
Full Changelog: 5.1.3...5.1.4
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.3...5.1.4
add attribute rules by @LordSimal in #396
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.2...5.1.3
5.x dependencies update by @ADmad in #395
Full Changelog: 5.1.1...5.1.2
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.1...5.1.2
Update ruleset.xml by @swiffer in https://github.com/cakephp/cakephp-codesniffer/pull/381
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.1.0...5.1.1
Add sniff for unused variables. by @ADmad in https://github.com/cakephp/cakephp-codesniffer/pull/371
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.0.1...5.1.0
Add spacing check for arrow function closures. by @ADmad in https://github.com/cakephp/cakephp-codesniffer/pull/366
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/5.0.0...5.0.1
The 5.0 release will be used by cake 5 core and plugin packages. The primary changes involve type declarations and type hints for PHP 8.0+.
The 5.0 release will be used by cake 5 core and plugin packages. The primary changes involve type declarations and type hints for PHP 8.0+.
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.6.0...5.0.0
Micro-optimisation on array access by @ravage84 in #393
Full Changelog: 4.7.0...4.7.1
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.7.0...4.7.1
drop support for slevomat/coding-standard v6 by @swiffer in https://github.com/cakephp/cakephp-codesniffer/pull/385
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.6.0...4.7.0
Exclude migrations seed files by @nishimura-d in https://github.com/cakephp/cakephp-codesniffer/pull/356
Full Changelog: https://github.com/cakephp/cakephp-codesniffer/compare/4.5.1...4.6.0
## Changes - Cleaned up various sniffs - Cleaned up ruleset
Allow attribute between docblock and function. #327
Disable requiring $object::class explicitly so it isn't enabled by default on php 8.
$object::class explicitly so it isn't enabled by default on php 8.Update list of magic functions. #325
Bump up dependency versions. #324
Removed PSR-2 standard that was added before PSR-12 standard.
Removed PSR-2 standard that was added before PSR-12 standard.
The PSR-12 standard adds the appropriate PSR-2 sniffs.
Removed deprecated SlevomatCodingStandard.Classes.UnusedPrivateElements sniff.
SlevomatCodingStandard.Classes.UnusedPrivateElements sniff.Nothing published for this version
Removed CakePHP.Commenting.FunctionComment.InvalidReturn due to issues with compound types. Most of the functionality is already provided by SlevomatC
CakePHP.Commenting.FunctionComment.InvalidReturn due to issues with compound types. Most of the functionality is already provided by SlevomatCodingStandard.TypeHints.LongTypeHints.UsedLongTypeHint.Disabled the SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.MissingVariable rule as the other related rules were disabled in earlier re
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.Upgraded slevomat/coding-standard dependency
Allow {@inheritDoc} function comments to inherit @param and @return tags if none are specified.
{@inheritDoc} function comments to inherit @param and @return tags if none are specified.Disabled NoAssignment error from inline docblocks #281
Bump dependency slevomat/coding-standard to v6.
Bump dependency slevomat/coding-standard to v6.
Shiny new ruleset based off PSR-12 for CakePHP 4.0.
Shiny new ruleset based off PSR-12 for CakePHP 4.0.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Updated ruleset for PHP 7.1+ and CakePHP 4.0+.
Updated ruleset for PHP 7.1+ and CakePHP 4.0+.
The trailing comma sniff from the upcoming 4.x rules has been backported to make future upgrades and backports easier.
Fixed 3.2.0 by removing contradicting sniffs between PSR-2 and PSR-12.
use function was used.Fixed function return type detection when yield from is used.
yield from is used.Improved function spacing sniff fixer.
Fix notice errors in multiple empty line sniff fixer.
Dropped support for PHP 5.4 and 5.5
Fix declare() being incorrectly flagged by operator whitespace rules.
Switch to using the phpcs provided uppercase constant sniff to avoid phpcs 3.3+ fails.
Switch to using the phpcs provided uppercase constant sniff to avoid phpcs 3.3+ fails.
Update test harness to allow tests to be run with PHPCS 3.2.x
Update BlankLineBeforeReturnSniff to not complain about inline DocComment above return statment. #201
BlankLineBeforeReturnSniff to not complain about inline DocComment above return statment. #201Changed Composer package type to phpcodesniffer-standard
Upgrade to use squizlabs/php_codesniffer v3.
squizlabs/php_codesniffer v3.Add sniff for extraneous empty lines.
{@inheritDoc} tag is now case insensitive.Nothing published for this version
Nothing published for this version
Nothing published for this version
Disallow lines with whitespace on them.
Fix fixer support for BlankLineBeforeReturn sniff. (@ADmad)
BlankLineBeforeReturn sniff. (@ADmad)Fixer support for BlankLineBeforeReturnSniff. (@dakota)
BlankLineBeforeReturnSniff. (@dakota)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)
return statements that are not the only line inside a set of braces, or a case statement. (@ADmad)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.