@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | public function testThrowsExceptionOnNonObjectValues($methodName) : void |
| 141 | 141 | { |
| 142 | 142 | $this->expectException(ORMInvalidArgumentException::class); |
| 143 | - $this->expectExceptionMessage('EntityManager#' . $methodName . '() expects parameter 1 to be an entity object, NULL given.'); |
|
| 143 | + $this->expectExceptionMessage('EntityManager#'.$methodName.'() expects parameter 1 to be an entity object, NULL given.'); |
|
| 144 | 144 | |
| 145 | 145 | $this->em->{$methodName}(null); |
| 146 | 146 | } |
@@ -184,7 +184,7 @@ discard block |
||
| 184 | 184 | { |
| 185 | 185 | self::assertSame( |
| 186 | 186 | $value, |
| 187 | - $this->em->transactional(function ($em) use ($value) { |
|
| 187 | + $this->em->transactional(function($em) use ($value) { |
|
| 188 | 188 | return $value; |
| 189 | 189 | }) |
| 190 | 190 | ); |
@@ -217,8 +217,8 @@ discard block |
||
| 217 | 217 | public function testTransactionalReThrowsThrowables() : void |
| 218 | 218 | { |
| 219 | 219 | try { |
| 220 | - $this->em->transactional(function () { |
|
| 221 | - (function (array $value) { |
|
| 220 | + $this->em->transactional(function() { |
|
| 221 | + (function(array $value) { |
|
| 222 | 222 | // this only serves as an IIFE that throws a `TypeError` |
| 223 | 223 | })(null); |
| 224 | 224 | }); |
@@ -292,7 +292,7 @@ discard block |
||
| 292 | 292 | // This flag is used to prevent infinity loop in case of regression |
| 293 | 293 | $alreadyInPreFlush = false; |
| 294 | 294 | |
| 295 | - $listener = function (PreFlushEventArgs $eventArgs) use (&$alreadyInPreFlush) { |
|
| 295 | + $listener = function(PreFlushEventArgs $eventArgs) use (&$alreadyInPreFlush) { |
|
| 296 | 296 | if ($alreadyInPreFlush) { |
| 297 | 297 | $this->fail('Flush inside flush called. It should not happened. Fail test to prevent infinity loop'); |
| 298 | 298 | } |