Skip to content

Remove dds.

Remove dds. #26

Triggered via push October 22, 2024 10:05
Status Failure
Total duration 39s
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#L16
Access to an undefined property Illuminate\Database\Eloquent\Model::$id.
phpstan: src/Actions/Documents/Download.php#L37
Access to an undefined property JamesDordoy\HTMLable\Models\Document::$name.
phpstan: src/Actions/Elements/Create.php#L22
Variable $validate on left side of ?? always exists and is not nullable.
phpstan: src/Actions/Elements/Create.php#L24
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/Models/Document.php#L36
Return type (Illuminate\Support\HtmlString) of method JamesDordoy\HTMLable\Models\Document::render() should be compatible with return type (string) of method Illuminate\Contracts\Support\Renderable::render()
phpstan: src/Models/Document.php#L132
Parameter #1 $node of method JamesDordoy\HTMLable\Models\Document::saveElement() expects DOMElement, DOMNode given.
phpstan: src/Models/Element.php#L40
Return type (Illuminate\Support\HtmlString) of method JamesDordoy\HTMLable\Models\Element::render() should be compatible with return type (string) of method Illuminate\Contracts\Support\Renderable::render()