Skip to content
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

fix(#2403): deprecation warning in symfony 7.2 when using "tagged" type in service configuration #2405

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 4.33.5
* Added new optional parameter `$context` to` PropertyDescriberInterface::supports()`
* Fixed usage of `tagged` type in service configuration which is deprecated in Symfony `7.2`

## 4.33.4
* Deprecated `null` type from `$options` in `Nelmio\ApiDocBundle\Attribute\Model::__construct()`. Pass an empty array (`[]`) instead.
Expand Down
2 changes: 1 addition & 1 deletion config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

<!-- Property Describers -->
<service id="nelmio_api_doc.object_model.property_describer" class="Nelmio\ApiDocBundle\PropertyDescriber\PropertyDescriber" public="false">
<argument type="tagged" tag="nelmio_api_doc.object_model.property_describer" />
<argument type="tagged_iterator" tag="nelmio_api_doc.object_model.property_describer" />

<tag name="nelmio_api_doc.object_model.property_describer" priority="100" />
</service>
Expand Down
Loading