Skip to content

[rector] Rector fixes #852

[rector] Rector fixes

[rector] Rector fixes #852

Triggered via push February 5, 2025 15:36
Status Failure
Total duration 1m 2s
Artifacts

analyse.yml

on: push
moonshine-analyse
52s
moonshine-analyse
Fit to window
Zoom out
Zoom in

Annotations

9 errors
moonshine-analyse: src/Laravel/src/Fields/Relationships/BelongsToMany.php#L309
Method MoonShine\Laravel\Fields\Relationships\BelongsToMany::getComponent() should return MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\Contracts\UI\TableBuilderContract.
moonshine-analyse: src/Laravel/src/Fields/Relationships/BelongsToMany.php#L315
Method MoonShine\Laravel\Fields\Relationships\BelongsToMany::getComponent() should return MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\Contracts\UI\ActionButtonContract.
moonshine-analyse: src/Laravel/src/Fields/Relationships/HasMany.php#L569
Method MoonShine\Laravel\Fields\Relationships\HasMany::getComponent() should return MoonShine\UI\Components\ActionButton|MoonShine\UI\Components\FormBuilder|MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\Contracts\UI\ComponentContract.
moonshine-analyse: src/Laravel/src/Fields/Relationships/HasOne.php#L216
Method MoonShine\Laravel\Fields\Relationships\HasOne::getComponent() should return MoonShine\UI\Components\FormBuilder but returns MoonShine\Contracts\UI\ComponentContract.
moonshine-analyse: src/Laravel/src/Fields/Relationships/RelationRepeater.php#L252
Method MoonShine\Laravel\Fields\Relationships\RelationRepeater::getComponent() should return MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\Contracts\UI\ComponentContract.
moonshine-analyse: src/UI/src/Fields/Json.php#L294
Call to an undefined method MoonShine\UI\Components\Table\TableBuilder::previewMode().
moonshine-analyse: src/UI/src/Fields/Json.php#L375
Method MoonShine\UI\Fields\Json::getComponent() should return MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\Contracts\UI\ComponentContract.
moonshine-analyse: src/UI/src/Fields/Json.php#L391
Method MoonShine\UI\Fields\Json::getComponent() should return MoonShine\UI\Components\Table\TableBuilder but returns MoonShine\UI\Components\FieldsGroup.
moonshine-analyse
Process completed with exit code 1.