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.
Completed
Push — master ( 524356...3334e9 )
by Ronald
04:08
created
src/Constraint/ConstraintManager.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -115,12 +115,10 @@  discard block
 block discarded – undo
115 115
             if ($start_date >= $new_start_date && $start_date <= $new_end_date) {
116 116
               $new_end_date_clone = clone($new_end_date);
117 117
               $constraint->setStartDate($new_end_date_clone->add(new \DateInterval('P1D')));
118
-            }
119
-            elseif ($end_date >= $new_start_date && $end_date <= $new_end_date) {
118
+            } elseif ($end_date >= $new_start_date && $end_date <= $new_end_date) {
120 119
               $new_start_date_clone = clone($new_start_date);
121 120
               $constraint->setEndDate($new_start_date_clone->sub(new \DateInterval('P1D')));
122
-            }
123
-            elseif ($start_date < $new_start_date && $end_date > $new_end_date) {
121
+            } elseif ($start_date < $new_start_date && $end_date > $new_end_date) {
124 122
               if ($constraint->getEndDate() > $new_start_date) {
125 123
                 $new_start_date_clone = clone($new_start_date);
126 124
                 $constraint->setEndDate($new_start_date_clone->sub(new \DateInterval('P1D')));
@@ -132,8 +130,7 @@  discard block
 block discarded – undo
132 130
                 $split_end_date = $end_date;
133 131
 
134 132
                 $split_constraint = new MinMaxDaysConstraint($constraint->getUnits(), $constraint->getMinDays(), $constraint->getMaxDays(), $split_start_date, $split_end_date, $constraint->getCheckinDay());
135
-              }
136
-              else {
133
+              } else {
137 134
                 $split_start_date = $split_constraint->getStartDate();
138 135
                 $split_end_date = $split_constraint->getEndDate();
139 136
 
Please login to merge, or discard this patch.