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/Member/Settings/UserController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         if ($group = $request->get('group')) {
50 50
             $query = $query->whereHas(
51 51
                 'groups',
52
-                function (Builder $q) use ($group) {
52
+                function(Builder $q) use ($group) {
53 53
                     $q->where('groupId', $group);
54 54
                 }
55 55
             );
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
         if ($keyword = $request->get('keyword')) {
69 69
             $query = $query->where(
70
-                function (Builder $q) use ($field, $keyword) {
70
+                function(Builder $q) use ($field, $keyword) {
71 71
                     foreach (explode(',', $field) as $f) {
72 72
                         $q->orWhere($f, 'like', '%'.$keyword.'%');
73 73
                     };
@@ -451,7 +451,7 @@  discard block
 block discarded – undo
451 451
             return XePresenter::makeApi([]);
452 452
         }
453 453
 
454
-        $matchedMemberList = $users->query()->where('displayName', 'like', '%'.$keyword.'%')->paginate( null,
454
+        $matchedMemberList = $users->query()->where('displayName', 'like', '%'.$keyword.'%')->paginate(null,
455 455
             ['id', 'displayName', 'email']
456 456
         )->items();
457 457
 
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/AuthController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@
 block discarded – undo
166 166
 
167 167
         $email = $this->handler->pendingEmails()->findByAddress($address);
168 168
 
169
-        if($email === null) {
169
+        if ($email === null) {
170 170
             // todo: change exception to http exception
171 171
             throw new PendingEmailNotExistsException();
172 172
         }
Please login to merge, or discard this patch.
app/Http/Controllers/ThemeController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
         $type = $request->get('type', 'template');
17 17
 
18 18
         // TODO: validate themeid, fileName
19
-        if($themeId === null) {
19
+        if ($themeId === null) {
20 20
             $e = new InvalidArgumentHttpException();
21 21
             $e->setMessage('잘못된 요청입니다.');
22 22
             throw $e;
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
         /** @var ThemeEntity $theme */
28 28
         $files = $theme->getEditFiles();
29 29
 
30
-        if(empty($files)) {
30
+        if (empty($files)) {
31 31
             return \XePresenter::make(
32 32
                 'theme.edit',
33 33
                 [
Please login to merge, or discard this patch.
app/Http/Controllers/LangController.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@  discard block
 block discarded – undo
26 26
             'lang::admin.editor.saved', 'lang::admin.editor.failed'
27 27
         ]);
28 28
 
29
-        if ( strtolower($namespace) == 'äll' ) {
29
+        if (strtolower($namespace) == 'äll') {
30 30
             $namespace = '';
31 31
         }
32 32
 
33 33
         $conditions = [];
34
-        if ( $namespace ) {
34
+        if ($namespace) {
35 35
             $conditions['namespace'] = $namespace;
36 36
         }
37
-        if ( $keyword ) {
37
+        if ($keyword) {
38 38
             $conditions['value'] = $keyword;
39 39
         }
40 40
 
@@ -91,16 +91,16 @@  discard block
 block discarded – undo
91 91
         $query->orderBy('item', 'asc');
92 92
         $query->orderBy('id', 'desc');
93 93
 
94
-        if ( isset($conditions['namespace']) ) {
94
+        if (isset($conditions['namespace'])) {
95 95
             $query->where('namespace', $conditions['namespace']);
96 96
         }
97
-        if ( isset($conditions['item']) ) {
97
+        if (isset($conditions['item'])) {
98 98
             $query->where('item', $conditions['item']);
99 99
         }
100
-        if ( isset($conditions['locale']) ) {
100
+        if (isset($conditions['locale'])) {
101 101
             $query->where('locale', $conditions['locale']);
102 102
         }
103
-        if ( isset($conditions['value']) ) {
103
+        if (isset($conditions['value'])) {
104 104
             $query->where('value', 'LIKE', '%'.$conditions['value'].'%');
105 105
         }
106 106
 
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 
110 110
     private function withLines(&$searchList)
111 111
     {
112
-        foreach ( $searchList as &$search ) {
112
+        foreach ($searchList as &$search) {
113 113
             $namespace = $search['namespace'];
114 114
             $item = $search['item'];
115 115
             $search['lines'] = $this->search(['namespace' => $namespace, 'item' => $item])->get();
Please login to merge, or discard this patch.
app/Http/Controllers/TemporaryController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
             $temporaries = XeTemporary::get(Input::get('key'));
15 15
 
16 16
             if (!empty($temporaries)) {
17
-                uasort($temporaries, function ($a, $b) {
17
+                uasort($temporaries, function($a, $b) {
18 18
                     if ($a->createdAt == $b->createdAt) {
19 19
                         return 0;
20 20
                     }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
                 $etc = Input::except(['_token', 'key', 'rep']);
34 34
                 $temporary = XeTemporary::set(Input::get('key'), Input::get(Input::get('rep')), $etc);
35 35
             } catch (\Exception $e) {
36
-                echo $e->getMessage() . '|' . $e->getFile() . '|' . $e->getLine();
36
+                echo $e->getMessage().'|'.$e->getFile().'|'.$e->getLine();
37 37
 
38 38
                 throw $e;
39 39
             }
Please login to merge, or discard this patch.
app/Providers/TranslationServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 
16 16
     public function boot()
17 17
     {
18
-        $this->app['validator']->extend('LangRequired', function ($attribute, $value) {
18
+        $this->app['validator']->extend('LangRequired', function($attribute, $value) {
19 19
             $fields = $this->app['request']->all();
20 20
             $protocol = 'xe_lang_preprocessor://';
21 21
             $prefix = null;
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
             }
30 30
 
31 31
             $locale = $this->app['xe.translator']->getLocale();
32
-            $name = $prefix . '/locale/' . $locale;
32
+            $name = $prefix.'/locale/'.$locale;
33 33
             $validator = null;
34 34
 
35 35
             foreach ($fields as $key => $val) {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     public function register()
53 53
     {
54
-        $this->app->singleton('xe.translator', function ($app) {
54
+        $this->app->singleton('xe.translator', function($app) {
55 55
             $debug = $app['config']['app.debug'];
56 56
             $keyGen = $app['xe.keygen'];
57 57
             $cache = new TransCache($app['cache']->driver('lang'), $debug);
Please login to merge, or discard this patch.
app/Providers/MediaServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function register()
64 64
     {
65
-        $this->app->bind('xe.media', function ($app) {
65
+        $this->app->bind('xe.media', function($app) {
66 66
             $config = $app['config']['xe.media'];
67 67
             $proxyClass = $app['xe.interception']->proxy(MediaManager::class, 'XeMedia');
68 68
             $mediaManager = new $proxyClass($app['xe.storage'], new CommandFactory(), $config['thumbnail']);
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             $mediaManager->extend(Media::TYPE_IMAGE, new ImageHandler($app['xe.storage']));
71 71
 
72 72
             $extensionName = isset($config['videoExtensionDefault']) ? $config['videoExtensionDefault'] : 'dummy';
73
-            $method = 'create' . ucfirst($extensionName) . 'Extension';
73
+            $method = 'create'.ucfirst($extensionName).'Extension';
74 74
             if (method_exists($this, $method) !== true) {
75 75
                 throw new \InvalidArgumentException(
76 76
                     sprintf('Unknown extension [%s]', $config['videoExtensionDefault'])
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
     private function registerEvent()
124 124
     {
125
-        intercept('XeStorage@remove', 'media.remove', function ($target, $file) {
125
+        intercept('XeStorage@remove', 'media.remove', function($target, $file) {
126 126
 
127 127
             /** @var MediaManager $manager */
128 128
             $manager = $this->app['xe.media'];
Please login to merge, or discard this patch.
app/Providers/RoutingServiceProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $this->app->singleton(
69 69
             [RouteRepository::class => 'xe.router'],
70
-            function ($app) {
70
+            function($app) {
71 71
                 $repo = new DatabaseRouteRepository($app['config'], InstanceRoute::class);
72 72
 
73 73
                 if (env('APP_DEBUG') != true) {
@@ -130,12 +130,12 @@  discard block
 block discarded – undo
130 130
      */
131 131
     protected function registerSettingsMacro(Router $router)
132 132
     {
133
-        $manageMacro = function ($key, Closure $callback, $routeOptions = null) {
133
+        $manageMacro = function($key, Closure $callback, $routeOptions = null) {
134 134
 
135 135
             $key = str_replace('.', '/', $key);
136 136
 
137 137
             $attributes = [
138
-                'prefix' => config('xe.routing.settingsPrefix') . '/' . $key,
138
+                'prefix' => config('xe.routing.settingsPrefix').'/'.$key,
139 139
                 'middleware' => ['settings']
140 140
             ];
141 141
 
@@ -161,12 +161,12 @@  discard block
 block discarded – undo
161 161
      */
162 162
     protected function registerFixedMacro(Router $router)
163 163
     {
164
-        $fixedMacro = function ($key, Closure $callback, $routeOptions = null) {
164
+        $fixedMacro = function($key, Closure $callback, $routeOptions = null) {
165 165
 
166 166
             $newKey = str_replace('@', '/', $key);
167 167
 
168 168
             $attributes = [
169
-                'prefix' => config('xe.routing.fixedPrefix') . '/' . $newKey
169
+                'prefix' => config('xe.routing.fixedPrefix').'/'.$newKey
170 170
             ];
171 171
 
172 172
             if ($routeOptions !== null and is_array($routeOptions)) {
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
     protected function registerInstanceMacro(Router $router)
193 193
     {
194 194
         static $seq = 1;
195
-        $instanceMacro = function ($key, Closure $callback, $routeOptions = null) use (&$seq) {
195
+        $instanceMacro = function($key, Closure $callback, $routeOptions = null) use (&$seq) {
196 196
 
197 197
             $pattern = '{instanceGroup'.$seq++.'}';
198 198
             $attributes = [
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                 $attributes = array_merge($attributes, $routeOptions);
207 207
 
208 208
                 if (isset($routeOptions['middleware'])) {
209
-                    $attributes['middleware'] .= '|' . $routeOptions['middleware'];
209
+                    $attributes['middleware'] .= '|'.$routeOptions['middleware'];
210 210
                 }
211 211
             }
212 212
 
Please login to merge, or discard this patch.
migrations/TranslationMigration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@
 block discarded – undo
10 10
 
11 11
     public function install()
12 12
     {
13
-        Schema::create('translation', function (Blueprint $table) {
13
+        Schema::create('translation', function(Blueprint $table) {
14 14
             $table->engine = "InnoDB";
15 15
             
16 16
             $table->increments('id');
Please login to merge, or discard this patch.