Codestyle clean-ups
This commit is contained in:
parent
930fdc1b0c
commit
dcc47fb287
|
@ -52,4 +52,4 @@ if (\PHP_VERSION_ID < 80000) {
|
||||||
$filename = $helper->getFileName('21b_Pdf_tcpdf.xlsx', 'pdf');
|
$filename = $helper->getFileName('21b_Pdf_tcpdf.xlsx', 'pdf');
|
||||||
$writer->setEditHtmlCallback('replaceBody');
|
$writer->setEditHtmlCallback('replaceBody');
|
||||||
$writer->save($filename);
|
$writer->save($filename);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class StreamTest extends TestCase
|
||||||
if (\PHP_VERSION_ID < 80000) {
|
if (\PHP_VERSION_ID < 80000) {
|
||||||
$providerFormats = array_merge(
|
$providerFormats = array_merge(
|
||||||
$providerFormats,
|
$providerFormats,
|
||||||
[['Tcpdf'],['Dompdf']]
|
[['Tcpdf'], ['Dompdf']]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@ namespace PhpOffice\PhpSpreadsheetTests\Writer\Xlsx;
|
||||||
use PhpOffice\PhpSpreadsheet\Settings;
|
use PhpOffice\PhpSpreadsheet\Settings;
|
||||||
use PhpOffice\PhpSpreadsheet\Shared\File;
|
use PhpOffice\PhpSpreadsheet\Shared\File;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
||||||
|
use ZipArchive;
|
||||||
|
|
||||||
class UnparsedDataCloneTest extends TestCase
|
class UnparsedDataCloneTest extends TestCase
|
||||||
{
|
{
|
||||||
|
@ -35,7 +36,7 @@ class UnparsedDataCloneTest extends TestCase
|
||||||
$writer->save($resultFilename);
|
$writer->save($resultFilename);
|
||||||
$dupname = 'Unable to open saved file';
|
$dupname = 'Unable to open saved file';
|
||||||
|
|
||||||
$zip = new \ZipArchive();
|
$zip = new ZipArchive();
|
||||||
if ($zip->open($resultFilename) !== false) {
|
if ($zip->open($resultFilename) !== false) {
|
||||||
$names = [];
|
$names = [];
|
||||||
$dupname = '';
|
$dupname = '';
|
||||||
|
|
Loading…
Reference in New Issue