Skip to content

Support PHP 8.5

Support PHP 8.5 #166

Triggered via pull request January 23, 2026 13:16
Status Success
Total duration 31s
Artifacts

php.yml

on: pull_request
Matrix: PHP / Lint
Matrix: PHP / Static analysis
Matrix: PHP / Test
Fit to window
Zoom out
Zoom in

Annotations

40 errors
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L431
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# (argument.type) in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php is expected to occur 1 time, but occurred 3 times.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L388
Method Icinga\Module\Pdfexport\HeadlessChrome::asyncToPdf() should return React\Promise\ExtendedPromiseInterface but returns React\Promise\PromiseInterface.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L431
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# (argument.type) in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php is expected to occur 1 time, but occurred 3 times.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L388
Method Icinga\Module\Pdfexport\HeadlessChrome::asyncToPdf() should return React\Promise\ExtendedPromiseInterface but returns React\Promise\PromiseInterface.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L431
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# (argument.type) in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php is expected to occur 1 time, but occurred 3 times.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L388
Method Icinga\Module\Pdfexport\HeadlessChrome::asyncToPdf() should return React\Promise\ExtendedPromiseInterface but returns React\Promise\PromiseInterface.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
PHP / Static analysis (8.5) / PHPStan 8.5: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L431
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# (argument.type) in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php is expected to occur 1 time, but occurred 3 times.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L388
Method Icinga\Module\Pdfexport\HeadlessChrome::asyncToPdf() should return React\Promise\ExtendedPromiseInterface but returns React\Promise\PromiseInterface.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.