44
55This functionality is currently [ soft-deprecated] ( https://phpunit.de/backward-compatibility.html#soft-deprecation ) :
66
7+ ### Writing Tests
8+
9+ #### Test Double API
10+
711* [ #3687 ] ( https://github.com/sebastianbergmann/phpunit/issues/3687 ) : ` MockBuilder::setMethods() ` (since PHPUnit 8.3.0)
812* [ #3687 ] ( https://github.com/sebastianbergmann/phpunit/issues/3687 ) : ` MockBuilder::setMethodsExcept() ` (since PHPUnit 9.6.0)
913
1014## Hard Deprecations
1115
1216This functionality is currently [ hard-deprecated] ( https://phpunit.de/backward-compatibility.html#hard-deprecation ) :
1317
14- * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` Command::handleLoader() ` (since PHPUnit 9.1.0)
15- * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` TestSuiteLoader ` (since PHPUnit 9.1.0)
16- * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` StandardTestSuiteLoader ` (since PHPUnit 9.1.0)
18+ ### Writing Tests
19+
20+ #### Assertions, Constraints, and Expectations
21+
1722* [ #4062 ] ( https://github.com/sebastianbergmann/phpunit/issues/4062 ) : ` TestCase::assertNotIsReadable() ` (since PHPUnit 9.1.0)
1823* [ #4065 ] ( https://github.com/sebastianbergmann/phpunit/issues/4065 ) : ` TestCase::assertNotIsWritable() ` (since PHPUnit 9.1.0)
1924* [ #4068 ] ( https://github.com/sebastianbergmann/phpunit/issues/4068 ) : ` TestCase::assertDirectoryNotExists() ` (since PHPUnit 9.1.0)
@@ -25,9 +30,6 @@ This functionality is currently [hard-deprecated](https://phpunit.de/backward-co
2530* [ #4086 ] ( https://github.com/sebastianbergmann/phpunit/issues/4086 ) : ` TestCase::assertRegExp() ` (since PHPUnit 9.1.0)
2631* [ #4089 ] ( https://github.com/sebastianbergmann/phpunit/issues/4089 ) : ` TestCase::assertNotRegExp() ` (since PHPUnit 9.1.0)
2732* [ #4091 ] ( https://github.com/sebastianbergmann/phpunit/issues/4091 ) : ` TestCase::assertEqualXMLStructure() ` (since PHPUnit 9.1.0)
28- * [ #4141 ] ( https://github.com/sebastianbergmann/phpunit/issues/4141 ) : ` TestCase::prophesize() ` (since PHPUnit 9.1.0)
29- * [ #4297 ] ( https://github.com/sebastianbergmann/phpunit/issues/4297 ) : ` TestCase::at() ` (since PHPUnit 9.3.0)
30- * [ #4297 ] ( https://github.com/sebastianbergmann/phpunit/issues/4297 ) : ` InvokedAtIndex ` (since PHPUnit 9.3.0)
3133* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` TestCase::assertClassHasAttribute() ` (since PHPUnit 9.6.1)
3234* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` TestCase::assertClassNotHasAttribute() ` (since PHPUnit 9.6.1)
3335* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` TestCase::assertClassHasStaticAttribute() ` (since PHPUnit 9.6.1)
@@ -40,8 +42,6 @@ This functionality is currently [hard-deprecated](https://phpunit.de/backward-co
4042* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` ClassHasAttribute ` (since PHPUnit 9.6.1)
4143* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` ClassHasStaticAttribute ` (since PHPUnit 9.6.1)
4244* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` ObjectHasAttribute ` (since PHPUnit 9.6.1)
43- * [ #4676 ] ( https://github.com/sebastianbergmann/phpunit/issues/4676 ) : ` TestListener ` (since PHPUnit 8.0.0)
44- * [ #4676 ] ( https://github.com/sebastianbergmann/phpunit/issues/4676 ) : ` TestListenerDefaultImplementation ` (since PHPUnit 8.2.4)
4545* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectDeprecation() ` (since PHPUnit 9.6.0)
4646* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectDeprecationMessage() ` (since PHPUnit 9.6.0)
4747* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectDeprecationMessageMatches() ` (since PHPUnit 9.6.0)
@@ -54,8 +54,25 @@ This functionality is currently [hard-deprecated](https://phpunit.de/backward-co
5454* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectWarning() ` (since PHPUnit 9.6.0)
5555* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectWarningMessage() ` (since PHPUnit 9.6.0)
5656* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectWarningMessageMatches() ` (since PHPUnit 9.6.0)
57- * ` TestCase::$backupGlobalsBlacklist ` (since PHPUnit 9.3.0)
58- * ` TestCase::$backupStaticAttributesBlacklist ` (since PHPUnit 9.3.0)
57+
58+ #### Test Double API
59+
60+ * [ #4141 ] ( https://github.com/sebastianbergmann/phpunit/issues/4141 ) : ` TestCase::prophesize() ` (since PHPUnit 9.1.0)
61+ * [ #4297 ] ( https://github.com/sebastianbergmann/phpunit/issues/4297 ) : ` TestCase::at() ` (since PHPUnit 9.3.0)
62+ * [ #4297 ] ( https://github.com/sebastianbergmann/phpunit/issues/4297 ) : ` InvokedAtIndex ` (since PHPUnit 9.3.0)
5963* ` TestCase::getMockClass() ` (since PHPUnit 9.6.0)
6064* ` InvocationMocker::withConsecutive() ` (since PHPUnit 9.6.0)
6165* ` ConsecutiveParameters ` (since PHPUnit 9.6.0)
66+
67+ #### Miscellaneous
68+
69+ * ` TestCase::$backupGlobalsBlacklist ` (since PHPUnit 9.3.0)
70+ * ` TestCase::$backupStaticAttributesBlacklist ` (since PHPUnit 9.3.0)
71+
72+ ### Extending PHPUnit
73+
74+ * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` Command::handleLoader() ` (since PHPUnit 9.1.0)
75+ * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` TestSuiteLoader ` (since PHPUnit 9.1.0)
76+ * [ #4039 ] ( https://github.com/sebastianbergmann/phpunit/issues/4039 ) : ` StandardTestSuiteLoader ` (since PHPUnit 9.1.0)
77+ * [ #4676 ] ( https://github.com/sebastianbergmann/phpunit/issues/4676 ) : ` TestListener ` (since PHPUnit 8.0.0)
78+ * [ #4676 ] ( https://github.com/sebastianbergmann/phpunit/issues/4676 ) : ` TestListenerDefaultImplementation ` (since PHPUnit 8.2.4)
0 commit comments