Skip to content

Commit

Permalink
feat: Support for padding in a table cell. Test file fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
OlisaevAG authored and OlisaevAG committed Nov 19, 2024
1 parent 4e24657 commit 29e979a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/PhpWordTests/Writer/Word2007/Style/TableCellTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@

namespace PhpOffice\PhpWordTests\Writer\Word2007\Style;

use PhpOffice\PhpWord\ComplexType\TblWidth as TblWidthComplexType;
use PhpOffice\PhpWord\Shared\Converter;
use PhpOffice\PhpWord\SimpleType\TblWidth;
use PhpOffice\PhpWord\Style\Table;
use PhpOffice\PhpWord\Style\TablePosition;
use PhpOffice\PhpWordTests\TestHelperDOCX;

/**
Expand Down Expand Up @@ -60,7 +57,7 @@ public function testCellSpacing(): void
'paddingTop' => $testValTop,
'paddingRight' => $testValRight,
'paddingBottom' => $testValBottom,
'paddingLeft' => $testValLeft
'paddingLeft' => $testValLeft,
];
$table->addCell(null, $cellStyle)->addText('Some text');
$doc = TestHelperDOCX::getDocument($phpWord, 'Word2007');
Expand Down

0 comments on commit 29e979a

Please sign in to comment.