mirror of
https://github.com/opdavies/glassboxx-sdk-php.git
synced 2025-01-22 20:17:32 +00:00
Re-organise the src and tests directories
This commit is contained in:
parent
ae766763b2
commit
b238e6655a
|
@ -16,7 +16,7 @@
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Opdavies\\Glassboxx\\": "src/Glassboxx/"
|
"Opdavies\\Glassboxx\\": "src/"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"autoload-dev": {
|
"autoload-dev": {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx;
|
namespace Opdavies\Glassboxx\Tests;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Config;
|
use Opdavies\Glassboxx\Config;
|
||||||
use PHPUnit\Framework\TestCase;
|
use PHPUnit\Framework\TestCase;
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
|
namespace Opdavies\Glassboxx\Tests\Request;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Request\AuthTokenRequest;
|
use Opdavies\Glassboxx\Request\AuthTokenRequest;
|
||||||
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
|
use Opdavies\Glassboxx\Tests\TestCase;
|
||||||
use Symfony\Component\HttpClient\MockHttpClient;
|
use Symfony\Component\HttpClient\MockHttpClient;
|
||||||
use Symfony\Contracts\HttpClient\ResponseInterface;
|
use Symfony\Contracts\HttpClient\ResponseInterface;
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
|
namespace Opdavies\Glassboxx\Tests\Request;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;
|
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;
|
||||||
use Opdavies\Glassboxx\Request\CustomerRequest;
|
use Opdavies\Glassboxx\Request\CustomerRequest;
|
||||||
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
|
use Opdavies\Glassboxx\Tests\TestCase;
|
||||||
use Opdavies\Glassboxx\Traits\UsesCreatedAtTrait;
|
use Opdavies\Glassboxx\Traits\UsesCreatedAtTrait;
|
||||||
use Opdavies\Glassboxx\ValueObject\CustomerInterface;
|
use Opdavies\Glassboxx\ValueObject\CustomerInterface;
|
||||||
use Symfony\Component\HttpClient\MockHttpClient;
|
use Symfony\Component\HttpClient\MockHttpClient;
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
|
namespace Opdavies\Glassboxx\Tests\Request;
|
||||||
|
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use Opdavies\Glassboxx\Request\OrderRequest;
|
use Opdavies\Glassboxx\Request\OrderRequest;
|
||||||
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
|
use Opdavies\Glassboxx\Tests\TestCase;
|
||||||
use Opdavies\Glassboxx\ValueObject\OrderItemInterface;
|
use Opdavies\Glassboxx\ValueObject\OrderItemInterface;
|
||||||
use Symfony\Component\HttpClient\MockHttpClient;
|
use Symfony\Component\HttpClient\MockHttpClient;
|
||||||
use Symfony\Contracts\HttpClient\ResponseInterface;
|
use Symfony\Contracts\HttpClient\ResponseInterface;
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx;
|
namespace Opdavies\Glassboxx\Tests;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Config;
|
use Opdavies\Glassboxx\Config;
|
||||||
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;
|
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx\ValueObject;
|
namespace Opdavies\Glassboxx\Tests\ValueObject;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
|
use Opdavies\Glassboxx\Tests\TestCase;
|
||||||
use Opdavies\Glassboxx\ValueObject\Customer;
|
use Opdavies\Glassboxx\ValueObject\Customer;
|
||||||
|
|
||||||
final class CustomerTest extends TestCase
|
final class CustomerTest extends TestCase
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace Opdavies\Glassboxx\Tests\Glassboxx\ValueObject;
|
namespace Opdavies\Glassboxx\Tests\ValueObject;
|
||||||
|
|
||||||
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
|
use Opdavies\Glassboxx\Tests\TestCase;
|
||||||
use Opdavies\Glassboxx\ValueObject\Customer;
|
use Opdavies\Glassboxx\ValueObject\Customer;
|
||||||
use Opdavies\Glassboxx\ValueObject\CustomerInterface;
|
use Opdavies\Glassboxx\ValueObject\CustomerInterface;
|
||||||
use Opdavies\Glassboxx\ValueObject\Order;
|
use Opdavies\Glassboxx\ValueObject\Order;
|
Loading…
Reference in a new issue