{"action":"created","issue":{"url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/26","labels_url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/26/comments","events_url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/26/events","html_url":"https://github.com/Haehnchen/idea-php-annotation-plugin/issues/26","id":52805806,"number":26,"title":"Class constants as arguments are not recognised as valid imports","user":{"login":"hoshsadiq","id":600045,"avatar_url":"https://avatars.githubusercontent.com/u/600045?v=3","gravatar_id":"","url":"https://api.github.com/users/hoshsadiq","html_url":"https://github.com/hoshsadiq","followers_url":"https://api.github.com/users/hoshsadiq/followers","following_url":"https://api.github.com/users/hoshsadiq/following{/other_user}","gists_url":"https://api.github.com/users/hoshsadiq/gists{/gist_id}","starred_url":"https://api.github.com/users/hoshsadiq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoshsadiq/subscriptions","organizations_url":"https://api.github.com/users/hoshsadiq/orgs","repos_url":"https://api.github.com/users/hoshsadiq/repos","events_url":"https://api.github.com/users/hoshsadiq/events{/privacy}","received_events_url":"https://api.github.com/users/hoshsadiq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/labels/api","name":"api","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-24T08:59:05Z","updated_at":"2015-01-18T18:59:35Z","closed_at":null,"body":"See below. Happy to expand on this if it's not clear.\r\n\r\n```php\r\n<?php\r\n\r\nnamespace Com\\SomeBundle\\Observer;\r\n\r\nuse Com\\SomeBundle\\Events\\SomethingEvents; // this use statement is unrecognised, and e.g. when optimizing imports, this gets removed\r\nuse Com\\SomeBundle\\Event\\MySomethingEvent;\r\nuse JMS\\DiExtraBundle\\Annotation as DI;\r\n\r\n/**\r\n * @DI\\Service\r\n */\r\nclass SomeEventObserver\r\n{\r\n    /**\r\n     * @DI\\Observe(SomethingEvents::PRE_UPDATE)\r\n     */\r\n    public function doSomething(MySomethingEvent $event)\r\n    {\r\n        // whatever\r\n    }\r\n}\r\n```\r\n\r\n```php\r\n<?php\r\n\r\nnamespace Com\\SomeBundle\\Events;\r\n\r\nclass SomethingEvents\r\n{\r\n    const PRE_UPDATE = 'something.pre_update';\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/comments/70420484","html_url":"https://github.com/Haehnchen/idea-php-annotation-plugin/issues/26#issuecomment-70420484","issue_url":"https://api.github.com/repos/Haehnchen/idea-php-annotation-plugin/issues/26","id":70420484,"user":{"login":"lrlopez","id":547387,"avatar_url":"https://avatars.githubusercontent.com/u/547387?v=3","gravatar_id":"","url":"https://api.github.com/users/lrlopez","html_url":"https://github.com/lrlopez","followers_url":"https://api.github.com/users/lrlopez/followers","following_url":"https://api.github.com/users/lrlopez/following{/other_user}","gists_url":"https://api.github.com/users/lrlopez/gists{/gist_id}","starred_url":"https://api.github.com/users/lrlopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrlopez/subscriptions","organizations_url":"https://api.github.com/users/lrlopez/orgs","repos_url":"https://api.github.com/users/lrlopez/repos","events_url":"https://api.github.com/users/lrlopez/events{/privacy}","received_events_url":"https://api.github.com/users/lrlopez/received_events","type":"User","site_admin":false},"created_at":"2015-01-18T18:59:35Z","updated_at":"2015-01-18T18:59:35Z","body":"@Haehnchen, the API issue you opened is marked as solved. Does this mean that the plugin will be able to feature this soon? "}}