Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit e3a8e3e

Browse files
OskarStarkclaude
andcommitted
chore: ignore PHPStan assertIsString warnings in MessageIdTypeTest
These warnings occur because PHPStan knows the return types of the UID methods are already strings, making the assertions redundant from a static analysis perspective. However, these assertions serve as documentation and runtime verification in the tests. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e8d85d8 commit e3a8e3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

phpstan.dist.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ parameters:
1313
-
1414
message: '#no value type specified in iterable type array#'
1515
path: tests/*
16+
-
17+
message: '#Call to static method PHPUnit\\Framework\\Assert::assertIsString\(\) with string will always evaluate to true\.#'
18+
path: tests/Platform/Message/MessageIdTypeTest.php
1619

0 commit comments

Comments
 (0)