Merge branch 'feature/tests' of https://github.com/vormkracht10/larav… #78
Annotations
10 errors and 1 warning
Run 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.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L66
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L68
Method Vormkracht10\PermanentCache\Cached::run() invoked with 1 parameter, 0 required.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L143
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L148
Variable $parameters on left side of ?? is never defined.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L156
Variable $parameters on left side of ?? is never defined.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L173
Call to function is_subclass_of() with class-string<static(Vormkracht10\PermanentCache\Cached)> and 'Vormkracht10\\PermanentCache\\CachedComponent' will always evaluate to false.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/Cached)#L173
Result of && is always false.
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L68
Call to an undefined method Vormkracht10\PermanentCache\CachedComponent::run().
|
Run PHPStan:
src/CachesValue.php (in context of class Vormkracht10/PermanentCache/CachedComponent)#L68
Else branch is unreachable because ternary operator condition is always true.
|
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/.
|
Loading