Skip to content

feat(admin): user filament panel #47

feat(admin): user filament panel

feat(admin): user filament panel #47

Triggered via pull request November 5, 2025 00:42
Status Failure
Total duration 1m 7s
Artifacts

continuous-integration.yml

on: pull_request
Setup PHP
19s
Setup PHP
Perform Pint format  /  Run
22s
Perform Pint format / Run
Perform Rector Check  /  Run
36s
Perform Rector Check / Run
Perform Phpstan Check  /  Run
29s
Perform Phpstan Check / Run
Perform Pest Tests  /  Run
42s
Perform Pest Tests / Run
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 7 warnings
Perform Pint format / Run
Process completed with exit code 1.
Perform Phpstan Check / Run
Process completed with exit code 1.
Perform Phpstan Check / Run: app/Providers/FilamentServiceProvider.php#L26
Call to an undefined method App\Providers\FilamentServiceProvider::discoverResources().
Perform Phpstan Check / Run: app/Providers/FilamentServiceProvider.php#L15
Call to an undefined method App\Providers\FilamentServiceProvider::getId().
Perform Rector Check / Run
Process completed with exit code 2.
Perform Rector Check / Run: app-modules/user/tests/Feature/UserResourceTest.php#L8
AddClosureVoidReturnTypeWhereNoReturnRector --- Original +++ New @@ -8,7 +8,7 @@ use He4rt\User\Filament\Admin\Resources\Users\UserResource; use He4rt\User\Models\User; -beforeEach(function () { +beforeEach(function (): void { $user = User::factory()->create(); Filament::setCurrentPanel('admin'); $this->actingAs($user); @@ -19,7 +19,7 @@ ->toContain(UserResource::class); }); -it('renders the list of users', function () { +it('renders the list of users', function (): void { $users = User::factory()->count(5)->create(); $this->livewire(ListUsers::class) @@ -27,12 +27,12 @@ ->assertCanSeeTableRecords($users); }); -it('can load the page', function () { +it('can load the page', function (): void { $this->livewire(CreateUser::class) ->assertOk(); }); -it('can create a user', function () { +it('can create a user', function (): void { $this->livewire(CreateUser::class) ->fillForm([ 'username' => 'newuser', @@ -50,7 +50,7 @@ }); -it('can load the page edit page', function () { +it('can load the page edit page', function (): void { $user = User::factory()->create(); $this->livewire(EditUser::class, [ @@ -64,7 +64,7 @@ }); -it('can update a user', function () { +it('can update a user', function (): void { $user = User::factory()->create(); $newUserData = User::factory()->make(); @@ -86,7 +86,7 @@ ]); }); -it('can delete a user', function () { +it('can delete a user', function (): void { $user = User::factory()->create(); $this->livewire(EditUser::class, [
Perform Pest Tests / Run
Process completed with exit code 2.
Perform Pint format / Run: app-modules/user/tests/Feature/UserResourceTest.php#L1
Found violation(s) of type: single_blank_line_at_eof
Perform Pint format / Run: app-modules/user/tests/Feature/UserResourceTest.php#L1
Found violation(s) of type: no_extra_blank_lines
Perform Pint format / Run: app-modules/user/tests/Feature/UserResourceTest.php#L1
Found violation(s) of type: blank_line_after_opening_tag
Perform Pint format / Run: app-modules/user/tests/Feature/UserResourceTest.php#L1
Found violation(s) of type: declare_strict_types
Perform Pint format / Run: app-modules/user/src/Plugins/AdminUserPanelPlugin.php#L1
Found violation(s) of type: single_line_empty_body
Perform Pint format / Run: app-modules/user/src/Plugins/AdminUserPanelPlugin.php#L1
Found violation(s) of type: braces_position
Perform Pint format / Run: app-modules/user/src/Plugins/AdminUserPanelPlugin.php#L1
Found violation(s) of type: trailing_comma_in_multiline