Skip to content

Commit

Permalink
Building preload script - sort by name
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 3, 2024
1 parent 20aa4d3 commit 995de26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/Console/PrepareCommand.php
Expand Up @@ -179,7 +179,7 @@ private function buildPreloadScript(): void
$vendorDir . '/phpstan/phpdoc-parser/src',
])->exclude([
'Testing',
]) as $phpFile) {
])->sortByName() as $phpFile) {
$realPath = $phpFile->getRealPath();
if ($realPath === false) {
return;
Expand Down

0 comments on commit 995de26

Please sign in to comment.