diff options
Diffstat (limited to 'php-bartlett-php-compatinfo-db-2.0-rpm.patch')
-rw-r--r-- | php-bartlett-php-compatinfo-db-2.0-rpm.patch | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/php-bartlett-php-compatinfo-db-2.0-rpm.patch b/php-bartlett-php-compatinfo-db-2.0-rpm.patch index 9912fb1..57a29db 100644 --- a/php-bartlett-php-compatinfo-db-2.0-rpm.patch +++ b/php-bartlett-php-compatinfo-db-2.0-rpm.patch @@ -1,6 +1,6 @@ diff -up ./bin/compatinfo-db.rpm ./bin/compatinfo-db ---- ./bin/compatinfo-db.rpm 2018-12-31 15:15:21.000000000 +0100 -+++ ./bin/compatinfo-db 2019-01-04 08:23:55.037657122 +0100 +--- ./bin/compatinfo-db.rpm 2020-05-10 13:26:48.000000000 +0200 ++++ ./bin/compatinfo-db 2020-05-11 08:25:46.977559291 +0200 @@ -7,10 +7,7 @@ declare(strict_types=1); gc_disable(); // performance boost @@ -14,8 +14,8 @@ diff -up ./bin/compatinfo-db.rpm ./bin/compatinfo-db $isAutoloadFound = false; diff -up ./src/DatabaseFactory.php.rpm ./src/DatabaseFactory.php ---- ./src/DatabaseFactory.php.rpm 2018-12-31 15:15:21.000000000 +0100 -+++ ./src/DatabaseFactory.php 2019-01-04 08:24:55.740977613 +0100 +--- ./src/DatabaseFactory.php.rpm 2020-05-10 13:26:48.000000000 +0200 ++++ ./src/DatabaseFactory.php 2020-05-11 08:25:46.977559291 +0200 @@ -35,14 +35,13 @@ class DatabaseFactory private static function getSqliteDsn() : array @@ -60,19 +60,18 @@ diff -up ./src/DatabaseFactory.php.rpm ./src/DatabaseFactory.php \ Pas de fin de ligne à la fin du fichier +} diff -up ./src/Presentation/Console/Application.php.rpm ./src/Presentation/Console/Application.php ---- ./src/Presentation/Console/Application.php.rpm 2018-12-31 15:15:21.000000000 +0100 -+++ ./src/Presentation/Console/Application.php 2019-01-04 08:23:55.040657137 +0100 -@@ -47,12 +47,7 @@ class Application extends \Symfony\Compo +--- ./src/Presentation/Console/Application.php.rpm 2020-05-11 08:25:46.977559291 +0200 ++++ ./src/Presentation/Console/Application.php 2020-05-11 08:27:10.705045605 +0200 +@@ -38,11 +38,7 @@ class Application extends \Symfony\Compo - public function __construct(string $name = 'UNKNOWN') + public function __construct(ContainerInterface $container) { - try { - $version = \Jean85\PrettyVersions::getVersion('bartlett/php-compatinfo-db')->getPrettyVersion(); - } catch (\OutOfBoundsException $e) { -- $version = 'UNKNOWN'; +- $version = self::VERSION; - } -- parent::__construct($name, $version); -+ parent::__construct($name, '@VERSION@'); ++ $version = self::VERSION; + parent::__construct(self::NAME, $version); - $this->baseDir = dirname(dirname(dirname(__DIR__))); - } + $this->container = $container; |