Skip to content

GitHub Actions: Use new PHP workflow #150

GitHub Actions: Use new PHP workflow

GitHub Actions: Use new PHP workflow #150

Triggered via pull request December 15, 2025 14:47
Status Failure
Total duration 35s
Artifacts

php.yml

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

Annotations

34 errors
PHP / Test (8.5) / PHPUnit 8.5
Process completed with exit code 2.
PHP / Test (8.5) / PHPUnit 8.5
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - karriere/pdf-merge is locked to version v3.3.1 and an update of this package was not requested. - karriere/pdf-merge v3.3.1 requires php 8.1.* | 8.2.* | 8.3.* | 8.4.* -> your php version (8.5.0) does not satisfy that requirement.
PHP / Static analysis (8.5) / PHPStan 8.5
Process completed with exit code 2.
PHP / Static analysis (8.5) / PHPStan 8.5
Your lock file does not contain a compatible set of packages. Please run composer update. Problem 1 - karriere/pdf-merge is locked to version v3.3.1 and an update of this package was not requested. - karriere/pdf-merge v3.3.1 requires php 8.1.* | 8.2.* | 8.3.* | 8.4.* -> your php version (8.5.0) does not satisfy that requirement.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L432
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# 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#L336
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L259
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L257
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#L257
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#L194
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:renderApiCall\(\) has no return type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
PHP / Static analysis (8.4) / PHPStan 8.4: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:parseApiResponse\(\) has parameter \$payload with no type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
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.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L432
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# 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#L336
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L259
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L257
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#L257
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#L194
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:renderApiCall\(\) has no return type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
PHP / Static analysis (8.3) / PHPStan 8.3: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:parseApiResponse\(\) has parameter \$payload with no type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
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.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L432
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# 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#L336
Parameter #1 $string of function trim expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L259
Parameter #2 $string of function explode expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L257
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#L257
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#L194
Parameter #1 $arg of function escapeshellarg expects string, mixed given.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:renderApiCall\(\) has no return type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
PHP / Static analysis (8.2) / PHPStan 8.2: library/Pdfexport/HeadlessChrome.php#L0
Ignored error pattern #^Method Icinga\\Module\\Pdfexport\\HeadlessChrome\:\:parseApiResponse\(\) has parameter \$payload with no type specified\.$# in path /home/runner/work/icingaweb2-module-pdfexport/icingaweb2-module-pdfexport/library/Pdfexport/HeadlessChrome.php was not matched in reported errors.
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.