Skip to content

Migrate to better type inference tooling to detect BC breaks in types #143

Open
@Ocramius

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions