| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class MonologErrorHandlerTest extends SapphireTest |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @expectedException \InvalidArgumentException |
||
| 13 | * @expectedExceptionMessageRegExp /No Logger properties passed to MonologErrorHandler/ |
||
| 14 | */ |
||
| 15 | public function testStartThrowsExceptionWithoutLoggerDefined() |
||
| 16 | { |
||
| 17 | $handler = new MonologErrorHandler(); |
||
| 18 | $handler->start(); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testSetLoggerResetsStack() |
||
| 35 | } |
||
| 36 | } |
||
| 37 |
This function has been deprecated. The supplier of the function has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead.