psalm.dev/r/281be02fc0
#[ReturnTypeWillChange] only works on built-ins, should report an error when used on non-built ins
Also psalm does not report an error when #[ReturnTypeWillChange] is used on non-built ins and no return type is specified - this must report an error, since it will be a fatal error when the code is actually run