{"action":"created","comment":{"url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/comments/179759504","pull_request_review_id":110064736,"id":179759504,"diff_hunk":"@@ -0,0 +1,777 @@\n+<?php\n+\n+namespace Digia\\GraphQL\\Language;\n+\n+use Digia\\GraphQL\\Error\\SyntaxErrorException;\n+\n+class TokenReader implements TokenReaderInterface\n+{\n+\n+    /**\n+     * The lexer owning this token reader.\n+     *\n+     * @var LexerInterface\n+     */\n+    protected $lexer;\n+\n+    /**\n+     * {@inheritdoc}","path":"src/Language/TokenReader.php","position":18,"original_position":18,"commit_id":"2a25b1227f980196b9c1d58b98f33d77cd3fb0d1","original_commit_id":"2a25b1227f980196b9c1d58b98f33d77cd3fb0d1","user":{"login":"crisu83","id":1044868,"avatar_url":"https://avatars2.githubusercontent.com/u/1044868?v=4","gravatar_id":"","url":"https://api.github.com/users/crisu83","html_url":"https://github.com/crisu83","followers_url":"https://api.github.com/users/crisu83/followers","following_url":"https://api.github.com/users/crisu83/following{/other_user}","gists_url":"https://api.github.com/users/crisu83/gists{/gist_id}","starred_url":"https://api.github.com/users/crisu83/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crisu83/subscriptions","organizations_url":"https://api.github.com/users/crisu83/orgs","repos_url":"https://api.github.com/users/crisu83/repos","events_url":"https://api.github.com/users/crisu83/events{/privacy}","received_events_url":"https://api.github.com/users/crisu83/received_events","type":"User","site_admin":false},"body":"We have used `@inheritdoc`, but I guess this is also as correct. However, we should be consistent about this.","created_at":"2018-04-06T13:38:21Z","updated_at":"2018-04-06T13:38:40Z","html_url":"https://github.com/digiaonline/graphql-php/pull/188#discussion_r179759504","pull_request_url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/comments/179759504"},"html":{"href":"https://github.com/digiaonline/graphql-php/pull/188#discussion_r179759504"},"pull_request":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188"}}},"pull_request":{"url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188","id":179936407,"html_url":"https://github.com/digiaonline/graphql-php/pull/188","diff_url":"https://github.com/digiaonline/graphql-php/pull/188.diff","patch_url":"https://github.com/digiaonline/graphql-php/pull/188.patch","issue_url":"https://api.github.com/repos/digiaonline/graphql-php/issues/188","number":188,"state":"open","locked":false,"title":"Optimize lexer","user":{"login":"fubhy","id":1172528,"avatar_url":"https://avatars0.githubusercontent.com/u/1172528?v=4","gravatar_id":"","url":"https://api.github.com/users/fubhy","html_url":"https://github.com/fubhy","followers_url":"https://api.github.com/users/fubhy/followers","following_url":"https://api.github.com/users/fubhy/following{/other_user}","gists_url":"https://api.github.com/users/fubhy/gists{/gist_id}","starred_url":"https://api.github.com/users/fubhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fubhy/subscriptions","organizations_url":"https://api.github.com/users/fubhy/orgs","repos_url":"https://api.github.com/users/fubhy/repos","events_url":"https://api.github.com/users/fubhy/events{/privacy}","received_events_url":"https://api.github.com/users/fubhy/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-06T12:37:11Z","updated_at":"2018-04-06T13:38:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7092704449a611724ee0993fd9e8c1b86641bf7a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188/commits","review_comments_url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188/comments","review_comment_url":"https://api.github.com/repos/digiaonline/graphql-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digiaonline/graphql-php/issues/188/comments","statuses_url":"https://api.github.com/repos/digiaonline/graphql-php/statuses/2a25b1227f980196b9c1d58b98f33d77cd3fb0d1","head":{"label":"fubhy:optimize-lexer","ref":"optimize-lexer","sha":"2a25b1227f980196b9c1d58b98f33d77cd3fb0d1","user":{"login":"fubhy","id":1172528,"avatar_url":"https://avatars0.githubusercontent.com/u/1172528?v=4","gravatar_id":"","url":"https://api.github.com/users/fubhy","html_url":"https://github.com/fubhy","followers_url":"https://api.github.com/users/fubhy/followers","following_url":"https://api.github.com/users/fubhy/following{/other_user}","gists_url":"https://api.github.com/users/fubhy/gists{/gist_id}","starred_url":"https://api.github.com/users/fubhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fubhy/subscriptions","organizations_url":"https://api.github.com/users/fubhy/orgs","repos_url":"https://api.github.com/users/fubhy/repos","events_url":"https://api.github.com/users/fubhy/events{/privacy}","received_events_url":"https://api.github.com/users/fubhy/received_events","type":"User","site_admin":false},"repo":{"id":128377878,"name":"graphql-php-1","full_name":"fubhy/graphql-php-1","owner":{"login":"fubhy","id":1172528,"avatar_url":"https://avatars0.githubusercontent.com/u/1172528?v=4","gravatar_id":"","url":"https://api.github.com/users/fubhy","html_url":"https://github.com/fubhy","followers_url":"https://api.github.com/users/fubhy/followers","following_url":"https://api.github.com/users/fubhy/following{/other_user}","gists_url":"https://api.github.com/users/fubhy/gists{/gist_id}","starred_url":"https://api.github.com/users/fubhy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fubhy/subscriptions","organizations_url":"https://api.github.com/users/fubhy/orgs","repos_url":"https://api.github.com/users/fubhy/repos","events_url":"https://api.github.com/users/fubhy/events{/privacy}","received_events_url":"https://api.github.com/users/fubhy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fubhy/graphql-php-1","description":"WIP: A PHP7 implementation of the GraphQL specification.","fork":true,"url":"https://api.github.com/repos/fubhy/graphql-php-1","forks_url":"https://api.github.com/repos/fubhy/graphql-php-1/forks","keys_url":"https://api.github.com/repos/fubhy/graphql-php-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fubhy/graphql-php-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fubhy/graphql-php-1/teams","hooks_url":"https://api.github.com/repos/fubhy/graphql-php-1/hooks","issue_events_url":"https://api.github.com/repos/fubhy/graphql-php-1/issues/events{/number}","events_url":"https://api.github.com/repos/fubhy/graphql-php-1/events","assignees_url":"https://api.github.com/repos/fubhy/graphql-php-1/assignees{/user}","branches_url":"https://api.github.com/repos/fubhy/graphql-php-1/branches{/branch}","tags_url":"https://api.github.com/repos/fubhy/graphql-php-1/tags","blobs_url":"https://api.github.com/repos/fubhy/graphql-php-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fubhy/graphql-php-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fubhy/graphql-php-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/fubhy/graphql-php-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fubhy/graphql-php-1/statuses/{sha}","languages_url":"https://api.github.com/repos/fubhy/graphql-php-1/languages","stargazers_url":"https://api.github.com/repos/fubhy/graphql-php-1/stargazers","contributors_url":"https://api.github.com/repos/fubhy/graphql-php-1/contributors","subscribers_url":"https://api.github.com/repos/fubhy/graphql-php-1/subscribers","subscription_url":"https://api.github.com/repos/fubhy/graphql-php-1/subscription","commits_url":"https://api.github.com/repos/fubhy/graphql-php-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/fubhy/graphql-php-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/fubhy/graphql-php-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/fubhy/graphql-php-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/fubhy/graphql-php-1/contents/{+path}","compare_url":"https://api.github.com/repos/fubhy/graphql-php-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fubhy/graphql-php-1/merges","archive_url":"https://api.github.com/repos/fubhy/graphql-php-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fubhy/graphql-php-1/downloads","issues_url":"https://api.github.com/repos/fubhy/graphql-php-1/issues{/number}","pulls_url":"https://api.github.com/repos/fubhy/graphql-php-1/pulls{/number}","milestones_url":"https://api.github.com/repos/fubhy/graphql-php-1/milestones{/number}","notifications_url":"https://api.github.com/repos/fubhy/graphql-php-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fubhy/graphql-php-1/labels{/name}","releases_url":"https://api.github.com/repos/fubhy/graphql-php-1/releases{/id}","deployments_url":"https://api.github.com/repos/fubhy/graphql-php-1/deployments","created_at":"2018-04-06T09:55:38Z","updated_at":"2018-04-06T09:55:41Z","pushed_at":"2018-04-06T12:49:29Z","git_url":"git://github.com/fubhy/graphql-php-1.git","ssh_url":"git@github.com:fubhy/graphql-php-1.git","clone_url":"https://github.com/fubhy/graphql-php-1.git","svn_url":"https://github.com/fubhy/graphql-php-1","homepage":"http://facebook.github.io/graphql/","size":1165,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"digiaonline:master","ref":"master","sha":"a70b29ce66578be8175faf50ab06422e74045701","user":{"login":"digiaonline","id":2654995,"avatar_url":"https://avatars3.githubusercontent.com/u/2654995?v=4","gravatar_id":"","url":"https://api.github.com/users/digiaonline","html_url":"https://github.com/digiaonline","followers_url":"https://api.github.com/users/digiaonline/followers","following_url":"https://api.github.com/users/digiaonline/following{/other_user}","gists_url":"https://api.github.com/users/digiaonline/gists{/gist_id}","starred_url":"https://api.github.com/users/digiaonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digiaonline/subscriptions","organizations_url":"https://api.github.com/users/digiaonline/orgs","repos_url":"https://api.github.com/users/digiaonline/repos","events_url":"https://api.github.com/users/digiaonline/events{/privacy}","received_events_url":"https://api.github.com/users/digiaonline/received_events","type":"Organization","site_admin":false},"repo":{"id":120626604,"name":"graphql-php","full_name":"digiaonline/graphql-php","owner":{"login":"digiaonline","id":2654995,"avatar_url":"https://avatars3.githubusercontent.com/u/2654995?v=4","gravatar_id":"","url":"https://api.github.com/users/digiaonline","html_url":"https://github.com/digiaonline","followers_url":"https://api.github.com/users/digiaonline/followers","following_url":"https://api.github.com/users/digiaonline/following{/other_user}","gists_url":"https://api.github.com/users/digiaonline/gists{/gist_id}","starred_url":"https://api.github.com/users/digiaonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digiaonline/subscriptions","organizations_url":"https://api.github.com/users/digiaonline/orgs","repos_url":"https://api.github.com/users/digiaonline/repos","events_url":"https://api.github.com/users/digiaonline/events{/privacy}","received_events_url":"https://api.github.com/users/digiaonline/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digiaonline/graphql-php","description":"WIP: A PHP7 implementation of the GraphQL specification.","fork":false,"url":"https://api.github.com/repos/digiaonline/graphql-php","forks_url":"https://api.github.com/repos/digiaonline/graphql-php/forks","keys_url":"https://api.github.com/repos/digiaonline/graphql-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digiaonline/graphql-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digiaonline/graphql-php/teams","hooks_url":"https://api.github.com/repos/digiaonline/graphql-php/hooks","issue_events_url":"https://api.github.com/repos/digiaonline/graphql-php/issues/events{/number}","events_url":"https://api.github.com/repos/digiaonline/graphql-php/events","assignees_url":"https://api.github.com/repos/digiaonline/graphql-php/assignees{/user}","branches_url":"https://api.github.com/repos/digiaonline/graphql-php/branches{/branch}","tags_url":"https://api.github.com/repos/digiaonline/graphql-php/tags","blobs_url":"https://api.github.com/repos/digiaonline/graphql-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digiaonline/graphql-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digiaonline/graphql-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/digiaonline/graphql-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digiaonline/graphql-php/statuses/{sha}","languages_url":"https://api.github.com/repos/digiaonline/graphql-php/languages","stargazers_url":"https://api.github.com/repos/digiaonline/graphql-php/stargazers","contributors_url":"https://api.github.com/repos/digiaonline/graphql-php/contributors","subscribers_url":"https://api.github.com/repos/digiaonline/graphql-php/subscribers","subscription_url":"https://api.github.com/repos/digiaonline/graphql-php/subscription","commits_url":"https://api.github.com/repos/digiaonline/graphql-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/digiaonline/graphql-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/digiaonline/graphql-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/digiaonline/graphql-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/digiaonline/graphql-php/contents/{+path}","compare_url":"https://api.github.com/repos/digiaonline/graphql-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digiaonline/graphql-php/merges","archive_url":"https://api.github.com/repos/digiaonline/graphql-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digiaonline/graphql-php/downloads","issues_url":"https://api.github.com/repos/digiaonline/graphql-php/issues{/number}","pulls_url":"https://api.github.com/repos/digiaonline/graphql-php/pulls{/number}","milestones_url":"https://api.github.com/repos/digiaonline/graphql-php/milestones{/number}","notifications_url":"https://api.github.com/repos/digiaonline/graphql-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digiaonline/graphql-php/labels{/name}","releases_url":"https://api.github.com/repos/digiaonline/graphql-php/releases{/id}","deployments_url":"https://api.github.com/repos/digiaonline/graphql-php/deployments","created_at":"2018-02-07T14:37:21Z","updated_at":"2018-04-06T13:34:03Z","pushed_at":"2018-04-06T13:34:46Z","git_url":"git://github.com/digiaonline/graphql-php.git","ssh_url":"git@github.com:digiaonline/graphql-php.git","clone_url":"https://github.com/digiaonline/graphql-php.git","svn_url":"https://github.com/digiaonline/graphql-php","homepage":"http://facebook.github.io/graphql/","size":1099,"stargazers_count":42,"watchers_count":42,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":17,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188"},"html":{"href":"https://github.com/digiaonline/graphql-php/pull/188"},"issue":{"href":"https://api.github.com/repos/digiaonline/graphql-php/issues/188"},"comments":{"href":"https://api.github.com/repos/digiaonline/graphql-php/issues/188/comments"},"review_comments":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188/comments"},"review_comment":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digiaonline/graphql-php/pulls/188/commits"},"statuses":{"href":"https://api.github.com/repos/digiaonline/graphql-php/statuses/2a25b1227f980196b9c1d58b98f33d77cd3fb0d1"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"crisu83"}}