Test Setup Failed
Pull Request — master (#3)
by Jonathan André
16:59 queued 07:42
created
app/Providers/RouteServiceProvider.php 3 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,8 +52,8 @@  discard block
 block discarded – undo
52 52
     protected function mapWebRoutes()
53 53
     {
54 54
         Route::middleware('web')
55
-             ->namespace($this->namespace)
56
-             ->group(base_path('routes/web.php'));
55
+                ->namespace($this->namespace)
56
+                ->group(base_path('routes/web.php'));
57 57
     }
58 58
 
59 59
     /**
@@ -66,8 +66,8 @@  discard block
 block discarded – undo
66 66
     protected function mapApiRoutes()
67 67
     {
68 68
         Route::prefix('api')
69
-             ->middleware('api')
70
-             ->namespace($this->namespace)
71
-             ->group(base_path('routes/api.php'));
69
+                ->middleware('api')
70
+                ->namespace($this->namespace)
71
+                ->group(base_path('routes/api.php'));
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @return void
23 23
      */
24
-    public function boot()
24
+    public function boot ()
25 25
     {
26 26
         //
27 27
 
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @return void
35 35
      */
36
-    public function map()
36
+    public function map ()
37 37
     {
38 38
         $this->mapApiRoutes();
39 39
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return void
51 51
      */
52
-    protected function mapWebRoutes()
52
+    protected function mapWebRoutes ()
53 53
     {
54 54
         Route::middleware('web')
55 55
              ->namespace($this->namespace)
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @return void
65 65
      */
66
-    protected function mapApiRoutes()
66
+    protected function mapApiRoutes ()
67 67
     {
68 68
         Route::prefix('api')
69 69
              ->middleware('api')
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
6 6
 use Illuminate\Support\Facades\Route;
7 7
 
8
-class RouteServiceProvider extends ServiceProvider
9
-{
8
+class RouteServiceProvider extends ServiceProvider {
10 9
     /**
11 10
      * This namespace is applied to your controller routes.
12 11
      *
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 2 patches
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
      * @return void
13 13
      */
14
-    public function boot()
14
+    public function boot ()
15 15
     {
16 16
         //
17 17
     }
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      *
22 22
      * @return void
23 23
      */
24
-    public function register()
24
+    public function register ()
25 25
     {
26 26
         //
27 27
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Support\ServiceProvider;
6 6
 
7
-class AppServiceProvider extends ServiceProvider
8
-{
7
+class AppServiceProvider extends ServiceProvider {
9 8
     /**
10 9
      * Bootstrap any application services.
11 10
      *
Please login to merge, or discard this patch.
app/Providers/BroadcastServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @return void
14 14
      */
15
-    public function boot()
15
+    public function boot ()
16 16
     {
17 17
         Broadcast::routes();
18 18
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Support\Facades\Broadcast;
6 6
 use Illuminate\Support\ServiceProvider;
7 7
 
8
-class BroadcastServiceProvider extends ServiceProvider
9
-{
8
+class BroadcastServiceProvider extends ServiceProvider {
10 9
     /**
11 10
      * Bootstrap any application services.
12 11
      *
Please login to merge, or discard this patch.
app/Providers/EventServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @return void
25 25
      */
26
-    public function boot()
26
+    public function boot ()
27 27
     {
28 28
         parent::boot();
29 29
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
6 6
 use Illuminate\Support\Facades\Event;
7 7
 
8
-class EventServiceProvider extends ServiceProvider
9
-{
8
+class EventServiceProvider extends ServiceProvider {
10 9
     /**
11 10
      * The event listener mappings for the application.
12 11
      *
Please login to merge, or discard this patch.
app/Providers/AuthServiceProvider.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @return void
22 22
      */
23
-    public function boot()
23
+    public function boot ()
24 24
     {
25 25
         $this->registerPolicies();
26 26
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
6 6
 
7
-class AuthServiceProvider extends ServiceProvider
8
-{
7
+class AuthServiceProvider extends ServiceProvider {
9 8
     /**
10 9
      * The policy mappings for the application.
11 10
      *
Please login to merge, or discard this patch.
app/User.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use Illuminate\Foundation\Auth\User as Authenticatable;
6 6
 use Illuminate\Notifications\Notifiable;
7 7
 
8
-class User extends Authenticatable
9
-{
8
+class User extends Authenticatable {
10 9
     use Notifiable;
11 10
 
12 11
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/Controller.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Foundation\Validation\ValidatesRequests;
8 8
 use Illuminate\Routing\Controller as BaseController;
9 9
 
10
-class Controller extends BaseController
11
-{
10
+class Controller extends BaseController {
12 11
     use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
13 12
 }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/RegisterController.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      *
35 35
      * @return void
36 36
      */
37
-    public function __construct()
37
+    public function __construct ()
38 38
     {
39 39
         $this->middleware('guest');
40 40
     }
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      *
47 47
      * @return \Illuminate\Contracts\Validation\Validator
48 48
      */
49
-    protected function validator(array $data)
49
+    protected function validator (array $data)
50 50
     {
51 51
         return Validator::make($data, [
52 52
             'name'     => 'required|string|max:255',
@@ -62,12 +62,12 @@  discard block
 block discarded – undo
62 62
      *
63 63
      * @return \App\User
64 64
      */
65
-    protected function create(array $data)
65
+    protected function create (array $data)
66 66
     {
67 67
         return User::create([
68
-            'name'     => $data['name'],
69
-            'email'    => $data['email'],
70
-            'password' => bcrypt($data['password']),
68
+            'name'     => $data[ 'name' ],
69
+            'email'    => $data[ 'email' ],
70
+            'password' => bcrypt($data[ 'password' ]),
71 71
         ]);
72 72
     }
73 73
 }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
7 7
 use Illuminate\Foundation\Auth\RegistersUsers;
8 8
 use Illuminate\Support\Facades\Validator;
9 9
 
10
-class RegisterController extends Controller
11
-{
10
+class RegisterController extends Controller {
12 11
     /*
13 12
     |--------------------------------------------------------------------------
14 13
     | Register Controller
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/ResetPasswordController.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      *
33 33
      * @return void
34 34
      */
35
-    public function __construct()
35
+    public function __construct ()
36 36
     {
37 37
         $this->middleware('guest');
38 38
     }
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
5 5
 use App\Http\Controllers\Controller;
6 6
 use Illuminate\Foundation\Auth\ResetsPasswords;
7 7
 
8
-class ResetPasswordController extends Controller
9
-{
8
+class ResetPasswordController extends Controller {
10 9
     /*
11 10
     |--------------------------------------------------------------------------
12 11
     | Password Reset Controller
Please login to merge, or discard this patch.