@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | */ |
163 | 163 | public function testThrowsExceptionOnNonObjectValues($methodName) { |
164 | 164 | $this->expectException(ORMInvalidArgumentException::class); |
165 | - $this->expectExceptionMessage('EntityManager#' . $methodName . '() expects parameter 1 to be an entity object, NULL given.'); |
|
165 | + $this->expectExceptionMessage('EntityManager#'.$methodName.'() expects parameter 1 to be an entity object, NULL given.'); |
|
166 | 166 | |
167 | 167 | $this->_em->$methodName(null); |
168 | 168 | } |
@@ -196,7 +196,7 @@ discard block |
||
196 | 196 | */ |
197 | 197 | public function testTransactionalAcceptsReturn() |
198 | 198 | { |
199 | - $return = $this->_em->transactional(function ($em) { |
|
199 | + $return = $this->_em->transactional(function($em) { |
|
200 | 200 | return 'foo'; |
201 | 201 | }); |
202 | 202 | |
@@ -238,8 +238,8 @@ discard block |
||
238 | 238 | public function testTransactionalReThrowsThrowables() |
239 | 239 | { |
240 | 240 | try { |
241 | - $this->_em->transactional(function () { |
|
242 | - (function (array $value) { |
|
241 | + $this->_em->transactional(function() { |
|
242 | + (function(array $value) { |
|
243 | 243 | // this only serves as an IIFE that throws a `TypeError` |
244 | 244 | })(null); |
245 | 245 | }); |
@@ -31,7 +31,7 @@ |
||
31 | 31 | { |
32 | 32 | public static function schemaToolFailure(string $sql, Throwable $e) : self |
33 | 33 | { |
34 | - return new self("Schema-Tool failed with Error '" . $e->getMessage() . "' while executing DDL: " . $sql, "0", $e); |
|
34 | + return new self("Schema-Tool failed with Error '".$e->getMessage()."' while executing DDL: ".$sql, "0", $e); |
|
35 | 35 | } |
36 | 36 | |
37 | 37 | /** |
@@ -74,7 +74,7 @@ |
||
74 | 74 | $em->getConnection()->connect(); |
75 | 75 | } |
76 | 76 | } catch (Throwable $e) { |
77 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
77 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
78 | 78 | |
79 | 79 | return 1; |
80 | 80 | } |