Skip to content

Commit

Permalink
Changing analysedPaths does not regenerate the DI container
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 24, 2021
1 parent 83672a7 commit 27df5cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DependencyInjection/ContainerFactory.php
Expand Up @@ -89,9 +89,7 @@ public function create(
'cliArgumentsVariablesRegistered' => ini_get('register_argc_argv') === '1',
'tmpDir' => $tempDirectory,
'additionalConfigFiles' => $additionalConfigFiles,
'analysedPaths' => $analysedPaths,
'composerAutoloaderProjectPaths' => $composerAutoloaderProjectPaths,
'analysedPathsFromConfig' => $analysedPathsFromConfig,
'generateBaselineFile' => $generateBaselineFile,
'usedLevel' => $usedLevel,
'cliAutoloadFile' => $cliAutoloadFile,
Expand All @@ -100,6 +98,8 @@ public function create(
$configurator->addDynamicParameters([
'singleReflectionFile' => $singleReflectionFile,
'singleReflectionInsteadOfFile' => $singleReflectionInsteadOfFile,
'analysedPaths' => $analysedPaths,
'analysedPathsFromConfig' => $analysedPathsFromConfig,
]);
$configurator->addConfig($this->configDirectory . '/config.neon');
foreach ($additionalConfigFiles as $additionalConfigFile) {
Expand Down

0 comments on commit 27df5cf

Please sign in to comment.