This PR was squashed before being merged into the 3.x branch.
Discussion
----------
[Doc] Replace http links with https
Commits
-------
ae429bd5 [Doc] Replace http links with https
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Rename hash to mapping and array to sequence
Commits
-------
bc19f2f4 Tweak
c44be99a Rename array to sequence
5157402a Rename hash to mapping
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
[Doc] Correct Order & Explanation on precedence
Following this [issue](https://github.com/twigphp/Twig/issues/3714), i worked on it trying to make it simple and easy to understand
Indeed order of the precedence was not good for ``b-and``, ``b-xor`` and ``b-and``.
Code [here ](https://github.com/twigphp/Twig/blob/3.x/src/Extension/CoreExtension.php#L280) to understand. I also added additional explanations.
Commits
-------
01e0b7ce [Doc] Correct Order & Explanation on precedence
This PR was merged into the 3.x branch.
Discussion
----------
Removed duplicate sentence in macro scoping
Commits
-------
73f5cad8 Remove duplicate sentence in macro scoping
This PR was squashed before being merged into the 3.x branch.
Discussion
----------
Adding support for the ...spread operator on arrays and hashes
Hi!
Long time user, first time contributor of a real future. I hope I didn't miss anything - but this seemed quite straightforward in the end.
Notes:
* In PHP 7.3 or lower, using the spread operator will result in a Twig syntax error.
* In 8.0 or lower, using the spread operator on a hash will result in a Twig syntax error.
fabbot failures are unrelated, so I'm not touching them.
Cheers!
Commits
-------
ba4fe3ba Adding support for the ...spread operator on arrays and hashes
This PR was merged into the 3.x branch.
Discussion
----------
Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting.
Since PHP 8.0, IntlDateFormatter get new constants to format relative dates. This PR add those constants.
Commits
-------
5776f760 Add the new PHP 8.0 IntlDateFormatter::RELATIVE_* constants for date formatting.