Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[opentelemetry-php-contrib] PHP 8.4 depracation notices from ResponsePropagator #1464

Open
Kaspiman opened this issue Dec 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kaspiman
Copy link

Describe your environment
PHP 8.4, package open-telemetry/opentelemetry-propagation-traceresponse version 0.0.3.

Steps to reproduce
Use OTEL with PHP 8.4.

What is the expected behavior?
No deprecation notices are present.

What is the actual behavior?
Deprecated: OpenTelemetry\Contrib\Propagation\TraceResponse\ResponsePropagator::inject(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /service/vendor/open-telemetry/opentelemetry-propagation-traceresponse/src/ResponsePropagator.php on line 23

Additional context
Docs about deprecation https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

@Kaspiman Kaspiman added the bug Something isn't working label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant