X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=.phpcs.xml;h=b8e35d4e656d81d3329a41043672371479b91dc3;hp=c0154c75435407df2df43b32ba3a4525218867f1;hb=5a1f6dbe6343e76b510537976b17aa8288698aa5;hpb=1c29f24dd5833ff2f990556291b5987b6b783e4e diff --git a/.phpcs.xml b/.phpcs.xml index c0154c7543..b8e35d4e65 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -11,7 +11,6 @@ - @@ -23,17 +22,8 @@ - + @@ -78,16 +68,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 @@ -138,7 +123,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 +160,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 +212,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 @@ -296,14 +279,6 @@ */includes/libs/filebackend/FSFileBackend\.php */includes/shell/Command\.php */includes/shell/Shell\.php - */tests/phpunit/structure/StructureTest\.php - - - - */tests/phpunit/structure/StructureTest\.php