NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3104 most downloaded on Packagist
PHP_CodeSniffer rules (sniffs) for Acquia coding standards
Latest stable
v3.0.4
Last release 6 months ago
08 May 2026
Ships fairly regularly
a new release about every 6 months
Most releases are documented
notes for 19 of 22 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
22 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
This is the final release with 3.x as the current major version. Update to 4.x for future updates.
This is the final release with 3.x as the current major version. Update to 4.x for future updates.
No functional changes--all internal updates.
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v3.0.3...v3.0.4
Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/acquia/coding-standards-php/pull/87
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v3.0.2...v3.0.3
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Update ruleset.xml to fix deprecated warnings by @joshirohit100 in https://github.com/acquia/coding-standards-php/pull/84
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v3.0.1...v3.0.2
Apply indentation to array contents by @danepowell in https://github.com/acquia/coding-standards-php/pull/71
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v3.0.0...v3.0.1
This major release replaces the existing rulesets with four rulesets designed to better align with PHP and Drupal community standards, as described in
This major release replaces the existing rulesets with four rulesets designed to better align with PHP and Drupal community standards, as described in the README:
Prepare for 2.0 release (breaking changes) by @danepowell in https://github.com/acquia/coding-standards-php/pull/58
Major releases of coding standards add new rules to the AcquiaPHP standard. See the following PRs for a full list of new rules:
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v1.1.0...v2.0.0
Update composer script to correct install path by @fiasco in https://github.com/acquia/coding-standards-php/pull/50
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v1.0.1...v1.1.0
Add UnusedUseStatement sniff by @danepowell in https://github.com/acquia/coding-standards-php/pull/42
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v1.0.0...v1.0.1
This adds two new sniffs to the AcquiaPHP ruleset:
This adds two new sniffs to the AcquiaPHP ruleset:
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v0.9.0...v1.0.0
This is expected to be the terminal 0.x release. A 1.0.0 release is imminent.
This is expected to be the terminal 0.x release. A 1.0.0 release is imminent.
Full Changelog: https://github.com/acquia/coding-standards-php/compare/v0.8.0...v0.9.0
There are two major changes in this release:
There are two major changes in this release:
--extensions parameter or the extensions tag in phpcs.xml.AcquiaEdge, has been added. This contains new coding standards that will likely fail on existing projects, and will be incorporated into the one of the other standards as part of the next major release.All changes:
Update slevomat/coding-standard for PHP 8 compatibility.
Nothing published for this version
Maintenance release. No user-facing changes.
Maintenance release. No user-facing changes.
Add additional PhpStorm setup instructions and examples (#5, #11)
Excluded JavaScript files as Coder module has removed support for them upstream.
Explicitly set file extensions to scan in example configuration (#7) Note: This compensates for an upstream change that may result in files with certa
Security.BadFunctions.Asserts sniff (#8)Fixed AcquiaDrupalStrict does not sniff install files
Added SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses sniff to "check whether uses at the top of a file are alphabetically sorted. Follows
SlevomatCodingStandard.Namespaces.AlphabeticallySortedUses sniff to "check whether uses at the top of a file are alphabetically sorted. Follows natural sorting and takes edge cases with special symbols into consideration."Excluded Drupal.Commenting.VariableComment.Missing sniff in tests directory (tests/*).
tests/*).PHPCS_SecurityAudit.BadFunctions.CallbackFunctions.WarnCallbackFunctions from pheromone/phpcs-security-audit.Nothing published for this version
Nothing published for this version
One column per quarter.