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/Document/ConfigHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,7 @@
 block discarded – undo
137 137
     {
138 138
         $config = [
139 139
             'instanceId' => $instanceId,
140
-            'group' => 'documents_' . $instanceId,
140
+            'group' => 'documents_'.$instanceId,
141 141
         ];
142 142
 
143 143
         $config = array_merge($config, $params);
Please login to merge, or discard this patch.
core/src/Xpressengine/ToggleMenu/ToggleMenuHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         // sort
149 149
         $activated = array_merge(array_flip($keys), $activated);
150 150
 
151
-        return array_filter($activated, function ($val) {
151
+        return array_filter($activated, function($val) {
152 152
             return !empty($val);
153 153
         });
154 154
     }
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      */
175 175
     protected function getConfigKey($id, $instanceId)
176 176
     {
177
-        return 'toggleMenu@' . $id . ($instanceId !== null ? '.' . $instanceId : '');
177
+        return 'toggleMenu@'.$id.($instanceId !== null ? '.'.$instanceId : '');
178 178
     }
179 179
 
180 180
     /**
@@ -196,6 +196,6 @@  discard block
 block discarded – undo
196 196
      */
197 197
     private function getTypeKey($id)
198 198
     {
199
-        return $id . PluginRegister::KEY_DELIMITER . 'toggleMenu';
199
+        return $id.PluginRegister::KEY_DELIMITER.'toggleMenu';
200 200
     }
201 201
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Module/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         if (stripos($moduleId, 'module/') !== false) {
40 40
             return $moduleId;
41 41
         } else {
42
-            return 'module/' . $moduleId;
42
+            return 'module/'.$moduleId;
43 43
         }
44 44
     }
45 45
 }
Please login to merge, or discard this patch.
core/src/Xpressengine/Keygen/Keygen.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     public function generate()
102 102
     {
103 103
         $version = $this->getMode();
104
-        $method = 'createIdVersion' . $version;
104
+        $method = 'createIdVersion'.$version;
105 105
 
106 106
         if (!method_exists($this, $method)) {
107 107
             throw new UnknownGeneratorVersionException(['version' => $version]);
Please login to merge, or discard this patch.
core/src/Xpressengine/Interception/Proxy/ProxyTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
         return $invocationHandler->callProxy(
78 78
             $arguments,
79 79
             // 등록된 advisor들이 모두 호출된 다음 마지막에 호출되어 target의 origin method를 실행하는 클로저
80
-            function () use ($method, $isCallMagicMethod) {
80
+            function() use ($method, $isCallMagicMethod) {
81 81
                 $args = func_get_args();
82 82
 
83 83
                 if ($isCallMagicMethod) {
Please login to merge, or discard this patch.
core/src/Xpressengine/Permission/Policy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
      */
142 142
     protected function checker(UserInterface $user, $type, $value)
143 143
     {
144
-        $inspectMethod = $type . 'Inspect';
144
+        $inspectMethod = $type.'Inspect';
145 145
 
146 146
         return $this->$inspectMethod($user, $value);
147 147
     }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         }
180 180
 
181 181
         $groups = $this->vgroups->findByUserId($user->getId());
182
-        $groups = array_map(function ($group) {
182
+        $groups = array_map(function($group) {
183 183
             return $group->id;
184 184
         }, $groups);
185 185
 
Please login to merge, or discard this patch.
core/src/Xpressengine/Permission/PermissionRepository.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             ->first();
69 69
 
70 70
         if ($row !== null) {
71
-            return $this->createItem((array)$row);
71
+            return $this->createItem((array) $row);
72 72
         }
73 73
 
74 74
         return null;
@@ -139,12 +139,12 @@  discard block
 block discarded – undo
139 139
     {
140 140
         $rows = $this->conn->table($this->table)
141 141
             ->where('siteKey', $item->siteKey)
142
-            ->whereRaw("'" . $item->name . "' like concat(`name`, '.', '%')")
142
+            ->whereRaw("'".$item->name."' like concat(`name`, '.', '%')")
143 143
             ->where('name', '<>', $item->name)->get();
144 144
 
145 145
         $items = [];
146 146
         foreach ($rows as $row) {
147
-            $items[] = $this->createItem((array)$row);
147
+            $items[] = $this->createItem((array) $row);
148 148
         }
149 149
 
150 150
         return $items;
@@ -160,12 +160,12 @@  discard block
 block discarded – undo
160 160
     {
161 161
         $rows = $this->conn->table($this->table)
162 162
             ->where('siteKey', $item->siteKey)
163
-            ->where('name', 'like', $item->name . '.%')
163
+            ->where('name', 'like', $item->name.'.%')
164 164
             ->where('name', '<>', $item->name)->get();
165 165
 
166 166
         $items = [];
167 167
         foreach ($rows as $row) {
168
-            $items[] = $this->createItem((array)$row);
168
+            $items[] = $this->createItem((array) $row);
169 169
         }
170 170
 
171 171
         return $items;
@@ -183,9 +183,9 @@  discard block
 block discarded – undo
183 183
     {
184 184
         $query = $this->conn->table($this->table)
185 185
             ->where('siteKey', $item->siteKey)
186
-            ->where(function ($query) use ($item) {
186
+            ->where(function($query) use ($item) {
187 187
                 $query->where('name', $item->name)
188
-                    ->orWhere('name', 'like', $item->name . '.%');
188
+                    ->orWhere('name', 'like', $item->name.'.%');
189 189
             });
190 190
 
191 191
         $arr = explode('.', $item->name);
@@ -212,9 +212,9 @@  discard block
 block discarded – undo
212 212
         if ($to !== null) {
213 213
             $this->conn->table($this->table)
214 214
                 ->where('siteKey', $item->siteKey)
215
-                ->where(function ($query) use ($item) {
215
+                ->where(function($query) use ($item) {
216 216
                     $query->where('name', $item->name)
217
-                        ->orWhere('name', 'like', $item->name . '.%');
217
+                        ->orWhere('name', 'like', $item->name.'.%');
218 218
                 })
219 219
                 ->update(['name' => $this->conn->raw("concat('{$to}', '.', `name`)")]);
220 220
         }
Please login to merge, or discard this patch.
core/src/Xpressengine/Permission/Grant.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
 
134 134
     protected function isAllowType($type)
135 135
     {
136
-        $constName = __CLASS__ . '::' . strtoupper($type) . '_TYPE';
136
+        $constName = __CLASS__.'::'.strtoupper($type).'_TYPE';
137 137
 
138 138
         return defined($constName);
139 139
     }
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
      * Add grant information
61 61
      *
62 62
      * @param string       $action action type
63
-     * @param string|array $type   value type
63
+     * @param string $type   value type
64 64
      * @param mixed        $value  values
65 65
      * @return $this
66 66
      */
Please login to merge, or discard this patch.
core/src/Xpressengine/Plugin/PluginEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -550,7 +550,7 @@
 block discarded – undo
550 550
             $componentsFetched = [];
551 551
             array_walk(
552 552
                 $componentList,
553
-                function ($info, $key) use (&$componentsFetched, $type) {
553
+                function($info, $key) use (&$componentsFetched, $type) {
554 554
                     $componentType = $this->getComponentType($key);
555 555
                     if ($componentType === $type) {
556 556
                         $componentsFetched[$key] = $info;
Please login to merge, or discard this patch.