changed package name to Utils to add the logger into it

This commit is contained in:
Guillermo Dev
2018-10-11 13:08:43 +02:00
parent b31570dbdb
commit a099e1b241
3 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
"name" : "bsr/config",
"name" : "bsr/utils",
"description" : "Bsr configuration module",
"authors" : [
{

View File

@@ -1,5 +1,5 @@
<?php
namespace BSR\Config;
namespace BSR\Utils\Configuration;
class Configuration {
@@ -66,7 +66,7 @@ class Configuration {
public static function getConfigFilePath()
{
if (null === self::$customConfigFilePath) {
self::$customConfigFilePath = realpath(dirname(__FILE__) . '/../../../../../config/configuration.local.php');
self::$customConfigFilePath = realpath(dirname(__FILE__) . '/../../../../../../config/configuration.local.php');
}
return self::$customConfigFilePath;
}

View File

@@ -1,5 +1,5 @@
<?php
namespace BSR\Config;
namespace BSR\Utils\Configuration;
use PHPUnit\Framework\TestCase;
@@ -21,7 +21,7 @@ class ConfigurationTest extends TestCase
public function setUp()
{
$this->defaultConfig = array('session' => array('save_path' => session_save_path()));
$this->dummyConfigFilePath = realpath(dirname(__FILE__) . '/../../config/configuration.local.php');
$this->dummyConfigFilePath = realpath(dirname(__FILE__) . '/../../../config/configuration.local.php');
}
public function testConfigurationInstanceIsTheSame()