bug #456 Fix default vars resolution for Template annotation (chalasr)
bug #456 Fix default vars resolution for Template annotation (chalasr)

This PR was merged into the 3.0 branch.

Discussion
----------

Fix default vars resolution for Template annotation

Fixes broken `@Template` default vars resolution which was relying on a buggy behavior fixed https://github.com/symfony/symfony/pull/21379 (the annotation class loader no longer sets request attributes for any argument that has a default value, but only for ones which may be expected in the route path).

Commits
-------

9ddf58a Fix default vars resolution for Template annotation

chalasr/SensioFrameworkExtraBundle,sensiolabs/SensioFrameworkExtraBundle,chalasr/SensioFrameworkExtraBundle