summaryrefslogtreecommitdiffstats
path: root/php-bartlett-php-compatinfo-db-2.0-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-05-11 08:47:41 +0200
committerRemi Collet <remi@remirepo.net>2020-05-11 08:47:41 +0200
commit9bc229e4dcdf4c613bb1b9b8f5e43d0fa3a92a00 (patch)
tree4e7304fc6d00b8923e55db55ab218c5221e2fc4d /php-bartlett-php-compatinfo-db-2.0-rpm.patch
parent3e26e9d228bf8b2f5ee46baea18a75aacb9b4eb4 (diff)
update to 2.13.0
raise dependency on Symfony 4.4
Diffstat (limited to 'php-bartlett-php-compatinfo-db-2.0-rpm.patch')
-rw-r--r--php-bartlett-php-compatinfo-db-2.0-rpm.patch25
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;