| 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 |
|
|
|
5 |
## [9.6.3] - 2023-02-04
|
|
|
6 |
|
|
|
7 |
### Fixed
|
|
|
8 |
|
|
|
9 |
* [#5164](https://github.com/sebastianbergmann/phpunit/issues/5164): `markTestSkipped()` not handled correctly when called in "before first test" method
|
|
|
10 |
|
|
|
11 |
## [9.6.2] - 2023-02-04
|
|
|
12 |
|
|
|
13 |
### Fixed
|
|
|
14 |
|
|
|
15 |
* [#4618](https://github.com/sebastianbergmann/phpunit/issues/4618): Support for generators in `assertCount()` etc. is not marked as deprecated in PHPUnit 9.6
|
|
|
16 |
|
|
|
17 |
## [9.6.1] - 2023-02-03
|
|
|
18 |
|
|
|
19 |
### Fixed
|
|
|
20 |
|
|
|
21 |
* [#5073](https://github.com/sebastianbergmann/phpunit/issues/5073): `--no-extensions` CLI option only prevents extension PHARs from being loaded
|
|
|
22 |
* [#5160](https://github.com/sebastianbergmann/phpunit/issues/5160): PHPUnit 9.6 misses deprecations for assertions and constraints removed in PHPUnit 10
|
|
|
23 |
|
|
|
24 |
## [9.6.0] - 2023-02-03
|
|
|
25 |
|
|
|
26 |
### Changed
|
|
|
27 |
|
|
|
28 |
* [#5062](https://github.com/sebastianbergmann/phpunit/issues/5062): Deprecate `expectDeprecation()`, `expectDeprecationMessage()`, `expectDeprecationMessageMatches()`, `expectError()`, `expectErrorMessage()`, `expectErrorMessageMatches()`, `expectNotice()`, `expectNoticeMessage()`, `expectNoticeMessageMatches()`, `expectWarning()`, `expectWarningMessage()`, and `expectWarningMessageMatches()`
|
|
|
29 |
* [#5063](https://github.com/sebastianbergmann/phpunit/issues/5063): Deprecate `withConsecutive()`
|
|
|
30 |
* [#5064](https://github.com/sebastianbergmann/phpunit/issues/5064): Deprecate `PHPUnit\Framework\TestCase::getMockClass()`
|
|
|
31 |
* [#5132](https://github.com/sebastianbergmann/phpunit/issues/5132): Deprecate `Test` suffix for abstract test case classes
|
|
|
32 |
|
|
|
33 |
[9.6.3]: https://github.com/sebastianbergmann/phpunit/compare/9.6.2...9.6.3
|
|
|
34 |
[9.6.2]: https://github.com/sebastianbergmann/phpunit/compare/9.6.1...9.6.2
|
|
|
35 |
[9.6.1]: https://github.com/sebastianbergmann/phpunit/compare/9.6.0...9.6.1
|
|
|
36 |
[9.6.0]: https://github.com/sebastianbergmann/phpunit/compare/9.5.28...9.6.0
|