Open
Description
As documented in #134, type inference based on documented types is weak.
In practice, we want to detect type variance changes for complex types, such as @var Foo<Bar, Baz>
.
We also want to detect changes such as:
function foo() {
- return 1;
+ return 'foo';
}
These types are currently not inferred (BC check completely skipped), and that is a problem.
I think @psalm could help with this, but need to inspect further.
Activity