Skip to content

Commit 2f479f2

Browse files
committed
use nowdoc instead of heredoc
1 parent f5ab0c6 commit 2f479f2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Tests/ConstraintViolationListTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testToString()
110110
$this->getViolation('Error 5', '', '[baz]'),
111111
));
112112

113-
$expected = <<<EOF
113+
$expected = <<<'EOF'
114114
Root:
115115
Error 1
116116
Root.foo.bar:

Tests/ConstraintViolationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function testToStringHandlesArrays()
2626
null
2727
);
2828

29-
$expected = <<<EOF
29+
$expected = <<<'EOF'
3030
Root.property.path:
3131
Array
3232
EOF;
@@ -45,7 +45,7 @@ public function testToStringHandlesArrayRoots()
4545
null
4646
);
4747

48-
$expected = <<<EOF
48+
$expected = <<<'EOF'
4949
Array.some_value:
5050
42 cannot be used here
5151
EOF;

0 commit comments

Comments
 (0)