Skip to content

Commit 899c9a9

Browse files
committed
Trailing commas after HEREDOC ending statements are only supported in PHP 7.3 and above.
1 parent f52ad8f commit 899c9a9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/src/ScssCommandsTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* Tests the command wrappers for Robo "assets" tasks.
1515
*
1616
* @coversDefaultClass \TaskRunner\Scss\TaskRunner\Commands\ScssCommands
17+
* @phpcs:disable SlevomatCodingStandard.Arrays.TrailingArrayComma
1718
*/
1819
final class ScssCommandsTest extends TestCase
1920
{
@@ -64,19 +65,19 @@ public function compileScssDataProvider(): array
6465
nav ul li { color:#111; }
6566
6667
67-
CSS,
68+
CSS
6869
],
6970
[
7071
'compressed',
7172
<<<CSS
7273
nav ul{margin:0}nav ul li{color:#111}
73-
CSS,
74+
CSS
7475
],
7576
[
7677
'crunched',
7778
<<<CSS
7879
nav ul{margin:0}nav ul li{color:#111}
79-
CSS,
80+
CSS
8081
],
8182
[
8283
'expanded',
@@ -88,7 +89,7 @@ public function compileScssDataProvider(): array
8889
color: #111;
8990
}
9091
91-
CSS,
92+
CSS
9293
],
9394
[
9495
'nested',
@@ -98,7 +99,7 @@ public function compileScssDataProvider(): array
9899
nav ul li {
99100
color: #111; }
100101
101-
CSS,
102+
CSS
102103
],
103104
];
104105
}

0 commit comments

Comments
 (0)