Skip to content

Commit d66f932

Browse files
committed
chore: update psalm_autoload.php
1 parent 2338061 commit d66f932

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

psalm_autoload.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111

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

1620
foreach (glob('*_helper.php') as $filename) {
@@ -19,3 +23,5 @@
1923
require_once $filePath;
2024
}
2125
}
26+
27+
chdir(__DIR__);

0 commit comments

Comments
 (0)