{"action":"created","issue":{"url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/2","repository_url":"https://api.github.com/repos/oomphinc/composer-installers-extender","labels_url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/2/comments","events_url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/2/events","html_url":"https://github.com/oomphinc/composer-installers-extender/pull/2","id":153472966,"number":2,"title":"Add functionality to disable certain package (framework) types","user":{"login":"balbuf","id":3887845,"avatar_url":"https://avatars.githubusercontent.com/u/3887845?v=3","gravatar_id":"","url":"https://api.github.com/users/balbuf","html_url":"https://github.com/balbuf","followers_url":"https://api.github.com/users/balbuf/followers","following_url":"https://api.github.com/users/balbuf/following{/other_user}","gists_url":"https://api.github.com/users/balbuf/gists{/gist_id}","starred_url":"https://api.github.com/users/balbuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balbuf/subscriptions","organizations_url":"https://api.github.com/users/balbuf/orgs","repos_url":"https://api.github.com/users/balbuf/repos","events_url":"https://api.github.com/users/balbuf/events{/privacy}","received_events_url":"https://api.github.com/users/balbuf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bendoh","id":1833896,"avatar_url":"https://avatars.githubusercontent.com/u/1833896?v=3","gravatar_id":"","url":"https://api.github.com/users/bendoh","html_url":"https://github.com/bendoh","followers_url":"https://api.github.com/users/bendoh/followers","following_url":"https://api.github.com/users/bendoh/following{/other_user}","gists_url":"https://api.github.com/users/bendoh/gists{/gist_id}","starred_url":"https://api.github.com/users/bendoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendoh/subscriptions","organizations_url":"https://api.github.com/users/bendoh/orgs","repos_url":"https://api.github.com/users/bendoh/repos","events_url":"https://api.github.com/users/bendoh/events{/privacy}","received_events_url":"https://api.github.com/users/bendoh/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-05-06T15:11:00Z","updated_at":"2016-05-06T15:32:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/oomphinc/composer-installers-extender/pulls/2","html_url":"https://github.com/oomphinc/composer-installers-extender/pull/2","diff_url":"https://github.com/oomphinc/composer-installers-extender/pull/2.diff","patch_url":"https://github.com/oomphinc/composer-installers-extender/pull/2.patch"},"body":"Allows you to specify framework types to disable in the `'installer-types'` property by prepending the framework name with a bang. There is no way to inform composer of a precedence for installers, so if `composer-installers` gets loaded first, it will claim any types that it supports, even if you have an alternate installer for one of those types. This is allows you to prevent `composer-installers` from claiming types that you wish to use a different installer for. The only way to do this is through reflection to identify the installer and modify the private property that defines all of the supported types.\r\n\r\nThis also modifies the logic of how we get `composer-installers` to handle additional types by catching an expected exception rather than (confusingly) overriding the `getLocations()` method to return a value of false and looking for that."},"comment":{"url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/comments/217475512","html_url":"https://github.com/oomphinc/composer-installers-extender/pull/2#issuecomment-217475512","issue_url":"https://api.github.com/repos/oomphinc/composer-installers-extender/issues/2","id":217475512,"user":{"login":"bendoh","id":1833896,"avatar_url":"https://avatars.githubusercontent.com/u/1833896?v=3","gravatar_id":"","url":"https://api.github.com/users/bendoh","html_url":"https://github.com/bendoh","followers_url":"https://api.github.com/users/bendoh/followers","following_url":"https://api.github.com/users/bendoh/following{/other_user}","gists_url":"https://api.github.com/users/bendoh/gists{/gist_id}","starred_url":"https://api.github.com/users/bendoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendoh/subscriptions","organizations_url":"https://api.github.com/users/bendoh/orgs","repos_url":"https://api.github.com/users/bendoh/repos","events_url":"https://api.github.com/users/bendoh/events{/privacy}","received_events_url":"https://api.github.com/users/bendoh/received_events","type":"User","site_admin":false},"created_at":"2016-05-06T15:32:50Z","updated_at":"2016-05-06T15:32:50Z","body":"Google's PHP comment on Naive getters/setters: \r\n\r\nhttps://web.archive.org/web/20140625191431/https://developers.google.com/speed/articles/optimizing-php"}}