We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First reported here: symfony/symfony-docs#20078
When using underscores to make config more readable, some numeric values are wrongly (and partially) highlighted as strings instead of numbers:
The text was updated successfully, but these errors were encountered:
I did some digging.
It looks like what is happening is:
Possible fixes:
I think the first option should be the most straightforward and the less risky. The second option may be better in the long term.
On the symfony part, it looks like https://github.com/symfony/yaml/blob/fa34c77015aa6720469db7003567b9f772492bf2/Inline.php#L695-L738 is responsible to convert numbers. From my understanding we can have _ anywhere: _32 will be considered as a number (TODO: test).
_
_32
Sorry, something went wrong.
4443a68
Successfully merging a pull request may close this issue.
First reported here: symfony/symfony-docs#20078
When using underscores to make config more readable, some numeric values are wrongly (and partially) highlighted as strings instead of numbers:
The text was updated successfully, but these errors were encountered: