Skip to content

Commit

Permalink
Merge pull request #2122 from meyerbaptiste/remove_sensio_framework_e…
Browse files Browse the repository at this point in the history
…xtra_bundle

Remove sensio/framework-extra-bundle from the dev dependencies
  • Loading branch information
soyuka committed Jul 25, 2018
2 parents b4e5c21 + 706ec15 commit 8f70ce3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"psr/log": "^1.0",
"ramsey/uuid": "^3.7",
"ramsey/uuid-doctrine": "^1.4",
"sensio/framework-extra-bundle": "^3.0.11 || ^4.0 || ^5.0",
"symfony/asset": "^3.3 || ^4.0",
"symfony/cache": "^3.3 || ^4.0",
"symfony/config": "^3.4 || ^4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ class CustomActionController extends Controller
* defaults={"_api_resource_class"=CustomActionDummy::class, "_api_item_operation_name"="custom_normalization"}
* )
*/
public function customNormalizationAction(CustomActionDummy $_data)
public function customNormalizationAction(CustomActionDummy $data)
{
$_data->setFoo('foo');
$data->setFoo('foo');

return $this->json($_data);
return $this->json($data);
}

/**
Expand Down
2 changes: 0 additions & 2 deletions tests/Fixtures/app/AppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
use FOS\UserBundle\FOSUserBundle;
use Nelmio\ApiDocBundle\NelmioApiDocBundle;
use Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Bundle\SecurityBundle\SecurityBundle;
Expand Down Expand Up @@ -51,7 +50,6 @@ public function registerBundles(): array
new FrameworkBundle(),
new TwigBundle(),
new DoctrineBundle(),
new SensioFrameworkExtraBundle(),
new ApiPlatformBundle(),
new SecurityBundle(),
new FOSUserBundle(),
Expand Down
4 changes: 0 additions & 4 deletions tests/Fixtures/app/config/config_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ doctrine:
twig:
strict_variables: '%kernel.debug%'

sensio_framework_extra:
router:
annotations: false

api_platform:
title: 'My Dummy API'
description: 'This is a test API.'
Expand Down

0 comments on commit 8f70ce3

Please sign in to comment.