Failed Conditions
Pull Request — master (#7210)
by Michael
17:55
created
tests/Doctrine/Tests/ORM/Functional/EntityRepositoryTest.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -287,7 +287,7 @@  discard block
 block discarded – undo
287 287
     public function testExceptionIsThrownWhenCallingFindByWithoutParameter() : void
288 288
     {
289 289
         $this->em->getRepository(CmsUser::class)
290
-                  ->findByStatus();
290
+                    ->findByStatus();
291 291
     }
292 292
 
293 293
     /**
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
     public function testExceptionIsThrownWhenUsingInvalidFieldName() : void
297 297
     {
298 298
         $this->em->getRepository(CmsUser::class)
299
-                  ->findByThisFieldDoesNotExist('testvalue');
299
+                    ->findByThisFieldDoesNotExist('testvalue');
300 300
     }
301 301
 
302 302
     /**
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
         $this->expectException(TransactionRequired::class);
309 309
 
310 310
         $this->em->getRepository(CmsUser::class)
311
-                  ->find(1, LockMode::PESSIMISTIC_READ);
311
+                    ->find(1, LockMode::PESSIMISTIC_READ);
312 312
     }
313 313
 
314 314
     /**
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
         $this->expectException(TransactionRequired::class);
321 321
 
322 322
         $this->em->getRepository(CmsUser::class)
323
-                  ->find(1, LockMode::PESSIMISTIC_WRITE);
323
+                    ->find(1, LockMode::PESSIMISTIC_WRITE);
324 324
     }
325 325
 
326 326
     /**
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
         $this->expectException(OptimisticLockFailed::class);
333 333
 
334 334
         $this->em->getRepository(CmsUser::class)
335
-                  ->find(1, LockMode::OPTIMISTIC);
335
+                    ->find(1, LockMode::OPTIMISTIC);
336 336
     }
337 337
 
338 338
     /**
Please login to merge, or discard this patch.