diff --git a/bin/console b/bin/console index 4baf32f..478ed62 100755 --- a/bin/console +++ b/bin/console @@ -8,7 +8,7 @@ use Symfony\Bundle\FrameworkBundle\Console\Application; require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; -return function (array $context) { +return static function (array $context) { $kernel = new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); return new Application($kernel); diff --git a/phpstan.neon b/phpstan.neon index cec322e..1984516 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -10,6 +10,7 @@ parameters: level: max # https://phpstan.org/config-reference#multiple-files paths: + - importmap.php - bin - config - public