Skip to content

Commit 11ac410

Browse files
committed
Update Doctrine ORM baseline
1 parent abdbe33 commit 11ac410

File tree

3 files changed

+18
-1
lines changed

3 files changed

+18
-1
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
git clone https://github.com/doctrine/orm.git -b 2.13.1 --depth 1 e2e/integration/repo
158158
cd e2e/integration/repo
159159
composer install
160-
../../../phpstan.phar
160+
../../../phpstan.phar analyse -c ../doctrine-orm.neon
161161
- php-version: 8.1
162162
script: |
163163
git clone https://github.com/doctrine/collections.git e2e/integration/repo
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
parameters:
2+
ignoreErrors:
3+
-
4+
message: "#^Offset 'columns' on array\\{name\\: string, entities\\: array\\{\\}, columns\\: array\\}\\|array\\{name\\: string, entities\\: non\\-empty\\-array, columns\\: array\\} in isset\\(\\) always exists and is not nullable\\.$#"
5+
count: 1
6+
path: repo/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php
7+
8+
-
9+
message: "#^Offset class\\-string on non\\-empty\\-array\\<class\\-string, array\\<string, mixed\\>\\> in isset\\(\\) always exists and is not nullable\\.$#"
10+
count: 1
11+
path: repo/lib/Doctrine/ORM/UnitOfWork.php

e2e/integration/doctrine-orm.neon

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
includes:
2+
- repo/phpstan.neon
3+
- doctrine-orm-baseline.neon
4+
5+
parameters:
6+
reportUnmatchedIgnoredErrors: false

0 commit comments

Comments
 (0)