Skip to content

Commit 8d2d50d

Browse files
Merge branch '2.3' into 2.7
* 2.3: [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/HttpKernel/Kernel.php
2 parents e6813dd + ebfe90f commit 8d2d50d

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
@@ -662,10 +662,7 @@ protected function dumpContainer(ConfigCache $cache, ContainerBuilder $container
662662
$dumper->setProxyDumper(new ProxyDumper(md5($cache->getPath())));
663663
}
664664

665-
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath()));
666-
if (!$this->debug) {
667-
$content = static::stripComments($content);
668-
}
665+
$content = $dumper->dump(array('class' => $class, 'base_class' => $baseClass, 'file' => $cache->getPath(), 'debug' => $this->debug));
669666

670667
$cache->write($content, $container->getResources());
671668
}

0 commit comments

Comments
 (0)