Skip to content

PDF Writer : Add config for defining the default font #34

PDF Writer : Add config for defining the default font

PDF Writer : Add config for defining the default font #34

Triggered via push September 13, 2023 07:28
Status Failure
Total duration 15m 0s
Artifacts

php.yml

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

Annotations

10 errors and 11 warnings
phpstan: tests/PhpWordTests/SettingsTest.php#L44
Property PhpOffice\PhpWordTests\SettingsTest::$pdfRendererOptions has no type specified.
phpstan: tests/PhpWordTests/SettingsTest.php#L139
Call to static method PHPUnit\Framework\Assert::assertNull() with void will always evaluate to false.
phpstan: tests/PhpWordTests/SettingsTest.php#L139
Result of static method PhpOffice\PhpWord\Settings::setPdfRendererOptions() (void) is used.
phpstan: tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L45
Ignored error pattern #^Parameter \#2 \$libraryBaseDir of static method PhpOffice\\PhpWord\\Settings\:\:setPdfRenderer\(\) expects string, string\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/tests/PhpWordTests/Writer/PDF/DomPDFTest.php is expected to occur 2 times, but occurred 3 times.
phpstan: tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L67
Ignored error pattern #^Call to an undefined method PhpOffice\\PhpWord\\Writer\\PDF\:\:getFont\(\)\.$# in path /home/runner/work/PHPWord/PHPWord/tests/PhpWordTests/Writer/PDF/DomPDFTest.php is expected to occur 1 time, but occurred 2 times.
phpstan: tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L88
Parameter #2 $libraryBaseDir of static method PhpOffice\PhpWord\Settings::setPdfRenderer() expects string, string|false given.
phpstan: tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L93
Call to an undefined method PhpOffice\PhpWord\Writer\PDF::getFont().
phpstan: tests/PhpWordTests/Writer/PDF/MPDFTest.php#L45
Ignored error pattern #^Parameter \#2 \$libraryBaseDir of static method PhpOffice\\PhpWord\\Settings\:\:setPdfRenderer\(\) expects string, string\|false given\.$# in path /home/runner/work/PHPWord/PHPWord/tests/PhpWordTests/Writer/PDF/MPDFTest.php is expected to occur 1 time, but occurred 2 times.
phpstan: tests/PhpWordTests/Writer/PDF/MPDFTest.php#L61
Parameter #2 $libraryBaseDir of static method PhpOffice\PhpWord\Settings::setPdfRenderer() expects string, string|false given.
phpstan: tests/PhpWordTests/Writer/PDF/MPDFTest.php#L66
Call to an undefined method PhpOffice\PhpWord\Writer\PDF::getFont().
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 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.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.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.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.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.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/