{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments/31522640","id":31522640,"diff_hunk":"@@ -200,13 +200,12 @@ public function read(RestRouteCollection $collection, \\ReflectionMethod $method,\n                 $condition    = null;\n \n                 $annoRequirements = $annotation->getRequirements();\n+                $annoMethods = $annotation->getMethods();\n \n-                if (isset($annoRequirements['_method'])) {","path":"Routing/Loader/Reader/RestActionReader.php","position":6,"original_position":6,"commit_id":"0a6971d53a036c073ca8ababb74d99b58dca61bd","original_commit_id":"0a6971d53a036c073ca8ababb74d99b58dca61bd","user":{"login":"stof","id":439401,"avatar_url":"https://avatars.githubusercontent.com/u/439401?v=3","gravatar_id":"","url":"https://api.github.com/users/stof","html_url":"https://github.com/stof","followers_url":"https://api.github.com/users/stof/followers","following_url":"https://api.github.com/users/stof/following{/other_user}","gists_url":"https://api.github.com/users/stof/gists{/gist_id}","starred_url":"https://api.github.com/users/stof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stof/subscriptions","organizations_url":"https://api.github.com/users/stof/orgs","repos_url":"https://api.github.com/users/stof/repos","events_url":"https://api.github.com/users/stof/events{/privacy}","received_events_url":"https://api.github.com/users/stof/received_events","type":"User","site_admin":false},"body":"there is another place using ``_method`` in this file","created_at":"2015-06-02T13:39:03Z","updated_at":"2015-06-02T13:39:03Z","html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054#discussion_r31522640","pull_request_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments/31522640"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054#discussion_r31522640"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054","id":36728661,"html_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054","diff_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1054","number":1054,"state":"open","locked":false,"title":"Fixed deprecated _method errors","user":{"login":"Padam87","id":776488,"avatar_url":"https://avatars.githubusercontent.com/u/776488?v=3","gravatar_id":"","url":"https://api.github.com/users/Padam87","html_url":"https://github.com/Padam87","followers_url":"https://api.github.com/users/Padam87/followers","following_url":"https://api.github.com/users/Padam87/following{/other_user}","gists_url":"https://api.github.com/users/Padam87/gists{/gist_id}","starred_url":"https://api.github.com/users/Padam87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Padam87/subscriptions","organizations_url":"https://api.github.com/users/Padam87/orgs","repos_url":"https://api.github.com/users/Padam87/repos","events_url":"https://api.github.com/users/Padam87/events{/privacy}","received_events_url":"https://api.github.com/users/Padam87/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | #1051 \r\n| License       | MIT","created_at":"2015-06-02T13:35:34Z","updated_at":"2015-06-02T13:39:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"01a81875063ed5a84057f70056064524a5ca1cf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1054/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/0a6971d53a036c073ca8ababb74d99b58dca61bd","head":{"label":"Padam87:deprecated-fix","ref":"deprecated-fix","sha":"0a6971d53a036c073ca8ababb74d99b58dca61bd","user":{"login":"Padam87","id":776488,"avatar_url":"https://avatars.githubusercontent.com/u/776488?v=3","gravatar_id":"","url":"https://api.github.com/users/Padam87","html_url":"https://github.com/Padam87","followers_url":"https://api.github.com/users/Padam87/followers","following_url":"https://api.github.com/users/Padam87/following{/other_user}","gists_url":"https://api.github.com/users/Padam87/gists{/gist_id}","starred_url":"https://api.github.com/users/Padam87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Padam87/subscriptions","organizations_url":"https://api.github.com/users/Padam87/orgs","repos_url":"https://api.github.com/users/Padam87/repos","events_url":"https://api.github.com/users/Padam87/events{/privacy}","received_events_url":"https://api.github.com/users/Padam87/received_events","type":"User","site_admin":false},"repo":{"id":36723406,"name":"FOSRestBundle","full_name":"Padam87/FOSRestBundle","owner":{"login":"Padam87","id":776488,"avatar_url":"https://avatars.githubusercontent.com/u/776488?v=3","gravatar_id":"","url":"https://api.github.com/users/Padam87","html_url":"https://github.com/Padam87","followers_url":"https://api.github.com/users/Padam87/followers","following_url":"https://api.github.com/users/Padam87/following{/other_user}","gists_url":"https://api.github.com/users/Padam87/gists{/gist_id}","starred_url":"https://api.github.com/users/Padam87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Padam87/subscriptions","organizations_url":"https://api.github.com/users/Padam87/orgs","repos_url":"https://api.github.com/users/Padam87/repos","events_url":"https://api.github.com/users/Padam87/events{/privacy}","received_events_url":"https://api.github.com/users/Padam87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Padam87/FOSRestBundle","description":"This Bundle provides various tools to rapidly develop RESTful API's with Symfony2","fork":true,"url":"https://api.github.com/repos/Padam87/FOSRestBundle","forks_url":"https://api.github.com/repos/Padam87/FOSRestBundle/forks","keys_url":"https://api.github.com/repos/Padam87/FOSRestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Padam87/FOSRestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Padam87/FOSRestBundle/teams","hooks_url":"https://api.github.com/repos/Padam87/FOSRestBundle/hooks","issue_events_url":"https://api.github.com/repos/Padam87/FOSRestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/Padam87/FOSRestBundle/events","assignees_url":"https://api.github.com/repos/Padam87/FOSRestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/Padam87/FOSRestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/Padam87/FOSRestBundle/tags","blobs_url":"https://api.github.com/repos/Padam87/FOSRestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Padam87/FOSRestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Padam87/FOSRestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Padam87/FOSRestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Padam87/FOSRestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/Padam87/FOSRestBundle/languages","stargazers_url":"https://api.github.com/repos/Padam87/FOSRestBundle/stargazers","contributors_url":"https://api.github.com/repos/Padam87/FOSRestBundle/contributors","subscribers_url":"https://api.github.com/repos/Padam87/FOSRestBundle/subscribers","subscription_url":"https://api.github.com/repos/Padam87/FOSRestBundle/subscription","commits_url":"https://api.github.com/repos/Padam87/FOSRestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Padam87/FOSRestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Padam87/FOSRestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Padam87/FOSRestBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Padam87/FOSRestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/Padam87/FOSRestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Padam87/FOSRestBundle/merges","archive_url":"https://api.github.com/repos/Padam87/FOSRestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Padam87/FOSRestBundle/downloads","issues_url":"https://api.github.com/repos/Padam87/FOSRestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/Padam87/FOSRestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/Padam87/FOSRestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/Padam87/FOSRestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Padam87/FOSRestBundle/labels{/name}","releases_url":"https://api.github.com/repos/Padam87/FOSRestBundle/releases{/id}","created_at":"2015-06-02T09:41:34Z","updated_at":"2015-06-02T09:41:35Z","pushed_at":"2015-06-02T13:35:19Z","git_url":"git://github.com/Padam87/FOSRestBundle.git","ssh_url":"git@github.com:Padam87/FOSRestBundle.git","clone_url":"https://github.com/Padam87/FOSRestBundle.git","svn_url":"https://github.com/Padam87/FOSRestBundle","homepage":"http://friendsofsymfony.github.com/","size":6943,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfSymfony:master","ref":"master","sha":"2d13ee1a527d50dbd7c4289c62c67b21d6284db5","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":1509011,"name":"FOSRestBundle","full_name":"FriendsOfSymfony/FOSRestBundle","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/FOSRestBundle","description":"This Bundle provides various tools to rapidly develop RESTful API's with Symfony2","fork":false,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle","forks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/releases{/id}","created_at":"2011-03-21T23:14:13Z","updated_at":"2015-06-02T07:50:21Z","pushed_at":"2015-06-02T13:35:35Z","git_url":"git://github.com/FriendsOfSymfony/FOSRestBundle.git","ssh_url":"git@github.com:FriendsOfSymfony/FOSRestBundle.git","clone_url":"https://github.com/FriendsOfSymfony/FOSRestBundle.git","svn_url":"https://github.com/FriendsOfSymfony/FOSRestBundle","homepage":"http://friendsofsymfony.github.com/","size":6943,"stargazers_count":1143,"watchers_count":1143,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":459,"mirror_url":null,"open_issues_count":87,"forks":459,"open_issues":87,"watchers":1143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSRestBundle/pull/1054"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1054"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/issues/1054/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/pulls/1054/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSRestBundle/statuses/0a6971d53a036c073ca8ababb74d99b58dca61bd"}}}}