Skip to content

[WIP] Feature: WPS Writer Support #740

[WIP] Feature: WPS Writer Support

[WIP] Feature: WPS Writer Support #740

Triggered via pull request March 31, 2025 14:16
Status Failure
Total duration 21m 21s
Artifacts

php.yml

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

Annotations

88 errors
PHP Static Analysis (8.1)
Process completed with exit code 1.
PHP Static Analysis (8.1): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.1): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.1): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (8.1): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (8.1): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (8.1): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (8.1): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (8.1): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (8.1): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP CS Fixer
Process completed with exit code 8.
PHP Static Analysis (8.2)
Process completed with exit code 1.
PHP Static Analysis (8.2): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.2): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.2): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (8.2): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (8.2): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (8.2): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (8.2): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (8.2): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (8.2): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP Static Analysis (8.0)
Process completed with exit code 1.
PHP Static Analysis (8.0): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.0): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.0): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (8.0): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (8.0): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (8.0): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (8.0): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (8.0): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (8.0): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP Static Analysis (7.3)
Process completed with exit code 1.
PHP Static Analysis (7.3): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.3): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.3): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (7.3): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (7.3): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (7.3): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (7.3): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (7.3): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (7.3): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP Static Analysis (7.2)
Process completed with exit code 1.
PHP Static Analysis (7.2): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.2): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.2): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (7.2): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (7.2): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (7.2): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (7.2): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (7.2): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (7.2): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP Static Analysis (8.4)
Process completed with exit code 1.
PHP Static Analysis (8.4): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.4): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.4): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (8.4): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (8.4): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (8.4): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (8.4): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (8.4): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (8.4): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHP Static Analysis (7.4)
Process completed with exit code 1.
PHP Static Analysis (7.4): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.4): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (7.4): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (7.4): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (7.4): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (7.4): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (7.4): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (7.4): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (7.4): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHPUnit 8.1
Process completed with exit code 2.
PHP Static Analysis (8.3)
Process completed with exit code 1.
PHP Static Analysis (8.3): src/PhpWord/Writer/WPS/Part/Meta.php#L71
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.3): src/PhpWord/Writer/WPS/Part/Meta.php#L63
Parameter #1 $content of method PhpOffice\PhpWord\Shared\XMLWriter::writeRaw() expects string, int given.
PHP Static Analysis (8.3): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L65
Parameter #1 $pTemporaryStorage of class PhpOffice\PhpWord\Shared\XMLWriter constructor expects int, bool given.
PHP Static Analysis (8.3): src/PhpWord/Writer/WPS/Part/AbstractPart.php#L48
Property PhpOffice\PhpWord\Writer\WPS\Part\AbstractPart::$parentWriter (PhpOffice\PhpWord\Writer\WPS) does not accept PhpOffice\PhpWord\Writer\AbstractWriter.
PHP Static Analysis (8.3): src/PhpWord/Reader/WPSBinaryReader.php#L213
Cannot access offset 'name' on array|false.
PHP Static Analysis (8.3): src/PhpWord/Reader/WPSBinaryReader.php#L186
Cannot access offset 'magic' on array|false.
PHP Static Analysis (8.3): src/PhpWord/Reader/WPSBinaryReader.php#L89
Cannot access offset 'TotalEntries' on array|false.
PHP Static Analysis (8.3): src/PhpWord/Reader/WPSBinaryReader.php#L77
Cannot access offset 1 on array|false.
PHP Static Analysis (8.3): src/PhpWord/Reader/WPS/Content.php#L101
Parameter #2 $depth of method PhpOffice\PhpWord\Element\AbstractContainer::addTitle() expects int, int|string given.
PHPUnit 8.0
Process completed with exit code 2.
PHPUnit 7.1
Process completed with exit code 2.
PHPUnit 8.2
Process completed with exit code 2.
PHPUnit 7.2
Process completed with exit code 2.
PHPUnit 7.4
Process completed with exit code 2.
PHPUnit 7.3
Process completed with exit code 2.