Skip to content

PHP deprecation warnings due to outdated dependency #39

@Benjamin-K

Description

@Benjamin-K

Current behaviour

The required version of spomky-labs/otphp causes deprecation warnings, as the version 10 requires thecodingmachine/safe up to version 2.x, which does not yet explicitly mark all nullable parameters as nullable.

Deprecated: Safe\gmdate(): Implicitly marking parameter $timestamp as nullable is deprecated, the explicit nullable type must be used [...]

Solution

Update the dependency of spomky-labs/otphp to use ^11.0 (which does not require thecodingmachine/safe any more).

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