Problem/Motivation

The module has PHP 8.4 deprecation in the form of "Implicitly nullable via default value null" - https://wiki.php.net/rfc/deprecate-implicitly-nullable-types

This produces deprecation warnings from PHP.

Steps to reproduce

Install Drupal 11+ and the 4.1.0 version of the libraries module running on PHP 8.4 and observe the deprecation warnings.

Proposed resolution

See attached patch.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

flemming.fridthjof created an issue. See original summary.

liam morland’s picture

Issue tags: -PHP 8.4 deprecation +PHP 8.4
joseph.olstad’s picture

Great work flemming.

  • joseph.olstad committed e67c53a0 on 4.0.x
    [#3533910] feat: PHP 8.4 - Implicitly nullable via default value null...
joseph.olstad’s picture

Status: Active » Fixed

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

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

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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