Remove TestingAccessWrapper class (now available via composer)
authorGergő Tisza <tgr.huwiki@gmail.com>
Thu, 20 Apr 2017 12:34:28 +0000 (14:34 +0200)
committerKrinkle <krinklemail@gmail.com>
Wed, 3 May 2017 22:11:08 +0000 (22:11 +0000)
If your extension depended on this, replace \TestingAccessWrapper
with \Wikimedia\TestingAccessWrapper.

Bug: T163434
Change-Id: Ice1e8aae258b4c6ae7ab1b2a4815fe682335cc3a

RELEASE-NOTES-1.30
tests/common/TestsAutoLoader.php
tests/phpunit/includes/TestingAccessWrapper.php [deleted file]

index fffa109..0c2621e 100644 (file)
@@ -17,7 +17,8 @@ production.
 * …
 
 ==== New external libraries ====
-* …
+* The class \TestingAccessWrapper has been moved to the external library
+  wikimedia/testing-access-wrapper and renamed \Wikimedia\TestingAccessWrapper.
 
 ==== Removed and replaced external libraries ====
 * …
index 2a4c43f..3de3ba7 100644 (file)
@@ -64,7 +64,6 @@ $wgAutoloadClasses += [
 
        # tests/phpunit/includes
        'RevisionStorageTest' => "$testDir/phpunit/includes/RevisionStorageTest.php",
-       'TestingAccessWrapper' => "$testDir/phpunit/includes/TestingAccessWrapper.php",
        'TestLogger' => "$testDir/phpunit/includes/TestLogger.php",
 
        # tests/phpunit/includes/api
@@ -171,4 +170,4 @@ $wgAutoloadClasses += [
        'ParserTestFileSuite' => "$testDir/phpunit/suites/ParserTestFileSuite.php",
        'ParserTestTopLevelSuite' => "$testDir/phpunit/suites/ParserTestTopLevelSuite.php",
 ];
-// @codingStandardsIgnoreEnd
\ No newline at end of file
+// @codingStandardsIgnoreEnd
diff --git a/tests/phpunit/includes/TestingAccessWrapper.php b/tests/phpunit/includes/TestingAccessWrapper.php
deleted file mode 100644 (file)
index 76a4266..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-/**
- * Circumvent access restrictions on object internals
- *
- * Kept around for backwards compatibility.
- *
- * @deprecated Use \Wikimedia\TestingAccessWrapper (proveded by the
- *   wikimedia/testing-access-wrapper Composer library)
- */
-class TestingAccessWrapper extends \Wikimedia\TestingAccessWrapper {
-}