Problem/Motivation

PHP 8.4 has deprecated implicit nullable types.

Steps to reproduce

Use in a PHP 8.4 environment

Proposed resolution

Use explicit nullable types (compatible with PHP 7.1+ so no compatibility concerns given Drupal core PHP minimums)

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

beloglazov91 created an issue. See original summary.

klausi’s picture

Version: 3.0.0-rc20 » 3.x-dev
Status: Needs review » Reviewed & tested by the community
Issue tags: +PHP 8.4

Looks good, thanks!

damien laguerre made their first commit to this issue’s fork.

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

bluegeek9 changed the visibility of the branch 3.x to hidden.

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

  • dww committed faa3c8b7 on 8.x-1.x
    task: #3506277 Nullable types must be explicit (PHP 8.4)
    
    Co-Authored-By...

  • dww committed adc8a09d on 3.x
    task: #3506277 Nullable types must be explicit (PHP 8.4)
    
    Co-Authored-By...
dww’s picture

Status: Reviewed & tested by the community » Fixed

Reviewed and merged, thanks!

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.

Status: Fixed » Closed (fixed)

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