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

feat: phpstan level 5 #446

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open

feat: phpstan level 5 #446

wants to merge 19 commits into from

Conversation

SRWieZ
Copy link
Contributor

@SRWieZ SRWieZ commented Dec 12, 2024

Put the entire project through PHPStan level 5.

  • Found some bugs that are now fixed.
  • I made one change per commit and recommend keeping them, even though I had some trouble understanding one test bench error. 😅
  • One fix is duplicated from Fixes and improvements to powerMonitor #445, but it shouldn't cause any merge issues.
  • I don't know why static analysis won't be applied to this PR.
  • Added a composer qa script to ensure code quality assurance.
  • There is an alternative to 585fb47, but it would involve breaking changes. Unfortunately, asymmetrical visibility has only been available since PHP 8.4.

@SRWieZ SRWieZ marked this pull request as ready for review December 12, 2024 11:15
@SRWieZ
Copy link
Contributor Author

SRWieZ commented Dec 12, 2024

Ready for review!

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