Skip to content

Commit

Permalink
Update Larastan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jan 2, 2023
1 parent 2de8458 commit 5e2fd8f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Expand Up @@ -176,7 +176,7 @@ jobs:
script: |
git clone https://github.com/nunomaduro/larastan.git e2e/integration/repo
cd e2e/integration/repo
git checkout 1a11021385b8d79dfb5f5c5a24ba1e82521a7fac
git checkout 32ad25904dc8fbfdae4d4e431a27ba3bad2979cc
composer install
cp ../../../phpstan.phar vendor/phpstan/phpstan/phpstan.phar
cp ../../../phpstan vendor/phpstan/phpstan/phpstan
Expand Down
21 changes: 20 additions & 1 deletion e2e/integration/larastan-baseline.neon
@@ -1,2 +1,21 @@
parameters:
ignoreErrors: []
ignoreErrors:
-
message: "#^Cannot access property \\$table on PhpMyAdmin\\\\SqlParser\\\\Components\\\\Expression\\|null\\.$#"
count: 3
path: repo/src/Properties/SquashedMigrationHelper.php

-
message: "#^Cannot call method has\\(\\) on PhpMyAdmin\\\\SqlParser\\\\Components\\\\OptionsArray\\|null\\.$#"
count: 1
path: repo/src/Properties/SquashedMigrationHelper.php

-
message: "#^Parameter \\#1 \\$key of function array_key_exists expects int\\|string, string\\|null given\\.$#"
count: 1
path: repo/src/Properties/SquashedMigrationHelper.php

-
message: "#^Parameter \\#1 \\$name of class NunoMaduro\\\\Larastan\\\\Properties\\\\SchemaTable constructor expects string, string\\|null given\\.$#"
count: 1
path: repo/src/Properties/SquashedMigrationHelper.php

0 comments on commit 5e2fd8f

Please sign in to comment.