1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Don’t add php tag unnecessarily

This commit is contained in:
Matthew Brown 2020-03-20 19:15:06 -04:00
parent 84bfba04c8
commit 51f92dd1e5

View File

@ -227,7 +227,7 @@ class DocumentationTest extends TestCase
}
$invalid_code_data[$issue_name] = [
'<?php' . "\n" . $blocks[0],
$blocks[0],
$issue_name,
$ignored_issues,
strpos($issue_name, 'Unused') !== false