1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Fix build

This commit is contained in:
Brown 2020-03-31 22:32:48 -04:00
parent 66dd794101
commit 8328c1d3aa
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@
<file name="vendor/symfony/console/Command/Command.php"/> <file name="vendor/symfony/console/Command/Command.php"/>
<file name="src/spl_object_id.php"/> <file name="src/spl_object_id.php"/>
<file name="src/Psalm/Internal/Stubs/*.php"/> <file name="src/Psalm/Internal/Stubs/*.php"/>
<file name="src/Psalm/Internal/Stubs/*.phpstub"/>
<directory name="tests/fixtures"/> <directory name="tests/fixtures"/>
<file name="vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php" /> <file name="vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php" />
<directory name="vendor/netresearch/jsonmapper" /> <directory name="vendor/netresearch/jsonmapper" />
@ -103,6 +104,12 @@
</errorLevel> </errorLevel>
</PossiblyUnusedProperty> </PossiblyUnusedProperty>
<MissingConstructor>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</MissingConstructor>
<MissingThrowsDocblock errorLevel="info"/> <MissingThrowsDocblock errorLevel="info"/>
<PossiblyUnusedMethod> <PossiblyUnusedMethod>

View File

@ -507,6 +507,8 @@ class ProjectAnalyzer
) { ) {
$this->codebase->analyzer->addFilesToAnalyze($this->project_files); $this->codebase->analyzer->addFilesToAnalyze($this->project_files);
$this->visitAutoloadFiles();
$this->config->initializePlugins($this); $this->config->initializePlugins($this);
$this->codebase->scanFiles($this->threads); $this->codebase->scanFiles($this->threads);