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 ( eb7034...336670 )
by
unknown
10:15
created
core/src/Xpressengine/Config/Repositories/CacheDecorator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@
 block discarded – undo
143 143
      *
144 144
      * @param array|null $arr      previous cache data
145 145
      * @param array      $segments config name parse to array
146
-     * @param mixed      $val      value to be set
146
+     * @param ConfigEntity|null      $val      value to be set
147 147
      * @return array
148 148
      */
149 149
     protected function make($arr, $segments, $val)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
      */
282 282
     public function makeKey($siteKey, $name)
283 283
     {
284
-        return $siteKey . ':' . $name;
284
+        return $siteKey.':'.$name;
285 285
     }
286 286
 
287 287
     /**
@@ -292,6 +292,6 @@  discard block
 block discarded – undo
292 292
      */
293 293
     protected function getCacheKey($head)
294 294
     {
295
-        return $this->prefix . '@' . $head;
295
+        return $this->prefix.'@'.$head;
296 296
     }
297 297
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Config/Repositories/DatabaseRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      * clear all just descendants vars
139 139
      *
140 140
      * @param ConfigEntity $config  config object
141
-     * @param array        $excepts target to the except
141
+     * @param string[]        $excepts target to the except
142 142
      *
143 143
      * @return void
144 144
      */
Please login to merge, or discard this patch.
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         $row = $this->conn->table($this->table)->where('siteKey', $siteKey)->where('name', $name)->first();
66 66
 
67 67
         if ($row !== null) {
68
-            return $this->createModel((array)$row);
68
+            return $this->createModel((array) $row);
69 69
         }
70 70
 
71 71
         return null;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
         $items = [];
90 90
         foreach ($rows as $row) {
91
-            $items[] = $this->createModel((array)$row);
91
+            $items[] = $this->createModel((array) $row);
92 92
         }
93 93
 
94 94
         return $items;
@@ -106,12 +106,12 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $rows = $this->conn->table($this->table)
108 108
             ->where('siteKey', $siteKey)
109
-            ->where('name', 'like', $name . '.%')
109
+            ->where('name', 'like', $name.'.%')
110 110
             ->where('name', '<>', $name)->get();
111 111
 
112 112
         $items = [];
113 113
         foreach ($rows as $row) {
114
-            $items[] = $this->createModel((array)$row);
114
+            $items[] = $this->createModel((array) $row);
115 115
         }
116 116
 
117 117
         return $items;
@@ -146,11 +146,11 @@  discard block
 block discarded – undo
146 146
     {
147 147
         $query = $this->conn->table($this->table)
148 148
             ->where('siteKey', $config->siteKey)
149
-            ->where('name', 'like', $config->name . '%')
149
+            ->where('name', 'like', $config->name.'%')
150 150
             ->where('name', '<>', $config->name);
151 151
 
152 152
         foreach ($excepts as $except) {
153
-            $query->where('name', 'not like', $except . '%');
153
+            $query->where('name', 'not like', $except.'%');
154 154
         }
155 155
 
156 156
         $query->update(
@@ -170,8 +170,8 @@  discard block
 block discarded – undo
170 170
     {
171 171
         $this->conn->table($this->table)
172 172
             ->where('siteKey', $siteKey)
173
-            ->where(function ($query) use ($name) {
174
-                $query->where('name', 'like', $name . '.%')
173
+            ->where(function($query) use ($name) {
174
+                $query->where('name', 'like', $name.'.%')
175 175
                     ->orWhere('name', $name);
176 176
             })->delete();
177 177
     }
@@ -223,9 +223,9 @@  discard block
 block discarded – undo
223 223
     {
224 224
         $query = $this->conn->table($this->table)
225 225
             ->where('siteKey', $config->siteKey)
226
-            ->where(function ($query) use ($config) {
226
+            ->where(function($query) use ($config) {
227 227
                 $query->where('name', $config->name)
228
-                    ->orWhere('name', 'like', $config->name . '.%');
228
+                    ->orWhere('name', 'like', $config->name.'.%');
229 229
             });
230 230
 
231 231
         $arr = explode('.', $config->name);
@@ -252,9 +252,9 @@  discard block
 block discarded – undo
252 252
         if ($to !== null) {
253 253
             $this->conn->table($this->table)
254 254
                 ->where('siteKey', $config->siteKey)
255
-                ->where(function ($query) use ($config) {
255
+                ->where(function($query) use ($config) {
256 256
                     $query->where('name', $config->name)
257
-                        ->orWhere('name', 'like', $config->name . '.%');
257
+                        ->orWhere('name', 'like', $config->name.'.%');
258 258
                 })
259 259
                 ->update(['name' => $this->conn->raw("concat('{$to}', '.', `name`)")]);
260 260
         }
Please login to merge, or discard this patch.
core/src/Xpressengine/Config/Validator.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
      *
151 151
      * @param string      $keyword  match keyword(ex. name, email ..)
152 152
      * @param string      $ruleName rule name(ex. require, min, max ..)
153
-     * @param callable    $target   validate target
153
+     * @param \Closure    $target   validate target
154 154
      * @param string|null $message  rule failure message
155 155
      * @return void
156 156
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     private function extending()
90 90
     {
91
-        $this->factory->extend('has_parent', function ($attribute, $value) {
91
+        $this->factory->extend('has_parent', function($attribute, $value) {
92 92
             if ($attribute == 'object' && $value->getDepth() > 1 && $value->getParent() === null) {
93 93
                 return false;
94 94
             }
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     protected function getRules()
129 129
     {
130 130
         return [
131
-            'name' => 'required|min:' . $this->minNameLength . '|max:' . $this->maxNameLength,
131
+            'name' => 'required|min:'.$this->minNameLength.'|max:'.$this->maxNameLength,
132 132
             'object' => 'has_parent'
133 133
         ];
134 134
     }
Please login to merge, or discard this patch.
core/src/Xpressengine/Database/DatabaseCoupler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
     /**
172 172
      * get list of VirtualConnection
173 173
      *
174
-     * @return array
174
+     * @return VirtualConnectionInterface[]
175 175
      */
176 176
     public function connectors()
177 177
     {
Please login to merge, or discard this patch.
core/src/Xpressengine/Database/ProxyManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
      * create instance if not exists
89 89
      *
90 90
      * @param Container $container register's container
91
-     * @return object
91
+     * @return ProxyManager
92 92
      */
93 93
     public static function instance(Container $container)
94 94
     {
Please login to merge, or discard this patch.
core/src/Xpressengine/Database/TransactionHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
  */
14 14
 namespace Xpressengine\Database;
15 15
 
16
-use Xpressengine\Support\Singleton;
17 16
 use Illuminate\Database\Connection;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
core/src/Xpressengine/Interception/AdvisorList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     /**
73 73
      * 모든 advisor의 목록을 반환한다.
74 74
      *
75
-     * @return \string[]
75
+     * @return string[]
76 76
      */
77 77
     public function getAll()
78 78
     {
Please login to merge, or discard this patch.
core/src/Xpressengine/Interception/InterceptionHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,11 +92,11 @@
 block discarded – undo
92 92
      * 이 함수를 직접 호출하는 대신 intercept() 헬퍼함수를 사용하십시오.
93 93
      *
94 94
      *
95
-     * @param array|string $pointCut    advisor의 point cut을 지정한다. point cut은 [타겟클래스명]@[메소드명] 형태의 string 또는,
95
+     * @param string $pointCut    advisor의 point cut을 지정한다. point cut은 [타겟클래스명]@[메소드명] 형태의 string 또는,
96 96
      *                                  string array 형식을 가진다.
97 97
      *                                  예: 'Document@insertDocument' 또는
98 98
      *                                  ['Document@insertDocument', 'Document@updateDocument']
99
-     * @param array|string $advisorInfo advisor의 이름을 지정한다. 필요한 경우 before, after advisor의 이름을 지정하여 우선순위를 지정할
99
+     * @param string $advisorInfo advisor의 이름을 지정한다. 필요한 경우 before, after advisor의 이름을 지정하여 우선순위를 지정할
100 100
      *                                  수 있다.
101 101
      *                                  예: 'spamfilter.insertDocument' - advisor 이름으로 spamfilter.insertDocument를 지정
102 102
      *                                  ['spamfilter.insertDocument' => 'mailing.insertDocument'] - before advisor로
Please login to merge, or discard this patch.
core/src/Xpressengine/Interception/Proxy/Loader/FileLoader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      *
84 84
      * @param ProxyConfig $config 프록시 설정
85 85
      *
86
-     * @return bool 클래스파일이 존재할 경우 true를 반환한다.
86
+     * @return boolean|null 클래스파일이 존재할 경우 true를 반환한다.
87 87
      */
88 88
     public function existProxyFile(ProxyConfig $config)
89 89
     {
Please login to merge, or discard this patch.