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 1710460 commit 9b2761bCopy full SHA for 9b2761b
test/EventListener/ExceptionListenerTest.php
@@ -461,6 +461,10 @@ public function test_that_it_captures_exception()
461
*/
462
public function test_that_it_captures_console_exception(?Command $mockCommand, string $expectedCommandName)
463
{
464
+ if (! class_exists('Symfony\Component\Console\Event\ConsoleExceptionEvent')) {
465
+ $this->markTestSkipped('ConsoleExceptionEvent does not exist anymore on Symfony 4');
466
+ }
467
+
468
if (null === $mockCommand) {
469
$this->markTestSkipped('Command missing is not possibile with ConsoleExceptionEvent');
470
}
0 commit comments