From b64fb4d3cdb0d2e19de4cd0d7f91b1b5f26b7f89 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Tue, 28 Sep 2021 16:17:31 +0200 Subject: [PATCH] Fix version displayed in ConsoleRunner --- src/Tools/Console/ConsoleRunner.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Tools/Console/ConsoleRunner.php b/src/Tools/Console/ConsoleRunner.php index 92998188568..1cc315deeba 100644 --- a/src/Tools/Console/ConsoleRunner.php +++ b/src/Tools/Console/ConsoleRunner.php @@ -25,9 +25,7 @@ class ConsoleRunner */ public static function run(ConnectionProvider $connectionProvider, $commands = []) { - $cli = new Application('Doctrine Command Line Interface', Versions::getVersion( - Versions::rootPackageName() - )); + $cli = new Application('Doctrine Command Line Interface', Versions::getVersion('doctrine/dbal')); $cli->setCatchExceptions(true); self::addCommands($cli, $connectionProvider);