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

src/Constraint/CheckInDayConstraint.php 1 location

@@ 88-90 (lines=3) @@
85
    if ($this->start_date !== NULL && $this->start_date != (new \DateTime('1970-01-01'))) {
86
      $start_date = $this->start_date->format('Y-m-d');
87
    }
88
    if ($this->end_date !== NULL && $this->end_date != (new \DateTime('2999-12-31'))) {
89
      $end_date = $this->end_date->format('Y-m-d');
90
    }
91
92
    // Finally, build out the constraint text string adding components
93
    // as necessary.

src/Constraint/MinMaxDaysConstraint.php 1 location

@@ 123-125 (lines=3) @@
120
    if ($this->start_date !== NULL && $this->start_date != (new \DateTime('1970-01-01'))) {
121
      $start_date = $this->start_date->format('Y-m-d');
122
    }
123
    if ($this->end_date !== NULL && $this->end_date != (new \DateTime('2999-12-31'))) {
124
      $end_date = $this->end_date->format('Y-m-d');
125
    }
126
127
    // Next create replacement placeholders to be used in t() below.
128
    $args = array(