{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/13939","labels_url":"https://api.github.com/repos/symfony/symfony/issues/13939/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/13939/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/13939/events","html_url":"https://github.com/symfony/symfony/pull/13939","id":62109647,"number":13939,"title":"[TWIG] App var: Changed deprecated SecurityContext","user":{"login":"Pierstoval","id":3369266,"avatar_url":"https://avatars.githubusercontent.com/u/3369266?v=3","gravatar_id":"","url":"https://api.github.com/users/Pierstoval","html_url":"https://github.com/Pierstoval","followers_url":"https://api.github.com/users/Pierstoval/followers","following_url":"https://api.github.com/users/Pierstoval/following{/other_user}","gists_url":"https://api.github.com/users/Pierstoval/gists{/gist_id}","starred_url":"https://api.github.com/users/Pierstoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pierstoval/subscriptions","organizations_url":"https://api.github.com/users/Pierstoval/orgs","repos_url":"https://api.github.com/users/Pierstoval/repos","events_url":"https://api.github.com/users/Pierstoval/events{/privacy}","received_events_url":"https://api.github.com/users/Pierstoval/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-16T15:08:58Z","updated_at":"2015-03-16T19:43:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/13939","html_url":"https://github.com/symfony/symfony/pull/13939","diff_url":"https://github.com/symfony/symfony/pull/13939.diff","patch_url":"https://github.com/symfony/symfony/pull/13939.patch"},"body":"As of [this deprecation](https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/Security/Core/SecurityContext.php#L14), shouldn't the `security.context` be changed to the new `security.token_storage` ?"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/81893785","html_url":"https://github.com/symfony/symfony/pull/13939#issuecomment-81893785","issue_url":"https://api.github.com/repos/symfony/symfony/issues/13939","id":81893785,"user":{"login":"xabbuh","id":1957048,"avatar_url":"https://avatars.githubusercontent.com/u/1957048?v=3","gravatar_id":"","url":"https://api.github.com/users/xabbuh","html_url":"https://github.com/xabbuh","followers_url":"https://api.github.com/users/xabbuh/followers","following_url":"https://api.github.com/users/xabbuh/following{/other_user}","gists_url":"https://api.github.com/users/xabbuh/gists{/gist_id}","starred_url":"https://api.github.com/users/xabbuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xabbuh/subscriptions","organizations_url":"https://api.github.com/users/xabbuh/orgs","repos_url":"https://api.github.com/users/xabbuh/repos","events_url":"https://api.github.com/users/xabbuh/events{/privacy}","received_events_url":"https://api.github.com/users/xabbuh/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T19:43:56Z","updated_at":"2015-03-16T19:43:56Z","body":"@Pierstoval Did you make sure to inject the token storage if you configured the service yourself (see https://github.com/Pierstoval/symfony/blob/patch-1/src/Symfony/Bundle/TwigBundle/Resources/config/twig.xml#L43 for how this is done in the Twig bundle)?"}}