Skip to content

Run phpstan for all supported PHP versions #775

Run phpstan for all supported PHP versions

Run phpstan for all supported PHP versions #775

Triggered via pull request November 17, 2023 11:39
Status Failure
Total duration 53s
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.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 7.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 7.2 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 7.4 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 7.4 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 8.0 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 8.0 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 7.3 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 7.3 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 8.1 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 8.1 on ubuntu-latest
Process completed with exit code 1.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L53
Part $lastScan (mixed) of encapsed string cannot be cast to string.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L57
Parameter #1 $datetime of class DateTime constructor expects string, mixed given.
Static analysis for php 8.2 on ubuntu-latest: application/clicommands/CleanupCommand.php#L61
Parameter #2 ...$values of function sprintf expects bool|float|int|string|null, mixed given.
Static analysis for php 8.2 on ubuntu-latest
Process completed with exit code 1.