You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_deprecation('symfony/security-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.');
84
+
}
85
+
81
86
if (!array_filter($configs)) {
82
87
return;
83
88
}
@@ -120,7 +125,7 @@ public function load(array $configs, ContainerBuilder $container)
120
125
$loader->load('security_legacy.php');
121
126
}
122
127
123
-
if ($container::willBeAvailable('symfony/twig-bridge', LogoutUrlExtension::class, ['symfony/security-bundle'])) {
128
+
if ($container::willBeAvailable('symfony/twig-bridge', LogoutUrlExtension::class, ['symfony/security-bundle'], true)) {
124
129
$loader->load('templating_twig.php');
125
130
}
126
131
@@ -133,7 +138,7 @@ public function load(array $configs, ContainerBuilder $container)
133
138
$loader->load('security_debug.php');
134
139
}
135
140
136
-
if (!$container::willBeAvailable('symfony/expression-language', ExpressionLanguage::class, ['symfony/security-bundle'])) {
141
+
if (!$container::willBeAvailable('symfony/expression-language', ExpressionLanguage::class, ['symfony/security-bundle'], true)) {
@@ -1005,7 +1010,7 @@ private function createExpression(ContainerBuilder $container, string $expressio
1005
1010
return$this->expressions[$id];
1006
1011
}
1007
1012
1008
-
if (!$container::willBeAvailable('symfony/expression-language', ExpressionLanguage::class, ['symfony/security-bundle'])) {
1013
+
if (!$container::willBeAvailable('symfony/expression-language', ExpressionLanguage::class, ['symfony/security-bundle'], true)) {
1009
1014
thrownew \RuntimeException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".');
0 commit comments