Skip to content

Commit

Permalink
Dropped class_alias BC layer from production code
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed May 21, 2024
1 parent 1739688 commit 3eec24a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 10 deletions.
2 changes: 0 additions & 2 deletions src/bundle/Command/CronRunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,3 @@ public function getDeprecatedAliases(): array
return ['ezplatform:cron:run'];
}
}

class_alias(CronRunCommand::class, 'EzSystems\EzPlatformCronBundle\Command\CronRunCommand');
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ public function process(ContainerBuilder $container)
}
}
}

class_alias(CronJobCompilerPass::class, 'EzSystems\EzPlatformCronBundle\DependencyInjection\Compiler\CronJobCompilerPass');
2 changes: 0 additions & 2 deletions src/bundle/DependencyInjection/IbexaCronExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,3 @@ public function prepend(ContainerBuilder $container)
$container->prependExtensionConfig('monolog', $config);
}
}

class_alias(IbexaCronExtension::class, 'EzSystems\EzPlatformCronBundle\DependencyInjection\EzPlatformCronExtension');
2 changes: 0 additions & 2 deletions src/bundle/IbexaCronBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ public function build(ContainerBuilder $container)
$container->addCompilerPass(new CronJobCompilerPass());
}
}

class_alias(IbexaCronBundle::class, 'EzSystems\EzPlatformCronBundle\EzPlatformCronBundle');
2 changes: 0 additions & 2 deletions src/bundle/Registry/CronJobsRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,3 @@ public function getCategoryCronJobs(string $category): array
return $this->cronJobs[$category];
}
}

class_alias(CronJobsRegistry::class, 'EzSystems\EzPlatformCronBundle\Registry\CronJobsRegistry');

0 comments on commit 3eec24a

Please sign in to comment.