Skip to content

Commit d8f85fd

Browse files
committed
minor symfony#43824 [FrameworkBundle][SecurityBundle][TwigBundle] Be more precise about the required Composer version (derrabus)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle][SecurityBundle][TwigBundle] Be more precise about the required Composer version | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | symfony#43788 (comment) | License | MIT | Doc PR | N/A Commits ------- 295240a Be more precise about the required Composer version
2 parents f4d96a6 + 295240a commit d8f85fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class FrameworkExtension extends Extension
236236
public function load(array $configs, ContainerBuilder $container)
237237
{
238238
if (!class_exists(InstalledVersions::class)) {
239-
trigger_deprecation('symfony/framework-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.');
239+
trigger_deprecation('symfony/framework-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.1 or later.');
240240
}
241241

242242
$loader = new PhpFileLoader($container, new FileLocator(\dirname(__DIR__).'/Resources/config'));

src/Symfony/Bundle/SecurityBundle/DependencyInjection/SecurityExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function prepend(ContainerBuilder $container)
8484
public function load(array $configs, ContainerBuilder $container)
8585
{
8686
if (!class_exists(InstalledVersions::class)) {
87-
trigger_deprecation('symfony/security-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.');
87+
trigger_deprecation('symfony/security-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.1 or later.');
8888
}
8989

9090
if (!array_filter($configs)) {

src/Symfony/Bundle/TwigBundle/DependencyInjection/TwigExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class TwigExtension extends Extension
3737
public function load(array $configs, ContainerBuilder $container)
3838
{
3939
if (!class_exists(InstalledVersions::class)) {
40-
trigger_deprecation('symfony/twig-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.');
40+
trigger_deprecation('symfony/twig-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.1 or later.');
4141
}
4242

4343
$loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));

0 commit comments

Comments
 (0)