{"action":"created","issue":{"url":"https://api.github.com/repos/Roave/BetterReflection/issues/5","labels_url":"https://api.github.com/repos/Roave/BetterReflection/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Roave/BetterReflection/issues/5/comments","events_url":"https://api.github.com/repos/Roave/BetterReflection/issues/5/events","html_url":"https://github.com/Roave/BetterReflection/issues/5","id":92092928,"number":5,"title":"Resolve imported classes for phpdoc blocks","user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Roave/BetterReflection/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/Roave/BetterReflection/milestones/1","html_url":"https://github.com/Roave/BetterReflection/milestones/1.0.0","labels_url":"https://api.github.com/repos/Roave/BetterReflection/milestones/1/labels","id":1187129,"number":1,"title":"1.0.0","description":"","creator":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2015-06-30T13:57:38Z","updated_at":"2015-06-30T18:52:55Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-06-30T13:22:27Z","updated_at":"2015-07-01T17:39:51Z","closed_at":null,"body":"Reported initially in Roave/StrictPhp#27\r\n\r\nWe can move this functionality from [Sevenificator](https://github.com/GeeH/Sevenificator) into Better Reflection, meaning that both Sevenificator and StrictPhp won't need to maintain separate implementations\r\n\r\ne.g. \r\n```php\r\nnamespace RstGroup;\r\n\r\nuse Doctrine\\DBAL\\Logging\\DebugStack;\r\nuse Psr\\Log\\LoggerInterface;\r\n\r\nclass SqlLogger extends DebugStack\r\n{\r\n    /**\r\n     * @var LoggerInterface\r\n     */\r\n    protected $logger;\r\n\r\n    public function __construct(LoggerInterface $logger)\r\n    {\r\n        $this->logger = $logger;\r\n    }\r\n}\r\n```\r\n\r\nThe reflection should auto-resolve `LoggerInterface` to the imported `Psr\\Log\\LoggerInterface`. If the class cannot be resolved... throw exception maybe?"},"comment":{"url":"https://api.github.com/repos/Roave/BetterReflection/issues/comments/117761909","html_url":"https://github.com/Roave/BetterReflection/issues/5#issuecomment-117761909","issue_url":"https://api.github.com/repos/Roave/BetterReflection/issues/5","id":117761909,"user":{"login":"asgrim","id":496145,"avatar_url":"https://avatars.githubusercontent.com/u/496145?v=3","gravatar_id":"","url":"https://api.github.com/users/asgrim","html_url":"https://github.com/asgrim","followers_url":"https://api.github.com/users/asgrim/followers","following_url":"https://api.github.com/users/asgrim/following{/other_user}","gists_url":"https://api.github.com/users/asgrim/gists{/gist_id}","starred_url":"https://api.github.com/users/asgrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asgrim/subscriptions","organizations_url":"https://api.github.com/users/asgrim/orgs","repos_url":"https://api.github.com/users/asgrim/repos","events_url":"https://api.github.com/users/asgrim/events{/privacy}","received_events_url":"https://api.github.com/users/asgrim/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T17:39:51Z","updated_at":"2015-07-01T17:39:51Z","body":"See fix from Roave/StrictPhp#29 ... this will need to be implemented here too"}}