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 ( 3b0906...f14ab3 )
by Odiseo
04:05 queued 47s
created
src/Controller/ReportController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
 
51 51
         if ($configuration->isHtmlRequest()) {
52 52
             $view
53
-                ->setTemplate($configuration->getTemplate(ResourceActions::SHOW . '.html'))
53
+                ->setTemplate($configuration->getTemplate(ResourceActions::SHOW.'.html'))
54 54
                 ->setTemplateVar($this->metadata->getName())
55 55
                 ->setData([
56 56
                     'configuration' => $configuration,
Please login to merge, or discard this patch.
src/DataFetcher/TimePeriodDataFetcher.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -157,16 +157,16 @@
 block discarded – undo
157 157
         foreach ($datas as $data) {
158 158
             $date = new \DateTime($data[$labels[0]]);
159 159
             $dateFormated = $date->format($configuration['timePeriod']['presentationFormat']);
160
-            $currentDateMedia = isset($datesMedia[$dateFormated])?$datesMedia[$dateFormated]:array('quantity' => 0, 'media' => 0);
161
-            $currentDateMedia['quantity'] = $currentDateMedia['quantity']+1;
162
-            $currentDateMedia['media'] = $currentDateMedia['media']+$data[$labels[1]];
160
+            $currentDateMedia = isset($datesMedia[$dateFormated]) ? $datesMedia[$dateFormated] : array('quantity' => 0, 'media' => 0);
161
+            $currentDateMedia['quantity'] = $currentDateMedia['quantity'] + 1;
162
+            $currentDateMedia['media'] = $currentDateMedia['media'] + $data[$labels[1]];
163 163
             $datesMedia[$dateFormated] = $currentDateMedia;
164 164
         }
165 165
         $fetched = [];
166 166
         foreach ($datesMedia as $date => $dateMedia) {
167 167
             $fetched[] = [
168 168
                 $labels[0] => $date,
169
-                $labels[1] => round($dateMedia['media']/$dateMedia['quantity'], 1)
169
+                $labels[1] => round($dateMedia['media'] / $dateMedia['quantity'], 1)
170 170
             ];
171 171
         }
172 172
         return $fetched;
Please login to merge, or discard this patch.
src/Form/Builder/QueryFilterFormBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -324,7 +324,7 @@
 block discarded – undo
324 324
 
325 325
         /** @var AddressInterface $address */
326 326
         foreach ($addresses as $address) {
327
-            $provinceLabel = isset($provincesLabel[$address->getProvinceCode()])?ucfirst(strtolower($provincesLabel[$address->getProvinceCode()])).', '.$address->getCountryCode():null;
327
+            $provinceLabel = isset($provincesLabel[$address->getProvinceCode()]) ?ucfirst(strtolower($provincesLabel[$address->getProvinceCode()])).', '.$address->getCountryCode() : null;
328 328
 
329 329
             if ($provinceLabel && !in_array($provinceLabel, $choices)) {
330 330
                 $choices[$provinceLabel] = $address->getProvinceCode();
Please login to merge, or discard this patch.