Failed Conditions
Pull Request — 2.7 (#7556)
by Luís
28:50 queued 22:17
created
tests/Doctrine/Tests/ORM/Functional/Ticket/GH7555Test.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $this->expectException(DBALException::class);
55 55
         $this->expectExceptionMessage('violates unique constraint "unique_field_constraint"');
56 56
 
57
-        $this->entityManager->transactional(static function (EntityManagerInterface $entityManager) : void {
57
+        $this->entityManager->transactional(static function(EntityManagerInterface $entityManager) : void {
58 58
             $entityManager->getConnection()->exec('SET CONSTRAINTS "unique_field_constraint" DEFERRED');
59 59
             $entityManager->persist(new GH7555Entity());
60 60
         });
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
         $this->entityManager->getConnection()->setNestTransactionsWithSavepoints(true);
72 72
 
73
-        $this->entityManager->transactional(static function (EntityManagerInterface $entityManager) : void {
73
+        $this->entityManager->transactional(static function(EntityManagerInterface $entityManager) : void {
74 74
             $entityManager->getConnection()->exec('SET CONSTRAINTS "unique_field_constraint" DEFERRED');
75 75
             $entityManager->persist(new GH7555Entity());
76 76
             $entityManager->flush();
Please login to merge, or discard this patch.