Skip to content

Commit 561de7c

Browse files
Merge branch '3.4' into 4.4
* 3.4: Enable "native_constant_invocation" CS rule Make AbstractPhpFileCacheWarmer public
2 parents 9dbfc8c + 5e7f453 commit 561de7c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Controller/ExceptionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
use Twig\Loader\ExistsLoaderInterface;
2222
use Twig\Loader\SourceContextLoaderInterface;
2323

24-
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "%s" instead.', ExceptionController::class, ExceptionPanelController::class), E_USER_DEPRECATED);
24+
@trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.4, use "%s" instead.', ExceptionController::class, ExceptionPanelController::class), \E_USER_DEPRECATED);
2525

2626
/**
2727
* ExceptionController.

Profiler/TemplateManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function getNames(Profile $profile)
102102
protected function templateExists($template/*, bool $triggerDeprecation = true */)
103103
{
104104
if (1 === \func_num_args()) {
105-
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.4, use the "exists()" method of the Twig loader instead.', __METHOD__), E_USER_DEPRECATED);
105+
@trigger_error(sprintf('The "%s()" method is deprecated since Symfony 4.4, use the "exists()" method of the Twig loader instead.', __METHOD__), \E_USER_DEPRECATED);
106106
}
107107

108108
$loader = $this->twig->getLoader();

WebProfilerBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class WebProfilerBundle extends Bundle
2121
public function boot()
2222
{
2323
if ('prod' === $this->container->getParameter('kernel.environment')) {
24-
@trigger_error('Using WebProfilerBundle in production is not supported and puts your project at risk, disable it.', E_USER_WARNING);
24+
@trigger_error('Using WebProfilerBundle in production is not supported and puts your project at risk, disable it.', \E_USER_WARNING);
2525
}
2626
}
2727
}

0 commit comments

Comments
 (0)