summaryrefslogtreecommitdiffstats
path: root/phpcov-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-12 08:55:53 +0200
committerRemi Collet <remi@remirepo.net>2020-08-12 08:55:53 +0200
commit3f671e4f4c32fb6ab4b9224df0d0a497cd1742c1 (patch)
treedf5f98ccf50ea79c9b85d47febd86779c2f087d5 /phpcov-rpm.patch
parentc1ff96766a65304354bf58638971821fd6d2e2d2 (diff)
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
Diffstat (limited to 'phpcov-rpm.patch')
-rw-r--r--phpcov-rpm.patch23
1 files changed, 8 insertions, 15 deletions
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']));