We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 489daae commit b7dc71eCopy full SHA for b7dc71e
packages/core/src/Kernel/LoadConfig.php
@@ -58,7 +58,7 @@ public function find(): array
58
})
59
->sortByCallback(function (string $path1, string $path2) use ($suffixes): int {
60
$getPriority = fn (string $path): int => match (true) {
61
- Str\contains($path, '/vendor/') => 0,
+ Str\contains($path, DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR) => 0,
62
Str\contains($path, $suffixes['testing']) => 6,
63
Str\contains($path, $suffixes['development']) => 5,
64
Str\contains($path, $suffixes['production']) => 4,
0 commit comments