{"action":"opened","issue":{"url":"https://api.github.com/repos/flugger/laravel-responder/issues/95","repository_url":"https://api.github.com/repos/flugger/laravel-responder","labels_url":"https://api.github.com/repos/flugger/laravel-responder/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/flugger/laravel-responder/issues/95/comments","events_url":"https://api.github.com/repos/flugger/laravel-responder/issues/95/events","html_url":"https://github.com/flugger/laravel-responder/issues/95","id":285137480,"number":95,"title":"[Bug] Relations inclusion and PHP7.2","user":{"login":"IlCallo","id":10036108,"avatar_url":"https://avatars0.githubusercontent.com/u/10036108?v=4","gravatar_id":"","url":"https://api.github.com/users/IlCallo","html_url":"https://github.com/IlCallo","followers_url":"https://api.github.com/users/IlCallo/followers","following_url":"https://api.github.com/users/IlCallo/following{/other_user}","gists_url":"https://api.github.com/users/IlCallo/gists{/gist_id}","starred_url":"https://api.github.com/users/IlCallo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IlCallo/subscriptions","organizations_url":"https://api.github.com/users/IlCallo/orgs","repos_url":"https://api.github.com/users/IlCallo/repos","events_url":"https://api.github.com/users/IlCallo/events{/privacy}","received_events_url":"https://api.github.com/users/IlCallo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-29T18:41:48Z","updated_at":"2017-12-29T18:41:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Into the MakesResources concerns file (line 75) it's used the count() function to check for countability.\r\nFrom PHP7.2 onwards, using count() over not countable objects will result in an error.\r\nIs it possible to change it to is_array() or will it break something? If the same is used in other parts of the code for the same purpose, it must be changed as well"}}
{"actor":{"display_login":"IlCallo"}}