wiki.techinc.nl/includes/search
Tim Starling 7b3e7c017a Respond to some messages from Phan on PHP 8.1
* ForkController, OrderedStreamingForkController: indeed pcntl_fork()
  can't return false.
* RL\Image: Specify type instead of using suppression, since the issue
  name changes.
* VueComponentParser: Accept complaint about nullable nodeValue.
* Disable PHP 8.0 polyfill stubs when running on PHP 8.0+ to avoid
  duplicate interface errors.
* Add Socket stub and use it in LegacyHandler instead of multiple
  existing suppressions.
* MemcachedPeclBagOStuff: accept complaint recommending !$result over
  $result === false when the type is boolean.
* MemcachedPeclBagOStuff: fix probable bug, ignoring errors from
  Memcached::getMulti(). Phan noticed that $res=false was unreachable,
  but it should probably be reachable.
* DatabaseMysqli: accept complaint that $this->conn->errno is already
  known to be an int. It was probably a hack for some previous version
  of Phan.
* BcryptPassword, MWOldPassword, MWSaltedPassword: accept complaint that
  the !is_string() checks are unnecessary, after code review of PHP.
* Pbkdf2PasswordUsingHashExtension: note that contrary to Phan's
  suggestion, this check is necessary.
* DefaultPreferencesFactory: remove an existing hack for
  array_diff_key(), no longer necessary on 7.4 and causes an error on
  8.1. Use coalesce instead of cast for the remaining
  array_intersect_key() hack since it better shows that we are casting
  away null.
* FullSearchResultWidget: fix likely bug involving strict comparison
  between a float and an int.
* SpecialWatchlist: accept complaint that $selectedHours is
  unconditionally a float, being the return value of round(), and thus
  the cast is unnecessary.
* Add stub for AllowDynamicProperties, resolving an error in User.php.
* Xml: accept complaint that $encMonth is already known to be an int.

Six errors remain. These need suppressions or otherwise conflict with
PHP 7.4 support.

Bug: T322278
Change-Id: Ie375bbc8ccf22330b9a169e8da98f2bbe26ec8b9
2022-11-03 16:25:43 +11:00
..
Entity Don't calculate size of thumb until requested 2022-10-25 13:42:38 +02:00
Hook Move SearchResultProvideThumbnail hook to 'search' 2022-09-01 15:20:56 +02:00
searchwidgets Respond to some messages from Phan on PHP 8.1 2022-11-03 16:25:43 +11:00
BaseSearchResultSet.php
DummySearchIndexFieldDefinition.php
FauxSearchResult.php
FauxSearchResultSet.php
ISearchResultSet.php pager: Clean up file headers and @ingroup 2022-09-29 21:05:08 +01:00
NullIndexField.php
PaginatingSearchEngine.php
ParserOutputSearchDataExtractor.php
PerRowAugmentor.php
PrefixSearch.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
ResultAugmentor.php
ResultSetAugmentor.php
RevisionSearchResult.php
RevisionSearchResultTrait.php
SearchDatabase.php
SearchEngine.php Start catch blocks on the same line as the preceding } 2022-06-23 00:22:35 +00:00
SearchEngineConfig.php search: Replace deprecated User::getOption 2022-08-05 22:31:12 +00:00
SearchEngineDummy.php
SearchEngineFactory.php Make use of ?? and ?: operators where it makes sense 2022-08-04 21:43:12 +02:00
SearchExactMatchRescorer.php
SearchHighlighter.php Remove unused local variables 2022-09-19 23:07:07 +02:00
SearchIndexField.php pager: Clean up file headers and @ingroup 2022-09-29 21:05:08 +01:00
SearchIndexFieldDefinition.php
SearchMySQL.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
SearchNearMatcher.php
SearchNearMatchResultSet.php
SearchPostgres.php
SearchResult.php
SearchResultSet.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
SearchResultSetTrait.php Get rid of warnings on PHP 8.1 2022-06-13 04:42:20 -04:00
SearchResultThumbnailProvider.php Don't calculate size of thumb until requested 2022-10-25 13:42:38 +02:00
SearchResultTrait.php
SearchSqlite.php Use short array destructuring instead of list() 2022-10-21 15:33:37 +11:00
SearchSuggestion.php
SearchSuggestionSet.php
SqlSearchResult.php
SqlSearchResultSet.php
StringPrefixSearch.php
TitlePrefixSearch.php