Explorar o código

Fix AutoloadGeneratorTest for PHP 5.3.x

Bryan Davis %!s(int64=10) %!d(string=hai) anos
pai
achega
92455759fc
Modificáronse 1 ficheiros con 7 adicións e 1 borrados
  1. 7 1
      tests/Composer/Test/Autoload/AutoloadGeneratorTest.php

+ 7 - 1
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()
     {