@@ -8,33 +8,33 @@ This functionality is currently [soft-deprecated](https://phpunit.de/backward-co
8
8
9
9
#### Test Double API
10
10
11
- | Issue | Description | Since | Replacement |
12
- | -------------------------------------------------------------------| ---------------------------------------------------| --------| -------------|
13
- | [ #5240 ] ( https://github.com/sebastianbergmann/phpunit/issues/5240 ) | ` TestCase::createTestProxy() ` | 10.1.0 | |
14
- | [ #5241 ] ( https://github.com/sebastianbergmann/phpunit/issues/5241 ) | ` TestCase::getMockForAbstractClass() ` | 10.1.0 | |
15
- | [ #5242 ] ( https://github.com/sebastianbergmann/phpunit/issues/5242 ) | ` TestCase::getMockFromWsdl() ` | 10.1.0 | |
16
- | [ #5243 ] ( https://github.com/sebastianbergmann/phpunit/issues/5243 ) | ` TestCase::getMockForTrait() ` | 10.1.0 | |
17
- | [ #5244 ] ( https://github.com/sebastianbergmann/phpunit/issues/5244 ) | ` TestCase::getObjectForTrait() ` | 10.1.0 | |
18
- | [ #5305 ] ( https://github.com/sebastianbergmann/phpunit/issues/5305 ) | ` MockBuilder::getMockForAbstractClass() ` | 10.1.0 | |
19
- | [ #5306 ] ( https://github.com/sebastianbergmann/phpunit/issues/5306 ) | ` MockBuilder::getMockForTrait() ` | 10.1.0 | |
20
- | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::disableProxyingToOriginalMethods() ` | 10.1.0 | |
21
- | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::enableProxyingToOriginalMethods() ` | 10.1.0 | |
22
- | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::setProxyTarget() ` | 10.1.0 | |
23
- | [ #5308 ] ( https://github.com/sebastianbergmann/phpunit/issues/5308 ) | ` MockBuilder::allowMockingUnknownTypes() ` | 10.1.0 | |
24
- | [ #5308 ] ( https://github.com/sebastianbergmann/phpunit/issues/5308 ) | ` MockBuilder::disallowMockingUnknownTypes() ` | 10.1.0 | |
25
- | [ #5309 ] ( https://github.com/sebastianbergmann/phpunit/issues/5309 ) | ` MockBuilder::disableAutoload() ` | 10.1.0 | |
26
- | [ #5309 ] ( https://github.com/sebastianbergmann/phpunit/issues/5309 ) | ` MockBuilder::enableAutoload() ` | 10.1.0 | |
27
- | [ #5315 ] ( https://github.com/sebastianbergmann/phpunit/issues/5315 ) | ` MockBuilder::disableArgumentCloning() ` | 10.1.0 | |
28
- | [ #5315 ] ( https://github.com/sebastianbergmann/phpunit/issues/5315 ) | ` MockBuilder::enableArgumentCloning() ` | 10.1.0 | |
29
- | [ #5320 ] ( https://github.com/sebastianbergmann/phpunit/issues/5320 ) | ` MockBuilder::addMethods() ` | 10.1.0 | |
30
- | [ #5421 ] ( https://github.com/sebastianbergmann/phpunit/issues/5421 ) | ` MockBuilder::disableAutoReturnValueGeneration() ` | 10.3.0 | |
31
- | [ #5421 ] ( https://github.com/sebastianbergmann/phpunit/issues/5421 ) | ` MockBuilder::enableAutoReturnValueGeneration() ` | 10.3.0 | |
32
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::onConsecutiveCalls() ` | 10.3.0 | |
33
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnArgument() ` | 10.3.0 | |
34
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnCallback() ` | 10.3.0 | |
35
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnSelf() ` | 10.3.0 | |
36
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnValue() ` | 10.3.0 | |
37
- | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnValueMap() ` | 10.3.0 | |
11
+ | Issue | Description | Since | Replacement |
12
+ | -------------------------------------------------------------------| ---------------------------------------------------| --------| ----------------------------------------------------------------------------------------- |
13
+ | [ #5240 ] ( https://github.com/sebastianbergmann/phpunit/issues/5240 ) | ` TestCase::createTestProxy() ` | 10.1.0 | |
14
+ | [ #5241 ] ( https://github.com/sebastianbergmann/phpunit/issues/5241 ) | ` TestCase::getMockForAbstractClass() ` | 10.1.0 | |
15
+ | [ #5242 ] ( https://github.com/sebastianbergmann/phpunit/issues/5242 ) | ` TestCase::getMockFromWsdl() ` | 10.1.0 | |
16
+ | [ #5243 ] ( https://github.com/sebastianbergmann/phpunit/issues/5243 ) | ` TestCase::getMockForTrait() ` | 10.1.0 | |
17
+ | [ #5244 ] ( https://github.com/sebastianbergmann/phpunit/issues/5244 ) | ` TestCase::getObjectForTrait() ` | 10.1.0 | |
18
+ | [ #5305 ] ( https://github.com/sebastianbergmann/phpunit/issues/5305 ) | ` MockBuilder::getMockForAbstractClass() ` | 10.1.0 | |
19
+ | [ #5306 ] ( https://github.com/sebastianbergmann/phpunit/issues/5306 ) | ` MockBuilder::getMockForTrait() ` | 10.1.0 | |
20
+ | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::disableProxyingToOriginalMethods() ` | 10.1.0 | |
21
+ | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::enableProxyingToOriginalMethods() ` | 10.1.0 | |
22
+ | [ #5307 ] ( https://github.com/sebastianbergmann/phpunit/issues/5307 ) | ` MockBuilder::setProxyTarget() ` | 10.1.0 | |
23
+ | [ #5308 ] ( https://github.com/sebastianbergmann/phpunit/issues/5308 ) | ` MockBuilder::allowMockingUnknownTypes() ` | 10.1.0 | |
24
+ | [ #5308 ] ( https://github.com/sebastianbergmann/phpunit/issues/5308 ) | ` MockBuilder::disallowMockingUnknownTypes() ` | 10.1.0 | |
25
+ | [ #5309 ] ( https://github.com/sebastianbergmann/phpunit/issues/5309 ) | ` MockBuilder::disableAutoload() ` | 10.1.0 | |
26
+ | [ #5309 ] ( https://github.com/sebastianbergmann/phpunit/issues/5309 ) | ` MockBuilder::enableAutoload() ` | 10.1.0 | |
27
+ | [ #5315 ] ( https://github.com/sebastianbergmann/phpunit/issues/5315 ) | ` MockBuilder::disableArgumentCloning() ` | 10.1.0 | |
28
+ | [ #5315 ] ( https://github.com/sebastianbergmann/phpunit/issues/5315 ) | ` MockBuilder::enableArgumentCloning() ` | 10.1.0 | |
29
+ | [ #5320 ] ( https://github.com/sebastianbergmann/phpunit/issues/5320 ) | ` MockBuilder::addMethods() ` | 10.1.0 | |
30
+ | [ #5421 ] ( https://github.com/sebastianbergmann/phpunit/issues/5421 ) | ` MockBuilder::disableAutoReturnValueGeneration() ` | 10.3.0 | |
31
+ | [ #5421 ] ( https://github.com/sebastianbergmann/phpunit/issues/5421 ) | ` MockBuilder::enableAutoReturnValueGeneration() ` | 10.3.0 | |
32
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::onConsecutiveCalls() ` | 10.3.0 | Use ` $double->willReturn() ` instead of ` $double->will($this->onConsecutiveCalls()) ` |
33
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnArgument() ` | 10.3.0 | Use ` $double->willReturnArgument() ` instead of ` $double->will($this->returnArgument()) ` |
34
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnCallback() ` | 10.3.0 | Use ` $double->willReturnCallback() ` instead of ` $double->will($this->returnCallback()) ` |
35
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnSelf() ` | 10.3.0 | Use ` $double->willReturnSelf() ` instead of ` $double->will($this->returnSelf()) ` |
36
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnValue() ` | 10.3.0 | Use ` $double->willReturn() ` instead of ` $double->will($this->returnValue()) ` |
37
+ | [ #5423 ] ( https://github.com/sebastianbergmann/phpunit/issues/5423 ) | ` TestCase::returnValueMap() ` | 10.3.0 | Use ` $double->willReturnMap() ` instead of ` $double->will($this->returnValueMap()) ` |
38
38
39
39
#### Miscellaneous
40
40
0 commit comments