Merge pull request #11 from markhuot/phpstan #152
Annotations
10 errors
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 PHPStan:
src/actions/CompileTwigComponent.php#L33
Call to an undefined method yii\base\Application::getPath().
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L47
Parameter #1 $code of method PhpParser\Parser::parse() expects string, string|false given.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L52
Method class@anonymous/actions/CompileTwigComponent.php:50::__construct() has parameter $exports with no value type specified in iterable type array.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L63
Cannot access property $parts on PhpParser\Node\Name|null.
|
Run PHPStan:
src/actions/CompileTwigComponent.php#L67
Cannot access property $name on PhpParser\Node\Identifier|null.
|