Skip to content

Fix assertions with empty lists #4085

Fix assertions with empty lists

Fix assertions with empty lists #4085

Triggered via pull request March 1, 2025 14:21
Status Failure
Total duration 41s
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#L36
Class Psalm\Type\Atomic\TKeyedArray became final
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L36
Constant Psalm\Type\Atomic\TKeyedArray::NAME_ARRAY was removed
Check backward compatibility: src/Psalm/Type/Atomic/TKeyedArray.php#L36
Constant Psalm\Type\Atomic\TKeyedArray::NAME_LIST 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
Parameter 4 of Psalm\Type\Atomic\TKeyedArray#__construct() changed name from from_docblock to is_callable
Check backward compatibility
Class Psalm\Type\Atomic\TCallableKeyedArray has been deleted