Codestyle clean-ups

This commit is contained in:
MarkBaker 2020-10-09 16:08:20 +02:00
parent 930fdc1b0c
commit dcc47fb287
3 changed files with 4 additions and 3 deletions

View File

@ -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 = '';