From f207de38d4ec2acdbbc165e191b2839cd33f5884 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 6 Jul 2020 15:25:00 +0200 Subject: test build for upcoming 5.3.0 raise dependency on PHP 7.1.3 raise dependency on bartlett/php-reflect 4.4 raise dependency on bartlett/php-compatinfo-db 2.0 switch to phpunit8 --- php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch | 62 +++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch (limited to 'php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch') diff --git a/php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch b/php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch new file mode 100644 index 0000000..74e4a1c --- /dev/null +++ b/php-bartlett-PHP-CompatInfo-5.3.0-rpm.patch @@ -0,0 +1,62 @@ +diff -up ./bin/phpcompatinfo.json.dist.rpm ./bin/phpcompatinfo.json.dist +--- ./bin/phpcompatinfo.json.dist.rpm 2020-07-06 10:54:23.000000000 +0200 ++++ ./bin/phpcompatinfo.json.dist 2020-07-06 15:17:00.620618627 +0200 +@@ -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 2020-07-06 15:17:00.620618627 +0200 ++++ ./bin/phpcompatinfo 2020-07-06 15:20:53.977038529 +0200 +@@ -1,23 +1,13 @@ + #!/usr/bin/env php + setUseIncludePath(true); + + if (PHP_SAPI !== 'cli') { + return; +@@ -28,5 +18,5 @@ use Bartlett\CompatInfo\Console\Applicat + + Environment::setScanDir(); + +-$application = new Application($appName, '5.2.3'); ++$application = new Application($appName, '@package_version@'); + $application->run(); -- cgit