We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1876a3 + a8aa21b commit 592715fCopy full SHA for 592715f
Tests/EventListener/DebugHandlersListenerTest.php
@@ -47,9 +47,10 @@ public function testConfigure()
47
try {
48
$listener->configure();
49
} catch (\Exception $exception) {
50
+ } finally {
51
+ restore_exception_handler();
52
+ restore_error_handler();
53
}
- restore_exception_handler();
- restore_error_handler();
54
55
if (null !== $exception) {
56
throw $exception;
@@ -113,9 +114,10 @@ public function testConsoleEvent()
113
114
115
$dispatcher->dispatch($event, ConsoleEvents::COMMAND);
116
117
118
119
120
121
122
123
0 commit comments