File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed
tests/PhpSpreadsheetTests Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ function replaceBody(string $html): string
52
52
$ filename = $ helper ->getFileName ('21b_Pdf_tcpdf.xlsx ' , 'pdf ' );
53
53
$ writer ->setEditHtmlCallback ('replaceBody ' );
54
54
$ writer ->save ($ filename );
55
- }
55
+ }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public function providerFormats(): array
22
22
if (\PHP_VERSION_ID < 80000 ) {
23
23
$ providerFormats = array_merge (
24
24
$ providerFormats ,
25
- [['Tcpdf ' ],['Dompdf ' ]]
25
+ [['Tcpdf ' ], ['Dompdf ' ]]
26
26
);
27
27
}
28
28
Original file line number Diff line number Diff line change 5
5
use PhpOffice \PhpSpreadsheet \Settings ;
6
6
use PhpOffice \PhpSpreadsheet \Shared \File ;
7
7
use PHPUnit \Framework \TestCase ;
8
+ use ZipArchive ;
8
9
9
10
class UnparsedDataCloneTest extends TestCase
10
11
{
@@ -35,7 +36,7 @@ public function testLoadSaveXlsxWithUnparsedDataClone(): void
35
36
$ writer ->save ($ resultFilename );
36
37
$ dupname = 'Unable to open saved file ' ;
37
38
38
- $ zip = new \ ZipArchive ();
39
+ $ zip = new ZipArchive ();
39
40
if ($ zip ->open ($ resultFilename ) !== false ) {
40
41
$ names = [];
41
42
$ dupname = '' ;
You can’t perform that action at this time.
0 commit comments