tomzx / php-semver-checker

Compares two source sets and determines the appropriate semantic versioning to apply.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code for which the implementation hasn't changed is reported as changed

tomzx opened this issue · comments

The issue is caused by the fact that we use weak comparison in ClassMethodAnalyzer and FunctionAnalyzer and that both array contain additional data (start and end line) which makes the comparison return false as the line number have changed (but the implementation has not).

Better analysis has been added @ 4666578.