summaryrefslogtreecommitdiffstats
path: root/phpunit11-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-11-28 07:36:04 +0100
committerRemi Collet <remi@php.net>2024-11-28 07:36:04 +0100
commitb414963df3f566c991933e9810693dc78f63b7f6 (patch)
tree7c3579f97817412d4d3675c495c0684d903457e4 /phpunit11-rpm.patch
parenta006aa38e72de81aa03ad22a751f5d1518104d8d (diff)
update to 11.4.4
raise dependency on myclabs/deep-copy 1.12.1 raise dependency on sebastian/comparator 6.2.1
Diffstat (limited to 'phpunit11-rpm.patch')
-rw-r--r--phpunit11-rpm.patch30
1 files changed, 15 insertions, 15 deletions
diff --git a/phpunit11-rpm.patch b/phpunit11-rpm.patch
index bcc35c6..22b991f 100644
--- a/phpunit11-rpm.patch
+++ b/phpunit11-rpm.patch
@@ -1,6 +1,6 @@
diff -up ./phpunit.rpm ./phpunit
---- ./phpunit.rpm 2024-10-28 16:32:22.000000000 +0100
-+++ ./phpunit 2024-10-28 16:32:27.795731213 +0100
+--- ./phpunit.rpm 2024-11-28 07:29:40.000000000 +0100
++++ ./phpunit 2024-11-28 07:31:32.759973771 +0100
@@ -46,27 +46,13 @@ if (isset($GLOBALS['_composer_autoload_p
define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']);
@@ -50,8 +50,8 @@ diff -up ./phpunit.rpm ./phpunit
+ PHPUnit\TextUI\Command::main();
+}
diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/Command/Commands/VersionCheckCommand.php
---- ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm 2024-10-28 16:32:22.000000000 +0100
-+++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-10-28 17:11:42.258839065 +0100
+--- ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm 2024-11-28 07:29:40.000000000 +0100
++++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-11-28 07:32:43.493663870 +0100
@@ -39,7 +39,7 @@ final readonly class VersionCheckCommand
assert($latestVersion !== false);
@@ -59,9 +59,9 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
- $latestCompatibleVersion = $this->downloader->download('https://phar.phpunit.de/latest-version-of/phpunit-' . $this->majorVersionNumber);
+ $latestCompatibleVersion = $this->downloader->download('https://phar.phpunit.de/latest-version-of/phpunit-' . $major=$this->majorVersionNumber);
- assert($latestCompatibleVersion !== false);
-
-@@ -52,11 +52,11 @@ final readonly class VersionCheckCommand
+ $notLatest = version_compare($latestVersion, $this->versionId, '>');
+ $notLatestCompatible = false;
+@@ -50,11 +50,11 @@ final readonly class VersionCheckCommand
if (!$notLatest && !$notLatestCompatible) {
return Result::from(
@@ -75,7 +75,7 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
if ($notLatestCompatible) {
$buffer .= sprintf(
-@@ -64,6 +64,7 @@ final readonly class VersionCheckCommand
+@@ -62,6 +62,7 @@ final readonly class VersionCheckCommand
$this->versionId,
$latestCompatibleVersion,
);
@@ -83,7 +83,7 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
}
if ($notLatest) {
-@@ -71,6 +72,9 @@ final readonly class VersionCheckCommand
+@@ -69,6 +70,9 @@ final readonly class VersionCheckCommand
'The latest version is PHPUnit %s.' . PHP_EOL,
$latestVersion,
);
@@ -94,8 +94,8 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
return Result::from($buffer, Result::FAILURE);
diff -up ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm ./src/TextUI/Configuration/Xml/SchemaFinder.php
---- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2024-10-28 16:32:22.000000000 +0100
-+++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-10-28 16:32:27.795731213 +0100
+--- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2024-11-28 07:29:40.000000000 +0100
++++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-11-28 07:31:32.759973771 +0100
@@ -77,6 +77,6 @@ final readonly class SchemaFinder
return __PHPUNIT_PHAR_ROOT__ . '/';
}
@@ -105,8 +105,8 @@ diff -up ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm ./src/TextUI/Config
}
}
diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
---- ./tests/bootstrap.php.rpm 2024-10-28 16:32:22.000000000 +0100
-+++ ./tests/bootstrap.php 2024-10-28 16:32:27.796731252 +0100
+--- ./tests/bootstrap.php.rpm 2024-11-28 07:29:40.000000000 +0100
++++ ./tests/bootstrap.php 2024-11-28 07:31:32.759973771 +0100
@@ -11,8 +11,8 @@ if (!defined('TEST_FILES_PATH')) {
define('TEST_FILES_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR);
}
@@ -137,8 +137,8 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
if ($phar) {
diff -up ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php.rpm ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php
---- ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php.rpm 2024-10-28 16:32:22.000000000 +0100
-+++ ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php 2024-10-28 17:11:47.725052771 +0100
+--- ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php.rpm 2024-11-28 07:29:40.000000000 +0100
++++ ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php 2024-11-28 07:31:32.759973771 +0100
@@ -28,7 +28,7 @@ final class VersionCheckCommandTest exte
{
return [