Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

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 ( 87be4c...109c48 )
by
unknown
09:58
created
Classes/Controller/TableOfContentsController.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
                 }
316 316
             }
317 317
         }
318
-        return $entry['label'] ?: $entry['orderlabel'];
318
+        return $entry['label'] ? : $entry['orderlabel'];
319 319
     }
320 320
 
321 321
     /**
@@ -346,7 +346,7 @@  discard block
 block discarded – undo
346 346
      * @return void
347 347
      */
348 348
     private function sortSubMenu(&$menu) {
349
-        usort($menu[0]['_SUB_MENU'], function ($firstElement, $secondElement) {
349
+        usort($menu[0]['_SUB_MENU'], function($firstElement, $secondElement) {
350 350
             if (!empty($firstElement['orderlabel'])) {
351 351
                 return $firstElement['orderlabel'] <=> $secondElement['orderlabel'];
352 352
             }
Please login to merge, or discard this patch.
Braces   +14 added lines, -7 removed lines patch added patch discarded remove patch
@@ -239,7 +239,8 @@  discard block
 block discarded – undo
239 239
      *
240 240
      * @return void
241 241
      */
242
-    private function getAllLogicalUnits() {
242
+    private function getAllLogicalUnits()
243
+    {
243 244
         if (
244 245
             !empty($this->requestData['page'])
245 246
             && !empty($this->document->getDoc()->physicalStructure)
@@ -265,7 +266,8 @@  discard block
 block discarded – undo
265 266
      *
266 267
      * @return string
267 268
      */
268
-    private function getTranslatedType($type) {
269
+    private function getTranslatedType($type)
270
+    {
269 271
         return Helper::translate($type, 'tx_dlf_structures', $this->settings['storagePid']);
270 272
     }
271 273
 
@@ -285,7 +287,8 @@  discard block
 block discarded – undo
285 287
      *
286 288
      * @return bool
287 289
      */
288
-    private function isMultiElement($type) {
290
+    private function isMultiElement($type)
291
+    {
289 292
         return $type === 'multivolume_work' || $type === 'multipart_manuscript';
290 293
     }
291 294
     /**
@@ -297,7 +300,8 @@  discard block
 block discarded – undo
297 300
      *
298 301
      * @return string
299 302
      */
300
-    private function setTitle($entry) {
303
+    private function setTitle($entry)
304
+    {
301 305
         if (empty($entry['label']) && empty($entry['orderlabel'])) {
302 306
             foreach ($this->settings['titleReplacements'] as $titleReplacement) {
303 307
                 if ($entry['type'] == $titleReplacement['type']) {
@@ -327,7 +331,8 @@  discard block
 block discarded – undo
327 331
      *
328 332
      * @return void
329 333
      */
330
-    private function sortMenu(&$menu) {
334
+    private function sortMenu(&$menu)
335
+    {
331 336
         if ($menu[0]['type'] == $this->getTranslatedType("newspaper")) {
332 337
             $this->sortSubMenu($menu);
333 338
         }
@@ -345,8 +350,10 @@  discard block
 block discarded – undo
345 350
      *
346 351
      * @return void
347 352
      */
348
-    private function sortSubMenu(&$menu) {
349
-        usort($menu[0]['_SUB_MENU'], function ($firstElement, $secondElement) {
353
+    private function sortSubMenu(&$menu)
354
+    {
355
+        usort($menu[0]['_SUB_MENU'], function ($firstElement, $secondElement)
356
+        {
350 357
             if (!empty($firstElement['orderlabel'])) {
351 358
                 return $firstElement['orderlabel'] <=> $secondElement['orderlabel'];
352 359
             }
Please login to merge, or discard this patch.