{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/fastpress/torpedo/pulls/2","id":47554663,"html_url":"https://github.com/fastpress/torpedo/pull/2","diff_url":"https://github.com/fastpress/torpedo/pull/2.diff","patch_url":"https://github.com/fastpress/torpedo/pull/2.patch","issue_url":"https://api.github.com/repos/fastpress/torpedo/issues/2","number":2,"state":"closed","locked":false,"title":"add autoloader for namespacing","user":{"login":"samayo","id":5304093,"avatar_url":"https://avatars.githubusercontent.com/u/5304093?v=3","gravatar_id":"","url":"https://api.github.com/users/samayo","html_url":"https://github.com/samayo","followers_url":"https://api.github.com/users/samayo/followers","following_url":"https://api.github.com/users/samayo/following{/other_user}","gists_url":"https://api.github.com/users/samayo/gists{/gist_id}","starred_url":"https://api.github.com/users/samayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samayo/subscriptions","organizations_url":"https://api.github.com/users/samayo/orgs","repos_url":"https://api.github.com/users/samayo/repos","events_url":"https://api.github.com/users/samayo/events{/privacy}","received_events_url":"https://api.github.com/users/samayo/received_events","type":"User","site_admin":false},"body":"Ok, so when I create fastpress project \r\n```bash\r\n$ composer create-project fastpress/fastpress:0.1.0\r\n```\r\nAll works fine, except there is no namespace for autoload torpedo libraries. \r\nThis is what I get in `/fastpress/vendor/composer/autoload_ps4.php`\r\n```php\r\nreturn array(\r\n    'Symfony\\\\Component\\\\Yaml\\\\' => array($vendorDir . '/symfony/yaml'),\r\n    'Doctrine\\\\Instantiator\\\\' => array($vendorDir . '/doctrine/instantiator/src/Doctrine/Instantiator'),\r\n    'DeepCopy\\\\' => array($vendorDir . '/myclabs/deep-copy/src/DeepCopy'),\r\n    'App\\\\Model\\\\' => array($baseDir . '/src/app/model'),\r\n    'App\\\\Controller\\\\' => array($baseDir . '/src/app/controller'),\r\n);\r\n```\r\nSee, there is no mention of torpedo. So, I am adding the autoload to this composer file to fix the problem. I hope this was not confusing :)\r\n","created_at":"2015-10-13T16:14:27Z","updated_at":"2015-10-13T18:32:23Z","closed_at":"2015-10-13T18:32:23Z","merged_at":"2015-10-13T18:32:23Z","merge_commit_sha":"8def0b2131b864ee27f2dc06744e01f31e52999e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fastpress/torpedo/pulls/2/commits","review_comments_url":"https://api.github.com/repos/fastpress/torpedo/pulls/2/comments","review_comment_url":"https://api.github.com/repos/fastpress/torpedo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fastpress/torpedo/issues/2/comments","statuses_url":"https://api.github.com/repos/fastpress/torpedo/statuses/942ee87520f2b6f4611116ebab4cedf9e3817dbb","head":{"label":"samayo:master","ref":"master","sha":"942ee87520f2b6f4611116ebab4cedf9e3817dbb","user":{"login":"samayo","id":5304093,"avatar_url":"https://avatars.githubusercontent.com/u/5304093?v=3","gravatar_id":"","url":"https://api.github.com/users/samayo","html_url":"https://github.com/samayo","followers_url":"https://api.github.com/users/samayo/followers","following_url":"https://api.github.com/users/samayo/following{/other_user}","gists_url":"https://api.github.com/users/samayo/gists{/gist_id}","starred_url":"https://api.github.com/users/samayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samayo/subscriptions","organizations_url":"https://api.github.com/users/samayo/orgs","repos_url":"https://api.github.com/users/samayo/repos","events_url":"https://api.github.com/users/samayo/events{/privacy}","received_events_url":"https://api.github.com/users/samayo/received_events","type":"User","site_admin":false},"repo":{"id":44105252,"name":"torpedo","full_name":"samayo/torpedo","owner":{"login":"samayo","id":5304093,"avatar_url":"https://avatars.githubusercontent.com/u/5304093?v=3","gravatar_id":"","url":"https://api.github.com/users/samayo","html_url":"https://github.com/samayo","followers_url":"https://api.github.com/users/samayo/followers","following_url":"https://api.github.com/users/samayo/following{/other_user}","gists_url":"https://api.github.com/users/samayo/gists{/gist_id}","starred_url":"https://api.github.com/users/samayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samayo/subscriptions","organizations_url":"https://api.github.com/users/samayo/orgs","repos_url":"https://api.github.com/users/samayo/repos","events_url":"https://api.github.com/users/samayo/events{/privacy}","received_events_url":"https://api.github.com/users/samayo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samayo/torpedo","description":"libraries for fastpress","fork":true,"url":"https://api.github.com/repos/samayo/torpedo","forks_url":"https://api.github.com/repos/samayo/torpedo/forks","keys_url":"https://api.github.com/repos/samayo/torpedo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samayo/torpedo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samayo/torpedo/teams","hooks_url":"https://api.github.com/repos/samayo/torpedo/hooks","issue_events_url":"https://api.github.com/repos/samayo/torpedo/issues/events{/number}","events_url":"https://api.github.com/repos/samayo/torpedo/events","assignees_url":"https://api.github.com/repos/samayo/torpedo/assignees{/user}","branches_url":"https://api.github.com/repos/samayo/torpedo/branches{/branch}","tags_url":"https://api.github.com/repos/samayo/torpedo/tags","blobs_url":"https://api.github.com/repos/samayo/torpedo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samayo/torpedo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samayo/torpedo/git/refs{/sha}","trees_url":"https://api.github.com/repos/samayo/torpedo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samayo/torpedo/statuses/{sha}","languages_url":"https://api.github.com/repos/samayo/torpedo/languages","stargazers_url":"https://api.github.com/repos/samayo/torpedo/stargazers","contributors_url":"https://api.github.com/repos/samayo/torpedo/contributors","subscribers_url":"https://api.github.com/repos/samayo/torpedo/subscribers","subscription_url":"https://api.github.com/repos/samayo/torpedo/subscription","commits_url":"https://api.github.com/repos/samayo/torpedo/commits{/sha}","git_commits_url":"https://api.github.com/repos/samayo/torpedo/git/commits{/sha}","comments_url":"https://api.github.com/repos/samayo/torpedo/comments{/number}","issue_comment_url":"https://api.github.com/repos/samayo/torpedo/issues/comments{/number}","contents_url":"https://api.github.com/repos/samayo/torpedo/contents/{+path}","compare_url":"https://api.github.com/repos/samayo/torpedo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samayo/torpedo/merges","archive_url":"https://api.github.com/repos/samayo/torpedo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samayo/torpedo/downloads","issues_url":"https://api.github.com/repos/samayo/torpedo/issues{/number}","pulls_url":"https://api.github.com/repos/samayo/torpedo/pulls{/number}","milestones_url":"https://api.github.com/repos/samayo/torpedo/milestones{/number}","notifications_url":"https://api.github.com/repos/samayo/torpedo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samayo/torpedo/labels{/name}","releases_url":"https://api.github.com/repos/samayo/torpedo/releases{/id}","created_at":"2015-10-12T12:13:02Z","updated_at":"2015-10-12T12:19:04Z","pushed_at":"2015-10-13T18:26:27Z","git_url":"git://github.com/samayo/torpedo.git","ssh_url":"git@github.com:samayo/torpedo.git","clone_url":"https://github.com/samayo/torpedo.git","svn_url":"https://github.com/samayo/torpedo","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"fastpress:master","ref":"master","sha":"705803e2a556c3884a126e6318c3a0cd5b3a4565","user":{"login":"fastpress","id":7717170,"avatar_url":"https://avatars.githubusercontent.com/u/7717170?v=3","gravatar_id":"","url":"https://api.github.com/users/fastpress","html_url":"https://github.com/fastpress","followers_url":"https://api.github.com/users/fastpress/followers","following_url":"https://api.github.com/users/fastpress/following{/other_user}","gists_url":"https://api.github.com/users/fastpress/gists{/gist_id}","starred_url":"https://api.github.com/users/fastpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastpress/subscriptions","organizations_url":"https://api.github.com/users/fastpress/orgs","repos_url":"https://api.github.com/users/fastpress/repos","events_url":"https://api.github.com/users/fastpress/events{/privacy}","received_events_url":"https://api.github.com/users/fastpress/received_events","type":"Organization","site_admin":false},"repo":{"id":44101797,"name":"torpedo","full_name":"fastpress/torpedo","owner":{"login":"fastpress","id":7717170,"avatar_url":"https://avatars.githubusercontent.com/u/7717170?v=3","gravatar_id":"","url":"https://api.github.com/users/fastpress","html_url":"https://github.com/fastpress","followers_url":"https://api.github.com/users/fastpress/followers","following_url":"https://api.github.com/users/fastpress/following{/other_user}","gists_url":"https://api.github.com/users/fastpress/gists{/gist_id}","starred_url":"https://api.github.com/users/fastpress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fastpress/subscriptions","organizations_url":"https://api.github.com/users/fastpress/orgs","repos_url":"https://api.github.com/users/fastpress/repos","events_url":"https://api.github.com/users/fastpress/events{/privacy}","received_events_url":"https://api.github.com/users/fastpress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fastpress/torpedo","description":"libraries for fastpress","fork":false,"url":"https://api.github.com/repos/fastpress/torpedo","forks_url":"https://api.github.com/repos/fastpress/torpedo/forks","keys_url":"https://api.github.com/repos/fastpress/torpedo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fastpress/torpedo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fastpress/torpedo/teams","hooks_url":"https://api.github.com/repos/fastpress/torpedo/hooks","issue_events_url":"https://api.github.com/repos/fastpress/torpedo/issues/events{/number}","events_url":"https://api.github.com/repos/fastpress/torpedo/events","assignees_url":"https://api.github.com/repos/fastpress/torpedo/assignees{/user}","branches_url":"https://api.github.com/repos/fastpress/torpedo/branches{/branch}","tags_url":"https://api.github.com/repos/fastpress/torpedo/tags","blobs_url":"https://api.github.com/repos/fastpress/torpedo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fastpress/torpedo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fastpress/torpedo/git/refs{/sha}","trees_url":"https://api.github.com/repos/fastpress/torpedo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fastpress/torpedo/statuses/{sha}","languages_url":"https://api.github.com/repos/fastpress/torpedo/languages","stargazers_url":"https://api.github.com/repos/fastpress/torpedo/stargazers","contributors_url":"https://api.github.com/repos/fastpress/torpedo/contributors","subscribers_url":"https://api.github.com/repos/fastpress/torpedo/subscribers","subscription_url":"https://api.github.com/repos/fastpress/torpedo/subscription","commits_url":"https://api.github.com/repos/fastpress/torpedo/commits{/sha}","git_commits_url":"https://api.github.com/repos/fastpress/torpedo/git/commits{/sha}","comments_url":"https://api.github.com/repos/fastpress/torpedo/comments{/number}","issue_comment_url":"https://api.github.com/repos/fastpress/torpedo/issues/comments{/number}","contents_url":"https://api.github.com/repos/fastpress/torpedo/contents/{+path}","compare_url":"https://api.github.com/repos/fastpress/torpedo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fastpress/torpedo/merges","archive_url":"https://api.github.com/repos/fastpress/torpedo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fastpress/torpedo/downloads","issues_url":"https://api.github.com/repos/fastpress/torpedo/issues{/number}","pulls_url":"https://api.github.com/repos/fastpress/torpedo/pulls{/number}","milestones_url":"https://api.github.com/repos/fastpress/torpedo/milestones{/number}","notifications_url":"https://api.github.com/repos/fastpress/torpedo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fastpress/torpedo/labels{/name}","releases_url":"https://api.github.com/repos/fastpress/torpedo/releases{/id}","created_at":"2015-10-12T10:57:43Z","updated_at":"2015-10-12T12:25:41Z","pushed_at":"2015-10-13T18:32:23Z","git_url":"git://github.com/fastpress/torpedo.git","ssh_url":"git@github.com:fastpress/torpedo.git","clone_url":"https://github.com/fastpress/torpedo.git","svn_url":"https://github.com/fastpress/torpedo","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fastpress/torpedo/pulls/2"},"html":{"href":"https://github.com/fastpress/torpedo/pull/2"},"issue":{"href":"https://api.github.com/repos/fastpress/torpedo/issues/2"},"comments":{"href":"https://api.github.com/repos/fastpress/torpedo/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/fastpress/torpedo/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/fastpress/torpedo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fastpress/torpedo/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/fastpress/torpedo/statuses/942ee87520f2b6f4611116ebab4cedf9e3817dbb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nochso","id":6887618,"avatar_url":"https://avatars.githubusercontent.com/u/6887618?v=3","gravatar_id":"","url":"https://api.github.com/users/nochso","html_url":"https://github.com/nochso","followers_url":"https://api.github.com/users/nochso/followers","following_url":"https://api.github.com/users/nochso/following{/other_user}","gists_url":"https://api.github.com/users/nochso/gists{/gist_id}","starred_url":"https://api.github.com/users/nochso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nochso/subscriptions","organizations_url":"https://api.github.com/users/nochso/orgs","repos_url":"https://api.github.com/users/nochso/repos","events_url":"https://api.github.com/users/nochso/events{/privacy}","received_events_url":"https://api.github.com/users/nochso/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"commits":2,"additions":5,"deletions":0,"changed_files":1}}