In "src/Plugin/views/filter/MediaDirectory.php" there needs to be a question mark in front of "array" to avoid notices under PHP 8.4:
public function init(ViewExecutable $view, DisplayPluginBase $display, ?array &$options = NULL)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3538756.patch | 716 bytes | rgpublic |
Issue fork media_directories-3538756
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 #2
rgpublicComment #3
ytsurkThanks for your report. I will check when I find time.
Comment #4
rgpublic@ytsurk: Just a quick reminder. I'm sure you have lots of other work, but this is a 1-character change and would instantly make this module compatible with PHP 8.4, so a very good cost / benefit ratio :-) Perhaps you could squeeze that in between?
Comment #7
rgpublic@ytsurk: Quick reminder. Could you perhaps look into this if you have a few seconds? I had to patch dozens of websites due to this single question mark missing.
Comment #8
aleevas@rgpublic thank you for your patch - I can confirm that it works correctly.
@ytsurk please move this patch to the trunk.
Thank you!
Comment #9
rgpublic@rang501: As you are listed as another maintainer... Could you perhaps take a look? It's just a single question mark that needs to be added to make this module PHP 8.4 compatible. Thank you :-)
Comment #10
rang501 commentedLooked fine to me. Merged into 2.2.x