Skip to content

Commit

Permalink
Merge pull request #4825 from derrabus/bugfix/console-runner-version
Browse files Browse the repository at this point in the history
Fix version displayed in `ConsoleRunner`
  • Loading branch information
derrabus authored Sep 28, 2021
2 parents 686d160 + b64fb4d commit 19c1db0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Tools/Console/ConsoleRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 19c1db0

Please sign in to comment.