From 995de26a4b8009c4e89159683c4e602290dbc508 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Wed, 3 Jan 2024 16:06:26 +0100 Subject: [PATCH] Building preload script - sort by name --- compiler/src/Console/PrepareCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/src/Console/PrepareCommand.php b/compiler/src/Console/PrepareCommand.php index 885e80ca53..42cb964062 100644 --- a/compiler/src/Console/PrepareCommand.php +++ b/compiler/src/Console/PrepareCommand.php @@ -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;