Passed
Push — master ( 6ac985...96b623 )
by Bruno
09:22 queued 14s
created
Modelarium/Laravel/Console/Commands/ModelariumCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
             $processor->getCollection(),
110 110
             // @phpstan-ignore-next-line
111 111
             base_path(),
112
-            (bool)$this->option('overwrite')
112
+            (bool) $this->option('overwrite')
113 113
         );
114 114
 
115 115
         $this->info('Finished. You might want to run `composer dump-autoload`');
Please login to merge, or discard this patch.
Modelarium/Laravel/Targets/ModelGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@
 block discarded – undo
168 168
 
169 169
     public function generateString(): string
170 170
     {
171
-        return $this->stubToString('modelbase', function ($stub) {
171
+        return $this->stubToString('modelbase', function($stub) {
172 172
             $db = [];
173 173
 
174 174
             foreach ($this->type->getFields() as $field) {
Please login to merge, or discard this patch.
Modelarium/Laravel/Targets/FactoryGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     public function generate(): GeneratedCollection
11 11
     {
12 12
         return new GeneratedCollection(
13
-            [ new GeneratedItem(
13
+            [new GeneratedItem(
14 14
                 GeneratedItem::TYPE_FACTORY,
15 15
                 $this->generateString(),
16 16
                 $this->getGenerateFilename()
@@ -25,6 +25,6 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function getGenerateFilename(): string
27 27
     {
28
-        return $this->getBasePath('database/factories/'. $this->studlyName . 'Factory.php');
28
+        return $this->getBasePath('database/factories/' . $this->studlyName . 'Factory.php');
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
Modelarium/Laravel/Processor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
115 115
                 if ($name === 'Mutation') {
116 116
                     continue;
117 117
                 }
118
-                $g = $this->processType((string)$name, $object);
118
+                $g = $this->processType((string) $name, $object);
119 119
                 $this->collection = $this->collection->merge($g);
120 120
             }
121 121
         }
Please login to merge, or discard this patch.