Problem/Motivation

Deprecated: Drupal\context\Plugin\ContextReaction\Blocks::buildConfigurationForm(): Implicitly marking parameter $context as nullable is deprecated, the explicit nullable type must be used instead in /opt/drupal/www/modules/contrib/context/src/Plugin/ContextReaction/Blocks.php on line 509

Steps to reproduce

Migrate codebase to PHP 8.4

Proposed resolution

Make nullable parameter explicit

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork context-3505552

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

julessarraute created an issue. See original summary.

mandclu made their first commit to this issue’s fork.

mandclu’s picture

Title: Deprecated: PHP 8.4 » Deprecated: Implicitly nullable in PHP 8.4
Status: Active » Fixed

Thanks for identifying this, and for providing a fix.

Status: Fixed » Closed (fixed)

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