Skip to content

Fix styling

Fix styling #48

Triggered via push September 30, 2024 20:52
Status Failure
Total duration 46s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: database/factories/FilamentFormFactory.php#L10
PHPDoc tag @extends has invalid type App\Models\FilamentForm.
phpstan: database/factories/FilamentFormFactory.php#L10
Type App\Models\FilamentForm in generic type Illuminate\Database\Eloquent\Factories\Factory<App\Models\FilamentForm> in PHPDoc tag @extends is not subtype of template type TModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Factories\Factory.
phpstan: database/factories/FilamentFormFactory.php#L17
Return type (array<string, mixed>) of method Database\Factories\FilamentFormFactory::definition() should be compatible with return type (array<model property of App\Models\FilamentForm, mixed>) of method Illuminate\Database\Eloquent\Factories\Factory<App\Models\FilamentForm>::definition()
phpstan: database/factories/FilamentFormFactory.php#L20
Call to an undefined method Faker\Generator::bs().
phpstan: database/factories/FilamentFormFieldFactory.php#L10
PHPDoc tag @extends has invalid type App\Models\FilamentFormField.
phpstan: database/factories/FilamentFormFieldFactory.php#L10
Type App\Models\FilamentFormField in generic type Illuminate\Database\Eloquent\Factories\Factory<App\Models\FilamentFormField> in PHPDoc tag @extends is not subtype of template type TModel of Illuminate\Database\Eloquent\Model of class Illuminate\Database\Eloquent\Factories\Factory.
phpstan: database/factories/FilamentFormFieldFactory.php#L17
Return type (array<string, mixed>) of method Database\Factories\FilamentFormFieldFactory::definition() should be compatible with return type (array<model property of App\Models\FilamentFormField, mixed>) of method Illuminate\Database\Eloquent\Factories\Factory<App\Models\FilamentFormField>::definition()
phpstan: database/seeders/FilamentFormSeeder.php#L59
Call to an undefined method Faker\Generator::bs().
phpstan: src/Exports/FilamentFormUsersExport.php#L21
Access to an undefined property Illuminate\Database\Eloquent\Model::$filament_form_id.
phpstan: src/Exports/FilamentFormUsersExport.php#L61
Access to an undefined property Tapp\FilamentFormBuilder\Models\FilamentFormField::$label.