Releases: acquia/coding-standards-php
Releases · acquia/coding-standards-php
v3.0.1
What's Changed
- Apply indentation to array contents by @danepowell in #71
Full Changelog: v3.0.0...v3.0.1
v3.0.0
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:
- AcquiaDrupalMinimal is based on the Drupal coding standard and is intended for use on all public Drupal projects.
- AcquiaDrupalStrict is based on AcquiaDrupal and adds the more opinionated DrupalPractice standard. It is intended for use on all internal Drupal projects.
- AcquiaPHPMinimal is based on PSR-12 and is intended for use on all public non-Drupal projects.
- AcquiaPHPStrict is based on AcquiaPHP and adds additional, more opinionated standards. It is intended for use on all internal, non-Drupal projects.
v2.0.0
Major releases of coding standards add new rules to the AcquiaPHP standard. See the following PRs for a full list of new rules:
- Operator spacing sniff by @danepowell in #56
- Prepare for 2.0 release (breaking changes) by @danepowell in #58
Full Changelog: v1.1.0...v2.0.0
v1.1.0
What's Changed
- Update composer script to correct install path by @fiasco in #50
- Add "static analysis" Composer keyword by @GaryJones in #51
- ORCA-411: Enable D10 Jobs by @secretsayan in #52
- ORCA-488: D10 readiness by @secretsayan in #53
- Point to latest orca version by @secretsayan in #54
- Add strict typehinting to edge by @danepowell in #55
New Contributors
- @fiasco made their first contribution in #50
- @GaryJones made their first contribution in #51
- @secretsayan made their first contribution in #52
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Add UnusedUseStatement sniff by @danepowell in #42
- Add PHP 8.1 tests by @danepowell in #43
- Add Drupal.ControlStructures.ControlSignature to AcquiaPHP by @danepowell in #44
- Add PSR-12 sniffs by @danepowell in #45
- Fix dependencies for PHP 7.4 compatibility and update drupal/coder by @TravisCarden in #47
Full Changelog: v1.0.0...v1.0.1
v1.0.0
v0.9.0
This is expected to be the terminal 0.x release. A 1.0.0 release is imminent.
What's Changed
- [AcquiaEdge] Add EndFileNewline by @danepowell in #30
- Exclude dev assets from releases by @danepowell in #32
- Update minimum PHP version for PHPCompatibility sniff to 7.4 by @TravisCarden in #37
- Trust phpcodesniffer-composer-installer by @danepowell in #40
Full Changelog: v0.8.0...v0.9.0
v0.8.0
There are two major changes in this release:
- Action required: The coding standards no longer specify which extensions to scan (#27). You must specify the extensions to scan yourself via the PHPCS
--extensions
parameter or theextensions
tag in phpcs.xml. - A new coding standard,
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: