Symfony2にKnpPaginatorBundleを導入して使っています。
knplabs/knp-paginator-bundle (dev-master 5147740)
下記の一文を実行すると次のメッセージが表示されます。
php
1<th{% if pagination.isSorted('a.Title') %} class="sorted"{% endif %}>{{ knp_pagination_sortable(pagination, 'Title', 'a.title')|raw }}</th>
The hardcoded value you are using for the $referenceType argument of the Symfony\Component\Routing\Generator\UrlGenerator::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead.
Issuesを見ると...
Fix deprecated absolute path option
https://github.com/KnpLabs/KnpPaginatorBundle/pull/364
対応されている(?)ようなのですが、どうなんでしょうか?
見出しの数だけ出てしまうので...デバックする時にちょっといやです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。