Skip to content

Commit d5347bd

Browse files
Fix 7.4 tests
1 parent e0c4844 commit d5347bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/PHPStan/Analyser/nsrt/bug-13365.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?php declare(strict_types = 1);
1+
<?php declare(strict_types = 1); // lint >= 8.0
22

33
namespace Bug13365;
44

tests/PHPStan/Rules/Methods/CallToStaticMethodStatementWithoutSideEffectsRuleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ public function testFirstClassCallables(): void
101101
]);
102102
}
103103

104+
#[RequiresPhp('>= 8.0')]
104105
public function testBug10819(): void
105106
{
106107
$this->analyse([__DIR__ . '/data/bug-10819.php'], []);

0 commit comments

Comments
 (0)