I installed it locally, checked the settings. Perhaps I need to adjust some of the settings, but you didn't not explain the settings :-( Btw: I even restarted VSC I tried: "phpstan.options": ["--autoload-file=./vendor/autoload.php"]