Skip to content

Commit

Permalink
rename namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
recca0120 committed Feb 26, 2024
1 parent d8a7e5c commit db3bb0d
Show file tree
Hide file tree
Showing 39 changed files with 75 additions and 75 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
},
"autoload": {
"psr-4": {
"Omnipay\\ePays\\": "src"
"Omnipay\\EPays\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Omnipay\\ePays\\Tests\\": "tests"
"Omnipay\\EPays\\Tests\\": "tests"
}
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/Encryptor.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays;
namespace Omnipay\EPays;

use LengthException;
use phpseclib3\Crypt\AES;
Expand Down
2 changes: 1 addition & 1 deletion src/Hasher.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays;
namespace Omnipay\EPays;

class Hasher
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/MyCash/AcceptNotificationRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Message\NotificationInterface;

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

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Message\NotificationInterface;

Expand Down
4 changes: 2 additions & 2 deletions src/Message/MyCash/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\Common\Message\AbstractRequest;
use Omnipay\ePays\Traits\MyCash\HasMyCash;
use Omnipay\EPays\Traits\MyCash\HasMyCash;

class CompletePurchaseRequest extends AbstractRequest
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/MyCash/CompletePurchaseResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Message\AbstractResponse;

Expand Down
4 changes: 2 additions & 2 deletions src/Message/MyCash/FetchTransactionRequest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\Common\Message\AbstractRequest;
use Omnipay\ePays\Traits\MyCash\HasMyCash;
use Omnipay\EPays\Traits\MyCash\HasMyCash;

class FetchTransactionRequest extends AbstractRequest
{
Expand Down
4 changes: 2 additions & 2 deletions src/Message/MyCash/GetPaymentInfoRequest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\Common\Message\AbstractRequest;
use Omnipay\ePays\Traits\MyCash\HasMyCash;
use Omnipay\EPays\Traits\MyCash\HasMyCash;

class GetPaymentInfoRequest extends AbstractRequest
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/MyCash/GetPaymentInfoResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

class GetPaymentInfoResponse extends CompletePurchaseResponse
{
Expand Down
12 changes: 6 additions & 6 deletions src/Message/MyCash/PurchaseRequest.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\Common\Message\AbstractRequest;
use Omnipay\ePays\Traits\MyCash\HasAmount;
use Omnipay\ePays\Traits\MyCash\HasCreditCard;
use Omnipay\ePays\Traits\MyCash\HasCVS;
use Omnipay\ePays\Traits\MyCash\HasDefaults;
use Omnipay\ePays\Traits\MyCash\HasMyCash;
use Omnipay\EPays\Traits\MyCash\HasAmount;
use Omnipay\EPays\Traits\MyCash\HasCreditCard;
use Omnipay\EPays\Traits\MyCash\HasCVS;
use Omnipay\EPays\Traits\MyCash\HasDefaults;
use Omnipay\EPays\Traits\MyCash\HasMyCash;

class PurchaseRequest extends AbstractRequest
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/MyCash/PurchaseResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\MyCash;
namespace Omnipay\EPays\Message\MyCash;

use Omnipay\Common\Message\AbstractResponse;
use Omnipay\Common\Message\RedirectResponseInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Message/XWallet/AbstractRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

use Omnipay\Common\Message\AbstractRequest as BaseAbstractRequest;

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

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

use Omnipay\Common\Message\AbstractResponse as BaseAbstractResponse;

Expand Down
6 changes: 3 additions & 3 deletions src/Message/XWallet/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

use Omnipay\ePays\Encryptor;
use Omnipay\ePays\Traits\XWallet\HasEPays;
use Omnipay\EPays\Encryptor;
use Omnipay\EPays\Traits\XWallet\HasEPays;

class CompletePurchaseRequest extends AbstractRequest
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/XWallet/CompletePurchaseResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

class CompletePurchaseResponse extends AbstractResponse
{
Expand Down
6 changes: 3 additions & 3 deletions src/Message/XWallet/PurchaseRequest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\ePays\Encryptor;
use Omnipay\ePays\Traits\XWallet\HasEPays;
use Omnipay\EPays\Encryptor;
use Omnipay\EPays\Traits\XWallet\HasEPays;

class PurchaseRequest extends AbstractRequest
{
Expand Down
2 changes: 1 addition & 1 deletion src/Message/XWallet/PurchaseResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Message\XWallet;
namespace Omnipay\EPays\Message\XWallet;

use Omnipay\Common\Message\RedirectResponseInterface;

Expand Down
14 changes: 7 additions & 7 deletions src/MyCashGateway.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php

namespace Omnipay\ePays;
namespace Omnipay\EPays;

use Omnipay\Common\AbstractGateway;
use Omnipay\ePays\Message\MyCash\AcceptNotificationRequest;
use Omnipay\ePays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\ePays\Message\MyCash\FetchTransactionRequest;
use Omnipay\ePays\Message\MyCash\GetPaymentInfoRequest;
use Omnipay\ePays\Message\MyCash\PurchaseRequest;
use Omnipay\ePays\Traits\MyCash\HasMyCash;
use Omnipay\EPays\Message\MyCash\AcceptNotificationRequest;
use Omnipay\EPays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\EPays\Message\MyCash\FetchTransactionRequest;
use Omnipay\EPays\Message\MyCash\GetPaymentInfoRequest;
use Omnipay\EPays\Message\MyCash\PurchaseRequest;
use Omnipay\EPays\Traits\MyCash\HasMyCash;

/**
* MyCash Gateway
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasAmount.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasAmount
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasCVS.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasCVS
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasCreditCard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasCreditCard
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasDefaults.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasDefaults
{
Expand Down
4 changes: 2 additions & 2 deletions src/Traits/MyCash/HasMyCash.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

use Omnipay\ePays\Hasher;
use Omnipay\EPays\Hasher;

trait HasMyCash
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasRtn.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasRtn
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasRtnATM.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasRtnATM
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasRtnCVS.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasRtnCVS
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/MyCash/HasRtnCreditCard.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\MyCash;
namespace Omnipay\EPays\Traits\MyCash;

trait HasRtnCreditCard
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/XWallet/HasEPays.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Omnipay\ePays\Traits\XWallet;
namespace Omnipay\EPays\Traits\XWallet;

trait HasEPays
{
Expand Down
8 changes: 4 additions & 4 deletions src/XWalletGateway.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Omnipay\ePays;
namespace Omnipay\EPays;

use Omnipay\Common\AbstractGateway;
use Omnipay\ePays\Message\XWallet\CompletePurchaseRequest;
use Omnipay\ePays\Message\XWallet\PurchaseRequest;
use Omnipay\ePays\Traits\XWallet\HasEPays;
use Omnipay\EPays\Message\XWallet\CompletePurchaseRequest;
use Omnipay\EPays\Message\XWallet\PurchaseRequest;
use Omnipay\EPays\Traits\XWallet\HasEPays;

/**
* MyCash Gateway
Expand Down
4 changes: 2 additions & 2 deletions tests/EncryptorTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Omnipay\ePays\Tests;
namespace Omnipay\EPays\Tests;

use Omnipay\ePays\Encryptor;
use Omnipay\EPays\Encryptor;
use PHPUnit\Framework\TestCase;

class EncryptorTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/HasherTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Omnipay\ePays\Tests;
namespace Omnipay\EPays\Tests;

use Omnipay\ePays\Hasher;
use Omnipay\EPays\Hasher;
use PHPUnit\Framework\TestCase;

class HasherTest extends TestCase
Expand Down
6 changes: 3 additions & 3 deletions tests/Message/MyCash/AcceptNotificationRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace Omnipay\ePays\Tests\Message\MyCash;
namespace Omnipay\EPays\Tests\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\Common\Message\NotificationInterface;
use Omnipay\ePays\Message\MyCash\AcceptNotificationRequest;
use Omnipay\ePays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\EPays\Message\MyCash\AcceptNotificationRequest;
use Omnipay\EPays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\Tests\TestCase;

class AcceptNotificationRequestTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/Message/MyCash/CompletePurchaseRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php

namespace Omnipay\ePays\Tests\Message\MyCash;
namespace Omnipay\EPays\Tests\Message\MyCash;

use Omnipay\Common\Exception\InvalidRequestException;
use Omnipay\ePays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\EPays\Message\MyCash\CompletePurchaseRequest;
use Omnipay\Tests\TestCase;

class CompletePurchaseRequestTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/Message/MyCash/GetPaymentInfoRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Omnipay\ePays\Tests\Message\MyCash;
namespace Omnipay\EPays\Tests\Message\MyCash;

use Omnipay\ePays\Message\MyCash\GetPaymentInfoRequest;
use Omnipay\EPays\Message\MyCash\GetPaymentInfoRequest;
use Omnipay\Tests\TestCase;

class GetPaymentInfoRequestTest extends TestCase
Expand Down
4 changes: 2 additions & 2 deletions tests/Message/MyCash/PurchaseRequestTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Omnipay\ePays\Tests\Message\MyCash;
namespace Omnipay\EPays\Tests\Message\MyCash;

use Omnipay\ePays\Message\MyCash\PurchaseRequest;
use Omnipay\EPays\Message\MyCash\PurchaseRequest;
use Omnipay\Tests\TestCase;

class PurchaseRequestTest extends TestCase
Expand Down
Loading

0 comments on commit db3bb0d

Please sign in to comment.