Commit 1 of 2:
18a8f552b4
Change namespacing
next
whole branch
Review threads live on the whole diff, not on one commit, so
none are shown here - a thread's line means something in the
branch's final form, and painting it into an intermediate
step would put it on code it is not about.
composer.json modified renamed throughout +2 -2 Changes to composer.json ⋯ 31 lines Show the 31 lines above this hunk @@ -32,12 +32,12 @@32 32 } , 33 33 "autoload" : { 34 34 "psr-4" : { 35 - "Meema\\ MeemaApi \\" : "src" 35 + "Meema\\ MeemaClient \\" : "src" 36 36 } 37 37 } , 38 38 "autoload-dev" : { 39 39 "psr-4" : { 40 - "Meema\\ MeemaApi \\Test\\" : "tests" 40 + "Meema\\ MeemaClient \\Test\\" : "tests" 41 41 } 42 42 } , 43 43 "suggest" : {
src/Client.php modified renamed throughout +6 -6 Changes to src/Client.php @@ -1,14 +1,14 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi ; 3 + namespace Meema \ MeemaClient ; 4 4 5 5 use Dotenv \ Dotenv ; 6 6 use GuzzleHttp \ Client as GuzzleClient ; 7 - use Meema \ MeemaApi \ Models \ Favorite ; 8 - use Meema \ MeemaApi \ Models \ Folder ; 9 - use Meema \ MeemaApi \ Models \ Media ; 10 - use Meema \ MeemaApi \ Models \ Storage ; 11 - use Meema \ MeemaApi \ Models \ Tag ; 7 + use Meema \ MeemaClient \ Models \ Favorite ; 8 + use Meema \ MeemaClient \ Models \ Folder ; 9 + use Meema \ MeemaClient \ Models \ Media ; 10 + use Meema \ MeemaClient \ Models \ Storage ; 11 + use Meema \ MeemaClient \ Models \ Tag ; 12 12 13 13 class Client 14 14 {
src/Models/Favorite.php modified renamed throughout +5 -5 Changes to src/Models/Favorite.php @@ -1,11 +1,11 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Models ; 3 + namespace Meema \ MeemaClient \ Models ; 4 4 5 - use Meema \ MeemaApi \ Client ; 6 - use Meema \ MeemaApi \ Exceptions \ InvalidFormatException ; 7 - use Meema \ MeemaApi \ Response \ Response ; 8 - use Meema \ MeemaApi \ Traits \ CollectionsResponse ; 5 + use Meema \ MeemaClient \ Client ; 6 + use Meema \ MeemaClient \ Exceptions \ InvalidFormatException ; 7 + use Meema \ MeemaClient \ Response \ Response ; 8 + use Meema \ MeemaClient \ Traits \ CollectionsResponse ; 9 9 10 10 class Favorite 11 11 {
src/Models/Folder.php modified renamed throughout +5 -5 Changes to src/Models/Folder.php @@ -1,11 +1,11 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Models ; 3 + namespace Meema \ MeemaClient \ Models ; 4 4 5 - use Meema \ MeemaApi \ Client ; 6 - use Meema \ MeemaApi \ Exceptions \ InvalidFormatException ; 7 - use Meema \ MeemaApi \ Response \ Response ; 8 - use Meema \ MeemaApi \ Traits \ CollectionsResponse ; 5 + use Meema \ MeemaClient \ Client ; 6 + use Meema \ MeemaClient \ Exceptions \ InvalidFormatException ; 7 + use Meema \ MeemaClient \ Response \ Response ; 8 + use Meema \ MeemaClient \ Traits \ CollectionsResponse ; 9 9 10 10 class Folder 11 11 {
src/Models/Storage.php modified renamed throughout +2 -2 Changes to src/Models/Storage.php @@ -1,13 +1,13 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Models ; 3 + namespace Meema \ MeemaClient \ Models ; 4 4 5 5 use Exception ; 6 6 use GuzzleHttp \ Client as GuzzleClient ; 7 7 use GuzzleHttp \ Psr7 ; 8 8 use GuzzleHttp \ Psr7 \ Request ; 9 9 use GuzzleHttp \ Psr7 \ Utils ; 10 - use Meema \ MeemaApi \ Client ; 10 + use Meema \ MeemaClient \ Client ; 11 11 12 12 class Storage 13 13 {
src/Models/Tag.php modified renamed throughout +5 -5 Changes to src/Models/Tag.php @@ -1,11 +1,11 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Models ; 3 + namespace Meema \ MeemaClient \ Models ; 4 4 5 - use Meema \ MeemaApi \ Client ; 6 - use Meema \ MeemaApi \ Exceptions \ InvalidFormatException ; 7 - use Meema \ MeemaApi \ Response \ Response ; 8 - use Meema \ MeemaApi \ Traits \ CollectionsResponse ; 5 + use Meema \ MeemaClient \ Client ; 6 + use Meema \ MeemaClient \ Exceptions \ InvalidFormatException ; 7 + use Meema \ MeemaClient \ Response \ Response ; 8 + use Meema \ MeemaClient \ Traits \ CollectionsResponse ; 9 9 10 10 class Tag 11 11 {
src/Models/Team.php modified renamed throughout +3 -3 Changes to src/Models/Team.php @@ -1,9 +1,9 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Models ; 3 + namespace Meema \ MeemaClient \ Models ; 4 4 5 - use Meema \ MeemaApi \ Client ; 6 - use Meema \ MeemaApi \ Response \ Response ; 5 + use Meema \ MeemaClient \ Client ; 6 + use Meema \ MeemaClient \ Response \ Response ; 7 7 8 8 class Team 9 9 {
src/Response/Response.php modified renamed throughout +2 -2 Changes to src/Response/Response.php @@ -1,9 +1,9 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Response ; 3 + namespace Meema \ MeemaClient \ Response ; 4 4 5 5 use Illuminate \ Support \ Arr ; 6 - use Meema \ MeemaApi \ Traits \ ForwardsCalls ; 6 + use Meema \ MeemaClient \ Traits \ ForwardsCalls ; 7 7 8 8 class Response 9 9 {
src/Traits/CollectionsResponse.php modified +1 -1 Changes to src/Traits/CollectionsResponse.php @@ -1,6 +1,6 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Traits ; 3 + namespace Meema \ MeemaClient \ Traits ; 4 4 5 5 trait CollectionsResponse 6 6 {
src/Traits/ForwardsCalls.php modified +1 -1 Changes to src/Traits/ForwardsCalls.php @@ -1,6 +1,6 @@ 1 1 < ? php 2 2 3 - namespace Meema \ MeemaApi \ Traits ; 3 + namespace Meema \ MeemaClient \ Traits ; 4 4 5 5 use BadMethodCallException ; 6 6 use Error ;