From b90200e0b0adfd8ace70c8f89fa4dc534f3e97d9 Mon Sep 17 00:00:00 2001 From: Nattfarinn Date: Wed, 2 Feb 2022 10:00:47 +0100 Subject: [PATCH] IBX-1853: Used rebranded namespaces in comments --- src/lib/Form/Data/ContentTypeData.php | 4 ++-- src/lib/Form/Data/FieldDefinitionData.php | 4 ++-- src/lib/Form/Type/Search/DateIntervalType.php | 2 +- .../ParamConverter/LanguageParamConverterTest.php | 12 ++++++------ .../ContentType/ContentTypeIsUserTest.php | 8 ++++---- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/lib/Form/Data/ContentTypeData.php b/src/lib/Form/Data/ContentTypeData.php index f123f025cc..9e2047ab05 100644 --- a/src/lib/Form/Data/ContentTypeData.php +++ b/src/lib/Form/Data/ContentTypeData.php @@ -13,7 +13,7 @@ /** * Base data class for ContentType update form, with FieldDefinitions data and ContentTypeDraft. * - * @property \eZ\Publish\API\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft + * @property \Ibexa\Contracts\Core\Repository\Values\ContentType\ContentTypeDraft $contentTypeDraft */ class ContentTypeData extends ContentTypeUpdateStruct implements NewnessCheckable { @@ -41,7 +41,7 @@ protected function getIdentifierValue(): string } /** - * @return iterable + * @return iterable */ public function getFlatFieldDefinitionsData(): iterable { diff --git a/src/lib/Form/Data/FieldDefinitionData.php b/src/lib/Form/Data/FieldDefinitionData.php index 10cfd1019f..2822d8be92 100644 --- a/src/lib/Form/Data/FieldDefinitionData.php +++ b/src/lib/Form/Data/FieldDefinitionData.php @@ -13,8 +13,8 @@ /** * Base class for FieldDefinition forms, with corresponding FieldDefinition object. * - * @property \eZ\Publish\API\Repository\Values\ContentType\FieldDefinition $fieldDefinition - * @property \EzSystems\EzPlatformAdminUi\Form\Data\ContentTypeData $contentTypeData + * @property \Ibexa\Contracts\Core\Repository\Values\ContentType\FieldDefinition $fieldDefinition + * @property \Ibexa\AdminUi\Form\Data\ContentTypeData $contentTypeData */ class FieldDefinitionData extends FieldDefinitionUpdateStruct { diff --git a/src/lib/Form/Type/Search/DateIntervalType.php b/src/lib/Form/Type/Search/DateIntervalType.php index bad102d986..afe6feb4c7 100644 --- a/src/lib/Form/Type/Search/DateIntervalType.php +++ b/src/lib/Form/Type/Search/DateIntervalType.php @@ -16,7 +16,7 @@ class_alias( if (false) { /** * @deprecated since 3.1, to be removed in 3.2. - * Use \EzSystems\EzPlatformAdminUi\Form\Type\Date\DateIntervalType instead + * Use \Ibexa\AdminUi\Form\Type\Date\DateIntervalType instead */ class DateIntervalType extends \Ibexa\AdminUi\Form\Type\Date\DateIntervalType { diff --git a/tests/bundle/ParamConverter/LanguageParamConverterTest.php b/tests/bundle/ParamConverter/LanguageParamConverterTest.php index 1ec077a2be..f53497d247 100644 --- a/tests/bundle/ParamConverter/LanguageParamConverterTest.php +++ b/tests/bundle/ParamConverter/LanguageParamConverterTest.php @@ -32,7 +32,7 @@ protected function setUp(): void } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::apply + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::apply * * @dataProvider dataProvider * @@ -61,7 +61,7 @@ public function testApplyForLanguageId($languageId, int $languageIdToLoad) } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::apply + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::apply */ public function testApplyForLanguageCode() { @@ -86,7 +86,7 @@ public function testApplyForLanguageCode() } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::apply + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::apply * @dataProvider dataProviderForApplyWithWrongAttribute */ public function testApplyWithWrongAttribute(array $attributes) @@ -99,7 +99,7 @@ public function testApplyWithWrongAttribute(array $attributes) } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::apply + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::apply */ public function testApplyWithNonExistingLanguageId() { @@ -125,7 +125,7 @@ public function testApplyWithNonExistingLanguageId() } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::apply + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::apply */ public function testApplyWithNonExistingLanguageCode() { @@ -151,7 +151,7 @@ public function testApplyWithNonExistingLanguageCode() } /** - * @covers \EzSystems\EzPlatformAdminUiBundle\ParamConverter\LanguageParamConverter::supports + * @covers \Ibexa\Bundle\AdminUi\ParamConverter\LanguageParamConverter::supports * @dataProvider dataProviderForSupport */ public function testSupport(string $class, bool $expected) diff --git a/tests/lib/Specification/ContentType/ContentTypeIsUserTest.php b/tests/lib/Specification/ContentType/ContentTypeIsUserTest.php index 4b81b18d50..238f355d09 100644 --- a/tests/lib/Specification/ContentType/ContentTypeIsUserTest.php +++ b/tests/lib/Specification/ContentType/ContentTypeIsUserTest.php @@ -17,7 +17,7 @@ class ContentTypeIsUserTest extends TestCase { /** - * @covers \EzSystems\EzPlatformAdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy + * @covers \Ibexa\AdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy */ public function testIsSatisfiedByInvalidArgument() { @@ -29,7 +29,7 @@ public function testIsSatisfiedByInvalidArgument() } /** - * @covers \EzSystems\EzPlatformAdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy + * @covers \Ibexa\AdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy */ public function testIsSatisfiedByCustomUserContentType() { @@ -43,7 +43,7 @@ public function testIsSatisfiedByCustomUserContentType() } /** - * @covers \EzSystems\EzPlatformAdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy + * @covers \Ibexa\AdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy */ public function testIsSatisfiedByContentTypeWithEzUserField() { @@ -58,7 +58,7 @@ public function testIsSatisfiedByContentTypeWithEzUserField() } /** - * @covers \EzSystems\EzPlatformAdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy + * @covers \Ibexa\AdminUi\Specification\ContentType\ContentTypeIsUser::isSatisfiedBy */ public function testIsSatisfiedByReturnFalse() {