From 5e2fd8f7a180dd5eaf92973099a68ac487815523 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Mon, 2 Jan 2023 21:00:22 +0100 Subject: [PATCH] Update Larastan baseline --- .github/workflows/integration-tests.yml | 2 +- e2e/integration/larastan-baseline.neon | 21 ++++++++++++++++++++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4f39585afb..06472e35cf 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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 diff --git a/e2e/integration/larastan-baseline.neon b/e2e/integration/larastan-baseline.neon index aab4991158..3edb6e59b7 100644 --- a/e2e/integration/larastan-baseline.neon +++ b/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