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

[DI] Fix handling of inlined definitions by ContainerBuilder#25130

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

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedNov 23, 2017
edited
Loading

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

Team work with@dunglas, debugging behat tests on Symfony 4:
now that everything is private, inlining happens quite often on Symfony 4.
This made us discover an old bug: inlining makes it possible to share the same definition instance to define a locally shared service (local to one service). This is handled properly in PhpDumper, but ContainerDumper is broken. Here is the fix.

@sroze
Copy link
Contributor

Does that make Behat working with Symfony 3.4 ?

@dunglas
Copy link
Member

dunglas commentedNov 23, 2017
edited
Loading

Does that make Behat working with Symfony 3.4 ?

Almost. The--tags option is still broken. I'm on it.

@sroze
Copy link
Contributor

Weird.@dunglas do you need a hand?

@nicolas-grekasnicolas-grekas merged commitc9c18ac intosymfony:2.7Nov 23, 2017
nicolas-grekas added a commit that referenced this pull requestNov 23, 2017
…er (nicolas-grekas)This PR was merged into the 2.7 branch.Discussion----------[DI] Fix handling of inlined definitions by ContainerBuilder| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Team work with@dunglas, debugging behat tests on Symfony 4:now that everything is private, inlining happens quite often on Symfony 4.This made us discover an old bug: inlining makes it possible to share the same definition instance to define a locally shared service (local to one service). This is handled properly in PhpDumper, but ContainerDumper is broken. Here is the fix.Commits-------c9c18ac [DI] Fix handling of inlined definitions by ContainerBuilder
@nicolas-grekasnicolas-grekas deleted the di-inlined-builder branchNovember 23, 2017 11:21
This was referencedNov 24, 2017
This was referencedDec 4, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

@xabbuhxabbuhxabbuh approved these changes

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@sroze@dunglas@xabbuh@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp