All notable changes to this project will be documented in this file.
This projects adheres to Keep a CHANGELOG and uses Semantic Versioning.
Nothing yet.
1.1.6 - 2023-01-05
- Composer: The version requirements for the Composer PHPCS plugin have been widened to allow for version 1.0.0.
Please ensure you run
composer update phpcsstandards/phpcsdevcs --with-dependencies
to benefit from this.
1.1.5 - 2022-10-14
- Composer: The package will now identify itself as a static analysis tool. Thanks @GaryJones!
- Minor housekeeping.
1.1.4 - 2022-04-21
- A few PHP 8.1 token constant error codes for the
PHPCompatibility.Constants.NewConstants
sniff have been excluded as the constants have been backfilled by PHPCS. - README: Updated the installation instructions for compatibility with Composer 2.2.
- Various other housekeeping and minor documentation updates.
1.1.3 - 2021-12-23
- Updated the version constraints for PHP_CodeSniffer to
^3.6.2
. - CI is now running on GitHub Actions.
- To prevent conflicting expectations between a newly introduced PSR12 sniff and this ruleset as it was, the new
PSR12.Classes.OpeningBraceSpace
sniff will be ignored.
1.1.2 - 2020-12-01
- A few more token constant error codes for the
PHPCompatibility.Constants.NewConstants
sniff are excluded as the constants have been backfilled by PHPCS.
1.1.1 - 2020-09-03
- A few more token constant error codes for the
PHPCompatibility.Constants.NewConstants
andPHPCompatibility.Constants.RemovedConstants
sniffs are excluded as the constants are, or soon will be, backfilled by PHPCS. - Updated the version constraints for the PHPCompatibility standard to allow for installing version
10.0
(currently in dev).
1.1.0 - 2020-09-03
- Short array syntax is now required by default via the
Generic.Arrays.DisallowLongArraySyntax
sniff.
- The
Squiz.PHP.NonExecutableCode.ReturnNotRequired
code is excluded to allow for areturn
statement in an otherwise empty function (typical use: overloadable methods in an abstract class). - The
PHPCompatibility.Constants.NewConstants.t_fnFound
code is excluded as the constant is backfilled by PHPCS since PHPCS 3.5.3. - Updated the version constraints for the Composer PHPCS plugin. The minimum supported version is now
0.4.1
, while the maximum is^0.7
(latest release). - Updated the inline ruleset documentation.
Initial release.