diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-10-05 14:40:26 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-10-05 14:40:26 +0200 |
commit | 8eb62a02ecd8acb747f015d4cb0a10b42fabb82c (patch) | |
tree | 96b07c9d3b7f711006bbc5801fbd2e36cdf0ba1d /phpcov-rpm.patch | |
parent | c645405a1b1005ba756eab3db3e1cb6784a60877 (diff) |
php-phpunit-phpcov: 2.0.2
Diffstat (limited to 'phpcov-rpm.patch')
-rw-r--r-- | phpcov-rpm.patch | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/phpcov-rpm.patch b/phpcov-rpm.patch index 062caeb..a181e10 100644 --- a/phpcov-rpm.patch +++ b/phpcov-rpm.patch @@ -1,7 +1,7 @@ ---- phpcov.rpm 2014-04-30 15:53:58.000000000 +0200 -+++ phpcov 2014-04-30 15:55:08.000000000 +0200 -@@ -42,23 +42,7 @@ - * @since File available since Release 1.0.0 +--- phpcov.rpm 2015-10-05 14:23:45.648930666 +0200 ++++ phpcov 2015-10-05 14:23:51.362957863 +0200 +@@ -9,23 +9,16 @@ + * file that was distributed with this source code. */ -$loaded = false; @@ -12,8 +12,15 @@ - $loaded = true; - break; - } --} -- ++// Ensure correct include_path for RHSCL ++$inc = get_include_path(); ++$dirs = explode(':', $inc); ++if (!in_array('/usr/share/php', $dirs)) { ++ $dirs[] = '/usr/share/php'; ++ set_include_path(implode(':', $dirs)); + } ++unset ($inc, $dirs); + -if (!$loaded) { - die( - 'You need to set up the project dependencies using the following commands:' . PHP_EOL . |