Skip to content

Commit c1583e3

Browse files
author
Jean-Baptiste GOMOND
committed
Clean up of imports
1 parent ac9fe84 commit c1583e3

27 files changed

+1220
-48
lines changed

.idea/.name

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/knp-components.iml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/scopes/scope_settings.xml

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/workspace.xml

Lines changed: 1176 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber/UsesPaginator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public function items(ItemsEvent $event)
3131
$event->target
3232
->setFirstResult($event->getOffset())
3333
->setMaxResults($event->getLimit())
34+
->setHint(CountWalker::HINT_DISTINCT, $event->options['distinct'])
3435
;
3536

3637
$fetchJoinCollection = true;

tests/Test/Pager/Pagination/AbstractPaginationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use Knp\Component\Pager\Paginator;
55
use Symfony\Component\EventDispatcher\EventDispatcher;
66
use Test\Mock\PaginationSubscriber as MockPaginationSubscriber;
7-
use Test\Mock\CustomParameterSubscriber;
87
use Knp\Component\Pager\Event\Subscriber\Paginate\ArraySubscriber;
98

109
class AbstractPaginationTest extends BaseTestCase

tests/Test/Pager/Pagination/SlidingTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
use Test\Tool\BaseTestCase;
44
use Knp\Component\Pager\Paginator;
5-
use Knp\Component\Pager\Pagination\SlidingPagination;
6-
use Knp\Component\Pager\Pagination\PaginationInterface;
7-
use Knp\Component\Pager\Event\Subscriber\Paginate\PaginationSubscriber;
85

96
class SlidingTest extends BaseTestCase
107
{

0 commit comments

Comments
 (0)