From 39df3176ebae1755a1fcd4fa954eb3dc167c2ece Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Tue, 21 May 2024 16:44:56 +0200 Subject: [PATCH 1/3] Dropped class_alias BC layer from production code --- src/bundle/Command/SystemInfoDumpCommand.php | 2 -- src/bundle/Controller/SystemInfoController.php | 2 -- src/bundle/DependencyInjection/Compiler/OutputFormatPass.php | 2 -- .../DependencyInjection/Compiler/SystemInfoCollectorPass.php | 2 -- .../DependencyInjection/Compiler/SystemInfoTabGroupPass.php | 2 -- src/bundle/DependencyInjection/Configuration.php | 2 -- src/bundle/DependencyInjection/IbexaSystemInfoExtension.php | 2 -- src/bundle/EventSubscriber/AddXPoweredByHeader.php | 2 -- src/bundle/IbexaSystemInfoBundle.php | 2 -- .../Collector/ConfigurationSymfonyKernelSystemInfoCollector.php | 2 -- .../SystemInfo/Collector/EzcHardwareSystemInfoCollector.php | 2 -- src/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollector.php | 2 -- src/bundle/SystemInfo/Collector/IbexaSystemInfoCollector.php | 2 -- .../Collector/JsonComposerLockSystemInfoCollector.php | 2 -- .../SystemInfo/Collector/RepositorySystemInfoCollector.php | 2 -- src/bundle/SystemInfo/Collector/SystemInfoCollector.php | 2 -- .../SystemInfo/Exception/ComposerFileValidationException.php | 2 -- .../SystemInfo/Exception/ComposerJsonFileNotFoundException.php | 2 -- .../SystemInfo/Exception/ComposerLockFileNotFoundException.php | 2 -- src/bundle/SystemInfo/Exception/MetricsNotFoundException.php | 2 -- src/bundle/SystemInfo/Exception/SystemInfoException.php | 2 -- src/bundle/SystemInfo/EzcSystemInfoWrapper.php | 2 -- src/bundle/SystemInfo/OutputFormat.php | 2 -- src/bundle/SystemInfo/OutputFormat/JsonOutputFormat.php | 2 -- src/bundle/SystemInfo/OutputFormatRegistry.php | 2 -- src/bundle/SystemInfo/Registry/IdentifierBased.php | 2 -- src/bundle/SystemInfo/SystemInfoCollectorRegistry.php | 2 -- src/bundle/SystemInfo/Value/ComposerPackage.php | 2 -- src/bundle/SystemInfo/Value/ComposerSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/HardwareSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/IbexaSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/InvalidSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/PhpSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/RepositoryMetrics.php | 2 -- src/bundle/SystemInfo/Value/RepositorySystemInfo.php | 2 -- src/bundle/SystemInfo/Value/SymfonyKernelSystemInfo.php | 2 -- src/bundle/SystemInfo/Value/SystemInfo.php | 2 -- src/bundle/View/Matcher/SystemInfo/Identifier.php | 2 -- src/bundle/View/SystemInfoView.php | 2 -- src/bundle/View/SystemInfoViewBuilder.php | 2 -- src/lib/Component/Dashboard/EzInfoTwigComponent.php | 2 -- src/lib/EventListener/ConfigureMainMenuListener.php | 2 -- src/lib/EventListener/SystemInfoTabGroupListener.php | 2 -- src/lib/Storage/AggregateMetricsProvider.php | 2 -- src/lib/Storage/Metrics.php | 2 -- src/lib/Storage/Metrics/ContentTypesCountMetrics.php | 2 -- src/lib/Storage/Metrics/DraftsCountMetrics.php | 2 -- src/lib/Storage/Metrics/PublishedContentObjectsCountMetrics.php | 2 -- src/lib/Storage/Metrics/RepositoryConnectionAwareMetrics.php | 2 -- src/lib/Storage/Metrics/UsersCountMetrics.php | 2 -- src/lib/Storage/Metrics/VersionsCountMetrics.php | 2 -- src/lib/Storage/MetricsProvider.php | 2 -- src/lib/Tab/SystemInfo/SystemInfoTab.php | 2 -- src/lib/Tab/SystemInfo/TabFactory.php | 2 -- src/lib/Value/Stability.php | 2 -- src/lib/VersionStability/ComposerVersionStabilityChecker.php | 2 -- src/lib/VersionStability/VersionStabilityChecker.php | 2 -- 57 files changed, 114 deletions(-) diff --git a/src/bundle/Command/SystemInfoDumpCommand.php b/src/bundle/Command/SystemInfoDumpCommand.php index 0088eb5..3216698 100644 --- a/src/bundle/Command/SystemInfoDumpCommand.php +++ b/src/bundle/Command/SystemInfoDumpCommand.php @@ -119,5 +119,3 @@ public function getDeprecatedAliases(): array return ['ez-support-tools:dump-info']; } } - -class_alias(SystemInfoDumpCommand::class, 'EzSystems\EzSupportToolsBundle\Command\SystemInfoDumpCommand'); diff --git a/src/bundle/Controller/SystemInfoController.php b/src/bundle/Controller/SystemInfoController.php index d1b4215..cc17b97 100644 --- a/src/bundle/Controller/SystemInfoController.php +++ b/src/bundle/Controller/SystemInfoController.php @@ -63,5 +63,3 @@ public function phpinfoAction(): Response return $response; } } - -class_alias(SystemInfoController::class, 'EzSystems\EzSupportToolsBundle\Controller\SystemInfoController'); diff --git a/src/bundle/DependencyInjection/Compiler/OutputFormatPass.php b/src/bundle/DependencyInjection/Compiler/OutputFormatPass.php index e82a4ac..e2663e5 100644 --- a/src/bundle/DependencyInjection/Compiler/OutputFormatPass.php +++ b/src/bundle/DependencyInjection/Compiler/OutputFormatPass.php @@ -38,5 +38,3 @@ public function process(ContainerBuilder $container) $outputFormatRegistryDef->setArguments([$outputFormatters]); } } - -class_alias(OutputFormatPass::class, 'EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\OutputFormatPass'); diff --git a/src/bundle/DependencyInjection/Compiler/SystemInfoCollectorPass.php b/src/bundle/DependencyInjection/Compiler/SystemInfoCollectorPass.php index 53c2783..9a1518f 100644 --- a/src/bundle/DependencyInjection/Compiler/SystemInfoCollectorPass.php +++ b/src/bundle/DependencyInjection/Compiler/SystemInfoCollectorPass.php @@ -39,5 +39,3 @@ public function process(ContainerBuilder $container) $infoCollectorRegistryDef->setArguments([$infoCollectors]); } } - -class_alias(SystemInfoCollectorPass::class, 'EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\SystemInfoCollectorPass'); diff --git a/src/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPass.php b/src/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPass.php index 3a90594..1215869 100644 --- a/src/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPass.php +++ b/src/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPass.php @@ -35,5 +35,3 @@ public function process(ContainerBuilder $container) $tabRegistry->addMethodCall('addTabGroup', [$tabGroupDefinition]); } } - -class_alias(SystemInfoTabGroupPass::class, 'EzSystems\EzSupportToolsBundle\DependencyInjection\Compiler\SystemInfoTabGroupPass'); diff --git a/src/bundle/DependencyInjection/Configuration.php b/src/bundle/DependencyInjection/Configuration.php index ad55081..570db7d 100644 --- a/src/bundle/DependencyInjection/Configuration.php +++ b/src/bundle/DependencyInjection/Configuration.php @@ -55,5 +55,3 @@ public function getConfigTreeBuilder(): TreeBuilder return $treeBuilder; } } - -class_alias(Configuration::class, 'EzSystems\EzSupportToolsBundle\DependencyInjection\Configuration'); diff --git a/src/bundle/DependencyInjection/IbexaSystemInfoExtension.php b/src/bundle/DependencyInjection/IbexaSystemInfoExtension.php index e8e782f..11193a0 100644 --- a/src/bundle/DependencyInjection/IbexaSystemInfoExtension.php +++ b/src/bundle/DependencyInjection/IbexaSystemInfoExtension.php @@ -117,5 +117,3 @@ public static function getNameByPackages(string $vendor = null): string return IbexaSystemInfo::PRODUCT_NAME_VARIANTS[self::getEditionByPackages()]; } } - -class_alias(IbexaSystemInfoExtension::class, 'EzSystems\EzSupportToolsBundle\DependencyInjection\EzSystemsEzSupportToolsExtension'); diff --git a/src/bundle/EventSubscriber/AddXPoweredByHeader.php b/src/bundle/EventSubscriber/AddXPoweredByHeader.php index 4996c78..f878262 100644 --- a/src/bundle/EventSubscriber/AddXPoweredByHeader.php +++ b/src/bundle/EventSubscriber/AddXPoweredByHeader.php @@ -44,5 +44,3 @@ public function promotePlatform(ResponseEvent $event): void } } } - -class_alias(AddXPoweredByHeader::class, 'EzSystems\EzSupportToolsBundle\EventSubscriber\AddXPoweredByHeader'); diff --git a/src/bundle/IbexaSystemInfoBundle.php b/src/bundle/IbexaSystemInfoBundle.php index ef5c25d..25582cb 100644 --- a/src/bundle/IbexaSystemInfoBundle.php +++ b/src/bundle/IbexaSystemInfoBundle.php @@ -33,5 +33,3 @@ public function getContainerExtension(): ExtensionInterface return new IbexaSystemInfoExtension(); } } - -class_alias(IbexaSystemInfoBundle::class, 'EzSystems\EzSupportToolsBundle\EzSystemsEzSupportToolsBundle'); diff --git a/src/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollector.php b/src/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollector.php index ec37361..503247d 100644 --- a/src/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollector.php @@ -64,5 +64,3 @@ public function collect(): SymfonyKernelSystemInfo ]); } } - -class_alias(ConfigurationSymfonyKernelSystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\ConfigurationSymfonyKernelSystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollector.php b/src/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollector.php index fcbb313..6721ef0 100644 --- a/src/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollector.php @@ -42,5 +42,3 @@ public function collect(): HardwareSystemInfo ]); } } - -class_alias(EzcHardwareSystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\EzcHardwareSystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollector.php b/src/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollector.php index edfa8e9..8d3eb4c 100644 --- a/src/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollector.php @@ -54,5 +54,3 @@ public function collect(): PhpSystemInfo return new PhpSystemInfo($properties); } } - -class_alias(EzcPhpSystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\EzcPhpSystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/IbexaSystemInfoCollector.php b/src/bundle/SystemInfo/Collector/IbexaSystemInfoCollector.php index 294dd02..980b594 100644 --- a/src/bundle/SystemInfo/Collector/IbexaSystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/IbexaSystemInfoCollector.php @@ -286,5 +286,3 @@ private static function hasAnyPackage( return false; } } - -class_alias(IbexaSystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\IbexaSystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollector.php b/src/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollector.php index 9472be3..4514737 100644 --- a/src/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollector.php @@ -195,5 +195,3 @@ private function getMinimumStability(array $lockData): ?string return $lockData['minimum-stability'] ?? null; } } - -class_alias(JsonComposerLockSystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\JsonComposerLockSystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/RepositorySystemInfoCollector.php b/src/bundle/SystemInfo/Collector/RepositorySystemInfoCollector.php index 4584b33..bf169aa 100644 --- a/src/bundle/SystemInfo/Collector/RepositorySystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/RepositorySystemInfoCollector.php @@ -69,5 +69,3 @@ private function populateRepositoryMetricsData(): RepositoryMetrics ]); } } - -class_alias(RepositorySystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\RepositorySystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Collector/SystemInfoCollector.php b/src/bundle/SystemInfo/Collector/SystemInfoCollector.php index d97b8c9..e256360 100644 --- a/src/bundle/SystemInfo/Collector/SystemInfoCollector.php +++ b/src/bundle/SystemInfo/Collector/SystemInfoCollector.php @@ -21,5 +21,3 @@ interface SystemInfoCollector */ public function collect(); } - -class_alias(SystemInfoCollector::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Collector\SystemInfoCollector'); diff --git a/src/bundle/SystemInfo/Exception/ComposerFileValidationException.php b/src/bundle/SystemInfo/Exception/ComposerFileValidationException.php index bccee3a..565f513 100644 --- a/src/bundle/SystemInfo/Exception/ComposerFileValidationException.php +++ b/src/bundle/SystemInfo/Exception/ComposerFileValidationException.php @@ -18,5 +18,3 @@ public function __construct(string $path, $code = 0, Exception $previous = null) parent::__construct($message, $code, $previous); } } - -class_alias(ComposerFileValidationException::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Exception\ComposerFileValidationException'); diff --git a/src/bundle/SystemInfo/Exception/ComposerJsonFileNotFoundException.php b/src/bundle/SystemInfo/Exception/ComposerJsonFileNotFoundException.php index 535fc94..3227338 100644 --- a/src/bundle/SystemInfo/Exception/ComposerJsonFileNotFoundException.php +++ b/src/bundle/SystemInfo/Exception/ComposerJsonFileNotFoundException.php @@ -17,5 +17,3 @@ public function __construct(string $path, Exception $previous = null) parent::__construct('Composer.json file', $path, $previous); } } - -class_alias(ComposerJsonFileNotFoundException::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Exception\ComposerJsonFileNotFoundException'); diff --git a/src/bundle/SystemInfo/Exception/ComposerLockFileNotFoundException.php b/src/bundle/SystemInfo/Exception/ComposerLockFileNotFoundException.php index 71f5a9d..ac8c6d4 100644 --- a/src/bundle/SystemInfo/Exception/ComposerLockFileNotFoundException.php +++ b/src/bundle/SystemInfo/Exception/ComposerLockFileNotFoundException.php @@ -17,5 +17,3 @@ public function __construct($path, Exception $previous = null) parent::__construct('composer.lock file', $path, $previous); } } - -class_alias(ComposerLockFileNotFoundException::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Exception\ComposerLockFileNotFoundException'); diff --git a/src/bundle/SystemInfo/Exception/MetricsNotFoundException.php b/src/bundle/SystemInfo/Exception/MetricsNotFoundException.php index 3c1f6e2..2f2738a 100644 --- a/src/bundle/SystemInfo/Exception/MetricsNotFoundException.php +++ b/src/bundle/SystemInfo/Exception/MetricsNotFoundException.php @@ -17,5 +17,3 @@ public function __construct(string $identifier, Exception $previous = null) parent::__construct('Metrics', $identifier, $previous); } } - -class_alias(MetricsNotFoundException::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Exception\MetricsNotFoundException'); diff --git a/src/bundle/SystemInfo/Exception/SystemInfoException.php b/src/bundle/SystemInfo/Exception/SystemInfoException.php index 586e4ff..d5d28ef 100644 --- a/src/bundle/SystemInfo/Exception/SystemInfoException.php +++ b/src/bundle/SystemInfo/Exception/SystemInfoException.php @@ -10,5 +10,3 @@ interface SystemInfoException { } - -class_alias(SystemInfoException::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Exception\SystemInfoException'); diff --git a/src/bundle/SystemInfo/EzcSystemInfoWrapper.php b/src/bundle/SystemInfo/EzcSystemInfoWrapper.php index 07b6800..0c7f1f2 100644 --- a/src/bundle/SystemInfo/EzcSystemInfoWrapper.php +++ b/src/bundle/SystemInfo/EzcSystemInfoWrapper.php @@ -66,5 +66,3 @@ public function __construct() } } } - -class_alias(EzcSystemInfoWrapper::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\EzcSystemInfoWrapper'); diff --git a/src/bundle/SystemInfo/OutputFormat.php b/src/bundle/SystemInfo/OutputFormat.php index a12e6c0..13a3a47 100644 --- a/src/bundle/SystemInfo/OutputFormat.php +++ b/src/bundle/SystemInfo/OutputFormat.php @@ -18,5 +18,3 @@ interface OutputFormat */ public function format(array $collectedInfo); } - -class_alias(OutputFormat::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\OutputFormat'); diff --git a/src/bundle/SystemInfo/OutputFormat/JsonOutputFormat.php b/src/bundle/SystemInfo/OutputFormat/JsonOutputFormat.php index 4b5bf0c..2da4d6a 100644 --- a/src/bundle/SystemInfo/OutputFormat/JsonOutputFormat.php +++ b/src/bundle/SystemInfo/OutputFormat/JsonOutputFormat.php @@ -19,5 +19,3 @@ public function format(array $collectedInfo) return json_encode($collectedInfo, JSON_PRETTY_PRINT); } } - -class_alias(JsonOutputFormat::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\OutputFormat\JsonOutputFormat'); diff --git a/src/bundle/SystemInfo/OutputFormatRegistry.php b/src/bundle/SystemInfo/OutputFormatRegistry.php index a0b215e..2cd5f04 100644 --- a/src/bundle/SystemInfo/OutputFormatRegistry.php +++ b/src/bundle/SystemInfo/OutputFormatRegistry.php @@ -53,5 +53,3 @@ public function getIdentifiers() return array_keys($this->registry); } } - -class_alias(OutputFormatRegistry::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\OutputFormatRegistry'); diff --git a/src/bundle/SystemInfo/Registry/IdentifierBased.php b/src/bundle/SystemInfo/Registry/IdentifierBased.php index 33be971..5a421ad 100644 --- a/src/bundle/SystemInfo/Registry/IdentifierBased.php +++ b/src/bundle/SystemInfo/Registry/IdentifierBased.php @@ -54,5 +54,3 @@ public function getIdentifiers() return array_keys($this->registry); } } - -class_alias(IdentifierBased::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Registry\IdentifierBased'); diff --git a/src/bundle/SystemInfo/SystemInfoCollectorRegistry.php b/src/bundle/SystemInfo/SystemInfoCollectorRegistry.php index ffe1fad..32c2bf6 100644 --- a/src/bundle/SystemInfo/SystemInfoCollectorRegistry.php +++ b/src/bundle/SystemInfo/SystemInfoCollectorRegistry.php @@ -35,5 +35,3 @@ public function getItem($identifier); */ public function getIdentifiers(); } - -class_alias(SystemInfoCollectorRegistry::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\SystemInfoCollectorRegistry'); diff --git a/src/bundle/SystemInfo/Value/ComposerPackage.php b/src/bundle/SystemInfo/Value/ComposerPackage.php index d54eda7..3e2a69c 100644 --- a/src/bundle/SystemInfo/Value/ComposerPackage.php +++ b/src/bundle/SystemInfo/Value/ComposerPackage.php @@ -97,5 +97,3 @@ class ComposerPackage extends ValueObject implements SystemInfo */ public $reference; } - -class_alias(ComposerPackage::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\ComposerPackage'); diff --git a/src/bundle/SystemInfo/Value/ComposerSystemInfo.php b/src/bundle/SystemInfo/Value/ComposerSystemInfo.php index e50eb1e..3261cdc 100644 --- a/src/bundle/SystemInfo/Value/ComposerSystemInfo.php +++ b/src/bundle/SystemInfo/Value/ComposerSystemInfo.php @@ -41,5 +41,3 @@ class ComposerSystemInfo extends ValueObject implements SystemInfo */ public $repositoryUrls = []; } - -class_alias(ComposerSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\ComposerSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/HardwareSystemInfo.php b/src/bundle/SystemInfo/Value/HardwareSystemInfo.php index 306fd82..73ed827 100644 --- a/src/bundle/SystemInfo/Value/HardwareSystemInfo.php +++ b/src/bundle/SystemInfo/Value/HardwareSystemInfo.php @@ -42,5 +42,3 @@ class HardwareSystemInfo extends ValueObject implements SystemInfo */ public $memorySize; } - -class_alias(HardwareSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\HardwareSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/IbexaSystemInfo.php b/src/bundle/SystemInfo/Value/IbexaSystemInfo.php index cea1bff..77193a5 100644 --- a/src/bundle/SystemInfo/Value/IbexaSystemInfo.php +++ b/src/bundle/SystemInfo/Value/IbexaSystemInfo.php @@ -109,5 +109,3 @@ class IbexaSystemInfo extends ValueObject implements SystemInfo */ public $composerInfo; } - -class_alias(IbexaSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\IbexaSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/InvalidSystemInfo.php b/src/bundle/SystemInfo/Value/InvalidSystemInfo.php index f73d572..26adc9f 100644 --- a/src/bundle/SystemInfo/Value/InvalidSystemInfo.php +++ b/src/bundle/SystemInfo/Value/InvalidSystemInfo.php @@ -21,5 +21,3 @@ final class InvalidSystemInfo extends ValueObject implements SystemInfo */ public $errorMessage; } - -class_alias(InvalidSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\InvalidSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/PhpSystemInfo.php b/src/bundle/SystemInfo/Value/PhpSystemInfo.php index 7c511eb..995cc61 100644 --- a/src/bundle/SystemInfo/Value/PhpSystemInfo.php +++ b/src/bundle/SystemInfo/Value/PhpSystemInfo.php @@ -57,5 +57,3 @@ class PhpSystemInfo extends ValueObject implements SystemInfo */ public $acceleratorVersion; } - -class_alias(PhpSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\PhpSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/RepositoryMetrics.php b/src/bundle/SystemInfo/Value/RepositoryMetrics.php index f42ef4d..9021d52 100644 --- a/src/bundle/SystemInfo/Value/RepositoryMetrics.php +++ b/src/bundle/SystemInfo/Value/RepositoryMetrics.php @@ -45,5 +45,3 @@ class RepositoryMetrics extends ValueObject implements SystemInfo /** @var int */ public $contentTypesCount; } - -class_alias(RepositoryMetrics::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\RepositoryMetrics'); diff --git a/src/bundle/SystemInfo/Value/RepositorySystemInfo.php b/src/bundle/SystemInfo/Value/RepositorySystemInfo.php index a25aefa..a99e8ce 100644 --- a/src/bundle/SystemInfo/Value/RepositorySystemInfo.php +++ b/src/bundle/SystemInfo/Value/RepositorySystemInfo.php @@ -57,5 +57,3 @@ class RepositorySystemInfo extends ValueObject implements SystemInfo */ public $repositoryMetrics; } - -class_alias(RepositorySystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\RepositorySystemInfo'); diff --git a/src/bundle/SystemInfo/Value/SymfonyKernelSystemInfo.php b/src/bundle/SystemInfo/Value/SymfonyKernelSystemInfo.php index c16bcd0..ccb158f 100644 --- a/src/bundle/SystemInfo/Value/SymfonyKernelSystemInfo.php +++ b/src/bundle/SystemInfo/Value/SymfonyKernelSystemInfo.php @@ -90,5 +90,3 @@ class SymfonyKernelSystemInfo extends ValueObject implements SystemInfo */ public $charset; } - -class_alias(SymfonyKernelSystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\SymfonyKernelSystemInfo'); diff --git a/src/bundle/SystemInfo/Value/SystemInfo.php b/src/bundle/SystemInfo/Value/SystemInfo.php index c24c7c4..3fa49e2 100644 --- a/src/bundle/SystemInfo/Value/SystemInfo.php +++ b/src/bundle/SystemInfo/Value/SystemInfo.php @@ -13,5 +13,3 @@ interface SystemInfo { } - -class_alias(SystemInfo::class, 'EzSystems\EzSupportToolsBundle\SystemInfo\Value\SystemInfo'); diff --git a/src/bundle/View/Matcher/SystemInfo/Identifier.php b/src/bundle/View/Matcher/SystemInfo/Identifier.php index 2374e0d..3664aee 100644 --- a/src/bundle/View/Matcher/SystemInfo/Identifier.php +++ b/src/bundle/View/Matcher/SystemInfo/Identifier.php @@ -72,5 +72,3 @@ private function normalizeName(string $name): string return mb_strtolower($normalized); } } - -class_alias(Identifier::class, 'EzSystems\EzSupportToolsBundle\View\Matcher\SystemInfo\Identifier'); diff --git a/src/bundle/View/SystemInfoView.php b/src/bundle/View/SystemInfoView.php index 8be6a51..6347bd9 100644 --- a/src/bundle/View/SystemInfoView.php +++ b/src/bundle/View/SystemInfoView.php @@ -42,5 +42,3 @@ protected function getInternalParameters() return ['info' => $this->info]; } } - -class_alias(SystemInfoView::class, 'EzSystems\EzSupportToolsBundle\View\SystemInfoView'); diff --git a/src/bundle/View/SystemInfoViewBuilder.php b/src/bundle/View/SystemInfoViewBuilder.php index 09293ba..8f986cb 100644 --- a/src/bundle/View/SystemInfoViewBuilder.php +++ b/src/bundle/View/SystemInfoViewBuilder.php @@ -66,5 +66,3 @@ private function getCollector($identifier) return $this->registry->getItem($identifier); } } - -class_alias(SystemInfoViewBuilder::class, 'EzSystems\EzSupportToolsBundle\View\SystemInfoViewBuilder'); diff --git a/src/lib/Component/Dashboard/EzInfoTwigComponent.php b/src/lib/Component/Dashboard/EzInfoTwigComponent.php index fd9e4cb..11443da 100644 --- a/src/lib/Component/Dashboard/EzInfoTwigComponent.php +++ b/src/lib/Component/Dashboard/EzInfoTwigComponent.php @@ -82,5 +82,3 @@ private function replaceUrlPlaceholders(): array return $urls; } } - -class_alias(EzInfoTwigComponent::class, 'EzSystems\EzSupportTools\Component\Dashboard\EzInfoTwigComponent'); diff --git a/src/lib/EventListener/ConfigureMainMenuListener.php b/src/lib/EventListener/ConfigureMainMenuListener.php index e4ab5fb..b2aee65 100644 --- a/src/lib/EventListener/ConfigureMainMenuListener.php +++ b/src/lib/EventListener/ConfigureMainMenuListener.php @@ -75,5 +75,3 @@ public static function getTranslationMessages(): array ]; } } - -class_alias(ConfigureMainMenuListener::class, 'EzSystems\EzSupportTools\EventListener\ConfigureMainMenuListener'); diff --git a/src/lib/EventListener/SystemInfoTabGroupListener.php b/src/lib/EventListener/SystemInfoTabGroupListener.php index 55b57f0..7f0c3e9 100644 --- a/src/lib/EventListener/SystemInfoTabGroupListener.php +++ b/src/lib/EventListener/SystemInfoTabGroupListener.php @@ -66,5 +66,3 @@ public function onTabGroupPreRender(TabGroupEvent $event) } } } - -class_alias(SystemInfoTabGroupListener::class, 'EzSystems\EzSupportTools\EventListener\SystemInfoTabGroupListener'); diff --git a/src/lib/Storage/AggregateMetricsProvider.php b/src/lib/Storage/AggregateMetricsProvider.php index b80ab09..cb2ae4e 100644 --- a/src/lib/Storage/AggregateMetricsProvider.php +++ b/src/lib/Storage/AggregateMetricsProvider.php @@ -37,5 +37,3 @@ public function provideMetrics(string $identifier): Metrics } } } - -class_alias(AggregateMetricsProvider::class, 'EzSystems\EzSupportTools\Storage\AggregateMetricsProvider'); diff --git a/src/lib/Storage/Metrics.php b/src/lib/Storage/Metrics.php index c6b2c6a..0d5c39b 100644 --- a/src/lib/Storage/Metrics.php +++ b/src/lib/Storage/Metrics.php @@ -15,5 +15,3 @@ interface Metrics { public function getValue(): int; } - -class_alias(Metrics::class, 'EzSystems\EzSupportTools\Storage\Metrics'); diff --git a/src/lib/Storage/Metrics/ContentTypesCountMetrics.php b/src/lib/Storage/Metrics/ContentTypesCountMetrics.php index b0c027f..33680b6 100644 --- a/src/lib/Storage/Metrics/ContentTypesCountMetrics.php +++ b/src/lib/Storage/Metrics/ContentTypesCountMetrics.php @@ -35,5 +35,3 @@ public function getValue(): int return (int) $queryBuilder->execute()->fetchColumn(); } } - -class_alias(ContentTypesCountMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\ContentTypesCountMetrics'); diff --git a/src/lib/Storage/Metrics/DraftsCountMetrics.php b/src/lib/Storage/Metrics/DraftsCountMetrics.php index 90fa94a..9e75161 100644 --- a/src/lib/Storage/Metrics/DraftsCountMetrics.php +++ b/src/lib/Storage/Metrics/DraftsCountMetrics.php @@ -47,5 +47,3 @@ public function getValue(): int return (int) $queryBuilder->execute()->fetchColumn(); } } - -class_alias(DraftsCountMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\DraftsCountMetrics'); diff --git a/src/lib/Storage/Metrics/PublishedContentObjectsCountMetrics.php b/src/lib/Storage/Metrics/PublishedContentObjectsCountMetrics.php index c438a74..5154e6d 100644 --- a/src/lib/Storage/Metrics/PublishedContentObjectsCountMetrics.php +++ b/src/lib/Storage/Metrics/PublishedContentObjectsCountMetrics.php @@ -35,5 +35,3 @@ public function getValue(): int return (int) $queryBuilder->execute()->fetchColumn(); } } - -class_alias(PublishedContentObjectsCountMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\PublishedContentObjectsCountMetrics'); diff --git a/src/lib/Storage/Metrics/RepositoryConnectionAwareMetrics.php b/src/lib/Storage/Metrics/RepositoryConnectionAwareMetrics.php index 731d55a..09cec6c 100644 --- a/src/lib/Storage/Metrics/RepositoryConnectionAwareMetrics.php +++ b/src/lib/Storage/Metrics/RepositoryConnectionAwareMetrics.php @@ -34,5 +34,3 @@ protected function getCountExpression(string $columnName): string return $this->connection->getDatabasePlatform()->getCountExpression($columnName); } } - -class_alias(RepositoryConnectionAwareMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\RepositoryConnectionAwareMetrics'); diff --git a/src/lib/Storage/Metrics/UsersCountMetrics.php b/src/lib/Storage/Metrics/UsersCountMetrics.php index ab06aae..c375d2a 100644 --- a/src/lib/Storage/Metrics/UsersCountMetrics.php +++ b/src/lib/Storage/Metrics/UsersCountMetrics.php @@ -29,5 +29,3 @@ public function getValue(): int return (int) $queryBuilder->execute()->fetchColumn(); } } - -class_alias(UsersCountMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\UsersCountMetrics'); diff --git a/src/lib/Storage/Metrics/VersionsCountMetrics.php b/src/lib/Storage/Metrics/VersionsCountMetrics.php index b9126ef..df91858 100644 --- a/src/lib/Storage/Metrics/VersionsCountMetrics.php +++ b/src/lib/Storage/Metrics/VersionsCountMetrics.php @@ -29,5 +29,3 @@ public function getValue(): int return (int) $queryBuilder->execute()->fetchColumn(); } } - -class_alias(VersionsCountMetrics::class, 'EzSystems\EzSupportTools\Storage\Metrics\VersionsCountMetrics'); diff --git a/src/lib/Storage/MetricsProvider.php b/src/lib/Storage/MetricsProvider.php index 50d8d5e..a1176ea 100644 --- a/src/lib/Storage/MetricsProvider.php +++ b/src/lib/Storage/MetricsProvider.php @@ -15,5 +15,3 @@ interface MetricsProvider { public function provideMetrics(string $identifier): Metrics; } - -class_alias(MetricsProvider::class, 'EzSystems\EzSupportTools\Storage\MetricsProvider'); diff --git a/src/lib/Tab/SystemInfo/SystemInfoTab.php b/src/lib/Tab/SystemInfo/SystemInfoTab.php index 3dff8a2..d9024b8 100644 --- a/src/lib/Tab/SystemInfo/SystemInfoTab.php +++ b/src/lib/Tab/SystemInfo/SystemInfoTab.php @@ -60,5 +60,3 @@ public function getName(): string return /** @Ignore */$this->translator->trans(sprintf('tab.name.%s', $this->tabIdentifier), [], 'ibexa_systeminfo'); } } - -class_alias(SystemInfoTab::class, 'EzSystems\EzSupportTools\Tab\SystemInfo\SystemInfoTab'); diff --git a/src/lib/Tab/SystemInfo/TabFactory.php b/src/lib/Tab/SystemInfo/TabFactory.php index 9985413..a80e770 100644 --- a/src/lib/Tab/SystemInfo/TabFactory.php +++ b/src/lib/Tab/SystemInfo/TabFactory.php @@ -57,5 +57,3 @@ public function createTab(string $collectorIdentifier, ?string $tabIdentifier = ); } } - -class_alias(TabFactory::class, 'EzSystems\EzSupportTools\Tab\SystemInfo\TabFactory'); diff --git a/src/lib/Value/Stability.php b/src/lib/Value/Stability.php index c63ee8b..85b40a4 100644 --- a/src/lib/Value/Stability.php +++ b/src/lib/Value/Stability.php @@ -23,5 +23,3 @@ final class Stability 20 => 'dev', ]; } - -class_alias(Stability::class, 'EzSystems\EzSupportTools\Value\Stability'); diff --git a/src/lib/VersionStability/ComposerVersionStabilityChecker.php b/src/lib/VersionStability/ComposerVersionStabilityChecker.php index 300a3e4..389677e 100644 --- a/src/lib/VersionStability/ComposerVersionStabilityChecker.php +++ b/src/lib/VersionStability/ComposerVersionStabilityChecker.php @@ -43,5 +43,3 @@ private function getStabilityFromVersionString(string $version): ?string : null; } } - -class_alias(ComposerVersionStabilityChecker::class, 'EzSystems\EzSupportTools\VersionStability\ComposerVersionStabilityChecker'); diff --git a/src/lib/VersionStability/VersionStabilityChecker.php b/src/lib/VersionStability/VersionStabilityChecker.php index 151423c..497ad28 100644 --- a/src/lib/VersionStability/VersionStabilityChecker.php +++ b/src/lib/VersionStability/VersionStabilityChecker.php @@ -14,5 +14,3 @@ public function getStability(string $version): string; public function isStableVersion(string $version): bool; } - -class_alias(VersionStabilityChecker::class, 'EzSystems\EzSupportTools\VersionStability\VersionStabilityChecker'); From ffa28572baaac16855121dee488d0baa97959122 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Tue, 21 May 2024 16:45:29 +0200 Subject: [PATCH 2/3] Dropped class_alias BC layer from test code --- .../DependencyInjection/Compiler/SystemInfoTabGroupPassTest.php | 2 -- .../bundle/DependencyInjection/IbexaSystemInfoExtensionTest.php | 2 -- .../ConfigurationSymfonyKernelSystemInfoCollectorTest.php | 2 -- .../SystemInfo/Collector/EzcHardwareSystemInfoCollectorTest.php | 2 -- .../SystemInfo/Collector/EzcPhpSystemInfoCollectorTest.php | 2 -- .../SystemInfo/Collector/IbexaSystemInfoCollectorTest.php | 2 -- .../Collector/JsonComposerLockSystemInfoCollectorTest.php | 2 -- .../SystemInfo/Collector/RepositorySystemInfoCollectorTest.php | 2 -- tests/bundle/SystemInfo/Registry/IdentifierBasedTest.php | 2 -- tests/bundle/View/Matcher/SystemInfo/IdentitifierTest.php | 2 -- tests/bundle/View/SystemInfoViewBuilderTest.php | 2 -- tests/lib/EventListener/SystemInfoTabGroupListenerTest.php | 2 -- tests/lib/VersionStability/VersionStabilityCheckerTest.php | 2 -- 13 files changed, 26 deletions(-) diff --git a/tests/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPassTest.php b/tests/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPassTest.php index bdeac1d..2deec69 100644 --- a/tests/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPassTest.php +++ b/tests/bundle/DependencyInjection/Compiler/SystemInfoTabGroupPassTest.php @@ -44,5 +44,3 @@ public function testProcess() ); } } - -class_alias(SystemInfoTabGroupPassTest::class, 'EzSystems\EzSupportToolsBundle\Tests\DependencyInjection\Compiler\SystemInfoTabGroupPassTest'); diff --git a/tests/bundle/DependencyInjection/IbexaSystemInfoExtensionTest.php b/tests/bundle/DependencyInjection/IbexaSystemInfoExtensionTest.php index f5726fe..52170bb 100644 --- a/tests/bundle/DependencyInjection/IbexaSystemInfoExtensionTest.php +++ b/tests/bundle/DependencyInjection/IbexaSystemInfoExtensionTest.php @@ -77,5 +77,3 @@ public function testLoadServiceServices(): void } } } - -class_alias(IbexaSystemInfoExtensionTest::class, 'EzSystems\EzSupportToolsBundle\Tests\DependencyInjection\EzSystemsEzSupportToolsExtensionTest'); diff --git a/tests/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollectorTest.php index cb912bf..25efd0b 100644 --- a/tests/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/ConfigurationSymfonyKernelSystemInfoCollectorTest.php @@ -81,5 +81,3 @@ public function testCollect() self::assertEquals($expected, $value); } } - -class_alias(ConfigurationSymfonyKernelSystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\ConfigurationSymfonyKernelSystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollectorTest.php index f6a35b8..5d49c5a 100644 --- a/tests/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/EzcHardwareSystemInfoCollectorTest.php @@ -57,5 +57,3 @@ public function testCollect() ); } } - -class_alias(EzcHardwareSystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\EzcHardwareSystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollectorTest.php index c86ac53..93928fb 100644 --- a/tests/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/EzcPhpSystemInfoCollectorTest.php @@ -68,5 +68,3 @@ public function testCollect() ); } } - -class_alias(EzcPhpSystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\EzcPhpSystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Collector/IbexaSystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/IbexaSystemInfoCollectorTest.php index 2409316..1a38cd6 100644 --- a/tests/bundle/SystemInfo/Collector/IbexaSystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/IbexaSystemInfoCollectorTest.php @@ -42,5 +42,3 @@ public function testCollect(): void self::assertSame(Ibexa::VERSION, $systemInfo->release); } } - -class_alias(IbexaSystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\IbexaSystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollectorTest.php index 9239c27..91b0037 100644 --- a/tests/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/JsonComposerLockSystemInfoCollectorTest.php @@ -150,5 +150,3 @@ public function testCollectJsonFileCorrupted(): void $composerCollectorCorrupted->collect(); } } - -class_alias(JsonComposerLockSystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\JsonComposerLockSystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Collector/RepositorySystemInfoCollectorTest.php b/tests/bundle/SystemInfo/Collector/RepositorySystemInfoCollectorTest.php index f4658af..dbc4839 100644 --- a/tests/bundle/SystemInfo/Collector/RepositorySystemInfoCollectorTest.php +++ b/tests/bundle/SystemInfo/Collector/RepositorySystemInfoCollectorTest.php @@ -135,5 +135,3 @@ public function testCollect() self::assertEquals($expected, $value); } } - -class_alias(RepositorySystemInfoCollectorTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Collector\RepositorySystemInfoCollectorTest'); diff --git a/tests/bundle/SystemInfo/Registry/IdentifierBasedTest.php b/tests/bundle/SystemInfo/Registry/IdentifierBasedTest.php index 057d35e..c9b9248 100644 --- a/tests/bundle/SystemInfo/Registry/IdentifierBasedTest.php +++ b/tests/bundle/SystemInfo/Registry/IdentifierBasedTest.php @@ -96,5 +96,3 @@ public function testGetIdentifiers() self::assertEquals($expectedIdentifiers, $actualIdentifiers); } } - -class_alias(IdentifierBasedTest::class, 'EzSystems\EzSupportToolsBundle\Tests\SystemInfo\Registry\IdentifierBasedTest'); diff --git a/tests/bundle/View/Matcher/SystemInfo/IdentitifierTest.php b/tests/bundle/View/Matcher/SystemInfo/IdentitifierTest.php index aafcc54..aeec29e 100644 --- a/tests/bundle/View/Matcher/SystemInfo/IdentitifierTest.php +++ b/tests/bundle/View/Matcher/SystemInfo/IdentitifierTest.php @@ -47,5 +47,3 @@ public function testMatchOtherView() self::assertFalse($matcher->match($view)); } } - -class_alias(IdentitifierTest::class, 'EzSystems\EzSupportToolsBundle\Tests\View\Matcher\SystemInfo\IdentitifierTest'); diff --git a/tests/bundle/View/SystemInfoViewBuilderTest.php b/tests/bundle/View/SystemInfoViewBuilderTest.php index 4c2f193..f71a3d3 100644 --- a/tests/bundle/View/SystemInfoViewBuilderTest.php +++ b/tests/bundle/View/SystemInfoViewBuilderTest.php @@ -90,5 +90,3 @@ protected function getCollectorMock() return $this->collectorMock; } } - -class_alias(SystemInfoViewBuilderTest::class, 'EzSystems\EzSupportToolsBundle\Tests\View\SystemInfoViewBuilderTest'); diff --git a/tests/lib/EventListener/SystemInfoTabGroupListenerTest.php b/tests/lib/EventListener/SystemInfoTabGroupListenerTest.php index f52edc6..e25a6db 100644 --- a/tests/lib/EventListener/SystemInfoTabGroupListenerTest.php +++ b/tests/lib/EventListener/SystemInfoTabGroupListenerTest.php @@ -111,5 +111,3 @@ public function dataProvider(): array ]; } } - -class_alias(SystemInfoTabGroupListenerTest::class, 'EzSystems\EzSupportTools\Tests\EventListener\SystemInfoTabGroupListenerTest'); diff --git a/tests/lib/VersionStability/VersionStabilityCheckerTest.php b/tests/lib/VersionStability/VersionStabilityCheckerTest.php index fa6d7b5..8164dd2 100644 --- a/tests/lib/VersionStability/VersionStabilityCheckerTest.php +++ b/tests/lib/VersionStability/VersionStabilityCheckerTest.php @@ -100,5 +100,3 @@ public function provideVersions(): iterable yield ['dev-test_custom', Stability::STABILITIES[20]]; } } - -class_alias(VersionStabilityCheckerTest::class, 'EzSystems\EzSupportTools\Tests\VersionStability\VersionStabilityCheckerTest'); From 2abbaea63d589c8dc7fa292a4f0d1901167e0cc7 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Wed, 22 May 2024 01:22:41 +0200 Subject: [PATCH 3/3] [Composer] Dropped legacy namespaces from autoload section --- composer.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 5a8e5f2..98f5044 100644 --- a/composer.json +++ b/composer.json @@ -33,9 +33,7 @@ "psr-4": { "Ibexa\\SystemInfo\\": "src/lib/", "Ibexa\\Bundle\\SystemInfo\\": "src/bundle/", - "Ibexa\\Contracts\\SystemInfo\\": "src/contracts/", - "EzSystems\\EzSupportToolsBundle\\": "src/bundle/", - "EzSystems\\EzSupportTools\\": "src/lib/" + "Ibexa\\Contracts\\SystemInfo\\": "src/contracts/" } }, "autoload-dev": {