Skip to content

Word2007 Reader : Added support for Comments #41

Word2007 Reader : Added support for Comments

Word2007 Reader : Added support for Comments #41

Triggered via push September 13, 2023 15:39
Status Failure
Total duration 15m 25s
Artifacts

php.yml

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

Annotations

10 errors and 11 warnings
phpstan: src/PhpWord/Reader/Word2007.php#L87
Parameter #3 $commentRefs of method PhpOffice\PhpWord\Reader\Word2007::readPart() expects array<string, array<string, PhpOffice\PhpWord\Reader\AbstractElement>>, array<string, array<string, PhpOffice\PhpWord\Element\AbstractElement>> given.
phpstan: src/PhpWord/Reader/Word2007.php#L101
Parameter $commentRefs of method PhpOffice\PhpWord\Reader\Word2007::readPart() has invalid type PhpOffice\PhpWord\Reader\AbstractElement.
phpstan: src/PhpWord/Reader/Word2007.php#L105
Call to sprintf contains 1 placeholder, 0 values given.
phpstan: src/PhpWord/Reader/Word2007.php#L105
Instantiated class PhpOffice\PhpWord\Reader\Exception not found.
phpstan: src/PhpWord/Reader/Word2007.php#L105
Throwing object of an unknown class PhpOffice\PhpWord\Reader\Exception.
phpstan: src/PhpWord/Reader/Word2007.php#L112
Parameter #1 $commentRefs of method PhpOffice\PhpWord\Reader\Word2007\AbstractPart::setCommentReferences() expects array<string, array<string, PhpOffice\PhpWord\Element\AbstractElement>>, array<string, array<string, PhpOffice\PhpWord\Reader\AbstractElement>> given.
phpstan: src/PhpWord/Reader/Word2007/AbstractPart.php#L1
Ignored error pattern #^Call to method setChangeInfo\(\) on an unknown class PhpOffice\\PhpWord\\Reader\\Word2007\\AbstractElement\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Reader/Word2007/AbstractPart.php was not matched in reported errors.
phpstan: src/PhpWord/Reader/Word2007/AbstractPart.php#L1
Ignored error pattern #^PHPDoc tag @var for variable \$element contains unknown class PhpOffice\\PhpWord\\Reader\\Word2007\\AbstractElement\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Reader/Word2007/AbstractPart.php was not matched in reported errors.
phpstan: src/PhpWord/Reader/Word2007/AbstractPart.php#L200
Access to an undefined property DOMNode::$value.
phpstan: src/PhpWord/Reader/Word2007/AbstractPart.php#L200
Cannot access property $attributes on DOMElement|false.
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/
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 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.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 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 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/
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.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 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.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/
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/