X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=.phpcs.xml;h=784fefc754da0d34c00757c7b455438b4b2ee705;hb=3290e7b3cc7b33287ec380d4b0af5c37aa1fad10;hp=c0154c75435407df2df43b32ba3a4525218867f1;hpb=8c9de54eef541b4e5997f0d40f1619ae84b0b3a4;p=lhc%2Fweb%2Fwiklou.git diff --git a/.phpcs.xml b/.phpcs.xml index c0154c7543..784fefc754 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -11,11 +11,13 @@ - + + + + - @@ -23,17 +25,8 @@ - + @@ -78,16 +71,11 @@ Whitelist existing violations, but enable the sniff to prevent any new occurrences. --> - */includes/media/XCF\.php */includes/Feed\.php - */includes/libs/xmp/XMP\.php - */includes/jobqueue/JobSpecification\.php */includes/RevisionList\.php */includes/installer/PhpBugTests\.php - */includes/exception/LocalizedException\.php */includes/specials/SpecialMostinterwikis\.php */includes/cache/CacheDependency\.php - */includes/cache/CacheHelper\.php */includes/compat/XMPReader\.php */includes/diff/DairikiDiff\.php */includes/specials/SpecialAncientpages\.php @@ -113,7 +101,6 @@ */includes/specials/SpecialMostlinkedtemplates\.php */includes/specials/SpecialMostrevisions\.php */includes/specials/SpecialMovepage\.php - */includes/specials/SpecialMyRedirectPages\.php */includes/specials/SpecialNewimages\.php */includes/specials/SpecialRandompage\.php */includes/specials/SpecialShortpages\.php @@ -138,7 +125,6 @@ */maintenance/benchmarks/bench_Wikimedia_base_convert\.php */maintenance/benchmarks/bench_delete_truncate\.php */maintenance/benchmarks/bench_if_switch\.php - */maintenance/benchmarks/bench_strtr_str_replace\.php */maintenance/benchmarks/bench_utf8_title_check\.php */maintenance/benchmarks/bench_wfIsWindows\.php */maintenance/cleanupTable.inc @@ -176,8 +162,12 @@ */profileinfo\.php */languages/*\.php - - */tests/*\.php + + */tests/parser/*\.php + */tests/phan/*\.php + */tests/phpunit/maintenance/*\.php + */tests/phpunit/bootstrap\.php + */tests/phpunit/phpunit\.php - */tests/*\.php + + */tests/phpunit/includes/GlobalFunctions/*\.php + */tests/phpunit/maintenance/*\.php @@ -223,23 +214,17 @@ */includes/api/ApiMessage\.php */includes/api/ApiOpenSearch\.php */includes/api/ApiRsd\.php - */includes/api/ApiUsageException\.php */includes/AuthPlugin\.php */includes/cache/CacheDependency\.php - */includes/cache/CacheHelper\.php */includes/compat/XMPReader\.php - */includes/deferred/CdnCacheUpdate\.php */includes/diff/DairikiDiff\.php */includes/diff/DiffEngine\.php - */includes/exception/LocalizedException\.php */includes/Feed\.php */includes/filerepo/file/LocalFile\.php */includes/gallery/PackedOverlayImageGallery\.php */includes/HistoryBlob\.php */includes/htmlform/HTMLFormElement\.php */includes/jobqueue/aggregator/JobQueueAggregator\.php - */includes/jobqueue/JobQueue\.php - */includes/jobqueue/JobSpecification\.php */includes/libs/filebackend/FileBackendStore\.php */includes/libs/filebackend/FSFileBackend\.php */includes/libs/filebackend/SwiftFileBackend\.php @@ -257,16 +242,10 @@ */includes/RevisionList\.php */includes/search/SearchEngine\.php */includes/specialpage/LoginSignupSpecialPage\.php - */includes/specialpage/RedirectSpecialPage\.php */includes/specials/forms/PreferencesFormLegacy\.php - */includes/specials/SpecialListusers\.php - */includes/specials/SpecialMyRedirectPages\.php - */includes/specials/SpecialUploadStash\.php */includes/StubObject\.php - */includes/upload/UploadFromChunks\.php */includes/upload/UploadStash\.php */includes/utils/AutoloadGenerator\.php - */includes/WebResponse\.php */maintenance/dumpIterator\.php */maintenance/Maintenance\.php */maintenance/findDeprecated\.php @@ -296,14 +275,6 @@ */includes/libs/filebackend/FSFileBackend\.php */includes/shell/Command\.php */includes/shell/Shell\.php - */tests/phpunit/structure/StructureTest\.php - - - - */tests/phpunit/structure/StructureTest\.php