8000 Merge branch '4.4' into 5.1 · symfony/symfony-docs@f0655f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0655f7

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Enhancement: Add Github error formatter for DOCtor-RST [DI] replace tagged by tagged_iterator
2 parents ce94f89 + 50aee54 commit f0655f7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 8000 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ jobs:
6868
- name: "Run DOCtor-RST"
6969
uses: docker://oskarstark/doctor-rst
7070
with:
71-
args: --short --cache-file=/github/workspace/.cache/doctor-rst.cache
71+
args: --short --error-format=github --cache-file=/github/workspace/.cache/doctor-rst.cache

service_container/tags.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ in the configuration of the collecting service:
675675
https://symfony.com/schema/dic/services/services-1.0.xsd">
676676
<services>
677677
<service id="App\HandlerCollection">
678-
<argument type="tagged" tag="app.handler" default-priority-method="getPriority"/>
678+
<argument type="tagged_iterator" tag="app.handler" default-priority-method="getPriority"/>
679679
</service>
680680
</services>
681681
</container>
@@ -704,7 +704,7 @@ Tagged Services with Index
704704

705705
If you want to retrieve a specific service within the injected collection
706706
you can use the ``index_by`` and ``default_index_method`` options of the
707-
argument in combination with ``!tagged``.
707+
argument in combination with ``!tagged_iterator``.
708708

709709
Using the previous example, this service configuration creates a collection
710710
indexed by the ``key`` attribute:

0 commit comments

Comments
 (0)
0