New depreciation messages after upgrade to 2.3.0 form 2.2.0
mkalisz77 opened this issue · comments
Depreciation messages appears:
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.
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.
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.
Don't know how I can remove this depreciation messages.
KnpMenuBundle 2.2.0 has been released a few hours ago, and fixes these