Completed
Push — master ( 9f37ad...4a02ec )
by Cristian
02:25
created
src/app/Http/Controllers/Auth/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
      * Handle a registration request for the application.
123 123
      *
124 124
      * @param  \Illuminate\Http\Request  $request
125
-     * @return \Illuminate\Http\Response
125
+     * @return \Illuminate\Http\RedirectResponse
126 126
      */
127 127
     public function register(Request $request)
128 128
     {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Auth/PasswordController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use App\Http\Controllers\Controller;
6 6
 use Illuminate\Foundation\Auth\ResetsPasswords;
7 7
 use Illuminate\Http\Request;
8
-use Illuminate\Mail\Message;
9 8
 use Illuminate\Support\Facades\Auth;
10 9
 use Illuminate\Support\Facades\Password;
11 10
 
Please login to merge, or discard this patch.
src/config/config.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@  discard block
 block discarded – undo
2 2
 
3 3
 return [
4 4
 
5
-	/*
5
+    /*
6 6
 	|--------------------------------------------------------------------------
7 7
 	| Look & feel customizations
8 8
 	|--------------------------------------------------------------------------
@@ -11,29 +11,29 @@  discard block
 block discarded – undo
11 11
 	|
12 12
 	*/
13 13
 
14
-	// Project name. Shown in the breadcrumbs and a few other places.
15
-	'project_name' => 'Backpack',
14
+    // Project name. Shown in the breadcrumbs and a few other places.
15
+    'project_name' => 'Backpack',
16 16
 
17
-	// Menu logos
18
-	'logo_lg' => '<b>Back</b>pack',
19
-	'logo_mini' => '<b>B</b>p',
17
+    // Menu logos
18
+    'logo_lg' => '<b>Back</b>pack',
19
+    'logo_mini' => '<b>B</b>p',
20 20
 
21 21
 
22
-	// Developer or company name. Shown in footer.
23
-	'developer_name' => 'Cristian Tabacitu',
22
+    // Developer or company name. Shown in footer.
23
+    'developer_name' => 'Cristian Tabacitu',
24 24
 
25
-	// Developer website. Link in footer.
26
-	'developer_link' => 'http://tabacitu.ro',
25
+    // Developer website. Link in footer.
26
+    'developer_link' => 'http://tabacitu.ro',
27 27
 
28
-	// Show powered by Laravel Backpack in the footer?
29
-	'show_powered_by' => true,
28
+    // Show powered by Laravel Backpack in the footer?
29
+    'show_powered_by' => true,
30 30
 
31
-	// The AdminLTE skin. Affects menu color and primary/secondary colors used throughout the application.
32
-	'skin' => 'skin-purple',
33
-	// Options: skin-black, skin-blue, skin-purple, skin-red, skin-yellow, skin-green, skin-blue-light, skin-black-light, skin-purple-light, skin-green-light, skin-red-light, skin-yellow-light
31
+    // The AdminLTE skin. Affects menu color and primary/secondary colors used throughout the application.
32
+    'skin' => 'skin-purple',
33
+    // Options: skin-black, skin-blue, skin-purple, skin-red, skin-yellow, skin-green, skin-blue-light, skin-black-light, skin-purple-light, skin-green-light, skin-red-light, skin-yellow-light
34 34
 
35 35
 
36
-	/*
36
+    /*
37 37
 	|--------------------------------------------------------------------------
38 38
 	| Registration Open
39 39
 	|--------------------------------------------------------------------------
@@ -44,6 +44,6 @@  discard block
 block discarded – undo
44 44
 	|
45 45
 	*/
46 46
 
47
-	'registration_open' => true,
47
+    'registration_open' => true,
48 48
 
49 49
 ];
Please login to merge, or discard this patch.
src/app/Http/routes.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 // All BackPack routes are placed under the 'admin' prefix, to minimize possible conflicts with your application. This means your login/logout/register urls are also under the 'admin' prefix, so you can have separate logins for users and admins.
4 4
 Route::group(['middleware' => 'web', 'prefix' => 'admin'], function () {
5
-	// Admin authentication routes
5
+    // Admin authentication routes
6 6
     Route::auth();
7 7
 
8 8
     // Other Backpack\Base routes
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // All BackPack routes are placed under the 'admin' prefix, to minimize possible conflicts with your application. This means your login/logout/register urls are also under the 'admin' prefix, so you can have separate logins for users and admins.
4
-Route::group(['middleware' => 'web', 'prefix' => 'admin'], function () {
4
+Route::group(['middleware' => 'web', 'prefix' => 'admin'], function() {
5 5
 	// Admin authentication routes
6 6
     Route::auth();
7 7
 
@@ -12,6 +12,6 @@  discard block
 block discarded – undo
12 12
 // REDIRECT "login" URL TO "admin/login"
13 13
 //
14 14
 // The login url is hardcoded in Laravel in a few places, most importantly in the auth middleware. If your application has a different login for users (non-admins), you should consider overwriting this.
15
-Route::get('login', function () {
15
+Route::get('login', function() {
16 16
     return redirect('admin/login');
17 17
 });
18 18
\ No newline at end of file
Please login to merge, or discard this patch.
src/BaseServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -32,17 +32,17 @@  discard block
 block discarded – undo
32 32
 
33 33
         // PUBLISH FILES
34 34
         // publish config file
35
-        $this->publishes([ __DIR__.'/config/config.php' => config_path('backpack/base.php'), ], 'config');
35
+        $this->publishes([__DIR__.'/config/config.php' => config_path('backpack/base.php'), ], 'config');
36 36
         // publish lang files
37
-        $this->publishes([ __DIR__.'/resources/lang' => resource_path('lang/vendor/backpack'), ], 'lang');
37
+        $this->publishes([__DIR__.'/resources/lang' => resource_path('lang/vendor/backpack'), ], 'lang');
38 38
         // publish views
39
-        $this->publishes([ __DIR__.'/resources/views' => resource_path('views/vendor/backpack/base'), ], 'views');
39
+        $this->publishes([__DIR__.'/resources/views' => resource_path('views/vendor/backpack/base'), ], 'views');
40 40
         // publish error views
41
-        $this->publishes([ __DIR__.'/resources/error_views' => resource_path('views/errors'), ], 'errors');
41
+        $this->publishes([__DIR__.'/resources/error_views' => resource_path('views/errors'), ], 'errors');
42 42
         // publish public Backpack assets
43
-        $this->publishes([ __DIR__.'/public' => public_path('vendor/backpack'), ], 'public');
43
+        $this->publishes([__DIR__.'/public' => public_path('vendor/backpack'), ], 'public');
44 44
         // publish public AdminLTE assets
45
-        $this->publishes([ base_path('vendor/almasaeed2010/adminlte') => public_path('vendor/adminlte'), ], 'adminlte');
45
+        $this->publishes([base_path('vendor/almasaeed2010/adminlte') => public_path('vendor/adminlte'), ], 'adminlte');
46 46
 
47 47
         // use the vendor configuration file as fallback
48 48
         $this->mergeConfigFrom(
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 
82 82
     private function registerBase()
83 83
     {
84
-        $this->app->bind('base',function($app){
84
+        $this->app->bind('base', function($app) {
85 85
             return new Base($app);
86 86
         });
87 87
     }
Please login to merge, or discard this patch.
src/resources/error_views/500.blade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
           <p>
21 21
             <?php
22
-              $default_error_message = "An internal server error has occurred. If the error persists please contact the development team.";
22
+                $default_error_message = "An internal server error has occurred. If the error persists please contact the development team.";
23 23
             ?>
24 24
             {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!}
25 25
           </p>
Please login to merge, or discard this patch.
src/resources/error_views/405.blade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
           <p>
21 21
             <?php
22
-              $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>";
22
+                $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>";
23 23
             ?>
24 24
             {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!}
25 25
           </p>
Please login to merge, or discard this patch.
src/resources/error_views/404.blade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
           <p>
21 21
             <?php
22
-              $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>.";
22
+                $default_error_message = "Meanwhile, you may <a href='".url('admin')."'>return to dashboard</a>.";
23 23
             ?>
24 24
             {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!}
25 25
           </p>
Please login to merge, or discard this patch.
src/resources/error_views/503.blade.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
           <p>
21 21
             <?php
22
-              $default_error_message = "The server is overloaded or down for maintenance. Please try again later.";
22
+                $default_error_message = "The server is overloaded or down for maintenance. Please try again later.";
23 23
             ?>
24 24
             {!! isset($exception)? ($exception->getMessage()?$exception->getMessage():$default_error_message): $default_error_message !!}
25 25
           </p>
Please login to merge, or discard this patch.