This PR was merged into the 1.x branch.
Discussion
----------
Fix versionadded in doc
I think those versionadded blocks don't show because they have a typo.
Commits
-------
6b25dccf Fix versionadded in doc
This PR was squashed before being merged into the 1.x branch (closes#3237).
Discussion
----------
Replace strtolower() with strtr() when dealing with method names
This is to improve consistency with the implementation of case-insensitivity for method names etc. in the Zend Engine: In fact, the ZE does not apply the internal `strtolower` implementation, but just maps ASCII `A-Z` to `a-z`.
This was done in https://github.com/php/php-src/commit/582514d4c7b216dbdc7a8429962cf3e5776206f0 to fix issues like https://bugs.php.net/bug.php?id=18556.
Additionally, `strtok` might give a tiny (measurable?) performance gain over `strtolower`, plus it is not locale-dependant.
Commits
-------
30feddef Replace strtolower() with strtr() when dealing with method names
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3223).
Discussion
----------
Remove `the`
Remove the article `the` to make a correct statement.
Commits
-------
8b8cfb0f language typo
This PR was submitted for the 3.x branch but it was merged into the 1.x branch instead (closes#3215).
Discussion
----------
[Minor] Correct return type of twig_date_converter
if a `\DateTimeImmutable` is passed to `twig_date_converter` it will return a `\DateTimeImmutable`, not a `\DateTime`.
Commits
-------
e927e859 Correct return type of twig_date_converter
This PR was merged into the 1.x branch.
Discussion
----------
Remove mentions of the obsolete twig-extensions repository
Commits
-------
7f48a181 Remove mention of the obsolete twig-extensions repository
This PR was merged into the 1.x branch.
Discussion
----------
Remove usage of the old Autoloader class in the docs
Commits
-------
240e967c Remove usage of the old Autoloader class in the docs
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 submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3163).
Discussion
----------
Fix issue #3159
Commits
-------
cfac11e9 Fix issue #3159
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3164).
Discussion
----------
Fix issue #3160
Commits
-------
4eb40f2f Fix issue #3160
This PR was submitted for the 2.x branch but it was merged into the 1.x branch instead (closes#3105).
Discussion
----------
Handle opcache_invalidate() being disabled on shared hosting platforms
This fix makes twig gracefully fail on opcache API being disabled on shared hosting platforms for security reasons.
Tested with Grav CMS.
Commits
-------
349a5f26 Handle opcache_invalidate() being disabled on shared hosting platforms
This PR was merged into the 1.x branch.
Discussion
----------
Remove usage of getmockBuilder() when not needed
/cc @jderusse
Commits
-------
5861a539 removed usage of getmockBuilder() when not needed
This PR was merged into the 1.x branch.
Discussion
----------
Update PhpUnitBridge and fix deprecations
This PR:
- update dev dependency to `phpunit-bridge` to `^4.4@dev` in order to get polyfill methods
- fix deprecated tests
- update cs-fixer rule
Commits
-------
b776e41f Update to PhpUnitBridge and fix deprecations
This PR was merged into the 1.x branch.
Discussion
----------
Fix the "empty" test on Traversable instances
closes#3101
Commits
-------
b202fe38 fixed the "empty" test on Traversable instances