RTF Writer: Border - Improved and Prepared for Future Implementations #1188
Annotations
10 errors
Run phpstan:
tests/PhpWordTests/Writer/RTF/Style/BorderTest.php#L168
Parameter #1 $style of class PhpOffice\PhpWord\Writer\RTF\Style\Border constructor expects array|PhpOffice\PhpWord\Style\AbstractStyle|null, PhpOffice\PhpWordTests\Writer\RTF\Style\Border given.
|
Run phpstan:
tests/PhpWordTests/Writer/RTF/Style/BorderTest.php#L168
Instantiated class PhpOffice\PhpWordTests\Writer\RTF\Style\Border not found.
|
Run phpstan:
tests/PhpWordTests/Writer/RTF/Style/BorderTest.php#L160
Parameter #1 $style of class PhpOffice\PhpWord\Writer\RTF\Style\Border constructor expects array|PhpOffice\PhpWord\Style\AbstractStyle|null, PhpOffice\PhpWordTests\Writer\RTF\Style\Border given.
|
Run phpstan:
tests/PhpWordTests/Writer/RTF/Style/BorderTest.php#L160
Instantiated class PhpOffice\PhpWordTests\Writer\RTF\Style\Border not found.
|
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/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
Loading