Add SearchResultTrait
authorDavid Causse <dcausse@wikimedia.org>
Thu, 1 Aug 2019 17:27:29 +0000 (19:27 +0200)
committerDavid Causse <dcausse@wikimedia.org>
Tue, 20 Aug 2019 16:24:44 +0000 (18:24 +0200)
commit9d944bd8166815373710ffd9a790818dc523b4ae
tree13f618533be873ab298b17b37fb4bf761991c4ed
parent7d1d48ed5f8cae8acb34ccf9046788ebd05cc052
Add SearchResultTrait

to hold non-obvious behaviors and rarely specialized methods.

Change-Id: Idc600e22b35a01be8be8cb629bfb09701e842cd7
autoload.php
includes/search/SearchResult.php
includes/search/SearchResultTrait.php [new file with mode: 0644]
tests/phpunit/includes/search/SearchResultTest.php [deleted file]
tests/phpunit/includes/search/SearchResultTraitTest.php [new file with mode: 0644]