Skip to content

Commit 9acd6ef

Browse files
committed
Change src folder structure to match PSR-4 standards
Update compose.json file to autoload using psr-4 standards
1 parent 055ea61 commit 9acd6ef

File tree

775 files changed

+195
-298
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

775 files changed

+195
-298
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
},
1818
"autoload": {
1919
"psr-4": {
20-
"Mozu": "src/"
20+
"Mozu\\Api\\": "src/"
21+
}
22+
},
23+
"autoload-dev": {
24+
"psr-4": {
25+
"Mozu\\Tests\\": "tests/"
2126
}
2227
},
2328
"extra": {

src/Mozu/Api/ApiContext.php renamed to src/ApiContext.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
namespace Mozu\Api;
44

5-
use Mozu\Api\Contracts\Tenant\Tenant;
65
use Mozu\Api\Helpers\SignatureResolver;
7-
use Mozu\Api\Security\AppAuthenticator;
86

97
interface iApiContext
108
{

src/Mozu/Api/ApiException.php renamed to src/ApiException.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace Mozu\Api;
33

4-
use Mozu\Api\iApiContext;
54

65
class ApiException extends \RuntimeException {
76
private $correlationId;
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)