Skip to content

style: apply pint - #52

Merged
imanimanyara merged 1 commit into
mainfrom
style-pint
Sep 1, 2026
Merged

imanimanyara merged 1 commit into
mainfrom
style-pint

Conversation

@imanimanyara

Copy link
Copy Markdown
Member

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.

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.
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:46
@imanimanyara
imanimanyara merged commit dc6d088 into main Sep 1, 2026
@imanimanyara
imanimanyara deleted the style-pint branch September 1, 2026 14:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 use import 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/, and workbench/.

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;
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.

2 participants