Skip to content

Commit e9f0bc8

Browse files
committed
chore: update psalm_autoload.php
1 parent 36ea567 commit e9f0bc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

psalm_autoload.php

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212

1313
foreach ($helperDirs as $dir) {
1414
$dir = __DIR__ . '/' . $dir;
15+
if (! is_dir($dir)) {
16+
continue;
17+
}
18+
1519
chdir($dir);
1620

1721
foreach (glob('*_helper.php') as $filename) {
@@ -20,3 +24,5 @@
2024
require_once $filePath;
2125
}
2226
}
27+
28+
chdir(__DIR__);

0 commit comments

Comments
 (0)