{"action":"created","issue":{"url":"https://api.github.com/repos/StyleCI/StyleCI/issues/539","labels_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/539/labels{/name}","comments_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/539/comments","events_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/539/events","html_url":"https://github.com/StyleCI/StyleCI/issues/539","id":101091638,"number":539,"title":"Php7 scalar type hints","user":{"login":"spl1nes","id":5759397,"avatar_url":"https://avatars.githubusercontent.com/u/5759397?v=3","gravatar_id":"","url":"https://api.github.com/users/spl1nes","html_url":"https://github.com/spl1nes","followers_url":"https://api.github.com/users/spl1nes/followers","following_url":"https://api.github.com/users/spl1nes/following{/other_user}","gists_url":"https://api.github.com/users/spl1nes/gists{/gist_id}","starred_url":"https://api.github.com/users/spl1nes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spl1nes/subscriptions","organizations_url":"https://api.github.com/users/spl1nes/orgs","repos_url":"https://api.github.com/users/spl1nes/repos","events_url":"https://api.github.com/users/spl1nes/events{/privacy}","received_events_url":"https://api.github.com/users/spl1nes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-14T19:58:35Z","updated_at":"2015-08-14T20:04:30Z","closed_at":"2015-08-14T20:04:30Z","body":"Php7 scalar type hints cause the following error message:\r\n\r\n> PHP Fatal error: Default value for parameters with a class type hint can only be NULL in XYZ on line L.\r\n\r\ne.g.\r\n\r\n    public function xyz(int $a = 0, string $b = 'b') {}"},"comment":{"url":"https://api.github.com/repos/StyleCI/StyleCI/issues/comments/131222333","html_url":"https://github.com/StyleCI/StyleCI/issues/539#issuecomment-131222333","issue_url":"https://api.github.com/repos/StyleCI/StyleCI/issues/539","id":131222333,"user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"created_at":"2015-08-14T20:04:30Z","updated_at":"2015-08-14T20:04:30Z","body":"Yeh, this is a known issue. For now, you can disable linting to fix this. We're planning to have a beta of php 7 support ready in a few weeks."}}