diff options
Diffstat (limited to 'php-doctrine-orm-version.patch')
-rw-r--r-- | php-doctrine-orm-version.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/php-doctrine-orm-version.patch b/php-doctrine-orm-version.patch index 3329460..471edd8 100644 --- a/php-doctrine-orm-version.patch +++ b/php-doctrine-orm-version.patch @@ -1,17 +1,17 @@ diff -up ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php.rpm ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php ---- ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php.rpm 2020-02-17 10:57:11.784461836 +0100 -+++ ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php 2020-02-17 10:58:14.085234990 +0100 -@@ -23,7 +23,6 @@ use Doctrine\DBAL\Tools\Console as DBALC +--- ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php.rpm 2021-02-24 11:46:38.401567397 +0100 ++++ ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php 2021-02-24 11:48:56.874107710 +0100 +@@ -24,7 +24,6 @@ use Doctrine\DBAL\Tools\Console as DBALC use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper; use OutOfBoundsException; -use PackageVersions\Versions; use Symfony\Component\Console\Application; + use Symfony\Component\Console\Command\Command as SymfonyCommand; use Symfony\Component\Console\Helper\HelperSet; - -@@ -75,7 +74,7 @@ final class ConsoleRunner +@@ -68,7 +67,7 @@ final class ConsoleRunner */ - public static function createApplication(HelperSet $helperSet, array $commands = []) : Application + public static function createApplication(HelperSet $helperSet, array $commands = []): Application { - $cli = new Application('Doctrine Command Line Interface', Versions::getVersion('doctrine/orm')); + $cli = new Application('Doctrine Command Line Interface', '@VERSION@'); @@ -19,9 +19,9 @@ diff -up ./lib/Doctrine/ORM/Tools/Console/ConsoleRunner.php.rpm ./lib/Doctrine/O $cli->setHelperSet($helperSet); self::addCommands($cli); diff -up ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php.rpm ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php ---- ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php.rpm 2020-02-17 11:04:44.126876478 +0100 -+++ ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php 2020-02-17 11:04:47.738864467 +0100 -@@ -4,7 +4,6 @@ namespace Doctrine\Tests\ORM\Tools\Conso +--- ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php.rpm 2021-02-24 11:42:32.000000000 +0100 ++++ ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php 2021-02-24 11:46:38.402567394 +0100 +@@ -6,7 +6,6 @@ namespace Doctrine\Tests\ORM\Tools\Conso use Doctrine\ORM\Tools\Console\ConsoleRunner; use Doctrine\Tests\DoctrineTestCase; @@ -29,7 +29,7 @@ diff -up ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php.rpm ./te use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\HelperSet; -@@ -21,7 +20,7 @@ final class ConsoleRunnerTest extends Do +@@ -22,7 +21,7 @@ final class ConsoleRunnerTest extends Do $app = ConsoleRunner::createApplication($helperSet); self::assertSame($helperSet, $app->getHelperSet()); @@ -38,4 +38,3 @@ diff -up ./tests/Doctrine/Tests/ORM/Tools/Console/ConsoleRunnerTest.php.rpm ./te self::assertTrue($app->has('dbal:import')); self::assertTrue($app->has('dbal:reserved-words')); - |