{"action":"created","issue":{"url":"https://api.github.com/repos/slevomat/coding-standard/issues/478","repository_url":"https://api.github.com/repos/slevomat/coding-standard","labels_url":"https://api.github.com/repos/slevomat/coding-standard/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/slevomat/coding-standard/issues/478/comments","events_url":"https://api.github.com/repos/slevomat/coding-standard/issues/478/events","html_url":"https://github.com/slevomat/coding-standard/issues/478","id":360294202,"node_id":"MDU6SXNzdWUzNjAyOTQyMDI=","number":478,"title":"UselessParentheses removes also usefull parentheses in dev-master (4.8.0)","user":{"login":"xtreamwayz","id":9497586,"node_id":"MDQ6VXNlcjk0OTc1ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9497586?v=4","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"labels":[{"id":301906372,"node_id":"MDU6TGFiZWwzMDE5MDYzNzI=","url":"https://api.github.com/repos/slevomat/coding-standard/labels/Bug","name":"Bug","color":"fc2929","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/slevomat/coding-standard/milestones/3","html_url":"https://github.com/slevomat/coding-standard/milestone/3","labels_url":"https://api.github.com/repos/slevomat/coding-standard/milestones/3/labels","id":3600305,"node_id":"MDk6TWlsZXN0b25lMzYwMDMwNQ==","number":3,"title":"4.8.0","description":null,"creator":{"login":"kukulich","id":260445,"node_id":"MDQ6VXNlcjI2MDQ0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/260445?v=4","gravatar_id":"","url":"https://api.github.com/users/kukulich","html_url":"https://github.com/kukulich","followers_url":"https://api.github.com/users/kukulich/followers","following_url":"https://api.github.com/users/kukulich/following{/other_user}","gists_url":"https://api.github.com/users/kukulich/gists{/gist_id}","starred_url":"https://api.github.com/users/kukulich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kukulich/subscriptions","organizations_url":"https://api.github.com/users/kukulich/orgs","repos_url":"https://api.github.com/users/kukulich/repos","events_url":"https://api.github.com/users/kukulich/events{/privacy}","received_events_url":"https://api.github.com/users/kukulich/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":18,"state":"open","created_at":"2018-08-27T11:14:32Z","updated_at":"2018-09-14T13:14:44Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-09-14T12:58:07Z","updated_at":"2018-09-14T13:18:06Z","closed_at":"2018-09-14T13:09:22Z","author_association":"NONE","body":"I just tested a fix in dev-master (4.8.0) and noticed a new bug in `SlevomatCodingStandard.PHP.UselessParentheses.UselessParentheses`.\r\n\r\nBefore:\r\n```php\r\n        $response = (new Response())\r\n            ->withStatus(200)\r\n            ->withAddedHeader('Content-Type', 'text/plain');\r\n```\r\n\r\nAfter:\r\n```php\r\n        $response = new Response()     // <--- Removed parentheses causes PHP Parse error:  \r\n            ->withStatus(200)          // syntax error, unexpected '->' (T_OBJECT_OPERATOR)\r\n            ->withAddedHeader('Content-Type', 'text/plain');\r\n```"},"comment":{"url":"https://api.github.com/repos/slevomat/coding-standard/issues/comments/421355457","html_url":"https://github.com/slevomat/coding-standard/issues/478#issuecomment-421355457","issue_url":"https://api.github.com/repos/slevomat/coding-standard/issues/478","id":421355457,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTM1NTQ1Nw==","user":{"login":"xtreamwayz","id":9497586,"node_id":"MDQ6VXNlcjk0OTc1ODY=","avatar_url":"https://avatars0.githubusercontent.com/u/9497586?v=4","gravatar_id":"","url":"https://api.github.com/users/xtreamwayz","html_url":"https://github.com/xtreamwayz","followers_url":"https://api.github.com/users/xtreamwayz/followers","following_url":"https://api.github.com/users/xtreamwayz/following{/other_user}","gists_url":"https://api.github.com/users/xtreamwayz/gists{/gist_id}","starred_url":"https://api.github.com/users/xtreamwayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtreamwayz/subscriptions","organizations_url":"https://api.github.com/users/xtreamwayz/orgs","repos_url":"https://api.github.com/users/xtreamwayz/repos","events_url":"https://api.github.com/users/xtreamwayz/events{/privacy}","received_events_url":"https://api.github.com/users/xtreamwayz/received_events","type":"User","site_admin":false},"created_at":"2018-09-14T13:18:06Z","updated_at":"2018-09-14T13:18:06Z","author_association":"NONE","body":"Wow... you are fast :)\r\n\r\nConfirmed that it's fixed. Thanx."}}
{"actor":{"display_login":"xtreamwayz"}}