diff --git a/repo/rest-api/src/Infrastructure/JsonDiffJsonPatchValidator.php b/repo/rest-api/src/Infrastructure/JsonDiffJsonPatchValidator.php index 4fdf627e567..363a72277d6 100644 --- a/repo/rest-api/src/Infrastructure/JsonDiffJsonPatchValidator.php +++ b/repo/rest-api/src/Infrastructure/JsonDiffJsonPatchValidator.php @@ -7,7 +7,7 @@ use Swaggest\JsonDiff\JsonPatch; use Swaggest\JsonDiff\MissingFieldException; use Swaggest\JsonDiff\UnknownOperationException; -use Wikibase\Repo\RestApi\Domain\Services\JsonPatchValidator; +use Wikibase\Repo\RestApi\Validation\JsonPatchValidator; use Wikibase\Repo\RestApi\Validation\ValidationError; /** diff --git a/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementErrorResponse.php b/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementErrorResponse.php index 8151fd3b799..8b4a7c4b5a3 100644 --- a/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementErrorResponse.php +++ b/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementErrorResponse.php @@ -3,10 +3,10 @@ namespace Wikibase\Repo\RestApi\UseCases\PatchItemStatement; use LogicException; -use Wikibase\Repo\RestApi\Domain\Services\JsonPatchValidator; use Wikibase\Repo\RestApi\UseCases\ErrorResponse; use Wikibase\Repo\RestApi\Validation\EditMetadataValidator; use Wikibase\Repo\RestApi\Validation\ItemIdValidator; +use Wikibase\Repo\RestApi\Validation\JsonPatchValidator; use Wikibase\Repo\RestApi\Validation\StatementIdValidator; use Wikibase\Repo\RestApi\Validation\ValidationError; diff --git a/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementValidator.php b/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementValidator.php index 5279b6f9296..be12748f66a 100644 --- a/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementValidator.php +++ b/repo/rest-api/src/UseCases/PatchItemStatement/PatchItemStatementValidator.php @@ -2,9 +2,9 @@ namespace Wikibase\Repo\RestApi\UseCases\PatchItemStatement; -use Wikibase\Repo\RestApi\Domain\Services\JsonPatchValidator; use Wikibase\Repo\RestApi\Validation\EditMetadataValidator; use Wikibase\Repo\RestApi\Validation\ItemIdValidator; +use Wikibase\Repo\RestApi\Validation\JsonPatchValidator; use Wikibase\Repo\RestApi\Validation\StatementIdValidator; use Wikibase\Repo\RestApi\Validation\ValidationError; diff --git a/repo/rest-api/src/Domain/Services/JsonPatchValidator.php b/repo/rest-api/src/Validation/JsonPatchValidator.php similarity index 82% rename from repo/rest-api/src/Domain/Services/JsonPatchValidator.php rename to repo/rest-api/src/Validation/JsonPatchValidator.php index 6b7fe06ab92..651c1c9455f 100644 --- a/repo/rest-api/src/Domain/Services/JsonPatchValidator.php +++ b/repo/rest-api/src/Validation/JsonPatchValidator.php @@ -1,8 +1,6 @@