summaryrefslogtreecommitdiffstats
path: root/phpunit7-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2018-04-18 18:21:52 +0200
committerRemi Collet <remi@remirepo.net>2018-04-18 18:21:52 +0200
commit7c217e94e7d4713812e00fc0b26c2e5db1255dc0 (patch)
treef381a65598dc09fe4a97d2e78e46a195816cb7a4 /phpunit7-rpm.patch
parent19397527655a3032bebc2e0eecae5185a7b4b97f (diff)
update to 7.1.4
allow sebastian/comparator 3.0
Diffstat (limited to 'phpunit7-rpm.patch')
-rw-r--r--phpunit7-rpm.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/phpunit7-rpm.patch b/phpunit7-rpm.patch
index db9bdfe..48385bc 100644
--- a/phpunit7-rpm.patch
+++ b/phpunit7-rpm.patch
@@ -1,6 +1,6 @@
diff -up ./phpunit.rpm ./phpunit
---- ./phpunit.rpm 2018-02-02 06:04:08.000000000 +0100
-+++ ./phpunit 2018-02-02 10:25:26.281085072 +0100
+--- ./phpunit.rpm 2018-04-18 15:41:53.000000000 +0200
++++ ./phpunit 2018-04-18 17:47:22.114947265 +0200
@@ -27,27 +27,18 @@ if (!ini_get('date.timezone')) {
ini_set('date.timezone', 'UTC');
}
@@ -41,17 +41,19 @@ diff -up ./phpunit.rpm ./phpunit
+ PHPUnit\TextUI\Command::main(); // PHPUnit v6 or newer
+}
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
---- ./tests/bootstrap.php.rpm 2018-02-02 06:04:08.000000000 +0100
-+++ ./tests/bootstrap.php 2018-02-02 10:24:37.643848378 +0100
-@@ -6,7 +6,10 @@ if (!defined('TEST_FILES_PATH')) {
- ini_set('precision', 14);
- ini_set('serialize_precision', 14);
+--- ./tests/bootstrap.php.rpm 2018-04-18 17:47:22.114947265 +0200
++++ ./tests/bootstrap.php 2018-04-18 17:49:00.630467371 +0200
+@@ -14,7 +14,12 @@ if (!\defined('TEST_FILES_PATH')) {
+ \ini_set('precision', 14);
+ \ini_set('serialize_precision', 14);
-require_once __DIR__ . '/../vendor/autoload.php';
+require_once '@PATH@/autoload.php';
++require_once __DIR__ . '/_files/CoverageNamespacedFunctionTest.php';
+require_once __DIR__ . '/_files/CoveredFunction.php';
++require_once __DIR__ . '/_files/NamespaceCoveredFunction.php';
+require_once '@PATH@/Framework/Assert/Functions.php';
+require_once __DIR__ . '/autoload.php';
- // TODO: Figure out why (some of) these are required (the classes should be autoloaded instead)
+ // TODO: Figure out why these are required (the classes should be autoloaded instead)
require_once TEST_FILES_PATH . 'BeforeAndAfterTest.php';