Problem/Motivation

Follow up from #3555534: Since symfony/validator 7.4: Support for evaluating options in the base Constraint class is deprecated. Initialize properties in the constructor instead.

Steps to reproduce

Proposed resolution

Initialize properties in the constructor.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

Issue fork drupal-3561135

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kim.pepper created an issue. See original summary.

kim.pepper’s picture

Status: Active » Needs review

smustgrave’s picture

Status: Needs review » Needs work

Small tweak can you bump to 11.4

Probably fine to self RTBC as the change looks good to me.

If you are another contributor eager to jump in, please allow the previous poster(s) at least 48 hours to respond to feedback first, so they have the opportunity to finish what they started!

kim.pepper’s picture

Status: Needs work » Reviewed & tested by the community

Self RTBC'ing as per #4

catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to main and 11.x, thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • catch committed 70ea8606 on 11.x
    task: #3561135 Deprecate passing options array to UploadedFileConstraint...

  • catch committed 5da34e96 on main
    task: #3561135 Deprecate passing options array to UploadedFileConstraint...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.