1
0
Fork 0
pull/12090/head
Piotr Kwiecinski 2024-08-22 07:25:01 +02:00 committed by Pol Dellaiera
parent 3ba58ea3eb
commit 6eb4175765
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,7 @@ EOF;
foreach ($paths as $path) {
$exportedPaths[] = $this->getPathCode($filesystem, $basePath, $vendorPath, $path);
}
sort($exportedPaths);
$exportedPrefix = var_export($namespace, true);
$namespacesFile .= " $exportedPrefix => ";
$namespacesFile .= "array(".implode(', ', $exportedPaths)."),\n";
@ -280,6 +281,7 @@ EOF;
foreach ($paths as $path) {
$exportedPaths[] = $this->getPathCode($filesystem, $basePath, $vendorPath, $path);
}
sort($exportedPaths);
$exportedPrefix = var_export($namespace, true);
$psr4File .= " $exportedPrefix => ";
$psr4File .= "array(".implode(', ', $exportedPaths)."),\n";