You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/Type/BeberleiAssert/ImpossibleCheckTypeMethodCallRuleTest.php
+10
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,16 @@ public function testExtension(): void
30
30
16,
31
31
'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%</>.',
32
32
],
33
+
[
34
+
'Call to method Assert\AssertionChain::isJsonString() will always evaluate to true.',
35
+
22,
36
+
'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%</>.',
37
+
],
38
+
[
39
+
'Call to method Assert\AssertionChain::isJsonString() will always evaluate to true.',
40
+
25,
41
+
'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%</>.',
Copy file name to clipboardExpand all lines: tests/Type/BeberleiAssert/ImpossibleCheckTypeStaticMethodCallRuleTest.php
+1
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ public function testExtension(): void
23
23
[
24
24
'Call to static method Assert\Assertion::string() with string will always evaluate to true.',
25
25
12,
26
+
'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%</>.',
26
27
],
27
28
[
28
29
'Call to static method Assert\Assertion::allString() with array<string> will always evaluate to true.',
0 commit comments