4
4
5
5
This functionality is currently [ soft-deprecated] ( https://phpunit.de/backward-compatibility.html#soft-deprecation ) :
6
6
7
+ ### Writing Tests
8
+
9
+ #### Test Double API
10
+
7
11
* [ #3687 ] ( https://github.com/sebastianbergmann/phpunit/issues/3687 ) : ` MockBuilder::setMethods() ` (since PHPUnit 8.3.0)
8
12
* [ #3687 ] ( https://github.com/sebastianbergmann/phpunit/issues/3687 ) : ` MockBuilder::setMethodsExcept() ` (since PHPUnit 9.6.0)
9
13
10
14
## Hard Deprecations
11
15
12
16
This functionality is currently [ hard-deprecated] ( https://phpunit.de/backward-compatibility.html#hard-deprecation ) :
13
17
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
+
17
22
* [ #4062 ] ( https://github.com/sebastianbergmann/phpunit/issues/4062 ) : ` TestCase::assertNotIsReadable() ` (since PHPUnit 9.1.0)
18
23
* [ #4065 ] ( https://github.com/sebastianbergmann/phpunit/issues/4065 ) : ` TestCase::assertNotIsWritable() ` (since PHPUnit 9.1.0)
19
24
* [ #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
25
30
* [ #4086 ] ( https://github.com/sebastianbergmann/phpunit/issues/4086 ) : ` TestCase::assertRegExp() ` (since PHPUnit 9.1.0)
26
31
* [ #4089 ] ( https://github.com/sebastianbergmann/phpunit/issues/4089 ) : ` TestCase::assertNotRegExp() ` (since PHPUnit 9.1.0)
27
32
* [ #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)
31
33
* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` TestCase::assertClassHasAttribute() ` (since PHPUnit 9.6.1)
32
34
* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` TestCase::assertClassNotHasAttribute() ` (since PHPUnit 9.6.1)
33
35
* [ #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
40
42
* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` ClassHasAttribute ` (since PHPUnit 9.6.1)
41
43
* [ #4601 ] ( https://github.com/sebastianbergmann/phpunit/issues/4601 ) : ` ClassHasStaticAttribute ` (since PHPUnit 9.6.1)
42
44
* [ #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)
45
45
* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectDeprecation() ` (since PHPUnit 9.6.0)
46
46
* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectDeprecationMessage() ` (since PHPUnit 9.6.0)
47
47
* [ #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
54
54
* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectWarning() ` (since PHPUnit 9.6.0)
55
55
* [ #5062 ] ( https://github.com/sebastianbergmann/phpunit/issues/5062 ) : ` TestCase::expectWarningMessage() ` (since PHPUnit 9.6.0)
56
56
* [ #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)
59
63
* ` TestCase::getMockClass() ` (since PHPUnit 9.6.0)
60
64
* ` InvocationMocker::withConsecutive() ` (since PHPUnit 9.6.0)
61
65
* ` 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