symfony/demo

Bug: there's no setException method in ExceptionEvent

bohanyang opened this issue · 1 comments

$event->setException(new \Exception('PHP extension "sqlite3" must be enabled because, by default, the Symfony Demo application uses SQLite to store its information.'));

Uncaught PHP Exception Symfony\Component\ErrorHandler\Error\UndefinedMethodError: "Attempted to call an undefined method named "setException" of class "Symfony\Component\HttpKernel\Event\ExceptionEvent"." at D:\home\site\wwwroot\src\EventSubscriber\CheckRequirementsSubscriber.php line 88

see #1116