Skip to content

Commit 21f53ce

Browse files
committed
Fix build
1 parent f06c4a2 commit 21f53ce

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tests/PHPStan/Analyser/AnalyserIntegrationTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,7 @@ public function testBug9994(): void
13381338
$this->assertSame('Parameter #2 $callback of function array_filter expects (callable(1|2|3|null): bool)|null, false given.', $errors[1]->getMessage());
13391339
}
13401340

1341+
#[RequiresPhp('>= 8.1')]
13411342
public function testBug13987(): void
13421343
{
13431344
$errors = $this->runAnalyse(__DIR__ . '/data/bug-13987.php');

tests/PHPStan/Analyser/data/bug-13987.php

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

33
namespace Bug13987;
44

0 commit comments

Comments
 (0)