GitHub PullRequestReviewCommentEvent at 2014-12-21 22:56:46
Repository: PHP-CS-Fixer
Actor: keradus
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/22151094","id":22151094,"diff_hunk":"@@ -0,0 +1,122 @@\n+<?php\n+\n+/*\n+ * This file is part of the PHP CS utility.\n+ *\n+ * (c) Fabien Potencier <fabien@symfony.com>\n+ *\n+ * This source file is subject to the MIT license that is bundled\n+ * with this source code in the file LICENSE.\n+ */\n+\n+namespace Symfony\\CS\\Tokenizer\\Transformer;\n+\n+use Symfony\\CS\\Tokenizer\\AbstractTransformer;\n+use Symfony\\CS\\Tokenizer\\Tokens;\n+\n+/**\n+ * Transform curly braces:\n+ * - closing `}` for T_CURLY_OPEN into CT_CURLY_CLOSE,\n+ * - closing `}` for T_DOLLAR_OPEN_CURLY_BRACES into CT_DOLLAR_CLOSE_CURLY_BRACES\n+ * - in `$foo->{$bar}` into CT_DYNAMIC_PROP_BRACE_OPEN and CT_DYNAMIC_PROP_BRACE_CLOSE,\n+ * - in `${$foo}` into CT_DYNAMIC_VAR_BRACE_OPEN and CT_DYNAMIC_VAR_BRACE_CLOSE.\n+ *\n+ * @author Dariusz Rumiński <dariusz.ruminski@gmail.com>\n+ *\n+ * @internal\n+ */\n+class CurlyBraceTransformer extends AbstractTransformer\n+{\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function process(Tokens $tokens)\n+    {\n+        $this->processCurlyClose($tokens);\n+\n+        foreach ($tokens as $index => $token) {\n+            if ($token->isGivenKind(T_DOLLAR_OPEN_CURLY_BRACES)) {\n+                $nextIndex = $tokens->getNextTokenOfKind($index, array('}'));\n+                $tokens[$nextIndex]->override(array(CT_DOLLAR_CLOSE_CURLY_BRACES, '}'));\n+\n+                continue;\n+            }\n+\n+            if ($token->isGivenKind(T_OBJECT_OPERATOR)) {\n+                if (!$tokens[$index + 1]->equals('{')) {\n+                    continue;\n+                }\n+\n+                $openIndex = $index + 1;\n+                $closeIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $openIndex);\n+\n+                $tokens[$openIndex]->override(array(CT_DYNAMIC_PROP_BRACE_OPEN, '{'));\n+                $tokens[$closeIndex]->override(array(CT_DYNAMIC_PROP_BRACE_CLOSE, '}'));\n+\n+                continue;\n+            }\n+\n+            if ($token->equals('$')) {\n+                $openIndex = $tokens->getNextMeaningfulToken($index);\n+\n+                if (null === $openIndex) {\n+                    continue;\n+                }\n+\n+                $openToken = $tokens[$openIndex];\n+\n+                if (!$openToken->equals('{')) {\n+                    continue;\n+                }\n+\n+                $closeIndex = $tokens->findBlockEnd(Tokens::BLOCK_TYPE_CURLY_BRACE, $openIndex);\n+                $closeToken = $tokens[$closeIndex];\n+\n+                $openToken->override(array(CT_DYNAMIC_VAR_BRACE_OPEN, '{'));\n+                $closeToken->override(array(CT_DYNAMIC_VAR_BRACE_CLOSE, '}'));\n+            }\n+        }\n+    }\n+\n+    private function processCurlyClose(Tokens $tokens)\n+    {\n+        foreach ($tokens as $index => $token) {\n+            if (!$token->isGivenKind(T_CURLY_OPEN)) {\n+                continue;\n+            }\n+\n+            $level = 1;\n+            $nestIndex = $index;\n+\n+            while (0 < $level) {\n+                ++$nestIndex;\n+\n+                // we count all kind of {\n+                if ('{' === $tokens[$nestIndex]->getContent()) {\n+                    ++$level;\n+                    continue;\n+                }\n+\n+                // we count all kind of }\n+                if ('}' === $tokens[$nestIndex]->getContent()) {\n+                    --$level;\n+                }\n+            }\n+\n+            $tokens[$nestIndex]->override(array(CT_CURLY_CLOSE, '}'));\n+        }\n+    }\n+\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function getCustomTokenNames()\n+    {\n+        return array(\n+            'CT_CURLY_CLOSE',\n+            'CT_DOLLAR_CLOSE_CURLY_BRACES',\n+            'CT_DYNAMIC_PROP_BRACE_OPEN', 'CT_DYNAMIC_PROP_BRACE_CLOSE',","path":"Symfony/CS/Tokenizer/Transformer/CurlyBraceTransformer.php","position":null,"original_position":118,"commit_id":"8fddba342e9f6210f085867c18e6d8ce3abf3c1b","original_commit_id":"e4775f5dfdc537d459541bc2dc94108c5eed2e58","user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.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":"done","created_at":"2014-12-21T22:56:46Z","updated_at":"2014-12-21T22:56:46Z","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919#discussion_r22151094","pull_request_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/22151094"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919#discussion_r22151094"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919","id":26427159,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/919","number":919,"state":"open","locked":false,"title":"CurlyBraceTransformer - one transformer to handle all curly braces transformations","user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.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":"CurlyBraceTransformer - one transformer to handle all curly braces transformations","created_at":"2014-12-21T12:11:49Z","updated_at":"2014-12-21T22:56:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"436ea446ffcff4f55d3bde087fdd18dfb603d54b","assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/4","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/4/labels","id":898970,"number":4,"title":"v2.0","description":"","creator":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.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},"open_issues":11,"closed_issues":7,"state":"open","created_at":"2014-12-10T15:24:37Z","updated_at":"2014-12-21T15:35:28Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919/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/919/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/8fddba342e9f6210f085867c18e6d8ce3abf3c1b","head":{"label":"keradus:transformer-braces","ref":"transformer-braces","sha":"8fddba342e9f6210f085867c18e6d8ce3abf3c1b","user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.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},"repo":{"id":21013087,"name":"PHP-CS-Fixer","full_name":"keradus/PHP-CS-Fixer","owner":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.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},"private":false,"html_url":"https://github.com/keradus/PHP-CS-Fixer","description":"Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)","fork":true,"url":"https://api.github.com/repos/keradus/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/issues/comments/{number}","contents_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/releases{/id}","created_at":"2014-06-19T19:38:35Z","updated_at":"2014-12-21T08:48:44Z","pushed_at":"2014-12-21T22:56:35Z","git_url":"git://github.com/keradus/PHP-CS-Fixer.git","ssh_url":"git@github.com:keradus/PHP-CS-Fixer.git","clone_url":"https://github.com/keradus/PHP-CS-Fixer.git","svn_url":"https://github.com/keradus/PHP-CS-Fixer","homepage":"cs.sensiolabs.org","size":4758,"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":"03282247f89e802e0c6c9b766d39ca363777b363","user":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.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://avatars.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":"Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)","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}","created_at":"2012-05-16T06:42:23Z","updated_at":"2014-12-21T08:47:34Z","pushed_at":"2014-12-21T09:57:53Z","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":"cs.sensiolabs.org","size":8341,"stargazers_count":1871,"watchers_count":1871,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":299,"mirror_url":null,"open_issues_count":55,"forks":299,"open_issues":55,"watchers":1871,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/919"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/919"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/919/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/919/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/919/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/8fddba342e9f6210f085867c18e6d8ce3abf3c1b"}}}}