From 90cf9ee1c481d5c44c079255b4eb6047b1cf16ff Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Nov 2014 18:02:53 +0100 Subject: php-bartlett-PHP-Reflect: 2.6.0 --- php-bartlett-PHP-Reflect-rpm.patch | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'php-bartlett-PHP-Reflect-rpm.patch') diff --git a/php-bartlett-PHP-Reflect-rpm.patch b/php-bartlett-PHP-Reflect-rpm.patch index ad85dd3..1b7c93b 100644 --- a/php-bartlett-PHP-Reflect-rpm.patch +++ b/php-bartlett-PHP-Reflect-rpm.patch @@ -42,7 +42,7 @@ diff -up ./bin/phpreflect.rpm ./bin/phpreflect if (!getenv("REFLECT")) { $home = defined('PHP_WINDOWS_VERSION_BUILD') ? 'USERPROFILE' : 'HOME'; -@@ -26,8 +22,28 @@ if (\Phar::running()) { +@@ -26,8 +22,29 @@ if (\Phar::running()) { } } } @@ -66,6 +66,7 @@ diff -up ./bin/phpreflect.rpm ./bin/phpreflect + 'Symfony\\Component\\ClassLoader' => $vendorDir, + 'Doctrine\\Common\\Cache' => $vendorDir, + 'Seld\\JsonLint' => $vendorDir, ++ 'JsonSchema' => $vendorDir, + 'Bartlett' => $vendorDir, +)); +$loader->useIncludePath(true); @@ -98,3 +99,15 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php +)); +$loader->useIncludePath(true); +$loader->register(); +diff -up ./tests/EnvironmentTest.php.prev ./tests/EnvironmentTest.php +--- ./tests/EnvironmentTest.php.prev 2014-11-13 17:38:59.895447844 +0100 ++++ ./tests/EnvironmentTest.php 2014-11-13 17:39:02.138456731 +0100 +@@ -168,6 +168,8 @@ class EnvironmentTest extends \PHPUnit_F + ), + ); + ++ unset($var['plugins'][1]); // Cache added by our patch ++ + $this->assertEquals( + $config, + $var, -- cgit