From 79502d48e636a31c05ef5f52753a634767cbc4cb Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 14 Apr 2019 22:10:40 +0100 Subject: [PATCH] Rename PhpBugTests -> PhpXMLBugTester Only contains one class (probably should be removed when we bump to PHP 7 fully) Change-Id: Iab2bb837e2ed5d5556bd49f4236030b43aba29f1 --- .phpcs.xml | 1 - autoload.php | 2 +- includes/installer/{PhpBugTests.php => PhpXmlBugTester.php} | 0 3 files changed, 1 insertion(+), 2 deletions(-) rename includes/installer/{PhpBugTests.php => PhpXmlBugTester.php} (100%) diff --git a/.phpcs.xml b/.phpcs.xml index b4503a631d..aa79ce63d6 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -70,7 +70,6 @@ Whitelist existing violations, but enable the sniff to prevent any new occurrences. --> - */includes/installer/PhpBugTests\.php */includes/specials/SpecialMostinterwikis\.php */includes/diff/DairikiDiff\.php */includes/specials/SpecialAncientpages\.php diff --git a/autoload.php b/autoload.php index fe5e7cfa33..2ec234ab51 100644 --- a/autoload.php +++ b/autoload.php @@ -1103,7 +1103,7 @@ $wgAutoloadLocalClasses = [ 'PerRowAugmentor' => __DIR__ . '/includes/search/PerRowAugmentor.php', 'PermissionsError' => __DIR__ . '/includes/exception/PermissionsError.php', 'PhpHttpRequest' => __DIR__ . '/includes/http/PhpHttpRequest.php', - 'PhpXmlBugTester' => __DIR__ . '/includes/installer/PhpBugTests.php', + 'PhpXmlBugTester' => __DIR__ . '/includes/installer/PhpXmlBugTester.php', 'Pingback' => __DIR__ . '/includes/Pingback.php', 'PoolCounter' => __DIR__ . '/includes/poolcounter/PoolCounter.php', 'PoolCounterNull' => __DIR__ . '/includes/poolcounter/PoolCounterNull.php', diff --git a/includes/installer/PhpBugTests.php b/includes/installer/PhpXmlBugTester.php similarity index 100% rename from includes/installer/PhpBugTests.php rename to includes/installer/PhpXmlBugTester.php -- 2.20.1