Skip to content

Commit 24bae94

Browse files
VincentLangletondrejmirtes
authored andcommitted
Respect dist order over dot order
1 parent 2e27573 commit 24bae94

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/Command/CommandHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,10 @@ public static function begin(
181181
if ($projectConfigFile === null) {
182182
$discoverableConfigNames = [
183183
'.phpstan.neon',
184-
'.phpstan.neon.dist',
185-
'.phpstan.dist.neon',
186184
'phpstan.neon',
185+
'.phpstan.neon.dist',
187186
'phpstan.neon.dist',
187+
'.phpstan.dist.neon',
188188
'phpstan.dist.neon',
189189
];
190190
foreach ($discoverableConfigNames as $discoverableConfigName) {
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
includes:
2+
- ../../../../conf/bleedingEdge.neon
3+
4+
parameters:

0 commit comments

Comments
 (0)