KnpLabs / KnpMenu

Menu Library for PHP

Home Page:https://knplabs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not passing a RequestStack as the first argument for "Knp\Menu\Matcher\Voter\RouteVoter"

ickbinhier opened this issue · comments

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.

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.

If you are using KnpMenuBundle, you need to update it to the latest version.

oh sorry....