Skip to content

Commit 399aa30

Browse files
Fix array double arrow alignment in kses tests
WordPress coding standards require aligned double arrows in multi-line arrays. Adjusts spacing so all arrows in the data provider align with the longest key.
1 parent cdb84fc commit 399aa30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/phpunit/tests/kses.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,11 +2720,11 @@ public function test_wp_kses_srcset_preserves_spacing( $input, $expected ) {
27202720

27212721
public function data_wp_kses_srcset_preserves_spacing() {
27222722
return array(
2723-
'no space after comma' => array(
2723+
'no space after comma' => array(
27242724
'image1.jpg 1x,image2.jpg 2x',
27252725
'image1.jpg 1x,image2.jpg 2x',
27262726
),
2727-
'single space after comma' => array(
2727+
'single space after comma' => array(
27282728
'image1.jpg 1x, image2.jpg 2x',
27292729
'image1.jpg 1x, image2.jpg 2x',
27302730
),

0 commit comments

Comments
 (0)