[REF] Minor code extraction
authoreileen <emcnaughton@wikimedia.org>
Thu, 17 Sep 2020 03:01:21 +0000 (15:01 +1200)
committereileen <emcnaughton@wikimedia.org>
Thu, 17 Sep 2020 03:51:35 +0000 (15:51 +1200)
commit1e809f0e627d099b41f47195e6e4ff39500e2429
tree043fca1ce40e7382a3c4dbb08e8742d49344a43d
parentf7ca027c817f58d62a40e6aff3936a5a4b1f6eae
[REF] Minor code extraction

This extracts code to the MergeHandler class for deduping locations. We have a LOT of
test cover here with all the scenarios in jobTest::testBatchMergesAddresses & other functions
using that same data provider.

The goal is to refactor the code onto the MergeHandler class, with a view to
doing less variable passing & more property-using to help clean it up -
in this case it's already visible that 2 variables can be derived in the mergeHandler:
CRM/Dedupe/MergeHandler.php
CRM/Dedupe/Merger.php