summaryrefslogtreecommitdiffstats
path: root/composer-bootstrap.php
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-10-21 11:47:57 +0200
committerRemi Collet <fedora@famillecollet.com>2016-10-21 11:47:57 +0200
commit4c6fdf51f6565230396133e17ff12f94542257bf (patch)
treef93ff89ca99bf0e693866c3978c36c57009ee8c1 /composer-bootstrap.php
parentb7f1d52f58a91883e570d84196ccdd79c15a4d71 (diff)
composer: fedora autoloader
Diffstat (limited to 'composer-bootstrap.php')
-rw-r--r--composer-bootstrap.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/composer-bootstrap.php b/composer-bootstrap.php
index 713835a..5440159 100644
--- a/composer-bootstrap.php
+++ b/composer-bootstrap.php
@@ -1,4 +1,6 @@
<?php
require 'Composer/autoload.php';
-$fedoraClassLoader->addPrefix('Composer\\Test\\', __DIR__);
+/* \Fedora\Autoloader\Autoload::addPsr0('Composer\\Test\\', __DIR__ . '/'); broken for now */
+\Fedora\Autoloader\Autoload::addPsr4('Composer\\Test\\', __DIR__ . '/Composer/Test');
require __DIR__.'/Composer/TestCase.php';
+