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.
Completed
Push — master ( 1a1e57...ace484 )
by
unknown
18:25
created
app/Http/Controllers/Auth/PasswordController.php 4 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      * Send a reset link to the given user.
79 79
      *
80 80
      * @param  Request  $request
81
-     * @return Response
81
+     * @return \Illuminate\Http\RedirectResponse|null
82 82
      */
83 83
     public function postReset(Request $request)
84 84
     {
@@ -128,7 +128,6 @@  discard block
 block discarded – undo
128 128
     /**
129 129
      * Display the password reset view for the given token.
130 130
      *
131
-     * @param  string  $token
132 131
      * @return Response
133 132
      */
134 133
     public function getPassword(Request $request)
@@ -147,7 +146,7 @@  discard block
 block discarded – undo
147 146
      * Reset the given user's password.
148 147
      *
149 148
      * @param  Request  $request
150
-     * @return Response
149
+     * @return \Illuminate\Http\RedirectResponse
151 150
      */
152 151
     public function postPassword(Request $request)
153 152
     {
Please login to merge, or discard this patch.
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
 
13 13
 class PasswordController extends Controller {
14 14
 
15
-	/*
15
+    /*
16 16
 	|--------------------------------------------------------------------------
17 17
 	| Password Reset Controller
18 18
 	|--------------------------------------------------------------------------
@@ -182,8 +182,8 @@  discard block
 block discarded – undo
182 182
                 $passwordConfig = app('config')->get('xe.member.password');
183 183
                 $passwordLevel = array_get($passwordConfig['levels'], $passwordConfig['default']);
184 184
                 return redirect()->back()
185
-                                 ->withInput($request->only('email'))
186
-                                 ->with('alert', ['type' => 'danger', 'message' => $passwordLevel['description']]);
185
+                                    ->withInput($request->only('email'))
186
+                                    ->with('alert', ['type' => 'danger', 'message' => $passwordLevel['description']]);
187 187
         }
188 188
     }
189 189
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Illuminate\Contracts\Auth\PasswordBroker;
6 6
 use Illuminate\Http\Request;
7 7
 use Illuminate\Http\Response;
8
-use InvalidArgumentException;
9 8
 use XePresenter;
10 9
 use Session;
11 10
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
 
95 95
         $response = $this->passwords->sendResetLink(
96 96
             $request->only('email'),
97
-            function ($m) {
97
+            function($m) {
98 98
                 $m->subject($this->getEmailSubject());
99 99
             }
100 100
         );
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
             throw new NotFoundHttpException;
137 137
         }
138 138
 
139
-        return XePresenter::make('password', compact('email','token'));
139
+        return XePresenter::make('password', compact('email', 'token'));
140 140
     }
141 141
 
142 142
     /**
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
 
160 160
         $response = $this->passwords->reset(
161 161
             $credentials,
162
-            function ($user, $password) {
162
+            function($user, $password) {
163 163
                 $password = bcrypt($password);
164 164
 
165 165
                 $this->handler->update($user, compact('password'));
Please login to merge, or discard this patch.
app/Http/Controllers/SettingsController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 namespace App\Http\Controllers;
3 3
 
4
-use App\Http\Requests;
5 4
 use Storage;
6 5
 use Xpressengine\Http\Request;
7 6
 use Xpressengine\Menu\MenuRetrieveHandler;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         foreach ($permissionGroups as $tab => &$group) {
91 91
             foreach ($group as $key => &$item) {
92 92
                 $permission = $permissionHandler->find($item['id']);
93
-                if($permission === null) {
93
+                if ($permission === null) {
94 94
                     $permission = $permissionHandler->register($item['id'], new Grant());
95 95
                 }
96 96
                 $item['permission'] = $permission;
Please login to merge, or discard this patch.
app/Providers/SettingsServiceProvider.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
     /**
59 59
      * Get the services provided by the provider.
60 60
      *
61
-     * @return array
61
+     * @return string[]
62 62
      */
63 63
     public function provides()
64 64
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Xpressengine\Settings\SettingsMenuPermission;
7 7
 use Xpressengine\Permission\Factory as PermissionFactory;
8 8
 use Xpressengine\Themes\SettingsTheme;
9
-use Xpressengine\Themes\DefaultSettings;
10 9
 use Xpressengine\UIObjects\Settings\SettingsPermission;
11 10
 
12 11
 class SettingsServiceProvider extends ServiceProvider
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     {
37 37
         $this->app->singleton(
38 38
             'xe.uiobject',
39
-            function ($app) {
39
+            function($app) {
40 40
 
41 41
                 $aliases = $app['config']->get('xe.uiobject.aliases');
42 42
 
Please login to merge, or discard this patch.
app/Sections/SkinSection.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
     /**
31 31
      * makeView
32 32
      *
33
-     * @param $target
34
-     * @param $instanceId
33
+     * @param string $target
34
+     * @param string|null $instanceId
35 35
      * @param $mode
36 36
      *
37 37
      * @return \Illuminate\Contracts\View\View
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         // get skin list
55 55
         $skinList = $skinHandler->getList($target);
56 56
 
57
-        $skins = function ($skinList, $selectedSkin) {
57
+        $skins = function($skinList, $selectedSkin) {
58 58
             yield [
59 59
                 'text' => '선택하세요',
60 60
                 'selected' => false
Please login to merge, or discard this patch.
migrations/MenuMigration.php 3 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -193,6 +193,9 @@
 block discarded – undo
193 193
         $permissionHandler->registerItemPermission($item, new Grant);
194 194
     }
195 195
 
196
+    /**
197
+     * @param string $mainMenu
198
+     */
196 199
     protected function setThemeConfig($mainMenu)
197 200
     {
198 201
         /** @var ThemeHandler $themeHandler */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Xpressengine\Menu\MenuHandler;
7 7
 use Xpressengine\Menu\Models\Menu;
8 8
 use Xpressengine\Menu\Models\MenuItem;
9
-use Xpressengine\Permission\Grant;
10 9
 use Xpressengine\Support\Migration;
11 10
 use Xpressengine\Theme\ThemeHandler;
12 11
 use Xpressengine\Config\ConfigManager;
Please login to merge, or discard this patch.
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function install()
18 18
     {
19
-        Schema::create('menu', function (Blueprint $table) {
19
+        Schema::create('menu', function(Blueprint $table) {
20 20
             $table->engine = "InnoDB";
21 21
 
22 22
             $table->string('id', 8);
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
             $table->primary('id');
29 29
         });
30 30
 
31
-        Schema::create('menu_item', function (Blueprint $table) {
31
+        Schema::create('menu_item', function(Blueprint $table) {
32 32
             $table->engine = "InnoDB";
33 33
 
34 34
             $table->string('id', 8);
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
             $table->primary('id');
47 47
         });
48 48
 
49
-        Schema::create('menu_closure', function (Blueprint $table) {
49
+        Schema::create('menu_closure', function(Blueprint $table) {
50 50
             $table->engine = "InnoDB";
51 51
 
52 52
             $table->increments('id');
@@ -195,8 +195,8 @@  discard block
 block discarded – undo
195 195
     {
196 196
         /** @var ThemeHandler $themeHandler */
197 197
         $themeHandler = app('xe.theme');
198
-        $themeHandler->setThemeConfig('alice', 'mainMenu', $mainMenu );
199
-        $themeHandler->setThemeConfig('alice', 'subMenu', $mainMenu );
198
+        $themeHandler->setThemeConfig('alice', 'mainMenu', $mainMenu);
199
+        $themeHandler->setThemeConfig('alice', 'subMenu', $mainMenu);
200 200
     }
201 201
 
202 202
     /**
Please login to merge, or discard this patch.
resources/FieldTypes/Number.php 3 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -89,8 +89,6 @@
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param ConfigEntity $config
93
-     * @param DynamicFieldHandler $handler
94 92
      * @param array $args
95 93
      * @param array $wheres
96 94
      * @throws \Exception
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Xpressengine\DynamicField\ColumnEntity;
6 6
 use Xpressengine\DynamicField\ColumnDataType;
7 7
 use Xpressengine\Config\ConfigEntity;
8
-use XeRegister;
9 8
 use Xpressengine\DynamicField\DynamicFieldHandler;
10 9
 use Xpressengine\FieldSkins\Number\DefaultSkin;
11 10
 use View;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     public function getSettingsView(ConfigEntity $config = null)
70 70
     {
71
-        return View::make('dynamicField/number/createType', ['config' => $config,])->render();
71
+        return View::make('dynamicField/number/createType', ['config' => $config, ])->render();
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
resources/UIObjects/Menu/Menu.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php namespace Xpressengine\UIObjects\Menu;
2 2
 
3
-use PhpQuery\PhpQuery;
4 3
 use Xpressengine\UIObject\AbstractUIObject;
5 4
 
6 5
 class Menu extends AbstractUIObject
Please login to merge, or discard this patch.
resources/UIObjects/Menu/MenuType.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Xpressengine\UIObjects\Menu;
4 4
 
5
-use PhpQuery\PhpQuery;
6
-use Xpressengine\Menu\MenuEntity;
7
-use ReflectionClass;
8 5
 use Xpressengine\UIObject\AbstractUIObject;
9 6
 
10 7
 /**
Please login to merge, or discard this patch.
resources/UIObjects/Permission/Permission.php 3 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -149,6 +149,10 @@
 block discarded – undo
149 149
     {
150 150
     }
151 151
 
152
+    /**
153
+     * @param string $container
154
+     * @param string $jsonRet
155
+     */
152 156
     protected function loadReactComponent($container, $title, $jsonRet)
153 157
     {
154 158
 
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         $inheritMode = null;
74 74
 
75 75
         $grant = $args['grant'];
76
-         $title = $args['title'];
76
+            $title = $args['title'];
77 77
         if (isset($args['mode'])) {
78 78
             $inheritMode = $args['mode'];
79 79
         }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,8 +114,8 @@
 block discarded – undo
114 114
         $userRepo = app('xe.users');
115 115
 
116 116
         $groups = $groupRepo->findMany($grant['group']);
117
-        $users = $userRepo->findMany($grant['user'], ['id','displayName']);
118
-        $excepts = $userRepo->findMany($grant['except'], ['id','displayName']);
117
+        $users = $userRepo->findMany($grant['user'], ['id', 'displayName']);
118
+        $excepts = $userRepo->findMany($grant['except'], ['id', 'displayName']);
119 119
 
120 120
         $permissionValueArray['rating'] = $grant['rating'];
121 121
         $permissionValueArray['group'] = $groups;
Please login to merge, or discard this patch.