Re-organise the src and tests directories

This commit is contained in:
Oliver Davies 2020-06-11 20:21:51 +01:00
parent ae766763b2
commit b238e6655a
26 changed files with 13 additions and 13 deletions

View file

@ -16,7 +16,7 @@
},
"autoload": {
"psr-4": {
"Opdavies\\Glassboxx\\": "src/Glassboxx/"
"Opdavies\\Glassboxx\\": "src/"
}
},
"autoload-dev": {

View file

@ -2,7 +2,7 @@
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests\Glassboxx;
namespace Opdavies\Glassboxx\Tests;
use Opdavies\Glassboxx\Config;
use PHPUnit\Framework\TestCase;

View file

@ -2,10 +2,10 @@
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
namespace Opdavies\Glassboxx\Tests\Request;
use Opdavies\Glassboxx\Request\AuthTokenRequest;
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
use Opdavies\Glassboxx\Tests\TestCase;
use Symfony\Component\HttpClient\MockHttpClient;
use Symfony\Contracts\HttpClient\ResponseInterface;

View file

@ -2,11 +2,11 @@
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
namespace Opdavies\Glassboxx\Tests\Request;
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;
use Opdavies\Glassboxx\Request\CustomerRequest;
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
use Opdavies\Glassboxx\Tests\TestCase;
use Opdavies\Glassboxx\Traits\UsesCreatedAtTrait;
use Opdavies\Glassboxx\ValueObject\CustomerInterface;
use Symfony\Component\HttpClient\MockHttpClient;

View file

@ -2,11 +2,11 @@
declare(strict_types=1);
namespace Opdavies\Glassboxx\Tests\Glassboxx\Request;
namespace Opdavies\Glassboxx\Tests\Request;
use DateTime;
use Opdavies\Glassboxx\Request\OrderRequest;
use Opdavies\Glassboxx\Tests\Glassboxx\TestCase;
use Opdavies\Glassboxx\Tests\TestCase;
use Opdavies\Glassboxx\ValueObject\OrderItemInterface;
use Symfony\Component\HttpClient\MockHttpClient;
use Symfony\Contracts\HttpClient\ResponseInterface;

View file

@ -1,6 +1,6 @@
<?php
namespace Opdavies\Glassboxx\Tests\Glassboxx;
namespace Opdavies\Glassboxx\Tests;
use Opdavies\Glassboxx\Config;
use Opdavies\Glassboxx\Request\AuthTokenRequestInterface;

View file

@ -2,9 +2,9 @@
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;
final class CustomerTest extends TestCase

View file

@ -2,9 +2,9 @@
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\CustomerInterface;
use Opdavies\Glassboxx\ValueObject\Order;