Skip to content

Add assert type

Add assert type #131

Triggered via pull request June 19, 2024 12:09
Status Failure
Total duration 30s
Artifacts

test.yml

on: pull_request
PHP coverage
17s
PHP coverage
Quality checks
13s
Quality checks
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L16
Expected type int, actual: array|bool|float|int|string|null
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L17
Expected type int|null, actual: array|bool|float|int|string|null
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L18
Expected type float, actual: array|bool|float|int|string|null
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() never returns array so it can be removed from the return type.
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() never returns float so it can be removed from the return type.
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() never returns int so it can be removed from the return type.
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() never returns null so it can be removed from the return type.
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() never returns string so it can be removed from the return type.
Quality checks: tests/Integration/PHPStan/data/AssertTypeAssertions.php#L22
Method DR\Utils\Tests\Integration\PHPStan\data\AssertTypeAssertions::getType() return type has no value type specified in iterable type array.
Quality checks
Process completed with exit code 1.
PHP coverage
Process completed with exit code 1.