From 7c217e94e7d4713812e00fc0b26c2e5db1255dc0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 18 Apr 2018 18:21:52 +0200 Subject: update to 7.1.4 allow sebastian/comparator 3.0 --- phpunit7-rpm.patch | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'phpunit7-rpm.patch') 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'; -- cgit