10000 [TwigBundle] service workflow.twig_extension should stay public by ogizanagi · Pull Request #22699 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[TwigBundle] service workflow.twig_extension should stay public #22699

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 13, 2017
Merged

[TwigBundle] service workflow.twig_extension should stay public #22699

merged 1 commit into from
May 13, 2017

Conversation

ogizanagi
Copy link
Contributor
@ogizanagi ogizanagi commented May 12, 2017
Q A
Branch? master (3.3)
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets N/A
License MIT
Doc PR N/A

While it's not really required for this service to be public AFAIK, it was not made private when introducing it in 3.2. Which means it should stay public in upper branches. But since we now default to public: false in every service config file, it's currently private in 3.3.

I had a quick look on commits merged after this PR and didn't find any other similar case.

@weaverryan
Copy link
Member

Ah, so it was introduced in 3.2 (without any public attribute), then when it merged up, it naturally became private.

👍

@fabpot
Copy link
Member
fabpot commented May 13, 2017

Thank you @ogizanagi.

@fabpot fabpot merged commit 5d07c6a into symfony:master May 13, 2017
fabpot added a commit that referenced this pull request May 13, 2017
…ublic (ogizanagi)

This PR was merged into the 3.3-dev branch.

Discussion
----------

[TwigBundle] service workflow.twig_extension should stay public

| Q             | A
| ------------- | ---
| Branch?       | master (3.3)
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | N/A
| License       | MIT
| Doc PR        | N/A

While it's not really required for this service to be public AFAIK, it was not made private when introducing it in 3.2. Which means it should stay public in upper branches. But [since we now default to `public: false`](#22615) in every service config file, it's currently private in 3.3.

I had a quick look on commits merged after this PR and didn't find any other similar case.

Commits
-------

5d07c6a [TwigBundle] service workflow.twig_extension should stay public
@ogizanagi ogizanagi deleted the twig_workflow_ext_public branch May 13, 2017 14:12
@fabpot fabpot mentioned this pull request May 17, 2017
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.

5 participants
0