Skip to content

Basics of importing a zip #13

Basics of importing a zip

Basics of importing a zip #13

Triggered via push October 10, 2024 16:55
Status Failure
Total duration 36s
Billable time 1m
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: database/migrations/2024_10_05_create_htmlable_elements_table.php#L16
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
phpstan: database/migrations/2024_10_05_create_htmlable_elements_table.php#L17
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
phpstan: database/migrations/2024_10_05_create_htmlable_values_table.php#L14
Call to an undefined method Illuminate\Database\Schema\ForeignIdColumnDefinition::onDelete().
phpstan: src/Actions/Documents/Create.php#L14
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Actions/Documents/Update.php#L34
Method JamesDordoy\HTMLable\Actions\Documents\Update::validate() should return array but returns Illuminate\Http\RedirectResponse.
phpstan: src/Actions/Elements/Create.php#L20
Variable $validate on left side of ?? always exists and is not nullable.
phpstan: src/Actions/Elements/Create.php#L22
Parameter #1 $attributes of static method Illuminate\Database\Eloquent\Builder<JamesDordoy\HTMLable\Models\Element>::create() expects array<model property of JamesDordoy\HTMLable\Models\Element, mixed>, bool given.
phpstan: src/Actions/Elements/Create.php#L34
Method JamesDordoy\HTMLable\Actions\Elements\Create::validate() should return array but returns Illuminate\Http\RedirectResponse.
phpstan: src/Actions/ImportZip.php#L19
Access to an undefined property JamesDordoy\HTMLable\Contracts\HTMLable::$name.
phpstan: src/Actions/ImportZip.php#L22
Access to an undefined property JamesDordoy\HTMLable\Contracts\HTMLable::$id.