Deprecated
Table of Contents
| library/Mockery/Configuration.php |
| library/Mockery/Generator/Parameter.php |
| library/Mockery/LegacyMockInterface.php |
| library/Mockery/Matcher/MustBe.php |
| library/Mockery/Mock.php |
| library/Mockery.php |
Configuration.php
| Line | Element | Reason |
|---|---|---|
| 104 | Configuration::allowMockingMethodsUnnecessarily() | since 1.4.0 |
| 118 | Configuration::mockingMethodsUnnecessarilyAllowed() | since 1.4.0 |
Parameter.php
| Line | Element | Reason |
|---|---|---|
| 52 | Parameter::getClass() | since 1.3.3 and will be removed in 2.0. |
| 76 | Parameter::getTypeHintAsString() | since 1.3.2 and will be removed in 2.0. Use getTypeHint() instead. |
LegacyMockInterface.php
| Line | Element | Reason |
|---|---|---|
| 76 | LegacyMockInterface::shouldDeferMissing() | since 1.4.0. Please use makePartial() instead. |
MustBe.php
| Line | Element | Reason |
|---|---|---|
| 26 | MustBe | Due to ambiguity, use Hamcrest or PHPUnit equivalents |
Mock.php
| Line | Element | Reason |
|---|---|---|
| 365 | Mock::shouldDeferMissing() | Please use makePartial() instead |
Mockery.php
| Line | Element | Reason |
|---|---|---|
| 81 | Mockery::builtInTypes() | since 1.3.2 and will be removed in 2.0. |
| 103 | Mockery::isBuiltInType() | since 1.3.2 and will be removed in 2.0. |