Skip to content

fix: add missing method setCallbackWrapper #1164

fix: add missing method setCallbackWrapper

fix: add missing method setCallbackWrapper #1164

Re-run triggered May 3, 2024 12:53
Status Failure
Total duration 56s
Artifacts

static-analysis.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
PHPStan
Process completed with exit code 1.
InvalidReturnType: src/Tracing/Cache/TraceableCacheAdapterTrait.php#L199
src/Tracing/Cache/TraceableCacheAdapterTrait.php:199:24: InvalidReturnType: The declared return type 'TResult:fn-sentry\sentrybundle\tracing\cache\traceablecacheadaptertrait::setcallbackwrapper as mixed' for Sentry\SentryBundle\Tracing\Cache\TraceableCacheAdapterTrait::setCallbackWrapper is incorrect, got 'impure-Closure():TResult:fn-sentry\sentrybundle\tracing\cache\traceablecacheadaptertrait::setcallbackwrapper as mixed' (see https://psalm.dev/011)
TooManyArguments: src/Tracing/Cache/TraceableCacheAdapterTrait.php#L204
src/Tracing/Cache/TraceableCacheAdapterTrait.php:204:20: TooManyArguments: Too many arguments for - expecting 0 but saw 1 (see https://psalm.dev/026)
Psalm
Process completed with exit code 2.