From ad376ec0bb4883b70639ed7780fb218aa273b692 Mon Sep 17 00:00:00 2001 From: Karsten Nowak Date: Mon, 27 Nov 2023 13:06:08 +0100 Subject: [PATCH] [BUGFIX] Add allow empty base line for phpstan check Related: #1003 --- composer.json | 2 +- phpstan-baseline.neon | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 92a0b7dfe..e0eab3721 100644 --- a/composer.json +++ b/composer.json @@ -185,7 +185,7 @@ "@php -r 'is_dir($extFolder=__DIR__.\"/.Build/Web/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'", "@php -r 'file_exists($extFolder=__DIR__.\"/.Build/Web/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'" ], - "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 364905f71..aab499115 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -1,2 +1,2 @@ parameters: - ignoreErrors: + ignoreErrors: []