Skip to content

Commit 5f784e4

Browse files
committed
Require PHPStan 1.10
1 parent 94f5f0f commit 5f784e4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.2 || ^8.0",
10-
"phpstan/phpstan": "^1.9.0"
10+
"phpstan/phpstan": "^1.10"
1111
},
1212
"require-dev": {
1313
"beberlei/assert": "^3.3.0",

tests/Type/BeberleiAssert/ImpossibleCheckTypeMethodCallRuleTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function testExtension(): void
2323
[
2424
'Call to method Assert\AssertionChain::string() will always evaluate to true.',
2525
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%</>.',
2627
],
2728
[
2829
'Call to method Assert\AssertionChain::string() will always evaluate to true.',

0 commit comments

Comments
 (0)