Hard deprecate new SearchResult() and introduce RevisionSearchResult
authorDavid Causse <dcausse@wikimedia.org>
Thu, 1 Aug 2019 20:38:46 +0000 (22:38 +0200)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 27 Aug 2019 15:27:28 +0000 (08:27 -0700)
commitbf9a7cad616a905e66f6a4db8593468bb37a1570
treeff0b63011ba002cf761f919441696cf768188508
parentbfd7b5a0e8a3267b553ef2ac74425780de7fc7fb
Hard deprecate new SearchResult() and introduce RevisionSearchResult

Transitional step for the transformation of SearchResult into an
abstract base class:
- RevisionSearchResult is introduced to behave like SearchResult
- methods are currently shared between  RevisionSearchResult and
  SearchResult in the RevisionSearchResultTrait

Bug: T228626
Change-Id: I13d132de50f6c66086b7f9055d036f2e76667b27
RELEASE-NOTES-1.34
autoload.php
includes/search/RevisionSearchResult.php [new file with mode: 0644]
includes/search/RevisionSearchResultTrait.php [new file with mode: 0644]
includes/search/SearchResult.php
includes/search/SqlSearchResult.php
tests/phpunit/includes/api/ApiQuerySearchTest.php
tests/phpunit/mocks/search/MockSearchResult.php