Test Setup Failed
Push — master ( cd6248...207eab )
by Kevin
01:12
created
src/Generators/ComplexObjectGenerator.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
             if ($goDeeper){
67 67
                 $hasGoneDeeper = true;
68 68
                 $value = $this->generateRandomObject($depth - 1);
69
-            }else{
69
+            } else{
70 70
                 $value = $this->randomValue();
71 71
             }
72 72
             $obj->$propName = $value;
Please login to merge, or discard this patch.
src/DBFaker.php 1 patch
Braces   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
                 else {
147 147
                     if (!$column->getNotnull() && $this->nullProbabilityOccured()){
148 148
                         $value = null;
149
-                    }else{
149
+                    } else{
150 150
                         $generator = $this->generatorFinder->findGenerator($table, $column);
151 151
                         $value = $generator($column);
152 152
                     }
@@ -289,8 +289,9 @@  discard block
 block discarded – undo
289 289
         $tables = $this->schemaManager->listTables();
290 290
         foreach ($tables as $table){
291 291
             foreach ($table->getIndexes() as $index){
292
-                if ($index->isUnique() && count($index->getColumns()) > 1)
293
-                $this->multipleUniqueContraintStore[$table->getName()][] = $index;
292
+                if ($index->isUnique() && count($index->getColumns()) > 1) {
293
+                                $this->multipleUniqueContraintStore[$table->getName()][] = $index;
294
+                }
294 295
                 $this->schemaManager->dropIndex($index->getName(), $table->getName());
295 296
             }
296 297
         }
Please login to merge, or discard this patch.