1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00

Fix support of extraFiles (#4785)

This commit is contained in:
Vincent Langlet 2020-12-05 15:54:05 +01:00 committed by Daniil Gentili
parent b21e138cc7
commit ad87d1bacc
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -1149,6 +1149,8 @@ class ProjectAnalyzer
public function checkPaths(array $paths_to_check): void
{
$this->visitAutoloadFiles();
$this->codebase->scanner->addFilesToShallowScan($this->extra_files);
foreach ($paths_to_check as $path) {
$this->progress->debug('Checking ' . $path . "\n");