summaryrefslogtreecommitdiffstats
path: root/php-doctrine-migrations-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-11-05 11:04:25 +0100
committerRemi Collet <remi@remirepo.net>2020-11-05 11:04:25 +0100
commitacee64b3f06f7ff8410b0e1a305497b53715c962 (patch)
tree558fe7b34209d7662e2947e0b065c9b22a281d61 /php-doctrine-migrations-rpm.patch
parentd6c1f7cad4f7a7e55467476f8178b547419a41ef (diff)
v2.3.0
Diffstat (limited to 'php-doctrine-migrations-rpm.patch')
-rw-r--r--php-doctrine-migrations-rpm.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/php-doctrine-migrations-rpm.patch b/php-doctrine-migrations-rpm.patch
index 69be9f8..76288a4 100644
--- a/php-doctrine-migrations-rpm.patch
+++ b/php-doctrine-migrations-rpm.patch
@@ -1,6 +1,6 @@
diff -up ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php
---- ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm 2019-03-27 09:58:41.000000000 +0100
-+++ ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php 2019-03-27 10:19:22.365477263 +0100
+--- ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm 2020-11-05 10:56:59.000000000 +0100
++++ ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php 2020-11-05 10:59:12.867450852 +0100
@@ -15,7 +15,6 @@ use Doctrine\Migrations\Tools\Console\Co
use Doctrine\Migrations\Tools\Console\Command\StatusCommand;
use Doctrine\Migrations\Tools\Console\Command\UpToDateCommand;
@@ -14,14 +14,14 @@ diff -up ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm ./lib/Doc
public static function createApplication(HelperSet $helperSet, array $commands = []) : Application
{
- $cli = new Application('Doctrine Migrations', Versions::getVersion('doctrine/migrations'));
-+ $cli = new Application('Doctrine Migrations', '2.0.0');
++ $cli = new Application('Doctrine Migrations', '@VERSION@');
$cli->setCatchExceptions(true);
$cli->setHelperSet($helperSet);
self::addCommands($cli);
diff -up ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php
---- ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm 2019-03-27 10:20:22.799818585 +0100
-+++ ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php 2019-03-27 10:20:48.070961326 +0100
-@@ -17,7 +17,6 @@ use Doctrine\Migrations\Tools\Console\Co
+--- ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm 2020-11-05 10:56:59.000000000 +0100
++++ ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php 2020-11-05 11:00:29.151171587 +0100
+@@ -18,7 +18,6 @@ use Doctrine\Migrations\Tools\Console\Co
use Doctrine\ORM\EntityManager;
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Doctrine\ORM\Tools\Setup as OrmSetup;
@@ -29,8 +29,8 @@ diff -up ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm ./tests/Do
use ReflectionClass;
use RuntimeException;
use Symfony\Component\Console\Application;
-@@ -227,7 +226,7 @@ class CliTest extends MigrationTestCase
- );
+@@ -281,7 +280,7 @@ class CliTest extends MigrationTestCase
+ $this->deleteMigrationFiles();
$this->conn = $this->getSqliteConnection();
- $this->application = new Application('Doctrine Migrations Test', Versions::getVersion('doctrine/migrations'));