From 9f5f911337e810e5674421abc1745b2f9b6ae0b5 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 29 Oct 2021 14:13:43 +0200 Subject: [PATCH] Always populate analysedPathsFromConfig --- src/Command/CommandHelper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Command/CommandHelper.php b/src/Command/CommandHelper.php index 395eefc747..cfe474e6d1 100644 --- a/src/Command/CommandHelper.php +++ b/src/Command/CommandHelper.php @@ -151,8 +151,10 @@ public static function begin( if ($level === null && isset($projectConfig['parameters']['level'])) { $level = (string) $projectConfig['parameters']['level']; } - if (count($paths) === 0 && isset($projectConfig['parameters']['paths'])) { + if (isset($projectConfig['parameters']['paths'])) { $analysedPathsFromConfig = Helpers::expand($projectConfig['parameters']['paths'], $defaultParameters); + } + if (count($paths) === 0) { $paths = $analysedPathsFromConfig; } }