Problem/Motivation
Following on #3569829: Support farmOS 4, we can take advantage of the fact that we have dropped support for Drupal 9 and 10 by adopting some code modernization improvements, including:
- Constructor property promotion (see: https://php.watch/versions/8.0/constructor-property-promotion)
- Optional constructor docblock (see: #2140961: Allow constructor methods to omit docblocks)
- Autowiring (see: https://www.drupal.org/node/3218156)
- Hook classes (see: https://www.drupal.org/node/3486534)
Proposed resolution
Make the above improvements.
Remaining tasks
Open MR.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork farm_asset_termination-3573455
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 #3
m.stentaMR ready for review!
Comment #4
m.stentaOh I forgot to say, this is based on the MR in #3569829: Support farmOS 4 so it includes those commits.
Comment #6
wotnakComment #8
wotnakIncluded in the v2.0.0 release.