buildCommand method of generator outputs float values locale-aware
finwe opened this issue · comments
Matěj Humpál commented
In an environment with cs_CZ locale, arguments of the command are being output as locale aware, which is a problem with decimal page margins:
$options = [
'margin-top' => 25.4,
'margin-right' => 19.1,
'margin-bottom' => 25.4,
'margin-left' => 19.1,
];
becomes
--margin-bottom '25,4' --margin-left '19,1' --margin-right '19,1' --margin-top '25,4'
Yes, the values can be specified as strings, it would still be nice if this was handled internally.
Alessandro Pozzi commented
Hello,
Would you mind opening a PR for that?