Doctrine ORM 2.9 deprecated message
sdespont opened this issue ยท 5 comments
Hello,
New deprecated message after composer update in relation with Doctrine ORM 2.9
The "Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass" class is considered final since 2.9. It may change without further notice as of its next major version. You should not extend it from "League\Bundle\OAuth2ServerBundle\DependencyInjection\CompilerPass\RegisterDoctrineOrmMappingPass".
@haivala no, it is not in relation with the doctrine persistance incompatibility. DoctrineOrmMappingsPass is extended here https://github.com/thephpleague/oauth2-server-bundle/blob/b4a7c22be98e8c03a739dacce1479104fc50dd2a/src/DependencyInjection/CompilerPass/RegisterDoctrineOrmMappingPass.php
I have open an issue on doctrine/DoctrineBundle
to know how to fix this : doctrine/DoctrineBundle#1655
Fix : #144