summaryrefslogtreecommitdiffstats
path: root/phpunit11-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'phpunit11-rpm.patch')
-rw-r--r--phpunit11-rpm.patch22
1 files changed, 18 insertions, 4 deletions
diff --git a/phpunit11-rpm.patch b/phpunit11-rpm.patch
index 90d2187..bcc35c6 100644
--- a/phpunit11-rpm.patch
+++ b/phpunit11-rpm.patch
@@ -51,7 +51,7 @@ diff -up ./phpunit.rpm ./phpunit
+}
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 16:35:20.006475997 +0100
++++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-10-28 17:11:42.258839065 +0100
@@ -39,7 +39,7 @@ final readonly class VersionCheckCommand
assert($latestVersion !== false);
@@ -61,7 +61,12 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/
assert($latestCompatibleVersion !== false);
-@@ -56,7 +56,7 @@ final readonly class VersionCheckCommand
+@@ -52,11 +52,11 @@ final readonly class VersionCheckCommand
+
+ if (!$notLatest && !$notLatestCompatible) {
+ return Result::from(
+- 'You are using the latest version of PHPUnit.' . PHP_EOL,
++ 'You are using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL,
);
}
@@ -132,8 +137,17 @@ 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:40:07.648741770 +0100
-+++ ./tests/unit/TextUI/Command/Commands/VersionCheckCommandTest.php 2024-10-28 16:41:19.892571275 +0100
+--- ./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
+@@ -28,7 +28,7 @@ final class VersionCheckCommandTest exte
+ {
+ return [
+ [
+- 'You are using the latest version of PHPUnit.' . PHP_EOL,
++ 'You are using the latest version of PHPUnit.' . PHP_EOL . PHP_EOL,
+ Result::SUCCESS,
+ 10,
+ '10.5.0',
@@ -36,8 +36,9 @@ final class VersionCheckCommandTest exte
'10.5.0',
],