Closed (fixed)
Project:
Smileys Field
Version:
1.0.x-dev
Component:
Default
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
14 Jun 2026 at 09:24 UTC
Updated:
28 Jun 2026 at 10:10 UTC
Jump to comment: Most recent
We should update the module's dependency injection and class constructors to use PHP 8.0 Constructor Property Promotion.Since Drupal 10+ requires PHP 8.1+, we can safely leverage this modern syntax across the codebase to reduce boilerplate code.
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 #4
ivnish