Skip to content

Commit

Permalink
Add a deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Dec 6, 2023
1 parent f906ded commit 11f8e43
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Bundle/Resources/config/services.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,13 @@
<services>
<defaults public="true" />

<service id="sylius.random_generator" class="Sylius\Component\Resource\Generator\RandomnessGenerator" />
<service id="sylius.random_generator" class="Sylius\Resource\Generator\RandomnessGenerator" />
<service id="Sylius\Resource\Generator\RandomnessGeneratorInterface" alias="sylius.random_generator" />
<service id="Sylius\Component\Resource\Generator\RandomnessGeneratorInterface" alias="sylius.random_generator" />
<service id="Sylius\Component\Resource\Generator\RandomnessGeneratorInterface" alias="sylius.random_generator">
<deprecated package="sylius/resource-bundle" version="2.0">
The "%alias_id%" service alias is deprecated. Use Sylius\Resource\Generator\RandomnessGeneratorInterface instead.
</deprecated>
</service>

<service id="sylius.form.type_extension.form.request_handler"
class="Sylius\Bundle\ResourceBundle\Form\Extension\HttpFoundation\HttpFoundationRequestHandler"
Expand Down

0 comments on commit 11f8e43

Please sign in to comment.