| 621 |
lars |
1 |
# Changes in PHPUnit 9.6
|
|
|
2 |
|
|
|
3 |
All notable changes of the PHPUnit 9.6 release series are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
|
|
|
4 |
|
| 1464 |
lars |
5 |
## [9.6.7] - 2023-04-14
|
|
|
6 |
|
|
|
7 |
### Fixed
|
|
|
8 |
|
|
|
9 |
* Tests that have `@doesNotPerformAssertions` do not contribute to code coverage
|
|
|
10 |
|
| 991 |
lars |
11 |
## [9.6.6] - 2023-03-27
|
|
|
12 |
|
|
|
13 |
### Fixed
|
|
|
14 |
|
|
|
15 |
* [#5270](https://github.com/sebastianbergmann/phpunit/issues/5270): `GlobalState::getIniSettingsAsString()` generates code that triggers warnings
|
|
|
16 |
|
|
|
17 |
## [9.6.5] - 2023-03-09
|
|
|
18 |
|
|
|
19 |
### Changed
|
|
|
20 |
|
|
|
21 |
* Backported the HTML and CSS improvements made to the `--testdox-html` from PHPUnit 10
|
|
|
22 |
|
|
|
23 |
### Fixed
|
|
|
24 |
|
|
|
25 |
* [#5205](https://github.com/sebastianbergmann/phpunit/issues/5205): Wrong default value for optional parameter of `PHPUnit\Util\Test::parseTestMethodAnnotations()` causes `ReflectionException`
|
|
|
26 |
|
| 688 |
lars |
27 |
## [9.6.4] - 2023-02-27
|
|
|
28 |
|
|
|
29 |
### Fixed
|
|
|
30 |
|
|
|
31 |
* [#5186](https://github.com/sebastianbergmann/phpunit/issues/5186): SBOM does not validate
|
|
|
32 |
|
| 621 |
lars |
33 |
## [9.6.3] - 2023-02-04
|
|
|
34 |
|
|
|
35 |
### Fixed
|
|
|
36 |
|
|
|
37 |
* [#5164](https://github.com/sebastianbergmann/phpunit/issues/5164): `markTestSkipped()` not handled correctly when called in "before first test" method
|
|
|
38 |
|
|
|
39 |
## [9.6.2] - 2023-02-04
|
|
|
40 |
|
|
|
41 |
### Fixed
|
|
|
42 |
|
|
|
43 |
* [#4618](https://github.com/sebastianbergmann/phpunit/issues/4618): Support for generators in `assertCount()` etc. is not marked as deprecated in PHPUnit 9.6
|
|
|
44 |
|
|
|
45 |
## [9.6.1] - 2023-02-03
|
|
|
46 |
|
|
|
47 |
### Fixed
|
|
|
48 |
|
|
|
49 |
* [#5073](https://github.com/sebastianbergmann/phpunit/issues/5073): `--no-extensions` CLI option only prevents extension PHARs from being loaded
|
| 688 |
lars |
50 |
* [#5160](https://github.com/sebastianbergmann/phpunit/issues/5160): Deprecate `assertClassHasAttribute()`, `assertClassNotHasAttribute()`, `assertClassHasStaticAttribute()`, `assertClassNotHasStaticAttribute()`, `assertObjectHasAttribute()`, `assertObjectNotHasAttribute()`, `classHasAttribute()`, `classHasStaticAttribute()`, and `objectHasAttribute()`
|
| 621 |
lars |
51 |
|
|
|
52 |
## [9.6.0] - 2023-02-03
|
|
|
53 |
|
|
|
54 |
### Changed
|
|
|
55 |
|
|
|
56 |
* [#5062](https://github.com/sebastianbergmann/phpunit/issues/5062): Deprecate `expectDeprecation()`, `expectDeprecationMessage()`, `expectDeprecationMessageMatches()`, `expectError()`, `expectErrorMessage()`, `expectErrorMessageMatches()`, `expectNotice()`, `expectNoticeMessage()`, `expectNoticeMessageMatches()`, `expectWarning()`, `expectWarningMessage()`, and `expectWarningMessageMatches()`
|
|
|
57 |
* [#5063](https://github.com/sebastianbergmann/phpunit/issues/5063): Deprecate `withConsecutive()`
|
|
|
58 |
* [#5064](https://github.com/sebastianbergmann/phpunit/issues/5064): Deprecate `PHPUnit\Framework\TestCase::getMockClass()`
|
|
|
59 |
* [#5132](https://github.com/sebastianbergmann/phpunit/issues/5132): Deprecate `Test` suffix for abstract test case classes
|
|
|
60 |
|
| 1464 |
lars |
61 |
[9.6.7]: https://github.com/sebastianbergmann/phpunit/compare/9.6.6...9.6.7
|
| 991 |
lars |
62 |
[9.6.6]: https://github.com/sebastianbergmann/phpunit/compare/9.6.5...9.6.6
|
|
|
63 |
[9.6.5]: https://github.com/sebastianbergmann/phpunit/compare/9.6.4...9.6.5
|
| 688 |
lars |
64 |
[9.6.4]: https://github.com/sebastianbergmann/phpunit/compare/9.6.3...9.6.4
|
| 621 |
lars |
65 |
[9.6.3]: https://github.com/sebastianbergmann/phpunit/compare/9.6.2...9.6.3
|
|
|
66 |
[9.6.2]: https://github.com/sebastianbergmann/phpunit/compare/9.6.1...9.6.2
|
|
|
67 |
[9.6.1]: https://github.com/sebastianbergmann/phpunit/compare/9.6.0...9.6.1
|
|
|
68 |
[9.6.0]: https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.0
|