{"action":"created","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/4071","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/4071/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/4071/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/4071/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4071","id":375169737,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2Njc3OTEw","number":4071,"title":"DX: do not insert Token when calling removeLeadingWhitespace/removeTrailingWhitespace from Tokens","user":{"login":"kubawerlos","id":9282069,"node_id":"MDQ6VXNlcjkyODIwNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/9282069?v=4","gravatar_id":"","url":"https://api.github.com/users/kubawerlos","html_url":"https://github.com/kubawerlos","followers_url":"https://api.github.com/users/kubawerlos/followers","following_url":"https://api.github.com/users/kubawerlos/following{/other_user}","gists_url":"https://api.github.com/users/kubawerlos/gists{/gist_id}","starred_url":"https://api.github.com/users/kubawerlos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubawerlos/subscriptions","organizations_url":"https://api.github.com/users/kubawerlos/orgs","repos_url":"https://api.github.com/users/kubawerlos/repos","events_url":"https://api.github.com/users/kubawerlos/events{/privacy}","received_events_url":"https://api.github.com/users/kubawerlos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T19:02:20Z","updated_at":"2018-10-29T21:39:46Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/4071","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4071","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4071.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4071.patch"},"body":"Previously when calling `Tokens::removeLeadingWhitespace`/`Tokens::removeTrailingWhitespace` it could happen that new `Token` was inserted to collection - which would result with changes of indices."},"comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments/434090864","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4071#issuecomment-434090864","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/4071","id":434090864,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDA5MDg2NA==","user":{"login":"keradus","id":2716794,"node_id":"MDQ6VXNlcjI3MTY3OTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2716794?v=4","gravatar_id":"","url":"https://api.github.com/users/keradus","html_url":"https://github.com/keradus","followers_url":"https://api.github.com/users/keradus/followers","following_url":"https://api.github.com/users/keradus/following{/other_user}","gists_url":"https://api.github.com/users/keradus/gists{/gist_id}","starred_url":"https://api.github.com/users/keradus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keradus/subscriptions","organizations_url":"https://api.github.com/users/keradus/orgs","repos_url":"https://api.github.com/users/keradus/repos","events_url":"https://api.github.com/users/keradus/events{/privacy}","received_events_url":"https://api.github.com/users/keradus/received_events","type":"User","site_admin":false},"created_at":"2018-10-29T21:39:46Z","updated_at":"2018-10-29T21:39:46Z","author_association":"MEMBER","body":"I would love to see an unit test for that"}}
{"actor":{"display_login":"keradus"}}