mirror of
https://github.com/Respect/Validation.git
synced 2024-06-26 17:20:16 +02:00
Set up "squizlabs/php_codesniffer"
The tool we used to verify whether the code base has the correct coding
standard was removed [1].
This commit will set up one that works best for us and will also make
sure we have fully compliant to PS1 and PSR2.
[1]: ffec95acda
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
parent
2b86e5443e
commit
b7043b2652
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,7 +1,8 @@
|
||||||
.php_cs.cache
|
|
||||||
.couscous/
|
.couscous/
|
||||||
|
.phpcs.cache
|
||||||
composer.lock
|
composer.lock
|
||||||
Makefile
|
Makefile
|
||||||
|
phpcs.xml
|
||||||
phpstan.neon
|
phpstan.neon
|
||||||
phpunit.xml
|
phpunit.xml
|
||||||
vendor/
|
vendor/
|
||||||
|
|
|
@ -34,6 +34,10 @@ script:
|
||||||
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
|
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
|
||||||
vendor/bin/docheader check library tests
|
vendor/bin/docheader check library tests
|
||||||
fi
|
fi
|
||||||
|
- |
|
||||||
|
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
|
||||||
|
vendor/bin/phpcs
|
||||||
|
fi
|
||||||
- |
|
- |
|
||||||
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
|
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
|
||||||
vendor/bin/phpstan analyze
|
vendor/bin/phpstan analyze
|
||||||
|
|
|
@ -11,6 +11,9 @@
|
||||||
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
|
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"config": {
|
||||||
|
"sort-packages": true
|
||||||
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.1",
|
"php": ">=7.1",
|
||||||
"respect/stringifier": "^0.2.0",
|
"respect/stringifier": "^0.2.0",
|
||||||
|
@ -22,6 +25,7 @@
|
||||||
"mikey179/vfsStream": "^1.6",
|
"mikey179/vfsStream": "^1.6",
|
||||||
"phpstan/phpstan": "^0.10.3",
|
"phpstan/phpstan": "^0.10.3",
|
||||||
"phpunit/phpunit": "^7.3",
|
"phpunit/phpunit": "^7.3",
|
||||||
|
"squizlabs/php_codesniffer": "^3.4",
|
||||||
"symfony/validator": "^3.0||^4.0",
|
"symfony/validator": "^3.0||^4.0",
|
||||||
"zendframework/zend-validator": "^2.0"
|
"zendframework/zend-validator": "^2.0"
|
||||||
},
|
},
|
||||||
|
@ -51,12 +55,14 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docheader": "vendor/bin/docheader check library/ tests/",
|
"docheader": "vendor/bin/docheader check library/ tests/",
|
||||||
|
"phpcs": "vendor/bin/phpcs",
|
||||||
"phpstan": "vendor/bin/phpstan analyze",
|
"phpstan": "vendor/bin/phpstan analyze",
|
||||||
"phpunit": "vendor/bin/phpunit",
|
"phpunit": "vendor/bin/phpunit",
|
||||||
"phpunit-integration": "vendor/bin/phpunit --testsuite=integration",
|
"phpunit-integration": "vendor/bin/phpunit --testsuite=integration",
|
||||||
"phpunit-unit": "vendor/bin/phpunit --testsuite=unit",
|
"phpunit-unit": "vendor/bin/phpunit --testsuite=unit",
|
||||||
"qa": [
|
"qa": [
|
||||||
"@docheader",
|
"@docheader",
|
||||||
|
"@phpcs",
|
||||||
"@phpstan",
|
"@phpstan",
|
||||||
"@phpunit"
|
"@phpunit"
|
||||||
]
|
]
|
||||||
|
|
|
@ -78,8 +78,14 @@ final class Factory
|
||||||
array $exceptionsNamespaces,
|
array $exceptionsNamespaces,
|
||||||
callable $translator
|
callable $translator
|
||||||
) {
|
) {
|
||||||
$this->rulesNamespaces = $this->filterNamespaces($rulesNamespaces, self::DEFAULT_RULES_NAMESPACES);
|
$this->rulesNamespaces = $this->filterNamespaces(
|
||||||
$this->exceptionsNamespaces = $this->filterNamespaces($exceptionsNamespaces, self::DEFAULT_EXCEPTIONS_NAMESPACES);
|
$rulesNamespaces,
|
||||||
|
self::DEFAULT_RULES_NAMESPACES
|
||||||
|
);
|
||||||
|
$this->exceptionsNamespaces = $this->filterNamespaces(
|
||||||
|
$exceptionsNamespaces,
|
||||||
|
self::DEFAULT_EXCEPTIONS_NAMESPACES
|
||||||
|
);
|
||||||
$this->translator = $translator;
|
$this->translator = $translator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,8 +239,12 @@ final class Factory
|
||||||
*
|
*
|
||||||
* @return ValidationException
|
* @return ValidationException
|
||||||
*/
|
*/
|
||||||
private function createValidationException(string $exceptionName, string $id, $input, array $params): ValidationException
|
private function createValidationException(
|
||||||
{
|
string $exceptionName,
|
||||||
|
string $id,
|
||||||
|
$input,
|
||||||
|
array $params
|
||||||
|
): ValidationException {
|
||||||
/* @var ValidationException $exception */
|
/* @var ValidationException $exception */
|
||||||
$exception = $this->createReflectionClass($exceptionName, ValidationException::class)
|
$exception = $this->createReflectionClass($exceptionName, ValidationException::class)
|
||||||
->newInstance($input, $id, $params, $this->translator);
|
->newInstance($input, $id, $params, $this->translator);
|
||||||
|
|
|
@ -17,7 +17,9 @@ use ArrayAccess;
|
||||||
use SimpleXMLElement;
|
use SimpleXMLElement;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Validates if the input is an array or if the input can be used as an array (instance of `ArrayAccess` or `SimpleXMLElement`).
|
* Validates if the input is an array or if the input can be used as an array.
|
||||||
|
*
|
||||||
|
* Instance of `ArrayAccess` or `SimpleXMLElement` are also considered as valid.
|
||||||
*
|
*
|
||||||
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
* @author Alexandre Gomes Gaigalas <alexandre@gaigalas.net>
|
||||||
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
* @author Emmerson Siqueira <emmersonsiqueira@gmail.com>
|
||||||
|
|
|
@ -50,13 +50,19 @@ final class Cnpj extends AbstractRule
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 0, $n = 0; $i < 12; $n += $cleanInput[$i] * $b[++$i]);
|
$n = 0;
|
||||||
|
for ($i = 0; $i < 12; ++$i) {
|
||||||
|
$n += $cleanInput[$i] * $b[$i+1];
|
||||||
|
}
|
||||||
|
|
||||||
if ($cleanInput[12] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
if ($cleanInput[12] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($i = 0, $n = 0; $i <= 12; $n += $cleanInput[$i] * $b[$i++]);
|
$n = 0;
|
||||||
|
for ($i = 0; $i <= 12; ++$i) {
|
||||||
|
$n += $cleanInput[$i] * $b[$i];
|
||||||
|
}
|
||||||
|
|
||||||
if ($cleanInput[13] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
if ($cleanInput[13] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -41,13 +41,19 @@ final class Cpf extends AbstractRule
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($s = 10, $n = 0, $i = 0; $s >= 2; $n += $c[$i++] * $s--);
|
$n = 0;
|
||||||
|
for ($s = 10, $i = 0; $s >= 2; ++$i, --$s) {
|
||||||
|
$n += $c[$i] * $s;
|
||||||
|
}
|
||||||
|
|
||||||
if ($c[9] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
if ($c[9] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for ($s = 11, $n = 0, $i = 0; $s >= 2; $n += $c[$i++] * $s--);
|
$n = 0;
|
||||||
|
for ($s = 11, $i = 0; $s >= 2; ++$i, --$s) {
|
||||||
|
$n += $c[$i] * $s;
|
||||||
|
}
|
||||||
|
|
||||||
if ($c[10] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
if ($c[10] != ((($n %= 11) < 2) ? 0 : 11 - $n)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -39,6 +39,6 @@ final class AdSubdivisionCode extends AbstractSearcher
|
||||||
'06', // Sant Julia de Lòria
|
'06', // Sant Julia de Lòria
|
||||||
'07', // Andorra la Vella
|
'07', // Andorra la Vella
|
||||||
'08', // Escaldes-Engordany
|
'08', // Escaldes-Engordany
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,6 @@ final class AeSubdivisionCode extends AbstractSearcher
|
||||||
'RK', // R'as al Khaymah
|
'RK', // R'as al Khaymah
|
||||||
'SH', // Ash Shariqah
|
'SH', // Ash Shariqah
|
||||||
'UQ', // Umm al Qaywayn
|
'UQ', // Umm al Qaywayn
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,6 @@ final class AfSubdivisionCode extends AbstractSearcher
|
||||||
'URU', // Uruzgān province
|
'URU', // Uruzgān province
|
||||||
'WAR', // Wardak province
|
'WAR', // Wardak province
|
||||||
'ZAB', // Zabol province
|
'ZAB', // Zabol province
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,6 @@ final class AgSubdivisionCode extends AbstractSearcher
|
||||||
'08', // Saint Philip
|
'08', // Saint Philip
|
||||||
'10', // Barbuda
|
'10', // Barbuda
|
||||||
'11', // Redonda
|
'11', // Redonda
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,6 @@ final class AlSubdivisionCode extends AbstractSearcher
|
||||||
'TP', // Tropoje
|
'TP', // Tropoje
|
||||||
'TR', // Tirane
|
'TR', // Tirane
|
||||||
'VL', // Vlore
|
'VL', // Vlore
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@ final class AmSubdivisionCode extends AbstractSearcher
|
||||||
'SU', // Syunik'
|
'SU', // Syunik'
|
||||||
'TV', // Tavush
|
'TV', // Tavush
|
||||||
'VD', // Vayots' Dzor
|
'VD', // Vayots' Dzor
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ final class AoSubdivisionCode extends AbstractSearcher
|
||||||
'NAM', // Namibe
|
'NAM', // Namibe
|
||||||
'UIG', // Uige
|
'UIG', // Uige
|
||||||
'ZAI', // Zaire
|
'ZAI', // Zaire
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,6 @@ final class ArSubdivisionCode extends AbstractSearcher
|
||||||
'X', // Cordoba
|
'X', // Cordoba
|
||||||
'Y', // Jujuy
|
'Y', // Jujuy
|
||||||
'Z', // Santa Cruz
|
'Z', // Santa Cruz
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,6 @@ final class AsSubdivisionCode extends AbstractSearcher
|
||||||
'R', // Rose Island
|
'R', // Rose Island
|
||||||
'S', // Swains Island
|
'S', // Swains Island
|
||||||
'W', // Western
|
'W', // Western
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,6 @@ final class AtSubdivisionCode extends AbstractSearcher
|
||||||
'7', // Tirol
|
'7', // Tirol
|
||||||
'8', // Vorarlberg
|
'8', // Vorarlberg
|
||||||
'9', // Wien
|
'9', // Wien
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,6 @@ final class AuSubdivisionCode extends AbstractSearcher
|
||||||
'TAS', // Tasmania
|
'TAS', // Tasmania
|
||||||
'VIC', // Victoria
|
'VIC', // Victoria
|
||||||
'WA', // Western Australia
|
'WA', // Western Australia
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -110,6 +110,6 @@ final class AzSubdivisionCode extends AbstractSearcher
|
||||||
'ZAN', // Zangilan
|
'ZAN', // Zangilan
|
||||||
'ZAQ', // Zaqatala
|
'ZAQ', // Zaqatala
|
||||||
'ZAR', // Zardab
|
'ZAR', // Zardab
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,6 @@ final class BaSubdivisionCode extends AbstractSearcher
|
||||||
'BIH', // Federacija Bosna i Hercegovina
|
'BIH', // Federacija Bosna i Hercegovina
|
||||||
'BRC', // Brcko District
|
'BRC', // Brcko District
|
||||||
'SRP', // Republika Srpska
|
'SRP', // Republika Srpska
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@ final class BbSubdivisionCode extends AbstractSearcher
|
||||||
'09', // Saint Peter
|
'09', // Saint Peter
|
||||||
'10', // Saint Philip
|
'10', // Saint Philip
|
||||||
'11', // Saint Thomas
|
'11', // Saint Thomas
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,6 +104,6 @@ final class BdSubdivisionCode extends AbstractSearcher
|
||||||
'F', // Rangpur
|
'F', // Rangpur
|
||||||
'G', // Sylhet
|
'G', // Sylhet
|
||||||
'H', // Mymensingh Division
|
'H', // Mymensingh Division
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,6 @@ final class BeSubdivisionCode extends AbstractSearcher
|
||||||
'WLG', // Liege
|
'WLG', // Liege
|
||||||
'WLX', // Luxembourg
|
'WLX', // Luxembourg
|
||||||
'WNA', // Namur
|
'WNA', // Namur
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -90,6 +90,6 @@ final class BfSubdivisionCode extends AbstractSearcher
|
||||||
'ZIR', // Ziro
|
'ZIR', // Ziro
|
||||||
'ZON', // Zondoma
|
'ZON', // Zondoma
|
||||||
'ZOU', // Zoundweogo
|
'ZOU', // Zoundweogo
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,6 +60,6 @@ final class BgSubdivisionCode extends AbstractSearcher
|
||||||
'26', // Khaskovo
|
'26', // Khaskovo
|
||||||
'27', // Shumen
|
'27', // Shumen
|
||||||
'28', // Yambol
|
'28', // Yambol
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class BhSubdivisionCode extends AbstractSearcher
|
||||||
'14', // Southern
|
'14', // Southern
|
||||||
'15', // Muharraq
|
'15', // Muharraq
|
||||||
'17', // Northern
|
'17', // Northern
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ final class BiSubdivisionCode extends AbstractSearcher
|
||||||
'RM', // Rumonge
|
'RM', // Rumonge
|
||||||
'RT', // Rutana
|
'RT', // Rutana
|
||||||
'RY', // Ruyigi
|
'RY', // Ruyigi
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,6 @@ final class BjSubdivisionCode extends AbstractSearcher
|
||||||
'OU', // Oueme
|
'OU', // Oueme
|
||||||
'PL', // Plateau
|
'PL', // Plateau
|
||||||
'ZO', // Zou
|
'ZO', // Zou
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@ final class BmSubdivisionCode extends AbstractSearcher
|
||||||
'SH', // Southampton
|
'SH', // Southampton
|
||||||
'SM', // Smith's
|
'SM', // Smith's
|
||||||
'WA', // Warwick
|
'WA', // Warwick
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class BnSubdivisionCode extends AbstractSearcher
|
||||||
'BM', // Brunei and Muara
|
'BM', // Brunei and Muara
|
||||||
'TE', // Temburong
|
'TE', // Temburong
|
||||||
'TU', // Tutong
|
'TU', // Tutong
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,6 @@ final class BoSubdivisionCode extends AbstractSearcher
|
||||||
'P', // Departmento Potosi
|
'P', // Departmento Potosi
|
||||||
'S', // Departmento Santa Cruz
|
'S', // Departmento Santa Cruz
|
||||||
'T', // Departmento Tarija
|
'T', // Departmento Tarija
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,6 @@ final class BqSubdivisionCode extends AbstractSearcher
|
||||||
'BO', // Bonaire
|
'BO', // Bonaire
|
||||||
'SA', // Saba
|
'SA', // Saba
|
||||||
'SE', // Sint Eustatius
|
'SE', // Sint Eustatius
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,6 +59,6 @@ final class BrSubdivisionCode extends AbstractSearcher
|
||||||
'SE', // Sergipe
|
'SE', // Sergipe
|
||||||
'SP', // Sao Paulo
|
'SP', // Sao Paulo
|
||||||
'TO', // Tocantins
|
'TO', // Tocantins
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,6 +64,6 @@ final class BsSubdivisionCode extends AbstractSearcher
|
||||||
'SS', // San Salvador
|
'SS', // San Salvador
|
||||||
'SW', // Spanish Wells
|
'SW', // Spanish Wells
|
||||||
'WG', // West Grand Bahama
|
'WG', // West Grand Bahama
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,6 +52,6 @@ final class BtSubdivisionCode extends AbstractSearcher
|
||||||
'45', // Samdrup Jongkhar
|
'45', // Samdrup Jongkhar
|
||||||
'GA', // Gasa
|
'GA', // Gasa
|
||||||
'TY', // Trashi Yangste
|
'TY', // Trashi Yangste
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,6 @@ final class BwSubdivisionCode extends AbstractSearcher
|
||||||
'SO', // Southern
|
'SO', // Southern
|
||||||
'SP', // Selibe Phikwe
|
'SP', // Selibe Phikwe
|
||||||
'ST', // Sowa Town
|
'ST', // Sowa Town
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,6 @@ final class BySubdivisionCode extends AbstractSearcher
|
||||||
'MA', // Mahilyow voblast
|
'MA', // Mahilyow voblast
|
||||||
'MI', // Minsk voblast
|
'MI', // Minsk voblast
|
||||||
'VI', // Vitsebsk voblast
|
'VI', // Vitsebsk voblast
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class BzSubdivisionCode extends AbstractSearcher
|
||||||
'OW', // Orange Walk District
|
'OW', // Orange Walk District
|
||||||
'SC', // Stann Creek District
|
'SC', // Stann Creek District
|
||||||
'TOL', // Toledo District
|
'TOL', // Toledo District
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,6 +45,6 @@ final class CaSubdivisionCode extends AbstractSearcher
|
||||||
'QC', // Quebec
|
'QC', // Quebec
|
||||||
'SK', // Saskatchewan
|
'SK', // Saskatchewan
|
||||||
'YT', // Yukon Territory
|
'YT', // Yukon Territory
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,6 @@ final class CcSubdivisionCode extends AbstractSearcher
|
||||||
'O', // Horsburgh Island
|
'O', // Horsburgh Island
|
||||||
'S', // South Island
|
'S', // South Island
|
||||||
'W', // West Island
|
'W', // West Island
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,6 @@ final class CdSubdivisionCode extends AbstractSearcher
|
||||||
'TA', // Tanganyika
|
'TA', // Tanganyika
|
||||||
'TO', // Tshopo
|
'TO', // Tshopo
|
||||||
'TU', // Tshuapa
|
'TU', // Tshuapa
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,6 @@ final class CfSubdivisionCode extends AbstractSearcher
|
||||||
'SE', // Sangha-Mbaere
|
'SE', // Sangha-Mbaere
|
||||||
'UK', // Ouaka
|
'UK', // Ouaka
|
||||||
'VK', // Vakaga
|
'VK', // Vakaga
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,6 @@ final class CgSubdivisionCode extends AbstractSearcher
|
||||||
'8', // Cuvette
|
'8', // Cuvette
|
||||||
'9', // Niari
|
'9', // Niari
|
||||||
'BZV', // Brazzaville
|
'BZV', // Brazzaville
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,6 +58,6 @@ final class ChSubdivisionCode extends AbstractSearcher
|
||||||
'VS', // Valais
|
'VS', // Valais
|
||||||
'ZG', // Zug
|
'ZG', // Zug
|
||||||
'ZH', // Zurich
|
'ZH', // Zurich
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,6 +46,6 @@ final class CiSubdivisionCode extends AbstractSearcher
|
||||||
'WR', // Woroba
|
'WR', // Woroba
|
||||||
'YM', // Yamoussoukro Autonomous District
|
'YM', // Yamoussoukro Autonomous District
|
||||||
'ZZ', // Zanzan
|
'ZZ', // Zanzan
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,6 @@ final class CkSubdivisionCode extends AbstractSearcher
|
||||||
'RR', // Rarotonga
|
'RR', // Rarotonga
|
||||||
'SU', // Surwarrow
|
'SU', // Surwarrow
|
||||||
'TA', // Takutea
|
'TA', // Takutea
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,6 @@ final class ClSubdivisionCode extends AbstractSearcher
|
||||||
'RM', // Region Metropolitana (RM)
|
'RM', // Region Metropolitana (RM)
|
||||||
'TA', // Tarapaca (I)
|
'TA', // Tarapaca (I)
|
||||||
'VS', // Valparaiso (V)
|
'VS', // Valparaiso (V)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@ final class CmSubdivisionCode extends AbstractSearcher
|
||||||
'OU', // West Province (Ouest)
|
'OU', // West Province (Ouest)
|
||||||
'SU', // South Province (Sud)
|
'SU', // South Province (Sud)
|
||||||
'SW', // Southwest Province (Sud-Ouest).
|
'SW', // Southwest Province (Sud-Ouest).
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,6 +66,6 @@ final class CnSubdivisionCode extends AbstractSearcher
|
||||||
'XZ', // Xizang Zìzhìqu (Tibet)
|
'XZ', // Xizang Zìzhìqu (Tibet)
|
||||||
'YN', // Yunnan
|
'YN', // Yunnan
|
||||||
'ZJ', // Zhejiang
|
'ZJ', // Zhejiang
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,6 @@ final class CoSubdivisionCode extends AbstractSearcher
|
||||||
'VAC', // Valle del Cauca
|
'VAC', // Valle del Cauca
|
||||||
'VAU', // Vaupes
|
'VAU', // Vaupes
|
||||||
'VID', // Vichada
|
'VID', // Vichada
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,6 @@ final class CrSubdivisionCode extends AbstractSearcher
|
||||||
'L', // Limon
|
'L', // Limon
|
||||||
'P', // Puntarenas
|
'P', // Puntarenas
|
||||||
'SJ', // San Jose
|
'SJ', // San Jose
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class CsSubdivisionCode extends AbstractSearcher
|
||||||
'MON', // Montenegro
|
'MON', // Montenegro
|
||||||
'SER', // Serbia
|
'SER', // Serbia
|
||||||
'VOJ', // Vojvodina
|
'VOJ', // Vojvodina
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,6 @@ final class CuSubdivisionCode extends AbstractSearcher
|
||||||
'15', // Artemisa
|
'15', // Artemisa
|
||||||
'16', // Mayabeque
|
'16', // Mayabeque
|
||||||
'99', // Isla de la Juventud
|
'99', // Isla de la Juventud
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,6 @@ final class CvSubdivisionCode extends AbstractSearcher
|
||||||
'SV', // Sao Vicente
|
'SV', // Sao Vicente
|
||||||
'TA', // Tarrafal
|
'TA', // Tarrafal
|
||||||
'TS', // Tarrafal de São Nicolau
|
'TS', // Tarrafal de São Nicolau
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class CySubdivisionCode extends AbstractSearcher
|
||||||
'04', // Ammóchostos
|
'04', // Ammóchostos
|
||||||
'05', // Páfos
|
'05', // Páfos
|
||||||
'06', // Kerýneia
|
'06', // Kerýneia
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -144,6 +144,6 @@ final class CzSubdivisionCode extends AbstractSearcher
|
||||||
'804', // Nový Jičín
|
'804', // Nový Jičín
|
||||||
'805', // Opava
|
'805', // Opava
|
||||||
'806', // Ostrava - město
|
'806', // Ostrava - město
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -48,6 +48,6 @@ final class DeSubdivisionCode extends AbstractSearcher
|
||||||
'SN', // Sachsen
|
'SN', // Sachsen
|
||||||
'ST', // Sachsen-Anhalt
|
'ST', // Sachsen-Anhalt
|
||||||
'TH', // Thüringen
|
'TH', // Thüringen
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class DjSubdivisionCode extends AbstractSearcher
|
||||||
'DJ', // Djibouti
|
'DJ', // Djibouti
|
||||||
'OB', // Obock
|
'OB', // Obock
|
||||||
'TA', // Tadjoura
|
'TA', // Tadjoura
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,6 +37,6 @@ final class DkSubdivisionCode extends AbstractSearcher
|
||||||
'83', // Region Syddanmark
|
'83', // Region Syddanmark
|
||||||
'84', // Region Hovedstaden
|
'84', // Region Hovedstaden
|
||||||
'85', // Region Sjæland
|
'85', // Region Sjæland
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@ final class DmSubdivisionCode extends AbstractSearcher
|
||||||
'09', // Saint Patrick Parish
|
'09', // Saint Patrick Parish
|
||||||
'10', // Saint Paul Parish
|
'10', // Saint Paul Parish
|
||||||
'11', // Saint Peter Parish
|
'11', // Saint Peter Parish
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -64,6 +64,6 @@ final class DoSubdivisionCode extends AbstractSearcher
|
||||||
'30', // Hato Mayor
|
'30', // Hato Mayor
|
||||||
'31', // San Jose de Ocoa
|
'31', // San Jose de Ocoa
|
||||||
'32', // Santo Domingo
|
'32', // Santo Domingo
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,6 @@ final class DzSubdivisionCode extends AbstractSearcher
|
||||||
'46', // Ain Temouchent
|
'46', // Ain Temouchent
|
||||||
'47', // Ghardaia
|
'47', // Ghardaia
|
||||||
'48', // Relizane
|
'48', // Relizane
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,6 +56,6 @@ final class EcSubdivisionCode extends AbstractSearcher
|
||||||
'X', // Cotopaxi
|
'X', // Cotopaxi
|
||||||
'Y', // Pastaza
|
'Y', // Pastaza
|
||||||
'Z', // Zamora-Chinchipe
|
'Z', // Zamora-Chinchipe
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,6 @@ final class EeSubdivisionCode extends AbstractSearcher
|
||||||
'82', // Valga County
|
'82', // Valga County
|
||||||
'84', // Viljandi County
|
'84', // Viljandi County
|
||||||
'86', // Võru County
|
'86', // Võru County
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -59,6 +59,6 @@ final class EgSubdivisionCode extends AbstractSearcher
|
||||||
'SIN', // Shamal Sina'
|
'SIN', // Shamal Sina'
|
||||||
'SUZ', // As Suways
|
'SUZ', // As Suways
|
||||||
'WAD', // Al Wadi al Jadid
|
'WAD', // Al Wadi al Jadid
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class ErSubdivisionCode extends AbstractSearcher
|
||||||
'GB', // Gash-Barka (Barentu)
|
'GB', // Gash-Barka (Barentu)
|
||||||
'MA', // Central (Maekel)
|
'MA', // Central (Maekel)
|
||||||
'SK', // Northern Red Sea (Semien-Keih-Bahri)
|
'SK', // Northern Red Sea (Semien-Keih-Bahri)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,6 +101,6 @@ final class EsSubdivisionCode extends AbstractSearcher
|
||||||
'VI', // Álava
|
'VI', // Álava
|
||||||
'Z', // Zaragoza
|
'Z', // Zaragoza
|
||||||
'ZA', // Zamora
|
'ZA', // Zamora
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,6 @@ final class EtSubdivisionCode extends AbstractSearcher
|
||||||
'SN', // Southern Nations - Nationalities and Peoples Region
|
'SN', // Southern Nations - Nationalities and Peoples Region
|
||||||
'SO', // Somali
|
'SO', // Somali
|
||||||
'TI', // Tigray
|
'TI', // Tigray
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,6 @@ final class FiSubdivisionCode extends AbstractSearcher
|
||||||
'17', // Satakunta [Finnish and Swedish]
|
'17', // Satakunta [Finnish and Swedish]
|
||||||
'18', // Uusimaa [Finnish] / Nyland [Swedish]
|
'18', // Uusimaa [Finnish] / Nyland [Swedish]
|
||||||
'19', // Varsinais-Suomi [Finnish] / Egentliga Finland [Swedish]
|
'19', // Varsinais-Suomi [Finnish] / Egentliga Finland [Swedish]
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,6 +51,6 @@ final class FjSubdivisionCode extends AbstractSearcher
|
||||||
'N', // Northern Division
|
'N', // Northern Division
|
||||||
'R', // Rotuma
|
'R', // Rotuma
|
||||||
'W', // Western Division
|
'W', // Western Division
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class FmSubdivisionCode extends AbstractSearcher
|
||||||
'PNI', // Pohnpei
|
'PNI', // Pohnpei
|
||||||
'TRK', // Chuuk
|
'TRK', // Chuuk
|
||||||
'YAP', // Yap
|
'YAP', // Yap
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -157,6 +157,6 @@ final class FrSubdivisionCode extends AbstractSearcher
|
||||||
'TF', // Terres Australes Françaises (see also separate ISO 3166-1 entry under TF)
|
'TF', // Terres Australes Françaises (see also separate ISO 3166-1 entry under TF)
|
||||||
'WF', // Wallis et Futuna (see also separate ISO 3166-1 entry under WF)
|
'WF', // Wallis et Futuna (see also separate ISO 3166-1 entry under WF)
|
||||||
'YT', // Mayotte (see also separate ISO 3166-1 entry under YT)
|
'YT', // Mayotte (see also separate ISO 3166-1 entry under YT)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,6 @@ final class GaSubdivisionCode extends AbstractSearcher
|
||||||
'7', // Ogooue-Lolo
|
'7', // Ogooue-Lolo
|
||||||
'8', // Ogooue-Maritime
|
'8', // Ogooue-Maritime
|
||||||
'9', // Woleu-Ntem
|
'9', // Woleu-Ntem
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -253,6 +253,6 @@ final class GbSubdivisionCode extends AbstractSearcher
|
||||||
'WSX', // West Sussex
|
'WSX', // West Sussex
|
||||||
'YOR', // York
|
'YOR', // York
|
||||||
'ZET', // Shetland Islands
|
'ZET', // Shetland Islands
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,6 @@ final class GdSubdivisionCode extends AbstractSearcher
|
||||||
'05', // Saint Mark
|
'05', // Saint Mark
|
||||||
'06', // Saint Patrick
|
'06', // Saint Patrick
|
||||||
'10', // Southern Grenadine Islands
|
'10', // Southern Grenadine Islands
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,6 @@ final class GeSubdivisionCode extends AbstractSearcher
|
||||||
'SK', // Shida Kartli
|
'SK', // Shida Kartli
|
||||||
'SZ', // Samegrelo-Zemo Svaneti
|
'SZ', // Samegrelo-Zemo Svaneti
|
||||||
'TB', // Tbilisi
|
'TB', // Tbilisi
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@ final class GhSubdivisionCode extends AbstractSearcher
|
||||||
'UE', // Upper East Region
|
'UE', // Upper East Region
|
||||||
'UW', // Upper West Region
|
'UW', // Upper West Region
|
||||||
'WP', // Western Region
|
'WP', // Western Region
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class GlSubdivisionCode extends AbstractSearcher
|
||||||
'QA', // Qaasuitsup
|
'QA', // Qaasuitsup
|
||||||
'QE', // Qeqqata
|
'QE', // Qeqqata
|
||||||
'SM', // Sermersooq
|
'SM', // Sermersooq
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class GmSubdivisionCode extends AbstractSearcher
|
||||||
'N', // North Bank
|
'N', // North Bank
|
||||||
'U', // Upper River
|
'U', // Upper River
|
||||||
'W', // Western
|
'W', // Western
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,6 +73,6 @@ final class GnSubdivisionCode extends AbstractSearcher
|
||||||
'TE', // Telimele
|
'TE', // Telimele
|
||||||
'TO', // Tougue
|
'TO', // Tougue
|
||||||
'YO', // Yomou
|
'YO', // Yomou
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,6 @@ final class GqSubdivisionCode extends AbstractSearcher
|
||||||
'KN', // Provincia Kie-Ntem
|
'KN', // Provincia Kie-Ntem
|
||||||
'LI', // Provincia Litoral
|
'LI', // Provincia Litoral
|
||||||
'WN', // Provincia Wele-Nzas
|
'WN', // Provincia Wele-Nzas
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,6 @@ final class GrSubdivisionCode extends AbstractSearcher
|
||||||
'K', // Voreio Aigaio
|
'K', // Voreio Aigaio
|
||||||
'L', // Notio Aigaio
|
'L', // Notio Aigaio
|
||||||
'M', // Kriti
|
'M', // Kriti
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -54,6 +54,6 @@ final class GtSubdivisionCode extends AbstractSearcher
|
||||||
'SU', // Suchitepequez
|
'SU', // Suchitepequez
|
||||||
'TO', // Totonicapan
|
'TO', // Totonicapan
|
||||||
'ZA', // Zacapa
|
'ZA', // Zacapa
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,6 @@ final class GwSubdivisionCode extends AbstractSearcher
|
||||||
'QU', // Quinara Region
|
'QU', // Quinara Region
|
||||||
'S', // Sul
|
'S', // Sul
|
||||||
'TO', // Tombali Region
|
'TO', // Tombali Region
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@ final class GySubdivisionCode extends AbstractSearcher
|
||||||
'PT', // Potaro-Siparuni
|
'PT', // Potaro-Siparuni
|
||||||
'UD', // Upper Demerara-Berbice
|
'UD', // Upper Demerara-Berbice
|
||||||
'UT', // Upper Takutu-Upper Essequibo
|
'UT', // Upper Takutu-Upper Essequibo
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ final class HkSubdivisionCode extends AbstractSearcher
|
||||||
'NTP', // Tai Po New Territories
|
'NTP', // Tai Po New Territories
|
||||||
'NTW', // Tsuen Wan New Territories
|
'NTW', // Tsuen Wan New Territories
|
||||||
'NYL', // Yuen Long New Territories
|
'NYL', // Yuen Long New Territories
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,6 @@ final class HmSubdivisionCode extends AbstractSearcher
|
||||||
'H', // Heard Island
|
'H', // Heard Island
|
||||||
'M', // McDonald Island
|
'M', // McDonald Island
|
||||||
'S', // Shag Island
|
'S', // Shag Island
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ final class HnSubdivisionCode extends AbstractSearcher
|
||||||
'SB', // Santa Barbara
|
'SB', // Santa Barbara
|
||||||
'VA', // Valle
|
'VA', // Valle
|
||||||
'YO', // Yoro
|
'YO', // Yoro
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,6 @@ final class HrSubdivisionCode extends AbstractSearcher
|
||||||
'19', // Dubrovnik-Neretva county
|
'19', // Dubrovnik-Neretva county
|
||||||
'20', // Medjimurje county
|
'20', // Medjimurje county
|
||||||
'21', // Zagreb (city)
|
'21', // Zagreb (city)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,6 @@ final class HtSubdivisionCode extends AbstractSearcher
|
||||||
'OU', // Ouest
|
'OU', // Ouest
|
||||||
'SD', // Sud
|
'SD', // Sud
|
||||||
'SE', // Sud-Est
|
'SE', // Sud-Est
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,6 +75,6 @@ final class HuSubdivisionCode extends AbstractSearcher
|
||||||
'VM', // Veszprém
|
'VM', // Veszprém
|
||||||
'ZA', // Zala megye
|
'ZA', // Zala megye
|
||||||
'ZE', // Zalaegerszeg
|
'ZE', // Zalaegerszeg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -73,6 +73,6 @@ final class IdSubdivisionCode extends AbstractSearcher
|
||||||
'ST', // Sulawesi Tengah
|
'ST', // Sulawesi Tengah
|
||||||
'SU', // Sumatera Utara
|
'SU', // Sumatera Utara
|
||||||
'YO', // Yogyakarta
|
'YO', // Yogyakarta
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,6 +61,6 @@ final class IeSubdivisionCode extends AbstractSearcher
|
||||||
'WH', // Westmeath
|
'WH', // Westmeath
|
||||||
'WW', // Wicklow
|
'WW', // Wicklow
|
||||||
'WX', // Wexford
|
'WX', // Wexford
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,6 +38,6 @@ final class IlSubdivisionCode extends AbstractSearcher
|
||||||
'M', // Central
|
'M', // Central
|
||||||
'TA', // Tel Aviv
|
'TA', // Tel Aviv
|
||||||
'Z', // Northern
|
'Z', // Northern
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -68,6 +68,6 @@ final class InSubdivisionCode extends AbstractSearcher
|
||||||
'UP', // Uttar Pradesh
|
'UP', // Uttar Pradesh
|
||||||
'UT', // Uttarakhand
|
'UT', // Uttarakhand
|
||||||
'WB', // West Bengal
|
'WB', // West Bengal
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,6 @@ final class IoSubdivisionCode extends AbstractSearcher
|
||||||
'PB', // Peros Banhos
|
'PB', // Peros Banhos
|
||||||
'SI', // Salomon Islands
|
'SI', // Salomon Islands
|
||||||
'TB', // Three Brothers
|
'TB', // Three Brothers
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ final class IqSubdivisionCode extends AbstractSearcher
|
||||||
'SD', // Salah ad Din
|
'SD', // Salah ad Din
|
||||||
'SU', // As Sulaymānīyah
|
'SU', // As Sulaymānīyah
|
||||||
'WA', // Wasit
|
'WA', // Wasit
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,6 +63,6 @@ final class IrSubdivisionCode extends AbstractSearcher
|
||||||
'30', // Razavi Khorasan
|
'30', // Razavi Khorasan
|
||||||
'31', // North Khorasan
|
'31', // North Khorasan
|
||||||
'32', // Alborz
|
'32', // Alborz
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,6 +40,6 @@ final class IsSubdivisionCode extends AbstractSearcher
|
||||||
'6', // Norðurland Eystra
|
'6', // Norðurland Eystra
|
||||||
'7', // Austurland
|
'7', // Austurland
|
||||||
'8', // Suðurland
|
'8', // Suðurland
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -158,6 +158,6 @@ final class ItSubdivisionCode extends AbstractSearcher
|
||||||
'VR', // Verona
|
'VR', // Verona
|
||||||
'VT', // Viterbo
|
'VT', // Viterbo
|
||||||
'VV', // Vibo Valentia
|
'VV', // Vibo Valentia
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue