Skip to content

Commit d42628c

Browse files
herndlmondrejmirtes
authored andcommitted
Adapt for latest phpstan
1 parent d753a63 commit d42628c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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.6.3"
10+
"phpstan/phpstan": "^1.6.4"
1111
},
1212
"require-dev": {
1313
"nikic/php-parser": "^4.13.0",

tests/Type/WebMozartAssert/data/string.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function lengthBetween(string $a, string $b, string $c, string $d, string
6161
\PHPStan\Testing\assertType('string', $b);
6262

6363
Assert::lengthBetween($c, 1, 0);
64-
\PHPStan\Testing\assertType('non-empty-string', $c); // this looks like a bug or undefined behaviour
64+
\PHPStan\Testing\assertType('*NEVER*', $c);
6565

6666
Assert::lengthBetween($d, 1, 1);
6767
\PHPStan\Testing\assertType('non-empty-string', $d);

0 commit comments

Comments
 (0)