jenkins-bot has submitted this change and it was merged. Change subject: Convert to short array syntax ......................................................................
Convert to short array syntax Core and other extensions have already converted. We've been avoiding this because it mucks with patches in progress, but at some point we have to pull the trigger. Is now better than some other time? dunno. Converted with https://github.com/thomasbachem/php-short-array-syntax-converter by running: find includes/ maintenance/ profiles/ tests/unit scripts/ CirrusSearch.php \ -print0 | xargs -0 -L1 php convert.php -w Rebuilding this patch to deal with conflicts due to merges should be fairly easy. Change-Id: Ib74d78d4141e97c106589a2a6f0dc6b49b97cc64 --- M CirrusSearch.php M includes/Api/ConfigDump.php M includes/Api/FreezeWritesToCluster.php M includes/Api/MappingDump.php M includes/Api/SettingsDump.php M includes/BuildDocument/RedirectsAndIncomingLinks.php M includes/BuildDocument/SuggestBuilder.php M includes/BuildDocument/SuggestScoring.php M includes/CirrusSearch.php M includes/CompletionSuggester.php M includes/Connection.php M includes/DataSender.php M includes/Dump.php M includes/Elastica/PooledHttp.php M includes/ElasticsearchIntermediary.php M includes/ExplainPrinter.php M includes/Hooks.php M includes/InterwikiSearcher.php M includes/Job/CheckerJob.php M includes/Job/DeletePages.php M includes/Job/ElasticaWrite.php M includes/Job/IncomingLinkCount.php M includes/Job/Job.php M includes/Job/LinksUpdate.php M includes/Job/MassIndex.php M includes/Job/OtherIndex.php M includes/LanguageDetector/ElasticSearch.php M includes/LanguageDetector/TextCat.php M includes/Maintenance/AnalysisConfigBuilder.php M includes/Maintenance/ConfigUtils.php M includes/Maintenance/IndexCreator.php M includes/Maintenance/Maintenance.php M includes/Maintenance/MappingConfigBuilder.php M includes/Maintenance/MetaStoreIndex.php M includes/Maintenance/OrderedStreamingForkController.php M includes/Maintenance/Reindexer.php M includes/Maintenance/SuggesterAnalysisConfigBuilder.php M includes/Maintenance/SuggesterMappingConfigBuilder.php M includes/Maintenance/Validators/CacheWarmersValidator.php M includes/Maintenance/Validators/IndexAliasValidator.php M includes/Maintenance/Validators/IndexAllAliasValidator.php M includes/Maintenance/Validators/MappingValidator.php M includes/Maintenance/Validators/MaxShardsPerNodeValidator.php M includes/Maintenance/Validators/ReplicaRangeValidator.php M includes/Maintenance/Validators/ShardAllocationValidator.php M includes/Maintenance/Validators/SpecificAliasValidator.php M includes/NearMatchPicker.php M includes/OtherIndexes.php M includes/Query/BoostTemplatesFeature.php M includes/Query/FullTextQueryStringQueryBuilder.php M includes/Query/FullTextSimpleMatchQueryBuilder.php M includes/Query/GeoFeature.php M includes/Query/HasTemplateFeature.php M includes/Query/InCategoryFeature.php M includes/Query/InTitleFeature.php M includes/Query/LinksToFeature.php M includes/Query/RegexInSourceFeature.php M includes/Query/SimpleInSourceFeature.php M includes/Sanity/Checker.php M includes/Sanity/QueueingRemediator.php M includes/Search/EmptyResultSet.php M includes/Search/Escaper.php M includes/Search/Filters.php M includes/Search/RescoreBuilders.php M includes/Search/Result.php M includes/Search/ResultSet.php M includes/Search/ResultsType.php M includes/Search/SearchContext.php M includes/Search/TextIndexField.php M includes/Searcher.php M includes/Updater.php M includes/UserTesting.php M includes/Util.php M includes/Version.php M maintenance/checkIndexes.php M maintenance/copySearchIndex.php M maintenance/dumpIndex.php M maintenance/forceSearchIndex.php M maintenance/indexNamespaces.php M maintenance/metastore.php M maintenance/runSearch.php M maintenance/saneitize.php M maintenance/saneitizeJobs.php M maintenance/updateOneSearchIndexConfig.php M maintenance/updateSuggesterIndex.php M profiles/FullTextQueryBuilderProfiles.config.php M profiles/PhraseSuggesterProfiles.config.php M profiles/PhraseSuggesterProfiles.php M profiles/RescoreProfiles.config.php M profiles/SaneitizeProfiles.php M profiles/SimilarityProfiles.php M profiles/SuggestProfiles.php M scripts/gen-autoload.php M scripts/postprocess-phan.php M tests/unit/ClusterSettingsTest.php M tests/unit/CompletionSuggesterTest.php M tests/unit/ConnectionTest.php M tests/unit/ElasticsearchIntermediaryTest.php M tests/unit/Job/MassIndexTest.php M tests/unit/LanguageDetectTest.php M tests/unit/Maintenance/IndexCreatorTest.php M tests/unit/Query/BoostTemplatesFeatureTest.php M tests/unit/Query/GeoFeatureTest.php M tests/unit/Query/HasTemplateFeatureTest.php M tests/unit/Query/InCategoryFeatureTest.php M tests/unit/Query/InTitleFeatureTest.php M tests/unit/Query/PreferRecentFeatureTest.php M tests/unit/Query/SimpleKeywordFeatureTest.php M tests/unit/RescoreBuilderTest.php M tests/unit/Search/EscaperTest.php M tests/unit/Search/FiltersTest.php M tests/unit/Search/ResultTest.php M tests/unit/Search/ResultsTypeTest.php M tests/unit/SearcherTest.php M tests/unit/SuggestBuilderTest.php M tests/unit/SuggestScoringTest.php M tests/unit/TestUtils.php M tests/unit/UserTestingTest.php M tests/unit/UtilTest.php 119 files changed, 2,799 insertions(+), 2,799 deletions(-) Approvals: DCausse: Looks good to me, approved jenkins-bot: Verified Objections: Cindy-the-browser-test-bot: There's a problem with this change, please improve -- To view, visit https://gerrit.wikimedia.org/r/296259 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib74d78d4141e97c106589a2a6f0dc6b49b97cc64 Gerrit-PatchSet: 5 Gerrit-Project: mediawiki/extensions/CirrusSearch Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> Gerrit-Reviewer: Cindy-the-browser-test-bot <bernhardsone...@gmail.com> Gerrit-Reviewer: DCausse <dcau...@wikimedia.org> Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org> Gerrit-Reviewer: Gehel <gleder...@wikimedia.org> Gerrit-Reviewer: Manybubbles <never...@wikimedia.org> Gerrit-Reviewer: Smalyshev <smalys...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits