This commit is contained in:
Fabien Potencier
2017-01-24 10:48:54 -08:00
parent 6b98a23b87
commit b0cb32037f
2 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ if (class_exists(AnnotationRegistry::class)) {
AnnotationRegistry::registerLoader([$loader, 'loadClass']); AnnotationRegistry::registerLoader([$loader, 'loadClass']);
} }
if (!class_exists('Symfony\Bundle\FrameworkBundle\Console\Application')) { if (!class_exists(Application::class)) {
throw new \RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.'); throw new \RuntimeException('You need to add "symfony/framework-bundle" as a Composer dependency.');
} }
@@ -15,6 +15,4 @@ framework:
php_errors: php_errors:
log: true log: true
router: router:
resource: kernel:loadRoutes
type: service
strict_requirements: null strict_requirements: null