From 8090f663497d7f2a2f26674b06a125768724a0aa Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Tue, 17 Dec 2024 10:18:14 +0100 Subject: [PATCH] [TASK] Allow generating an empty PHPStan baseline We're not there yet, but we want to be prepared for when we are. This follows what we have in our sister project. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4e56d427..5b7f9141 100644 --- a/composer.json +++ b/composer.json @@ -98,7 +98,7 @@ ], "fix:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix bin src tests", "fix:php:rector": "rector --config=config/rector.php", - "phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon" + "phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon --allow-empty-baseline" }, "scripts-descriptions": { "ci": "Runs all dynamic and static code checks.",