build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0
authorUmherirrender <umherirrender_de.wp@web.de>
Mon, 26 Jun 2017 16:35:31 +0000 (18:35 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 26 Jun 2017 17:14:31 +0000 (17:14 +0000)
commitbe42e09aa866d7def54ead06c91d5dc9c8210ce5
tree7d9b3d5d41433352dc5e823bca44a67c2988c3bc
parent3f849d695fb311a1ec0367715311a80de530117a
build: Prepare for mediawiki/mediawiki-codesniffer to 0.9.0

The used phpcs has a bug, so the version 0.9.0 could not be enforced at the moment.
Will be fixed in next version, see T167168

Changed:
- Remove duplicate newline at end of file
- Add space between function and ( for closures
- and -> &&, or -> ||

Change-Id: I4172fb08861729bccd55aecbd07e029e2638d311
77 files changed:
includes/MediaWikiServices.php
includes/PageProps.php
includes/ServiceWiring.php
includes/WatchedItemQueryService.php
includes/WatchedItemStore.php
includes/Xml.php
includes/api/ApiQueryInfo.php
includes/api/ApiQueryPrefixSearch.php
includes/api/ApiQueryUsers.php
includes/changes/EnhancedChangesList.php
includes/diff/DifferenceEngine.php
includes/filerepo/ForeignDBViaLBRepo.php
includes/filerepo/LocalRepo.php
includes/filerepo/file/LocalFile.php
includes/htmlform/HTMLFormElement.php
includes/htmlform/fields/HTMLUsersMultiselectField.php
includes/installer/DatabaseInstaller.php
includes/installer/Installer.php
includes/libs/CSSMin.php
includes/libs/HashRing.php
includes/libs/filebackend/FileBackendMultiWrite.php
includes/libs/objectcache/BagOStuff.php
includes/libs/rdbms/database/DatabaseSqlite.php
includes/libs/rdbms/database/resultwrapper/FakeResultWrapper.php
includes/libs/rdbms/exception/DBTransactionError.php
includes/libs/rdbms/lbfactory/LBFactory.php
includes/libs/stats/SamplingStatsdClient.php
includes/libs/virtualrest/VirtualRESTServiceClient.php
includes/linkeddata/PageDataRequestHandler.php
includes/logging/RightsLogFormatter.php
includes/page/WikiPage.php
includes/parser/Parser.php
includes/profiler/ProfilerSectionOnly.php
includes/profiler/ProfilerXhprof.php
includes/registration/ExtensionProcessor.php
includes/registration/ExtensionRegistry.php
includes/search/SearchEngine.php
includes/search/SearchSuggestionSet.php
includes/specialpage/SpecialPage.php
includes/specials/SpecialBotPasswords.php
includes/specials/SpecialChangeContentModel.php
includes/specials/SpecialMovepage.php
includes/specials/SpecialUserrights.php
includes/specials/SpecialVersion.php
includes/tidy/Balancer.php
includes/user/User.php
includes/utils/BatchRowUpdate.php
includes/utils/ZipDirectoryReader.php
maintenance/CodeCleanerGlobalsPass.inc
maintenance/validateRegistrationFile.php
phpcs.xml
tests/parser/ParserTestRunner.php
tests/phpunit/MediaWikiTestCase.php
tests/phpunit/includes/GlobalFunctions/wfArrayFilterTest.php
tests/phpunit/includes/LinkerTest.php
tests/phpunit/includes/MediaWikiServicesTest.php
tests/phpunit/includes/Services/ServiceContainerTest.php
tests/phpunit/includes/Services/TestWiring1.php
tests/phpunit/includes/Services/TestWiring2.php
tests/phpunit/includes/WatchedItemQueryServiceUnitTest.php
tests/phpunit/includes/WatchedItemStoreUnitTest.php
tests/phpunit/includes/api/ApiPageSetTest.php
tests/phpunit/includes/api/ApiQueryWatchlistIntegrationTest.php
tests/phpunit/includes/api/RandomImageGenerator.php
tests/phpunit/includes/config/ConfigFactoryTest.php
tests/phpunit/includes/content/ContentHandlerTest.php
tests/phpunit/includes/jobqueue/JobTest.php
tests/phpunit/includes/libs/DeferredStringifierTest.php
tests/phpunit/includes/libs/ObjectFactoryTest.php
tests/phpunit/includes/libs/XmlTypeCheckTest.php
tests/phpunit/includes/libs/objectcache/WANObjectCacheTest.php
tests/phpunit/includes/resourceloader/ResourceLoaderTest.php
tests/phpunit/includes/search/SearchEnginePrefixTest.php
tests/phpunit/includes/search/SearchSuggestionSetTest.php
tests/phpunit/includes/site/CachingSiteStoreTest.php
tests/phpunit/includes/specials/SpecialSearchTest.php
tests/phpunit/includes/utils/BatchRowUpdateTest.php