Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

drop support for configuring Symfony with Composer 1#43813

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
xabbuh wants to merge1 commit intosymfony:6.0fromxabbuh:pr-43804

Conversation

@xabbuh
Copy link
Member

QA
Branch?6.0
Bug fix?no
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

{
if (!class_exists(InstalledVersions::class)) {
trigger_deprecation('symfony/framework-bundle','5.4','Configuring Symfony without theComposer Runtime API isdeprecated. Consider upgrading to Composer 2.');
thrownewLogicException('TheComposer Runtime API isrequired to configure Symfony. Consider upgrading to Composer 2.');
Copy link
Contributor

Choose a reason for hiding this comment

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

As now it throws ex, maybe the wordConsider is no more appropriate, but moreYou must upgrade no?

Choose a reason for hiding this comment

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

we usually use "should", so "consider" is fine to me

Copy link
Member

Choose a reason for hiding this comment

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

This should be done using requirements oncomposer-runtime-api in the composer.json, which will then mean that this exception is never triggered...

@xabbuhxabbuhforce-pushed thepr-43804 branch 2 times, most recently from1dfb031 to3f1d476CompareOctober 29, 2021 09:21
@xabbuh
Copy link
MemberAuthor

I missed that we already have#43788 for this

@xabbuhxabbuh closed thisOct 29, 2021
@xabbuhxabbuh deleted the pr-43804 branchOctober 29, 2021 09:41
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@stofstofstof left review comments

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

@wouterjwouterjAwaiting requested review from wouterjwouterj is a code owner

@ycerutoycerutoAwaiting requested review from ycerutoyceruto is a code owner

+1 more reviewer

@noniagriconomienoniagriconomienoniagriconomie left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

6.0

Development

Successfully merging this pull request may close these issues.

5 participants

@xabbuh@nicolas-grekas@stof@noniagriconomie@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp