diff options
Diffstat (limited to 'phpunit11-rpm.patch')
-rw-r--r-- | phpunit11-rpm.patch | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/phpunit11-rpm.patch b/phpunit11-rpm.patch index d117536..10b1cc7 100644 --- a/phpunit11-rpm.patch +++ b/phpunit11-rpm.patch @@ -1,6 +1,6 @@ diff -up ./phpunit.rpm ./phpunit ---- ./phpunit.rpm 2024-03-21 10:23:39.000000000 +0100 -+++ ./phpunit 2024-03-21 14:04:08.699638712 +0100 +--- ./phpunit.rpm 2024-08-02 08:11:38.000000000 +0200 ++++ ./phpunit 2024-08-02 08:12:01.101893244 +0200 @@ -46,27 +46,13 @@ if (isset($GLOBALS['_composer_autoload_p define('PHPUNIT_COMPOSER_INSTALL', $GLOBALS['_composer_autoload_path']); @@ -50,18 +50,18 @@ 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-03-21 10:23:39.000000000 +0100 -+++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-03-21 14:04:31.164578940 +0100 -@@ -24,7 +24,7 @@ final readonly class VersionCheckCommand - public function execute(): Result - { - $latestVersion = file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit'); +--- ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm 2024-08-02 08:11:38.000000000 +0200 ++++ ./src/TextUI/Command/Commands/VersionCheckCommand.php 2024-08-02 08:13:24.053211780 +0200 +@@ -31,7 +31,7 @@ final readonly class VersionCheckCommand + + assert($latestVersion !== false); + - $latestCompatibleVersion = @file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . Version::majorVersionNumber()); + $latestCompatibleVersion = @file_get_contents('https://phar.phpunit.de/latest-version-of/phpunit-' . $major=Version::majorVersionNumber()); $notLatest = version_compare($latestVersion, Version::id(), '>'); $notLatestCompatible = false; -@@ -39,7 +39,7 @@ final readonly class VersionCheckCommand +@@ -46,7 +46,7 @@ final readonly class VersionCheckCommand ); } @@ -70,7 +70,7 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/ if ($notLatestCompatible) { $buffer .= sprintf( -@@ -47,6 +47,7 @@ final readonly class VersionCheckCommand +@@ -54,6 +54,7 @@ final readonly class VersionCheckCommand Version::id(), $latestCompatibleVersion, ); @@ -78,7 +78,7 @@ diff -up ./src/TextUI/Command/Commands/VersionCheckCommand.php.rpm ./src/TextUI/ } if ($notLatest) { -@@ -54,6 +55,9 @@ final readonly class VersionCheckCommand +@@ -61,6 +62,9 @@ final readonly class VersionCheckCommand 'The latest version is PHPUnit %s.' . PHP_EOL, $latestVersion, ); @@ -89,9 +89,9 @@ 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-03-21 10:23:39.000000000 +0100 -+++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-03-21 14:04:08.699638712 +0100 -@@ -75,6 +75,6 @@ final readonly class SchemaFinder +--- ./src/TextUI/Configuration/Xml/SchemaFinder.php.rpm 2024-08-02 08:11:38.000000000 +0200 ++++ ./src/TextUI/Configuration/Xml/SchemaFinder.php 2024-08-02 08:12:01.102893284 +0200 +@@ -77,6 +77,6 @@ final readonly class SchemaFinder return __PHPUNIT_PHAR_ROOT__ . '/'; } @@ -100,8 +100,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-03-21 10:23:39.000000000 +0100 -+++ ./tests/bootstrap.php 2024-03-21 14:04:08.699638712 +0100 +--- ./tests/bootstrap.php.rpm 2024-08-02 08:11:38.000000000 +0200 ++++ ./tests/bootstrap.php 2024-08-02 08:12:01.102893284 +0200 @@ -11,8 +11,8 @@ if (!defined('TEST_FILES_PATH')) { define('TEST_FILES_PATH', __DIR__ . DIRECTORY_SEPARATOR . '_files' . DIRECTORY_SEPARATOR); } |