Skip to content

pint

pint #55

Triggered via push October 25, 2023 03:38
Status Failure
Total duration 1m 22s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Run PHPStan: src/actions/AddComponent.php#L27
Cannot call method getType() on array|yii\db\ActiveRecordInterface|null.
Run PHPStan: src/actions/AddComponent.php#L34
Access to an undefined property markhuot\keystone\models\ComponentData::$type.
Run PHPStan: src/actions/AddComponent.php#L40
Access to an undefined property markhuot\keystone\models\ComponentData::$id.
Run PHPStan: src/actions/AddComponent.php#L41
Access to an undefined property markhuot\keystone\models\Component::$path.
Run PHPStan: src/actions/AddComponent.php#L42
Access to an undefined property markhuot\keystone\models\Component::$slot.
Run PHPStan: src/actions/AddComponent.php#L43
Access to an undefined property markhuot\keystone\models\Component::$type.
Run PHPStan: src/actions/AddComponent.php#L44
Access to an undefined property markhuot\keystone\models\Component::$sortOrder.
Run PHPStan: src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $handle with no type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L24
Method markhuot\keystone\actions\CompileTwigComponent::__construct() has parameter $twigPath with no type specified.
Run PHPStan: src/actions/CompileTwigComponent.php#L30
Method markhuot\keystone\actions\CompileTwigComponent::handle() has no return type specified.
Run Pest
Process completed with exit code 2.