diff --git a/eZ/Publish/API/Repository/Values/Content/Query/Criterion/IsBookmarked.php b/src/contracts/Repository/Values/Content/Query/Criterion/IsBookmarked.php similarity index 94% rename from eZ/Publish/API/Repository/Values/Content/Query/Criterion/IsBookmarked.php rename to src/contracts/Repository/Values/Content/Query/Criterion/IsBookmarked.php index c713103b63..24a56f9c20 100644 --- a/eZ/Publish/API/Repository/Values/Content/Query/Criterion/IsBookmarked.php +++ b/src/contracts/Repository/Values/Content/Query/Criterion/IsBookmarked.php @@ -6,7 +6,7 @@ */ declare(strict_types=1); -namespace eZ\Publish\API\Repository\Values\Content\Query\Criterion; +namespace Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion; use eZ\Publish\API\Repository\Values\Content\Query\Criterion; use eZ\Publish\API\Repository\Values\Content\Query\Criterion\Operator\Specifications; diff --git a/eZ/Publish/API/Repository/Values/Content/Query/SortClause/BookmarkId.php b/src/contracts/Repository/Values/Content/Query/SortClause/BookmarkId.php similarity index 90% rename from eZ/Publish/API/Repository/Values/Content/Query/SortClause/BookmarkId.php rename to src/contracts/Repository/Values/Content/Query/SortClause/BookmarkId.php index ea128295d6..3574b68695 100644 --- a/eZ/Publish/API/Repository/Values/Content/Query/SortClause/BookmarkId.php +++ b/src/contracts/Repository/Values/Content/Query/SortClause/BookmarkId.php @@ -6,7 +6,7 @@ */ declare(strict_types=1); -namespace eZ\Publish\API\Repository\Values\Content\Query\SortClause; +namespace Ibexa\Contracts\Core\Repository\Values\Content\Query\SortClause; use eZ\Publish\API\Repository\Values\Content\Query; use eZ\Publish\API\Repository\Values\Content\Query\SortClause; diff --git a/eZ/Publish/Core/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php b/src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php similarity index 82% rename from eZ/Publish/Core/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php rename to src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php index ad31c82a1f..a6e71b376f 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php +++ b/src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilder.php @@ -6,13 +6,14 @@ */ declare(strict_types=1); -namespace eZ\Publish\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location; +namespace Ibexa\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location; use Doctrine\DBAL\ParameterType; -use eZ\Publish\API\Repository\Values\Content\Query\Criterion\IsBookmarked; use eZ\Publish\Core\Persistence\Legacy\Bookmark\Gateway\DoctrineDatabase; +use eZ\Publish\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location\BaseLocationCriterionQueryBuilder; use eZ\Publish\SPI\Persistence\Filter\Doctrine\FilteringQueryBuilder; use eZ\Publish\SPI\Repository\Values\Filter\FilteringCriterion; +use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion\IsBookmarked; /** * @internal for internal use by Repository Filtering diff --git a/eZ/Publish/Core/Persistence/Legacy/Tests/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php b/tests/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php similarity index 75% rename from eZ/Publish/Core/Persistence/Legacy/Tests/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php rename to tests/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php index 88e1127286..7c615fc563 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Tests/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php +++ b/tests/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/BookmarkQueryBuilderTest.php @@ -6,11 +6,12 @@ */ declare(strict_types=1); -namespace eZ\Publish\Core\Persistence\Legacy\Tests\Filter\CriterionQueryBuilder\Location; +namespace Ibexa\Tests\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location; -use eZ\Publish\API\Repository\Values\Content\Query\Criterion; -use eZ\Publish\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location\BookmarkQueryBuilder; +use eZ\Publish\API\Repository\Values\Content\Query\Criterion as EzCriterion; use eZ\Publish\Core\Persistence\Legacy\Tests\Filter\BaseCriterionVisitorQueryBuilderTestCase; +use Ibexa\Contracts\Core\Repository\Values\Content\Query\Criterion; +use Ibexa\Core\Persistence\Legacy\Filter\CriterionQueryBuilder\Location\BookmarkQueryBuilder; final class BookmarkQueryBuilderTest extends BaseCriterionVisitorQueryBuilderTestCase { @@ -23,7 +24,7 @@ public function getFilteringCriteriaQueryData(): iterable ]; yield 'Bookmarks locations for user_id=14 OR user_id=7' => [ - new Criterion\LogicalOr( + new EzCriterion\LogicalOr( [ new Criterion\IsBookmarked(14), new Criterion\IsBookmarked(7), diff --git a/eZ/Publish/Core/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php b/vendor/ibexa/core/src/lib/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php similarity index 92% rename from eZ/Publish/Core/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php rename to vendor/ibexa/core/src/lib/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php index ac2c8ea4e0..9e8f4adced 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php +++ b/vendor/ibexa/core/src/lib/Persistence/Legacy/Filter/SortClauseQueryBuilder/Bookmark/IdSortClauseQueryBuilder.php @@ -6,7 +6,7 @@ */ declare(strict_types=1); -namespace eZ\Publish\Core\Persistence\Legacy\Filter\SortClauseQueryBuilder\Bookmark; +namespace Ibexa\Core\Persistence\Legacy\Filter\SortClauseQueryBuilder\Bookmark; use eZ\Publish\API\Repository\Values\Content\Query\SortClause\BookmarkId; use eZ\Publish\SPI\Persistence\Filter\Doctrine\FilteringQueryBuilder;