Skip to content

Issue with symfony dependancy #323

@cauzanne

Description

@cauzanne

The mailjet API seems to be using deprecated symfony calls:
Message=Since symfony/validator 7.3: Passing an array of options to configure the "Symfony\Component\Validator\Constraints\Length" constraint is deprecated, use named arguments instead.

here the relevant stack:
#3 /xxxx/vendor/symfony/deprecation-contracts/function.php(25): trigger_error()
#4 /xxxx/vendor/symfony/validator/Constraints/Length.php(88): trigger_deprecation()
#5 /xxxx/vendor/mailjet/mailjet-apiv3-php/src/Mailjet/Normalizer/ContactNormalizer.php(45): Symfony\Component\Validator\Constraints\Length->__construct()
#6 /xxxx/vendor/mailjet/mailjet-apiv3-php/src/Mailjet/Normalizer/ContactNormalizer.php(30): Mailjet\Normalizer\ContactNormalizer::getValidationRule()
#7 /xxxx/vendor/mailjet/mailjet-apiv3-php/src/Mailjet/Client.php(132): Mailjet\Normalizer\ContactNormalizer::shouldBeNormalized()
#8 /xxxx/libcommon/mailjet/mailjet_common.inc(165): Mailjet\Client->get()

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