Skip to content

Commit

Permalink
Updated Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Mason committed Sep 14, 2014
1 parent 5b88f29 commit 1d848fb
Show file tree
Hide file tree
Showing 14 changed files with 27 additions and 27 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
},
"autoload": {
"psr-4": {
"Gisleburt\\Formatter\\": "src/",
"Gisleburt\\Formatter\\Tests\\": "tests/"
"AyeAye\\Formatter\\": "src/",
"AyeAye\\Formatter\\Tests\\": "tests/"
}
}
}
2 changes: 1 addition & 1 deletion src/FormatFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter;
namespace AyeAye\Formatter;


class FormatFactory
Expand Down
4 changes: 2 additions & 2 deletions src/Formats/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Formats;
namespace AyeAye\Formatter\Formats;


use Gisleburt\Formatter\Formatter;
use AyeAye\Formatter\Formatter;

class Json extends Formatter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Formats/Jsonp.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Formats;
namespace AyeAye\Formatter\Formats;


use Gisleburt\Formatter\Formatter;
use AyeAye\Formatter\Formatter;

class Jsonp extends Formatter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Formats/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Formats;
namespace AyeAye\Formatter\Formats;


use Gisleburt\Formatter\Formatter;
use AyeAye\Formatter\Formatter;

class Php extends Formatter
{
Expand Down
4 changes: 2 additions & 2 deletions src/Formats/Xml.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Formats;
namespace AyeAye\Formatter\Formats;


use Gisleburt\Formatter\Formatter;
use AyeAye\Formatter\Formatter;

class Xml extends Formatter
{
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter;
namespace AyeAye\Formatter;


abstract class Formatter
Expand Down
8 changes: 4 additions & 4 deletions tests/FormatFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;


use Gisleburt\Formatter\FormatFactory;
use Gisleburt\Formatter\Formats\Json;
use AyeAye\Formatter\FormatFactory;
use AyeAye\Formatter\Formats\Json;

class FormatFactoryTest extends TestCase
{
Expand All @@ -31,7 +31,7 @@ public function testFactoryObjects()
public function testFactoryStrings()
{
$factory = new FormatFactory([
'json' => '\Gisleburt\Formatter\Formats\Json',
'json' => '\AyeAye\Formatter\Formats\Json',
]);
$this->assertTrue($factory->getFormatFor('json') instanceof Json, 'Formatter for json not returned correctly');
}
Expand Down
4 changes: 2 additions & 2 deletions tests/JsonFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;

use Gisleburt\Formatter\Formats\Json;
use AyeAye\Formatter\Formats\Json;

class JsonFormatterTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/JsonpFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;

use Gisleburt\Formatter\Formats\Jsonp;
use AyeAye\Formatter\Formats\Jsonp;

class JsonpFormatterTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/PhpFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;

use Gisleburt\Formatter\Formats\Php;
use AyeAye\Formatter\Formats\Php;

class PhpFormatterTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;


abstract class TestCase extends \PHPUnit_Framework_TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/TestClasses/JsonSerializableClass.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests\TestClasses;
namespace AyeAye\Formatter\Tests\TestClasses;


class JsonSerializableClass implements \JsonSerializable
Expand Down
6 changes: 3 additions & 3 deletions tests/XmlFormatterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
* @copyright Daniel Mason, 2014
*/

namespace Gisleburt\Formatter\Tests;
namespace AyeAye\Formatter\Tests;

use Gisleburt\Formatter\Formats\Xml;
use Gisleburt\Formatter\Tests\TestClasses\JsonSerializableClass;
use AyeAye\Formatter\Formats\Xml;
use AyeAye\Formatter\Tests\TestClasses\JsonSerializableClass;

class XmlFormatterTest extends TestCase
{
Expand Down

0 comments on commit 1d848fb

Please sign in to comment.