Skip to content

Releases: acquia/coding-standards-php

v3.0.3

30 Oct 19:14
3ef01eb

Choose a tag to compare

What's Changed

Full Changelog: v3.0.2...v3.0.3

v3.0.2

10 Jul 20:05
ab1aa9b

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.0.2

v3.0.1

11 Jul 20:09
7315583

Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v3.0.0

10 Jul 21:16
ca05888

Choose a tag to compare

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

06 Mar 17:51
bb52b78

Choose a tag to compare

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: v1.1.0...v2.0.0

v1.1.0

03 Mar 22:53
92f87ec

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

22 Aug 14:36
4e1a775

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

12 May 15:09
81ded5b

Choose a tag to compare

What's Changed

This adds two new sniffs to the AcquiaPHP ruleset:

  • Add EndFileNewline #30
  • Disallow superglobal variables #28

Full Changelog: v0.9.0...v1.0.0

v0.9.0

11 May 20:15
b19cbfd

Choose a tag to compare

This is expected to be the terminal 0.x release. A 1.0.0 release is imminent.

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

14 Oct 20:27
614876e

Choose a tag to compare

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 the extensions 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:

  • Fix #9: Disallow superglobal variables (in AcquiaEdge standard) (#28)
  • Fix #18: Correct extensions not scanned, allow extensions to be overridden (#27)
  • Migrate internal tests to GitHub Actions (#26)
  • Add PHPCS exclude pattern warning to example phpcs.xml.dist (#25)