Skip to content

meh

meh #175

Triggered via push January 9, 2024 21:48
Status Failure
Total duration 1m 44s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Run PHPStan: src/actions/AddComponent.php#L31
Using nullsafe method call on non-nullable type markhuot\keystone\models\Component. Use -> instead.
Run PHPStan: src/actions/AddComponent.php#L32
Left side of && is always true.
Run PHPStan: src/actions/AddComponent.php#L68
Parameter #1 $callback of method Illuminate\Support\Collection<(int|string),mixed>::mapWithKeys() expects callable(mixed, int|string): array<string, Illuminate\Support\Collection<int|string, array>>, Closure(markhuot\keystone\base\SlotDefinition): non-empty-array<string, Illuminate\Support\Collection<int|string, array>> given.
Run PHPStan: src/actions/AddComponent.php#L92
Parameter $elementId of method markhuot\keystone\actions\AddComponent::handle() expects int, int|null given.
Run PHPStan: src/actions/AddComponent.php#L93
Parameter $fieldId of method markhuot\keystone\actions\AddComponent::handle() expects int, int|null given.
Run PHPStan: src/actions/CompileTwigComponent.php#L18
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $handle with no type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L18
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $twigPath with no type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::handle() has no return type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::handle() has parameter $force with no type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L28
Call to an undefined method yii\base\View::resolveTemplate().
Run Pint
Process completed with exit code 1.
Run Pest
Process completed with exit code 2.