Problem/Motivation
As of PHP 8.4:
Deprecated: taxonomy_machine_name_helper_term_load(): Implicitly marking parameter $form_state as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/taxonomy_machine_name_helper/taxonomy_machine_name_helper.module on line 30
Deprecated: taxonomy_machine_name_helper_get_tid(): Implicitly marking parameter $form_state as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/taxonomy_machine_name_helper/taxonomy_machine_name_helper.module on line 60
(The explicit null option has been supported since PHP 7.1.)
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork taxonomy_machine_name_helper-3511753
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 #5
mlncn commentedAwesome thank you! Better than what i had locally because i had not internalized the `?` shortcut yet (seemed
FormStateInterface|nullbut the shorter form is nicer especially with that longer form already in the docblock code comment.Comment #6
mlncn commented@sergio morais are you using this module? Would you want to co-maintain?
Comment #7
sergio morais commented@mlncn I'm glad I could help. I'm using this module in a client's project. I can co-maintain. Thanks!