Curl auto instrumentation distributed tracing headers propagation, request and response headers capturing (#1420) #1389
Annotations
7 errors
Run Psalm:
src/CurlHandleMetadata.php#L75
src/CurlHandleMetadata.php:75:32: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
Run Psalm:
src/CurlInstrumentation.php#L135
src/CurlInstrumentation.php:135:29: InvalidArrayAccess: Cannot access array value on non-array variable of type iterable<mixed, mixed> (see https://psalm.dev/005)
|
Run Psalm:
src/CurlInstrumentation.php#L273
src/CurlInstrumentation.php:273:41: InvalidArrayAccess: Cannot access array value on non-array variable of type iterable<mixed, mixed> (see https://psalm.dev/005)
|
Run Psalm:
src/CurlInstrumentation.php#L316
src/CurlInstrumentation.php:316:75: InvalidArgument: Argument 3 of OpenTelemetry\Contrib\Instrumentation\Curl\CurlInstrumentation::finishMultiSpan expects WeakMap<object, mixed>, but WeakMap<CurlHandle, OpenTelemetry\Contrib\Instrumentation\Curl\CurlHandleMetadata> provided (see https://psalm.dev/004)
|
Run Psalm:
src/CurlInstrumentation.php#L349
src/CurlInstrumentation.php:349:85: InvalidArgument: Argument 3 of OpenTelemetry\Contrib\Instrumentation\Curl\CurlInstrumentation::finishMultiSpan expects WeakMap<object, mixed>, but WeakMap<CurlHandle, OpenTelemetry\Contrib\Instrumentation\Curl\CurlHandleMetadata> provided (see https://psalm.dev/004)
|
Run Psalm:
src/CurlInstrumentation.php#L409
src/CurlInstrumentation.php:409:28: PossiblyUndefinedArrayOffset: Possibly undefined array key (see https://psalm.dev/167)
|
Run Psalm
Process completed with exit code 2.
|
Loading