RTF Writer: Border - Improved and Prepared for Future Implementations #1165
Annotations
10 errors
Run phpstan:
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
Run phpstan:
src/PhpWord/Writer/Word2007/Style/Section.php#L79
Parameter #1 $value of method PhpOffice\PhpWord\Writer\Word2007\Style\MarginBorder::setSizes() expects array<int>, array<float|int> given.
|
Run phpstan:
src/PhpWord/Writer/Word2007/Style/Paragraph.php#L135
Parameter #1 $value of method PhpOffice\PhpWord\Writer\Word2007\Style\MarginBorder::setSizes() expects array<int>, array<float|int> given.
|
Run phpstan:
src/PhpWord/Writer/Word2007/Style/Cell.php#L105
Parameter #1 $value of method PhpOffice\PhpWord\Writer\Word2007\Style\MarginBorder::setSizes() expects array<int>, array<float|int> given.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Border.php#L70
Parameter #5 $space of method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() expects int, float|int given.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Border.php#L70
Parameter #2 $width of method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() expects int, float|int given.
|
Run phpstan:
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
Loading