There was an error while loading. Please reload this page.
1 parent 9f12f0f commit 6284d4eCopy full SHA for 6284d4e
tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php
@@ -2361,6 +2361,10 @@ public function testBug6236(): void
2361
2362
public function testBug6118(): void
2363
{
2364
+if (PHP_VERSION_ID < 80000) {
2365
+$this->markTestSkipped('Test requires PHP 8.0');
2366
+}
2367
+
2368
$this->checkThisOnly = false;
2369
$this->checkNullables = true;
2370
$this->checkUnionTypes = true;
tests/PHPStan/Rules/Methods/data/bug-6118.php
@@ -1,4 +1,4 @@
1
-<?php
+<?php // lint >= 8.0
2
3
namespace Bug6118;
4
0 commit comments