We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa31288 commit 8bd2500Copy full SHA for 8bd2500
src/Runner.php
@@ -172,12 +172,13 @@ protected function getConfigFilePaths($userConfig)
172
if (basename(dirname(__DIR__, 3)) == 'vendor') {
173
$roboAppConfig = dirname(__DIR__, 4) . '/' . basename($userConfig);
174
}
175
- $configFiles = [$userConfig, $roboAppConfig];
+ $configFiles = [$roboAppConfig, $userConfig];
176
if (dirname($userConfig) != '.') {
177
- array_unshift($configFiles, basename($userConfig));
+ $configFiles[] = basename($userConfig);
178
179
return $configFiles;
180
181
+
182
/**
183
* @param null|\Symfony\Component\Console\Input\InputInterface $input
184
* @param null|\Symfony\Component\Console\Output\OutputInterface $output
0 commit comments