{"action":"created","issue":{"url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/222","repository_url":"https://api.github.com/repos/Gert-dev/php-integrator-base","labels_url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/222/comments","events_url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/222/events","html_url":"https://github.com/Gert-dev/php-integrator-base/issues/222","id":173141913,"number":222,"title":"Is there any way to prevent lint errors of extension's types?","user":{"login":"vitalybaev","id":724423,"avatar_url":"https://avatars.githubusercontent.com/u/724423?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalybaev","html_url":"https://github.com/vitalybaev","followers_url":"https://api.github.com/users/vitalybaev/followers","following_url":"https://api.github.com/users/vitalybaev/following{/other_user}","gists_url":"https://api.github.com/users/vitalybaev/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalybaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalybaev/subscriptions","organizations_url":"https://api.github.com/users/vitalybaev/orgs","repos_url":"https://api.github.com/users/vitalybaev/repos","events_url":"https://api.github.com/users/vitalybaev/events{/privacy}","received_events_url":"https://api.github.com/users/vitalybaev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-25T08:25:01Z","updated_at":"2016-08-28T08:26:26Z","closed_at":null,"body":"I'm using MongoDB PHP extension, and some lint errors of unknown types are appear.\r\n<img width=\"416\" alt=\"2016-08-25 11 22 43\" src=\"https://cloud.githubusercontent.com/assets/724423/17961748/a6da4b54-6abe-11e6-8f32-5c1098d6760a.png\">\r\nIs there any way to check this types if extension installed on machine and `class_exists` returns `true` in this case.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37264978-is-there-any-way-to-prevent-lint-errors-of-extension-s-types?utm_campaign=plugin&utm_content=tracker%2F24763063&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F24763063&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/comments/242962875","html_url":"https://github.com/Gert-dev/php-integrator-base/issues/222#issuecomment-242962875","issue_url":"https://api.github.com/repos/Gert-dev/php-integrator-base/issues/222","id":242962875,"user":{"login":"vitalybaev","id":724423,"avatar_url":"https://avatars.githubusercontent.com/u/724423?v=3","gravatar_id":"","url":"https://api.github.com/users/vitalybaev","html_url":"https://github.com/vitalybaev","followers_url":"https://api.github.com/users/vitalybaev/followers","following_url":"https://api.github.com/users/vitalybaev/following{/other_user}","gists_url":"https://api.github.com/users/vitalybaev/gists{/gist_id}","starred_url":"https://api.github.com/users/vitalybaev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitalybaev/subscriptions","organizations_url":"https://api.github.com/users/vitalybaev/orgs","repos_url":"https://api.github.com/users/vitalybaev/repos","events_url":"https://api.github.com/users/vitalybaev/events{/privacy}","received_events_url":"https://api.github.com/users/vitalybaev/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T08:26:26Z","updated_at":"2016-08-28T08:26:26Z","body":"@Gert-dev oh, you apparently mean `get_declared_classes` function. I've checked and classes exist:\r\n```\r\n...\r\n    [173] => MongoDB\\BSON\\Binary\r\n    [174] => MongoDB\\BSON\\Javascript\r\n    [175] => MongoDB\\BSON\\MaxKey\r\n    [176] => MongoDB\\BSON\\MinKey\r\n    [177] => MongoDB\\BSON\\ObjectID\r\n    [178] => MongoDB\\BSON\\Regex\r\n    [179] => MongoDB\\BSON\\Timestamp\r\n    [180] => MongoDB\\BSON\\UTCDateTime\r\n...\r\n```"}}
{"actor":{"display_login":"vitalybaev"}}