1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 22:01:48 +01:00

Fix: allowMissingFiles not respected for ignored files (#4259)

This commit is contained in:
David de Boer 2020-09-29 17:27:35 +02:00 committed by Daniil Gentili
parent 5e4faf20d7
commit a4b246406c
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -259,7 +259,7 @@ class FileFilter
$file_path = realpath($prospective_file_path);
if (!$file_path) {
if (!$file_path && !$allow_missing_files) {
throw new ConfigException(
'Could not resolve config path to ' . $base_dir . DIRECTORY_SEPARATOR .
(string)$file['name']