{"action":"created","issue":{"url":"https://api.github.com/repos/omeka/omeka-s/issues/677","repository_url":"https://api.github.com/repos/omeka/omeka-s","labels_url":"https://api.github.com/repos/omeka/omeka-s/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/omeka/omeka-s/issues/677/comments","events_url":"https://api.github.com/repos/omeka/omeka-s/issues/677/events","html_url":"https://github.com/omeka/omeka-s/issues/677","id":164390652,"number":677,"title":"Use interoperable typehints where appropriate","user":{"login":"zerocrates","id":298975,"avatar_url":"https://avatars.githubusercontent.com/u/298975?v=3","gravatar_id":"","url":"https://api.github.com/users/zerocrates","html_url":"https://github.com/zerocrates","followers_url":"https://api.github.com/users/zerocrates/followers","following_url":"https://api.github.com/users/zerocrates/following{/other_user}","gists_url":"https://api.github.com/users/zerocrates/gists{/gist_id}","starred_url":"https://api.github.com/users/zerocrates/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerocrates/subscriptions","organizations_url":"https://api.github.com/users/zerocrates/orgs","repos_url":"https://api.github.com/users/zerocrates/repos","events_url":"https://api.github.com/users/zerocrates/events{/privacy}","received_events_url":"https://api.github.com/users/zerocrates/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-07T19:40:45Z","updated_at":"2016-07-22T12:30:37Z","closed_at":null,"body":"Some Zend components specifically implement more generic interfaces, but in many cases we're hinting and writing against the Zend-specific interface.\r\n\r\nOne place in particular I'm thinking of is the logger: there's a log PSR and Zend has support for it, writing our code to depend only on that interface will make it possible to have basically drop-in support for other loggers if we or somebody ever wants to switch.\r\n\r\nThe ServiceManager interfaces also now extend an interoperable Container interface, but part of that is a change that's really more fleshed out in ZF3 so it may be something better handled there.\r\n\r\nIn general, where Zend's providing us tools to reduce direct coupling to their implementation, it's a good idea to use them."},"comment":{"url":"https://api.github.com/repos/omeka/omeka-s/issues/comments/234531192","html_url":"https://github.com/omeka/omeka-s/issues/677#issuecomment-234531192","issue_url":"https://api.github.com/repos/omeka/omeka-s/issues/677","id":234531192,"user":{"login":"jimsafley","id":141955,"avatar_url":"https://avatars.githubusercontent.com/u/141955?v=3","gravatar_id":"","url":"https://api.github.com/users/jimsafley","html_url":"https://github.com/jimsafley","followers_url":"https://api.github.com/users/jimsafley/followers","following_url":"https://api.github.com/users/jimsafley/following{/other_user}","gists_url":"https://api.github.com/users/jimsafley/gists{/gist_id}","starred_url":"https://api.github.com/users/jimsafley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimsafley/subscriptions","organizations_url":"https://api.github.com/users/jimsafley/orgs","repos_url":"https://api.github.com/users/jimsafley/repos","events_url":"https://api.github.com/users/jimsafley/events{/privacy}","received_events_url":"https://api.github.com/users/jimsafley/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T12:30:37Z","updated_at":"2016-07-22T12:30:37Z","body":"Is there a way we could make these changes without perusing the entire codebase -- some sort of automated typehint detection?"}}
{"actor":{"display_login":"jimsafley"}}