Moved to PSR-4

Autoload from PSR-0 to PSR-4
This commit is contained in:
Walter Dal Mut
2015-06-10 15:54:07 +02:00
parent 8dffa27987
commit 9db35097e2
13 changed files with 8 additions and 3 deletions
+7 -2
View File
@@ -31,11 +31,16 @@
}
],
"autoload": {
"psr-0": {
"InfluxDB\\": ["./src/", "./tests"],
"psr-4": {
"InfluxDB\\": ["./src/"],
"Corley\\": ["./benchmarks/"]
}
},
"autoload-dev": {
"psr-4": {
"InfluxDB\\": ["./tests/"]
}
},
"suggest": {
"fabpot/pimple": "Allows to prepare the client dependencies in order to require an initialized instance",
"zendframework/zend-servicemanager": "Use a service locator in order to prepare a valid instance",
@@ -16,7 +16,7 @@ class ClientTest extends \PHPUnit_Framework_TestCase
public function setUp()
{
$options = include __DIR__ . '/../bootstrap.php';
$options = include __DIR__ . '/bootstrap.php';
$this->rawOptions = $options;
$tcpOptions = $options["tcp"];