Skip to content

Narrow too wide return type #367

Narrow too wide return type

Narrow too wide return type #367

Triggered via pull request September 24, 2025 09:09
Status Failure
Total duration 1m 20s
Artifacts

build.yml

on: pull_request
Coding Standard
16s
Coding Standard
Matrix: Lint
Matrix: PHPStan
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

90 errors
PHPStan (8.4, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.4, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, highest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, highest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, lowest, ^12.0.9)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^12.0.9): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.0, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.0, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.1, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.1, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (7.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (7.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.1, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, highest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, highest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.0, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.0, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.2, lowest, ^11.5)
Process completed with exit code 2.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.2, lowest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.1, lowest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.1, lowest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (7.4, lowest, ^9.5)
Process completed with exit code 2.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (7.4, lowest, ^9.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag @return has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.1, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.1, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, highest, ^10.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, highest, ^10.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2
PHPStan (8.3, highest, ^11.5)
Process completed with exit code 2.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L290
Method PHPStan\Rules\PHPUnit\DataProviderHelper::parseDataProviderAttribute() return type has no value type specified in iterable type array.
PHPStan (8.3, highest, ^11.5): src/Rules/PHPUnit/DataProviderHelper.php#L288
PHPDoc tag `@return` has invalid value (array<string, array{ClassReflection, string, int}>|null.): Unexpected token ".", expected TOKEN_HORIZONTAL_WS at offset 71 on line 2