Skip to content

Commit 2f4db0e

Browse files
committed
Fixes
1 parent 4a2e2ef commit 2f4db0e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tests/PHPStan/Rules/Methods/CallMethodsRuleTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2275,6 +2275,10 @@ public function testEnums(): void
22752275

22762276
public function testBug6239(): void
22772277
{
2278+
if (PHP_VERSION_ID < 80000) {
2279+
$this->markTestSkipped('This test needs PHP 8.0');
2280+
}
2281+
22782282
$this->checkThisOnly = false;
22792283
$this->checkNullables = true;
22802284
$this->checkUnionTypes = true;

tests/PHPStan/Rules/TooWideTypehints/data/bug-6158.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php
1+
<?php // lint >= 7.4
22

33
namespace Bug6158;
44

0 commit comments

Comments
 (0)