{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/105056950","pull_request_review_id":25918570,"id":105056950,"diff_hunk":"@@ -416,7 +475,13 @@ function ($item) {\n                         $tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, ' ');\n                     }\n                 } else {\n-                    $tokens->ensureWhitespaceAtIndex($startBraceIndex - 1, 1, $this->whitespacesConfig->getLineEnding().$indent);\n+                    if ($this->configuration['position_after_functions_and_oop_constructs'] === self::LINE_SAME && !$tokens[$startBraceIndex - 2]->isGivenKind(T_COMMENT)) {","path":"src/Fixer/Basic/BracesFixer.php","position":126,"original_position":126,"commit_id":"c16c01dd7cdb4f5f606cb9a5666b756a55978e16","original_commit_id":"c16c01dd7cdb4f5f606cb9a5666b756a55978e16","user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars2.githubusercontent.com/u/2716794?v=3","gravatar_id":"","url":"https://api.github.com/users/keradus","html_url":"https://github.com/keradus","followers_url":"https://api.github.com/users/keradus/followers","following_url":"https://api.github.com/users/keradus/following{/other_user}","gists_url":"https://api.github.com/users/keradus/gists{/gist_id}","starred_url":"https://api.github.com/users/keradus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keradus/subscriptions","organizations_url":"https://api.github.com/users/keradus/orgs","repos_url":"https://api.github.com/users/keradus/repos","events_url":"https://api.github.com/users/keradus/events{/privacy}","received_events_url":"https://api.github.com/users/keradus/received_events","type":"User","site_admin":false},"body":"With you Yoda should be.","created_at":"2017-03-09T00:01:29Z","updated_at":"2017-03-09T00:01:29Z","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459#discussion_r105056950","pull_request_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/105056950"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459#discussion_r105056950"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459","id":101287938,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2459","number":2459,"state":"open","locked":false,"title":"BracesFixer – Add option for keeping opening brackets on the same line","user":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars2.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"body":"Initially, I intended to add separate options for classy constructs and functions but since most people probably want the same setting for both and having two options would mean need for even more tests, I have decided to stay with single config value.","created_at":"2017-01-12T16:02:56Z","updated_at":"2017-03-09T00:01:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd37ebbfc9e7c70d802052ba094cece883851fd2","assignee":{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars2.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false},"assignees":[{"login":"SpacePossum","id":10462973,"avatar_url":"https://avatars2.githubusercontent.com/u/10462973?v=3","gravatar_id":"","url":"https://api.github.com/users/SpacePossum","html_url":"https://github.com/SpacePossum","followers_url":"https://api.github.com/users/SpacePossum/followers","following_url":"https://api.github.com/users/SpacePossum/following{/other_user}","gists_url":"https://api.github.com/users/SpacePossum/gists{/gist_id}","starred_url":"https://api.github.com/users/SpacePossum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpacePossum/subscriptions","organizations_url":"https://api.github.com/users/SpacePossum/orgs","repos_url":"https://api.github.com/users/SpacePossum/repos","events_url":"https://api.github.com/users/SpacePossum/events{/privacy}","received_events_url":"https://api.github.com/users/SpacePossum/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459/comments","review_comment_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2459/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/c16c01dd7cdb4f5f606cb9a5666b756a55978e16","head":{"label":"jtojnar:feature-configurable-branches","ref":"feature-configurable-branches","sha":"c16c01dd7cdb4f5f606cb9a5666b756a55978e16","user":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars2.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"repo":{"id":78744641,"name":"PHP-CS-Fixer","full_name":"jtojnar/PHP-CS-Fixer","owner":{"login":"jtojnar","id":705123,"avatar_url":"https://avatars2.githubusercontent.com/u/705123?v=3","gravatar_id":"","url":"https://api.github.com/users/jtojnar","html_url":"https://github.com/jtojnar","followers_url":"https://api.github.com/users/jtojnar/followers","following_url":"https://api.github.com/users/jtojnar/following{/other_user}","gists_url":"https://api.github.com/users/jtojnar/gists{/gist_id}","starred_url":"https://api.github.com/users/jtojnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtojnar/subscriptions","organizations_url":"https://api.github.com/users/jtojnar/orgs","repos_url":"https://api.github.com/users/jtojnar/repos","events_url":"https://api.github.com/users/jtojnar/events{/privacy}","received_events_url":"https://api.github.com/users/jtojnar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jtojnar/PHP-CS-Fixer","description":"A tool to automatically fix PHP coding standards issues","fork":true,"url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/releases{/id}","deployments_url":"https://api.github.com/repos/jtojnar/PHP-CS-Fixer/deployments","created_at":"2017-01-12T12:47:55Z","updated_at":"2017-01-12T12:47:59Z","pushed_at":"2017-03-08T22:37:14Z","git_url":"git://github.com/jtojnar/PHP-CS-Fixer.git","ssh_url":"git@github.com:jtojnar/PHP-CS-Fixer.git","clone_url":"https://github.com/jtojnar/PHP-CS-Fixer.git","svn_url":"https://github.com/jtojnar/PHP-CS-Fixer","homepage":"http://cs.sensiolabs.org","size":7431,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"FriendsOfPHP:master","ref":"master","sha":"bc8adf94be600c3eba149fdd8df4cccbd6ed9aec","user":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars3.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":4344257,"name":"PHP-CS-Fixer","full_name":"FriendsOfPHP/PHP-CS-Fixer","owner":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars3.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer","description":"A tool to automatically fix PHP coding standards issues","fork":false,"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/releases{/id}","deployments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/deployments","created_at":"2012-05-16T06:42:23Z","updated_at":"2017-03-08T21:28:42Z","pushed_at":"2017-03-08T22:37:16Z","git_url":"git://github.com/FriendsOfPHP/PHP-CS-Fixer.git","ssh_url":"git@github.com:FriendsOfPHP/PHP-CS-Fixer.git","clone_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer.git","svn_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer","homepage":"http://cs.sensiolabs.org","size":8030,"stargazers_count":4208,"watchers_count":4208,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":638,"mirror_url":null,"open_issues_count":150,"forks":638,"open_issues":150,"watchers":4208,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2459"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2459"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2459/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2459/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/c16c01dd7cdb4f5f606cb9a5666b756a55978e16"}}}}
{"actor":{"display_login":"keradus"}}