Closed pscheit closed 2 months ago
You started at level 1 and you are constantly moving up levels. But imho its better to baseline everything. Here is reasoning from the author of phpstan: https://phpstan.org/blog/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard
in a nutshell: chew on the baseline, let new code only pass level 9, so that you dont create static bugs.
run phpstan, should be green
needs https://github.com/storyblok/storyblok-php-client/pull/96 to be merged and a rebase
You started at level 1 and you are constantly moving up levels. But imho its better to baseline everything. Here is reasoning from the author of phpstan: https://phpstan.org/blog/phpstans-baseline-feature-lets-you-hold-new-code-to-a-higher-standard
in a nutshell: chew on the baseline, let new code only pass level 9, so that you dont create static bugs.
Pull request type
How to test this PR
run phpstan, should be green
What is the new behavior?