Closed shakaran closed 8 months ago
@debesha any chance of get this merge soon? it is the last deprecated warning in my codebase for a project
Done, thank you
But I did it already, didn't I? https://github.com/debesha/DoctrineProfileExtraBundle/releases/tag/1.3.9
it seems that this produces a fatal error, so maybe we need to revert back the release:
PHP Fatal error: Class Debesha\DoctrineProfileExtraBundle\ORM\LoggingEntityManager cannot extend interface Doctrine\ORM\EntityManagerInterface in /vendor/debesha/doctrine-hydration-profiler-bundle/ORM/LoggingEntityManager.php on line 27
it should be a implements instead extends
Solves the deprecation error:
The "Doctrine\ORM\EntityManager" class is considered final. It may change without further notice as of its next major version. You should not extend it from "Debesha\DoctrineProfileExtraBundle\ORM\LoggingEntityManager".