From 4a7a1204f57f43adc861df964fd09ad1f9c437ec Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 29 Apr 2020 10:55:21 +0200 Subject: update to 5.2.3 drop patch merged upstream --- php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch | 75 ----------------------------- 1 file changed, 75 deletions(-) delete mode 100644 php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch (limited to 'php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch') diff --git a/php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch b/php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch deleted file mode 100644 index 2c9d19d..0000000 --- a/php-bartlett-PHP-CompatInfo-5.2.2-rpm.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -up ./bin/phpcompatinfo.json.dist.rpm ./bin/phpcompatinfo.json.dist ---- ./bin/phpcompatinfo.json.dist.rpm 2018-11-27 22:03:39.000000000 +0100 -+++ ./bin/phpcompatinfo.json.dist 2018-11-28 08:53:47.258278539 +0100 -@@ -6,6 +6,19 @@ - } - ], - "plugins": [ -+ { -+ "name": "Cache", -+ "class": "Bartlett\\Reflect\\Plugin\\CachePlugin", -+ "options": { -+ "adapter": "DoctrineCacheAdapter", -+ "backend": { -+ "class": "Doctrine\\Common\\Cache\\FilesystemCache", -+ "args": [ -+ "%{HOME}/.cache/php-reflect" -+ ] -+ } -+ } -+ } - ], - "analysers" : [ - ], -diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2018-11-28 08:53:47.258278539 +0100 -+++ ./bin/phpcompatinfo 2018-11-28 08:55:38.807878501 +0100 -@@ -1,42 +1,22 @@ - #!/usr/bin/env php - setUseIncludePath(true); - - if (PHP_SAPI !== 'cli') { - return; - } - --$compatInfoDbV1 = class_exists(Bartlett\CompatInfoDb\Environment::class); -- --if (\Phar::running() && $compatInfoDbV1) { -- try { -- Bartlett\CompatInfoDb\Environment::checkRequirements(); -- } catch (\RuntimeException $e) { -- die ($e->getMessage()); -- } --} -- - use Bartlett\Reflect\Environment; - use Bartlett\CompatInfo\Console\Application; - - Environment::setScanDir(); - --$application = new Application($appName, '5.2.2'); -+$application = new Application($appName, '@package_version@'); - $application->run(); -- cgit