We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ecacf8 commit 7b69bc5Copy full SHA for 7b69bc5
src/Extension.php
@@ -166,7 +166,11 @@ private function resolveMaximumDuration(string $test): Duration
166
return $this->maximumDuration;
167
}
168
169
-} elseif ($phpUnitVersion->major()->equals(Version\Major::fromInt(10))) {
+
170
+ return;
171
+}
172
173
+if ($phpUnitVersion->major()->equals(Version\Major::fromInt(10))) {
174
/**
175
* @internal
176
*/
@@ -215,9 +219,11 @@ public function bootstrap(
215
219
);
216
220
217
221
218
-} else {
222
223
224
225
226
throw new \RuntimeException(\sprintf(
227
'Unable to select extension for PHPUnit version with version identifier "%s".',
228
Runner\Version::id(),
229
));
-}
0 commit comments