File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ final public function run(): void
513
513
return ;
514
514
}
515
515
516
- if (!$ this ->shouldRunInSeparateProcess () || ( new Requirements )-> requirementsNotSatisfiedFor ( static ::class, $ this ->name ) !== [] ) {
516
+ if (!$ this ->shouldRunInSeparateProcess () || $ this ->requirementsNotSatisfied () ) {
517
517
(new TestRunner )->run ($ this );
518
518
} else {
519
519
(new TestRunner )->runInSeparateProcess (
@@ -2310,6 +2310,11 @@ private function hasExpectationOnOutput(): bool
2310
2310
return is_string ($ this ->outputExpectedString ) || is_string ($ this ->outputExpectedRegex );
2311
2311
}
2312
2312
2313
+ private function requirementsNotSatisfied (): bool
2314
+ {
2315
+ return (new Requirements )->requirementsNotSatisfiedFor (static ::class, $ this ->name ) !== [];
2316
+ }
2317
+
2313
2318
/**
2314
2319
* Creates a test stub for the specified interface or class.
2315
2320
*
You can’t perform that action at this time.
0 commit comments