Skip to content

Commit 8d4c888

Browse files
committed
fix: sytnax error for PHP 7.1
Signed-off-by: Jack Cherng <[email protected]>
1 parent aa34ce3 commit 8d4c888

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/IgnoreWhitespaceTest.php

+8-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ function foo(\DateTimeImmutable $date)
3535
}
3636
}
3737

38-
OLD,
38+
OLD
39+
,
3940
<<<'NEW'
4041
<?php
4142
@@ -44,7 +45,8 @@ function foo(\DateTimeImmutable $date)
4445
echo 'foo';
4546
}
4647

47-
NEW,
48+
NEW
49+
,
4850
<<<'DIFF'
4951
@@ -2,9 +2,5 @@
5052
@@ -78,7 +80,8 @@ function foo()
7880
7981
}
8082

81-
OLD,
83+
OLD
84+
,
8285
<<<'NEW'
8386
<?php
8487
@@ -92,7 +95,8 @@ function foo()
9295
9396
}
9497

95-
NEW,
98+
NEW
99+
,
96100
<<<'DIFF'
97101
@@ -6,11 +6,6 @@
98102
{

0 commit comments

Comments
 (0)