Skip to content

Commit

Permalink
fix: Always prepend default config files - Fixes symplify/monorepo-bu…
Browse files Browse the repository at this point in the history
…ilder#24 and must be merged along with symplify/monorepo-builder!32
  • Loading branch information
ambroisemaupate committed Apr 20, 2023
1 parent ecac64d commit ab1c1f0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/HttpKernel/AbstractSymplifyKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,13 @@ public function create(array $configFiles, array $compilerPasses = [], array $ex

$compilerPasses[] = new AutowireArrayParameterCompilerPass();

$configFiles[] = SymplifyKernelConfig::FILE_PATH;
// Always prepend default config files
$configFiles = array_merge(
[
SymplifyKernelConfig::FILE_PATH,
],
$configFiles,
);

$containerBuilder = $containerBuilderFactory->create($configFiles, $compilerPasses, $extensions);
$containerBuilder->compile();
Expand Down

0 comments on commit ab1c1f0

Please sign in to comment.