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

improving error message for Could not resolve config path

$directory_path is false, so better use $prospective_directory_path in the error message.
This commit is contained in:
phptest2 2022-02-03 17:58:12 +01:00 committed by GitHub
parent 2128ab1d71
commit 582624a932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,8 +170,7 @@ class FileFilter
}
throw new ConfigException(
'Could not resolve config path to ' . $base_dir
. DIRECTORY_SEPARATOR . $directory_path
'Could not resolve config path to ' . $prospective_directory_path
);
}