Skip to content

Completely remove TCallableKeyedArray #849

Completely remove TCallableKeyedArray

Completely remove TCallableKeyedArray #849

Triggered via push March 1, 2025 14:21
Status Failure
Total duration 1m 56s
Artifacts

macos-scan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
RedundantCondition: src/Psalm/Internal/Type/TypeCombiner.php#L654
src/Psalm/Internal/Type/TypeCombiner.php:654:17: RedundantCondition: Type Psalm\Type\Atomic\TKeyedArray for $type is always Psalm\Type\Atomic\TKeyedArray (see https://psalm.dev/122)
RedundantCondition: src/Psalm/Internal/Type/TypeCombiner.php#L778
src/Psalm/Internal/Type/TypeCombiner.php:778:17: RedundantCondition: Type Psalm\Type\Atomic\TKeyedArray for $type is always Psalm\Type\Atomic\TKeyedArray (see https://psalm.dev/122)
InvalidArgument: src/Psalm/Internal/Type/TypeParser.php#L1574
src/Psalm/Internal/Type/TypeParser.php:1574:17: InvalidArgument: Argument 2 of Psalm\Type\Atomic\TKeyedArray::makeCallable expects array<string, bool>|null, but array<int<0, max>|string, true> provided (see https://psalm.dev/004)
InvalidArgument: src/Psalm/Internal/Type/TypeParser.php#L1575
src/Psalm/Internal/Type/TypeParser.php:1575:17: InvalidArgument: Argument 3 of Psalm\Type\Atomic\TKeyedArray::makeCallable expects list{Psalm\Type\Union, Psalm\Type\Union}|null, but list{0?: Psalm\Type\Union, 1?: Psalm\Type\Union, ...<Psalm\Type\Union>}|null provided (see https://psalm.dev/004)
InvalidArgument: src/Psalm/Internal/Type/TypeParser.php#L1582
src/Psalm/Internal/Type/TypeParser.php:1582:17: InvalidArgument: Argument 2 of Psalm\Type\Atomic\TKeyedArray::make expects array<string, bool>|null, but array<int<0, max>|string, true> provided (see https://psalm.dev/004)
InvalidArgument: src/Psalm/Internal/Type/TypeParser.php#L1583
src/Psalm/Internal/Type/TypeParser.php:1583:17: InvalidArgument: Argument 3 of Psalm\Type\Atomic\TKeyedArray::make expects list{Psalm\Type\Union, Psalm\Type\Union}|null, but list{0?: Psalm\Type\Union, 1?: Psalm\Type\Union, ...<Psalm\Type\Union>}|null provided (see https://psalm.dev/004)
PossiblyUnusedMethod: src/Psalm/Type/Atomic/TKeyedArray.php#L139
src/Psalm/Type/Atomic/TKeyedArray.php:139:21: PossiblyUnusedMethod: Cannot find any calls to method Psalm\Type\Atomic\TKeyedArray::setIsCallable (see https://psalm.dev/087)
UnusedBaselineEntry: src/Psalm/Type/Atomic/TCallableKeyedArray.php#L1
src/Psalm/Type/Atomic/TCallableKeyedArray.php:0:0: UnusedBaselineEntry: Baseline for issue "DeprecatedMethod" has 1 extra entry. (see https://psalm.dev/316)
build
Process completed with exit code 2.