PDF Writer : Add config for defining the default font #32
Annotations
10 errors and 1 warning
Static analysis with PHPStan:
tests/PhpWordTests/SettingsTest.php#L44
Property PhpOffice\PhpWordTests\SettingsTest::$pdfRendererOptions has no type specified.
|
Static analysis with PHPStan:
tests/PhpWordTests/SettingsTest.php#L139
Call to static method PHPUnit\Framework\Assert::assertNull() with void will always evaluate to false.
|
Static analysis with PHPStan:
tests/PhpWordTests/SettingsTest.php#L139
Result of static method PhpOffice\PhpWord\Settings::setPdfRendererOptions() (void) is used.
|
Static analysis with 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.
|
Static analysis with 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.
|
Static analysis with PHPStan:
tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L88
Parameter #2 $libraryBaseDir of static method PhpOffice\PhpWord\Settings::setPdfRenderer() expects string, string|false given.
|
Static analysis with PHPStan:
tests/PhpWordTests/Writer/PDF/DomPDFTest.php#L93
Call to an undefined method PhpOffice\PhpWord\Writer\PDF::getFont().
|
Static analysis with 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.
|
Static analysis with PHPStan:
tests/PhpWordTests/Writer/PDF/MPDFTest.php#L61
Parameter #2 $libraryBaseDir of static method PhpOffice\PhpWord\Settings::setPdfRenderer() expects string, string|false given.
|
Static analysis with PHPStan:
tests/PhpWordTests/Writer/PDF/MPDFTest.php#L66
Call to an undefined method PhpOffice\PhpWord\Writer\PDF::getFont().
|
Get composer cache directory
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/
|
The logs for this run have expired and are no longer available.
Loading