Skip to content

Commit

Permalink
chore: update psalm_autoload.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 23, 2023
1 parent 2338061 commit d66f932
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions psalm_autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@

foreach ($helperDirs as $dir) {
$dir = __DIR__ . '/' . $dir;
if (! is_dir($dir)) {
continue;
}

chdir($dir);

foreach (glob('*_helper.php') as $filename) {
Expand All @@ -19,3 +23,5 @@
require_once $filePath;
}
}

chdir(__DIR__);

0 comments on commit d66f932

Please sign in to comment.