Skip to content

Commit

Permalink
Move loader classes into Consolidation\Config\Loader namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-1-anderson committed Jun 28, 2017
1 parent 6b0cacd commit 5c7a3f1
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ConfigLoader.php → src/Loader/ConfigLoader.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

use Grasmash\YamlExpander\Expander;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

/**
* Load configuration files, and fill in any property values that
Expand Down
2 changes: 1 addition & 1 deletion src/ConfigProcessor.php → src/Loader/ConfigProcessor.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

use Grasmash\YamlExpander\Expander;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

use Symfony\Component\Yaml\Yaml;

Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigLoaderTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

class ConfigLoaderTest extends \PHPUnit_Framework_TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ConfigProcessorTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace Consolidation\Config;
namespace Consolidation\Config\Loader;

class ConfigProcessorTest extends \PHPUnit_Framework_TestCase
{
Expand Down
3 changes: 3 additions & 0 deletions tests/ConfigTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php
namespace Consolidation\Config;

use Consolidation\Config\Loader\ConfigProcessor;
use Consolidation\Config\Loader\YamlConfigLoader;

class ConfigTest extends \PHPUnit_Framework_TestCase
{
public function testSetters()
Expand Down

0 comments on commit 5c7a3f1

Please sign in to comment.