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] Missing use statement should be avoided - in Controller/BackendController.php, line 56 #106

Open
gonzaloalonsod opened this issue Sep 7, 2017 · 0 comments

Comments

@gonzaloalonsod
Copy link
Contributor

in Controller/BackendController.php, line 56

The Exception class resolves to the following classes: Imagine\Exception\Exception or Symfony\Component\Config\Definition\Exception\Exception or Ivory\CKEditorBundle\Exception\Exception.
Did you forget to add a corresponding use statement for one of them?

                        $entity->$fieldname_set(true);
                    }

                    $em->flush();
                    $res = true;
                } catch (Exception $e) {}
            }
        }

        $response = new JsonResponse();
        $response->setData($res);

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

1 participant