Pārlūkot izejas kodu

Reformulated exception message

Hugo Briand 11 gadi atpakaļ
vecāks
revīzija
d182cc0d1d
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      DependencyInjection/SonataAdminExtension.php

+ 3 - 3
DependencyInjection/SonataAdminExtension.php

@@ -47,13 +47,13 @@ BOOM
         if (!isset($bundles['KnpMenuBundle'])) {
         if (!isset($bundles['KnpMenuBundle'])) {
             throw new \RuntimeException(<<<BOOM
             throw new \RuntimeException(<<<BOOM
 The AdminBundle requires the KnpMenuBundle, but you need to choose your version (and choose wisely, fellow padawan!).
 The AdminBundle requires the KnpMenuBundle, but you need to choose your version (and choose wisely, fellow padawan!).
-Please add either:
+Please fill in your composer.json file by adding either:
 ``"knplabs/knp-menu-bundle": "~1.1"``
 ``"knplabs/knp-menu-bundle": "~1.1"``
 if you want the stable version or:
 if you want the stable version or:
 ``"knplabs/knp-menu-bundle": "~2.0@dev",
 ``"knplabs/knp-menu-bundle": "~2.0@dev",
 "knplabs/knp-menu": "~2.0@dev"``
 "knplabs/knp-menu": "~2.0@dev"``
-into your composer.json file if you want the MopaBootstrapBundle-compatible version and add the KnpMenuBundle into the AppKernel.
-Follow the KnpMenuBundle install documentation ,to be sure you're not forgetting anything!');
+if you want the MopaBootstrapBundle-compatible version. You'll need to add the KnpMenuBundle into the AppKernel as well.
+Follow the KnpMenuBundle install documentation, to be sure you're not forgetting anything!');
 BOOM
 BOOM
             );
             );
         }
         }