Commit 15f0f307 authored by David Maus's avatar David Maus
Browse files

Add PSR-0 autoloader declaration

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