Skip to content

Commit e155f1c

Browse files
Merge branch '4.4' into 5.0
* 4.4: [SecurityBundle] Drop cache.security_expression_language definition if invalid [DI] disable preload.php on the CLI collect all transformation failures
2 parents 9199bbb + 9e36c97 commit e155f1c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dumper/PhpDumper.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ public function dump(array $options = [])
320320
321321
use Symfony\Component\DependencyInjection\Dumper\Preloader;
322322
323+
if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) {
324+
return;
325+
}
326+
323327
require $autoloadFile;
324328
require __DIR__.'/Container{$hash}/{$options['class']}.php';
325329

0 commit comments

Comments
 (0)