Open argiepiano opened 1 year ago
Anonymous functions are not converted correctly.
This:
$exceptions = array_reduce($types, function (&$result, $item) { $result[] = $item['path']; return $result; }, $default_exceptions);
Results into this:
$exceptions = array_reduce($types, ($result $item){ $result[] = $item['path'] $result }, $default_exceptions);
Which has several syntax errors.
Also noting that the stripping out of the & from function variables seems to be a more widespread problem of late.
&
Anonymous functions are not converted correctly.
This:
Results into this:
Which has several syntax errors.