Repository navigation
style: apply pint - #52
Merged
Merged
Conversation
Formatting only, no behavioural change. These violations accumulated on main because CI triggers on pull_request, so nothing re-runs Pint after a merge - they surfaced as red checks on unrelated dependency PRs.
There was a problem hiding this comment.
Pull request overview
This PR applies Pint-driven formatting across the AuthKit package code, workbench, configuration, migrations, routes, and test suite to eliminate accumulated style violations without intended behavioral changes.
Changes:
- Normalized
useimport ordering, simplified some fully-qualified type hints via imports, and standardized concatenation spacing. - Reformatted arrays (alignment/spacing) and docblocks to match Pint conventions across
src/,tests/, andworkbench/.
Reviewed changes
Copilot reviewed 58 out of 65 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| workbench/database/factories/UserFactory.php | Import ordering and array alignment formatting. |
| workbench/app/Models/User.php | Import ordering and casts array formatting. |
| tests/TestCase.php | Import normalization and consistent config/migration path concatenation formatting. |
| tests/Pest.php | Import ordering formatting. |
| tests/Feature/UpdateUserProfileInformationTest.php | Import ordering and array alignment formatting in tests. |
| tests/Feature/UpdateUserPasswordTest.php | Import ordering and array alignment formatting in tests. |
| tests/Feature/TurnstileTest.php | Import ordering formatting. |
| tests/Feature/ResetUserPasswordTest.php | Import ordering, facade import usage, and array alignment formatting. |
| tests/Feature/ProviderLayoutTest.php | Concatenation spacing formatting. |
| tests/Feature/PasswordResetLinkControllerTest.php | Import ordering formatting. |
| tests/Feature/PasskeyTest.php | Import ordering, concatenation spacing, and array alignment formatting. |
| tests/Feature/LogoutUserTest.php | Import ordering formatting. |
| tests/Feature/LoginUserTest.php | Import ordering formatting. |
| tests/Feature/IssueTokenForUserTest.php | Import ordering formatting. |
| tests/Feature/IdentityProviderRegistryTest.php | Import ordering formatting. |
| tests/Feature/FindUserByEmailTest.php | Import ordering formatting. |
| tests/Feature/CreateNewUserTest.php | Import ordering and array alignment formatting. |
| tests/Feature/CheckEmailExistsTest.php | Import ordering formatting. |
| tests/Feature/BrowserSessionsTest.php | Import ordering and array alignment formatting. |
| tests/Feature/AttemptEmailPasswordLoginTest.php | Import ordering and array alignment formatting. |
| src/Support/UserModelResolver.php | Import ordering formatting. |
| src/Support/IdentityProvider.php | Docblock param alignment formatting. |
| src/Services/UserValidationService.php | Docblock spacing/alignment formatting. |
| src/Services/UserProvisioningService.php | Import ordering and array alignment formatting. |
| src/Services/Turnstile.php | Import ordering and request payload alignment formatting. |
| src/Services/IdentityProviderRegistry.php | Import ordering formatting. |
| src/Services/BrowserSessionService.php | Import ordering and local Builder return type aliasing/formatting. |
| src/Rules/TurnstileRule.php | Import ordering and docblock spacing formatting. |
| src/Relations/PasskeyMorphMany.php | Import ordering formatting. |
| src/Providers/AuthKitServiceProvider.php | Import ordering formatting. |
| src/PasskeyAuthenticatable.php | Import ordering and phpstan doc tag formatting (using imported symbol). |
| src/Models/Passkey.php | Import ordering formatting. |
| src/Http/Requests/UpdateProfileInformationRequest.php | Import ordering and rules array alignment formatting. |
| src/Http/Requests/UpdatePasswordRequest.php | Import ordering and rules array alignment formatting. |
| src/Http/Requests/ResetPasswordRequest.php | Import ordering formatting. |
| src/Http/Requests/RegisterRequest.php | Import ordering and rules array alignment formatting. |
| src/Http/Requests/AttemptEmailPasswordLoginRequest.php | Rules array alignment formatting. |
| src/Http/Controllers/Api/RegisterController.php | Import ordering and JSON payload alignment formatting. |
| src/Http/Controllers/Api/LogoutController.php | Import ordering formatting. |
| src/Http/Controllers/Api/LoginController.php | Import ordering, match arm alignment, and JSON payload alignment formatting. |
| src/Http/Controllers/Api/CheckEmailExistsController.php | Import ordering formatting. |
| src/Http/Controllers/AbstractVerifyEmailController.php | Import ordering formatting. |
| src/Http/Controllers/AbstractRegisterController.php | Import ordering formatting. |
| src/Http/Controllers/AbstractPasswordResetLinkController.php | Import ordering and validation array formatting. |
| src/Http/Controllers/AbstractNewPasswordController.php | Import ordering and validation array formatting. |
| src/Http/Controllers/AbstractLogoutController.php | Import ordering formatting. |
| src/Http/Controllers/AbstractAuthController.php | Added JsonResponse import and formatted response payload array. |
| src/Http/Controllers/AbstractAttemptEmailPasswordLoginController.php | Import ordering and match arm alignment formatting. |
| src/Contracts/ListBrowserSessionsInterface.php | Import ordering formatting. |
| src/Contracts/IssueTokenForUserInterface.php | Docblock param alignment formatting. |
| src/Actions/UpdateUserProfileInformation.php | Import ordering and attribute array alignment formatting. |
| src/Actions/UpdateUserPassword.php | Import ordering and attribute array alignment formatting. |
| src/Actions/ResetUserPassword.php | Import ordering and attribute array alignment formatting. |
| src/Actions/LogoutUser.php | Import ordering formatting. |
| src/Actions/LogoutOtherBrowserSessions.php | Import ordering formatting. |
| src/Actions/LoginUser.php | Import ordering formatting. |
| src/Actions/ListBrowserSessions.php | Import ordering formatting. |
| src/Actions/IssueTokenForUser.php | Import ordering and docblock param alignment formatting. |
| src/Actions/CreateNewUser.php | Import ordering and attribute array alignment formatting. |
| src/Actions/CheckEmailExists.php | Import ordering formatting. |
| src/Actions/AttemptEmailPasswordLogin.php | Import ordering and concatenation spacing formatting. |
| routes/api.php | Import ordering formatting. |
| rector-migrate-social.php | Concatenation spacing formatting. |
| database/migrations/passkeys/2026_08_14_000000_create_passkeys_table.php | Import ordering formatting. |
| config/laranail/authkit.php | Config array alignment/spacing formatting. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
7
to
11
| use Illuminate\Contracts\Auth\Authenticatable; | ||
| use Simtabi\Laranail\AuthKit\Support\UserModelResolver; | ||
| use Illuminate\Validation\Rule; | ||
| use Laravel\Fortify\Contracts\CreatesNewUsers as FortifyCreateNewUser; | ||
| use Simtabi\Laranail\AuthKit\Services\UserValidationService; | ||
| use Simtabi\Laranail\AuthKit\Http\Requests\RegisterRequest; | ||
| use Simtabi\Laranail\AuthKit\Services\UserProvisioningService; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Formatting only, no behavioural change. These violations accumulated on main because CI triggers on pull_request, so nothing re-runs Pint after a merge — they surfaced as red checks on unrelated dependency PRs.