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] Fixed thegetServiceIds implementation to always return aliases#33335

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:3.4frompvandommelen:fix-getserviceids
Aug 26, 2019

Conversation

@pvandommelen
Copy link
Contributor

QA
Branch?3.4
Bug fix?yes
New feature?no
BC breaks?maybe
Deprecations?no
Tests pass?yes
Fixed tickets#33307
LicenseMIT
Doc PR-

Changed the getServiceIds implementation in the Container base class to include aliases. Modified existing tests. Added test which uses the PhpDumper.
Fixes#33307

Without this patch the implementations of the container are inconsistent in whether or not they return aliases (see issue). Fixing this could be considered a BC break for the affected Container class.

As an alternative to keep the behaviour in Container unchanged, the dumped container could be patched instead. And then only apply this version of the patch to master. This however keeps the inconsistency between Container and ContainerBuilder.

@stof
Copy link
Member

why is it a draft PR ? What is left to do with it ?

@pvandommelen
Copy link
ContributorAuthor

Nothing, wanted to check it over myself briefly.

@pvandommelenpvandommelen marked this pull request as ready for reviewAugust 26, 2019 09:19
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneAug 26, 2019
@fabpot
Copy link
Member

Thank you@pvandommelen.

fabpot added a commit that referenced this pull requestAug 26, 2019
…tion to always return aliases (pdommelen)This PR was squashed before being merged into the 3.4 branch (closes#33335).Discussion----------[DependencyInjection] Fixed the `getServiceIds` implementation to always return aliases| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | maybe| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#33307| License       | MIT| Doc PR        | -Changed the getServiceIds implementation in the Container base class to include aliases. Modified existing tests. Added test which uses the PhpDumper.Fixes#33307Without this patch the implementations of the container are inconsistent in whether or not they return aliases (see issue). Fixing this could be considered a BC break for the affected Container class.As an alternative to keep the behaviour in Container unchanged, the dumped container could be patched instead. And then only apply this version of the patch to master. This however keeps the inconsistency between Container and ContainerBuilder.Commits-------834d5cb [DependencyInjection] Fixed the `getServiceIds` implementation to always return aliases
@fabpotfabpot merged commit834d5cb intosymfony:3.4Aug 26, 2019
This was referencedAug 26, 2019
@pvandommelenpvandommelen deleted the fix-getserviceids branchAugust 27, 2019 12:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

6 participants

@pvandommelen@stof@fabpot@nicolas-grekas@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp