From 7f753e90285e7a736b007ae4782158780a15ab1a Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Fri, 22 Dec 2023 12:53:48 +0100 Subject: [PATCH] Start development of next major version --- .github/workflows/ci.yml | 3 +- ChangeLog-10.1.md | 97 ---------------------------------------- ChangeLog-11.0.md | 11 +++++ composer.json | 23 +++++----- 4 files changed, 24 insertions(+), 110 deletions(-) delete mode 100644 ChangeLog-10.1.md create mode 100644 ChangeLog-11.0.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b91eab68a..f798f6f1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: name: CI env: - COMPOSER_ROOT_VERSION: "10.1-dev" + COMPOSER_ROOT_VERSION: "11.0-dev" jobs: coding-guidelines: @@ -70,7 +70,6 @@ jobs: - windows-latest php-version: - - "8.1" - "8.2" - "8.3" - "8.4" diff --git a/ChangeLog-10.1.md b/ChangeLog-10.1.md deleted file mode 100644 index b7299e7b4..000000000 --- a/ChangeLog-10.1.md +++ /dev/null @@ -1,97 +0,0 @@ -# ChangeLog - -All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. - -## [10.1.11] - 2023-12-21 - -### Changed - -* This component is now compatible with `nikic/php-parser` 5.0 - -## [10.1.10] - 2023-12-11 - -### Fixed - -* [#1023](https://github.com/sebastianbergmann/php-code-coverage/issues/1023): Branch Coverage and Path Coverage are not correctly reported for traits - -## [10.1.9] - 2023-11-23 - -### Fixed - -* [#1020](https://github.com/sebastianbergmann/php-code-coverage/issues/1020): Single line method is ignored - -## [10.1.8] - 2023-11-15 - -### Fixed - -* [#1018](https://github.com/sebastianbergmann/php-code-coverage/issues/1018): Interface methods are not ignored when their signature is split over multiple lines - -## [10.1.7] - 2023-10-04 - -### Fixed - -* [#1014](https://github.com/sebastianbergmann/php-code-coverage/issues/1014): Incorrect statement count in coverage report for constructor property promotion - -## [10.1.6] - 2023-09-19 - -### Fixed - -* [#1012](https://github.com/sebastianbergmann/php-code-coverage/issues/1012): Cobertura report pulls functions from report scope, not the individual element - -## [10.1.5] - 2023-09-12 - -### Changed - -* [#1011](https://github.com/sebastianbergmann/php-code-coverage/pull/1011): Avoid serialization of cache data in PHP report - -## [10.1.4] - 2023-08-31 - -### Fixed - -* Exceptions of type `SebastianBergmann\Template\Exception` are now properly handled - -## [10.1.3] - 2023-07-26 - -### Changed - -* The result of `CodeCoverage::getReport()` is now cached - -### Fixed - -* Static analysis cache keys do not include configuration settings that affect source code parsing -* The Clover, Cobertura, Crap4j, and PHP report writers no longer create a `php:` directory when they should write to `php://stdout`, for instance - -## [10.1.2] - 2023-05-22 - -### Fixed - -* [#998](https://github.com/sebastianbergmann/php-code-coverage/pull/998): Group Use Declarations are not handled properly - -## [10.1.1] - 2023-04-17 - -### Fixed - -* [#994](https://github.com/sebastianbergmann/php-code-coverage/issues/994): Argument `$linesToBeIgnored` of `CodeCoverage::stop()` has no effect for files that are not executed at all - -## [10.1.0] - 2023-04-13 - -### Added - -* [#982](https://github.com/sebastianbergmann/php-code-coverage/issues/982): Add option to ignore lines from code coverage - -### Deprecated - -* The `SebastianBergmann\CodeCoverage\Filter::includeDirectory()`, `SebastianBergmann\CodeCoverage\Filter::excludeDirectory()`, and `SebastianBergmann\CodeCoverage\Filter::excludeFile()` methods are now deprecated - -[10.1.11]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.10...10.1.11 -[10.1.10]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.9...10.1.10 -[10.1.9]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.8...10.1.9 -[10.1.8]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.7...10.1.8 -[10.1.7]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.6...10.1.7 -[10.1.6]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.5...10.1.6 -[10.1.5]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.4...10.1.5 -[10.1.4]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.3...10.1.4 -[10.1.3]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.2...10.1.3 -[10.1.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.1...10.1.2 -[10.1.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1.0...10.1.1 -[10.1.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.0.2...10.1.0 diff --git a/ChangeLog-11.0.md b/ChangeLog-11.0.md new file mode 100644 index 000000000..5c1f25a0e --- /dev/null +++ b/ChangeLog-11.0.md @@ -0,0 +1,11 @@ +# ChangeLog + +All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. + +## [11.0.0] - 2024-02-02 + +### Removed + +* This component is no longer supported on PHP 8.1 + +[11.0.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/10.1...main diff --git a/composer.json b/composer.json index 6e2ed05eb..28d2a3ed4 100644 --- a/composer.json +++ b/composer.json @@ -22,29 +22,30 @@ }, "config": { "platform": { - "php": "8.1.0" + "php": "8.2.0" }, "optimize-autoloader": true, "sort-packages": true }, "prefer-stable": true, + "minimum-stability": "dev", "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", "nikic/php-parser": "^4.18 || ^5.0", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", + "phpunit/php-file-iterator": "^5.0", + "phpunit/php-text-template": "^4.0", + "sebastian/code-unit-reverse-lookup": "^4.0", + "sebastian/complexity": "^4.0", + "sebastian/environment": "^7.0", + "sebastian/lines-of-code": "^3.0", + "sebastian/version": "^5.0", "theseer/tokenizer": "^1.2.0" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^11.0" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -63,7 +64,7 @@ }, "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-main": "11.0-dev" } } }