From b6edd90430957554fbb1725e90ce5a827bdcf54a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 22 Aug 2014 08:48:42 +0200 Subject: php-bartlett-PHP-CompatInfo: 3.3.0 --- php-bartlett-PHP-CompatInfo-rpm.patch | 34 +++++++++++++++++++++++++++++----- 1 file changed, 29 insertions(+), 5 deletions(-) (limited to 'php-bartlett-PHP-CompatInfo-rpm.patch') diff --git a/php-bartlett-PHP-CompatInfo-rpm.patch b/php-bartlett-PHP-CompatInfo-rpm.patch index a39ef5a..f35d15c 100644 --- a/php-bartlett-PHP-CompatInfo-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-rpm.patch @@ -1,13 +1,36 @@ +diff -up ./bin/phpcompatinfo.json.dist.rpm ./bin/phpcompatinfo.json.dist +--- ./bin/phpcompatinfo.json.dist.rpm 2014-08-22 08:17:40.045281815 +0200 ++++ ./bin/phpcompatinfo.json.dist 2014-08-22 08:17:46.784308376 +0200 +@@ -9,6 +9,19 @@ + { + "name": "Analyser", + "class": "Bartlett\\Reflect\\Plugin\\Analyser\\AnalyserPlugin" ++ }, ++ { ++ "name": "Cache", ++ "class": "Bartlett\\Reflect\\Plugin\\Cache\\CachePlugin", ++ "options": { ++ "adapter": "DoctrineCacheAdapter", ++ "backend": { ++ "class": "Doctrine\\Common\\Cache\\FilesystemCache", ++ "args": [ ++ "%{HOME}/.cache/phpreflect" ++ ] ++ } ++ } + } + ], + "analysers" : [ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo ---- ./bin/phpcompatinfo.rpm 2014-07-22 20:58:01.000000000 +0200 -+++ ./bin/phpcompatinfo 2014-07-24 07:35:44.357468394 +0200 +--- ./bin/phpcompatinfo.rpm 2014-08-21 21:09:22.000000000 +0200 ++++ ./bin/phpcompatinfo 2014-08-22 08:28:20.750827392 +0200 @@ -1,4 +1,4 @@ -#!/usr/bin/env php +#!/usr/bin/php $vendorDir, + 'Symfony\\Component\\Console' => $vendorDir, + 'Symfony\\Component\\ClassLoader' => $vendorDir, ++ 'Seld\\JsonLint' => $vendorDir, + 'Bartlett' => $vendorDir, +)); +$loader->register(); @@ -35,8 +59,8 @@ diff -up ./bin/phpcompatinfo.rpm ./bin/phpcompatinfo if (PHP_SAPI !== 'cli') { return; diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php ---- ./tests/bootstrap.php.rpm 2014-07-22 20:58:01.000000000 +0200 -+++ ./tests/bootstrap.php 2014-07-24 07:35:28.060391649 +0200 +--- ./tests/bootstrap.php.rpm 2014-08-21 21:09:22.000000000 +0200 ++++ ./tests/bootstrap.php 2014-08-22 08:30:12.203270207 +0200 @@ -1,8 +1,29 @@