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:
Henrique Moody 2019-02-03 18:58:30 +01:00
parent 2b86e5443e
commit b7043b2652
No known key found for this signature in database
GPG key ID: 221E9281655813A6
237 changed files with 390 additions and 280 deletions

3
.gitignore vendored
View file

@ -1,7 +1,8 @@
.php_cs.cache
.couscous/
.phpcs.cache
composer.lock
Makefile
phpcs.xml
phpstan.neon
phpunit.xml
vendor/

View file

@ -34,6 +34,10 @@ script:
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
vendor/bin/docheader check library tests
fi
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
vendor/bin/phpcs
fi
- |
if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then
vendor/bin/phpstan analyze

View file

@ -11,6 +11,9 @@
"homepage": "https://github.com/Respect/Validation/graphs/contributors"
}
],
"config": {
"sort-packages": true
},
"require": {
"php": ">=7.1",
"respect/stringifier": "^0.2.0",
@ -22,6 +25,7 @@
"mikey179/vfsStream": "^1.6",
"phpstan/phpstan": "^0.10.3",
"phpunit/phpunit": "^7.3",
"squizlabs/php_codesniffer": "^3.4",
"symfony/validator": "^3.0||^4.0",
"zendframework/zend-validator": "^2.0"
},
@ -51,12 +55,14 @@
},
"scripts": {
"docheader": "vendor/bin/docheader check library/ tests/",
"phpcs": "vendor/bin/phpcs",
"phpstan": "vendor/bin/phpstan analyze",
"phpunit": "vendor/bin/phpunit",
"phpunit-integration": "vendor/bin/phpunit --testsuite=integration",
"phpunit-unit": "vendor/bin/phpunit --testsuite=unit",
"qa": [
"@docheader",
"@phpcs",
"@phpstan",
"@phpunit"
]

View file

@ -78,8 +78,14 @@ final class Factory
array $exceptionsNamespaces,
callable $translator
) {
$this->rulesNamespaces = $this->filterNamespaces($rulesNamespaces, self::DEFAULT_RULES_NAMESPACES);
$this->exceptionsNamespaces = $this->filterNamespaces($exceptionsNamespaces, self::DEFAULT_EXCEPTIONS_NAMESPACES);
$this->rulesNamespaces = $this->filterNamespaces(
$rulesNamespaces,
self::DEFAULT_RULES_NAMESPACES
);
$this->exceptionsNamespaces = $this->filterNamespaces(
$exceptionsNamespaces,
self::DEFAULT_EXCEPTIONS_NAMESPACES
);
$this->translator = $translator;
}
@ -233,8 +239,12 @@ final class Factory
*
* @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 */
$exception = $this->createReflectionClass($exceptionName, ValidationException::class)
->newInstance($input, $id, $params, $this->translator);

View file

@ -17,7 +17,9 @@ use ArrayAccess;
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 Emmerson Siqueira <emmersonsiqueira@gmail.com>

View file

@ -50,13 +50,19 @@ final class Cnpj extends AbstractRule
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)) {
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)) {
return false;

View file

@ -41,13 +41,19 @@ final class Cpf extends AbstractRule
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)) {
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)) {
return false;

View file

@ -39,6 +39,6 @@ final class AdSubdivisionCode extends AbstractSearcher
'06', // Sant Julia de Lòria
'07', // Andorra la Vella
'08', // Escaldes-Engordany
];
];
}
}

View file

@ -39,6 +39,6 @@ final class AeSubdivisionCode extends AbstractSearcher
'RK', // R'as al Khaymah
'SH', // Ash Shariqah
'UQ', // Umm al Qaywayn
];
];
}
}

View file

@ -66,6 +66,6 @@ final class AfSubdivisionCode extends AbstractSearcher
'URU', // Uruzgān province
'WAR', // Wardak province
'ZAB', // Zabol province
];
];
}
}

View file

@ -40,6 +40,6 @@ final class AgSubdivisionCode extends AbstractSearcher
'08', // Saint Philip
'10', // Barbuda
'11', // Redonda
];
];
}
}

View file

@ -80,6 +80,6 @@ final class AlSubdivisionCode extends AbstractSearcher
'TP', // Tropoje
'TR', // Tirane
'VL', // Vlore
];
];
}
}

View file

@ -43,6 +43,6 @@ final class AmSubdivisionCode extends AbstractSearcher
'SU', // Syunik'
'TV', // Tavush
'VD', // Vayots' Dzor
];
];
}
}

View file

@ -50,6 +50,6 @@ final class AoSubdivisionCode extends AbstractSearcher
'NAM', // Namibe
'UIG', // Uige
'ZAI', // Zaire
];
];
}
}

View file

@ -56,6 +56,6 @@ final class ArSubdivisionCode extends AbstractSearcher
'X', // Cordoba
'Y', // Jujuy
'Z', // Santa Cruz
];
];
}
}

View file

@ -37,6 +37,6 @@ final class AsSubdivisionCode extends AbstractSearcher
'R', // Rose Island
'S', // Swains Island
'W', // Western
];
];
}
}

View file

@ -41,6 +41,6 @@ final class AtSubdivisionCode extends AbstractSearcher
'7', // Tirol
'8', // Vorarlberg
'9', // Wien
];
];
}
}

View file

@ -40,6 +40,6 @@ final class AuSubdivisionCode extends AbstractSearcher
'TAS', // Tasmania
'VIC', // Victoria
'WA', // Western Australia
];
];
}
}

View file

@ -110,6 +110,6 @@ final class AzSubdivisionCode extends AbstractSearcher
'ZAN', // Zangilan
'ZAQ', // Zaqatala
'ZAR', // Zardab
];
];
}
}

View file

@ -45,6 +45,6 @@ final class BaSubdivisionCode extends AbstractSearcher
'BIH', // Federacija Bosna i Hercegovina
'BRC', // Brcko District
'SRP', // Republika Srpska
];
];
}
}

View file

@ -43,6 +43,6 @@ final class BbSubdivisionCode extends AbstractSearcher
'09', // Saint Peter
'10', // Saint Philip
'11', // Saint Thomas
];
];
}
}

View file

@ -104,6 +104,6 @@ final class BdSubdivisionCode extends AbstractSearcher
'F', // Rangpur
'G', // Sylhet
'H', // Mymensingh Division
];
];
}
}

View file

@ -45,6 +45,6 @@ final class BeSubdivisionCode extends AbstractSearcher
'WLG', // Liege
'WLX', // Luxembourg
'WNA', // Namur
];
];
}
}

View file

@ -90,6 +90,6 @@ final class BfSubdivisionCode extends AbstractSearcher
'ZIR', // Ziro
'ZON', // Zondoma
'ZOU', // Zoundweogo
];
];
}
}

View file

@ -60,6 +60,6 @@ final class BgSubdivisionCode extends AbstractSearcher
'26', // Khaskovo
'27', // Shumen
'28', // Yambol
];
];
}
}

View file

@ -36,6 +36,6 @@ final class BhSubdivisionCode extends AbstractSearcher
'14', // Southern
'15', // Muharraq
'17', // Northern
];
];
}
}

View file

@ -50,6 +50,6 @@ final class BiSubdivisionCode extends AbstractSearcher
'RM', // Rumonge
'RT', // Rutana
'RY', // Ruyigi
];
];
}
}

View file

@ -44,6 +44,6 @@ final class BjSubdivisionCode extends AbstractSearcher
'OU', // Oueme
'PL', // Plateau
'ZO', // Zou
];
];
}
}

View file

@ -43,6 +43,6 @@ final class BmSubdivisionCode extends AbstractSearcher
'SH', // Southampton
'SM', // Smith's
'WA', // Warwick
];
];
}
}

View file

@ -36,6 +36,6 @@ final class BnSubdivisionCode extends AbstractSearcher
'BM', // Brunei and Muara
'TE', // Temburong
'TU', // Tutong
];
];
}
}

View file

@ -41,6 +41,6 @@ final class BoSubdivisionCode extends AbstractSearcher
'P', // Departmento Potosi
'S', // Departmento Santa Cruz
'T', // Departmento Tarija
];
];
}
}

View file

@ -35,6 +35,6 @@ final class BqSubdivisionCode extends AbstractSearcher
'BO', // Bonaire
'SA', // Saba
'SE', // Sint Eustatius
];
];
}
}

View file

@ -59,6 +59,6 @@ final class BrSubdivisionCode extends AbstractSearcher
'SE', // Sergipe
'SP', // Sao Paulo
'TO', // Tocantins
];
];
}
}

View file

@ -64,6 +64,6 @@ final class BsSubdivisionCode extends AbstractSearcher
'SS', // San Salvador
'SW', // Spanish Wells
'WG', // West Grand Bahama
];
];
}
}

View file

@ -52,6 +52,6 @@ final class BtSubdivisionCode extends AbstractSearcher
'45', // Samdrup Jongkhar
'GA', // Gasa
'TY', // Trashi Yangste
];
];
}
}

View file

@ -48,6 +48,6 @@ final class BwSubdivisionCode extends AbstractSearcher
'SO', // Southern
'SP', // Selibe Phikwe
'ST', // Sowa Town
];
];
}
}

View file

@ -39,6 +39,6 @@ final class BySubdivisionCode extends AbstractSearcher
'MA', // Mahilyow voblast
'MI', // Minsk voblast
'VI', // Vitsebsk voblast
];
];
}
}

View file

@ -38,6 +38,6 @@ final class BzSubdivisionCode extends AbstractSearcher
'OW', // Orange Walk District
'SC', // Stann Creek District
'TOL', // Toledo District
];
];
}
}

View file

@ -45,6 +45,6 @@ final class CaSubdivisionCode extends AbstractSearcher
'QC', // Quebec
'SK', // Saskatchewan
'YT', // Yukon Territory
];
];
}
}

View file

@ -37,6 +37,6 @@ final class CcSubdivisionCode extends AbstractSearcher
'O', // Horsburgh Island
'S', // South Island
'W', // West Island
];
];
}
}

View file

@ -58,6 +58,6 @@ final class CdSubdivisionCode extends AbstractSearcher
'TA', // Tanganyika
'TO', // Tshopo
'TU', // Tshuapa
];
];
}
}

View file

@ -49,6 +49,6 @@ final class CfSubdivisionCode extends AbstractSearcher
'SE', // Sangha-Mbaere
'UK', // Ouaka
'VK', // Vakaga
];
];
}
}

View file

@ -44,6 +44,6 @@ final class CgSubdivisionCode extends AbstractSearcher
'8', // Cuvette
'9', // Niari
'BZV', // Brazzaville
];
];
}
}

View file

@ -58,6 +58,6 @@ final class ChSubdivisionCode extends AbstractSearcher
'VS', // Valais
'ZG', // Zug
'ZH', // Zurich
];
];
}
}

View file

@ -46,6 +46,6 @@ final class CiSubdivisionCode extends AbstractSearcher
'WR', // Woroba
'YM', // Yamoussoukro Autonomous District
'ZZ', // Zanzan
];
];
}
}

View file

@ -47,6 +47,6 @@ final class CkSubdivisionCode extends AbstractSearcher
'RR', // Rarotonga
'SU', // Surwarrow
'TA', // Takutea
];
];
}
}

View file

@ -47,6 +47,6 @@ final class ClSubdivisionCode extends AbstractSearcher
'RM', // Region Metropolitana (RM)
'TA', // Tarapaca (I)
'VS', // Valparaiso (V)
];
];
}
}

View file

@ -42,6 +42,6 @@ final class CmSubdivisionCode extends AbstractSearcher
'OU', // West Province (Ouest)
'SU', // South Province (Sud)
'SW', // Southwest Province (Sud-Ouest).
];
];
}
}

View file

@ -66,6 +66,6 @@ final class CnSubdivisionCode extends AbstractSearcher
'XZ', // Xizang Zìzhìqu (Tibet)
'YN', // Yunnan
'ZJ', // Zhejiang
];
];
}
}

View file

@ -65,6 +65,6 @@ final class CoSubdivisionCode extends AbstractSearcher
'VAC', // Valle del Cauca
'VAU', // Vaupes
'VID', // Vichada
];
];
}
}

View file

@ -39,6 +39,6 @@ final class CrSubdivisionCode extends AbstractSearcher
'L', // Limon
'P', // Puntarenas
'SJ', // San Jose
];
];
}
}

View file

@ -36,6 +36,6 @@ final class CsSubdivisionCode extends AbstractSearcher
'MON', // Montenegro
'SER', // Serbia
'VOJ', // Vojvodina
];
];
}
}

View file

@ -48,6 +48,6 @@ final class CuSubdivisionCode extends AbstractSearcher
'15', // Artemisa
'16', // Mayabeque
'99', // Isla de la Juventud
];
];
}
}

View file

@ -56,6 +56,6 @@ final class CvSubdivisionCode extends AbstractSearcher
'SV', // Sao Vicente
'TA', // Tarrafal
'TS', // Tarrafal de São Nicolau
];
];
}
}

View file

@ -38,6 +38,6 @@ final class CySubdivisionCode extends AbstractSearcher
'04', // Ammóchostos
'05', // Páfos
'06', // Kerýneia
];
];
}
}

View file

@ -144,6 +144,6 @@ final class CzSubdivisionCode extends AbstractSearcher
'804', // Nový Jičín
'805', // Opava
'806', // Ostrava - město
];
];
}
}

View file

@ -48,6 +48,6 @@ final class DeSubdivisionCode extends AbstractSearcher
'SN', // Sachsen
'ST', // Sachsen-Anhalt
'TH', // Thüringen
];
];
}
}

View file

@ -38,6 +38,6 @@ final class DjSubdivisionCode extends AbstractSearcher
'DJ', // Djibouti
'OB', // Obock
'TA', // Tadjoura
];
];
}
}

View file

@ -37,6 +37,6 @@ final class DkSubdivisionCode extends AbstractSearcher
'83', // Region Syddanmark
'84', // Region Hovedstaden
'85', // Region Sjæland
];
];
}
}

View file

@ -42,6 +42,6 @@ final class DmSubdivisionCode extends AbstractSearcher
'09', // Saint Patrick Parish
'10', // Saint Paul Parish
'11', // Saint Peter Parish
];
];
}
}

View file

@ -64,6 +64,6 @@ final class DoSubdivisionCode extends AbstractSearcher
'30', // Hato Mayor
'31', // San Jose de Ocoa
'32', // Santo Domingo
];
];
}
}

View file

@ -80,6 +80,6 @@ final class DzSubdivisionCode extends AbstractSearcher
'46', // Ain Temouchent
'47', // Ghardaia
'48', // Relizane
];
];
}
}

View file

@ -56,6 +56,6 @@ final class EcSubdivisionCode extends AbstractSearcher
'X', // Cotopaxi
'Y', // Pastaza
'Z', // Zamora-Chinchipe
];
];
}
}

View file

@ -47,6 +47,6 @@ final class EeSubdivisionCode extends AbstractSearcher
'82', // Valga County
'84', // Viljandi County
'86', // Võru County
];
];
}
}

View file

@ -59,6 +59,6 @@ final class EgSubdivisionCode extends AbstractSearcher
'SIN', // Shamal Sina'
'SUZ', // As Suways
'WAD', // Al Wadi al Jadid
];
];
}
}

View file

@ -38,6 +38,6 @@ final class ErSubdivisionCode extends AbstractSearcher
'GB', // Gash-Barka (Barentu)
'MA', // Central (Maekel)
'SK', // Northern Red Sea (Semien-Keih-Bahri)
];
];
}
}

View file

@ -101,6 +101,6 @@ final class EsSubdivisionCode extends AbstractSearcher
'VI', // Álava
'Z', // Zaragoza
'ZA', // Zamora
];
];
}
}

View file

@ -43,6 +43,6 @@ final class EtSubdivisionCode extends AbstractSearcher
'SN', // Southern Nations - Nationalities and Peoples Region
'SO', // Somali
'TI', // Tigray
];
];
}
}

View file

@ -51,6 +51,6 @@ final class FiSubdivisionCode extends AbstractSearcher
'17', // Satakunta [Finnish and Swedish]
'18', // Uusimaa [Finnish] / Nyland [Swedish]
'19', // Varsinais-Suomi [Finnish] / Egentliga Finland [Swedish]
];
];
}
}

View file

@ -51,6 +51,6 @@ final class FjSubdivisionCode extends AbstractSearcher
'N', // Northern Division
'R', // Rotuma
'W', // Western Division
];
];
}
}

View file

@ -36,6 +36,6 @@ final class FmSubdivisionCode extends AbstractSearcher
'PNI', // Pohnpei
'TRK', // Chuuk
'YAP', // Yap
];
];
}
}

View file

@ -157,6 +157,6 @@ final class FrSubdivisionCode extends AbstractSearcher
'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)
'YT', // Mayotte (see also separate ISO 3166-1 entry under YT)
];
];
}
}

View file

@ -41,6 +41,6 @@ final class GaSubdivisionCode extends AbstractSearcher
'7', // Ogooue-Lolo
'8', // Ogooue-Maritime
'9', // Woleu-Ntem
];
];
}
}

View file

@ -253,6 +253,6 @@ final class GbSubdivisionCode extends AbstractSearcher
'WSX', // West Sussex
'YOR', // York
'ZET', // Shetland Islands
];
];
}
}

View file

@ -39,6 +39,6 @@ final class GdSubdivisionCode extends AbstractSearcher
'05', // Saint Mark
'06', // Saint Patrick
'10', // Southern Grenadine Islands
];
];
}
}

View file

@ -44,6 +44,6 @@ final class GeSubdivisionCode extends AbstractSearcher
'SK', // Shida Kartli
'SZ', // Samegrelo-Zemo Svaneti
'TB', // Tbilisi
];
];
}
}

View file

@ -42,6 +42,6 @@ final class GhSubdivisionCode extends AbstractSearcher
'UE', // Upper East Region
'UW', // Upper West Region
'WP', // Western Region
];
];
}
}

View file

@ -36,6 +36,6 @@ final class GlSubdivisionCode extends AbstractSearcher
'QA', // Qaasuitsup
'QE', // Qeqqata
'SM', // Sermersooq
];
];
}
}

View file

@ -38,6 +38,6 @@ final class GmSubdivisionCode extends AbstractSearcher
'N', // North Bank
'U', // Upper River
'W', // Western
];
];
}
}

View file

@ -73,6 +73,6 @@ final class GnSubdivisionCode extends AbstractSearcher
'TE', // Telimele
'TO', // Tougue
'YO', // Yomou
];
];
}
}

View file

@ -41,6 +41,6 @@ final class GqSubdivisionCode extends AbstractSearcher
'KN', // Provincia Kie-Ntem
'LI', // Provincia Litoral
'WN', // Provincia Wele-Nzas
];
];
}
}

View file

@ -97,6 +97,6 @@ final class GrSubdivisionCode extends AbstractSearcher
'K', // Voreio Aigaio
'L', // Notio Aigaio
'M', // Kriti
];
];
}
}

View file

@ -54,6 +54,6 @@ final class GtSubdivisionCode extends AbstractSearcher
'SU', // Suchitepequez
'TO', // Totonicapan
'ZA', // Zacapa
];
];
}
}

View file

@ -44,6 +44,6 @@ final class GwSubdivisionCode extends AbstractSearcher
'QU', // Quinara Region
'S', // Sul
'TO', // Tombali Region
];
];
}
}

View file

@ -42,6 +42,6 @@ final class GySubdivisionCode extends AbstractSearcher
'PT', // Potaro-Siparuni
'UD', // Upper Demerara-Berbice
'UT', // Upper Takutu-Upper Essequibo
];
];
}
}

View file

@ -50,6 +50,6 @@ final class HkSubdivisionCode extends AbstractSearcher
'NTP', // Tai Po New Territories
'NTW', // Tsuen Wan New Territories
'NYL', // Yuen Long New Territories
];
];
}
}

View file

@ -36,6 +36,6 @@ final class HmSubdivisionCode extends AbstractSearcher
'H', // Heard Island
'M', // McDonald Island
'S', // Shag Island
];
];
}
}

View file

@ -50,6 +50,6 @@ final class HnSubdivisionCode extends AbstractSearcher
'SB', // Santa Barbara
'VA', // Valle
'YO', // Yoro
];
];
}
}

View file

@ -53,6 +53,6 @@ final class HrSubdivisionCode extends AbstractSearcher
'19', // Dubrovnik-Neretva county
'20', // Medjimurje county
'21', // Zagreb (city)
];
];
}
}

View file

@ -42,6 +42,6 @@ final class HtSubdivisionCode extends AbstractSearcher
'OU', // Ouest
'SD', // Sud
'SE', // Sud-Est
];
];
}
}

View file

@ -75,6 +75,6 @@ final class HuSubdivisionCode extends AbstractSearcher
'VM', // Veszprém
'ZA', // Zala megye
'ZE', // Zalaegerszeg
];
];
}
}

View file

@ -73,6 +73,6 @@ final class IdSubdivisionCode extends AbstractSearcher
'ST', // Sulawesi Tengah
'SU', // Sumatera Utara
'YO', // Yogyakarta
];
];
}
}

View file

@ -61,6 +61,6 @@ final class IeSubdivisionCode extends AbstractSearcher
'WH', // Westmeath
'WW', // Wicklow
'WX', // Wexford
];
];
}
}

View file

@ -38,6 +38,6 @@ final class IlSubdivisionCode extends AbstractSearcher
'M', // Central
'TA', // Tel Aviv
'Z', // Northern
];
];
}
}

View file

@ -68,6 +68,6 @@ final class InSubdivisionCode extends AbstractSearcher
'UP', // Uttar Pradesh
'UT', // Uttarakhand
'WB', // West Bengal
];
];
}
}

View file

@ -40,6 +40,6 @@ final class IoSubdivisionCode extends AbstractSearcher
'PB', // Peros Banhos
'SI', // Salomon Islands
'TB', // Three Brothers
];
];
}
}

View file

@ -50,6 +50,6 @@ final class IqSubdivisionCode extends AbstractSearcher
'SD', // Salah ad Din
'SU', // As Sulaymānīyah
'WA', // Wasit
];
];
}
}

View file

@ -63,6 +63,6 @@ final class IrSubdivisionCode extends AbstractSearcher
'30', // Razavi Khorasan
'31', // North Khorasan
'32', // Alborz
];
];
}
}

View file

@ -40,6 +40,6 @@ final class IsSubdivisionCode extends AbstractSearcher
'6', // Norðurland Eystra
'7', // Austurland
'8', // Suðurland
];
];
}
}

View file

@ -158,6 +158,6 @@ final class ItSubdivisionCode extends AbstractSearcher
'VR', // Verona
'VT', // Viterbo
'VV', // Vibo Valentia
];
];
}
}

Some files were not shown because too many files have changed in this diff Show more