{"action":"closed","issue":{"url":"https://api.github.com/repos/MWSimple/AdminCrudBundle/issues/55","repository_url":"https://api.github.com/repos/MWSimple/AdminCrudBundle","labels_url":"https://api.github.com/repos/MWSimple/AdminCrudBundle/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/MWSimple/AdminCrudBundle/issues/55/comments","events_url":"https://api.github.com/repos/MWSimple/AdminCrudBundle/issues/55/events","html_url":"https://github.com/MWSimple/AdminCrudBundle/issues/55","id":163162928,"number":55,"title":"[Insight] The Symfony Dependency Injection Container should not be passed as an argument - in Services/Twig.php, line 16","user":{"login":"gonzakpo","id":1031176,"avatar_url":"https://avatars.githubusercontent.com/u/1031176?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzakpo","html_url":"https://github.com/gonzakpo","followers_url":"https://api.github.com/users/gonzakpo/followers","following_url":"https://api.github.com/users/gonzakpo/following{/other_user}","gists_url":"https://api.github.com/users/gonzakpo/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzakpo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzakpo/subscriptions","organizations_url":"https://api.github.com/users/gonzakpo/orgs","repos_url":"https://api.github.com/users/gonzakpo/repos","events_url":"https://api.github.com/users/gonzakpo/events{/privacy}","received_events_url":"https://api.github.com/users/gonzakpo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-30T13:17:14Z","updated_at":"2016-06-30T13:19:43Z","closed_at":"2016-06-30T13:19:43Z","body":"**[in Services/Twig.php, line 16](https://github.com/MWSimple/AdminCrudBundle/blob/34fae8cc04465c114588601d9e12fe60828d748d/Services/Twig.php#L16)**\r\n\r\n> A Symfony dependency injection container has been found as an argument.\r\n\r\n```php\r\n\r\nclass Twig extends \\Twig_Extension\r\n{\r\n    protected $container;\r\n\r\n    public function __construct(ContainerInterface $container = null)\r\n    {\r\n        $this->container = $container;\r\n    }\r\n\r\n    public function getFunctions()\r\n```\r\n\r\n---------------------\r\n\r\n_Posted from [SensioLabsInsight](https://insight.sensiolabs.com/projects/4bd204f1-2be2-4022-8a2e-6b70c0065cba/analyses/16)_"}}
{"actor":{"display_login":"gonzakpo"}}