{"action":"created","issue":{"url":"https://api.github.com/repos/vimeo/psalm/issues/817","repository_url":"https://api.github.com/repos/vimeo/psalm","labels_url":"https://api.github.com/repos/vimeo/psalm/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/vimeo/psalm/issues/817/comments","events_url":"https://api.github.com/repos/vimeo/psalm/issues/817/events","html_url":"https://github.com/vimeo/psalm/issues/817","id":332405388,"node_id":"MDU6SXNzdWUzMzI0MDUzODg=","number":817,"title":"`global` is allowed as a method name in PHP 7+","user":{"login":"weirdan","id":57403,"node_id":"MDQ6VXNlcjU3NDAz","avatar_url":"https://avatars3.githubusercontent.com/u/57403?v=4","gravatar_id":"","url":"https://api.github.com/users/weirdan","html_url":"https://github.com/weirdan","followers_url":"https://api.github.com/users/weirdan/followers","following_url":"https://api.github.com/users/weirdan/following{/other_user}","gists_url":"https://api.github.com/users/weirdan/gists{/gist_id}","starred_url":"https://api.github.com/users/weirdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weirdan/subscriptions","organizations_url":"https://api.github.com/users/weirdan/orgs","repos_url":"https://api.github.com/users/weirdan/repos","events_url":"https://api.github.com/users/weirdan/events{/privacy}","received_events_url":"https://api.github.com/users/weirdan/received_events","type":"User","site_admin":false},"labels":[{"id":486061586,"node_id":"MDU6TGFiZWw0ODYwNjE1ODY=","url":"https://api.github.com/repos/vimeo/psalm/labels/bug","name":"bug","color":"ee0701","default":true},{"id":518590152,"node_id":"MDU6TGFiZWw1MTg1OTAxNTI=","url":"https://api.github.com/repos/vimeo/psalm/labels/false%20positive","name":"false positive","color":"e99695","default":false},{"id":754339224,"node_id":"MDU6TGFiZWw3NTQzMzkyMjQ=","url":"https://api.github.com/repos/vimeo/psalm/labels/valid%20code","name":"valid code","color":"6ddb7f","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-14T13:33:53Z","updated_at":"2018-06-14T21:03:12Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"That's something I didn't know myself, but you can name method `global` in PHP7+ (not in older versions though). Currently psalm rejects `@method retType global()` annotation, but not `public function global(): Client {...}` method."},"comment":{"url":"https://api.github.com/repos/vimeo/psalm/issues/comments/397437458","html_url":"https://github.com/vimeo/psalm/issues/817#issuecomment-397437458","issue_url":"https://api.github.com/repos/vimeo/psalm/issues/817","id":397437458,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzQzNzQ1OA==","user":{"login":"weirdan","id":57403,"node_id":"MDQ6VXNlcjU3NDAz","avatar_url":"https://avatars3.githubusercontent.com/u/57403?v=4","gravatar_id":"","url":"https://api.github.com/users/weirdan","html_url":"https://github.com/weirdan","followers_url":"https://api.github.com/users/weirdan/followers","following_url":"https://api.github.com/users/weirdan/following{/other_user}","gists_url":"https://api.github.com/users/weirdan/gists{/gist_id}","starred_url":"https://api.github.com/users/weirdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weirdan/subscriptions","organizations_url":"https://api.github.com/users/weirdan/orgs","repos_url":"https://api.github.com/users/weirdan/repos","events_url":"https://api.github.com/users/weirdan/events{/privacy}","received_events_url":"https://api.github.com/users/weirdan/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T21:03:12Z","updated_at":"2018-06-14T21:03:12Z","author_association":"CONTRIBUTOR","body":"Probably could be worked around by wrapping the extracted \"method\" into a class before parsing, so that parsing happens in a proper context."}}
{"actor":{"display_login":"weirdan"}}