Skip to content

Commit 6fa6996

Browse files
fix merge
1 parent 6c9fe03 commit 6fa6996

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

FrameworkBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public function build(ContainerBuilder $container)
9191
KernelEvents::FINISH_REQUEST,
9292
];
9393

94-
$this->addCompilerPassIfExists($container, ErrorCatcherPass::class);
94+
$container->addCompilerPass(new ErrorCatcherPass());
9595
$container->addCompilerPass(new LoggerPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, -32);
9696
$container->addCompilerPass(new RegisterControllerArgumentLocatorsPass());
9797
$container->addCompilerPass(new RemoveEmptyControllerArgumentLocatorsPass(), PassConfig::TYPE_BEFORE_REMOVING);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"ext-xml": "*",
2121
"symfony/cache": "^4.3|^5.0",
2222
"symfony/config": "^4.2|^5.0",
23-
"symfony/debug": "~4.0|^5.0",
2423
"symfony/dependency-injection": "^4.4|^5.0",
24+
"symfony/error-catcher": "^4.4|^5.0",
2525
"symfony/http-foundation": "^4.3|^5.0",
2626
"symfony/http-kernel": "^4.4|^5.0",
2727
"symfony/polyfill-mbstring": "~1.0",

0 commit comments

Comments
 (0)