summaryrefslogtreecommitdiffstats
path: root/php-doctrine-dbal3-bin.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-10-04 09:42:23 +0200
committerRemi Collet <remi@remirepo.net>2021-10-04 09:42:23 +0200
commitce7831c688636cc39fca17d6509db39f89af3472 (patch)
tree5035bec16467c50852a8a6bc2565b228865c85bc /php-doctrine-dbal3-bin.patch
parentccb2cfd7a3469285a6c33525f94eae55ec6eaf91 (diff)
update to 3.1.3
Diffstat (limited to 'php-doctrine-dbal3-bin.patch')
-rw-r--r--php-doctrine-dbal3-bin.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/php-doctrine-dbal3-bin.patch b/php-doctrine-dbal3-bin.patch
index 0f12483..2d92fcd 100644
--- a/php-doctrine-dbal3-bin.patch
+++ b/php-doctrine-dbal3-bin.patch
@@ -1,6 +1,6 @@
diff -up ./bin/doctrine-dbal.php.rpm ./bin/doctrine-dbal.php
---- ./bin/doctrine-dbal.php.rpm 2020-11-16 12:02:16.000000000 +0100
-+++ ./bin/doctrine-dbal.php 2020-11-16 12:21:56.895094784 +0100
+--- ./bin/doctrine-dbal.php.rpm 2021-10-04 09:39:41.000000000 +0200
++++ ./bin/doctrine-dbal.php 2021-10-04 09:40:19.300550825 +0200
@@ -1,25 +1,14 @@
+#!/usr/bin/env php
<?php
@@ -31,8 +31,8 @@ diff -up ./bin/doctrine-dbal.php.rpm ./bin/doctrine-dbal.php
$configFile = $directory . DIRECTORY_SEPARATOR . 'cli-config.php';
diff -up ./src/Tools/Console/ConsoleRunner.php.rpm ./src/Tools/Console/ConsoleRunner.php
---- ./src/Tools/Console/ConsoleRunner.php.rpm 2020-11-16 12:07:38.948729149 +0100
-+++ ./src/Tools/Console/ConsoleRunner.php 2020-11-16 12:08:24.685526402 +0100
+--- ./src/Tools/Console/ConsoleRunner.php.rpm 2021-10-04 09:39:41.000000000 +0200
++++ ./src/Tools/Console/ConsoleRunner.php 2021-10-04 09:41:02.034408249 +0200
@@ -5,7 +5,6 @@ namespace Doctrine\DBAL\Tools\Console;
use Doctrine\DBAL\Tools\Console\Command\ReservedWordsCommand;
use Doctrine\DBAL\Tools\Console\Command\RunSqlCommand;
@@ -41,13 +41,11 @@ diff -up ./src/Tools/Console/ConsoleRunner.php.rpm ./src/Tools/Console/ConsoleRu
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Command\Command;
-@@ -25,9 +24,7 @@ class ConsoleRunner
+@@ -25,7 +24,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 = new Application('Doctrine Command Line Interface', '@VERSION@');
$cli->setCatchExceptions(true);