Skip to content

Commit 71021ab

Browse files
committed
Fixed tests
1 parent a497a38 commit 71021ab

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"require": {
2020
"php": "~7.1",
21-
"phpstan/phpstan": "^0.12",
21+
"phpstan/phpstan": "^0.12.3",
2222
"nikic/php-parser": "^4.0"
2323
},
2424
"require-dev": {

tests/Rules/Doctrine/ORM/EntityRelationRuleTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ public function ruleProvider(): Iterator
3838
yield [
3939
__DIR__ . '/data/EntityWithRelations.php',
4040
[
41-
[
42-
'Property PHPStan\Rules\Doctrine\ORM\EntityWithRelations::$genericCollection type mapping mismatch: property can contain Doctrine\Common\Collections\Collection<PHPStan\Rules\Doctrine\ORM\AnotherEntity> but database expects Doctrine\Common\Collections\Collection&iterable<PHPStan\Rules\Doctrine\ORM\AnotherEntity>.',
43-
59,
44-
],
4541
[
4642
'Property PHPStan\Rules\Doctrine\ORM\EntityWithRelations::$genericCollection4 type mapping mismatch: property can contain Doctrine\Common\Collections\Collection but database expects Doctrine\Common\Collections\Collection&iterable<PHPStan\Rules\Doctrine\ORM\AnotherEntity>.',
4743
77,

0 commit comments

Comments
 (0)