Skip to content

Commit

Permalink
Merge country code and country code short
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsFrank committed Mar 22, 2023
1 parent d8afc71 commit d12f90f
Show file tree
Hide file tree
Showing 20 changed files with 20 additions and 1,452 deletions.
2 changes: 1 addition & 1 deletion dev/DataSource/CountryShort/CountryAlpha2Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace PrinsFrank\Standards\Dev\DataSource\CountryShort;

use PrinsFrank\Standards\CountryShort\CountryAlpha2;
use PrinsFrank\Standards\Country\CountryAlpha2;
use PrinsFrank\Standards\Dev\DataSource\Country\ISO3166_1_Alpha_2_Source;

class CountryAlpha2Source extends ISO3166_1_Alpha_2_Source
Expand Down
2 changes: 1 addition & 1 deletion dev/DataSource/CountryShort/CountryAlpha3Source.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace PrinsFrank\Standards\Dev\DataSource\CountryShort;

use PrinsFrank\Standards\CountryShort\CountryAlpha3;
use PrinsFrank\Standards\Country\CountryAlpha3;
use PrinsFrank\Standards\Dev\DataSource\Country\ISO3166_1_Alpha_3_Source;

class CountryAlpha3Source extends ISO3166_1_Alpha_3_Source
Expand Down
2 changes: 1 addition & 1 deletion dev/DataSource/CountryShort/CountryNameSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace PrinsFrank\Standards\Dev\DataSource\CountryShort;

use PrinsFrank\Standards\CountryShort\CountryName;
use PrinsFrank\Standards\Country\CountryName;
use PrinsFrank\Standards\Dev\DataSource\Country\ISO3166_1_Name_Source;

class CountryNameSource extends ISO3166_1_Name_Source
Expand Down
2 changes: 1 addition & 1 deletion dev/DataSource/CountryShort/CountryNumericSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace PrinsFrank\Standards\Dev\DataSource\CountryShort;

use PrinsFrank\Standards\CountryShort\CountryNumeric;
use PrinsFrank\Standards\Country\CountryNumeric;
use PrinsFrank\Standards\Dev\DataSource\Country\ISO3166_1_Numeric_Source;

class CountryNumericSource extends ISO3166_1_Numeric_Source
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\CountryShort;
namespace PrinsFrank\Standards\Country;

use PrinsFrank\Standards\BackedEnum;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\CountryShort;
namespace PrinsFrank\Standards\Country;

use PrinsFrank\Standards\BackedEnum;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\CountryShort;
namespace PrinsFrank\Standards\Country;

use PrinsFrank\Standards\BackedEnum;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\CountryShort;
namespace PrinsFrank\Standards\Country;

use PrinsFrank\Standards\BackedEnum;

Expand Down
282 changes: 0 additions & 282 deletions src/Country/ISO3166_1_Alpha_2.php

This file was deleted.

282 changes: 0 additions & 282 deletions src/Country/ISO3166_1_Alpha_3.php

This file was deleted.

277 changes: 0 additions & 277 deletions src/Country/ISO3166_1_Name.php

This file was deleted.

292 changes: 0 additions & 292 deletions src/Country/ISO3166_1_Numeric.php

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\Tests\Unit\CountryShort;
namespace PrinsFrank\Standards\Tests\Unit\Country;

use PHPUnit\Framework\TestCase;
use PrinsFrank\Standards\CountryShort\CountryAlpha2;
use PrinsFrank\Standards\Country\CountryAlpha2;
use TypeError;

/**
* @coversDefaultClass \PrinsFrank\Standards\CountryShort\CountryAlpha2
* @coversDefaultClass \PrinsFrank\Standards\Country\CountryAlpha2
*/
class CountryAlpha2Test extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\Tests\Unit\CountryShort;
namespace PrinsFrank\Standards\Tests\Unit\Country;

use PHPUnit\Framework\TestCase;
use PrinsFrank\Standards\CountryShort\CountryAlpha3;
use PrinsFrank\Standards\Country\CountryAlpha3;
use TypeError;

/**
* @coversDefaultClass \PrinsFrank\Standards\CountryShort\CountryAlpha3
* @coversDefaultClass \PrinsFrank\Standards\Country\CountryAlpha3
*/
class CountryAlpha3Test extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\Tests\Unit\CountryShort;
namespace PrinsFrank\Standards\Tests\Unit\Country;

use PHPUnit\Framework\TestCase;
use PrinsFrank\Standards\CountryShort\CountryName;
use PrinsFrank\Standards\Country\CountryName;
use TypeError;

/**
* @coversDefaultClass \PrinsFrank\Standards\CountryShort\CountryName
* @coversDefaultClass \PrinsFrank\Standards\Country\CountryName
*/
class CountryNameTest extends TestCase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?php
declare(strict_types=1);

namespace PrinsFrank\Standards\Tests\Unit\CountryShort;
namespace PrinsFrank\Standards\Tests\Unit\Country;

use PHPUnit\Framework\TestCase;
use PrinsFrank\Standards\CountryShort\CountryNumeric;
use PrinsFrank\Standards\Country\CountryNumeric;
use TypeError;
use ValueError;

/**
* @coversDefaultClass \PrinsFrank\Standards\CountryShort\CountryNumeric
* @coversDefaultClass \PrinsFrank\Standards\Country\CountryNumeric
*/
class CountryNumericTest extends TestCase
{
Expand Down
70 changes: 0 additions & 70 deletions tests/Unit/Country/ISO3166_1_Alpha_2Test.php

This file was deleted.

70 changes: 0 additions & 70 deletions tests/Unit/Country/ISO3166_1_Alpha_3Test.php

This file was deleted.

62 changes: 0 additions & 62 deletions tests/Unit/Country/ISO3166_1_NameTest.php

This file was deleted.

Loading

0 comments on commit d12f90f

Please sign in to comment.