{"action":"opened","number":2952,"pull_request":{"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952","id":34125151,"html_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2952","diff_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2952.diff","patch_url":"https://github.com/sonata-project/SonataAdminBundle/pull/2952.patch","issue_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2952","number":2952,"state":"open","locked":false,"title":"Use \"request_stack\" service instead ```Controller::getRequest()```","user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"body":"Use \"request_stack\" service instead ```Controller::getRequest()``` in Symfony 2.4+, which is deprecated\r\n\r\n| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets |\r\n| License       | MIT\r\n| Doc PR        | n/a","created_at":"2015-04-26T15:55:18Z","updated_at":"2015-04-26T15:55:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952/commits","review_comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952/comments","review_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2952/comments","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/9c361ae1a284eb9049cf973a94988e5f7e64181f","head":{"label":"phansys:get_request","ref":"get_request","sha":"9c361ae1a284eb9049cf973a94988e5f7e64181f","user":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"repo":{"id":5166310,"name":"SonataAdminBundle","full_name":"phansys/SonataAdminBundle","owner":{"login":"phansys","id":1231441,"avatar_url":"https://avatars.githubusercontent.com/u/1231441?v=3","gravatar_id":"","url":"https://api.github.com/users/phansys","html_url":"https://github.com/phansys","followers_url":"https://api.github.com/users/phansys/followers","following_url":"https://api.github.com/users/phansys/following{/other_user}","gists_url":"https://api.github.com/users/phansys/gists{/gist_id}","starred_url":"https://api.github.com/users/phansys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phansys/subscriptions","organizations_url":"https://api.github.com/users/phansys/orgs","repos_url":"https://api.github.com/users/phansys/repos","events_url":"https://api.github.com/users/phansys/events{/privacy}","received_events_url":"https://api.github.com/users/phansys/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phansys/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":true,"url":"https://api.github.com/repos/phansys/SonataAdminBundle","forks_url":"https://api.github.com/repos/phansys/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/phansys/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phansys/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phansys/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/phansys/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/phansys/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/phansys/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/phansys/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/phansys/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/phansys/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/phansys/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phansys/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phansys/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/phansys/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phansys/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/phansys/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/phansys/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/phansys/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/phansys/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/phansys/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/phansys/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/phansys/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/phansys/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/phansys/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/phansys/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/phansys/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phansys/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/phansys/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phansys/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/phansys/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/phansys/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/phansys/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/phansys/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phansys/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/phansys/SonataAdminBundle/releases{/id}","created_at":"2012-07-24T14:07:50Z","updated_at":"2014-06-04T10:18:27Z","pushed_at":"2015-04-26T15:54:35Z","git_url":"git://github.com/phansys/SonataAdminBundle.git","ssh_url":"git@github.com:phansys/SonataAdminBundle.git","clone_url":"https://github.com/phansys/SonataAdminBundle.git","svn_url":"https://github.com/phansys/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":14118,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"2.0"}},"base":{"label":"sonata-project:master","ref":"master","sha":"b98f7273972886e7b89e5cbc7943ed2317839825","user":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"repo":{"id":1095228,"name":"SonataAdminBundle","full_name":"sonata-project/SonataAdminBundle","owner":{"login":"sonata-project","id":404157,"avatar_url":"https://avatars.githubusercontent.com/u/404157?v=3","gravatar_id":"","url":"https://api.github.com/users/sonata-project","html_url":"https://github.com/sonata-project","followers_url":"https://api.github.com/users/sonata-project/followers","following_url":"https://api.github.com/users/sonata-project/following{/other_user}","gists_url":"https://api.github.com/users/sonata-project/gists{/gist_id}","starred_url":"https://api.github.com/users/sonata-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonata-project/subscriptions","organizations_url":"https://api.github.com/users/sonata-project/orgs","repos_url":"https://api.github.com/users/sonata-project/repos","events_url":"https://api.github.com/users/sonata-project/events{/privacy}","received_events_url":"https://api.github.com/users/sonata-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonata-project/SonataAdminBundle","description":"AdminBundle - The missing Symfony2 Admin Generator","fork":false,"url":"https://api.github.com/repos/sonata-project/SonataAdminBundle","forks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/forks","keys_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/teams","hooks_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/hooks","issue_events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/events","assignees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/tags","blobs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/languages","stargazers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/stargazers","contributors_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contributors","subscribers_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscribers","subscription_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/subscription","commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/merges","archive_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/downloads","issues_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/labels{/name}","releases_url":"https://api.github.com/repos/sonata-project/SonataAdminBundle/releases{/id}","created_at":"2010-11-19T17:08:52Z","updated_at":"2015-04-24T11:45:20Z","pushed_at":"2015-04-24T11:45:19Z","git_url":"git://github.com/sonata-project/SonataAdminBundle.git","ssh_url":"git@github.com:sonata-project/SonataAdminBundle.git","clone_url":"https://github.com/sonata-project/SonataAdminBundle.git","svn_url":"https://github.com/sonata-project/SonataAdminBundle","homepage":"http://sonata-project.org/bundles/admin","size":25532,"stargazers_count":1167,"watchers_count":1167,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":805,"mirror_url":null,"open_issues_count":410,"forks":805,"open_issues":410,"watchers":1167,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952"},"html":{"href":"https://github.com/sonata-project/SonataAdminBundle/pull/2952"},"issue":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2952"},"comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/issues/2952/comments"},"review_comments":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952/comments"},"review_comment":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/pulls/2952/commits"},"statuses":{"href":"https://api.github.com/repos/sonata-project/SonataAdminBundle/statuses/9c361ae1a284eb9049cf973a94988e5f7e64181f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":1,"changed_files":2}}