1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

fix namespace and loader

This commit is contained in:
till 2012-03-02 22:08:40 +01:00
parent 101e15bb86
commit f7c0ce5c6e

View file

@ -10,13 +10,12 @@
* file that was distributed with this source code.
*/
// is this namespace correct? I mean, who cares... but?
namespace Composer\Test\Json;
namespace Composer\Test\Repository\Vcs;
/**
* Why does composer force an install when I need an autoloader instead?
*/
$root = dirname(dirname(dirname(dirname(__DIR__)))) . '/src';
$root = dirname(dirname(dirname(dirname(dirname(__DIR__))))) . '/src';
set_include_path($root . ':' . get_include_path());
require_once $root . '/Composer/Autoload/ClassLoader.php';