- Merge request !222fix: #3565226 Use named arguments for FunctionCall constraints → (Merged) created by lussoluca
Drupal 11.3 requires Symfony 7.4.
In Symfony 7.4, passing an array to constraint constructors is deprecated; we must use named arguments instead. See #[3522497].
Ask the chatbot, or the agent explorer, to create a content type or a vocabulary. You get an error like "Unknown named parameter $value".
Use named arguments on constraint definitions in FunctionCall.
From:
constraints: ['Regex' => '/^[a-zA-Z0-9_]+$/'],
to:
constraints: ['Regex' => ['pattern' => '/^[a-zA-Z0-9_]+$/']],
Review the MR.
None.
None.
None.
Active
1.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.