diff --git a/.github/workflows/common/composer-install/action.yaml b/.github/workflows/common/composer-install/action.yaml index 70e64e4f6..f41cb8b65 100644 --- a/.github/workflows/common/composer-install/action.yaml +++ b/.github/workflows/common/composer-install/action.yaml @@ -41,7 +41,7 @@ runs: - name: Remove packages not compatible Symfony 7 if: ${{ inputs.symfony-version == '7.0.*' }} - run: composer remove --dev --no-update friendsofsymfony/rest-bundle sensio/framework-extra-bundle + run: composer remove --dev --no-update friendsofsymfony/rest-bundle shell: bash - name: Install dependencies with Composer diff --git a/composer.json b/composer.json index 7afb3d3f4..92aaa9afd 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,6 @@ "symfony/deprecation-contracts": "^2.1|^3" }, "require-dev": { - "sensio/framework-extra-bundle": "^5.4|^6.0", "symfony/asset": "^5.4|^6.0|^7.0", "symfony/dom-crawler": "^5.4|^6.0|^7.0", "symfony/browser-kit": "^5.4|^6.0|^7.0", diff --git a/tests/Functional/TestKernel.php b/tests/Functional/TestKernel.php index 73ba83c6c..926df7641 100644 --- a/tests/Functional/TestKernel.php +++ b/tests/Functional/TestKernel.php @@ -26,7 +26,6 @@ use Nelmio\ApiDocBundle\Tests\Functional\Entity\SymfonyConstraintsWithValidationGroups; use Nelmio\ApiDocBundle\Tests\Functional\ModelDescriber\NameConverter; use Nelmio\ApiDocBundle\Tests\Functional\ModelDescriber\VirtualTypeClassDoesNotExistsHandlerDefinedDescriber; -use Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle; use Symfony\Bundle\FrameworkBundle\Command\CachePoolClearCommand; use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; @@ -67,10 +66,6 @@ public function registerBundles(): iterable new TestBundle(), ]; - if (class_exists(SensioFrameworkExtraBundle::class)) { - $bundles[] = new SensioFrameworkExtraBundle(); - } - if (class_exists(FOSRestBundle::class)) { $bundles[] = new FOSRestBundle(); } @@ -156,14 +151,6 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load 'exception_controller' => null, ]); - if (class_exists(SensioFrameworkExtraBundle::class)) { - $c->loadFromExtension('sensio_framework_extra', [ - 'router' => [ - 'annotations' => false, - ], - ]); - } - $c->loadFromExtension('api_platform', [ 'mapping' => ['paths' => [ !class_exists(ApiProperty::class)