{"action":"closed","number":112,"pull_request":{"url":"https://api.github.com/repos/glayzzle/php-parser/pulls/112","id":165288039,"html_url":"https://github.com/glayzzle/php-parser/pull/112","diff_url":"https://github.com/glayzzle/php-parser/pull/112.diff","patch_url":"https://github.com/glayzzle/php-parser/pull/112.patch","issue_url":"https://api.github.com/repos/glayzzle/php-parser/issues/112","number":112,"state":"closed","locked":false,"title":"Indent support for comments extraction","user":{"login":"MyroshnykRoman","id":25131193,"avatar_url":"https://avatars0.githubusercontent.com/u/25131193?v=4","gravatar_id":"","url":"https://api.github.com/users/MyroshnykRoman","html_url":"https://github.com/MyroshnykRoman","followers_url":"https://api.github.com/users/MyroshnykRoman/followers","following_url":"https://api.github.com/users/MyroshnykRoman/following{/other_user}","gists_url":"https://api.github.com/users/MyroshnykRoman/gists{/gist_id}","starred_url":"https://api.github.com/users/MyroshnykRoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyroshnykRoman/subscriptions","organizations_url":"https://api.github.com/users/MyroshnykRoman/orgs","repos_url":"https://api.github.com/users/MyroshnykRoman/repos","events_url":"https://api.github.com/users/MyroshnykRoman/events{/privacy}","received_events_url":"https://api.github.com/users/MyroshnykRoman/received_events","type":"User","site_admin":false},"body":"Hi,\r\nthank you for a great module.\r\nI am using it for my project and faced a problem that ast extracted comments lose their indent, so after recompilation docs become hard to read.\r\nI added support for indent.\r\n\r\nWould be kind of you if you check it and approve.\r\nextractDocWithIndent is a flag in options.\r\n\r\nBest regards, Myroshnyk Roman\r\n\r\nparser: {\r\n      extractDoc: true,\r\n      suppressErrors: true,\r\n      php7: true,\r\n      extractDocWithIndent:false\r\n    },\r\n    ast: {\r\n      withPositions: false\r\n    }","created_at":"2018-01-26T04:21:42Z","updated_at":"2018-03-04T08:05:18Z","closed_at":"2018-03-04T08:05:17Z","merged_at":null,"merge_commit_sha":"e064ebd48c3551af6ae3786dde05323e9cef6b2b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/glayzzle/php-parser/pulls/112/commits","review_comments_url":"https://api.github.com/repos/glayzzle/php-parser/pulls/112/comments","review_comment_url":"https://api.github.com/repos/glayzzle/php-parser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glayzzle/php-parser/issues/112/comments","statuses_url":"https://api.github.com/repos/glayzzle/php-parser/statuses/65b13166fdf00256d6161d8c56e946e2aced3cee","head":{"label":"MyroshnykRoman:patch-1","ref":"patch-1","sha":"65b13166fdf00256d6161d8c56e946e2aced3cee","user":{"login":"MyroshnykRoman","id":25131193,"avatar_url":"https://avatars0.githubusercontent.com/u/25131193?v=4","gravatar_id":"","url":"https://api.github.com/users/MyroshnykRoman","html_url":"https://github.com/MyroshnykRoman","followers_url":"https://api.github.com/users/MyroshnykRoman/followers","following_url":"https://api.github.com/users/MyroshnykRoman/following{/other_user}","gists_url":"https://api.github.com/users/MyroshnykRoman/gists{/gist_id}","starred_url":"https://api.github.com/users/MyroshnykRoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyroshnykRoman/subscriptions","organizations_url":"https://api.github.com/users/MyroshnykRoman/orgs","repos_url":"https://api.github.com/users/MyroshnykRoman/repos","events_url":"https://api.github.com/users/MyroshnykRoman/events{/privacy}","received_events_url":"https://api.github.com/users/MyroshnykRoman/received_events","type":"User","site_admin":false},"repo":{"id":119004459,"name":"php-parser","full_name":"MyroshnykRoman/php-parser","owner":{"login":"MyroshnykRoman","id":25131193,"avatar_url":"https://avatars0.githubusercontent.com/u/25131193?v=4","gravatar_id":"","url":"https://api.github.com/users/MyroshnykRoman","html_url":"https://github.com/MyroshnykRoman","followers_url":"https://api.github.com/users/MyroshnykRoman/followers","following_url":"https://api.github.com/users/MyroshnykRoman/following{/other_user}","gists_url":"https://api.github.com/users/MyroshnykRoman/gists{/gist_id}","starred_url":"https://api.github.com/users/MyroshnykRoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MyroshnykRoman/subscriptions","organizations_url":"https://api.github.com/users/MyroshnykRoman/orgs","repos_url":"https://api.github.com/users/MyroshnykRoman/repos","events_url":"https://api.github.com/users/MyroshnykRoman/events{/privacy}","received_events_url":"https://api.github.com/users/MyroshnykRoman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MyroshnykRoman/php-parser","description":":herb: NodeJS PHP Parser - extract AST or tokens (PHP5 and PHP7)","fork":true,"url":"https://api.github.com/repos/MyroshnykRoman/php-parser","forks_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/forks","keys_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/teams","hooks_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/hooks","issue_events_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/issues/events{/number}","events_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/events","assignees_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/assignees{/user}","branches_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/branches{/branch}","tags_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/tags","blobs_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/languages","stargazers_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/stargazers","contributors_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/contributors","subscribers_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/subscribers","subscription_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/subscription","commits_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/contents/{+path}","compare_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/merges","archive_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/downloads","issues_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/issues{/number}","pulls_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/labels{/name}","releases_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/releases{/id}","deployments_url":"https://api.github.com/repos/MyroshnykRoman/php-parser/deployments","created_at":"2018-01-26T04:11:10Z","updated_at":"2018-01-26T04:11:12Z","pushed_at":"2018-01-26T04:20:38Z","git_url":"git://github.com/MyroshnykRoman/php-parser.git","ssh_url":"git@github.com:MyroshnykRoman/php-parser.git","clone_url":"https://github.com/MyroshnykRoman/php-parser.git","svn_url":"https://github.com/MyroshnykRoman/php-parser","homepage":"https://astexplorer.net/#/gist/c5098fd3b19f3c0da9de29986aa553d9/578cf3e85d8b5e4aee923e3fa3a24e9de93def19","size":2074,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"glayzzle:master","ref":"master","sha":"9832a55b6c58cfba67ea5bfbcbe32eaa2f174f59","user":{"login":"glayzzle","id":7166545,"avatar_url":"https://avatars2.githubusercontent.com/u/7166545?v=4","gravatar_id":"","url":"https://api.github.com/users/glayzzle","html_url":"https://github.com/glayzzle","followers_url":"https://api.github.com/users/glayzzle/followers","following_url":"https://api.github.com/users/glayzzle/following{/other_user}","gists_url":"https://api.github.com/users/glayzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/glayzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glayzzle/subscriptions","organizations_url":"https://api.github.com/users/glayzzle/orgs","repos_url":"https://api.github.com/users/glayzzle/repos","events_url":"https://api.github.com/users/glayzzle/events{/privacy}","received_events_url":"https://api.github.com/users/glayzzle/received_events","type":"Organization","site_admin":false},"repo":{"id":27666196,"name":"php-parser","full_name":"glayzzle/php-parser","owner":{"login":"glayzzle","id":7166545,"avatar_url":"https://avatars2.githubusercontent.com/u/7166545?v=4","gravatar_id":"","url":"https://api.github.com/users/glayzzle","html_url":"https://github.com/glayzzle","followers_url":"https://api.github.com/users/glayzzle/followers","following_url":"https://api.github.com/users/glayzzle/following{/other_user}","gists_url":"https://api.github.com/users/glayzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/glayzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glayzzle/subscriptions","organizations_url":"https://api.github.com/users/glayzzle/orgs","repos_url":"https://api.github.com/users/glayzzle/repos","events_url":"https://api.github.com/users/glayzzle/events{/privacy}","received_events_url":"https://api.github.com/users/glayzzle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glayzzle/php-parser","description":":herb: NodeJS PHP Parser - extract AST or tokens (PHP5 and PHP7)","fork":false,"url":"https://api.github.com/repos/glayzzle/php-parser","forks_url":"https://api.github.com/repos/glayzzle/php-parser/forks","keys_url":"https://api.github.com/repos/glayzzle/php-parser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glayzzle/php-parser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glayzzle/php-parser/teams","hooks_url":"https://api.github.com/repos/glayzzle/php-parser/hooks","issue_events_url":"https://api.github.com/repos/glayzzle/php-parser/issues/events{/number}","events_url":"https://api.github.com/repos/glayzzle/php-parser/events","assignees_url":"https://api.github.com/repos/glayzzle/php-parser/assignees{/user}","branches_url":"https://api.github.com/repos/glayzzle/php-parser/branches{/branch}","tags_url":"https://api.github.com/repos/glayzzle/php-parser/tags","blobs_url":"https://api.github.com/repos/glayzzle/php-parser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glayzzle/php-parser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glayzzle/php-parser/git/refs{/sha}","trees_url":"https://api.github.com/repos/glayzzle/php-parser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glayzzle/php-parser/statuses/{sha}","languages_url":"https://api.github.com/repos/glayzzle/php-parser/languages","stargazers_url":"https://api.github.com/repos/glayzzle/php-parser/stargazers","contributors_url":"https://api.github.com/repos/glayzzle/php-parser/contributors","subscribers_url":"https://api.github.com/repos/glayzzle/php-parser/subscribers","subscription_url":"https://api.github.com/repos/glayzzle/php-parser/subscription","commits_url":"https://api.github.com/repos/glayzzle/php-parser/commits{/sha}","git_commits_url":"https://api.github.com/repos/glayzzle/php-parser/git/commits{/sha}","comments_url":"https://api.github.com/repos/glayzzle/php-parser/comments{/number}","issue_comment_url":"https://api.github.com/repos/glayzzle/php-parser/issues/comments{/number}","contents_url":"https://api.github.com/repos/glayzzle/php-parser/contents/{+path}","compare_url":"https://api.github.com/repos/glayzzle/php-parser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glayzzle/php-parser/merges","archive_url":"https://api.github.com/repos/glayzzle/php-parser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glayzzle/php-parser/downloads","issues_url":"https://api.github.com/repos/glayzzle/php-parser/issues{/number}","pulls_url":"https://api.github.com/repos/glayzzle/php-parser/pulls{/number}","milestones_url":"https://api.github.com/repos/glayzzle/php-parser/milestones{/number}","notifications_url":"https://api.github.com/repos/glayzzle/php-parser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glayzzle/php-parser/labels{/name}","releases_url":"https://api.github.com/repos/glayzzle/php-parser/releases{/id}","deployments_url":"https://api.github.com/repos/glayzzle/php-parser/deployments","created_at":"2014-12-07T10:11:57Z","updated_at":"2018-03-03T13:43:32Z","pushed_at":"2018-03-04T08:00:37Z","git_url":"git://github.com/glayzzle/php-parser.git","ssh_url":"git@github.com:glayzzle/php-parser.git","clone_url":"https://github.com/glayzzle/php-parser.git","svn_url":"https://github.com/glayzzle/php-parser","homepage":"https://astexplorer.net/#/gist/c5098fd3b19f3c0da9de29986aa553d9/578cf3e85d8b5e4aee923e3fa3a24e9de93def19","size":2144,"stargazers_count":174,"watchers_count":174,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":26,"open_issues":20,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glayzzle/php-parser/pulls/112"},"html":{"href":"https://github.com/glayzzle/php-parser/pull/112"},"issue":{"href":"https://api.github.com/repos/glayzzle/php-parser/issues/112"},"comments":{"href":"https://api.github.com/repos/glayzzle/php-parser/issues/112/comments"},"review_comments":{"href":"https://api.github.com/repos/glayzzle/php-parser/pulls/112/comments"},"review_comment":{"href":"https://api.github.com/repos/glayzzle/php-parser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glayzzle/php-parser/pulls/112/commits"},"statuses":{"href":"https://api.github.com/repos/glayzzle/php-parser/statuses/65b13166fdf00256d6161d8c56e946e2aced3cee"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":17,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"ichiriac"}}