Skip to content

Commit

Permalink
Rename compiler passes
Browse files Browse the repository at this point in the history
  • Loading branch information
loic425 committed Sep 4, 2024
1 parent 2b7ff42 commit da7871f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 172 deletions.
33 changes: 0 additions & 33 deletions src/Bundle/DependencyInjection/Compiler/FosRestPass.php

This file was deleted.

33 changes: 0 additions & 33 deletions src/Bundle/DependencyInjection/Compiler/HateoasPass.php

This file was deleted.

4 changes: 0 additions & 4 deletions src/Bundle/SyliusResourceBundle.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\CsrfTokenManagerPass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\DoctrineContainerRepositoryFactoryPass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\DoctrineTargetEntitiesResolverPass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\FosRestPass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\HateoasPass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\Helper\TargetEntitiesResolver;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\PagerfantaBridgePass;
use Sylius\Bundle\ResourceBundle\DependencyInjection\Compiler\RegisterFormBuilderPass;
Expand Down Expand Up @@ -54,8 +52,6 @@ public function build(ContainerBuilder $container): void
$container->addCompilerPass(new DisableMetadataCachePass());
$container->addCompilerPass(new DoctrineContainerRepositoryFactoryPass());
$container->addCompilerPass(new DoctrineTargetEntitiesResolverPass(new TargetEntitiesResolver()), PassConfig::TYPE_BEFORE_OPTIMIZATION, 1);
$container->addCompilerPass(new FosRestPass());
$container->addCompilerPass(new HateoasPass());
$container->addCompilerPass(new RegisterFormBuilderPass());
$container->addCompilerPass(new RegisterFqcnControllersPass());
$container->addCompilerPass(new RegisterResourceRepositoryPass());
Expand Down
51 changes: 0 additions & 51 deletions tests/Bundle/DependencyInjection/Compiler/FosRestPassTest.php

This file was deleted.

51 changes: 0 additions & 51 deletions tests/Bundle/DependencyInjection/Compiler/HateoasPassTest.php

This file was deleted.

0 comments on commit da7871f

Please sign in to comment.