X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fhttp-kernel%2FEventListener%2FExceptionListener.php;fp=vendor%2Fsymfony%2Fhttp-kernel%2FEventListener%2FExceptionListener.php;h=cf3a2f0a530b85db69220d31a70cd12b02dbb462;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=1c50ef4acad512c181409af36a8370a6caedb618;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/vendor/symfony/http-kernel/EventListener/ExceptionListener.php b/vendor/symfony/http-kernel/EventListener/ExceptionListener.php index 1c50ef4ac..cf3a2f0a5 100644 --- a/vendor/symfony/http-kernel/EventListener/ExceptionListener.php +++ b/vendor/symfony/http-kernel/EventListener/ExceptionListener.php @@ -107,10 +107,6 @@ class ExceptionListener implements EventSubscriberInterface '_controller' => $this->controller, 'exception' => FlattenException::create($exception), 'logger' => $this->logger instanceof DebugLoggerInterface ? $this->logger : null, - // keep for BC -- as $format can be an argument of the controller callable - // see src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.php - // @deprecated since version 2.4, to be removed in 3.0 - 'format' => $request->getRequestFormat(), ); $request = $request->duplicate(null, null, $attributes); $request->setMethod('GET');