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

Command icon 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

mlncn created an issue. See original summary.

sergio morais made their first commit to this issue’s fork.

  • sergio morais committed 795dcbde on 1.0.x
    Issue #3511753: Update deprecated implicitly marking paramaters as...
mlncn’s picture

Assigned: mlncn » Unassigned
Status: Active » Fixed

Awesome thank you! Better than what i had locally because i had not internalized the `?` shortcut yet (seemed FormStateInterface|null but the shorter form is nicer especially with that longer form already in the docblock code comment.

mlncn’s picture

@sergio morais are you using this module? Would you want to co-maintain?

sergio morais’s picture

@mlncn I'm glad I could help. I'm using this module in a client's project. I can co-maintain. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.