Skip to content

Allow providing hints to make the analysis more useful #82

Open
@Majkl578

Description

Hyped of getting a cool changelog, I just tried this tool against doctrine/migrations 2.0.
Unfortunately the result is not really useful:
https://gist.github.com/Majkl578/2107492b128c35dff8d2007913d4cde8

Since the project namespace was renamed, almost everything is deemed to had been removed, few classes are detected as changed to interface. No method signature changes are reported at all.

It'd be cool to have some chance to provide hints to the tool to help detecting what was actually changed, since git isn't unfortunately useful in this case.

Current behavior

Everything is removed or changed to interface, no signature/type changes reported.

Wanted behavior

Providing hints file with some metadata:

  • namespace was changed from X to Y
  • class was renamed from X to Y
  • method was renamed/moved from X to Y
  • etc.

Note that these would still be (correctly) reported as BC breaks, but in a more useful way.

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