changed package name to Utils to add the logger into it

master
Guillermo Dev 7 years ago
parent 6547e35f36
commit 2f4115d59a

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

@ -1,5 +1,5 @@
<?php <?php
namespace BSR\Config; namespace BSR\Utils\Configuration;
class Configuration { class Configuration {
@ -66,7 +66,7 @@ class Configuration {
public static function getConfigFilePath() public static function getConfigFilePath()
{ {
if (null === self::$customConfigFilePath) { 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; return self::$customConfigFilePath;
} }

@ -1,5 +1,5 @@
<?php <?php
namespace BSR\Config; namespace BSR\Utils\Configuration;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
@ -21,7 +21,7 @@ class ConfigurationTest extends TestCase
public function setUp() public function setUp()
{ {
$this->defaultConfig = array('session' => array('save_path' => session_save_path())); $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() public function testConfigurationInstanceIsTheSame()
Loading…
Cancel
Save