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

src/Constraint/CheckInDayConstraint.php 1 location

@@ 120-132 (lines=13) @@
117
   * @param $day
118
   * @return string
119
   */
120
  private function getWeekDay($day) {
121
    $weekdays = array(
122
      1 => 'Monday',
123
      2 => 'Tuesday',
124
      3 => 'Wednesday',
125
      4 => 'Thursday',
126
      5 => 'Friday',
127
      6 => 'Saturday',
128
      7 => 'Sunday',
129
    );
130
131
    return isset($weekdays[$day]) ? $weekdays[$day] : '';
132
  }
133
134
}
135

src/Constraint/MinMaxDaysConstraint.php 1 location

@@ 180-192 (lines=13) @@
177
   * @param $day
178
   * @return string
179
   */
180
  private function getWeekDay($day) {
181
    $weekdays = array(
182
      1 => 'Monday',
183
      2 => 'Tuesday',
184
      3 => 'Wednesday',
185
      4 => 'Thursday',
186
      5 => 'Friday',
187
      6 => 'Saturday',
188
      7 => 'Sunday',
189
    );
190
191
    return isset($weekdays[$day]) ? $weekdays[$day] : '';
192
  }
193
194
}
195