fix namespace and loader
parent
101e15bb86
commit
f7c0ce5c6e
|
@ -10,13 +10,12 @@
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// is this namespace correct? I mean, who cares... but?
|
namespace Composer\Test\Repository\Vcs;
|
||||||
namespace Composer\Test\Json;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Why does composer force an install when I need an autoloader instead?
|
* 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());
|
set_include_path($root . ':' . get_include_path());
|
||||||
|
|
||||||
require_once $root . '/Composer/Autoload/ClassLoader.php';
|
require_once $root . '/Composer/Autoload/ClassLoader.php';
|
||||||
|
|
Loading…
Reference in New Issue