RTF Writer: Border - Improved and Prepared for Future Implementations #1155
Annotations
10 errors
Run phpstan:
tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L93
Offset 0 might not exist on array{0?: string}.
|
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/RTF/Style/Border.php#L90
Method PhpOffice\PhpWord\Writer\RTF\Style\Border::writeSide() has parameter $space with no type specified.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $style follows optional parameter $color.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Border.php#L90
Deprecated in PHP 8.0: Required parameter $space follows optional parameter $color.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Border.php#L72
Strict comparison using !== between 'bottom'|'left'|'right'|'top' and null will always evaluate to true.
|
Run phpstan:
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
Loading