Skip to content

Refactor menu item icon handling. #127

Refactor menu item icon handling.

Refactor menu item icon handling. #127

Triggered via push July 31, 2025 16:18
Status Failure
Total duration 59s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Form/Fields/Types/RouteMenuItemType.php#L14
Unsafe usage of new static().
phpstan: src/Form/Fields/Types/LinkableMenuItemType.php#L72
Call to an undefined static method Statikbe\FilamentFlexibleContentBlockPages\Models\Contracts\HasMenuLabel::searchForMenuItems().
phpstan: src/Form/Fields/Types/LinkableMenuItemType.php#L25
Unsafe usage of new static().
phpstan: src/FilamentFlexibleContentBlockPagesServiceProvider.php#L53
Class Statikbe\FilamentFlexibleContentBlockPages\Livewire\MenuTreeItem not found.
phpstan: src/Components/MenuItem.php#L38
Parameter #1 $view of function view expects view-string|null, string given.
phpstan: src/Components/Menu.php#L62
Call to an undefined static method Statikbe\FilamentFlexibleContentBlockPages\Models\Menu::getByCode().
phpstan: src/Components/Menu.php#L55
Parameter #1 $view of function view expects view-string|null, string given.
phpstan: src/Components/LanguageSwitch.php#L22
Parameter #1 $view of function view expects view-string|null, string given.
phpstan: src/Components/BaseLayout.php#L11
Parameter #1 $view of function view expects view-string|null, string given.
phpstan: src/Commands/SeedDefaultsCommand.php#L71
Call to an undefined method Illuminate\Database\Eloquent\Model::setTranslation().