Skip to content

Deprecations after upgrading to PHP 8.4Β #230

@wesolydexter

Description

@wesolydexter

PHP 8.4: Implicitly nullable parameter declarations deprecated.

Zipkin\RealSpan::start(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used instead in vendor/openzipkin/zipkin/src/Zipkin/RealSpan.php line 55

Deprecated: Zipkin\Tracer::nextSpanWithSampler(): Implicitly marking parameter $contextOrFlags as nullable is deprecated, the explicit nullable type must be used instead in /srv/api/vendor/openzipkin/zipkin/src/Zipkin/Tracer.php on line 230

Deprecated: Zipkin\Tracer::nextSpan(): Implicitly marking parameter $contextOrFlags as nullable is deprecated, the explicit nullable type must be used instead in /srv/api/vendor/openzipkin/zipkin/src/Zipkin/Tracer.php on line 196

and more...

https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

It would be great to fix this πŸ˜…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions