Skip to content

0.15.x is no longer compatible with PHP 8.0 #166

@Dean151

Description

@Dean151

Hi!

Turns out transient dependencies makes this library PHP 8.1+ only!

  Problem 1
    - web-token/jwt-core[v3.0.1, ..., 3.1.7] require php >=8.1 -> your php version (8.0.28) does not satisfy that requirement.
    - web-token/jwt-key-mgmt[v3.0.2, ..., 3.1.7] require php >=8.1 -> your php version (8.0.28) does not satisfy that requirement.
    - edamov/pushok[0.15.0, ..., 0.15.5] require web-token/jwt-key-mgmt ^3.0 -> satisfiable by web-token/jwt-key-mgmt[v3.0.1, ..., 3.1.7].
    - web-token/jwt-key-mgmt v3.0.1 requires web-token/jwt-core ^3.0 -> satisfiable by web-token/jwt-core[v3.0.1, ..., 3.1.7].
    - Root composer.json requires edamov/pushok ^0.15.0 -> satisfiable by edamov/pushok[0.15.0, ..., 0.15.5].

https://github.com/web-token/jwt-framework/blob/v3.0.1/composer.json#L55

Was it intended?
Because jsonSerialize(): mixed warning are still there on 0.14.0 and we would have definitely wanted to update this lib before to update our platforms to 8.1 :)

Maybe releasing a 0.14.3 with only the "ReturnWillChange" fix for PHP 8.0 ; and make 0.15.x PHP 8.1+ only would work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions