Skip to content

Commit 54f6a21

Browse files
committed
Merge pull request #344 from henriquemoody/country
Remove "Country" rule
2 parents 1b757b3 + cf4ec32 commit 54f6a21

File tree

8 files changed

+1
-451
lines changed

8 files changed

+1
-451
lines changed

docs/Country.md

-31
This file was deleted.

docs/CountryCode.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# CountryCode
22

3-
This is going to be deprecated, please use [Country](Country.md) instead.
4-
53
- `v::countryCode()`
64

75
Validates an ISO country code like US or BR.

docs/Tld.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ v::tld()->validate('org'); //true
1313
See also
1414

1515
* [Domain](Domain.md)
16-
* [Country](Country.md)
16+
* [CountryCode](CountryCode.md)

docs/VALIDATORS.md

-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117

118118
## Regional
119119

120-
* [Country](Country.md)
121120
* [CountryCode](CountryCode.md)
122121
* [PostalCode](PostalCode.md)
123122
* [Tld](Tld.md)

library/Exceptions/CountryException.php

-15
This file was deleted.

library/Rules/Country.php

-317
This file was deleted.

library/Validator.php

-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
* @method static Validator cnpj()
3030
* @method static Validator consonant(string $additionalChars = null)
3131
* @method static Validator contains(mixed $containsValue, bool $identical = false)
32-
* @method static Validator country(string $set = 'alpha-2')
3332
* @method static Validator countryCode()
3433
* @method static Validator cpf()
3534
* @method static Validator creditCard()

0 commit comments

Comments
 (0)