mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
-
This commit is contained in:
@@ -15,7 +15,7 @@ if (class_exists(AnnotationRegistry::class)) {
|
||||
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.');
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,4 @@ framework:
|
||||
php_errors:
|
||||
log: true
|
||||
router:
|
||||
resource: kernel:loadRoutes
|
||||
type: service
|
||||
strict_requirements: null
|
||||
|
||||
Reference in New Issue
Block a user