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] moved up ResolveClassPass in the container pass list#21203

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
fabpot merged 1 commit intosymfony:masterfromfabpot:resolve-class-pass-fix
Jan 8, 2017

Conversation

@fabpot
Copy link
Member

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsbug from#21133
LicenseMIT
Doc PRn/a

Some compiler passes need access to the service class names. But when using an empty class name (the service id being the class name), the resolution happens too late (during the optimization step). This PR fixes this by moving up the ResolveClassPass earlier in the stack.

@nicolas-grekas
Copy link
Member

👍

@GuilhemN
Copy link
Contributor

Shouldn't we define a priority on it to make sure it is not executed randomly between third party passes?

@fabpotfabpotforce-pushed theresolve-class-pass-fix branch from17912dc to454f69bCompareJanuary 8, 2017 18:19
@fabpotfabpotforce-pushed theresolve-class-pass-fix branch from454f69b to2e5b69fCompareJanuary 8, 2017 18:25
@fabpotfabpot merged commit2e5b69f intosymfony:masterJan 8, 2017
fabpot added a commit that referenced this pull requestJan 8, 2017
…tainer pass list (fabpot)This PR was merged into the 3.3-dev branch.Discussion----------[DependencyInjection] moved up ResolveClassPass in the container pass list| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | bug from#21133| License       | MIT| Doc PR        | n/aSome compiler passes need access to the service class names. But when using an empty class name (the service id being the class name), the resolution happens too late (during the optimization step). This PR fixes this by moving up the ResolveClassPass earlier in the stack.Commits-------2e5b69f [DependencyInjection] moved up ResolveClassPass in the container pass list
@fabpotfabpot deleted the resolve-class-pass-fix branchJanuary 8, 2017 21:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@fabpot@nicolas-grekas@GuilhemN@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp