{"action":"closed","issue":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3401","repository_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3401/labels{/name}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3401/comments","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/3401/events","html_url":"https://github.com/sonata-project/SonataAdminBundle/issues/3401","id":114826650,"number":3401,"title":"Issues with the deprecated initRuntime() Twig method","user":{"login":"javiereguiluz","id":73419,"avatar_url":"https://avatars.githubusercontent.com/u/73419?v=3","gravatar_id":"","url":"https://api.github.com/users/javiereguiluz","html_url":"https://github.com/javiereguiluz","followers_url":"https://api.github.com/users/javiereguiluz/followers","following_url":"https://api.github.com/users/javiereguiluz/following{/other_user}","gists_url":"https://api.github.com/users/javiereguiluz/gists{/gist_id}","starred_url":"https://api.github.com/users/javiereguiluz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javiereguiluz/subscriptions","organizations_url":"https://api.github.com/users/javiereguiluz/orgs","repos_url":"https://api.github.com/users/javiereguiluz/repos","events_url":"https://api.github.com/users/javiereguiluz/events{/privacy}","received_events_url":"https://api.github.com/users/javiereguiluz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-03T14:18:32Z","updated_at":"2016-06-08T17:44:55Z","closed_at":"2016-06-08T17:44:55Z","body":"I'm getting this deprecation message while upgrading a Symfony app to 2.8:\r\n\r\n```\r\nDefining the initRuntime() method in an extension is deprecated. Use\r\nthe `needs_environment` option to get the Twig_Environment instance\r\nin filters, functions, or tests; or explicitly implement\r\nTwig_Extension_InitRuntimeInterface if needed (not recommended)\r\n```\r\n\r\nThe problem is located here: https://github.com/sonata-project/SonataAdminBundle/blob/master/Twig/Extension/SonataAdminExtension.php#L57"}}
{"actor":{"display_login":"javiereguiluz"}}