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.
1 parent 418e5d5 commit 826b083Copy full SHA for 826b083
Tests/EventListener/DebugHandlersListenerTest.php
@@ -50,9 +50,10 @@ public function testConfigure()
50
try {
51
$listener->configure();
52
} catch (\Exception $exception) {
53
+ } finally {
54
+ restore_exception_handler();
55
+ restore_error_handler();
56
}
- restore_exception_handler();
- restore_error_handler();
57
58
if (null !== $exception) {
59
throw $exception;
@@ -116,9 +117,10 @@ public function testConsoleEvent()
116
117
118
$dispatcher->dispatch($event, ConsoleEvents::COMMAND);
119
120
121
122
123
124
125
126
0 commit comments