Skip to content

[DependencyInjection] top-level anonymous services must be public #18709

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2016

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented May 4, 2016

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

@nicolas-grekas
Copy link
Member

👍, a test case would be great

@xabbuh
Copy link
Member Author

xabbuh commented May 6, 2016

The file loader Test case I had to change covers this.

@nicolas-grekas
Copy link
Member

Thank you @xabbuh.

@nicolas-grekas nicolas-grekas merged commit 13a47c3 into symfony:2.3 May 6, 2016
nicolas-grekas added a commit that referenced this pull request May 6, 2016
… public (xabbuh)

This PR was merged into the 2.3 branch.

Discussion
----------

[DependencyInjection] top-level anonymous services must be public

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

Commits
-------

13a47c3 top-level anonymous services must be public
@xabbuh xabbuh deleted the issue-18703 branch May 6, 2016 09:24
@xabbuh
Copy link
Member Author

xabbuh commented May 6, 2016

@nicolas-grekas By the way, in the same test we ensure that anonymous services used in definition arguments are still private.

@nicolas-grekas
Copy link
Member

Yep, I checked that also before merging :)

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