Completed
Push — master ( a64245...e0b49d )
by Manel
58:10 queued 28:11
created
src/Console/CreatesModels.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
      */
15 15
     public function createModel($name)
16 16
     {
17
-        passthru('php artisan make:model -m ' . snake_case($name));
17
+        passthru('php artisan make:model -m '.snake_case($name));
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Console/MakeV.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function handle()
39 39
     {
40
-        $this->info('Running command ' . $command = $this->command());
40
+        $this->info('Running command '.$command = $this->command());
41 41
         passthru($command);
42 42
     }
43 43
 
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      */
49 49
     protected function command()
50 50
     {
51
-        $api = $this->option('api') ? ' --api '  : '';
52
-        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
53
-        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
54
-            ' --method=' . $this->option('method') .
55
-            $api .
51
+        $api = $this->option('api') ? ' --api ' : '';
52
+        $action = $this->argument('action') ? ' '.$this->argument('action').' ' : '';
53
+        return 'php artisan make:route '.$this->argument('link').$action.' --type='.$this->option('type').
54
+            ' --method='.$this->option('method').
55
+            $api.
56 56
             ' -a --menu';
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
src/Console/MakeVC.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function handle()
39 39
     {
40
-        $this->info('Running command ' . $command = $this->command());
40
+        $this->info('Running command '.$command = $this->command());
41 41
         passthru($command);
42 42
     }
43 43
 
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
      */
49 49
     protected function command()
50 50
     {
51
-        $api = $this->option('api') ? ' --api '  : '';
52
-        $action = $this->argument('action') ? ' ' . $this->argument('action') . ' ' : '';
53
-        return 'php artisan make:route ' . $this->argument('link') . $action . ' --type=' . $this->option('type') .
54
-            ' --method=' . $this->option('method') .
55
-            $api .
51
+        $api = $this->option('api') ? ' --api ' : '';
52
+        $action = $this->argument('action') ? ' '.$this->argument('action').' ' : '';
53
+        return 'php artisan make:route '.$this->argument('link').$action.' --type='.$this->option('type').
54
+            ' --method='.$this->option('method').
55
+            $api.
56 56
             ' -a --menu';
57 57
     }
58 58
 }
Please login to merge, or discard this patch.
routes/api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,11 +13,11 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::middleware('auth:api')->get('/user', function (Request $request) {
16
+Route::middleware('auth:api')->get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 });
19 19
 
20
-Route::group(['prefix' => 'v1','middleware' => 'auth:api'], function () {
20
+Route::group([ 'prefix' => 'v1', 'middleware' => 'auth:api' ], function() {
21 21
     //    Route::resource('task', 'TasksController');
22 22
 
23 23
     //Please do not remove this if you want adminlte:route and adminlte:link commands to works correctly.
Please login to merge, or discard this patch.
resources/lang/pl/message.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@
 block discarded – undo
57 57
     'anotherlink'             => 'Kolejny link',
58 58
     'multilevel'              => 'Wielopoziomowy',
59 59
     'linklevel2'              => 'Link w poziomie 2',
60
-    'birthday'                => 'Langdon\'s Birthday',//it can't be translated to polish when it is split like that (I can but it won't be logical)
61
-    'birthdaydate'            => 'Will be 23 on April 24th',//it can't be translated to polish when it is split like that (I can but it won't be logical)
60
+    'birthday'                => 'Langdon\'s Birthday', //it can't be translated to polish when it is split like that (I can but it won't be logical)
61
+    'birthdaydate'            => 'Will be 23 on April 24th', //it can't be translated to polish when it is split like that (I can but it won't be logical)
62 62
     'progress'                => 'Postęp zadań',
63 63
     'customtemplate'          => 'Niestandardowy projekt szablonu',
64 64
     'statstab'                => 'Zawartość tablicy statystyk',
Please login to merge, or discard this patch.
migrations/username_login/2014_10_12_200000_add_username_to_users_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::table('users', function (Blueprint $table) {
16
+        Schema::table('users', function(Blueprint $table) {
17 17
             $table->string('username')->unique()->nullable()->after('name');
18 18
         });
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function down()
27 27
     {
28
-        Schema::table('users', function (Blueprint $table) {
28
+        Schema::table('users', function(Blueprint $table) {
29 29
             $table->dropColumn('username');
30 30
         });
31 31
     }
Please login to merge, or discard this patch.
src/Console/MakeAdminUserSeeder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         try {
66 66
             $this->filesystem->overwrite(
67
-                $path = database_path('seeds/' . config('AdminUserSeeder', 'AdminUserSeeder.php')),
67
+                $path = database_path('seeds/'.config('AdminUserSeeder', 'AdminUserSeeder.php')),
68 68
                 $this->compiler->compile(
69 69
                     $this->filesystem->get($this->getStubPath()),
70 70
                     [
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                     ]
74 74
                 )
75 75
             );
76
-            $this->info('File ' . $path . ' created');
76
+            $this->info('File '.$path.' created');
77 77
         } catch (\Exception $e) {
78 78
             print_r($e->getMessage());
79 79
         }
@@ -86,6 +86,6 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getStubPath()
88 88
     {
89
-        return __DIR__ . '/stubs/AdminUserSeeder.php';
89
+        return __DIR__.'/stubs/AdminUserSeeder.php';
90 90
     }
91 91
 }
Please login to merge, or discard this patch.
src/Console/MakeView.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
     {
54 54
         try {
55 55
             $this->filesystem->make(
56
-                $path = resource_path('views/' . $this->viewPath()),
56
+                $path = resource_path('views/'.$this->viewPath()),
57 57
                 $this->filesystem->get($this->getStubPath()),
58 58
                 true
59 59
             );
60
-            $this->info('File ' . $path . ' created');
60
+            $this->info('File '.$path.' created');
61 61
         } catch (\Exception $e) {
62 62
             $this->error($e->getMessage());
63 63
         }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     protected function getStubPath()
70 70
     {
71
-        return __DIR__ . '/stubs/view.blade.php';
71
+        return __DIR__.'/stubs/view.blade.php';
72 72
     }
73 73
 
74 74
     /**
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
      */
90 90
     protected function constructViewBladeName($name)
91 91
     {
92
-        return $this->dottedPathToSlashesPath($name) . '.blade.php';
92
+        return $this->dottedPathToSlashesPath($name).'.blade.php';
93 93
     }
94 94
 
95 95
     /**
Please login to merge, or discard this patch.
src/stubs/ForgotPasswordController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      * Get the response for a failed password reset link.
66 66
      *
67 67
      * @param Request $request
68
-     * @param $response
68
+     * @param string $response
69 69
      * @return mixed
70 70
      */
71 71
     protected function sendResetLinkFailedResponse(Request $request, $response)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
             ], 422);
80 80
         }
81 81
         return back()->withErrors(
82
-            ['email' => trans($response)]
82
+            [ 'email' => trans($response) ]
83 83
         );
84 84
     }
85 85
 
Please login to merge, or discard this patch.