Skip to content

Commit 80004d8

Browse files
committed
Improve compatibility with PHPStan 1.0
1 parent 3692144 commit 80004d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Rules/Doctrine/ORM/EntityColumnRuleTest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function testRule(): void
120120
102,
121121
],
122122
[
123-
'Property PHPStan\Rules\Doctrine\ORM\MyBrokenEntity::$numericString type mapping mismatch: database can contain string but property expects string&numeric.',
123+
'Property PHPStan\Rules\Doctrine\ORM\MyBrokenEntity::$numericString type mapping mismatch: database can contain string but property expects numeric-string.',
124124
126,
125125
],
126126
[
@@ -171,7 +171,7 @@ public function testRuleWithAllowedNullableProperty(): void
171171
72,
172172
],
173173
[
174-
'Property PHPStan\Rules\Doctrine\ORM\MyBrokenEntity::$numericString type mapping mismatch: database can contain string but property expects string&numeric.',
174+
'Property PHPStan\Rules\Doctrine\ORM\MyBrokenEntity::$numericString type mapping mismatch: database can contain string but property expects numeric-string.',
175175
126,
176176
],
177177
[
@@ -257,7 +257,7 @@ public function testCustomType(): void
257257
24,
258258
],
259259
[
260-
'Property PHPStan\Rules\Doctrine\ORM\EntityWithCustomType::$numeric type mapping mismatch: property can contain string but database expects string&numeric.',
260+
'Property PHPStan\Rules\Doctrine\ORM\EntityWithCustomType::$numeric type mapping mismatch: property can contain string but database expects numeric-string.',
261261
30,
262262
],
263263
]);

0 commit comments

Comments
 (0)