Skip to content

Commit d601354

Browse files
authored
[TASK] Allow generating an empty PHPStan baseline (#782)
We're not there yet, but we want to be prepared for when we are. This follows what we have in our sister project.
1 parent 1c1cdda commit d601354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
],
9999
"fix:php:fixer": "\"./.phive/php-cs-fixer\" --config=config/php-cs-fixer.php fix bin src tests",
100100
"fix:php:rector": "rector --config=config/rector.php",
101-
"phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon"
101+
"phpstan:baseline": "phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon --allow-empty-baseline"
102102
},
103103
"scripts-descriptions": {
104104
"ci": "Runs all dynamic and static code checks.",

0 commit comments

Comments
 (0)