Skip to content

Add Support for Various Missing Features in HTML Writer #122

Add Support for Various Missing Features in HTML Writer

Add Support for Various Missing Features in HTML Writer #122

Triggered via pull request November 20, 2023 21:24
Status Failure
Total duration 14m 16s
Artifacts

php.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 11 warnings
phpstan: src/PhpWord/Shared/Text.php#L152
Call to function is_array() with string|null will always evaluate to false.
phpstan: src/PhpWord/Writer/HTML/Element/Link.php#L43
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
phpstan: src/PhpWord/Writer/HTML/Element/Link.php#L45
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
phpstan: src/PhpWord/Writer/HTML/Element/ListItem.php#L40
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
phpstan: src/PhpWord/Writer/HTML/Element/Text.php#L75
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
phpstan: src/PhpWord/Writer/HTML/Element/Text.php#L144
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
phpstan: src/PhpWord/Writer/HTML/Element/Text.php#L226
Parameter #1 $writer of method PhpOffice\PhpWord\Writer\HTML\Style\AbstractStyle::setParentWriter() expects PhpOffice\PhpWord\Writer\HTML, PhpOffice\PhpWord\Writer\AbstractWriter given.
phpstan: src/PhpWord/Writer/HTML/Element/Text.php#L265
Variable $styl3 in PHPDoc tag @var does not match assigned variable $cssClassStyle.
phpstan: src/PhpWord/Writer/HTML/Element/Text.php#L285
Part $attributeLang (0|0.0|array{}|string|false) of encapsed string cannot be cast to string.
phpstan: src/PhpWord/Writer/HTML/Element/Title.php#L44
Call to an undefined method PhpOffice\PhpWord\Writer\AbstractWriter::escapeHTML().
php-cs-fixer
Process completed with exit code 8.
phpstan
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
php-cs-fixer
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.1.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.0
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.4
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.2
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 7.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
PHP 8.3
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/