Problem/Motivation
PHP 8 supports declaration of properties in class constructors. This is more concise, and the recommended pattern for modern Drupal.
Steps to reproduce
Proposed resolution
- Remove distinct property declarations.
- Mark constructors protected.
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork token_filter-3594069
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
lostcarpark commentedMoved property declarations into constructors. Verified tests pass.
Comment #4
darvanenThank you for this bit-sized piece to review, I've added it to the commit train
Comment #6
darvanen