Skip to content

Commit a79be3e

Browse files
committed
fix - invalid php version, fails on 5.6
1 parent c1ba7db commit a79be3e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Original/514-added-semicolon.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
//passes:AutoSemicolon
3-
3+
//version:7
44
$j->first(fn($a) => $a === 2) ?? 3;
55

66
$j->first(fn($a) => $a === 1)

tests/Original/514-added-semicolon.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
//passes:AutoSemicolon
3-
3+
//version:7
44
$j->first(fn($a) => $a === 2) ?? 3;
55

66
$j->first(fn($a) => $a === 1) ?? 1;

0 commit comments

Comments
 (0)