Skip to content

Commit

Permalink
Apply CS fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Nov 2, 2023
1 parent 4ff709e commit 764bd53
Showing 1 changed file with 58 additions and 58 deletions.
116 changes: 58 additions & 58 deletions tests/Fixer/Whitespace/ArrayIndentationFixerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -855,43 +855,43 @@ class="link"

yield 'array destructuring' => [
<<<'EXPECTED'
<?php
[
$foo,
$bar,
$baz
] = $arr;
EXPECTED
<?php
[
$foo,
$bar,
$baz
] = $arr;
EXPECTED
,
<<<'INPUT'
<?php
[
$foo,
$bar,
$baz
] = $arr;
INPUT
<?php
[
$foo,
$bar,
$baz
] = $arr;
INPUT
,
];

yield 'array destructuring using list' => [
<<<'EXPECTED'
<?php
list(
$foo,
$bar,
$baz
) = $arr;
EXPECTED
<?php
list(
$foo,
$bar,
$baz
) = $arr;
EXPECTED
,
<<<'INPUT'
<?php
list(
$foo,
$bar,
$baz
) = $arr;
INPUT
<?php
list(
$foo,
$bar,
$baz
) = $arr;
INPUT
,
];
}
Expand Down Expand Up @@ -948,43 +948,43 @@ public static function provideFixWithTabsCases(): iterable

yield 'array destructuring' => [
<<<EXPECTED
<?php
[
\t\$foo,
\t\$bar,
\t\$baz
] = \$arr;
EXPECTED
<?php
[
\t\$foo,
\t\$bar,
\t\$baz
] = \$arr;
EXPECTED
,
<<<INPUT
<?php
[
\$foo,
\$bar,
\$baz
] = \$arr;
INPUT
<<<'INPUT'
<?php
[
$foo,
$bar,
$baz
] = $arr;
INPUT
,
];

yield 'array destructuring using list' => [
<<<EXPECTED
<?php
list(
\t\$foo,
\t\$bar,
\t\$baz
) = \$arr;
EXPECTED
<?php
list(
\t\$foo,
\t\$bar,
\t\$baz
) = \$arr;
EXPECTED
,
<<<INPUT
<?php
list(
\$foo,
\$bar,
\$baz
) = \$arr;
INPUT
<<<'INPUT'
<?php
list(
$foo,
$bar,
$baz
) = $arr;
INPUT
,
];
}
Expand Down

0 comments on commit 764bd53

Please sign in to comment.