Skip to content

RTF Writer: Add Missing Font Features #888

RTF Writer: Add Missing Font Features

RTF Writer: Add Missing Font Features #888

Triggered via pull request September 2, 2025 03:31
Status Failure
Total duration 22m 49s
Artifacts

php.yml

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

Annotations

97 errors
Check samples (7.4)
Process completed with exit code 255.
Check samples (8.0)
Process completed with exit code 255.
Check samples (7.1)
Process completed with exit code 255.
Check samples (8.3)
Process completed with exit code 255.
Check samples (8.2)
Process completed with exit code 255.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP CS Fixer
Process completed with exit code 8.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
Check samples (7.3)
Process completed with exit code 255.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (7.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L80
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASHHEAVY.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L79
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOTDASH.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L78
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DOUBLE.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L77
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONGHEAVY.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L76
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHLONG.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L75
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASHHEAVY.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Font.php#L74
Access to undefined constant PhpOffice\PhpWord\Writer\RTF\Style\Font::UNDERLINE_DASH.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L212
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L206
Binary operation "+" between int|string and 1 results in an error.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Element/AbstractElement.php#L200
Ignored error pattern #^Binary operation "\+" between int\|string and 1 results in an error\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Writer/RTF/Element/AbstractElement.php is expected to occur 1 time, but occurred 3 times.
Check samples (8.4)
Process completed with exit code 255.
Check samples (7.2)
Process completed with exit code 255.
Check samples (8.1)
Process completed with exit code 255.
PHPUnit 8.1
Process completed with exit code 2.
PHPUnit 7.2
Process completed with exit code 2.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 8.0
Process completed with exit code 2.
PHPUnit 8.2
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.