(bug 36603) Make DumpFilter::$sink public again
authorAntoine Musso <hashar@free.fr>
Mon, 7 May 2012 21:34:07 +0000 (14:34 -0700)
committerAntoine Musso <hashar@free.fr>
Mon, 7 May 2012 21:37:55 +0000 (14:37 -0700)
This is required by dump unit testing for now. The change was introduced
by commit ab6e54e0 https://gerrit.wikimedia.org/r/#/c/6089/

We will have to update the Dump tests to no more reference sink directly
but use a proper accessing method that has yet to be written.

Change-Id: I1246739c4ea174b13af475db8cfcb48740ecc2df

includes/Export.php

index 811d716..ea6fd94 100644 (file)
@@ -1177,8 +1177,10 @@ class DumpFilter {
 
        /**
         * @var DumpOutput
+        * FIXME will need to be made protected whenever legacy code
+        * is updated.
         */
-       protected $sink;
+       public $sink;
 
        /**
         * @var bool