{"action":"opened","issue":{"url":"https://api.github.com/repos/envato/envato-theme-check/issues/21","repository_url":"https://api.github.com/repos/envato/envato-theme-check","labels_url":"https://api.github.com/repos/envato/envato-theme-check/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/envato/envato-theme-check/issues/21/comments","events_url":"https://api.github.com/repos/envato/envato-theme-check/issues/21/events","html_url":"https://github.com/envato/envato-theme-check/issues/21","id":343073139,"node_id":"MDU6SXNzdWUzNDMwNzMxMzk=","number":21,"title":"Ternary operators ?: warning","user":{"login":"nk-o","id":14810891,"node_id":"MDQ6VXNlcjE0ODEwODkx","avatar_url":"https://avatars1.githubusercontent.com/u/14810891?v=4","gravatar_id":"","url":"https://api.github.com/users/nk-o","html_url":"https://github.com/nk-o","followers_url":"https://api.github.com/users/nk-o/followers","following_url":"https://api.github.com/users/nk-o/following{/other_user}","gists_url":"https://api.github.com/users/nk-o/gists{/gist_id}","starred_url":"https://api.github.com/users/nk-o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nk-o/subscriptions","organizations_url":"https://api.github.com/users/nk-o/orgs","repos_url":"https://api.github.com/users/nk-o/repos","events_url":"https://api.github.com/users/nk-o/events{/privacy}","received_events_url":"https://api.github.com/users/nk-o/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T11:29:50Z","updated_at":"2018-07-20T11:29:50Z","closed_at":null,"author_association":"NONE","body":"We got warning on lines like these:\r\n\r\n```php\r\necho $check ? 'yep' : 'nope';\r\necho ( $check ? 'yep' : 'nope' );\r\n...\r\n```\r\n\r\n`\r\nWARNING: Found echo ($ in the file ... Possible data validation issues found. All dynamic data must be correctly escaped for the context where it is rendered.\r\n`"}}
{"actor":{"display_login":"nk-o"}}