Skip to content

Support PHP 8.5

Support PHP 8.5 #25

Triggered via pull request December 3, 2025 16:54
Status Success
Total duration 43s
Artifacts

phpstan.yml

on: pull_request
Matrix: phpstan / phpstan
Fit to window
Zoom out
Zoom in

Annotations

30 errors
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
Ignored error pattern #^Parameter \#3 \.\.\.\$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.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
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.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.3 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
Ignored error pattern #^Parameter \#3 \.\.\.\$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.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
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.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.2 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
Ignored error pattern #^Parameter \#3 \.\.\.\$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.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L430
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.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L335
Parameter #1 $string of function trim expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L332
Cannot call method on() on React\Stream\ReadableStreamInterface|React\Stream\WritableStreamInterface|null.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L258
Parameter #2 $string of function explode expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #2 $port of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects int, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L256
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::jsonVersion() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: library/Pdfexport/HeadlessChrome.php#L193
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L64
Parameter #1 $host of method Icinga\Module\Pdfexport\HeadlessChrome::setRemote() expects string, mixed given.
phpstan / Static analysis with phpstan and php 8.4 on ubuntu-latest: application/forms/ChromeBinaryForm.php#L27
Parameter #1 $binary of method Icinga\Module\Pdfexport\HeadlessChrome::setBinary() expects string, mixed given.