File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,8 @@ public function testAnnotationListenerWithResource($loader): void
133133 }
134134
135135 /**
136+ * @requires PHP >= 8.0
137+ *
136138 * @dataProvider provideAnnotationLoader
137139 * @runInSeparateProcess
138140 */
@@ -176,16 +178,13 @@ public function testAnnotationLoaderWithFunction(): void
176178 }
177179
178180 /**
181+ * @requires PHP < 8.0
179182 * @runInSeparateProcess
180183 */
181184 public function testSettingConstructorNullInPhp7 (): void
182185 {
183- if (PHP_VERSION_ID >= 80000 ) {
184- $ this ->markTestSkipped ();
185- }
186-
187186 $ this ->expectException (\RuntimeException::class);
188- $ annotation = new AnnotationLoader ();
187+ new AnnotationLoader ();
189188 }
190189
191190 public function provideAnnotationLoader (): array
You can’t perform that action at this time.
0 commit comments