Skip to content

Develop

Develop #551

Triggered via pull request August 15, 2023 02:49
Status Failure
Total duration 3m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

47 errors and 9 warnings
php-cs-fixer
Process completed with exit code 8.
phpstan: src/PhpWord/Element/AbstractContainer.php#L169
Ignored error pattern #^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$# in path /home/runner/work/PHPWord/PHPWord/src/PhpWord/Element/AbstractContainer.php is expected to occur 1 time, but occurred 2 times.
phpstan: src/PhpWord/Element/AbstractContainer.php#L201
Method PhpOffice\PhpWord\Element\AbstractContainer::setElements() has parameter $elements with no type specified.
phpstan: src/PhpWord/Element/AbstractContainer.php#L203
Method PhpOffice\PhpWord\Element\AbstractContainer::setElements() should return array<PhpOffice\PhpWord\Element\AbstractElement> but return statement is missing.
phpstan: src/PhpWord/Element/AbstractContainer.php#L256
Method PhpOffice\PhpWord\Element\AbstractContainer::createFreeTextRun() has no return type specified.
phpstan: src/PhpWord/Element/AbstractContainer.php#L256
Method PhpOffice\PhpWord\Element\AbstractContainer::createFreeTextRun() has parameter $style with no type specified.
phpstan: src/PhpWord/Element/AbstractContainer.php#L284
Parameter #1 $objectOrClass of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.
phpstan: src/PhpWord/Element/Drawing.php#L121
Method PhpOffice\PhpWord\Element\Drawing::__construct() has parameter $fontStyle with no type specified.
phpstan: src/PhpWord/Element/Drawing.php#L143
PHPDoc tag @param references unknown parameter: $paragraphStyle
phpstan: src/PhpWord/Element/Drawing.php#L146
Parameter #1 $values of method PhpOffice\PhpWord\Style\AbstractStyle::setStyleByArray() expects array, array|PhpOffice\PhpWord\Style\Font|string|null given.
phpstan: src/PhpWord/Element/Drawing.php#L172
Parameter #1 $values of method PhpOffice\PhpWord\Style\AbstractStyle::setStyleByArray() expects array, array|PhpOffice\PhpWord\Style\Drawing|string|null given.
PHP 7.4: tests/PhpWordTests/PhpWordTest.php#L41
Failed asserting that null matches expected 10.
PHP 7.4: tests/PhpWordTests/PhpWordTest.php#L73
Failed asserting that null matches expected 10.
PHP 7.4: tests/PhpWordTests/SettingsTest.php#L182
Failed asserting that null matches expected 10.
PHP 7.4: tests/PhpWordTests/SettingsTest.php#L249
Failed asserting that 10 matches expected null.
PHP 7.4: tests/PhpWordTests/Style/ParagraphTest.php#L97
Failed asserting that null matches expected 720.
PHP 7.4: tests/PhpWordTests/Writer/ODText/Style/ParagraphTest.php#L101
Failed asserting that two strings are equal.
PHP 7.4
Process completed with exit code 2.
PHP 8.1
The job was canceled because "_7_4" failed.
PHP 8.1: tests/PhpWordTests/PhpWordTest.php#L41
Failed asserting that null matches expected 10.
PHP 8.1: tests/PhpWordTests/PhpWordTest.php#L73
Failed asserting that null matches expected 10.
PHP 8.1: tests/PhpWordTests/SettingsTest.php#L182
Failed asserting that null matches expected 10.
PHP 8.1: tests/PhpWordTests/SettingsTest.php#L249
Failed asserting that 10 matches expected null.
PHP 8.1: tests/PhpWordTests/Style/ParagraphTest.php#L97
Failed asserting that null matches expected 720.
PHP 8.1: tests/PhpWordTests/Writer/ODText/Style/ParagraphTest.php#L101
Failed asserting that two strings are equal.
PHP 8.1
The operation was canceled.
PHP 7.1.3
The job was canceled because "_7_4" failed.
PHP 7.1.3: tests/PhpWordTests/PhpWordTest.php#L41
Failed asserting that null matches expected 10.
PHP 7.1.3: tests/PhpWordTests/PhpWordTest.php#L73
Failed asserting that null matches expected 10.
PHP 7.1.3: tests/PhpWordTests/SettingsTest.php#L182
Failed asserting that null matches expected 10.
PHP 7.1.3: tests/PhpWordTests/SettingsTest.php#L249
Failed asserting that 10 matches expected null.
PHP 7.1.3: tests/PhpWordTests/Style/ParagraphTest.php#L97
Failed asserting that null matches expected 720.
PHP 7.1.3: tests/PhpWordTests/Writer/ODText/Style/ParagraphTest.php#L101
Failed asserting that two strings are equal.
PHP 7.1.3
The operation was canceled.
PHP 8.0
The job was canceled because "_7_4" failed.
PHP 8.0: tests/PhpWordTests/PhpWordTest.php#L41
Failed asserting that null matches expected 10.
PHP 8.0: tests/PhpWordTests/PhpWordTest.php#L73
Failed asserting that null matches expected 10.
PHP 8.0: tests/PhpWordTests/SettingsTest.php#L182
Failed asserting that null matches expected 10.
PHP 8.0: tests/PhpWordTests/SettingsTest.php#L249
Failed asserting that 10 matches expected null.
PHP 8.0: tests/PhpWordTests/Style/ParagraphTest.php#L97
Failed asserting that null matches expected 720.
PHP 8.0: tests/PhpWordTests/Writer/ODText/Style/ParagraphTest.php#L101
Failed asserting that two strings are equal.
PHP 8.0
The operation was canceled.
PHP 7.3
The job was canceled because "_7_4" failed.
PHP 7.3
The operation was canceled.
PHP 7.2
The job was canceled because "_7_4" failed.
PHP 7.2
The operation was canceled.
coverage
Process completed with exit code 2.
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.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.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.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.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/