Fix assertions with empty lists #4095
bcc.yml
on: pull_request
Check backward compatibility
38s
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
|