{"action":"closed","issue":{"url":"https://api.github.com/repos/slevomat/coding-standard/issues/265","repository_url":"https://api.github.com/repos/slevomat/coding-standard","labels_url":"https://api.github.com/repos/slevomat/coding-standard/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/slevomat/coding-standard/issues/265/comments","events_url":"https://api.github.com/repos/slevomat/coding-standard/issues/265/events","html_url":"https://github.com/slevomat/coding-standard/issues/265","id":294850629,"number":265,"title":"EarlyExit fixer causes parse error","user":{"login":"Majkl578","id":144181,"avatar_url":"https://avatars2.githubusercontent.com/u/144181?v=4","gravatar_id":"","url":"https://api.github.com/users/Majkl578","html_url":"https://github.com/Majkl578","followers_url":"https://api.github.com/users/Majkl578/followers","following_url":"https://api.github.com/users/Majkl578/following{/other_user}","gists_url":"https://api.github.com/users/Majkl578/gists{/gist_id}","starred_url":"https://api.github.com/users/Majkl578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Majkl578/subscriptions","organizations_url":"https://api.github.com/users/Majkl578/orgs","repos_url":"https://api.github.com/users/Majkl578/repos","events_url":"https://api.github.com/users/Majkl578/events{/privacy}","received_events_url":"https://api.github.com/users/Majkl578/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-06T17:42:06Z","updated_at":"2018-02-06T21:29:31Z","closed_at":"2018-02-06T21:29:31Z","author_association":"CONTRIBUTOR","body":"Running phpcbf on:\r\n```php\r\n<?php\r\n\r\nfunction test()\r\n{\r\n    if (!preg_match($regex, $value)) {\r\n        $this->context->buildViolation($constraint->message)\r\n            ->setParameter('%string%', $value)\r\n            ->addViolation();\r\n    }\r\n}\r\n```\r\ngets converted into:\r\n```php\r\n<?php\r\n\r\nfunction test()\r\n{\r\n    if (preg_match$regex, $value) {\r\n        return;\r\n    }\r\n\r\n    $this->context->buildViolation($constraint->message)\r\n        ->setParameter('%string%', $value)\r\n        ->addViolation();\r\n}\r\n```\r\n\r\nv4.4.1"}}
{"actor":{"display_login":"kukulich"}}