{"action":"created","issue":{"url":"https://api.github.com/repos/slimphp/Slim/issues/1919","repository_url":"https://api.github.com/repos/slimphp/Slim","labels_url":"https://api.github.com/repos/slimphp/Slim/issues/1919/labels{/name}","comments_url":"https://api.github.com/repos/slimphp/Slim/issues/1919/comments","events_url":"https://api.github.com/repos/slimphp/Slim/issues/1919/events","html_url":"https://github.com/slimphp/Slim/pull/1919","id":163129991,"number":1919,"title":"Fix namespaces usage. Correct phpdocs","user":{"login":"vkhramtsov","id":5517373,"avatar_url":"https://avatars.githubusercontent.com/u/5517373?v=3","gravatar_id":"","url":"https://api.github.com/users/vkhramtsov","html_url":"https://github.com/vkhramtsov","followers_url":"https://api.github.com/users/vkhramtsov/followers","following_url":"https://api.github.com/users/vkhramtsov/following{/other_user}","gists_url":"https://api.github.com/users/vkhramtsov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkhramtsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkhramtsov/subscriptions","organizations_url":"https://api.github.com/users/vkhramtsov/orgs","repos_url":"https://api.github.com/users/vkhramtsov/repos","events_url":"https://api.github.com/users/vkhramtsov/events{/privacy}","received_events_url":"https://api.github.com/users/vkhramtsov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-30T10:13:23Z","updated_at":"2016-06-30T17:40:33Z","closed_at":"2016-06-30T16:14:29Z","pull_request":{"url":"https://api.github.com/repos/slimphp/Slim/pulls/1919","html_url":"https://github.com/slimphp/Slim/pull/1919","diff_url":"https://github.com/slimphp/Slim/pull/1919.diff","patch_url":"https://github.com/slimphp/Slim/pull/1919.patch"},"body":"Fixes:\r\n- Remove import for classes from global namespace\r\n- Remove imports for classes which actually in the same namespace\r\n- Correct code due to previous point\r\n- Remove obsolete `use`s\r\n- Order uses alphabetically"},"comment":{"url":"https://api.github.com/repos/slimphp/Slim/issues/comments/229733636","html_url":"https://github.com/slimphp/Slim/pull/1919#issuecomment-229733636","issue_url":"https://api.github.com/repos/slimphp/Slim/issues/1919","id":229733636,"user":{"login":"vkhramtsov","id":5517373,"avatar_url":"https://avatars.githubusercontent.com/u/5517373?v=3","gravatar_id":"","url":"https://api.github.com/users/vkhramtsov","html_url":"https://github.com/vkhramtsov","followers_url":"https://api.github.com/users/vkhramtsov/followers","following_url":"https://api.github.com/users/vkhramtsov/following{/other_user}","gists_url":"https://api.github.com/users/vkhramtsov/gists{/gist_id}","starred_url":"https://api.github.com/users/vkhramtsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vkhramtsov/subscriptions","organizations_url":"https://api.github.com/users/vkhramtsov/orgs","repos_url":"https://api.github.com/users/vkhramtsov/repos","events_url":"https://api.github.com/users/vkhramtsov/events{/privacy}","received_events_url":"https://api.github.com/users/vkhramtsov/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T17:40:33Z","updated_at":"2016-06-30T17:40:33Z","body":"@silentworks  I think it's better to use code style. Sometimes you are using classes from global namespace with adding them to `use` (like `Exception`), sometime you use just `\\Exception` without importing (also you can compare `Collection` class and `CollectionInterface`). It looks like you use different code style in different files.\r\nAlso I see obsolete `use` statements in some files. I think that it's better to remove them instead of keeping garbage in source code. What do you think?"}}
{"actor":{"display_login":"vkhramtsov"}}