Skip to content

Commit 7024c2f

Browse files
committed
Fix tests
1 parent 94699e8 commit 7024c2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/Type/WebMozartAssert/ImpossibleCheckTypeMethodCallRuleTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@ public function testExtension(): void
4747
[
4848
'Call to static method Webmozart\Assert\Assert::stringNotEmpty() with null will always evaluate to false.',
4949
41,
50+
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
5051
],
5152
[
5253
'Call to static method Webmozart\Assert\Assert::stringNotEmpty() with non-empty-string will always evaluate to true.',
5354
44,
55+
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
5456
],
5557
[
5658
'Call to static method Webmozart\Assert\Assert::stringNotEmpty() with non-empty-string will always evaluate to true.',
@@ -60,6 +62,7 @@ public function testExtension(): void
6062
[
6163
'Call to static method Webmozart\Assert\Assert::nullOrStringNotEmpty() with non-empty-string will always evaluate to true.',
6264
49,
65+
'Because the type is coming from a PHPDoc, you can turn off this check by setting <fg=cyan>treatPhpDocTypesAsCertain: false</> in your <fg=cyan>%configurationFile%</>.',
6366
],
6467
[
6568
'Call to static method Webmozart\Assert\Assert::nullOrStringNotEmpty() with non-empty-string|null will always evaluate to true.',

0 commit comments

Comments
 (0)