Simplify class inheritance
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 6 Apr 2022 22:39:09 +0000 (10:39 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 6 Apr 2022 23:14:34 +0000 (11:14 +1200)
commit8dc9763a2d9de8cdffa311fc0f2cb7ff8572ef94
tree38ac469d55488451c2189a1f06f5a3c53a83b76b
parent85dba8e27d3ec8f5fbea1cc7e8a5cdacaa5f25ca
Simplify class inheritance

CRM_Contribute_Import_Parser_Contribution is the only class in our universe to
extend CRM_Contribute_Import_Parser and this class only adds confusion to the
mix as functions are 'distributed' between them. This removes the inheritance,
leaving only the constant that is still used in the now-deprecated class
.toxic.json
CRM/Contribute/Import/Form/Preview.php
CRM/Contribute/Import/Form/Summary.php
CRM/Contribute/Import/Parser.php [deleted file]
CRM/Contribute/Import/Parser/Contribution.php
tests/phpunit/CRM/Contribute/Import/Parser/ContributionTest.php