{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/goaop/parser-reflection/pulls/66","id":103651917,"html_url":"https://github.com/goaop/parser-reflection/pull/66","diff_url":"https://github.com/goaop/parser-reflection/pull/66.diff","patch_url":"https://github.com/goaop/parser-reflection/pull/66.patch","issue_url":"https://api.github.com/repos/goaop/parser-reflection/issues/66","number":66,"state":"open","locked":false,"title":"Support for Composer classmap autoloading","user":{"login":"hijarian","id":967464,"avatar_url":"https://avatars.githubusercontent.com/u/967464?v=3","gravatar_id":"","url":"https://api.github.com/users/hijarian","html_url":"https://github.com/hijarian","followers_url":"https://api.github.com/users/hijarian/followers","following_url":"https://api.github.com/users/hijarian/following{/other_user}","gists_url":"https://api.github.com/users/hijarian/gists{/gist_id}","starred_url":"https://api.github.com/users/hijarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hijarian/subscriptions","organizations_url":"https://api.github.com/users/hijarian/orgs","repos_url":"https://api.github.com/users/hijarian/repos","events_url":"https://api.github.com/users/hijarian/events{/privacy}","received_events_url":"https://api.github.com/users/hijarian/received_events","type":"User","site_admin":false},"body":"In the classmap autoloader mode of Composer, class names are written without the leading slash, but `ComposerLocator` passes them with the leading slash.\r\n\r\nThis leads to the following error when I try to use, for example, AspectMock library on Yii 1.1-based PHP project with PHP version 7.1 (see screenshot):\r\n\r\n![2017-01-28_19-53-34](https://cloud.githubusercontent.com/assets/967464/22406074/b174e578-e65c-11e6-8134-eed785e9c3b6.png)\r\n\r\nFeel free to ask me for more details.\r\n\r\nAll 2000+ tests are still passing and I believe this change actually fixes a long-standing problem instead of creating another one.","created_at":"2017-01-29T16:55:08Z","updated_at":"2017-01-29T16:55:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/goaop/parser-reflection/pulls/66/commits","review_comments_url":"https://api.github.com/repos/goaop/parser-reflection/pulls/66/comments","review_comment_url":"https://api.github.com/repos/goaop/parser-reflection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/goaop/parser-reflection/issues/66/comments","statuses_url":"https://api.github.com/repos/goaop/parser-reflection/statuses/7775cbeff96a90c0a348a31468429899d16ec5d9","head":{"label":"hijarian:patch-1","ref":"patch-1","sha":"7775cbeff96a90c0a348a31468429899d16ec5d9","user":{"login":"hijarian","id":967464,"avatar_url":"https://avatars.githubusercontent.com/u/967464?v=3","gravatar_id":"","url":"https://api.github.com/users/hijarian","html_url":"https://github.com/hijarian","followers_url":"https://api.github.com/users/hijarian/followers","following_url":"https://api.github.com/users/hijarian/following{/other_user}","gists_url":"https://api.github.com/users/hijarian/gists{/gist_id}","starred_url":"https://api.github.com/users/hijarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hijarian/subscriptions","organizations_url":"https://api.github.com/users/hijarian/orgs","repos_url":"https://api.github.com/users/hijarian/repos","events_url":"https://api.github.com/users/hijarian/events{/privacy}","received_events_url":"https://api.github.com/users/hijarian/received_events","type":"User","site_admin":false},"repo":{"id":80296970,"name":"parser-reflection","full_name":"hijarian/parser-reflection","owner":{"login":"hijarian","id":967464,"avatar_url":"https://avatars.githubusercontent.com/u/967464?v=3","gravatar_id":"","url":"https://api.github.com/users/hijarian","html_url":"https://github.com/hijarian","followers_url":"https://api.github.com/users/hijarian/followers","following_url":"https://api.github.com/users/hijarian/following{/other_user}","gists_url":"https://api.github.com/users/hijarian/gists{/gist_id}","starred_url":"https://api.github.com/users/hijarian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hijarian/subscriptions","organizations_url":"https://api.github.com/users/hijarian/orgs","repos_url":"https://api.github.com/users/hijarian/repos","events_url":"https://api.github.com/users/hijarian/events{/privacy}","received_events_url":"https://api.github.com/users/hijarian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hijarian/parser-reflection","description":"Parser Reflection API - Provides source code analysis without loading classes into the PHP memory","fork":true,"url":"https://api.github.com/repos/hijarian/parser-reflection","forks_url":"https://api.github.com/repos/hijarian/parser-reflection/forks","keys_url":"https://api.github.com/repos/hijarian/parser-reflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hijarian/parser-reflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hijarian/parser-reflection/teams","hooks_url":"https://api.github.com/repos/hijarian/parser-reflection/hooks","issue_events_url":"https://api.github.com/repos/hijarian/parser-reflection/issues/events{/number}","events_url":"https://api.github.com/repos/hijarian/parser-reflection/events","assignees_url":"https://api.github.com/repos/hijarian/parser-reflection/assignees{/user}","branches_url":"https://api.github.com/repos/hijarian/parser-reflection/branches{/branch}","tags_url":"https://api.github.com/repos/hijarian/parser-reflection/tags","blobs_url":"https://api.github.com/repos/hijarian/parser-reflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hijarian/parser-reflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hijarian/parser-reflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/hijarian/parser-reflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hijarian/parser-reflection/statuses/{sha}","languages_url":"https://api.github.com/repos/hijarian/parser-reflection/languages","stargazers_url":"https://api.github.com/repos/hijarian/parser-reflection/stargazers","contributors_url":"https://api.github.com/repos/hijarian/parser-reflection/contributors","subscribers_url":"https://api.github.com/repos/hijarian/parser-reflection/subscribers","subscription_url":"https://api.github.com/repos/hijarian/parser-reflection/subscription","commits_url":"https://api.github.com/repos/hijarian/parser-reflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/hijarian/parser-reflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/hijarian/parser-reflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/hijarian/parser-reflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/hijarian/parser-reflection/contents/{+path}","compare_url":"https://api.github.com/repos/hijarian/parser-reflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hijarian/parser-reflection/merges","archive_url":"https://api.github.com/repos/hijarian/parser-reflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hijarian/parser-reflection/downloads","issues_url":"https://api.github.com/repos/hijarian/parser-reflection/issues{/number}","pulls_url":"https://api.github.com/repos/hijarian/parser-reflection/pulls{/number}","milestones_url":"https://api.github.com/repos/hijarian/parser-reflection/milestones{/number}","notifications_url":"https://api.github.com/repos/hijarian/parser-reflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hijarian/parser-reflection/labels{/name}","releases_url":"https://api.github.com/repos/hijarian/parser-reflection/releases{/id}","deployments_url":"https://api.github.com/repos/hijarian/parser-reflection/deployments","created_at":"2017-01-28T17:00:02Z","updated_at":"2017-01-28T17:00:04Z","pushed_at":"2017-01-29T16:35:30Z","git_url":"git://github.com/hijarian/parser-reflection.git","ssh_url":"git@github.com:hijarian/parser-reflection.git","clone_url":"https://github.com/hijarian/parser-reflection.git","svn_url":"https://github.com/hijarian/parser-reflection","homepage":"","size":210,"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":"goaop:master","ref":"master","sha":"b996fd324f23d0ecd44b12fdf89dbcc101be0ded","user":{"login":"goaop","id":12559187,"avatar_url":"https://avatars.githubusercontent.com/u/12559187?v=3","gravatar_id":"","url":"https://api.github.com/users/goaop","html_url":"https://github.com/goaop","followers_url":"https://api.github.com/users/goaop/followers","following_url":"https://api.github.com/users/goaop/following{/other_user}","gists_url":"https://api.github.com/users/goaop/gists{/gist_id}","starred_url":"https://api.github.com/users/goaop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goaop/subscriptions","organizations_url":"https://api.github.com/users/goaop/orgs","repos_url":"https://api.github.com/users/goaop/repos","events_url":"https://api.github.com/users/goaop/events{/privacy}","received_events_url":"https://api.github.com/users/goaop/received_events","type":"Organization","site_admin":false},"repo":{"id":45357981,"name":"parser-reflection","full_name":"goaop/parser-reflection","owner":{"login":"goaop","id":12559187,"avatar_url":"https://avatars.githubusercontent.com/u/12559187?v=3","gravatar_id":"","url":"https://api.github.com/users/goaop","html_url":"https://github.com/goaop","followers_url":"https://api.github.com/users/goaop/followers","following_url":"https://api.github.com/users/goaop/following{/other_user}","gists_url":"https://api.github.com/users/goaop/gists{/gist_id}","starred_url":"https://api.github.com/users/goaop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goaop/subscriptions","organizations_url":"https://api.github.com/users/goaop/orgs","repos_url":"https://api.github.com/users/goaop/repos","events_url":"https://api.github.com/users/goaop/events{/privacy}","received_events_url":"https://api.github.com/users/goaop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/goaop/parser-reflection","description":"Parser Reflection API - Provides source code analysis without loading classes into the PHP memory","fork":false,"url":"https://api.github.com/repos/goaop/parser-reflection","forks_url":"https://api.github.com/repos/goaop/parser-reflection/forks","keys_url":"https://api.github.com/repos/goaop/parser-reflection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goaop/parser-reflection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goaop/parser-reflection/teams","hooks_url":"https://api.github.com/repos/goaop/parser-reflection/hooks","issue_events_url":"https://api.github.com/repos/goaop/parser-reflection/issues/events{/number}","events_url":"https://api.github.com/repos/goaop/parser-reflection/events","assignees_url":"https://api.github.com/repos/goaop/parser-reflection/assignees{/user}","branches_url":"https://api.github.com/repos/goaop/parser-reflection/branches{/branch}","tags_url":"https://api.github.com/repos/goaop/parser-reflection/tags","blobs_url":"https://api.github.com/repos/goaop/parser-reflection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goaop/parser-reflection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goaop/parser-reflection/git/refs{/sha}","trees_url":"https://api.github.com/repos/goaop/parser-reflection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goaop/parser-reflection/statuses/{sha}","languages_url":"https://api.github.com/repos/goaop/parser-reflection/languages","stargazers_url":"https://api.github.com/repos/goaop/parser-reflection/stargazers","contributors_url":"https://api.github.com/repos/goaop/parser-reflection/contributors","subscribers_url":"https://api.github.com/repos/goaop/parser-reflection/subscribers","subscription_url":"https://api.github.com/repos/goaop/parser-reflection/subscription","commits_url":"https://api.github.com/repos/goaop/parser-reflection/commits{/sha}","git_commits_url":"https://api.github.com/repos/goaop/parser-reflection/git/commits{/sha}","comments_url":"https://api.github.com/repos/goaop/parser-reflection/comments{/number}","issue_comment_url":"https://api.github.com/repos/goaop/parser-reflection/issues/comments{/number}","contents_url":"https://api.github.com/repos/goaop/parser-reflection/contents/{+path}","compare_url":"https://api.github.com/repos/goaop/parser-reflection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goaop/parser-reflection/merges","archive_url":"https://api.github.com/repos/goaop/parser-reflection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goaop/parser-reflection/downloads","issues_url":"https://api.github.com/repos/goaop/parser-reflection/issues{/number}","pulls_url":"https://api.github.com/repos/goaop/parser-reflection/pulls{/number}","milestones_url":"https://api.github.com/repos/goaop/parser-reflection/milestones{/number}","notifications_url":"https://api.github.com/repos/goaop/parser-reflection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goaop/parser-reflection/labels{/name}","releases_url":"https://api.github.com/repos/goaop/parser-reflection/releases{/id}","deployments_url":"https://api.github.com/repos/goaop/parser-reflection/deployments","created_at":"2015-11-01T21:20:21Z","updated_at":"2017-01-16T21:10:41Z","pushed_at":"2016-12-30T08:16:14Z","git_url":"git://github.com/goaop/parser-reflection.git","ssh_url":"git@github.com:goaop/parser-reflection.git","clone_url":"https://github.com/goaop/parser-reflection.git","svn_url":"https://github.com/goaop/parser-reflection","homepage":"","size":209,"stargazers_count":37,"watchers_count":37,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":13,"forks":6,"open_issues":13,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/goaop/parser-reflection/pulls/66"},"html":{"href":"https://github.com/goaop/parser-reflection/pull/66"},"issue":{"href":"https://api.github.com/repos/goaop/parser-reflection/issues/66"},"comments":{"href":"https://api.github.com/repos/goaop/parser-reflection/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/goaop/parser-reflection/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/goaop/parser-reflection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/goaop/parser-reflection/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/goaop/parser-reflection/statuses/7775cbeff96a90c0a348a31468429899d16ec5d9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"hijarian"}}