From 29ac21d899ef062d873dc027cae7924d127b4e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BCp=20Can=20Akman?= Date: Wed, 25 Feb 2026 11:47:53 +0300 Subject: [PATCH 1/2] Bump phpunit/phpunit to 10.5.63 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cded361..6f1861a 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ "phpstan/phpstan": "2.0.2", "phpstan/phpstan-phpunit": "2.0.1", "phpstan/phpstan-strict-rules": "2.0.0", - "phpunit/phpunit": "10.5.60", + "phpunit/phpunit": "10.5.63", "symfony/error-handler": "^6.4.25 || ^7.4.0 || ^8.0.0", "symfony/phpunit-bridge": "^6.4.25 || ^7.4.0 || ^8.0.0" }, From a495337505bf8f37c9d4df518e1c2609d06c6e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BCp=20Can=20Akman?= Date: Wed, 25 Feb 2026 11:54:24 +0300 Subject: [PATCH 2/2] Normalize Windows command quoting in Process unit test --- tests/Unit/Process/ProcessTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/Unit/Process/ProcessTest.php b/tests/Unit/Process/ProcessTest.php index 1bfae2e..0b575a0 100644 --- a/tests/Unit/Process/ProcessTest.php +++ b/tests/Unit/Process/ProcessTest.php @@ -31,14 +31,14 @@ public function test_command_line_built_from_array(): void private function assertCommand(string $expectedCommand, Process $process): void { + $actualCommand = $process->commandLine(); + if (IS_WINDOWS === true) { - $expectedCommand = \str_replace( - "'", - '', - $expectedCommand, - ); + // Symfony Process may wrap values containing "=" in double quotes on Windows. + $expectedCommand = \str_replace(["'", '"'], '', $expectedCommand); + $actualCommand = \str_replace(["'", '"'], '', $actualCommand); } - self::assertSame($expectedCommand, $process->commandLine()); + self::assertSame($expectedCommand, $actualCommand); } }