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.

Code Duplication    Length = 6-6 lines in 2 locations

src/Calendar/AbstractCalendar.php 2 locations

@@ 178-183 (lines=6) @@
175
      $events[$unit][Event::BAT_DAY] = $this->itemizeDays($db_events, $itemized, $unit, $keyed_units);
176
177
      // Handle hours
178
      if (isset($itemized[Event::BAT_HOUR])) {
179
        $events[$unit][Event::BAT_HOUR] = $this->itemizeHours($db_events, $itemized, $unit, $keyed_units);
180
      } else {
181
        // No hours - set an empty array
182
        $events[$unit][Event::BAT_HOUR] = array();
183
      }
184
185
      // Handle minutes
186
      if (isset($itemized[Event::BAT_MINUTE])) {
@@ 186-191 (lines=6) @@
183
      }
184
185
      // Handle minutes
186
      if (isset($itemized[Event::BAT_MINUTE])) {
187
        $events[$unit][Event::BAT_MINUTE] = $this->itemizeMinutes($db_events, $itemized, $unit, $keyed_units);
188
      } else {
189
        // No minutes - set an empty array
190
        $events[$unit][Event::BAT_MINUTE] = array();
191
      }
192
193
    }
194