Skip to content

[FrameworkBundle][SecurityBundle][TwigBundle] Be more precise about the required Composer version #43824

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

derrabus
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets #43788 (comment)
License MIT
Doc PR N/A

Signed-off-by: Alexander M. Turek <me@derrabus.de>
@carsonbot carsonbot changed the title Be more precise about the required Composer version [FrameworkBundle][SecurityBundle][TwigBundle] Be more precise about the required Composer version Oct 29, 2021
@carsonbot carsonbot added this to the 5.4 milestone Oct 29, 2021
@@ -236,7 +236,7 @@ class FrameworkExtension extends Extension
public function load(array $configs, ContainerBuilder $container)
{
if (!class_exists(InstalledVersions::class)) {
trigger_deprecation('symfony/framework-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.');
trigger_deprecation('symfony/framework-bundle', '5.4', 'Configuring Symfony without the Composer Runtime API is deprecated. Consider upgrading to Composer 2.1 or later.');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... or higher.

@fabpot
Copy link
Member

fabpot commented Oct 29, 2021

Thank you @derrabus.

@fabpot fabpot merged commit d8f85fd into symfony:5.4 Oct 29, 2021
@derrabus derrabus deleted the minor/composer-deprecation-message branch October 29, 2021 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants