Skip to content

Commit 11a0962

Browse files
committed
Eliminate Some Dead Code
1 parent abd53a0 commit 11a0962

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/PhpSpreadsheetTests/SpreadsheetCopyCloneTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ public function testCopyCloneActiveSheet(string $type): void
9191
$sheet2 = $this->spreadsheet->createSheet();
9292
$sheet3 = $this->spreadsheet->createSheet();
9393
$sheet4 = $this->spreadsheet->createSheet();
94+
$sheet0->getStyle('B1')->getFont()->setName('whatever');
95+
$sheet1->getStyle('B1')->getFont()->setName('whatever');
96+
$sheet2->getStyle('B1')->getFont()->setName('whatever');
9497
$sheet3->getStyle('B1')->getFont()->setName('whatever');
98+
$sheet4->getStyle('B1')->getFont()->setName('whatever');
9599
$this->spreadsheet->setActiveSheetIndex(2);
96100
if ($type === 'copy') {
97101
$this->spreadsheet2 = $this->spreadsheet->copy();

0 commit comments

Comments
 (0)