Skip to content
Snippets Groups Projects
Commit 15f0f307 authored by David Maus's avatar David Maus
Browse files

Add PSR-0 autoloader declaration

parent 8bb72c13
No related branches found
No related tags found
No related merge requests found
......@@ -12,5 +12,10 @@
],
"support": {
"email": "maus@hab.de"
},
"autoload": {
"psr-0": {
"HAB\\Pica": "src/"
}
}
}
......@@ -26,6 +26,5 @@ require_once realpath(__DIR__ . '/../vendor/autoload.php');
define('PHPUNIT_FIXTURES', realpath(__DIR__ . '/fixtures'));
$loader = new Composer\Autoload\ClassLoader();
$loader->add('HAB', realpath(__DIR__ . '/../src'));
$loader->add('HAB', realpath(__DIR__ . '/src'));
$loader->register();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment