Problem/Motivation

There is an "implicitly nullable" deprecation error that occurs on sites using PHP 8.4.

PHP Deprecated: Drupal\config_ignore\Form\IgnoreSettingsForm::buildForm(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in .../config_ignore/src/Form/IgnoreSettingsForm.php on line 36

Steps to reproduce

  • Update Drupal site to use PHP 8.4.
  • Run "drush cr".

Proposed resolution

In the IgnoreSettingsForm->buildForm function, make the nullable parameter ($request) explicit.

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

slbrassard created an issue. See original summary.

slbrassard’s picture

Status: Active » Closed (duplicate)

It looks like this issue was already fixed in https://www.drupal.org/project/config_ignore/issues/3447321

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.