8000 bug #22699 [TwigBundle] service workflow.twig_extension should stay p… · symfony/symfony@d975419 · GitHub
[go: up one dir, main page]

Skip to content

Commit d975419

Browse files
committed
bug #22699 [TwigBundle] service workflow.twig_extension should stay public (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
2 parents 489fd07 + 5d07c6a commit d975419

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/TwigBundle/Resources/config

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/TwigBundle/Resources/config/twig.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
<tag name="translation.extractor" alias="twig" />
116116
</service>
117117

118-
<service id="workflow.twig_extension" class="Symfony\Bridge\Twig\Extension\WorkflowExtension">
118+
<service id="workflow.twig_extension" class="Symfony\Bridge\Twig\Extension\WorkflowExtension" public="true">
119119
<argument type="service" id="workflow.registry" />
120120
</service>
121121

0 commit comments

Comments
 (0)
0