Fixed using of unary operators with default parameters
bug #1551 Fixed using of unary operators with default parameters (hason)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Fixed using of unary operators with default parameters

Fixes #1322

Commits
-------

5ba4e9c Fixed using of unary operators with default parameters
cleaned up tests
first argument of Twig_Loader_Array must be an array
minor #1558 first argument of Twig_Loader_Array must be an array (maxstekel)

This PR was merged into the 1.16-dev branch.

Discussion
----------

first argument of Twig_Loader_Array must be an array

Commits
-------

435534e first argument of Twig_Loader_Array must be an array
fixed alphabetic order in lists of filters and tags
minor #1566 fixed alphabetic order in lists of filters and tags (craue)

This PR was merged into the 1.16-dev branch.

Discussion
----------

fixed alphabetic order in lists of filters and tags

My eyes needed more time than expected to find the `upper` filter, so this should help. :smirk:

Commits
-------

ba04803 fixed alphabetic order in lists of filters and tags
removed @covers annotations
minor #1571 removed @covers annotations (fabpot)

This PR was merged into the 1.16-dev branch.

Discussion
----------

removed @covers annotations

I propose to remove the `@covers` annotations for the following main reasons:

 * they were only used in a limited number of test cases;
 * they limited the code coverage of nodes for no reasons (some other tests are as valid to test the nodes).

Commits
-------

4ba0789 removed @covers annotations
Fix the For optimizer, "include" function was always optimized
Use int instead of invalid timestamp type in PhpDoc
minor #1575 Use int instead of invalid timestamp type in PhpDoc (westonruter)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Use int instead of invalid timestamp type in PhpDoc

Commits
-------

d64d2b0 Use int instead of invalid timestamp type in PhpDoc
bug #1574 Fix the For optimizer, "include" function was always optimized (acasademont)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Fix the For optimizer, "include" function was always optimized

A `for`with an in `include` function was always optimized, making it impossible to use the `loop` variable inside the include unless it was explicitly passed in the `include` function parameters.

Commits
-------

4319bb9 Fix the For optimizer, "include" function was always optimized
Fixed regression for dynamic parent
Adding example with ``not`` for ``if``

I could not find an example with ``not``, so I added it here.
Add display information to slice example
The results of is_dir() are cached

So before calling is_dir() for the second time, clearstatcache of the dir
bug #1583 The results of is_dir() are cached (THofman)

This PR was merged into the 1.16-dev branch.

Discussion
----------

The results of is_dir() are cached

If a production server uses statcache, the results of the first and second call of is_dir() is always the same.
So before calling is_dir() for the second time, use clearstatcache() to clear the results of the first call of is_dir().

Commits
-------

df0d813 The results of is_dir() are cached
updated CHANGELOG
minor #1582 Add display information to slice example (paulmallet)

This PR was merged into the 1.16-dev branch.

Discussion
----------

Add display information to slice example

Displays the result of the example operation {{ '12345'[1:2] }} in the "slice" filter documentation

Commits
-------

d5fe413 Add display information to slice example