Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2025 at 04:58 UTC
Updated:
10 Nov 2025 at 16:34 UTC
Jump to comment: Most recent
The sniff, Drupal.Array.Array.LongLineDeclaration is not enabled.
Enable Drupal.Array.Array.LongLineDeclaration in core/modules/*/Plugin/* directories.
There are no strict standards for how to split a call to a function across multiple lines. The changes try to be the best fit for readability and the current style used in the file or method.
Review
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
quietone commentedComment #4
smustgrave commentedSeems straight forward and phpcs change would of caught any misses
Comment #5
catchOne or two of these I'm not sure the long array syntax is necessarily an improvement, but most are.
Committed/pushed to 11.x, thanks!