From 92455759fc6e74b5e8eefab1d17fef118876cbe6 Mon Sep 17 00:00:00 2001 From: Bryan Davis Date: Sat, 3 Jan 2015 18:01:18 -0700 Subject: [PATCH] Fix AutoloadGeneratorTest for PHP 5.3.x --- tests/Composer/Test/Autoload/AutoloadGeneratorTest.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php b/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php index 7ca90b244..54370381c 100644 --- a/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php +++ b/tests/Composer/Test/Autoload/AutoloadGeneratorTest.php @@ -68,9 +68,15 @@ class AutoloadGeneratorTest extends TestCase private $eventDispatcher; /** + * Map of setting name => return value configuration for the stub Config + * object. + * + * Note: must be public for compatibility with PHP 5.3 runtimes where + * closures cannot access private members of the classes they are created + * in. * @var array */ - private $configValueMap; + public $configValueMap; protected function setUp() {