This PR was merged into the 3.x branch.
Discussion
----------
Add missing arguments in intl docs
Commits
-------
c0f02244 Add missing arguments in intl docs
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
Adding link to RFC
Reason for rewording the `twig/extra-bundle` part: It was not clear what "use" means here:
> Then, use the twig/extra-bundle on Symfony projects
Commits
-------
56fd57b3 Adding link to RFC
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
Added installation instructions
Commits
-------
4e2fd8f2 Added installation instructions
This PR was merged into the 2.x branch.
Discussion
----------
Allow installation of league/html-to-markdown 5.x
Release notes: https://github.com/thephpleague/html-to-markdown/releases/tag/5.0.0
There were no changes that would impact how this Twig Markdown Extension calls the html-to-markdown library, meaning that both 4.8+ and 5.x should be fully compatible.
Commits
-------
2c6fa023 Allow installation of league/html-to-markdown 5.x
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
added PHP 8.1 as experimental
fixes#3494
Commits
-------
bef89dcc added PHP 8.1 as experimental
This PR was merged into the 2.x branch.
Discussion
----------
[Doc] Update the Twig version where spaceless filter was added
Commits
-------
e23852c8 [Doc] Update the Twig version where spaceless filter was added
This PR was merged into the 3.x branch.
Discussion
----------
Allowing compat with Twig 2 by conditionally calling method
This is an annoying, edge-case issue. The original fix was #3463. The problem, discovered by MakerBundle's tests (I'm not sure why it didn't pop up sooner) is if you're using PHP 7.1... for example with Symfony 4.4 LTS. In that situation, if you run:
```
composer require symfony/twig-pack
```
You will get:
* `twig/twig` v2 (since v3 required PHP 7.2)
* `twig/twig-extra-bundle` 3.2.0 (3.2.1 doesn't allow `twig/twig` v2, but 3.2.0 does).
The result is the container explodes:
```
!!
!! [critical] Uncaught Error: Call to undefined method Twig\Environment::registerUndefinedTokenParserCallback()
!!
!!
!! In srcApp_KernelDevDebugContainer.php line 1176:
!!
!! Attempted to call an undefined method named "registerUndefinedTokenParserCa
!! llback" of class "Twig\Environment".
!! Did you mean to call e.g. "registerUndefinedFilterCallback" or "registerUnd
!! efinedFunctionCallback"?
```
Is this worth fixing? If not, we'll need to work around in the MakerBundle tests.
Thanks!
Commits
-------
ef15dd3a Allowing compat with Twig 2 by conditionally calling method