Skip to content

Commit 8df4766

Browse files
committed
Fix build
1 parent 10ca3d9 commit 8df4766

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
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.8.0"
10+
"phpstan/phpstan": "^1.8.3"
1111
},
1212
"require-dev": {
1313
"beberlei/assert": "^3.3.0",

tests/Type/BeberleiAssert/data/data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function doFoo($a, $b, array $c, iterable $d, $e, $f, $g, $h, $i, $j, $k,
101101
$z = [-1, -2, -3];
102102
}
103103
Assertion::allNotSame($z, -1);
104-
\PHPStan\Testing\assertType('array{1, -2|2, -3|3}', $z);
104+
\PHPStan\Testing\assertType('array{*NEVER*, -2, -3}|array{1, 2, 3}', $z);
105105

106106
Assertion::subclassOf($aa, self::class);
107107
\PHPStan\Testing\assertType('class-string<PHPStan\Type\BeberleiAssert\Foo>|PHPStan\Type\BeberleiAssert\Foo', $aa);

0 commit comments

Comments
 (0)