Passed
Branch develop (38a6c5)
by Fu
04:11 queued 01:01
created
stubs/example/Routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 
14 14
 Route::get('/example', 'ExampleController@index');
15 15
 
16
-Route::group(['prefix' => 'v1', 'namespace' => 'Api\V1'], function () {
16
+Route::group([ 'prefix' => 'v1', 'namespace' => 'Api\V1' ], function() {
17 17
     //
18 18
 });
Please login to merge, or discard this patch.
stubs/example/Entities/Example.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 {
10 10
     use CamelMutatorTrait;
11 11
 
12
-    protected $fillable = [];
12
+    protected $fillable = [ ];
13 13
 }
Please login to merge, or discard this patch.
example/Database/Migrations/2019_03_07_120713_create_examples_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('examples', function (Blueprint $table) {
16
+        Schema::create('examples', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
 
19 19
             $table->timestamps();
Please login to merge, or discard this patch.
stubs/example/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     protected function mapWebRoutes()
51 51
     {
52 52
         Route::middleware('web')
53
-             ->namespace($this->namespace)
54
-             ->group(__DIR__.'/../Routes/web.php');
53
+                ->namespace($this->namespace)
54
+                ->group(__DIR__.'/../Routes/web.php');
55 55
     }
56 56
 
57 57
     /**
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     protected function mapApiRoutes()
65 65
     {
66 66
         Route::prefix('api')
67
-             ->middleware('api')
68
-             ->namespace($this->namespace)
69
-             ->group(__DIR__.'/../Routes/api.php');
67
+                ->middleware('api')
68
+                ->namespace($this->namespace)
69
+                ->group(__DIR__.'/../Routes/api.php');
70 70
     }
71 71
 
72 72
     /**
Please login to merge, or discard this patch.
stubs/example/Providers/ExampleServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
             $sourcePath => $viewPath,
72 72
         ], 'views');
73 73
 
74
-        $this->loadViewsFrom(array_merge(array_map(function ($path) {
74
+        $this->loadViewsFrom(array_merge(array_map(function($path) {
75 75
             return $path.'/modules/example';
76
-        }, \Config::get('view.paths')), [$sourcePath]), 'example');
76
+        }, \Config::get('view.paths')), [ $sourcePath ]), 'example');
77 77
     }
78 78
 
79 79
     /**
@@ -111,6 +111,6 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public function provides()
113 113
     {
114
-        return [];
114
+        return [ ];
115 115
     }
116 116
 }
Please login to merge, or discard this patch.
stubs/example/Http/Controllers/ExampleController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     {
18 18
         $name = Module::find('example')->name;
19 19
         $requirements = collect(Module::findRequirements('example'));
20
-        $requirements = $requirements->map(function ($item) {
20
+        $requirements = $requirements->map(function($item) {
21 21
             return $item->name;
22 22
         });
23 23
         $routes = get_routes('example');
Please login to merge, or discard this patch.