diff options
Diffstat (limited to 'php-doctrine-migrations-rpm.patch')
-rw-r--r-- | php-doctrine-migrations-rpm.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/php-doctrine-migrations-rpm.patch b/php-doctrine-migrations-rpm.patch index 76288a4..a653ef0 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 2020-11-05 10:56:59.000000000 +0100 -+++ ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php 2020-11-05 10:59:12.867450852 +0100 +--- ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm 2021-01-05 10:51:45.000000000 +0100 ++++ ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php 2021-01-28 11:15:35.294828232 +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; @@ -11,7 +11,7 @@ diff -up ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm ./lib/Doc @@ -38,7 +37,7 @@ class ConsoleRunner /** @param AbstractCommand[] $commands */ - public static function createApplication(HelperSet $helperSet, array $commands = []) : Application + public static function createApplication(HelperSet $helperSet, array $commands = []): Application { - $cli = new Application('Doctrine Migrations', Versions::getVersion('doctrine/migrations')); + $cli = new Application('Doctrine Migrations', '@VERSION@'); @@ -19,8 +19,8 @@ diff -up ./lib/Doctrine/Migrations/Tools/Console/ConsoleRunner.php.rpm ./lib/Doc $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 2020-11-05 10:56:59.000000000 +0100 -+++ ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php 2020-11-05 11:00:29.151171587 +0100 +--- ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm 2021-01-05 10:51:45.000000000 +0100 ++++ ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php 2021-01-28 11:14:17.336197063 +0100 @@ -18,7 +18,6 @@ use Doctrine\Migrations\Tools\Console\Co use Doctrine\ORM\EntityManager; use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper; @@ -29,7 +29,7 @@ diff -up ./tests/Doctrine/Migrations/Tests/Functional/CliTest.php.rpm ./tests/Do use ReflectionClass; use RuntimeException; use Symfony\Component\Console\Application; -@@ -281,7 +280,7 @@ class CliTest extends MigrationTestCase +@@ -284,7 +283,7 @@ class CliTest extends MigrationTestCase $this->deleteMigrationFiles(); $this->conn = $this->getSqliteConnection(); |