RTF Writer: Paragraph - Add Missing Features #1229
Annotations
10 errors
Run phpstan:
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L201
Access to an undefined property DOMNameSpaceNode|DOMNode::$attributes.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/Element/RubyTest.php#L87
Cannot access property $length on DOMNodeList<DOMNameSpaceNode|DOMNode>|false.
|
Run phpstan:
tests/PhpWordTests/Writer/HTML/Element/RubyTest.php#L52
Cannot access property $length on DOMNodeList<DOMNameSpaceNode|DOMNode>|false.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Spacing.php#L64
Strict comparison using !== between '\\slmult0'|'\\slmult1' and null will always evaluate to true.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Spacing.php#L49
Undefined variable: $content
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Paragraph.php#L100
Parameter #2 $style of method PhpOffice\PhpWord\Writer\RTF\Style\AbstractStyle::writeChildStyle() expects PhpOffice\PhpWord\Writer\RTF\Style\PhpOffice\PhpWord\Style\AbstractStyle|null, PhpOffice\PhpWord\Style\Spacing given.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/Paragraph.php#L99
Parameter #2 $style of method PhpOffice\PhpWord\Writer\RTF\Style\AbstractStyle::writeChildStyle() expects PhpOffice\PhpWord\Writer\RTF\Style\PhpOffice\PhpWord\Style\AbstractStyle|null, PhpOffice\PhpWord\Style\Indentation|null given.
|
Run phpstan:
src/PhpWord/Writer/RTF/Style/AbstractStyle.php#L117
Parameter $style of method PhpOffice\PhpWord\Writer\RTF\Style\AbstractStyle::writeChildStyle() has invalid type PhpOffice\PhpWord\Writer\RTF\Style\PhpOffice\PhpWord\Style\AbstractStyle.
|
Run phpstan:
src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
|
Loading