{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/comments/37504119","id":37504119,"diff_hunk":"@@ -29,34 +30,38 @@\n class OAuthListener implements ListenerInterface\n {\n     /**\n-     * @var \\Symfony\\Component\\Security\\Core\\SecurityContextInterface\n+     * @var TokenStorageInterface|SecurityContextInterface\n      */\n-    protected $securityContext;\n+    protected $tokenStorage;","path":"Security/Firewall/OAuthListener.php","position":null,"original_position":16,"commit_id":"76304beff465c82f6bf89ee168480a635425b234","original_commit_id":"526d4b3bf9e5f32c434036071deb27719b67a425","user":{"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},"body":"I restore property with a deprecated tag. Tell me if it looks good to you.","created_at":"2015-08-20T08:03:16Z","updated_at":"2015-08-20T08:03:16Z","html_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315#discussion_r37504119","pull_request_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/comments/37504119"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315#discussion_r37504119"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315","id":34183994,"html_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315","diff_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/315","number":315,"state":"open","locked":false,"title":"Fix deprecated SecurityContextInterface usage","user":{"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},"body":"This PR fix deprecated SecurityContextInterface usage, introduce since Symfony 2.6.\r\n\r\nSymfony 2.3+ BC kept.\r\n\r\n@willdurand @stof Have you any suggestion of how handle it easily? Thanks.","created_at":"2015-04-27T16:07:59Z","updated_at":"2015-08-20T08:03:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1070bcad717c7469a39009294ffe3d28a8da80ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/315/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/statuses/76304beff465c82f6bf89ee168480a635425b234","head":{"label":"Soullivaneuh:security-context","ref":"security-context","sha":"76304beff465c82f6bf89ee168480a635425b234","user":{"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},"repo":{"id":34022606,"name":"FOSOAuthServerBundle","full_name":"Soullivaneuh/FOSOAuthServerBundle","owner":{"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},"private":false,"html_url":"https://github.com/Soullivaneuh/FOSOAuthServerBundle","description":"A server side OAuth2 Bundle for Symfony2","fork":true,"url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle","forks_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/forks","keys_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/teams","hooks_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/hooks","issue_events_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/issues/events{/number}","events_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/events","assignees_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/assignees{/user}","branches_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/branches{/branch}","tags_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/tags","blobs_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/languages","stargazers_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/stargazers","contributors_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/contributors","subscribers_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/subscribers","subscription_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/subscription","commits_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/contents/{+path}","compare_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/merges","archive_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/downloads","issues_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/issues{/number}","pulls_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/labels{/name}","releases_url":"https://api.github.com/repos/Soullivaneuh/FOSOAuthServerBundle/releases{/id}","created_at":"2015-04-15T22:53:22Z","updated_at":"2015-04-27T12:24:19Z","pushed_at":"2015-08-20T08:02:42Z","git_url":"git://github.com/Soullivaneuh/FOSOAuthServerBundle.git","ssh_url":"git@github.com:Soullivaneuh/FOSOAuthServerBundle.git","clone_url":"https://github.com/Soullivaneuh/FOSOAuthServerBundle.git","svn_url":"https://github.com/Soullivaneuh/FOSOAuthServerBundle","homepage":"","size":526,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfSymfony:master","ref":"master","sha":"0c72d8baf707dce59c59a4daa1549c06e510bbed","user":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"repo":{"id":2868510,"name":"FOSOAuthServerBundle","full_name":"FriendsOfSymfony/FOSOAuthServerBundle","owner":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle","description":"A server side OAuth2 Bundle for Symfony2","fork":false,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle","forks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/releases{/id}","created_at":"2011-11-28T16:46:32Z","updated_at":"2015-08-18T13:06:33Z","pushed_at":"2015-08-20T08:02:43Z","git_url":"git://github.com/FriendsOfSymfony/FOSOAuthServerBundle.git","ssh_url":"git@github.com:FriendsOfSymfony/FOSOAuthServerBundle.git","clone_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle.git","svn_url":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle","homepage":"","size":1186,"stargazers_count":466,"watchers_count":466,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":155,"mirror_url":null,"open_issues_count":88,"forks":155,"open_issues":88,"watchers":466,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/pull/315"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/315"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/issues/315/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/pulls/315/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSOAuthServerBundle/statuses/76304beff465c82f6bf89ee168480a635425b234"}}}}