{"action":"created","issue":{"url":"https://api.github.com/repos/neos/flow-development-collection/issues/303","repository_url":"https://api.github.com/repos/neos/flow-development-collection","labels_url":"https://api.github.com/repos/neos/flow-development-collection/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/neos/flow-development-collection/issues/303/comments","events_url":"https://api.github.com/repos/neos/flow-development-collection/issues/303/events","html_url":"https://github.com/neos/flow-development-collection/pull/303","id":140562692,"number":303,"title":"!!! BUGFIX: Log throwable errors in PHP 7","user":{"login":"aertmann","id":903567,"avatar_url":"https://avatars.githubusercontent.com/u/903567?v=3","gravatar_id":"","url":"https://api.github.com/users/aertmann","html_url":"https://github.com/aertmann","followers_url":"https://api.github.com/users/aertmann/followers","following_url":"https://api.github.com/users/aertmann/following{/other_user}","gists_url":"https://api.github.com/users/aertmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aertmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aertmann/subscriptions","organizations_url":"https://api.github.com/users/aertmann/orgs","repos_url":"https://api.github.com/users/aertmann/repos","events_url":"https://api.github.com/users/aertmann/events{/privacy}","received_events_url":"https://api.github.com/users/aertmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neos/flow-development-collection/labels/P:%20Flow","name":"P: Flow","color":"0052cc"},{"url":"https://api.github.com/repos/neos/flow-development-collection/labels/T:%20PHP","name":"T: PHP","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-14T03:04:34Z","updated_at":"2016-03-14T07:38:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/neos/flow-development-collection/pulls/303","html_url":"https://github.com/neos/flow-development-collection/pull/303","diff_url":"https://github.com/neos/flow-development-collection/pull/303.diff","patch_url":"https://github.com/neos/flow-development-collection/pull/303.patch"},"body":"Throwable errors (``TypeError``, ``ParseError``, ..) introduced in PHP 7.0\r\nare not logged in the system log. Which means these errors can only\r\nbe shown using the debug exception handler.\r\n\r\nTo fix this the logger interface is adjusted to allow ``\\Throwable`` as\r\nwell as ``\\Exception`` for backwards compatibility with PHP 5.\r\n\r\n!!! Note that ``LoggerInterface`` is changed and all classes\r\nimplementing it must be adjusted accordingly.\r\n\r\nFLOW-441 #close"},"comment":{"url":"https://api.github.com/repos/neos/flow-development-collection/issues/comments/196184024","html_url":"https://github.com/neos/flow-development-collection/pull/303#issuecomment-196184024","issue_url":"https://api.github.com/repos/neos/flow-development-collection/issues/303","id":196184024,"user":{"login":"robertlemke","id":95582,"avatar_url":"https://avatars.githubusercontent.com/u/95582?v=3","gravatar_id":"","url":"https://api.github.com/users/robertlemke","html_url":"https://github.com/robertlemke","followers_url":"https://api.github.com/users/robertlemke/followers","following_url":"https://api.github.com/users/robertlemke/following{/other_user}","gists_url":"https://api.github.com/users/robertlemke/gists{/gist_id}","starred_url":"https://api.github.com/users/robertlemke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertlemke/subscriptions","organizations_url":"https://api.github.com/users/robertlemke/orgs","repos_url":"https://api.github.com/users/robertlemke/repos","events_url":"https://api.github.com/users/robertlemke/events{/privacy}","received_events_url":"https://api.github.com/users/robertlemke/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T07:38:31Z","updated_at":"2016-03-14T07:38:31Z","body":"@aertmann thanks for taking care of this one.\r\n\r\nI actually created almost exactly the same patch when I was dealing with PHP 7 compatibility last year, but then didn't push it because it changes the `LoggerInterface`.\r\n\r\nAs far as I can see, all we can do right now is to include as much code from your PR as possible (where it still makes sense) but leave out the interface change and put it on the list for Flow 4.0."}}