Skip to content

Commit

Permalink
TASK: Fix wrong configuration for Symfony DI 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon committed May 26, 2023
1 parent c11fa46 commit e6d553d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Resources/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use Psr\Container\ContainerInterface as PsrContainerInterface;
use Psr\Log\LoggerInterface;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\DependencyInjection\Alias;
use Symfony\Component\DependencyInjection\Container;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
Expand Down Expand Up @@ -81,6 +83,7 @@
$services->alias(FactoryInterface::class, Factory::class);

$services->alias(VersionCheckerInterface::class, ComposerVersionChecker::class);
$services->set(Container::class);
$services->alias(ContainerInterface::class, Container::class);

$services->alias(PsrContainerInterface::class, 'service_container');
$services->alias(ContainerInterface::class, 'service_container');
};

0 comments on commit e6d553d

Please sign in to comment.