Skip to content

RTF Writer: Indentation - Add missing commands and don't set if == 0. #1111

RTF Writer: Indentation - Add missing commands and don't set if == 0.

RTF Writer: Indentation - Add missing commands and don't set if == 0. #1111

Triggered via pull request October 4, 2025 01:40
Status Failure
Total duration 22m 30s
Artifacts

php.yml

on: pull_request
PHP CS Fixer
34s
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

97 errors
Check samples (7.4)
Process completed with exit code 255.
Check samples (8.0)
Process completed with exit code 255.
PHP Static Analysis (7.3): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L71
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.3): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L61
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.3): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L54
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.3): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L39
Call to method write() on an unknown class PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter.
PHP Static Analysis (7.3): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L37
Parameter $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() has invalid type PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter.
PHP CS Fixer
Process completed with exit code 8.
Check samples (8.3)
Process completed with exit code 255.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.0): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.0): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
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.1): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.1): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
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.3): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.3): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.3): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
Check samples (8.1)
Process completed with exit code 255.
PHP Static Analysis (7.2): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L71
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.2): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L61
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.2): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L54
Parameter #1 $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() expects PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter, PhpOffice\PhpWord\Writer\RTF\Style\Indentation given.
PHP Static Analysis (7.2): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L39
Call to method write() on an unknown class PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter.
PHP Static Analysis (7.2): tests/PhpWordTests/Writer/RTF/Style/Indentation.php#L37
Parameter $field of method PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphTest::removeCr() has invalid type PhpOffice\PhpWordTests\Writer\RTF\Style\ParagraphWriter.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (8.2): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
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.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L46
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L45
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L44
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (7.4): src/PhpWord/Writer/RTF/Style/Indentation.php#L42
Strict comparison using !== between float|null and 0 will always evaluate to true.
PHP Static Analysis (7.4): src/PhpWord/Reader/Word2007/AbstractPart.php#L372
Offset bool|int|string might not exist on list<string|null>.
Check samples (7.2)
Process completed with exit code 255.
Check samples (7.1)
Process completed with exit code 255.
Check samples (8.4)
Process completed with exit code 255.
Check samples (7.3)
Process completed with exit code 255.
Check samples (8.2)
Process completed with exit code 255.
PHPUnit 8.1
Process completed with exit code 2.
PHPUnit 8.2
Process completed with exit code 2.
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 7.2
Process completed with exit code 2.
PHPUnit 8.0
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.