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

Add PHPStan to test environment #200

Merged
merged 2 commits into from
Oct 24, 2022
Merged

Add PHPStan to test environment #200

merged 2 commits into from
Oct 24, 2022

Conversation

clue
Copy link
Owner

@clue clue commented Oct 23, 2022

This changeset adds PHPStan to the test environment for all supported PHP versions. This intentionally starts small with level 5 only to avoid most common issues that can be detected with static analysis.

Adding PHPStan for newer PHP versions is relative straight forward, most of the work in this PR went into making sure this works across the entire test matrix. I consider this to be a decent starting point to increase the level and/or introduce a baseline in a follow-up PR in the future.

Refs #199 and phpstan/phpstan#4060

@clue clue requested a review from SimonFrings October 23, 2022 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants