Skip to content

Conversation

@mshcherb
Copy link
Collaborator

  • Changed Assert\Length(['min' => 1]) to Assert\Length(min: 1)
  • Changed Assert\Collection with array parameters to use named arguments
  • Fixes all Symfony 7.3+ deprecation warnings in ContactNormalizer
  • All unit tests pass successfully

Resolves deprecation warnings:

  • 'Passing an array of options to configure Length constraint is deprecated'
  • 'Passing an array of options to configure Collection constraint is deprecated'

Related to issue about Symfony 7.3 deprecations in mailjet API

fix for this issue #323

…uments

- Changed Assert\Length(['min' => 1]) to Assert\Length(min: 1)
- Changed Assert\Collection with array parameters to use named arguments
- Fixes all Symfony 7.3+ deprecation warnings in ContactNormalizer
- All unit tests pass successfully

Resolves deprecation warnings:
- 'Passing an array of options to configure Length constraint is deprecated'
- 'Passing an array of options to configure Collection constraint is deprecated'

Related to issue about Symfony 7.3 deprecations in mailjet API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant