Skip to content

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Dec 7, 2017

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Was not needed before 3.4, but now that the dumped container is namespaced, it is required.

@stof
Copy link
Member

stof commented Dec 7, 2017

none of the fixture files are namespaced. So is the container actually namespaced in actual usage ? This would mean dumper tests are incomplete

@nicolas-grekas
Copy link
Member Author

nicolas-grekas commented Dec 7, 2017

@stof src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_as_files.txt is (and this is the style we use on 3.4)

@fabpot
Copy link
Member

fabpot commented Dec 8, 2017

Thank you @nicolas-grekas.

@fabpot fabpot merged commit f87380c into symfony:3.4 Dec 8, 2017
fabpot added a commit that referenced this pull request Dec 8, 2017
…er container (nicolas-grekas)

This PR was merged into the 3.4 branch.

Discussion
----------

[DI] Force root-namespace for function calls in the dumper container

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Was not needed before 3.4, but now that the dumped container is namespaced, it is required.

Commits
-------

f87380c [DI] Force root-namespace for function calls in the dumper container
@nicolas-grekas nicolas-grekas deleted the di-root-ns branch December 8, 2017 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants