{"action":"created","issue":{"url":"https://api.github.com/repos/Dhii/bootstrap/issues/23","repository_url":"https://api.github.com/repos/Dhii/bootstrap","labels_url":"https://api.github.com/repos/Dhii/bootstrap/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Dhii/bootstrap/issues/23/comments","events_url":"https://api.github.com/repos/Dhii/bootstrap/issues/23/events","html_url":"https://github.com/Dhii/bootstrap/issues/23","id":260900239,"number":23,"title":"Better Autoload Namespace Deduction","user":{"login":"mecha","id":5425482,"avatar_url":"https://avatars3.githubusercontent.com/u/5425482?v=4","gravatar_id":"","url":"https://api.github.com/users/mecha","html_url":"https://github.com/mecha","followers_url":"https://api.github.com/users/mecha/followers","following_url":"https://api.github.com/users/mecha/following{/other_user}","gists_url":"https://api.github.com/users/mecha/gists{/gist_id}","starred_url":"https://api.github.com/users/mecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mecha/subscriptions","organizations_url":"https://api.github.com/users/mecha/orgs","repos_url":"https://api.github.com/users/mecha/repos","events_url":"https://api.github.com/users/mecha/events{/privacy}","received_events_url":"https://api.github.com/users/mecha/received_events","type":"User","site_admin":false},"labels":[{"id":559121589,"url":"https://api.github.com/repos/Dhii/bootstrap/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"mecha","id":5425482,"avatar_url":"https://avatars3.githubusercontent.com/u/5425482?v=4","gravatar_id":"","url":"https://api.github.com/users/mecha","html_url":"https://github.com/mecha","followers_url":"https://api.github.com/users/mecha/followers","following_url":"https://api.github.com/users/mecha/following{/other_user}","gists_url":"https://api.github.com/users/mecha/gists{/gist_id}","starred_url":"https://api.github.com/users/mecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mecha/subscriptions","organizations_url":"https://api.github.com/users/mecha/orgs","repos_url":"https://api.github.com/users/mecha/repos","events_url":"https://api.github.com/users/mecha/events{/privacy}","received_events_url":"https://api.github.com/users/mecha/received_events","type":"User","site_admin":false},"assignees":[{"login":"mecha","id":5425482,"avatar_url":"https://avatars3.githubusercontent.com/u/5425482?v=4","gravatar_id":"","url":"https://api.github.com/users/mecha","html_url":"https://github.com/mecha","followers_url":"https://api.github.com/users/mecha/followers","following_url":"https://api.github.com/users/mecha/following{/other_user}","gists_url":"https://api.github.com/users/mecha/gists{/gist_id}","starred_url":"https://api.github.com/users/mecha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mecha/subscriptions","organizations_url":"https://api.github.com/users/mecha/orgs","repos_url":"https://api.github.com/users/mecha/repos","events_url":"https://api.github.com/users/mecha/events{/privacy}","received_events_url":"https://api.github.com/users/mecha/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Dhii/bootstrap/milestones/4","html_url":"https://github.com/Dhii/bootstrap/milestone/4","labels_url":"https://api.github.com/repos/Dhii/bootstrap/milestones/4/labels","id":2787707,"number":4,"title":"v0.3","description":null,"creator":{"login":"XedinUnknown","id":1428973,"avatar_url":"https://avatars1.githubusercontent.com/u/1428973?v=4","gravatar_id":"","url":"https://api.github.com/users/XedinUnknown","html_url":"https://github.com/XedinUnknown","followers_url":"https://api.github.com/users/XedinUnknown/followers","following_url":"https://api.github.com/users/XedinUnknown/following{/other_user}","gists_url":"https://api.github.com/users/XedinUnknown/gists{/gist_id}","starred_url":"https://api.github.com/users/XedinUnknown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XedinUnknown/subscriptions","organizations_url":"https://api.github.com/users/XedinUnknown/orgs","repos_url":"https://api.github.com/users/XedinUnknown/repos","events_url":"https://api.github.com/users/XedinUnknown/events{/privacy}","received_events_url":"https://api.github.com/users/XedinUnknown/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2017-09-24T16:24:28Z","updated_at":"2017-11-23T14:26:32Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-09-27T09:07:44Z","updated_at":"2017-11-23T14:26:32Z","closed_at":"2017-11-23T14:26:32Z","author_association":"MEMBER","body":"The autoload namespace is currently auto defaulted to the project name without spaces. For instance, a project called \"State Machine Interface\" gives a default autoload namespace of `Dhii\\StateMachineInterface`.\r\n\r\n## Proposal \r\n\r\nAfter carefully looking at the package names used in Dhii, we can use only the first word in the project name. Some examples:\r\n\r\n* Type Interface = `Dhii\\Type`\r\n* Validation Abstract = `Dhii\\Validation`\r\n* Iterator Base = `Dhii\\Iterator`\r\n\r\nWhile not accurate 100% of the time, it _does_ manage to deduce the desired autoload namespace _most_ of the time. Certain packages such as \"State Machine Interface\" would produce `Dhii\\State`, which is still incorrect."},"comment":{"url":"https://api.github.com/repos/Dhii/bootstrap/issues/comments/346631763","html_url":"https://github.com/Dhii/bootstrap/issues/23#issuecomment-346631763","issue_url":"https://api.github.com/repos/Dhii/bootstrap/issues/23","id":346631763,"user":{"login":"XedinUnknown","id":1428973,"avatar_url":"https://avatars1.githubusercontent.com/u/1428973?v=4","gravatar_id":"","url":"https://api.github.com/users/XedinUnknown","html_url":"https://github.com/XedinUnknown","followers_url":"https://api.github.com/users/XedinUnknown/followers","following_url":"https://api.github.com/users/XedinUnknown/following{/other_user}","gists_url":"https://api.github.com/users/XedinUnknown/gists{/gist_id}","starred_url":"https://api.github.com/users/XedinUnknown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XedinUnknown/subscriptions","organizations_url":"https://api.github.com/users/XedinUnknown/orgs","repos_url":"https://api.github.com/users/XedinUnknown/repos","events_url":"https://api.github.com/users/XedinUnknown/events{/privacy}","received_events_url":"https://api.github.com/users/XedinUnknown/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T14:26:32Z","updated_at":"2017-11-23T14:26:32Z","author_association":"OWNER","body":"Done."}}
{"actor":{"display_login":"XedinUnknown"}}