Problem/Motivation
Constructor property promotion was added to \Drupal\file\Upload\FileUploadHandler in #3534589: Autowire services in file module
However, we are still setting the properties in the body of the constructor. This is unnecessary and should be removed.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3577113
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
Comment #2
kim.pepperComment #4
kim.pepperComment #5
smustgrave commentedSeems straight forward to me.
Comment #6
kim.pepperComment #7
sivaji_ganesh_jojodae commented+1 the MR looks good overall and correctly simplifies the constructor.
Comment #8
alexpottCommitted and pushed d1911787d5b to main and c289b697b0d to 11.x. Thanks!