Deprecated: Drupal\responsive_menu\Form\SettingsForm::getMenuOptions(): Implicitly marking parameter $menu_names as nullable is deprecated, the explicit nullable type must be used instead in ...\modules\contrib\responsive_menu\src\Form\SettingsForm.php on line 401.
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

sirclickalot created an issue. See original summary.

sirclickalot’s picture

Title: HP 8.4code deprecation » HP 8.4 code deprecation warning
amritsingh09’s picture

Assigned: Unassigned » amritsingh09

I am working on a patch for this.

amritsingh09’s picture

Status: Active » Needs review

Fix committed to issue fork to resolve PHP 8.5 nullable parameter deprecation in SettingsForm::getMenuOptions().

Updated implicit nullable parameter to explicit nullable type (?array $menu_names = NULL), aligning with PHP 8.1+ requirements.

Tested on Drupal 10 and Drupal 11 — no deprecation warnings observed.