{"action":"created","issue":{"url":"https://api.github.com/repos/fuel/core/issues/2082","repository_url":"https://api.github.com/repos/fuel/core","labels_url":"https://api.github.com/repos/fuel/core/issues/2082/labels{/name}","comments_url":"https://api.github.com/repos/fuel/core/issues/2082/comments","events_url":"https://api.github.com/repos/fuel/core/issues/2082/events","html_url":"https://github.com/fuel/core/pull/2082","id":289255048,"node_id":"MDExOlB1bGxSZXF1ZXN0MTYzNDMyOTkw","number":2082,"title":"Null don't have to be escaped in Security::htmlentities()","user":{"login":"Art4","id":2162994,"node_id":"MDQ6VXNlcjIxNjI5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2162994?v=4","gravatar_id":"","url":"https://api.github.com/users/Art4","html_url":"https://github.com/Art4","followers_url":"https://api.github.com/users/Art4/followers","following_url":"https://api.github.com/users/Art4/following{/other_user}","gists_url":"https://api.github.com/users/Art4/gists{/gist_id}","starred_url":"https://api.github.com/users/Art4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Art4/subscriptions","organizations_url":"https://api.github.com/users/Art4/orgs","repos_url":"https://api.github.com/users/Art4/repos","events_url":"https://api.github.com/users/Art4/events{/privacy}","received_events_url":"https://api.github.com/users/Art4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-01-17T12:51:19Z","updated_at":"2018-12-21T08:46:46Z","closed_at":"2018-01-17T13:59:37Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/fuel/core/pulls/2082","html_url":"https://github.com/fuel/core/pull/2082","diff_url":"https://github.com/fuel/core/pull/2082.diff","patch_url":"https://github.com/fuel/core/pull/2082.patch"},"body":"I've stumbled upon the \"get_class() expects parameter 1 to be object, null given\" warning in PHP 7.2 and I have see #2081, but my PR is imho a faster solution than https://github.com/fuel/core/commit/8a44a112c7a9a7eee54f6990a9913daf96a230a1, because `null` will be immediately returned instead of go through all `if` cases."},"comment":{"url":"https://api.github.com/repos/fuel/core/issues/comments/449314353","html_url":"https://github.com/fuel/core/pull/2082#issuecomment-449314353","issue_url":"https://api.github.com/repos/fuel/core/issues/2082","id":449314353,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTMxNDM1Mw==","user":{"login":"Art4","id":2162994,"node_id":"MDQ6VXNlcjIxNjI5OTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/2162994?v=4","gravatar_id":"","url":"https://api.github.com/users/Art4","html_url":"https://github.com/Art4","followers_url":"https://api.github.com/users/Art4/followers","following_url":"https://api.github.com/users/Art4/following{/other_user}","gists_url":"https://api.github.com/users/Art4/gists{/gist_id}","starred_url":"https://api.github.com/users/Art4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Art4/subscriptions","organizations_url":"https://api.github.com/users/Art4/orgs","repos_url":"https://api.github.com/users/Art4/repos","events_url":"https://api.github.com/users/Art4/events{/privacy}","received_events_url":"https://api.github.com/users/Art4/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T08:46:46Z","updated_at":"2018-12-21T08:46:46Z","author_association":"CONTRIBUTOR","body":"I only moved it to line 216 because `null` don't has to be sanitized and could be instantly returned.\r\n\r\nCould you please tell us your PHP version and Fuel version?"}}
{"actor":{"display_login":"Art4"}}