Skip to content

GitHub Actions: Add PHPStan #2391

GitHub Actions: Add PHPStan

GitHub Actions: Add PHPStan #2391

Triggered via pull request August 23, 2023 09:38
Status Failure
Total duration 2m 0s
Artifacts

php.yml

on: pull_request
Matrix: lint
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 7.3 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 7.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 7.4 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 8.0 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 8.1 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L1
Ignored error pattern #^Parameter \#1 \$title of method Icinga\\Module\\Pdfexport\\PrintableHtmlDocument\:\:setTitle\(\) expects string, null given\.$# in path /app/library/Icingadb/Web/Controller.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Call to method setTitle() on an unknown class Icinga\Module\Pdfexport\PrintableHtmlDocument.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L431
Instantiated class Icinga\Module\Pdfexport\PrintableHtmlDocument not found.
Static analysis for php 8.2 on ubuntu-latest: library/Icingadb/Web/Controller.php#L449
Call to static method first() on an unknown class Icinga\Module\Pdfexport\ProvidedHook\Pdfexport.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.