{"action":"created","issue":{"url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/18","repository_url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation","labels_url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/18/comments","events_url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/18/events","html_url":"https://github.com/Gert-dev/php-integrator-navigation/issues/18","id":150293333,"number":18,"title":"Partly not doing Autocomplete","user":{"login":"lukasoppermann","id":813754,"avatar_url":"https://avatars.githubusercontent.com/u/813754?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasoppermann","html_url":"https://github.com/lukasoppermann","followers_url":"https://api.github.com/users/lukasoppermann/followers","following_url":"https://api.github.com/users/lukasoppermann/following{/other_user}","gists_url":"https://api.github.com/users/lukasoppermann/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasoppermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasoppermann/subscriptions","organizations_url":"https://api.github.com/users/lukasoppermann/orgs","repos_url":"https://api.github.com/users/lukasoppermann/repos","events_url":"https://api.github.com/users/lukasoppermann/events{/privacy}","received_events_url":"https://api.github.com/users/lukasoppermann/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-22T07:32:52Z","updated_at":"2016-04-23T10:38:59Z","closed_at":"2016-04-23T10:38:59Z","body":"Hey,\r\n\r\nI have the following \"issue\". I have https://github.com/lukasoppermann/http-status installed as a package via composer.\r\n\r\nWhat you can do, is implement an Interface which provides a ton of constants. If you implement this interface you can use `self::HTTP_OK`.\r\n\r\n```php\r\nuse Lukasoppermann\\Httpstatus\\Httpstatuscodes;\r\n\r\nclass TestCase extends Laravel\\Lumen\\Testing\\TestCase implements Httpstatuscodes\r\n{\r\n ...\r\n}\r\n```\r\n\r\nHowever the autocompletion does not work. `self::HTTP_` will not show any of the constants from the interface. I do not know of this is related, but `'HTT'` (as string in `'`) does show the correct names of the constants.\r\n\r\nIs this desired behavior? Did I miss some kind of annotation or something? The https://github.com/tocjent/php-integrator-symbol-viewer does actually show the constants, which has me even more confused (if you select show inherited properties).\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/33220567-partly-not-doing-autocomplete?utm_campaign=plugin&utm_content=tracker%2F24912629&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F24912629&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/comments/213715402","html_url":"https://github.com/Gert-dev/php-integrator-navigation/issues/18#issuecomment-213715402","issue_url":"https://api.github.com/repos/Gert-dev/php-integrator-navigation/issues/18","id":213715402,"user":{"login":"lukasoppermann","id":813754,"avatar_url":"https://avatars.githubusercontent.com/u/813754?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasoppermann","html_url":"https://github.com/lukasoppermann","followers_url":"https://api.github.com/users/lukasoppermann/followers","following_url":"https://api.github.com/users/lukasoppermann/following{/other_user}","gists_url":"https://api.github.com/users/lukasoppermann/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasoppermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasoppermann/subscriptions","organizations_url":"https://api.github.com/users/lukasoppermann/orgs","repos_url":"https://api.github.com/users/lukasoppermann/repos","events_url":"https://api.github.com/users/lukasoppermann/events{/privacy}","received_events_url":"https://api.github.com/users/lukasoppermann/received_events","type":"User","site_admin":false},"created_at":"2016-04-23T10:38:59Z","updated_at":"2016-04-23T10:38:59Z","body":"Sorry, you are correct, it was due to me using it within a testTrait, that does not implement the interface, but will have access when used within the test.\r\n\r\n"}}