I've prepared this PR with some general fixes / improvements.
Please see that there is one commit which is BC break. Probably we can solve that another way, but I want you to have a look and decide how you want to resolve it.
There are also other issue I haven't fixed: in exceptions InvalidPullRequestException and NoMatchingChangelogDiscoveredException we have defined methods with name for, butfor` is PHP restricted keyword and it cannot be used to define method:
Thanks, @webimpress! I have cherry-picked the commits that were still relevant following my changes in #51, and these are now in the master and develop trees for whenever I do the next release.
Hi @weierophinney !
I've prepared this PR with some general fixes / improvements. Please see that there is one commit which is BC break. Probably we can solve that another way, but I want you to have a look and decide how you want to resolve it.
There are also other issue I haven't fixed: in exceptions
InvalidPullRequestException
andNoMatchingChangelogDiscoveredException
we have defined methods with namefor, but
for` is PHP restricted keyword and it cannot be used to define method:Somehow we are not getting any issues, but I think it should be changed "just in case".
Each commit is small and described changed I've made.