From d9504f525abfbdb8fc7d7850cbd58229471526ba Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Thu, 18 Jan 2024 08:26:03 +0000 Subject: [PATCH] prepare bugfixes release --- .changes/7.x/7.1.1.md | 18 ++++++++++++++++++ .../unreleased/Changed-20240110-101704.yaml | 4 ---- .../7.x/unreleased/Fixed-20240102-144034.yaml | 4 ---- .../7.x/unreleased/Fixed-20240108-063636.yaml | 3 --- .../7.x/unreleased/Fixed-20240118-075507.yaml | 3 --- .../unreleased/Removed-20240111-094935.yaml | 3 --- CHANGELOG.md | 18 ++++++++++++++++++ README.md | 2 +- resources/application-parser/datasource.php | 1 - 9 files changed, 37 insertions(+), 19 deletions(-) create mode 100644 .changes/7.x/7.1.1.md delete mode 100644 .changes/7.x/unreleased/Changed-20240110-101704.yaml delete mode 100644 .changes/7.x/unreleased/Fixed-20240102-144034.yaml delete mode 100644 .changes/7.x/unreleased/Fixed-20240108-063636.yaml delete mode 100644 .changes/7.x/unreleased/Fixed-20240118-075507.yaml delete mode 100644 .changes/7.x/unreleased/Removed-20240111-094935.yaml diff --git a/.changes/7.x/7.1.1.md b/.changes/7.x/7.1.1.md new file mode 100644 index 00000000..2b5582f8 --- /dev/null +++ b/.changes/7.x/7.1.1.md @@ -0,0 +1,18 @@ + +## 7.1.1 - 2024-01-18 + +### Changed + +- Add PHP-Parser 5.0 support (migrate code following https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-5.0.md guide) + +### Removed + +- `Bartlett\CompatInfo\Application\PhpParser\NodeDumper` class (incompatible with PHP-Parser 5, and unused for production) + +### Fixed + +- [#368](https://github.com/llaville/php-compatinfo/issues/368) : clarify documentation about `ext-pdo` requirement +- Sarif report did not report rules on recent php versions (8.2 and 8.3) +- ReservedSniff is now able to detect correctly mixed and never keyword usage + +**Full Changelog**: [7.1.0...7.1.1](https://github.com/llaville/php-compatinfo/compare/7.1.0...7.1.1) diff --git a/.changes/7.x/unreleased/Changed-20240110-101704.yaml b/.changes/7.x/unreleased/Changed-20240110-101704.yaml deleted file mode 100644 index 35826ee1..00000000 --- a/.changes/7.x/unreleased/Changed-20240110-101704.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Changed -body: Add PHP-Parser 5.0 support (migrate code following https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-5.0.md - guide) -time: 2024-01-10T10:17:04.230220245Z diff --git a/.changes/7.x/unreleased/Fixed-20240102-144034.yaml b/.changes/7.x/unreleased/Fixed-20240102-144034.yaml deleted file mode 100644 index 4536ae1b..00000000 --- a/.changes/7.x/unreleased/Fixed-20240102-144034.yaml +++ /dev/null @@ -1,4 +0,0 @@ -kind: Fixed -body: '[#368](https://github.com/llaville/php-compatinfo/issues/368) : clarify documentation - about `ext-pdo` requirement' -time: 2024-01-02T14:40:34.195297678Z diff --git a/.changes/7.x/unreleased/Fixed-20240108-063636.yaml b/.changes/7.x/unreleased/Fixed-20240108-063636.yaml deleted file mode 100644 index d0c97103..00000000 --- a/.changes/7.x/unreleased/Fixed-20240108-063636.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Fixed -body: Sarif report did not report rules on recent php versions (8.2 and 8.3) -time: 2024-01-08T06:36:36.994673435Z diff --git a/.changes/7.x/unreleased/Fixed-20240118-075507.yaml b/.changes/7.x/unreleased/Fixed-20240118-075507.yaml deleted file mode 100644 index 563ca5dd..00000000 --- a/.changes/7.x/unreleased/Fixed-20240118-075507.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Fixed -body: ReservedSniff is now able to detect correctly mixed and never keyword usage -time: 2024-01-18T07:55:07.860832725Z diff --git a/.changes/7.x/unreleased/Removed-20240111-094935.yaml b/.changes/7.x/unreleased/Removed-20240111-094935.yaml deleted file mode 100644 index be080e6e..00000000 --- a/.changes/7.x/unreleased/Removed-20240111-094935.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Removed -body: '"Bartlett\CompatInfo\Application\PhpParser\NodeDumper" class' -time: 2024-01-11T09:49:35.320889351Z diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d2e2d18..6e137b54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 7.1.1 - 2024-01-18 + +### Changed + +- Add PHP-Parser 5.0 support (migrate code following https://github.com/nikic/PHP-Parser/blob/master/UPGRADE-5.0.md guide) + +### Removed + +- `Bartlett\CompatInfo\Application\PhpParser\NodeDumper` class (incompatible with PHP-Parser 5, and unused for production) + +### Fixed + +- [#368](https://github.com/llaville/php-compatinfo/issues/368) : clarify documentation about `ext-pdo` requirement +- Sarif report did not report rules on recent php versions (8.2 and 8.3) +- ReservedSniff is now able to detect correctly mixed and never keyword usage + +**Full Changelog**: [7.1.0...7.1.1](https://github.com/llaville/php-compatinfo/compare/7.1.0...7.1.1) + ## 7.1.0 - 2024-01-01 > **WARNING** diff --git a/README.md b/README.md index 64455c17..1dce1c1a 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ Running on PHP greater or equal than 7.2 for parsing source code in a format PHP [Branch_71x]: https://github.com/llaville/php-compatinfo/tree/7.1 [PHPVersion_71x-img]: https://img.shields.io/packagist/php-v/bartlett/php-compatinfo/7.1.0 [PHPVersion_71x]: https://www.php.net/supported-versions.php -[Packagist_71x-img]: https://img.shields.io/badge/packagist-v7.1.0-blue +[Packagist_71x-img]: https://img.shields.io/badge/packagist-v7.1.1-blue [Packagist_71x]: https://packagist.org/packages/bartlett/php-compatinfo [License_71x-img]: https://img.shields.io/packagist/l/bartlett/php-compatinfo [License_71x]: https://github.com/llaville/php-compatinfo/blob/7.1/LICENSE diff --git a/resources/application-parser/datasource.php b/resources/application-parser/datasource.php index fe1ee49d..fba95462 100644 --- a/resources/application-parser/datasource.php +++ b/resources/application-parser/datasource.php @@ -19,7 +19,6 @@ \Bartlett\CompatInfo\Application\PhpParser\NodeVisitor\NodeVisitor::class, \Bartlett\CompatInfo\Application\PhpParser\NodeVisitor\ParentContextVisitor::class, \Bartlett\CompatInfo\Application\PhpParser\NodeVisitor\VersionResolverVisitor::class, - \Bartlett\CompatInfo\Application\PhpParser\NodeDumper::class, \Bartlett\CompatInfo\Application\PhpParser\Parser::class, ]; foreach ($classes as $class) {