Passed
Push — master ( 687060...4bc29d )
by Marco
18:44
created
tests/Doctrine/Tests/ORM/EntityManagerTest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             });
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/ToolsException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
lib/Doctrine/ORM/Tools/Console/Command/EnsureProductionSettingsCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.