Closed mvorisek closed 1 year ago
@ondrejmirtes I have rebased this PR from 1.9.x to 1.20.x and the first 3 PR seems to be missing in 1.20.x! Please check that:
Because there's 1.21.x.
rebased and retargeted on 1.21.x
This PR is done. Support for PHP CS Fixer for +
has been already landed. "Test Slevomat Coding Standard" CI failures are unrelated.
Thank you. Feel free to submit another PR that allows +
at the beginning of numbers. I feel like these are two separate problems so they should be handled separately. It felt out of place in this PR but I just noticed that doctrine/annotations
also support that (and I'm currently adding support here to be also able to parse the doctrine/annotations syntax) so this will come in handy. Thank you once more.
in scientific format
+
afterE
is normally presentalso test if the parsed numbers are not converted thru native
float
/int
type which can loose precision