-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 3.3.x |
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd"
>
<services>
<defaults autowire="true" autoconfigure="true" public="false" />
<!-- more unrelated service defs -->
<service id="app.uuid_factory_guid" class="Ramsey\Uuid\UuidFactory">
<argument type="service">
<service class="Ramsey\Uuid\FeatureSet">
<argument>true</argument><!-- microsoft guid byte order shuffling -->
</service>
</argument>
</service>
</services>
</container>
This reports a deprecation notice:
Autowiring services based on the types they implement is deprecated since Symfony 3.3 and won't be supported in version 4.0. You should rename (or alias) the "1_d864aebfa95a3028b90db6cee792377b9db6b7a50b4c85680304d527d4038480" service to "Ramsey\Uuid\FeatureSet" instead.
(The given service def is the only place where Ramsey\Uuid\FeatureSet
is used)
If i see this correctly, there should no deprecation notice be reported for this use case?
Metadata
Metadata
Assignees
Labels
No labels