Closed (fixed)
Project:
Drupal core
Version:
11.3.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Nov 2025 at 18:54 UTC
Updated:
24 Nov 2025 at 16:49 UTC
Jump to comment: Most recent
Comments
Comment #2
alexpottComment #4
smustgrave commented@alexpott where are you seeing this error? I ran it locally with 8.5 and didn't get any deprecation warnings or anything.
Comment #5
dcam commentedI couldn't get it to fail locally with PHP 8.5 either. But afterward I realized that we have another potential conflict with the upcoming Drupal.Array.Array.LongLineDeclaration sniff.
Comment #6
alexpottThis code does not fail the PHPCS rule. It is already checked by said rule and passes. The limit is not 80 chars it is 160 chars. Let's not mentally apply it. If you're going to set code to needs work because of a failing a PHPCS rule please check first.
Comment #7
alexpottWell this code is not checked BUT it does not fail the rule. The limit is 120 and not 80 so we're fine - so my point in #6 still stands.
Comment #8
smustgrave commentedWhat about #4
Comment #9
alexpott@smustgrave this is definitely a problem. It's a null as an array key which this whole thing the deprecation is about.
From our own runner... https://git.drupalcode.org/issue/drupal-3556717/-/jobs/7213067#L3921
[edit: swapped to a better link]
Comment #10
smustgrave commentedSo relying on the pipeline which runs RC4. ddev still uses RC3 which is why I'm not seeing this.
Comment #13
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!