From 3f671e4f4c32fb6ab4b9224df0d0a497cd1742c1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 12 Aug 2020 08:55:53 +0200 Subject: update to 8.0.0 sources from git snapshot raise dependency on phpunit/phpunit 9.3 raise dependency on phpunit/php-code-coverage 9.1 drop dependency on Symfony --- phpcov-rpm.patch | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) (limited to 'phpcov-rpm.patch') diff --git a/phpcov-rpm.patch b/phpcov-rpm.patch index a181e10..d8cc948 100644 --- a/phpcov-rpm.patch +++ b/phpcov-rpm.patch @@ -1,6 +1,7 @@ ---- phpcov.rpm 2015-10-05 14:23:45.648930666 +0200 -+++ phpcov 2015-10-05 14:23:51.362957863 +0200 -@@ -9,23 +9,16 @@ +diff -up ./phpcov.rpm ./phpcov +--- ./phpcov.rpm 2020-08-12 08:34:40.537300187 +0200 ++++ ./phpcov 2020-08-12 08:35:58.538282816 +0200 +@@ -9,22 +9,6 @@ * file that was distributed with this source code. */ @@ -12,15 +13,8 @@ - $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 . @@ -28,7 +22,6 @@ - 'php composer.phar install' . PHP_EOL - ); -} -+require 'SebastianBergmann/PHPCOV/autoload.php'; ++require '/usr/share/php/SebastianBergmann/PHPCOV/autoload.php'; - $application = new SebastianBergmann\PHPCOV\Application; - $application->run(); + exit((new SebastianBergmann\PHPCOV\Application)->run($_SERVER['argv'])); -- cgit