Skip to content

Commit a537922

Browse files
committed
Use short array deconstruction syntax.
1 parent 2f4b049 commit a537922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ErrorProcessInitiator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
require \dirname(__DIR__).'/vendor/autoload.php';
1818

19-
list('e' => $php) = getopt('e:') + ['e' => 'php'];
19+
['e' => $php] = getopt('e:') + ['e' => 'php'];
2020

2121
try {
2222
$process = new Process("exec $php -r \"echo 'ready'; trigger_error('error', E_USER_ERROR);\"");

0 commit comments

Comments
 (0)