mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
Moved to PSR-4
Autoload from PSR-0 to PSR-4
This commit is contained in:
+7
-2
@@ -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"];
|
||||
Reference in New Issue
Block a user