summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Weipert <code@drogueronin.de>2021-02-21 14:28:50 +0100
committerDaniel Weipert <code@drogueronin.de>2021-02-21 14:31:21 +0100
commitbe59a904d34942aef5a921ef56e920ba7c22e019 (patch)
treeb9ce152806feb9e43caab6af91ef6be96a0b88b3
parent896db05d192eccd8bfcd3db89c1edd8ec49fa907 (diff)
Changes namespaceHEADv1.0.1main
-rw-r--r--Readme.md4
-rw-r--r--composer.json8
-rw-r--r--src/OAuthMiddleware.php2
-rw-r--r--tests/Test.php4
4 files changed, 9 insertions, 9 deletions
diff --git a/Readme.md b/Readme.md
index f3fc3b7..52c3d04 100644
--- a/Readme.md
+++ b/Readme.md
@@ -4,7 +4,7 @@ to use with the [Cardmarket API](https://api.cardmarket.com/ws/documentation)
## Installation
```
-composer require drogueronin/guzzle-cardmarket-api-middleware
+composer require dweipert/guzzle-cardmarket-api-middleware
```
## How to use
@@ -12,7 +12,7 @@ composer require drogueronin/guzzle-cardmarket-api-middleware
```php
use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;
-use CardmarketApi\OAuthMiddleware;
+use Dweipert\CardmarketApi\OAuthMiddleware;
// Create default HandlerStack
$stack = HandlerStack::create();
diff --git a/composer.json b/composer.json
index b8e7f69..1321f5c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,6 +1,6 @@
{
- "name": "drogueronin/guzzle-cardmarket-api-middleware",
- "version": "1.0.0",
+ "name": "dweipert/guzzle-cardmarket-api-middleware",
+ "version": "1.0.1",
"type": "library",
"authors": [
{
@@ -23,12 +23,12 @@
},
"autoload": {
"psr-4": {
- "CardmarketApi\\": "src/"
+ "Dweipert\\CardmarketApi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
- "CardmarketApi\\Tests\\": "tests/"
+ "Dweipert\\CardmarketApi\\Tests\\": "tests/"
}
}
}
diff --git a/src/OAuthMiddleware.php b/src/OAuthMiddleware.php
index aeb28c7..03184b2 100644
--- a/src/OAuthMiddleware.php
+++ b/src/OAuthMiddleware.php
@@ -1,6 +1,6 @@
<?php
-namespace CardmarketApi;
+namespace Dweipert\CardmarketApi;
use Psr\Http\Message\RequestInterface;
diff --git a/tests/Test.php b/tests/Test.php
index fd99ace..e3935d0 100644
--- a/tests/Test.php
+++ b/tests/Test.php
@@ -1,8 +1,8 @@
<?php
-namespace CardmarketApi\Tests;
+namespace Dweipert\CardmarketApi\Tests;
-use CardmarketApi\OAuthMiddleware;
+use Dweipert\CardmarketApi\OAuthMiddleware;
use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;
use PHPUnit\Framework\TestCase;