Skip to content

Commit 360bfd2

Browse files
committed
Compatibility with the latest PHPStan
1 parent afaf96d commit 360bfd2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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.1 || ^8.0",
10-
"phpstan/phpstan": "^0.12.24"
10+
"phpstan/phpstan": "^0.12.40"
1111
},
1212
"require-dev": {
1313
"consistence/coding-standard": "^3.7",

tests/Type/WebMozartAssert/AssertTypeSpecifyingExtensionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public function testExtension(): void
5757
30,
5858
],
5959
[
60-
'Variable $g is: float|int|string',
60+
'Variable $g is: float|int|(string&numeric)',
6161
33,
6262
],
6363
[
@@ -153,7 +153,7 @@ public function testExtension(): void
153153
116,
154154
],
155155
[
156-
'Variable $ad is: int|string',
156+
'Variable $ad is: int|(string&numeric)',
157157
119,
158158
],
159159
[

0 commit comments

Comments
 (0)