Skip to content

Fix assertions with empty lists #4096

Fix assertions with empty lists

Fix assertions with empty lists #4096

Triggered via pull request March 3, 2025 21:02
Status Failure
Total duration 47s
Artifacts

bcc.yml

on: pull_request
Check backward compatibility
34s
Check backward compatibility
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check backward compatibility: src/Psalm/Type.php#L503
The return type of Psalm\Type::getListAtomic() changed from Psalm\Type\Atomic\TKeyedArray to the non-covariant Psalm\Type\Atomic\TKeyedArray|Psalm\Type\Atomic\TArray
Check backward compatibility: src/Psalm/Type.php#L503
The return type of Psalm\Type::getListAtomic() changed from Psalm\Type\Atomic\TKeyedArray to Psalm\Type\Atomic\TKeyedArray|Psalm\Type\Atomic\TArray
Check backward compatibility: src/Psalm/Type.php#L517
The return type of Psalm\Type::getNonEmptyListAtomic() changed from Psalm\Type\Atomic\TKeyedArray to the non-covariant Psalm\Type\Atomic\TKeyedArray|Psalm\Type\Atomic\TArray
Check backward compatibility: src/Psalm/Type.php#L517
The return type of Psalm\Type::getNonEmptyListAtomic() changed from Psalm\Type\Atomic\TKeyedArray to Psalm\Type\Atomic\TKeyedArray|Psalm\Type\Atomic\TArray
Check backward compatibility
Class Psalm\Type\Atomic\TCallableInterface has been deleted
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L37
Class Psalm\Type\Atomic\TKeyedArray became final
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L37
Constant Psalm\Type\Atomic\TKeyedArray::NAME_ARRAY was removed
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L37
Constant Psalm\Type\Atomic\TKeyedArray::NAME_LIST was removed
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L37
Method Psalm\Type\Atomic\TKeyedArray#__construct() was removed
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L60
Property Psalm\Type\Atomic\TKeyedArray#$is_list changed default value from false to NULL