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

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