From 6d5ce7c177e7c111c343cdfebaee5b5546639431 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 19:59:44 +0000 Subject: [PATCH 1/2] chore(deps): update dependency friendsofphp/php-cs-fixer to v3.95.2 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e36cfb7..34be208 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "symfony/console": "^7 || ^8" }, "require-dev": { - "friendsofphp/php-cs-fixer": "3.95.1", + "friendsofphp/php-cs-fixer": "3.95.2", "phpunit/phpunit": "^11 || ^12 || ^13", "guzzlehttp/guzzle": "^7.0", "humbug/box": "^4.6", From ce2617e33330d53b4f216b443c8eb519017e451b Mon Sep 17 00:00:00 2001 From: Andrew Berry Date: Mon, 18 May 2026 16:41:11 -0400 Subject: [PATCH 2/2] fix(tests): resolve phpstan argument.templateType error in SplitCommandTest The newer phpstan 2.1.55 in CI no longer matched the @phpstan-ignore comment, causing an unmatched-ignore failure. Handle glob() returning false with a `?: []` fallback so array_values() can resolve its template type, and drop the now-unnecessary ignore. Co-Authored-By: Claude Opus 4.7 (1M context) --- tests/src/Functional/SplitCommandTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/Functional/SplitCommandTest.php b/tests/src/Functional/SplitCommandTest.php index d89bed6..5c6f2d1 100644 --- a/tests/src/Functional/SplitCommandTest.php +++ b/tests/src/Functional/SplitCommandTest.php @@ -51,7 +51,7 @@ public function testSplitMultipleEntries(): void $this->assertSame(Command::SUCCESS, $this->commandTester->getStatusCode()); // Should create 11 files (one per entry) - $files = glob($this->tempDir.'/*.har'); + $files = glob($this->tempDir.'/*.har') ?: []; // Verify file names are sequential $expectedFiles = []; @@ -59,7 +59,7 @@ public function testSplitMultipleEntries(): void $expectedFiles[] = $this->tempDir.'/'.$i.'.har'; } natsort($files); - $files = array_values($files); // Re-index array after sorting // @phpstan-ignore argument.templateType + $files = array_values($files); // Re-index array after sorting $this->assertEquals($expectedFiles, $files); // Verify each file is valid HAR with single entry