Skip to content

Commit

Permalink
fix naming and directory
Browse files Browse the repository at this point in the history
  • Loading branch information
PSebou committed Nov 27, 2023
1 parent b7b43de commit 078fb6a
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 15 deletions.
4 changes: 2 additions & 2 deletions src/Country/Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout;
namespace PrestaShop\Module\PrestashopCheckout\Country;

use PrestaShop\Module\PrestashopCheckout\Exception\CountryException;
use PrestaShop\Module\PrestashopCheckout\Country\Exception\CountryException;

class Country
{
Expand Down
4 changes: 3 additions & 1 deletion src/Country/Exception/CountryException.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout\Exception;
namespace PrestaShop\Module\PrestashopCheckout\Country\Exception;

use PrestaShop\Module\PrestashopCheckout\Exception\PsCheckoutException;

class CountryException extends PsCheckoutException
{
Expand Down
4 changes: 2 additions & 2 deletions src/Currency/Currency.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout;
namespace PrestaShop\Module\PrestashopCheckout\Currency;

use PrestaShop\Module\PrestashopCheckout\Exception\CurrencyException;
use PrestaShop\Module\PrestashopCheckout\Currency\Exception\CurrencyException;

class Currency
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout\Exception;
namespace PrestaShop\Module\PrestashopCheckout\Currency\Exception;

use PrestaShop\Module\PrestashopCheckout\Exception\PsCheckoutException;

class CurrencyException extends PsCheckoutException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout\Exception;
namespace PrestaShop\Module\PrestashopCheckout\Locale\Exception;

use PrestaShop\Module\PrestashopCheckout\Exception\PsCheckoutException;

class LocaleException extends PsCheckoutException
{
Expand Down
4 changes: 2 additions & 2 deletions src/Locale/Locale.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/

namespace PrestaShop\Module\PrestashopCheckout;
namespace PrestaShop\Module\PrestashopCheckout\Locale;

use PrestaShop\Module\PrestashopCheckout\Exception\LocaleException;
use PrestaShop\Module\PrestashopCheckout\Locale\Exception\LocaleException;

class Locale
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

namespace PrestaShop\Module\PrestashopCheckout;
namespace Tests\Unit\Country;

use PHPUnit\Framework\TestCase;
use PrestaShop\Module\PrestashopCheckout\Exception\CountryException;
use PrestaShop\Module\PrestashopCheckout\Country\Country;
use PrestaShop\Module\PrestashopCheckout\Country\Exception\CountryException;

class CountryTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

namespace PrestaShop\Module\PrestashopCheckout;
namespace Tests\Unit\Currency;

use PHPUnit\Framework\TestCase;
use PrestaShop\Module\PrestashopCheckout\Exception\CurrencyException;
use PrestaShop\Module\PrestashopCheckout\Currency\Currency;
use PrestaShop\Module\PrestashopCheckout\Currency\Exception\CurrencyException;

class CurrencyTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

namespace PrestaShop\Module\PrestashopCheckout;
namespace Tests\Unit\Locale;

use PHPUnit\Framework\TestCase;
use PrestaShop\Module\PrestashopCheckout\Exception\LocaleException;
use PrestaShop\Module\PrestashopCheckout\Locale\Exception\LocaleException;
use PrestaShop\Module\PrestashopCheckout\Locale\Locale;

class LocaleTest extends TestCase
{
Expand Down

0 comments on commit 078fb6a

Please sign in to comment.