Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions tests/src/Functional/SplitCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ 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 = [];
for ($i = 1; $i <= 11; ++$i) {
$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
Expand Down
Loading