mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix output in tests (for non-existent files)
This commit is contained in:
parent
b26983cc34
commit
2ea41b245c
@ -1302,6 +1302,10 @@ class Config
|
||||
|
||||
public function shortenFileName(string $to): string
|
||||
{
|
||||
if (!is_file($to)) {
|
||||
return $to;
|
||||
}
|
||||
|
||||
$from = $this->base_dir;
|
||||
|
||||
// some compatibility fixes for Windows paths
|
||||
|
Loading…
x
Reference in New Issue
Block a user