Core: Doctrine\Common\Util\Inflector is deprecated

Created on 18 Mar 2019  路  5Comments  路  Source: api-platform/core

can Doctrine\Common\Util\Inflector be removed from

Bridge/Symfony/Routing/RouteNameGenerator.php
GraphQI/Type/SchemaBuilder.php
Operation/DashPathSegmentNameGenerator.php
Operation/UnderscrorePathSegmentNameGenerator.php

question

Most helpful comment

All 5 comments

Hi,

we're using the Doctrine\Common\Inflector\Inflector namespace ?

@red-smeg Are you looking at an old version? 2.2? It's not supported anymore.

I suggest to switch to the Symfony String component instead.

I suggest to switch to the Symfony String component instead.

But that would mean dropping php 7.1 support, wouldn't it?

Was this page helpful?
0 / 5 - 0 ratings