Skip to content

Commit bfb702c

Browse files
authored
Merge pull request #1 from mdrost/namespace
Rename JSON namespace to Json
2 parents a55f054 + 5f1746c commit bfb702c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
},
1818
"autoload": {
1919
"psr-4": {
20-
"ApiClients\\Tools\\JSON\\": "src/"
20+
"ApiClients\\Tools\\Json\\": "src/"
2121
}
2222
},
2323
"autoload-dev": {
2424
"psr-4": {
25-
"ApiClients\\Tests\\Tools\\JSON\\": "tests/"
25+
"ApiClients\\Tests\\Tools\\Json\\": "tests/"
2626
}
2727
},
2828
"config": {

src/JsonDecodeService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Tools\JSON;
3+
namespace ApiClients\Tools\Json;
44

55
use ApiClients\Foundation\Service\ServiceInterface;
66
use React\EventLoop\LoopInterface;

src/JsonEncodeService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Tools\JSON;
3+
namespace ApiClients\Tools\Json;
44

55
use ApiClients\Foundation\Service\ServiceInterface;
66
use React\EventLoop\LoopInterface;

tests/JsonDecodeServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Tests\Tools\JSON;
3+
namespace ApiClients\Tests\Tools\Json;
44

5-
use ApiClients\Tools\JSON\JsonDecodeService;
5+
use ApiClients\Tools\Json\JsonDecodeService;
66
use ApiClients\Tools\TestUtilities\TestCase;
77
use ExceptionalJSON\DecodeErrorException;
88
use React\EventLoop\Factory;

tests/JsonEncodeServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php declare(strict_types=1);
22

3-
namespace ApiClients\Tests\Tools\JSON;
3+
namespace ApiClients\Tests\Tools\Json;
44

5-
use ApiClients\Tools\JSON\JsonEncodeService;
5+
use ApiClients\Tools\Json\JsonEncodeService;
66
use ApiClients\Tools\TestUtilities\TestCase;
77
use ExceptionalJSON\EncodeErrorException;
88
use React\EventLoop\Factory;

0 commit comments

Comments
 (0)