Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Insight] Deprecated class usage found - in Bundle/…/ExceptionController.php, line 40 #243

Closed
talbotseb opened this issue Oct 23, 2015 · 0 comments
Assignees

Comments

@talbotseb
Copy link

in Bundle/TwigBundle/Controller/ExceptionController.php, line 40

The Symfony\Component\HttpKernel\Exception\FlattenException class has been deprecated in Symfony 2.3. Use the Symfony\Component\Debug\Exception\FlattenException class instead.

     *
     * @throws \InvalidArgumentException When the exception template does not exist
     *
     * @return Response
     */
    public function showAction(Request $request, FlattenException $exception, DebugLoggerInterface $logger = null, $_format = 'html')
    {
        $currentContent = $this->getAndCleanOutputBuffering($request->headers->get('X-Php-Ob-Level', -1));
        $code = $exception->getStatusCode();

        //get request extension

Posted from SensioLabsInsight

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants