From 6c4fdfc90938c3597f56cf0fa9e70386592caab9 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 7 Dec 2024 09:51:45 +0100 Subject: [PATCH] Start development of php-code-coverage 12.0 --- .github/workflows/ci.yml | 3 +- ChangeLog-11.0.md | 67 ---------------------------------------- ChangeLog-12.0.md | 11 +++++++ composer.json | 9 +++--- src/Version.php | 2 +- 5 files changed, 18 insertions(+), 74 deletions(-) delete mode 100644 ChangeLog-11.0.md create mode 100644 ChangeLog-12.0.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 427efccc7..908308192 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: name: CI env: - COMPOSER_ROOT_VERSION: "11.0.x-dev" + COMPOSER_ROOT_VERSION: "12.0.x-dev" jobs: coding-guidelines: @@ -70,7 +70,6 @@ jobs: - windows-latest php-version: - - "8.2" - "8.3" - "8.4" diff --git a/ChangeLog-11.0.md b/ChangeLog-11.0.md deleted file mode 100644 index cb4e90455..000000000 --- a/ChangeLog-11.0.md +++ /dev/null @@ -1,67 +0,0 @@ -# ChangeLog - -All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. - -## [11.0.7] - 2024-10-09 - -### Changed - -* [#1037](https://github.com/sebastianbergmann/php-code-coverage/pull/1037): Upgrade Bootstrap to version 5.3.3 for HTML report -* [#1046](https://github.com/sebastianbergmann/php-code-coverage/pull/1046): CSS fixes for HTML report - -### Deprecated - -* The `SebastianBergmann\CodeCoverage\Filter::includeUncoveredFiles()`, `SebastianBergmann\CodeCoverage\Filter::excludeUncoveredFiles()`, and `SebastianBergmann\CodeCoverage\Filter::excludeFile()` methods have been deprecated - -## [11.0.6] - 2024-08-22 - -### Changed - -* Updated dependencies (so that users that install using Composer's `--prefer-lowest` CLI option also get recent versions) - -## [11.0.5] - 2024-07-03 - -### Changed - -* This project now uses PHPStan instead of Psalm for static analysis - -## [11.0.4] - 2024-06-29 - -### Fixed - -* [#967](https://github.com/sebastianbergmann/php-code-coverage/issues/967): Identification of executable lines for `match` expressions does not work correctly - -## [11.0.3] - 2024-03-12 - -### Fixed - -* [#1033](https://github.com/sebastianbergmann/php-code-coverage/issues/1033): `@codeCoverageIgnore` annotation does not work on `enum` - -## [11.0.2] - 2024-03-09 - -### Changed - -* [#1032](https://github.com/sebastianbergmann/php-code-coverage/pull/1032): Pad lines in code coverage report only when colors are shown - -## [11.0.1] - 2024-03-02 - -### Changed - -* Do not use implicitly nullable parameters - -## [11.0.0] - 2024-02-02 - -### Removed - -* The `SebastianBergmann\CodeCoverage\Filter::includeDirectory()`, `SebastianBergmann\CodeCoverage\Filter::excludeDirectory()`, and `SebastianBergmann\CodeCoverage\Filter::excludeFile()` methods have been removed -* This component now requires PHP-Parser 5 -* This component is no longer supported on PHP 8.1 - -[11.0.7]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.6...11.0.7 -[11.0.6]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.5...11.0.6 -[11.0.5]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.4...11.0.5 -[11.0.4]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.3...11.0.4 -[11.0.3]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.2...11.0.3 -[11.0.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.1...11.0.2 -[11.0.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0.0...11.0.1 -[11.0.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1...11.0.0 diff --git a/ChangeLog-12.0.md b/ChangeLog-12.0.md new file mode 100644 index 000000000..4427d3d44 --- /dev/null +++ b/ChangeLog-12.0.md @@ -0,0 +1,11 @@ +# ChangeLog + +All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. + +## [12.0.0] - 2025-02-07 + +### Removed + +* This component is no longer supported on PHP 8.2 + +[12.0.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/11.0...main diff --git a/composer.json b/composer.json index 431570ad0..c6fdd4d32 100644 --- a/composer.json +++ b/composer.json @@ -22,14 +22,15 @@ }, "config": { "platform": { - "php": "8.2.0" + "php": "8.3.0" }, "optimize-autoloader": true, "sort-packages": true }, + "minimum-stability": "dev", "prefer-stable": true, "require": { - "php": ">=8.2", + "php": ">=8.3", "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", @@ -44,7 +45,7 @@ "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^11.4.1" + "phpunit/phpunit": "^12.0-dev" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -62,7 +63,7 @@ }, "extra": { "branch-alias": { - "dev-main": "11.0.x-dev" + "dev-main": "12.0.x-dev" } } } diff --git a/src/Version.php b/src/Version.php index 25502c830..df7c227a9 100644 --- a/src/Version.php +++ b/src/Version.php @@ -19,7 +19,7 @@ final class Version public static function id(): string { if (self::$version === '') { - self::$version = (new VersionId('11.0.7', dirname(__DIR__)))->asString(); + self::$version = (new VersionId('12.0', dirname(__DIR__)))->asString(); } return self::$version;