Skip to content

Commit

Permalink
Merge pull request #2756 from acrobat/bump-knp-menubundle
Browse files Browse the repository at this point in the history
[AdminBundle] Bump knplabs/knp-menu-bundle and remove default config
  • Loading branch information
acrobat committed Oct 2, 2020
2 parents 733d1ea + 73f2fbb commit 0ffb73e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -57,7 +57,7 @@
"incenteev/composer-parameter-handler": "^2.0",

"friendsofsymfony/user-bundle": "^2.0",
"knplabs/knp-menu-bundle": "~2.0",
"knplabs/knp-menu-bundle": "^3.0",
"guzzlehttp/guzzle": "~6.1",
"white-october/pagerfanta-bundle": "~1.0",
"kunstmaan/google-api-custom": "~1.0",
Expand Down
Expand Up @@ -90,11 +90,6 @@ public function load(array $configs, ContainerBuilder $container)

public function prepend(ContainerBuilder $container)
{
$knpMenuConfig['twig'] = true; // set to false to disable the Twig extension and the TwigRenderer
$knpMenuConfig['templating'] = false; // if true, enables the helper for PHP templates
$knpMenuConfig['default_renderer'] = 'twig'; // The renderer to use, list is also available by default
$container->prependExtensionConfig('knp_menu', $knpMenuConfig);

$fosUserOriginalConfig = $container->getExtensionConfig('fos_user');
if (!isset($fosUserOriginalConfig[0]['db_driver'])) {
$fosUserConfig['db_driver'] = 'orm'; // other valid values are 'mongodb', 'couchdb'
Expand Down
2 changes: 1 addition & 1 deletion src/Kunstmaan/AdminBundle/composer.json
Expand Up @@ -20,7 +20,7 @@
"doctrine/doctrine-cache-bundle": "^1.2",
"friendsofsymfony/user-bundle": "^2.0",
"guzzlehttp/guzzle": "~6.1",
"knplabs/knp-menu-bundle": "~2.0",
"knplabs/knp-menu-bundle": "^3.0",
"kunstmaan/node-bundle": "~5.2",
"kunstmaan/utilities-bundle": "~5.2",
"symfony/acl-bundle": "^1.0",
Expand Down

0 comments on commit 0ffb73e

Please sign in to comment.