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
Pull Request — master (#436)
by Sebastian
04:36
created
Classes/Plugin/Calendar.php 1 patch
Upper-Lower-Casing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         $this->init($conf);
69 69
         // Load current document.
70 70
         $this->loadDocument();
71
-        if ($this->doc === null) {
71
+        if ($this->doc === NULL) {
72 72
             // Quit without doing anything if required variables are not set.
73 73
             return $content;
74 74
         }
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                 $title = $resArray['title'];
106 106
             } else {
107 107
                 $title = !empty($resArray['label']) ? $resArray['label'] : $resArray['orderlabel'];
108
-                if (strtotime($title) !== false) {
108
+                if (strtotime($title) !== FALSE) {
109 109
                     $title = strftime('%x', strtotime($title));
110 110
                 }
111 111
             }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         $calendarIssuesByYear = [];
120 120
         foreach ($issues as $issue) {
121 121
             $dateTimestamp = strtotime($issue['year']);
122
-            if ($dateTimestamp !== false) {
122
+            if ($dateTimestamp !== FALSE) {
123 123
                 $_year = date('Y', $dateTimestamp);
124 124
                 $_month = date('n', $dateTimestamp);
125 125
                 $_day = date('j', $dateTimestamp);
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
             'parameter' => $this->conf['targetPid'],
184 184
             'additionalParams' => '&' . $this->prefixId . '[id]=' . urlencode($this->doc->parentId),
185 185
         ];
186
-        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf);
186
+        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->parentId), $linkConf);
187 187
         // Fill marker array.
188 188
         $markerArray = [
189 189
             '###CALENDARVIEWACTIVE###' => count($this->allIssues) > 5 ? 'active' : '',
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
         $this->init($conf);
334 334
         // Load current document.
335 335
         $this->loadDocument();
336
-        if ($this->doc === null) {
336
+        if ($this->doc === NULL) {
337 337
             // Quit without doing anything if required variables are not set.
338 338
             return $content;
339 339
         }
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
             'parameter' => $this->conf['targetPid'],
393 393
             'additionalParams' => '&' . $this->prefixId . '[id]=' . $this->doc->uid,
394 394
         ];
395
-        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', true) . ' ' . $this->doc->getTitle($this->doc->uid), $linkConf);
395
+        $allYearsLink = $this->cObj->typoLink($this->pi_getLL('allYears', '', TRUE) . ' ' . $this->doc->getTitle($this->doc->uid), $linkConf);
396 396
         // Fill markers.
397 397
         $markerArray = [
398 398
             '###LABEL_CHOOSE_YEAR###' => $this->pi_getLL('label.please_choose_year'),
Please login to merge, or discard this patch.