NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #5095 most downloaded on Packagist
Code style and static analysis tools rulesets collection
Latest stable
v2.4.0
Last release 1 months ago
10 Oct 2026
Release timing varies
gaps range from 5 weeks to 1.6 years
Most releases are documented
notes for 17 of 20 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
20 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
migrate tests to Testo, require PHP 8.2
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix detected deprecations in use by @Sinersis in https://github.com/spiral/code-style/pull/13
Full Changelog: https://github.com/spiral/code-style/compare/v2.3.0...v2.3.1
Replaced php-cs-fixer with php-cs-fixer/shim
php-cs-fixer with php-cs-fixer/shimFull Changelog: https://github.com/spiral/code-style/compare/v2.2.2...v2.3.0
Fix excluding of files and dirs by @roxblnfk in https://github.com/spiral/code-style/pull/12
Full Changelog: https://github.com/spiral/code-style/compare/v2.2.1...v2.2.2
Fix PHP 8.4 deprecation related with nullable types in params by @SharkyKZ in https://github.com/spiral/code-style/pull/11
Full Changelog: https://github.com/spiral/code-style/compare/v2.2.0...v2.2.1
Added a few rules about cleaning phpdocs
remove_inheritdocFull Changelog: https://github.com/spiral/code-style/compare/v2.1.2...v2.2.0
Rules: fix attributes placement in methods method_argument_space.attribute_placement = ignore
Rules: fix attributes placement in methods
method_argument_space.attribute_placement = ignore
Full Changelog: https://github.com/spiral/code-style/compare/v2.1.1...v2.1.2
Fix: split risky and non-risky rules in the default ruleset
Fix: split risky and non-risky rules in the default ruleset
Full Changelog: https://github.com/spiral/code-style/compare/v2.1.0...v2.1.1
Add an ability to exclude files by @roxblnfk in https://github.com/spiral/code-style/pull/10
Full Changelog: https://github.com/spiral/code-style/compare/v2.0.0...v2.1.0
Added CS Fixer config builder with a preset based on PER-2
Full Changelog: https://github.com/spiral/code-style/compare/v1.1.0...v2.0.0
Added ability to ignore patch to check CS by @butschster in https://github.com/spiral/code-style/pull/4
Full Changelog: https://github.com/spiral/code-style/compare/v1.0.6...v1.1.0
Added -c flag for custom .custom_php_cs fixer's ruleset
-c flag for custom .custom_php_cs fixer's ruleset (#3)-r flag for custom phpcs.xml checker's ruleset (#3)Nothing published for this version
Upgrade php-cs-fixer dependency (allow ^3.0 version)
Nothing published for this version
bug fix in line ending iterator
minor refactor in line-ending fixer
Nothing published for this version
fixing CRLF line endings on Windows
created wrapper with preset rules for phpcs and php-cs-fixer
One column per quarter.