This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Tweaking phpdoc above Environment
Super minor. This description is displayed in Symfony's `debug:autowiring` command. It occurred to me that the current description doesn't describe the "thing" that most people would be looking for - that it *renders* templates.
Thanks!
Commits
-------
fabbac88 Tweaking phpdoc above Environment
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Identity Equals - Best practices
all the equals are with identity equals, except these.
It's better normalize all the comparatives operations.
Commits
-------
60d5b4bc Identity Equals - Best practices
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Update default.rst
Add warning for potentially confusing behaviour and alternative solution.
Commits
-------
9ff9a4d3 Update default.rst
This PR was merged into the 1.x branch.
Discussion
----------
Fix format of the CHANGELOG
Change to be applied to 2.x and 3.x when merging up of course.
Commits
-------
85cb7fd0 Fix format of the CHANGELOG
This PR was submitted for the 3.x branch but it was merged into the 2.x branch instead.
Discussion
----------
IntlExtension > Return empty string when input is null
```twig
{{ inputCountry | country_name('en') }}
```
When `inputCountry` is `null` it will give this error:
```
Argument 1 passed to Twig\Extra\Intl\IntlExtension::getCountryName() must be of the type string, null given
```
With this change, an empty string will be returned instead.
See discussion in https://github.com/twigphp/Twig/pull/3257#issuecomment-585740408
Commits
-------
caecd2a5 IntlExtension > Return empty string when input is null
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead.
Discussion
----------
Update advanced.rst
Hello,
I just updated the class name 😉
Commits
-------
e030bf6e Update advanced.rst
This PR was merged into the 1.x branch.
Discussion
----------
Optimize context access on PHP 7.4
`700400` means PHP 70.4
refs https://github.com/twigphp/Twig/pull/2985
Commits
-------
e3c20d39 Fix optimize context access on PHP 7.4
This PR was merged into the 3.x branch.
Discussion
----------
allow null string in StringExtension
Fix#3250
Commits
-------
cf63844c allow null string in StringExtension
This PR was merged into the 2.x branch.
Discussion
----------
Add a check to ensure that iconv() is defined
Commits
-------
158a8530 Add a check to ensure that iconv() is defined