Skip to content

pint and phpstan

pint and phpstan #71

Triggered via push October 27, 2023 04:28
Status Failure
Total duration 1m 40s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors
Run Pint
Process completed with exit code 1.
Run PHPStan: src/actions/AddComponent.php#L36
Access to an undefined property markhuot\keystone\models\Component::$type.
Run PHPStan: src/actions/AddComponent.php#L37
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 PHPStan: src/actions/CompileTwigComponent.php#L34
Call to an undefined method yii\base\View::resolveTemplate().
Run PHPStan: src/actions/CompileTwigComponent.php#L39
Call to an undefined method yii\base\Application::getPath().
Run PHPStan: src/actions/CompileTwigComponent.php#L51
Call to an undefined method yii\base\View::resolveTemplate().
Run PHPStan: src/actions/CompileTwigComponent.php#L53
Call to an undefined method yii\base\View::renderTemplate().
Run PHPStan: src/actions/CompileTwigComponent.php#L63
Cannot access offset string on mixed.
Run Pest
Process completed with exit code 1.