Skip to content

Commit

Permalink
Merge branch 'backport/run-test-compiler-pass-before-removing-service…
Browse files Browse the repository at this point in the history
…s' into 5.5
  • Loading branch information
lcobucci committed Jun 4, 2018
2 parents 8aaeffb + 9344bf4 commit ad08948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ContainerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function getContainer(): ContainerInterface
public function getTestContainer(): ContainerInterface
{
$config = clone $this->config;
$config->addPass(new MakeServicesPublic());
$config->addPass(new MakeServicesPublic(), PassConfig::TYPE_BEFORE_REMOVING);

return $this->generator->generate(
$config,
Expand Down
2 changes: 1 addition & 1 deletion test/ContainerBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ public function getTestContainerShouldGenerateAndReturnTheContainer(): void

$config = new ContainerConfiguration();
$config->addPass($this->parameterBag);
$config->addPass(new MakeServicesPublic());
$config->addPass(new MakeServicesPublic(), PassConfig::TYPE_BEFORE_REMOVING);

$cacheConfig = new ConfigCache($config->getDumpFile('test_'), true);

Expand Down

0 comments on commit ad08948

Please sign in to comment.