Skip to content

Commit 44b3669

Browse files
committed
Update TypeInferenceTestCase.php
1 parent 312ee8d commit 44b3669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Testing/TypeInferenceTestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ private static function isFileLintSkipped(string $file): bool
474474
if (preg_match('~<?php\\s*\\/\\/\s*lint\s*([^\d\s]+)\s*([^\s]+)\s*~i', $firstLine, $m) === 1) {
475475
return version_compare(PHP_VERSION, $m[2], $m[1]) === false;
476476
} elseif (str_contains($firstLine, 'lint')) {
477-
throw new LogicException(sprintf('// lint comment must immediately follow the php starting tag in %s', $file));
477+
throw new LogicException(sprintf("'// lint' comment must immediately follow the php starting tag in %s on line 1", $file));
478478
}
479479
}
480480

0 commit comments

Comments
 (0)