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

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

src/Constraint/MinMaxDaysConstraint.php 1 location

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