Skip to content

Commit 01c4122

Browse files
committed
Missed One Test
1 parent 81f781a commit 01c4122

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

tests/PhpSpreadsheetTests/Functional/StreamTest.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@
88
use PhpOffice\PhpSpreadsheet\Spreadsheet;
99
use PHPUnit\Framework\TestCase;
1010

11-
/**
12-
* Not clear that Dompdf will be Php8.4 compatible in time.
13-
* Run in separate process and add version test till it is ready.
14-
*
15-
* @runTestsInSeparateProcesses
16-
*/
1711
class StreamTest extends TestCase
1812
{
1913
public static function providerFormats(): array
@@ -48,11 +42,7 @@ public function testAllWritersCanWriteToStream(string $format): void
4842
} else {
4943
self::assertSame(0, $stat['size']);
5044

51-
if ($format === 'Dompdf' && PHP_VERSION_ID >= 80400) {
52-
@$writer->save($stream);
53-
} else {
54-
$writer->save($stream);
55-
}
45+
$writer->save($stream);
5646

5747
self::assertIsResource($stream, 'should not close the stream for further usage out of PhpSpreadsheet');
5848
$stat = fstat($stream);

0 commit comments

Comments
 (0)