Skip to content

Releases: PHPCompatibility/PHPCompatibilitySymfony

2.0.0-alpha2 - 2026-06-22

Pre-release

Choose a tag to compare

@jrfnl jrfnl released this 22 Jun 00:21
Immutable release. Only release title and notes can be modified.
8e2d0f6
  • PHPCompatibilitySymfonyPolyfillPHP81 ruleset: allow for polyfilled CURLOPT_ISSUERCERT_BLOB constant, which was added in polyfill-php81 version 1.38.1.
  • PHPCompatibilitySymfonyPolyfillPHP82 ruleset: allow for polyfilled CURLOPT_SSH_HOST_PUBLIC_KEY_SHA256 constant, which was added in polyfill-php82 version 1.38.1.
  • PHPCompatibilitySymfonyPolyfillPHP84 ruleset: allow for polyfilled driver specific PDO classes, which were added in polyfill-php84 version 1.34.0.
  • PHPCompatibilitySymfonyPolyfillPHP84 ruleset: allow for polyfilled bcceil(), bcfloor() and bcround() functions, which were added in polyfill-php84 version 1.34.0.
  • PHPCompatibilitySymfonyPolyfillPHP84 ruleset: allow for changes in how the Deprecated attribute is polyfilled since version 1.34.0.
  • PHPCompatibilitySymfonyPolyfillPHP85 ruleset: allow for polyfilled Filter exception classes, which were added in polyfill-php85 version 1.34.0.
  • PHPCompatibilitySymfonyPolyfillPHP85 ruleset: allow for polyfilled grapheme_levenshtein() and locale_is_right_to_left() functions, which were added in polyfill-php85 version 1.34.0.
  • General housekeeping and maintenance.

2.0.0-alpha1 - 2025-10-22

Pre-release

Choose a tag to compare

@jrfnl jrfnl released this 22 Oct 16:28
Immutable release. Only release title and notes can be modified.
97a30ac
  • Added new PHPCompatibilitySymfonyPolyfillPHP81 ruleset.
  • Added new PHPCompatibilitySymfonyPolyfillPHP82 ruleset.
  • Added new PHPCompatibilitySymfonyPolyfillPHP83 ruleset.
  • Added new PHPCompatibilitySymfonyPolyfillPHP84 ruleset.
  • Added new PHPCompatibilitySymfonyPolyfillPHP85 ruleset.
  • Composer: All PHPCompatibility dependencies have been updated to the recently released PHPCompatibility 10.0.0-alpha1 based versions.
    Note: in select cases, this means that custom <exclude> rules in a project's [.]phpcs.xml[.dist] configuration file may needs to be updated.
    Along the same lines, selective // phpcs:ignore comments used inline may need to be updated with the new sniff code(s).
    For full information on these kind of changes, please refer to the Upgrade guide for PHPCompatibility 10.0.0.
  • The Composer PHPCS plugin will now be installed automatically to register PHPCompatibility and other external standards with PHP_CodeSniffer.
    If you have a require-dev in place for this plugin in your own composer.json, it is strongly recommended to remove this to prevent conflicting version constraints.
    If you previously used another Composer plugin, manually set the installed_paths configuration, or set the installed_paths in your [.]phpcs.xml[.dist] configuration file, it is recommended you remove this in favour of letting the Composer PHPCS plugin handle this.
  • Support for PHP 5.3 has been dropped. The new minimum supported PHP version is 5.4.
  • Support for PHP_CodeSniffer 4.0 has been added.
  • Support for PHP_CodeSniffer < 3.13.3 has been dropped.

1.2.3 - 2025-10-18

Choose a tag to compare

@jrfnl jrfnl released this 17 Oct 23:32
Immutable release. Only release title and notes can be modified.
6230708

This is a maintenance release.

  • The rulesets now include schema tags.
  • General housekeeping and maintenance.

1.2.2 - 2025-01-16

Choose a tag to compare

@jrfnl jrfnl released this 16 Jan 21:08
fd7aa90

This is a maintenance release.

  • The recommended version of the Composer PHPCS plugin is now ^1.0.0.
  • README: Fixed some broken badges.
  • General housekeeping and maintenance. Including a contribution by @fredden.

1.2.1 - 2022-10-23

Choose a tag to compare

@jrfnl jrfnl released this 23 Oct 15:46
eb694b1
  • PHPCompatibilitySymfonyPolyfillPHP80 ruleset: allow for polyfilled PhpToken class, which was added in polyfill-php80 version 1.25.0.
  • README: Updated the installation instructions for compatibility with Composer >= 2.2.
  • Composer: The package will now identify itself as a static analysis tool. Thanks @GaryJones!
  • Other housekeeping and minor documentation updates.

1.2.0 - 2021-02-16

Choose a tag to compare

@jrfnl jrfnl released this 16 Feb 11:34
36ca92b
  • Added new PHPCompatibilitySymfonyPolyfillPHP80 ruleset.
  • The recommended version of the Composer PHPCS plugin is now ^0.7.0, which offers compatibility with Composer 2.0.
  • The rulesets are now also tested against PHP 7.4 and 8.0.
    Note: full PHP 7.4 support is only available in combination with PHP_CodeSniffer >= 3.5.6.
    Note: runtime PHP 8.0 support is only available in combination with PHP_CodeSniffer >= 3.5.7, full support is expected in PHP_CodeSniffer 3.6.0.

1.1.3 - 2020-07-19

Choose a tag to compare

@jrfnl jrfnl released this 19 Jul 21:23
95bd6b3
  • PHPCompatibilitySymfonyPolyfillPHP72 ruleset: allow for four polyfilled PHP_FLOAT_* constants, which were added in polyfill-php72 version 1.16.0.

1.1.2 - 2020-05-20

Choose a tag to compare

@jrfnl jrfnl released this 20 May 14:20
ad6219b
  • PHPCompatibilitySymfonyPolyfillPHP56 ruleset: allow for two polyfilled LDAP constants (undocumented in the Polyfill docs)
  • Composer: The recommended version of the Composer PHPCS plugin has been upped to ^0.6.0.

1.1.1 - 2019-09-06

Choose a tag to compare

@jrfnl jrfnl released this 05 Sep 18:38
f500bdd
  • PHPCompatibilitySymfonyPolyfillPHP72 ruleset: minor tweak to prevent false positive when the sniffs are run over the polyfill itself.
  • Minor bug fix in the integration test for the PHPCompatibilitySymfonyPolyfillPHP72 ruleset.

1.1.0 - 2019-08-29

Choose a tag to compare

@jrfnl jrfnl released this 28 Aug 16:05
b0c9880
  • Added new PHPCompatibilitySymfonyPolyfillPHP74 ruleset.
  • Updated the PHPCompatibilitySymfonyPolyfillPHP73 ruleset to allow for the stub for the JsonException class which was added in polyfill-php73 version 1.11.0.
  • Composer: The recommended version of the Composer PHPCS plugin has been upped to ^0.5.0.
  • CI: Added early warning system for false positives due to changes in the polyfill libraries themselves.