don't unserialize
because we can't trust user input, force `encrypt…
#147
Annotations
10 errors and 1 warning
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L72
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)#L188
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)#L188
Result of && is always false.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L288
Variable $parameters on left side of ?? always exists and is not nullable.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L302
Result of || is always true.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L303
Call to function is_subclass_of() with $this(Vormkracht10\PermanentCache\Cached) and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L308
Unreachable statement - code above always terminates.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L76
Else branch is unreachable because previous condition is always true.
|
phpstan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L77
Call to an undefined method Vormkracht10\PermanentCache\CachedComponent::run().
|
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/.
|