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

[DependencyInjection] Improve missing package/version deprecation#37022

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

Merged

Conversation

@acrobat
Copy link
Contributor

@acrobatacrobat commentedMay 31, 2020
edited
Loading

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

After updating to symfony 5.1 I've got some deprecations related to the missing package/version attributes/options fordeprecated on services.

But currently it's not clear which bundle/part of the code is triggering the deprecations. The only way for me to track down where they were coming from was by setting a xdebug breakpoint in theXmlFileLoader and check the$file variable.

So it seemed like a good idea to include the file path in the deprecation message, that way it will be easier for users to know if their code or a bundle (and which) is triggering this deprecation.

Before:
Screenshot 2020-05-31 at 13 51 03

After:
Screenshot 2020-05-31 at 13 50 10

@fabpot
Copy link
Member

Thank you@acrobat.

@fabpotfabpot merged commite778ea6 intosymfony:5.1Jun 3, 2020
@acrobatacrobat deleted the improve-loader-deprecation-message branchJune 3, 2020 09:04
@xabbuhxabbuh mentioned this pull requestJun 4, 2020
@fabpotfabpot mentioned this pull requestJun 12, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@wouterjwouterjwouterj approved these changes

@derrabusderrabusderrabus approved these changes

@ycerutoycerutoyceruto approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@acrobat@fabpot@wouterj@derrabus@yceruto@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp