{"action":"created","issue":{"url":"https://api.github.com/repos/vimeo/psalm/issues/1135","repository_url":"https://api.github.com/repos/vimeo/psalm","labels_url":"https://api.github.com/repos/vimeo/psalm/issues/1135/labels{/name}","comments_url":"https://api.github.com/repos/vimeo/psalm/issues/1135/comments","events_url":"https://api.github.com/repos/vimeo/psalm/issues/1135/events","html_url":"https://github.com/vimeo/psalm/issues/1135","id":392033065,"node_id":"MDU6SXNzdWUzOTIwMzMwNjU=","number":1135,"title":"Autoloading false-positives","user":{"login":"josephzidell","id":1812443,"node_id":"MDQ6VXNlcjE4MTI0NDM=","avatar_url":"https://avatars0.githubusercontent.com/u/1812443?v=4","gravatar_id":"","url":"https://api.github.com/users/josephzidell","html_url":"https://github.com/josephzidell","followers_url":"https://api.github.com/users/josephzidell/followers","following_url":"https://api.github.com/users/josephzidell/following{/other_user}","gists_url":"https://api.github.com/users/josephzidell/gists{/gist_id}","starred_url":"https://api.github.com/users/josephzidell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephzidell/subscriptions","organizations_url":"https://api.github.com/users/josephzidell/orgs","repos_url":"https://api.github.com/users/josephzidell/repos","events_url":"https://api.github.com/users/josephzidell/events{/privacy}","received_events_url":"https://api.github.com/users/josephzidell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-18T07:45:42Z","updated_at":"2018-12-18T14:23:25Z","closed_at":null,"author_association":"NONE","body":"I'm just beginning use of `psalm` on my project and am running into auto-loading issues (`MissingDependency`, `UndefinedFunction`, `UndefinedClass`). The relevant classes/functions are auto-loaded with composer.\r\n\r\nI installed psalm via composer, initialized, and ran.\r\n\r\nHere is my xml config, which is a straight generated one, except for a modified `projectFiles` section. Can you help?\r\n\r\n```xml\r\n<?xml version=\"1.0\"?>\r\n<psalm\r\n\ttotallyTyped=\"false\"\r\n\txmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n\txmlns=\"https://getpsalm.org/schema/config\"\r\n\txsi:schemaLocation=\"https://getpsalm.org/schema/config file://C:\\wamp\\www\\main2\\vendors\\vimeo\\psalm\\config.xsd\"\r\n>\r\n\t<projectFiles>\r\n\t\t<directory name=\"app\" />\r\n\t\t<directory name=\"ci\" />\r\n\t\t<directory name=\"config\" />\r\n\t\t<directory name=\"database\" />\r\n\t\t<directory name=\"linter\" />\r\n\t\t<directory name=\"tests\" />\r\n\t\t<ignoreFiles>\r\n\t\t\t<file name=\"app/Console/cake.php\" />\r\n\t\t\t<directory name=\"app/Plugin/Alertify\" />\r\n\t\t\t<directory name=\"app/Plugin/DebugKit\" />\r\n\t\t\t<directory name=\"app/Plugin/Migrations\" />\r\n\t\t\t<directory name=\"app/Plugin/WhoopsCakephp\" />\r\n\t\t\t<directory name=\"app/Vendor/_additions/Sears\" />\r\n\t\t\t<directory name=\"app/Vendor/_additions/Zendesk\" />\r\n\t\t\t<directory name=\"app/Vendor/_additions/fzaninotto\" />\r\n\t\t\t<directory name=\"app/Vendor/_additions/league\" />\r\n\t\t\t<file name=\"app/Vendor/_additions/sphinxapi.php\" />\r\n\t\t\t<directory name=\"app/Vendor/_overrides\" />\r\n\t\t\t<directory name=\"app/webroot\" />\r\n\t\t\t<directory name=\"tests/_support/_generated\" />\r\n\t\t\t<file name=\"tests/acceptance/AcceptanceTester.php\" />\r\n\t\t\t<file name=\"tests/functional/FunctionalTester.php\" />\r\n\t\t\t<file name=\"tests/unit/UnitTester.php\" />\r\n\t\t\t<directory name=\"vendors\" />\r\n\t\t</ignoreFiles>\r\n\t</projectFiles>\r\n\r\n\t<issueHandlers>\r\n\t\t<LessSpecificReturnType errorLevel=\"info\" />\r\n\r\n\t\t<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->\r\n\r\n\t\t<DeprecatedMethod errorLevel=\"info\" />\r\n\t\t<DeprecatedProperty errorLevel=\"info\" />\r\n\t\t<DeprecatedClass errorLevel=\"info\" />\r\n\t\t<DeprecatedConstant errorLevel=\"info\" />\r\n\t\t<DeprecatedInterface errorLevel=\"info\" />\r\n\t\t<DeprecatedTrait errorLevel=\"info\" />\r\n\r\n\t\t<InternalMethod errorLevel=\"info\" />\r\n\t\t<InternalProperty errorLevel=\"info\" />\r\n\t\t<InternalClass errorLevel=\"info\" />\r\n\r\n\t\t<MissingClosureReturnType errorLevel=\"info\" />\r\n\t\t<MissingReturnType errorLevel=\"info\" />\r\n\t\t<MissingPropertyType errorLevel=\"info\" />\r\n\t\t<InvalidDocblock errorLevel=\"info\" />\r\n\t\t<MisplacedRequiredParam errorLevel=\"info\" />\r\n\r\n\t\t<PropertyNotSetInConstructor errorLevel=\"info\" />\r\n\t\t<MissingConstructor errorLevel=\"info\" />\r\n\t\t<MissingClosureParamType errorLevel=\"info\" />\r\n\t\t<MissingParamType errorLevel=\"info\" />\r\n\r\n\t\t<RedundantCondition errorLevel=\"info\" />\r\n\r\n\t\t<DocblockTypeContradiction errorLevel=\"info\" />\r\n\t\t<RedundantConditionGivenDocblockType errorLevel=\"info\" />\r\n\r\n\t\t<UnresolvableInclude errorLevel=\"info\" />\r\n\r\n\t\t<RawObjectIteration errorLevel=\"info\" />\r\n\r\n\t\t<InvalidStringClass errorLevel=\"info\" />\r\n\t</issueHandlers>\r\n</psalm>\r\n```"},"comment":{"url":"https://api.github.com/repos/vimeo/psalm/issues/comments/448237201","html_url":"https://github.com/vimeo/psalm/issues/1135#issuecomment-448237201","issue_url":"https://api.github.com/repos/vimeo/psalm/issues/1135","id":448237201,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODIzNzIwMQ==","user":{"login":"muglug","id":2292638,"node_id":"MDQ6VXNlcjIyOTI2Mzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2292638?v=4","gravatar_id":"","url":"https://api.github.com/users/muglug","html_url":"https://github.com/muglug","followers_url":"https://api.github.com/users/muglug/followers","following_url":"https://api.github.com/users/muglug/following{/other_user}","gists_url":"https://api.github.com/users/muglug/gists{/gist_id}","starred_url":"https://api.github.com/users/muglug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muglug/subscriptions","organizations_url":"https://api.github.com/users/muglug/orgs","repos_url":"https://api.github.com/users/muglug/repos","events_url":"https://api.github.com/users/muglug/events{/privacy}","received_events_url":"https://api.github.com/users/muglug/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T14:23:25Z","updated_at":"2018-12-18T14:23:25Z","author_association":"MEMBER","body":"Hey! How are those autoloaded classes/functions defined? Is it just regular PSR-4 stuff? And are they third-party classes or things you’ve written?"}}
{"actor":{"display_login":"muglug"}}