diff --git a/composer.json b/composer.json index 238bacb2..8d47f359 100644 --- a/composer.json +++ b/composer.json @@ -56,7 +56,7 @@ "psalm/plugin-phpunit": "^0.18", "psalm/plugin-symfony": "^5.0", "rector/rector": "^0.18", - "sonata-project/block-bundle": "^4.2", + "sonata-project/block-bundle": "^4.2 || ^5.0", "symfony/browser-kit": "^5.4 || ^6.2", "symfony/css-selector": "^5.4 || ^6.2", "symfony/panther": "^2.0.1", diff --git a/tests/App/AppKernel.php b/tests/App/AppKernel.php index 9b6a3992..9cfde43d 100644 --- a/tests/App/AppKernel.php +++ b/tests/App/AppKernel.php @@ -73,9 +73,6 @@ protected function configureRoutes(RoutingConfigurator $routes): void $routes->import(sprintf('%s/config/routes.yaml', $this->getProjectDir())); } - /** - * @psalm-suppress DeprecatedClass - */ protected function configureContainer(ContainerBuilder $container, LoaderInterface $loader): void { $loader->load(__DIR__.'/config/config.yaml');