{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507","repository_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507","id":125245303,"number":507,"title":"False positive: only PHP magic methods should be prefixed with a double underscore","user":{"login":"maslade","id":930769,"avatar_url":"https://avatars.githubusercontent.com/u/930769?v=3","gravatar_id":"","url":"https://api.github.com/users/maslade","html_url":"https://github.com/maslade","followers_url":"https://api.github.com/users/maslade/followers","following_url":"https://api.github.com/users/maslade/following{/other_user}","gists_url":"https://api.github.com/users/maslade/gists{/gist_id}","starred_url":"https://api.github.com/users/maslade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maslade/subscriptions","organizations_url":"https://api.github.com/users/maslade/orgs","repos_url":"https://api.github.com/users/maslade/repos","events_url":"https://api.github.com/users/maslade/events{/privacy}","received_events_url":"https://api.github.com/users/maslade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-01-06T19:32:27Z","updated_at":"2016-07-19T17:06:31Z","closed_at":null,"body":"The following code:\r\n\r\n    class Child extends SoapClient {\r\n    \tpublic function __doRequest( $request, $location, $action, $version, $one_way = 0 ) {\r\n    \t\t// some custom stuff\r\n    \t}\r\n    }\r\n\r\nProduces the following ERROR:\r\n\r\n    Method name \"Child::__doRequest\" is\r\n    invalid; only PHP magic methods should be prefixed\r\n    with a double underscore\r\n\r\n```SoapClient``` is part of an extension provided as part of core PHP that makes heavy use of ```__``` named functions with valid use cases for overloading them."},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/233700033","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507#issuecomment-233700033","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/507","id":233700033,"user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars.githubusercontent.com/u/663378?v=3","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T17:06:31Z","updated_at":"2016-07-19T17:06:31Z","body":"This should be fixed by PR #623."}}
{"actor":{"display_login":"jrfnl"}}