More phpstan checks for better code

This commit is contained in:
Jaapio
2026-01-01 22:36:45 +01:00
parent f08359470f
commit 3f6d648d7d
26 changed files with 154 additions and 92 deletions
+3 -2
View File
@@ -108,8 +108,9 @@ class DocBlockTest extends TestCase
public function testDocBlockAllowsOnlyTags(): void
{
$this->expectException('InvalidArgumentException');
$tags = [null];
$fixture = new DocBlock('', null, $tags);
$tags = [null];
// @phpstan-ignore argument.type
new DocBlock('', null, $tags);
}
/**