Skip to content

Commit dcc47fb

Browse files
author
MarkBaker
committed
Codestyle clean-ups
1 parent 930fdc1 commit dcc47fb

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

samples/Pdf/21b_Pdf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ function replaceBody(string $html): string
5252
$filename = $helper->getFileName('21b_Pdf_tcpdf.xlsx', 'pdf');
5353
$writer->setEditHtmlCallback('replaceBody');
5454
$writer->save($filename);
55-
}
55+
}

tests/PhpSpreadsheetTests/Functional/StreamTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function providerFormats(): array
2222
if (\PHP_VERSION_ID < 80000) {
2323
$providerFormats = array_merge(
2424
$providerFormats,
25-
[['Tcpdf'],['Dompdf']]
25+
[['Tcpdf'], ['Dompdf']]
2626
);
2727
}
2828

tests/PhpSpreadsheetTests/Writer/Xlsx/UnparsedDataCloneTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use PhpOffice\PhpSpreadsheet\Settings;
66
use PhpOffice\PhpSpreadsheet\Shared\File;
77
use PHPUnit\Framework\TestCase;
8+
use ZipArchive;
89

910
class UnparsedDataCloneTest extends TestCase
1011
{
@@ -35,7 +36,7 @@ public function testLoadSaveXlsxWithUnparsedDataClone(): void
3536
$writer->save($resultFilename);
3637
$dupname = 'Unable to open saved file';
3738

38-
$zip = new \ZipArchive();
39+
$zip = new ZipArchive();
3940
if ($zip->open($resultFilename) !== false) {
4041
$names = [];
4142
$dupname = '';

0 commit comments

Comments
 (0)