{"action":"closed","issue":{"url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/188","repository_url":"https://api.github.com/repos/kalessil/phpinspectionsea","labels_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/188/comments","events_url":"https://api.github.com/repos/kalessil/phpinspectionsea/issues/188/events","html_url":"https://github.com/kalessil/phpinspectionsea/issues/188","id":214797847,"number":188,"title":"[unused variables] Report unused use() variable","user":{"login":"rentalhost","id":421851,"avatar_url":"https://avatars2.githubusercontent.com/u/421851?v=3","gravatar_id":"","url":"https://api.github.com/users/rentalhost","html_url":"https://github.com/rentalhost","followers_url":"https://api.github.com/users/rentalhost/followers","following_url":"https://api.github.com/users/rentalhost/following{/other_user}","gists_url":"https://api.github.com/users/rentalhost/gists{/gist_id}","starred_url":"https://api.github.com/users/rentalhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rentalhost/subscriptions","organizations_url":"https://api.github.com/users/rentalhost/orgs","repos_url":"https://api.github.com/users/rentalhost/repos","events_url":"https://api.github.com/users/rentalhost/events{/privacy}","received_events_url":"https://api.github.com/users/rentalhost/received_events","type":"User","site_admin":false},"labels":[{"id":462160561,"url":"https://api.github.com/repos/kalessil/phpinspectionsea/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":520350747,"url":"https://api.github.com/repos/kalessil/phpinspectionsea/labels/fixed","name":"fixed","color":"5319e7","default":false}],"state":"closed","locked":false,"assignee":{"login":"kalessil","id":1577185,"avatar_url":"https://avatars1.githubusercontent.com/u/1577185?v=3","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false},"assignees":[{"login":"kalessil","id":1577185,"avatar_url":"https://avatars1.githubusercontent.com/u/1577185?v=3","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/kalessil/phpinspectionsea/milestones/9","html_url":"https://github.com/kalessil/phpinspectionsea/milestone/9","labels_url":"https://api.github.com/repos/kalessil/phpinspectionsea/milestones/9/labels","id":2404533,"number":9,"title":"2.3.6","description":null,"creator":{"login":"kalessil","id":1577185,"avatar_url":"https://avatars1.githubusercontent.com/u/1577185?v=3","gravatar_id":"","url":"https://api.github.com/users/kalessil","html_url":"https://github.com/kalessil","followers_url":"https://api.github.com/users/kalessil/followers","following_url":"https://api.github.com/users/kalessil/following{/other_user}","gists_url":"https://api.github.com/users/kalessil/gists{/gist_id}","starred_url":"https://api.github.com/users/kalessil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalessil/subscriptions","organizations_url":"https://api.github.com/users/kalessil/orgs","repos_url":"https://api.github.com/users/kalessil/repos","events_url":"https://api.github.com/users/kalessil/events{/privacy}","received_events_url":"https://api.github.com/users/kalessil/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":14,"state":"open","created_at":"2017-03-22T15:49:29Z","updated_at":"2017-04-05T20:34:40Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2017-03-16T18:28:55Z","updated_at":"2017-04-05T20:34:40Z","closed_at":"2017-04-05T20:34:40Z","body":"**See next example:**\r\n\r\n```php\r\n$a = null;\r\n$b = function () use ($a) {\r\n};\r\n```\r\n\r\nNote that `$b` uses `$a` only \"virtually\", but it is never readed inside it. I guess that in this case it should be represented like a `unused referenced variable`."}}
{"actor":{"display_login":"kalessil"}}