Find removed functions, classes and class methods between branches commits.
- Clone this repository someplace.
- Install Composer dependencies:
composer update
.
- Checkout, using
git
, the first branch or commit you want to check, e.g.git checkout main
. - Dump the functions, classes and methods defined in that branch or commit:
php dump.php /some-plugins/src main_
. - Checkout, using
git
, the second branch or commit you want to check, e.g.git checkout some-branch
. - Dump the functions, classes and methods defined in that branch or commit:
php dump.php /some-plugins/src some_branch_
. - Use the
frf
script to list the functions removed between the first commit or branch and the second:php frf.php main_ some_branch_
.