Skip to content

Github Actions: Add Phpstan #431

Github Actions: Add Phpstan

Github Actions: Add Phpstan #431

Triggered via pull request August 23, 2023 10:53
@yhabteabyhabteab
synchronize #187
phpstan
Status Failure
Total duration 46s
Artifacts

php.yml

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

Annotations

66 errors
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 128.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 128.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 128.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 128.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 128.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function file_put_contents expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$filename of function is_dir expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#1 \$string of function strtolower expects string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \$value of static method ipl\\Stdlib\\Filter\:\:equal\(\) expects array\|bool\|float\|int\|string, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L1
Ignored error pattern #^Part \$output \(mixed\) of encapsed string cannot be cast to string\.$# in path /app/application/clicommands/DownloadCommand.php was not matched in reported errors.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L45
Access to an undefined property Icinga\Module\Reporting\Clicommands\DownloadCommand::$params.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::fail().
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L47
Call to an undefined method Icinga\Module\Reporting\Clicommands\DownloadCommand::translate().
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/DownloadCommand.php#L51
Call to an undefined static method Icinga\Module\Reporting\Model\Report::on().
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 128.