{"action":"closed","issue":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1986","repository_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1986/labels{/name}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1986/comments","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1986/events","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/1986","id":159804154,"number":1986,"title":"unused_use [symfony] bad behavior","user":{"login":"ctf0","id":7388088,"avatar_url":"https://avatars.githubusercontent.com/u/7388088?v=3","gravatar_id":"","url":"https://api.github.com/users/ctf0","html_url":"https://github.com/ctf0","followers_url":"https://api.github.com/users/ctf0/followers","following_url":"https://api.github.com/users/ctf0/following{/other_user}","gists_url":"https://api.github.com/users/ctf0/gists{/gist_id}","starred_url":"https://api.github.com/users/ctf0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ctf0/subscriptions","organizations_url":"https://api.github.com/users/ctf0/orgs","repos_url":"https://api.github.com/users/ctf0/repos","events_url":"https://api.github.com/users/ctf0/events{/privacy}","received_events_url":"https://api.github.com/users/ctf0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-12T02:44:43Z","updated_at":"2016-06-12T08:36:47Z","closed_at":"2016-06-12T08:36:47Z","body":"example\r\n```php\r\n<?php\r\n\r\nnamespace App\\Http\\Controllers;\r\n\r\nuse App\\Something;\r\nuse App\\Http\\Controllers\\Controller;\r\n\r\nclass FooController extends Controller\r\n{\r\n ...\r\n}\r\n```\r\ncurrently both of the use statements will be deleted, while `use App\\Http\\Controllers\\Controller;` should be kept.\r\n\r\nusing **homebrew/php/php-cs-fixer: stable 1.11 (bottled)**"}}
{"actor":{"display_login":"ctf0"}}