Skip to content

Commit b4a7c22

Browse files
committed
bug #136 Remove deprecated registration of entity namespace (bjo3rnf)
This PR was merged into the 0.4-dev branch. Discussion ---------- Remove deprecated registration of entity namespace Registration of entity namespaces has been deprecated in doctrine/persistence 2.x and prevents usage of the bundle in combination with doctrine/persistence 3.x. This patch addresses #135 Commits ------- f634b1f Remove deprecated registration of entity namespace
2 parents 60e2098 + f634b1f commit b4a7c22

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DependencyInjection/CompilerPass/RegisterDoctrineOrmMappingPass.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ public function __construct()
1919
new Reference(Driver::class),
2020
['League\Bundle\OAuth2ServerBundle\Model'],
2121
['league.oauth2_server.persistence.doctrine.manager'],
22-
'league.oauth2_server.persistence.doctrine.enabled',
23-
['LeagueOAuth2ServerBundle' => 'League\Bundle\OAuth2ServerBundle\Model']
22+
'league.oauth2_server.persistence.doctrine.enabled'
2423
);
2524
}
2625
}

0 commit comments

Comments
 (0)