Problem/Motivation
In PHP 8.4 it is deprecated to add a default value of a parameter as NULL, but not making it nullable.
Steps to reproduce
Try to run the module with PHP 8.4.
Proposed resolution
Mark the parameter as accepting null.
Remaining tasks
Add type declarations to the other methods as well ?
User interface changes
none
API changes
n/a
Data model changes
n/a
Issue fork ui_patterns_settings-3544366
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
Comment #3
joao.ramos.costa commentedComment #5
johnatas commentedHello,
Thank you @joao.ramos.costa.
I’ve just committed a fix to correct the use of a backslash instead of a pipe.
Everything is working correctly on my Drupal 11.3.3 project with UI Patterns Settings 2.4.0.
Moving the ticket to Needs review.
Comment #6
joao.ramos.costa commentedHi @johnatas, ofc 🤦 ...
Thanks a lot.