wiki.techinc.nl/includes/search
Thiemo Kreuz 734a969d55 Safe replacement of a lot of !count() with === []
This was originally a global search and replace. I manually checked all
replacements and reverted them if (due to the lack of type hints) either
null (that would be 0 when counted) or a Countable object can end in the
variable or property in question.

Now this patch only touches places where I'm sure nothing can break.

For the sanity of the honorable reviewers this patch is exclusively touching
negated counts. You should not find a single `!== []` in this patch, that
would be a mistake.

Change-Id: I5eafd4d8fccdb53a668be8e6f25a566f9c3a0a95
2019-01-15 17:28:49 +01:00
..
AugmentPageProps.php
DummySearchIndexFieldDefinition.php
NullIndexField.php Fix spacing for @param and indent of function comments 2017-08-15 14:33:29 +00:00
PaginatingSearchEngine.php Push pagination decision for search into SearchEngine 2018-06-11 13:35:44 -07:00
ParserOutputSearchDataExtractor.php Improve some parameter docs 2017-09-10 20:32:31 +02:00
PerRowAugmentor.php Remove auto-generated "Constructor" documentation on constructors 2017-07-10 10:15:51 +00:00
ResultAugmentor.php
ResultSetAugmentor.php
SearchDatabase.php doc: Modernise parameter names and documentation for 'replica' DBs 2018-10-31 10:36:48 -07:00
SearchEngine.php Hard deprecate SearchEngine::getNearMatchResultSet() 2018-12-08 22:23:24 -08:00
SearchEngineConfig.php
SearchEngineFactory.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
SearchExactMatchRescorer.php Merge "Remove @param comments that literally repeat what the code says" 2018-01-11 23:48:03 +00:00
SearchHighlighter.php No yoda conditions 2018-11-21 17:54:39 +01:00
SearchIndexField.php Add docstrings for text search index field types 2018-10-31 17:30:58 -07:00
SearchIndexFieldDefinition.php Fix spacing for @param and indent of function comments 2017-08-15 14:33:29 +00:00
SearchMssql.php Mass conversion of $wgContLang to service 2018-08-11 22:44:29 -06:00
SearchMySQL.php Write Latin and other scripts with captial letter 2018-10-05 18:49:08 +02:00
SearchNearMatcher.php Go search to consider fragment only title invalid 2018-09-11 13:03:53 -07:00
SearchNearMatchResultSet.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00
SearchOracle.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
SearchPostgres.php Deprecate SearchEngine::replacePrefixes 2018-07-17 21:56:14 +00:00
SearchResult.php Fix PhanTypeMismatchDeclaredParam 2018-07-07 00:34:30 +00:00
SearchResultSet.php Fix common typos in code 2018-09-02 09:03:07 +00:00
SearchSqlite.php Safe replacement of a lot of !count() with === [] 2019-01-15 17:28:49 +01:00
SearchSuggestion.php Use correct variable name in @param documentation 2017-08-11 19:27:19 +02:00
SearchSuggestionSet.php Change typehint callback to callable 2018-12-01 10:10:41 +01:00
SqlSearchResultSet.php Convert SearchResultSet to typical iteration 2018-06-11 13:35:41 -07:00