Skip to content

Commit

Permalink
Update Doctrine ORM baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Sep 3, 2022
1 parent abdbe33 commit 11ac410
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ jobs:
git clone https://github.com/doctrine/orm.git -b 2.13.1 --depth 1 e2e/integration/repo
cd e2e/integration/repo
composer install
../../../phpstan.phar
../../../phpstan.phar analyse -c ../doctrine-orm.neon
- php-version: 8.1
script: |
git clone https://github.com/doctrine/collections.git e2e/integration/repo
Expand Down
11 changes: 11 additions & 0 deletions e2e/integration/doctrine-orm-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
parameters:
ignoreErrors:
-
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\\.$#"
count: 1
path: repo/lib/Doctrine/ORM/Query/ResultSetMappingBuilder.php

-
message: "#^Offset class\\-string on non\\-empty\\-array\\<class\\-string, array\\<string, mixed\\>\\> in isset\\(\\) always exists and is not nullable\\.$#"
count: 1
path: repo/lib/Doctrine/ORM/UnitOfWork.php
6 changes: 6 additions & 0 deletions e2e/integration/doctrine-orm.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
includes:
- repo/phpstan.neon
- doctrine-orm-baseline.neon

parameters:
reportUnmatchedIgnoredErrors: false

0 comments on commit 11ac410

Please sign in to comment.