Closed (duplicate)
Project:
Drupal core
Version:
main
Component:
typed data system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2025 at 00:16 UTC
Updated:
28 Jan 2026 at 14:40 UTC
Jump to comment: Most recent
Comments
Comment #2
godotislateMR 12291 for #3522497: Passing an $options array to constraint constructors is deprecated, use named arguments instead should have a lot of the work needed here, so changes would need to be transferred to an MR here after the original issue is in.
Comment #3
godotislate#3555534: Since symfony/validator 7.4: Support for evaluating options in the base Constraint class is deprecated. Initialize properties in the constructor instead., #3555533: Since symfony/validator 7.4: Passing an array of options to configure the constraints is deprecated, use named arguments instead., #3555535: Since symfony/validator 7.4: Support for passing the choices as the first argument to Symfony\Component\Validator\Constraints\Choice is deprecated. likely cover a lot of the same ground as this issue, maybe broken up into smaller pieces.
Comment #5
godotislateDone in #3555534: Since symfony/validator 7.4: Support for evaluating options in the base Constraint class is deprecated. Initialize properties in the constructor instead.