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 ( 46f6a0...4503bb )
by Ronald
02:31
created
src/Event/EventItemizer.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -134,10 +134,10 @@  discard block
 block discarded – undo
134 134
     $start = TRUE;
135 135
 
136 136
     // Cycle through each month
137
-    foreach($daterange as $date) {
137
+    foreach ($daterange as $date) {
138 138
 
139 139
       // Check if we have
140
-      if  (($date->format('Y-n') != $old_month) || ($start)) {
140
+      if (($date->format('Y-n') != $old_month) || ($start)) {
141 141
 
142 142
         $year = $date->format("Y");
143 143
         $dayinterval = new \DateInterval('P1D');
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
       }
232 232
 
233 233
       // Deal with the end date unless it ends just before midnight at which point we don't need to go further
234
-      if ($this->event->getEndDate()->format('H:i') == '23:59' ) {
234
+      if ($this->event->getEndDate()->format('H:i') == '23:59') {
235 235
         $itemized[EventItemizer::BAT_HOUR][$ey][$em]['d' . $ed] = array();
236 236
         $itemized[EventItemizer::BAT_MINUTE][$ey][$em]['d' . $ed] = array();
237 237
       } else {
@@ -259,14 +259,14 @@  discard block
 block discarded – undo
259 259
 
260 260
     $counter = (int)$period_start->format('i');
261 261
     $start_minute = $counter;
262
-    foreach($period as $minute) {
262
+    foreach ($period as $minute) {
263 263
       // Doing minutes so set the values in the minute array
264
-      $itemized[EventItemizer::BAT_MINUTE][$minute->format('Y')][$minute->format('n')]['d'. $minute->format('j')]['h'. $minute->format('G')]['m' .$minute->format('i')] = $this->event->getValue();
264
+      $itemized[EventItemizer::BAT_MINUTE][$minute->format('Y')][$minute->format('n')]['d' . $minute->format('j')]['h' . $minute->format('G')]['m' . $minute->format('i')] = $this->event->getValue();
265 265
       // Let the hours know that it cannot determine availability
266
-      $itemized[EventItemizer::BAT_HOUR][$minute->format('Y')][$minute->format('n')]['d'. $minute->format('j')]['h'. $minute->format('G')] = -1;
266
+      $itemized[EventItemizer::BAT_HOUR][$minute->format('Y')][$minute->format('n')]['d' . $minute->format('j')]['h' . $minute->format('G')] = -1;
267 267
       $counter++;
268 268
 
269
-      if ($counter == 60 && $start_minute!==0) {
269
+      if ($counter == 60 && $start_minute !== 0) {
270 270
         // Not a real hour - leave as is and move on
271 271
         $counter = 0;
272 272
         $start_minute = 0;
@@ -275,7 +275,7 @@  discard block
 block discarded – undo
275 275
         // Did a real whole hour so initialize the hour
276 276
         $itemized[EventItemizer::BAT_HOUR][$minute->format('Y')][$minute->format('n')]['d' . $minute->format('j')]['h' . $minute->format('G')] = $this->event->getValue();
277 277
         // We have a whole hour so get rid of the minute info
278
-        unset($itemized[EventItemizer::BAT_MINUTE][$minute->format('Y')][$minute->format('n')]['d'. $minute->format('j')]['h'. $minute->format('G')]);
278
+        unset($itemized[EventItemizer::BAT_MINUTE][$minute->format('Y')][$minute->format('n')]['d' . $minute->format('j')]['h' . $minute->format('G')]);
279 279
         $counter = 0;
280 280
         $start_minute = 0;
281 281
       }
Please login to merge, or discard this patch.