{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/123475066","pull_request_review_id":45680362,"id":123475066,"diff_hunk":"@@ -16,10 +16,16 @@\n  * This represents an entire annotation from a docblock.\n  *\n  * @author Graham Campbell <graham@alt-three.com>\n+ * @author Dariusz Rumiński <dariusz.ruminski@gmail.com>\n  */\n class Annotation\n {\n     /**\n+     * @internal\n+     */\n+    const REGEX_TYPES = '(?<types>(?<type>(?:[\\\\\\\\@$]?\\w+(?:\\[\\])?)|(?<generic>[\\\\\\\\@$]?\\w+<(?:[\\\\\\\\@$]?\\w+,\\s*)?(?:(?&types)|(?&generic))>))(?:\\|(?:(?&type)|(?&generic)))*)';","path":"src/DocBlock/Annotation.php","position":11,"original_position":11,"commit_id":"9d25e4c9c7563b3d63dcdfc13b8ceb4d5e19508e","original_commit_id":"9d25e4c9c7563b3d63dcdfc13b8ceb4d5e19508e","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":"i thought I saw `@this` somewhere, but it was `$this` :D indeed, could be simplified","created_at":"2017-06-22T10:33:01Z","updated_at":"2017-06-22T10:33:01Z","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858#discussion_r123475066","pull_request_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/123475066"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858#discussion_r123475066"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858","id":126113556,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2858","number":2858,"state":"open","locked":false,"title":"Support generic types","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":"","created_at":"2017-06-16T20:54:41Z","updated_at":"2017-06-22T10:33:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2922014ee7033a49e37fbe7d9148bae3a187a6f1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858/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/2858/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/9d25e4c9c7563b3d63dcdfc13b8ceb4d5e19508e","head":{"label":"keradus:contrib-2841","ref":"contrib-2841","sha":"9d25e4c9c7563b3d63dcdfc13b8ceb4d5e19508e","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},"repo":{"id":21013087,"name":"PHP-CS-Fixer","full_name":"keradus/PHP-CS-Fixer","owner":{"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},"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}","deployments_url":"https://api.github.com/repos/keradus/PHP-CS-Fixer/deployments","created_at":"2014-06-19T19:38:35Z","updated_at":"2017-02-24T13:47:51Z","pushed_at":"2017-06-21T18:47:18Z","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":9282,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"FriendsOfPHP:2.2","ref":"2.2","sha":"f946a67c79c70b6001fca553207820b9371cacb2","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-06-22T07:27:12Z","pushed_at":"2017-06-21T18:47:19Z","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":9525,"stargazers_count":4583,"watchers_count":4583,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":701,"mirror_url":null,"open_issues_count":151,"forks":701,"open_issues":151,"watchers":4583,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/2858"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2858"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/2858/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/2858/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/2858/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/9d25e4c9c7563b3d63dcdfc13b8ceb4d5e19508e"}}}}
{"actor":{"display_login":"keradus"}}