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

PHPStan level 10 part II #446

Merged
merged 9 commits into from
Dec 19, 2024
Merged

PHPStan level 10 part II #446

merged 9 commits into from
Dec 19, 2024

Conversation

spaze
Copy link
Owner

@spaze spaze commented Dec 19, 2024

A few weeks and +10% test coverage later...

Bring the rest of the code to PHPStan level 10 (follow-up to #443). The level is bumped back to max in this PR.

Several bugs were found and taken care of during the effort, mostly because I've added more tests, but without the effort of going to level 10, I would have written no additional tests because why 😅

…, not just a list

The list incorrectly introduced in cfa6cab (#179)

Discovered by trying to get to PHPStan Level 10 (and by writing tests).
I don't think it ever worked but now it's fixed thanks to the PHPStan Level 10 effort (and tests).
PR'd phpstan/phpstan-nette#166 and this can be removed once the PR is merged and deployed.
A few weeks and +10% test coverage later.
@spaze spaze self-assigned this Dec 19, 2024
@spaze spaze mentioned this pull request Dec 19, 2024
@spaze spaze merged commit f13af02 into main Dec 19, 2024
59 checks passed
@spaze spaze deleted the spaze/phpstan-level-10-part-2 branch December 19, 2024 03:56
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.

1 participant