Skip to content

Releases: acquia/coding-standards-php

v3.0.1

11 Jul 20:09
7315583
Compare
Choose a tag to compare

What's Changed

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

v3.0.0

10 Jul 21:16
ca05888
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

What's Changed

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

v1.0.0

12 May 15:09
81ded5b
Compare
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
Compare
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
Compare
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)

v0.7.0

14 Jun 18:47
4e34786
Compare
Choose a tag to compare
  • Update slevomat/coding-standard for PHP 8 compatibility. (#24)
  • Retire PHP 7.1 compatibility (#23)
  • Update Composer libraries. (#22)
  • Exclude PHPCompatibility.Extensions.RemovedExtensions.famRemoved sniff. (#21)
  • Update ORCA configuration for Composer 2 support (#20)

v0.6.0

12 May 23:54
7841dfa
Compare
Choose a tag to compare
  • Add Drupal's whitespace (line indent) rules to AcquiaPHP ruleset #17
  • Exclude PHPCompatibility.Extensions.RemovedExtensions.famRemoved sniff #21
  • Retire PHP 7.1 compatibility #23