GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 02bd74...5549cf )
by Tharindu
03:21
created
app/Api/V1/Controllers/RegisterController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function register(RegisterRequest $request)
13 13
     {
14 14
         $user = new User($request->all());
15
-        if (! $user->save()) {
15
+        if (!$user->save()) {
16 16
             throw new HttpException(500);
17 17
         }
18 18
 
Please login to merge, or discard this patch.
app/Api/V1/Controllers/UserController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
         $limit = Input::get('limit', 10);
24 24
 
25
-        $queryParams = array_diff_key($_GET, array_flip(['page']));
25
+        $queryParams = array_diff_key($_GET, array_flip([ 'page' ]));
26 26
         $usersPaginator = User::paginate($limit)
27 27
             ->appends($queryParams)
28 28
             ->appends([
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
         $fractal->parseIncludes(Input::get('include', ''));
43 43
 
44
-        if (! $user = User::find($id)) {
44
+        if (!$user = User::find($id)) {
45 45
             throw new NotFoundHttpException();
46 46
         }
47 47
 
Please login to merge, or discard this patch.
app/Api/V1/Controllers/ResetPasswordController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public function resetPassword(ResetPasswordRequest $request)
13 13
     {
14 14
         $response = $this->broker()->reset(
15
-            $this->credentials($request), function ($user, $password) {
15
+            $this->credentials($request), function($user, $password) {
16 16
                 $this->reset($user, $password);
17 17
             }
18 18
         );
Please login to merge, or discard this patch.
app/Models/Traits/Attribute/UserAttribute.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
      */
17 17
     public function setPasswordAttribute($pass)
18 18
     {
19
-        $this->attributes['password'] = Hash::make($pass);
19
+        $this->attributes[ 'password' ] = Hash::make($pass);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.
app/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@  discard block
 block discarded – undo
42 42
     protected function mapWebRoutes()
43 43
     {
44 44
         Route::middleware('web')
45
-             ->namespace($this->namespace)
46
-             ->group(base_path('routes/web.php'));
45
+                ->namespace($this->namespace)
46
+                ->group(base_path('routes/web.php'));
47 47
     }
48 48
 
49 49
     /**
@@ -54,8 +54,8 @@  discard block
 block discarded – undo
54 54
     protected function mapApiRoutes()
55 55
     {
56 56
         Route::prefix('api')
57
-             ->middleware('api')
58
-             ->namespace($this->namespace)
59
-             ->group(base_path('routes/api.php'));
57
+                ->middleware('api')
58
+                ->namespace($this->namespace)
59
+                ->group(base_path('routes/api.php'));
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
database/seeds/DatabaseSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      */
10 10
     public function run()
11 11
     {
12
-        if (App::environment(['local', 'staging'])) {
12
+        if (App::environment([ 'local', 'staging' ])) {
13 13
             $this->call(AuthTableSeeder::class);
14 14
         }
15 15
 
Please login to merge, or discard this patch.
database/seeds/AuthTableSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
      */
10 10
     public function run()
11 11
     {
12
-        factory(App\Models\User::class, 20)->create()->each(function ($user) {
12
+        factory(App\Models\User::class, 20)->create()->each(function($user) {
13 13
             $user->save();
14 14
         });
15 15
     }
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('users', function (Blueprint $table) {
14
+        Schema::create('users', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->string('name');
17 17
             $table->string('email')->unique();
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
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('password_resets', function (Blueprint $table) {
14
+        Schema::create('password_resets', function(Blueprint $table) {
15 15
             $table->string('email')->index();
16 16
             $table->string('token');
17 17
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.