Przeglądaj źródła

Reuse main classloader

Jordi Boggiano 13 lat temu
rodzic
commit
812bf9a2af
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      tests/bootstrap.php

+ 1 - 3
tests/bootstrap.php

@@ -10,8 +10,6 @@
  * file that was distributed with this source code.
  */
 
-require __DIR__.'/../vendor/.composer/autoload.php';
-
-$loader = new Composer\Autoload\ClassLoader();
+$loader = require __DIR__.'/../vendor/.composer/autoload.php';
 $loader->add('Composer\Test', __DIR__);
 $loader->register();