Skip to content

Commit

Permalink
Initial work on support for PHPUnit 11
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Feb 2, 2024
1 parent 43d6402 commit 2122e2d
Show file tree
Hide file tree
Showing 10 changed files with 278 additions and 275 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "8.1"
- "8.2"
- "8.3"
- "8.4"
Expand Down
17 changes: 3 additions & 14 deletions .psalm/baseline.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.15.0@5c774aca4746caf3d239d9c8cadb9f882ca29352">
<files psalm-version="5.18.0@b113f3ed0259fd6e212d87c3df80eec95a6abf19">
<file src="src/PatchCoverage.php">
<UnresolvableInclude>
<code>include $coverageFile</code>
Expand All @@ -22,31 +22,20 @@
</ArgumentTypeCoercion>
</file>
<file src="src/cli/Command.php">
<DeprecatedMethod>
<code>coverageExcludeDirectories</code>
<code>coverageExcludeFiles</code>
<code>coverageIncludeDirectories</code>
<code>coverageIncludeFiles</code>
<code>excludeDirectory</code>
<code>excludeFile</code>
<code>hasNonEmptyListOfFilesToBeIncludedInCodeCoverageReport</code>
<code>includeDirectory</code>
</DeprecatedMethod>
<InternalClass>
<code>new CliConfigurationBuilder</code>
<code>new Loader</code>
<code>new Merger</code>
<code>new SourceMapper</code>
</InternalClass>
<InternalMethod>
<code>fromParameters</code>
<code>load</code>
<code>map</code>
<code>merge</code>
</InternalMethod>
</file>
<file src="src/cli/ExecuteCommand.php">
<DeprecatedMethod>
<code>includeDirectory</code>
</DeprecatedMethod>
<PossiblyNullArgument>
<code><![CDATA[$arguments->script()]]></code>
<code><![CDATA[$arguments->script()]]></code>
Expand Down
12 changes: 12 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All notable changes in PHPCOV are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.

## [10.0.0] - 2024-MM-DD

### Added

* Added support for PHPUnit 11

### Removed

* PHPUnit 10 is no longer supported
* PHP 8.1 is no longer supported

## [9.0.2] - 2023-09-12

### Changed
Expand Down Expand Up @@ -90,6 +101,7 @@ All notable changes in PHPCOV are documented in this file using the [Keep a CHAN

* Removed support for PHP versions older than PHP 7.2

[10.0.0]: https://github.com/sebastianbergmann/phpcov/compare/9.0.2...main
[9.0.2]: https://github.com/sebastianbergmann/phpcov/compare/9.0.1...9.0.2
[9.0.1]: https://github.com/sebastianbergmann/phpcov/compare/9.0.0...9.0.1
[9.0.0]: https://github.com/sebastianbergmann/phpcov/compare/8.2.1...9.0.0
Expand Down
18 changes: 9 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@
},
"config": {
"platform": {
"php": "8.1.0"
"php": "8.2.0"
},
"optimize-autoloader": true,
"sort-packages": true
},
"prefer-stable": true,
"require": {
"php": ">=8.1",
"phpunit/phpunit": "^10.0",
"phpunit/php-code-coverage": "^10.1.5",
"phpunit/php-file-iterator": "^4.0",
"sebastian/cli-parser": "^2.0",
"sebastian/diff": "^5.0",
"sebastian/version": "^4.0"
"php": ">=8.2",
"phpunit/phpunit": "^11.0",
"phpunit/php-code-coverage": "^11.0",
"phpunit/php-file-iterator": "^5.0",
"sebastian/cli-parser": "^3.0",
"sebastian/diff": "^6.0",
"sebastian/version": "^5.0"
},
"autoload": {
"classmap": [
Expand All @@ -40,7 +40,7 @@
],
"extra": {
"branch-alias": {
"dev-main": "9.0-dev"
"dev-main": "10.0-dev"
}
}
}
Expand Down
Loading

0 comments on commit 2122e2d

Please sign in to comment.