Skip to content

Commit c0efe59

Browse files
committed
Use // lint
1 parent 13c0405 commit c0efe59

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

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

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
<?php
1+
<?php // lint >= 8.0
22

33
namespace Bug8886;
44

55
use PDO;
66
use function PHPStan\Testing\assertType;
77

88
function testPDOStatementGetIterator(): void {
9-
if (PHP_VERSION_ID < 80000) {
10-
echo "Test skipped: PDOStatement::getIterator is only available in PHP 8 and above.";
11-
return;
12-
}
13-
149
$pdo = new PDO('sqlite::memory:');
1510
$stmt = $pdo->query('SELECT 1');
1611

0 commit comments

Comments
 (0)