Skip to content

Commit

Permalink
Merge pull request #344 from henriquemoody/country
Browse files Browse the repository at this point in the history
Remove "Country" rule
  • Loading branch information
henriquemoody committed Apr 24, 2015
2 parents 1b757b3 + cf4ec32 commit 54f6a21
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 451 deletions.
31 changes: 0 additions & 31 deletions docs/Country.md

This file was deleted.

2 changes: 0 additions & 2 deletions docs/CountryCode.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# CountryCode

This is going to be deprecated, please use [Country](Country.md) instead.

- `v::countryCode()`

Validates an ISO country code like US or BR.
Expand Down
2 changes: 1 addition & 1 deletion docs/Tld.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ v::tld()->validate('org'); //true
See also

* [Domain](Domain.md)
* [Country](Country.md)
* [CountryCode](CountryCode.md)
1 change: 0 additions & 1 deletion docs/VALIDATORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@

## Regional

* [Country](Country.md)
* [CountryCode](CountryCode.md)
* [PostalCode](PostalCode.md)
* [Tld](Tld.md)
Expand Down
15 changes: 0 additions & 15 deletions library/Exceptions/CountryException.php

This file was deleted.

317 changes: 0 additions & 317 deletions library/Rules/Country.php

This file was deleted.

1 change: 0 additions & 1 deletion library/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
* @method static Validator cnpj()
* @method static Validator consonant(string $additionalChars = null)
* @method static Validator contains(mixed $containsValue, bool $identical = false)
* @method static Validator country(string $set = 'alpha-2')
* @method static Validator countryCode()
* @method static Validator cpf()
* @method static Validator creditCard()
Expand Down
Loading

0 comments on commit 54f6a21

Please sign in to comment.