Skip to content

1.1.0 - 2020-09-03

Compare
Choose a tag to compare
@jrfnl jrfnl released this 03 Sep 08:33
3a57672

Added

  • Short array syntax is now required by default via the Generic.Arrays.DisallowLongArraySyntax sniff.

Changed

  • The Squiz.PHP.NonExecutableCode.ReturnNotRequired code is excluded to allow for a return 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.