Skip to content

check if array improved #83

check if array improved

check if array improved #83

Triggered via push May 8, 2024 15:43
Status Failure
Total duration 39s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/CachedComponent.php#L25
Method Vormkracht10\PermanentCache\CachedComponent::resolveView() should return Closure|Illuminate\Contracts\Support\Htmlable|Illuminate\Contracts\View\View|string but return statement is missing.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L76
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L78
Method Vormkracht10\PermanentCache\Cached::run() invoked with 1 parameter, 0 required.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L146
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L151
Variable $parameters on left side of ?? is never defined.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L156
Variable $parameters on left side of ?? is never defined.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L187
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L78
Call to an undefined method Vormkracht10\PermanentCache\CachedComponent::run().
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L78
Else branch is unreachable because ternary operator condition is always true.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.