optimize access to loop, key and value variables
Fixed usage of LimitIterator
bug #1531 Fixed usage of LimitIterator (grachov)

This PR was squashed before being merged into the 1.16-dev branch (closes #1531).

Discussion
----------

Fixed usage of LimitIterator

When you want to get all items from the start position to the end, for `array_slice` you should pass `null` as the `length` argument, while for `LimitIterator` it should be `-1`.

Commits
-------

f76e67f Fixed usage of LimitIterator
updated CHANGELOG
fixed formatting in the docs
Fix MB characters handling in split
bug #1521 Fix MB characters handling in split (1emming)

This PR was squashed before being merged into the 1.16-dev branch (closes #1521).

Discussion
----------

Fix MB characters handling in split

The PR fixes using multibyte characters in the ```split```-filter

Since I messed up the rebase of https://github.com/fabpot/Twig/pull/1446 I created a new PR.
Let me know if this something that is kind of wanted, thanks!

Commits
-------

8cde52d Fix MB characters handling in split
updated CHANGELOG
fixed CS
feature #1443 optimize access to loop, key and value variables (linniksa)

This PR was merged into the 1.16-dev branch.

Discussion
----------

optimize access to loop, key and value variables

small optimization variable access (loop, key and value) inside for loop

Commits
-------

33ca8d1 optimize access to loop, key and value variables
updated CHANGELOG
added some more tests
Make date_modify work with DateTimeImmutable
bug #1533 Make date_modify work with DateTimeImmutable (globin)

This PR was squashed before being merged into the 1.16-dev branch (closes #1533).

Discussion
----------

Make date_modify work with DateTimeImmutable

Use the return value of `$date->modify` because `DateTimeImmutable::modify`
returns the modified object and does not modify the object modify was
called on.

Commits
-------

a5fe46f Make date_modify work with DateTimeImmutable
fixed CS
updated CHANGELOG
made it clear that Twig_Loader_String must not be used by end users
fixed macros when using an argument named like a PHP super globa
Delete license in twig extension

This file is outdated and does not seem useful as there is already a license in the root which covers also this.
added missing tests