{"action":"created","issue":{"url":"https://api.github.com/repos/defuse/php-encryption/issues/157","labels_url":"https://api.github.com/repos/defuse/php-encryption/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/defuse/php-encryption/issues/157/comments","events_url":"https://api.github.com/repos/defuse/php-encryption/issues/157/events","html_url":"https://github.com/defuse/php-encryption/pull/157","id":123989605,"number":157,"title":"Make autoload function conform to spec.","user":{"login":"twistor","id":42400,"avatar_url":"https://avatars.githubusercontent.com/u/42400?v=3","gravatar_id":"","url":"https://api.github.com/users/twistor","html_url":"https://github.com/twistor","followers_url":"https://api.github.com/users/twistor/followers","following_url":"https://api.github.com/users/twistor/following{/other_user}","gists_url":"https://api.github.com/users/twistor/gists{/gist_id}","starred_url":"https://api.github.com/users/twistor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twistor/subscriptions","organizations_url":"https://api.github.com/users/twistor/orgs","repos_url":"https://api.github.com/users/twistor/repos","events_url":"https://api.github.com/users/twistor/events{/privacy}","received_events_url":"https://api.github.com/users/twistor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-27T17:42:25Z","updated_at":"2016-01-28T21:21:05Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/defuse/php-encryption/pulls/157","html_url":"https://github.com/defuse/php-encryption/pull/157","diff_url":"https://github.com/defuse/php-encryption/pull/157.diff","patch_url":"https://github.com/defuse/php-encryption/pull/157.patch"},"body":"According to http://php.net/manual/en/function.spl-autoload-register.php, the autoload function should return true on success, and false on failure.\r\n\r\nAlso, changed the loop to a simple isset(). If there was a reason for the loop, I can change it back."},"comment":{"url":"https://api.github.com/repos/defuse/php-encryption/issues/comments/176425399","html_url":"https://github.com/defuse/php-encryption/pull/157#issuecomment-176425399","issue_url":"https://api.github.com/repos/defuse/php-encryption/issues/157","id":176425399,"user":{"login":"twistor","id":42400,"avatar_url":"https://avatars.githubusercontent.com/u/42400?v=3","gravatar_id":"","url":"https://api.github.com/users/twistor","html_url":"https://github.com/twistor","followers_url":"https://api.github.com/users/twistor/followers","following_url":"https://api.github.com/users/twistor/following{/other_user}","gists_url":"https://api.github.com/users/twistor/gists{/gist_id}","starred_url":"https://api.github.com/users/twistor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twistor/subscriptions","organizations_url":"https://api.github.com/users/twistor/orgs","repos_url":"https://api.github.com/users/twistor/repos","events_url":"https://api.github.com/users/twistor/events{/privacy}","received_events_url":"https://api.github.com/users/twistor/received_events","type":"User","site_admin":false},"created_at":"2016-01-28T21:21:05Z","updated_at":"2016-01-28T21:21:05Z","body":"Yup. It ended up being a bug in composer that dragged me down this rabbit hole.\r\n\r\nI haven't closed this yet because I was planning on still proposing removing the foreach."}}