Closed kokspflanze closed 4 years ago
I didn't realize folks would want to use this repo with an older version; but your changes look good and all pass.
thanks @TomHAnderson
the stable doctrine/orm require version 1 of inflector, https://github.com/doctrine/orm/blob/2.7/composer.json#L31 , is there any better way? to force the latest Version.
if i check packagist downloads and compare 2.0.2 and 2.0.4 https://packagist.org/packages/doctrine/doctrine-laminas-hydrator/stats#2.0.4 it looks for me that im not the only one with the problem. Maybe you have a better way, would be cool to know=]
I don't think this PR will benefit anyone because of your latest note.
This PR is a replacement for https://github.com/doctrine/DoctrineModule/tree/2.1.10/src/DoctrineModule/Stdlib/Hydrator which works just fine with older versions. If you want/need to use an older version of Doctrine then use the older version of DoctrineModule.
added the current version of doctrine/inflector and doctrine/persistence, that are used in orm2.7 to fix the deprecated warnings in the current stable doctrine/orm system
also removed unused use statements.
also mention in https://github.com/doctrine/doctrine-laminas-hydrator/issues/11 but nobody can use the latest release.