diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..db5d1a6 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,83 @@ +# Changelog for PHPCompatibilitySymfony + +All notable changes to this project will be documented in this file. + +This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/). + +## [1.2.3] - 2025-10-18 + +This is a maintenance release. + +* The rulesets now include schema tags. +* General housekeeping and maintenance. + +## [1.2.2] - 2025-01-16 + +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 + +* `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][composer22announce]. +* Composer: The package will now identify itself as a static analysis tool. Thanks [@GaryJones]! +* Other housekeeping and minor documentation updates. + +[composer22announce]: https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution + +## [1.2.0] - 2021-02-16 + +* 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 + +* `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 + +* `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-08-30 + +* `PHPCompatibilitySymfonyPolyfillPHP72` ruleset: minor tweak to prevent false positives 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 + +* 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. + +## [1.0.1] - 2018-12-16 + +* Prevent false positives when the rulesets are run over the code of the polyfills themselves. +* The rulesets are now also tested against PHP 7.3. + Note: full PHP 7.3 support is only available in combination with PHP_CodeSniffer 2.9.2 or 3.3.1+ due to an incompatibility within PHP_CodeSniffer itself. + +## 1.0.0 - 2018-10-07 + +Initial release of PHPCompatibilitySymfony containing rulesets covering the `polyfill-php*` libraries. + +[Composer PHPCS plugin]: https://github.com/PHPCSStandards/composer-installer/ + +[1.2.3]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.2.2...1.2.3 +[1.2.2]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.2.1...1.2.2 +[1.2.1]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.2.0...1.2.1 +[1.2.0]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.1.3...1.2.0 +[1.1.3]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.1.2...1.1.3 +[1.1.2]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.1.1...1.1.2 +[1.1.1]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.1.0...1.1.1 +[1.1.0]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.0.1...1.1.0 +[1.0.1]: https://github.com/PHPCompatibility/PHPCompatibilitySymfony/compare/1.0.0...1.0.1 + +[@fredden]: https://github.com/fredden +[@GaryJones]: https://github.com/GaryJones diff --git a/README.md b/README.md index 9311a8e..1c2a30c 100644 --- a/README.md +++ b/README.md @@ -114,74 +114,3 @@ By default PHP_CodeSniffer will analyse PHP, JavaScript and CSS files. As the PH ## License All code within the PHPCompatibility organisation is released under the GNU Lesser General Public License (LGPL). For more information, visit https://www.gnu.org/copyleft/lesser.html - - -## Changelog - -### 1.2.3 - 2025-10-18 - -This is a maintenance release. - -* The ruleset now includes schema tags. -* General housekeeping and maintenance. - -### 1.2.2 - 2025-01-16 - -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 - -* `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][composer22announce]. -* Composer: The package will now identify itself as a static analysis tool. Thanks [@GaryJones]! -* Other housekeeping and minor documentation updates. - -[composer22announce]: https://blog.packagist.com/composer-2-2/#more-secure-plugin-execution - -### 1.2.0 - 2021-02-16 - -* 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 - -* `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 - -* `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-08-30 - -* `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 - -* 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. - -### 1.0.1 - 2018-12-16 - -* Prevent false positives when the ruleset is run over the code of the polyfills themselves. -* The rulesets are now also tested against PHP 7.3. - Note: full PHP 7.3 support is only available in combination with PHP_CodeSniffer 2.9.2 or 3.3.1+ due to an incompatibility within PHP_CodeSniffer itself. - -### 1.0.0 - 2018-10-07 - -Initial release of PHPCompatibilitySymfony containing rulesets covering the `polyfill-php*` libraries. - -[Composer PHPCS plugin]: https://github.com/PHPCSStandards/composer-installer/ - -[@fredden]: https://github.com/fredden -[@GaryJones]: https://github.com/GaryJones