From 190e5f924a09347f3553efa1492e9ce51565add8 Mon Sep 17 00:00:00 2001 From: Karsten Nowak Date: Mon, 27 Nov 2023 16:29:58 +0100 Subject: [PATCH] [BUGFIX] Add allow empty base line for phpstan check (#1018) Fixes #1003 --- composer.json | 2 +- phpstan-baseline.neon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 192c3b6..d914aa4 100644 --- a/composer.json +++ b/composer.json @@ -178,7 +178,7 @@ ], "fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php", "fix:php:sniff": "phpcbf Classes Configuration Tests", - "phpstan:baseline": ".Build/bin/phpstan --generate-baseline=phpstan-baseline.neon", + "phpstan:baseline": ".Build/bin/phpstan --generate-baseline=phpstan-baseline.neon --allow-empty-baseline", "prepare-release": [ "rm .gitignore", "rm -rf .Build", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 364905f..aab4991 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,2 @@ parameters: - ignoreErrors: + ignoreErrors: []