GitHub PullRequestReviewCommentEvent at 2014-12-22 15:06:15
Repository: PHP-CS-Fixer
Actor: GrahamCampbell
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/22169873","id":22169873,"diff_hunk":"@@ -0,0 +1,136 @@\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\\Fixer\\Contrib;\n+\n+use Symfony\\CS\\AbstractFixer;\n+use Symfony\\CS\\DocBlock\\DocBlock;\n+use Symfony\\CS\\Tokenizer\\Tokens;\n+\n+/**\n+ * @author Graham Campbell <graham@mineuk.com>\n+ */\n+class PhpdocOrderFixer extends AbstractFixer\n+{\n+    /**\n+     * {@inheritdoc}\n+     */\n+    public function fix(\\SplFileInfo $file, $content)\n+    {\n+        $tokens = Tokens::fromCode($content);\n+\n+        foreach ($tokens->findGivenKind(T_DOC_COMMENT) as $token) {\n+            $content = $token->getContent();\n+            // move param to start, return to end, leave throws in the middle\n+            $content = $this->moveParamAnnotations($content);\n+            $content = $this->moveReturnAnnotations($content);\n+            // persist the content at the end\n+            $token->setContent($content);\n+        }\n+\n+        return $tokens->generateCode();\n+    }\n+\n+    /**\n+     * Move all param annotations in before throws and return annotations.\n+     *\n+     * @param string $content\n+     *\n+     * @return string\n+     */\n+    private function moveParamAnnotations($content)\n+    {\n+        $doc = new DocBlock($content);\n+        $params = $doc->getAnnotationsOfType('param');\n+\n+        // nothing to do if there are no param annotations\n+        if (0 === count($params)) {\n+            return $doc->getContent();\n+        }\n+\n+        $others = $doc->getAnnotationsOfType(array('throws', 'return'));\n+\n+        if (0 === count($others)) {\n+            return $doc->getContent();\n+        }\n+\n+        // get the index of the final line of the final param annotation\n+        $end = end($params)->getEnd();\n+\n+        $line = $doc->getLine($end);\n+\n+        // move stuff about if required\n+        foreach ($others as $other) {\n+            if ($other->getStart() < $end) {\n+                $line->setContent($line->getContent().$other->getContent());\n+                $other->remove();\n+            }\n+        }\n+\n+        return $doc->getContent();\n+    }\n+\n+    /**\n+     * Move all return annotations after param and throws annotations.\n+     *\n+     * @param string $content\n+     *\n+     * @return string\n+     */\n+    private function moveReturnAnnotations($content)","path":"Symfony/CS/Fixer/Contrib/PhpdocOrderFixer.php","position":88,"original_position":88,"commit_id":"da7943cfe7e207cfa8a908bd32b4c1c759456450","original_commit_id":"da7943cfe7e207cfa8a908bd32b4c1c759456450","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"> could there be multiple return annotation in content?\r\n\r\nI'm assuming that there could be multiple return annotations. Please might prefer to have multiple instead of using the `|` notation. Might be useful if they want to give each type a description.","created_at":"2014-12-22T15:06:15Z","updated_at":"2014-12-22T15:06:15Z","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887#discussion_r22169873","pull_request_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/22169873"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887#discussion_r22169873"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887","id":26190596,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/887","number":887,"state":"open","locked":false,"title":"[WIP] Added More Phpdoc Fixers","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"TODO:\r\n* [x] Added phpdoc_seperation\r\n* [x] Fix the behaviour with some annotations like the phpunit ones - introduced a tag class\r\n* [x] Refactor the docblock classes to model the situation more clearly\r\n* [x] Add tests for the `Tag` class\r\n* [x] Add tests for the `DocBlock` class\r\n* [x] Added phpdoc_order\r\n* [x] Perform regression testing on league/flysystem\r\n* [x] Based on results from testing, make improvements\r\n* [x] Add phpdoc_var fixer\r\n* [x] Perform regression testing on symfony/symfony\r\n* [x] Based on results from testing, make improvements, add more test cases\r\n* [x] Move the phpdoc_order fixer to contrib level\r\n* [x] Add a phpdoc_trim fixer at symfony level, partly taken from phpdoc_separation\r\n* [x] Added phpdoc_no_return_void\r\n* [x] Review fixer orders\r\n* [x] Perform regression testing on guzzle/guzzle\r\n* [x] `@see`, `@link`, `@deprecated`, `@since`, `@author`, `@copyright`, and `@license` annotations should be kept together rather than forced apart by the separation fixer\r\n* [x] Support annotations with descriptions including bank lines\r\n* [x] Perform regression testing on doctrine/common\r\n* [x] Perform regression testing on guzzle/guzzle and symfony/symfony again\r\n* [x] Fix more bugs, and add more test cases\r\n* [x] Perform regression testing on flysystem guzzle, doctrine, symfony again\r\n* [x] Analyse current code coverage and cleanup code\r\n* [x] Add tests for the `TagComparator`\r\n* [x] Add missing `DocBlock` class tests\r\n* [x] Add tests for the `Line` class\r\n* [x] Add tests for the `Annotation` class\r\n* [x] Test on dingo/api, factory-muffin, aws sdk v2 and v3\r\n* [x] Discuss fixer names\r\n* [x] Add fixers to change var to type and type to var\r\n* [x] Add a fixer to ensure short descriptions end in a `.`, `?`, or `!`\r\n* [x] Review by @keradus\r\n* [x] Cleanup the docblock classes\r\n* [ ] Add a fixer to remove package and subpackage annotations\r\n* [ ] Add a fixer to ensure known \"tags\" are always lowercase\r\n* [ ] Add a fixer to ensure `{@inheritdoc}` is entirely lowercase\r\n* [ ] Add a integer->int, boolean->bool, real->float, double->float fixer\r\n* [ ] Document why the fixer orders are as they are\r\n* [ ] Another review by @keradus\r\n* [ ] Apply changes\r\n* [ ] Find more php repos to test these fixers on\r\n* [ ] Further reviews?\r\n","created_at":"2014-12-16T23:53:43Z","updated_at":"2014-12-22T15:06:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"442c2a31d8492a4726fb413e40c66b2d01df966b","assignee":null,"milestone":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/6","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones/6/labels","id":906080,"number":6,"title":"v1.5","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":3,"closed_issues":7,"state":"open","created_at":"2014-12-16T19:58:13Z","updated_at":"2014-12-22T14:52:28Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887/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/887/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/da7943cfe7e207cfa8a908bd32b4c1c759456450","head":{"label":"GrahamForks:1.5-phpdoc-separation","ref":"1.5-phpdoc-separation","sha":"da7943cfe7e207cfa8a908bd32b4c1c759456450","user":{"login":"GrahamForks","id":10179291,"avatar_url":"https://avatars.githubusercontent.com/u/10179291?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamForks","html_url":"https://github.com/GrahamForks","followers_url":"https://api.github.com/users/GrahamForks/followers","following_url":"https://api.github.com/users/GrahamForks/following{/other_user}","gists_url":"https://api.github.com/users/GrahamForks/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamForks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamForks/subscriptions","organizations_url":"https://api.github.com/users/GrahamForks/orgs","repos_url":"https://api.github.com/users/GrahamForks/repos","events_url":"https://api.github.com/users/GrahamForks/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamForks/received_events","type":"Organization","site_admin":false},"repo":{"id":27316229,"name":"PHP-CS-Fixer","full_name":"GrahamForks/PHP-CS-Fixer","owner":{"login":"GrahamForks","id":10179291,"avatar_url":"https://avatars.githubusercontent.com/u/10179291?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamForks","html_url":"https://github.com/GrahamForks","followers_url":"https://api.github.com/users/GrahamForks/followers","following_url":"https://api.github.com/users/GrahamForks/following{/other_user}","gists_url":"https://api.github.com/users/GrahamForks/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamForks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamForks/subscriptions","organizations_url":"https://api.github.com/users/GrahamForks/orgs","repos_url":"https://api.github.com/users/GrahamForks/repos","events_url":"https://api.github.com/users/GrahamForks/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamForks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrahamForks/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/GrahamForks/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/issues/comments/{number}","contents_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/GrahamForks/PHP-CS-Fixer/releases{/id}","created_at":"2014-11-29T21:55:32Z","updated_at":"2014-12-22T14:34:47Z","pushed_at":"2014-12-22T14:53:33Z","git_url":"git://github.com/GrahamForks/PHP-CS-Fixer.git","ssh_url":"git@github.com:GrahamForks/PHP-CS-Fixer.git","clone_url":"https://github.com/GrahamForks/PHP-CS-Fixer.git","svn_url":"https://github.com/GrahamForks/PHP-CS-Fixer","homepage":"cs.sensiolabs.org","size":2393,"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":"1.5"}},"base":{"label":"FriendsOfPHP:1.5","ref":"1.5","sha":"f991a29f87c7270c14a5d60dd29f89889d79f4f8","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-22T07:55:13Z","pushed_at":"2014-12-22T14:52:30Z","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":1873,"watchers_count":1873,"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":1873,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/887"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/887"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/887/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/887/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/887/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/da7943cfe7e207cfa8a908bd32b4c1c759456450"}}}}