Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
The PostalCodeHelper was moved to commerceguys/addressing.
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanz committed Apr 20, 2017
1 parent 36fe2e8 commit 14f9086
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 142 deletions.
2 changes: 1 addition & 1 deletion src/Model/ZoneMemberCountry.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace CommerceGuys\Zone\Model;

use CommerceGuys\Addressing\AddressInterface;
use CommerceGuys\Zone\PostalCodeHelper;
use CommerceGuys\Addressing\PostalCodeHelper;

/**
* Matches a country, its subdivisions and postal codes.
Expand Down
82 changes: 0 additions & 82 deletions src/PostalCodeHelper.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/Model/ZoneMemberCountryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function testExcludedPostalCodes()
* @uses \CommerceGuys\Zone\Model\ZoneMemberCountry::setDependentLocality
* @uses \CommerceGuys\Zone\Model\ZoneMemberCountry::setIncludedPostalCodes
* @uses \CommerceGuys\Zone\Model\ZoneMemberCountry::setExcludedPostalCodes
* @uses \CommerceGuys\Zone\PostalCodeHelper
* @uses \CommerceGuys\Addressing\PostalCodeHelper
* @dataProvider addressProvider
*/
public function testMatch($address, $expectedResult)
Expand Down
56 changes: 0 additions & 56 deletions tests/PostalCodeHelperTest.php

This file was deleted.

4 changes: 2 additions & 2 deletions tests/Repository/ZoneRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function testConstructor()
* @uses \CommerceGuys\Zone\Model\ZoneMember
* @uses \CommerceGuys\Zone\Model\ZoneMemberCountry
* @uses \CommerceGuys\Zone\Model\ZoneMemberZone
* @uses \CommerceGuys\Zone\PostalCodeHelper
* @uses \CommerceGuys\Addressing\PostalCodeHelper
* @depends testConstructor
*/
public function testGet($zoneRepository)
Expand Down Expand Up @@ -153,7 +153,7 @@ public function testGetNonExistingZone($zoneRepository)
* @uses \CommerceGuys\Zone\Model\ZoneMember
* @uses \CommerceGuys\Zone\Model\ZoneMemberCountry
* @uses \CommerceGuys\Zone\Model\ZoneMemberZone
* @uses \CommerceGuys\Zone\PostalCodeHelper
* @uses \CommerceGuys\Addressing\PostalCodeHelper
* @depends testConstructor
*/
public function testGetAll($zoneRepository)
Expand Down

0 comments on commit 14f9086

Please sign in to comment.