Add assert type #131
test.yml
on: pull_request
PHP coverage
17s
Quality checks
13s
Matrix: test
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.
|