Skip to content

Commit 31aa89c

Browse files
committed
Fix FosJsRoutingBundle requirement
1 parent a54621e commit 31aa89c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"doctrine/phpcr-bundle": "~1.1,>=1.1.0-beta2",
2121
"doctrine/data-fixtures": "1.*,>=1.0.0-alpha3",
2222
"jackalope/jackalope": "~1.1,>=1.1.5",
23-
"jackalope/jackalope-doctrine-dbal": "~1.1,>=1.1.5"
23+
"jackalope/jackalope-doctrine-dbal": "~1.1,>=1.1.5",
24+
"friendsofsymfony/jsrouting-bundle": "~1.1"
2425
},
2526
"autoload": {
2627
"psr-4": {

src/HttpKernel/TestKernel.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,12 @@ public function __construct($env, $debug)
5757
'Sonata\CoreBundle\SonataCoreBundle',
5858
'Sonata\AdminBundle\SonataAdminBundle',
5959
'Knp\Bundle\MenuBundle\KnpMenuBundle',
60+
'FOS\JsRoutingBundle\FOSJsRoutingBundle',
6061
);
6162

6263
if (class_exists('Sonata\jQueryBundle\SonatajQueryBundle')) {
6364
$baseSonataBundles[] = 'Sonata\jQueryBundle\SonatajQueryBundle';
6465
}
65-
66-
if (class_exists('FOS\JsRoutingBundle\FOSJsRoutingBundle')) {
67-
$baseSonataBundles[] = 'FOS\JsRoutingBundle\FOSJsRoutingBundle';
68-
}
6966

7067
$this->registerBundleSet('sonata_admin', array_merge(array(
7168
'Sonata\DoctrinePHPCRAdminBundle\SonataDoctrinePHPCRAdminBundle',

0 commit comments

Comments
 (0)