8000 minor #59389 [DoctrineBridge] clean up code for doctrine/persistence … · symfony/symfony@75303aa · GitHub
[go: up one dir, main page]

Skip to content

Commit 75303aa

Browse files
minor #59389 [DoctrineBridge] clean up code for doctrine/persistence 2.x (xabbuh)
This PR was merged into the 7.1 branch. Discussion ---------- [DoctrineBridge] clean up code for doctrine/persistence 2.x | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT I missed this when merging `6.4` up after #59185 Commits ------- e102b89 clean up code for doctrine/persistence 2.x
2 parents ff90703 + e102b89 commit 75303aa

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Bridge/Doctrine/Tests/Security/RememberMe/DoctrineTokenProviderTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ protected function bootstrapProvider(): DoctrineTokenProvider
122122
$config = ORMSetup::createConfiguration(true);
123123
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
124124

125-
if (!class_exists(\Doctrine\Persistence\Mapping\Driver\AnnotationDriver::class)) { // doctrine/persistence >= 3.0
126-
$config->setLazyGhostObjectEnabled(true);
127-
}
125+
$config->setLazyGhostObjectEnabled(true);
128126

129127
$connection = DriverManager::getConnection([
130128
'driver' => 'pdo_sqlite',

0 commit comments

Comments
 (0)
0