Skip to content

Commit

Permalink
Rename Marissen to Mooore
Browse files Browse the repository at this point in the history
  • Loading branch information
Timon de Groot committed Nov 27, 2019
1 parent 4984586 commit 91c8594
Show file tree
Hide file tree
Showing 22 changed files with 59 additions and 59 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Marissen
Copyright (c) 2019 Mooore Digital

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ In order to use this library, you need:
## Installation

```bash
composer require marissen/ecurring-api-php
composer require mooore/ecurring-api-php
```

## Getting started

Initializing the eCurring client

```php
use Marissen\eCurring\eCurringHttpClient;
use Mooore\eCurring\eCurringHttpClient;

$client = new eCurringHttpClient();
$client->setApiKey('your_api_key');
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "marissen/ecurring-api-php",
"name": "mooore/ecurring-api-php",
"description": "eCurring API client library for PHP.",
"keywords": [
"ecurring",
Expand All @@ -11,7 +11,7 @@
"authors": [
{
"name": "Timon de Groot",
"email": "timon@marissen.net"
"email": "timon@mooore.nl"
}
],
"require": {
Expand All @@ -22,12 +22,12 @@
},
"autoload": {
"psr-4": {
"Marissen\\eCurring\\": "src/"
"Mooore\\eCurring\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Marissen\\eCurring\\": "tests/"
"Mooore\\eCurring\\": "tests/"
}
},
"require-dev": {
Expand Down
14 changes: 7 additions & 7 deletions src/Endpoint/AbstractEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

declare(strict_types=1);

namespace Marissen\eCurring\Endpoint;
namespace Mooore\eCurring\Endpoint;

use InvalidArgumentException;
use Marissen\eCurring\eCurringHttpClient;
use Marissen\eCurring\Exception\ApiException;
use Marissen\eCurring\Resource\AbstractResource;
use Marissen\eCurring\Resource\Collection;
use Marissen\eCurring\Resource\ResourceFactory;
use Marissen\eCurring\Resource\ResourceFactoryInterface;
use Mooore\eCurring\eCurringHttpClient;
use Mooore\eCurring\Exception\ApiException;
use Mooore\eCurring\Resource\AbstractResource;
use Mooore\eCurring\Resource\Collection;
use Mooore\eCurring\Resource\ResourceFactory;
use Mooore\eCurring\Resource\ResourceFactoryInterface;

abstract class AbstractEndpoint
{
Expand Down
12 changes: 6 additions & 6 deletions src/Endpoint/CustomerEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Marissen\eCurring\Endpoint;
namespace Mooore\eCurring\Endpoint;

use Marissen\eCurring\Exception\ApiException;
use Marissen\eCurring\Resource\AbstractResource;
use Marissen\eCurring\Resource\Collection;
use Marissen\eCurring\Resource\Customer;
use Marissen\eCurring\Resource\CustomerCollection;
use Mooore\eCurring\Exception\ApiException;
use Mooore\eCurring\Resource\AbstractResource;
use Mooore\eCurring\Resource\Collection;
use Mooore\eCurring\Resource\Customer;
use Mooore\eCurring\Resource\CustomerCollection;

class CustomerEndpoint extends AbstractEndpoint
{
Expand Down
12 changes: 6 additions & 6 deletions src/Endpoint/SubscriptionEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Marissen\eCurring\Endpoint;
namespace Mooore\eCurring\Endpoint;

use Marissen\eCurring\Exception\ApiException;
use Marissen\eCurring\Resource\AbstractResource;
use Marissen\eCurring\Resource\Collection;
use Marissen\eCurring\Resource\Subscription;
use Marissen\eCurring\Resource\SubscriptionCollection;
use Mooore\eCurring\Exception\ApiException;
use Mooore\eCurring\Resource\AbstractResource;
use Mooore\eCurring\Resource\Collection;
use Mooore\eCurring\Resource\Subscription;
use Mooore\eCurring\Resource\SubscriptionCollection;

class SubscriptionEndpoint extends AbstractEndpoint
{
Expand Down
12 changes: 6 additions & 6 deletions src/Endpoint/SubscriptionPlanEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Marissen\eCurring\Endpoint;
namespace Mooore\eCurring\Endpoint;

use Marissen\eCurring\Exception\ApiException;
use Marissen\eCurring\Resource\AbstractResource;
use Marissen\eCurring\Resource\Collection;
use Marissen\eCurring\Resource\SubscriptionPlan;
use Marissen\eCurring\Resource\SubscriptionPlanCollection;
use Mooore\eCurring\Exception\ApiException;
use Mooore\eCurring\Resource\AbstractResource;
use Mooore\eCurring\Resource\Collection;
use Mooore\eCurring\Resource\SubscriptionPlan;
use Mooore\eCurring\Resource\SubscriptionPlanCollection;

class SubscriptionPlanEndpoint extends AbstractEndpoint
{
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Exception;
namespace Mooore\eCurring\Exception;

use Exception;
use GuzzleHttp\Exception\GuzzleException;
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/PhpVersionException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Marissen\eCurring\Exception;
namespace Mooore\eCurring\Exception;

use \Exception;
use \Throwable;
Expand Down
4 changes: 2 additions & 2 deletions src/Resource/AbstractResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use Marissen\eCurring\eCurringHttpClient;
use Mooore\eCurring\eCurringHttpClient;

abstract class AbstractResource
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use ArrayObject;

Expand Down
6 changes: 3 additions & 3 deletions src/Resource/CursorCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use Marissen\eCurring\eCurringHttpClient;
use Marissen\eCurring\Exception\ApiException;
use Mooore\eCurring\eCurringHttpClient;
use Mooore\eCurring\Exception\ApiException;

abstract class CursorCollection extends Collection
{
Expand Down
4 changes: 2 additions & 2 deletions src/Resource/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use Marissen\eCurring\Exception\ApiException;
use Mooore\eCurring\Exception\ApiException;

class Customer extends AbstractResource
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/CustomerCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

class CustomerCollection extends CursorCollection
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/ResourceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use ReflectionProperty;

Expand Down
2 changes: 1 addition & 1 deletion src/Resource/ResourceFactoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

interface ResourceFactoryInterface
{
Expand Down
6 changes: 3 additions & 3 deletions src/Resource/Subscription.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

use Marissen\eCurring\Exception\ApiException;
use Mooore\eCurring\Exception\ApiException;

/**
* Class Subscription
* @package Marissen\eCurring\Resource
* @package Mooore\eCurring\Resource
* @see https://docs.ecurring.com/subscriptions/get/
*/
class Subscription extends AbstractResource
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/SubscriptionCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

class SubscriptionCollection extends CursorCollection
{
Expand Down
4 changes: 2 additions & 2 deletions src/Resource/SubscriptionPlan.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

class SubscriptionPlan extends AbstractResource
{
Expand Down Expand Up @@ -55,7 +55,7 @@ class SubscriptionPlan extends AbstractResource
* @param int $customerId
* @param array $attributes
* @return Subscription
* @throws \Marissen\eCurring\Exception\ApiException
* @throws \Mooore\eCurring\Exception\ApiException
*/
public function createSubscription(int $customerId, array $attributes = []): Subscription
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resource/SubscriptionPlanCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace Marissen\eCurring\Resource;
namespace Mooore\eCurring\Resource;

class SubscriptionPlanCollection extends CursorCollection
{
Expand Down
12 changes: 6 additions & 6 deletions src/eCurringHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

declare(strict_types=1);

namespace Marissen\eCurring;
namespace Mooore\eCurring;

use Composer\CaBundle\CaBundle;
use GuzzleHttp\Client;
use GuzzleHttp\ClientInterface;
use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Psr7\Request;
use GuzzleHttp\RequestOptions;
use Marissen\eCurring\Endpoint\CustomerEndpoint;
use Marissen\eCurring\Endpoint\SubscriptionEndpoint;
use Marissen\eCurring\Endpoint\SubscriptionPlanEndpoint;
use Marissen\eCurring\Exception\ApiException;
use Marissen\eCurring\Exception\PhpVersionException;
use Mooore\eCurring\Endpoint\CustomerEndpoint;
use Mooore\eCurring\Endpoint\SubscriptionEndpoint;
use Mooore\eCurring\Endpoint\SubscriptionPlanEndpoint;
use Mooore\eCurring\Exception\ApiException;
use Mooore\eCurring\Exception\PhpVersionException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\StreamInterface;

Expand Down
2 changes: 1 addition & 1 deletion tests/eCurringHttpClientTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Marissen\eCurring;
namespace Mooore\eCurring;

use GuzzleHttp\ClientInterface;
use GuzzleHttp\Psr7\Response;
Expand Down

0 comments on commit 91c8594

Please sign in to comment.