Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions admin/framework/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
"ext-mysqli": "If you use MySQL",
"ext-oci8": "If you use Oracle Database",
"ext-pcntl": "If you use Signals",
"ext-pgsql": "If you use PostgreSQL",
"ext-posix": "If you use Signals",
"ext-readline": "Improves CLI::input() usability",
"ext-redis": "If you use Cache class RedisHandler",
"ext-simplexml": "If you format XML",
Expand Down
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
"ext-mysqli": "If you use MySQL",
"ext-oci8": "If you use Oracle Database",
"ext-pcntl": "If you use Signals",
"ext-pgsql": "If you use PostgreSQL",
"ext-posix": "If you use Signals",
"ext-readline": "Improves CLI::input() usability",
"ext-redis": "If you use Cache class RedisHandler",
"ext-simplexml": "If you format XML",
Expand Down
11 changes: 10 additions & 1 deletion psalm-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
];

foreach ($directories as $directory) {
$filesToLoad = [];

$iterator = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator(
$directory,
Expand All @@ -45,6 +47,13 @@
continue;
}

require_once $file->getPathname();
$filesToLoad[] = $file->getPathname();
}

// Sort files to ensure consistent loading order across operating systems
sort($filesToLoad);

foreach ($filesToLoad as $file) {
require_once $file;
}
}
Loading
Loading