Skip to content

Commit 8b969c7

Browse files
committed
Lint bug-10315 test data only on PHP 8.1+
Amp-Thread-ID: https://ampcode.com/threads/T-01a1c0a4-c0b0-70ce-8c0d-0b905dea24c8
1 parent b1b4b79 commit 8b969c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎tests/PHPStan/Rules/Exceptions/data/bug-10315.php‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1);
1+
<?php // lint >= 8.1
2+
3+
declare(strict_types = 1);
24

35
namespace Bug10315;
46

0 commit comments

Comments
 (0)