Skip to content

Commit cecdd0c

Browse files
committed
Fix incorrect class replacement in Composer script handler
1 parent 4bd3cda commit cecdd0c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Composer/ScriptHandler.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ public static function ensureDoctrineORMOverrides(Event $event)
3939

4040
$baseFind = 'use Doctrine\ORM\Persisters\Entity\\';
4141
$baseReplace = 'use MediaMonks\MssqlBundle\Doctrine\ORM\Persisters\Entity\\';
42-
$replaces = [
43-
'BasicEntityPersister',
44-
'SingleTablePersister'
45-
];
42+
$replaces = ['BasicEntityPersister'];
4643

4744
foreach ($finder as $file) {
4845
$data = file_get_contents($file->getRealpath());

0 commit comments

Comments
 (0)