Skip to content

Update CachedComponent.php #93

Update CachedComponent.php

Update CachedComponent.php #93

Triggered via push May 9, 2024 10:06
Status Failure
Total duration 38s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L75
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)#L77
Method Vormkracht10\PermanentCache\Cached::run() invoked with 1 parameter, 0 required.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L139
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)#L144
Variable $parameters on left side of ?? is never defined.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L149
Variable $parameters on left side of ?? is never defined.
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L180
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)#L77
Call to an undefined method Vormkracht10\PermanentCache\CachedComponent::run().
phpstan: src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L77
Else branch is unreachable because ternary operator condition is always true.
phpstan: src/Commands/PermanentCachesStatusCommand.php#L48
Variable $cachesTable might not be defined.
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/.