Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBX-8139: Dropped class_alias BC layer statements from all classes #69

Merged
merged 3 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,13 @@
},
"autoload": {
"psr-4": {
"EzSystems\\EzPlatformContentFormsBundle\\": "src/bundle/",
"EzSystems\\EzPlatformContentForms\\": "src/lib/",
"EzSystems\\EzPlatformContentForms\\Features\\": "features/",
"Ibexa\\ContentForms\\": "src/lib/",
"Ibexa\\Bundle\\ContentForms\\": "src/bundle/",
"Ibexa\\Contracts\\ContentForms\\": "src/contracts/"
}
},
"autoload-dev": {
"psr-4": {
"EzSystems\\EzPlatformContentForms\\Tests\\": "tests/lib/",
"EzSystems\\EzPlatformContentFormsBundle\\Tests\\": "tests/bundle/",
"Ibexa\\Tests\\Bundle\\ContentForms\\": "tests/bundle/",
"Ibexa\\Tests\\Integration\\ContentForms\\": "tests/integration/",
"Ibexa\\Tests\\ContentForms\\": "tests/lib/"
Expand Down
2 changes: 0 additions & 2 deletions src/bundle/Controller/ContentEditController.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,3 @@ public function editVersionDraftSuccessAction(ContentEditSuccessView $view): Con
return $view;
}
}

class_alias(ContentEditController::class, 'EzSystems\EzPlatformContentFormsBundle\Controller\ContentEditController');
2 changes: 0 additions & 2 deletions src/bundle/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,5 +228,3 @@ public function editAction(
);
}
}

class_alias(UserController::class, 'EzSystems\EzPlatformContentFormsBundle\Controller\UserController');
2 changes: 0 additions & 2 deletions src/bundle/Controller/UserRegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@ public function registerConfirmAction()
return $this->userRegisterController->registerConfirmAction();
}
}

class_alias(UserRegisterController::class, 'EzSystems\EzPlatformContentFormsBundle\Controller\UserRegisterController');
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(FieldTypeFormMapperDispatcherPass::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Compiler\FieldTypeFormMapperDispatcherPass');
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ class ContentCreateView extends View
public const NODE_KEY = 'content_create_view';
public const INFO = 'Template selection settings when displaying a content create form';
}

class_alias(ContentCreateView::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentCreateView');
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@ public function mapConfig(array &$scopeSettings, $currentScope, ContextualizerIn
}
}
}

class_alias(ContentEdit::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentEdit');
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ class ContentEditView extends View
public const NODE_KEY = 'content_edit_view';
public const INFO = 'Template selection settings when displaying a content edit form';
}

class_alias(ContentEditView::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\ContentEditView');
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ public function mapConfig(array &$scopeSettings, $currentScope, ContextualizerIn
}
}
}

class_alias(UserEdit::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\Configuration\Parser\UserEdit');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/IbexaContentFormsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ private function shouldLoadTestServices(ContainerBuilder $container): bool
&& true === $container->getParameter('ibexa.behat.browser.enabled');
}
}

class_alias(IbexaContentFormsExtension::class, 'EzSystems\EzPlatformContentFormsBundle\DependencyInjection\EzPlatformContentFormsExtension');
2 changes: 0 additions & 2 deletions src/bundle/IbexaContentFormsBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ public function build(ContainerBuilder $container)
$eZExtension->addDefaultSettings(__DIR__ . '/Resources/config', ['ezpublish_default_settings.yaml']);
}
}

class_alias(IbexaContentFormsBundle::class, 'EzSystems\EzPlatformContentFormsBundle\EzPlatformContentFormsBundle');
7 changes: 0 additions & 7 deletions src/contracts/Data/Content/FieldData.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,3 @@ public function getFieldTypeIdentifier()
return $this->fieldDefinition->fieldTypeIdentifier;
}
}

class_alias(
FieldData::class,
\EzSystems\RepositoryForms\Data\Content\FieldData::class
);

class_alias(FieldData::class, 'EzSystems\EzPlatformContentForms\Data\Content\FieldData');
7 changes: 0 additions & 7 deletions src/contracts/FieldType/FieldValueFormMapperInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,3 @@ interface FieldValueFormMapperInterface
*/
public function mapFieldValueForm(FormInterface $fieldForm, FieldData $data);
}

class_alias(
FieldValueFormMapperInterface::class,
\EzSystems\RepositoryForms\FieldType\FieldValueFormMapperInterface::class
);

class_alias(FieldValueFormMapperInterface::class, 'EzSystems\EzPlatformContentForms\FieldType\FieldValueFormMapperInterface');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/ContentEditContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,5 +193,3 @@ public function aContentCreationFormIsDisplayed()
$this->visit('/content/create/nodraft/folder/eng-GB/2');
}
}

class_alias(ContentEditContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\ContentEditContext');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/ContentTypeContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,3 @@ public function updateFieldDefinition($identifier, FieldDefinitionUpdateStruct $
);
}
}

class_alias(ContentTypeContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\ContentTypeContext');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/FieldTypeFormContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,3 @@ private function getRequiredFieldTypeExceptions(string $fieldTypeIdentifier): ar
return [];
}
}

class_alias(FieldTypeFormContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\FieldTypeFormContext');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/PagelayoutContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,3 @@ public function getPageLayout(): string
: $this->configResolver->getParameter('pagelayout', null, 'site');
}
}

class_alias(PagelayoutContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\PagelayoutContext');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/SelectionFieldTypeFormContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,3 @@ public function theInputIsAMultipleSelectionDropdown()
$this->assertSession()->elementExists('css', $selector);
}
}

class_alias(SelectionFieldTypeFormContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\SelectionFieldTypeFormContext');
2 changes: 0 additions & 2 deletions src/lib/Behat/Context/UserRegistrationContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,5 +388,3 @@ public function thePageIsRenderedUsingTheTemplateConfiguredIn($template)
);
}
}

class_alias(UserRegistrationContext::class, 'EzSystems\EzPlatformContentForms\Behat\Context\UserRegistrationContext');
2 changes: 0 additions & 2 deletions src/lib/ConfigResolver/MaxUploadSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,3 @@ protected function stringToBytes(string $str): int
return (int) $value;
}
}

class_alias(MaxUploadSize::class, 'EzSystems\EzPlatformContentForms\ConfigResolver\MaxUploadSize');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Builder/AbstractContentViewBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,3 @@ protected function resolveLanguage(array $parameters): Language
);
}
}

class_alias(AbstractContentViewBuilder::class, 'EzSystems\EzPlatformContentForms\Content\View\Builder\AbstractContentViewBuilder');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Builder/ContentCreateViewBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,3 @@ private function resolveLocation(array $parameters): Location
);
}
}

class_alias(ContentCreateViewBuilder::class, 'EzSystems\EzPlatformContentForms\Content\View\Builder\ContentCreateViewBuilder');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Builder/ContentEditViewBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,3 @@ private function resolveLocation(array $parameters): ?Location
return null;
}
}

class_alias(ContentEditViewBuilder::class, 'EzSystems\EzPlatformContentForms\Content\View\Builder\ContentEditViewBuilder');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentCreateDraftView.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@
class ContentCreateDraftView extends BaseView implements View
{
}

class_alias(ContentCreateDraftView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentCreateDraftView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentCreateSuccessView.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function getLocation(): ?Location
return $this->location;
}
}

class_alias(ContentCreateSuccessView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentCreateSuccessView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentCreateView.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,3 @@ public function setForm(FormInterface $form)
$this->form = $form;
}
}

class_alias(ContentCreateView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentCreateView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentEditSuccessView.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function getLocation(): ?Location
return $this->location;
}
}

class_alias(ContentEditSuccessView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentEditSuccessView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentEditView.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,3 @@ public function setForm(FormInterface $form)
$this->form = $form;
}
}

class_alias(ContentEditView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentEditView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/ContentTypeValueView.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ interface ContentTypeValueView
*/
public function getContentType(): ContentType;
}

class_alias(ContentTypeValueView::class, 'EzSystems\EzPlatformContentForms\Content\View\ContentTypeValueView');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Filter/ContentCreateViewFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,3 @@ private function resolveContentCreateForm(
]);
}
}

class_alias(ContentCreateViewFilter::class, 'EzSystems\EzPlatformContentForms\Content\View\Filter\ContentCreateViewFilter');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Filter/ContentEditViewFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,3 @@ private function resolveContentEditForm(
);
}
}

class_alias(ContentEditViewFilter::class, 'EzSystems\EzPlatformContentForms\Content\View\Filter\ContentEditViewFilter');
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ protected function buildContentCreateView(array $viewConfig): ContentCreateView
return $view;
}
}

class_alias(Configured::class, 'EzSystems\EzPlatformContentForms\Content\View\Provider\ContentCreateView\Configured');
2 changes: 0 additions & 2 deletions src/lib/Content/View/Provider/ContentEditView/Configured.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ protected function buildContentEditView(array $viewConfig): ContentEditView
return $view;
}
}

class_alias(Configured::class, 'EzSystems\EzPlatformContentForms\Content\View\Provider\ContentEditView\Configured');
2 changes: 0 additions & 2 deletions src/lib/Data/Content/ContentCreateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function addLocationStruct(LocationCreateStruct $locationStruct)
$this->locationStructs[] = $locationStruct;
}
}

class_alias(ContentCreateData::class, 'EzSystems\EzPlatformContentForms\Data\Content\ContentCreateData');
2 changes: 0 additions & 2 deletions src/lib/Data/Content/ContentData.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ public function addFieldData(FieldData $fieldData)
$this->fieldsData[$fieldData->fieldDefinition->identifier] = $fieldData;
}
}

class_alias(ContentData::class, 'EzSystems\EzPlatformContentForms\Data\Content\ContentData');
2 changes: 0 additions & 2 deletions src/lib/Data/Content/ContentUpdateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ public function isNew()
return false;
}
}

class_alias(ContentUpdateData::class, 'EzSystems\EzPlatformContentForms\Data\Content\ContentUpdateData');
2 changes: 0 additions & 2 deletions src/lib/Data/Content/CreateContentDraftData.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ class CreateContentDraftData extends ValueObject

public $toLanguage;
}

class_alias(CreateContentDraftData::class, 'EzSystems\EzPlatformContentForms\Data\Content\CreateContentDraftData');
2 changes: 0 additions & 2 deletions src/lib/Data/ContentTranslationData.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ public function isNew(): bool
return false;
}
}

class_alias(ContentTranslationData::class, 'EzSystems\EzPlatformContentForms\Data\ContentTranslationData');
2 changes: 0 additions & 2 deletions src/lib/Data/Mapper/ContentCreateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,3 @@ private function configureOptions(OptionsResolver $optionsResolver)
->setAllowedTypes('parentLocation', '\\Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\LocationCreateStruct');
}
}

class_alias(ContentCreateMapper::class, 'EzSystems\EzPlatformContentForms\Data\Mapper\ContentCreateMapper');
2 changes: 0 additions & 2 deletions src/lib/Data/Mapper/ContentUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ private function configureOptions(OptionsResolver $optionsResolver)
->setDefault('currentFields', []);
}
}

class_alias(ContentUpdateMapper::class, 'EzSystems\EzPlatformContentForms\Data\Mapper\ContentUpdateMapper');
2 changes: 0 additions & 2 deletions src/lib/Data/Mapper/FormDataMapperInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,3 @@ interface FormDataMapperInterface
*/
public function mapToFormData(ValueObject $repositoryValueObject, array $params = []);
}

class_alias(FormDataMapperInterface::class, 'EzSystems\EzPlatformContentForms\Data\Mapper\FormDataMapperInterface');
2 changes: 0 additions & 2 deletions src/lib/Data/Mapper/UserCreateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,3 @@ private function configureOptions(OptionsResolver $optionsResolver): void
$optionsResolver->setRequired('mainLanguageCode');
}
}

class_alias(UserCreateMapper::class, 'EzSystems\EzPlatformContentForms\Data\Mapper\UserCreateMapper');
2 changes: 0 additions & 2 deletions src/lib/Data/Mapper/UserUpdateMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,3 @@ private function configureOptions(OptionsResolver $optionsResolver)
$optionsResolver->setRequired(['languageCode']);
}
}

class_alias(UserUpdateMapper::class, 'EzSystems\EzPlatformContentForms\Data\Mapper\UserUpdateMapper');
2 changes: 0 additions & 2 deletions src/lib/Data/NewnessCheckable.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ interface NewnessCheckable
*/
public function isNew();
}

class_alias(NewnessCheckable::class, 'EzSystems\EzPlatformContentForms\Data\NewnessCheckable');
2 changes: 0 additions & 2 deletions src/lib/Data/NewnessChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,3 @@ public function isNew()
*/
abstract protected function getIdentifierValue();
}

class_alias(NewnessChecker::class, 'EzSystems\EzPlatformContentForms\Data\NewnessChecker');
2 changes: 0 additions & 2 deletions src/lib/Data/User/UserAccountFieldData.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,3 @@ public function __construct($username, $password, $email, $enabled = true)
$this->enabled = $enabled;
}
}

class_alias(UserAccountFieldData::class, 'EzSystems\EzPlatformContentForms\Data\User\UserAccountFieldData');
2 changes: 0 additions & 2 deletions src/lib/Data/User/UserCreateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,3 @@ public function setRoleLimitation(?RoleLimitation $roleLimitation): void
$this->roleLimitation = $roleLimitation;
}
}

class_alias(UserCreateData::class, 'EzSystems\EzPlatformContentForms\Data\User\UserCreateData');
2 changes: 0 additions & 2 deletions src/lib/Data/User/UserUpdateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,3 @@ public function isNew()
return false;
}
}

class_alias(UserUpdateData::class, 'EzSystems\EzPlatformContentForms\Data\User\UserUpdateData');
2 changes: 0 additions & 2 deletions src/lib/Event/ContentCreateFieldOptionsEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,3 @@ public function getOption(string $option)
return $this->options[$option] ?? null;
}
}

class_alias(ContentCreateFieldOptionsEvent::class, 'EzSystems\EzPlatformContentForms\Event\ContentCreateFieldOptionsEvent');
2 changes: 0 additions & 2 deletions src/lib/Event/ContentFormEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,3 @@ final class ContentFormEvents
*/
public const CONTENT_CREATE_FIELD_OPTIONS = 'content.create.field.options';
}

class_alias(ContentFormEvents::class, 'EzSystems\EzPlatformContentForms\Event\ContentFormEvents');
2 changes: 0 additions & 2 deletions src/lib/Event/ContentUpdateFieldOptionsEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,5 +85,3 @@ public function getOption(string $option)
return $this->options[$option] ?? null;
}
}

class_alias(ContentUpdateFieldOptionsEvent::class, 'EzSystems\EzPlatformContentForms\Event\ContentUpdateFieldOptionsEvent');
2 changes: 0 additions & 2 deletions src/lib/Event/FormActionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -164,5 +164,3 @@ public function setPayload(string $name, $payload): void
$this->payloads[$name] = $payload;
}
}

class_alias(FormActionEvent::class, 'EzSystems\EzPlatformContentForms\Event\FormActionEvent');
2 changes: 0 additions & 2 deletions src/lib/EventListener/ViewTemplatesListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ private function getTemplatesMap(): array
];
}
}

class_alias(ViewTemplatesListener::class, 'EzSystems\EzPlatformContentForms\EventListener\ViewTemplatesListener');
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,3 @@ public function getReverseTransformedValue($value)
return new $this->valueClass($properties);
}
}

class_alias(AbstractBinaryBaseTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\AbstractBinaryBaseTransformer');
2 changes: 0 additions & 2 deletions src/lib/FieldType/DataTransformer/AuthorValueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ public function reverseTransform($value)
return new Value($authors);
}
}

class_alias(AuthorValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\AuthorValueTransformer');
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,3 @@ public function reverseTransform($value)
return $valueObject;
}
}

class_alias(BinaryFileValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\BinaryFileValueTransformer');
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,3 @@ public function reverseTransform($value)
return Value::fromTimestamp($value);
}
}

class_alias(DateTimeValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\DateTimeValueTransformer');
2 changes: 0 additions & 2 deletions src/lib/FieldType/DataTransformer/DateValueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,3 @@ public function reverseTransform($value)
return Value::fromTimestamp($value);
}
}

class_alias(DateValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\DateValueTransformer');
2 changes: 0 additions & 2 deletions src/lib/FieldType/DataTransformer/FieldValueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,3 @@ public function reverseTransform($value)
return $this->fieldType->fromHash($value);
}
}

class_alias(FieldValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\FieldValueTransformer');
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,3 @@ public function reverseTransform($value): ?Value
return new Value($value['destinationContentId'], $value['alternativeText']);
}
}

class_alias(ImageAssetValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\ImageAssetValueTransformer');
2 changes: 0 additions & 2 deletions src/lib/FieldType/DataTransformer/ImageValueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,3 @@ public function reverseTransform($value)
return $valueObject;
}
}

class_alias(ImageValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\ImageValueTransformer');
2 changes: 0 additions & 2 deletions src/lib/FieldType/DataTransformer/KeywordValueTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ public function reverseTransform($value)
return new Value($value);
}
}

class_alias(KeywordValueTransformer::class, 'EzSystems\EzPlatformContentForms\FieldType\DataTransformer\KeywordValueTransformer');
Loading
Loading