improve update logic #46
Annotations
10 errors and 1 warning
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L65
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)#L67
Method Vormkracht10\PermanentCache\Cached::run() invoked with 1 parameter, 0 required.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L128
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)#L133
Variable $parameters on left side of ?? is never defined.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L138
Variable $parameters on left side of ?? is never defined.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L155
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)#L155
Result of && is always false.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L67
Call to an undefined method Vormkracht10\PermanentCache\CachedComponent::run().
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L67
Else branch is unreachable because ternary operator condition is always true.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L69
Call to function is_null() with string will always evaluate to false.
|
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/.
|