Completed
Push — master ( 88ffab...e57fcd )
by Fumio
02:53
created
sources/Console/TailCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 
97 97
         $lines = $this->option('lines');
98 98
 
99
-        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function ($type, $line) use ($output) {
99
+        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function($type, $line) use ($output) {
100 100
             $output->write($line);
101 101
         });
102 102
     }
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 
159 159
         $lines = $this->option('lines');
160 160
 
161
-        $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function ($line) use ($out) {
161
+        $this->getRemote($connection)->run('tail -f -n '.$lines.' '.escapeshellarg($path), function($line) use ($out) {
162 162
             $out->write($line);
163 163
         });
164 164
     }
Please login to merge, or discard this patch.
sources/Generators/Console/EventMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
         return $generator->file($path)->template($this->getStub(), [
82 82
             'namespace' => $namespace,
83
-            'root_namespace' => $this->getAppNamespace(),     // use App\Events\Event
83
+            'root_namespace' => $this->getAppNamespace(), // use App\Events\Event
84 84
             'class' => $class,
85 85
         ]);
86 86
     }
Please login to merge, or discard this patch.
sources/Generators/Console/ListenerMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
 
98 98
         return $generator->file($path)->template($this->getStub(), [
99 99
             'namespace' => $namespace,
100
-            'root_namespace' => $this->getAppNamespace(),     // use App\Events\{$event}
100
+            'root_namespace' => $this->getAppNamespace(), // use App\Events\{$event}
101 101
             'class' => $class,
102 102
             'event' => $this->option('event'),
103 103
         ]);
Please login to merge, or discard this patch.
sources/Generators/Console/ControllerMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         return $generator->file($path)->template($this->getStub(), [
83 83
             'namespace' => $namespace,
84
-            'root_namespace' => $this->getAppNamespace(),   // use App\Http\Controllers\Controller
84
+            'root_namespace' => $this->getAppNamespace(), // use App\Http\Controllers\Controller
85 85
             'class' => $class,
86 86
         ]);
87 87
     }
Please login to merge, or discard this patch.
sources/Generators/Console/JobMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 
82 82
         return $generator->file($path)->template($this->getStub(), [
83 83
             'namespace' => $namespace,
84
-            'root_namespace' => $this->getAppNamespace(),     // use App\Jobs\Job
84
+            'root_namespace' => $this->getAppNamespace(), // use App\Jobs\Job
85 85
             'class' => $class,
86 86
         ]);
87 87
     }
Please login to merge, or discard this patch.
sources/Generators/Console/RequestMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
         return $generator->file($path)->template($this->getStub(), [
82 82
             'namespace' => $namespace,
83
-            'root_namespace' => $this->getAppNamespace(),       // use App\Http\Requests\Request
83
+            'root_namespace' => $this->getAppNamespace(), // use App\Http\Requests\Request
84 84
             'class' => $class,
85 85
         ]);
86 86
     }
Please login to merge, or discard this patch.
sources/Generators/GeneratorCommandRegistrar.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -67,12 +67,12 @@  discard block
 block discarded – undo
67 67
     {
68 68
         foreach ($commands as $name => $class) {
69 69
             if ($this->app->bound($name)) {
70
-                $this->app->extend($name, function ($instance, $app) use ($class) {
70
+                $this->app->extend($name, function($instance, $app) use ($class) {
71 71
                     return $app->build($class);
72 72
                 });
73 73
             }
74 74
             else {
75
-                $this->app->singleton($name, function ($app) use ($class) {
75
+                $this->app->singleton($name, function($app) use ($class) {
76 76
                     return $app->build($class);
77 77
                 });
78 78
             }
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     protected function silentLegacyCommands(array $commands)
88 88
     {
89 89
         foreach ($commands as $name => $class) {
90
-            $this->app->extend($name, function ($instance, $app) use ($class) {
90
+            $this->app->extend($name, function($instance, $app) use ($class) {
91 91
                 return $app->build($class);
92 92
             });
93 93
         }
Please login to merge, or discard this patch.
sources/Templates/BladeExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public static function comment()
13 13
     {
14
-        return function ($value) {
14
+        return function($value) {
15 15
             $pattern = sprintf('/%s((.|\s)*?)%s/', '{#', '#}');
16 16
 
17 17
             return preg_replace($pattern, '<?php /*$1*/ ?>', $value);
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public static function script()
27 27
     {
28
-        return function ($value) {
28
+        return function($value) {
29 29
             $pattern = sprintf('/%s((.|\s)*?)%s/', '{@', '@}');
30 30
 
31 31
             return preg_replace($pattern, '<?php $1; ?>', $value);
Please login to merge, or discard this patch.
sources/Generators/GeneratorCommandTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         if ($this->addon) {
102 102
             $directories = $this->addon->config('addon.directories');
103 103
 
104
-            if (! $directories) {
104
+            if (!$directories) {
105 105
                 $directories = ['classes'];
106 106
             }
107 107
 
Please login to merge, or discard this patch.