Skip to content

Commit

Permalink
Fix: allowMissingFiles not respected for ignored files (#4259)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Sep 29, 2020
1 parent 1eca537 commit 046725b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Psalm/Config/FileFilter.php
Expand Up @@ -259,7 +259,7 @@ public static function loadFromXMLElement(

$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']
Expand Down

0 comments on commit 046725b

Please sign in to comment.