Not passing a RequestStack as the first argument for "Knp\Menu\Matcher\Voter\RouteVoter"
ickbinhier opened this issue · comments
Andreas Lemke commented
User Deprecated: Not passing a RequestStack as the first argument for "Knp\Menu\Matcher\Voter\RouteVoter" constructor is deprecated since version 2.3 and won't be possible in 3.0.
Andreas Lemke commented
the same Problem???
User Deprecated: The Knp\Menu\Matcher\Voter\RouteVoter::setRequest() method is deprecated since version 2.3 and will be removed in 3.0. Pass a RequestStack in the constructor instead.
and
User Deprecated: The Knp\Menu\Matcher\Matcher::addVoter() method is deprecated since version 2.3 and will be removed in 3.0. Pass voters in the constructor instead.
Christophe Coevoet commented
If you are using KnpMenuBundle, you need to update it to the latest version.
Andreas Lemke commented
oh sorry....