Passed
Push — develop ( c3acb5...a7779a )
by Niclas Leon
02:29
created
app/Providers/BroadcastServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         /*
20 20
          * Authenticate the user's personal channel...
21 21
          */
22
-        Broadcast::channel('App.User.*', function ($user, $userId) {
22
+        Broadcast::channel('App.User.*', function($user, $userId) {
23 23
             return (int) $user->id === (int) $userId;
24 24
         });
25 25
     }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         Route::group([
55 55
             'middleware' => 'web',
56 56
             'namespace' => $this->namespace,
57
-        ], function ($router) {
57
+        ], function($router) {
58 58
             require base_path('routes/web.php');
59 59
         });
60 60
     }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
             'middleware' => 'api',
73 73
             'namespace' => $this->namespace,
74 74
             'prefix' => 'api',
75
-        ], function ($router) {
75
+        ], function($router) {
76 76
             require base_path('routes/api.php');
77 77
         });
78 78
     }
Please login to merge, or discard this patch.
app/Exceptions/Handler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     protected function unauthenticated($request, AuthenticationException $exception)
58 58
     {
59 59
         if ($request->expectsJson()) {
60
-            return response()->json(['error' => 'Unauthenticated.'], 401);
60
+            return response()->json([ 'error' => 'Unauthenticated.' ], 401);
61 61
         }
62 62
 
63 63
         return redirect()->guest('login');
Please login to merge, or discard this patch.
app/Hacktoberfest/GitHub/GitHubServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      */
21 21
     public function register()
22 22
     {
23
-        $this->app->singleton('App\Hacktoberfest\GitHub\PullRequestChecker', function ($app) {
23
+        $this->app->singleton('App\Hacktoberfest\GitHub\PullRequestChecker', function($app) {
24 24
             return new PullRequestChecker($app->make('cache'));
25 25
         });
26 26
     }
@@ -32,6 +32,6 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function provides()
34 34
     {
35
-        return [PullRequestChecker::class];
35
+        return [ PullRequestChecker::class ];
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/SocialiteManager.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
     protected function createGithubDriver()
15 15
     {
16
-        $config = $this->app['config']['services.github'];
16
+        $config = $this->app[ 'config' ][ 'services.github' ];
17 17
 
18 18
         return $this->buildProvider(
19 19
             'App\Hacktoberfest\OAuth\Providers\ScopelessGithubProvider',
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/Providers/ScopelessGithubProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,5 +12,5 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected $scopes = [];
15
+    protected $scopes = [ ];
16 16
 }
Please login to merge, or discard this patch.
app/Hacktoberfest/OAuth/SocialiteServiceProvider.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 register()
15 15
     {
16
-        $this->app->singleton('Laravel\Socialite\Contracts\Factory', function ($app) {
16
+        $this->app->singleton('Laravel\Socialite\Contracts\Factory', function($app) {
17 17
             return new SocialiteManager($app);
18 18
         });
19 19
     }
Please login to merge, or discard this patch.
app/Http/Controllers/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      */
17 17
     public function redirectToProvider()
18 18
     {
19
-        return Socialite::driver('github')->scopes([])->redirect();
19
+        return Socialite::driver('github')->scopes([ ])->redirect();
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_password_resets_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('password_resets', function (Blueprint $table) {
16
+        Schema::create('password_resets', function(Blueprint $table) {
17 17
             $table->string('email')->index();
18 18
             $table->string('token')->index();
19 19
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.