{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/comments/65041814","id":65041814,"diff_hunk":"@@ -22,11 +22,15 @@\n {\n     public function __construct($options = null)\n     {\n-        if($options['value'] == 'isValid' && !class_exists('Symfony\\Component\\Validator\\Context\\ExecutionContextInterface')) {\n-            $options['value'] = 'isVoteValid';\n+        if (isset($options['methods']) && is_array($options['methods'])) {\n+            foreach ($options['methods'] as &$method) {\n+                if($method === 'isValid' && !class_exists('Symfony\\Component\\Validator\\Context\\ExecutionContextInterface')) {","path":"Constraints/LegacyCallbackHelper.php","position":8,"original_position":8,"commit_id":"db228e723bd04e110e7ba6254dc9f5121fa5cfef","original_commit_id":"db228e723bd04e110e7ba6254dc9f5121fa5cfef","user":{"login":"XWB","id":1032281,"avatar_url":"https://avatars.githubusercontent.com/u/1032281?v=3","gravatar_id":"","url":"https://api.github.com/users/XWB","html_url":"https://github.com/XWB","followers_url":"https://api.github.com/users/XWB/followers","following_url":"https://api.github.com/users/XWB/following{/other_user}","gists_url":"https://api.github.com/users/XWB/gists{/gist_id}","starred_url":"https://api.github.com/users/XWB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XWB/subscriptions","organizations_url":"https://api.github.com/users/XWB/orgs","repos_url":"https://api.github.com/users/XWB/repos","events_url":"https://api.github.com/users/XWB/events{/privacy}","received_events_url":"https://api.github.com/users/XWB/received_events","type":"User","site_admin":false},"body":"Please add a space after the `if`.","created_at":"2016-05-30T08:41:44Z","updated_at":"2016-05-30T08:41:44Z","html_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535#discussion_r65041814","pull_request_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/comments/65041814"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535#discussion_r65041814"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535","id":71747283,"html_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535","diff_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535.diff","patch_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/535","number":535,"state":"open","locked":false,"title":"Fix an error","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"body":"see https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/512#issuecomment-220064380","created_at":"2016-05-27T17:33:25Z","updated_at":"2016-05-30T08:41:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"234e147cb338cdfb1ed93bd278be2dd07d9a65b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/535/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/statuses/db228e723bd04e110e7ba6254dc9f5121fa5cfef","head":{"label":"Ener-Getick:FIX","ref":"FIX","sha":"db228e723bd04e110e7ba6254dc9f5121fa5cfef","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"repo":{"id":59851880,"name":"FOSCommentBundle","full_name":"Ener-Getick/FOSCommentBundle","owner":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Ener-Getick/FOSCommentBundle","description":"Threaded comments for Symfony2","fork":true,"url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle","forks_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/forks","keys_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/teams","hooks_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/hooks","issue_events_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/issues/events{/number}","events_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/events","assignees_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/assignees{/user}","branches_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/branches{/branch}","tags_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/tags","blobs_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/languages","stargazers_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/stargazers","contributors_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/contributors","subscribers_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/subscribers","subscription_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/subscription","commits_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/contents/{+path}","compare_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/merges","archive_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/downloads","issues_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/issues{/number}","pulls_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/labels{/name}","releases_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/releases{/id}","deployments_url":"https://api.github.com/repos/Ener-Getick/FOSCommentBundle/deployments","created_at":"2016-05-27T17:29:17Z","updated_at":"2016-05-27T17:29:18Z","pushed_at":"2016-05-27T17:59:20Z","git_url":"git://github.com/Ener-Getick/FOSCommentBundle.git","ssh_url":"git@github.com:Ener-Getick/FOSCommentBundle.git","clone_url":"https://github.com/Ener-Getick/FOSCommentBundle.git","svn_url":"https://github.com/Ener-Getick/FOSCommentBundle","homepage":"http://friendsofsymfony.github.com/","size":1398,"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":"33ceb8665eaa087ce4368ed26814ef2d69d8f806","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":1472259,"name":"FOSCommentBundle","full_name":"FriendsOfSymfony/FOSCommentBundle","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/FOSCommentBundle","description":"Threaded comments for Symfony2","fork":false,"url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle","forks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/releases{/id}","deployments_url":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/deployments","created_at":"2011-03-12T18:17:37Z","updated_at":"2016-05-27T06:43:52Z","pushed_at":"2016-05-27T17:59:20Z","git_url":"git://github.com/FriendsOfSymfony/FOSCommentBundle.git","ssh_url":"git@github.com:FriendsOfSymfony/FOSCommentBundle.git","clone_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle.git","svn_url":"https://github.com/FriendsOfSymfony/FOSCommentBundle","homepage":"http://friendsofsymfony.github.com/","size":1664,"stargazers_count":353,"watchers_count":353,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":170,"mirror_url":null,"open_issues_count":65,"forks":170,"open_issues":65,"watchers":353,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535"},"html":{"href":"https://github.com/FriendsOfSymfony/FOSCommentBundle/pull/535"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/535"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/FOSCommentBundle/statuses/db228e723bd04e110e7ba6254dc9f5121fa5cfef"}}}}
{"actor":{"display_login":"XWB"}}