Skip to content

Commit

Permalink
IBX-8139: Dropped class_alias BC layer statements from all classes (#82)
Browse files Browse the repository at this point in the history
For more details see https://issues.ibexa.co/browse/IBX-8139 and #82

Key changes:

* Dropped class_alias BC layer from production code

* Dropped class_alias BC layer from test code

* [Composer] Dropped legacy namespaces from autoload section
  • Loading branch information
alongosz authored Jun 5, 2024
1 parent bc61db7 commit 0c3fdf2
Show file tree
Hide file tree
Showing 111 changed files with 2 additions and 226 deletions.
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,14 @@
"psr-4": {
"Ibexa\\User\\": "src/lib/",
"Ibexa\\Bundle\\User\\": "src/bundle/",
"Ibexa\\Contracts\\User\\": "src/contracts/",
"EzSystems\\EzPlatformUserBundle\\": "src/bundle/",
"EzSystems\\EzPlatformUser\\": "src/lib/"
"Ibexa\\Contracts\\User\\": "src/contracts/"
}
},
"autoload-dev": {
"psr-4": {
"Ibexa\\Tests\\Bundle\\User\\": "tests/bundle/",
"Ibexa\\Tests\\User\\": "tests/lib/",
"Ibexa\\Tests\\Integration\\User\\": "tests/integration/",
"EzSystems\\EzPlatformUserBundle\\Tests\\": "tests/bundle/",
"EzSystems\\EzPlatformUser\\Tests\\": "tests/lib/"
"Ibexa\\Tests\\Integration\\User\\": "tests/integration/"
}
},
"require": {
Expand Down
2 changes: 0 additions & 2 deletions src/bundle/Command/AuditUserDatabaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,5 +159,3 @@ public function getDeprecatedAliases(): array
return ['ezplatform:user:audit_database'];
}
}

class_alias(AuditUserDatabaseCommand::class, 'EzSystems\EzPlatformUserBundle\Command\AuditUserDatabaseCommand');
2 changes: 0 additions & 2 deletions src/bundle/Controller/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ public function performAccessCheck()
$this->denyAccessUnlessGranted('IS_AUTHENTICATED_REMEMBERED');
}
}

class_alias(Controller::class, 'EzSystems\EzPlatformUserBundle\Controller\Controller');
2 changes: 0 additions & 2 deletions src/bundle/Controller/PasswordChangeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,3 @@ private function isInAdminGroup(SiteAccess $siteAccess): bool
return in_array($siteAccess->name, $this->siteAccessGroups['admin_group'], true);
}
}

class_alias(PasswordChangeController::class, 'EzSystems\EzPlatformUserBundle\Controller\PasswordChangeController');
2 changes: 0 additions & 2 deletions src/bundle/Controller/PasswordResetController.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,5 +281,3 @@ private function isNotifierConfigured(): bool
&& !empty($subscriptions[UserPasswordReset::class]['channels']);
}
}

class_alias(PasswordResetController::class, 'EzSystems\EzPlatformUserBundle\Controller\PasswordResetController');
2 changes: 0 additions & 2 deletions src/bundle/Controller/UserRegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,5 +121,3 @@ public function registerFromInvitationAction(Request $request)
return new FormView(null, ['form' => $form->createView()]);
}
}

class_alias(UserRegisterController::class, 'EzSystems\EzPlatformUserBundle\Controller\UserRegisterController');
2 changes: 0 additions & 2 deletions src/bundle/Controller/UserSettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,3 @@ public function updateAction(Request $request, UpdateView $view)
return $view;
}
}

class_alias(UserSettingsController::class, 'EzSystems\EzPlatformUserBundle\Controller\UserSettingsController');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/Compiler/SecurityPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ public function process(ContainerBuilder $container): void
}
}
}

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

class_alias(FormMapperPass::class, 'EzSystems\EzPlatformUserBundle\DependencyInjection\Compiler\UserSetting\FormMapperPass');
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(ValueDefinitionPass::class, 'EzSystems\EzPlatformUserBundle\DependencyInjection\Compiler\UserSetting\ValueDefinitionPass');
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(ChangePassword::class, 'EzSystems\EzPlatformUserBundle\DependencyInjection\Configuration\Parser\ChangePassword');
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,3 @@ public function mapConfig(array &$scopeSettings, $currentScope, ContextualizerIn
}
}
}

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

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

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

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

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

class_alias(UserRegistration::class, 'EzSystems\EzPlatformUserBundle\DependencyInjection\Configuration\Parser\UserRegistration');
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ class UserSettingsUpdateView extends View
public const NODE_KEY = 'user_settings_update_view';
public const INFO = 'Template selection settings when displaying a user setting update form';
}

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

class_alias(IbexaUserExtension::class, 'EzSystems\EzPlatformUserBundle\DependencyInjection\EzPlatformUserExtension');
2 changes: 0 additions & 2 deletions src/bundle/IbexaUserBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function build(ContainerBuilder $container)
$core->addDefaultSettings(__DIR__ . '/Resources/config', ['ezplatform_default_settings.yaml']);
}
}

class_alias(IbexaUserBundle::class, 'EzSystems\EzPlatformUserBundle\EzPlatformUserBundle');
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,3 @@ public function onAuthenticationFailure(Request $request, AuthenticationExceptio
return parent::onAuthenticationFailure($request, $exception);
}
}

class_alias(DefaultAuthenticationFailureHandler::class, 'EzSystems\EzPlatformUserBundle\Security\Authentication\DefaultAuthenticationFailureHandler');
2 changes: 0 additions & 2 deletions src/bundle/Type/UserForgotPasswordReason.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,3 @@ class UserForgotPasswordReason
{
public const MIGRATION = 'migration';
}

class_alias(UserForgotPasswordReason::class, 'EzSystems\EzPlatformUserBundle\Type\UserForgotPasswordReason');
2 changes: 0 additions & 2 deletions src/contracts/UserSetting/FormMapperInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ public function mapFieldForm(
ValueDefinitionInterface $value
): FormBuilderInterface;
}

class_alias(FormMapperInterface::class, 'EzSystems\EzPlatformUser\UserSetting\FormMapperInterface');
2 changes: 0 additions & 2 deletions src/contracts/UserSetting/ValueDefinitionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ public function getDisplayValue(string $storageValue): string;
*/
public function getDefaultValue(): string;
}

class_alias(ValueDefinitionInterface::class, 'EzSystems\EzPlatformUser\UserSetting\ValueDefinitionInterface');
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,3 @@ public function loadContentType(?string $siteAccessIdentifier = null)
);
}
}

class_alias(ConfigurableRegistrationContentTypeLoader::class, 'EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationContentTypeLoader');
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ public function loadGroup()
});
}
}

class_alias(ConfigurableRegistrationGroupLoader::class, 'EzSystems\EzPlatformUser\ConfigResolver\ConfigurableRegistrationGroupLoader');
2 changes: 0 additions & 2 deletions src/lib/ConfigResolver/ConfigurableSudoRepositoryLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,3 @@ protected function sudo(Closure $callback)
*/
abstract protected function configureOptions(OptionsResolver $optionsResolver);
}

class_alias(ConfigurableSudoRepositoryLoader::class, 'EzSystems\EzPlatformUser\ConfigResolver\ConfigurableSudoRepositoryLoader');
2 changes: 0 additions & 2 deletions src/lib/ConfigResolver/RegistrationContentTypeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ interface RegistrationContentTypeLoader
*/
public function loadContentType();
}

class_alias(RegistrationContentTypeLoader::class, 'EzSystems\EzPlatformUser\ConfigResolver\RegistrationContentTypeLoader');
2 changes: 0 additions & 2 deletions src/lib/ConfigResolver/RegistrationGroupLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ interface RegistrationGroupLoader
*/
public function loadGroup();
}

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

class_alias(ViewTemplatesListener::class, 'EzSystems\EzPlatformUser\EventListener\ViewTemplatesListener');
2 changes: 0 additions & 2 deletions src/lib/ExceptionHandler/ActionResultHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,3 @@ public function error(string $message, array $parameters = [], ?string $domain =

public function success(string $message, array $parameters = [], ?string $domain = null, ?string $locale = null): void;
}

class_alias(ActionResultHandler::class, 'EzSystems\EzPlatformUser\ExceptionHandler\ActionResultHandler');
2 changes: 0 additions & 2 deletions src/lib/ExceptionHandler/NullActionResultHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ public function success(
): void {
}
}

class_alias(NullActionResultHandler::class, 'EzSystems\EzPlatformUser\ExceptionHandler\NullActionResultHandler');
2 changes: 0 additions & 2 deletions src/lib/Form/BaseSubmitHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,3 @@ public function handle(FormInterface $form, callable $handler): ?Response
return null;
}
}

class_alias(BaseSubmitHandler::class, 'EzSystems\EzPlatformUser\Form\BaseSubmitHandler');
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,3 @@ public function loadValuesForChoices(array $choices, $value = null)
return $this->loadChoiceList($value)->getValuesForChoices($choices);
}
}

class_alias(AvailableLocaleChoiceLoader::class, 'EzSystems\EzPlatformUser\Form\ChoiceList\Loader\AvailableLocaleChoiceLoader');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserPasswordChangeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,3 @@ public function getNewPassword(): ?string
return $this->newPassword;
}
}

class_alias(UserPasswordChangeData::class, 'EzSystems\EzPlatformUser\Form\Data\UserPasswordChangeData');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserPasswordForgotData.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ public function getEmail(): ?string
return $this->email;
}
}

class_alias(UserPasswordForgotData::class, 'EzSystems\EzPlatformUser\Form\Data\UserPasswordForgotData');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserPasswordForgotWithLoginData.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,3 @@ public function getLogin(): ?string
return $this->login;
}
}

class_alias(UserPasswordForgotWithLoginData::class, 'EzSystems\EzPlatformUser\Form\Data\UserPasswordForgotWithLoginData');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserPasswordResetData.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,3 @@ public function setContentType(ContentType $contentType): void
$this->contentType = $contentType;
}
}

class_alias(UserPasswordResetData::class, 'EzSystems\EzPlatformUser\Form\Data\UserPasswordResetData');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserRegisterData.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@
class UserRegisterData extends UserCreateData
{
}

class_alias(UserRegisterData::class, 'EzSystems\EzPlatformUser\Form\Data\UserRegisterData');
2 changes: 0 additions & 2 deletions src/lib/Form/Data/UserSettingUpdateData.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function setValues(array $values): void
$this->values = $values;
}
}

class_alias(UserSettingUpdateData::class, 'EzSystems\EzPlatformUser\Form\Data\UserSettingUpdateData');
2 changes: 0 additions & 2 deletions src/lib/Form/DataMapper/UserRegisterMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,3 @@ private function configureOptions(OptionsResolver $optionsResolver)
->setAllowedTypes('invitation', Invitation::class);
}
}

class_alias(UserRegisterMapper::class, 'EzSystems\EzPlatformUser\Form\DataMapper\UserRegisterMapper');
2 changes: 0 additions & 2 deletions src/lib/Form/DataTransformer/DateTimeFormatTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,3 @@ public function reverseTransform($value): ?string
));
}
}

class_alias(DateTimeFormatTransformer::class, 'EzSystems\EzPlatformUser\Form\DataTransformer\DateTimeFormatTransformer');
2 changes: 0 additions & 2 deletions src/lib/Form/Factory/FormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,3 @@ public function updateUserSetting(
);
}
}

class_alias(FormFactory::class, 'EzSystems\EzPlatformUser\Form\Factory\FormFactory');
2 changes: 0 additions & 2 deletions src/lib/Form/Processor/UserRegisterFormProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,3 @@ private function sendNotification(User $user): void
);
}
}

class_alias(UserRegisterFormProcessor::class, 'EzSystems\EzPlatformUser\Form\Processor\UserRegisterFormProcessor');
2 changes: 0 additions & 2 deletions src/lib/Form/SubmitHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ interface SubmitHandler
{
public function handle(FormInterface $form, callable $handler): ?Response;
}

class_alias(SubmitHandler::class, 'EzSystems\EzPlatformUser\Form\SubmitHandler');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserPasswordChangeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,3 @@ public function configureOptions(OptionsResolver $resolver): void
]);
}
}

class_alias(UserPasswordChangeType::class, 'EzSystems\EzPlatformUser\Form\Type\UserPasswordChangeType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserPasswordForgotType.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ public function configureOptions(OptionsResolver $resolver)
]);
}
}

class_alias(UserPasswordForgotType::class, 'EzSystems\EzPlatformUser\Form\Type\UserPasswordForgotType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserPasswordForgotWithLoginType.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ public function configureOptions(OptionsResolver $resolver)
]);
}
}

class_alias(UserPasswordForgotWithLoginType::class, 'EzSystems\EzPlatformUser\Form\Type\UserPasswordForgotWithLoginType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserPasswordResetType.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,3 @@ public function configureOptions(OptionsResolver $resolver): void
]);
}
}

class_alias(UserPasswordResetType::class, 'EzSystems\EzPlatformUser\Form\Type\UserPasswordResetType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserRegisterType.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,3 @@ public function configureOptions(OptionsResolver $resolver)
->setRequired(['languageCode']);
}
}

class_alias(UserRegisterType::class, 'EzSystems\EzPlatformUser\Form\Type\UserRegisterType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserSettingUpdateType.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,3 @@ public function configureOptions(OptionsResolver $resolver)
;
}
}

class_alias(UserSettingUpdateType::class, 'EzSystems\EzPlatformUser\Form\Type\UserSettingUpdateType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserSettings/DateTimeFormatType.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,3 @@ public function configureOptions(OptionsResolver $resolver): void
]);
}
}

class_alias(DateTimeFormatType::class, 'EzSystems\EzPlatformUser\Form\Type\UserSettings\DateTimeFormatType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserSettings/FullDateTimeFormatType.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ public function getParent(): string
return DateTimeFormatType::class;
}
}

class_alias(FullDateTimeFormatType::class, 'EzSystems\EzPlatformUser\Form\Type\UserSettings\FullDateTimeFormatType');
2 changes: 0 additions & 2 deletions src/lib/Form/Type/UserSettings/ShortDateTimeFormatType.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,3 @@ public function getParent(): string
return DateTimeFormatType::class;
}
}

class_alias(ShortDateTimeFormatType::class, 'EzSystems\EzPlatformUser\Form\Type\UserSettings\ShortDateTimeFormatType');
2 changes: 0 additions & 2 deletions src/lib/Form/UserFormEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ final class UserFormEvents
*/
public const USER_REGISTER = 'user.edit.register';
}

class_alias(UserFormEvents::class, 'EzSystems\EzPlatformUser\Form\UserFormEvents');
2 changes: 0 additions & 2 deletions src/lib/Pagination/Pagerfanta/UserSettingsAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ public function getSlice($offset, $length): array
return $this->userSettingService->loadUserSettings($offset, $length);
}
}

class_alias(UserSettingsAdapter::class, 'EzSystems\EzPlatformUser\Pagination\Pagerfanta\UserSettingsAdapter');
2 changes: 0 additions & 2 deletions src/lib/Templating/Twig/DateTimeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,5 +195,3 @@ public function format(FormatterInterface $formatter, $date = null, string $time
return $formatter->format($date, $timezone);
}
}

class_alias(DateTimeExtension::class, 'EzSystems\EzPlatformUser\Templating\Twig\DateTimeExtension');
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,3 @@ public function getFormatter(): FormatterInterface
);
}
}

class_alias(AbstractDateTimeFormatterFactory::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\AbstractDateTimeFormatterFactory');
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ interface DateTimeFormatterFactoryInterface
*/
public function getFormatter(): FormatterInterface;
}

class_alias(DateTimeFormatterFactoryInterface::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\DateTimeFormatterFactoryInterface');
2 changes: 0 additions & 2 deletions src/lib/UserSetting/DateTimeFormat/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,3 @@ public function format(DateTimeInterface $datetime, string $timezone = null): st
return $result;
}
}

class_alias(Formatter::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\Formatter');
2 changes: 0 additions & 2 deletions src/lib/UserSetting/DateTimeFormat/FormatterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ interface FormatterInterface
*/
public function format(DateTimeInterface $datetime, string $timezone = null): string;
}

class_alias(FormatterInterface::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\FormatterInterface');
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ protected function getFormat(): string
)->getDateFormat();
}
}

class_alias(FullDateFormatterFactory::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\FullDateFormatterFactory');
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ protected function getFormat(): string
);
}
}

class_alias(FullDateTimeFormatterFactory::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\FullDateTimeFormatterFactory');
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,3 @@ protected function getFormat(): string
)->getTimeFormat();
}
}

class_alias(FullTimeFormatterFactory::class, 'EzSystems\EzPlatformUser\UserSetting\DateTimeFormat\FullTimeFormatterFactory');
Loading

0 comments on commit 0c3fdf2

Please sign in to comment.