Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase phpstan level to 8 with baseline to swallow existing errors #673

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Seldaek
Copy link
Collaborator

@Seldaek Seldaek commented Jul 28, 2021

Closes #661 - this implements it in a different way, instead of a sub-directory with the phpstan binary we just require phpstan in the CI, so it runs there, but can't easily be run locally (well you have to composer require phpstan/phpstan marc-mabe/php-enum-phpstan --dev && git checkout composer.json then you can call vendor/bin/phpstan in your dev env).

It's a compromise situation until legacy php versions are dropped, which probably would be reasonable to do for 6.0 IMO, but another discussion for another day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants