Skip to content

Commit

Permalink
Update composer/package-versions-deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Oct 16, 2020
1 parent 98c9835 commit 3ee27c3
Show file tree
Hide file tree
Showing 3 changed files with 127 additions and 13 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
],
"require": {
"php": "^7.3 || ^8.0",
"composer/package-versions-deprecated": "^1.8",
"composer/package-versions-deprecated": "^1.11.99",
"doctrine/cache": "^1.0",
"doctrine/event-manager": "^1.0"
},
Expand Down
134 changes: 123 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/Tools/Console/ConsoleRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ class ConsoleRunner
*/
public static function run(ConnectionProvider $connectionProvider, $commands = [])
{
$cli = new Application('Doctrine Command Line Interface', Versions::getVersion('doctrine/dbal'));
$cli = new Application('Doctrine Command Line Interface', Versions::getVersion(
Versions::rootPackageName()
));

$cli->setCatchExceptions(true);
self::addCommands($cli, $connectionProvider);
Expand Down

0 comments on commit 3ee27c3

Please sign in to comment.