Skip to content

RTF Writer: Border - Improved and Prepared for Future Implementations #1165

RTF Writer: Border - Improved and Prepared for Future Implementations

RTF Writer: Border - Improved and Prepared for Future Implementations #1165

Triggered via pull request October 7, 2025 01:27
Status Failure
Total duration 21m 31s
Artifacts

php.yml

on: pull_request
PHP CS Fixer
38s
PHP CS Fixer
PHP Mess Detector
21s
PHP Mess Detector
Matrix: PHP Static Analysis
Matrix: phpunit
Matrix: Check samples
Fit to window
Zoom out
Zoom in

Annotations

72 errors
PHP Static Analysis (8.1): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.1): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.1): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.1): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.1): 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.
PHP Static Analysis (8.1): 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.
PHP Static Analysis (8.1): 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.
PHP Static Analysis (8.1): 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.
PHP Static Analysis (8.1): 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.
PHP Static Analysis (8.1): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (8.4): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.4): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.4): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.4): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.4): 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.
PHP Static Analysis (8.4): 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.
PHP Static Analysis (8.4): 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.
PHP Static Analysis (8.4): 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.
PHP Static Analysis (8.4): 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.
PHP Static Analysis (8.4): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (8.3): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.3): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.3): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.3): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.3): 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.
PHP Static Analysis (8.3): 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.
PHP Static Analysis (8.3): 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.
PHP Static Analysis (8.3): 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.
PHP Static Analysis (8.3): 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.
PHP Static Analysis (8.3): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (7.4): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (7.4): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (7.4): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (7.4): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (7.4): 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.
PHP Static Analysis (7.4): 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.
PHP Static Analysis (7.4): 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.
PHP Static Analysis (7.4): 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.
PHP Static Analysis (7.4): 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.
PHP Static Analysis (7.4): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (7.2)
Process completed with exit code 1.
PHP Static Analysis (7.2): 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.
PHP Static Analysis (7.2): 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.
PHP Static Analysis (7.2): 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.
PHP Static Analysis (7.2): 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.
PHP Static Analysis (7.2): 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.
PHP Static Analysis (8.2): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.2): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.2): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.2): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.2): 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.
PHP Static Analysis (8.2): 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.
PHP Static Analysis (8.2): 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.
PHP Static Analysis (8.2): 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.
PHP Static Analysis (8.2): 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.
PHP Static Analysis (8.2): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (7.3)
Process completed with exit code 1.
PHP Static Analysis (7.3): 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.
PHP Static Analysis (7.3): 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.
PHP Static Analysis (7.3): 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.
PHP Static Analysis (7.3): 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.
PHP Static Analysis (7.3): 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.
PHP Static Analysis (8.0): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L91
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.0): tests/PhpWordTests/Writer/HTML/ParagraphTest.php#L58
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.0): tests/PhpWordTests/Writer/HTML/FontTest.php#L278
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.0): tests/PhpWordTests/Writer/HTML/Element/TableTest.php#L165
Offset 0 might not exist on array{0?: string}.
PHP Static Analysis (8.0): 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.
PHP Static Analysis (8.0): 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.
PHP Static Analysis (8.0): 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.
PHP Static Analysis (8.0): 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.
PHP Static Analysis (8.0): 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.
PHP Static Analysis (8.0): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.