Skip to content

compatibility with symfony/validator v5.4.34 #43

Description

@ruslanka1987

I've got an error using new symfony/validator version

$method = new Cardinity\Method\Payment\Get($invoiceId);
$payment = $client->call($method);

The options "fields" must be set for constraint "Symfony\Component\Validator\Constraints\Collection".

the error is reproducing for all methods with empty validation constraints

    public function getValidationConstraints()
    {
        return new Assert\Collection([]);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions