Skip to content

Merge branch 'main' into element-queries #85

Merge branch 'main' into element-queries

Merge branch 'main' into element-queries #85

Triggered via push October 29, 2023 11:10
Status Failure
Total duration 1m 37s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Run PHPStan: src/actions/AddComponent.php#L14
Method markhuot\keystone\actions\AddComponent::handle() has parameter $data with no value type specified in iterable type array.
Run PHPStan: src/actions/AddComponent.php#L41
Access to an undefined property markhuot\keystone\models\Component::$type.
Run PHPStan: src/actions/AddComponent.php#L42
Access to an undefined property markhuot\keystone\models\Component::$sortOrder.
Run PHPStan: src/actions/AddComponent.php#L54
Method markhuot\keystone\actions\AddComponent::createDefaultChildrenFor() has no return type specified.
Run PHPStan: src/actions/AddComponent.php#L63
Method markhuot\keystone\actions\AddComponent::createDefaultsFor() has no return type specified.
Run PHPStan: src/actions/AddComponent.php#L63
Method markhuot\keystone\actions\AddComponent::createDefaultsFor() has parameter $slotDefaults with generic class Illuminate\Support\Collection but does not specify its types: TKey, TValue
Run PHPStan: src/actions/AddComponent.php#L65
Parameter #1 $value of function collect expects Illuminate\Contracts\Support\Arrayable<(int|string), mixed>|iterable<(int|string), mixed>|null, mixed given.
Run PHPStan: src/actions/AddComponent.php#L65
Parameter #4 $config of method markhuot\keystone\actions\AddComponent::createChild() expects array, mixed given.
Run PHPStan: src/actions/AddComponent.php#L65
Unable to resolve the template type TKey in call to function collect
Run PHPStan: src/actions/AddComponent.php#L65
Unable to resolve the template type TValue in call to function collect
Run Pint
Process completed with exit code 1.
Run Pest
Process completed with exit code 2.