mirror of
https://github.com/antonioribeiro/google2fa.git
synced 2026-04-25 16:15:49 +03:00
[PR #217] [MERGED] Psalm & PHPStan strict rules #456
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/google2fa#456
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/antonioribeiro/google2fa/pull/217
Author: @spaze
Created: 10/13/2024
Status: ✅ Merged
Merged: 10/14/2024
Merged by: @antonioribeiro
Base:
9.x← Head:spaze/psalm📝 Commits (3)
08f3c23Add phpstan/phpstan-strict-rulesbc49457Fix strict rules errors07a92b3Analyze code with Psalm as well📊 Changes
9 files changed (+132 additions, -103 deletions)
View changed files
📝
.github/workflows/run-tests.yml(+3 -0)📝
composer.json(+3 -1)📝
phpstan.neon(+1 -0)➕
psalm.xml(+17 -0)📝
src/Google2FA.php(+1 -1)📝
src/Support/Base32.php(+1 -1)📝
tests/Google2FATest.php(+97 -96)📝
tests/QRCodeTest.php(+2 -1)📝
tests/tools/analyse.sh(+7 -3)📄 Description
Added Psalm and PHPStan strict rules.
Psalm: No errors on level 1 (the highest level for Psalm) and "Psalm was able to infer types for 100% of the codebase", not bad!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.