Skip to content

Commit 9617915

Browse files
committed
[TASK] Avoid heredoc in another test
This allows the testcase being autoformatted without breaking the tests for PHP 7.2. https://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
1 parent 51a3c0a commit 9617915

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/OutputFormatTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
*/
1616
final class OutputFormatTest extends TestCase
1717
{
18-
private const TEST_CSS = <<<EOT
19-
18+
private const TEST_CSS = '
2019
.main, .test {
2120
font: italic normal bold 16px/1.2 "Helvetica", Verdana, sans-serif;
2221
background: white;
@@ -29,8 +28,7 @@ final class OutputFormatTest extends TestCase
2928
background-color: #fff;
3029
}
3130
}
32-
33-
EOT;
31+
';
3432

3533
/**
3634
* @var Parser

0 commit comments

Comments
 (0)