This PR was squashed before being merged into the 2.x branch (closes#3198).
Discussion
----------
Fix number formatter in Intl extra extension
Commits
-------
a6cf3f3f Fix number formatter in Intl extra extension
* 2.x:
Fix docs
Fixed doc markup
Bump version to 2.12.3-DEV
Prepare the 2.12.2 release
Update CHANGELOG
Bump version to 1.42.5-DEV
Prepare the 1.42.4 release
This PR was merged into the 1.x branch.
Discussion
----------
Add support for exponential numbers
Commits
-------
60921350 Add support for exponential numbers
This PR was squashed before being merged into the 3.x branch (closes#3186).
Discussion
----------
Fix twig compare
On twig 2.x the comparison between two variables was being done using the php operators (<, >, <=..), although on 3.x the function `twig_compare` was introduced and it had some issues
As an example
`'200' > 399` was returning `false` on twig 2.x, but on 3.x it was returning `true`.
Digging into the code I found out the comparison binaries (`GreaterBinary`, `LessBinary`, etc) were doing the wrong comparison, and the function `twig_compare` was also returning an wrong value if both variables had the same type
Now it's following the convention `-1` if first var is less, 0 if they are equal, or 1 if first var is greater
This is my first PR, so please comment if anything is wrong
Commits
-------
0d81c6e5 Fix twig compare
This PR was merged into the 3.x branch.
Discussion
----------
Fix the Travis config again
The parenthesis around the statements are isolating the directory changes in a sub-command. So the right fix was not to remove the closing parenthesis, but to re-add the opening one.
This replaces #3187, which was merged even though Travis was still broken.
Commits
-------
5a0eaccc Fix the Travis config again
The parenthesis around the statements are isolating the directory changes in a sub-command. So the right fix was not to remove the closing parenthesis, but to re-add the opening one.
This PR was merged into the 3.x branch.
Discussion
----------
Fix the Travis setup
This looks like a bad merge from 2.x to 3.x
Commits
-------
d601081b Fix the Travis setup
* 2.x:
Add .gitattributes
Add missing .gitattributes for string-extra
Update .gitattributes to remove tests from \"dist\"
Fix CS
doc: number_format add math calculation hint
This PR was squashed before being merged into the 2.x branch (closes#3153).
Discussion
----------
Update .gitattributes to remove tests from "dist"
This was proposed many times before, but considering https://github.com/symfony/symfony/pull/33579 is now merged, I propose this again. I refer to that issue as for the reasoning, as it applies here also.
I did not add the `docs` directory as there was much discussion about that before (discussion in #942)
Related: #942#1776#1981#2292#2799 2905
Commits
-------
5cde1f50 Update .gitattributes to remove tests from \"dist\"
This PR was merged into the 2.x branch.
Discussion
----------
doc: number_format add math calculation hint
Add hint about number_format and math calculation
Commits
-------
954ab4b8 doc: number_format add math calculation hint
This PR was merged into the 2.x branch.
Discussion
----------
Add twig/string-extra extension
Last step before deprecating https://github.com/twigphp/Twig-extensions entirely.
Commits
-------
00e0b531 Add missing docs
e300e379 Add twig/string-extra extension