Skip to content

PHP 8.1 support: fix deprecation notices #24

Open
@judgej

Description

Examples:

Return type of Consilience\Starling\Payments\AbstractResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /.../starling-payments-objects/src/HydratableTrait.php on line 220

Return type of Consilience\Starling\Payments\AbstractServerRequest::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /.../starling-payments-objects/src/HydratableTrait.php on line 220

A bit of static analysis may throw up a few more.

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