Passed
Push β€” master ( a19138...d27343 )
by Sheldon
04:02
created
app/Generators/RepositoryInterfaceGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function getRootNamespace()
35 35
     {
36
-        return parent::getRootNamespace() .
36
+        return parent::getRootNamespace().
37 37
             parent::getConfigGeneratorClassPath($this->getPathConfigNode());
38 38
     }
39 39
 
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getPath()
56 56
     {
57
-        return $this->getBasePath() .
58
-            '/' .
59
-            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) .
60
-            '/' .
61
-            $this->getName() .
57
+        return $this->getBasePath().
58
+            '/'.
59
+            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true).
60
+            '/'.
61
+            $this->getName().
62 62
             'Repository.php';
63 63
     }
64 64
 
Please login to merge, or discard this patch.
app/Generators/RepositoryEloquentGenerator.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      */
34 34
     public function getRootNamespace()
35 35
     {
36
-        return parent::getRootNamespace() .
36
+        return parent::getRootNamespace().
37 37
             parent::getConfigGeneratorClassPath($this->getPathConfigNode());
38 38
     }
39 39
 
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getPath()
56 56
     {
57
-        return $this->getBasePath() .
58
-            '/' .
59
-            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) .
60
-            '/' .
61
-            $this->getName() .
57
+        return $this->getBasePath().
58
+            '/'.
59
+            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true).
60
+            '/'.
61
+            $this->getName().
62 62
             'RepositoryEloquent.php';
63 63
     }
64 64
 
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
             case 'binary':
158 158
             case 'ipAddress':
159 159
             case 'macAddress':
160
-                return "\t\t'{$field['name']}' => 'like'," . PHP_EOL;
160
+                return "\t\t'{$field['name']}' => 'like',".PHP_EOL;
161 161
             case 'integer':
162 162
             case 'tinyInteger':
163 163
             case 'smallInteger':
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
             case 'decimal':
181 181
             case 'double':
182 182
             case 'boolean':
183
-                return "\t\t'{$field['name']}'," . PHP_EOL;
183
+                return "\t\t'{$field['name']}',".PHP_EOL;
184 184
         }
185 185
     }
186 186
 
Please login to merge, or discard this patch.
app/Generators/CriteriaGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getRootNamespace()
33 33
     {
34
-        return parent::getRootNamespace() .
34
+        return parent::getRootNamespace().
35 35
             parent::getConfigGeneratorClassPath($this->getPathConfigNode());
36 36
     }
37 37
 
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function getPath()
54 54
     {
55
-        return $this->getBasePath() .
56
-            '/' .
57
-            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) .
58
-            '/' .
59
-            $this->getName() .
55
+        return $this->getBasePath().
56
+            '/'.
57
+            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true).
58
+            '/'.
59
+            $this->getName().
60 60
             'Criteria.php';
61 61
     }
62 62
 
Please login to merge, or discard this patch.
app/Generators/TransformerGenerator.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getRootNamespace()
33 33
     {
34
-        return parent::getRootNamespace() .
34
+        return parent::getRootNamespace().
35 35
             parent::getConfigGeneratorClassPath($this->getPathConfigNode());
36 36
     }
37 37
 
@@ -52,11 +52,11 @@  discard block
 block discarded – undo
52 52
      */
53 53
     public function getPath()
54 54
     {
55
-        return $this->getBasePath() .
56
-            '/' .
57
-            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) .
58
-            '/' .
59
-            $this->getName() .
55
+        return $this->getBasePath().
56
+            '/'.
57
+            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true).
58
+            '/'.
59
+            $this->getName().
60 60
             'Transformer.php';
61 61
     }
62 62
 
Please login to merge, or discard this patch.
app/Generators/BindingsGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
      */
54 54
     public function getPath()
55 55
     {
56
-        return $this->getBasePath() .
57
-            '/Providers/' .
56
+        return $this->getBasePath().
57
+            '/Providers/'.
58 58
             parent::getConfigGeneratorClassPath(
59 59
                 $this->getPathConfigNode(),
60 60
                 true
61
-            ) .
61
+            ).
62 62
             '.php';
63 63
     }
64 64
 
Please login to merge, or discard this patch.
app/Generators/Commands/ControllerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             $this->call(
56 56
                 'yl:request',
57 57
                 [
58
-                    'name' => $this->argument('name') . 'Create',
58
+                    'name' => $this->argument('name').'Create',
59 59
                     '--type' => 'web',
60 60
                     '--fields' => $this->option('fields'),
61 61
                     '--force' => $this->option('force'),
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $this->call(
66 66
                 'yl:request',
67 67
                 [
68
-                    'name' => $this->argument('name') . 'Update',
68
+                    'name' => $this->argument('name').'Update',
69 69
                     '--type' => 'web',
70 70
                     '--fields' => $this->option('fields'),
71 71
                     '--force' => $this->option('force'),
Please login to merge, or discard this patch.
app/Generators/Commands/RepositoryCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         $this->generators->push(
67 67
             new MigrationGenerator(
68 68
                 [
69
-                    'name' => 'create_' . snake_case(str_plural($this->argument('name'))) . '_table',
69
+                    'name' => 'create_'.snake_case(str_plural($this->argument('name'))).'_table',
70 70
                     'fields' => $this->option('fillable'),
71 71
                     'force' => $this->option('force'),
72 72
                 ]
Please login to merge, or discard this patch.
app/Generators/Commands/ApiControllerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
             $this->call(
56 56
                 'yl:request',
57 57
                 [
58
-                    'name' => 'Api/' . $this->argument('name') . 'Create',
58
+                    'name' => 'Api/'.$this->argument('name').'Create',
59 59
                     '--type' => 'api',
60 60
                     '--fields' => $this->option('fields'),
61 61
                     '--force' => $this->option('force'),
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $this->call(
66 66
                 'yl:request',
67 67
                 [
68
-                    'name' => 'Api/' . $this->argument('name') . 'Update',
68
+                    'name' => 'Api/'.$this->argument('name').'Update',
69 69
                     '--type' => 'api',
70 70
                     '--fields' => $this->option('fields'),
71 71
                     '--force' => $this->option('force'),
Please login to merge, or discard this patch.
app/Generators/ViewsGenerator.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,11 +65,11 @@
 block discarded – undo
65 65
      */
66 66
     public function getPath()
67 67
     {
68
-        return $this->getBasePath() .
69
-            '/' .
70
-            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true) .
71
-            '/' .
72
-            $this->getName() .
68
+        return $this->getBasePath().
69
+            '/'.
70
+            parent::getConfigGeneratorClassPath($this->getPathConfigNode(), true).
71
+            '/'.
72
+            $this->getName().
73 73
             '/';
74 74
     }
75 75
 
Please login to merge, or discard this patch.