summaryrefslogtreecommitdiffstats
path: root/phpunit10-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-04-14 10:59:40 +0200
committerRemi Collet <remi@php.net>2023-04-14 10:59:40 +0200
commite922cedc49dddb6b9da49e758be057c14c31cde2 (patch)
tree8d211142c547ba00aa3f509062003973ae07841d /phpunit10-rpm.patch
parentfd5c418c10739383973fb1cc35c4ec00ab0ec742 (diff)
update to 10.1.0
raise dependency on phpunit/php-code-coverage 10.1
Diffstat (limited to 'phpunit10-rpm.patch')
-rw-r--r--phpunit10-rpm.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/phpunit10-rpm.patch b/phpunit10-rpm.patch
index 1ce77f1..f4f7c81 100644
--- a/phpunit10-rpm.patch
+++ b/phpunit10-rpm.patch
@@ -1,7 +1,7 @@
diff -up ./phpunit.rpm ./phpunit
---- ./phpunit.rpm 2023-02-03 16:32:47.889941148 +0100
-+++ ./phpunit 2023-02-03 16:41:15.850841011 +0100
-@@ -62,29 +62,25 @@ if (isset($GLOBALS['_composer_autoload_p
+--- ./phpunit.rpm 2023-04-14 10:47:29.000000000 +0200
++++ ./phpunit 2023-04-14 10:49:23.217236377 +0200
+@@ -71,29 +71,25 @@ if (isset($GLOBALS['_composer_autoload_p
define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']);
unset($GLOBALS['_composer_autoload_path']);
@@ -47,20 +47,20 @@ diff -up ./phpunit.rpm ./phpunit
+ // PHPUnit v6 to v9
+ PHPUnit\TextUI\Command::main();
+}
-diff -up ./src/Util/Xml/SchemaFinder.php.rpm ./src/Util/Xml/SchemaFinder.php
---- ./src/Util/Xml/SchemaFinder.php.rpm 2023-02-03 10:51:19.000000000 +0100
-+++ ./src/Util/Xml/SchemaFinder.php 2023-02-03 16:32:47.889941148 +0100
+diff -up ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm ./src/TextUI/Configuration/Xml/SchemaFinder.php
+--- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2023-04-14 10:51:13.796036447 +0200
++++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2023-04-14 10:53:03.227838557 +0200
@@ -48,6 +48,6 @@ final class SchemaFinder
return __PHPUNIT_PHAR_ROOT__ . '/';
}
-- return __DIR__ . '/../../../';
-+ return __DIR__ . '/../../';
+- return __DIR__ . '/../../../../';
++ return __DIR__ . '/../../../';
}
}
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
---- ./tests/bootstrap.php.rpm 2023-02-03 10:51:19.000000000 +0100
-+++ ./tests/bootstrap.php 2023-02-03 16:42:03.557642693 +0100
+--- ./tests/bootstrap.php.rpm 2023-04-14 10:47:29.000000000 +0200
++++ ./tests/bootstrap.php 2023-04-14 10:49:23.217236377 +0200
@@ -11,8 +11,8 @@ if (!defined('TEST_FILES_PATH')) {
define('TEST_FILES_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR);
}