Skip to content

Fix assertions with empty lists #4086

Fix assertions with empty lists

Fix assertions with empty lists #4086

Triggered via pull request March 1, 2025 14:29
Status Failure
Total duration 40s
Artifacts

bcc.yml

on: pull_request
Check backward compatibility
33s
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: 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
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L48
Method __construct() of class Psalm\Type\Atomic\TKeyedArray visibility reduced from public to private