Skip to content

CodeChecker: fixes

CodeChecker: fixes #9

Triggered via push May 31, 2025 10:05
Status Failure
Total duration 2m 53s
Artifacts

build.yml

on: push
coding-style  /  Code Standard Checker
14s
coding-style / Code Standard Checker
Matrix: static-analysis / phpstan
Matrix: tests / lowest_dependencies
Matrix: tests / tests
Fit to window
Zoom out
Zoom in

Annotations

19 errors and 1 warning
tests / PHP 8.4 tests
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.3
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.3: src/Parameters/ParametersFactory.php#L83
Parameter #2 $arguments of class CzProject\PhpCli\Parameters constructor expects array<int, mixed>, array<mixed> given.
static-analysis / PHPStan - PHP 8.3: src/Parameters.php#L87
Call to function is_int() with int will always evaluate to true.
static-analysis / PHPStan - PHP 8.3: src/Parameters.php#L59
Call to function is_string() with string will always evaluate to true.
static-analysis / PHPStan - PHP 8.3: src/Application/Application.php#L282
Method CzProject\PhpCli\Application\Application::processArguments() should return array<int, mixed> but returns array.
static-analysis / PHPStan - PHP 8.3: src/Application/Application.php#L42
Property CzProject\PhpCli\Application\Application::$commands (array<string, CzProject\PhpCli\Application\ICommand>) does not accept array<CzProject\PhpCli\Application\ICommand>.
static-analysis / PHPStan - PHP 8.1
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.1: src/Parameters/ParametersFactory.php#L83
Parameter #2 $arguments of class CzProject\PhpCli\Parameters constructor expects array<int, mixed>, array<mixed> given.
static-analysis / PHPStan - PHP 8.1: src/Parameters.php#L87
Call to function is_int() with int will always evaluate to true.
static-analysis / PHPStan - PHP 8.1: src/Parameters.php#L59
Call to function is_string() with string will always evaluate to true.
static-analysis / PHPStan - PHP 8.1: src/Application/Application.php#L282
Method CzProject\PhpCli\Application\Application::processArguments() should return array<int, mixed> but returns array.
static-analysis / PHPStan - PHP 8.1: src/Application/Application.php#L42
Property CzProject\PhpCli\Application\Application::$commands (array<string, CzProject\PhpCli\Application\ICommand>) does not accept array<CzProject\PhpCli\Application\ICommand>.
static-analysis / PHPStan - PHP 8.2
Process completed with exit code 1.
static-analysis / PHPStan - PHP 8.2: src/Parameters/ParametersFactory.php#L83
Parameter #2 $arguments of class CzProject\PhpCli\Parameters constructor expects array<int, mixed>, array<mixed> given.
static-analysis / PHPStan - PHP 8.2: src/Parameters.php#L87
Call to function is_int() with int will always evaluate to true.
static-analysis / PHPStan - PHP 8.2: src/Parameters.php#L59
Call to function is_string() with string will always evaluate to true.
static-analysis / PHPStan - PHP 8.2: src/Application/Application.php#L282
Method CzProject\PhpCli\Application\Application::processArguments() should return array<int, mixed> but returns array.
static-analysis / PHPStan - PHP 8.2: src/Application/Application.php#L42
Property CzProject\PhpCli\Application\Application::$commands (array<string, CzProject\PhpCli\Application\ICommand>) does not accept array<CzProject\PhpCli\Application\ICommand>.
tests / PHP 8.4 tests
No files were found with the provided path: tests/**/output. No artifacts will be uploaded.