[PR #223] [MERGED] Reformat the whole codebase using Prettier, add tests dir to psalm an… #461

Closed
opened 2026-03-01 17:49:46 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/antonioribeiro/google2fa/pull/223
Author: @antonioribeiro
Created: 10/20/2024
Status: Merged
Merged: 10/20/2024
Merged by: @antonioribeiro

Base: 9.xHead: reformat-code


📝 Commits (1)

  • 6dc34e5 Reformat the whole codebase using Prettier, add tests dir to psalm and make tests pass

📊 Changes

26 files changed (+277 additions, -840 deletions)

View changed files

📝 .prettierrc.yaml (+1 -0)
📝 package.json (+2 -0)
📝 psalm.xml (+22 -0)
📝 src/Exceptions/Contracts/Google2FA.php (+2 -1)
📝 src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php (+2 -1)
📝 src/Exceptions/Contracts/InvalidAlgorithm.php (+2 -1)
📝 src/Exceptions/Contracts/InvalidCharacters.php (+2 -1)
📝 src/Exceptions/Contracts/InvalidHash.php (+2 -1)
📝 src/Exceptions/Contracts/SecretKeyTooShort.php (+2 -1)
📝 src/Exceptions/Google2FAException.php (+2 -1)
📝 src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php (+5 -2)
📝 src/Exceptions/InvalidAlgorithmException.php (+5 -2)
📝 src/Exceptions/InvalidCharactersException.php (+5 -2)
📝 src/Exceptions/InvalidHashException.php (+6 -3)
📝 src/Exceptions/SecretKeyTooShortException.php (+5 -2)
📝 src/Google2FA.php (+41 -93)
📝 src/Support/Base32.php (+25 -55)
📝 src/Support/Constants.php (+7 -6)
📝 src/Support/QRCode.php (+18 -21)
📝 tests/Constants.php (+7 -6)

...and 6 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/antonioribeiro/google2fa/pull/223 **Author:** [@antonioribeiro](https://github.com/antonioribeiro) **Created:** 10/20/2024 **Status:** ✅ Merged **Merged:** 10/20/2024 **Merged by:** [@antonioribeiro](https://github.com/antonioribeiro) **Base:** `9.x` ← **Head:** `reformat-code` --- ### 📝 Commits (1) - [`6dc34e5`](https://github.com/antonioribeiro/google2fa/commit/6dc34e542532a7f4e4a96250c60d8f878fa6e7db) Reformat the whole codebase using Prettier, add tests dir to psalm and make tests pass ### 📊 Changes **26 files changed** (+277 additions, -840 deletions) <details> <summary>View changed files</summary> 📝 `.prettierrc.yaml` (+1 -0) 📝 `package.json` (+2 -0) 📝 `psalm.xml` (+22 -0) 📝 `src/Exceptions/Contracts/Google2FA.php` (+2 -1) 📝 `src/Exceptions/Contracts/IncompatibleWithGoogleAuthenticator.php` (+2 -1) 📝 `src/Exceptions/Contracts/InvalidAlgorithm.php` (+2 -1) 📝 `src/Exceptions/Contracts/InvalidCharacters.php` (+2 -1) 📝 `src/Exceptions/Contracts/InvalidHash.php` (+2 -1) 📝 `src/Exceptions/Contracts/SecretKeyTooShort.php` (+2 -1) 📝 `src/Exceptions/Google2FAException.php` (+2 -1) 📝 `src/Exceptions/IncompatibleWithGoogleAuthenticatorException.php` (+5 -2) 📝 `src/Exceptions/InvalidAlgorithmException.php` (+5 -2) 📝 `src/Exceptions/InvalidCharactersException.php` (+5 -2) 📝 `src/Exceptions/InvalidHashException.php` (+6 -3) 📝 `src/Exceptions/SecretKeyTooShortException.php` (+5 -2) 📝 `src/Google2FA.php` (+41 -93) 📝 `src/Support/Base32.php` (+25 -55) 📝 `src/Support/Constants.php` (+7 -6) 📝 `src/Support/QRCode.php` (+18 -21) 📝 `tests/Constants.php` (+7 -6) _...and 6 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 17:49:46 +03:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/google2fa#461
No description provided.