Skip to content

Commit

Permalink
drop sensio/framework-extra-bundle (#2256)
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Apr 6, 2024
1 parent a49244b commit 8aa0ca0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/common/composer-install/action.yaml
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion composer.json
Expand Up @@ -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",
Expand Down
13 changes: 0 additions & 13 deletions tests/Functional/TestKernel.php
Expand Up @@ -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;
Expand Down Expand Up @@ -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();
}
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 8aa0ca0

Please sign in to comment.