diff --git a/Bootstraps/Symfony.php b/Bootstraps/Symfony.php index 5488581..b3585ad 100644 --- a/Bootstraps/Symfony.php +++ b/Bootstraps/Symfony.php @@ -70,6 +70,7 @@ public function getApplication() if ($this->debug) { Utils::bindAndCall(function () use ($app) { + $app->boot(); $container = $app->container; $containerClassName = substr(strrchr(get_class($app->container), "\\"), 1); diff --git a/composer.json b/composer.json index 8f40c7c..e5f63f6 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,6 @@ { "name": "php-pm/httpkernel-adapter", + "description": "PHP-PM adapter for Symfony HTTPKernel.", "license": "MIT", "require": { "php-pm/php-pm": "^2.0", diff --git a/tests/Fixtures/Symfony/config/services.yaml b/tests/Fixtures/Symfony/config/services.yaml index 133a6cc..efb8ece 100644 --- a/tests/Fixtures/Symfony/config/services.yaml +++ b/tests/Fixtures/Symfony/config/services.yaml @@ -12,6 +12,10 @@ services: PHPPM\Tests\Fixtures\Symfony\Controller\: resource: '../Controller/*' tags: ['controller.service_arguments'] + # override the default symfony logger + logger: + synthetic: true + public: true framework: secret: foobar