Skip to content

Commit

Permalink
Fix Nextras ORM integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed May 12, 2021
1 parent 8aec282 commit 1d40ecb
Show file tree
Hide file tree
Showing 3 changed files with 16 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 @@ -70,7 +70,7 @@ jobs:
cd e2e/integration/repo
git checkout 97e9e89ef3baf39a526bc5f098923293e21d9d86
composer install
../../../phpstan.phar analyse -c .phpstan.neon
../../../phpstan.phar analyse -c ../nextras-orm.neon
steps:
- name: "Checkout"
Expand Down
12 changes: 12 additions & 0 deletions e2e/integration/nextras-orm-baseline.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
parameters:
ignoreErrors:
-
message: "#^Call to function assert\\(\\) with true will always evaluate to true\\.$#"
count: 1
path: repo/src/Collection/Helpers/ArrayCollectionHelper.php

-
message: "#^Strict comparison using \\!\\=\\= between array\\(Nextras\\\\Orm\\\\Entity\\\\IEntity, array\\<string\\>, Nextras\\\\Orm\\\\Entity\\\\Reflection\\\\EntityMetadata\\) and null will always evaluate to true\\.$#"
count: 1
path: repo/src/Collection/Helpers/ArrayCollectionHelper.php

3 changes: 3 additions & 0 deletions e2e/integration/nextras-orm.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
includes:
- repo/.phpstan.neon
- nextras-orm-baseline.neon

0 comments on commit 1d40ecb

Please sign in to comment.