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 = 11-11 lines in 2 locations

src/Store/JsonStore.php 2 locations

@@ 100-110 (lines=11) @@
97
    }
98
99
    // With the day events taken care off let's cycle through hours
100
    foreach ($hourfile as $unit_id => $row) {
101
      foreach ($row as $year => $row2) {
102
        foreach ($row2 as $month => $row3) {
103
          foreach ($row3 as $day => $row4) {
104
            foreach ($row4 as $hour => $value) {
105
              $events[$unit_id][Event::BAT_HOUR][$year][$month][$day][$hour] = $value;
106
            }
107
          }
108
        }
109
      }
110
    }
111
112
    // With the hour events taken care off let's cycle through minutes
113
    foreach ($hourfile as $unit_id => $row) {
@@ 114-124 (lines=11) @@
111
112
    // With the hour events taken care off let's cycle through minutes
113
    foreach ($hourfile as $unit_id => $row) {
114
      foreach ($row as $year => $row2) {
115
        foreach ($row2 as $month => $row3) {
116
          foreach ($row3 as $day => $row4) {
117
            foreach ($row4 as $hour => $row5) {
118
              foreach ((array)$row5 as $min => $value) {
119
                $events[$unit_id][Event::BAT_MINUTE][$year][$month][$day][$hour][$min] = $value;
120
              }
121
            }
122
          }
123
        }
124
      }
125
    }
126
127
    return $events;