Skip to content

Commit c78ea6b

Browse files
Merge branch '2.8' into 3.0
* 2.8: [Finder] Partially revert #17134 to fix a regression [HttpKernel] Fix mem usage when stripping the prod container exception when registering bags for started sessions Conflicts: src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php src/Symfony/Component/Validator/composer.json
2 parents a70eb6e + ad93a67 commit c78ea6b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Kernel.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -629,10 +629,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
629629
$dumper->setProxyDumper(new ProxyDumper(md5($cache->getPath())));
630630
}
631631

632-
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath()));
633-
if (!$this->debug) {
634-
$content = static::stripComments($content);
635-
}
632+
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath(), 'debug' => $this->debug));
636633

637634
$cache->write($content, $container->getResources());
638635
}

0 commit comments

Comments
 (0)