From c7d1547e487ab07d783e01bf38740c3fac21179c Mon Sep 17 00:00:00 2001 From: Deepak3642 Date: Mon, 11 Mar 2024 15:25:40 +0600 Subject: [PATCH 1/7] wp and php version added in main plugins doc --- cbxcareertoolkit.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cbxcareertoolkit.php b/cbxcareertoolkit.php index 71e9c5f..362ce36 100644 --- a/cbxcareertoolkit.php +++ b/cbxcareertoolkit.php @@ -12,6 +12,8 @@ * Plugin URI: https://github.com/codeboxrcodehub/cbxcareertoolkit/ * Description: Making Test Case For Development! * Version: 1.0.0 + * Requires at least: 3.7 + * Requires PHP: 7.4 * Author: Codeboxr * Author URI: https://codeboxr.com * License: GPL-2.0+ From 797186290c833eaf51d98de3925255543500c4b3 Mon Sep 17 00:00:00 2001 From: Deepak Deb nath <49678313+deepakdeb@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:29:17 +0600 Subject: [PATCH 2/7] Create README.md --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..8848d97 --- /dev/null +++ b/README.md @@ -0,0 +1,38 @@ +cbxjob + +All possible default params: + +wp cbxjob-generate --total=100 --status=publish --is-remote=0 + +--is-featured=1 --is-filled=0 --user-id=1 --salary-unit=monthly --currency=USD + + +total = number of jobs to be created. + +status options = [draft , pending , publish,unpublished,flag ] + +is-remote = [0,1] + +is-featured= [0,1] + +is-filled= [0,1] + +currency=[USD,BDT, etc] + +salary-unit =[yearly,monthly,yearly,daily] + +user-id = user ID +cbxresume + +wp cbxjresume-generate --total=100 --user-id=1 --status=1 --privacy=public --is-primary=1 + + +total = number of resume to be created. + +user-id= system user id + +status = [0=draft, 1=publish, 2=unpublished, 3=pending, 4=flag] + +privacy= [public,private] + +is-primary= [0,1] From b6765921a1a062fbf1c6d4ad82d0d1934b97c154 Mon Sep 17 00:00:00 2001 From: Deepak Deb nath <49678313+deepakdeb@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:30:47 +0600 Subject: [PATCH 3/7] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8848d97..00d8a91 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ currency=[USD,BDT, etc] salary-unit =[yearly,monthly,yearly,daily] user-id = user ID + + cbxresume wp cbxjresume-generate --total=100 --user-id=1 --status=1 --privacy=public --is-primary=1 From 23015e2dce10c7c576eb7312ddea15ecea239c29 Mon Sep 17 00:00:00 2001 From: Sabuj Kundu Date: Mon, 11 Mar 2024 16:47:49 +0600 Subject: [PATCH 4/7] some suggestion added --- cbxcareertoolkit.php | 46 +- composer.json | 2 +- includes/CBXCareertoolkit.php | 23 +- includes/Factories/Factory.php | 15 +- includes/Factories/Job/DummyJobGenerate.php | 84 +- .../Factories/Resume/DummyResumeGenerate.php | 444 +- includes/Hooks.php | 32 +- includes/PDUpdater.php | 184 +- lib/autoload.php | 32 +- lib/composer/ClassLoader.php | 1063 ++- lib/composer/InstalledVersions.php | 658 +- lib/composer/autoload_classmap.php | 10 +- lib/composer/autoload_files.php | 10 +- lib/composer/autoload_namespaces.php | 8 +- lib/composer/autoload_psr4.php | 14 +- lib/composer/autoload_real.php | 90 +- lib/composer/autoload_static.php | 96 +- lib/composer/installed.php | 100 +- lib/composer/platform_check.php | 36 +- lib/fakerphp/faker/rector-migrate.php | 302 +- .../faker/src/Faker/Calculator/Ean.php | 75 +- .../faker/src/Faker/Calculator/Iban.php | 119 +- .../faker/src/Faker/Calculator/Inn.php | 61 +- .../faker/src/Faker/Calculator/Isbn.php | 101 +- .../faker/src/Faker/Calculator/Luhn.php | 111 +- .../faker/src/Faker/Calculator/TCNo.php | 63 +- .../faker/src/Faker/ChanceGenerator.php | 89 +- .../faker/src/Faker/Container/Container.php | 258 +- .../src/Faker/Container/ContainerBuilder.php | 123 +- .../Faker/Container/ContainerException.php | 5 +- .../Faker/Container/ContainerInterface.php | 11 +- .../Container/NotInContainerException.php | 5 +- lib/fakerphp/faker/src/Faker/Core/Barcode.php | 60 +- lib/fakerphp/faker/src/Faker/Core/Blood.php | 58 +- lib/fakerphp/faker/src/Faker/Core/Color.php | 452 +- .../faker/src/Faker/Core/Coordinates.php | 115 +- .../faker/src/Faker/Core/DateTime.php | 424 +- lib/fakerphp/faker/src/Faker/Core/File.php | 1117 +-- lib/fakerphp/faker/src/Faker/Core/Number.php | 137 +- lib/fakerphp/faker/src/Faker/Core/Uuid.php | 96 +- lib/fakerphp/faker/src/Faker/Core/Version.php | 96 +- .../faker/src/Faker/DefaultGenerator.php | 67 +- lib/fakerphp/faker/src/Faker/Documentor.php | 107 +- .../src/Faker/Extension/AddressExtension.php | 51 +- .../src/Faker/Extension/BarcodeExtension.php | 59 +- .../src/Faker/Extension/BloodExtension.php | 39 +- .../src/Faker/Extension/ColorExtension.php | 109 +- .../src/Faker/Extension/CompanyExtension.php | 21 +- .../src/Faker/Extension/CountryExtension.php | 11 +- .../src/Faker/Extension/DateTimeExtension.php | 455 +- .../faker/src/Faker/Extension/Extension.php | 5 +- .../src/Faker/Extension/ExtensionNotFound.php | 5 +- .../src/Faker/Extension/FileExtension.php | 35 +- .../Extension/GeneratorAwareExtension.php | 17 +- .../GeneratorAwareExtensionTrait.php | 30 +- .../faker/src/Faker/Extension/Helper.php | 160 +- .../src/Faker/Extension/NumberExtension.php | 79 +- .../src/Faker/Extension/PersonExtension.php | 88 +- .../Faker/Extension/PhoneNumberExtension.php | 19 +- .../src/Faker/Extension/UuidExtension.php | 15 +- .../src/Faker/Extension/VersionExtension.php | 25 +- lib/fakerphp/faker/src/Faker/Factory.php | 126 +- lib/fakerphp/faker/src/Faker/Generator.php | 920 ++- lib/fakerphp/faker/src/Faker/Guesser/Name.php | 343 +- .../Faker/ORM/CakePHP/ColumnTypeGuesser.php | 121 +- .../src/Faker/ORM/CakePHP/EntityPopulator.php | 321 +- .../faker/src/Faker/ORM/CakePHP/Populator.php | 208 +- .../Faker/ORM/Doctrine/ColumnTypeGuesser.php | 159 +- .../Faker/ORM/Doctrine/EntityPopulator.php | 456 +- .../src/Faker/ORM/Doctrine/Populator.php | 220 +- .../ORM/Doctrine/backward-compatibility.php | 10 +- .../Faker/ORM/Mandango/ColumnTypeGuesser.php | 97 +- .../Faker/ORM/Mandango/EntityPopulator.php | 216 +- .../src/Faker/ORM/Mandango/Populator.php | 100 +- .../Faker/ORM/Propel/ColumnTypeGuesser.php | 205 +- .../src/Faker/ORM/Propel/EntityPopulator.php | 375 +- .../faker/src/Faker/ORM/Propel/Populator.php | 133 +- .../Faker/ORM/Propel2/ColumnTypeGuesser.php | 205 +- .../src/Faker/ORM/Propel2/EntityPopulator.php | 379 +- .../faker/src/Faker/ORM/Propel2/Populator.php | 133 +- .../src/Faker/ORM/Spot/ColumnTypeGuesser.php | 151 +- .../src/Faker/ORM/Spot/EntityPopulator.php | 357 +- .../faker/src/Faker/ORM/Spot/Populator.php | 133 +- .../faker/src/Faker/Provider/Address.php | 309 +- .../faker/src/Faker/Provider/Barcode.php | 164 +- .../faker/src/Faker/Provider/Base.php | 1371 ++-- .../faker/src/Faker/Provider/Biased.php | 107 +- .../faker/src/Faker/Provider/Color.php | 396 +- .../faker/src/Faker/Provider/Company.php | 86 +- .../faker/src/Faker/Provider/DateTime.php | 764 +- .../faker/src/Faker/Provider/File.php | 1208 +-- .../faker/src/Faker/Provider/HtmlLorem.php | 581 +- .../faker/src/Faker/Provider/Image.php | 382 +- .../faker/src/Faker/Provider/Internet.php | 1304 +++- .../faker/src/Faker/Provider/Lorem.php | 649 +- .../faker/src/Faker/Provider/Medical.php | 46 +- .../src/Faker/Provider/Miscellaneous.php | 1599 +++- .../faker/src/Faker/Provider/Payment.php | 611 +- .../faker/src/Faker/Provider/Person.php | 275 +- .../faker/src/Faker/Provider/PhoneNumber.php | 512 +- .../faker/src/Faker/Provider/Text.php | 383 +- .../faker/src/Faker/Provider/UserAgent.php | 423 +- .../faker/src/Faker/Provider/Uuid.php | 96 +- .../src/Faker/Provider/ar_EG/Address.php | 609 +- .../faker/src/Faker/Provider/ar_EG/Color.php | 130 +- .../src/Faker/Provider/ar_EG/Company.php | 139 +- .../src/Faker/Provider/ar_EG/Internet.php | 168 +- .../src/Faker/Provider/ar_EG/Payment.php | 20 +- .../faker/src/Faker/Provider/ar_EG/Person.php | 788 +- .../faker/src/Faker/Provider/ar_EG/Text.php | 32 +- .../src/Faker/Provider/ar_JO/Address.php | 602 +- .../src/Faker/Provider/ar_JO/Company.php | 106 +- .../src/Faker/Provider/ar_JO/Internet.php | 143 +- .../faker/src/Faker/Provider/ar_JO/Person.php | 1420 +++- .../faker/src/Faker/Provider/ar_JO/Text.php | 36 +- .../src/Faker/Provider/ar_SA/Address.php | 642 +- .../faker/src/Faker/Provider/ar_SA/Color.php | 523 +- .../src/Faker/Provider/ar_SA/Company.php | 147 +- .../src/Faker/Provider/ar_SA/Internet.php | 143 +- .../src/Faker/Provider/ar_SA/Payment.php | 32 +- .../faker/src/Faker/Provider/ar_SA/Person.php | 1157 ++- .../faker/src/Faker/Provider/ar_SA/Text.php | 36 +- .../src/Faker/Provider/at_AT/Payment.php | 3 +- .../src/Faker/Provider/bg_BG/Internet.php | 7 +- .../src/Faker/Provider/bg_BG/Payment.php | 75 +- .../faker/src/Faker/Provider/bg_BG/Person.php | 2010 ++++- .../src/Faker/Provider/bg_BG/PhoneNumber.php | 29 +- .../src/Faker/Provider/bn_BD/Address.php | 603 +- .../src/Faker/Provider/bn_BD/Company.php | 39 +- .../faker/src/Faker/Provider/bn_BD/Person.php | 88 +- .../src/Faker/Provider/bn_BD/PhoneNumber.php | 14 +- .../faker/src/Faker/Provider/bn_BD/Utils.php | 14 +- .../src/Faker/Provider/cs_CZ/Address.php | 658 +- .../src/Faker/Provider/cs_CZ/Company.php | 272 +- .../src/Faker/Provider/cs_CZ/DateTime.php | 122 +- .../src/Faker/Provider/cs_CZ/Internet.php | 15 +- .../src/Faker/Provider/cs_CZ/Payment.php | 32 +- .../faker/src/Faker/Provider/cs_CZ/Person.php | 2770 +++++-- .../src/Faker/Provider/cs_CZ/PhoneNumber.php | 17 +- .../faker/src/Faker/Provider/cs_CZ/Text.php | 62 +- .../src/Faker/Provider/da_DK/Address.php | 1354 +++- .../src/Faker/Provider/da_DK/Company.php | 111 +- .../src/Faker/Provider/da_DK/Internet.php | 59 +- .../src/Faker/Provider/da_DK/Payment.php | 32 +- .../faker/src/Faker/Provider/da_DK/Person.php | 1526 +++- .../src/Faker/Provider/da_DK/PhoneNumber.php | 25 +- .../src/Faker/Provider/de_AT/Address.php | 873 ++- .../src/Faker/Provider/de_AT/Company.php | 13 +- .../src/Faker/Provider/de_AT/Internet.php | 7 +- .../src/Faker/Provider/de_AT/Payment.php | 67 +- .../faker/src/Faker/Provider/de_AT/Person.php | 934 ++- .../src/Faker/Provider/de_AT/PhoneNumber.php | 33 +- .../faker/src/Faker/Provider/de_AT/Text.php | 3 +- .../src/Faker/Provider/de_CH/Address.php | 838 ++- .../src/Faker/Provider/de_CH/Company.php | 17 +- .../src/Faker/Provider/de_CH/Internet.php | 23 +- .../src/Faker/Provider/de_CH/Payment.php | 32 +- .../faker/src/Faker/Provider/de_CH/Person.php | 746 +- .../src/Faker/Provider/de_CH/PhoneNumber.php | 76 +- .../faker/src/Faker/Provider/de_CH/Text.php | 777 +- .../src/Faker/Provider/de_DE/Address.php | 1127 ++- .../src/Faker/Provider/de_DE/Company.php | 82 +- .../src/Faker/Provider/de_DE/Internet.php | 41 +- .../src/Faker/Provider/de_DE/Payment.php | 146 +- .../faker/src/Faker/Provider/de_DE/Person.php | 1666 ++++- .../src/Faker/Provider/de_DE/PhoneNumber.php | 254 +- .../faker/src/Faker/Provider/de_DE/Text.php | 777 +- .../src/Faker/Provider/el_CY/Address.php | 215 +- .../src/Faker/Provider/el_CY/Company.php | 23 +- .../src/Faker/Provider/el_CY/Internet.php | 14 +- .../src/Faker/Provider/el_CY/Payment.php | 83 +- .../faker/src/Faker/Provider/el_CY/Person.php | 693 +- .../src/Faker/Provider/el_CY/PhoneNumber.php | 48 +- .../src/Faker/Provider/el_GR/Address.php | 910 ++- .../src/Faker/Provider/el_GR/Company.php | 143 +- .../src/Faker/Provider/el_GR/Payment.php | 32 +- .../faker/src/Faker/Provider/el_GR/Person.php | 1827 ++++- .../src/Faker/Provider/el_GR/PhoneNumber.php | 763 +- .../faker/src/Faker/Provider/el_GR/Text.php | 697 +- .../src/Faker/Provider/en_AU/Address.php | 417 +- .../src/Faker/Provider/en_AU/Internet.php | 14 +- .../src/Faker/Provider/en_AU/PhoneNumber.php | 102 +- .../src/Faker/Provider/en_CA/Address.php | 138 +- .../src/Faker/Provider/en_CA/PhoneNumber.php | 25 +- .../src/Faker/Provider/en_GB/Address.php | 1267 +++- .../src/Faker/Provider/en_GB/Company.php | 243 +- .../src/Faker/Provider/en_GB/Internet.php | 14 +- .../src/Faker/Provider/en_GB/Payment.php | 32 +- .../faker/src/Faker/Provider/en_GB/Person.php | 551 +- .../src/Faker/Provider/en_GB/PhoneNumber.php | 80 +- .../src/Faker/Provider/en_HK/Address.php | 872 ++- .../src/Faker/Provider/en_HK/Internet.php | 33 +- .../src/Faker/Provider/en_HK/PhoneNumber.php | 62 +- .../src/Faker/Provider/en_IN/Address.php | 688 +- .../src/Faker/Provider/en_IN/Internet.php | 21 +- .../faker/src/Faker/Provider/en_IN/Person.php | 1188 ++- .../src/Faker/Provider/en_IN/PhoneNumber.php | 58 +- .../src/Faker/Provider/en_NG/Address.php | 434 +- .../src/Faker/Provider/en_NG/Internet.php | 5 +- .../faker/src/Faker/Provider/en_NG/Person.php | 372 +- .../src/Faker/Provider/en_NG/PhoneNumber.php | 249 +- .../src/Faker/Provider/en_NZ/Address.php | 181 +- .../src/Faker/Provider/en_NZ/Internet.php | 39 +- .../src/Faker/Provider/en_NZ/PhoneNumber.php | 185 +- .../src/Faker/Provider/en_PH/Address.php | 2295 +++++- .../src/Faker/Provider/en_PH/PhoneNumber.php | 178 +- .../src/Faker/Provider/en_SG/Address.php | 310 +- .../faker/src/Faker/Provider/en_SG/Person.php | 115 +- .../src/Faker/Provider/en_SG/PhoneNumber.php | 190 +- .../src/Faker/Provider/en_UG/Address.php | 353 +- .../src/Faker/Provider/en_UG/Internet.php | 14 +- .../faker/src/Faker/Provider/en_UG/Person.php | 1012 ++- .../src/Faker/Provider/en_UG/PhoneNumber.php | 23 +- .../src/Faker/Provider/en_US/Address.php | 734 +- .../src/Faker/Provider/en_US/Company.php | 1909 ++++- .../src/Faker/Provider/en_US/Payment.php | 48 +- .../faker/src/Faker/Provider/en_US/Person.php | 3637 ++++++++- .../src/Faker/Provider/en_US/PhoneNumber.php | 259 +- .../faker/src/Faker/Provider/en_US/Text.php | 775 +- .../src/Faker/Provider/en_ZA/Address.php | 378 +- .../src/Faker/Provider/en_ZA/Company.php | 59 +- .../src/Faker/Provider/en_ZA/Internet.php | 62 +- .../faker/src/Faker/Provider/en_ZA/Person.php | 1320 +++- .../src/Faker/Provider/en_ZA/PhoneNumber.php | 163 +- .../src/Faker/Provider/es_AR/Address.php | 177 +- .../src/Faker/Provider/es_AR/Company.php | 573 +- .../faker/src/Faker/Provider/es_AR/Person.php | 954 ++- .../src/Faker/Provider/es_AR/PhoneNumber.php | 73 +- .../src/Faker/Provider/es_ES/Address.php | 468 +- .../faker/src/Faker/Provider/es_ES/Color.php | 37 +- .../src/Faker/Provider/es_ES/Company.php | 608 +- .../src/Faker/Provider/es_ES/Internet.php | 17 +- .../src/Faker/Provider/es_ES/Payment.php | 65 +- .../faker/src/Faker/Provider/es_ES/Person.php | 1208 ++- .../src/Faker/Provider/es_ES/PhoneNumber.php | 73 +- .../faker/src/Faker/Provider/es_ES/Text.php | 21 +- .../src/Faker/Provider/es_PE/Address.php | 128 +- .../src/Faker/Provider/es_PE/Company.php | 608 +- .../faker/src/Faker/Provider/es_PE/Person.php | 911 ++- .../src/Faker/Provider/es_PE/PhoneNumber.php | 23 +- .../src/Faker/Provider/es_VE/Address.php | 170 +- .../src/Faker/Provider/es_VE/Company.php | 82 +- .../src/Faker/Provider/es_VE/Internet.php | 17 +- .../faker/src/Faker/Provider/es_VE/Person.php | 1191 ++- .../src/Faker/Provider/es_VE/PhoneNumber.php | 47 +- .../faker/src/Faker/Provider/et_EE/Person.php | 702 +- .../src/Faker/Provider/fa_IR/Address.php | 186 +- .../src/Faker/Provider/fa_IR/Company.php | 122 +- .../src/Faker/Provider/fa_IR/Internet.php | 367 +- .../faker/src/Faker/Provider/fa_IR/Person.php | 2636 ++++++- .../src/Faker/Provider/fa_IR/PhoneNumber.php | 136 +- .../faker/src/Faker/Provider/fa_IR/Text.php | 146 +- .../src/Faker/Provider/fi_FI/Address.php | 368 +- .../src/Faker/Provider/fi_FI/Company.php | 304 +- .../src/Faker/Provider/fi_FI/Internet.php | 7 +- .../src/Faker/Provider/fi_FI/Payment.php | 32 +- .../faker/src/Faker/Provider/fi_FI/Person.php | 1453 +++- .../src/Faker/Provider/fi_FI/PhoneNumber.php | 167 +- .../src/Faker/Provider/fr_BE/Address.php | 249 +- .../faker/src/Faker/Provider/fr_BE/Color.php | 3 +- .../src/Faker/Provider/fr_BE/Company.php | 26 +- .../src/Faker/Provider/fr_BE/Internet.php | 7 +- .../src/Faker/Provider/fr_BE/Payment.php | 67 +- .../faker/src/Faker/Provider/fr_BE/Person.php | 467 +- .../src/Faker/Provider/fr_BE/PhoneNumber.php | 29 +- .../src/Faker/Provider/fr_CA/Address.php | 357 +- .../faker/src/Faker/Provider/fr_CA/Color.php | 3 +- .../src/Faker/Provider/fr_CA/Company.php | 3 +- .../faker/src/Faker/Provider/fr_CA/Person.php | 435 +- .../faker/src/Faker/Provider/fr_CA/Text.php | 933 ++- .../src/Faker/Provider/fr_CH/Address.php | 412 +- .../faker/src/Faker/Provider/fr_CH/Color.php | 3 +- .../src/Faker/Provider/fr_CH/Company.php | 17 +- .../src/Faker/Provider/fr_CH/Internet.php | 15 +- .../src/Faker/Provider/fr_CH/Payment.php | 32 +- .../faker/src/Faker/Provider/fr_CH/Person.php | 738 +- .../src/Faker/Provider/fr_CH/PhoneNumber.php | 70 +- .../faker/src/Faker/Provider/fr_CH/Text.php | 3 +- .../src/Faker/Provider/fr_FR/Address.php | 580 +- .../faker/src/Faker/Provider/fr_FR/Color.php | 252 +- .../src/Faker/Provider/fr_FR/Company.php | 920 +-- .../src/Faker/Provider/fr_FR/Internet.php | 21 +- .../src/Faker/Provider/fr_FR/Payment.php | 79 +- .../faker/src/Faker/Provider/fr_FR/Person.php | 845 ++- .../src/Faker/Provider/fr_FR/PhoneNumber.php | 279 +- .../faker/src/Faker/Provider/fr_FR/Text.php | 767 +- .../src/Faker/Provider/he_IL/Address.php | 1527 +++- .../src/Faker/Provider/he_IL/Company.php | 15 +- .../src/Faker/Provider/he_IL/Payment.php | 32 +- .../faker/src/Faker/Provider/he_IL/Person.php | 2238 +++++- .../src/Faker/Provider/he_IL/PhoneNumber.php | 17 +- .../src/Faker/Provider/hr_HR/Address.php | 523 +- .../src/Faker/Provider/hr_HR/Company.php | 44 +- .../src/Faker/Provider/hr_HR/Payment.php | 32 +- .../faker/src/Faker/Provider/hr_HR/Person.php | 275 +- .../src/Faker/Provider/hr_HR/PhoneNumber.php | 17 +- .../src/Faker/Provider/hu_HU/Address.php | 637 +- .../src/Faker/Provider/hu_HU/Company.php | 13 +- .../src/Faker/Provider/hu_HU/Payment.php | 32 +- .../faker/src/Faker/Provider/hu_HU/Person.php | 484 +- .../src/Faker/Provider/hu_HU/PhoneNumber.php | 17 +- .../faker/src/Faker/Provider/hu_HU/Text.php | 29 +- .../src/Faker/Provider/hy_AM/Address.php | 423 +- .../faker/src/Faker/Provider/hy_AM/Color.php | 21 +- .../src/Faker/Provider/hy_AM/Company.php | 99 +- .../src/Faker/Provider/hy_AM/Internet.php | 7 +- .../faker/src/Faker/Provider/hy_AM/Person.php | 987 ++- .../src/Faker/Provider/hy_AM/PhoneNumber.php | 48 +- .../src/Faker/Provider/id_ID/Address.php | 1153 ++- .../faker/src/Faker/Provider/id_ID/Color.php | 203 +- .../src/Faker/Provider/id_ID/Company.php | 180 +- .../src/Faker/Provider/id_ID/Internet.php | 58 +- .../faker/src/Faker/Provider/id_ID/Person.php | 1878 ++++- .../src/Faker/Provider/id_ID/PhoneNumber.php | 89 +- .../src/Faker/Provider/is_IS/Address.php | 698 +- .../src/Faker/Provider/is_IS/Company.php | 82 +- .../src/Faker/Provider/is_IS/Internet.php | 38 +- .../src/Faker/Provider/is_IS/Payment.php | 32 +- .../faker/src/Faker/Provider/is_IS/Person.php | 4153 ++++++++++- .../src/Faker/Provider/is_IS/PhoneNumber.php | 23 +- .../src/Faker/Provider/it_CH/Address.php | 398 +- .../src/Faker/Provider/it_CH/Company.php | 17 +- .../src/Faker/Provider/it_CH/Internet.php | 15 +- .../src/Faker/Provider/it_CH/Payment.php | 32 +- .../faker/src/Faker/Provider/it_CH/Person.php | 719 +- .../src/Faker/Provider/it_CH/PhoneNumber.php | 70 +- .../faker/src/Faker/Provider/it_CH/Text.php | 3 +- .../src/Faker/Provider/it_IT/Address.php | 624 +- .../src/Faker/Provider/it_IT/Company.php | 457 +- .../src/Faker/Provider/it_IT/Internet.php | 14 +- .../src/Faker/Provider/it_IT/Payment.php | 32 +- .../faker/src/Faker/Provider/it_IT/Person.php | 588 +- .../src/Faker/Provider/it_IT/PhoneNumber.php | 31 +- .../faker/src/Faker/Provider/it_IT/Text.php | 855 ++- .../src/Faker/Provider/ja_JP/Address.php | 486 +- .../src/Faker/Provider/ja_JP/Company.php | 18 +- .../src/Faker/Provider/ja_JP/Internet.php | 242 +- .../faker/src/Faker/Provider/ja_JP/Person.php | 454 +- .../src/Faker/Provider/ja_JP/PhoneNumber.php | 27 +- .../faker/src/Faker/Provider/ja_JP/Text.php | 104 +- .../src/Faker/Provider/ka_GE/Address.php | 559 +- .../faker/src/Faker/Provider/ka_GE/Color.php | 45 +- .../src/Faker/Provider/ka_GE/Company.php | 128 +- .../src/Faker/Provider/ka_GE/DateTime.php | 67 +- .../src/Faker/Provider/ka_GE/Internet.php | 38 +- .../src/Faker/Provider/ka_GE/Payment.php | 93 +- .../faker/src/Faker/Provider/ka_GE/Person.php | 455 +- .../src/Faker/Provider/ka_GE/PhoneNumber.php | 17 +- .../faker/src/Faker/Provider/ka_GE/Text.php | 33 +- .../src/Faker/Provider/kk_KZ/Address.php | 171 +- .../faker/src/Faker/Provider/kk_KZ/Color.php | 24 +- .../src/Faker/Provider/kk_KZ/Company.php | 134 +- .../src/Faker/Provider/kk_KZ/Internet.php | 7 +- .../src/Faker/Provider/kk_KZ/Payment.php | 53 +- .../faker/src/Faker/Provider/kk_KZ/Person.php | 463 +- .../src/Faker/Provider/kk_KZ/PhoneNumber.php | 21 +- .../faker/src/Faker/Provider/kk_KZ/Text.php | 735 +- .../src/Faker/Provider/ko_KR/Address.php | 457 +- .../src/Faker/Provider/ko_KR/Company.php | 56 +- .../src/Faker/Provider/ko_KR/Internet.php | 423 +- .../faker/src/Faker/Provider/ko_KR/Person.php | 426 +- .../src/Faker/Provider/ko_KR/PhoneNumber.php | 67 +- .../faker/src/Faker/Provider/ko_KR/Text.php | 37 +- .../src/Faker/Provider/lt_LT/Address.php | 642 +- .../src/Faker/Provider/lt_LT/Company.php | 17 +- .../src/Faker/Provider/lt_LT/Internet.php | 23 +- .../src/Faker/Provider/lt_LT/Payment.php | 32 +- .../faker/src/Faker/Provider/lt_LT/Person.php | 2462 ++++++- .../src/Faker/Provider/lt_LT/PhoneNumber.php | 23 +- .../src/Faker/Provider/lv_LV/Address.php | 426 +- .../faker/src/Faker/Provider/lv_LV/Color.php | 47 +- .../src/Faker/Provider/lv_LV/Internet.php | 7 +- .../src/Faker/Provider/lv_LV/Payment.php | 32 +- .../faker/src/Faker/Provider/lv_LV/Person.php | 5587 +++++++++++++- .../src/Faker/Provider/lv_LV/PhoneNumber.php | 19 +- .../src/Faker/Provider/me_ME/Address.php | 757 +- .../src/Faker/Provider/me_ME/Company.php | 152 +- .../src/Faker/Provider/me_ME/Payment.php | 32 +- .../faker/src/Faker/Provider/me_ME/Person.php | 3358 ++++++++- .../src/Faker/Provider/me_ME/PhoneNumber.php | 19 +- .../faker/src/Faker/Provider/mn_MN/Person.php | 508 +- .../src/Faker/Provider/mn_MN/PhoneNumber.php | 15 +- .../src/Faker/Provider/ms_MY/Address.php | 2045 ++++-- .../src/Faker/Provider/ms_MY/Company.php | 709 +- .../Faker/Provider/ms_MY/Miscellaneous.php | 378 +- .../src/Faker/Provider/ms_MY/Payment.php | 545 +- .../faker/src/Faker/Provider/ms_MY/Person.php | 6527 +++++++++++++++-- .../src/Faker/Provider/ms_MY/PhoneNumber.php | 431 +- .../src/Faker/Provider/nb_NO/Address.php | 1103 ++- .../src/Faker/Provider/nb_NO/Company.php | 1589 +++- .../src/Faker/Provider/nb_NO/Payment.php | 32 +- .../faker/src/Faker/Provider/nb_NO/Person.php | 3046 +++++++- .../src/Faker/Provider/nb_NO/PhoneNumber.php | 64 +- .../src/Faker/Provider/ne_NP/Address.php | 1207 ++- .../src/Faker/Provider/ne_NP/Internet.php | 49 +- .../src/Faker/Provider/ne_NP/Payment.php | 586 +- .../faker/src/Faker/Provider/ne_NP/Person.php | 754 +- .../src/Faker/Provider/ne_NP/PhoneNumber.php | 27 +- .../src/Faker/Provider/nl_BE/Address.php | 701 +- .../src/Faker/Provider/nl_BE/Company.php | 26 +- .../src/Faker/Provider/nl_BE/Internet.php | 7 +- .../src/Faker/Provider/nl_BE/Payment.php | 77 +- .../faker/src/Faker/Provider/nl_BE/Person.php | 548 +- .../src/Faker/Provider/nl_BE/PhoneNumber.php | 29 +- .../faker/src/Faker/Provider/nl_BE/Text.php | 53 +- .../src/Faker/Provider/nl_NL/Address.php | 3330 ++++++++- .../faker/src/Faker/Provider/nl_NL/Color.php | 159 +- .../src/Faker/Provider/nl_NL/Company.php | 1521 +++- .../src/Faker/Provider/nl_NL/Internet.php | 7 +- .../src/Faker/Provider/nl_NL/Payment.php | 32 +- .../faker/src/Faker/Provider/nl_NL/Person.php | 2373 +++++- .../src/Faker/Provider/nl_NL/PhoneNumber.php | 67 +- .../faker/src/Faker/Provider/nl_NL/Text.php | 83 +- .../src/Faker/Provider/pl_PL/Address.php | 1258 +++- .../faker/src/Faker/Provider/pl_PL/Color.php | 227 +- .../src/Faker/Provider/pl_PL/Company.php | 150 +- .../src/Faker/Provider/pl_PL/Internet.php | 7 +- .../src/Faker/Provider/pl_PL/LicensePlate.php | 1075 +-- .../src/Faker/Provider/pl_PL/Payment.php | 216 +- .../faker/src/Faker/Provider/pl_PL/Person.php | 837 ++- .../src/Faker/Provider/pl_PL/PhoneNumber.php | 25 +- .../faker/src/Faker/Provider/pl_PL/Text.php | 759 +- .../src/Faker/Provider/pt_BR/Address.php | 500 +- .../src/Faker/Provider/pt_BR/Company.php | 50 +- .../src/Faker/Provider/pt_BR/Internet.php | 15 +- .../src/Faker/Provider/pt_BR/Payment.php | 287 +- .../faker/src/Faker/Provider/pt_BR/Person.php | 859 ++- .../src/Faker/Provider/pt_BR/PhoneNumber.php | 341 +- .../faker/src/Faker/Provider/pt_BR/Text.php | 837 ++- .../src/Faker/Provider/pt_BR/check_digit.php | 37 +- .../src/Faker/Provider/pt_PT/Address.php | 519 +- .../src/Faker/Provider/pt_PT/Company.php | 19 +- .../src/Faker/Provider/pt_PT/Internet.php | 7 +- .../src/Faker/Provider/pt_PT/Payment.php | 32 +- .../faker/src/Faker/Provider/pt_PT/Person.php | 520 +- .../src/Faker/Provider/pt_PT/PhoneNumber.php | 84 +- .../src/Faker/Provider/ro_MD/Address.php | 506 +- .../src/Faker/Provider/ro_MD/Payment.php | 32 +- .../faker/src/Faker/Provider/ro_MD/Person.php | 1081 ++- .../src/Faker/Provider/ro_MD/PhoneNumber.php | 55 +- .../faker/src/Faker/Provider/ro_MD/Text.php | 735 +- .../src/Faker/Provider/ro_RO/Address.php | 849 ++- .../src/Faker/Provider/ro_RO/Payment.php | 32 +- .../faker/src/Faker/Provider/ro_RO/Person.php | 1444 +++- .../src/Faker/Provider/ro_RO/PhoneNumber.php | 100 +- .../faker/src/Faker/Provider/ro_RO/Text.php | 27 +- .../src/Faker/Provider/ru_RU/Address.php | 569 +- .../faker/src/Faker/Provider/ru_RU/Color.php | 94 +- .../src/Faker/Provider/ru_RU/Company.php | 750 +- .../src/Faker/Provider/ru_RU/Internet.php | 18 +- .../src/Faker/Provider/ru_RU/Payment.php | 1610 ++-- .../faker/src/Faker/Provider/ru_RU/Person.php | 779 +- .../src/Faker/Provider/ru_RU/PhoneNumber.php | 17 +- .../faker/src/Faker/Provider/ru_RU/Text.php | 750 +- .../src/Faker/Provider/sk_SK/Address.php | 3665 ++++++++- .../src/Faker/Provider/sk_SK/Company.php | 494 +- .../src/Faker/Provider/sk_SK/Internet.php | 15 +- .../src/Faker/Provider/sk_SK/Payment.php | 32 +- .../faker/src/Faker/Provider/sk_SK/Person.php | 1043 ++- .../src/Faker/Provider/sk_SK/PhoneNumber.php | 19 +- .../src/Faker/Provider/sl_SI/Address.php | 601 +- .../src/Faker/Provider/sl_SI/Company.php | 15 +- .../src/Faker/Provider/sl_SI/Internet.php | 15 +- .../src/Faker/Provider/sl_SI/Payment.php | 32 +- .../faker/src/Faker/Provider/sl_SI/Person.php | 876 ++- .../src/Faker/Provider/sl_SI/PhoneNumber.php | 25 +- .../src/Faker/Provider/sr_Cyrl_RS/Address.php | 383 +- .../src/Faker/Provider/sr_Cyrl_RS/Payment.php | 32 +- .../src/Faker/Provider/sr_Cyrl_RS/Person.php | 4776 +++++++++++- .../src/Faker/Provider/sr_Latn_RS/Address.php | 383 +- .../src/Faker/Provider/sr_Latn_RS/Payment.php | 32 +- .../src/Faker/Provider/sr_Latn_RS/Person.php | 4401 ++++++++++- .../src/Faker/Provider/sr_RS/Address.php | 383 +- .../src/Faker/Provider/sr_RS/Payment.php | 32 +- .../faker/src/Faker/Provider/sr_RS/Person.php | 3404 ++++++++- .../src/Faker/Provider/sv_SE/Address.php | 2456 ++++++- .../src/Faker/Provider/sv_SE/Company.php | 57 +- .../src/Faker/Provider/sv_SE/Municipality.php | 327 +- .../src/Faker/Provider/sv_SE/Payment.php | 32 +- .../faker/src/Faker/Provider/sv_SE/Person.php | 1348 +++- .../src/Faker/Provider/sv_SE/PhoneNumber.php | 100 +- .../src/Faker/Provider/th_TH/Address.php | 947 ++- .../faker/src/Faker/Provider/th_TH/Color.php | 47 +- .../src/Faker/Provider/th_TH/Company.php | 79 +- .../src/Faker/Provider/th_TH/Internet.php | 5 +- .../src/Faker/Provider/th_TH/Payment.php | 74 +- .../faker/src/Faker/Provider/th_TH/Person.php | 769 +- .../src/Faker/Provider/th_TH/PhoneNumber.php | 62 +- .../src/Faker/Provider/tr_TR/Address.php | 297 +- .../faker/src/Faker/Provider/tr_TR/Color.php | 273 +- .../src/Faker/Provider/tr_TR/Company.php | 468 +- .../src/Faker/Provider/tr_TR/DateTime.php | 74 +- .../src/Faker/Provider/tr_TR/Internet.php | 29 +- .../src/Faker/Provider/tr_TR/Payment.php | 32 +- .../faker/src/Faker/Provider/tr_TR/Person.php | 533 +- .../src/Faker/Provider/tr_TR/PhoneNumber.php | 359 +- .../src/Faker/Provider/uk_UA/Address.php | 678 +- .../faker/src/Faker/Provider/uk_UA/Color.php | 96 +- .../src/Faker/Provider/uk_UA/Company.php | 313 +- .../src/Faker/Provider/uk_UA/Internet.php | 7 +- .../src/Faker/Provider/uk_UA/Payment.php | 136 +- .../faker/src/Faker/Provider/uk_UA/Person.php | 310 +- .../src/Faker/Provider/uk_UA/PhoneNumber.php | 125 +- .../faker/src/Faker/Provider/uk_UA/Text.php | 737 +- .../src/Faker/Provider/vi_VN/Address.php | 563 +- .../faker/src/Faker/Provider/vi_VN/Color.php | 107 +- .../src/Faker/Provider/vi_VN/Internet.php | 30 +- .../faker/src/Faker/Provider/vi_VN/Person.php | 1152 ++- .../src/Faker/Provider/vi_VN/PhoneNumber.php | 179 +- .../src/Faker/Provider/zh_CN/Address.php | 553 +- .../faker/src/Faker/Provider/zh_CN/Color.php | 325 +- .../src/Faker/Provider/zh_CN/Company.php | 510 +- .../src/Faker/Provider/zh_CN/DateTime.php | 74 +- .../src/Faker/Provider/zh_CN/Internet.php | 57 +- .../src/Faker/Provider/zh_CN/Payment.php | 72 +- .../faker/src/Faker/Provider/zh_CN/Person.php | 593 +- .../src/Faker/Provider/zh_CN/PhoneNumber.php | 68 +- .../src/Faker/Provider/zh_TW/Address.php | 1612 +++- .../faker/src/Faker/Provider/zh_TW/Color.php | 325 +- .../src/Faker/Provider/zh_TW/Company.php | 638 +- .../src/Faker/Provider/zh_TW/DateTime.php | 74 +- .../src/Faker/Provider/zh_TW/Internet.php | 33 +- .../src/Faker/Provider/zh_TW/Payment.php | 22 +- .../faker/src/Faker/Provider/zh_TW/Person.php | 900 ++- .../src/Faker/Provider/zh_TW/PhoneNumber.php | 27 +- .../faker/src/Faker/Provider/zh_TW/Text.php | 194 +- .../faker/src/Faker/UniqueGenerator.php | 123 +- .../faker/src/Faker/ValidGenerator.php | 109 +- lib/fakerphp/faker/src/autoload.php | 30 +- .../src/ContainerExceptionInterface.php | 3 +- lib/psr/container/src/ContainerInterface.php | 51 +- .../src/NotFoundExceptionInterface.php | 3 +- .../deprecation-contracts/function.php | 29 +- 533 files changed, 175289 insertions(+), 49205 deletions(-) diff --git a/cbxcareertoolkit.php b/cbxcareertoolkit.php index 71e9c5f..d35c323 100644 --- a/cbxcareertoolkit.php +++ b/cbxcareertoolkit.php @@ -1,6 +1,5 @@ plugin_name = CBXCAREER_TOOLKIT_PLUGIN_NAME; - $this->version = CBXCAREER_TOOLKIT_PLUGIN_VERSION; - $this->hooks = new Hooks(); + $this->version = CBXCAREER_TOOLKIT_PLUGIN_VERSION; + $this->hooks = new Hooks(); } /** @@ -54,21 +52,18 @@ public function __construct() * @since 1.0.0 * @static */ - public static function instance() - { - if (is_null(self::$instance)) { + public static function instance() { + if ( is_null( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } - public static function activate() - { + public static function activate() { }//end method activate - public static function deactivate() - { + public static function deactivate() { }//end method activate -} \ No newline at end of file +}//end method CBXCareertoolkit \ No newline at end of file diff --git a/includes/Factories/Factory.php b/includes/Factories/Factory.php index 56d7b10..398a3c2 100644 --- a/includes/Factories/Factory.php +++ b/includes/Factories/Factory.php @@ -9,11 +9,9 @@ * Class Factory * @since 1.0.0 */ -abstract class Factory -{ +abstract class Factory { - public function __construct() - { + public function __construct() { //$this->faker = FakerFactory::create(); $this->init_commands(); } @@ -22,16 +20,15 @@ public function __construct() * Initialize commands * @since 1.0.0 */ - private function init_commands() - { + private function init_commands() { - if (class_exists("WP_CLI")) { - add_action('cli_init', [$this, 'wp_cli_register_commands']); + if ( class_exists( "WP_CLI" ) ) { + add_action( 'cli_init', [ $this, 'wp_cli_register_commands' ] ); } }//end method init_commands abstract public function wp_cli_register_commands(); - abstract public function run($args, $assoc_args); + abstract public function run( $args, $assoc_args ); }//end class Factory \ No newline at end of file diff --git a/includes/Factories/Job/DummyJobGenerate.php b/includes/Factories/Job/DummyJobGenerate.php index f8d3dc1..4a7c23a 100644 --- a/includes/Factories/Job/DummyJobGenerate.php +++ b/includes/Factories/Job/DummyJobGenerate.php @@ -10,16 +10,14 @@ * Class DummyJobGenerate * @since 1.0.0 */ -class DummyJobGenerate extends Factory -{ +class DummyJobGenerate extends Factory { /** * Register CLI command * @since 1.0.0 */ - public function wp_cli_register_commands() - { - \WP_CLI::add_command('cbxjob-generate', [$this, "run"]); + public function wp_cli_register_commands() { + \WP_CLI::add_command( 'cbxjob-generate', [ $this, "run" ] ); } //end method wp_cli_register_commands /** @@ -30,68 +28,66 @@ public function wp_cli_register_commands() * * @since 1.0.0 */ - public function run($args, $assoc_args) - { - $start = microtime(true); + public function run( $args, $assoc_args ) { + $start = microtime( true ); - $total = isset($assoc_args['total']) && intval($assoc_args['total']) ? intval($assoc_args['total']) : 100; - $status = isset($assoc_args['status']) ? sanitize_text_field($assoc_args['status']) : 'publish'; - $is_remote = isset($assoc_args['is-remote']) && intval($assoc_args['is-remote']) ? intval($assoc_args['is-remote']) : 0; - $is_featured = isset($assoc_args['is-featured']) && intval($assoc_args['is-featured']) ? intval($assoc_args['is-featured']) : 1; - $is_filled = isset($assoc_args['is-filled']) && intval($assoc_args['is-filled']) ? intval($assoc_args['is-filled']) : 0; + $total = isset( $assoc_args['total'] ) && intval( $assoc_args['total'] ) ? intval( $assoc_args['total'] ) : 100; + $status = isset( $assoc_args['status'] ) ? sanitize_text_field( $assoc_args['status'] ) : 'publish'; + $is_remote = isset( $assoc_args['is-remote'] ) && intval( $assoc_args['is-remote'] ) ? intval( $assoc_args['is-remote'] ) : 0; + $is_featured = isset( $assoc_args['is-featured'] ) && intval( $assoc_args['is-featured'] ) ? intval( $assoc_args['is-featured'] ) : 1; + $is_filled = isset( $assoc_args['is-filled'] ) && intval( $assoc_args['is-filled'] ) ? intval( $assoc_args['is-filled'] ) : 0; - $salary_currency = isset($assoc_args['currency']) ? sanitize_text_field($assoc_args['currency']) : 'USD'; - $salary_unit = isset($assoc_args['salary-unit']) ? sanitize_text_field($assoc_args['salary-unit']) : 'monthly'; + $salary_currency = isset( $assoc_args['currency'] ) ? sanitize_text_field( $assoc_args['currency'] ) : 'USD'; + $salary_unit = isset( $assoc_args['salary-unit'] ) ? sanitize_text_field( $assoc_args['salary-unit'] ) : 'monthly'; - $user_id = isset($assoc_args['user-id']) && intval($assoc_args['user-id']) ? intval($assoc_args['user-id']) : 1; + $user_id = isset( $assoc_args['user-id'] ) && intval( $assoc_args['user-id'] ) ? intval( $assoc_args['user-id'] ) : 1; - for ($i = 0; $i < $total; $i++) { + for ( $i = 0; $i < $total; $i ++ ) { - $user_data = get_userdata($user_id); + $user_data = get_userdata( $user_id ); - $cbxjob['add_by'] = $user_id; //user id = X - $cbxjob['add_date'] = date('Y-m-d H:i:s'); + $cbxjob['add_by'] = $user_id; //user id = X + $cbxjob['add_date'] = date( 'Y-m-d H:i:s' ); //$cbxjob['email'] = FakerFactory::create()->email(); - $cbxjob['email'] = $user_data->user_email; - $cbxjob['title'] = FakerFactory::create()->jobTitle(); - $cbxjob['status'] = $status; - $cbxjob['job_location'] = FakerFactory::create()->address(); - $cbxjob['is_featured'] = $is_featured; - $cbxjob['is_filled'] = $is_filled; - $cbxjob['salary_amount'] = FakerFactory::create()->randomNumber(3); - $cbxjob['is_remote'] = $is_remote; + $cbxjob['email'] = $user_data->user_email; + $cbxjob['title'] = FakerFactory::create()->jobTitle(); + $cbxjob['status'] = $status; + $cbxjob['job_location'] = FakerFactory::create()->address(); + $cbxjob['is_featured'] = $is_featured; + $cbxjob['is_filled'] = $is_filled; + $cbxjob['salary_amount'] = FakerFactory::create()->randomNumber( 3 ); + $cbxjob['is_remote'] = $is_remote; $cbxjob['application_url'] = FakerFactory::create()->url(); - $cbxjob['description'] = FakerFactory::create()->text(); - $cbxjob['open_positions'] = FakerFactory::create()->randomNumber(1); + $cbxjob['description'] = FakerFactory::create()->text(); + $cbxjob['open_positions'] = FakerFactory::create()->randomNumber( 1 ); $cbxjob['misc'] = [ - 'salary_currency' => $salary_currency, - 'job_location' => FakerFactory::create()->address(), - 'company_name' => FakerFactory::create()->company(), - 'salary_unit' => $salary_unit, - 'company_website' => FakerFactory::create()->url(), - 'company_logo' => '', + 'salary_currency' => $salary_currency, + 'job_location' => FakerFactory::create()->address(), + 'company_name' => FakerFactory::create()->company(), + 'salary_unit' => $salary_unit, + 'company_website' => FakerFactory::create()->url(), + 'company_logo' => '', 'company_logo_source' => 'job', - 'company_logo_url' => FakerFactory::create()->imageUrl(360, 360, 'company', true), + 'company_logo_url' => FakerFactory::create()->imageUrl( 360, 360, 'company', true ), ]; //$cbxjob['mod_by'] = $job->post_author; - $cbxjob['mod_date'] = date('Y-m-d H:i:s'); + $cbxjob['mod_date'] = date( 'Y-m-d H:i:s' ); - $cbxjob['closing_date'] = date('Y-m-d H:i:s', strtotime('+7 days')); + $cbxjob['closing_date'] = date( 'Y-m-d H:i:s', strtotime( '+7 days' ) ); - $cbxjob['expiry_date'] = date('Y-m-d H:i:s', strtotime('+7 days')); + $cbxjob['expiry_date'] = date( 'Y-m-d H:i:s', strtotime( '+7 days' ) ); - - \Cbx\Job\Models\CBXJob::query()->create($cbxjob); + \Cbx\Job\Models\CBXJob::query()->create( $cbxjob ); } - $end = microtime(true); + $end = microtime( true ); $elapsed = $end - $start; - \WP_CLI::success("Successfully $total dummy job added. Execution time $elapsed seconds"); + \WP_CLI::success( "Successfully $total dummy job added. Execution time $elapsed seconds" ); } //end method run } //end class DummyJobGenerate diff --git a/includes/Factories/Resume/DummyResumeGenerate.php b/includes/Factories/Resume/DummyResumeGenerate.php index 8998792..11df412 100644 --- a/includes/Factories/Resume/DummyResumeGenerate.php +++ b/includes/Factories/Resume/DummyResumeGenerate.php @@ -10,16 +10,14 @@ * Class DummyResumeGenerate * @since 1.0.0 */ -class DummyResumeGenerate extends Factory -{ +class DummyResumeGenerate extends Factory { /** * Register CLI command * @since 1.0.0 */ - public function wp_cli_register_commands() - { - \WP_CLI::add_command('cbxresume-generate', [$this, "run"]); + public function wp_cli_register_commands() { + \WP_CLI::add_command( 'cbxresume-generate', [ $this, "run" ] ); } //end method wp_cli_register_commands /** @@ -30,23 +28,22 @@ public function wp_cli_register_commands() * * @since 1.0.0 */ - public function run($args, $assoc_args) - { - $start = microtime(true); + public function run( $args, $assoc_args ) { + $start = microtime( true ); - $total = isset($assoc_args['total']) && intval($assoc_args['total']) ? intval($assoc_args['total']) : 100; - $user_id = isset($assoc_args['user-id']) && intval($assoc_args['user-id']) ? intval($assoc_args['user-id']) : 1; - $status = isset($assoc_args['status']) && intval($assoc_args['status']) ? intval($assoc_args['status']) : 1; - $privacy = isset($assoc_args['privacy']) && strval($assoc_args['privacy']) ? strval($assoc_args['privacy']) : "public"; - $isPrimary = isset($assoc_args['is-primary']) && intval($assoc_args['is-primary']) ? intval($assoc_args['is-primary']) : 1; + $total = isset( $assoc_args['total'] ) && intval( $assoc_args['total'] ) ? intval( $assoc_args['total'] ) : 100; + $user_id = isset( $assoc_args['user-id'] ) && intval( $assoc_args['user-id'] ) ? intval( $assoc_args['user-id'] ) : 1; + $status = isset( $assoc_args['status'] ) && intval( $assoc_args['status'] ) ? intval( $assoc_args['status'] ) : 1; + $privacy = isset( $assoc_args['privacy'] ) && strval( $assoc_args['privacy'] ) ? strval( $assoc_args['privacy'] ) : "public"; + $isPrimary = isset( $assoc_args['is-primary'] ) && intval( $assoc_args['is-primary'] ) ? intval( $assoc_args['is-primary'] ) : 1; - for ($i = 0; $i < $total; $i++) { + for ( $i = 0; $i < $total; $i ++ ) { $formData = [ - 'add_by' => 1, - 'user_id' => $user_id, - 'privacy' => $privacy, - 'status' => $status, - 'resume' => json_encode([ + 'add_by' => 1, + 'user_id' => $user_id, + 'privacy' => $privacy, + 'status' => $status, + 'resume' => json_encode( [ (object) $this->aboutMe(), (object) $this->avatar(), (object) $this->education(), @@ -62,20 +59,20 @@ public function run($args, $assoc_args) (object) $this->patent(), (object) $this->hobby(), (object) $this->volunteer(), - ]), + ] ), 'is_primary' => $isPrimary, - 'add_date' => date('Y-m-d H:i:s') + 'add_date' => date( 'Y-m-d H:i:s' ) ]; - \Cbx\Resume\Models\Resume::query()->create($formData); + \Cbx\Resume\Models\Resume::query()->create( $formData ); } - $end = microtime(true); + $end = microtime( true ); $elapsed = $end - $start; - \WP_CLI::success("Successfully $total dummy resume added. Execution time $elapsed seconds"); + \WP_CLI::success( "Successfully $total dummy resume added. Execution time $elapsed seconds" ); } //end method run @@ -85,24 +82,23 @@ public function run($args, $assoc_args) * @return array * @since 1.0.0 */ - private function aboutMe() - { + private function aboutMe() { return [ - "key" => "aboutme", + "key" => "aboutme", "value" => [ (object) [ - "new" => true, - "given_name" => FakerFactory::create()->name(), - "family_name" => FakerFactory::create()->lastName(), - "headline" => FakerFactory::create()->jobTitle(), - "email" => FakerFactory::create()->email(), - "phonePreFix" => "+880", - "phone" => FakerFactory::create()->phoneNumber(), - "address_1" => FakerFactory::create()->address(), //todo: street_address() - "address_2" => FakerFactory::create()->address(), //city().' - '.postcode() - "about" => FakerFactory::create()->realText(300, 2), - "profile_pic_url" => FakerFactory::create()->imageUrl(360, 360, 'animals', true), - "profile_pic" => "", + "new" => true, + "given_name" => FakerFactory::create()->name(), + "family_name" => FakerFactory::create()->lastName(), + "headline" => FakerFactory::create()->jobTitle(), + "email" => FakerFactory::create()->email(), + "phonePreFix" => "+880", + "phone" => FakerFactory::create()->phoneNumber(), + "address_1" => FakerFactory::create()->address(), //todo: street_address() + "address_2" => FakerFactory::create()->address(), //city().' - '.postcode() + "about" => FakerFactory::create()->realText( 300, 2 ), + "profile_pic_url" => FakerFactory::create()->imageUrl( 360, 360, 'animals', true ), + "profile_pic" => "", ] ], "fixed" => true @@ -115,14 +111,13 @@ private function aboutMe() * @return array * @since 1.0.0 */ - private function avatar() - { + private function avatar() { return [ - "key" => "", + "key" => "", "value" => [ (object) [ - "pic" => "", - "pic_url" => FakerFactory::create()->imageUrl(360, 360, 'animals', true), + "pic" => "", + "pic_url" => FakerFactory::create()->imageUrl( 360, 360, 'animals', true ), ] ], "fixed" => true, @@ -135,40 +130,39 @@ private function avatar() * @return array * @since 1.0.0 */ - private function education() - { + private function education() { return [ - "key" => "education", + "key" => "education", "value" => [ (object) [ - "organization" => FakerFactory::create()->company(), - "degreeName" => "Secondary School Certificate", - "fieldsOfStudy" => "Science", - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "grade" => "5.00", - "activities" => "Programming, Games", - "notes" => FakerFactory::create()->text(), + "organization" => FakerFactory::create()->company(), + "degreeName" => "Secondary School Certificate", + "fieldsOfStudy" => "Science", + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "grade" => "5.00", + "activities" => "Programming, Games", + "notes" => FakerFactory::create()->text(), ], (object) [ - "organization" => FakerFactory::create()->company(), - "degreeName" => "Diploma In Computer Technology", - "fieldsOfStudy" => "CMT", - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "grade" => "3.84", - "activities" => "Programming, Games", - "notes" => FakerFactory::create()->text(), + "organization" => FakerFactory::create()->company(), + "degreeName" => "Diploma In Computer Technology", + "fieldsOfStudy" => "CMT", + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "grade" => "3.84", + "activities" => "Programming, Games", + "notes" => FakerFactory::create()->text(), ], (object) [ - "organization" => FakerFactory::create()->company(), - "degreeName" => "Bachelors", - "fieldsOfStudy" => "CSE", - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "grade" => "3.84", - "activities" => "Programming, Games", - "notes" => FakerFactory::create()->text(), + "organization" => FakerFactory::create()->company(), + "degreeName" => "Bachelors", + "fieldsOfStudy" => "CSE", + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "grade" => "3.84", + "activities" => "Programming, Games", + "notes" => FakerFactory::create()->text(), ], ], ]; @@ -180,34 +174,33 @@ private function education() * @return array * @since 1.0.0 */ - private function experience() - { + private function experience() { return [ - "key" => "experience", + "key" => "experience", "value" => [ (object) [ - "title" => FakerFactory::create()->jobTitle(), - "company" => FakerFactory::create()->company(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), - "location" => FakerFactory::create()->address(), + "title" => FakerFactory::create()->jobTitle(), + "company" => FakerFactory::create()->company(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), + "location" => FakerFactory::create()->address(), ], (object) [ - "title" => FakerFactory::create()->jobTitle(), - "company" => FakerFactory::create()->company(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), - "location" => FakerFactory::create()->address(), + "title" => FakerFactory::create()->jobTitle(), + "company" => FakerFactory::create()->company(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), + "location" => FakerFactory::create()->address(), ], (object) [ - "title" => FakerFactory::create()->jobTitle(), - "company" => FakerFactory::create()->company(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), - "location" => FakerFactory::create()->address(), + "title" => FakerFactory::create()->jobTitle(), + "company" => FakerFactory::create()->company(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), + "location" => FakerFactory::create()->address(), ] ] ]; @@ -219,33 +212,32 @@ private function experience() * @return array * @since 1.0.0 */ - private function skills() - { + private function skills() { return [ - "key" => "skill", + "key" => "skill", "value" => [ (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ], (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ], (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ], (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ], (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ], (object) [ - "name" => FakerFactory::create()->name(), + "name" => FakerFactory::create()->name(), "score" => FakerFactory::create()->randomDigit() ] ], @@ -258,30 +250,29 @@ private function skills() * @return array * @since 1.0.0 */ - private function course() - { + private function course() { return [ - "key" => "course", + "key" => "course", "value" => [ (object) [ - "name" => FakerFactory::create()->name(), - "number" => FakerFactory::create()->randomNumber(2), - "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber(2), + "name" => FakerFactory::create()->name(), + "number" => FakerFactory::create()->randomNumber( 2 ), + "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber( 2 ), ], (object) [ - "name" => FakerFactory::create()->name(), - "number" => FakerFactory::create()->randomNumber(2), - "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber(2), + "name" => FakerFactory::create()->name(), + "number" => FakerFactory::create()->randomNumber( 2 ), + "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber( 2 ), ], (object) [ - "name" => FakerFactory::create()->name(), - "number" => FakerFactory::create()->randomNumber(2), - "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber(2), + "name" => FakerFactory::create()->name(), + "number" => FakerFactory::create()->randomNumber( 2 ), + "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber( 2 ), ], (object) [ - "name" => FakerFactory::create()->name(), - "number" => FakerFactory::create()->randomNumber(2), - "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber(2), + "name" => FakerFactory::create()->name(), + "number" => FakerFactory::create()->randomNumber( 2 ), + "associated_with_others" => "WP - " . FakerFactory::create()->randomNumber( 2 ), ] ] ]; @@ -293,26 +284,25 @@ private function course() * @return array * @since 1.0.0 */ - private function license() - { + private function license() { return [ - "key" => "license", + "key" => "license", "value" => [ (object) [ - "name" => FakerFactory::create()->name(), - "company" => FakerFactory::create()->company(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "licenseNumber" => "349U2-TUT4H-6HGGJ-2CHUK", - "url" => FakerFactory::create()->url(), + "name" => FakerFactory::create()->name(), + "company" => FakerFactory::create()->company(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "licenseNumber" => "349U2-TUT4H-6HGGJ-2CHUK", + "url" => FakerFactory::create()->url(), ], (object) [ - "name" => FakerFactory::create()->name(), - "company" => FakerFactory::create()->company(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "licenseNumber" => "349U2-TUT4H-6HGGJ-2CHUK", - "url" => FakerFactory::create()->url(), + "name" => FakerFactory::create()->name(), + "company" => FakerFactory::create()->company(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "licenseNumber" => "349U2-TUT4H-6HGGJ-2CHUK", + "url" => FakerFactory::create()->url(), ] ] ]; @@ -324,17 +314,16 @@ private function license() * @return array * @since 1.0.0 */ - private function language() - { + private function language() { return [ - "key" => "language", + "key" => "language", "value" => [ (object) [ - "name" => "Bangla", + "name" => "Bangla", "proficiency" => "Native or bilingual proficiency" ], (object) [ - "name" => "English", + "name" => "English", "proficiency" => "Native or bilingual proficiency" ] ] @@ -347,30 +336,29 @@ private function language() * @return array * @since 1.0.0 */ - private function website() - { + private function website() { return [ - "key" => "website", + "key" => "website", "value" => [ (object) [ "category" => "PERSONAL", - "label" => "Git", - "url" => FakerFactory::create()->url(), + "label" => "Git", + "url" => FakerFactory::create()->url(), ], (object) [ "category" => "COMPANY", - "label" => FakerFactory::create()->company(), - "url" => FakerFactory::create()->url(), + "label" => FakerFactory::create()->company(), + "url" => FakerFactory::create()->url(), ], (object) [ "category" => "SOCIAL", - "label" => "Twitter", - "url" => FakerFactory::create()->url(), + "label" => "Twitter", + "url" => FakerFactory::create()->url(), ], (object) [ "category" => "SOCIAL", - "label" => "Facebook", - "url" => FakerFactory::create()->url(), + "label" => "Facebook", + "url" => FakerFactory::create()->url(), ] ] ]; @@ -382,46 +370,61 @@ private function website() * @return array * @since 1.0.0 */ - private function project() - { + private function project() { return [ - "key" => "project", + "key" => "project", "value" => [ (object) [ - "title" => FakerFactory::create()->name(), - "url" => FakerFactory::create()->url(), - "members" => implode(",", [FakerFactory::create()->name(), FakerFactory::create()->name(), FakerFactory::create()->name()]), - "occupation" => FakerFactory::create()->jobTitle(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), + "title" => FakerFactory::create()->name(), + "url" => FakerFactory::create()->url(), + "members" => implode( ",", [ + FakerFactory::create()->name(), + FakerFactory::create()->name(), + FakerFactory::create()->name() + ] ), + "occupation" => FakerFactory::create()->jobTitle(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), ], (object) [ - "title" => FakerFactory::create()->name(), - "url" => FakerFactory::create()->url(), - "members" => implode(",", [FakerFactory::create()->name(), FakerFactory::create()->name(), FakerFactory::create()->name()]), - "occupation" => FakerFactory::create()->jobTitle(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), + "title" => FakerFactory::create()->name(), + "url" => FakerFactory::create()->url(), + "members" => implode( ",", [ + FakerFactory::create()->name(), + FakerFactory::create()->name(), + FakerFactory::create()->name() + ] ), + "occupation" => FakerFactory::create()->jobTitle(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), ], (object) [ - "title" => FakerFactory::create()->name(), - "url" => FakerFactory::create()->url(), - "members" => implode(",", [FakerFactory::create()->name(), FakerFactory::create()->name(), FakerFactory::create()->name()]), - "occupation" => FakerFactory::create()->jobTitle(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), + "title" => FakerFactory::create()->name(), + "url" => FakerFactory::create()->url(), + "members" => implode( ",", [ + FakerFactory::create()->name(), + FakerFactory::create()->name(), + FakerFactory::create()->name() + ] ), + "occupation" => FakerFactory::create()->jobTitle(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), ], (object) [ - "title" => FakerFactory::create()->name(), - "url" => FakerFactory::create()->url(), - "members" => implode(",", [FakerFactory::create()->name(), FakerFactory::create()->name(), FakerFactory::create()->name()]), - "occupation" => FakerFactory::create()->jobTitle(), - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(300), + "title" => FakerFactory::create()->name(), + "url" => FakerFactory::create()->url(), + "members" => implode( ",", [ + FakerFactory::create()->name(), + FakerFactory::create()->name(), + FakerFactory::create()->name() + ] ), + "occupation" => FakerFactory::create()->jobTitle(), + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 300 ), ] ] ]; @@ -433,24 +436,23 @@ private function project() * @return array * @since 1.0.0 */ - private function honor() - { + private function honor() { return [ - "key" => "honor", + "key" => "honor", "value" => [ (object) [ - 'title' => FakerFactory::create()->title(), - 'occupation' => FakerFactory::create()->jobTitle(), - 'issuer' => FakerFactory::create()->company(), - 'issueDate' => FakerFactory::create()->date("m-Y"), - 'description' => FakerFactory::create()->text(150), + 'title' => FakerFactory::create()->title(), + 'occupation' => FakerFactory::create()->jobTitle(), + 'issuer' => FakerFactory::create()->company(), + 'issueDate' => FakerFactory::create()->date( "m-Y" ), + 'description' => FakerFactory::create()->text( 150 ), ], (object) [ - 'title' => FakerFactory::create()->title(), - 'occupation' => FakerFactory::create()->jobTitle(), - 'issuer' => FakerFactory::create()->company(), - 'issueDate' => FakerFactory::create()->date("m-Y"), - 'description' => FakerFactory::create()->text(150), + 'title' => FakerFactory::create()->title(), + 'occupation' => FakerFactory::create()->jobTitle(), + 'issuer' => FakerFactory::create()->company(), + 'issueDate' => FakerFactory::create()->date( "m-Y" ), + 'description' => FakerFactory::create()->text( 150 ), ], ], ]; @@ -462,18 +464,17 @@ private function honor() * @return array * @since 1.0.0 */ - private function publication() - { + private function publication() { return [ - "key" => "publication", + "key" => "publication", "value" => [ (object) [ - "name" => FakerFactory::create()->name(), - "publisher" => "Rokomary", - "date" => FakerFactory::create()->date("m-Y"), - "authors" => FakerFactory::create()->name(), - "url" => FakerFactory::create()->url(), - "description" => FakerFactory::create()->text(100), + "name" => FakerFactory::create()->name(), + "publisher" => "Rokomary", + "date" => FakerFactory::create()->date( "m-Y" ), + "authors" => FakerFactory::create()->name(), + "url" => FakerFactory::create()->url(), + "description" => FakerFactory::create()->text( 100 ), ] ] ]; @@ -485,21 +486,20 @@ private function publication() * @return array * @since 1.0.0 */ - private function patent() - { + private function patent() { return [ - "key" => "patent", + "key" => "patent", "value" => [ (object) [ - "title" => "Electric Light Bulb", + "title" => "Electric Light Bulb", "applicationNumber" => "US223898A", - "inventors" => FakerFactory::create()->name(), - "pending" => "issued", - "issueDate" => "", - "filingDate" => "2022-09-06T03:47:00.000Z", - "url" => FakerFactory::create()->url(), - "description" => FakerFactory::create()->text(100), - "startMonthYear" => "2023-01-19T12:42:00.000Z", + "inventors" => FakerFactory::create()->name(), + "pending" => "issued", + "issueDate" => "", + "filingDate" => "2022-09-06T03:47:00.000Z", + "url" => FakerFactory::create()->url(), + "description" => FakerFactory::create()->text( 100 ), + "startMonthYear" => "2023-01-19T12:42:00.000Z", ] ] ]; @@ -511,10 +511,9 @@ private function patent() * @return array * @since 1.0.0 */ - private function hobby() - { + private function hobby() { return [ - "key" => "hobby", + "key" => "hobby", "value" => [ (object) [ "name" => FakerFactory::create()->name() @@ -538,18 +537,17 @@ private function hobby() * @return array * @since 1.0.0 */ - private function volunteer() - { + private function volunteer() { return [ - "key" => "volunteer", + "key" => "volunteer", "value" => [ (object) [ - "companyName" => FakerFactory::create()->company(), - "role" => FakerFactory::create()->jobTitle(), - "cause" => "Children", - "startMonthYear" => FakerFactory::create()->date("m-Y"), - "endMonthYear" => FakerFactory::create()->date("m-Y"), - "description" => FakerFactory::create()->text(150), + "companyName" => FakerFactory::create()->company(), + "role" => FakerFactory::create()->jobTitle(), + "cause" => "Children", + "startMonthYear" => FakerFactory::create()->date( "m-Y" ), + "endMonthYear" => FakerFactory::create()->date( "m-Y" ), + "description" => FakerFactory::create()->text( 150 ), ] ] ]; diff --git a/includes/Hooks.php b/includes/Hooks.php index 9d2726b..c9d9808 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -7,29 +7,33 @@ use Cbx\Careertoolkit\PDUpdater; -class Hooks -{ +class Hooks { - public function __construct() - { + public function __construct() { $this->init_commands(); $this->update_checker(); } - public function init_commands() - { - if (class_exists("WP_CLI")) { + public function init_commands() { + if ( class_exists( "WP_CLI" ) ) { $resume = new DummyResumeGenerate(); - $jobs = new DummyJobGenerate(); + $jobs = new DummyJobGenerate(); } }//end method init_commands - public function update_checker() - { - $updater = new PDUpdater(CBXCAREER_TOOLKIT_ROOT_PATH . 'cbxcareertoolkit.php'); - $updater->set_username('codeboxrcodehub'); - $updater->set_repository('cbxcareertoolkit'); - $updater->authorize('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'); + /** + * Plugin update checker from github (https://github.com/codeboxrcodehub/cbxcareertoolkit) + * + * @return void + */ + public function update_checker() { + + $github_token = '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'; + + $updater = new PDUpdater( CBXCAREER_TOOLKIT_ROOT_PATH . 'cbxcareertoolkit.php' ); + $updater->set_username( 'codeboxrcodehub' ); + $updater->set_repository( 'cbxcareertoolkit' ); + $updater->authorize( $github_token ); $updater->initialize(); }//end method update_checker }//end class Hooks \ No newline at end of file diff --git a/includes/PDUpdater.php b/includes/PDUpdater.php index abc45c7..37ea310 100644 --- a/includes/PDUpdater.php +++ b/includes/PDUpdater.php @@ -1,8 +1,8 @@ file = $file; - add_action('admin_init', [$this, 'set_plugin_properties']); + add_action( 'admin_init', [ $this, 'set_plugin_properties' ] ); return $this; }//end function __construct - public function set_plugin_properties() - { - $this->plugin = get_plugin_data($this->file); - $this->basename = plugin_basename($this->file); - $this->active = is_plugin_active($this->basename); + public function set_plugin_properties() { + $this->plugin = get_plugin_data( $this->file ); + $this->basename = plugin_basename( $this->file ); + $this->active = is_plugin_active( $this->basename ); }//end function set_plugin_properties - public function set_username($username) - { + public function set_username( $username ) { $this->username = $username; }//end function set_username - public function set_repository($repository) - { + public function set_repository( $repository ) { $this->repository = $repository; }//end function set_repository - public function authorize($token) - { + public function authorize( $token ) { $this->authorize_token = $token; }//end function authorize - private function get_repository_info() - { - if (is_null($this->github_response)) { - $request_uri = sprintf('https://api.github.com/repos/%s/%s/releases', $this->username, $this->repository); + private function get_repository_info() { + if ( is_null( $this->github_response ) ) { + $request_uri = sprintf( 'https://api.github.com/repos/%s/%s/releases', $this->username, $this->repository ); // Switch to HTTP Basic Authentication for GitHub API v3 $curl = curl_init(); - curl_setopt_array($curl, [ - CURLOPT_URL => $request_uri, + curl_setopt_array( $curl, [ + CURLOPT_URL => $request_uri, CURLOPT_RETURNTRANSFER => true, - CURLOPT_ENCODING => "", - CURLOPT_MAXREDIRS => 10, - CURLOPT_TIMEOUT => 0, + CURLOPT_ENCODING => "", + CURLOPT_MAXREDIRS => 10, + CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, - CURLOPT_CUSTOMREQUEST => "GET", - CURLOPT_HTTPHEADER => [ + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, + CURLOPT_CUSTOMREQUEST => "GET", + CURLOPT_HTTPHEADER => [ "Authorization: token " . $this->authorize_token, "User-Agent: PDUpdater/1.2.3" ] - ]); + ] ); - $response = curl_exec($curl); + $response = curl_exec( $curl ); - curl_close($curl); + curl_close( $curl ); - $response = json_decode($response, true); + $response = json_decode( $response, true ); - if (is_array($response)) { - $response = current($response); + if ( is_array( $response ) ) { + $response = current( $response ); } - if ($this->authorize_token) { - $response['zipball_url'] = add_query_arg('access_token', $this->authorize_token, $response['zipball_url']); + if ( $this->authorize_token ) { + $response['zipball_url'] = add_query_arg( 'access_token', $this->authorize_token, $response['zipball_url'] ); } $this->github_response = $response; } }//end function get_repository_info - public function initialize() - { - add_filter('pre_set_site_transient_update_plugins', [$this, 'modify_transient'], 10, 1); - add_filter('plugins_api', [$this, 'plugin_popup'], 10, 3); - add_filter('upgrader_post_install', [$this, 'after_install'], 10, 3); - add_filter("http_request_args", [$this, "addHeaders"], 10, 3); + public function initialize() { + add_filter( 'pre_set_site_transient_update_plugins', [ $this, 'modify_transient' ], 10, 1 ); + add_filter( 'plugins_api', [ $this, 'plugin_popup' ], 10, 3 ); + add_filter( 'upgrader_post_install', [ $this, 'after_install' ], 10, 3 ); + add_filter( "http_request_args", [ $this, "addHeaders" ], 10, 3 ); }//end function initialize - public function modify_transient($transient) - { - if (property_exists($transient, 'checked')) { - if ($checked = $transient->checked) { + public function modify_transient( $transient ) { + if ( property_exists( $transient, 'checked' ) ) { + if ( $checked = $transient->checked ) { $this->get_repository_info(); - $tag_name = str_replace("v", "", $this->github_response['tag_name']); - $tag_name = str_replace("V", "", $tag_name); - $out_of_date = version_compare($tag_name, $checked[$this->basename], 'gt'); + $tag_name = str_replace( "v", "", $this->github_response['tag_name'] ); + $tag_name = str_replace( "V", "", $tag_name ); + $out_of_date = version_compare( $tag_name, $checked[ $this->basename ], 'gt' ); - if ($out_of_date) { + if ( $out_of_date ) { $new_files = $this->github_response['zipball_url']; - $slug = current(explode('/', $this->basename)); + $slug = current( explode( '/', $this->basename ) ); $plugin = [ - 'url' => $this->plugin['PluginURI'], - 'slug' => $slug, - 'package' => $new_files, + 'url' => $this->plugin['PluginURI'], + 'slug' => $slug, + 'package' => $new_files, 'new_version' => $tag_name ]; - $transient->response[$this->basename] = (object) $plugin; + $transient->response[ $this->basename ] = (object) $plugin; } } } @@ -120,35 +112,35 @@ public function modify_transient($transient) return $transient; }//end function modify_transient - public function plugin_popup($result, $action, $args) - { - if ($action !== 'plugin_information') { + public function plugin_popup( $result, $action, $args ) { + if ( $action !== 'plugin_information' ) { return false; } - if (!empty($args->slug)) { - if ($args->slug == current(explode('/', $this->basename))) { + + if ( ! empty( $args->slug ) ) { + if ( $args->slug == current( explode( '/', $this->basename ) ) ) { $this->get_repository_info(); - $slug = current(explode('/', $this->basename)); + $slug = current( explode( '/', $this->basename ) ); - $tag_name = str_replace("v", "", $this->github_response['tag_name']); - $tag_name = str_replace("V", "", $tag_name); + $tag_name = str_replace( "v", "", $this->github_response['tag_name'] ); + $tag_name = str_replace( "V", "", $tag_name ); $plugin = [ - 'name' => isset($this->plugin['Name']) ? $this->plugin['Name'] : '', - 'slug' => $slug, - 'requires' => '5.3', - 'tested' => '5.4', - 'version' => $tag_name, - 'author' => $this->plugin['Author'], - 'author_profile' => $this->plugin['AuthorURI'], - 'last_updated' => $this->github_response['published_at'], - 'homepage' => $this->plugin['PluginURI'], - 'short_description' => isset($this->plugin['Description']) ? $this->plugin['Description'] : '', - 'sections' => [ - 'Description' => isset($this->plugin['Description']) ? $this->plugin['Description'] : '', - 'Updates' => isset($this->github_response['body']) ? $this->github_response['body'] : '', + 'name' => isset( $this->plugin['Name'] ) ? $this->plugin['Name'] : '', + 'slug' => $slug, + 'requires' => '5.3', + 'tested' => '5.4', + 'version' => $tag_name, + 'author' => $this->plugin['Author'], + 'author_profile' => $this->plugin['AuthorURI'], + 'last_updated' => $this->github_response['published_at'], + 'homepage' => $this->plugin['PluginURI'], + 'short_description' => isset( $this->plugin['Description'] ) ? $this->plugin['Description'] : '', + 'sections' => [ + 'Description' => isset( $this->plugin['Description'] ) ? $this->plugin['Description'] : '', + 'Updates' => isset( $this->github_response['body'] ) ? $this->github_response['body'] : '', ], - 'download_link' => $this->github_response['zipball_url'] + 'download_link' => $this->github_response['zipball_url'] ]; return (object) $plugin; @@ -158,31 +150,47 @@ public function plugin_popup($result, $action, $args) return $result; }//end function plugin_popup - public function after_install($response, $hook_extra, $result) - { + /** + * Take care on after plugin install + * + * @param $response + * @param $hook_extra + * @param $result + * + * @return mixed + */ + public function after_install( $response, $hook_extra, $result ) { global $wp_filesystem; - $install_directory = plugin_dir_path($this->file); - $wp_filesystem->move($result['destination'], $install_directory); + $install_directory = plugin_dir_path( $this->file ); + $wp_filesystem->move( $result['destination'], $install_directory ); $result['destination'] = $install_directory; - if ($this->active) { - activate_plugin($this->basename); + if ( $this->active ) { + activate_plugin( $this->basename ); } return $result; }//end function after_install - public function addHeaders($parsed_args, $url) - { - if (empty($parsed_args['headers'])) { + /** + * Add github authorization token for plugin download from github + * + * @param $parsed_args + * @param $url + * + * @return mixed + */ + public function addHeaders( $parsed_args, $url ) { + if ( empty( $parsed_args['headers'] ) ) { $parsed_args['headers'] = []; } - if (strpos($url, "https://api.github.com/repos/{$this->username}/{$this->repository}") !== FALSE) { + if ( strpos( $url, "https://api.github.com/repos/{$this->username}/{$this->repository}" ) !== false ) { $parsed_args['headers']['Authorization'] = "token $this->authorize_token"; } + return $parsed_args; }//end function addHeaders -}// end class PDUpdater \ No newline at end of file +}//end class PDUpdater \ No newline at end of file diff --git a/lib/autoload.php b/lib/autoload.php index b55f595..f24d9e6 100644 --- a/lib/autoload.php +++ b/lib/autoload.php @@ -2,22 +2,22 @@ // autoload.php @generated by Composer -if (PHP_VERSION_ID < 50600) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL; - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, $err); - } elseif (!headers_sent()) { - echo $err; - } - } - trigger_error( - $err, - E_USER_ERROR - ); +if ( PHP_VERSION_ID < 50600 ) { + if ( ! headers_sent() ) { + header( 'HTTP/1.1 500 Internal Server Error' ); + } + $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running ' . PHP_VERSION . ', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.' . PHP_EOL; + if ( ! ini_get( 'display_errors' ) ) { + if ( PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg' ) { + fwrite( STDERR, $err ); + } elseif ( ! headers_sent() ) { + echo $err; + } + } + trigger_error( + $err, + E_USER_ERROR + ); } require_once __DIR__ . '/composer/autoload_real.php'; diff --git a/lib/composer/ClassLoader.php b/lib/composer/ClassLoader.php index a72151c..5653dbf 100644 --- a/lib/composer/ClassLoader.php +++ b/lib/composer/ClassLoader.php @@ -40,546 +40,525 @@ * @see https://www.php-fig.org/psr/psr-0/ * @see https://www.php-fig.org/psr/psr-4/ */ -class ClassLoader -{ - /** @var \Closure(string):void */ - private static $includeFile; - - /** @var ?string */ - private $vendorDir; - - // PSR-4 - /** - * @var array[] - * @psalm-var array> - */ - private $prefixLengthsPsr4 = array(); - /** - * @var array[] - * @psalm-var array> - */ - private $prefixDirsPsr4 = array(); - /** - * @var array[] - * @psalm-var array - */ - private $fallbackDirsPsr4 = array(); - - // PSR-0 - /** - * @var array[] - * @psalm-var array> - */ - private $prefixesPsr0 = array(); - /** - * @var array[] - * @psalm-var array - */ - private $fallbackDirsPsr0 = array(); - - /** @var bool */ - private $useIncludePath = false; - - /** - * @var string[] - * @psalm-var array - */ - private $classMap = array(); - - /** @var bool */ - private $classMapAuthoritative = false; - - /** - * @var bool[] - * @psalm-var array - */ - private $missingClasses = array(); - - /** @var ?string */ - private $apcuPrefix; - - /** - * @var self[] - */ - private static $registeredLoaders = array(); - - /** - * @param ?string $vendorDir - */ - public function __construct($vendorDir = null) - { - $this->vendorDir = $vendorDir; - self::initializeIncludeClosure(); - } - - /** - * @return string[] - */ - public function getPrefixes() - { - if (!empty($this->prefixesPsr0)) { - return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); - } - - return array(); - } - - /** - * @return array[] - * @psalm-return array> - */ - public function getPrefixesPsr4() - { - return $this->prefixDirsPsr4; - } - - /** - * @return array[] - * @psalm-return array - */ - public function getFallbackDirs() - { - return $this->fallbackDirsPsr0; - } - - /** - * @return array[] - * @psalm-return array - */ - public function getFallbackDirsPsr4() - { - return $this->fallbackDirsPsr4; - } - - /** - * @return string[] Array of classname => path - * @psalm-return array - */ - public function getClassMap() - { - return $this->classMap; - } - - /** - * @param string[] $classMap Class to filename map - * @psalm-param array $classMap - * - * @return void - */ - public function addClassMap(array $classMap) - { - if ($this->classMap) { - $this->classMap = array_merge($this->classMap, $classMap); - } else { - $this->classMap = $classMap; - } - } - - /** - * Registers a set of PSR-0 directories for a given prefix, either - * appending or prepending to the ones previously set for this prefix. - * - * @param string $prefix The prefix - * @param string[]|string $paths The PSR-0 root directories - * @param bool $prepend Whether to prepend the directories - * - * @return void - */ - public function add($prefix, $paths, $prepend = false) - { - if (!$prefix) { - if ($prepend) { - $this->fallbackDirsPsr0 = array_merge( - (array) $paths, - $this->fallbackDirsPsr0 - ); - } else { - $this->fallbackDirsPsr0 = array_merge( - $this->fallbackDirsPsr0, - (array) $paths - ); - } - - return; - } - - $first = $prefix[0]; - if (!isset($this->prefixesPsr0[$first][$prefix])) { - $this->prefixesPsr0[$first][$prefix] = (array) $paths; - - return; - } - if ($prepend) { - $this->prefixesPsr0[$first][$prefix] = array_merge( - (array) $paths, - $this->prefixesPsr0[$first][$prefix] - ); - } else { - $this->prefixesPsr0[$first][$prefix] = array_merge( - $this->prefixesPsr0[$first][$prefix], - (array) $paths - ); - } - } - - /** - * Registers a set of PSR-4 directories for a given namespace, either - * appending or prepending to the ones previously set for this namespace. - * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param string[]|string $paths The PSR-4 base directories - * @param bool $prepend Whether to prepend the directories - * - * @throws \InvalidArgumentException - * - * @return void - */ - public function addPsr4($prefix, $paths, $prepend = false) - { - if (!$prefix) { - // Register directories for the root namespace. - if ($prepend) { - $this->fallbackDirsPsr4 = array_merge( - (array) $paths, - $this->fallbackDirsPsr4 - ); - } else { - $this->fallbackDirsPsr4 = array_merge( - $this->fallbackDirsPsr4, - (array) $paths - ); - } - } elseif (!isset($this->prefixDirsPsr4[$prefix])) { - // Register directories for a new namespace. - $length = strlen($prefix); - if ('\\' !== $prefix[$length - 1]) { - throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); - } - $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = (array) $paths; - } elseif ($prepend) { - // Prepend directories for an already registered namespace. - $this->prefixDirsPsr4[$prefix] = array_merge( - (array) $paths, - $this->prefixDirsPsr4[$prefix] - ); - } else { - // Append directories for an already registered namespace. - $this->prefixDirsPsr4[$prefix] = array_merge( - $this->prefixDirsPsr4[$prefix], - (array) $paths - ); - } - } - - /** - * Registers a set of PSR-0 directories for a given prefix, - * replacing any others previously set for this prefix. - * - * @param string $prefix The prefix - * @param string[]|string $paths The PSR-0 base directories - * - * @return void - */ - public function set($prefix, $paths) - { - if (!$prefix) { - $this->fallbackDirsPsr0 = (array) $paths; - } else { - $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; - } - } - - /** - * Registers a set of PSR-4 directories for a given namespace, - * replacing any others previously set for this namespace. - * - * @param string $prefix The prefix/namespace, with trailing '\\' - * @param string[]|string $paths The PSR-4 base directories - * - * @throws \InvalidArgumentException - * - * @return void - */ - public function setPsr4($prefix, $paths) - { - if (!$prefix) { - $this->fallbackDirsPsr4 = (array) $paths; - } else { - $length = strlen($prefix); - if ('\\' !== $prefix[$length - 1]) { - throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); - } - $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; - $this->prefixDirsPsr4[$prefix] = (array) $paths; - } - } - - /** - * Turns on searching the include path for class files. - * - * @param bool $useIncludePath - * - * @return void - */ - public function setUseIncludePath($useIncludePath) - { - $this->useIncludePath = $useIncludePath; - } - - /** - * Can be used to check if the autoloader uses the include path to check - * for classes. - * - * @return bool - */ - public function getUseIncludePath() - { - return $this->useIncludePath; - } - - /** - * Turns off searching the prefix and fallback directories for classes - * that have not been registered with the class map. - * - * @param bool $classMapAuthoritative - * - * @return void - */ - public function setClassMapAuthoritative($classMapAuthoritative) - { - $this->classMapAuthoritative = $classMapAuthoritative; - } - - /** - * Should class lookup fail if not found in the current class map? - * - * @return bool - */ - public function isClassMapAuthoritative() - { - return $this->classMapAuthoritative; - } - - /** - * APCu prefix to use to cache found/not-found classes, if the extension is enabled. - * - * @param string|null $apcuPrefix - * - * @return void - */ - public function setApcuPrefix($apcuPrefix) - { - $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; - } - - /** - * The APCu prefix in use, or null if APCu caching is not enabled. - * - * @return string|null - */ - public function getApcuPrefix() - { - return $this->apcuPrefix; - } - - /** - * Registers this instance as an autoloader. - * - * @param bool $prepend Whether to prepend the autoloader or not - * - * @return void - */ - public function register($prepend = false) - { - spl_autoload_register(array($this, 'loadClass'), true, $prepend); - - if (null === $this->vendorDir) { - return; - } - - if ($prepend) { - self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; - } else { - unset(self::$registeredLoaders[$this->vendorDir]); - self::$registeredLoaders[$this->vendorDir] = $this; - } - } - - /** - * Unregisters this instance as an autoloader. - * - * @return void - */ - public function unregister() - { - spl_autoload_unregister(array($this, 'loadClass')); - - if (null !== $this->vendorDir) { - unset(self::$registeredLoaders[$this->vendorDir]); - } - } - - /** - * Loads the given class or interface. - * - * @param string $class The name of the class - * @return true|null True if loaded, null otherwise - */ - public function loadClass($class) - { - if ($file = $this->findFile($class)) { - $includeFile = self::$includeFile; - $includeFile($file); - - return true; - } - - return null; - } - - /** - * Finds the path to the file where the class is defined. - * - * @param string $class The name of the class - * - * @return string|false The path if found, false otherwise - */ - public function findFile($class) - { - // class map lookup - if (isset($this->classMap[$class])) { - return $this->classMap[$class]; - } - if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { - return false; - } - if (null !== $this->apcuPrefix) { - $file = apcu_fetch($this->apcuPrefix.$class, $hit); - if ($hit) { - return $file; - } - } - - $file = $this->findFileWithExtension($class, '.php'); - - // Search for Hack files if we are running on HHVM - if (false === $file && defined('HHVM_VERSION')) { - $file = $this->findFileWithExtension($class, '.hh'); - } - - if (null !== $this->apcuPrefix) { - apcu_add($this->apcuPrefix.$class, $file); - } - - if (false === $file) { - // Remember that this class does not exist. - $this->missingClasses[$class] = true; - } - - return $file; - } - - /** - * Returns the currently registered loaders indexed by their corresponding vendor directories. - * - * @return self[] - */ - public static function getRegisteredLoaders() - { - return self::$registeredLoaders; - } - - /** - * @param string $class - * @param string $ext - * @return string|false - */ - private function findFileWithExtension($class, $ext) - { - // PSR-4 lookup - $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; - - $first = $class[0]; - if (isset($this->prefixLengthsPsr4[$first])) { - $subPath = $class; - while (false !== $lastPos = strrpos($subPath, '\\')) { - $subPath = substr($subPath, 0, $lastPos); - $search = $subPath . '\\'; - if (isset($this->prefixDirsPsr4[$search])) { - $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); - foreach ($this->prefixDirsPsr4[$search] as $dir) { - if (file_exists($file = $dir . $pathEnd)) { - return $file; - } - } - } - } - } - - // PSR-4 fallback dirs - foreach ($this->fallbackDirsPsr4 as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { - return $file; - } - } - - // PSR-0 lookup - if (false !== $pos = strrpos($class, '\\')) { - // namespaced class name - $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) - . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); - } else { - // PEAR-like class name - $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; - } - - if (isset($this->prefixesPsr0[$first])) { - foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { - if (0 === strpos($class, $prefix)) { - foreach ($dirs as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - } - } - } - - // PSR-0 fallback dirs - foreach ($this->fallbackDirsPsr0 as $dir) { - if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { - return $file; - } - } - - // PSR-0 include paths. - if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { - return $file; - } - - return false; - } - - /** - * @return void - */ - private static function initializeIncludeClosure() - { - if (self::$includeFile !== null) { - return; - } - - /** - * Scope isolated include. - * - * Prevents access to $this/self from included files. - * - * @param string $file - * @return void - */ - self::$includeFile = \Closure::bind(static function($file) { - include $file; - }, null, null); - } +class ClassLoader { + /** @var \Closure(string):void */ + private static $includeFile; + + /** @var ?string */ + private $vendorDir; + + // PSR-4 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixLengthsPsr4 = []; + /** + * @var array[] + * @psalm-var array> + */ + private $prefixDirsPsr4 = []; + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr4 = []; + + // PSR-0 + /** + * @var array[] + * @psalm-var array> + */ + private $prefixesPsr0 = []; + /** + * @var array[] + * @psalm-var array + */ + private $fallbackDirsPsr0 = []; + + /** @var bool */ + private $useIncludePath = false; + + /** + * @var string[] + * @psalm-var array + */ + private $classMap = []; + + /** @var bool */ + private $classMapAuthoritative = false; + + /** + * @var bool[] + * @psalm-var array + */ + private $missingClasses = []; + + /** @var ?string */ + private $apcuPrefix; + + /** + * @var self[] + */ + private static $registeredLoaders = []; + + /** + * @param ?string $vendorDir + */ + public function __construct( $vendorDir = null ) { + $this->vendorDir = $vendorDir; + self::initializeIncludeClosure(); + } + + /** + * @return string[] + */ + public function getPrefixes() { + if ( ! empty( $this->prefixesPsr0 ) ) { + return call_user_func_array( 'array_merge', array_values( $this->prefixesPsr0 ) ); + } + + return []; + } + + /** + * @return array[] + * @psalm-return array> + */ + public function getPrefixesPsr4() { + return $this->prefixDirsPsr4; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirs() { + return $this->fallbackDirsPsr0; + } + + /** + * @return array[] + * @psalm-return array + */ + public function getFallbackDirsPsr4() { + return $this->fallbackDirsPsr4; + } + + /** + * @return string[] Array of classname => path + * @psalm-return array + */ + public function getClassMap() { + return $this->classMap; + } + + /** + * @param string[] $classMap Class to filename map + * + * @psalm-param array $classMap + * + * @return void + */ + public function addClassMap( array $classMap ) { + if ( $this->classMap ) { + $this->classMap = array_merge( $this->classMap, $classMap ); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + */ + public function add( $prefix, $paths, $prepend = false ) { + if ( ! $prefix ) { + if ( $prepend ) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if ( ! isset( $this->prefixesPsr0[ $first ][ $prefix ] ) ) { + $this->prefixesPsr0[ $first ][ $prefix ] = (array) $paths; + + return; + } + if ( $prepend ) { + $this->prefixesPsr0[ $first ][ $prefix ] = array_merge( + (array) $paths, + $this->prefixesPsr0[ $first ][ $prefix ] + ); + } else { + $this->prefixesPsr0[ $first ][ $prefix ] = array_merge( + $this->prefixesPsr0[ $first ][ $prefix ], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @return void + * @throws \InvalidArgumentException + * + */ + public function addPsr4( $prefix, $paths, $prepend = false ) { + if ( ! $prefix ) { + // Register directories for the root namespace. + if ( $prepend ) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif ( ! isset( $this->prefixDirsPsr4[ $prefix ] ) ) { + // Register directories for a new namespace. + $length = strlen( $prefix ); + if ( '\\' !== $prefix[ $length - 1 ] ) { + throw new \InvalidArgumentException( "A non-empty PSR-4 prefix must end with a namespace separator." ); + } + $this->prefixLengthsPsr4[ $prefix[0] ][ $prefix ] = $length; + $this->prefixDirsPsr4[ $prefix ] = (array) $paths; + } elseif ( $prepend ) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[ $prefix ] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[ $prefix ] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[ $prefix ] = array_merge( + $this->prefixDirsPsr4[ $prefix ], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param string[]|string $paths The PSR-0 base directories + * + * @return void + */ + public function set( $prefix, $paths ) { + if ( ! $prefix ) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[ $prefix[0] ][ $prefix ] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param string[]|string $paths The PSR-4 base directories + * + * @return void + * @throws \InvalidArgumentException + * + */ + public function setPsr4( $prefix, $paths ) { + if ( ! $prefix ) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen( $prefix ); + if ( '\\' !== $prefix[ $length - 1 ] ) { + throw new \InvalidArgumentException( "A non-empty PSR-4 prefix must end with a namespace separator." ); + } + $this->prefixLengthsPsr4[ $prefix[0] ][ $prefix ] = $length; + $this->prefixDirsPsr4[ $prefix ] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + * + * @return void + */ + public function setUseIncludePath( $useIncludePath ) { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + * + * @return void + */ + public function setClassMapAuthoritative( $classMapAuthoritative ) { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + * + * @return void + */ + public function setApcuPrefix( $apcuPrefix ) { + $this->apcuPrefix = function_exists( 'apcu_fetch' ) && filter_var( ini_get( 'apc.enabled' ), FILTER_VALIDATE_BOOLEAN ) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + * + * @return void + */ + public function register( $prepend = false ) { + spl_autoload_register( [ $this, 'loadClass' ], true, $prepend ); + + if ( null === $this->vendorDir ) { + return; + } + + if ( $prepend ) { + self::$registeredLoaders = [ $this->vendorDir => $this ] + self::$registeredLoaders; + } else { + unset( self::$registeredLoaders[ $this->vendorDir ] ); + self::$registeredLoaders[ $this->vendorDir ] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + * + * @return void + */ + public function unregister() { + spl_autoload_unregister( [ $this, 'loadClass' ] ); + + if ( null !== $this->vendorDir ) { + unset( self::$registeredLoaders[ $this->vendorDir ] ); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * + * @return true|null True if loaded, null otherwise + */ + public function loadClass( $class ) { + if ( $file = $this->findFile( $class ) ) { + $includeFile = self::$includeFile; + $includeFile( $file ); + + return true; + } + + return null; + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile( $class ) { + // class map lookup + if ( isset( $this->classMap[ $class ] ) ) { + return $this->classMap[ $class ]; + } + if ( $this->classMapAuthoritative || isset( $this->missingClasses[ $class ] ) ) { + return false; + } + if ( null !== $this->apcuPrefix ) { + $file = apcu_fetch( $this->apcuPrefix . $class, $hit ); + if ( $hit ) { + return $file; + } + } + + $file = $this->findFileWithExtension( $class, '.php' ); + + // Search for Hack files if we are running on HHVM + if ( false === $file && defined( 'HHVM_VERSION' ) ) { + $file = $this->findFileWithExtension( $class, '.hh' ); + } + + if ( null !== $this->apcuPrefix ) { + apcu_add( $this->apcuPrefix . $class, $file ); + } + + if ( false === $file ) { + // Remember that this class does not exist. + $this->missingClasses[ $class ] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders indexed by their corresponding vendor directories. + * + * @return self[] + */ + public static function getRegisteredLoaders() { + return self::$registeredLoaders; + } + + /** + * @param string $class + * @param string $ext + * + * @return string|false + */ + private function findFileWithExtension( $class, $ext ) { + // PSR-4 lookup + $logicalPathPsr4 = strtr( $class, '\\', DIRECTORY_SEPARATOR ) . $ext; + + $first = $class[0]; + if ( isset( $this->prefixLengthsPsr4[ $first ] ) ) { + $subPath = $class; + while ( false !== $lastPos = strrpos( $subPath, '\\' ) ) { + $subPath = substr( $subPath, 0, $lastPos ); + $search = $subPath . '\\'; + if ( isset( $this->prefixDirsPsr4[ $search ] ) ) { + $pathEnd = DIRECTORY_SEPARATOR . substr( $logicalPathPsr4, $lastPos + 1 ); + foreach ( $this->prefixDirsPsr4[ $search ] as $dir ) { + if ( file_exists( $file = $dir . $pathEnd ) ) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ( $this->fallbackDirsPsr4 as $dir ) { + if ( file_exists( $file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4 ) ) { + return $file; + } + } + + // PSR-0 lookup + if ( false !== $pos = strrpos( $class, '\\' ) ) { + // namespaced class name + $logicalPathPsr0 = substr( $logicalPathPsr4, 0, $pos + 1 ) + . strtr( substr( $logicalPathPsr4, $pos + 1 ), '_', DIRECTORY_SEPARATOR ); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr( $class, '_', DIRECTORY_SEPARATOR ) . $ext; + } + + if ( isset( $this->prefixesPsr0[ $first ] ) ) { + foreach ( $this->prefixesPsr0[ $first ] as $prefix => $dirs ) { + if ( 0 === strpos( $class, $prefix ) ) { + foreach ( $dirs as $dir ) { + if ( file_exists( $file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0 ) ) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ( $this->fallbackDirsPsr0 as $dir ) { + if ( file_exists( $file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0 ) ) { + return $file; + } + } + + // PSR-0 include paths. + if ( $this->useIncludePath && $file = stream_resolve_include_path( $logicalPathPsr0 ) ) { + return $file; + } + + return false; + } + + /** + * @return void + */ + private static function initializeIncludeClosure() { + if ( self::$includeFile !== null ) { + return; + } + + /** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + * + * @param string $file + * + * @return void + */ + self::$includeFile = \Closure::bind( static function ( $file ) { + include $file; + }, null, null ); + } } diff --git a/lib/composer/InstalledVersions.php b/lib/composer/InstalledVersions.php index 51e734a..df64814 100644 --- a/lib/composer/InstalledVersions.php +++ b/lib/composer/InstalledVersions.php @@ -24,336 +24,330 @@ * * @final */ -class InstalledVersions -{ - /** - * @var mixed[]|null - * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null - */ - private static $installed; - - /** - * @var bool|null - */ - private static $canGetVendors; - - /** - * @var array[] - * @psalm-var array}> - */ - private static $installedByVendor = array(); - - /** - * Returns a list of all package names which are present, either by being installed, replaced or provided - * - * @return string[] - * @psalm-return list - */ - public static function getInstalledPackages() - { - $packages = array(); - foreach (self::getInstalled() as $installed) { - $packages[] = array_keys($installed['versions']); - } - - if (1 === \count($packages)) { - return $packages[0]; - } - - return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); - } - - /** - * Returns a list of all package names with a specific type e.g. 'library' - * - * @param string $type - * @return string[] - * @psalm-return list - */ - public static function getInstalledPackagesByType($type) - { - $packagesByType = array(); - - foreach (self::getInstalled() as $installed) { - foreach ($installed['versions'] as $name => $package) { - if (isset($package['type']) && $package['type'] === $type) { - $packagesByType[] = $name; - } - } - } - - return $packagesByType; - } - - /** - * Checks whether the given package is installed - * - * This also returns true if the package name is provided or replaced by another package - * - * @param string $packageName - * @param bool $includeDevRequirements - * @return bool - */ - public static function isInstalled($packageName, $includeDevRequirements = true) - { - foreach (self::getInstalled() as $installed) { - if (isset($installed['versions'][$packageName])) { - return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false; - } - } - - return false; - } - - /** - * Checks whether the given package satisfies a version constraint - * - * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: - * - * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') - * - * @param VersionParser $parser Install composer/semver to have access to this class and functionality - * @param string $packageName - * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package - * @return bool - */ - public static function satisfies(VersionParser $parser, $packageName, $constraint) - { - $constraint = $parser->parseConstraints((string) $constraint); - $provided = $parser->parseConstraints(self::getVersionRanges($packageName)); - - return $provided->matches($constraint); - } - - /** - * Returns a version constraint representing all the range(s) which are installed for a given package - * - * It is easier to use this via isInstalled() with the $constraint argument if you need to check - * whether a given version of a package is installed, and not just whether it exists - * - * @param string $packageName - * @return string Version constraint usable with composer/semver - */ - public static function getVersionRanges($packageName) - { - foreach (self::getInstalled() as $installed) { - if (!isset($installed['versions'][$packageName])) { - continue; - } - - $ranges = array(); - if (isset($installed['versions'][$packageName]['pretty_version'])) { - $ranges[] = $installed['versions'][$packageName]['pretty_version']; - } - if (array_key_exists('aliases', $installed['versions'][$packageName])) { - $ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); - } - if (array_key_exists('replaced', $installed['versions'][$packageName])) { - $ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); - } - if (array_key_exists('provided', $installed['versions'][$packageName])) { - $ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); - } - - return implode(' || ', $ranges); - } - - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); - } - - /** - * @param string $packageName - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present - */ - public static function getVersion($packageName) - { - foreach (self::getInstalled() as $installed) { - if (!isset($installed['versions'][$packageName])) { - continue; - } - - if (!isset($installed['versions'][$packageName]['version'])) { - return null; - } - - return $installed['versions'][$packageName]['version']; - } - - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); - } - - /** - * @param string $packageName - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present - */ - public static function getPrettyVersion($packageName) - { - foreach (self::getInstalled() as $installed) { - if (!isset($installed['versions'][$packageName])) { - continue; - } - - if (!isset($installed['versions'][$packageName]['pretty_version'])) { - return null; - } - - return $installed['versions'][$packageName]['pretty_version']; - } - - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); - } - - /** - * @param string $packageName - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference - */ - public static function getReference($packageName) - { - foreach (self::getInstalled() as $installed) { - if (!isset($installed['versions'][$packageName])) { - continue; - } - - if (!isset($installed['versions'][$packageName]['reference'])) { - return null; - } - - return $installed['versions'][$packageName]['reference']; - } - - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); - } - - /** - * @param string $packageName - * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. - */ - public static function getInstallPath($packageName) - { - foreach (self::getInstalled() as $installed) { - if (!isset($installed['versions'][$packageName])) { - continue; - } - - return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null; - } - - throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); - } - - /** - * @return array - * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} - */ - public static function getRootPackage() - { - $installed = self::getInstalled(); - - return $installed[0]['root']; - } - - /** - * Returns the raw installed.php data for custom implementations - * - * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. - * @return array[] - * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} - */ - public static function getRawData() - { - @trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED); - - if (null === self::$installed) { - // only require the installed.php file if this file is loaded from its dumped location, - // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 - if (substr(__DIR__, -8, 1) !== 'C') { - self::$installed = include __DIR__ . '/installed.php'; - } else { - self::$installed = array(); - } - } - - return self::$installed; - } - - /** - * Returns the raw data of all installed.php which are currently loaded for custom implementations - * - * @return array[] - * @psalm-return list}> - */ - public static function getAllRawData() - { - return self::getInstalled(); - } - - /** - * Lets you reload the static array from another file - * - * This is only useful for complex integrations in which a project needs to use - * this class but then also needs to execute another project's autoloader in process, - * and wants to ensure both projects have access to their version of installed.php. - * - * A typical case would be PHPUnit, where it would need to make sure it reads all - * the data it needs from this class, then call reload() with - * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure - * the project in which it runs can then also use this class safely, without - * interference between PHPUnit's dependencies and the project's dependencies. - * - * @param array[] $data A vendor/composer/installed.php data set - * @return void - * - * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $data - */ - public static function reload($data) - { - self::$installed = $data; - self::$installedByVendor = array(); - } - - /** - * @return array[] - * @psalm-return list}> - */ - private static function getInstalled() - { - if (null === self::$canGetVendors) { - self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); - } - - $installed = array(); - - if (self::$canGetVendors) { - foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { - if (isset(self::$installedByVendor[$vendorDir])) { - $installed[] = self::$installedByVendor[$vendorDir]; - } elseif (is_file($vendorDir.'/composer/installed.php')) { - /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ - $required = require $vendorDir.'/composer/installed.php'; - $installed[] = self::$installedByVendor[$vendorDir] = $required; - if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) { - self::$installed = $installed[count($installed) - 1]; - } - } - } - } - - if (null === self::$installed) { - // only require the installed.php file if this file is loaded from its dumped location, - // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 - if (substr(__DIR__, -8, 1) !== 'C') { - /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ - $required = require __DIR__ . '/installed.php'; - self::$installed = $required; - } else { - self::$installed = array(); - } - } - - if (self::$installed !== array()) { - $installed[] = self::$installed; - } - - return $installed; - } +class InstalledVersions { + /** + * @var mixed[]|null + * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array}|array{}|null + */ + private static $installed; + + /** + * @var bool|null + */ + private static $canGetVendors; + + /** + * @var array[] + * @psalm-var array}> + */ + private static $installedByVendor = []; + + /** + * Returns a list of all package names which are present, either by being installed, replaced or provided + * + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackages() { + $packages = []; + foreach ( self::getInstalled() as $installed ) { + $packages[] = array_keys( $installed['versions'] ); + } + + if ( 1 === \count( $packages ) ) { + return $packages[0]; + } + + return array_keys( array_flip( \call_user_func_array( 'array_merge', $packages ) ) ); + } + + /** + * Returns a list of all package names with a specific type e.g. 'library' + * + * @param string $type + * + * @return string[] + * @psalm-return list + */ + public static function getInstalledPackagesByType( $type ) { + $packagesByType = []; + + foreach ( self::getInstalled() as $installed ) { + foreach ( $installed['versions'] as $name => $package ) { + if ( isset( $package['type'] ) && $package['type'] === $type ) { + $packagesByType[] = $name; + } + } + } + + return $packagesByType; + } + + /** + * Checks whether the given package is installed + * + * This also returns true if the package name is provided or replaced by another package + * + * @param string $packageName + * @param bool $includeDevRequirements + * + * @return bool + */ + public static function isInstalled( $packageName, $includeDevRequirements = true ) { + foreach ( self::getInstalled() as $installed ) { + if ( isset( $installed['versions'][ $packageName ] ) ) { + return $includeDevRequirements || ! isset( $installed['versions'][ $packageName ]['dev_requirement'] ) || $installed['versions'][ $packageName ]['dev_requirement'] === false; + } + } + + return false; + } + + /** + * Checks whether the given package satisfies a version constraint + * + * e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call: + * + * Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3') + * + * @param VersionParser $parser Install composer/semver to have access to this class and functionality + * @param string $packageName + * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package + * + * @return bool + */ + public static function satisfies( VersionParser $parser, $packageName, $constraint ) { + $constraint = $parser->parseConstraints( (string) $constraint ); + $provided = $parser->parseConstraints( self::getVersionRanges( $packageName ) ); + + return $provided->matches( $constraint ); + } + + /** + * Returns a version constraint representing all the range(s) which are installed for a given package + * + * It is easier to use this via isInstalled() with the $constraint argument if you need to check + * whether a given version of a package is installed, and not just whether it exists + * + * @param string $packageName + * + * @return string Version constraint usable with composer/semver + */ + public static function getVersionRanges( $packageName ) { + foreach ( self::getInstalled() as $installed ) { + if ( ! isset( $installed['versions'][ $packageName ] ) ) { + continue; + } + + $ranges = []; + if ( isset( $installed['versions'][ $packageName ]['pretty_version'] ) ) { + $ranges[] = $installed['versions'][ $packageName ]['pretty_version']; + } + if ( array_key_exists( 'aliases', $installed['versions'][ $packageName ] ) ) { + $ranges = array_merge( $ranges, $installed['versions'][ $packageName ]['aliases'] ); + } + if ( array_key_exists( 'replaced', $installed['versions'][ $packageName ] ) ) { + $ranges = array_merge( $ranges, $installed['versions'][ $packageName ]['replaced'] ); + } + if ( array_key_exists( 'provided', $installed['versions'][ $packageName ] ) ) { + $ranges = array_merge( $ranges, $installed['versions'][ $packageName ]['provided'] ); + } + + return implode( ' || ', $ranges ); + } + + throw new \OutOfBoundsException( 'Package "' . $packageName . '" is not installed' ); + } + + /** + * @param string $packageName + * + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getVersion( $packageName ) { + foreach ( self::getInstalled() as $installed ) { + if ( ! isset( $installed['versions'][ $packageName ] ) ) { + continue; + } + + if ( ! isset( $installed['versions'][ $packageName ]['version'] ) ) { + return null; + } + + return $installed['versions'][ $packageName ]['version']; + } + + throw new \OutOfBoundsException( 'Package "' . $packageName . '" is not installed' ); + } + + /** + * @param string $packageName + * + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present + */ + public static function getPrettyVersion( $packageName ) { + foreach ( self::getInstalled() as $installed ) { + if ( ! isset( $installed['versions'][ $packageName ] ) ) { + continue; + } + + if ( ! isset( $installed['versions'][ $packageName ]['pretty_version'] ) ) { + return null; + } + + return $installed['versions'][ $packageName ]['pretty_version']; + } + + throw new \OutOfBoundsException( 'Package "' . $packageName . '" is not installed' ); + } + + /** + * @param string $packageName + * + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference + */ + public static function getReference( $packageName ) { + foreach ( self::getInstalled() as $installed ) { + if ( ! isset( $installed['versions'][ $packageName ] ) ) { + continue; + } + + if ( ! isset( $installed['versions'][ $packageName ]['reference'] ) ) { + return null; + } + + return $installed['versions'][ $packageName ]['reference']; + } + + throw new \OutOfBoundsException( 'Package "' . $packageName . '" is not installed' ); + } + + /** + * @param string $packageName + * + * @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. + */ + public static function getInstallPath( $packageName ) { + foreach ( self::getInstalled() as $installed ) { + if ( ! isset( $installed['versions'][ $packageName ] ) ) { + continue; + } + + return isset( $installed['versions'][ $packageName ]['install_path'] ) ? $installed['versions'][ $packageName ]['install_path'] : null; + } + + throw new \OutOfBoundsException( 'Package "' . $packageName . '" is not installed' ); + } + + /** + * @return array + * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool} + */ + public static function getRootPackage() { + $installed = self::getInstalled(); + + return $installed[0]['root']; + } + + /** + * Returns the raw installed.php data for custom implementations + * + * @return array[] + * @psalm-return array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} + * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. + */ + public static function getRawData() { + @trigger_error( 'getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED ); + + if ( null === self::$installed ) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if ( substr( __DIR__, - 8, 1 ) !== 'C' ) { + self::$installed = include __DIR__ . '/installed.php'; + } else { + self::$installed = []; + } + } + + return self::$installed; + } + + /** + * Returns the raw data of all installed.php which are currently loaded for custom implementations + * + * @return array[] + * @psalm-return list}> + */ + public static function getAllRawData() { + return self::getInstalled(); + } + + /** + * Lets you reload the static array from another file + * + * This is only useful for complex integrations in which a project needs to use + * this class but then also needs to execute another project's autoloader in process, + * and wants to ensure both projects have access to their version of installed.php. + * + * A typical case would be PHPUnit, where it would need to make sure it reads all + * the data it needs from this class, then call reload() with + * `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure + * the project in which it runs can then also use this class safely, without + * interference between PHPUnit's dependencies and the project's dependencies. + * + * @param array[] $data A vendor/composer/installed.php data set + * + * @return void + * + * @psalm-param array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $data + */ + public static function reload( $data ) { + self::$installed = $data; + self::$installedByVendor = []; + } + + /** + * @return array[] + * @psalm-return list}> + */ + private static function getInstalled() { + if ( null === self::$canGetVendors ) { + self::$canGetVendors = method_exists( 'Composer\Autoload\ClassLoader', 'getRegisteredLoaders' ); + } + + $installed = []; + + if ( self::$canGetVendors ) { + foreach ( ClassLoader::getRegisteredLoaders() as $vendorDir => $loader ) { + if ( isset( self::$installedByVendor[ $vendorDir ] ) ) { + $installed[] = self::$installedByVendor[ $vendorDir ]; + } elseif ( is_file( $vendorDir . '/composer/installed.php' ) ) { + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require $vendorDir . '/composer/installed.php'; + $installed[] = self::$installedByVendor[ $vendorDir ] = $required; + if ( null === self::$installed && strtr( $vendorDir . '/composer', '\\', '/' ) === strtr( __DIR__, '\\', '/' ) ) { + self::$installed = $installed[ count( $installed ) - 1 ]; + } + } + } + } + + if ( null === self::$installed ) { + // only require the installed.php file if this file is loaded from its dumped location, + // and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937 + if ( substr( __DIR__, - 8, 1 ) !== 'C' ) { + /** @var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array} $required */ + $required = require __DIR__ . '/installed.php'; + self::$installed = $required; + } else { + self::$installed = []; + } + } + + if ( self::$installed !== [] ) { + $installed[] = self::$installed; + } + + return $installed; + } } diff --git a/lib/composer/autoload_classmap.php b/lib/composer/autoload_classmap.php index 0fb0a2c..1ea0d62 100644 --- a/lib/composer/autoload_classmap.php +++ b/lib/composer/autoload_classmap.php @@ -2,9 +2,9 @@ // autoload_classmap.php @generated by Composer -$vendorDir = dirname(__DIR__); -$baseDir = dirname($vendorDir); +$vendorDir = dirname( __DIR__ ); +$baseDir = dirname( $vendorDir ); -return array( - 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', -); +return [ + 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php', +]; diff --git a/lib/composer/autoload_files.php b/lib/composer/autoload_files.php index be8e1c3..c23e660 100644 --- a/lib/composer/autoload_files.php +++ b/lib/composer/autoload_files.php @@ -2,9 +2,9 @@ // autoload_files.php @generated by Composer -$vendorDir = dirname(__DIR__); -$baseDir = dirname($vendorDir); +$vendorDir = dirname( __DIR__ ); +$baseDir = dirname( $vendorDir ); -return array( - '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', -); +return [ + '6e3fae29631ef280660b3cdad06f25a8' => $vendorDir . '/symfony/deprecation-contracts/function.php', +]; diff --git a/lib/composer/autoload_namespaces.php b/lib/composer/autoload_namespaces.php index 15a2ff3..fb22bd6 100644 --- a/lib/composer/autoload_namespaces.php +++ b/lib/composer/autoload_namespaces.php @@ -2,8 +2,8 @@ // autoload_namespaces.php @generated by Composer -$vendorDir = dirname(__DIR__); -$baseDir = dirname($vendorDir); +$vendorDir = dirname( __DIR__ ); +$baseDir = dirname( $vendorDir ); -return array( -); +return [ +]; diff --git a/lib/composer/autoload_psr4.php b/lib/composer/autoload_psr4.php index d862b4f..9da9f37 100644 --- a/lib/composer/autoload_psr4.php +++ b/lib/composer/autoload_psr4.php @@ -2,11 +2,11 @@ // autoload_psr4.php @generated by Composer -$vendorDir = dirname(__DIR__); -$baseDir = dirname($vendorDir); +$vendorDir = dirname( __DIR__ ); +$baseDir = dirname( $vendorDir ); -return array( - 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), - 'Faker\\' => array($vendorDir . '/fakerphp/faker/src/Faker'), - 'Cbx\\Careertoolkit\\' => array($baseDir . '/includes'), -); +return [ + 'Psr\\Container\\' => [ $vendorDir . '/psr/container/src' ], + 'Faker\\' => [ $vendorDir . '/fakerphp/faker/src/Faker' ], + 'Cbx\\Careertoolkit\\' => [ $baseDir . '/includes' ], +]; diff --git a/lib/composer/autoload_real.php b/lib/composer/autoload_real.php index 17bd87b..5a7ffef 100644 --- a/lib/composer/autoload_real.php +++ b/lib/composer/autoload_real.php @@ -2,49 +2,49 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817 -{ - private static $loader; - - public static function loadClassLoader($class) - { - if ('Composer\Autoload\ClassLoader' === $class) { - require __DIR__ . '/ClassLoader.php'; - } - } - - /** - * @return \Composer\Autoload\ClassLoader - */ - public static function getLoader() - { - if (null !== self::$loader) { - return self::$loader; - } - - require __DIR__ . '/platform_check.php'; - - spl_autoload_register(array('ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817', 'loadClassLoader'), true, true); - self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817', 'loadClassLoader')); - - require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit660ce0766d71816ac8264ce30cb08817::getInitializer($loader)); - - $loader->register(true); - - $filesToLoad = \Composer\Autoload\ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$files; - $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { - if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { - $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; - - require $file; - } - }, null, null); - foreach ($filesToLoad as $fileIdentifier => $file) { - $requireFile($fileIdentifier, $file); - } - - return $loader; - } +class ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817 { + private static $loader; + + public static function loadClassLoader( $class ) { + if ( 'Composer\Autoload\ClassLoader' === $class ) { + require __DIR__ . '/ClassLoader.php'; + } + } + + /** + * @return \Composer\Autoload\ClassLoader + */ + public static function getLoader() { + if ( null !== self::$loader ) { + return self::$loader; + } + + require __DIR__ . '/platform_check.php'; + + spl_autoload_register( [ + 'ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817', + 'loadClassLoader' + ], true, true ); + self::$loader = $loader = new \Composer\Autoload\ClassLoader( \dirname( __DIR__ ) ); + spl_autoload_unregister( [ 'ComposerAutoloaderInit660ce0766d71816ac8264ce30cb08817', 'loadClassLoader' ] ); + + require __DIR__ . '/autoload_static.php'; + call_user_func( \Composer\Autoload\ComposerStaticInit660ce0766d71816ac8264ce30cb08817::getInitializer( $loader ) ); + + $loader->register( true ); + + $filesToLoad = \Composer\Autoload\ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$files; + $requireFile = \Closure::bind( static function ( $fileIdentifier, $file ) { + if ( empty( $GLOBALS['__composer_autoload_files'][ $fileIdentifier ] ) ) { + $GLOBALS['__composer_autoload_files'][ $fileIdentifier ] = true; + + require $file; + } + }, null, null ); + foreach ( $filesToLoad as $fileIdentifier => $file ) { + $requireFile( $fileIdentifier, $file ); + } + + return $loader; + } } diff --git a/lib/composer/autoload_static.php b/lib/composer/autoload_static.php index 728edb1..a74f71e 100644 --- a/lib/composer/autoload_static.php +++ b/lib/composer/autoload_static.php @@ -4,53 +4,51 @@ namespace Composer\Autoload; -class ComposerStaticInit660ce0766d71816ac8264ce30cb08817 -{ - public static $files = array( - '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', - ); - - public static $prefixLengthsPsr4 = array( - 'P' => - array( - 'Psr\\Container\\' => 14, - ), - 'F' => - array( - 'Faker\\' => 6, - ), - 'C' => - array( - 'Cbx\\Careertoolkit\\' => 15, - ), - ); - - public static $prefixDirsPsr4 = array( - 'Psr\\Container\\' => - array( - 0 => __DIR__ . '/..' . '/psr/container/src', - ), - 'Faker\\' => - array( - 0 => __DIR__ . '/..' . '/fakerphp/faker/src/Faker', - ), - 'Cbx\\Careertoolkit\\' => - array( - 0 => __DIR__ . '/../..' . '/includes', - ), - ); - - public static $classMap = array( - 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', - ); - - public static function getInitializer(ClassLoader $loader) - { - return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$classMap; - - }, null, ClassLoader::class); - } +class ComposerStaticInit660ce0766d71816ac8264ce30cb08817 { + public static $files = [ + '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', + ]; + + public static $prefixLengthsPsr4 = [ + 'P' => + [ + 'Psr\\Container\\' => 14, + ], + 'F' => + [ + 'Faker\\' => 6, + ], + 'C' => + [ + 'Cbx\\Careertoolkit\\' => 15, + ], + ]; + + public static $prefixDirsPsr4 = [ + 'Psr\\Container\\' => + [ + 0 => __DIR__ . '/..' . '/psr/container/src', + ], + 'Faker\\' => + [ + 0 => __DIR__ . '/..' . '/fakerphp/faker/src/Faker', + ], + 'Cbx\\Careertoolkit\\' => + [ + 0 => __DIR__ . '/../..' . '/includes', + ], + ]; + + public static $classMap = [ + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + ]; + + public static function getInitializer( ClassLoader $loader ) { + return \Closure::bind( function () use ( $loader ) { + $loader->prefixLengthsPsr4 = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit660ce0766d71816ac8264ce30cb08817::$classMap; + + }, null, ClassLoader::class ); + } } diff --git a/lib/composer/installed.php b/lib/composer/installed.php index 9593cb1..e464806 100644 --- a/lib/composer/installed.php +++ b/lib/composer/installed.php @@ -1,50 +1,50 @@ - array( - 'name' => 'cbx/dev-toolkit', - 'pretty_version' => 'dev-dev', - 'version' => 'dev-dev', - 'reference' => '14c5a0f0fcb4beac5a0400b90cbb8ab2b3ea072a', - 'type' => 'library', - 'install_path' => __DIR__ . '/../../', - 'aliases' => array(), - 'dev' => true, - ), - 'versions' => array( - 'cbx/dev-toolkit' => array( - 'pretty_version' => 'dev-dev', - 'version' => 'dev-dev', - 'reference' => '14c5a0f0fcb4beac5a0400b90cbb8ab2b3ea072a', - 'type' => 'library', - 'install_path' => __DIR__ . '/../../', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'fakerphp/faker' => array( - 'pretty_version' => 'v1.23.0', - 'version' => '1.23.0.0', - 'reference' => 'e3daa170d00fde61ea7719ef47bb09bb8f1d9b01', - 'type' => 'library', - 'install_path' => __DIR__ . '/../fakerphp/faker', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'psr/container' => array( - 'pretty_version' => '2.0.2', - 'version' => '2.0.2.0', - 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', - 'type' => 'library', - 'install_path' => __DIR__ . '/../psr/container', - 'aliases' => array(), - 'dev_requirement' => false, - ), - 'symfony/deprecation-contracts' => array( - 'pretty_version' => 'v2.5.2', - 'version' => '2.5.2.0', - 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', - 'type' => 'library', - 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', - 'aliases' => array(), - 'dev_requirement' => false, - ), - ), -); + [ + 'name' => 'cbx/dev-toolkit', + 'pretty_version' => 'dev-dev', + 'version' => 'dev-dev', + 'reference' => '14c5a0f0fcb4beac5a0400b90cbb8ab2b3ea072a', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => [], + 'dev' => true, + ], + 'versions' => [ + 'cbx/dev-toolkit' => [ + 'pretty_version' => 'dev-dev', + 'version' => 'dev-dev', + 'reference' => '14c5a0f0fcb4beac5a0400b90cbb8ab2b3ea072a', + 'type' => 'library', + 'install_path' => __DIR__ . '/../../', + 'aliases' => [], + 'dev_requirement' => false, + ], + 'fakerphp/faker' => [ + 'pretty_version' => 'v1.23.0', + 'version' => '1.23.0.0', + 'reference' => 'e3daa170d00fde61ea7719ef47bb09bb8f1d9b01', + 'type' => 'library', + 'install_path' => __DIR__ . '/../fakerphp/faker', + 'aliases' => [], + 'dev_requirement' => false, + ], + 'psr/container' => [ + 'pretty_version' => '2.0.2', + 'version' => '2.0.2.0', + 'reference' => 'c71ecc56dfe541dbd90c5360474fbc405f8d5963', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/container', + 'aliases' => [], + 'dev_requirement' => false, + ], + 'symfony/deprecation-contracts' => [ + 'pretty_version' => 'v2.5.2', + 'version' => '2.5.2.0', + 'reference' => 'e8b495ea28c1d97b5e0c121748d6f9b53d075c66', + 'type' => 'library', + 'install_path' => __DIR__ . '/../symfony/deprecation-contracts', + 'aliases' => [], + 'dev_requirement' => false, + ], + ], +]; diff --git a/lib/composer/platform_check.php b/lib/composer/platform_check.php index 580fa96..0da3364 100644 --- a/lib/composer/platform_check.php +++ b/lib/composer/platform_check.php @@ -2,25 +2,25 @@ // platform_check.php @generated by Composer -$issues = array(); +$issues = []; -if (!(PHP_VERSION_ID >= 70400)) { - $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; +if ( ! ( PHP_VERSION_ID >= 70400 ) ) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; } -if ($issues) { - if (!headers_sent()) { - header('HTTP/1.1 500 Internal Server Error'); - } - if (!ini_get('display_errors')) { - if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { - fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); - } elseif (!headers_sent()) { - echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; - } - } - trigger_error( - 'Composer detected issues in your platform: ' . implode(' ', $issues), - E_USER_ERROR - ); +if ( $issues ) { + if ( ! headers_sent() ) { + header( 'HTTP/1.1 500 Internal Server Error' ); + } + if ( ! ini_get( 'display_errors' ) ) { + if ( PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg' ) { + fwrite( STDERR, 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . implode( PHP_EOL, $issues ) . PHP_EOL . PHP_EOL ); + } elseif ( ! headers_sent() ) { + echo 'Composer detected issues in your platform:' . PHP_EOL . PHP_EOL . str_replace( 'You are running ' . PHP_VERSION . '.', '', implode( PHP_EOL, $issues ) ) . PHP_EOL . PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode( ' ', $issues ), + E_USER_ERROR + ); } diff --git a/lib/fakerphp/faker/rector-migrate.php b/lib/fakerphp/faker/rector-migrate.php index 7d99b57..305e9a9 100644 --- a/lib/fakerphp/faker/rector-migrate.php +++ b/lib/fakerphp/faker/rector-migrate.php @@ -1,161 +1,161 @@ ruleWithConfiguration( - Transform\Rector\Assign\PropertyFetchToMethodCallRector::class, - array_map(static function (string $property): Transform\ValueObject\PropertyFetchToMethodCall { - return new Transform\ValueObject\PropertyFetchToMethodCall( - Generator::class, - $property, - $property, - ); - }, $properties), - ); + $rectorConfig->ruleWithConfiguration( + Transform\Rector\Assign\PropertyFetchToMethodCallRector::class, + array_map( static function ( string $property ): Transform\ValueObject\PropertyFetchToMethodCall { + return new Transform\ValueObject\PropertyFetchToMethodCall( + Generator::class, + $property, + $property, + ); + }, $properties ), + ); }; diff --git a/lib/fakerphp/faker/src/Faker/Calculator/Ean.php b/lib/fakerphp/faker/src/Faker/Calculator/Ean.php index 9c3daf1..0d400e1 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/Ean.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/Ean.php @@ -5,48 +5,45 @@ /** * Utility class for validating EAN-8 and EAN-13 numbers */ -class Ean -{ - /** - * @var string EAN validation pattern - */ - public const PATTERN = '/^(?:\d{8}|\d{13})$/'; +class Ean { + /** + * @var string EAN validation pattern + */ + public const PATTERN = '/^(?:\d{8}|\d{13})$/'; - /** - * Computes the checksum of an EAN number. - * - * @see https://en.wikipedia.org/wiki/International_Article_Number - * - * @param string $digits - * - * @return int - */ - public static function checksum($digits) - { - $sequence = (strlen($digits) + 1) === 8 ? [3, 1] : [1, 3]; - $sums = 0; + /** + * Computes the checksum of an EAN number. + * + * @see https://en.wikipedia.org/wiki/International_Article_Number + * + * @param string $digits + * + * @return int + */ + public static function checksum( $digits ) { + $sequence = ( strlen( $digits ) + 1 ) === 8 ? [ 3, 1 ] : [ 1, 3 ]; + $sums = 0; - foreach (str_split($digits) as $n => $digit) { - $sums += ((int) $digit) * $sequence[$n % 2]; - } + foreach ( str_split( $digits ) as $n => $digit ) { + $sums += ( (int) $digit ) * $sequence[ $n % 2 ]; + } - return (10 - $sums % 10) % 10; - } + return ( 10 - $sums % 10 ) % 10; + } - /** - * Checks whether the provided number is an EAN compliant number and that - * the checksum is correct. - * - * @param string $ean An EAN number - * - * @return bool - */ - public static function isValid($ean) - { - if (!preg_match(self::PATTERN, $ean)) { - return false; - } + /** + * Checks whether the provided number is an EAN compliant number and that + * the checksum is correct. + * + * @param string $ean An EAN number + * + * @return bool + */ + public static function isValid( $ean ) { + if ( ! preg_match( self::PATTERN, $ean ) ) { + return false; + } - return self::checksum(substr($ean, 0, -1)) === (int) substr($ean, -1); - } + return self::checksum( substr( $ean, 0, - 1 ) ) === (int) substr( $ean, - 1 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Calculator/Iban.php b/lib/fakerphp/faker/src/Faker/Calculator/Iban.php index b00b18f..01da696 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/Iban.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/Iban.php @@ -2,74 +2,69 @@ namespace Faker\Calculator; -class Iban -{ - /** - * Generates IBAN Checksum - * - * @param string $iban - * - * @return string Checksum (numeric string) - */ - public static function checksum($iban) - { - // Move first four digits to end and set checksum to '00' - $checkString = substr($iban, 4) . substr($iban, 0, 2) . '00'; +class Iban { + /** + * Generates IBAN Checksum + * + * @param string $iban + * + * @return string Checksum (numeric string) + */ + public static function checksum( $iban ) { + // Move first four digits to end and set checksum to '00' + $checkString = substr( $iban, 4 ) . substr( $iban, 0, 2 ) . '00'; - // Replace all letters with their number equivalents - $checkString = preg_replace_callback( - '/[A-Z]/', - static function (array $matches): string { - return (string) self::alphaToNumber($matches[0]); - }, - $checkString, - ); + // Replace all letters with their number equivalents + $checkString = preg_replace_callback( + '/[A-Z]/', + static function ( array $matches ): string { + return (string) self::alphaToNumber( $matches[0] ); + }, + $checkString, + ); - // Perform mod 97 and subtract from 98 - $checksum = 98 - self::mod97($checkString); + // Perform mod 97 and subtract from 98 + $checksum = 98 - self::mod97( $checkString ); - return str_pad($checksum, 2, '0', STR_PAD_LEFT); - } + return str_pad( $checksum, 2, '0', STR_PAD_LEFT ); + } - /** - * Converts letter to number - * - * @param string $char - * - * @return int - */ - public static function alphaToNumber($char) - { - return ord($char) - 55; - } + /** + * Converts letter to number + * + * @param string $char + * + * @return int + */ + public static function alphaToNumber( $char ) { + return ord( $char ) - 55; + } - /** - * Calculates mod97 on a numeric string - * - * @param string $number Numeric string - * - * @return int - */ - public static function mod97($number) - { - $checksum = (int) $number[0]; + /** + * Calculates mod97 on a numeric string + * + * @param string $number Numeric string + * + * @return int + */ + public static function mod97( $number ) { + $checksum = (int) $number[0]; - for ($i = 1, $size = strlen($number); $i < $size; ++$i) { - $checksum = (10 * $checksum + (int) $number[$i]) % 97; - } + for ( $i = 1, $size = strlen( $number ); $i < $size; ++ $i ) { + $checksum = ( 10 * $checksum + (int) $number[ $i ] ) % 97; + } - return $checksum; - } + return $checksum; + } - /** - * Checks whether an IBAN has a valid checksum - * - * @param string $iban - * - * @return bool - */ - public static function isValid($iban) - { - return self::checksum($iban) === substr($iban, 2, 2); - } + /** + * Checks whether an IBAN has a valid checksum + * + * @param string $iban + * + * @return bool + */ + public static function isValid( $iban ) { + return self::checksum( $iban ) === substr( $iban, 2, 2 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Calculator/Inn.php b/lib/fakerphp/faker/src/Faker/Calculator/Inn.php index 5af4070..22e4660 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/Inn.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/Inn.php @@ -6,37 +6,34 @@ * @deprecated moved to ru_RU\Company, use {@link \Faker\Provider\ru_RU\Company}. * @see \Faker\Provider\ru_RU\Company */ -class Inn -{ - /** - * Generates INN Checksum - * - * https://ru.wikipedia.org/wiki/%D0%98%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80_%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%89%D0%B8%D0%BA%D0%B0 - * - * @param string $inn - * - * @return string Checksum (one digit) - * - * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10Checksum()} instead - * @see \Faker\Provider\ru_RU\Company::inn10Checksum() - */ - public static function checksum($inn) - { - return \Faker\Provider\ru_RU\Company::inn10Checksum($inn); - } +class Inn { + /** + * Generates INN Checksum + * + * https://ru.wikipedia.org/wiki/%D0%98%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80_%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%89%D0%B8%D0%BA%D0%B0 + * + * @param string $inn + * + * @return string Checksum (one digit) + * + * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10Checksum()} instead + * @see \Faker\Provider\ru_RU\Company::inn10Checksum() + */ + public static function checksum( $inn ) { + return \Faker\Provider\ru_RU\Company::inn10Checksum( $inn ); + } - /** - * Checks whether an INN has a valid checksum - * - * @param string $inn - * - * @return bool - * - * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10IsValid()} instead - * @see \Faker\Provider\ru_RU\Company::inn10IsValid() - */ - public static function isValid($inn) - { - return \Faker\Provider\ru_RU\Company::inn10IsValid($inn); - } + /** + * Checks whether an INN has a valid checksum + * + * @param string $inn + * + * @return bool + * + * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10IsValid()} instead + * @see \Faker\Provider\ru_RU\Company::inn10IsValid() + */ + public static function isValid( $inn ) { + return \Faker\Provider\ru_RU\Company::inn10IsValid( $inn ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Calculator/Isbn.php b/lib/fakerphp/faker/src/Faker/Calculator/Isbn.php index df2f59d..40c5cad 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/Isbn.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/Isbn.php @@ -5,56 +5,53 @@ /** * Utility class for validating ISBN-10 */ -class Isbn -{ - /** - * @var string ISBN-10 validation pattern - */ - public const PATTERN = '/^\d{9}[0-9X]$/'; - - /** - * ISBN-10 check digit - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits - * - * @param string $input ISBN without check-digit - * - * @throws \LengthException When wrong input length passed - */ - public static function checksum(string $input): string - { - // We're calculating check digit for ISBN-10 - // so, the length of the input should be 9 - $length = 9; - - if (strlen($input) !== $length) { - throw new \LengthException(sprintf('Input length should be equal to %d', $length)); - } - - $digits = str_split($input); - array_walk( - $digits, - static function (&$digit, $position): void { - $digit = (10 - $position) * $digit; - }, - ); - $result = (11 - array_sum($digits) % 11) % 11; - - // 10 is replaced by X - return ($result < 10) ? (string) $result : 'X'; - } - - /** - * Checks whether the provided number is a valid ISBN-10 number - * - * @param string $isbn ISBN to check - */ - public static function isValid(string $isbn): bool - { - if (!preg_match(self::PATTERN, $isbn)) { - return false; - } - - return self::checksum(substr($isbn, 0, -1)) === substr($isbn, -1); - } +class Isbn { + /** + * @var string ISBN-10 validation pattern + */ + public const PATTERN = '/^\d{9}[0-9X]$/'; + + /** + * ISBN-10 check digit + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits + * + * @param string $input ISBN without check-digit + * + * @throws \LengthException When wrong input length passed + */ + public static function checksum( string $input ): string { + // We're calculating check digit for ISBN-10 + // so, the length of the input should be 9 + $length = 9; + + if ( strlen( $input ) !== $length ) { + throw new \LengthException( sprintf( 'Input length should be equal to %d', $length ) ); + } + + $digits = str_split( $input ); + array_walk( + $digits, + static function ( &$digit, $position ): void { + $digit = ( 10 - $position ) * $digit; + }, + ); + $result = ( 11 - array_sum( $digits ) % 11 ) % 11; + + // 10 is replaced by X + return ( $result < 10 ) ? (string) $result : 'X'; + } + + /** + * Checks whether the provided number is a valid ISBN-10 number + * + * @param string $isbn ISBN to check + */ + public static function isValid( string $isbn ): bool { + if ( ! preg_match( self::PATTERN, $isbn ) ) { + return false; + } + + return self::checksum( substr( $isbn, 0, - 1 ) ) === substr( $isbn, - 1 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Calculator/Luhn.php b/lib/fakerphp/faker/src/Faker/Calculator/Luhn.php index 3a048fb..decda70 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/Luhn.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/Luhn.php @@ -10,71 +10,66 @@ * * @see http://en.wikipedia.org/wiki/Luhn_algorithm */ -class Luhn -{ - /** - * @param string $number - * - * @return int - */ - private static function checksum($number) - { - $number = (string) $number; - $length = strlen($number); - $sum = 0; +class Luhn { + /** + * @param string $number + * + * @return int + */ + private static function checksum( $number ) { + $number = (string) $number; + $length = strlen( $number ); + $sum = 0; - for ($i = $length - 1; $i >= 0; $i -= 2) { - $sum += $number[$i]; - } + for ( $i = $length - 1; $i >= 0; $i -= 2 ) { + $sum += $number[ $i ]; + } - for ($i = $length - 2; $i >= 0; $i -= 2) { - $sum += array_sum(str_split($number[$i] * 2)); - } + for ( $i = $length - 2; $i >= 0; $i -= 2 ) { + $sum += array_sum( str_split( $number[ $i ] * 2 ) ); + } - return $sum % 10; - } + return $sum % 10; + } - /** - * @param string $partialNumber - * - * @return string - */ - public static function computeCheckDigit($partialNumber) - { - $checkDigit = self::checksum($partialNumber . '0'); + /** + * @param string $partialNumber + * + * @return string + */ + public static function computeCheckDigit( $partialNumber ) { + $checkDigit = self::checksum( $partialNumber . '0' ); - if ($checkDigit === 0) { - return 0; - } + if ( $checkDigit === 0 ) { + return 0; + } - return (string) (10 - $checkDigit); - } + return (string) ( 10 - $checkDigit ); + } - /** - * Checks whether a number (partial number + check digit) is Luhn compliant - * - * @param string $number - * - * @return bool - */ - public static function isValid($number) - { - return self::checksum($number) === 0; - } + /** + * Checks whether a number (partial number + check digit) is Luhn compliant + * + * @param string $number + * + * @return bool + */ + public static function isValid( $number ) { + return self::checksum( $number ) === 0; + } - /** - * Generate a Luhn compliant number. - * - * @param string $partialValue - * - * @return string - */ - public static function generateLuhnNumber($partialValue) - { - if (!preg_match('/^\d+$/', $partialValue)) { - throw new \InvalidArgumentException('Argument should be an integer.'); - } + /** + * Generate a Luhn compliant number. + * + * @param string $partialValue + * + * @return string + */ + public static function generateLuhnNumber( $partialValue ) { + if ( ! preg_match( '/^\d+$/', $partialValue ) ) { + throw new \InvalidArgumentException( 'Argument should be an integer.' ); + } - return $partialValue . Luhn::computeCheckDigit($partialValue); - } + return $partialValue . Luhn::computeCheckDigit( $partialValue ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Calculator/TCNo.php b/lib/fakerphp/faker/src/Faker/Calculator/TCNo.php index a75c93e..3d059a5 100644 --- a/lib/fakerphp/faker/src/Faker/Calculator/TCNo.php +++ b/lib/fakerphp/faker/src/Faker/Calculator/TCNo.php @@ -6,38 +6,35 @@ * @deprecated moved to tr_TR\Person, use {@link \Faker\Provider\tr_TR\Person}. * @see \Faker\Provider\tr_TR\Person */ -class TCNo -{ - /** - * Generates Turkish Identity Number Checksum - * Gets first 9 digit as prefix and calculates checksum - * - * https://en.wikipedia.org/wiki/Turkish_Identification_Number - * - * @param string $identityPrefix - * - * @return string Checksum (two digit) - * - * @deprecated use {@link \Faker\Provider\tr_TR\Person::tcNoChecksum()} instead - * @see \Faker\Provider\tr_TR\Person::tcNoChecksum() - */ - public static function checksum($identityPrefix) - { - return \Faker\Provider\tr_TR\Person::tcNoChecksum($identityPrefix); - } +class TCNo { + /** + * Generates Turkish Identity Number Checksum + * Gets first 9 digit as prefix and calculates checksum + * + * https://en.wikipedia.org/wiki/Turkish_Identification_Number + * + * @param string $identityPrefix + * + * @return string Checksum (two digit) + * + * @deprecated use {@link \Faker\Provider\tr_TR\Person::tcNoChecksum()} instead + * @see \Faker\Provider\tr_TR\Person::tcNoChecksum() + */ + public static function checksum( $identityPrefix ) { + return \Faker\Provider\tr_TR\Person::tcNoChecksum( $identityPrefix ); + } - /** - * Checks whether a TCNo has a valid checksum - * - * @param string $tcNo - * - * @return bool - * - * @deprecated use {@link \Faker\Provider\tr_TR\Person::tcNoIsValid()} instead - * @see \Faker\Provider\tr_TR\Person::tcNoIsValid() - */ - public static function isValid($tcNo) - { - return \Faker\Provider\tr_TR\Person::tcNoIsValid($tcNo); - } + /** + * Checks whether a TCNo has a valid checksum + * + * @param string $tcNo + * + * @return bool + * + * @deprecated use {@link \Faker\Provider\tr_TR\Person::tcNoIsValid()} instead + * @see \Faker\Provider\tr_TR\Person::tcNoIsValid() + */ + public static function isValid( $tcNo ) { + return \Faker\Provider\tr_TR\Person::tcNoIsValid( $tcNo ); + } } diff --git a/lib/fakerphp/faker/src/Faker/ChanceGenerator.php b/lib/fakerphp/faker/src/Faker/ChanceGenerator.php index 25aaa4c..69dc0aa 100644 --- a/lib/fakerphp/faker/src/Faker/ChanceGenerator.php +++ b/lib/fakerphp/faker/src/Faker/ChanceGenerator.php @@ -10,51 +10,46 @@ * * @mixin Generator */ -class ChanceGenerator -{ - private $generator; - private $weight; - protected $default; - - /** - * @param Extension|Generator $generator - */ - public function __construct($generator, float $weight, $default = null) - { - $this->default = $default; - $this->generator = $generator; - $this->weight = $weight; - } - - public function ext(string $id) - { - return new self($this->generator->ext($id), $this->weight, $this->default); - } - - /** - * Catch and proxy all generator calls but return only valid values - * - * @param string $attribute - * - * @deprecated Use a method instead. - */ - public function __get($attribute) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute); - - return $this->__call($attribute, []); - } - - /** - * @param string $name - * @param array $arguments - */ - public function __call($name, $arguments) - { - if (mt_rand(1, 100) <= (100 * $this->weight)) { - return call_user_func_array([$this->generator, $name], $arguments); - } - - return $this->default; - } +class ChanceGenerator { + private $generator; + private $weight; + protected $default; + + /** + * @param Extension|Generator $generator + */ + public function __construct( $generator, float $weight, $default = null ) { + $this->default = $default; + $this->generator = $generator; + $this->weight = $weight; + } + + public function ext( string $id ) { + return new self( $this->generator->ext( $id ), $this->weight, $this->default ); + } + + /** + * Catch and proxy all generator calls but return only valid values + * + * @param string $attribute + * + * @deprecated Use a method instead. + */ + public function __get( $attribute ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute ); + + return $this->__call( $attribute, [] ); + } + + /** + * @param string $name + * @param array $arguments + */ + public function __call( $name, $arguments ) { + if ( mt_rand( 1, 100 ) <= ( 100 * $this->weight ) ) { + return call_user_func_array( [ $this->generator, $name ], $arguments ); + } + + return $this->default; + } } diff --git a/lib/fakerphp/faker/src/Faker/Container/Container.php b/lib/fakerphp/faker/src/Faker/Container/Container.php index 2dd2d97..9e39575 100644 --- a/lib/fakerphp/faker/src/Faker/Container/Container.php +++ b/lib/fakerphp/faker/src/Faker/Container/Container.php @@ -1,6 +1,6 @@ - */ - private $definitions; - - private $services = []; - - /** - * Create a container object with a set of definitions. The array value MUST - * produce an object that implements Extension. - * - * @param array $definitions - */ - public function __construct(array $definitions) - { - $this->definitions = $definitions; - } - - /** - * Retrieve a definition from the container. - * - * @param string $id - * - * @throws \InvalidArgumentException - * @throws \RuntimeException - * @throws ContainerException - * @throws NotInContainerException - */ - public function get($id): Extension - { - if (!is_string($id)) { - throw new \InvalidArgumentException(sprintf( - 'First argument of %s::get() must be string', - self::class, - )); - } - - if (array_key_exists($id, $this->services)) { - return $this->services[$id]; - } - - if (!$this->has($id)) { - throw new NotInContainerException(sprintf( - 'There is not service with id "%s" in the container.', - $id, - )); - } - - $definition = $this->definitions[$id]; - - $service = $this->services[$id] = $this->getService($id, $definition); - - if (!$service instanceof Extension) { - throw new \RuntimeException(sprintf( - 'Service resolved for identifier "%s" does not implement the %s" interface.', - $id, - Extension::class, - )); - } - - return $service; - } - - /** - * Get the service from a definition. - * - * @param callable|object|string $definition - */ - private function getService($id, $definition) - { - if (is_callable($definition)) { - try { - return $definition(); - } catch (\Throwable $e) { - throw new ContainerException( - sprintf('Error while invoking callable for "%s"', $id), - 0, - $e, - ); - } - } elseif (is_object($definition)) { - return $definition; - } elseif (is_string($definition)) { - if (class_exists($definition)) { - try { - return new $definition(); - } catch (\Throwable $e) { - throw new ContainerException(sprintf('Could not instantiate class "%s"', $id), 0, $e); - } - } - - throw new ContainerException(sprintf( - 'Could not instantiate class "%s". Class was not found.', - $id, - )); - } else { - throw new ContainerException(sprintf( - 'Invalid type for definition with id "%s"', - $id, - )); - } - } - - /** - * Check if the container contains a given identifier. - * - * @param string $id - * - * @throws \InvalidArgumentException - */ - public function has($id): bool - { - if (!is_string($id)) { - throw new \InvalidArgumentException(sprintf( - 'First argument of %s::get() must be string', - self::class, - )); - } - - return array_key_exists($id, $this->definitions); - } - - /** - * Get the bindings between Extension interfaces and implementations. - */ - public function getDefinitions(): array - { - return $this->definitions; - } +final class Container implements ContainerInterface { + /** + * @var array + */ + private $definitions; + + private $services = []; + + /** + * Create a container object with a set of definitions. The array value MUST + * produce an object that implements Extension. + * + * @param array $definitions + */ + public function __construct( array $definitions ) { + $this->definitions = $definitions; + } + + /** + * Retrieve a definition from the container. + * + * @param string $id + * + * @throws \InvalidArgumentException + * @throws \RuntimeException + * @throws ContainerException + * @throws NotInContainerException + */ + public function get( $id ): Extension { + if ( ! is_string( $id ) ) { + throw new \InvalidArgumentException( sprintf( + 'First argument of %s::get() must be string', + self::class, + ) ); + } + + if ( array_key_exists( $id, $this->services ) ) { + return $this->services[ $id ]; + } + + if ( ! $this->has( $id ) ) { + throw new NotInContainerException( sprintf( + 'There is not service with id "%s" in the container.', + $id, + ) ); + } + + $definition = $this->definitions[ $id ]; + + $service = $this->services[ $id ] = $this->getService( $id, $definition ); + + if ( ! $service instanceof Extension ) { + throw new \RuntimeException( sprintf( + 'Service resolved for identifier "%s" does not implement the %s" interface.', + $id, + Extension::class, + ) ); + } + + return $service; + } + + /** + * Get the service from a definition. + * + * @param callable|object|string $definition + */ + private function getService( $id, $definition ) { + if ( is_callable( $definition ) ) { + try { + return $definition(); + } catch ( \Throwable $e ) { + throw new ContainerException( + sprintf( 'Error while invoking callable for "%s"', $id ), + 0, + $e, + ); + } + } elseif ( is_object( $definition ) ) { + return $definition; + } elseif ( is_string( $definition ) ) { + if ( class_exists( $definition ) ) { + try { + return new $definition(); + } catch ( \Throwable $e ) { + throw new ContainerException( sprintf( 'Could not instantiate class "%s"', $id ), 0, $e ); + } + } + + throw new ContainerException( sprintf( + 'Could not instantiate class "%s". Class was not found.', + $id, + ) ); + } else { + throw new ContainerException( sprintf( + 'Invalid type for definition with id "%s"', + $id, + ) ); + } + } + + /** + * Check if the container contains a given identifier. + * + * @param string $id + * + * @throws \InvalidArgumentException + */ + public function has( $id ): bool { + if ( ! is_string( $id ) ) { + throw new \InvalidArgumentException( sprintf( + 'First argument of %s::get() must be string', + self::class, + ) ); + } + + return array_key_exists( $id, $this->definitions ); + } + + /** + * Get the bindings between Extension interfaces and implementations. + */ + public function getDefinitions(): array { + return $this->definitions; + } } diff --git a/lib/fakerphp/faker/src/Faker/Container/ContainerBuilder.php b/lib/fakerphp/faker/src/Faker/Container/ContainerBuilder.php index 3fb335f..c2ed9d3 100644 --- a/lib/fakerphp/faker/src/Faker/Container/ContainerBuilder.php +++ b/lib/fakerphp/faker/src/Faker/Container/ContainerBuilder.php @@ -1,6 +1,6 @@ - */ - private $definitions = []; +final class ContainerBuilder { + /** + * @var array + */ + private $definitions = []; - /** - * @param callable|object|string $value - * - * @throws \InvalidArgumentException - */ - public function add($value, string $name = null): self - { - if (!is_string($value) && !is_callable($value) && !is_object($value)) { - throw new \InvalidArgumentException(sprintf( - 'First argument to "%s::add()" must be a string, callable or object.', - self::class, - )); - } + /** + * @param callable|object|string $value + * + * @throws \InvalidArgumentException + */ + public function add( $value, string $name = null ): self { + if ( ! is_string( $value ) && ! is_callable( $value ) && ! is_object( $value ) ) { + throw new \InvalidArgumentException( sprintf( + 'First argument to "%s::add()" must be a string, callable or object.', + self::class, + ) ); + } - if ($name === null) { - if (is_string($value)) { - $name = $value; - } elseif (is_object($value)) { - $name = get_class($value); - } else { - throw new \InvalidArgumentException(sprintf( - 'Second argument to "%s::add()" is required not passing a string or object as first argument', - self::class, - )); - } - } + if ( $name === null ) { + if ( is_string( $value ) ) { + $name = $value; + } elseif ( is_object( $value ) ) { + $name = get_class( $value ); + } else { + throw new \InvalidArgumentException( sprintf( + 'Second argument to "%s::add()" is required not passing a string or object as first argument', + self::class, + ) ); + } + } - $this->definitions[$name] = $value; + $this->definitions[ $name ] = $value; - return $this; - } + return $this; + } - public function build(): ContainerInterface - { - return new Container($this->definitions); - } + public function build(): ContainerInterface { + return new Container( $this->definitions ); + } - /** - * Get an array with extension that represent the default English - * functionality. - */ - public static function defaultExtensions(): array - { - return [ - BarcodeExtension::class => Core\Barcode::class, - BloodExtension::class => Core\Blood::class, - ColorExtension::class => Core\Color::class, - DateTimeExtension::class => Core\DateTime::class, - FileExtension::class => Core\File::class, - NumberExtension::class => Core\Number::class, - VersionExtension::class => Core\Version::class, - UuidExtension::class => Core\Uuid::class, - ]; - } + /** + * Get an array with extension that represent the default English + * functionality. + */ + public static function defaultExtensions(): array { + return [ + BarcodeExtension::class => Core\Barcode::class, + BloodExtension::class => Core\Blood::class, + ColorExtension::class => Core\Color::class, + DateTimeExtension::class => Core\DateTime::class, + FileExtension::class => Core\File::class, + NumberExtension::class => Core\Number::class, + VersionExtension::class => Core\Version::class, + UuidExtension::class => Core\Uuid::class, + ]; + } - public static function getDefault(): ContainerInterface - { - $instance = new self(); + public static function getDefault(): ContainerInterface { + $instance = new self(); - foreach (self::defaultExtensions() as $id => $definition) { - $instance->add($definition, $id); - } + foreach ( self::defaultExtensions() as $id => $definition ) { + $instance->add( $definition, $id ); + } - return $instance->build(); - } + return $instance->build(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Container/ContainerException.php b/lib/fakerphp/faker/src/Faker/Container/ContainerException.php index 12b3caa..e33ca7d 100644 --- a/lib/fakerphp/faker/src/Faker/Container/ContainerException.php +++ b/lib/fakerphp/faker/src/Faker/Container/ContainerException.php @@ -1,6 +1,6 @@ ean(); - } - - public function ean8(): string - { - return $this->ean(8); - } - - public function isbn10(): string - { - $code = Extension\Helper::numerify(str_repeat('#', 9)); - - return sprintf('%s%s', $code, Calculator\Isbn::checksum($code)); - } - - public function isbn13(): string - { - $code = '97' . mt_rand(8, 9) . Extension\Helper::numerify(str_repeat('#', 9)); - - return sprintf('%s%s', $code, Calculator\Ean::checksum($code)); - } +final class Barcode implements Extension\BarcodeExtension { + private function ean( int $length = 13 ): string { + $code = Extension\Helper::numerify( str_repeat( '#', $length - 1 ) ); + + return sprintf( '%s%s', $code, Calculator\Ean::checksum( $code ) ); + } + + public function ean13(): string { + return $this->ean(); + } + + public function ean8(): string { + return $this->ean( 8 ); + } + + public function isbn10(): string { + $code = Extension\Helper::numerify( str_repeat( '#', 9 ) ); + + return sprintf( '%s%s', $code, Calculator\Isbn::checksum( $code ) ); + } + + public function isbn13(): string { + $code = '97' . mt_rand( 8, 9 ) . Extension\Helper::numerify( str_repeat( '#', 9 ) ); + + return sprintf( '%s%s', $code, Calculator\Ean::checksum( $code ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Blood.php b/lib/fakerphp/faker/src/Faker/Core/Blood.php index 50a5806..de50c1d 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Blood.php +++ b/lib/fakerphp/faker/src/Faker/Core/Blood.php @@ -1,6 +1,6 @@ bloodTypes); - } - - public function bloodRh(): string - { - return Extension\Helper::randomElement($this->bloodRhFactors); - } - - public function bloodGroup(): string - { - return sprintf( - '%s%s', - $this->bloodType(), - $this->bloodRh(), - ); - } +final class Blood implements Extension\BloodExtension { + /** + * @var string[] + */ + private $bloodTypes = [ 'A', 'AB', 'B', 'O' ]; + + /** + * @var string[] + */ + private $bloodRhFactors = [ '+', '-' ]; + + public function bloodType(): string { + return Extension\Helper::randomElement( $this->bloodTypes ); + } + + public function bloodRh(): string { + return Extension\Helper::randomElement( $this->bloodRhFactors ); + } + + public function bloodGroup(): string { + return sprintf( + '%s%s', + $this->bloodType(), + $this->bloodRh(), + ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Color.php b/lib/fakerphp/faker/src/Faker/Core/Color.php index 6e4e350..ec730bc 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Color.php +++ b/lib/fakerphp/faker/src/Faker/Core/Color.php @@ -1,6 +1,6 @@ numberBetween(1, 16777215)), 6, '0', STR_PAD_LEFT); - } - - /** - * @example '#ff0044' - */ - public function safeHexColor(): string - { - $number = new Number(); - $color = str_pad(dechex($number->numberBetween(0, 255)), 3, '0', STR_PAD_LEFT); - - return sprintf( - '#%s%s%s%s%s%s', - $color[0], - $color[0], - $color[1], - $color[1], - $color[2], - $color[2], - ); - } - - /** - * @example 'array(0,255,122)' - * - * @return int[] - */ - public function rgbColorAsArray(): array - { - $color = $this->hexColor(); - - return [ - hexdec(substr($color, 1, 2)), - hexdec(substr($color, 3, 2)), - hexdec(substr($color, 5, 2)), - ]; - } - - /** - * @example '0,255,122' - */ - public function rgbColor(): string - { - return implode(',', $this->rgbColorAsArray()); - } - - /** - * @example 'rgb(0,255,122)' - */ - public function rgbCssColor(): string - { - return sprintf( - 'rgb(%s)', - $this->rgbColor(), - ); - } - - /** - * @example 'rgba(0,255,122,0.8)' - */ - public function rgbaCssColor(): string - { - $number = new Number(); - - return sprintf( - 'rgba(%s,%s)', - $this->rgbColor(), - $number->randomFloat(1, 0, 1), - ); - } - - /** - * @example 'blue' - */ - public function safeColorName(): string - { - return Helper::randomElement($this->safeColorNames); - } - - /** - * @example 'NavajoWhite' - */ - public function colorName(): string - { - return Helper::randomElement($this->allColorNames); - } - - /** - * @example '340,50,20' - */ - public function hslColor(): string - { - $number = new Number(); - - return sprintf( - '%s,%s,%s', - $number->numberBetween(0, 360), - $number->numberBetween(0, 100), - $number->numberBetween(0, 100), - ); - } - - /** - * @example array(340, 50, 20) - * - * @return int[] - */ - public function hslColorAsArray(): array - { - $number = new Number(); - - return [ - $number->numberBetween(0, 360), - $number->numberBetween(0, 100), - $number->numberBetween(0, 100), - ]; - } +final class Color implements Extension\ColorExtension { + /** + * @var string[] + */ + private $safeColorNames = [ + 'black', + 'maroon', + 'green', + 'navy', + 'olive', + 'purple', + 'teal', + 'lime', + 'blue', + 'silver', + 'gray', + 'yellow', + 'fuchsia', + 'aqua', + 'white', + ]; + + /** + * @var string[] + */ + private $allColorNames = [ + 'AliceBlue', + 'AntiqueWhite', + 'Aqua', + 'Aquamarine', + 'Azure', + 'Beige', + 'Bisque', + 'Black', + 'BlanchedAlmond', + 'Blue', + 'BlueViolet', + 'Brown', + 'BurlyWood', + 'CadetBlue', + 'Chartreuse', + 'Chocolate', + 'Coral', + 'CornflowerBlue', + 'Cornsilk', + 'Crimson', + 'Cyan', + 'DarkBlue', + 'DarkCyan', + 'DarkGoldenRod', + 'DarkGray', + 'DarkGreen', + 'DarkKhaki', + 'DarkMagenta', + 'DarkOliveGreen', + 'Darkorange', + 'DarkOrchid', + 'DarkRed', + 'DarkSalmon', + 'DarkSeaGreen', + 'DarkSlateBlue', + 'DarkSlateGray', + 'DarkTurquoise', + 'DarkViolet', + 'DeepPink', + 'DeepSkyBlue', + 'DimGray', + 'DimGrey', + 'DodgerBlue', + 'FireBrick', + 'FloralWhite', + 'ForestGreen', + 'Fuchsia', + 'Gainsboro', + 'GhostWhite', + 'Gold', + 'GoldenRod', + 'Gray', + 'Green', + 'GreenYellow', + 'HoneyDew', + 'HotPink', + 'IndianRed', + 'Indigo', + 'Ivory', + 'Khaki', + 'Lavender', + 'LavenderBlush', + 'LawnGreen', + 'LemonChiffon', + 'LightBlue', + 'LightCoral', + 'LightCyan', + 'LightGoldenRodYellow', + 'LightGray', + 'LightGreen', + 'LightPink', + 'LightSalmon', + 'LightSeaGreen', + 'LightSkyBlue', + 'LightSlateGray', + 'LightSteelBlue', + 'LightYellow', + 'Lime', + 'LimeGreen', + 'Linen', + 'Magenta', + 'Maroon', + 'MediumAquaMarine', + 'MediumBlue', + 'MediumOrchid', + 'MediumPurple', + 'MediumSeaGreen', + 'MediumSlateBlue', + 'MediumSpringGreen', + 'MediumTurquoise', + 'MediumVioletRed', + 'MidnightBlue', + 'MintCream', + 'MistyRose', + 'Moccasin', + 'NavajoWhite', + 'Navy', + 'OldLace', + 'Olive', + 'OliveDrab', + 'Orange', + 'OrangeRed', + 'Orchid', + 'PaleGoldenRod', + 'PaleGreen', + 'PaleTurquoise', + 'PaleVioletRed', + 'PapayaWhip', + 'PeachPuff', + 'Peru', + 'Pink', + 'Plum', + 'PowderBlue', + 'Purple', + 'Red', + 'RosyBrown', + 'RoyalBlue', + 'SaddleBrown', + 'Salmon', + 'SandyBrown', + 'SeaGreen', + 'SeaShell', + 'Sienna', + 'Silver', + 'SkyBlue', + 'SlateBlue', + 'SlateGray', + 'Snow', + 'SpringGreen', + 'SteelBlue', + 'Tan', + 'Teal', + 'Thistle', + 'Tomato', + 'Turquoise', + 'Violet', + 'Wheat', + 'White', + 'WhiteSmoke', + 'Yellow', + 'YellowGreen', + ]; + + /** + * @example '#fa3cc2' + */ + public function hexColor(): string { + $number = new Number(); + + return '#' . str_pad( dechex( $number->numberBetween( 1, 16777215 ) ), 6, '0', STR_PAD_LEFT ); + } + + /** + * @example '#ff0044' + */ + public function safeHexColor(): string { + $number = new Number(); + $color = str_pad( dechex( $number->numberBetween( 0, 255 ) ), 3, '0', STR_PAD_LEFT ); + + return sprintf( + '#%s%s%s%s%s%s', + $color[0], + $color[0], + $color[1], + $color[1], + $color[2], + $color[2], + ); + } + + /** + * @return int[] + * @example 'array(0,255,122)' + * + */ + public function rgbColorAsArray(): array { + $color = $this->hexColor(); + + return [ + hexdec( substr( $color, 1, 2 ) ), + hexdec( substr( $color, 3, 2 ) ), + hexdec( substr( $color, 5, 2 ) ), + ]; + } + + /** + * @example '0,255,122' + */ + public function rgbColor(): string { + return implode( ',', $this->rgbColorAsArray() ); + } + + /** + * @example 'rgb(0,255,122)' + */ + public function rgbCssColor(): string { + return sprintf( + 'rgb(%s)', + $this->rgbColor(), + ); + } + + /** + * @example 'rgba(0,255,122,0.8)' + */ + public function rgbaCssColor(): string { + $number = new Number(); + + return sprintf( + 'rgba(%s,%s)', + $this->rgbColor(), + $number->randomFloat( 1, 0, 1 ), + ); + } + + /** + * @example 'blue' + */ + public function safeColorName(): string { + return Helper::randomElement( $this->safeColorNames ); + } + + /** + * @example 'NavajoWhite' + */ + public function colorName(): string { + return Helper::randomElement( $this->allColorNames ); + } + + /** + * @example '340,50,20' + */ + public function hslColor(): string { + $number = new Number(); + + return sprintf( + '%s,%s,%s', + $number->numberBetween( 0, 360 ), + $number->numberBetween( 0, 100 ), + $number->numberBetween( 0, 100 ), + ); + } + + /** + * @return int[] + * @example array(340, 50, 20) + * + */ + public function hslColorAsArray(): array { + $number = new Number(); + + return [ + $number->numberBetween( 0, 360 ), + $number->numberBetween( 0, 100 ), + $number->numberBetween( 0, 100 ), + ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Coordinates.php b/lib/fakerphp/faker/src/Faker/Core/Coordinates.php index 40a2658..83bb833 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Coordinates.php +++ b/lib/fakerphp/faker/src/Faker/Core/Coordinates.php @@ -1,68 +1,63 @@ 90 || $max > 90) { - throw new \LogicException('Latitude cannot be greater that 90.0'); - } - - return $this->randomFloat(6, $min, $max); - } - - /** - * @example '86.211205' - * - * @return float Uses signed degrees format (returns a float number between -180 and 180) - */ - public function longitude(float $min = -180.0, float $max = 180.0): float - { - if ($min < -180 || $max < -180) { - throw new \LogicException('Longitude cannot be less that -180.0'); - } - - if ($min > 180 || $max > 180) { - throw new \LogicException('Longitude cannot be greater that 180.0'); - } - - return $this->randomFloat(6, $min, $max); - } - - /** - * @example array('77.147489', '86.211205') - * - * @return array{latitude: float, longitude: float} - */ - public function localCoordinates(): array - { - return [ - 'latitude' => static::latitude(), - 'longitude' => static::longitude(), - ]; - } - - private function randomFloat(int $nbMaxDecimals, float $min, float $max): float - { - if ($min > $max) { - throw new \LogicException('Invalid coordinates boundaries'); - } - - return round($min + mt_rand() / mt_getrandmax() * ($max - $min), $nbMaxDecimals); - } +class Coordinates implements Extension { + /** + * @return float Uses signed degrees format (returns a float number between -90 and 90) + * @example '77.147489' + * + */ + public function latitude( float $min = - 90.0, float $max = 90.0 ): float { + if ( $min < - 90 || $max < - 90 ) { + throw new \LogicException( 'Latitude cannot be less that -90.0' ); + } + + if ( $min > 90 || $max > 90 ) { + throw new \LogicException( 'Latitude cannot be greater that 90.0' ); + } + + return $this->randomFloat( 6, $min, $max ); + } + + /** + * @return float Uses signed degrees format (returns a float number between -180 and 180) + * @example '86.211205' + * + */ + public function longitude( float $min = - 180.0, float $max = 180.0 ): float { + if ( $min < - 180 || $max < - 180 ) { + throw new \LogicException( 'Longitude cannot be less that -180.0' ); + } + + if ( $min > 180 || $max > 180 ) { + throw new \LogicException( 'Longitude cannot be greater that 180.0' ); + } + + return $this->randomFloat( 6, $min, $max ); + } + + /** + * @return array{latitude: float, longitude: float} + * @example array('77.147489', '86.211205') + * + */ + public function localCoordinates(): array { + return [ + 'latitude' => static::latitude(), + 'longitude' => static::longitude(), + ]; + } + + private function randomFloat( int $nbMaxDecimals, float $min, float $max ): float { + if ( $min > $max ) { + throw new \LogicException( 'Invalid coordinates boundaries' ); + } + + return round( $min + mt_rand() / mt_getrandmax() * ( $max - $min ), $nbMaxDecimals ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/DateTime.php b/lib/fakerphp/faker/src/Faker/Core/DateTime.php index f3d7877..76851ff 100644 --- a/lib/fakerphp/faker/src/Faker/Core/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Core/DateTime.php @@ -12,219 +12,213 @@ * * @since 1.20.0 */ -final class DateTime implements DateTimeExtension, GeneratorAwareExtension -{ - use GeneratorAwareExtensionTrait; - - /** - * @var string[] - */ - private $centuries = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII', 'XIII', 'XIV', 'XV', 'XVI', 'XVII', 'XVIII', 'XIX', 'XX', 'XXI']; - - /** - * @var string - */ - private $defaultTimezone = null; - - /** - * Get the POSIX-timestamp of a DateTime, int or string. - * - * @param \DateTime|float|int|string $until - * - * @return false|int - */ - protected function getTimestamp($until = 'now') - { - if (is_numeric($until)) { - return (int) $until; - } - - if ($until instanceof \DateTime) { - return $until->getTimestamp(); - } - - return strtotime(empty($until) ? 'now' : $until); - } - - /** - * Get a DateTime created based on a POSIX-timestamp. - * - * @param int $timestamp the UNIX / POSIX-compatible timestamp - */ - protected function getTimestampDateTime(int $timestamp): \DateTime - { - return new \DateTime('@' . $timestamp); - } - - protected function setDefaultTimezone(string $timezone = null): void - { - $this->defaultTimezone = $timezone; - } - - protected function getDefaultTimezone(): ?string - { - return $this->defaultTimezone; - } - - protected function resolveTimezone(?string $timezone): string - { - if ($timezone !== null) { - return $timezone; - } - - return null === $this->defaultTimezone ? date_default_timezone_get() : $this->defaultTimezone; - } - - /** - * Internal method to set the timezone on a DateTime object. - */ - protected function setTimezone(\DateTime $dateTime, ?string $timezone): \DateTime - { - $timezone = $this->resolveTimezone($timezone); - - return $dateTime->setTimezone(new \DateTimeZone($timezone)); - } - - public function dateTime($until = 'now', string $timezone = null): \DateTime - { - return $this->setTimezone( - $this->getTimestampDateTime($this->unixTime($until)), - $timezone, - ); - } - - public function dateTimeAD($until = 'now', string $timezone = null): \DateTime - { - $min = (PHP_INT_SIZE > 4) ? -62135597361 : -PHP_INT_MAX; - - return $this->setTimezone( - $this->getTimestampDateTime($this->generator->numberBetween($min, $this->getTimestamp($until))), - $timezone, - ); - } - - public function dateTimeBetween($from = '-30 years', $until = 'now', string $timezone = null): \DateTime - { - $start = $this->getTimestamp($from); - $end = $this->getTimestamp($until); - - if ($start > $end) { - throw new \InvalidArgumentException('"$from" must be anterior to "$until".'); - } - - $timestamp = $this->generator->numberBetween($start, $end); - - return $this->setTimezone( - $this->getTimestampDateTime($timestamp), - $timezone, - ); - } - - public function dateTimeInInterval($from = '-30 years', string $interval = '+5 days', string $timezone = null): \DateTime - { - $intervalObject = \DateInterval::createFromDateString($interval); - $datetime = $from instanceof \DateTime ? $from : new \DateTime($from); - - $other = (clone $datetime)->add($intervalObject); - - $begin = min($datetime, $other); - $end = $datetime === $begin ? $other : $datetime; - - return $this->dateTimeBetween($begin, $end, $timezone); - } - - public function dateTimeThisWeek($until = 'sunday this week', string $timezone = null): \DateTime - { - return $this->dateTimeBetween('monday this week', $until, $timezone); - } - - public function dateTimeThisMonth($until = 'last day of this month', string $timezone = null): \DateTime - { - return $this->dateTimeBetween('first day of this month', $until, $timezone); - } - - public function dateTimeThisYear($until = 'last day of december', string $timezone = null): \DateTime - { - return $this->dateTimeBetween('first day of january', $until, $timezone); - } - - public function dateTimeThisDecade($until = 'now', string $timezone = null): \DateTime - { - $year = floor(date('Y') / 10) * 10; - - return $this->dateTimeBetween("first day of january $year", $until, $timezone); - } - - public function dateTimeThisCentury($until = 'now', string $timezone = null): \DateTime - { - $year = floor(date('Y') / 100) * 100; - - return $this->dateTimeBetween("first day of january $year", $until, $timezone); - } - - public function date(string $format = 'Y-m-d', $until = 'now'): string - { - return $this->dateTime($until)->format($format); - } - - public function time(string $format = 'H:i:s', $until = 'now'): string - { - return $this->date($format, $until); - } - - public function unixTime($until = 'now'): int - { - return $this->generator->numberBetween(0, $this->getTimestamp($until)); - } - - public function iso8601($until = 'now'): string - { - return $this->date(\DateTime::ISO8601, $until); - } - - public function amPm($until = 'now'): string - { - return $this->date('a', $until); - } - - public function dayOfMonth($until = 'now'): string - { - return $this->date('d', $until); - } - - public function dayOfWeek($until = 'now'): string - { - return $this->date('l', $until); - } - - public function month($until = 'now'): string - { - return $this->date('m', $until); - } - - public function monthName($until = 'now'): string - { - return $this->date('F', $until); - } - - public function year($until = 'now'): string - { - return $this->date('Y', $until); - } - - public function century(): string - { - return Helper::randomElement($this->centuries); - } - - public function timezone(string $countryCode = null): string - { - if ($countryCode) { - $timezones = \DateTimeZone::listIdentifiers(\DateTimeZone::PER_COUNTRY, $countryCode); - } else { - $timezones = \DateTimeZone::listIdentifiers(); - } - - return Helper::randomElement($timezones); - } +final class DateTime implements DateTimeExtension, GeneratorAwareExtension { + use GeneratorAwareExtensionTrait; + + /** + * @var string[] + */ + private $centuries = [ + 'I', + 'II', + 'III', + 'IV', + 'V', + 'VI', + 'VII', + 'VIII', + 'IX', + 'X', + 'XI', + 'XII', + 'XIII', + 'XIV', + 'XV', + 'XVI', + 'XVII', + 'XVIII', + 'XIX', + 'XX', + 'XXI' + ]; + + /** + * @var string + */ + private $defaultTimezone = null; + + /** + * Get the POSIX-timestamp of a DateTime, int or string. + * + * @param \DateTime|float|int|string $until + * + * @return false|int + */ + protected function getTimestamp( $until = 'now' ) { + if ( is_numeric( $until ) ) { + return (int) $until; + } + + if ( $until instanceof \DateTime ) { + return $until->getTimestamp(); + } + + return strtotime( empty( $until ) ? 'now' : $until ); + } + + /** + * Get a DateTime created based on a POSIX-timestamp. + * + * @param int $timestamp the UNIX / POSIX-compatible timestamp + */ + protected function getTimestampDateTime( int $timestamp ): \DateTime { + return new \DateTime( '@' . $timestamp ); + } + + protected function setDefaultTimezone( string $timezone = null ): void { + $this->defaultTimezone = $timezone; + } + + protected function getDefaultTimezone(): ?string { + return $this->defaultTimezone; + } + + protected function resolveTimezone( ?string $timezone ): string { + if ( $timezone !== null ) { + return $timezone; + } + + return null === $this->defaultTimezone ? date_default_timezone_get() : $this->defaultTimezone; + } + + /** + * Internal method to set the timezone on a DateTime object. + */ + protected function setTimezone( \DateTime $dateTime, ?string $timezone ): \DateTime { + $timezone = $this->resolveTimezone( $timezone ); + + return $dateTime->setTimezone( new \DateTimeZone( $timezone ) ); + } + + public function dateTime( $until = 'now', string $timezone = null ): \DateTime { + return $this->setTimezone( + $this->getTimestampDateTime( $this->unixTime( $until ) ), + $timezone, + ); + } + + public function dateTimeAD( $until = 'now', string $timezone = null ): \DateTime { + $min = ( PHP_INT_SIZE > 4 ) ? - 62135597361 : - PHP_INT_MAX; + + return $this->setTimezone( + $this->getTimestampDateTime( $this->generator->numberBetween( $min, $this->getTimestamp( $until ) ) ), + $timezone, + ); + } + + public function dateTimeBetween( $from = '-30 years', $until = 'now', string $timezone = null ): \DateTime { + $start = $this->getTimestamp( $from ); + $end = $this->getTimestamp( $until ); + + if ( $start > $end ) { + throw new \InvalidArgumentException( '"$from" must be anterior to "$until".' ); + } + + $timestamp = $this->generator->numberBetween( $start, $end ); + + return $this->setTimezone( + $this->getTimestampDateTime( $timestamp ), + $timezone, + ); + } + + public function dateTimeInInterval( $from = '-30 years', string $interval = '+5 days', string $timezone = null ): \DateTime { + $intervalObject = \DateInterval::createFromDateString( $interval ); + $datetime = $from instanceof \DateTime ? $from : new \DateTime( $from ); + + $other = ( clone $datetime )->add( $intervalObject ); + + $begin = min( $datetime, $other ); + $end = $datetime === $begin ? $other : $datetime; + + return $this->dateTimeBetween( $begin, $end, $timezone ); + } + + public function dateTimeThisWeek( $until = 'sunday this week', string $timezone = null ): \DateTime { + return $this->dateTimeBetween( 'monday this week', $until, $timezone ); + } + + public function dateTimeThisMonth( $until = 'last day of this month', string $timezone = null ): \DateTime { + return $this->dateTimeBetween( 'first day of this month', $until, $timezone ); + } + + public function dateTimeThisYear( $until = 'last day of december', string $timezone = null ): \DateTime { + return $this->dateTimeBetween( 'first day of january', $until, $timezone ); + } + + public function dateTimeThisDecade( $until = 'now', string $timezone = null ): \DateTime { + $year = floor( date( 'Y' ) / 10 ) * 10; + + return $this->dateTimeBetween( "first day of january $year", $until, $timezone ); + } + + public function dateTimeThisCentury( $until = 'now', string $timezone = null ): \DateTime { + $year = floor( date( 'Y' ) / 100 ) * 100; + + return $this->dateTimeBetween( "first day of january $year", $until, $timezone ); + } + + public function date( string $format = 'Y-m-d', $until = 'now' ): string { + return $this->dateTime( $until )->format( $format ); + } + + public function time( string $format = 'H:i:s', $until = 'now' ): string { + return $this->date( $format, $until ); + } + + public function unixTime( $until = 'now' ): int { + return $this->generator->numberBetween( 0, $this->getTimestamp( $until ) ); + } + + public function iso8601( $until = 'now' ): string { + return $this->date( \DateTime::ISO8601, $until ); + } + + public function amPm( $until = 'now' ): string { + return $this->date( 'a', $until ); + } + + public function dayOfMonth( $until = 'now' ): string { + return $this->date( 'd', $until ); + } + + public function dayOfWeek( $until = 'now' ): string { + return $this->date( 'l', $until ); + } + + public function month( $until = 'now' ): string { + return $this->date( 'm', $until ); + } + + public function monthName( $until = 'now' ): string { + return $this->date( 'F', $until ); + } + + public function year( $until = 'now' ): string { + return $this->date( 'Y', $until ); + } + + public function century(): string { + return Helper::randomElement( $this->centuries ); + } + + public function timezone( string $countryCode = null ): string { + if ( $countryCode ) { + $timezones = \DateTimeZone::listIdentifiers( \DateTimeZone::PER_COUNTRY, $countryCode ); + } else { + $timezones = \DateTimeZone::listIdentifiers(); + } + + return Helper::randomElement( $timezones ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/File.php b/lib/fakerphp/faker/src/Faker/Core/File.php index adddb0c..017bff3 100644 --- a/lib/fakerphp/faker/src/Faker/Core/File.php +++ b/lib/fakerphp/faker/src/Faker/Core/File.php @@ -1,6 +1,6 @@ file extension(s) - * - * @see http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types - */ - private $mimeTypes = [ - 'application/atom+xml' => 'atom', - 'application/ecmascript' => 'ecma', - 'application/emma+xml' => 'emma', - 'application/epub+zip' => 'epub', - 'application/java-archive' => 'jar', - 'application/java-vm' => 'class', - 'application/javascript' => 'js', - 'application/json' => 'json', - 'application/jsonml+json' => 'jsonml', - 'application/lost+xml' => 'lostxml', - 'application/mathml+xml' => 'mathml', - 'application/mets+xml' => 'mets', - 'application/mods+xml' => 'mods', - 'application/mp4' => 'mp4s', - 'application/msword' => ['doc', 'dot'], - 'application/octet-stream' => [ - 'bin', - 'dms', - 'lrf', - 'mar', - 'so', - 'dist', - 'distz', - 'pkg', - 'bpk', - 'dump', - 'elc', - 'deploy', - ], - 'application/ogg' => 'ogx', - 'application/omdoc+xml' => 'omdoc', - 'application/pdf' => 'pdf', - 'application/pgp-encrypted' => 'pgp', - 'application/pgp-signature' => ['asc', 'sig'], - 'application/pkix-pkipath' => 'pkipath', - 'application/pkixcmp' => 'pki', - 'application/pls+xml' => 'pls', - 'application/postscript' => ['ai', 'eps', 'ps'], - 'application/pskc+xml' => 'pskcxml', - 'application/rdf+xml' => 'rdf', - 'application/reginfo+xml' => 'rif', - 'application/rss+xml' => 'rss', - 'application/rtf' => 'rtf', - 'application/sbml+xml' => 'sbml', - 'application/vnd.adobe.air-application-installer-package+zip' => 'air', - 'application/vnd.adobe.xdp+xml' => 'xdp', - 'application/vnd.adobe.xfdf' => 'xfdf', - 'application/vnd.ahead.space' => 'ahead', - 'application/vnd.dart' => 'dart', - 'application/vnd.data-vision.rdz' => 'rdz', - 'application/vnd.dece.data' => ['uvf', 'uvvf', 'uvd', 'uvvd'], - 'application/vnd.dece.ttml+xml' => ['uvt', 'uvvt'], - 'application/vnd.dece.unspecified' => ['uvx', 'uvvx'], - 'application/vnd.dece.zip' => ['uvz', 'uvvz'], - 'application/vnd.denovo.fcselayout-link' => 'fe_launch', - 'application/vnd.dna' => 'dna', - 'application/vnd.dolby.mlp' => 'mlp', - 'application/vnd.dpgraph' => 'dpg', - 'application/vnd.dreamfactory' => 'dfac', - 'application/vnd.ds-keypoint' => 'kpxx', - 'application/vnd.dvb.ait' => 'ait', - 'application/vnd.dvb.service' => 'svc', - 'application/vnd.dynageo' => 'geo', - 'application/vnd.ecowin.chart' => 'mag', - 'application/vnd.enliven' => 'nml', - 'application/vnd.epson.esf' => 'esf', - 'application/vnd.epson.msf' => 'msf', - 'application/vnd.epson.quickanime' => 'qam', - 'application/vnd.epson.salt' => 'slt', - 'application/vnd.epson.ssf' => 'ssf', - 'application/vnd.ezpix-album' => 'ez2', - 'application/vnd.ezpix-package' => 'ez3', - 'application/vnd.fdf' => 'fdf', - 'application/vnd.fdsn.mseed' => 'mseed', - 'application/vnd.fdsn.seed' => ['seed', 'dataless'], - 'application/vnd.flographit' => 'gph', - 'application/vnd.fluxtime.clip' => 'ftc', - 'application/vnd.hal+xml' => 'hal', - 'application/vnd.hydrostatix.sof-data' => 'sfd-hdstx', - 'application/vnd.ibm.minipay' => 'mpy', - 'application/vnd.ibm.secure-container' => 'sc', - 'application/vnd.iccprofile' => ['icc', 'icm'], - 'application/vnd.igloader' => 'igl', - 'application/vnd.immervision-ivp' => 'ivp', - 'application/vnd.kde.karbon' => 'karbon', - 'application/vnd.kde.kchart' => 'chrt', - 'application/vnd.kde.kformula' => 'kfo', - 'application/vnd.kde.kivio' => 'flw', - 'application/vnd.kde.kontour' => 'kon', - 'application/vnd.kde.kpresenter' => ['kpr', 'kpt'], - 'application/vnd.kde.kspread' => 'ksp', - 'application/vnd.kde.kword' => ['kwd', 'kwt'], - 'application/vnd.kenameaapp' => 'htke', - 'application/vnd.kidspiration' => 'kia', - 'application/vnd.kinar' => ['kne', 'knp'], - 'application/vnd.koan' => ['skp', 'skd', 'skt', 'skm'], - 'application/vnd.kodak-descriptor' => 'sse', - 'application/vnd.las.las+xml' => 'lasxml', - 'application/vnd.llamagraphics.life-balance.desktop' => 'lbd', - 'application/vnd.llamagraphics.life-balance.exchange+xml' => 'lbe', - 'application/vnd.lotus-1-2-3' => '123', - 'application/vnd.lotus-approach' => 'apr', - 'application/vnd.lotus-freelance' => 'pre', - 'application/vnd.lotus-notes' => 'nsf', - 'application/vnd.lotus-organizer' => 'org', - 'application/vnd.lotus-screencam' => 'scm', - 'application/vnd.mozilla.xul+xml' => 'xul', - 'application/vnd.ms-artgalry' => 'cil', - 'application/vnd.ms-cab-compressed' => 'cab', - 'application/vnd.ms-excel' => [ - 'xls', - 'xlm', - 'xla', - 'xlc', - 'xlt', - 'xlw', - ], - 'application/vnd.ms-excel.addin.macroenabled.12' => 'xlam', - 'application/vnd.ms-excel.sheet.binary.macroenabled.12' => 'xlsb', - 'application/vnd.ms-excel.sheet.macroenabled.12' => 'xlsm', - 'application/vnd.ms-excel.template.macroenabled.12' => 'xltm', - 'application/vnd.ms-fontobject' => 'eot', - 'application/vnd.ms-htmlhelp' => 'chm', - 'application/vnd.ms-ims' => 'ims', - 'application/vnd.ms-lrm' => 'lrm', - 'application/vnd.ms-officetheme' => 'thmx', - 'application/vnd.ms-pki.seccat' => 'cat', - 'application/vnd.ms-pki.stl' => 'stl', - 'application/vnd.ms-powerpoint' => ['ppt', 'pps', 'pot'], - 'application/vnd.ms-powerpoint.addin.macroenabled.12' => 'ppam', - 'application/vnd.ms-powerpoint.presentation.macroenabled.12' => 'pptm', - 'application/vnd.ms-powerpoint.slide.macroenabled.12' => 'sldm', - 'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => 'ppsm', - 'application/vnd.ms-powerpoint.template.macroenabled.12' => 'potm', - 'application/vnd.ms-project' => ['mpp', 'mpt'], - 'application/vnd.ms-word.document.macroenabled.12' => 'docm', - 'application/vnd.ms-word.template.macroenabled.12' => 'dotm', - 'application/vnd.ms-works' => ['wps', 'wks', 'wcm', 'wdb'], - 'application/vnd.ms-wpl' => 'wpl', - 'application/vnd.ms-xpsdocument' => 'xps', - 'application/vnd.mseq' => 'mseq', - 'application/vnd.musician' => 'mus', - 'application/vnd.oasis.opendocument.chart' => 'odc', - 'application/vnd.oasis.opendocument.chart-template' => 'otc', - 'application/vnd.oasis.opendocument.database' => 'odb', - 'application/vnd.oasis.opendocument.formula' => 'odf', - 'application/vnd.oasis.opendocument.formula-template' => 'odft', - 'application/vnd.oasis.opendocument.graphics' => 'odg', - 'application/vnd.oasis.opendocument.graphics-template' => 'otg', - 'application/vnd.oasis.opendocument.image' => 'odi', - 'application/vnd.oasis.opendocument.image-template' => 'oti', - 'application/vnd.oasis.opendocument.presentation' => 'odp', - 'application/vnd.oasis.opendocument.presentation-template' => 'otp', - 'application/vnd.oasis.opendocument.spreadsheet' => 'ods', - 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', - 'application/vnd.oasis.opendocument.text' => 'odt', - 'application/vnd.oasis.opendocument.text-master' => 'odm', - 'application/vnd.oasis.opendocument.text-template' => 'ott', - 'application/vnd.oasis.opendocument.text-web' => 'oth', - 'application/vnd.olpc-sugar' => 'xo', - 'application/vnd.oma.dd2+xml' => 'dd2', - 'application/vnd.openofficeorg.extension' => 'oxt', - 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'pptx', - 'application/vnd.openxmlformats-officedocument.presentationml.slide' => 'sldx', - 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'ppsx', - 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'potx', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'xlsx', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'xltx', - 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'docx', - 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => 'dotx', - 'application/vnd.pvi.ptid1' => 'ptid', - 'application/vnd.quark.quarkxpress' => [ - 'qxd', - 'qxt', - 'qwd', - 'qwt', - 'qxl', - 'qxb', - ], - 'application/vnd.realvnc.bed' => 'bed', - 'application/vnd.recordare.musicxml' => 'mxl', - 'application/vnd.recordare.musicxml+xml' => 'musicxml', - 'application/vnd.rig.cryptonote' => 'cryptonote', - 'application/vnd.rim.cod' => 'cod', - 'application/vnd.rn-realmedia' => 'rm', - 'application/vnd.rn-realmedia-vbr' => 'rmvb', - 'application/vnd.route66.link66+xml' => 'link66', - 'application/vnd.sailingtracker.track' => 'st', - 'application/vnd.seemail' => 'see', - 'application/vnd.sema' => 'sema', - 'application/vnd.semd' => 'semd', - 'application/vnd.semf' => 'semf', - 'application/vnd.shana.informed.formdata' => 'ifm', - 'application/vnd.shana.informed.formtemplate' => 'itp', - 'application/vnd.shana.informed.interchange' => 'iif', - 'application/vnd.shana.informed.package' => 'ipk', - 'application/vnd.simtech-mindmapper' => ['twd', 'twds'], - 'application/vnd.smaf' => 'mmf', - 'application/vnd.stepmania.stepchart' => 'sm', - 'application/vnd.sun.xml.calc' => 'sxc', - 'application/vnd.sun.xml.calc.template' => 'stc', - 'application/vnd.sun.xml.draw' => 'sxd', - 'application/vnd.sun.xml.draw.template' => 'std', - 'application/vnd.sun.xml.impress' => 'sxi', - 'application/vnd.sun.xml.impress.template' => 'sti', - 'application/vnd.sun.xml.math' => 'sxm', - 'application/vnd.sun.xml.writer' => 'sxw', - 'application/vnd.sun.xml.writer.global' => 'sxg', - 'application/vnd.sun.xml.writer.template' => 'stw', - 'application/vnd.sus-calendar' => ['sus', 'susp'], - 'application/vnd.svd' => 'svd', - 'application/vnd.symbian.install' => ['sis', 'sisx'], - 'application/vnd.syncml+xml' => 'xsm', - 'application/vnd.syncml.dm+wbxml' => 'bdm', - 'application/vnd.syncml.dm+xml' => 'xdm', - 'application/vnd.tao.intent-module-archive' => 'tao', - 'application/vnd.tcpdump.pcap' => ['pcap', 'cap', 'dmp'], - 'application/vnd.tmobile-livetv' => 'tmo', - 'application/vnd.trid.tpt' => 'tpt', - 'application/vnd.triscape.mxs' => 'mxs', - 'application/vnd.trueapp' => 'tra', - 'application/vnd.ufdl' => ['ufd', 'ufdl'], - 'application/vnd.uiq.theme' => 'utz', - 'application/vnd.umajin' => 'umj', - 'application/vnd.unity' => 'unityweb', - 'application/vnd.uoml+xml' => 'uoml', - 'application/vnd.vcx' => 'vcx', - 'application/vnd.visio' => ['vsd', 'vst', 'vss', 'vsw'], - 'application/vnd.visionary' => 'vis', - 'application/vnd.vsf' => 'vsf', - 'application/vnd.wap.wbxml' => 'wbxml', - 'application/vnd.wap.wmlc' => 'wmlc', - 'application/vnd.wap.wmlscriptc' => 'wmlsc', - 'application/vnd.webturbo' => 'wtb', - 'application/vnd.wolfram.player' => 'nbp', - 'application/vnd.wordperfect' => 'wpd', - 'application/vnd.wqd' => 'wqd', - 'application/vnd.wt.stf' => 'stf', - 'application/vnd.xara' => 'xar', - 'application/vnd.xfdl' => 'xfdl', - 'application/voicexml+xml' => 'vxml', - 'application/widget' => 'wgt', - 'application/winhlp' => 'hlp', - 'application/wsdl+xml' => 'wsdl', - 'application/wspolicy+xml' => 'wspolicy', - 'application/x-7z-compressed' => '7z', - 'application/x-bittorrent' => 'torrent', - 'application/x-blorb' => ['blb', 'blorb'], - 'application/x-bzip' => 'bz', - 'application/x-cdlink' => 'vcd', - 'application/x-cfs-compressed' => 'cfs', - 'application/x-chat' => 'chat', - 'application/x-chess-pgn' => 'pgn', - 'application/x-conference' => 'nsc', - 'application/x-cpio' => 'cpio', - 'application/x-csh' => 'csh', - 'application/x-debian-package' => ['deb', 'udeb'], - 'application/x-dgc-compressed' => 'dgc', - 'application/x-director' => [ - 'dir', - 'dcr', - 'dxr', - 'cst', - 'cct', - 'cxt', - 'w3d', - 'fgd', - 'swa', - ], - 'application/x-font-ttf' => ['ttf', 'ttc'], - 'application/x-font-type1' => ['pfa', 'pfb', 'pfm', 'afm'], - 'application/x-font-woff' => 'woff', - 'application/x-freearc' => 'arc', - 'application/x-futuresplash' => 'spl', - 'application/x-gca-compressed' => 'gca', - 'application/x-glulx' => 'ulx', - 'application/x-gnumeric' => 'gnumeric', - 'application/x-gramps-xml' => 'gramps', - 'application/x-gtar' => 'gtar', - 'application/x-hdf' => 'hdf', - 'application/x-install-instructions' => 'install', - 'application/x-iso9660-image' => 'iso', - 'application/x-java-jnlp-file' => 'jnlp', - 'application/x-latex' => 'latex', - 'application/x-lzh-compressed' => ['lzh', 'lha'], - 'application/x-mie' => 'mie', - 'application/x-mobipocket-ebook' => ['prc', 'mobi'], - 'application/x-ms-application' => 'application', - 'application/x-ms-shortcut' => 'lnk', - 'application/x-ms-wmd' => 'wmd', - 'application/x-ms-wmz' => 'wmz', - 'application/x-ms-xbap' => 'xbap', - 'application/x-msaccess' => 'mdb', - 'application/x-msbinder' => 'obd', - 'application/x-mscardfile' => 'crd', - 'application/x-msclip' => 'clp', - 'application/x-msdownload' => ['exe', 'dll', 'com', 'bat', 'msi'], - 'application/x-msmediaview' => [ - 'mvb', - 'm13', - 'm14', - ], - 'application/x-msmetafile' => ['wmf', 'wmz', 'emf', 'emz'], - 'application/x-rar-compressed' => 'rar', - 'application/x-research-info-systems' => 'ris', - 'application/x-sh' => 'sh', - 'application/x-shar' => 'shar', - 'application/x-shockwave-flash' => 'swf', - 'application/x-silverlight-app' => 'xap', - 'application/x-sql' => 'sql', - 'application/x-stuffit' => 'sit', - 'application/x-stuffitx' => 'sitx', - 'application/x-subrip' => 'srt', - 'application/x-sv4cpio' => 'sv4cpio', - 'application/x-sv4crc' => 'sv4crc', - 'application/x-t3vm-image' => 't3', - 'application/x-tads' => 'gam', - 'application/x-tar' => 'tar', - 'application/x-tcl' => 'tcl', - 'application/x-tex' => 'tex', - 'application/x-tex-tfm' => 'tfm', - 'application/x-texinfo' => ['texinfo', 'texi'], - 'application/x-tgif' => 'obj', - 'application/x-ustar' => 'ustar', - 'application/x-wais-source' => 'src', - 'application/x-x509-ca-cert' => ['der', 'crt'], - 'application/x-xfig' => 'fig', - 'application/x-xliff+xml' => 'xlf', - 'application/x-xpinstall' => 'xpi', - 'application/x-xz' => 'xz', - 'application/x-zmachine' => 'z1', - 'application/xaml+xml' => 'xaml', - 'application/xcap-diff+xml' => 'xdf', - 'application/xenc+xml' => 'xenc', - 'application/xhtml+xml' => ['xhtml', 'xht'], - 'application/xml' => ['xml', 'xsl'], - 'application/xml-dtd' => 'dtd', - 'application/xop+xml' => 'xop', - 'application/xproc+xml' => 'xpl', - 'application/xslt+xml' => 'xslt', - 'application/xspf+xml' => 'xspf', - 'application/xv+xml' => ['mxml', 'xhvml', 'xvml', 'xvm'], - 'application/yang' => 'yang', - 'application/yin+xml' => 'yin', - 'application/zip' => 'zip', - 'audio/adpcm' => 'adp', - 'audio/basic' => ['au', 'snd'], - 'audio/midi' => ['mid', 'midi', 'kar', 'rmi'], - 'audio/mp4' => 'mp4a', - 'audio/mpeg' => [ - 'mpga', - 'mp2', - 'mp2a', - 'mp3', - 'm2a', - 'm3a', - ], - 'audio/ogg' => ['oga', 'ogg', 'spx'], - 'audio/vnd.dece.audio' => ['uva', 'uvva'], - 'audio/vnd.rip' => 'rip', - 'audio/webm' => 'weba', - 'audio/x-aac' => 'aac', - 'audio/x-aiff' => ['aif', 'aiff', 'aifc'], - 'audio/x-caf' => 'caf', - 'audio/x-flac' => 'flac', - 'audio/x-matroska' => 'mka', - 'audio/x-mpegurl' => 'm3u', - 'audio/x-ms-wax' => 'wax', - 'audio/x-ms-wma' => 'wma', - 'audio/x-pn-realaudio' => ['ram', 'ra'], - 'audio/x-pn-realaudio-plugin' => 'rmp', - 'audio/x-wav' => 'wav', - 'audio/xm' => 'xm', - 'image/bmp' => 'bmp', - 'image/cgm' => 'cgm', - 'image/g3fax' => 'g3', - 'image/gif' => 'gif', - 'image/ief' => 'ief', - 'image/jpeg' => ['jpeg', 'jpg', 'jpe'], - 'image/ktx' => 'ktx', - 'image/png' => 'png', - 'image/prs.btif' => 'btif', - 'image/sgi' => 'sgi', - 'image/svg+xml' => ['svg', 'svgz'], - 'image/tiff' => ['tiff', 'tif'], - 'image/vnd.adobe.photoshop' => 'psd', - 'image/vnd.dece.graphic' => ['uvi', 'uvvi', 'uvg', 'uvvg'], - 'image/vnd.dvb.subtitle' => 'sub', - 'image/vnd.djvu' => ['djvu', 'djv'], - 'image/vnd.dwg' => 'dwg', - 'image/vnd.dxf' => 'dxf', - 'image/vnd.fastbidsheet' => 'fbs', - 'image/vnd.fpx' => 'fpx', - 'image/vnd.fst' => 'fst', - 'image/vnd.fujixerox.edmics-mmr' => 'mmr', - 'image/vnd.fujixerox.edmics-rlc' => 'rlc', - 'image/vnd.ms-modi' => 'mdi', - 'image/vnd.ms-photo' => 'wdp', - 'image/vnd.net-fpx' => 'npx', - 'image/vnd.wap.wbmp' => 'wbmp', - 'image/vnd.xiff' => 'xif', - 'image/webp' => 'webp', - 'image/x-3ds' => '3ds', - 'image/x-cmu-raster' => 'ras', - 'image/x-cmx' => 'cmx', - 'image/x-freehand' => ['fh', 'fhc', 'fh4', 'fh5', 'fh7'], - 'image/x-icon' => 'ico', - 'image/x-mrsid-image' => 'sid', - 'image/x-pcx' => 'pcx', - 'image/x-pict' => ['pic', 'pct'], - 'image/x-portable-anymap' => 'pnm', - 'image/x-portable-bitmap' => 'pbm', - 'image/x-portable-graymap' => 'pgm', - 'image/x-portable-pixmap' => 'ppm', - 'image/x-rgb' => 'rgb', - 'image/x-tga' => 'tga', - 'image/x-xbitmap' => 'xbm', - 'image/x-xpixmap' => 'xpm', - 'image/x-xwindowdump' => 'xwd', - 'message/rfc822' => ['eml', 'mime'], - 'model/iges' => ['igs', 'iges'], - 'model/mesh' => ['msh', 'mesh', 'silo'], - 'model/vnd.collada+xml' => 'dae', - 'model/vnd.dwf' => 'dwf', - 'model/vnd.gdl' => 'gdl', - 'model/vnd.gtw' => 'gtw', - 'model/vnd.mts' => 'mts', - 'model/vnd.vtu' => 'vtu', - 'model/vrml' => ['wrl', 'vrml'], - 'model/x3d+binary' => 'x3db', - 'model/x3d+vrml' => 'x3dv', - 'model/x3d+xml' => 'x3d', - 'text/cache-manifest' => 'appcache', - 'text/calendar' => ['ics', 'ifb'], - 'text/css' => 'css', - 'text/csv' => 'csv', - 'text/html' => ['html', 'htm'], - 'text/n3' => 'n3', - 'text/plain' => [ - 'txt', - 'text', - 'conf', - 'def', - 'list', - 'log', - 'in', - ], - 'text/prs.lines.tag' => 'dsc', - 'text/richtext' => 'rtx', - 'text/sgml' => ['sgml', 'sgm'], - 'text/tab-separated-values' => 'tsv', - 'text/troff' => [ - 't', - 'tr', - 'roff', - 'man', - 'me', - 'ms', - ], - 'text/turtle' => 'ttl', - 'text/uri-list' => ['uri', 'uris', 'urls'], - 'text/vcard' => 'vcard', - 'text/vnd.curl' => 'curl', - 'text/vnd.curl.dcurl' => 'dcurl', - 'text/vnd.curl.scurl' => 'scurl', - 'text/vnd.curl.mcurl' => 'mcurl', - 'text/vnd.dvb.subtitle' => 'sub', - 'text/vnd.fly' => 'fly', - 'text/vnd.fmi.flexstor' => 'flx', - 'text/vnd.graphviz' => 'gv', - 'text/vnd.in3d.3dml' => '3dml', - 'text/vnd.in3d.spot' => 'spot', - 'text/vnd.sun.j2me.app-descriptor' => 'jad', - 'text/vnd.wap.wml' => 'wml', - 'text/vnd.wap.wmlscript' => 'wmls', - 'text/x-asm' => ['s', 'asm'], - 'text/x-fortran' => ['f', 'for', 'f77', 'f90'], - 'text/x-java-source' => 'java', - 'text/x-opml' => 'opml', - 'text/x-pascal' => ['p', 'pas'], - 'text/x-nfo' => 'nfo', - 'text/x-setext' => 'etx', - 'text/x-sfv' => 'sfv', - 'text/x-uuencode' => 'uu', - 'text/x-vcalendar' => 'vcs', - 'text/x-vcard' => 'vcf', - 'video/3gpp' => '3gp', - 'video/3gpp2' => '3g2', - 'video/h261' => 'h261', - 'video/h263' => 'h263', - 'video/h264' => 'h264', - 'video/jpeg' => 'jpgv', - 'video/jpm' => ['jpm', 'jpgm'], - 'video/mj2' => 'mj2', - 'video/mp4' => 'mp4', - 'video/mpeg' => ['mpeg', 'mpg', 'mpe', 'm1v', 'm2v'], - 'video/ogg' => 'ogv', - 'video/quicktime' => ['qt', 'mov'], - 'video/vnd.dece.hd' => ['uvh', 'uvvh'], - 'video/vnd.dece.mobile' => ['uvm', 'uvvm'], - 'video/vnd.dece.pd' => ['uvp', 'uvvp'], - 'video/vnd.dece.sd' => ['uvs', 'uvvs'], - 'video/vnd.dece.video' => ['uvv', 'uvvv'], - 'video/vnd.dvb.file' => 'dvb', - 'video/vnd.fvt' => 'fvt', - 'video/vnd.mpegurl' => ['mxu', 'm4u'], - 'video/vnd.ms-playready.media.pyv' => 'pyv', - 'video/vnd.uvvu.mp4' => ['uvu', 'uvvu'], - 'video/vnd.vivo' => 'viv', - 'video/webm' => 'webm', - 'video/x-f4v' => 'f4v', - 'video/x-fli' => 'fli', - 'video/x-flv' => 'flv', - 'video/x-m4v' => 'm4v', - 'video/x-matroska' => ['mkv', 'mk3d', 'mks'], - 'video/x-mng' => 'mng', - 'video/x-ms-asf' => ['asf', 'asx'], - 'video/x-ms-vob' => 'vob', - 'video/x-ms-wm' => 'wm', - 'video/x-ms-wmv' => 'wmv', - 'video/x-ms-wmx' => 'wmx', - 'video/x-ms-wvx' => 'wvx', - 'video/x-msvideo' => 'avi', - 'video/x-sgi-movie' => 'movie', - ]; +final class File implements Extension\FileExtension { + /** + * MIME types from the apache.org file. Some types are truncated. + * + * @var array Map of MIME types => file extension(s) + * + * @see http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types + */ + private $mimeTypes = [ + 'application/atom+xml' => 'atom', + 'application/ecmascript' => 'ecma', + 'application/emma+xml' => 'emma', + 'application/epub+zip' => 'epub', + 'application/java-archive' => 'jar', + 'application/java-vm' => 'class', + 'application/javascript' => 'js', + 'application/json' => 'json', + 'application/jsonml+json' => 'jsonml', + 'application/lost+xml' => 'lostxml', + 'application/mathml+xml' => 'mathml', + 'application/mets+xml' => 'mets', + 'application/mods+xml' => 'mods', + 'application/mp4' => 'mp4s', + 'application/msword' => [ 'doc', 'dot' ], + 'application/octet-stream' => [ + 'bin', + 'dms', + 'lrf', + 'mar', + 'so', + 'dist', + 'distz', + 'pkg', + 'bpk', + 'dump', + 'elc', + 'deploy', + ], + 'application/ogg' => 'ogx', + 'application/omdoc+xml' => 'omdoc', + 'application/pdf' => 'pdf', + 'application/pgp-encrypted' => 'pgp', + 'application/pgp-signature' => [ 'asc', 'sig' ], + 'application/pkix-pkipath' => 'pkipath', + 'application/pkixcmp' => 'pki', + 'application/pls+xml' => 'pls', + 'application/postscript' => [ 'ai', 'eps', 'ps' ], + 'application/pskc+xml' => 'pskcxml', + 'application/rdf+xml' => 'rdf', + 'application/reginfo+xml' => 'rif', + 'application/rss+xml' => 'rss', + 'application/rtf' => 'rtf', + 'application/sbml+xml' => 'sbml', + 'application/vnd.adobe.air-application-installer-package+zip' => 'air', + 'application/vnd.adobe.xdp+xml' => 'xdp', + 'application/vnd.adobe.xfdf' => 'xfdf', + 'application/vnd.ahead.space' => 'ahead', + 'application/vnd.dart' => 'dart', + 'application/vnd.data-vision.rdz' => 'rdz', + 'application/vnd.dece.data' => [ 'uvf', 'uvvf', 'uvd', 'uvvd' ], + 'application/vnd.dece.ttml+xml' => [ 'uvt', 'uvvt' ], + 'application/vnd.dece.unspecified' => [ 'uvx', 'uvvx' ], + 'application/vnd.dece.zip' => [ 'uvz', 'uvvz' ], + 'application/vnd.denovo.fcselayout-link' => 'fe_launch', + 'application/vnd.dna' => 'dna', + 'application/vnd.dolby.mlp' => 'mlp', + 'application/vnd.dpgraph' => 'dpg', + 'application/vnd.dreamfactory' => 'dfac', + 'application/vnd.ds-keypoint' => 'kpxx', + 'application/vnd.dvb.ait' => 'ait', + 'application/vnd.dvb.service' => 'svc', + 'application/vnd.dynageo' => 'geo', + 'application/vnd.ecowin.chart' => 'mag', + 'application/vnd.enliven' => 'nml', + 'application/vnd.epson.esf' => 'esf', + 'application/vnd.epson.msf' => 'msf', + 'application/vnd.epson.quickanime' => 'qam', + 'application/vnd.epson.salt' => 'slt', + 'application/vnd.epson.ssf' => 'ssf', + 'application/vnd.ezpix-album' => 'ez2', + 'application/vnd.ezpix-package' => 'ez3', + 'application/vnd.fdf' => 'fdf', + 'application/vnd.fdsn.mseed' => 'mseed', + 'application/vnd.fdsn.seed' => [ 'seed', 'dataless' ], + 'application/vnd.flographit' => 'gph', + 'application/vnd.fluxtime.clip' => 'ftc', + 'application/vnd.hal+xml' => 'hal', + 'application/vnd.hydrostatix.sof-data' => 'sfd-hdstx', + 'application/vnd.ibm.minipay' => 'mpy', + 'application/vnd.ibm.secure-container' => 'sc', + 'application/vnd.iccprofile' => [ 'icc', 'icm' ], + 'application/vnd.igloader' => 'igl', + 'application/vnd.immervision-ivp' => 'ivp', + 'application/vnd.kde.karbon' => 'karbon', + 'application/vnd.kde.kchart' => 'chrt', + 'application/vnd.kde.kformula' => 'kfo', + 'application/vnd.kde.kivio' => 'flw', + 'application/vnd.kde.kontour' => 'kon', + 'application/vnd.kde.kpresenter' => [ 'kpr', 'kpt' ], + 'application/vnd.kde.kspread' => 'ksp', + 'application/vnd.kde.kword' => [ 'kwd', 'kwt' ], + 'application/vnd.kenameaapp' => 'htke', + 'application/vnd.kidspiration' => 'kia', + 'application/vnd.kinar' => [ 'kne', 'knp' ], + 'application/vnd.koan' => [ 'skp', 'skd', 'skt', 'skm' ], + 'application/vnd.kodak-descriptor' => 'sse', + 'application/vnd.las.las+xml' => 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop' => 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml' => 'lbe', + 'application/vnd.lotus-1-2-3' => '123', + 'application/vnd.lotus-approach' => 'apr', + 'application/vnd.lotus-freelance' => 'pre', + 'application/vnd.lotus-notes' => 'nsf', + 'application/vnd.lotus-organizer' => 'org', + 'application/vnd.lotus-screencam' => 'scm', + 'application/vnd.mozilla.xul+xml' => 'xul', + 'application/vnd.ms-artgalry' => 'cil', + 'application/vnd.ms-cab-compressed' => 'cab', + 'application/vnd.ms-excel' => [ + 'xls', + 'xlm', + 'xla', + 'xlc', + 'xlt', + 'xlw', + ], + 'application/vnd.ms-excel.addin.macroenabled.12' => 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12' => 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12' => 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12' => 'xltm', + 'application/vnd.ms-fontobject' => 'eot', + 'application/vnd.ms-htmlhelp' => 'chm', + 'application/vnd.ms-ims' => 'ims', + 'application/vnd.ms-lrm' => 'lrm', + 'application/vnd.ms-officetheme' => 'thmx', + 'application/vnd.ms-pki.seccat' => 'cat', + 'application/vnd.ms-pki.stl' => 'stl', + 'application/vnd.ms-powerpoint' => [ 'ppt', 'pps', 'pot' ], + 'application/vnd.ms-powerpoint.addin.macroenabled.12' => 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12' => 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12' => 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12' => 'potm', + 'application/vnd.ms-project' => [ 'mpp', 'mpt' ], + 'application/vnd.ms-word.document.macroenabled.12' => 'docm', + 'application/vnd.ms-word.template.macroenabled.12' => 'dotm', + 'application/vnd.ms-works' => [ 'wps', 'wks', 'wcm', 'wdb' ], + 'application/vnd.ms-wpl' => 'wpl', + 'application/vnd.ms-xpsdocument' => 'xps', + 'application/vnd.mseq' => 'mseq', + 'application/vnd.musician' => 'mus', + 'application/vnd.oasis.opendocument.chart' => 'odc', + 'application/vnd.oasis.opendocument.chart-template' => 'otc', + 'application/vnd.oasis.opendocument.database' => 'odb', + 'application/vnd.oasis.opendocument.formula' => 'odf', + 'application/vnd.oasis.opendocument.formula-template' => 'odft', + 'application/vnd.oasis.opendocument.graphics' => 'odg', + 'application/vnd.oasis.opendocument.graphics-template' => 'otg', + 'application/vnd.oasis.opendocument.image' => 'odi', + 'application/vnd.oasis.opendocument.image-template' => 'oti', + 'application/vnd.oasis.opendocument.presentation' => 'odp', + 'application/vnd.oasis.opendocument.presentation-template' => 'otp', + 'application/vnd.oasis.opendocument.spreadsheet' => 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', + 'application/vnd.oasis.opendocument.text' => 'odt', + 'application/vnd.oasis.opendocument.text-master' => 'odm', + 'application/vnd.oasis.opendocument.text-template' => 'ott', + 'application/vnd.oasis.opendocument.text-web' => 'oth', + 'application/vnd.olpc-sugar' => 'xo', + 'application/vnd.oma.dd2+xml' => 'dd2', + 'application/vnd.openofficeorg.extension' => 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide' => 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => 'dotx', + 'application/vnd.pvi.ptid1' => 'ptid', + 'application/vnd.quark.quarkxpress' => [ + 'qxd', + 'qxt', + 'qwd', + 'qwt', + 'qxl', + 'qxb', + ], + 'application/vnd.realvnc.bed' => 'bed', + 'application/vnd.recordare.musicxml' => 'mxl', + 'application/vnd.recordare.musicxml+xml' => 'musicxml', + 'application/vnd.rig.cryptonote' => 'cryptonote', + 'application/vnd.rim.cod' => 'cod', + 'application/vnd.rn-realmedia' => 'rm', + 'application/vnd.rn-realmedia-vbr' => 'rmvb', + 'application/vnd.route66.link66+xml' => 'link66', + 'application/vnd.sailingtracker.track' => 'st', + 'application/vnd.seemail' => 'see', + 'application/vnd.sema' => 'sema', + 'application/vnd.semd' => 'semd', + 'application/vnd.semf' => 'semf', + 'application/vnd.shana.informed.formdata' => 'ifm', + 'application/vnd.shana.informed.formtemplate' => 'itp', + 'application/vnd.shana.informed.interchange' => 'iif', + 'application/vnd.shana.informed.package' => 'ipk', + 'application/vnd.simtech-mindmapper' => [ 'twd', 'twds' ], + 'application/vnd.smaf' => 'mmf', + 'application/vnd.stepmania.stepchart' => 'sm', + 'application/vnd.sun.xml.calc' => 'sxc', + 'application/vnd.sun.xml.calc.template' => 'stc', + 'application/vnd.sun.xml.draw' => 'sxd', + 'application/vnd.sun.xml.draw.template' => 'std', + 'application/vnd.sun.xml.impress' => 'sxi', + 'application/vnd.sun.xml.impress.template' => 'sti', + 'application/vnd.sun.xml.math' => 'sxm', + 'application/vnd.sun.xml.writer' => 'sxw', + 'application/vnd.sun.xml.writer.global' => 'sxg', + 'application/vnd.sun.xml.writer.template' => 'stw', + 'application/vnd.sus-calendar' => [ 'sus', 'susp' ], + 'application/vnd.svd' => 'svd', + 'application/vnd.symbian.install' => [ 'sis', 'sisx' ], + 'application/vnd.syncml+xml' => 'xsm', + 'application/vnd.syncml.dm+wbxml' => 'bdm', + 'application/vnd.syncml.dm+xml' => 'xdm', + 'application/vnd.tao.intent-module-archive' => 'tao', + 'application/vnd.tcpdump.pcap' => [ 'pcap', 'cap', 'dmp' ], + 'application/vnd.tmobile-livetv' => 'tmo', + 'application/vnd.trid.tpt' => 'tpt', + 'application/vnd.triscape.mxs' => 'mxs', + 'application/vnd.trueapp' => 'tra', + 'application/vnd.ufdl' => [ 'ufd', 'ufdl' ], + 'application/vnd.uiq.theme' => 'utz', + 'application/vnd.umajin' => 'umj', + 'application/vnd.unity' => 'unityweb', + 'application/vnd.uoml+xml' => 'uoml', + 'application/vnd.vcx' => 'vcx', + 'application/vnd.visio' => [ 'vsd', 'vst', 'vss', 'vsw' ], + 'application/vnd.visionary' => 'vis', + 'application/vnd.vsf' => 'vsf', + 'application/vnd.wap.wbxml' => 'wbxml', + 'application/vnd.wap.wmlc' => 'wmlc', + 'application/vnd.wap.wmlscriptc' => 'wmlsc', + 'application/vnd.webturbo' => 'wtb', + 'application/vnd.wolfram.player' => 'nbp', + 'application/vnd.wordperfect' => 'wpd', + 'application/vnd.wqd' => 'wqd', + 'application/vnd.wt.stf' => 'stf', + 'application/vnd.xara' => 'xar', + 'application/vnd.xfdl' => 'xfdl', + 'application/voicexml+xml' => 'vxml', + 'application/widget' => 'wgt', + 'application/winhlp' => 'hlp', + 'application/wsdl+xml' => 'wsdl', + 'application/wspolicy+xml' => 'wspolicy', + 'application/x-7z-compressed' => '7z', + 'application/x-bittorrent' => 'torrent', + 'application/x-blorb' => [ 'blb', 'blorb' ], + 'application/x-bzip' => 'bz', + 'application/x-cdlink' => 'vcd', + 'application/x-cfs-compressed' => 'cfs', + 'application/x-chat' => 'chat', + 'application/x-chess-pgn' => 'pgn', + 'application/x-conference' => 'nsc', + 'application/x-cpio' => 'cpio', + 'application/x-csh' => 'csh', + 'application/x-debian-package' => [ 'deb', 'udeb' ], + 'application/x-dgc-compressed' => 'dgc', + 'application/x-director' => [ + 'dir', + 'dcr', + 'dxr', + 'cst', + 'cct', + 'cxt', + 'w3d', + 'fgd', + 'swa', + ], + 'application/x-font-ttf' => [ 'ttf', 'ttc' ], + 'application/x-font-type1' => [ 'pfa', 'pfb', 'pfm', 'afm' ], + 'application/x-font-woff' => 'woff', + 'application/x-freearc' => 'arc', + 'application/x-futuresplash' => 'spl', + 'application/x-gca-compressed' => 'gca', + 'application/x-glulx' => 'ulx', + 'application/x-gnumeric' => 'gnumeric', + 'application/x-gramps-xml' => 'gramps', + 'application/x-gtar' => 'gtar', + 'application/x-hdf' => 'hdf', + 'application/x-install-instructions' => 'install', + 'application/x-iso9660-image' => 'iso', + 'application/x-java-jnlp-file' => 'jnlp', + 'application/x-latex' => 'latex', + 'application/x-lzh-compressed' => [ 'lzh', 'lha' ], + 'application/x-mie' => 'mie', + 'application/x-mobipocket-ebook' => [ 'prc', 'mobi' ], + 'application/x-ms-application' => 'application', + 'application/x-ms-shortcut' => 'lnk', + 'application/x-ms-wmd' => 'wmd', + 'application/x-ms-wmz' => 'wmz', + 'application/x-ms-xbap' => 'xbap', + 'application/x-msaccess' => 'mdb', + 'application/x-msbinder' => 'obd', + 'application/x-mscardfile' => 'crd', + 'application/x-msclip' => 'clp', + 'application/x-msdownload' => [ + 'exe', + 'dll', + 'com', + 'bat', + 'msi' + ], + 'application/x-msmediaview' => [ + 'mvb', + 'm13', + 'm14', + ], + 'application/x-msmetafile' => [ 'wmf', 'wmz', 'emf', 'emz' ], + 'application/x-rar-compressed' => 'rar', + 'application/x-research-info-systems' => 'ris', + 'application/x-sh' => 'sh', + 'application/x-shar' => 'shar', + 'application/x-shockwave-flash' => 'swf', + 'application/x-silverlight-app' => 'xap', + 'application/x-sql' => 'sql', + 'application/x-stuffit' => 'sit', + 'application/x-stuffitx' => 'sitx', + 'application/x-subrip' => 'srt', + 'application/x-sv4cpio' => 'sv4cpio', + 'application/x-sv4crc' => 'sv4crc', + 'application/x-t3vm-image' => 't3', + 'application/x-tads' => 'gam', + 'application/x-tar' => 'tar', + 'application/x-tcl' => 'tcl', + 'application/x-tex' => 'tex', + 'application/x-tex-tfm' => 'tfm', + 'application/x-texinfo' => [ 'texinfo', 'texi' ], + 'application/x-tgif' => 'obj', + 'application/x-ustar' => 'ustar', + 'application/x-wais-source' => 'src', + 'application/x-x509-ca-cert' => [ 'der', 'crt' ], + 'application/x-xfig' => 'fig', + 'application/x-xliff+xml' => 'xlf', + 'application/x-xpinstall' => 'xpi', + 'application/x-xz' => 'xz', + 'application/x-zmachine' => 'z1', + 'application/xaml+xml' => 'xaml', + 'application/xcap-diff+xml' => 'xdf', + 'application/xenc+xml' => 'xenc', + 'application/xhtml+xml' => [ 'xhtml', 'xht' ], + 'application/xml' => [ 'xml', 'xsl' ], + 'application/xml-dtd' => 'dtd', + 'application/xop+xml' => 'xop', + 'application/xproc+xml' => 'xpl', + 'application/xslt+xml' => 'xslt', + 'application/xspf+xml' => 'xspf', + 'application/xv+xml' => [ + 'mxml', + 'xhvml', + 'xvml', + 'xvm' + ], + 'application/yang' => 'yang', + 'application/yin+xml' => 'yin', + 'application/zip' => 'zip', + 'audio/adpcm' => 'adp', + 'audio/basic' => [ 'au', 'snd' ], + 'audio/midi' => [ 'mid', 'midi', 'kar', 'rmi' ], + 'audio/mp4' => 'mp4a', + 'audio/mpeg' => [ + 'mpga', + 'mp2', + 'mp2a', + 'mp3', + 'm2a', + 'm3a', + ], + 'audio/ogg' => [ 'oga', 'ogg', 'spx' ], + 'audio/vnd.dece.audio' => [ 'uva', 'uvva' ], + 'audio/vnd.rip' => 'rip', + 'audio/webm' => 'weba', + 'audio/x-aac' => 'aac', + 'audio/x-aiff' => [ 'aif', 'aiff', 'aifc' ], + 'audio/x-caf' => 'caf', + 'audio/x-flac' => 'flac', + 'audio/x-matroska' => 'mka', + 'audio/x-mpegurl' => 'm3u', + 'audio/x-ms-wax' => 'wax', + 'audio/x-ms-wma' => 'wma', + 'audio/x-pn-realaudio' => [ 'ram', 'ra' ], + 'audio/x-pn-realaudio-plugin' => 'rmp', + 'audio/x-wav' => 'wav', + 'audio/xm' => 'xm', + 'image/bmp' => 'bmp', + 'image/cgm' => 'cgm', + 'image/g3fax' => 'g3', + 'image/gif' => 'gif', + 'image/ief' => 'ief', + 'image/jpeg' => [ 'jpeg', 'jpg', 'jpe' ], + 'image/ktx' => 'ktx', + 'image/png' => 'png', + 'image/prs.btif' => 'btif', + 'image/sgi' => 'sgi', + 'image/svg+xml' => [ 'svg', 'svgz' ], + 'image/tiff' => [ 'tiff', 'tif' ], + 'image/vnd.adobe.photoshop' => 'psd', + 'image/vnd.dece.graphic' => [ 'uvi', 'uvvi', 'uvg', 'uvvg' ], + 'image/vnd.dvb.subtitle' => 'sub', + 'image/vnd.djvu' => [ 'djvu', 'djv' ], + 'image/vnd.dwg' => 'dwg', + 'image/vnd.dxf' => 'dxf', + 'image/vnd.fastbidsheet' => 'fbs', + 'image/vnd.fpx' => 'fpx', + 'image/vnd.fst' => 'fst', + 'image/vnd.fujixerox.edmics-mmr' => 'mmr', + 'image/vnd.fujixerox.edmics-rlc' => 'rlc', + 'image/vnd.ms-modi' => 'mdi', + 'image/vnd.ms-photo' => 'wdp', + 'image/vnd.net-fpx' => 'npx', + 'image/vnd.wap.wbmp' => 'wbmp', + 'image/vnd.xiff' => 'xif', + 'image/webp' => 'webp', + 'image/x-3ds' => '3ds', + 'image/x-cmu-raster' => 'ras', + 'image/x-cmx' => 'cmx', + 'image/x-freehand' => [ + 'fh', + 'fhc', + 'fh4', + 'fh5', + 'fh7' + ], + 'image/x-icon' => 'ico', + 'image/x-mrsid-image' => 'sid', + 'image/x-pcx' => 'pcx', + 'image/x-pict' => [ 'pic', 'pct' ], + 'image/x-portable-anymap' => 'pnm', + 'image/x-portable-bitmap' => 'pbm', + 'image/x-portable-graymap' => 'pgm', + 'image/x-portable-pixmap' => 'ppm', + 'image/x-rgb' => 'rgb', + 'image/x-tga' => 'tga', + 'image/x-xbitmap' => 'xbm', + 'image/x-xpixmap' => 'xpm', + 'image/x-xwindowdump' => 'xwd', + 'message/rfc822' => [ 'eml', 'mime' ], + 'model/iges' => [ 'igs', 'iges' ], + 'model/mesh' => [ 'msh', 'mesh', 'silo' ], + 'model/vnd.collada+xml' => 'dae', + 'model/vnd.dwf' => 'dwf', + 'model/vnd.gdl' => 'gdl', + 'model/vnd.gtw' => 'gtw', + 'model/vnd.mts' => 'mts', + 'model/vnd.vtu' => 'vtu', + 'model/vrml' => [ 'wrl', 'vrml' ], + 'model/x3d+binary' => 'x3db', + 'model/x3d+vrml' => 'x3dv', + 'model/x3d+xml' => 'x3d', + 'text/cache-manifest' => 'appcache', + 'text/calendar' => [ 'ics', 'ifb' ], + 'text/css' => 'css', + 'text/csv' => 'csv', + 'text/html' => [ 'html', 'htm' ], + 'text/n3' => 'n3', + 'text/plain' => [ + 'txt', + 'text', + 'conf', + 'def', + 'list', + 'log', + 'in', + ], + 'text/prs.lines.tag' => 'dsc', + 'text/richtext' => 'rtx', + 'text/sgml' => [ 'sgml', 'sgm' ], + 'text/tab-separated-values' => 'tsv', + 'text/troff' => [ + 't', + 'tr', + 'roff', + 'man', + 'me', + 'ms', + ], + 'text/turtle' => 'ttl', + 'text/uri-list' => [ 'uri', 'uris', 'urls' ], + 'text/vcard' => 'vcard', + 'text/vnd.curl' => 'curl', + 'text/vnd.curl.dcurl' => 'dcurl', + 'text/vnd.curl.scurl' => 'scurl', + 'text/vnd.curl.mcurl' => 'mcurl', + 'text/vnd.dvb.subtitle' => 'sub', + 'text/vnd.fly' => 'fly', + 'text/vnd.fmi.flexstor' => 'flx', + 'text/vnd.graphviz' => 'gv', + 'text/vnd.in3d.3dml' => '3dml', + 'text/vnd.in3d.spot' => 'spot', + 'text/vnd.sun.j2me.app-descriptor' => 'jad', + 'text/vnd.wap.wml' => 'wml', + 'text/vnd.wap.wmlscript' => 'wmls', + 'text/x-asm' => [ 's', 'asm' ], + 'text/x-fortran' => [ 'f', 'for', 'f77', 'f90' ], + 'text/x-java-source' => 'java', + 'text/x-opml' => 'opml', + 'text/x-pascal' => [ 'p', 'pas' ], + 'text/x-nfo' => 'nfo', + 'text/x-setext' => 'etx', + 'text/x-sfv' => 'sfv', + 'text/x-uuencode' => 'uu', + 'text/x-vcalendar' => 'vcs', + 'text/x-vcard' => 'vcf', + 'video/3gpp' => '3gp', + 'video/3gpp2' => '3g2', + 'video/h261' => 'h261', + 'video/h263' => 'h263', + 'video/h264' => 'h264', + 'video/jpeg' => 'jpgv', + 'video/jpm' => [ 'jpm', 'jpgm' ], + 'video/mj2' => 'mj2', + 'video/mp4' => 'mp4', + 'video/mpeg' => [ + 'mpeg', + 'mpg', + 'mpe', + 'm1v', + 'm2v' + ], + 'video/ogg' => 'ogv', + 'video/quicktime' => [ 'qt', 'mov' ], + 'video/vnd.dece.hd' => [ 'uvh', 'uvvh' ], + 'video/vnd.dece.mobile' => [ 'uvm', 'uvvm' ], + 'video/vnd.dece.pd' => [ 'uvp', 'uvvp' ], + 'video/vnd.dece.sd' => [ 'uvs', 'uvvs' ], + 'video/vnd.dece.video' => [ 'uvv', 'uvvv' ], + 'video/vnd.dvb.file' => 'dvb', + 'video/vnd.fvt' => 'fvt', + 'video/vnd.mpegurl' => [ 'mxu', 'm4u' ], + 'video/vnd.ms-playready.media.pyv' => 'pyv', + 'video/vnd.uvvu.mp4' => [ 'uvu', 'uvvu' ], + 'video/vnd.vivo' => 'viv', + 'video/webm' => 'webm', + 'video/x-f4v' => 'f4v', + 'video/x-fli' => 'fli', + 'video/x-flv' => 'flv', + 'video/x-m4v' => 'm4v', + 'video/x-matroska' => [ 'mkv', 'mk3d', 'mks' ], + 'video/x-mng' => 'mng', + 'video/x-ms-asf' => [ 'asf', 'asx' ], + 'video/x-ms-vob' => 'vob', + 'video/x-ms-wm' => 'wm', + 'video/x-ms-wmv' => 'wmv', + 'video/x-ms-wmx' => 'wmx', + 'video/x-ms-wvx' => 'wvx', + 'video/x-msvideo' => 'avi', + 'video/x-sgi-movie' => 'movie', + ]; - public function mimeType(): string - { - return array_rand($this->mimeTypes, 1); - } + public function mimeType(): string { + return array_rand( $this->mimeTypes, 1 ); + } - public function extension(): string - { - $extension = $this->mimeTypes[array_rand($this->mimeTypes, 1)]; + public function extension(): string { + $extension = $this->mimeTypes[ array_rand( $this->mimeTypes, 1 ) ]; - return is_array($extension) ? $extension[array_rand($extension, 1)] : $extension; - } + return is_array( $extension ) ? $extension[ array_rand( $extension, 1 ) ] : $extension; + } - public function filePath(): string - { - return tempnam(sys_get_temp_dir(), 'faker'); - } + public function filePath(): string { + return tempnam( sys_get_temp_dir(), 'faker' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Number.php b/lib/fakerphp/faker/src/Faker/Core/Number.php index f67c042..796ecd7 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Number.php +++ b/lib/fakerphp/faker/src/Faker/Core/Number.php @@ -1,6 +1,6 @@ = $except) { - ++$result; - } - - return $result; - } - - public function randomDigitNotZero(): int - { - return mt_rand(1, 9); - } - - public function randomFloat(?int $nbMaxDecimals = null, float $min = 0, ?float $max = null): float - { - if (null === $nbMaxDecimals) { - $nbMaxDecimals = $this->randomDigit(); - } - - if (null === $max) { - $max = $this->randomNumber(); - - if ($min > $max) { - $max = $min; - } - } - - if ($min > $max) { - $tmp = $min; - $min = $max; - $max = $tmp; - } - - return round($min + mt_rand() / mt_getrandmax() * ($max - $min), $nbMaxDecimals); - } - - public function randomNumber(int $nbDigits = null, bool $strict = false): int - { - if (null === $nbDigits) { - $nbDigits = $this->randomDigitNotZero(); - } - $max = 10 ** $nbDigits - 1; - - if ($max > mt_getrandmax()) { - throw new \InvalidArgumentException('randomNumber() can only generate numbers up to mt_getrandmax()'); - } - - if ($strict) { - return mt_rand(10 ** ($nbDigits - 1), $max); - } - - return mt_rand(0, $max); - } +final class Number implements Extension\NumberExtension { + public function numberBetween( int $min = 0, int $max = 2147483647 ): int { + $int1 = min( $min, $max ); + $int2 = max( $min, $max ); + + return mt_rand( $int1, $int2 ); + } + + public function randomDigit(): int { + return mt_rand( 0, 9 ); + } + + public function randomDigitNot( int $except ): int { + $result = self::numberBetween( 0, 8 ); + + if ( $result >= $except ) { + ++ $result; + } + + return $result; + } + + public function randomDigitNotZero(): int { + return mt_rand( 1, 9 ); + } + + public function randomFloat( ?int $nbMaxDecimals = null, float $min = 0, ?float $max = null ): float { + if ( null === $nbMaxDecimals ) { + $nbMaxDecimals = $this->randomDigit(); + } + + if ( null === $max ) { + $max = $this->randomNumber(); + + if ( $min > $max ) { + $max = $min; + } + } + + if ( $min > $max ) { + $tmp = $min; + $min = $max; + $max = $tmp; + } + + return round( $min + mt_rand() / mt_getrandmax() * ( $max - $min ), $nbMaxDecimals ); + } + + public function randomNumber( int $nbDigits = null, bool $strict = false ): int { + if ( null === $nbDigits ) { + $nbDigits = $this->randomDigitNotZero(); + } + $max = 10 ** $nbDigits - 1; + + if ( $max > mt_getrandmax() ) { + throw new \InvalidArgumentException( 'randomNumber() can only generate numbers up to mt_getrandmax()' ); + } + + if ( $strict ) { + return mt_rand( 10 ** ( $nbDigits - 1 ), $max ); + } + + return mt_rand( 0, $max ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Uuid.php b/lib/fakerphp/faker/src/Faker/Core/Uuid.php index 5e3b633..38caf2b 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Uuid.php +++ b/lib/fakerphp/faker/src/Faker/Core/Uuid.php @@ -4,53 +4,51 @@ use Faker\Extension\UuidExtension; -final class Uuid implements UuidExtension -{ - public function uuid3(): string - { - $number = new Number(); - - // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit - // two such calls will cause 64bits of randomness regardless of architecture - $seed = $number->numberBetween(0, 2147483647) . '#' . $number->numberBetween(0, 2147483647); - - // Hash the seed and convert to a byte array - $val = md5($seed, true); - $byte = array_values(unpack('C16', $val)); - - // extract fields from byte array - $tLo = ($byte[0] << 24) | ($byte[1] << 16) | ($byte[2] << 8) | $byte[3]; - $tMi = ($byte[4] << 8) | $byte[5]; - $tHi = ($byte[6] << 8) | $byte[7]; - $csLo = $byte[9]; - $csHi = $byte[8] & 0x3f | (1 << 7); - - // correct byte order for big edian architecture - if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) { - $tLo = (($tLo & 0x000000ff) << 24) | (($tLo & 0x0000ff00) << 8) - | (($tLo & 0x00ff0000) >> 8) | (($tLo & 0xff000000) >> 24); - $tMi = (($tMi & 0x00ff) << 8) | (($tMi & 0xff00) >> 8); - $tHi = (($tHi & 0x00ff) << 8) | (($tHi & 0xff00) >> 8); - } - - // apply version number - $tHi &= 0x0fff; - $tHi |= (3 << 12); - - // cast to string - return sprintf( - '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x', - $tLo, - $tMi, - $tHi, - $csHi, - $csLo, - $byte[10], - $byte[11], - $byte[12], - $byte[13], - $byte[14], - $byte[15], - ); - } +final class Uuid implements UuidExtension { + public function uuid3(): string { + $number = new Number(); + + // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit + // two such calls will cause 64bits of randomness regardless of architecture + $seed = $number->numberBetween( 0, 2147483647 ) . '#' . $number->numberBetween( 0, 2147483647 ); + + // Hash the seed and convert to a byte array + $val = md5( $seed, true ); + $byte = array_values( unpack( 'C16', $val ) ); + + // extract fields from byte array + $tLo = ( $byte[0] << 24 ) | ( $byte[1] << 16 ) | ( $byte[2] << 8 ) | $byte[3]; + $tMi = ( $byte[4] << 8 ) | $byte[5]; + $tHi = ( $byte[6] << 8 ) | $byte[7]; + $csLo = $byte[9]; + $csHi = $byte[8] & 0x3f | ( 1 << 7 ); + + // correct byte order for big edian architecture + if ( pack( 'L', 0x6162797A ) == pack( 'N', 0x6162797A ) ) { + $tLo = ( ( $tLo & 0x000000ff ) << 24 ) | ( ( $tLo & 0x0000ff00 ) << 8 ) + | ( ( $tLo & 0x00ff0000 ) >> 8 ) | ( ( $tLo & 0xff000000 ) >> 24 ); + $tMi = ( ( $tMi & 0x00ff ) << 8 ) | ( ( $tMi & 0xff00 ) >> 8 ); + $tHi = ( ( $tHi & 0x00ff ) << 8 ) | ( ( $tHi & 0xff00 ) >> 8 ); + } + + // apply version number + $tHi &= 0x0fff; + $tHi |= ( 3 << 12 ); + + // cast to string + return sprintf( + '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x', + $tLo, + $tMi, + $tHi, + $csHi, + $csLo, + $byte[10], + $byte[11], + $byte[12], + $byte[13], + $byte[14], + $byte[15], + ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Core/Version.php b/lib/fakerphp/faker/src/Faker/Core/Version.php index ce484e6..4db9bae 100644 --- a/lib/fakerphp/faker/src/Faker/Core/Version.php +++ b/lib/fakerphp/faker/src/Faker/Core/Version.php @@ -1,6 +1,6 @@ semverPreReleaseIdentifier() : '', - $build && mt_rand(0, 1) ? '+' . $this->semverBuildIdentifier() : '', - ); - } - - /** - * Common pre-release identifier - */ - private function semverPreReleaseIdentifier(): string - { - $ident = Helper::randomElement($this->semverCommonPreReleaseIdentifiers); - - if (!mt_rand(0, 1)) { - return $ident; - } - - return $ident . '.' . mt_rand(1, 99); - } - - /** - * Common random build identifier - */ - private function semverBuildIdentifier(): string - { - if (mt_rand(0, 1)) { - // short git revision syntax: https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection - return substr(sha1(Helper::lexify('??????')), 0, 7); - } - - // date syntax - return DateTime::date('YmdHis'); - } +final class Version implements VersionExtension { + /** + * @var string[] + */ + private $semverCommonPreReleaseIdentifiers = [ 'alpha', 'beta', 'rc' ]; + + /** + * Represents v2.0.0 of the semantic versioning: https://semver.org/spec/v2.0.0.html + */ + public function semver( bool $preRelease = false, bool $build = false ): string { + return sprintf( + '%d.%d.%d%s%s', + mt_rand( 0, 9 ), + mt_rand( 0, 99 ), + mt_rand( 0, 99 ), + $preRelease && mt_rand( 0, 1 ) ? '-' . $this->semverPreReleaseIdentifier() : '', + $build && mt_rand( 0, 1 ) ? '+' . $this->semverBuildIdentifier() : '', + ); + } + + /** + * Common pre-release identifier + */ + private function semverPreReleaseIdentifier(): string { + $ident = Helper::randomElement( $this->semverCommonPreReleaseIdentifiers ); + + if ( ! mt_rand( 0, 1 ) ) { + return $ident; + } + + return $ident . '.' . mt_rand( 1, 99 ); + } + + /** + * Common random build identifier + */ + private function semverBuildIdentifier(): string { + if ( mt_rand( 0, 1 ) ) { + // short git revision syntax: https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection + return substr( sha1( Helper::lexify( '??????' ) ), 0, 7 ); + } + + // date syntax + return DateTime::date( 'YmdHis' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/DefaultGenerator.php b/lib/fakerphp/faker/src/Faker/DefaultGenerator.php index 688f476..9514eb4 100644 --- a/lib/fakerphp/faker/src/Faker/DefaultGenerator.php +++ b/lib/fakerphp/faker/src/Faker/DefaultGenerator.php @@ -10,40 +10,35 @@ * * @deprecated Use ChanceGenerator instead */ -class DefaultGenerator -{ - protected $default; - - public function __construct($default = null) - { - trigger_deprecation('fakerphp/faker', '1.16', 'Class "%s" is deprecated, use "%s" instead.', __CLASS__, ChanceGenerator::class); - - $this->default = $default; - } - - public function ext() - { - return $this; - } - - /** - * @param string $attribute - * - * @deprecated Use a method instead. - */ - public function __get($attribute) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute); - - return $this->default; - } - - /** - * @param string $method - * @param array $attributes - */ - public function __call($method, $attributes) - { - return $this->default; - } +class DefaultGenerator { + protected $default; + + public function __construct( $default = null ) { + trigger_deprecation( 'fakerphp/faker', '1.16', 'Class "%s" is deprecated, use "%s" instead.', __CLASS__, ChanceGenerator::class ); + + $this->default = $default; + } + + public function ext() { + return $this; + } + + /** + * @param string $attribute + * + * @deprecated Use a method instead. + */ + public function __get( $attribute ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute ); + + return $this->default; + } + + /** + * @param string $method + * @param array $attributes + */ + public function __call( $method, $attributes ) { + return $this->default; + } } diff --git a/lib/fakerphp/faker/src/Faker/Documentor.php b/lib/fakerphp/faker/src/Faker/Documentor.php index 280b832..4296175 100644 --- a/lib/fakerphp/faker/src/Faker/Documentor.php +++ b/lib/fakerphp/faker/src/Faker/Documentor.php @@ -2,69 +2,66 @@ namespace Faker; -class Documentor -{ - protected $generator; +class Documentor { + protected $generator; - public function __construct(Generator $generator) - { - $this->generator = $generator; - } + public function __construct( Generator $generator ) { + $this->generator = $generator; + } - /** - * @return array - */ - public function getFormatters() - { - $formatters = []; - $providers = array_reverse($this->generator->getProviders()); - $providers[] = new Provider\Base($this->generator); + /** + * @return array + */ + public function getFormatters() { + $formatters = []; + $providers = array_reverse( $this->generator->getProviders() ); + $providers[] = new Provider\Base( $this->generator ); - foreach ($providers as $provider) { - $providerClass = get_class($provider); - $formatters[$providerClass] = []; - $refl = new \ReflectionObject($provider); + foreach ( $providers as $provider ) { + $providerClass = get_class( $provider ); + $formatters[ $providerClass ] = []; + $refl = new \ReflectionObject( $provider ); - foreach ($refl->getMethods(\ReflectionMethod::IS_PUBLIC) as $reflmethod) { - if ($reflmethod->getDeclaringClass()->getName() == 'Faker\Provider\Base' && $providerClass != 'Faker\Provider\Base') { - continue; - } - $methodName = $reflmethod->name; + foreach ( $refl->getMethods( \ReflectionMethod::IS_PUBLIC ) as $reflmethod ) { + if ( $reflmethod->getDeclaringClass()->getName() == 'Faker\Provider\Base' && $providerClass != 'Faker\Provider\Base' ) { + continue; + } + $methodName = $reflmethod->name; - if ($reflmethod->isConstructor()) { - continue; - } - $parameters = []; + if ( $reflmethod->isConstructor() ) { + continue; + } + $parameters = []; - foreach ($reflmethod->getParameters() as $reflparameter) { - $parameter = '$' . $reflparameter->getName(); + foreach ( $reflmethod->getParameters() as $reflparameter ) { + $parameter = '$' . $reflparameter->getName(); - if ($reflparameter->isDefaultValueAvailable()) { - $parameter .= ' = ' . var_export($reflparameter->getDefaultValue(), true); - } - $parameters[] = $parameter; - } - $parameters = $parameters ? '(' . implode(', ', $parameters) . ')' : ''; + if ( $reflparameter->isDefaultValueAvailable() ) { + $parameter .= ' = ' . var_export( $reflparameter->getDefaultValue(), true ); + } + $parameters[] = $parameter; + } + $parameters = $parameters ? '(' . implode( ', ', $parameters ) . ')' : ''; - try { - $example = $this->generator->format($methodName); - } catch (\InvalidArgumentException $e) { - $example = ''; - } + try { + $example = $this->generator->format( $methodName ); + } catch ( \InvalidArgumentException $e ) { + $example = ''; + } - if (is_array($example)) { - $example = "array('" . implode("', '", $example) . "')"; - } elseif ($example instanceof \DateTime) { - $example = "DateTime('" . $example->format('Y-m-d H:i:s') . "')"; - } elseif ($example instanceof Generator || $example instanceof UniqueGenerator) { // modifier - $example = ''; - } else { - $example = var_export($example, true); - } - $formatters[$providerClass][$methodName . $parameters] = $example; - } - } + if ( is_array( $example ) ) { + $example = "array('" . implode( "', '", $example ) . "')"; + } elseif ( $example instanceof \DateTime ) { + $example = "DateTime('" . $example->format( 'Y-m-d H:i:s' ) . "')"; + } elseif ( $example instanceof Generator || $example instanceof UniqueGenerator ) { // modifier + $example = ''; + } else { + $example = var_export( $example, true ); + } + $formatters[ $providerClass ][ $methodName . $parameters ] = $example; + } + } - return $formatters; - } + return $formatters; + } } diff --git a/lib/fakerphp/faker/src/Faker/Extension/AddressExtension.php b/lib/fakerphp/faker/src/Faker/Extension/AddressExtension.php index 568ca37..bd292d1 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/AddressExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/AddressExtension.php @@ -5,35 +5,34 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface AddressExtension extends Extension -{ - /** - * @example '791 Crist Parks, Sashabury, IL 86039-9874' - */ - public function address(): string; +interface AddressExtension extends Extension { + /** + * @example '791 Crist Parks, Sashabury, IL 86039-9874' + */ + public function address(): string; - /** - * Randomly return a real city name. - */ - public function city(): string; + /** + * Randomly return a real city name. + */ + public function city(): string; - /** - * @example 86039-9874 - */ - public function postcode(): string; + /** + * @example 86039-9874 + */ + public function postcode(): string; - /** - * @example 'Crist Parks' - */ - public function streetName(): string; + /** + * @example 'Crist Parks' + */ + public function streetName(): string; - /** - * @example '791 Crist Parks' - */ - public function streetAddress(): string; + /** + * @example '791 Crist Parks' + */ + public function streetAddress(): string; - /** - * Randomly return a building number. - */ - public function buildingNumber(): string; + /** + * Randomly return a building number. + */ + public function buildingNumber(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/BarcodeExtension.php b/lib/fakerphp/faker/src/Faker/Extension/BarcodeExtension.php index 48d322f..23a1621 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/BarcodeExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/BarcodeExtension.php @@ -5,37 +5,36 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface BarcodeExtension extends Extension -{ - /** - * Get a random EAN13 barcode. - * - * @example '4006381333931' - */ - public function ean13(): string; +interface BarcodeExtension extends Extension { + /** + * Get a random EAN13 barcode. + * + * @example '4006381333931' + */ + public function ean13(): string; - /** - * Get a random EAN8 barcode. - * - * @example '73513537' - */ - public function ean8(): string; + /** + * Get a random EAN8 barcode. + * + * @example '73513537' + */ + public function ean8(): string; - /** - * Get a random ISBN-10 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @example '4881416324' - */ - public function isbn10(): string; + /** + * Get a random ISBN-10 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @example '4881416324' + */ + public function isbn10(): string; - /** - * Get a random ISBN-13 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @example '9790404436093' - */ - public function isbn13(): string; + /** + * Get a random ISBN-13 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @example '9790404436093' + */ + public function isbn13(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/BloodExtension.php b/lib/fakerphp/faker/src/Faker/Extension/BloodExtension.php index 03395f1..967f0b3 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/BloodExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/BloodExtension.php @@ -5,26 +5,25 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface BloodExtension extends Extension -{ - /** - * Get an actual blood type - * - * @example 'AB' - */ - public function bloodType(): string; +interface BloodExtension extends Extension { + /** + * Get an actual blood type + * + * @example 'AB' + */ + public function bloodType(): string; - /** - * Get a random resis value - * - * @example '+' - */ - public function bloodRh(): string; + /** + * Get a random resis value + * + * @example '+' + */ + public function bloodRh(): string; - /** - * Get a full blood group - * - * @example 'AB+' - */ - public function bloodGroup(): string; + /** + * Get a full blood group + * + * @example 'AB+' + */ + public function bloodGroup(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/ColorExtension.php b/lib/fakerphp/faker/src/Faker/Extension/ColorExtension.php index a294512..32a1d20 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/ColorExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/ColorExtension.php @@ -5,59 +5,58 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface ColorExtension extends Extension -{ - /** - * @example '#fa3cc2' - */ - public function hexColor(): string; - - /** - * @example '#ff0044' - */ - public function safeHexColor(): string; - - /** - * @example 'array(0,255,122)' - * - * @return int[] - */ - public function rgbColorAsArray(): array; - - /** - * @example '0,255,122' - */ - public function rgbColor(): string; - - /** - * @example 'rgb(0,255,122)' - */ - public function rgbCssColor(): string; - - /** - * @example 'rgba(0,255,122,0.8)' - */ - public function rgbaCssColor(): string; - - /** - * @example 'blue' - */ - public function safeColorName(): string; - - /** - * @example 'NavajoWhite' - */ - public function colorName(): string; - - /** - * @example '340,50,20' - */ - public function hslColor(): string; - - /** - * @example array(340, 50, 20) - * - * @return int[] - */ - public function hslColorAsArray(): array; +interface ColorExtension extends Extension { + /** + * @example '#fa3cc2' + */ + public function hexColor(): string; + + /** + * @example '#ff0044' + */ + public function safeHexColor(): string; + + /** + * @return int[] + * @example 'array(0,255,122)' + * + */ + public function rgbColorAsArray(): array; + + /** + * @example '0,255,122' + */ + public function rgbColor(): string; + + /** + * @example 'rgb(0,255,122)' + */ + public function rgbCssColor(): string; + + /** + * @example 'rgba(0,255,122,0.8)' + */ + public function rgbaCssColor(): string; + + /** + * @example 'blue' + */ + public function safeColorName(): string; + + /** + * @example 'NavajoWhite' + */ + public function colorName(): string; + + /** + * @example '340,50,20' + */ + public function hslColor(): string; + + /** + * @return int[] + * @example array(340, 50, 20) + * + */ + public function hslColorAsArray(): array; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/CompanyExtension.php b/lib/fakerphp/faker/src/Faker/Extension/CompanyExtension.php index 374d86a..974f292 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/CompanyExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/CompanyExtension.php @@ -5,17 +5,16 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface CompanyExtension extends Extension -{ - /** - * @example 'Acme Ltd' - */ - public function company(): string; +interface CompanyExtension extends Extension { + /** + * @example 'Acme Ltd' + */ + public function company(): string; - /** - * @example 'Ltd' - */ - public function companySuffix(): string; + /** + * @example 'Ltd' + */ + public function companySuffix(): string; - public function jobTitle(): string; + public function jobTitle(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/CountryExtension.php b/lib/fakerphp/faker/src/Faker/Extension/CountryExtension.php index 1ee86a4..a616acc 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/CountryExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/CountryExtension.php @@ -5,10 +5,9 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface CountryExtension extends Extension -{ - /** - * @example 'Japan' - */ - public function country(): string; +interface CountryExtension extends Extension { + /** + * @example 'Japan' + */ + public function country(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/DateTimeExtension.php b/lib/fakerphp/faker/src/Faker/Extension/DateTimeExtension.php index 9a27cce..f6447ae 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/DateTimeExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/DateTimeExtension.php @@ -11,232 +11,231 @@ * * @since 1.20.0 */ -interface DateTimeExtension -{ - /** - * Get a DateTime object between January 1, 1970, and `$until` (defaults to "now"). - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - * - * @example DateTime('2005-08-16 20:39:21') - */ - public function dateTime($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a DateTime object for a date between January 1, 0001, and now. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @example DateTime('1265-03-22 21:15:52') - * - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeAD($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a DateTime object a random date between `$from` and `$until`. - * Accepts date strings that can be recognized by `strtotime()`. - * - * @param \DateTime|string $from defaults to 30 years ago - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeBetween($from = '-30 years', $until = 'now', string $timezone = null): \DateTime; - - /** - * Get a DateTime object based on a random date between `$from` and an interval. - * Accepts date string that can be recognized by `strtotime()`. - * - * @param \DateTime|int|string $from defaults to 30 years ago - * @param string $interval defaults to 5 days after - * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeInInterval($from = '-30 years', string $interval = '+5 days', string $timezone = null): \DateTime; - - /** - * Get a date time object somewhere inside the current week. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeThisWeek($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a date time object somewhere inside the current month. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeThisMonth($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a date time object somewhere inside the current year. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeThisYear($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a date time object somewhere inside the current decade. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeThisDecade($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a date time object somewhere inside the current century. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. - * - * @see \DateTimeZone - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public function dateTimeThisCentury($until = 'now', string $timezone = null): \DateTime; - - /** - * Get a date string between January 1, 1970, and `$until`. - * - * @param string $format DateTime format - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @see https://www.php.net/manual/en/datetime.format.php - */ - public function date(string $format = 'Y-m-d', $until = 'now'): string; - - /** - * Get a time string (24h format by default). - * - * @param string $format DateTime format - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @see https://www.php.net/manual/en/datetime.format.php - */ - public function time(string $format = 'H:i:s', $until = 'now'): string; - - /** - * Get a UNIX (POSIX-compatible) timestamp between January 1, 1970, and `$until`. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - */ - public function unixTime($until = 'now'): int; - - /** - * Get a date string according to the ISO-8601 standard. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - */ - public function iso8601($until = 'now'): string; - - /** - * Get a string containing either "am" or "pm". - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @example 'am' - */ - public function amPm($until = 'now'): string; - - /** - * Get a localized random day of the month. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @example '16' - */ - public function dayOfMonth($until = 'now'): string; - - /** - * Get a localized random day of the week. - * - * Uses internal DateTime formatting, hence PHP's internal locale will be used (change using `setlocale()`). - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @example 'Tuesday' - * - * @see setlocale - * @see https://www.php.net/manual/en/function.setlocale.php Set a different output language - */ - public function dayOfWeek($until = 'now'): string; - - /** - * Get a random month (numbered). - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @example '7' - */ - public function month($until = 'now'): string; - - /** - * Get a random month. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @see setlocale - * @see https://www.php.net/manual/en/function.setlocale.php Set a different output language - * - * @example 'September' - */ - public function monthName($until = 'now'): string; - - /** - * Get a random year between 1970 and `$until`. - * - * @param \DateTime|int|string $until maximum timestamp, defaults to "now" - * - * @example '1987' - */ - public function year($until = 'now'): string; - - /** - * Get a random century, formatted as Roman numerals. - * - * @example 'XVII' - */ - public function century(): string; - - /** - * Get a random timezone, uses `\DateTimeZone::listIdentifiers()` internally. - * - * @param string|null $countryCode two-letter ISO 3166-1 compatible country code - * - * @example 'Europe/Rome' - */ - public function timezone(string $countryCode = null): string; +interface DateTimeExtension { + /** + * Get a DateTime object between January 1, 1970, and `$until` (defaults to "now"). + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + * + * @example DateTime('2005-08-16 20:39:21') + */ + public function dateTime( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a DateTime object for a date between January 1, 0001, and now. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @example DateTime('1265-03-22 21:15:52') + * + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeAD( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a DateTime object a random date between `$from` and `$until`. + * Accepts date strings that can be recognized by `strtotime()`. + * + * @param \DateTime|string $from defaults to 30 years ago + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeBetween( $from = '-30 years', $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a DateTime object based on a random date between `$from` and an interval. + * Accepts date string that can be recognized by `strtotime()`. + * + * @param \DateTime|int|string $from defaults to 30 years ago + * @param string $interval defaults to 5 days after + * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeInInterval( $from = '-30 years', string $interval = '+5 days', string $timezone = null ): \DateTime; + + /** + * Get a date time object somewhere inside the current week. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone zone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeThisWeek( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a date time object somewhere inside the current month. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeThisMonth( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a date time object somewhere inside the current year. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeThisYear( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a date time object somewhere inside the current decade. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeThisDecade( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a date time object somewhere inside the current century. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * @param string|null $timezone timezone for generated date, fallback to `DateTime::$defaultTimezone` and `date_default_timezone_get()`. + * + * @see \DateTimeZone + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public function dateTimeThisCentury( $until = 'now', string $timezone = null ): \DateTime; + + /** + * Get a date string between January 1, 1970, and `$until`. + * + * @param string $format DateTime format + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @see https://www.php.net/manual/en/datetime.format.php + */ + public function date( string $format = 'Y-m-d', $until = 'now' ): string; + + /** + * Get a time string (24h format by default). + * + * @param string $format DateTime format + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @see https://www.php.net/manual/en/datetime.format.php + */ + public function time( string $format = 'H:i:s', $until = 'now' ): string; + + /** + * Get a UNIX (POSIX-compatible) timestamp between January 1, 1970, and `$until`. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + */ + public function unixTime( $until = 'now' ): int; + + /** + * Get a date string according to the ISO-8601 standard. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + */ + public function iso8601( $until = 'now' ): string; + + /** + * Get a string containing either "am" or "pm". + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @example 'am' + */ + public function amPm( $until = 'now' ): string; + + /** + * Get a localized random day of the month. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @example '16' + */ + public function dayOfMonth( $until = 'now' ): string; + + /** + * Get a localized random day of the week. + * + * Uses internal DateTime formatting, hence PHP's internal locale will be used (change using `setlocale()`). + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @example 'Tuesday' + * + * @see setlocale + * @see https://www.php.net/manual/en/function.setlocale.php Set a different output language + */ + public function dayOfWeek( $until = 'now' ): string; + + /** + * Get a random month (numbered). + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @example '7' + */ + public function month( $until = 'now' ): string; + + /** + * Get a random month. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @see setlocale + * @see https://www.php.net/manual/en/function.setlocale.php Set a different output language + * + * @example 'September' + */ + public function monthName( $until = 'now' ): string; + + /** + * Get a random year between 1970 and `$until`. + * + * @param \DateTime|int|string $until maximum timestamp, defaults to "now" + * + * @example '1987' + */ + public function year( $until = 'now' ): string; + + /** + * Get a random century, formatted as Roman numerals. + * + * @example 'XVII' + */ + public function century(): string; + + /** + * Get a random timezone, uses `\DateTimeZone::listIdentifiers()` internally. + * + * @param string|null $countryCode two-letter ISO 3166-1 compatible country code + * + * @example 'Europe/Rome' + */ + public function timezone( string $countryCode = null ): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/Extension.php b/lib/fakerphp/faker/src/Faker/Extension/Extension.php index 1e41200..19aec26 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/Extension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/Extension.php @@ -1,6 +1,6 @@ generator = $generator; + $instance->generator = $generator; - return $instance; - } + return $instance; + } } diff --git a/lib/fakerphp/faker/src/Faker/Extension/Helper.php b/lib/fakerphp/faker/src/Faker/Extension/Helper.php index 27a6614..1ac3882 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/Helper.php +++ b/lib/fakerphp/faker/src/Faker/Extension/Helper.php @@ -7,100 +7,94 @@ * * @experimental This class is experimental and does not fall under our BC promise */ -final class Helper -{ - /** - * Returns a random element from a passed array. - */ - public static function randomElement(array $array) - { - if ($array === []) { - return null; - } +final class Helper { + /** + * Returns a random element from a passed array. + */ + public static function randomElement( array $array ) { + if ( $array === [] ) { + return null; + } - return $array[array_rand($array, 1)]; - } + return $array[ array_rand( $array, 1 ) ]; + } - /** - * Replaces all hash sign ('#') occurrences with a random number - * Replaces all percentage sign ('%') occurrences with a non-zero number. - * - * @param string $string String that needs to bet parsed - */ - public static function numerify(string $string): string - { - // instead of using randomDigit() several times, which is slow, - // count the number of hashes and generate once a large number - $toReplace = []; + /** + * Replaces all hash sign ('#') occurrences with a random number + * Replaces all percentage sign ('%') occurrences with a non-zero number. + * + * @param string $string String that needs to bet parsed + */ + public static function numerify( string $string ): string { + // instead of using randomDigit() several times, which is slow, + // count the number of hashes and generate once a large number + $toReplace = []; - if (($pos = strpos($string, '#')) !== false) { - for ($i = $pos, $last = strrpos($string, '#', $pos) + 1; $i < $last; ++$i) { - if ($string[$i] === '#') { - $toReplace[] = $i; - } - } - } + if ( ( $pos = strpos( $string, '#' ) ) !== false ) { + for ( $i = $pos, $last = strrpos( $string, '#', $pos ) + 1; $i < $last; ++ $i ) { + if ( $string[ $i ] === '#' ) { + $toReplace[] = $i; + } + } + } - if ($nbReplacements = count($toReplace)) { - $maxAtOnce = strlen((string) mt_getrandmax()) - 1; - $numbers = ''; - $i = 0; + if ( $nbReplacements = count( $toReplace ) ) { + $maxAtOnce = strlen( (string) mt_getrandmax() ) - 1; + $numbers = ''; + $i = 0; - while ($i < $nbReplacements) { - $size = min($nbReplacements - $i, $maxAtOnce); - $numbers .= str_pad((string) mt_rand(0, 10 ** $size - 1), $size, '0', STR_PAD_LEFT); - $i += $size; - } + while ( $i < $nbReplacements ) { + $size = min( $nbReplacements - $i, $maxAtOnce ); + $numbers .= str_pad( (string) mt_rand( 0, 10 ** $size - 1 ), $size, '0', STR_PAD_LEFT ); + $i += $size; + } - for ($i = 0; $i < $nbReplacements; ++$i) { - $string[$toReplace[$i]] = $numbers[$i]; - } - } + for ( $i = 0; $i < $nbReplacements; ++ $i ) { + $string[ $toReplace[ $i ] ] = $numbers[ $i ]; + } + } - return self::replaceWildcard($string, '%', static function () { - return mt_rand(1, 9); - }); - } + return self::replaceWildcard( $string, '%', static function () { + return mt_rand( 1, 9 ); + } ); + } - /** - * Replaces all question mark ('?') occurrences with a random letter. - * - * @param string $string String that needs to bet parsed - */ - public static function lexify(string $string): string - { - return self::replaceWildcard($string, '?', static function () { - return chr(mt_rand(97, 122)); - }); - } + /** + * Replaces all question mark ('?') occurrences with a random letter. + * + * @param string $string String that needs to bet parsed + */ + public static function lexify( string $string ): string { + return self::replaceWildcard( $string, '?', static function () { + return chr( mt_rand( 97, 122 ) ); + } ); + } - /** - * Replaces hash signs ('#') and question marks ('?') with random numbers and letters - * An asterisk ('*') is replaced with either a random number or a random letter. - * - * @param string $string String that needs to bet parsed - */ - public static function bothify(string $string): string - { - $string = self::replaceWildcard($string, '*', static function () { - return mt_rand(0, 1) ? '#' : '?'; - }); + /** + * Replaces hash signs ('#') and question marks ('?') with random numbers and letters + * An asterisk ('*') is replaced with either a random number or a random letter. + * + * @param string $string String that needs to bet parsed + */ + public static function bothify( string $string ): string { + $string = self::replaceWildcard( $string, '*', static function () { + return mt_rand( 0, 1 ) ? '#' : '?'; + } ); - return static::lexify(static::numerify($string)); - } + return static::lexify( static::numerify( $string ) ); + } - private static function replaceWildcard(string $string, string $wildcard, callable $callback): string - { - if (($pos = strpos($string, $wildcard)) === false) { - return $string; - } + private static function replaceWildcard( string $string, string $wildcard, callable $callback ): string { + if ( ( $pos = strpos( $string, $wildcard ) ) === false ) { + return $string; + } - for ($i = $pos, $last = strrpos($string, $wildcard, $pos) + 1; $i < $last; ++$i) { - if ($string[$i] === $wildcard) { - $string[$i] = call_user_func($callback); - } - } + for ( $i = $pos, $last = strrpos( $string, $wildcard, $pos ) + 1; $i < $last; ++ $i ) { + if ( $string[ $i ] === $wildcard ) { + $string[ $i ] = call_user_func( $callback ); + } + } - return $string; - } + return $string; + } } diff --git a/lib/fakerphp/faker/src/Faker/Extension/NumberExtension.php b/lib/fakerphp/faker/src/Faker/Extension/NumberExtension.php index ebfa8c3..2ea722d 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/NumberExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/NumberExtension.php @@ -5,49 +5,48 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface NumberExtension extends Extension -{ - /** - * Returns a random number between $int1 and $int2 (any order) - * - * @param int $min default to 0 - * @param int $max defaults to 32 bit max integer, ie 2147483647 - * - * @example 79907610 - */ - public function numberBetween(int $min, int $max): int; +interface NumberExtension extends Extension { + /** + * Returns a random number between $int1 and $int2 (any order) + * + * @param int $min default to 0 + * @param int $max defaults to 32 bit max integer, ie 2147483647 + * + * @example 79907610 + */ + public function numberBetween( int $min, int $max ): int; - /** - * Returns a random number between 0 and 9 - */ - public function randomDigit(): int; + /** + * Returns a random number between 0 and 9 + */ + public function randomDigit(): int; - /** - * Generates a random digit, which cannot be $except - */ - public function randomDigitNot(int $except): int; + /** + * Generates a random digit, which cannot be $except + */ + public function randomDigitNot( int $except ): int; - /** - * Returns a random number between 1 and 9 - */ - public function randomDigitNotZero(): int; + /** + * Returns a random number between 1 and 9 + */ + public function randomDigitNotZero(): int; - /** - * Return a random float number - * - * @example 48.8932 - */ - public function randomFloat(?int $nbMaxDecimals, float $min, ?float $max): float; + /** + * Return a random float number + * + * @example 48.8932 + */ + public function randomFloat( ?int $nbMaxDecimals, float $min, ?float $max ): float; - /** - * Returns a random integer with 0 to $nbDigits digits. - * - * The maximum value returned is mt_getrandmax() - * - * @param int|null $nbDigits Defaults to a random number between 1 and 9 - * @param bool $strict Whether the returned number should have exactly $nbDigits - * - * @example 79907610 - */ - public function randomNumber(?int $nbDigits, bool $strict): int; + /** + * Returns a random integer with 0 to $nbDigits digits. + * + * The maximum value returned is mt_getrandmax() + * + * @param int|null $nbDigits Defaults to a random number between 1 and 9 + * @param bool $strict Whether the returned number should have exactly $nbDigits + * + * @example 79907610 + */ + public function randomNumber( ?int $nbDigits, bool $strict ): int; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/PersonExtension.php b/lib/fakerphp/faker/src/Faker/Extension/PersonExtension.php index 76ba40a..980a487 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/PersonExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/PersonExtension.php @@ -5,48 +5,48 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface PersonExtension extends Extension -{ - public const GENDER_FEMALE = 'female'; - public const GENDER_MALE = 'male'; - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'John Doe' - */ - public function name(?string $gender = null): string; - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'John' - */ - public function firstName(?string $gender = null): string; - - public function firstNameMale(): string; - - public function firstNameFemale(): string; - - /** - * @example 'Doe' - */ - public function lastName(): string; - - /** - * @example 'Mrs.' - * - * @param string|null $gender 'male', 'female' or null for any - */ - public function title(?string $gender = null): string; - - /** - * @example 'Mr.' - */ - public function titleMale(): string; - - /** - * @example 'Mrs.' - */ - public function titleFemale(): string; +interface PersonExtension extends Extension { + public const GENDER_FEMALE = 'female'; + public const GENDER_MALE = 'male'; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'John Doe' + */ + public function name( ?string $gender = null ): string; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'John' + */ + public function firstName( ?string $gender = null ): string; + + public function firstNameMale(): string; + + public function firstNameFemale(): string; + + /** + * @example 'Doe' + */ + public function lastName(): string; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Mrs.' + * + */ + public function title( ?string $gender = null ): string; + + /** + * @example 'Mr.' + */ + public function titleMale(): string; + + /** + * @example 'Mrs.' + */ + public function titleFemale(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/PhoneNumberExtension.php b/lib/fakerphp/faker/src/Faker/Extension/PhoneNumberExtension.php index bba84b4..a579993 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/PhoneNumberExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/PhoneNumberExtension.php @@ -5,15 +5,14 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface PhoneNumberExtension extends Extension -{ - /** - * @example '555-123-546' - */ - public function phoneNumber(): string; +interface PhoneNumberExtension extends Extension { + /** + * @example '555-123-546' + */ + public function phoneNumber(): string; - /** - * @example +27113456789 - */ - public function e164PhoneNumber(): string; + /** + * @example +27113456789 + */ + public function e164PhoneNumber(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/UuidExtension.php b/lib/fakerphp/faker/src/Faker/Extension/UuidExtension.php index 261ff44..8e07baf 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/UuidExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/UuidExtension.php @@ -5,12 +5,11 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface UuidExtension extends Extension -{ - /** - * Generate name based md5 UUID (version 3). - * - * @example '7e57d004-2b97-0e7a-b45f-5387367791cd' - */ - public function uuid3(): string; +interface UuidExtension extends Extension { + /** + * Generate name based md5 UUID (version 3). + * + * @example '7e57d004-2b97-0e7a-b45f-5387367791cd' + */ + public function uuid3(): string; } diff --git a/lib/fakerphp/faker/src/Faker/Extension/VersionExtension.php b/lib/fakerphp/faker/src/Faker/Extension/VersionExtension.php index 3d96d4c..323e9ec 100644 --- a/lib/fakerphp/faker/src/Faker/Extension/VersionExtension.php +++ b/lib/fakerphp/faker/src/Faker/Extension/VersionExtension.php @@ -5,17 +5,16 @@ /** * @experimental This interface is experimental and does not fall under our BC promise */ -interface VersionExtension extends Extension -{ - /** - * Get a version number in semantic versioning syntax 2.0.0. (https://semver.org/spec/v2.0.0.html) - * - * @param bool $preRelease Pre release parts may be randomly included - * @param bool $build Build parts may be randomly included - * - * @example 1.0.0 - * @example 1.0.0-alpha.1 - * @example 1.0.0-alpha.1+b71f04d - */ - public function semver(bool $preRelease = false, bool $build = false): string; +interface VersionExtension extends Extension { + /** + * Get a version number in semantic versioning syntax 2.0.0. (https://semver.org/spec/v2.0.0.html) + * + * @param bool $preRelease Pre release parts may be randomly included + * @param bool $build Build parts may be randomly included + * + * @example 1.0.0 + * @example 1.0.0-alpha.1 + * @example 1.0.0-alpha.1+b71f04d + */ + public function semver( bool $preRelease = false, bool $build = false ): string; } diff --git a/lib/fakerphp/faker/src/Faker/Factory.php b/lib/fakerphp/faker/src/Faker/Factory.php index 7d29de7..7450dba 100644 --- a/lib/fakerphp/faker/src/Faker/Factory.php +++ b/lib/fakerphp/faker/src/Faker/Factory.php @@ -2,68 +2,84 @@ namespace Faker; -class Factory -{ - public const DEFAULT_LOCALE = 'en_US'; +class Factory { + public const DEFAULT_LOCALE = 'en_US'; - protected static $defaultProviders = ['Address', 'Barcode', 'Biased', 'Color', 'Company', 'DateTime', 'File', 'HtmlLorem', 'Image', 'Internet', 'Lorem', 'Medical', 'Miscellaneous', 'Payment', 'Person', 'PhoneNumber', 'Text', 'UserAgent', 'Uuid']; + protected static $defaultProviders = [ + 'Address', + 'Barcode', + 'Biased', + 'Color', + 'Company', + 'DateTime', + 'File', + 'HtmlLorem', + 'Image', + 'Internet', + 'Lorem', + 'Medical', + 'Miscellaneous', + 'Payment', + 'Person', + 'PhoneNumber', + 'Text', + 'UserAgent', + 'Uuid' + ]; - /** - * Create a new generator - * - * @param string $locale - * - * @return Generator - */ - public static function create($locale = self::DEFAULT_LOCALE) - { - $generator = new Generator(); + /** + * Create a new generator + * + * @param string $locale + * + * @return Generator + */ + public static function create( $locale = self::DEFAULT_LOCALE ) { + $generator = new Generator(); - foreach (static::$defaultProviders as $provider) { - $providerClassName = self::getProviderClassname($provider, $locale); - $generator->addProvider(new $providerClassName($generator)); - } + foreach ( static::$defaultProviders as $provider ) { + $providerClassName = self::getProviderClassname( $provider, $locale ); + $generator->addProvider( new $providerClassName( $generator ) ); + } - return $generator; - } + return $generator; + } - /** - * @param string $provider - * @param string $locale - * - * @return string - */ - protected static function getProviderClassname($provider, $locale = '') - { - if ($providerClass = self::findProviderClassname($provider, $locale)) { - return $providerClass; - } - // fallback to default locale - if ($providerClass = self::findProviderClassname($provider, static::DEFAULT_LOCALE)) { - return $providerClass; - } - // fallback to no locale - if ($providerClass = self::findProviderClassname($provider)) { - return $providerClass; - } + /** + * @param string $provider + * @param string $locale + * + * @return string + */ + protected static function getProviderClassname( $provider, $locale = '' ) { + if ( $providerClass = self::findProviderClassname( $provider, $locale ) ) { + return $providerClass; + } + // fallback to default locale + if ( $providerClass = self::findProviderClassname( $provider, static::DEFAULT_LOCALE ) ) { + return $providerClass; + } + // fallback to no locale + if ( $providerClass = self::findProviderClassname( $provider ) ) { + return $providerClass; + } - throw new \InvalidArgumentException(sprintf('Unable to find provider "%s" with locale "%s"', $provider, $locale)); - } + throw new \InvalidArgumentException( sprintf( 'Unable to find provider "%s" with locale "%s"', $provider, $locale ) ); + } - /** - * @param string $provider - * @param string $locale - * - * @return string|null - */ - protected static function findProviderClassname($provider, $locale = '') - { - $providerClass = 'Faker\\' . ($locale ? sprintf('Provider\%s\%s', $locale, $provider) : sprintf('Provider\%s', $provider)); + /** + * @param string $provider + * @param string $locale + * + * @return string|null + */ + protected static function findProviderClassname( $provider, $locale = '' ) { + $providerClass = 'Faker\\' . ( $locale ? sprintf( 'Provider\%s\%s', $locale, $provider ) : sprintf( 'Provider\%s', $provider ) ); - if (class_exists($providerClass, true)) { - return $providerClass; - } + if ( class_exists( $providerClass, true ) ) { + return $providerClass; + } - return null; - } + return null; + } } diff --git a/lib/fakerphp/faker/src/Faker/Generator.php b/lib/fakerphp/faker/src/Faker/Generator.php index 2cad02d..084f84e 100644 --- a/lib/fakerphp/faker/src/Faker/Generator.php +++ b/lib/fakerphp/faker/src/Faker/Generator.php @@ -43,11 +43,11 @@ * * @property float $latitude * - * @method float latitude($min = -90, $max = 90) + * @method float latitude( $min = - 90, $max = 90 ) * * @property float $longitude * - * @method float longitude($min = -180, $max = 180) + * @method float longitude( $min = - 180, $max = 180 ) * * @property float[] $localCoordinates * @@ -59,7 +59,7 @@ * * @property mixed $passthrough * - * @method mixed passthrough($value) + * @method mixed passthrough( $value ) * * @property string $randomLetter * @@ -71,59 +71,59 @@ * * @property array $randomElements * - * @method array randomElements($array = ['a', 'b', 'c'], $count = 1, $allowDuplicates = false) + * @method array randomElements( $array = [ 'a', 'b', 'c' ], $count = 1, $allowDuplicates = false ) * * @property mixed $randomElement * - * @method mixed randomElement($array = ['a', 'b', 'c']) + * @method mixed randomElement( $array = [ 'a', 'b', 'c' ] ) * * @property int|string|null $randomKey * - * @method int|string|null randomKey($array = []) + * @method int|string|null randomKey( $array = [] ) * * @property array|string $shuffle * - * @method array|string shuffle($arg = '') + * @method array|string shuffle( $arg = '' ) * * @property array $shuffleArray * - * @method array shuffleArray($array = []) + * @method array shuffleArray( $array = [] ) * * @property string $shuffleString * - * @method string shuffleString($string = '', $encoding = 'UTF-8') + * @method string shuffleString( $string = '', $encoding = 'UTF-8' ) * * @property string $numerify * - * @method string numerify($string = '###') + * @method string numerify( $string = '###' ) * * @property string $lexify * - * @method string lexify($string = '????') + * @method string lexify( $string = '????' ) * * @property string $bothify * - * @method string bothify($string = '## ??') + * @method string bothify( $string = '## ??' ) * * @property string $asciify * - * @method string asciify($string = '****') + * @method string asciify( $string = '****' ) * * @property string $regexify * - * @method string regexify($regex = '') + * @method string regexify( $regex = '' ) * * @property string $toLower * - * @method string toLower($string = '') + * @method string toLower( $string = '' ) * * @property string $toUpper * - * @method string toUpper($string = '') + * @method string toUpper( $string = '' ) * * @property int $biasedNumberBetween * - * @method int biasedNumberBetween($min = 0, $max = 100, $function = 'sqrt') + * @method int biasedNumberBetween( $min = 0, $max = 100, $function = 'sqrt' ) * * @property string $hexColor * @@ -179,75 +179,75 @@ * * @property int $unixTime * - * @method int unixTime($max = 'now') + * @method int unixTime( $max = 'now' ) * * @property \DateTime $dateTime * - * @method \DateTime dateTime($max = 'now', $timezone = null) + * @method \DateTime dateTime( $max = 'now', $timezone = null ) * * @property \DateTime $dateTimeAD * - * @method \DateTime dateTimeAD($max = 'now', $timezone = null) + * @method \DateTime dateTimeAD( $max = 'now', $timezone = null ) * * @property string $iso8601 * - * @method string iso8601($max = 'now') + * @method string iso8601( $max = 'now' ) * * @property string $date * - * @method string date($format = 'Y-m-d', $max = 'now') + * @method string date( $format = 'Y-m-d', $max = 'now' ) * * @property string $time * - * @method string time($format = 'H:i:s', $max = 'now') + * @method string time( $format = 'H:i:s', $max = 'now' ) * * @property \DateTime $dateTimeBetween * - * @method \DateTime dateTimeBetween($startDate = '-30 years', $endDate = 'now', $timezone = null) + * @method \DateTime dateTimeBetween( $startDate = '-30 years', $endDate = 'now', $timezone = null ) * * @property \DateTime $dateTimeInInterval * - * @method \DateTime dateTimeInInterval($date = '-30 years', $interval = '+5 days', $timezone = null) + * @method \DateTime dateTimeInInterval( $date = '-30 years', $interval = '+5 days', $timezone = null ) * * @property \DateTime $dateTimeThisCentury * - * @method \DateTime dateTimeThisCentury($max = 'now', $timezone = null) + * @method \DateTime dateTimeThisCentury( $max = 'now', $timezone = null ) * * @property \DateTime $dateTimeThisDecade * - * @method \DateTime dateTimeThisDecade($max = 'now', $timezone = null) + * @method \DateTime dateTimeThisDecade( $max = 'now', $timezone = null ) * * @property \DateTime $dateTimeThisYear * - * @method \DateTime dateTimeThisYear($max = 'now', $timezone = null) + * @method \DateTime dateTimeThisYear( $max = 'now', $timezone = null ) * * @property \DateTime $dateTimeThisMonth * - * @method \DateTime dateTimeThisMonth($max = 'now', $timezone = null) + * @method \DateTime dateTimeThisMonth( $max = 'now', $timezone = null ) * * @property string $amPm * - * @method string amPm($max = 'now') + * @method string amPm( $max = 'now' ) * * @property string $dayOfMonth * - * @method string dayOfMonth($max = 'now') + * @method string dayOfMonth( $max = 'now' ) * * @property string $dayOfWeek * - * @method string dayOfWeek($max = 'now') + * @method string dayOfWeek( $max = 'now' ) * * @property string $month * - * @method string month($max = 'now') + * @method string month( $max = 'now' ) * * @property string $monthName * - * @method string monthName($max = 'now') + * @method string monthName( $max = 'now' ) * * @property string $year * - * @method string year($max = 'now') + * @method string year( $max = 'now' ) * * @property string $century * @@ -255,11 +255,11 @@ * * @property string $timezone * - * @method string timezone($countryCode = null) + * @method string timezone( $countryCode = null ) * * @property void $setDefaultTimezone * - * @method void setDefaultTimezone($timezone = null) + * @method void setDefaultTimezone( $timezone = null ) * * @property string $getDefaultTimezone * @@ -267,19 +267,19 @@ * * @property string $file * - * @method string file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true) + * @method string file( $sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true ) * * @property string $randomHtml * - * @method string randomHtml($maxDepth = 4, $maxWidth = 4) + * @method string randomHtml( $maxDepth = 4, $maxWidth = 4 ) * * @property string $imageUrl * - * @method string imageUrl($width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false, string $format = 'png') + * @method string imageUrl( $width = 640, $height = 480, $category = null, $randomize = true, $word = null, $gray = false, string $format = 'png' ) * * @property string $image * - * @method string image($dir = null, $width = 640, $height = 480, $category = null, $fullPath = true, $randomize = true, $word = null, $gray = false) + * @method string image( $dir = null, $width = 640, $height = 480, $category = null, $fullPath = true, $randomize = true, $word = null, $gray = false ) * * @property string $email * @@ -311,7 +311,7 @@ * * @property string $password * - * @method string password($minLength = 6, $maxLength = 20) + * @method string password( $minLength = 6, $maxLength = 20 ) * * @property string $domainName * @@ -331,7 +331,7 @@ * * @property string $slug * - * @method string slug($nbWords = 6, $variableNbWords = true) + * @method string slug( $nbWords = 6, $variableNbWords = true ) * * @property string $ipv4 * @@ -355,31 +355,31 @@ * * @property array|string $words * - * @method array|string words($nb = 3, $asText = false) + * @method array|string words( $nb = 3, $asText = false ) * * @property string $sentence * - * @method string sentence($nbWords = 6, $variableNbWords = true) + * @method string sentence( $nbWords = 6, $variableNbWords = true ) * * @property array|string $sentences * - * @method array|string sentences($nb = 3, $asText = false) + * @method array|string sentences( $nb = 3, $asText = false ) * * @property string $paragraph * - * @method string paragraph($nbSentences = 3, $variableNbSentences = true) + * @method string paragraph( $nbSentences = 3, $variableNbSentences = true ) * * @property array|string $paragraphs * - * @method array|string paragraphs($nb = 3, $asText = false) + * @method array|string paragraphs( $nb = 3, $asText = false ) * * @property string $text * - * @method string text($maxNbChars = 200) + * @method string text( $maxNbChars = 200 ) * * @property bool $boolean * - * @method bool boolean($chanceOfGettingTrue = 50) + * @method bool boolean( $chanceOfGettingTrue = 50 ) * * @property string $md5 * @@ -423,23 +423,23 @@ * * @property string $creditCardNumber * - * @method string creditCardNumber($type = null, $formatted = false, $separator = '-') + * @method string creditCardNumber( $type = null, $formatted = false, $separator = '-' ) * * @property \DateTime $creditCardExpirationDate * - * @method \DateTime creditCardExpirationDate($valid = true) + * @method \DateTime creditCardExpirationDate( $valid = true ) * * @property string $creditCardExpirationDateString * - * @method string creditCardExpirationDateString($valid = true, $expirationDateFormat = null) + * @method string creditCardExpirationDateString( $valid = true, $expirationDateFormat = null ) * * @property array $creditCardDetails * - * @method array creditCardDetails($valid = true) + * @method array creditCardDetails( $valid = true ) * * @property string $iban * - * @method string iban($countryCode = null, $prefix = '', $length = null) + * @method string iban( $countryCode = null, $prefix = '', $length = null ) * * @property string $swiftBicNumber * @@ -447,11 +447,11 @@ * * @property string $name * - * @method string name($gender = null) + * @method string name( $gender = null ) * * @property string $firstName * - * @method string firstName($gender = null) + * @method string firstName( $gender = null ) * * @property string $firstNameMale * @@ -467,7 +467,7 @@ * * @property string $title * - * @method string title($gender = null) + * @method string title( $gender = null ) * * @property string $titleMale * @@ -491,11 +491,11 @@ * * @property string $realText * - * @method string realText($maxNbChars = 200, $indexSize = 2) + * @method string realText( $maxNbChars = 200, $indexSize = 2 ) * * @property string $realTextBetween * - * @method string realTextBetween($minNbChars = 160, $maxNbChars = 200, $indexSize = 2) + * @method string realTextBetween( $minNbChars = 160, $maxNbChars = 200, $indexSize = 2 ) * * @property string $macProcessor * @@ -553,421 +553,387 @@ * * @method string uuid() */ -class Generator -{ - protected $providers = []; - protected $formatters = []; - - private $container; - - /** - * @var UniqueGenerator - */ - private $uniqueGenerator; - - public function __construct(ContainerInterface $container = null) - { - $this->container = $container ?: Container\ContainerBuilder::getDefault(); - } - - /** - * @template T of Extension\Extension - * - * @param class-string $id - * - * @throws Extension\ExtensionNotFound - * - * @return T - */ - public function ext(string $id): Extension\Extension - { - if (!$this->container->has($id)) { - throw new Extension\ExtensionNotFound(sprintf( - 'No Faker extension with id "%s" was loaded.', - $id, - )); - } - - $extension = $this->container->get($id); - - if ($extension instanceof Extension\GeneratorAwareExtension) { - $extension = $extension->withGenerator($this); - } - - return $extension; - } - - public function addProvider($provider) - { - array_unshift($this->providers, $provider); - - $this->formatters = []; - } - - public function getProviders() - { - return $this->providers; - } - - /** - * With the unique generator you are guaranteed to never get the same two - * values. - * - * - * // will never return twice the same value - * $faker->unique()->randomElement(array(1, 2, 3)); - * - * - * @param bool $reset If set to true, resets the list of existing values - * @param int $maxRetries Maximum number of retries to find a unique value, - * After which an OverflowException is thrown. - * - * @throws \OverflowException When no unique value can be found by iterating $maxRetries times - * - * @return self A proxy class returning only non-existing values - */ - public function unique($reset = false, $maxRetries = 10000) - { - if ($reset || $this->uniqueGenerator === null) { - $this->uniqueGenerator = new UniqueGenerator($this, $maxRetries); - } - - return $this->uniqueGenerator; - } - - /** - * Get a value only some percentage of the time. - * - * @param float $weight A probability between 0 and 1, 0 means that we always get the default value. - * - * @return self - */ - public function optional(float $weight = 0.5, $default = null) - { - if ($weight > 1) { - trigger_deprecation('fakerphp/faker', '1.16', 'First argument ($weight) to method "optional()" must be between 0 and 1. You passed %f, we assume you meant %f.', $weight, $weight / 100); - $weight = $weight / 100; - } - - return new ChanceGenerator($this, $weight, $default); - } - - /** - * To make sure the value meet some criteria, pass a callable that verifies the - * output. If the validator fails, the generator will try again. - * - * The value validity is determined by a function passed as first argument. - * - * - * $values = array(); - * $evenValidator = function ($digit) { - * return $digit % 2 === 0; - * }; - * for ($i=0; $i < 10; $i++) { - * $values []= $faker->valid($evenValidator)->randomDigit; - * } - * print_r($values); // [0, 4, 8, 4, 2, 6, 0, 8, 8, 6] - * - * - * @param ?\Closure $validator A function returning true for valid values - * @param int $maxRetries Maximum number of retries to find a valid value, - * After which an OverflowException is thrown. - * - * @throws \OverflowException When no valid value can be found by iterating $maxRetries times - * - * @return self A proxy class returning only valid values - */ - public function valid(?\Closure $validator = null, int $maxRetries = 10000) - { - return new ValidGenerator($this, $validator, $maxRetries); - } - - public function seed($seed = null) - { - if ($seed === null) { - mt_srand(); - } else { - mt_srand((int) $seed, MT_RAND_PHP); - } - } - - public function format($format, $arguments = []) - { - return call_user_func_array($this->getFormatter($format), $arguments); - } - - /** - * @param string $format - * - * @return callable - */ - public function getFormatter($format) - { - if (isset($this->formatters[$format])) { - return $this->formatters[$format]; - } - - if (method_exists($this, $format)) { - $this->formatters[$format] = [$this, $format]; - - return $this->formatters[$format]; - } - - // "Faker\Core\Barcode->ean13" - if (preg_match('|^([a-zA-Z0-9\\\]+)->([a-zA-Z0-9]+)$|', $format, $matches)) { - $this->formatters[$format] = [$this->ext($matches[1]), $matches[2]]; - - return $this->formatters[$format]; - } - - foreach ($this->providers as $provider) { - if (method_exists($provider, $format)) { - $this->formatters[$format] = [$provider, $format]; - - return $this->formatters[$format]; - } - } - - throw new \InvalidArgumentException(sprintf('Unknown format "%s"', $format)); - } - - /** - * Replaces tokens ('{{ tokenName }}') with the result from the token method call - * - * @param string $string String that needs to bet parsed - * - * @return string - */ - public function parse($string) - { - $callback = function ($matches) { - return $this->format($matches[1]); - }; - - return preg_replace_callback('/{{\s?(\w+|[\w\\\]+->\w+?)\s?}}/u', $callback, $string); - } - - /** - * Get a random MIME type - * - * @example 'video/avi' - */ - public function mimeType() - { - return $this->ext(Extension\FileExtension::class)->mimeType(); - } - - /** - * Get a random file extension (without a dot) - * - * @example avi - */ - public function fileExtension() - { - return $this->ext(Extension\FileExtension::class)->extension(); - } - - /** - * Get a full path to a new real file on the system. - */ - public function filePath() - { - return $this->ext(Extension\FileExtension::class)->filePath(); - } - - /** - * Get an actual blood type - * - * @example 'AB' - */ - public function bloodType(): string - { - return $this->ext(Extension\BloodExtension::class)->bloodType(); - } - - /** - * Get a random resis value - * - * @example '+' - */ - public function bloodRh(): string - { - return $this->ext(Extension\BloodExtension::class)->bloodRh(); - } - - /** - * Get a full blood group - * - * @example 'AB+' - */ - public function bloodGroup(): string - { - return $this->ext(Extension\BloodExtension::class)->bloodGroup(); - } - - /** - * Get a random EAN13 barcode. - * - * @example '4006381333931' - */ - public function ean13(): string - { - return $this->ext(Extension\BarcodeExtension::class)->ean13(); - } - - /** - * Get a random EAN8 barcode. - * - * @example '73513537' - */ - public function ean8(): string - { - return $this->ext(Extension\BarcodeExtension::class)->ean8(); - } - - /** - * Get a random ISBN-10 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @example '4881416324' - */ - public function isbn10(): string - { - return $this->ext(Extension\BarcodeExtension::class)->isbn10(); - } - - /** - * Get a random ISBN-13 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @example '9790404436093' - */ - public function isbn13(): string - { - return $this->ext(Extension\BarcodeExtension::class)->isbn13(); - } - - /** - * Returns a random number between $int1 and $int2 (any order) - * - * @example 79907610 - */ - public function numberBetween($int1 = 0, $int2 = 2147483647): int - { - return $this->ext(Extension\NumberExtension::class)->numberBetween((int) $int1, (int) $int2); - } - - /** - * Returns a random number between 0 and 9 - */ - public function randomDigit(): int - { - return $this->ext(Extension\NumberExtension::class)->randomDigit(); - } - - /** - * Generates a random digit, which cannot be $except - */ - public function randomDigitNot($except): int - { - return $this->ext(Extension\NumberExtension::class)->randomDigitNot((int) $except); - } - - /** - * Returns a random number between 1 and 9 - */ - public function randomDigitNotZero(): int - { - return $this->ext(Extension\NumberExtension::class)->randomDigitNotZero(); - } - - /** - * Return a random float number - * - * @example 48.8932 - */ - public function randomFloat($nbMaxDecimals = null, $min = 0, $max = null): float - { - return $this->ext(Extension\NumberExtension::class)->randomFloat( - $nbMaxDecimals !== null ? (int) $nbMaxDecimals : null, - (float) $min, - $max !== null ? (float) $max : null, - ); - } - - /** - * Returns a random integer with 0 to $nbDigits digits. - * - * The maximum value returned is mt_getrandmax() - * - * @param int|null $nbDigits Defaults to a random number between 1 and 9 - * @param bool $strict Whether the returned number should have exactly $nbDigits - * - * @example 79907610 - */ - public function randomNumber($nbDigits = null, $strict = false): int - { - return $this->ext(Extension\NumberExtension::class)->randomNumber( - $nbDigits !== null ? (int) $nbDigits : null, - (bool) $strict, - ); - } - - /** - * Get a version number in semantic versioning syntax 2.0.0. (https://semver.org/spec/v2.0.0.html) - * - * @param bool $preRelease Pre release parts may be randomly included - * @param bool $build Build parts may be randomly included - * - * @example 1.0.0 - * @example 1.0.0-alpha.1 - * @example 1.0.0-alpha.1+b71f04d - */ - public function semver(bool $preRelease = false, bool $build = false): string - { - return $this->ext(Extension\VersionExtension::class)->semver($preRelease, $build); - } - - /** - * @deprecated - */ - protected function callFormatWithMatches($matches) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Protected method "callFormatWithMatches()" is deprecated and will be removed.'); - - return $this->format($matches[1]); - } - - /** - * @param string $attribute - * - * @deprecated Use a method instead. - */ - public function __get($attribute) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute); - - return $this->format($attribute); - } - - /** - * @param string $method - * @param array $attributes - */ - public function __call($method, $attributes) - { - return $this->format($method, $attributes); - } - - public function __destruct() - { - $this->seed(); - } - - public function __wakeup() - { - $this->formatters = []; - } +class Generator { + protected $providers = []; + protected $formatters = []; + + private $container; + + /** + * @var UniqueGenerator + */ + private $uniqueGenerator; + + public function __construct( ContainerInterface $container = null ) { + $this->container = $container ?: Container\ContainerBuilder::getDefault(); + } + + /** + * @template T of Extension\Extension + * + * @param class-string $id + * + * @return T + * @throws Extension\ExtensionNotFound + * + */ + public function ext( string $id ): Extension\Extension { + if ( ! $this->container->has( $id ) ) { + throw new Extension\ExtensionNotFound( sprintf( + 'No Faker extension with id "%s" was loaded.', + $id, + ) ); + } + + $extension = $this->container->get( $id ); + + if ( $extension instanceof Extension\GeneratorAwareExtension ) { + $extension = $extension->withGenerator( $this ); + } + + return $extension; + } + + public function addProvider( $provider ) { + array_unshift( $this->providers, $provider ); + + $this->formatters = []; + } + + public function getProviders() { + return $this->providers; + } + + /** + * With the unique generator you are guaranteed to never get the same two + * values. + * + * + * // will never return twice the same value + * $faker->unique()->randomElement(array(1, 2, 3)); + * + * + * @param bool $reset If set to true, resets the list of existing values + * @param int $maxRetries Maximum number of retries to find a unique value, + * After which an OverflowException is thrown. + * + * @return self A proxy class returning only non-existing values + * @throws \OverflowException When no unique value can be found by iterating $maxRetries times + * + */ + public function unique( $reset = false, $maxRetries = 10000 ) { + if ( $reset || $this->uniqueGenerator === null ) { + $this->uniqueGenerator = new UniqueGenerator( $this, $maxRetries ); + } + + return $this->uniqueGenerator; + } + + /** + * Get a value only some percentage of the time. + * + * @param float $weight A probability between 0 and 1, 0 means that we always get the default value. + * + * @return self + */ + public function optional( float $weight = 0.5, $default = null ) { + if ( $weight > 1 ) { + trigger_deprecation( 'fakerphp/faker', '1.16', 'First argument ($weight) to method "optional()" must be between 0 and 1. You passed %f, we assume you meant %f.', $weight, $weight / 100 ); + $weight = $weight / 100; + } + + return new ChanceGenerator( $this, $weight, $default ); + } + + /** + * To make sure the value meet some criteria, pass a callable that verifies the + * output. If the validator fails, the generator will try again. + * + * The value validity is determined by a function passed as first argument. + * + * + * $values = array(); + * $evenValidator = function ($digit) { + * return $digit % 2 === 0; + * }; + * for ($i=0; $i < 10; $i++) { + * $values []= $faker->valid($evenValidator)->randomDigit; + * } + * print_r($values); // [0, 4, 8, 4, 2, 6, 0, 8, 8, 6] + * + * + * @param ?\Closure $validator A function returning true for valid values + * @param int $maxRetries Maximum number of retries to find a valid value, + * After which an OverflowException is thrown. + * + * @return self A proxy class returning only valid values + * @throws \OverflowException When no valid value can be found by iterating $maxRetries times + * + */ + public function valid( ?\Closure $validator = null, int $maxRetries = 10000 ) { + return new ValidGenerator( $this, $validator, $maxRetries ); + } + + public function seed( $seed = null ) { + if ( $seed === null ) { + mt_srand(); + } else { + mt_srand( (int) $seed, MT_RAND_PHP ); + } + } + + public function format( $format, $arguments = [] ) { + return call_user_func_array( $this->getFormatter( $format ), $arguments ); + } + + /** + * @param string $format + * + * @return callable + */ + public function getFormatter( $format ) { + if ( isset( $this->formatters[ $format ] ) ) { + return $this->formatters[ $format ]; + } + + if ( method_exists( $this, $format ) ) { + $this->formatters[ $format ] = [ $this, $format ]; + + return $this->formatters[ $format ]; + } + + // "Faker\Core\Barcode->ean13" + if ( preg_match( '|^([a-zA-Z0-9\\\]+)->([a-zA-Z0-9]+)$|', $format, $matches ) ) { + $this->formatters[ $format ] = [ $this->ext( $matches[1] ), $matches[2] ]; + + return $this->formatters[ $format ]; + } + + foreach ( $this->providers as $provider ) { + if ( method_exists( $provider, $format ) ) { + $this->formatters[ $format ] = [ $provider, $format ]; + + return $this->formatters[ $format ]; + } + } + + throw new \InvalidArgumentException( sprintf( 'Unknown format "%s"', $format ) ); + } + + /** + * Replaces tokens ('{{ tokenName }}') with the result from the token method call + * + * @param string $string String that needs to bet parsed + * + * @return string + */ + public function parse( $string ) { + $callback = function ( $matches ) { + return $this->format( $matches[1] ); + }; + + return preg_replace_callback( '/{{\s?(\w+|[\w\\\]+->\w+?)\s?}}/u', $callback, $string ); + } + + /** + * Get a random MIME type + * + * @example 'video/avi' + */ + public function mimeType() { + return $this->ext( Extension\FileExtension::class )->mimeType(); + } + + /** + * Get a random file extension (without a dot) + * + * @example avi + */ + public function fileExtension() { + return $this->ext( Extension\FileExtension::class )->extension(); + } + + /** + * Get a full path to a new real file on the system. + */ + public function filePath() { + return $this->ext( Extension\FileExtension::class )->filePath(); + } + + /** + * Get an actual blood type + * + * @example 'AB' + */ + public function bloodType(): string { + return $this->ext( Extension\BloodExtension::class )->bloodType(); + } + + /** + * Get a random resis value + * + * @example '+' + */ + public function bloodRh(): string { + return $this->ext( Extension\BloodExtension::class )->bloodRh(); + } + + /** + * Get a full blood group + * + * @example 'AB+' + */ + public function bloodGroup(): string { + return $this->ext( Extension\BloodExtension::class )->bloodGroup(); + } + + /** + * Get a random EAN13 barcode. + * + * @example '4006381333931' + */ + public function ean13(): string { + return $this->ext( Extension\BarcodeExtension::class )->ean13(); + } + + /** + * Get a random EAN8 barcode. + * + * @example '73513537' + */ + public function ean8(): string { + return $this->ext( Extension\BarcodeExtension::class )->ean8(); + } + + /** + * Get a random ISBN-10 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @example '4881416324' + */ + public function isbn10(): string { + return $this->ext( Extension\BarcodeExtension::class )->isbn10(); + } + + /** + * Get a random ISBN-13 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @example '9790404436093' + */ + public function isbn13(): string { + return $this->ext( Extension\BarcodeExtension::class )->isbn13(); + } + + /** + * Returns a random number between $int1 and $int2 (any order) + * + * @example 79907610 + */ + public function numberBetween( $int1 = 0, $int2 = 2147483647 ): int { + return $this->ext( Extension\NumberExtension::class )->numberBetween( (int) $int1, (int) $int2 ); + } + + /** + * Returns a random number between 0 and 9 + */ + public function randomDigit(): int { + return $this->ext( Extension\NumberExtension::class )->randomDigit(); + } + + /** + * Generates a random digit, which cannot be $except + */ + public function randomDigitNot( $except ): int { + return $this->ext( Extension\NumberExtension::class )->randomDigitNot( (int) $except ); + } + + /** + * Returns a random number between 1 and 9 + */ + public function randomDigitNotZero(): int { + return $this->ext( Extension\NumberExtension::class )->randomDigitNotZero(); + } + + /** + * Return a random float number + * + * @example 48.8932 + */ + public function randomFloat( $nbMaxDecimals = null, $min = 0, $max = null ): float { + return $this->ext( Extension\NumberExtension::class )->randomFloat( + $nbMaxDecimals !== null ? (int) $nbMaxDecimals : null, + (float) $min, + $max !== null ? (float) $max : null, + ); + } + + /** + * Returns a random integer with 0 to $nbDigits digits. + * + * The maximum value returned is mt_getrandmax() + * + * @param int|null $nbDigits Defaults to a random number between 1 and 9 + * @param bool $strict Whether the returned number should have exactly $nbDigits + * + * @example 79907610 + */ + public function randomNumber( $nbDigits = null, $strict = false ): int { + return $this->ext( Extension\NumberExtension::class )->randomNumber( + $nbDigits !== null ? (int) $nbDigits : null, + (bool) $strict, + ); + } + + /** + * Get a version number in semantic versioning syntax 2.0.0. (https://semver.org/spec/v2.0.0.html) + * + * @param bool $preRelease Pre release parts may be randomly included + * @param bool $build Build parts may be randomly included + * + * @example 1.0.0 + * @example 1.0.0-alpha.1 + * @example 1.0.0-alpha.1+b71f04d + */ + public function semver( bool $preRelease = false, bool $build = false ): string { + return $this->ext( Extension\VersionExtension::class )->semver( $preRelease, $build ); + } + + /** + * @deprecated + */ + protected function callFormatWithMatches( $matches ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Protected method "callFormatWithMatches()" is deprecated and will be removed.' ); + + return $this->format( $matches[1] ); + } + + /** + * @param string $attribute + * + * @deprecated Use a method instead. + */ + public function __get( $attribute ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute ); + + return $this->format( $attribute ); + } + + /** + * @param string $method + * @param array $attributes + */ + public function __call( $method, $attributes ) { + return $this->format( $method, $attributes ); + } + + public function __destruct() { + $this->seed(); + } + + public function __wakeup() { + $this->formatters = []; + } } diff --git a/lib/fakerphp/faker/src/Faker/Guesser/Name.php b/lib/fakerphp/faker/src/Faker/Guesser/Name.php index ddb048b..04058a1 100644 --- a/lib/fakerphp/faker/src/Faker/Guesser/Name.php +++ b/lib/fakerphp/faker/src/Faker/Guesser/Name.php @@ -4,177 +4,174 @@ use Faker\Provider\Base; -class Name -{ - protected $generator; - - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } - - /** - * @param string $name - * @param int|null $size Length of field, if known - * - * @return callable|null - */ - public function guessFormat($name, $size = null) - { - $name = Base::toLower($name); - $generator = $this->generator; - - if (preg_match('/^is[_A-Z]/', $name)) { - return static function () use ($generator) { - return $generator->boolean; - }; - } - - if (preg_match('/(_a|A)t$/', $name)) { - return static function () use ($generator) { - return $generator->dateTime; - }; - } - - switch (str_replace('_', '', $name)) { - case 'firstname': - return static function () use ($generator) { - return $generator->firstName; - }; - - case 'lastname': - return static function () use ($generator) { - return $generator->lastName; - }; - - case 'username': - case 'login': - return static function () use ($generator) { - return $generator->userName; - }; - - case 'email': - case 'emailaddress': - return static function () use ($generator) { - return $generator->email; - }; - - case 'phonenumber': - case 'phone': - case 'telephone': - case 'telnumber': - return static function () use ($generator) { - return $generator->phoneNumber; - }; - - case 'address': - return static function () use ($generator) { - return $generator->address; - }; - - case 'city': - case 'town': - return static function () use ($generator) { - return $generator->city; - }; - - case 'streetaddress': - return static function () use ($generator) { - return $generator->streetAddress; - }; - - case 'postcode': - case 'zipcode': - return static function () use ($generator) { - return $generator->postcode; - }; - - case 'state': - return static function () use ($generator) { - return $generator->state; - }; - - case 'county': - if ($this->generator->locale == 'en_US') { - return static function () use ($generator) { - return sprintf('%s County', $generator->city); - }; - } - - return static function () use ($generator) { - return $generator->state; - }; - - case 'country': - switch ($size) { - case 2: - return static function () use ($generator) { - return $generator->countryCode; - }; - - case 3: - return static function () use ($generator) { - return $generator->countryISOAlpha3; - }; - - case 5: - case 6: - return static function () use ($generator) { - return $generator->locale; - }; - - default: - return static function () use ($generator) { - return $generator->country; - }; - } - - break; - - case 'locale': - return static function () use ($generator) { - return $generator->locale; - }; - - case 'currency': - case 'currencycode': - return static function () use ($generator) { - return $generator->currencyCode; - }; - - case 'url': - case 'website': - return static function () use ($generator) { - return $generator->url; - }; - - case 'company': - case 'companyname': - case 'employer': - return static function () use ($generator) { - return $generator->company; - }; - - case 'title': - if ($size !== null && $size <= 10) { - return static function () use ($generator) { - return $generator->title; - }; - } - - return static function () use ($generator) { - return $generator->sentence; - }; - - case 'body': - case 'summary': - case 'article': - case 'description': - return static function () use ($generator) { - return $generator->text; - }; - } - - return null; - } +class Name { + protected $generator; + + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } + + /** + * @param string $name + * @param int|null $size Length of field, if known + * + * @return callable|null + */ + public function guessFormat( $name, $size = null ) { + $name = Base::toLower( $name ); + $generator = $this->generator; + + if ( preg_match( '/^is[_A-Z]/', $name ) ) { + return static function () use ( $generator ) { + return $generator->boolean; + }; + } + + if ( preg_match( '/(_a|A)t$/', $name ) ) { + return static function () use ( $generator ) { + return $generator->dateTime; + }; + } + + switch ( str_replace( '_', '', $name ) ) { + case 'firstname': + return static function () use ( $generator ) { + return $generator->firstName; + }; + + case 'lastname': + return static function () use ( $generator ) { + return $generator->lastName; + }; + + case 'username': + case 'login': + return static function () use ( $generator ) { + return $generator->userName; + }; + + case 'email': + case 'emailaddress': + return static function () use ( $generator ) { + return $generator->email; + }; + + case 'phonenumber': + case 'phone': + case 'telephone': + case 'telnumber': + return static function () use ( $generator ) { + return $generator->phoneNumber; + }; + + case 'address': + return static function () use ( $generator ) { + return $generator->address; + }; + + case 'city': + case 'town': + return static function () use ( $generator ) { + return $generator->city; + }; + + case 'streetaddress': + return static function () use ( $generator ) { + return $generator->streetAddress; + }; + + case 'postcode': + case 'zipcode': + return static function () use ( $generator ) { + return $generator->postcode; + }; + + case 'state': + return static function () use ( $generator ) { + return $generator->state; + }; + + case 'county': + if ( $this->generator->locale == 'en_US' ) { + return static function () use ( $generator ) { + return sprintf( '%s County', $generator->city ); + }; + } + + return static function () use ( $generator ) { + return $generator->state; + }; + + case 'country': + switch ( $size ) { + case 2: + return static function () use ( $generator ) { + return $generator->countryCode; + }; + + case 3: + return static function () use ( $generator ) { + return $generator->countryISOAlpha3; + }; + + case 5: + case 6: + return static function () use ( $generator ) { + return $generator->locale; + }; + + default: + return static function () use ( $generator ) { + return $generator->country; + }; + } + + break; + + case 'locale': + return static function () use ( $generator ) { + return $generator->locale; + }; + + case 'currency': + case 'currencycode': + return static function () use ( $generator ) { + return $generator->currencyCode; + }; + + case 'url': + case 'website': + return static function () use ( $generator ) { + return $generator->url; + }; + + case 'company': + case 'companyname': + case 'employer': + return static function () use ( $generator ) { + return $generator->company; + }; + + case 'title': + if ( $size !== null && $size <= 10 ) { + return static function () use ( $generator ) { + return $generator->title; + }; + } + + return static function () use ( $generator ) { + return $generator->sentence; + }; + + case 'body': + case 'summary': + case 'article': + case 'description': + return static function () use ( $generator ) { + return $generator->text; + }; + } + + return null; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/ColumnTypeGuesser.php b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/ColumnTypeGuesser.php index c2a30e6..af87afc 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/ColumnTypeGuesser.php +++ b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/ColumnTypeGuesser.php @@ -2,78 +2,75 @@ namespace Faker\ORM\CakePHP; -class ColumnTypeGuesser -{ - protected $generator; +class ColumnTypeGuesser { + protected $generator; - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } - /** - * @return \Closure|null - */ - public function guessFormat($column, $table) - { - $generator = $this->generator; - $schema = $table->schema(); + /** + * @return \Closure|null + */ + public function guessFormat( $column, $table ) { + $generator = $this->generator; + $schema = $table->schema(); - switch ($schema->columnType($column)) { - case 'boolean': - return static function () use ($generator) { - return $generator->boolean; - }; + switch ( $schema->columnType( $column ) ) { + case 'boolean': + return static function () use ( $generator ) { + return $generator->boolean; + }; - case 'integer': - return static function () use ($generator) { - return $generator->numberBetween(0, 2147483647); - }; + case 'integer': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 2147483647 ); + }; - case 'biginteger': - return static function () use ($generator) { - return $generator->numberBetween(0, PHP_INT_MAX); - }; + case 'biginteger': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, PHP_INT_MAX ); + }; - case 'decimal': - case 'float': - return static function () use ($generator) { - return $generator->randomFloat(); - }; + case 'decimal': + case 'float': + return static function () use ( $generator ) { + return $generator->randomFloat(); + }; - case 'uuid': - return static function () use ($generator) { - return $generator->uuid(); - }; + case 'uuid': + return static function () use ( $generator ) { + return $generator->uuid(); + }; - case 'string': - if (method_exists($schema, 'getColumn')) { - $columnData = $schema->getColumn($column); - } else { - $columnData = $schema->column($column); - } - $length = $columnData['length']; + case 'string': + if ( method_exists( $schema, 'getColumn' ) ) { + $columnData = $schema->getColumn( $column ); + } else { + $columnData = $schema->column( $column ); + } + $length = $columnData['length']; - return static function () use ($generator, $length) { - return $generator->text($length); - }; + return static function () use ( $generator, $length ) { + return $generator->text( $length ); + }; - case 'text': - return static function () use ($generator) { - return $generator->text(); - }; + case 'text': + return static function () use ( $generator ) { + return $generator->text(); + }; - case 'date': - case 'datetime': - case 'timestamp': - case 'time': - return static function () use ($generator) { - return $generator->datetime(); - }; + case 'date': + case 'datetime': + case 'timestamp': + case 'time': + return static function () use ( $generator ) { + return $generator->datetime(); + }; - case 'binary': - default: - return null; - } - } + case 'binary': + default: + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/EntityPopulator.php index cd9890b..7c65e84 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/EntityPopulator.php @@ -4,170 +4,159 @@ use Cake\ORM\TableRegistry; -class EntityPopulator -{ - protected $class; - protected $connectionName; - protected $columnFormatters = []; - protected $modifiers = []; - - public function __construct($class) - { - $this->class = $class; - } - - /** - * @param string $name - */ - public function __get($name) - { - return $this->{$name}; - } - - /** - * @param string $name - */ - public function __set($name, $value) - { - $this->{$name} = $value; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - public function mergeModifiersWith($modifiers) - { - $this->modifiers = array_merge($this->modifiers, $modifiers); - } - - /** - * @return array - */ - public function guessColumnFormatters($populator) - { - $formatters = []; - $class = $this->class; - $table = $this->getTable($class); - $schema = $table->schema(); - $pk = $schema->primaryKey(); - $guessers = $populator->getGuessers() + ['ColumnTypeGuesser' => new ColumnTypeGuesser($populator->getGenerator())]; - $isForeignKey = static function ($column) use ($table) { - foreach ($table->associations()->type('BelongsTo') as $assoc) { - if ($column == $assoc->foreignKey()) { - return true; - } - } - - return false; - }; - - foreach ($schema->columns() as $column) { - if ($column == $pk[0] || $isForeignKey($column)) { - continue; - } - - foreach ($guessers as $guesser) { - if ($formatter = $guesser->guessFormat($column, $table)) { - $formatters[$column] = $formatter; - - break; - } - } - } - - return $formatters; - } - - /** - * @return array - */ - public function guessModifiers() - { - $modifiers = []; - $table = $this->getTable($this->class); - - $belongsTo = $table->associations()->type('BelongsTo'); - - foreach ($belongsTo as $assoc) { - $modifiers['belongsTo' . $assoc->name()] = function ($data, $insertedEntities) use ($assoc) { - $table = $assoc->target(); - $foreignModel = $table->alias(); - - $foreignKeys = []; - - if (!empty($insertedEntities[$foreignModel])) { - $foreignKeys = $insertedEntities[$foreignModel]; - } else { - $foreignKeys = $table->find('all') - ->select(['id']) - ->map(static function ($row) { - return $row->id; - }) - ->toArray(); - } - - if (empty($foreignKeys)) { - throw new \Exception(sprintf('%s belongsTo %s, which seems empty at this point.', $this->getTable($this->class)->table(), $assoc->table())); - } - - $foreignKey = $foreignKeys[array_rand($foreignKeys)]; - $data[$assoc->foreignKey()] = $foreignKey; - - return $data; - }; - } - - // TODO check if TreeBehavior attached to modify lft/rgt cols - - return $modifiers; - } - - /** - * @param array $options - */ - public function execute($class, $insertedEntities, $options = []) - { - $table = $this->getTable($class); - $entity = $table->newEntity(); - - foreach ($this->columnFormatters as $column => $format) { - if (null !== $format) { - $entity->{$column} = is_callable($format) ? $format($insertedEntities, $table) : $format; - } - } - - foreach ($this->modifiers as $modifier) { - $entity = $modifier($entity, $insertedEntities); - } - - if (!$entity = $table->save($entity, $options)) { - throw new \RuntimeException("Failed saving $class record"); - } - - $pk = $table->primaryKey(); - - if (is_string($pk)) { - return $entity->{$pk}; - } - - return $entity->{$pk[0]}; - } - - public function setConnection($name) - { - $this->connectionName = $name; - } - - protected function getTable($class) - { - $options = []; - - if (!empty($this->connectionName)) { - $options['connection'] = $this->connectionName; - } - - return TableRegistry::get($class, $options); - } +class EntityPopulator { + protected $class; + protected $connectionName; + protected $columnFormatters = []; + protected $modifiers = []; + + public function __construct( $class ) { + $this->class = $class; + } + + /** + * @param string $name + */ + public function __get( $name ) { + return $this->{$name}; + } + + /** + * @param string $name + */ + public function __set( $name, $value ) { + $this->{$name} = $value; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + public function mergeModifiersWith( $modifiers ) { + $this->modifiers = array_merge( $this->modifiers, $modifiers ); + } + + /** + * @return array + */ + public function guessColumnFormatters( $populator ) { + $formatters = []; + $class = $this->class; + $table = $this->getTable( $class ); + $schema = $table->schema(); + $pk = $schema->primaryKey(); + $guessers = $populator->getGuessers() + [ 'ColumnTypeGuesser' => new ColumnTypeGuesser( $populator->getGenerator() ) ]; + $isForeignKey = static function ( $column ) use ( $table ) { + foreach ( $table->associations()->type( 'BelongsTo' ) as $assoc ) { + if ( $column == $assoc->foreignKey() ) { + return true; + } + } + + return false; + }; + + foreach ( $schema->columns() as $column ) { + if ( $column == $pk[0] || $isForeignKey( $column ) ) { + continue; + } + + foreach ( $guessers as $guesser ) { + if ( $formatter = $guesser->guessFormat( $column, $table ) ) { + $formatters[ $column ] = $formatter; + + break; + } + } + } + + return $formatters; + } + + /** + * @return array + */ + public function guessModifiers() { + $modifiers = []; + $table = $this->getTable( $this->class ); + + $belongsTo = $table->associations()->type( 'BelongsTo' ); + + foreach ( $belongsTo as $assoc ) { + $modifiers[ 'belongsTo' . $assoc->name() ] = function ( $data, $insertedEntities ) use ( $assoc ) { + $table = $assoc->target(); + $foreignModel = $table->alias(); + + $foreignKeys = []; + + if ( ! empty( $insertedEntities[ $foreignModel ] ) ) { + $foreignKeys = $insertedEntities[ $foreignModel ]; + } else { + $foreignKeys = $table->find( 'all' ) + ->select( [ 'id' ] ) + ->map( static function ( $row ) { + return $row->id; + } ) + ->toArray(); + } + + if ( empty( $foreignKeys ) ) { + throw new \Exception( sprintf( '%s belongsTo %s, which seems empty at this point.', $this->getTable( $this->class )->table(), $assoc->table() ) ); + } + + $foreignKey = $foreignKeys[ array_rand( $foreignKeys ) ]; + $data[ $assoc->foreignKey() ] = $foreignKey; + + return $data; + }; + } + + // TODO check if TreeBehavior attached to modify lft/rgt cols + + return $modifiers; + } + + /** + * @param array $options + */ + public function execute( $class, $insertedEntities, $options = [] ) { + $table = $this->getTable( $class ); + $entity = $table->newEntity(); + + foreach ( $this->columnFormatters as $column => $format ) { + if ( null !== $format ) { + $entity->{$column} = is_callable( $format ) ? $format( $insertedEntities, $table ) : $format; + } + } + + foreach ( $this->modifiers as $modifier ) { + $entity = $modifier( $entity, $insertedEntities ); + } + + if ( ! $entity = $table->save( $entity, $options ) ) { + throw new \RuntimeException( "Failed saving $class record" ); + } + + $pk = $table->primaryKey(); + + if ( is_string( $pk ) ) { + return $entity->{$pk}; + } + + return $entity->{$pk[0]}; + } + + public function setConnection( $name ) { + $this->connectionName = $name; + } + + protected function getTable( $class ) { + $options = []; + + if ( ! empty( $this->connectionName ) ) { + $options['connection'] = $this->connectionName; + } + + return TableRegistry::get( $class, $options ); + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/Populator.php index ac195fb..e28eddc 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/CakePHP/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/CakePHP/Populator.php @@ -2,112 +2,104 @@ namespace Faker\ORM\CakePHP; -class Populator -{ - protected $generator; - protected $entities = []; - protected $quantities = []; - protected $guessers = []; - - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } - - /** - * @return \Faker\Generator - */ - public function getGenerator() - { - return $this->generator; - } - - /** - * @return array - */ - public function getGuessers() - { - return $this->guessers; - } - - /** - * @return $this - */ - public function removeGuesser($name) - { - if ($this->guessers[$name]) { - unset($this->guessers[$name]); - } - - return $this; - } - - /** - * @throws \Exception - * - * @return $this - */ - public function addGuesser($class) - { - if (!is_object($class)) { - $class = new $class($this->generator); - } - - if (!method_exists($class, 'guessFormat')) { - throw new \Exception('Missing required custom guesser method: ' . get_class($class) . '::guessFormat()'); - } - - $this->guessers[get_class($class)] = $class; - - return $this; - } - - /** - * @param array $customColumnFormatters - * @param array $customModifiers - * - * @return $this - */ - public function addEntity($entity, $number, $customColumnFormatters = [], $customModifiers = []) - { - if (!$entity instanceof EntityPopulator) { - $entity = new EntityPopulator($entity); - } - - $entity->columnFormatters = $entity->guessColumnFormatters($this); - - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - - $entity->modifiers = $entity->guessModifiers($this); - - if ($customModifiers) { - $entity->mergeModifiersWith($customModifiers); - } - - $class = $entity->class; - $this->entities[$class] = $entity; - $this->quantities[$class] = $number; - - return $this; - } - - /** - * @param array $options - * - * @return array - */ - public function execute($options = []) - { - $insertedEntities = []; - - foreach ($this->quantities as $class => $number) { - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$class][] = $this->entities[$class]->execute($class, $insertedEntities, $options); - } - } - - return $insertedEntities; - } +class Populator { + protected $generator; + protected $entities = []; + protected $quantities = []; + protected $guessers = []; + + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Faker\Generator + */ + public function getGenerator() { + return $this->generator; + } + + /** + * @return array + */ + public function getGuessers() { + return $this->guessers; + } + + /** + * @return $this + */ + public function removeGuesser( $name ) { + if ( $this->guessers[ $name ] ) { + unset( $this->guessers[ $name ] ); + } + + return $this; + } + + /** + * @return $this + * @throws \Exception + * + */ + public function addGuesser( $class ) { + if ( ! is_object( $class ) ) { + $class = new $class( $this->generator ); + } + + if ( ! method_exists( $class, 'guessFormat' ) ) { + throw new \Exception( 'Missing required custom guesser method: ' . get_class( $class ) . '::guessFormat()' ); + } + + $this->guessers[ get_class( $class ) ] = $class; + + return $this; + } + + /** + * @param array $customColumnFormatters + * @param array $customModifiers + * + * @return $this + */ + public function addEntity( $entity, $number, $customColumnFormatters = [], $customModifiers = [] ) { + if ( ! $entity instanceof EntityPopulator ) { + $entity = new EntityPopulator( $entity ); + } + + $entity->columnFormatters = $entity->guessColumnFormatters( $this ); + + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + + $entity->modifiers = $entity->guessModifiers( $this ); + + if ( $customModifiers ) { + $entity->mergeModifiersWith( $customModifiers ); + } + + $class = $entity->class; + $this->entities[ $class ] = $entity; + $this->quantities[ $class ] = $number; + + return $this; + } + + /** + * @param array $options + * + * @return array + */ + public function execute( $options = [] ) { + $insertedEntities = []; + + foreach ( $this->quantities as $class => $number ) { + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $class ][] = $this->entities[ $class ]->execute( $class, $insertedEntities, $options ); + } + } + + return $insertedEntities; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/ColumnTypeGuesser.php b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/ColumnTypeGuesser.php index 3267fe4..3b7a045 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/ColumnTypeGuesser.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/ColumnTypeGuesser.php @@ -7,85 +7,82 @@ require_once 'backward-compatibility.php'; -class ColumnTypeGuesser -{ - protected $generator; - - public function __construct(Generator $generator) - { - $this->generator = $generator; - } - - /** - * @return \Closure|null - */ - public function guessFormat($fieldName, ClassMetadata $class) - { - $generator = $this->generator; - $type = $class->getTypeOfField($fieldName); - - switch ($type) { - case 'boolean': - return static function () use ($generator) { - return $generator->boolean; - }; - - case 'decimal': - $size = $class->fieldMappings[$fieldName]['precision'] ?? 2; - - return static function () use ($generator, $size) { - return $generator->randomNumber($size + 2) / 100; - }; - - case 'smallint': - return static function () use ($generator) { - return $generator->numberBetween(0, 65535); - }; - - case 'integer': - return static function () use ($generator) { - return $generator->numberBetween(0, 2147483647); - }; - - case 'bigint': - return static function () use ($generator) { - return $generator->numberBetween(0, PHP_INT_MAX); - }; - - case 'float': - return static function () use ($generator) { - return $generator->randomFloat(); - }; - - case 'string': - $size = $class->fieldMappings[$fieldName]['length'] ?? 255; - - return static function () use ($generator, $size) { - return $generator->text($size); - }; - - case 'text': - return static function () use ($generator) { - return $generator->text; - }; - - case 'datetime': - case 'date': - case 'time': - return static function () use ($generator) { - return $generator->datetime; - }; - - case 'datetime_immutable': - case 'date_immutable': - case 'time_immutable': - return static function () use ($generator) { - return \DateTimeImmutable::createFromMutable($generator->datetime); - }; - - default: - // no smart way to guess what the user expects here - return null; - } - } +class ColumnTypeGuesser { + protected $generator; + + public function __construct( Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Closure|null + */ + public function guessFormat( $fieldName, ClassMetadata $class ) { + $generator = $this->generator; + $type = $class->getTypeOfField( $fieldName ); + + switch ( $type ) { + case 'boolean': + return static function () use ( $generator ) { + return $generator->boolean; + }; + + case 'decimal': + $size = $class->fieldMappings[ $fieldName ]['precision'] ?? 2; + + return static function () use ( $generator, $size ) { + return $generator->randomNumber( $size + 2 ) / 100; + }; + + case 'smallint': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 65535 ); + }; + + case 'integer': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 2147483647 ); + }; + + case 'bigint': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, PHP_INT_MAX ); + }; + + case 'float': + return static function () use ( $generator ) { + return $generator->randomFloat(); + }; + + case 'string': + $size = $class->fieldMappings[ $fieldName ]['length'] ?? 255; + + return static function () use ( $generator, $size ) { + return $generator->text( $size ); + }; + + case 'text': + return static function () use ( $generator ) { + return $generator->text; + }; + + case 'datetime': + case 'date': + case 'time': + return static function () use ( $generator ) { + return $generator->datetime; + }; + + case 'datetime_immutable': + case 'date_immutable': + case 'time_immutable': + return static function () use ( $generator ) { + return \DateTimeImmutable::createFromMutable( $generator->datetime ); + }; + + default: + // no smart way to guess what the user expects here + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/EntityPopulator.php index 4792399..b6f0368 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/EntityPopulator.php @@ -10,239 +10,225 @@ /** * Service class for populating a table through a Doctrine Entity class. */ -class EntityPopulator -{ - /** - * @var ClassMetadata - */ - protected $class; - /** - * @var array - */ - protected $columnFormatters = []; - /** - * @var array - */ - protected $modifiers = []; - - public function __construct(ClassMetadata $class) - { - $this->class = $class; - } - - /** - * @return string - */ - public function getClass() - { - return $this->class->getName(); - } - - public function setColumnFormatters($columnFormatters) - { - $this->columnFormatters = $columnFormatters; - } - - /** - * @return array - */ - public function getColumnFormatters() - { - return $this->columnFormatters; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - public function setModifiers(array $modifiers) - { - $this->modifiers = $modifiers; - } - - /** - * @return array - */ - public function getModifiers() - { - return $this->modifiers; - } - - public function mergeModifiersWith(array $modifiers) - { - $this->modifiers = array_merge($this->modifiers, $modifiers); - } - - /** - * @return array - */ - public function guessColumnFormatters(\Faker\Generator $generator) - { - $formatters = []; - $nameGuesser = new \Faker\Guesser\Name($generator); - $columnTypeGuesser = new ColumnTypeGuesser($generator); - - foreach ($this->class->getFieldNames() as $fieldName) { - if ($this->class->isIdentifier($fieldName) || !$this->class->hasField($fieldName)) { - continue; - } - - $size = $this->class->fieldMappings[$fieldName]['length'] ?? null; - - if ($formatter = $nameGuesser->guessFormat($fieldName, $size)) { - $formatters[$fieldName] = $formatter; - - continue; - } - - if ($formatter = $columnTypeGuesser->guessFormat($fieldName, $this->class)) { - $formatters[$fieldName] = $formatter; - - continue; - } - } - - foreach ($this->class->getAssociationNames() as $assocName) { - if ($this->class->isCollectionValuedAssociation($assocName)) { - continue; - } - - $relatedClass = $this->class->getAssociationTargetClass($assocName); - - $unique = $optional = false; - - if ($this->class instanceof \Doctrine\ORM\Mapping\ClassMetadata) { - $mappings = $this->class->getAssociationMappings(); - - foreach ($mappings as $mapping) { - if ($mapping['targetEntity'] == $relatedClass) { - if ($mapping['type'] == \Doctrine\ORM\Mapping\ClassMetadata::ONE_TO_ONE) { - $unique = true; - $optional = $mapping['joinColumns'][0]['nullable'] ?? false; - - break; - } - } - } - } elseif ($this->class instanceof \Doctrine\ODM\MongoDB\Mapping\ClassMetadata) { - $mappings = $this->class->associationMappings; - - foreach ($mappings as $mapping) { - if ($mapping['targetDocument'] == $relatedClass) { - if ($mapping['type'] == \Doctrine\ODM\MongoDB\Mapping\ClassMetadata::ONE && $mapping['association'] == \Doctrine\ODM\MongoDB\Mapping\ClassMetadata::REFERENCE_ONE) { - $unique = true; - $optional = $mapping['nullable'] ?? false; - - break; - } - } - } - } - - $index = 0; - $formatters[$assocName] = static function ($inserted) use ($relatedClass, &$index, $unique, $optional, $generator) { - if (isset($inserted[$relatedClass])) { - if ($unique) { - $related = null; - - if (isset($inserted[$relatedClass][$index]) || !$optional) { - $related = $inserted[$relatedClass][$index]; - } - - ++$index; - - return $related; - } - - return $generator->randomElement($inserted[$relatedClass]); - } - - return null; - }; - } - - return $formatters; - } - - /** - * Insert one new record using the Entity class. - * - * @param bool $generateId - * - * @return EntityPopulator - */ - public function execute(ObjectManager $manager, $insertedEntities, $generateId = false) - { - $obj = $this->class->newInstance(); - - $this->fillColumns($obj, $insertedEntities); - $this->callMethods($obj, $insertedEntities); - - if ($generateId) { - $idsName = $this->class->getIdentifier(); - - foreach ($idsName as $idName) { - $id = $this->generateId($obj, $idName, $manager); - $this->class->reflFields[$idName]->setValue($obj, $id); - } - } - - $manager->persist($obj); - - return $obj; - } - - private function fillColumns($obj, $insertedEntities): void - { - foreach ($this->columnFormatters as $field => $format) { - if (null !== $format) { - // Add some extended debugging information to any errors thrown by the formatter - try { - $value = is_callable($format) ? $format($insertedEntities, $obj) : $format; - } catch (\InvalidArgumentException $ex) { - throw new \InvalidArgumentException(sprintf( - 'Failed to generate a value for %s::%s: %s', - get_class($obj), - $field, - $ex->getMessage(), - )); - } - // Try a standard setter if it's available, otherwise fall back on reflection - $setter = sprintf('set%s', ucfirst($field)); - - if (is_callable([$obj, $setter])) { - $obj->$setter($value); - } else { - $this->class->reflFields[$field]->setValue($obj, $value); - } - } - } - } - - private function callMethods($obj, $insertedEntities): void - { - foreach ($this->getModifiers() as $modifier) { - $modifier($obj, $insertedEntities); - } - } - - /** - * @return int - */ - private function generateId($obj, $column, ObjectManager $manager) - { - $repository = $manager->getRepository(get_class($obj)); - $result = $repository->createQueryBuilder('e') - ->select(sprintf('e.%s', $column)) - ->getQuery() - ->execute(); - $ids = array_map('current', $result->toArray()); - - do { - $id = mt_rand(); - } while (in_array($id, $ids, false)); - - return $id; - } +class EntityPopulator { + /** + * @var ClassMetadata + */ + protected $class; + /** + * @var array + */ + protected $columnFormatters = []; + /** + * @var array + */ + protected $modifiers = []; + + public function __construct( ClassMetadata $class ) { + $this->class = $class; + } + + /** + * @return string + */ + public function getClass() { + return $this->class->getName(); + } + + public function setColumnFormatters( $columnFormatters ) { + $this->columnFormatters = $columnFormatters; + } + + /** + * @return array + */ + public function getColumnFormatters() { + return $this->columnFormatters; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + public function setModifiers( array $modifiers ) { + $this->modifiers = $modifiers; + } + + /** + * @return array + */ + public function getModifiers() { + return $this->modifiers; + } + + public function mergeModifiersWith( array $modifiers ) { + $this->modifiers = array_merge( $this->modifiers, $modifiers ); + } + + /** + * @return array + */ + public function guessColumnFormatters( \Faker\Generator $generator ) { + $formatters = []; + $nameGuesser = new \Faker\Guesser\Name( $generator ); + $columnTypeGuesser = new ColumnTypeGuesser( $generator ); + + foreach ( $this->class->getFieldNames() as $fieldName ) { + if ( $this->class->isIdentifier( $fieldName ) || ! $this->class->hasField( $fieldName ) ) { + continue; + } + + $size = $this->class->fieldMappings[ $fieldName ]['length'] ?? null; + + if ( $formatter = $nameGuesser->guessFormat( $fieldName, $size ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + + if ( $formatter = $columnTypeGuesser->guessFormat( $fieldName, $this->class ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + } + + foreach ( $this->class->getAssociationNames() as $assocName ) { + if ( $this->class->isCollectionValuedAssociation( $assocName ) ) { + continue; + } + + $relatedClass = $this->class->getAssociationTargetClass( $assocName ); + + $unique = $optional = false; + + if ( $this->class instanceof \Doctrine\ORM\Mapping\ClassMetadata ) { + $mappings = $this->class->getAssociationMappings(); + + foreach ( $mappings as $mapping ) { + if ( $mapping['targetEntity'] == $relatedClass ) { + if ( $mapping['type'] == \Doctrine\ORM\Mapping\ClassMetadata::ONE_TO_ONE ) { + $unique = true; + $optional = $mapping['joinColumns'][0]['nullable'] ?? false; + + break; + } + } + } + } elseif ( $this->class instanceof \Doctrine\ODM\MongoDB\Mapping\ClassMetadata ) { + $mappings = $this->class->associationMappings; + + foreach ( $mappings as $mapping ) { + if ( $mapping['targetDocument'] == $relatedClass ) { + if ( $mapping['type'] == \Doctrine\ODM\MongoDB\Mapping\ClassMetadata::ONE && $mapping['association'] == \Doctrine\ODM\MongoDB\Mapping\ClassMetadata::REFERENCE_ONE ) { + $unique = true; + $optional = $mapping['nullable'] ?? false; + + break; + } + } + } + } + + $index = 0; + $formatters[ $assocName ] = static function ( $inserted ) use ( $relatedClass, &$index, $unique, $optional, $generator ) { + if ( isset( $inserted[ $relatedClass ] ) ) { + if ( $unique ) { + $related = null; + + if ( isset( $inserted[ $relatedClass ][ $index ] ) || ! $optional ) { + $related = $inserted[ $relatedClass ][ $index ]; + } + + ++ $index; + + return $related; + } + + return $generator->randomElement( $inserted[ $relatedClass ] ); + } + + return null; + }; + } + + return $formatters; + } + + /** + * Insert one new record using the Entity class. + * + * @param bool $generateId + * + * @return EntityPopulator + */ + public function execute( ObjectManager $manager, $insertedEntities, $generateId = false ) { + $obj = $this->class->newInstance(); + + $this->fillColumns( $obj, $insertedEntities ); + $this->callMethods( $obj, $insertedEntities ); + + if ( $generateId ) { + $idsName = $this->class->getIdentifier(); + + foreach ( $idsName as $idName ) { + $id = $this->generateId( $obj, $idName, $manager ); + $this->class->reflFields[ $idName ]->setValue( $obj, $id ); + } + } + + $manager->persist( $obj ); + + return $obj; + } + + private function fillColumns( $obj, $insertedEntities ): void { + foreach ( $this->columnFormatters as $field => $format ) { + if ( null !== $format ) { + // Add some extended debugging information to any errors thrown by the formatter + try { + $value = is_callable( $format ) ? $format( $insertedEntities, $obj ) : $format; + } catch ( \InvalidArgumentException $ex ) { + throw new \InvalidArgumentException( sprintf( + 'Failed to generate a value for %s::%s: %s', + get_class( $obj ), + $field, + $ex->getMessage(), + ) ); + } + // Try a standard setter if it's available, otherwise fall back on reflection + $setter = sprintf( 'set%s', ucfirst( $field ) ); + + if ( is_callable( [ $obj, $setter ] ) ) { + $obj->$setter( $value ); + } else { + $this->class->reflFields[ $field ]->setValue( $obj, $value ); + } + } + } + } + + private function callMethods( $obj, $insertedEntities ): void { + foreach ( $this->getModifiers() as $modifier ) { + $modifier( $obj, $insertedEntities ); + } + } + + /** + * @return int + */ + private function generateId( $obj, $column, ObjectManager $manager ) { + $repository = $manager->getRepository( get_class( $obj ) ); + $result = $repository->createQueryBuilder( 'e' ) + ->select( sprintf( 'e.%s', $column ) ) + ->getQuery() + ->execute(); + $ids = array_map( 'current', $result->toArray() ); + + do { + $id = mt_rand(); + } while ( in_array( $id, $ids, false ) ); + + return $id; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/Populator.php index 1bce6ab..819cabb 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/Populator.php @@ -11,116 +11,112 @@ * Service class for populating a database using the Doctrine ORM or ODM. * A Populator can populate several tables using ActiveRecord classes. */ -class Populator -{ - /** - * @var int - */ - protected $batchSize; - - /** - * @var Generator - */ - protected $generator; - - /** - * @var ObjectManager|null - */ - protected $manager; - - /** - * @var array - */ - protected $entities = []; - - /** - * @var array - */ - protected $quantities = []; - - /** - * @var array - */ - protected $generateId = []; - - /** - * Populator constructor. - * - * @param int $batchSize - */ - public function __construct(Generator $generator, ObjectManager $manager = null, $batchSize = 1000) - { - $this->generator = $generator; - $this->manager = $manager; - $this->batchSize = $batchSize; - } - - /** - * Add an order for the generation of $number records for $entity. - * - * @param mixed $entity A Doctrine classname, or a \Faker\ORM\Doctrine\EntityPopulator instance - * @param int $number The number of entities to populate - */ - public function addEntity($entity, $number, $customColumnFormatters = [], $customModifiers = [], $generateId = false) - { - if (!$entity instanceof \Faker\ORM\Doctrine\EntityPopulator) { - if (null === $this->manager) { - throw new \InvalidArgumentException('No entity manager passed to Doctrine Populator.'); - } - $entity = new \Faker\ORM\Doctrine\EntityPopulator($this->manager->getClassMetadata($entity)); - } - $entity->setColumnFormatters($entity->guessColumnFormatters($this->generator)); - - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - $entity->mergeModifiersWith($customModifiers); - $this->generateId[$entity->getClass()] = $generateId; - - $class = $entity->getClass(); - $this->entities[$class] = $entity; - $this->quantities[$class] = $number; - } - - /** - * Populate the database using all the Entity classes previously added. - * - * Please note that large amounts of data will result in more memory usage since the the Populator will return - * all newly created primary keys after executing. - * - * @param ObjectManager|null $entityManager A Doctrine connection object - * - * @return array A list of the inserted PKs - */ - public function execute($entityManager = null) - { - if (null === $entityManager) { - $entityManager = $this->manager; - } - - if (null === $entityManager) { - throw new \InvalidArgumentException('No entity manager passed to Doctrine Populator.'); - } - - $insertedEntities = []; - - foreach ($this->quantities as $class => $number) { - $generateId = $this->generateId[$class]; - - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$class][] = $this->entities[$class]->execute( - $entityManager, - $insertedEntities, - $generateId, - ); - - if (count($insertedEntities) % $this->batchSize === 0) { - $entityManager->flush(); - } - } - $entityManager->flush(); - } - - return $insertedEntities; - } +class Populator { + /** + * @var int + */ + protected $batchSize; + + /** + * @var Generator + */ + protected $generator; + + /** + * @var ObjectManager|null + */ + protected $manager; + + /** + * @var array + */ + protected $entities = []; + + /** + * @var array + */ + protected $quantities = []; + + /** + * @var array + */ + protected $generateId = []; + + /** + * Populator constructor. + * + * @param int $batchSize + */ + public function __construct( Generator $generator, ObjectManager $manager = null, $batchSize = 1000 ) { + $this->generator = $generator; + $this->manager = $manager; + $this->batchSize = $batchSize; + } + + /** + * Add an order for the generation of $number records for $entity. + * + * @param mixed $entity A Doctrine classname, or a \Faker\ORM\Doctrine\EntityPopulator instance + * @param int $number The number of entities to populate + */ + public function addEntity( $entity, $number, $customColumnFormatters = [], $customModifiers = [], $generateId = false ) { + if ( ! $entity instanceof \Faker\ORM\Doctrine\EntityPopulator ) { + if ( null === $this->manager ) { + throw new \InvalidArgumentException( 'No entity manager passed to Doctrine Populator.' ); + } + $entity = new \Faker\ORM\Doctrine\EntityPopulator( $this->manager->getClassMetadata( $entity ) ); + } + $entity->setColumnFormatters( $entity->guessColumnFormatters( $this->generator ) ); + + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + $entity->mergeModifiersWith( $customModifiers ); + $this->generateId[ $entity->getClass() ] = $generateId; + + $class = $entity->getClass(); + $this->entities[ $class ] = $entity; + $this->quantities[ $class ] = $number; + } + + /** + * Populate the database using all the Entity classes previously added. + * + * Please note that large amounts of data will result in more memory usage since the the Populator will return + * all newly created primary keys after executing. + * + * @param ObjectManager|null $entityManager A Doctrine connection object + * + * @return array A list of the inserted PKs + */ + public function execute( $entityManager = null ) { + if ( null === $entityManager ) { + $entityManager = $this->manager; + } + + if ( null === $entityManager ) { + throw new \InvalidArgumentException( 'No entity manager passed to Doctrine Populator.' ); + } + + $insertedEntities = []; + + foreach ( $this->quantities as $class => $number ) { + $generateId = $this->generateId[ $class ]; + + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $class ][] = $this->entities[ $class ]->execute( + $entityManager, + $insertedEntities, + $generateId, + ); + + if ( count( $insertedEntities ) % $this->batchSize === 0 ) { + $entityManager->flush(); + } + } + $entityManager->flush(); + } + + return $insertedEntities; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/backward-compatibility.php b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/backward-compatibility.php index 6f545f8..9507529 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Doctrine/backward-compatibility.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Doctrine/backward-compatibility.php @@ -1,11 +1,11 @@ generator = $generator; - } - - /** - * @return \Closure|null - */ - public function guessFormat($field) - { - $generator = $this->generator; - - switch ($field['type']) { - case 'boolean': - return static function () use ($generator) { - return $generator->boolean; - }; - - case 'integer': - return static function () use ($generator) { - return $generator->numberBetween(0, 4294967295); - }; - - case 'float': - return static function () use ($generator) { - return $generator->randomFloat(); - }; - - case 'string': - return static function () use ($generator) { - return $generator->text(255); - }; - - case 'date': - return static function () use ($generator) { - return $generator->dateTime; - }; - - default: - // no smart way to guess what the user expects here - return null; - } - } +class ColumnTypeGuesser { + /** + * @var Generator + */ + protected $generator; + + public function __construct( Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Closure|null + */ + public function guessFormat( $field ) { + $generator = $this->generator; + + switch ( $field['type'] ) { + case 'boolean': + return static function () use ( $generator ) { + return $generator->boolean; + }; + + case 'integer': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 4294967295 ); + }; + + case 'float': + return static function () use ( $generator ) { + return $generator->randomFloat(); + }; + + case 'string': + return static function () use ( $generator ) { + return $generator->text( 255 ); + }; + + case 'date': + return static function () use ( $generator ) { + return $generator->dateTime; + }; + + default: + // no smart way to guess what the user expects here + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Mandango/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/Mandango/EntityPopulator.php index 515ab7b..26a4c14 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Mandango/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Mandango/EntityPopulator.php @@ -8,116 +8,108 @@ /** * Service class for populating a table through a Mandango ActiveRecord class. */ -class EntityPopulator -{ - protected $class; - protected $columnFormatters = []; - - /** - * @param string $class A Mandango ActiveRecord classname - */ - public function __construct($class) - { - $this->class = $class; - } - - /** - * @return string - */ - public function getClass() - { - return $this->class; - } - - public function setColumnFormatters($columnFormatters) - { - $this->columnFormatters = $columnFormatters; - } - - /** - * @return array - */ - public function getColumnFormatters() - { - return $this->columnFormatters; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - /** - * @return array - */ - public function guessColumnFormatters(\Faker\Generator $generator, Mandango $mandango) - { - $formatters = []; - $nameGuesser = new \Faker\Guesser\Name($generator); - $columnTypeGuesser = new \Faker\ORM\Mandango\ColumnTypeGuesser($generator); - - $metadata = $mandango->getMetadata($this->class); - - // fields - foreach ($metadata['fields'] as $fieldName => $field) { - if ($formatter = $nameGuesser->guessFormat($fieldName)) { - $formatters[$fieldName] = $formatter; - - continue; - } - - if ($formatter = $columnTypeGuesser->guessFormat($field)) { - $formatters[$fieldName] = $formatter; - - continue; - } - } - - // references - foreach (array_merge($metadata['referencesOne'], $metadata['referencesMany']) as $referenceName => $reference) { - if (!isset($reference['class'])) { - continue; - } - $referenceClass = $reference['class']; - - $formatters[$referenceName] = static function ($insertedEntities) use ($referenceClass) { - if (isset($insertedEntities[$referenceClass])) { - return Base::randomElement($insertedEntities[$referenceClass]); - } - - return null; - }; - } - - return $formatters; - } - - /** - * Insert one new record using the Entity class. - */ - public function execute(Mandango $mandango, $insertedEntities) - { - $metadata = $mandango->getMetadata($this->class); - - $obj = $mandango->create($this->class); - - foreach ($this->columnFormatters as $column => $format) { - if (null !== $format) { - $value = is_callable($format) ? $format($insertedEntities, $obj) : $format; - - if (isset($metadata['fields'][$column]) - || isset($metadata['referencesOne'][$column])) { - $obj->set($column, $value); - } - - if (isset($metadata['referencesMany'][$column])) { - $adder = 'add' . ucfirst($column); - $obj->$adder($value); - } - } - } - $mandango->persist($obj); - - return $obj; - } +class EntityPopulator { + protected $class; + protected $columnFormatters = []; + + /** + * @param string $class A Mandango ActiveRecord classname + */ + public function __construct( $class ) { + $this->class = $class; + } + + /** + * @return string + */ + public function getClass() { + return $this->class; + } + + public function setColumnFormatters( $columnFormatters ) { + $this->columnFormatters = $columnFormatters; + } + + /** + * @return array + */ + public function getColumnFormatters() { + return $this->columnFormatters; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + /** + * @return array + */ + public function guessColumnFormatters( \Faker\Generator $generator, Mandango $mandango ) { + $formatters = []; + $nameGuesser = new \Faker\Guesser\Name( $generator ); + $columnTypeGuesser = new \Faker\ORM\Mandango\ColumnTypeGuesser( $generator ); + + $metadata = $mandango->getMetadata( $this->class ); + + // fields + foreach ( $metadata['fields'] as $fieldName => $field ) { + if ( $formatter = $nameGuesser->guessFormat( $fieldName ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + + if ( $formatter = $columnTypeGuesser->guessFormat( $field ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + } + + // references + foreach ( array_merge( $metadata['referencesOne'], $metadata['referencesMany'] ) as $referenceName => $reference ) { + if ( ! isset( $reference['class'] ) ) { + continue; + } + $referenceClass = $reference['class']; + + $formatters[ $referenceName ] = static function ( $insertedEntities ) use ( $referenceClass ) { + if ( isset( $insertedEntities[ $referenceClass ] ) ) { + return Base::randomElement( $insertedEntities[ $referenceClass ] ); + } + + return null; + }; + } + + return $formatters; + } + + /** + * Insert one new record using the Entity class. + */ + public function execute( Mandango $mandango, $insertedEntities ) { + $metadata = $mandango->getMetadata( $this->class ); + + $obj = $mandango->create( $this->class ); + + foreach ( $this->columnFormatters as $column => $format ) { + if ( null !== $format ) { + $value = is_callable( $format ) ? $format( $insertedEntities, $obj ) : $format; + + if ( isset( $metadata['fields'][ $column ] ) + || isset( $metadata['referencesOne'][ $column ] ) ) { + $obj->set( $column, $value ); + } + + if ( isset( $metadata['referencesMany'][ $column ] ) ) { + $adder = 'add' . ucfirst( $column ); + $obj->$adder( $value ); + } + } + } + $mandango->persist( $obj ); + + return $obj; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Mandango/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/Mandango/Populator.php index de6c3b8..6998bd3 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Mandango/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Mandango/Populator.php @@ -8,56 +8,52 @@ * Service class for populating a database using Mandango. * A Populator can populate several tables using ActiveRecord classes. */ -class Populator -{ - protected $generator; - protected $mandango; - protected $entities = []; - protected $quantities = []; - - public function __construct(\Faker\Generator $generator, Mandango $mandango) - { - $this->generator = $generator; - $this->mandango = $mandango; - } - - /** - * Add an order for the generation of $number records for $entity. - * - * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel\EntityPopulator instance - * @param int $number The number of entities to populate - */ - public function addEntity($entity, $number, $customColumnFormatters = []) - { - if (!$entity instanceof \Faker\ORM\Mandango\EntityPopulator) { - $entity = new \Faker\ORM\Mandango\EntityPopulator($entity); - } - $entity->setColumnFormatters($entity->guessColumnFormatters($this->generator, $this->mandango)); - - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - $class = $entity->getClass(); - $this->entities[$class] = $entity; - $this->quantities[$class] = $number; - } - - /** - * Populate the database using all the Entity classes previously added. - * - * @return array A list of the inserted entities. - */ - public function execute() - { - $insertedEntities = []; - - foreach ($this->quantities as $class => $number) { - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$class][] = $this->entities[$class]->execute($this->mandango, $insertedEntities); - } - } - $this->mandango->flush(); - - return $insertedEntities; - } +class Populator { + protected $generator; + protected $mandango; + protected $entities = []; + protected $quantities = []; + + public function __construct( \Faker\Generator $generator, Mandango $mandango ) { + $this->generator = $generator; + $this->mandango = $mandango; + } + + /** + * Add an order for the generation of $number records for $entity. + * + * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel\EntityPopulator instance + * @param int $number The number of entities to populate + */ + public function addEntity( $entity, $number, $customColumnFormatters = [] ) { + if ( ! $entity instanceof \Faker\ORM\Mandango\EntityPopulator ) { + $entity = new \Faker\ORM\Mandango\EntityPopulator( $entity ); + } + $entity->setColumnFormatters( $entity->guessColumnFormatters( $this->generator, $this->mandango ) ); + + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + $class = $entity->getClass(); + $this->entities[ $class ] = $entity; + $this->quantities[ $class ] = $number; + } + + /** + * Populate the database using all the Entity classes previously added. + * + * @return array A list of the inserted entities. + */ + public function execute() { + $insertedEntities = []; + + foreach ( $this->quantities as $class => $number ) { + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $class ][] = $this->entities[ $class ]->execute( $this->mandango, $insertedEntities ); + } + } + $this->mandango->flush(); + + return $insertedEntities; + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php b/lib/fakerphp/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php index 3d8a9a1..93a00a7 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel/ColumnTypeGuesser.php @@ -2,108 +2,105 @@ namespace Faker\ORM\Propel; -class ColumnTypeGuesser -{ - protected $generator; - - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } - - /** - * @return \Closure|null - */ - public function guessFormat(\ColumnMap $column) - { - $generator = $this->generator; - - if ($column->isTemporal()) { - if ($column->isEpochTemporal()) { - return static function () use ($generator) { - return $generator->dateTime; - }; - } - - return static function () use ($generator) { - return $generator->dateTimeAD; - }; - } - $type = $column->getType(); - - switch ($type) { - case \PropelColumnTypes::BOOLEAN: - case \PropelColumnTypes::BOOLEAN_EMU: - return static function () use ($generator) { - return $generator->boolean; - }; - - case \PropelColumnTypes::NUMERIC: - case \PropelColumnTypes::DECIMAL: - $size = $column->getSize(); - - return static function () use ($generator, $size) { - return $generator->randomNumber($size + 2) / 100; - }; - - case \PropelColumnTypes::TINYINT: - return static function () use ($generator) { - return $generator->numberBetween(0, 127); - }; - - case \PropelColumnTypes::SMALLINT: - return static function () use ($generator) { - return $generator->numberBetween(0, 32767); - }; - - case \PropelColumnTypes::INTEGER: - return static function () use ($generator) { - return $generator->numberBetween(0, 2147483647); - }; - - case \PropelColumnTypes::BIGINT: - return static function () use ($generator) { - return $generator->numberBetween(0, PHP_INT_MAX); - }; - - case \PropelColumnTypes::FLOAT: - case \PropelColumnTypes::DOUBLE: - case \PropelColumnTypes::REAL: - return static function () use ($generator) { - return $generator->randomFloat(); - }; - - case \PropelColumnTypes::CHAR: - case \PropelColumnTypes::VARCHAR: - case \PropelColumnTypes::BINARY: - case \PropelColumnTypes::VARBINARY: - $size = $column->getSize(); - - return static function () use ($generator, $size) { - return $generator->text($size); - }; - - case \PropelColumnTypes::LONGVARCHAR: - case \PropelColumnTypes::LONGVARBINARY: - case \PropelColumnTypes::CLOB: - case \PropelColumnTypes::CLOB_EMU: - case \PropelColumnTypes::BLOB: - return static function () use ($generator) { - return $generator->text; - }; - - case \PropelColumnTypes::ENUM: - $valueSet = $column->getValueSet(); - - return static function () use ($generator, $valueSet) { - return $generator->randomElement($valueSet); - }; - - case \PropelColumnTypes::OBJECT: - case \PropelColumnTypes::PHP_ARRAY: - default: - // no smart way to guess what the user expects here - return null; - } - } +class ColumnTypeGuesser { + protected $generator; + + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Closure|null + */ + public function guessFormat( \ColumnMap $column ) { + $generator = $this->generator; + + if ( $column->isTemporal() ) { + if ( $column->isEpochTemporal() ) { + return static function () use ( $generator ) { + return $generator->dateTime; + }; + } + + return static function () use ( $generator ) { + return $generator->dateTimeAD; + }; + } + $type = $column->getType(); + + switch ( $type ) { + case \PropelColumnTypes::BOOLEAN: + case \PropelColumnTypes::BOOLEAN_EMU: + return static function () use ( $generator ) { + return $generator->boolean; + }; + + case \PropelColumnTypes::NUMERIC: + case \PropelColumnTypes::DECIMAL: + $size = $column->getSize(); + + return static function () use ( $generator, $size ) { + return $generator->randomNumber( $size + 2 ) / 100; + }; + + case \PropelColumnTypes::TINYINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 127 ); + }; + + case \PropelColumnTypes::SMALLINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 32767 ); + }; + + case \PropelColumnTypes::INTEGER: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 2147483647 ); + }; + + case \PropelColumnTypes::BIGINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, PHP_INT_MAX ); + }; + + case \PropelColumnTypes::FLOAT: + case \PropelColumnTypes::DOUBLE: + case \PropelColumnTypes::REAL: + return static function () use ( $generator ) { + return $generator->randomFloat(); + }; + + case \PropelColumnTypes::CHAR: + case \PropelColumnTypes::VARCHAR: + case \PropelColumnTypes::BINARY: + case \PropelColumnTypes::VARBINARY: + $size = $column->getSize(); + + return static function () use ( $generator, $size ) { + return $generator->text( $size ); + }; + + case \PropelColumnTypes::LONGVARCHAR: + case \PropelColumnTypes::LONGVARBINARY: + case \PropelColumnTypes::CLOB: + case \PropelColumnTypes::CLOB_EMU: + case \PropelColumnTypes::BLOB: + return static function () use ( $generator ) { + return $generator->text; + }; + + case \PropelColumnTypes::ENUM: + $valueSet = $column->getValueSet(); + + return static function () use ( $generator, $valueSet ) { + return $generator->randomElement( $valueSet ); + }; + + case \PropelColumnTypes::OBJECT: + case \PropelColumnTypes::PHP_ARRAY: + default: + // no smart way to guess what the user expects here + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/Propel/EntityPopulator.php index f5af75c..51f7eeb 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel/EntityPopulator.php @@ -7,198 +7,185 @@ /** * Service class for populating a table through a Propel ActiveRecord class. */ -class EntityPopulator -{ - protected $class; - protected $columnFormatters = []; - protected $modifiers = []; - - /** - * @param string $class A Propel ActiveRecord classname - */ - public function __construct($class) - { - $this->class = $class; - } - - /** - * @return string - */ - public function getClass() - { - return $this->class; - } - - public function setColumnFormatters($columnFormatters) - { - $this->columnFormatters = $columnFormatters; - } - - /** - * @return array - */ - public function getColumnFormatters() - { - return $this->columnFormatters; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - /** - * @return array - */ - public function guessColumnFormatters(\Faker\Generator $generator) - { - $formatters = []; - $class = $this->class; - $peerClass = $class::PEER; - $tableMap = $peerClass::getTableMap(); - $nameGuesser = new \Faker\Guesser\Name($generator); - $columnTypeGuesser = new \Faker\ORM\Propel\ColumnTypeGuesser($generator); - - foreach ($tableMap->getColumns() as $columnMap) { - // skip behavior columns, handled by modifiers - if ($this->isColumnBehavior($columnMap)) { - continue; - } - - if ($columnMap->isForeignKey()) { - $relatedClass = $columnMap->getRelation()->getForeignTable()->getClassname(); - $formatters[$columnMap->getPhpName()] = static function ($inserted) use ($relatedClass, $generator) { - return isset($inserted[$relatedClass]) ? $generator->randomElement($inserted[$relatedClass]) : null; - }; - - continue; - } - - if ($columnMap->isPrimaryKey()) { - continue; - } - - if ($formatter = $nameGuesser->guessFormat($columnMap->getPhpName(), $columnMap->getSize())) { - $formatters[$columnMap->getPhpName()] = $formatter; - - continue; - } - - if ($formatter = $columnTypeGuesser->guessFormat($columnMap)) { - $formatters[$columnMap->getPhpName()] = $formatter; - - continue; - } - } - - return $formatters; - } - - /** - * @return bool - */ - protected function isColumnBehavior(\ColumnMap $columnMap) - { - foreach ($columnMap->getTable()->getBehaviors() as $name => $params) { - $columnName = Base::toLower($columnMap->getName()); - - switch ($name) { - case 'nested_set': - $columnNames = [$params['left_column'], $params['right_column'], $params['level_column']]; - - if (in_array($columnName, $columnNames, false)) { - return true; - } - - break; - - case 'timestampable': - $columnNames = [$params['create_column'], $params['update_column']]; - - if (in_array($columnName, $columnNames, false)) { - return true; - } - - break; - } - } - - return false; - } - - public function setModifiers($modifiers) - { - $this->modifiers = $modifiers; - } - - /** - * @return array - */ - public function getModifiers() - { - return $this->modifiers; - } - - public function mergeModifiersWith($modifiers) - { - $this->modifiers = array_merge($this->modifiers, $modifiers); - } - - /** - * @return array - */ - public function guessModifiers(\Faker\Generator $generator) - { - $modifiers = []; - $class = $this->class; - $peerClass = $class::PEER; - $tableMap = $peerClass::getTableMap(); - - foreach ($tableMap->getBehaviors() as $name => $params) { - switch ($name) { - case 'nested_set': - $modifiers['nested_set'] = static function ($obj, $inserted) use ($class, $generator): void { - if (isset($inserted[$class])) { - $queryClass = $class . 'Query'; - $parent = $queryClass::create()->findPk($generator->randomElement($inserted[$class])); - $obj->insertAsLastChildOf($parent); - } else { - $obj->makeRoot(); - } - }; - - break; - - case 'sortable': - $modifiers['sortable'] = static function ($obj, $inserted) use ($class, $generator): void { - $obj->insertAtRank($generator->numberBetween(1, count($inserted[$class] ?? []) + 1)); - }; - - break; - } - } - - return $modifiers; - } - - /** - * Insert one new record using the Entity class. - */ - public function execute($con, $insertedEntities) - { - $obj = new $this->class(); - - foreach ($this->getColumnFormatters() as $column => $format) { - if (null !== $format) { - $obj->setByName($column, is_callable($format) ? $format($insertedEntities, $obj) : $format); - } - } - - foreach ($this->getModifiers() as $modifier) { - $modifier($obj, $insertedEntities); - } - $obj->save($con); - - return $obj->getPrimaryKey(); - } +class EntityPopulator { + protected $class; + protected $columnFormatters = []; + protected $modifiers = []; + + /** + * @param string $class A Propel ActiveRecord classname + */ + public function __construct( $class ) { + $this->class = $class; + } + + /** + * @return string + */ + public function getClass() { + return $this->class; + } + + public function setColumnFormatters( $columnFormatters ) { + $this->columnFormatters = $columnFormatters; + } + + /** + * @return array + */ + public function getColumnFormatters() { + return $this->columnFormatters; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + /** + * @return array + */ + public function guessColumnFormatters( \Faker\Generator $generator ) { + $formatters = []; + $class = $this->class; + $peerClass = $class::PEER; + $tableMap = $peerClass::getTableMap(); + $nameGuesser = new \Faker\Guesser\Name( $generator ); + $columnTypeGuesser = new \Faker\ORM\Propel\ColumnTypeGuesser( $generator ); + + foreach ( $tableMap->getColumns() as $columnMap ) { + // skip behavior columns, handled by modifiers + if ( $this->isColumnBehavior( $columnMap ) ) { + continue; + } + + if ( $columnMap->isForeignKey() ) { + $relatedClass = $columnMap->getRelation()->getForeignTable()->getClassname(); + $formatters[ $columnMap->getPhpName() ] = static function ( $inserted ) use ( $relatedClass, $generator ) { + return isset( $inserted[ $relatedClass ] ) ? $generator->randomElement( $inserted[ $relatedClass ] ) : null; + }; + + continue; + } + + if ( $columnMap->isPrimaryKey() ) { + continue; + } + + if ( $formatter = $nameGuesser->guessFormat( $columnMap->getPhpName(), $columnMap->getSize() ) ) { + $formatters[ $columnMap->getPhpName() ] = $formatter; + + continue; + } + + if ( $formatter = $columnTypeGuesser->guessFormat( $columnMap ) ) { + $formatters[ $columnMap->getPhpName() ] = $formatter; + + continue; + } + } + + return $formatters; + } + + /** + * @return bool + */ + protected function isColumnBehavior( \ColumnMap $columnMap ) { + foreach ( $columnMap->getTable()->getBehaviors() as $name => $params ) { + $columnName = Base::toLower( $columnMap->getName() ); + + switch ( $name ) { + case 'nested_set': + $columnNames = [ $params['left_column'], $params['right_column'], $params['level_column'] ]; + + if ( in_array( $columnName, $columnNames, false ) ) { + return true; + } + + break; + + case 'timestampable': + $columnNames = [ $params['create_column'], $params['update_column'] ]; + + if ( in_array( $columnName, $columnNames, false ) ) { + return true; + } + + break; + } + } + + return false; + } + + public function setModifiers( $modifiers ) { + $this->modifiers = $modifiers; + } + + /** + * @return array + */ + public function getModifiers() { + return $this->modifiers; + } + + public function mergeModifiersWith( $modifiers ) { + $this->modifiers = array_merge( $this->modifiers, $modifiers ); + } + + /** + * @return array + */ + public function guessModifiers( \Faker\Generator $generator ) { + $modifiers = []; + $class = $this->class; + $peerClass = $class::PEER; + $tableMap = $peerClass::getTableMap(); + + foreach ( $tableMap->getBehaviors() as $name => $params ) { + switch ( $name ) { + case 'nested_set': + $modifiers['nested_set'] = static function ( $obj, $inserted ) use ( $class, $generator ): void { + if ( isset( $inserted[ $class ] ) ) { + $queryClass = $class . 'Query'; + $parent = $queryClass::create()->findPk( $generator->randomElement( $inserted[ $class ] ) ); + $obj->insertAsLastChildOf( $parent ); + } else { + $obj->makeRoot(); + } + }; + + break; + + case 'sortable': + $modifiers['sortable'] = static function ( $obj, $inserted ) use ( $class, $generator ): void { + $obj->insertAtRank( $generator->numberBetween( 1, count( $inserted[ $class ] ?? [] ) + 1 ) ); + }; + + break; + } + } + + return $modifiers; + } + + /** + * Insert one new record using the Entity class. + */ + public function execute( $con, $insertedEntities ) { + $obj = new $this->class(); + + foreach ( $this->getColumnFormatters() as $column => $format ) { + if ( null !== $format ) { + $obj->setByName( $column, is_callable( $format ) ? $format( $insertedEntities, $obj ) : $format ); + } + } + + foreach ( $this->getModifiers() as $modifier ) { + $modifier( $obj, $insertedEntities ); + } + $obj->save( $con ); + + return $obj->getPrimaryKey(); + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/Propel/Populator.php index e3d4298..1746c47 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel/Populator.php @@ -6,85 +6,80 @@ * Service class for populating a database using the Propel ORM. * A Populator can populate several tables using ActiveRecord classes. */ -class Populator -{ - protected $generator; - protected $entities = []; - protected $quantities = []; +class Populator { + protected $generator; + protected $entities = []; + protected $quantities = []; - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } - /** - * Add an order for the generation of $number records for $entity. - * - * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel\EntityPopulator instance - * @param int $number The number of entities to populate - */ - public function addEntity($entity, $number, $customColumnFormatters = [], $customModifiers = []) - { - if (!$entity instanceof \Faker\ORM\Propel\EntityPopulator) { - $entity = new \Faker\ORM\Propel\EntityPopulator($entity); - } - $entity->setColumnFormatters($entity->guessColumnFormatters($this->generator)); + /** + * Add an order for the generation of $number records for $entity. + * + * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel\EntityPopulator instance + * @param int $number The number of entities to populate + */ + public function addEntity( $entity, $number, $customColumnFormatters = [], $customModifiers = [] ) { + if ( ! $entity instanceof \Faker\ORM\Propel\EntityPopulator ) { + $entity = new \Faker\ORM\Propel\EntityPopulator( $entity ); + } + $entity->setColumnFormatters( $entity->guessColumnFormatters( $this->generator ) ); - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - $entity->setModifiers($entity->guessModifiers($this->generator)); + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + $entity->setModifiers( $entity->guessModifiers( $this->generator ) ); - if ($customModifiers) { - $entity->mergeModifiersWith($customModifiers); - } - $class = $entity->getClass(); - $this->entities[$class] = $entity; - $this->quantities[$class] = $number; - } + if ( $customModifiers ) { + $entity->mergeModifiersWith( $customModifiers ); + } + $class = $entity->getClass(); + $this->entities[ $class ] = $entity; + $this->quantities[ $class ] = $number; + } - /** - * Populate the database using all the Entity classes previously added. - * - * @param PropelPDO $con A Propel connection object - * - * @return array A list of the inserted PKs - */ - public function execute($con = null) - { - if (null === $con) { - $con = $this->getConnection(); - } - $isInstancePoolingEnabled = \Propel::isInstancePoolingEnabled(); - \Propel::disableInstancePooling(); - $insertedEntities = []; - $con->beginTransaction(); + /** + * Populate the database using all the Entity classes previously added. + * + * @param PropelPDO $con A Propel connection object + * + * @return array A list of the inserted PKs + */ + public function execute( $con = null ) { + if ( null === $con ) { + $con = $this->getConnection(); + } + $isInstancePoolingEnabled = \Propel::isInstancePoolingEnabled(); + \Propel::disableInstancePooling(); + $insertedEntities = []; + $con->beginTransaction(); - foreach ($this->quantities as $class => $number) { - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$class][] = $this->entities[$class]->execute($con, $insertedEntities); - } - } - $con->commit(); + foreach ( $this->quantities as $class => $number ) { + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $class ][] = $this->entities[ $class ]->execute( $con, $insertedEntities ); + } + } + $con->commit(); - if ($isInstancePoolingEnabled) { - \Propel::enableInstancePooling(); - } + if ( $isInstancePoolingEnabled ) { + \Propel::enableInstancePooling(); + } - return $insertedEntities; - } + return $insertedEntities; + } - protected function getConnection() - { - // use the first connection available - $class = key($this->entities); + protected function getConnection() { + // use the first connection available + $class = key( $this->entities ); - if (!$class) { - throw new \RuntimeException('No class found from entities. Did you add entities to the Populator ?'); - } + if ( ! $class ) { + throw new \RuntimeException( 'No class found from entities. Did you add entities to the Populator ?' ); + } - $peer = $class::PEER; + $peer = $class::PEER; - return \Propel::getConnection($peer::DATABASE_NAME, \Propel::CONNECTION_WRITE); - } + return \Propel::getConnection( $peer::DATABASE_NAME, \Propel::CONNECTION_WRITE ); + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php b/lib/fakerphp/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php index 4c08e0a..2867727 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel2/ColumnTypeGuesser.php @@ -5,108 +5,105 @@ use Propel\Generator\Model\PropelTypes; use Propel\Runtime\Map\ColumnMap; -class ColumnTypeGuesser -{ - protected $generator; - - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } - - /** - * @return \Closure|null - */ - public function guessFormat(ColumnMap $column) - { - $generator = $this->generator; - - if ($column->isTemporal()) { - if ($column->getType() == PropelTypes::BU_DATE || $column->getType() == PropelTypes::BU_TIMESTAMP) { - return static function () use ($generator) { - return $generator->dateTime; - }; - } - - return static function () use ($generator) { - return $generator->dateTimeAD; - }; - } - $type = $column->getType(); - - switch ($type) { - case PropelTypes::BOOLEAN: - case PropelTypes::BOOLEAN_EMU: - return static function () use ($generator) { - return $generator->boolean; - }; - - case PropelTypes::NUMERIC: - case PropelTypes::DECIMAL: - $size = $column->getSize(); - - return static function () use ($generator, $size) { - return $generator->randomNumber($size + 2) / 100; - }; - - case PropelTypes::TINYINT: - return static function () use ($generator) { - return $generator->numberBetween(0, 127); - }; - - case PropelTypes::SMALLINT: - return static function () use ($generator) { - return $generator->numberBetween(0, 32767); - }; - - case PropelTypes::INTEGER: - return static function () use ($generator) { - return $generator->numberBetween(0, 2147483647); - }; - - case PropelTypes::BIGINT: - return static function () use ($generator) { - return $generator->numberBetween(0, PHP_INT_MAX); - }; - - case PropelTypes::FLOAT: - case PropelTypes::DOUBLE: - case PropelTypes::REAL: - return static function () use ($generator) { - return $generator->randomFloat(); - }; - - case PropelTypes::CHAR: - case PropelTypes::VARCHAR: - case PropelTypes::BINARY: - case PropelTypes::VARBINARY: - $size = $column->getSize(); - - return static function () use ($generator, $size) { - return $generator->text($size); - }; - - case PropelTypes::LONGVARCHAR: - case PropelTypes::LONGVARBINARY: - case PropelTypes::CLOB: - case PropelTypes::CLOB_EMU: - case PropelTypes::BLOB: - return static function () use ($generator) { - return $generator->text; - }; - - case PropelTypes::ENUM: - $valueSet = $column->getValueSet(); - - return static function () use ($generator, $valueSet) { - return $generator->randomElement($valueSet); - }; - - case PropelTypes::OBJECT: - case PropelTypes::PHP_ARRAY: - default: - // no smart way to guess what the user expects here - return null; - } - } +class ColumnTypeGuesser { + protected $generator; + + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Closure|null + */ + public function guessFormat( ColumnMap $column ) { + $generator = $this->generator; + + if ( $column->isTemporal() ) { + if ( $column->getType() == PropelTypes::BU_DATE || $column->getType() == PropelTypes::BU_TIMESTAMP ) { + return static function () use ( $generator ) { + return $generator->dateTime; + }; + } + + return static function () use ( $generator ) { + return $generator->dateTimeAD; + }; + } + $type = $column->getType(); + + switch ( $type ) { + case PropelTypes::BOOLEAN: + case PropelTypes::BOOLEAN_EMU: + return static function () use ( $generator ) { + return $generator->boolean; + }; + + case PropelTypes::NUMERIC: + case PropelTypes::DECIMAL: + $size = $column->getSize(); + + return static function () use ( $generator, $size ) { + return $generator->randomNumber( $size + 2 ) / 100; + }; + + case PropelTypes::TINYINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 127 ); + }; + + case PropelTypes::SMALLINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 32767 ); + }; + + case PropelTypes::INTEGER: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 2147483647 ); + }; + + case PropelTypes::BIGINT: + return static function () use ( $generator ) { + return $generator->numberBetween( 0, PHP_INT_MAX ); + }; + + case PropelTypes::FLOAT: + case PropelTypes::DOUBLE: + case PropelTypes::REAL: + return static function () use ( $generator ) { + return $generator->randomFloat(); + }; + + case PropelTypes::CHAR: + case PropelTypes::VARCHAR: + case PropelTypes::BINARY: + case PropelTypes::VARBINARY: + $size = $column->getSize(); + + return static function () use ( $generator, $size ) { + return $generator->text( $size ); + }; + + case PropelTypes::LONGVARCHAR: + case PropelTypes::LONGVARBINARY: + case PropelTypes::CLOB: + case PropelTypes::CLOB_EMU: + case PropelTypes::BLOB: + return static function () use ( $generator ) { + return $generator->text; + }; + + case PropelTypes::ENUM: + $valueSet = $column->getValueSet(); + + return static function () use ( $generator, $valueSet ) { + return $generator->randomElement( $valueSet ); + }; + + case PropelTypes::OBJECT: + case PropelTypes::PHP_ARRAY: + default: + // no smart way to guess what the user expects here + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel2/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/Propel2/EntityPopulator.php index 44804e3..4f9cc30 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel2/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel2/EntityPopulator.php @@ -8,200 +8,187 @@ /** * Service class for populating a table through a Propel ActiveRecord class. */ -class EntityPopulator -{ - protected $class; - protected $columnFormatters = []; - protected $modifiers = []; - - /** - * @param string $class A Propel ActiveRecord classname - */ - public function __construct($class) - { - $this->class = $class; - } - - /** - * @return string - */ - public function getClass() - { - return $this->class; - } - - public function setColumnFormatters($columnFormatters) - { - $this->columnFormatters = $columnFormatters; - } - - /** - * @return array - */ - public function getColumnFormatters() - { - return $this->columnFormatters; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - /** - * @return array - */ - public function guessColumnFormatters(\Faker\Generator $generator) - { - $formatters = []; - $class = $this->class; - $peerClass = $class::TABLE_MAP; - $tableMap = $peerClass::getTableMap(); - $nameGuesser = new \Faker\Guesser\Name($generator); - $columnTypeGuesser = new \Faker\ORM\Propel2\ColumnTypeGuesser($generator); - - foreach ($tableMap->getColumns() as $columnMap) { - // skip behavior columns, handled by modifiers - if ($this->isColumnBehavior($columnMap)) { - continue; - } - - if ($columnMap->isForeignKey()) { - $relatedClass = $columnMap->getRelation()->getForeignTable()->getClassname(); - $formatters[$columnMap->getPhpName()] = static function ($inserted) use ($relatedClass, $generator) { - $relatedClass = trim($relatedClass, '\\'); - - return isset($inserted[$relatedClass]) ? $generator->randomElement($inserted[$relatedClass]) : null; - }; - - continue; - } - - if ($columnMap->isPrimaryKey()) { - continue; - } - - if ($formatter = $nameGuesser->guessFormat($columnMap->getPhpName(), $columnMap->getSize())) { - $formatters[$columnMap->getPhpName()] = $formatter; - - continue; - } - - if ($formatter = $columnTypeGuesser->guessFormat($columnMap)) { - $formatters[$columnMap->getPhpName()] = $formatter; - - continue; - } - } - - return $formatters; - } - - /** - * @return bool - */ - protected function isColumnBehavior(ColumnMap $columnMap) - { - foreach ($columnMap->getTable()->getBehaviors() as $name => $params) { - $columnName = Base::toLower($columnMap->getName()); - - switch ($name) { - case 'nested_set': - $columnNames = [$params['left_column'], $params['right_column'], $params['level_column']]; - - if (in_array($columnName, $columnNames, false)) { - return true; - } - - break; - - case 'timestampable': - $columnNames = [$params['create_column'], $params['update_column']]; - - if (in_array($columnName, $columnNames, false)) { - return true; - } - - break; - } - } - - return false; - } - - public function setModifiers($modifiers) - { - $this->modifiers = $modifiers; - } - - /** - * @return array - */ - public function getModifiers() - { - return $this->modifiers; - } - - public function mergeModifiersWith($modifiers) - { - $this->modifiers = array_merge($this->modifiers, $modifiers); - } - - /** - * @return array - */ - public function guessModifiers(\Faker\Generator $generator) - { - $modifiers = []; - $class = $this->class; - $peerClass = $class::TABLE_MAP; - $tableMap = $peerClass::getTableMap(); - - foreach ($tableMap->getBehaviors() as $name => $params) { - switch ($name) { - case 'nested_set': - $modifiers['nested_set'] = static function ($obj, $inserted) use ($class, $generator): void { - if (isset($inserted[$class])) { - $queryClass = $class . 'Query'; - $parent = $queryClass::create()->findPk($generator->randomElement($inserted[$class])); - $obj->insertAsLastChildOf($parent); - } else { - $obj->makeRoot(); - } - }; - - break; - - case 'sortable': - $modifiers['sortable'] = static function ($obj, $inserted) use ($class, $generator): void { - $obj->insertAtRank($generator->numberBetween(1, count($inserted[$class] ?? []) + 1)); - }; - - break; - } - } - - return $modifiers; - } - - /** - * Insert one new record using the Entity class. - */ - public function execute($con, $insertedEntities) - { - $obj = new $this->class(); - - foreach ($this->getColumnFormatters() as $column => $format) { - if (null !== $format) { - $obj->setByName($column, is_callable($format) ? $format($insertedEntities, $obj) : $format); - } - } - - foreach ($this->getModifiers() as $modifier) { - $modifier($obj, $insertedEntities); - } - $obj->save($con); - - return $obj->getPrimaryKey(); - } +class EntityPopulator { + protected $class; + protected $columnFormatters = []; + protected $modifiers = []; + + /** + * @param string $class A Propel ActiveRecord classname + */ + public function __construct( $class ) { + $this->class = $class; + } + + /** + * @return string + */ + public function getClass() { + return $this->class; + } + + public function setColumnFormatters( $columnFormatters ) { + $this->columnFormatters = $columnFormatters; + } + + /** + * @return array + */ + public function getColumnFormatters() { + return $this->columnFormatters; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + /** + * @return array + */ + public function guessColumnFormatters( \Faker\Generator $generator ) { + $formatters = []; + $class = $this->class; + $peerClass = $class::TABLE_MAP; + $tableMap = $peerClass::getTableMap(); + $nameGuesser = new \Faker\Guesser\Name( $generator ); + $columnTypeGuesser = new \Faker\ORM\Propel2\ColumnTypeGuesser( $generator ); + + foreach ( $tableMap->getColumns() as $columnMap ) { + // skip behavior columns, handled by modifiers + if ( $this->isColumnBehavior( $columnMap ) ) { + continue; + } + + if ( $columnMap->isForeignKey() ) { + $relatedClass = $columnMap->getRelation()->getForeignTable()->getClassname(); + $formatters[ $columnMap->getPhpName() ] = static function ( $inserted ) use ( $relatedClass, $generator ) { + $relatedClass = trim( $relatedClass, '\\' ); + + return isset( $inserted[ $relatedClass ] ) ? $generator->randomElement( $inserted[ $relatedClass ] ) : null; + }; + + continue; + } + + if ( $columnMap->isPrimaryKey() ) { + continue; + } + + if ( $formatter = $nameGuesser->guessFormat( $columnMap->getPhpName(), $columnMap->getSize() ) ) { + $formatters[ $columnMap->getPhpName() ] = $formatter; + + continue; + } + + if ( $formatter = $columnTypeGuesser->guessFormat( $columnMap ) ) { + $formatters[ $columnMap->getPhpName() ] = $formatter; + + continue; + } + } + + return $formatters; + } + + /** + * @return bool + */ + protected function isColumnBehavior( ColumnMap $columnMap ) { + foreach ( $columnMap->getTable()->getBehaviors() as $name => $params ) { + $columnName = Base::toLower( $columnMap->getName() ); + + switch ( $name ) { + case 'nested_set': + $columnNames = [ $params['left_column'], $params['right_column'], $params['level_column'] ]; + + if ( in_array( $columnName, $columnNames, false ) ) { + return true; + } + + break; + + case 'timestampable': + $columnNames = [ $params['create_column'], $params['update_column'] ]; + + if ( in_array( $columnName, $columnNames, false ) ) { + return true; + } + + break; + } + } + + return false; + } + + public function setModifiers( $modifiers ) { + $this->modifiers = $modifiers; + } + + /** + * @return array + */ + public function getModifiers() { + return $this->modifiers; + } + + public function mergeModifiersWith( $modifiers ) { + $this->modifiers = array_merge( $this->modifiers, $modifiers ); + } + + /** + * @return array + */ + public function guessModifiers( \Faker\Generator $generator ) { + $modifiers = []; + $class = $this->class; + $peerClass = $class::TABLE_MAP; + $tableMap = $peerClass::getTableMap(); + + foreach ( $tableMap->getBehaviors() as $name => $params ) { + switch ( $name ) { + case 'nested_set': + $modifiers['nested_set'] = static function ( $obj, $inserted ) use ( $class, $generator ): void { + if ( isset( $inserted[ $class ] ) ) { + $queryClass = $class . 'Query'; + $parent = $queryClass::create()->findPk( $generator->randomElement( $inserted[ $class ] ) ); + $obj->insertAsLastChildOf( $parent ); + } else { + $obj->makeRoot(); + } + }; + + break; + + case 'sortable': + $modifiers['sortable'] = static function ( $obj, $inserted ) use ( $class, $generator ): void { + $obj->insertAtRank( $generator->numberBetween( 1, count( $inserted[ $class ] ?? [] ) + 1 ) ); + }; + + break; + } + } + + return $modifiers; + } + + /** + * Insert one new record using the Entity class. + */ + public function execute( $con, $insertedEntities ) { + $obj = new $this->class(); + + foreach ( $this->getColumnFormatters() as $column => $format ) { + if ( null !== $format ) { + $obj->setByName( $column, is_callable( $format ) ? $format( $insertedEntities, $obj ) : $format ); + } + } + + foreach ( $this->getModifiers() as $modifier ) { + $modifier( $obj, $insertedEntities ); + } + $obj->save( $con ); + + return $obj->getPrimaryKey(); + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Propel2/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/Propel2/Populator.php index 7698f80..b080fe5 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Propel2/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Propel2/Populator.php @@ -9,85 +9,80 @@ * Service class for populating a database using the Propel ORM. * A Populator can populate several tables using ActiveRecord classes. */ -class Populator -{ - protected $generator; - protected $entities = []; - protected $quantities = []; +class Populator { + protected $generator; + protected $entities = []; + protected $quantities = []; - public function __construct(\Faker\Generator $generator) - { - $this->generator = $generator; - } + public function __construct( \Faker\Generator $generator ) { + $this->generator = $generator; + } - /** - * Add an order for the generation of $number records for $entity. - * - * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel2\EntityPopulator instance - * @param int $number The number of entities to populate - */ - public function addEntity($entity, $number, $customColumnFormatters = [], $customModifiers = []) - { - if (!$entity instanceof \Faker\ORM\Propel2\EntityPopulator) { - $entity = new \Faker\ORM\Propel2\EntityPopulator($entity); - } - $entity->setColumnFormatters($entity->guessColumnFormatters($this->generator)); + /** + * Add an order for the generation of $number records for $entity. + * + * @param mixed $entity A Propel ActiveRecord classname, or a \Faker\ORM\Propel2\EntityPopulator instance + * @param int $number The number of entities to populate + */ + public function addEntity( $entity, $number, $customColumnFormatters = [], $customModifiers = [] ) { + if ( ! $entity instanceof \Faker\ORM\Propel2\EntityPopulator ) { + $entity = new \Faker\ORM\Propel2\EntityPopulator( $entity ); + } + $entity->setColumnFormatters( $entity->guessColumnFormatters( $this->generator ) ); - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - $entity->setModifiers($entity->guessModifiers($this->generator)); + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + $entity->setModifiers( $entity->guessModifiers( $this->generator ) ); - if ($customModifiers) { - $entity->mergeModifiersWith($customModifiers); - } - $class = $entity->getClass(); - $this->entities[$class] = $entity; - $this->quantities[$class] = $number; - } + if ( $customModifiers ) { + $entity->mergeModifiersWith( $customModifiers ); + } + $class = $entity->getClass(); + $this->entities[ $class ] = $entity; + $this->quantities[ $class ] = $number; + } - /** - * Populate the database using all the Entity classes previously added. - * - * @param PropelPDO $con A Propel connection object - * - * @return array A list of the inserted PKs - */ - public function execute($con = null) - { - if (null === $con) { - $con = $this->getConnection(); - } - $isInstancePoolingEnabled = Propel::isInstancePoolingEnabled(); - Propel::disableInstancePooling(); - $insertedEntities = []; - $con->beginTransaction(); + /** + * Populate the database using all the Entity classes previously added. + * + * @param PropelPDO $con A Propel connection object + * + * @return array A list of the inserted PKs + */ + public function execute( $con = null ) { + if ( null === $con ) { + $con = $this->getConnection(); + } + $isInstancePoolingEnabled = Propel::isInstancePoolingEnabled(); + Propel::disableInstancePooling(); + $insertedEntities = []; + $con->beginTransaction(); - foreach ($this->quantities as $class => $number) { - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$class][] = $this->entities[$class]->execute($con, $insertedEntities); - } - } - $con->commit(); + foreach ( $this->quantities as $class => $number ) { + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $class ][] = $this->entities[ $class ]->execute( $con, $insertedEntities ); + } + } + $con->commit(); - if ($isInstancePoolingEnabled) { - Propel::enableInstancePooling(); - } + if ( $isInstancePoolingEnabled ) { + Propel::enableInstancePooling(); + } - return $insertedEntities; - } + return $insertedEntities; + } - protected function getConnection() - { - // use the first connection available - $class = key($this->entities); + protected function getConnection() { + // use the first connection available + $class = key( $this->entities ); - if (!$class) { - throw new \RuntimeException('No class found from entities. Did you add entities to the Populator ?'); - } + if ( ! $class ) { + throw new \RuntimeException( 'No class found from entities. Did you add entities to the Populator ?' ); + } - $peer = $class::TABLE_MAP; + $peer = $class::TABLE_MAP; - return Propel::getConnection($peer::DATABASE_NAME, ServiceContainerInterface::CONNECTION_WRITE); - } + return Propel::getConnection( $peer::DATABASE_NAME, ServiceContainerInterface::CONNECTION_WRITE ); + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Spot/ColumnTypeGuesser.php b/lib/fakerphp/faker/src/Faker/ORM/Spot/ColumnTypeGuesser.php index f06ba04..870f067 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Spot/ColumnTypeGuesser.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Spot/ColumnTypeGuesser.php @@ -4,81 +4,78 @@ use Faker\Generator; -class ColumnTypeGuesser -{ - protected $generator; - - /** - * ColumnTypeGuesser constructor. - */ - public function __construct(Generator $generator) - { - $this->generator = $generator; - } - - /** - * @return \Closure|null - */ - public function guessFormat(array $field) - { - $generator = $this->generator; - $type = $field['type']; - - switch ($type) { - case 'boolean': - return static function () use ($generator) { - return $generator->boolean; - }; - - case 'decimal': - $size = $field['precision'] ?? 2; - - return static function () use ($generator, $size) { - return $generator->randomNumber($size + 2) / 100; - }; - - case 'smallint': - return static function () use ($generator) { - return $generator->numberBetween(0, 65535); - }; - - case 'integer': - return static function () use ($generator) { - return $generator->numberBetween(0, 2147483647); - }; - - case 'bigint': - return static function () use ($generator) { - return $generator->numberBetween(0, PHP_INT_MAX); - }; - - case 'float': - return static function () use ($generator) { - return $generator->randomFloat(null, 0, 4294967295); - }; - - case 'string': - $size = $field['length'] ?? 255; - - return static function () use ($generator, $size) { - return $generator->text($size); - }; - - case 'text': - return static function () use ($generator) { - return $generator->text; - }; - - case 'datetime': - case 'date': - case 'time': - return static function () use ($generator) { - return $generator->datetime; - }; - - default: - // no smart way to guess what the user expects here - return null; - } - } +class ColumnTypeGuesser { + protected $generator; + + /** + * ColumnTypeGuesser constructor. + */ + public function __construct( Generator $generator ) { + $this->generator = $generator; + } + + /** + * @return \Closure|null + */ + public function guessFormat( array $field ) { + $generator = $this->generator; + $type = $field['type']; + + switch ( $type ) { + case 'boolean': + return static function () use ( $generator ) { + return $generator->boolean; + }; + + case 'decimal': + $size = $field['precision'] ?? 2; + + return static function () use ( $generator, $size ) { + return $generator->randomNumber( $size + 2 ) / 100; + }; + + case 'smallint': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 65535 ); + }; + + case 'integer': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, 2147483647 ); + }; + + case 'bigint': + return static function () use ( $generator ) { + return $generator->numberBetween( 0, PHP_INT_MAX ); + }; + + case 'float': + return static function () use ( $generator ) { + return $generator->randomFloat( null, 0, 4294967295 ); + }; + + case 'string': + $size = $field['length'] ?? 255; + + return static function () use ( $generator, $size ) { + return $generator->text( $size ); + }; + + case 'text': + return static function () use ( $generator ) { + return $generator->text; + }; + + case 'datetime': + case 'date': + case 'time': + return static function () use ( $generator ) { + return $generator->datetime; + }; + + default: + // no smart way to guess what the user expects here + return null; + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Spot/EntityPopulator.php b/lib/fakerphp/faker/src/Faker/ORM/Spot/EntityPopulator.php index b67ae25..385c8ac 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Spot/EntityPopulator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Spot/EntityPopulator.php @@ -11,189 +11,176 @@ /** * Service class for populating a table through a Spot Entity class. */ -class EntityPopulator -{ - /** - * When fetching existing data - fetch only few first rows. - */ - public const RELATED_FETCH_COUNT = 10; - - /** - * @var Mapper - */ - protected $mapper; - - /** - * @var Locator - */ - protected $locator; - - /** - * @var array - */ - protected $columnFormatters = []; - /** - * @var array - */ - protected $modifiers = []; - - /** - * @var bool - */ - protected $useExistingData = false; - - /** - * @param bool $useExistingData - */ - public function __construct(Mapper $mapper, Locator $locator, $useExistingData = false) - { - $this->mapper = $mapper; - $this->locator = $locator; - $this->useExistingData = $useExistingData; - } - - /** - * @return string - */ - public function getMapper() - { - return $this->mapper; - } - - public function setColumnFormatters($columnFormatters) - { - $this->columnFormatters = $columnFormatters; - } - - /** - * @return array - */ - public function getColumnFormatters() - { - return $this->columnFormatters; - } - - public function mergeColumnFormattersWith($columnFormatters) - { - $this->columnFormatters = array_merge($this->columnFormatters, $columnFormatters); - } - - public function setModifiers(array $modifiers) - { - $this->modifiers = $modifiers; - } - - /** - * @return array - */ - public function getModifiers() - { - return $this->modifiers; - } - - public function mergeModifiersWith(array $modifiers) - { - $this->modifiers = array_merge($this->modifiers, $modifiers); - } - - /** - * @return array - */ - public function guessColumnFormatters(Generator $generator) - { - $formatters = []; - $nameGuesser = new Name($generator); - $columnTypeGuesser = new ColumnTypeGuesser($generator); - $fields = $this->mapper->fields(); - - foreach ($fields as $fieldName => $field) { - if ($field['primary'] === true) { - continue; - } - - if ($formatter = $nameGuesser->guessFormat($fieldName)) { - $formatters[$fieldName] = $formatter; - - continue; - } - - if ($formatter = $columnTypeGuesser->guessFormat($field)) { - $formatters[$fieldName] = $formatter; - - continue; - } - } - $entityName = $this->mapper->entity(); - $entity = $this->mapper->build([]); - $relations = $entityName::relations($this->mapper, $entity); - - foreach ($relations as $relation) { - // We don't need any other relation here. - if ($relation instanceof BelongsTo) { - $fieldName = $relation->localKey(); - $entityName = $relation->entityName(); - $field = $fields[$fieldName]; - $required = $field['required']; - - $locator = $this->locator; - - $formatters[$fieldName] = function ($inserted) use ($required, $entityName, $locator, $generator) { - if (!empty($inserted[$entityName])) { - return $generator->randomElement($inserted[$entityName])->get('id'); - } - - if ($required && $this->useExistingData) { - // We did not add anything like this, but it's required, - // So let's find something existing in DB. - $mapper = $locator->mapper($entityName); - $records = $mapper->all()->limit(self::RELATED_FETCH_COUNT)->toArray(); - - if (empty($records)) { - return null; - } - - return $generator->randomElement($records)['id']; - } - - return null; - }; - } - } - - return $formatters; - } - - /** - * Insert one new record using the Entity class. - * - * @return string - */ - public function execute($insertedEntities) - { - $obj = $this->mapper->build([]); - - $this->fillColumns($obj, $insertedEntities); - $this->callMethods($obj, $insertedEntities); - - $this->mapper->insert($obj); - - return $obj; - } - - private function fillColumns($obj, $insertedEntities): void - { - foreach ($this->columnFormatters as $field => $format) { - if (null !== $format) { - $value = is_callable($format) ? $format($insertedEntities, $obj) : $format; - $obj->set($field, $value); - } - } - } - - private function callMethods($obj, $insertedEntities): void - { - foreach ($this->getModifiers() as $modifier) { - $modifier($obj, $insertedEntities); - } - } +class EntityPopulator { + /** + * When fetching existing data - fetch only few first rows. + */ + public const RELATED_FETCH_COUNT = 10; + + /** + * @var Mapper + */ + protected $mapper; + + /** + * @var Locator + */ + protected $locator; + + /** + * @var array + */ + protected $columnFormatters = []; + /** + * @var array + */ + protected $modifiers = []; + + /** + * @var bool + */ + protected $useExistingData = false; + + /** + * @param bool $useExistingData + */ + public function __construct( Mapper $mapper, Locator $locator, $useExistingData = false ) { + $this->mapper = $mapper; + $this->locator = $locator; + $this->useExistingData = $useExistingData; + } + + /** + * @return string + */ + public function getMapper() { + return $this->mapper; + } + + public function setColumnFormatters( $columnFormatters ) { + $this->columnFormatters = $columnFormatters; + } + + /** + * @return array + */ + public function getColumnFormatters() { + return $this->columnFormatters; + } + + public function mergeColumnFormattersWith( $columnFormatters ) { + $this->columnFormatters = array_merge( $this->columnFormatters, $columnFormatters ); + } + + public function setModifiers( array $modifiers ) { + $this->modifiers = $modifiers; + } + + /** + * @return array + */ + public function getModifiers() { + return $this->modifiers; + } + + public function mergeModifiersWith( array $modifiers ) { + $this->modifiers = array_merge( $this->modifiers, $modifiers ); + } + + /** + * @return array + */ + public function guessColumnFormatters( Generator $generator ) { + $formatters = []; + $nameGuesser = new Name( $generator ); + $columnTypeGuesser = new ColumnTypeGuesser( $generator ); + $fields = $this->mapper->fields(); + + foreach ( $fields as $fieldName => $field ) { + if ( $field['primary'] === true ) { + continue; + } + + if ( $formatter = $nameGuesser->guessFormat( $fieldName ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + + if ( $formatter = $columnTypeGuesser->guessFormat( $field ) ) { + $formatters[ $fieldName ] = $formatter; + + continue; + } + } + $entityName = $this->mapper->entity(); + $entity = $this->mapper->build( [] ); + $relations = $entityName::relations( $this->mapper, $entity ); + + foreach ( $relations as $relation ) { + // We don't need any other relation here. + if ( $relation instanceof BelongsTo ) { + $fieldName = $relation->localKey(); + $entityName = $relation->entityName(); + $field = $fields[ $fieldName ]; + $required = $field['required']; + + $locator = $this->locator; + + $formatters[ $fieldName ] = function ( $inserted ) use ( $required, $entityName, $locator, $generator ) { + if ( ! empty( $inserted[ $entityName ] ) ) { + return $generator->randomElement( $inserted[ $entityName ] )->get( 'id' ); + } + + if ( $required && $this->useExistingData ) { + // We did not add anything like this, but it's required, + // So let's find something existing in DB. + $mapper = $locator->mapper( $entityName ); + $records = $mapper->all()->limit( self::RELATED_FETCH_COUNT )->toArray(); + + if ( empty( $records ) ) { + return null; + } + + return $generator->randomElement( $records )['id']; + } + + return null; + }; + } + } + + return $formatters; + } + + /** + * Insert one new record using the Entity class. + * + * @return string + */ + public function execute( $insertedEntities ) { + $obj = $this->mapper->build( [] ); + + $this->fillColumns( $obj, $insertedEntities ); + $this->callMethods( $obj, $insertedEntities ); + + $this->mapper->insert( $obj ); + + return $obj; + } + + private function fillColumns( $obj, $insertedEntities ): void { + foreach ( $this->columnFormatters as $field => $format ) { + if ( null !== $format ) { + $value = is_callable( $format ) ? $format( $insertedEntities, $obj ) : $format; + $obj->set( $field, $value ); + } + } + } + + private function callMethods( $obj, $insertedEntities ): void { + foreach ( $this->getModifiers() as $modifier ) { + $modifier( $obj, $insertedEntities ); + } + } } diff --git a/lib/fakerphp/faker/src/Faker/ORM/Spot/Populator.php b/lib/fakerphp/faker/src/Faker/ORM/Spot/Populator.php index b321f5c..e90f721 100644 --- a/lib/fakerphp/faker/src/Faker/ORM/Spot/Populator.php +++ b/lib/fakerphp/faker/src/Faker/ORM/Spot/Populator.php @@ -7,83 +7,80 @@ /** * Service class for populating a database using the Spot ORM. */ -class Populator -{ - protected $generator; - protected $locator; - protected $entities = []; - protected $quantities = []; +class Populator { + protected $generator; + protected $locator; + protected $entities = []; + protected $quantities = []; - /** - * Populator constructor. - */ - public function __construct(\Faker\Generator $generator, Locator $locator = null) - { - $this->generator = $generator; - $this->locator = $locator; - } + /** + * Populator constructor. + */ + public function __construct( \Faker\Generator $generator, Locator $locator = null ) { + $this->generator = $generator; + $this->locator = $locator; + } - /** - * Add an order for the generation of $number records for $entity. - * - * @param string $entityName Name of Entity object to generate - * @param int $number The number of entities to populate - * @param array $customColumnFormatters - * @param array $customModifiers - * @param bool $useExistingData Should we use existing rows (e.g. roles) to populate relations? - */ - public function addEntity( - $entityName, - $number, - $customColumnFormatters = [], - $customModifiers = [], - $useExistingData = false - ) { - $mapper = $this->locator->mapper($entityName); + /** + * Add an order for the generation of $number records for $entity. + * + * @param string $entityName Name of Entity object to generate + * @param int $number The number of entities to populate + * @param array $customColumnFormatters + * @param array $customModifiers + * @param bool $useExistingData Should we use existing rows (e.g. roles) to populate relations? + */ + public function addEntity( + $entityName, + $number, + $customColumnFormatters = [], + $customModifiers = [], + $useExistingData = false + ) { + $mapper = $this->locator->mapper( $entityName ); - if (null === $mapper) { - throw new \InvalidArgumentException('No mapper can be found for entity ' . $entityName); - } - $entity = new EntityPopulator($mapper, $this->locator, $useExistingData); + if ( null === $mapper ) { + throw new \InvalidArgumentException( 'No mapper can be found for entity ' . $entityName ); + } + $entity = new EntityPopulator( $mapper, $this->locator, $useExistingData ); - $entity->setColumnFormatters($entity->guessColumnFormatters($this->generator)); + $entity->setColumnFormatters( $entity->guessColumnFormatters( $this->generator ) ); - if ($customColumnFormatters) { - $entity->mergeColumnFormattersWith($customColumnFormatters); - } - $entity->mergeModifiersWith($customModifiers); + if ( $customColumnFormatters ) { + $entity->mergeColumnFormattersWith( $customColumnFormatters ); + } + $entity->mergeModifiersWith( $customModifiers ); - $this->entities[$entityName] = $entity; - $this->quantities[$entityName] = $number; - } + $this->entities[ $entityName ] = $entity; + $this->quantities[ $entityName ] = $number; + } - /** - * Populate the database using all the Entity classes previously added. - * - * @param Locator $locator A Spot locator - * - * @return array A list of the inserted PKs - */ - public function execute($locator = null) - { - if (null === $locator) { - $locator = $this->locator; - } + /** + * Populate the database using all the Entity classes previously added. + * + * @param Locator $locator A Spot locator + * + * @return array A list of the inserted PKs + */ + public function execute( $locator = null ) { + if ( null === $locator ) { + $locator = $this->locator; + } - if (null === $locator) { - throw new \InvalidArgumentException('No entity manager passed to Spot Populator.'); - } + if ( null === $locator ) { + throw new \InvalidArgumentException( 'No entity manager passed to Spot Populator.' ); + } - $insertedEntities = []; + $insertedEntities = []; - foreach ($this->quantities as $entityName => $number) { - for ($i = 0; $i < $number; ++$i) { - $insertedEntities[$entityName][] = $this->entities[$entityName]->execute( - $insertedEntities, - ); - } - } + foreach ( $this->quantities as $entityName => $number ) { + for ( $i = 0; $i < $number; ++ $i ) { + $insertedEntities[ $entityName ][] = $this->entities[ $entityName ]->execute( + $insertedEntities, + ); + } + } - return $insertedEntities; - } + return $insertedEntities; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Address.php b/lib/fakerphp/faker/src/Faker/Provider/Address.php index 9727497..74b1595 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Address.php @@ -2,165 +2,152 @@ namespace Faker\Provider; -class Address extends Base -{ - protected static $citySuffix = ['Ville']; - protected static $streetSuffix = ['Street']; - protected static $cityFormats = [ - '{{firstName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}} {{postcode}} {{city}}', - ]; - - protected static $buildingNumber = ['%#']; - protected static $postcode = ['#####']; - protected static $country = []; - - /** - * @example 'town' - * - * @return string - */ - public static function citySuffix() - { - return static::randomElement(static::$citySuffix); - } - - /** - * @example 'Avenue' - * - * @return string - */ - public static function streetSuffix() - { - return static::randomElement(static::$streetSuffix); - } - - /** - * @example '791' - * - * @return string - */ - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } - - /** - * @example 'Sashabury' - * - * @return string - */ - public function city() - { - $format = static::randomElement(static::$cityFormats); - - return $this->generator->parse($format); - } - - /** - * @example 'Crist Parks' - * - * @return string - */ - public function streetName() - { - $format = static::randomElement(static::$streetNameFormats); - - return $this->generator->parse($format); - } - - /** - * @example '791 Crist Parks' - * - * @return string - */ - public function streetAddress() - { - $format = static::randomElement(static::$streetAddressFormats); - - return $this->generator->parse($format); - } - - /** - * @example 86039-9874 - * - * @return string - */ - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } - - /** - * @example '791 Crist Parks, Sashabury, IL 86039-9874' - * - * @return string - */ - public function address() - { - $format = static::randomElement(static::$addressFormats); - - return $this->generator->parse($format); - } - - /** - * @example 'Japan' - * - * @return string - */ - public static function country() - { - return static::randomElement(static::$country); - } - - /** - * Uses signed degrees format (returns a float number between -90 and 90) - * - * @example '77.147489' - * - * @param float|int $min - * @param float|int $max - * - * @return float - */ - public static function latitude($min = -90, $max = 90) - { - return static::randomFloat(6, $min, $max); - } - - /** - * Uses signed degrees format (returns a float number between -180 and 180) - * - * @example '86.211205' - * - * @param float|int $min - * @param float|int $max - * - * @return float - */ - public static function longitude($min = -180, $max = 180) - { - return static::randomFloat(6, $min, $max); - } - - /** - * @example array('77.147489', '86.211205') - * - * @return float[] - */ - public static function localCoordinates() - { - return [ - 'latitude' => static::latitude(), - 'longitude' => static::longitude(), - ]; - } +class Address extends Base { + protected static $citySuffix = [ 'Ville' ]; + protected static $streetSuffix = [ 'Street' ]; + protected static $cityFormats = [ + '{{firstName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}} {{postcode}} {{city}}', + ]; + + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ '#####' ]; + protected static $country = []; + + /** + * @return string + * @example 'town' + * + */ + public static function citySuffix() { + return static::randomElement( static::$citySuffix ); + } + + /** + * @return string + * @example 'Avenue' + * + */ + public static function streetSuffix() { + return static::randomElement( static::$streetSuffix ); + } + + /** + * @return string + * @example '791' + * + */ + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } + + /** + * @return string + * @example 'Sashabury' + * + */ + public function city() { + $format = static::randomElement( static::$cityFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 'Crist Parks' + * + */ + public function streetName() { + $format = static::randomElement( static::$streetNameFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example '791 Crist Parks' + * + */ + public function streetAddress() { + $format = static::randomElement( static::$streetAddressFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 86039-9874 + * + */ + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } + + /** + * @return string + * @example '791 Crist Parks, Sashabury, IL 86039-9874' + * + */ + public function address() { + $format = static::randomElement( static::$addressFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 'Japan' + * + */ + public static function country() { + return static::randomElement( static::$country ); + } + + /** + * Uses signed degrees format (returns a float number between -90 and 90) + * + * @param float|int $min + * @param float|int $max + * + * @return float + * @example '77.147489' + * + */ + public static function latitude( $min = - 90, $max = 90 ) { + return static::randomFloat( 6, $min, $max ); + } + + /** + * Uses signed degrees format (returns a float number between -180 and 180) + * + * @param float|int $min + * @param float|int $max + * + * @return float + * @example '86.211205' + * + */ + public static function longitude( $min = - 180, $max = 180 ) { + return static::randomFloat( 6, $min, $max ); + } + + /** + * @return float[] + * @example array('77.147489', '86.211205') + * + */ + public static function localCoordinates() { + return [ + 'latitude' => static::latitude(), + 'longitude' => static::longitude(), + ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Barcode.php b/lib/fakerphp/faker/src/Faker/Provider/Barcode.php index 0d39a61..42df2b2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Barcode.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Barcode.php @@ -9,99 +9,91 @@ * @see http://en.wikipedia.org/wiki/EAN-13 * @see http://en.wikipedia.org/wiki/ISBN */ -class Barcode extends Base -{ - private function ean($length = 13) - { - $code = static::numerify(str_repeat('#', $length - 1)); +class Barcode extends Base { + private function ean( $length = 13 ) { + $code = static::numerify( str_repeat( '#', $length - 1 ) ); - return $code . Ean::checksum($code); - } + return $code . Ean::checksum( $code ); + } - /** - * Utility function for computing EAN checksums - * - * @deprecated Use \Faker\Calculator\Ean::checksum() instead - * - * @param string $input - * - * @return int - */ - protected static function eanChecksum($input) - { - return Ean::checksum($input); - } + /** + * Utility function for computing EAN checksums + * + * @param string $input + * + * @return int + * @deprecated Use \Faker\Calculator\Ean::checksum() instead + * + */ + protected static function eanChecksum( $input ) { + return Ean::checksum( $input ); + } - /** - * ISBN-10 check digit - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits - * @deprecated Use \Faker\Calculator\Isbn::checksum() instead - * - * @param string $input ISBN without check-digit - * - * @throws \LengthException When wrong input length passed - * - * @return string - */ - protected static function isbnChecksum($input) - { - return Isbn::checksum($input); - } + /** + * ISBN-10 check digit + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number#ISBN-10_check_digits + * @deprecated Use \Faker\Calculator\Isbn::checksum() instead + * + * @param string $input ISBN without check-digit + * + * @throws \LengthException When wrong input length passed + * + * @return string + */ + protected static function isbnChecksum( $input ) { + return Isbn::checksum( $input ); + } - /** - * Get a random EAN13 barcode. - * - * @return string - * - * @example '4006381333931' - */ - public function ean13() - { - return $this->ean(13); - } + /** + * Get a random EAN13 barcode. + * + * @return string + * + * @example '4006381333931' + */ + public function ean13() { + return $this->ean( 13 ); + } - /** - * Get a random EAN8 barcode. - * - * @return string - * - * @example '73513537' - */ - public function ean8() - { - return $this->ean(8); - } + /** + * Get a random EAN8 barcode. + * + * @return string + * + * @example '73513537' + */ + public function ean8() { + return $this->ean( 8 ); + } - /** - * Get a random ISBN-10 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @return string - * - * @example '4881416324' - */ - public function isbn10() - { - $code = static::numerify(str_repeat('#', 9)); + /** + * Get a random ISBN-10 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @return string + * + * @example '4881416324' + */ + public function isbn10() { + $code = static::numerify( str_repeat( '#', 9 ) ); - return $code . Isbn::checksum($code); - } + return $code . Isbn::checksum( $code ); + } - /** - * Get a random ISBN-13 code - * - * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number - * - * @return string - * - * @example '9790404436093' - */ - public function isbn13() - { - $code = '97' . self::numberBetween(8, 9) . static::numerify(str_repeat('#', 9)); + /** + * Get a random ISBN-13 code + * + * @see http://en.wikipedia.org/wiki/International_Standard_Book_Number + * + * @return string + * + * @example '9790404436093' + */ + public function isbn13() { + $code = '97' . self::numberBetween( 8, 9 ) . static::numerify( str_repeat( '#', 9 ) ); - return $code . Ean::checksum($code); - } + return $code . Ean::checksum( $code ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Base.php b/lib/fakerphp/faker/src/Faker/Provider/Base.php index d91552c..af563d0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Base.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Base.php @@ -7,703 +7,676 @@ use Faker\UniqueGenerator; use Faker\ValidGenerator; -class Base -{ - /** - * @var \Faker\Generator - */ - protected $generator; - - /** - * @var \Faker\UniqueGenerator - */ - protected $unique; - - public function __construct(Generator $generator) - { - $this->generator = $generator; - } - - /** - * Returns a random number between 0 and 9 - * - * @return int - */ - public static function randomDigit() - { - return mt_rand(0, 9); - } - - /** - * Returns a random number between 1 and 9 - * - * @return int - */ - public static function randomDigitNotNull() - { - return mt_rand(1, 9); - } - - /** - * Generates a random digit, which cannot be $except - * - * @param int $except - * - * @return int - */ - public static function randomDigitNot($except) - { - $result = self::numberBetween(0, 8); - - if ($result >= $except) { - ++$result; - } - - return $result; - } - - /** - * Returns a random integer with 0 to $nbDigits digits. - * - * The maximum value returned is mt_getrandmax() - * - * @param int $nbDigits Defaults to a random number between 1 and 9 - * @param bool $strict Whether the returned number should have exactly $nbDigits - * - * @example 79907610 - * - * @return int - */ - public static function randomNumber($nbDigits = null, $strict = false) - { - if (!is_bool($strict)) { - throw new \InvalidArgumentException('randomNumber() generates numbers of fixed width. To generate numbers between two boundaries, use numberBetween() instead.'); - } - - if (null === $nbDigits) { - $nbDigits = static::randomDigitNotNull(); - } - $max = 10 ** $nbDigits - 1; - - if ($max > mt_getrandmax()) { - throw new \InvalidArgumentException('randomNumber() can only generate numbers up to mt_getrandmax()'); - } - - if ($strict) { - return mt_rand(10 ** ($nbDigits - 1), $max); - } - - return mt_rand(0, $max); - } - - /** - * Return a random float number - * - * @param int $nbMaxDecimals - * @param float|int $min - * @param float|int $max - * - * @example 48.8932 - * - * @return float - */ - public static function randomFloat($nbMaxDecimals = null, $min = 0, $max = null) - { - if (null === $nbMaxDecimals) { - $nbMaxDecimals = static::randomDigit(); - } - - if (null === $max) { - $max = static::randomNumber(); - - if ($min > $max) { - $max = $min; - } - } - - if ($min > $max) { - $tmp = $min; - $min = $max; - $max = $tmp; - } - - return round($min + mt_rand() / mt_getrandmax() * ($max - $min), $nbMaxDecimals); - } - - /** - * Returns a random number between $int1 and $int2 (any order) - * - * @param int $int1 default to 0 - * @param int $int2 defaults to 32 bit max integer, ie 2147483647 - * - * @example 79907610 - * - * @return int - */ - public static function numberBetween($int1 = 0, $int2 = 2147483647) - { - $min = $int1 < $int2 ? $int1 : $int2; - $max = $int1 < $int2 ? $int2 : $int1; - - return mt_rand($min, $max); - } - - /** - * Returns the passed value - */ - public static function passthrough($value) - { - return $value; - } - - /** - * Returns a random letter from a to z - * - * @return string - */ - public static function randomLetter() - { - return chr(mt_rand(97, 122)); - } - - /** - * Returns a random ASCII character (excluding accents and special chars) - * - * @return string - */ - public static function randomAscii() - { - return chr(mt_rand(33, 126)); - } - - /** - * Returns randomly ordered subsequence of $count elements from a provided array - * - * @todo update default $count to `null` (BC) for next major version - * - * @param array|class-string|\Traversable $array Array to take elements from. Defaults to a-c - * @param int|null $count Number of elements to take. If `null` then returns random number of elements - * @param bool $allowDuplicates Allow elements to be picked several times. Defaults to false - * - * @throws \InvalidArgumentException - * @throws \LengthException When requesting more elements than provided - * - * @return array New array with $count elements from $array - */ - public static function randomElements($array = ['a', 'b', 'c'], $count = 1, $allowDuplicates = false) - { - $elements = $array; - - if (is_string($array) && function_exists('enum_exists') && enum_exists($array)) { - $elements = $array::cases(); - } - - if ($array instanceof \Traversable) { - $elements = \iterator_to_array($array, false); - } - - if (!is_array($elements)) { - throw new \InvalidArgumentException(sprintf( - 'Argument for parameter $array needs to be array, an instance of %s, or an instance of %s, got %s instead.', - \UnitEnum::class, - \Traversable::class, - is_object($array) ? get_class($array) : gettype($array), - )); - } - - $numberOfElements = count($elements); - - if (!$allowDuplicates && null !== $count && $numberOfElements < $count) { - throw new \LengthException(sprintf( - 'Cannot get %d elements, only %d in array', - $count, - $numberOfElements, - )); - } - - if (null === $count) { - $count = mt_rand(1, $numberOfElements); - } - - $randomElements = []; - - $keys = array_keys($elements); - $maxIndex = $numberOfElements - 1; - $elementHasBeenSelectedAlready = []; - $numberOfRandomElements = 0; - - while ($numberOfRandomElements < $count) { - $index = mt_rand(0, $maxIndex); - - if (!$allowDuplicates) { - if (isset($elementHasBeenSelectedAlready[$index])) { - continue; - } - - $elementHasBeenSelectedAlready[$index] = true; - } - - $key = $keys[$index]; - - $randomElements[] = $elements[$key]; - - ++$numberOfRandomElements; - } - - return $randomElements; - } - - /** - * Returns a random element from a passed array - * - * @param array|class-string|\Traversable $array - * - * @throws \InvalidArgumentException - */ - public static function randomElement($array = ['a', 'b', 'c']) - { - $elements = $array; - - if (is_string($array) && function_exists('enum_exists') && enum_exists($array)) { - $elements = $array::cases(); - } - - if ($array instanceof \Traversable) { - $elements = iterator_to_array($array, false); - } - - if ($elements === []) { - return null; - } - - if (!is_array($elements)) { - throw new \InvalidArgumentException(sprintf( - 'Argument for parameter $array needs to be array, an instance of %s, or an instance of %s, got %s instead.', - \UnitEnum::class, - \Traversable::class, - is_object($array) ? get_class($array) : gettype($array), - )); - } - - $randomElements = static::randomElements($elements, 1); - - return $randomElements[0]; - } - - /** - * Returns a random key from a passed associative array - * - * @param array $array - * - * @return int|string|null - */ - public static function randomKey($array = []) - { - if (!$array) { - return null; - } - $keys = array_keys($array); - - return $keys[mt_rand(0, count($keys) - 1)]; - } - - /** - * Returns a shuffled version of the argument. - * - * This function accepts either an array, or a string. - * - * @example $faker->shuffle([1, 2, 3]); // [2, 1, 3] - * @example $faker->shuffle('hello, world'); // 'rlo,h eold!lw' - * - * @see shuffleArray() - * @see shuffleString() - * - * @param array|string $arg The set to shuffle - * - * @return array|string The shuffled set - */ - public static function shuffle($arg = '') - { - if (is_array($arg)) { - return static::shuffleArray($arg); - } - - if (is_string($arg)) { - return static::shuffleString($arg); - } - - throw new \InvalidArgumentException('shuffle() only supports strings or arrays'); - } - - /** - * Returns a shuffled version of the array. - * - * This function does not mutate the original array. It uses the - * Fisher–Yates algorithm, which is unbiased, together with a Mersenne - * twister random generator. This function is therefore more random than - * PHP's shuffle() function, and it is seedable. - * - * @see http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle - * - * @example $faker->shuffleArray([1, 2, 3]); // [2, 1, 3] - * - * @param array $array The set to shuffle - * - * @return array The shuffled set - */ - public static function shuffleArray($array = []) - { - $shuffledArray = []; - $i = 0; - reset($array); - - foreach ($array as $key => $value) { - if ($i == 0) { - $j = 0; - } else { - $j = mt_rand(0, $i); - } - - if ($j == $i) { - $shuffledArray[] = $value; - } else { - $shuffledArray[] = $shuffledArray[$j]; - $shuffledArray[$j] = $value; - } - ++$i; - } - - return $shuffledArray; - } - - /** - * Returns a shuffled version of the string. - * - * This function does not mutate the original string. It uses the - * Fisher–Yates algorithm, which is unbiased, together with a Mersenne - * twister random generator. This function is therefore more random than - * PHP's shuffle() function, and it is seedable. Additionally, it is - * UTF8 safe if the mb extension is available. - * - * @see http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle - * - * @example $faker->shuffleString('hello, world'); // 'rlo,h eold!lw' - * - * @param string $string The set to shuffle - * @param string $encoding The string encoding (defaults to UTF-8) - * - * @return string The shuffled set - */ - public static function shuffleString($string = '', $encoding = 'UTF-8') - { - if (function_exists('mb_strlen')) { - // UTF8-safe str_split() - $array = []; - $strlen = mb_strlen($string, $encoding); - - for ($i = 0; $i < $strlen; ++$i) { - $array[] = mb_substr($string, $i, 1, $encoding); - } - } else { - $array = str_split($string, 1); - } - - return implode('', static::shuffleArray($array)); - } - - private static function replaceWildcard($string, $wildcard, $callback) - { - if (($pos = strpos($string, $wildcard)) === false) { - return $string; - } - - for ($i = $pos, $last = strrpos($string, $wildcard, $pos) + 1; $i < $last; ++$i) { - if ($string[$i] === $wildcard) { - $string[$i] = call_user_func($callback); - } - } - - return $string; - } - - /** - * Replaces all hash sign ('#') occurrences with a random number - * Replaces all percentage sign ('%') occurrences with a not null number - * - * @param string $string String that needs to bet parsed - * - * @return string - */ - public static function numerify($string = '###') - { - // instead of using randomDigit() several times, which is slow, - // count the number of hashes and generate once a large number - $toReplace = []; - - if (($pos = strpos($string, '#')) !== false) { - for ($i = $pos, $last = strrpos($string, '#', $pos) + 1; $i < $last; ++$i) { - if ($string[$i] === '#') { - $toReplace[] = $i; - } - } - } - - if ($nbReplacements = count($toReplace)) { - $maxAtOnce = strlen((string) mt_getrandmax()) - 1; - $numbers = ''; - $i = 0; - - while ($i < $nbReplacements) { - $size = min($nbReplacements - $i, $maxAtOnce); - $numbers .= str_pad(static::randomNumber($size), $size, '0', STR_PAD_LEFT); - $i += $size; - } - - for ($i = 0; $i < $nbReplacements; ++$i) { - $string[$toReplace[$i]] = $numbers[$i]; - } - } - $string = self::replaceWildcard($string, '%', [static::class, 'randomDigitNotNull']); - - return $string; - } - - /** - * Replaces all question mark ('?') occurrences with a random letter - * - * @param string $string String that needs to bet parsed - * - * @return string - */ - public static function lexify($string = '????') - { - return self::replaceWildcard($string, '?', [static::class, 'randomLetter']); - } - - /** - * Replaces hash signs ('#') and question marks ('?') with random numbers and letters - * An asterisk ('*') is replaced with either a random number or a random letter - * - * @param string $string String that needs to be parsed - * - * @return string - */ - public static function bothify($string = '## ??') - { - $string = self::replaceWildcard($string, '*', static function () { - return mt_rand(0, 1) ? '#' : '?'; - }); - - return static::lexify(static::numerify($string)); - } - - /** - * Replaces * signs with random numbers and letters and special characters - * - * @example $faker->asciify(''********'); // "s5'G!uC3" - * - * @param string $string String that needs to bet parsed - * - * @return string - */ - public static function asciify($string = '****') - { - return preg_replace_callback('/\*/u', [static::class, 'randomAscii'], $string); - } - - /** - * Transforms a basic regular expression into a random string satisfying the expression. - * - * @example $faker->regexify('[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}'); // sm0@y8k96a.ej - * - * Regex delimiters '/.../' and begin/end markers '^...$' are ignored. - * - * Only supports a small subset of the regex syntax. For instance, - * unicode, negated classes, unbounded ranges, subpatterns, back references, - * assertions, recursive patterns, and comments are not supported. Escaping - * support is extremely fragile. - * - * This method is also VERY slow. Use it only when no other formatter - * can generate the fake data you want. For instance, prefer calling - * `$faker->email` rather than `regexify` with the previous regular - * expression. - * - * Also note than `bothify` can probably do most of what this method does, - * but much faster. For instance, for a dummy email generation, try - * `$faker->bothify('?????????@???.???')`. - * - * @see https://github.com/icomefromthenet/ReverseRegex for a more robust implementation - * - * @param string $regex A regular expression (delimiters are optional) - * - * @return string - */ - public static function regexify($regex = '') - { - // ditch the anchors - $regex = preg_replace('/^\/?\^?/', '', $regex); - $regex = preg_replace('/\$?\/?$/', '', $regex); - // All {2} become {2,2} - $regex = preg_replace('/\{(\d+)\}/', '{\1,\1}', $regex); - // Single-letter quantifiers (?, *, +) become bracket quantifiers ({0,1}, {0,rand}, {1, rand}) - $regex = preg_replace('/(? 0 && $weight < 1 && mt_rand() / mt_getrandmax() <= $weight) { - return $this->generator; - } - - // new system with percentage - if (is_int($weight) && mt_rand(1, 100) <= $weight) { - return $this->generator; - } - - return new DefaultGenerator($default); - } - - /** - * Chainable method for making any formatter unique. - * - * - * // will never return twice the same value - * $faker->unique()->randomElement(array(1, 2, 3)); - * - * - * @param bool $reset If set to true, resets the list of existing values - * @param int $maxRetries Maximum number of retries to find a unique value, - * After which an OverflowException is thrown. - * - * @throws \OverflowException When no unique value can be found by iterating $maxRetries times - * - * @return UniqueGenerator A proxy class returning only non-existing values - */ - public function unique($reset = false, $maxRetries = 10000) - { - if ($reset || !$this->unique) { - $this->unique = new UniqueGenerator($this->generator, $maxRetries); - } - - return $this->unique; - } - - /** - * Chainable method for forcing any formatter to return only valid values. - * - * The value validity is determined by a function passed as first argument. - * - * - * $values = array(); - * $evenValidator = function ($digit) { - * return $digit % 2 === 0; - * }; - * for ($i=0; $i < 10; $i++) { - * $values []= $faker->valid($evenValidator)->randomDigit; - * } - * print_r($values); // [0, 4, 8, 4, 2, 6, 0, 8, 8, 6] - * - * - * @param Closure $validator A function returning true for valid values - * @param int $maxRetries Maximum number of retries to find a unique value, - * After which an OverflowException is thrown. - * - * @throws \OverflowException When no valid value can be found by iterating $maxRetries times - * - * @return ValidGenerator A proxy class returning only valid values - */ - public function valid($validator = null, $maxRetries = 10000) - { - return new ValidGenerator($this->generator, $validator, $maxRetries); - } +class Base { + /** + * @var \Faker\Generator + */ + protected $generator; + + /** + * @var \Faker\UniqueGenerator + */ + protected $unique; + + public function __construct( Generator $generator ) { + $this->generator = $generator; + } + + /** + * Returns a random number between 0 and 9 + * + * @return int + */ + public static function randomDigit() { + return mt_rand( 0, 9 ); + } + + /** + * Returns a random number between 1 and 9 + * + * @return int + */ + public static function randomDigitNotNull() { + return mt_rand( 1, 9 ); + } + + /** + * Generates a random digit, which cannot be $except + * + * @param int $except + * + * @return int + */ + public static function randomDigitNot( $except ) { + $result = self::numberBetween( 0, 8 ); + + if ( $result >= $except ) { + ++ $result; + } + + return $result; + } + + /** + * Returns a random integer with 0 to $nbDigits digits. + * + * The maximum value returned is mt_getrandmax() + * + * @param int $nbDigits Defaults to a random number between 1 and 9 + * @param bool $strict Whether the returned number should have exactly $nbDigits + * + * @return int + * @example 79907610 + * + */ + public static function randomNumber( $nbDigits = null, $strict = false ) { + if ( ! is_bool( $strict ) ) { + throw new \InvalidArgumentException( 'randomNumber() generates numbers of fixed width. To generate numbers between two boundaries, use numberBetween() instead.' ); + } + + if ( null === $nbDigits ) { + $nbDigits = static::randomDigitNotNull(); + } + $max = 10 ** $nbDigits - 1; + + if ( $max > mt_getrandmax() ) { + throw new \InvalidArgumentException( 'randomNumber() can only generate numbers up to mt_getrandmax()' ); + } + + if ( $strict ) { + return mt_rand( 10 ** ( $nbDigits - 1 ), $max ); + } + + return mt_rand( 0, $max ); + } + + /** + * Return a random float number + * + * @param int $nbMaxDecimals + * @param float|int $min + * @param float|int $max + * + * @return float + * @example 48.8932 + * + */ + public static function randomFloat( $nbMaxDecimals = null, $min = 0, $max = null ) { + if ( null === $nbMaxDecimals ) { + $nbMaxDecimals = static::randomDigit(); + } + + if ( null === $max ) { + $max = static::randomNumber(); + + if ( $min > $max ) { + $max = $min; + } + } + + if ( $min > $max ) { + $tmp = $min; + $min = $max; + $max = $tmp; + } + + return round( $min + mt_rand() / mt_getrandmax() * ( $max - $min ), $nbMaxDecimals ); + } + + /** + * Returns a random number between $int1 and $int2 (any order) + * + * @param int $int1 default to 0 + * @param int $int2 defaults to 32 bit max integer, ie 2147483647 + * + * @return int + * @example 79907610 + * + */ + public static function numberBetween( $int1 = 0, $int2 = 2147483647 ) { + $min = $int1 < $int2 ? $int1 : $int2; + $max = $int1 < $int2 ? $int2 : $int1; + + return mt_rand( $min, $max ); + } + + /** + * Returns the passed value + */ + public static function passthrough( $value ) { + return $value; + } + + /** + * Returns a random letter from a to z + * + * @return string + */ + public static function randomLetter() { + return chr( mt_rand( 97, 122 ) ); + } + + /** + * Returns a random ASCII character (excluding accents and special chars) + * + * @return string + */ + public static function randomAscii() { + return chr( mt_rand( 33, 126 ) ); + } + + /** + * Returns randomly ordered subsequence of $count elements from a provided array + * + * @param array|class-string|\Traversable $array Array to take elements from. Defaults to a-c + * @param int|null $count Number of elements to take. If `null` then returns random number of elements + * @param bool $allowDuplicates Allow elements to be picked several times. Defaults to false + * + * @return array New array with $count elements from $array + * @throws \LengthException When requesting more elements than provided + * + * @throws \InvalidArgumentException + * @todo update default $count to `null` (BC) for next major version + * + */ + public static function randomElements( $array = [ 'a', 'b', 'c' ], $count = 1, $allowDuplicates = false ) { + $elements = $array; + + if ( is_string( $array ) && function_exists( 'enum_exists' ) && enum_exists( $array ) ) { + $elements = $array::cases(); + } + + if ( $array instanceof \Traversable ) { + $elements = \iterator_to_array( $array, false ); + } + + if ( ! is_array( $elements ) ) { + throw new \InvalidArgumentException( sprintf( + 'Argument for parameter $array needs to be array, an instance of %s, or an instance of %s, got %s instead.', + \UnitEnum::class, + \Traversable::class, + is_object( $array ) ? get_class( $array ) : gettype( $array ), + ) ); + } + + $numberOfElements = count( $elements ); + + if ( ! $allowDuplicates && null !== $count && $numberOfElements < $count ) { + throw new \LengthException( sprintf( + 'Cannot get %d elements, only %d in array', + $count, + $numberOfElements, + ) ); + } + + if ( null === $count ) { + $count = mt_rand( 1, $numberOfElements ); + } + + $randomElements = []; + + $keys = array_keys( $elements ); + $maxIndex = $numberOfElements - 1; + $elementHasBeenSelectedAlready = []; + $numberOfRandomElements = 0; + + while ( $numberOfRandomElements < $count ) { + $index = mt_rand( 0, $maxIndex ); + + if ( ! $allowDuplicates ) { + if ( isset( $elementHasBeenSelectedAlready[ $index ] ) ) { + continue; + } + + $elementHasBeenSelectedAlready[ $index ] = true; + } + + $key = $keys[ $index ]; + + $randomElements[] = $elements[ $key ]; + + ++ $numberOfRandomElements; + } + + return $randomElements; + } + + /** + * Returns a random element from a passed array + * + * @param array|class-string|\Traversable $array + * + * @throws \InvalidArgumentException + */ + public static function randomElement( $array = [ 'a', 'b', 'c' ] ) { + $elements = $array; + + if ( is_string( $array ) && function_exists( 'enum_exists' ) && enum_exists( $array ) ) { + $elements = $array::cases(); + } + + if ( $array instanceof \Traversable ) { + $elements = iterator_to_array( $array, false ); + } + + if ( $elements === [] ) { + return null; + } + + if ( ! is_array( $elements ) ) { + throw new \InvalidArgumentException( sprintf( + 'Argument for parameter $array needs to be array, an instance of %s, or an instance of %s, got %s instead.', + \UnitEnum::class, + \Traversable::class, + is_object( $array ) ? get_class( $array ) : gettype( $array ), + ) ); + } + + $randomElements = static::randomElements( $elements, 1 ); + + return $randomElements[0]; + } + + /** + * Returns a random key from a passed associative array + * + * @param array $array + * + * @return int|string|null + */ + public static function randomKey( $array = [] ) { + if ( ! $array ) { + return null; + } + $keys = array_keys( $array ); + + return $keys[ mt_rand( 0, count( $keys ) - 1 ) ]; + } + + /** + * Returns a shuffled version of the argument. + * + * This function accepts either an array, or a string. + * + * @example $faker->shuffle([1, 2, 3]); // [2, 1, 3] + * @example $faker->shuffle('hello, world'); // 'rlo,h eold!lw' + * + * @see shuffleArray() + * @see shuffleString() + * + * @param array|string $arg The set to shuffle + * + * @return array|string The shuffled set + */ + public static function shuffle( $arg = '' ) { + if ( is_array( $arg ) ) { + return static::shuffleArray( $arg ); + } + + if ( is_string( $arg ) ) { + return static::shuffleString( $arg ); + } + + throw new \InvalidArgumentException( 'shuffle() only supports strings or arrays' ); + } + + /** + * Returns a shuffled version of the array. + * + * This function does not mutate the original array. It uses the + * Fisher–Yates algorithm, which is unbiased, together with a Mersenne + * twister random generator. This function is therefore more random than + * PHP's shuffle() function, and it is seedable. + * + * @see http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle + * + * @example $faker->shuffleArray([1, 2, 3]); // [2, 1, 3] + * + * @param array $array The set to shuffle + * + * @return array The shuffled set + */ + public static function shuffleArray( $array = [] ) { + $shuffledArray = []; + $i = 0; + reset( $array ); + + foreach ( $array as $key => $value ) { + if ( $i == 0 ) { + $j = 0; + } else { + $j = mt_rand( 0, $i ); + } + + if ( $j == $i ) { + $shuffledArray[] = $value; + } else { + $shuffledArray[] = $shuffledArray[ $j ]; + $shuffledArray[ $j ] = $value; + } + ++ $i; + } + + return $shuffledArray; + } + + /** + * Returns a shuffled version of the string. + * + * This function does not mutate the original string. It uses the + * Fisher–Yates algorithm, which is unbiased, together with a Mersenne + * twister random generator. This function is therefore more random than + * PHP's shuffle() function, and it is seedable. Additionally, it is + * UTF8 safe if the mb extension is available. + * + * @see http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle + * + * @example $faker->shuffleString('hello, world'); // 'rlo,h eold!lw' + * + * @param string $string The set to shuffle + * @param string $encoding The string encoding (defaults to UTF-8) + * + * @return string The shuffled set + */ + public static function shuffleString( $string = '', $encoding = 'UTF-8' ) { + if ( function_exists( 'mb_strlen' ) ) { + // UTF8-safe str_split() + $array = []; + $strlen = mb_strlen( $string, $encoding ); + + for ( $i = 0; $i < $strlen; ++ $i ) { + $array[] = mb_substr( $string, $i, 1, $encoding ); + } + } else { + $array = str_split( $string, 1 ); + } + + return implode( '', static::shuffleArray( $array ) ); + } + + private static function replaceWildcard( $string, $wildcard, $callback ) { + if ( ( $pos = strpos( $string, $wildcard ) ) === false ) { + return $string; + } + + for ( $i = $pos, $last = strrpos( $string, $wildcard, $pos ) + 1; $i < $last; ++ $i ) { + if ( $string[ $i ] === $wildcard ) { + $string[ $i ] = call_user_func( $callback ); + } + } + + return $string; + } + + /** + * Replaces all hash sign ('#') occurrences with a random number + * Replaces all percentage sign ('%') occurrences with a not null number + * + * @param string $string String that needs to bet parsed + * + * @return string + */ + public static function numerify( $string = '###' ) { + // instead of using randomDigit() several times, which is slow, + // count the number of hashes and generate once a large number + $toReplace = []; + + if ( ( $pos = strpos( $string, '#' ) ) !== false ) { + for ( $i = $pos, $last = strrpos( $string, '#', $pos ) + 1; $i < $last; ++ $i ) { + if ( $string[ $i ] === '#' ) { + $toReplace[] = $i; + } + } + } + + if ( $nbReplacements = count( $toReplace ) ) { + $maxAtOnce = strlen( (string) mt_getrandmax() ) - 1; + $numbers = ''; + $i = 0; + + while ( $i < $nbReplacements ) { + $size = min( $nbReplacements - $i, $maxAtOnce ); + $numbers .= str_pad( static::randomNumber( $size ), $size, '0', STR_PAD_LEFT ); + $i += $size; + } + + for ( $i = 0; $i < $nbReplacements; ++ $i ) { + $string[ $toReplace[ $i ] ] = $numbers[ $i ]; + } + } + $string = self::replaceWildcard( $string, '%', [ static::class, 'randomDigitNotNull' ] ); + + return $string; + } + + /** + * Replaces all question mark ('?') occurrences with a random letter + * + * @param string $string String that needs to bet parsed + * + * @return string + */ + public static function lexify( $string = '????' ) { + return self::replaceWildcard( $string, '?', [ static::class, 'randomLetter' ] ); + } + + /** + * Replaces hash signs ('#') and question marks ('?') with random numbers and letters + * An asterisk ('*') is replaced with either a random number or a random letter + * + * @param string $string String that needs to be parsed + * + * @return string + */ + public static function bothify( $string = '## ??' ) { + $string = self::replaceWildcard( $string, '*', static function () { + return mt_rand( 0, 1 ) ? '#' : '?'; + } ); + + return static::lexify( static::numerify( $string ) ); + } + + /** + * Replaces * signs with random numbers and letters and special characters + * + * @example $faker->asciify(''********'); // "s5'G!uC3" + * + * @param string $string String that needs to bet parsed + * + * @return string + */ + public static function asciify( $string = '****' ) { + return preg_replace_callback( '/\*/u', [ static::class, 'randomAscii' ], $string ); + } + + /** + * Transforms a basic regular expression into a random string satisfying the expression. + * + * @example $faker->regexify('[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}'); // sm0@y8k96a.ej + * + * Regex delimiters '/.../' and begin/end markers '^...$' are ignored. + * + * Only supports a small subset of the regex syntax. For instance, + * unicode, negated classes, unbounded ranges, subpatterns, back references, + * assertions, recursive patterns, and comments are not supported. Escaping + * support is extremely fragile. + * + * This method is also VERY slow. Use it only when no other formatter + * can generate the fake data you want. For instance, prefer calling + * `$faker->email` rather than `regexify` with the previous regular + * expression. + * + * Also note than `bothify` can probably do most of what this method does, + * but much faster. For instance, for a dummy email generation, try + * `$faker->bothify('?????????@???.???')`. + * + * @see https://github.com/icomefromthenet/ReverseRegex for a more robust implementation + * + * @param string $regex A regular expression (delimiters are optional) + * + * @return string + */ + public static function regexify( $regex = '' ) { + // ditch the anchors + $regex = preg_replace( '/^\/?\^?/', '', $regex ); + $regex = preg_replace( '/\$?\/?$/', '', $regex ); + // All {2} become {2,2} + $regex = preg_replace( '/\{(\d+)\}/', '{\1,\1}', $regex ); + // Single-letter quantifiers (?, *, +) become bracket quantifiers ({0,1}, {0,rand}, {1, rand}) + $regex = preg_replace( '/(? 0 && $weight < 1 && mt_rand() / mt_getrandmax() <= $weight ) { + return $this->generator; + } + + // new system with percentage + if ( is_int( $weight ) && mt_rand( 1, 100 ) <= $weight ) { + return $this->generator; + } + + return new DefaultGenerator( $default ); + } + + /** + * Chainable method for making any formatter unique. + * + * + * // will never return twice the same value + * $faker->unique()->randomElement(array(1, 2, 3)); + * + * + * @param bool $reset If set to true, resets the list of existing values + * @param int $maxRetries Maximum number of retries to find a unique value, + * After which an OverflowException is thrown. + * + * @return UniqueGenerator A proxy class returning only non-existing values + * @throws \OverflowException When no unique value can be found by iterating $maxRetries times + * + */ + public function unique( $reset = false, $maxRetries = 10000 ) { + if ( $reset || ! $this->unique ) { + $this->unique = new UniqueGenerator( $this->generator, $maxRetries ); + } + + return $this->unique; + } + + /** + * Chainable method for forcing any formatter to return only valid values. + * + * The value validity is determined by a function passed as first argument. + * + * + * $values = array(); + * $evenValidator = function ($digit) { + * return $digit % 2 === 0; + * }; + * for ($i=0; $i < 10; $i++) { + * $values []= $faker->valid($evenValidator)->randomDigit; + * } + * print_r($values); // [0, 4, 8, 4, 2, 6, 0, 8, 8, 6] + * + * + * @param Closure $validator A function returning true for valid values + * @param int $maxRetries Maximum number of retries to find a unique value, + * After which an OverflowException is thrown. + * + * @return ValidGenerator A proxy class returning only valid values + * @throws \OverflowException When no valid value can be found by iterating $maxRetries times + * + */ + public function valid( $validator = null, $maxRetries = 10000 ) { + return new ValidGenerator( $this->generator, $validator, $maxRetries ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Biased.php b/lib/fakerphp/faker/src/Faker/Provider/Biased.php index 42c70bc..08f5366 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Biased.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Biased.php @@ -2,64 +2,59 @@ namespace Faker\Provider; -class Biased extends Base -{ - /** - * Returns a biased integer between $min and $max (both inclusive). - * The distribution depends on $function. - * - * The algorithm creates two doubles, x ∈ [0, 1], y ∈ [0, 1) and checks whether the - * return value of $function for x is greater than or equal to y. If this is - * the case the number is accepted and x is mapped to the appropriate integer - * between $min and $max. Otherwise two new doubles are created until the pair - * is accepted. - * - * @param int $min Minimum value of the generated integers. - * @param int $max Maximum value of the generated integers. - * @param callable $function A function mapping x ∈ [0, 1] onto a double ∈ [0, 1] - * - * @return int An integer between $min and $max. - */ - public function biasedNumberBetween($min = 0, $max = 100, $function = 'sqrt') - { - do { - $x = mt_rand() / mt_getrandmax(); - $y = mt_rand() / (mt_getrandmax() + 1); - } while (call_user_func($function, $x) < $y); +class Biased extends Base { + /** + * Returns a biased integer between $min and $max (both inclusive). + * The distribution depends on $function. + * + * The algorithm creates two doubles, x ∈ [0, 1], y ∈ [0, 1) and checks whether the + * return value of $function for x is greater than or equal to y. If this is + * the case the number is accepted and x is mapped to the appropriate integer + * between $min and $max. Otherwise two new doubles are created until the pair + * is accepted. + * + * @param int $min Minimum value of the generated integers. + * @param int $max Maximum value of the generated integers. + * @param callable $function A function mapping x ∈ [0, 1] onto a double ∈ [0, 1] + * + * @return int An integer between $min and $max. + */ + public function biasedNumberBetween( $min = 0, $max = 100, $function = 'sqrt' ) { + do { + $x = mt_rand() / mt_getrandmax(); + $y = mt_rand() / ( mt_getrandmax() + 1 ); + } while ( call_user_func( $function, $x ) < $y ); - return (int) floor($x * ($max - $min + 1) + $min); - } + return (int) floor( $x * ( $max - $min + 1 ) + $min ); + } - /** - * 'unbiased' creates an unbiased distribution by giving - * each value the same value of one. - * - * @return int - */ - protected static function unbiased() - { - return 1; - } + /** + * 'unbiased' creates an unbiased distribution by giving + * each value the same value of one. + * + * @return int + */ + protected static function unbiased() { + return 1; + } - /** - * 'linearLow' favors lower numbers. The probability decreases - * in a linear fashion. - * - * @return int - */ - protected static function linearLow($x) - { - return 1 - $x; - } + /** + * 'linearLow' favors lower numbers. The probability decreases + * in a linear fashion. + * + * @return int + */ + protected static function linearLow( $x ) { + return 1 - $x; + } - /** - * 'linearHigh' favors higher numbers. The probability increases - * in a linear fashion. - * - * @return int - */ - protected static function linearHigh($x) - { - return $x; - } + /** + * 'linearHigh' favors higher numbers. The probability increases + * in a linear fashion. + * + * @return int + */ + protected static function linearHigh( $x ) { + return $x; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Color.php b/lib/fakerphp/faker/src/Faker/Provider/Color.php index d14e705..9952d36 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Color.php @@ -2,157 +2,273 @@ namespace Faker\Provider; -class Color extends Base -{ - protected static $safeColorNames = [ - 'black', 'maroon', 'green', 'navy', 'olive', - 'purple', 'teal', 'lime', 'blue', 'silver', - 'gray', 'yellow', 'fuchsia', 'aqua', 'white', - ]; +class Color extends Base { + protected static $safeColorNames = [ + 'black', + 'maroon', + 'green', + 'navy', + 'olive', + 'purple', + 'teal', + 'lime', + 'blue', + 'silver', + 'gray', + 'yellow', + 'fuchsia', + 'aqua', + 'white', + ]; - protected static $allColorNames = [ - 'AliceBlue', 'AntiqueWhite', 'Aqua', 'Aquamarine', - 'Azure', 'Beige', 'Bisque', 'Black', 'BlanchedAlmond', - 'Blue', 'BlueViolet', 'Brown', 'BurlyWood', 'CadetBlue', - 'Chartreuse', 'Chocolate', 'Coral', 'CornflowerBlue', - 'Cornsilk', 'Crimson', 'Cyan', 'DarkBlue', 'DarkCyan', - 'DarkGoldenRod', 'DarkGray', 'DarkGreen', 'DarkKhaki', - 'DarkMagenta', 'DarkOliveGreen', 'Darkorange', 'DarkOrchid', - 'DarkRed', 'DarkSalmon', 'DarkSeaGreen', 'DarkSlateBlue', - 'DarkSlateGray', 'DarkTurquoise', 'DarkViolet', 'DeepPink', - 'DeepSkyBlue', 'DimGray', 'DimGrey', 'DodgerBlue', 'FireBrick', - 'FloralWhite', 'ForestGreen', 'Fuchsia', 'Gainsboro', 'GhostWhite', - 'Gold', 'GoldenRod', 'Gray', 'Green', 'GreenYellow', 'HoneyDew', - 'HotPink', 'IndianRed', 'Indigo', 'Ivory', 'Khaki', 'Lavender', - 'LavenderBlush', 'LawnGreen', 'LemonChiffon', 'LightBlue', 'LightCoral', - 'LightCyan', 'LightGoldenRodYellow', 'LightGray', 'LightGreen', 'LightPink', - 'LightSalmon', 'LightSeaGreen', 'LightSkyBlue', 'LightSlateGray', 'LightSteelBlue', - 'LightYellow', 'Lime', 'LimeGreen', 'Linen', 'Magenta', 'Maroon', 'MediumAquaMarine', - 'MediumBlue', 'MediumOrchid', 'MediumPurple', 'MediumSeaGreen', 'MediumSlateBlue', - 'MediumSpringGreen', 'MediumTurquoise', 'MediumVioletRed', 'MidnightBlue', - 'MintCream', 'MistyRose', 'Moccasin', 'NavajoWhite', 'Navy', 'OldLace', 'Olive', - 'OliveDrab', 'Orange', 'OrangeRed', 'Orchid', 'PaleGoldenRod', 'PaleGreen', - 'PaleTurquoise', 'PaleVioletRed', 'PapayaWhip', 'PeachPuff', 'Peru', 'Pink', 'Plum', - 'PowderBlue', 'Purple', 'Red', 'RosyBrown', 'RoyalBlue', 'SaddleBrown', 'Salmon', - 'SandyBrown', 'SeaGreen', 'SeaShell', 'Sienna', 'Silver', 'SkyBlue', 'SlateBlue', - 'SlateGray', 'Snow', 'SpringGreen', 'SteelBlue', 'Tan', 'Teal', 'Thistle', 'Tomato', - 'Turquoise', 'Violet', 'Wheat', 'White', 'WhiteSmoke', 'Yellow', 'YellowGreen', - ]; + protected static $allColorNames = [ + 'AliceBlue', + 'AntiqueWhite', + 'Aqua', + 'Aquamarine', + 'Azure', + 'Beige', + 'Bisque', + 'Black', + 'BlanchedAlmond', + 'Blue', + 'BlueViolet', + 'Brown', + 'BurlyWood', + 'CadetBlue', + 'Chartreuse', + 'Chocolate', + 'Coral', + 'CornflowerBlue', + 'Cornsilk', + 'Crimson', + 'Cyan', + 'DarkBlue', + 'DarkCyan', + 'DarkGoldenRod', + 'DarkGray', + 'DarkGreen', + 'DarkKhaki', + 'DarkMagenta', + 'DarkOliveGreen', + 'Darkorange', + 'DarkOrchid', + 'DarkRed', + 'DarkSalmon', + 'DarkSeaGreen', + 'DarkSlateBlue', + 'DarkSlateGray', + 'DarkTurquoise', + 'DarkViolet', + 'DeepPink', + 'DeepSkyBlue', + 'DimGray', + 'DimGrey', + 'DodgerBlue', + 'FireBrick', + 'FloralWhite', + 'ForestGreen', + 'Fuchsia', + 'Gainsboro', + 'GhostWhite', + 'Gold', + 'GoldenRod', + 'Gray', + 'Green', + 'GreenYellow', + 'HoneyDew', + 'HotPink', + 'IndianRed', + 'Indigo', + 'Ivory', + 'Khaki', + 'Lavender', + 'LavenderBlush', + 'LawnGreen', + 'LemonChiffon', + 'LightBlue', + 'LightCoral', + 'LightCyan', + 'LightGoldenRodYellow', + 'LightGray', + 'LightGreen', + 'LightPink', + 'LightSalmon', + 'LightSeaGreen', + 'LightSkyBlue', + 'LightSlateGray', + 'LightSteelBlue', + 'LightYellow', + 'Lime', + 'LimeGreen', + 'Linen', + 'Magenta', + 'Maroon', + 'MediumAquaMarine', + 'MediumBlue', + 'MediumOrchid', + 'MediumPurple', + 'MediumSeaGreen', + 'MediumSlateBlue', + 'MediumSpringGreen', + 'MediumTurquoise', + 'MediumVioletRed', + 'MidnightBlue', + 'MintCream', + 'MistyRose', + 'Moccasin', + 'NavajoWhite', + 'Navy', + 'OldLace', + 'Olive', + 'OliveDrab', + 'Orange', + 'OrangeRed', + 'Orchid', + 'PaleGoldenRod', + 'PaleGreen', + 'PaleTurquoise', + 'PaleVioletRed', + 'PapayaWhip', + 'PeachPuff', + 'Peru', + 'Pink', + 'Plum', + 'PowderBlue', + 'Purple', + 'Red', + 'RosyBrown', + 'RoyalBlue', + 'SaddleBrown', + 'Salmon', + 'SandyBrown', + 'SeaGreen', + 'SeaShell', + 'Sienna', + 'Silver', + 'SkyBlue', + 'SlateBlue', + 'SlateGray', + 'Snow', + 'SpringGreen', + 'SteelBlue', + 'Tan', + 'Teal', + 'Thistle', + 'Tomato', + 'Turquoise', + 'Violet', + 'Wheat', + 'White', + 'WhiteSmoke', + 'Yellow', + 'YellowGreen', + ]; - /** - * @example '#fa3cc2' - * - * @return string - */ - public static function hexColor() - { - return '#' . str_pad(dechex(self::numberBetween(1, 16777215)), 6, '0', STR_PAD_LEFT); - } + /** + * @return string + * @example '#fa3cc2' + * + */ + public static function hexColor() { + return '#' . str_pad( dechex( self::numberBetween( 1, 16777215 ) ), 6, '0', STR_PAD_LEFT ); + } - /** - * @example '#ff0044' - * - * @return string - */ - public static function safeHexColor() - { - $color = str_pad(dechex(self::numberBetween(0, 255)), 3, '0', STR_PAD_LEFT); + /** + * @return string + * @example '#ff0044' + * + */ + public static function safeHexColor() { + $color = str_pad( dechex( self::numberBetween( 0, 255 ) ), 3, '0', STR_PAD_LEFT ); - return '#' . $color[0] . $color[0] . $color[1] . $color[1] . $color[2] . $color[2]; - } + return '#' . $color[0] . $color[0] . $color[1] . $color[1] . $color[2] . $color[2]; + } - /** - * @example 'array(0,255,122)' - * - * @return array - */ - public static function rgbColorAsArray() - { - $color = static::hexColor(); + /** + * @return array + * @example 'array(0,255,122)' + * + */ + public static function rgbColorAsArray() { + $color = static::hexColor(); - return [ - hexdec(substr($color, 1, 2)), - hexdec(substr($color, 3, 2)), - hexdec(substr($color, 5, 2)), - ]; - } + return [ + hexdec( substr( $color, 1, 2 ) ), + hexdec( substr( $color, 3, 2 ) ), + hexdec( substr( $color, 5, 2 ) ), + ]; + } - /** - * @example '0,255,122' - * - * @return string - */ - public static function rgbColor() - { - return implode(',', static::rgbColorAsArray()); - } + /** + * @return string + * @example '0,255,122' + * + */ + public static function rgbColor() { + return implode( ',', static::rgbColorAsArray() ); + } - /** - * @example 'rgb(0,255,122)' - * - * @return string - */ - public static function rgbCssColor() - { - return 'rgb(' . static::rgbColor() . ')'; - } + /** + * @return string + * @example 'rgb(0,255,122)' + * + */ + public static function rgbCssColor() { + return 'rgb(' . static::rgbColor() . ')'; + } - /** - * @example 'rgba(0,255,122,0.8)' - * - * @return string - */ - public static function rgbaCssColor() - { - return 'rgba(' . static::rgbColor() . ',' . static::randomFloat(1, 0, 1) . ')'; - } + /** + * @return string + * @example 'rgba(0,255,122,0.8)' + * + */ + public static function rgbaCssColor() { + return 'rgba(' . static::rgbColor() . ',' . static::randomFloat( 1, 0, 1 ) . ')'; + } - /** - * @example 'blue' - * - * @return string - */ - public static function safeColorName() - { - return static::randomElement(static::$safeColorNames); - } + /** + * @return string + * @example 'blue' + * + */ + public static function safeColorName() { + return static::randomElement( static::$safeColorNames ); + } - /** - * @example 'NavajoWhite' - * - * @return string - */ - public static function colorName() - { - return static::randomElement(static::$allColorNames); - } + /** + * @return string + * @example 'NavajoWhite' + * + */ + public static function colorName() { + return static::randomElement( static::$allColorNames ); + } - /** - * @example '340,50,20' - * - * @return string - */ - public static function hslColor() - { - return sprintf( - '%s,%s,%s', - self::numberBetween(0, 360), - self::numberBetween(0, 100), - self::numberBetween(0, 100), - ); - } + /** + * @return string + * @example '340,50,20' + * + */ + public static function hslColor() { + return sprintf( + '%s,%s,%s', + self::numberBetween( 0, 360 ), + self::numberBetween( 0, 100 ), + self::numberBetween( 0, 100 ), + ); + } - /** - * @example array(340, 50, 20) - * - * @return array - */ - public static function hslColorAsArray() - { - return [ - self::numberBetween(0, 360), - self::numberBetween(0, 100), - self::numberBetween(0, 100), - ]; - } + /** + * @return array + * @example array(340, 50, 20) + * + */ + public static function hslColorAsArray() { + return [ + self::numberBetween( 0, 360 ), + self::numberBetween( 0, 100 ), + self::numberBetween( 0, 100 ), + ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Company.php b/lib/fakerphp/faker/src/Faker/Provider/Company.php index 52ea906..c625d23 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Company.php @@ -2,49 +2,45 @@ namespace Faker\Provider; -class Company extends Base -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - ]; - - protected static $companySuffix = ['Ltd']; - - protected static $jobTitleFormat = [ - '{{word}}', - ]; - - /** - * @example 'Acme Ltd' - * - * @return string - */ - public function company() - { - $format = static::randomElement(static::$formats); - - return $this->generator->parse($format); - } - - /** - * @example 'Ltd' - * - * @return string - */ - public static function companySuffix() - { - return static::randomElement(static::$companySuffix); - } - - /** - * @example 'Job' - * - * @return string - */ - public function jobTitle() - { - $format = static::randomElement(static::$jobTitleFormat); - - return $this->generator->parse($format); - } +class Company extends Base { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + ]; + + protected static $companySuffix = [ 'Ltd' ]; + + protected static $jobTitleFormat = [ + '{{word}}', + ]; + + /** + * @return string + * @example 'Acme Ltd' + * + */ + public function company() { + $format = static::randomElement( static::$formats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 'Ltd' + * + */ + public static function companySuffix() { + return static::randomElement( static::$companySuffix ); + } + + /** + * @return string + * @example 'Job' + * + */ + public function jobTitle() { + $format = static::randomElement( static::$jobTitleFormat ); + + return $this->generator->parse( $format ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/DateTime.php index 25df1c9..ceadf93 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/DateTime.php @@ -2,388 +2,384 @@ namespace Faker\Provider; -class DateTime extends Base -{ - protected static $century = ['I', 'II', 'III', 'IV', 'V', 'VI', 'VII', 'VIII', 'IX', 'X', 'XI', 'XII', 'XIII', 'XIV', 'XV', 'XVI', 'XVII', 'XVIII', 'XIX', 'XX', 'XXI']; - - protected static $defaultTimezone = null; - - /** - * @param \DateTime|float|int|string $max - * - * @return false|int - */ - protected static function getMaxTimestamp($max = 'now') - { - if (is_numeric($max)) { - return (int) $max; - } - - if ($max instanceof \DateTime) { - return $max->getTimestamp(); - } - - return strtotime(empty($max) ? 'now' : $max); - } - - /** - * Get a timestamp between January 1, 1970, and now - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return int - * - * @example 1061306726 - */ - public static function unixTime($max = 'now') - { - return self::numberBetween(0, static::getMaxTimestamp($max)); - } - - /** - * Get a datetime object for a date between January 1, 1970 and now - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - * - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - * - * @example DateTime('2005-08-16 20:39:21') - */ - public static function dateTime($max = 'now', $timezone = null) - { - return static::setTimezone( - new \DateTime('@' . static::unixTime($max)), - $timezone, - ); - } - - /** - * Get a datetime object for a date between January 1, 001 and now - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - * - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - * - * @example DateTime('1265-03-22 21:15:52') - */ - public static function dateTimeAD($max = 'now', $timezone = null) - { - $min = (PHP_INT_SIZE > 4 ? -62135597361 : -PHP_INT_MAX); - - return static::setTimezone( - new \DateTime('@' . self::numberBetween($min, static::getMaxTimestamp($max))), - $timezone, - ); - } - - /** - * get a date string formatted with ISO8601 - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '2003-10-21T16:05:52+0000' - */ - public static function iso8601($max = 'now') - { - return static::date(\DateTime::ISO8601, $max); - } - - /** - * Get a date string between January 1, 1970 and now - * - * @param string $format - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '2008-11-27' - */ - public static function date($format = 'Y-m-d', $max = 'now') - { - return static::dateTime($max)->format($format); - } - - /** - * Get a time string (24h format by default) - * - * @param string $format - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '15:02:34' - */ - public static function time($format = 'H:i:s', $max = 'now') - { - return static::dateTime($max)->format($format); - } - - /** - * Get a DateTime object based on a random date between two given dates. - * Accepts date strings that can be recognized by strtotime(). - * - * @param \DateTime|string $startDate Defaults to 30 years ago - * @param \DateTime|string $endDate Defaults to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - * - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - * - * @example DateTime('1999-02-02 11:42:52') - */ - public static function dateTimeBetween($startDate = '-30 years', $endDate = 'now', $timezone = null) - { - $startTimestamp = $startDate instanceof \DateTime ? $startDate->getTimestamp() : strtotime($startDate); - $endTimestamp = static::getMaxTimestamp($endDate); - - if ($startTimestamp > $endTimestamp) { - throw new \InvalidArgumentException('Start date must be anterior to end date.'); - } - - $timestamp = self::numberBetween($startTimestamp, $endTimestamp); - - return static::setTimezone( - new \DateTime('@' . $timestamp), - $timezone, - ); - } - - /** - * Get a DateTime object based on a random date between one given date and - * an interval - * Accepts date string that can be recognized by strtotime(). - * - * @param \DateTime|string $date Defaults to 30 years ago - * @param string $interval Defaults to 5 days after - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - * - * @example dateTimeInInterval('1999-02-02 11:42:52', '+ 5 days') - * - * @see http://php.net/manual/en/timezones.php - * @see http://php.net/manual/en/function.date-default-timezone-get.php - */ - public static function dateTimeInInterval($date = '-30 years', $interval = '+5 days', $timezone = null) - { - $intervalObject = \DateInterval::createFromDateString($interval); - $datetime = $date instanceof \DateTime ? $date : new \DateTime($date); - $otherDatetime = clone $datetime; - $otherDatetime->add($intervalObject); - - $begin = min($datetime, $otherDatetime); - $end = $datetime === $begin ? $otherDatetime : $datetime; - - return static::dateTimeBetween( - $begin, - $end, - $timezone, - ); - } - - /** - * Get a date time object somewhere within a century. - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - */ - public static function dateTimeThisCentury($max = 'now', $timezone = null) - { - return static::dateTimeBetween('-100 year', $max, $timezone); - } - - /** - * Get a date time object somewhere within a decade. - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - */ - public static function dateTimeThisDecade($max = 'now', $timezone = null) - { - return static::dateTimeBetween('-10 year', $max, $timezone); - } - - /** - * Get a date time object somewhere inside the current year. - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - */ - public static function dateTimeThisYear($max = 'now', $timezone = null) - { - return static::dateTimeBetween('first day of january this year', $max, $timezone); - } - - /** - * Get a date time object somewhere within a month. - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` - * - * @return \DateTime - */ - public static function dateTimeThisMonth($max = 'now', $timezone = null) - { - return static::dateTimeBetween('-1 month', $max, $timezone); - } - - /** - * Get a string containing either "am" or "pm". - * - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example 'am' - */ - public static function amPm($max = 'now') - { - return static::dateTime($max)->format('a'); - } - - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '22' - */ - public static function dayOfMonth($max = 'now') - { - return static::dateTime($max)->format('d'); - } - - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example 'Tuesday' - */ - public static function dayOfWeek($max = 'now') - { - return static::dateTime($max)->format('l'); - } - - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '7' - */ - public static function month($max = 'now') - { - return static::dateTime($max)->format('m'); - } - - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example 'September' - */ - public static function monthName($max = 'now') - { - return static::dateTime($max)->format('F'); - } - - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '1987' - */ - public static function year($max = 'now') - { - return static::dateTime($max)->format('Y'); - } - - /** - * @return string - * - * @example 'XVII' - */ - public static function century() - { - return static::randomElement(static::$century); - } - - /** - * @return string - * - * @example 'Europe/Paris' - */ - public static function timezone(string $countryCode = null) - { - if ($countryCode) { - $timezones = \DateTimeZone::listIdentifiers(\DateTimeZone::PER_COUNTRY, $countryCode); - } else { - $timezones = \DateTimeZone::listIdentifiers(); - } - - return static::randomElement($timezones); - } - - /** - * Internal method to set the time zone on a DateTime. - * - * @param string|null $timezone - * - * @return \DateTime - */ - private static function setTimezone(\DateTime $dt, $timezone) - { - return $dt->setTimezone(new \DateTimeZone(static::resolveTimezone($timezone))); - } - - /** - * Sets default time zone. - * - * @param string $timezone - */ - public static function setDefaultTimezone($timezone = null) - { - static::$defaultTimezone = $timezone; - } - - /** - * Gets default time zone. - * - * @return string|null - */ - public static function getDefaultTimezone() - { - return static::$defaultTimezone; - } - - /** - * @param string|null $timezone - * - * @return string|null - */ - private static function resolveTimezone($timezone) - { - return (null === $timezone) ? ((null === static::$defaultTimezone) ? date_default_timezone_get() : static::$defaultTimezone) : $timezone; - } +class DateTime extends Base { + protected static $century = [ + 'I', + 'II', + 'III', + 'IV', + 'V', + 'VI', + 'VII', + 'VIII', + 'IX', + 'X', + 'XI', + 'XII', + 'XIII', + 'XIV', + 'XV', + 'XVI', + 'XVII', + 'XVIII', + 'XIX', + 'XX', + 'XXI' + ]; + + protected static $defaultTimezone = null; + + /** + * @param \DateTime|float|int|string $max + * + * @return false|int + */ + protected static function getMaxTimestamp( $max = 'now' ) { + if ( is_numeric( $max ) ) { + return (int) $max; + } + + if ( $max instanceof \DateTime ) { + return $max->getTimestamp(); + } + + return strtotime( empty( $max ) ? 'now' : $max ); + } + + /** + * Get a timestamp between January 1, 1970, and now + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return int + * + * @example 1061306726 + */ + public static function unixTime( $max = 'now' ) { + return self::numberBetween( 0, static::getMaxTimestamp( $max ) ); + } + + /** + * Get a datetime object for a date between January 1, 1970 and now + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + * + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + * + * @example DateTime('2005-08-16 20:39:21') + */ + public static function dateTime( $max = 'now', $timezone = null ) { + return static::setTimezone( + new \DateTime( '@' . static::unixTime( $max ) ), + $timezone, + ); + } + + /** + * Get a datetime object for a date between January 1, 001 and now + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + * + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + * + * @example DateTime('1265-03-22 21:15:52') + */ + public static function dateTimeAD( $max = 'now', $timezone = null ) { + $min = ( PHP_INT_SIZE > 4 ? - 62135597361 : - PHP_INT_MAX ); + + return static::setTimezone( + new \DateTime( '@' . self::numberBetween( $min, static::getMaxTimestamp( $max ) ) ), + $timezone, + ); + } + + /** + * get a date string formatted with ISO8601 + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '2003-10-21T16:05:52+0000' + */ + public static function iso8601( $max = 'now' ) { + return static::date( \DateTime::ISO8601, $max ); + } + + /** + * Get a date string between January 1, 1970 and now + * + * @param string $format + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '2008-11-27' + */ + public static function date( $format = 'Y-m-d', $max = 'now' ) { + return static::dateTime( $max )->format( $format ); + } + + /** + * Get a time string (24h format by default) + * + * @param string $format + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '15:02:34' + */ + public static function time( $format = 'H:i:s', $max = 'now' ) { + return static::dateTime( $max )->format( $format ); + } + + /** + * Get a DateTime object based on a random date between two given dates. + * Accepts date strings that can be recognized by strtotime(). + * + * @param \DateTime|string $startDate Defaults to 30 years ago + * @param \DateTime|string $endDate Defaults to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + * + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + * + * @example DateTime('1999-02-02 11:42:52') + */ + public static function dateTimeBetween( $startDate = '-30 years', $endDate = 'now', $timezone = null ) { + $startTimestamp = $startDate instanceof \DateTime ? $startDate->getTimestamp() : strtotime( $startDate ); + $endTimestamp = static::getMaxTimestamp( $endDate ); + + if ( $startTimestamp > $endTimestamp ) { + throw new \InvalidArgumentException( 'Start date must be anterior to end date.' ); + } + + $timestamp = self::numberBetween( $startTimestamp, $endTimestamp ); + + return static::setTimezone( + new \DateTime( '@' . $timestamp ), + $timezone, + ); + } + + /** + * Get a DateTime object based on a random date between one given date and + * an interval + * Accepts date string that can be recognized by strtotime(). + * + * @param \DateTime|string $date Defaults to 30 years ago + * @param string $interval Defaults to 5 days after + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + * + * @example dateTimeInInterval('1999-02-02 11:42:52', '+ 5 days') + * + * @see http://php.net/manual/en/timezones.php + * @see http://php.net/manual/en/function.date-default-timezone-get.php + */ + public static function dateTimeInInterval( $date = '-30 years', $interval = '+5 days', $timezone = null ) { + $intervalObject = \DateInterval::createFromDateString( $interval ); + $datetime = $date instanceof \DateTime ? $date : new \DateTime( $date ); + $otherDatetime = clone $datetime; + $otherDatetime->add( $intervalObject ); + + $begin = min( $datetime, $otherDatetime ); + $end = $datetime === $begin ? $otherDatetime : $datetime; + + return static::dateTimeBetween( + $begin, + $end, + $timezone, + ); + } + + /** + * Get a date time object somewhere within a century. + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + */ + public static function dateTimeThisCentury( $max = 'now', $timezone = null ) { + return static::dateTimeBetween( '-100 year', $max, $timezone ); + } + + /** + * Get a date time object somewhere within a decade. + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + */ + public static function dateTimeThisDecade( $max = 'now', $timezone = null ) { + return static::dateTimeBetween( '-10 year', $max, $timezone ); + } + + /** + * Get a date time object somewhere inside the current year. + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + */ + public static function dateTimeThisYear( $max = 'now', $timezone = null ) { + return static::dateTimeBetween( 'first day of january this year', $max, $timezone ); + } + + /** + * Get a date time object somewhere within a month. + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * @param string|null $timezone time zone in which the date time should be set, default to DateTime::$defaultTimezone, if set, otherwise the result of `date_default_timezone_get` + * + * @return \DateTime + */ + public static function dateTimeThisMonth( $max = 'now', $timezone = null ) { + return static::dateTimeBetween( '-1 month', $max, $timezone ); + } + + /** + * Get a string containing either "am" or "pm". + * + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example 'am' + */ + public static function amPm( $max = 'now' ) { + return static::dateTime( $max )->format( 'a' ); + } + + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '22' + */ + public static function dayOfMonth( $max = 'now' ) { + return static::dateTime( $max )->format( 'd' ); + } + + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example 'Tuesday' + */ + public static function dayOfWeek( $max = 'now' ) { + return static::dateTime( $max )->format( 'l' ); + } + + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '7' + */ + public static function month( $max = 'now' ) { + return static::dateTime( $max )->format( 'm' ); + } + + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example 'September' + */ + public static function monthName( $max = 'now' ) { + return static::dateTime( $max )->format( 'F' ); + } + + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '1987' + */ + public static function year( $max = 'now' ) { + return static::dateTime( $max )->format( 'Y' ); + } + + /** + * @return string + * + * @example 'XVII' + */ + public static function century() { + return static::randomElement( static::$century ); + } + + /** + * @return string + * + * @example 'Europe/Paris' + */ + public static function timezone( string $countryCode = null ) { + if ( $countryCode ) { + $timezones = \DateTimeZone::listIdentifiers( \DateTimeZone::PER_COUNTRY, $countryCode ); + } else { + $timezones = \DateTimeZone::listIdentifiers(); + } + + return static::randomElement( $timezones ); + } + + /** + * Internal method to set the time zone on a DateTime. + * + * @param string|null $timezone + * + * @return \DateTime + */ + private static function setTimezone( \DateTime $dt, $timezone ) { + return $dt->setTimezone( new \DateTimeZone( static::resolveTimezone( $timezone ) ) ); + } + + /** + * Sets default time zone. + * + * @param string $timezone + */ + public static function setDefaultTimezone( $timezone = null ) { + static::$defaultTimezone = $timezone; + } + + /** + * Gets default time zone. + * + * @return string|null + */ + public static function getDefaultTimezone() { + return static::$defaultTimezone; + } + + /** + * @param string|null $timezone + * + * @return string|null + */ + private static function resolveTimezone( $timezone ) { + return ( null === $timezone ) ? ( ( null === static::$defaultTimezone ) ? date_default_timezone_get() : static::$defaultTimezone ) : $timezone; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/File.php b/lib/fakerphp/faker/src/Faker/Provider/File.php index 3cf3db9..31e729e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/File.php +++ b/lib/fakerphp/faker/src/Faker/Provider/File.php @@ -2,609 +2,631 @@ namespace Faker\Provider; -class File extends Base -{ - /** - * MIME types from the apache.org file. Some types are truncated. - * - * @var array Map of MIME types => file extension(s) - * - * @see http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types - */ - protected static $mimeTypes = [ - 'application/atom+xml' => 'atom', - 'application/ecmascript' => 'ecma', - 'application/emma+xml' => 'emma', - 'application/epub+zip' => 'epub', - 'application/java-archive' => 'jar', - 'application/java-vm' => 'class', - 'application/javascript' => 'js', - 'application/json' => 'json', - 'application/jsonml+json' => 'jsonml', - 'application/lost+xml' => 'lostxml', - 'application/mathml+xml' => 'mathml', - 'application/mets+xml' => 'mets', - 'application/mods+xml' => 'mods', - 'application/mp4' => 'mp4s', - 'application/msword' => ['doc', 'dot'], - 'application/octet-stream' => [ - 'bin', - 'dms', - 'lrf', - 'mar', - 'so', - 'dist', - 'distz', - 'pkg', - 'bpk', - 'dump', - 'elc', - 'deploy', - ], - 'application/ogg' => 'ogx', - 'application/omdoc+xml' => 'omdoc', - 'application/pdf' => 'pdf', - 'application/pgp-encrypted' => 'pgp', - 'application/pgp-signature' => ['asc', 'sig'], - 'application/pkix-pkipath' => 'pkipath', - 'application/pkixcmp' => 'pki', - 'application/pls+xml' => 'pls', - 'application/postscript' => ['ai', 'eps', 'ps'], - 'application/pskc+xml' => 'pskcxml', - 'application/rdf+xml' => 'rdf', - 'application/reginfo+xml' => 'rif', - 'application/rss+xml' => 'rss', - 'application/rtf' => 'rtf', - 'application/sbml+xml' => 'sbml', - 'application/vnd.adobe.air-application-installer-package+zip' => 'air', - 'application/vnd.adobe.xdp+xml' => 'xdp', - 'application/vnd.adobe.xfdf' => 'xfdf', - 'application/vnd.ahead.space' => 'ahead', - 'application/vnd.dart' => 'dart', - 'application/vnd.data-vision.rdz' => 'rdz', - 'application/vnd.dece.data' => ['uvf', 'uvvf', 'uvd', 'uvvd'], - 'application/vnd.dece.ttml+xml' => ['uvt', 'uvvt'], - 'application/vnd.dece.unspecified' => ['uvx', 'uvvx'], - 'application/vnd.dece.zip' => ['uvz', 'uvvz'], - 'application/vnd.denovo.fcselayout-link' => 'fe_launch', - 'application/vnd.dna' => 'dna', - 'application/vnd.dolby.mlp' => 'mlp', - 'application/vnd.dpgraph' => 'dpg', - 'application/vnd.dreamfactory' => 'dfac', - 'application/vnd.ds-keypoint' => 'kpxx', - 'application/vnd.dvb.ait' => 'ait', - 'application/vnd.dvb.service' => 'svc', - 'application/vnd.dynageo' => 'geo', - 'application/vnd.ecowin.chart' => 'mag', - 'application/vnd.enliven' => 'nml', - 'application/vnd.epson.esf' => 'esf', - 'application/vnd.epson.msf' => 'msf', - 'application/vnd.epson.quickanime' => 'qam', - 'application/vnd.epson.salt' => 'slt', - 'application/vnd.epson.ssf' => 'ssf', - 'application/vnd.ezpix-album' => 'ez2', - 'application/vnd.ezpix-package' => 'ez3', - 'application/vnd.fdf' => 'fdf', - 'application/vnd.fdsn.mseed' => 'mseed', - 'application/vnd.fdsn.seed' => ['seed', 'dataless'], - 'application/vnd.flographit' => 'gph', - 'application/vnd.fluxtime.clip' => 'ftc', - 'application/vnd.hal+xml' => 'hal', - 'application/vnd.hydrostatix.sof-data' => 'sfd-hdstx', - 'application/vnd.ibm.minipay' => 'mpy', - 'application/vnd.ibm.secure-container' => 'sc', - 'application/vnd.iccprofile' => ['icc', 'icm'], - 'application/vnd.igloader' => 'igl', - 'application/vnd.immervision-ivp' => 'ivp', - 'application/vnd.kde.karbon' => 'karbon', - 'application/vnd.kde.kchart' => 'chrt', - 'application/vnd.kde.kformula' => 'kfo', - 'application/vnd.kde.kivio' => 'flw', - 'application/vnd.kde.kontour' => 'kon', - 'application/vnd.kde.kpresenter' => ['kpr', 'kpt'], - 'application/vnd.kde.kspread' => 'ksp', - 'application/vnd.kde.kword' => ['kwd', 'kwt'], - 'application/vnd.kenameaapp' => 'htke', - 'application/vnd.kidspiration' => 'kia', - 'application/vnd.kinar' => ['kne', 'knp'], - 'application/vnd.koan' => ['skp', 'skd', 'skt', 'skm'], - 'application/vnd.kodak-descriptor' => 'sse', - 'application/vnd.las.las+xml' => 'lasxml', - 'application/vnd.llamagraphics.life-balance.desktop' => 'lbd', - 'application/vnd.llamagraphics.life-balance.exchange+xml' => 'lbe', - 'application/vnd.lotus-1-2-3' => '123', - 'application/vnd.lotus-approach' => 'apr', - 'application/vnd.lotus-freelance' => 'pre', - 'application/vnd.lotus-notes' => 'nsf', - 'application/vnd.lotus-organizer' => 'org', - 'application/vnd.lotus-screencam' => 'scm', - 'application/vnd.mozilla.xul+xml' => 'xul', - 'application/vnd.ms-artgalry' => 'cil', - 'application/vnd.ms-cab-compressed' => 'cab', - 'application/vnd.ms-excel' => [ - 'xls', - 'xlm', - 'xla', - 'xlc', - 'xlt', - 'xlw', - ], - 'application/vnd.ms-excel.addin.macroenabled.12' => 'xlam', - 'application/vnd.ms-excel.sheet.binary.macroenabled.12' => 'xlsb', - 'application/vnd.ms-excel.sheet.macroenabled.12' => 'xlsm', - 'application/vnd.ms-excel.template.macroenabled.12' => 'xltm', - 'application/vnd.ms-fontobject' => 'eot', - 'application/vnd.ms-htmlhelp' => 'chm', - 'application/vnd.ms-ims' => 'ims', - 'application/vnd.ms-lrm' => 'lrm', - 'application/vnd.ms-officetheme' => 'thmx', - 'application/vnd.ms-pki.seccat' => 'cat', - 'application/vnd.ms-pki.stl' => 'stl', - 'application/vnd.ms-powerpoint' => ['ppt', 'pps', 'pot'], - 'application/vnd.ms-powerpoint.addin.macroenabled.12' => 'ppam', - 'application/vnd.ms-powerpoint.presentation.macroenabled.12' => 'pptm', - 'application/vnd.ms-powerpoint.slide.macroenabled.12' => 'sldm', - 'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => 'ppsm', - 'application/vnd.ms-powerpoint.template.macroenabled.12' => 'potm', - 'application/vnd.ms-project' => ['mpp', 'mpt'], - 'application/vnd.ms-word.document.macroenabled.12' => 'docm', - 'application/vnd.ms-word.template.macroenabled.12' => 'dotm', - 'application/vnd.ms-works' => ['wps', 'wks', 'wcm', 'wdb'], - 'application/vnd.ms-wpl' => 'wpl', - 'application/vnd.ms-xpsdocument' => 'xps', - 'application/vnd.mseq' => 'mseq', - 'application/vnd.musician' => 'mus', - 'application/vnd.oasis.opendocument.chart' => 'odc', - 'application/vnd.oasis.opendocument.chart-template' => 'otc', - 'application/vnd.oasis.opendocument.database' => 'odb', - 'application/vnd.oasis.opendocument.formula' => 'odf', - 'application/vnd.oasis.opendocument.formula-template' => 'odft', - 'application/vnd.oasis.opendocument.graphics' => 'odg', - 'application/vnd.oasis.opendocument.graphics-template' => 'otg', - 'application/vnd.oasis.opendocument.image' => 'odi', - 'application/vnd.oasis.opendocument.image-template' => 'oti', - 'application/vnd.oasis.opendocument.presentation' => 'odp', - 'application/vnd.oasis.opendocument.presentation-template' => 'otp', - 'application/vnd.oasis.opendocument.spreadsheet' => 'ods', - 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', - 'application/vnd.oasis.opendocument.text' => 'odt', - 'application/vnd.oasis.opendocument.text-master' => 'odm', - 'application/vnd.oasis.opendocument.text-template' => 'ott', - 'application/vnd.oasis.opendocument.text-web' => 'oth', - 'application/vnd.olpc-sugar' => 'xo', - 'application/vnd.oma.dd2+xml' => 'dd2', - 'application/vnd.openofficeorg.extension' => 'oxt', - 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'pptx', - 'application/vnd.openxmlformats-officedocument.presentationml.slide' => 'sldx', - 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'ppsx', - 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'potx', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'xlsx', - 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'xltx', - 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'docx', - 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => 'dotx', - 'application/vnd.pvi.ptid1' => 'ptid', - 'application/vnd.quark.quarkxpress' => [ - 'qxd', - 'qxt', - 'qwd', - 'qwt', - 'qxl', - 'qxb', - ], - 'application/vnd.realvnc.bed' => 'bed', - 'application/vnd.recordare.musicxml' => 'mxl', - 'application/vnd.recordare.musicxml+xml' => 'musicxml', - 'application/vnd.rig.cryptonote' => 'cryptonote', - 'application/vnd.rim.cod' => 'cod', - 'application/vnd.rn-realmedia' => 'rm', - 'application/vnd.rn-realmedia-vbr' => 'rmvb', - 'application/vnd.route66.link66+xml' => 'link66', - 'application/vnd.sailingtracker.track' => 'st', - 'application/vnd.seemail' => 'see', - 'application/vnd.sema' => 'sema', - 'application/vnd.semd' => 'semd', - 'application/vnd.semf' => 'semf', - 'application/vnd.shana.informed.formdata' => 'ifm', - 'application/vnd.shana.informed.formtemplate' => 'itp', - 'application/vnd.shana.informed.interchange' => 'iif', - 'application/vnd.shana.informed.package' => 'ipk', - 'application/vnd.simtech-mindmapper' => ['twd', 'twds'], - 'application/vnd.smaf' => 'mmf', - 'application/vnd.stepmania.stepchart' => 'sm', - 'application/vnd.sun.xml.calc' => 'sxc', - 'application/vnd.sun.xml.calc.template' => 'stc', - 'application/vnd.sun.xml.draw' => 'sxd', - 'application/vnd.sun.xml.draw.template' => 'std', - 'application/vnd.sun.xml.impress' => 'sxi', - 'application/vnd.sun.xml.impress.template' => 'sti', - 'application/vnd.sun.xml.math' => 'sxm', - 'application/vnd.sun.xml.writer' => 'sxw', - 'application/vnd.sun.xml.writer.global' => 'sxg', - 'application/vnd.sun.xml.writer.template' => 'stw', - 'application/vnd.sus-calendar' => ['sus', 'susp'], - 'application/vnd.svd' => 'svd', - 'application/vnd.symbian.install' => ['sis', 'sisx'], - 'application/vnd.syncml+xml' => 'xsm', - 'application/vnd.syncml.dm+wbxml' => 'bdm', - 'application/vnd.syncml.dm+xml' => 'xdm', - 'application/vnd.tao.intent-module-archive' => 'tao', - 'application/vnd.tcpdump.pcap' => ['pcap', 'cap', 'dmp'], - 'application/vnd.tmobile-livetv' => 'tmo', - 'application/vnd.trid.tpt' => 'tpt', - 'application/vnd.triscape.mxs' => 'mxs', - 'application/vnd.trueapp' => 'tra', - 'application/vnd.ufdl' => ['ufd', 'ufdl'], - 'application/vnd.uiq.theme' => 'utz', - 'application/vnd.umajin' => 'umj', - 'application/vnd.unity' => 'unityweb', - 'application/vnd.uoml+xml' => 'uoml', - 'application/vnd.vcx' => 'vcx', - 'application/vnd.visio' => ['vsd', 'vst', 'vss', 'vsw'], - 'application/vnd.visionary' => 'vis', - 'application/vnd.vsf' => 'vsf', - 'application/vnd.wap.wbxml' => 'wbxml', - 'application/vnd.wap.wmlc' => 'wmlc', - 'application/vnd.wap.wmlscriptc' => 'wmlsc', - 'application/vnd.webturbo' => 'wtb', - 'application/vnd.wolfram.player' => 'nbp', - 'application/vnd.wordperfect' => 'wpd', - 'application/vnd.wqd' => 'wqd', - 'application/vnd.wt.stf' => 'stf', - 'application/vnd.xara' => 'xar', - 'application/vnd.xfdl' => 'xfdl', - 'application/voicexml+xml' => 'vxml', - 'application/widget' => 'wgt', - 'application/winhlp' => 'hlp', - 'application/wsdl+xml' => 'wsdl', - 'application/wspolicy+xml' => 'wspolicy', - 'application/x-7z-compressed' => '7z', - 'application/x-bittorrent' => 'torrent', - 'application/x-blorb' => ['blb', 'blorb'], - 'application/x-bzip' => 'bz', - 'application/x-cdlink' => 'vcd', - 'application/x-cfs-compressed' => 'cfs', - 'application/x-chat' => 'chat', - 'application/x-chess-pgn' => 'pgn', - 'application/x-conference' => 'nsc', - 'application/x-cpio' => 'cpio', - 'application/x-csh' => 'csh', - 'application/x-debian-package' => ['deb', 'udeb'], - 'application/x-dgc-compressed' => 'dgc', - 'application/x-director' => [ - 'dir', - 'dcr', - 'dxr', - 'cst', - 'cct', - 'cxt', - 'w3d', - 'fgd', - 'swa', - ], - 'application/x-font-ttf' => ['ttf', 'ttc'], - 'application/x-font-type1' => ['pfa', 'pfb', 'pfm', 'afm'], - 'application/x-font-woff' => 'woff', - 'application/x-freearc' => 'arc', - 'application/x-futuresplash' => 'spl', - 'application/x-gca-compressed' => 'gca', - 'application/x-glulx' => 'ulx', - 'application/x-gnumeric' => 'gnumeric', - 'application/x-gramps-xml' => 'gramps', - 'application/x-gtar' => 'gtar', - 'application/x-hdf' => 'hdf', - 'application/x-install-instructions' => 'install', - 'application/x-iso9660-image' => 'iso', - 'application/x-java-jnlp-file' => 'jnlp', - 'application/x-latex' => 'latex', - 'application/x-lzh-compressed' => ['lzh', 'lha'], - 'application/x-mie' => 'mie', - 'application/x-mobipocket-ebook' => ['prc', 'mobi'], - 'application/x-ms-application' => 'application', - 'application/x-ms-shortcut' => 'lnk', - 'application/x-ms-wmd' => 'wmd', - 'application/x-ms-wmz' => 'wmz', - 'application/x-ms-xbap' => 'xbap', - 'application/x-msaccess' => 'mdb', - 'application/x-msbinder' => 'obd', - 'application/x-mscardfile' => 'crd', - 'application/x-msclip' => 'clp', - 'application/x-msdownload' => ['exe', 'dll', 'com', 'bat', 'msi'], - 'application/x-msmediaview' => [ - 'mvb', - 'm13', - 'm14', - ], - 'application/x-msmetafile' => ['wmf', 'wmz', 'emf', 'emz'], - 'application/x-rar-compressed' => 'rar', - 'application/x-research-info-systems' => 'ris', - 'application/x-sh' => 'sh', - 'application/x-shar' => 'shar', - 'application/x-shockwave-flash' => 'swf', - 'application/x-silverlight-app' => 'xap', - 'application/x-sql' => 'sql', - 'application/x-stuffit' => 'sit', - 'application/x-stuffitx' => 'sitx', - 'application/x-subrip' => 'srt', - 'application/x-sv4cpio' => 'sv4cpio', - 'application/x-sv4crc' => 'sv4crc', - 'application/x-t3vm-image' => 't3', - 'application/x-tads' => 'gam', - 'application/x-tar' => 'tar', - 'application/x-tcl' => 'tcl', - 'application/x-tex' => 'tex', - 'application/x-tex-tfm' => 'tfm', - 'application/x-texinfo' => ['texinfo', 'texi'], - 'application/x-tgif' => 'obj', - 'application/x-ustar' => 'ustar', - 'application/x-wais-source' => 'src', - 'application/x-x509-ca-cert' => ['der', 'crt'], - 'application/x-xfig' => 'fig', - 'application/x-xliff+xml' => 'xlf', - 'application/x-xpinstall' => 'xpi', - 'application/x-xz' => 'xz', - 'application/x-zmachine' => 'z1', - 'application/xaml+xml' => 'xaml', - 'application/xcap-diff+xml' => 'xdf', - 'application/xenc+xml' => 'xenc', - 'application/xhtml+xml' => ['xhtml', 'xht'], - 'application/xml' => ['xml', 'xsl'], - 'application/xml-dtd' => 'dtd', - 'application/xop+xml' => 'xop', - 'application/xproc+xml' => 'xpl', - 'application/xslt+xml' => 'xslt', - 'application/xspf+xml' => 'xspf', - 'application/xv+xml' => ['mxml', 'xhvml', 'xvml', 'xvm'], - 'application/yang' => 'yang', - 'application/yin+xml' => 'yin', - 'application/zip' => 'zip', - 'audio/adpcm' => 'adp', - 'audio/basic' => ['au', 'snd'], - 'audio/midi' => ['mid', 'midi', 'kar', 'rmi'], - 'audio/mp4' => 'mp4a', - 'audio/mpeg' => [ - 'mpga', - 'mp2', - 'mp2a', - 'mp3', - 'm2a', - 'm3a', - ], - 'audio/ogg' => ['oga', 'ogg', 'spx'], - 'audio/vnd.dece.audio' => ['uva', 'uvva'], - 'audio/vnd.rip' => 'rip', - 'audio/webm' => 'weba', - 'audio/x-aac' => 'aac', - 'audio/x-aiff' => ['aif', 'aiff', 'aifc'], - 'audio/x-caf' => 'caf', - 'audio/x-flac' => 'flac', - 'audio/x-matroska' => 'mka', - 'audio/x-mpegurl' => 'm3u', - 'audio/x-ms-wax' => 'wax', - 'audio/x-ms-wma' => 'wma', - 'audio/x-pn-realaudio' => ['ram', 'ra'], - 'audio/x-pn-realaudio-plugin' => 'rmp', - 'audio/x-wav' => 'wav', - 'audio/xm' => 'xm', - 'image/bmp' => 'bmp', - 'image/cgm' => 'cgm', - 'image/g3fax' => 'g3', - 'image/gif' => 'gif', - 'image/ief' => 'ief', - 'image/jpeg' => ['jpeg', 'jpg', 'jpe'], - 'image/ktx' => 'ktx', - 'image/png' => 'png', - 'image/prs.btif' => 'btif', - 'image/sgi' => 'sgi', - 'image/svg+xml' => ['svg', 'svgz'], - 'image/tiff' => ['tiff', 'tif'], - 'image/vnd.adobe.photoshop' => 'psd', - 'image/vnd.dece.graphic' => ['uvi', 'uvvi', 'uvg', 'uvvg'], - 'image/vnd.dvb.subtitle' => 'sub', - 'image/vnd.djvu' => ['djvu', 'djv'], - 'image/vnd.dwg' => 'dwg', - 'image/vnd.dxf' => 'dxf', - 'image/vnd.fastbidsheet' => 'fbs', - 'image/vnd.fpx' => 'fpx', - 'image/vnd.fst' => 'fst', - 'image/vnd.fujixerox.edmics-mmr' => 'mmr', - 'image/vnd.fujixerox.edmics-rlc' => 'rlc', - 'image/vnd.ms-modi' => 'mdi', - 'image/vnd.ms-photo' => 'wdp', - 'image/vnd.net-fpx' => 'npx', - 'image/vnd.wap.wbmp' => 'wbmp', - 'image/vnd.xiff' => 'xif', - 'image/webp' => 'webp', - 'image/x-3ds' => '3ds', - 'image/x-cmu-raster' => 'ras', - 'image/x-cmx' => 'cmx', - 'image/x-freehand' => ['fh', 'fhc', 'fh4', 'fh5', 'fh7'], - 'image/x-icon' => 'ico', - 'image/x-mrsid-image' => 'sid', - 'image/x-pcx' => 'pcx', - 'image/x-pict' => ['pic', 'pct'], - 'image/x-portable-anymap' => 'pnm', - 'image/x-portable-bitmap' => 'pbm', - 'image/x-portable-graymap' => 'pgm', - 'image/x-portable-pixmap' => 'ppm', - 'image/x-rgb' => 'rgb', - 'image/x-tga' => 'tga', - 'image/x-xbitmap' => 'xbm', - 'image/x-xpixmap' => 'xpm', - 'image/x-xwindowdump' => 'xwd', - 'message/rfc822' => ['eml', 'mime'], - 'model/iges' => ['igs', 'iges'], - 'model/mesh' => ['msh', 'mesh', 'silo'], - 'model/vnd.collada+xml' => 'dae', - 'model/vnd.dwf' => 'dwf', - 'model/vnd.gdl' => 'gdl', - 'model/vnd.gtw' => 'gtw', - 'model/vnd.mts' => 'mts', - 'model/vnd.vtu' => 'vtu', - 'model/vrml' => ['wrl', 'vrml'], - 'model/x3d+binary' => 'x3db', - 'model/x3d+vrml' => 'x3dv', - 'model/x3d+xml' => 'x3d', - 'text/cache-manifest' => 'appcache', - 'text/calendar' => ['ics', 'ifb'], - 'text/css' => 'css', - 'text/csv' => 'csv', - 'text/html' => ['html', 'htm'], - 'text/n3' => 'n3', - 'text/plain' => [ - 'txt', - 'text', - 'conf', - 'def', - 'list', - 'log', - 'in', - ], - 'text/prs.lines.tag' => 'dsc', - 'text/richtext' => 'rtx', - 'text/sgml' => ['sgml', 'sgm'], - 'text/tab-separated-values' => 'tsv', - 'text/troff' => [ - 't', - 'tr', - 'roff', - 'man', - 'me', - 'ms', - ], - 'text/turtle' => 'ttl', - 'text/uri-list' => ['uri', 'uris', 'urls'], - 'text/vcard' => 'vcard', - 'text/vnd.curl' => 'curl', - 'text/vnd.curl.dcurl' => 'dcurl', - 'text/vnd.curl.scurl' => 'scurl', - 'text/vnd.curl.mcurl' => 'mcurl', - 'text/vnd.dvb.subtitle' => 'sub', - 'text/vnd.fly' => 'fly', - 'text/vnd.fmi.flexstor' => 'flx', - 'text/vnd.graphviz' => 'gv', - 'text/vnd.in3d.3dml' => '3dml', - 'text/vnd.in3d.spot' => 'spot', - 'text/vnd.sun.j2me.app-descriptor' => 'jad', - 'text/vnd.wap.wml' => 'wml', - 'text/vnd.wap.wmlscript' => 'wmls', - 'text/x-asm' => ['s', 'asm'], - 'text/x-fortran' => ['f', 'for', 'f77', 'f90'], - 'text/x-java-source' => 'java', - 'text/x-opml' => 'opml', - 'text/x-pascal' => ['p', 'pas'], - 'text/x-nfo' => 'nfo', - 'text/x-setext' => 'etx', - 'text/x-sfv' => 'sfv', - 'text/x-uuencode' => 'uu', - 'text/x-vcalendar' => 'vcs', - 'text/x-vcard' => 'vcf', - 'video/3gpp' => '3gp', - 'video/3gpp2' => '3g2', - 'video/h261' => 'h261', - 'video/h263' => 'h263', - 'video/h264' => 'h264', - 'video/jpeg' => 'jpgv', - 'video/jpm' => ['jpm', 'jpgm'], - 'video/mj2' => 'mj2', - 'video/mp4' => 'mp4', - 'video/mpeg' => ['mpeg', 'mpg', 'mpe', 'm1v', 'm2v'], - 'video/ogg' => 'ogv', - 'video/quicktime' => ['qt', 'mov'], - 'video/vnd.dece.hd' => ['uvh', 'uvvh'], - 'video/vnd.dece.mobile' => ['uvm', 'uvvm'], - 'video/vnd.dece.pd' => ['uvp', 'uvvp'], - 'video/vnd.dece.sd' => ['uvs', 'uvvs'], - 'video/vnd.dece.video' => ['uvv', 'uvvv'], - 'video/vnd.dvb.file' => 'dvb', - 'video/vnd.fvt' => 'fvt', - 'video/vnd.mpegurl' => ['mxu', 'm4u'], - 'video/vnd.ms-playready.media.pyv' => 'pyv', - 'video/vnd.uvvu.mp4' => ['uvu', 'uvvu'], - 'video/vnd.vivo' => 'viv', - 'video/webm' => 'webm', - 'video/x-f4v' => 'f4v', - 'video/x-fli' => 'fli', - 'video/x-flv' => 'flv', - 'video/x-m4v' => 'm4v', - 'video/x-matroska' => ['mkv', 'mk3d', 'mks'], - 'video/x-mng' => 'mng', - 'video/x-ms-asf' => ['asf', 'asx'], - 'video/x-ms-vob' => 'vob', - 'video/x-ms-wm' => 'wm', - 'video/x-ms-wmv' => 'wmv', - 'video/x-ms-wmx' => 'wmx', - 'video/x-ms-wvx' => 'wvx', - 'video/x-msvideo' => 'avi', - 'video/x-sgi-movie' => 'movie', - ]; +class File extends Base { + /** + * MIME types from the apache.org file. Some types are truncated. + * + * @var array Map of MIME types => file extension(s) + * + * @see http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types + */ + protected static $mimeTypes = [ + 'application/atom+xml' => 'atom', + 'application/ecmascript' => 'ecma', + 'application/emma+xml' => 'emma', + 'application/epub+zip' => 'epub', + 'application/java-archive' => 'jar', + 'application/java-vm' => 'class', + 'application/javascript' => 'js', + 'application/json' => 'json', + 'application/jsonml+json' => 'jsonml', + 'application/lost+xml' => 'lostxml', + 'application/mathml+xml' => 'mathml', + 'application/mets+xml' => 'mets', + 'application/mods+xml' => 'mods', + 'application/mp4' => 'mp4s', + 'application/msword' => [ 'doc', 'dot' ], + 'application/octet-stream' => [ + 'bin', + 'dms', + 'lrf', + 'mar', + 'so', + 'dist', + 'distz', + 'pkg', + 'bpk', + 'dump', + 'elc', + 'deploy', + ], + 'application/ogg' => 'ogx', + 'application/omdoc+xml' => 'omdoc', + 'application/pdf' => 'pdf', + 'application/pgp-encrypted' => 'pgp', + 'application/pgp-signature' => [ 'asc', 'sig' ], + 'application/pkix-pkipath' => 'pkipath', + 'application/pkixcmp' => 'pki', + 'application/pls+xml' => 'pls', + 'application/postscript' => [ 'ai', 'eps', 'ps' ], + 'application/pskc+xml' => 'pskcxml', + 'application/rdf+xml' => 'rdf', + 'application/reginfo+xml' => 'rif', + 'application/rss+xml' => 'rss', + 'application/rtf' => 'rtf', + 'application/sbml+xml' => 'sbml', + 'application/vnd.adobe.air-application-installer-package+zip' => 'air', + 'application/vnd.adobe.xdp+xml' => 'xdp', + 'application/vnd.adobe.xfdf' => 'xfdf', + 'application/vnd.ahead.space' => 'ahead', + 'application/vnd.dart' => 'dart', + 'application/vnd.data-vision.rdz' => 'rdz', + 'application/vnd.dece.data' => [ 'uvf', 'uvvf', 'uvd', 'uvvd' ], + 'application/vnd.dece.ttml+xml' => [ 'uvt', 'uvvt' ], + 'application/vnd.dece.unspecified' => [ 'uvx', 'uvvx' ], + 'application/vnd.dece.zip' => [ 'uvz', 'uvvz' ], + 'application/vnd.denovo.fcselayout-link' => 'fe_launch', + 'application/vnd.dna' => 'dna', + 'application/vnd.dolby.mlp' => 'mlp', + 'application/vnd.dpgraph' => 'dpg', + 'application/vnd.dreamfactory' => 'dfac', + 'application/vnd.ds-keypoint' => 'kpxx', + 'application/vnd.dvb.ait' => 'ait', + 'application/vnd.dvb.service' => 'svc', + 'application/vnd.dynageo' => 'geo', + 'application/vnd.ecowin.chart' => 'mag', + 'application/vnd.enliven' => 'nml', + 'application/vnd.epson.esf' => 'esf', + 'application/vnd.epson.msf' => 'msf', + 'application/vnd.epson.quickanime' => 'qam', + 'application/vnd.epson.salt' => 'slt', + 'application/vnd.epson.ssf' => 'ssf', + 'application/vnd.ezpix-album' => 'ez2', + 'application/vnd.ezpix-package' => 'ez3', + 'application/vnd.fdf' => 'fdf', + 'application/vnd.fdsn.mseed' => 'mseed', + 'application/vnd.fdsn.seed' => [ 'seed', 'dataless' ], + 'application/vnd.flographit' => 'gph', + 'application/vnd.fluxtime.clip' => 'ftc', + 'application/vnd.hal+xml' => 'hal', + 'application/vnd.hydrostatix.sof-data' => 'sfd-hdstx', + 'application/vnd.ibm.minipay' => 'mpy', + 'application/vnd.ibm.secure-container' => 'sc', + 'application/vnd.iccprofile' => [ 'icc', 'icm' ], + 'application/vnd.igloader' => 'igl', + 'application/vnd.immervision-ivp' => 'ivp', + 'application/vnd.kde.karbon' => 'karbon', + 'application/vnd.kde.kchart' => 'chrt', + 'application/vnd.kde.kformula' => 'kfo', + 'application/vnd.kde.kivio' => 'flw', + 'application/vnd.kde.kontour' => 'kon', + 'application/vnd.kde.kpresenter' => [ 'kpr', 'kpt' ], + 'application/vnd.kde.kspread' => 'ksp', + 'application/vnd.kde.kword' => [ 'kwd', 'kwt' ], + 'application/vnd.kenameaapp' => 'htke', + 'application/vnd.kidspiration' => 'kia', + 'application/vnd.kinar' => [ 'kne', 'knp' ], + 'application/vnd.koan' => [ 'skp', 'skd', 'skt', 'skm' ], + 'application/vnd.kodak-descriptor' => 'sse', + 'application/vnd.las.las+xml' => 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop' => 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml' => 'lbe', + 'application/vnd.lotus-1-2-3' => '123', + 'application/vnd.lotus-approach' => 'apr', + 'application/vnd.lotus-freelance' => 'pre', + 'application/vnd.lotus-notes' => 'nsf', + 'application/vnd.lotus-organizer' => 'org', + 'application/vnd.lotus-screencam' => 'scm', + 'application/vnd.mozilla.xul+xml' => 'xul', + 'application/vnd.ms-artgalry' => 'cil', + 'application/vnd.ms-cab-compressed' => 'cab', + 'application/vnd.ms-excel' => [ + 'xls', + 'xlm', + 'xla', + 'xlc', + 'xlt', + 'xlw', + ], + 'application/vnd.ms-excel.addin.macroenabled.12' => 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12' => 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12' => 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12' => 'xltm', + 'application/vnd.ms-fontobject' => 'eot', + 'application/vnd.ms-htmlhelp' => 'chm', + 'application/vnd.ms-ims' => 'ims', + 'application/vnd.ms-lrm' => 'lrm', + 'application/vnd.ms-officetheme' => 'thmx', + 'application/vnd.ms-pki.seccat' => 'cat', + 'application/vnd.ms-pki.stl' => 'stl', + 'application/vnd.ms-powerpoint' => [ 'ppt', 'pps', 'pot' ], + 'application/vnd.ms-powerpoint.addin.macroenabled.12' => 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12' => 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12' => 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12' => 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12' => 'potm', + 'application/vnd.ms-project' => [ 'mpp', 'mpt' ], + 'application/vnd.ms-word.document.macroenabled.12' => 'docm', + 'application/vnd.ms-word.template.macroenabled.12' => 'dotm', + 'application/vnd.ms-works' => [ 'wps', 'wks', 'wcm', 'wdb' ], + 'application/vnd.ms-wpl' => 'wpl', + 'application/vnd.ms-xpsdocument' => 'xps', + 'application/vnd.mseq' => 'mseq', + 'application/vnd.musician' => 'mus', + 'application/vnd.oasis.opendocument.chart' => 'odc', + 'application/vnd.oasis.opendocument.chart-template' => 'otc', + 'application/vnd.oasis.opendocument.database' => 'odb', + 'application/vnd.oasis.opendocument.formula' => 'odf', + 'application/vnd.oasis.opendocument.formula-template' => 'odft', + 'application/vnd.oasis.opendocument.graphics' => 'odg', + 'application/vnd.oasis.opendocument.graphics-template' => 'otg', + 'application/vnd.oasis.opendocument.image' => 'odi', + 'application/vnd.oasis.opendocument.image-template' => 'oti', + 'application/vnd.oasis.opendocument.presentation' => 'odp', + 'application/vnd.oasis.opendocument.presentation-template' => 'otp', + 'application/vnd.oasis.opendocument.spreadsheet' => 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template' => 'ots', + 'application/vnd.oasis.opendocument.text' => 'odt', + 'application/vnd.oasis.opendocument.text-master' => 'odm', + 'application/vnd.oasis.opendocument.text-template' => 'ott', + 'application/vnd.oasis.opendocument.text-web' => 'oth', + 'application/vnd.olpc-sugar' => 'xo', + 'application/vnd.oma.dd2+xml' => 'dd2', + 'application/vnd.openofficeorg.extension' => 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation' => 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide' => 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' => 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template' => 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' => 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' => 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' => 'dotx', + 'application/vnd.pvi.ptid1' => 'ptid', + 'application/vnd.quark.quarkxpress' => [ + 'qxd', + 'qxt', + 'qwd', + 'qwt', + 'qxl', + 'qxb', + ], + 'application/vnd.realvnc.bed' => 'bed', + 'application/vnd.recordare.musicxml' => 'mxl', + 'application/vnd.recordare.musicxml+xml' => 'musicxml', + 'application/vnd.rig.cryptonote' => 'cryptonote', + 'application/vnd.rim.cod' => 'cod', + 'application/vnd.rn-realmedia' => 'rm', + 'application/vnd.rn-realmedia-vbr' => 'rmvb', + 'application/vnd.route66.link66+xml' => 'link66', + 'application/vnd.sailingtracker.track' => 'st', + 'application/vnd.seemail' => 'see', + 'application/vnd.sema' => 'sema', + 'application/vnd.semd' => 'semd', + 'application/vnd.semf' => 'semf', + 'application/vnd.shana.informed.formdata' => 'ifm', + 'application/vnd.shana.informed.formtemplate' => 'itp', + 'application/vnd.shana.informed.interchange' => 'iif', + 'application/vnd.shana.informed.package' => 'ipk', + 'application/vnd.simtech-mindmapper' => [ 'twd', 'twds' ], + 'application/vnd.smaf' => 'mmf', + 'application/vnd.stepmania.stepchart' => 'sm', + 'application/vnd.sun.xml.calc' => 'sxc', + 'application/vnd.sun.xml.calc.template' => 'stc', + 'application/vnd.sun.xml.draw' => 'sxd', + 'application/vnd.sun.xml.draw.template' => 'std', + 'application/vnd.sun.xml.impress' => 'sxi', + 'application/vnd.sun.xml.impress.template' => 'sti', + 'application/vnd.sun.xml.math' => 'sxm', + 'application/vnd.sun.xml.writer' => 'sxw', + 'application/vnd.sun.xml.writer.global' => 'sxg', + 'application/vnd.sun.xml.writer.template' => 'stw', + 'application/vnd.sus-calendar' => [ 'sus', 'susp' ], + 'application/vnd.svd' => 'svd', + 'application/vnd.symbian.install' => [ 'sis', 'sisx' ], + 'application/vnd.syncml+xml' => 'xsm', + 'application/vnd.syncml.dm+wbxml' => 'bdm', + 'application/vnd.syncml.dm+xml' => 'xdm', + 'application/vnd.tao.intent-module-archive' => 'tao', + 'application/vnd.tcpdump.pcap' => [ 'pcap', 'cap', 'dmp' ], + 'application/vnd.tmobile-livetv' => 'tmo', + 'application/vnd.trid.tpt' => 'tpt', + 'application/vnd.triscape.mxs' => 'mxs', + 'application/vnd.trueapp' => 'tra', + 'application/vnd.ufdl' => [ 'ufd', 'ufdl' ], + 'application/vnd.uiq.theme' => 'utz', + 'application/vnd.umajin' => 'umj', + 'application/vnd.unity' => 'unityweb', + 'application/vnd.uoml+xml' => 'uoml', + 'application/vnd.vcx' => 'vcx', + 'application/vnd.visio' => [ 'vsd', 'vst', 'vss', 'vsw' ], + 'application/vnd.visionary' => 'vis', + 'application/vnd.vsf' => 'vsf', + 'application/vnd.wap.wbxml' => 'wbxml', + 'application/vnd.wap.wmlc' => 'wmlc', + 'application/vnd.wap.wmlscriptc' => 'wmlsc', + 'application/vnd.webturbo' => 'wtb', + 'application/vnd.wolfram.player' => 'nbp', + 'application/vnd.wordperfect' => 'wpd', + 'application/vnd.wqd' => 'wqd', + 'application/vnd.wt.stf' => 'stf', + 'application/vnd.xara' => 'xar', + 'application/vnd.xfdl' => 'xfdl', + 'application/voicexml+xml' => 'vxml', + 'application/widget' => 'wgt', + 'application/winhlp' => 'hlp', + 'application/wsdl+xml' => 'wsdl', + 'application/wspolicy+xml' => 'wspolicy', + 'application/x-7z-compressed' => '7z', + 'application/x-bittorrent' => 'torrent', + 'application/x-blorb' => [ 'blb', 'blorb' ], + 'application/x-bzip' => 'bz', + 'application/x-cdlink' => 'vcd', + 'application/x-cfs-compressed' => 'cfs', + 'application/x-chat' => 'chat', + 'application/x-chess-pgn' => 'pgn', + 'application/x-conference' => 'nsc', + 'application/x-cpio' => 'cpio', + 'application/x-csh' => 'csh', + 'application/x-debian-package' => [ 'deb', 'udeb' ], + 'application/x-dgc-compressed' => 'dgc', + 'application/x-director' => [ + 'dir', + 'dcr', + 'dxr', + 'cst', + 'cct', + 'cxt', + 'w3d', + 'fgd', + 'swa', + ], + 'application/x-font-ttf' => [ 'ttf', 'ttc' ], + 'application/x-font-type1' => [ 'pfa', 'pfb', 'pfm', 'afm' ], + 'application/x-font-woff' => 'woff', + 'application/x-freearc' => 'arc', + 'application/x-futuresplash' => 'spl', + 'application/x-gca-compressed' => 'gca', + 'application/x-glulx' => 'ulx', + 'application/x-gnumeric' => 'gnumeric', + 'application/x-gramps-xml' => 'gramps', + 'application/x-gtar' => 'gtar', + 'application/x-hdf' => 'hdf', + 'application/x-install-instructions' => 'install', + 'application/x-iso9660-image' => 'iso', + 'application/x-java-jnlp-file' => 'jnlp', + 'application/x-latex' => 'latex', + 'application/x-lzh-compressed' => [ 'lzh', 'lha' ], + 'application/x-mie' => 'mie', + 'application/x-mobipocket-ebook' => [ 'prc', 'mobi' ], + 'application/x-ms-application' => 'application', + 'application/x-ms-shortcut' => 'lnk', + 'application/x-ms-wmd' => 'wmd', + 'application/x-ms-wmz' => 'wmz', + 'application/x-ms-xbap' => 'xbap', + 'application/x-msaccess' => 'mdb', + 'application/x-msbinder' => 'obd', + 'application/x-mscardfile' => 'crd', + 'application/x-msclip' => 'clp', + 'application/x-msdownload' => [ + 'exe', + 'dll', + 'com', + 'bat', + 'msi' + ], + 'application/x-msmediaview' => [ + 'mvb', + 'm13', + 'm14', + ], + 'application/x-msmetafile' => [ 'wmf', 'wmz', 'emf', 'emz' ], + 'application/x-rar-compressed' => 'rar', + 'application/x-research-info-systems' => 'ris', + 'application/x-sh' => 'sh', + 'application/x-shar' => 'shar', + 'application/x-shockwave-flash' => 'swf', + 'application/x-silverlight-app' => 'xap', + 'application/x-sql' => 'sql', + 'application/x-stuffit' => 'sit', + 'application/x-stuffitx' => 'sitx', + 'application/x-subrip' => 'srt', + 'application/x-sv4cpio' => 'sv4cpio', + 'application/x-sv4crc' => 'sv4crc', + 'application/x-t3vm-image' => 't3', + 'application/x-tads' => 'gam', + 'application/x-tar' => 'tar', + 'application/x-tcl' => 'tcl', + 'application/x-tex' => 'tex', + 'application/x-tex-tfm' => 'tfm', + 'application/x-texinfo' => [ 'texinfo', 'texi' ], + 'application/x-tgif' => 'obj', + 'application/x-ustar' => 'ustar', + 'application/x-wais-source' => 'src', + 'application/x-x509-ca-cert' => [ 'der', 'crt' ], + 'application/x-xfig' => 'fig', + 'application/x-xliff+xml' => 'xlf', + 'application/x-xpinstall' => 'xpi', + 'application/x-xz' => 'xz', + 'application/x-zmachine' => 'z1', + 'application/xaml+xml' => 'xaml', + 'application/xcap-diff+xml' => 'xdf', + 'application/xenc+xml' => 'xenc', + 'application/xhtml+xml' => [ 'xhtml', 'xht' ], + 'application/xml' => [ 'xml', 'xsl' ], + 'application/xml-dtd' => 'dtd', + 'application/xop+xml' => 'xop', + 'application/xproc+xml' => 'xpl', + 'application/xslt+xml' => 'xslt', + 'application/xspf+xml' => 'xspf', + 'application/xv+xml' => [ + 'mxml', + 'xhvml', + 'xvml', + 'xvm' + ], + 'application/yang' => 'yang', + 'application/yin+xml' => 'yin', + 'application/zip' => 'zip', + 'audio/adpcm' => 'adp', + 'audio/basic' => [ 'au', 'snd' ], + 'audio/midi' => [ 'mid', 'midi', 'kar', 'rmi' ], + 'audio/mp4' => 'mp4a', + 'audio/mpeg' => [ + 'mpga', + 'mp2', + 'mp2a', + 'mp3', + 'm2a', + 'm3a', + ], + 'audio/ogg' => [ 'oga', 'ogg', 'spx' ], + 'audio/vnd.dece.audio' => [ 'uva', 'uvva' ], + 'audio/vnd.rip' => 'rip', + 'audio/webm' => 'weba', + 'audio/x-aac' => 'aac', + 'audio/x-aiff' => [ 'aif', 'aiff', 'aifc' ], + 'audio/x-caf' => 'caf', + 'audio/x-flac' => 'flac', + 'audio/x-matroska' => 'mka', + 'audio/x-mpegurl' => 'm3u', + 'audio/x-ms-wax' => 'wax', + 'audio/x-ms-wma' => 'wma', + 'audio/x-pn-realaudio' => [ 'ram', 'ra' ], + 'audio/x-pn-realaudio-plugin' => 'rmp', + 'audio/x-wav' => 'wav', + 'audio/xm' => 'xm', + 'image/bmp' => 'bmp', + 'image/cgm' => 'cgm', + 'image/g3fax' => 'g3', + 'image/gif' => 'gif', + 'image/ief' => 'ief', + 'image/jpeg' => [ 'jpeg', 'jpg', 'jpe' ], + 'image/ktx' => 'ktx', + 'image/png' => 'png', + 'image/prs.btif' => 'btif', + 'image/sgi' => 'sgi', + 'image/svg+xml' => [ 'svg', 'svgz' ], + 'image/tiff' => [ 'tiff', 'tif' ], + 'image/vnd.adobe.photoshop' => 'psd', + 'image/vnd.dece.graphic' => [ 'uvi', 'uvvi', 'uvg', 'uvvg' ], + 'image/vnd.dvb.subtitle' => 'sub', + 'image/vnd.djvu' => [ 'djvu', 'djv' ], + 'image/vnd.dwg' => 'dwg', + 'image/vnd.dxf' => 'dxf', + 'image/vnd.fastbidsheet' => 'fbs', + 'image/vnd.fpx' => 'fpx', + 'image/vnd.fst' => 'fst', + 'image/vnd.fujixerox.edmics-mmr' => 'mmr', + 'image/vnd.fujixerox.edmics-rlc' => 'rlc', + 'image/vnd.ms-modi' => 'mdi', + 'image/vnd.ms-photo' => 'wdp', + 'image/vnd.net-fpx' => 'npx', + 'image/vnd.wap.wbmp' => 'wbmp', + 'image/vnd.xiff' => 'xif', + 'image/webp' => 'webp', + 'image/x-3ds' => '3ds', + 'image/x-cmu-raster' => 'ras', + 'image/x-cmx' => 'cmx', + 'image/x-freehand' => [ + 'fh', + 'fhc', + 'fh4', + 'fh5', + 'fh7' + ], + 'image/x-icon' => 'ico', + 'image/x-mrsid-image' => 'sid', + 'image/x-pcx' => 'pcx', + 'image/x-pict' => [ 'pic', 'pct' ], + 'image/x-portable-anymap' => 'pnm', + 'image/x-portable-bitmap' => 'pbm', + 'image/x-portable-graymap' => 'pgm', + 'image/x-portable-pixmap' => 'ppm', + 'image/x-rgb' => 'rgb', + 'image/x-tga' => 'tga', + 'image/x-xbitmap' => 'xbm', + 'image/x-xpixmap' => 'xpm', + 'image/x-xwindowdump' => 'xwd', + 'message/rfc822' => [ 'eml', 'mime' ], + 'model/iges' => [ 'igs', 'iges' ], + 'model/mesh' => [ 'msh', 'mesh', 'silo' ], + 'model/vnd.collada+xml' => 'dae', + 'model/vnd.dwf' => 'dwf', + 'model/vnd.gdl' => 'gdl', + 'model/vnd.gtw' => 'gtw', + 'model/vnd.mts' => 'mts', + 'model/vnd.vtu' => 'vtu', + 'model/vrml' => [ 'wrl', 'vrml' ], + 'model/x3d+binary' => 'x3db', + 'model/x3d+vrml' => 'x3dv', + 'model/x3d+xml' => 'x3d', + 'text/cache-manifest' => 'appcache', + 'text/calendar' => [ 'ics', 'ifb' ], + 'text/css' => 'css', + 'text/csv' => 'csv', + 'text/html' => [ 'html', 'htm' ], + 'text/n3' => 'n3', + 'text/plain' => [ + 'txt', + 'text', + 'conf', + 'def', + 'list', + 'log', + 'in', + ], + 'text/prs.lines.tag' => 'dsc', + 'text/richtext' => 'rtx', + 'text/sgml' => [ 'sgml', 'sgm' ], + 'text/tab-separated-values' => 'tsv', + 'text/troff' => [ + 't', + 'tr', + 'roff', + 'man', + 'me', + 'ms', + ], + 'text/turtle' => 'ttl', + 'text/uri-list' => [ 'uri', 'uris', 'urls' ], + 'text/vcard' => 'vcard', + 'text/vnd.curl' => 'curl', + 'text/vnd.curl.dcurl' => 'dcurl', + 'text/vnd.curl.scurl' => 'scurl', + 'text/vnd.curl.mcurl' => 'mcurl', + 'text/vnd.dvb.subtitle' => 'sub', + 'text/vnd.fly' => 'fly', + 'text/vnd.fmi.flexstor' => 'flx', + 'text/vnd.graphviz' => 'gv', + 'text/vnd.in3d.3dml' => '3dml', + 'text/vnd.in3d.spot' => 'spot', + 'text/vnd.sun.j2me.app-descriptor' => 'jad', + 'text/vnd.wap.wml' => 'wml', + 'text/vnd.wap.wmlscript' => 'wmls', + 'text/x-asm' => [ 's', 'asm' ], + 'text/x-fortran' => [ 'f', 'for', 'f77', 'f90' ], + 'text/x-java-source' => 'java', + 'text/x-opml' => 'opml', + 'text/x-pascal' => [ 'p', 'pas' ], + 'text/x-nfo' => 'nfo', + 'text/x-setext' => 'etx', + 'text/x-sfv' => 'sfv', + 'text/x-uuencode' => 'uu', + 'text/x-vcalendar' => 'vcs', + 'text/x-vcard' => 'vcf', + 'video/3gpp' => '3gp', + 'video/3gpp2' => '3g2', + 'video/h261' => 'h261', + 'video/h263' => 'h263', + 'video/h264' => 'h264', + 'video/jpeg' => 'jpgv', + 'video/jpm' => [ 'jpm', 'jpgm' ], + 'video/mj2' => 'mj2', + 'video/mp4' => 'mp4', + 'video/mpeg' => [ + 'mpeg', + 'mpg', + 'mpe', + 'm1v', + 'm2v' + ], + 'video/ogg' => 'ogv', + 'video/quicktime' => [ 'qt', 'mov' ], + 'video/vnd.dece.hd' => [ 'uvh', 'uvvh' ], + 'video/vnd.dece.mobile' => [ 'uvm', 'uvvm' ], + 'video/vnd.dece.pd' => [ 'uvp', 'uvvp' ], + 'video/vnd.dece.sd' => [ 'uvs', 'uvvs' ], + 'video/vnd.dece.video' => [ 'uvv', 'uvvv' ], + 'video/vnd.dvb.file' => 'dvb', + 'video/vnd.fvt' => 'fvt', + 'video/vnd.mpegurl' => [ 'mxu', 'm4u' ], + 'video/vnd.ms-playready.media.pyv' => 'pyv', + 'video/vnd.uvvu.mp4' => [ 'uvu', 'uvvu' ], + 'video/vnd.vivo' => 'viv', + 'video/webm' => 'webm', + 'video/x-f4v' => 'f4v', + 'video/x-fli' => 'fli', + 'video/x-flv' => 'flv', + 'video/x-m4v' => 'm4v', + 'video/x-matroska' => [ 'mkv', 'mk3d', 'mks' ], + 'video/x-mng' => 'mng', + 'video/x-ms-asf' => [ 'asf', 'asx' ], + 'video/x-ms-vob' => 'vob', + 'video/x-ms-wm' => 'wm', + 'video/x-ms-wmv' => 'wmv', + 'video/x-ms-wmx' => 'wmx', + 'video/x-ms-wvx' => 'wvx', + 'video/x-msvideo' => 'avi', + 'video/x-sgi-movie' => 'movie', + ]; - /** - * Get a random MIME type - * - * @return string - * - * @example 'video/avi' - */ - public static function mimeType() - { - return static::randomElement(array_keys(static::$mimeTypes)); - } + /** + * Get a random MIME type + * + * @return string + * + * @example 'video/avi' + */ + public static function mimeType() { + return static::randomElement( array_keys( static::$mimeTypes ) ); + } - /** - * Get a random file extension (without a dot) - * - * @example avi - * - * @return string - */ - public static function fileExtension() - { - $random_extension = static::randomElement(array_values(static::$mimeTypes)); + /** + * Get a random file extension (without a dot) + * + * @return string + * @example avi + * + */ + public static function fileExtension() { + $random_extension = static::randomElement( array_values( static::$mimeTypes ) ); - return is_array($random_extension) ? static::randomElement($random_extension) : $random_extension; - } + return is_array( $random_extension ) ? static::randomElement( $random_extension ) : $random_extension; + } - /** - * Copy a random file from the source directory to the target directory and returns the filename/fullpath - * - * @param string $sourceDirectory The directory to look for random file taking - * @param string $targetDirectory - * @param bool $fullPath Whether to have the full path or just the filename - * - * @return string - */ - public static function file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true) - { - if (!is_dir($sourceDirectory)) { - throw new \InvalidArgumentException(sprintf('Source directory %s does not exist or is not a directory.', $sourceDirectory)); - } + /** + * Copy a random file from the source directory to the target directory and returns the filename/fullpath + * + * @param string $sourceDirectory The directory to look for random file taking + * @param string $targetDirectory + * @param bool $fullPath Whether to have the full path or just the filename + * + * @return string + */ + public static function file( $sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true ) { + if ( ! is_dir( $sourceDirectory ) ) { + throw new \InvalidArgumentException( sprintf( 'Source directory %s does not exist or is not a directory.', $sourceDirectory ) ); + } - if (!is_dir($targetDirectory)) { - throw new \InvalidArgumentException(sprintf('Target directory %s does not exist or is not a directory.', $targetDirectory)); - } + if ( ! is_dir( $targetDirectory ) ) { + throw new \InvalidArgumentException( sprintf( 'Target directory %s does not exist or is not a directory.', $targetDirectory ) ); + } - if ($sourceDirectory == $targetDirectory) { - throw new \InvalidArgumentException('Source and target directories must differ.'); - } + if ( $sourceDirectory == $targetDirectory ) { + throw new \InvalidArgumentException( 'Source and target directories must differ.' ); + } - // Drop . and .. and reset array keys - $files = array_filter(array_values(array_diff(scandir($sourceDirectory), ['.', '..'])), static function ($file) use ($sourceDirectory) { - return is_file($sourceDirectory . DIRECTORY_SEPARATOR . $file) && is_readable($sourceDirectory . DIRECTORY_SEPARATOR . $file); - }); + // Drop . and .. and reset array keys + $files = array_filter( array_values( array_diff( scandir( $sourceDirectory ), [ + '.', + '..' + ] ) ), static function ( $file ) use ( $sourceDirectory ) { + return is_file( $sourceDirectory . DIRECTORY_SEPARATOR . $file ) && is_readable( $sourceDirectory . DIRECTORY_SEPARATOR . $file ); + } ); - if (empty($files)) { - throw new \InvalidArgumentException(sprintf('Source directory %s is empty.', $sourceDirectory)); - } + if ( empty( $files ) ) { + throw new \InvalidArgumentException( sprintf( 'Source directory %s is empty.', $sourceDirectory ) ); + } - $sourceFullPath = $sourceDirectory . DIRECTORY_SEPARATOR . static::randomElement($files); + $sourceFullPath = $sourceDirectory . DIRECTORY_SEPARATOR . static::randomElement( $files ); - $destinationFile = Uuid::uuid() . '.' . pathinfo($sourceFullPath, PATHINFO_EXTENSION); - $destinationFullPath = $targetDirectory . DIRECTORY_SEPARATOR . $destinationFile; + $destinationFile = Uuid::uuid() . '.' . pathinfo( $sourceFullPath, PATHINFO_EXTENSION ); + $destinationFullPath = $targetDirectory . DIRECTORY_SEPARATOR . $destinationFile; - if (false === copy($sourceFullPath, $destinationFullPath)) { - return false; - } + if ( false === copy( $sourceFullPath, $destinationFullPath ) ) { + return false; + } - return $fullPath ? $destinationFullPath : $destinationFile; - } + return $fullPath ? $destinationFullPath : $destinationFile; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/HtmlLorem.php b/lib/fakerphp/faker/src/Faker/Provider/HtmlLorem.php index a843410..f572d59 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/HtmlLorem.php +++ b/lib/fakerphp/faker/src/Faker/Provider/HtmlLorem.php @@ -5,303 +5,286 @@ use Faker\Generator; use Faker\UniqueGenerator; -class HtmlLorem extends Base -{ - public const HTML_TAG = 'html'; - public const HEAD_TAG = 'head'; - public const BODY_TAG = 'body'; - public const DIV_TAG = 'div'; - public const P_TAG = 'p'; - public const A_TAG = 'a'; - public const SPAN_TAG = 'span'; - public const TABLE_TAG = 'table'; - public const THEAD_TAG = 'thead'; - public const TBODY_TAG = 'tbody'; - public const TR_TAG = 'tr'; - public const TD_TAG = 'td'; - public const TH_TAG = 'th'; - public const UL_TAG = 'ul'; - public const LI_TAG = 'li'; - public const H_TAG = 'h'; - public const B_TAG = 'b'; - public const I_TAG = 'i'; - public const TITLE_TAG = 'title'; - public const FORM_TAG = 'form'; - public const INPUT_TAG = 'input'; - public const LABEL_TAG = 'label'; - - private $idGenerator; - - public function __construct(Generator $generator) - { - parent::__construct($generator); - $generator->addProvider(new Lorem($generator)); - $generator->addProvider(new Internet($generator)); - } - - /** - * @param int $maxDepth - * @param int $maxWidth - * - * @return string - */ - public function randomHtml($maxDepth = 4, $maxWidth = 4) - { - if (!class_exists(\DOMDocument::class, false)) { - throw new \RuntimeException('ext-dom is required to use randomHtml.'); - } - - $document = new \DOMDocument(); - $this->idGenerator = new UniqueGenerator($this->generator); - - $head = $document->createElement('head'); - $this->addRandomTitle($head); - - $body = $document->createElement('body'); - $this->addLoginForm($body); - $this->addRandomSubTree($body, $maxDepth, $maxWidth); - - $html = $document->createElement('html'); - $html->appendChild($head); - $html->appendChild($body); - - $document->appendChild($html); - - return $document->saveHTML(); - } - - private function addRandomSubTree(\DOMElement $root, $maxDepth, $maxWidth) - { - --$maxDepth; - - if ($maxDepth <= 0) { - return $root; - } - - $siblings = self::numberBetween(1, $maxWidth); - - for ($i = 0; $i < $siblings; ++$i) { - if ($maxDepth == 1) { - $this->addRandomLeaf($root); - } else { - $sibling = $root->ownerDocument->createElement('div'); - $root->appendChild($sibling); - $this->addRandomAttribute($sibling); - $this->addRandomSubTree($sibling, self::numberBetween(0, $maxDepth), $maxWidth); - } - } - - return $root; - } - - private function addRandomLeaf(\DOMElement $node): void - { - $rand = self::numberBetween(1, 10); - - switch ($rand) { - case 1: - $this->addRandomP($node); - - break; - - case 2: - $this->addRandomA($node); - - break; - - case 3: - $this->addRandomSpan($node); - - break; - - case 4: - $this->addRandomUL($node); - - break; - - case 5: - $this->addRandomH($node); - - break; - - case 6: - $this->addRandomB($node); - - break; - - case 7: - $this->addRandomI($node); - - break; - - case 8: - $this->addRandomTable($node); - - break; - - default: - $this->addRandomText($node); - - break; - } - } - - private function addRandomAttribute(\DOMElement $node): void - { - $rand = self::numberBetween(1, 2); - - switch ($rand) { - case 1: - $node->setAttribute('class', $this->generator->word()); - - break; - - case 2: - $node->setAttribute('id', (string) $this->idGenerator->randomNumber(5)); - - break; - } - } - - private function addRandomP(\DOMElement $element, $maxLength = 10): void - { - $node = $element->ownerDocument->createElement(static::P_TAG); - $node->textContent = $this->generator->sentence(self::numberBetween(1, $maxLength)); - $element->appendChild($node); - } - - private function addRandomText(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $element->appendChild($text); - } - - private function addRandomA(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement(static::A_TAG); - $node->setAttribute('href', $this->generator->safeEmailDomain()); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addRandomTitle(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement(static::TITLE_TAG); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addRandomH(\DOMElement $element, $maxLength = 10): void - { - $h = static::H_TAG . (string) self::numberBetween(1, 3); - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement($h); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addRandomB(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement(static::B_TAG); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addRandomI(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement(static::I_TAG); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addRandomSpan(\DOMElement $element, $maxLength = 10): void - { - $text = $element->ownerDocument->createTextNode($this->generator->sentence(self::numberBetween(1, $maxLength))); - $node = $element->ownerDocument->createElement(static::SPAN_TAG); - $node->appendChild($text); - $element->appendChild($node); - } - - private function addLoginForm(\DOMElement $element): void - { - $textInput = $element->ownerDocument->createElement(static::INPUT_TAG); - $textInput->setAttribute('type', 'text'); - $textInput->setAttribute('id', 'username'); - - $textLabel = $element->ownerDocument->createElement(static::LABEL_TAG); - $textLabel->setAttribute('for', 'username'); - $textLabel->textContent = $this->generator->word(); - - $passwordInput = $element->ownerDocument->createElement(static::INPUT_TAG); - $passwordInput->setAttribute('type', 'password'); - $passwordInput->setAttribute('id', 'password'); - - $passwordLabel = $element->ownerDocument->createElement(static::LABEL_TAG); - $passwordLabel->setAttribute('for', 'password'); - $passwordLabel->textContent = $this->generator->word(); - - $submit = $element->ownerDocument->createElement(static::INPUT_TAG); - $submit->setAttribute('type', 'submit'); - $submit->setAttribute('value', $this->generator->word()); - - $submit = $element->ownerDocument->createElement(static::FORM_TAG); - $submit->setAttribute('action', $this->generator->safeEmailDomain()); - $submit->setAttribute('method', 'POST'); - $submit->appendChild($textLabel); - $submit->appendChild($textInput); - $submit->appendChild($passwordLabel); - $submit->appendChild($passwordInput); - $element->appendChild($submit); - } - - private function addRandomTable(\DOMElement $element, $maxRows = 10, $maxCols = 6, $maxTitle = 4, $maxLength = 10): void - { - $rows = self::numberBetween(1, $maxRows); - $cols = self::numberBetween(1, $maxCols); - - $table = $element->ownerDocument->createElement(static::TABLE_TAG); - $thead = $element->ownerDocument->createElement(static::THEAD_TAG); - $tbody = $element->ownerDocument->createElement(static::TBODY_TAG); - - $table->appendChild($thead); - $table->appendChild($tbody); - - $tr = $element->ownerDocument->createElement(static::TR_TAG); - $thead->appendChild($tr); - - for ($i = 0; $i < $cols; ++$i) { - $th = $element->ownerDocument->createElement(static::TH_TAG); - $th->textContent = $this->generator->sentence(self::numberBetween(1, $maxTitle)); - $tr->appendChild($th); - } - - for ($i = 0; $i < $rows; ++$i) { - $tr = $element->ownerDocument->createElement(static::TR_TAG); - $tbody->appendChild($tr); - - for ($j = 0; $j < $cols; ++$j) { - $th = $element->ownerDocument->createElement(static::TD_TAG); - $th->textContent = $this->generator->sentence(self::numberBetween(1, $maxLength)); - $tr->appendChild($th); - } - } - $element->appendChild($table); - } - - private function addRandomUL(\DOMElement $element, $maxItems = 11, $maxLength = 4): void - { - $num = self::numberBetween(1, $maxItems); - $ul = $element->ownerDocument->createElement(static::UL_TAG); - - for ($i = 0; $i < $num; ++$i) { - $li = $element->ownerDocument->createElement(static::LI_TAG); - $li->textContent = $this->generator->sentence(self::numberBetween(1, $maxLength)); - $ul->appendChild($li); - } - $element->appendChild($ul); - } +class HtmlLorem extends Base { + public const HTML_TAG = 'html'; + public const HEAD_TAG = 'head'; + public const BODY_TAG = 'body'; + public const DIV_TAG = 'div'; + public const P_TAG = 'p'; + public const A_TAG = 'a'; + public const SPAN_TAG = 'span'; + public const TABLE_TAG = 'table'; + public const THEAD_TAG = 'thead'; + public const TBODY_TAG = 'tbody'; + public const TR_TAG = 'tr'; + public const TD_TAG = 'td'; + public const TH_TAG = 'th'; + public const UL_TAG = 'ul'; + public const LI_TAG = 'li'; + public const H_TAG = 'h'; + public const B_TAG = 'b'; + public const I_TAG = 'i'; + public const TITLE_TAG = 'title'; + public const FORM_TAG = 'form'; + public const INPUT_TAG = 'input'; + public const LABEL_TAG = 'label'; + + private $idGenerator; + + public function __construct( Generator $generator ) { + parent::__construct( $generator ); + $generator->addProvider( new Lorem( $generator ) ); + $generator->addProvider( new Internet( $generator ) ); + } + + /** + * @param int $maxDepth + * @param int $maxWidth + * + * @return string + */ + public function randomHtml( $maxDepth = 4, $maxWidth = 4 ) { + if ( ! class_exists( \DOMDocument::class, false ) ) { + throw new \RuntimeException( 'ext-dom is required to use randomHtml.' ); + } + + $document = new \DOMDocument(); + $this->idGenerator = new UniqueGenerator( $this->generator ); + + $head = $document->createElement( 'head' ); + $this->addRandomTitle( $head ); + + $body = $document->createElement( 'body' ); + $this->addLoginForm( $body ); + $this->addRandomSubTree( $body, $maxDepth, $maxWidth ); + + $html = $document->createElement( 'html' ); + $html->appendChild( $head ); + $html->appendChild( $body ); + + $document->appendChild( $html ); + + return $document->saveHTML(); + } + + private function addRandomSubTree( \DOMElement $root, $maxDepth, $maxWidth ) { + -- $maxDepth; + + if ( $maxDepth <= 0 ) { + return $root; + } + + $siblings = self::numberBetween( 1, $maxWidth ); + + for ( $i = 0; $i < $siblings; ++ $i ) { + if ( $maxDepth == 1 ) { + $this->addRandomLeaf( $root ); + } else { + $sibling = $root->ownerDocument->createElement( 'div' ); + $root->appendChild( $sibling ); + $this->addRandomAttribute( $sibling ); + $this->addRandomSubTree( $sibling, self::numberBetween( 0, $maxDepth ), $maxWidth ); + } + } + + return $root; + } + + private function addRandomLeaf( \DOMElement $node ): void { + $rand = self::numberBetween( 1, 10 ); + + switch ( $rand ) { + case 1: + $this->addRandomP( $node ); + + break; + + case 2: + $this->addRandomA( $node ); + + break; + + case 3: + $this->addRandomSpan( $node ); + + break; + + case 4: + $this->addRandomUL( $node ); + + break; + + case 5: + $this->addRandomH( $node ); + + break; + + case 6: + $this->addRandomB( $node ); + + break; + + case 7: + $this->addRandomI( $node ); + + break; + + case 8: + $this->addRandomTable( $node ); + + break; + + default: + $this->addRandomText( $node ); + + break; + } + } + + private function addRandomAttribute( \DOMElement $node ): void { + $rand = self::numberBetween( 1, 2 ); + + switch ( $rand ) { + case 1: + $node->setAttribute( 'class', $this->generator->word() ); + + break; + + case 2: + $node->setAttribute( 'id', (string) $this->idGenerator->randomNumber( 5 ) ); + + break; + } + } + + private function addRandomP( \DOMElement $element, $maxLength = 10 ): void { + $node = $element->ownerDocument->createElement( static::P_TAG ); + $node->textContent = $this->generator->sentence( self::numberBetween( 1, $maxLength ) ); + $element->appendChild( $node ); + } + + private function addRandomText( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $element->appendChild( $text ); + } + + private function addRandomA( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( static::A_TAG ); + $node->setAttribute( 'href', $this->generator->safeEmailDomain() ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addRandomTitle( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( static::TITLE_TAG ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addRandomH( \DOMElement $element, $maxLength = 10 ): void { + $h = static::H_TAG . (string) self::numberBetween( 1, 3 ); + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( $h ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addRandomB( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( static::B_TAG ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addRandomI( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( static::I_TAG ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addRandomSpan( \DOMElement $element, $maxLength = 10 ): void { + $text = $element->ownerDocument->createTextNode( $this->generator->sentence( self::numberBetween( 1, $maxLength ) ) ); + $node = $element->ownerDocument->createElement( static::SPAN_TAG ); + $node->appendChild( $text ); + $element->appendChild( $node ); + } + + private function addLoginForm( \DOMElement $element ): void { + $textInput = $element->ownerDocument->createElement( static::INPUT_TAG ); + $textInput->setAttribute( 'type', 'text' ); + $textInput->setAttribute( 'id', 'username' ); + + $textLabel = $element->ownerDocument->createElement( static::LABEL_TAG ); + $textLabel->setAttribute( 'for', 'username' ); + $textLabel->textContent = $this->generator->word(); + + $passwordInput = $element->ownerDocument->createElement( static::INPUT_TAG ); + $passwordInput->setAttribute( 'type', 'password' ); + $passwordInput->setAttribute( 'id', 'password' ); + + $passwordLabel = $element->ownerDocument->createElement( static::LABEL_TAG ); + $passwordLabel->setAttribute( 'for', 'password' ); + $passwordLabel->textContent = $this->generator->word(); + + $submit = $element->ownerDocument->createElement( static::INPUT_TAG ); + $submit->setAttribute( 'type', 'submit' ); + $submit->setAttribute( 'value', $this->generator->word() ); + + $submit = $element->ownerDocument->createElement( static::FORM_TAG ); + $submit->setAttribute( 'action', $this->generator->safeEmailDomain() ); + $submit->setAttribute( 'method', 'POST' ); + $submit->appendChild( $textLabel ); + $submit->appendChild( $textInput ); + $submit->appendChild( $passwordLabel ); + $submit->appendChild( $passwordInput ); + $element->appendChild( $submit ); + } + + private function addRandomTable( \DOMElement $element, $maxRows = 10, $maxCols = 6, $maxTitle = 4, $maxLength = 10 ): void { + $rows = self::numberBetween( 1, $maxRows ); + $cols = self::numberBetween( 1, $maxCols ); + + $table = $element->ownerDocument->createElement( static::TABLE_TAG ); + $thead = $element->ownerDocument->createElement( static::THEAD_TAG ); + $tbody = $element->ownerDocument->createElement( static::TBODY_TAG ); + + $table->appendChild( $thead ); + $table->appendChild( $tbody ); + + $tr = $element->ownerDocument->createElement( static::TR_TAG ); + $thead->appendChild( $tr ); + + for ( $i = 0; $i < $cols; ++ $i ) { + $th = $element->ownerDocument->createElement( static::TH_TAG ); + $th->textContent = $this->generator->sentence( self::numberBetween( 1, $maxTitle ) ); + $tr->appendChild( $th ); + } + + for ( $i = 0; $i < $rows; ++ $i ) { + $tr = $element->ownerDocument->createElement( static::TR_TAG ); + $tbody->appendChild( $tr ); + + for ( $j = 0; $j < $cols; ++ $j ) { + $th = $element->ownerDocument->createElement( static::TD_TAG ); + $th->textContent = $this->generator->sentence( self::numberBetween( 1, $maxLength ) ); + $tr->appendChild( $th ); + } + } + $element->appendChild( $table ); + } + + private function addRandomUL( \DOMElement $element, $maxItems = 11, $maxLength = 4 ): void { + $num = self::numberBetween( 1, $maxItems ); + $ul = $element->ownerDocument->createElement( static::UL_TAG ); + + for ( $i = 0; $i < $num; ++ $i ) { + $li = $element->ownerDocument->createElement( static::LI_TAG ); + $li->textContent = $this->generator->sentence( self::numberBetween( 1, $maxLength ) ); + $ul->appendChild( $li ); + } + $element->appendChild( $ul ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Image.php b/lib/fakerphp/faker/src/Faker/Provider/Image.php index 53f28df..d28ea7c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Image.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Image.php @@ -5,191 +5,199 @@ /** * Depends on image generation from http://lorempixel.com/ */ -class Image extends Base -{ - /** - * @var string - */ - public const BASE_URL = 'https://via.placeholder.com'; - - public const FORMAT_JPG = 'jpg'; - public const FORMAT_JPEG = 'jpeg'; - public const FORMAT_PNG = 'png'; - - /** - * @var array - * - * @deprecated Categories are no longer used as a list in the placeholder API but referenced as string instead - */ - protected static $categories = [ - 'abstract', 'animals', 'business', 'cats', 'city', 'food', 'nightlife', - 'fashion', 'people', 'nature', 'sports', 'technics', 'transport', - ]; - - /** - * Generate the URL that will return a random image - * - * Set randomize to false to remove the random GET parameter at the end of the url. - * - * @example 'http://via.placeholder.com/640x480.png/CCCCCC?text=well+hi+there' - * - * @param int $width - * @param int $height - * @param string|null $category - * @param bool $randomize - * @param string|null $word - * @param bool $gray - * @param string $format - * - * @return string - */ - public static function imageUrl( - $width = 640, - $height = 480, - $category = null, - $randomize = true, - $word = null, - $gray = false, - $format = 'png' - ) { - trigger_deprecation( - 'fakerphp/faker', - '1.20', - 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', - ); - - // Validate image format - $imageFormats = static::getFormats(); - - if (!in_array(strtolower($format), $imageFormats, true)) { - throw new \InvalidArgumentException(sprintf( - 'Invalid image format "%s". Allowable formats are: %s', - $format, - implode(', ', $imageFormats), - )); - } - - $size = sprintf('%dx%d.%s', $width, $height, $format); - - $imageParts = []; - - if ($category !== null) { - $imageParts[] = $category; - } - - if ($word !== null) { - $imageParts[] = $word; - } - - if ($randomize === true) { - $imageParts[] = Lorem::word(); - } - - $backgroundColor = $gray === true ? 'CCCCCC' : str_replace('#', '', Color::safeHexColor()); - - return sprintf( - '%s/%s/%s%s', - self::BASE_URL, - $size, - $backgroundColor, - count($imageParts) > 0 ? '?text=' . urlencode(implode(' ', $imageParts)) : '', - ); - } - - /** - * Download a remote random image to disk and return its location - * - * Requires curl, or allow_url_fopen to be on in php.ini. - * - * @example '/path/to/dir/13b73edae8443990be1aa8f1a483bc27.png' - * - * @return bool|string - */ - public static function image( - $dir = null, - $width = 640, - $height = 480, - $category = null, - $fullPath = true, - $randomize = true, - $word = null, - $gray = false, - $format = 'png' - ) { - trigger_deprecation( - 'fakerphp/faker', - '1.20', - 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', - ); - - $dir = null === $dir ? sys_get_temp_dir() : $dir; // GNU/Linux / OS X / Windows compatible - // Validate directory path - if (!is_dir($dir) || !is_writable($dir)) { - throw new \InvalidArgumentException(sprintf('Cannot write to directory "%s"', $dir)); - } - - // Generate a random filename. Use the server address so that a file - // generated at the same time on a different server won't have a collision. - $name = md5(uniqid(empty($_SERVER['SERVER_ADDR']) ? '' : $_SERVER['SERVER_ADDR'], true)); - $filename = sprintf('%s.%s', $name, $format); - $filepath = $dir . DIRECTORY_SEPARATOR . $filename; - - $url = static::imageUrl($width, $height, $category, $randomize, $word, $gray, $format); - - // save file - if (function_exists('curl_exec')) { - // use cURL - $fp = fopen($filepath, 'w'); - $ch = curl_init($url); - curl_setopt($ch, CURLOPT_FILE, $fp); - $success = curl_exec($ch) && curl_getinfo($ch, CURLINFO_HTTP_CODE) === 200; - fclose($fp); - curl_close($ch); - - if (!$success) { - unlink($filepath); - - // could not contact the distant URL or HTTP error - fail silently. - return false; - } - } elseif (ini_get('allow_url_fopen')) { - // use remote fopen() via copy() - $success = copy($url, $filepath); - - if (!$success) { - // could not contact the distant URL or HTTP error - fail silently. - return false; - } - } else { - return new \RuntimeException('The image formatter downloads an image from a remote HTTP server. Therefore, it requires that PHP can request remote hosts, either via cURL or fopen()'); - } - - return $fullPath ? $filepath : $filename; - } - - public static function getFormats(): array - { - trigger_deprecation( - 'fakerphp/faker', - '1.20', - 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', - ); - - return array_keys(static::getFormatConstants()); - } - - public static function getFormatConstants(): array - { - trigger_deprecation( - 'fakerphp/faker', - '1.20', - 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', - ); - - return [ - static::FORMAT_JPG => constant('IMAGETYPE_JPEG'), - static::FORMAT_JPEG => constant('IMAGETYPE_JPEG'), - static::FORMAT_PNG => constant('IMAGETYPE_PNG'), - ]; - } +class Image extends Base { + /** + * @var string + */ + public const BASE_URL = 'https://via.placeholder.com'; + + public const FORMAT_JPG = 'jpg'; + public const FORMAT_JPEG = 'jpeg'; + public const FORMAT_PNG = 'png'; + + /** + * @var array + * + * @deprecated Categories are no longer used as a list in the placeholder API but referenced as string instead + */ + protected static $categories = [ + 'abstract', + 'animals', + 'business', + 'cats', + 'city', + 'food', + 'nightlife', + 'fashion', + 'people', + 'nature', + 'sports', + 'technics', + 'transport', + ]; + + /** + * Generate the URL that will return a random image + * + * Set randomize to false to remove the random GET parameter at the end of the url. + * + * @param int $width + * @param int $height + * @param string|null $category + * @param bool $randomize + * @param string|null $word + * @param bool $gray + * @param string $format + * + * @return string + * @example 'http://via.placeholder.com/640x480.png/CCCCCC?text=well+hi+there' + * + */ + public static function imageUrl( + $width = 640, + $height = 480, + $category = null, + $randomize = true, + $word = null, + $gray = false, + $format = 'png' + ) { + trigger_deprecation( + 'fakerphp/faker', + '1.20', + 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', + ); + + // Validate image format + $imageFormats = static::getFormats(); + + if ( ! in_array( strtolower( $format ), $imageFormats, true ) ) { + throw new \InvalidArgumentException( sprintf( + 'Invalid image format "%s". Allowable formats are: %s', + $format, + implode( ', ', $imageFormats ), + ) ); + } + + $size = sprintf( '%dx%d.%s', $width, $height, $format ); + + $imageParts = []; + + if ( $category !== null ) { + $imageParts[] = $category; + } + + if ( $word !== null ) { + $imageParts[] = $word; + } + + if ( $randomize === true ) { + $imageParts[] = Lorem::word(); + } + + $backgroundColor = $gray === true ? 'CCCCCC' : str_replace( '#', '', Color::safeHexColor() ); + + return sprintf( + '%s/%s/%s%s', + self::BASE_URL, + $size, + $backgroundColor, + count( $imageParts ) > 0 ? '?text=' . urlencode( implode( ' ', $imageParts ) ) : '', + ); + } + + /** + * Download a remote random image to disk and return its location + * + * Requires curl, or allow_url_fopen to be on in php.ini. + * + * @return bool|string + * @example '/path/to/dir/13b73edae8443990be1aa8f1a483bc27.png' + * + */ + public static function image( + $dir = null, + $width = 640, + $height = 480, + $category = null, + $fullPath = true, + $randomize = true, + $word = null, + $gray = false, + $format = 'png' + ) { + trigger_deprecation( + 'fakerphp/faker', + '1.20', + 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', + ); + + $dir = null === $dir ? sys_get_temp_dir() : $dir; // GNU/Linux / OS X / Windows compatible + // Validate directory path + if ( ! is_dir( $dir ) || ! is_writable( $dir ) ) { + throw new \InvalidArgumentException( sprintf( 'Cannot write to directory "%s"', $dir ) ); + } + + // Generate a random filename. Use the server address so that a file + // generated at the same time on a different server won't have a collision. + $name = md5( uniqid( empty( $_SERVER['SERVER_ADDR'] ) ? '' : $_SERVER['SERVER_ADDR'], true ) ); + $filename = sprintf( '%s.%s', $name, $format ); + $filepath = $dir . DIRECTORY_SEPARATOR . $filename; + + $url = static::imageUrl( $width, $height, $category, $randomize, $word, $gray, $format ); + + // save file + if ( function_exists( 'curl_exec' ) ) { + // use cURL + $fp = fopen( $filepath, 'w' ); + $ch = curl_init( $url ); + curl_setopt( $ch, CURLOPT_FILE, $fp ); + $success = curl_exec( $ch ) && curl_getinfo( $ch, CURLINFO_HTTP_CODE ) === 200; + fclose( $fp ); + curl_close( $ch ); + + if ( ! $success ) { + unlink( $filepath ); + + // could not contact the distant URL or HTTP error - fail silently. + return false; + } + } elseif ( ini_get( 'allow_url_fopen' ) ) { + // use remote fopen() via copy() + $success = copy( $url, $filepath ); + + if ( ! $success ) { + // could not contact the distant URL or HTTP error - fail silently. + return false; + } + } else { + return new \RuntimeException( 'The image formatter downloads an image from a remote HTTP server. Therefore, it requires that PHP can request remote hosts, either via cURL or fopen()' ); + } + + return $fullPath ? $filepath : $filename; + } + + public static function getFormats(): array { + trigger_deprecation( + 'fakerphp/faker', + '1.20', + 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', + ); + + return array_keys( static::getFormatConstants() ); + } + + public static function getFormatConstants(): array { + trigger_deprecation( + 'fakerphp/faker', + '1.20', + 'Provider is deprecated and will no longer be available in Faker 2. Please use a custom provider instead', + ); + + return [ + static::FORMAT_JPG => constant( 'IMAGETYPE_JPEG' ), + static::FORMAT_JPEG => constant( 'IMAGETYPE_JPEG' ), + static::FORMAT_PNG => constant( 'IMAGETYPE_PNG' ), + ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/Internet.php index 122d9c0..c7f1149 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Internet.php @@ -2,406 +2,906 @@ namespace Faker\Provider; -class Internet extends Base -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com']; - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org']; - - protected static $userNameFormats = [ - '{{lastName}}.{{firstName}}', - '{{firstName}}.{{lastName}}', - '{{firstName}}##', - '?{{lastName}}', - ]; - protected static $emailFormats = [ - '{{userName}}@{{domainName}}', - '{{userName}}@{{freeEmailDomain}}', - ]; - protected static $urlFormats = [ - 'http://www.{{domainName}}/', - 'http://{{domainName}}/', - 'http://www.{{domainName}}/{{slug}}', - 'http://www.{{domainName}}/{{slug}}', - 'https://www.{{domainName}}/{{slug}}', - 'http://www.{{domainName}}/{{slug}}.html', - 'http://{{domainName}}/{{slug}}', - 'http://{{domainName}}/{{slug}}', - 'http://{{domainName}}/{{slug}}.html', - 'https://{{domainName}}/{{slug}}.html', - ]; - - /** - * @see https://tools.ietf.org/html/rfc1918#section-3 - */ - protected static $localIpBlocks = [ - ['10.0.0.0', '10.255.255.255'], - ['172.16.0.0', '172.31.255.255'], - ['192.168.0.0', '192.168.255.255'], - ]; - - /** - * @example 'jdoe@acme.biz' - * - * @return string - */ - public function email() - { - $format = static::randomElement(static::$emailFormats); - - return $this->generator->parse($format); - } - - /** - * @example 'jdoe@example.com' - * - * @return string - */ - final public function safeEmail() - { - return preg_replace('/\s/u', '', $this->userName() . '@' . static::safeEmailDomain()); - } - - /** - * @example 'jdoe@gmail.com' - * - * @return string - */ - public function freeEmail() - { - return preg_replace('/\s/u', '', $this->userName() . '@' . static::freeEmailDomain()); - } - - /** - * @example 'jdoe@dawson.com' - * - * @return string - */ - public function companyEmail() - { - return preg_replace('/\s/u', '', $this->userName() . '@' . $this->domainName()); - } - - /** - * @example 'gmail.com' - * - * @return string - */ - public static function freeEmailDomain() - { - return static::randomElement(static::$freeEmailDomain); - } - - /** - * @example 'example.org' - * - * @return string - */ - final public static function safeEmailDomain() - { - $domains = [ - 'example.com', - 'example.org', - 'example.net', - ]; - - return static::randomElement($domains); - } - - /** - * @example 'jdoe' - * - * @return string - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); - $username = static::bothify($this->generator->parse($format)); - - $username = strtolower(static::transliterate($username)); - - // check if transliterate() didn't support the language and removed all letters - if (trim($username, '._') === '') { - throw new \Exception('userName failed with the selected locale. Try a different locale or activate the "intl" PHP extension.'); - } - - // clean possible trailing dots from first/last names - $username = str_replace('..', '.', $username); - $username = rtrim($username, '.'); - - return $username; - } - - /** - * @example 'fY4èHdZv68' - * - * @return string - */ - public function password($minLength = 6, $maxLength = 20) - { - $pattern = str_repeat('*', $this->numberBetween($minLength, $maxLength)); - - return $this->asciify($pattern); - } - - /** - * @example 'tiramisu.com' - * - * @return string - */ - public function domainName() - { - return $this->domainWord() . '.' . $this->tld(); - } - - /** - * @example 'faber' - * - * @return string - */ - public function domainWord() - { - $lastName = $this->generator->format('lastName'); - - $lastName = strtolower(static::transliterate($lastName)); - - // check if transliterate() didn't support the language and removed all letters - if (trim($lastName, '._') === '') { - throw new \Exception('domainWord failed with the selected locale. Try a different locale or activate the "intl" PHP extension.'); - } - - // clean possible trailing dot from last name - $lastName = rtrim($lastName, '.'); - - return $lastName; - } - - /** - * @example 'com' - * - * @return string - */ - public function tld() - { - return static::randomElement(static::$tld); - } - - /** - * @example 'http://www.runolfsdottir.com/' - * - * @return string - */ - public function url() - { - $format = static::randomElement(static::$urlFormats); - - return $this->generator->parse($format); - } - - /** - * @example 'aut-repellat-commodi-vel-itaque-nihil-id-saepe-nostrum' - * - * @return string - */ - public function slug($nbWords = 6, $variableNbWords = true) - { - if ($nbWords <= 0) { - return ''; - } - - if ($variableNbWords) { - $nbWords = (int) ($nbWords * self::numberBetween(60, 140) / 100) + 1; - } - $words = $this->generator->words($nbWords); - - return implode('-', $words); - } - - /** - * @example '237.149.115.38' - * - * @return string - */ - public function ipv4() - { - return long2ip(Miscellaneous::boolean() ? self::numberBetween(-2147483648, -2) : self::numberBetween(16777216, 2147483647)); - } - - /** - * @example '35cd:186d:3e23:2986:ef9f:5b41:42a4:e6f1' - * - * @return string - */ - public function ipv6() - { - $res = []; - - for ($i = 0; $i < 8; ++$i) { - $res[] = dechex(self::numberBetween(0, 65535)); - } - - return implode(':', $res); - } - - /** - * @example '10.1.1.17' - * - * @return string - */ - public static function localIpv4() - { - $ipBlock = self::randomElement(static::$localIpBlocks); - - return long2ip(static::numberBetween(ip2long($ipBlock[0]), ip2long($ipBlock[1]))); - } - - /** - * @example '32:F1:39:2F:D6:18' - * - * @return string - */ - public static function macAddress() - { - $mac = []; - - for ($i = 0; $i < 6; ++$i) { - $mac[] = sprintf('%02X', self::numberBetween(0, 0xff)); - } - - return implode(':', $mac); - } - - protected static function transliterate($string) - { - if (0 === preg_match('/[^A-Za-z0-9_.]/', $string)) { - return $string; - } - - $transId = 'Any-Latin; Latin-ASCII; NFD; [:Nonspacing Mark:] Remove; NFC;'; - - if (class_exists(\Transliterator::class, false) && $transliterator = \Transliterator::create($transId)) { - $transString = $transliterator->transliterate($string); - } else { - $transString = static::toAscii($string); - } - - return preg_replace('/[^A-Za-z0-9_.]/u', '', $transString); - } - - protected static function toAscii($string) - { - static $arrayFrom, $arrayTo; - - if (empty($arrayFrom)) { - $transliterationTable = [ - 'IJ' => 'I', 'Ö' => 'O', 'Œ' => 'O', 'Ü' => 'U', 'ä' => 'a', 'æ' => 'a', - 'ij' => 'i', 'ö' => 'o', 'œ' => 'o', 'ü' => 'u', 'ß' => 's', 'ſ' => 's', - 'À' => 'A', 'Á' => 'A', 'Â' => 'A', 'Ã' => 'A', 'Ä' => 'A', 'Å' => 'A', - 'Æ' => 'A', 'Ā' => 'A', 'Ą' => 'A', 'Ă' => 'A', 'Ç' => 'C', 'Ć' => 'C', - 'Č' => 'C', 'Ĉ' => 'C', 'Ċ' => 'C', 'Ď' => 'D', 'Đ' => 'D', 'È' => 'E', - 'É' => 'E', 'Ê' => 'E', 'Ë' => 'E', 'Ē' => 'E', 'Ę' => 'E', 'Ě' => 'E', - 'Ĕ' => 'E', 'Ė' => 'E', 'Ĝ' => 'G', 'Ğ' => 'G', 'Ġ' => 'G', 'Ģ' => 'G', - 'Ĥ' => 'H', 'Ħ' => 'H', 'Ì' => 'I', 'Í' => 'I', 'Î' => 'I', 'Ï' => 'I', - 'Ī' => 'I', 'Ĩ' => 'I', 'Ĭ' => 'I', 'Į' => 'I', 'İ' => 'I', 'Ĵ' => 'J', - 'Ķ' => 'K', 'Ľ' => 'K', 'Ĺ' => 'K', 'Ļ' => 'K', 'Ŀ' => 'K', 'Ł' => 'L', - 'Ñ' => 'N', 'Ń' => 'N', 'Ň' => 'N', 'Ņ' => 'N', 'Ŋ' => 'N', 'Ò' => 'O', - 'Ó' => 'O', 'Ô' => 'O', 'Õ' => 'O', 'Ø' => 'O', 'Ō' => 'O', 'Ő' => 'O', - 'Ŏ' => 'O', 'Ŕ' => 'R', 'Ř' => 'R', 'Ŗ' => 'R', 'Ś' => 'S', 'Ş' => 'S', - 'Ŝ' => 'S', 'Ș' => 'S', 'Š' => 'S', 'Ť' => 'T', 'Ţ' => 'T', 'Ŧ' => 'T', - 'Ț' => 'T', 'Ù' => 'U', 'Ú' => 'U', 'Û' => 'U', 'Ū' => 'U', 'Ů' => 'U', - 'Ű' => 'U', 'Ŭ' => 'U', 'Ũ' => 'U', 'Ų' => 'U', 'Ŵ' => 'W', 'Ŷ' => 'Y', - 'Ÿ' => 'Y', 'Ý' => 'Y', 'Ź' => 'Z', 'Ż' => 'Z', 'Ž' => 'Z', 'à' => 'a', - 'á' => 'a', 'â' => 'a', 'ã' => 'a', 'ā' => 'a', 'ą' => 'a', 'ă' => 'a', - 'å' => 'a', 'ç' => 'c', 'ć' => 'c', 'č' => 'c', 'ĉ' => 'c', 'ċ' => 'c', - 'ď' => 'd', 'đ' => 'd', 'è' => 'e', 'é' => 'e', 'ê' => 'e', 'ë' => 'e', - 'ē' => 'e', 'ę' => 'e', 'ě' => 'e', 'ĕ' => 'e', 'ė' => 'e', 'ƒ' => 'f', - 'ĝ' => 'g', 'ğ' => 'g', 'ġ' => 'g', 'ģ' => 'g', 'ĥ' => 'h', 'ħ' => 'h', - 'ì' => 'i', 'í' => 'i', 'î' => 'i', 'ï' => 'i', 'ī' => 'i', 'ĩ' => 'i', - 'ĭ' => 'i', 'į' => 'i', 'ı' => 'i', 'ĵ' => 'j', 'ķ' => 'k', 'ĸ' => 'k', - 'ł' => 'l', 'ľ' => 'l', 'ĺ' => 'l', 'ļ' => 'l', 'ŀ' => 'l', 'ñ' => 'n', - 'ń' => 'n', 'ň' => 'n', 'ņ' => 'n', 'ʼn' => 'n', 'ŋ' => 'n', 'ò' => 'o', - 'ó' => 'o', 'ô' => 'o', 'õ' => 'o', 'ø' => 'o', 'ō' => 'o', 'ő' => 'o', - 'ŏ' => 'o', 'ŕ' => 'r', 'ř' => 'r', 'ŗ' => 'r', 'ś' => 's', 'š' => 's', - 'ť' => 't', 'ù' => 'u', 'ú' => 'u', 'û' => 'u', 'ū' => 'u', 'ů' => 'u', - 'ű' => 'u', 'ŭ' => 'u', 'ũ' => 'u', 'ų' => 'u', 'ŵ' => 'w', 'ÿ' => 'y', - 'ý' => 'y', 'ŷ' => 'y', 'ż' => 'z', 'ź' => 'z', 'ž' => 'z', 'Α' => 'A', - 'Ά' => 'A', 'Ἀ' => 'A', 'Ἁ' => 'A', 'Ἂ' => 'A', 'Ἃ' => 'A', 'Ἄ' => 'A', - 'Ἅ' => 'A', 'Ἆ' => 'A', 'Ἇ' => 'A', 'ᾈ' => 'A', 'ᾉ' => 'A', 'ᾊ' => 'A', - 'ᾋ' => 'A', 'ᾌ' => 'A', 'ᾍ' => 'A', 'ᾎ' => 'A', 'ᾏ' => 'A', 'Ᾰ' => 'A', - 'Ᾱ' => 'A', 'Ὰ' => 'A', 'ᾼ' => 'A', 'Β' => 'B', 'Γ' => 'G', 'Δ' => 'D', - 'Ε' => 'E', 'Έ' => 'E', 'Ἐ' => 'E', 'Ἑ' => 'E', 'Ἒ' => 'E', 'Ἓ' => 'E', - 'Ἔ' => 'E', 'Ἕ' => 'E', 'Ὲ' => 'E', 'Ζ' => 'Z', 'Η' => 'I', 'Ή' => 'I', - 'Ἠ' => 'I', 'Ἡ' => 'I', 'Ἢ' => 'I', 'Ἣ' => 'I', 'Ἤ' => 'I', 'Ἥ' => 'I', - 'Ἦ' => 'I', 'Ἧ' => 'I', 'ᾘ' => 'I', 'ᾙ' => 'I', 'ᾚ' => 'I', 'ᾛ' => 'I', - 'ᾜ' => 'I', 'ᾝ' => 'I', 'ᾞ' => 'I', 'ᾟ' => 'I', 'Ὴ' => 'I', 'ῌ' => 'I', - 'Θ' => 'T', 'Ι' => 'I', 'Ί' => 'I', 'Ϊ' => 'I', 'Ἰ' => 'I', 'Ἱ' => 'I', - 'Ἲ' => 'I', 'Ἳ' => 'I', 'Ἴ' => 'I', 'Ἵ' => 'I', 'Ἶ' => 'I', 'Ἷ' => 'I', - 'Ῐ' => 'I', 'Ῑ' => 'I', 'Ὶ' => 'I', 'Κ' => 'K', 'Λ' => 'L', 'Μ' => 'M', - 'Ν' => 'N', 'Ξ' => 'K', 'Ο' => 'O', 'Ό' => 'O', 'Ὀ' => 'O', 'Ὁ' => 'O', - 'Ὂ' => 'O', 'Ὃ' => 'O', 'Ὄ' => 'O', 'Ὅ' => 'O', 'Ὸ' => 'O', 'Π' => 'P', - 'Ρ' => 'R', 'Ῥ' => 'R', 'Σ' => 'S', 'Τ' => 'T', 'Υ' => 'Y', 'Ύ' => 'Y', - 'Ϋ' => 'Y', 'Ὑ' => 'Y', 'Ὓ' => 'Y', 'Ὕ' => 'Y', 'Ὗ' => 'Y', 'Ῠ' => 'Y', - 'Ῡ' => 'Y', 'Ὺ' => 'Y', 'Φ' => 'F', 'Χ' => 'X', 'Ψ' => 'P', 'Ω' => 'O', - 'Ώ' => 'O', 'Ὠ' => 'O', 'Ὡ' => 'O', 'Ὢ' => 'O', 'Ὣ' => 'O', 'Ὤ' => 'O', - 'Ὥ' => 'O', 'Ὦ' => 'O', 'Ὧ' => 'O', 'ᾨ' => 'O', 'ᾩ' => 'O', 'ᾪ' => 'O', - 'ᾫ' => 'O', 'ᾬ' => 'O', 'ᾭ' => 'O', 'ᾮ' => 'O', 'ᾯ' => 'O', 'Ὼ' => 'O', - 'ῼ' => 'O', 'α' => 'a', 'ά' => 'a', 'ἀ' => 'a', 'ἁ' => 'a', 'ἂ' => 'a', - 'ἃ' => 'a', 'ἄ' => 'a', 'ἅ' => 'a', 'ἆ' => 'a', 'ἇ' => 'a', 'ᾀ' => 'a', - 'ᾁ' => 'a', 'ᾂ' => 'a', 'ᾃ' => 'a', 'ᾄ' => 'a', 'ᾅ' => 'a', 'ᾆ' => 'a', - 'ᾇ' => 'a', 'ὰ' => 'a', 'ᾰ' => 'a', 'ᾱ' => 'a', 'ᾲ' => 'a', 'ᾳ' => 'a', - 'ᾴ' => 'a', 'ᾶ' => 'a', 'ᾷ' => 'a', 'β' => 'b', 'γ' => 'g', 'δ' => 'd', - 'ε' => 'e', 'έ' => 'e', 'ἐ' => 'e', 'ἑ' => 'e', 'ἒ' => 'e', 'ἓ' => 'e', - 'ἔ' => 'e', 'ἕ' => 'e', 'ὲ' => 'e', 'ζ' => 'z', 'η' => 'i', 'ή' => 'i', - 'ἠ' => 'i', 'ἡ' => 'i', 'ἢ' => 'i', 'ἣ' => 'i', 'ἤ' => 'i', 'ἥ' => 'i', - 'ἦ' => 'i', 'ἧ' => 'i', 'ᾐ' => 'i', 'ᾑ' => 'i', 'ᾒ' => 'i', 'ᾓ' => 'i', - 'ᾔ' => 'i', 'ᾕ' => 'i', 'ᾖ' => 'i', 'ᾗ' => 'i', 'ὴ' => 'i', 'ῂ' => 'i', - 'ῃ' => 'i', 'ῄ' => 'i', 'ῆ' => 'i', 'ῇ' => 'i', 'θ' => 't', 'ι' => 'i', - 'ί' => 'i', 'ϊ' => 'i', 'ΐ' => 'i', 'ἰ' => 'i', 'ἱ' => 'i', 'ἲ' => 'i', - 'ἳ' => 'i', 'ἴ' => 'i', 'ἵ' => 'i', 'ἶ' => 'i', 'ἷ' => 'i', 'ὶ' => 'i', - 'ῐ' => 'i', 'ῑ' => 'i', 'ῒ' => 'i', 'ῖ' => 'i', 'ῗ' => 'i', 'κ' => 'k', - 'λ' => 'l', 'μ' => 'm', 'ν' => 'n', 'ξ' => 'k', 'ο' => 'o', 'ό' => 'o', - 'ὀ' => 'o', 'ὁ' => 'o', 'ὂ' => 'o', 'ὃ' => 'o', 'ὄ' => 'o', 'ὅ' => 'o', - 'ὸ' => 'o', 'π' => 'p', 'ρ' => 'r', 'ῤ' => 'r', 'ῥ' => 'r', 'σ' => 's', - 'ς' => 's', 'τ' => 't', 'υ' => 'y', 'ύ' => 'y', 'ϋ' => 'y', 'ΰ' => 'y', - 'ὐ' => 'y', 'ὑ' => 'y', 'ὒ' => 'y', 'ὓ' => 'y', 'ὔ' => 'y', 'ὕ' => 'y', - 'ὖ' => 'y', 'ὗ' => 'y', 'ὺ' => 'y', 'ῠ' => 'y', 'ῡ' => 'y', 'ῢ' => 'y', - 'ῦ' => 'y', 'ῧ' => 'y', 'φ' => 'f', 'χ' => 'x', 'ψ' => 'p', 'ω' => 'o', - 'ώ' => 'o', 'ὠ' => 'o', 'ὡ' => 'o', 'ὢ' => 'o', 'ὣ' => 'o', 'ὤ' => 'o', - 'ὥ' => 'o', 'ὦ' => 'o', 'ὧ' => 'o', 'ᾠ' => 'o', 'ᾡ' => 'o', 'ᾢ' => 'o', - 'ᾣ' => 'o', 'ᾤ' => 'o', 'ᾥ' => 'o', 'ᾦ' => 'o', 'ᾧ' => 'o', 'ὼ' => 'o', - 'ῲ' => 'o', 'ῳ' => 'o', 'ῴ' => 'o', 'ῶ' => 'o', 'ῷ' => 'o', 'А' => 'A', - 'Б' => 'B', 'В' => 'V', 'Г' => 'G', 'Д' => 'D', 'Е' => 'E', 'Ё' => 'E', - 'Ж' => 'Z', 'З' => 'Z', 'И' => 'I', 'Й' => 'I', 'К' => 'K', 'Л' => 'L', - 'М' => 'M', 'Н' => 'N', 'О' => 'O', 'П' => 'P', 'Р' => 'R', 'С' => 'S', - 'Т' => 'T', 'У' => 'U', 'Ф' => 'F', 'Х' => 'K', 'Ц' => 'T', 'Ч' => 'C', - 'Ш' => 'S', 'Щ' => 'S', 'Ы' => 'Y', 'Э' => 'E', 'Ю' => 'Y', 'Я' => 'Y', - 'а' => 'A', 'б' => 'B', 'в' => 'V', 'г' => 'G', 'д' => 'D', 'е' => 'E', - 'ё' => 'E', 'ж' => 'Z', 'з' => 'Z', 'и' => 'I', 'й' => 'I', 'к' => 'K', - 'л' => 'L', 'м' => 'M', 'н' => 'N', 'о' => 'O', 'п' => 'P', 'р' => 'R', - 'с' => 'S', 'т' => 'T', 'у' => 'U', 'ф' => 'F', 'х' => 'K', 'ц' => 'T', - 'ч' => 'C', 'ш' => 'S', 'щ' => 'S', 'ы' => 'Y', 'э' => 'E', 'ю' => 'Y', - 'я' => 'Y', 'ð' => 'd', 'Ð' => 'D', 'þ' => 't', 'Þ' => 'T', 'ა' => 'a', - 'ბ' => 'b', 'გ' => 'g', 'დ' => 'd', 'ე' => 'e', 'ვ' => 'v', 'ზ' => 'z', - 'თ' => 't', 'ი' => 'i', 'კ' => 'k', 'ლ' => 'l', 'მ' => 'm', 'ნ' => 'n', - 'ო' => 'o', 'პ' => 'p', 'ჟ' => 'z', 'რ' => 'r', 'ს' => 's', 'ტ' => 't', - 'უ' => 'u', 'ფ' => 'p', 'ქ' => 'k', 'ღ' => 'g', 'ყ' => 'q', 'შ' => 's', - 'ჩ' => 'c', 'ც' => 't', 'ძ' => 'd', 'წ' => 't', 'ჭ' => 'c', 'ხ' => 'k', - 'ჯ' => 'j', 'ჰ' => 'h', 'ţ' => 't', 'ʼ' => "'", '̧' => '', 'ḩ' => 'h', - '‘' => "'", '’' => "'", 'ừ' => 'u', '/' => '', 'ế' => 'e', 'ả' => 'a', - 'ị' => 'i', 'ậ' => 'a', 'ệ' => 'e', 'ỉ' => 'i', 'ồ' => 'o', 'ề' => 'e', - 'ơ' => 'o', 'ạ' => 'a', 'ẵ' => 'a', 'ư' => 'u', 'ằ' => 'a', 'ầ' => 'a', - 'ḑ' => 'd', 'Ḩ' => 'H', 'Ḑ' => 'D', 'ș' => 's', 'ț' => 't', 'ộ' => 'o', - 'ắ' => 'a', 'ş' => 's', "'" => '', 'ու' => 'u', 'ա' => 'a', 'բ' => 'b', - 'գ' => 'g', 'դ' => 'd', 'ե' => 'e', 'զ' => 'z', 'է' => 'e', 'ը' => 'y', - 'թ' => 't', 'ժ' => 'zh', 'ի' => 'i', 'լ' => 'l', 'խ' => 'kh', 'ծ' => 'ts', - 'կ' => 'k', 'հ' => 'h', 'ձ' => 'dz', 'ղ' => 'gh', 'ճ' => 'ch', 'մ' => 'm', - 'յ' => 'y', 'ն' => 'n', 'շ' => 'sh', 'ո' => 'o', 'չ' => 'ch', 'պ' => 'p', - 'ջ' => 'j', 'ռ' => 'r', 'ս' => 's', 'վ' => 'v', 'տ' => 't', 'ր' => 'r', - 'ց' => 'ts', 'փ' => 'p', 'ք' => 'q', 'և' => 'ev', 'օ' => 'o', 'ֆ' => 'f', - ]; - $arrayFrom = array_keys($transliterationTable); - $arrayTo = array_values($transliterationTable); - } - - return str_replace($arrayFrom, $arrayTo, $string); - } +class Internet extends Base { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com' ]; + protected static $tld = [ 'com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org' ]; + + protected static $userNameFormats = [ + '{{lastName}}.{{firstName}}', + '{{firstName}}.{{lastName}}', + '{{firstName}}##', + '?{{lastName}}', + ]; + protected static $emailFormats = [ + '{{userName}}@{{domainName}}', + '{{userName}}@{{freeEmailDomain}}', + ]; + protected static $urlFormats = [ + 'http://www.{{domainName}}/', + 'http://{{domainName}}/', + 'http://www.{{domainName}}/{{slug}}', + 'http://www.{{domainName}}/{{slug}}', + 'https://www.{{domainName}}/{{slug}}', + 'http://www.{{domainName}}/{{slug}}.html', + 'http://{{domainName}}/{{slug}}', + 'http://{{domainName}}/{{slug}}', + 'http://{{domainName}}/{{slug}}.html', + 'https://{{domainName}}/{{slug}}.html', + ]; + + /** + * @see https://tools.ietf.org/html/rfc1918#section-3 + */ + protected static $localIpBlocks = [ + [ '10.0.0.0', '10.255.255.255' ], + [ '172.16.0.0', '172.31.255.255' ], + [ '192.168.0.0', '192.168.255.255' ], + ]; + + /** + * @return string + * @example 'jdoe@acme.biz' + * + */ + public function email() { + $format = static::randomElement( static::$emailFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 'jdoe@example.com' + * + */ + final public function safeEmail() { + return preg_replace( '/\s/u', '', $this->userName() . '@' . static::safeEmailDomain() ); + } + + /** + * @return string + * @example 'jdoe@gmail.com' + * + */ + public function freeEmail() { + return preg_replace( '/\s/u', '', $this->userName() . '@' . static::freeEmailDomain() ); + } + + /** + * @return string + * @example 'jdoe@dawson.com' + * + */ + public function companyEmail() { + return preg_replace( '/\s/u', '', $this->userName() . '@' . $this->domainName() ); + } + + /** + * @return string + * @example 'gmail.com' + * + */ + public static function freeEmailDomain() { + return static::randomElement( static::$freeEmailDomain ); + } + + /** + * @return string + * @example 'example.org' + * + */ + final public static function safeEmailDomain() { + $domains = [ + 'example.com', + 'example.org', + 'example.net', + ]; + + return static::randomElement( $domains ); + } + + /** + * @return string + * @example 'jdoe' + * + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); + $username = static::bothify( $this->generator->parse( $format ) ); + + $username = strtolower( static::transliterate( $username ) ); + + // check if transliterate() didn't support the language and removed all letters + if ( trim( $username, '._' ) === '' ) { + throw new \Exception( 'userName failed with the selected locale. Try a different locale or activate the "intl" PHP extension.' ); + } + + // clean possible trailing dots from first/last names + $username = str_replace( '..', '.', $username ); + $username = rtrim( $username, '.' ); + + return $username; + } + + /** + * @return string + * @example 'fY4èHdZv68' + * + */ + public function password( $minLength = 6, $maxLength = 20 ) { + $pattern = str_repeat( '*', $this->numberBetween( $minLength, $maxLength ) ); + + return $this->asciify( $pattern ); + } + + /** + * @return string + * @example 'tiramisu.com' + * + */ + public function domainName() { + return $this->domainWord() . '.' . $this->tld(); + } + + /** + * @return string + * @example 'faber' + * + */ + public function domainWord() { + $lastName = $this->generator->format( 'lastName' ); + + $lastName = strtolower( static::transliterate( $lastName ) ); + + // check if transliterate() didn't support the language and removed all letters + if ( trim( $lastName, '._' ) === '' ) { + throw new \Exception( 'domainWord failed with the selected locale. Try a different locale or activate the "intl" PHP extension.' ); + } + + // clean possible trailing dot from last name + $lastName = rtrim( $lastName, '.' ); + + return $lastName; + } + + /** + * @return string + * @example 'com' + * + */ + public function tld() { + return static::randomElement( static::$tld ); + } + + /** + * @return string + * @example 'http://www.runolfsdottir.com/' + * + */ + public function url() { + $format = static::randomElement( static::$urlFormats ); + + return $this->generator->parse( $format ); + } + + /** + * @return string + * @example 'aut-repellat-commodi-vel-itaque-nihil-id-saepe-nostrum' + * + */ + public function slug( $nbWords = 6, $variableNbWords = true ) { + if ( $nbWords <= 0 ) { + return ''; + } + + if ( $variableNbWords ) { + $nbWords = (int) ( $nbWords * self::numberBetween( 60, 140 ) / 100 ) + 1; + } + $words = $this->generator->words( $nbWords ); + + return implode( '-', $words ); + } + + /** + * @return string + * @example '237.149.115.38' + * + */ + public function ipv4() { + return long2ip( Miscellaneous::boolean() ? self::numberBetween( - 2147483648, - 2 ) : self::numberBetween( 16777216, 2147483647 ) ); + } + + /** + * @return string + * @example '35cd:186d:3e23:2986:ef9f:5b41:42a4:e6f1' + * + */ + public function ipv6() { + $res = []; + + for ( $i = 0; $i < 8; ++ $i ) { + $res[] = dechex( self::numberBetween( 0, 65535 ) ); + } + + return implode( ':', $res ); + } + + /** + * @return string + * @example '10.1.1.17' + * + */ + public static function localIpv4() { + $ipBlock = self::randomElement( static::$localIpBlocks ); + + return long2ip( static::numberBetween( ip2long( $ipBlock[0] ), ip2long( $ipBlock[1] ) ) ); + } + + /** + * @return string + * @example '32:F1:39:2F:D6:18' + * + */ + public static function macAddress() { + $mac = []; + + for ( $i = 0; $i < 6; ++ $i ) { + $mac[] = sprintf( '%02X', self::numberBetween( 0, 0xff ) ); + } + + return implode( ':', $mac ); + } + + protected static function transliterate( $string ) { + if ( 0 === preg_match( '/[^A-Za-z0-9_.]/', $string ) ) { + return $string; + } + + $transId = 'Any-Latin; Latin-ASCII; NFD; [:Nonspacing Mark:] Remove; NFC;'; + + if ( class_exists( \Transliterator::class, false ) && $transliterator = \Transliterator::create( $transId ) ) { + $transString = $transliterator->transliterate( $string ); + } else { + $transString = static::toAscii( $string ); + } + + return preg_replace( '/[^A-Za-z0-9_.]/u', '', $transString ); + } + + protected static function toAscii( $string ) { + static $arrayFrom, $arrayTo; + + if ( empty( $arrayFrom ) ) { + $transliterationTable = [ + 'IJ' => 'I', + 'Ö' => 'O', + 'Œ' => 'O', + 'Ü' => 'U', + 'ä' => 'a', + 'æ' => 'a', + 'ij' => 'i', + 'ö' => 'o', + 'œ' => 'o', + 'ü' => 'u', + 'ß' => 's', + 'ſ' => 's', + 'À' => 'A', + 'Á' => 'A', + 'Â' => 'A', + 'Ã' => 'A', + 'Ä' => 'A', + 'Å' => 'A', + 'Æ' => 'A', + 'Ā' => 'A', + 'Ą' => 'A', + 'Ă' => 'A', + 'Ç' => 'C', + 'Ć' => 'C', + 'Č' => 'C', + 'Ĉ' => 'C', + 'Ċ' => 'C', + 'Ď' => 'D', + 'Đ' => 'D', + 'È' => 'E', + 'É' => 'E', + 'Ê' => 'E', + 'Ë' => 'E', + 'Ē' => 'E', + 'Ę' => 'E', + 'Ě' => 'E', + 'Ĕ' => 'E', + 'Ė' => 'E', + 'Ĝ' => 'G', + 'Ğ' => 'G', + 'Ġ' => 'G', + 'Ģ' => 'G', + 'Ĥ' => 'H', + 'Ħ' => 'H', + 'Ì' => 'I', + 'Í' => 'I', + 'Î' => 'I', + 'Ï' => 'I', + 'Ī' => 'I', + 'Ĩ' => 'I', + 'Ĭ' => 'I', + 'Į' => 'I', + 'İ' => 'I', + 'Ĵ' => 'J', + 'Ķ' => 'K', + 'Ľ' => 'K', + 'Ĺ' => 'K', + 'Ļ' => 'K', + 'Ŀ' => 'K', + 'Ł' => 'L', + 'Ñ' => 'N', + 'Ń' => 'N', + 'Ň' => 'N', + 'Ņ' => 'N', + 'Ŋ' => 'N', + 'Ò' => 'O', + 'Ó' => 'O', + 'Ô' => 'O', + 'Õ' => 'O', + 'Ø' => 'O', + 'Ō' => 'O', + 'Ő' => 'O', + 'Ŏ' => 'O', + 'Ŕ' => 'R', + 'Ř' => 'R', + 'Ŗ' => 'R', + 'Ś' => 'S', + 'Ş' => 'S', + 'Ŝ' => 'S', + 'Ș' => 'S', + 'Š' => 'S', + 'Ť' => 'T', + 'Ţ' => 'T', + 'Ŧ' => 'T', + 'Ț' => 'T', + 'Ù' => 'U', + 'Ú' => 'U', + 'Û' => 'U', + 'Ū' => 'U', + 'Ů' => 'U', + 'Ű' => 'U', + 'Ŭ' => 'U', + 'Ũ' => 'U', + 'Ų' => 'U', + 'Ŵ' => 'W', + 'Ŷ' => 'Y', + 'Ÿ' => 'Y', + 'Ý' => 'Y', + 'Ź' => 'Z', + 'Ż' => 'Z', + 'Ž' => 'Z', + 'à' => 'a', + 'á' => 'a', + 'â' => 'a', + 'ã' => 'a', + 'ā' => 'a', + 'ą' => 'a', + 'ă' => 'a', + 'å' => 'a', + 'ç' => 'c', + 'ć' => 'c', + 'č' => 'c', + 'ĉ' => 'c', + 'ċ' => 'c', + 'ď' => 'd', + 'đ' => 'd', + 'è' => 'e', + 'é' => 'e', + 'ê' => 'e', + 'ë' => 'e', + 'ē' => 'e', + 'ę' => 'e', + 'ě' => 'e', + 'ĕ' => 'e', + 'ė' => 'e', + 'ƒ' => 'f', + 'ĝ' => 'g', + 'ğ' => 'g', + 'ġ' => 'g', + 'ģ' => 'g', + 'ĥ' => 'h', + 'ħ' => 'h', + 'ì' => 'i', + 'í' => 'i', + 'î' => 'i', + 'ï' => 'i', + 'ī' => 'i', + 'ĩ' => 'i', + 'ĭ' => 'i', + 'į' => 'i', + 'ı' => 'i', + 'ĵ' => 'j', + 'ķ' => 'k', + 'ĸ' => 'k', + 'ł' => 'l', + 'ľ' => 'l', + 'ĺ' => 'l', + 'ļ' => 'l', + 'ŀ' => 'l', + 'ñ' => 'n', + 'ń' => 'n', + 'ň' => 'n', + 'ņ' => 'n', + 'ʼn' => 'n', + 'ŋ' => 'n', + 'ò' => 'o', + 'ó' => 'o', + 'ô' => 'o', + 'õ' => 'o', + 'ø' => 'o', + 'ō' => 'o', + 'ő' => 'o', + 'ŏ' => 'o', + 'ŕ' => 'r', + 'ř' => 'r', + 'ŗ' => 'r', + 'ś' => 's', + 'š' => 's', + 'ť' => 't', + 'ù' => 'u', + 'ú' => 'u', + 'û' => 'u', + 'ū' => 'u', + 'ů' => 'u', + 'ű' => 'u', + 'ŭ' => 'u', + 'ũ' => 'u', + 'ų' => 'u', + 'ŵ' => 'w', + 'ÿ' => 'y', + 'ý' => 'y', + 'ŷ' => 'y', + 'ż' => 'z', + 'ź' => 'z', + 'ž' => 'z', + 'Α' => 'A', + 'Ά' => 'A', + 'Ἀ' => 'A', + 'Ἁ' => 'A', + 'Ἂ' => 'A', + 'Ἃ' => 'A', + 'Ἄ' => 'A', + 'Ἅ' => 'A', + 'Ἆ' => 'A', + 'Ἇ' => 'A', + 'ᾈ' => 'A', + 'ᾉ' => 'A', + 'ᾊ' => 'A', + 'ᾋ' => 'A', + 'ᾌ' => 'A', + 'ᾍ' => 'A', + 'ᾎ' => 'A', + 'ᾏ' => 'A', + 'Ᾰ' => 'A', + 'Ᾱ' => 'A', + 'Ὰ' => 'A', + 'ᾼ' => 'A', + 'Β' => 'B', + 'Γ' => 'G', + 'Δ' => 'D', + 'Ε' => 'E', + 'Έ' => 'E', + 'Ἐ' => 'E', + 'Ἑ' => 'E', + 'Ἒ' => 'E', + 'Ἓ' => 'E', + 'Ἔ' => 'E', + 'Ἕ' => 'E', + 'Ὲ' => 'E', + 'Ζ' => 'Z', + 'Η' => 'I', + 'Ή' => 'I', + 'Ἠ' => 'I', + 'Ἡ' => 'I', + 'Ἢ' => 'I', + 'Ἣ' => 'I', + 'Ἤ' => 'I', + 'Ἥ' => 'I', + 'Ἦ' => 'I', + 'Ἧ' => 'I', + 'ᾘ' => 'I', + 'ᾙ' => 'I', + 'ᾚ' => 'I', + 'ᾛ' => 'I', + 'ᾜ' => 'I', + 'ᾝ' => 'I', + 'ᾞ' => 'I', + 'ᾟ' => 'I', + 'Ὴ' => 'I', + 'ῌ' => 'I', + 'Θ' => 'T', + 'Ι' => 'I', + 'Ί' => 'I', + 'Ϊ' => 'I', + 'Ἰ' => 'I', + 'Ἱ' => 'I', + 'Ἲ' => 'I', + 'Ἳ' => 'I', + 'Ἴ' => 'I', + 'Ἵ' => 'I', + 'Ἶ' => 'I', + 'Ἷ' => 'I', + 'Ῐ' => 'I', + 'Ῑ' => 'I', + 'Ὶ' => 'I', + 'Κ' => 'K', + 'Λ' => 'L', + 'Μ' => 'M', + 'Ν' => 'N', + 'Ξ' => 'K', + 'Ο' => 'O', + 'Ό' => 'O', + 'Ὀ' => 'O', + 'Ὁ' => 'O', + 'Ὂ' => 'O', + 'Ὃ' => 'O', + 'Ὄ' => 'O', + 'Ὅ' => 'O', + 'Ὸ' => 'O', + 'Π' => 'P', + 'Ρ' => 'R', + 'Ῥ' => 'R', + 'Σ' => 'S', + 'Τ' => 'T', + 'Υ' => 'Y', + 'Ύ' => 'Y', + 'Ϋ' => 'Y', + 'Ὑ' => 'Y', + 'Ὓ' => 'Y', + 'Ὕ' => 'Y', + 'Ὗ' => 'Y', + 'Ῠ' => 'Y', + 'Ῡ' => 'Y', + 'Ὺ' => 'Y', + 'Φ' => 'F', + 'Χ' => 'X', + 'Ψ' => 'P', + 'Ω' => 'O', + 'Ώ' => 'O', + 'Ὠ' => 'O', + 'Ὡ' => 'O', + 'Ὢ' => 'O', + 'Ὣ' => 'O', + 'Ὤ' => 'O', + 'Ὥ' => 'O', + 'Ὦ' => 'O', + 'Ὧ' => 'O', + 'ᾨ' => 'O', + 'ᾩ' => 'O', + 'ᾪ' => 'O', + 'ᾫ' => 'O', + 'ᾬ' => 'O', + 'ᾭ' => 'O', + 'ᾮ' => 'O', + 'ᾯ' => 'O', + 'Ὼ' => 'O', + 'ῼ' => 'O', + 'α' => 'a', + 'ά' => 'a', + 'ἀ' => 'a', + 'ἁ' => 'a', + 'ἂ' => 'a', + 'ἃ' => 'a', + 'ἄ' => 'a', + 'ἅ' => 'a', + 'ἆ' => 'a', + 'ἇ' => 'a', + 'ᾀ' => 'a', + 'ᾁ' => 'a', + 'ᾂ' => 'a', + 'ᾃ' => 'a', + 'ᾄ' => 'a', + 'ᾅ' => 'a', + 'ᾆ' => 'a', + 'ᾇ' => 'a', + 'ὰ' => 'a', + 'ᾰ' => 'a', + 'ᾱ' => 'a', + 'ᾲ' => 'a', + 'ᾳ' => 'a', + 'ᾴ' => 'a', + 'ᾶ' => 'a', + 'ᾷ' => 'a', + 'β' => 'b', + 'γ' => 'g', + 'δ' => 'd', + 'ε' => 'e', + 'έ' => 'e', + 'ἐ' => 'e', + 'ἑ' => 'e', + 'ἒ' => 'e', + 'ἓ' => 'e', + 'ἔ' => 'e', + 'ἕ' => 'e', + 'ὲ' => 'e', + 'ζ' => 'z', + 'η' => 'i', + 'ή' => 'i', + 'ἠ' => 'i', + 'ἡ' => 'i', + 'ἢ' => 'i', + 'ἣ' => 'i', + 'ἤ' => 'i', + 'ἥ' => 'i', + 'ἦ' => 'i', + 'ἧ' => 'i', + 'ᾐ' => 'i', + 'ᾑ' => 'i', + 'ᾒ' => 'i', + 'ᾓ' => 'i', + 'ᾔ' => 'i', + 'ᾕ' => 'i', + 'ᾖ' => 'i', + 'ᾗ' => 'i', + 'ὴ' => 'i', + 'ῂ' => 'i', + 'ῃ' => 'i', + 'ῄ' => 'i', + 'ῆ' => 'i', + 'ῇ' => 'i', + 'θ' => 't', + 'ι' => 'i', + 'ί' => 'i', + 'ϊ' => 'i', + 'ΐ' => 'i', + 'ἰ' => 'i', + 'ἱ' => 'i', + 'ἲ' => 'i', + 'ἳ' => 'i', + 'ἴ' => 'i', + 'ἵ' => 'i', + 'ἶ' => 'i', + 'ἷ' => 'i', + 'ὶ' => 'i', + 'ῐ' => 'i', + 'ῑ' => 'i', + 'ῒ' => 'i', + 'ῖ' => 'i', + 'ῗ' => 'i', + 'κ' => 'k', + 'λ' => 'l', + 'μ' => 'm', + 'ν' => 'n', + 'ξ' => 'k', + 'ο' => 'o', + 'ό' => 'o', + 'ὀ' => 'o', + 'ὁ' => 'o', + 'ὂ' => 'o', + 'ὃ' => 'o', + 'ὄ' => 'o', + 'ὅ' => 'o', + 'ὸ' => 'o', + 'π' => 'p', + 'ρ' => 'r', + 'ῤ' => 'r', + 'ῥ' => 'r', + 'σ' => 's', + 'ς' => 's', + 'τ' => 't', + 'υ' => 'y', + 'ύ' => 'y', + 'ϋ' => 'y', + 'ΰ' => 'y', + 'ὐ' => 'y', + 'ὑ' => 'y', + 'ὒ' => 'y', + 'ὓ' => 'y', + 'ὔ' => 'y', + 'ὕ' => 'y', + 'ὖ' => 'y', + 'ὗ' => 'y', + 'ὺ' => 'y', + 'ῠ' => 'y', + 'ῡ' => 'y', + 'ῢ' => 'y', + 'ῦ' => 'y', + 'ῧ' => 'y', + 'φ' => 'f', + 'χ' => 'x', + 'ψ' => 'p', + 'ω' => 'o', + 'ώ' => 'o', + 'ὠ' => 'o', + 'ὡ' => 'o', + 'ὢ' => 'o', + 'ὣ' => 'o', + 'ὤ' => 'o', + 'ὥ' => 'o', + 'ὦ' => 'o', + 'ὧ' => 'o', + 'ᾠ' => 'o', + 'ᾡ' => 'o', + 'ᾢ' => 'o', + 'ᾣ' => 'o', + 'ᾤ' => 'o', + 'ᾥ' => 'o', + 'ᾦ' => 'o', + 'ᾧ' => 'o', + 'ὼ' => 'o', + 'ῲ' => 'o', + 'ῳ' => 'o', + 'ῴ' => 'o', + 'ῶ' => 'o', + 'ῷ' => 'o', + 'А' => 'A', + 'Б' => 'B', + 'В' => 'V', + 'Г' => 'G', + 'Д' => 'D', + 'Е' => 'E', + 'Ё' => 'E', + 'Ж' => 'Z', + 'З' => 'Z', + 'И' => 'I', + 'Й' => 'I', + 'К' => 'K', + 'Л' => 'L', + 'М' => 'M', + 'Н' => 'N', + 'О' => 'O', + 'П' => 'P', + 'Р' => 'R', + 'С' => 'S', + 'Т' => 'T', + 'У' => 'U', + 'Ф' => 'F', + 'Х' => 'K', + 'Ц' => 'T', + 'Ч' => 'C', + 'Ш' => 'S', + 'Щ' => 'S', + 'Ы' => 'Y', + 'Э' => 'E', + 'Ю' => 'Y', + 'Я' => 'Y', + 'а' => 'A', + 'б' => 'B', + 'в' => 'V', + 'г' => 'G', + 'д' => 'D', + 'е' => 'E', + 'ё' => 'E', + 'ж' => 'Z', + 'з' => 'Z', + 'и' => 'I', + 'й' => 'I', + 'к' => 'K', + 'л' => 'L', + 'м' => 'M', + 'н' => 'N', + 'о' => 'O', + 'п' => 'P', + 'р' => 'R', + 'с' => 'S', + 'т' => 'T', + 'у' => 'U', + 'ф' => 'F', + 'х' => 'K', + 'ц' => 'T', + 'ч' => 'C', + 'ш' => 'S', + 'щ' => 'S', + 'ы' => 'Y', + 'э' => 'E', + 'ю' => 'Y', + 'я' => 'Y', + 'ð' => 'd', + 'Ð' => 'D', + 'þ' => 't', + 'Þ' => 'T', + 'ა' => 'a', + 'ბ' => 'b', + 'გ' => 'g', + 'დ' => 'd', + 'ე' => 'e', + 'ვ' => 'v', + 'ზ' => 'z', + 'თ' => 't', + 'ი' => 'i', + 'კ' => 'k', + 'ლ' => 'l', + 'მ' => 'm', + 'ნ' => 'n', + 'ო' => 'o', + 'პ' => 'p', + 'ჟ' => 'z', + 'რ' => 'r', + 'ს' => 's', + 'ტ' => 't', + 'უ' => 'u', + 'ფ' => 'p', + 'ქ' => 'k', + 'ღ' => 'g', + 'ყ' => 'q', + 'შ' => 's', + 'ჩ' => 'c', + 'ც' => 't', + 'ძ' => 'd', + 'წ' => 't', + 'ჭ' => 'c', + 'ხ' => 'k', + 'ჯ' => 'j', + 'ჰ' => 'h', + 'ţ' => 't', + 'ʼ' => "'", + '̧' => '', + 'ḩ' => 'h', + '‘' => "'", + '’' => "'", + 'ừ' => 'u', + '/' => '', + 'ế' => 'e', + 'ả' => 'a', + 'ị' => 'i', + 'ậ' => 'a', + 'ệ' => 'e', + 'ỉ' => 'i', + 'ồ' => 'o', + 'ề' => 'e', + 'ơ' => 'o', + 'ạ' => 'a', + 'ẵ' => 'a', + 'ư' => 'u', + 'ằ' => 'a', + 'ầ' => 'a', + 'ḑ' => 'd', + 'Ḩ' => 'H', + 'Ḑ' => 'D', + 'ș' => 's', + 'ț' => 't', + 'ộ' => 'o', + 'ắ' => 'a', + 'ş' => 's', + "'" => '', + 'ու' => 'u', + 'ա' => 'a', + 'բ' => 'b', + 'գ' => 'g', + 'դ' => 'd', + 'ե' => 'e', + 'զ' => 'z', + 'է' => 'e', + 'ը' => 'y', + 'թ' => 't', + 'ժ' => 'zh', + 'ի' => 'i', + 'լ' => 'l', + 'խ' => 'kh', + 'ծ' => 'ts', + 'կ' => 'k', + 'հ' => 'h', + 'ձ' => 'dz', + 'ղ' => 'gh', + 'ճ' => 'ch', + 'մ' => 'm', + 'յ' => 'y', + 'ն' => 'n', + 'շ' => 'sh', + 'ո' => 'o', + 'չ' => 'ch', + 'պ' => 'p', + 'ջ' => 'j', + 'ռ' => 'r', + 'ս' => 's', + 'վ' => 'v', + 'տ' => 't', + 'ր' => 'r', + 'ց' => 'ts', + 'փ' => 'p', + 'ք' => 'q', + 'և' => 'ev', + 'օ' => 'o', + 'ֆ' => 'f', + ]; + $arrayFrom = array_keys( $transliterationTable ); + $arrayTo = array_values( $transliterationTable ); + } + + return str_replace( $arrayFrom, $arrayTo, $string ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Lorem.php b/lib/fakerphp/faker/src/Faker/Provider/Lorem.php index 2cfb70e..611ed6d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Lorem.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Lorem.php @@ -2,227 +2,430 @@ namespace Faker\Provider; -class Lorem extends Base -{ - protected static $wordList = [ - 'alias', 'consequatur', 'aut', 'perferendis', 'sit', 'voluptatem', - 'accusantium', 'doloremque', 'aperiam', 'eaque', 'ipsa', 'quae', 'ab', - 'illo', 'inventore', 'veritatis', 'et', 'quasi', 'architecto', - 'beatae', 'vitae', 'dicta', 'sunt', 'explicabo', 'aspernatur', 'aut', - 'odit', 'aut', 'fugit', 'sed', 'quia', 'consequuntur', 'magni', - 'dolores', 'eos', 'qui', 'ratione', 'voluptatem', 'sequi', 'nesciunt', - 'neque', 'dolorem', 'ipsum', 'quia', 'dolor', 'sit', 'amet', - 'consectetur', 'adipisci', 'velit', 'sed', 'quia', 'non', 'numquam', - 'eius', 'modi', 'tempora', 'incidunt', 'ut', 'labore', 'et', 'dolore', - 'magnam', 'aliquam', 'quaerat', 'voluptatem', 'ut', 'enim', 'ad', - 'minima', 'veniam', 'quis', 'nostrum', 'exercitationem', 'ullam', - 'corporis', 'nemo', 'enim', 'ipsam', 'voluptatem', 'quia', 'voluptas', - 'sit', 'suscipit', 'laboriosam', 'nisi', 'ut', 'aliquid', 'ex', 'ea', - 'commodi', 'consequatur', 'quis', 'autem', 'vel', 'eum', 'iure', - 'reprehenderit', 'qui', 'in', 'ea', 'voluptate', 'velit', 'esse', - 'quam', 'nihil', 'molestiae', 'et', 'iusto', 'odio', 'dignissimos', - 'ducimus', 'qui', 'blanditiis', 'praesentium', 'laudantium', 'totam', - 'rem', 'voluptatum', 'deleniti', 'atque', 'corrupti', 'quos', - 'dolores', 'et', 'quas', 'molestias', 'excepturi', 'sint', - 'occaecati', 'cupiditate', 'non', 'provident', 'sed', 'ut', - 'perspiciatis', 'unde', 'omnis', 'iste', 'natus', 'error', - 'similique', 'sunt', 'in', 'culpa', 'qui', 'officia', 'deserunt', - 'mollitia', 'animi', 'id', 'est', 'laborum', 'et', 'dolorum', 'fuga', - 'et', 'harum', 'quidem', 'rerum', 'facilis', 'est', 'et', 'expedita', - 'distinctio', 'nam', 'libero', 'tempore', 'cum', 'soluta', 'nobis', - 'est', 'eligendi', 'optio', 'cumque', 'nihil', 'impedit', 'quo', - 'porro', 'quisquam', 'est', 'qui', 'minus', 'id', 'quod', 'maxime', - 'placeat', 'facere', 'possimus', 'omnis', 'voluptas', 'assumenda', - 'est', 'omnis', 'dolor', 'repellendus', 'temporibus', 'autem', - 'quibusdam', 'et', 'aut', 'consequatur', 'vel', 'illum', 'qui', - 'dolorem', 'eum', 'fugiat', 'quo', 'voluptas', 'nulla', 'pariatur', - 'at', 'vero', 'eos', 'et', 'accusamus', 'officiis', 'debitis', 'aut', - 'rerum', 'necessitatibus', 'saepe', 'eveniet', 'ut', 'et', - 'voluptates', 'repudiandae', 'sint', 'et', 'molestiae', 'non', - 'recusandae', 'itaque', 'earum', 'rerum', 'hic', 'tenetur', 'a', - 'sapiente', 'delectus', 'ut', 'aut', 'reiciendis', 'voluptatibus', - 'maiores', 'doloribus', 'asperiores', 'repellat', - ]; - - /** - * @example 'Lorem' - * - * @return string - */ - public static function word() - { - return static::randomElement(static::$wordList); - } - - /** - * Generate an array of random words - * - * @example array('Lorem', 'ipsum', 'dolor') - * - * @param int $nb how many words to return - * @param bool $asText if true the sentences are returned as one string - * - * @return array|string - */ - public static function words($nb = 3, $asText = false) - { - $words = []; - - for ($i = 0; $i < $nb; ++$i) { - $words[] = static::word(); - } - - return $asText ? implode(' ', $words) : $words; - } - - /** - * Generate a random sentence - * - * @example 'Lorem ipsum dolor sit amet.' - * - * @param int $nbWords around how many words the sentence should contain - * @param bool $variableNbWords set to false if you want exactly $nbWords returned, - * otherwise $nbWords may vary by +/-40% with a minimum of 1 - * - * @return string - */ - public static function sentence($nbWords = 6, $variableNbWords = true) - { - if ($nbWords <= 0) { - return ''; - } - - if ($variableNbWords) { - $nbWords = self::randomizeNbElements($nbWords); - } - - $words = static::words($nbWords); - $words[0] = ucwords($words[0]); - - return implode(' ', $words) . '.'; - } - - /** - * Generate an array of sentences - * - * @example array('Lorem ipsum dolor sit amet.', 'Consectetur adipisicing eli.') - * - * @param int $nb how many sentences to return - * @param bool $asText if true the sentences are returned as one string - * - * @return array|string - */ - public static function sentences($nb = 3, $asText = false) - { - $sentences = []; - - for ($i = 0; $i < $nb; ++$i) { - $sentences[] = static::sentence(); - } - - return $asText ? implode(' ', $sentences) : $sentences; - } - - /** - * Generate a single paragraph - * - * @example 'Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.' - * - * @param int $nbSentences around how many sentences the paragraph should contain - * @param bool $variableNbSentences set to false if you want exactly $nbSentences returned, - * otherwise $nbSentences may vary by +/-40% with a minimum of 1 - * - * @return string - */ - public static function paragraph($nbSentences = 3, $variableNbSentences = true) - { - if ($nbSentences <= 0) { - return ''; - } - - if ($variableNbSentences) { - $nbSentences = self::randomizeNbElements($nbSentences); - } - - return implode(' ', static::sentences($nbSentences)); - } - - /** - * Generate an array of paragraphs - * - * @example array($paragraph1, $paragraph2, $paragraph3) - * - * @param int $nb how many paragraphs to return - * @param bool $asText if true the paragraphs are returned as one string, separated by two newlines - * - * @return array|string - */ - public static function paragraphs($nb = 3, $asText = false) - { - $paragraphs = []; - - for ($i = 0; $i < $nb; ++$i) { - $paragraphs[] = static::paragraph(); - } - - return $asText ? implode("\n\n", $paragraphs) : $paragraphs; - } - - /** - * Generate a text string. - * Depending on the $maxNbChars, returns a string made of words, sentences, or paragraphs. - * - * @example 'Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.' - * - * @param int $maxNbChars Maximum number of characters the text should contain (minimum 5) - * - * @return string - */ - public static function text($maxNbChars = 200) - { - if ($maxNbChars < 5) { - throw new \InvalidArgumentException('text() can only generate text of at least 5 characters'); - } - - $type = 'paragraph'; - - if ($maxNbChars < 100) { - $type = 'sentence'; - } - - if ($maxNbChars < 25) { - $type = 'word'; - } - - $text = []; - - while (empty($text)) { - $size = 0; - - // until $maxNbChars is reached - while ($size < $maxNbChars) { - $word = ($size ? ' ' : '') . static::$type(); - $text[] = $word; - - $size += strlen($word); - } - - array_pop($text); - } - - if ($type === 'word') { - // capitalize first letter - $text[0] = ucwords($text[0]); - - // end sentence with full stop - $text[count($text) - 1] .= '.'; - } - - return implode('', $text); - } - - protected static function randomizeNbElements($nbElements) - { - return (int) ($nbElements * self::numberBetween(60, 140) / 100) + 1; - } +class Lorem extends Base { + protected static $wordList = [ + 'alias', + 'consequatur', + 'aut', + 'perferendis', + 'sit', + 'voluptatem', + 'accusantium', + 'doloremque', + 'aperiam', + 'eaque', + 'ipsa', + 'quae', + 'ab', + 'illo', + 'inventore', + 'veritatis', + 'et', + 'quasi', + 'architecto', + 'beatae', + 'vitae', + 'dicta', + 'sunt', + 'explicabo', + 'aspernatur', + 'aut', + 'odit', + 'aut', + 'fugit', + 'sed', + 'quia', + 'consequuntur', + 'magni', + 'dolores', + 'eos', + 'qui', + 'ratione', + 'voluptatem', + 'sequi', + 'nesciunt', + 'neque', + 'dolorem', + 'ipsum', + 'quia', + 'dolor', + 'sit', + 'amet', + 'consectetur', + 'adipisci', + 'velit', + 'sed', + 'quia', + 'non', + 'numquam', + 'eius', + 'modi', + 'tempora', + 'incidunt', + 'ut', + 'labore', + 'et', + 'dolore', + 'magnam', + 'aliquam', + 'quaerat', + 'voluptatem', + 'ut', + 'enim', + 'ad', + 'minima', + 'veniam', + 'quis', + 'nostrum', + 'exercitationem', + 'ullam', + 'corporis', + 'nemo', + 'enim', + 'ipsam', + 'voluptatem', + 'quia', + 'voluptas', + 'sit', + 'suscipit', + 'laboriosam', + 'nisi', + 'ut', + 'aliquid', + 'ex', + 'ea', + 'commodi', + 'consequatur', + 'quis', + 'autem', + 'vel', + 'eum', + 'iure', + 'reprehenderit', + 'qui', + 'in', + 'ea', + 'voluptate', + 'velit', + 'esse', + 'quam', + 'nihil', + 'molestiae', + 'et', + 'iusto', + 'odio', + 'dignissimos', + 'ducimus', + 'qui', + 'blanditiis', + 'praesentium', + 'laudantium', + 'totam', + 'rem', + 'voluptatum', + 'deleniti', + 'atque', + 'corrupti', + 'quos', + 'dolores', + 'et', + 'quas', + 'molestias', + 'excepturi', + 'sint', + 'occaecati', + 'cupiditate', + 'non', + 'provident', + 'sed', + 'ut', + 'perspiciatis', + 'unde', + 'omnis', + 'iste', + 'natus', + 'error', + 'similique', + 'sunt', + 'in', + 'culpa', + 'qui', + 'officia', + 'deserunt', + 'mollitia', + 'animi', + 'id', + 'est', + 'laborum', + 'et', + 'dolorum', + 'fuga', + 'et', + 'harum', + 'quidem', + 'rerum', + 'facilis', + 'est', + 'et', + 'expedita', + 'distinctio', + 'nam', + 'libero', + 'tempore', + 'cum', + 'soluta', + 'nobis', + 'est', + 'eligendi', + 'optio', + 'cumque', + 'nihil', + 'impedit', + 'quo', + 'porro', + 'quisquam', + 'est', + 'qui', + 'minus', + 'id', + 'quod', + 'maxime', + 'placeat', + 'facere', + 'possimus', + 'omnis', + 'voluptas', + 'assumenda', + 'est', + 'omnis', + 'dolor', + 'repellendus', + 'temporibus', + 'autem', + 'quibusdam', + 'et', + 'aut', + 'consequatur', + 'vel', + 'illum', + 'qui', + 'dolorem', + 'eum', + 'fugiat', + 'quo', + 'voluptas', + 'nulla', + 'pariatur', + 'at', + 'vero', + 'eos', + 'et', + 'accusamus', + 'officiis', + 'debitis', + 'aut', + 'rerum', + 'necessitatibus', + 'saepe', + 'eveniet', + 'ut', + 'et', + 'voluptates', + 'repudiandae', + 'sint', + 'et', + 'molestiae', + 'non', + 'recusandae', + 'itaque', + 'earum', + 'rerum', + 'hic', + 'tenetur', + 'a', + 'sapiente', + 'delectus', + 'ut', + 'aut', + 'reiciendis', + 'voluptatibus', + 'maiores', + 'doloribus', + 'asperiores', + 'repellat', + ]; + + /** + * @return string + * @example 'Lorem' + * + */ + public static function word() { + return static::randomElement( static::$wordList ); + } + + /** + * Generate an array of random words + * + * @param int $nb how many words to return + * @param bool $asText if true the sentences are returned as one string + * + * @return array|string + * @example array('Lorem', 'ipsum', 'dolor') + * + */ + public static function words( $nb = 3, $asText = false ) { + $words = []; + + for ( $i = 0; $i < $nb; ++ $i ) { + $words[] = static::word(); + } + + return $asText ? implode( ' ', $words ) : $words; + } + + /** + * Generate a random sentence + * + * @param int $nbWords around how many words the sentence should contain + * @param bool $variableNbWords set to false if you want exactly $nbWords returned, + * otherwise $nbWords may vary by +/-40% with a minimum of 1 + * + * @return string + * @example 'Lorem ipsum dolor sit amet.' + * + */ + public static function sentence( $nbWords = 6, $variableNbWords = true ) { + if ( $nbWords <= 0 ) { + return ''; + } + + if ( $variableNbWords ) { + $nbWords = self::randomizeNbElements( $nbWords ); + } + + $words = static::words( $nbWords ); + $words[0] = ucwords( $words[0] ); + + return implode( ' ', $words ) . '.'; + } + + /** + * Generate an array of sentences + * + * @param int $nb how many sentences to return + * @param bool $asText if true the sentences are returned as one string + * + * @return array|string + * @example array('Lorem ipsum dolor sit amet.', 'Consectetur adipisicing eli.') + * + */ + public static function sentences( $nb = 3, $asText = false ) { + $sentences = []; + + for ( $i = 0; $i < $nb; ++ $i ) { + $sentences[] = static::sentence(); + } + + return $asText ? implode( ' ', $sentences ) : $sentences; + } + + /** + * Generate a single paragraph + * + * @param int $nbSentences around how many sentences the paragraph should contain + * @param bool $variableNbSentences set to false if you want exactly $nbSentences returned, + * otherwise $nbSentences may vary by +/-40% with a minimum of 1 + * + * @return string + * @example 'Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.' + * + */ + public static function paragraph( $nbSentences = 3, $variableNbSentences = true ) { + if ( $nbSentences <= 0 ) { + return ''; + } + + if ( $variableNbSentences ) { + $nbSentences = self::randomizeNbElements( $nbSentences ); + } + + return implode( ' ', static::sentences( $nbSentences ) ); + } + + /** + * Generate an array of paragraphs + * + * @param int $nb how many paragraphs to return + * @param bool $asText if true the paragraphs are returned as one string, separated by two newlines + * + * @return array|string + * @example array($paragraph1, $paragraph2, $paragraph3) + * + */ + public static function paragraphs( $nb = 3, $asText = false ) { + $paragraphs = []; + + for ( $i = 0; $i < $nb; ++ $i ) { + $paragraphs[] = static::paragraph(); + } + + return $asText ? implode( "\n\n", $paragraphs ) : $paragraphs; + } + + /** + * Generate a text string. + * Depending on the $maxNbChars, returns a string made of words, sentences, or paragraphs. + * + * @param int $maxNbChars Maximum number of characters the text should contain (minimum 5) + * + * @return string + * @example 'Sapiente sunt omnis. Ut pariatur ad autem ducimus et. Voluptas rem voluptas sint modi dolorem amet.' + * + */ + public static function text( $maxNbChars = 200 ) { + if ( $maxNbChars < 5 ) { + throw new \InvalidArgumentException( 'text() can only generate text of at least 5 characters' ); + } + + $type = 'paragraph'; + + if ( $maxNbChars < 100 ) { + $type = 'sentence'; + } + + if ( $maxNbChars < 25 ) { + $type = 'word'; + } + + $text = []; + + while ( empty( $text ) ) { + $size = 0; + + // until $maxNbChars is reached + while ( $size < $maxNbChars ) { + $word = ( $size ? ' ' : '' ) . static::$type(); + $text[] = $word; + + $size += strlen( $word ); + } + + array_pop( $text ); + } + + if ( $type === 'word' ) { + // capitalize first letter + $text[0] = ucwords( $text[0] ); + + // end sentence with full stop + $text[ count( $text ) - 1 ] .= '.'; + } + + return implode( '', $text ); + } + + protected static function randomizeNbElements( $nbElements ) { + return (int) ( $nbElements * self::numberBetween( 60, 140 ) / 100 ) + 1; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Medical.php b/lib/fakerphp/faker/src/Faker/Provider/Medical.php index 6d44fa6..7e0a3f4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Medical.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Medical.php @@ -2,33 +2,29 @@ namespace Faker\Provider; -class Medical extends Base -{ - protected static $bloodTypes = ['A', 'AB', 'B', 'O']; +class Medical extends Base { + protected static $bloodTypes = [ 'A', 'AB', 'B', 'O' ]; - protected static $bloodRhFactors = ['+', '-']; + protected static $bloodRhFactors = [ '+', '-' ]; - /** - * @example 'AB' - */ - public static function bloodType(): string - { - return static::randomElement(static::$bloodTypes); - } + /** + * @example 'AB' + */ + public static function bloodType(): string { + return static::randomElement( static::$bloodTypes ); + } - /** - * @example '+' - */ - public static function bloodRh(): string - { - return static::randomElement(static::$bloodRhFactors); - } + /** + * @example '+' + */ + public static function bloodRh(): string { + return static::randomElement( static::$bloodRhFactors ); + } - /** - * @example 'AB+' - */ - public function bloodGroup(): string - { - return $this->generator->parse('{{bloodType}}{{bloodRh}}'); - } + /** + * @example 'AB+' + */ + public function bloodGroup(): string { + return $this->generator->parse( '{{bloodType}}{{bloodRh}}' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Miscellaneous.php b/lib/fakerphp/faker/src/Faker/Provider/Miscellaneous.php index 354f67b..5a65a25 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Miscellaneous.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Miscellaneous.php @@ -2,341 +2,1296 @@ namespace Faker\Provider; -class Miscellaneous extends Base -{ - /** - * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks - * On date of 2017-03-26 - * - * U+1F600 - U+1F637 in Unicode Codepoint Escape Syntax - */ - protected static $emoji = [ - "\u{1F600}", "\u{1F601}", "\u{1F602}", "\u{1F603}", - "\u{1F604}", "\u{1F605}", "\u{1F606}", "\u{1F607}", - "\u{1F608}", "\u{1F609}", "\u{1F60A}", "\u{1F60B}", - "\u{1F60C}", "\u{1F60D}", "\u{1F60E}", "\u{1F60F}", - "\u{1F610}", "\u{1F611}", "\u{1F612}", "\u{1F613}", - "\u{1F614}", "\u{1F615}", "\u{1F616}", "\u{1F617}", - "\u{1F618}", "\u{1F619}", "\u{1F61A}", "\u{1F61B}", - "\u{1F61C}", "\u{1F61D}", "\u{1F61E}", "\u{1F61F}", - "\u{1F620}", "\u{1F621}", "\u{1F622}", "\u{1F623}", - "\u{1F624}", "\u{1F625}", "\u{1F626}", "\u{1F627}", - "\u{1F628}", "\u{1F629}", "\u{1F62A}", "\u{1F62B}", - "\u{1F62C}", "\u{1F62D}", "\u{1F62E}", "\u{1F62F}", - "\u{1F630}", "\u{1F631}", "\u{1F632}", "\u{1F633}", - "\u{1F634}", "\u{1F635}", "\u{1F636}", "\u{1F637}", - ]; +class Miscellaneous extends Base { + /** + * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks + * On date of 2017-03-26 + * + * U+1F600 - U+1F637 in Unicode Codepoint Escape Syntax + */ + protected static $emoji = [ + "\u{1F600}", + "\u{1F601}", + "\u{1F602}", + "\u{1F603}", + "\u{1F604}", + "\u{1F605}", + "\u{1F606}", + "\u{1F607}", + "\u{1F608}", + "\u{1F609}", + "\u{1F60A}", + "\u{1F60B}", + "\u{1F60C}", + "\u{1F60D}", + "\u{1F60E}", + "\u{1F60F}", + "\u{1F610}", + "\u{1F611}", + "\u{1F612}", + "\u{1F613}", + "\u{1F614}", + "\u{1F615}", + "\u{1F616}", + "\u{1F617}", + "\u{1F618}", + "\u{1F619}", + "\u{1F61A}", + "\u{1F61B}", + "\u{1F61C}", + "\u{1F61D}", + "\u{1F61E}", + "\u{1F61F}", + "\u{1F620}", + "\u{1F621}", + "\u{1F622}", + "\u{1F623}", + "\u{1F624}", + "\u{1F625}", + "\u{1F626}", + "\u{1F627}", + "\u{1F628}", + "\u{1F629}", + "\u{1F62A}", + "\u{1F62B}", + "\u{1F62C}", + "\u{1F62D}", + "\u{1F62E}", + "\u{1F62F}", + "\u{1F630}", + "\u{1F631}", + "\u{1F632}", + "\u{1F633}", + "\u{1F634}", + "\u{1F635}", + "\u{1F636}", + "\u{1F637}", + ]; - /** - * @see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes - * On date of 2016-04-22 - */ - protected static $languageCode = [ - 'aa', 'ab', 'ae', 'af', 'ak', 'am', 'an', 'ar', 'as', 'av', - 'ay', 'az', 'ba', 'be', 'bg', 'bh', 'bi', 'bm', 'bn', 'bo', - 'br', 'bs', 'ca', 'ce', 'ch', 'co', 'cr', 'cs', 'cu', 'cv', - 'cy', 'da', 'de', 'dv', 'dz', 'ee', 'el', 'en', 'eo', 'es', - 'et', 'eu', 'fa', 'ff', 'fi', 'fj', 'fo', 'fr', 'fy', 'ga', - 'gd', 'gl', 'gn', 'gu', 'gv', 'ha', 'he', 'hi', 'ho', 'hr', - 'ht', 'hu', 'hy', 'hz', 'ia', 'id', 'ie', 'ig', 'ii', 'ik', - 'io', 'is', 'it', 'iu', 'ja', 'jv', 'ka', 'kg', 'ki', 'kj', - 'kk', 'kl', 'km', 'kn', 'ko', 'kr', 'ks', 'ku', 'kv', 'kw', - 'ky', 'la', 'lb', 'lg', 'li', 'ln', 'lo', 'lt', 'lu', 'lv', - 'mg', 'mh', 'mi', 'mk', 'ml', 'mn', 'mr', 'ms', 'mt', 'my', - 'na', 'nb', 'nd', 'ne', 'ng', 'nl', 'nn', 'no', 'nr', 'nv', - 'ny', 'oc', 'oj', 'om', 'or', 'os', 'pa', 'pi', 'pl', 'ps', - 'pt', 'qu', 'rm', 'rn', 'ro', 'ru', 'rw', 'sa', 'sc', 'sd', - 'se', 'sg', 'si', 'sk', 'sl', 'sm', 'sn', 'so', 'sq', 'sr', - 'ss', 'st', 'su', 'sv', 'sw', 'ta', 'te', 'tg', 'th', 'ti', - 'tk', 'tl', 'tn', 'to', 'tr', 'ts', 'tt', 'tw', 'ty', 'ug', - 'uk', 'ur', 'uz', 've', 'vi', 'vo', 'wa', 'wo', 'xh', 'yi', - 'yo', 'za', 'zh', 'zu', - ]; + /** + * @see https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes + * On date of 2016-04-22 + */ + protected static $languageCode = [ + 'aa', + 'ab', + 'ae', + 'af', + 'ak', + 'am', + 'an', + 'ar', + 'as', + 'av', + 'ay', + 'az', + 'ba', + 'be', + 'bg', + 'bh', + 'bi', + 'bm', + 'bn', + 'bo', + 'br', + 'bs', + 'ca', + 'ce', + 'ch', + 'co', + 'cr', + 'cs', + 'cu', + 'cv', + 'cy', + 'da', + 'de', + 'dv', + 'dz', + 'ee', + 'el', + 'en', + 'eo', + 'es', + 'et', + 'eu', + 'fa', + 'ff', + 'fi', + 'fj', + 'fo', + 'fr', + 'fy', + 'ga', + 'gd', + 'gl', + 'gn', + 'gu', + 'gv', + 'ha', + 'he', + 'hi', + 'ho', + 'hr', + 'ht', + 'hu', + 'hy', + 'hz', + 'ia', + 'id', + 'ie', + 'ig', + 'ii', + 'ik', + 'io', + 'is', + 'it', + 'iu', + 'ja', + 'jv', + 'ka', + 'kg', + 'ki', + 'kj', + 'kk', + 'kl', + 'km', + 'kn', + 'ko', + 'kr', + 'ks', + 'ku', + 'kv', + 'kw', + 'ky', + 'la', + 'lb', + 'lg', + 'li', + 'ln', + 'lo', + 'lt', + 'lu', + 'lv', + 'mg', + 'mh', + 'mi', + 'mk', + 'ml', + 'mn', + 'mr', + 'ms', + 'mt', + 'my', + 'na', + 'nb', + 'nd', + 'ne', + 'ng', + 'nl', + 'nn', + 'no', + 'nr', + 'nv', + 'ny', + 'oc', + 'oj', + 'om', + 'or', + 'os', + 'pa', + 'pi', + 'pl', + 'ps', + 'pt', + 'qu', + 'rm', + 'rn', + 'ro', + 'ru', + 'rw', + 'sa', + 'sc', + 'sd', + 'se', + 'sg', + 'si', + 'sk', + 'sl', + 'sm', + 'sn', + 'so', + 'sq', + 'sr', + 'ss', + 'st', + 'su', + 'sv', + 'sw', + 'ta', + 'te', + 'tg', + 'th', + 'ti', + 'tk', + 'tl', + 'tn', + 'to', + 'tr', + 'ts', + 'tt', + 'tw', + 'ty', + 'ug', + 'uk', + 'ur', + 'uz', + 've', + 'vi', + 'vo', + 'wa', + 'wo', + 'xh', + 'yi', + 'yo', + 'za', + 'zh', + 'zu', + ]; - /** - * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - * On date of 2014-10-19 - */ - protected static $countryCode = [ - 'AD', 'AE', 'AF', 'AG', 'AI', 'AL', 'AM', 'AO', 'AQ', 'AR', - 'AS', 'AT', 'AU', 'AW', 'AX', 'AZ', 'BA', 'BB', 'BD', 'BE', - 'BF', 'BG', 'BH', 'BI', 'BJ', 'BL', 'BM', 'BN', 'BO', 'BQ', - 'BR', 'BS', 'BT', 'BW', 'BY', 'BZ', 'CA', 'CC', 'CD', 'CF', - 'CG', 'CH', 'CI', 'CK', 'CL', 'CM', 'CN', 'CO', 'CR', 'CU', - 'CV', 'CW', 'CX', 'CY', 'CZ', 'DE', 'DJ', 'DK', 'DM', 'DO', - 'DZ', 'EC', 'EE', 'EG', 'EH', 'ER', 'ES', 'ET', 'FI', 'FJ', - 'FK', 'FM', 'FO', 'FR', 'GA', 'GB', 'GD', 'GE', 'GF', 'GG', - 'GH', 'GI', 'GL', 'GM', 'GN', 'GP', 'GQ', 'GR', 'GS', 'GT', - 'GU', 'GW', 'GY', 'HK', 'HN', 'HR', 'HT', 'HU', 'ID', 'IE', - 'IL', 'IM', 'IN', 'IO', 'IQ', 'IR', 'IS', 'IT', 'JE', 'JM', - 'JO', 'JP', 'KE', 'KG', 'KH', 'KI', 'KM', 'KN', 'KP', 'KR', - 'KW', 'KY', 'KZ', 'LA', 'LB', 'LC', 'LI', 'LK', 'LR', 'LS', - 'LT', 'LU', 'LV', 'LY', 'MA', 'MC', 'MD', 'ME', 'MF', 'MG', - 'MH', 'MK', 'ML', 'MM', 'MN', 'MO', 'MP', 'MQ', 'MR', 'MS', - 'MT', 'MU', 'MV', 'MW', 'MX', 'MY', 'MZ', 'NA', 'NC', 'NE', - 'NF', 'NG', 'NI', 'NL', 'NO', 'NP', 'NR', 'NU', 'NZ', 'OM', - 'PA', 'PE', 'PF', 'PG', 'PH', 'PK', 'PL', 'PM', 'PN', 'PR', - 'PS', 'PT', 'PW', 'PY', 'QA', 'RE', 'RO', 'RS', 'RU', 'RW', - 'SA', 'SB', 'SC', 'SD', 'SE', 'SG', 'SH', 'SI', 'SJ', 'SK', - 'SL', 'SM', 'SN', 'SO', 'SR', 'SS', 'ST', 'SV', 'SX', 'SY', - 'SZ', 'TC', 'TD', 'TF', 'TG', 'TH', 'TJ', 'TK', 'TL', 'TM', - 'TN', 'TO', 'TR', 'TT', 'TV', 'TW', 'TZ', 'UA', 'UG', 'UM', - 'US', 'UY', 'UZ', 'VA', 'VC', 'VE', 'VG', 'VI', 'VN', 'VU', - 'WF', 'WS', 'YE', 'YT', 'ZA', 'ZM', 'ZW', - ]; + /** + * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 + * On date of 2014-10-19 + */ + protected static $countryCode = [ + 'AD', + 'AE', + 'AF', + 'AG', + 'AI', + 'AL', + 'AM', + 'AO', + 'AQ', + 'AR', + 'AS', + 'AT', + 'AU', + 'AW', + 'AX', + 'AZ', + 'BA', + 'BB', + 'BD', + 'BE', + 'BF', + 'BG', + 'BH', + 'BI', + 'BJ', + 'BL', + 'BM', + 'BN', + 'BO', + 'BQ', + 'BR', + 'BS', + 'BT', + 'BW', + 'BY', + 'BZ', + 'CA', + 'CC', + 'CD', + 'CF', + 'CG', + 'CH', + 'CI', + 'CK', + 'CL', + 'CM', + 'CN', + 'CO', + 'CR', + 'CU', + 'CV', + 'CW', + 'CX', + 'CY', + 'CZ', + 'DE', + 'DJ', + 'DK', + 'DM', + 'DO', + 'DZ', + 'EC', + 'EE', + 'EG', + 'EH', + 'ER', + 'ES', + 'ET', + 'FI', + 'FJ', + 'FK', + 'FM', + 'FO', + 'FR', + 'GA', + 'GB', + 'GD', + 'GE', + 'GF', + 'GG', + 'GH', + 'GI', + 'GL', + 'GM', + 'GN', + 'GP', + 'GQ', + 'GR', + 'GS', + 'GT', + 'GU', + 'GW', + 'GY', + 'HK', + 'HN', + 'HR', + 'HT', + 'HU', + 'ID', + 'IE', + 'IL', + 'IM', + 'IN', + 'IO', + 'IQ', + 'IR', + 'IS', + 'IT', + 'JE', + 'JM', + 'JO', + 'JP', + 'KE', + 'KG', + 'KH', + 'KI', + 'KM', + 'KN', + 'KP', + 'KR', + 'KW', + 'KY', + 'KZ', + 'LA', + 'LB', + 'LC', + 'LI', + 'LK', + 'LR', + 'LS', + 'LT', + 'LU', + 'LV', + 'LY', + 'MA', + 'MC', + 'MD', + 'ME', + 'MF', + 'MG', + 'MH', + 'MK', + 'ML', + 'MM', + 'MN', + 'MO', + 'MP', + 'MQ', + 'MR', + 'MS', + 'MT', + 'MU', + 'MV', + 'MW', + 'MX', + 'MY', + 'MZ', + 'NA', + 'NC', + 'NE', + 'NF', + 'NG', + 'NI', + 'NL', + 'NO', + 'NP', + 'NR', + 'NU', + 'NZ', + 'OM', + 'PA', + 'PE', + 'PF', + 'PG', + 'PH', + 'PK', + 'PL', + 'PM', + 'PN', + 'PR', + 'PS', + 'PT', + 'PW', + 'PY', + 'QA', + 'RE', + 'RO', + 'RS', + 'RU', + 'RW', + 'SA', + 'SB', + 'SC', + 'SD', + 'SE', + 'SG', + 'SH', + 'SI', + 'SJ', + 'SK', + 'SL', + 'SM', + 'SN', + 'SO', + 'SR', + 'SS', + 'ST', + 'SV', + 'SX', + 'SY', + 'SZ', + 'TC', + 'TD', + 'TF', + 'TG', + 'TH', + 'TJ', + 'TK', + 'TL', + 'TM', + 'TN', + 'TO', + 'TR', + 'TT', + 'TV', + 'TW', + 'TZ', + 'UA', + 'UG', + 'UM', + 'US', + 'UY', + 'UZ', + 'VA', + 'VC', + 'VE', + 'VG', + 'VI', + 'VN', + 'VU', + 'WF', + 'WS', + 'YE', + 'YT', + 'ZA', + 'ZM', + 'ZW', + ]; - /** - * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 - * On date of 2014-10-19 - */ - protected static $countryISOAlpha3 = [ - 'ABW', 'AFG', 'AGO', 'AIA', 'ALA', 'ALB', 'AND', 'ARE', 'ARG', 'ARM', - 'ASM', 'ATA', 'ATF', 'ATG', 'AUS', 'AUT', 'AZE', 'BDI', 'BEL', 'BEN', - 'BES', 'BFA', 'BGD', 'BGR', 'BHR', 'BHS', 'BIH', 'BLM', 'BLR', 'BLZ', - 'BMU', 'BOL', 'BRA', 'BRB', 'BRN', 'BTN', 'BVT', 'BWA', 'CAF', 'CAN', - 'CCK', 'CHE', 'CHL', 'CHN', 'CIV', 'CMR', 'COD', 'COG', 'COK', 'COL', - 'COM', 'CPV', 'CRI', 'CUB', 'CUW', 'CXR', 'CYM', 'CYP', 'CZE', 'DEU', - 'DJI', 'DMA', 'DNK', 'DOM', 'DZA', 'ECU', 'EGY', 'ERI', 'ESH', 'ESP', - 'EST', 'ETH', 'FIN', 'FJI', 'FLK', 'FRA', 'FRO', 'FSM', 'GAB', 'GBR', - 'GEO', 'GGY', 'GHA', 'GIB', 'GIN', 'GLP', 'GMB', 'GNB', 'GNQ', 'GRC', - 'GRD', 'GRL', 'GTM', 'GUF', 'GUM', 'GUY', 'HKG', 'HMD', 'HND', 'HRV', - 'HTI', 'HUN', 'IDN', 'IMN', 'IND', 'IOT', 'IRL', 'IRN', 'IRQ', 'ISL', - 'ISR', 'ITA', 'JAM', 'JEY', 'JOR', 'JPN', 'KAZ', 'KEN', 'KGZ', 'KHM', - 'KIR', 'KNA', 'KOR', 'KWT', 'LAO', 'LBN', 'LBR', 'LBY', 'LCA', 'LIE', - 'LKA', 'LSO', 'LTU', 'LUX', 'LVA', 'MAC', 'MAF', 'MAR', 'MCO', 'MDA', - 'MDG', 'MDV', 'MEX', 'MHL', 'MKD', 'MLI', 'MLT', 'MMR', 'MNE', 'MNG', - 'MNP', 'MOZ', 'MRT', 'MSR', 'MTQ', 'MUS', 'MWI', 'MYS', 'MYT', 'NAM', - 'NCL', 'NER', 'NFK', 'NGA', 'NIC', 'NIU', 'NLD', 'NOR', 'NPL', 'NRU', - 'NZL', 'OMN', 'PAK', 'PAN', 'PCN', 'PER', 'PHL', 'PLW', 'PNG', 'POL', - 'PRI', 'PRK', 'PRT', 'PRY', 'PSE', 'PYF', 'QAT', 'REU', 'ROU', 'RUS', - 'RWA', 'SAU', 'SDN', 'SEN', 'SGP', 'SGS', 'SHN', 'SJM', 'SLB', 'SLE', - 'SLV', 'SMR', 'SOM', 'SPM', 'SRB', 'SSD', 'STP', 'SUR', 'SVK', 'SVN', - 'SWE', 'SWZ', 'SXM', 'SYC', 'SYR', 'TCA', 'TCD', 'TGO', 'THA', 'TJK', - 'TKL', 'TKM', 'TLS', 'TON', 'TTO', 'TUN', 'TUR', 'TUV', 'TWN', 'TZA', - 'UGA', 'UKR', 'UMI', 'URY', 'USA', 'UZB', 'VAT', 'VCT', 'VEN', 'VGB', - 'VIR', 'VNM', 'VUT', 'WLF', 'WSM', 'YEM', 'ZAF', 'ZMB', 'ZWE', - ]; + /** + * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 + * On date of 2014-10-19 + */ + protected static $countryISOAlpha3 = [ + 'ABW', + 'AFG', + 'AGO', + 'AIA', + 'ALA', + 'ALB', + 'AND', + 'ARE', + 'ARG', + 'ARM', + 'ASM', + 'ATA', + 'ATF', + 'ATG', + 'AUS', + 'AUT', + 'AZE', + 'BDI', + 'BEL', + 'BEN', + 'BES', + 'BFA', + 'BGD', + 'BGR', + 'BHR', + 'BHS', + 'BIH', + 'BLM', + 'BLR', + 'BLZ', + 'BMU', + 'BOL', + 'BRA', + 'BRB', + 'BRN', + 'BTN', + 'BVT', + 'BWA', + 'CAF', + 'CAN', + 'CCK', + 'CHE', + 'CHL', + 'CHN', + 'CIV', + 'CMR', + 'COD', + 'COG', + 'COK', + 'COL', + 'COM', + 'CPV', + 'CRI', + 'CUB', + 'CUW', + 'CXR', + 'CYM', + 'CYP', + 'CZE', + 'DEU', + 'DJI', + 'DMA', + 'DNK', + 'DOM', + 'DZA', + 'ECU', + 'EGY', + 'ERI', + 'ESH', + 'ESP', + 'EST', + 'ETH', + 'FIN', + 'FJI', + 'FLK', + 'FRA', + 'FRO', + 'FSM', + 'GAB', + 'GBR', + 'GEO', + 'GGY', + 'GHA', + 'GIB', + 'GIN', + 'GLP', + 'GMB', + 'GNB', + 'GNQ', + 'GRC', + 'GRD', + 'GRL', + 'GTM', + 'GUF', + 'GUM', + 'GUY', + 'HKG', + 'HMD', + 'HND', + 'HRV', + 'HTI', + 'HUN', + 'IDN', + 'IMN', + 'IND', + 'IOT', + 'IRL', + 'IRN', + 'IRQ', + 'ISL', + 'ISR', + 'ITA', + 'JAM', + 'JEY', + 'JOR', + 'JPN', + 'KAZ', + 'KEN', + 'KGZ', + 'KHM', + 'KIR', + 'KNA', + 'KOR', + 'KWT', + 'LAO', + 'LBN', + 'LBR', + 'LBY', + 'LCA', + 'LIE', + 'LKA', + 'LSO', + 'LTU', + 'LUX', + 'LVA', + 'MAC', + 'MAF', + 'MAR', + 'MCO', + 'MDA', + 'MDG', + 'MDV', + 'MEX', + 'MHL', + 'MKD', + 'MLI', + 'MLT', + 'MMR', + 'MNE', + 'MNG', + 'MNP', + 'MOZ', + 'MRT', + 'MSR', + 'MTQ', + 'MUS', + 'MWI', + 'MYS', + 'MYT', + 'NAM', + 'NCL', + 'NER', + 'NFK', + 'NGA', + 'NIC', + 'NIU', + 'NLD', + 'NOR', + 'NPL', + 'NRU', + 'NZL', + 'OMN', + 'PAK', + 'PAN', + 'PCN', + 'PER', + 'PHL', + 'PLW', + 'PNG', + 'POL', + 'PRI', + 'PRK', + 'PRT', + 'PRY', + 'PSE', + 'PYF', + 'QAT', + 'REU', + 'ROU', + 'RUS', + 'RWA', + 'SAU', + 'SDN', + 'SEN', + 'SGP', + 'SGS', + 'SHN', + 'SJM', + 'SLB', + 'SLE', + 'SLV', + 'SMR', + 'SOM', + 'SPM', + 'SRB', + 'SSD', + 'STP', + 'SUR', + 'SVK', + 'SVN', + 'SWE', + 'SWZ', + 'SXM', + 'SYC', + 'SYR', + 'TCA', + 'TCD', + 'TGO', + 'THA', + 'TJK', + 'TKL', + 'TKM', + 'TLS', + 'TON', + 'TTO', + 'TUN', + 'TUR', + 'TUV', + 'TWN', + 'TZA', + 'UGA', + 'UKR', + 'UMI', + 'URY', + 'USA', + 'UZB', + 'VAT', + 'VCT', + 'VEN', + 'VGB', + 'VIR', + 'VNM', + 'VUT', + 'WLF', + 'WSM', + 'YEM', + 'ZAF', + 'ZMB', + 'ZWE', + ]; - protected static $localeData = [ - 'aa_DJ', 'aa_ER', 'aa_ET', - 'af_NA', 'af_ZA', 'ak_GH', - 'am_ET', 'ar_AE', 'ar_BH', 'ar_DZ', - 'ar_EG', 'ar_IQ', 'ar_JO', 'ar_KW', 'ar_LB', - 'ar_LY', 'ar_MA', 'ar_OM', 'ar_QA', 'ar_SA', - 'ar_SD', 'ar_SY', 'ar_TN', 'ar_YE', - 'as_IN', 'az_AZ', 'be_BY', - 'bg_BG', 'bn_BD', 'bn_IN', - 'bo_CN', 'bo_IN', 'bs_BA', - 'byn_ER', 'ca_ES', - 'cch_NG', 'cs_CZ', - 'cy_GB', 'da_DK', 'de_AT', - 'de_BE', 'de_CH', 'de_DE', 'de_LI', 'de_LU', - 'dv_MV', 'dz_BT', - 'ee_GH', 'ee_TG', 'el_CY', 'el_GR', - 'en_AS', 'en_AU', 'en_BE', 'en_BW', - 'en_BZ', 'en_CA', 'en_GB', 'en_GU', 'en_HK', - 'en_IE', 'en_IN', 'en_JM', 'en_MH', 'en_MP', - 'en_MT', 'en_NA', 'en_NZ', 'en_PH', 'en_PK', - 'en_SG', 'en_TT', 'en_UM', 'en_US', 'en_VI', - 'en_ZA', 'en_ZW', 'es_AR', - 'es_BO', 'es_CL', 'es_CO', 'es_CR', 'es_DO', - 'es_EC', 'es_ES', 'es_GT', 'es_HN', 'es_MX', - 'es_NI', 'es_PA', 'es_PE', 'es_PR', 'es_PY', - 'es_SV', 'es_US', 'es_UY', 'es_VE', - 'et_EE', 'eu_ES', 'fa_AF', - 'fa_IR', 'fi_FI', 'fil_PH', - 'fo_FO', 'fr_BE', 'fr_CA', - 'fr_CH', 'fr_FR', 'fr_LU', 'fr_MC', 'fr_SN', - 'fur_IT', 'ga_IE', - 'gaa_GH', 'gez_ER', 'gez_ET', - 'gl_ES', 'gsw_CH', 'gu_IN', - 'gv_GB', 'ha_GH', 'ha_NE', - 'ha_NG', 'ha_SD', 'haw_US', - 'he_IL', 'hi_IN', 'hr_HR', - 'hu_HU', 'hy_AM', - 'id_ID', 'ig_NG', - 'ii_CN', 'is_IS', - 'it_CH', 'it_IT', - 'ja_JP', 'ka_GE', 'kaj_NG', - 'kam_KE', 'kcg_NG', - 'kfo_CI', 'kk_KZ', 'kl_GL', - 'km_KH', 'kn_IN', - 'ko_KR', 'kok_IN', 'kpe_GN', - 'kpe_LR', 'ku_IQ', 'ku_IR', 'ku_SY', - 'ku_TR', 'kw_GB', 'ky_KG', - 'ln_CD', 'ln_CG', 'lo_LA', - 'lt_LT', 'lv_LV', - 'mk_MK', 'ml_IN', 'mn_CN', - 'mn_MN', 'mr_IN', - 'ms_BN', 'ms_MY', 'mt_MT', - 'my_MM', 'nb_NO', 'nds_DE', - 'ne_IN', 'ne_NP', 'nl_BE', - 'nl_NL', 'nn_NO', - 'nr_ZA', 'nso_ZA', 'ny_MW', - 'oc_FR', 'om_ET', 'om_KE', - 'or_IN', 'pa_IN', 'pa_PK', - 'pl_PL', 'ps_AF', - 'pt_BR', 'pt_PT', 'ro_MD', 'ro_RO', - 'ru_RU', 'ru_UA', 'rw_RW', - 'sa_IN', 'se_FI', 'se_NO', - 'sh_BA', 'sh_CS', 'sh_YU', - 'si_LK', 'sid_ET', 'sk_SK', - 'sl_SI', 'so_DJ', 'so_ET', - 'so_KE', 'so_SO', 'sq_AL', - 'sr_BA', 'sr_CS', 'sr_ME', 'sr_RS', 'sr_YU', - 'ss_SZ', 'ss_ZA', 'st_LS', - 'st_ZA', 'sv_FI', 'sv_SE', - 'sw_KE', 'sw_TZ', 'syr_SY', - 'ta_IN', 'te_IN', 'tg_TJ', - 'th_TH', 'ti_ER', 'ti_ET', - 'tig_ER', 'tn_ZA', - 'to_TO', 'tr_TR', - 'trv_TW', 'ts_ZA', 'tt_RU', - 'ug_CN', 'uk_UA', - 'ur_IN', 'ur_PK', 'uz_AF', 'uz_UZ', - 've_ZA', 'vi_VN', - 'wal_ET', 'wo_SN', 'xh_ZA', - 'yo_NG', 'zh_CN', 'zh_HK', - 'zh_MO', 'zh_SG', 'zh_TW', 'zu_ZA', - ]; + protected static $localeData = [ + 'aa_DJ', + 'aa_ER', + 'aa_ET', + 'af_NA', + 'af_ZA', + 'ak_GH', + 'am_ET', + 'ar_AE', + 'ar_BH', + 'ar_DZ', + 'ar_EG', + 'ar_IQ', + 'ar_JO', + 'ar_KW', + 'ar_LB', + 'ar_LY', + 'ar_MA', + 'ar_OM', + 'ar_QA', + 'ar_SA', + 'ar_SD', + 'ar_SY', + 'ar_TN', + 'ar_YE', + 'as_IN', + 'az_AZ', + 'be_BY', + 'bg_BG', + 'bn_BD', + 'bn_IN', + 'bo_CN', + 'bo_IN', + 'bs_BA', + 'byn_ER', + 'ca_ES', + 'cch_NG', + 'cs_CZ', + 'cy_GB', + 'da_DK', + 'de_AT', + 'de_BE', + 'de_CH', + 'de_DE', + 'de_LI', + 'de_LU', + 'dv_MV', + 'dz_BT', + 'ee_GH', + 'ee_TG', + 'el_CY', + 'el_GR', + 'en_AS', + 'en_AU', + 'en_BE', + 'en_BW', + 'en_BZ', + 'en_CA', + 'en_GB', + 'en_GU', + 'en_HK', + 'en_IE', + 'en_IN', + 'en_JM', + 'en_MH', + 'en_MP', + 'en_MT', + 'en_NA', + 'en_NZ', + 'en_PH', + 'en_PK', + 'en_SG', + 'en_TT', + 'en_UM', + 'en_US', + 'en_VI', + 'en_ZA', + 'en_ZW', + 'es_AR', + 'es_BO', + 'es_CL', + 'es_CO', + 'es_CR', + 'es_DO', + 'es_EC', + 'es_ES', + 'es_GT', + 'es_HN', + 'es_MX', + 'es_NI', + 'es_PA', + 'es_PE', + 'es_PR', + 'es_PY', + 'es_SV', + 'es_US', + 'es_UY', + 'es_VE', + 'et_EE', + 'eu_ES', + 'fa_AF', + 'fa_IR', + 'fi_FI', + 'fil_PH', + 'fo_FO', + 'fr_BE', + 'fr_CA', + 'fr_CH', + 'fr_FR', + 'fr_LU', + 'fr_MC', + 'fr_SN', + 'fur_IT', + 'ga_IE', + 'gaa_GH', + 'gez_ER', + 'gez_ET', + 'gl_ES', + 'gsw_CH', + 'gu_IN', + 'gv_GB', + 'ha_GH', + 'ha_NE', + 'ha_NG', + 'ha_SD', + 'haw_US', + 'he_IL', + 'hi_IN', + 'hr_HR', + 'hu_HU', + 'hy_AM', + 'id_ID', + 'ig_NG', + 'ii_CN', + 'is_IS', + 'it_CH', + 'it_IT', + 'ja_JP', + 'ka_GE', + 'kaj_NG', + 'kam_KE', + 'kcg_NG', + 'kfo_CI', + 'kk_KZ', + 'kl_GL', + 'km_KH', + 'kn_IN', + 'ko_KR', + 'kok_IN', + 'kpe_GN', + 'kpe_LR', + 'ku_IQ', + 'ku_IR', + 'ku_SY', + 'ku_TR', + 'kw_GB', + 'ky_KG', + 'ln_CD', + 'ln_CG', + 'lo_LA', + 'lt_LT', + 'lv_LV', + 'mk_MK', + 'ml_IN', + 'mn_CN', + 'mn_MN', + 'mr_IN', + 'ms_BN', + 'ms_MY', + 'mt_MT', + 'my_MM', + 'nb_NO', + 'nds_DE', + 'ne_IN', + 'ne_NP', + 'nl_BE', + 'nl_NL', + 'nn_NO', + 'nr_ZA', + 'nso_ZA', + 'ny_MW', + 'oc_FR', + 'om_ET', + 'om_KE', + 'or_IN', + 'pa_IN', + 'pa_PK', + 'pl_PL', + 'ps_AF', + 'pt_BR', + 'pt_PT', + 'ro_MD', + 'ro_RO', + 'ru_RU', + 'ru_UA', + 'rw_RW', + 'sa_IN', + 'se_FI', + 'se_NO', + 'sh_BA', + 'sh_CS', + 'sh_YU', + 'si_LK', + 'sid_ET', + 'sk_SK', + 'sl_SI', + 'so_DJ', + 'so_ET', + 'so_KE', + 'so_SO', + 'sq_AL', + 'sr_BA', + 'sr_CS', + 'sr_ME', + 'sr_RS', + 'sr_YU', + 'ss_SZ', + 'ss_ZA', + 'st_LS', + 'st_ZA', + 'sv_FI', + 'sv_SE', + 'sw_KE', + 'sw_TZ', + 'syr_SY', + 'ta_IN', + 'te_IN', + 'tg_TJ', + 'th_TH', + 'ti_ER', + 'ti_ET', + 'tig_ER', + 'tn_ZA', + 'to_TO', + 'tr_TR', + 'trv_TW', + 'ts_ZA', + 'tt_RU', + 'ug_CN', + 'uk_UA', + 'ur_IN', + 'ur_PK', + 'uz_AF', + 'uz_UZ', + 've_ZA', + 'vi_VN', + 'wal_ET', + 'wo_SN', + 'xh_ZA', + 'yo_NG', + 'zh_CN', + 'zh_HK', + 'zh_MO', + 'zh_SG', + 'zh_TW', + 'zu_ZA', + ]; - /** - * @see https://en.wikipedia.org/wiki/ISO_4217 - * On date of 2023-01-01 - * - * With the following exceptions: - * SVC has been replaced by the USD in 2001: https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n - * ZWL has been suspended since 2009: https://en.wikipedia.org/wiki/Zimbabwean_dollar - * HRK has been replaced by EUR since 2023: https://en.wikipedia.org/wiki/Croatian_kuna - */ - protected static $currencyCode = [ - 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AUD', 'AWG', 'AZN', - 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BRL', - 'BSD', 'BTN', 'BWP', 'BYN', 'BZD', 'CAD', 'CDF', 'CHF', 'CLP', 'CNY', - 'COP', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', - 'EGP', 'ERN', 'ETB', 'EUR', 'FJD', 'FKP', 'GBP', 'GEL', 'GHS', 'GIP', - 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HTG', 'HUF', 'IDR', 'ILS', - 'INR', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'JPY', 'KES', 'KGS', 'KHR', - 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', - 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRU', - 'MUR', 'MVR', 'MWK', 'MXN', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', - 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', - 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', - 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STN', 'SYP', 'SZL', 'THB', - 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', - 'USD', 'UYU', 'UZS', 'VES', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', - 'XPF', 'YER', 'ZAR', 'ZMW', - ]; + /** + * @see https://en.wikipedia.org/wiki/ISO_4217 + * On date of 2023-01-01 + * + * With the following exceptions: + * SVC has been replaced by the USD in 2001: https://en.wikipedia.org/wiki/Salvadoran_col%C3%B3n + * ZWL has been suspended since 2009: https://en.wikipedia.org/wiki/Zimbabwean_dollar + * HRK has been replaced by EUR since 2023: https://en.wikipedia.org/wiki/Croatian_kuna + */ + protected static $currencyCode = [ + 'AED', + 'AFN', + 'ALL', + 'AMD', + 'ANG', + 'AOA', + 'ARS', + 'AUD', + 'AWG', + 'AZN', + 'BAM', + 'BBD', + 'BDT', + 'BGN', + 'BHD', + 'BIF', + 'BMD', + 'BND', + 'BOB', + 'BRL', + 'BSD', + 'BTN', + 'BWP', + 'BYN', + 'BZD', + 'CAD', + 'CDF', + 'CHF', + 'CLP', + 'CNY', + 'COP', + 'CRC', + 'CUC', + 'CUP', + 'CVE', + 'CZK', + 'DJF', + 'DKK', + 'DOP', + 'DZD', + 'EGP', + 'ERN', + 'ETB', + 'EUR', + 'FJD', + 'FKP', + 'GBP', + 'GEL', + 'GHS', + 'GIP', + 'GMD', + 'GNF', + 'GTQ', + 'GYD', + 'HKD', + 'HNL', + 'HTG', + 'HUF', + 'IDR', + 'ILS', + 'INR', + 'IQD', + 'IRR', + 'ISK', + 'JMD', + 'JOD', + 'JPY', + 'KES', + 'KGS', + 'KHR', + 'KMF', + 'KPW', + 'KRW', + 'KWD', + 'KYD', + 'KZT', + 'LAK', + 'LBP', + 'LKR', + 'LRD', + 'LSL', + 'LYD', + 'MAD', + 'MDL', + 'MGA', + 'MKD', + 'MMK', + 'MNT', + 'MOP', + 'MRU', + 'MUR', + 'MVR', + 'MWK', + 'MXN', + 'MYR', + 'MZN', + 'NAD', + 'NGN', + 'NIO', + 'NOK', + 'NPR', + 'NZD', + 'OMR', + 'PAB', + 'PEN', + 'PGK', + 'PHP', + 'PKR', + 'PLN', + 'PYG', + 'QAR', + 'RON', + 'RSD', + 'RUB', + 'RWF', + 'SAR', + 'SBD', + 'SCR', + 'SDG', + 'SEK', + 'SGD', + 'SHP', + 'SLL', + 'SOS', + 'SRD', + 'SSP', + 'STN', + 'SYP', + 'SZL', + 'THB', + 'TJS', + 'TMT', + 'TND', + 'TOP', + 'TRY', + 'TTD', + 'TWD', + 'TZS', + 'UAH', + 'UGX', + 'USD', + 'UYU', + 'UZS', + 'VES', + 'VND', + 'VUV', + 'WST', + 'XAF', + 'XCD', + 'XOF', + 'XPF', + 'YER', + 'ZAR', + 'ZMW', + ]; - /** - * Return a boolean, true or false. - * - * @param int $chanceOfGettingTrue Between 0 (always get false) and 100 (always get true) - * - * @return bool - * - * @example true - */ - public static function boolean($chanceOfGettingTrue = 50) - { - return self::numberBetween(1, 100) <= $chanceOfGettingTrue; - } + /** + * Return a boolean, true or false. + * + * @param int $chanceOfGettingTrue Between 0 (always get false) and 100 (always get true) + * + * @return bool + * + * @example true + */ + public static function boolean( $chanceOfGettingTrue = 50 ) { + return self::numberBetween( 1, 100 ) <= $chanceOfGettingTrue; + } - /** - * @example 'cfcd208495d565ef66e7dff9f98764da' - * - * @return string - */ - public static function md5() - { - return md5(self::numberBetween()); - } + /** + * @return string + * @example 'cfcd208495d565ef66e7dff9f98764da' + * + */ + public static function md5() { + return md5( self::numberBetween() ); + } - /** - * @example 'b5d86317c2a144cd04d0d7c03b2b02666fafadf2' - * - * @return string - */ - public static function sha1() - { - return sha1(self::numberBetween()); - } + /** + * @return string + * @example 'b5d86317c2a144cd04d0d7c03b2b02666fafadf2' + * + */ + public static function sha1() { + return sha1( self::numberBetween() ); + } - /** - * @example '85086017559ccc40638fcde2fecaf295e0de7ca51b7517b6aebeaaf75b4d4654' - * - * @return string - */ - public static function sha256() - { - return hash('sha256', self::numberBetween()); - } + /** + * @return string + * @example '85086017559ccc40638fcde2fecaf295e0de7ca51b7517b6aebeaaf75b4d4654' + * + */ + public static function sha256() { + return hash( 'sha256', self::numberBetween() ); + } - /** - * @example 'fr_FR' - * - * @return string - */ - public static function locale() - { - return static::randomElement(static::$localeData); - } + /** + * @return string + * @example 'fr_FR' + * + */ + public static function locale() { + return static::randomElement( static::$localeData ); + } - /** - * @example 'FR' - * - * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - * - * @return string - */ - public static function countryCode() - { - return static::randomElement(static::$countryCode); - } + /** + * @return string + * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 + * + * @example 'FR' + * + */ + public static function countryCode() { + return static::randomElement( static::$countryCode ); + } - /** - * @example 'FRA' - * - * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 - * - * @return string - */ - public static function countryISOAlpha3() - { - return static::randomElement(static::$countryISOAlpha3); - } + /** + * @return string + * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3 + * + * @example 'FRA' + * + */ + public static function countryISOAlpha3() { + return static::randomElement( static::$countryISOAlpha3 ); + } - /** - * @example 'fr' - * - * @return string - */ - public static function languageCode() - { - return static::randomElement(static::$languageCode); - } + /** + * @return string + * @example 'fr' + * + */ + public static function languageCode() { + return static::randomElement( static::$languageCode ); + } - /** - * @example 'EUR' - * - * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - * - * @return string - */ - public static function currencyCode() - { - return static::randomElement(static::$currencyCode); - } + /** + * @return string + * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 + * + * @example 'EUR' + * + */ + public static function currencyCode() { + return static::randomElement( static::$currencyCode ); + } - /** - * Returns an Emoji (Unicode character between U+1F600 and U+1F637). - * - * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks - * - * @return string - */ - public static function emoji() - { - return static::randomElement(static::$emoji); - } + /** + * Returns an Emoji (Unicode character between U+1F600 and U+1F637). + * + * @see https://en.wikipedia.org/wiki/Emoji#Unicode_blocks + * + * @return string + */ + public static function emoji() { + return static::randomElement( static::$emoji ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/Payment.php index 707ef05..e057ebc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Payment.php @@ -5,308 +5,311 @@ use Faker\Calculator\Iban; use Faker\Calculator\Luhn; -class Payment extends Base -{ - public static $expirationDateFormat = 'm/y'; - - protected static $cardVendors = [ - 'Visa', 'Visa', 'Visa', 'Visa', 'Visa', - 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', - 'American Express', 'Discover Card', 'Visa Retired', 'JCB', - ]; - - /** - * @var array List of card brand masks for generating valid credit card numbers - * - * @see https://en.wikipedia.org/wiki/Payment_card_number Reference for existing prefixes - * @see https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html MasterCard 2017 2-Series BIN Expansion - */ - protected static $cardParams = [ - 'Visa' => [ - '4539###########', - '4556###########', - '4916###########', - '4532###########', - '4929###########', - '40240071#######', - '4485###########', - '4716###########', - '4##############', - ], - 'Visa Retired' => [ - '4539########', - '4556########', - '4916########', - '4532########', - '4929########', - '40240071####', - '4485########', - '4716########', - '4###########', - ], - 'MasterCard' => [ - '2221###########', - '23#############', - '24#############', - '25#############', - '26#############', - '2720###########', - '51#############', - '52#############', - '53#############', - '54#############', - '55#############', - ], - 'American Express' => [ - '34############', - '37############', - ], - 'Discover Card' => [ - '6011###########', - ], - 'JCB' => [ - '3528###########', - '3589###########', - ], - ]; - - /** - * @var array list of IBAN formats, source: @see https://www.swift.com/standards/data-standards/iban - */ - protected static $ibanFormats = [ - 'AD' => [['n', 4], ['n', 4], ['c', 12]], - 'AE' => [['n', 3], ['n', 16]], - 'AL' => [['n', 8], ['c', 16]], - 'AT' => [['n', 5], ['n', 11]], - 'AZ' => [['a', 4], ['c', 20]], - 'BA' => [['n', 3], ['n', 3], ['n', 8], ['n', 2]], - 'BE' => [['n', 3], ['n', 7], ['n', 2]], - 'BG' => [['a', 4], ['n', 4], ['n', 2], ['c', 8]], - 'BH' => [['a', 4], ['c', 14]], - 'BR' => [['n', 8], ['n', 5], ['n', 10], ['a', 1], ['c', 1]], - 'CH' => [['n', 5], ['c', 12]], - 'CR' => [['n', 4], ['n', 14]], - 'CY' => [['n', 3], ['n', 5], ['c', 16]], - 'CZ' => [['n', 4], ['n', 6], ['n', 10]], - 'DE' => [['n', 8], ['n', 10]], - 'DK' => [['n', 4], ['n', 9], ['n', 1]], - 'DO' => [['c', 4], ['n', 20]], - 'EE' => [['n', 2], ['n', 2], ['n', 11], ['n', 1]], - 'EG' => [['n', 4], ['n', 4], ['n', 17]], - 'ES' => [['n', 4], ['n', 4], ['n', 1], ['n', 1], ['n', 10]], - 'FI' => [['n', 6], ['n', 7], ['n', 1]], - 'FR' => [['n', 5], ['n', 5], ['c', 11], ['n', 2]], - 'GB' => [['a', 4], ['n', 6], ['n', 8]], - 'GE' => [['a', 2], ['n', 16]], - 'GI' => [['a', 4], ['c', 15]], - 'GR' => [['n', 3], ['n', 4], ['c', 16]], - 'GT' => [['c', 4], ['c', 20]], - 'HR' => [['n', 7], ['n', 10]], - 'HU' => [['n', 3], ['n', 4], ['n', 1], ['n', 15], ['n', 1]], - 'IE' => [['a', 4], ['n', 6], ['n', 8]], - 'IL' => [['n', 3], ['n', 3], ['n', 13]], - 'IS' => [['n', 4], ['n', 2], ['n', 6], ['n', 10]], - 'IT' => [['a', 1], ['n', 5], ['n', 5], ['c', 12]], - 'KW' => [['a', 4], ['n', 22]], - 'KZ' => [['n', 3], ['c', 13]], - 'LB' => [['n', 4], ['c', 20]], - 'LI' => [['n', 5], ['c', 12]], - 'LT' => [['n', 5], ['n', 11]], - 'LU' => [['n', 3], ['c', 13]], - 'LV' => [['a', 4], ['c', 13]], - 'MC' => [['n', 5], ['n', 5], ['c', 11], ['n', 2]], - 'MD' => [['c', 2], ['c', 18]], - 'ME' => [['n', 3], ['n', 13], ['n', 2]], - 'MK' => [['n', 3], ['c', 10], ['n', 2]], - 'MR' => [['n', 5], ['n', 5], ['n', 11], ['n', 2]], - 'MT' => [['a', 4], ['n', 5], ['c', 18]], - 'MU' => [['a', 4], ['n', 2], ['n', 2], ['n', 12], ['n', 3], ['a', 3]], - 'NL' => [['a', 4], ['n', 10]], - 'NO' => [['n', 4], ['n', 6], ['n', 1]], - 'PK' => [['a', 4], ['c', 16]], - 'PL' => [['n', 8], ['n', 16]], - 'PS' => [['a', 4], ['c', 21]], - 'PT' => [['n', 4], ['n', 4], ['n', 11], ['n', 2]], - 'RO' => [['a', 4], ['c', 16]], - 'RS' => [['n', 3], ['n', 13], ['n', 2]], - 'SA' => [['n', 2], ['c', 18]], - 'SE' => [['n', 3], ['n', 16], ['n', 1]], - 'SI' => [['n', 5], ['n', 8], ['n', 2]], - 'SK' => [['n', 4], ['n', 6], ['n', 10]], - 'SM' => [['a', 1], ['n', 5], ['n', 5], ['c', 12]], - 'TN' => [['n', 2], ['n', 3], ['n', 13], ['n', 2]], - 'TR' => [['n', 5], ['n', 1], ['c', 16]], - 'VG' => [['a', 4], ['n', 16]], - ]; - - /** - * @return string Returns a credit card vendor name - * - * @example 'MasterCard' - */ - public static function creditCardType() - { - return static::randomElement(static::$cardVendors); - } - - /** - * Returns the String of a credit card number. - * - * @param string $type Supporting any of 'Visa', 'MasterCard', 'American Express', 'Discover' and 'JCB' - * @param bool $formatted Set to true if the output string should contain one separator every 4 digits - * @param string $separator Separator string for formatting card number. Defaults to dash (-). - * - * @return string - * - * @example '4485480221084675' - */ - public static function creditCardNumber($type = null, $formatted = false, $separator = '-') - { - if (null === $type) { - $type = static::creditCardType(); - } - $mask = static::randomElement(static::$cardParams[$type]); - - $number = static::numerify($mask); - $number .= Luhn::computeCheckDigit($number); - - if ($formatted) { - $p1 = substr($number, 0, 4); - $p2 = substr($number, 4, 4); - $p3 = substr($number, 8, 4); - $p4 = substr($number, 12); - $number = $p1 . $separator . $p2 . $separator . $p3 . $separator . $p4; - } - - return $number; - } - - /** - * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date - * - * @return \DateTime - * - * @example 04/13 - */ - public function creditCardExpirationDate($valid = true) - { - if ($valid) { - return $this->generator->dateTimeBetween('now', '36 months'); - } - - return $this->generator->dateTimeBetween('-36 months', '36 months'); - } - - /** - * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date - * @param string $expirationDateFormat - * - * @return string - * - * @example '04/13' - */ - public function creditCardExpirationDateString($valid = true, $expirationDateFormat = null) - { - return $this->creditCardExpirationDate($valid)->format(null === $expirationDateFormat ? static::$expirationDateFormat : $expirationDateFormat); - } - - /** - * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date - * - * @return array - */ - public function creditCardDetails($valid = true) - { - $type = static::creditCardType(); - - return [ - 'type' => $type, - 'number' => static::creditCardNumber($type), - 'name' => $this->generator->name(), - 'expirationDate' => $this->creditCardExpirationDateString($valid), - ]; - } - - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param string $prefix for generating bank account number of a specific bank - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function iban($countryCode = null, $prefix = '', $length = null) - { - $countryCode = null === $countryCode ? self::randomKey(self::$ibanFormats) : strtoupper($countryCode); - - $format = !isset(static::$ibanFormats[$countryCode]) ? null : static::$ibanFormats[$countryCode]; - - if ($length === null) { - if ($format === null) { - $length = 24; - } else { - $length = 0; - - foreach ($format as $part) { - [$class, $groupCount] = $part; - $length += $groupCount; - } - } - } - - if ($format === null) { - $format = [['n', $length]]; - } - - $expandedFormat = ''; - - foreach ($format as $item) { - [$class, $length] = $item; - $expandedFormat .= str_repeat($class, $length); - } - - $result = $prefix; - $expandedFormat = substr($expandedFormat, strlen($result)); - - foreach (str_split($expandedFormat) as $class) { - switch ($class) { - default: - case 'c': - $result .= Miscellaneous::boolean() ? static::randomDigit() : strtoupper(static::randomLetter()); - - break; - - case 'a': - $result .= strtoupper(static::randomLetter()); - - break; - - case 'n': - $result .= static::randomDigit(); - - break; - } - } - - $checksum = Iban::checksum($countryCode . '00' . $result); - - return $countryCode . $checksum . $result; - } - - /** - * Return the String of a SWIFT/BIC number - * - * @example 'RZTIAT22263' - * - * @see http://en.wikipedia.org/wiki/ISO_9362 - * - * @return string Swift/Bic number - */ - public static function swiftBicNumber() - { - return self::regexify('^([A-Z]){4}([A-Z]){2}([0-9A-Z]){2}([0-9A-Z]{3})?$'); - } +class Payment extends Base { + public static $expirationDateFormat = 'm/y'; + + protected static $cardVendors = [ + 'Visa', + 'Visa', + 'Visa', + 'Visa', + 'Visa', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'American Express', + 'Discover Card', + 'Visa Retired', + 'JCB', + ]; + + /** + * @var array List of card brand masks for generating valid credit card numbers + * + * @see https://en.wikipedia.org/wiki/Payment_card_number Reference for existing prefixes + * @see https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html MasterCard 2017 2-Series BIN Expansion + */ + protected static $cardParams = [ + 'Visa' => [ + '4539###########', + '4556###########', + '4916###########', + '4532###########', + '4929###########', + '40240071#######', + '4485###########', + '4716###########', + '4##############', + ], + 'Visa Retired' => [ + '4539########', + '4556########', + '4916########', + '4532########', + '4929########', + '40240071####', + '4485########', + '4716########', + '4###########', + ], + 'MasterCard' => [ + '2221###########', + '23#############', + '24#############', + '25#############', + '26#############', + '2720###########', + '51#############', + '52#############', + '53#############', + '54#############', + '55#############', + ], + 'American Express' => [ + '34############', + '37############', + ], + 'Discover Card' => [ + '6011###########', + ], + 'JCB' => [ + '3528###########', + '3589###########', + ], + ]; + + /** + * @var array list of IBAN formats, source: @see https://www.swift.com/standards/data-standards/iban + */ + protected static $ibanFormats = [ + 'AD' => [ [ 'n', 4 ], [ 'n', 4 ], [ 'c', 12 ] ], + 'AE' => [ [ 'n', 3 ], [ 'n', 16 ] ], + 'AL' => [ [ 'n', 8 ], [ 'c', 16 ] ], + 'AT' => [ [ 'n', 5 ], [ 'n', 11 ] ], + 'AZ' => [ [ 'a', 4 ], [ 'c', 20 ] ], + 'BA' => [ [ 'n', 3 ], [ 'n', 3 ], [ 'n', 8 ], [ 'n', 2 ] ], + 'BE' => [ [ 'n', 3 ], [ 'n', 7 ], [ 'n', 2 ] ], + 'BG' => [ [ 'a', 4 ], [ 'n', 4 ], [ 'n', 2 ], [ 'c', 8 ] ], + 'BH' => [ [ 'a', 4 ], [ 'c', 14 ] ], + 'BR' => [ [ 'n', 8 ], [ 'n', 5 ], [ 'n', 10 ], [ 'a', 1 ], [ 'c', 1 ] ], + 'CH' => [ [ 'n', 5 ], [ 'c', 12 ] ], + 'CR' => [ [ 'n', 4 ], [ 'n', 14 ] ], + 'CY' => [ [ 'n', 3 ], [ 'n', 5 ], [ 'c', 16 ] ], + 'CZ' => [ [ 'n', 4 ], [ 'n', 6 ], [ 'n', 10 ] ], + 'DE' => [ [ 'n', 8 ], [ 'n', 10 ] ], + 'DK' => [ [ 'n', 4 ], [ 'n', 9 ], [ 'n', 1 ] ], + 'DO' => [ [ 'c', 4 ], [ 'n', 20 ] ], + 'EE' => [ [ 'n', 2 ], [ 'n', 2 ], [ 'n', 11 ], [ 'n', 1 ] ], + 'EG' => [ [ 'n', 4 ], [ 'n', 4 ], [ 'n', 17 ] ], + 'ES' => [ [ 'n', 4 ], [ 'n', 4 ], [ 'n', 1 ], [ 'n', 1 ], [ 'n', 10 ] ], + 'FI' => [ [ 'n', 6 ], [ 'n', 7 ], [ 'n', 1 ] ], + 'FR' => [ [ 'n', 5 ], [ 'n', 5 ], [ 'c', 11 ], [ 'n', 2 ] ], + 'GB' => [ [ 'a', 4 ], [ 'n', 6 ], [ 'n', 8 ] ], + 'GE' => [ [ 'a', 2 ], [ 'n', 16 ] ], + 'GI' => [ [ 'a', 4 ], [ 'c', 15 ] ], + 'GR' => [ [ 'n', 3 ], [ 'n', 4 ], [ 'c', 16 ] ], + 'GT' => [ [ 'c', 4 ], [ 'c', 20 ] ], + 'HR' => [ [ 'n', 7 ], [ 'n', 10 ] ], + 'HU' => [ [ 'n', 3 ], [ 'n', 4 ], [ 'n', 1 ], [ 'n', 15 ], [ 'n', 1 ] ], + 'IE' => [ [ 'a', 4 ], [ 'n', 6 ], [ 'n', 8 ] ], + 'IL' => [ [ 'n', 3 ], [ 'n', 3 ], [ 'n', 13 ] ], + 'IS' => [ [ 'n', 4 ], [ 'n', 2 ], [ 'n', 6 ], [ 'n', 10 ] ], + 'IT' => [ [ 'a', 1 ], [ 'n', 5 ], [ 'n', 5 ], [ 'c', 12 ] ], + 'KW' => [ [ 'a', 4 ], [ 'n', 22 ] ], + 'KZ' => [ [ 'n', 3 ], [ 'c', 13 ] ], + 'LB' => [ [ 'n', 4 ], [ 'c', 20 ] ], + 'LI' => [ [ 'n', 5 ], [ 'c', 12 ] ], + 'LT' => [ [ 'n', 5 ], [ 'n', 11 ] ], + 'LU' => [ [ 'n', 3 ], [ 'c', 13 ] ], + 'LV' => [ [ 'a', 4 ], [ 'c', 13 ] ], + 'MC' => [ [ 'n', 5 ], [ 'n', 5 ], [ 'c', 11 ], [ 'n', 2 ] ], + 'MD' => [ [ 'c', 2 ], [ 'c', 18 ] ], + 'ME' => [ [ 'n', 3 ], [ 'n', 13 ], [ 'n', 2 ] ], + 'MK' => [ [ 'n', 3 ], [ 'c', 10 ], [ 'n', 2 ] ], + 'MR' => [ [ 'n', 5 ], [ 'n', 5 ], [ 'n', 11 ], [ 'n', 2 ] ], + 'MT' => [ [ 'a', 4 ], [ 'n', 5 ], [ 'c', 18 ] ], + 'MU' => [ [ 'a', 4 ], [ 'n', 2 ], [ 'n', 2 ], [ 'n', 12 ], [ 'n', 3 ], [ 'a', 3 ] ], + 'NL' => [ [ 'a', 4 ], [ 'n', 10 ] ], + 'NO' => [ [ 'n', 4 ], [ 'n', 6 ], [ 'n', 1 ] ], + 'PK' => [ [ 'a', 4 ], [ 'c', 16 ] ], + 'PL' => [ [ 'n', 8 ], [ 'n', 16 ] ], + 'PS' => [ [ 'a', 4 ], [ 'c', 21 ] ], + 'PT' => [ [ 'n', 4 ], [ 'n', 4 ], [ 'n', 11 ], [ 'n', 2 ] ], + 'RO' => [ [ 'a', 4 ], [ 'c', 16 ] ], + 'RS' => [ [ 'n', 3 ], [ 'n', 13 ], [ 'n', 2 ] ], + 'SA' => [ [ 'n', 2 ], [ 'c', 18 ] ], + 'SE' => [ [ 'n', 3 ], [ 'n', 16 ], [ 'n', 1 ] ], + 'SI' => [ [ 'n', 5 ], [ 'n', 8 ], [ 'n', 2 ] ], + 'SK' => [ [ 'n', 4 ], [ 'n', 6 ], [ 'n', 10 ] ], + 'SM' => [ [ 'a', 1 ], [ 'n', 5 ], [ 'n', 5 ], [ 'c', 12 ] ], + 'TN' => [ [ 'n', 2 ], [ 'n', 3 ], [ 'n', 13 ], [ 'n', 2 ] ], + 'TR' => [ [ 'n', 5 ], [ 'n', 1 ], [ 'c', 16 ] ], + 'VG' => [ [ 'a', 4 ], [ 'n', 16 ] ], + ]; + + /** + * @return string Returns a credit card vendor name + * + * @example 'MasterCard' + */ + public static function creditCardType() { + return static::randomElement( static::$cardVendors ); + } + + /** + * Returns the String of a credit card number. + * + * @param string $type Supporting any of 'Visa', 'MasterCard', 'American Express', 'Discover' and 'JCB' + * @param bool $formatted Set to true if the output string should contain one separator every 4 digits + * @param string $separator Separator string for formatting card number. Defaults to dash (-). + * + * @return string + * + * @example '4485480221084675' + */ + public static function creditCardNumber( $type = null, $formatted = false, $separator = '-' ) { + if ( null === $type ) { + $type = static::creditCardType(); + } + $mask = static::randomElement( static::$cardParams[ $type ] ); + + $number = static::numerify( $mask ); + $number .= Luhn::computeCheckDigit( $number ); + + if ( $formatted ) { + $p1 = substr( $number, 0, 4 ); + $p2 = substr( $number, 4, 4 ); + $p3 = substr( $number, 8, 4 ); + $p4 = substr( $number, 12 ); + $number = $p1 . $separator . $p2 . $separator . $p3 . $separator . $p4; + } + + return $number; + } + + /** + * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date + * + * @return \DateTime + * + * @example 04/13 + */ + public function creditCardExpirationDate( $valid = true ) { + if ( $valid ) { + return $this->generator->dateTimeBetween( 'now', '36 months' ); + } + + return $this->generator->dateTimeBetween( '-36 months', '36 months' ); + } + + /** + * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date + * @param string $expirationDateFormat + * + * @return string + * + * @example '04/13' + */ + public function creditCardExpirationDateString( $valid = true, $expirationDateFormat = null ) { + return $this->creditCardExpirationDate( $valid )->format( null === $expirationDateFormat ? static::$expirationDateFormat : $expirationDateFormat ); + } + + /** + * @param bool $valid True (by default) to get a valid expiration date, false to get a maybe valid date + * + * @return array + */ + public function creditCardDetails( $valid = true ) { + $type = static::creditCardType(); + + return [ + 'type' => $type, + 'number' => static::creditCardNumber( $type ), + 'name' => $this->generator->name(), + 'expirationDate' => $this->creditCardExpirationDateString( $valid ), + ]; + } + + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param string $prefix for generating bank account number of a specific bank + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function iban( $countryCode = null, $prefix = '', $length = null ) { + $countryCode = null === $countryCode ? self::randomKey( self::$ibanFormats ) : strtoupper( $countryCode ); + + $format = ! isset( static::$ibanFormats[ $countryCode ] ) ? null : static::$ibanFormats[ $countryCode ]; + + if ( $length === null ) { + if ( $format === null ) { + $length = 24; + } else { + $length = 0; + + foreach ( $format as $part ) { + [ $class, $groupCount ] = $part; + $length += $groupCount; + } + } + } + + if ( $format === null ) { + $format = [ [ 'n', $length ] ]; + } + + $expandedFormat = ''; + + foreach ( $format as $item ) { + [ $class, $length ] = $item; + $expandedFormat .= str_repeat( $class, $length ); + } + + $result = $prefix; + $expandedFormat = substr( $expandedFormat, strlen( $result ) ); + + foreach ( str_split( $expandedFormat ) as $class ) { + switch ( $class ) { + default: + case 'c': + $result .= Miscellaneous::boolean() ? static::randomDigit() : strtoupper( static::randomLetter() ); + + break; + + case 'a': + $result .= strtoupper( static::randomLetter() ); + + break; + + case 'n': + $result .= static::randomDigit(); + + break; + } + } + + $checksum = Iban::checksum( $countryCode . '00' . $result ); + + return $countryCode . $checksum . $result; + } + + /** + * Return the String of a SWIFT/BIC number + * + * @return string Swift/Bic number + * @see http://en.wikipedia.org/wiki/ISO_9362 + * + * @example 'RZTIAT22263' + * + */ + public static function swiftBicNumber() { + return self::regexify( '^([A-Z]){4}([A-Z]){2}([0-9A-Z]){2}([0-9A-Z]{3})?$' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Person.php b/lib/fakerphp/faker/src/Faker/Provider/Person.php index c11a72b..486c57e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Person.php @@ -2,146 +2,137 @@ namespace Faker\Provider; -class Person extends Base -{ - public const GENDER_MALE = 'male'; - public const GENDER_FEMALE = 'female'; - - protected static $titleFormat = [ - '{{titleMale}}', - '{{titleFemale}}', - ]; - - protected static $firstNameFormat = [ - '{{firstNameMale}}', - '{{firstNameFemale}}', - ]; - - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'John', - ]; - - protected static $firstNameFemale = [ - 'Jane', - ]; - - protected static $lastName = ['Doe']; - - protected static $titleMale = ['Mr.', 'Dr.', 'Prof.']; - - protected static $titleFemale = ['Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.']; - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - * - * @example 'John Doe' - */ - public function name($gender = null) - { - if ($gender === static::GENDER_MALE) { - $format = static::randomElement(static::$maleNameFormats); - } elseif ($gender === static::GENDER_FEMALE) { - $format = static::randomElement(static::$femaleNameFormats); - } else { - $format = static::randomElement(array_merge(static::$maleNameFormats, static::$femaleNameFormats)); - } - - return $this->generator->parse($format); - } - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - * - * @example 'John' - */ - public function firstName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::firstNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::firstNameFemale(); - } - - return $this->generator->parse(static::randomElement(static::$firstNameFormat)); - } - - /** - * @return string - */ - public static function firstNameMale() - { - return static::randomElement(static::$firstNameMale); - } - - /** - * @return string - */ - public static function firstNameFemale() - { - return static::randomElement(static::$firstNameFemale); - } - - /** - * @example 'Doe' - * - * @return string - */ - public function lastName() - { - return static::randomElement(static::$lastName); - } - - /** - * @example 'Mrs.' - * - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - */ - public function title($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::titleMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::titleFemale(); - } - - return $this->generator->parse(static::randomElement(static::$titleFormat)); - } - - /** - * @example 'Mr.' - * - * @return string - */ - public static function titleMale() - { - return static::randomElement(static::$titleMale); - } - - /** - * @example 'Mrs.' - * - * @return string - */ - public static function titleFemale() - { - return static::randomElement(static::$titleFemale); - } +class Person extends Base { + public const GENDER_MALE = 'male'; + public const GENDER_FEMALE = 'female'; + + protected static $titleFormat = [ + '{{titleMale}}', + '{{titleFemale}}', + ]; + + protected static $firstNameFormat = [ + '{{firstNameMale}}', + '{{firstNameFemale}}', + ]; + + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'John', + ]; + + protected static $firstNameFemale = [ + 'Jane', + ]; + + protected static $lastName = [ 'Doe' ]; + + protected static $titleMale = [ 'Mr.', 'Dr.', 'Prof.' ]; + + protected static $titleFemale = [ 'Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.' ]; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * + * @example 'John Doe' + */ + public function name( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + $format = static::randomElement( static::$maleNameFormats ); + } elseif ( $gender === static::GENDER_FEMALE ) { + $format = static::randomElement( static::$femaleNameFormats ); + } else { + $format = static::randomElement( array_merge( static::$maleNameFormats, static::$femaleNameFormats ) ); + } + + return $this->generator->parse( $format ); + } + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * + * @example 'John' + */ + public function firstName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::firstNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::firstNameFemale(); + } + + return $this->generator->parse( static::randomElement( static::$firstNameFormat ) ); + } + + /** + * @return string + */ + public static function firstNameMale() { + return static::randomElement( static::$firstNameMale ); + } + + /** + * @return string + */ + public static function firstNameFemale() { + return static::randomElement( static::$firstNameFemale ); + } + + /** + * @return string + * @example 'Doe' + * + */ + public function lastName() { + return static::randomElement( static::$lastName ); + } + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * @example 'Mrs.' + * + */ + public function title( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::titleMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::titleFemale(); + } + + return $this->generator->parse( static::randomElement( static::$titleFormat ) ); + } + + /** + * @return string + * @example 'Mr.' + * + */ + public static function titleMale() { + return static::randomElement( static::$titleMale ); + } + + /** + * @return string + * @example 'Mrs.' + * + */ + public static function titleFemale() { + return static::randomElement( static::$titleFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/PhoneNumber.php index 515ef57..c7b1cba 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/PhoneNumber.php @@ -4,267 +4,263 @@ use Faker\Calculator\Luhn; -class PhoneNumber extends Base -{ - protected static $formats = ['###-###-###']; +class PhoneNumber extends Base { + protected static $formats = [ '###-###-###' ]; - /** - * @see https://github.com/giggsey/libphonenumber-for-php/blob/master/src/CountryCodeToRegionCodeMap.php - * @see https://libphonenumber.appspot.com/phonenumberparser?number=%2B4576597442 - */ - protected static $e164Formats = [ - '+1##########', - '+7##########', - '+20##########', - '+27##########', - '+30##########', - '+31##########', - '+32#########', - '+33#########', - '+34#########', - '+36#########', - '+39##########', - '+40#########', - '+41#########', - '+43##########', - '+44##########', - '+45########', - '+46##########', - '+47########', - '+48##########', - '+49##########', - '+51#########', - '+52##########', - '+53##########', - '+54##########', - '+55#########', - '+56##########', - '+57##########', - '+58##########', - '+60##########', - '+61##########', - '+62##########', - '+63##########', - '+64##########', - '+65##########', - '+66##########', - '+81##########', - '+82##########', - '+84##########', - '+86##########', - '+90##########', - '+91##########', - '+92##########', - '+93#########', - '+94#########', - '+95##########', - '+98##########', - '+211#########', - '+212#########', - '+213#########', - '+216########', - '+218#########', - '+220#######', - '+221#########', - '+222########', - '+223########', - '+224#########', - '+225##########', - '+226########', - '+227########', - '+228########', - '+229########', - '+230########', - '+231#########', - '+232########', - '+233#########', - '+234##########', - '+235########', - '+236########', - '+237#########', - '+238#######', - '+239#######', - '+240#########', - '+241########', - '+242#########', - '+243#########', - '+244#########', - '+245#########', - '+246#######', - '+247######', - '+248#######', - '+249#########', - '+250#########', - '+251#########', - '+252#########', - '+253########', - '+254##########', - '+255#########', - '+256#########', - '+257########', - '+258#########', - '+260#########', - '+261#########', - '+262#########', - '+263##########', - '+264#########', - '+265#########', - '+266########', - '+267##########', - '+268#########', - '+269#######', - '+290#####', - '+291#######', - '+297#######', - '+298######', - '+299######', - '+350########', - '+351#########', - '+352##########', - '+353##########', - '+354#########', - '+355#########', - '+356########', - '+357########', - '+358##########', - '+359#########', - '+370########', - '+371########', - '+372##########', - '+373########', - '+374########', - '+375##########', - '+376#########', - '+377#########', - '+378##########', - '+380##########', - '+381##########', - '+382#########', - '+383#########', - '+385#########', - '+386########', - '+387#########', - '+389########', - '+420#########', - '+421#########', - '+423#########', - '+500#####', - '+501#######', - '+502########', - '+503########', - '+504########', - '+505########', - '+506########', - '+507##########', - '+508#########', - '+509########', - '+590#########', - '+591#########', - '+592#######', - '+593##########', - '+594#########', - '+595##########', - '+596#########', - '+597#######', - '+598##########', - '+599########', - '+670########', - '+672######', - '+673#######', - '+674#######', - '+675########', - '+676#######', - '+677#######', - '+678#######', - '+679#######', - '+680#######', - '+681#########', - '+682#####', - '+683#######', - '+685##########', - '+686########', - '+687######', - '+688#######', - '+689#########', - '+690#######', - '+691#######', - '+692#######', - '+800########', - '+808########', - '+850##########', - '+852#########', - '+853########', - '+855##########', - '+856##########', - '+870#########', - '+878############', - '+880##########', - '+881#########', - '+882##########', - '+883#########', - '+886##########', - '+888###########', - '+960##########', - '+961########', - '+962#########', - '+963#########', - '+964##########', - '+965########', - '+966##########', - '+967#########', - '+968#########', - '+970##########', - '+971##########', - '+972##########', - '+973########', - '+974########', - '+975########', - '+976##########', - '+977##########', - '+979#########', - '+992#########', - '+993########', - '+994#########', - '+995#########', - '+996#########', - '+998#########', - ]; + /** + * @see https://github.com/giggsey/libphonenumber-for-php/blob/master/src/CountryCodeToRegionCodeMap.php + * @see https://libphonenumber.appspot.com/phonenumberparser?number=%2B4576597442 + */ + protected static $e164Formats = [ + '+1##########', + '+7##########', + '+20##########', + '+27##########', + '+30##########', + '+31##########', + '+32#########', + '+33#########', + '+34#########', + '+36#########', + '+39##########', + '+40#########', + '+41#########', + '+43##########', + '+44##########', + '+45########', + '+46##########', + '+47########', + '+48##########', + '+49##########', + '+51#########', + '+52##########', + '+53##########', + '+54##########', + '+55#########', + '+56##########', + '+57##########', + '+58##########', + '+60##########', + '+61##########', + '+62##########', + '+63##########', + '+64##########', + '+65##########', + '+66##########', + '+81##########', + '+82##########', + '+84##########', + '+86##########', + '+90##########', + '+91##########', + '+92##########', + '+93#########', + '+94#########', + '+95##########', + '+98##########', + '+211#########', + '+212#########', + '+213#########', + '+216########', + '+218#########', + '+220#######', + '+221#########', + '+222########', + '+223########', + '+224#########', + '+225##########', + '+226########', + '+227########', + '+228########', + '+229########', + '+230########', + '+231#########', + '+232########', + '+233#########', + '+234##########', + '+235########', + '+236########', + '+237#########', + '+238#######', + '+239#######', + '+240#########', + '+241########', + '+242#########', + '+243#########', + '+244#########', + '+245#########', + '+246#######', + '+247######', + '+248#######', + '+249#########', + '+250#########', + '+251#########', + '+252#########', + '+253########', + '+254##########', + '+255#########', + '+256#########', + '+257########', + '+258#########', + '+260#########', + '+261#########', + '+262#########', + '+263##########', + '+264#########', + '+265#########', + '+266########', + '+267##########', + '+268#########', + '+269#######', + '+290#####', + '+291#######', + '+297#######', + '+298######', + '+299######', + '+350########', + '+351#########', + '+352##########', + '+353##########', + '+354#########', + '+355#########', + '+356########', + '+357########', + '+358##########', + '+359#########', + '+370########', + '+371########', + '+372##########', + '+373########', + '+374########', + '+375##########', + '+376#########', + '+377#########', + '+378##########', + '+380##########', + '+381##########', + '+382#########', + '+383#########', + '+385#########', + '+386########', + '+387#########', + '+389########', + '+420#########', + '+421#########', + '+423#########', + '+500#####', + '+501#######', + '+502########', + '+503########', + '+504########', + '+505########', + '+506########', + '+507##########', + '+508#########', + '+509########', + '+590#########', + '+591#########', + '+592#######', + '+593##########', + '+594#########', + '+595##########', + '+596#########', + '+597#######', + '+598##########', + '+599########', + '+670########', + '+672######', + '+673#######', + '+674#######', + '+675########', + '+676#######', + '+677#######', + '+678#######', + '+679#######', + '+680#######', + '+681#########', + '+682#####', + '+683#######', + '+685##########', + '+686########', + '+687######', + '+688#######', + '+689#########', + '+690#######', + '+691#######', + '+692#######', + '+800########', + '+808########', + '+850##########', + '+852#########', + '+853########', + '+855##########', + '+856##########', + '+870#########', + '+878############', + '+880##########', + '+881#########', + '+882##########', + '+883#########', + '+886##########', + '+888###########', + '+960##########', + '+961########', + '+962#########', + '+963#########', + '+964##########', + '+965########', + '+966##########', + '+967#########', + '+968#########', + '+970##########', + '+971##########', + '+972##########', + '+973########', + '+974########', + '+975########', + '+976##########', + '+977##########', + '+979#########', + '+992#########', + '+993########', + '+994#########', + '+995#########', + '+996#########', + '+998#########', + ]; - /** - * @example '555-123-546' - * - * @return string - */ - public function phoneNumber() - { - return static::numerify($this->generator->parse(static::randomElement(static::$formats))); - } + /** + * @return string + * @example '555-123-546' + * + */ + public function phoneNumber() { + return static::numerify( $this->generator->parse( static::randomElement( static::$formats ) ) ); + } - /** - * @example +11134567890 - * - * @return string - */ - public function e164PhoneNumber() - { - return static::numerify($this->generator->parse(static::randomElement(static::$e164Formats))); - } + /** + * @return string + * @example +11134567890 + * + */ + public function e164PhoneNumber() { + return static::numerify( $this->generator->parse( static::randomElement( static::$e164Formats ) ) ); + } - /** - * International Mobile Equipment Identity (IMEI) - * - * @see http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity - * @see http://imei-number.com/imei-validation-check/ - * - * @example '720084494799532' - * - * @return int $imei - */ - public function imei() - { - $imei = (string) static::numerify('##############'); - $imei .= Luhn::computeCheckDigit($imei); + /** + * International Mobile Equipment Identity (IMEI) + * + * @see http://en.wikipedia.org/wiki/International_Mobile_Station_Equipment_Identity + * @see http://imei-number.com/imei-validation-check/ + * + * @example '720084494799532' + * + * @return int $imei + */ + public function imei() { + $imei = (string) static::numerify( '##############' ); + $imei .= Luhn::computeCheckDigit( $imei ); - return $imei; - } + return $imei; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Text.php b/lib/fakerphp/faker/src/Faker/Provider/Text.php index 585d5b5..214f94f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Text.php @@ -2,201 +2,190 @@ namespace Faker\Provider; -abstract class Text extends Base -{ - protected static $baseText = ''; - protected static $separator = ' '; - protected static $separatorLen = 1; - protected $explodedText; - protected $consecutiveWords = []; - protected static $textStartsWithUppercase = true; - - /** - * Generate a text string by the Markov chain algorithm. - * - * Depending on the $maxNbChars, returns a random valid looking text. The algorithm - * generates a weighted table with the specified number of words as the index and the - * possible following words as the value. - * - * @example 'Alice, swallowing down her flamingo, and began by taking the little golden key' - * - * @param int $maxNbChars Maximum number of characters the text should contain (minimum: 10) - * @param int $indexSize Determines how many words are considered for the generation of the next word. - * The minimum is 1, and it produces a higher level of randomness, although the - * generated text usually doesn't make sense. Higher index sizes (up to 5) - * produce more correct text, at the price of less randomness. - * - * @return string - */ - public function realText($maxNbChars = 200, $indexSize = 2) - { - return $this->realTextBetween((int) round($maxNbChars * 0.8), $maxNbChars, $indexSize); - } - - /** - * Generate a text string by the Markov chain algorithm. - * - * Depending on the $maxNbChars, returns a random valid looking text. The algorithm - * generates a weighted table with the specified number of words as the index and the - * possible following words as the value. - * - * @example 'Alice, swallowing down her flamingo, and began by taking the little golden key' - * - * @param int $minNbChars Minimum number of characters the text should contain (maximum: 8) - * @param int $maxNbChars Maximum number of characters the text should contain (minimum: 10) - * @param int $indexSize Determines how many words are considered for the generation of the next word. - * The minimum is 1, and it produces a higher level of randomness, although the - * generated text usually doesn't make sense. Higher index sizes (up to 5) - * produce more correct text, at the price of less randomness. - * - * @return string - */ - public function realTextBetween($minNbChars = 160, $maxNbChars = 200, $indexSize = 2) - { - if ($minNbChars < 1) { - throw new \InvalidArgumentException('minNbChars must be at least 1'); - } - - if ($maxNbChars < 10) { - throw new \InvalidArgumentException('maxNbChars must be at least 10'); - } - - if ($indexSize < 1) { - throw new \InvalidArgumentException('indexSize must be at least 1'); - } - - if ($indexSize > 5) { - throw new \InvalidArgumentException('indexSize must be at most 5'); - } - - if ($minNbChars >= $maxNbChars) { - throw new \InvalidArgumentException('minNbChars must be smaller than maxNbChars'); - } - - $words = $this->getConsecutiveWords($indexSize); - $iterations = 0; - - do { - ++$iterations; - - if ($iterations >= 100) { - throw new \OverflowException(sprintf('Maximum retries of %d reached without finding a valid real text', $iterations)); - } - - $result = $this->generateText($maxNbChars, $words); - } while (static::strlen($result) <= $minNbChars); - - return $result; - } - - /** - * @param int $maxNbChars - * @param array $words - * - * @return string - */ - protected function generateText($maxNbChars, $words) - { - $result = []; - $resultLength = 0; - // take a random starting point - $next = static::randomKey($words); - - while ($resultLength < $maxNbChars && isset($words[$next])) { - // fetch a random word to append - $word = static::randomElement($words[$next]); - - // calculate next index - $currentWords = static::explode($next); - $currentWords[] = $word; - array_shift($currentWords); - $next = static::implode($currentWords); - - // ensure text starts with an uppercase letter - if ($resultLength == 0 && !static::validStart($word)) { - continue; - } - - // append the element - $result[] = $word; - $resultLength += static::strlen($word) + static::$separatorLen; - } - - // remove the element that caused the text to overflow - array_pop($result); - - // build result - $result = static::implode($result); - - return static::appendEnd($result); - } - - protected function getConsecutiveWords($indexSize) - { - if (!isset($this->consecutiveWords[$indexSize])) { - $parts = $this->getExplodedText(); - $words = []; - $index = []; - - for ($i = 0; $i < $indexSize; ++$i) { - $index[] = array_shift($parts); - } - - for ($i = 0, $count = count($parts); $i < $count; ++$i) { - $stringIndex = static::implode($index); - - if (!isset($words[$stringIndex])) { - $words[$stringIndex] = []; - } - $word = $parts[$i]; - $words[$stringIndex][] = $word; - array_shift($index); - $index[] = $word; - } - // cache look up words for performance - $this->consecutiveWords[$indexSize] = $words; - } - - return $this->consecutiveWords[$indexSize]; - } - - protected function getExplodedText() - { - if ($this->explodedText === null) { - $this->explodedText = static::explode(preg_replace('/\s+/u', ' ', static::$baseText)); - } - - return $this->explodedText; - } - - protected static function explode($text) - { - return explode(static::$separator, $text); - } - - protected static function implode($words) - { - return implode(static::$separator, $words); - } - - protected static function strlen($text) - { - return function_exists('mb_strlen') ? mb_strlen($text, 'UTF-8') : strlen($text); - } - - protected static function validStart($word) - { - $isValid = true; - - if (static::$textStartsWithUppercase) { - $isValid = preg_match('/^\p{Lu}/u', $word); - } - - return $isValid; - } - - protected static function appendEnd($text) - { - return preg_replace("/([ ,-:;\x{2013}\x{2014}]+$)/us", '', $text) . '.'; - } +abstract class Text extends Base { + protected static $baseText = ''; + protected static $separator = ' '; + protected static $separatorLen = 1; + protected $explodedText; + protected $consecutiveWords = []; + protected static $textStartsWithUppercase = true; + + /** + * Generate a text string by the Markov chain algorithm. + * + * Depending on the $maxNbChars, returns a random valid looking text. The algorithm + * generates a weighted table with the specified number of words as the index and the + * possible following words as the value. + * + * @param int $maxNbChars Maximum number of characters the text should contain (minimum: 10) + * @param int $indexSize Determines how many words are considered for the generation of the next word. + * The minimum is 1, and it produces a higher level of randomness, although the + * generated text usually doesn't make sense. Higher index sizes (up to 5) + * produce more correct text, at the price of less randomness. + * + * @return string + * @example 'Alice, swallowing down her flamingo, and began by taking the little golden key' + * + */ + public function realText( $maxNbChars = 200, $indexSize = 2 ) { + return $this->realTextBetween( (int) round( $maxNbChars * 0.8 ), $maxNbChars, $indexSize ); + } + + /** + * Generate a text string by the Markov chain algorithm. + * + * Depending on the $maxNbChars, returns a random valid looking text. The algorithm + * generates a weighted table with the specified number of words as the index and the + * possible following words as the value. + * + * @param int $minNbChars Minimum number of characters the text should contain (maximum: 8) + * @param int $maxNbChars Maximum number of characters the text should contain (minimum: 10) + * @param int $indexSize Determines how many words are considered for the generation of the next word. + * The minimum is 1, and it produces a higher level of randomness, although the + * generated text usually doesn't make sense. Higher index sizes (up to 5) + * produce more correct text, at the price of less randomness. + * + * @return string + * @example 'Alice, swallowing down her flamingo, and began by taking the little golden key' + * + */ + public function realTextBetween( $minNbChars = 160, $maxNbChars = 200, $indexSize = 2 ) { + if ( $minNbChars < 1 ) { + throw new \InvalidArgumentException( 'minNbChars must be at least 1' ); + } + + if ( $maxNbChars < 10 ) { + throw new \InvalidArgumentException( 'maxNbChars must be at least 10' ); + } + + if ( $indexSize < 1 ) { + throw new \InvalidArgumentException( 'indexSize must be at least 1' ); + } + + if ( $indexSize > 5 ) { + throw new \InvalidArgumentException( 'indexSize must be at most 5' ); + } + + if ( $minNbChars >= $maxNbChars ) { + throw new \InvalidArgumentException( 'minNbChars must be smaller than maxNbChars' ); + } + + $words = $this->getConsecutiveWords( $indexSize ); + $iterations = 0; + + do { + ++ $iterations; + + if ( $iterations >= 100 ) { + throw new \OverflowException( sprintf( 'Maximum retries of %d reached without finding a valid real text', $iterations ) ); + } + + $result = $this->generateText( $maxNbChars, $words ); + } while ( static::strlen( $result ) <= $minNbChars ); + + return $result; + } + + /** + * @param int $maxNbChars + * @param array $words + * + * @return string + */ + protected function generateText( $maxNbChars, $words ) { + $result = []; + $resultLength = 0; + // take a random starting point + $next = static::randomKey( $words ); + + while ( $resultLength < $maxNbChars && isset( $words[ $next ] ) ) { + // fetch a random word to append + $word = static::randomElement( $words[ $next ] ); + + // calculate next index + $currentWords = static::explode( $next ); + $currentWords[] = $word; + array_shift( $currentWords ); + $next = static::implode( $currentWords ); + + // ensure text starts with an uppercase letter + if ( $resultLength == 0 && ! static::validStart( $word ) ) { + continue; + } + + // append the element + $result[] = $word; + $resultLength += static::strlen( $word ) + static::$separatorLen; + } + + // remove the element that caused the text to overflow + array_pop( $result ); + + // build result + $result = static::implode( $result ); + + return static::appendEnd( $result ); + } + + protected function getConsecutiveWords( $indexSize ) { + if ( ! isset( $this->consecutiveWords[ $indexSize ] ) ) { + $parts = $this->getExplodedText(); + $words = []; + $index = []; + + for ( $i = 0; $i < $indexSize; ++ $i ) { + $index[] = array_shift( $parts ); + } + + for ( $i = 0, $count = count( $parts ); $i < $count; ++ $i ) { + $stringIndex = static::implode( $index ); + + if ( ! isset( $words[ $stringIndex ] ) ) { + $words[ $stringIndex ] = []; + } + $word = $parts[ $i ]; + $words[ $stringIndex ][] = $word; + array_shift( $index ); + $index[] = $word; + } + // cache look up words for performance + $this->consecutiveWords[ $indexSize ] = $words; + } + + return $this->consecutiveWords[ $indexSize ]; + } + + protected function getExplodedText() { + if ( $this->explodedText === null ) { + $this->explodedText = static::explode( preg_replace( '/\s+/u', ' ', static::$baseText ) ); + } + + return $this->explodedText; + } + + protected static function explode( $text ) { + return explode( static::$separator, $text ); + } + + protected static function implode( $words ) { + return implode( static::$separator, $words ); + } + + protected static function strlen( $text ) { + return function_exists( 'mb_strlen' ) ? mb_strlen( $text, 'UTF-8' ) : strlen( $text ); + } + + protected static function validStart( $word ) { + $isValid = true; + + if ( static::$textStartsWithUppercase ) { + $isValid = preg_match( '/^\p{Lu}/u', $word ); + } + + return $isValid; + } + + protected static function appendEnd( $text ) { + return preg_replace( "/([ ,-:;\x{2013}\x{2014}]+$)/us", '', $text ) . '.'; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/UserAgent.php b/lib/fakerphp/faker/src/Faker/Provider/UserAgent.php index 752df4d..e5e5e1b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/UserAgent.php +++ b/lib/fakerphp/faker/src/Faker/Provider/UserAgent.php @@ -2,218 +2,213 @@ namespace Faker\Provider; -class UserAgent extends Base -{ - protected static $userAgents = ['firefox', 'chrome', 'internetExplorer', 'opera', 'safari', 'msedge']; - - protected static $windowsPlatformTokens = [ - 'Windows NT 6.2', 'Windows NT 6.1', 'Windows NT 6.0', 'Windows NT 5.2', 'Windows NT 5.1', - 'Windows NT 5.01', 'Windows NT 5.0', 'Windows NT 4.0', 'Windows 98; Win 9x 4.90', 'Windows 98', - 'Windows 95', 'Windows CE', - ]; - - /** - * Possible processors on Linux - */ - protected static $linuxProcessor = ['i686', 'x86_64']; - - /** - * Mac processors (it also added U;) - */ - protected static $macProcessor = ['Intel', 'PPC', 'U; Intel', 'U; PPC']; - - /** - * Add as many languages as you like. - */ - protected static $lang = ['en-US', 'sl-SI', 'nl-NL']; - - /** - * Generate mac processor - * - * @return string - */ - public static function macProcessor() - { - return static::randomElement(static::$macProcessor); - } - - /** - * Generate linux processor - * - * @return string - */ - public static function linuxProcessor() - { - return static::randomElement(static::$linuxProcessor); - } - - /** - * Generate a random user agent - * - * @example 'Mozilla/5.0 (Windows CE) AppleWebKit/5350 (KHTML, like Gecko) Chrome/13.0.888.0 Safari/5350' - * - * @return string - */ - public static function userAgent() - { - $userAgentName = static::randomElement(static::$userAgents); - - return static::$userAgentName(); - } - - /** - * Generate Chrome user agent - * - * @example 'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_5) AppleWebKit/5312 (KHTML, like Gecko) Chrome/14.0.894.0 Safari/5312' - * - * @return string - */ - public static function chrome() - { - $saf = self::numberBetween(531, 536) . self::numberBetween(0, 2); - - $platforms = [ - '(' . static::linuxPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween(36, 40) . '.0.' . self::numberBetween(800, 899) . ".0 Mobile Safari/$saf", - '(' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween(36, 40) . '.0.' . self::numberBetween(800, 899) . ".0 Mobile Safari/$saf", - '(' . static::macPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween(36, 40) . '.0.' . self::numberBetween(800, 899) . ".0 Mobile Safari/$saf", - ]; - - return 'Mozilla/5.0 ' . static::randomElement($platforms); - } - - /** - * Generate Edge user agent - * - * @example 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36 Edg/99.0.1150.36' - * - * @return string - */ - public static function msedge() - { - $saf = self::numberBetween(531, 537) . '.' . self::numberBetween(0, 2); - $chrv = self::numberBetween(79, 99) . '.0'; - - $platforms = [ - '(' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween(4000, 4844) . '.' . self::numberBetween(10, 99) . " Safari/$saf Edg/$chrv" . self::numberBetween(1000, 1146) . '.' . self::numberBetween(0, 99), - '(' . static::macPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween(4000, 4844) . '.' . self::numberBetween(10, 99) . " Safari/$saf Edg/$chrv" . self::numberBetween(1000, 1146) . '.' . self::numberBetween(0, 99), - '(' . static::linuxPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween(4000, 4844) . '.' . self::numberBetween(10, 99) . " Safari/$saf EdgA/$chrv" . self::numberBetween(1000, 1146) . '.' . self::numberBetween(0, 99), - '(' . static::iosMobileToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Version/15.0 EdgiOS/$chrv" . self::numberBetween(1000, 1146) . '.' . self::numberBetween(0, 99) . " Mobile/15E148 Safari/$saf", - ]; - - return 'Mozilla/5.0 ' . static::randomElement($platforms); - } - - /** - * Generate Firefox user agent - * - * @example 'Mozilla/5.0 (X11; Linuxi686; rv:7.0) Gecko/20101231 Firefox/3.6' - * - * @return string - */ - public static function firefox() - { - $ver = 'Gecko/' . date('Ymd', self::numberBetween(strtotime('2010-1-1'), time())) . ' Firefox/' . self::numberBetween(35, 37) . '.0'; - - $platforms = [ - '(' . static::windowsPlatformToken() . '; ' . static::randomElement(static::$lang) . '; rv:1.9.' . self::numberBetween(0, 2) . '.20) ' . $ver, - '(' . static::linuxPlatformToken() . '; rv:' . self::numberBetween(5, 7) . '.0) ' . $ver, - '(' . static::macPlatformToken() . ' rv:' . self::numberBetween(2, 6) . '.0) ' . $ver, - ]; - - return 'Mozilla/5.0 ' . static::randomElement($platforms); - } - - /** - * Generate Safari user agent - * - * @example 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_1 rv:3.0; en-US) AppleWebKit/534.11.3 (KHTML, like Gecko) Version/4.0 Safari/534.11.3' - * - * @return string - */ - public static function safari() - { - $saf = self::numberBetween(531, 535) . '.' . self::numberBetween(1, 50) . '.' . self::numberBetween(1, 7); - - if (Miscellaneous::boolean()) { - $ver = self::numberBetween(4, 5) . '.' . self::numberBetween(0, 1); - } else { - $ver = self::numberBetween(4, 5) . '.0.' . self::numberBetween(1, 5); - } - - $mobileDevices = [ - 'iPhone; CPU iPhone OS', - 'iPad; CPU OS', - ]; - - $platforms = [ - '(Windows; U; ' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf", - '(' . static::macPlatformToken() . ' rv:' . self::numberBetween(2, 6) . '.0; ' . static::randomElement(static::$lang) . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf", - '(' . static::randomElement($mobileDevices) . ' ' . self::numberBetween(7, 8) . '_' . self::numberBetween(0, 2) . '_' . self::numberBetween(1, 2) . ' like Mac OS X; ' . static::randomElement(static::$lang) . ") AppleWebKit/$saf (KHTML, like Gecko) Version/" . self::numberBetween(3, 4) . '.0.5 Mobile/8B' . self::numberBetween(111, 119) . " Safari/6$saf", - ]; - - return 'Mozilla/5.0 ' . static::randomElement($platforms); - } - - /** - * Generate Opera user agent - * - * @example 'Opera/8.25 (Windows NT 5.1; en-US) Presto/2.9.188 Version/10.00' - * - * @return string - */ - public static function opera() - { - $platforms = [ - '(' . static::linuxPlatformToken() . '; ' . static::randomElement(static::$lang) . ') Presto/2.' . self::numberBetween(8, 12) . '.' . self::numberBetween(160, 355) . ' Version/' . self::numberBetween(10, 12) . '.00', - '(' . static::windowsPlatformToken() . '; ' . static::randomElement(static::$lang) . ') Presto/2.' . self::numberBetween(8, 12) . '.' . self::numberBetween(160, 355) . ' Version/' . self::numberBetween(10, 12) . '.00', - ]; - - return 'Opera/' . self::numberBetween(8, 9) . '.' . self::numberBetween(10, 99) . ' ' . static::randomElement($platforms); - } - - /** - * Generate Internet Explorer user agent - * - * @example 'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Win 9x 4.90; Trident/3.0)' - * - * @return string - */ - public static function internetExplorer() - { - return 'Mozilla/5.0 (compatible; MSIE ' . self::numberBetween(5, 11) . '.0; ' . static::windowsPlatformToken() . '; Trident/' . self::numberBetween(3, 5) . '.' . self::numberBetween(0, 1) . ')'; - } - - /** - * @return string - */ - public static function windowsPlatformToken() - { - return static::randomElement(static::$windowsPlatformTokens); - } - - /** - * @return string - */ - public static function macPlatformToken() - { - return 'Macintosh; ' . static::randomElement(static::$macProcessor) . ' Mac OS X 10_' . self::numberBetween(5, 8) . '_' . self::numberBetween(0, 9); - } - - /** - * @return string - */ - public static function iosMobileToken() - { - $iosVer = self::numberBetween(13, 15) . '_' . self::numberBetween(0, 2); - - return 'iPhone; CPU iPhone OS ' . $iosVer . ' like Mac OS X'; - } - - /** - * @return string - */ - public static function linuxPlatformToken() - { - return 'X11; Linux ' . static::randomElement(static::$linuxProcessor); - } +class UserAgent extends Base { + protected static $userAgents = [ 'firefox', 'chrome', 'internetExplorer', 'opera', 'safari', 'msedge' ]; + + protected static $windowsPlatformTokens = [ + 'Windows NT 6.2', + 'Windows NT 6.1', + 'Windows NT 6.0', + 'Windows NT 5.2', + 'Windows NT 5.1', + 'Windows NT 5.01', + 'Windows NT 5.0', + 'Windows NT 4.0', + 'Windows 98; Win 9x 4.90', + 'Windows 98', + 'Windows 95', + 'Windows CE', + ]; + + /** + * Possible processors on Linux + */ + protected static $linuxProcessor = [ 'i686', 'x86_64' ]; + + /** + * Mac processors (it also added U;) + */ + protected static $macProcessor = [ 'Intel', 'PPC', 'U; Intel', 'U; PPC' ]; + + /** + * Add as many languages as you like. + */ + protected static $lang = [ 'en-US', 'sl-SI', 'nl-NL' ]; + + /** + * Generate mac processor + * + * @return string + */ + public static function macProcessor() { + return static::randomElement( static::$macProcessor ); + } + + /** + * Generate linux processor + * + * @return string + */ + public static function linuxProcessor() { + return static::randomElement( static::$linuxProcessor ); + } + + /** + * Generate a random user agent + * + * @return string + * @example 'Mozilla/5.0 (Windows CE) AppleWebKit/5350 (KHTML, like Gecko) Chrome/13.0.888.0 Safari/5350' + * + */ + public static function userAgent() { + $userAgentName = static::randomElement( static::$userAgents ); + + return static::$userAgentName(); + } + + /** + * Generate Chrome user agent + * + * @return string + * @example 'Mozilla/5.0 (Macintosh; PPC Mac OS X 10_6_5) AppleWebKit/5312 (KHTML, like Gecko) Chrome/14.0.894.0 Safari/5312' + * + */ + public static function chrome() { + $saf = self::numberBetween( 531, 536 ) . self::numberBetween( 0, 2 ); + + $platforms = [ + '(' . static::linuxPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween( 36, 40 ) . '.0.' . self::numberBetween( 800, 899 ) . ".0 Mobile Safari/$saf", + '(' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween( 36, 40 ) . '.0.' . self::numberBetween( 800, 899 ) . ".0 Mobile Safari/$saf", + '(' . static::macPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/" . self::numberBetween( 36, 40 ) . '.0.' . self::numberBetween( 800, 899 ) . ".0 Mobile Safari/$saf", + ]; + + return 'Mozilla/5.0 ' . static::randomElement( $platforms ); + } + + /** + * Generate Edge user agent + * + * @return string + * @example 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.82 Safari/537.36 Edg/99.0.1150.36' + * + */ + public static function msedge() { + $saf = self::numberBetween( 531, 537 ) . '.' . self::numberBetween( 0, 2 ); + $chrv = self::numberBetween( 79, 99 ) . '.0'; + + $platforms = [ + '(' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween( 4000, 4844 ) . '.' . self::numberBetween( 10, 99 ) . " Safari/$saf Edg/$chrv" . self::numberBetween( 1000, 1146 ) . '.' . self::numberBetween( 0, 99 ), + '(' . static::macPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween( 4000, 4844 ) . '.' . self::numberBetween( 10, 99 ) . " Safari/$saf Edg/$chrv" . self::numberBetween( 1000, 1146 ) . '.' . self::numberBetween( 0, 99 ), + '(' . static::linuxPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Chrome/$chrv" . '.' . self::numberBetween( 4000, 4844 ) . '.' . self::numberBetween( 10, 99 ) . " Safari/$saf EdgA/$chrv" . self::numberBetween( 1000, 1146 ) . '.' . self::numberBetween( 0, 99 ), + '(' . static::iosMobileToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Version/15.0 EdgiOS/$chrv" . self::numberBetween( 1000, 1146 ) . '.' . self::numberBetween( 0, 99 ) . " Mobile/15E148 Safari/$saf", + ]; + + return 'Mozilla/5.0 ' . static::randomElement( $platforms ); + } + + /** + * Generate Firefox user agent + * + * @return string + * @example 'Mozilla/5.0 (X11; Linuxi686; rv:7.0) Gecko/20101231 Firefox/3.6' + * + */ + public static function firefox() { + $ver = 'Gecko/' . date( 'Ymd', self::numberBetween( strtotime( '2010-1-1' ), time() ) ) . ' Firefox/' . self::numberBetween( 35, 37 ) . '.0'; + + $platforms = [ + '(' . static::windowsPlatformToken() . '; ' . static::randomElement( static::$lang ) . '; rv:1.9.' . self::numberBetween( 0, 2 ) . '.20) ' . $ver, + '(' . static::linuxPlatformToken() . '; rv:' . self::numberBetween( 5, 7 ) . '.0) ' . $ver, + '(' . static::macPlatformToken() . ' rv:' . self::numberBetween( 2, 6 ) . '.0) ' . $ver, + ]; + + return 'Mozilla/5.0 ' . static::randomElement( $platforms ); + } + + /** + * Generate Safari user agent + * + * @return string + * @example 'Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_7_1 rv:3.0; en-US) AppleWebKit/534.11.3 (KHTML, like Gecko) Version/4.0 Safari/534.11.3' + * + */ + public static function safari() { + $saf = self::numberBetween( 531, 535 ) . '.' . self::numberBetween( 1, 50 ) . '.' . self::numberBetween( 1, 7 ); + + if ( Miscellaneous::boolean() ) { + $ver = self::numberBetween( 4, 5 ) . '.' . self::numberBetween( 0, 1 ); + } else { + $ver = self::numberBetween( 4, 5 ) . '.0.' . self::numberBetween( 1, 5 ); + } + + $mobileDevices = [ + 'iPhone; CPU iPhone OS', + 'iPad; CPU OS', + ]; + + $platforms = [ + '(Windows; U; ' . static::windowsPlatformToken() . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf", + '(' . static::macPlatformToken() . ' rv:' . self::numberBetween( 2, 6 ) . '.0; ' . static::randomElement( static::$lang ) . ") AppleWebKit/$saf (KHTML, like Gecko) Version/$ver Safari/$saf", + '(' . static::randomElement( $mobileDevices ) . ' ' . self::numberBetween( 7, 8 ) . '_' . self::numberBetween( 0, 2 ) . '_' . self::numberBetween( 1, 2 ) . ' like Mac OS X; ' . static::randomElement( static::$lang ) . ") AppleWebKit/$saf (KHTML, like Gecko) Version/" . self::numberBetween( 3, 4 ) . '.0.5 Mobile/8B' . self::numberBetween( 111, 119 ) . " Safari/6$saf", + ]; + + return 'Mozilla/5.0 ' . static::randomElement( $platforms ); + } + + /** + * Generate Opera user agent + * + * @return string + * @example 'Opera/8.25 (Windows NT 5.1; en-US) Presto/2.9.188 Version/10.00' + * + */ + public static function opera() { + $platforms = [ + '(' . static::linuxPlatformToken() . '; ' . static::randomElement( static::$lang ) . ') Presto/2.' . self::numberBetween( 8, 12 ) . '.' . self::numberBetween( 160, 355 ) . ' Version/' . self::numberBetween( 10, 12 ) . '.00', + '(' . static::windowsPlatformToken() . '; ' . static::randomElement( static::$lang ) . ') Presto/2.' . self::numberBetween( 8, 12 ) . '.' . self::numberBetween( 160, 355 ) . ' Version/' . self::numberBetween( 10, 12 ) . '.00', + ]; + + return 'Opera/' . self::numberBetween( 8, 9 ) . '.' . self::numberBetween( 10, 99 ) . ' ' . static::randomElement( $platforms ); + } + + /** + * Generate Internet Explorer user agent + * + * @return string + * @example 'Mozilla/5.0 (compatible; MSIE 7.0; Windows 98; Win 9x 4.90; Trident/3.0)' + * + */ + public static function internetExplorer() { + return 'Mozilla/5.0 (compatible; MSIE ' . self::numberBetween( 5, 11 ) . '.0; ' . static::windowsPlatformToken() . '; Trident/' . self::numberBetween( 3, 5 ) . '.' . self::numberBetween( 0, 1 ) . ')'; + } + + /** + * @return string + */ + public static function windowsPlatformToken() { + return static::randomElement( static::$windowsPlatformTokens ); + } + + /** + * @return string + */ + public static function macPlatformToken() { + return 'Macintosh; ' . static::randomElement( static::$macProcessor ) . ' Mac OS X 10_' . self::numberBetween( 5, 8 ) . '_' . self::numberBetween( 0, 9 ); + } + + /** + * @return string + */ + public static function iosMobileToken() { + $iosVer = self::numberBetween( 13, 15 ) . '_' . self::numberBetween( 0, 2 ); + + return 'iPhone; CPU iPhone OS ' . $iosVer . ' like Mac OS X'; + } + + /** + * @return string + */ + public static function linuxPlatformToken() { + return 'X11; Linux ' . static::randomElement( static::$linuxProcessor ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/Uuid.php b/lib/fakerphp/faker/src/Faker/Provider/Uuid.php index bcfcb05..26f361b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/Uuid.php +++ b/lib/fakerphp/faker/src/Faker/Provider/Uuid.php @@ -2,58 +2,56 @@ namespace Faker\Provider; -class Uuid extends Base -{ - /** - * Generate name based md5 UUID (version 3). - * - * @example '7e57d004-2b97-0e7a-b45f-5387367791cd' - * - * @return string - */ - public static function uuid() - { - // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit - // two such calls will cause 64bits of randomness regardless of architecture - $seed = self::numberBetween(0, 2147483647) . '#' . self::numberBetween(0, 2147483647); +class Uuid extends Base { + /** + * Generate name based md5 UUID (version 3). + * + * @return string + * @example '7e57d004-2b97-0e7a-b45f-5387367791cd' + * + */ + public static function uuid() { + // fix for compatibility with 32bit architecture; each mt_rand call is restricted to 32bit + // two such calls will cause 64bits of randomness regardless of architecture + $seed = self::numberBetween( 0, 2147483647 ) . '#' . self::numberBetween( 0, 2147483647 ); - // Hash the seed and convert to a byte array - $val = md5($seed, true); - $byte = array_values(unpack('C16', $val)); + // Hash the seed and convert to a byte array + $val = md5( $seed, true ); + $byte = array_values( unpack( 'C16', $val ) ); - // extract fields from byte array - $tLo = ($byte[0] << 24) | ($byte[1] << 16) | ($byte[2] << 8) | $byte[3]; - $tMi = ($byte[4] << 8) | $byte[5]; - $tHi = ($byte[6] << 8) | $byte[7]; - $csLo = $byte[9]; - $csHi = $byte[8] & 0x3f | (1 << 7); + // extract fields from byte array + $tLo = ( $byte[0] << 24 ) | ( $byte[1] << 16 ) | ( $byte[2] << 8 ) | $byte[3]; + $tMi = ( $byte[4] << 8 ) | $byte[5]; + $tHi = ( $byte[6] << 8 ) | $byte[7]; + $csLo = $byte[9]; + $csHi = $byte[8] & 0x3f | ( 1 << 7 ); - // correct byte order for big edian architecture - if (pack('L', 0x6162797A) == pack('N', 0x6162797A)) { - $tLo = (($tLo & 0x000000ff) << 24) | (($tLo & 0x0000ff00) << 8) - | (($tLo & 0x00ff0000) >> 8) | (($tLo & 0xff000000) >> 24); - $tMi = (($tMi & 0x00ff) << 8) | (($tMi & 0xff00) >> 8); - $tHi = (($tHi & 0x00ff) << 8) | (($tHi & 0xff00) >> 8); - } + // correct byte order for big edian architecture + if ( pack( 'L', 0x6162797A ) == pack( 'N', 0x6162797A ) ) { + $tLo = ( ( $tLo & 0x000000ff ) << 24 ) | ( ( $tLo & 0x0000ff00 ) << 8 ) + | ( ( $tLo & 0x00ff0000 ) >> 8 ) | ( ( $tLo & 0xff000000 ) >> 24 ); + $tMi = ( ( $tMi & 0x00ff ) << 8 ) | ( ( $tMi & 0xff00 ) >> 8 ); + $tHi = ( ( $tHi & 0x00ff ) << 8 ) | ( ( $tHi & 0xff00 ) >> 8 ); + } - // apply version number - $tHi &= 0x0fff; - $tHi |= (3 << 12); + // apply version number + $tHi &= 0x0fff; + $tHi |= ( 3 << 12 ); - // cast to string - return sprintf( - '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x', - $tLo, - $tMi, - $tHi, - $csHi, - $csLo, - $byte[10], - $byte[11], - $byte[12], - $byte[13], - $byte[14], - $byte[15], - ); - } + // cast to string + return sprintf( + '%08x-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x', + $tLo, + $tMi, + $tHi, + $csHi, + $csLo, + $byte[10], + $byte[11], + $byte[12], + $byte[13], + $byte[14], + $byte[15], + ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Address.php index 87facaa..8084a37 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Address.php @@ -2,216 +2,401 @@ namespace Faker\Provider\ar_EG; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = [ - 'شمال', - 'جنوب', - 'شرق', - 'غرب', - ]; - - protected static $streetPrefix = ['شارع', 'طريق', 'ممر']; - - /** - * @see https://ar.wikipedia.org/wiki/%D8%AA%D8%B5%D9%86%D9%8A%D9%81:%D8%A3%D8%AD%D9%8A%D8%A7%D8%A1_%D8%A7%D9%84%D9%82%D8%A7%D9%87%D8%B1%D8%A9 - */ - protected static $cityName = [ - 'التجمع الاول', - 'التجمع التالت', - 'التجمع الخامس', - 'الشروق', - 'الرحاب', - 'الجزيرة', - 'الحسين', - 'الزمالك', - 'السلام', - 'الظاهر', - 'العباسية', - 'المطرية', - 'الموسكي', - 'النزهة الجديدة', - 'السيدة زينب', - 'المرج', - 'المعادي', - 'المقطم', - 'المنيل', - 'الوايلي', - 'باب الشعرية', - 'باب اللوق', - 'ثكنات المعادي', - 'جاردن سيتي', - 'جسر السويس', - 'عابدين', - 'حدائق المعادي', - 'حلمية الزيتون', - 'حلوان', - 'الأزبكية', - 'الزاوية الحمراء', - 'الساحل', - 'مدينة نصر', - 'حدائق القبة', - 'شبرا', - 'عين شمس', - 'روكسي', - 'زهراء المعادي', - 'سراي القبة', - 'عبود', - 'عزبة النخل', - 'كوتسيكا', - 'الشيخ زايد', - 'السادس من اكتوير', - 'العاشر من رمضان', - 'المعصرة', - 'الزهراء', - 'غمرة', - 'المنيب', - 'فيصل', - 'الدقي', - 'العتبة', - 'المظلات', - 'المطار', - 'قباء', - 'ألف مسكن', - 'هليوبوليس', - 'هارون', - 'كلية البنات', - 'عبده باشا', - 'الجيش', - 'الكيت كات', - 'إمبابة', - ]; - - /** - * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AD%D8%A7%D9%81%D8%B8%D8%A7%D8%AA_%D9%85%D8%B5%D8%B1 - * @see https://ar.wikipedia.org/wiki/%D8%A8%D8%B7%D8%A7%D9%82%D8%A9_%D8%A7%D9%84%D8%B1%D9%82%D9%85_%D8%A7%D9%84%D9%82%D9%88%D9%85%D9%8A_%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A%D8%A9 - */ - protected static $governorates = [ - 'الإسكندرية' => '02', - 'الإسماعيلية' => '19', - 'أسوان' => '28', - 'أسيوط' => '25', - 'الأقصر' => '29', - 'البحر الأحمر' => '31', - 'البحيرة' => '18', - 'بني سويف' => '22', - 'بورسعيد' => '03', - 'جنوب سيناء' => '35', - 'القاهرة' => '01', - 'الدقهلية' => '12', - 'دمياط' => '11', - 'سوهاج' => '26', - 'السويس' => '04', - 'الشرقية' => '13', - 'شمال سيناء' => '34', - 'الغربية' => '16', - 'الفيوم' => '23', - 'القليوبية' => '14', - 'قنا' => '27', - 'كفر الشيخ' => '15', - 'مطروح' => '33', - 'المنوفية' => '17', - 'المنيا' => '24', - 'الوادي الجديد' => '32', - ]; - - protected static $buildingNumber = ['%####', '%###', '%#']; - - protected static $postcode = ['#####', '#####-####']; - - /** - * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm - */ - protected static $country = [ - 'الكاريبي', 'أمريكا الوسطى', 'أنتيجوا وبربودا', 'أنجولا', 'أنجويلا', 'أندورا', 'اندونيسيا', 'أورجواي', 'أوروبا', 'أوزبكستان', 'أوغندا', 'أوقيانوسيا', 'أوقيانوسيا النائية', 'أوكرانيا', 'ايران', 'أيرلندا', 'أيسلندا', 'ايطاليا', - 'بابوا غينيا الجديدة', 'باراجواي', 'باكستان', 'بالاو', 'بتسوانا', 'بتكايرن', 'بربادوس', 'برمودا', 'بروناي', 'بلجيكا', 'بلغاريا', 'بليز', 'بنجلاديش', 'بنما', 'بنين', 'بوتان', 'بورتوريكو', 'بوركينا فاسو', 'بوروندي', 'بولندا', 'بوليفيا', 'بولينيزيا', 'بولينيزيا الفرنسية', 'بيرو', - 'تانزانيا', 'تايلند', 'تايوان', 'تركمانستان', 'تركيا', 'ترينيداد وتوباغو', 'تشاد', 'توجو', 'توفالو', 'توكيلو', 'تونجا', 'تونس', 'تيمور الشرقية', - 'جامايكا', 'جبل طارق', 'جرينادا', 'جرينلاند', 'جزر الأنتيل الهولندية', 'جزر الترك وجايكوس', 'جزر القمر', 'جزر الكايمن', 'جزر المارشال', 'جزر الملديف', 'جزر الولايات المتحدة البعيدة الصغيرة', 'جزر أولان', 'جزر سليمان', 'جزر فارو', 'جزر فرجين الأمريكية', 'جزر فرجين البريطانية', 'جزر فوكلاند', 'جزر كوك', 'جزر كوكوس', 'جزر ماريانا الشمالية', 'جزر والس وفوتونا', 'جزيرة الكريسماس', 'جزيرة بوفيه', 'جزيرة مان', 'جزيرة نورفوك', 'جزيرة هيرد وماكدونالد', 'جمهورية افريقيا الوسطى', 'جمهورية التشيك', 'جمهورية الدومينيك', 'جمهورية الكونغو الديمقراطية', 'جمهورية جنوب افريقيا', 'جنوب آسيا', 'جنوب أوروبا', 'جنوب شرق آسيا', 'جنوب وسط آسيا', 'جواتيمالا', 'جوادلوب', 'جوام', 'جورجيا', 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', 'جيبوتي', 'جيرسي', - 'دومينيكا', - 'رواندا', 'روسيا', 'روسيا البيضاء', 'رومانيا', 'روينيون', - 'زامبيا', 'زيمبابوي', - 'ساحل العاج', 'ساموا', 'ساموا الأمريكية', 'سانت بيير وميكولون', 'سانت فنسنت وغرنادين', 'سانت كيتس ونيفيس', 'سانت لوسيا', 'سانت مارتين', 'سانت هيلنا', 'سان مارينو', 'ساو تومي وبرينسيبي', 'سريلانكا', 'سفالبارد وجان مايان', 'سلوفاكيا', 'سلوفينيا', 'سنغافورة', 'سوازيلاند', 'سوريا', 'سورينام', 'سويسرا', 'سيراليون', 'سيشل', - 'شرق آسيا', 'شرق افريقيا', 'شرق أوروبا', 'شمال افريقيا', 'شمال أمريكا', 'شمال أوروبا', 'شيلي', - 'صربيا', 'صربيا والجبل الأسود', - 'طاجكستان', - 'عمان', - 'غامبيا', 'غانا', 'غرب آسيا', 'غرب افريقيا', 'غرب أوروبا', 'غويانا', 'غيانا', 'غينيا', 'غينيا الاستوائية', 'غينيا بيساو', - 'فانواتو', 'فرنسا', 'فلسطين', 'فنزويلا', 'فنلندا', 'فيتنام', 'فيجي', - 'قبرص', 'قرغيزستان', 'قطر', - 'كازاخستان', 'كاليدونيا الجديدة', 'كرواتيا', 'كمبوديا', 'كندا', 'كوبا', 'كوريا الجنوبية', 'كوريا الشمالية', 'كوستاريكا', 'كولومبيا', 'كومنولث الدول المستقلة', 'كيريباتي', 'كينيا', - 'لاتفيا', 'لاوس', 'لبنان', 'لوكسمبورج', 'ليبيا', 'ليبيريا', 'ليتوانيا', 'ليختنشتاين', 'ليسوتو', - 'مارتينيك', 'ماكاو الصينية', 'مالطا', 'مالي', 'ماليزيا', 'مايوت', 'مدغشقر', 'مصر', 'مقدونيا', 'ملاوي', 'منغوليا', 'موريتانيا', 'موريشيوس', 'موزمبيق', 'مولدافيا', 'موناكو', 'مونتسرات', 'ميانمار', 'ميكرونيزيا', 'ميلانيزيا', - 'ناميبيا', 'نورو', 'نيبال', 'نيجيريا', 'نيكاراجوا', 'نيوزيلاندا', 'نيوي', - 'هايتي', 'هندوراس', 'هولندا', 'هونج كونج الصينية', - 'وسط آسيا', 'وسط افريقيا', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}", - ]; - - protected static $secondaryAddressFormats = ['شقة رقم. ##', 'عمارة رقم ##']; - - /** - * @example 'شرق' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - /** - * @example 'المعادي' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } - - /** - * @example 'شارع' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'شقة رقم. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } - - /** - * @example 'الإسكندرية' - */ - public static function governorate() - { - return static::randomKey(static::$governorates); - } - - /** - * @example '01' - * - * @return string - */ - public static function governorateId() - { - return static::randomElement(static::$governorates); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ + 'شمال', + 'جنوب', + 'شرق', + 'غرب', + ]; + + protected static $streetPrefix = [ 'شارع', 'طريق', 'ممر' ]; + + /** + * @see https://ar.wikipedia.org/wiki/%D8%AA%D8%B5%D9%86%D9%8A%D9%81:%D8%A3%D8%AD%D9%8A%D8%A7%D8%A1_%D8%A7%D9%84%D9%82%D8%A7%D9%87%D8%B1%D8%A9 + */ + protected static $cityName = [ + 'التجمع الاول', + 'التجمع التالت', + 'التجمع الخامس', + 'الشروق', + 'الرحاب', + 'الجزيرة', + 'الحسين', + 'الزمالك', + 'السلام', + 'الظاهر', + 'العباسية', + 'المطرية', + 'الموسكي', + 'النزهة الجديدة', + 'السيدة زينب', + 'المرج', + 'المعادي', + 'المقطم', + 'المنيل', + 'الوايلي', + 'باب الشعرية', + 'باب اللوق', + 'ثكنات المعادي', + 'جاردن سيتي', + 'جسر السويس', + 'عابدين', + 'حدائق المعادي', + 'حلمية الزيتون', + 'حلوان', + 'الأزبكية', + 'الزاوية الحمراء', + 'الساحل', + 'مدينة نصر', + 'حدائق القبة', + 'شبرا', + 'عين شمس', + 'روكسي', + 'زهراء المعادي', + 'سراي القبة', + 'عبود', + 'عزبة النخل', + 'كوتسيكا', + 'الشيخ زايد', + 'السادس من اكتوير', + 'العاشر من رمضان', + 'المعصرة', + 'الزهراء', + 'غمرة', + 'المنيب', + 'فيصل', + 'الدقي', + 'العتبة', + 'المظلات', + 'المطار', + 'قباء', + 'ألف مسكن', + 'هليوبوليس', + 'هارون', + 'كلية البنات', + 'عبده باشا', + 'الجيش', + 'الكيت كات', + 'إمبابة', + ]; + + /** + * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AD%D8%A7%D9%81%D8%B8%D8%A7%D8%AA_%D9%85%D8%B5%D8%B1 + * @see https://ar.wikipedia.org/wiki/%D8%A8%D8%B7%D8%A7%D9%82%D8%A9_%D8%A7%D9%84%D8%B1%D9%82%D9%85_%D8%A7%D9%84%D9%82%D9%88%D9%85%D9%8A_%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A%D8%A9 + */ + protected static $governorates = [ + 'الإسكندرية' => '02', + 'الإسماعيلية' => '19', + 'أسوان' => '28', + 'أسيوط' => '25', + 'الأقصر' => '29', + 'البحر الأحمر' => '31', + 'البحيرة' => '18', + 'بني سويف' => '22', + 'بورسعيد' => '03', + 'جنوب سيناء' => '35', + 'القاهرة' => '01', + 'الدقهلية' => '12', + 'دمياط' => '11', + 'سوهاج' => '26', + 'السويس' => '04', + 'الشرقية' => '13', + 'شمال سيناء' => '34', + 'الغربية' => '16', + 'الفيوم' => '23', + 'القليوبية' => '14', + 'قنا' => '27', + 'كفر الشيخ' => '15', + 'مطروح' => '33', + 'المنوفية' => '17', + 'المنيا' => '24', + 'الوادي الجديد' => '32', + ]; + + protected static $buildingNumber = [ '%####', '%###', '%#' ]; + + protected static $postcode = [ '#####', '#####-####' ]; + + /** + * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm + */ + protected static $country = [ + 'الكاريبي', + 'أمريكا الوسطى', + 'أنتيجوا وبربودا', + 'أنجولا', + 'أنجويلا', + 'أندورا', + 'اندونيسيا', + 'أورجواي', + 'أوروبا', + 'أوزبكستان', + 'أوغندا', + 'أوقيانوسيا', + 'أوقيانوسيا النائية', + 'أوكرانيا', + 'ايران', + 'أيرلندا', + 'أيسلندا', + 'ايطاليا', + 'بابوا غينيا الجديدة', + 'باراجواي', + 'باكستان', + 'بالاو', + 'بتسوانا', + 'بتكايرن', + 'بربادوس', + 'برمودا', + 'بروناي', + 'بلجيكا', + 'بلغاريا', + 'بليز', + 'بنجلاديش', + 'بنما', + 'بنين', + 'بوتان', + 'بورتوريكو', + 'بوركينا فاسو', + 'بوروندي', + 'بولندا', + 'بوليفيا', + 'بولينيزيا', + 'بولينيزيا الفرنسية', + 'بيرو', + 'تانزانيا', + 'تايلند', + 'تايوان', + 'تركمانستان', + 'تركيا', + 'ترينيداد وتوباغو', + 'تشاد', + 'توجو', + 'توفالو', + 'توكيلو', + 'تونجا', + 'تونس', + 'تيمور الشرقية', + 'جامايكا', + 'جبل طارق', + 'جرينادا', + 'جرينلاند', + 'جزر الأنتيل الهولندية', + 'جزر الترك وجايكوس', + 'جزر القمر', + 'جزر الكايمن', + 'جزر المارشال', + 'جزر الملديف', + 'جزر الولايات المتحدة البعيدة الصغيرة', + 'جزر أولان', + 'جزر سليمان', + 'جزر فارو', + 'جزر فرجين الأمريكية', + 'جزر فرجين البريطانية', + 'جزر فوكلاند', + 'جزر كوك', + 'جزر كوكوس', + 'جزر ماريانا الشمالية', + 'جزر والس وفوتونا', + 'جزيرة الكريسماس', + 'جزيرة بوفيه', + 'جزيرة مان', + 'جزيرة نورفوك', + 'جزيرة هيرد وماكدونالد', + 'جمهورية افريقيا الوسطى', + 'جمهورية التشيك', + 'جمهورية الدومينيك', + 'جمهورية الكونغو الديمقراطية', + 'جمهورية جنوب افريقيا', + 'جنوب آسيا', + 'جنوب أوروبا', + 'جنوب شرق آسيا', + 'جنوب وسط آسيا', + 'جواتيمالا', + 'جوادلوب', + 'جوام', + 'جورجيا', + 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', + 'جيبوتي', + 'جيرسي', + 'دومينيكا', + 'رواندا', + 'روسيا', + 'روسيا البيضاء', + 'رومانيا', + 'روينيون', + 'زامبيا', + 'زيمبابوي', + 'ساحل العاج', + 'ساموا', + 'ساموا الأمريكية', + 'سانت بيير وميكولون', + 'سانت فنسنت وغرنادين', + 'سانت كيتس ونيفيس', + 'سانت لوسيا', + 'سانت مارتين', + 'سانت هيلنا', + 'سان مارينو', + 'ساو تومي وبرينسيبي', + 'سريلانكا', + 'سفالبارد وجان مايان', + 'سلوفاكيا', + 'سلوفينيا', + 'سنغافورة', + 'سوازيلاند', + 'سوريا', + 'سورينام', + 'سويسرا', + 'سيراليون', + 'سيشل', + 'شرق آسيا', + 'شرق افريقيا', + 'شرق أوروبا', + 'شمال افريقيا', + 'شمال أمريكا', + 'شمال أوروبا', + 'شيلي', + 'صربيا', + 'صربيا والجبل الأسود', + 'طاجكستان', + 'عمان', + 'غامبيا', + 'غانا', + 'غرب آسيا', + 'غرب افريقيا', + 'غرب أوروبا', + 'غويانا', + 'غيانا', + 'غينيا', + 'غينيا الاستوائية', + 'غينيا بيساو', + 'فانواتو', + 'فرنسا', + 'فلسطين', + 'فنزويلا', + 'فنلندا', + 'فيتنام', + 'فيجي', + 'قبرص', + 'قرغيزستان', + 'قطر', + 'كازاخستان', + 'كاليدونيا الجديدة', + 'كرواتيا', + 'كمبوديا', + 'كندا', + 'كوبا', + 'كوريا الجنوبية', + 'كوريا الشمالية', + 'كوستاريكا', + 'كولومبيا', + 'كومنولث الدول المستقلة', + 'كيريباتي', + 'كينيا', + 'لاتفيا', + 'لاوس', + 'لبنان', + 'لوكسمبورج', + 'ليبيا', + 'ليبيريا', + 'ليتوانيا', + 'ليختنشتاين', + 'ليسوتو', + 'مارتينيك', + 'ماكاو الصينية', + 'مالطا', + 'مالي', + 'ماليزيا', + 'مايوت', + 'مدغشقر', + 'مصر', + 'مقدونيا', + 'ملاوي', + 'منغوليا', + 'موريتانيا', + 'موريشيوس', + 'موزمبيق', + 'مولدافيا', + 'موناكو', + 'مونتسرات', + 'ميانمار', + 'ميكرونيزيا', + 'ميلانيزيا', + 'ناميبيا', + 'نورو', + 'نيبال', + 'نيجيريا', + 'نيكاراجوا', + 'نيوزيلاندا', + 'نيوي', + 'هايتي', + 'هندوراس', + 'هولندا', + 'هونج كونج الصينية', + 'وسط آسيا', + 'وسط افريقيا', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}", + ]; + + protected static $secondaryAddressFormats = [ 'شقة رقم. ##', 'عمارة رقم ##' ]; + + /** + * @example 'شرق' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + /** + * @example 'المعادي' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } + + /** + * @example 'شارع' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'شقة رقم. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } + + /** + * @example 'الإسكندرية' + */ + public static function governorate() { + return static::randomKey( static::$governorates ); + } + + /** + * @return string + * @example '01' + * + */ + public static function governorateId() { + return static::randomElement( static::$governorates ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Color.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Color.php index c25426a..6424997 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Color.php @@ -2,64 +2,76 @@ namespace Faker\Provider\ar_EG; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'أسود', 'قرمزي', 'أخضر', 'كحلي', 'زيتوني', - 'أرجواني', 'أحمر', 'أزرق', 'فضي', 'ذهبي', - 'رمادي', 'أصفر', 'برتقالي', 'بني', 'أبيض', 'بنفسجى', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'أسود', + 'قرمزي', + 'أخضر', + 'كحلي', + 'زيتوني', + 'أرجواني', + 'أحمر', + 'أزرق', + 'فضي', + 'ذهبي', + 'رمادي', + 'أصفر', + 'برتقالي', + 'بني', + 'أبيض', + 'بنفسجى', + ]; - /** - * @see http://r7eq.com/Service/Design/ColorName/ - */ - protected static $allColorNames = [ - 'أخضر فاتح', - 'أزرق فاتح', - 'أحمر فاتح', - 'أصفر فاتح', - 'بني فاتح', - 'رمادي فاتح', - 'أرجواني فاتح', - 'زيتوني فاتح', - 'كحلي فاتح', - 'قرمزي فاتح', - 'أسود فاتح', - 'بنفسجى فاتح', - 'برتقالي فاتح', - 'زيتوني داكن', - 'كحلي داكن', - 'أخضر داكن', - 'قرمزي داكن', - 'أزرق داكن', - 'أحمر داكن', - 'أرجواني داكن', - 'بنفسجى داكن', - 'بني داكن', - 'برتقالي داكن', - 'أصفر داكن', - 'رمادي داكن', - 'وردي', - 'زهري', - 'طوبي', - 'كستنائي', - 'عسلي', - 'نحاسي', - 'أسمر', - 'خشبي', - 'كريمي', - 'سكري', - 'ثلجي', - 'بيج', - 'ليموني', - 'فستقي', - 'كموني', - 'يروزي', - 'سماوي', - 'نيلي', - 'بحري', - 'فحمي', - 'زيتي', - 'عنابي', - ]; + /** + * @see http://r7eq.com/Service/Design/ColorName/ + */ + protected static $allColorNames = [ + 'أخضر فاتح', + 'أزرق فاتح', + 'أحمر فاتح', + 'أصفر فاتح', + 'بني فاتح', + 'رمادي فاتح', + 'أرجواني فاتح', + 'زيتوني فاتح', + 'كحلي فاتح', + 'قرمزي فاتح', + 'أسود فاتح', + 'بنفسجى فاتح', + 'برتقالي فاتح', + 'زيتوني داكن', + 'كحلي داكن', + 'أخضر داكن', + 'قرمزي داكن', + 'أزرق داكن', + 'أحمر داكن', + 'أرجواني داكن', + 'بنفسجى داكن', + 'بني داكن', + 'برتقالي داكن', + 'أصفر داكن', + 'رمادي داكن', + 'وردي', + 'زهري', + 'طوبي', + 'كستنائي', + 'عسلي', + 'نحاسي', + 'أسمر', + 'خشبي', + 'كريمي', + 'سكري', + 'ثلجي', + 'بيج', + 'ليموني', + 'فستقي', + 'كموني', + 'يروزي', + 'سماوي', + 'نيلي', + 'بحري', + 'فحمي', + 'زيتي', + 'عنابي', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Company.php index 63773ea..f7db36b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Company.php @@ -4,82 +4,87 @@ use Faker\Calculator\Luhn; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{cityName}}', - '{{companyPrefix}} {{lastName}}', - '{{cityName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{cityName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{cityName}}', + '{{companyPrefix}} {{lastName}}', + '{{cityName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{cityName}} {{companySuffix}}', + ]; - protected static $catchPhraseWords = [ - ['الخدمات', 'الحلول', 'الانظمة'], - [ - 'الذهبية', 'الذكية', 'المتطورة', 'المتقدمة', 'الدولية', 'المتخصصه', 'السريعة', - 'المثلى', 'الابداعية', 'المتكاملة', 'المتغيرة', 'المثالية', - ], - ]; + protected static $catchPhraseWords = [ + [ 'الخدمات', 'الحلول', 'الانظمة' ], + [ + 'الذهبية', + 'الذكية', + 'المتطورة', + 'المتقدمة', + 'الدولية', + 'المتخصصه', + 'السريعة', + 'المثلى', + 'الابداعية', + 'المتكاملة', + 'المتغيرة', + 'المثالية', + ], + ]; - protected static $companyPrefix = ['شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض']; + protected static $companyPrefix = [ 'شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض' ]; - protected static $companySuffix = [ - ' ش.م.م', - ' للتجاره العامه', - 'للأجهزة الطبيه', - 'للتوريدات', - 'للمقاولات', - 'للتطوير العقاري', - 'للدعايه و الاعلان', - 'للحلول المتقدمه', - 'للخدمات الدولية', - 'الدولية', - 'للانظمة المتكاملة', - ]; + protected static $companySuffix = [ + ' ش.م.م', + ' للتجاره العامه', + 'للأجهزة الطبيه', + 'للتوريدات', + 'للمقاولات', + 'للتطوير العقاري', + 'للدعايه و الاعلان', + 'للحلول المتقدمه', + 'للخدمات الدولية', + 'الدولية', + 'للانظمة المتكاملة', + ]; - /** - * @example 'مؤسسة' - * - * @return string - */ - public function companyPrefix() - { - return static::randomElement(self::$companyPrefix); - } + /** + * @return string + * @example 'مؤسسة' + * + */ + public function companyPrefix() { + return static::randomElement( self::$companyPrefix ); + } - /** - * @example 'الحلول المتقدمة' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'الحلول المتقدمة' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * example 010101010 - */ - public static function companyTaxIdNumber() - { - $partialValue = static::numerify(str_repeat('#', 9)); + /** + * example 010101010 + */ + public static function companyTaxIdNumber() { + $partialValue = static::numerify( str_repeat( '#', 9 ) ); - return Luhn::generateLuhnNumber($partialValue); - } + return Luhn::generateLuhnNumber( $partialValue ); + } - /** - * example 010101 - */ - public static function companyTradeRegisterNumber() - { - $partialValue = static::numerify(str_repeat('#', 6)); + /** + * example 010101 + */ + public static function companyTradeRegisterNumber() { + $partialValue = static::numerify( str_repeat( '#', 6 ) ); - return Luhn::generateLuhnNumber($partialValue); - } + return Luhn::generateLuhnNumber( $partialValue ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Internet.php index c7696e9..66774bd 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Internet.php @@ -2,92 +2,98 @@ namespace Faker\Provider\ar_EG; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', - '{{firstNameAscii}}.{{lastNameAscii}}', - '{{firstNameAscii}}##', - '?{{lastNameAscii}}', - ]; - protected static $safeEmailTld = [ - 'com', 'com.eg', 'eg', 'me', 'net', 'org', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; + protected static $safeEmailTld = [ + 'com', + 'com.eg', + 'eg', + 'me', + 'net', + 'org', + ]; - protected static $tld = [ - 'biz', 'com', 'come.eg', 'info', 'eg', 'net', 'org', - ]; + protected static $tld = [ + 'biz', + 'com', + 'come.eg', + 'info', + 'eg', + 'net', + 'org', + ]; - protected static $lastNameAscii = [ - 'ahmed', - 'mostafa', - 'mahmoud', - 'carmen', - 'rakeen', - 'hazem', - 'ezz', - 'hemeida', - 'ramah', - 'fahmy', - 'ehab', - 'karim', - 'abdulaziz', - 'elsherbiny', - 'karam', - 'abdulaziz', - 'bayoumi', - 'tharwat', - 'elshamy', - 'youssef', - 'rizk', - 'ramzy', - 'younes', - 'selim', - ]; - protected static $firstNameAscii = [ - 'ahmed', - 'mostafa', - 'mahmoud', - 'hazem', - 'ehab', - 'karim', - 'dina', - 'maged', - 'mohamed', - 'saif', - 'basma', - 'youssef', - 'hashem', - 'dina', - 'hani', - 'hashem', - ]; + protected static $lastNameAscii = [ + 'ahmed', + 'mostafa', + 'mahmoud', + 'carmen', + 'rakeen', + 'hazem', + 'ezz', + 'hemeida', + 'ramah', + 'fahmy', + 'ehab', + 'karim', + 'abdulaziz', + 'elsherbiny', + 'karam', + 'abdulaziz', + 'bayoumi', + 'tharwat', + 'elshamy', + 'youssef', + 'rizk', + 'ramzy', + 'younes', + 'selim', + ]; + protected static $firstNameAscii = [ + 'ahmed', + 'mostafa', + 'mahmoud', + 'hazem', + 'ehab', + 'karim', + 'dina', + 'maged', + 'mohamed', + 'saif', + 'basma', + 'youssef', + 'hashem', + 'dina', + 'hani', + 'hashem', + ]; - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } - /** - * @example 'ahmad.abbadi' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); + /** + * @example 'ahmad.abbadi' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - /** - * @example 'wewebit.jo' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } + /** + * @example 'wewebit.jo' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Payment.php index 1e2eaaf..234311d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Payment.php @@ -2,15 +2,13 @@ namespace Faker\Provider\ar_EG; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see https://www.upiqrcode.com/iban-generator/eg/egypt - */ - public function bankAccountNumber(): string - { - return self::iban('EG', '', 25); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see https://www.upiqrcode.com/iban-generator/eg/egypt + */ + public function bankAccountNumber(): string { + return self::iban( 'EG', '', 25 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Person.php index f6e0b15..77d24ab 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Person.php @@ -2,106 +2,714 @@ namespace Faker\Provider\ar_EG; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{prefix}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{prefix}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{prefix}} {{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{prefix}} {{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameMale = [ + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameMale = [ - 'آدم', 'أبراهيم', 'أحمد', 'أدهم', 'أسامة', 'أسعد', 'أشرف', 'أكثم', 'أكرم', 'أمجد', 'أمين', 'أنس', 'أنور', 'أيمن', 'أيوب', 'إبراهيم', 'إسلام', 'إسماعيل', 'إلياس', 'إياد', 'إيهاب', 'ابراهيم', 'احسان', 'احمد', 'ادريس', 'ادم', 'ادهم', 'اديب', 'اسامة', - 'اسحاق', 'اسحق', 'اسعد', 'اسلام', 'اسماعيل', 'اصلان', 'اكرم', 'المنصور', 'امجد', 'امير', 'امين', 'أنس', 'انور', 'انيس', 'اياد', 'اياس', - 'ايمن', 'ايوب', 'باسل', 'باسم', 'باهر', 'بدر', 'برهان', 'بسام', 'بشار', 'بشر', 'بشير', 'بكر', 'بلال', 'بليغ', 'بهاء', 'توفيق', 'جابر', 'جاسر', 'جاسم', 'جعفر', 'جلال', 'جمال', 'جمزه', 'جميل', 'جهاد', - 'حاتم', 'حازم', 'حافظ', 'حامد', 'حبيب', 'حسام', 'حسان', 'حسن', 'حسني', 'حسين', 'حمدان', 'حمدي', 'حمزة', 'حميد', 'خالد', 'خضر', 'خلف', 'خليفة', 'خليل', 'خميس', 'داوود', 'دياب', 'رأفت', 'رؤوف', - 'رائد', 'رائف', 'راجح', 'راجي', 'راشد', 'راضي', 'راغب', 'رافت', 'راكان', 'رامز', 'رامي', 'ربيع', 'رجب', 'رزق', 'رشاد', 'رشيد', 'رضا', 'رضوان', 'رياض', 'ريان', 'زاهر', 'زاهي', 'زايد', - 'زكريا', 'زمام', 'زهير', 'زياد', 'زيد', 'زيدان', 'زين', 'سالم', 'سامح', 'سامر', 'سامي', 'سعد', 'سعيد', 'سلام', 'سلطان', 'سلمان', 'سليم', 'سليمان', 'سمعان', 'سميح', 'سنان', 'سند', - 'سيف', 'شادي', 'شاكر', 'شريف', 'شهاب', 'شهم', 'شوان', 'صادق', 'صافي', 'صالح', 'صفاء', 'صفوان', 'صقر', 'صلاح', 'صلاح الدين', 'صهيب', 'ضرغام', 'ضياء', 'ضياء الدين', 'طارق', 'طالب', 'طاهر', 'طه', 'عادل', 'عاصم', 'عاطف', - 'عبيدة', 'عثمان', 'عدلي', 'عدنان', 'عزت', - 'عصام', 'علاء', 'علي', 'عماد', 'عمار', 'عمر', 'عمرو', 'عنان', 'عواد', 'عوض', 'عوف', 'عوني', 'عيد', 'عيسى', 'غازي', 'غسان', 'غيث', 'فؤاد', 'فادي', - 'فارس', 'فاروق', 'فاضل', 'فايز', 'فتحي', 'فراس', 'فرح', 'فريد', 'فهد', 'فهمي', 'فوزي', 'فيصل', 'قارس', 'قاسم', 'قيس', 'كامل', 'كرم', 'كريم', 'كمال', 'لؤي', 'لبيب', 'لطفي', 'ليث', 'مأمون', - 'مؤمن', 'مؤنس', 'ماجد', 'مازن', 'مالك', 'مامون', 'ماهر', 'مبارك', 'مجد', 'مجدي', 'محسن', 'محمد ', 'محمود', 'محي', 'مختار', 'مدحت', 'مراد', 'مروان', 'مسعد', 'مسعود', 'مصباح', 'مصطفى', 'مصعب', - 'معاذ', 'معتز', 'معتصم', 'ممدوح', 'منتصر', 'منصور', 'منير', 'مهاب', 'مهدي', 'مهند', 'موسى', 'نائل', 'ناجي', 'نادر', 'ناصر', - 'نبيل', 'نديم', 'نزار', 'نزيه', 'نسيم', 'نشات', 'نصار', 'نصر', 'نضال', 'نعمان', 'نعمة', 'نعيم', 'نقولا', 'هادي', 'هاشم', 'هانى', 'هاني', 'هشام', 'هلال', 'همام', 'هيثم', 'وائل', - 'واصف', 'وجدي', 'وجيه', 'وحيد', 'وديع', 'وسام', 'وسيم', 'وصفي', 'وليد', 'وهيب', 'ياسر', 'ياسين', 'يامن', 'يحيى', 'يشار', 'يعقوب', 'يوسف', 'يونس', - ]; + 'آدم', + 'أبراهيم', + 'أحمد', + 'أدهم', + 'أسامة', + 'أسعد', + 'أشرف', + 'أكثم', + 'أكرم', + 'أمجد', + 'أمين', + 'أنس', + 'أنور', + 'أيمن', + 'أيوب', + 'إبراهيم', + 'إسلام', + 'إسماعيل', + 'إلياس', + 'إياد', + 'إيهاب', + 'ابراهيم', + 'احسان', + 'احمد', + 'ادريس', + 'ادم', + 'ادهم', + 'اديب', + 'اسامة', + 'اسحاق', + 'اسحق', + 'اسعد', + 'اسلام', + 'اسماعيل', + 'اصلان', + 'اكرم', + 'المنصور', + 'امجد', + 'امير', + 'امين', + 'أنس', + 'انور', + 'انيس', + 'اياد', + 'اياس', + 'ايمن', + 'ايوب', + 'باسل', + 'باسم', + 'باهر', + 'بدر', + 'برهان', + 'بسام', + 'بشار', + 'بشر', + 'بشير', + 'بكر', + 'بلال', + 'بليغ', + 'بهاء', + 'توفيق', + 'جابر', + 'جاسر', + 'جاسم', + 'جعفر', + 'جلال', + 'جمال', + 'جمزه', + 'جميل', + 'جهاد', + 'حاتم', + 'حازم', + 'حافظ', + 'حامد', + 'حبيب', + 'حسام', + 'حسان', + 'حسن', + 'حسني', + 'حسين', + 'حمدان', + 'حمدي', + 'حمزة', + 'حميد', + 'خالد', + 'خضر', + 'خلف', + 'خليفة', + 'خليل', + 'خميس', + 'داوود', + 'دياب', + 'رأفت', + 'رؤوف', + 'رائد', + 'رائف', + 'راجح', + 'راجي', + 'راشد', + 'راضي', + 'راغب', + 'رافت', + 'راكان', + 'رامز', + 'رامي', + 'ربيع', + 'رجب', + 'رزق', + 'رشاد', + 'رشيد', + 'رضا', + 'رضوان', + 'رياض', + 'ريان', + 'زاهر', + 'زاهي', + 'زايد', + 'زكريا', + 'زمام', + 'زهير', + 'زياد', + 'زيد', + 'زيدان', + 'زين', + 'سالم', + 'سامح', + 'سامر', + 'سامي', + 'سعد', + 'سعيد', + 'سلام', + 'سلطان', + 'سلمان', + 'سليم', + 'سليمان', + 'سمعان', + 'سميح', + 'سنان', + 'سند', + 'سيف', + 'شادي', + 'شاكر', + 'شريف', + 'شهاب', + 'شهم', + 'شوان', + 'صادق', + 'صافي', + 'صالح', + 'صفاء', + 'صفوان', + 'صقر', + 'صلاح', + 'صلاح الدين', + 'صهيب', + 'ضرغام', + 'ضياء', + 'ضياء الدين', + 'طارق', + 'طالب', + 'طاهر', + 'طه', + 'عادل', + 'عاصم', + 'عاطف', + 'عبيدة', + 'عثمان', + 'عدلي', + 'عدنان', + 'عزت', + 'عصام', + 'علاء', + 'علي', + 'عماد', + 'عمار', + 'عمر', + 'عمرو', + 'عنان', + 'عواد', + 'عوض', + 'عوف', + 'عوني', + 'عيد', + 'عيسى', + 'غازي', + 'غسان', + 'غيث', + 'فؤاد', + 'فادي', + 'فارس', + 'فاروق', + 'فاضل', + 'فايز', + 'فتحي', + 'فراس', + 'فرح', + 'فريد', + 'فهد', + 'فهمي', + 'فوزي', + 'فيصل', + 'قارس', + 'قاسم', + 'قيس', + 'كامل', + 'كرم', + 'كريم', + 'كمال', + 'لؤي', + 'لبيب', + 'لطفي', + 'ليث', + 'مأمون', + 'مؤمن', + 'مؤنس', + 'ماجد', + 'مازن', + 'مالك', + 'مامون', + 'ماهر', + 'مبارك', + 'مجد', + 'مجدي', + 'محسن', + 'محمد ', + 'محمود', + 'محي', + 'مختار', + 'مدحت', + 'مراد', + 'مروان', + 'مسعد', + 'مسعود', + 'مصباح', + 'مصطفى', + 'مصعب', + 'معاذ', + 'معتز', + 'معتصم', + 'ممدوح', + 'منتصر', + 'منصور', + 'منير', + 'مهاب', + 'مهدي', + 'مهند', + 'موسى', + 'نائل', + 'ناجي', + 'نادر', + 'ناصر', + 'نبيل', + 'نديم', + 'نزار', + 'نزيه', + 'نسيم', + 'نشات', + 'نصار', + 'نصر', + 'نضال', + 'نعمان', + 'نعمة', + 'نعيم', + 'نقولا', + 'هادي', + 'هاشم', + 'هانى', + 'هاني', + 'هشام', + 'هلال', + 'همام', + 'هيثم', + 'وائل', + 'واصف', + 'وجدي', + 'وجيه', + 'وحيد', + 'وديع', + 'وسام', + 'وسيم', + 'وصفي', + 'وليد', + 'وهيب', + 'ياسر', + 'ياسين', + 'يامن', + 'يحيى', + 'يشار', + 'يعقوب', + 'يوسف', + 'يونس', + ]; - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameFemale = [ - 'آثار', 'آلاء', 'آية', 'أبرار', 'أحلام', 'أروى', 'أريج', 'أسماء', 'أسيل', 'أصاله', 'أفنان', 'ألاء', 'أماني', 'أمل', 'أميرة', 'أنسام', 'أنوار', 'إخلاص', 'إسراء', 'إكرام', 'إنعام', 'إيمان', 'إيناس', 'ابتهاج', 'ابتهال', 'إخلاص', 'أروى', 'أريج', - 'أزهار', 'اسراء', 'اسرار', 'اسيل', 'اشراق', 'أفراح', 'إكرام', 'إلهام', 'آمال', 'أمنة', 'أميرة', 'أمينة', 'أنعام', 'أنوار', 'آيات', 'إيمان', 'إيناس', 'آية', 'بتول', 'بثينة', 'بسمة', - 'بشائر', 'بشرى', 'تالا', 'تالة', 'تسنيم', 'تغريد', 'تقوى', 'تقى', 'تمارا', 'تهاني', 'ثريا', 'جميلة', 'جنى', 'جهاد', 'حبيبة', 'حسناء', 'حلا', 'حليمة', 'حنان', 'حنين', 'حياة', - 'خديجة', 'خلود', 'دارين', 'داليا', 'دانا', 'دانة', 'دانية', 'دعاء', 'دلال', 'دنيا', 'ديانا', 'ديما', 'دينا', 'رؤى', 'راما', 'رانا', 'رانيا', 'راوية', 'راية', 'ربا', 'رباب', 'ربى', 'رجاء', 'رحمة', 'رحمه', 'رزان', - 'رشا', 'رغد', 'رغدة', 'رقية', 'رنا', 'رناد', 'رنده', 'رنيم', 'رنين', 'رهف', 'روان', 'رولى', 'رويدة', 'ريان', 'ريتا', 'ريم', 'ريما', 'ريناد', 'ريهام', 'زكية', 'زهرة', 'زين', 'زينا', - 'زينات', 'زينب', 'زينة', 'ساجدة', 'سارة', 'سجى', 'سحر', 'سعاد', 'سكينة', 'سلسبيل', 'سلمى', 'سلوى', 'سما', 'سماح', 'سماره', 'سمر', 'سمية', 'سميرة', 'سناء', 'سندس', 'سهام', 'سهر', 'سهى', 'سهير', 'سهيله', 'سوزان', 'سوسن', - 'سيرين', 'سيرينا', 'سيلين', 'سيما', 'شذى', 'شروق', 'شريفة', 'شرين', 'شريهان', 'شفاء', 'شهد', 'شيرين', 'شيماء', 'صابرين', 'صبا', 'صباح', 'صبرين', 'صفا', 'صفاء', 'صفية', 'ضحى', 'ضياء', 'عائشة', 'عاليا', 'عالية', 'عبلة', 'عبير', 'عزة', 'عزيزة', 'عفاف', 'علا', 'علياء', - 'عهد', 'غادة', 'غدير', 'غرام', 'غزل', 'غيداء', 'فاتن', 'فاديه', 'فاطمة', 'فايزة', 'فتحية', 'فدوى', 'فدى', 'فرح', 'فريال', 'فريدة', 'فوزية', 'فيروز', 'فيفيان', 'قمر', 'لارا', 'لانا', 'لبنا', 'لطيفة', 'لمى', - 'لميس', 'لنا', 'لورا', 'لورينا', 'لونا', 'ليان', 'ليدا', 'ليلى', 'ليليان', 'لين', 'لينا', 'لينة', 'ليندا', 'مايا', 'مجدولين', 'مديحة', 'مرام', 'مروة', 'مريام', 'مريم', 'مشيرة', 'معالي', 'ملاك', 'ملك', 'منار', 'منال', 'منى', 'مها', 'مي', - 'ميادة', 'مياده', 'ميار', 'ميان', 'ميرا', 'ميرال', 'ميران', 'ميرفت', 'ميس', 'ميساء', 'ميسره', 'ناديا', 'نادية', 'نادين', 'ناديه', 'نانسي', 'نبيله', 'نجاة', 'نجلاء', 'نجوى', 'نداء', 'ندى', - 'نرمين', 'نسرين', 'نسيمة', 'نعمت', 'نعمه', 'نهاد', 'نهى', 'نوال', 'نور', 'نورا', 'نوران', 'نيروز', 'نيفين', 'هادلين', 'هالة', 'هانيا', 'هايدي', 'هبة', 'هدايه', 'هدى', 'هديل', 'هلا', 'هنا', 'هناء', 'هنادي', 'هند', 'هيا', 'هيفا', - 'هيفاء', 'هيلين', 'وئام', 'وجدان', 'وداد', 'ورود', 'وسام', 'وسيم', 'وعد', 'وفاء', 'ولاء', 'يارا', 'ياسمين', 'يسرى', - ]; + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameFemale = [ + 'آثار', + 'آلاء', + 'آية', + 'أبرار', + 'أحلام', + 'أروى', + 'أريج', + 'أسماء', + 'أسيل', + 'أصاله', + 'أفنان', + 'ألاء', + 'أماني', + 'أمل', + 'أميرة', + 'أنسام', + 'أنوار', + 'إخلاص', + 'إسراء', + 'إكرام', + 'إنعام', + 'إيمان', + 'إيناس', + 'ابتهاج', + 'ابتهال', + 'إخلاص', + 'أروى', + 'أريج', + 'أزهار', + 'اسراء', + 'اسرار', + 'اسيل', + 'اشراق', + 'أفراح', + 'إكرام', + 'إلهام', + 'آمال', + 'أمنة', + 'أميرة', + 'أمينة', + 'أنعام', + 'أنوار', + 'آيات', + 'إيمان', + 'إيناس', + 'آية', + 'بتول', + 'بثينة', + 'بسمة', + 'بشائر', + 'بشرى', + 'تالا', + 'تالة', + 'تسنيم', + 'تغريد', + 'تقوى', + 'تقى', + 'تمارا', + 'تهاني', + 'ثريا', + 'جميلة', + 'جنى', + 'جهاد', + 'حبيبة', + 'حسناء', + 'حلا', + 'حليمة', + 'حنان', + 'حنين', + 'حياة', + 'خديجة', + 'خلود', + 'دارين', + 'داليا', + 'دانا', + 'دانة', + 'دانية', + 'دعاء', + 'دلال', + 'دنيا', + 'ديانا', + 'ديما', + 'دينا', + 'رؤى', + 'راما', + 'رانا', + 'رانيا', + 'راوية', + 'راية', + 'ربا', + 'رباب', + 'ربى', + 'رجاء', + 'رحمة', + 'رحمه', + 'رزان', + 'رشا', + 'رغد', + 'رغدة', + 'رقية', + 'رنا', + 'رناد', + 'رنده', + 'رنيم', + 'رنين', + 'رهف', + 'روان', + 'رولى', + 'رويدة', + 'ريان', + 'ريتا', + 'ريم', + 'ريما', + 'ريناد', + 'ريهام', + 'زكية', + 'زهرة', + 'زين', + 'زينا', + 'زينات', + 'زينب', + 'زينة', + 'ساجدة', + 'سارة', + 'سجى', + 'سحر', + 'سعاد', + 'سكينة', + 'سلسبيل', + 'سلمى', + 'سلوى', + 'سما', + 'سماح', + 'سماره', + 'سمر', + 'سمية', + 'سميرة', + 'سناء', + 'سندس', + 'سهام', + 'سهر', + 'سهى', + 'سهير', + 'سهيله', + 'سوزان', + 'سوسن', + 'سيرين', + 'سيرينا', + 'سيلين', + 'سيما', + 'شذى', + 'شروق', + 'شريفة', + 'شرين', + 'شريهان', + 'شفاء', + 'شهد', + 'شيرين', + 'شيماء', + 'صابرين', + 'صبا', + 'صباح', + 'صبرين', + 'صفا', + 'صفاء', + 'صفية', + 'ضحى', + 'ضياء', + 'عائشة', + 'عاليا', + 'عالية', + 'عبلة', + 'عبير', + 'عزة', + 'عزيزة', + 'عفاف', + 'علا', + 'علياء', + 'عهد', + 'غادة', + 'غدير', + 'غرام', + 'غزل', + 'غيداء', + 'فاتن', + 'فاديه', + 'فاطمة', + 'فايزة', + 'فتحية', + 'فدوى', + 'فدى', + 'فرح', + 'فريال', + 'فريدة', + 'فوزية', + 'فيروز', + 'فيفيان', + 'قمر', + 'لارا', + 'لانا', + 'لبنا', + 'لطيفة', + 'لمى', + 'لميس', + 'لنا', + 'لورا', + 'لورينا', + 'لونا', + 'ليان', + 'ليدا', + 'ليلى', + 'ليليان', + 'لين', + 'لينا', + 'لينة', + 'ليندا', + 'مايا', + 'مجدولين', + 'مديحة', + 'مرام', + 'مروة', + 'مريام', + 'مريم', + 'مشيرة', + 'معالي', + 'ملاك', + 'ملك', + 'منار', + 'منال', + 'منى', + 'مها', + 'مي', + 'ميادة', + 'مياده', + 'ميار', + 'ميان', + 'ميرا', + 'ميرال', + 'ميران', + 'ميرفت', + 'ميس', + 'ميساء', + 'ميسره', + 'ناديا', + 'نادية', + 'نادين', + 'ناديه', + 'نانسي', + 'نبيله', + 'نجاة', + 'نجلاء', + 'نجوى', + 'نداء', + 'ندى', + 'نرمين', + 'نسرين', + 'نسيمة', + 'نعمت', + 'نعمه', + 'نهاد', + 'نهى', + 'نوال', + 'نور', + 'نورا', + 'نوران', + 'نيروز', + 'نيفين', + 'هادلين', + 'هالة', + 'هانيا', + 'هايدي', + 'هبة', + 'هدايه', + 'هدى', + 'هديل', + 'هلا', + 'هنا', + 'هناء', + 'هنادي', + 'هند', + 'هيا', + 'هيفا', + 'هيفاء', + 'هيلين', + 'وئام', + 'وجدان', + 'وداد', + 'ورود', + 'وسام', + 'وسيم', + 'وعد', + 'وفاء', + 'ولاء', + 'يارا', + 'ياسمين', + 'يسرى', + ]; - protected static $lastName = [ - 'عبد الرحيم', 'عبد الرحمن', 'عبد الرؤوف', 'عبد الحميد', 'عبد الله', 'عبد الباسط', 'عبد الحليم', 'عبد الجواد', 'عبد الجليل', - 'عبد المجيد', 'عبد المطلب', 'عبد المهيمن', 'عبد القادر', 'عبد الفتاح', 'عبد العزيز', 'عبد السلام', 'عبد الرزاق', - 'طلال', 'هارون', 'شافع', 'عبد الكريم', 'عبد اللطيف', 'عبد الوهاب', 'عبد الهادي', 'عبد الناصر', 'عبد المعطي', - 'نجيب', 'مظهر', 'عزيز', 'عمران', 'فواز', 'غانم', 'مجاهد', 'عزمي', - 'زين العابدين', 'كاظم', 'السويلم', 'رجائي', 'مهران', 'رسلان', 'السقا', 'مكي', 'حارث', - 'غالب', 'السايس', 'صدام', 'هوساوي', 'السعيد', 'الداوود', 'جبر', 'عز الدين', 'عزام', 'عز العرب', 'الصعيدي', - 'جمال الدين', 'السباعي', 'الكفراوي', - ]; + protected static $lastName = [ + 'عبد الرحيم', + 'عبد الرحمن', + 'عبد الرؤوف', + 'عبد الحميد', + 'عبد الله', + 'عبد الباسط', + 'عبد الحليم', + 'عبد الجواد', + 'عبد الجليل', + 'عبد المجيد', + 'عبد المطلب', + 'عبد المهيمن', + 'عبد القادر', + 'عبد الفتاح', + 'عبد العزيز', + 'عبد السلام', + 'عبد الرزاق', + 'طلال', + 'هارون', + 'شافع', + 'عبد الكريم', + 'عبد اللطيف', + 'عبد الوهاب', + 'عبد الهادي', + 'عبد الناصر', + 'عبد المعطي', + 'نجيب', + 'مظهر', + 'عزيز', + 'عمران', + 'فواز', + 'غانم', + 'مجاهد', + 'عزمي', + 'زين العابدين', + 'كاظم', + 'السويلم', + 'رجائي', + 'مهران', + 'رسلان', + 'السقا', + 'مكي', + 'حارث', + 'غالب', + 'السايس', + 'صدام', + 'هوساوي', + 'السعيد', + 'الداوود', + 'جبر', + 'عز الدين', + 'عزام', + 'عز العرب', + 'الصعيدي', + 'جمال الدين', + 'السباعي', + 'الكفراوي', + ]; - protected static $titleMale = ['السيد', 'الأستاذ', 'الدكتور', 'المهندس']; - protected static $titleFemale = ['السيدة', 'الآنسة', 'الدكتورة', 'المهندسة']; - private static $prefix = ['أ.', 'د.', 'أ.د', 'م.']; + protected static $titleMale = [ 'السيد', 'الأستاذ', 'الدكتور', 'المهندس' ]; + protected static $titleFemale = [ 'السيدة', 'الآنسة', 'الدكتورة', 'المهندسة' ]; + private static $prefix = [ 'أ.', 'د.', 'أ.د', 'م.' ]; - /** - * @example 'أ.' - */ - public static function prefix() - { - return static::randomElement(static::$prefix); - } + /** + * @example 'أ.' + */ + public static function prefix() { + return static::randomElement( static::$prefix ); + } - /** - * @see https://ar.wikipedia.org/wiki/%D8%A8%D8%B7%D8%A7%D9%82%D8%A9_%D8%A7%D9%84%D8%B1%D9%82%D9%85_%D8%A7%D9%84%D9%82%D9%88%D9%85%D9%8A_%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A%D8%A9 - * - * @example 27512310101010 - * - * @return string - */ - public static function nationalIdNumber($gender = null) - { - $randomBirthDateTimestamp = mt_rand(strtotime('1950-Jan-10'), strtotime('2005-Dec-25')); + /** + * @see https://ar.wikipedia.org/wiki/%D8%A8%D8%B7%D8%A7%D9%82%D8%A9_%D8%A7%D9%84%D8%B1%D9%82%D9%85_%D8%A7%D9%84%D9%82%D9%88%D9%85%D9%8A_%D8%A7%D9%84%D9%85%D8%B5%D8%B1%D9%8A%D8%A9 + * + * @example 27512310101010 + * + * @return string + */ + public static function nationalIdNumber( $gender = null ) { + $randomBirthDateTimestamp = mt_rand( strtotime( '1950-Jan-10' ), strtotime( '2005-Dec-25' ) ); - $centuryId = ((int) date('Y', $randomBirthDateTimestamp)) >= 2000 ? 3 : 2; - $fullBirthDate = date('ymd', $randomBirthDateTimestamp); - $governorateId = Address::governorateId(); - $birthRegistrationSequence = mt_rand(1, 500); + $centuryId = ( (int) date( 'Y', $randomBirthDateTimestamp ) ) >= 2000 ? 3 : 2; + $fullBirthDate = date( 'ymd', $randomBirthDateTimestamp ); + $governorateId = Address::governorateId(); + $birthRegistrationSequence = mt_rand( 1, 500 ); - if ($gender === static::GENDER_MALE) { - $birthRegistrationSequence = $birthRegistrationSequence | 1; // Convert to the nearest odd number - } elseif ($gender === static::GENDER_FEMALE) { - $birthRegistrationSequence = $birthRegistrationSequence & ~1; // Convert to the nearest even number - } + if ( $gender === static::GENDER_MALE ) { + $birthRegistrationSequence = $birthRegistrationSequence | 1; // Convert to the nearest odd number + } elseif ( $gender === static::GENDER_FEMALE ) { + $birthRegistrationSequence = $birthRegistrationSequence & ~1; // Convert to the nearest even number + } - $birthRegistrationSequence = str_pad((string) $birthRegistrationSequence, 4, '0', STR_PAD_LEFT); - $randomCheckDigit = mt_rand(1, 9); + $birthRegistrationSequence = str_pad( (string) $birthRegistrationSequence, 4, '0', STR_PAD_LEFT ); + $randomCheckDigit = mt_rand( 1, 9 ); - return $centuryId . $fullBirthDate . $governorateId . $birthRegistrationSequence . $randomCheckDigit; - } + return $centuryId . $fullBirthDate . $governorateId . $birthRegistrationSequence . $randomCheckDigit; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Text.php index 099c408..8ccc613 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_EG/Text.php @@ -2,24 +2,22 @@ namespace Faker\Provider\ar_EG; -class Text extends \Faker\Provider\Text -{ - protected static function validStart($word) - { - return preg_match('/^\p{Arabic}/u', $word); - } +class Text extends \Faker\Provider\Text { + protected static function validStart( $word ) { + return preg_match( '/^\p{Arabic}/u', $word ); + } - /** - * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - * - * Title: ألف ليلة وليلة - * Language: Arabic - * - * @see https://ar.wikisource.org/wiki/%D8%A3%D9%84%D9%81_%D9%84%D9%8A%D9%84%D8%A9_%D9%88%D9%84%D9%8A%D9%84%D8%A9/%D8%A7%D9%84%D8%AC%D8%B2%D8%A1_%D8%A7%D9%84%D8%A3%D9%88%D9%84 - * - * @var string - */ - protected static $baseText = <<<'EOT' + /** + * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) + * + * Title: ألف ليلة وليلة + * Language: Arabic + * + * @see https://ar.wikisource.org/wiki/%D8%A3%D9%84%D9%81_%D9%84%D9%8A%D9%84%D8%A9_%D9%88%D9%84%D9%8A%D9%84%D8%A9/%D8%A7%D9%84%D8%AC%D8%B2%D8%A1_%D8%A7%D9%84%D8%A3%D9%88%D9%84 + * + * @var string + */ + protected static $baseText = <<<'EOT' ففي الليلة الأولى قالت: بلغني أيها الملك السعيد أنه كان تاجر من التجار كثير المال والمعاملات في البلاد قد ركب يومًا وخرج يطالب في بعض البلاد فاشتد عليه الحر فجلس تحت شجرة وحط يده في خرجه وأكل كسرة كانت معه وتمرة فلما فرغ من أكل التمرة رمى النواة وإذا هو بعفريت طويل القامة وبيده سيف فدنا من ذلك التاجر وقال له: قم حتى أقتلك مثل ما قتلت ولدي فقال له التاجر: كيف قتلت ولدك قال له: لما أكلت التمرة ورميت نواتها جاءت النواة في صدر ولدي فقضي عليه ومات من ساعته فقال التاجر للعفريت: أعلم أيها العفريت أني على دين ولي مال كثير وأولاد وزوجة وعندي رهون فدعني أذهب إلى بيتي وأعطي كل ذي حق حقه ثم أعود إليك ولك علي عهد وميثاق أني أعود إليك فتفعل بي ما تريد والله على ما أقول وكيل. فاستوثق منه الجني وأطلقه فرجع إلى بلده وقضى جميع تعلقاته وأوصل الحقوق إلى أهلها وأعلم زوجته وأولاده بما جرى له فبكوا وكذلك جميع أهله ونساءه وأولاده وأوصى وقعد عندهم إلى تمام السنة ثم توجه وأخذ كفنه تحت إبطه وودع أهله وجيرانه وجميع أهله وخرج رغمًا عن أنفه وأقيم عليه العياط والصراخ فمشى إلى أن وصل إلى ذلك البستان وكان ذلك اليوم أول السنة الجديدة فبينما هو جالس يبكي على ما يحصل له وإذا بشيخ كبير قد أقبل عليه ومعه غزالة مسلسلة فسلم على هذا التاجر وحياه وقال له: ما سبب جلوسك في هذا المكان وأنت منفرد وهو مأوى الجن فأخبره التاجر بما جرى له مع ذلك العفريت وبسبب قعوده في هذا منهم الشيخ الأول وهو صاحب الغزالة وقبل يد ذلك العفريت وقال له: يا أيها الجني وتاج ملوك الجن إذا حكيت لك حكايتي مع هذه الغزالة ورأيتها عجيبة أتهب لي ثلث دم هذا التاجر قال: نعم. يا أيها الشيخ إذا أنت حكيت لي الحكاية ورأيتها عجيبة وهبت لك ثلث دمه فقال ذلك الشيخ الأول: اتعلم يا أيها العفريت أن هذه الغزالة هي بنت عمي ومن لحمي ودمي وكنت تزوجت بها وهي صغيرة السن وأقمت معها نحو ثلاثين سنة فلم أرزق منها بولد فأخذت لي سرية فرزقت منها بولد ذكر كأنه البدر إذا بدا بعينين مليحتين وحاجبين مزججين وأعضاء كاملة فكبر شيئًا فشيئًا إلى أن صار ابن خمس عشرة سنة فطرأت لي سفرة إلى بعض المدن فسافرت بمتجر عظيم وكانت بنت عمي هذه الغزالة تعلمت السحر والكهانة من صغرها فسحرت ذلك الولد عجلًا وسحرت الجارية أمه بقرة وسلمتها إلى الراعي ثم جئت أنا بعد مدة طويلة من السفر فسألت عن ولدي وعن أمه فقالت لي جاريتك ماتت وابنك هرب ولم أعلم أين راح فجلست مدة سنة وأنا حزين القلب باكي العين إلى أن جاء عيد الضحية فأرسلت إلى الراعي أن يخصني ببقرة سمينة وهي سريتي التي سحرتها تلك الغزالة فشمرت ثيابي وأخذت السكين بيدي وتهيأت لذبحها فصاحت وبكت بكاء شديدًا فقمت عنها وأمرت ذلك الراعي بذبحها وسلخها فلم يجد فيها شحمًا ولا لحمًا غير جلد وعظم فندمت على ذبحها حيث لا ينفعني الندم وأعطيتها للراعي وقلت له: ائتني بعجل سمين فأتاني بولدي المسحور عجلًا فلما رآني ذلك العجل قطع حبله وجاءني وتمرغ علي وولول وبكى فأخذتني الرأفة عليه وقلت للراعي ائتني ببقرة ودع هذا. وأدرك شهرزاد الصباح فسكتت عن الكلام المباح. فقالت لها أختها: ما أطيب حديثك وألطفه وألذه وأعذبه فقالت: وأين هذا مما أحدثكم به الليلة القابلة إن عشت وأبقاني الملك فقال الملك في نفسه: والله ما أقتلها حتى أسمع بقية حديثها ثم أنهم باتوا تلك الليلة إلى الصباح متعانقين فخرج الملك إلى محل حكمه وطلع الوزير بالكفن تحت إبطه ثم حكم الملك وولي وعزل إلى آخر النهار ولم يخبر الوزير بشيء من ذلك فتعجب الوزير غاية العجب ثم انفض الديوان ودخل الملك شهريار قصره. و في الليلة الثانية قالت دنيازاد لأختها شهرزاد: يا أختي أتممي لنا حديثك الذي هو حديث التاجر والجني. قالت حبًا وكرامة إن أذن لي الملك في ذلك فقال لها الملك: احكي فقالت: بلغني أيها الملك السعيد ذو الرأي الرشيد أنه لما رأى بكاء العجل حن قلبه إليه وقال للراعي: ابق هذا العجل بين البهائم. كل ذلك والجني يتعجب من حكاية ذلك الكلام العجيب ثم قال صاحب الغزالة: يا سيد ملوك الجان كل ذلك جرى وابنة عمي هذه الغزالة تنظر وترى وتقول اذبح هذا العجل فإنه سمين فلم يهن علي أن أذبحه وأمرت الراعي أن يأخذه وتوجه به ففي ثاني يوم وأنا جالس وإذا بالراعي أقبل علي وقال: يا سيدي إني أقول شيئًا تسر به ولي البشارة. فقلت: نعم فقال: أيها التاجر إن لي بنتًا كانت تعلمت السحر في صغرها من امرأة عجوز كانت عندنا فلما كنا بالأمس وأعطيتني العجل دخلت به عليها فنظرت إليه ابنتي وغطت وجهها وبكت ثم إنها ضحكت وقالت: يا أبي قد خس قدري عندك حتى تدخل علي الرجال الأجانب. فقلت لها: وأين الرجال الأجانب ولماذا بكيت وضحكت فقالت لي أن هذا العجل الذي معك ابن سيدي التاجر ولكنه مسحور وسحرته زوجة أبيه هو وأمه فهذا سبب ضحكي وأما سبب بكائي فمن أجل أمه حيث ذبحها أبوه فتعجبت من ذلك غاية العجب وما صدقت بطلوع الصباح حتى جئت إليك لأعلمك فلما سمعت أيها الجني كلام هذا الراعي خرجت معه وأنا سكران من غير مدام من كثرة الفرح والسرور والذي حصل لي إلى أن أتيت إلى داره فرحبت بي ابنة الراعي وقبلت يدي ثم إن العجل جاء إلي وتمرغ علي فقلت لابنة الراعي: أحق ما تقولينه عن ذلك العجل فقالت: نعم يا سيدي إيه ابنك وحشاشة كبدك فقلت لها: أيها الصبية إن أنت خلصتيه فلك عندي ما تحت يد أبيك من المواشي والأموال فتبسمت وقالت: يا سيدي ليس لي رغبة في المال إلا بشرطين: الأول: أن تزوجني به والثاني: أن أسر من سحرته وأحبسها وإلا فلست آمن مكرها فلما سمعت أيها الجني كلام بنت الراعي قلت : ولك فوق جميع ما تحت يد أبيك من الأموال زيادة وأما بنت عمي فدمها لك مباح. فلما سمعت كلامي أخذت طاسة وملأتها ماء ثم أنها عزمت عليها ورشت بها العجل وقالت: إن كان الله خلقك عجلًا فدم على هذه الصفة ولا تتغير وإن كنت مسحورًا فعد إلى خلقتك الأولى بإذن الله تعالى وإذا به انتفض ثم صار إنسانًا فوقعت عليه وقلت له: بالله عليك احك لي جميع ما صنعت بك وبأمك بنت عمي فحكى لي جميع ما جرى لهما فقلت: يا ولدي قد قيض الله لك من خلصك وخلص حقك ثم إني أيها الجني زوجته ابنة الراعي ثم أنها سحرت ابنة عمي هذه الغزالة وجئت إلى هنا فرأيت هؤلاء الجماعة فسألتهم عن حالهم فأخبروني بما جرى لهذا التاجر فجلست لأنظر ما يكون وهذا حديثي فقال الجني: هذا حديث عجيب وقد وهبت لك ثلث دمه فعند ذلك تقدم الشيخ صاحب الكلبتين السلاقيتين وقال له: اعلم يا سيد ملوك الجان أن هاتين الكلبتين أخوتي وأنا ثالثهم ومات والدي وخلف لنا ثلاثة آلاف دينار ففتحت دكانًا أبيع فيه وأشتري وسافر أخي بتجارته وغاب عنا مدة سنة مع القوافل ثم أتى وما معه شيء فقلت له: يا أخي أما أشرت عليك بعدم السفر فبكى وقال: يا أخي قدر الله عز وجل علي بهذا ولم يبق لهذا الكلام فائدة ولست أملك شيئًا فأخذته وطلعت به إلى الدكان ثم ذهبت به إلى الحمام وألبسته حلة من الملابس الفاخرة وأكلت أنا وإياه وقلت له: يا أخي إني أحسب ربح دكاني من السنة إلى السنة ثم أقسمه دون رأس المال بيني وبينك ثم إني عملت حساب الدكان من بربح مالي فوجدته ألفي دينار فحمدت الله عز وجل وفرحت غاية الفرح وقسمت الربح بيني وبينه شطرين وأقمنا مع بعضنا أيامًا ثم إن أخوتي طلبوا السفر أيضًا وأرادوا أن أسافر معهم فلم أرض وقلت لهم: أي شيء كسبتم من سفركم حتى أكسب أنا فألحوا علي ولم أطعهم بل أقمنا في دكاكيننا نبيع ونشتري سنة كاملة وهم يعرضون علي السفر وأنا لم أرض حتى مضت ست سنوات كوامل. diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Address.php index cd70dc5..50ee021 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Address.php @@ -2,151 +2,459 @@ namespace Faker\Provider\ar_JO; -class Address extends \Faker\Provider\Address -{ - protected static $streetPrefix = ['شارع']; - - protected static $cityPrefix = ['شمال', 'شرق', 'غرب', 'جنوب', 'وسط']; - - /** - * @see http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AF%D9%86_%D8%A7%D9%84%D8%A3%D8%B1%D8%AF%D9%86 - */ - protected static $cityName = [ - 'اربد', 'أبو نصير', 'الجبيهه', 'الحصن', 'الرصيفة', 'الرمثا', 'الزرقاء', 'السلط', 'الشهيد عزمي', 'الصريح', 'الضليل', 'الطفيلة', 'العقبة', 'القويسمة', 'الكرك', 'المشارع', 'المفرق', 'الهاشمية', 'ام قصير', 'ايدون', - 'بيت راس', - 'تلاع العلي', - 'جرش', - 'ساكب', 'سحاب', - 'شفا بدران', - 'صويلح', - 'عمان', 'عنجره', 'عين الباشا', - 'غور الصافي', - 'كريمه', 'كفرنجه', - 'مادبا', 'مخيم البقعه', 'مخيم حطين', 'مرج الحمام', 'معان', - 'ناعور', - 'وادي السير', - ]; - - protected static $buildingNumber = ['%####', '%###', '%#']; - - protected static $postcode = ['#####', '#####-####']; - - /** - * @see http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%88%D9%84%D8%A7%D9%8A%D8%A7%D8%AA_%D8%A7%D9%84%D8%A3%D9%85%D8%B1%D9%8A%D9%83%D9%8A%D8%A9_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D9%85%D8%B3%D8%A7%D8%AD%D8%A9 - */ - protected static $state = [ - 'آيوا', 'أركنساس', 'أريزونا', 'ألاباما', 'ألاسكا', 'أوريغون', 'أوكلاهوما', 'أوهايو', 'أيداهو', 'إلينوي', 'إنديانا', 'الاباما', 'الجزر العذراء الأمريكية', - 'بنس يلفانيا', 'بورتو ريكو', - 'تكساس', 'تينيسي', - 'جزر ماريانا الشمالية', 'جورجيا', - 'داكوتا الجنوبية', 'داكوتا الشمالية', 'ديلاوير', 'رود آيلاند', - 'ساموا الأمريكية', - 'غوام', - 'فرجينيا الغربية', 'فلوريدا', 'فيرجينيا', 'فيرجينيا الغربية', 'فيرمونت', - 'كارولاينا الجنوبية', 'كارولاينا الشمالية', 'كارولينا الشمالية', 'كاليفورنيا', 'كانساس', 'كنتاكي', 'كولورادو', 'كونيتيكت', - 'لويزيانا', - 'ماريلاند', 'ماساتشوستس', 'ماين', 'مسيسيبي', 'مونتانا', 'ميريلاند', 'ميزوري', 'ميشيغان', 'مين', 'مينيسوتا', - 'نبراسكا', 'نيفادا', 'نيو جيرسي', 'نيو ميكسيكو', 'نيوهامشير', 'نيويورك', - 'هاواي', - 'واشنطن', 'وايومنغ', 'ويسكنسن', 'يوتا', - ]; - - protected static $stateAbbr = [ - 'AK', 'AL', 'AR', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'GA', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MI', 'MN', 'MO', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VA', 'VT', 'WA', 'WI', 'WV', 'WY', - ]; - - /** - * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm - */ - protected static $country = [ - 'الكاريبي', 'أمريكا الوسطى', 'أنتيجوا وبربودا', 'أنجولا', 'أنجويلا', 'أندورا', 'اندونيسيا', 'أورجواي', 'أوروبا', 'أوزبكستان', 'أوغندا', 'أوقيانوسيا', 'أوقيانوسيا النائية', 'أوكرانيا', 'ايران', 'أيرلندا', 'أيسلندا', 'ايطاليا', - 'بابوا غينيا الجديدة', 'باراجواي', 'باكستان', 'بالاو', 'بتسوانا', 'بتكايرن', 'بربادوس', 'برمودا', 'بروناي', 'بلجيكا', 'بلغاريا', 'بليز', 'بنجلاديش', 'بنما', 'بنين', 'بوتان', 'بورتوريكو', 'بوركينا فاسو', 'بوروندي', 'بولندا', 'بوليفيا', 'بولينيزيا', 'بولينيزيا الفرنسية', 'بيرو', - 'تانزانيا', 'تايلند', 'تايوان', 'تركمانستان', 'تركيا', 'ترينيداد وتوباغو', 'تشاد', 'توجو', 'توفالو', 'توكيلو', 'تونجا', 'تونس', 'تيمور الشرقية', - 'جامايكا', 'جبل طارق', 'جرينادا', 'جرينلاند', 'جزر الأنتيل الهولندية', 'جزر الترك وجايكوس', 'جزر القمر', 'جزر الكايمن', 'جزر المارشال', 'جزر الملديف', 'جزر الولايات المتحدة البعيدة الصغيرة', 'جزر أولان', 'جزر سليمان', 'جزر فارو', 'جزر فرجين الأمريكية', 'جزر فرجين البريطانية', 'جزر فوكلاند', 'جزر كوك', 'جزر كوكوس', 'جزر ماريانا الشمالية', 'جزر والس وفوتونا', 'جزيرة الكريسماس', 'جزيرة بوفيه', 'جزيرة مان', 'جزيرة نورفوك', 'جزيرة هيرد وماكدونالد', 'جمهورية افريقيا الوسطى', 'جمهورية التشيك', 'جمهورية الدومينيك', 'جمهورية الكونغو الديمقراطية', 'جمهورية جنوب افريقيا', 'جنوب آسيا', 'جنوب أوروبا', 'جنوب شرق آسيا', 'جنوب وسط آسيا', 'جواتيمالا', 'جوادلوب', 'جوام', 'جورجيا', 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', 'جيبوتي', 'جيرسي', - 'دومينيكا', - 'رواندا', 'روسيا', 'روسيا البيضاء', 'رومانيا', 'روينيون', - 'زامبيا', 'زيمبابوي', - 'ساحل العاج', 'ساموا', 'ساموا الأمريكية', 'سانت بيير وميكولون', 'سانت فنسنت وغرنادين', 'سانت كيتس ونيفيس', 'سانت لوسيا', 'سانت مارتين', 'سانت هيلنا', 'سان مارينو', 'ساو تومي وبرينسيبي', 'سريلانكا', 'سفالبارد وجان مايان', 'سلوفاكيا', 'سلوفينيا', 'سنغافورة', 'سوازيلاند', 'سوريا', 'سورينام', 'سويسرا', 'سيراليون', 'سيشل', - 'شرق آسيا', 'شرق افريقيا', 'شرق أوروبا', 'شمال افريقيا', 'شمال أمريكا', 'شمال أوروبا', 'شيلي', - 'صربيا', 'صربيا والجبل الأسود', - 'طاجكستان', - 'عمان', - 'غامبيا', 'غانا', 'غرب آسيا', 'غرب افريقيا', 'غرب أوروبا', 'غويانا', 'غيانا', 'غينيا', 'غينيا الاستوائية', 'غينيا بيساو', - 'فانواتو', 'فرنسا', 'فلسطين', 'فنزويلا', 'فنلندا', 'فيتنام', 'فيجي', - 'قبرص', 'قرغيزستان', 'قطر', - 'كازاخستان', 'كاليدونيا الجديدة', 'كرواتيا', 'كمبوديا', 'كندا', 'كوبا', 'كوريا الجنوبية', 'كوريا الشمالية', 'كوستاريكا', 'كولومبيا', 'كومنولث الدول المستقلة', 'كيريباتي', 'كينيا', - 'لاتفيا', 'لاوس', 'لبنان', 'لوكسمبورج', 'ليبيا', 'ليبيريا', 'ليتوانيا', 'ليختنشتاين', 'ليسوتو', - 'مارتينيك', 'ماكاو الصينية', 'مالطا', 'مالي', 'ماليزيا', 'مايوت', 'مدغشقر', 'مصر', 'مقدونيا', 'ملاوي', 'منغوليا', 'موريتانيا', 'موريشيوس', 'موزمبيق', 'مولدافيا', 'موناكو', 'مونتسرات', 'ميانمار', 'ميكرونيزيا', 'ميلانيزيا', - 'ناميبيا', 'نورو', 'نيبال', 'نيجيريا', 'نيكاراجوا', 'نيوزيلاندا', 'نيوي', - 'هايتي', 'هندوراس', 'هولندا', 'هونج كونج الصينية', - 'وسط آسيا', 'وسط افريقيا', - ]; - - protected static $cityFormats = [ - '{{cityPrefix}} {{cityName}}', - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}", - ]; - - protected static $secondaryAddressFormats = ['شقة رقم. ##', 'بناية رقم ##']; - - /** - * @example 'شرق' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - /** - * @example 'عمان' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } - - /** - * @example 'شارع' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'شقة رقم. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } - - /** - * @example 'كاليفورنيا' - */ - public static function state() - { - return static::randomElement(static::$state); - } - - /** - * @example 'CA' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } +class Address extends \Faker\Provider\Address { + protected static $streetPrefix = [ 'شارع' ]; + + protected static $cityPrefix = [ 'شمال', 'شرق', 'غرب', 'جنوب', 'وسط' ]; + + /** + * @see http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AF%D9%86_%D8%A7%D9%84%D8%A3%D8%B1%D8%AF%D9%86 + */ + protected static $cityName = [ + 'اربد', + 'أبو نصير', + 'الجبيهه', + 'الحصن', + 'الرصيفة', + 'الرمثا', + 'الزرقاء', + 'السلط', + 'الشهيد عزمي', + 'الصريح', + 'الضليل', + 'الطفيلة', + 'العقبة', + 'القويسمة', + 'الكرك', + 'المشارع', + 'المفرق', + 'الهاشمية', + 'ام قصير', + 'ايدون', + 'بيت راس', + 'تلاع العلي', + 'جرش', + 'ساكب', + 'سحاب', + 'شفا بدران', + 'صويلح', + 'عمان', + 'عنجره', + 'عين الباشا', + 'غور الصافي', + 'كريمه', + 'كفرنجه', + 'مادبا', + 'مخيم البقعه', + 'مخيم حطين', + 'مرج الحمام', + 'معان', + 'ناعور', + 'وادي السير', + ]; + + protected static $buildingNumber = [ '%####', '%###', '%#' ]; + + protected static $postcode = [ '#####', '#####-####' ]; + + /** + * @see http://ar.wikipedia.org/wiki/%D9%85%D9%84%D8%AD%D9%82:%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D9%88%D9%84%D8%A7%D9%8A%D8%A7%D8%AA_%D8%A7%D9%84%D8%A3%D9%85%D8%B1%D9%8A%D9%83%D9%8A%D8%A9_%D8%AD%D8%B3%D8%A8_%D8%A7%D9%84%D9%85%D8%B3%D8%A7%D8%AD%D8%A9 + */ + protected static $state = [ + 'آيوا', + 'أركنساس', + 'أريزونا', + 'ألاباما', + 'ألاسكا', + 'أوريغون', + 'أوكلاهوما', + 'أوهايو', + 'أيداهو', + 'إلينوي', + 'إنديانا', + 'الاباما', + 'الجزر العذراء الأمريكية', + 'بنس يلفانيا', + 'بورتو ريكو', + 'تكساس', + 'تينيسي', + 'جزر ماريانا الشمالية', + 'جورجيا', + 'داكوتا الجنوبية', + 'داكوتا الشمالية', + 'ديلاوير', + 'رود آيلاند', + 'ساموا الأمريكية', + 'غوام', + 'فرجينيا الغربية', + 'فلوريدا', + 'فيرجينيا', + 'فيرجينيا الغربية', + 'فيرمونت', + 'كارولاينا الجنوبية', + 'كارولاينا الشمالية', + 'كارولينا الشمالية', + 'كاليفورنيا', + 'كانساس', + 'كنتاكي', + 'كولورادو', + 'كونيتيكت', + 'لويزيانا', + 'ماريلاند', + 'ماساتشوستس', + 'ماين', + 'مسيسيبي', + 'مونتانا', + 'ميريلاند', + 'ميزوري', + 'ميشيغان', + 'مين', + 'مينيسوتا', + 'نبراسكا', + 'نيفادا', + 'نيو جيرسي', + 'نيو ميكسيكو', + 'نيوهامشير', + 'نيويورك', + 'هاواي', + 'واشنطن', + 'وايومنغ', + 'ويسكنسن', + 'يوتا', + ]; + + protected static $stateAbbr = [ + 'AK', + 'AL', + 'AR', + 'AZ', + 'CA', + 'CO', + 'CT', + 'DC', + 'DE', + 'FL', + 'GA', + 'HI', + 'IA', + 'ID', + 'IL', + 'IN', + 'KS', + 'KY', + 'LA', + 'MA', + 'MD', + 'ME', + 'MI', + 'MN', + 'MO', + 'MS', + 'MT', + 'NC', + 'ND', + 'NE', + 'NH', + 'NJ', + 'NM', + 'NV', + 'NY', + 'OH', + 'OK', + 'OR', + 'PA', + 'RI', + 'SC', + 'SD', + 'TN', + 'TX', + 'UT', + 'VA', + 'VT', + 'WA', + 'WI', + 'WV', + 'WY', + ]; + + /** + * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm + */ + protected static $country = [ + 'الكاريبي', + 'أمريكا الوسطى', + 'أنتيجوا وبربودا', + 'أنجولا', + 'أنجويلا', + 'أندورا', + 'اندونيسيا', + 'أورجواي', + 'أوروبا', + 'أوزبكستان', + 'أوغندا', + 'أوقيانوسيا', + 'أوقيانوسيا النائية', + 'أوكرانيا', + 'ايران', + 'أيرلندا', + 'أيسلندا', + 'ايطاليا', + 'بابوا غينيا الجديدة', + 'باراجواي', + 'باكستان', + 'بالاو', + 'بتسوانا', + 'بتكايرن', + 'بربادوس', + 'برمودا', + 'بروناي', + 'بلجيكا', + 'بلغاريا', + 'بليز', + 'بنجلاديش', + 'بنما', + 'بنين', + 'بوتان', + 'بورتوريكو', + 'بوركينا فاسو', + 'بوروندي', + 'بولندا', + 'بوليفيا', + 'بولينيزيا', + 'بولينيزيا الفرنسية', + 'بيرو', + 'تانزانيا', + 'تايلند', + 'تايوان', + 'تركمانستان', + 'تركيا', + 'ترينيداد وتوباغو', + 'تشاد', + 'توجو', + 'توفالو', + 'توكيلو', + 'تونجا', + 'تونس', + 'تيمور الشرقية', + 'جامايكا', + 'جبل طارق', + 'جرينادا', + 'جرينلاند', + 'جزر الأنتيل الهولندية', + 'جزر الترك وجايكوس', + 'جزر القمر', + 'جزر الكايمن', + 'جزر المارشال', + 'جزر الملديف', + 'جزر الولايات المتحدة البعيدة الصغيرة', + 'جزر أولان', + 'جزر سليمان', + 'جزر فارو', + 'جزر فرجين الأمريكية', + 'جزر فرجين البريطانية', + 'جزر فوكلاند', + 'جزر كوك', + 'جزر كوكوس', + 'جزر ماريانا الشمالية', + 'جزر والس وفوتونا', + 'جزيرة الكريسماس', + 'جزيرة بوفيه', + 'جزيرة مان', + 'جزيرة نورفوك', + 'جزيرة هيرد وماكدونالد', + 'جمهورية افريقيا الوسطى', + 'جمهورية التشيك', + 'جمهورية الدومينيك', + 'جمهورية الكونغو الديمقراطية', + 'جمهورية جنوب افريقيا', + 'جنوب آسيا', + 'جنوب أوروبا', + 'جنوب شرق آسيا', + 'جنوب وسط آسيا', + 'جواتيمالا', + 'جوادلوب', + 'جوام', + 'جورجيا', + 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', + 'جيبوتي', + 'جيرسي', + 'دومينيكا', + 'رواندا', + 'روسيا', + 'روسيا البيضاء', + 'رومانيا', + 'روينيون', + 'زامبيا', + 'زيمبابوي', + 'ساحل العاج', + 'ساموا', + 'ساموا الأمريكية', + 'سانت بيير وميكولون', + 'سانت فنسنت وغرنادين', + 'سانت كيتس ونيفيس', + 'سانت لوسيا', + 'سانت مارتين', + 'سانت هيلنا', + 'سان مارينو', + 'ساو تومي وبرينسيبي', + 'سريلانكا', + 'سفالبارد وجان مايان', + 'سلوفاكيا', + 'سلوفينيا', + 'سنغافورة', + 'سوازيلاند', + 'سوريا', + 'سورينام', + 'سويسرا', + 'سيراليون', + 'سيشل', + 'شرق آسيا', + 'شرق افريقيا', + 'شرق أوروبا', + 'شمال افريقيا', + 'شمال أمريكا', + 'شمال أوروبا', + 'شيلي', + 'صربيا', + 'صربيا والجبل الأسود', + 'طاجكستان', + 'عمان', + 'غامبيا', + 'غانا', + 'غرب آسيا', + 'غرب افريقيا', + 'غرب أوروبا', + 'غويانا', + 'غيانا', + 'غينيا', + 'غينيا الاستوائية', + 'غينيا بيساو', + 'فانواتو', + 'فرنسا', + 'فلسطين', + 'فنزويلا', + 'فنلندا', + 'فيتنام', + 'فيجي', + 'قبرص', + 'قرغيزستان', + 'قطر', + 'كازاخستان', + 'كاليدونيا الجديدة', + 'كرواتيا', + 'كمبوديا', + 'كندا', + 'كوبا', + 'كوريا الجنوبية', + 'كوريا الشمالية', + 'كوستاريكا', + 'كولومبيا', + 'كومنولث الدول المستقلة', + 'كيريباتي', + 'كينيا', + 'لاتفيا', + 'لاوس', + 'لبنان', + 'لوكسمبورج', + 'ليبيا', + 'ليبيريا', + 'ليتوانيا', + 'ليختنشتاين', + 'ليسوتو', + 'مارتينيك', + 'ماكاو الصينية', + 'مالطا', + 'مالي', + 'ماليزيا', + 'مايوت', + 'مدغشقر', + 'مصر', + 'مقدونيا', + 'ملاوي', + 'منغوليا', + 'موريتانيا', + 'موريشيوس', + 'موزمبيق', + 'مولدافيا', + 'موناكو', + 'مونتسرات', + 'ميانمار', + 'ميكرونيزيا', + 'ميلانيزيا', + 'ناميبيا', + 'نورو', + 'نيبال', + 'نيجيريا', + 'نيكاراجوا', + 'نيوزيلاندا', + 'نيوي', + 'هايتي', + 'هندوراس', + 'هولندا', + 'هونج كونج الصينية', + 'وسط آسيا', + 'وسط افريقيا', + ]; + + protected static $cityFormats = [ + '{{cityPrefix}} {{cityName}}', + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}", + ]; + + protected static $secondaryAddressFormats = [ 'شقة رقم. ##', 'بناية رقم ##' ]; + + /** + * @example 'شرق' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + /** + * @example 'عمان' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } + + /** + * @example 'شارع' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'شقة رقم. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } + + /** + * @example 'كاليفورنيا' + */ + public static function state() { + return static::randomElement( static::$state ); + } + + /** + * @example 'CA' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Company.php index 6249a7d..8244ab3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Company.php @@ -2,65 +2,71 @@ namespace Faker\Provider\ar_JO; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + ]; - protected static $bsWords = [ - [], - ]; + protected static $bsWords = [ + [], + ]; - protected static $catchPhraseWords = [ - ['الخدمات', 'الحلول', 'الانظمة'], - [ - 'الذهبية', 'الذكية', 'المتطورة', 'المتقدمة', 'الدولية', 'المتخصصه', 'السريعة', - 'المثلى', 'الابداعية', 'المتكاملة', 'المتغيرة', 'المثالية', - ], - ]; + protected static $catchPhraseWords = [ + [ 'الخدمات', 'الحلول', 'الانظمة' ], + [ + 'الذهبية', + 'الذكية', + 'المتطورة', + 'المتقدمة', + 'الدولية', + 'المتخصصه', + 'السريعة', + 'المثلى', + 'الابداعية', + 'المتكاملة', + 'المتغيرة', + 'المثالية', + ], + ]; - protected static $companyPrefix = ['شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض']; + protected static $companyPrefix = [ 'شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض' ]; - protected static $companySuffix = ['وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه']; + protected static $companySuffix = [ 'وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه' ]; - /** - * @example 'مؤسسة' - * - * @return string - */ - public function companyPrefix() - { - return static::randomElement(self::$companyPrefix); - } + /** + * @return string + * @example 'مؤسسة' + * + */ + public function companyPrefix() { + return static::randomElement( self::$companyPrefix ); + } - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Internet.php index 741849e..a7d691b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Internet.php @@ -2,54 +2,97 @@ namespace Faker\Provider\ar_JO; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', - '{{firstNameAscii}}.{{lastNameAscii}}', - '{{firstNameAscii}}##', - '?{{lastNameAscii}}', - ]; - protected static $safeEmailTld = [ - 'com', 'jo', 'me', 'net', 'org', - ]; - - protected static $tld = [ - 'biz', 'com', 'info', 'jo', 'net', 'org', - ]; - - protected static $lastNameAscii = [ - 'abbad', 'abbadi', 'abbas', 'abulebbeh', 'flefel', 'hadi', 'hamad', 'hasan', 'jabri', 'kanaan', 'karam', 'maanee', 'melhem', 'nimry', 'obaisi', 'qasem', 'qawasmee', 'rabee', 'rashwani', 'shami', 'zaloum', - ]; - protected static $firstNameAscii = [ - 'abd', 'abdullah', 'ahmad', 'akram', 'amr', 'bashar', 'bilal', 'fadi', 'ibrahim', 'khaled', 'layth', 'mohammad', 'mutaz', 'omar', 'osama', 'rami', 'saleem', 'samer', 'sami', 'yazan', - ]; - - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } - - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } - - /** - * @example 'ahmad.abbadi' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); - - return static::bothify($this->generator->parse($format)); - } - - /** - * @example 'wewebit.jo' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; + protected static $safeEmailTld = [ + 'com', + 'jo', + 'me', + 'net', + 'org', + ]; + + protected static $tld = [ + 'biz', + 'com', + 'info', + 'jo', + 'net', + 'org', + ]; + + protected static $lastNameAscii = [ + 'abbad', + 'abbadi', + 'abbas', + 'abulebbeh', + 'flefel', + 'hadi', + 'hamad', + 'hasan', + 'jabri', + 'kanaan', + 'karam', + 'maanee', + 'melhem', + 'nimry', + 'obaisi', + 'qasem', + 'qawasmee', + 'rabee', + 'rashwani', + 'shami', + 'zaloum', + ]; + protected static $firstNameAscii = [ + 'abd', + 'abdullah', + 'ahmad', + 'akram', + 'amr', + 'bashar', + 'bilal', + 'fadi', + 'ibrahim', + 'khaled', + 'layth', + 'mohammad', + 'mutaz', + 'omar', + 'osama', + 'rami', + 'saleem', + 'samer', + 'sami', + 'yazan', + ]; + + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } + + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } + + /** + * @example 'ahmad.abbadi' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); + + return static::bothify( $this->generator->parse( $format ) ); + } + + /** + * @example 'wewebit.jo' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Person.php index 27db4e5..ba752c8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Person.php @@ -2,107 +2,1333 @@ namespace Faker\Provider\ar_JO; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameMale = [ - 'آدم', 'أبراهيم', 'أبو بكر', 'أحمد', 'أدهم', 'أسامة', 'أسعد', 'أسيد', 'أشرف', 'أكثم', 'أكرم', 'أمجد', 'أمين', 'أنتوني', 'أنزور', 'أنس', 'أنمار', 'أنور', 'أواس', 'أوس', 'أيمن', 'أيهم', 'أيوب', 'إبراهيم', 'إسلام', 'إسماعيل', 'إلياس', 'إياد', 'إيهاب', 'ابان', 'ابراهام', 'ابراهيم', 'ابراهيم محمد', 'اثير', 'احسان', 'احمد', 'ادريس', 'ادم', 'ادهم', 'اديب', 'ارام', 'ازاد', 'ازد', 'اسامة', 'اسحاق', 'اسحق', 'اسعد', 'اسلام', 'اسماعيل', 'اسيد', 'اشراف', 'اشرف', 'اصلان', 'اكثم', 'اكرم', 'البراء', 'البشر', 'البطوش', 'الحارث', 'الحسين', 'الحمزه', 'الطفيل', 'العزم', 'الليث', 'المؤمن بالله', 'المثنى', 'المستبد', 'المعتز', 'المعتز بالله', 'المعتصم بالله', 'المنتصر بالله', 'المنصور', 'الياس', 'اليمان', 'امجد', 'امل', 'امير', 'امين', 'اندرو', 'انس', 'انور', 'انيس', 'اوس', 'اوسم', 'اوهان', 'اويس', 'اياد', 'اياد الدين', 'اياس', 'ايسر', 'ايليا', 'ايمن', 'ايهاب', 'ايهم', 'ايوب', - 'باجس', 'باسل', 'باسم', 'باندي', 'باهر', 'بدر', 'بدوان', 'براء', 'برنابا', 'برهان', 'بسام', 'بشار', 'بشارة', 'بشر', 'بشير', 'بطرس', 'بكر', 'بلال', 'بليغ', 'بندر', 'بهاء', 'بهاء الدين', 'بيتر', - 'تامر', 'تحسين', 'تركي', 'تشارلي', 'تقي الدين', 'توفيق', 'تيسير', 'تيمور', - 'ثائر', 'ثامر', - 'جابر', 'جاد', 'جاسر', 'جاسم', 'جاك', 'جباغ', 'جبر', 'جبرائي', 'جبير', 'جراح', 'جريس', 'جعفر', 'جلال', 'جلال الدين', 'جمال', 'جمزه', 'جميل', 'جهاد', 'جواد', 'جودت', 'جورج', 'جوزيف', - 'حابس', 'حاتم', 'حارث', 'حارثه', 'حازم', 'حازم محمد', 'حافظ', 'حاكم', 'حالد', 'حامد', 'حبيب', 'حذيفة', 'حذيفه', 'حسام', 'حسام الدين', 'حسان', 'حسن', 'حسني', 'حسين', 'حكم', 'حكمت', 'حلمي', 'حماده', 'حمد', 'حمدالله', 'حمدان', 'حمدي', 'حمزة', 'حمزه', 'حمود', 'حمودة', 'حموده', 'حميد', 'حنا', 'خالد', - 'خضر', 'خلدون', 'خلف', 'خليفة', 'خليفه', 'خليل', 'خميس', 'خير الدين', 'خيرالله', 'خيري', - 'دانتي', 'داني', 'دانيال', 'داود', 'داوود', - 'ذياب', 'ذيب', - 'رأفت', 'رؤوف', 'رئاد', 'رائد', 'رائف', 'راجح', 'راجي', 'راشد', 'راضي', 'راغب', 'رافت', 'رافع', 'رافي', 'راكان', 'رامان', 'رامز', 'رامي', 'رامين', 'ربيع', 'رجا', 'رجائي', 'رجب', 'رداد', 'رزق', 'رسلان', 'رسلان الدين', 'رشاد', 'رشبد', 'رشيد', 'رضا', 'رضوان', 'رعد', 'رغد', 'رغيد', 'ركان', 'رماح', 'رمزي', 'رمضان', 'رهاب', 'رواد', 'روحي', 'روزا', 'روني', 'رياض', 'ريان', 'ريتشارد', 'ريمون', - 'زاهر', 'زاهي', 'زايد', 'زبد', 'زخريا', 'زكريا', 'زكي', 'زمام', 'زهدي', 'زهير', 'زياد', 'زيد', 'زيدان', 'زيدون', 'زين', 'زين العابدين', 'سائد', 'سابا', 'ساري', 'سالم', 'سامح', 'سامر', 'سامي', 'ساهر', 'سدير', 'سركيس', 'سرمد', 'سري', 'سعد', 'سعدي', 'سعود', 'سعيد', 'سفيان', 'سكوت', 'سلام', 'سلطان', 'سلمان', 'سليم', 'سليمان', 'سمؤل', 'سمعان', 'سميح', 'سمير', 'سنان', 'سند', 'سهام الدين', 'سهل', 'سهم', 'سيف', 'سيف الاسلام', 'سيف الدين', 'سيمون', - 'شادي', 'شارلي', 'شافع', 'شاكر', 'شامان', 'شامل', 'شاهر', 'شحادة', 'شحاده', 'شربف', 'شرحبيل', 'شريف', 'شكري', 'شهاب', 'شهم', 'شوان', 'شوقي', 'شوكت', - 'صادق', 'صافي', 'صالح', 'صبحي', 'صبره', 'صبري', 'صخر', 'صدام', 'صدقي', 'صفاء', 'صفوان', 'صقر', 'صلاح', 'صلاح الدين', 'صليبا', 'صهيب', - 'ضرار', 'ضرغام', 'ضياء', 'ضياء الدين', - 'طارق', 'طالب', 'طاهر', 'طلال', 'طه', - 'عادل', 'عاصم', 'عاطف', 'عامر', 'عايد', 'عبادة', 'عباده', 'عباس', 'عبد', 'عبد الباري', 'عبد الحافظ', 'عبد الحكيم', 'عبد الحليم', 'عبد الحميد', 'عبد الحي', 'عبد الرحمان', 'عبد الرحمن', 'عبد الرحيم', 'عبد الرزاق', 'عبد السلام', 'عبد السميع', 'عبد العزيز', 'عبد العفو', 'عبد الغني', 'عبد الفتاح', 'عبد القادر', 'عبد الكريم', 'عبد اللطيف', 'عبد الله', 'عبد المجيد', 'عبد المولى', 'عبد الناصر', 'عبد الهادي', 'عبد ربه', 'عبداالله', 'عبدالاله', 'عبدالباسط', 'عبدالجليل', 'عبدالجواد', 'عبدالحليم', 'عبدالحميد', 'عبدالرؤوف', 'عبدالرحمن', 'عبدالرحيم', 'عبدالرزاق', 'عبدالسلام', 'عبدالعزيز', 'عبدالفتاح', 'عبدالقادر', 'عبدالكريم', 'عبداللطيف', 'عبدالله', 'عبدالمجيد', 'عبدالمطلب', 'عبدالمعطي', 'عبدالمهيمن', 'عبدالناصر', 'عبدالهادي', 'عبدالوهاب', 'عبدربه', 'عبده', 'عبود', 'عبيدالله', 'عبيدة', 'عتيبه', 'عثمان', 'عدب', 'عدلي', 'عدنان', 'عدوان', 'عدى', 'عدي', 'عرار', 'عربي', 'عرفات', 'عرفة', 'عرمان', 'عروة', 'عريق', 'عرين', 'عز الدين', 'عزالدين', 'عزام', 'عزت', 'عزمي', 'عزيز', 'عصام', 'عصمت', 'عطا', 'عطاالله', 'عطيه', 'عقل', 'علاء', 'علاء الدين', 'علي', 'عليان', 'عماد', 'عماد الدين', 'عمادالدين', 'عمار', 'عمر', 'عمراسامة', 'عمران', 'عمرو', 'عملا', 'عميد', 'عناد', 'عنان', 'عواد', 'عودة', 'عوده', 'عوض', 'عوف', 'عون', 'عوني', 'عيد', 'عيدالله', 'عيسى', - 'غازي', 'غالب', 'غانم', 'غدير', 'غسان', 'غيث', - 'فؤاد', 'فؤاس', 'فائق', 'فاخر', 'فادي', 'فارس', 'فاروق', 'فاضل', 'فايز', 'فتحي', 'فجر', 'فخرى', 'فخري', 'فرأس', 'فراس', 'فرح', 'فريد', 'فكتور', 'فلاح', 'فندي', 'فهد', 'فهمي', 'فواز', 'فوزي', 'فيصل', 'فيليب', - 'قارس', 'قاسم', 'قبلان', 'قتاده', 'قتيبة', 'قتيبه', 'قصي', 'قيس', - 'كاسترو', 'كاظم', 'كامل', 'كايد', 'كرم', 'كريم', 'كفاح', 'كمال', 'كنان', - 'لؤي', 'لؤي الدين', 'لبيب', 'لطف', 'لطفي', 'لورنس', 'لويس', 'ليث', 'ليث الدين', 'ليليان', - 'مأمون', 'مؤتمن', 'مؤثر', 'مؤمن', 'مؤنس', 'مؤيد', 'ماجد', 'مارتن', 'مارسيل', 'مازن', 'مالك', 'مامون', 'ماهر', 'مبارك', 'مثنى', 'مجاهد', 'مجد', 'مجدي', 'مجمد', 'محسن', 'محمد‏ ‏', 'محمود', 'محي', 'محي الدين', 'مختار', 'مخلص', 'مدحت', 'مدين', 'مراد', 'مرشد', 'مرهف', 'مروان', 'مسعد', 'مسعود', 'مسلم', 'مشاري', 'مشعل', 'مشهور', 'مشيل', 'مصباح', 'مصطغى', 'مصطفى', 'مصطفي', 'مصطلفى', 'مصعب', 'مضر', 'مطيع', 'مظفر', 'مظهر', 'معاد', 'معاذ', 'معاوية', 'معاويه', 'معتز', 'معتصم', 'معمر', 'معن', 'معنصم', 'معويه', 'معين', 'مفدي', 'مفلح', 'مقداد', 'مكين', 'ملهم', 'ممدوح', 'مناف', 'منتصر', 'منح', 'منذر', 'منصف', 'منصور', 'منقذ', 'منير', 'مهاب', 'مهدي', 'مهران', 'مهند', 'موسى', 'موفق', 'مياس', 'ميسم', 'ميشيل', 'ميلاد', 'مينا', - 'نائل', 'ناجي', 'نادر', 'نارت', 'ناصر', 'ناهض', 'نايف', 'نبراس', 'نبيل', 'نتانت', 'نجاتي', 'نجيب', 'نديم', 'نزار', 'نزال', 'نزيه', 'نسيم', 'نشات', 'نصار', 'نصر', 'نصري', 'نصوح', 'نضال', 'نظام', 'نعمان', 'نعمة', 'نعيم', 'نقولا', 'نمر', 'نهاد', 'نهار', 'نواف', 'نور', 'نور الدين', 'نورالدين', 'نورس', 'نوفان', - 'هادي', 'هارون', 'هاشم', 'هاكان', 'هانى', 'هاني', 'هذال', 'هشام', 'هلال', 'همام', 'هملر', 'هناء', 'هيثم', - 'وائل', 'واثق', 'واصف', 'وجدي', 'وجيه', 'وحيد', 'وديع', 'ورد', 'وسام', 'وسام الدين', 'وسن', 'وسيم', 'وصفي', 'وضاح', 'وعد', 'وفاء', 'وليد', 'وهيب', - 'ياسر', 'ياسين', 'يامن', 'يحيى', 'يزن', 'يزيد', 'يسار', 'يشار', 'يعرب', 'يعقوب', 'يمان', 'ينال', 'يوسف', 'يونس', - ]; + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameMale = [ + 'آدم', + 'أبراهيم', + 'أبو بكر', + 'أحمد', + 'أدهم', + 'أسامة', + 'أسعد', + 'أسيد', + 'أشرف', + 'أكثم', + 'أكرم', + 'أمجد', + 'أمين', + 'أنتوني', + 'أنزور', + 'أنس', + 'أنمار', + 'أنور', + 'أواس', + 'أوس', + 'أيمن', + 'أيهم', + 'أيوب', + 'إبراهيم', + 'إسلام', + 'إسماعيل', + 'إلياس', + 'إياد', + 'إيهاب', + 'ابان', + 'ابراهام', + 'ابراهيم', + 'ابراهيم محمد', + 'اثير', + 'احسان', + 'احمد', + 'ادريس', + 'ادم', + 'ادهم', + 'اديب', + 'ارام', + 'ازاد', + 'ازد', + 'اسامة', + 'اسحاق', + 'اسحق', + 'اسعد', + 'اسلام', + 'اسماعيل', + 'اسيد', + 'اشراف', + 'اشرف', + 'اصلان', + 'اكثم', + 'اكرم', + 'البراء', + 'البشر', + 'البطوش', + 'الحارث', + 'الحسين', + 'الحمزه', + 'الطفيل', + 'العزم', + 'الليث', + 'المؤمن بالله', + 'المثنى', + 'المستبد', + 'المعتز', + 'المعتز بالله', + 'المعتصم بالله', + 'المنتصر بالله', + 'المنصور', + 'الياس', + 'اليمان', + 'امجد', + 'امل', + 'امير', + 'امين', + 'اندرو', + 'انس', + 'انور', + 'انيس', + 'اوس', + 'اوسم', + 'اوهان', + 'اويس', + 'اياد', + 'اياد الدين', + 'اياس', + 'ايسر', + 'ايليا', + 'ايمن', + 'ايهاب', + 'ايهم', + 'ايوب', + 'باجس', + 'باسل', + 'باسم', + 'باندي', + 'باهر', + 'بدر', + 'بدوان', + 'براء', + 'برنابا', + 'برهان', + 'بسام', + 'بشار', + 'بشارة', + 'بشر', + 'بشير', + 'بطرس', + 'بكر', + 'بلال', + 'بليغ', + 'بندر', + 'بهاء', + 'بهاء الدين', + 'بيتر', + 'تامر', + 'تحسين', + 'تركي', + 'تشارلي', + 'تقي الدين', + 'توفيق', + 'تيسير', + 'تيمور', + 'ثائر', + 'ثامر', + 'جابر', + 'جاد', + 'جاسر', + 'جاسم', + 'جاك', + 'جباغ', + 'جبر', + 'جبرائي', + 'جبير', + 'جراح', + 'جريس', + 'جعفر', + 'جلال', + 'جلال الدين', + 'جمال', + 'جمزه', + 'جميل', + 'جهاد', + 'جواد', + 'جودت', + 'جورج', + 'جوزيف', + 'حابس', + 'حاتم', + 'حارث', + 'حارثه', + 'حازم', + 'حازم محمد', + 'حافظ', + 'حاكم', + 'حالد', + 'حامد', + 'حبيب', + 'حذيفة', + 'حذيفه', + 'حسام', + 'حسام الدين', + 'حسان', + 'حسن', + 'حسني', + 'حسين', + 'حكم', + 'حكمت', + 'حلمي', + 'حماده', + 'حمد', + 'حمدالله', + 'حمدان', + 'حمدي', + 'حمزة', + 'حمزه', + 'حمود', + 'حمودة', + 'حموده', + 'حميد', + 'حنا', + 'خالد', + 'خضر', + 'خلدون', + 'خلف', + 'خليفة', + 'خليفه', + 'خليل', + 'خميس', + 'خير الدين', + 'خيرالله', + 'خيري', + 'دانتي', + 'داني', + 'دانيال', + 'داود', + 'داوود', + 'ذياب', + 'ذيب', + 'رأفت', + 'رؤوف', + 'رئاد', + 'رائد', + 'رائف', + 'راجح', + 'راجي', + 'راشد', + 'راضي', + 'راغب', + 'رافت', + 'رافع', + 'رافي', + 'راكان', + 'رامان', + 'رامز', + 'رامي', + 'رامين', + 'ربيع', + 'رجا', + 'رجائي', + 'رجب', + 'رداد', + 'رزق', + 'رسلان', + 'رسلان الدين', + 'رشاد', + 'رشبد', + 'رشيد', + 'رضا', + 'رضوان', + 'رعد', + 'رغد', + 'رغيد', + 'ركان', + 'رماح', + 'رمزي', + 'رمضان', + 'رهاب', + 'رواد', + 'روحي', + 'روزا', + 'روني', + 'رياض', + 'ريان', + 'ريتشارد', + 'ريمون', + 'زاهر', + 'زاهي', + 'زايد', + 'زبد', + 'زخريا', + 'زكريا', + 'زكي', + 'زمام', + 'زهدي', + 'زهير', + 'زياد', + 'زيد', + 'زيدان', + 'زيدون', + 'زين', + 'زين العابدين', + 'سائد', + 'سابا', + 'ساري', + 'سالم', + 'سامح', + 'سامر', + 'سامي', + 'ساهر', + 'سدير', + 'سركيس', + 'سرمد', + 'سري', + 'سعد', + 'سعدي', + 'سعود', + 'سعيد', + 'سفيان', + 'سكوت', + 'سلام', + 'سلطان', + 'سلمان', + 'سليم', + 'سليمان', + 'سمؤل', + 'سمعان', + 'سميح', + 'سمير', + 'سنان', + 'سند', + 'سهام الدين', + 'سهل', + 'سهم', + 'سيف', + 'سيف الاسلام', + 'سيف الدين', + 'سيمون', + 'شادي', + 'شارلي', + 'شافع', + 'شاكر', + 'شامان', + 'شامل', + 'شاهر', + 'شحادة', + 'شحاده', + 'شربف', + 'شرحبيل', + 'شريف', + 'شكري', + 'شهاب', + 'شهم', + 'شوان', + 'شوقي', + 'شوكت', + 'صادق', + 'صافي', + 'صالح', + 'صبحي', + 'صبره', + 'صبري', + 'صخر', + 'صدام', + 'صدقي', + 'صفاء', + 'صفوان', + 'صقر', + 'صلاح', + 'صلاح الدين', + 'صليبا', + 'صهيب', + 'ضرار', + 'ضرغام', + 'ضياء', + 'ضياء الدين', + 'طارق', + 'طالب', + 'طاهر', + 'طلال', + 'طه', + 'عادل', + 'عاصم', + 'عاطف', + 'عامر', + 'عايد', + 'عبادة', + 'عباده', + 'عباس', + 'عبد', + 'عبد الباري', + 'عبد الحافظ', + 'عبد الحكيم', + 'عبد الحليم', + 'عبد الحميد', + 'عبد الحي', + 'عبد الرحمان', + 'عبد الرحمن', + 'عبد الرحيم', + 'عبد الرزاق', + 'عبد السلام', + 'عبد السميع', + 'عبد العزيز', + 'عبد العفو', + 'عبد الغني', + 'عبد الفتاح', + 'عبد القادر', + 'عبد الكريم', + 'عبد اللطيف', + 'عبد الله', + 'عبد المجيد', + 'عبد المولى', + 'عبد الناصر', + 'عبد الهادي', + 'عبد ربه', + 'عبداالله', + 'عبدالاله', + 'عبدالباسط', + 'عبدالجليل', + 'عبدالجواد', + 'عبدالحليم', + 'عبدالحميد', + 'عبدالرؤوف', + 'عبدالرحمن', + 'عبدالرحيم', + 'عبدالرزاق', + 'عبدالسلام', + 'عبدالعزيز', + 'عبدالفتاح', + 'عبدالقادر', + 'عبدالكريم', + 'عبداللطيف', + 'عبدالله', + 'عبدالمجيد', + 'عبدالمطلب', + 'عبدالمعطي', + 'عبدالمهيمن', + 'عبدالناصر', + 'عبدالهادي', + 'عبدالوهاب', + 'عبدربه', + 'عبده', + 'عبود', + 'عبيدالله', + 'عبيدة', + 'عتيبه', + 'عثمان', + 'عدب', + 'عدلي', + 'عدنان', + 'عدوان', + 'عدى', + 'عدي', + 'عرار', + 'عربي', + 'عرفات', + 'عرفة', + 'عرمان', + 'عروة', + 'عريق', + 'عرين', + 'عز الدين', + 'عزالدين', + 'عزام', + 'عزت', + 'عزمي', + 'عزيز', + 'عصام', + 'عصمت', + 'عطا', + 'عطاالله', + 'عطيه', + 'عقل', + 'علاء', + 'علاء الدين', + 'علي', + 'عليان', + 'عماد', + 'عماد الدين', + 'عمادالدين', + 'عمار', + 'عمر', + 'عمراسامة', + 'عمران', + 'عمرو', + 'عملا', + 'عميد', + 'عناد', + 'عنان', + 'عواد', + 'عودة', + 'عوده', + 'عوض', + 'عوف', + 'عون', + 'عوني', + 'عيد', + 'عيدالله', + 'عيسى', + 'غازي', + 'غالب', + 'غانم', + 'غدير', + 'غسان', + 'غيث', + 'فؤاد', + 'فؤاس', + 'فائق', + 'فاخر', + 'فادي', + 'فارس', + 'فاروق', + 'فاضل', + 'فايز', + 'فتحي', + 'فجر', + 'فخرى', + 'فخري', + 'فرأس', + 'فراس', + 'فرح', + 'فريد', + 'فكتور', + 'فلاح', + 'فندي', + 'فهد', + 'فهمي', + 'فواز', + 'فوزي', + 'فيصل', + 'فيليب', + 'قارس', + 'قاسم', + 'قبلان', + 'قتاده', + 'قتيبة', + 'قتيبه', + 'قصي', + 'قيس', + 'كاسترو', + 'كاظم', + 'كامل', + 'كايد', + 'كرم', + 'كريم', + 'كفاح', + 'كمال', + 'كنان', + 'لؤي', + 'لؤي الدين', + 'لبيب', + 'لطف', + 'لطفي', + 'لورنس', + 'لويس', + 'ليث', + 'ليث الدين', + 'ليليان', + 'مأمون', + 'مؤتمن', + 'مؤثر', + 'مؤمن', + 'مؤنس', + 'مؤيد', + 'ماجد', + 'مارتن', + 'مارسيل', + 'مازن', + 'مالك', + 'مامون', + 'ماهر', + 'مبارك', + 'مثنى', + 'مجاهد', + 'مجد', + 'مجدي', + 'مجمد', + 'محسن', + 'محمد‏ ‏', + 'محمود', + 'محي', + 'محي الدين', + 'مختار', + 'مخلص', + 'مدحت', + 'مدين', + 'مراد', + 'مرشد', + 'مرهف', + 'مروان', + 'مسعد', + 'مسعود', + 'مسلم', + 'مشاري', + 'مشعل', + 'مشهور', + 'مشيل', + 'مصباح', + 'مصطغى', + 'مصطفى', + 'مصطفي', + 'مصطلفى', + 'مصعب', + 'مضر', + 'مطيع', + 'مظفر', + 'مظهر', + 'معاد', + 'معاذ', + 'معاوية', + 'معاويه', + 'معتز', + 'معتصم', + 'معمر', + 'معن', + 'معنصم', + 'معويه', + 'معين', + 'مفدي', + 'مفلح', + 'مقداد', + 'مكين', + 'ملهم', + 'ممدوح', + 'مناف', + 'منتصر', + 'منح', + 'منذر', + 'منصف', + 'منصور', + 'منقذ', + 'منير', + 'مهاب', + 'مهدي', + 'مهران', + 'مهند', + 'موسى', + 'موفق', + 'مياس', + 'ميسم', + 'ميشيل', + 'ميلاد', + 'مينا', + 'نائل', + 'ناجي', + 'نادر', + 'نارت', + 'ناصر', + 'ناهض', + 'نايف', + 'نبراس', + 'نبيل', + 'نتانت', + 'نجاتي', + 'نجيب', + 'نديم', + 'نزار', + 'نزال', + 'نزيه', + 'نسيم', + 'نشات', + 'نصار', + 'نصر', + 'نصري', + 'نصوح', + 'نضال', + 'نظام', + 'نعمان', + 'نعمة', + 'نعيم', + 'نقولا', + 'نمر', + 'نهاد', + 'نهار', + 'نواف', + 'نور', + 'نور الدين', + 'نورالدين', + 'نورس', + 'نوفان', + 'هادي', + 'هارون', + 'هاشم', + 'هاكان', + 'هانى', + 'هاني', + 'هذال', + 'هشام', + 'هلال', + 'همام', + 'هملر', + 'هناء', + 'هيثم', + 'وائل', + 'واثق', + 'واصف', + 'وجدي', + 'وجيه', + 'وحيد', + 'وديع', + 'ورد', + 'وسام', + 'وسام الدين', + 'وسن', + 'وسيم', + 'وصفي', + 'وضاح', + 'وعد', + 'وفاء', + 'وليد', + 'وهيب', + 'ياسر', + 'ياسين', + 'يامن', + 'يحيى', + 'يزن', + 'يزيد', + 'يسار', + 'يشار', + 'يعرب', + 'يعقوب', + 'يمان', + 'ينال', + 'يوسف', + 'يونس', + ]; - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameFemale = [ - 'آثار', 'آلاء', 'آناء', 'آية', 'أبرار', 'أحلام', 'أروى', 'أريج', 'أسماء', 'أسيل', 'أصاله', 'أفنان', 'ألاء', 'أماني', 'أمل', 'أميرة', 'أنسام', 'أنطوانيت', 'أنوار', 'أيات', 'أية', 'أيناس', 'أيه', 'ؤقهسفغ', 'إباء', 'إخلاص', 'إسراء', 'إسلام', 'إكرام', 'إنعام', 'إيمان', 'إيناس', 'ابتهاج', 'ابتهال', 'ابرار', 'ابراهيم', 'اتيان', 'احسان', 'احلام', 'احمد', 'اخلاص', 'ارجوان', 'اروى', 'اريج', 'ازهار', 'اسامة', 'اسحار', 'اسرا', 'اسراء', 'اسرار', 'اسلام', 'اسما', 'اسماء', 'اسمهان', 'اسمى', 'اسيل', 'اشراق', 'اصالة', 'اعتدال', 'افراح', 'افنان', 'افيا', 'اكرام', 'الاء', 'العنود', 'الهام', 'اليان', 'اليزابيث', 'امال', 'اماندا', 'اماني', 'امل', 'امنه', 'اميرة', 'اميليا', 'امينة', 'اناهيد', 'انتظار', 'انجليكا', 'انعام', 'انوار', 'اويس', 'ايات', 'ايام', 'اية', 'ايفا', 'ايفان', 'ايفون', 'ايمان', 'ايناس', 'ايه', - 'باسمة', 'باميلا', 'بان', 'بانا', 'بتول', 'بثينه', 'بدور', 'براء', 'براءة', 'برديس', 'بروين', 'بسمة', 'بشائر', 'بشرى', 'بلسم', 'بلقيس', 'بنان', 'بهجه', 'بيا', 'بيان', 'بيداء', 'بيسان', - 'تالا', 'تالة', 'تالين', 'تامر', 'تانيا ماريا', 'تحرير', 'تسنيم', 'تغريد', 'تقوى', 'تقى', 'تمارا', 'تماضر', 'تمام', 'تهاني', 'تولين', - 'ثريا', - 'جاسمن', 'جالا', 'جلنار', 'جمانا', 'جمانة', 'جميلة', 'جنى', 'جهاد', 'جوانا', 'جود', 'جورجيت', 'جوسيت', 'جولييت', 'جيانا', 'جيسيكا', - 'حبيبة', 'حسناء', 'حصه', 'حلا', 'حليمة', 'حنان', 'حنين', 'حياة', - 'ختام', 'خديجه', 'خلود', 'خولة', - 'دارين', 'داليا', 'دالية', 'دانا', 'دانا كريستيل جميلة', 'دانة', 'دانية', 'دانييل', 'دبنا', 'دعاء', 'دعد', 'دلال', 'دنى', 'دنيا', 'دولا', 'ديالا', 'ديان', 'ديانا', 'ديما', 'دينا', - 'رؤى', 'رؤيه', 'رابعة', 'راغدة', 'راما', 'رانا', 'راندي', 'رانيا', 'راوية', 'راية', 'ربا', 'رباب', 'ربى', 'رجاء', 'رحمة', 'رحمه', 'ردينة', 'رزان', 'رشا', 'رغد', 'رغدة', 'رفاعية', 'رفاه', 'رقية', 'رقيه', 'رلى', 'رمال', 'رنا', 'رناد', 'رند', 'رنده', 'رنيم', 'رنين', 'رهام', 'رهف', 'رواء', 'روان', 'روبينا', 'روتانا', 'روحية', 'رودا', 'روزان', 'روزانا', 'روزين', 'رولى', 'روند', 'رويدة', 'ريان', 'ريتا', 'ريم', 'ريما', 'ريمان', 'ريناتا', 'ريناد', 'ريهام', - 'زكية', 'زمان', 'زها', 'زهرة', 'زين', 'زينا', 'زينات', 'زينب', 'زينة', 'ساجدة', 'ساجده', 'سارة', 'سارين', 'سالي', 'ساندرا', 'ساندي', 'سباتا', 'سجى', 'سحر', 'سدين', 'سرى', 'سرين', 'سعاد', 'سكينة', 'سلام', 'سلسبيل', 'سلمى', 'سلوى', 'سما', 'سماح', 'سماره', 'سمر', 'سمية', 'سميره', 'سميه', 'سناء', 'سنابل', 'سندس', 'سنريت', 'سنن', 'سها', 'سهاد', 'سهام', 'سهر', 'سهى', 'سهير', 'سهيله', 'سوار', 'سوزان', 'سوزانا', 'سوسن', 'سيرين', 'سيرينا', 'سيلفا', 'سيلين', 'سيما', - 'شدى', 'شذا', 'شذى', 'شروق', 'شريفة', 'شرين', 'شريهان', 'شفاء', 'شهد', 'شهناز', 'شيرين', 'شيماء', - 'صابرين', 'صالح', 'صبا', 'صباح', 'صباحت', 'صبرين', 'صحر', 'صفا', 'صفاء', 'صفية', 'صمود', - 'ضحى', 'ضياء', - 'عائشة', 'عاليا', 'عالية', 'عايشة', 'عبلة', 'عبير', 'عدله', 'عرين', 'عزة', 'عزيزة', 'عفاف', 'علا', 'علياء', 'عنود', 'عهد', - 'غادة', 'غدير', 'غرام', 'غزل', 'غصون', 'غفران', 'غنى', 'غيد', 'غيداء', 'غيده', 'غيفار', - 'فاتن', 'فادية', 'فاديه', 'فاطمة', 'فايزة', 'فتحية', 'فتحيه', 'فتنه', 'فداء', 'فدوى', 'فدى', 'فرح', 'فريال', 'فريدة', 'فوزية', 'فيروز', 'فيفيان', - 'قمر', - 'كاترين', 'كاتيا', 'كارلا', 'كرستينا', 'كريستين', 'كريستينا', 'كلوديت', 'كلودين', 'كوثر', 'كيان', - 'لارا', 'لاري', 'لانا', 'لبنا', 'لجين', 'لطيفة', 'لمى', 'لميس', 'لنا', 'لورا', 'لورينا', 'لوسانا', 'لوسينا', 'لونا', 'ليان', 'ليدا', 'ليلى', 'ليليان', 'لين', 'لينا', 'لينة', 'ليندا', 'لينه', - 'مادلين', 'ماري', 'ماريا', 'ماريان', 'مارينا', 'مايا', 'مجد', 'مجدولين', 'محبوبة', 'مديحة', 'مرام', 'مرح', 'مروة', 'مريام', 'مريانا', 'مريم', 'مسعدة', 'مشيرة', 'معالي', 'ملاك', 'ملك', 'منار', 'منال', 'منى', 'مها', 'مهتاب', 'مي', 'ميادة', 'مياده', 'ميار', 'ميان', 'ميرا', 'ميرال', 'ميران', 'ميرفت', 'ميرنا', 'ميريت', 'ميس', 'ميسا', 'ميساء', 'ميسر', 'ميسره', 'ميسم', 'ميسون', 'ميلاء', 'ميناس', - 'نائله', 'ناتاشا', 'ناتالي', 'ناديا', 'نادية', 'نادين', 'ناديه', 'ناردين', 'ناريمان', 'نانسي', 'نبال', 'نبراس', 'نبيله', 'نجاة', 'نجاح', 'نجلاء', 'نجوان', 'نجود', 'نجوى', 'نداء', 'ندى', 'ندين', 'نرمين', 'نزميه', 'نسرين', 'نسيمة', 'نعمت', 'نعمه', 'نهاد', 'نهى', 'نهيدة', 'نوال', 'نور', 'نور الهدى', 'نورا', 'نوران', 'نيروز', 'نيفين', - 'هادلين', 'هازار', 'هالة', 'هانيا', 'هايدي', 'هبة', 'هدايه', 'هدى', 'هديل', 'هزار', 'هلا', 'هلين', 'هنا', 'هناء', 'هنادا', 'هنادي', 'هند', 'هيا', 'هيفا', 'هيفاء', 'هيلين', - 'وئام', 'وجدان', 'وداد', 'ورود', 'وسام', 'وسن', 'وسيم', 'وعد', 'وفاء', 'ولاء', - 'ىمنة', 'يارا', 'ياسمين', 'يافا', 'يسرى', 'ينان', 'ﻟﻮﺗﺸﻴﺎ', - ]; + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameFemale = [ + 'آثار', + 'آلاء', + 'آناء', + 'آية', + 'أبرار', + 'أحلام', + 'أروى', + 'أريج', + 'أسماء', + 'أسيل', + 'أصاله', + 'أفنان', + 'ألاء', + 'أماني', + 'أمل', + 'أميرة', + 'أنسام', + 'أنطوانيت', + 'أنوار', + 'أيات', + 'أية', + 'أيناس', + 'أيه', + 'ؤقهسفغ', + 'إباء', + 'إخلاص', + 'إسراء', + 'إسلام', + 'إكرام', + 'إنعام', + 'إيمان', + 'إيناس', + 'ابتهاج', + 'ابتهال', + 'ابرار', + 'ابراهيم', + 'اتيان', + 'احسان', + 'احلام', + 'احمد', + 'اخلاص', + 'ارجوان', + 'اروى', + 'اريج', + 'ازهار', + 'اسامة', + 'اسحار', + 'اسرا', + 'اسراء', + 'اسرار', + 'اسلام', + 'اسما', + 'اسماء', + 'اسمهان', + 'اسمى', + 'اسيل', + 'اشراق', + 'اصالة', + 'اعتدال', + 'افراح', + 'افنان', + 'افيا', + 'اكرام', + 'الاء', + 'العنود', + 'الهام', + 'اليان', + 'اليزابيث', + 'امال', + 'اماندا', + 'اماني', + 'امل', + 'امنه', + 'اميرة', + 'اميليا', + 'امينة', + 'اناهيد', + 'انتظار', + 'انجليكا', + 'انعام', + 'انوار', + 'اويس', + 'ايات', + 'ايام', + 'اية', + 'ايفا', + 'ايفان', + 'ايفون', + 'ايمان', + 'ايناس', + 'ايه', + 'باسمة', + 'باميلا', + 'بان', + 'بانا', + 'بتول', + 'بثينه', + 'بدور', + 'براء', + 'براءة', + 'برديس', + 'بروين', + 'بسمة', + 'بشائر', + 'بشرى', + 'بلسم', + 'بلقيس', + 'بنان', + 'بهجه', + 'بيا', + 'بيان', + 'بيداء', + 'بيسان', + 'تالا', + 'تالة', + 'تالين', + 'تامر', + 'تانيا ماريا', + 'تحرير', + 'تسنيم', + 'تغريد', + 'تقوى', + 'تقى', + 'تمارا', + 'تماضر', + 'تمام', + 'تهاني', + 'تولين', + 'ثريا', + 'جاسمن', + 'جالا', + 'جلنار', + 'جمانا', + 'جمانة', + 'جميلة', + 'جنى', + 'جهاد', + 'جوانا', + 'جود', + 'جورجيت', + 'جوسيت', + 'جولييت', + 'جيانا', + 'جيسيكا', + 'حبيبة', + 'حسناء', + 'حصه', + 'حلا', + 'حليمة', + 'حنان', + 'حنين', + 'حياة', + 'ختام', + 'خديجه', + 'خلود', + 'خولة', + 'دارين', + 'داليا', + 'دالية', + 'دانا', + 'دانا كريستيل جميلة', + 'دانة', + 'دانية', + 'دانييل', + 'دبنا', + 'دعاء', + 'دعد', + 'دلال', + 'دنى', + 'دنيا', + 'دولا', + 'ديالا', + 'ديان', + 'ديانا', + 'ديما', + 'دينا', + 'رؤى', + 'رؤيه', + 'رابعة', + 'راغدة', + 'راما', + 'رانا', + 'راندي', + 'رانيا', + 'راوية', + 'راية', + 'ربا', + 'رباب', + 'ربى', + 'رجاء', + 'رحمة', + 'رحمه', + 'ردينة', + 'رزان', + 'رشا', + 'رغد', + 'رغدة', + 'رفاعية', + 'رفاه', + 'رقية', + 'رقيه', + 'رلى', + 'رمال', + 'رنا', + 'رناد', + 'رند', + 'رنده', + 'رنيم', + 'رنين', + 'رهام', + 'رهف', + 'رواء', + 'روان', + 'روبينا', + 'روتانا', + 'روحية', + 'رودا', + 'روزان', + 'روزانا', + 'روزين', + 'رولى', + 'روند', + 'رويدة', + 'ريان', + 'ريتا', + 'ريم', + 'ريما', + 'ريمان', + 'ريناتا', + 'ريناد', + 'ريهام', + 'زكية', + 'زمان', + 'زها', + 'زهرة', + 'زين', + 'زينا', + 'زينات', + 'زينب', + 'زينة', + 'ساجدة', + 'ساجده', + 'سارة', + 'سارين', + 'سالي', + 'ساندرا', + 'ساندي', + 'سباتا', + 'سجى', + 'سحر', + 'سدين', + 'سرى', + 'سرين', + 'سعاد', + 'سكينة', + 'سلام', + 'سلسبيل', + 'سلمى', + 'سلوى', + 'سما', + 'سماح', + 'سماره', + 'سمر', + 'سمية', + 'سميره', + 'سميه', + 'سناء', + 'سنابل', + 'سندس', + 'سنريت', + 'سنن', + 'سها', + 'سهاد', + 'سهام', + 'سهر', + 'سهى', + 'سهير', + 'سهيله', + 'سوار', + 'سوزان', + 'سوزانا', + 'سوسن', + 'سيرين', + 'سيرينا', + 'سيلفا', + 'سيلين', + 'سيما', + 'شدى', + 'شذا', + 'شذى', + 'شروق', + 'شريفة', + 'شرين', + 'شريهان', + 'شفاء', + 'شهد', + 'شهناز', + 'شيرين', + 'شيماء', + 'صابرين', + 'صالح', + 'صبا', + 'صباح', + 'صباحت', + 'صبرين', + 'صحر', + 'صفا', + 'صفاء', + 'صفية', + 'صمود', + 'ضحى', + 'ضياء', + 'عائشة', + 'عاليا', + 'عالية', + 'عايشة', + 'عبلة', + 'عبير', + 'عدله', + 'عرين', + 'عزة', + 'عزيزة', + 'عفاف', + 'علا', + 'علياء', + 'عنود', + 'عهد', + 'غادة', + 'غدير', + 'غرام', + 'غزل', + 'غصون', + 'غفران', + 'غنى', + 'غيد', + 'غيداء', + 'غيده', + 'غيفار', + 'فاتن', + 'فادية', + 'فاديه', + 'فاطمة', + 'فايزة', + 'فتحية', + 'فتحيه', + 'فتنه', + 'فداء', + 'فدوى', + 'فدى', + 'فرح', + 'فريال', + 'فريدة', + 'فوزية', + 'فيروز', + 'فيفيان', + 'قمر', + 'كاترين', + 'كاتيا', + 'كارلا', + 'كرستينا', + 'كريستين', + 'كريستينا', + 'كلوديت', + 'كلودين', + 'كوثر', + 'كيان', + 'لارا', + 'لاري', + 'لانا', + 'لبنا', + 'لجين', + 'لطيفة', + 'لمى', + 'لميس', + 'لنا', + 'لورا', + 'لورينا', + 'لوسانا', + 'لوسينا', + 'لونا', + 'ليان', + 'ليدا', + 'ليلى', + 'ليليان', + 'لين', + 'لينا', + 'لينة', + 'ليندا', + 'لينه', + 'مادلين', + 'ماري', + 'ماريا', + 'ماريان', + 'مارينا', + 'مايا', + 'مجد', + 'مجدولين', + 'محبوبة', + 'مديحة', + 'مرام', + 'مرح', + 'مروة', + 'مريام', + 'مريانا', + 'مريم', + 'مسعدة', + 'مشيرة', + 'معالي', + 'ملاك', + 'ملك', + 'منار', + 'منال', + 'منى', + 'مها', + 'مهتاب', + 'مي', + 'ميادة', + 'مياده', + 'ميار', + 'ميان', + 'ميرا', + 'ميرال', + 'ميران', + 'ميرفت', + 'ميرنا', + 'ميريت', + 'ميس', + 'ميسا', + 'ميساء', + 'ميسر', + 'ميسره', + 'ميسم', + 'ميسون', + 'ميلاء', + 'ميناس', + 'نائله', + 'ناتاشا', + 'ناتالي', + 'ناديا', + 'نادية', + 'نادين', + 'ناديه', + 'ناردين', + 'ناريمان', + 'نانسي', + 'نبال', + 'نبراس', + 'نبيله', + 'نجاة', + 'نجاح', + 'نجلاء', + 'نجوان', + 'نجود', + 'نجوى', + 'نداء', + 'ندى', + 'ندين', + 'نرمين', + 'نزميه', + 'نسرين', + 'نسيمة', + 'نعمت', + 'نعمه', + 'نهاد', + 'نهى', + 'نهيدة', + 'نوال', + 'نور', + 'نور الهدى', + 'نورا', + 'نوران', + 'نيروز', + 'نيفين', + 'هادلين', + 'هازار', + 'هالة', + 'هانيا', + 'هايدي', + 'هبة', + 'هدايه', + 'هدى', + 'هديل', + 'هزار', + 'هلا', + 'هلين', + 'هنا', + 'هناء', + 'هنادا', + 'هنادي', + 'هند', + 'هيا', + 'هيفا', + 'هيفاء', + 'هيلين', + 'وئام', + 'وجدان', + 'وداد', + 'ورود', + 'وسام', + 'وسن', + 'وسيم', + 'وعد', + 'وفاء', + 'ولاء', + 'ىمنة', + 'يارا', + 'ياسمين', + 'يافا', + 'يسرى', + 'ينان', + 'ﻟﻮﺗﺸﻴﺎ', + ]; - protected static $lastName = [ - 'آلهامي', 'أبو الرب', 'ابو رحمة', 'ابو سعده', 'ابو يوسف', 'ابوالحاج', 'الامام', 'البتراء', 'البلبيسي', 'الترابين', 'التلهوني', 'الجبارات', 'الجرَّاح', 'الجوابره', 'الجوالدة', 'الحجايا', 'الحوراني', 'الدعجة', 'الردايدة', 'الرشدان', 'الرفاعي', 'الروابدة', 'الروسان', 'الريماوي', 'الزعبية', 'الزوربا', 'السحاقات', 'السحيمات', 'السراج', 'السعد', 'السلطية', 'السيوف', 'الشامي', 'الشريدة', 'الشريف', 'الشطناوي', 'الشمالي', 'الصرايرة', 'الصمادي', 'الصنات', 'الضمور', 'الطباع', 'الطراونة', 'الطويسات', 'الطويل', 'العدوان', 'العضيبات', 'العلامي', 'العمري', 'العمرية', 'العناسوة', 'العنانبه', 'الغريب', 'الفاخوري', 'الفاعوري', 'الفناطسة', 'القطيشات', 'الكردي', 'الكركي', 'المبيضين', 'المجالي', 'المحاميد', 'المساعيد', 'المشاهره', 'المصري', 'المعشر', 'المواجدة', 'المومنى', 'المومنية', 'النسور', 'النشاشيبي', 'النعيمات', 'الهلسة', 'الوشاح', - 'بني حسن', 'بني صقر', - 'سحاب', - 'شمر', - 'ضميدات', - 'طلفاح', - 'عابدين', 'عباد', 'عجلون', 'عقلة', 'عناسوة', - 'مطير', 'معاني', - 'وادي', - ]; + protected static $lastName = [ + 'آلهامي', + 'أبو الرب', + 'ابو رحمة', + 'ابو سعده', + 'ابو يوسف', + 'ابوالحاج', + 'الامام', + 'البتراء', + 'البلبيسي', + 'الترابين', + 'التلهوني', + 'الجبارات', + 'الجرَّاح', + 'الجوابره', + 'الجوالدة', + 'الحجايا', + 'الحوراني', + 'الدعجة', + 'الردايدة', + 'الرشدان', + 'الرفاعي', + 'الروابدة', + 'الروسان', + 'الريماوي', + 'الزعبية', + 'الزوربا', + 'السحاقات', + 'السحيمات', + 'السراج', + 'السعد', + 'السلطية', + 'السيوف', + 'الشامي', + 'الشريدة', + 'الشريف', + 'الشطناوي', + 'الشمالي', + 'الصرايرة', + 'الصمادي', + 'الصنات', + 'الضمور', + 'الطباع', + 'الطراونة', + 'الطويسات', + 'الطويل', + 'العدوان', + 'العضيبات', + 'العلامي', + 'العمري', + 'العمرية', + 'العناسوة', + 'العنانبه', + 'الغريب', + 'الفاخوري', + 'الفاعوري', + 'الفناطسة', + 'القطيشات', + 'الكردي', + 'الكركي', + 'المبيضين', + 'المجالي', + 'المحاميد', + 'المساعيد', + 'المشاهره', + 'المصري', + 'المعشر', + 'المواجدة', + 'المومنى', + 'المومنية', + 'النسور', + 'النشاشيبي', + 'النعيمات', + 'الهلسة', + 'الوشاح', + 'بني حسن', + 'بني صقر', + 'سحاب', + 'شمر', + 'ضميدات', + 'طلفاح', + 'عابدين', + 'عباد', + 'عجلون', + 'عقلة', + 'عناسوة', + 'مطير', + 'معاني', + 'وادي', + ]; - protected static $titleMale = ['السيد', 'الأستاذ', 'الدكتور', 'المهندس']; - protected static $titleFemale = ['السيدة', 'الآنسة', 'الدكتورة', 'المهندسة']; - private static $prefix = ['أ.', 'د.', 'أ.د', 'م.']; + protected static $titleMale = [ 'السيد', 'الأستاذ', 'الدكتور', 'المهندس' ]; + protected static $titleFemale = [ 'السيدة', 'الآنسة', 'الدكتورة', 'المهندسة' ]; + private static $prefix = [ 'أ.', 'د.', 'أ.د', 'م.' ]; - /** - * @example 'أ.' - */ - public static function prefix() - { - return static::randomElement(static::$prefix); - } + /** + * @example 'أ.' + */ + public static function prefix() { + return static::randomElement( static::$prefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Text.php index f5d0190..a75c295 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_JO/Text.php @@ -2,25 +2,23 @@ namespace Faker\Provider\ar_JO; -class Text extends \Faker\Provider\Text -{ - protected static function validStart($word) - { - return preg_match('/^\p{Arabic}/u', $word); - } - - /** - * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - * - * Title: حي بن يقظان - * Author: ابن الطفيل - * Language: Arabic - * - * @see https://ar.wikisource.org/wiki/%D8%A7%D8%A8%D9%86_%D8%A7%D9%84%D8%B7%D9%81%D9%8A%D9%84_-_%D8%AD%D9%8A_%D8%A8%D9%86_%D9%8A%D9%82%D8%B8%D8%A7%D9%86 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + protected static function validStart( $word ) { + return preg_match( '/^\p{Arabic}/u', $word ); + } + + /** + * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) + * + * Title: حي بن يقظان + * Author: ابن الطفيل + * Language: Arabic + * + * @see https://ar.wikisource.org/wiki/%D8%A7%D8%A8%D9%86_%D8%A7%D9%84%D8%B7%D9%81%D9%8A%D9%84_-_%D8%AD%D9%8A_%D8%A8%D9%86_%D9%8A%D9%82%D8%B8%D8%A7%D9%86 + * + * @var string + */ + protected static $baseText = <<<'EOT' ذكر سلفنا الصالح - رضي الله عنهم - أن جزيرة من جزائر الهند التي تحت خط الاستواء، وهي الجزيرة التي يتولد بها الإنسان من غير أم ولا أب، وبها شجر يثمر نساء، وهي التي ذكر المسعودي أنها جزيرة الوقواق لان تلك الجزيرة اعدل بقاع الأرض هواء؛ أتممها لشروق النور الأعلى عليها استعدادً، وان كان ذلك خلاف ما يراه جمهور الفلاسفة وكبار الأطباء، فانهم يرون إن اعدل ما في المعمورة الإقليم الرابع، فان كانوا قالوا ذلك لأنه صح عندهم انه ليس على خط الاستواء عمارة لمانع من الموانع الأرضية، فلقولهم: أن الإقليم الرابع اعدل بقاع الأرض وجه، وان كانوا إنما أرادوا بذلك إن ما على خط الاستواء شديد الحرارة، كالذي يصرح به أكثرهم فهو خطأ يقوم البرهان على خلافه. وذلك أنه قد تبرهن في العلوم الطبيعية أنه لا سبب لتكون الحرارة إلا الحركة أو ملاقاة الأجسام الحارة والإضاءة؛ وتبين فيها أيضاً إن الشمس بذاتها غير حارة ولا متكيفة بشيء من هذه الكيفيات المزاجية؛ وقد تبين فيها أيضاً إن الأجسام التي تقبل الإضاءة أتم القبول، هي الأجسام الصقيلة غير الشفافة، ويليها في قبول ذلك الأجسام الكثيفة غير الصقيلة، فأما الأجسام الشفافة التي لاشيء فيها من الكثافة فلا تقبل الضوء بوجه. diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Address.php index 8cf8c70..f3be0af 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Address.php @@ -2,145 +2,505 @@ namespace Faker\Provider\ar_SA; -class Address extends \Faker\Provider\Address -{ - protected static $streetPrefix = ['شارع', 'طريق', 'ممر']; - - /** - * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AF%D9%86_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 - */ - protected static $cityName = [ - 'الرياض', 'جدة', 'مكة', 'المدينة المنورة', 'تبوك', 'الدمام', 'الأحساء', 'القطيف', 'خميس مشيط', 'المظيلف', 'الهفوف', - 'المبرز', 'الطائف', 'نجران', 'حفر الباطن', 'الجبيل', 'ضباء', 'الخرج', 'الثقبة', 'ينبع البحر', 'الخبر', 'عرعر', 'الحوية', - 'عنيزة', 'سكاكا', 'جيزان', 'القريات', 'الظهران', 'الزلفي', 'الباحة', 'الرس', 'وادي الدواسر', 'بيشة', 'سيهات', 'شرورة', - 'الدوادمي', 'الأفلاج', - ]; - - /** - * @see https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D8%AA%D9%82%D8%B3%D9%8A%D9%85_%D8%A7%D9%84%D8%A5%D8%AF%D8%A7%D8%B1%D9%8A_%D9%84%D9%84%D9%85%D9%85%D9%84%D9%83%D8%A9_%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 - */ - protected static $subdivisions = [ - 'منطقة الرياض', 'منطقة القصيم', - 'منطقة مكة المكرمة', 'منطقة المدينة المنورة', - 'منطقة حائل', 'منطقة الجوف', 'منطقة تبوك', 'منطقة الحدود الشمالية', - 'منطقة عسير', 'منطقة جازان', 'منطقة نجران', 'منطقة الباحة', - 'المنطقة الشرقية', - ]; - - /** - * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AD%D8%A7%D9%81%D8%B8%D8%A7%D8%AA_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 - */ - protected static $governorates = [ - 'الرياض', 'الدرعية', 'الخرج', 'الدوادمي', 'المجمعة', 'القويعية', 'الأفلاج', 'وادي الدواسر', 'الزلفي', 'شقراء', 'حوطة بني تميم', 'عفيف', 'الغاط', 'السليل', 'ضرما', 'المزاحمية', 'رماح', 'ثادق', 'حريملاء', 'الحريق', 'مرات', - 'مكة المكرمة', 'جدة', 'الطائف', 'القنفذة', 'الليث', 'رابغ', 'خليص', 'الخرمة', 'رنية', 'تربة', 'الجموم', 'الكامل', 'المويه', 'ميسان', 'أضم', 'العرضيات', 'بحرة', - 'المدينة المنورة', 'ينبع', 'العلا', 'مهد الذهب', 'الحناكية', 'بدر', 'خيبر', 'العيص', 'وادي الفرع', - 'بريدة', 'عنيزة', 'الرس', 'المذنب', 'البكيرية', 'البدائع', 'الأسياح', 'النبهانية', 'الشماسية', 'عيون الجواء', 'رياض الخبراء', 'عقلة الصقور', 'ضرية', - 'الدمام', 'الأحساء', 'حفر الباطن', 'الجبيل', 'القطيف', 'الخبر', 'الخفجي', 'رأس تنورة', 'بقيق', 'النعيرية', 'قرية العليا', 'العديد', - 'أبها', 'خميس مشيط', 'بيشة', 'النماص', 'محايل عسير', 'ظهران الجنوب', 'تثليث', 'سراة عبيدة', 'رجال ألمع', 'بلقرن', 'أحد رفيدة', 'المجاردة', 'البرك', 'بارق', 'تنومة', 'طريب', - 'تبوك', 'الوجه', 'ضبا', 'تيماء', 'أملج', 'حقل', 'البدع', - 'حائل', 'بقعاء', 'الغزالة', 'الشنان', 'الحائط', 'السليمي', 'الشملي', 'موقق', 'سميراء', - 'عرعر', 'رفحاء', 'طريف', 'العويقيلة', - 'جازان', 'صبيا', 'أبو عريش', 'صامطة', 'بيش', 'الدرب', 'الحرث', 'ضمد', 'الريث', 'جزر فرسان', 'الدائر', 'العارضة', 'أحد المسارحة', 'العيدابي', 'فيفاء', 'الطوال', 'هروب', - 'نجران', 'شرورة', 'حبونا', 'بدر الجنوب', 'يدمه', 'ثار', 'خباش', 'الخرخير', - 'الباحة', 'بلجرشي', 'المندق', 'المخواة', 'قلوة', 'العقيق', 'القرى', 'غامد الزناد', 'الحجرة', 'بني حسن', - 'سكاكا', 'القريات', 'دومة الجندل', 'طبرجل', - ]; - - protected static $buildingNumber = ['%####', '%###', '%#']; - - protected static $postcode = ['#####', '#####-####']; - - /** - * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm - */ - protected static $country = [ - 'الكاريبي', 'أمريكا الوسطى', 'أنتيجوا وبربودا', 'أنجولا', 'أنجويلا', 'أندورا', 'اندونيسيا', 'أورجواي', 'أوروبا', 'أوزبكستان', 'أوغندا', 'أوقيانوسيا', 'أوقيانوسيا النائية', 'أوكرانيا', 'ايران', 'أيرلندا', 'أيسلندا', 'ايطاليا', - 'بابوا غينيا الجديدة', 'باراجواي', 'باكستان', 'بالاو', 'بتسوانا', 'بتكايرن', 'بربادوس', 'برمودا', 'بروناي', 'بلجيكا', 'بلغاريا', 'بليز', 'بنجلاديش', 'بنما', 'بنين', 'بوتان', 'بورتوريكو', 'بوركينا فاسو', 'بوروندي', 'بولندا', 'بوليفيا', 'بولينيزيا', 'بولينيزيا الفرنسية', 'بيرو', - 'تانزانيا', 'تايلند', 'تايوان', 'تركمانستان', 'تركيا', 'ترينيداد وتوباغو', 'تشاد', 'توجو', 'توفالو', 'توكيلو', 'تونجا', 'تونس', 'تيمور الشرقية', - 'جامايكا', 'جبل طارق', 'جرينادا', 'جرينلاند', 'جزر الأنتيل الهولندية', 'جزر الترك وجايكوس', 'جزر القمر', 'جزر الكايمن', 'جزر المارشال', 'جزر الملديف', 'جزر الولايات المتحدة البعيدة الصغيرة', 'جزر أولان', 'جزر سليمان', 'جزر فارو', 'جزر فرجين الأمريكية', 'جزر فرجين البريطانية', 'جزر فوكلاند', 'جزر كوك', 'جزر كوكوس', 'جزر ماريانا الشمالية', 'جزر والس وفوتونا', 'جزيرة الكريسماس', 'جزيرة بوفيه', 'جزيرة مان', 'جزيرة نورفوك', 'جزيرة هيرد وماكدونالد', 'جمهورية افريقيا الوسطى', 'جمهورية التشيك', 'جمهورية الدومينيك', 'جمهورية الكونغو الديمقراطية', 'جمهورية جنوب افريقيا', 'جنوب آسيا', 'جنوب أوروبا', 'جنوب شرق آسيا', 'جنوب وسط آسيا', 'جواتيمالا', 'جوادلوب', 'جوام', 'جورجيا', 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', 'جيبوتي', 'جيرسي', - 'دومينيكا', - 'رواندا', 'روسيا', 'روسيا البيضاء', 'رومانيا', 'روينيون', - 'زامبيا', 'زيمبابوي', - 'ساحل العاج', 'ساموا', 'ساموا الأمريكية', 'سانت بيير وميكولون', 'سانت فنسنت وغرنادين', 'سانت كيتس ونيفيس', 'سانت لوسيا', 'سانت مارتين', 'سانت هيلنا', 'سان مارينو', 'ساو تومي وبرينسيبي', 'سريلانكا', 'سفالبارد وجان مايان', 'سلوفاكيا', 'سلوفينيا', 'سنغافورة', 'سوازيلاند', 'سوريا', 'سورينام', 'سويسرا', 'سيراليون', 'سيشل', - 'شرق آسيا', 'شرق افريقيا', 'شرق أوروبا', 'شمال افريقيا', 'شمال أمريكا', 'شمال أوروبا', 'شيلي', - 'صربيا', 'صربيا والجبل الأسود', - 'طاجكستان', - 'عمان', - 'غامبيا', 'غانا', 'غرب آسيا', 'غرب افريقيا', 'غرب أوروبا', 'غويانا', 'غيانا', 'غينيا', 'غينيا الاستوائية', 'غينيا بيساو', - 'فانواتو', 'فرنسا', 'فلسطين', 'فنزويلا', 'فنلندا', 'فيتنام', 'فيجي', - 'قبرص', 'قرغيزستان', 'قطر', - 'كازاخستان', 'كاليدونيا الجديدة', 'كرواتيا', 'كمبوديا', 'كندا', 'كوبا', 'كوريا الجنوبية', 'كوريا الشمالية', 'كوستاريكا', 'كولومبيا', 'كومنولث الدول المستقلة', 'كيريباتي', 'كينيا', - 'لاتفيا', 'لاوس', 'لبنان', 'لوكسمبورج', 'ليبيا', 'ليبيريا', 'ليتوانيا', 'ليختنشتاين', 'ليسوتو', - 'مارتينيك', 'ماكاو الصينية', 'مالطا', 'مالي', 'ماليزيا', 'مايوت', 'مدغشقر', 'مصر', 'مقدونيا', 'ملاوي', 'منغوليا', 'موريتانيا', 'موريشيوس', 'موزمبيق', 'مولدافيا', 'موناكو', 'مونتسرات', 'ميانمار', 'ميكرونيزيا', 'ميلانيزيا', - 'ناميبيا', 'نورو', 'نيبال', 'نيجيريا', 'نيكاراجوا', 'نيوزيلاندا', 'نيوي', - 'هايتي', 'هندوراس', 'هولندا', 'هونج كونج الصينية', - 'وسط آسيا', 'وسط افريقيا', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}", - ]; - - protected static $secondaryAddressFormats = ['شقة رقم. ##', 'عمارة رقم ##']; - - /** - * @example 'شرق' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - /** - * @example 'الرياض' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } - - /** - * @example 'شارع' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'شقة رقم. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } - - /** - * @example 'منطقة الرياض' - */ - public static function subdivision() - { - return static::randomElement(static::$subdivisions); - } - - /** - * @example 'منطقة الرياض' - */ - public static function governorate() - { - return static::randomElement(static::$governorates); - } +class Address extends \Faker\Provider\Address { + protected static $streetPrefix = [ 'شارع', 'طريق', 'ممر' ]; + + /** + * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AF%D9%86_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 + */ + protected static $cityName = [ + 'الرياض', + 'جدة', + 'مكة', + 'المدينة المنورة', + 'تبوك', + 'الدمام', + 'الأحساء', + 'القطيف', + 'خميس مشيط', + 'المظيلف', + 'الهفوف', + 'المبرز', + 'الطائف', + 'نجران', + 'حفر الباطن', + 'الجبيل', + 'ضباء', + 'الخرج', + 'الثقبة', + 'ينبع البحر', + 'الخبر', + 'عرعر', + 'الحوية', + 'عنيزة', + 'سكاكا', + 'جيزان', + 'القريات', + 'الظهران', + 'الزلفي', + 'الباحة', + 'الرس', + 'وادي الدواسر', + 'بيشة', + 'سيهات', + 'شرورة', + 'الدوادمي', + 'الأفلاج', + ]; + + /** + * @see https://ar.wikipedia.org/wiki/%D8%A7%D9%84%D8%AA%D9%82%D8%B3%D9%8A%D9%85_%D8%A7%D9%84%D8%A5%D8%AF%D8%A7%D8%B1%D9%8A_%D9%84%D9%84%D9%85%D9%85%D9%84%D9%83%D8%A9_%D8%A7%D9%84%D8%B9%D8%B1%D8%A8%D9%8A%D8%A9_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 + */ + protected static $subdivisions = [ + 'منطقة الرياض', + 'منطقة القصيم', + 'منطقة مكة المكرمة', + 'منطقة المدينة المنورة', + 'منطقة حائل', + 'منطقة الجوف', + 'منطقة تبوك', + 'منطقة الحدود الشمالية', + 'منطقة عسير', + 'منطقة جازان', + 'منطقة نجران', + 'منطقة الباحة', + 'المنطقة الشرقية', + ]; + + /** + * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D9%85%D8%AD%D8%A7%D9%81%D8%B8%D8%A7%D8%AA_%D8%A7%D9%84%D8%B3%D8%B9%D9%88%D8%AF%D9%8A%D8%A9 + */ + protected static $governorates = [ + 'الرياض', + 'الدرعية', + 'الخرج', + 'الدوادمي', + 'المجمعة', + 'القويعية', + 'الأفلاج', + 'وادي الدواسر', + 'الزلفي', + 'شقراء', + 'حوطة بني تميم', + 'عفيف', + 'الغاط', + 'السليل', + 'ضرما', + 'المزاحمية', + 'رماح', + 'ثادق', + 'حريملاء', + 'الحريق', + 'مرات', + 'مكة المكرمة', + 'جدة', + 'الطائف', + 'القنفذة', + 'الليث', + 'رابغ', + 'خليص', + 'الخرمة', + 'رنية', + 'تربة', + 'الجموم', + 'الكامل', + 'المويه', + 'ميسان', + 'أضم', + 'العرضيات', + 'بحرة', + 'المدينة المنورة', + 'ينبع', + 'العلا', + 'مهد الذهب', + 'الحناكية', + 'بدر', + 'خيبر', + 'العيص', + 'وادي الفرع', + 'بريدة', + 'عنيزة', + 'الرس', + 'المذنب', + 'البكيرية', + 'البدائع', + 'الأسياح', + 'النبهانية', + 'الشماسية', + 'عيون الجواء', + 'رياض الخبراء', + 'عقلة الصقور', + 'ضرية', + 'الدمام', + 'الأحساء', + 'حفر الباطن', + 'الجبيل', + 'القطيف', + 'الخبر', + 'الخفجي', + 'رأس تنورة', + 'بقيق', + 'النعيرية', + 'قرية العليا', + 'العديد', + 'أبها', + 'خميس مشيط', + 'بيشة', + 'النماص', + 'محايل عسير', + 'ظهران الجنوب', + 'تثليث', + 'سراة عبيدة', + 'رجال ألمع', + 'بلقرن', + 'أحد رفيدة', + 'المجاردة', + 'البرك', + 'بارق', + 'تنومة', + 'طريب', + 'تبوك', + 'الوجه', + 'ضبا', + 'تيماء', + 'أملج', + 'حقل', + 'البدع', + 'حائل', + 'بقعاء', + 'الغزالة', + 'الشنان', + 'الحائط', + 'السليمي', + 'الشملي', + 'موقق', + 'سميراء', + 'عرعر', + 'رفحاء', + 'طريف', + 'العويقيلة', + 'جازان', + 'صبيا', + 'أبو عريش', + 'صامطة', + 'بيش', + 'الدرب', + 'الحرث', + 'ضمد', + 'الريث', + 'جزر فرسان', + 'الدائر', + 'العارضة', + 'أحد المسارحة', + 'العيدابي', + 'فيفاء', + 'الطوال', + 'هروب', + 'نجران', + 'شرورة', + 'حبونا', + 'بدر الجنوب', + 'يدمه', + 'ثار', + 'خباش', + 'الخرخير', + 'الباحة', + 'بلجرشي', + 'المندق', + 'المخواة', + 'قلوة', + 'العقيق', + 'القرى', + 'غامد الزناد', + 'الحجرة', + 'بني حسن', + 'سكاكا', + 'القريات', + 'دومة الجندل', + 'طبرجل', + ]; + + protected static $buildingNumber = [ '%####', '%###', '%#' ]; + + protected static $postcode = [ '#####', '#####-####' ]; + + /** + * @see http://www.nationsonline.org/oneworld/countrynames_arabic.htm + */ + protected static $country = [ + 'الكاريبي', + 'أمريكا الوسطى', + 'أنتيجوا وبربودا', + 'أنجولا', + 'أنجويلا', + 'أندورا', + 'اندونيسيا', + 'أورجواي', + 'أوروبا', + 'أوزبكستان', + 'أوغندا', + 'أوقيانوسيا', + 'أوقيانوسيا النائية', + 'أوكرانيا', + 'ايران', + 'أيرلندا', + 'أيسلندا', + 'ايطاليا', + 'بابوا غينيا الجديدة', + 'باراجواي', + 'باكستان', + 'بالاو', + 'بتسوانا', + 'بتكايرن', + 'بربادوس', + 'برمودا', + 'بروناي', + 'بلجيكا', + 'بلغاريا', + 'بليز', + 'بنجلاديش', + 'بنما', + 'بنين', + 'بوتان', + 'بورتوريكو', + 'بوركينا فاسو', + 'بوروندي', + 'بولندا', + 'بوليفيا', + 'بولينيزيا', + 'بولينيزيا الفرنسية', + 'بيرو', + 'تانزانيا', + 'تايلند', + 'تايوان', + 'تركمانستان', + 'تركيا', + 'ترينيداد وتوباغو', + 'تشاد', + 'توجو', + 'توفالو', + 'توكيلو', + 'تونجا', + 'تونس', + 'تيمور الشرقية', + 'جامايكا', + 'جبل طارق', + 'جرينادا', + 'جرينلاند', + 'جزر الأنتيل الهولندية', + 'جزر الترك وجايكوس', + 'جزر القمر', + 'جزر الكايمن', + 'جزر المارشال', + 'جزر الملديف', + 'جزر الولايات المتحدة البعيدة الصغيرة', + 'جزر أولان', + 'جزر سليمان', + 'جزر فارو', + 'جزر فرجين الأمريكية', + 'جزر فرجين البريطانية', + 'جزر فوكلاند', + 'جزر كوك', + 'جزر كوكوس', + 'جزر ماريانا الشمالية', + 'جزر والس وفوتونا', + 'جزيرة الكريسماس', + 'جزيرة بوفيه', + 'جزيرة مان', + 'جزيرة نورفوك', + 'جزيرة هيرد وماكدونالد', + 'جمهورية افريقيا الوسطى', + 'جمهورية التشيك', + 'جمهورية الدومينيك', + 'جمهورية الكونغو الديمقراطية', + 'جمهورية جنوب افريقيا', + 'جنوب آسيا', + 'جنوب أوروبا', + 'جنوب شرق آسيا', + 'جنوب وسط آسيا', + 'جواتيمالا', + 'جوادلوب', + 'جوام', + 'جورجيا', + 'جورجيا الجنوبية وجزر ساندويتش الجنوبية', + 'جيبوتي', + 'جيرسي', + 'دومينيكا', + 'رواندا', + 'روسيا', + 'روسيا البيضاء', + 'رومانيا', + 'روينيون', + 'زامبيا', + 'زيمبابوي', + 'ساحل العاج', + 'ساموا', + 'ساموا الأمريكية', + 'سانت بيير وميكولون', + 'سانت فنسنت وغرنادين', + 'سانت كيتس ونيفيس', + 'سانت لوسيا', + 'سانت مارتين', + 'سانت هيلنا', + 'سان مارينو', + 'ساو تومي وبرينسيبي', + 'سريلانكا', + 'سفالبارد وجان مايان', + 'سلوفاكيا', + 'سلوفينيا', + 'سنغافورة', + 'سوازيلاند', + 'سوريا', + 'سورينام', + 'سويسرا', + 'سيراليون', + 'سيشل', + 'شرق آسيا', + 'شرق افريقيا', + 'شرق أوروبا', + 'شمال افريقيا', + 'شمال أمريكا', + 'شمال أوروبا', + 'شيلي', + 'صربيا', + 'صربيا والجبل الأسود', + 'طاجكستان', + 'عمان', + 'غامبيا', + 'غانا', + 'غرب آسيا', + 'غرب افريقيا', + 'غرب أوروبا', + 'غويانا', + 'غيانا', + 'غينيا', + 'غينيا الاستوائية', + 'غينيا بيساو', + 'فانواتو', + 'فرنسا', + 'فلسطين', + 'فنزويلا', + 'فنلندا', + 'فيتنام', + 'فيجي', + 'قبرص', + 'قرغيزستان', + 'قطر', + 'كازاخستان', + 'كاليدونيا الجديدة', + 'كرواتيا', + 'كمبوديا', + 'كندا', + 'كوبا', + 'كوريا الجنوبية', + 'كوريا الشمالية', + 'كوستاريكا', + 'كولومبيا', + 'كومنولث الدول المستقلة', + 'كيريباتي', + 'كينيا', + 'لاتفيا', + 'لاوس', + 'لبنان', + 'لوكسمبورج', + 'ليبيا', + 'ليبيريا', + 'ليتوانيا', + 'ليختنشتاين', + 'ليسوتو', + 'مارتينيك', + 'ماكاو الصينية', + 'مالطا', + 'مالي', + 'ماليزيا', + 'مايوت', + 'مدغشقر', + 'مصر', + 'مقدونيا', + 'ملاوي', + 'منغوليا', + 'موريتانيا', + 'موريشيوس', + 'موزمبيق', + 'مولدافيا', + 'موناكو', + 'مونتسرات', + 'ميانمار', + 'ميكرونيزيا', + 'ميلانيزيا', + 'ناميبيا', + 'نورو', + 'نيبال', + 'نيجيريا', + 'نيكاراجوا', + 'نيوزيلاندا', + 'نيوي', + 'هايتي', + 'هندوراس', + 'هولندا', + 'هونج كونج الصينية', + 'وسط آسيا', + 'وسط افريقيا', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}", + ]; + + protected static $secondaryAddressFormats = [ 'شقة رقم. ##', 'عمارة رقم ##' ]; + + /** + * @example 'شرق' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + /** + * @example 'الرياض' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } + + /** + * @example 'شارع' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'شقة رقم. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } + + /** + * @example 'منطقة الرياض' + */ + public static function subdivision() { + return static::randomElement( static::$subdivisions ); + } + + /** + * @example 'منطقة الرياض' + */ + public static function governorate() { + return static::randomElement( static::$governorates ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Color.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Color.php index a671e56..a511510 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Color.php @@ -2,80 +2,453 @@ namespace Faker\Provider\ar_SA; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'أسود', 'قرمزي', 'أخضر', 'أزرق داكن', 'زيتوني', - 'أرجواني', 'أحمر', 'ليمي', 'أزرق', 'فضي', - 'رمادي', 'أصفر', 'برتقالي', 'بني', 'أبيض', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'أسود', + 'قرمزي', + 'أخضر', + 'أزرق داكن', + 'زيتوني', + 'أرجواني', + 'أحمر', + 'ليمي', + 'أزرق', + 'فضي', + 'رمادي', + 'أصفر', + 'برتقالي', + 'بني', + 'أبيض', + ]; - /** - * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D8%A3%D9%84%D9%88%D8%A7%D9%86_(%D9%85%D8%AA%D8%B6%D8%A7%D9%85%D8%A9) - */ - protected static $allColorNames = [ - 'استقلالي', 'انصهاري الذهب', 'أبنوسي', 'أبيض', 'أبيض الشبح', 'أبيض زهوري', 'أبيض عتيق', 'أبيض مضاد للإشعاع', - 'أبيض هولندي', 'أحمر الأبنية', 'أحمر التفاح المحلى', 'أحمر التفاح المحلى الداكن', 'أحمر الفالون', - 'أحمر الفيراري', 'أحمر إمبراطوري', 'أحمر إنجليزي', 'أحمر باستيلي داكن', 'أحمر توسكاني عميق', - 'أحمر جامعة بوسطن', 'أحمر حرس السواحل', 'أحمر داكن', 'أحمر ديبيان', 'أحمر صيني', 'أحمر طوبي', 'أحمر عقيقي', - 'أحمر كادميومي', 'أحمر كارمن', 'أحمر مرجاني', 'أحمر مطفئة الحريق', 'أحمر نحاسي', 'أحمر هندي', 'أخضر (بانتون)', - 'أخضر (ح ص ز)', 'أخضر (صباغ)', 'أخضر (عجلة الألوان) (أخض )', 'أخضر (كريولا)', 'أخضر (لون)', 'أخضر (مونسل)', - 'أخضر (نظام الألوان الطبيعية)', 'أخضر الصياد', 'أخضر الغابة (تقليدي)', 'أخضر الغابة (وب)', 'أخضر الهند', - 'أخضر أندرويد', 'أخضر إسلامي', 'أخضر إلكتروني', 'أخضر إنجليزي', 'أخضر باستيلي داكن', 'أخضر بحري داكن', - 'أخضر برونسويكي', 'أخضر بنغلاديشي', 'أخضر تشارلستون', 'أخضر تفاحي', 'أخضر تمويهي', 'أخضر جامعة كاليفورنيا م ت', - 'أزرق جامعة كامبريدج', 'أخضر جيشي', 'أخضر دارتموثي', 'أخضر داكن', 'أخضر دغلي', 'أخضر دغلي داكن', - 'أخضر دغلي عميق', 'أخضر ربيعي داكن', 'أخضر زيتوني داكن', 'أخضر سباقي بريطاني', 'أخضر سرخسي', - 'أخضر طحالبي داكن', 'أخضر قاروري', 'أخضر كادميومي', 'أخضر كاستلتون', 'أخضر كاريبي', 'أخضر مزرق', - 'أخضر مضيء', 'أخضر مكتبي', 'أخضر هوكر', 'أرجواني إلكرتوني', 'أرجواني إمبراطوري', 'أرجواني باستيلي داكن', - 'أرجواني فوشي', 'أرجواني قطيفي', 'أرجواني هان', 'أزرق', 'أزرق (ح ص ز)', 'أزرق (صبغة)', 'أزرق (كريولا)', - 'أزرق (مونسل)', 'أزرق (نظام الألوان الطبيعية)', 'أزرق اردوازي داكن', 'أزرق البحرية مضيء', - 'أزرق التفوق الجوي', 'أزرق السماء الإيطالي', 'أزرق السماء الفرنسي', 'أزرق العاشقين', 'أزرق الهونولولو', - 'أزرق أليس', 'أزرق إلكتروني', 'أزرق إلكتروني داكن', 'أزرق إمبراطوري', 'أزرق إمبراطوري داكن', 'إزرق إيتون', - 'أزرق باستيلي داكن', 'أزرق بوندي', 'أزرق جامعة براندايس', 'أزرق جامعة ديوك', 'أزرق جامعة كارولينا', - 'أزرق جامعة كولومبيا', 'أزرق جوي (القوات الجوية الأمريكية)', 'أزرق جوي (سلاح الجو الملكي)', - 'أزرق حرس السواحل', 'أزرق داكن', 'أزرق رمادي', 'أزرق سماوي داكن', 'أزرق سماوي عميق', 'أزرق سيروليان', - 'أزرق طفولي', 'أزرق عاصفي', 'أزرق عيني الطفل', 'أزرق فرنسا', 'أزرق فرنسي', 'أزرق فريق دودجر', - 'أزرق قنطريوني', 'أزرق كاتالينا', 'أزرق كاديتي', 'أزرق كروي', 'أزرق كلين العالمي', 'أزرق مسحوقي داكن', - 'أزرق مصري', 'أزرق هان', 'أزرق هوائي', 'أسود', 'أشقر', 'أصفر الكناري', 'أصفر الكوبالت', 'أصفر أريليد', - 'أصفر إلكتروني', 'أصفر برونزي', 'أصفر داكن', 'أصفر ذهبي', 'أصفر كادميومي', 'أصفر متألق', - 'أزرق منتصف الليل الداكن', 'أصفر الأرض', 'أصفر مخضر', 'أصفر موزي', 'أصفر هندي', 'أفوكادوي', 'ألماسي', - 'أمازوني', 'أومبرياوي محروق', 'أيلي', 'إمبراطوري', 'إيزابيلي', 'باذنجاني', 'برتقالي الجزر', - 'برتقالي الجزر العميق', 'برتقالي داكن', 'برتقالي عالمي (جسر البوابة الذهبية)', 'برتقالي عالمي (فضاء جوي)', - 'برتقالي عالمي (هندسة)', 'برتقالي فريق الجيانتس', 'برتقالي كادميومي', 'برتقالي متألق', 'برتقالي محروق', - 'برتقالي مشاب', 'برعمي يونيو', 'برغوثي داكن', 'برغوثي عميق', 'برغوثي فرنسي', 'برقي', 'برونزي', 'برونزي عتيق', - 'برونزي منطلق', 'بندقي الكستناء', 'بندقي الكستناء الداكن', 'بندقي الكستناء العميق', 'بنفسجي إلكتروني', - 'بنفسجي إنجليزي', 'بنفسجي داكن', 'بنفسجي صيني', 'بنفسجي فرنسي', 'بنفسجي مزرق', 'بنفسجي ياباني', - 'بني الحمير', 'بني المتملقين', 'بني داكن', 'بني ذهبي', 'بني كاكاوي', 'بني (وب)', 'بني (تقليدي)', - 'بورغندي', 'بيزنطي', 'بيزنطي داكن', 'ترابي', 'تربي داكن', 'تربي محروق', 'تفاحي جراني سميث', 'تملقي', - 'توردي', 'جاسبري', 'جلدي الجاموس', 'جمشتي', 'جملي', 'جوزي الهند', 'حسائي', 'حممي داكن', 'خامي', - 'خبازي عميق', 'خبازي فرنسي', 'خرنوبي', 'خزامي إلكتروني', 'خزامي إنجليزي', 'خزامي داكن', 'خزامي مضيء', - 'خشخاشي ذهبي', 'خشخاشي منثور', 'خلدي داكن', 'خلدي عميق', 'خوخي عميق', 'خوخي فرنسي', 'دودي قياس', 'دينمي', - 'ذروي', 'ذهبي (معدني)', 'ذهبي (وب)(ذهبي)', 'ذهبي القلب', 'رأسي الموت', 'رقيبي الشمس', 'رماد الأخشاب', 'رمادي', - 'رمادي (رمادي HTML/CSS)', 'رمادي (رمادي X11)', 'رمادي الميدان', 'رمادي-أزرق داكن', 'رمادي اردوازي داكن', - 'رمادي دافي', 'رمادي داكن', 'رمادي البوارج', 'رمادي بارد', 'رمادي خافت', 'رمادي رقيبي الشمس', 'رمادي كاديتي', - 'رمادي متوسط داكن', 'رمادي مزرق', 'زبرجدي', 'زرنيخي', 'زعفراني عميق', 'زمردي', 'زمردي مضيء', 'زنجبيلي', - 'زنجفري', 'زهري النحام', 'زهري إزهار الكرز', 'زهري الحافة', 'زهري الحجاب', 'زهري الحلوى السكرية', 'زهري الصين', - 'زهري القرنفل', 'زهري الكرز', 'زهري باربي', 'زهري بيكر-ميلر', 'زهري ساحر', 'زهري ساخن', 'زهري داكن', - 'زهري طفولي', 'زهري عميق', 'زهري فاندانغو', 'زهري فرنسي', 'زهري فوشي', 'زهري قطيفي', 'زهري كارمن', - 'زهري كارمن العميق', 'زهري متألق', 'زهري مرجاني', 'زيتوني أسود', 'ستري أسود الجلد', 'سحلبي داكن', - 'سقفي', 'سقلاتي داكن', 'سلموني داكن', 'سوسني', 'سيان', 'سيان (طباعي)', 'سيان إلكتروني', 'سيان داكن', - 'سيروليان', 'سيروليان داكن', 'سيروليان مضيء', 'شامباني', 'شامباني عميق', 'شوكولاتي (تقليدي)', 'شوكولاتي (وب)', - 'صبغة خشب الزان', 'صبغي النيلة', 'صحراوي', 'صفروي', 'صقيعي سيرولياني', 'صوفي', 'صوفي فرنسي', 'طوبي', - 'طيني نضيج داكن', 'عاجي', 'عاصفي الغبار', 'عصوي الذهب', 'عصوي الذهب الداكن', 'عظمي', 'علكي', 'عليقي بويزن', - 'عليقي داكن', 'عليقي فرنسي', 'عنبري', 'عنبي', 'عنبري (SAE/ECE)', 'عنبي بري', 'غزلي البنات', 'فاصولي أسود', - 'فاندانغوي', 'فانيلي داكن', 'فحمي', 'فقاعي', 'فلدسباري', 'فوشي', 'فوشي (كريولا)', 'فوشي الموضة', 'فوشي عتيق', - 'فوشي عميق', 'فوشي فرنسي', 'فيروزي داكن', 'فيروزي مضيء', 'قرطبي', 'قرفي', 'قرمزي', 'قرمزي الأليزارين', - 'قرمزي إلكتروني', 'قرمزي جامعة ألاباما', 'قرمزي جامعة هارفارد', 'قشدي', 'قشري البيض', 'قطيفي', 'قندسي', - 'قنطريوني', 'قهوي', 'قهوي اللبن', 'قهوي عميق', 'كابري', 'كاديتي', 'كاردينالي', 'كارمن', 'كارمن عميق', - 'كارمن ياباني', 'كبادي', 'كبدي داكن', 'كبدي داكن (الأحصنة)', 'كتاني', 'كستنائي مضيء', 'كرتوزي (تقليدي)', - 'كرتوزي (وب)', 'كرزي', 'كرزي عميق', 'كرزي هوليوود', 'كلاريتي', 'كمبوجي', 'كوبالتي', 'كوزي العسل', 'لاتيهي كوني', - 'لازوردي', 'لازوردي إلكتروني', 'لازوردي ضبابي(ويب)', 'لحائي داكن', 'لهيبي', 'لوزي', 'لوزي مبيض', 'ليلاكي عميق', - 'ليلاكي فرنسي', 'ليلاكي مضيء', 'ليموني عميق', 'ليموني مر', 'ليمي إلكتروني', 'ليمي فرنسي', 'ليمي مر', 'مائي', - 'ماجنتي داكن', 'ماجنتي ساخن', 'ماجنتي عميق', 'مرجاني', 'مرجاني داكن', 'مسحوقي الطفل', 'مشمشي', 'مصفر', 'معدني', - 'موزي مجنون', 'نبيذي فرنسي', 'نحاسي', 'نحاسي (كريولا)', 'نحاسي أصفر', 'نحاسي عتيق', 'نرجسي أسلي', 'نرجسي كاذب', - 'نيلي (وب)', 'نيلي', 'نيلي إلكتروني', 'نيلي ياباني', 'هليوني', 'هليوني رمادي', 'هندبائي', 'هوائي طلق', - 'وردي أمريكي', 'وردي الأسواق', 'وردي الصين', 'وردي بلغاري', 'وردي فرنسي', 'وردي فوشي', 'وردي قرانيا', - 'وردي كلاسيكي', 'وردي مضيء', 'وردي نحاسي', 'ياسميني', 'ياقوتي أزرق', 'ياقوتي عتيق', 'ياقوتي عميق', - 'ياقوتي مغمور', 'يخضور عام', 'يشبي', 'يوسفي داكن', 'يوسفي ذري', 'يوكاليبتوسي', - ]; + /** + * @see https://ar.wikipedia.org/wiki/%D9%82%D8%A7%D8%A6%D9%85%D8%A9_%D8%A7%D9%84%D8%A3%D9%84%D9%88%D8%A7%D9%86_(%D9%85%D8%AA%D8%B6%D8%A7%D9%85%D8%A9) + */ + protected static $allColorNames = [ + 'استقلالي', + 'انصهاري الذهب', + 'أبنوسي', + 'أبيض', + 'أبيض الشبح', + 'أبيض زهوري', + 'أبيض عتيق', + 'أبيض مضاد للإشعاع', + 'أبيض هولندي', + 'أحمر الأبنية', + 'أحمر التفاح المحلى', + 'أحمر التفاح المحلى الداكن', + 'أحمر الفالون', + 'أحمر الفيراري', + 'أحمر إمبراطوري', + 'أحمر إنجليزي', + 'أحمر باستيلي داكن', + 'أحمر توسكاني عميق', + 'أحمر جامعة بوسطن', + 'أحمر حرس السواحل', + 'أحمر داكن', + 'أحمر ديبيان', + 'أحمر صيني', + 'أحمر طوبي', + 'أحمر عقيقي', + 'أحمر كادميومي', + 'أحمر كارمن', + 'أحمر مرجاني', + 'أحمر مطفئة الحريق', + 'أحمر نحاسي', + 'أحمر هندي', + 'أخضر (بانتون)', + 'أخضر (ح ص ز)', + 'أخضر (صباغ)', + 'أخضر (عجلة الألوان) (أخض )', + 'أخضر (كريولا)', + 'أخضر (لون)', + 'أخضر (مونسل)', + 'أخضر (نظام الألوان الطبيعية)', + 'أخضر الصياد', + 'أخضر الغابة (تقليدي)', + 'أخضر الغابة (وب)', + 'أخضر الهند', + 'أخضر أندرويد', + 'أخضر إسلامي', + 'أخضر إلكتروني', + 'أخضر إنجليزي', + 'أخضر باستيلي داكن', + 'أخضر بحري داكن', + 'أخضر برونسويكي', + 'أخضر بنغلاديشي', + 'أخضر تشارلستون', + 'أخضر تفاحي', + 'أخضر تمويهي', + 'أخضر جامعة كاليفورنيا م ت', + 'أزرق جامعة كامبريدج', + 'أخضر جيشي', + 'أخضر دارتموثي', + 'أخضر داكن', + 'أخضر دغلي', + 'أخضر دغلي داكن', + 'أخضر دغلي عميق', + 'أخضر ربيعي داكن', + 'أخضر زيتوني داكن', + 'أخضر سباقي بريطاني', + 'أخضر سرخسي', + 'أخضر طحالبي داكن', + 'أخضر قاروري', + 'أخضر كادميومي', + 'أخضر كاستلتون', + 'أخضر كاريبي', + 'أخضر مزرق', + 'أخضر مضيء', + 'أخضر مكتبي', + 'أخضر هوكر', + 'أرجواني إلكرتوني', + 'أرجواني إمبراطوري', + 'أرجواني باستيلي داكن', + 'أرجواني فوشي', + 'أرجواني قطيفي', + 'أرجواني هان', + 'أزرق', + 'أزرق (ح ص ز)', + 'أزرق (صبغة)', + 'أزرق (كريولا)', + 'أزرق (مونسل)', + 'أزرق (نظام الألوان الطبيعية)', + 'أزرق اردوازي داكن', + 'أزرق البحرية مضيء', + 'أزرق التفوق الجوي', + 'أزرق السماء الإيطالي', + 'أزرق السماء الفرنسي', + 'أزرق العاشقين', + 'أزرق الهونولولو', + 'أزرق أليس', + 'أزرق إلكتروني', + 'أزرق إلكتروني داكن', + 'أزرق إمبراطوري', + 'أزرق إمبراطوري داكن', + 'إزرق إيتون', + 'أزرق باستيلي داكن', + 'أزرق بوندي', + 'أزرق جامعة براندايس', + 'أزرق جامعة ديوك', + 'أزرق جامعة كارولينا', + 'أزرق جامعة كولومبيا', + 'أزرق جوي (القوات الجوية الأمريكية)', + 'أزرق جوي (سلاح الجو الملكي)', + 'أزرق حرس السواحل', + 'أزرق داكن', + 'أزرق رمادي', + 'أزرق سماوي داكن', + 'أزرق سماوي عميق', + 'أزرق سيروليان', + 'أزرق طفولي', + 'أزرق عاصفي', + 'أزرق عيني الطفل', + 'أزرق فرنسا', + 'أزرق فرنسي', + 'أزرق فريق دودجر', + 'أزرق قنطريوني', + 'أزرق كاتالينا', + 'أزرق كاديتي', + 'أزرق كروي', + 'أزرق كلين العالمي', + 'أزرق مسحوقي داكن', + 'أزرق مصري', + 'أزرق هان', + 'أزرق هوائي', + 'أسود', + 'أشقر', + 'أصفر الكناري', + 'أصفر الكوبالت', + 'أصفر أريليد', + 'أصفر إلكتروني', + 'أصفر برونزي', + 'أصفر داكن', + 'أصفر ذهبي', + 'أصفر كادميومي', + 'أصفر متألق', + 'أزرق منتصف الليل الداكن', + 'أصفر الأرض', + 'أصفر مخضر', + 'أصفر موزي', + 'أصفر هندي', + 'أفوكادوي', + 'ألماسي', + 'أمازوني', + 'أومبرياوي محروق', + 'أيلي', + 'إمبراطوري', + 'إيزابيلي', + 'باذنجاني', + 'برتقالي الجزر', + 'برتقالي الجزر العميق', + 'برتقالي داكن', + 'برتقالي عالمي (جسر البوابة الذهبية)', + 'برتقالي عالمي (فضاء جوي)', + 'برتقالي عالمي (هندسة)', + 'برتقالي فريق الجيانتس', + 'برتقالي كادميومي', + 'برتقالي متألق', + 'برتقالي محروق', + 'برتقالي مشاب', + 'برعمي يونيو', + 'برغوثي داكن', + 'برغوثي عميق', + 'برغوثي فرنسي', + 'برقي', + 'برونزي', + 'برونزي عتيق', + 'برونزي منطلق', + 'بندقي الكستناء', + 'بندقي الكستناء الداكن', + 'بندقي الكستناء العميق', + 'بنفسجي إلكتروني', + 'بنفسجي إنجليزي', + 'بنفسجي داكن', + 'بنفسجي صيني', + 'بنفسجي فرنسي', + 'بنفسجي مزرق', + 'بنفسجي ياباني', + 'بني الحمير', + 'بني المتملقين', + 'بني داكن', + 'بني ذهبي', + 'بني كاكاوي', + 'بني (وب)', + 'بني (تقليدي)', + 'بورغندي', + 'بيزنطي', + 'بيزنطي داكن', + 'ترابي', + 'تربي داكن', + 'تربي محروق', + 'تفاحي جراني سميث', + 'تملقي', + 'توردي', + 'جاسبري', + 'جلدي الجاموس', + 'جمشتي', + 'جملي', + 'جوزي الهند', + 'حسائي', + 'حممي داكن', + 'خامي', + 'خبازي عميق', + 'خبازي فرنسي', + 'خرنوبي', + 'خزامي إلكتروني', + 'خزامي إنجليزي', + 'خزامي داكن', + 'خزامي مضيء', + 'خشخاشي ذهبي', + 'خشخاشي منثور', + 'خلدي داكن', + 'خلدي عميق', + 'خوخي عميق', + 'خوخي فرنسي', + 'دودي قياس', + 'دينمي', + 'ذروي', + 'ذهبي (معدني)', + 'ذهبي (وب)(ذهبي)', + 'ذهبي القلب', + 'رأسي الموت', + 'رقيبي الشمس', + 'رماد الأخشاب', + 'رمادي', + 'رمادي (رمادي HTML/CSS)', + 'رمادي (رمادي X11)', + 'رمادي الميدان', + 'رمادي-أزرق داكن', + 'رمادي اردوازي داكن', + 'رمادي دافي', + 'رمادي داكن', + 'رمادي البوارج', + 'رمادي بارد', + 'رمادي خافت', + 'رمادي رقيبي الشمس', + 'رمادي كاديتي', + 'رمادي متوسط داكن', + 'رمادي مزرق', + 'زبرجدي', + 'زرنيخي', + 'زعفراني عميق', + 'زمردي', + 'زمردي مضيء', + 'زنجبيلي', + 'زنجفري', + 'زهري النحام', + 'زهري إزهار الكرز', + 'زهري الحافة', + 'زهري الحجاب', + 'زهري الحلوى السكرية', + 'زهري الصين', + 'زهري القرنفل', + 'زهري الكرز', + 'زهري باربي', + 'زهري بيكر-ميلر', + 'زهري ساحر', + 'زهري ساخن', + 'زهري داكن', + 'زهري طفولي', + 'زهري عميق', + 'زهري فاندانغو', + 'زهري فرنسي', + 'زهري فوشي', + 'زهري قطيفي', + 'زهري كارمن', + 'زهري كارمن العميق', + 'زهري متألق', + 'زهري مرجاني', + 'زيتوني أسود', + 'ستري أسود الجلد', + 'سحلبي داكن', + 'سقفي', + 'سقلاتي داكن', + 'سلموني داكن', + 'سوسني', + 'سيان', + 'سيان (طباعي)', + 'سيان إلكتروني', + 'سيان داكن', + 'سيروليان', + 'سيروليان داكن', + 'سيروليان مضيء', + 'شامباني', + 'شامباني عميق', + 'شوكولاتي (تقليدي)', + 'شوكولاتي (وب)', + 'صبغة خشب الزان', + 'صبغي النيلة', + 'صحراوي', + 'صفروي', + 'صقيعي سيرولياني', + 'صوفي', + 'صوفي فرنسي', + 'طوبي', + 'طيني نضيج داكن', + 'عاجي', + 'عاصفي الغبار', + 'عصوي الذهب', + 'عصوي الذهب الداكن', + 'عظمي', + 'علكي', + 'عليقي بويزن', + 'عليقي داكن', + 'عليقي فرنسي', + 'عنبري', + 'عنبي', + 'عنبري (SAE/ECE)', + 'عنبي بري', + 'غزلي البنات', + 'فاصولي أسود', + 'فاندانغوي', + 'فانيلي داكن', + 'فحمي', + 'فقاعي', + 'فلدسباري', + 'فوشي', + 'فوشي (كريولا)', + 'فوشي الموضة', + 'فوشي عتيق', + 'فوشي عميق', + 'فوشي فرنسي', + 'فيروزي داكن', + 'فيروزي مضيء', + 'قرطبي', + 'قرفي', + 'قرمزي', + 'قرمزي الأليزارين', + 'قرمزي إلكتروني', + 'قرمزي جامعة ألاباما', + 'قرمزي جامعة هارفارد', + 'قشدي', + 'قشري البيض', + 'قطيفي', + 'قندسي', + 'قنطريوني', + 'قهوي', + 'قهوي اللبن', + 'قهوي عميق', + 'كابري', + 'كاديتي', + 'كاردينالي', + 'كارمن', + 'كارمن عميق', + 'كارمن ياباني', + 'كبادي', + 'كبدي داكن', + 'كبدي داكن (الأحصنة)', + 'كتاني', + 'كستنائي مضيء', + 'كرتوزي (تقليدي)', + 'كرتوزي (وب)', + 'كرزي', + 'كرزي عميق', + 'كرزي هوليوود', + 'كلاريتي', + 'كمبوجي', + 'كوبالتي', + 'كوزي العسل', + 'لاتيهي كوني', + 'لازوردي', + 'لازوردي إلكتروني', + 'لازوردي ضبابي(ويب)', + 'لحائي داكن', + 'لهيبي', + 'لوزي', + 'لوزي مبيض', + 'ليلاكي عميق', + 'ليلاكي فرنسي', + 'ليلاكي مضيء', + 'ليموني عميق', + 'ليموني مر', + 'ليمي إلكتروني', + 'ليمي فرنسي', + 'ليمي مر', + 'مائي', + 'ماجنتي داكن', + 'ماجنتي ساخن', + 'ماجنتي عميق', + 'مرجاني', + 'مرجاني داكن', + 'مسحوقي الطفل', + 'مشمشي', + 'مصفر', + 'معدني', + 'موزي مجنون', + 'نبيذي فرنسي', + 'نحاسي', + 'نحاسي (كريولا)', + 'نحاسي أصفر', + 'نحاسي عتيق', + 'نرجسي أسلي', + 'نرجسي كاذب', + 'نيلي (وب)', + 'نيلي', + 'نيلي إلكتروني', + 'نيلي ياباني', + 'هليوني', + 'هليوني رمادي', + 'هندبائي', + 'هوائي طلق', + 'وردي أمريكي', + 'وردي الأسواق', + 'وردي الصين', + 'وردي بلغاري', + 'وردي فرنسي', + 'وردي فوشي', + 'وردي قرانيا', + 'وردي كلاسيكي', + 'وردي مضيء', + 'وردي نحاسي', + 'ياسميني', + 'ياقوتي أزرق', + 'ياقوتي عتيق', + 'ياقوتي عميق', + 'ياقوتي مغمور', + 'يخضور عام', + 'يشبي', + 'يوسفي داكن', + 'يوسفي ذري', + 'يوكاليبتوسي', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Company.php index 1fea61c..2e39198 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Company.php @@ -4,75 +4,80 @@ use Faker\Calculator\Luhn; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - ]; - - protected static $bsWords = [ - [], - ]; - - protected static $catchPhraseWords = [ - ['الخدمات', 'الحلول', 'الانظمة'], - [ - 'الذهبية', 'الذكية', 'المتطورة', 'المتقدمة', 'الدولية', 'المتخصصه', 'السريعة', - 'المثلى', 'الابداعية', 'المتكاملة', 'المتغيرة', 'المثالية', - ], - ]; - - protected static $companyPrefix = ['شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض']; - - protected static $companySuffix = ['وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه']; - - /** - * @example 'مؤسسة' - * - * @return string - */ - public function companyPrefix() - { - return static::randomElement(self::$companyPrefix); - } - - /** - * @example 'الحلول المتقدمة' - */ - public function catchPhrase() - { - $result = []; - - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } - - return implode(' ', $result); - } - - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; - - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } - - return implode(' ', $result); - } - - /** - * example 7001010101 - */ - public static function companyIdNumber() - { - $partialValue = static::numerify(700 . str_repeat('#', 6)); - - return Luhn::generateLuhnNumber($partialValue); - } +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + ]; + + protected static $bsWords = [ + [], + ]; + + protected static $catchPhraseWords = [ + [ 'الخدمات', 'الحلول', 'الانظمة' ], + [ + 'الذهبية', + 'الذكية', + 'المتطورة', + 'المتقدمة', + 'الدولية', + 'المتخصصه', + 'السريعة', + 'المثلى', + 'الابداعية', + 'المتكاملة', + 'المتغيرة', + 'المثالية', + ], + ]; + + protected static $companyPrefix = [ 'شركة', 'مؤسسة', 'مجموعة', 'مكتب', 'أكاديمية', 'معرض' ]; + + protected static $companySuffix = [ 'وأولاده', 'للمساهمة المحدودة', ' ذ.م.م', 'مساهمة عامة', 'وشركائه' ]; + + /** + * @return string + * @example 'مؤسسة' + * + */ + public function companyPrefix() { + return static::randomElement( self::$companyPrefix ); + } + + /** + * @example 'الحلول المتقدمة' + */ + public function catchPhrase() { + $result = []; + + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } + + return implode( ' ', $result ); + } + + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; + + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } + + return implode( ' ', $result ); + } + + /** + * example 7001010101 + */ + public static function companyIdNumber() { + $partialValue = static::numerify( 700 . str_repeat( '#', 6 ) ); + + return Luhn::generateLuhnNumber( $partialValue ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Internet.php index bc573f5..f9f7b0d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Internet.php @@ -2,54 +2,97 @@ namespace Faker\Provider\ar_SA; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', - '{{firstNameAscii}}.{{lastNameAscii}}', - '{{firstNameAscii}}##', - '?{{lastNameAscii}}', - ]; - protected static $safeEmailTld = [ - 'com', 'jo', 'me', 'net', 'org', - ]; - - protected static $tld = [ - 'biz', 'com', 'info', 'sa', 'net', 'org', - ]; - - protected static $lastNameAscii = [ - 'abbad', 'abbadi', 'abbas', 'abulebbeh', 'flefel', 'hadi', 'hamad', 'hasan', 'jabri', 'kanaan', 'karam', 'maanee', 'melhem', 'nimry', 'obaisi', 'qasem', 'qawasmee', 'rabee', 'rashwani', 'shami', 'zaloum', - ]; - protected static $firstNameAscii = [ - 'abd', 'abdullah', 'ahmad', 'akram', 'amr', 'bashar', 'bilal', 'fadi', 'ibrahim', 'khaled', 'layth', 'mohammad', 'mutaz', 'omar', 'osama', 'rami', 'saleem', 'samer', 'sami', 'yazan', - ]; - - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } - - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } - - /** - * @example 'ahmad.abbadi' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); - - return static::bothify($this->generator->parse($format)); - } - - /** - * @example 'wewebit.jo' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; + protected static $safeEmailTld = [ + 'com', + 'jo', + 'me', + 'net', + 'org', + ]; + + protected static $tld = [ + 'biz', + 'com', + 'info', + 'sa', + 'net', + 'org', + ]; + + protected static $lastNameAscii = [ + 'abbad', + 'abbadi', + 'abbas', + 'abulebbeh', + 'flefel', + 'hadi', + 'hamad', + 'hasan', + 'jabri', + 'kanaan', + 'karam', + 'maanee', + 'melhem', + 'nimry', + 'obaisi', + 'qasem', + 'qawasmee', + 'rabee', + 'rashwani', + 'shami', + 'zaloum', + ]; + protected static $firstNameAscii = [ + 'abd', + 'abdullah', + 'ahmad', + 'akram', + 'amr', + 'bashar', + 'bilal', + 'fadi', + 'ibrahim', + 'khaled', + 'layth', + 'mohammad', + 'mutaz', + 'omar', + 'osama', + 'rami', + 'saleem', + 'samer', + 'sami', + 'yazan', + ]; + + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } + + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } + + /** + * @example 'ahmad.abbadi' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); + + return static::bothify( $this->generator->parse( $format ) ); + } + + /** + * @example 'wewebit.jo' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Payment.php index a09a281..93964aa 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\ar_SA; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'SA', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'SA', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Person.php index 91527c3..874a726 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Person.php @@ -4,118 +4,1047 @@ use Faker\Calculator\Luhn; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameMale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameMale = [ - - 'آدم', 'أبراهيم', 'أحمد', 'أدهم', 'أسامة', 'أسعد', 'أشرف', 'أكثم', 'أكرم', 'أمجد', 'أمين', 'أنس', 'أنور', 'أواس', 'أوس', 'أيمن', 'أيهم', 'أيوب', 'إبراهيم', 'إسلام', 'إسماعيل', 'إلياس', 'إياد', 'إيهاب', 'ابان', 'ابراهيم', 'اثير', 'احسان', 'احمد', 'ادريس', 'ادم', 'ادهم', 'اديب', 'اسامة', - 'اسحاق', 'اسحق', 'اسعد', 'اسلام', 'اسماعيل', 'اسيد', 'اشراف', 'اشرف', 'اصلان', 'اكثم', 'اكرم', 'البراء', 'البشر', 'الحارث', 'الحسين', 'الطفيل', 'العزم', 'الليث', 'المثنى', 'المنصور', 'الياس', 'اليمان', 'امجد', 'امير', 'امين', 'أنس', 'انور', 'انيس', 'اوس', 'اوسم', 'اويس', 'اياد', 'اياس', - 'ايسر', 'ايمن', 'ايهم', 'ايوب', 'باسل', 'باسم', 'باهر', 'بدر', 'بدوان', 'براء', 'برهان', 'بسام', 'بشار', 'بشر', 'بشير', 'بكر', 'بلال', 'بليغ', 'بندر', 'بهاء', 'تركي', 'توفيق', 'ثامر', 'جابر', 'جاسر', 'جاسم', 'جبر', 'جبير', 'جراح', 'جريس', 'جعفر', 'جلال', 'جمال', 'جمزه', 'جميل', 'جهاد', - 'جواد', 'حابس', 'حاتم', 'حارث', 'حازم', 'حافظ', 'حاكم', 'حامد', 'حبيب', 'حذيفة', 'حسام', 'حسان', 'حسن', 'حسني', 'حسين', 'حكم', 'حمد', 'حمدالله', 'حمدان', 'حمدي', 'حمزة', 'حمود', 'حميد', 'خالد', 'خضر', 'خلدون', 'خلف', 'خليفة', 'خليل', 'خميس', 'داوود', 'ذياب', 'ذيب', 'رأفت', 'رؤوف', 'رئاد', - 'رائد', 'رائف', 'راجح', 'راجي', 'راشد', 'راضي', 'راغب', 'رافت', 'رافع', 'رافي', 'راكان', 'رامان', 'رامز', 'رامي', 'رامين', 'ربيع', 'رجا', 'رجائي', 'رجب', 'رداد', 'رزق', 'رسلان', 'رشاد', 'رشيد', 'رضا', 'رضوان', 'رعد', 'رغد', 'رغيد', 'ركان', 'رماح', 'رياض', 'ريان', 'زاهر', 'زاهي', 'زايد', - 'زكريا', 'زمام', 'زهير', 'زياد', 'زيد', 'زيدان', 'زيدون', 'زين', 'زين العابدين', 'سائد', 'ساري', 'سالم', 'سامح', 'سامر', 'سامي', 'ساهر', 'سدير', 'سرمد', 'سري', 'سعد', 'سعود', 'سعيد', 'سفيان', 'سكوت', 'سلام', 'سلطان', 'سلمان', 'سليم', 'سليمان', 'سمعان', 'سميح', 'سنان', 'سند', 'سهل', 'سهم', - 'سيف', 'شادي', 'شافع', 'شاكر', 'شامل', 'شاهر', 'شرحبيل', 'شريف', 'شهاب', 'شهم', 'شوان', 'صادق', 'صافي', 'صالح', 'صخر', 'صدام', 'صفاء', 'صفوان', 'صقر', 'صلاح', 'صلاح الدين', 'صهيب', 'ضرار', 'ضرغام', 'ضياء', 'ضياء الدين', 'طارق', 'طالب', 'طاهر', 'طلال', 'طه', 'عادل', 'عاصم', 'عاطف', - 'عامر', 'عايد', 'عبادة', 'عباس', 'عبد الباري', 'عبد الحافظ', 'عبد الحكيم', 'عبد الحليم', 'عبد الحميد', 'عبد الحي', 'عبد الرحمان', 'عبد الرحمن', 'عبد الرحيم', 'عبد الرزاق', 'عبد السلام', 'عبد السميع', 'عبد العزيز', 'عبد العفو', 'عبد الغني', 'عبد الفتاح', 'عبد القادر', 'عبد الكريم', - 'عبد اللطيف', 'عبد الله', 'عبد المجيد', 'عبد المولى', 'عبد الناصر', 'عبد الهادي', 'عبد ربه', 'عبداالله', 'عبدالاله', 'عبدالباسط', 'عبدالجليل', 'عبدالجواد', 'عبدالحليم', 'عبدالحميد', 'عبدالرؤوف', 'عبدالرحمن', 'عبدالرحيم', 'عبدالرزاق', 'عبدالسلام', 'عبدالعزيز', 'عبدالفتاح', 'عبدالقادر', - 'عبدالكريم', 'عبداللطيف', 'عبدالله', 'عبدالمجيد', 'عبدالمطلب', 'عبدالمعطي', 'عبدالمهيمن', 'عبدالناصر', 'عبدالهادي', 'عبدالوهاب', 'عبيدالله', 'عبيدة', 'عتيبه', 'عثمان', 'عدب', 'عدلي', 'عدنان', 'عدوان', 'عدي', 'عرار', 'عرمان', 'عروة', 'عريق', 'عرين', 'عز الدين', 'عزالدين', 'عزام', 'عزت', - 'عزمي', 'عزيز', 'عصام', 'عقل', 'علاء', 'علي', 'عليان', 'عماد', 'عمار', 'عمر', 'عمران', 'عمرو', 'عملا', 'عميد', 'عناد', 'عنان', 'عواد', 'عودة', 'عوده', 'عوض', 'عوف', 'عون', 'عوني', 'عيد', 'عيدالله', 'عيسى', 'غازي', 'غالب', 'غانم', 'غدير', 'غسان', 'غيث', 'فؤاد', 'فائق', 'فاخر', 'فادي', - 'فارس', 'فاروق', 'فاضل', 'فايز', 'فتحي', 'فجر', 'فراس', 'فرح', 'فريد', 'فلاح', 'فهد', 'فهمي', 'فواز', 'فوزي', 'فيصل', 'قارس', 'قاسم', 'قبلان', 'قتاده', 'قتيبة', 'قصي', 'قيس', 'كاظم', 'كامل', 'كايد', 'كرم', 'كريم', 'كفاح', 'كمال', 'كنان', 'لؤي', 'لبيب', 'لطف', 'لطفي', 'ليث', 'مأمون', 'مؤثر', - 'مؤمن', 'مؤنس', 'مؤيد', 'ماجد', 'مازن', 'مالك', 'مامون', 'ماهر', 'مبارك', 'مثنى', 'مجاهد', 'مجد', 'مجدي', 'محسن', 'محمد ', 'محمود', 'محي', 'مختار', 'مخلص', 'مدحت', 'مدين', 'مراد', 'مرشد', 'مرهف', 'مروان', 'مسعد', 'مسعود', 'مسلم', 'مشاري', 'مشعل', 'مشهور', 'مصباح', 'مصطفى', 'مصطفي', 'مصعب', - 'مضر', 'مطيع', 'مظفر', 'مظهر', 'معاذ', 'معاوية', 'معتز', 'معتصم', 'معمر', 'معن', 'معين', 'مفدي', 'مفلح', 'مقداد', 'ملهم', 'ممدوح', 'مناف', 'منتصر', 'منح', 'منذر', 'منصف', 'منصور', 'منير', 'مهاب', 'مهدي', 'مهران', 'مهند', 'موسى', 'موفق', 'نائل', 'ناجي', 'نادر', 'ناصر', 'ناهض', 'نايف', - 'نبراس', 'نبيل', 'نجيب', 'نديم', 'نزار', 'نزال', 'نزيه', 'نسيم', 'نشات', 'نصار', 'نصر', 'نصري', 'نصوح', 'نضال', 'نظام', 'نعمان', 'نعمة', 'نعيم', 'نقولا', 'نمر', 'نهاد', 'نهار', 'نواف', 'نورس', 'نوفان', 'هادي', 'هارون', 'هاشم', 'هانى', 'هاني', 'هذال', 'هشام', 'هلال', 'همام', 'هيثم', 'وائل', - 'واثق', 'واصف', 'وجدي', 'وجيه', 'وحيد', 'وديع', 'ورد', 'وسام', 'وسن', 'وسيم', 'وصفي', 'وضاح', 'وعد', 'وفاء', 'وليد', 'وهيب', 'ياسر', 'ياسين', 'يامن', 'يحيى', 'يزن', 'يزيد', 'يسار', 'يشار', 'يعرب', 'يعقوب', 'يمان', 'ينال', 'يوسف', 'يونس', - ]; - - /** - * @see http://muslim-names.us/ - */ - protected static $firstNameFemale = [ - 'آثار', 'آلاء', 'آناء', 'آية', 'أبرار', 'أحلام', 'أروى', 'أريج', 'أسماء', 'أسيل', 'أصاله', 'أفنان', 'ألاء', 'أماني', 'أمل', 'أميرة', 'أنسام', 'أنوار', 'إباء', 'إخلاص', 'إسراء', 'إسلام', 'إكرام', 'إنعام', 'إيمان', 'إيناس', 'ابتهاج', 'ابتهال', 'أبرار', 'إخلاص', 'ارجوان', 'أروى', 'أريج', - 'أزهار', 'أسحار', 'اسراء', 'اسرار', 'اسيل', 'اشراق', 'أصالة', 'اعتدال', 'أفراح', 'أفنان', 'إكرام', 'آلاء', 'العنود', 'إلهام', 'آمال', 'أمنة', 'أميرة', 'أمينة', 'أناهيد', 'انتظار', 'أنعام', 'أنوار', 'آيات', 'إيمان', 'إيناس', 'آية', 'باسمة', 'بتول', 'بثينة', 'بدور', 'براء', 'براءة', 'بسمة', - 'بشائر', 'بشرى', 'بلسم', 'بنان', 'بهجة', 'بيان', 'بيداء', 'بيسان', 'تالا', 'تالة', 'تالين', 'تحرير', 'تسنيم', 'تغريد', 'تقوى', 'تقى', 'تمارا', 'تماضر', 'تمام', 'تهاني', 'تولين', 'ثريا', 'جمانة', 'جميلة', 'جنى', 'جهاد', 'جود', 'حبيبة', 'حسناء', 'حصة', 'حلا', 'حليمة', 'حنان', 'حنين', 'حياة', - 'ختام', 'خديجة', 'خلود', 'خولة', 'دارين', 'داليا', 'دالية', 'دانا', 'دانة', 'دانية', 'دعاء', 'دلال', 'دنى', 'دنيا', 'ديانا', 'ديما', 'دينا', 'رؤى', 'رؤيه', 'رابعة', 'راغدة', 'راما', 'رانا', 'رانيا', 'راوية', 'راية', 'ربا', 'رباب', 'ربى', 'رجاء', 'رحمة', 'رحمه', 'ردينة', 'رزان', - 'رشا', 'رغد', 'رغدة', 'رفاه', 'رقية', 'رمال', 'رنا', 'رناد', 'رند', 'رنده', 'رنيم', 'رنين', 'رهام', 'رهف', 'رواء', 'روان', 'روزان', 'روزانا', 'روزين', 'رولى', 'روند', 'رويدة', 'ريان', 'ريتا', 'ريم', 'ريما', 'ريمان', 'ريناتا', 'ريناد', 'ريهام', 'زكية', 'زمان', 'زها', 'زهرة', 'زين', 'زينا', - 'زينات', 'زينب', 'زينة', 'ساجدة', 'سارة', 'سجى', 'سحر', 'سدين', 'سرى', 'سرين', 'سعاد', 'سكينة', 'سلام', 'سلسبيل', 'سلمى', 'سلوى', 'سما', 'سماح', 'سماره', 'سمر', 'سمية', 'سميرة', 'سناء', 'سنابل', 'سندس', 'سنريت', 'سنن', 'سهاد', 'سهام', 'سهر', 'سهى', 'سهير', 'سهيله', 'سوار', 'سوزان', 'سوسن', - 'سيرين', 'سيرينا', 'سيلفا', 'سيلين', 'سيما', 'شذى', 'شروق', 'شريفة', 'شرين', 'شريهان', 'شفاء', 'شهد', 'شيرين', 'شيماء', 'صابرين', 'صبا', 'صباح', 'صبرين', 'صفا', 'صفاء', 'صفية', 'صمود', 'ضحى', 'ضياء', 'عائشة', 'عاليا', 'عالية', 'عبلة', 'عبير', 'عزة', 'عزيزة', 'عفاف', 'علا', 'علياء', - 'عنود', 'عهد', 'غادة', 'غدير', 'غرام', 'غزل', 'غصون', 'غفران', 'غنى', 'غيد', 'غيداء', 'غيده', 'فاتن', 'فادية', 'فاديه', 'فاطمة', 'فايزة', 'فتحية', 'فداء', 'فدوى', 'فدى', 'فرح', 'فريال', 'فريدة', 'فوزية', 'فيروز', 'فيفيان', 'قمر', 'كيان', 'لارا', 'لانا', 'لبنا', 'لجين', 'لطيفة', 'لمى', - 'لميس', 'لنا', 'لورا', 'لورينا', 'لونا', 'ليان', 'ليدا', 'ليلى', 'ليليان', 'لين', 'لينا', 'لينة', 'ليندا', 'لينه', 'مايا', 'مجد', 'مجدولين', 'محبوبة', 'مديحة', 'مرام', 'مرح', 'مروة', 'مريام', 'مريم', 'مسعدة', 'مشيرة', 'معالي', 'ملاك', 'ملك', 'منار', 'منال', 'منى', 'مها', 'مي', - 'ميادة', 'مياده', 'ميار', 'ميان', 'ميرا', 'ميرال', 'ميران', 'ميرفت', 'ميس', 'ميسا', 'ميساء', 'ميسر', 'ميسره', 'ميسم', 'ميسون', 'ميلاء', 'ميناس', 'نائله', 'ناديا', 'نادية', 'نادين', 'ناديه', 'نانسي', 'نبال', 'نبراس', 'نبيله', 'نجاة', 'نجاح', 'نجلاء', 'نجود', 'نجوى', 'نداء', 'ندى', - 'ندين', 'نرمين', 'نسرين', 'نسيمة', 'نعمت', 'نعمه', 'نهاد', 'نهى', 'نهيدة', 'نوال', 'نور', 'نور الهدى', 'نورا', 'نوران', 'نيروز', 'نيفين', 'هادلين', 'هازار', 'هالة', 'هانيا', 'هايدي', 'هبة', 'هدايه', 'هدى', 'هديل', 'هزار', 'هلا', 'هنا', 'هناء', 'هنادي', 'هند', 'هيا', 'هيفا', - 'هيفاء', 'هيلين', 'وئام', 'وجدان', 'وداد', 'ورود', 'وسام', 'وسن', 'وسيم', 'وعد', 'وفاء', 'ولاء', 'ىمنة', 'يارا', 'ياسمين', 'يسرى', - ]; - - protected static $lastName = [ - 'العتيبي', 'الشهري', 'العنزي', 'الخضيري', 'الحسين', 'العسكر', 'باشا', 'مدني', 'العرفج', - 'القحطاني', 'الفدا', 'المشيقح', 'العمرو', 'السالم', 'الشيباني', 'السهلي', 'المطرفي', - 'الأحمري', 'الفيفي', 'العقل', 'الفرحان', 'الحصين', 'الأسمري', 'الماجد', 'الخالدي', 'السيف', - 'الحنتوشي', 'الشهيل', 'الزامل', 'الصامل', 'السماعيل', 'الجريد', 'الحميد', 'المقبل', - 'الراجحي', 'المنيف', 'السويلم', 'السمير', 'الصقير', 'الصقيه', 'سقا', 'مكي', 'جواهرجي', - 'الجهني', 'الفريدي', 'برماوي', 'هوساوي', 'السعيد', 'الداوود', 'السليم', 'السماري', - ]; - - protected static $titleMale = ['السيد', 'الأستاذ', 'الدكتور', 'المهندس']; - protected static $titleFemale = ['السيدة', 'الآنسة', 'الدكتورة', 'المهندسة']; - private static $prefix = ['أ.', 'د.', 'أ.د', 'م.']; - - /** - * @example 'أ.' - */ - public static function prefix() - { - return static::randomElement(static::$prefix); - } - - /** - * @example 1010101010 - */ - public static function idNumber() - { - $partialValue = static::numerify( - static::randomElement([1, 2]) . str_repeat('#', 8), - ); - - return Luhn::generateLuhnNumber($partialValue); - } - - /** - * @example 1010101010 - */ - public static function nationalIdNumber() - { - $partialValue = static::numerify(1 . str_repeat('#', 8)); - - return Luhn::generateLuhnNumber($partialValue); - } - - /** - * @example 2010101010 - */ - public static function foreignerIdNumber() - { - $partialValue = static::numerify(2 . str_repeat('#', 8)); - - return Luhn::generateLuhnNumber($partialValue); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameMale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameMale = [ + + 'آدم', + 'أبراهيم', + 'أحمد', + 'أدهم', + 'أسامة', + 'أسعد', + 'أشرف', + 'أكثم', + 'أكرم', + 'أمجد', + 'أمين', + 'أنس', + 'أنور', + 'أواس', + 'أوس', + 'أيمن', + 'أيهم', + 'أيوب', + 'إبراهيم', + 'إسلام', + 'إسماعيل', + 'إلياس', + 'إياد', + 'إيهاب', + 'ابان', + 'ابراهيم', + 'اثير', + 'احسان', + 'احمد', + 'ادريس', + 'ادم', + 'ادهم', + 'اديب', + 'اسامة', + 'اسحاق', + 'اسحق', + 'اسعد', + 'اسلام', + 'اسماعيل', + 'اسيد', + 'اشراف', + 'اشرف', + 'اصلان', + 'اكثم', + 'اكرم', + 'البراء', + 'البشر', + 'الحارث', + 'الحسين', + 'الطفيل', + 'العزم', + 'الليث', + 'المثنى', + 'المنصور', + 'الياس', + 'اليمان', + 'امجد', + 'امير', + 'امين', + 'أنس', + 'انور', + 'انيس', + 'اوس', + 'اوسم', + 'اويس', + 'اياد', + 'اياس', + 'ايسر', + 'ايمن', + 'ايهم', + 'ايوب', + 'باسل', + 'باسم', + 'باهر', + 'بدر', + 'بدوان', + 'براء', + 'برهان', + 'بسام', + 'بشار', + 'بشر', + 'بشير', + 'بكر', + 'بلال', + 'بليغ', + 'بندر', + 'بهاء', + 'تركي', + 'توفيق', + 'ثامر', + 'جابر', + 'جاسر', + 'جاسم', + 'جبر', + 'جبير', + 'جراح', + 'جريس', + 'جعفر', + 'جلال', + 'جمال', + 'جمزه', + 'جميل', + 'جهاد', + 'جواد', + 'حابس', + 'حاتم', + 'حارث', + 'حازم', + 'حافظ', + 'حاكم', + 'حامد', + 'حبيب', + 'حذيفة', + 'حسام', + 'حسان', + 'حسن', + 'حسني', + 'حسين', + 'حكم', + 'حمد', + 'حمدالله', + 'حمدان', + 'حمدي', + 'حمزة', + 'حمود', + 'حميد', + 'خالد', + 'خضر', + 'خلدون', + 'خلف', + 'خليفة', + 'خليل', + 'خميس', + 'داوود', + 'ذياب', + 'ذيب', + 'رأفت', + 'رؤوف', + 'رئاد', + 'رائد', + 'رائف', + 'راجح', + 'راجي', + 'راشد', + 'راضي', + 'راغب', + 'رافت', + 'رافع', + 'رافي', + 'راكان', + 'رامان', + 'رامز', + 'رامي', + 'رامين', + 'ربيع', + 'رجا', + 'رجائي', + 'رجب', + 'رداد', + 'رزق', + 'رسلان', + 'رشاد', + 'رشيد', + 'رضا', + 'رضوان', + 'رعد', + 'رغد', + 'رغيد', + 'ركان', + 'رماح', + 'رياض', + 'ريان', + 'زاهر', + 'زاهي', + 'زايد', + 'زكريا', + 'زمام', + 'زهير', + 'زياد', + 'زيد', + 'زيدان', + 'زيدون', + 'زين', + 'زين العابدين', + 'سائد', + 'ساري', + 'سالم', + 'سامح', + 'سامر', + 'سامي', + 'ساهر', + 'سدير', + 'سرمد', + 'سري', + 'سعد', + 'سعود', + 'سعيد', + 'سفيان', + 'سكوت', + 'سلام', + 'سلطان', + 'سلمان', + 'سليم', + 'سليمان', + 'سمعان', + 'سميح', + 'سنان', + 'سند', + 'سهل', + 'سهم', + 'سيف', + 'شادي', + 'شافع', + 'شاكر', + 'شامل', + 'شاهر', + 'شرحبيل', + 'شريف', + 'شهاب', + 'شهم', + 'شوان', + 'صادق', + 'صافي', + 'صالح', + 'صخر', + 'صدام', + 'صفاء', + 'صفوان', + 'صقر', + 'صلاح', + 'صلاح الدين', + 'صهيب', + 'ضرار', + 'ضرغام', + 'ضياء', + 'ضياء الدين', + 'طارق', + 'طالب', + 'طاهر', + 'طلال', + 'طه', + 'عادل', + 'عاصم', + 'عاطف', + 'عامر', + 'عايد', + 'عبادة', + 'عباس', + 'عبد الباري', + 'عبد الحافظ', + 'عبد الحكيم', + 'عبد الحليم', + 'عبد الحميد', + 'عبد الحي', + 'عبد الرحمان', + 'عبد الرحمن', + 'عبد الرحيم', + 'عبد الرزاق', + 'عبد السلام', + 'عبد السميع', + 'عبد العزيز', + 'عبد العفو', + 'عبد الغني', + 'عبد الفتاح', + 'عبد القادر', + 'عبد الكريم', + 'عبد اللطيف', + 'عبد الله', + 'عبد المجيد', + 'عبد المولى', + 'عبد الناصر', + 'عبد الهادي', + 'عبد ربه', + 'عبداالله', + 'عبدالاله', + 'عبدالباسط', + 'عبدالجليل', + 'عبدالجواد', + 'عبدالحليم', + 'عبدالحميد', + 'عبدالرؤوف', + 'عبدالرحمن', + 'عبدالرحيم', + 'عبدالرزاق', + 'عبدالسلام', + 'عبدالعزيز', + 'عبدالفتاح', + 'عبدالقادر', + 'عبدالكريم', + 'عبداللطيف', + 'عبدالله', + 'عبدالمجيد', + 'عبدالمطلب', + 'عبدالمعطي', + 'عبدالمهيمن', + 'عبدالناصر', + 'عبدالهادي', + 'عبدالوهاب', + 'عبيدالله', + 'عبيدة', + 'عتيبه', + 'عثمان', + 'عدب', + 'عدلي', + 'عدنان', + 'عدوان', + 'عدي', + 'عرار', + 'عرمان', + 'عروة', + 'عريق', + 'عرين', + 'عز الدين', + 'عزالدين', + 'عزام', + 'عزت', + 'عزمي', + 'عزيز', + 'عصام', + 'عقل', + 'علاء', + 'علي', + 'عليان', + 'عماد', + 'عمار', + 'عمر', + 'عمران', + 'عمرو', + 'عملا', + 'عميد', + 'عناد', + 'عنان', + 'عواد', + 'عودة', + 'عوده', + 'عوض', + 'عوف', + 'عون', + 'عوني', + 'عيد', + 'عيدالله', + 'عيسى', + 'غازي', + 'غالب', + 'غانم', + 'غدير', + 'غسان', + 'غيث', + 'فؤاد', + 'فائق', + 'فاخر', + 'فادي', + 'فارس', + 'فاروق', + 'فاضل', + 'فايز', + 'فتحي', + 'فجر', + 'فراس', + 'فرح', + 'فريد', + 'فلاح', + 'فهد', + 'فهمي', + 'فواز', + 'فوزي', + 'فيصل', + 'قارس', + 'قاسم', + 'قبلان', + 'قتاده', + 'قتيبة', + 'قصي', + 'قيس', + 'كاظم', + 'كامل', + 'كايد', + 'كرم', + 'كريم', + 'كفاح', + 'كمال', + 'كنان', + 'لؤي', + 'لبيب', + 'لطف', + 'لطفي', + 'ليث', + 'مأمون', + 'مؤثر', + 'مؤمن', + 'مؤنس', + 'مؤيد', + 'ماجد', + 'مازن', + 'مالك', + 'مامون', + 'ماهر', + 'مبارك', + 'مثنى', + 'مجاهد', + 'مجد', + 'مجدي', + 'محسن', + 'محمد ', + 'محمود', + 'محي', + 'مختار', + 'مخلص', + 'مدحت', + 'مدين', + 'مراد', + 'مرشد', + 'مرهف', + 'مروان', + 'مسعد', + 'مسعود', + 'مسلم', + 'مشاري', + 'مشعل', + 'مشهور', + 'مصباح', + 'مصطفى', + 'مصطفي', + 'مصعب', + 'مضر', + 'مطيع', + 'مظفر', + 'مظهر', + 'معاذ', + 'معاوية', + 'معتز', + 'معتصم', + 'معمر', + 'معن', + 'معين', + 'مفدي', + 'مفلح', + 'مقداد', + 'ملهم', + 'ممدوح', + 'مناف', + 'منتصر', + 'منح', + 'منذر', + 'منصف', + 'منصور', + 'منير', + 'مهاب', + 'مهدي', + 'مهران', + 'مهند', + 'موسى', + 'موفق', + 'نائل', + 'ناجي', + 'نادر', + 'ناصر', + 'ناهض', + 'نايف', + 'نبراس', + 'نبيل', + 'نجيب', + 'نديم', + 'نزار', + 'نزال', + 'نزيه', + 'نسيم', + 'نشات', + 'نصار', + 'نصر', + 'نصري', + 'نصوح', + 'نضال', + 'نظام', + 'نعمان', + 'نعمة', + 'نعيم', + 'نقولا', + 'نمر', + 'نهاد', + 'نهار', + 'نواف', + 'نورس', + 'نوفان', + 'هادي', + 'هارون', + 'هاشم', + 'هانى', + 'هاني', + 'هذال', + 'هشام', + 'هلال', + 'همام', + 'هيثم', + 'وائل', + 'واثق', + 'واصف', + 'وجدي', + 'وجيه', + 'وحيد', + 'وديع', + 'ورد', + 'وسام', + 'وسن', + 'وسيم', + 'وصفي', + 'وضاح', + 'وعد', + 'وفاء', + 'وليد', + 'وهيب', + 'ياسر', + 'ياسين', + 'يامن', + 'يحيى', + 'يزن', + 'يزيد', + 'يسار', + 'يشار', + 'يعرب', + 'يعقوب', + 'يمان', + 'ينال', + 'يوسف', + 'يونس', + ]; + + /** + * @see http://muslim-names.us/ + */ + protected static $firstNameFemale = [ + 'آثار', + 'آلاء', + 'آناء', + 'آية', + 'أبرار', + 'أحلام', + 'أروى', + 'أريج', + 'أسماء', + 'أسيل', + 'أصاله', + 'أفنان', + 'ألاء', + 'أماني', + 'أمل', + 'أميرة', + 'أنسام', + 'أنوار', + 'إباء', + 'إخلاص', + 'إسراء', + 'إسلام', + 'إكرام', + 'إنعام', + 'إيمان', + 'إيناس', + 'ابتهاج', + 'ابتهال', + 'أبرار', + 'إخلاص', + 'ارجوان', + 'أروى', + 'أريج', + 'أزهار', + 'أسحار', + 'اسراء', + 'اسرار', + 'اسيل', + 'اشراق', + 'أصالة', + 'اعتدال', + 'أفراح', + 'أفنان', + 'إكرام', + 'آلاء', + 'العنود', + 'إلهام', + 'آمال', + 'أمنة', + 'أميرة', + 'أمينة', + 'أناهيد', + 'انتظار', + 'أنعام', + 'أنوار', + 'آيات', + 'إيمان', + 'إيناس', + 'آية', + 'باسمة', + 'بتول', + 'بثينة', + 'بدور', + 'براء', + 'براءة', + 'بسمة', + 'بشائر', + 'بشرى', + 'بلسم', + 'بنان', + 'بهجة', + 'بيان', + 'بيداء', + 'بيسان', + 'تالا', + 'تالة', + 'تالين', + 'تحرير', + 'تسنيم', + 'تغريد', + 'تقوى', + 'تقى', + 'تمارا', + 'تماضر', + 'تمام', + 'تهاني', + 'تولين', + 'ثريا', + 'جمانة', + 'جميلة', + 'جنى', + 'جهاد', + 'جود', + 'حبيبة', + 'حسناء', + 'حصة', + 'حلا', + 'حليمة', + 'حنان', + 'حنين', + 'حياة', + 'ختام', + 'خديجة', + 'خلود', + 'خولة', + 'دارين', + 'داليا', + 'دالية', + 'دانا', + 'دانة', + 'دانية', + 'دعاء', + 'دلال', + 'دنى', + 'دنيا', + 'ديانا', + 'ديما', + 'دينا', + 'رؤى', + 'رؤيه', + 'رابعة', + 'راغدة', + 'راما', + 'رانا', + 'رانيا', + 'راوية', + 'راية', + 'ربا', + 'رباب', + 'ربى', + 'رجاء', + 'رحمة', + 'رحمه', + 'ردينة', + 'رزان', + 'رشا', + 'رغد', + 'رغدة', + 'رفاه', + 'رقية', + 'رمال', + 'رنا', + 'رناد', + 'رند', + 'رنده', + 'رنيم', + 'رنين', + 'رهام', + 'رهف', + 'رواء', + 'روان', + 'روزان', + 'روزانا', + 'روزين', + 'رولى', + 'روند', + 'رويدة', + 'ريان', + 'ريتا', + 'ريم', + 'ريما', + 'ريمان', + 'ريناتا', + 'ريناد', + 'ريهام', + 'زكية', + 'زمان', + 'زها', + 'زهرة', + 'زين', + 'زينا', + 'زينات', + 'زينب', + 'زينة', + 'ساجدة', + 'سارة', + 'سجى', + 'سحر', + 'سدين', + 'سرى', + 'سرين', + 'سعاد', + 'سكينة', + 'سلام', + 'سلسبيل', + 'سلمى', + 'سلوى', + 'سما', + 'سماح', + 'سماره', + 'سمر', + 'سمية', + 'سميرة', + 'سناء', + 'سنابل', + 'سندس', + 'سنريت', + 'سنن', + 'سهاد', + 'سهام', + 'سهر', + 'سهى', + 'سهير', + 'سهيله', + 'سوار', + 'سوزان', + 'سوسن', + 'سيرين', + 'سيرينا', + 'سيلفا', + 'سيلين', + 'سيما', + 'شذى', + 'شروق', + 'شريفة', + 'شرين', + 'شريهان', + 'شفاء', + 'شهد', + 'شيرين', + 'شيماء', + 'صابرين', + 'صبا', + 'صباح', + 'صبرين', + 'صفا', + 'صفاء', + 'صفية', + 'صمود', + 'ضحى', + 'ضياء', + 'عائشة', + 'عاليا', + 'عالية', + 'عبلة', + 'عبير', + 'عزة', + 'عزيزة', + 'عفاف', + 'علا', + 'علياء', + 'عنود', + 'عهد', + 'غادة', + 'غدير', + 'غرام', + 'غزل', + 'غصون', + 'غفران', + 'غنى', + 'غيد', + 'غيداء', + 'غيده', + 'فاتن', + 'فادية', + 'فاديه', + 'فاطمة', + 'فايزة', + 'فتحية', + 'فداء', + 'فدوى', + 'فدى', + 'فرح', + 'فريال', + 'فريدة', + 'فوزية', + 'فيروز', + 'فيفيان', + 'قمر', + 'كيان', + 'لارا', + 'لانا', + 'لبنا', + 'لجين', + 'لطيفة', + 'لمى', + 'لميس', + 'لنا', + 'لورا', + 'لورينا', + 'لونا', + 'ليان', + 'ليدا', + 'ليلى', + 'ليليان', + 'لين', + 'لينا', + 'لينة', + 'ليندا', + 'لينه', + 'مايا', + 'مجد', + 'مجدولين', + 'محبوبة', + 'مديحة', + 'مرام', + 'مرح', + 'مروة', + 'مريام', + 'مريم', + 'مسعدة', + 'مشيرة', + 'معالي', + 'ملاك', + 'ملك', + 'منار', + 'منال', + 'منى', + 'مها', + 'مي', + 'ميادة', + 'مياده', + 'ميار', + 'ميان', + 'ميرا', + 'ميرال', + 'ميران', + 'ميرفت', + 'ميس', + 'ميسا', + 'ميساء', + 'ميسر', + 'ميسره', + 'ميسم', + 'ميسون', + 'ميلاء', + 'ميناس', + 'نائله', + 'ناديا', + 'نادية', + 'نادين', + 'ناديه', + 'نانسي', + 'نبال', + 'نبراس', + 'نبيله', + 'نجاة', + 'نجاح', + 'نجلاء', + 'نجود', + 'نجوى', + 'نداء', + 'ندى', + 'ندين', + 'نرمين', + 'نسرين', + 'نسيمة', + 'نعمت', + 'نعمه', + 'نهاد', + 'نهى', + 'نهيدة', + 'نوال', + 'نور', + 'نور الهدى', + 'نورا', + 'نوران', + 'نيروز', + 'نيفين', + 'هادلين', + 'هازار', + 'هالة', + 'هانيا', + 'هايدي', + 'هبة', + 'هدايه', + 'هدى', + 'هديل', + 'هزار', + 'هلا', + 'هنا', + 'هناء', + 'هنادي', + 'هند', + 'هيا', + 'هيفا', + 'هيفاء', + 'هيلين', + 'وئام', + 'وجدان', + 'وداد', + 'ورود', + 'وسام', + 'وسن', + 'وسيم', + 'وعد', + 'وفاء', + 'ولاء', + 'ىمنة', + 'يارا', + 'ياسمين', + 'يسرى', + ]; + + protected static $lastName = [ + 'العتيبي', + 'الشهري', + 'العنزي', + 'الخضيري', + 'الحسين', + 'العسكر', + 'باشا', + 'مدني', + 'العرفج', + 'القحطاني', + 'الفدا', + 'المشيقح', + 'العمرو', + 'السالم', + 'الشيباني', + 'السهلي', + 'المطرفي', + 'الأحمري', + 'الفيفي', + 'العقل', + 'الفرحان', + 'الحصين', + 'الأسمري', + 'الماجد', + 'الخالدي', + 'السيف', + 'الحنتوشي', + 'الشهيل', + 'الزامل', + 'الصامل', + 'السماعيل', + 'الجريد', + 'الحميد', + 'المقبل', + 'الراجحي', + 'المنيف', + 'السويلم', + 'السمير', + 'الصقير', + 'الصقيه', + 'سقا', + 'مكي', + 'جواهرجي', + 'الجهني', + 'الفريدي', + 'برماوي', + 'هوساوي', + 'السعيد', + 'الداوود', + 'السليم', + 'السماري', + ]; + + protected static $titleMale = [ 'السيد', 'الأستاذ', 'الدكتور', 'المهندس' ]; + protected static $titleFemale = [ 'السيدة', 'الآنسة', 'الدكتورة', 'المهندسة' ]; + private static $prefix = [ 'أ.', 'د.', 'أ.د', 'م.' ]; + + /** + * @example 'أ.' + */ + public static function prefix() { + return static::randomElement( static::$prefix ); + } + + /** + * @example 1010101010 + */ + public static function idNumber() { + $partialValue = static::numerify( + static::randomElement( [ 1, 2 ] ) . str_repeat( '#', 8 ), + ); + + return Luhn::generateLuhnNumber( $partialValue ); + } + + /** + * @example 1010101010 + */ + public static function nationalIdNumber() { + $partialValue = static::numerify( 1 . str_repeat( '#', 8 ) ); + + return Luhn::generateLuhnNumber( $partialValue ); + } + + /** + * @example 2010101010 + */ + public static function foreignerIdNumber() { + $partialValue = static::numerify( 2 . str_repeat( '#', 8 ) ); + + return Luhn::generateLuhnNumber( $partialValue ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Text.php index a3215c7..dec9048 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ar_SA/Text.php @@ -2,25 +2,23 @@ namespace Faker\Provider\ar_SA; -class Text extends \Faker\Provider\Text -{ - protected static function validStart($word) - { - return preg_match('/^\p{Arabic}/u', $word); - } - - /** - * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - * - * Title: حي بن يقظان - * Author: ابن الطفيل - * Language: Arabic - * - * @see https://ar.wikisource.org/wiki/%D8%A7%D8%A8%D9%86_%D8%A7%D9%84%D8%B7%D9%81%D9%8A%D9%84_-_%D8%AD%D9%8A_%D8%A8%D9%86_%D9%8A%D9%82%D8%B8%D8%A7%D9%86 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + protected static function validStart( $word ) { + return preg_match( '/^\p{Arabic}/u', $word ); + } + + /** + * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) + * + * Title: حي بن يقظان + * Author: ابن الطفيل + * Language: Arabic + * + * @see https://ar.wikisource.org/wiki/%D8%A7%D8%A8%D9%86_%D8%A7%D9%84%D8%B7%D9%81%D9%8A%D9%84_-_%D8%AD%D9%8A_%D8%A8%D9%86_%D9%8A%D9%82%D8%B8%D8%A7%D9%86 + * + * @var string + */ + protected static $baseText = <<<'EOT' ذكر سلفنا الصالح - رضي الله عنهم - أن جزيرة من جزائر الهند التي تحت خط الاستواء، وهي الجزيرة التي يتولد بها الإنسان من غير أم ولا أب، وبها شجر يثمر نساء، وهي التي ذكر المسعودي أنها جزيرة الوقواق لان تلك الجزيرة اعدل بقاع الأرض هواء؛ أتممها لشروق النور الأعلى عليها استعدادً، وان كان ذلك خلاف ما يراه جمهور الفلاسفة وكبار الأطباء، فانهم يرون إن اعدل ما في المعمورة الإقليم الرابع، فان كانوا قالوا ذلك لأنه صح عندهم انه ليس على خط الاستواء عمارة لمانع من الموانع الأرضية، فلقولهم: أن الإقليم الرابع اعدل بقاع الأرض وجه، وان كانوا إنما أرادوا بذلك إن ما على خط الاستواء شديد الحرارة، كالذي يصرح به أكثرهم فهو خطأ يقوم البرهان على خلافه. وذلك أنه قد تبرهن في العلوم الطبيعية أنه لا سبب لتكون الحرارة إلا الحركة أو ملاقاة الأجسام الحارة والإضاءة؛ وتبين فيها أيضاً إن الشمس بذاتها غير حارة ولا متكيفة بشيء من هذه الكيفيات المزاجية؛ وقد تبين فيها أيضاً إن الأجسام التي تقبل الإضاءة أتم القبول، هي الأجسام الصقيلة غير الشفافة، ويليها في قبول ذلك الأجسام الكثيفة غير الصقيلة، فأما الأجسام الشفافة التي لاشيء فيها من الكثافة فلا تقبل الضوء بوجه. diff --git a/lib/fakerphp/faker/src/Faker/Provider/at_AT/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/at_AT/Payment.php index f10eab1..3162314 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/at_AT/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/at_AT/Payment.php @@ -6,6 +6,5 @@ * @deprecated at_AT is not an existing locale, use {@link \Faker\Provider\de_AT\Payment}. * @see \Faker\Provider\de_AT\Payment */ -class Payment extends \Faker\Provider\de_AT\Payment -{ +class Payment extends \Faker\Provider\de_AT\Payment { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Internet.php index 70f191e..a26c51f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\bg_BG; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'mail.bg', 'abv.bg', 'dir.bg']; - protected static $tld = ['bg', 'bg', 'bg', 'bg', 'bg', 'bg', 'com', 'biz', 'info', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'mail.bg', 'abv.bg', 'dir.bg' ]; + protected static $tld = [ 'bg', 'bg', 'bg', 'bg', 'bg', 'bg', 'com', 'biz', 'info', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Payment.php index d7ed58b..781daa2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Payment.php @@ -2,45 +2,42 @@ namespace Faker\Provider\bg_BG; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'BG', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'BG', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * Value Added Tax (VAT) - * - * @example 'BG1234567890', ('spaced') 'BG 1234567890' - * - * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 - * @see http://en.wikipedia.org/wiki/VAT_identification_number - * - * @param bool $spacedNationalPrefix - * - * @return string VAT Number - */ - public static function vat($spacedNationalPrefix = true) - { - $prefix = $spacedNationalPrefix ? 'BG ' : 'BG'; + /** + * Value Added Tax (VAT) + * + * @param bool $spacedNationalPrefix + * + * @return string VAT Number + * @see http://en.wikipedia.org/wiki/VAT_identification_number + * + * @example 'BG1234567890', ('spaced') 'BG 1234567890' + * + * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 + */ + public static function vat( $spacedNationalPrefix = true ) { + $prefix = $spacedNationalPrefix ? 'BG ' : 'BG'; - return sprintf( - '%s%d%d', - $prefix, - self::randomNumber(5, true), // workaround for mt_getrandmax() limitation - self::randomNumber(self::randomElement([4, 5]), true), - ); - } + return sprintf( + '%s%d%d', + $prefix, + self::randomNumber( 5, true ), // workaround for mt_getrandmax() limitation + self::randomNumber( self::randomElement( [ 4, 5 ] ), true ), + ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Person.php b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Person.php index 9ad864a..e43bb8f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/Person.php @@ -2,116 +2,1926 @@ namespace Faker\Provider\bg_BG; -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', - ]; + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', + ]; - protected static $firstNameMale = [ - 'Абен', 'Аблен', 'Август', 'Августиан', 'Августин', 'Авел', 'Авер', 'Аверно', 'Авксентий', 'Аво', 'Авраам', 'Аврам', 'Аврели', 'Аврелий', 'Аврор', 'Агапи', 'Агапий', 'Агатопод', 'Агент', 'Аглай', 'Аглар', 'Агнен', 'Агнеш', 'Агоп', 'Агъци', 'Адалберт', 'Адам', 'Адеан', 'Аделин', 'Адем', 'Аднан', 'Адриан', 'Адриян', 'Аерозол', 'Азалия', 'Айдемир', 'Акашия', 'Аксакусти', 'Аксидан', 'Аксинтия', 'Албен', 'Алберт', 'Албияна', 'Алдин', 'Алевандър', 'Алег', 'Алек', 'Алекзандриян', - 'Беримир', 'Берин', 'Берислав', 'Берия', 'Беро', 'Берослав', 'Бетина', 'Бетино', 'Бечо', 'Билян', 'Бинко', 'Биньо', 'Биню', 'Бисенти', 'Бисер', 'Благо', 'Благовест', 'Благой', 'Благомир', 'Благосвет', 'Блаже', 'Бог', 'Богдан', 'Богиня', 'Богой', 'Боголюб', 'Богомил', 'Богослав', 'Бодромир', 'Божан', 'Божидар', 'Божик', 'Божил', 'Божимир', 'Божин', 'Божинел', 'Божко', 'Божо', 'Божур', 'Боил', 'Боила', 'Бойко', 'Бойо', 'Бойчо', 'Болен', 'Болеслав', 'Боне', 'Бонислав', 'Бонко', 'Боно', - 'Веселин', 'Весислав', 'Веско', 'Весо', 'Веспасиян', 'Ветко', 'Вечко', 'Вигалот', 'Виго', 'Виделин', 'Виден', 'Видин', 'Видол', 'Видослав', 'Видю', 'Викенти', 'Виктор', 'Вилиан', 'Вилизар', 'Вилизара', 'Вилислав', 'Вилиян', 'Вилям', 'Винету', 'Винко', 'Вино', 'Винсънт', 'Винченцо', 'Виолет', 'Виолин', 'Висарион', 'Виталий', 'Витан', 'Витко', 'Витлян', 'Витомир', 'Витош', 'Вихрен', 'Вихрони', 'Вихър', 'Вичо', 'Виша', 'Вишан', 'Вишетин', 'Вишню', 'Влад', 'Владилен', 'Владимер', 'Владимир', - 'Галентин', 'Галиен', 'Галимир', 'Галин', 'Галиян', 'Гани', 'Ганислав', 'Ганцомир', 'Ганчо', 'Ганьо', 'Гаро', 'Гатьо', 'Гацо', 'Гачо', 'Гвардиана', 'Гелемир', 'Генади', 'Генади Валериев', 'Генадий', 'Генислав', 'Генко', 'Гено', 'Генчо', 'Геньо', 'Гео', 'Геодим', 'Геомил', 'Георги', 'Герасим', 'Герган', 'Гергей', 'Гергелюб', 'Гергин', 'Герго', 'Гердан', 'Герман', 'Геро', 'Герой', 'Герчо', 'Гетислав', 'Гетко', 'Гето', 'Гецо', 'Гечко', 'Гечо', 'Гешо', 'Гивеза', 'Гиздален', 'Гико', 'Гилдрой', - 'Делчо', 'Делян', 'Деляна', 'Демин', 'Демир', 'Демян', 'Дениз', 'Деника', 'Денимир', 'Денис', 'Денислав', 'Дениян', 'Денчо', 'Деньо', 'Дердидас', 'десилиан', 'Десимир', 'Десислав', 'Деслав', 'Деспин', 'Деспинка', 'Деспот', 'Детелин', 'Детелюб', 'Дечко', 'Дечо', 'Дечю', 'Дешо', 'Деян', 'Джанер', 'Джанко', 'Джихад', 'Джон-стефан', 'Джулиен', 'Диаманди', 'Диамантина', 'Диан', 'Диван (на дядо Диан и дядо Иван)', 'Дивизие', 'Дивизия', 'Дивил', 'Дидко', 'Диего', 'Дийвид', 'Дико', 'Дилян', - 'Евстати', 'Евстатий', 'Евстахий', 'Евтим', 'Егор', 'Едвин', 'Едит', 'Еднорог', 'Едрю', 'Едуард', 'Еким', 'Ектар', 'Ектор', 'Елвис', 'Елеан', 'Електрон', 'Елемаг', 'Елен', 'Еленко', 'Елиан', 'Елиас', 'Елиезер', 'Елизабет', 'Елин', 'Елисей', 'Елисия', 'Елко', 'Елтимир', 'Ельо', 'Ема-Бела', 'Еманоил', 'Емануел', 'Емануил', 'Емил', 'Емилиан', 'Емилиян', 'Ендо', 'Енис', 'Енчо', 'Еньо', 'Еню', 'Ервин', 'Ередин', 'Еремия', 'Ерик', 'Ерина', 'Ерол', 'Ерослав', 'Ерсен', 'Есен', 'Етиен', 'Ефка', - 'Заварин', 'Завен', 'Замфир', 'Занго', 'Занко', 'Заприн', 'Запрян', 'Зарко', 'Зафер', 'Зафир', 'Захар', 'Захари', 'Захарин', 'Захо', 'Звездан', 'Звезделюб', 'Звездин', 'Звездислав', 'Звездиян', 'Звездолет', 'Звездомир', 'Згура', 'Здравелин', 'Здравец', 'Здравко', 'Здравомир', 'Здравчо', 'Зенгин', 'Зика', 'Зинко', 'Зинови', 'Златан', 'Злати', 'Златил', 'Златимир', 'Златин', 'Златиян', 'Златко', 'Златогор', 'Златозар', 'Златомир', 'Златослав', 'Златоцвет', 'Златьо', 'Золтан', 'Зоран', - 'Илиомар', 'Илич', 'Илия', 'Илиян', 'Илко', 'Илчо', 'Имилиан', 'Ингемунд', 'Инко', 'Инокентий', 'Инчо', 'Иполит', 'Ириан', 'Ириней', 'иринеус', 'Ириян', 'Ирко', 'Ирма', 'Ирник', 'Исайа', 'Исак', 'Исидор', 'Искрен', 'Искър', 'Исперих', 'Истан', 'Истатко', 'Истилян', 'Исус', 'Итан', 'Итко', 'Ихтиандър', 'Ицо', 'Ичо', 'Йено', 'Йеремия', 'Йоан', 'Йоан-Александър', 'Йоан-иво', 'Йов', 'Йован', 'Йовица', 'Йовко', 'Йово', 'Йовро', 'Йовцо', 'Йовчо', 'Йожи', 'Йоил', 'Йоланд', 'Йолиян', 'Йолко', - 'Карен', 'Карим', 'Карин', 'Карло', 'Кармен', 'Каролин', 'Карчо', 'Касандър', 'Катакомб', 'Каталинка', 'Катерин', 'Кевин', 'Кеворк', 'Кери', 'Кибер', 'Кимба', 'Кимбо', 'Кимо', 'Кимон', 'Кимчо', 'Кин', 'Кинка', 'Кинта', 'Киприслав', 'Киприян', 'Кириен', 'Кирил', 'Кирко', 'Кирчо', 'Киряк', 'Киряки', 'Киряко', 'Кис', 'Кит', 'Кито', 'Китодар', 'Китомир', 'Клеантин', 'Клим', 'Климент', 'Кнут', 'Козма', 'Койно', 'Койо', 'Койчо', 'Коко', 'Коле', 'Колонина', 'Колчо', 'Кольо', 'Колю', 'Комнин', - 'Лалко', 'Лало', 'Лальо', 'Ламби', 'Ламбо', 'Ламбри', 'Ламбю', 'Ланселот', 'Ласкал', 'Ласкар', 'Ластър', 'Латин', 'Латко', 'Латьо', 'Латю', 'Лашко', 'ЛЕА-МАРИЯ', 'Леандър', 'Лев', 'Левент', 'Левчо', 'Леко', 'Ленин', 'Ленко', 'Леон', 'Леонардо', 'Леонид', 'Лесе', 'Лефтер', 'Лечо', 'Лилко', 'Лило', 'Лилчо', 'Лилян', 'Лимон', 'Лимончо', 'Липе', 'Лихия', 'Личо', 'Ловчо', 'Лозан', 'Лозана', 'Лозен', 'Лора-софия', 'Лоранс', 'Лоренцо', 'Лука', 'Лукан', 'Луко', 'Лули', 'Лулчо', 'Лусио', 'Лусия', - 'Маноел', 'Манол', 'Манолин', 'Маноло', 'Мантас', 'Мануил', 'Мануш', 'Манчестър Юнайтед', 'Манчо', 'Маньо', 'Маню', 'Марангони', 'Маргарин', 'Маргарит', 'Марек', 'Мариан', 'Марий', 'Марин', 'Маринел', 'Маринчо', 'Марио', 'Мариоллита', 'Мариочка', 'Маритна', 'Мариян', 'Марк', 'Марк-антоний', 'Марко', 'Маркус', 'Мартен', 'Мартин', 'Мартиниян', 'Марто', 'Маруш', 'Марчело', 'Маслина', 'Матей', 'Матьо', 'Матю', 'Махно', 'Машо', 'Медиан', 'Менко', 'Мено', 'Мерилин', 'Месак', 'Метакса', - 'Найо', 'Найчо', 'Наке', 'Нако', 'Нанко', 'Нанков', 'Нано', 'Нансимир', 'Нанчо', 'Наню', 'Нарцислав', 'Наско', 'Настимир', 'Настрадин', 'Натанаил', 'Нати', 'Натко', 'Наум', 'Нафисат', 'Нафтали', 'Нацко', 'Нацо', 'Начиян', 'Начко', 'Начо', 'Невелин', 'Невен', 'Невенко', 'Невилиян', 'Невян', 'Негослав', 'Неделин', 'Неделчо', 'Недислав', 'Недко', 'Недолюб', 'Недьо', 'Недю', 'Недялко', 'Нейко', 'Нейчо', 'Нелко', 'Нелчо', 'Нене', 'Ненко', 'Нено', 'Ненсислав', 'Ненчо', 'Неокли', 'Нерес', - 'Обретим', 'Ованес', 'Огин', 'Огнемир', 'Огнен', 'Огнян', 'Океан', 'Олег', 'Олек', 'Олимпи', 'Омар', 'Омуртаг', 'Оник', 'Онуфри', 'Ончо', 'Орел', 'Орлин', 'Ортодокси', 'Орфей', 'Орхидей', 'Орце', 'Оскар', 'Оханес', 'Павел', 'Павелин', 'Павил', 'Павко', 'Павлик', 'Павлин', 'Павлинчо', 'Павломир', 'Паисий', 'Пако', 'Палми', 'Палмиро', 'Панаври', 'Панай', 'Панайот', 'Панде', 'Панделис', 'Пане', 'Панкртийян', 'Пано', 'Панталей', 'Пантелей', 'Пантер', 'Панто', 'Пантю', 'Панчо', 'Паолина', - 'Параскев', 'Параход', 'Парашкев', 'Парашкеван', 'Паруш', 'Паскал', 'Паско', 'Паспанахил', 'Пато', 'Патрик', 'Патьо', 'Паулин', 'Паун', 'Пацо', 'Пачо', 'Пашо', 'Пейко', 'Пейо', 'Пейодон', 'Пейтан', 'Пейчин', 'Пейчо', 'Пеко', 'Пелай', 'Пеле', 'Пене', 'Пенко', 'Пенчин', 'Пенчо', 'Пеньо', 'Пеню', 'Пео', 'Пепино', 'Пепислав', 'Пепо', 'Пепонаки', 'Перикъл', 'Персиана', 'Персиян', 'Перчо', 'Петиконгрес', 'Петкан', 'Петко', 'Пето', 'Петраки', 'Петран', 'Петрана', 'Петринел', 'Петрозар', 'Петромил', - 'Рангел', 'Рангел-любими', 'Рандю', 'Ранчо', 'Расате', 'Ратослав', 'Рафаил', 'Рачко', 'Рачо', 'Рашко', 'Рашо', 'Раю', 'Раян', 'Реан', 'Рем', 'Рикардо', 'Риналдо', 'Рис', 'Ристя', 'Ричард', 'Ричерд', 'Роберт', 'Роберто', 'Робин', 'Робърт', 'Рогелин', 'Рогелина', 'Рогена', 'Родан', 'Родион', 'Розалин', 'Розин', 'Розоцвет', 'Ройо', 'Роксан', 'Роман', 'Ромел', 'Ромелина', 'Ромен', 'Ромео', 'Ромил', 'Ромул', 'Росен', 'Росенка', 'Росимир', 'Росицвет', 'Роска', 'Роско', 'Ростиана', 'Ростимир', 'Ростислав', - 'Светломир', 'Светлю', 'Светозар', 'Светослав', 'Свилен', 'Себастиан', 'Себахтин', 'Севан', 'Севар', 'Севастин', 'Севдалин', 'Севдан', 'Севелин', 'Северин', 'Седевчо', 'Седеф', 'Седефчо', 'Селен', 'Селена', 'Сенко', 'Серафим', 'Сергей', 'Сеслав', 'Сиви', 'Сивко', 'Сидер', 'Сидония', 'Сидор', 'Сиен', 'Силаги', 'Силан', 'Силвестър', 'Силвио', 'Силвиян', 'Силен', 'Силян', 'Симеон', 'Симо', 'Сирман', 'Сифоня', 'Скорбут', 'Слав', 'Славдо', 'Славе', 'Славей', 'Славейко', 'Славен', 'Слави', 'Славил', - 'Теодоси', 'Теодосий', 'Теодослав', 'Теодостин', 'Теофан', 'Теофил', 'Теохар', 'Тервел', 'Тигрони', 'Тило', 'Тильо', 'Тимо', 'Тимон', 'Тимотей', 'Тимчо', 'Тинко', 'Тино', 'Тинчо', 'Тихо', 'Тихол', 'Тихомир', 'Тихон', 'Тишо', 'Тоде', 'Тодомирка', 'Тодор', 'Тодораки', 'Тодорин', 'Тодорина', 'Токимир', 'Толек', 'Толю', 'Тома', 'Томас', 'Томен', 'Томи', 'Томинка', 'Томислав', 'Томо', 'Тоне', 'Тони', 'Тонимир', 'Тонислав', 'Тонко', 'Тончо', 'Тоньо', 'Топалко', 'Тополко', 'Тотко', 'Тотьо', 'Тотю', 'Тоцо', - 'Филатей', 'Фили', 'Филидан', 'Филимон', 'Филион', 'Филип', 'Филипас', 'Филипопол', 'Филко', 'Филомир', 'Филчо', 'Фильо', 'Финдо', 'Финдол', 'Фиро', 'Фирчо', 'Фичо', 'Флори', 'Флориан', 'Флорин', 'Флоро', 'Фори', 'Фосил', 'Фотин', 'Франк', 'Франц', 'Францислав', 'Фрацил', 'Фреди', 'Фродо', 'Фуго', 'Фуко', 'Фъстък', 'Фътьо', 'Фьодор', 'Хавтелин', 'Ханко', 'Хараламби', 'Харалампи', 'Харалан', 'Харбингър', 'Хари', 'Харизан', 'Харитии', 'Харитон', 'Хасан', 'Хасатин', 'Хачо', 'Хвойне', 'Хебър', 'Хектор', - 'Хераклит', 'Хернани', 'Херодот', 'Хефестион', 'Химинай', 'Хинко', 'Хино', 'Хитко', 'Хороз', 'Храбрин', 'Храбър', 'Хранимир', 'Хранко', 'Хрелко', 'Хрельо', 'Хрисим', 'Хрисимир', 'Хрисо', 'Христалин', 'Христивилин', 'Христиела', 'Христилиан', 'Христилин', 'християн', 'Христо', 'Христо-никола', 'Христодор', 'Христозар', 'Христозорнициан', 'Христозорницомил', 'Христомил', 'Христомир', 'Христоско', 'Христослав', 'Христофор', 'Хрисчо', 'Хрондел', 'Хрусан', 'Хубав', 'Хубавен', 'Хубан', 'Хубен', - 'Цоньо', 'Цоню', 'Цоцо', 'Цочо', 'Цъки', 'Чавдар', 'Чанкете', 'Чанко', 'Чано', 'Чаньо', 'Чаню', 'Чардафон', 'Чародей', 'Чауш', 'Чачо', 'Чвор', 'Чедомир', 'Ченко', 'Ченю', 'Чепо', 'Чернобил', 'Черноризец', 'Черньо', 'Чийо', 'Чико', 'Чило', 'Чонар', 'Чони', 'Чоно', 'Чоню', 'Чора', 'Чочо', 'Чочомир', 'Чубрик', 'Чуде', 'Чудо', 'Чудомир', 'Чудослав', 'Чук', 'Шабан', 'Шамо', 'Шанко', 'Шаноу', 'Шаро', 'Шейна', 'Шеки', 'Шенко', 'Шенол', 'Шибил', 'Шидер', 'Шильо', 'Шинко', 'Шино', 'Шипчан', 'Ширко', 'Шишман', - 'Шкодри', 'Шмильо', 'Шмулю', 'Шпилко', 'Шпиньо', 'Шушо', 'Щедрин', 'Щедю', 'Щеки', 'Щено', 'Щеню', 'Щерион', 'Щериян', 'Щерко', 'Щеро', 'Щерьо', 'Щерю', 'Щилиян', 'Щилян', 'Щирян', 'Щоно', 'Щтърбан', 'Щтъркан', 'Щурк', 'Щурчо', 'Щърбан', 'Щъркан', 'Ъглен', 'Ълен', 'Ърнест', 'Ъруин', 'Ърчо', 'Ьобирдар', 'Юги', 'Юли', 'Юлиан', 'Юлий', 'Юлиян', 'Юрдан', 'Юри', 'Юрий', 'Юстин', 'Юстиниан', 'Яблен', 'Явлен', 'Явор', 'Яго', 'Ягодин', 'Язо', 'Яким', 'Яко', 'Якоб', 'Яков', 'Якослав', 'Ямболен', 'Ян', 'Янадин', - 'Янаки', 'Янакин', 'Яначко', 'Яне', 'Янег', 'Янедин', 'Янек', 'Янеслав', 'Яни', 'Яниел', 'Яник', 'Янимир', 'Янис', 'Янислав', 'Яничко', 'Янко', 'Янкул', 'Янкуп', 'Яно', 'Яномил', 'Янтар', 'Януш', 'Янцислав', 'Янче', 'Янчо', 'Ярно', 'Яромир', 'Ярослав', 'Ярце', 'Ярчо', 'Яръм', 'Ярю', 'Ясен', 'Ясер', 'Ястреб', 'Ятан', 'Яцо', 'Ячко', 'Ячо', 'Яшар', 'Яшка', 'Яшо', 'Яшон', - ]; + protected static $firstNameMale = [ + 'Абен', + 'Аблен', + 'Август', + 'Августиан', + 'Августин', + 'Авел', + 'Авер', + 'Аверно', + 'Авксентий', + 'Аво', + 'Авраам', + 'Аврам', + 'Аврели', + 'Аврелий', + 'Аврор', + 'Агапи', + 'Агапий', + 'Агатопод', + 'Агент', + 'Аглай', + 'Аглар', + 'Агнен', + 'Агнеш', + 'Агоп', + 'Агъци', + 'Адалберт', + 'Адам', + 'Адеан', + 'Аделин', + 'Адем', + 'Аднан', + 'Адриан', + 'Адриян', + 'Аерозол', + 'Азалия', + 'Айдемир', + 'Акашия', + 'Аксакусти', + 'Аксидан', + 'Аксинтия', + 'Албен', + 'Алберт', + 'Албияна', + 'Алдин', + 'Алевандър', + 'Алег', + 'Алек', + 'Алекзандриян', + 'Беримир', + 'Берин', + 'Берислав', + 'Берия', + 'Беро', + 'Берослав', + 'Бетина', + 'Бетино', + 'Бечо', + 'Билян', + 'Бинко', + 'Биньо', + 'Биню', + 'Бисенти', + 'Бисер', + 'Благо', + 'Благовест', + 'Благой', + 'Благомир', + 'Благосвет', + 'Блаже', + 'Бог', + 'Богдан', + 'Богиня', + 'Богой', + 'Боголюб', + 'Богомил', + 'Богослав', + 'Бодромир', + 'Божан', + 'Божидар', + 'Божик', + 'Божил', + 'Божимир', + 'Божин', + 'Божинел', + 'Божко', + 'Божо', + 'Божур', + 'Боил', + 'Боила', + 'Бойко', + 'Бойо', + 'Бойчо', + 'Болен', + 'Болеслав', + 'Боне', + 'Бонислав', + 'Бонко', + 'Боно', + 'Веселин', + 'Весислав', + 'Веско', + 'Весо', + 'Веспасиян', + 'Ветко', + 'Вечко', + 'Вигалот', + 'Виго', + 'Виделин', + 'Виден', + 'Видин', + 'Видол', + 'Видослав', + 'Видю', + 'Викенти', + 'Виктор', + 'Вилиан', + 'Вилизар', + 'Вилизара', + 'Вилислав', + 'Вилиян', + 'Вилям', + 'Винету', + 'Винко', + 'Вино', + 'Винсънт', + 'Винченцо', + 'Виолет', + 'Виолин', + 'Висарион', + 'Виталий', + 'Витан', + 'Витко', + 'Витлян', + 'Витомир', + 'Витош', + 'Вихрен', + 'Вихрони', + 'Вихър', + 'Вичо', + 'Виша', + 'Вишан', + 'Вишетин', + 'Вишню', + 'Влад', + 'Владилен', + 'Владимер', + 'Владимир', + 'Галентин', + 'Галиен', + 'Галимир', + 'Галин', + 'Галиян', + 'Гани', + 'Ганислав', + 'Ганцомир', + 'Ганчо', + 'Ганьо', + 'Гаро', + 'Гатьо', + 'Гацо', + 'Гачо', + 'Гвардиана', + 'Гелемир', + 'Генади', + 'Генади Валериев', + 'Генадий', + 'Генислав', + 'Генко', + 'Гено', + 'Генчо', + 'Геньо', + 'Гео', + 'Геодим', + 'Геомил', + 'Георги', + 'Герасим', + 'Герган', + 'Гергей', + 'Гергелюб', + 'Гергин', + 'Герго', + 'Гердан', + 'Герман', + 'Геро', + 'Герой', + 'Герчо', + 'Гетислав', + 'Гетко', + 'Гето', + 'Гецо', + 'Гечко', + 'Гечо', + 'Гешо', + 'Гивеза', + 'Гиздален', + 'Гико', + 'Гилдрой', + 'Делчо', + 'Делян', + 'Деляна', + 'Демин', + 'Демир', + 'Демян', + 'Дениз', + 'Деника', + 'Денимир', + 'Денис', + 'Денислав', + 'Дениян', + 'Денчо', + 'Деньо', + 'Дердидас', + 'десилиан', + 'Десимир', + 'Десислав', + 'Деслав', + 'Деспин', + 'Деспинка', + 'Деспот', + 'Детелин', + 'Детелюб', + 'Дечко', + 'Дечо', + 'Дечю', + 'Дешо', + 'Деян', + 'Джанер', + 'Джанко', + 'Джихад', + 'Джон-стефан', + 'Джулиен', + 'Диаманди', + 'Диамантина', + 'Диан', + 'Диван (на дядо Диан и дядо Иван)', + 'Дивизие', + 'Дивизия', + 'Дивил', + 'Дидко', + 'Диего', + 'Дийвид', + 'Дико', + 'Дилян', + 'Евстати', + 'Евстатий', + 'Евстахий', + 'Евтим', + 'Егор', + 'Едвин', + 'Едит', + 'Еднорог', + 'Едрю', + 'Едуард', + 'Еким', + 'Ектар', + 'Ектор', + 'Елвис', + 'Елеан', + 'Електрон', + 'Елемаг', + 'Елен', + 'Еленко', + 'Елиан', + 'Елиас', + 'Елиезер', + 'Елизабет', + 'Елин', + 'Елисей', + 'Елисия', + 'Елко', + 'Елтимир', + 'Ельо', + 'Ема-Бела', + 'Еманоил', + 'Емануел', + 'Емануил', + 'Емил', + 'Емилиан', + 'Емилиян', + 'Ендо', + 'Енис', + 'Енчо', + 'Еньо', + 'Еню', + 'Ервин', + 'Ередин', + 'Еремия', + 'Ерик', + 'Ерина', + 'Ерол', + 'Ерослав', + 'Ерсен', + 'Есен', + 'Етиен', + 'Ефка', + 'Заварин', + 'Завен', + 'Замфир', + 'Занго', + 'Занко', + 'Заприн', + 'Запрян', + 'Зарко', + 'Зафер', + 'Зафир', + 'Захар', + 'Захари', + 'Захарин', + 'Захо', + 'Звездан', + 'Звезделюб', + 'Звездин', + 'Звездислав', + 'Звездиян', + 'Звездолет', + 'Звездомир', + 'Згура', + 'Здравелин', + 'Здравец', + 'Здравко', + 'Здравомир', + 'Здравчо', + 'Зенгин', + 'Зика', + 'Зинко', + 'Зинови', + 'Златан', + 'Злати', + 'Златил', + 'Златимир', + 'Златин', + 'Златиян', + 'Златко', + 'Златогор', + 'Златозар', + 'Златомир', + 'Златослав', + 'Златоцвет', + 'Златьо', + 'Золтан', + 'Зоран', + 'Илиомар', + 'Илич', + 'Илия', + 'Илиян', + 'Илко', + 'Илчо', + 'Имилиан', + 'Ингемунд', + 'Инко', + 'Инокентий', + 'Инчо', + 'Иполит', + 'Ириан', + 'Ириней', + 'иринеус', + 'Ириян', + 'Ирко', + 'Ирма', + 'Ирник', + 'Исайа', + 'Исак', + 'Исидор', + 'Искрен', + 'Искър', + 'Исперих', + 'Истан', + 'Истатко', + 'Истилян', + 'Исус', + 'Итан', + 'Итко', + 'Ихтиандър', + 'Ицо', + 'Ичо', + 'Йено', + 'Йеремия', + 'Йоан', + 'Йоан-Александър', + 'Йоан-иво', + 'Йов', + 'Йован', + 'Йовица', + 'Йовко', + 'Йово', + 'Йовро', + 'Йовцо', + 'Йовчо', + 'Йожи', + 'Йоил', + 'Йоланд', + 'Йолиян', + 'Йолко', + 'Карен', + 'Карим', + 'Карин', + 'Карло', + 'Кармен', + 'Каролин', + 'Карчо', + 'Касандър', + 'Катакомб', + 'Каталинка', + 'Катерин', + 'Кевин', + 'Кеворк', + 'Кери', + 'Кибер', + 'Кимба', + 'Кимбо', + 'Кимо', + 'Кимон', + 'Кимчо', + 'Кин', + 'Кинка', + 'Кинта', + 'Киприслав', + 'Киприян', + 'Кириен', + 'Кирил', + 'Кирко', + 'Кирчо', + 'Киряк', + 'Киряки', + 'Киряко', + 'Кис', + 'Кит', + 'Кито', + 'Китодар', + 'Китомир', + 'Клеантин', + 'Клим', + 'Климент', + 'Кнут', + 'Козма', + 'Койно', + 'Койо', + 'Койчо', + 'Коко', + 'Коле', + 'Колонина', + 'Колчо', + 'Кольо', + 'Колю', + 'Комнин', + 'Лалко', + 'Лало', + 'Лальо', + 'Ламби', + 'Ламбо', + 'Ламбри', + 'Ламбю', + 'Ланселот', + 'Ласкал', + 'Ласкар', + 'Ластър', + 'Латин', + 'Латко', + 'Латьо', + 'Латю', + 'Лашко', + 'ЛЕА-МАРИЯ', + 'Леандър', + 'Лев', + 'Левент', + 'Левчо', + 'Леко', + 'Ленин', + 'Ленко', + 'Леон', + 'Леонардо', + 'Леонид', + 'Лесе', + 'Лефтер', + 'Лечо', + 'Лилко', + 'Лило', + 'Лилчо', + 'Лилян', + 'Лимон', + 'Лимончо', + 'Липе', + 'Лихия', + 'Личо', + 'Ловчо', + 'Лозан', + 'Лозана', + 'Лозен', + 'Лора-софия', + 'Лоранс', + 'Лоренцо', + 'Лука', + 'Лукан', + 'Луко', + 'Лули', + 'Лулчо', + 'Лусио', + 'Лусия', + 'Маноел', + 'Манол', + 'Манолин', + 'Маноло', + 'Мантас', + 'Мануил', + 'Мануш', + 'Манчестър Юнайтед', + 'Манчо', + 'Маньо', + 'Маню', + 'Марангони', + 'Маргарин', + 'Маргарит', + 'Марек', + 'Мариан', + 'Марий', + 'Марин', + 'Маринел', + 'Маринчо', + 'Марио', + 'Мариоллита', + 'Мариочка', + 'Маритна', + 'Мариян', + 'Марк', + 'Марк-антоний', + 'Марко', + 'Маркус', + 'Мартен', + 'Мартин', + 'Мартиниян', + 'Марто', + 'Маруш', + 'Марчело', + 'Маслина', + 'Матей', + 'Матьо', + 'Матю', + 'Махно', + 'Машо', + 'Медиан', + 'Менко', + 'Мено', + 'Мерилин', + 'Месак', + 'Метакса', + 'Найо', + 'Найчо', + 'Наке', + 'Нако', + 'Нанко', + 'Нанков', + 'Нано', + 'Нансимир', + 'Нанчо', + 'Наню', + 'Нарцислав', + 'Наско', + 'Настимир', + 'Настрадин', + 'Натанаил', + 'Нати', + 'Натко', + 'Наум', + 'Нафисат', + 'Нафтали', + 'Нацко', + 'Нацо', + 'Начиян', + 'Начко', + 'Начо', + 'Невелин', + 'Невен', + 'Невенко', + 'Невилиян', + 'Невян', + 'Негослав', + 'Неделин', + 'Неделчо', + 'Недислав', + 'Недко', + 'Недолюб', + 'Недьо', + 'Недю', + 'Недялко', + 'Нейко', + 'Нейчо', + 'Нелко', + 'Нелчо', + 'Нене', + 'Ненко', + 'Нено', + 'Ненсислав', + 'Ненчо', + 'Неокли', + 'Нерес', + 'Обретим', + 'Ованес', + 'Огин', + 'Огнемир', + 'Огнен', + 'Огнян', + 'Океан', + 'Олег', + 'Олек', + 'Олимпи', + 'Омар', + 'Омуртаг', + 'Оник', + 'Онуфри', + 'Ончо', + 'Орел', + 'Орлин', + 'Ортодокси', + 'Орфей', + 'Орхидей', + 'Орце', + 'Оскар', + 'Оханес', + 'Павел', + 'Павелин', + 'Павил', + 'Павко', + 'Павлик', + 'Павлин', + 'Павлинчо', + 'Павломир', + 'Паисий', + 'Пако', + 'Палми', + 'Палмиро', + 'Панаври', + 'Панай', + 'Панайот', + 'Панде', + 'Панделис', + 'Пане', + 'Панкртийян', + 'Пано', + 'Панталей', + 'Пантелей', + 'Пантер', + 'Панто', + 'Пантю', + 'Панчо', + 'Паолина', + 'Параскев', + 'Параход', + 'Парашкев', + 'Парашкеван', + 'Паруш', + 'Паскал', + 'Паско', + 'Паспанахил', + 'Пато', + 'Патрик', + 'Патьо', + 'Паулин', + 'Паун', + 'Пацо', + 'Пачо', + 'Пашо', + 'Пейко', + 'Пейо', + 'Пейодон', + 'Пейтан', + 'Пейчин', + 'Пейчо', + 'Пеко', + 'Пелай', + 'Пеле', + 'Пене', + 'Пенко', + 'Пенчин', + 'Пенчо', + 'Пеньо', + 'Пеню', + 'Пео', + 'Пепино', + 'Пепислав', + 'Пепо', + 'Пепонаки', + 'Перикъл', + 'Персиана', + 'Персиян', + 'Перчо', + 'Петиконгрес', + 'Петкан', + 'Петко', + 'Пето', + 'Петраки', + 'Петран', + 'Петрана', + 'Петринел', + 'Петрозар', + 'Петромил', + 'Рангел', + 'Рангел-любими', + 'Рандю', + 'Ранчо', + 'Расате', + 'Ратослав', + 'Рафаил', + 'Рачко', + 'Рачо', + 'Рашко', + 'Рашо', + 'Раю', + 'Раян', + 'Реан', + 'Рем', + 'Рикардо', + 'Риналдо', + 'Рис', + 'Ристя', + 'Ричард', + 'Ричерд', + 'Роберт', + 'Роберто', + 'Робин', + 'Робърт', + 'Рогелин', + 'Рогелина', + 'Рогена', + 'Родан', + 'Родион', + 'Розалин', + 'Розин', + 'Розоцвет', + 'Ройо', + 'Роксан', + 'Роман', + 'Ромел', + 'Ромелина', + 'Ромен', + 'Ромео', + 'Ромил', + 'Ромул', + 'Росен', + 'Росенка', + 'Росимир', + 'Росицвет', + 'Роска', + 'Роско', + 'Ростиана', + 'Ростимир', + 'Ростислав', + 'Светломир', + 'Светлю', + 'Светозар', + 'Светослав', + 'Свилен', + 'Себастиан', + 'Себахтин', + 'Севан', + 'Севар', + 'Севастин', + 'Севдалин', + 'Севдан', + 'Севелин', + 'Северин', + 'Седевчо', + 'Седеф', + 'Седефчо', + 'Селен', + 'Селена', + 'Сенко', + 'Серафим', + 'Сергей', + 'Сеслав', + 'Сиви', + 'Сивко', + 'Сидер', + 'Сидония', + 'Сидор', + 'Сиен', + 'Силаги', + 'Силан', + 'Силвестър', + 'Силвио', + 'Силвиян', + 'Силен', + 'Силян', + 'Симеон', + 'Симо', + 'Сирман', + 'Сифоня', + 'Скорбут', + 'Слав', + 'Славдо', + 'Славе', + 'Славей', + 'Славейко', + 'Славен', + 'Слави', + 'Славил', + 'Теодоси', + 'Теодосий', + 'Теодослав', + 'Теодостин', + 'Теофан', + 'Теофил', + 'Теохар', + 'Тервел', + 'Тигрони', + 'Тило', + 'Тильо', + 'Тимо', + 'Тимон', + 'Тимотей', + 'Тимчо', + 'Тинко', + 'Тино', + 'Тинчо', + 'Тихо', + 'Тихол', + 'Тихомир', + 'Тихон', + 'Тишо', + 'Тоде', + 'Тодомирка', + 'Тодор', + 'Тодораки', + 'Тодорин', + 'Тодорина', + 'Токимир', + 'Толек', + 'Толю', + 'Тома', + 'Томас', + 'Томен', + 'Томи', + 'Томинка', + 'Томислав', + 'Томо', + 'Тоне', + 'Тони', + 'Тонимир', + 'Тонислав', + 'Тонко', + 'Тончо', + 'Тоньо', + 'Топалко', + 'Тополко', + 'Тотко', + 'Тотьо', + 'Тотю', + 'Тоцо', + 'Филатей', + 'Фили', + 'Филидан', + 'Филимон', + 'Филион', + 'Филип', + 'Филипас', + 'Филипопол', + 'Филко', + 'Филомир', + 'Филчо', + 'Фильо', + 'Финдо', + 'Финдол', + 'Фиро', + 'Фирчо', + 'Фичо', + 'Флори', + 'Флориан', + 'Флорин', + 'Флоро', + 'Фори', + 'Фосил', + 'Фотин', + 'Франк', + 'Франц', + 'Францислав', + 'Фрацил', + 'Фреди', + 'Фродо', + 'Фуго', + 'Фуко', + 'Фъстък', + 'Фътьо', + 'Фьодор', + 'Хавтелин', + 'Ханко', + 'Хараламби', + 'Харалампи', + 'Харалан', + 'Харбингър', + 'Хари', + 'Харизан', + 'Харитии', + 'Харитон', + 'Хасан', + 'Хасатин', + 'Хачо', + 'Хвойне', + 'Хебър', + 'Хектор', + 'Хераклит', + 'Хернани', + 'Херодот', + 'Хефестион', + 'Химинай', + 'Хинко', + 'Хино', + 'Хитко', + 'Хороз', + 'Храбрин', + 'Храбър', + 'Хранимир', + 'Хранко', + 'Хрелко', + 'Хрельо', + 'Хрисим', + 'Хрисимир', + 'Хрисо', + 'Христалин', + 'Христивилин', + 'Христиела', + 'Христилиан', + 'Христилин', + 'християн', + 'Христо', + 'Христо-никола', + 'Христодор', + 'Христозар', + 'Христозорнициан', + 'Христозорницомил', + 'Христомил', + 'Христомир', + 'Христоско', + 'Христослав', + 'Христофор', + 'Хрисчо', + 'Хрондел', + 'Хрусан', + 'Хубав', + 'Хубавен', + 'Хубан', + 'Хубен', + 'Цоньо', + 'Цоню', + 'Цоцо', + 'Цочо', + 'Цъки', + 'Чавдар', + 'Чанкете', + 'Чанко', + 'Чано', + 'Чаньо', + 'Чаню', + 'Чардафон', + 'Чародей', + 'Чауш', + 'Чачо', + 'Чвор', + 'Чедомир', + 'Ченко', + 'Ченю', + 'Чепо', + 'Чернобил', + 'Черноризец', + 'Черньо', + 'Чийо', + 'Чико', + 'Чило', + 'Чонар', + 'Чони', + 'Чоно', + 'Чоню', + 'Чора', + 'Чочо', + 'Чочомир', + 'Чубрик', + 'Чуде', + 'Чудо', + 'Чудомир', + 'Чудослав', + 'Чук', + 'Шабан', + 'Шамо', + 'Шанко', + 'Шаноу', + 'Шаро', + 'Шейна', + 'Шеки', + 'Шенко', + 'Шенол', + 'Шибил', + 'Шидер', + 'Шильо', + 'Шинко', + 'Шино', + 'Шипчан', + 'Ширко', + 'Шишман', + 'Шкодри', + 'Шмильо', + 'Шмулю', + 'Шпилко', + 'Шпиньо', + 'Шушо', + 'Щедрин', + 'Щедю', + 'Щеки', + 'Щено', + 'Щеню', + 'Щерион', + 'Щериян', + 'Щерко', + 'Щеро', + 'Щерьо', + 'Щерю', + 'Щилиян', + 'Щилян', + 'Щирян', + 'Щоно', + 'Щтърбан', + 'Щтъркан', + 'Щурк', + 'Щурчо', + 'Щърбан', + 'Щъркан', + 'Ъглен', + 'Ълен', + 'Ърнест', + 'Ъруин', + 'Ърчо', + 'Ьобирдар', + 'Юги', + 'Юли', + 'Юлиан', + 'Юлий', + 'Юлиян', + 'Юрдан', + 'Юри', + 'Юрий', + 'Юстин', + 'Юстиниан', + 'Яблен', + 'Явлен', + 'Явор', + 'Яго', + 'Ягодин', + 'Язо', + 'Яким', + 'Яко', + 'Якоб', + 'Яков', + 'Якослав', + 'Ямболен', + 'Ян', + 'Янадин', + 'Янаки', + 'Янакин', + 'Яначко', + 'Яне', + 'Янег', + 'Янедин', + 'Янек', + 'Янеслав', + 'Яни', + 'Яниел', + 'Яник', + 'Янимир', + 'Янис', + 'Янислав', + 'Яничко', + 'Янко', + 'Янкул', + 'Янкуп', + 'Яно', + 'Яномил', + 'Янтар', + 'Януш', + 'Янцислав', + 'Янче', + 'Янчо', + 'Ярно', + 'Яромир', + 'Ярослав', + 'Ярце', + 'Ярчо', + 'Яръм', + 'Ярю', + 'Ясен', + 'Ясер', + 'Ястреб', + 'Ятан', + 'Яцо', + 'Ячко', + 'Ячо', + 'Яшар', + 'Яшка', + 'Яшо', + 'Яшон', + ]; - protected static $firstNameFemale = [ - 'Авгия', 'Авигея', 'Авторка', 'Аглая', 'Аглоида', 'Агнешка', 'Адамина', 'Адра', 'Адрианиа', 'Аела', 'Айрен', 'Аксентия', 'Алания', 'Албина', 'Александрина', 'Алексиа', 'Аленка', 'Алиана', 'Алисия', 'Алтая', 'Амбър', 'Амория', 'Ана Мария', 'Анатолия', 'Ангелка', 'Андика', 'Андриана', 'Анелина', 'анета', 'Анза', 'Анимира', 'Аница', 'Аномалия', 'Антоалина', 'Антонела', 'Ануша', 'Анхея-мей', 'Аполинария', 'Аралия', 'Аркадия', 'Арсена', 'Аселина', 'Асифа', 'Астромерия', 'Атина', 'Аурора', 'Багра', - 'Балина', 'Бацислава', 'Беатрис', 'Бела', 'Белисима', 'Беломира', 'Бенелена', 'Берислава', 'Бея', 'Билена', 'Бисера', 'Биянка', 'Благодатка', 'Благосвета', 'Богдалина', 'Богородка', 'Бодурка', 'Божидара-силвестра', 'Божинела', 'Божурка', 'Бонифация', 'Борена', 'Бориска', 'Борянка', 'Боца', 'Бригита', 'Бронислава', 'Буна', 'Буча', 'Бързана', 'Ваклина', 'Валерия', 'Валя', 'Вангелия', 'Ванухи', 'Варта', 'Васенка', 'Василина', 'Васка', 'Вашиля', 'Вежда', 'Велиана', 'Велинна', 'Велиянка', 'Венда', - 'Венеция', 'Венислава', 'Венчислава', 'Верена', 'Верислава', 'Веса', 'Веселинка', 'Весна', 'Веца', 'Видима', 'Виктория', 'Вилия', 'Вилхема', 'Виолета', 'Виржиния', 'Витомира', 'Вишка', 'Владилена', 'Владлена', 'Водица', 'Войнка', 'Вула', 'Възкресения', 'Въльо', 'Върбунка', 'Въца', 'Габи', 'Галена', 'Галина', 'Галя', 'Гануца', 'Гвоздейка', 'Гена', 'Георгелена', 'Георгица', 'Герга', 'Гердана', 'Гертруда', 'Гиздана', 'Гичка', 'Гордана', 'Гория', 'Гоца', 'Графица', 'Грета', 'Гримяна', 'Гроздинка', - 'Гуна', 'Гъда', 'Гълъбица', 'Гюгра', 'Гюргя', 'Дакота', 'Дамяна', 'Данелина', 'Данимира', 'Данка', 'Дарданела', 'Дария', 'Дафинка', 'Деа', 'Деви', 'Делиана', 'Деля', 'Демирела', 'Дениандра', 'Дениславена', 'Денница', 'Десимиляна', 'Десияна', 'Дефлорина', 'Дея', 'Джана', 'Джиневра', 'Джулия', 'Диана - Мария', 'Дида', 'Дилмана', 'Димитра', 'Димка', 'Динна', 'Добрина', 'Дойка', 'Доменика', 'Доника', 'Дора-Анна', 'Дорина', 'Доста', 'Доча', 'Драгица', 'Дренка', 'Дуда', 'Душка', 'Дюкяна', 'Евангелина', - 'Евдокия', 'Евридика', 'Едита', 'Ел', 'Елдора', 'Еленица', 'Елеонета', 'Ели', 'Елиз', 'Елина', 'Елиса', 'Елица', 'Елма', 'Елфида', 'Емануила', 'Емма', 'Еница', 'Ергана', 'Ермиля', 'Естела', 'Ефимена', 'Ефросиния', 'Жаклин', 'Жанин', 'Жара', 'Жейна', 'Желязка', 'Женимира', 'Жива', 'Живомира', 'Жичка', 'Жорка', 'Жулиана', 'Заека', 'Занка', 'Зафа', 'Захаринка', 'Звездемира', 'Здравелина', 'Здухостина', 'Зинаида', 'Златея', 'Златка', 'Златомира', 'Зоичка', 'Зорка', 'Зузичка', 'Ивалена', 'ивамина', - 'Иванеса', 'Иваничка', 'Ивелиана', 'Ивинка', 'Иглика', 'Изидора', 'Илеана', 'Илианна', 'Илинда', 'Илка', 'Инан', 'Инеса', 'Ира', 'Ирин', 'Ирла', 'Исихия', 'Истилияна', 'Йоана', 'Йоанна', 'Йованка', 'Йоко', 'Йолина', 'Йона', 'Йоника', 'Йорданка', 'Йоханна', 'Кадифейка', 'Калея', 'Калина', 'Калиса', 'Калуда', 'Камея', 'Кануша', 'Карамелита', 'Карина', 'Касиди', 'Катастрофа', 'Катинка', 'Каунка', 'Кветослава', 'Керанка', 'Кети', 'Кино', 'Кирка', 'Китчица', 'Клара', 'Клеуна', 'Клоя', 'Кокимира', - 'Комара', 'Константина', 'Корнелия', 'Костадинка', 'Кралина', 'Красидара', 'Красияна', 'Криси', 'кристабела', 'Кристиана', 'Кристия', 'Кръстанка', 'Ксандриния', 'Кунка', 'Кьнина', 'Лада', 'Лазура', 'Лалка', 'Лариса', 'Лаца', 'Лека', 'Ленче', 'Летисия', 'Либерта', 'Лидийка', 'Лика', 'Лилия', 'Лилянка', 'Линда', 'Лия', 'Лозанка', 'Лорена', 'Лоти', 'Луна', 'Лъчезарка', 'Любина', 'Люблина', 'Любослава', 'Люляна', 'Люсила', 'Лянка', 'Магдалена', 'Мадлен', 'Майя', 'Максимилияна', 'Малена', - 'Малтина', 'Манолина', 'Мара-антоанета', 'Маргит', 'Марен', 'Мари-анри', 'Марийка', 'Маринета', 'Мариотка', 'Мария', 'Мария-елена', 'Мария-Хуана', 'Марлена', 'Маруся', 'Маса', 'Матка', 'Маша', 'Медиха', 'Мелания', 'Мелъди', 'Меропа', 'Миглена', 'Мила', 'Милара', 'милдия', 'Милиана', 'Милост', 'Мимоза', 'Минка', 'Миранза', 'Мирена', 'Миропа', 'Мисла', 'Митошка', 'Михайлена', 'Мишка', 'Младлена', 'Момера', 'Моника', 'Мортадела', 'Мушана', 'Наводненка', 'Надка', 'Найда', 'Нани', 'Настия', - 'Наташа', 'Невена', 'Негрита', 'Неделяна', 'Нейка', 'Нелида', 'Нелла', 'Неолина', 'Нешка', 'Нигрита', 'Никоела', 'Николина', 'Нионила', 'Нона', 'Норка', 'Нурета', 'Огнена', 'Октавия', 'Оливера', 'Омана', 'Орлеана', 'Орхидея', 'Павилия', 'Павлина', 'Палвира', 'Паломина', 'Панда', 'Пантера', 'Парашкевица', 'Парунка', 'Патриотка', 'Паулина', 'Паца', 'Пейолина', 'Пелина', 'Пепелота', 'Периана', 'перуна', 'Петинка', 'Петрийка', 'Петромира', 'Петрушка', 'Пешка', 'Пламена', 'Плодовитка', - 'Полексина', 'Полин', 'Правда', 'Преса', 'Прина', 'Пролетина', 'Простисвета', 'Пупи', 'Първолетка', 'Рада', 'Радиа', 'Радимира', 'Радка', 'Радосвета', 'Радостка', 'Раинка', 'Райничка', 'Рамина', 'Ревка', 'Ренгия', 'Риана', 'Римма', 'Рия', 'Роза', 'Розана', 'Розета', 'Розка', 'Роксана', 'Ромолета', 'Роселина', 'Росислава', 'Ростислава', 'Ружка', 'Румислава', 'Русалия', 'Руска', 'Сабина', 'Савета', 'Салина', 'Санка', 'Сарая', 'Сахория', 'Свежа', 'Светла', 'Светломира', 'Свидна', 'Свободка', - 'Севда', 'севделина', 'Севета', 'Семенарка', 'Сергелинка', 'Сибила', 'Сиена', 'Силви', 'Силвия-александра', 'Силяна', 'Симона', 'Синтия', 'Сисоя', 'Скакалка', 'Славея', 'Славка', 'Сладоледка', 'Смехотерапия', 'Смирна', 'Снежинка', 'Софийка', 'Спасена', 'Спасияна', 'Спирела', 'Стависара', 'Стаматка', 'Станиела', 'Станимирка', 'Сташа', 'Стелина', 'Стефани', 'Стеяна', 'Стоимена', 'Столетка', 'Стоянка', 'Сузи', 'Съвестина', 'Сърменка', 'Таисия', 'тамара', 'Таня', 'Ташимира', 'Теа', - 'Телефонка', 'Темира', 'Теодора', 'Теса', 'Тилиана', 'Тиха', 'Тоанета', 'Толиана', 'Тона', 'Тоницвета', 'Тоска', 'Тошка', 'Трендафила', 'Трифонка', 'Троша', 'Труфана', 'Тръпка', 'Туфка', 'Улиана', 'Урима', 'Фабияна', 'Фатиме', 'Феня', 'Фикия', 'Филипини', 'Фимка', 'Флавия', 'Флорика', 'Фотинка', 'Фронка', 'Фуга', 'Хана', 'Харитония', 'Хенриета', 'Хинка', 'Холи', 'Хранислава', 'Хрисанка', 'Христа', 'Христела', 'Христилияна', 'Христоелена', 'Христя', 'Хубавелка', 'Цанета', 'Царевна', - 'Цветана', 'Цветелина', 'Цветилена', 'Цветлина', 'Цветолилия', 'Цветяна', 'Цеца', 'Цола', 'Цоня', 'Чана', 'Чардафона', 'Чачия', 'Череша', 'Четвърта', 'Чона', 'Чубрина', 'Шана', 'Шена', 'Шехерезада', 'Шинка', 'Щедра', 'Щериана', 'Щефания', 'Щилянка', 'Щтилка', 'Ъгленка', 'Ъчка', 'Юлиена', 'Юлия', 'Юнона', 'Юрита', 'Юстианна', 'Ябленка', 'Явора', 'Ягода', 'Ялислава', 'Яна - Мартина', 'Янина', 'Яниславия', 'Янка', 'Ярка', 'Ясена', 'Ятана', - ]; + protected static $firstNameFemale = [ + 'Авгия', + 'Авигея', + 'Авторка', + 'Аглая', + 'Аглоида', + 'Агнешка', + 'Адамина', + 'Адра', + 'Адрианиа', + 'Аела', + 'Айрен', + 'Аксентия', + 'Алания', + 'Албина', + 'Александрина', + 'Алексиа', + 'Аленка', + 'Алиана', + 'Алисия', + 'Алтая', + 'Амбър', + 'Амория', + 'Ана Мария', + 'Анатолия', + 'Ангелка', + 'Андика', + 'Андриана', + 'Анелина', + 'анета', + 'Анза', + 'Анимира', + 'Аница', + 'Аномалия', + 'Антоалина', + 'Антонела', + 'Ануша', + 'Анхея-мей', + 'Аполинария', + 'Аралия', + 'Аркадия', + 'Арсена', + 'Аселина', + 'Асифа', + 'Астромерия', + 'Атина', + 'Аурора', + 'Багра', + 'Балина', + 'Бацислава', + 'Беатрис', + 'Бела', + 'Белисима', + 'Беломира', + 'Бенелена', + 'Берислава', + 'Бея', + 'Билена', + 'Бисера', + 'Биянка', + 'Благодатка', + 'Благосвета', + 'Богдалина', + 'Богородка', + 'Бодурка', + 'Божидара-силвестра', + 'Божинела', + 'Божурка', + 'Бонифация', + 'Борена', + 'Бориска', + 'Борянка', + 'Боца', + 'Бригита', + 'Бронислава', + 'Буна', + 'Буча', + 'Бързана', + 'Ваклина', + 'Валерия', + 'Валя', + 'Вангелия', + 'Ванухи', + 'Варта', + 'Васенка', + 'Василина', + 'Васка', + 'Вашиля', + 'Вежда', + 'Велиана', + 'Велинна', + 'Велиянка', + 'Венда', + 'Венеция', + 'Венислава', + 'Венчислава', + 'Верена', + 'Верислава', + 'Веса', + 'Веселинка', + 'Весна', + 'Веца', + 'Видима', + 'Виктория', + 'Вилия', + 'Вилхема', + 'Виолета', + 'Виржиния', + 'Витомира', + 'Вишка', + 'Владилена', + 'Владлена', + 'Водица', + 'Войнка', + 'Вула', + 'Възкресения', + 'Въльо', + 'Върбунка', + 'Въца', + 'Габи', + 'Галена', + 'Галина', + 'Галя', + 'Гануца', + 'Гвоздейка', + 'Гена', + 'Георгелена', + 'Георгица', + 'Герга', + 'Гердана', + 'Гертруда', + 'Гиздана', + 'Гичка', + 'Гордана', + 'Гория', + 'Гоца', + 'Графица', + 'Грета', + 'Гримяна', + 'Гроздинка', + 'Гуна', + 'Гъда', + 'Гълъбица', + 'Гюгра', + 'Гюргя', + 'Дакота', + 'Дамяна', + 'Данелина', + 'Данимира', + 'Данка', + 'Дарданела', + 'Дария', + 'Дафинка', + 'Деа', + 'Деви', + 'Делиана', + 'Деля', + 'Демирела', + 'Дениандра', + 'Дениславена', + 'Денница', + 'Десимиляна', + 'Десияна', + 'Дефлорина', + 'Дея', + 'Джана', + 'Джиневра', + 'Джулия', + 'Диана - Мария', + 'Дида', + 'Дилмана', + 'Димитра', + 'Димка', + 'Динна', + 'Добрина', + 'Дойка', + 'Доменика', + 'Доника', + 'Дора-Анна', + 'Дорина', + 'Доста', + 'Доча', + 'Драгица', + 'Дренка', + 'Дуда', + 'Душка', + 'Дюкяна', + 'Евангелина', + 'Евдокия', + 'Евридика', + 'Едита', + 'Ел', + 'Елдора', + 'Еленица', + 'Елеонета', + 'Ели', + 'Елиз', + 'Елина', + 'Елиса', + 'Елица', + 'Елма', + 'Елфида', + 'Емануила', + 'Емма', + 'Еница', + 'Ергана', + 'Ермиля', + 'Естела', + 'Ефимена', + 'Ефросиния', + 'Жаклин', + 'Жанин', + 'Жара', + 'Жейна', + 'Желязка', + 'Женимира', + 'Жива', + 'Живомира', + 'Жичка', + 'Жорка', + 'Жулиана', + 'Заека', + 'Занка', + 'Зафа', + 'Захаринка', + 'Звездемира', + 'Здравелина', + 'Здухостина', + 'Зинаида', + 'Златея', + 'Златка', + 'Златомира', + 'Зоичка', + 'Зорка', + 'Зузичка', + 'Ивалена', + 'ивамина', + 'Иванеса', + 'Иваничка', + 'Ивелиана', + 'Ивинка', + 'Иглика', + 'Изидора', + 'Илеана', + 'Илианна', + 'Илинда', + 'Илка', + 'Инан', + 'Инеса', + 'Ира', + 'Ирин', + 'Ирла', + 'Исихия', + 'Истилияна', + 'Йоана', + 'Йоанна', + 'Йованка', + 'Йоко', + 'Йолина', + 'Йона', + 'Йоника', + 'Йорданка', + 'Йоханна', + 'Кадифейка', + 'Калея', + 'Калина', + 'Калиса', + 'Калуда', + 'Камея', + 'Кануша', + 'Карамелита', + 'Карина', + 'Касиди', + 'Катастрофа', + 'Катинка', + 'Каунка', + 'Кветослава', + 'Керанка', + 'Кети', + 'Кино', + 'Кирка', + 'Китчица', + 'Клара', + 'Клеуна', + 'Клоя', + 'Кокимира', + 'Комара', + 'Константина', + 'Корнелия', + 'Костадинка', + 'Кралина', + 'Красидара', + 'Красияна', + 'Криси', + 'кристабела', + 'Кристиана', + 'Кристия', + 'Кръстанка', + 'Ксандриния', + 'Кунка', + 'Кьнина', + 'Лада', + 'Лазура', + 'Лалка', + 'Лариса', + 'Лаца', + 'Лека', + 'Ленче', + 'Летисия', + 'Либерта', + 'Лидийка', + 'Лика', + 'Лилия', + 'Лилянка', + 'Линда', + 'Лия', + 'Лозанка', + 'Лорена', + 'Лоти', + 'Луна', + 'Лъчезарка', + 'Любина', + 'Люблина', + 'Любослава', + 'Люляна', + 'Люсила', + 'Лянка', + 'Магдалена', + 'Мадлен', + 'Майя', + 'Максимилияна', + 'Малена', + 'Малтина', + 'Манолина', + 'Мара-антоанета', + 'Маргит', + 'Марен', + 'Мари-анри', + 'Марийка', + 'Маринета', + 'Мариотка', + 'Мария', + 'Мария-елена', + 'Мария-Хуана', + 'Марлена', + 'Маруся', + 'Маса', + 'Матка', + 'Маша', + 'Медиха', + 'Мелания', + 'Мелъди', + 'Меропа', + 'Миглена', + 'Мила', + 'Милара', + 'милдия', + 'Милиана', + 'Милост', + 'Мимоза', + 'Минка', + 'Миранза', + 'Мирена', + 'Миропа', + 'Мисла', + 'Митошка', + 'Михайлена', + 'Мишка', + 'Младлена', + 'Момера', + 'Моника', + 'Мортадела', + 'Мушана', + 'Наводненка', + 'Надка', + 'Найда', + 'Нани', + 'Настия', + 'Наташа', + 'Невена', + 'Негрита', + 'Неделяна', + 'Нейка', + 'Нелида', + 'Нелла', + 'Неолина', + 'Нешка', + 'Нигрита', + 'Никоела', + 'Николина', + 'Нионила', + 'Нона', + 'Норка', + 'Нурета', + 'Огнена', + 'Октавия', + 'Оливера', + 'Омана', + 'Орлеана', + 'Орхидея', + 'Павилия', + 'Павлина', + 'Палвира', + 'Паломина', + 'Панда', + 'Пантера', + 'Парашкевица', + 'Парунка', + 'Патриотка', + 'Паулина', + 'Паца', + 'Пейолина', + 'Пелина', + 'Пепелота', + 'Периана', + 'перуна', + 'Петинка', + 'Петрийка', + 'Петромира', + 'Петрушка', + 'Пешка', + 'Пламена', + 'Плодовитка', + 'Полексина', + 'Полин', + 'Правда', + 'Преса', + 'Прина', + 'Пролетина', + 'Простисвета', + 'Пупи', + 'Първолетка', + 'Рада', + 'Радиа', + 'Радимира', + 'Радка', + 'Радосвета', + 'Радостка', + 'Раинка', + 'Райничка', + 'Рамина', + 'Ревка', + 'Ренгия', + 'Риана', + 'Римма', + 'Рия', + 'Роза', + 'Розана', + 'Розета', + 'Розка', + 'Роксана', + 'Ромолета', + 'Роселина', + 'Росислава', + 'Ростислава', + 'Ружка', + 'Румислава', + 'Русалия', + 'Руска', + 'Сабина', + 'Савета', + 'Салина', + 'Санка', + 'Сарая', + 'Сахория', + 'Свежа', + 'Светла', + 'Светломира', + 'Свидна', + 'Свободка', + 'Севда', + 'севделина', + 'Севета', + 'Семенарка', + 'Сергелинка', + 'Сибила', + 'Сиена', + 'Силви', + 'Силвия-александра', + 'Силяна', + 'Симона', + 'Синтия', + 'Сисоя', + 'Скакалка', + 'Славея', + 'Славка', + 'Сладоледка', + 'Смехотерапия', + 'Смирна', + 'Снежинка', + 'Софийка', + 'Спасена', + 'Спасияна', + 'Спирела', + 'Стависара', + 'Стаматка', + 'Станиела', + 'Станимирка', + 'Сташа', + 'Стелина', + 'Стефани', + 'Стеяна', + 'Стоимена', + 'Столетка', + 'Стоянка', + 'Сузи', + 'Съвестина', + 'Сърменка', + 'Таисия', + 'тамара', + 'Таня', + 'Ташимира', + 'Теа', + 'Телефонка', + 'Темира', + 'Теодора', + 'Теса', + 'Тилиана', + 'Тиха', + 'Тоанета', + 'Толиана', + 'Тона', + 'Тоницвета', + 'Тоска', + 'Тошка', + 'Трендафила', + 'Трифонка', + 'Троша', + 'Труфана', + 'Тръпка', + 'Туфка', + 'Улиана', + 'Урима', + 'Фабияна', + 'Фатиме', + 'Феня', + 'Фикия', + 'Филипини', + 'Фимка', + 'Флавия', + 'Флорика', + 'Фотинка', + 'Фронка', + 'Фуга', + 'Хана', + 'Харитония', + 'Хенриета', + 'Хинка', + 'Холи', + 'Хранислава', + 'Хрисанка', + 'Христа', + 'Христела', + 'Христилияна', + 'Христоелена', + 'Христя', + 'Хубавелка', + 'Цанета', + 'Царевна', + 'Цветана', + 'Цветелина', + 'Цветилена', + 'Цветлина', + 'Цветолилия', + 'Цветяна', + 'Цеца', + 'Цола', + 'Цоня', + 'Чана', + 'Чардафона', + 'Чачия', + 'Череша', + 'Четвърта', + 'Чона', + 'Чубрина', + 'Шана', + 'Шена', + 'Шехерезада', + 'Шинка', + 'Щедра', + 'Щериана', + 'Щефания', + 'Щилянка', + 'Щтилка', + 'Ъгленка', + 'Ъчка', + 'Юлиена', + 'Юлия', + 'Юнона', + 'Юрита', + 'Юстианна', + 'Ябленка', + 'Явора', + 'Ягода', + 'Ялислава', + 'Яна - Мартина', + 'Янина', + 'Яниславия', + 'Янка', + 'Ярка', + 'Ясена', + 'Ятана', + ]; - protected static $lastNameMale = [ - 'Чанталиев', 'Симеонов', 'Данданов', 'Кърков', 'Братухчев', 'Цветков', 'Иванов', 'Яназов', 'Тодоров', 'Колчев', 'Порязов', 'Келешев', 'Бърборков', 'Дришльов', - 'Макаронски', 'Количков', 'Принов', 'Бодуров', 'Китов', 'Гьоков', 'Кукуряшков', 'Симеонов', 'Балахуров', 'Милачков', 'Европов Кирилов', - 'Площаков', 'Мангъров', 'Хвърчилков', 'Дзезов', 'Ждраков', 'Месаров', 'Тухчиев', 'Топков', 'Яков', 'Иликьов', 'Бурханларски', 'Вражалски', 'Тутурилов', 'Бранков', - 'Зенгинов', 'Чокълтов', 'Фенеров', 'Кучев', 'Възвъзов', 'Кьоров', 'Джогов', 'Пъков', 'Рангелов', 'Чутурков', 'Самсонов', 'Ментешев', - 'Андонов', 'Бумов', 'Мочев', 'Дачев', 'Муев', 'Младенов', 'Тошев', 'Бедринов', 'Тумангелов', 'Негрилов', 'Канчин', 'Миленков', 'Патков', - 'Пондьов', 'Самоходов', 'Четрафилски', 'Смърдански', 'Клатуров', 'Вакрилов', 'Портокалов', 'Прошков', 'Пулев', 'Парашкевов', 'Манавски', 'Чуков', - 'Овнарски', 'Рошльов', 'Пройкова', 'Младенова', 'Кочеткова', 'Кесьов', 'Римпопов', 'Златков', 'Колев', 'Пикянски', 'Николов', 'Цицков', - 'Стойков', 'Каракашев', 'Чуканов', 'Докова', 'Мераков', 'Пеева', 'Педалов', 'Тъпчилещов', 'Въртунински', 'Кодуков', 'Татьозов', 'Токов', - 'Кукуригов', 'Юрганчев', 'Клатикрушев', 'Монтянов', 'Бобев', 'Топчийски', 'Луланков', 'Костов', 'Колипатков', 'Чукчуков', 'Геройски', 'Катъров', 'Кобиларов', - 'Лимонадов', 'Цоцов', 'Поаков', 'Недялков', 'Станишев', 'Йорданов', 'Щърбов', 'Щонов', 'Занов', - ]; + protected static $lastNameMale = [ + 'Чанталиев', + 'Симеонов', + 'Данданов', + 'Кърков', + 'Братухчев', + 'Цветков', + 'Иванов', + 'Яназов', + 'Тодоров', + 'Колчев', + 'Порязов', + 'Келешев', + 'Бърборков', + 'Дришльов', + 'Макаронски', + 'Количков', + 'Принов', + 'Бодуров', + 'Китов', + 'Гьоков', + 'Кукуряшков', + 'Симеонов', + 'Балахуров', + 'Милачков', + 'Европов Кирилов', + 'Площаков', + 'Мангъров', + 'Хвърчилков', + 'Дзезов', + 'Ждраков', + 'Месаров', + 'Тухчиев', + 'Топков', + 'Яков', + 'Иликьов', + 'Бурханларски', + 'Вражалски', + 'Тутурилов', + 'Бранков', + 'Зенгинов', + 'Чокълтов', + 'Фенеров', + 'Кучев', + 'Възвъзов', + 'Кьоров', + 'Джогов', + 'Пъков', + 'Рангелов', + 'Чутурков', + 'Самсонов', + 'Ментешев', + 'Андонов', + 'Бумов', + 'Мочев', + 'Дачев', + 'Муев', + 'Младенов', + 'Тошев', + 'Бедринов', + 'Тумангелов', + 'Негрилов', + 'Канчин', + 'Миленков', + 'Патков', + 'Пондьов', + 'Самоходов', + 'Четрафилски', + 'Смърдански', + 'Клатуров', + 'Вакрилов', + 'Портокалов', + 'Прошков', + 'Пулев', + 'Парашкевов', + 'Манавски', + 'Чуков', + 'Овнарски', + 'Рошльов', + 'Пройкова', + 'Младенова', + 'Кочеткова', + 'Кесьов', + 'Римпопов', + 'Златков', + 'Колев', + 'Пикянски', + 'Николов', + 'Цицков', + 'Стойков', + 'Каракашев', + 'Чуканов', + 'Докова', + 'Мераков', + 'Пеева', + 'Педалов', + 'Тъпчилещов', + 'Въртунински', + 'Кодуков', + 'Татьозов', + 'Токов', + 'Кукуригов', + 'Юрганчев', + 'Клатикрушев', + 'Монтянов', + 'Бобев', + 'Топчийски', + 'Луланков', + 'Костов', + 'Колипатков', + 'Чукчуков', + 'Геройски', + 'Катъров', + 'Кобиларов', + 'Лимонадов', + 'Цоцов', + 'Поаков', + 'Недялков', + 'Станишев', + 'Йорданов', + 'Щърбов', + 'Щонов', + 'Занов', + ]; - protected static $lastNameFemale = [ - 'Шестакова', 'Кокошкова', 'Градинарова', 'Куртакова', 'Чанлиева', 'Тодорова', 'Пътечкова', 'Скринска', 'Сапунджиева', 'Вампирска', 'Червенкова', 'Васовa', 'Таралингова', - 'Илиева', 'Кривошапкова', 'Чупетловска', 'Катърова', 'Бележкова', 'Мустакова', 'Пръндачка', 'Коритарова', 'Йоткова', 'Сланинкова', 'Мангъфова', 'Шкембова', 'Пенджакова', - 'Пачаръзка', 'Куртажова', 'Плюнкова', 'Многознаева', 'Контопишева', 'Белоконска-Вражалска', 'Кучкуделова', 'Крушовска', 'Пищовколева', 'Сопаджиева', 'Точева-Клопова', - 'Габровлиева', 'Първанова', 'Певецова', 'Курухубева', 'Яркова', 'Плюцова', 'Балканска', - ]; + protected static $lastNameFemale = [ + 'Шестакова', + 'Кокошкова', + 'Градинарова', + 'Куртакова', + 'Чанлиева', + 'Тодорова', + 'Пътечкова', + 'Скринска', + 'Сапунджиева', + 'Вампирска', + 'Червенкова', + 'Васовa', + 'Таралингова', + 'Илиева', + 'Кривошапкова', + 'Чупетловска', + 'Катърова', + 'Бележкова', + 'Мустакова', + 'Пръндачка', + 'Коритарова', + 'Йоткова', + 'Сланинкова', + 'Мангъфова', + 'Шкембова', + 'Пенджакова', + 'Пачаръзка', + 'Куртажова', + 'Плюнкова', + 'Многознаева', + 'Контопишева', + 'Белоконска-Вражалска', + 'Кучкуделова', + 'Крушовска', + 'Пищовколева', + 'Сопаджиева', + 'Точева-Клопова', + 'Габровлиева', + 'Първанова', + 'Певецова', + 'Курухубева', + 'Яркова', + 'Плюцова', + 'Балканска', + ]; - protected static $titleMale = ['Г-н', 'Др.']; - protected static $titleFemale = ['Г-жа', 'Г-ца', 'Др.']; + protected static $titleMale = [ 'Г-н', 'Др.' ]; + protected static $titleFemale = [ 'Г-жа', 'Г-ца', 'Др.' ]; - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Чанталиев' - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Чанталиев' + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/PhoneNumber.php index 22051df..2a6f29d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bg_BG/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bg_BG/PhoneNumber.php @@ -2,19 +2,18 @@ namespace Faker\Provider\bg_BG; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+359(0)#########', - '+359(0)### ######', - '+359(0)### ### ###', - '+359#########', - '0#########', - '0### ######', - '0### ### ###', - '0### ###-###', - '(0###) ######', - '(0###) ### ###', - '(0###) ###-###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+359(0)#########', + '+359(0)### ######', + '+359(0)### ### ###', + '+359#########', + '0#########', + '0### ######', + '0### ### ###', + '0### ###-###', + '(0###) ######', + '(0###) ### ###', + '(0###) ###-###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Address.php b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Address.php index 896306f..89e40bb 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Address.php @@ -2,309 +2,318 @@ namespace Faker\Provider\bn_BD; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['দক্ষিন', 'পূর্ব', 'পশ্চিম', 'উত্তর', 'নতুন', 'লেইক', 'পোর্ট']; - protected static $citySuffix = ['টাউন', 'তলা', 'হাট', 'খানা']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'দক্ষিন', 'পূর্ব', 'পশ্চিম', 'উত্তর', 'নতুন', 'লেইক', 'পোর্ট' ]; + protected static $citySuffix = [ 'টাউন', 'তলা', 'হাট', 'খানা' ]; - protected static $streetNames = [ - 'বরকত', 'হাজী', 'করিমউদ্দিন', - ]; + protected static $streetNames = [ + 'বরকত', + 'হাজী', + 'করিমউদ্দিন', + ]; - protected static $streetSuffix = [ - 'তলী', 'গলি', 'চিপা', 'ব্রীজ', 'সড়ক', 'বাইপাস', 'ক্যাম্প', - ]; - protected static $postcode = ['#####', '#####-####']; - protected static $state = [ - 'খুলনা', 'বরিশাল', 'চিটাগং', 'ঢাকা', 'রাজশাহী', 'সিলেট', 'কুমিল্লা', - ]; - protected static $country = [ - 'অস্ট্রিয়া', - 'অস্ট্রেলিয়া', - 'অ্যাঙ্গোলা', - 'অ্যান্টার্কটিকা', - 'অ্যাসসেনশন আইল্যান্ড', - 'আইভরি কোস্ট', - 'আইল অফ ম্যান', - 'আইসল্যান্ড', - 'আজারবাইজান', - 'আফগানিস্তান', - 'আমেরিকান সামোয়া', - 'আয়ারল্যান্ড', - 'আরুবা', - 'আর্জেন্টিনা', - 'আর্মেনিয়া', - 'আলজেরিয়া', - 'আলব্যানিয়া', - 'আলান্ড দ্বীপপুঞ্জ', - 'ইউক্রেইন', - 'ইকুয়েডর', - 'ইতালী', - 'ইন্দোনেশিয়া', - 'ইফিওপিয়া', - 'ইয়েমেন', - 'ইরাক', - 'ইরান', - 'ইরিত্রিয়া', - 'ইস্রায়েল', - 'উগান্ডা', - 'উজবেকিস্তান', - 'উত্তর কোরিয়া', - 'উত্তরাঞ্চলীয় মারিয়ানা দ্বীপপুঞ্জ', - 'উরুগুয়ে', - 'এন্টিগুয়া ও বারবুডা', - 'এল সালভেদর', - 'এস্তোনিয়া', - 'এ্যাঙ্গুইলা', - 'এ্যান্ডোরা', - 'ওমান', - 'ওয়ালিস ও ফুটুনা', - 'কঙ্গো - ব্রাজাভিল', - 'কঙ্গো-কিনশাসা', - 'কমোরোস', - 'কম্বোডিয়া', - 'কসোভো', - 'কাজাকস্থান', - 'কাতার', - 'কানাডা', - 'কিউবা', - 'কিউরাসাও', - 'কিরিবাতি', - 'কির্গিজিয়া', - 'কুউটা এবং মেলিলা', - 'কুক দ্বীপপুঞ্জ', - 'কুয়েত', - 'কেনিয়া', - 'কেপভার্দে', - 'কেম্যান দ্বীপপুঞ্জ', - 'কোকোস (কদ্বীপপুঞ্জ', - 'কোলোম্বিয়া', - 'কোস্টারিকা', - 'ক্যানারি দ্বীপপুঞ্জ', - 'ক্যামেরুন', - 'ক্যারিবিয়ান নেদারল্যান্ডস', - 'ক্রিসমাস দ্বীপ', - 'ক্রোয়েশিয়া', - 'গাম্বিয়া', - 'গিনি', - 'গিনি-বিসাউ', - 'গিয়ানা', - 'গুয়াদেলৌপ', - 'গুয়াম', - 'গোয়াটিমালা', - 'গ্যাবন', - 'গ্রাঞ্জি', - 'গ্রীনল্যান্ড', - 'গ্রীস', - 'গ্রেনাডা', - 'ঘানা', - 'চাদ', - 'চিলি', - 'চীন', - 'চেক প্রজাতন্ত্র', - 'জর্জিয়া', - 'জর্ডন', - 'জাপান', - 'জাম্বিয়া', - 'জার্মানি', - 'জার্সি', - 'জিবুতি', - 'জিব্রাল্টার', - 'জিম্বাবোয়ে', - 'জ্যামাইকা', - 'টুভালু', - 'টোকেলাউ', - 'টোগো', - 'টোঙ্গা', - 'ট্রিস্টান ডা কুনহা', - 'ডেনমার্ক', - 'ডোমিনিকা', - 'ডোমেনিকান প্রজাতন্ত্র', - 'তাইওয়ান', - 'তাজিকস্থান', - 'তাঞ্জানিয়া', - 'তিউনিশিয়া', - 'তিমুর-লেস্তে', - 'তুরস্ক', - 'তুর্কমেনিস্তান', - 'তুর্কস ও কাইকোস দ্বীপপুঞ্জ', - 'ত্রিনিনাদ ও টোব্যাগো', - 'থাইল্যান্ড', - 'দক্ষিণ আফ্রিকা', - 'দক্ষিণ কোরিয়া', - 'দক্ষিণ জর্জিয়া ও দক্ষিণ স্যান্ডউইচ দ্বীপপুঞ্জ', - 'দক্ষিন সুদান', - 'দিয়েগো গার্সিয়া', - 'নরওয়ে', - 'নাইজার', - 'নাইজেরিয়া', - 'নাউরু', - 'নামিবিয়া', - 'নিউ ক্যালেডোনিয়া', - 'নিউজিল্যান্ড', - 'নিউয়ে', - 'নিকারাগুয়া', - 'নিরক্ষীয় গিনি', - 'নিরফোক দ্বীপ', - 'নেদারল্যান্ডস', - 'নেপাল', - 'পর্তুগাল', - 'পশ্চিম সাহারা', - 'পাকিস্তান', - 'পানামা', - 'পাপুয়া নিউ গিনি', - 'পালাউ', - 'পিটকেয়ার্ন দ্বীপপুঞ্জ', - 'পিরু', - 'পুয়ের্তো রিকো', - 'পোল্যান্ড', - 'প্যারাগুয়ে', - 'ফকল্যান্ড দ্বীপপুঞ্জ', - 'ফরাসী গায়ানা', - 'ফরাসী দক্ষিণাঞ্চল', - 'ফরাসী পলিনেশিয়া', - 'ফিজি', - 'ফিনল্যান্ড', - 'ফিলিপাইন', - 'ফিলিস্তিন অঞ্চলসমূহ', - 'ফ্যারও দ্বীপপুঞ্জ', - 'ফ্রান্স', - 'বতসোয়ানা', - 'বসনিয়া ও হার্জেগোভিনা', - 'বাংলাদেশ', - 'বারবাদোস', - 'বারমুডা', - 'বাহরাইন', - 'বাহামা দ্বীপপুঞ্জ', - 'বুরকিনা ফাসো', - 'বুরুন্ডি', - 'বুলগেরিয়া', - 'বেনিন', - 'বেলজিয়াম', - 'বেলিজ', - 'বেলোরুশিয়া', - 'বোলিভিয়া', - 'ব্রাজিল', - 'ব্রিটিশ ভারত মহাসাগরীয় অঞ্চল', - 'ব্রিটিশ ভার্জিন দ্বীপপুঞ্জ', - 'ব্রুনেই', - 'ভানুয়াটু', - 'ভারত', - 'ভিয়েতনাম', - 'ভুটান', - 'ভেনেজুয়েলা', - 'ভ্যাটিকান সিটি', - 'মঙ্গোলিয়া', - 'মধ্য আফ্রিকার প্রজাতন্ত্র', - 'মন্টসেরাট', - 'মন্টিনিগ্রো', - 'মরিতানিয়া', - 'মরিশাস', - 'মাইক্রোনেশিয়া', - 'মাদাগাস্কার', - 'মায়ানমার (বা', - 'মায়োত্তে', - 'মার্কিন ভার্জিন দ্বীপপুঞ্জ', - 'মার্কিন যুক্তরাষ্ট্র', - 'মার্টিনিক', - 'মার্শাল দ্বীপপুঞ্জ', - 'মালদ্বীপ', - 'মালয়েশিয়া', - 'মালাউই', - 'মালি', - 'মাল্টা', - 'মিশর', - 'মেক্সিকো', - 'মোজাম্বিক', - 'মোনাকো', - 'মোরক্কো', - 'মোল্দাভিয়া', - 'ম্যাকাও এস এ আর চায়না', - 'ম্যাসাডোনিয়া', - 'যুক্তরাজ্য', - 'যুক্তরাষ্ট্রের পার্শ্ববর্তী দ্বীপপুঞ্জ', - 'রাশিয়া', - 'রিইউনিয়ন', - 'রুমানিয়া', - 'রুয়ান্ডা', - 'লাইবেরিয়া', - 'লাওস', - 'লাক্সেমবার্গ', - 'লাত্ভিয়া', - 'লিচেনস্টেইন', - 'লিথুয়ানিয়া', - 'লিবিয়া', - 'লেবানন', - 'লেসোথো', - 'শ্রীলঙ্কা', - 'শ্লোভাকিয়া', - 'সংযুক্ত আরব আমিরাত', - 'সলোমন দ্বীপপুঞ্জ', - 'সাইপ্রাস', - 'সাওটোমা ও প্রিন্সিপি', - 'সান মারিনো', - 'সামোয়া', - 'সার্বিয়া', - 'সিঙ্গাপুর', - 'সিন্ট মার্টেন', - 'সিয়েরালিওন', - 'সিরিয়া', - 'সিসিলি', - 'সুইজারল্যান্ড', - 'সুইডেন', - 'সুদান', - 'সুরিনাম', - 'সেনেগাল', - 'সেন্ট কিটস ও নেভিস', - 'সেন্ট পিয়ের ও মিকুয়েলন', - 'সেন্ট বারথেলিমি', - 'সেন্ট ভিনসেন্ট ও দ্যা গ্রেনাডিনস', - 'সেন্ট মার্টিন', - 'সেন্ট লুসিয়া', - 'সেন্ট হেলেনা', - 'সোমালিয়া', - 'সোয়াজিল্যান্ড', - 'সৌদি আরব', - 'স্পেন', - 'স্বালবার্ড ও জান মেয়েন', - 'স্লোভানিয়া', - 'হংকং এসএআর চীনা', - 'হণ্ডুরাস', - 'হাইতি', - 'হাঙ্গেরি', - ]; - protected static $cityFormats = [ - '{{cityPrefix}}{{citySuffix}}', + protected static $streetSuffix = [ + 'তলী', + 'গলি', + 'চিপা', + 'ব্রীজ', + 'সড়ক', + 'বাইপাস', + 'ক্যাম্প', + ]; + protected static $postcode = [ '#####', '#####-####' ]; + protected static $state = [ + 'খুলনা', + 'বরিশাল', + 'চিটাগং', + 'ঢাকা', + 'রাজশাহী', + 'সিলেট', + 'কুমিল্লা', + ]; + protected static $country = [ + 'অস্ট্রিয়া', + 'অস্ট্রেলিয়া', + 'অ্যাঙ্গোলা', + 'অ্যান্টার্কটিকা', + 'অ্যাসসেনশন আইল্যান্ড', + 'আইভরি কোস্ট', + 'আইল অফ ম্যান', + 'আইসল্যান্ড', + 'আজারবাইজান', + 'আফগানিস্তান', + 'আমেরিকান সামোয়া', + 'আয়ারল্যান্ড', + 'আরুবা', + 'আর্জেন্টিনা', + 'আর্মেনিয়া', + 'আলজেরিয়া', + 'আলব্যানিয়া', + 'আলান্ড দ্বীপপুঞ্জ', + 'ইউক্রেইন', + 'ইকুয়েডর', + 'ইতালী', + 'ইন্দোনেশিয়া', + 'ইফিওপিয়া', + 'ইয়েমেন', + 'ইরাক', + 'ইরান', + 'ইরিত্রিয়া', + 'ইস্রায়েল', + 'উগান্ডা', + 'উজবেকিস্তান', + 'উত্তর কোরিয়া', + 'উত্তরাঞ্চলীয় মারিয়ানা দ্বীপপুঞ্জ', + 'উরুগুয়ে', + 'এন্টিগুয়া ও বারবুডা', + 'এল সালভেদর', + 'এস্তোনিয়া', + 'এ্যাঙ্গুইলা', + 'এ্যান্ডোরা', + 'ওমান', + 'ওয়ালিস ও ফুটুনা', + 'কঙ্গো - ব্রাজাভিল', + 'কঙ্গো-কিনশাসা', + 'কমোরোস', + 'কম্বোডিয়া', + 'কসোভো', + 'কাজাকস্থান', + 'কাতার', + 'কানাডা', + 'কিউবা', + 'কিউরাসাও', + 'কিরিবাতি', + 'কির্গিজিয়া', + 'কুউটা এবং মেলিলা', + 'কুক দ্বীপপুঞ্জ', + 'কুয়েত', + 'কেনিয়া', + 'কেপভার্দে', + 'কেম্যান দ্বীপপুঞ্জ', + 'কোকোস (কদ্বীপপুঞ্জ', + 'কোলোম্বিয়া', + 'কোস্টারিকা', + 'ক্যানারি দ্বীপপুঞ্জ', + 'ক্যামেরুন', + 'ক্যারিবিয়ান নেদারল্যান্ডস', + 'ক্রিসমাস দ্বীপ', + 'ক্রোয়েশিয়া', + 'গাম্বিয়া', + 'গিনি', + 'গিনি-বিসাউ', + 'গিয়ানা', + 'গুয়াদেলৌপ', + 'গুয়াম', + 'গোয়াটিমালা', + 'গ্যাবন', + 'গ্রাঞ্জি', + 'গ্রীনল্যান্ড', + 'গ্রীস', + 'গ্রেনাডা', + 'ঘানা', + 'চাদ', + 'চিলি', + 'চীন', + 'চেক প্রজাতন্ত্র', + 'জর্জিয়া', + 'জর্ডন', + 'জাপান', + 'জাম্বিয়া', + 'জার্মানি', + 'জার্সি', + 'জিবুতি', + 'জিব্রাল্টার', + 'জিম্বাবোয়ে', + 'জ্যামাইকা', + 'টুভালু', + 'টোকেলাউ', + 'টোগো', + 'টোঙ্গা', + 'ট্রিস্টান ডা কুনহা', + 'ডেনমার্ক', + 'ডোমিনিকা', + 'ডোমেনিকান প্রজাতন্ত্র', + 'তাইওয়ান', + 'তাজিকস্থান', + 'তাঞ্জানিয়া', + 'তিউনিশিয়া', + 'তিমুর-লেস্তে', + 'তুরস্ক', + 'তুর্কমেনিস্তান', + 'তুর্কস ও কাইকোস দ্বীপপুঞ্জ', + 'ত্রিনিনাদ ও টোব্যাগো', + 'থাইল্যান্ড', + 'দক্ষিণ আফ্রিকা', + 'দক্ষিণ কোরিয়া', + 'দক্ষিণ জর্জিয়া ও দক্ষিণ স্যান্ডউইচ দ্বীপপুঞ্জ', + 'দক্ষিন সুদান', + 'দিয়েগো গার্সিয়া', + 'নরওয়ে', + 'নাইজার', + 'নাইজেরিয়া', + 'নাউরু', + 'নামিবিয়া', + 'নিউ ক্যালেডোনিয়া', + 'নিউজিল্যান্ড', + 'নিউয়ে', + 'নিকারাগুয়া', + 'নিরক্ষীয় গিনি', + 'নিরফোক দ্বীপ', + 'নেদারল্যান্ডস', + 'নেপাল', + 'পর্তুগাল', + 'পশ্চিম সাহারা', + 'পাকিস্তান', + 'পানামা', + 'পাপুয়া নিউ গিনি', + 'পালাউ', + 'পিটকেয়ার্ন দ্বীপপুঞ্জ', + 'পিরু', + 'পুয়ের্তো রিকো', + 'পোল্যান্ড', + 'প্যারাগুয়ে', + 'ফকল্যান্ড দ্বীপপুঞ্জ', + 'ফরাসী গায়ানা', + 'ফরাসী দক্ষিণাঞ্চল', + 'ফরাসী পলিনেশিয়া', + 'ফিজি', + 'ফিনল্যান্ড', + 'ফিলিপাইন', + 'ফিলিস্তিন অঞ্চলসমূহ', + 'ফ্যারও দ্বীপপুঞ্জ', + 'ফ্রান্স', + 'বতসোয়ানা', + 'বসনিয়া ও হার্জেগোভিনা', + 'বাংলাদেশ', + 'বারবাদোস', + 'বারমুডা', + 'বাহরাইন', + 'বাহামা দ্বীপপুঞ্জ', + 'বুরকিনা ফাসো', + 'বুরুন্ডি', + 'বুলগেরিয়া', + 'বেনিন', + 'বেলজিয়াম', + 'বেলিজ', + 'বেলোরুশিয়া', + 'বোলিভিয়া', + 'ব্রাজিল', + 'ব্রিটিশ ভারত মহাসাগরীয় অঞ্চল', + 'ব্রিটিশ ভার্জিন দ্বীপপুঞ্জ', + 'ব্রুনেই', + 'ভানুয়াটু', + 'ভারত', + 'ভিয়েতনাম', + 'ভুটান', + 'ভেনেজুয়েলা', + 'ভ্যাটিকান সিটি', + 'মঙ্গোলিয়া', + 'মধ্য আফ্রিকার প্রজাতন্ত্র', + 'মন্টসেরাট', + 'মন্টিনিগ্রো', + 'মরিতানিয়া', + 'মরিশাস', + 'মাইক্রোনেশিয়া', + 'মাদাগাস্কার', + 'মায়ানমার (বা', + 'মায়োত্তে', + 'মার্কিন ভার্জিন দ্বীপপুঞ্জ', + 'মার্কিন যুক্তরাষ্ট্র', + 'মার্টিনিক', + 'মার্শাল দ্বীপপুঞ্জ', + 'মালদ্বীপ', + 'মালয়েশিয়া', + 'মালাউই', + 'মালি', + 'মাল্টা', + 'মিশর', + 'মেক্সিকো', + 'মোজাম্বিক', + 'মোনাকো', + 'মোরক্কো', + 'মোল্দাভিয়া', + 'ম্যাকাও এস এ আর চায়না', + 'ম্যাসাডোনিয়া', + 'যুক্তরাজ্য', + 'যুক্তরাষ্ট্রের পার্শ্ববর্তী দ্বীপপুঞ্জ', + 'রাশিয়া', + 'রিইউনিয়ন', + 'রুমানিয়া', + 'রুয়ান্ডা', + 'লাইবেরিয়া', + 'লাওস', + 'লাক্সেমবার্গ', + 'লাত্ভিয়া', + 'লিচেনস্টেইন', + 'লিথুয়ানিয়া', + 'লিবিয়া', + 'লেবানন', + 'লেসোথো', + 'শ্রীলঙ্কা', + 'শ্লোভাকিয়া', + 'সংযুক্ত আরব আমিরাত', + 'সলোমন দ্বীপপুঞ্জ', + 'সাইপ্রাস', + 'সাওটোমা ও প্রিন্সিপি', + 'সান মারিনো', + 'সামোয়া', + 'সার্বিয়া', + 'সিঙ্গাপুর', + 'সিন্ট মার্টেন', + 'সিয়েরালিওন', + 'সিরিয়া', + 'সিসিলি', + 'সুইজারল্যান্ড', + 'সুইডেন', + 'সুদান', + 'সুরিনাম', + 'সেনেগাল', + 'সেন্ট কিটস ও নেভিস', + 'সেন্ট পিয়ের ও মিকুয়েলন', + 'সেন্ট বারথেলিমি', + 'সেন্ট ভিনসেন্ট ও দ্যা গ্রেনাডিনস', + 'সেন্ট মার্টিন', + 'সেন্ট লুসিয়া', + 'সেন্ট হেলেনা', + 'সোমালিয়া', + 'সোয়াজিল্যান্ড', + 'সৌদি আরব', + 'স্পেন', + 'স্বালবার্ড ও জান মেয়েন', + 'স্লোভানিয়া', + 'হংকং এসএআর চীনা', + 'হণ্ডুরাস', + 'হাইতি', + 'হাঙ্গেরি', + ]; + protected static $cityFormats = [ + '{{cityPrefix}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{banglaStreetName}} {{streetSuffix}}', + ]; + protected static $streetNameFormats = [ + '{{banglaStreetName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetNumber}} {{streetName}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{city}} {{state}}', - ]; + ]; + protected static $streetAddressFormats = [ + '{{streetNumber}} {{streetName}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{city}} {{state}}', + ]; - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - public static function state() - { - return static::randomElement(static::$state); - } + public static function state() { + return static::randomElement( static::$state ); + } - public static function streetNumber() - { - return Utils::getBanglaNumber(self::numberBetween(1, 100)); - } + public static function streetNumber() { + return Utils::getBanglaNumber( self::numberBetween( 1, 100 ) ); + } - public static function banglaStreetName() - { - return static::randomElement(static::$streetNames); - } + public static function banglaStreetName() { + return static::randomElement( static::$streetNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Company.php b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Company.php index a6a62f1..70cd50a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Company.php @@ -2,27 +2,28 @@ namespace Faker\Provider\bn_BD; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyName}} {{companyType}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyName}} {{companyType}}', + ]; - protected static $names = [ - 'রহিম', 'করিম', 'বাবলু', - ]; + protected static $names = [ + 'রহিম', + 'করিম', + 'বাবলু', + ]; - protected static $types = [ - 'সিমেন্ট', 'সার', 'ঢেউটিন', - ]; + protected static $types = [ + 'সিমেন্ট', + 'সার', + 'ঢেউটিন', + ]; - public static function companyType() - { - return static::randomElement(static::$types); - } + public static function companyType() { + return static::randomElement( static::$types ); + } - public static function companyName() - { - return static::randomElement(static::$names); - } + public static function companyName() { + return static::randomElement( static::$names ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Person.php b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Person.php index b855a9c..616069e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Person.php @@ -2,35 +2,61 @@ namespace Faker\Provider\bn_BD; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'অনন্ত', 'আব্দুল্লাহ', 'আহসান', 'ইমরুল', 'করিম', 'জলিল', 'বরকত', 'মাসনুন', 'রহিম', 'রিফাত', 'হাসনাত', 'হাসান', - ]; - - protected static $firstNameFemale = [ - 'জারিন', 'জেরিন', 'ফারহানা', 'ফাহমেদা', 'মাহজাবিন', 'মেহনাজ', 'রহিমা', 'লাবনী', 'সাবরিন', 'সাবরিনা', 'হাসিন', 'রহমত', - ]; - - protected static $lastName = [ - 'খান', 'শেখ', 'শিকদার', 'আলী', 'তাসনীম', 'তাবাসসুম', - ]; - - protected static $titleMale = ['মি.']; - - protected static $titleFemale = ['মিসেস.', 'মিস.']; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'অনন্ত', + 'আব্দুল্লাহ', + 'আহসান', + 'ইমরুল', + 'করিম', + 'জলিল', + 'বরকত', + 'মাসনুন', + 'রহিম', + 'রিফাত', + 'হাসনাত', + 'হাসান', + ]; + + protected static $firstNameFemale = [ + 'জারিন', + 'জেরিন', + 'ফারহানা', + 'ফাহমেদা', + 'মাহজাবিন', + 'মেহনাজ', + 'রহিমা', + 'লাবনী', + 'সাবরিন', + 'সাবরিনা', + 'হাসিন', + 'রহমত', + ]; + + protected static $lastName = [ + 'খান', + 'শেখ', + 'শিকদার', + 'আলী', + 'তাসনীম', + 'তাবাসসুম', + ]; + + protected static $titleMale = [ 'মি.' ]; + + protected static $titleFemale = [ 'মিসেস.', 'মিস.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/PhoneNumber.php index 9a3b4d0..7af5015 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/PhoneNumber.php @@ -2,13 +2,11 @@ namespace Faker\Provider\bn_BD; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - public function phoneNumber() - { - $number = '+880'; - $number .= static::randomNumber(7); +class PhoneNumber extends \Faker\Provider\PhoneNumber { + public function phoneNumber() { + $number = '+880'; + $number .= static::randomNumber( 7 ); - return Utils::getBanglaNumber($number); - } + return Utils::getBanglaNumber( $number ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Utils.php b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Utils.php index 2084f0a..0817c1b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Utils.php +++ b/lib/fakerphp/faker/src/Faker/Provider/bn_BD/Utils.php @@ -2,13 +2,11 @@ namespace Faker\Provider\bn_BD; -class Utils -{ - public static function getBanglaNumber($number) - { - $english = range(0, 10); - $bangla = ['০', '১', '২', '৩', '৪', '৫', '৬', '৭', '৮', '৯']; +class Utils { + public static function getBanglaNumber( $number ) { + $english = range( 0, 10 ); + $bangla = [ '০', '১', '২', '৩', '৪', '৫', '৬', '৭', '৮', '৯' ]; - return str_replace($english, $bangla, $number); - } + return str_replace( $english, $bangla, $number ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Address.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Address.php index 7b08646..86e5dbc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Address.php @@ -2,148 +2,538 @@ namespace Faker\Provider\cs_CZ; -class Address extends \Faker\Provider\Address -{ - protected static $streetAddressFormats = [ - '{{streetName}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - ]; +class Address extends \Faker\Provider\Address { + protected static $streetAddressFormats = [ + '{{streetName}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{region}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - "{{streetAddress}}\n{{postcode}} {{city}}\nČeská republika", - ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{region}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + "{{streetAddress}}\n{{postcode}} {{city}}\nČeská republika", + ]; - protected static $buildingNumber = ['%', '%%', '%/%%', '%%/%%', '%/%%%', '%%/%%%']; + protected static $buildingNumber = [ '%', '%%', '%/%%', '%%/%%', '%/%%%', '%%/%%%' ]; - protected static $postcode = ['#####', '### ##']; + protected static $postcode = [ '#####', '### ##' ]; - /** - * Source: https://cs.wikipedia.org/wiki/Seznam_m%C4%9Bst_v_%C4%8Cesku_podle_po%C4%8Dtu_obyvatel - */ - protected static $city = [ - 'Brno', 'Břeclav', 'Cheb', 'Chomutov', 'Chrudim', 'Černošice', 'Česká Lípa', 'České Budějovice', - 'Český Těšín', 'Děčín', 'Frýdek-Místek', 'Havlíčkův Brod', 'Havířov', 'Hodonín', 'Hradec Králové', - 'Jablonec nad Nisou', 'Jihlava', 'Karlovy Vary', 'Karviná', 'Kladno', 'Kolín', 'Krnov', 'Kroměříž', - 'Liberec', 'Litoměřice', 'Litvínov', 'Mladá Boleslav', 'Most', 'Nový Jičín', 'Olomouc', 'Opava', 'Orlová', - 'Ostrava', 'Pardubice', 'Plzeň', 'Praha', 'Prostějov', 'Písek', 'Přerov', 'Příbram', 'Sokolov', 'Šumperk', - 'Teplice', 'Trutnov', 'Tábor', 'Třebíč', 'Třinec', 'Uherské Hradiště', 'Ústí nad Labem', - 'Valašské Meziříčí', 'Vsetín', 'Zlín', 'Znojmo', - ]; + /** + * Source: https://cs.wikipedia.org/wiki/Seznam_m%C4%9Bst_v_%C4%8Cesku_podle_po%C4%8Dtu_obyvatel + */ + protected static $city = [ + 'Brno', + 'Břeclav', + 'Cheb', + 'Chomutov', + 'Chrudim', + 'Černošice', + 'Česká Lípa', + 'České Budějovice', + 'Český Těšín', + 'Děčín', + 'Frýdek-Místek', + 'Havlíčkův Brod', + 'Havířov', + 'Hodonín', + 'Hradec Králové', + 'Jablonec nad Nisou', + 'Jihlava', + 'Karlovy Vary', + 'Karviná', + 'Kladno', + 'Kolín', + 'Krnov', + 'Kroměříž', + 'Liberec', + 'Litoměřice', + 'Litvínov', + 'Mladá Boleslav', + 'Most', + 'Nový Jičín', + 'Olomouc', + 'Opava', + 'Orlová', + 'Ostrava', + 'Pardubice', + 'Plzeň', + 'Praha', + 'Prostějov', + 'Písek', + 'Přerov', + 'Příbram', + 'Sokolov', + 'Šumperk', + 'Teplice', + 'Trutnov', + 'Tábor', + 'Třebíč', + 'Třinec', + 'Uherské Hradiště', + 'Ústí nad Labem', + 'Valašské Meziříčí', + 'Vsetín', + 'Zlín', + 'Znojmo', + ]; - /** - * Source: https://cs.wikipedia.org/wiki/Seznam_st%C3%A1t%C5%AF_sv%C4%9Bta - */ - protected static $country = [ - 'Afghánistán', 'Albánie', 'Alžírsko', 'Andorra', 'Angola', 'Antigua a Barbuda', 'Argentina', - 'Arménie', 'Austrálie', 'Ázerbájdžán', 'Bahamy', 'Bahrajn', 'Bangladéš', 'Barbados', 'Belgie', - 'Belize', 'Benin', 'Bělorusko', 'Bhútán', 'Bolívie', 'Bosna a Hercegovina', 'Botswana', 'Brazílie', - 'Brunej', 'Bulharsko', 'Burkina Faso', 'Burundi', 'Cookovy ostrovy', 'Čad', 'Černá Hora', 'Česká republika', - 'Čína', 'Dánsko', 'Demokratická republika Kongo', 'Dominika', 'Dominikánská republika', 'Džibutsko', - 'Egypt', 'Ekvádor', 'Eritrea', 'Estonsko', 'Etiopie', 'Fidži', 'Filipíny', 'Finsko', 'Francie', 'Gabon', - 'Gambie', 'Ghana', 'Grenada', 'Gruzie', 'Guatemala', 'Guinea', 'Guinea-Bissau', 'Guyana', 'Haiti', 'Honduras', - 'Chile', 'Chorvatsko', 'Indie', 'Indonésie', 'Irák', 'Írán', 'Irsko', 'Island', 'Itálie', 'Izrael', 'Jamajka', - 'Japonsko', 'Jemen', 'Jihoafrická republika', 'Jižní Korea', 'Jižní Súdán', 'Jordánsko', 'Kambodža', 'Kamerun', - 'Kanada', 'Kapverdy', 'Katar', 'Kazachstán', 'Keňa', 'Kiribati', 'Kolumbie', 'Komory', 'Republika Kongo', - 'Kostarika', 'Kuba', 'Kuvajt', 'Kypr', 'Kyrgyzstán', 'Laos', 'Lesotho', 'Libanon', 'Libérie', 'Libye', - 'Lichtenštejnsko', 'Litva', 'Lotyšsko', 'Lucembursko', 'Madagaskar', 'Maďarsko', 'Makedonie', 'Malajsie', - 'Malawi', 'Maledivy', 'Mali', 'Malta', 'Maroko', 'Marshallovy ostrovy', 'Mauritánie', 'Mauricius', 'Mexiko', - 'Federativní státy Mikronésie', 'Moldavsko', 'Monako', 'Mongolsko', 'Mosambik', 'Myanmar', 'Namibie', 'Nauru', - 'Nepál', 'Německo', 'Niger', 'Nigérie', 'Nikaragua', 'Niue', 'Nizozemsko', 'Norsko', 'Nový Zéland', 'Omán', - 'Pákistán', 'Palau', 'Panama', 'Papua-Nová Guinea', 'Paraguay', 'Peru', 'Pobřeží slonoviny', 'Polsko', - 'Portugalsko', 'Rakousko', 'Rovníková Guinea', 'Rumunsko', 'Rusko', 'Rwanda', 'Řecko', 'Salvador', 'Samoa', - 'San Marino', 'Saúdská Arábie', 'Senegal', 'Severní Korea', 'Seychely', 'Sierra Leone', 'Singapur', - 'Slovensko', 'Slovinsko', 'Somálsko', 'Spojené arabské emiráty', 'Spojené království', 'Spojené státy americké', - 'Srbsko', 'Středoafrická republika', 'Surinam', 'Súdán', 'Svatá Lucie', 'Svatý Kryštof a Nevis', - 'Svatý Tomáš a Princův ostrov', 'Svatý Vincenc a Grenadiny', 'Svazijsko', 'Sýrie', 'Šalamounovy ostrovy', - 'Španělsko', 'Šrí Lanka', 'Švédsko', 'Švýcarsko', 'Tádžikistán', 'Tanzanie', 'Thajsko', 'Togo', 'Tonga', - 'Trinidad a Tobago', 'Tunisko', 'Turecko', 'Turkmenistán', 'Tuvalu', 'Uganda', 'Ukrajina', 'Uruguay', - 'Uzbekistán', 'Vanuatu', 'Vatikán', 'Venezuela', 'Vietnam', 'Východní Timor', 'Zambie', 'Zimbabwe', - ]; + /** + * Source: https://cs.wikipedia.org/wiki/Seznam_st%C3%A1t%C5%AF_sv%C4%9Bta + */ + protected static $country = [ + 'Afghánistán', + 'Albánie', + 'Alžírsko', + 'Andorra', + 'Angola', + 'Antigua a Barbuda', + 'Argentina', + 'Arménie', + 'Austrálie', + 'Ázerbájdžán', + 'Bahamy', + 'Bahrajn', + 'Bangladéš', + 'Barbados', + 'Belgie', + 'Belize', + 'Benin', + 'Bělorusko', + 'Bhútán', + 'Bolívie', + 'Bosna a Hercegovina', + 'Botswana', + 'Brazílie', + 'Brunej', + 'Bulharsko', + 'Burkina Faso', + 'Burundi', + 'Cookovy ostrovy', + 'Čad', + 'Černá Hora', + 'Česká republika', + 'Čína', + 'Dánsko', + 'Demokratická republika Kongo', + 'Dominika', + 'Dominikánská republika', + 'Džibutsko', + 'Egypt', + 'Ekvádor', + 'Eritrea', + 'Estonsko', + 'Etiopie', + 'Fidži', + 'Filipíny', + 'Finsko', + 'Francie', + 'Gabon', + 'Gambie', + 'Ghana', + 'Grenada', + 'Gruzie', + 'Guatemala', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Honduras', + 'Chile', + 'Chorvatsko', + 'Indie', + 'Indonésie', + 'Irák', + 'Írán', + 'Irsko', + 'Island', + 'Itálie', + 'Izrael', + 'Jamajka', + 'Japonsko', + 'Jemen', + 'Jihoafrická republika', + 'Jižní Korea', + 'Jižní Súdán', + 'Jordánsko', + 'Kambodža', + 'Kamerun', + 'Kanada', + 'Kapverdy', + 'Katar', + 'Kazachstán', + 'Keňa', + 'Kiribati', + 'Kolumbie', + 'Komory', + 'Republika Kongo', + 'Kostarika', + 'Kuba', + 'Kuvajt', + 'Kypr', + 'Kyrgyzstán', + 'Laos', + 'Lesotho', + 'Libanon', + 'Libérie', + 'Libye', + 'Lichtenštejnsko', + 'Litva', + 'Lotyšsko', + 'Lucembursko', + 'Madagaskar', + 'Maďarsko', + 'Makedonie', + 'Malajsie', + 'Malawi', + 'Maledivy', + 'Mali', + 'Malta', + 'Maroko', + 'Marshallovy ostrovy', + 'Mauritánie', + 'Mauricius', + 'Mexiko', + 'Federativní státy Mikronésie', + 'Moldavsko', + 'Monako', + 'Mongolsko', + 'Mosambik', + 'Myanmar', + 'Namibie', + 'Nauru', + 'Nepál', + 'Německo', + 'Niger', + 'Nigérie', + 'Nikaragua', + 'Niue', + 'Nizozemsko', + 'Norsko', + 'Nový Zéland', + 'Omán', + 'Pákistán', + 'Palau', + 'Panama', + 'Papua-Nová Guinea', + 'Paraguay', + 'Peru', + 'Pobřeží slonoviny', + 'Polsko', + 'Portugalsko', + 'Rakousko', + 'Rovníková Guinea', + 'Rumunsko', + 'Rusko', + 'Rwanda', + 'Řecko', + 'Salvador', + 'Samoa', + 'San Marino', + 'Saúdská Arábie', + 'Senegal', + 'Severní Korea', + 'Seychely', + 'Sierra Leone', + 'Singapur', + 'Slovensko', + 'Slovinsko', + 'Somálsko', + 'Spojené arabské emiráty', + 'Spojené království', + 'Spojené státy americké', + 'Srbsko', + 'Středoafrická republika', + 'Surinam', + 'Súdán', + 'Svatá Lucie', + 'Svatý Kryštof a Nevis', + 'Svatý Tomáš a Princův ostrov', + 'Svatý Vincenc a Grenadiny', + 'Svazijsko', + 'Sýrie', + 'Šalamounovy ostrovy', + 'Španělsko', + 'Šrí Lanka', + 'Švédsko', + 'Švýcarsko', + 'Tádžikistán', + 'Tanzanie', + 'Thajsko', + 'Togo', + 'Tonga', + 'Trinidad a Tobago', + 'Tunisko', + 'Turecko', + 'Turkmenistán', + 'Tuvalu', + 'Uganda', + 'Ukrajina', + 'Uruguay', + 'Uzbekistán', + 'Vanuatu', + 'Vatikán', + 'Venezuela', + 'Vietnam', + 'Východní Timor', + 'Zambie', + 'Zimbabwe', + ]; - /** - * Source: https://cs.wikipedia.org/wiki/Kraje_v_%C4%8Cesku#Ekonomika - */ - private static $regions = [ - 'Hlavní město Praha', 'Jihomoravský kraj', 'Jihočeský kraj', 'Karlovarský kraj', 'Královéhradecký kraj', - 'Liberecký kraj', 'Moravskoslezský kraj', 'Olomoucký kraj', 'Pardubický kraj', 'Plzeňský kraj', - 'Středočeský kraj', 'Vysočina', 'Zlínský kraj', 'Ústecký kraj', - ]; + /** + * Source: https://cs.wikipedia.org/wiki/Kraje_v_%C4%8Cesku#Ekonomika + */ + private static $regions = [ + 'Hlavní město Praha', + 'Jihomoravský kraj', + 'Jihočeský kraj', + 'Karlovarský kraj', + 'Královéhradecký kraj', + 'Liberecký kraj', + 'Moravskoslezský kraj', + 'Olomoucký kraj', + 'Pardubický kraj', + 'Plzeňský kraj', + 'Středočeský kraj', + 'Vysočina', + 'Zlínský kraj', + 'Ústecký kraj', + ]; - /** - * Source: http://aplikace.mvcr.cz/adresy/ - */ - protected static $street = [ - 'Alžírská', 'Angelovova', 'Antonínská', 'Arménská', 'Čelkovická', 'Červenkova', 'Československého exilu', - 'Chlumínská', 'Chládkova', 'Diskařská', 'Do Kopečka', 'Do Vozovny', 'Do Vršku', 'Doubravická', 'Doudova', - 'Drahotínská', 'Dělnická', 'Generála Šišky', 'Gončarenkova', 'Gutova', 'Havlínova', 'Havraní', 'Helmova', - 'Hečkova', 'Holubinková', 'Holínská', 'Horní Hrdlořezská', 'Horní Stromky', 'Hostivařské nám.', 'Houbařská', - 'Hořanská', 'Hrachovská', 'Hrad III. nádvoří', 'Hrdlořezská', 'Jenská', 'Jerevanská', 'Ježovická', 'K Březince', - 'K Dobré Vodě', 'K Hořavce', 'K Hrušovu', 'K Háji', 'K Návsi', 'K Padesátníku', 'K Pyramidce', 'K Samotě', - 'K Vinici', 'K Vystrkovu', 'Karlovarská', 'Karlínské nám.', 'Kaňkova', 'Ke Kyjovu', 'Ke Stadionu', 'Kejnická', - 'Klatovská', 'Kohoutových', 'Kopanská', 'Kralupská', 'Kukelská', 'Kukučínova', 'Kunešova', 'Kvestorská', - 'Křišťanova', 'Lanžhotská', 'Leštínská', 'Lindavská', 'Litevská', 'Lojovická', 'Lukešova', 'Maltézské náměstí', - 'Melodická', 'Mečíková', 'Milady Horákové', 'Mšenská', 'N. A. Někrasova', 'Na Dědince', 'Na Habrové', - 'Na Jezerce', 'Na Jílech', 'Na Petynce', 'Na Rozcestí', 'Na Sedlišti', 'Na Vrchu', 'Na Výšině', 'Na Úbočí', - 'Na Štamberku', 'Nad Hliníkem', 'Nad Hřištěm', 'Nad Klikovkou', 'Nad libeňským nádražím', 'Nad Nuslemi', - 'Nad Slávií', 'Nad Trnkovem', 'Nad Šauerovými sady', 'Netřebská', 'Nivnická', 'Nádražní', 'nám. Pod Lípou', - 'nám. Před bateriemi', 'nám. Svatopluka Čecha', 'Odlehlá', 'Okrasná', 'Omská', 'Otavova', 'Oválová', - 'Palackého nám.', 'Pavlišovská', 'Paškova', 'Petřínské sady', 'Pilovská', 'Pod Bruskou', 'Pod novou školou', - 'Pod soutratím', 'Pod Svahem', 'Pod Útesy', 'Pohledná', 'Pošepného nám.', 'Prokopových', 'Pávovské náměstí', - 'Pětipeského', 'Příbramská', 'Radbuzská', 'Radnické schody', 'Raichlova', 'Roentgenova', 'Rozkošného', - 'Rozrazilová', 'Ruzyňská', 'Římovská', 'Říční', 'Satalická', 'Schoellerova', 'Smrková', 'Souvratní', 'Sovova', - 'Sportovní', 'Stadionová', 'Statková', 'Stavební', 'Široká', 'Školní', 'Tatranská', 'Tomsova', 'Toruňská', - 'Točenská', 'Trnkovo náměstí', 'Truhlářova', 'Tvrdonická', 'Týmlova', 'U Beránky', 'U Chmelnice', - 'U Chodovského hřbitova', 'U Drážky', 'U Fořta', 'U Kamýku', 'U Klubovny', 'U Lesa', 'U Pekáren', - 'U Prašné brány', 'U Prádelny', 'U Silnice', 'U Sladovny', 'U Slovanky', 'U Soutoku', 'U Trojice', 'U Vinice', - 'U vinných sklepů', 'U Vodárny', 'U Vorlíků', 'U zeleného ptáka', 'U Čekárny', 'U Županských', 'Ukrajinská', - 'Újezdská', 'V Jámě', 'V Předním Hloubětíně', 'V Rohu', 'V Uličce', 'Valčíkova', 'Ve Lhotce', 'Ve Vrších', - 'Velenická', 'Violková', 'Vlašská', 'Voděradská', 'Vyderská', 'Vysokoškolská', 'Výpadová', 'Vřesovická', - 'Za Pekárnou', 'Zámecká', - ]; + /** + * Source: http://aplikace.mvcr.cz/adresy/ + */ + protected static $street = [ + 'Alžírská', + 'Angelovova', + 'Antonínská', + 'Arménská', + 'Čelkovická', + 'Červenkova', + 'Československého exilu', + 'Chlumínská', + 'Chládkova', + 'Diskařská', + 'Do Kopečka', + 'Do Vozovny', + 'Do Vršku', + 'Doubravická', + 'Doudova', + 'Drahotínská', + 'Dělnická', + 'Generála Šišky', + 'Gončarenkova', + 'Gutova', + 'Havlínova', + 'Havraní', + 'Helmova', + 'Hečkova', + 'Holubinková', + 'Holínská', + 'Horní Hrdlořezská', + 'Horní Stromky', + 'Hostivařské nám.', + 'Houbařská', + 'Hořanská', + 'Hrachovská', + 'Hrad III. nádvoří', + 'Hrdlořezská', + 'Jenská', + 'Jerevanská', + 'Ježovická', + 'K Březince', + 'K Dobré Vodě', + 'K Hořavce', + 'K Hrušovu', + 'K Háji', + 'K Návsi', + 'K Padesátníku', + 'K Pyramidce', + 'K Samotě', + 'K Vinici', + 'K Vystrkovu', + 'Karlovarská', + 'Karlínské nám.', + 'Kaňkova', + 'Ke Kyjovu', + 'Ke Stadionu', + 'Kejnická', + 'Klatovská', + 'Kohoutových', + 'Kopanská', + 'Kralupská', + 'Kukelská', + 'Kukučínova', + 'Kunešova', + 'Kvestorská', + 'Křišťanova', + 'Lanžhotská', + 'Leštínská', + 'Lindavská', + 'Litevská', + 'Lojovická', + 'Lukešova', + 'Maltézské náměstí', + 'Melodická', + 'Mečíková', + 'Milady Horákové', + 'Mšenská', + 'N. A. Někrasova', + 'Na Dědince', + 'Na Habrové', + 'Na Jezerce', + 'Na Jílech', + 'Na Petynce', + 'Na Rozcestí', + 'Na Sedlišti', + 'Na Vrchu', + 'Na Výšině', + 'Na Úbočí', + 'Na Štamberku', + 'Nad Hliníkem', + 'Nad Hřištěm', + 'Nad Klikovkou', + 'Nad libeňským nádražím', + 'Nad Nuslemi', + 'Nad Slávií', + 'Nad Trnkovem', + 'Nad Šauerovými sady', + 'Netřebská', + 'Nivnická', + 'Nádražní', + 'nám. Pod Lípou', + 'nám. Před bateriemi', + 'nám. Svatopluka Čecha', + 'Odlehlá', + 'Okrasná', + 'Omská', + 'Otavova', + 'Oválová', + 'Palackého nám.', + 'Pavlišovská', + 'Paškova', + 'Petřínské sady', + 'Pilovská', + 'Pod Bruskou', + 'Pod novou školou', + 'Pod soutratím', + 'Pod Svahem', + 'Pod Útesy', + 'Pohledná', + 'Pošepného nám.', + 'Prokopových', + 'Pávovské náměstí', + 'Pětipeského', + 'Příbramská', + 'Radbuzská', + 'Radnické schody', + 'Raichlova', + 'Roentgenova', + 'Rozkošného', + 'Rozrazilová', + 'Ruzyňská', + 'Římovská', + 'Říční', + 'Satalická', + 'Schoellerova', + 'Smrková', + 'Souvratní', + 'Sovova', + 'Sportovní', + 'Stadionová', + 'Statková', + 'Stavební', + 'Široká', + 'Školní', + 'Tatranská', + 'Tomsova', + 'Toruňská', + 'Točenská', + 'Trnkovo náměstí', + 'Truhlářova', + 'Tvrdonická', + 'Týmlova', + 'U Beránky', + 'U Chmelnice', + 'U Chodovského hřbitova', + 'U Drážky', + 'U Fořta', + 'U Kamýku', + 'U Klubovny', + 'U Lesa', + 'U Pekáren', + 'U Prašné brány', + 'U Prádelny', + 'U Silnice', + 'U Sladovny', + 'U Slovanky', + 'U Soutoku', + 'U Trojice', + 'U Vinice', + 'U vinných sklepů', + 'U Vodárny', + 'U Vorlíků', + 'U zeleného ptáka', + 'U Čekárny', + 'U Županských', + 'Ukrajinská', + 'Újezdská', + 'V Jámě', + 'V Předním Hloubětíně', + 'V Rohu', + 'V Uličce', + 'Valčíkova', + 'Ve Lhotce', + 'Ve Vrších', + 'Velenická', + 'Violková', + 'Vlašská', + 'Voděradská', + 'Vyderská', + 'Vysokoškolská', + 'Výpadová', + 'Vřesovická', + 'Za Pekárnou', + 'Zámecká', + ]; - /** - * Randomly returns a czech city. - * - * @example 'Krnov' - * - * @return string - */ - public function city() - { - return static::randomElement(static::$city); - } + /** + * Randomly returns a czech city. + * + * @return string + * @example 'Krnov' + * + */ + public function city() { + return static::randomElement( static::$city ); + } - /** - * Randomly returns a czech region. - * - * @example 'Liberecký kraj' - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$regions); - } + /** + * Randomly returns a czech region. + * + * @return string + * @example 'Liberecký kraj' + * + */ + public static function region() { + return static::randomElement( static::$regions ); + } - /** - * Real street names as random data can hardly be - * generated due to inflection. - * - * @example 'U Vodárny' - * - * @return string - */ - public function streetName() - { - return static::randomElement(static::$street); - } + /** + * Real street names as random data can hardly be + * generated due to inflection. + * + * @return string + * @example 'U Vodárny' + * + */ + public function streetName() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Company.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Company.php index 2b023b3..efdaced 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Company.php @@ -2,124 +2,156 @@ namespace Faker\Provider\cs_CZ; -class Company extends \Faker\Provider\Company -{ - /** - * @var array Czech company name formats. - */ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}} {{companySuffix}}', - '{{lastName}} a {{lastName}} {{companySuffix}}', - ]; - - /** - * @var array Czech catch phrase formats. - */ - protected static $catchPhraseFormats = [ - '{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}}', - '{{catchPhraseVerb}} {{catchPhraseNoun}} a {{catchPhraseNoun}} {{catchPhraseAttribute}}', - '{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}} a {{catchPhraseAttribute}}', - 'Ne{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}}', - ]; - - /** - * @var array Czech nouns (used by the catch phrase format). - */ - protected static $noun = [ - 'bezpečnost', 'pohodlí', 'seo', 'rychlost', 'testování', 'údržbu', 'odebírání', 'výstavbu', - 'návrh', 'prodej', 'nákup', 'zprostředkování', 'odvoz', 'přepravu', 'pronájem', - ]; - - /** - * @var array Czech verbs (used by the catch phrase format). - */ - protected static $verb = [ - 'zajišťujeme', 'nabízíme', 'děláme', 'provozujeme', 'realizujeme', 'předstihujeme', 'mobilizujeme', - ]; - - /** - * @var array End of sentences (used by the catch phrase format). - */ - protected static $attribute = [ - 'pro vás', 'pro vaší službu', 'a jsme jednička na trhu', 'pro lepší svět', 'zdarma', 'se zárukou', - 's inovací', 'turbíny', 'mrakodrapů', 'lampiónků a svíček', 'bourací techniky', 'nákupních košíků', - 'vašeho webu', 'pro vaše zákazníky', 'za nízkou cenu', 'jako jediní na trhu', 'webu', 'internetu', - 'vaší rodiny', 'vašich známých', 'vašich stránek', 'čehokoliv na světě', 'za hubičku', - ]; - - /** - * @var array Company suffixes. - */ - protected static $companySuffix = ['s.r.o.', 's.r.o.', 's.r.o.', 's.r.o.', 'a.s.', 'o.p.s.', 'o.s.']; - - /** - * Returns a random catch phrase noun. - * - * @return string - */ - public function catchPhraseNoun() - { - return static::randomElement(static::$noun); - } - - /** - * Returns a random catch phrase attribute. - * - * @return string - */ - public function catchPhraseAttribute() - { - return static::randomElement(static::$attribute); - } - - /** - * Returns a random catch phrase verb. - * - * @return string - */ - public function catchPhraseVerb() - { - return static::randomElement(static::$verb); - } - - /** - * @return string - */ - public function catchPhrase() - { - $format = static::randomElement(static::$catchPhraseFormats); - - return ucfirst($this->generator->parse($format)); - } - - /** - * Generates valid czech IČO - * - * @see http://phpfashion.com/jak-overit-platne-ic-a-rodne-cislo - * - * @return string - */ - public function ico() - { - $ico = static::numerify('#######'); - $split = str_split($ico); - $prod = 0; - - foreach ([8, 7, 6, 5, 4, 3, 2] as $i => $p) { - $prod += $p * $split[$i]; - } - $mod = $prod % 11; - - if ($mod === 0 || $mod === 10) { - return "{$ico}1"; - } - - if ($mod === 1) { - return "{$ico}0"; - } - - return $ico . (11 - $mod); - } +class Company extends \Faker\Provider\Company { + /** + * @var array Czech company name formats. + */ + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}} {{companySuffix}}', + '{{lastName}} a {{lastName}} {{companySuffix}}', + ]; + + /** + * @var array Czech catch phrase formats. + */ + protected static $catchPhraseFormats = [ + '{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}}', + '{{catchPhraseVerb}} {{catchPhraseNoun}} a {{catchPhraseNoun}} {{catchPhraseAttribute}}', + '{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}} a {{catchPhraseAttribute}}', + 'Ne{{catchPhraseVerb}} {{catchPhraseNoun}} {{catchPhraseAttribute}}', + ]; + + /** + * @var array Czech nouns (used by the catch phrase format). + */ + protected static $noun = [ + 'bezpečnost', + 'pohodlí', + 'seo', + 'rychlost', + 'testování', + 'údržbu', + 'odebírání', + 'výstavbu', + 'návrh', + 'prodej', + 'nákup', + 'zprostředkování', + 'odvoz', + 'přepravu', + 'pronájem', + ]; + + /** + * @var array Czech verbs (used by the catch phrase format). + */ + protected static $verb = [ + 'zajišťujeme', + 'nabízíme', + 'děláme', + 'provozujeme', + 'realizujeme', + 'předstihujeme', + 'mobilizujeme', + ]; + + /** + * @var array End of sentences (used by the catch phrase format). + */ + protected static $attribute = [ + 'pro vás', + 'pro vaší službu', + 'a jsme jednička na trhu', + 'pro lepší svět', + 'zdarma', + 'se zárukou', + 's inovací', + 'turbíny', + 'mrakodrapů', + 'lampiónků a svíček', + 'bourací techniky', + 'nákupních košíků', + 'vašeho webu', + 'pro vaše zákazníky', + 'za nízkou cenu', + 'jako jediní na trhu', + 'webu', + 'internetu', + 'vaší rodiny', + 'vašich známých', + 'vašich stránek', + 'čehokoliv na světě', + 'za hubičku', + ]; + + /** + * @var array Company suffixes. + */ + protected static $companySuffix = [ 's.r.o.', 's.r.o.', 's.r.o.', 's.r.o.', 'a.s.', 'o.p.s.', 'o.s.' ]; + + /** + * Returns a random catch phrase noun. + * + * @return string + */ + public function catchPhraseNoun() { + return static::randomElement( static::$noun ); + } + + /** + * Returns a random catch phrase attribute. + * + * @return string + */ + public function catchPhraseAttribute() { + return static::randomElement( static::$attribute ); + } + + /** + * Returns a random catch phrase verb. + * + * @return string + */ + public function catchPhraseVerb() { + return static::randomElement( static::$verb ); + } + + /** + * @return string + */ + public function catchPhrase() { + $format = static::randomElement( static::$catchPhraseFormats ); + + return ucfirst( $this->generator->parse( $format ) ); + } + + /** + * Generates valid czech IČO + * + * @see http://phpfashion.com/jak-overit-platne-ic-a-rodne-cislo + * + * @return string + */ + public function ico() { + $ico = static::numerify( '#######' ); + $split = str_split( $ico ); + $prod = 0; + + foreach ( [ 8, 7, 6, 5, 4, 3, 2 ] as $i => $p ) { + $prod += $p * $split[ $i ]; + } + $mod = $prod % 11; + + if ( $mod === 0 || $mod === 10 ) { + return "{$ico}1"; + } + + if ( $mod === 1 ) { + return "{$ico}0"; + } + + return $ico . ( 11 - $mod ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/DateTime.php index e136e65..de002e8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/DateTime.php @@ -5,61 +5,81 @@ /** * Czech months and days without setting locale */ -class DateTime extends \Faker\Provider\DateTime -{ - protected static $days = [ - 'neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota', - ]; - protected static $months = [ - 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', - 'srpen', 'září', 'říjen', 'listopad', 'prosinec', - ]; - protected static $monthsGenitive = [ - 'ledna', 'února', 'března', 'dubna', 'května', 'června', 'července', - 'srpna', 'září', 'října', 'listopadu', 'prosince', - ]; - protected static $formattedDateFormat = [ - '{{dayOfMonth}}. {{monthNameGenitive}} {{year}}', - ]; +class DateTime extends \Faker\Provider\DateTime { + protected static $days = [ + 'neděle', + 'pondělí', + 'úterý', + 'středa', + 'čtvrtek', + 'pátek', + 'sobota', + ]; + protected static $months = [ + 'leden', + 'únor', + 'březen', + 'duben', + 'květen', + 'červen', + 'červenec', + 'srpen', + 'září', + 'říjen', + 'listopad', + 'prosinec', + ]; + protected static $monthsGenitive = [ + 'ledna', + 'února', + 'března', + 'dubna', + 'května', + 'června', + 'července', + 'srpna', + 'září', + 'října', + 'listopadu', + 'prosince', + ]; + protected static $formattedDateFormat = [ + '{{dayOfMonth}}. {{monthNameGenitive}} {{year}}', + ]; - public static function monthName($max = 'now') - { - return static::$months[parent::month($max) - 1]; - } + public static function monthName( $max = 'now' ) { + return static::$months[ parent::month( $max ) - 1 ]; + } - public static function monthNameGenitive($max = 'now') - { - return static::$monthsGenitive[parent::month($max) - 1]; - } + public static function monthNameGenitive( $max = 'now' ) { + return static::$monthsGenitive[ parent::month( $max ) - 1 ]; + } - public static function dayOfWeek($max = 'now') - { - return static::$days[static::dateTime($max)->format('w')]; - } + public static function dayOfWeek( $max = 'now' ) { + return static::$days[ static::dateTime( $max )->format( 'w' ) ]; + } - /** - * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" - * - * @return string - * - * @example '2' - */ - public static function dayOfMonth($max = 'now') - { - return static::dateTime($max)->format('j'); - } + /** + * @param \DateTime|int|string $max maximum timestamp used as random end limit, default to "now" + * + * @return string + * + * @example '2' + */ + public static function dayOfMonth( $max = 'now' ) { + return static::dateTime( $max )->format( 'j' ); + } - /** - * Full date with inflected month - * - * @return string - * - * @example '16. listopadu 2003' - */ - public function formattedDate() - { - $format = static::randomElement(static::$formattedDateFormat); + /** + * Full date with inflected month + * + * @return string + * + * @example '16. listopadu 2003' + */ + public function formattedDate() { + $format = static::randomElement( static::$formattedDateFormat ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Internet.php index ce5b266..61b5fdd 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Internet.php @@ -2,8 +2,15 @@ namespace Faker\Provider\cs_CZ; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'seznam.cz', 'atlas.cz', 'centrum.cz', 'email.cz', 'post.cz']; - protected static $tld = ['cz', 'cz', 'cz', 'cz', 'cz', 'cz', 'com', 'info', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'seznam.cz', + 'atlas.cz', + 'centrum.cz', + 'email.cz', + 'post.cz' + ]; + protected static $tld = [ 'cz', 'cz', 'cz', 'cz', 'cz', 'cz', 'com', 'info', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Payment.php index 2f17dcd..3ab1500 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\cs_CZ; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'CZ', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'CZ', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Person.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Person.php index 64b4e9e..95206cd 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Person.php @@ -2,536 +2,2294 @@ namespace Faker\Provider\cs_CZ; -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', - ]; + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', + ]; - protected static $firstNameMale = [ - 'Adam', 'Aleš', 'Alois', 'Antonín', 'Bohumil', 'Bohuslav', 'Dagmar', - 'Dalibor', 'Daniel', 'David', 'Dominik', 'Dušan', 'Eduard', 'Emil', - 'Filip', 'František', 'Ilona', 'Ivan', 'Ivo', 'Jakub', 'Jan', 'Ján', - 'Jaromír', 'Jaroslav', 'Jindřich', 'Jiří', 'Josef', 'Jozef', 'Kamil', - 'Karel', 'Kryštof', 'Ladislav', 'Libor', 'Lubomír', 'Luboš', 'Luděk', - 'Ludvík', 'Lukáš', 'Marcel', 'Marek', 'Martin', 'Matěj', 'Matyáš', - 'Michael', 'Michal', 'Milan', 'Miloslav', 'Miloš', 'Miroslav', - 'Oldřich', 'Ondřej', 'Patrik', 'Pavel', 'Peter', 'Petr', 'Radek', - 'Radim', 'Radomír', 'René', 'Richard', 'Robert', 'Roman', 'Rostislav', - 'Rudolf', 'Stanislav', 'Šimon', 'Štefan', 'Štěpán', 'Tomáš', - 'Václav', 'Vasyl', 'Viktor', 'Vít', 'Vítězslav', 'Vladimír', - 'Vladislav', 'Vlastimil', 'Vojtěch', 'Zbyněk', 'Zdeněk', - ]; + protected static $firstNameMale = [ + 'Adam', + 'Aleš', + 'Alois', + 'Antonín', + 'Bohumil', + 'Bohuslav', + 'Dagmar', + 'Dalibor', + 'Daniel', + 'David', + 'Dominik', + 'Dušan', + 'Eduard', + 'Emil', + 'Filip', + 'František', + 'Ilona', + 'Ivan', + 'Ivo', + 'Jakub', + 'Jan', + 'Ján', + 'Jaromír', + 'Jaroslav', + 'Jindřich', + 'Jiří', + 'Josef', + 'Jozef', + 'Kamil', + 'Karel', + 'Kryštof', + 'Ladislav', + 'Libor', + 'Lubomír', + 'Luboš', + 'Luděk', + 'Ludvík', + 'Lukáš', + 'Marcel', + 'Marek', + 'Martin', + 'Matěj', + 'Matyáš', + 'Michael', + 'Michal', + 'Milan', + 'Miloslav', + 'Miloš', + 'Miroslav', + 'Oldřich', + 'Ondřej', + 'Patrik', + 'Pavel', + 'Peter', + 'Petr', + 'Radek', + 'Radim', + 'Radomír', + 'René', + 'Richard', + 'Robert', + 'Roman', + 'Rostislav', + 'Rudolf', + 'Stanislav', + 'Šimon', + 'Štefan', + 'Štěpán', + 'Tomáš', + 'Václav', + 'Vasyl', + 'Viktor', + 'Vít', + 'Vítězslav', + 'Vladimír', + 'Vladislav', + 'Vlastimil', + 'Vojtěch', + 'Zbyněk', + 'Zdeněk', + ]; - protected static $firstNameFemale = [ - 'Adéla', 'Alena', 'Alžběta', 'Andrea', 'Aneta', 'Anežka', 'Anna', - 'Barbora', 'Blanka', 'Božena', 'Dana', 'Daniela', 'Denisa', 'Dominika', - 'Eliška', 'Emilie', 'Eva', 'Františka', 'Gabriela', 'Hana', 'Helena', - 'Irena', 'Iva', 'Ivana', 'Iveta', 'Jana', 'Jarmila', 'Jaroslava', - 'Jindřiška', 'Jiřina', 'Jitka', 'Kamila', 'Karolína', 'Kateřina', - 'Klára', 'Kristýna', 'Lenka', 'Libuše', 'Lucie', 'Ludmila', 'Marcela', - 'Mária', 'Marie', 'Markéta', 'Marta', 'Martina', 'Michaela', 'Milada', - 'Milena', 'Miloslava', 'Miluše', 'Miroslava', 'Monika', 'Naděžda', - 'Natálie', 'Nela', 'Nikola', 'Olga', 'Pavla', 'Pavlína', 'Petra', - 'Radka', 'Renata', 'Renáta', 'Romana', 'Růžena', 'Simona', 'Soňa', - 'Stanislava', 'Šárka', 'Štěpánka', 'Tereza', 'Vendula', 'Věra', - 'Veronika', 'Vladimíra', 'Vlasta', 'Zdenka', 'Zdeňka', 'Zdeňka', - 'Zuzana', - ]; + protected static $firstNameFemale = [ + 'Adéla', + 'Alena', + 'Alžběta', + 'Andrea', + 'Aneta', + 'Anežka', + 'Anna', + 'Barbora', + 'Blanka', + 'Božena', + 'Dana', + 'Daniela', + 'Denisa', + 'Dominika', + 'Eliška', + 'Emilie', + 'Eva', + 'Františka', + 'Gabriela', + 'Hana', + 'Helena', + 'Irena', + 'Iva', + 'Ivana', + 'Iveta', + 'Jana', + 'Jarmila', + 'Jaroslava', + 'Jindřiška', + 'Jiřina', + 'Jitka', + 'Kamila', + 'Karolína', + 'Kateřina', + 'Klára', + 'Kristýna', + 'Lenka', + 'Libuše', + 'Lucie', + 'Ludmila', + 'Marcela', + 'Mária', + 'Marie', + 'Markéta', + 'Marta', + 'Martina', + 'Michaela', + 'Milada', + 'Milena', + 'Miloslava', + 'Miluše', + 'Miroslava', + 'Monika', + 'Naděžda', + 'Natálie', + 'Nela', + 'Nikola', + 'Olga', + 'Pavla', + 'Pavlína', + 'Petra', + 'Radka', + 'Renata', + 'Renáta', + 'Romana', + 'Růžena', + 'Simona', + 'Soňa', + 'Stanislava', + 'Šárka', + 'Štěpánka', + 'Tereza', + 'Vendula', + 'Věra', + 'Veronika', + 'Vladimíra', + 'Vlasta', + 'Zdenka', + 'Zdeňka', + 'Zdeňka', + 'Zuzana', + ]; - protected static $lastNameMale = [ - 'Adam', 'Adamec', 'Adámek', 'Albrecht', 'Ambrož', 'Anděl', 'Andrle', - 'Antoš', 'Bajer', 'Baláž', 'Balcar', 'Balog', 'Baloun', 'Barák', - 'Baran', 'Bareš', 'Bárta', 'Barták', 'Bartoň', 'Bartoš', - 'Bartošek', 'Bartůněk', 'Bašta', 'Bauer', 'Bayer', 'Bažant', - 'Bečka', 'Bečvář', 'Bednář', 'Bednařík', 'Bělohlávek', - 'Benda', 'Beneš', 'Beran', 'Beránek', 'Berger', 'Berka', 'Berky', - 'Bernard', 'Bezděk', 'Bílek', 'Bílý', 'Bína', 'Bittner', - 'Blaha', 'Bláha', 'Blažek', 'Blecha', 'Bobek', 'Boček', 'Boháč', - 'Boháček', 'Böhm', 'Borovička', 'Bouček', 'Bouda', 'Bouška', - 'Brabec', 'Brabenec', 'Brada', 'Bradáč', 'Braun', 'Brázda', - 'Brázdil', 'Brejcha', 'Brož', 'Brožek', 'Brychta', 'Březina', - 'Bříza', 'Bubeník', 'Buček', 'Buchta', 'Burda', 'Bureš', 'Burian', - 'Buriánek', 'Byrtus', 'Caha', 'Cibulka', 'Cihlář', 'Císař', 'Coufal', - 'Čada', 'Čáp', 'Čapek', 'Čech', 'Čejka', 'Čermák', 'Černík', - 'Černohorský', 'Černoch', 'Černý', 'Červeňák', 'Červenka', - 'Červený', 'Červinka', 'Čihák', 'Čížek', 'Čonka', 'Čurda', - 'Daněk', 'Daniel', 'Daniš', 'David', 'Dědek', 'Dittrich', 'Diviš', - 'Dlouhý', 'Dobeš', 'Dobiáš', 'Dobrovolný', 'Dočekal', 'Dočkal', - 'Dohnal', 'Dokoupil', 'Doleček', 'Dolejš', 'Dolejší', 'Doležal', - 'Doležel', 'Doskočil', 'Dostál', 'Doubek', 'Doubrava', 'Douša', - 'Drábek', 'Drozd', 'Dubský', 'Duda', 'Dudek', 'Dufek', 'Duchoň', - 'Dunka', 'Dušek', 'Dvorský', 'Dvořáček', 'Dvořák', 'Eliáš', - 'Erben', 'Fabián', 'Fanta', 'Farkaš', 'Fejfar', 'Fencl', 'Ferenc', - 'Fiala', 'Fiedler', 'Filip', 'Fischer', 'Fišer', 'Florián', 'Fojtík', - 'Foltýn', 'Formánek', 'Forman', 'Fořt', 'Fousek', 'Franc', 'Franěk', - 'Frank', 'Fridrich', 'Frydrych', 'Fučík', 'Fuchs', 'Fuksa', 'Gábor', - 'Gabriel', 'Gajdoš', 'Gregor', 'Gruber', 'Grundza', 'Grygar', 'Hájek', - 'Hajný', 'Hála', 'Hampl', 'Hanáček', 'Hána', 'Hanák', 'Hanousek', - 'Hanus', 'Hanuš', 'Hanzal', 'Hanzl', 'Hanzlík', 'Hartman', 'Hašek', - 'Havel', 'Havelka', 'Havlíček', 'Havlík', 'Havránek', 'Heczko', - 'Heger', 'Hejda', 'Hejduk', 'Hejl', 'Hejna', 'Hendrych', 'Herman', - 'Heřmánek', 'Heřman', 'Hladík', 'Hladký', 'Hlaváček', 'Hlaváč', - 'Hlavatý', 'Hlávka', 'Hloušek', 'Hoffmann', 'Hofman', 'Holan', - 'Holas', 'Holec', 'Holeček', 'Holík', 'Holoubek', 'Holub', 'Holý', - 'Homola', 'Homolka', 'Horáček', 'Hora', 'Horák', 'Horký', 'Horňák', - 'Horníček', 'Horník', 'Horský', 'Horváth', 'Horvát', 'Hořejší', - 'Hošek', 'Houdek', 'Houška', 'Hovorka', 'Hrabal', 'Hrabovský', - 'Hradecký', 'Hradil', 'Hrbáček', 'Hrbek', 'Hrdina', 'Hrdlička', - 'Hrdý', 'Hrnčíř', 'Hroch', 'Hromádka', 'Hron', 'Hrubeš', 'Hrubý', - 'Hruška', 'Hrůza', 'Hubáček', 'Hudec', 'Hudeček', 'Hůlka', 'Huml', - 'Husák', 'Hušek', 'Hýbl', 'Hynek', 'Chaloupka', 'Chalupa', 'Charvát', - 'Chládek', 'Chlup', 'Chmelař', 'Chmelík', 'Chovanec', 'Chromý', - 'Chudoba', 'Chvátal', 'Chvojka', 'Chytil', 'Jahoda', 'Jakeš', - 'Jakl', 'Jakoubek', 'Jakubec', 'Janáček', 'Janák', 'Janata', - 'Janča', 'Jančík', 'Janda', 'Janeček', 'Janečka', 'Janíček', - 'Janík', 'Janků', 'Janota', 'Janoušek', 'Janovský', 'Jansa', - 'Jánský', 'Jareš', 'Jaroš', 'Jašek', 'Javůrek', 'Jedlička', - 'Jech', 'Jelen', 'Jelínek', 'Jeníček', 'Jeřábek', 'Ježek', 'Jež', - 'Jílek', 'Jindra', 'Jíra', 'Jirák', 'Jiránek', 'Jirásek', 'Jirka', - 'Jirků', 'Jiroušek', 'Jirsa', 'Jiřík', 'John', 'Jonáš', 'Junek', - 'Jurčík', 'Jurečka', 'Juřica', 'Juřík', 'Kabát', 'Kačírek', - 'Kadeřábek', 'Kadlec', 'Kafka', 'Kaiser', 'Kaláb', 'Kala', 'Kalaš', - 'Kalina', 'Kalivoda', 'Kalousek', 'Kalous', 'Kameník', 'Kaňa', - 'Kaňka', 'Kantor', 'Kaplan', 'Karásek', 'Karas', 'Karban', 'Karel', - 'Karlík', 'Kasal', 'Kašík', 'Kašpárek', 'Kašpar', 'Kavka', 'Kazda', - 'Kindl', 'Klečka', 'Klein', 'Klement', 'Klíma', 'Kliment', 'Klimeš', - 'Klouček', 'Klouda', 'Knap', 'Knotek', 'Kocián', 'Kocman', 'Kocourek', - 'Kohoutek', 'Kohout', 'Koch', 'Koláček', 'Kolařík', 'Kolář', - 'Kolek', 'Kolman', 'Komárek', 'Komínek', 'Konečný', 'Koníček', - 'Kopal', 'Kopecký', 'Kopeček', 'Kopečný', 'Kopřiva', 'Korbel', - 'Kořínek', 'Kosík', 'Kosina', 'Kos', 'Kostka', 'Košťál', 'Kotas', - 'Kotek', 'Kotlár', 'Kotrba', 'Kouba', 'Koubek', 'Koudela', 'Koudelka', - 'Koukal', 'Kouřil', 'Koutný', 'Kováč', 'Kovařík', 'Kovářík', - 'Kovář', 'Kozák', 'Kozel', 'Krajíček', 'Králíček', 'Králík', - 'Král', 'Krátký', 'Kratochvíl', 'Kraus', 'Krčmář', 'Krejčík', - 'Krejčí', 'Krejčíř', 'Krištof', 'Kropáček', 'Kroupa', 'Krupa', - 'Krupička', 'Krupka', 'Křeček', 'Křenek', 'Křivánek', 'Křížek', - 'Kříž', 'Kuba', 'Kubálek', 'Kubánek', 'Kubát', 'Kubec', 'Kubelka', - 'Kubeš', 'Kubica', 'Kubíček', 'Kubík', 'Kubín', 'Kubiš', 'Kuča', - 'Kučera', 'Kudláček', 'Kudrna', 'Kuchař', 'Kuchta', 'Kukla', - 'Kulhánek', 'Kulhavý', 'Kunc', 'Kuneš', 'Kupec', 'Kupka', 'Kurka', - 'Kužel', 'Kvapil', 'Kvasnička', 'Kyncl', 'Kysela', 'Lacina', 'Lacko', - 'Lakatoš', 'Landa', 'Langer', 'Lang', 'Langr', 'Látal', 'Lavička', - 'Lebeda', 'Levý', 'Líbal', 'Linhart', 'Liška', 'Lorenc', 'Louda', - 'Ludvík', 'Lukáč', 'Lukášek', 'Lukáš', 'Lukeš', 'Macák', 'Macek', - 'Macura', 'Macháček', 'Machač', 'Macháč', 'Machala', 'Machálek', - 'Mácha', 'Mach', 'Majer', 'Maleček', 'Málek', 'Malík', 'Malina', - 'Malý', 'Maňák', 'Mareček', 'Marek', 'Mareš', 'Maršálek', - 'Maršík', 'Martinec', 'Martinek', 'Martínek', 'Mařík', 'Masopust', - 'Mašek', 'Matějíček', 'Matějka', 'Matoušek', 'Matouš', 'Matula', - 'Matuška', 'Matyáš', 'Matys', 'Maxa', 'Mayer', 'Mazánek', 'Medek', - 'Melichar', 'Mencl', 'Menšík', 'Merta', 'Mička', 'Michalec', - 'Michálek', 'Michalík', 'Michal', 'Michna', 'Mika', 'Míka', 'Mikeš', - 'Miko', 'Mikula', 'Mikulášek', 'Minařík', 'Minář', 'Mirga', - 'Mládek', 'Mlčoch', 'Mlejnek', 'Mojžíš', 'Mokrý', 'Molnár', - 'Moravec', 'Morávek', 'Motl', 'Motyčka', 'Moučka', 'Moudrý', - 'Mráček', 'Mrázek', 'Mráz', 'Mrkvička', 'Mucha', 'Müller', - 'Műller', 'Musil', 'Mužík', 'Myška', 'Nagy', 'Najman', 'Navrátil', - 'Nečas', 'Nedbal', 'Nedoma', 'Nedvěd', 'Nejedlý', 'Němec', - 'Němeček', 'Nesvadba', 'Nešpor', 'Neubauer', 'Neuman', 'Neumann', - 'Nguyen', 'Nguyen', 'Nosek', 'Nováček', 'Novák', 'Novosad', 'Novotný', - 'Nový', 'Odehnal', 'Oláh', 'Oliva', 'Ondráček', 'Ondra', 'Orság', - 'Otáhal', 'Paleček', 'Pánek', 'Papež', 'Pařízek', 'Pašek', - 'Pátek', 'Patočka', 'Paul', 'Pavelek', 'Pavelka', 'Pavel', 'Pavlas', - 'Pavlica', 'Pavlíček', 'Pavlík', 'Pavlů', 'Pazdera', 'Pecka', - 'Pecháček', 'Pecha', 'Pech', 'Pekárek', 'Pekař', 'Pelc', 'Pelikán', - 'Pernica', 'Peroutka', 'Peřina', 'Pešek', 'Peška', 'Pešta', - 'Peterka', 'Petrák', 'Petráš', 'Petr', 'Petrů', 'Petříček', - 'Petřík', 'Pham', 'Pícha', 'Pilař', 'Pilát', 'Píša', 'Pivoňka', - 'Plaček', 'Plachý', 'Plšek', 'Pluhař', 'Podzimek', 'Pohl', 'Pokorný', - 'Poláček', 'Polách', 'Polák', 'Polanský', 'Polášek', 'Polívka', - 'Popelka', 'Pospíchal', 'Pospíšil', 'Potůček', 'Pour', 'Prachař', - 'Prášek', 'Pražák', 'Prchal', 'Procházka', 'Prokeš', 'Prokop', - 'Prošek', 'Provazník', 'Průcha', 'Průša', 'Přibyl', 'Příhoda', - 'Přikryl', 'Pšenička', 'Ptáček', 'Rác', 'Rada', 'Rak', 'Rambousek', - 'Raška', 'Rataj', 'Remeš', 'Rezek', 'Richter', 'Richtr', 'Roubal', - 'Rous', 'Rozsypal', 'Rudolf', 'Růžek', 'Růžička', 'Ryba', 'Rybář', - 'Rýdl', 'Ryšavý', 'Řeháček', 'Řehák', 'Řehoř', 'Řezáč', - 'Řezníček', 'Říha', 'Sadílek', 'Samek', 'Sedláček', 'Sedlák', - 'Sedlář', 'Sehnal', 'Seidl', 'Seifert', 'Sekanina', 'Semerád', - 'Severa', 'Schejbal', 'Schmidt', 'Schneider', 'Schwarz', 'Sikora', - 'Sivák', 'Skácel', 'Skala', 'Skála', 'Skalický', 'Sklenář', - 'Skopal', 'Skořepa', 'Skřivánek', 'Slabý', 'Sládek', 'Sladký', - 'Sláma', 'Slanina', 'Slavíček', 'Slavík', 'Slezák', 'Slováček', - 'Slovák', 'Sluka', 'Smejkal', 'Smékal', 'Smetana', 'Smola', 'Smolík', - 'Smolka', 'Smrčka', 'Smrž', 'Smutný', 'Sobek', 'Sobotka', 'Sochor', - 'Sojka', 'Sokol', 'Sommer', 'Souček', 'Soukup', 'Sova', 'Spáčil', - 'Spurný', 'Srb', 'Staněk', 'Stárek', 'Starý', 'Stehlík', 'Steiner', - 'Stejskal', 'Stibor', 'Stoklasa', 'Straka', 'Stránský', 'Strejček', - 'Strnad', 'Strouhal', 'Studený', 'Studnička', 'Stuchlík', - 'Stupka', 'Suchánek', 'Suchomel', 'Suchý', 'Suk', 'Svačina', - 'Svatoň', 'Svatoš', 'Světlík', 'Sviták', 'Svoboda', 'Svozil', - 'Sýkora', 'Synek', 'Syrový', 'Šafařík', 'Šafář', 'Šafránek', - 'Šálek', 'Šanda', 'Šašek', 'Šebek', 'Šebela', 'Šebesta', 'Šeda', - 'Šedivý', 'Šenk', 'Šesták', 'Ševčík', 'Šilhavý', 'Šimáček', - 'Šimák', 'Šimánek', 'Šíma', 'Šimčík', 'Šimeček', 'Šimek', - 'Šimon', 'Šimůnek', 'Šindelář', 'Šindler', 'Šípek', 'Šíp', - 'Široký', 'Šír', 'Šiška', 'Škoda', 'Škrabal', 'Šlechta', - 'Šmejkal', 'Šmerda', 'Šmíd', 'Šnajdr', 'Šolc', 'Špaček', - 'Špička', 'Šplíchal', 'Šrámek', 'Šťastný', 'Štefan', - 'Štefek', 'Štefl', 'Štěpánek', 'Štěpán', 'Štěrba', 'Šubrt', - 'Šulc', 'Šustr', 'Šváb', 'Švanda', 'Švarc', 'Švec', 'Švehla', - 'Švejda', 'Švestka', 'Táborský', 'Tancoš', 'Teplý', 'Tesař', - 'Tichý', 'Tománek', 'Toman', 'Tomášek', 'Tomáš', 'Tomeček', - 'Tomek', 'Tomeš', 'Tóth', 'Tran', 'Trávníček', 'Trčka', 'Trnka', - 'Trojan', 'Truhlář', 'Tříska', 'Tuček', 'Tůma', 'Tureček', 'Turek', - 'Tvrdík', 'Tvrdý', 'Uher', 'Uhlíř', 'Ulrich', 'Urbanec', 'Urbánek', - 'Urban', 'Vacek', 'Václavek', 'Václavík', 'Vaculík', 'Vágner', - 'Vácha', 'Valášek', 'Vala', 'Válek', 'Valenta', 'Valeš', 'Váňa', - 'Vančura', 'Vaněček', 'Vaněk', 'Vaníček', 'Varga', 'Vašák', - 'Vašek', 'Vašíček', 'Vávra', 'Vavřík', 'Večeřa', 'Vejvoda', - 'Verner', 'Veselý', 'Veverka', 'Vícha', 'Vilímek', 'Vinš', 'Víšek', - 'Vitásek', 'Vítek', 'Vít', 'Vlach', 'Vlasák', 'Vlček', 'Vlk', - 'Vobořil', 'Vodák', 'Vodička', 'Vodrážka', 'Vojáček', 'Vojta', - 'Vojtěch', 'Vojtek', 'Vojtíšek', 'Vokoun', 'Volek', 'Volf', 'Volný', - 'Vondráček', 'Vondrák', 'Vondra', 'Voráček', 'Vorel', 'Vorlíček', - 'Voříšek', 'Votava', 'Votruba', 'Vrabec', 'Vrána', 'Vrba', 'Vrzal', - 'Vybíral', 'Vydra', 'Vymazal', 'Vyskočil', 'Vysloužil', 'Wagner', - 'Walter', 'Weber', 'Weiss', 'Winkler', 'Wolf', 'Zábranský', 'Zahrádka', - 'Zahradník', 'Zach', 'Zajíc', 'Zajíček', 'Zálešák', 'Zámečník', - 'Zapletal', 'Záruba', 'Zatloukal', 'Zavadil', 'Zavřel', 'Zbořil', - 'Zdražil', 'Zedník', 'Zelenka', 'Zelený', 'Zelinka', 'Zemánek', - 'Zeman', 'Zezula', 'Zíka', 'Zikmund', 'Zima', 'Zlámal', 'Zoubek', - 'Zouhar', 'Zvěřina', 'Žáček', 'Žák', 'Žďárský', 'Žemlička', - 'Žídek', 'Žižka', 'Žůrek', - ]; + protected static $lastNameMale = [ + 'Adam', + 'Adamec', + 'Adámek', + 'Albrecht', + 'Ambrož', + 'Anděl', + 'Andrle', + 'Antoš', + 'Bajer', + 'Baláž', + 'Balcar', + 'Balog', + 'Baloun', + 'Barák', + 'Baran', + 'Bareš', + 'Bárta', + 'Barták', + 'Bartoň', + 'Bartoš', + 'Bartošek', + 'Bartůněk', + 'Bašta', + 'Bauer', + 'Bayer', + 'Bažant', + 'Bečka', + 'Bečvář', + 'Bednář', + 'Bednařík', + 'Bělohlávek', + 'Benda', + 'Beneš', + 'Beran', + 'Beránek', + 'Berger', + 'Berka', + 'Berky', + 'Bernard', + 'Bezděk', + 'Bílek', + 'Bílý', + 'Bína', + 'Bittner', + 'Blaha', + 'Bláha', + 'Blažek', + 'Blecha', + 'Bobek', + 'Boček', + 'Boháč', + 'Boháček', + 'Böhm', + 'Borovička', + 'Bouček', + 'Bouda', + 'Bouška', + 'Brabec', + 'Brabenec', + 'Brada', + 'Bradáč', + 'Braun', + 'Brázda', + 'Brázdil', + 'Brejcha', + 'Brož', + 'Brožek', + 'Brychta', + 'Březina', + 'Bříza', + 'Bubeník', + 'Buček', + 'Buchta', + 'Burda', + 'Bureš', + 'Burian', + 'Buriánek', + 'Byrtus', + 'Caha', + 'Cibulka', + 'Cihlář', + 'Císař', + 'Coufal', + 'Čada', + 'Čáp', + 'Čapek', + 'Čech', + 'Čejka', + 'Čermák', + 'Černík', + 'Černohorský', + 'Černoch', + 'Černý', + 'Červeňák', + 'Červenka', + 'Červený', + 'Červinka', + 'Čihák', + 'Čížek', + 'Čonka', + 'Čurda', + 'Daněk', + 'Daniel', + 'Daniš', + 'David', + 'Dědek', + 'Dittrich', + 'Diviš', + 'Dlouhý', + 'Dobeš', + 'Dobiáš', + 'Dobrovolný', + 'Dočekal', + 'Dočkal', + 'Dohnal', + 'Dokoupil', + 'Doleček', + 'Dolejš', + 'Dolejší', + 'Doležal', + 'Doležel', + 'Doskočil', + 'Dostál', + 'Doubek', + 'Doubrava', + 'Douša', + 'Drábek', + 'Drozd', + 'Dubský', + 'Duda', + 'Dudek', + 'Dufek', + 'Duchoň', + 'Dunka', + 'Dušek', + 'Dvorský', + 'Dvořáček', + 'Dvořák', + 'Eliáš', + 'Erben', + 'Fabián', + 'Fanta', + 'Farkaš', + 'Fejfar', + 'Fencl', + 'Ferenc', + 'Fiala', + 'Fiedler', + 'Filip', + 'Fischer', + 'Fišer', + 'Florián', + 'Fojtík', + 'Foltýn', + 'Formánek', + 'Forman', + 'Fořt', + 'Fousek', + 'Franc', + 'Franěk', + 'Frank', + 'Fridrich', + 'Frydrych', + 'Fučík', + 'Fuchs', + 'Fuksa', + 'Gábor', + 'Gabriel', + 'Gajdoš', + 'Gregor', + 'Gruber', + 'Grundza', + 'Grygar', + 'Hájek', + 'Hajný', + 'Hála', + 'Hampl', + 'Hanáček', + 'Hána', + 'Hanák', + 'Hanousek', + 'Hanus', + 'Hanuš', + 'Hanzal', + 'Hanzl', + 'Hanzlík', + 'Hartman', + 'Hašek', + 'Havel', + 'Havelka', + 'Havlíček', + 'Havlík', + 'Havránek', + 'Heczko', + 'Heger', + 'Hejda', + 'Hejduk', + 'Hejl', + 'Hejna', + 'Hendrych', + 'Herman', + 'Heřmánek', + 'Heřman', + 'Hladík', + 'Hladký', + 'Hlaváček', + 'Hlaváč', + 'Hlavatý', + 'Hlávka', + 'Hloušek', + 'Hoffmann', + 'Hofman', + 'Holan', + 'Holas', + 'Holec', + 'Holeček', + 'Holík', + 'Holoubek', + 'Holub', + 'Holý', + 'Homola', + 'Homolka', + 'Horáček', + 'Hora', + 'Horák', + 'Horký', + 'Horňák', + 'Horníček', + 'Horník', + 'Horský', + 'Horváth', + 'Horvát', + 'Hořejší', + 'Hošek', + 'Houdek', + 'Houška', + 'Hovorka', + 'Hrabal', + 'Hrabovský', + 'Hradecký', + 'Hradil', + 'Hrbáček', + 'Hrbek', + 'Hrdina', + 'Hrdlička', + 'Hrdý', + 'Hrnčíř', + 'Hroch', + 'Hromádka', + 'Hron', + 'Hrubeš', + 'Hrubý', + 'Hruška', + 'Hrůza', + 'Hubáček', + 'Hudec', + 'Hudeček', + 'Hůlka', + 'Huml', + 'Husák', + 'Hušek', + 'Hýbl', + 'Hynek', + 'Chaloupka', + 'Chalupa', + 'Charvát', + 'Chládek', + 'Chlup', + 'Chmelař', + 'Chmelík', + 'Chovanec', + 'Chromý', + 'Chudoba', + 'Chvátal', + 'Chvojka', + 'Chytil', + 'Jahoda', + 'Jakeš', + 'Jakl', + 'Jakoubek', + 'Jakubec', + 'Janáček', + 'Janák', + 'Janata', + 'Janča', + 'Jančík', + 'Janda', + 'Janeček', + 'Janečka', + 'Janíček', + 'Janík', + 'Janků', + 'Janota', + 'Janoušek', + 'Janovský', + 'Jansa', + 'Jánský', + 'Jareš', + 'Jaroš', + 'Jašek', + 'Javůrek', + 'Jedlička', + 'Jech', + 'Jelen', + 'Jelínek', + 'Jeníček', + 'Jeřábek', + 'Ježek', + 'Jež', + 'Jílek', + 'Jindra', + 'Jíra', + 'Jirák', + 'Jiránek', + 'Jirásek', + 'Jirka', + 'Jirků', + 'Jiroušek', + 'Jirsa', + 'Jiřík', + 'John', + 'Jonáš', + 'Junek', + 'Jurčík', + 'Jurečka', + 'Juřica', + 'Juřík', + 'Kabát', + 'Kačírek', + 'Kadeřábek', + 'Kadlec', + 'Kafka', + 'Kaiser', + 'Kaláb', + 'Kala', + 'Kalaš', + 'Kalina', + 'Kalivoda', + 'Kalousek', + 'Kalous', + 'Kameník', + 'Kaňa', + 'Kaňka', + 'Kantor', + 'Kaplan', + 'Karásek', + 'Karas', + 'Karban', + 'Karel', + 'Karlík', + 'Kasal', + 'Kašík', + 'Kašpárek', + 'Kašpar', + 'Kavka', + 'Kazda', + 'Kindl', + 'Klečka', + 'Klein', + 'Klement', + 'Klíma', + 'Kliment', + 'Klimeš', + 'Klouček', + 'Klouda', + 'Knap', + 'Knotek', + 'Kocián', + 'Kocman', + 'Kocourek', + 'Kohoutek', + 'Kohout', + 'Koch', + 'Koláček', + 'Kolařík', + 'Kolář', + 'Kolek', + 'Kolman', + 'Komárek', + 'Komínek', + 'Konečný', + 'Koníček', + 'Kopal', + 'Kopecký', + 'Kopeček', + 'Kopečný', + 'Kopřiva', + 'Korbel', + 'Kořínek', + 'Kosík', + 'Kosina', + 'Kos', + 'Kostka', + 'Košťál', + 'Kotas', + 'Kotek', + 'Kotlár', + 'Kotrba', + 'Kouba', + 'Koubek', + 'Koudela', + 'Koudelka', + 'Koukal', + 'Kouřil', + 'Koutný', + 'Kováč', + 'Kovařík', + 'Kovářík', + 'Kovář', + 'Kozák', + 'Kozel', + 'Krajíček', + 'Králíček', + 'Králík', + 'Král', + 'Krátký', + 'Kratochvíl', + 'Kraus', + 'Krčmář', + 'Krejčík', + 'Krejčí', + 'Krejčíř', + 'Krištof', + 'Kropáček', + 'Kroupa', + 'Krupa', + 'Krupička', + 'Krupka', + 'Křeček', + 'Křenek', + 'Křivánek', + 'Křížek', + 'Kříž', + 'Kuba', + 'Kubálek', + 'Kubánek', + 'Kubát', + 'Kubec', + 'Kubelka', + 'Kubeš', + 'Kubica', + 'Kubíček', + 'Kubík', + 'Kubín', + 'Kubiš', + 'Kuča', + 'Kučera', + 'Kudláček', + 'Kudrna', + 'Kuchař', + 'Kuchta', + 'Kukla', + 'Kulhánek', + 'Kulhavý', + 'Kunc', + 'Kuneš', + 'Kupec', + 'Kupka', + 'Kurka', + 'Kužel', + 'Kvapil', + 'Kvasnička', + 'Kyncl', + 'Kysela', + 'Lacina', + 'Lacko', + 'Lakatoš', + 'Landa', + 'Langer', + 'Lang', + 'Langr', + 'Látal', + 'Lavička', + 'Lebeda', + 'Levý', + 'Líbal', + 'Linhart', + 'Liška', + 'Lorenc', + 'Louda', + 'Ludvík', + 'Lukáč', + 'Lukášek', + 'Lukáš', + 'Lukeš', + 'Macák', + 'Macek', + 'Macura', + 'Macháček', + 'Machač', + 'Macháč', + 'Machala', + 'Machálek', + 'Mácha', + 'Mach', + 'Majer', + 'Maleček', + 'Málek', + 'Malík', + 'Malina', + 'Malý', + 'Maňák', + 'Mareček', + 'Marek', + 'Mareš', + 'Maršálek', + 'Maršík', + 'Martinec', + 'Martinek', + 'Martínek', + 'Mařík', + 'Masopust', + 'Mašek', + 'Matějíček', + 'Matějka', + 'Matoušek', + 'Matouš', + 'Matula', + 'Matuška', + 'Matyáš', + 'Matys', + 'Maxa', + 'Mayer', + 'Mazánek', + 'Medek', + 'Melichar', + 'Mencl', + 'Menšík', + 'Merta', + 'Mička', + 'Michalec', + 'Michálek', + 'Michalík', + 'Michal', + 'Michna', + 'Mika', + 'Míka', + 'Mikeš', + 'Miko', + 'Mikula', + 'Mikulášek', + 'Minařík', + 'Minář', + 'Mirga', + 'Mládek', + 'Mlčoch', + 'Mlejnek', + 'Mojžíš', + 'Mokrý', + 'Molnár', + 'Moravec', + 'Morávek', + 'Motl', + 'Motyčka', + 'Moučka', + 'Moudrý', + 'Mráček', + 'Mrázek', + 'Mráz', + 'Mrkvička', + 'Mucha', + 'Müller', + 'Műller', + 'Musil', + 'Mužík', + 'Myška', + 'Nagy', + 'Najman', + 'Navrátil', + 'Nečas', + 'Nedbal', + 'Nedoma', + 'Nedvěd', + 'Nejedlý', + 'Němec', + 'Němeček', + 'Nesvadba', + 'Nešpor', + 'Neubauer', + 'Neuman', + 'Neumann', + 'Nguyen', + 'Nguyen', + 'Nosek', + 'Nováček', + 'Novák', + 'Novosad', + 'Novotný', + 'Nový', + 'Odehnal', + 'Oláh', + 'Oliva', + 'Ondráček', + 'Ondra', + 'Orság', + 'Otáhal', + 'Paleček', + 'Pánek', + 'Papež', + 'Pařízek', + 'Pašek', + 'Pátek', + 'Patočka', + 'Paul', + 'Pavelek', + 'Pavelka', + 'Pavel', + 'Pavlas', + 'Pavlica', + 'Pavlíček', + 'Pavlík', + 'Pavlů', + 'Pazdera', + 'Pecka', + 'Pecháček', + 'Pecha', + 'Pech', + 'Pekárek', + 'Pekař', + 'Pelc', + 'Pelikán', + 'Pernica', + 'Peroutka', + 'Peřina', + 'Pešek', + 'Peška', + 'Pešta', + 'Peterka', + 'Petrák', + 'Petráš', + 'Petr', + 'Petrů', + 'Petříček', + 'Petřík', + 'Pham', + 'Pícha', + 'Pilař', + 'Pilát', + 'Píša', + 'Pivoňka', + 'Plaček', + 'Plachý', + 'Plšek', + 'Pluhař', + 'Podzimek', + 'Pohl', + 'Pokorný', + 'Poláček', + 'Polách', + 'Polák', + 'Polanský', + 'Polášek', + 'Polívka', + 'Popelka', + 'Pospíchal', + 'Pospíšil', + 'Potůček', + 'Pour', + 'Prachař', + 'Prášek', + 'Pražák', + 'Prchal', + 'Procházka', + 'Prokeš', + 'Prokop', + 'Prošek', + 'Provazník', + 'Průcha', + 'Průša', + 'Přibyl', + 'Příhoda', + 'Přikryl', + 'Pšenička', + 'Ptáček', + 'Rác', + 'Rada', + 'Rak', + 'Rambousek', + 'Raška', + 'Rataj', + 'Remeš', + 'Rezek', + 'Richter', + 'Richtr', + 'Roubal', + 'Rous', + 'Rozsypal', + 'Rudolf', + 'Růžek', + 'Růžička', + 'Ryba', + 'Rybář', + 'Rýdl', + 'Ryšavý', + 'Řeháček', + 'Řehák', + 'Řehoř', + 'Řezáč', + 'Řezníček', + 'Říha', + 'Sadílek', + 'Samek', + 'Sedláček', + 'Sedlák', + 'Sedlář', + 'Sehnal', + 'Seidl', + 'Seifert', + 'Sekanina', + 'Semerád', + 'Severa', + 'Schejbal', + 'Schmidt', + 'Schneider', + 'Schwarz', + 'Sikora', + 'Sivák', + 'Skácel', + 'Skala', + 'Skála', + 'Skalický', + 'Sklenář', + 'Skopal', + 'Skořepa', + 'Skřivánek', + 'Slabý', + 'Sládek', + 'Sladký', + 'Sláma', + 'Slanina', + 'Slavíček', + 'Slavík', + 'Slezák', + 'Slováček', + 'Slovák', + 'Sluka', + 'Smejkal', + 'Smékal', + 'Smetana', + 'Smola', + 'Smolík', + 'Smolka', + 'Smrčka', + 'Smrž', + 'Smutný', + 'Sobek', + 'Sobotka', + 'Sochor', + 'Sojka', + 'Sokol', + 'Sommer', + 'Souček', + 'Soukup', + 'Sova', + 'Spáčil', + 'Spurný', + 'Srb', + 'Staněk', + 'Stárek', + 'Starý', + 'Stehlík', + 'Steiner', + 'Stejskal', + 'Stibor', + 'Stoklasa', + 'Straka', + 'Stránský', + 'Strejček', + 'Strnad', + 'Strouhal', + 'Studený', + 'Studnička', + 'Stuchlík', + 'Stupka', + 'Suchánek', + 'Suchomel', + 'Suchý', + 'Suk', + 'Svačina', + 'Svatoň', + 'Svatoš', + 'Světlík', + 'Sviták', + 'Svoboda', + 'Svozil', + 'Sýkora', + 'Synek', + 'Syrový', + 'Šafařík', + 'Šafář', + 'Šafránek', + 'Šálek', + 'Šanda', + 'Šašek', + 'Šebek', + 'Šebela', + 'Šebesta', + 'Šeda', + 'Šedivý', + 'Šenk', + 'Šesták', + 'Ševčík', + 'Šilhavý', + 'Šimáček', + 'Šimák', + 'Šimánek', + 'Šíma', + 'Šimčík', + 'Šimeček', + 'Šimek', + 'Šimon', + 'Šimůnek', + 'Šindelář', + 'Šindler', + 'Šípek', + 'Šíp', + 'Široký', + 'Šír', + 'Šiška', + 'Škoda', + 'Škrabal', + 'Šlechta', + 'Šmejkal', + 'Šmerda', + 'Šmíd', + 'Šnajdr', + 'Šolc', + 'Špaček', + 'Špička', + 'Šplíchal', + 'Šrámek', + 'Šťastný', + 'Štefan', + 'Štefek', + 'Štefl', + 'Štěpánek', + 'Štěpán', + 'Štěrba', + 'Šubrt', + 'Šulc', + 'Šustr', + 'Šváb', + 'Švanda', + 'Švarc', + 'Švec', + 'Švehla', + 'Švejda', + 'Švestka', + 'Táborský', + 'Tancoš', + 'Teplý', + 'Tesař', + 'Tichý', + 'Tománek', + 'Toman', + 'Tomášek', + 'Tomáš', + 'Tomeček', + 'Tomek', + 'Tomeš', + 'Tóth', + 'Tran', + 'Trávníček', + 'Trčka', + 'Trnka', + 'Trojan', + 'Truhlář', + 'Tříska', + 'Tuček', + 'Tůma', + 'Tureček', + 'Turek', + 'Tvrdík', + 'Tvrdý', + 'Uher', + 'Uhlíř', + 'Ulrich', + 'Urbanec', + 'Urbánek', + 'Urban', + 'Vacek', + 'Václavek', + 'Václavík', + 'Vaculík', + 'Vágner', + 'Vácha', + 'Valášek', + 'Vala', + 'Válek', + 'Valenta', + 'Valeš', + 'Váňa', + 'Vančura', + 'Vaněček', + 'Vaněk', + 'Vaníček', + 'Varga', + 'Vašák', + 'Vašek', + 'Vašíček', + 'Vávra', + 'Vavřík', + 'Večeřa', + 'Vejvoda', + 'Verner', + 'Veselý', + 'Veverka', + 'Vícha', + 'Vilímek', + 'Vinš', + 'Víšek', + 'Vitásek', + 'Vítek', + 'Vít', + 'Vlach', + 'Vlasák', + 'Vlček', + 'Vlk', + 'Vobořil', + 'Vodák', + 'Vodička', + 'Vodrážka', + 'Vojáček', + 'Vojta', + 'Vojtěch', + 'Vojtek', + 'Vojtíšek', + 'Vokoun', + 'Volek', + 'Volf', + 'Volný', + 'Vondráček', + 'Vondrák', + 'Vondra', + 'Voráček', + 'Vorel', + 'Vorlíček', + 'Voříšek', + 'Votava', + 'Votruba', + 'Vrabec', + 'Vrána', + 'Vrba', + 'Vrzal', + 'Vybíral', + 'Vydra', + 'Vymazal', + 'Vyskočil', + 'Vysloužil', + 'Wagner', + 'Walter', + 'Weber', + 'Weiss', + 'Winkler', + 'Wolf', + 'Zábranský', + 'Zahrádka', + 'Zahradník', + 'Zach', + 'Zajíc', + 'Zajíček', + 'Zálešák', + 'Zámečník', + 'Zapletal', + 'Záruba', + 'Zatloukal', + 'Zavadil', + 'Zavřel', + 'Zbořil', + 'Zdražil', + 'Zedník', + 'Zelenka', + 'Zelený', + 'Zelinka', + 'Zemánek', + 'Zeman', + 'Zezula', + 'Zíka', + 'Zikmund', + 'Zima', + 'Zlámal', + 'Zoubek', + 'Zouhar', + 'Zvěřina', + 'Žáček', + 'Žák', + 'Žďárský', + 'Žemlička', + 'Žídek', + 'Žižka', + 'Žůrek', + ]; - protected static $lastNameFemale = [ - 'Adamová', 'Adamcová', 'Adámková', 'Albrechtová', 'Ambrožová', - 'Andělová', 'Andrlová', 'Antošová', 'Bajerová', 'Balážová', - 'Balcarová', 'Balogová', 'Balounová', 'Baráková', 'Baranová', - 'Barešová', 'Bártová', 'Bartáková', 'Bartoňová', 'Bartošová', - 'Bartošková', 'Bartůňková', 'Baštová', 'Bauerová', 'Bayerová', - 'Bažantová', 'Bečková', 'Bečvářová', 'Bednářová', - 'Bednaříková', 'Bělohlávková', 'Bendová', 'Benešová', - 'Beranová', 'Beránková', 'Bergerová', 'Berková', 'Berkyová', - 'Bernardová', 'Bezděková', 'Bílková', 'Bílová', 'Bínová', - 'Bittnerová', 'Blahová', 'Bláhová', 'Blažková', 'Blechová', - 'Bobková', 'Bočková', 'Boháčová', 'Boháčková', 'Böhmová', - 'Borovičková', 'Boučková', 'Boudová', 'Boušková', 'Brabcová', - 'Brabencová', 'Bradová', 'Bradáčová', 'Braunová', 'Brázdová', - 'Brázdilová', 'Brejchová', 'Brožová', 'Brožková', 'Brychtová', - 'Březinová', 'Břízová', 'Bubeníková', 'Bučková', 'Buchtová', - 'Burdová', 'Burešová', 'Burianová', 'Buriánková', 'Byrtusová', - 'Cahová', 'Cibulková', 'Cihlářová', 'Císařová', 'Coufalová', - 'Čadová', 'Čápová', 'Čapková', 'Čechová', 'Čejková', - 'Čermáková', 'Černíková', 'Černohorská', 'Černochová', - 'Černá', 'Červeňáková', 'Červenková', 'Červená', 'Červinková', - 'Čiháková', 'Čížková', 'Čonková', 'Čurdová', 'Daňková', - 'Danielová', 'Danišová', 'Davidová', 'Dědková', 'Dittrichová', - 'Divišová', 'Dlouhá', 'Dobešová', 'Dobiášová', 'Dobrovolná', - 'Dočekalová', 'Dočkalová', 'Dohnalová', 'Dokoupilová', - 'Dolečková', 'Dolejšová', 'Dolejší', 'Doležalová', 'Doleželová', - 'Doskočilová', 'Dostálová', 'Doubková', 'Doubravová', 'Doušová', - 'Drábková', 'Drozdová', 'Dubská', 'Dudová', 'Dudková', 'Dufková', - 'Duchoňová', 'Dunková', 'Dušková', 'Dvorská', 'Dvořáčková', - 'Dvořáková', 'Eliášová', 'Erbenová', 'Fabiánová', 'Fantová', - 'Farkašová', 'Fejfarová', 'Fenclová', 'Ferencová', 'Fialová', - 'Fiedlerová', 'Filipová', 'Fischerová', 'Fišerová', 'Floriánová', - 'Fojtíková', 'Foltýnová', 'Formánková', 'Formanová', 'Fořtová', - 'Fousková', 'Francová', 'Fraňková', 'Franková', 'Fridrichová', - 'Frydrychová', 'Fučíková', 'Fuchsová', 'Fuksová', 'Gáborová', - 'Gabrielová', 'Gajdošová', 'Gregorová', 'Gruberová', 'Grundzová', - 'Grygarová', 'Hájková', 'Hajná', 'Hálová', 'Hamplová', - 'Hanáčková', 'Hánová', 'Hanáková', 'Hanousková', 'Hanusová', - 'Hanušová', 'Hanzalová', 'Hanzlová', 'Hanzlíková', 'Hartmanová', - 'Hašková', 'Havelová', 'Havelková', 'Havlíčková', 'Havlíková', - 'Havránková', 'Heczková', 'Hegerová', 'Hejdová', 'Hejduková', - 'Hejlová', 'Hejnová', 'Hendrychová', 'Hermanová', 'Heřmánková', - 'Heřmanová', 'Hladíková', 'Hladká', 'Hlaváčková', 'Hlaváčová', - 'Hlavatá', 'Hlávková', 'Hloušková', 'Hoffmannová', 'Hofmanová', - 'Holanová', 'Holasová', 'Holcová', 'Holečková', 'Holíková', - 'Holoubková', 'Holubová', 'Holá', 'Homolová', 'Homolková', - 'Horáčková', 'Horová', 'Horáková', 'Horká', 'Horňáková', - 'Horníčková', 'Horníková', 'Horská', 'Horváthová', 'Horvátová', - 'Hořejšíová', 'Hošková', 'Houdková', 'Houšková', 'Hovorková', - 'Hrabalová', 'Hrabovská', 'Hradecká', 'Hradilová', 'Hrbáčková', - 'Hrbková', 'Hrdinová', 'Hrdličková', 'Hrdá', 'Hrnčířová', - 'Hrochová', 'Hromádková', 'Hronová', 'Hrubešová', 'Hrubá', - 'Hrušková', 'Hrůzová', 'Hubáčková', 'Hudcová', 'Hudečková', - 'Hůlková', 'Humlová', 'Husáková', 'Hušková', 'Hýblová', - 'Hynková', 'Chaloupková', 'Chalupová', 'Charvátová', 'Chládková', - 'Chlupová', 'Chmelařová', 'Chmelíková', 'Chovancová', 'Chromá', - 'Chudobová', 'Chvátalová', 'Chvojková', 'Chytilová', 'Jahodová', - 'Jakešová', 'Jaklová', 'Jakoubková', 'Jakubcová', 'Janáčková', - 'Janáková', 'Janatová', 'Jančová', 'Jančíková', 'Jandová', - 'Janečková', 'Janečková', 'Janíčková', 'Janíková', 'Janková', - 'Janotová', 'Janoušková', 'Janovská', 'Jansová', 'Jánská', - 'Jarešová', 'Jarošová', 'Jašková', 'Javůrková', 'Jedličková', - 'Jechová', 'Jelenová', 'Jelínková', 'Jeníčková', 'Jeřábková', - 'Ježková', 'Ježová', 'Jílková', 'Jindrová', 'Jírová', - 'Jiráková', 'Jiránková', 'Jirásková', 'Jirková', 'Jirková', - 'Jiroušková', 'Jirsová', 'Jiříková', 'Johnová', 'Jonášová', - 'Junková', 'Jurčíková', 'Jurečková', 'Juřicová', 'Juříková', - 'Kabátová', 'Kačírková', 'Kadeřábková', 'Kadlcová', 'Kafková', - 'Kaiserová', 'Kalábová', 'Kalová', 'Kalašová', 'Kalinová', - 'Kalivodová', 'Kalousková', 'Kalousová', 'Kameníková', 'Kaňová', - 'Kaňková', 'Kantorová', 'Kaplanová', 'Karásková', 'Karasová', - 'Karbanová', 'Karelová', 'Karlíková', 'Kasalová', 'Kašíková', - 'Kašpárková', 'Kašparová', 'Kavková', 'Kazdová', 'Kindlová', - 'Klečková', 'Kleinová', 'Klementová', 'Klímová', 'Klimentová', - 'Klimešová', 'Kloučková', 'Kloudová', 'Knapová', 'Knotková', - 'Kociánová', 'Kocmanová', 'Kocourková', 'Kohoutková', 'Kohoutová', - 'Kochová', 'Koláčková', 'Kolaříková', 'Kolářová', 'Kolková', - 'Kolmanová', 'Komárková', 'Komínková', 'Konečná', 'Koníčková', - 'Kopalová', 'Kopecká', 'Kopečková', 'Kopečná', 'Kopřivová', - 'Korbelová', 'Kořínková', 'Kosíková', 'Kosinová', 'Kosová', - 'Kostková', 'Košťálová', 'Kotasová', 'Kotková', 'Kotlárová', - 'Kotrbová', 'Koubová', 'Koubková', 'Koudelová', 'Koudelková', - 'Koukalová', 'Kouřilová', 'Koutná', 'Kováčová', 'Kovaříková', - 'Kováříková', 'Kovářová', 'Kozáková', 'Kozelová', - 'Krajíčková', 'Králíčková', 'Králíková', 'Králová', - 'Krátká', 'Kratochvílová', 'Krausová', 'Krčmářová', - 'Krejčíková', 'Krejčová', 'Krejčířová', 'Krištofová', - 'Kropáčková', 'Kroupová', 'Krupová', 'Krupičková', 'Krupková', - 'Křečková', 'Křenková', 'Křivánková', 'Křížková', - 'Křížová', 'Kubová', 'Kubálková', 'Kubánková', 'Kubátová', - 'Kubcová', 'Kubelková', 'Kubešová', 'Kubicová', 'Kubíčková', - 'Kubíková', 'Kubínová', 'Kubišová', 'Kučová', 'Kučerová', - 'Kudláčková', 'Kudrnová', 'Kuchařová', 'Kuchtová', 'Kuklová', - 'Kulhánková', 'Kulhavá', 'Kuncová', 'Kunešová', 'Kupcová', - 'Kupková', 'Kurková', 'Kuželová', 'Kvapilová', 'Kvasničková', - 'Kynclová', 'Kyselová', 'Lacinová', 'Lacková', 'Lakatošová', - 'Landová', 'Langerová', 'Langová', 'Langrová', 'Látalová', - 'Lavičková', 'Lebedová', 'Levá', 'Líbalová', 'Linhartová', - 'Lišková', 'Lorencová', 'Loudová', 'Ludvíková', 'Lukáčová', - 'Lukášková', 'Lukášová', 'Lukešová', 'Macáková', 'Macková', - 'Macurová', 'Macháčková', 'Machačová', 'Macháčová', 'Machalová', - 'Machálková', 'Máchová', 'Machová', 'Majerová', 'Malečková', - 'Málková', 'Malíková', 'Malinová', 'Malá', 'Maňáková', - 'Marečková', 'Marková', 'Marešová', 'Maršálková', - 'Maršíková', 'Martincová', 'Martinková', 'Martínková', - 'Maříková', 'Masopustová', 'Mašková', 'Matějíčková', - 'Matějková', 'Matoušková', 'Matoušová', 'Matulová', 'Matušková', - 'Matyášová', 'Matysová', 'Maxová', 'Mayerová', 'Mazánková', - 'Medková', 'Melicharová', 'Menclová', 'Menšíková', 'Mertová', - 'Mičková', 'Michalcová', 'Michálková', 'Michalíková', - 'Michalová', 'Michnová', 'Miková', 'Míková', 'Mikešová', - 'Miková', 'Mikulová', 'Mikulášková', 'Minaříková', 'Minářová', - 'Mirgová', 'Mládková', 'Mlčochová', 'Mlejnková', 'Mojžíšová', - 'Mokrá', 'Molnárová', 'Moravcová', 'Morávková', 'Motlová', - 'Motyčková', 'Moučková', 'Moudrá', 'Mráčková', 'Mrázková', - 'Mrázová', 'Mrkvičková', 'Muchová', 'Müllerová', 'Műllerová', - 'Musilová', 'Mužíková', 'Myšková', 'Nagyová', 'Najmanová', - 'Navrátilová', 'Nečasová', 'Nedbalová', 'Nedomová', 'Nedvědová', - 'Nejedlá', 'Němcová', 'Němečková', 'Nesvadbová', 'Nešporová', - 'Neubauerová', 'Neumanová', 'Neumannová', 'Nguyenová', 'Vanová', - 'Nosková', 'Nováčková', 'Nováková', 'Novosadová', 'Novotná', - 'Nová', 'Odehnalová', 'Oláhová', 'Olivová', 'Ondráčková', - 'Ondrová', 'Orságová', 'Otáhalová', 'Palečková', 'Pánková', - 'Papežová', 'Pařízková', 'Pašková', 'Pátková', 'Patočková', - 'Paulová', 'Pavelková', 'Pavelková', 'Pavelová', 'Pavlasová', - 'Pavlicová', 'Pavlíčková', 'Pavlíková', 'Pavlová', 'Pazderová', - 'Pecková', 'Pecháčková', 'Pechová', 'Pechová', 'Pekárková', - 'Pekařová', 'Pelcová', 'Pelikánová', 'Pernicová', 'Peroutková', - 'Peřinová', 'Pešková', 'Pešková', 'Peštová', 'Peterková', - 'Petráková', 'Petrášová', 'Petrová', 'Petrová', 'Petříčková', - 'Petříková', 'Phamová', 'Píchová', 'Pilařová', 'Pilátová', - 'Píšová', 'Pivoňková', 'Plačková', 'Plachá', 'Plšková', - 'Pluhařová', 'Podzimková', 'Pohlová', 'Pokorná', 'Poláčková', - 'Poláchová', 'Poláková', 'Polanská', 'Polášková', 'Polívková', - 'Popelková', 'Pospíchalová', 'Pospíšilová', 'Potůčková', - 'Pourová', 'Prachařová', 'Prášková', 'Pražáková', - 'Prchalová', 'Procházková', 'Prokešová', 'Prokopová', - 'Prošková', 'Provazníková', 'Průchová', 'Průšová', - 'Přibylová', 'Příhodová', 'Přikrylová', 'Pšeničková', - 'Ptáčková', 'Rácová', 'Radová', 'Raková', 'Rambousková', - 'Rašková', 'Ratajová', 'Remešová', 'Rezková', 'Richterová', - 'Richtrová', 'Roubalová', 'Rousová', 'Rozsypalová', 'Rudolfová', - 'Růžková', 'Růžičková', 'Rybová', 'Rybářová', 'Rýdlová', - 'Ryšavá', 'Řeháčková', 'Řeháková', 'Řehořová', 'Řezáčová', - 'Řezníčková', 'Říhová', 'Sadílková', 'Samková', 'Sedláčková', - 'Sedláková', 'Sedlářová', 'Sehnalová', 'Seidlová', 'Seifertová', - 'Sekaninová', 'Semerádová', 'Severová', 'Schejbalová', 'Schmidtová', - 'Schneiderová', 'Schwarzová', 'Sikorová', 'Siváková', 'Skácelová', - 'Skalová', 'Skálová', 'Skalická', 'Sklenářová', 'Skopalová', - 'Skořepová', 'Skřivánková', 'Slabá', 'Sládková', 'Sladká', - 'Slámová', 'Slaninová', 'Slavíčková', 'Slavíková', 'Slezáková', - 'Slováčková', 'Slováková', 'Sluková', 'Smejkalová', 'Smékalová', - 'Smetanová', 'Smolová', 'Smolíková', 'Smolková', 'Smrčková', - 'Smržová', 'Smutná', 'Sobková', 'Sobotková', 'Sochorová', - 'Sojková', 'Sokolová', 'Sommerová', 'Součková', 'Soukupová', - 'Sovová', 'Spáčilová', 'Spurná', 'Srbová', 'Staňková', - 'Stárková', 'Stará', 'Stehlíková', 'Steinerová', 'Stejskalová', - 'Stiborová', 'Stoklasová', 'Straková', 'Stránská', 'Strejčková', - 'Strnadová', 'Strouhalová', 'Studená', 'Studničková', - 'Stuchlíková', 'Stupková', 'Suchánková', 'Suchomelová', 'Suchá', - 'Suková', 'Svačinová', 'Svatoňová', 'Svatošová', 'Světlíková', - 'Svitáková', 'Svobodová', 'Svozilová', 'Sýkorová', 'Synková', - 'Syrová', 'Šafaříková', 'Šafářová', 'Šafránková', - 'Šálková', 'Šandová', 'Šašková', 'Šebková', 'Šebelová', - 'Šebestová', 'Šedová', 'Šedivá', 'Šenková', 'Šestáková', - 'Ševčíková', 'Šilhavá', 'Šimáčková', 'Šimáková', - 'Šimánková', 'Šímová', 'Šimčíková', 'Šimečková', 'Šimková', - 'Šimonová', 'Šimůnková', 'Šindelářová', 'Šindlerová', - 'Šípková', 'Šípová', 'Široká', 'Šírová', 'Šišková', - 'Škodová', 'Škrabalová', 'Šlechtová', 'Šmejkalová', 'Šmerdová', - 'Šmídová', 'Šnajdrová', 'Šolcová', 'Špačková', 'Špičková', - 'Šplíchalová', 'Šrámková', 'Šťastná', 'Štefanová', - 'Štefková', 'Šteflová', 'Štěpánková', 'Štěpánová', - 'Štěrbová', 'Šubrtová', 'Šulcová', 'Šustrová', 'Švábová', - 'Švandová', 'Švarcová', 'Švecová', 'Švehlová', 'Švejdová', - 'Švestková', 'Táborská', 'Tancošová', 'Teplá', 'Tesařová', - 'Tichá', 'Tománková', 'Tomanová', 'Tomášková', 'Tomášová', - 'Tomečková', 'Tomková', 'Tomešová', 'Tóthová', 'Tranová', - 'Trávníčková', 'Trčková', 'Trnková', 'Trojanová', 'Truhlářová', - 'Třísková', 'Tučková', 'Tůmová', 'Turečková', 'Turková', - 'Tvrdíková', 'Tvrdá', 'Uherová', 'Uhlířová', 'Ulrichová', - 'Urbancová', 'Urbánková', 'Urbanová', 'Vacková', 'Václavková', - 'Václavíková', 'Vaculíková', 'Vágnerová', 'Váchová', - 'Valášková', 'Valová', 'Válková', 'Valentová', 'Valešová', - 'Váňová', 'Vančurová', 'Vaněčková', 'Vaňková', 'Vaníčková', - 'Vargová', 'Vašáková', 'Vašková', 'Vašíčková', 'Vávrová', - 'Vavříková', 'Večeřová', 'Vejvodová', 'Vernerová', 'Veselá', - 'Veverková', 'Víchová', 'Vilímková', 'Vinšová', 'Víšková', - 'Vitásková', 'Vítková', 'Vítová', 'Vlachová', 'Vlasáková', - 'Vlčková', 'Vlková', 'Vobořilová', 'Vodáková', 'Vodičková', - 'Vodrážková', 'Vojáčková', 'Vojtová', 'Vojtěchová', - 'Vojtková', 'Vojtíšková', 'Vokounová', 'Volková', 'Volfová', - 'Volná', 'Vondráčková', 'Vondráková', 'Vondrová', 'Voráčková', - 'Vorlová', 'Vorlíčková', 'Voříšková', 'Votavová', 'Votrubová', - 'Vrabcová', 'Vránová', 'Vrbová', 'Vrzalová', 'Vybíralová', - 'Vydrová', 'Vymazalová', 'Vyskočilová', 'Vysloužilová', - 'Wagnerová', 'Walterová', 'Weberová', 'Weissová', 'Winklerová', - 'Wolfová', 'Zábranská', 'Zahrádková', 'Zahradníková', 'Zachová', - 'Zajícová', 'Zajíčková', 'Zálešáková', 'Zámečníková', - 'Zapletalová', 'Zárubová', 'Zatloukalová', 'Zavadilová', - 'Zavřelová', 'Zbořilová', 'Zdražilová', 'Zedníková', 'Zelenková', - 'Zelená', 'Zelinková', 'Zemánková', 'Zemanová', 'Zezulová', - 'Zíková', 'Zikmundová', 'Zimová', 'Zlámalová', 'Zoubková', - 'Zouharová', 'Zvěřinová', 'Žáčková', 'Žáková', 'Žďárská', - 'Žemličková', 'Žídková', 'Žižková', 'Žůrková', - ]; + protected static $lastNameFemale = [ + 'Adamová', + 'Adamcová', + 'Adámková', + 'Albrechtová', + 'Ambrožová', + 'Andělová', + 'Andrlová', + 'Antošová', + 'Bajerová', + 'Balážová', + 'Balcarová', + 'Balogová', + 'Balounová', + 'Baráková', + 'Baranová', + 'Barešová', + 'Bártová', + 'Bartáková', + 'Bartoňová', + 'Bartošová', + 'Bartošková', + 'Bartůňková', + 'Baštová', + 'Bauerová', + 'Bayerová', + 'Bažantová', + 'Bečková', + 'Bečvářová', + 'Bednářová', + 'Bednaříková', + 'Bělohlávková', + 'Bendová', + 'Benešová', + 'Beranová', + 'Beránková', + 'Bergerová', + 'Berková', + 'Berkyová', + 'Bernardová', + 'Bezděková', + 'Bílková', + 'Bílová', + 'Bínová', + 'Bittnerová', + 'Blahová', + 'Bláhová', + 'Blažková', + 'Blechová', + 'Bobková', + 'Bočková', + 'Boháčová', + 'Boháčková', + 'Böhmová', + 'Borovičková', + 'Boučková', + 'Boudová', + 'Boušková', + 'Brabcová', + 'Brabencová', + 'Bradová', + 'Bradáčová', + 'Braunová', + 'Brázdová', + 'Brázdilová', + 'Brejchová', + 'Brožová', + 'Brožková', + 'Brychtová', + 'Březinová', + 'Břízová', + 'Bubeníková', + 'Bučková', + 'Buchtová', + 'Burdová', + 'Burešová', + 'Burianová', + 'Buriánková', + 'Byrtusová', + 'Cahová', + 'Cibulková', + 'Cihlářová', + 'Císařová', + 'Coufalová', + 'Čadová', + 'Čápová', + 'Čapková', + 'Čechová', + 'Čejková', + 'Čermáková', + 'Černíková', + 'Černohorská', + 'Černochová', + 'Černá', + 'Červeňáková', + 'Červenková', + 'Červená', + 'Červinková', + 'Čiháková', + 'Čížková', + 'Čonková', + 'Čurdová', + 'Daňková', + 'Danielová', + 'Danišová', + 'Davidová', + 'Dědková', + 'Dittrichová', + 'Divišová', + 'Dlouhá', + 'Dobešová', + 'Dobiášová', + 'Dobrovolná', + 'Dočekalová', + 'Dočkalová', + 'Dohnalová', + 'Dokoupilová', + 'Dolečková', + 'Dolejšová', + 'Dolejší', + 'Doležalová', + 'Doleželová', + 'Doskočilová', + 'Dostálová', + 'Doubková', + 'Doubravová', + 'Doušová', + 'Drábková', + 'Drozdová', + 'Dubská', + 'Dudová', + 'Dudková', + 'Dufková', + 'Duchoňová', + 'Dunková', + 'Dušková', + 'Dvorská', + 'Dvořáčková', + 'Dvořáková', + 'Eliášová', + 'Erbenová', + 'Fabiánová', + 'Fantová', + 'Farkašová', + 'Fejfarová', + 'Fenclová', + 'Ferencová', + 'Fialová', + 'Fiedlerová', + 'Filipová', + 'Fischerová', + 'Fišerová', + 'Floriánová', + 'Fojtíková', + 'Foltýnová', + 'Formánková', + 'Formanová', + 'Fořtová', + 'Fousková', + 'Francová', + 'Fraňková', + 'Franková', + 'Fridrichová', + 'Frydrychová', + 'Fučíková', + 'Fuchsová', + 'Fuksová', + 'Gáborová', + 'Gabrielová', + 'Gajdošová', + 'Gregorová', + 'Gruberová', + 'Grundzová', + 'Grygarová', + 'Hájková', + 'Hajná', + 'Hálová', + 'Hamplová', + 'Hanáčková', + 'Hánová', + 'Hanáková', + 'Hanousková', + 'Hanusová', + 'Hanušová', + 'Hanzalová', + 'Hanzlová', + 'Hanzlíková', + 'Hartmanová', + 'Hašková', + 'Havelová', + 'Havelková', + 'Havlíčková', + 'Havlíková', + 'Havránková', + 'Heczková', + 'Hegerová', + 'Hejdová', + 'Hejduková', + 'Hejlová', + 'Hejnová', + 'Hendrychová', + 'Hermanová', + 'Heřmánková', + 'Heřmanová', + 'Hladíková', + 'Hladká', + 'Hlaváčková', + 'Hlaváčová', + 'Hlavatá', + 'Hlávková', + 'Hloušková', + 'Hoffmannová', + 'Hofmanová', + 'Holanová', + 'Holasová', + 'Holcová', + 'Holečková', + 'Holíková', + 'Holoubková', + 'Holubová', + 'Holá', + 'Homolová', + 'Homolková', + 'Horáčková', + 'Horová', + 'Horáková', + 'Horká', + 'Horňáková', + 'Horníčková', + 'Horníková', + 'Horská', + 'Horváthová', + 'Horvátová', + 'Hořejšíová', + 'Hošková', + 'Houdková', + 'Houšková', + 'Hovorková', + 'Hrabalová', + 'Hrabovská', + 'Hradecká', + 'Hradilová', + 'Hrbáčková', + 'Hrbková', + 'Hrdinová', + 'Hrdličková', + 'Hrdá', + 'Hrnčířová', + 'Hrochová', + 'Hromádková', + 'Hronová', + 'Hrubešová', + 'Hrubá', + 'Hrušková', + 'Hrůzová', + 'Hubáčková', + 'Hudcová', + 'Hudečková', + 'Hůlková', + 'Humlová', + 'Husáková', + 'Hušková', + 'Hýblová', + 'Hynková', + 'Chaloupková', + 'Chalupová', + 'Charvátová', + 'Chládková', + 'Chlupová', + 'Chmelařová', + 'Chmelíková', + 'Chovancová', + 'Chromá', + 'Chudobová', + 'Chvátalová', + 'Chvojková', + 'Chytilová', + 'Jahodová', + 'Jakešová', + 'Jaklová', + 'Jakoubková', + 'Jakubcová', + 'Janáčková', + 'Janáková', + 'Janatová', + 'Jančová', + 'Jančíková', + 'Jandová', + 'Janečková', + 'Janečková', + 'Janíčková', + 'Janíková', + 'Janková', + 'Janotová', + 'Janoušková', + 'Janovská', + 'Jansová', + 'Jánská', + 'Jarešová', + 'Jarošová', + 'Jašková', + 'Javůrková', + 'Jedličková', + 'Jechová', + 'Jelenová', + 'Jelínková', + 'Jeníčková', + 'Jeřábková', + 'Ježková', + 'Ježová', + 'Jílková', + 'Jindrová', + 'Jírová', + 'Jiráková', + 'Jiránková', + 'Jirásková', + 'Jirková', + 'Jirková', + 'Jiroušková', + 'Jirsová', + 'Jiříková', + 'Johnová', + 'Jonášová', + 'Junková', + 'Jurčíková', + 'Jurečková', + 'Juřicová', + 'Juříková', + 'Kabátová', + 'Kačírková', + 'Kadeřábková', + 'Kadlcová', + 'Kafková', + 'Kaiserová', + 'Kalábová', + 'Kalová', + 'Kalašová', + 'Kalinová', + 'Kalivodová', + 'Kalousková', + 'Kalousová', + 'Kameníková', + 'Kaňová', + 'Kaňková', + 'Kantorová', + 'Kaplanová', + 'Karásková', + 'Karasová', + 'Karbanová', + 'Karelová', + 'Karlíková', + 'Kasalová', + 'Kašíková', + 'Kašpárková', + 'Kašparová', + 'Kavková', + 'Kazdová', + 'Kindlová', + 'Klečková', + 'Kleinová', + 'Klementová', + 'Klímová', + 'Klimentová', + 'Klimešová', + 'Kloučková', + 'Kloudová', + 'Knapová', + 'Knotková', + 'Kociánová', + 'Kocmanová', + 'Kocourková', + 'Kohoutková', + 'Kohoutová', + 'Kochová', + 'Koláčková', + 'Kolaříková', + 'Kolářová', + 'Kolková', + 'Kolmanová', + 'Komárková', + 'Komínková', + 'Konečná', + 'Koníčková', + 'Kopalová', + 'Kopecká', + 'Kopečková', + 'Kopečná', + 'Kopřivová', + 'Korbelová', + 'Kořínková', + 'Kosíková', + 'Kosinová', + 'Kosová', + 'Kostková', + 'Košťálová', + 'Kotasová', + 'Kotková', + 'Kotlárová', + 'Kotrbová', + 'Koubová', + 'Koubková', + 'Koudelová', + 'Koudelková', + 'Koukalová', + 'Kouřilová', + 'Koutná', + 'Kováčová', + 'Kovaříková', + 'Kováříková', + 'Kovářová', + 'Kozáková', + 'Kozelová', + 'Krajíčková', + 'Králíčková', + 'Králíková', + 'Králová', + 'Krátká', + 'Kratochvílová', + 'Krausová', + 'Krčmářová', + 'Krejčíková', + 'Krejčová', + 'Krejčířová', + 'Krištofová', + 'Kropáčková', + 'Kroupová', + 'Krupová', + 'Krupičková', + 'Krupková', + 'Křečková', + 'Křenková', + 'Křivánková', + 'Křížková', + 'Křížová', + 'Kubová', + 'Kubálková', + 'Kubánková', + 'Kubátová', + 'Kubcová', + 'Kubelková', + 'Kubešová', + 'Kubicová', + 'Kubíčková', + 'Kubíková', + 'Kubínová', + 'Kubišová', + 'Kučová', + 'Kučerová', + 'Kudláčková', + 'Kudrnová', + 'Kuchařová', + 'Kuchtová', + 'Kuklová', + 'Kulhánková', + 'Kulhavá', + 'Kuncová', + 'Kunešová', + 'Kupcová', + 'Kupková', + 'Kurková', + 'Kuželová', + 'Kvapilová', + 'Kvasničková', + 'Kynclová', + 'Kyselová', + 'Lacinová', + 'Lacková', + 'Lakatošová', + 'Landová', + 'Langerová', + 'Langová', + 'Langrová', + 'Látalová', + 'Lavičková', + 'Lebedová', + 'Levá', + 'Líbalová', + 'Linhartová', + 'Lišková', + 'Lorencová', + 'Loudová', + 'Ludvíková', + 'Lukáčová', + 'Lukášková', + 'Lukášová', + 'Lukešová', + 'Macáková', + 'Macková', + 'Macurová', + 'Macháčková', + 'Machačová', + 'Macháčová', + 'Machalová', + 'Machálková', + 'Máchová', + 'Machová', + 'Majerová', + 'Malečková', + 'Málková', + 'Malíková', + 'Malinová', + 'Malá', + 'Maňáková', + 'Marečková', + 'Marková', + 'Marešová', + 'Maršálková', + 'Maršíková', + 'Martincová', + 'Martinková', + 'Martínková', + 'Maříková', + 'Masopustová', + 'Mašková', + 'Matějíčková', + 'Matějková', + 'Matoušková', + 'Matoušová', + 'Matulová', + 'Matušková', + 'Matyášová', + 'Matysová', + 'Maxová', + 'Mayerová', + 'Mazánková', + 'Medková', + 'Melicharová', + 'Menclová', + 'Menšíková', + 'Mertová', + 'Mičková', + 'Michalcová', + 'Michálková', + 'Michalíková', + 'Michalová', + 'Michnová', + 'Miková', + 'Míková', + 'Mikešová', + 'Miková', + 'Mikulová', + 'Mikulášková', + 'Minaříková', + 'Minářová', + 'Mirgová', + 'Mládková', + 'Mlčochová', + 'Mlejnková', + 'Mojžíšová', + 'Mokrá', + 'Molnárová', + 'Moravcová', + 'Morávková', + 'Motlová', + 'Motyčková', + 'Moučková', + 'Moudrá', + 'Mráčková', + 'Mrázková', + 'Mrázová', + 'Mrkvičková', + 'Muchová', + 'Müllerová', + 'Műllerová', + 'Musilová', + 'Mužíková', + 'Myšková', + 'Nagyová', + 'Najmanová', + 'Navrátilová', + 'Nečasová', + 'Nedbalová', + 'Nedomová', + 'Nedvědová', + 'Nejedlá', + 'Němcová', + 'Němečková', + 'Nesvadbová', + 'Nešporová', + 'Neubauerová', + 'Neumanová', + 'Neumannová', + 'Nguyenová', + 'Vanová', + 'Nosková', + 'Nováčková', + 'Nováková', + 'Novosadová', + 'Novotná', + 'Nová', + 'Odehnalová', + 'Oláhová', + 'Olivová', + 'Ondráčková', + 'Ondrová', + 'Orságová', + 'Otáhalová', + 'Palečková', + 'Pánková', + 'Papežová', + 'Pařízková', + 'Pašková', + 'Pátková', + 'Patočková', + 'Paulová', + 'Pavelková', + 'Pavelková', + 'Pavelová', + 'Pavlasová', + 'Pavlicová', + 'Pavlíčková', + 'Pavlíková', + 'Pavlová', + 'Pazderová', + 'Pecková', + 'Pecháčková', + 'Pechová', + 'Pechová', + 'Pekárková', + 'Pekařová', + 'Pelcová', + 'Pelikánová', + 'Pernicová', + 'Peroutková', + 'Peřinová', + 'Pešková', + 'Pešková', + 'Peštová', + 'Peterková', + 'Petráková', + 'Petrášová', + 'Petrová', + 'Petrová', + 'Petříčková', + 'Petříková', + 'Phamová', + 'Píchová', + 'Pilařová', + 'Pilátová', + 'Píšová', + 'Pivoňková', + 'Plačková', + 'Plachá', + 'Plšková', + 'Pluhařová', + 'Podzimková', + 'Pohlová', + 'Pokorná', + 'Poláčková', + 'Poláchová', + 'Poláková', + 'Polanská', + 'Polášková', + 'Polívková', + 'Popelková', + 'Pospíchalová', + 'Pospíšilová', + 'Potůčková', + 'Pourová', + 'Prachařová', + 'Prášková', + 'Pražáková', + 'Prchalová', + 'Procházková', + 'Prokešová', + 'Prokopová', + 'Prošková', + 'Provazníková', + 'Průchová', + 'Průšová', + 'Přibylová', + 'Příhodová', + 'Přikrylová', + 'Pšeničková', + 'Ptáčková', + 'Rácová', + 'Radová', + 'Raková', + 'Rambousková', + 'Rašková', + 'Ratajová', + 'Remešová', + 'Rezková', + 'Richterová', + 'Richtrová', + 'Roubalová', + 'Rousová', + 'Rozsypalová', + 'Rudolfová', + 'Růžková', + 'Růžičková', + 'Rybová', + 'Rybářová', + 'Rýdlová', + 'Ryšavá', + 'Řeháčková', + 'Řeháková', + 'Řehořová', + 'Řezáčová', + 'Řezníčková', + 'Říhová', + 'Sadílková', + 'Samková', + 'Sedláčková', + 'Sedláková', + 'Sedlářová', + 'Sehnalová', + 'Seidlová', + 'Seifertová', + 'Sekaninová', + 'Semerádová', + 'Severová', + 'Schejbalová', + 'Schmidtová', + 'Schneiderová', + 'Schwarzová', + 'Sikorová', + 'Siváková', + 'Skácelová', + 'Skalová', + 'Skálová', + 'Skalická', + 'Sklenářová', + 'Skopalová', + 'Skořepová', + 'Skřivánková', + 'Slabá', + 'Sládková', + 'Sladká', + 'Slámová', + 'Slaninová', + 'Slavíčková', + 'Slavíková', + 'Slezáková', + 'Slováčková', + 'Slováková', + 'Sluková', + 'Smejkalová', + 'Smékalová', + 'Smetanová', + 'Smolová', + 'Smolíková', + 'Smolková', + 'Smrčková', + 'Smržová', + 'Smutná', + 'Sobková', + 'Sobotková', + 'Sochorová', + 'Sojková', + 'Sokolová', + 'Sommerová', + 'Součková', + 'Soukupová', + 'Sovová', + 'Spáčilová', + 'Spurná', + 'Srbová', + 'Staňková', + 'Stárková', + 'Stará', + 'Stehlíková', + 'Steinerová', + 'Stejskalová', + 'Stiborová', + 'Stoklasová', + 'Straková', + 'Stránská', + 'Strejčková', + 'Strnadová', + 'Strouhalová', + 'Studená', + 'Studničková', + 'Stuchlíková', + 'Stupková', + 'Suchánková', + 'Suchomelová', + 'Suchá', + 'Suková', + 'Svačinová', + 'Svatoňová', + 'Svatošová', + 'Světlíková', + 'Svitáková', + 'Svobodová', + 'Svozilová', + 'Sýkorová', + 'Synková', + 'Syrová', + 'Šafaříková', + 'Šafářová', + 'Šafránková', + 'Šálková', + 'Šandová', + 'Šašková', + 'Šebková', + 'Šebelová', + 'Šebestová', + 'Šedová', + 'Šedivá', + 'Šenková', + 'Šestáková', + 'Ševčíková', + 'Šilhavá', + 'Šimáčková', + 'Šimáková', + 'Šimánková', + 'Šímová', + 'Šimčíková', + 'Šimečková', + 'Šimková', + 'Šimonová', + 'Šimůnková', + 'Šindelářová', + 'Šindlerová', + 'Šípková', + 'Šípová', + 'Široká', + 'Šírová', + 'Šišková', + 'Škodová', + 'Škrabalová', + 'Šlechtová', + 'Šmejkalová', + 'Šmerdová', + 'Šmídová', + 'Šnajdrová', + 'Šolcová', + 'Špačková', + 'Špičková', + 'Šplíchalová', + 'Šrámková', + 'Šťastná', + 'Štefanová', + 'Štefková', + 'Šteflová', + 'Štěpánková', + 'Štěpánová', + 'Štěrbová', + 'Šubrtová', + 'Šulcová', + 'Šustrová', + 'Švábová', + 'Švandová', + 'Švarcová', + 'Švecová', + 'Švehlová', + 'Švejdová', + 'Švestková', + 'Táborská', + 'Tancošová', + 'Teplá', + 'Tesařová', + 'Tichá', + 'Tománková', + 'Tomanová', + 'Tomášková', + 'Tomášová', + 'Tomečková', + 'Tomková', + 'Tomešová', + 'Tóthová', + 'Tranová', + 'Trávníčková', + 'Trčková', + 'Trnková', + 'Trojanová', + 'Truhlářová', + 'Třísková', + 'Tučková', + 'Tůmová', + 'Turečková', + 'Turková', + 'Tvrdíková', + 'Tvrdá', + 'Uherová', + 'Uhlířová', + 'Ulrichová', + 'Urbancová', + 'Urbánková', + 'Urbanová', + 'Vacková', + 'Václavková', + 'Václavíková', + 'Vaculíková', + 'Vágnerová', + 'Váchová', + 'Valášková', + 'Valová', + 'Válková', + 'Valentová', + 'Valešová', + 'Váňová', + 'Vančurová', + 'Vaněčková', + 'Vaňková', + 'Vaníčková', + 'Vargová', + 'Vašáková', + 'Vašková', + 'Vašíčková', + 'Vávrová', + 'Vavříková', + 'Večeřová', + 'Vejvodová', + 'Vernerová', + 'Veselá', + 'Veverková', + 'Víchová', + 'Vilímková', + 'Vinšová', + 'Víšková', + 'Vitásková', + 'Vítková', + 'Vítová', + 'Vlachová', + 'Vlasáková', + 'Vlčková', + 'Vlková', + 'Vobořilová', + 'Vodáková', + 'Vodičková', + 'Vodrážková', + 'Vojáčková', + 'Vojtová', + 'Vojtěchová', + 'Vojtková', + 'Vojtíšková', + 'Vokounová', + 'Volková', + 'Volfová', + 'Volná', + 'Vondráčková', + 'Vondráková', + 'Vondrová', + 'Voráčková', + 'Vorlová', + 'Vorlíčková', + 'Voříšková', + 'Votavová', + 'Votrubová', + 'Vrabcová', + 'Vránová', + 'Vrbová', + 'Vrzalová', + 'Vybíralová', + 'Vydrová', + 'Vymazalová', + 'Vyskočilová', + 'Vysloužilová', + 'Wagnerová', + 'Walterová', + 'Weberová', + 'Weissová', + 'Winklerová', + 'Wolfová', + 'Zábranská', + 'Zahrádková', + 'Zahradníková', + 'Zachová', + 'Zajícová', + 'Zajíčková', + 'Zálešáková', + 'Zámečníková', + 'Zapletalová', + 'Zárubová', + 'Zatloukalová', + 'Zavadilová', + 'Zavřelová', + 'Zbořilová', + 'Zdražilová', + 'Zedníková', + 'Zelenková', + 'Zelená', + 'Zelinková', + 'Zemánková', + 'Zemanová', + 'Zezulová', + 'Zíková', + 'Zikmundová', + 'Zimová', + 'Zlámalová', + 'Zoubková', + 'Zouharová', + 'Zvěřinová', + 'Žáčková', + 'Žáková', + 'Žďárská', + 'Žemličková', + 'Žídková', + 'Žižková', + 'Žůrková', + ]; - protected static $title = [ - 'Bc.', 'Ing.', 'MUDr.', 'MVDr.', 'Mgr.', 'JUDr.', 'PhDr.', 'RNDr.', 'doc.', 'Dr.', - ]; + protected static $title = [ + 'Bc.', + 'Ing.', + 'MUDr.', + 'MVDr.', + 'Mgr.', + 'JUDr.', + 'PhDr.', + 'RNDr.', + 'doc.', + 'Dr.', + ]; - /** - * @param string|null $gender 'male', 'female' or null for any - * @param int $minAge minimal age of "generated person" in years - * @param int $maxAge maximal age of "generated person" in years - * - * @return string czech birth number - */ - public function birthNumber($gender = null, $minAge = 0, $maxAge = 100, $slashProbability = 50) - { - if ($gender === null) { - $gender = $this->generator->boolean() ? static::GENDER_MALE : static::GENDER_FEMALE; - } + /** + * @param string|null $gender 'male', 'female' or null for any + * @param int $minAge minimal age of "generated person" in years + * @param int $maxAge maximal age of "generated person" in years + * + * @return string czech birth number + */ + public function birthNumber( $gender = null, $minAge = 0, $maxAge = 100, $slashProbability = 50 ) { + if ( $gender === null ) { + $gender = $this->generator->boolean() ? static::GENDER_MALE : static::GENDER_FEMALE; + } - $startTimestamp = strtotime(sprintf('-%d year', $maxAge)); - $endTimestamp = strtotime(sprintf('-%d year', $minAge)); - $randTimestamp = self::numberBetween($startTimestamp, $endTimestamp); + $startTimestamp = strtotime( sprintf( '-%d year', $maxAge ) ); + $endTimestamp = strtotime( sprintf( '-%d year', $minAge ) ); + $randTimestamp = self::numberBetween( $startTimestamp, $endTimestamp ); - $year = (int) (date('Y', $randTimestamp)); - $month = (int) (date('n', $randTimestamp)); - $day = (int) (date('j', $randTimestamp)); - $suffix = self::numberBetween(0, 999); + $year = (int) ( date( 'Y', $randTimestamp ) ); + $month = (int) ( date( 'n', $randTimestamp ) ); + $day = (int) ( date( 'j', $randTimestamp ) ); + $suffix = self::numberBetween( 0, 999 ); - // women has +50 to month - if ($gender == static::GENDER_FEMALE) { - $month += 50; - } - // from year 2004 everyone has +20 to month when birth numbers in one day are exhausted - if ($year >= 2004 && $this->generator->boolean(10)) { - $month += 20; - } + // women has +50 to month + if ( $gender == static::GENDER_FEMALE ) { + $month += 50; + } + // from year 2004 everyone has +20 to month when birth numbers in one day are exhausted + if ( $year >= 2004 && $this->generator->boolean( 10 ) ) { + $month += 20; + } - $birthNumber = sprintf('%02d%02d%02d%03d', $year % 100, $month, $day, $suffix); + $birthNumber = sprintf( '%02d%02d%02d%03d', $year % 100, $month, $day, $suffix ); - // from year 1954 birth number includes CRC - if ($year >= 1954) { - $crc = intval($birthNumber, 10) % 11; + // from year 1954 birth number includes CRC + if ( $year >= 1954 ) { + $crc = intval( $birthNumber, 10 ) % 11; - if ($crc == 10) { - $crc = 0; - } - $birthNumber .= sprintf('%d', $crc); - } + if ( $crc == 10 ) { + $crc = 0; + } + $birthNumber .= sprintf( '%d', $crc ); + } - // add slash - if ($this->generator->boolean($slashProbability)) { - $birthNumber = substr($birthNumber, 0, 6) . '/' . substr($birthNumber, 6); - } + // add slash + if ( $this->generator->boolean( $slashProbability ) ) { + $birthNumber = substr( $birthNumber, 0, 6 ) . '/' . substr( $birthNumber, 6 ); + } - return $birthNumber; - } + return $birthNumber; + } - public static function birthNumberMale() - { - return static::birthNumber(static::GENDER_MALE); - } + public static function birthNumberMale() { + return static::birthNumber( static::GENDER_MALE ); + } - public static function birthNumberFemale() - { - return static::birthNumber(static::GENDER_FEMALE); - } + public static function birthNumberFemale() { + return static::birthNumber( static::GENDER_FEMALE ); + } - public function title($gender = null) - { - return static::titleMale(); - } + public function title( $gender = null ) { + return static::titleMale(); + } - /** - * replaced by specific unisex Czech title - */ - public static function titleMale() - { - return static::randomElement(static::$title); - } + /** + * replaced by specific unisex Czech title + */ + public static function titleMale() { + return static::randomElement( static::$title ); + } - /** - * replaced by specific unisex Czech title - */ - public static function titleFemale() - { - return static::titleMale(); - } + /** + * replaced by specific unisex Czech title + */ + public static function titleFemale() { + return static::titleMale(); + } - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Albrecht' - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Albrecht' + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/PhoneNumber.php index a527a25..6a5af49 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\cs_CZ; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+420 %## ### ###', - '%## ### ###', - '00420%########', - '+420%########', - '%########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+420 %## ### ###', + '%## ### ###', + '00420%########', + '+420%########', + '%########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Text.php b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Text.php index da9455b..dc4db03 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/cs_CZ/Text.php @@ -2,38 +2,36 @@ namespace Faker\Provider\cs_CZ; -class Text extends \Faker\Provider\Text -{ - public function realText($maxNbChars = 200, $indexSize = 2) - { - $text = parent::realText($maxNbChars, $indexSize); - $text = str_replace('„', '', $text); - - return str_replace('“', '', $text); - } - - /** - * License: PD old 70 - * - * Title: Krakatit - * Author: Karel Čapek - * Release Date: 25. 12. 1923 – 15. 4. 1924 - * Language: Czech - * - * @see https://cs.wikisource.org/wiki/Krakatit - * - * @var string - * - * Karel Čapek - * KRAKATIT - * Znění tohoto textu vychází z díla Krakatit tak, jak bylo vydáno v Československém spisovateli v roce 1982 - * (ČAPEK, Karel. Továrna na absolutno ; Krakatit. 12. vyd. Továrny na absolutno, 16. vyd. Krakatitu. Praha : - * Československý spisovatel, 1982. 476 s. Spisy, sv. 3.). - * Další díla Karla Čapka naleznete online na www stránkách Městské knihovny v Praze: www.mlp.cz/karelcapek. - * Elektronické publikování díla Karla Čapka je společným projektem Městské knihovny v Praze, - * Společnosti bratří Čapků, Památníku Karla Čapka a Českého národního korpusu. - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + public function realText( $maxNbChars = 200, $indexSize = 2 ) { + $text = parent::realText( $maxNbChars, $indexSize ); + $text = str_replace( '„', '', $text ); + + return str_replace( '“', '', $text ); + } + + /** + * License: PD old 70 + * + * Title: Krakatit + * Author: Karel Čapek + * Release Date: 25. 12. 1923 – 15. 4. 1924 + * Language: Czech + * + * @see https://cs.wikisource.org/wiki/Krakatit + * + * @var string + * + * Karel Čapek + * KRAKATIT + * Znění tohoto textu vychází z díla Krakatit tak, jak bylo vydáno v Československém spisovateli v roce 1982 + * (ČAPEK, Karel. Továrna na absolutno ; Krakatit. 12. vyd. Továrny na absolutno, 16. vyd. Krakatitu. Praha : + * Československý spisovatel, 1982. 476 s. Spisy, sv. 3.). + * Další díla Karla Čapka naleznete online na www stránkách Městské knihovny v Praze: www.mlp.cz/karelcapek. + * Elektronické publikování díla Karla Čapka je společným projektem Městské knihovny v Praze, + * Společnosti bratří Čapků, Památníku Karla Čapka a Českého národního korpusu. + */ + protected static $baseText = <<<'EOT' I. S večerem zhoustla mlha sychravého dne. Je ti, jako by ses protlačoval řídkou vlhkou hmotou, jež se za tebou neodvratně zavírá. Chtěl bys být doma. Doma, u diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Address.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Address.php index 13f5e3b..eef8e8e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Address.php @@ -2,283 +2,1121 @@ namespace Faker\Provider\da_DK; -class Address extends \Faker\Provider\Address -{ - /** - * @var array Danish city suffixes. - */ - protected static $citySuffix = [ - 'sted', 'bjerg', 'borg', 'rød', 'lund', 'by', - ]; +class Address extends \Faker\Provider\Address { + /** + * @var array Danish city suffixes. + */ + protected static $citySuffix = [ + 'sted', + 'bjerg', + 'borg', + 'rød', + 'lund', + 'by', + ]; - /** - * @var array Danish street suffixes. - */ - protected static $streetSuffix = [ - 'vej', 'gade', 'skov', 'haven', - ]; + /** + * @var array Danish street suffixes. + */ + protected static $streetSuffix = [ + 'vej', + 'gade', + 'skov', + 'haven', + ]; - /** - * @var array Danish street word suffixes. - */ - protected static $streetSuffixWord = [ - 'Vej', 'Gade', 'Allé', 'Boulevard', 'Plads', 'Have', - ]; + /** + * @var array Danish street word suffixes. + */ + protected static $streetSuffixWord = [ + 'Vej', + 'Gade', + 'Allé', + 'Boulevard', + 'Plads', + 'Have', + ]; - /** - * @var array Danish building numbers. - */ - protected static $buildingNumber = [ - '%##', '%#', '%#', '%', '%', '%', '%?', '% ?', - ]; + /** + * @var array Danish building numbers. + */ + protected static $buildingNumber = [ + '%##', + '%#', + '%#', + '%', + '%', + '%', + '%?', + '% ?', + ]; - /** - * @var array Danish building level. - */ - protected static $buildingLevel = [ - 'st.', '%.', '%. sal.', - ]; + /** + * @var array Danish building level. + */ + protected static $buildingLevel = [ + 'st.', + '%.', + '%. sal.', + ]; - /** - * @var array Danish building sides. - */ - protected static $buildingSide = [ - 'tv.', 'mf.', 'th.', - ]; + /** + * @var array Danish building sides. + */ + protected static $buildingSide = [ + 'tv.', + 'mf.', + 'th.', + ]; - /** - * @var array Danish zip code. - */ - protected static $postcode = [ - '%###', - ]; + /** + * @var array Danish zip code. + */ + protected static $postcode = [ + '%###', + ]; - /** - * @var array Danish cities. - */ - protected static $cityNames = [ - 'Aabenraa', 'Aabybro', 'Aakirkeby', 'Aalborg', 'Aalestrup', 'Aars', 'Aarup', 'Agedrup', 'Agerbæk', 'Agerskov', - 'Albertslund', 'Allerød', 'Allinge', 'Allingåbro', 'Almind', 'Anholt', 'Ansager', 'Arden', 'Asaa', 'Askeby', - 'Asnæs', 'Asperup', 'Assens', 'Augustenborg', 'Aulum', 'Auning', 'Bagenkop', 'Bagsværd', 'Balle', 'Ballerup', - 'Bandholm', 'Barrit', 'Beder', 'Bedsted', 'Bevtoft', 'Billum', 'Billund', 'Bindslev', 'Birkerød', 'Bjerringbro', - 'Bjert', 'Bjæverskov', 'Blokhus', 'Blommenslyst', 'Blåvand', 'Boeslunde', 'Bogense', 'Bogø', 'Bolderslev', 'Bording', - 'Borre', 'Borup', 'Brøndby', 'Brabrand', 'Bramming', 'Brande', 'Branderup', 'Bredebro', 'Bredsten', 'Brenderup', - 'Broager', 'Broby', 'Brovst', 'Bryrup', 'Brædstrup', 'Strand', 'Brønderslev', 'Brønshøj', 'Brørup', 'Bække', - 'Bækmarksbro', 'Bælum', 'Børkop', 'Bøvlingbjerg', 'Charlottenlund', 'Christiansfeld', 'Dalby', 'Dalmose', - 'Dannemare', 'Daugård', 'Dianalund', 'Dragør', 'Dronninglund', 'Dronningmølle', 'Dybvad', 'Dyssegård', 'Ebberup', - 'Ebeltoft', 'Egernsund', 'Egtved', 'Egå', 'Ejby', 'Ejstrupholm', 'Engesvang', 'Errindlev', 'Erslev', 'Esbjerg', - 'Eskebjerg', 'Eskilstrup', 'Espergærde', 'Faaborg', 'Fanø', 'Farsø', 'Farum', 'Faxe', 'Ladeplads', 'Fejø', - 'Ferritslev', 'Fjenneslev', 'Fjerritslev', 'Flemming', 'Fredensborg', 'Fredericia', 'Frederiksberg', - 'Frederikshavn', 'Frederikssund', 'Frederiksværk', 'Frørup', 'Frøstrup', 'Fuglebjerg', 'Føllenslev', 'Føvling', - 'Fårevejle', 'Fårup', 'Fårvang', 'Gadbjerg', 'Gadstrup', 'Galten', 'Gandrup', 'Gedser', 'Gedsted', 'Gedved', 'Gelsted', - 'Gentofte', 'Gesten', 'Gilleleje', 'Gislev', 'Gislinge', 'Gistrup', 'Give', 'Gjerlev', 'Gjern', 'Glamsbjerg', - 'Glejbjerg', 'Glesborg', 'Glostrup', 'Glumsø', 'Gram', 'Gredstedbro', 'Grenaa', 'Greve', 'Grevinge', 'Grindsted', - 'Græsted', 'Gråsten', 'Gudbjerg', 'Sydfyn', 'Gudhjem', 'Gudme', 'Guldborg', 'Gørding', 'Gørlev', 'Gørløse', - 'Haderslev', 'Haderup', 'Hadsten', 'Hadsund', 'Hals', 'Hammel', 'Hampen', 'Hanstholm', 'Harboøre', 'Harlev', 'Harndrup', - 'Harpelunde', 'Hasle', 'Haslev', 'Hasselager', 'Havdrup', 'Havndal', 'Hedehusene', 'Hedensted', 'Hejls', 'Hejnsvig', - 'Hellebæk', 'Hellerup', 'Helsinge', 'Helsingør', 'Hemmet', 'Henne', 'Herfølge', 'Herlev', 'Herlufmagle', 'Herning', - 'Hesselager', 'Hillerød', 'Hinnerup', 'Hirtshals', 'Hjallerup', 'Hjerm', 'Hjortshøj', 'Hjørring', 'Hobro', 'Holbæk', - 'Holeby', 'Holmegaard', 'Holstebro', 'Holsted', 'Holte', 'Horbelev', 'Hornbæk', 'Hornslet', 'Hornsyld', 'Horsens', - 'Horslunde', 'Hovborg', 'Hovedgård', 'Humble', 'Humlebæk', 'Hundested', 'Hundslund', 'Hurup', 'Hvalsø', 'Hvide', - 'Sande', 'Hvidovre', 'Højbjerg', 'Højby', 'Højer', 'Højslev', 'Høng', 'Hørning', 'Hørsholm', 'Hørve', 'Hårlev', - 'Idestrup', 'Ikast', 'Ishøj', 'Janderup', 'Vestj', 'Jelling', 'Jerslev', 'Sjælland', 'Jerup', 'Jordrup', 'Juelsminde', - 'Jyderup', 'Jyllinge', 'Jystrup', 'Midtsj', 'Jægerspris', 'Kalundborg', 'Kalvehave', 'Karby', 'Karise', 'Karlslunde', - 'Karrebæksminde', 'Karup', 'Kastrup', 'Kerteminde', 'Kettinge', 'Kibæk', 'Kirke', 'Hyllinge', 'Såby', 'Kjellerup', - 'Klampenborg', 'Klarup', 'Klemensker', 'Klippinge', 'Klovborg', 'Knebel', 'Kokkedal', 'Kolding', 'Kolind', 'Kongens', - 'Lyngby', 'Kongerslev', 'Korsør', 'Kruså', 'Kvistgård', 'Kværndrup', 'København', 'Køge', 'Langebæk', 'Langeskov', - 'Langå', 'Lejre', 'Lemming', 'Lemvig', 'Lille', 'Skensved', 'Lintrup', 'Liseleje', 'Lundby', 'Lunderskov', 'Lynge', - 'Lystrup', 'Læsø', 'Løgstrup', 'Løgstør', 'Løgumkloster', 'Løkken', 'Løsning', 'Låsby', 'Malling', 'Mariager', - 'Maribo', 'Marslev', 'Marstal', 'Martofte', 'Melby', 'Mern', 'Mesinge', 'Middelfart', 'Millinge', 'Morud', 'Munke', - 'Bjergby', 'Munkebo', 'Møldrup', 'Mørke', 'Mørkøv', 'Måløv', 'Mårslet', 'Nakskov', 'Nexø', 'Nibe', 'Nimtofte', - 'Nordborg', 'Nyborg', 'Nykøbing', 'Nyrup', 'Nysted', 'Nærum', 'Næstved', 'Nørager', 'Nørre', 'Aaby', 'Alslev', - 'Asmindrup', 'Nebel', 'Snede', 'Nørreballe', 'Nørresundby', 'Odder', 'Odense', 'Oksbøl', 'Otterup', 'Oure', 'Outrup', - 'Padborg', 'Pandrup', 'Præstø', 'Randbøl', 'Randers', 'Ranum', 'Rask', 'Mølle', 'Redsted', 'Regstrup', 'Ribe', 'Ringe', - 'Ringkøbing', 'Ringsted', 'Risskov', 'Roskilde', 'Roslev', 'Rude', 'Rudkøbing', 'Ruds', 'Vedby', 'Rungsted', 'Kyst', - 'Rynkeby', 'Ryomgård', 'Ryslinge', 'Rødby', 'Rødding', 'Rødekro', 'Rødkærsbro', 'Rødovre', 'Rødvig', 'Stevns', - 'Rønde', 'Rønne', 'Rønnede', 'Rørvig', 'Sabro', 'Sakskøbing', 'Saltum', 'Samsø', 'Sandved', 'Sejerø', 'Silkeborg', - 'Sindal', 'Sjællands', 'Odde', 'Sjølund', 'Skagen', 'Skals', 'Skamby', 'Skanderborg', 'Skibby', 'Skive', 'Skjern', - 'Skodsborg', 'Skovlunde', 'Skælskør', 'Skærbæk', 'Skævinge', 'Skødstrup', 'Skørping', 'Skårup', 'Slagelse', - 'Slangerup', 'Smørum', 'Snedsted', 'Snekkersten', 'Snertinge', 'Solbjerg', 'Solrød', 'Sommersted', 'Sorring', 'Sorø', - 'Spentrup', 'Spjald', 'Sporup', 'Spøttrup', 'Stakroge', 'Stege', 'Stenderup', 'Stenlille', 'Stenløse', 'Stenstrup', - 'Stensved', 'Stoholm', 'Jyll', 'Stokkemarke', 'Store', 'Fuglede', 'Heddinge', 'Merløse', 'Storvorde', 'Stouby', - 'Strandby', 'Struer', 'Strøby', 'Stubbekøbing', 'Støvring', 'Suldrup', 'Sulsted', 'Sunds', 'Svaneke', 'Svebølle', - 'Svendborg', 'Svenstrup', 'Svinninge', 'Sydals', 'Sæby', 'Søborg', 'Søby', 'Ærø', 'Søllested', 'Sønder', 'Felding', - 'Sønderborg', 'Søndersø', 'Sørvad', 'Taastrup', 'Tappernøje', 'Tarm', 'Terndrup', 'Them', 'Thisted', 'Thorsø', - 'Thyborøn', 'Thyholm', 'Tikøb', 'Tilst', 'Tinglev', 'Tistrup', 'Tisvildeleje', 'Tjele', 'Tjæreborg', 'Toftlund', - 'Tommerup', 'Toreby', 'Torrig', 'Tranbjerg', 'Tranekær', 'Trige', 'Trustrup', 'Tune', 'Tureby', 'Tylstrup', 'Tølløse', - 'Tønder', 'Tørring', 'Tårs', 'Ugerløse', 'Uldum', 'Ulfborg', 'Ullerslev', 'Ulstrup', 'Vadum', 'Valby', 'Vallensbæk', - 'Vamdrup', 'Vandel', 'Vanløse', 'Varde', 'Vedbæk', 'Veflinge', 'Vejby', 'Vejen', 'Vejers', 'Vejle', 'Vejstrup', - 'Veksø', 'Vemb', 'Vemmelev', 'Vesløs', 'Vestbjerg', 'Vester', 'Skerninge', 'Vesterborg', 'Vestervig', 'Viborg', 'Viby', - 'Videbæk', 'Vildbjerg', 'Vils', 'Vinderup', 'Vipperød', 'Virum', 'Vissenbjerg', 'Viuf', 'Vodskov', 'Vojens', 'Vonge', - 'Vorbasse', 'Vordingborg', 'Væggerløse', 'Værløse', 'Ærøskøbing', 'Ølgod', 'Ølsted', 'Ølstykke', 'Ørbæk', - 'Ørnhøj', 'Ørsted', 'Djurs', 'Østbirk', 'Øster', 'Assels', 'Ulslev', 'Østermarie', 'Østervrå', 'Åbyhøj', - 'Ålbæk', 'Ålsgårde', 'Århus', 'Årre', 'Årslev', 'Haarby', 'Nivå', 'Rømø', 'Omme', 'Vrå', 'Ørum', - ]; + /** + * @var array Danish cities. + */ + protected static $cityNames = [ + 'Aabenraa', + 'Aabybro', + 'Aakirkeby', + 'Aalborg', + 'Aalestrup', + 'Aars', + 'Aarup', + 'Agedrup', + 'Agerbæk', + 'Agerskov', + 'Albertslund', + 'Allerød', + 'Allinge', + 'Allingåbro', + 'Almind', + 'Anholt', + 'Ansager', + 'Arden', + 'Asaa', + 'Askeby', + 'Asnæs', + 'Asperup', + 'Assens', + 'Augustenborg', + 'Aulum', + 'Auning', + 'Bagenkop', + 'Bagsværd', + 'Balle', + 'Ballerup', + 'Bandholm', + 'Barrit', + 'Beder', + 'Bedsted', + 'Bevtoft', + 'Billum', + 'Billund', + 'Bindslev', + 'Birkerød', + 'Bjerringbro', + 'Bjert', + 'Bjæverskov', + 'Blokhus', + 'Blommenslyst', + 'Blåvand', + 'Boeslunde', + 'Bogense', + 'Bogø', + 'Bolderslev', + 'Bording', + 'Borre', + 'Borup', + 'Brøndby', + 'Brabrand', + 'Bramming', + 'Brande', + 'Branderup', + 'Bredebro', + 'Bredsten', + 'Brenderup', + 'Broager', + 'Broby', + 'Brovst', + 'Bryrup', + 'Brædstrup', + 'Strand', + 'Brønderslev', + 'Brønshøj', + 'Brørup', + 'Bække', + 'Bækmarksbro', + 'Bælum', + 'Børkop', + 'Bøvlingbjerg', + 'Charlottenlund', + 'Christiansfeld', + 'Dalby', + 'Dalmose', + 'Dannemare', + 'Daugård', + 'Dianalund', + 'Dragør', + 'Dronninglund', + 'Dronningmølle', + 'Dybvad', + 'Dyssegård', + 'Ebberup', + 'Ebeltoft', + 'Egernsund', + 'Egtved', + 'Egå', + 'Ejby', + 'Ejstrupholm', + 'Engesvang', + 'Errindlev', + 'Erslev', + 'Esbjerg', + 'Eskebjerg', + 'Eskilstrup', + 'Espergærde', + 'Faaborg', + 'Fanø', + 'Farsø', + 'Farum', + 'Faxe', + 'Ladeplads', + 'Fejø', + 'Ferritslev', + 'Fjenneslev', + 'Fjerritslev', + 'Flemming', + 'Fredensborg', + 'Fredericia', + 'Frederiksberg', + 'Frederikshavn', + 'Frederikssund', + 'Frederiksværk', + 'Frørup', + 'Frøstrup', + 'Fuglebjerg', + 'Føllenslev', + 'Føvling', + 'Fårevejle', + 'Fårup', + 'Fårvang', + 'Gadbjerg', + 'Gadstrup', + 'Galten', + 'Gandrup', + 'Gedser', + 'Gedsted', + 'Gedved', + 'Gelsted', + 'Gentofte', + 'Gesten', + 'Gilleleje', + 'Gislev', + 'Gislinge', + 'Gistrup', + 'Give', + 'Gjerlev', + 'Gjern', + 'Glamsbjerg', + 'Glejbjerg', + 'Glesborg', + 'Glostrup', + 'Glumsø', + 'Gram', + 'Gredstedbro', + 'Grenaa', + 'Greve', + 'Grevinge', + 'Grindsted', + 'Græsted', + 'Gråsten', + 'Gudbjerg', + 'Sydfyn', + 'Gudhjem', + 'Gudme', + 'Guldborg', + 'Gørding', + 'Gørlev', + 'Gørløse', + 'Haderslev', + 'Haderup', + 'Hadsten', + 'Hadsund', + 'Hals', + 'Hammel', + 'Hampen', + 'Hanstholm', + 'Harboøre', + 'Harlev', + 'Harndrup', + 'Harpelunde', + 'Hasle', + 'Haslev', + 'Hasselager', + 'Havdrup', + 'Havndal', + 'Hedehusene', + 'Hedensted', + 'Hejls', + 'Hejnsvig', + 'Hellebæk', + 'Hellerup', + 'Helsinge', + 'Helsingør', + 'Hemmet', + 'Henne', + 'Herfølge', + 'Herlev', + 'Herlufmagle', + 'Herning', + 'Hesselager', + 'Hillerød', + 'Hinnerup', + 'Hirtshals', + 'Hjallerup', + 'Hjerm', + 'Hjortshøj', + 'Hjørring', + 'Hobro', + 'Holbæk', + 'Holeby', + 'Holmegaard', + 'Holstebro', + 'Holsted', + 'Holte', + 'Horbelev', + 'Hornbæk', + 'Hornslet', + 'Hornsyld', + 'Horsens', + 'Horslunde', + 'Hovborg', + 'Hovedgård', + 'Humble', + 'Humlebæk', + 'Hundested', + 'Hundslund', + 'Hurup', + 'Hvalsø', + 'Hvide', + 'Sande', + 'Hvidovre', + 'Højbjerg', + 'Højby', + 'Højer', + 'Højslev', + 'Høng', + 'Hørning', + 'Hørsholm', + 'Hørve', + 'Hårlev', + 'Idestrup', + 'Ikast', + 'Ishøj', + 'Janderup', + 'Vestj', + 'Jelling', + 'Jerslev', + 'Sjælland', + 'Jerup', + 'Jordrup', + 'Juelsminde', + 'Jyderup', + 'Jyllinge', + 'Jystrup', + 'Midtsj', + 'Jægerspris', + 'Kalundborg', + 'Kalvehave', + 'Karby', + 'Karise', + 'Karlslunde', + 'Karrebæksminde', + 'Karup', + 'Kastrup', + 'Kerteminde', + 'Kettinge', + 'Kibæk', + 'Kirke', + 'Hyllinge', + 'Såby', + 'Kjellerup', + 'Klampenborg', + 'Klarup', + 'Klemensker', + 'Klippinge', + 'Klovborg', + 'Knebel', + 'Kokkedal', + 'Kolding', + 'Kolind', + 'Kongens', + 'Lyngby', + 'Kongerslev', + 'Korsør', + 'Kruså', + 'Kvistgård', + 'Kværndrup', + 'København', + 'Køge', + 'Langebæk', + 'Langeskov', + 'Langå', + 'Lejre', + 'Lemming', + 'Lemvig', + 'Lille', + 'Skensved', + 'Lintrup', + 'Liseleje', + 'Lundby', + 'Lunderskov', + 'Lynge', + 'Lystrup', + 'Læsø', + 'Løgstrup', + 'Løgstør', + 'Løgumkloster', + 'Løkken', + 'Løsning', + 'Låsby', + 'Malling', + 'Mariager', + 'Maribo', + 'Marslev', + 'Marstal', + 'Martofte', + 'Melby', + 'Mern', + 'Mesinge', + 'Middelfart', + 'Millinge', + 'Morud', + 'Munke', + 'Bjergby', + 'Munkebo', + 'Møldrup', + 'Mørke', + 'Mørkøv', + 'Måløv', + 'Mårslet', + 'Nakskov', + 'Nexø', + 'Nibe', + 'Nimtofte', + 'Nordborg', + 'Nyborg', + 'Nykøbing', + 'Nyrup', + 'Nysted', + 'Nærum', + 'Næstved', + 'Nørager', + 'Nørre', + 'Aaby', + 'Alslev', + 'Asmindrup', + 'Nebel', + 'Snede', + 'Nørreballe', + 'Nørresundby', + 'Odder', + 'Odense', + 'Oksbøl', + 'Otterup', + 'Oure', + 'Outrup', + 'Padborg', + 'Pandrup', + 'Præstø', + 'Randbøl', + 'Randers', + 'Ranum', + 'Rask', + 'Mølle', + 'Redsted', + 'Regstrup', + 'Ribe', + 'Ringe', + 'Ringkøbing', + 'Ringsted', + 'Risskov', + 'Roskilde', + 'Roslev', + 'Rude', + 'Rudkøbing', + 'Ruds', + 'Vedby', + 'Rungsted', + 'Kyst', + 'Rynkeby', + 'Ryomgård', + 'Ryslinge', + 'Rødby', + 'Rødding', + 'Rødekro', + 'Rødkærsbro', + 'Rødovre', + 'Rødvig', + 'Stevns', + 'Rønde', + 'Rønne', + 'Rønnede', + 'Rørvig', + 'Sabro', + 'Sakskøbing', + 'Saltum', + 'Samsø', + 'Sandved', + 'Sejerø', + 'Silkeborg', + 'Sindal', + 'Sjællands', + 'Odde', + 'Sjølund', + 'Skagen', + 'Skals', + 'Skamby', + 'Skanderborg', + 'Skibby', + 'Skive', + 'Skjern', + 'Skodsborg', + 'Skovlunde', + 'Skælskør', + 'Skærbæk', + 'Skævinge', + 'Skødstrup', + 'Skørping', + 'Skårup', + 'Slagelse', + 'Slangerup', + 'Smørum', + 'Snedsted', + 'Snekkersten', + 'Snertinge', + 'Solbjerg', + 'Solrød', + 'Sommersted', + 'Sorring', + 'Sorø', + 'Spentrup', + 'Spjald', + 'Sporup', + 'Spøttrup', + 'Stakroge', + 'Stege', + 'Stenderup', + 'Stenlille', + 'Stenløse', + 'Stenstrup', + 'Stensved', + 'Stoholm', + 'Jyll', + 'Stokkemarke', + 'Store', + 'Fuglede', + 'Heddinge', + 'Merløse', + 'Storvorde', + 'Stouby', + 'Strandby', + 'Struer', + 'Strøby', + 'Stubbekøbing', + 'Støvring', + 'Suldrup', + 'Sulsted', + 'Sunds', + 'Svaneke', + 'Svebølle', + 'Svendborg', + 'Svenstrup', + 'Svinninge', + 'Sydals', + 'Sæby', + 'Søborg', + 'Søby', + 'Ærø', + 'Søllested', + 'Sønder', + 'Felding', + 'Sønderborg', + 'Søndersø', + 'Sørvad', + 'Taastrup', + 'Tappernøje', + 'Tarm', + 'Terndrup', + 'Them', + 'Thisted', + 'Thorsø', + 'Thyborøn', + 'Thyholm', + 'Tikøb', + 'Tilst', + 'Tinglev', + 'Tistrup', + 'Tisvildeleje', + 'Tjele', + 'Tjæreborg', + 'Toftlund', + 'Tommerup', + 'Toreby', + 'Torrig', + 'Tranbjerg', + 'Tranekær', + 'Trige', + 'Trustrup', + 'Tune', + 'Tureby', + 'Tylstrup', + 'Tølløse', + 'Tønder', + 'Tørring', + 'Tårs', + 'Ugerløse', + 'Uldum', + 'Ulfborg', + 'Ullerslev', + 'Ulstrup', + 'Vadum', + 'Valby', + 'Vallensbæk', + 'Vamdrup', + 'Vandel', + 'Vanløse', + 'Varde', + 'Vedbæk', + 'Veflinge', + 'Vejby', + 'Vejen', + 'Vejers', + 'Vejle', + 'Vejstrup', + 'Veksø', + 'Vemb', + 'Vemmelev', + 'Vesløs', + 'Vestbjerg', + 'Vester', + 'Skerninge', + 'Vesterborg', + 'Vestervig', + 'Viborg', + 'Viby', + 'Videbæk', + 'Vildbjerg', + 'Vils', + 'Vinderup', + 'Vipperød', + 'Virum', + 'Vissenbjerg', + 'Viuf', + 'Vodskov', + 'Vojens', + 'Vonge', + 'Vorbasse', + 'Vordingborg', + 'Væggerløse', + 'Værløse', + 'Ærøskøbing', + 'Ølgod', + 'Ølsted', + 'Ølstykke', + 'Ørbæk', + 'Ørnhøj', + 'Ørsted', + 'Djurs', + 'Østbirk', + 'Øster', + 'Assels', + 'Ulslev', + 'Østermarie', + 'Østervrå', + 'Åbyhøj', + 'Ålbæk', + 'Ålsgårde', + 'Århus', + 'Årre', + 'Årslev', + 'Haarby', + 'Nivå', + 'Rømø', + 'Omme', + 'Vrå', + 'Ørum', + ]; - /** - * @var array Danish municipalities, called 'kommuner' in danish. - */ - protected static $kommuneNames = [ - 'København', 'Frederiksberg', 'Ballerup', 'Brøndby', 'Dragør', 'Gentofte', 'Gladsaxe', 'Glostrup', 'Herlev', - 'Albertslund', 'Hvidovre', 'Høje Taastrup', 'Lyngby-Taarbæk', 'Rødovre', 'Ishøj', 'Tårnby', 'Vallensbæk', - 'Allerød', 'Fredensborg', 'Helsingør', 'Hillerød', 'Hørsholm', 'Rudersdal', 'Egedal', 'Frederikssund', 'Greve', - 'Halsnæs', 'Roskilde', 'Solrød', 'Gribskov', 'Odsherred', 'Holbæk', 'Faxe', 'Kalundborg', 'Ringsted', 'Slagelse', - 'Stevns', 'Sorø', 'Lejre', 'Lolland', 'Næstved', 'Guldborgsund', 'Vordingborg', 'Bornholm', 'Middelfart', - 'Christiansø', 'Assens', 'Faaborg-Midtfyn', 'Kerteminde', 'Nyborg', 'Odense', 'Svendborg', 'Nordfyns', 'Langeland', - 'Ærø', 'Haderslev', 'Billund', 'Sønderborg', 'Tønder', 'Esbjerg', 'Fanø', 'Varde', 'Vejen', 'Aabenraa', - 'Fredericia', 'Horsens', 'Kolding', 'Vejle', 'Herning', 'Holstebro', 'Lemvig', 'Struer', 'Syddjurs', 'Furesø', - 'Norddjurs', 'Favrskov', 'Odder', 'Randers', 'Silkeborg', 'Samsø', 'Skanderborg', 'Aarhus', 'Ikast-Brande', - 'Ringkøbing-Skjern', 'Hedensted', 'Morsø', 'Skive', 'Thisted', 'Viborg', 'Brønderslev', 'Frederikshavn', - 'Vesthimmerlands', 'Læsø', 'Rebild', 'Mariagerfjord', 'Jammerbugt', 'Aalborg', 'Hjørring', 'Køge', - ]; + /** + * @var array Danish municipalities, called 'kommuner' in danish. + */ + protected static $kommuneNames = [ + 'København', + 'Frederiksberg', + 'Ballerup', + 'Brøndby', + 'Dragør', + 'Gentofte', + 'Gladsaxe', + 'Glostrup', + 'Herlev', + 'Albertslund', + 'Hvidovre', + 'Høje Taastrup', + 'Lyngby-Taarbæk', + 'Rødovre', + 'Ishøj', + 'Tårnby', + 'Vallensbæk', + 'Allerød', + 'Fredensborg', + 'Helsingør', + 'Hillerød', + 'Hørsholm', + 'Rudersdal', + 'Egedal', + 'Frederikssund', + 'Greve', + 'Halsnæs', + 'Roskilde', + 'Solrød', + 'Gribskov', + 'Odsherred', + 'Holbæk', + 'Faxe', + 'Kalundborg', + 'Ringsted', + 'Slagelse', + 'Stevns', + 'Sorø', + 'Lejre', + 'Lolland', + 'Næstved', + 'Guldborgsund', + 'Vordingborg', + 'Bornholm', + 'Middelfart', + 'Christiansø', + 'Assens', + 'Faaborg-Midtfyn', + 'Kerteminde', + 'Nyborg', + 'Odense', + 'Svendborg', + 'Nordfyns', + 'Langeland', + 'Ærø', + 'Haderslev', + 'Billund', + 'Sønderborg', + 'Tønder', + 'Esbjerg', + 'Fanø', + 'Varde', + 'Vejen', + 'Aabenraa', + 'Fredericia', + 'Horsens', + 'Kolding', + 'Vejle', + 'Herning', + 'Holstebro', + 'Lemvig', + 'Struer', + 'Syddjurs', + 'Furesø', + 'Norddjurs', + 'Favrskov', + 'Odder', + 'Randers', + 'Silkeborg', + 'Samsø', + 'Skanderborg', + 'Aarhus', + 'Ikast-Brande', + 'Ringkøbing-Skjern', + 'Hedensted', + 'Morsø', + 'Skive', + 'Thisted', + 'Viborg', + 'Brønderslev', + 'Frederikshavn', + 'Vesthimmerlands', + 'Læsø', + 'Rebild', + 'Mariagerfjord', + 'Jammerbugt', + 'Aalborg', + 'Hjørring', + 'Køge', + ]; - /** - * @var array Danish regions. - */ - protected static $regionNames = [ - 'Region Nordjylland', 'Region Midtjylland', 'Region Syddanmark', 'Region Hovedstaden', 'Region Sjælland', - ]; + /** + * @var array Danish regions. + */ + protected static $regionNames = [ + 'Region Nordjylland', + 'Region Midtjylland', + 'Region Syddanmark', + 'Region Hovedstaden', + 'Region Sjælland', + ]; - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/da_DK/country.php - * - * @var array Some countries in danish. - */ - protected static $country = [ - 'Andorra', 'Forenede Arabiske Emirater', 'Afghanistan', 'Antigua og Barbuda', 'Anguilla', 'Albanien', 'Armenien', - 'Hollandske Antiller', 'Angola', 'Antarktis', 'Argentina', 'Amerikansk Samoa', 'Østrig', 'Australien', 'Aruba', - 'Åland', 'Aserbajdsjan', 'Bosnien-Hercegovina', 'Barbados', 'Bangladesh', 'Belgien', 'Burkina Faso', 'Bulgarien', - 'Bahrain', 'Burundi', 'Benin', 'Saint Barthélemy', 'Bermuda', 'Brunei Darussalam', 'Bolivia', 'Brasilien', 'Bahamas', - 'Bhutan', 'Bouvetø', 'Botswana', 'Hviderusland', 'Belize', 'Canada', 'Cocosøerne', 'Congo-Kinshasa', - 'Centralafrikanske Republik', 'Congo', 'Schweiz', 'Elfenbenskysten', 'Cook-øerne', 'Chile', 'Cameroun', 'Kina', - 'Colombia', 'Costa Rica', 'Serbien og Montenegro', 'Cuba', 'Kap Verde', 'Juleøen', 'Cypern', 'Tjekkiet', 'Tyskland', - 'Djibouti', 'Danmark', 'Dominica', 'Den Dominikanske Republik', 'Algeriet', 'Ecuador', 'Estland', 'Egypten', - 'Vestsahara', 'Eritrea', 'Spanien', 'Etiopien', 'Finland', 'Fiji-øerne', 'Falklandsøerne', - 'Mikronesiens Forenede Stater', 'Færøerne', 'Frankrig', 'Gabon', 'Storbritannien', 'Grenada', 'Georgien', - 'Fransk Guyana', 'Guernsey', 'Ghana', 'Gibraltar', 'Grønland', 'Gambia', 'Guinea', 'Guadeloupe', 'Ækvatorialguinea', - 'Grækenland', 'South Georgia og De Sydlige Sandwichøer', 'Guatemala', 'Guam', 'Guinea-Bissau', 'Guyana', - 'SAR Hongkong', 'Heard- og McDonald-øerne', 'Honduras', 'Kroatien', 'Haiti', 'Ungarn', 'Indonesien', 'Irland', - 'Israel', 'Isle of Man', 'Indien', 'Det Britiske Territorium i Det Indiske Ocean', 'Irak', 'Iran', 'Island', - 'Italien', 'Jersey', 'Jamaica', 'Jordan', 'Japan', 'Kenya', 'Kirgisistan', 'Cambodja', 'Kiribati', 'Comorerne', - 'Saint Kitts og Nevis', 'Nordkorea', 'Sydkorea', 'Kuwait', 'Caymanøerne', 'Kasakhstan', 'Laos', 'Libanon', - 'Saint Lucia', 'Liechtenstein', 'Sri Lanka', 'Liberia', 'Lesotho', 'Litauen', 'Luxembourg', 'Letland', 'Libyen', - 'Marokko', 'Monaco', 'Republikken Moldova', 'Montenegro', 'Saint Martin', 'Madagaskar', 'Marshalløerne', - 'Republikken Makedonien', 'Mali', 'Myanmar', 'Mongoliet', 'SAR Macao', 'Nordmarianerne', 'Martinique', - 'Mauretanien', 'Montserrat', 'Malta', 'Mauritius', 'Maldiverne', 'Malawi', 'Mexico', 'Malaysia', 'Mozambique', - 'Namibia', 'Ny Caledonien', 'Niger', 'Norfolk Island', 'Nigeria', 'Nicaragua', 'Holland', 'Norge', 'Nepal', 'Nauru', - 'Niue', 'New Zealand', 'Oman', 'Panama', 'Peru', 'Fransk Polynesien', 'Papua Ny Guinea', 'Filippinerne', 'Pakistan', - 'Polen', 'Saint Pierre og Miquelon', 'Pitcairn', 'Puerto Rico', 'De palæstinensiske områder', 'Portugal', 'Palau', - 'Paraguay', 'Qatar', 'Reunion', 'Rumænien', 'Serbien', 'Rusland', 'Rwanda', 'Saudi-Arabien', 'Salomonøerne', - 'Seychellerne', 'Sudan', 'Sverige', 'Singapore', 'St. Helena', 'Slovenien', 'Svalbard og Jan Mayen', 'Slovakiet', - 'Sierra Leone', 'San Marino', 'Senegal', 'Somalia', 'Surinam', 'Sao Tome og Principe', 'El Salvador', 'Syrien', - 'Swaziland', 'Turks- og Caicosøerne', 'Tchad', 'Franske Besiddelser i Det Sydlige Indiske Ocean', 'Togo', - 'Thailand', 'Tadsjikistan', 'Tokelau', 'Timor-Leste', 'Turkmenistan', 'Tunesien', 'Tonga', 'Tyrkiet', - 'Trinidad og Tobago', 'Tuvalu', 'Taiwan', 'Tanzania', 'Ukraine', 'Uganda', 'De Mindre Amerikanske Oversøiske Øer', - 'USA', 'Uruguay', 'Usbekistan', 'Vatikanstaten', 'St. Vincent og Grenadinerne', 'Venezuela', - 'De britiske jomfruøer', 'De amerikanske jomfruøer', 'Vietnam', 'Vanuatu', 'Wallis og Futunaøerne', 'Samoa', - 'Yemen', 'Mayotte', 'Sydafrika', 'Zambia', 'Zimbabwe', - ]; + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/da_DK/country.php + * + * @var array Some countries in danish. + */ + protected static $country = [ + 'Andorra', + 'Forenede Arabiske Emirater', + 'Afghanistan', + 'Antigua og Barbuda', + 'Anguilla', + 'Albanien', + 'Armenien', + 'Hollandske Antiller', + 'Angola', + 'Antarktis', + 'Argentina', + 'Amerikansk Samoa', + 'Østrig', + 'Australien', + 'Aruba', + 'Åland', + 'Aserbajdsjan', + 'Bosnien-Hercegovina', + 'Barbados', + 'Bangladesh', + 'Belgien', + 'Burkina Faso', + 'Bulgarien', + 'Bahrain', + 'Burundi', + 'Benin', + 'Saint Barthélemy', + 'Bermuda', + 'Brunei Darussalam', + 'Bolivia', + 'Brasilien', + 'Bahamas', + 'Bhutan', + 'Bouvetø', + 'Botswana', + 'Hviderusland', + 'Belize', + 'Canada', + 'Cocosøerne', + 'Congo-Kinshasa', + 'Centralafrikanske Republik', + 'Congo', + 'Schweiz', + 'Elfenbenskysten', + 'Cook-øerne', + 'Chile', + 'Cameroun', + 'Kina', + 'Colombia', + 'Costa Rica', + 'Serbien og Montenegro', + 'Cuba', + 'Kap Verde', + 'Juleøen', + 'Cypern', + 'Tjekkiet', + 'Tyskland', + 'Djibouti', + 'Danmark', + 'Dominica', + 'Den Dominikanske Republik', + 'Algeriet', + 'Ecuador', + 'Estland', + 'Egypten', + 'Vestsahara', + 'Eritrea', + 'Spanien', + 'Etiopien', + 'Finland', + 'Fiji-øerne', + 'Falklandsøerne', + 'Mikronesiens Forenede Stater', + 'Færøerne', + 'Frankrig', + 'Gabon', + 'Storbritannien', + 'Grenada', + 'Georgien', + 'Fransk Guyana', + 'Guernsey', + 'Ghana', + 'Gibraltar', + 'Grønland', + 'Gambia', + 'Guinea', + 'Guadeloupe', + 'Ækvatorialguinea', + 'Grækenland', + 'South Georgia og De Sydlige Sandwichøer', + 'Guatemala', + 'Guam', + 'Guinea-Bissau', + 'Guyana', + 'SAR Hongkong', + 'Heard- og McDonald-øerne', + 'Honduras', + 'Kroatien', + 'Haiti', + 'Ungarn', + 'Indonesien', + 'Irland', + 'Israel', + 'Isle of Man', + 'Indien', + 'Det Britiske Territorium i Det Indiske Ocean', + 'Irak', + 'Iran', + 'Island', + 'Italien', + 'Jersey', + 'Jamaica', + 'Jordan', + 'Japan', + 'Kenya', + 'Kirgisistan', + 'Cambodja', + 'Kiribati', + 'Comorerne', + 'Saint Kitts og Nevis', + 'Nordkorea', + 'Sydkorea', + 'Kuwait', + 'Caymanøerne', + 'Kasakhstan', + 'Laos', + 'Libanon', + 'Saint Lucia', + 'Liechtenstein', + 'Sri Lanka', + 'Liberia', + 'Lesotho', + 'Litauen', + 'Luxembourg', + 'Letland', + 'Libyen', + 'Marokko', + 'Monaco', + 'Republikken Moldova', + 'Montenegro', + 'Saint Martin', + 'Madagaskar', + 'Marshalløerne', + 'Republikken Makedonien', + 'Mali', + 'Myanmar', + 'Mongoliet', + 'SAR Macao', + 'Nordmarianerne', + 'Martinique', + 'Mauretanien', + 'Montserrat', + 'Malta', + 'Mauritius', + 'Maldiverne', + 'Malawi', + 'Mexico', + 'Malaysia', + 'Mozambique', + 'Namibia', + 'Ny Caledonien', + 'Niger', + 'Norfolk Island', + 'Nigeria', + 'Nicaragua', + 'Holland', + 'Norge', + 'Nepal', + 'Nauru', + 'Niue', + 'New Zealand', + 'Oman', + 'Panama', + 'Peru', + 'Fransk Polynesien', + 'Papua Ny Guinea', + 'Filippinerne', + 'Pakistan', + 'Polen', + 'Saint Pierre og Miquelon', + 'Pitcairn', + 'Puerto Rico', + 'De palæstinensiske områder', + 'Portugal', + 'Palau', + 'Paraguay', + 'Qatar', + 'Reunion', + 'Rumænien', + 'Serbien', + 'Rusland', + 'Rwanda', + 'Saudi-Arabien', + 'Salomonøerne', + 'Seychellerne', + 'Sudan', + 'Sverige', + 'Singapore', + 'St. Helena', + 'Slovenien', + 'Svalbard og Jan Mayen', + 'Slovakiet', + 'Sierra Leone', + 'San Marino', + 'Senegal', + 'Somalia', + 'Surinam', + 'Sao Tome og Principe', + 'El Salvador', + 'Syrien', + 'Swaziland', + 'Turks- og Caicosøerne', + 'Tchad', + 'Franske Besiddelser i Det Sydlige Indiske Ocean', + 'Togo', + 'Thailand', + 'Tadsjikistan', + 'Tokelau', + 'Timor-Leste', + 'Turkmenistan', + 'Tunesien', + 'Tonga', + 'Tyrkiet', + 'Trinidad og Tobago', + 'Tuvalu', + 'Taiwan', + 'Tanzania', + 'Ukraine', + 'Uganda', + 'De Mindre Amerikanske Oversøiske Øer', + 'USA', + 'Uruguay', + 'Usbekistan', + 'Vatikanstaten', + 'St. Vincent og Grenadinerne', + 'Venezuela', + 'De britiske jomfruøer', + 'De amerikanske jomfruøer', + 'Vietnam', + 'Vanuatu', + 'Wallis og Futunaøerne', + 'Samoa', + 'Yemen', + 'Mayotte', + 'Sydafrika', + 'Zambia', + 'Zimbabwe', + ]; - /** - * @var array Danish city format. - */ - protected static $cityFormats = [ - '{{cityName}}', - ]; + /** + * @var array Danish city format. + */ + protected static $cityFormats = [ + '{{cityName}}', + ]; - /** - * @var array Danish street's name formats. - */ - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffix}}', - '{{middleName}}{{streetSuffix}}', - '{{lastName}} {{streetSuffixWord}}', - '{{middleName}} {{streetSuffixWord}}', - ]; + /** + * @var array Danish street's name formats. + */ + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffix}}', + '{{middleName}}{{streetSuffix}}', + '{{lastName}} {{streetSuffixWord}}', + '{{middleName}} {{streetSuffixWord}}', + ]; - /** - * @var array Danish street's address formats. - */ - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}, {{buildingLevel}}', - '{{streetName}} {{buildingNumber}}, {{buildingLevel}} {{buildingSide}}', - ]; + /** + * @var array Danish street's address formats. + */ + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}, {{buildingLevel}}', + '{{streetName}} {{buildingNumber}}, {{buildingLevel}} {{buildingSide}}', + ]; - /** - * @var array Danish address format. - */ - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; + /** + * @var array Danish address format. + */ + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - /** - * Randomly return a real city name. - * - * @return string - */ - public static function cityName() - { - return static::randomElement(static::$cityNames); - } + /** + * Randomly return a real city name. + * + * @return string + */ + public static function cityName() { + return static::randomElement( static::$cityNames ); + } - /** - * Randomly return a suffix word. - * - * @return string - */ - public static function streetSuffixWord() - { - return static::randomElement(static::$streetSuffixWord); - } + /** + * Randomly return a suffix word. + * + * @return string + */ + public static function streetSuffixWord() { + return static::randomElement( static::$streetSuffixWord ); + } - /** - * Randomly return a building number. - * - * @return string - */ - public static function buildingNumber() - { - return static::toUpper(static::bothify(static::randomElement(static::$buildingNumber))); - } + /** + * Randomly return a building number. + * + * @return string + */ + public static function buildingNumber() { + return static::toUpper( static::bothify( static::randomElement( static::$buildingNumber ) ) ); + } - /** - * Randomly return a building level. - * - * @return string - */ - public static function buildingLevel() - { - return static::numerify(static::randomElement(static::$buildingLevel)); - } + /** + * Randomly return a building level. + * + * @return string + */ + public static function buildingLevel() { + return static::numerify( static::randomElement( static::$buildingLevel ) ); + } - /** - * Randomly return a side of the building. - * - * @return string - */ - public static function buildingSide() - { - return static::randomElement(static::$buildingSide); - } + /** + * Randomly return a side of the building. + * + * @return string + */ + public static function buildingSide() { + return static::randomElement( static::$buildingSide ); + } - /** - * Randomly return a real municipality name, called 'kommune' in danish. - * - * @return string - */ - public static function kommune() - { - return static::randomElement(static::$kommuneNames); - } + /** + * Randomly return a real municipality name, called 'kommune' in danish. + * + * @return string + */ + public static function kommune() { + return static::randomElement( static::$kommuneNames ); + } - /** - * Randomly return a real region name. - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$regionNames); - } + /** + * Randomly return a real region name. + * + * @return string + */ + public static function region() { + return static::randomElement( static::$regionNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Company.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Company.php index 8602a4a..63422e6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Company.php @@ -2,66 +2,63 @@ namespace Faker\Provider\da_DK; -class Company extends \Faker\Provider\Company -{ - /** - * @var array Danish company name formats. - */ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{firstname}} {{lastName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{firstname}} {{middleName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} og {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} og {{lastName}} {{companySuffix}}', - '{{middleName}} & {{middleName}} {{companySuffix}}', - '{{middleName}} og {{middleName}} {{companySuffix}}', - '{{middleName}} & {{lastName}}', - '{{middleName}} og {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + /** + * @var array Danish company name formats. + */ + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{firstname}} {{lastName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{firstname}} {{middleName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} og {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} og {{lastName}} {{companySuffix}}', + '{{middleName}} & {{middleName}} {{companySuffix}}', + '{{middleName}} og {{middleName}} {{companySuffix}}', + '{{middleName}} & {{lastName}}', + '{{middleName}} og {{lastName}}', + ]; - /** - * @var array Company suffixes. - */ - protected static $companySuffix = ['ApS', 'A/S', 'I/S', 'K/S']; + /** + * @var array Company suffixes. + */ + protected static $companySuffix = [ 'ApS', 'A/S', 'I/S', 'K/S' ]; - /** - * @see http://cvr.dk/Site/Forms/CMS/DisplayPage.aspx?pageid=60 - * - * @var string CVR number format. - */ - protected static $cvrFormat = '%#######'; + /** + * @see http://cvr.dk/Site/Forms/CMS/DisplayPage.aspx?pageid=60 + * + * @var string CVR number format. + */ + protected static $cvrFormat = '%#######'; - /** - * @see http://cvr.dk/Site/Forms/CMS/DisplayPage.aspx?pageid=60 - * - * @var string P number (production number) format. - */ - protected static $pFormat = '%#########'; + /** + * @see http://cvr.dk/Site/Forms/CMS/DisplayPage.aspx?pageid=60 + * + * @var string P number (production number) format. + */ + protected static $pFormat = '%#########'; - /** - * Generates a CVR number (8 digits). - * - * @return string - */ - public static function cvr() - { - return static::numerify(static::$cvrFormat); - } + /** + * Generates a CVR number (8 digits). + * + * @return string + */ + public static function cvr() { + return static::numerify( static::$cvrFormat ); + } - /** - * Generates a P entity number (10 digits). - * - * @return string - */ - public static function p() - { - return static::numerify(static::$pFormat); - } + /** + * Generates a P entity number (10 digits). + * + * @return string + */ + public static function p() { + return static::numerify( static::$pFormat ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Internet.php index e3f6e12..a13a22a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Internet.php @@ -2,26 +2,45 @@ namespace Faker\Provider\da_DK; -class Internet extends \Faker\Provider\Internet -{ - /** - * @var array Some safe email TLD. - */ - protected static $safeEmailTld = [ - 'org', 'com', 'net', 'dk', 'dk', 'dk', - ]; +class Internet extends \Faker\Provider\Internet { + /** + * @var array Some safe email TLD. + */ + protected static $safeEmailTld = [ + 'org', + 'com', + 'net', + 'dk', + 'dk', + 'dk', + ]; - /** - * @var array Some email domains in Denmark. - */ - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.com', 'yahoo.dk', 'hotmail.com', 'hotmail.dk', 'mail.dk', 'live.dk', - ]; + /** + * @var array Some email domains in Denmark. + */ + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'yahoo.dk', + 'hotmail.com', + 'hotmail.dk', + 'mail.dk', + 'live.dk', + ]; - /** - * @var array Some TLD. - */ - protected static $tld = [ - 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'dk', 'dk', 'dk', - ]; + /** + * @var array Some TLD. + */ + protected static $tld = [ + 'com', + 'com', + 'com', + 'biz', + 'info', + 'net', + 'org', + 'dk', + 'dk', + 'dk', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Payment.php index ff50880..9e4cd91 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\da_DK; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'DK', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'DK', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Person.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Person.php index 732afeb..8804256 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/Person.php @@ -7,189 +7,1361 @@ /** * @see http://www.danskernesnavne.navneforskning.ku.dk/Personnavne.asp */ -class Person extends \Faker\Provider\Person -{ - /** - * @var array Danish person name formats. - */ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{middleName}} {{lastName}}', - '{{firstNameMale}} {{middleName}} {{lastName}}', - '{{firstNameMale}} {{middleName}}-{{middleName}} {{lastName}}', - '{{firstNameMale}} {{middleName}} {{middleName}}-{{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + /** + * @var array Danish person name formats. + */ + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{middleName}} {{lastName}}', + '{{firstNameMale}} {{middleName}} {{lastName}}', + '{{firstNameMale}} {{middleName}}-{{middleName}} {{lastName}}', + '{{firstNameMale}} {{middleName}} {{middleName}}-{{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{middleName}} {{lastName}}', - '{{firstNameFemale}} {{middleName}} {{lastName}}', - '{{firstNameFemale}} {{middleName}}-{{middleName}} {{lastName}}', - '{{firstNameFemale}} {{middleName}} {{middleName}}-{{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{middleName}} {{lastName}}', + '{{firstNameFemale}} {{middleName}} {{lastName}}', + '{{firstNameFemale}} {{middleName}}-{{middleName}} {{lastName}}', + '{{firstNameFemale}} {{middleName}} {{middleName}}-{{lastName}}', + ]; - /** - * @var array Danish first names. - */ - protected static $firstNameMale = [ - 'Aage', 'Adam', 'Ahmad', 'Ahmed', 'Aksel', 'Albert', 'Alex', 'Alexander', 'Alf', 'Alfred', 'Ali', 'Allan', - 'Anders', 'Andreas', 'Anker', 'Anton', 'Arne', 'Arnold', 'Arthur', 'Asbjørn', 'Asger', 'August', 'Axel', 'Benjamin', - 'Benny', 'Bent', 'Bernhard', 'Birger', 'Bjarne', 'Bjørn', 'Bo', 'Brian', 'Bruno', 'Børge', 'Carl', 'Carlo', - 'Carsten', 'Casper', 'Charles', 'Chris', 'Christian', 'Christoffer', 'Christopher', 'Claus', 'Dan', 'Daniel', 'David', 'Dennis', - 'Ebbe', 'Edmund', 'Edvard', 'Egon', 'Einar', 'Ejvind', 'Elias', 'Emanuel', 'Emil', 'Erik', 'Erland', 'Erling', - 'Ernst', 'Esben', 'Ferdinand', 'Finn', 'Flemming', 'Frank', 'Freddy', 'Frederik', 'Frits', 'Fritz', 'Frode', 'Georg', - 'Gerhard', 'Gert', 'Gunnar', 'Gustav', 'Hans', 'Harald', 'Harry', 'Hassan', 'Heine', 'Heinrich', 'Helge', 'Helmer', - 'Helmuth', 'Henning', 'Henrik', 'Henry', 'Herman', 'Hermann', 'Holger', 'Hugo', 'Ib', 'Ibrahim', 'Ivan', 'Jack', - 'Jacob', 'Jakob', 'Jan', 'Janne', 'Jens', 'Jeppe', 'Jesper', 'Jimmi', 'Jimmy', 'Joachim', 'Johan', 'Johannes', - 'John', 'Johnny', 'Jon', 'Jonas', 'Jonathan', 'Josef', 'Jul', 'Julius', 'Jørgen', 'Jørn', 'Kai', 'Kaj', - 'Karl', 'Karlo', 'Karsten', 'Kasper', 'Kenneth', 'Kent', 'Kevin', 'Kjeld', 'Klaus', 'Knud', 'Kristian', 'Kristoffer', - 'Kurt', 'Lars', 'Lasse', 'Leif', 'Lennart', 'Leo', 'Leon', 'Louis', 'Lucas', 'Lukas', 'Mads', 'Magnus', - 'Malthe', 'Marc', 'Marcus', 'Marinus', 'Marius', 'Mark', 'Markus', 'Martin', 'Martinus', 'Mathias', 'Max', 'Michael', - 'Mikael', 'Mike', 'Mikkel', 'Mogens', 'Mohamad', 'Mohamed', 'Mohammad', 'Morten', 'Nick', 'Nicklas', 'Nicolai', 'Nicolaj', - 'Niels', 'Niklas', 'Nikolaj', 'Nils', 'Olaf', 'Olav', 'Ole', 'Oliver', 'Oscar', 'Oskar', 'Otto', 'Ove', - 'Palle', 'Patrick', 'Paul', 'Peder', 'Per', 'Peter', 'Philip', 'Poul', 'Preben', 'Rasmus', 'Rene', 'René', - 'Richard', 'Robert', 'Rolf', 'Rudolf', 'Rune', 'Sebastian', 'Sigurd', 'Simon', 'Simone', 'Steen', 'Stefan', 'Steffen', - 'Sten', 'Stig', 'Sune', 'Sven', 'Svend', 'Søren', 'Tage', 'Theodor', 'Thomas', 'Thor', 'Thorvald', 'Tim', - 'Tobias', 'Tom', 'Tommy', 'Tonny', 'Torben', 'Troels', 'Uffe', 'Ulrik', 'Vagn', 'Vagner', 'Valdemar', 'Vang', - 'Verner', 'Victor', 'Viktor', 'Villy', 'Walther', 'Werner', 'Wilhelm', 'William', 'Willy', 'Åge', 'Bendt', 'Bjarke', - 'Chr', 'Eigil', 'Ejgil', 'Ejler', 'Ejnar', 'Ejner', 'Evald', 'Folmer', 'Gunner', 'Gurli', 'Hartvig', 'Herluf', 'Hjalmar', - 'Ingemann', 'Ingolf', 'Ingvard', 'Keld', 'Kresten', 'Laurids', 'Laurits', 'Lauritz', 'Ludvig', 'Lynge', 'Oluf', 'Osvald', - 'Povl', 'Richardt', 'Sigfred', 'Sofus', 'Thorkild', 'Viggo', 'Vilhelm', 'Villiam', - ]; + /** + * @var array Danish first names. + */ + protected static $firstNameMale = [ + 'Aage', + 'Adam', + 'Ahmad', + 'Ahmed', + 'Aksel', + 'Albert', + 'Alex', + 'Alexander', + 'Alf', + 'Alfred', + 'Ali', + 'Allan', + 'Anders', + 'Andreas', + 'Anker', + 'Anton', + 'Arne', + 'Arnold', + 'Arthur', + 'Asbjørn', + 'Asger', + 'August', + 'Axel', + 'Benjamin', + 'Benny', + 'Bent', + 'Bernhard', + 'Birger', + 'Bjarne', + 'Bjørn', + 'Bo', + 'Brian', + 'Bruno', + 'Børge', + 'Carl', + 'Carlo', + 'Carsten', + 'Casper', + 'Charles', + 'Chris', + 'Christian', + 'Christoffer', + 'Christopher', + 'Claus', + 'Dan', + 'Daniel', + 'David', + 'Dennis', + 'Ebbe', + 'Edmund', + 'Edvard', + 'Egon', + 'Einar', + 'Ejvind', + 'Elias', + 'Emanuel', + 'Emil', + 'Erik', + 'Erland', + 'Erling', + 'Ernst', + 'Esben', + 'Ferdinand', + 'Finn', + 'Flemming', + 'Frank', + 'Freddy', + 'Frederik', + 'Frits', + 'Fritz', + 'Frode', + 'Georg', + 'Gerhard', + 'Gert', + 'Gunnar', + 'Gustav', + 'Hans', + 'Harald', + 'Harry', + 'Hassan', + 'Heine', + 'Heinrich', + 'Helge', + 'Helmer', + 'Helmuth', + 'Henning', + 'Henrik', + 'Henry', + 'Herman', + 'Hermann', + 'Holger', + 'Hugo', + 'Ib', + 'Ibrahim', + 'Ivan', + 'Jack', + 'Jacob', + 'Jakob', + 'Jan', + 'Janne', + 'Jens', + 'Jeppe', + 'Jesper', + 'Jimmi', + 'Jimmy', + 'Joachim', + 'Johan', + 'Johannes', + 'John', + 'Johnny', + 'Jon', + 'Jonas', + 'Jonathan', + 'Josef', + 'Jul', + 'Julius', + 'Jørgen', + 'Jørn', + 'Kai', + 'Kaj', + 'Karl', + 'Karlo', + 'Karsten', + 'Kasper', + 'Kenneth', + 'Kent', + 'Kevin', + 'Kjeld', + 'Klaus', + 'Knud', + 'Kristian', + 'Kristoffer', + 'Kurt', + 'Lars', + 'Lasse', + 'Leif', + 'Lennart', + 'Leo', + 'Leon', + 'Louis', + 'Lucas', + 'Lukas', + 'Mads', + 'Magnus', + 'Malthe', + 'Marc', + 'Marcus', + 'Marinus', + 'Marius', + 'Mark', + 'Markus', + 'Martin', + 'Martinus', + 'Mathias', + 'Max', + 'Michael', + 'Mikael', + 'Mike', + 'Mikkel', + 'Mogens', + 'Mohamad', + 'Mohamed', + 'Mohammad', + 'Morten', + 'Nick', + 'Nicklas', + 'Nicolai', + 'Nicolaj', + 'Niels', + 'Niklas', + 'Nikolaj', + 'Nils', + 'Olaf', + 'Olav', + 'Ole', + 'Oliver', + 'Oscar', + 'Oskar', + 'Otto', + 'Ove', + 'Palle', + 'Patrick', + 'Paul', + 'Peder', + 'Per', + 'Peter', + 'Philip', + 'Poul', + 'Preben', + 'Rasmus', + 'Rene', + 'René', + 'Richard', + 'Robert', + 'Rolf', + 'Rudolf', + 'Rune', + 'Sebastian', + 'Sigurd', + 'Simon', + 'Simone', + 'Steen', + 'Stefan', + 'Steffen', + 'Sten', + 'Stig', + 'Sune', + 'Sven', + 'Svend', + 'Søren', + 'Tage', + 'Theodor', + 'Thomas', + 'Thor', + 'Thorvald', + 'Tim', + 'Tobias', + 'Tom', + 'Tommy', + 'Tonny', + 'Torben', + 'Troels', + 'Uffe', + 'Ulrik', + 'Vagn', + 'Vagner', + 'Valdemar', + 'Vang', + 'Verner', + 'Victor', + 'Viktor', + 'Villy', + 'Walther', + 'Werner', + 'Wilhelm', + 'William', + 'Willy', + 'Åge', + 'Bendt', + 'Bjarke', + 'Chr', + 'Eigil', + 'Ejgil', + 'Ejler', + 'Ejnar', + 'Ejner', + 'Evald', + 'Folmer', + 'Gunner', + 'Gurli', + 'Hartvig', + 'Herluf', + 'Hjalmar', + 'Ingemann', + 'Ingolf', + 'Ingvard', + 'Keld', + 'Kresten', + 'Laurids', + 'Laurits', + 'Lauritz', + 'Ludvig', + 'Lynge', + 'Oluf', + 'Osvald', + 'Povl', + 'Richardt', + 'Sigfred', + 'Sofus', + 'Thorkild', + 'Viggo', + 'Vilhelm', + 'Villiam', + ]; - protected static $firstNameFemale = [ - 'Aase', 'Agathe', 'Agnes', 'Alberte', 'Alexandra', 'Alice', 'Alma', 'Amalie', 'Amanda', 'Andrea', 'Ane', 'Anette', 'Anita', - 'Anja', 'Ann', 'Anna', 'Annalise', 'Anne', 'Anne-Lise', 'Anne-Marie', 'Anne-Mette', 'Annelise', 'Annette', 'Anni', 'Annie', - 'Annika', 'Anny', 'Asta', 'Astrid', 'Augusta', 'Benedikte', 'Bente', 'Berit', 'Bertha', 'Betina', 'Bettina', 'Betty', - 'Birgit', 'Birgitte', 'Birte', 'Birthe', 'Bitten', 'Bodil', 'Britt', 'Britta', 'Camilla', 'Carina', 'Carla', 'Caroline', - 'Cathrine', 'Cecilie', 'Charlotte', 'Christa', 'Christen', 'Christiane', 'Christina', 'Christine', 'Clara', 'Conni', 'Connie', 'Conny', - 'Dagmar', 'Dagny', 'Diana', 'Ditte', 'Dora', 'Doris', 'Dorte', 'Dorthe', 'Ebba', 'Edel', 'Edith', 'Eleonora', - 'Eli', 'Elin', 'Eline', 'Elinor', 'Elisa', 'Elisabeth', 'Elise', 'Ella', 'Ellen', 'Ellinor', 'Elly', 'Elna', - 'Elsa', 'Else', 'Elsebeth', 'Elvira', 'Emilie', 'Emma', 'Emmy', 'Erna', 'Ester', 'Esther', 'Eva', 'Evelyn', - 'Frede', 'Frederikke', 'Freja', 'Frida', 'Gerda', 'Gertrud', 'Gitte', 'Grete', 'Grethe', 'Gudrun', 'Hanna', 'Hanne', - 'Hardy', 'Harriet', 'Hedvig', 'Heidi', 'Helen', 'Helena', 'Helene', 'Helga', 'Helle', 'Henny', 'Henriette', 'Herdis', - 'Hilda', 'Iben', 'Ida', 'Ilse', 'Ina', 'Inga', 'Inge', 'Ingeborg', 'Ingelise', 'Inger', 'Ingrid', 'Irene', - 'Iris', 'Irma', 'Isabella', 'Jane', 'Janni', 'Jannie', 'Jeanette', 'Jeanne', 'Jenny', 'Jes', 'Jette', 'Joan', - 'Johanna', 'Johanne', 'Jonna', 'Josefine', 'Josephine', 'Juliane', 'Julie', 'Jytte', 'Kaja', 'Kamilla', 'Karen', 'Karin', - 'Karina', 'Karla', 'Karoline', 'Kate', 'Kathrine', 'Katja', 'Katrine', 'Ketty', 'Kim', 'Kirsten', 'Kirstine', 'Klara', - 'Krista', 'Kristen', 'Kristina', 'Kristine', 'Laila', 'Laura', 'Laurine', 'Lea', 'Lena', 'Lene', 'Lilian', 'Lilli', - 'Lillian', 'Lilly', 'Linda', 'Line', 'Lis', 'Lisa', 'Lisbet', 'Lisbeth', 'Lise', 'Liselotte', 'Lissi', 'Lissy', - 'Liv', 'Lizzie', 'Lone', 'Lotte', 'Louise', 'Lydia', 'Lykke', 'Lærke', 'Magda', 'Magdalene', 'Mai', 'Maiken', - 'Maj', 'Maja', 'Majbritt', 'Malene', 'Maren', 'Margit', 'Margrethe', 'Maria', 'Mariane', 'Marianne', 'Marie', 'Marlene', - 'Martha', 'Martine', 'Mary', 'Mathilde', 'Matilde', 'Merete', 'Merethe', 'Meta', 'Mette', 'Mia', 'Michelle', 'Mie', - 'Mille', 'Minna', 'Mona', 'Monica', 'Nadia', 'Nancy', 'Nanna', 'Nicoline', 'Nikoline', 'Nina', 'Ninna', 'Oda', - 'Olga', 'Olivia', 'Orla', 'Paula', 'Pauline', 'Pernille', 'Petra', 'Pia', 'Poula', 'Ragnhild', 'Randi', 'Rasmine', - 'Rebecca', 'Rebekka', 'Rigmor', 'Rikke', 'Rita', 'Rosa', 'Rose', 'Ruth', 'Sabrina', 'Sandra', 'Sanne', 'Sara', - 'Sarah', 'Selma', 'Severin', 'Sidsel', 'Signe', 'Sigrid', 'Sine', 'Sofia', 'Sofie', 'Solveig', 'Solvejg', 'Sonja', - 'Sophie', 'Stephanie', 'Stine', 'Susan', 'Susanne', 'Tanja', 'Thea', 'Theodora', 'Therese', 'Thi', 'Thyra', 'Tina', - 'Tine', 'Tove', 'Trine', 'Ulla', 'Vera', 'Vibeke', 'Victoria', 'Viktoria', 'Viola', 'Vita', 'Vivi', 'Vivian', - 'Winnie', 'Yrsa', 'Yvonne', 'Agnete', 'Agnethe', 'Alfrida', 'Alvilda', 'Anine', 'Bolette', 'Dorthea', 'Gunhild', - 'Hansine', 'Inge-Lise', 'Jensine', 'Juel', 'Jørgine', 'Kamma', 'Kristiane', 'Maj-Britt', 'Margrete', 'Metha', 'Nielsine', - 'Oline', 'Petrea', 'Petrine', 'Pouline', 'Ragna', 'Sørine', 'Thora', 'Valborg', 'Vilhelmine', - ]; + protected static $firstNameFemale = [ + 'Aase', + 'Agathe', + 'Agnes', + 'Alberte', + 'Alexandra', + 'Alice', + 'Alma', + 'Amalie', + 'Amanda', + 'Andrea', + 'Ane', + 'Anette', + 'Anita', + 'Anja', + 'Ann', + 'Anna', + 'Annalise', + 'Anne', + 'Anne-Lise', + 'Anne-Marie', + 'Anne-Mette', + 'Annelise', + 'Annette', + 'Anni', + 'Annie', + 'Annika', + 'Anny', + 'Asta', + 'Astrid', + 'Augusta', + 'Benedikte', + 'Bente', + 'Berit', + 'Bertha', + 'Betina', + 'Bettina', + 'Betty', + 'Birgit', + 'Birgitte', + 'Birte', + 'Birthe', + 'Bitten', + 'Bodil', + 'Britt', + 'Britta', + 'Camilla', + 'Carina', + 'Carla', + 'Caroline', + 'Cathrine', + 'Cecilie', + 'Charlotte', + 'Christa', + 'Christen', + 'Christiane', + 'Christina', + 'Christine', + 'Clara', + 'Conni', + 'Connie', + 'Conny', + 'Dagmar', + 'Dagny', + 'Diana', + 'Ditte', + 'Dora', + 'Doris', + 'Dorte', + 'Dorthe', + 'Ebba', + 'Edel', + 'Edith', + 'Eleonora', + 'Eli', + 'Elin', + 'Eline', + 'Elinor', + 'Elisa', + 'Elisabeth', + 'Elise', + 'Ella', + 'Ellen', + 'Ellinor', + 'Elly', + 'Elna', + 'Elsa', + 'Else', + 'Elsebeth', + 'Elvira', + 'Emilie', + 'Emma', + 'Emmy', + 'Erna', + 'Ester', + 'Esther', + 'Eva', + 'Evelyn', + 'Frede', + 'Frederikke', + 'Freja', + 'Frida', + 'Gerda', + 'Gertrud', + 'Gitte', + 'Grete', + 'Grethe', + 'Gudrun', + 'Hanna', + 'Hanne', + 'Hardy', + 'Harriet', + 'Hedvig', + 'Heidi', + 'Helen', + 'Helena', + 'Helene', + 'Helga', + 'Helle', + 'Henny', + 'Henriette', + 'Herdis', + 'Hilda', + 'Iben', + 'Ida', + 'Ilse', + 'Ina', + 'Inga', + 'Inge', + 'Ingeborg', + 'Ingelise', + 'Inger', + 'Ingrid', + 'Irene', + 'Iris', + 'Irma', + 'Isabella', + 'Jane', + 'Janni', + 'Jannie', + 'Jeanette', + 'Jeanne', + 'Jenny', + 'Jes', + 'Jette', + 'Joan', + 'Johanna', + 'Johanne', + 'Jonna', + 'Josefine', + 'Josephine', + 'Juliane', + 'Julie', + 'Jytte', + 'Kaja', + 'Kamilla', + 'Karen', + 'Karin', + 'Karina', + 'Karla', + 'Karoline', + 'Kate', + 'Kathrine', + 'Katja', + 'Katrine', + 'Ketty', + 'Kim', + 'Kirsten', + 'Kirstine', + 'Klara', + 'Krista', + 'Kristen', + 'Kristina', + 'Kristine', + 'Laila', + 'Laura', + 'Laurine', + 'Lea', + 'Lena', + 'Lene', + 'Lilian', + 'Lilli', + 'Lillian', + 'Lilly', + 'Linda', + 'Line', + 'Lis', + 'Lisa', + 'Lisbet', + 'Lisbeth', + 'Lise', + 'Liselotte', + 'Lissi', + 'Lissy', + 'Liv', + 'Lizzie', + 'Lone', + 'Lotte', + 'Louise', + 'Lydia', + 'Lykke', + 'Lærke', + 'Magda', + 'Magdalene', + 'Mai', + 'Maiken', + 'Maj', + 'Maja', + 'Majbritt', + 'Malene', + 'Maren', + 'Margit', + 'Margrethe', + 'Maria', + 'Mariane', + 'Marianne', + 'Marie', + 'Marlene', + 'Martha', + 'Martine', + 'Mary', + 'Mathilde', + 'Matilde', + 'Merete', + 'Merethe', + 'Meta', + 'Mette', + 'Mia', + 'Michelle', + 'Mie', + 'Mille', + 'Minna', + 'Mona', + 'Monica', + 'Nadia', + 'Nancy', + 'Nanna', + 'Nicoline', + 'Nikoline', + 'Nina', + 'Ninna', + 'Oda', + 'Olga', + 'Olivia', + 'Orla', + 'Paula', + 'Pauline', + 'Pernille', + 'Petra', + 'Pia', + 'Poula', + 'Ragnhild', + 'Randi', + 'Rasmine', + 'Rebecca', + 'Rebekka', + 'Rigmor', + 'Rikke', + 'Rita', + 'Rosa', + 'Rose', + 'Ruth', + 'Sabrina', + 'Sandra', + 'Sanne', + 'Sara', + 'Sarah', + 'Selma', + 'Severin', + 'Sidsel', + 'Signe', + 'Sigrid', + 'Sine', + 'Sofia', + 'Sofie', + 'Solveig', + 'Solvejg', + 'Sonja', + 'Sophie', + 'Stephanie', + 'Stine', + 'Susan', + 'Susanne', + 'Tanja', + 'Thea', + 'Theodora', + 'Therese', + 'Thi', + 'Thyra', + 'Tina', + 'Tine', + 'Tove', + 'Trine', + 'Ulla', + 'Vera', + 'Vibeke', + 'Victoria', + 'Viktoria', + 'Viola', + 'Vita', + 'Vivi', + 'Vivian', + 'Winnie', + 'Yrsa', + 'Yvonne', + 'Agnete', + 'Agnethe', + 'Alfrida', + 'Alvilda', + 'Anine', + 'Bolette', + 'Dorthea', + 'Gunhild', + 'Hansine', + 'Inge-Lise', + 'Jensine', + 'Juel', + 'Jørgine', + 'Kamma', + 'Kristiane', + 'Maj-Britt', + 'Margrete', + 'Metha', + 'Nielsine', + 'Oline', + 'Petrea', + 'Petrine', + 'Pouline', + 'Ragna', + 'Sørine', + 'Thora', + 'Valborg', + 'Vilhelmine', + ]; - /** - * @var array Danish middle names. - */ - protected static $middleName = [ - 'Møller', 'Lund', 'Holm', 'Jensen', 'Juul', 'Nielsen', 'Kjær', 'Hansen', 'Skov', 'Østergaard', 'Vestergaard', - 'Nørgaard', 'Dahl', 'Bach', 'Friis', 'Søndergaard', 'Andersen', 'Bech', 'Pedersen', 'Bruun', 'Nygaard', 'Winther', - 'Bang', 'Krogh', 'Schmidt', 'Christensen', 'Hedegaard', 'Toft', 'Damgaard', 'Holst', 'Sørensen', 'Juhl', 'Munk', - 'Skovgaard', 'Søgaard', 'Aagaard', 'Berg', 'Dam', 'Petersen', 'Lind', 'Overgaard', 'Brandt', 'Larsen', 'Bak', 'Schou', - 'Vinther', 'Bjerregaard', 'Riis', 'Bundgaard', 'Kruse', 'Mølgaard', 'Hjorth', 'Ravn', 'Madsen', 'Rasmussen', - 'Jørgensen', 'Kristensen', 'Bonde', 'Bay', 'Hougaard', 'Dalsgaard', 'Kjærgaard', 'Haugaard', 'Munch', 'Bjerre', 'Due', - 'Sloth', 'Leth', 'Kofoed', 'Thomsen', 'Kragh', 'Højgaard', 'Dalgaard', 'Hjort', 'Kirkegaard', 'Bøgh', 'Beck', 'Nissen', - 'Rask', 'Høj', 'Brix', 'Storm', 'Buch', 'Bisgaard', 'Birch', 'Gade', 'Kjærsgaard', 'Hald', 'Lindberg', 'Høgh', 'Falk', - 'Koch', 'Thorup', 'Borup', 'Knudsen', 'Vedel', 'Poulsen', 'Bøgelund', 'Juel', 'Frost', 'Hvid', 'Bjerg', 'Bæk', 'Elkjær', - 'Hartmann', 'Kirk', 'Sand', 'Sommer', 'Skou', 'Nedergaard', 'Meldgaard', 'Brink', 'Lindegaard', 'Fischer', 'Rye', - 'Hoffmann', 'Daugaard', 'Gram', 'Johansen', 'Meyer', 'Schultz', 'Fogh', 'Bloch', 'Lundgaard', 'Brøndum', 'Jessen', - 'Busk', 'Holmgaard', 'Lindholm', 'Krog', 'Egelund', 'Engelbrecht', 'Buus', 'Korsgaard', 'Ellegaard', 'Tang', 'Steen', - 'Kvist', 'Olsen', 'Nørregaard', 'Fuglsang', 'Wulff', 'Damsgaard', 'Hauge', 'Sonne', 'Skytte', 'Brun', 'Kronborg', - 'Abildgaard', 'Fabricius', 'Bille', 'Skaarup', 'Rahbek', 'Borg', 'Torp', 'Klitgaard', 'Nørskov', 'Greve', 'Hviid', - 'Mørch', 'Buhl', 'Rohde', 'Mørk', 'Vendelbo', 'Bjørn', 'Laursen', 'Egede', 'Rytter', 'Lehmann', 'Guldberg', 'Rosendahl', - 'Krarup', 'Krogsgaard', 'Westergaard', 'Rosendal', 'Fisker', 'Højer', 'Rosenberg', 'Svane', 'Storgaard', 'Pihl', - 'Mohamed', 'Bülow', 'Birk', 'Hammer', 'Bro', 'Kaas', 'Clausen', 'Nymann', 'Egholm', 'Ingemann', 'Haahr', 'Olesen', - 'Nøhr', 'Brinch', 'Bjerring', 'Christiansen', 'Schrøder', 'Guldager', 'Skjødt', 'Højlund', 'Ørum', 'Weber', - 'Bødker', 'Bruhn', 'Stampe', 'Astrup', 'Schack', 'Mikkelsen', 'Høyer', 'Husted', 'Skriver', 'Lindgaard', 'Yde', - 'Sylvest', 'Lykkegaard', 'Ploug', 'Gammelgaard', 'Pilgaard', 'Brogaard', 'Degn', 'Kaae', 'Kofod', 'Grønbæk', - 'Lundsgaard', 'Bagge', 'Lyng', 'Rømer', 'Kjeldgaard', 'Hovgaard', 'Groth', 'Hyldgaard', 'Ladefoged', 'Jacobsen', - 'Linde', 'Lange', 'Stokholm', 'Bredahl', 'Hein', 'Mose', 'Bækgaard', 'Sandberg', 'Klarskov', 'Kamp', 'Green', - 'Iversen', 'Riber', 'Smedegaard', 'Nyholm', 'Vad', 'Balle', 'Kjeldsen', 'Strøm', 'Borch', 'Lerche', 'Grønlund', - 'Vestergård', 'Østergård', 'Nyborg', 'Qvist', 'Damkjær', 'Kold', 'Sønderskov', 'Bank', - ]; + /** + * @var array Danish middle names. + */ + protected static $middleName = [ + 'Møller', + 'Lund', + 'Holm', + 'Jensen', + 'Juul', + 'Nielsen', + 'Kjær', + 'Hansen', + 'Skov', + 'Østergaard', + 'Vestergaard', + 'Nørgaard', + 'Dahl', + 'Bach', + 'Friis', + 'Søndergaard', + 'Andersen', + 'Bech', + 'Pedersen', + 'Bruun', + 'Nygaard', + 'Winther', + 'Bang', + 'Krogh', + 'Schmidt', + 'Christensen', + 'Hedegaard', + 'Toft', + 'Damgaard', + 'Holst', + 'Sørensen', + 'Juhl', + 'Munk', + 'Skovgaard', + 'Søgaard', + 'Aagaard', + 'Berg', + 'Dam', + 'Petersen', + 'Lind', + 'Overgaard', + 'Brandt', + 'Larsen', + 'Bak', + 'Schou', + 'Vinther', + 'Bjerregaard', + 'Riis', + 'Bundgaard', + 'Kruse', + 'Mølgaard', + 'Hjorth', + 'Ravn', + 'Madsen', + 'Rasmussen', + 'Jørgensen', + 'Kristensen', + 'Bonde', + 'Bay', + 'Hougaard', + 'Dalsgaard', + 'Kjærgaard', + 'Haugaard', + 'Munch', + 'Bjerre', + 'Due', + 'Sloth', + 'Leth', + 'Kofoed', + 'Thomsen', + 'Kragh', + 'Højgaard', + 'Dalgaard', + 'Hjort', + 'Kirkegaard', + 'Bøgh', + 'Beck', + 'Nissen', + 'Rask', + 'Høj', + 'Brix', + 'Storm', + 'Buch', + 'Bisgaard', + 'Birch', + 'Gade', + 'Kjærsgaard', + 'Hald', + 'Lindberg', + 'Høgh', + 'Falk', + 'Koch', + 'Thorup', + 'Borup', + 'Knudsen', + 'Vedel', + 'Poulsen', + 'Bøgelund', + 'Juel', + 'Frost', + 'Hvid', + 'Bjerg', + 'Bæk', + 'Elkjær', + 'Hartmann', + 'Kirk', + 'Sand', + 'Sommer', + 'Skou', + 'Nedergaard', + 'Meldgaard', + 'Brink', + 'Lindegaard', + 'Fischer', + 'Rye', + 'Hoffmann', + 'Daugaard', + 'Gram', + 'Johansen', + 'Meyer', + 'Schultz', + 'Fogh', + 'Bloch', + 'Lundgaard', + 'Brøndum', + 'Jessen', + 'Busk', + 'Holmgaard', + 'Lindholm', + 'Krog', + 'Egelund', + 'Engelbrecht', + 'Buus', + 'Korsgaard', + 'Ellegaard', + 'Tang', + 'Steen', + 'Kvist', + 'Olsen', + 'Nørregaard', + 'Fuglsang', + 'Wulff', + 'Damsgaard', + 'Hauge', + 'Sonne', + 'Skytte', + 'Brun', + 'Kronborg', + 'Abildgaard', + 'Fabricius', + 'Bille', + 'Skaarup', + 'Rahbek', + 'Borg', + 'Torp', + 'Klitgaard', + 'Nørskov', + 'Greve', + 'Hviid', + 'Mørch', + 'Buhl', + 'Rohde', + 'Mørk', + 'Vendelbo', + 'Bjørn', + 'Laursen', + 'Egede', + 'Rytter', + 'Lehmann', + 'Guldberg', + 'Rosendahl', + 'Krarup', + 'Krogsgaard', + 'Westergaard', + 'Rosendal', + 'Fisker', + 'Højer', + 'Rosenberg', + 'Svane', + 'Storgaard', + 'Pihl', + 'Mohamed', + 'Bülow', + 'Birk', + 'Hammer', + 'Bro', + 'Kaas', + 'Clausen', + 'Nymann', + 'Egholm', + 'Ingemann', + 'Haahr', + 'Olesen', + 'Nøhr', + 'Brinch', + 'Bjerring', + 'Christiansen', + 'Schrøder', + 'Guldager', + 'Skjødt', + 'Højlund', + 'Ørum', + 'Weber', + 'Bødker', + 'Bruhn', + 'Stampe', + 'Astrup', + 'Schack', + 'Mikkelsen', + 'Høyer', + 'Husted', + 'Skriver', + 'Lindgaard', + 'Yde', + 'Sylvest', + 'Lykkegaard', + 'Ploug', + 'Gammelgaard', + 'Pilgaard', + 'Brogaard', + 'Degn', + 'Kaae', + 'Kofod', + 'Grønbæk', + 'Lundsgaard', + 'Bagge', + 'Lyng', + 'Rømer', + 'Kjeldgaard', + 'Hovgaard', + 'Groth', + 'Hyldgaard', + 'Ladefoged', + 'Jacobsen', + 'Linde', + 'Lange', + 'Stokholm', + 'Bredahl', + 'Hein', + 'Mose', + 'Bækgaard', + 'Sandberg', + 'Klarskov', + 'Kamp', + 'Green', + 'Iversen', + 'Riber', + 'Smedegaard', + 'Nyholm', + 'Vad', + 'Balle', + 'Kjeldsen', + 'Strøm', + 'Borch', + 'Lerche', + 'Grønlund', + 'Vestergård', + 'Østergård', + 'Nyborg', + 'Qvist', + 'Damkjær', + 'Kold', + 'Sønderskov', + 'Bank', + ]; - /** - * @var array Danish last names. - */ - protected static $lastName = [ - 'Jensen', 'Nielsen', 'Hansen', 'Pedersen', 'Andersen', 'Christensen', 'Larsen', 'Sørensen', 'Rasmussen', 'Petersen', - 'Jørgensen', 'Madsen', 'Kristensen', 'Olsen', 'Christiansen', 'Thomsen', 'Poulsen', 'Johansen', 'Knudsen', 'Mortensen', - 'Møller', 'Jacobsen', 'Jakobsen', 'Olesen', 'Frederiksen', 'Mikkelsen', 'Henriksen', 'Laursen', 'Lund', 'Schmidt', - 'Eriksen', 'Holm', 'Kristiansen', 'Clausen', 'Simonsen', 'Svendsen', 'Andreasen', 'Iversen', 'Jeppesen', 'Mogensen', - 'Jespersen', 'Nissen', 'Lauridsen', 'Frandsen', 'Østergaard', 'Jepsen', 'Kjær', 'Carlsen', 'Vestergaard', 'Jessen', - 'Nørgaard', 'Dahl', 'Christoffersen', 'Skov', 'Søndergaard', 'Bertelsen', 'Bruun', 'Lassen', 'Bach', 'Gregersen', - 'Friis', 'Johnsen', 'Steffensen', 'Kjeldsen', 'Bech', 'Krogh', 'Lauritsen', 'Danielsen', 'Mathiesen', 'Andresen', - 'Brandt', 'Winther', 'Toft', 'Ravn', 'Mathiasen', 'Dam', 'Holst', 'Nilsson', 'Lind', 'Berg', 'Schou', 'Overgaard', - 'Kristoffersen', 'Schultz', 'Klausen', 'Karlsen', 'Paulsen', 'Hermansen', 'Thorsen', 'Koch', 'Thygesen', 'Bak', 'Kruse', - 'Bang', 'Juhl', 'Davidsen', 'Berthelsen', 'Nygaard', 'Lorentzen', 'Villadsen', 'Lorenzen', 'Damgaard', 'Bjerregaard', - 'Lange', 'Hedegaard', 'Bendtsen', 'Lauritzen', 'Svensson', 'Justesen', 'Juul', 'Hald', 'Beck', 'Kofoed', 'Søgaard', - 'Meyer', 'Kjærgaard', 'Riis', 'Johannsen', 'Carstensen', 'Bonde', 'Ibsen', 'Fischer', 'Andersson', 'Bundgaard', - 'Johannesen', 'Eskildsen', 'Hemmingsen', 'Andreassen', 'Thomassen', 'Schrøder', 'Persson', 'Hjorth', 'Enevoldsen', - 'Nguyen', 'Henningsen', 'Jønsson', 'Olsson', 'Asmussen', 'Michelsen', 'Vinther', 'Markussen', 'Kragh', 'Thøgersen', - 'Johansson', 'Dalsgaard', 'Gade', 'Bjerre', 'Ali', 'Laustsen', 'Buch', 'Ludvigsen', 'Hougaard', 'Kirkegaard', 'Marcussen', - 'Mølgaard', 'Ipsen', 'Sommer', 'Ottosen', 'Müller', 'Krog', 'Hoffmann', 'Clemmensen', 'Nikolajsen', 'Brodersen', - 'Therkildsen', 'Leth', 'Michaelsen', 'Graversen', 'Frost', 'Dalgaard', 'Albertsen', 'Laugesen', 'Due', 'Ebbesen', - 'Munch', 'Svenningsen', 'Ottesen', 'Fisker', 'Albrechtsen', 'Axelsen', 'Erichsen', 'Sloth', 'Bentsen', 'Westergaard', - 'Bisgaard', 'Nicolaisen', 'Magnussen', 'Thuesen', 'Povlsen', 'Thorup', 'Høj', 'Bentzen', 'Johannessen', 'Vilhelmsen', - 'Isaksen', 'Bendixen', 'Ovesen', 'Villumsen', 'Lindberg', 'Thomasen', 'Kjærsgaard', 'Buhl', 'Kofod', 'Ahmed', 'Smith', - 'Storm', 'Christophersen', 'Bruhn', 'Matthiesen', 'Wagner', 'Bjerg', 'Gram', 'Nedergaard', 'Dinesen', 'Mouritsen', - 'Boesen', 'Borup', 'Abrahamsen', 'Wulff', 'Gravesen', 'Rask', 'Pallesen', 'Greve', 'Korsgaard', 'Haugaard', 'Josefsen', - 'Bæk', 'Espersen', 'Thrane', 'Mørch', 'Frank', 'Lynge', 'Rohde', 'Larsson', 'Hammer', 'Torp', 'Sonne', 'Boysen', 'Bay', - 'Pihl', 'Fabricius', 'Høyer', 'Birch', 'Skou', 'Kirk', 'Antonsen', 'Høgh', 'Damsgaard', 'Dall', 'Truelsen', 'Daugaard', - 'Fuglsang', 'Martinsen', 'Therkelsen', 'Jansen', 'Karlsson', 'Caspersen', 'Steen', 'Callesen', 'Balle', 'Bloch', 'Smidt', - 'Rahbek', 'Hjort', 'Bjørn', 'Skaarup', 'Sand', 'Storgaard', 'Willumsen', 'Busk', 'Hartmann', 'Ladefoged', 'Skovgaard', - 'Philipsen', 'Damm', 'Haagensen', 'Hviid', 'Duus', 'Kvist', 'Adamsen', 'Mathiassen', 'Degn', 'Borg', 'Brix', 'Troelsen', - 'Ditlevsen', 'Brøndum', 'Svane', 'Mohamed', 'Birk', 'Brink', 'Hassan', 'Vester', 'Elkjær', 'Lykke', 'Nørregaard', - 'Meldgaard', 'Mørk', 'Hvid', 'Abildgaard', 'Nicolajsen', 'Bengtsson', 'Stokholm', 'Ahmad', 'Wind', 'Rømer', 'Gundersen', - 'Carlsson', 'Grøn', 'Khan', 'Skytte', 'Bagger', 'Hendriksen', 'Rosenberg', 'Jonassen', 'Severinsen', 'Jürgensen', - 'Boisen', 'Groth', 'Bager', 'Fogh', 'Hussain', 'Samuelsen', 'Pilgaard', 'Bødker', 'Dideriksen', 'Brogaard', 'Lundberg', - 'Hansson', 'Schwartz', 'Tran', 'Skriver', 'Klitgaard', 'Hauge', 'Højgaard', 'Qvist', 'Voss', 'Strøm', 'Wolff', 'Krarup', - 'Green', 'Odgaard', 'Tønnesen', 'Blom', 'Gammelgaard', 'Jæger', 'Kramer', 'Astrup', 'Würtz', 'Lehmann', 'Koefoed', - 'Skøtt', 'Lundsgaard', 'Bøgh', 'Vang', 'Martinussen', 'Sandberg', 'Weber', 'Holmgaard', 'Bidstrup', 'Meier', 'Drejer', - 'Schneider', 'Joensen', 'Dupont', 'Lorentsen', 'Bro', 'Bagge', 'Terkelsen', 'Kaspersen', 'Keller', 'Eliasen', 'Lyberth', - 'Husted', 'Mouritzen', 'Krag', 'Kragelund', 'Nørskov', 'Vad', 'Jochumsen', 'Hein', 'Krogsgaard', 'Kaas', 'Tolstrup', - 'Ernst', 'Hermann', 'Børgesen', 'Skjødt', 'Holt', 'Buus', 'Gotfredsen', 'Kjeldgaard', 'Broberg', 'Roed', 'Sivertsen', - 'Bergmann', 'Bjerrum', 'Petersson', 'Smed', 'Jeremiassen', 'Nyborg', 'Borch', 'Foged', 'Terp', 'Mark', 'Busch', - 'Lundgaard', 'Boye', 'Yde', 'Hinrichsen', 'Matzen', 'Esbensen', 'Hertz', 'Westh', 'Holmberg', 'Geertsen', 'Raun', - 'Aagaard', 'Kock', 'Falk', 'Munk', - ]; + /** + * @var array Danish last names. + */ + protected static $lastName = [ + 'Jensen', + 'Nielsen', + 'Hansen', + 'Pedersen', + 'Andersen', + 'Christensen', + 'Larsen', + 'Sørensen', + 'Rasmussen', + 'Petersen', + 'Jørgensen', + 'Madsen', + 'Kristensen', + 'Olsen', + 'Christiansen', + 'Thomsen', + 'Poulsen', + 'Johansen', + 'Knudsen', + 'Mortensen', + 'Møller', + 'Jacobsen', + 'Jakobsen', + 'Olesen', + 'Frederiksen', + 'Mikkelsen', + 'Henriksen', + 'Laursen', + 'Lund', + 'Schmidt', + 'Eriksen', + 'Holm', + 'Kristiansen', + 'Clausen', + 'Simonsen', + 'Svendsen', + 'Andreasen', + 'Iversen', + 'Jeppesen', + 'Mogensen', + 'Jespersen', + 'Nissen', + 'Lauridsen', + 'Frandsen', + 'Østergaard', + 'Jepsen', + 'Kjær', + 'Carlsen', + 'Vestergaard', + 'Jessen', + 'Nørgaard', + 'Dahl', + 'Christoffersen', + 'Skov', + 'Søndergaard', + 'Bertelsen', + 'Bruun', + 'Lassen', + 'Bach', + 'Gregersen', + 'Friis', + 'Johnsen', + 'Steffensen', + 'Kjeldsen', + 'Bech', + 'Krogh', + 'Lauritsen', + 'Danielsen', + 'Mathiesen', + 'Andresen', + 'Brandt', + 'Winther', + 'Toft', + 'Ravn', + 'Mathiasen', + 'Dam', + 'Holst', + 'Nilsson', + 'Lind', + 'Berg', + 'Schou', + 'Overgaard', + 'Kristoffersen', + 'Schultz', + 'Klausen', + 'Karlsen', + 'Paulsen', + 'Hermansen', + 'Thorsen', + 'Koch', + 'Thygesen', + 'Bak', + 'Kruse', + 'Bang', + 'Juhl', + 'Davidsen', + 'Berthelsen', + 'Nygaard', + 'Lorentzen', + 'Villadsen', + 'Lorenzen', + 'Damgaard', + 'Bjerregaard', + 'Lange', + 'Hedegaard', + 'Bendtsen', + 'Lauritzen', + 'Svensson', + 'Justesen', + 'Juul', + 'Hald', + 'Beck', + 'Kofoed', + 'Søgaard', + 'Meyer', + 'Kjærgaard', + 'Riis', + 'Johannsen', + 'Carstensen', + 'Bonde', + 'Ibsen', + 'Fischer', + 'Andersson', + 'Bundgaard', + 'Johannesen', + 'Eskildsen', + 'Hemmingsen', + 'Andreassen', + 'Thomassen', + 'Schrøder', + 'Persson', + 'Hjorth', + 'Enevoldsen', + 'Nguyen', + 'Henningsen', + 'Jønsson', + 'Olsson', + 'Asmussen', + 'Michelsen', + 'Vinther', + 'Markussen', + 'Kragh', + 'Thøgersen', + 'Johansson', + 'Dalsgaard', + 'Gade', + 'Bjerre', + 'Ali', + 'Laustsen', + 'Buch', + 'Ludvigsen', + 'Hougaard', + 'Kirkegaard', + 'Marcussen', + 'Mølgaard', + 'Ipsen', + 'Sommer', + 'Ottosen', + 'Müller', + 'Krog', + 'Hoffmann', + 'Clemmensen', + 'Nikolajsen', + 'Brodersen', + 'Therkildsen', + 'Leth', + 'Michaelsen', + 'Graversen', + 'Frost', + 'Dalgaard', + 'Albertsen', + 'Laugesen', + 'Due', + 'Ebbesen', + 'Munch', + 'Svenningsen', + 'Ottesen', + 'Fisker', + 'Albrechtsen', + 'Axelsen', + 'Erichsen', + 'Sloth', + 'Bentsen', + 'Westergaard', + 'Bisgaard', + 'Nicolaisen', + 'Magnussen', + 'Thuesen', + 'Povlsen', + 'Thorup', + 'Høj', + 'Bentzen', + 'Johannessen', + 'Vilhelmsen', + 'Isaksen', + 'Bendixen', + 'Ovesen', + 'Villumsen', + 'Lindberg', + 'Thomasen', + 'Kjærsgaard', + 'Buhl', + 'Kofod', + 'Ahmed', + 'Smith', + 'Storm', + 'Christophersen', + 'Bruhn', + 'Matthiesen', + 'Wagner', + 'Bjerg', + 'Gram', + 'Nedergaard', + 'Dinesen', + 'Mouritsen', + 'Boesen', + 'Borup', + 'Abrahamsen', + 'Wulff', + 'Gravesen', + 'Rask', + 'Pallesen', + 'Greve', + 'Korsgaard', + 'Haugaard', + 'Josefsen', + 'Bæk', + 'Espersen', + 'Thrane', + 'Mørch', + 'Frank', + 'Lynge', + 'Rohde', + 'Larsson', + 'Hammer', + 'Torp', + 'Sonne', + 'Boysen', + 'Bay', + 'Pihl', + 'Fabricius', + 'Høyer', + 'Birch', + 'Skou', + 'Kirk', + 'Antonsen', + 'Høgh', + 'Damsgaard', + 'Dall', + 'Truelsen', + 'Daugaard', + 'Fuglsang', + 'Martinsen', + 'Therkelsen', + 'Jansen', + 'Karlsson', + 'Caspersen', + 'Steen', + 'Callesen', + 'Balle', + 'Bloch', + 'Smidt', + 'Rahbek', + 'Hjort', + 'Bjørn', + 'Skaarup', + 'Sand', + 'Storgaard', + 'Willumsen', + 'Busk', + 'Hartmann', + 'Ladefoged', + 'Skovgaard', + 'Philipsen', + 'Damm', + 'Haagensen', + 'Hviid', + 'Duus', + 'Kvist', + 'Adamsen', + 'Mathiassen', + 'Degn', + 'Borg', + 'Brix', + 'Troelsen', + 'Ditlevsen', + 'Brøndum', + 'Svane', + 'Mohamed', + 'Birk', + 'Brink', + 'Hassan', + 'Vester', + 'Elkjær', + 'Lykke', + 'Nørregaard', + 'Meldgaard', + 'Mørk', + 'Hvid', + 'Abildgaard', + 'Nicolajsen', + 'Bengtsson', + 'Stokholm', + 'Ahmad', + 'Wind', + 'Rømer', + 'Gundersen', + 'Carlsson', + 'Grøn', + 'Khan', + 'Skytte', + 'Bagger', + 'Hendriksen', + 'Rosenberg', + 'Jonassen', + 'Severinsen', + 'Jürgensen', + 'Boisen', + 'Groth', + 'Bager', + 'Fogh', + 'Hussain', + 'Samuelsen', + 'Pilgaard', + 'Bødker', + 'Dideriksen', + 'Brogaard', + 'Lundberg', + 'Hansson', + 'Schwartz', + 'Tran', + 'Skriver', + 'Klitgaard', + 'Hauge', + 'Højgaard', + 'Qvist', + 'Voss', + 'Strøm', + 'Wolff', + 'Krarup', + 'Green', + 'Odgaard', + 'Tønnesen', + 'Blom', + 'Gammelgaard', + 'Jæger', + 'Kramer', + 'Astrup', + 'Würtz', + 'Lehmann', + 'Koefoed', + 'Skøtt', + 'Lundsgaard', + 'Bøgh', + 'Vang', + 'Martinussen', + 'Sandberg', + 'Weber', + 'Holmgaard', + 'Bidstrup', + 'Meier', + 'Drejer', + 'Schneider', + 'Joensen', + 'Dupont', + 'Lorentsen', + 'Bro', + 'Bagge', + 'Terkelsen', + 'Kaspersen', + 'Keller', + 'Eliasen', + 'Lyberth', + 'Husted', + 'Mouritzen', + 'Krag', + 'Kragelund', + 'Nørskov', + 'Vad', + 'Jochumsen', + 'Hein', + 'Krogsgaard', + 'Kaas', + 'Tolstrup', + 'Ernst', + 'Hermann', + 'Børgesen', + 'Skjødt', + 'Holt', + 'Buus', + 'Gotfredsen', + 'Kjeldgaard', + 'Broberg', + 'Roed', + 'Sivertsen', + 'Bergmann', + 'Bjerrum', + 'Petersson', + 'Smed', + 'Jeremiassen', + 'Nyborg', + 'Borch', + 'Foged', + 'Terp', + 'Mark', + 'Busch', + 'Lundgaard', + 'Boye', + 'Yde', + 'Hinrichsen', + 'Matzen', + 'Esbensen', + 'Hertz', + 'Westh', + 'Holmberg', + 'Geertsen', + 'Raun', + 'Aagaard', + 'Kock', + 'Falk', + 'Munk', + ]; - /** - * Randomly return a danish name. - * - * @return string - */ - public static function middleName() - { - return static::randomElement(static::$middleName); - } + /** + * Randomly return a danish name. + * + * @return string + */ + public static function middleName() { + return static::randomElement( static::$middleName ); + } - /** - * Randomly return a danish CPR number (Personnal identification number) format. - * - * @see http://cpr.dk/cpr/site.aspx?p=16 - * @see http://en.wikipedia.org/wiki/Personal_identification_number_%28Denmark%29 - * - * @return string - */ - public static function cpr() - { - $birthdate = DateTime::dateTimeThisCentury(); + /** + * Randomly return a danish CPR number (Personnal identification number) format. + * + * @see http://cpr.dk/cpr/site.aspx?p=16 + * @see http://en.wikipedia.org/wiki/Personal_identification_number_%28Denmark%29 + * + * @return string + */ + public static function cpr() { + $birthdate = DateTime::dateTimeThisCentury(); - return sprintf('%s-%s', $birthdate->format('dmy'), static::numerify('%###')); - } + return sprintf( '%s-%s', $birthdate->format( 'dmy' ), static::numerify( '%###' ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/da_DK/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/da_DK/PhoneNumber.php index 6e8c28d..99fc8d9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/da_DK/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/da_DK/PhoneNumber.php @@ -2,17 +2,16 @@ namespace Faker\Provider\da_DK; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array Danish phonenumber formats. - */ - protected static $formats = [ - '+45 ## ## ## ##', - '+45 #### ####', - '+45########', - '## ## ## ##', - '#### ####', - '########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array Danish phonenumber formats. + */ + protected static $formats = [ + '+45 ## ## ## ##', + '+45 #### ####', + '+45########', + '## ## ## ##', + '#### ####', + '########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Address.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Address.php index d0031d6..da45dc7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Address.php @@ -2,142 +2,765 @@ namespace Faker\Provider\de_AT; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '##[abc]', '#[abc]']; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '##[abc]', '#[abc]' ]; - protected static $streetSuffixLong = [ - 'Gasse', 'Platz', 'Ring', 'Straße', 'Weg', - ]; - protected static $streetSuffixShort = [ - 'gasse', 'platz', 'ring', 'straße', 'weg', - ]; + protected static $streetSuffixLong = [ + 'Gasse', + 'Platz', + 'Ring', + 'Straße', + 'Weg', + ]; + protected static $streetSuffixShort = [ + 'gasse', + 'platz', + 'ring', + 'straße', + 'weg', + ]; - /** - * @var string[] - * - * @see http://www.statistik.at/verzeichnis/reglisten/gemliste_knz.xls - postal codes of all Austrian cities with the status 'Statutarstadt (SR)' or 'Stadtgemeinde (ST)' - */ - protected static $postcode = [ - '1010', '1020', '1030', '1040', '1050', '1060', '1070', '1080', '1090', '1100', '1110', '1120', '1130', '1140', - '1150', '1160', '1170', '1180', '1190', '1200', '1210', '1220', '1230', '2000', '2020', '2070', '2073', '2083', - '2093', '2095', '2100', '2120', '2130', '2136', '2170', '2201', '2225', '2230', '2232', '2293', '2301', '2320', - '2340', '2401', '2410', '2452', '2460', '2483', '2490', '2491', '2500', '2514', '2540', '2560', '2620', '2630', - '2640', '2700', '2860', '3002', '3021', '3040', '3100', '3130', '3133', '3150', '3170', '3180', '3240', '3250', - '3270', '3300', '3340', '3350', '3370', '3380', '3390', '3400', '3430', '3500', '3512', '3542', '3550', '3580', - '3601', '3712', '3730', '3741', '3804', '3812', '3820', '3830', '3860', '3874', '3910', '3920', '3943', '3950', - '3970', '4020', '4050', '4053', '4060', '4070', '4150', '4190', '4210', '4221', '4230', '4240', '4300', '4320', - '4360', '4400', '4470', '4540', '4560', '4600', '4614', '4663', '4690', '4710', '4722', '4780', '4800', '4810', - '4820', '4840', '4910', '4950', '5020', '5110', '5201', '5202', '5230', '5280', '5400', '5500', '5550', '5600', - '5700', '5730', '5760', '6020', '6060', '6130', '6240', '6300', '6330', '6370', '6460', '6500', '6682', '6700', - '6800', '6845', '6850', '6900', '7000', '7071', '7083', '7100', '7132', '7210', '7350', '7400', '7423', '7461', - '7540', '8010', '8130', '8160', '8200', '8230', '8240', '8280', '8330', '8350', '8380', '8430', '8480', '8490', - '8530', '8570', '8572', '8580', '8600', '8605', '8630', '8650', '8680', '8700', '8720', '8724', '8740', '8750', - '8784', '8786', '8790', '8793', '8832', '8850', '8940', '8970', '8990', '9020', '9100', '9150', '9170', '9300', - '9330', '9341', '9360', '9400', '9433', '9462', '9500', '9545', '9560', '9620', '9800', '9853', '9900', - ]; + /** + * @var string[] + * + * @see http://www.statistik.at/verzeichnis/reglisten/gemliste_knz.xls - postal codes of all Austrian cities with the status 'Statutarstadt (SR)' or 'Stadtgemeinde (ST)' + */ + protected static $postcode = [ + '1010', + '1020', + '1030', + '1040', + '1050', + '1060', + '1070', + '1080', + '1090', + '1100', + '1110', + '1120', + '1130', + '1140', + '1150', + '1160', + '1170', + '1180', + '1190', + '1200', + '1210', + '1220', + '1230', + '2000', + '2020', + '2070', + '2073', + '2083', + '2093', + '2095', + '2100', + '2120', + '2130', + '2136', + '2170', + '2201', + '2225', + '2230', + '2232', + '2293', + '2301', + '2320', + '2340', + '2401', + '2410', + '2452', + '2460', + '2483', + '2490', + '2491', + '2500', + '2514', + '2540', + '2560', + '2620', + '2630', + '2640', + '2700', + '2860', + '3002', + '3021', + '3040', + '3100', + '3130', + '3133', + '3150', + '3170', + '3180', + '3240', + '3250', + '3270', + '3300', + '3340', + '3350', + '3370', + '3380', + '3390', + '3400', + '3430', + '3500', + '3512', + '3542', + '3550', + '3580', + '3601', + '3712', + '3730', + '3741', + '3804', + '3812', + '3820', + '3830', + '3860', + '3874', + '3910', + '3920', + '3943', + '3950', + '3970', + '4020', + '4050', + '4053', + '4060', + '4070', + '4150', + '4190', + '4210', + '4221', + '4230', + '4240', + '4300', + '4320', + '4360', + '4400', + '4470', + '4540', + '4560', + '4600', + '4614', + '4663', + '4690', + '4710', + '4722', + '4780', + '4800', + '4810', + '4820', + '4840', + '4910', + '4950', + '5020', + '5110', + '5201', + '5202', + '5230', + '5280', + '5400', + '5500', + '5550', + '5600', + '5700', + '5730', + '5760', + '6020', + '6060', + '6130', + '6240', + '6300', + '6330', + '6370', + '6460', + '6500', + '6682', + '6700', + '6800', + '6845', + '6850', + '6900', + '7000', + '7071', + '7083', + '7100', + '7132', + '7210', + '7350', + '7400', + '7423', + '7461', + '7540', + '8010', + '8130', + '8160', + '8200', + '8230', + '8240', + '8280', + '8330', + '8350', + '8380', + '8430', + '8480', + '8490', + '8530', + '8570', + '8572', + '8580', + '8600', + '8605', + '8630', + '8650', + '8680', + '8700', + '8720', + '8724', + '8740', + '8750', + '8784', + '8786', + '8790', + '8793', + '8832', + '8850', + '8940', + '8970', + '8990', + '9020', + '9100', + '9150', + '9170', + '9300', + '9330', + '9341', + '9360', + '9400', + '9433', + '9462', + '9500', + '9545', + '9560', + '9620', + '9800', + '9853', + '9900', + ]; - /** - * @var array - * - * @see https://de.wikipedia.org/wiki/Liste_der_St%C3%A4dte_in_%C3%96sterreich - */ - protected static $cityNames = [ - 'Allentsteig', 'Altheim', 'Althofen', 'Amstetten', 'Ansfelden', 'Attnang-Puchheim', - 'Bad Aussee', 'Bad Hall', 'Bad Ischl', 'Bad Leonfelden', 'Bad Radkersburg', 'Bad St. Leonhard im Lavanttal', 'Bad Vöslau', 'Baden', 'Bärnbach', 'Berndorf', 'Bischofshofen', 'Bleiburg', 'Bludenz', 'Braunau am Inn', 'Bregenz', 'Bruck an der Leitha', 'Bruck an der Mur', - 'Deutsch-Wagram', 'Deutschlandsberg', 'Dornbirn', 'Drosendorf-Zissersdorf', 'Dürnstein', - 'Ebenfurth', 'Ebreichsdorf', 'Eferding', 'Eggenburg', 'Eisenerz', 'Eisenstadt', 'Enns', - 'Fehring', 'Feldbach', 'Feldkirch', 'Feldkirchen in Kärnten', 'Ferlach', 'Fischamend', 'Frauenkirchen', 'Freistadt', 'Friedberg', 'Friesach', 'Frohnleiten', 'Fürstenfeld', - 'Gallneukirchen', 'Gänserndorf', 'Geras', 'Gerasdorf bei Wien', 'Gföhl', 'Gleisdorf', 'Gloggnitz', 'Gmünd', 'Gmünd in Kärnten', 'Gmunden', 'Graz', 'Grein', 'Grieskirchen', 'Groß-Enzersdorf', 'Groß Gerungs', 'Groß-Siegharts', 'Güssing', - 'Haag', 'Hainburg an der Donau', 'Hainfeld', 'Hall in Tirol', 'Hallein', 'Hardegg', 'Hartberg', 'Heidenreichstein', 'Hermagor-Pressegger See', 'Herzogenburg', 'Hohenems', 'Hollabrunn', 'Horn', - 'Imst', 'Innsbruck', - 'Jennersdorf', 'Judenburg', - 'Kapfenberg', 'Kindberg', 'Kirchdorf an der Krems', 'Kirchschlag in der Buckligen Welt', 'Kitzbühel', 'Klagenfurt am Wörthersee', 'Klosterneuburg', 'Knittelfeld', 'Köflach', 'Korneuburg', 'Krems an der Donau', 'Kufstein', - 'Laa an der Thaya', 'Laakirchen', 'Landeck', 'Langenlois', 'Leibnitz', 'Leoben', 'Leonding', 'Lienz', 'Liezen', 'Lilienfeld', 'Linz', 'Litschau', - 'Maissau', 'Mank', 'Mannersdorf am Leithagebirge', 'Marchegg', 'Marchtrenk', 'Mariazell', 'Mattersburg', 'Mattighofen', 'Mautern an der Donau', 'Melk', 'Mittersill', 'Mistelbach', 'Mödling', 'Murau', 'Mureck', 'Mürzzuschlag', - 'Neufeld an der Leitha', 'Neulengbach', 'Neumarkt am Wallersee', 'Neunkirchen', 'Neusiedl am See', - 'Oberndorf bei Salzburg', 'Oberpullendorf', 'Oberwart', 'Oberwölz', - 'Perg', 'Peuerbach', 'Pinkafeld', 'Pöchlarn', 'Poysdorf', 'Pregarten', 'Pressbaum', 'Pulkau', 'Purbach am Neusiedler See', 'Purkersdorf', - 'Raabs an der Thaya', 'Radenthein', 'Radstadt', 'Rattenberg', 'Retz', 'Ried im Innkreis', 'Rohrbach-Berg', 'Rottenmann', 'Rust', - 'Saalfelden am Steinernen Meer', 'Salzburg', 'Sankt Andrä', 'St. Johann im Pongau', 'St. Pölten', 'St. Valentin', 'Sankt Veit an der Glan', 'Schärding', 'Scheibbs', 'Schladming', 'Schrattenthal', 'Schrems', 'Schwanenstadt', 'Schwaz', 'Schwechat', 'Seekirchen am Wallersee', 'Spielberg', 'Spittal an der Drau', 'Stadtschlaining', 'Steyr', 'Steyregg', 'Stockerau', 'Straßburg', - 'Ternitz', 'Traiskirchen', 'Traismauer', 'Traun', 'Trieben', 'Trofaiach', 'Tulln an der Donau', - 'Villach', 'Vils', 'Vöcklabruck', 'Voitsberg', 'Völkermarkt', - 'Waidhofen an der Thaya', 'Waidhofen an der Ybbs', 'Weitra', 'Weiz', 'Wels', 'Wien', 'Wiener Neustadt', 'Wieselburg', 'Wilhelmsburg', 'Wolfsberg', 'Wolkersdorf im Weinviertel', 'Wörgl', - 'Ybbs an der Donau', - 'Zell am See', 'Zeltweg', 'Zistersdorf', 'Zwettl', - ]; + /** + * @var array + * + * @see https://de.wikipedia.org/wiki/Liste_der_St%C3%A4dte_in_%C3%96sterreich + */ + protected static $cityNames = [ + 'Allentsteig', + 'Altheim', + 'Althofen', + 'Amstetten', + 'Ansfelden', + 'Attnang-Puchheim', + 'Bad Aussee', + 'Bad Hall', + 'Bad Ischl', + 'Bad Leonfelden', + 'Bad Radkersburg', + 'Bad St. Leonhard im Lavanttal', + 'Bad Vöslau', + 'Baden', + 'Bärnbach', + 'Berndorf', + 'Bischofshofen', + 'Bleiburg', + 'Bludenz', + 'Braunau am Inn', + 'Bregenz', + 'Bruck an der Leitha', + 'Bruck an der Mur', + 'Deutsch-Wagram', + 'Deutschlandsberg', + 'Dornbirn', + 'Drosendorf-Zissersdorf', + 'Dürnstein', + 'Ebenfurth', + 'Ebreichsdorf', + 'Eferding', + 'Eggenburg', + 'Eisenerz', + 'Eisenstadt', + 'Enns', + 'Fehring', + 'Feldbach', + 'Feldkirch', + 'Feldkirchen in Kärnten', + 'Ferlach', + 'Fischamend', + 'Frauenkirchen', + 'Freistadt', + 'Friedberg', + 'Friesach', + 'Frohnleiten', + 'Fürstenfeld', + 'Gallneukirchen', + 'Gänserndorf', + 'Geras', + 'Gerasdorf bei Wien', + 'Gföhl', + 'Gleisdorf', + 'Gloggnitz', + 'Gmünd', + 'Gmünd in Kärnten', + 'Gmunden', + 'Graz', + 'Grein', + 'Grieskirchen', + 'Groß-Enzersdorf', + 'Groß Gerungs', + 'Groß-Siegharts', + 'Güssing', + 'Haag', + 'Hainburg an der Donau', + 'Hainfeld', + 'Hall in Tirol', + 'Hallein', + 'Hardegg', + 'Hartberg', + 'Heidenreichstein', + 'Hermagor-Pressegger See', + 'Herzogenburg', + 'Hohenems', + 'Hollabrunn', + 'Horn', + 'Imst', + 'Innsbruck', + 'Jennersdorf', + 'Judenburg', + 'Kapfenberg', + 'Kindberg', + 'Kirchdorf an der Krems', + 'Kirchschlag in der Buckligen Welt', + 'Kitzbühel', + 'Klagenfurt am Wörthersee', + 'Klosterneuburg', + 'Knittelfeld', + 'Köflach', + 'Korneuburg', + 'Krems an der Donau', + 'Kufstein', + 'Laa an der Thaya', + 'Laakirchen', + 'Landeck', + 'Langenlois', + 'Leibnitz', + 'Leoben', + 'Leonding', + 'Lienz', + 'Liezen', + 'Lilienfeld', + 'Linz', + 'Litschau', + 'Maissau', + 'Mank', + 'Mannersdorf am Leithagebirge', + 'Marchegg', + 'Marchtrenk', + 'Mariazell', + 'Mattersburg', + 'Mattighofen', + 'Mautern an der Donau', + 'Melk', + 'Mittersill', + 'Mistelbach', + 'Mödling', + 'Murau', + 'Mureck', + 'Mürzzuschlag', + 'Neufeld an der Leitha', + 'Neulengbach', + 'Neumarkt am Wallersee', + 'Neunkirchen', + 'Neusiedl am See', + 'Oberndorf bei Salzburg', + 'Oberpullendorf', + 'Oberwart', + 'Oberwölz', + 'Perg', + 'Peuerbach', + 'Pinkafeld', + 'Pöchlarn', + 'Poysdorf', + 'Pregarten', + 'Pressbaum', + 'Pulkau', + 'Purbach am Neusiedler See', + 'Purkersdorf', + 'Raabs an der Thaya', + 'Radenthein', + 'Radstadt', + 'Rattenberg', + 'Retz', + 'Ried im Innkreis', + 'Rohrbach-Berg', + 'Rottenmann', + 'Rust', + 'Saalfelden am Steinernen Meer', + 'Salzburg', + 'Sankt Andrä', + 'St. Johann im Pongau', + 'St. Pölten', + 'St. Valentin', + 'Sankt Veit an der Glan', + 'Schärding', + 'Scheibbs', + 'Schladming', + 'Schrattenthal', + 'Schrems', + 'Schwanenstadt', + 'Schwaz', + 'Schwechat', + 'Seekirchen am Wallersee', + 'Spielberg', + 'Spittal an der Drau', + 'Stadtschlaining', + 'Steyr', + 'Steyregg', + 'Stockerau', + 'Straßburg', + 'Ternitz', + 'Traiskirchen', + 'Traismauer', + 'Traun', + 'Trieben', + 'Trofaiach', + 'Tulln an der Donau', + 'Villach', + 'Vils', + 'Vöcklabruck', + 'Voitsberg', + 'Völkermarkt', + 'Waidhofen an der Thaya', + 'Waidhofen an der Ybbs', + 'Weitra', + 'Weiz', + 'Wels', + 'Wien', + 'Wiener Neustadt', + 'Wieselburg', + 'Wilhelmsburg', + 'Wolfsberg', + 'Wolkersdorf im Weinviertel', + 'Wörgl', + 'Ybbs an der Donau', + 'Zell am See', + 'Zeltweg', + 'Zistersdorf', + 'Zwettl', + ]; - protected static $state = [ - 'Burgenland', 'Kärnten', 'Niederösterreich', 'Oberösterreich', 'Salzburg', 'Steiermark', 'Tirol', 'Vorarlberg', 'Wien', - ]; + protected static $state = [ + 'Burgenland', + 'Kärnten', + 'Niederösterreich', + 'Oberösterreich', + 'Salzburg', + 'Steiermark', + 'Tirol', + 'Vorarlberg', + 'Wien', + ]; - protected static $country = [ - 'Afghanistan', 'Alandinseln', 'Albanien', 'Algerien', 'Amerikanisch-Ozeanien', 'Amerikanisch-Samoa', 'Amerikanische Jungferninseln', 'Andorra', 'Angola', 'Anguilla', 'Antarktis', 'Antigua und Barbuda', 'Argentinien', 'Armenien', 'Aruba', 'Aserbaidschan', 'Australien', 'Ägypten', 'Äquatorialguinea', 'Äthiopien', 'Äußeres Ozeanien', - 'Bahamas', 'Bahrain', 'Bangladesch', 'Barbados', 'Belarus', 'Belgien', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivien', 'Bosnien und Herzegowina', 'Botsuana', 'Bouvetinsel', 'Brasilien', 'Britische Jungferninseln', 'Britisches Territorium im Indischen Ozean', 'Brunei Darussalam', 'Bulgarien', 'Burkina Faso', 'Burundi', - 'Chile', 'China', 'Cookinseln', 'Costa Rica', 'Côte d’Ivoire', - 'Demokratische Republik Kongo', 'Demokratische Volksrepublik Korea', 'Deutschland', 'Dominica', 'Dominikanische Republik', 'Dschibuti', 'Dänemark', - 'Ecuador', 'El Salvador', 'Eritrea', 'Estland', 'Europäische Union', - 'Falklandinseln', 'Fidschi', 'Finnland', 'Frankreich', 'Französisch-Guayana', 'Französisch-Polynesien', 'Französische Süd- und Antarktisgebiete', 'Färöer', - 'Gabun', 'Gambia', 'Georgien', 'Ghana', 'Gibraltar', 'Grenada', 'Griechenland', 'Grönland', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard- und McDonald-Inseln', 'Honduras', - 'Indien', 'Indonesien', 'Irak', 'Iran', 'Irland', 'Island', 'Isle of Man', 'Israel', 'Italien', - 'Jamaika', 'Japan', 'Jemen', 'Jersey', 'Jordanien', - 'Kaimaninseln', 'Kambodscha', 'Kamerun', 'Kanada', 'Kap Verde', 'Kasachstan', 'Katar', 'Kenia', 'Kirgisistan', 'Kiribati', 'Kokosinseln', 'Kolumbien', 'Komoren', 'Kongo', 'Kroatien', 'Kuba', 'Kuwait', - 'Laos', 'Lesotho', 'Lettland', 'Libanon', 'Liberia', 'Libyen', 'Liechtenstein', 'Litauen', 'Luxemburg', - 'Madagaskar', 'Malawi', 'Malaysia', 'Malediven', 'Mali', 'Malta', 'Marokko', 'Marshallinseln', 'Martinique', 'Mauretanien', 'Mauritius', 'Mayotte', 'Mazedonien', 'Mexiko', 'Mikronesien', 'Monaco', 'Mongolei', 'Montenegro', 'Montserrat', 'Mosambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Neukaledonien', 'Neuseeland', 'Nicaragua', 'Niederlande', 'Niederländische Antillen', 'Niger', 'Nigeria', 'Niue', 'Norfolkinsel', 'Norwegen', 'Nördliche Marianen', - 'Oman', 'Osttimor', 'Österreich', - 'Pakistan', 'Palau', 'Palästinensische Gebiete', 'Panama', 'Papua-Neuguinea', 'Paraguay', 'Peru', 'Philippinen', 'Pitcairn', 'Polen', 'Portugal', 'Puerto Rico', - 'Republik Korea', 'Republik Moldau', 'Ruanda', 'Rumänien', 'Russische Föderation', 'Réunion', - 'Salomonen', 'Sambia', 'Samoa', 'San Marino', 'Saudi-Arabien', 'Schweden', 'Schweiz', 'Senegal', 'Serbien', 'Serbien und Montenegro', 'Seychellen', 'Sierra Leone', 'Simbabwe', 'Singapur', 'Slowakei', 'Slowenien', 'Somalia', 'Sonderverwaltungszone Hongkong', 'Sonderverwaltungszone Macao', 'Spanien', 'Sri Lanka', 'St. Barthélemy', 'St. Helena', 'St. Kitts und Nevis', 'St. Lucia', 'St. Martin', 'St. Pierre und Miquelon', 'St. Vincent und die Grenadinen', 'Sudan', 'Suriname', 'Svalbard und Jan Mayen', 'Swasiland', 'Syrien', 'São Tomé und Príncipe', 'Südafrika', 'Südgeorgien und die Südlichen Sandwichinseln', - 'Tadschikistan', 'Taiwan', 'Tansania', 'Thailand', 'Togo', 'Tokelau', 'Tonga', 'Trinidad und Tobago', 'Tschad', 'Tschechische Republik', 'Tunesien', 'Turkmenistan', 'Turks- und Caicosinseln', 'Tuvalu', 'Türkei', - 'Uganda', 'Ukraine', 'Unbekannte oder ungültige Region', 'Ungarn', 'Uruguay', 'Usbekistan', - 'Vanuatu', 'Vatikanstadt', 'Venezuela', 'Vereinigte Arabische Emirate', 'Vereinigte Staaten', 'Vereinigtes Königreich', 'Vietnam', - 'Wallis und Futuna', 'Weihnachtsinsel', 'Westsahara', - 'Zentralafrikanische Republik', 'Zypern', - ]; + protected static $country = [ + 'Afghanistan', + 'Alandinseln', + 'Albanien', + 'Algerien', + 'Amerikanisch-Ozeanien', + 'Amerikanisch-Samoa', + 'Amerikanische Jungferninseln', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarktis', + 'Antigua und Barbuda', + 'Argentinien', + 'Armenien', + 'Aruba', + 'Aserbaidschan', + 'Australien', + 'Ägypten', + 'Äquatorialguinea', + 'Äthiopien', + 'Äußeres Ozeanien', + 'Bahamas', + 'Bahrain', + 'Bangladesch', + 'Barbados', + 'Belarus', + 'Belgien', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivien', + 'Bosnien und Herzegowina', + 'Botsuana', + 'Bouvetinsel', + 'Brasilien', + 'Britische Jungferninseln', + 'Britisches Territorium im Indischen Ozean', + 'Brunei Darussalam', + 'Bulgarien', + 'Burkina Faso', + 'Burundi', + 'Chile', + 'China', + 'Cookinseln', + 'Costa Rica', + 'Côte d’Ivoire', + 'Demokratische Republik Kongo', + 'Demokratische Volksrepublik Korea', + 'Deutschland', + 'Dominica', + 'Dominikanische Republik', + 'Dschibuti', + 'Dänemark', + 'Ecuador', + 'El Salvador', + 'Eritrea', + 'Estland', + 'Europäische Union', + 'Falklandinseln', + 'Fidschi', + 'Finnland', + 'Frankreich', + 'Französisch-Guayana', + 'Französisch-Polynesien', + 'Französische Süd- und Antarktisgebiete', + 'Färöer', + 'Gabun', + 'Gambia', + 'Georgien', + 'Ghana', + 'Gibraltar', + 'Grenada', + 'Griechenland', + 'Grönland', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard- und McDonald-Inseln', + 'Honduras', + 'Indien', + 'Indonesien', + 'Irak', + 'Iran', + 'Irland', + 'Island', + 'Isle of Man', + 'Israel', + 'Italien', + 'Jamaika', + 'Japan', + 'Jemen', + 'Jersey', + 'Jordanien', + 'Kaimaninseln', + 'Kambodscha', + 'Kamerun', + 'Kanada', + 'Kap Verde', + 'Kasachstan', + 'Katar', + 'Kenia', + 'Kirgisistan', + 'Kiribati', + 'Kokosinseln', + 'Kolumbien', + 'Komoren', + 'Kongo', + 'Kroatien', + 'Kuba', + 'Kuwait', + 'Laos', + 'Lesotho', + 'Lettland', + 'Libanon', + 'Liberia', + 'Libyen', + 'Liechtenstein', + 'Litauen', + 'Luxemburg', + 'Madagaskar', + 'Malawi', + 'Malaysia', + 'Malediven', + 'Mali', + 'Malta', + 'Marokko', + 'Marshallinseln', + 'Martinique', + 'Mauretanien', + 'Mauritius', + 'Mayotte', + 'Mazedonien', + 'Mexiko', + 'Mikronesien', + 'Monaco', + 'Mongolei', + 'Montenegro', + 'Montserrat', + 'Mosambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Neukaledonien', + 'Neuseeland', + 'Nicaragua', + 'Niederlande', + 'Niederländische Antillen', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolkinsel', + 'Norwegen', + 'Nördliche Marianen', + 'Oman', + 'Osttimor', + 'Österreich', + 'Pakistan', + 'Palau', + 'Palästinensische Gebiete', + 'Panama', + 'Papua-Neuguinea', + 'Paraguay', + 'Peru', + 'Philippinen', + 'Pitcairn', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Republik Korea', + 'Republik Moldau', + 'Ruanda', + 'Rumänien', + 'Russische Föderation', + 'Réunion', + 'Salomonen', + 'Sambia', + 'Samoa', + 'San Marino', + 'Saudi-Arabien', + 'Schweden', + 'Schweiz', + 'Senegal', + 'Serbien', + 'Serbien und Montenegro', + 'Seychellen', + 'Sierra Leone', + 'Simbabwe', + 'Singapur', + 'Slowakei', + 'Slowenien', + 'Somalia', + 'Sonderverwaltungszone Hongkong', + 'Sonderverwaltungszone Macao', + 'Spanien', + 'Sri Lanka', + 'St. Barthélemy', + 'St. Helena', + 'St. Kitts und Nevis', + 'St. Lucia', + 'St. Martin', + 'St. Pierre und Miquelon', + 'St. Vincent und die Grenadinen', + 'Sudan', + 'Suriname', + 'Svalbard und Jan Mayen', + 'Swasiland', + 'Syrien', + 'São Tomé und Príncipe', + 'Südafrika', + 'Südgeorgien und die Südlichen Sandwichinseln', + 'Tadschikistan', + 'Taiwan', + 'Tansania', + 'Thailand', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad und Tobago', + 'Tschad', + 'Tschechische Republik', + 'Tunesien', + 'Turkmenistan', + 'Turks- und Caicosinseln', + 'Tuvalu', + 'Türkei', + 'Uganda', + 'Ukraine', + 'Unbekannte oder ungültige Region', + 'Ungarn', + 'Uruguay', + 'Usbekistan', + 'Vanuatu', + 'Vatikanstadt', + 'Venezuela', + 'Vereinigte Arabische Emirate', + 'Vereinigte Staaten', + 'Vereinigtes Königreich', + 'Vietnam', + 'Wallis und Futuna', + 'Weihnachtsinsel', + 'Westsahara', + 'Zentralafrikanische Republik', + 'Zypern', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffixShort}}', - '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', - ]; + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffixShort}}', + '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - public function cityName() - { - return static::randomElement(static::$cityNames); - } + public function cityName() { + return static::randomElement( static::$cityNames ); + } - public function streetSuffixShort() - { - return static::randomElement(static::$streetSuffixShort); - } + public function streetSuffixShort() { + return static::randomElement( static::$streetSuffixShort ); + } - public function streetSuffixLong() - { - return static::randomElement(static::$streetSuffixLong); - } + public function streetSuffixLong() { + return static::randomElement( static::$streetSuffixLong ); + } - /** - * @example 'Wien' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Wien' + */ + public static function state() { + return static::randomElement( static::$state ); + } - public static function buildingNumber() - { - return static::regexify(self::numerify(static::randomElement(static::$buildingNumber))); - } + public static function buildingNumber() { + return static::regexify( self::numerify( static::randomElement( static::$buildingNumber ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Company.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Company.php index 6532c32..7d38107 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Company.php @@ -2,12 +2,11 @@ namespace Faker\Provider\de_AT; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['AG', 'EWIV', 'Ges.m.b.H.', 'GmbH', 'KEG', 'KG', 'OEG', 'OG', 'OHG', 'SE']; + protected static $companySuffix = [ 'AG', 'EWIV', 'Ges.m.b.H.', 'GmbH', 'KEG', 'KG', 'OEG', 'OG', 'OHG', 'SE' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Internet.php index ce818ed..16a1edc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\de_AT; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['aon.at', 'chello.at', 'gmail.com', 'gmx.at', 'univie.ac.at']; - protected static $tld = ['at', 'co.at', 'com', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'aon.at', 'chello.at', 'gmail.com', 'gmx.at', 'univie.ac.at' ]; + protected static $tld = [ 'at', 'co.at', 'com', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Payment.php index e027801..41852fc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Payment.php @@ -2,41 +2,38 @@ namespace Faker\Provider\de_AT; -class Payment extends \Faker\Provider\Payment -{ - /** - * Value Added Tax (VAT) - * - * @example 'ATU12345678', ('spaced') 'AT U12345678' - * - * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 - * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm - * @see http://en.wikipedia.org/wiki/VAT_identification_number - * - * @param bool $spacedNationalPrefix - * - * @return string VAT Number - */ - public static function vat($spacedNationalPrefix = true) - { - $prefix = $spacedNationalPrefix ? 'AT U' : 'ATU'; +class Payment extends \Faker\Provider\Payment { + /** + * Value Added Tax (VAT) + * + * @param bool $spacedNationalPrefix + * + * @return string VAT Number + * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm + * @see http://en.wikipedia.org/wiki/VAT_identification_number + * + * @example 'ATU12345678', ('spaced') 'AT U12345678' + * + * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 + */ + public static function vat( $spacedNationalPrefix = true ) { + $prefix = $spacedNationalPrefix ? 'AT U' : 'ATU'; - return sprintf('%s%d', $prefix, self::randomNumber(8, true)); - } + return sprintf( '%s%d', $prefix, self::randomNumber( 8, true ) ); + } - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'AT', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'AT', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Person.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Person.php index 964b8b7..27506df 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Person.php @@ -4,151 +4,815 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - /** - * 60 most popular names in 1985, 1995, 2005 and 2015 - * {@link} https://www.statistik.at/wcm/idc/idcplg?IdcService=GET_NATIVE_FILE&RevisionSelectionMethod=LatestReleased&dDocName=115199 - */ - protected static $firstNameMale = [ - 'Adrian', 'Alexander', 'Andreas', 'Anton', - 'Ben', 'Benedikt', 'Benjamin', 'Bernd', 'Bernhard', - 'Christian', 'Christoph', 'Christopher', 'Clemens', - 'Daniel', 'David', 'Dominik', - 'Elias', 'Emil', 'Erik', - 'Fabian', 'Fabio', 'Felix', 'Finn', 'Florian', 'Franz', - 'Gabriel', 'Georg', 'Gerald', 'Gerhard', 'Gernot', 'Gregor', 'Günther', - 'Hannes', 'Harald', 'Helmut', 'Herbert', - 'Jakob', 'Jan', 'Johann', 'Johannes', 'Jonas', 'Jonathan', 'Josef', 'Joseph', 'Julian', 'Justin', 'Jürgen', - 'Karl', 'Kevin', 'Kilian', 'Klaus', 'Konstantin', - 'Leo', 'Leon', 'Lorenz', 'Luca', 'Luis', 'Lukas', - 'Manfred', 'Manuel', 'Marc', 'Marcel', 'Marco', 'Mario', 'Markus', 'Martin', 'Marvin', 'Matteo', 'Matthias', 'Max', 'Maximilian', 'Michael', 'Moritz', - 'Nico', 'Nicolas', 'Niklas', 'Noah', - 'Oliver', 'Oskar', - 'Pascal', 'Patrick', 'Patrik', 'Paul', 'Peter', 'Philipp', - 'Ralph', 'Raphael', 'Reinhard', 'René', 'Richard', 'Robert', 'Roland', 'Roman', - 'Samuel', 'Sandro', 'Sascha', 'Sebastian', 'Simon', 'Stefan', - 'Theo', 'Theodor', 'Thomas', 'Tim', 'Tobias', - 'Valentin', 'Vincent', - 'Werner', 'Wolfgang', - ]; + /** + * 60 most popular names in 1985, 1995, 2005 and 2015 + * {@link} https://www.statistik.at/wcm/idc/idcplg?IdcService=GET_NATIVE_FILE&RevisionSelectionMethod=LatestReleased&dDocName=115199 + */ + protected static $firstNameMale = [ + 'Adrian', + 'Alexander', + 'Andreas', + 'Anton', + 'Ben', + 'Benedikt', + 'Benjamin', + 'Bernd', + 'Bernhard', + 'Christian', + 'Christoph', + 'Christopher', + 'Clemens', + 'Daniel', + 'David', + 'Dominik', + 'Elias', + 'Emil', + 'Erik', + 'Fabian', + 'Fabio', + 'Felix', + 'Finn', + 'Florian', + 'Franz', + 'Gabriel', + 'Georg', + 'Gerald', + 'Gerhard', + 'Gernot', + 'Gregor', + 'Günther', + 'Hannes', + 'Harald', + 'Helmut', + 'Herbert', + 'Jakob', + 'Jan', + 'Johann', + 'Johannes', + 'Jonas', + 'Jonathan', + 'Josef', + 'Joseph', + 'Julian', + 'Justin', + 'Jürgen', + 'Karl', + 'Kevin', + 'Kilian', + 'Klaus', + 'Konstantin', + 'Leo', + 'Leon', + 'Lorenz', + 'Luca', + 'Luis', + 'Lukas', + 'Manfred', + 'Manuel', + 'Marc', + 'Marcel', + 'Marco', + 'Mario', + 'Markus', + 'Martin', + 'Marvin', + 'Matteo', + 'Matthias', + 'Max', + 'Maximilian', + 'Michael', + 'Moritz', + 'Nico', + 'Nicolas', + 'Niklas', + 'Noah', + 'Oliver', + 'Oskar', + 'Pascal', + 'Patrick', + 'Patrik', + 'Paul', + 'Peter', + 'Philipp', + 'Ralph', + 'Raphael', + 'Reinhard', + 'René', + 'Richard', + 'Robert', + 'Roland', + 'Roman', + 'Samuel', + 'Sandro', + 'Sascha', + 'Sebastian', + 'Simon', + 'Stefan', + 'Theo', + 'Theodor', + 'Thomas', + 'Tim', + 'Tobias', + 'Valentin', + 'Vincent', + 'Werner', + 'Wolfgang', + ]; - /** - * 60 most popular names in 1985, 1995, 2005 and 2015 - * {@link} https://www.statistik.at/wcm/idc/idcplg?IdcService=GET_NATIVE_FILE&RevisionSelectionMethod=LatestReleased&dDocName=115199 - */ - protected static $firstNameFemale = [ - 'Alexandra', 'Alexandrea', 'Algelika', 'Alina', 'Amelie', 'Andrea', 'Angelina', 'Anita', 'Anja', 'Anna', 'Anna-Lena', 'Annika', 'Astrid', - 'Barbara', 'Bettina', 'Bianca', 'Birgit', - 'Carina', 'Caroline', 'Celina', 'Chiara', 'Christina', 'Christine', 'Clara', 'Claudia', 'Cornelia', - 'Daniela', 'Denise', 'Doris', - 'Elena', 'Elisa', 'Elisabeth', 'Ella', 'Emely', 'Emilia', 'Emily', 'Emma', 'Eva', 'Eva-Maria', - 'Franziska', - 'Hanna', 'Hannah', 'Helena', - 'Ines', 'Iris', 'Isabel', 'Isabella', - 'Jacqueline', 'Jacquline', 'Jana', 'Janine', 'Jasmin', 'Jennifer', 'Jessica', 'Johanna', 'Julia', - 'Karin', 'Katharina', 'Katrin', 'Kerstin', - 'Lara', 'Larissa', 'Laura', 'Lea', 'Lena', 'Leonie', 'Lilly', 'Lina', 'Lisa', 'Livia', 'Luisa', - 'Magdalena', 'Maja', 'Manuela', 'Maria', 'Marie', 'Marion', 'Marlene', 'Martina', 'Melanie', 'Melina', 'Mia', 'Michaela', 'Michelle', 'Miriam', 'Mona', 'Monika', - 'Nadine', 'Natalie', 'Nicole', 'Nina', 'Nora', - 'Patricia', 'Paula', 'Petra', 'Pia', - 'Rebecca', 'Rosa', - 'Sabine', 'Sabrina', 'Sandra', 'Sarah', 'Selina', 'Silvia', 'Simone', 'Sonja', 'Sophia', 'Sophie', 'Stefanie', 'Susanne', - 'Tamara', 'Tanja', 'Theresa', - 'Valentina', 'Valerie', 'Vanessa', 'Verena', 'Viktoria', - 'Yvonne', - ]; + /** + * 60 most popular names in 1985, 1995, 2005 and 2015 + * {@link} https://www.statistik.at/wcm/idc/idcplg?IdcService=GET_NATIVE_FILE&RevisionSelectionMethod=LatestReleased&dDocName=115199 + */ + protected static $firstNameFemale = [ + 'Alexandra', + 'Alexandrea', + 'Algelika', + 'Alina', + 'Amelie', + 'Andrea', + 'Angelina', + 'Anita', + 'Anja', + 'Anna', + 'Anna-Lena', + 'Annika', + 'Astrid', + 'Barbara', + 'Bettina', + 'Bianca', + 'Birgit', + 'Carina', + 'Caroline', + 'Celina', + 'Chiara', + 'Christina', + 'Christine', + 'Clara', + 'Claudia', + 'Cornelia', + 'Daniela', + 'Denise', + 'Doris', + 'Elena', + 'Elisa', + 'Elisabeth', + 'Ella', + 'Emely', + 'Emilia', + 'Emily', + 'Emma', + 'Eva', + 'Eva-Maria', + 'Franziska', + 'Hanna', + 'Hannah', + 'Helena', + 'Ines', + 'Iris', + 'Isabel', + 'Isabella', + 'Jacqueline', + 'Jacquline', + 'Jana', + 'Janine', + 'Jasmin', + 'Jennifer', + 'Jessica', + 'Johanna', + 'Julia', + 'Karin', + 'Katharina', + 'Katrin', + 'Kerstin', + 'Lara', + 'Larissa', + 'Laura', + 'Lea', + 'Lena', + 'Leonie', + 'Lilly', + 'Lina', + 'Lisa', + 'Livia', + 'Luisa', + 'Magdalena', + 'Maja', + 'Manuela', + 'Maria', + 'Marie', + 'Marion', + 'Marlene', + 'Martina', + 'Melanie', + 'Melina', + 'Mia', + 'Michaela', + 'Michelle', + 'Miriam', + 'Mona', + 'Monika', + 'Nadine', + 'Natalie', + 'Nicole', + 'Nina', + 'Nora', + 'Patricia', + 'Paula', + 'Petra', + 'Pia', + 'Rebecca', + 'Rosa', + 'Sabine', + 'Sabrina', + 'Sandra', + 'Sarah', + 'Selina', + 'Silvia', + 'Simone', + 'Sonja', + 'Sophia', + 'Sophie', + 'Stefanie', + 'Susanne', + 'Tamara', + 'Tanja', + 'Theresa', + 'Valentina', + 'Valerie', + 'Vanessa', + 'Verena', + 'Viktoria', + 'Yvonne', + ]; - /** - * Top 500 Names from a phone directory (February 2004) - * {@link} https://de.wiktionary.org/w/index.php?title=Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_Nachnamen_%C3%96sterreichs - */ - protected static $lastName = [ - 'Abraham', 'Achleitner', 'Adam', 'Aichinger', 'Aigner', 'Albrecht', 'Altmann', 'Amann', 'Amon', 'Angerer', 'Arnold', 'Artner', 'Aschauer', 'Auer', 'Augustin', 'Auinger', - 'Bacher', 'Bachler', 'Bachmann', 'Bader', 'Baier', 'Barth', 'Bartl', 'Bauer', 'Baumann', 'Baumgartner', 'Bayer', 'Beck', 'Beer', 'Berger', 'Bergmann', 'Bernhard', 'Bichler', 'Binder', 'Bischof', 'Bock', 'Bogner', 'Brandl', 'Brandner', 'Brandstetter', 'Brandstätter', 'Braun', 'Brenner', 'Bruckner', 'Brugger', 'Brunner', 'Buchberger', 'Buchegger', 'Bucher', 'Buchinger', 'Buchner', 'Burger', 'Burgstaller', 'Burtscher', 'Böck', 'Böhm', 'Bösch', - 'Danner', 'Denk', 'Deutsch', 'Dietrich', 'Dobler', 'Doppler', 'Dorner', 'Draxler', - 'Eberharter', 'Eberl', 'Ebner', 'Ecker', 'Eder', 'Edlinger', 'Egger', 'Eibl', 'Eichberger', 'Eichinger', 'Eigner', 'Erhart', 'Ernst', 'Ertl', - 'Falkner', 'Fasching', 'Feichtinger', 'Fellner', 'Fiala', 'Fichtinger', 'Fiedler', 'Fink', 'Fischer', 'Fleischhacker', 'Forster', 'Forstner', 'Frank', 'Franz', 'Friedl', 'Friedrich', 'Fritsch', 'Fritz', 'Fröhlich', 'Frühwirth', 'Fuchs', 'Führer', 'Fürst', - 'Gabriel', 'Gangl', 'Gartner', 'Gasser', 'Gassner', 'Geiger', 'Geisler', 'Geyer', 'Glaser', 'Glatz', 'Gmeiner', 'Grabner', 'Graf', 'Gratzer', 'Greiner', 'Grill', 'Gritsch', 'Gross', 'Groß', 'Gruber', 'Grünwald', 'Gschwandtner', 'Gutmann', - 'Haas', 'Haberl', 'Hackl', 'Hafner', 'Hagen', 'Hager', 'Hahn', 'Haider', 'Haidinger', 'Haller', 'Hammer', 'Hammerl', 'Handl', 'Handler', 'Harrer', 'Hartl', 'Hartmann', 'Haslinger', 'Hauer', 'Hauser', 'Heindl', 'Heinrich', 'Hemetsberger', 'Herbst', 'Hermann', 'Herzog', 'Hinterberger', 'Hinteregger', 'Hinterleitner', 'Hirsch', 'Hochreiter', 'Hofbauer', 'Hofer', 'Hoffmann', 'Hofmann', 'Hofstätter', 'Holzer', 'Holzinger', 'Holzmann', 'Horvath', 'Huber', 'Huemer', 'Hufnagl', 'Humer', 'Hummer', 'Hutter', 'Hämmerle', 'Hödl', 'Höfler', 'Höller', 'Hölzl', 'Hörmann', 'Hütter', - 'Jahn', 'Jandl', 'Janisch', 'Jovanovic', 'Jung', 'Jungwirth', 'Jäger', - 'Kainz', 'Kaiser', 'Kaltenbrunner', 'Kapeller', 'Kargl', 'Karl', 'Karner', 'Kastner', 'Kaufmann', 'Kellner', 'Kern', 'Kerschbaumer', 'Kirchmair', 'Kirchner', 'Klammer', 'Klein', 'Klinger', 'Klug', 'Knapp', 'Knoll', 'Koch', 'Kofler', 'Kogler', 'Kohl', 'Koller', 'Kollmann', 'Konrad', 'Kopp', 'Kovacs', 'Kraft', 'Krainer', 'Kramer', 'Krammer', 'Kraus', 'Kremser', 'Krenn', 'Kreuzer', 'Kronberger', 'Kröll', 'Kugler', 'Kummer', 'Kurz', 'Köberl', 'Köck', 'Köhler', 'König', - 'Lackner', 'Lamprecht', 'Lang', 'Langer', 'Lechner', 'Lederer', 'Leeb', 'Lehner', 'Leitgeb', 'Leitner', 'Lengauer', 'Lenz', 'Lettner', 'Lindner', 'List', 'Loidl', 'Lorenz', 'Ludwig', 'Luger', 'Lukas', 'Lutz', 'Löffler', - 'Mader', 'Maier', 'Maierhofer', 'Mair', 'Mairhofer', 'Mandl', 'Markovic', 'Martin', 'Maurer', 'Mayer', 'Mayerhofer', 'Mayr', 'Mayrhofer', 'Meier', 'Meixner', 'Messner', 'Meyer', 'Mitterer', 'Moosbrugger', 'Moser', 'Muhr', 'Mühlbacher', 'Müller', 'Müllner', - 'Nagl', 'Nemeth', 'Neubauer', 'Neuhauser', 'Neuhold', 'Neumann', 'Neumayer', 'Neuner', 'Neuwirth', 'Nikolic', 'Novak', 'Nowak', 'Nussbaumer', 'Nußbaumer', - 'Ofner', 'Ortner', 'Oswald', 'Ott', - 'Paar', 'Pacher', 'Pammer', 'Paul', 'Payer', 'Peer', 'Penz', 'Peter', 'Petrovic', 'Petz', 'Pfeffer', 'Pfeifer', 'Pfeiffer', 'Pfister', 'Pfleger', 'Pichler', 'Pilz', 'Pinter', 'Pirker', 'Plank', 'Plattner', 'Platzer', 'Pointner', 'Pokorny', 'Pollak', 'Posch', 'Prem', 'Prinz', 'Probst', 'Pucher', 'Putz', 'Pöll', 'Pölzl', 'Pöschl', 'Pühringer', - 'Raab', 'Rabl', 'Rainer', 'Rath', 'Rauch', 'Rausch', 'Rauscher', 'Rauter', 'Rechberger', 'Redl', 'Reich', 'Reichl', 'Reindl', 'Reiner', 'Reinisch', 'Reischl', 'Reisinger', 'Reiter', 'Reiterer', 'Renner', 'Resch', 'Richter', 'Rieder', 'Riedl', 'Riedler', 'Rieger', 'Riegler', 'Rieser', 'Ritter', 'Rosenberger', 'Roth', 'Rupp', - 'Sailer', 'Sattler', 'Sauer', 'Schachinger', 'Schachner', 'Schaffer', 'Schaller', 'Scharf', 'Schatz', 'Schauer', 'Scheiber', 'Schenk', 'Scheucher', 'Schiefer', 'Schiller', 'Schindler', 'Schlager', 'Schlögl', 'Schmid', 'Schmidt', 'Schmied', 'Schnabl', 'Schneeberger', 'Schneider', 'Schober', 'Scholz', 'Schranz', 'Schreiber', 'Schreiner', 'Schubert', 'Schuh', 'Schuller', 'Schulz', 'Schuster', 'Schwab', 'Schwaiger', 'Schwaighofer', 'Schwarz', 'Schweiger', 'Schweighofer', 'Schön', 'Schöpf', 'Schütz', 'Seebacher', 'Seidl', 'Siegl', 'Simon', 'Singer', 'Sommer', 'Sonnleitner', 'Spitzer', 'Springer', 'Stadler', 'Stangl', 'Stark', 'Staudinger', 'Steger', 'Steinbauer', 'Steinberger', 'Steindl', 'Steiner', 'Steininger', 'Steinkellner', 'Steinlechner', 'Steinwender', 'Stelzer', 'Stern', 'Steurer', 'Stocker', 'Stockinger', 'Strasser', 'Strauss', 'Strauß', 'Strobl', 'Stummer', 'Sturm', 'Stöckl', 'Stöger', 'Suppan', 'Swoboda', 'Szabo', - 'Thaler', 'Thaller', 'Thurner', 'Tischler', 'Toth', 'Traxler', 'Trimmel', 'Trummer', - 'Ulrich', 'Unger', 'Unterberger', 'Unterweger', 'Urban', - 'Varga', 'Vogel', 'Vogl', - 'Wachter', 'Wagner', 'Walch', 'Walcher', 'Wallner', 'Walter', 'Weber', 'Wechselberger', 'Wegscheider', 'Weidinger', 'Weigl', 'Weinberger', 'Weiss', 'Weiß', 'Weninger', 'Werner', 'Wieland', 'Wieser', 'Wiesinger', 'Wild', 'Wilhelm', 'Wimmer', 'Windisch', 'Winkler', 'Winter', 'Wirth', 'Wittmann', 'Wolf', 'Wurm', 'Wurzer', - 'Zach', 'Zangerl', 'Zauner', 'Zechner', 'Zehetner', 'Zeilinger', 'Zeller', 'Zenz', 'Ziegler', 'Zimmermann', 'Zöhrer', - ]; + /** + * Top 500 Names from a phone directory (February 2004) + * {@link} https://de.wiktionary.org/w/index.php?title=Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_Nachnamen_%C3%96sterreichs + */ + protected static $lastName = [ + 'Abraham', + 'Achleitner', + 'Adam', + 'Aichinger', + 'Aigner', + 'Albrecht', + 'Altmann', + 'Amann', + 'Amon', + 'Angerer', + 'Arnold', + 'Artner', + 'Aschauer', + 'Auer', + 'Augustin', + 'Auinger', + 'Bacher', + 'Bachler', + 'Bachmann', + 'Bader', + 'Baier', + 'Barth', + 'Bartl', + 'Bauer', + 'Baumann', + 'Baumgartner', + 'Bayer', + 'Beck', + 'Beer', + 'Berger', + 'Bergmann', + 'Bernhard', + 'Bichler', + 'Binder', + 'Bischof', + 'Bock', + 'Bogner', + 'Brandl', + 'Brandner', + 'Brandstetter', + 'Brandstätter', + 'Braun', + 'Brenner', + 'Bruckner', + 'Brugger', + 'Brunner', + 'Buchberger', + 'Buchegger', + 'Bucher', + 'Buchinger', + 'Buchner', + 'Burger', + 'Burgstaller', + 'Burtscher', + 'Böck', + 'Böhm', + 'Bösch', + 'Danner', + 'Denk', + 'Deutsch', + 'Dietrich', + 'Dobler', + 'Doppler', + 'Dorner', + 'Draxler', + 'Eberharter', + 'Eberl', + 'Ebner', + 'Ecker', + 'Eder', + 'Edlinger', + 'Egger', + 'Eibl', + 'Eichberger', + 'Eichinger', + 'Eigner', + 'Erhart', + 'Ernst', + 'Ertl', + 'Falkner', + 'Fasching', + 'Feichtinger', + 'Fellner', + 'Fiala', + 'Fichtinger', + 'Fiedler', + 'Fink', + 'Fischer', + 'Fleischhacker', + 'Forster', + 'Forstner', + 'Frank', + 'Franz', + 'Friedl', + 'Friedrich', + 'Fritsch', + 'Fritz', + 'Fröhlich', + 'Frühwirth', + 'Fuchs', + 'Führer', + 'Fürst', + 'Gabriel', + 'Gangl', + 'Gartner', + 'Gasser', + 'Gassner', + 'Geiger', + 'Geisler', + 'Geyer', + 'Glaser', + 'Glatz', + 'Gmeiner', + 'Grabner', + 'Graf', + 'Gratzer', + 'Greiner', + 'Grill', + 'Gritsch', + 'Gross', + 'Groß', + 'Gruber', + 'Grünwald', + 'Gschwandtner', + 'Gutmann', + 'Haas', + 'Haberl', + 'Hackl', + 'Hafner', + 'Hagen', + 'Hager', + 'Hahn', + 'Haider', + 'Haidinger', + 'Haller', + 'Hammer', + 'Hammerl', + 'Handl', + 'Handler', + 'Harrer', + 'Hartl', + 'Hartmann', + 'Haslinger', + 'Hauer', + 'Hauser', + 'Heindl', + 'Heinrich', + 'Hemetsberger', + 'Herbst', + 'Hermann', + 'Herzog', + 'Hinterberger', + 'Hinteregger', + 'Hinterleitner', + 'Hirsch', + 'Hochreiter', + 'Hofbauer', + 'Hofer', + 'Hoffmann', + 'Hofmann', + 'Hofstätter', + 'Holzer', + 'Holzinger', + 'Holzmann', + 'Horvath', + 'Huber', + 'Huemer', + 'Hufnagl', + 'Humer', + 'Hummer', + 'Hutter', + 'Hämmerle', + 'Hödl', + 'Höfler', + 'Höller', + 'Hölzl', + 'Hörmann', + 'Hütter', + 'Jahn', + 'Jandl', + 'Janisch', + 'Jovanovic', + 'Jung', + 'Jungwirth', + 'Jäger', + 'Kainz', + 'Kaiser', + 'Kaltenbrunner', + 'Kapeller', + 'Kargl', + 'Karl', + 'Karner', + 'Kastner', + 'Kaufmann', + 'Kellner', + 'Kern', + 'Kerschbaumer', + 'Kirchmair', + 'Kirchner', + 'Klammer', + 'Klein', + 'Klinger', + 'Klug', + 'Knapp', + 'Knoll', + 'Koch', + 'Kofler', + 'Kogler', + 'Kohl', + 'Koller', + 'Kollmann', + 'Konrad', + 'Kopp', + 'Kovacs', + 'Kraft', + 'Krainer', + 'Kramer', + 'Krammer', + 'Kraus', + 'Kremser', + 'Krenn', + 'Kreuzer', + 'Kronberger', + 'Kröll', + 'Kugler', + 'Kummer', + 'Kurz', + 'Köberl', + 'Köck', + 'Köhler', + 'König', + 'Lackner', + 'Lamprecht', + 'Lang', + 'Langer', + 'Lechner', + 'Lederer', + 'Leeb', + 'Lehner', + 'Leitgeb', + 'Leitner', + 'Lengauer', + 'Lenz', + 'Lettner', + 'Lindner', + 'List', + 'Loidl', + 'Lorenz', + 'Ludwig', + 'Luger', + 'Lukas', + 'Lutz', + 'Löffler', + 'Mader', + 'Maier', + 'Maierhofer', + 'Mair', + 'Mairhofer', + 'Mandl', + 'Markovic', + 'Martin', + 'Maurer', + 'Mayer', + 'Mayerhofer', + 'Mayr', + 'Mayrhofer', + 'Meier', + 'Meixner', + 'Messner', + 'Meyer', + 'Mitterer', + 'Moosbrugger', + 'Moser', + 'Muhr', + 'Mühlbacher', + 'Müller', + 'Müllner', + 'Nagl', + 'Nemeth', + 'Neubauer', + 'Neuhauser', + 'Neuhold', + 'Neumann', + 'Neumayer', + 'Neuner', + 'Neuwirth', + 'Nikolic', + 'Novak', + 'Nowak', + 'Nussbaumer', + 'Nußbaumer', + 'Ofner', + 'Ortner', + 'Oswald', + 'Ott', + 'Paar', + 'Pacher', + 'Pammer', + 'Paul', + 'Payer', + 'Peer', + 'Penz', + 'Peter', + 'Petrovic', + 'Petz', + 'Pfeffer', + 'Pfeifer', + 'Pfeiffer', + 'Pfister', + 'Pfleger', + 'Pichler', + 'Pilz', + 'Pinter', + 'Pirker', + 'Plank', + 'Plattner', + 'Platzer', + 'Pointner', + 'Pokorny', + 'Pollak', + 'Posch', + 'Prem', + 'Prinz', + 'Probst', + 'Pucher', + 'Putz', + 'Pöll', + 'Pölzl', + 'Pöschl', + 'Pühringer', + 'Raab', + 'Rabl', + 'Rainer', + 'Rath', + 'Rauch', + 'Rausch', + 'Rauscher', + 'Rauter', + 'Rechberger', + 'Redl', + 'Reich', + 'Reichl', + 'Reindl', + 'Reiner', + 'Reinisch', + 'Reischl', + 'Reisinger', + 'Reiter', + 'Reiterer', + 'Renner', + 'Resch', + 'Richter', + 'Rieder', + 'Riedl', + 'Riedler', + 'Rieger', + 'Riegler', + 'Rieser', + 'Ritter', + 'Rosenberger', + 'Roth', + 'Rupp', + 'Sailer', + 'Sattler', + 'Sauer', + 'Schachinger', + 'Schachner', + 'Schaffer', + 'Schaller', + 'Scharf', + 'Schatz', + 'Schauer', + 'Scheiber', + 'Schenk', + 'Scheucher', + 'Schiefer', + 'Schiller', + 'Schindler', + 'Schlager', + 'Schlögl', + 'Schmid', + 'Schmidt', + 'Schmied', + 'Schnabl', + 'Schneeberger', + 'Schneider', + 'Schober', + 'Scholz', + 'Schranz', + 'Schreiber', + 'Schreiner', + 'Schubert', + 'Schuh', + 'Schuller', + 'Schulz', + 'Schuster', + 'Schwab', + 'Schwaiger', + 'Schwaighofer', + 'Schwarz', + 'Schweiger', + 'Schweighofer', + 'Schön', + 'Schöpf', + 'Schütz', + 'Seebacher', + 'Seidl', + 'Siegl', + 'Simon', + 'Singer', + 'Sommer', + 'Sonnleitner', + 'Spitzer', + 'Springer', + 'Stadler', + 'Stangl', + 'Stark', + 'Staudinger', + 'Steger', + 'Steinbauer', + 'Steinberger', + 'Steindl', + 'Steiner', + 'Steininger', + 'Steinkellner', + 'Steinlechner', + 'Steinwender', + 'Stelzer', + 'Stern', + 'Steurer', + 'Stocker', + 'Stockinger', + 'Strasser', + 'Strauss', + 'Strauß', + 'Strobl', + 'Stummer', + 'Sturm', + 'Stöckl', + 'Stöger', + 'Suppan', + 'Swoboda', + 'Szabo', + 'Thaler', + 'Thaller', + 'Thurner', + 'Tischler', + 'Toth', + 'Traxler', + 'Trimmel', + 'Trummer', + 'Ulrich', + 'Unger', + 'Unterberger', + 'Unterweger', + 'Urban', + 'Varga', + 'Vogel', + 'Vogl', + 'Wachter', + 'Wagner', + 'Walch', + 'Walcher', + 'Wallner', + 'Walter', + 'Weber', + 'Wechselberger', + 'Wegscheider', + 'Weidinger', + 'Weigl', + 'Weinberger', + 'Weiss', + 'Weiß', + 'Weninger', + 'Werner', + 'Wieland', + 'Wieser', + 'Wiesinger', + 'Wild', + 'Wilhelm', + 'Wimmer', + 'Windisch', + 'Winkler', + 'Winter', + 'Wirth', + 'Wittmann', + 'Wolf', + 'Wurm', + 'Wurzer', + 'Zach', + 'Zangerl', + 'Zauner', + 'Zechner', + 'Zehetner', + 'Zeilinger', + 'Zeller', + 'Zenz', + 'Ziegler', + 'Zimmermann', + 'Zöhrer', + ]; - protected static $titleMale = ['Herr', 'Dr.', 'Mag.', 'Ing.', 'Dipl.-Ing.', 'Prof.', 'Univ.Prof.']; - protected static $titleFemale = ['Frau', 'Dr.', 'Maga.', 'Ing.', 'Dipl.-Ing.', 'Prof.', 'Univ.Prof.']; + protected static $titleMale = [ 'Herr', 'Dr.', 'Mag.', 'Ing.', 'Dipl.-Ing.', 'Prof.', 'Univ.Prof.' ]; + protected static $titleFemale = [ 'Frau', 'Dr.', 'Maga.', 'Ing.', 'Dipl.-Ing.', 'Prof.', 'Univ.Prof.' ]; - protected static $suffix = ['B.Sc.', 'B.A.', 'B.Eng.', 'MBA.']; + protected static $suffix = [ 'B.Sc.', 'B.A.', 'B.Eng.', 'MBA.' ]; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * Generates a random Austrian Social Security number. - * - * @see https://de.wikipedia.org/wiki/Sozialversicherungsnummer#.C3.96sterreich - * - * @return string - */ - public static function ssn(\DateTime $birthdate = null) - { - $birthdate = $birthdate ?? DateTime::dateTimeThisCentury(); + /** + * Generates a random Austrian Social Security number. + * + * @see https://de.wikipedia.org/wiki/Sozialversicherungsnummer#.C3.96sterreich + * + * @return string + */ + public static function ssn( \DateTime $birthdate = null ) { + $birthdate = $birthdate ?? DateTime::dateTimeThisCentury(); - $birthDateString = $birthdate->format('dmy'); + $birthDateString = $birthdate->format( 'dmy' ); - do { - $consecutiveNumber = (string) self::numberBetween(100, 999); + do { + $consecutiveNumber = (string) self::numberBetween( 100, 999 ); - $verificationNumber = ( - (int) $consecutiveNumber[0] * 3 - + (int) $consecutiveNumber[1] * 7 - + (int) $consecutiveNumber[2] * 9 - + (int) $birthDateString[0] * 5 - + (int) $birthDateString[1] * 8 - + (int) $birthDateString[2] * 4 - + (int) $birthDateString[3] * 2 - + (int) $birthDateString[4] * 1 - + (int) $birthDateString[5] * 6 - ) % 11; - } while ($verificationNumber == 10); + $verificationNumber = ( + (int) $consecutiveNumber[0] * 3 + + (int) $consecutiveNumber[1] * 7 + + (int) $consecutiveNumber[2] * 9 + + (int) $birthDateString[0] * 5 + + (int) $birthDateString[1] * 8 + + (int) $birthDateString[2] * 4 + + (int) $birthDateString[3] * 2 + + (int) $birthDateString[4] * 1 + + (int) $birthDateString[5] * 6 + ) % 11; + } while ( $verificationNumber == 10 ); - return sprintf('%s%s%s', $consecutiveNumber, $verificationNumber, $birthDateString); - } + return sprintf( '%s%s%s', $consecutiveNumber, $verificationNumber, $birthDateString ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/PhoneNumber.php index 00fbe67..a01634d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/PhoneNumber.php @@ -2,22 +2,21 @@ namespace Faker\Provider\de_AT; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '0650 #######', - '0660 #######', - '0664 #######', - '0676 #######', - '0677 #######', - '0678 #######', - '0699 #######', - '0680 #######', - '+43 #### ####', - '+43 #### ####-##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '0650 #######', + '0660 #######', + '0664 #######', + '0676 #######', + '0677 #######', + '0678 #######', + '0699 #######', + '0680 #######', + '+43 #### ####', + '+43 #### ####-##', + ]; - protected static $e164Formats = [ - '+43##########', - ]; + protected static $e164Formats = [ + '+43##########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Text.php b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Text.php index 2efd43f..e6fe3ed 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_AT/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_AT/Text.php @@ -2,6 +2,5 @@ namespace Faker\Provider\de_AT; -class Text extends \Faker\Provider\de_DE\Text -{ +class Text extends \Faker\Provider\de_DE\Text { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Address.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Address.php index bf5497c..7969f4c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Address.php @@ -2,196 +2,650 @@ namespace Faker\Provider\de_CH; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '##[abc]', '#[abc]']; - - protected static $streetSuffixLong = [ - 'Gasse', 'Platz', 'Ring', 'Strasse', 'Weg', 'Allee', - ]; - protected static $streetSuffixShort = [ - 'gasse', 'platz', 'ring', 'strasse', 'str.', 'weg', 'allee', - ]; - - protected static $postcode = ['####']; - - /** - * @see https://de.wikipedia.org/wiki/Liste_der_St%C3%A4dte_in_der_Schweiz - */ - protected static $cityNames = [ - 'Aarau', 'Aarberg', 'Aarburg', 'Adliswil', 'Aesch', 'Affoltern am Albis', 'Agno', 'Aigle', 'Allschwil', 'Altdorf', 'Altstätten', 'Amriswil', 'Appenzell', 'Arbon', 'Arth', 'Ascona', 'Aubonne', 'Avenches', - 'Baar', 'Bad Zurzach', 'Baden', 'Basel', 'Bassersdorf', 'Bellinzona', 'Belp', 'Bern', 'Beromünster', 'Biasca', 'Biel/Bienne', 'Binningen', 'Birsfelden', 'Bischofszell', 'Boudry', 'Bourg-Saint-Pierre', 'Bremgarten', 'Brig-Glis', 'Brig', 'Brugg', 'Buchs', 'Bulle', 'Burgdorf', 'Bülach', - 'Carouge', 'Cham', 'Chur', 'Châtel-Saint-Denis', 'Chêne-Bougeries', 'Conthey', 'Coppet', 'Cossonay', 'Croglio', 'Cudrefin', 'Cully', - 'Davos', 'Delsberg', 'Diessenhofen', 'Dietikon', 'Dübendorf', - 'Ebikon', 'Echallens', 'Ecublens', 'Eglisau', 'Einsiedeln', 'Elgg', 'Emmen', 'Erlach', 'Estavayer-le-Lac', - 'Flawil', 'Frauenfeld', 'Freiburg', 'Freienbach', 'Fürstenau', - 'Genf', 'Gland', 'Glarus', 'Gordola', 'Gossau', 'Grandcour', 'Grandson', 'Greifensee', 'Grenchen', 'Greyerz', 'Grüningen', - 'Herisau', 'Hermance', 'Hinwil', 'Horgen', 'Horw', 'Huttwil', - 'Ilanz', 'Illnau-Effretikon', 'Ittigen', - 'Kaiserstuhl', 'Klingnau', 'Kloten', 'Kreuzlingen', 'Kriens', 'Köniz', 'Küsnacht', - 'La Chaux-de-Fonds', 'La Neuveville', 'La Sarraz', 'La Tour-de-Peilz', 'La Tour-de-Trême', 'Lachen', 'Lancy', 'Langenthal', 'Laufen', 'Laufenburg', 'Laupen', 'Lausanne', 'Le Grand-Saconnex', 'Le Landeron', 'Le Locle', 'Lenzburg', 'Les Clées', 'Leuk', 'Lichtensteig', 'Liestal', 'Locarno', 'Losone', 'Lugano', 'Lutry', 'Luzern', 'Lyss', - 'Maienfeld', 'Martigny', 'Meilen', 'Mellingen', 'Mendrisio', 'Meyrin', 'Monthey', 'Montreux', 'Morcote', 'Morges', 'Moudon', 'Moutier', 'Muri bei Bern', 'Murten', 'Muttenz', 'Männedorf', 'Möhlin', 'Münchenstein', 'Münsingen', - 'Neuenburg', 'Neuhausen am Rheinfall', 'Neunkirch', 'Nidau', 'Nyon', - 'Oberwil', 'Oftringen', 'Olten', 'Onex', 'Opfikon', 'Orbe', 'Orsières', 'Ostermundigen', 'Payerne', 'Pfäffikon', 'Plan-les-Ouates', 'Pratteln', 'Prilly', 'Pruntrut', 'Pully', - 'Rapperswil-Jona', 'Regensberg', 'Regensdorf', 'Reinach', 'Renens', 'Rheinau', 'Rheineck', 'Rheinfelden', 'Richterswil', 'Riehen', 'Risch', 'Riva San Vitale', 'Rolle', 'Romainmôtier', 'Romanshorn', 'Romont', 'Rorschach', 'Rue', 'Rüti', - 'Saillon', 'Saint-Maurice', 'Saint-Prex', 'Saint-Ursanne', 'Sala', 'Sargans', 'Sarnen', 'Schaffhausen', 'Schlieren', 'Schwyz', 'Sembrancher', 'Sempach', 'Siders', 'Sitten', 'Solothurn', 'Spiez', 'Splügen', 'Spreitenbach', 'St. Gallen', 'Stans', 'Steckborn', 'Steffisburg', 'Stein am Rhein', 'Stäfa', 'Sursee', - 'Thalwil', 'Thun', 'Thusis', 'Thônex', - 'Unterseen', 'Uster', 'Uznach', 'Uzwil', - 'Val-de-Travers NE', 'Valangin', 'Vernier', 'Versoix', 'Vevey', 'Veyrier GE', 'Villars-sur-Glâne', 'Villeneuve', 'Visp', 'Volketswil', - 'Waldenburg', 'Walenstadt', 'Wallisellen', 'Wangen an der Aare', 'Weinfelden', 'Werdenberg', 'Wettingen', 'Wetzikon', 'Wiedlisbach', 'Willisau', 'Wil', 'Winterthur', 'Wohlen', 'Worb', 'Wädenswil', - 'Yverdon-les-Bains', - 'Zofingen', 'Zollikon', 'Zug', 'Zürich', - ]; - - /** - * @see https://de.wikipedia.org/wiki/Kanton_(Schweiz) - */ - protected static $canton = [ - ['AG' => 'Aargau'], - ['AI' => 'Appenzell Innerrhoden'], - ['AR' => 'Appenzell Ausserrhoden'], - ['BE' => 'Bern'], - ['BL' => 'Basel-Landschaft'], - ['BS' => 'Basel-Stadt'], - ['FR' => 'Freiburg'], - ['GE' => 'Genf'], - ['GL' => 'Glarus'], - ['GR' => 'Graubünden'], - ['JU' => 'Jura'], - ['LU' => 'Luzern'], - ['NE' => 'Neuenburg'], - ['NW' => 'Nidwalden'], - ['OW' => 'Obwalden'], - ['SG' => 'St. Gallen'], - ['SH' => 'Schaffhausen'], - ['SO' => 'Solothurn'], - ['SZ' => 'Schwyz'], - ['TG' => 'Thurgau'], - ['TI' => 'Tessin'], - ['UR' => 'Uri'], - ['VD' => 'Waadt'], - ['VS' => 'Wallis'], - ['ZG' => 'Zug'], - ['ZH' => 'Zürich'], - ]; - - protected static $country = [ - 'Afghanistan', 'Alandinseln', 'Albanien', 'Algerien', 'Amerikanisch-Ozeanien', 'Amerikanisch-Samoa', 'Amerikanische Jungferninseln', 'Andorra', 'Angola', 'Anguilla', 'Antarktis', 'Antigua und Barbuda', 'Argentinien', 'Armenien', 'Aruba', 'Aserbaidschan', 'Australien', 'Ägypten', 'Äquatorialguinea', 'Äthiopien', 'Äusseres Ozeanien', - 'Bahamas', 'Bahrain', 'Bangladesch', 'Barbados', 'Belarus', 'Belgien', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivien', 'Bosnien und Herzegowina', 'Botsuana', 'Bouvetinsel', 'Brasilien', 'Britische Jungferninseln', 'Britisches Territorium im Indischen Ozean', 'Brunei Darussalam', 'Bulgarien', 'Burkina Faso', 'Burundi', - 'Chile', 'China', 'Cookinseln', 'Costa Rica', 'Côte d’Ivoire', - 'Demokratische Republik Kongo', 'Demokratische Volksrepublik Korea', 'Deutschland', 'Dominica', 'Dominikanische Republik', 'Dschibuti', 'Dänemark', - 'Ecuador', 'El Salvador', 'Eritrea', 'Estland', 'Europäische Union', - 'Falklandinseln', 'Fidschi', 'Finnland', 'Frankreich', 'Französisch-Guayana', 'Französisch-Polynesien', 'Französische Süd- und Antarktisgebiete', 'Färöer', - 'Gabun', 'Gambia', 'Georgien', 'Ghana', 'Gibraltar', 'Grenada', 'Griechenland', 'Grönland', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard- und McDonald-Inseln', 'Honduras', - 'Indien', 'Indonesien', 'Irak', 'Iran', 'Irland', 'Island', 'Isle of Man', 'Israel', 'Italien', - 'Jamaika', 'Japan', 'Jemen', 'Jersey', 'Jordanien', - 'Kaimaninseln', 'Kambodscha', 'Kamerun', 'Kanada', 'Kap Verde', 'Kasachstan', 'Katar', 'Kenia', 'Kirgisistan', 'Kiribati', 'Kokosinseln', 'Kolumbien', 'Komoren', 'Kongo', 'Kroatien', 'Kuba', 'Kuwait', - 'Laos', 'Lesotho', 'Lettland', 'Libanon', 'Liberia', 'Libyen', 'Liechtenstein', 'Litauen', 'Luxemburg', - 'Madagaskar', 'Malawi', 'Malaysia', 'Malediven', 'Mali', 'Malta', 'Marokko', 'Marshallinseln', 'Martinique', 'Mauretanien', 'Mauritius', 'Mayotte', 'Mazedonien', 'Mexiko', 'Mikronesien', 'Monaco', 'Mongolei', 'Montenegro', 'Montserrat', 'Mosambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Neukaledonien', 'Neuseeland', 'Nicaragua', 'Niederlande', 'Niederländische Antillen', 'Niger', 'Nigeria', 'Niue', 'Norfolkinsel', 'Norwegen', 'Nördliche Marianen', - 'Oman', 'Osttimor', 'Österreich', - 'Pakistan', 'Palau', 'Palästinensische Gebiete', 'Panama', 'Papua-Neuguinea', 'Paraguay', 'Peru', 'Philippinen', 'Pitcairn', 'Polen', 'Portugal', 'Puerto Rico', - 'Republik Korea', 'Republik Moldau', 'Ruanda', 'Rumänien', 'Russische Föderation', 'Réunion', - 'Salomonen', 'Sambia', 'Samoa', 'San Marino', 'Saudi-Arabien', 'Schweden', 'Schweiz', 'Senegal', 'Serbien', 'Serbien und Montenegro', 'Seychellen', 'Sierra Leone', 'Simbabwe', 'Singapur', 'Slowakei', 'Slowenien', 'Somalia', 'Sonderverwaltungszone Hongkong', 'Sonderverwaltungszone Macao', 'Spanien', 'Sri Lanka', 'St. Barthélemy', 'St. Helena', 'St. Kitts und Nevis', 'St. Lucia', 'St. Martin', 'St. Pierre und Miquelon', 'St. Vincent und die Grenadinen', 'Sudan', 'Suriname', 'Svalbard und Jan Mayen', 'Swasiland', 'Syrien', 'São Tomé und Príncipe', 'Südafrika', 'Südgeorgien und die Südlichen Sandwichinseln', - 'Tadschikistan', 'Taiwan', 'Tansania', 'Thailand', 'Togo', 'Tokelau', 'Tonga', 'Trinidad und Tobago', 'Tschad', 'Tschechische Republik', 'Tunesien', 'Turkmenistan', 'Turks- und Caicosinseln', 'Tuvalu', 'Türkei', - 'Uganda', 'Ukraine', 'Unbekannte oder ungültige Region', 'Ungarn', 'Uruguay', 'Usbekistan', - 'Vanuatu', 'Vatikanstadt', 'Venezuela', 'Vereinigte Arabische Emirate', 'Vereinigte Staaten', 'Vereinigtes Königreich', 'Vietnam', - 'Wallis und Futuna', 'Weihnachtsinsel', 'Westsahara', - 'Zentralafrikanische Republik', 'Zypern', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffixShort}}', - '{{cityName}}{{streetSuffixShort}}', - '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Returns a random city name. - * - * @example Luzern - * - * @return string - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } - - /** - * Returns a random street suffix. - * - * @example str. - * - * @return string - */ - public function streetSuffixShort() - { - return static::randomElement(static::$streetSuffixShort); - } - - /** - * Returns a random street suffix. - * - * @example Strasse - * - * @return string - */ - public function streetSuffixLong() - { - return static::randomElement(static::$streetSuffixLong); - } - - /** - * Returns a canton - * - * @example array('BE' => 'Bern') - * - * @return array - */ - public static function canton() - { - return static::randomElement(static::$canton); - } - - /** - * Returns the abbreviation of a canton. - * - * @return string - */ - public static function cantonShort() - { - $canton = static::canton(); - - return key($canton); - } - - /** - * Returns the name of canton. - * - * @return string - */ - public static function cantonName() - { - $canton = static::canton(); - - return current($canton); - } - - public static function buildingNumber() - { - return static::regexify(self::numerify(static::randomElement(static::$buildingNumber))); - } +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '##[abc]', '#[abc]' ]; + + protected static $streetSuffixLong = [ + 'Gasse', + 'Platz', + 'Ring', + 'Strasse', + 'Weg', + 'Allee', + ]; + protected static $streetSuffixShort = [ + 'gasse', + 'platz', + 'ring', + 'strasse', + 'str.', + 'weg', + 'allee', + ]; + + protected static $postcode = [ '####' ]; + + /** + * @see https://de.wikipedia.org/wiki/Liste_der_St%C3%A4dte_in_der_Schweiz + */ + protected static $cityNames = [ + 'Aarau', + 'Aarberg', + 'Aarburg', + 'Adliswil', + 'Aesch', + 'Affoltern am Albis', + 'Agno', + 'Aigle', + 'Allschwil', + 'Altdorf', + 'Altstätten', + 'Amriswil', + 'Appenzell', + 'Arbon', + 'Arth', + 'Ascona', + 'Aubonne', + 'Avenches', + 'Baar', + 'Bad Zurzach', + 'Baden', + 'Basel', + 'Bassersdorf', + 'Bellinzona', + 'Belp', + 'Bern', + 'Beromünster', + 'Biasca', + 'Biel/Bienne', + 'Binningen', + 'Birsfelden', + 'Bischofszell', + 'Boudry', + 'Bourg-Saint-Pierre', + 'Bremgarten', + 'Brig-Glis', + 'Brig', + 'Brugg', + 'Buchs', + 'Bulle', + 'Burgdorf', + 'Bülach', + 'Carouge', + 'Cham', + 'Chur', + 'Châtel-Saint-Denis', + 'Chêne-Bougeries', + 'Conthey', + 'Coppet', + 'Cossonay', + 'Croglio', + 'Cudrefin', + 'Cully', + 'Davos', + 'Delsberg', + 'Diessenhofen', + 'Dietikon', + 'Dübendorf', + 'Ebikon', + 'Echallens', + 'Ecublens', + 'Eglisau', + 'Einsiedeln', + 'Elgg', + 'Emmen', + 'Erlach', + 'Estavayer-le-Lac', + 'Flawil', + 'Frauenfeld', + 'Freiburg', + 'Freienbach', + 'Fürstenau', + 'Genf', + 'Gland', + 'Glarus', + 'Gordola', + 'Gossau', + 'Grandcour', + 'Grandson', + 'Greifensee', + 'Grenchen', + 'Greyerz', + 'Grüningen', + 'Herisau', + 'Hermance', + 'Hinwil', + 'Horgen', + 'Horw', + 'Huttwil', + 'Ilanz', + 'Illnau-Effretikon', + 'Ittigen', + 'Kaiserstuhl', + 'Klingnau', + 'Kloten', + 'Kreuzlingen', + 'Kriens', + 'Köniz', + 'Küsnacht', + 'La Chaux-de-Fonds', + 'La Neuveville', + 'La Sarraz', + 'La Tour-de-Peilz', + 'La Tour-de-Trême', + 'Lachen', + 'Lancy', + 'Langenthal', + 'Laufen', + 'Laufenburg', + 'Laupen', + 'Lausanne', + 'Le Grand-Saconnex', + 'Le Landeron', + 'Le Locle', + 'Lenzburg', + 'Les Clées', + 'Leuk', + 'Lichtensteig', + 'Liestal', + 'Locarno', + 'Losone', + 'Lugano', + 'Lutry', + 'Luzern', + 'Lyss', + 'Maienfeld', + 'Martigny', + 'Meilen', + 'Mellingen', + 'Mendrisio', + 'Meyrin', + 'Monthey', + 'Montreux', + 'Morcote', + 'Morges', + 'Moudon', + 'Moutier', + 'Muri bei Bern', + 'Murten', + 'Muttenz', + 'Männedorf', + 'Möhlin', + 'Münchenstein', + 'Münsingen', + 'Neuenburg', + 'Neuhausen am Rheinfall', + 'Neunkirch', + 'Nidau', + 'Nyon', + 'Oberwil', + 'Oftringen', + 'Olten', + 'Onex', + 'Opfikon', + 'Orbe', + 'Orsières', + 'Ostermundigen', + 'Payerne', + 'Pfäffikon', + 'Plan-les-Ouates', + 'Pratteln', + 'Prilly', + 'Pruntrut', + 'Pully', + 'Rapperswil-Jona', + 'Regensberg', + 'Regensdorf', + 'Reinach', + 'Renens', + 'Rheinau', + 'Rheineck', + 'Rheinfelden', + 'Richterswil', + 'Riehen', + 'Risch', + 'Riva San Vitale', + 'Rolle', + 'Romainmôtier', + 'Romanshorn', + 'Romont', + 'Rorschach', + 'Rue', + 'Rüti', + 'Saillon', + 'Saint-Maurice', + 'Saint-Prex', + 'Saint-Ursanne', + 'Sala', + 'Sargans', + 'Sarnen', + 'Schaffhausen', + 'Schlieren', + 'Schwyz', + 'Sembrancher', + 'Sempach', + 'Siders', + 'Sitten', + 'Solothurn', + 'Spiez', + 'Splügen', + 'Spreitenbach', + 'St. Gallen', + 'Stans', + 'Steckborn', + 'Steffisburg', + 'Stein am Rhein', + 'Stäfa', + 'Sursee', + 'Thalwil', + 'Thun', + 'Thusis', + 'Thônex', + 'Unterseen', + 'Uster', + 'Uznach', + 'Uzwil', + 'Val-de-Travers NE', + 'Valangin', + 'Vernier', + 'Versoix', + 'Vevey', + 'Veyrier GE', + 'Villars-sur-Glâne', + 'Villeneuve', + 'Visp', + 'Volketswil', + 'Waldenburg', + 'Walenstadt', + 'Wallisellen', + 'Wangen an der Aare', + 'Weinfelden', + 'Werdenberg', + 'Wettingen', + 'Wetzikon', + 'Wiedlisbach', + 'Willisau', + 'Wil', + 'Winterthur', + 'Wohlen', + 'Worb', + 'Wädenswil', + 'Yverdon-les-Bains', + 'Zofingen', + 'Zollikon', + 'Zug', + 'Zürich', + ]; + + /** + * @see https://de.wikipedia.org/wiki/Kanton_(Schweiz) + */ + protected static $canton = [ + [ 'AG' => 'Aargau' ], + [ 'AI' => 'Appenzell Innerrhoden' ], + [ 'AR' => 'Appenzell Ausserrhoden' ], + [ 'BE' => 'Bern' ], + [ 'BL' => 'Basel-Landschaft' ], + [ 'BS' => 'Basel-Stadt' ], + [ 'FR' => 'Freiburg' ], + [ 'GE' => 'Genf' ], + [ 'GL' => 'Glarus' ], + [ 'GR' => 'Graubünden' ], + [ 'JU' => 'Jura' ], + [ 'LU' => 'Luzern' ], + [ 'NE' => 'Neuenburg' ], + [ 'NW' => 'Nidwalden' ], + [ 'OW' => 'Obwalden' ], + [ 'SG' => 'St. Gallen' ], + [ 'SH' => 'Schaffhausen' ], + [ 'SO' => 'Solothurn' ], + [ 'SZ' => 'Schwyz' ], + [ 'TG' => 'Thurgau' ], + [ 'TI' => 'Tessin' ], + [ 'UR' => 'Uri' ], + [ 'VD' => 'Waadt' ], + [ 'VS' => 'Wallis' ], + [ 'ZG' => 'Zug' ], + [ 'ZH' => 'Zürich' ], + ]; + + protected static $country = [ + 'Afghanistan', + 'Alandinseln', + 'Albanien', + 'Algerien', + 'Amerikanisch-Ozeanien', + 'Amerikanisch-Samoa', + 'Amerikanische Jungferninseln', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarktis', + 'Antigua und Barbuda', + 'Argentinien', + 'Armenien', + 'Aruba', + 'Aserbaidschan', + 'Australien', + 'Ägypten', + 'Äquatorialguinea', + 'Äthiopien', + 'Äusseres Ozeanien', + 'Bahamas', + 'Bahrain', + 'Bangladesch', + 'Barbados', + 'Belarus', + 'Belgien', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivien', + 'Bosnien und Herzegowina', + 'Botsuana', + 'Bouvetinsel', + 'Brasilien', + 'Britische Jungferninseln', + 'Britisches Territorium im Indischen Ozean', + 'Brunei Darussalam', + 'Bulgarien', + 'Burkina Faso', + 'Burundi', + 'Chile', + 'China', + 'Cookinseln', + 'Costa Rica', + 'Côte d’Ivoire', + 'Demokratische Republik Kongo', + 'Demokratische Volksrepublik Korea', + 'Deutschland', + 'Dominica', + 'Dominikanische Republik', + 'Dschibuti', + 'Dänemark', + 'Ecuador', + 'El Salvador', + 'Eritrea', + 'Estland', + 'Europäische Union', + 'Falklandinseln', + 'Fidschi', + 'Finnland', + 'Frankreich', + 'Französisch-Guayana', + 'Französisch-Polynesien', + 'Französische Süd- und Antarktisgebiete', + 'Färöer', + 'Gabun', + 'Gambia', + 'Georgien', + 'Ghana', + 'Gibraltar', + 'Grenada', + 'Griechenland', + 'Grönland', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard- und McDonald-Inseln', + 'Honduras', + 'Indien', + 'Indonesien', + 'Irak', + 'Iran', + 'Irland', + 'Island', + 'Isle of Man', + 'Israel', + 'Italien', + 'Jamaika', + 'Japan', + 'Jemen', + 'Jersey', + 'Jordanien', + 'Kaimaninseln', + 'Kambodscha', + 'Kamerun', + 'Kanada', + 'Kap Verde', + 'Kasachstan', + 'Katar', + 'Kenia', + 'Kirgisistan', + 'Kiribati', + 'Kokosinseln', + 'Kolumbien', + 'Komoren', + 'Kongo', + 'Kroatien', + 'Kuba', + 'Kuwait', + 'Laos', + 'Lesotho', + 'Lettland', + 'Libanon', + 'Liberia', + 'Libyen', + 'Liechtenstein', + 'Litauen', + 'Luxemburg', + 'Madagaskar', + 'Malawi', + 'Malaysia', + 'Malediven', + 'Mali', + 'Malta', + 'Marokko', + 'Marshallinseln', + 'Martinique', + 'Mauretanien', + 'Mauritius', + 'Mayotte', + 'Mazedonien', + 'Mexiko', + 'Mikronesien', + 'Monaco', + 'Mongolei', + 'Montenegro', + 'Montserrat', + 'Mosambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Neukaledonien', + 'Neuseeland', + 'Nicaragua', + 'Niederlande', + 'Niederländische Antillen', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolkinsel', + 'Norwegen', + 'Nördliche Marianen', + 'Oman', + 'Osttimor', + 'Österreich', + 'Pakistan', + 'Palau', + 'Palästinensische Gebiete', + 'Panama', + 'Papua-Neuguinea', + 'Paraguay', + 'Peru', + 'Philippinen', + 'Pitcairn', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Republik Korea', + 'Republik Moldau', + 'Ruanda', + 'Rumänien', + 'Russische Föderation', + 'Réunion', + 'Salomonen', + 'Sambia', + 'Samoa', + 'San Marino', + 'Saudi-Arabien', + 'Schweden', + 'Schweiz', + 'Senegal', + 'Serbien', + 'Serbien und Montenegro', + 'Seychellen', + 'Sierra Leone', + 'Simbabwe', + 'Singapur', + 'Slowakei', + 'Slowenien', + 'Somalia', + 'Sonderverwaltungszone Hongkong', + 'Sonderverwaltungszone Macao', + 'Spanien', + 'Sri Lanka', + 'St. Barthélemy', + 'St. Helena', + 'St. Kitts und Nevis', + 'St. Lucia', + 'St. Martin', + 'St. Pierre und Miquelon', + 'St. Vincent und die Grenadinen', + 'Sudan', + 'Suriname', + 'Svalbard und Jan Mayen', + 'Swasiland', + 'Syrien', + 'São Tomé und Príncipe', + 'Südafrika', + 'Südgeorgien und die Südlichen Sandwichinseln', + 'Tadschikistan', + 'Taiwan', + 'Tansania', + 'Thailand', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad und Tobago', + 'Tschad', + 'Tschechische Republik', + 'Tunesien', + 'Turkmenistan', + 'Turks- und Caicosinseln', + 'Tuvalu', + 'Türkei', + 'Uganda', + 'Ukraine', + 'Unbekannte oder ungültige Region', + 'Ungarn', + 'Uruguay', + 'Usbekistan', + 'Vanuatu', + 'Vatikanstadt', + 'Venezuela', + 'Vereinigte Arabische Emirate', + 'Vereinigte Staaten', + 'Vereinigtes Königreich', + 'Vietnam', + 'Wallis und Futuna', + 'Weihnachtsinsel', + 'Westsahara', + 'Zentralafrikanische Republik', + 'Zypern', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffixShort}}', + '{{cityName}}{{streetSuffixShort}}', + '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Returns a random city name. + * + * @return string + * @example Luzern + * + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } + + /** + * Returns a random street suffix. + * + * @return string + * @example str. + * + */ + public function streetSuffixShort() { + return static::randomElement( static::$streetSuffixShort ); + } + + /** + * Returns a random street suffix. + * + * @return string + * @example Strasse + * + */ + public function streetSuffixLong() { + return static::randomElement( static::$streetSuffixLong ); + } + + /** + * Returns a canton + * + * @return array + * @example array('BE' => 'Bern') + * + */ + public static function canton() { + return static::randomElement( static::$canton ); + } + + /** + * Returns the abbreviation of a canton. + * + * @return string + */ + public static function cantonShort() { + $canton = static::canton(); + + return key( $canton ); + } + + /** + * Returns the name of canton. + * + * @return string + */ + public static function cantonName() { + $canton = static::canton(); + + return current( $canton ); + } + + public static function buildingNumber() { + return static::regexify( self::numerify( static::randomElement( static::$buildingNumber ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Company.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Company.php index ead2781..02dd957 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Company.php @@ -2,14 +2,13 @@ namespace Faker\Provider\de_CH; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['AG', 'GmbH']; + protected static $companySuffix = [ 'AG', 'GmbH' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Internet.php index dc574ec..fa6854c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Internet.php @@ -2,16 +2,15 @@ namespace Faker\Provider\de_CH; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = [ - 'gmail.com', - 'hotmail.com', - 'yahoo.com', - 'googlemail.com', - 'gmx.ch', - 'bluewin.ch', - 'swissonline.ch', - ]; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'googlemail.com', + 'gmx.ch', + 'bluewin.ch', + 'swissonline.ch', + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Payment.php index d72b834..2b32c8f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\de_CH; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'CH', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Person.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Person.php index d3ead30..e05b54f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Person.php @@ -2,118 +2,644 @@ namespace Faker\Provider\de_CH; -class Person extends \Faker\Provider\de_DE\Person -{ - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameMale = [ - 'Adrian', 'Alain', 'Albert', 'Alessandro', 'Alex', 'Alexander', 'Alfred', 'Ali', 'Alois', 'Andrea', 'Andreas', 'Andrin', 'André', 'Angelo', 'Anton', 'Antonio', 'Armin', 'Arnold', 'Arthur', - 'Beat', 'Benjamin', 'Bernhard', 'Bruno', - 'Carlo', 'Carlos', 'Christian', 'Christoph', 'Claudio', 'Cyrill', 'Cédric', - 'Damian', 'Daniel', 'Dario', 'David', 'Denis', 'Diego', 'Dieter', 'Dominic', 'Dominik', - 'Eduard', 'Elia', 'Elias', 'Emil', 'Eric', 'Erich', 'Ernst', 'Erwin', 'Eugen', - 'Fabian', 'Fabio', 'Felix', 'Flavio', 'Florian', 'Francesco', 'Frank', 'Franz', 'Friedrich', 'Fritz', - 'Gabriel', 'Georg', 'Gerhard', 'Gian', 'Giovanni', 'Giuseppe', 'Guido', - 'Hans', 'Hans-Peter', 'Hanspeter', 'Heinrich', 'Heinz', 'Herbert', 'Hermann', 'Hugo', - 'Ivan', 'Ivo', - 'Jakob', 'Jan', 'Jean', 'Joel', 'Johann', 'Johannes', 'Jonas', 'Jonathan', 'Josef', 'José', 'Joël', 'Julian', 'Jörg', 'Jürg', 'Jürgen', - 'Karl', 'Kevin', 'Kilian', 'Klaus', 'Konrad', 'Kurt', - 'Lars', 'Leandro', 'Leo', 'Leon', 'Levin', 'Livio', 'Lorenz', 'Loris', 'Louis', 'Luca', 'Luigi', 'Luis', 'Lukas', - 'Manfred', 'Manuel', 'Marc', 'Marcel', 'Marco', 'Mario', 'Mark', 'Marko', 'Markus', 'Martin', 'Mathias', 'Matteo', 'Matthias', 'Mauro', 'Max', 'Mehmet', 'Michael', 'Michel', 'Michele', 'Mike', 'Moritz', - 'Nico', 'Nicola', 'Nicolas', 'Niklaus', 'Nils', 'Noah', 'Norbert', - 'Oliver', 'Olivier', 'Othmar', 'Otto', - 'Pascal', 'Patrick', 'Patrik', 'Paul', 'Peter', 'Philip', 'Philipp', 'Philippe', 'Pius', - 'Rafael', 'Rainer', 'Ralf', 'Ralph', 'Ramon', 'Raphael', 'Remo', 'Renato', 'René', 'Reto', 'Richard', 'Robert', 'Roberto', 'Robin', 'Roger', 'Roland', 'Rolf', 'Roman', 'Rudolf', - 'Salvatore', 'Samuel', 'Sandro', 'Sascha', 'Sebastian', 'Severin', 'Silvan', 'Silvio', 'Simon', 'Stefan', 'Stephan', 'Sven', - 'Theodor', 'Thomas', 'Tim', 'Timo', 'Tobias', - 'Ulrich', 'Urs', - 'Walter', 'Werner', 'Wilhelm', 'Willi', 'Willy', 'Wolfgang', - 'Yannick', 'Yves', - ]; +class Person extends \Faker\Provider\de_DE\Person { + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameMale = [ + 'Adrian', + 'Alain', + 'Albert', + 'Alessandro', + 'Alex', + 'Alexander', + 'Alfred', + 'Ali', + 'Alois', + 'Andrea', + 'Andreas', + 'Andrin', + 'André', + 'Angelo', + 'Anton', + 'Antonio', + 'Armin', + 'Arnold', + 'Arthur', + 'Beat', + 'Benjamin', + 'Bernhard', + 'Bruno', + 'Carlo', + 'Carlos', + 'Christian', + 'Christoph', + 'Claudio', + 'Cyrill', + 'Cédric', + 'Damian', + 'Daniel', + 'Dario', + 'David', + 'Denis', + 'Diego', + 'Dieter', + 'Dominic', + 'Dominik', + 'Eduard', + 'Elia', + 'Elias', + 'Emil', + 'Eric', + 'Erich', + 'Ernst', + 'Erwin', + 'Eugen', + 'Fabian', + 'Fabio', + 'Felix', + 'Flavio', + 'Florian', + 'Francesco', + 'Frank', + 'Franz', + 'Friedrich', + 'Fritz', + 'Gabriel', + 'Georg', + 'Gerhard', + 'Gian', + 'Giovanni', + 'Giuseppe', + 'Guido', + 'Hans', + 'Hans-Peter', + 'Hanspeter', + 'Heinrich', + 'Heinz', + 'Herbert', + 'Hermann', + 'Hugo', + 'Ivan', + 'Ivo', + 'Jakob', + 'Jan', + 'Jean', + 'Joel', + 'Johann', + 'Johannes', + 'Jonas', + 'Jonathan', + 'Josef', + 'José', + 'Joël', + 'Julian', + 'Jörg', + 'Jürg', + 'Jürgen', + 'Karl', + 'Kevin', + 'Kilian', + 'Klaus', + 'Konrad', + 'Kurt', + 'Lars', + 'Leandro', + 'Leo', + 'Leon', + 'Levin', + 'Livio', + 'Lorenz', + 'Loris', + 'Louis', + 'Luca', + 'Luigi', + 'Luis', + 'Lukas', + 'Manfred', + 'Manuel', + 'Marc', + 'Marcel', + 'Marco', + 'Mario', + 'Mark', + 'Marko', + 'Markus', + 'Martin', + 'Mathias', + 'Matteo', + 'Matthias', + 'Mauro', + 'Max', + 'Mehmet', + 'Michael', + 'Michel', + 'Michele', + 'Mike', + 'Moritz', + 'Nico', + 'Nicola', + 'Nicolas', + 'Niklaus', + 'Nils', + 'Noah', + 'Norbert', + 'Oliver', + 'Olivier', + 'Othmar', + 'Otto', + 'Pascal', + 'Patrick', + 'Patrik', + 'Paul', + 'Peter', + 'Philip', + 'Philipp', + 'Philippe', + 'Pius', + 'Rafael', + 'Rainer', + 'Ralf', + 'Ralph', + 'Ramon', + 'Raphael', + 'Remo', + 'Renato', + 'René', + 'Reto', + 'Richard', + 'Robert', + 'Roberto', + 'Robin', + 'Roger', + 'Roland', + 'Rolf', + 'Roman', + 'Rudolf', + 'Salvatore', + 'Samuel', + 'Sandro', + 'Sascha', + 'Sebastian', + 'Severin', + 'Silvan', + 'Silvio', + 'Simon', + 'Stefan', + 'Stephan', + 'Sven', + 'Theodor', + 'Thomas', + 'Tim', + 'Timo', + 'Tobias', + 'Ulrich', + 'Urs', + 'Walter', + 'Werner', + 'Wilhelm', + 'Willi', + 'Willy', + 'Wolfgang', + 'Yannick', + 'Yves', + ]; - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameFemale = [ - 'Adelheid', 'Agnes', 'Alessia', 'Alexandra', 'Alice', 'Alina', 'Aline', 'Ana', 'Andrea', 'Angela', 'Angelika', 'Anita', 'Anja', 'Anna', 'Annemarie', 'Antonia', 'Astrid', - 'Barbara', 'Beatrice', 'Beatrix', 'Bernadette', 'Bertha', 'Bettina', 'Brigitta', 'Brigitte', - 'Carla', 'Carmen', 'Caroline', 'Chantal', 'Charlotte', 'Chiara', 'Christa', 'Christina', 'Christine', 'Claudia', 'Corina', 'Corinne', 'Cornelia', 'Céline', - 'Daniela', 'Deborah', 'Denise', 'Diana', 'Dora', 'Doris', 'Dorothea', - 'Edith', 'Elena', 'Eliane', 'Elisabeth', 'Elsa', 'Elsbeth', 'Emma', 'Erika', 'Erna', 'Esther', 'Eva', 'Eveline', - 'Fabienne', 'Fiona', 'Franziska', 'Frieda', - 'Gabriela', 'Gabriele', 'Gertrud', 'Gisela', - 'Hanna', 'Hedwig', 'Heidi', 'Helena', 'Helene', 'Hildegard', - 'Ida', 'Ingrid', 'Irene', 'Iris', 'Irma', 'Isabel', 'Isabella', 'Isabelle', - 'Jacqueline', 'Jana', 'Janine', 'Jasmin', 'Jeannette', 'Jennifer', 'Jessica', 'Johanna', 'Jolanda', 'Judith', 'Julia', - 'Karin', 'Katharina', 'Kathrin', 'Katja', 'Katrin', 'Klara', - 'Lara', 'Larissa', 'Laura', 'Lea', 'Lena', 'Leonie', 'Lina', 'Linda', 'Lisa', 'Liselotte', 'Livia', 'Lorena', 'Luana', 'Lucia', 'Luzia', 'Lydia', - 'Madeleine', 'Magdalena', 'Maja', 'Manuela', 'Mara', 'Margareta', 'Margaretha', 'Margaritha', 'Margrit', 'Margrith', 'Maria', 'Marianna', 'Marianne', 'Marie', 'Marina', 'Marion', 'Marlise', 'Martha', 'Martina', 'Melanie', 'Mia', 'Michaela', 'Michelle', 'Michèle', 'Milena', 'Miriam', 'Mirjam', 'Monica', 'Monika', - 'Nadia', 'Nadine', 'Nadja', 'Natalie', 'Nathalie', 'Nelly', 'Nicole', 'Nina', 'Noemi', 'Nora', - 'Patricia', 'Patrizia', 'Paula', 'Petra', 'Pia', 'Priska', - 'Rahel', 'Ramona', 'Rebecca', 'Regina', 'Regula', 'Renata', 'Renate', 'Rita', 'Rosa', 'Rosmarie', 'Ruth', - 'Sabine', 'Sabrina', 'Sandra', 'Sara', 'Sarah', 'Selina', 'Seraina', 'Sibylle', 'Silvia', 'Simone', 'Sina', 'Sonja', 'Sophie', 'Stefanie', 'Stephanie', 'Susanna', 'Susanne', 'Sylvia', - 'Tamara', 'Tanja', 'Therese', 'Theresia', - 'Ursula', - 'Valentina', 'Vanessa', 'Vera', 'Verena', 'Veronika', - 'Yvonne', - ]; + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameFemale = [ + 'Adelheid', + 'Agnes', + 'Alessia', + 'Alexandra', + 'Alice', + 'Alina', + 'Aline', + 'Ana', + 'Andrea', + 'Angela', + 'Angelika', + 'Anita', + 'Anja', + 'Anna', + 'Annemarie', + 'Antonia', + 'Astrid', + 'Barbara', + 'Beatrice', + 'Beatrix', + 'Bernadette', + 'Bertha', + 'Bettina', + 'Brigitta', + 'Brigitte', + 'Carla', + 'Carmen', + 'Caroline', + 'Chantal', + 'Charlotte', + 'Chiara', + 'Christa', + 'Christina', + 'Christine', + 'Claudia', + 'Corina', + 'Corinne', + 'Cornelia', + 'Céline', + 'Daniela', + 'Deborah', + 'Denise', + 'Diana', + 'Dora', + 'Doris', + 'Dorothea', + 'Edith', + 'Elena', + 'Eliane', + 'Elisabeth', + 'Elsa', + 'Elsbeth', + 'Emma', + 'Erika', + 'Erna', + 'Esther', + 'Eva', + 'Eveline', + 'Fabienne', + 'Fiona', + 'Franziska', + 'Frieda', + 'Gabriela', + 'Gabriele', + 'Gertrud', + 'Gisela', + 'Hanna', + 'Hedwig', + 'Heidi', + 'Helena', + 'Helene', + 'Hildegard', + 'Ida', + 'Ingrid', + 'Irene', + 'Iris', + 'Irma', + 'Isabel', + 'Isabella', + 'Isabelle', + 'Jacqueline', + 'Jana', + 'Janine', + 'Jasmin', + 'Jeannette', + 'Jennifer', + 'Jessica', + 'Johanna', + 'Jolanda', + 'Judith', + 'Julia', + 'Karin', + 'Katharina', + 'Kathrin', + 'Katja', + 'Katrin', + 'Klara', + 'Lara', + 'Larissa', + 'Laura', + 'Lea', + 'Lena', + 'Leonie', + 'Lina', + 'Linda', + 'Lisa', + 'Liselotte', + 'Livia', + 'Lorena', + 'Luana', + 'Lucia', + 'Luzia', + 'Lydia', + 'Madeleine', + 'Magdalena', + 'Maja', + 'Manuela', + 'Mara', + 'Margareta', + 'Margaretha', + 'Margaritha', + 'Margrit', + 'Margrith', + 'Maria', + 'Marianna', + 'Marianne', + 'Marie', + 'Marina', + 'Marion', + 'Marlise', + 'Martha', + 'Martina', + 'Melanie', + 'Mia', + 'Michaela', + 'Michelle', + 'Michèle', + 'Milena', + 'Miriam', + 'Mirjam', + 'Monica', + 'Monika', + 'Nadia', + 'Nadine', + 'Nadja', + 'Natalie', + 'Nathalie', + 'Nelly', + 'Nicole', + 'Nina', + 'Noemi', + 'Nora', + 'Patricia', + 'Patrizia', + 'Paula', + 'Petra', + 'Pia', + 'Priska', + 'Rahel', + 'Ramona', + 'Rebecca', + 'Regina', + 'Regula', + 'Renata', + 'Renate', + 'Rita', + 'Rosa', + 'Rosmarie', + 'Ruth', + 'Sabine', + 'Sabrina', + 'Sandra', + 'Sara', + 'Sarah', + 'Selina', + 'Seraina', + 'Sibylle', + 'Silvia', + 'Simone', + 'Sina', + 'Sonja', + 'Sophie', + 'Stefanie', + 'Stephanie', + 'Susanna', + 'Susanne', + 'Sylvia', + 'Tamara', + 'Tanja', + 'Therese', + 'Theresia', + 'Ursula', + 'Valentina', + 'Vanessa', + 'Vera', + 'Verena', + 'Veronika', + 'Yvonne', + ]; - /** - * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 - */ - protected static $lastName = [ - 'Achermann', 'Ackermann', 'Aeschlimann', 'Ammann', 'Arnold', - 'Bachmann', 'Baumann', 'Baumgartner', 'Beck', 'Benz', 'Berger', 'Betschart', 'Bieri', 'Bischof', 'Blaser', 'Blum', 'Bolliger', 'Bosshard', 'Brunner', 'Bucher', 'Burri', 'Bärtschi', 'Bösch', 'Bühler', 'Bühlmann', 'Bürgi', 'Bürki', - 'Christen', - 'Eberle', 'Egger', 'Egli', 'Eichenberger', 'Erni', 'Eugster', - 'Fankhauser', 'Fehr', 'Fischer', 'Flury', 'Flückiger', 'Frei', 'Frey', 'Friedli', 'Frischknecht', 'Fuchs', 'Furrer', 'Fässler', - 'Gasser', 'Gerber', 'Giger', 'Gisler', 'Gloor', 'Graber', 'Graf', 'Grob', 'Gut', - 'Haas', 'Haller', 'Hartmann', 'Hasler', 'Hauser', 'Heiniger', 'Herzog', 'Hess', 'Hofer', 'Hofmann', 'Hofstetter', 'Hostettler', 'Huber', 'Hug', 'Hunziker', 'Häfliger', 'Hänni', 'Hürlimann', - 'Imhof', 'Iten', - 'Jenni', 'Jost', 'Jäggi', - 'Kaiser', 'Kaufmann', 'Keller', 'Kessler', 'Knecht', 'Koch', 'Kohler', 'Koller', 'Krebs', 'Kuhn', 'Kunz', 'Kuster', 'Kälin', 'Käser', 'Küng', - 'Lang', 'Lanz', 'Lehmann', 'Leuenberger', 'Liechti', 'Locher', 'Lutz', 'Lüscher', 'Lüthi', - 'Marti', 'Marty', 'Mathis', 'Mathys', 'Maurer', 'Meier', 'Meister', 'Merz', 'Mettler', 'Meyer', 'Michel', 'Moser', 'Mäder', 'Müller', - 'Niederberger', 'Nussbaumer', 'Näf', - 'Odermatt', 'Ott', - 'Peter', 'Pfister', 'Portmann', 'Probst', - 'Reber', 'Rohner', 'Rohrer', 'Roth', 'Röthlisberger', 'Rüegg', - 'Schaub', 'Scheidegger', 'Schenk', 'Scherrer', 'Schmid', 'Schmidt', 'Schneider', 'Schnyder', 'Schuler', 'Schumacher', 'Schwab', 'Schwarz', 'Schweizer', 'Schär', 'Schärer', 'Schüpbach', 'Schütz', 'Seiler', 'Senn', 'Sieber', 'Siegenthaler', 'Siegrist', 'Sigrist', 'Sommer', 'Stadelmann', 'Stalder', 'Staub', 'Steffen', 'Steiger', 'Steiner', 'Steinmann', 'Stettler', 'Stocker', 'Stucki', 'Studer', 'Stutz', 'Stöckli', 'Suter', 'Sutter', - 'Tanner', 'Tobler', 'Trachsel', - 'Ulrich', - 'Vogel', 'Vogt', - 'Wagner', 'Walker', 'Walser', 'Weber', 'Wehrli', 'Weibel', 'Weiss', 'Wenger', 'Wicki', 'Widmer', 'Willi', 'Wirth', 'Wirz', 'Wittwer', 'Wolf', 'Wyss', 'Wüthrich', - 'Zaugg', 'Zbinden', 'Zehnder', 'Ziegler', 'Zimmermann', 'Zwahlen', 'Zürcher', - ]; + /** + * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 + */ + protected static $lastName = [ + 'Achermann', + 'Ackermann', + 'Aeschlimann', + 'Ammann', + 'Arnold', + 'Bachmann', + 'Baumann', + 'Baumgartner', + 'Beck', + 'Benz', + 'Berger', + 'Betschart', + 'Bieri', + 'Bischof', + 'Blaser', + 'Blum', + 'Bolliger', + 'Bosshard', + 'Brunner', + 'Bucher', + 'Burri', + 'Bärtschi', + 'Bösch', + 'Bühler', + 'Bühlmann', + 'Bürgi', + 'Bürki', + 'Christen', + 'Eberle', + 'Egger', + 'Egli', + 'Eichenberger', + 'Erni', + 'Eugster', + 'Fankhauser', + 'Fehr', + 'Fischer', + 'Flury', + 'Flückiger', + 'Frei', + 'Frey', + 'Friedli', + 'Frischknecht', + 'Fuchs', + 'Furrer', + 'Fässler', + 'Gasser', + 'Gerber', + 'Giger', + 'Gisler', + 'Gloor', + 'Graber', + 'Graf', + 'Grob', + 'Gut', + 'Haas', + 'Haller', + 'Hartmann', + 'Hasler', + 'Hauser', + 'Heiniger', + 'Herzog', + 'Hess', + 'Hofer', + 'Hofmann', + 'Hofstetter', + 'Hostettler', + 'Huber', + 'Hug', + 'Hunziker', + 'Häfliger', + 'Hänni', + 'Hürlimann', + 'Imhof', + 'Iten', + 'Jenni', + 'Jost', + 'Jäggi', + 'Kaiser', + 'Kaufmann', + 'Keller', + 'Kessler', + 'Knecht', + 'Koch', + 'Kohler', + 'Koller', + 'Krebs', + 'Kuhn', + 'Kunz', + 'Kuster', + 'Kälin', + 'Käser', + 'Küng', + 'Lang', + 'Lanz', + 'Lehmann', + 'Leuenberger', + 'Liechti', + 'Locher', + 'Lutz', + 'Lüscher', + 'Lüthi', + 'Marti', + 'Marty', + 'Mathis', + 'Mathys', + 'Maurer', + 'Meier', + 'Meister', + 'Merz', + 'Mettler', + 'Meyer', + 'Michel', + 'Moser', + 'Mäder', + 'Müller', + 'Niederberger', + 'Nussbaumer', + 'Näf', + 'Odermatt', + 'Ott', + 'Peter', + 'Pfister', + 'Portmann', + 'Probst', + 'Reber', + 'Rohner', + 'Rohrer', + 'Roth', + 'Röthlisberger', + 'Rüegg', + 'Schaub', + 'Scheidegger', + 'Schenk', + 'Scherrer', + 'Schmid', + 'Schmidt', + 'Schneider', + 'Schnyder', + 'Schuler', + 'Schumacher', + 'Schwab', + 'Schwarz', + 'Schweizer', + 'Schär', + 'Schärer', + 'Schüpbach', + 'Schütz', + 'Seiler', + 'Senn', + 'Sieber', + 'Siegenthaler', + 'Siegrist', + 'Sigrist', + 'Sommer', + 'Stadelmann', + 'Stalder', + 'Staub', + 'Steffen', + 'Steiger', + 'Steiner', + 'Steinmann', + 'Stettler', + 'Stocker', + 'Stucki', + 'Studer', + 'Stutz', + 'Stöckli', + 'Suter', + 'Sutter', + 'Tanner', + 'Tobler', + 'Trachsel', + 'Ulrich', + 'Vogel', + 'Vogt', + 'Wagner', + 'Walker', + 'Walser', + 'Weber', + 'Wehrli', + 'Weibel', + 'Weiss', + 'Wenger', + 'Wicki', + 'Widmer', + 'Willi', + 'Wirth', + 'Wirz', + 'Wittwer', + 'Wolf', + 'Wyss', + 'Wüthrich', + 'Zaugg', + 'Zbinden', + 'Zehnder', + 'Ziegler', + 'Zimmermann', + 'Zwahlen', + 'Zürcher', + ]; - /** - * Generates a valid random AVS13 (swiss social security) number - * - * This function acts as a localized alias for the function defined in the - * fr_CH provider. In the german-speaking part of Switzerland, the AVS13 - * number is generally known as AHV13. - * - * @see \Faker\Provider\fr_CH\Person::avs13() - * - * @return string - */ - public static function ahv13() - { - return \Faker\Provider\fr_CH\Person::avs13(); - } + /** + * Generates a valid random AVS13 (swiss social security) number + * + * This function acts as a localized alias for the function defined in the + * fr_CH provider. In the german-speaking part of Switzerland, the AVS13 + * number is generally known as AHV13. + * + * @return string + * @see \Faker\Provider\fr_CH\Person::avs13() + * + */ + public static function ahv13() { + return \Faker\Provider\fr_CH\Person::avs13(); + } - /** - * Generates a valid random AVS13 (swiss social security) number - * - * This function acts as an alias for the function defined in the fr_CH provider. - * - * @see \Faker\Provider\fr_CH\Person::avs13() - * - * @return string - */ - public static function avs13() - { - return \Faker\Provider\fr_CH\Person::avs13(); - } + /** + * Generates a valid random AVS13 (swiss social security) number + * + * This function acts as an alias for the function defined in the fr_CH provider. + * + * @return string + * @see \Faker\Provider\fr_CH\Person::avs13() + * + */ + public static function avs13() { + return \Faker\Provider\fr_CH\Person::avs13(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/PhoneNumber.php index 3e30330..fca23a7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/PhoneNumber.php @@ -2,46 +2,44 @@ namespace Faker\Provider\de_CH; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+41 (0)## ### ## ##', - '+41(0)#########', - '+41 ## ### ## ##', - '0#########', - '0## ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+41 (0)## ### ## ##', + '+41(0)#########', + '+41 ## ### ## ##', + '0#########', + '0## ### ## ##', + ]; - /** - * An array of Swiss mobile (cell) phone number formats. - * - * @var array - */ - protected static $mobileFormats = [ - // Local - '075 ### ## ##', - '075#######', - '076 ### ## ##', - '076#######', - '077 ### ## ##', - '077#######', - '078 ### ## ##', - '078#######', - '079 ### ## ##', - '079#######', - ]; + /** + * An array of Swiss mobile (cell) phone number formats. + * + * @var array + */ + protected static $mobileFormats = [ + // Local + '075 ### ## ##', + '075#######', + '076 ### ## ##', + '076#######', + '077 ### ## ##', + '077#######', + '078 ### ## ##', + '078#######', + '079 ### ## ##', + '079#######', + ]; - protected static $e164Formats = [ - '+41##########', - ]; + protected static $e164Formats = [ + '+41##########', + ]; - /** - * Return a Swiss mobile phone number. - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a Swiss mobile phone number. + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Text.php b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Text.php index 28230f2..4e69dd5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_CH/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_CH/Text.php @@ -2,37 +2,36 @@ namespace Faker\Provider\de_CH; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by - * Johann Wolfgang von Goethe - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org - * - * Title: Die Leiden des jungen Werther--Buch 1 - * - * Author: Johann Wolfgang von Goethe - * - * Posting Date: June 28, 2011 [EBook #2407] - * Release Date: November, 2000 - * - * Language: German - * - * *** START OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** - * - * Produced by Michael Pullen, globaltraveler5565@yahoo.com - * with proofreading and correction by Dr. Mary Cicora, - * mcicora@yahoo.com. - * - * @see http://www.gutenberg.org/cache/epub/2407/pg2407.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by + * Johann Wolfgang von Goethe + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org + * + * Title: Die Leiden des jungen Werther--Buch 1 + * + * Author: Johann Wolfgang von Goethe + * + * Posting Date: June 28, 2011 [EBook #2407] + * Release Date: November, 2000 + * + * Language: German + * + * *** START OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** + * + * Produced by Michael Pullen, globaltraveler5565@yahoo.com + * with proofreading and correction by Dr. Mary Cicora, + * mcicora@yahoo.com. + * + * @see http://www.gutenberg.org/cache/epub/2407/pg2407.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' Am 4. Mai 1771 Wie froh bin ich, dass ich weg bin! Bester Freund, was ist das Herz des @@ -1677,362 +1676,362 @@ class Text extends \Faker\Provider\Text nach der Gartentür schimmern, ich streckte meine Arme aus, und es verschwand. EOT; - /* - End of the Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by - Johann Wolfgang von Goethe - - *** END OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** - - ***** This file should be named 2407-8.txt or 2407-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/2/4/0/2407/ - - Produced by Michael Pullen, globaltraveler5565@yahoo.com - with proofreading and correction by Dr. Mary Cicora, - mcicora@yahoo.com. - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.org/license). - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.org - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.org), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, are critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including checks, online payments and credit card donations. - To donate, please visit: http://pglaf.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.org - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of the Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by + Johann Wolfgang von Goethe + + *** END OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** + + ***** This file should be named 2407-8.txt or 2407-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/2/4/0/2407/ + + Produced by Michael Pullen, globaltraveler5565@yahoo.com + with proofreading and correction by Dr. Mary Cicora, + mcicora@yahoo.com. + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.org/license). + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.org + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.org), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, are critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including checks, online payments and credit card donations. + To donate, please visit: http://pglaf.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.org + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Address.php index d8dc5b4..04869b7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Address.php @@ -2,125 +2,1036 @@ namespace Faker\Provider\de_DE; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '%/%', '%#[abc]', '%[abc]']; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '%/%', '%#[abc]', '%[abc]' ]; - protected static $streetSuffixLong = [ - 'Gasse', 'Platz', 'Ring', 'Straße', 'Weg', 'Allee', - ]; - protected static $streetSuffixShort = [ - 'gasse', 'platz', 'ring', 'straße', 'str.', 'weg', 'allee', - ]; + protected static $streetSuffixLong = [ + 'Gasse', + 'Platz', + 'Ring', + 'Straße', + 'Weg', + 'Allee', + ]; + protected static $streetSuffixShort = [ + 'gasse', + 'platz', + 'ring', + 'straße', + 'str.', + 'weg', + 'allee', + ]; - protected static $postcode = ['#####']; + protected static $postcode = [ '#####' ]; - /** - * @var array - * - * @see https://de.wikipedia.org/wiki/Liste_der_Gro%C3%9F-_und_Mittelst%C3%A4dte_in_Deutschland - */ - protected static $cityNames = [ - 'Aachen', 'Aalen', 'Achern', 'Achim', 'Ahaus', 'Ahlen', 'Ahrensburg', 'Aichach', 'Albstadt', 'Alfter', 'Alsdorf', 'Altenburg', 'Amberg', 'Andernach', 'Annaberg-Buchholz', 'Ansbach', 'Apolda', 'Arnsberg', 'Arnstadt', 'Aschaffenburg', 'Aschersleben', 'Attendorn', 'Augsburg', 'Aurich', - 'Backnang', 'Bad Harzburg', 'Bad Hersfeld', 'Bad Homburg vor der Höhe', 'Bad Honnef', 'Bad Kissingen', 'Bad Kreuznach', 'Bad Mergentheim', 'Bad Nauheim', 'Bad Neuenahr-Ahrweiler', 'Bad Oeynhausen', 'Bad Oldesloe', 'Bad Rappenau', 'Bad Salzuflen', 'Bad Soden am Taunus', 'Bad Vilbel', 'Bad Waldsee', 'Bad Zwischenahn', 'Baden-Baden', 'Baesweiler', 'Balingen', 'Bamberg', 'Barsinghausen', 'Baunatal', 'Bautzen', 'Bayreuth', 'Beckum', 'Bedburg', 'Bensheim', 'Bergheim', 'Bergisch Gladbach', 'Bergkamen', 'Berlin', 'Bernau bei Berlin', 'Bernburg (Saale)', 'Biberach an der Riß', 'Bielefeld', 'Bietigheim-Bissingen', 'Bingen am Rhein', 'Bitterfeld-Wolfen', 'Blankenburg (Harz)', 'Blankenfelde-Mahlow', 'Blieskastel', 'Böblingen', 'Bocholt', 'Bochum', 'Bonn', 'Borken', 'Bornheim', 'Bottrop', 'Bramsche', 'Brandenburg an der Havel', 'Braunschweig', 'Bremen', 'Bremerhaven', 'Bretten', 'Brilon', 'Bruchköbel', 'Bruchsal', 'Brühl', 'Buchholz in der Nordheide', 'Büdingen', 'Bühl', 'Bünde', 'Büren', 'Burg', 'Burgdorf', 'Burgwedel', 'Butzbach', 'Buxtehude', - 'Calw', 'Castrop-Rauxel', 'Celle', - 'Chemnitz', 'Cloppenburg', 'Coburg', 'Coesfeld', 'Coswig', 'Cottbus', 'Crailsheim', 'Cuxhaven', - 'Dachau', 'Darmstadt', 'Datteln', 'Deggendorf', 'Delbrück', 'Delitzsch', 'Delmenhorst', 'Dessau-Roßlau', 'Detmold', 'Dietzenbach', 'Dillenburg', 'Dillingen/Saar', 'Dinslaken', 'Ditzingen', 'Döbeln', 'Donaueschingen', 'Dormagen', 'Dorsten', 'Dortmund', 'Dreieich', 'Dresden', 'Duderstadt', 'Duisburg', 'Dülmen', 'Düren', 'Düsseldorf', - 'Eberswalde', 'Eckernförde', 'Edewecht', 'Ehingen', 'Einbeck', 'Eisenach', 'Eisenhüttenstadt', 'Lutherstadt Eisleben', 'Eislingen/Fils', 'Ellwangen (Jagst)', 'Elmshorn', 'Elsdorf', 'Emden', 'Emmendingen', 'Emmerich am Rhein', 'Emsdetten', 'Enger', 'Ennepetal', 'Ennigerloh', 'Eppingen', 'Erding', 'Erftstadt', 'Erfurt', 'Erkelenz', 'Erkrath', 'Erlangen', 'Eschborn', 'Eschweiler', 'Espelkamp', 'Essen', 'Esslingen am Neckar', 'Ettlingen', 'Euskirchen', - 'Falkensee', 'Fellbach', 'Filderstadt', 'Flensburg', 'Flörsheim am Main', 'Forchheim', 'Frankenthal (Pfalz)', 'Frankfurt (Oder)', 'Frankfurt am Main', 'Frechen', 'Freiberg', 'Freiburg im Breisgau', 'Freising', 'Freital', 'Freudenstadt', 'Friedberg', 'Friedberg (Hessen)', 'Friedrichsdorf', 'Friedrichshafen', 'Friesoythe', 'Fröndenberg/Ruhr', 'Fulda', 'Fürstenfeldbruck', 'Fürstenwalde/Spree', 'Fürth', - 'Gaggenau', 'Ganderkesee', 'Garbsen', 'Gardelegen', 'Garmisch-Partenkirchen', 'Gauting', 'Geesthacht', 'Geestland', 'Geilenkirchen', 'Geislingen an der Steige', 'Geldern', 'Gelnhausen', 'Gelsenkirchen', 'Georgsmarienhütte', 'Gera', 'Geretsried', 'Germering', 'Germersheim', 'Gersthofen', 'Geseke', 'Gevelsberg', 'Gießen', 'Gifhorn', 'Gladbeck', 'Glauchau', 'Goch', 'Göppingen', 'Görlitz', 'Goslar', 'Gotha', 'Göttingen', 'Greifswald', 'Greiz', 'Greven', 'Grevenbroich', 'Griesheim', 'Grimma', 'Gronau (Westf.)', 'Groß-Gerau', 'Groß-Umstadt', 'Gummersbach', 'Günzburg', 'Güstrow', 'Gütersloh', - 'Haan', 'Haar', 'Hagen', 'Halberstadt', 'Halle (Saale)', 'Halle (Westf.)', 'Haltern am See', 'Hamburg', 'Hameln', 'Hamm', 'Hamminkeln', 'Hanau', 'Hann. Münden', 'Hannover', 'Haren (Ems)', 'Harsewinkel', 'Haßloch', 'Hattersheim am Main', 'Hattingen', 'Heide', 'Heidelberg', 'Heidenheim an der Brenz', 'Heilbronn', 'Heiligenhaus', 'Heinsberg', 'Helmstedt', 'Hemer', 'Hennef (Sieg)', 'Hennigsdorf', 'Henstedt-Ulzburg', 'Heppenheim (Bergstraße)', 'Herborn', 'Herdecke', 'Herford', 'Herne', 'Herrenberg', 'Herten', 'Herzogenaurach', 'Herzogenrath', 'Hilden', 'Hildesheim', 'Hockenheim', 'Hof', 'Hofheim am Taunus', 'Hohen Neuendorf', 'Holzminden', 'Homburg', 'Horb am Neckar', 'Höxter', 'Hoyerswerda', 'Hückelhoven', 'Hürth', 'Husum', - 'Ibbenbüren', 'Idar-Oberstein', 'Idstein', 'Ilmenau', 'Ilsede', 'Ingelheim am Rhein', 'Ingolstadt', 'Iserlohn', 'Isernhagen', 'Itzehoe', - 'Jena', 'Jüchen', 'Jülich', - 'Kaarst', 'Kaiserslautern', 'Kaltenkirchen', 'Kamen', 'Kamp-Lintfort', 'Karben', 'Karlsfeld', 'Karlsruhe', 'Kassel', 'Kaufbeuren', 'Kehl', 'Kelkheim (Taunus)', 'Kempen', 'Kempten (Allgäu)', 'Kerpen', 'Kevelaer', 'Kiel', 'Kirchheim unter Teck', 'Kitzingen', 'Kleinmachnow', 'Kleve', 'Koblenz', 'Köln', 'Königs Wusterhausen', 'Königsbrunn', 'Königswinter', 'Konstanz', 'Korbach', 'Kornwestheim', 'Korschenbroich', 'Köthen (Anhalt)', 'Krefeld', 'Kreuztal', 'Kulmbach', - 'Laatzen', 'Lage', 'Lahr/Schwarzwald', 'Lampertheim', 'Landau in der Pfalz', 'Landsberg am Lech', 'Landshut', 'Langen', 'Langenfeld (Rheinland)', 'Langenhagen', 'Lauf an der Pegnitz', 'Laupheim', 'Leer', 'Lehrte', 'Leichlingen (Rheinland)', 'Leimen', 'Leinfelden-Echterdingen', 'Leipzig', 'Lemgo', 'Lengerich', 'Lennestadt', 'Leonberg', 'Leutkirch im Allgäu', 'Leverkusen', 'Lichtenfels', 'Limbach-Oberfrohna', 'Limburg an der Lahn', 'Lindau (Bodensee)', 'Lindlar', 'Lingen (Ems)', 'Lippstadt', 'Lohmar', 'Löhne', 'Lohne (Oldenburg)', 'Lörrach', 'Lübbecke', 'Lübeck', 'Luckenwalde', 'Lüdenscheid', 'Lüdinghausen', 'Ludwigsburg', 'Ludwigsfelde', 'Ludwigshafen am Rhein', 'Lüneburg', 'Lünen', - 'Magdeburg', 'Maintal', 'Mainz', 'Mannheim', 'Marburg', 'Markkleeberg', 'Marl', 'Mechernich', 'Meckenheim', 'Meerbusch', 'Meinerzhagen', 'Meiningen', 'Meißen', 'Melle', 'Memmingen', 'Menden (Sauerland)', 'Meppen', 'Merseburg', 'Merzig', 'Meschede', 'Mettmann', 'Metzingen', 'Minden', 'Moers', 'Mönchengladbach', 'Monheim am Rhein', 'Moormerland', 'Mörfelden-Walldorf', 'Mosbach', 'Mühlacker', 'Mühlhausen/Thüringen', 'Mühlheim am Main', 'Mülheim an der Ruhr', 'München', 'Münster', - 'Nagold', 'Naumburg (Saale)', 'Neckarsulm', 'Netphen', 'Nettetal', 'Neu Wulmstorf', 'Neu-Isenburg', 'Neu-Ulm', 'Neubrandenburg', 'Neuburg an der Donau', 'Neukirchen-Vluyn', 'Neumarkt in der Oberpfalz', 'Neumünster', 'Neunkirchen', 'Neuruppin', 'Neusäß', 'Neuss', 'Neustadt am Rübenberge', 'Neustadt an der Weinstraße', 'Neustrelitz', 'Neuwied', 'Niederkassel', 'Nienburg/Weser', 'Norden', 'Nordenham', 'Norderstedt', 'Nordhausen', 'Nordhorn', 'Northeim', 'Nürnberg', 'Nürtingen', - 'Oberhausen', 'Obertshausen', 'Oberursel (Taunus)', 'Oelde', 'Oer-Erkenschwick', 'Offenbach am Main', 'Offenburg', 'Öhringen', 'Olching', 'Oldenburg', 'Olpe', 'Oranienburg', 'Osnabrück', 'Osterholz-Scharmbeck', 'Osterode am Harz', 'Ostfildern', 'Ottobrunn', 'Overath', - 'Paderborn', 'Panketal', 'Papenburg', 'Passau', 'Peine', 'Petershagen', 'Pfaffenhofen an der Ilm', 'Pforzheim', 'Pfungstadt', 'Pinneberg', 'Pirmasens', 'Pirna', 'Plauen', 'Plettenberg', 'Porta Westfalica', 'Potsdam', 'Puchheim', 'Pulheim', - 'Quedlinburg', 'Quickborn', - 'Radebeul', 'Radevormwald', 'Radolfzell am Bodensee', 'Rastatt', 'Rastede', 'Rathenow', 'Ratingen', 'Ravensburg', 'Recklinghausen', 'Rees', 'Regensburg', 'Reinbek', 'Remscheid', 'Remseck am Neckar', 'Rendsburg', 'Reutlingen', 'Rheda-Wiedenbrück', 'Rheinbach', 'Rheinberg', 'Rheine', 'Rheinfelden (Baden)', 'Rheinstetten', 'Riedstadt', 'Riesa', 'Rietberg', 'Rinteln', 'Rödermark', 'Rodgau', 'Ronnenberg', 'Rosenheim', 'Rösrath', 'Rostock', 'Rotenburg (Wümme)', 'Roth', 'Rottenburg am Neckar', 'Rottweil', 'Rudolstadt', 'Rüsselsheim am Main', - 'Saalfeld/Saale', 'Saarbrücken', 'Saarlouis', 'Salzgitter', 'Salzkotten', 'Salzwedel', 'Sangerhausen', 'Sankt Augustin', 'Sankt Ingbert', 'Schleswig', 'Schloß Holte-Stukenbrock', 'Schmallenberg', 'Schönebeck', 'Schorndorf', 'Schortens', 'Schramberg', 'Schwabach', 'Schwäbisch Gmünd', 'Schwäbisch Hall', 'Schwandorf', 'Schwanewede', 'Schwedt/Oder', 'Schweinfurt', 'Schwelm', 'Schwerin', 'Schwerte', 'Schwetzingen', 'Seelze', 'Seevetal', 'Sehnde', 'Seligenstadt', 'Selm', 'Senden', 'Senden', 'Senftenberg', 'Siegburg', 'Siegen', 'Sindelfingen', 'Singen (Hohentwiel)', 'Sinsheim', 'Soest', 'Solingen', 'Soltau', 'Sondershausen', 'Sonneberg', 'Sonthofen', 'Speyer', 'Spremberg', 'Springe', 'Sprockhövel', 'St. Wendel', 'Stade', 'Stadtallendorf', 'Stadthagen', 'Stadtlohn', 'Starnberg', 'Staßfurt', 'Steinfurt', 'Steinhagen', 'Stendal', 'Stolberg (Rheinland)', 'Stralsund', 'Straubing', 'Strausberg', 'Stuhr', 'Stutensee', 'Stuttgart', 'Suhl', 'Sundern (Sauerland)', 'Syke', - 'Taunusstein', 'Teltow', 'Tönisvorst', 'Torgau', 'Traunreut', 'Trier', 'Troisdorf', 'Tübingen', 'Tuttlingen', - 'Übach-Palenberg', 'Überlingen', - 'Uelzen', 'Uetze', 'Ulm', 'Unna', 'Unterhaching', 'Unterschleißheim', - 'Vaihingen an der Enz', 'Varel', 'Vaterstetten', 'Vechta', 'Velbert', 'Verden (Aller)', 'Verl', 'Versmold', 'Viernheim', 'Viersen', 'Villingen-Schwenningen', 'Voerde (Niederrhein)', 'Völklingen', 'Vreden', - 'Wachtberg', 'Waghäusel', 'Waiblingen', 'Waldkirch', 'Waldkraiburg', 'Waldshut-Tiengen', 'Wallenhorst', 'Walsrode', 'Waltrop', 'Wandlitz', 'Wangen im Allgäu', 'Warburg', 'Waren (Müritz)', 'Warendorf', 'Warstein', 'Wedel', 'Wedemark', 'Wegberg', 'Weiden in der Oberpfalz', 'Weil am Rhein', 'Weilheim in Oberbayern', 'Weimar', 'Weingarten', 'Weinheim', 'Weinstadt', 'Weißenfels', 'Weiterstadt', 'Werdau', 'Werder (Havel)', 'Werl', 'Wermelskirchen', 'Werne', 'Wernigerode', 'Wertheim', 'Wesel', 'Wesseling', 'Westerstede', 'Westoverledingen', 'Wetter (Ruhr)', 'Wetzlar', 'Weyhe', 'Wiehl', 'Wiesbaden', 'Wiesloch', 'Wilhelmshaven', 'Willich', 'Wilnsdorf', 'Winnenden', 'Winsen (Luhe)', 'Wipperfürth', 'Wismar', 'Witten', 'Lutherstadt Wittenberg', 'Wittmund', 'Wolfenbüttel', 'Wolfsburg', 'Worms', 'Wülfrath', 'Wunstorf', 'Wuppertal', 'Würselen', 'Würzburg', - 'Xanten', - 'Zeitz', 'Zerbst/Anhalt', 'Zirndorf', 'Zittau', 'Zülpich', 'Zweibrücken', 'Zwickau', - ]; + /** + * @var array + * + * @see https://de.wikipedia.org/wiki/Liste_der_Gro%C3%9F-_und_Mittelst%C3%A4dte_in_Deutschland + */ + protected static $cityNames = [ + 'Aachen', + 'Aalen', + 'Achern', + 'Achim', + 'Ahaus', + 'Ahlen', + 'Ahrensburg', + 'Aichach', + 'Albstadt', + 'Alfter', + 'Alsdorf', + 'Altenburg', + 'Amberg', + 'Andernach', + 'Annaberg-Buchholz', + 'Ansbach', + 'Apolda', + 'Arnsberg', + 'Arnstadt', + 'Aschaffenburg', + 'Aschersleben', + 'Attendorn', + 'Augsburg', + 'Aurich', + 'Backnang', + 'Bad Harzburg', + 'Bad Hersfeld', + 'Bad Homburg vor der Höhe', + 'Bad Honnef', + 'Bad Kissingen', + 'Bad Kreuznach', + 'Bad Mergentheim', + 'Bad Nauheim', + 'Bad Neuenahr-Ahrweiler', + 'Bad Oeynhausen', + 'Bad Oldesloe', + 'Bad Rappenau', + 'Bad Salzuflen', + 'Bad Soden am Taunus', + 'Bad Vilbel', + 'Bad Waldsee', + 'Bad Zwischenahn', + 'Baden-Baden', + 'Baesweiler', + 'Balingen', + 'Bamberg', + 'Barsinghausen', + 'Baunatal', + 'Bautzen', + 'Bayreuth', + 'Beckum', + 'Bedburg', + 'Bensheim', + 'Bergheim', + 'Bergisch Gladbach', + 'Bergkamen', + 'Berlin', + 'Bernau bei Berlin', + 'Bernburg (Saale)', + 'Biberach an der Riß', + 'Bielefeld', + 'Bietigheim-Bissingen', + 'Bingen am Rhein', + 'Bitterfeld-Wolfen', + 'Blankenburg (Harz)', + 'Blankenfelde-Mahlow', + 'Blieskastel', + 'Böblingen', + 'Bocholt', + 'Bochum', + 'Bonn', + 'Borken', + 'Bornheim', + 'Bottrop', + 'Bramsche', + 'Brandenburg an der Havel', + 'Braunschweig', + 'Bremen', + 'Bremerhaven', + 'Bretten', + 'Brilon', + 'Bruchköbel', + 'Bruchsal', + 'Brühl', + 'Buchholz in der Nordheide', + 'Büdingen', + 'Bühl', + 'Bünde', + 'Büren', + 'Burg', + 'Burgdorf', + 'Burgwedel', + 'Butzbach', + 'Buxtehude', + 'Calw', + 'Castrop-Rauxel', + 'Celle', + 'Chemnitz', + 'Cloppenburg', + 'Coburg', + 'Coesfeld', + 'Coswig', + 'Cottbus', + 'Crailsheim', + 'Cuxhaven', + 'Dachau', + 'Darmstadt', + 'Datteln', + 'Deggendorf', + 'Delbrück', + 'Delitzsch', + 'Delmenhorst', + 'Dessau-Roßlau', + 'Detmold', + 'Dietzenbach', + 'Dillenburg', + 'Dillingen/Saar', + 'Dinslaken', + 'Ditzingen', + 'Döbeln', + 'Donaueschingen', + 'Dormagen', + 'Dorsten', + 'Dortmund', + 'Dreieich', + 'Dresden', + 'Duderstadt', + 'Duisburg', + 'Dülmen', + 'Düren', + 'Düsseldorf', + 'Eberswalde', + 'Eckernförde', + 'Edewecht', + 'Ehingen', + 'Einbeck', + 'Eisenach', + 'Eisenhüttenstadt', + 'Lutherstadt Eisleben', + 'Eislingen/Fils', + 'Ellwangen (Jagst)', + 'Elmshorn', + 'Elsdorf', + 'Emden', + 'Emmendingen', + 'Emmerich am Rhein', + 'Emsdetten', + 'Enger', + 'Ennepetal', + 'Ennigerloh', + 'Eppingen', + 'Erding', + 'Erftstadt', + 'Erfurt', + 'Erkelenz', + 'Erkrath', + 'Erlangen', + 'Eschborn', + 'Eschweiler', + 'Espelkamp', + 'Essen', + 'Esslingen am Neckar', + 'Ettlingen', + 'Euskirchen', + 'Falkensee', + 'Fellbach', + 'Filderstadt', + 'Flensburg', + 'Flörsheim am Main', + 'Forchheim', + 'Frankenthal (Pfalz)', + 'Frankfurt (Oder)', + 'Frankfurt am Main', + 'Frechen', + 'Freiberg', + 'Freiburg im Breisgau', + 'Freising', + 'Freital', + 'Freudenstadt', + 'Friedberg', + 'Friedberg (Hessen)', + 'Friedrichsdorf', + 'Friedrichshafen', + 'Friesoythe', + 'Fröndenberg/Ruhr', + 'Fulda', + 'Fürstenfeldbruck', + 'Fürstenwalde/Spree', + 'Fürth', + 'Gaggenau', + 'Ganderkesee', + 'Garbsen', + 'Gardelegen', + 'Garmisch-Partenkirchen', + 'Gauting', + 'Geesthacht', + 'Geestland', + 'Geilenkirchen', + 'Geislingen an der Steige', + 'Geldern', + 'Gelnhausen', + 'Gelsenkirchen', + 'Georgsmarienhütte', + 'Gera', + 'Geretsried', + 'Germering', + 'Germersheim', + 'Gersthofen', + 'Geseke', + 'Gevelsberg', + 'Gießen', + 'Gifhorn', + 'Gladbeck', + 'Glauchau', + 'Goch', + 'Göppingen', + 'Görlitz', + 'Goslar', + 'Gotha', + 'Göttingen', + 'Greifswald', + 'Greiz', + 'Greven', + 'Grevenbroich', + 'Griesheim', + 'Grimma', + 'Gronau (Westf.)', + 'Groß-Gerau', + 'Groß-Umstadt', + 'Gummersbach', + 'Günzburg', + 'Güstrow', + 'Gütersloh', + 'Haan', + 'Haar', + 'Hagen', + 'Halberstadt', + 'Halle (Saale)', + 'Halle (Westf.)', + 'Haltern am See', + 'Hamburg', + 'Hameln', + 'Hamm', + 'Hamminkeln', + 'Hanau', + 'Hann. Münden', + 'Hannover', + 'Haren (Ems)', + 'Harsewinkel', + 'Haßloch', + 'Hattersheim am Main', + 'Hattingen', + 'Heide', + 'Heidelberg', + 'Heidenheim an der Brenz', + 'Heilbronn', + 'Heiligenhaus', + 'Heinsberg', + 'Helmstedt', + 'Hemer', + 'Hennef (Sieg)', + 'Hennigsdorf', + 'Henstedt-Ulzburg', + 'Heppenheim (Bergstraße)', + 'Herborn', + 'Herdecke', + 'Herford', + 'Herne', + 'Herrenberg', + 'Herten', + 'Herzogenaurach', + 'Herzogenrath', + 'Hilden', + 'Hildesheim', + 'Hockenheim', + 'Hof', + 'Hofheim am Taunus', + 'Hohen Neuendorf', + 'Holzminden', + 'Homburg', + 'Horb am Neckar', + 'Höxter', + 'Hoyerswerda', + 'Hückelhoven', + 'Hürth', + 'Husum', + 'Ibbenbüren', + 'Idar-Oberstein', + 'Idstein', + 'Ilmenau', + 'Ilsede', + 'Ingelheim am Rhein', + 'Ingolstadt', + 'Iserlohn', + 'Isernhagen', + 'Itzehoe', + 'Jena', + 'Jüchen', + 'Jülich', + 'Kaarst', + 'Kaiserslautern', + 'Kaltenkirchen', + 'Kamen', + 'Kamp-Lintfort', + 'Karben', + 'Karlsfeld', + 'Karlsruhe', + 'Kassel', + 'Kaufbeuren', + 'Kehl', + 'Kelkheim (Taunus)', + 'Kempen', + 'Kempten (Allgäu)', + 'Kerpen', + 'Kevelaer', + 'Kiel', + 'Kirchheim unter Teck', + 'Kitzingen', + 'Kleinmachnow', + 'Kleve', + 'Koblenz', + 'Köln', + 'Königs Wusterhausen', + 'Königsbrunn', + 'Königswinter', + 'Konstanz', + 'Korbach', + 'Kornwestheim', + 'Korschenbroich', + 'Köthen (Anhalt)', + 'Krefeld', + 'Kreuztal', + 'Kulmbach', + 'Laatzen', + 'Lage', + 'Lahr/Schwarzwald', + 'Lampertheim', + 'Landau in der Pfalz', + 'Landsberg am Lech', + 'Landshut', + 'Langen', + 'Langenfeld (Rheinland)', + 'Langenhagen', + 'Lauf an der Pegnitz', + 'Laupheim', + 'Leer', + 'Lehrte', + 'Leichlingen (Rheinland)', + 'Leimen', + 'Leinfelden-Echterdingen', + 'Leipzig', + 'Lemgo', + 'Lengerich', + 'Lennestadt', + 'Leonberg', + 'Leutkirch im Allgäu', + 'Leverkusen', + 'Lichtenfels', + 'Limbach-Oberfrohna', + 'Limburg an der Lahn', + 'Lindau (Bodensee)', + 'Lindlar', + 'Lingen (Ems)', + 'Lippstadt', + 'Lohmar', + 'Löhne', + 'Lohne (Oldenburg)', + 'Lörrach', + 'Lübbecke', + 'Lübeck', + 'Luckenwalde', + 'Lüdenscheid', + 'Lüdinghausen', + 'Ludwigsburg', + 'Ludwigsfelde', + 'Ludwigshafen am Rhein', + 'Lüneburg', + 'Lünen', + 'Magdeburg', + 'Maintal', + 'Mainz', + 'Mannheim', + 'Marburg', + 'Markkleeberg', + 'Marl', + 'Mechernich', + 'Meckenheim', + 'Meerbusch', + 'Meinerzhagen', + 'Meiningen', + 'Meißen', + 'Melle', + 'Memmingen', + 'Menden (Sauerland)', + 'Meppen', + 'Merseburg', + 'Merzig', + 'Meschede', + 'Mettmann', + 'Metzingen', + 'Minden', + 'Moers', + 'Mönchengladbach', + 'Monheim am Rhein', + 'Moormerland', + 'Mörfelden-Walldorf', + 'Mosbach', + 'Mühlacker', + 'Mühlhausen/Thüringen', + 'Mühlheim am Main', + 'Mülheim an der Ruhr', + 'München', + 'Münster', + 'Nagold', + 'Naumburg (Saale)', + 'Neckarsulm', + 'Netphen', + 'Nettetal', + 'Neu Wulmstorf', + 'Neu-Isenburg', + 'Neu-Ulm', + 'Neubrandenburg', + 'Neuburg an der Donau', + 'Neukirchen-Vluyn', + 'Neumarkt in der Oberpfalz', + 'Neumünster', + 'Neunkirchen', + 'Neuruppin', + 'Neusäß', + 'Neuss', + 'Neustadt am Rübenberge', + 'Neustadt an der Weinstraße', + 'Neustrelitz', + 'Neuwied', + 'Niederkassel', + 'Nienburg/Weser', + 'Norden', + 'Nordenham', + 'Norderstedt', + 'Nordhausen', + 'Nordhorn', + 'Northeim', + 'Nürnberg', + 'Nürtingen', + 'Oberhausen', + 'Obertshausen', + 'Oberursel (Taunus)', + 'Oelde', + 'Oer-Erkenschwick', + 'Offenbach am Main', + 'Offenburg', + 'Öhringen', + 'Olching', + 'Oldenburg', + 'Olpe', + 'Oranienburg', + 'Osnabrück', + 'Osterholz-Scharmbeck', + 'Osterode am Harz', + 'Ostfildern', + 'Ottobrunn', + 'Overath', + 'Paderborn', + 'Panketal', + 'Papenburg', + 'Passau', + 'Peine', + 'Petershagen', + 'Pfaffenhofen an der Ilm', + 'Pforzheim', + 'Pfungstadt', + 'Pinneberg', + 'Pirmasens', + 'Pirna', + 'Plauen', + 'Plettenberg', + 'Porta Westfalica', + 'Potsdam', + 'Puchheim', + 'Pulheim', + 'Quedlinburg', + 'Quickborn', + 'Radebeul', + 'Radevormwald', + 'Radolfzell am Bodensee', + 'Rastatt', + 'Rastede', + 'Rathenow', + 'Ratingen', + 'Ravensburg', + 'Recklinghausen', + 'Rees', + 'Regensburg', + 'Reinbek', + 'Remscheid', + 'Remseck am Neckar', + 'Rendsburg', + 'Reutlingen', + 'Rheda-Wiedenbrück', + 'Rheinbach', + 'Rheinberg', + 'Rheine', + 'Rheinfelden (Baden)', + 'Rheinstetten', + 'Riedstadt', + 'Riesa', + 'Rietberg', + 'Rinteln', + 'Rödermark', + 'Rodgau', + 'Ronnenberg', + 'Rosenheim', + 'Rösrath', + 'Rostock', + 'Rotenburg (Wümme)', + 'Roth', + 'Rottenburg am Neckar', + 'Rottweil', + 'Rudolstadt', + 'Rüsselsheim am Main', + 'Saalfeld/Saale', + 'Saarbrücken', + 'Saarlouis', + 'Salzgitter', + 'Salzkotten', + 'Salzwedel', + 'Sangerhausen', + 'Sankt Augustin', + 'Sankt Ingbert', + 'Schleswig', + 'Schloß Holte-Stukenbrock', + 'Schmallenberg', + 'Schönebeck', + 'Schorndorf', + 'Schortens', + 'Schramberg', + 'Schwabach', + 'Schwäbisch Gmünd', + 'Schwäbisch Hall', + 'Schwandorf', + 'Schwanewede', + 'Schwedt/Oder', + 'Schweinfurt', + 'Schwelm', + 'Schwerin', + 'Schwerte', + 'Schwetzingen', + 'Seelze', + 'Seevetal', + 'Sehnde', + 'Seligenstadt', + 'Selm', + 'Senden', + 'Senden', + 'Senftenberg', + 'Siegburg', + 'Siegen', + 'Sindelfingen', + 'Singen (Hohentwiel)', + 'Sinsheim', + 'Soest', + 'Solingen', + 'Soltau', + 'Sondershausen', + 'Sonneberg', + 'Sonthofen', + 'Speyer', + 'Spremberg', + 'Springe', + 'Sprockhövel', + 'St. Wendel', + 'Stade', + 'Stadtallendorf', + 'Stadthagen', + 'Stadtlohn', + 'Starnberg', + 'Staßfurt', + 'Steinfurt', + 'Steinhagen', + 'Stendal', + 'Stolberg (Rheinland)', + 'Stralsund', + 'Straubing', + 'Strausberg', + 'Stuhr', + 'Stutensee', + 'Stuttgart', + 'Suhl', + 'Sundern (Sauerland)', + 'Syke', + 'Taunusstein', + 'Teltow', + 'Tönisvorst', + 'Torgau', + 'Traunreut', + 'Trier', + 'Troisdorf', + 'Tübingen', + 'Tuttlingen', + 'Übach-Palenberg', + 'Überlingen', + 'Uelzen', + 'Uetze', + 'Ulm', + 'Unna', + 'Unterhaching', + 'Unterschleißheim', + 'Vaihingen an der Enz', + 'Varel', + 'Vaterstetten', + 'Vechta', + 'Velbert', + 'Verden (Aller)', + 'Verl', + 'Versmold', + 'Viernheim', + 'Viersen', + 'Villingen-Schwenningen', + 'Voerde (Niederrhein)', + 'Völklingen', + 'Vreden', + 'Wachtberg', + 'Waghäusel', + 'Waiblingen', + 'Waldkirch', + 'Waldkraiburg', + 'Waldshut-Tiengen', + 'Wallenhorst', + 'Walsrode', + 'Waltrop', + 'Wandlitz', + 'Wangen im Allgäu', + 'Warburg', + 'Waren (Müritz)', + 'Warendorf', + 'Warstein', + 'Wedel', + 'Wedemark', + 'Wegberg', + 'Weiden in der Oberpfalz', + 'Weil am Rhein', + 'Weilheim in Oberbayern', + 'Weimar', + 'Weingarten', + 'Weinheim', + 'Weinstadt', + 'Weißenfels', + 'Weiterstadt', + 'Werdau', + 'Werder (Havel)', + 'Werl', + 'Wermelskirchen', + 'Werne', + 'Wernigerode', + 'Wertheim', + 'Wesel', + 'Wesseling', + 'Westerstede', + 'Westoverledingen', + 'Wetter (Ruhr)', + 'Wetzlar', + 'Weyhe', + 'Wiehl', + 'Wiesbaden', + 'Wiesloch', + 'Wilhelmshaven', + 'Willich', + 'Wilnsdorf', + 'Winnenden', + 'Winsen (Luhe)', + 'Wipperfürth', + 'Wismar', + 'Witten', + 'Lutherstadt Wittenberg', + 'Wittmund', + 'Wolfenbüttel', + 'Wolfsburg', + 'Worms', + 'Wülfrath', + 'Wunstorf', + 'Wuppertal', + 'Würselen', + 'Würzburg', + 'Xanten', + 'Zeitz', + 'Zerbst/Anhalt', + 'Zirndorf', + 'Zittau', + 'Zülpich', + 'Zweibrücken', + 'Zwickau', + ]; - protected static $state = [ - 'Baden-Württemberg', 'Bayern', 'Berlin', 'Brandenburg', 'Bremen', 'Hamburg', 'Hessen', 'Mecklenburg-Vorpommern', 'Niedersachsen', 'Nordrhein-Westfalen', 'Rheinland-Pfalz', 'Saarland', 'Sachsen', 'Sachsen-Anhalt', 'Schleswig-Holstein', 'Thüringen', - ]; + protected static $state = [ + 'Baden-Württemberg', + 'Bayern', + 'Berlin', + 'Brandenburg', + 'Bremen', + 'Hamburg', + 'Hessen', + 'Mecklenburg-Vorpommern', + 'Niedersachsen', + 'Nordrhein-Westfalen', + 'Rheinland-Pfalz', + 'Saarland', + 'Sachsen', + 'Sachsen-Anhalt', + 'Schleswig-Holstein', + 'Thüringen', + ]; - protected static $country = [ - 'Afghanistan', 'Alandinseln', 'Albanien', 'Algerien', 'Amerikanisch-Ozeanien', 'Amerikanisch-Samoa', 'Amerikanische Jungferninseln', 'Andorra', 'Angola', 'Anguilla', 'Antarktis', 'Antigua und Barbuda', 'Argentinien', 'Armenien', 'Aruba', 'Aserbaidschan', 'Australien', 'Ägypten', 'Äquatorialguinea', 'Äthiopien', 'Äußeres Ozeanien', - 'Bahamas', 'Bahrain', 'Bangladesch', 'Barbados', 'Belarus', 'Belgien', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivien', 'Bosnien und Herzegowina', 'Botsuana', 'Bouvetinsel', 'Brasilien', 'Britische Jungferninseln', 'Britisches Territorium im Indischen Ozean', 'Brunei Darussalam', 'Bulgarien', 'Burkina Faso', 'Burundi', - 'Chile', 'China', 'Cookinseln', 'Costa Rica', 'Côte d’Ivoire', - 'Demokratische Republik Kongo', 'Demokratische Volksrepublik Korea', 'Deutschland', 'Dominica', 'Dominikanische Republik', 'Dschibuti', 'Dänemark', - 'Ecuador', 'El Salvador', 'Eritrea', 'Estland', 'Europäische Union', - 'Falklandinseln', 'Fidschi', 'Finnland', 'Frankreich', 'Französisch-Guayana', 'Französisch-Polynesien', 'Französische Süd- und Antarktisgebiete', 'Färöer', - 'Gabun', 'Gambia', 'Georgien', 'Ghana', 'Gibraltar', 'Grenada', 'Griechenland', 'Grönland', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard- und McDonald-Inseln', 'Honduras', - 'Indien', 'Indonesien', 'Irak', 'Iran', 'Irland', 'Island', 'Isle of Man', 'Israel', 'Italien', - 'Jamaika', 'Japan', 'Jemen', 'Jersey', 'Jordanien', - 'Kaimaninseln', 'Kambodscha', 'Kamerun', 'Kanada', 'Kap Verde', 'Kasachstan', 'Katar', 'Kenia', 'Kirgisistan', 'Kiribati', 'Kokosinseln', 'Kolumbien', 'Komoren', 'Kongo', 'Kroatien', 'Kuba', 'Kuwait', - 'Laos', 'Lesotho', 'Lettland', 'Libanon', 'Liberia', 'Libyen', 'Liechtenstein', 'Litauen', 'Luxemburg', - 'Madagaskar', 'Malawi', 'Malaysia', 'Malediven', 'Mali', 'Malta', 'Marokko', 'Marshallinseln', 'Martinique', 'Mauretanien', 'Mauritius', 'Mayotte', 'Mazedonien', 'Mexiko', 'Mikronesien', 'Monaco', 'Mongolei', 'Montenegro', 'Montserrat', 'Mosambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Neukaledonien', 'Neuseeland', 'Nicaragua', 'Niederlande', 'Niederländische Antillen', 'Niger', 'Nigeria', 'Niue', 'Norfolkinsel', 'Norwegen', 'Nördliche Marianen', - 'Oman', 'Osttimor', 'Österreich', - 'Pakistan', 'Palau', 'Palästinensische Gebiete', 'Panama', 'Papua-Neuguinea', 'Paraguay', 'Peru', 'Philippinen', 'Pitcairn', 'Polen', 'Portugal', 'Puerto Rico', - 'Republik Korea', 'Republik Moldau', 'Ruanda', 'Rumänien', 'Russische Föderation', 'Réunion', - 'Salomonen', 'Sambia', 'Samoa', 'San Marino', 'Saudi-Arabien', 'Schweden', 'Schweiz', 'Senegal', 'Serbien', 'Serbien und Montenegro', 'Seychellen', 'Sierra Leone', 'Simbabwe', 'Singapur', 'Slowakei', 'Slowenien', 'Somalia', 'Sonderverwaltungszone Hongkong', 'Sonderverwaltungszone Macao', 'Spanien', 'Sri Lanka', 'St. Barthélemy', 'St. Helena', 'St. Kitts und Nevis', 'St. Lucia', 'St. Martin', 'St. Pierre und Miquelon', 'St. Vincent und die Grenadinen', 'Sudan', 'Suriname', 'Svalbard und Jan Mayen', 'Swasiland', 'Syrien', 'São Tomé und Príncipe', 'Südafrika', 'Südgeorgien und die Südlichen Sandwichinseln', - 'Tadschikistan', 'Taiwan', 'Tansania', 'Thailand', 'Togo', 'Tokelau', 'Tonga', 'Trinidad und Tobago', 'Tschad', 'Tschechische Republik', 'Tunesien', 'Turkmenistan', 'Turks- und Caicosinseln', 'Tuvalu', 'Türkei', - 'Uganda', 'Ukraine', 'Unbekannte oder ungültige Region', 'Ungarn', 'Uruguay', 'Usbekistan', - 'Vanuatu', 'Vatikanstadt', 'Venezuela', 'Vereinigte Arabische Emirate', 'Vereinigte Staaten', 'Vereinigtes Königreich', 'Vietnam', - 'Wallis und Futuna', 'Weihnachtsinsel', 'Westsahara', - 'Zentralafrikanische Republik', 'Zypern', - ]; + protected static $country = [ + 'Afghanistan', + 'Alandinseln', + 'Albanien', + 'Algerien', + 'Amerikanisch-Ozeanien', + 'Amerikanisch-Samoa', + 'Amerikanische Jungferninseln', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarktis', + 'Antigua und Barbuda', + 'Argentinien', + 'Armenien', + 'Aruba', + 'Aserbaidschan', + 'Australien', + 'Ägypten', + 'Äquatorialguinea', + 'Äthiopien', + 'Äußeres Ozeanien', + 'Bahamas', + 'Bahrain', + 'Bangladesch', + 'Barbados', + 'Belarus', + 'Belgien', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivien', + 'Bosnien und Herzegowina', + 'Botsuana', + 'Bouvetinsel', + 'Brasilien', + 'Britische Jungferninseln', + 'Britisches Territorium im Indischen Ozean', + 'Brunei Darussalam', + 'Bulgarien', + 'Burkina Faso', + 'Burundi', + 'Chile', + 'China', + 'Cookinseln', + 'Costa Rica', + 'Côte d’Ivoire', + 'Demokratische Republik Kongo', + 'Demokratische Volksrepublik Korea', + 'Deutschland', + 'Dominica', + 'Dominikanische Republik', + 'Dschibuti', + 'Dänemark', + 'Ecuador', + 'El Salvador', + 'Eritrea', + 'Estland', + 'Europäische Union', + 'Falklandinseln', + 'Fidschi', + 'Finnland', + 'Frankreich', + 'Französisch-Guayana', + 'Französisch-Polynesien', + 'Französische Süd- und Antarktisgebiete', + 'Färöer', + 'Gabun', + 'Gambia', + 'Georgien', + 'Ghana', + 'Gibraltar', + 'Grenada', + 'Griechenland', + 'Grönland', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard- und McDonald-Inseln', + 'Honduras', + 'Indien', + 'Indonesien', + 'Irak', + 'Iran', + 'Irland', + 'Island', + 'Isle of Man', + 'Israel', + 'Italien', + 'Jamaika', + 'Japan', + 'Jemen', + 'Jersey', + 'Jordanien', + 'Kaimaninseln', + 'Kambodscha', + 'Kamerun', + 'Kanada', + 'Kap Verde', + 'Kasachstan', + 'Katar', + 'Kenia', + 'Kirgisistan', + 'Kiribati', + 'Kokosinseln', + 'Kolumbien', + 'Komoren', + 'Kongo', + 'Kroatien', + 'Kuba', + 'Kuwait', + 'Laos', + 'Lesotho', + 'Lettland', + 'Libanon', + 'Liberia', + 'Libyen', + 'Liechtenstein', + 'Litauen', + 'Luxemburg', + 'Madagaskar', + 'Malawi', + 'Malaysia', + 'Malediven', + 'Mali', + 'Malta', + 'Marokko', + 'Marshallinseln', + 'Martinique', + 'Mauretanien', + 'Mauritius', + 'Mayotte', + 'Mazedonien', + 'Mexiko', + 'Mikronesien', + 'Monaco', + 'Mongolei', + 'Montenegro', + 'Montserrat', + 'Mosambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Neukaledonien', + 'Neuseeland', + 'Nicaragua', + 'Niederlande', + 'Niederländische Antillen', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolkinsel', + 'Norwegen', + 'Nördliche Marianen', + 'Oman', + 'Osttimor', + 'Österreich', + 'Pakistan', + 'Palau', + 'Palästinensische Gebiete', + 'Panama', + 'Papua-Neuguinea', + 'Paraguay', + 'Peru', + 'Philippinen', + 'Pitcairn', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Republik Korea', + 'Republik Moldau', + 'Ruanda', + 'Rumänien', + 'Russische Föderation', + 'Réunion', + 'Salomonen', + 'Sambia', + 'Samoa', + 'San Marino', + 'Saudi-Arabien', + 'Schweden', + 'Schweiz', + 'Senegal', + 'Serbien', + 'Serbien und Montenegro', + 'Seychellen', + 'Sierra Leone', + 'Simbabwe', + 'Singapur', + 'Slowakei', + 'Slowenien', + 'Somalia', + 'Sonderverwaltungszone Hongkong', + 'Sonderverwaltungszone Macao', + 'Spanien', + 'Sri Lanka', + 'St. Barthélemy', + 'St. Helena', + 'St. Kitts und Nevis', + 'St. Lucia', + 'St. Martin', + 'St. Pierre und Miquelon', + 'St. Vincent und die Grenadinen', + 'Sudan', + 'Suriname', + 'Svalbard und Jan Mayen', + 'Swasiland', + 'Syrien', + 'São Tomé und Príncipe', + 'Südafrika', + 'Südgeorgien und die Südlichen Sandwichinseln', + 'Tadschikistan', + 'Taiwan', + 'Tansania', + 'Thailand', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad und Tobago', + 'Tschad', + 'Tschechische Republik', + 'Tunesien', + 'Turkmenistan', + 'Turks- und Caicosinseln', + 'Tuvalu', + 'Türkei', + 'Uganda', + 'Ukraine', + 'Unbekannte oder ungültige Region', + 'Ungarn', + 'Uruguay', + 'Usbekistan', + 'Vanuatu', + 'Vatikanstadt', + 'Venezuela', + 'Vereinigte Arabische Emirate', + 'Vereinigte Staaten', + 'Vereinigtes Königreich', + 'Vietnam', + 'Wallis und Futuna', + 'Weihnachtsinsel', + 'Westsahara', + 'Zentralafrikanische Republik', + 'Zypern', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffixShort}}', - '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', - ]; + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffixShort}}', + '{{firstName}}-{{lastName}}-{{streetSuffixLong}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - public function cityName() - { - return static::randomElement(static::$cityNames); - } + public function cityName() { + return static::randomElement( static::$cityNames ); + } - public function streetSuffixShort() - { - return static::randomElement(static::$streetSuffixShort); - } + public function streetSuffixShort() { + return static::randomElement( static::$streetSuffixShort ); + } - public function streetSuffixLong() - { - return static::randomElement(static::$streetSuffixLong); - } + public function streetSuffixLong() { + return static::randomElement( static::$streetSuffixLong ); + } - /** - * @example 'Berlin' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Berlin' + */ + public static function state() { + return static::randomElement( static::$state ); + } - public static function buildingNumber() - { - return static::regexify(self::numerify(static::randomElement(static::$buildingNumber))); - } + public static function buildingNumber() { + return static::regexify( self::numerify( static::randomElement( static::$buildingNumber ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Company.php index 3ac9a5c..21ab4a6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Company.php @@ -2,23 +2,71 @@ namespace Faker\Provider\de_DE; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}', + '{{lastName}}', + ]; - /** - * @see http://www.personalseite.de/information/titel.htm - */ - protected static $jobTitleFormat = [ - 'Abteilungsdirektor', 'Arbeitsdirektor', 'Aufsichtsrat', 'Beirat', 'Bereichsleiter', 'Betriebsleiter', 'Finanzvorstand', 'Geschäftsführender Gesellschafter', 'Geschäftsführer', 'Gesellschafter', - 'Handlungsbevollmächtigter', 'Kaufmännischer Vorstand', 'Leiter Rechtsabteilung', 'Mitglied des Aufsichtsrats', 'Personalleiter', 'Prokurist', 'Stellvertretender Vorsitzender des Vorstandes', - 'Vorsitzender der Geschäftsführung', 'Vorsitzender des Aufsichtsrats', 'Vorsitzender des Vorstandes', 'Vorstand Personal', 'Vorstand Technik', 'Vorstand Vertrieb', 'Vorstandsmitglied', 'Werksleiter', - ]; + /** + * @see http://www.personalseite.de/information/titel.htm + */ + protected static $jobTitleFormat = [ + 'Abteilungsdirektor', + 'Arbeitsdirektor', + 'Aufsichtsrat', + 'Beirat', + 'Bereichsleiter', + 'Betriebsleiter', + 'Finanzvorstand', + 'Geschäftsführender Gesellschafter', + 'Geschäftsführer', + 'Gesellschafter', + 'Handlungsbevollmächtigter', + 'Kaufmännischer Vorstand', + 'Leiter Rechtsabteilung', + 'Mitglied des Aufsichtsrats', + 'Personalleiter', + 'Prokurist', + 'Stellvertretender Vorsitzender des Vorstandes', + 'Vorsitzender der Geschäftsführung', + 'Vorsitzender des Aufsichtsrats', + 'Vorsitzender des Vorstandes', + 'Vorstand Personal', + 'Vorstand Technik', + 'Vorstand Vertrieb', + 'Vorstandsmitglied', + 'Werksleiter', + ]; - protected static $companySuffix = ['e.G.', 'e.V.', 'GbR', 'GbR', 'OHG mbH', 'GmbH & Co. OHG', 'AG & Co. OHG', 'GmbH', 'GmbH', 'GmbH', 'GmbH', 'AG', 'AG', 'AG', 'AG', 'KG', 'KG', 'KG', 'GmbH & Co. KG', 'GmbH & Co. KG', 'AG & Co. KG', 'Stiftung & Co. KG', 'KGaA', 'GmbH & Co. KGaA', 'AG & Co. KGaA', 'Stiftung & Co. KGaA']; + protected static $companySuffix = [ + 'e.G.', + 'e.V.', + 'GbR', + 'GbR', + 'OHG mbH', + 'GmbH & Co. OHG', + 'AG & Co. OHG', + 'GmbH', + 'GmbH', + 'GmbH', + 'GmbH', + 'AG', + 'AG', + 'AG', + 'AG', + 'KG', + 'KG', + 'KG', + 'GmbH & Co. KG', + 'GmbH & Co. KG', + 'AG & Co. KG', + 'Stiftung & Co. KG', + 'KGaA', + 'GmbH & Co. KGaA', + 'AG & Co. KGaA', + 'Stiftung & Co. KGaA' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Internet.php index 7e8124a..9aef5c3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Internet.php @@ -2,25 +2,24 @@ namespace Faker\Provider\de_DE; -class Internet extends \Faker\Provider\Internet -{ - /** - * @see https://www.statista.com/statistics/446418/most-popular-e-mail-providers-germany/ - * @see http://blog.shuttlecloud.com/the-10-most-popular-email-providers-in-germany - */ - protected static $freeEmailDomain = [ - 'web.de', - 'gmail.com', - 'hotmail.de', - 'yahoo.de', - 'googlemail.com', - 'aol.de', - 'gmx.de', - 'freenet.de', - 'posteo.de', - 'mail.de', - 'live.de', - 't-online.de', - ]; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'de', 'de', 'de']; +class Internet extends \Faker\Provider\Internet { + /** + * @see https://www.statista.com/statistics/446418/most-popular-e-mail-providers-germany/ + * @see http://blog.shuttlecloud.com/the-10-most-popular-email-providers-in-germany + */ + protected static $freeEmailDomain = [ + 'web.de', + 'gmail.com', + 'hotmail.de', + 'yahoo.de', + 'googlemail.com', + 'aol.de', + 'gmx.de', + 'freenet.de', + 'posteo.de', + 'mail.de', + 'live.de', + 't-online.de', + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'de', 'de', 'de' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Payment.php index adced42..87b983f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Payment.php @@ -2,59 +2,99 @@ namespace Faker\Provider\de_DE; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'DE', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'DE', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * Sources: - * The 19 largest German banks by total assets - * - * @see https://de.wikipedia.org/wiki/Liste_der_größten_Banken_in_Deutschland - * The 20 largest co-operative banks by branch count - * @see https://de.wikipedia.org/wiki/Liste_der_Genossenschaftsbanken_in_Deutschland - * The 20 largest public savings banks by branch count - * @see https://de.wikipedia.org/wiki/Liste_der_Sparkassen_in_Deutschland - */ - protected static $banks = [ - 'Bank 1 Saar', 'Bayerische Landesbank', 'BBBank', 'Berliner Sparkasse', 'Berliner Volksbank', 'Braunschweigische Landessparkasse', - 'Commerzbank', - 'DekaBank Deutsche Girozentrale', 'Deutsche Apotheker- und Ärztebank', 'Deutsche Bank', 'Deutsche Kreditbank', 'Deutsche Pfandbriefbank', 'Dortmunder Volksbank', 'DZ Bank', - 'Erzgebirgssparkasse', - 'Frankfurter Sparkasse', 'Frankfurter Volksbank', - 'Hamburger Sparkasse', 'Hannoversche Volksbank', 'HSGV', 'HSH Nordbank', - 'ING-DiBa', - 'KfW', 'Kreissparkasse Esslingen-Nürtingen', 'Kreissparkasse Heilbronn', 'Kreissparkasse Köln', 'Kreissparkasse Ludwigsburg', 'Kreissparkasse München Starnberg Ebersberg', - 'L-Bank', 'Landesbank Baden-Württemberg', 'Landesbank Hessen-Thüringen', 'Landessparkasse zu Oldenburg', 'Landwirtschaftliche Rentenbank', - 'Mittelbrandenburgische Sparkasse in Potsdam', - 'Nassauische Sparkasse', 'Norddeutsche Landesbank', 'NRW.Bank', - 'Ostsächsische Sparkasse Dresden', - 'Postbank', - 'Sparkasse Hannover', 'Sparkasse KölnBonn', 'Sparkasse Mainfranken Würzburg', 'Sparkasse Nürnberg', 'Sparkasse Pforzheim Calw', 'Stadtsparkasse München', - 'Unicredit Bank', - 'Vereinigte Volksbank', 'Volksbank, Hildesheim-Lehrte-Pattensen', 'Volksbank Alzey-Worms', 'Volksbank Braunschweig Wolfsburg', 'Volksbank Darmstadt - Südhessen', 'Volksbank Hohenlohe', 'Volksbank Kraichgau Wiesloch-Sinsheim', 'Volksbank Lüneburger Heide', 'Volksbank Mittelhessen', 'Volksbank Paderborn-Höxter-Detmold', 'Volksbank Raiffeisenbank Rosenheim-Chiemsee', 'Volksbank Stuttgart', 'VR Bank Main-Kinzig-Büdingen', - 'WGZ Bank', - ]; + /** + * Sources: + * The 19 largest German banks by total assets + * + * @see https://de.wikipedia.org/wiki/Liste_der_größten_Banken_in_Deutschland + * The 20 largest co-operative banks by branch count + * @see https://de.wikipedia.org/wiki/Liste_der_Genossenschaftsbanken_in_Deutschland + * The 20 largest public savings banks by branch count + * @see https://de.wikipedia.org/wiki/Liste_der_Sparkassen_in_Deutschland + */ + protected static $banks = [ + 'Bank 1 Saar', + 'Bayerische Landesbank', + 'BBBank', + 'Berliner Sparkasse', + 'Berliner Volksbank', + 'Braunschweigische Landessparkasse', + 'Commerzbank', + 'DekaBank Deutsche Girozentrale', + 'Deutsche Apotheker- und Ärztebank', + 'Deutsche Bank', + 'Deutsche Kreditbank', + 'Deutsche Pfandbriefbank', + 'Dortmunder Volksbank', + 'DZ Bank', + 'Erzgebirgssparkasse', + 'Frankfurter Sparkasse', + 'Frankfurter Volksbank', + 'Hamburger Sparkasse', + 'Hannoversche Volksbank', + 'HSGV', + 'HSH Nordbank', + 'ING-DiBa', + 'KfW', + 'Kreissparkasse Esslingen-Nürtingen', + 'Kreissparkasse Heilbronn', + 'Kreissparkasse Köln', + 'Kreissparkasse Ludwigsburg', + 'Kreissparkasse München Starnberg Ebersberg', + 'L-Bank', + 'Landesbank Baden-Württemberg', + 'Landesbank Hessen-Thüringen', + 'Landessparkasse zu Oldenburg', + 'Landwirtschaftliche Rentenbank', + 'Mittelbrandenburgische Sparkasse in Potsdam', + 'Nassauische Sparkasse', + 'Norddeutsche Landesbank', + 'NRW.Bank', + 'Ostsächsische Sparkasse Dresden', + 'Postbank', + 'Sparkasse Hannover', + 'Sparkasse KölnBonn', + 'Sparkasse Mainfranken Würzburg', + 'Sparkasse Nürnberg', + 'Sparkasse Pforzheim Calw', + 'Stadtsparkasse München', + 'Unicredit Bank', + 'Vereinigte Volksbank', + 'Volksbank, Hildesheim-Lehrte-Pattensen', + 'Volksbank Alzey-Worms', + 'Volksbank Braunschweig Wolfsburg', + 'Volksbank Darmstadt - Südhessen', + 'Volksbank Hohenlohe', + 'Volksbank Kraichgau Wiesloch-Sinsheim', + 'Volksbank Lüneburger Heide', + 'Volksbank Mittelhessen', + 'Volksbank Paderborn-Höxter-Detmold', + 'Volksbank Raiffeisenbank Rosenheim-Chiemsee', + 'Volksbank Stuttgart', + 'VR Bank Main-Kinzig-Büdingen', + 'WGZ Bank', + ]; - /** - * @example 'Volksbank Stuttgart' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Volksbank Stuttgart' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Person.php index 44f205e..d96fbd2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Person.php @@ -2,131 +2,1557 @@ namespace Faker\Provider\de_DE; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}-{{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}-{{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}-{{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}-{{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - /** - * Top 500 Names from a phone directory (6. January 2005) - * {@link} From https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_m%C3%A4nnlichen_Vornamen_Deutschlands - */ - protected static $firstNameMale = [ - 'Achim', 'Adalbert', 'Adam', 'Adrian', 'Ahmed', 'Ahmet', 'Albert', 'Albin', 'Albrecht', 'Alex', 'Alexander', 'Alfons', 'Alfred', 'Ali', 'Alois', 'Aloys', 'Alwin', 'Anatoli', 'Andre', 'Andreas', 'Andree', 'Andrej', 'Andrzej', 'André', 'Andy', 'Angelo', 'Ansgar', 'Anton', 'Antonio', 'Antonius', 'Armin', 'Arnd', 'Arndt', 'Arne', 'Arno', 'Arnold', 'Arnulf', 'Arthur', 'Artur', 'August', 'Axel', - 'Bastian', 'Benedikt', 'Benjamin', 'Benno', 'Bernard', 'Bernd', 'Berndt', 'Bernhard', 'Bert', 'Berthold', 'Bertram', 'Björn', 'Bodo', 'Bogdan', 'Boris', 'Bruno', 'Burghard', 'Burkhard', - 'Carl', 'Carlo', 'Carlos', 'Carsten', 'Christian', 'Christof', 'Christoph', 'Christopher', 'Christos', 'Claudio', 'Claus', 'Claus-Dieter', 'Claus-Peter', 'Clemens', 'Cornelius', - 'Daniel', 'Danny', 'Darius', 'David', 'Denis', 'Dennis', 'Detlef', 'Detlev', 'Dierk', 'Dieter', 'Diethard', 'Diethelm', 'Dietmar', 'Dietrich', 'Dimitri', 'Dimitrios', 'Dirk', 'Domenico', 'Dominik', - 'Eberhard', 'Eckard', 'Eckart', 'Eckehard', 'Eckhard', 'Eckhardt', 'Edgar', 'Edmund', 'Eduard', 'Edward', 'Edwin', 'Egbert', 'Egon', 'Ehrenfried', 'Ekkehard', 'Elmar', 'Emanuel', 'Emil', 'Engelbert', 'Enno', 'Enrico', 'Erhard', 'Eric', 'Erich', 'Erik', 'Ernst', 'Ernst-August', 'Erwin', 'Eugen', 'Ewald', - 'Fabian', 'Falk', 'Falko', 'Felix', 'Ferdinand', 'Florian', 'Francesco', 'Franco', 'Frank', 'Franz', 'Franz Josef', 'Franz-Josef', 'Fred', 'Fredi', 'Fridolin', 'Friedbert', 'Friedemann', 'Frieder', 'Friedhelm', 'Friedrich', 'Friedrich-Wilhelm', 'Fritz', - 'Gabriel', 'Gebhard', 'Georg', 'Georgios', 'Gerald', 'Gerd', 'Gerhard', 'Gernot', 'Gero', 'Gerold', 'Gert', 'Gilbert', 'Giovanni', 'Gisbert', 'Giuseppe', 'Gottfried', 'Gotthard', 'Gottlieb', 'Gregor', 'Guenter', 'Guido', 'Guiseppe', 'Gunnar', 'Gunter', 'Gunther', 'Gustav', 'Götz', 'Günter', 'Günther', - 'Hagen', 'Halil', 'Hannes', 'Hanni', 'Hanno', 'Hanns', 'Hans', 'Hans Dieter', 'Hans Georg', 'Hans Jürgen', 'Hans Peter', 'Hans-Christian', 'Hans-Dieter', 'Hans-Georg', 'Hans-Gerd', 'Hans-Günter', 'Hans-Günther', 'Hans-Heinrich', 'Hans-Hermann', 'Hans-J.', 'Hans-Joachim', 'Hans-Jochen', 'Hans-Josef', 'Hans-Jörg', 'Hans-Jürgen', 'Hans-Martin', 'Hans-Otto', 'Hans-Peter', 'Hans-Ulrich', 'Hans-Walter', 'Hans-Werner', 'Hans-Wilhelm', 'Hansjörg', 'Hanspeter', 'Harald', 'Hardy', 'Harri', 'Harro', 'Harry', 'Hartmut', 'Hartwig', 'Hasan', 'Heiko', 'Heiner', 'Heino', 'Heinrich', 'Heinz', 'Heinz-Dieter', 'Heinz-Georg', 'Heinz-Günter', 'Heinz-Joachim', 'Heinz-Josef', 'Heinz-Jürgen', 'Heinz-Peter', 'Heinz-Werner', 'Helfried', 'Helge', 'Hellmut', 'Hellmuth', 'Helmar', 'Helmut', 'Helmuth', 'Hendrik', 'Henning', 'Henrik', 'Henry', 'Henryk', 'Herbert', 'Heribert', 'Hermann', 'Hermann-Josef', 'Herwig', 'Hilmar', 'Hinrich', 'Holger', 'Horst', 'Horst-Dieter', 'Hubert', 'Hubertus', 'Hugo', 'Hüseyin', - 'Ibrahim', 'Ignaz', 'Igor', 'Ingo', 'Ingolf', 'Ismail', 'Ivan', 'Ivo', - 'Jakob', 'Jan', 'Janusz', 'Jens', 'Jens-Uwe', 'Joachim', 'Jochen', 'Johann', 'Johannes', 'John', 'Jonas', 'Jonas', 'Jose', 'Josef', 'Joseph', 'Josip', 'Jost', 'Juergen', 'Julian', 'Julius', 'Juri', 'Jörg', 'Jörn', 'Jürgen', - 'Kai-Uwe', 'Karl', 'Karl Heinz', 'Karl-Ernst', 'Karl-Friedrich', 'Karl-Heinrich', 'Karl-Heinz', 'Karl-Josef', 'Karl-Ludwig', 'Karl-Otto', 'Karl-Wilhelm', 'Karlheinz', 'Karsten', 'Kaspar', 'Kevin', 'Klaus', 'Klaus Dieter', 'Klaus Peter', 'Klaus-Dieter', 'Klaus-Jürgen', 'Klaus-Peter', 'Klemens', 'Knut', 'Konrad', 'Konstantin', 'Konstantinos', 'Kuno', 'Kurt', - 'Lars', 'Leo', 'Leonhard', 'Leonid', 'Leopold', 'Lorenz', 'Lothar', 'Ludger', 'Ludwig', 'Luigi', 'Lukas', 'Lutz', - 'Magnus', 'Maik', 'Malte', 'Manfred', 'Manuel', 'Marc', 'Marcel', 'Marco', 'Marcus', 'Marek', 'Marian', 'Mario', 'Marius', 'Mark', 'Marko', 'Markus', 'Martin', 'Mathias', 'Matthias', 'Max', 'Maximilian', 'Mehmet', 'Meinhard', 'Meinolf', 'Metin', 'Michael', 'Michel', 'Mike', 'Milan', 'Mirco', 'Mirko', 'Miroslav', 'Miroslaw', 'Mohamed', 'Moritz', 'Murat', 'Mustafa', - 'Nico', 'Nicolas', 'Niels', 'Nikola', 'Nikolai', 'Nikolaj', 'Nikolaos', 'Nikolaus', 'Nils', 'Norbert', 'Norman', - 'Olaf', 'Oliver', 'Ortwin', 'Oskar', 'Osman', 'Oswald', 'Otmar', 'Ottmar', 'Otto', - 'Pascal', 'Patrick', 'Paul', 'Peer', 'Peter', 'Philip', 'Philipp', 'Pierre', 'Pietro', 'Piotr', - 'Rafael', 'Raimund', 'Rainer', 'Ralf', 'Ralph', 'Ramazan', 'Raphael', 'Reimund', 'Reiner', 'Reinhard', 'Reinhardt', 'Reinhold', 'Rene', 'René', 'Richard', 'Rico', 'Robert', 'Roberto', 'Robin', 'Roger', 'Roland', 'Rolf', 'Rolf-Dieter', 'Roman', 'Ronald', 'Ronny', 'Rudi', 'Rudolf', 'Rupert', 'Rüdiger', - 'Salvatore', 'Samuel', 'Sandro', 'Sebastian', 'Sergej', 'Siegbert', 'Siegfried', 'Siegmar', 'Siegmund', 'Sigmund', 'Sigurd', 'Silvio', 'Simon', 'Stanislaw', 'Stefan', 'Steffen', 'Stephan', 'Steven', 'Sven', 'Swen', 'Sönke', 'Sören', - 'Theo', 'Theodor', 'Thilo', 'Thomas', 'Thorsten', 'Till', 'Tilo', 'Tim', 'Timo', 'Tino', 'Tobias', 'Tom', 'Toni', 'Torben', 'Torsten', - 'Udo', 'Ulf', 'Uli', 'Ullrich', 'Ulrich', 'Uwe', - 'Valentin', 'Veit', 'Victor', 'Viktor', 'Vincenzo', 'Vinzenz', 'Vitali', 'Vladimir', 'Volker', 'Volkmar', - 'Waldemar', 'Walter', 'Walther', 'Wenzel', 'Werner', 'Wieland', 'Wilfried', 'Wilhelm', 'Willi', 'William', 'Willibald', 'Willy', 'Winfried', 'Wladimir', 'Wolf', 'Wolf-Dieter', 'Wolfgang', 'Wolfram', 'Wulf', - 'Xaver', - 'Yusuf', - ]; + /** + * Top 500 Names from a phone directory (6. January 2005) + * {@link} From https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_m%C3%A4nnlichen_Vornamen_Deutschlands + */ + protected static $firstNameMale = [ + 'Achim', + 'Adalbert', + 'Adam', + 'Adrian', + 'Ahmed', + 'Ahmet', + 'Albert', + 'Albin', + 'Albrecht', + 'Alex', + 'Alexander', + 'Alfons', + 'Alfred', + 'Ali', + 'Alois', + 'Aloys', + 'Alwin', + 'Anatoli', + 'Andre', + 'Andreas', + 'Andree', + 'Andrej', + 'Andrzej', + 'André', + 'Andy', + 'Angelo', + 'Ansgar', + 'Anton', + 'Antonio', + 'Antonius', + 'Armin', + 'Arnd', + 'Arndt', + 'Arne', + 'Arno', + 'Arnold', + 'Arnulf', + 'Arthur', + 'Artur', + 'August', + 'Axel', + 'Bastian', + 'Benedikt', + 'Benjamin', + 'Benno', + 'Bernard', + 'Bernd', + 'Berndt', + 'Bernhard', + 'Bert', + 'Berthold', + 'Bertram', + 'Björn', + 'Bodo', + 'Bogdan', + 'Boris', + 'Bruno', + 'Burghard', + 'Burkhard', + 'Carl', + 'Carlo', + 'Carlos', + 'Carsten', + 'Christian', + 'Christof', + 'Christoph', + 'Christopher', + 'Christos', + 'Claudio', + 'Claus', + 'Claus-Dieter', + 'Claus-Peter', + 'Clemens', + 'Cornelius', + 'Daniel', + 'Danny', + 'Darius', + 'David', + 'Denis', + 'Dennis', + 'Detlef', + 'Detlev', + 'Dierk', + 'Dieter', + 'Diethard', + 'Diethelm', + 'Dietmar', + 'Dietrich', + 'Dimitri', + 'Dimitrios', + 'Dirk', + 'Domenico', + 'Dominik', + 'Eberhard', + 'Eckard', + 'Eckart', + 'Eckehard', + 'Eckhard', + 'Eckhardt', + 'Edgar', + 'Edmund', + 'Eduard', + 'Edward', + 'Edwin', + 'Egbert', + 'Egon', + 'Ehrenfried', + 'Ekkehard', + 'Elmar', + 'Emanuel', + 'Emil', + 'Engelbert', + 'Enno', + 'Enrico', + 'Erhard', + 'Eric', + 'Erich', + 'Erik', + 'Ernst', + 'Ernst-August', + 'Erwin', + 'Eugen', + 'Ewald', + 'Fabian', + 'Falk', + 'Falko', + 'Felix', + 'Ferdinand', + 'Florian', + 'Francesco', + 'Franco', + 'Frank', + 'Franz', + 'Franz Josef', + 'Franz-Josef', + 'Fred', + 'Fredi', + 'Fridolin', + 'Friedbert', + 'Friedemann', + 'Frieder', + 'Friedhelm', + 'Friedrich', + 'Friedrich-Wilhelm', + 'Fritz', + 'Gabriel', + 'Gebhard', + 'Georg', + 'Georgios', + 'Gerald', + 'Gerd', + 'Gerhard', + 'Gernot', + 'Gero', + 'Gerold', + 'Gert', + 'Gilbert', + 'Giovanni', + 'Gisbert', + 'Giuseppe', + 'Gottfried', + 'Gotthard', + 'Gottlieb', + 'Gregor', + 'Guenter', + 'Guido', + 'Guiseppe', + 'Gunnar', + 'Gunter', + 'Gunther', + 'Gustav', + 'Götz', + 'Günter', + 'Günther', + 'Hagen', + 'Halil', + 'Hannes', + 'Hanni', + 'Hanno', + 'Hanns', + 'Hans', + 'Hans Dieter', + 'Hans Georg', + 'Hans Jürgen', + 'Hans Peter', + 'Hans-Christian', + 'Hans-Dieter', + 'Hans-Georg', + 'Hans-Gerd', + 'Hans-Günter', + 'Hans-Günther', + 'Hans-Heinrich', + 'Hans-Hermann', + 'Hans-J.', + 'Hans-Joachim', + 'Hans-Jochen', + 'Hans-Josef', + 'Hans-Jörg', + 'Hans-Jürgen', + 'Hans-Martin', + 'Hans-Otto', + 'Hans-Peter', + 'Hans-Ulrich', + 'Hans-Walter', + 'Hans-Werner', + 'Hans-Wilhelm', + 'Hansjörg', + 'Hanspeter', + 'Harald', + 'Hardy', + 'Harri', + 'Harro', + 'Harry', + 'Hartmut', + 'Hartwig', + 'Hasan', + 'Heiko', + 'Heiner', + 'Heino', + 'Heinrich', + 'Heinz', + 'Heinz-Dieter', + 'Heinz-Georg', + 'Heinz-Günter', + 'Heinz-Joachim', + 'Heinz-Josef', + 'Heinz-Jürgen', + 'Heinz-Peter', + 'Heinz-Werner', + 'Helfried', + 'Helge', + 'Hellmut', + 'Hellmuth', + 'Helmar', + 'Helmut', + 'Helmuth', + 'Hendrik', + 'Henning', + 'Henrik', + 'Henry', + 'Henryk', + 'Herbert', + 'Heribert', + 'Hermann', + 'Hermann-Josef', + 'Herwig', + 'Hilmar', + 'Hinrich', + 'Holger', + 'Horst', + 'Horst-Dieter', + 'Hubert', + 'Hubertus', + 'Hugo', + 'Hüseyin', + 'Ibrahim', + 'Ignaz', + 'Igor', + 'Ingo', + 'Ingolf', + 'Ismail', + 'Ivan', + 'Ivo', + 'Jakob', + 'Jan', + 'Janusz', + 'Jens', + 'Jens-Uwe', + 'Joachim', + 'Jochen', + 'Johann', + 'Johannes', + 'John', + 'Jonas', + 'Jonas', + 'Jose', + 'Josef', + 'Joseph', + 'Josip', + 'Jost', + 'Juergen', + 'Julian', + 'Julius', + 'Juri', + 'Jörg', + 'Jörn', + 'Jürgen', + 'Kai-Uwe', + 'Karl', + 'Karl Heinz', + 'Karl-Ernst', + 'Karl-Friedrich', + 'Karl-Heinrich', + 'Karl-Heinz', + 'Karl-Josef', + 'Karl-Ludwig', + 'Karl-Otto', + 'Karl-Wilhelm', + 'Karlheinz', + 'Karsten', + 'Kaspar', + 'Kevin', + 'Klaus', + 'Klaus Dieter', + 'Klaus Peter', + 'Klaus-Dieter', + 'Klaus-Jürgen', + 'Klaus-Peter', + 'Klemens', + 'Knut', + 'Konrad', + 'Konstantin', + 'Konstantinos', + 'Kuno', + 'Kurt', + 'Lars', + 'Leo', + 'Leonhard', + 'Leonid', + 'Leopold', + 'Lorenz', + 'Lothar', + 'Ludger', + 'Ludwig', + 'Luigi', + 'Lukas', + 'Lutz', + 'Magnus', + 'Maik', + 'Malte', + 'Manfred', + 'Manuel', + 'Marc', + 'Marcel', + 'Marco', + 'Marcus', + 'Marek', + 'Marian', + 'Mario', + 'Marius', + 'Mark', + 'Marko', + 'Markus', + 'Martin', + 'Mathias', + 'Matthias', + 'Max', + 'Maximilian', + 'Mehmet', + 'Meinhard', + 'Meinolf', + 'Metin', + 'Michael', + 'Michel', + 'Mike', + 'Milan', + 'Mirco', + 'Mirko', + 'Miroslav', + 'Miroslaw', + 'Mohamed', + 'Moritz', + 'Murat', + 'Mustafa', + 'Nico', + 'Nicolas', + 'Niels', + 'Nikola', + 'Nikolai', + 'Nikolaj', + 'Nikolaos', + 'Nikolaus', + 'Nils', + 'Norbert', + 'Norman', + 'Olaf', + 'Oliver', + 'Ortwin', + 'Oskar', + 'Osman', + 'Oswald', + 'Otmar', + 'Ottmar', + 'Otto', + 'Pascal', + 'Patrick', + 'Paul', + 'Peer', + 'Peter', + 'Philip', + 'Philipp', + 'Pierre', + 'Pietro', + 'Piotr', + 'Rafael', + 'Raimund', + 'Rainer', + 'Ralf', + 'Ralph', + 'Ramazan', + 'Raphael', + 'Reimund', + 'Reiner', + 'Reinhard', + 'Reinhardt', + 'Reinhold', + 'Rene', + 'René', + 'Richard', + 'Rico', + 'Robert', + 'Roberto', + 'Robin', + 'Roger', + 'Roland', + 'Rolf', + 'Rolf-Dieter', + 'Roman', + 'Ronald', + 'Ronny', + 'Rudi', + 'Rudolf', + 'Rupert', + 'Rüdiger', + 'Salvatore', + 'Samuel', + 'Sandro', + 'Sebastian', + 'Sergej', + 'Siegbert', + 'Siegfried', + 'Siegmar', + 'Siegmund', + 'Sigmund', + 'Sigurd', + 'Silvio', + 'Simon', + 'Stanislaw', + 'Stefan', + 'Steffen', + 'Stephan', + 'Steven', + 'Sven', + 'Swen', + 'Sönke', + 'Sören', + 'Theo', + 'Theodor', + 'Thilo', + 'Thomas', + 'Thorsten', + 'Till', + 'Tilo', + 'Tim', + 'Timo', + 'Tino', + 'Tobias', + 'Tom', + 'Toni', + 'Torben', + 'Torsten', + 'Udo', + 'Ulf', + 'Uli', + 'Ullrich', + 'Ulrich', + 'Uwe', + 'Valentin', + 'Veit', + 'Victor', + 'Viktor', + 'Vincenzo', + 'Vinzenz', + 'Vitali', + 'Vladimir', + 'Volker', + 'Volkmar', + 'Waldemar', + 'Walter', + 'Walther', + 'Wenzel', + 'Werner', + 'Wieland', + 'Wilfried', + 'Wilhelm', + 'Willi', + 'William', + 'Willibald', + 'Willy', + 'Winfried', + 'Wladimir', + 'Wolf', + 'Wolf-Dieter', + 'Wolfgang', + 'Wolfram', + 'Wulf', + 'Xaver', + 'Yusuf', + ]; - /** - * Top 500 Names from a phone directory (6. January 2005) - * {@link} From https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_weiblichen_Vornamen_Deutschlands - */ - protected static $firstNameFemale = [ - 'Adele', 'Adelheid', 'Agathe', 'Agnes', 'Alexandra', 'Alice', 'Alma', 'Almut', 'Aloisia', 'Alwine', 'Amalie', 'Ana', 'Anastasia', 'Andrea', 'Anett', 'Anette', 'Angela', 'Angelika', 'Anika', 'Anita', 'Anja', 'Anke', 'Anna', 'Anna-Maria', 'Anne', 'Annegret', 'Annelie', 'Annelies', 'Anneliese', 'Annelore', 'Annemarie', 'Annerose', 'Annett', 'Annette', 'Anni', 'Annika', 'Anny', 'Antje', 'Antonia', 'Antonie', 'Ariane', 'Astrid', 'Auguste', 'Ayse', - 'Babette', 'Barbara', 'Beate', 'Beatrice', 'Beatrix', 'Bernadette', 'Berta', 'Bettina', 'Betty', 'Bianca', 'Bianka', 'Birgit', 'Birgitt', 'Birgitta', 'Birte', 'Brigitta', 'Brigitte', 'Britta', 'Brunhild', 'Brunhilde', 'Bärbel', - 'Carina', 'Carla', 'Carmen', 'Carola', 'Carolin', 'Caroline', 'Cathrin', 'Catrin', 'Centa', 'Charlotte', 'Christa', 'Christel', 'Christiane', 'Christin', 'Christina', 'Christine', 'Christl', 'Cindy', 'Claudia', 'Conny', 'Constanze', 'Cordula', 'Corina', 'Corinna', 'Cornelia', 'Cäcilia', 'Cäcilie', - 'Dagmar', 'Dana', 'Daniela', 'Danuta', 'Denise', 'Diana', 'Dietlinde', 'Dora', 'Doreen', 'Doris', 'Dorit', 'Dorothea', 'Dorothee', 'Dunja', 'Dörte', - 'Edda', 'Edelgard', 'Edeltraud', 'Edeltraut', 'Edith', 'Elena', 'Eleonore', 'Elfi', 'Elfriede', 'Elisabeth', 'Elise', 'Elke', 'Ella', 'Ellen', 'Elli', 'Elly', 'Elsa', 'Elsbeth', 'Else', 'Elvira', 'Emilia', 'Emilie', 'Emine', 'Emma', 'Emmi', 'Emmy', 'Erika', 'Erna', 'Ernestine', 'Esther', 'Eugenie', 'Eva', 'Eva-Maria', 'Evelin', 'Eveline', 'Evelyn', 'Evelyne', 'Evi', 'Ewa', - 'Fatma', 'Felicitas', 'Franziska', 'Frauke', 'Frida', 'Frieda', 'Friederike', - 'Gabi', 'Gabriela', 'Gabriele', 'Gaby', 'Galina', 'Gerda', 'Gerhild', 'Gerlinde', 'Gerta', 'Gerti', 'Gertraud', 'Gertraude', 'Gertrud', 'Gertrude', 'Gesa', 'Gesine', 'Giesela', 'Gisela', 'Gitta', 'Grete', 'Gretel', 'Grit', 'Gudrun', 'Gunda', 'Gundula', - 'Halina', 'Hanna', 'Hanne', 'Hannelore', 'Hatice', 'Hedi', 'Hedwig', 'Heide', 'Heidemarie', 'Heiderose', 'Heidi', 'Heidrun', 'Heike', 'Helen', 'Helena', 'Helene', 'Helga', 'Hella', 'Helma', 'Henny', 'Henri', 'Henriette', 'Hermine', 'Herta', 'Hertha', 'Hilda', 'Hilde', 'Hildegard', 'Hiltrud', - 'Ida', 'Ilka', 'Ilona', 'Ilse', 'Imke', 'Ina', 'Ines', 'Inga', 'Inge', 'Ingeborg', 'Ingeburg', 'Ingelore', 'Ingrid', 'Inka', 'Inna', 'Irena', 'Irene', 'Irina', 'Iris', 'Irma', 'Irmgard', 'Irmhild', 'Irmtraud', 'Irmtraut', 'Isa', 'Isabel', 'Isabell', 'Isabella', 'Isabelle', 'Isolde', 'Ivonne', - 'Jacqueline', 'Jana', 'Janet', 'Janina', 'Janine', 'Jaqueline', 'Jasmin', 'Jeanette', 'Jeannette', 'Jennifer', 'Jenny', 'Jessica', 'Joanna', 'Johanna', 'Johanne', 'Jolanta', 'Josefa', 'Josefine', 'Judith', 'Julia', 'Juliane', 'Jutta', - 'Karen', 'Karin', 'Karina', 'Karla', 'Karola', 'Karolina', 'Karoline', 'Katarina', 'Katharina', 'Kathleen', 'Kathrin', 'Kati', 'Katja', 'Katrin', 'Kerstin', 'Kirsten', 'Kirstin', 'Klara', 'Klaudia', 'Konstanze', 'Kornelia', 'Kristin', 'Kristina', 'Krystyna', 'Kunigunde', 'Käte', 'Käthe', - 'Larissa', 'Laura', 'Lena', 'Leni', 'Leonore', 'Liane', 'Lidia', 'Liesbeth', 'Liesel', 'Lieselotte', 'Lilli', 'Lilly', 'Lilo', 'Lina', 'Linda', 'Lisa', 'Lisbeth', 'Liselotte', 'Loni', 'Lore', 'Lotte', 'Lucia', 'Lucie', 'Ludmila', 'Ludmilla', 'Luise', 'Luzia', 'Luzie', 'Lydia', - 'Madeleine', 'Magda', 'Magdalena', 'Magdalene', 'Maike', 'Maja', 'Mandy', 'Manja', 'Manuela', 'Mareike', 'Maren', 'Marga', 'Margareta', 'Margarete', 'Margaretha', 'Margarethe', 'Margarita', 'Margit', 'Margitta', 'Margot', 'Margret', 'Margrit', 'Maria', 'Marianne', 'Marie', 'Marie-Luise', 'Marietta', 'Marija', 'Marika', 'Marina', 'Marion', 'Marita', 'Maritta', 'Marlen', 'Marlene', 'Marlies', 'Marliese', 'Marlis', 'Marta', 'Martha', 'Martina', 'Mathilde', 'Mechthild', 'Meike', 'Melanie', 'Melitta', 'Meta', 'Michaela', 'Mina', 'Minna', 'Miriam', 'Mirjam', 'Mona', 'Monica', 'Monika', 'Monique', - 'Nadine', 'Nadja', 'Nancy', 'Natalia', 'Natalie', 'Natalja', 'Natascha', 'Nathalie', 'Nelli', 'Nicole', 'Nina', 'Nora', - 'Olga', 'Ortrud', 'Ottilie', - 'Pamela', 'Patricia', 'Patrizia', 'Paula', 'Pauline', 'Peggy', 'Petra', 'Pia', - 'Ramona', 'Rebecca', 'Regina', 'Regine', 'Reinhild', 'Reinhilde', 'Renata', 'Renate', 'Resi', 'Ria', 'Ricarda', 'Rita', 'Romy', 'Rosa', 'Rosalinde', 'Rose', 'Rosel', 'Rosemarie', 'Rosi', 'Rosina', 'Rosita', 'Rosmarie', 'Roswitha', 'Ruth', - 'Sabina', 'Sabine', 'Sabrina', 'Sandra', 'Sandy', 'Sara', 'Sarah', 'Saskia', 'Selma', 'Sibylle', 'Sieglinde', 'Siegrid', 'Siglinde', 'Sigrid', 'Sigrun', 'Silke', 'Silvana', 'Silvia', 'Simona', 'Simone', 'Sina', 'Sofia', 'Sofie', 'Sonja', 'Sophia', 'Sophie', 'Stefanie', 'Steffi', 'Stephanie', 'Susan', 'Susann', 'Susanna', 'Susanne', 'Svenja', 'Svetlana', 'Swetlana', 'Sybille', 'Sylke', 'Sylvia', - 'Tamara', 'Tanja', 'Tatjana', 'Teresa', 'Thea', 'Thekla', 'Theresa', 'Therese', 'Theresia', 'Tina', 'Traudel', 'Traute', 'Trude', - 'Ulla', 'Ulrike', 'Ursel', 'Ursula', 'Uschi', 'Uta', 'Ute', - 'Valentina', 'Valeri', 'Valerie', 'Vanessa', 'Vera', 'Verena', 'Veronika', 'Viktoria', 'Viola', - 'Walburga', 'Wally', 'Waltraud', 'Waltraut', 'Wanda', 'Wendelin', 'Wera', 'Wiebke', 'Wilhelmine', 'Wilma', 'Wiltrud', - 'Yvonne', - 'Änne', - ]; + /** + * Top 500 Names from a phone directory (6. January 2005) + * {@link} From https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_weiblichen_Vornamen_Deutschlands + */ + protected static $firstNameFemale = [ + 'Adele', + 'Adelheid', + 'Agathe', + 'Agnes', + 'Alexandra', + 'Alice', + 'Alma', + 'Almut', + 'Aloisia', + 'Alwine', + 'Amalie', + 'Ana', + 'Anastasia', + 'Andrea', + 'Anett', + 'Anette', + 'Angela', + 'Angelika', + 'Anika', + 'Anita', + 'Anja', + 'Anke', + 'Anna', + 'Anna-Maria', + 'Anne', + 'Annegret', + 'Annelie', + 'Annelies', + 'Anneliese', + 'Annelore', + 'Annemarie', + 'Annerose', + 'Annett', + 'Annette', + 'Anni', + 'Annika', + 'Anny', + 'Antje', + 'Antonia', + 'Antonie', + 'Ariane', + 'Astrid', + 'Auguste', + 'Ayse', + 'Babette', + 'Barbara', + 'Beate', + 'Beatrice', + 'Beatrix', + 'Bernadette', + 'Berta', + 'Bettina', + 'Betty', + 'Bianca', + 'Bianka', + 'Birgit', + 'Birgitt', + 'Birgitta', + 'Birte', + 'Brigitta', + 'Brigitte', + 'Britta', + 'Brunhild', + 'Brunhilde', + 'Bärbel', + 'Carina', + 'Carla', + 'Carmen', + 'Carola', + 'Carolin', + 'Caroline', + 'Cathrin', + 'Catrin', + 'Centa', + 'Charlotte', + 'Christa', + 'Christel', + 'Christiane', + 'Christin', + 'Christina', + 'Christine', + 'Christl', + 'Cindy', + 'Claudia', + 'Conny', + 'Constanze', + 'Cordula', + 'Corina', + 'Corinna', + 'Cornelia', + 'Cäcilia', + 'Cäcilie', + 'Dagmar', + 'Dana', + 'Daniela', + 'Danuta', + 'Denise', + 'Diana', + 'Dietlinde', + 'Dora', + 'Doreen', + 'Doris', + 'Dorit', + 'Dorothea', + 'Dorothee', + 'Dunja', + 'Dörte', + 'Edda', + 'Edelgard', + 'Edeltraud', + 'Edeltraut', + 'Edith', + 'Elena', + 'Eleonore', + 'Elfi', + 'Elfriede', + 'Elisabeth', + 'Elise', + 'Elke', + 'Ella', + 'Ellen', + 'Elli', + 'Elly', + 'Elsa', + 'Elsbeth', + 'Else', + 'Elvira', + 'Emilia', + 'Emilie', + 'Emine', + 'Emma', + 'Emmi', + 'Emmy', + 'Erika', + 'Erna', + 'Ernestine', + 'Esther', + 'Eugenie', + 'Eva', + 'Eva-Maria', + 'Evelin', + 'Eveline', + 'Evelyn', + 'Evelyne', + 'Evi', + 'Ewa', + 'Fatma', + 'Felicitas', + 'Franziska', + 'Frauke', + 'Frida', + 'Frieda', + 'Friederike', + 'Gabi', + 'Gabriela', + 'Gabriele', + 'Gaby', + 'Galina', + 'Gerda', + 'Gerhild', + 'Gerlinde', + 'Gerta', + 'Gerti', + 'Gertraud', + 'Gertraude', + 'Gertrud', + 'Gertrude', + 'Gesa', + 'Gesine', + 'Giesela', + 'Gisela', + 'Gitta', + 'Grete', + 'Gretel', + 'Grit', + 'Gudrun', + 'Gunda', + 'Gundula', + 'Halina', + 'Hanna', + 'Hanne', + 'Hannelore', + 'Hatice', + 'Hedi', + 'Hedwig', + 'Heide', + 'Heidemarie', + 'Heiderose', + 'Heidi', + 'Heidrun', + 'Heike', + 'Helen', + 'Helena', + 'Helene', + 'Helga', + 'Hella', + 'Helma', + 'Henny', + 'Henri', + 'Henriette', + 'Hermine', + 'Herta', + 'Hertha', + 'Hilda', + 'Hilde', + 'Hildegard', + 'Hiltrud', + 'Ida', + 'Ilka', + 'Ilona', + 'Ilse', + 'Imke', + 'Ina', + 'Ines', + 'Inga', + 'Inge', + 'Ingeborg', + 'Ingeburg', + 'Ingelore', + 'Ingrid', + 'Inka', + 'Inna', + 'Irena', + 'Irene', + 'Irina', + 'Iris', + 'Irma', + 'Irmgard', + 'Irmhild', + 'Irmtraud', + 'Irmtraut', + 'Isa', + 'Isabel', + 'Isabell', + 'Isabella', + 'Isabelle', + 'Isolde', + 'Ivonne', + 'Jacqueline', + 'Jana', + 'Janet', + 'Janina', + 'Janine', + 'Jaqueline', + 'Jasmin', + 'Jeanette', + 'Jeannette', + 'Jennifer', + 'Jenny', + 'Jessica', + 'Joanna', + 'Johanna', + 'Johanne', + 'Jolanta', + 'Josefa', + 'Josefine', + 'Judith', + 'Julia', + 'Juliane', + 'Jutta', + 'Karen', + 'Karin', + 'Karina', + 'Karla', + 'Karola', + 'Karolina', + 'Karoline', + 'Katarina', + 'Katharina', + 'Kathleen', + 'Kathrin', + 'Kati', + 'Katja', + 'Katrin', + 'Kerstin', + 'Kirsten', + 'Kirstin', + 'Klara', + 'Klaudia', + 'Konstanze', + 'Kornelia', + 'Kristin', + 'Kristina', + 'Krystyna', + 'Kunigunde', + 'Käte', + 'Käthe', + 'Larissa', + 'Laura', + 'Lena', + 'Leni', + 'Leonore', + 'Liane', + 'Lidia', + 'Liesbeth', + 'Liesel', + 'Lieselotte', + 'Lilli', + 'Lilly', + 'Lilo', + 'Lina', + 'Linda', + 'Lisa', + 'Lisbeth', + 'Liselotte', + 'Loni', + 'Lore', + 'Lotte', + 'Lucia', + 'Lucie', + 'Ludmila', + 'Ludmilla', + 'Luise', + 'Luzia', + 'Luzie', + 'Lydia', + 'Madeleine', + 'Magda', + 'Magdalena', + 'Magdalene', + 'Maike', + 'Maja', + 'Mandy', + 'Manja', + 'Manuela', + 'Mareike', + 'Maren', + 'Marga', + 'Margareta', + 'Margarete', + 'Margaretha', + 'Margarethe', + 'Margarita', + 'Margit', + 'Margitta', + 'Margot', + 'Margret', + 'Margrit', + 'Maria', + 'Marianne', + 'Marie', + 'Marie-Luise', + 'Marietta', + 'Marija', + 'Marika', + 'Marina', + 'Marion', + 'Marita', + 'Maritta', + 'Marlen', + 'Marlene', + 'Marlies', + 'Marliese', + 'Marlis', + 'Marta', + 'Martha', + 'Martina', + 'Mathilde', + 'Mechthild', + 'Meike', + 'Melanie', + 'Melitta', + 'Meta', + 'Michaela', + 'Mina', + 'Minna', + 'Miriam', + 'Mirjam', + 'Mona', + 'Monica', + 'Monika', + 'Monique', + 'Nadine', + 'Nadja', + 'Nancy', + 'Natalia', + 'Natalie', + 'Natalja', + 'Natascha', + 'Nathalie', + 'Nelli', + 'Nicole', + 'Nina', + 'Nora', + 'Olga', + 'Ortrud', + 'Ottilie', + 'Pamela', + 'Patricia', + 'Patrizia', + 'Paula', + 'Pauline', + 'Peggy', + 'Petra', + 'Pia', + 'Ramona', + 'Rebecca', + 'Regina', + 'Regine', + 'Reinhild', + 'Reinhilde', + 'Renata', + 'Renate', + 'Resi', + 'Ria', + 'Ricarda', + 'Rita', + 'Romy', + 'Rosa', + 'Rosalinde', + 'Rose', + 'Rosel', + 'Rosemarie', + 'Rosi', + 'Rosina', + 'Rosita', + 'Rosmarie', + 'Roswitha', + 'Ruth', + 'Sabina', + 'Sabine', + 'Sabrina', + 'Sandra', + 'Sandy', + 'Sara', + 'Sarah', + 'Saskia', + 'Selma', + 'Sibylle', + 'Sieglinde', + 'Siegrid', + 'Siglinde', + 'Sigrid', + 'Sigrun', + 'Silke', + 'Silvana', + 'Silvia', + 'Simona', + 'Simone', + 'Sina', + 'Sofia', + 'Sofie', + 'Sonja', + 'Sophia', + 'Sophie', + 'Stefanie', + 'Steffi', + 'Stephanie', + 'Susan', + 'Susann', + 'Susanna', + 'Susanne', + 'Svenja', + 'Svetlana', + 'Swetlana', + 'Sybille', + 'Sylke', + 'Sylvia', + 'Tamara', + 'Tanja', + 'Tatjana', + 'Teresa', + 'Thea', + 'Thekla', + 'Theresa', + 'Therese', + 'Theresia', + 'Tina', + 'Traudel', + 'Traute', + 'Trude', + 'Ulla', + 'Ulrike', + 'Ursel', + 'Ursula', + 'Uschi', + 'Uta', + 'Ute', + 'Valentina', + 'Valeri', + 'Valerie', + 'Vanessa', + 'Vera', + 'Verena', + 'Veronika', + 'Viktoria', + 'Viola', + 'Walburga', + 'Wally', + 'Waltraud', + 'Waltraut', + 'Wanda', + 'Wendelin', + 'Wera', + 'Wiebke', + 'Wilhelmine', + 'Wilma', + 'Wiltrud', + 'Yvonne', + 'Änne', + ]; - /** - * Top 500 Names from a phone directory (6. January 2005) - * {@link} https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_Nachnamen_Deutschlands - */ - protected static $lastName = [ - 'Ackermann', 'Adam', 'Adler', 'Ahrens', 'Albers', 'Albert', 'Albrecht', 'Altmann', 'Anders', 'Appel', 'Arndt', 'Arnold', 'Auer', - 'Bach', 'Bachmann', 'Bader', 'Baier', 'Bartels', 'Barth', 'Barthel', 'Bartsch', 'Bauer', 'Baum', 'Baumann', 'Baumgartner', 'Baur', 'Bayer', 'Beck', 'Becker', 'Beckmann', 'Beer', 'Behrendt', 'Behrens', 'Beier', 'Bender', 'Benz', 'Berg', 'Berger', 'Bergmann', 'Berndt', 'Bernhardt', 'Bertram', 'Betz', 'Beyer', 'Binder', 'Bischoff', 'Bittner', 'Blank', 'Block', 'Blum', 'Bock', 'Bode', 'Born', 'Brand', 'Brandl', 'Brandt', 'Braun', 'Brenner', 'Breuer', 'Brinkmann', 'Brunner', 'Bruns', 'Brückner', 'Buchholz', 'Buck', 'Burger', 'Burkhardt', 'Busch', 'Busse', 'Bär', 'Böhm', 'Böhme', 'Böttcher', 'Bühler', 'Büttner', - 'Christ', 'Conrad', - 'Decker', 'Diehl', 'Dietrich', 'Dietz', 'Dittrich', 'Dorn', 'Döring', 'Dörr', - 'Eberhardt', 'Ebert', 'Eckert', 'Eder', 'Ehlers', 'Eichhorn', 'Engel', 'Engelhardt', 'Engelmann', 'Erdmann', 'Ernst', 'Esser', - 'Falk', 'Feldmann', 'Fiedler', 'Fink', 'Fischer', 'Fleischer', 'Fleischmann', 'Forster', 'Frank', 'Franke', 'Franz', 'Freitag', 'Freund', 'Frey', 'Fricke', 'Friedrich', 'Fritsch', 'Fritz', 'Fröhlich', 'Fuchs', 'Fuhrmann', 'Funk', 'Funke', 'Förster', - 'Gabriel', 'Gebhardt', 'Geiger', 'Geisler', 'Geißler', 'Gerber', 'Gerlach', 'Geyer', 'Giese', 'Glaser', 'Gottschalk', 'Graf', 'Greiner', 'Grimm', 'Gross', 'Groß', 'Großmann', 'Gruber', 'Gärtner', 'Göbel', 'Götz', 'Günther', - 'Haag', 'Haas', 'Haase', 'Hagen', 'Hahn', 'Hamann', 'Hammer', 'Hanke', 'Hansen', 'Harms', 'Hartmann', 'Hartung', 'Hartwig', 'Haupt', 'Hauser', 'Hecht', 'Heck', 'Heil', 'Heim', 'Hein', 'Heine', 'Heinemann', 'Heinrich', 'Heinz', 'Heinze', 'Held', 'Heller', 'Hempel', 'Henke', 'Henkel', 'Hennig', 'Henning', 'Hentschel', 'Herbst', 'Hermann', 'Herold', 'Herrmann', 'Herzog', 'Hess', 'Hesse', 'Heuer', 'Heß', 'Hildebrandt', 'Hiller', 'Hinz', 'Hirsch', 'Hoffmann', 'Hofmann', 'Hohmann', 'Holz', 'Hoppe', 'Horn', 'Huber', 'Hummel', 'Hübner', - 'Jacob', 'Jacobs', 'Jahn', 'Jakob', 'Jansen', 'Janssen', 'Janßen', 'John', 'Jordan', 'Jost', 'Jung', 'Jäger', 'Jürgens', - 'Kaiser', 'Karl', 'Kaufmann', 'Keil', 'Keller', 'Kellner', 'Kern', 'Kessler', 'Keßler', 'Kiefer', 'Kirchner', 'Kirsch', 'Klaus', 'Klein', 'Klemm', 'Klose', 'Kluge', 'Knoll', 'Koch', 'Kohl', 'Kolb', 'Konrad', 'Kopp', 'Kraft', 'Kramer', 'Kraus', 'Krause', 'Krauß', 'Krebs', 'Kremer', 'Kretschmer', 'Krieger', 'Kroll', 'Krug', 'Kruse', 'Krämer', 'Kröger', 'Krüger', 'Kuhlmann', 'Kuhn', 'Kunz', 'Kunze', 'Kurz', 'Köhler', 'König', 'Körner', 'Köster', 'Kühn', 'Kühne', - 'Lang', 'Lange', 'Langer', 'Lauer', 'Lechner', 'Lehmann', 'Lemke', 'Lenz', 'Lindemann', 'Lindner', 'Link', 'Linke', 'Lohmann', 'Lorenz', 'Ludwig', 'Lutz', 'Löffler', - 'Mack', 'Mai', 'Maier', 'Mann', 'Marquardt', 'Martens', 'Martin', 'Marx', 'Maurer', 'May', 'Mayer', 'Mayr', 'Meier', 'Meister', 'Meißner', 'Menzel', 'Merkel', 'Mertens', 'Merz', 'Metz', 'Metzger', 'Meyer', 'Michel', 'Michels', 'Miller', 'Mohr', 'Moll', 'Moritz', 'Moser', 'Möller', 'Müller', 'Münch', - 'Nagel', 'Naumann', 'Neubauer', 'Neubert', 'Neuhaus', 'Neumann', 'Nickel', 'Niemann', 'Noack', 'Noll', 'Nolte', 'Nowak', - 'Opitz', 'Oswald', 'Ott', 'Otto', - 'Pape', 'Paul', 'Peter', 'Peters', 'Petersen', 'Pfeifer', 'Pfeiffer', 'Philipp', 'Pieper', 'Pietsch', 'Pohl', 'Popp', 'Preuß', 'Probst', - 'Raab', 'Rapp', 'Rau', 'Rauch', 'Rausch', 'Reich', 'Reichel', 'Reichert', 'Reimann', 'Reimer', 'Reinhardt', 'Reiter', 'Renner', 'Reuter', 'Richter', 'Riedel', 'Riedl', 'Rieger', 'Ritter', 'Rohde', 'Rose', 'Roth', 'Rothe', 'Rudolph', 'Ruf', 'Runge', 'Rupp', 'Röder', 'Römer', - 'Sander', 'Sauer', 'Sauter', 'Schade', 'Schaller', 'Scharf', 'Scheffler', 'Schenk', 'Scherer', 'Schiller', 'Schilling', 'Schindler', 'Schlegel', 'Schlüter', 'Schmid', 'Schmidt', 'Schmitt', 'Schmitz', 'Schneider', 'Scholz', 'Schott', 'Schrader', 'Schramm', 'Schreiber', 'Schreiner', 'Schröder', 'Schröter', 'Schubert', 'Schuler', 'Schulte', 'Schultz', 'Schulz', 'Schulze', 'Schumacher', 'Schumann', 'Schuster', 'Schwab', 'Schwarz', 'Schweizer', 'Schäfer', 'Schön', 'Schüler', 'Schütte', 'Schütz', 'Schütze', 'Seeger', 'Seidel', 'Seidl', 'Seifert', 'Seiler', 'Seitz', 'Siebert', 'Simon', 'Singer', 'Sommer', 'Sonntag', 'Springer', 'Stadler', 'Stahl', 'Stark', 'Steffen', 'Steffens', 'Stein', 'Steinbach', 'Steiner', 'Stephan', 'Stock', 'Stoll', 'Straub', 'Strauß', 'Strobel', 'Stumpf', 'Sturm', - 'Thiel', 'Thiele', 'Thomas', - 'Ullrich', 'Ulrich', 'Unger', 'Urban', - 'Vetter', 'Vogel', 'Vogt', 'Voigt', 'Vollmer', 'Voss', 'Voß', 'Völker', - 'Wagner', 'Wahl', 'Walter', 'Walther', 'Weber', 'Wegener', 'Wegner', 'Weidner', 'Weigel', 'Weis', 'Weise', 'Weiss', 'Weiß', 'Wendt', 'Wenzel', 'Werner', 'Westphal', 'Wetzel', 'Wiedemann', 'Wiegand', 'Wieland', 'Wiese', 'Wiesner', 'Wild', 'Wilhelm', 'Wilke', 'Will', 'Wimmer', 'Winkler', 'Winter', 'Wirth', 'Witt', 'Witte', 'Wittmann', 'Wolf', 'Wolff', 'Wolter', 'Wulf', 'Wunderlich', - 'Zander', 'Zeller', 'Ziegler', 'Zimmer', 'Zimmermann', - ]; + /** + * Top 500 Names from a phone directory (6. January 2005) + * {@link} https://de.wiktionary.org/wiki/Verzeichnis:Deutsch/Namen/die_h%C3%A4ufigsten_Nachnamen_Deutschlands + */ + protected static $lastName = [ + 'Ackermann', + 'Adam', + 'Adler', + 'Ahrens', + 'Albers', + 'Albert', + 'Albrecht', + 'Altmann', + 'Anders', + 'Appel', + 'Arndt', + 'Arnold', + 'Auer', + 'Bach', + 'Bachmann', + 'Bader', + 'Baier', + 'Bartels', + 'Barth', + 'Barthel', + 'Bartsch', + 'Bauer', + 'Baum', + 'Baumann', + 'Baumgartner', + 'Baur', + 'Bayer', + 'Beck', + 'Becker', + 'Beckmann', + 'Beer', + 'Behrendt', + 'Behrens', + 'Beier', + 'Bender', + 'Benz', + 'Berg', + 'Berger', + 'Bergmann', + 'Berndt', + 'Bernhardt', + 'Bertram', + 'Betz', + 'Beyer', + 'Binder', + 'Bischoff', + 'Bittner', + 'Blank', + 'Block', + 'Blum', + 'Bock', + 'Bode', + 'Born', + 'Brand', + 'Brandl', + 'Brandt', + 'Braun', + 'Brenner', + 'Breuer', + 'Brinkmann', + 'Brunner', + 'Bruns', + 'Brückner', + 'Buchholz', + 'Buck', + 'Burger', + 'Burkhardt', + 'Busch', + 'Busse', + 'Bär', + 'Böhm', + 'Böhme', + 'Böttcher', + 'Bühler', + 'Büttner', + 'Christ', + 'Conrad', + 'Decker', + 'Diehl', + 'Dietrich', + 'Dietz', + 'Dittrich', + 'Dorn', + 'Döring', + 'Dörr', + 'Eberhardt', + 'Ebert', + 'Eckert', + 'Eder', + 'Ehlers', + 'Eichhorn', + 'Engel', + 'Engelhardt', + 'Engelmann', + 'Erdmann', + 'Ernst', + 'Esser', + 'Falk', + 'Feldmann', + 'Fiedler', + 'Fink', + 'Fischer', + 'Fleischer', + 'Fleischmann', + 'Forster', + 'Frank', + 'Franke', + 'Franz', + 'Freitag', + 'Freund', + 'Frey', + 'Fricke', + 'Friedrich', + 'Fritsch', + 'Fritz', + 'Fröhlich', + 'Fuchs', + 'Fuhrmann', + 'Funk', + 'Funke', + 'Förster', + 'Gabriel', + 'Gebhardt', + 'Geiger', + 'Geisler', + 'Geißler', + 'Gerber', + 'Gerlach', + 'Geyer', + 'Giese', + 'Glaser', + 'Gottschalk', + 'Graf', + 'Greiner', + 'Grimm', + 'Gross', + 'Groß', + 'Großmann', + 'Gruber', + 'Gärtner', + 'Göbel', + 'Götz', + 'Günther', + 'Haag', + 'Haas', + 'Haase', + 'Hagen', + 'Hahn', + 'Hamann', + 'Hammer', + 'Hanke', + 'Hansen', + 'Harms', + 'Hartmann', + 'Hartung', + 'Hartwig', + 'Haupt', + 'Hauser', + 'Hecht', + 'Heck', + 'Heil', + 'Heim', + 'Hein', + 'Heine', + 'Heinemann', + 'Heinrich', + 'Heinz', + 'Heinze', + 'Held', + 'Heller', + 'Hempel', + 'Henke', + 'Henkel', + 'Hennig', + 'Henning', + 'Hentschel', + 'Herbst', + 'Hermann', + 'Herold', + 'Herrmann', + 'Herzog', + 'Hess', + 'Hesse', + 'Heuer', + 'Heß', + 'Hildebrandt', + 'Hiller', + 'Hinz', + 'Hirsch', + 'Hoffmann', + 'Hofmann', + 'Hohmann', + 'Holz', + 'Hoppe', + 'Horn', + 'Huber', + 'Hummel', + 'Hübner', + 'Jacob', + 'Jacobs', + 'Jahn', + 'Jakob', + 'Jansen', + 'Janssen', + 'Janßen', + 'John', + 'Jordan', + 'Jost', + 'Jung', + 'Jäger', + 'Jürgens', + 'Kaiser', + 'Karl', + 'Kaufmann', + 'Keil', + 'Keller', + 'Kellner', + 'Kern', + 'Kessler', + 'Keßler', + 'Kiefer', + 'Kirchner', + 'Kirsch', + 'Klaus', + 'Klein', + 'Klemm', + 'Klose', + 'Kluge', + 'Knoll', + 'Koch', + 'Kohl', + 'Kolb', + 'Konrad', + 'Kopp', + 'Kraft', + 'Kramer', + 'Kraus', + 'Krause', + 'Krauß', + 'Krebs', + 'Kremer', + 'Kretschmer', + 'Krieger', + 'Kroll', + 'Krug', + 'Kruse', + 'Krämer', + 'Kröger', + 'Krüger', + 'Kuhlmann', + 'Kuhn', + 'Kunz', + 'Kunze', + 'Kurz', + 'Köhler', + 'König', + 'Körner', + 'Köster', + 'Kühn', + 'Kühne', + 'Lang', + 'Lange', + 'Langer', + 'Lauer', + 'Lechner', + 'Lehmann', + 'Lemke', + 'Lenz', + 'Lindemann', + 'Lindner', + 'Link', + 'Linke', + 'Lohmann', + 'Lorenz', + 'Ludwig', + 'Lutz', + 'Löffler', + 'Mack', + 'Mai', + 'Maier', + 'Mann', + 'Marquardt', + 'Martens', + 'Martin', + 'Marx', + 'Maurer', + 'May', + 'Mayer', + 'Mayr', + 'Meier', + 'Meister', + 'Meißner', + 'Menzel', + 'Merkel', + 'Mertens', + 'Merz', + 'Metz', + 'Metzger', + 'Meyer', + 'Michel', + 'Michels', + 'Miller', + 'Mohr', + 'Moll', + 'Moritz', + 'Moser', + 'Möller', + 'Müller', + 'Münch', + 'Nagel', + 'Naumann', + 'Neubauer', + 'Neubert', + 'Neuhaus', + 'Neumann', + 'Nickel', + 'Niemann', + 'Noack', + 'Noll', + 'Nolte', + 'Nowak', + 'Opitz', + 'Oswald', + 'Ott', + 'Otto', + 'Pape', + 'Paul', + 'Peter', + 'Peters', + 'Petersen', + 'Pfeifer', + 'Pfeiffer', + 'Philipp', + 'Pieper', + 'Pietsch', + 'Pohl', + 'Popp', + 'Preuß', + 'Probst', + 'Raab', + 'Rapp', + 'Rau', + 'Rauch', + 'Rausch', + 'Reich', + 'Reichel', + 'Reichert', + 'Reimann', + 'Reimer', + 'Reinhardt', + 'Reiter', + 'Renner', + 'Reuter', + 'Richter', + 'Riedel', + 'Riedl', + 'Rieger', + 'Ritter', + 'Rohde', + 'Rose', + 'Roth', + 'Rothe', + 'Rudolph', + 'Ruf', + 'Runge', + 'Rupp', + 'Röder', + 'Römer', + 'Sander', + 'Sauer', + 'Sauter', + 'Schade', + 'Schaller', + 'Scharf', + 'Scheffler', + 'Schenk', + 'Scherer', + 'Schiller', + 'Schilling', + 'Schindler', + 'Schlegel', + 'Schlüter', + 'Schmid', + 'Schmidt', + 'Schmitt', + 'Schmitz', + 'Schneider', + 'Scholz', + 'Schott', + 'Schrader', + 'Schramm', + 'Schreiber', + 'Schreiner', + 'Schröder', + 'Schröter', + 'Schubert', + 'Schuler', + 'Schulte', + 'Schultz', + 'Schulz', + 'Schulze', + 'Schumacher', + 'Schumann', + 'Schuster', + 'Schwab', + 'Schwarz', + 'Schweizer', + 'Schäfer', + 'Schön', + 'Schüler', + 'Schütte', + 'Schütz', + 'Schütze', + 'Seeger', + 'Seidel', + 'Seidl', + 'Seifert', + 'Seiler', + 'Seitz', + 'Siebert', + 'Simon', + 'Singer', + 'Sommer', + 'Sonntag', + 'Springer', + 'Stadler', + 'Stahl', + 'Stark', + 'Steffen', + 'Steffens', + 'Stein', + 'Steinbach', + 'Steiner', + 'Stephan', + 'Stock', + 'Stoll', + 'Straub', + 'Strauß', + 'Strobel', + 'Stumpf', + 'Sturm', + 'Thiel', + 'Thiele', + 'Thomas', + 'Ullrich', + 'Ulrich', + 'Unger', + 'Urban', + 'Vetter', + 'Vogel', + 'Vogt', + 'Voigt', + 'Vollmer', + 'Voss', + 'Voß', + 'Völker', + 'Wagner', + 'Wahl', + 'Walter', + 'Walther', + 'Weber', + 'Wegener', + 'Wegner', + 'Weidner', + 'Weigel', + 'Weis', + 'Weise', + 'Weiss', + 'Weiß', + 'Wendt', + 'Wenzel', + 'Werner', + 'Westphal', + 'Wetzel', + 'Wiedemann', + 'Wiegand', + 'Wieland', + 'Wiese', + 'Wiesner', + 'Wild', + 'Wilhelm', + 'Wilke', + 'Will', + 'Wimmer', + 'Winkler', + 'Winter', + 'Wirth', + 'Witt', + 'Witte', + 'Wittmann', + 'Wolf', + 'Wolff', + 'Wolter', + 'Wulf', + 'Wunderlich', + 'Zander', + 'Zeller', + 'Ziegler', + 'Zimmer', + 'Zimmermann', + ]; - protected static $titleMale = ['Herr', 'Herr Dr.', 'Herr Prof.', 'Herr Prof. Dr.']; - protected static $titleFemale = ['Frau', 'Frau Dr.', 'Frau Prof.', 'Frau Prof. Dr.']; + protected static $titleMale = [ 'Herr', 'Herr Dr.', 'Herr Prof.', 'Herr Prof. Dr.' ]; + protected static $titleFemale = [ 'Frau', 'Frau Dr.', 'Frau Prof.', 'Frau Prof. Dr.' ]; - protected static $suffix = ['B.Sc.', 'B.A.', 'B.Eng.', 'MBA.']; + protected static $suffix = [ 'B.Sc.', 'B.A.', 'B.Eng.', 'MBA.' ]; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/PhoneNumber.php index 610ae8e..6bdfe53 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/PhoneNumber.php @@ -2,126 +2,136 @@ namespace Faker\Provider\de_DE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array - */ - protected static $areaCodeRegexes = [ - 2 => '(0[0-389]|0[4-6][1-68]|1[124]|1[0-9][0-9]|2[18]|2[0-9][1-9]|3[14]|3[0-35-9][0-9]|4[1]|4[02-8][0-9]|5[1]|5[02-9][0-9]|6[1]|6[02-9][0-9]|7[1]|7[2-7][0-9]|8[1]|8[02-7][0-9]|9[1]|9[02-9][0-9])', - 3 => '(0|3[15]|3[02-46-9][1-9]|3[02-46-9][02-9][0-9]|4[015]|4[2-4679][1-8]|4[2-4679][02-9][0-9]|5[15]|5[02-46-9][1-9]|5[02-46-9][02-9][0-9]|6[15]|6[02-46-9][1-9]|6[02-46-9][02-9][0-9]|7[15]|7[2-467][1-7]|7[2-467][02-689][0-9]|8[15]|8[2-46-8][013-9]|8[2-46-8][02-9][0-9]|9[15]|9[02-46-9][1-9]|9[02-46-9][02-9][0-9])', - 4 => '(0|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-9][0-9]|5[1]|5[02-6][0-9]|6[1]|6[02-8][0-9]|7[1]|7[02-79][0-9]|8[1]|8[02-9][0-9]|9[1]|9[02-7][0-9])', - 5 => '(0[2-8][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][1-9]|3[1]|3[02-8][0-9]|4[1]|4[02-9][1-9]|5[1]|5[02-9][0-9]|6[1]|6[02-9][0-9]|7[1]|7[02-7][1-9]|8[1]|8[02-8][0-9]|9[1]|9[0-7][1-9])', - 6 => '(0[02-9][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-8][0-9]|5[1]|5[02-9][0-9]|6[1]|6[2-9][0-9]|7[1]|7[02-8][1-9]|8[1]|8[02-9][1-9]|9)', - 7 => '(0[2-8][1-6]|1[1]|1[2-9][0-9]|2[1]|2[0-7][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-8][0-9]|5[1]|5[02-8][0-9]|6[1]|6[02-8][0-9]|7[1]|7[02-7][0-9]|8[1]|8[02-5][1-9]|9[1]|9[03-7][0-9])', - 8 => '(0[2-9][0-9]|1[1]|1[02-79][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[02-6][0-9]|5[1]|5[02-9][0-9]|6[1]|6[2-8][0-9]|7[1]|7[02-8][1-9]|8[1]|8[02-6][0-9]|9)', - 9 => '(0[6]|0[07-9][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[02-9][0-9]|5[1]|5[02-7][0-9]|6[1]|6[02-8][1-9]|7[1]|7[02-467][0-9]|8[1]|8[02-7][0-9]|9[1]|9[02-7][0-9])', - ]; - - /** - * @see https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers#Germany - * @see https://www.itu.int/oth/T0202000051/en - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Germany - */ - protected static $formats = [ - // International format - '+49 {{areaCode}} #######', - '+49 {{areaCode}} ### ####', - '+49 (0{{areaCode}}) #######', - '+49 (0{{areaCode}}) ### ####', - '+49{{areaCode}}#######', - '+49{{areaCode}}### ####', - - // Standard formats - '0{{areaCode}} ### ####', - '0{{areaCode}} #######', - '(0{{areaCode}}) ### ####', - '(0{{areaCode}}) #######', - ]; - - protected static $e164Formats = [ - '+49{{areaCode}}#######', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Toll-free_telephone_number - */ - protected static $tollFreeAreaCodes = [ - 800, - ]; - - protected static $tollFreeFormats = [ - // Standard formats - '0{{tollFreeAreaCode}} ### ####', - '(0{{tollFreeAreaCode}}) ### ####', - '+49{{tollFreeAreaCode}} ### ####', - ]; - - public function tollFreeAreaCode() - { - return self::randomElement(static::$tollFreeAreaCodes); - } - - public function tollFreePhoneNumber() - { - $format = self::randomElement(static::$tollFreeFormats); - - return self::numerify($this->generator->parse($format)); - } - - protected static $mobileCodes = [ - 1511, 1512, 1514, 1515, 1516, 1517, - 1520, 1521, 1522, 1523, 1525, 1526, 1529, - 1570, 1573, 1575, 1577, 1578, 1579, - 1590, - ]; - - protected static $mobileFormats = [ - '+49{{mobileCode}}#######', - '+49 {{mobileCode}} ### ####', - '0{{mobileCode}}#######', - '0{{mobileCode}} ### ####', - '0 {{mobileCode}} ### ####', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_dialling_codes_in_Germany - * - * @return string - */ - public static function areaCode() - { - $firstDigit = self::numberBetween(2, 9); - - return $firstDigit . self::regexify(self::$areaCodeRegexes[$firstDigit]); - } - - /** - * Generate a code for a mobile number. - * - * @internal Used to generate mobile numbers. - * - * @return string - */ - public static function mobileCode() - { - return static::randomElement(static::$mobileCodes); - } - - /** - * Generate a mobile number. - * - * @example A mobile number: '015111234567' - * @example A mobile number with spaces: '01511 123 4567' - * @example A mobile number with international code prefix: '+4915111234567' - * @example A mobile number with international code prefix and spaces: '+49 1511 123 4567' - * - * @return string - */ - public function mobileNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$mobileFormats), - ))); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array + */ + protected static $areaCodeRegexes = [ + 2 => '(0[0-389]|0[4-6][1-68]|1[124]|1[0-9][0-9]|2[18]|2[0-9][1-9]|3[14]|3[0-35-9][0-9]|4[1]|4[02-8][0-9]|5[1]|5[02-9][0-9]|6[1]|6[02-9][0-9]|7[1]|7[2-7][0-9]|8[1]|8[02-7][0-9]|9[1]|9[02-9][0-9])', + 3 => '(0|3[15]|3[02-46-9][1-9]|3[02-46-9][02-9][0-9]|4[015]|4[2-4679][1-8]|4[2-4679][02-9][0-9]|5[15]|5[02-46-9][1-9]|5[02-46-9][02-9][0-9]|6[15]|6[02-46-9][1-9]|6[02-46-9][02-9][0-9]|7[15]|7[2-467][1-7]|7[2-467][02-689][0-9]|8[15]|8[2-46-8][013-9]|8[2-46-8][02-9][0-9]|9[15]|9[02-46-9][1-9]|9[02-46-9][02-9][0-9])', + 4 => '(0|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-9][0-9]|5[1]|5[02-6][0-9]|6[1]|6[02-8][0-9]|7[1]|7[02-79][0-9]|8[1]|8[02-9][0-9]|9[1]|9[02-7][0-9])', + 5 => '(0[2-8][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][1-9]|3[1]|3[02-8][0-9]|4[1]|4[02-9][1-9]|5[1]|5[02-9][0-9]|6[1]|6[02-9][0-9]|7[1]|7[02-7][1-9]|8[1]|8[02-8][0-9]|9[1]|9[0-7][1-9])', + 6 => '(0[02-9][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-8][0-9]|5[1]|5[02-9][0-9]|6[1]|6[2-9][0-9]|7[1]|7[02-8][1-9]|8[1]|8[02-9][1-9]|9)', + 7 => '(0[2-8][1-6]|1[1]|1[2-9][0-9]|2[1]|2[0-7][0-9]|3[1]|3[02-9][0-9]|4[1]|4[0-8][0-9]|5[1]|5[02-8][0-9]|6[1]|6[02-8][0-9]|7[1]|7[02-7][0-9]|8[1]|8[02-5][1-9]|9[1]|9[03-7][0-9])', + 8 => '(0[2-9][0-9]|1[1]|1[02-79][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[02-6][0-9]|5[1]|5[02-9][0-9]|6[1]|6[2-8][0-9]|7[1]|7[02-8][1-9]|8[1]|8[02-6][0-9]|9)', + 9 => '(0[6]|0[07-9][0-9]|1[1]|1[02-9][0-9]|2[1]|2[02-9][0-9]|3[1]|3[02-9][0-9]|4[1]|4[02-9][0-9]|5[1]|5[02-7][0-9]|6[1]|6[02-8][1-9]|7[1]|7[02-467][0-9]|8[1]|8[02-7][0-9]|9[1]|9[02-7][0-9])', + ]; + + /** + * @see https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers#Germany + * @see https://www.itu.int/oth/T0202000051/en + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Germany + */ + protected static $formats = [ + // International format + '+49 {{areaCode}} #######', + '+49 {{areaCode}} ### ####', + '+49 (0{{areaCode}}) #######', + '+49 (0{{areaCode}}) ### ####', + '+49{{areaCode}}#######', + '+49{{areaCode}}### ####', + + // Standard formats + '0{{areaCode}} ### ####', + '0{{areaCode}} #######', + '(0{{areaCode}}) ### ####', + '(0{{areaCode}}) #######', + ]; + + protected static $e164Formats = [ + '+49{{areaCode}}#######', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Toll-free_telephone_number + */ + protected static $tollFreeAreaCodes = [ + 800, + ]; + + protected static $tollFreeFormats = [ + // Standard formats + '0{{tollFreeAreaCode}} ### ####', + '(0{{tollFreeAreaCode}}) ### ####', + '+49{{tollFreeAreaCode}} ### ####', + ]; + + public function tollFreeAreaCode() { + return self::randomElement( static::$tollFreeAreaCodes ); + } + + public function tollFreePhoneNumber() { + $format = self::randomElement( static::$tollFreeFormats ); + + return self::numerify( $this->generator->parse( $format ) ); + } + + protected static $mobileCodes = [ + 1511, + 1512, + 1514, + 1515, + 1516, + 1517, + 1520, + 1521, + 1522, + 1523, + 1525, + 1526, + 1529, + 1570, + 1573, + 1575, + 1577, + 1578, + 1579, + 1590, + ]; + + protected static $mobileFormats = [ + '+49{{mobileCode}}#######', + '+49 {{mobileCode}} ### ####', + '0{{mobileCode}}#######', + '0{{mobileCode}} ### ####', + '0 {{mobileCode}} ### ####', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_dialling_codes_in_Germany + * + * @return string + */ + public static function areaCode() { + $firstDigit = self::numberBetween( 2, 9 ); + + return $firstDigit . self::regexify( self::$areaCodeRegexes[ $firstDigit ] ); + } + + /** + * Generate a code for a mobile number. + * + * @return string + * @internal Used to generate mobile numbers. + * + */ + public static function mobileCode() { + return static::randomElement( static::$mobileCodes ); + } + + /** + * Generate a mobile number. + * + * @return string + * @example A mobile number with spaces: '01511 123 4567' + * @example A mobile number with international code prefix: '+4915111234567' + * @example A mobile number with international code prefix and spaces: '+49 1511 123 4567' + * + * @example A mobile number: '015111234567' + */ + public function mobileNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$mobileFormats ), + ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Text.php b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Text.php index 55ed5a5..41abcd8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/de_DE/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/de_DE/Text.php @@ -2,37 +2,36 @@ namespace Faker\Provider\de_DE; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by - * Johann Wolfgang von Goethe - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org - * - * Title: Die Leiden des jungen Werther--Buch 1 - * - * Author: Johann Wolfgang von Goethe - * - * Posting Date: June 28, 2011 [EBook #2407] - * Release Date: November, 2000 - * - * Language: German - * - * *** START OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** - * - * Produced by Michael Pullen, globaltraveler5565@yahoo.com - * with proofreading and correction by Dr. Mary Cicora, - * mcicora@yahoo.com. - * - * @see http://www.gutenberg.org/cache/epub/2407/pg2407.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by + * Johann Wolfgang von Goethe + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org + * + * Title: Die Leiden des jungen Werther--Buch 1 + * + * Author: Johann Wolfgang von Goethe + * + * Posting Date: June 28, 2011 [EBook #2407] + * Release Date: November, 2000 + * + * Language: German + * + * *** START OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** + * + * Produced by Michael Pullen, globaltraveler5565@yahoo.com + * with proofreading and correction by Dr. Mary Cicora, + * mcicora@yahoo.com. + * + * @see http://www.gutenberg.org/cache/epub/2407/pg2407.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' Am 4. Mai 1771 Wie froh bin ich, daß ich weg bin! Bester Freund, was ist das Herz des @@ -1677,362 +1676,362 @@ class Text extends \Faker\Provider\Text nach der Gartentür schimmern, ich streckte meine Arme aus, und es verschwand. EOT; - /* - End of the Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by - Johann Wolfgang von Goethe - - *** END OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** - - ***** This file should be named 2407-8.txt or 2407-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/2/4/0/2407/ - - Produced by Michael Pullen, globaltraveler5565@yahoo.com - with proofreading and correction by Dr. Mary Cicora, - mcicora@yahoo.com. - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.org/license). - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.org - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.org), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, are critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including checks, online payments and credit card donations. - To donate, please visit: http://pglaf.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.org - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of the Project Gutenberg EBook of Die Leiden des jungen Werther--Buch 1, by + Johann Wolfgang von Goethe + + *** END OF THIS PROJECT GUTENBERG EBOOK DIE LEIDEN DES JUNGEN WERTHER *** + + ***** This file should be named 2407-8.txt or 2407-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/2/4/0/2407/ + + Produced by Michael Pullen, globaltraveler5565@yahoo.com + with proofreading and correction by Dr. Mary Cicora, + mcicora@yahoo.com. + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.org/license). + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.org + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.org), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, are critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including checks, online payments and credit card donations. + To donate, please visit: http://pglaf.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.org + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Address.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Address.php index 4241b00..f5a29dc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Address.php @@ -2,54 +2,171 @@ namespace Faker\Provider\el_CY; -class Address extends \Faker\Provider\Address -{ - protected static $citySuffix = ['Λευκωσία', 'Λεμεσός', 'Λάρνακα', 'Πάφος']; - protected static $streetSuffix = []; - protected static $streetPrefix = [ - 'Όδος', 'Οδός', 'Λεωφόρος', - ]; - protected static $cityFormats = [ - '{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} {{lastName}} {{lastName}}', - '{{streetPrefix}} Αγίου {{lastName}}', - '{{streetPrefix}} Βασιλέως {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}, {{buildingNumber}}', - ]; - protected static $buildingNumber = ['%#', '%']; - protected static $postcode = ['####']; - protected static $country = [ - 'Ανγκόλα', 'Αζερμπαϊτζάν', 'Αίγυπτος', 'Αιθιοπία', 'Αϊτή', 'Αλβανία', 'Αλγερία', 'Αργεντινή', 'Αρμενία', 'Αυστραλία', 'Αυστρία', 'Αφγανιστάν', - 'Βέλγιο', 'Βενεζουέλα', 'Βιετνάμ', 'Βολιβία', 'Βοσνία και Ερζεγοβίνη', 'Βουλγαρία', 'Βραζιλία', - 'Γαλλία', 'Γερμανία', 'Γεωργία', 'Γροιλανδία', - 'Δανία', 'Δομινικανή Δημοκρατία', - 'Ελβετία', 'Ελλάδα', 'Ερυθραία', 'Εσθονία', - 'ΗΠΑ', 'Ηνωμένο Βασίλειο', - 'Ιαπωνία', 'Ινδία', 'Ινδονησία', 'Ιορδανία', 'Ιράκ', 'Ιράν', 'Ιρλανδία', 'Ισλανδία', 'Ισπανία', 'Ισραήλ', 'Ιταλία', - 'Καζακστάν', 'Καμπότζη', 'Καναδάς', 'Κεντροαφρικανική Δημοκρατία', 'Κένυα', 'Κίνα', 'Κιργιζία', 'Κολομβία', 'Κομόρες', 'Δημοκρατία του Κονγκό', 'Λαϊκή Δημοκρατία του Κονγκό', 'Βόρεια Κορέα', 'Νότια Κορέα', 'Κόστα Ρίκα', 'Κουβέιτ', 'Κροατία', 'Κύπρος', - 'Λάος', 'Λεττονία', 'Λευκορωσία', 'Λίβανος', 'Λιβερία', 'Λιβύη', 'Λιθουανία', 'Λουξεμβούργο', - 'Μαδαγασκάρη', 'Μαλαισία', 'Μάλτα', 'Μαρόκο', 'Μαυρίκιος', 'Μαυριτανία', 'Μαυροβούνιο', 'Μεξικό', 'Μογγολία', 'Μοζαμβίκη', 'Μολδαβία', 'Μονακό', 'Μποτσουάνα', 'Μπουρούντι', 'Μπουτάν', - 'Νέα Ζηλανδία', 'Νεπάλ', 'Νίγηρας', 'Νιγηρία', 'Νικαράγουα', 'Νορβηγία', 'Νότια Αφρική', - 'Ολλανδία', 'Ουγγαρία', 'Ουγκάντα', 'Ουζμπεκιστάν', 'Ουκρανία', 'Ουρουγουάη', - 'Πακιστάν', 'Παλαιστίνη', 'Παναμάς', 'Παραγουάη', 'Περού', 'Πολωνία', 'Πουέρτο Ρίκο', 'Πορτογαλία', 'Πρώην Γιουγκοσλαβική Δημοκρατία της Μακεδονίας', - 'Ρουάντα', 'Ρουμανία', 'Ρωσία', - 'Σαμόα', 'Σαουδική Αραβία', 'Σενεγάλη', 'Σερβία', 'Σιγκαπούρη', 'Σλοβακία', 'Σλοβενία', 'Σομαλία', 'Σουαζιλάνδη', 'Σουδάν', 'Σουηδία', 'Σουρινάμ', 'Συρία', - 'Ταϊβάν', 'Ταϊλάνδη', 'Τανζανία', 'Τατζικιστάν', 'Τζαμάικα', 'Τόγκο', 'Τόνγκα', 'Τουβαλού', 'Τουρκία', 'Τουρκμενιστάν', 'Τσεχία', 'Τυνησία', - 'Υεμένη', - 'Φιλιππίνες', 'Φινλανδία', - 'Χιλή', - ]; +class Address extends \Faker\Provider\Address { + protected static $citySuffix = [ 'Λευκωσία', 'Λεμεσός', 'Λάρνακα', 'Πάφος' ]; + protected static $streetSuffix = []; + protected static $streetPrefix = [ + 'Όδος', + 'Οδός', + 'Λεωφόρος', + ]; + protected static $cityFormats = [ + '{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} {{lastName}} {{lastName}}', + '{{streetPrefix}} Αγίου {{lastName}}', + '{{streetPrefix}} Βασιλέως {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}, {{buildingNumber}}', + ]; + protected static $buildingNumber = [ '%#', '%' ]; + protected static $postcode = [ '####' ]; + protected static $country = [ + 'Ανγκόλα', + 'Αζερμπαϊτζάν', + 'Αίγυπτος', + 'Αιθιοπία', + 'Αϊτή', + 'Αλβανία', + 'Αλγερία', + 'Αργεντινή', + 'Αρμενία', + 'Αυστραλία', + 'Αυστρία', + 'Αφγανιστάν', + 'Βέλγιο', + 'Βενεζουέλα', + 'Βιετνάμ', + 'Βολιβία', + 'Βοσνία και Ερζεγοβίνη', + 'Βουλγαρία', + 'Βραζιλία', + 'Γαλλία', + 'Γερμανία', + 'Γεωργία', + 'Γροιλανδία', + 'Δανία', + 'Δομινικανή Δημοκρατία', + 'Ελβετία', + 'Ελλάδα', + 'Ερυθραία', + 'Εσθονία', + 'ΗΠΑ', + 'Ηνωμένο Βασίλειο', + 'Ιαπωνία', + 'Ινδία', + 'Ινδονησία', + 'Ιορδανία', + 'Ιράκ', + 'Ιράν', + 'Ιρλανδία', + 'Ισλανδία', + 'Ισπανία', + 'Ισραήλ', + 'Ιταλία', + 'Καζακστάν', + 'Καμπότζη', + 'Καναδάς', + 'Κεντροαφρικανική Δημοκρατία', + 'Κένυα', + 'Κίνα', + 'Κιργιζία', + 'Κολομβία', + 'Κομόρες', + 'Δημοκρατία του Κονγκό', + 'Λαϊκή Δημοκρατία του Κονγκό', + 'Βόρεια Κορέα', + 'Νότια Κορέα', + 'Κόστα Ρίκα', + 'Κουβέιτ', + 'Κροατία', + 'Κύπρος', + 'Λάος', + 'Λεττονία', + 'Λευκορωσία', + 'Λίβανος', + 'Λιβερία', + 'Λιβύη', + 'Λιθουανία', + 'Λουξεμβούργο', + 'Μαδαγασκάρη', + 'Μαλαισία', + 'Μάλτα', + 'Μαρόκο', + 'Μαυρίκιος', + 'Μαυριτανία', + 'Μαυροβούνιο', + 'Μεξικό', + 'Μογγολία', + 'Μοζαμβίκη', + 'Μολδαβία', + 'Μονακό', + 'Μποτσουάνα', + 'Μπουρούντι', + 'Μπουτάν', + 'Νέα Ζηλανδία', + 'Νεπάλ', + 'Νίγηρας', + 'Νιγηρία', + 'Νικαράγουα', + 'Νορβηγία', + 'Νότια Αφρική', + 'Ολλανδία', + 'Ουγγαρία', + 'Ουγκάντα', + 'Ουζμπεκιστάν', + 'Ουκρανία', + 'Ουρουγουάη', + 'Πακιστάν', + 'Παλαιστίνη', + 'Παναμάς', + 'Παραγουάη', + 'Περού', + 'Πολωνία', + 'Πουέρτο Ρίκο', + 'Πορτογαλία', + 'Πρώην Γιουγκοσλαβική Δημοκρατία της Μακεδονίας', + 'Ρουάντα', + 'Ρουμανία', + 'Ρωσία', + 'Σαμόα', + 'Σαουδική Αραβία', + 'Σενεγάλη', + 'Σερβία', + 'Σιγκαπούρη', + 'Σλοβακία', + 'Σλοβενία', + 'Σομαλία', + 'Σουαζιλάνδη', + 'Σουδάν', + 'Σουηδία', + 'Σουρινάμ', + 'Συρία', + 'Ταϊβάν', + 'Ταϊλάνδη', + 'Τανζανία', + 'Τατζικιστάν', + 'Τζαμάικα', + 'Τόγκο', + 'Τόνγκα', + 'Τουβαλού', + 'Τουρκία', + 'Τουρκμενιστάν', + 'Τσεχία', + 'Τυνησία', + 'Υεμένη', + 'Φιλιππίνες', + 'Φινλανδία', + 'Χιλή', + ]; - /** - * @example 'Όδος' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Όδος' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Company.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Company.php index 30e6d6d..bcad51a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Company.php @@ -2,17 +2,16 @@ namespace Faker\Provider\el_CY; -class Company extends \Faker\Provider\Company -{ - protected static $companySuffix = [ - 'ΛΤΔ', - 'Δημόσια εταιρεία', - '& Υιοι', - '& ΣΙΑ', - ]; +class Company extends \Faker\Provider\Company { + protected static $companySuffix = [ + 'ΛΤΔ', + 'Δημόσια εταιρεία', + '& Υιοι', + '& ΣΙΑ', + ]; - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - ]; + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Internet.php index 29ff459..bcf6a0e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Internet.php @@ -2,8 +2,14 @@ namespace Faker\Provider\el_CY; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'cablenet.com.cy', 'cytanet.com.cy', 'primehome.com']; - protected static $tld = ['com.cy', 'com.cy', 'com.cy', 'com.cy', 'com.cy', 'com.cy', 'biz', 'info', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'cablenet.com.cy', + 'cytanet.com.cy', + 'primehome.com' + ]; + protected static $tld = [ 'com.cy', 'com.cy', 'com.cy', 'com.cy', 'com.cy', 'com.cy', 'biz', 'info', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Payment.php index a6f1418..7f55e1b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Payment.php @@ -2,49 +2,46 @@ namespace Faker\Provider\el_CY; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN). - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'CY', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN). + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'CY', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * @var array Cyprus banks - * - * @see http://www.acb.com.cy/cgibin/hweb?-A=206&-V=membership - */ - protected static $banks = [ - 'Τράπεζα Κύπρου', - 'Ελληνική Τράπεζα', - 'Alpha Bank Cyprus', - 'Εθνική Τράπεζα της Ελλάδος (Κύπρου)', - 'USB BANK', - 'Κυπριακή Τράπεζα Αναπτύξεως', - 'Societe Gererale Cyprus', - 'Τράπεζα Πειραιώς (Κύπρου)', - 'RCB Bank', - 'Eurobank Cyprus', - 'Συνεργατική Κεντρική Τράπεζα', - 'Ancoria Bank', - ]; + /** + * @var array Cyprus banks + * + * @see http://www.acb.com.cy/cgibin/hweb?-A=206&-V=membership + */ + protected static $banks = [ + 'Τράπεζα Κύπρου', + 'Ελληνική Τράπεζα', + 'Alpha Bank Cyprus', + 'Εθνική Τράπεζα της Ελλάδος (Κύπρου)', + 'USB BANK', + 'Κυπριακή Τράπεζα Αναπτύξεως', + 'Societe Gererale Cyprus', + 'Τράπεζα Πειραιώς (Κύπρου)', + 'RCB Bank', + 'Eurobank Cyprus', + 'Συνεργατική Κεντρική Τράπεζα', + 'Ancoria Bank', + ]; - /** - * @example 'Τράπεζα Κύπρου' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Τράπεζα Κύπρου' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Person.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Person.php index 670fbdd..70badca 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/Person.php @@ -2,99 +2,608 @@ namespace Faker\Provider\el_CY; -class Person extends \Faker\Provider\Person -{ - /** - * @var array - * - * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 - */ - protected static $firstNameMale = [ - 'Άγγελος', 'Άδωνης', 'Άκης', 'Άνθιμος', 'Άρης', - 'Έκτορας', - 'Αβραάμ', 'Αγάπιος', 'Αγαθοκλής', 'Αδαμάντιος', 'Αθανάσιος', 'Αιμίλιος', 'Αλέκος', 'Αλέξανδρος', 'Αλέξης', 'Αλκιβιάδης', 'Αναστάσιος', 'Ανδρέας', 'Ανδρόνικος', 'Ανθούλης', 'Αντώνης', 'Απόστολος', 'Αρέστης', 'Αργύρης', 'Αριστείδης', 'Αριστόδημος', 'Αυγουστής', 'Αυξέντης', 'Αχιλλέας', - 'Βίκτωρας', 'Βαλεντίνος', 'Βαρνάβας', 'Βασίλης', 'Βλαδίμηρος', 'Βρυώνης', - 'Γαβριήλ', 'Γεννάδιος', 'Γεράσιμος', 'Γιάγκος', 'Γιώργος', 'Γλαύκος', 'Γρηγόρης', - 'Δαμιανός', 'Δανιήλ', 'Δημήτρης', 'Δημοσθένης', 'Διομήδης', 'Διονύσης', 'Δώρος', - 'Ειρηναίος', 'Εμανουήλ', 'Ερρίκος', 'Ερωτόκριτος', 'Ευάγγελος', 'Ευαγόρας', 'Ευγένιος', 'Ευθύμιος', 'Ευριπίδης', 'Ευστάθιος', 'Ευτύχιος', 'Εφραίμ', - 'Ζήνωνας', 'Ζαχαρίας', - 'Ηλίας', 'Ηράκλης', 'Ηρόδοτος', - 'Θεμιστοκλής', 'Θεοδόσης', 'Θεοφάνης', 'Θεοχάρης', 'Θεόδουλος', 'Θεόδωρος', 'Θεόφιλος', 'Θρασύβουλος', 'Θωμάς', - 'Ιάκωβος', 'Ιάκωβος', 'Ιάσωνας', 'Ιορδάνης', 'Ιωάννης', 'Ιωακείμ', 'Ιωνάς', 'Ιωσήφ', - 'Κλεάνθης', 'Κλείτος', 'Κοσμάς', 'Κυριάκος', 'Κύπρος', 'Κώστας', - 'Λάζαρος', 'Λάκης', 'Λάμπρος', 'Λέανδρος', 'Λευτέρης', 'Λεωνίδας', 'Λεόντιος', 'Λεύκιος', 'Λουκάς', 'Λοϊζος', - 'Μάκης', 'Μάμας', 'Μάξιμος', 'Μάριος', 'Μανώλης', 'Μαρίνος', 'Ματθαίος', 'Μενέλαος', 'Μηνάς', 'Μιλτιάδης', 'Μιχάλης', 'Μωυσής', 'Μόδεστος', - 'Νέστορας', 'Νεκτάριος', 'Νεοκλής', 'Νεόφυτος', 'Νικήτας', 'Νικόλας', 'Ντένης', 'Ντίνος', - 'Ξάνθος', 'Ξένιος', - 'Οδυσσέας', 'Ονησιφόρος', 'Ορέστης', - 'Πάρης', 'Πέτρος', 'Παναγιώτης', 'Παντελής', 'Παρασκευάς', 'Πασχάλης', 'Παύλος', 'Περικλής', 'Πιερής', 'Πολύβιος', 'Πολύδωρος', 'Πολύκαρπος', 'Προκόπης', 'Πρόδρομος', - 'Ρένος', 'Ραφαήλ', 'Ρολάνδος', - 'Σάββας', 'Σέργιος', 'Σεβαστιανός', 'Σολωμός', 'Σοφοκλής', 'Σοφρώνης', 'Σπυρίδωνας', 'Στέφανος', 'Σταύρος', 'Στυλιανός', 'Συμεών', 'Σωκράτης', 'Σωτήρης', 'Σόλωνας', - 'Τηλέμαχος', 'Τιμόθεος', 'Τρύφωνας', - 'Φίλιππος', 'Φαίδωνας', 'Φειδίας', 'Φλώρος', 'Φοίβος', 'Φρίξος', 'Φώτης', - 'Χαράλαμπος', 'Χαρίλαος', 'Χρίστος', 'Χριστοφής', 'Χριστόδουλος', 'Χριστόφορος', 'Χρυσήλιος', 'Χρυσόστομος', 'Χρύσανθος', - 'Όμηρος', - ]; +class Person extends \Faker\Provider\Person { + /** + * @var array + * + * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 + */ + protected static $firstNameMale = [ + 'Άγγελος', + 'Άδωνης', + 'Άκης', + 'Άνθιμος', + 'Άρης', + 'Έκτορας', + 'Αβραάμ', + 'Αγάπιος', + 'Αγαθοκλής', + 'Αδαμάντιος', + 'Αθανάσιος', + 'Αιμίλιος', + 'Αλέκος', + 'Αλέξανδρος', + 'Αλέξης', + 'Αλκιβιάδης', + 'Αναστάσιος', + 'Ανδρέας', + 'Ανδρόνικος', + 'Ανθούλης', + 'Αντώνης', + 'Απόστολος', + 'Αρέστης', + 'Αργύρης', + 'Αριστείδης', + 'Αριστόδημος', + 'Αυγουστής', + 'Αυξέντης', + 'Αχιλλέας', + 'Βίκτωρας', + 'Βαλεντίνος', + 'Βαρνάβας', + 'Βασίλης', + 'Βλαδίμηρος', + 'Βρυώνης', + 'Γαβριήλ', + 'Γεννάδιος', + 'Γεράσιμος', + 'Γιάγκος', + 'Γιώργος', + 'Γλαύκος', + 'Γρηγόρης', + 'Δαμιανός', + 'Δανιήλ', + 'Δημήτρης', + 'Δημοσθένης', + 'Διομήδης', + 'Διονύσης', + 'Δώρος', + 'Ειρηναίος', + 'Εμανουήλ', + 'Ερρίκος', + 'Ερωτόκριτος', + 'Ευάγγελος', + 'Ευαγόρας', + 'Ευγένιος', + 'Ευθύμιος', + 'Ευριπίδης', + 'Ευστάθιος', + 'Ευτύχιος', + 'Εφραίμ', + 'Ζήνωνας', + 'Ζαχαρίας', + 'Ηλίας', + 'Ηράκλης', + 'Ηρόδοτος', + 'Θεμιστοκλής', + 'Θεοδόσης', + 'Θεοφάνης', + 'Θεοχάρης', + 'Θεόδουλος', + 'Θεόδωρος', + 'Θεόφιλος', + 'Θρασύβουλος', + 'Θωμάς', + 'Ιάκωβος', + 'Ιάκωβος', + 'Ιάσωνας', + 'Ιορδάνης', + 'Ιωάννης', + 'Ιωακείμ', + 'Ιωνάς', + 'Ιωσήφ', + 'Κλεάνθης', + 'Κλείτος', + 'Κοσμάς', + 'Κυριάκος', + 'Κύπρος', + 'Κώστας', + 'Λάζαρος', + 'Λάκης', + 'Λάμπρος', + 'Λέανδρος', + 'Λευτέρης', + 'Λεωνίδας', + 'Λεόντιος', + 'Λεύκιος', + 'Λουκάς', + 'Λοϊζος', + 'Μάκης', + 'Μάμας', + 'Μάξιμος', + 'Μάριος', + 'Μανώλης', + 'Μαρίνος', + 'Ματθαίος', + 'Μενέλαος', + 'Μηνάς', + 'Μιλτιάδης', + 'Μιχάλης', + 'Μωυσής', + 'Μόδεστος', + 'Νέστορας', + 'Νεκτάριος', + 'Νεοκλής', + 'Νεόφυτος', + 'Νικήτας', + 'Νικόλας', + 'Ντένης', + 'Ντίνος', + 'Ξάνθος', + 'Ξένιος', + 'Οδυσσέας', + 'Ονησιφόρος', + 'Ορέστης', + 'Πάρης', + 'Πέτρος', + 'Παναγιώτης', + 'Παντελής', + 'Παρασκευάς', + 'Πασχάλης', + 'Παύλος', + 'Περικλής', + 'Πιερής', + 'Πολύβιος', + 'Πολύδωρος', + 'Πολύκαρπος', + 'Προκόπης', + 'Πρόδρομος', + 'Ρένος', + 'Ραφαήλ', + 'Ρολάνδος', + 'Σάββας', + 'Σέργιος', + 'Σεβαστιανός', + 'Σολωμός', + 'Σοφοκλής', + 'Σοφρώνης', + 'Σπυρίδωνας', + 'Στέφανος', + 'Σταύρος', + 'Στυλιανός', + 'Συμεών', + 'Σωκράτης', + 'Σωτήρης', + 'Σόλωνας', + 'Τηλέμαχος', + 'Τιμόθεος', + 'Τρύφωνας', + 'Φίλιππος', + 'Φαίδωνας', + 'Φειδίας', + 'Φλώρος', + 'Φοίβος', + 'Φρίξος', + 'Φώτης', + 'Χαράλαμπος', + 'Χαρίλαος', + 'Χρίστος', + 'Χριστοφής', + 'Χριστόδουλος', + 'Χριστόφορος', + 'Χρυσήλιος', + 'Χρυσόστομος', + 'Χρύσανθος', + 'Όμηρος', + ]; - /** - * @var array - * - * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 - */ - protected static $firstNameFemale = [ - 'Ελση', - 'Άλκηστις', 'Άννα', 'Άννα Μαρία', 'Έφη', 'Ήβη', 'Αίγλη', 'Αίμιλη', 'Αγάθη', 'Αγάπη', 'Αγγέλα', 'Αγλαϊα', 'Αγνή', 'Αδαμάντια', 'Αθανασία', 'Αθηνά', 'Αλέξια', 'Αλίκη', 'Αλεξάνδρα', 'Αμαλία', 'Αναστασία', 'Ανδρομάχη', 'Ανδρονίκη', 'Ανδρούλα', 'Ανθή', 'Ανθούλα', 'Αννέτα', 'Αννίτα', 'Αντιγόνη', 'Αντωνία', 'Αποστολία', 'Αργυρώ', 'Αρετή', 'Αριάδνη', 'Αριστη', 'Αριστοτέλης', 'Αρτεμισία', 'Ασπασία', 'Αστέρω', 'Αυγή', 'Αυγούστα', 'Αφροδίτη', - 'Βέρα', 'Βίκη', 'Βαλέρια', 'Βαλεντίνα', 'Βανθούλα', 'Βαρβάρα', 'Βασιλική', 'Βερονίκη', 'Βικτώρια', 'Βιολέτα', - 'Γαβριέλα', 'Γαλάτεια', 'Γεωργία', 'Γεωργιάνα', 'Γιολάντα', 'Γιούλα', 'Γλυκερία', 'Γρηγόρια', 'Δάφνη', - 'Δέσποινα', 'Δήμητρα', 'Δήμος', 'Δανάη', 'Δημητριάνα', 'Διαμαντώ', 'Δώρα', - 'Εβελίνα', 'Ειρήνη', 'Ελένη', 'Ελίζα', 'Ελίνα', 'Ελεονώρα', 'Ελευθερία', 'Ελισάβετ', 'Ελλάδα', 'Ελπίδα', 'Ελπινίκη', 'Ερίκα', 'Ερασμία', 'Ερατώ', 'Ερμιόνη', 'Ευαγγελία', 'Ευανθία', 'Ευγενία', 'Ευδοκία', 'Ευθυμία', 'Ευρυδίκη', 'Ευσταθία', 'Ευτυχία', 'Ευφροσύνη', 'Εύα', 'Εύη', - 'Ζήνα', 'Ζαχαρούλα', 'Ζηνοβία', 'Ζωή', - 'Ηλέκτρα', 'Ηλιάδα', 'Ηλιάνα', 'Ηρώ', - 'Θάλεια', 'Θέκλα', 'Θέλμα', 'Θέμιδα', 'Θεά', 'Θεανώ', 'Θεογνωσία', 'Θεοδοσία', 'Θεοδώρα', 'Θεονίτσα', 'Θεοπίστη', 'Θεοφανώ', - 'Ιουλία', 'Ιρίνα', 'Ισαβέλα', 'Ισμήνη', 'Ιφιγένεια', 'Ιωάννα', - 'Κάλλια', 'Κίκα', 'Καλλισθένη', 'Καλλιόπη', 'Καρολίνα', 'Κατερίνα', 'Κλαίρη', 'Κλειώ', 'Κλεονίκη', 'Κλεοπάτρα', 'Κορίνα', 'Κορνήλια', 'Κυπρούλα', 'Κυριακή', 'Κωνσταντίνα', - 'Λάουρα', 'Λένα', 'Λένος', 'Λίλια', 'Λίνα', 'Λίτσα', 'Λαρίσα', 'Λευκή', 'Λητώ', 'Λουκία', 'Λουϊζα', 'Λυγία', 'Λύδια', - 'Μάγια', 'Μάρθα', 'Μάρκος', 'Μέλανη', 'Μίνα', 'Μαγδαληνή', 'Μαρία', 'Μαρίλια', 'Μαρίνα', 'Μαργαρίτα', 'Μαριάμ', 'Μαριάννα', 'Μαριλένα', 'Μαρκέλλα', 'Μελίνα', 'Μελπομένη', 'Μερόπη', 'Μηλίτσα', 'Μιράντα', 'Μιχαέλλα', 'Μυριάνθη', 'Μυροφόρα', 'Μυρτώ', 'Μόνικα', 'Μύρια', - 'Νάγια', 'Νάντια', 'Νάσια', 'Νάσω', 'Νάτια', 'Νέαρχος', 'Νίκη', 'Νίνα', 'Νίτσα', 'Νατάσα', 'Ναταλία', 'Ναυσικά', 'Νεκταρία', 'Νεοφύτα', 'Νεφέλη', 'Νικολέττα', 'Νιόβη', 'Ντίνα', 'Ντανιέλα', 'Νταϊανα', - 'Ξάνθη', 'Ξένια', 'Ξενοφών', - 'Ολίβια', 'Ολυμπιάδα', 'Ονούφριος', 'Ορθοδοξία', 'Ουρανία', - 'Παναγιώτα', 'Παντελίτσα', 'Παρασκευή', 'Παρθενόπη', 'Παυλίνα', 'Περσεφόνη', 'Πετρούλα', 'Πηνελόπη', 'Πολυξένη', 'Πωλίνα', 'Πόλα', 'Πόπη', - 'Ρέα', 'Ρίτα', 'Ραάνια', 'Ραφαέλα', 'Ρεββέκα', 'Ροδοθέα', 'Ροδούλα', 'Ρούλα', - 'Σάντρα', 'Σάρα', 'Σαββούλα', 'Σαλώμη', 'Σιμόνα', 'Σουζάνα', 'Σοφία', 'Σούλα', 'Σπυρούλα', 'Στάλω', 'Στέφανη', 'Σταυρούλα', 'Στυλιανή', 'Σωτηρούλα', 'Σόνια', 'Σύλβια', - 'Τάκης', 'Τάνια', 'Τίνα', 'Τατιάνα', 'Τερέζα', 'Τούλα', 'Τόνια', - 'Φαίδρα', 'Φιλιώ', 'Φλωρεντία', 'Φλώρα', 'Φοίβη', 'Φρειδερίκη', 'Φωτεινή', - 'Χαρίκλεια', 'Χαραλαμπία', 'Χαριτίνη', 'Χλόη', 'Χρίστια', 'Χριστίνα', 'Χριστιάνα', 'Χριστοδούλα', 'Χριστοθέα', 'Χριστούλα', 'Χρυσάνθη', 'Χρυσή', 'Χρυσοβαλάντω', 'Χρυσούλα', 'Χρυστάλλα', 'Χρυσταλλένη', 'Χρύσα', 'Χρύσω', - 'Όλγα', - ]; + /** + * @var array + * + * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 + */ + protected static $firstNameFemale = [ + 'Ελση', + 'Άλκηστις', + 'Άννα', + 'Άννα Μαρία', + 'Έφη', + 'Ήβη', + 'Αίγλη', + 'Αίμιλη', + 'Αγάθη', + 'Αγάπη', + 'Αγγέλα', + 'Αγλαϊα', + 'Αγνή', + 'Αδαμάντια', + 'Αθανασία', + 'Αθηνά', + 'Αλέξια', + 'Αλίκη', + 'Αλεξάνδρα', + 'Αμαλία', + 'Αναστασία', + 'Ανδρομάχη', + 'Ανδρονίκη', + 'Ανδρούλα', + 'Ανθή', + 'Ανθούλα', + 'Αννέτα', + 'Αννίτα', + 'Αντιγόνη', + 'Αντωνία', + 'Αποστολία', + 'Αργυρώ', + 'Αρετή', + 'Αριάδνη', + 'Αριστη', + 'Αριστοτέλης', + 'Αρτεμισία', + 'Ασπασία', + 'Αστέρω', + 'Αυγή', + 'Αυγούστα', + 'Αφροδίτη', + 'Βέρα', + 'Βίκη', + 'Βαλέρια', + 'Βαλεντίνα', + 'Βανθούλα', + 'Βαρβάρα', + 'Βασιλική', + 'Βερονίκη', + 'Βικτώρια', + 'Βιολέτα', + 'Γαβριέλα', + 'Γαλάτεια', + 'Γεωργία', + 'Γεωργιάνα', + 'Γιολάντα', + 'Γιούλα', + 'Γλυκερία', + 'Γρηγόρια', + 'Δάφνη', + 'Δέσποινα', + 'Δήμητρα', + 'Δήμος', + 'Δανάη', + 'Δημητριάνα', + 'Διαμαντώ', + 'Δώρα', + 'Εβελίνα', + 'Ειρήνη', + 'Ελένη', + 'Ελίζα', + 'Ελίνα', + 'Ελεονώρα', + 'Ελευθερία', + 'Ελισάβετ', + 'Ελλάδα', + 'Ελπίδα', + 'Ελπινίκη', + 'Ερίκα', + 'Ερασμία', + 'Ερατώ', + 'Ερμιόνη', + 'Ευαγγελία', + 'Ευανθία', + 'Ευγενία', + 'Ευδοκία', + 'Ευθυμία', + 'Ευρυδίκη', + 'Ευσταθία', + 'Ευτυχία', + 'Ευφροσύνη', + 'Εύα', + 'Εύη', + 'Ζήνα', + 'Ζαχαρούλα', + 'Ζηνοβία', + 'Ζωή', + 'Ηλέκτρα', + 'Ηλιάδα', + 'Ηλιάνα', + 'Ηρώ', + 'Θάλεια', + 'Θέκλα', + 'Θέλμα', + 'Θέμιδα', + 'Θεά', + 'Θεανώ', + 'Θεογνωσία', + 'Θεοδοσία', + 'Θεοδώρα', + 'Θεονίτσα', + 'Θεοπίστη', + 'Θεοφανώ', + 'Ιουλία', + 'Ιρίνα', + 'Ισαβέλα', + 'Ισμήνη', + 'Ιφιγένεια', + 'Ιωάννα', + 'Κάλλια', + 'Κίκα', + 'Καλλισθένη', + 'Καλλιόπη', + 'Καρολίνα', + 'Κατερίνα', + 'Κλαίρη', + 'Κλειώ', + 'Κλεονίκη', + 'Κλεοπάτρα', + 'Κορίνα', + 'Κορνήλια', + 'Κυπρούλα', + 'Κυριακή', + 'Κωνσταντίνα', + 'Λάουρα', + 'Λένα', + 'Λένος', + 'Λίλια', + 'Λίνα', + 'Λίτσα', + 'Λαρίσα', + 'Λευκή', + 'Λητώ', + 'Λουκία', + 'Λουϊζα', + 'Λυγία', + 'Λύδια', + 'Μάγια', + 'Μάρθα', + 'Μάρκος', + 'Μέλανη', + 'Μίνα', + 'Μαγδαληνή', + 'Μαρία', + 'Μαρίλια', + 'Μαρίνα', + 'Μαργαρίτα', + 'Μαριάμ', + 'Μαριάννα', + 'Μαριλένα', + 'Μαρκέλλα', + 'Μελίνα', + 'Μελπομένη', + 'Μερόπη', + 'Μηλίτσα', + 'Μιράντα', + 'Μιχαέλλα', + 'Μυριάνθη', + 'Μυροφόρα', + 'Μυρτώ', + 'Μόνικα', + 'Μύρια', + 'Νάγια', + 'Νάντια', + 'Νάσια', + 'Νάσω', + 'Νάτια', + 'Νέαρχος', + 'Νίκη', + 'Νίνα', + 'Νίτσα', + 'Νατάσα', + 'Ναταλία', + 'Ναυσικά', + 'Νεκταρία', + 'Νεοφύτα', + 'Νεφέλη', + 'Νικολέττα', + 'Νιόβη', + 'Ντίνα', + 'Ντανιέλα', + 'Νταϊανα', + 'Ξάνθη', + 'Ξένια', + 'Ξενοφών', + 'Ολίβια', + 'Ολυμπιάδα', + 'Ονούφριος', + 'Ορθοδοξία', + 'Ουρανία', + 'Παναγιώτα', + 'Παντελίτσα', + 'Παρασκευή', + 'Παρθενόπη', + 'Παυλίνα', + 'Περσεφόνη', + 'Πετρούλα', + 'Πηνελόπη', + 'Πολυξένη', + 'Πωλίνα', + 'Πόλα', + 'Πόπη', + 'Ρέα', + 'Ρίτα', + 'Ραάνια', + 'Ραφαέλα', + 'Ρεββέκα', + 'Ροδοθέα', + 'Ροδούλα', + 'Ρούλα', + 'Σάντρα', + 'Σάρα', + 'Σαββούλα', + 'Σαλώμη', + 'Σιμόνα', + 'Σουζάνα', + 'Σοφία', + 'Σούλα', + 'Σπυρούλα', + 'Στάλω', + 'Στέφανη', + 'Σταυρούλα', + 'Στυλιανή', + 'Σωτηρούλα', + 'Σόνια', + 'Σύλβια', + 'Τάκης', + 'Τάνια', + 'Τίνα', + 'Τατιάνα', + 'Τερέζα', + 'Τούλα', + 'Τόνια', + 'Φαίδρα', + 'Φιλιώ', + 'Φλωρεντία', + 'Φλώρα', + 'Φοίβη', + 'Φρειδερίκη', + 'Φωτεινή', + 'Χαρίκλεια', + 'Χαραλαμπία', + 'Χαριτίνη', + 'Χλόη', + 'Χρίστια', + 'Χριστίνα', + 'Χριστιάνα', + 'Χριστοδούλα', + 'Χριστοθέα', + 'Χριστούλα', + 'Χρυσάνθη', + 'Χρυσή', + 'Χρυσοβαλάντω', + 'Χρυσούλα', + 'Χρυστάλλα', + 'Χρυσταλλένη', + 'Χρύσα', + 'Χρύσω', + 'Όλγα', + ]; - /** - * @var array - * - * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 - */ - protected static $lastName = [ - 'Άκη', 'Αγαθοκλέους', 'Αθανάσιου', 'Αλέκου', 'Αλεξάνδρου', 'Αλκιβιάδη', 'Αναστασίου', 'Ανδρέου', 'Ανδρονίκου', 'Αντωνίου', 'Αργύρη', 'Αριστείδη', 'Αριστοδήμου', 'Αυγουστή', 'Αυξεντίου', 'Αχιλλέα', - 'Βίκτωρα', 'Βαλεντίνου', 'Βαρνάβα', 'Βασίλη', - 'Γαβριήλ', 'Γεράσιμου', 'Γεωργίου', 'Γιάγκου', 'Γλαύκου', 'Γρηγορίου', - 'Δαμιανού', 'Δανιήλ', 'Δημητρίου', 'Δημοσθένους', 'Διομήδη', 'Διονυσίου', - 'Ερωτοκρίτου', 'Ευαγγέλου', 'Ευαγόρα', 'Ευγενίου', 'Ευθύμιου', 'Ευριπίδη', 'Ευστάθιου', 'Ευτύχιου', - 'Ζήνωνα', 'Ζαχαρία', - 'Ηλία', 'Ηρακλέους', - 'Θεμιστοκλέους', 'Θεοδούλου', 'Θεοδόση', 'Θεοδώρου', 'Θεοδώρου', 'Θεοφάνους', 'Θεοχάρους', 'Θεόφιλου', 'Θρασύβουλου', 'Θωμά', - 'Ιάσωνα', 'Ιακώβου', 'Ιορδάνου', 'Ιωάννη', 'Ιωακείμ', 'Ιωνά', 'Ιωσήφ', - 'Κλεάνθη', 'Κλείτου', 'Κοσμά', 'Κυριάκου', 'Κωνσταντίνου', 'Κύπρου', 'Κώστα', - 'Λάμπρου', 'Λεάνδρου', 'Λεοντίου', 'Λευτέρη', 'Λεωνίδα', 'Λουκά', 'Λοϊζου', - 'Μάμα', 'Μανώλη', 'Μαρίνου', 'Μιλτιάδη', 'Μιχαήλ', 'Μωυσέως', - 'Νεκτάριου', 'Νεοκλέους', 'Νεοφύτου', 'Νικήτα', 'Νικολάου', - 'Ομήρου', 'Ορέστη', - 'Πάρη', 'Πέτρου', 'Παναγιώτη', 'Παντελής', 'Παρασκευά', 'Πασχάλη', 'Παύλου', 'Περικλέους', 'Πιερή', 'Πολύβιου', 'Πολύδωρου', 'Πολύκαρπου', 'Προδρόμου', 'Προκόπη', - 'Ραφαήλ', - 'Σάββα', 'Σολωμός', 'Σοφοκλέους', 'Σοφρωνίου', 'Σπυρίδωνος', 'Στέφανου', 'Σταύρου', 'Στυλιανού', 'Συμεών', 'Σωκράτη', 'Σωτηρίου', 'Σόλωνα', - 'Τηλεμάχου', 'Τιμοθέου', 'Τρύφωνος', - 'Φίλιππου', 'Φαίδωνος', 'Φειδία', 'Φοίβου', 'Φώτη', - 'Χαραλάμπους', 'Χαριλάου', 'Χρίστου', 'Χριστοδούλου', 'Χριστοφή', 'Χριστοφόρου', 'Χρυσόστομος', 'Χρύσανθου', - ]; + /** + * @var array + * + * @see http://www.mof.gov.cy/mof/cystat/statistics.nsf/populationcondition_22main_gr/populationcondition_22main_gr?OpenForm&sub=2&sel=2 + */ + protected static $lastName = [ + 'Άκη', + 'Αγαθοκλέους', + 'Αθανάσιου', + 'Αλέκου', + 'Αλεξάνδρου', + 'Αλκιβιάδη', + 'Αναστασίου', + 'Ανδρέου', + 'Ανδρονίκου', + 'Αντωνίου', + 'Αργύρη', + 'Αριστείδη', + 'Αριστοδήμου', + 'Αυγουστή', + 'Αυξεντίου', + 'Αχιλλέα', + 'Βίκτωρα', + 'Βαλεντίνου', + 'Βαρνάβα', + 'Βασίλη', + 'Γαβριήλ', + 'Γεράσιμου', + 'Γεωργίου', + 'Γιάγκου', + 'Γλαύκου', + 'Γρηγορίου', + 'Δαμιανού', + 'Δανιήλ', + 'Δημητρίου', + 'Δημοσθένους', + 'Διομήδη', + 'Διονυσίου', + 'Ερωτοκρίτου', + 'Ευαγγέλου', + 'Ευαγόρα', + 'Ευγενίου', + 'Ευθύμιου', + 'Ευριπίδη', + 'Ευστάθιου', + 'Ευτύχιου', + 'Ζήνωνα', + 'Ζαχαρία', + 'Ηλία', + 'Ηρακλέους', + 'Θεμιστοκλέους', + 'Θεοδούλου', + 'Θεοδόση', + 'Θεοδώρου', + 'Θεοδώρου', + 'Θεοφάνους', + 'Θεοχάρους', + 'Θεόφιλου', + 'Θρασύβουλου', + 'Θωμά', + 'Ιάσωνα', + 'Ιακώβου', + 'Ιορδάνου', + 'Ιωάννη', + 'Ιωακείμ', + 'Ιωνά', + 'Ιωσήφ', + 'Κλεάνθη', + 'Κλείτου', + 'Κοσμά', + 'Κυριάκου', + 'Κωνσταντίνου', + 'Κύπρου', + 'Κώστα', + 'Λάμπρου', + 'Λεάνδρου', + 'Λεοντίου', + 'Λευτέρη', + 'Λεωνίδα', + 'Λουκά', + 'Λοϊζου', + 'Μάμα', + 'Μανώλη', + 'Μαρίνου', + 'Μιλτιάδη', + 'Μιχαήλ', + 'Μωυσέως', + 'Νεκτάριου', + 'Νεοκλέους', + 'Νεοφύτου', + 'Νικήτα', + 'Νικολάου', + 'Ομήρου', + 'Ορέστη', + 'Πάρη', + 'Πέτρου', + 'Παναγιώτη', + 'Παντελής', + 'Παρασκευά', + 'Πασχάλη', + 'Παύλου', + 'Περικλέους', + 'Πιερή', + 'Πολύβιου', + 'Πολύδωρου', + 'Πολύκαρπου', + 'Προδρόμου', + 'Προκόπη', + 'Ραφαήλ', + 'Σάββα', + 'Σολωμός', + 'Σοφοκλέους', + 'Σοφρωνίου', + 'Σπυρίδωνος', + 'Στέφανου', + 'Σταύρου', + 'Στυλιανού', + 'Συμεών', + 'Σωκράτη', + 'Σωτηρίου', + 'Σόλωνα', + 'Τηλεμάχου', + 'Τιμοθέου', + 'Τρύφωνος', + 'Φίλιππου', + 'Φαίδωνος', + 'Φειδία', + 'Φοίβου', + 'Φώτη', + 'Χαραλάμπους', + 'Χαριλάου', + 'Χρίστου', + 'Χριστοδούλου', + 'Χριστοφή', + 'Χριστοφόρου', + 'Χρυσόστομος', + 'Χρύσανθου', + ]; - protected static $titleMale = ['κος.', 'κ.']; - protected static $titleFemale = ['δις.', 'δνις.', 'κα.']; + protected static $titleMale = [ 'κος.', 'κ.' ]; + protected static $titleFemale = [ 'δις.', 'δνις.', 'κα.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_CY/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/el_CY/PhoneNumber.php index 8814421..bb77b72 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_CY/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_CY/PhoneNumber.php @@ -2,31 +2,29 @@ namespace Faker\Provider\el_CY; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+3572#######', - '+3579#######', - '2#######', - '9#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+3572#######', + '+3579#######', + '2#######', + '9#######', + ]; - /** - * An array of el_CY mobile (cell) phone number formats. - * - * @var array - */ - protected static $mobileFormats = [ - '9#######', - ]; + /** + * An array of el_CY mobile (cell) phone number formats. + * + * @var array + */ + protected static $mobileFormats = [ + '9#######', + ]; - /** - * Return a el_CY mobile phone number. - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a el_CY mobile phone number. + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Address.php index dd57717..98fc11d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Address.php @@ -2,60 +2,862 @@ namespace Faker\Provider\el_GR; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '%##-###', '%#-##', '%-#']; - protected static $streetPrefix = [ - 'Όδος', 'Λεωφόρος', - ]; - protected static $postcode = ['#####', '### ##']; - protected static $prefecture = [ - 'Άβδηρα', 'Αγαθονήσι', 'Αγιά', 'Άβδηρα', 'Αγαθονήσι', 'Αγιά', 'Αγία Βαρβάρα', 'Αγία Παρασκευή', 'Άγιοι Ανάργυροι-Καματερό', 'Άγιος Βασίλειος', 'Άγιος Δημήτριος', 'Άγιος Ευστράτιος', 'Άγιος Νικόλαος', 'Αγκίστρι', 'Άγραφα', 'Αγρίνιο', 'Αθήνα', 'Αιγάλεω', 'Αιγιάλεια', 'Αίγινα', 'Άκτιο-Βόνιτσα', 'Αλεξάνδρεια', 'Αλεξανδρούπολη', 'Αλίαρτος', 'Άλιμος', 'Αλμυρός', 'Αλμωπία', 'Αλόννησος', 'Αμάρι', 'Αμοργός', 'Αμπελόκηποι-Μενεμένη', 'Αμύνταιο', 'Αμφίκλεια-Ελάτεια', 'Αμφιλοχία', 'Αμφίπολη', 'Ανατολική Μάνη', 'Ανάφη', 'Ανδρίτσαινα-Κρέστενα', 'Άνδρος', 'Αντίπαρος', 'Ανώγεια', 'Αποκορώνας', 'Αργιθέα', 'Άργος-Μυκήνες', 'Αριστοτέλης', 'Αρριανά', 'Άρτα', 'Αρχαία Ολυμπία', 'Αρχαία Πέλλα', 'Αρχάνες-Αστερούσια', 'Ασπρόπυργος', 'Αστυπάλαια', 'Αχαρνές', 'Βάρη-Βούλα-Βουλιαγμένη', 'Βέλο-Βόχα', 'Βέροια', 'Βιάννος', 'Βισαλτία', 'Βοΐο', 'Βόλβη', 'Βόλος', 'Βόρεια Κυνουρία', 'Βορεία Τζουμέρκα', 'Βριλήσσια', 'Βύρωνας', 'Γαλάτσι', 'Γαύδος', 'Γεώργιος Καραϊσκάκης', 'Γλυφάδα', 'Γόρτυνα', 'Γορτυνία', 'Γρεβενά', 'Δάφνη-Υμηττός', 'Δέλτα', 'Δελφοί', 'Δεσκάτη', 'Διδυμότειχο', 'Δίον-Ολύμπος', 'Διόνυσος', 'Δίρφυς-Μεσσαπία', 'Δίστομο-Αράχοβα-Αντικύρα', 'Δομοκός', 'Δοξάτο', 'Δράμα', 'Δυτική Αχαΐα', 'Δυτική Μάνη', 'Δυτική Οιχαλία', 'Δυτική Πύλος-Νέστορας', 'Δωδώνη', 'Δωρίδα', 'Έδεσσα', 'Ελασσόνα', 'Ελαφόνησος', 'Ελευσίνα', 'Ελληνικό-Αργυρούπολη', 'Εμμανουήλ Παππάς', 'Εορδαία', 'Επίδαυρος', 'Ερέτρια', 'Ερμιονίδα', 'Ερύμανθος', 'Ευρώτας', 'Ζαγορά-Μουρέσι', 'Ζαγόρι', 'Ζάκυνθος', 'Ζαχάρω', 'Ζηρός', 'Ζίτσα', 'Ζωγράφου', 'Ηγουμενίτσα', 'Ηλίδα', 'Ηλιούπολη', 'Ηράκλεια', 'Ηράκλειο', 'Ηράκλειο', 'Θάσος', 'Θερμαϊκός', 'Θέρμη', 'Θέρμο', 'Θεσσαλονίκη', 'Θήβα', 'Θήρα', 'Ίασμος', 'Ιεράπετρα', 'Ιθάκη', 'Ικαριά', 'Ίλιο', 'Ίος', 'Ιστιαία-Αιδηψός', 'Ιωάννινα', 'Καβάλα', 'Καισαριανή', 'Καλάβρυτα', 'Καλαμαριά', 'Καλαμάτα', 'Καλαμπάκα', 'Καλλιθέα', 'Καλλικράτεια-Μουδανιά', 'Κάλυμνος', 'Κάνδανος-Σέλινο', 'Καρδίτσα', 'Κάρπαθος', 'Καρπενήσι', 'Κάρυστος', 'Κάσος', 'Κασσάνδρα', 'Καστοριά', 'Κατερίνη', 'Κέα', 'Κεντρικά Τζουμέρκα', 'Κερατσίνι-Δραπετσώνα', 'Κέρκυρα', 'Κεφαλονιά', 'Κηφισιά', 'Κιλελέρ', 'Κιλκίς', 'Κίμωλος', 'Κίσσαμος', 'Κοζάνη', 'Κομοτηνή', 'Κόνιτσα', 'Κορδελιό-Εύοσμος', 'Κόρινθος', 'Κορυδαλλός', 'Κύθηρα', 'Κύθνος', 'Κυλλήνη', 'Κύμη-Αλιβέρι', 'Κωρωπί', 'Κως', 'Λαγκαδάς', 'Λαμία', 'Λάρισα', 'Λαύριο', 'Λειψοί', 'Λέρος', 'Λέσβος', 'Λευκάδα', 'Λήμνος', 'Λιβαδειά', 'Λίμνη Πλαστήρα', 'Λοκροί', 'Λουτράκι-Άγιoι Θεόδωροι', 'Λυκόβρυση-Πεύκη', 'Μακρακώμη', 'Μαλεβίζι', 'Μάνδρα-Ειδυλλία', 'Μαντούδι-Λίμνη', 'Μαραθώνα', 'Μαρκόπουλο Μεσογαίας', 'Μαρούσι', 'Μαρώνεια-Σάπες', 'Μεγαλόπολη', 'Μεγανήσι', 'Μέγαρα', 'Μεγίστη', 'Μεσολόγγι', 'Μεσσήνη', 'Μεταμόρφωση', 'Μέτσοβο', 'Μήλος', 'Μινώα Πεδιάδα', 'Μονεμβασιά', 'Μοσχάτο-Ταύρος', 'Μουζάκι', 'Μύκη', 'Μύκονος', 'Μυλοπόταμος', 'Μώλος-Άγιος Κωνσταντίνος', 'Νάξος και Μικρές Κυκλάδες', 'Νάουσα', 'Ναυπακτία', 'Ναύπλιο', 'Νέα Ζίχνη', 'Νέα Ιωνία', 'Νεάπολη-Συκιές', 'Νέα Σμύρνης', 'Νεμέα', 'Νεστόριο', 'Νέστος', 'Νευροκόπι', 'Νίκαια-Άγιος Ιωάννης Ρέντης', 'Νικόλαος Σκουφάς', 'Νίσυρος', 'Νότια Κυνουρία', 'Νοτιό Πήλιο', 'Ξάνθη', 'Ξηρόμερο', 'Ξυλόκαστρο-Ευρωστίνα', 'Οινούσσες', 'Ορεστιάδα', 'Ορεστίδα', 'Οροπέδιο Λασιθίου', 'Ορχομενός', 'Παγγαίο', 'Παιανία', 'Παιονία', 'Παλαιό Φάληρο', 'Παλαμάς', 'Παλλήνη', 'Παξοί', 'Παπάγος-Χολαργός', 'Παρανέστι', 'Πάργα', 'Πάρος', 'Πάτμος', 'Πάτρα', 'Παύλος Μελάς', 'Πειραιάς', 'Πεντέλη', 'Πέραμα', 'Περιστέρι', 'Πετρούπολη', 'Πηνειός', 'Πλατανιάς', 'Πολύγυρος', 'Πόρος', 'Πρέβεζα', 'Πρέσπες', 'Προσοτσάνη', 'Πύδνα-Κολινδρός', 'Πυλαία-Χορτιάτης', 'Πύλη', 'Πύργος', 'Πωγώνι', 'Ραφήνα-Πικέρμι', 'Ρέθυμνο', 'Ρήγας Φεραίος', 'Ρόδος', 'Σαλαμίνα', 'Σαμoθράκη', 'Σάμος', 'Σαρωνικός', 'Σέρβια-Βελβεντός', 'Σέριφος', 'Σέρρες', 'Σητεία', 'Σιθωνία', 'Σίκινος', 'Σικυώνα', 'Σιντική', 'Σίφνος', 'Σκιάθος', 'Σκόπελος', 'Σκύδρα', 'Σκύρος', 'Σούλι', 'Σουφλί', 'Σοφάδες', 'Σπάρτη', 'Σπάτα-Άρτεμη', 'Σπέτσες', 'Στυλίδα', 'Σύμη', 'Σύρος-Ερμούπολη', 'Σφακιά', 'Τανάγρα', 'Τέμπη', 'Τήλος', 'Τήνος', 'Τόπειρος', 'Τρίκαλα', 'Τρίπολη', 'Τριφυλλία', 'Τροιζηνία', 'Τύρναβος', 'Ύδρα', 'Φαιστός', 'Φαρκαδόνας', 'Φάρσαλα', 'Φιλαδέλφεια-Χαλκηδόνα', 'Φιλιάτες', 'Φιλοθέη-Ψυχικό', 'Φλώρινα', 'Φολέγανδρος', 'Φούρνοι', 'Φυλή', 'Χαϊδάρι', 'Χαλάνδρι', 'Χαλκηδόνα', 'Χάλκη', 'Χαλκίδα', 'Χανιά', 'Χερσόνησος', 'Χίος', 'Ψαρά', 'Ωραιόκαστρο', 'Ωρωπός Βαρβάρα', 'Αγία', 'Παρασκευή', 'Άγιοι', 'Ανάργυροι-Καματερό', 'Άγιος', 'Βασίλειος', 'Άγιος', 'Δημήτριος', 'Άγιος', 'Ευστράτιος', 'Άγιος', 'Νικόλαος', 'Αγκίστρι', 'Άγραφα', 'Αγρίνιο', 'Αθήνα', 'Αιγάλεω', 'Αιγιάλεια', 'Αίγινα', 'Άκτιο-Βόνιτσα', 'Αλεξάνδρεια', 'Αλεξανδρούπολη', 'Αλίαρτος', 'Άλιμος', 'Αλμυρός', 'Αλμωπία', 'Αλόννησος', 'Αμάρι', 'Αμοργός', 'Αμπελόκηποι-Μενεμένη', 'Αμύνταιο', 'Αμφίκλεια-Ελάτεια', 'Αμφιλοχία', 'Αμφίπολη', 'Ανατολική', 'Μάνη', 'Ανάφη', 'Ανδρίτσαινα-Κρέστενα', 'Άνδρος', 'Αντίπαρος', 'Ανώγεια', 'Αποκορώνας', 'Αργιθέα', 'Άργος-Μυκήνες', 'Αριστοτέλης', 'Αρριανά', 'Άρτα', 'Αρχαία', 'Ολυμπία', 'Αρχαία', 'Πέλλα', 'Αρχάνες-Αστερούσια', 'Ασπρόπυργος', 'Αστυπάλαια', 'Αχαρνές', 'Βάρη-Βούλα-Βουλιαγμένη', 'Βέλο-Βόχα', 'Βέροια', 'Βιάννος', 'Βισαλτία', 'Βοΐο', 'Βόλβη', 'Βόλος', 'Βόρεια', 'Κυνουρία', 'Βορεία', 'Τζουμέρκα', 'Βριλήσσια', 'Βύρωνας', 'Γαλάτσι', 'Γαύδος', 'Γεώργιος', 'Καραϊσκάκης', 'Γλυφάδα', 'Γόρτυνα', 'Γορτυνία', 'Γρεβενά', 'Δάφνη-Υμηττός', 'Δέλτα', 'Δελφοί', 'Δεσκάτη', 'Διδυμότειχο', 'Δίον-Ολύμπος', 'Διόνυσος', 'Δίρφυς-Μεσσαπία', 'Δίστομο-Αράχοβα-Αντικύρα', 'Δομοκός', 'Δοξάτο', 'Δράμα', 'Δυτική', 'Αχαΐα', 'Δυτική', 'Μάνη', 'Δυτική', 'Οιχαλία', 'Δυτική', 'Πύλος-Νέστορας', 'Δωδώνη', 'Δωρίδα', 'Έδεσσα', 'Ελασσόνα', 'Ελαφόνησος', 'Ελευσίνα', 'Ελληνικό-Αργυρούπολη', 'Εμμανουήλ', 'Παππάς', 'Εορδαία', 'Επίδαυρος', 'Ερέτρια', 'Ερμιονίδα', 'Ερύμανθος', 'Ευρώτας', 'Ζαγορά-Μουρέσι', 'Ζαγόρι', 'Ζάκυνθος', 'Ζαχάρω', 'Ζηρός', 'Ζίτσα', 'Ζωγράφου', 'Ηγουμενίτσα', 'Ηλίδα', 'Ηλιούπολη', 'Ηράκλεια', 'Ηράκλειο', 'Ηράκλειο', 'Θάσος', 'Θερμαϊκός', 'Θέρμη', 'Θέρμο', 'Θεσσαλονίκη', 'Θήβα', 'Θήρα', 'Ίασμος', 'Ιεράπετρα', 'Ιθάκη', 'Ικαριά', 'Ίλιο', 'Ίος', 'Ιστιαία-Αιδηψός', 'Ιωάννινα', 'Καβάλα', 'Καισαριανή', 'Καλάβρυτα', 'Καλαμαριά', 'Καλαμάτα', 'Καλαμπάκα', 'Καλλιθέα', 'Καλλικράτεια-Μουδανιά', 'Κάλυμνος', 'Κάνδανος-Σέλινο', 'Καρδίτσα', 'Κάρπαθος', 'Καρπενήσι', 'Κάρυστος', 'Κάσος', 'Κασσάνδρα', 'Καστοριά', 'Κατερίνη', 'Κέα', 'Κεντρικά', 'Τζουμέρκα', 'Κερατσίνι-Δραπετσώνα', 'Κέρκυρα', 'Κεφαλονιά', 'Κηφισιά', 'Κιλελέρ', 'Κιλκίς', 'Κίμωλος', 'Κίσσαμος', 'Κοζάνη', 'Κομοτηνή', 'Κόνιτσα', 'Κορδελιό-Εύοσμος', 'Κόρινθος', 'Κορυδαλλός', 'Κύθηρα', 'Κύθνος', 'Κυλλήνη', 'Κύμη-Αλιβέρι', 'Κωρωπί', 'Κως', 'Λαγκαδάς', 'Λαμία', 'Λάρισα', 'Λαύριο', 'Λειψοί', 'Λέρος', 'Λέσβος', 'Λευκάδα', 'Λήμνος', 'Λιβαδειά', 'Λίμνη', 'Πλαστήρα', 'Λοκροί', 'Λουτράκι-Άγιoι', 'Θεόδωροι', 'Λυκόβρυση-Πεύκη', 'Μακρακώμη', 'Μαλεβίζι', 'Μάνδρα-Ειδυλλία', 'Μαντούδι-Λίμνη', 'Μαραθώνα', 'Μαρκόπουλο', 'Μεσογαίας', 'Μαρούσι', 'Μαρώνεια-Σάπες', 'Μεγαλόπολη', 'Μεγανήσι', 'Μέγαρα', 'Μεγίστη', 'Μεσολόγγι', 'Μεσσήνη', 'Μεταμόρφωση', 'Μέτσοβο', 'Μήλος', 'Μινώα', 'Πεδιάδα', 'Μονεμβασιά', 'Μοσχάτο-Ταύρος', 'Μουζάκι', 'Μύκη', 'Μύκονος', 'Μυλοπόταμος', 'Μώλος-Άγιος', 'Κωνσταντίνος', 'Νάξος', 'και', 'Μικρές', 'Κυκλάδες', 'Νάουσα', 'Ναυπακτία', 'Ναύπλιο', 'Νέα', 'Ζίχνη', 'Νέα', 'Ιωνία', 'Νεάπολη-Συκιές', 'Νέα', 'Σμύρνης', 'Νεμέα', 'Νεστόριο', 'Νέστος', 'Νευροκόπι', 'Νίκαια-Άγιος', 'Ιωάννης', 'Ρέντης', 'Νικόλαος', 'Σκουφάς', 'Νίσυρος', 'Νότια', 'Κυνουρία', 'Νοτιό', 'Πήλιο', 'Ξάνθη', 'Ξηρόμερο', 'Ξυλόκαστρο-Ευρωστίνα', 'Οινούσσες', 'Ορεστιάδα', 'Ορεστίδα', 'Οροπέδιο', 'Λασιθίου', 'Ορχομενός', 'Παγγαίο', 'Παιανία', 'Παιονία', 'Παλαιό', 'Φάληρο', 'Παλαμάς', 'Παλλήνη', 'Παξοί', 'Παπάγος-Χολαργός', 'Παρανέστι', 'Πάργα', 'Πάρος', 'Πάτμος', 'Πάτρα', 'Παύλος', 'Μελάς', 'Πειραιάς', 'Πεντέλη', 'Πέραμα', 'Περιστέρι', 'Πετρούπολη', 'Πηνειός', 'Πλατανιάς', 'Πολύγυρος', 'Πόρος', 'Πρέβεζα', 'Πρέσπες', 'Προσοτσάνη', 'Πύδνα-Κολινδρός', 'Πυλαία-Χορτιάτης', 'Πύλη', 'Πύργος', 'Πωγώνι', 'Ραφήνα-Πικέρμι', 'Ρέθυμνο', 'Ρήγας', 'Φεραίος', 'Ρόδος', 'Σαλαμίνα', 'Σαμoθράκη', 'Σάμος', 'Σαρωνικός', 'Σέρβια-Βελβεντός', 'Σέριφος', 'Σέρρες', 'Σητεία', 'Σιθωνία', 'Σίκινος', 'Σικυώνα', 'Σιντική', 'Σίφνος', 'Σκιάθος', 'Σκόπελος', 'Σκύδρα', 'Σκύρος', 'Σούλι', 'Σουφλί', 'Σοφάδες', 'Σπάρτη', 'Σπάτα-Άρτεμη', 'Σπέτσες', 'Στυλίδα', 'Σύμη', 'Σύρος-Ερμούπολη', 'Σφακιά', 'Τανάγρα', 'Τέμπη', 'Τήλος', 'Τήνος', 'Τόπειρος', 'Τρίκαλα', 'Τρίπολη', 'Τριφυλλία', 'Τροιζηνία', 'Τύρναβος', 'Ύδρα', 'Φαιστός', 'Φαρκαδόνας', 'Φάρσαλα', 'Φιλαδέλφεια-Χαλκηδόνα', 'Φιλιάτες', 'Φιλοθέη-Ψυχικό', 'Φλώρινα', 'Φολέγανδρος', 'Φούρνοι', 'Φυλή', 'Χαϊδάρι', 'Χαλάνδρι', 'Χαλκηδόνα', 'Χάλκη', 'Χαλκίδα', 'Χανιά', 'Χερσόνησος', 'Χίος', 'Ψαρά', 'Ωραιόκαστρο', 'Ωρωπός', ]; - protected static $country = [ - 'Ανγκόλα', 'Αζερμπαϊτζάν', 'Αίγυπτος', 'Αιθιοπία', 'Αϊτή', 'Αλβανία', 'Αλγερία', 'Αργεντινή', 'Αρμενία', 'Αυστραλία', 'Αυστρία', 'Αφγανιστάν', - 'Βέλγιο', 'Βενεζουέλα', 'Βιετνάμ', 'Βολιβία', 'Βοσνία και Ερζεγοβίνη', 'Βουλγαρία', 'Βραζιλία', - 'Γαλλία', 'Γερμανία', 'Γεωργία', 'Γροιλανδία', - 'Δανία', 'Δομινικανή Δημοκρατία', - 'Ελβετία', 'Ελλάδα', 'Ερυθραία', 'Εσθονία', - 'ΗΠΑ', 'Ηνωμένο Βασίλειο', - 'Ιαπωνία', 'Ινδία', 'Ινδονησία', 'Ιορδανία', 'Ιράκ', 'Ιράν', 'Ιρλανδία', 'Ισλανδία', 'Ισπανία', 'Ισραήλ', 'Ιταλία', - 'Καζακστάν', 'Καμπότζη', 'Καναδάς', 'Κεντροαφρικανική Δημοκρατία', 'Κένυα', 'Κίνα', 'Κιργιζία', 'Κολομβία', 'Κομόρες', 'Δημοκρατία του Κονγκό', 'Λαϊκή Δημοκρατία του Κονγκό', 'Βόρεια Κορέα', 'Νότια Κορέα', 'Κόστα Ρίκα', 'Κουβέιτ', 'Κροατία', 'Κύπρος', - 'Λάος', 'Λεττονία', 'Λευκορωσία', 'Λίβανος', 'Λιβερία', 'Λιβύη', 'Λιθουανία', 'Λουξεμβούργο', - 'Μαδαγασκάρη', 'Μαλαισία', 'Μάλτα', 'Μαρόκο', 'Μαυρίκιος', 'Μαυριτανία', 'Μαυροβούνιο', 'Μεξικό', 'Μογγολία', 'Μοζαμβίκη', 'Μολδαβία', 'Μονακό', 'Μποτσουάνα', 'Μπουρούντι', 'Μπουτάν', - 'Νέα Ζηλανδία', 'Νεπάλ', 'Νίγηρας', 'Νιγηρία', 'Νικαράγουα', 'Νορβηγία', 'Νότια Αφρική', - 'Ολλανδία', 'Ουγγαρία', 'Ουγκάντα', 'Ουζμπεκιστάν', 'Ουκρανία', 'Ουρουγουάη', - 'Πακιστάν', 'Παλαιστίνη', 'Παναμάς', 'Παραγουάη', 'Περού', 'Πολωνία', 'Πουέρτο Ρίκο', 'Πορτογαλία', 'Πρώην Γιουγκοσλαβική Δημοκρατία της Μακεδονίας', - 'Ρουάντα', 'Ρουμανία', 'Ρωσία', - 'Σαμόα', 'Σαουδική Αραβία', 'Σενεγάλη', 'Σερβία', 'Σιγκαπούρη', 'Σλοβακία', 'Σλοβενία', 'Σομαλία', 'Σουαζιλάνδη', 'Σουδάν', 'Σουηδία', 'Σουρινάμ', 'Συρία', - 'Ταϊβάν', 'Ταϊλάνδη', 'Τανζανία', 'Τατζικιστάν', 'Τζαμάικα', 'Τόγκο', 'Τόνγκα', 'Τουβαλού', 'Τουρκία', 'Τουρκμενιστάν', 'Τσεχία', 'Τυνησία', - 'Υεμένη', - 'Φιλιππίνες', 'Φινλανδία', - 'Χιλή', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastNameMale}}', - '{{streetPrefix}} {{lastNameFemale}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}, {{buildingNumber}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{postcode}}, {{prefecture}}', - ]; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '%##-###', '%#-##', '%-#' ]; + protected static $streetPrefix = [ + 'Όδος', + 'Λεωφόρος', + ]; + protected static $postcode = [ '#####', '### ##' ]; + protected static $prefecture = [ + 'Άβδηρα', + 'Αγαθονήσι', + 'Αγιά', + 'Άβδηρα', + 'Αγαθονήσι', + 'Αγιά', + 'Αγία Βαρβάρα', + 'Αγία Παρασκευή', + 'Άγιοι Ανάργυροι-Καματερό', + 'Άγιος Βασίλειος', + 'Άγιος Δημήτριος', + 'Άγιος Ευστράτιος', + 'Άγιος Νικόλαος', + 'Αγκίστρι', + 'Άγραφα', + 'Αγρίνιο', + 'Αθήνα', + 'Αιγάλεω', + 'Αιγιάλεια', + 'Αίγινα', + 'Άκτιο-Βόνιτσα', + 'Αλεξάνδρεια', + 'Αλεξανδρούπολη', + 'Αλίαρτος', + 'Άλιμος', + 'Αλμυρός', + 'Αλμωπία', + 'Αλόννησος', + 'Αμάρι', + 'Αμοργός', + 'Αμπελόκηποι-Μενεμένη', + 'Αμύνταιο', + 'Αμφίκλεια-Ελάτεια', + 'Αμφιλοχία', + 'Αμφίπολη', + 'Ανατολική Μάνη', + 'Ανάφη', + 'Ανδρίτσαινα-Κρέστενα', + 'Άνδρος', + 'Αντίπαρος', + 'Ανώγεια', + 'Αποκορώνας', + 'Αργιθέα', + 'Άργος-Μυκήνες', + 'Αριστοτέλης', + 'Αρριανά', + 'Άρτα', + 'Αρχαία Ολυμπία', + 'Αρχαία Πέλλα', + 'Αρχάνες-Αστερούσια', + 'Ασπρόπυργος', + 'Αστυπάλαια', + 'Αχαρνές', + 'Βάρη-Βούλα-Βουλιαγμένη', + 'Βέλο-Βόχα', + 'Βέροια', + 'Βιάννος', + 'Βισαλτία', + 'Βοΐο', + 'Βόλβη', + 'Βόλος', + 'Βόρεια Κυνουρία', + 'Βορεία Τζουμέρκα', + 'Βριλήσσια', + 'Βύρωνας', + 'Γαλάτσι', + 'Γαύδος', + 'Γεώργιος Καραϊσκάκης', + 'Γλυφάδα', + 'Γόρτυνα', + 'Γορτυνία', + 'Γρεβενά', + 'Δάφνη-Υμηττός', + 'Δέλτα', + 'Δελφοί', + 'Δεσκάτη', + 'Διδυμότειχο', + 'Δίον-Ολύμπος', + 'Διόνυσος', + 'Δίρφυς-Μεσσαπία', + 'Δίστομο-Αράχοβα-Αντικύρα', + 'Δομοκός', + 'Δοξάτο', + 'Δράμα', + 'Δυτική Αχαΐα', + 'Δυτική Μάνη', + 'Δυτική Οιχαλία', + 'Δυτική Πύλος-Νέστορας', + 'Δωδώνη', + 'Δωρίδα', + 'Έδεσσα', + 'Ελασσόνα', + 'Ελαφόνησος', + 'Ελευσίνα', + 'Ελληνικό-Αργυρούπολη', + 'Εμμανουήλ Παππάς', + 'Εορδαία', + 'Επίδαυρος', + 'Ερέτρια', + 'Ερμιονίδα', + 'Ερύμανθος', + 'Ευρώτας', + 'Ζαγορά-Μουρέσι', + 'Ζαγόρι', + 'Ζάκυνθος', + 'Ζαχάρω', + 'Ζηρός', + 'Ζίτσα', + 'Ζωγράφου', + 'Ηγουμενίτσα', + 'Ηλίδα', + 'Ηλιούπολη', + 'Ηράκλεια', + 'Ηράκλειο', + 'Ηράκλειο', + 'Θάσος', + 'Θερμαϊκός', + 'Θέρμη', + 'Θέρμο', + 'Θεσσαλονίκη', + 'Θήβα', + 'Θήρα', + 'Ίασμος', + 'Ιεράπετρα', + 'Ιθάκη', + 'Ικαριά', + 'Ίλιο', + 'Ίος', + 'Ιστιαία-Αιδηψός', + 'Ιωάννινα', + 'Καβάλα', + 'Καισαριανή', + 'Καλάβρυτα', + 'Καλαμαριά', + 'Καλαμάτα', + 'Καλαμπάκα', + 'Καλλιθέα', + 'Καλλικράτεια-Μουδανιά', + 'Κάλυμνος', + 'Κάνδανος-Σέλινο', + 'Καρδίτσα', + 'Κάρπαθος', + 'Καρπενήσι', + 'Κάρυστος', + 'Κάσος', + 'Κασσάνδρα', + 'Καστοριά', + 'Κατερίνη', + 'Κέα', + 'Κεντρικά Τζουμέρκα', + 'Κερατσίνι-Δραπετσώνα', + 'Κέρκυρα', + 'Κεφαλονιά', + 'Κηφισιά', + 'Κιλελέρ', + 'Κιλκίς', + 'Κίμωλος', + 'Κίσσαμος', + 'Κοζάνη', + 'Κομοτηνή', + 'Κόνιτσα', + 'Κορδελιό-Εύοσμος', + 'Κόρινθος', + 'Κορυδαλλός', + 'Κύθηρα', + 'Κύθνος', + 'Κυλλήνη', + 'Κύμη-Αλιβέρι', + 'Κωρωπί', + 'Κως', + 'Λαγκαδάς', + 'Λαμία', + 'Λάρισα', + 'Λαύριο', + 'Λειψοί', + 'Λέρος', + 'Λέσβος', + 'Λευκάδα', + 'Λήμνος', + 'Λιβαδειά', + 'Λίμνη Πλαστήρα', + 'Λοκροί', + 'Λουτράκι-Άγιoι Θεόδωροι', + 'Λυκόβρυση-Πεύκη', + 'Μακρακώμη', + 'Μαλεβίζι', + 'Μάνδρα-Ειδυλλία', + 'Μαντούδι-Λίμνη', + 'Μαραθώνα', + 'Μαρκόπουλο Μεσογαίας', + 'Μαρούσι', + 'Μαρώνεια-Σάπες', + 'Μεγαλόπολη', + 'Μεγανήσι', + 'Μέγαρα', + 'Μεγίστη', + 'Μεσολόγγι', + 'Μεσσήνη', + 'Μεταμόρφωση', + 'Μέτσοβο', + 'Μήλος', + 'Μινώα Πεδιάδα', + 'Μονεμβασιά', + 'Μοσχάτο-Ταύρος', + 'Μουζάκι', + 'Μύκη', + 'Μύκονος', + 'Μυλοπόταμος', + 'Μώλος-Άγιος Κωνσταντίνος', + 'Νάξος και Μικρές Κυκλάδες', + 'Νάουσα', + 'Ναυπακτία', + 'Ναύπλιο', + 'Νέα Ζίχνη', + 'Νέα Ιωνία', + 'Νεάπολη-Συκιές', + 'Νέα Σμύρνης', + 'Νεμέα', + 'Νεστόριο', + 'Νέστος', + 'Νευροκόπι', + 'Νίκαια-Άγιος Ιωάννης Ρέντης', + 'Νικόλαος Σκουφάς', + 'Νίσυρος', + 'Νότια Κυνουρία', + 'Νοτιό Πήλιο', + 'Ξάνθη', + 'Ξηρόμερο', + 'Ξυλόκαστρο-Ευρωστίνα', + 'Οινούσσες', + 'Ορεστιάδα', + 'Ορεστίδα', + 'Οροπέδιο Λασιθίου', + 'Ορχομενός', + 'Παγγαίο', + 'Παιανία', + 'Παιονία', + 'Παλαιό Φάληρο', + 'Παλαμάς', + 'Παλλήνη', + 'Παξοί', + 'Παπάγος-Χολαργός', + 'Παρανέστι', + 'Πάργα', + 'Πάρος', + 'Πάτμος', + 'Πάτρα', + 'Παύλος Μελάς', + 'Πειραιάς', + 'Πεντέλη', + 'Πέραμα', + 'Περιστέρι', + 'Πετρούπολη', + 'Πηνειός', + 'Πλατανιάς', + 'Πολύγυρος', + 'Πόρος', + 'Πρέβεζα', + 'Πρέσπες', + 'Προσοτσάνη', + 'Πύδνα-Κολινδρός', + 'Πυλαία-Χορτιάτης', + 'Πύλη', + 'Πύργος', + 'Πωγώνι', + 'Ραφήνα-Πικέρμι', + 'Ρέθυμνο', + 'Ρήγας Φεραίος', + 'Ρόδος', + 'Σαλαμίνα', + 'Σαμoθράκη', + 'Σάμος', + 'Σαρωνικός', + 'Σέρβια-Βελβεντός', + 'Σέριφος', + 'Σέρρες', + 'Σητεία', + 'Σιθωνία', + 'Σίκινος', + 'Σικυώνα', + 'Σιντική', + 'Σίφνος', + 'Σκιάθος', + 'Σκόπελος', + 'Σκύδρα', + 'Σκύρος', + 'Σούλι', + 'Σουφλί', + 'Σοφάδες', + 'Σπάρτη', + 'Σπάτα-Άρτεμη', + 'Σπέτσες', + 'Στυλίδα', + 'Σύμη', + 'Σύρος-Ερμούπολη', + 'Σφακιά', + 'Τανάγρα', + 'Τέμπη', + 'Τήλος', + 'Τήνος', + 'Τόπειρος', + 'Τρίκαλα', + 'Τρίπολη', + 'Τριφυλλία', + 'Τροιζηνία', + 'Τύρναβος', + 'Ύδρα', + 'Φαιστός', + 'Φαρκαδόνας', + 'Φάρσαλα', + 'Φιλαδέλφεια-Χαλκηδόνα', + 'Φιλιάτες', + 'Φιλοθέη-Ψυχικό', + 'Φλώρινα', + 'Φολέγανδρος', + 'Φούρνοι', + 'Φυλή', + 'Χαϊδάρι', + 'Χαλάνδρι', + 'Χαλκηδόνα', + 'Χάλκη', + 'Χαλκίδα', + 'Χανιά', + 'Χερσόνησος', + 'Χίος', + 'Ψαρά', + 'Ωραιόκαστρο', + 'Ωρωπός Βαρβάρα', + 'Αγία', + 'Παρασκευή', + 'Άγιοι', + 'Ανάργυροι-Καματερό', + 'Άγιος', + 'Βασίλειος', + 'Άγιος', + 'Δημήτριος', + 'Άγιος', + 'Ευστράτιος', + 'Άγιος', + 'Νικόλαος', + 'Αγκίστρι', + 'Άγραφα', + 'Αγρίνιο', + 'Αθήνα', + 'Αιγάλεω', + 'Αιγιάλεια', + 'Αίγινα', + 'Άκτιο-Βόνιτσα', + 'Αλεξάνδρεια', + 'Αλεξανδρούπολη', + 'Αλίαρτος', + 'Άλιμος', + 'Αλμυρός', + 'Αλμωπία', + 'Αλόννησος', + 'Αμάρι', + 'Αμοργός', + 'Αμπελόκηποι-Μενεμένη', + 'Αμύνταιο', + 'Αμφίκλεια-Ελάτεια', + 'Αμφιλοχία', + 'Αμφίπολη', + 'Ανατολική', + 'Μάνη', + 'Ανάφη', + 'Ανδρίτσαινα-Κρέστενα', + 'Άνδρος', + 'Αντίπαρος', + 'Ανώγεια', + 'Αποκορώνας', + 'Αργιθέα', + 'Άργος-Μυκήνες', + 'Αριστοτέλης', + 'Αρριανά', + 'Άρτα', + 'Αρχαία', + 'Ολυμπία', + 'Αρχαία', + 'Πέλλα', + 'Αρχάνες-Αστερούσια', + 'Ασπρόπυργος', + 'Αστυπάλαια', + 'Αχαρνές', + 'Βάρη-Βούλα-Βουλιαγμένη', + 'Βέλο-Βόχα', + 'Βέροια', + 'Βιάννος', + 'Βισαλτία', + 'Βοΐο', + 'Βόλβη', + 'Βόλος', + 'Βόρεια', + 'Κυνουρία', + 'Βορεία', + 'Τζουμέρκα', + 'Βριλήσσια', + 'Βύρωνας', + 'Γαλάτσι', + 'Γαύδος', + 'Γεώργιος', + 'Καραϊσκάκης', + 'Γλυφάδα', + 'Γόρτυνα', + 'Γορτυνία', + 'Γρεβενά', + 'Δάφνη-Υμηττός', + 'Δέλτα', + 'Δελφοί', + 'Δεσκάτη', + 'Διδυμότειχο', + 'Δίον-Ολύμπος', + 'Διόνυσος', + 'Δίρφυς-Μεσσαπία', + 'Δίστομο-Αράχοβα-Αντικύρα', + 'Δομοκός', + 'Δοξάτο', + 'Δράμα', + 'Δυτική', + 'Αχαΐα', + 'Δυτική', + 'Μάνη', + 'Δυτική', + 'Οιχαλία', + 'Δυτική', + 'Πύλος-Νέστορας', + 'Δωδώνη', + 'Δωρίδα', + 'Έδεσσα', + 'Ελασσόνα', + 'Ελαφόνησος', + 'Ελευσίνα', + 'Ελληνικό-Αργυρούπολη', + 'Εμμανουήλ', + 'Παππάς', + 'Εορδαία', + 'Επίδαυρος', + 'Ερέτρια', + 'Ερμιονίδα', + 'Ερύμανθος', + 'Ευρώτας', + 'Ζαγορά-Μουρέσι', + 'Ζαγόρι', + 'Ζάκυνθος', + 'Ζαχάρω', + 'Ζηρός', + 'Ζίτσα', + 'Ζωγράφου', + 'Ηγουμενίτσα', + 'Ηλίδα', + 'Ηλιούπολη', + 'Ηράκλεια', + 'Ηράκλειο', + 'Ηράκλειο', + 'Θάσος', + 'Θερμαϊκός', + 'Θέρμη', + 'Θέρμο', + 'Θεσσαλονίκη', + 'Θήβα', + 'Θήρα', + 'Ίασμος', + 'Ιεράπετρα', + 'Ιθάκη', + 'Ικαριά', + 'Ίλιο', + 'Ίος', + 'Ιστιαία-Αιδηψός', + 'Ιωάννινα', + 'Καβάλα', + 'Καισαριανή', + 'Καλάβρυτα', + 'Καλαμαριά', + 'Καλαμάτα', + 'Καλαμπάκα', + 'Καλλιθέα', + 'Καλλικράτεια-Μουδανιά', + 'Κάλυμνος', + 'Κάνδανος-Σέλινο', + 'Καρδίτσα', + 'Κάρπαθος', + 'Καρπενήσι', + 'Κάρυστος', + 'Κάσος', + 'Κασσάνδρα', + 'Καστοριά', + 'Κατερίνη', + 'Κέα', + 'Κεντρικά', + 'Τζουμέρκα', + 'Κερατσίνι-Δραπετσώνα', + 'Κέρκυρα', + 'Κεφαλονιά', + 'Κηφισιά', + 'Κιλελέρ', + 'Κιλκίς', + 'Κίμωλος', + 'Κίσσαμος', + 'Κοζάνη', + 'Κομοτηνή', + 'Κόνιτσα', + 'Κορδελιό-Εύοσμος', + 'Κόρινθος', + 'Κορυδαλλός', + 'Κύθηρα', + 'Κύθνος', + 'Κυλλήνη', + 'Κύμη-Αλιβέρι', + 'Κωρωπί', + 'Κως', + 'Λαγκαδάς', + 'Λαμία', + 'Λάρισα', + 'Λαύριο', + 'Λειψοί', + 'Λέρος', + 'Λέσβος', + 'Λευκάδα', + 'Λήμνος', + 'Λιβαδειά', + 'Λίμνη', + 'Πλαστήρα', + 'Λοκροί', + 'Λουτράκι-Άγιoι', + 'Θεόδωροι', + 'Λυκόβρυση-Πεύκη', + 'Μακρακώμη', + 'Μαλεβίζι', + 'Μάνδρα-Ειδυλλία', + 'Μαντούδι-Λίμνη', + 'Μαραθώνα', + 'Μαρκόπουλο', + 'Μεσογαίας', + 'Μαρούσι', + 'Μαρώνεια-Σάπες', + 'Μεγαλόπολη', + 'Μεγανήσι', + 'Μέγαρα', + 'Μεγίστη', + 'Μεσολόγγι', + 'Μεσσήνη', + 'Μεταμόρφωση', + 'Μέτσοβο', + 'Μήλος', + 'Μινώα', + 'Πεδιάδα', + 'Μονεμβασιά', + 'Μοσχάτο-Ταύρος', + 'Μουζάκι', + 'Μύκη', + 'Μύκονος', + 'Μυλοπόταμος', + 'Μώλος-Άγιος', + 'Κωνσταντίνος', + 'Νάξος', + 'και', + 'Μικρές', + 'Κυκλάδες', + 'Νάουσα', + 'Ναυπακτία', + 'Ναύπλιο', + 'Νέα', + 'Ζίχνη', + 'Νέα', + 'Ιωνία', + 'Νεάπολη-Συκιές', + 'Νέα', + 'Σμύρνης', + 'Νεμέα', + 'Νεστόριο', + 'Νέστος', + 'Νευροκόπι', + 'Νίκαια-Άγιος', + 'Ιωάννης', + 'Ρέντης', + 'Νικόλαος', + 'Σκουφάς', + 'Νίσυρος', + 'Νότια', + 'Κυνουρία', + 'Νοτιό', + 'Πήλιο', + 'Ξάνθη', + 'Ξηρόμερο', + 'Ξυλόκαστρο-Ευρωστίνα', + 'Οινούσσες', + 'Ορεστιάδα', + 'Ορεστίδα', + 'Οροπέδιο', + 'Λασιθίου', + 'Ορχομενός', + 'Παγγαίο', + 'Παιανία', + 'Παιονία', + 'Παλαιό', + 'Φάληρο', + 'Παλαμάς', + 'Παλλήνη', + 'Παξοί', + 'Παπάγος-Χολαργός', + 'Παρανέστι', + 'Πάργα', + 'Πάρος', + 'Πάτμος', + 'Πάτρα', + 'Παύλος', + 'Μελάς', + 'Πειραιάς', + 'Πεντέλη', + 'Πέραμα', + 'Περιστέρι', + 'Πετρούπολη', + 'Πηνειός', + 'Πλατανιάς', + 'Πολύγυρος', + 'Πόρος', + 'Πρέβεζα', + 'Πρέσπες', + 'Προσοτσάνη', + 'Πύδνα-Κολινδρός', + 'Πυλαία-Χορτιάτης', + 'Πύλη', + 'Πύργος', + 'Πωγώνι', + 'Ραφήνα-Πικέρμι', + 'Ρέθυμνο', + 'Ρήγας', + 'Φεραίος', + 'Ρόδος', + 'Σαλαμίνα', + 'Σαμoθράκη', + 'Σάμος', + 'Σαρωνικός', + 'Σέρβια-Βελβεντός', + 'Σέριφος', + 'Σέρρες', + 'Σητεία', + 'Σιθωνία', + 'Σίκινος', + 'Σικυώνα', + 'Σιντική', + 'Σίφνος', + 'Σκιάθος', + 'Σκόπελος', + 'Σκύδρα', + 'Σκύρος', + 'Σούλι', + 'Σουφλί', + 'Σοφάδες', + 'Σπάρτη', + 'Σπάτα-Άρτεμη', + 'Σπέτσες', + 'Στυλίδα', + 'Σύμη', + 'Σύρος-Ερμούπολη', + 'Σφακιά', + 'Τανάγρα', + 'Τέμπη', + 'Τήλος', + 'Τήνος', + 'Τόπειρος', + 'Τρίκαλα', + 'Τρίπολη', + 'Τριφυλλία', + 'Τροιζηνία', + 'Τύρναβος', + 'Ύδρα', + 'Φαιστός', + 'Φαρκαδόνας', + 'Φάρσαλα', + 'Φιλαδέλφεια-Χαλκηδόνα', + 'Φιλιάτες', + 'Φιλοθέη-Ψυχικό', + 'Φλώρινα', + 'Φολέγανδρος', + 'Φούρνοι', + 'Φυλή', + 'Χαϊδάρι', + 'Χαλάνδρι', + 'Χαλκηδόνα', + 'Χάλκη', + 'Χαλκίδα', + 'Χανιά', + 'Χερσόνησος', + 'Χίος', + 'Ψαρά', + 'Ωραιόκαστρο', + 'Ωρωπός', + ]; + protected static $country = [ + 'Ανγκόλα', + 'Αζερμπαϊτζάν', + 'Αίγυπτος', + 'Αιθιοπία', + 'Αϊτή', + 'Αλβανία', + 'Αλγερία', + 'Αργεντινή', + 'Αρμενία', + 'Αυστραλία', + 'Αυστρία', + 'Αφγανιστάν', + 'Βέλγιο', + 'Βενεζουέλα', + 'Βιετνάμ', + 'Βολιβία', + 'Βοσνία και Ερζεγοβίνη', + 'Βουλγαρία', + 'Βραζιλία', + 'Γαλλία', + 'Γερμανία', + 'Γεωργία', + 'Γροιλανδία', + 'Δανία', + 'Δομινικανή Δημοκρατία', + 'Ελβετία', + 'Ελλάδα', + 'Ερυθραία', + 'Εσθονία', + 'ΗΠΑ', + 'Ηνωμένο Βασίλειο', + 'Ιαπωνία', + 'Ινδία', + 'Ινδονησία', + 'Ιορδανία', + 'Ιράκ', + 'Ιράν', + 'Ιρλανδία', + 'Ισλανδία', + 'Ισπανία', + 'Ισραήλ', + 'Ιταλία', + 'Καζακστάν', + 'Καμπότζη', + 'Καναδάς', + 'Κεντροαφρικανική Δημοκρατία', + 'Κένυα', + 'Κίνα', + 'Κιργιζία', + 'Κολομβία', + 'Κομόρες', + 'Δημοκρατία του Κονγκό', + 'Λαϊκή Δημοκρατία του Κονγκό', + 'Βόρεια Κορέα', + 'Νότια Κορέα', + 'Κόστα Ρίκα', + 'Κουβέιτ', + 'Κροατία', + 'Κύπρος', + 'Λάος', + 'Λεττονία', + 'Λευκορωσία', + 'Λίβανος', + 'Λιβερία', + 'Λιβύη', + 'Λιθουανία', + 'Λουξεμβούργο', + 'Μαδαγασκάρη', + 'Μαλαισία', + 'Μάλτα', + 'Μαρόκο', + 'Μαυρίκιος', + 'Μαυριτανία', + 'Μαυροβούνιο', + 'Μεξικό', + 'Μογγολία', + 'Μοζαμβίκη', + 'Μολδαβία', + 'Μονακό', + 'Μποτσουάνα', + 'Μπουρούντι', + 'Μπουτάν', + 'Νέα Ζηλανδία', + 'Νεπάλ', + 'Νίγηρας', + 'Νιγηρία', + 'Νικαράγουα', + 'Νορβηγία', + 'Νότια Αφρική', + 'Ολλανδία', + 'Ουγγαρία', + 'Ουγκάντα', + 'Ουζμπεκιστάν', + 'Ουκρανία', + 'Ουρουγουάη', + 'Πακιστάν', + 'Παλαιστίνη', + 'Παναμάς', + 'Παραγουάη', + 'Περού', + 'Πολωνία', + 'Πουέρτο Ρίκο', + 'Πορτογαλία', + 'Πρώην Γιουγκοσλαβική Δημοκρατία της Μακεδονίας', + 'Ρουάντα', + 'Ρουμανία', + 'Ρωσία', + 'Σαμόα', + 'Σαουδική Αραβία', + 'Σενεγάλη', + 'Σερβία', + 'Σιγκαπούρη', + 'Σλοβακία', + 'Σλοβενία', + 'Σομαλία', + 'Σουαζιλάνδη', + 'Σουδάν', + 'Σουηδία', + 'Σουρινάμ', + 'Συρία', + 'Ταϊβάν', + 'Ταϊλάνδη', + 'Τανζανία', + 'Τατζικιστάν', + 'Τζαμάικα', + 'Τόγκο', + 'Τόνγκα', + 'Τουβαλού', + 'Τουρκία', + 'Τουρκμενιστάν', + 'Τσεχία', + 'Τυνησία', + 'Υεμένη', + 'Φιλιππίνες', + 'Φινλανδία', + 'Χιλή', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastNameMale}}', + '{{streetPrefix}} {{lastNameFemale}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}, {{buildingNumber}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{postcode}}, {{prefecture}}', + ]; - /** - * @example 'Όδος' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Όδος' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'Θερμαϊκός' - */ - public static function prefecture() - { - return static::randomElement(static::$prefecture); - } + /** + * @example 'Θερμαϊκός' + */ + public static function prefecture() { + return static::randomElement( static::$prefecture ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Company.php index 6d3db11..86bbdb3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Company.php @@ -2,83 +2,80 @@ namespace Faker\Provider\el_GR; -class Company extends \Faker\Provider\Company -{ - protected static $companySuffix = [ - 'Ο.Ε', - 'Ε.Ε', - 'Α.Ε', - 'Ε.Π.Ε', - ]; +class Company extends \Faker\Provider\Company { + protected static $companySuffix = [ + 'Ο.Ε', + 'Ε.Ε', + 'Α.Ε', + 'Ε.Π.Ε', + ]; - protected static $companyFormats = [ - '{{lastName}} {{firstName}} {{companySuffix}}', - '{{lastName}}-{{firstName}}', - ]; + protected static $companyFormats = [ + '{{lastName}} {{firstName}} {{companySuffix}}', + '{{lastName}}-{{firstName}}', + ]; - protected static $grafm = ['#########']; + protected static $grafm = [ '#########' ]; - protected static $doy = [ - 'Α\' Αθήνας', - 'Β\' Αθήνας', - 'Γ\' Αθήνας', - 'ΣΤ\' Αθήνας', - 'Γαλάτσιου', - 'Α\' Πειραιά', - 'Β\' Πειραιά', - 'Γ\' Πειραιά', - 'Α\' Θεσσαλονίκης', - 'Β\' Θεσσαλονίκης', - 'Γλυφάδας', - 'Ωροπού', - 'Καλιθέας', - 'Αγίου Δημητρίου', - 'Νέας Σμύρνης', - 'Αμαρουσίου', - 'Θήρας', - 'Αμοργού', - 'Πατρών', - 'ΔΟΥ ΠΛΟΙΩΝ', - 'ΦΑΕΕ ΑΘΗΝΩΝ', - ]; + protected static $doy = [ + 'Α\' Αθήνας', + 'Β\' Αθήνας', + 'Γ\' Αθήνας', + 'ΣΤ\' Αθήνας', + 'Γαλάτσιου', + 'Α\' Πειραιά', + 'Β\' Πειραιά', + 'Γ\' Πειραιά', + 'Α\' Θεσσαλονίκης', + 'Β\' Θεσσαλονίκης', + 'Γλυφάδας', + 'Ωροπού', + 'Καλιθέας', + 'Αγίου Δημητρίου', + 'Νέας Σμύρνης', + 'Αμαρουσίου', + 'Θήρας', + 'Αμοργού', + 'Πατρών', + 'ΔΟΥ ΠΛΟΙΩΝ', + 'ΦΑΕΕ ΑΘΗΝΩΝ', + ]; - protected static $object = [ - 'Προγραμματιστής', - 'Δικηγόρος', - 'Γιατρός', - 'Γραφίστας', - 'Αρχαιολόγος', - 'Εκπαιδευτικός', - 'Μεταφραστής', - 'Μηχανολόγος-μηχανικός', - 'Αρχιτέκτονας', - 'Δημοσιογράφος', - 'Υπηρεσίες Διαδικτύου', - 'Ραδιοφωνικές παραγωγές', - 'Καραγκιοζοπαίχτης', - 'Κουλουράς', - 'Κομπάρσος', - 'Καλλιτεχνικός πράκτορας', - 'Εισαγωγαί-εξαγωγαί', - 'Ωρολογοποιός', - 'Καθεκλοποιός', - ]; + protected static $object = [ + 'Προγραμματιστής', + 'Δικηγόρος', + 'Γιατρός', + 'Γραφίστας', + 'Αρχαιολόγος', + 'Εκπαιδευτικός', + 'Μεταφραστής', + 'Μηχανολόγος-μηχανικός', + 'Αρχιτέκτονας', + 'Δημοσιογράφος', + 'Υπηρεσίες Διαδικτύου', + 'Ραδιοφωνικές παραγωγές', + 'Καραγκιοζοπαίχτης', + 'Κουλουράς', + 'Κομπάρσος', + 'Καλλιτεχνικός πράκτορας', + 'Εισαγωγαί-εξαγωγαί', + 'Ωρολογοποιός', + 'Καθεκλοποιός', + ]; - /** - * @example 'Αθήνας' - */ - public static function doy() - { - return static::randomElement(static::$doy); - } + /** + * @example 'Αθήνας' + */ + public static function doy() { + return static::randomElement( static::$doy ); + } - /** - * Return The profession of a company - * - * @example 'Δημοσιογράφος' - */ - public static function object() - { - return static::randomElement(static::$object); - } + /** + * Return The profession of a company + * + * @example 'Δημοσιογράφος' + */ + public static function object() { + return static::randomElement( static::$object ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Payment.php index 9ce3ad7..81acbec 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\el_GR; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'GR', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'GR', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Person.php index 26a259e..d11f850 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Person.php @@ -2,180 +2,1681 @@ namespace Faker\Provider\el_GR; -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', - ]; + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', + ]; - protected static $firstNameMale = [ - 'Αβραάμ', 'Αγαθάγγελος', 'Αγαθοκλής', 'Αγαθόνικος', 'Αγαμέμνων', 'Αγαπητός', 'Αγάπιος', 'Άγγελος', 'Αγησίλαος', 'Αδάμ', 'Αδαμάντιος', 'Άδωνις', 'Αθανάσιος', 'Αθηναγόρας', 'Αθηνόδωρος', 'Αιμίλιος', 'Ακριβός', 'Ακρίτας', 'Αλέξανδρος', 'Αλέξιος', 'Αλκιβιάδης', 'Αμβρόσιος', 'Αναγνώστης', 'Ανανίας', 'Αναξαγόρας', 'Ανάργυρος', 'Αναστάσιος', 'Ανδροκλής', 'Ανδρόνικος', 'Άνθιμος', 'Ανθούλης', 'Αντίγονος', 'Αντίπατρος', 'Αντύπας', 'Αντώνιος', 'Απόλλων', 'Απόστολος', 'Αργύριος', 'Άρης', 'Αρίσταρχος', 'Αριστόβουλος', 'Αριστομένης', 'Άριστος', 'Αριστοτέλης', 'Αριστοφάνης', 'Αρτέμιος', 'Αρχέλαος', 'Αρχιμήδης', 'Ασημής', 'Ασκληπιός', 'Αστέριος', 'Αυγέρης', 'Αύγουστος', 'Αυξέντιος', 'Αφέντης', 'Αχιλλέας', - 'Βάιος', 'Βαλάντης', 'Βαλεντίνος', 'Βαλέριος', 'Βαρδής', 'Βαρθολομαίος', 'Βαρσάμος', 'Βασίλειος', 'Βασίλης', 'Βελισσάριος', 'Βενέτιος', 'Βενιαμίν', 'Βενιζέλος', 'Βησσαρίων', 'Βικέντιος', 'Βλαδίμηρος', 'Βλάσιος', 'Βρασίδας', 'Βύρων', - 'Γαβριήλ', 'Γαλάτιος', 'Γαληνός', 'Γαρύφαλλος', 'Γεράσιμος', 'Γεώργιος', 'Γκίκας', 'Γρηγόριος', - 'Δαμασκηνός', 'Δαμιανός', 'Δανιήλ', 'Δημήτριος', 'Δημοκράτης', 'Δημόκριτος', 'Δήμος', 'Δημοσθένης', 'Δίκαιος', 'Διογένης', 'Διομήδης', 'Διονύσιος', 'Δομήνικος', 'Δράκων', 'Δρόσος', 'Δωρόθεος', - 'Ειρηναίος', 'Έκτορας', 'Ελευθέριος', 'Ελισσαίος', 'Εμμανουήλ', 'Έξαρχος', 'Επαμεινώνδας', 'Ερμής', 'Ερμόλαος', 'Ερρίκος', 'Ερωτόκριτος', 'Ευάγγελος', 'Ευγένιος', 'Ευδόξιος', 'Ευθύμιος', 'Ευκλείδης', 'Ευμένιος', 'Ευριπίδης', 'Ευσέβιος', 'Ευστάθιος', 'Ευστράτιος', 'Ευτύχιος', 'Εφραίμ', - 'Ζαφείριος', 'Ζαχαρίας', 'Ζηνόβιος', 'Ζήνων', - 'Ηλίας', 'Ηρακλής', 'Ηρόδοτος', 'Ησαΐας', - 'Θαλής', 'Θεμιστοκλής', 'Θεοδόσιος', 'Θεόδουλος', 'Θεόδωρος', 'Θεόκλητος', 'Θεολόγος', 'Θεόπιστος', 'Θεοτόκης', 'Θεοφάνης', 'Θεόφιλος', 'Θεόφραστος', 'Θεοφύλακτος', 'Θεοχάρης', 'Θησεύς', 'Θουκυδίδης', 'Θρασύβουλος', 'Θωμάς', - 'Ιάκωβος', 'Ιάσων', 'Ιγνάτιος', 'Ιερεμίας', 'Ιερόθεος', 'Ιερώνυμος', 'Ίκαρος', 'Ιορδάνης', 'Ιουλιανός', 'Ιούλιος', 'Ιπποκράτης', 'Ιππόλυτος', 'Ισαάκ', 'Ισίδωρος', 'Ιωακείμ', 'Ιωάννης', 'Ίων', 'Ιωνάς', 'Ιωσήφ', - 'Καλλίνικος', 'Κάρολος', 'Κηρύκος', 'Κίμων', 'Κλεάνθης', 'Κλέαρχος', 'Κλεόβουλος', 'Κλεομένης', 'Κλεόπας', 'Κλήμης', 'Κομνηνός', 'Κορνήλιος', 'Κοσμάς', 'Κρυστάλλης', 'Κυπριανός', 'Κυριαζής', 'Κυριάκος', 'Κύρος', 'Κωνσταντίνος', - 'Λαέρτης', 'Λάζαρος', 'Λάμπρος', 'Λαοκράτης', 'Λάσκαρης', 'Λαυρέντιος', 'Λέανδρος', 'Λεμονής', 'Λεονάρδος', 'Λέων', 'Λεωνίδας', 'Λογοθέτης', 'Λουδοβίκος', 'Λουκάς', 'Λουκιανός', 'Λυκούργος', 'Λύσανδρος', - 'Μαγδαληνός', 'Μακάριος', 'Μαρίνος', 'Μάριος', 'Μάρκος', 'Μαρτίνος', 'Ματθαίος', 'Μαυρίκιος', 'Μαυροειδής', 'Μαύρος', 'Μεγακλής', 'Μεθόδιος', 'Μελέτιος', 'Μένανδρος', 'Μενέλαος', 'Μερκούριος', 'Μηνάς', 'Μιλτιάδης', 'Μίνωας', 'Μιχαήλ', - 'Ναθαναήλ', 'Ναπολέων', 'Νέαρχος', 'Νεκτάριος', 'Νεοκλής', 'Νεόφυτος', 'Νίκανδρος', 'Νικήτας', 'Νικηφόρος', 'Νικόδημος', 'Νικόλαος', 'Νίκων', - 'Ξανθός', 'Ξενοφών', - 'Οδυσσέας', 'Όθων', 'Όμηρος', 'Ορέστης', 'Ορφέας', - 'Παναγιώτης', 'Πανορμίτης', 'Πανταζής', 'Παντελεήμων', 'Παρασκευάς', 'Παράσχος', 'Πάρις', 'Πασχάλης', 'Πάτροκλος', 'Παύλος', 'Παυσανίας', 'Πελοπίδας', 'Περικλής', 'Πέτρος', 'Πίνδαρος', 'Πλάτων', 'Πλούταρχος', 'Πολύβιος', 'Πολύδωρος', 'Πολυζώης', 'Πολύκαρπος', 'Πολυκράτης', 'Πολυχρόνιος', 'Πραξιτέλης', 'Πρόδρομος', 'Προκόπιος', 'Προμηθέας', 'Πυθαγόρας', 'Πύρρος', - 'Ράλλης', 'Ραφαήλ', 'Ρήγας', 'Ρίζος', 'Ροδόλφος', 'Ρωμανός', - 'Σάββας', 'Σαμουήλ', 'Σαράντης', 'Σεβαστιανός', 'Σεραφείμ', 'Σέργιος', 'Σολομών', 'Σόλων', 'Σοφοκλής', 'Σπυρίδων', 'Σταμάτιος', 'Σταύρος', 'Στέργιος', 'Στέφανος', 'Στυλιανός', 'Συμεών', 'Σώζων', 'Σωκράτης', 'Σωτήριος', - 'Ταξίαρχος', 'Τηλέμαχος', 'Τιμόθεος', 'Τιμολέων', 'Τίμων', 'Τίτος', 'Τριαντάφυλλος', 'Τρύφων', 'Τσαμπίκος', - 'Υάκινθος', - 'Φαίδων', 'Φανούριος', 'Φιλήμων', 'Φίλιππος', 'Φοίβος', 'Φραγκίσκος', 'Φρειδερίκος', 'Φρίξος', 'Φωκάς', 'Φωκίων', 'Φωτεινός', 'Φώτιος', - 'Χαράλαμπος', 'Χαρίλαος', 'Χαρίτος', 'Χρήστος', 'Χριστόδουλος', 'Χριστόφορος', 'Χρύσανθος', 'Χρυσοβαλάντιος', 'Χρυσόστομος', - ]; + protected static $firstNameMale = [ + 'Αβραάμ', + 'Αγαθάγγελος', + 'Αγαθοκλής', + 'Αγαθόνικος', + 'Αγαμέμνων', + 'Αγαπητός', + 'Αγάπιος', + 'Άγγελος', + 'Αγησίλαος', + 'Αδάμ', + 'Αδαμάντιος', + 'Άδωνις', + 'Αθανάσιος', + 'Αθηναγόρας', + 'Αθηνόδωρος', + 'Αιμίλιος', + 'Ακριβός', + 'Ακρίτας', + 'Αλέξανδρος', + 'Αλέξιος', + 'Αλκιβιάδης', + 'Αμβρόσιος', + 'Αναγνώστης', + 'Ανανίας', + 'Αναξαγόρας', + 'Ανάργυρος', + 'Αναστάσιος', + 'Ανδροκλής', + 'Ανδρόνικος', + 'Άνθιμος', + 'Ανθούλης', + 'Αντίγονος', + 'Αντίπατρος', + 'Αντύπας', + 'Αντώνιος', + 'Απόλλων', + 'Απόστολος', + 'Αργύριος', + 'Άρης', + 'Αρίσταρχος', + 'Αριστόβουλος', + 'Αριστομένης', + 'Άριστος', + 'Αριστοτέλης', + 'Αριστοφάνης', + 'Αρτέμιος', + 'Αρχέλαος', + 'Αρχιμήδης', + 'Ασημής', + 'Ασκληπιός', + 'Αστέριος', + 'Αυγέρης', + 'Αύγουστος', + 'Αυξέντιος', + 'Αφέντης', + 'Αχιλλέας', + 'Βάιος', + 'Βαλάντης', + 'Βαλεντίνος', + 'Βαλέριος', + 'Βαρδής', + 'Βαρθολομαίος', + 'Βαρσάμος', + 'Βασίλειος', + 'Βασίλης', + 'Βελισσάριος', + 'Βενέτιος', + 'Βενιαμίν', + 'Βενιζέλος', + 'Βησσαρίων', + 'Βικέντιος', + 'Βλαδίμηρος', + 'Βλάσιος', + 'Βρασίδας', + 'Βύρων', + 'Γαβριήλ', + 'Γαλάτιος', + 'Γαληνός', + 'Γαρύφαλλος', + 'Γεράσιμος', + 'Γεώργιος', + 'Γκίκας', + 'Γρηγόριος', + 'Δαμασκηνός', + 'Δαμιανός', + 'Δανιήλ', + 'Δημήτριος', + 'Δημοκράτης', + 'Δημόκριτος', + 'Δήμος', + 'Δημοσθένης', + 'Δίκαιος', + 'Διογένης', + 'Διομήδης', + 'Διονύσιος', + 'Δομήνικος', + 'Δράκων', + 'Δρόσος', + 'Δωρόθεος', + 'Ειρηναίος', + 'Έκτορας', + 'Ελευθέριος', + 'Ελισσαίος', + 'Εμμανουήλ', + 'Έξαρχος', + 'Επαμεινώνδας', + 'Ερμής', + 'Ερμόλαος', + 'Ερρίκος', + 'Ερωτόκριτος', + 'Ευάγγελος', + 'Ευγένιος', + 'Ευδόξιος', + 'Ευθύμιος', + 'Ευκλείδης', + 'Ευμένιος', + 'Ευριπίδης', + 'Ευσέβιος', + 'Ευστάθιος', + 'Ευστράτιος', + 'Ευτύχιος', + 'Εφραίμ', + 'Ζαφείριος', + 'Ζαχαρίας', + 'Ζηνόβιος', + 'Ζήνων', + 'Ηλίας', + 'Ηρακλής', + 'Ηρόδοτος', + 'Ησαΐας', + 'Θαλής', + 'Θεμιστοκλής', + 'Θεοδόσιος', + 'Θεόδουλος', + 'Θεόδωρος', + 'Θεόκλητος', + 'Θεολόγος', + 'Θεόπιστος', + 'Θεοτόκης', + 'Θεοφάνης', + 'Θεόφιλος', + 'Θεόφραστος', + 'Θεοφύλακτος', + 'Θεοχάρης', + 'Θησεύς', + 'Θουκυδίδης', + 'Θρασύβουλος', + 'Θωμάς', + 'Ιάκωβος', + 'Ιάσων', + 'Ιγνάτιος', + 'Ιερεμίας', + 'Ιερόθεος', + 'Ιερώνυμος', + 'Ίκαρος', + 'Ιορδάνης', + 'Ιουλιανός', + 'Ιούλιος', + 'Ιπποκράτης', + 'Ιππόλυτος', + 'Ισαάκ', + 'Ισίδωρος', + 'Ιωακείμ', + 'Ιωάννης', + 'Ίων', + 'Ιωνάς', + 'Ιωσήφ', + 'Καλλίνικος', + 'Κάρολος', + 'Κηρύκος', + 'Κίμων', + 'Κλεάνθης', + 'Κλέαρχος', + 'Κλεόβουλος', + 'Κλεομένης', + 'Κλεόπας', + 'Κλήμης', + 'Κομνηνός', + 'Κορνήλιος', + 'Κοσμάς', + 'Κρυστάλλης', + 'Κυπριανός', + 'Κυριαζής', + 'Κυριάκος', + 'Κύρος', + 'Κωνσταντίνος', + 'Λαέρτης', + 'Λάζαρος', + 'Λάμπρος', + 'Λαοκράτης', + 'Λάσκαρης', + 'Λαυρέντιος', + 'Λέανδρος', + 'Λεμονής', + 'Λεονάρδος', + 'Λέων', + 'Λεωνίδας', + 'Λογοθέτης', + 'Λουδοβίκος', + 'Λουκάς', + 'Λουκιανός', + 'Λυκούργος', + 'Λύσανδρος', + 'Μαγδαληνός', + 'Μακάριος', + 'Μαρίνος', + 'Μάριος', + 'Μάρκος', + 'Μαρτίνος', + 'Ματθαίος', + 'Μαυρίκιος', + 'Μαυροειδής', + 'Μαύρος', + 'Μεγακλής', + 'Μεθόδιος', + 'Μελέτιος', + 'Μένανδρος', + 'Μενέλαος', + 'Μερκούριος', + 'Μηνάς', + 'Μιλτιάδης', + 'Μίνωας', + 'Μιχαήλ', + 'Ναθαναήλ', + 'Ναπολέων', + 'Νέαρχος', + 'Νεκτάριος', + 'Νεοκλής', + 'Νεόφυτος', + 'Νίκανδρος', + 'Νικήτας', + 'Νικηφόρος', + 'Νικόδημος', + 'Νικόλαος', + 'Νίκων', + 'Ξανθός', + 'Ξενοφών', + 'Οδυσσέας', + 'Όθων', + 'Όμηρος', + 'Ορέστης', + 'Ορφέας', + 'Παναγιώτης', + 'Πανορμίτης', + 'Πανταζής', + 'Παντελεήμων', + 'Παρασκευάς', + 'Παράσχος', + 'Πάρις', + 'Πασχάλης', + 'Πάτροκλος', + 'Παύλος', + 'Παυσανίας', + 'Πελοπίδας', + 'Περικλής', + 'Πέτρος', + 'Πίνδαρος', + 'Πλάτων', + 'Πλούταρχος', + 'Πολύβιος', + 'Πολύδωρος', + 'Πολυζώης', + 'Πολύκαρπος', + 'Πολυκράτης', + 'Πολυχρόνιος', + 'Πραξιτέλης', + 'Πρόδρομος', + 'Προκόπιος', + 'Προμηθέας', + 'Πυθαγόρας', + 'Πύρρος', + 'Ράλλης', + 'Ραφαήλ', + 'Ρήγας', + 'Ρίζος', + 'Ροδόλφος', + 'Ρωμανός', + 'Σάββας', + 'Σαμουήλ', + 'Σαράντης', + 'Σεβαστιανός', + 'Σεραφείμ', + 'Σέργιος', + 'Σολομών', + 'Σόλων', + 'Σοφοκλής', + 'Σπυρίδων', + 'Σταμάτιος', + 'Σταύρος', + 'Στέργιος', + 'Στέφανος', + 'Στυλιανός', + 'Συμεών', + 'Σώζων', + 'Σωκράτης', + 'Σωτήριος', + 'Ταξίαρχος', + 'Τηλέμαχος', + 'Τιμόθεος', + 'Τιμολέων', + 'Τίμων', + 'Τίτος', + 'Τριαντάφυλλος', + 'Τρύφων', + 'Τσαμπίκος', + 'Υάκινθος', + 'Φαίδων', + 'Φανούριος', + 'Φιλήμων', + 'Φίλιππος', + 'Φοίβος', + 'Φραγκίσκος', + 'Φρειδερίκος', + 'Φρίξος', + 'Φωκάς', + 'Φωκίων', + 'Φωτεινός', + 'Φώτιος', + 'Χαράλαμπος', + 'Χαρίλαος', + 'Χαρίτος', + 'Χρήστος', + 'Χριστόδουλος', + 'Χριστόφορος', + 'Χρύσανθος', + 'Χρυσοβαλάντιος', + 'Χρυσόστομος', + ]; - protected static $firstNameFemale = [ - 'Αποστολία', 'Αυγή', 'Αγάθη', 'Αγάπη', 'Αγγελική', 'Αγλαΐα', 'Αγνή', 'Αγόρω', 'Αδαμαντία', 'Αηδόνα', 'Αθανασία', 'Αθηνά', 'Αθηνοδώρα', 'Αικατερίνη', 'Αιμιλία', 'Ακριβή', 'Αλεξάνδρα', 'Αλεξία', 'Αλίκη', 'Άλκηστις', 'Αλκινόη', 'Αμαλία', 'Αμβροσία', 'Αμφιθέα', 'Αμφιτρίτη', 'Ανάργυρη', 'Αναστασία', 'Ανατολή', 'Ανδριανή', 'Ανδρομάχη', 'Ανδρομέδα', 'Ανδρονίκη', 'Ανθή', 'Άννα', 'Αντιγόνη', 'Αντωνία', 'Απολλωνία', 'Αποστολία', 'Αργυρώ', 'Αρετή', 'Αριάδνη', 'Αριστέα', 'Άρτεμις', 'Αρτεμισία', 'Αρχοντία', 'Ασημίνα', 'Ασπασία', 'Αστέρω', 'Αταλάντη', 'Αυγουστίνα', 'Αφέντρα', 'Αφροδίτη', 'Αχιλλεία', - 'Βάγια', 'Βαλάντω', 'Βαλεντίνα', 'Βαλέρια', 'Βαρβάρα', 'Βαρσαμία', 'Βασιλεία', 'Βασιλική', 'Βεατρίκη', 'Βελισσαρία', 'Βενετία', 'Βερόνικα', 'Βησσαρία', 'Βικέντια', 'Βικτόρια', 'Βιολέτα', 'Βιργινία', 'Βλασία', 'Βρισηίς', - 'Γαβριέλλα', 'Γαλάτεια', 'Γαλήνη', 'Γαρυφαλλιά', 'Γενοβέφα', 'Γερακίνα', 'Γερασιμούλα', 'Γεσθημανή', 'Γεωργία', 'Γιασεμή', 'Γκόλφω', 'Γλαύκη', 'Γλυκερία', 'Γραμματική', - 'Δαβιδούλα', 'Δαμασκηνή', 'Δαμιανή', 'Δανάη', 'Δάφνη', 'Δέσποινα', 'Δήμητρα', 'Δημούλα', 'Διαλεκτή', 'Διδώ', 'Δικαία', 'Διονυσία', 'Δόμνα', 'Δροσιά', 'Δωροθέα', - 'Ειρήνη', 'Ελένη', 'Ελεονόρα', 'Ελευθερία', 'Ελισάβετ', 'Έλλη', 'Ελπίς', 'Εμμανουέλα', 'Επιστήμη', 'Ερασμία', 'Ερατώ', 'Εριέτα', 'Εριφύλη', 'Ερμιόνη', 'Ερωφίλη', 'Εύα', 'Ευαγγελία', 'Ευανθία', 'Ευγενία', 'Ευδοκία', 'Ευδοξία', 'Ευθαλία', 'Ευθυμία', 'Εύκλεια', 'Ευλαμπία', 'Ευρυδίκη', 'Ευρύκλεια', 'Ευσεβεία', 'Ευσταθία', 'Ευστρατία', 'Ευτέρπη', 'Ευτυχία', - 'Ζαμπέτα', 'Ζαφειρία', 'Ζαχαρούλα', 'Ζηναϊς', 'Ζηνοβία', 'Ζησούλα', 'Ζωή', - 'Ήβη', 'Ηλέκτρα', 'Ήλια', 'Ηλιάνα', 'Ήρα', 'Ηράκλεια', 'Ηώ', - 'Θαλασσινή', 'Θάλεια', 'Θεανώ', 'Θέκλα', 'Θέμις', 'Θεμιστόκλεια', 'Θεοδοσία', 'Θεοδότη', 'Θεοδούλη', 'Θεοδώρα', 'Θεόκλεια', 'Θεολογία', 'Θεοπίστη', 'Θεοφανία', 'Θεοφίλη', 'Θεοφύλακτη', 'Θεοχαρούλα', 'Θέτις', 'Θεώνη', 'Θηρεσία', 'Θωμαίς', - 'Ιακωβίνα', 'Ιγνατία', 'Ινώ', 'Ιοκάστη', 'Ιορδανία', 'Ιουλία', 'Ιουλιανή', 'Ιππολύτη', 'Ίρις', 'Ισαβέλλα', 'Ισιδώρα', 'Ισμήνη', 'Ιφιγένεια', 'Ιωάννα', 'Ιωσηφίνα', - 'Καλή', 'Καλλίνικη', 'Καλλιόπη', 'Καλλιρρόη', 'Καλομοίρα', 'Καλυψώ', 'Κανέλλα', 'Καρυοφυλλιά', 'Κασσάνδρα', 'Κασσιανή', 'Κερασιά', 'Κλαίρη', 'Κλειώ', 'Κλεοπάτρα', 'Κλημεντίνη', 'Κλυταιμνήστρα', 'Κοκκώνα', 'Κομνηνή', 'Κονδυλία', 'Κοραλία', 'Κορνηλία', 'Κόσμια', 'Κρινιώ', 'Κρυσταλλένια', 'Κυβέλη', 'Κυδωνία', 'Κυπαρισσία', 'Κυπριανή', 'Κυριακή', 'Κωνσταντίνα', - 'Λαζαρία', 'Λαμπρινή', 'Λασκαρίνα', 'Λαυρεντία', 'Λεμονιά', 'Λευκοθέα', 'Λεώνη', 'Λεωνιδιά', 'Λήδα', 'Λητώ', 'Λουίζα', 'Λουκία', 'Λουλουδένια', 'Λυγερή', 'Λυδία', - 'Μαγδαληνή', 'Μακρίνα', 'Μαλαματένια', 'Μαλβίνα', 'Μάνθα', 'Μαντώ', 'Μαργαρίτα', 'Μάρθα', 'Μαρία', 'Μαριάνθη', 'Μαρίνα', 'Μαρκέλλα', 'Ματθίλδη', 'Μαύρα', 'Μελένια', 'Μελέτια', 'Μελίνα', 'Μελπομένη', 'Μερόπη', 'Μεταξία', 'Μηλιά', 'Μιράντα', 'Μιχαέλα', 'Μόσχα', 'Μυρσίνη', - 'Ναυσικά', 'Νεκταρία', 'Νεόκλεια', 'Νερατζιά', 'Νεφέλη', 'Νίκη', 'Νικητία', 'Νικολέτα', - 'Ξανθή', 'Ξανθίππη', 'Ξένη', - 'Οδύσσεια', 'Όλγα', 'Ολύμπια', 'Ουρανία', - 'Παγώνα', 'Παναγία', 'Παναγιώτα', 'Πανδώρα', 'Παντελία', 'Πανωραία', 'Παρασκευή', 'Παρθένα', 'Πασχαλιά', 'Παταπία', 'Παυλίνα', 'Πελαγία', 'Περιστέρα', 'Περσεφόνη', 'Πέτρα', 'Πηγή', 'Πηνελόπη', 'Ποθητή', 'Πολύβια', 'Πολύδωρα', 'Πολύμνια', 'Πολυξένη', 'Πολυτίμη', 'Πολυχρονία', 'Πούλια', 'Προδρομία', - 'Ραλλία', 'Ρέα', 'Ρεβέκκα', 'Ρεγγίνα', 'Ρηγούλα', 'Ροδιά', 'Ρόζα', 'Ρουμπίνη', 'Ρούσα', 'Ρωξάνη', - 'Σαββούλα', 'Σαλώμη', 'Σαπφώ', 'Σάρρα', 'Σεβαστή', 'Σεβαστιανή', 'Σελήνη', 'Σεμίνα', 'Σεραφεία', 'Σμαράγδα', 'Σουλτάνα', 'Σουμέλα', 'Σοφία', 'Σπάρτη', 'Σπυριδούλα', 'Σταματίνα', 'Σταυρούλα', 'Στεργιανή', 'Στεφανία', 'Στυλιανή', 'Συμεωνία', 'Σωζούσα', 'Σωτηρία', 'Σωφρονία', - 'Ταξιαρχία', 'Τατιάνα', 'Τερψιχόρη', 'Τιμοθέα', 'Τριαντάφυλλη', 'Τρισεύγενη', 'Τρυφωνία', 'Τσαμπίκα', - 'Υακίνθη', 'Υβόννη', 'Υπαπαντή', - 'Φαίδρα', 'Φανουρία', 'Φεβρωνία', 'Φερενίκη', 'Φιλαρέτη', 'Φιλίππα', 'Φιλιππία', 'Φιλιώ', 'Φιλοθέη', 'Φιλομήλα', 'Φλώρα', 'Φλωρεντία', 'Φοίβη', 'Φραντζέσκα', 'Φρειδερίκη', 'Φρύνη', 'Φωτεινή', - 'Χάιδω', 'Χαρά', 'Χαραλαμπία', 'Χάρη', 'Χαρίκλεια', 'Χιονιά', 'Χλόη', 'Χριστοδούλα', 'Χριστόφιλη', 'Χριστοφόρα', 'Χρυσάνθη', 'Χρυσαυγή', 'Χρυσαφένια', 'Χρυσοβαλάντω', 'Χρυσόστομη', 'Χρυσούλα', - ]; + protected static $firstNameFemale = [ + 'Αποστολία', + 'Αυγή', + 'Αγάθη', + 'Αγάπη', + 'Αγγελική', + 'Αγλαΐα', + 'Αγνή', + 'Αγόρω', + 'Αδαμαντία', + 'Αηδόνα', + 'Αθανασία', + 'Αθηνά', + 'Αθηνοδώρα', + 'Αικατερίνη', + 'Αιμιλία', + 'Ακριβή', + 'Αλεξάνδρα', + 'Αλεξία', + 'Αλίκη', + 'Άλκηστις', + 'Αλκινόη', + 'Αμαλία', + 'Αμβροσία', + 'Αμφιθέα', + 'Αμφιτρίτη', + 'Ανάργυρη', + 'Αναστασία', + 'Ανατολή', + 'Ανδριανή', + 'Ανδρομάχη', + 'Ανδρομέδα', + 'Ανδρονίκη', + 'Ανθή', + 'Άννα', + 'Αντιγόνη', + 'Αντωνία', + 'Απολλωνία', + 'Αποστολία', + 'Αργυρώ', + 'Αρετή', + 'Αριάδνη', + 'Αριστέα', + 'Άρτεμις', + 'Αρτεμισία', + 'Αρχοντία', + 'Ασημίνα', + 'Ασπασία', + 'Αστέρω', + 'Αταλάντη', + 'Αυγουστίνα', + 'Αφέντρα', + 'Αφροδίτη', + 'Αχιλλεία', + 'Βάγια', + 'Βαλάντω', + 'Βαλεντίνα', + 'Βαλέρια', + 'Βαρβάρα', + 'Βαρσαμία', + 'Βασιλεία', + 'Βασιλική', + 'Βεατρίκη', + 'Βελισσαρία', + 'Βενετία', + 'Βερόνικα', + 'Βησσαρία', + 'Βικέντια', + 'Βικτόρια', + 'Βιολέτα', + 'Βιργινία', + 'Βλασία', + 'Βρισηίς', + 'Γαβριέλλα', + 'Γαλάτεια', + 'Γαλήνη', + 'Γαρυφαλλιά', + 'Γενοβέφα', + 'Γερακίνα', + 'Γερασιμούλα', + 'Γεσθημανή', + 'Γεωργία', + 'Γιασεμή', + 'Γκόλφω', + 'Γλαύκη', + 'Γλυκερία', + 'Γραμματική', + 'Δαβιδούλα', + 'Δαμασκηνή', + 'Δαμιανή', + 'Δανάη', + 'Δάφνη', + 'Δέσποινα', + 'Δήμητρα', + 'Δημούλα', + 'Διαλεκτή', + 'Διδώ', + 'Δικαία', + 'Διονυσία', + 'Δόμνα', + 'Δροσιά', + 'Δωροθέα', + 'Ειρήνη', + 'Ελένη', + 'Ελεονόρα', + 'Ελευθερία', + 'Ελισάβετ', + 'Έλλη', + 'Ελπίς', + 'Εμμανουέλα', + 'Επιστήμη', + 'Ερασμία', + 'Ερατώ', + 'Εριέτα', + 'Εριφύλη', + 'Ερμιόνη', + 'Ερωφίλη', + 'Εύα', + 'Ευαγγελία', + 'Ευανθία', + 'Ευγενία', + 'Ευδοκία', + 'Ευδοξία', + 'Ευθαλία', + 'Ευθυμία', + 'Εύκλεια', + 'Ευλαμπία', + 'Ευρυδίκη', + 'Ευρύκλεια', + 'Ευσεβεία', + 'Ευσταθία', + 'Ευστρατία', + 'Ευτέρπη', + 'Ευτυχία', + 'Ζαμπέτα', + 'Ζαφειρία', + 'Ζαχαρούλα', + 'Ζηναϊς', + 'Ζηνοβία', + 'Ζησούλα', + 'Ζωή', + 'Ήβη', + 'Ηλέκτρα', + 'Ήλια', + 'Ηλιάνα', + 'Ήρα', + 'Ηράκλεια', + 'Ηώ', + 'Θαλασσινή', + 'Θάλεια', + 'Θεανώ', + 'Θέκλα', + 'Θέμις', + 'Θεμιστόκλεια', + 'Θεοδοσία', + 'Θεοδότη', + 'Θεοδούλη', + 'Θεοδώρα', + 'Θεόκλεια', + 'Θεολογία', + 'Θεοπίστη', + 'Θεοφανία', + 'Θεοφίλη', + 'Θεοφύλακτη', + 'Θεοχαρούλα', + 'Θέτις', + 'Θεώνη', + 'Θηρεσία', + 'Θωμαίς', + 'Ιακωβίνα', + 'Ιγνατία', + 'Ινώ', + 'Ιοκάστη', + 'Ιορδανία', + 'Ιουλία', + 'Ιουλιανή', + 'Ιππολύτη', + 'Ίρις', + 'Ισαβέλλα', + 'Ισιδώρα', + 'Ισμήνη', + 'Ιφιγένεια', + 'Ιωάννα', + 'Ιωσηφίνα', + 'Καλή', + 'Καλλίνικη', + 'Καλλιόπη', + 'Καλλιρρόη', + 'Καλομοίρα', + 'Καλυψώ', + 'Κανέλλα', + 'Καρυοφυλλιά', + 'Κασσάνδρα', + 'Κασσιανή', + 'Κερασιά', + 'Κλαίρη', + 'Κλειώ', + 'Κλεοπάτρα', + 'Κλημεντίνη', + 'Κλυταιμνήστρα', + 'Κοκκώνα', + 'Κομνηνή', + 'Κονδυλία', + 'Κοραλία', + 'Κορνηλία', + 'Κόσμια', + 'Κρινιώ', + 'Κρυσταλλένια', + 'Κυβέλη', + 'Κυδωνία', + 'Κυπαρισσία', + 'Κυπριανή', + 'Κυριακή', + 'Κωνσταντίνα', + 'Λαζαρία', + 'Λαμπρινή', + 'Λασκαρίνα', + 'Λαυρεντία', + 'Λεμονιά', + 'Λευκοθέα', + 'Λεώνη', + 'Λεωνιδιά', + 'Λήδα', + 'Λητώ', + 'Λουίζα', + 'Λουκία', + 'Λουλουδένια', + 'Λυγερή', + 'Λυδία', + 'Μαγδαληνή', + 'Μακρίνα', + 'Μαλαματένια', + 'Μαλβίνα', + 'Μάνθα', + 'Μαντώ', + 'Μαργαρίτα', + 'Μάρθα', + 'Μαρία', + 'Μαριάνθη', + 'Μαρίνα', + 'Μαρκέλλα', + 'Ματθίλδη', + 'Μαύρα', + 'Μελένια', + 'Μελέτια', + 'Μελίνα', + 'Μελπομένη', + 'Μερόπη', + 'Μεταξία', + 'Μηλιά', + 'Μιράντα', + 'Μιχαέλα', + 'Μόσχα', + 'Μυρσίνη', + 'Ναυσικά', + 'Νεκταρία', + 'Νεόκλεια', + 'Νερατζιά', + 'Νεφέλη', + 'Νίκη', + 'Νικητία', + 'Νικολέτα', + 'Ξανθή', + 'Ξανθίππη', + 'Ξένη', + 'Οδύσσεια', + 'Όλγα', + 'Ολύμπια', + 'Ουρανία', + 'Παγώνα', + 'Παναγία', + 'Παναγιώτα', + 'Πανδώρα', + 'Παντελία', + 'Πανωραία', + 'Παρασκευή', + 'Παρθένα', + 'Πασχαλιά', + 'Παταπία', + 'Παυλίνα', + 'Πελαγία', + 'Περιστέρα', + 'Περσεφόνη', + 'Πέτρα', + 'Πηγή', + 'Πηνελόπη', + 'Ποθητή', + 'Πολύβια', + 'Πολύδωρα', + 'Πολύμνια', + 'Πολυξένη', + 'Πολυτίμη', + 'Πολυχρονία', + 'Πούλια', + 'Προδρομία', + 'Ραλλία', + 'Ρέα', + 'Ρεβέκκα', + 'Ρεγγίνα', + 'Ρηγούλα', + 'Ροδιά', + 'Ρόζα', + 'Ρουμπίνη', + 'Ρούσα', + 'Ρωξάνη', + 'Σαββούλα', + 'Σαλώμη', + 'Σαπφώ', + 'Σάρρα', + 'Σεβαστή', + 'Σεβαστιανή', + 'Σελήνη', + 'Σεμίνα', + 'Σεραφεία', + 'Σμαράγδα', + 'Σουλτάνα', + 'Σουμέλα', + 'Σοφία', + 'Σπάρτη', + 'Σπυριδούλα', + 'Σταματίνα', + 'Σταυρούλα', + 'Στεργιανή', + 'Στεφανία', + 'Στυλιανή', + 'Συμεωνία', + 'Σωζούσα', + 'Σωτηρία', + 'Σωφρονία', + 'Ταξιαρχία', + 'Τατιάνα', + 'Τερψιχόρη', + 'Τιμοθέα', + 'Τριαντάφυλλη', + 'Τρισεύγενη', + 'Τρυφωνία', + 'Τσαμπίκα', + 'Υακίνθη', + 'Υβόννη', + 'Υπαπαντή', + 'Φαίδρα', + 'Φανουρία', + 'Φεβρωνία', + 'Φερενίκη', + 'Φιλαρέτη', + 'Φιλίππα', + 'Φιλιππία', + 'Φιλιώ', + 'Φιλοθέη', + 'Φιλομήλα', + 'Φλώρα', + 'Φλωρεντία', + 'Φοίβη', + 'Φραντζέσκα', + 'Φρειδερίκη', + 'Φρύνη', + 'Φωτεινή', + 'Χάιδω', + 'Χαρά', + 'Χαραλαμπία', + 'Χάρη', + 'Χαρίκλεια', + 'Χιονιά', + 'Χλόη', + 'Χριστοδούλα', + 'Χριστόφιλη', + 'Χριστοφόρα', + 'Χρυσάνθη', + 'Χρυσαυγή', + 'Χρυσαφένια', + 'Χρυσοβαλάντω', + 'Χρυσόστομη', + 'Χρυσούλα', + ]; - protected static $firstName = [ - 'Αβραάμ', 'Αγαθάγγελος', 'Αγαθοκλής', 'Αγαθόνικος', 'Αγαμέμνων', 'Αγαπητός', 'Αγάπιος', 'Άγγελος', 'Αγησίλαος', 'Αδάμ', 'Αδαμάντιος', 'Άδωνις', 'Αθανάσιος', 'Αθηναγόρας', 'Αθηνόδωρος', 'Αιμίλιος', 'Ακριβός', 'Ακρίτας', 'Αλέξανδρος', 'Αλέξιος', 'Αλκιβιάδης', 'Αμβρόσιος', 'Αναγνώστης', 'Ανανίας', 'Αναξαγόρας', 'Ανάργυρος', 'Αναστάσιος', 'Ανδροκλής', 'Ανδρόνικος', 'Άνθιμος', 'Ανθούλης', 'Αντίγονος', 'Αντίπατρος', 'Αντύπας', 'Αντώνιος', 'Απόλλων', 'Απόστολος', 'Αργύριος', 'Άρης', 'Αρίσταρχος', 'Αριστόβουλος', 'Αριστομένης', 'Άριστος', 'Αριστοτέλης', 'Αριστοφάνης', 'Αρτέμιος', 'Αρχέλαος', 'Αρχιμήδης', 'Ασημής', 'Ασκληπιός', 'Αστέριος', 'Αυγέρης', 'Αύγουστος', 'Αυξέντιος', 'Αφέντης', 'Αχιλλέας', - 'Βάιος', 'Βαλάντης', 'Βαλεντίνος', 'Βαλέριος', 'Βαρδής', 'Βαρθολομαίος', 'Βαρσάμος', 'Βασίλειος', 'Βασίλης', 'Βελισσάριος', 'Βενέτιος', 'Βενιαμίν', 'Βενιζέλος', 'Βησσαρίων', 'Βικέντιος', 'Βλαδίμηρος', 'Βλάσιος', 'Βρασίδας', 'Βύρων', - 'Γαβριήλ', 'Γαλάτιος', 'Γαληνός', 'Γαρύφαλλος', 'Γεράσιμος', 'Γεώργιος', 'Γκίκας', 'Γρηγόριος', - 'Δαμασκηνός', 'Δαμιανός', 'Δανιήλ', 'Δημήτριος', 'Δημοκράτης', 'Δημόκριτος', 'Δήμος', 'Δημοσθένης', 'Δίκαιος', 'Διογένης', 'Διομήδης', 'Διονύσιος', 'Δομήνικος', 'Δράκων', 'Δρόσος', 'Δωρόθεος', - 'Ειρηναίος', 'Έκτορας', 'Ελευθέριος', 'Ελισσαίος', 'Εμμανουήλ', 'Έξαρχος', 'Επαμεινώνδας', 'Ερμής', 'Ερμόλαος', 'Ερρίκος', 'Ερωτόκριτος', 'Ευάγγελος', 'Ευγένιος', 'Ευδόξιος', 'Ευθύμιος', 'Ευκλείδης', 'Ευμένιος', 'Ευριπίδης', 'Ευσέβιος', 'Ευστάθιος', 'Ευστράτιος', 'Ευτύχιος', 'Εφραίμ', - 'Ζαφείριος', 'Ζαχαρίας', 'Ζηνόβιος', 'Ζήνων', - 'Ηλίας', 'Ηρακλής', 'Ηρόδοτος', 'Ησαΐας', - 'Θαλής', 'Θεμιστοκλής', 'Θεοδόσιος', 'Θεόδουλος', 'Θεόδωρος', 'Θεόκλητος', 'Θεολόγος', 'Θεόπιστος', 'Θεοτόκης', 'Θεοφάνης', 'Θεόφιλος', 'Θεόφραστος', 'Θεοφύλακτος', 'Θεοχάρης', 'Θησεύς', 'Θουκυδίδης', 'Θρασύβουλος', 'Θωμάς', - 'Ιάκωβος', 'Ιάσων', 'Ιγνάτιος', 'Ιερεμίας', 'Ιερόθεος', 'Ιερώνυμος', 'Ίκαρος', 'Ιορδάνης', 'Ιουλιανός', 'Ιούλιος', 'Ιπποκράτης', 'Ιππόλυτος', 'Ισαάκ', 'Ισίδωρος', 'Ιωακείμ', 'Ιωάννης', 'Ίων', 'Ιωνάς', 'Ιωσήφ', - 'Καλλίνικος', 'Κάρολος', 'Κηρύκος', 'Κίμων', 'Κλεάνθης', 'Κλέαρχος', 'Κλεόβουλος', 'Κλεομένης', 'Κλεόπας', 'Κλήμης', 'Κομνηνός', 'Κορνήλιος', 'Κοσμάς', 'Κρυστάλλης', 'Κυπριανός', 'Κυριαζής', 'Κυριάκος', 'Κύρος', 'Κωνσταντίνος', - 'Λαέρτης', 'Λάζαρος', 'Λάμπρος', 'Λαοκράτης', 'Λάσκαρης', 'Λαυρέντιος', 'Λέανδρος', 'Λεμονής', 'Λεονάρδος', 'Λέων', 'Λεωνίδας', 'Λογοθέτης', 'Λουδοβίκος', 'Λουκάς', 'Λουκιανός', 'Λυκούργος', 'Λύσανδρος', - 'Μαγδαληνός', 'Μακάριος', 'Μαρίνος', 'Μάριος', 'Μάρκος', 'Μαρτίνος', 'Ματθαίος', 'Μαυρίκιος', 'Μαυροειδής', 'Μαύρος', 'Μεγακλής', 'Μεθόδιος', 'Μελέτιος', 'Μένανδρος', 'Μενέλαος', 'Μερκούριος', 'Μηνάς', 'Μιλτιάδης', 'Μίνωας', 'Μιχαήλ', - 'Ναθαναήλ', 'Ναπολέων', 'Νέαρχος', 'Νεκτάριος', 'Νεοκλής', 'Νεόφυτος', 'Νίκανδρος', 'Νικήτας', 'Νικηφόρος', 'Νικόδημος', 'Νικόλαος', 'Νίκων', - 'Ξανθός', 'Ξενοφώντης', - 'Οδυσσέας', 'Όθων', 'Όμηρος', 'Ορέστης', 'Ορφέας', - 'Παναγιώτης', 'Πανορμίτης', 'Πανταζής', 'Παντελεήμων', 'Παρασκευάς', 'Παράσχος', 'Πάρις', 'Πασχάλης', 'Πάτροκλος', 'Παύλος', 'Παυσανίας', 'Πελοπίδας', 'Περικλής', 'Πέτρος', 'Πίνδαρος', 'Πλάτων', 'Πλούταρχος', 'Πολύβιος', 'Πολύδωρος', 'Πολυζώης', 'Πολύκαρπος', 'Πολυκράτης', 'Πολυχρόνιος', 'Πραξιτέλης', 'Πρόδρομος', 'Προκόπιος', 'Προμηθέας', 'Πυθαγόρας', 'Πύρρος', - 'Ράλλης', 'Ραφαήλ', 'Ρήγας', 'Ρίζος', 'Ροδόλφος', 'Ρωμανός', - 'Σάββας', 'Σαμουήλ', 'Σαράντης', 'Σεβαστιανός', 'Σεραφείμ', 'Σέργιος', 'Σολομών', 'Σόλων', 'Σοφοκλής', 'Σπυρίδων', 'Σταμάτιος', 'Σταύρος', 'Στέργιος', 'Στέφανος', 'Στυλιανός', 'Συμεών', 'Σώζων', 'Σωκράτης', 'Σωτήριος', - 'Ταξίαρχος', 'Τηλέμαχος', 'Τιμόθεος', 'Τιμολέων', 'Τίμων', 'Τίτος', 'Τριαντάφυλλος', 'Τρύφων', 'Τσαμπίκος', - 'Υάκινθος', - 'Φαίδων', 'Φανούριος', 'Φιλήμων', 'Φίλιππος', 'Φοίβος', 'Φραγκίσκος', 'Φρειδερίκος', 'Φρίξος', 'Φωκάς', 'Φωκίων', 'Φωτεινός', 'Φώτιος', - 'Χαράλαμπος', 'Χαρίλαος', 'Χαρίτος', 'Χρήστος', 'Χριστόδουλος', 'Χριστόφορος', 'Χρύσανθος', 'Χρυσοβαλάντιος', 'Χρυσόστομος', - 'Αποστολία', 'Αυγή', 'Αγάθη', 'Αγάπη', 'Αγγελική', 'Αγλαΐα', 'Αγνή', 'Αγόρω', 'Αδαμαντία', 'Αηδόνα', 'Αθανασία', 'Αθηνά', 'Αθηνοδώρα', 'Αικατερίνη', 'Αιμιλία', 'Ακριβή', 'Αλεξάνδρα', 'Αλεξία', 'Αλίκη', 'Άλκηστις', 'Αλκινόη', 'Αμαλία', 'Αμβροσία', 'Αμφιθέα', 'Αμφιτρίτη', 'Ανάργυρη', 'Αναστασία', 'Ανατολή', 'Ανδριανή', 'Ανδρομάχη', 'Ανδρομέδα', 'Ανδρονίκη', 'Ανθή', 'Άννα', 'Αντιγόνη', 'Αντωνία', 'Απολλωνία', 'Αποστολία', 'Αργυρώ', 'Αρετή', 'Αριάδνη', 'Αριστέα', 'Άρτεμις', 'Αρτεμισία', 'Αρχοντία', 'Ασημίνα', 'Ασπασία', 'Αστέρω', 'Αταλάντη', 'Αυγουστίνα', 'Αφέντρα', 'Αφροδίτη', 'Αχιλλεία', - 'Βάγια', 'Βαλάντω', 'Βαλεντίνα', 'Βαλέρια', 'Βαρβάρα', 'Βαρσαμία', 'Βασιλεία', 'Βασιλική', 'Βεατρίκη', 'Βελισσαρία', 'Βενετία', 'Βερόνικα', 'Βησσαρία', 'Βικέντια', 'Βικτόρια', 'Βιολέτα', 'Βιργινία', 'Βλασία', 'Βρισηίς', - 'Γαβριέλλα', 'Γαλάτεια', 'Γαλήνη', 'Γαρυφαλλιά', 'Γενοβέφα', 'Γερακίνα', 'Γερασιμούλα', 'Γεσθημανή', 'Γεωργία', 'Γιασεμή', 'Γκόλφω', 'Γλαύκη', 'Γλυκερία', 'Γραμματική', - 'Δαβιδούλα', 'Δαμασκηνή', 'Δαμιανή', 'Δανάη', 'Δάφνη', 'Δέσποινα', 'Δήμητρα', 'Δημούλα', 'Διαλεκτή', 'Διδώ', 'Δικαία', 'Διονυσία', 'Δόμνα', 'Δροσιά', 'Δωροθέα', - 'Ειρήνη', 'Ελένη', 'Ελεονόρα', 'Ελευθερία', 'Ελισάβετ', 'Έλλη', 'Ελπίς', 'Εμμανουέλα', 'Επιστήμη', 'Ερασμία', 'Ερατώ', 'Εριέτα', 'Εριφύλη', 'Ερμιόνη', 'Ερωφίλη', 'Εύα', 'Ευαγγελία', 'Ευανθία', 'Ευγενία', 'Ευδοκία', 'Ευδοξία', 'Ευθαλία', 'Ευθυμία', 'Εύκλεια', 'Ευλαμπία', 'Ευρυδίκη', 'Ευρύκλεια', 'Ευσεβεία', 'Ευσταθία', 'Ευστρατία', 'Ευτέρπη', 'Ευτυχία', - 'Ζαμπέτα', 'Ζαφειρία', 'Ζαχαρούλα', 'Ζηναϊς', 'Ζηνοβία', 'Ζησούλα', 'Ζωή', - 'Ήβη', 'Ηλέκτρα', 'Ήλια', 'Ηλιάνα', 'Ήρα', 'Ηράκλεια', 'Ηώ', - 'Θαλασσινή', 'Θάλεια', 'Θεανώ', 'Θέκλα', 'Θέμις', 'Θεμιστόκλεια', 'Θεοδοσία', 'Θεοδότη', 'Θεοδούλη', 'Θεοδώρα', 'Θεόκλεια', 'Θεολογία', 'Θεοπίστη', 'Θεοφανία', 'Θεοφίλη', 'Θεοφύλακτη', 'Θεοχαρούλα', 'Θέτις', 'Θεώνη', 'Θηρεσία', 'Θωμαίς', - 'Ιακωβίνα', 'Ιγνατία', 'Ινώ', 'Ιοκάστη', 'Ιορδανία', 'Ιουλία', 'Ιουλιανή', 'Ιππολύτη', 'Ίρις', 'Ισαβέλλα', 'Ισιδώρα', 'Ισμήνη', 'Ιφιγένεια', 'Ιωάννα', 'Ιωσηφίνα', - 'Καλή', 'Καλλίνικη', 'Καλλιόπη', 'Καλλιρρόη', 'Καλομοίρα', 'Καλυψώ', 'Κανέλλα', 'Καρυοφυλλιά', 'Κασσάνδρα', 'Κασσιανή', 'Κερασιά', 'Κλαίρη', 'Κλειώ', 'Κλεοπάτρα', 'Κλημεντίνη', 'Κλυταιμνήστρα', 'Κοκκώνα', 'Κομνηνή', 'Κονδυλία', 'Κοραλία', 'Κορνηλία', 'Κόσμια', 'Κρινιώ', 'Κρυσταλλένια', 'Κυβέλη', 'Κυδωνία', 'Κυπαρισσία', 'Κυπριανή', 'Κυριακή', 'Κωνσταντίνα', - 'Λαζαρία', 'Λαμπρινή', 'Λασκαρίνα', 'Λαυρεντία', 'Λεμονιά', 'Λευκοθέα', 'Λεώνη', 'Λεωνιδιά', 'Λήδα', 'Λητώ', 'Λουίζα', 'Λουκία', 'Λουλουδένια', 'Λυγερή', 'Λυδία', - 'Μαγδαληνή', 'Μακρίνα', 'Μαλαματένια', 'Μαλβίνα', 'Μάνθα', 'Μαντώ', 'Μαργαρίτα', 'Μάρθα', 'Μαρία', 'Μαριάνθη', 'Μαρίνα', 'Μαρκέλλα', 'Ματθίλδη', 'Μαύρα', 'Μελένια', 'Μελέτια', 'Μελίνα', 'Μελπομένη', 'Μερόπη', 'Μεταξία', 'Μηλιά', 'Μιράντα', 'Μιχαέλα', 'Μόσχα', 'Μυρσίνη', - 'Ναυσικά', 'Νεκταρία', 'Νεόκλεια', 'Νερατζιά', 'Νεφέλη', 'Νίκη', 'Νικητία', 'Νικολέτα', - 'Ξανθή', 'Ξανθίππη', 'Ξένη', - 'Οδύσσεια', 'Όλγα', 'Ολύμπια', 'Ουρανία', - 'Παγώνα', 'Παναγία', 'Παναγιώτα', 'Πανδώρα', 'Παντελία', 'Πανωραία', 'Παρασκευή', 'Παρθένα', 'Πασχαλιά', 'Παταπία', 'Παυλίνα', 'Πελαγία', 'Περιστέρα', 'Περσεφόνη', 'Πέτρα', 'Πηγή', 'Πηνελόπη', 'Ποθητή', 'Πολύβια', 'Πολύδωρα', 'Πολύμνια', 'Πολυξένη', 'Πολυτίμη', 'Πολυχρονία', 'Πούλια', 'Προδρομία', - 'Ραλλία', 'Ρέα', 'Ρεβέκκα', 'Ρεγγίνα', 'Ρηγούλα', 'Ροδιά', 'Ρόζα', 'Ρουμπίνη', 'Ρούσα', 'Ρωξάνη', - 'Σαββούλα', 'Σαλώμη', 'Σαπφώ', 'Σάρρα', 'Σεβαστή', 'Σεβαστιανή', 'Σελήνη', 'Σεμίνα', 'Σεραφεία', 'Σμαράγδα', 'Σουλτάνα', 'Σουμέλα', 'Σοφία', 'Σπάρτη', 'Σπυριδούλα', 'Σταματίνα', 'Σταυρούλα', 'Στεργιανή', 'Στεφανία', 'Στυλιανή', 'Συμεωνία', 'Σωζούσα', 'Σωτηρία', 'Σωφρονία', - 'Ταξιαρχία', 'Τατιάνα', 'Τερψιχόρη', 'Τιμοθέα', 'Τριαντάφυλλη', 'Τρισεύγενη', 'Τρυφωνία', 'Τσαμπίκα', - 'Υακίνθη', 'Υβόννη', 'Υπαπαντή', - 'Φαίδρα', 'Φανουρία', 'Φεβρωνία', 'Φερενίκη', 'Φιλαρέτη', 'Φιλίππα', 'Φιλιππία', 'Φιλιώ', 'Φιλοθέη', 'Φιλομήλα', 'Φλώρα', 'Φλωρεντία', 'Φοίβη', 'Φραντζέσκα', 'Φρειδερίκη', 'Φρύνη', 'Φωτεινή', - 'Χάιδω', 'Χαρά', 'Χαραλαμπία', 'Χάρη', 'Χαρίκλεια', 'Χιονιά', 'Χλόη', 'Χριστοδούλα', 'Χριστόφιλη', 'Χριστοφόρα', 'Χρυσάνθη', 'Χρυσαυγή', 'Χρυσαφένια', 'Χρυσοβαλάντω', 'Χρυσόστομη', 'Χρυσούλα', - ]; + protected static $firstName = [ + 'Αβραάμ', + 'Αγαθάγγελος', + 'Αγαθοκλής', + 'Αγαθόνικος', + 'Αγαμέμνων', + 'Αγαπητός', + 'Αγάπιος', + 'Άγγελος', + 'Αγησίλαος', + 'Αδάμ', + 'Αδαμάντιος', + 'Άδωνις', + 'Αθανάσιος', + 'Αθηναγόρας', + 'Αθηνόδωρος', + 'Αιμίλιος', + 'Ακριβός', + 'Ακρίτας', + 'Αλέξανδρος', + 'Αλέξιος', + 'Αλκιβιάδης', + 'Αμβρόσιος', + 'Αναγνώστης', + 'Ανανίας', + 'Αναξαγόρας', + 'Ανάργυρος', + 'Αναστάσιος', + 'Ανδροκλής', + 'Ανδρόνικος', + 'Άνθιμος', + 'Ανθούλης', + 'Αντίγονος', + 'Αντίπατρος', + 'Αντύπας', + 'Αντώνιος', + 'Απόλλων', + 'Απόστολος', + 'Αργύριος', + 'Άρης', + 'Αρίσταρχος', + 'Αριστόβουλος', + 'Αριστομένης', + 'Άριστος', + 'Αριστοτέλης', + 'Αριστοφάνης', + 'Αρτέμιος', + 'Αρχέλαος', + 'Αρχιμήδης', + 'Ασημής', + 'Ασκληπιός', + 'Αστέριος', + 'Αυγέρης', + 'Αύγουστος', + 'Αυξέντιος', + 'Αφέντης', + 'Αχιλλέας', + 'Βάιος', + 'Βαλάντης', + 'Βαλεντίνος', + 'Βαλέριος', + 'Βαρδής', + 'Βαρθολομαίος', + 'Βαρσάμος', + 'Βασίλειος', + 'Βασίλης', + 'Βελισσάριος', + 'Βενέτιος', + 'Βενιαμίν', + 'Βενιζέλος', + 'Βησσαρίων', + 'Βικέντιος', + 'Βλαδίμηρος', + 'Βλάσιος', + 'Βρασίδας', + 'Βύρων', + 'Γαβριήλ', + 'Γαλάτιος', + 'Γαληνός', + 'Γαρύφαλλος', + 'Γεράσιμος', + 'Γεώργιος', + 'Γκίκας', + 'Γρηγόριος', + 'Δαμασκηνός', + 'Δαμιανός', + 'Δανιήλ', + 'Δημήτριος', + 'Δημοκράτης', + 'Δημόκριτος', + 'Δήμος', + 'Δημοσθένης', + 'Δίκαιος', + 'Διογένης', + 'Διομήδης', + 'Διονύσιος', + 'Δομήνικος', + 'Δράκων', + 'Δρόσος', + 'Δωρόθεος', + 'Ειρηναίος', + 'Έκτορας', + 'Ελευθέριος', + 'Ελισσαίος', + 'Εμμανουήλ', + 'Έξαρχος', + 'Επαμεινώνδας', + 'Ερμής', + 'Ερμόλαος', + 'Ερρίκος', + 'Ερωτόκριτος', + 'Ευάγγελος', + 'Ευγένιος', + 'Ευδόξιος', + 'Ευθύμιος', + 'Ευκλείδης', + 'Ευμένιος', + 'Ευριπίδης', + 'Ευσέβιος', + 'Ευστάθιος', + 'Ευστράτιος', + 'Ευτύχιος', + 'Εφραίμ', + 'Ζαφείριος', + 'Ζαχαρίας', + 'Ζηνόβιος', + 'Ζήνων', + 'Ηλίας', + 'Ηρακλής', + 'Ηρόδοτος', + 'Ησαΐας', + 'Θαλής', + 'Θεμιστοκλής', + 'Θεοδόσιος', + 'Θεόδουλος', + 'Θεόδωρος', + 'Θεόκλητος', + 'Θεολόγος', + 'Θεόπιστος', + 'Θεοτόκης', + 'Θεοφάνης', + 'Θεόφιλος', + 'Θεόφραστος', + 'Θεοφύλακτος', + 'Θεοχάρης', + 'Θησεύς', + 'Θουκυδίδης', + 'Θρασύβουλος', + 'Θωμάς', + 'Ιάκωβος', + 'Ιάσων', + 'Ιγνάτιος', + 'Ιερεμίας', + 'Ιερόθεος', + 'Ιερώνυμος', + 'Ίκαρος', + 'Ιορδάνης', + 'Ιουλιανός', + 'Ιούλιος', + 'Ιπποκράτης', + 'Ιππόλυτος', + 'Ισαάκ', + 'Ισίδωρος', + 'Ιωακείμ', + 'Ιωάννης', + 'Ίων', + 'Ιωνάς', + 'Ιωσήφ', + 'Καλλίνικος', + 'Κάρολος', + 'Κηρύκος', + 'Κίμων', + 'Κλεάνθης', + 'Κλέαρχος', + 'Κλεόβουλος', + 'Κλεομένης', + 'Κλεόπας', + 'Κλήμης', + 'Κομνηνός', + 'Κορνήλιος', + 'Κοσμάς', + 'Κρυστάλλης', + 'Κυπριανός', + 'Κυριαζής', + 'Κυριάκος', + 'Κύρος', + 'Κωνσταντίνος', + 'Λαέρτης', + 'Λάζαρος', + 'Λάμπρος', + 'Λαοκράτης', + 'Λάσκαρης', + 'Λαυρέντιος', + 'Λέανδρος', + 'Λεμονής', + 'Λεονάρδος', + 'Λέων', + 'Λεωνίδας', + 'Λογοθέτης', + 'Λουδοβίκος', + 'Λουκάς', + 'Λουκιανός', + 'Λυκούργος', + 'Λύσανδρος', + 'Μαγδαληνός', + 'Μακάριος', + 'Μαρίνος', + 'Μάριος', + 'Μάρκος', + 'Μαρτίνος', + 'Ματθαίος', + 'Μαυρίκιος', + 'Μαυροειδής', + 'Μαύρος', + 'Μεγακλής', + 'Μεθόδιος', + 'Μελέτιος', + 'Μένανδρος', + 'Μενέλαος', + 'Μερκούριος', + 'Μηνάς', + 'Μιλτιάδης', + 'Μίνωας', + 'Μιχαήλ', + 'Ναθαναήλ', + 'Ναπολέων', + 'Νέαρχος', + 'Νεκτάριος', + 'Νεοκλής', + 'Νεόφυτος', + 'Νίκανδρος', + 'Νικήτας', + 'Νικηφόρος', + 'Νικόδημος', + 'Νικόλαος', + 'Νίκων', + 'Ξανθός', + 'Ξενοφώντης', + 'Οδυσσέας', + 'Όθων', + 'Όμηρος', + 'Ορέστης', + 'Ορφέας', + 'Παναγιώτης', + 'Πανορμίτης', + 'Πανταζής', + 'Παντελεήμων', + 'Παρασκευάς', + 'Παράσχος', + 'Πάρις', + 'Πασχάλης', + 'Πάτροκλος', + 'Παύλος', + 'Παυσανίας', + 'Πελοπίδας', + 'Περικλής', + 'Πέτρος', + 'Πίνδαρος', + 'Πλάτων', + 'Πλούταρχος', + 'Πολύβιος', + 'Πολύδωρος', + 'Πολυζώης', + 'Πολύκαρπος', + 'Πολυκράτης', + 'Πολυχρόνιος', + 'Πραξιτέλης', + 'Πρόδρομος', + 'Προκόπιος', + 'Προμηθέας', + 'Πυθαγόρας', + 'Πύρρος', + 'Ράλλης', + 'Ραφαήλ', + 'Ρήγας', + 'Ρίζος', + 'Ροδόλφος', + 'Ρωμανός', + 'Σάββας', + 'Σαμουήλ', + 'Σαράντης', + 'Σεβαστιανός', + 'Σεραφείμ', + 'Σέργιος', + 'Σολομών', + 'Σόλων', + 'Σοφοκλής', + 'Σπυρίδων', + 'Σταμάτιος', + 'Σταύρος', + 'Στέργιος', + 'Στέφανος', + 'Στυλιανός', + 'Συμεών', + 'Σώζων', + 'Σωκράτης', + 'Σωτήριος', + 'Ταξίαρχος', + 'Τηλέμαχος', + 'Τιμόθεος', + 'Τιμολέων', + 'Τίμων', + 'Τίτος', + 'Τριαντάφυλλος', + 'Τρύφων', + 'Τσαμπίκος', + 'Υάκινθος', + 'Φαίδων', + 'Φανούριος', + 'Φιλήμων', + 'Φίλιππος', + 'Φοίβος', + 'Φραγκίσκος', + 'Φρειδερίκος', + 'Φρίξος', + 'Φωκάς', + 'Φωκίων', + 'Φωτεινός', + 'Φώτιος', + 'Χαράλαμπος', + 'Χαρίλαος', + 'Χαρίτος', + 'Χρήστος', + 'Χριστόδουλος', + 'Χριστόφορος', + 'Χρύσανθος', + 'Χρυσοβαλάντιος', + 'Χρυσόστομος', + 'Αποστολία', + 'Αυγή', + 'Αγάθη', + 'Αγάπη', + 'Αγγελική', + 'Αγλαΐα', + 'Αγνή', + 'Αγόρω', + 'Αδαμαντία', + 'Αηδόνα', + 'Αθανασία', + 'Αθηνά', + 'Αθηνοδώρα', + 'Αικατερίνη', + 'Αιμιλία', + 'Ακριβή', + 'Αλεξάνδρα', + 'Αλεξία', + 'Αλίκη', + 'Άλκηστις', + 'Αλκινόη', + 'Αμαλία', + 'Αμβροσία', + 'Αμφιθέα', + 'Αμφιτρίτη', + 'Ανάργυρη', + 'Αναστασία', + 'Ανατολή', + 'Ανδριανή', + 'Ανδρομάχη', + 'Ανδρομέδα', + 'Ανδρονίκη', + 'Ανθή', + 'Άννα', + 'Αντιγόνη', + 'Αντωνία', + 'Απολλωνία', + 'Αποστολία', + 'Αργυρώ', + 'Αρετή', + 'Αριάδνη', + 'Αριστέα', + 'Άρτεμις', + 'Αρτεμισία', + 'Αρχοντία', + 'Ασημίνα', + 'Ασπασία', + 'Αστέρω', + 'Αταλάντη', + 'Αυγουστίνα', + 'Αφέντρα', + 'Αφροδίτη', + 'Αχιλλεία', + 'Βάγια', + 'Βαλάντω', + 'Βαλεντίνα', + 'Βαλέρια', + 'Βαρβάρα', + 'Βαρσαμία', + 'Βασιλεία', + 'Βασιλική', + 'Βεατρίκη', + 'Βελισσαρία', + 'Βενετία', + 'Βερόνικα', + 'Βησσαρία', + 'Βικέντια', + 'Βικτόρια', + 'Βιολέτα', + 'Βιργινία', + 'Βλασία', + 'Βρισηίς', + 'Γαβριέλλα', + 'Γαλάτεια', + 'Γαλήνη', + 'Γαρυφαλλιά', + 'Γενοβέφα', + 'Γερακίνα', + 'Γερασιμούλα', + 'Γεσθημανή', + 'Γεωργία', + 'Γιασεμή', + 'Γκόλφω', + 'Γλαύκη', + 'Γλυκερία', + 'Γραμματική', + 'Δαβιδούλα', + 'Δαμασκηνή', + 'Δαμιανή', + 'Δανάη', + 'Δάφνη', + 'Δέσποινα', + 'Δήμητρα', + 'Δημούλα', + 'Διαλεκτή', + 'Διδώ', + 'Δικαία', + 'Διονυσία', + 'Δόμνα', + 'Δροσιά', + 'Δωροθέα', + 'Ειρήνη', + 'Ελένη', + 'Ελεονόρα', + 'Ελευθερία', + 'Ελισάβετ', + 'Έλλη', + 'Ελπίς', + 'Εμμανουέλα', + 'Επιστήμη', + 'Ερασμία', + 'Ερατώ', + 'Εριέτα', + 'Εριφύλη', + 'Ερμιόνη', + 'Ερωφίλη', + 'Εύα', + 'Ευαγγελία', + 'Ευανθία', + 'Ευγενία', + 'Ευδοκία', + 'Ευδοξία', + 'Ευθαλία', + 'Ευθυμία', + 'Εύκλεια', + 'Ευλαμπία', + 'Ευρυδίκη', + 'Ευρύκλεια', + 'Ευσεβεία', + 'Ευσταθία', + 'Ευστρατία', + 'Ευτέρπη', + 'Ευτυχία', + 'Ζαμπέτα', + 'Ζαφειρία', + 'Ζαχαρούλα', + 'Ζηναϊς', + 'Ζηνοβία', + 'Ζησούλα', + 'Ζωή', + 'Ήβη', + 'Ηλέκτρα', + 'Ήλια', + 'Ηλιάνα', + 'Ήρα', + 'Ηράκλεια', + 'Ηώ', + 'Θαλασσινή', + 'Θάλεια', + 'Θεανώ', + 'Θέκλα', + 'Θέμις', + 'Θεμιστόκλεια', + 'Θεοδοσία', + 'Θεοδότη', + 'Θεοδούλη', + 'Θεοδώρα', + 'Θεόκλεια', + 'Θεολογία', + 'Θεοπίστη', + 'Θεοφανία', + 'Θεοφίλη', + 'Θεοφύλακτη', + 'Θεοχαρούλα', + 'Θέτις', + 'Θεώνη', + 'Θηρεσία', + 'Θωμαίς', + 'Ιακωβίνα', + 'Ιγνατία', + 'Ινώ', + 'Ιοκάστη', + 'Ιορδανία', + 'Ιουλία', + 'Ιουλιανή', + 'Ιππολύτη', + 'Ίρις', + 'Ισαβέλλα', + 'Ισιδώρα', + 'Ισμήνη', + 'Ιφιγένεια', + 'Ιωάννα', + 'Ιωσηφίνα', + 'Καλή', + 'Καλλίνικη', + 'Καλλιόπη', + 'Καλλιρρόη', + 'Καλομοίρα', + 'Καλυψώ', + 'Κανέλλα', + 'Καρυοφυλλιά', + 'Κασσάνδρα', + 'Κασσιανή', + 'Κερασιά', + 'Κλαίρη', + 'Κλειώ', + 'Κλεοπάτρα', + 'Κλημεντίνη', + 'Κλυταιμνήστρα', + 'Κοκκώνα', + 'Κομνηνή', + 'Κονδυλία', + 'Κοραλία', + 'Κορνηλία', + 'Κόσμια', + 'Κρινιώ', + 'Κρυσταλλένια', + 'Κυβέλη', + 'Κυδωνία', + 'Κυπαρισσία', + 'Κυπριανή', + 'Κυριακή', + 'Κωνσταντίνα', + 'Λαζαρία', + 'Λαμπρινή', + 'Λασκαρίνα', + 'Λαυρεντία', + 'Λεμονιά', + 'Λευκοθέα', + 'Λεώνη', + 'Λεωνιδιά', + 'Λήδα', + 'Λητώ', + 'Λουίζα', + 'Λουκία', + 'Λουλουδένια', + 'Λυγερή', + 'Λυδία', + 'Μαγδαληνή', + 'Μακρίνα', + 'Μαλαματένια', + 'Μαλβίνα', + 'Μάνθα', + 'Μαντώ', + 'Μαργαρίτα', + 'Μάρθα', + 'Μαρία', + 'Μαριάνθη', + 'Μαρίνα', + 'Μαρκέλλα', + 'Ματθίλδη', + 'Μαύρα', + 'Μελένια', + 'Μελέτια', + 'Μελίνα', + 'Μελπομένη', + 'Μερόπη', + 'Μεταξία', + 'Μηλιά', + 'Μιράντα', + 'Μιχαέλα', + 'Μόσχα', + 'Μυρσίνη', + 'Ναυσικά', + 'Νεκταρία', + 'Νεόκλεια', + 'Νερατζιά', + 'Νεφέλη', + 'Νίκη', + 'Νικητία', + 'Νικολέτα', + 'Ξανθή', + 'Ξανθίππη', + 'Ξένη', + 'Οδύσσεια', + 'Όλγα', + 'Ολύμπια', + 'Ουρανία', + 'Παγώνα', + 'Παναγία', + 'Παναγιώτα', + 'Πανδώρα', + 'Παντελία', + 'Πανωραία', + 'Παρασκευή', + 'Παρθένα', + 'Πασχαλιά', + 'Παταπία', + 'Παυλίνα', + 'Πελαγία', + 'Περιστέρα', + 'Περσεφόνη', + 'Πέτρα', + 'Πηγή', + 'Πηνελόπη', + 'Ποθητή', + 'Πολύβια', + 'Πολύδωρα', + 'Πολύμνια', + 'Πολυξένη', + 'Πολυτίμη', + 'Πολυχρονία', + 'Πούλια', + 'Προδρομία', + 'Ραλλία', + 'Ρέα', + 'Ρεβέκκα', + 'Ρεγγίνα', + 'Ρηγούλα', + 'Ροδιά', + 'Ρόζα', + 'Ρουμπίνη', + 'Ρούσα', + 'Ρωξάνη', + 'Σαββούλα', + 'Σαλώμη', + 'Σαπφώ', + 'Σάρρα', + 'Σεβαστή', + 'Σεβαστιανή', + 'Σελήνη', + 'Σεμίνα', + 'Σεραφεία', + 'Σμαράγδα', + 'Σουλτάνα', + 'Σουμέλα', + 'Σοφία', + 'Σπάρτη', + 'Σπυριδούλα', + 'Σταματίνα', + 'Σταυρούλα', + 'Στεργιανή', + 'Στεφανία', + 'Στυλιανή', + 'Συμεωνία', + 'Σωζούσα', + 'Σωτηρία', + 'Σωφρονία', + 'Ταξιαρχία', + 'Τατιάνα', + 'Τερψιχόρη', + 'Τιμοθέα', + 'Τριαντάφυλλη', + 'Τρισεύγενη', + 'Τρυφωνία', + 'Τσαμπίκα', + 'Υακίνθη', + 'Υβόννη', + 'Υπαπαντή', + 'Φαίδρα', + 'Φανουρία', + 'Φεβρωνία', + 'Φερενίκη', + 'Φιλαρέτη', + 'Φιλίππα', + 'Φιλιππία', + 'Φιλιώ', + 'Φιλοθέη', + 'Φιλομήλα', + 'Φλώρα', + 'Φλωρεντία', + 'Φοίβη', + 'Φραντζέσκα', + 'Φρειδερίκη', + 'Φρύνη', + 'Φωτεινή', + 'Χάιδω', + 'Χαρά', + 'Χαραλαμπία', + 'Χάρη', + 'Χαρίκλεια', + 'Χιονιά', + 'Χλόη', + 'Χριστοδούλα', + 'Χριστόφιλη', + 'Χριστοφόρα', + 'Χρυσάνθη', + 'Χρυσαυγή', + 'Χρυσαφένια', + 'Χρυσοβαλάντω', + 'Χρυσόστομη', + 'Χρυσούλα', + ]; - protected static $lastNameMale = [ - 'Αγγελίδης', 'Αγγελόπουλος', 'Αθανασιάδης', 'Αλαφούζος', 'Αλεβίζος', 'Αλεξόπουλος', 'Αλιβιζάτος', 'Αναγνωστόπουλος', 'Αναστασιάδης', 'Αναστασίου', 'Ανδρεάδης', 'Αντωνιάδης', 'Αντωνόπουλος', 'Αποστολόπουλος', - 'Αξιώτης', 'Βαρουξής', 'Βασιλείου', 'Βασιλόπουλος', 'Βενιζέλος', 'Βέργας', 'Βιτάλης', 'Βούλγαρης', 'Γαλάνης', 'Γερμανός', 'Γεωργίου', 'Γεωργιάδης', 'Γιάγκος', 'Γιαννόπουλος', 'Γιαννακόπουλος', 'Γιάνναρης', - 'Γούσιος', 'Γρηγοριάδης', 'Δασκαλόπουλος', 'Δελής', 'Διαμαντόπουλος', 'Δημητριάδης', 'Δουρέντης', 'Ελευθερόπουλος', 'Ελευθεριάδης', 'Ευθυμιάδης', 'Ευσταθιάδης', 'Ευταξίας', 'Ζαχαριάδης', 'Ζερβός', 'Ζωγραφός', - 'Ηλιάδης', 'Ηλιόπουλος', 'Θεοτόκης', 'Θεοδωρόπουλος', 'Θεοδώρου', 'Θεοδωρίδης', 'Ιατρίδης', 'Ιωαννίδης', 'Καλύβας', 'Καραβίας', 'Καννελόπουλος', 'Καραγιάννης', 'Κεδίκογλου', 'Κολιάτσος', 'Κόκκινος', 'Κομνηνός', - 'Κοντολέων', 'Κοντός', 'Κόρακας', 'Κορομηλάς', 'Κορωναίος', 'Κοσμόπουλος', 'Κουταλιανός', 'Κυπραίος', 'Κωνσταντίνου', 'Κωνσταντινίδης', 'Κωνσταντόπουλος', 'Κωστόπουλος', 'Κρητικός', 'Κυριακόπουλος', 'Λαμέρας', - 'Λαμπρόπουλος', 'Λούλης', 'Μακρής', 'Μανιάκης', 'Μαρκόπουλος', 'Μαυρλίδης', 'Μεταξάς', 'Μιχαηλίδης', 'Μπλέτσας', 'Νικολαΐδης', 'Νικολάκος', 'Νικολόπουλος', 'Ξανθόπουλος', 'Ξένος', 'Οικονομίδης', 'Ουζουνίδης', - 'Παναγιωτίδης', 'Πανταζής', 'Παπαγεωργίου', 'Παπάγος', 'Παπαδάκης', 'Παπαδόπουλος', 'Παπάζογλου', 'Παπακώστας', 'Παπανδρέου', 'Παπανικολάου', 'Παπαντωνίου', 'Παπαστεφάνου', 'Παπαφιλίππου', 'Παπαϊωάννου', 'Παππάς', - 'Παυλόπουλος', 'Πολίτης', 'Πρωτοβεστιάριος', 'Πρωτονοτάριος', 'Ρούσσος', 'Ρέντης', 'Ράγκος', 'Ρόκας', 'Σακελλάρης', 'Σαμαράς', 'Σκλαβούνος', 'Σπανός', 'Σιδέρης', 'Σπηλιωτόπουλος', 'Σπυρόπουλος', 'Σταματιάδης', - 'Σταυρόπουλος', 'Στεφανόπουλος', 'Ταμτάκος', 'Τοκατλίδης', 'Τριανταφυλλίδης', 'Τρικούπη', 'Τρικούπης', 'Φιλιππίδης', 'Φλέσσας', 'Φωτιάδης', 'Φωτόπουλος', 'Χαραλαμπίδης', 'Χατζηνικόλαου', 'Χριστόπουλος', - ]; + protected static $lastNameMale = [ + 'Αγγελίδης', + 'Αγγελόπουλος', + 'Αθανασιάδης', + 'Αλαφούζος', + 'Αλεβίζος', + 'Αλεξόπουλος', + 'Αλιβιζάτος', + 'Αναγνωστόπουλος', + 'Αναστασιάδης', + 'Αναστασίου', + 'Ανδρεάδης', + 'Αντωνιάδης', + 'Αντωνόπουλος', + 'Αποστολόπουλος', + 'Αξιώτης', + 'Βαρουξής', + 'Βασιλείου', + 'Βασιλόπουλος', + 'Βενιζέλος', + 'Βέργας', + 'Βιτάλης', + 'Βούλγαρης', + 'Γαλάνης', + 'Γερμανός', + 'Γεωργίου', + 'Γεωργιάδης', + 'Γιάγκος', + 'Γιαννόπουλος', + 'Γιαννακόπουλος', + 'Γιάνναρης', + 'Γούσιος', + 'Γρηγοριάδης', + 'Δασκαλόπουλος', + 'Δελής', + 'Διαμαντόπουλος', + 'Δημητριάδης', + 'Δουρέντης', + 'Ελευθερόπουλος', + 'Ελευθεριάδης', + 'Ευθυμιάδης', + 'Ευσταθιάδης', + 'Ευταξίας', + 'Ζαχαριάδης', + 'Ζερβός', + 'Ζωγραφός', + 'Ηλιάδης', + 'Ηλιόπουλος', + 'Θεοτόκης', + 'Θεοδωρόπουλος', + 'Θεοδώρου', + 'Θεοδωρίδης', + 'Ιατρίδης', + 'Ιωαννίδης', + 'Καλύβας', + 'Καραβίας', + 'Καννελόπουλος', + 'Καραγιάννης', + 'Κεδίκογλου', + 'Κολιάτσος', + 'Κόκκινος', + 'Κομνηνός', + 'Κοντολέων', + 'Κοντός', + 'Κόρακας', + 'Κορομηλάς', + 'Κορωναίος', + 'Κοσμόπουλος', + 'Κουταλιανός', + 'Κυπραίος', + 'Κωνσταντίνου', + 'Κωνσταντινίδης', + 'Κωνσταντόπουλος', + 'Κωστόπουλος', + 'Κρητικός', + 'Κυριακόπουλος', + 'Λαμέρας', + 'Λαμπρόπουλος', + 'Λούλης', + 'Μακρής', + 'Μανιάκης', + 'Μαρκόπουλος', + 'Μαυρλίδης', + 'Μεταξάς', + 'Μιχαηλίδης', + 'Μπλέτσας', + 'Νικολαΐδης', + 'Νικολάκος', + 'Νικολόπουλος', + 'Ξανθόπουλος', + 'Ξένος', + 'Οικονομίδης', + 'Ουζουνίδης', + 'Παναγιωτίδης', + 'Πανταζής', + 'Παπαγεωργίου', + 'Παπάγος', + 'Παπαδάκης', + 'Παπαδόπουλος', + 'Παπάζογλου', + 'Παπακώστας', + 'Παπανδρέου', + 'Παπανικολάου', + 'Παπαντωνίου', + 'Παπαστεφάνου', + 'Παπαφιλίππου', + 'Παπαϊωάννου', + 'Παππάς', + 'Παυλόπουλος', + 'Πολίτης', + 'Πρωτοβεστιάριος', + 'Πρωτονοτάριος', + 'Ρούσσος', + 'Ρέντης', + 'Ράγκος', + 'Ρόκας', + 'Σακελλάρης', + 'Σαμαράς', + 'Σκλαβούνος', + 'Σπανός', + 'Σιδέρης', + 'Σπηλιωτόπουλος', + 'Σπυρόπουλος', + 'Σταματιάδης', + 'Σταυρόπουλος', + 'Στεφανόπουλος', + 'Ταμτάκος', + 'Τοκατλίδης', + 'Τριανταφυλλίδης', + 'Τρικούπη', + 'Τρικούπης', + 'Φιλιππίδης', + 'Φλέσσας', + 'Φωτιάδης', + 'Φωτόπουλος', + 'Χαραλαμπίδης', + 'Χατζηνικόλαου', + 'Χριστόπουλος', + ]; - protected static $lastNameFemale = [ - 'Αγγελίδου', 'Αγγελοπούλου', 'Αλεξάνδρου', 'Αλεξάνδρου', 'Αλεξίου', 'Αναγνώστου', 'Αναστασίου', 'Ανδρέου', 'Αντωνοπούλου', 'Ανυφαντή', 'Ανυφαντή', 'Αργυρού', 'Βαριμπόμπη', 'Βιτάλη', 'Γάσπαρη', 'Γαλάνη', 'Γεννήτη', - 'Γερμανού', 'Γεωγιάδου', 'Γεωργίβαλου', 'Γεωργίου', 'Γιακουμή', 'Γιαννακοπούλου', 'Γρηγοριάδου', 'Δασκαλοπούλου', 'Διδασκάλου', 'Δημητριάδου', 'Ελευθερίου', 'Ευθυμιάδου', 'Ηλιοπούλου', 'Θεοτόκου', 'Θεοδωροπούλου', - 'Θεοδώρου', 'Θεοδωρίδου', 'Ιωάννου', 'Καπετανάκη', 'Καπνού', 'Καρσιβάνη', 'Κοκκίνου', 'Κωνσταντινίδου', 'Κωνσταντίνου', 'Κυριακοπούλου', 'Λάσκαρη', 'Λασκαρού', 'Μάκρη', 'Μακρή', 'Μοραΐτη', 'Μπόγρη', 'Μυλωνά', - 'Νικολάου', 'Νικολοπούλου', 'Ξανθοπούλου', 'Οικονομίδου', 'Οικονομοπούλου', 'Οικονόμου', 'Παπαδοπούλου', 'Παπακιρίσκου', 'Παπακωνσταντίνου', 'Παπαμάρκου', 'Παπαστάμου', 'Ράφτη', 'Σακελλαρίου', 'Σελινά', 'Σκουτέρη', - 'Σπανού', 'Σταματιάδου', 'Σωπολιάτη', 'Τριανταφυλλίδου', 'Φοσκιά', 'Φωτιάδου', 'Χαραλαμπίδου', 'Χατζηιωάννου', - ]; + protected static $lastNameFemale = [ + 'Αγγελίδου', + 'Αγγελοπούλου', + 'Αλεξάνδρου', + 'Αλεξάνδρου', + 'Αλεξίου', + 'Αναγνώστου', + 'Αναστασίου', + 'Ανδρέου', + 'Αντωνοπούλου', + 'Ανυφαντή', + 'Ανυφαντή', + 'Αργυρού', + 'Βαριμπόμπη', + 'Βιτάλη', + 'Γάσπαρη', + 'Γαλάνη', + 'Γεννήτη', + 'Γερμανού', + 'Γεωγιάδου', + 'Γεωργίβαλου', + 'Γεωργίου', + 'Γιακουμή', + 'Γιαννακοπούλου', + 'Γρηγοριάδου', + 'Δασκαλοπούλου', + 'Διδασκάλου', + 'Δημητριάδου', + 'Ελευθερίου', + 'Ευθυμιάδου', + 'Ηλιοπούλου', + 'Θεοτόκου', + 'Θεοδωροπούλου', + 'Θεοδώρου', + 'Θεοδωρίδου', + 'Ιωάννου', + 'Καπετανάκη', + 'Καπνού', + 'Καρσιβάνη', + 'Κοκκίνου', + 'Κωνσταντινίδου', + 'Κωνσταντίνου', + 'Κυριακοπούλου', + 'Λάσκαρη', + 'Λασκαρού', + 'Μάκρη', + 'Μακρή', + 'Μοραΐτη', + 'Μπόγρη', + 'Μυλωνά', + 'Νικολάου', + 'Νικολοπούλου', + 'Ξανθοπούλου', + 'Οικονομίδου', + 'Οικονομοπούλου', + 'Οικονόμου', + 'Παπαδοπούλου', + 'Παπακιρίσκου', + 'Παπακωνσταντίνου', + 'Παπαμάρκου', + 'Παπαστάμου', + 'Ράφτη', + 'Σακελλαρίου', + 'Σελινά', + 'Σκουτέρη', + 'Σπανού', + 'Σταματιάδου', + 'Σωπολιάτη', + 'Τριανταφυλλίδου', + 'Φοσκιά', + 'Φωτιάδου', + 'Χαραλαμπίδου', + 'Χατζηιωάννου', + ]; - protected static $titleMale = ['κος.', 'κ.']; - protected static $titleFemale = ['δις.', 'δνις.', 'κα.']; + protected static $titleMale = [ 'κος.', 'κ.' ]; + protected static $titleFemale = [ 'δις.', 'δνις.', 'κα.' ]; - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Αγγελόπουλος' - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Αγγελόπουλος' + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } - /** - * @example 'Θεοδωρόπουλος' - */ - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + /** + * @example 'Θεοδωρόπουλος' + */ + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - /** - * @example 'Κοκκίνου' - */ - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + /** + * @example 'Κοκκίνου' + */ + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/PhoneNumber.php index 5303248..2ff8934 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/PhoneNumber.php @@ -6,319 +6,510 @@ * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Greece * @see https://github.com/giggsey/libphonenumber-for-php/blob/master/src/data/PhoneNumberMetadata_GR.php */ -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $internationalCallPrefixes = ['', '+30']; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $internationalCallPrefixes = [ '', '+30' ]; - protected static $formats = [ - '{{fixedLineNumber}}', - '{{mobileNumber}}', - '{{personalNumber}}', - '{{tollFreeNumber}}', - '{{sharedCostNumber}}', - '{{premiumRateNumber}}', - ]; + protected static $formats = [ + '{{fixedLineNumber}}', + '{{mobileNumber}}', + '{{personalNumber}}', + '{{tollFreeNumber}}', + '{{sharedCostNumber}}', + '{{premiumRateNumber}}', + ]; - protected static $areaCodes = [ - // Zone 22: Central Greece and the Aegean Islands - 2221, 2222, 2223, 2224, 2226, 2227, 2228, 2229, - 2231, 2232, 2233, 2234, 2235, 2236, 2237, 2238, - 2241, 2242, 2243, 2244, 2245, 2246, 2247, - 2251, 2252, 2253, 2254, - 2261, 2262, 2263, 2264, 2265, 2266, 2267, 2268, - 2271, 2272, 2273, 2274, 2275, - 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, - 2291, 2292, 2293, 2294, 2295, 2296, 2297, 2298, 2299, + protected static $areaCodes = [ + // Zone 22: Central Greece and the Aegean Islands + 2221, + 2222, + 2223, + 2224, + 2226, + 2227, + 2228, + 2229, + 2231, + 2232, + 2233, + 2234, + 2235, + 2236, + 2237, + 2238, + 2241, + 2242, + 2243, + 2244, + 2245, + 2246, + 2247, + 2251, + 2252, + 2253, + 2254, + 2261, + 2262, + 2263, + 2264, + 2265, + 2266, + 2267, + 2268, + 2271, + 2272, + 2273, + 2274, + 2275, + 2281, + 2282, + 2283, + 2284, + 2285, + 2286, + 2287, + 2288, + 2289, + 2291, + 2292, + 2293, + 2294, + 2295, + 2296, + 2297, + 2298, + 2299, - // Zone 23: Central Macedonia and Florina - 231, - 2321, 2322, 2323, 2324, 2325, 2327, - 2331, 2332, 2333, - 2341, 2343, - 2351, 2352, 2353, - 2371, 2372, 2373, 2374, 2375, 2376, 2377, - 2381, 2382, 2384, 2385, 2386, - 2391, 2392, 2393, 2394, 2395, 2396, 2397, 2399, + // Zone 23: Central Macedonia and Florina + 231, + 2321, + 2322, + 2323, + 2324, + 2325, + 2327, + 2331, + 2332, + 2333, + 2341, + 2343, + 2351, + 2352, + 2353, + 2371, + 2372, + 2373, + 2374, + 2375, + 2376, + 2377, + 2381, + 2382, + 2384, + 2385, + 2386, + 2391, + 2392, + 2393, + 2394, + 2395, + 2396, + 2397, + 2399, - // Zone 24: Thessaly and West Macedonia (excluding Florina) - 241, - 2421, 2422, 2423, 2424, 2425, 2426, 2427, 2428, - 2431, 2432, 2433, 2434, - 2441, 2443, 2444, 2445, - 2461, 2462, 2463, 2464, 2465, 2467, 2468, - 2491, 2492, 2493, 2494, 2495, + // Zone 24: Thessaly and West Macedonia (excluding Florina) + 241, + 2421, + 2422, + 2423, + 2424, + 2425, + 2426, + 2427, + 2428, + 2431, + 2432, + 2433, + 2434, + 2441, + 2443, + 2444, + 2445, + 2461, + 2462, + 2463, + 2464, + 2465, + 2467, + 2468, + 2491, + 2492, + 2493, + 2494, + 2495, - // Zone 25: East Macedonia and Thrace - 251, - 2521, 2522, 2523, 2524, - 2531, 2532, 2533, 2534, 2535, - 2541, 2542, 2544, - 2591, 2592, 2593, 2594, - 2551, 2552, 2553, 2554, 2555, 2556, + // Zone 25: East Macedonia and Thrace + 251, + 2521, + 2522, + 2523, + 2524, + 2531, + 2532, + 2533, + 2534, + 2535, + 2541, + 2542, + 2544, + 2591, + 2592, + 2593, + 2594, + 2551, + 2552, + 2553, + 2554, + 2555, + 2556, - // Zone 26: West Greece, Ionian Island and Epirus - 261, - 2621, 2622, 2623, 2624, 2625, 2626, - 2631, 2632, 2634, 2635, - 2661, 2662, 2663, 2664, 2665, 2666, - 2691, 2692, 2693, 2694, 2695, 2696, - 2641, 2642, 2643, 2644, 2645, 2646, 2647, - 2651, 2653, 2654, 2655, 2656, 2657, 2658, 2659, - 2671, 2674, - 2681, 2682, 2683, 2684, 2685, + // Zone 26: West Greece, Ionian Island and Epirus + 261, + 2621, + 2622, + 2623, + 2624, + 2625, + 2626, + 2631, + 2632, + 2634, + 2635, + 2661, + 2662, + 2663, + 2664, + 2665, + 2666, + 2691, + 2692, + 2693, + 2694, + 2695, + 2696, + 2641, + 2642, + 2643, + 2644, + 2645, + 2646, + 2647, + 2651, + 2653, + 2654, + 2655, + 2656, + 2657, + 2658, + 2659, + 2671, + 2674, + 2681, + 2682, + 2683, + 2684, + 2685, - // Zone 27: Peloponnese and Kythera - 271, - 2721, 2722, 2723, 2724, 2725, - 2731, 2732, 2733, 2734, 2735, 2736, - 2741, 2742, 2743, 2744, 2745, 2746, 2747, - 2751, 2752, 2753, 2754, 2755, 2757, - 2761, 2763, 2765, - 2791, 2792, 2795, 2797, + // Zone 27: Peloponnese and Kythera + 271, + 2721, + 2722, + 2723, + 2724, + 2725, + 2731, + 2732, + 2733, + 2734, + 2735, + 2736, + 2741, + 2742, + 2743, + 2744, + 2745, + 2746, + 2747, + 2751, + 2752, + 2753, + 2754, + 2755, + 2757, + 2761, + 2763, + 2765, + 2791, + 2792, + 2795, + 2797, - // Zone 28: Crete - 281, - 2821, 2822, 2823, 2824, 2825, - 2831, 2832, 2833, 2834, - 2841, 2842, 2843, 2844, - 2891, 2892, 2893, 2894, 2895, 2897, - ]; + // Zone 28: Crete + 281, + 2821, + 2822, + 2823, + 2824, + 2825, + 2831, + 2832, + 2833, + 2834, + 2841, + 2842, + 2843, + 2844, + 2891, + 2892, + 2893, + 2894, + 2895, + 2897, + ]; - protected static $fixedLineFormats = [ - '{{internationalCodePrefix}}21########', - '{{internationalCodePrefix}} 21# ### ####', - '{{internationalCodePrefix}}{{areaCode}}######', - '{{internationalCodePrefix}} {{areaCode}} ######', - ]; + protected static $fixedLineFormats = [ + '{{internationalCodePrefix}}21########', + '{{internationalCodePrefix}} 21# ### ####', + '{{internationalCodePrefix}}{{areaCode}}######', + '{{internationalCodePrefix}} {{areaCode}} ######', + ]; - protected static $mobileCodes = [ - 685, 687, 688, 689, - 690, 691, 693, 694, 695, 696, 697, 698, 699, - ]; + protected static $mobileCodes = [ + 685, + 687, + 688, + 689, + 690, + 691, + 693, + 694, + 695, + 696, + 697, + 698, + 699, + ]; - protected static $mobileFormats = [ - '{{internationalCodePrefix}}{{mobileCode}}#######', - '{{internationalCodePrefix}} {{mobileCode}} ### ####', - ]; + protected static $mobileFormats = [ + '{{internationalCodePrefix}}{{mobileCode}}#######', + '{{internationalCodePrefix}} {{mobileCode}} ### ####', + ]; - protected static $personalFormats = [ - '{{internationalCodePrefix}}70########', - '{{internationalCodePrefix}} 70 #### ####', - ]; + protected static $personalFormats = [ + '{{internationalCodePrefix}}70########', + '{{internationalCodePrefix}} 70 #### ####', + ]; - protected static $tollFreeFormats = [ - '{{internationalCodePrefix}}800#######', - '{{internationalCodePrefix}} 800 ### ####', - ]; + protected static $tollFreeFormats = [ + '{{internationalCodePrefix}}800#######', + '{{internationalCodePrefix}} 800 ### ####', + ]; - protected static $sharedCostCodes = [801, 806, 812, 825, 850, 875]; + protected static $sharedCostCodes = [ 801, 806, 812, 825, 850, 875 ]; - protected static $sharedCostFormats = [ - '{{internationalCodePrefix}}{{sharedCostCode}}#######', - '{{internationalCodePrefix}} {{sharedCostCode}} ### ####', - ]; + protected static $sharedCostFormats = [ + '{{internationalCodePrefix}}{{sharedCostCode}}#######', + '{{internationalCodePrefix}} {{sharedCostCode}} ### ####', + ]; - protected static $premiumRateCodes = [901, 909]; + protected static $premiumRateCodes = [ 901, 909 ]; - protected static $premiumRateFormats = [ - '{{internationalCodePrefix}}{{premiumRateCode}}#######', - '{{internationalCodePrefix}} {{premiumRateCode}} ### ####', - ]; + protected static $premiumRateFormats = [ + '{{internationalCodePrefix}}{{premiumRateCode}}#######', + '{{internationalCodePrefix}} {{premiumRateCode}} ### ####', + ]; - /** - * Generate a country calling code prefix. - * - * @example Prefix an empty string: '' - * @example Prefix the country calling code: '+30' - * - * @internal Used to generate phone numbers with or without prefixes. - * - * @return string - */ - public static function internationalCodePrefix() - { - return static::randomElement(static::$internationalCallPrefixes); - } + /** + * Generate a country calling code prefix. + * + * @return string + * @example Prefix the country calling code: '+30' + * + * @internal Used to generate phone numbers with or without prefixes. + * + * @example Prefix an empty string: '' + */ + public static function internationalCodePrefix() { + return static::randomElement( static::$internationalCallPrefixes ); + } - /** - * Generate an area code for a fixed line number. - * - * Doesn't include codes for Greater Athens Metropolitan Area (21#) because - * this zone uses 3 digits, and phone numbers have a different formatting. - * - * Area codes in all the other zones use 4 digits. - * The capital of each zone uses 3 digits and the 4th digit can be any number. - * The other areas in each zone use 4 digits, but not every number is valid for the 4th digit. - * - * @example Thessaloniki has code '231', so '2310' and '2313' are valid. - * @example Serres has code '232', but '2326', '2328' and '2329' are not valid. - * - * @return string - */ - public static function areaCode() - { - return static::numerify( - str_pad(static::randomElement(static::$areaCodes), 4, '#'), - ); - } + /** + * Generate an area code for a fixed line number. + * + * Doesn't include codes for Greater Athens Metropolitan Area (21#) because + * this zone uses 3 digits, and phone numbers have a different formatting. + * + * Area codes in all the other zones use 4 digits. + * The capital of each zone uses 3 digits and the 4th digit can be any number. + * The other areas in each zone use 4 digits, but not every number is valid for the 4th digit. + * + * @return string + * @example Serres has code '232', but '2326', '2328' and '2329' are not valid. + * + * @example Thessaloniki has code '231', so '2310' and '2313' are valid. + */ + public static function areaCode() { + return static::numerify( + str_pad( static::randomElement( static::$areaCodes ), 4, '#' ), + ); + } - /** - * Generate a fixed line number. - * - * Numbers can be generated with or without the international code prefix. - * Numbers can be generated with or without spaces between their parts. - * Numbers in Athens use a 3-digit area code, and can be formatted as 21# ### ####. - * Numbers in other areas use a 4-digit area code, and can be formatted as 2### ### ###. - * - * @example A number in Athens: '2101234567' - * @example A number in Thessaloniki: '2310123456' - * @example A number with spaces in Athens: '210 123 4567' - * @example A number with spaces in Thessaloniki: '2310 123 456' - * @example A number with international code prefix: '+302101234567' - * @example A number with international code prefix and spaces: '+30 2310 123 456' - * - * @return string - */ - public function fixedLineNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$fixedLineFormats), - ))); - } + /** + * Generate a fixed line number. + * + * Numbers can be generated with or without the international code prefix. + * Numbers can be generated with or without spaces between their parts. + * Numbers in Athens use a 3-digit area code, and can be formatted as 21# ### ####. + * Numbers in other areas use a 4-digit area code, and can be formatted as 2### ### ###. + * + * @return string + * @example A number in Thessaloniki: '2310123456' + * @example A number with spaces in Athens: '210 123 4567' + * @example A number with spaces in Thessaloniki: '2310 123 456' + * @example A number with international code prefix: '+302101234567' + * @example A number with international code prefix and spaces: '+30 2310 123 456' + * + * @example A number in Athens: '2101234567' + */ + public function fixedLineNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$fixedLineFormats ), + ) ) ); + } - /** - * Generate a code for a mobile number. - * - * @internal Used to generate mobile numbers. - * - * @return string - */ - public static function mobileCode() - { - return static::randomElement(static::$mobileCodes); - } + /** + * Generate a code for a mobile number. + * + * @return string + * @internal Used to generate mobile numbers. + * + */ + public static function mobileCode() { + return static::randomElement( static::$mobileCodes ); + } - /** - * Generate a mobile number. - * - * @example A mobile number: '6901234567' - * @example A mobile number with spaces: '690 123 4567' - * @example A mobile number with international code prefix: '+306901234567' - * @example A mobile number with international code prefix and spaces: '+30 690 123 4567' - * - * @return string - */ - public function mobileNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$mobileFormats), - ))); - } + /** + * Generate a mobile number. + * + * @return string + * @example A mobile number with spaces: '690 123 4567' + * @example A mobile number with international code prefix: '+306901234567' + * @example A mobile number with international code prefix and spaces: '+30 690 123 4567' + * + * @example A mobile number: '6901234567' + */ + public function mobileNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$mobileFormats ), + ) ) ); + } - /** - * @deprecated Use PhoneNumber::mobileNumber() instead. - */ - public static function mobilePhoneNumber() - { - return static::numerify( - strtr(static::randomElement(static::$mobileFormats), [ - '{{internationalCodePrefix}}' => static::internationalCodePrefix(), - '{{mobileCode}}' => static::mobileCode(), - ]), - ); - } + /** + * @deprecated Use PhoneNumber::mobileNumber() instead. + */ + public static function mobilePhoneNumber() { + return static::numerify( + strtr( static::randomElement( static::$mobileFormats ), [ + '{{internationalCodePrefix}}' => static::internationalCodePrefix(), + '{{mobileCode}}' => static::mobileCode(), + ] ), + ); + } - /** - * Generate a personal number. - * - * @example A personal number: '7012345678' - * @example A personal number with spaces: '70 1234 5678' - * @example A personal number with international code prefix: '+307012345678' - * @example A personal number with international code prefix and spaces: '+30 70 1234 5678' - * - * @return string - */ - public function personalNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$personalFormats), - ))); - } + /** + * Generate a personal number. + * + * @return string + * @example A personal number with spaces: '70 1234 5678' + * @example A personal number with international code prefix: '+307012345678' + * @example A personal number with international code prefix and spaces: '+30 70 1234 5678' + * + * @example A personal number: '7012345678' + */ + public function personalNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$personalFormats ), + ) ) ); + } - /** - * Generate a toll-free number. - * - * @example A toll-free number: '8001234567' - * @example A toll-free number with spaces: '800 123 4567' - * @example A toll-free number with international code prefix: '+308001234567' - * @example A toll-free number with international code prefix and spaces: '+30 800 123 4567' - * - * @return string - */ - public static function tollFreeNumber() - { - return ltrim(static::numerify( - strtr(static::randomElement(static::$tollFreeFormats), [ - '{{internationalCodePrefix}}' => static::internationalCodePrefix(), - ]), - )); - } + /** + * Generate a toll-free number. + * + * @return string + * @example A toll-free number with spaces: '800 123 4567' + * @example A toll-free number with international code prefix: '+308001234567' + * @example A toll-free number with international code prefix and spaces: '+30 800 123 4567' + * + * @example A toll-free number: '8001234567' + */ + public static function tollFreeNumber() { + return ltrim( static::numerify( + strtr( static::randomElement( static::$tollFreeFormats ), [ + '{{internationalCodePrefix}}' => static::internationalCodePrefix(), + ] ), + ) ); + } - /** - * Generate a code for a shared-cost number. - * - * @internal Used to generate shared-cost numbers. - * - * @return string - */ - public static function sharedCostCode() - { - return static::randomElement(static::$sharedCostCodes); - } + /** + * Generate a code for a shared-cost number. + * + * @return string + * @internal Used to generate shared-cost numbers. + * + */ + public static function sharedCostCode() { + return static::randomElement( static::$sharedCostCodes ); + } - /** - * Generate a shared-cost number. - * - * @example A shared-cost number: '8011234567' - * @example A shared-cost number with spaces: '801 123 4567' - * @example A shared-cost number with international code prefix: '+308011234567' - * @example A shared-cost number with international code prefix and spaces: '+30 801 123 4567' - * - * @return string - */ - public function sharedCostNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$sharedCostFormats), - ))); - } + /** + * Generate a shared-cost number. + * + * @return string + * @example A shared-cost number with spaces: '801 123 4567' + * @example A shared-cost number with international code prefix: '+308011234567' + * @example A shared-cost number with international code prefix and spaces: '+30 801 123 4567' + * + * @example A shared-cost number: '8011234567' + */ + public function sharedCostNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$sharedCostFormats ), + ) ) ); + } - /** - * Generate a code for a premium-rate number. - * - * @internal Used to generate premium-rate numbers. - * - * @return string - */ - public static function premiumRateCode() - { - return static::randomElement(static::$premiumRateCodes); - } + /** + * Generate a code for a premium-rate number. + * + * @return string + * @internal Used to generate premium-rate numbers. + * + */ + public static function premiumRateCode() { + return static::randomElement( static::$premiumRateCodes ); + } - /** - * Generate a premium-rate number. - * - * @example A premium-rate number: '9011234567' - * @example A premium-rate number with spaces: '901 123 4567' - * @example A premium-rate number with international code prefix: '+309011234567' - * @example A premium-rate number with international code prefix and spaces: '+30 901 123 4567' - * - * @return string - */ - public function premiumRateNumber() - { - return ltrim(static::numerify($this->generator->parse( - static::randomElement(static::$premiumRateFormats), - ))); - } + /** + * Generate a premium-rate number. + * + * @return string + * @example A premium-rate number with spaces: '901 123 4567' + * @example A premium-rate number with international code prefix: '+309011234567' + * @example A premium-rate number with international code prefix and spaces: '+30 901 123 4567' + * + * @example A premium-rate number: '9011234567' + */ + public function premiumRateNumber() { + return ltrim( static::numerify( $this->generator->parse( + static::randomElement( static::$premiumRateFormats ), + ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Text.php b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Text.php index f4be760..32d68ab 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/el_GR/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/el_GR/Text.php @@ -2,33 +2,32 @@ namespace Faker\Provider\el_GR; -class Text extends \Faker\Provider\Text -{ - /** - * From el.wikisource.org. - * - * The text is licensed under the Creative Commons Attribution / Share-Alike, - * Also additional terms may apply. For details, see. Terms of Use. - * - * - * Title: Τρελαντώνης - * - * Author: Πηνελόπη Δέλτα - * - * Posting Date: January 6, 2016 - * Release Date: 1932 - * [Last updated: September 1, 2013] - * - * Language: Greek - * - * @licence Creative Commons Attribution-ShareAlike https://creativecommons.org/licenses/by-sa/3.0/deed.el - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see https://el.wikisource.org/wiki/%CE%A4%CF%81%CE%B5%CE%BB%CE%B1%CE%BD%CF%84%CF%8E%CE%BD%CE%B7%CF%82 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * From el.wikisource.org. + * + * The text is licensed under the Creative Commons Attribution / Share-Alike, + * Also additional terms may apply. For details, see. Terms of Use. + * + * + * Title: Τρελαντώνης + * + * Author: Πηνελόπη Δέλτα + * + * Posting Date: January 6, 2016 + * Release Date: 1932 + * [Last updated: September 1, 2013] + * + * Language: Greek + * + * @licence Creative Commons Attribution-ShareAlike https://creativecommons.org/licenses/by-sa/3.0/deed.el + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see https://el.wikisource.org/wiki/%CE%A4%CF%81%CE%B5%CE%BB%CE%B1%CE%BD%CF%84%CF%8E%CE%BD%CE%B7%CF%82 + * + * @var string + */ + protected static $baseText = <<<'EOT' Ο Αντώνης ήταν πολύ σκάνταλος και πολύ άτακτος και κάθε λίγο έβρισκε τον μπελά του. Δεν περνούσε μέρα που να μην έτρωγε δυο τρεις κατσάδες, πότε από τη θεία του, πότε από τη μαγείρισσα, πότε από την Αγγλίδα δασκάλα και πότε από την τραπεζιέρα, και κάθε λίγο αναγκάζουνταν ν' ανακατώνεται ο θείος. Σαν έφθανε απέξω ο θείος και άκουε την καινούρια αταξία του Αντώνη, το αγαθό του πρόσωπο αγρίευε όσο μπορούσε, σούρωνε τ' άσπρα του φρύδια και, κουνώντας το σταχτί του κεφάλι, έλεγε αυστηρά: - Αντώνη, ακούω πάλι πως έκανες αταξίες! Φοβούμαι πως δε θα τα πάμε καλά! Αυτές ήταν οι σοβαρές περιστάσεις. Άκουε η Αλεξάνδρα, η μεγάλη αδελφή, και ντρέπουνταν για τον αδελφό της. Άκουε η Πουλουδιά, η μικρότερη αδελφή, κι ένιωθε την καρδιά της να παίζει τούμπανο. Άκουε και ο μικρός ο Αλέξανδρος, καθισμένος στο πάτωμα, με το δάχτυλο στο στόμα, και αποφάσιζε μέσα του πως εκείνος δεν ήθελε να γίνει έτσι κακό παιδί σαν τον Αντώνη. @@ -2256,327 +2255,327 @@ class Text extends \Faker\Provider\Text Όλα τ' αδέλφια ζάρωσαν. Γύρισε και ο Αντώνης από τον τοίχο κι έκλεισε τα μάτια του. Αυτή η κερα-Ρήνη! Τίποτα ωστόσο δεν της ξέφευγε! Μα θα της ξεφύγει αυτός τώρα που θα πάγει σχολείο! Αχ! σαν πάγει σχολείο... Θα είναι πια με αγόρια... όλο με αγόρια... θα παίζουν πάλι σκλαβάκια... θα πολεμούν όλη μέρα... θα σπάζουν κεφάλια... θα παλεύουν, θα τραβούν σπαθιές, τουφεκιές, κανονιές... θα... θα... Και τον πήρε ο ύπνος με χίλια όνειρα ηρωικά. EOT; - /* - *** START: FULL LICENSE *** - Creative Commons Legal Code - Attribution-ShareAlike 3.0 Unported + /* + *** START: FULL LICENSE *** + Creative Commons Legal Code + Attribution-ShareAlike 3.0 Unported - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR - DAMAGES RESULTING FROM ITS USE. License - THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS - CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS - PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE - WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS - PROHIBITED. - BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND - AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS - LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU - THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH - TERMS AND CONDITIONS. - 1. Definitions - "Adaptation" means a work based upon the Work, or upon the Work and - other pre-existing works, such as a translation, adaptation, - derivative work, arrangement of music or other alterations of a - literary or artistic work, or phonogram or performance and includes - cinematographic adaptations or any other form in which the Work may be - recast, transformed, or adapted including in any form recognizably - derived from the original, except that a work that constitutes a - Collection will not be considered an Adaptation for the purpose of - this License. For the avoidance of doubt, where the Work is a musical - work, performance or phonogram, the synchronization of the Work in - timed-relation with a moving image ("synching") will be considered an - Adaptation for the purpose of this License. "Collection" means a - collection of literary or artistic works, such as encyclopedias and - anthologies, or performances, phonograms or broadcasts, or other works - or subject matter other than works listed in Section 1(f) below, - which, by reason of the selection and arrangement of their contents, - constitute intellectual creations, in which the Work is included in - its entirety in unmodified form along with one or more other - contributions, each constituting separate and independent works in - themselves, which together are assembled into a collective whole. A - work that constitutes a Collection will not be considered an - Adaptation (as defined below) for the purposes of this License. - "Creative Commons Compatible License" means a license that is listed - at http://creativecommons.org/compatiblelicenses that has been - approved by Creative Commons as being essentially equivalent to this - License, including, at a minimum, because that license: (i) contains - terms that have the same purpose, meaning and effect as the License - Elements of this License; and, (ii) explicitly permits the relicensing - of adaptations of works made available under that license under this - License or a Creative Commons jurisdiction license with the same - License Elements as this License. "Distribute" means to make available - to the public the original and copies of the Work or Adaptation, as - appropriate, through sale or other transfer of ownership. "License - Elements" means the following high-level license attributes as - selected by Licensor and indicated in the title of this License: - Attribution, ShareAlike. "Licensor" means the individual, individuals, - entity or entities that offer(s) the Work under the terms of this - License. "Original Author" means, in the case of a literary or - artistic work, the individual, individuals, entity or entities who - created the Work or if no individual or entity can be identified, the - publisher; and in addition (i) in the case of a performance the - actors, singers, musicians, dancers, and other persons who act, sing, - deliver, declaim, play in, interpret or otherwise perform literary or - artistic works or expressions of folklore; (ii) in the case of a - phonogram the producer being the person or legal entity who first - fixes the sounds of a performance or other sounds; and, (iii) in the - case of broadcasts, the organization that transmits the broadcast. - "Work" means the literary and/or artistic work offered under the terms - of this License including without limitation any production in the - literary, scientific and artistic domain, whatever may be the mode or - form of its expression including digital form, such as a book, - pamphlet and other writing; a lecture, address, sermon or other work - of the same nature; a dramatic or dramatico-musical work; a - choreographic work or entertainment in dumb show; a musical - composition with or without words; a cinematographic work to which are - assimilated works expressed by a process analogous to cinematography; - a work of drawing, painting, architecture, sculpture, engraving or - lithography; a photographic work to which are assimilated works - expressed by a process analogous to photography; a work of applied - art; an illustration, map, plan, sketch or three-dimensional work - relative to geography, topography, architecture or science; a - performance; a broadcast; a phonogram; a compilation of data to the - extent it is protected as a copyrightable work; or a work performed by - a variety or circus performer to the extent it is not otherwise - considered a literary or artistic work. "You" means an individual or - entity exercising rights under this License who has not previously - violated the terms of this License with respect to the Work, or who - has received express permission from the Licensor to exercise rights - under this License despite a previous violation. "Publicly Perform" - means to perform public recitations of the Work and to communicate to - the public those public recitations, by any means or process, - including by wire or wireless means or public digital performances; to - make available to the public Works in such a way that members of the - public may access these Works from a place and at a place individually - chosen by them; to perform the Work to the public by any means or - process and the communication to the public of the performances of the - Work, including by public digital performance; to broadcast and - rebroadcast the Work by any means including signs, sounds or images. - "Reproduce" means to make copies of the Work by any means including - without limitation by sound or visual recordings and the right of - fixation and reproducing fixations of the Work, including storage of a - protected performance or phonogram in digital form or other electronic - medium. 2. Fair Dealing Rights. Nothing in this License is intended to - reduce, limit, or restrict any uses free from copyright or rights - arising from limitations or exceptions that are provided for in - connection with the copyright protection under copyright law or other - applicable laws. - 3. License Grant. Subject to the terms and conditions of this License, - Licensor hereby grants You a worldwide, royalty-free, non-exclusive, - perpetual (for the duration of the applicable copyright) license to - exercise the rights in the Work as stated below: - to Reproduce the Work, to incorporate the Work into one or more - Collections, and to Reproduce the Work as incorporated in the - Collections; to create and Reproduce Adaptations provided that any - such Adaptation, including any translation in any medium, takes - reasonable steps to clearly label, demarcate or otherwise identify - that changes were made to the original Work. For example, a - translation could be marked "The original work was translated from - English to Spanish," or a modification could indicate "The original - work has been modified."; to Distribute and Publicly Perform the Work - including as incorporated in Collections; and, to Distribute and - Publicly Perform Adaptations. For the avoidance of doubt: - Non-waivable Compulsory License Schemes. In those jurisdictions in - which the right to collect royalties through any statutory or - compulsory licensing scheme cannot be waived, the Licensor reserves - the exclusive right to collect such royalties for any exercise by You - of the rights granted under this License; Waivable Compulsory License - Schemes. In those jurisdictions in which the right to collect - royalties through any statutory or compulsory licensing scheme can be - waived, the Licensor waives the exclusive right to collect such - royalties for any exercise by You of the rights granted under this - License; and, Voluntary License Schemes. The Licensor waives the right - to collect royalties, whether individually or, in the event that the - Licensor is a member of a collecting society that administers - voluntary licensing schemes, via that society, from any exercise by - You of the rights granted under this License. The above rights may be - exercised in all media and formats whether now known or hereafter - devised. The above rights include the right to make such modifications - as are technically necessary to exercise the rights in other media and - formats. Subject to Section 8(f), all rights not expressly granted by - Licensor are hereby reserved. - 4. Restrictions. The license granted in Section 3 above is expressly - made subject to and limited by the following restrictions: - You may Distribute or Publicly Perform the Work only under the terms - of this License. You must include a copy of, or the Uniform Resource - Identifier (URI) for, this License with every copy of the Work You - Distribute or Publicly Perform. You may not offer or impose any terms - on the Work that restrict the terms of this License or the ability of - the recipient of the Work to exercise the rights granted to that - recipient under the terms of the License. You may not sublicense the - Work. You must keep intact all notices that refer to this License and - to the disclaimer of warranties with every copy of the Work You - Distribute or Publicly Perform. When You Distribute or Publicly - Perform the Work, You may not impose any effective technological - measures on the Work that restrict the ability of a recipient of the - Work from You to exercise the rights granted to that recipient under - the terms of the License. This Section 4(a) applies to the Work as - incorporated in a Collection, but this does not require the Collection - apart from the Work itself to be made subject to the terms of this - License. If You create a Collection, upon notice from any Licensor You - must, to the extent practicable, remove from the Collection any credit - as required by Section 4(c), as requested. If You create an - Adaptation, upon notice from any Licensor You must, to the extent - practicable, remove from the Adaptation any credit as required by - Section 4(c), as requested. You may Distribute or Publicly Perform an - Adaptation only under the terms of: (i) this License; (ii) a later - version of this License with the same License Elements as this - License; (iii) a Creative Commons jurisdiction license (either this or - a later license version) that contains the same License Elements as - this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative - Commons Compatible License. If you license the Adaptation under one of - the licenses mentioned in (iv), you must comply with the terms of that - license. If you license the Adaptation under the terms of any of the - licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), - you must comply with the terms of the Applicable License generally and - the following provisions: (I) You must include a copy of, or the URI - for, the Applicable License with every copy of each Adaptation You - Distribute or Publicly Perform; (II) You may not offer or impose any - terms on the Adaptation that restrict the terms of the Applicable - License or the ability of the recipient of the Adaptation to exercise - the rights granted to that recipient under the terms of the Applicable - License; (III) You must keep intact all notices that refer to the - Applicable License and to the disclaimer of warranties with every copy - of the Work as included in the Adaptation You Distribute or Publicly - Perform; (IV) when You Distribute or Publicly Perform the Adaptation, - You may not impose any effective technological measures on the - Adaptation that restrict the ability of a recipient of the Adaptation - from You to exercise the rights granted to that recipient under the - terms of the Applicable License. This Section 4(b) applies to the - Adaptation as incorporated in a Collection, but this does not require - the Collection apart from the Adaptation itself to be made subject to - the terms of the Applicable License. If You Distribute, or Publicly - Perform the Work or any Adaptations or Collections, You must, unless a - request has been made pursuant to Section 4(a), keep intact all - copyright notices for the Work and provide, reasonable to the medium - or means You are utilizing: (i) the name of the Original Author (or - pseudonym, if applicable) if supplied, and/or if the Original Author - and/or Licensor designate another party or parties (e.g., a sponsor - institute, publishing entity, journal) for attribution ("Attribution - Parties") in Licensor's copyright notice, terms of service or by other - reasonable means, the name of such party or parties; (ii) the title of - the Work if supplied; (iii) to the extent reasonably practicable, the - URI, if any, that Licensor specifies to be associated with the Work, - unless such URI does not refer to the copyright notice or licensing - information for the Work; and (iv) , consistent with Ssection 3(b), in - the case of an Adaptation, a credit identifying the use of the Work in - the Adaptation (e.g., "French translation of the Work by Original - Author," or "Screenplay based on original Work by Original Author"). - The credit required by this Section 4(c) may be implemented in any - reasonable manner; provided, however, that in the case of a Adaptation - or Collection, at a minimum such credit will appear, if a credit for - all contributing authors of the Adaptation or Collection appears, then - as part of these credits and in a manner at least as prominent as the - credits for the other contributing authors. For the avoidance of - doubt, You may only use the credit required by this Section for the - purpose of attribution in the manner set out above and, by exercising - Your rights under this License, You may not implicitly or explicitly - assert or imply any connection with, sponsorship or endorsement by the - Original Author, Licensor and/or Attribution Parties, as appropriate, - of You or Your use of the Work, without the separate, express prior - written permission of the Original Author, Licensor and/or Attribution - Parties. Except as otherwise agreed in writing by the Licensor or as - may be otherwise permitted by applicable law, if You Reproduce, - Distribute or Publicly Perform the Work either by itself or as part of - any Adaptations or Collections, You must not distort, mutilate, modify - or take other derogatory action in relation to the Work which would be - prejudicial to the Original Author's honor or reputation. Licensor - agrees that in those jurisdictions (e.g. Japan), in which any exercise - of the right granted in Section 3(b) of this License (the right to - make Adaptations) would be deemed to be a distortion, mutilation, - modification or other derogatory action prejudicial to the Original - Author's honor and reputation, the Licensor will waive or not assert, - as appropriate, this Section, to the fullest extent permitted by the - applicable national law, to enable You to reasonably exercise Your - right under Section 3(b) of this License (right to make Adaptations) - but not otherwise. 5. Representations, Warranties and Disclaimer - UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, - LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR - WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, - STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF - TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, - NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, - OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. - SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, - SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY - APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY - LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR - EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, - EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - 7. Termination - This License and the rights granted hereunder will terminate - automatically upon any breach by You of the terms of this License. - Individuals or entities who have received Adaptations or Collections - from You under this License, however, will not have their licenses - terminated provided such individuals or entities remain in full - compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will - survive any termination of this License. Subject to the above terms - and conditions, the license granted here is perpetual (for the - duration of the applicable copyright in the Work). Notwithstanding the - above, Licensor reserves the right to release the Work under different - license terms or to stop distributing the Work at any time; provided, - however that any such election will not serve to withdraw this License - (or any other license that has been, or is required to be, granted - under the terms of this License), and this License will continue in - full force and effect unless terminated as stated above. 8. - Miscellaneous - Each time You Distribute or Publicly Perform the Work or a Collection, - the Licensor offers to the recipient a license to the Work on the same - terms and conditions as the license granted to You under this License. - Each time You Distribute or Publicly Perform an Adaptation, Licensor - offers to the recipient a license to the original Work on the same - terms and conditions as the license granted to You under this License. - If any provision of this License is invalid or unenforceable under - applicable law, it shall not affect the validity or enforceability of - the remainder of the terms of this License, and without further action - by the parties to this agreement, such provision shall be reformed to - the minimum extent necessary to make such provision valid and - enforceable. No term or provision of this License shall be deemed - waived and no breach consented to unless such waiver or consent shall - be in writing and signed by the party to be charged with such waiver - or consent. This License constitutes the entire agreement between the - parties with respect to the Work licensed here. There are no - understandings, agreements or representations with respect to the Work - not specified here. Licensor shall not be bound by any additional - provisions that may appear in any communication from You. This License - may not be modified without the mutual written agreement of the - Licensor and You. The rights granted under, and the subject matter - referenced, in this License were drafted utilizing the terminology of - the Berne Convention for the Protection of Literary and Artistic Works - (as amended on September 28, 1979), the Rome Convention of 1961, the - WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms - Treaty of 1996 and the Universal Copyright Convention (as revised on - July 24, 1971). These rights and subject matter take effect in the - relevant jurisdiction in which the License terms are sought to be - enforced according to the corresponding provisions of the - implementation of those treaty provisions in the applicable national - law. If the standard suite of rights granted under applicable - copyright law includes additional rights not granted under this - License, such additional rights are deemed to be included in the - License; this License is not intended to restrict the license of any - rights under applicable law. Creative Commons Notice - Creative Commons is not a party to this License, and makes no warranty - whatsoever in connection with the Work. Creative Commons will not be - liable to You or any party on any legal theory for any damages - whatsoever, including without limitation any general, special, - incidental or consequential damages arising in connection to this - license. Notwithstanding the foregoing two (2) sentences, if Creative - Commons has expressly identified itself as the Licensor hereunder, it - shall have all rights and obligations of Licensor. - Except for the limited purpose of indicating to the public that the - Work is licensed under the CCPL, Creative Commons does not authorize - the use by either party of the trademark "Creative Commons" or any - related trademark or logo of Creative Commons without the prior - written consent of Creative Commons. Any permitted use will be in - compliance with Creative Commons' then-current trademark usage - guidelines, as may be published on its website or otherwise made - available upon request from time to time. For the avoidance of doubt, - this trademark restriction does not form part of the License. - Creative Commons may be contacted at http://creativecommons.org/. - */ + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. License + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + 1. Definitions + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. "Collection" means a + collection of literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, or other works + or subject matter other than works listed in Section 1(f) below, + which, by reason of the selection and arrangement of their contents, + constitute intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this License. + "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been + approved by Creative Commons as being essentially equivalent to this + License, including, at a minimum, because that license: (i) contains + terms that have the same purpose, meaning and effect as the License + Elements of this License; and, (ii) explicitly permits the relicensing + of adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same + License Elements as this License. "Distribute" means to make available + to the public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. "License + Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a performance the + actors, singers, musicians, dancers, and other persons who act, sing, + deliver, declaim, play in, interpret or otherwise perform literary or + artistic works or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, (iii) in the + case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. "You" means an individual or + entity exercising rights under this License who has not previously + violated the terms of this License with respect to the Work, or who + has received express permission from the Licensor to exercise rights + under this License despite a previous violation. "Publicly Perform" + means to perform public recitations of the Work and to communicate to + the public those public recitations, by any means or process, + including by wire or wireless means or public digital performances; to + make available to the public Works in such a way that members of the + public may access these Works from a place and at a place individually + chosen by them; to perform the Work to the public by any means or + process and the communication to the public of the performances of the + Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise identify + that changes were made to the original Work. For example, a + translation could be marked "The original work was translated from + English to Spanish," or a modification could indicate "The original + work has been modified."; to Distribute and Publicly Perform the Work + including as incorporated in Collections; and, to Distribute and + Publicly Perform Adaptations. For the avoidance of doubt: + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; Waivable Compulsory License + Schemes. In those jurisdictions in which the right to collect + royalties through any statutory or compulsory licensing scheme can be + waived, the Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted under this + License; and, Voluntary License Schemes. The Licensor waives the right + to collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise by + You of the rights granted under this License. The above rights may be + exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications + as are technically necessary to exercise the rights in other media and + formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(c), as requested. You may Distribute or Publicly Perform an + Adaptation only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as this + License; (iii) a Creative Commons jurisdiction license (either this or + a later license version) that contains the same License Elements as + this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative + Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that + license. If you license the Adaptation under the terms of any of the + licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. If You Distribute, or Publicly + Perform the Work or any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep intact all + copyright notices for the Work and provide, reasonable to the medium + or means You are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution + Parties") in Licensor's copyright notice, terms of service or by other + reasonable means, the name of such party or parties; (ii) the title of + the Work if supplied; (iii) to the extent reasonably practicable, the + URI, if any, that Licensor specifies to be associated with the Work, + unless such URI does not refer to the copyright notice or licensing + information for the Work; and (iv) , consistent with Ssection 3(b), in + the case of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of + doubt, You may only use the credit required by this Section for the + purpose of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement by the + Original Author, Licensor and/or Attribution Parties, as appropriate, + of You or Your use of the Work, without the separate, express prior + written permission of the Original Author, Licensor and/or Attribution + Parties. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as part of + any Adaptations or Collections, You must not distort, mutilate, modify + or take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. 5. Representations, Warranties and Disclaimer + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + 7. Termination + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms + and conditions, the license granted here is perpetual (for the + duration of the applicable copyright in the Work). Notwithstanding the + above, Licensor reserves the right to release the Work under different + license terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this License + (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in + full force and effect unless terminated as stated above. 8. + Miscellaneous + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such waiver + or consent. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to the Work + not specified here. Licensor shall not be bound by any additional + provisions that may appear in any communication from You. This License + may not be modified without the mutual written agreement of the + Licensor and You. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the terminology of + the Berne Convention for the Protection of Literary and Artistic Works + (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as revised on + July 24, 1971). These rights and subject matter take effect in the + relevant jurisdiction in which the License terms are sought to be + enforced according to the corresponding provisions of the + implementation of those treaty provisions in the applicable national + law. If the standard suite of rights granted under applicable + copyright law includes additional rights not granted under this + License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. Creative Commons Notice + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of the License. + Creative Commons may be contacted at http://creativecommons.org/. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_AU/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_AU/Address.php index dec2490..5cab9a0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_AU/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_AU/Address.php @@ -5,108 +5,341 @@ /** * @see http://www.ipaustralia.gov.au/about-us/corporate/address-standards/ */ -class Address extends \Faker\Provider\en_US\Address -{ - protected static $cityPrefix = ['North', 'East', 'West', 'South', 'New', 'Lake', 'Port', 'St.']; +class Address extends \Faker\Provider\en_US\Address { + protected static $cityPrefix = [ 'North', 'East', 'West', 'South', 'New', 'Lake', 'Port', 'St.' ]; - protected static $buildingNumber = ['%##', '%#', '%']; + protected static $buildingNumber = [ '%##', '%#', '%' ]; - protected static $buildingLetters = ['A', 'B', 'C', 'D']; + protected static $buildingLetters = [ 'A', 'B', 'C', 'D' ]; - protected static $streetSuffix = [ - 'Access', 'Alley', 'Alleyway', 'Amble', 'Anchorage', 'Approach', 'Arcade', 'Artery', 'Avenue', 'Basin', 'Beach', 'Bend', 'Block', 'Boulevard', 'Brace', 'Brae', 'Break', 'Bridge', 'Broadway', 'Brow', 'Bypass', 'Byway', 'Causeway', 'Centre', 'Centreway', 'Chase', 'Circle', 'Circlet', 'Circuit', 'Circus', 'Close', 'Colonnade', 'Common', 'Concourse', 'Copse', 'Corner', 'Corso', 'Court', 'Courtyard', 'Cove', 'Crescent', 'Crest', 'Cross', 'Crossing', 'Crossroad', 'Crossway', 'Cruiseway', 'Cul-de-sac', 'Cutting', 'Dale', 'Dell', 'Deviation', 'Dip', 'Distributor', 'Drive', 'Driveway', 'Edge', 'Elbow', 'End', 'Entrance', 'Esplanade', 'Estate', 'Expressway', 'Extension', 'Fairway', 'Fire Track', 'Firetrail', 'Flat', 'Follow', 'Footway', 'Foreshore', 'Formation', 'Freeway', 'Front', 'Frontage', 'Gap', 'Garden', 'Gardens', 'Gate', 'Gates', 'Glade', 'Glen', 'Grange', 'Green', 'Ground', 'Grove', 'Gully', 'Heights', 'Highroad', 'Highway', 'Hill', 'Interchange', 'Intersection', 'Junction', 'Key', 'Landing', 'Lane', 'Laneway', 'Lees', 'Line', 'Link', 'Little', 'Lookout', 'Loop', 'Lower', 'Mall', 'Meander', 'Mew', 'Mews', 'Motorway', 'Mount', 'Nook', 'Outlook', 'Parade', 'Park', 'Parklands', 'Parkway', 'Part', 'Pass', 'Path', 'Pathway', 'Piazza', 'Place', 'Plateau', 'Plaza', 'Pocket', 'Point', 'Port', 'Promenade', 'Quad', 'Quadrangle', 'Quadrant', 'Quay', 'Quays', 'Ramble', 'Ramp', 'Range', 'Reach', 'Reserve', 'Rest', 'Retreat', 'Ride', 'Ridge', 'Ridgeway', 'Right Of Way', 'Ring', 'Rise', 'River', 'Riverway', 'Riviera', 'Road', 'Roads', 'Roadside', 'Roadway', 'Ronde', 'Rosebowl', 'Rotary', 'Round', 'Route', 'Row', 'Rue', 'Run', 'Service Way', 'Siding', 'Slope', 'Sound', 'Spur', 'Square', 'Stairs', 'State Highway', 'Steps', 'Strand', 'Street', 'Strip', 'Subway', 'Tarn', 'Terrace', 'Thoroughfare', 'Tollway', 'Top', 'Tor', 'Towers', 'Track', 'Trail', 'Trailer', 'Triangle', 'Trunkway', 'Turn', 'Underpass', 'Upper', 'Vale', 'Viaduct', 'View', 'Villas', 'Vista', 'Wade', 'Walk', 'Walkway', 'Way', 'Wynd', - ]; + protected static $streetSuffix = [ + 'Access', + 'Alley', + 'Alleyway', + 'Amble', + 'Anchorage', + 'Approach', + 'Arcade', + 'Artery', + 'Avenue', + 'Basin', + 'Beach', + 'Bend', + 'Block', + 'Boulevard', + 'Brace', + 'Brae', + 'Break', + 'Bridge', + 'Broadway', + 'Brow', + 'Bypass', + 'Byway', + 'Causeway', + 'Centre', + 'Centreway', + 'Chase', + 'Circle', + 'Circlet', + 'Circuit', + 'Circus', + 'Close', + 'Colonnade', + 'Common', + 'Concourse', + 'Copse', + 'Corner', + 'Corso', + 'Court', + 'Courtyard', + 'Cove', + 'Crescent', + 'Crest', + 'Cross', + 'Crossing', + 'Crossroad', + 'Crossway', + 'Cruiseway', + 'Cul-de-sac', + 'Cutting', + 'Dale', + 'Dell', + 'Deviation', + 'Dip', + 'Distributor', + 'Drive', + 'Driveway', + 'Edge', + 'Elbow', + 'End', + 'Entrance', + 'Esplanade', + 'Estate', + 'Expressway', + 'Extension', + 'Fairway', + 'Fire Track', + 'Firetrail', + 'Flat', + 'Follow', + 'Footway', + 'Foreshore', + 'Formation', + 'Freeway', + 'Front', + 'Frontage', + 'Gap', + 'Garden', + 'Gardens', + 'Gate', + 'Gates', + 'Glade', + 'Glen', + 'Grange', + 'Green', + 'Ground', + 'Grove', + 'Gully', + 'Heights', + 'Highroad', + 'Highway', + 'Hill', + 'Interchange', + 'Intersection', + 'Junction', + 'Key', + 'Landing', + 'Lane', + 'Laneway', + 'Lees', + 'Line', + 'Link', + 'Little', + 'Lookout', + 'Loop', + 'Lower', + 'Mall', + 'Meander', + 'Mew', + 'Mews', + 'Motorway', + 'Mount', + 'Nook', + 'Outlook', + 'Parade', + 'Park', + 'Parklands', + 'Parkway', + 'Part', + 'Pass', + 'Path', + 'Pathway', + 'Piazza', + 'Place', + 'Plateau', + 'Plaza', + 'Pocket', + 'Point', + 'Port', + 'Promenade', + 'Quad', + 'Quadrangle', + 'Quadrant', + 'Quay', + 'Quays', + 'Ramble', + 'Ramp', + 'Range', + 'Reach', + 'Reserve', + 'Rest', + 'Retreat', + 'Ride', + 'Ridge', + 'Ridgeway', + 'Right Of Way', + 'Ring', + 'Rise', + 'River', + 'Riverway', + 'Riviera', + 'Road', + 'Roads', + 'Roadside', + 'Roadway', + 'Ronde', + 'Rosebowl', + 'Rotary', + 'Round', + 'Route', + 'Row', + 'Rue', + 'Run', + 'Service Way', + 'Siding', + 'Slope', + 'Sound', + 'Spur', + 'Square', + 'Stairs', + 'State Highway', + 'Steps', + 'Strand', + 'Street', + 'Strip', + 'Subway', + 'Tarn', + 'Terrace', + 'Thoroughfare', + 'Tollway', + 'Top', + 'Tor', + 'Towers', + 'Track', + 'Trail', + 'Trailer', + 'Triangle', + 'Trunkway', + 'Turn', + 'Underpass', + 'Upper', + 'Vale', + 'Viaduct', + 'View', + 'Villas', + 'Vista', + 'Wade', + 'Walk', + 'Walkway', + 'Way', + 'Wynd', + ]; - protected static $postcode = [ - // as per https://en.wikipedia.org/wiki/Postcodes_in_Australia - // NSW - '1###', - '20##', '21##', '22##', '23##', '24##', '25##', - '2619', '262#', '263#', '264#', '265#', '266#', '267#', '268#', '269#', '27##', '28##', - '292#', '293#', '294#', '295#', '296#', '297#', '298#', '299#', - // ACT - '02##', - '260#', '261#', - '290#', '291#', '2920', - // VIC - '3###', - '8###', - // QLD - '4###', - '9###', - // SA - '5###', - // WA - '6###', - // TAS - '7###', - // NT - '08##', - '09##', - ]; + protected static $postcode = [ + // as per https://en.wikipedia.org/wiki/Postcodes_in_Australia + // NSW + '1###', + '20##', + '21##', + '22##', + '23##', + '24##', + '25##', + '2619', + '262#', + '263#', + '264#', + '265#', + '266#', + '267#', + '268#', + '269#', + '27##', + '28##', + '292#', + '293#', + '294#', + '295#', + '296#', + '297#', + '298#', + '299#', + // ACT + '02##', + '260#', + '261#', + '290#', + '291#', + '2920', + // VIC + '3###', + '8###', + // QLD + '4###', + '9###', + // SA + '5###', + // WA + '6###', + // TAS + '7###', + // NT + '08##', + '09##', + ]; - protected static $state = [ - 'Australian Capital Territory', 'New South Wales', 'Northern Territory', 'Queensland', 'South Australia', 'Tasmania', 'Victoria', 'Western Australia', - ]; + protected static $state = [ + 'Australian Capital Territory', + 'New South Wales', + 'Northern Territory', + 'Queensland', + 'South Australia', + 'Tasmania', + 'Victoria', + 'Western Australia', + ]; - protected static $stateAbbr = [ - 'ACT', 'NSW', 'NT', 'QLD', 'SA', 'TAS', 'VIC', 'WA', - ]; + protected static $stateAbbr = [ + 'ACT', + 'NSW', + 'NT', + 'QLD', + 'SA', + 'TAS', + 'VIC', + 'WA', + ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}}{{buildingLetter}} {{streetName}}', - '{{secondaryAddress}} {{buildingNumber}} {{streetName}}', - ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}}{{buildingLetter}} {{streetName}}', + '{{secondaryAddress}} {{buildingNumber}} {{streetName}}', + ]; - protected static $secondaryAddressFormats = [ - 'Apt. ###', - 'Flat ##', - 'Suite ###', - 'Unit ##', - 'Level #', - '### /', - '## /', - '# /', - ]; + protected static $secondaryAddressFormats = [ + 'Apt. ###', + 'Flat ##', + 'Suite ###', + 'Unit ##', + 'Level #', + '### /', + '## /', + '# /', + ]; - /** - * Returns a sane building letter - * - * @example B - */ - public static function buildingLetter() - { - return static::toUpper(static::randomElement(static::$buildingLetters)); - } + /** + * Returns a sane building letter + * + * @example B + */ + public static function buildingLetter() { + return static::toUpper( static::randomElement( static::$buildingLetters ) ); + } - /** - * Returns a sane city prefix - * - * @example West - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * Returns a sane city prefix + * + * @example West + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * Returns a sane street suffix - * - * @example Beach - */ - public static function streetSuffix() - { - return static::randomElement(static::$streetSuffix); - } + /** + * Returns a sane street suffix + * + * @example Beach + */ + public static function streetSuffix() { + return static::randomElement( static::$streetSuffix ); + } - /** - * Returns a sane state - * - * @example New South Wales - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * Returns a sane state + * + * @example New South Wales + */ + public static function state() { + return static::randomElement( static::$state ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_AU/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_AU/Internet.php index e1185f1..67db5e6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_AU/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_AU/Internet.php @@ -2,8 +2,14 @@ namespace Faker\Provider\en_AU; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'gmail.com.au', 'yahoo.com.au', 'hotmail.com.au']; - protected static $tld = ['com', 'com.au', 'org', 'org.au', 'net', 'net.au', 'biz', 'info', 'edu', 'edu.au']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'gmail.com.au', + 'yahoo.com.au', + 'hotmail.com.au' + ]; + protected static $tld = [ 'com', 'com.au', 'org', 'org.au', 'net', 'net.au', 'biz', 'info', 'edu', 'edu.au' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_AU/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_AU/PhoneNumber.php index a696191..f3ed137 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_AU/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_AU/PhoneNumber.php @@ -2,55 +2,55 @@ namespace Faker\Provider\en_AU; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - // Local calls - '#### ####', - '####-####', - '####.####', - '########', - - // National dialing - '0{{areaCode}} #### ####', - '0{{areaCode}}-####-####', - '0{{areaCode}}.####.####', - '0{{areaCode}}########', - - // Optional parenthesis - '(0{{areaCode}}) #### ####', - '(0{{areaCode}})-####-####', - '(0{{areaCode}}).####.####', - '(0{{areaCode}})########', - - // International drops the 0 - '+61 {{areaCode}} #### ####', - '+61-{{areaCode}}-####-####', - '+61.{{areaCode}}.####.####', - '+61{{areaCode}}########', - ]; - - // 04 Mobile telephones (Australia-wide) mostly commonly written 4 - 3 - 3 instead of 2 - 4 - 4 - protected static $mobileFormats = [ - '04## ### ###', - '04##-###-###', - '04##.###.###', - '+61 4## ### ###', - '+61-4##-###-###', - '+61.4##.###.###', - ]; - - protected static $areacodes = [ - '2', '3', '7', '8', - ]; - - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } - - public static function areaCode() - { - return static::numerify(static::randomElement(static::$areacodes)); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + // Local calls + '#### ####', + '####-####', + '####.####', + '########', + + // National dialing + '0{{areaCode}} #### ####', + '0{{areaCode}}-####-####', + '0{{areaCode}}.####.####', + '0{{areaCode}}########', + + // Optional parenthesis + '(0{{areaCode}}) #### ####', + '(0{{areaCode}})-####-####', + '(0{{areaCode}}).####.####', + '(0{{areaCode}})########', + + // International drops the 0 + '+61 {{areaCode}} #### ####', + '+61-{{areaCode}}-####-####', + '+61.{{areaCode}}.####.####', + '+61{{areaCode}}########', + ]; + + // 04 Mobile telephones (Australia-wide) mostly commonly written 4 - 3 - 3 instead of 2 - 4 - 4 + protected static $mobileFormats = [ + '04## ### ###', + '04##-###-###', + '04##.###.###', + '+61 4## ### ###', + '+61-4##-###-###', + '+61.4##.###.###', + ]; + + protected static $areacodes = [ + '2', + '3', + '7', + '8', + ]; + + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } + + public static function areaCode() { + return static::numerify( static::randomElement( static::$areacodes ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_CA/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_CA/Address.php index 4e9aa50..a7ad7f4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_CA/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_CA/Address.php @@ -5,68 +5,98 @@ /** * Extend US class since most fields share the same format */ -class Address extends \Faker\Provider\en_US\Address -{ - protected static $postcode = ['?#? #?#', '?#?-#?#', '?#?#?#']; +class Address extends \Faker\Provider\en_US\Address { + protected static $postcode = [ '?#? #?#', '?#?-#?#', '?#?#?#' ]; - protected static $postcodeLetters = ['A', 'B', 'C', 'E', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'R', 'S', 'T', 'V', 'X', 'Y']; + protected static $postcodeLetters = [ + 'A', + 'B', + 'C', + 'E', + 'G', + 'H', + 'J', + 'K', + 'L', + 'M', + 'N', + 'P', + 'R', + 'S', + 'T', + 'V', + 'X', + 'Y' + ]; - protected static $province = [ - 'Alberta', - 'British Columbia', - 'Manitoba', - 'New Brunswick', 'Newfoundland and Labrador', 'Northwest Territories', 'Nova Scotia', 'Nunavut', - 'Ontario', - 'Prince Edward Island', - 'Quebec', - 'Saskatchewan', - 'Yukon Territory', - ]; + protected static $province = [ + 'Alberta', + 'British Columbia', + 'Manitoba', + 'New Brunswick', + 'Newfoundland and Labrador', + 'Northwest Territories', + 'Nova Scotia', + 'Nunavut', + 'Ontario', + 'Prince Edward Island', + 'Quebec', + 'Saskatchewan', + 'Yukon Territory', + ]; - protected static $provinceAbbr = [ - 'AB', 'BC', 'MB', 'NB', 'NL', 'NT', 'NS', 'NU', 'ON', 'PE', 'QC', 'SK', 'YT', - ]; + protected static $provinceAbbr = [ + 'AB', + 'BC', + 'MB', + 'NB', + 'NL', + 'NT', + 'NS', + 'NU', + 'ON', + 'PE', + 'QC', + 'SK', + 'YT', + ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{provinceAbbr}} {{postcode}}", - ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{provinceAbbr}} {{postcode}}", + ]; - /** - * @example 'Ontario' - */ - public static function province() - { - return static::randomElement(static::$province); - } + /** + * @example 'Ontario' + */ + public static function province() { + return static::randomElement( static::$province ); + } - /** - * @example 'ON' - */ - public static function provinceAbbr() - { - return static::randomElement(static::$provinceAbbr); - } + /** + * @example 'ON' + */ + public static function provinceAbbr() { + return static::randomElement( static::$provinceAbbr ); + } - /** - * Returns a postalcode-safe letter - * - * @example A1B 2C3 - */ - public static function randomPostcodeLetter() - { - return static::randomElement(static::$postcodeLetters); - } + /** + * Returns a postalcode-safe letter + * + * @example A1B 2C3 + */ + public static function randomPostcodeLetter() { + return static::randomElement( static::$postcodeLetters ); + } - /** - * @example A1B 2C3 - */ - public static function postcode() - { - $string = static::randomElement(static::$postcode); + /** + * @example A1B 2C3 + */ + public static function postcode() { + $string = static::randomElement( static::$postcode ); - $string = preg_replace_callback('/\#/u', [static::class, 'randomDigit'], $string); - $string = preg_replace_callback('/\?/u', [static::class, 'randomPostcodeLetter'], $string); + $string = preg_replace_callback( '/\#/u', [ static::class, 'randomDigit' ], $string ); + $string = preg_replace_callback( '/\?/u', [ static::class, 'randomPostcodeLetter' ], $string ); - return static::toUpper($string); - } + return static::toUpper( $string ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_CA/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_CA/PhoneNumber.php index 1da5187..ee49e5a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_CA/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_CA/PhoneNumber.php @@ -2,17 +2,16 @@ namespace Faker\Provider\en_CA; -class PhoneNumber extends \Faker\Provider\en_US\PhoneNumber -{ - protected static $formats = [ - '%##-###-####', - '%##.###.####', - '%## ### ####', - '(%##) ###-####', - '1-%##-###-####', - '1 (%##) ###-####', - '+1 (%##) ###-####', - '%##-###-#### x###', - '(%##) ###-#### x###', - ]; +class PhoneNumber extends \Faker\Provider\en_US\PhoneNumber { + protected static $formats = [ + '%##-###-####', + '%##.###.####', + '%## ### ####', + '(%##) ###-####', + '1-%##-###-####', + '1 (%##) ###-####', + '+1 (%##) ###-####', + '%##-###-#### x###', + '(%##) ###-#### x###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Address.php index d2a3b71..fffa41c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Address.php @@ -2,173 +2,1118 @@ namespace Faker\Provider\en_GB; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['North', 'East', 'West', 'South', 'New', 'Lake', 'Port']; - protected static $citySuffix = [ - 'berg', 'borough', 'burgh', 'bury', - 'chester', - 'fort', 'furt', - 'haven', - 'land', - 'mouth', 'mouth', - 'port', - 'shire', 'side', 'stad', - 'ton', 'town', - 'view', 'ville', - ]; - protected static $buildingNumber = ['%##', '%#', '%']; - protected static $streetSuffix = [ - 'Alley', 'Avenue', - 'Branch', 'Bridge', 'Brook', 'Brooks', 'Burg', 'Burgs', 'Bypass', - 'Camp', 'Canyon', 'Cape', 'Causeway', 'Center', 'Centers', 'Circle', 'Circles', 'Cliff', 'Cliffs', 'Club', 'Common', 'Corner', 'Corners', 'Course', 'Court', 'Courts', 'Cove', 'Coves', 'Creek', 'Crescent', 'Crest', 'Crossing', 'Crossroad', 'Curve', - 'Dale', 'Dam', 'Divide', 'Drive', 'Drive', 'Drives', - 'Estate', 'Estates', 'Expressway', 'Extension', 'Extensions', - 'Fall', 'Falls', 'Ferry', 'Field', 'Fields', 'Flat', 'Flats', 'Ford', 'Fords', 'Forest', 'Forge', 'Forges', 'Fork', 'Forks', 'Fort', - 'Garden', 'Gardens', 'Gateway', 'Glen', 'Glens', 'Green', 'Greens', 'Grove', 'Groves', - 'Harbour', 'Harbours', 'Haven', 'Heights', 'Highway', 'Hill', 'Hills', 'Hollow', - 'Inlet', 'Island', 'Islands', 'Isle', - 'Junction', 'Junctions', - 'Key', 'Keys', 'Knoll', 'Knolls', - 'Lake', 'Lakes', 'Land', 'Landing', 'Lane', 'Light', 'Lights', 'Loaf', 'Lock', 'Locks', 'Locks', 'Lodge', 'Lodge', 'Loop', - 'Manor', 'Manors', 'Meadow', 'Meadows', 'Mews', 'Mill', 'Mills', 'Motorway', 'Mount', 'Mountain', 'Mountains', - 'Neck', - 'Orchard', 'Oval', 'Overpass', - 'Park', 'Parks', 'Parkway', 'Parkways', 'Pass', 'Passage', 'Path', 'Pike', 'Pine', 'Pines', 'Place', 'Plain', 'Plains', 'Plaza', 'Point', 'Points', 'Port', 'Ports', - 'Radial', 'Ramp', 'Ranch', 'Rapid', 'Rapids', 'Rest', 'Ridge', 'Ridges', 'River', 'Road', 'Road', 'Roads', 'Roads', 'Route', 'Row', 'Rue', 'Run', - 'Shoal', 'Shoals', 'Shore', 'Shores', 'Spring', 'Springs', 'Springs', 'Spur', 'Spurs', 'Square', 'Square', 'Squares', 'Squares', 'Station', 'Station', 'Stream', 'Stream', 'Street', 'Streets', 'Summit', - 'Terrace', 'Throughway', 'Trace', 'Track', 'Trafficway', 'Trail', 'Tunnel', 'Turnpike', - 'Underpass', 'Union', 'Unions', - 'Valley', 'Valleys', 'Via', 'Viaduct', 'View', 'Views', 'Village', 'Villages', 'Ville', 'Vista', 'Vista', - 'Walk', 'Walks', 'Wall', 'Way', 'Ways', 'Well', 'Wells', - ]; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'North', 'East', 'West', 'South', 'New', 'Lake', 'Port' ]; + protected static $citySuffix = [ + 'berg', + 'borough', + 'burgh', + 'bury', + 'chester', + 'fort', + 'furt', + 'haven', + 'land', + 'mouth', + 'mouth', + 'port', + 'shire', + 'side', + 'stad', + 'ton', + 'town', + 'view', + 'ville', + ]; + protected static $buildingNumber = [ '%##', '%#', '%' ]; + protected static $streetSuffix = [ + 'Alley', + 'Avenue', + 'Branch', + 'Bridge', + 'Brook', + 'Brooks', + 'Burg', + 'Burgs', + 'Bypass', + 'Camp', + 'Canyon', + 'Cape', + 'Causeway', + 'Center', + 'Centers', + 'Circle', + 'Circles', + 'Cliff', + 'Cliffs', + 'Club', + 'Common', + 'Corner', + 'Corners', + 'Course', + 'Court', + 'Courts', + 'Cove', + 'Coves', + 'Creek', + 'Crescent', + 'Crest', + 'Crossing', + 'Crossroad', + 'Curve', + 'Dale', + 'Dam', + 'Divide', + 'Drive', + 'Drive', + 'Drives', + 'Estate', + 'Estates', + 'Expressway', + 'Extension', + 'Extensions', + 'Fall', + 'Falls', + 'Ferry', + 'Field', + 'Fields', + 'Flat', + 'Flats', + 'Ford', + 'Fords', + 'Forest', + 'Forge', + 'Forges', + 'Fork', + 'Forks', + 'Fort', + 'Garden', + 'Gardens', + 'Gateway', + 'Glen', + 'Glens', + 'Green', + 'Greens', + 'Grove', + 'Groves', + 'Harbour', + 'Harbours', + 'Haven', + 'Heights', + 'Highway', + 'Hill', + 'Hills', + 'Hollow', + 'Inlet', + 'Island', + 'Islands', + 'Isle', + 'Junction', + 'Junctions', + 'Key', + 'Keys', + 'Knoll', + 'Knolls', + 'Lake', + 'Lakes', + 'Land', + 'Landing', + 'Lane', + 'Light', + 'Lights', + 'Loaf', + 'Lock', + 'Locks', + 'Locks', + 'Lodge', + 'Lodge', + 'Loop', + 'Manor', + 'Manors', + 'Meadow', + 'Meadows', + 'Mews', + 'Mill', + 'Mills', + 'Motorway', + 'Mount', + 'Mountain', + 'Mountains', + 'Neck', + 'Orchard', + 'Oval', + 'Overpass', + 'Park', + 'Parks', + 'Parkway', + 'Parkways', + 'Pass', + 'Passage', + 'Path', + 'Pike', + 'Pine', + 'Pines', + 'Place', + 'Plain', + 'Plains', + 'Plaza', + 'Point', + 'Points', + 'Port', + 'Ports', + 'Radial', + 'Ramp', + 'Ranch', + 'Rapid', + 'Rapids', + 'Rest', + 'Ridge', + 'Ridges', + 'River', + 'Road', + 'Road', + 'Roads', + 'Roads', + 'Route', + 'Row', + 'Rue', + 'Run', + 'Shoal', + 'Shoals', + 'Shore', + 'Shores', + 'Spring', + 'Springs', + 'Springs', + 'Spur', + 'Spurs', + 'Square', + 'Square', + 'Squares', + 'Squares', + 'Station', + 'Station', + 'Stream', + 'Stream', + 'Street', + 'Streets', + 'Summit', + 'Terrace', + 'Throughway', + 'Trace', + 'Track', + 'Trafficway', + 'Trail', + 'Tunnel', + 'Turnpike', + 'Underpass', + 'Union', + 'Unions', + 'Valley', + 'Valleys', + 'Via', + 'Viaduct', + 'View', + 'Views', + 'Village', + 'Villages', + 'Ville', + 'Vista', + 'Vista', + 'Walk', + 'Walks', + 'Wall', + 'Way', + 'Ways', + 'Well', + 'Wells', + ]; - protected static $postcode = [ - 'DD8 1LR', 'HU7 4FE', 'SG6 1PR', 'DN40 3PT', 'PO21 3JR', 'BN13 3DN', 'B23 5RS', 'W5 5PA', 'ML12 6XR', 'WR2 4HQ', 'TR16 6EU', 'TF4 2NU', - 'HU8 8SH', 'TS24 7QA', 'SE11 5SD', 'WV99 1TL', 'TR16 5TN', 'NP16 6QT', 'BT60 3QU', 'TA24 6LB', 'TS23 1AD', 'W1G 9PN', 'WA1 4PJ', 'CM22 6DR', - 'BL7 8BW', 'FK2 8DB', 'LL65 4LN', 'LL21 0RG', 'SP6 1NH', 'EN1 4AE', 'WR5 1DG', 'NW6 9FA', 'NG18 3AZ', 'N14 5HW', 'CO9 3JZ', 'CW12 1BP', - 'BT41 2RX', 'CT6 9AR', 'ST10 4JQ', 'HD9 7ED', 'SW6 1LG', 'KY10 3RL', 'LA8 9RA', 'RH20 2LH', 'WF9 2JY', 'N11 1RH', 'BT78 2JU', 'ME6 5PD', - 'CB22 7PT', 'BS4 2BH', 'NR10 3QE', 'ST3 5SH', 'WA5 1QF', 'B17 0LW', 'WA7 1EN', 'SP3 6WD', 'LL48 6SE', 'MK3 7SA', 'CV34 4DF', 'CW1 5PG', - 'BN41 1PT', 'TS22 5AN', 'ST3 2HB', 'L25 8SJ', 'ST14 5JJ', 'L36 3RN', 'S2 3BQ', 'HR7 4AT', 'PH6 2HW', 'RH10 7RT', 'RM12 5EJ', 'IV2 5EG', - 'RH19 9GG', 'BD4 7HP', 'GL3 4TA', 'BS23 3YE', 'SN2 7TE', 'CB2 3EN', 'B27 6SF', 'AB53 4RJ', 'W4 3JU', 'SK14 1SB', 'PO14 4NH', 'CB9 9EE', - 'WF1 5HR', 'LL55 4TE', 'BH12 2EN', 'LE2 9HY', 'EX32 2BA', 'BS31 3HT', 'PE25 1AA', 'G61 3HA', 'EX12 2WH', 'OX4 1GF', 'DY2 9EU', 'CO1 1QR', - 'CH45 6UP', 'ME14 4NL', 'SE1P 5NT', 'LE3 9LB', 'BT66 7RR', 'BT5 5ED', 'NG17 1BH', 'GU1 2SB', 'SW15 4AF', 'AL5 1SZ', 'B63 4JQ', 'OL12 6RA', - 'RH12 1AS', 'TN6 2QU', 'CO12 3SQ', 'E1 4QJ', 'TW5 0XT', 'ST10 1JW', 'BL9 8LE', 'CH1 4EZ', 'SA71 5BP', 'HR9 9AJ', 'SA6 6DH', 'ML9 3BS', - 'TW12 2RA', 'EH26 0LE', 'E12 5QJ', 'M46 9XG', 'CO6 3EG', 'ST16 3AP', 'WN6 8BX', 'WR14 2YU', 'DG11 3JQ', 'TN14 5GD', 'TW15 3EQ', 'SW8 4TE', - 'DE55 5SF', 'DT6 9BF', 'TN31 7BY', 'SA19 9BR', 'HD9 4DH', 'IP21 4TN', 'CT14 7EW', 'DE65 5JX', 'B10 9JS', 'AL1 1SZ', 'CF39 0LH', 'SW20 8JY', - 'HP1 9HT', 'M44 6ZR', 'SW19 1BB', 'HP13 7TG', 'IP16 4UL', 'SE1 7DB', 'BN12 6HW', 'WF10 2AL', 'AL3 8RN', 'RG14 2EL', 'ME8 6QQ', 'W14 8AZ', - 'BT49 0NJ', 'WS11 1ZY', 'CR5 2DP', 'LS17 8LP', 'DL15 8GH', 'W1G 9PZ', 'CA6 5YS', 'WN2 3RS', 'L39 3LJ', 'BT47 2QQ', 'CT13 0PW', 'BL8 2ND', - 'RM9 4UT', 'GU7 9SD', 'WN3 6DQ', 'AB22 8ZW', 'LE11 9DA', 'EX16 6BS', 'DE65 6JG', 'GL55 6HT', 'BS24 7AH', 'LS26 8UF', 'PO6 4FH', 'CT5 3HQ', - 'CW11 5SY', 'MK16 0FL', 'RG19 8JZ', 'SP1 1NE', 'SG18 0HL', 'HA7 1HB', 'TW4 7JP', 'BT15 3FB', 'LN5 9WR', 'SK2 5XT', 'NP18 3TF', 'NE33 5SQ', - 'L40 4LA', 'LU7 4SW', 'WV99 1RG', 'EC3P 3AY', 'CW5 6DY', 'CR2 8EN', 'PO11 0JY', 'IP33 9GD', 'WA3 3UR', 'WD3 3LY', 'CT6 7HL', 'TN15 8JE', - 'L35 5JA', 'CF23 0EL', 'TR13 0DP', 'GL14 2NW', 'W1D 4PR', 'SY5 0AR', 'NP4 8LA', 'CH45 7RH', 'S35 4FX', 'PL20 6JB', 'NW1 6AB', 'AB41 7HB', - 'S72 7HG', 'RG27 8PG', 'TA1 3TF', 'FK3 8EP', 'MK43 7LX', 'BT79 7AQ', 'L9 9BL', 'PE28 5US', 'PO4 8NU', 'WF4 3QZ', 'SE23 3RG', 'NN5 7AR', - 'L15 6UE', 'CA4 9QG', 'RH9 8DR', 'AB11 5QE', 'L2 2TX', 'NE20 0RB', 'TF3 2BG', 'NW2 2SH', 'IG10 3JT', 'HR9 7GB', 'N10 3DS', - 'PA3 4NH', 'W8 7EY', 'HP19 9BW', 'KA1 3TU', 'SE26 6JG', 'SL3 9LU', 'L38 9EB', 'M15 6QL', 'BN6 8DA', 'PE27 5PP', 'LS16 8EE', - 'CM0 7HA', 'SY11 4LB', 'IG1 3TR', 'NE63 8EL', 'CR5 3DN', 'NW4 4XL', 'BL9 6QT', 'KT24 6NU', 'EH37 5TF', 'SO16 9RJ', 'PL28 8QJ', - 'E9 5LR', 'BR6 9XJ', 'M25 3BY', 'M20 1BT', 'SE18 7QX', 'DD1 2NF', 'NR31 8NS', 'BH31 6AF', 'TN23 5PR', 'TN12 9PU', 'HR8 2JJ', 'KT6 5DX', - 'HX3 0NS', 'SN7 8NR', 'SY7 8AQ', 'CV8 1LS', 'NR34 9ET', 'BD23 3EU', 'YO11 3JN', 'BH11 9NE', 'CM3 3AE', 'KA3 7PR', 'DE15 9DU', 'PR8 9LB', - 'GL53 7EN', 'OX15 4HW', 'TS19 9ES', 'G65 9BG', 'SE15 6FE', 'B37 7RA', 'BT51 3NQ', 'YO32 9SX', 'M50 3TU', 'LL14 5NR', 'PO35 5XS', 'W5 9TG', - 'BD24 0LF', 'KT22 7UE', 'GL1 2SZ', 'HP5 2ED', 'TN11 8HT', 'LA12 0HX', 'N5 1WP', 'TS10 3NS', 'B98 7JU', 'SY23 4LA', 'PR7 5PY', 'YO7 1SP', - 'HR9 7XU', 'ST3 1EQ', 'AL9 5DL', 'DT11 0JD', 'KT17 1DJ', 'HP6 5AY', 'NR8 5BD', 'PO37 6NN', 'YO31 8WU', 'CF48 2SR', 'BD23 1UY', 'HU12 8HG', - 'ML3 8PH', 'CO5 9BJ', 'BD9 4EF', 'G71 7PA', 'TF1 1HU', 'G74 3LB', 'CM16 6TT', 'BS8 4UR', 'B92 8HS', 'EH4 5LQ', 'GU1 2PB', 'FK8 1LD', 'S70 4DN', - 'BT93 6AB', 'RM15 4AP', 'HU14 3EB', 'CH63 4JT', 'M34 2JG', 'LU3 1HQ', 'TD1 2BX', 'PE23 4LZ', 'S66 8JW', 'RG8 0UN', 'YO31 0UQ', 'OX11 8JJ', - 'TS18 1NS', 'ME19 6QD', 'PL15 8US', 'SG5 3JJ', 'TN34 9GL', 'LL18 3RP', 'SK13 1LP', 'KA7 1TH', 'NG8 4EN', 'B68 8PE', 'EX14 1QF', 'RG14 2NL', - 'NG9 3FL', 'KA13 7NR', 'PR8 4RH', 'BB4 5TZ', 'SA5 4EA', 'TD8 6PQ', 'B44 8SR', 'GU16 6EL', 'AB31 5ZD', 'TA4 2EY', 'WR2 4RX', 'TF4 2JW', - 'RM14 3PA', 'DD3 8ES', 'CA28 6HA', 'IP22 1JW', 'S70 5RT', 'RM16 3EW', 'G77 6DL', 'TR15 1PH', 'DN2 5AU', 'ML11 9BQ', 'PE16 6RY', 'SW6 2WG', - 'PL7 4AJ', 'MK17 9QX', 'SL7 3PB', 'BL6 6YT', 'NG24 2PB', 'RG30 4AJ', 'DT7 3SY', 'YO21 1HX', 'BH8 8BP', 'DE11 0SD', 'S81 0HT', 'WD6 5QD', - 'BT25 2HD', 'CW5 6QF', 'S6 1WR', 'RM20 1WN', 'CF62 3HX', 'CB2 8HH', 'NE10 8JX', 'SL4 1YB', 'WV5 9BS', 'G83 0SH', 'M45 8AF', 'WR1 2HZ', - 'LU2 7LJ', 'SK6 7QN', 'TR10 8QN', 'HA3 7SF', 'LL12 9NR', 'G69 7EA', 'L25 2NW', 'PL2 2DD', 'DN15 9AU', 'HA1 2AG', 'LS2 9ND', 'HD9 6PH', - 'DH3 2NB', 'OL12 7TX', 'NG5 1HT', 'S64 0BU', 'EX20 1ER', 'RG40 4RX', 'B47 5EE', 'NE29 7BG', 'SM3 9QR', 'NG17 4JY', 'CF23 7EW', 'GU10 4HE', - 'NP44 4PE', 'MK9 2AD', 'S49 1YZ', 'PO8 0LJ', 'BD18 4LP', 'SW2 3DJ', 'SP4 6JS', 'OL16 3NA', 'IP7 5SS', 'PO17 5HZ', 'RH15 9TE', 'ME15 0JU', - 'LS25 2AY', 'BT46 5NR', 'YO19 6BL', 'M28 7XP', 'W6 7PR', 'NE29 0AT', 'TR19 6DX', 'LE3 0BF', 'BS6 9HE', 'SA18 1HW', 'DD8 4EX', 'BT35 7PB', - 'PE29 2HJ', 'LS1 9QA', 'BN14 7AR', 'BS5 8PJ', 'OX3 7PJ', 'W6 7AN', 'S60 2PT', 'G12 9BH', 'IP5 1LR', 'B26 3SX', 'PE21 8PT', 'RM14 2LD', - 'PL9 9NN', 'NG20 0JZ', 'W1K 7AF', 'AB31 4DX', 'PL1 4EH', 'IP19 0NS', 'LS28 9NF', 'CH64 3TH', 'G13 1XN', 'NG5 1JR', 'W10 6DY', 'BS27 3XD', - 'ST21 6SR', 'PL4 9RB', 'BA15 2QE', 'TR20 9RG', 'NG34 9HJ', 'BD22 9DN', 'LE4 4JR', 'KA9 2RN', 'W1G 6JQ', 'B14 5TF', 'SA16 0HY', 'N8 7AU', - 'LE17 5PD', 'PE25 2RA', 'SE19 2BG', 'OX12 8PJ', 'DY5 3EH', 'NG19 7QJ', 'G43 1HQ', - ]; + protected static $postcode = [ + 'DD8 1LR', + 'HU7 4FE', + 'SG6 1PR', + 'DN40 3PT', + 'PO21 3JR', + 'BN13 3DN', + 'B23 5RS', + 'W5 5PA', + 'ML12 6XR', + 'WR2 4HQ', + 'TR16 6EU', + 'TF4 2NU', + 'HU8 8SH', + 'TS24 7QA', + 'SE11 5SD', + 'WV99 1TL', + 'TR16 5TN', + 'NP16 6QT', + 'BT60 3QU', + 'TA24 6LB', + 'TS23 1AD', + 'W1G 9PN', + 'WA1 4PJ', + 'CM22 6DR', + 'BL7 8BW', + 'FK2 8DB', + 'LL65 4LN', + 'LL21 0RG', + 'SP6 1NH', + 'EN1 4AE', + 'WR5 1DG', + 'NW6 9FA', + 'NG18 3AZ', + 'N14 5HW', + 'CO9 3JZ', + 'CW12 1BP', + 'BT41 2RX', + 'CT6 9AR', + 'ST10 4JQ', + 'HD9 7ED', + 'SW6 1LG', + 'KY10 3RL', + 'LA8 9RA', + 'RH20 2LH', + 'WF9 2JY', + 'N11 1RH', + 'BT78 2JU', + 'ME6 5PD', + 'CB22 7PT', + 'BS4 2BH', + 'NR10 3QE', + 'ST3 5SH', + 'WA5 1QF', + 'B17 0LW', + 'WA7 1EN', + 'SP3 6WD', + 'LL48 6SE', + 'MK3 7SA', + 'CV34 4DF', + 'CW1 5PG', + 'BN41 1PT', + 'TS22 5AN', + 'ST3 2HB', + 'L25 8SJ', + 'ST14 5JJ', + 'L36 3RN', + 'S2 3BQ', + 'HR7 4AT', + 'PH6 2HW', + 'RH10 7RT', + 'RM12 5EJ', + 'IV2 5EG', + 'RH19 9GG', + 'BD4 7HP', + 'GL3 4TA', + 'BS23 3YE', + 'SN2 7TE', + 'CB2 3EN', + 'B27 6SF', + 'AB53 4RJ', + 'W4 3JU', + 'SK14 1SB', + 'PO14 4NH', + 'CB9 9EE', + 'WF1 5HR', + 'LL55 4TE', + 'BH12 2EN', + 'LE2 9HY', + 'EX32 2BA', + 'BS31 3HT', + 'PE25 1AA', + 'G61 3HA', + 'EX12 2WH', + 'OX4 1GF', + 'DY2 9EU', + 'CO1 1QR', + 'CH45 6UP', + 'ME14 4NL', + 'SE1P 5NT', + 'LE3 9LB', + 'BT66 7RR', + 'BT5 5ED', + 'NG17 1BH', + 'GU1 2SB', + 'SW15 4AF', + 'AL5 1SZ', + 'B63 4JQ', + 'OL12 6RA', + 'RH12 1AS', + 'TN6 2QU', + 'CO12 3SQ', + 'E1 4QJ', + 'TW5 0XT', + 'ST10 1JW', + 'BL9 8LE', + 'CH1 4EZ', + 'SA71 5BP', + 'HR9 9AJ', + 'SA6 6DH', + 'ML9 3BS', + 'TW12 2RA', + 'EH26 0LE', + 'E12 5QJ', + 'M46 9XG', + 'CO6 3EG', + 'ST16 3AP', + 'WN6 8BX', + 'WR14 2YU', + 'DG11 3JQ', + 'TN14 5GD', + 'TW15 3EQ', + 'SW8 4TE', + 'DE55 5SF', + 'DT6 9BF', + 'TN31 7BY', + 'SA19 9BR', + 'HD9 4DH', + 'IP21 4TN', + 'CT14 7EW', + 'DE65 5JX', + 'B10 9JS', + 'AL1 1SZ', + 'CF39 0LH', + 'SW20 8JY', + 'HP1 9HT', + 'M44 6ZR', + 'SW19 1BB', + 'HP13 7TG', + 'IP16 4UL', + 'SE1 7DB', + 'BN12 6HW', + 'WF10 2AL', + 'AL3 8RN', + 'RG14 2EL', + 'ME8 6QQ', + 'W14 8AZ', + 'BT49 0NJ', + 'WS11 1ZY', + 'CR5 2DP', + 'LS17 8LP', + 'DL15 8GH', + 'W1G 9PZ', + 'CA6 5YS', + 'WN2 3RS', + 'L39 3LJ', + 'BT47 2QQ', + 'CT13 0PW', + 'BL8 2ND', + 'RM9 4UT', + 'GU7 9SD', + 'WN3 6DQ', + 'AB22 8ZW', + 'LE11 9DA', + 'EX16 6BS', + 'DE65 6JG', + 'GL55 6HT', + 'BS24 7AH', + 'LS26 8UF', + 'PO6 4FH', + 'CT5 3HQ', + 'CW11 5SY', + 'MK16 0FL', + 'RG19 8JZ', + 'SP1 1NE', + 'SG18 0HL', + 'HA7 1HB', + 'TW4 7JP', + 'BT15 3FB', + 'LN5 9WR', + 'SK2 5XT', + 'NP18 3TF', + 'NE33 5SQ', + 'L40 4LA', + 'LU7 4SW', + 'WV99 1RG', + 'EC3P 3AY', + 'CW5 6DY', + 'CR2 8EN', + 'PO11 0JY', + 'IP33 9GD', + 'WA3 3UR', + 'WD3 3LY', + 'CT6 7HL', + 'TN15 8JE', + 'L35 5JA', + 'CF23 0EL', + 'TR13 0DP', + 'GL14 2NW', + 'W1D 4PR', + 'SY5 0AR', + 'NP4 8LA', + 'CH45 7RH', + 'S35 4FX', + 'PL20 6JB', + 'NW1 6AB', + 'AB41 7HB', + 'S72 7HG', + 'RG27 8PG', + 'TA1 3TF', + 'FK3 8EP', + 'MK43 7LX', + 'BT79 7AQ', + 'L9 9BL', + 'PE28 5US', + 'PO4 8NU', + 'WF4 3QZ', + 'SE23 3RG', + 'NN5 7AR', + 'L15 6UE', + 'CA4 9QG', + 'RH9 8DR', + 'AB11 5QE', + 'L2 2TX', + 'NE20 0RB', + 'TF3 2BG', + 'NW2 2SH', + 'IG10 3JT', + 'HR9 7GB', + 'N10 3DS', + 'PA3 4NH', + 'W8 7EY', + 'HP19 9BW', + 'KA1 3TU', + 'SE26 6JG', + 'SL3 9LU', + 'L38 9EB', + 'M15 6QL', + 'BN6 8DA', + 'PE27 5PP', + 'LS16 8EE', + 'CM0 7HA', + 'SY11 4LB', + 'IG1 3TR', + 'NE63 8EL', + 'CR5 3DN', + 'NW4 4XL', + 'BL9 6QT', + 'KT24 6NU', + 'EH37 5TF', + 'SO16 9RJ', + 'PL28 8QJ', + 'E9 5LR', + 'BR6 9XJ', + 'M25 3BY', + 'M20 1BT', + 'SE18 7QX', + 'DD1 2NF', + 'NR31 8NS', + 'BH31 6AF', + 'TN23 5PR', + 'TN12 9PU', + 'HR8 2JJ', + 'KT6 5DX', + 'HX3 0NS', + 'SN7 8NR', + 'SY7 8AQ', + 'CV8 1LS', + 'NR34 9ET', + 'BD23 3EU', + 'YO11 3JN', + 'BH11 9NE', + 'CM3 3AE', + 'KA3 7PR', + 'DE15 9DU', + 'PR8 9LB', + 'GL53 7EN', + 'OX15 4HW', + 'TS19 9ES', + 'G65 9BG', + 'SE15 6FE', + 'B37 7RA', + 'BT51 3NQ', + 'YO32 9SX', + 'M50 3TU', + 'LL14 5NR', + 'PO35 5XS', + 'W5 9TG', + 'BD24 0LF', + 'KT22 7UE', + 'GL1 2SZ', + 'HP5 2ED', + 'TN11 8HT', + 'LA12 0HX', + 'N5 1WP', + 'TS10 3NS', + 'B98 7JU', + 'SY23 4LA', + 'PR7 5PY', + 'YO7 1SP', + 'HR9 7XU', + 'ST3 1EQ', + 'AL9 5DL', + 'DT11 0JD', + 'KT17 1DJ', + 'HP6 5AY', + 'NR8 5BD', + 'PO37 6NN', + 'YO31 8WU', + 'CF48 2SR', + 'BD23 1UY', + 'HU12 8HG', + 'ML3 8PH', + 'CO5 9BJ', + 'BD9 4EF', + 'G71 7PA', + 'TF1 1HU', + 'G74 3LB', + 'CM16 6TT', + 'BS8 4UR', + 'B92 8HS', + 'EH4 5LQ', + 'GU1 2PB', + 'FK8 1LD', + 'S70 4DN', + 'BT93 6AB', + 'RM15 4AP', + 'HU14 3EB', + 'CH63 4JT', + 'M34 2JG', + 'LU3 1HQ', + 'TD1 2BX', + 'PE23 4LZ', + 'S66 8JW', + 'RG8 0UN', + 'YO31 0UQ', + 'OX11 8JJ', + 'TS18 1NS', + 'ME19 6QD', + 'PL15 8US', + 'SG5 3JJ', + 'TN34 9GL', + 'LL18 3RP', + 'SK13 1LP', + 'KA7 1TH', + 'NG8 4EN', + 'B68 8PE', + 'EX14 1QF', + 'RG14 2NL', + 'NG9 3FL', + 'KA13 7NR', + 'PR8 4RH', + 'BB4 5TZ', + 'SA5 4EA', + 'TD8 6PQ', + 'B44 8SR', + 'GU16 6EL', + 'AB31 5ZD', + 'TA4 2EY', + 'WR2 4RX', + 'TF4 2JW', + 'RM14 3PA', + 'DD3 8ES', + 'CA28 6HA', + 'IP22 1JW', + 'S70 5RT', + 'RM16 3EW', + 'G77 6DL', + 'TR15 1PH', + 'DN2 5AU', + 'ML11 9BQ', + 'PE16 6RY', + 'SW6 2WG', + 'PL7 4AJ', + 'MK17 9QX', + 'SL7 3PB', + 'BL6 6YT', + 'NG24 2PB', + 'RG30 4AJ', + 'DT7 3SY', + 'YO21 1HX', + 'BH8 8BP', + 'DE11 0SD', + 'S81 0HT', + 'WD6 5QD', + 'BT25 2HD', + 'CW5 6QF', + 'S6 1WR', + 'RM20 1WN', + 'CF62 3HX', + 'CB2 8HH', + 'NE10 8JX', + 'SL4 1YB', + 'WV5 9BS', + 'G83 0SH', + 'M45 8AF', + 'WR1 2HZ', + 'LU2 7LJ', + 'SK6 7QN', + 'TR10 8QN', + 'HA3 7SF', + 'LL12 9NR', + 'G69 7EA', + 'L25 2NW', + 'PL2 2DD', + 'DN15 9AU', + 'HA1 2AG', + 'LS2 9ND', + 'HD9 6PH', + 'DH3 2NB', + 'OL12 7TX', + 'NG5 1HT', + 'S64 0BU', + 'EX20 1ER', + 'RG40 4RX', + 'B47 5EE', + 'NE29 7BG', + 'SM3 9QR', + 'NG17 4JY', + 'CF23 7EW', + 'GU10 4HE', + 'NP44 4PE', + 'MK9 2AD', + 'S49 1YZ', + 'PO8 0LJ', + 'BD18 4LP', + 'SW2 3DJ', + 'SP4 6JS', + 'OL16 3NA', + 'IP7 5SS', + 'PO17 5HZ', + 'RH15 9TE', + 'ME15 0JU', + 'LS25 2AY', + 'BT46 5NR', + 'YO19 6BL', + 'M28 7XP', + 'W6 7PR', + 'NE29 0AT', + 'TR19 6DX', + 'LE3 0BF', + 'BS6 9HE', + 'SA18 1HW', + 'DD8 4EX', + 'BT35 7PB', + 'PE29 2HJ', + 'LS1 9QA', + 'BN14 7AR', + 'BS5 8PJ', + 'OX3 7PJ', + 'W6 7AN', + 'S60 2PT', + 'G12 9BH', + 'IP5 1LR', + 'B26 3SX', + 'PE21 8PT', + 'RM14 2LD', + 'PL9 9NN', + 'NG20 0JZ', + 'W1K 7AF', + 'AB31 4DX', + 'PL1 4EH', + 'IP19 0NS', + 'LS28 9NF', + 'CH64 3TH', + 'G13 1XN', + 'NG5 1JR', + 'W10 6DY', + 'BS27 3XD', + 'ST21 6SR', + 'PL4 9RB', + 'BA15 2QE', + 'TR20 9RG', + 'NG34 9HJ', + 'BD22 9DN', + 'LE4 4JR', + 'KA9 2RN', + 'W1G 6JQ', + 'B14 5TF', + 'SA16 0HY', + 'N8 7AU', + 'LE17 5PD', + 'PE25 2RA', + 'SE19 2BG', + 'OX12 8PJ', + 'DY5 3EH', + 'NG19 7QJ', + 'G43 1HQ', + ]; - protected static $county = [ - 'Aberdeenshire', 'Anglesey', 'Angus', 'Argyll', 'Ayrshire', 'Banffshire', 'Bedfordshire', 'Berwickshire', 'Breconshire', 'Buckinghamshire', 'Bute', 'Caernarvonshire', 'Caithness', 'Cambridgeshire', 'Cardiganshire', 'Carmarthenshire', 'Cheshire', 'Clackmannanshire', 'Cornwall', 'Isles of Scilly', 'Cumbria', 'Denbighshire', 'Derbyshire', 'Devon', 'Dorset', 'Dumbartonshire', 'Dumfriesshire', 'Durham', 'East Lothian', 'East Sussex', 'Essex', 'Fife', 'Flintshire', 'Glamorgan', 'Gloucestershire', 'Greater London', 'Greater Manchester', 'Hampshire', 'Hertfordshire', 'Inverness', 'Kent', 'Kincardineshire', 'Kinross-shire', 'Kirkcudbrightshire', 'Lanarkshire', 'Lancashire', 'Leicestershire', 'Lincolnshire', 'London', 'Merionethshire', 'Merseyside', 'Midlothian', 'Monmouthshire', 'Montgomeryshire', 'Moray', 'Nairnshire', 'Norfolk', 'North Yorkshire', 'Northamptonshire', 'Northumberland', 'Nottinghamshire', 'Orkney', 'Oxfordshire', 'Peebleshire', 'Pembrokeshire', 'Perthshire', 'Radnorshire', 'Renfrewshire', 'Ross & Cromarty', 'Roxburghshire', 'Selkirkshire', 'Shetland', 'Shropshire', 'Somerset', 'South Yorkshire', 'Staffordshire', 'Stirlingshire', 'Suffolk', 'Surrey', 'Sutherland', 'Tyne and Wear', 'Warwickshire', 'West Lothian', 'West Midlands', 'West Sussex', 'West Yorkshire', 'Wigtownshire', 'Wiltshire', 'Worcestershire', - ]; + protected static $county = [ + 'Aberdeenshire', + 'Anglesey', + 'Angus', + 'Argyll', + 'Ayrshire', + 'Banffshire', + 'Bedfordshire', + 'Berwickshire', + 'Breconshire', + 'Buckinghamshire', + 'Bute', + 'Caernarvonshire', + 'Caithness', + 'Cambridgeshire', + 'Cardiganshire', + 'Carmarthenshire', + 'Cheshire', + 'Clackmannanshire', + 'Cornwall', + 'Isles of Scilly', + 'Cumbria', + 'Denbighshire', + 'Derbyshire', + 'Devon', + 'Dorset', + 'Dumbartonshire', + 'Dumfriesshire', + 'Durham', + 'East Lothian', + 'East Sussex', + 'Essex', + 'Fife', + 'Flintshire', + 'Glamorgan', + 'Gloucestershire', + 'Greater London', + 'Greater Manchester', + 'Hampshire', + 'Hertfordshire', + 'Inverness', + 'Kent', + 'Kincardineshire', + 'Kinross-shire', + 'Kirkcudbrightshire', + 'Lanarkshire', + 'Lancashire', + 'Leicestershire', + 'Lincolnshire', + 'London', + 'Merionethshire', + 'Merseyside', + 'Midlothian', + 'Monmouthshire', + 'Montgomeryshire', + 'Moray', + 'Nairnshire', + 'Norfolk', + 'North Yorkshire', + 'Northamptonshire', + 'Northumberland', + 'Nottinghamshire', + 'Orkney', + 'Oxfordshire', + 'Peebleshire', + 'Pembrokeshire', + 'Perthshire', + 'Radnorshire', + 'Renfrewshire', + 'Ross & Cromarty', + 'Roxburghshire', + 'Selkirkshire', + 'Shetland', + 'Shropshire', + 'Somerset', + 'South Yorkshire', + 'Staffordshire', + 'Stirlingshire', + 'Suffolk', + 'Surrey', + 'Sutherland', + 'Tyne and Wear', + 'Warwickshire', + 'West Lothian', + 'West Midlands', + 'West Sussex', + 'West Yorkshire', + 'Wigtownshire', + 'Wiltshire', + 'Worcestershire', + ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}}{{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}}', - "{{secondaryAddress}}\n{{streetName}}", - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}\n{{postcode}}", - ]; - protected static $secondaryAddressFormats = ['Flat ##', 'Flat ##?', 'Studio ##', 'Studio ##?']; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}}{{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}}', + "{{secondaryAddress}}\n{{streetName}}", + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}\n{{postcode}}", + ]; + protected static $secondaryAddressFormats = [ 'Flat ##', 'Flat ##?', 'Studio ##', 'Studio ##?' ]; - /** - * @example 'East' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'East' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Flat 350' - */ - public static function secondaryAddress() - { - return static::bothify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Flat 350' + */ + public static function secondaryAddress() { + return static::bothify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Hampshire' - */ - public static function county() - { - return static::randomElement(static::$county); - } + /** + * @example 'Hampshire' + */ + public static function county() { + return static::randomElement( static::$county ); + } - /** - * @example 'N6 5AA' - */ - public static function postcode() - { - return static::randomElement(static::$postcode); - } + /** + * @example 'N6 5AA' + */ + public static function postcode() { + return static::randomElement( static::$postcode ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Company.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Company.php index 17fe07d..75f956a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Company.php @@ -2,129 +2,122 @@ namespace Faker\Provider\en_GB; -class Company extends \Faker\Provider\Company -{ - public const VAT_PREFIX = 'GB'; - public const VAT_TYPE_DEFAULT = 'vat'; - public const VAT_TYPE_BRANCH = 'branch'; - public const VAT_TYPE_GOVERNMENT = 'gov'; - public const VAT_TYPE_HEALTH_AUTHORITY = 'health'; - - /** - * UK VAT number - * - * This method produces numbers that are _reasonably_ representative - * of those issued by government - * - * @see https://en.wikipedia.org/wiki/VAT_identification_number#VAT_numbers_by_country - */ - public static function vat(string $type = null): string - { - switch ($type) { - case static::VAT_TYPE_BRANCH: - return static::generateBranchTraderVatNumber(); - - case static::VAT_TYPE_GOVERNMENT: - return static::generateGovernmentVatNumber(); - - case static::VAT_TYPE_HEALTH_AUTHORITY: - return static::generateHealthAuthorityVatNumber(); - - default: - return static::generateStandardVatNumber(); - } - } - - /** - * Standard - * 9 digits (block of 3, block of 4, block of 2) - * - * This uses the format introduced November 2009 onward where the first - * block starts from 100 and the final two digits are generated via a the - * modulus 9755 algorithm - */ - private static function generateStandardVatNumber(): string - { - $firstBlock = static::numberBetween(100, 999); - $secondBlock = static::randomNumber(4, true); - - return sprintf( - '%s%d %d %d', - static::VAT_PREFIX, - $firstBlock, - $secondBlock, - static::calculateModulus97($firstBlock . $secondBlock), - ); - } - - /** - * Health authorities - * the letters HA then 3 digits from 500 to 999 (e.g. GBHA599) - */ - private static function generateHealthAuthorityVatNumber(): string - { - return sprintf( - '%sHA%d', - static::VAT_PREFIX, - static::numberBetween(500, 999), - ); - } - - /** - * Branch traders - * 12 digits (as for 9 digits, followed by a block of 3 digits) - */ - private static function generateBranchTraderVatNumber(): string - { - return sprintf( - '%s %d', - static::generateStandardVatNumber(), - static::randomNumber(3, true), - ); - } - - /** - * Government departments - * the letters GD then 3 digits from 000 to 499 (e.g. GBGD001) - */ - private static function generateGovernmentVatNumber(): string - { - return sprintf( - '%sGD%s', - static::VAT_PREFIX, - str_pad((string) static::numberBetween(0, 499), 3, '0', STR_PAD_LEFT), - ); - } - - /** - * Apply a Modulus97 algorithm to an input - * - * @see https://library.croneri.co.uk/cch_uk/bvr/43-600 - */ - public static function calculateModulus97(string $input, bool $use9755 = true): string - { - $digits = str_split($input); - - if (count($digits) !== 7) { - throw new \InvalidArgumentException(); - } - $multiplier = 8; - $sum = 0; - - foreach ($digits as $digit) { - $sum += (int) $digit * $multiplier; - --$multiplier ; - } - - if ($use9755) { - $sum = $sum + 55; - } - - while ($sum > 0) { - $sum -= 97; - } - $sum = $sum * -1; - - return str_pad((string) $sum, 2, '0', STR_PAD_LEFT); - } +class Company extends \Faker\Provider\Company { + public const VAT_PREFIX = 'GB'; + public const VAT_TYPE_DEFAULT = 'vat'; + public const VAT_TYPE_BRANCH = 'branch'; + public const VAT_TYPE_GOVERNMENT = 'gov'; + public const VAT_TYPE_HEALTH_AUTHORITY = 'health'; + + /** + * UK VAT number + * + * This method produces numbers that are _reasonably_ representative + * of those issued by government + * + * @see https://en.wikipedia.org/wiki/VAT_identification_number#VAT_numbers_by_country + */ + public static function vat( string $type = null ): string { + switch ( $type ) { + case static::VAT_TYPE_BRANCH: + return static::generateBranchTraderVatNumber(); + + case static::VAT_TYPE_GOVERNMENT: + return static::generateGovernmentVatNumber(); + + case static::VAT_TYPE_HEALTH_AUTHORITY: + return static::generateHealthAuthorityVatNumber(); + + default: + return static::generateStandardVatNumber(); + } + } + + /** + * Standard + * 9 digits (block of 3, block of 4, block of 2) + * + * This uses the format introduced November 2009 onward where the first + * block starts from 100 and the final two digits are generated via a the + * modulus 9755 algorithm + */ + private static function generateStandardVatNumber(): string { + $firstBlock = static::numberBetween( 100, 999 ); + $secondBlock = static::randomNumber( 4, true ); + + return sprintf( + '%s%d %d %d', + static::VAT_PREFIX, + $firstBlock, + $secondBlock, + static::calculateModulus97( $firstBlock . $secondBlock ), + ); + } + + /** + * Health authorities + * the letters HA then 3 digits from 500 to 999 (e.g. GBHA599) + */ + private static function generateHealthAuthorityVatNumber(): string { + return sprintf( + '%sHA%d', + static::VAT_PREFIX, + static::numberBetween( 500, 999 ), + ); + } + + /** + * Branch traders + * 12 digits (as for 9 digits, followed by a block of 3 digits) + */ + private static function generateBranchTraderVatNumber(): string { + return sprintf( + '%s %d', + static::generateStandardVatNumber(), + static::randomNumber( 3, true ), + ); + } + + /** + * Government departments + * the letters GD then 3 digits from 000 to 499 (e.g. GBGD001) + */ + private static function generateGovernmentVatNumber(): string { + return sprintf( + '%sGD%s', + static::VAT_PREFIX, + str_pad( (string) static::numberBetween( 0, 499 ), 3, '0', STR_PAD_LEFT ), + ); + } + + /** + * Apply a Modulus97 algorithm to an input + * + * @see https://library.croneri.co.uk/cch_uk/bvr/43-600 + */ + public static function calculateModulus97( string $input, bool $use9755 = true ): string { + $digits = str_split( $input ); + + if ( count( $digits ) !== 7 ) { + throw new \InvalidArgumentException(); + } + $multiplier = 8; + $sum = 0; + + foreach ( $digits as $digit ) { + $sum += (int) $digit * $multiplier; + -- $multiplier; + } + + if ( $use9755 ) { + $sum = $sum + 55; + } + + while ( $sum > 0 ) { + $sum -= 97; + } + $sum = $sum * - 1; + + return str_pad( (string) $sum, 2, '0', STR_PAD_LEFT ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Internet.php index ef5934a..ac70219 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Internet.php @@ -2,8 +2,14 @@ namespace Faker\Provider\en_GB; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'gmail.co.uk', 'yahoo.co.uk', 'hotmail.co.uk']; - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'co.uk']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'gmail.co.uk', + 'yahoo.co.uk', + 'hotmail.co.uk' + ]; + protected static $tld = [ 'com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'co.uk' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Payment.php index b2ad4a0..d9f48f3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\en_GB; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'GB', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'GB', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Person.php index 04fc3b2..96abc02 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/Person.php @@ -2,112 +2,463 @@ namespace Faker\Provider\en_GB; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + ]; - /** - * @see http://www.ons.gov.uk/ons/rel/vsob1/baby-names--england-and-wales/2013/index.html - */ - protected static $firstNameMale = [ - 'Aaron', 'Adam', 'Adrian', 'Aiden', 'Alan', 'Alex', 'Alexander', 'Alfie', 'Andrew', 'Andy', 'Anthony', 'Archie', 'Arthur', - 'Barry', 'Ben', 'Benjamin', 'Bradley', 'Brandon', 'Bruce', - 'Callum', 'Cameron', 'Charles', 'Charlie', 'Chris', 'Christian', 'Christopher', 'Colin', 'Connor', 'Craig', - 'Dale', 'Damien', 'Dan', 'Daniel', 'Darren', 'Dave', 'David', 'Dean', 'Dennis', 'Dominic', 'Duncan', 'Dylan', - 'Edward', 'Elliot', 'Elliott', 'Ethan', - 'Finley', 'Frank', 'Fred', 'Freddie', - 'Gary', 'Gavin', 'George', 'Gordon', 'Graham', 'Grant', 'Greg', - 'Harley', 'Harrison', 'Harry', 'Harvey', 'Henry', - 'Ian', 'Isaac', - 'Jack', 'Jackson', 'Jacob', 'Jake', 'James', 'Jamie', 'Jason', 'Jayden', 'Jeremy', 'Jim', 'Joe', 'Joel', 'John', 'Jonathan', 'Jordan', 'Joseph', 'Joshua', - 'Karl', 'Keith', 'Ken', 'Kevin', 'Kieran', 'Kyle', - 'Lee', 'Leo', 'Lewis', 'Liam', 'Logan', 'Louis', 'Lucas', 'Luke', - 'Mark', 'Martin', 'Mason', 'Matthew', 'Max', 'Michael', 'Mike', 'Mohammed', 'Muhammad', - 'Nathan', 'Neil', 'Nick', 'Noah', - 'Oliver', 'Oscar', 'Owen', - 'Patrick', 'Paul', 'Pete', 'Peter', 'Philip', - 'Quentin', - 'Ray', 'Reece', 'Riley', 'Rob', 'Ross', 'Ryan', - 'Samuel', 'Scott', 'Sean', 'Sebastian', 'Stefan', 'Stephen', 'Steve', - 'Theo', 'Thomas', 'Tim', 'Toby', 'Tom', 'Tony', 'Tyler', - 'Wayne', 'Will', 'William', - 'Zachary', 'Zach', - ]; + /** + * @see http://www.ons.gov.uk/ons/rel/vsob1/baby-names--england-and-wales/2013/index.html + */ + protected static $firstNameMale = [ + 'Aaron', + 'Adam', + 'Adrian', + 'Aiden', + 'Alan', + 'Alex', + 'Alexander', + 'Alfie', + 'Andrew', + 'Andy', + 'Anthony', + 'Archie', + 'Arthur', + 'Barry', + 'Ben', + 'Benjamin', + 'Bradley', + 'Brandon', + 'Bruce', + 'Callum', + 'Cameron', + 'Charles', + 'Charlie', + 'Chris', + 'Christian', + 'Christopher', + 'Colin', + 'Connor', + 'Craig', + 'Dale', + 'Damien', + 'Dan', + 'Daniel', + 'Darren', + 'Dave', + 'David', + 'Dean', + 'Dennis', + 'Dominic', + 'Duncan', + 'Dylan', + 'Edward', + 'Elliot', + 'Elliott', + 'Ethan', + 'Finley', + 'Frank', + 'Fred', + 'Freddie', + 'Gary', + 'Gavin', + 'George', + 'Gordon', + 'Graham', + 'Grant', + 'Greg', + 'Harley', + 'Harrison', + 'Harry', + 'Harvey', + 'Henry', + 'Ian', + 'Isaac', + 'Jack', + 'Jackson', + 'Jacob', + 'Jake', + 'James', + 'Jamie', + 'Jason', + 'Jayden', + 'Jeremy', + 'Jim', + 'Joe', + 'Joel', + 'John', + 'Jonathan', + 'Jordan', + 'Joseph', + 'Joshua', + 'Karl', + 'Keith', + 'Ken', + 'Kevin', + 'Kieran', + 'Kyle', + 'Lee', + 'Leo', + 'Lewis', + 'Liam', + 'Logan', + 'Louis', + 'Lucas', + 'Luke', + 'Mark', + 'Martin', + 'Mason', + 'Matthew', + 'Max', + 'Michael', + 'Mike', + 'Mohammed', + 'Muhammad', + 'Nathan', + 'Neil', + 'Nick', + 'Noah', + 'Oliver', + 'Oscar', + 'Owen', + 'Patrick', + 'Paul', + 'Pete', + 'Peter', + 'Philip', + 'Quentin', + 'Ray', + 'Reece', + 'Riley', + 'Rob', + 'Ross', + 'Ryan', + 'Samuel', + 'Scott', + 'Sean', + 'Sebastian', + 'Stefan', + 'Stephen', + 'Steve', + 'Theo', + 'Thomas', + 'Tim', + 'Toby', + 'Tom', + 'Tony', + 'Tyler', + 'Wayne', + 'Will', + 'William', + 'Zachary', + 'Zach', + ]; - protected static $firstNameFemale = [ - 'Abbie', 'Abigail', 'Adele', 'Alexa', 'Alexandra', 'Alice', 'Alison', 'Amanda', 'Amber', 'Amelia', 'Amy', 'Anna', 'Ashley', 'Ava', - 'Beth', 'Bethany', 'Becky', - 'Caitlin', 'Candice', 'Carlie', 'Carmen', 'Carole', 'Caroline', 'Carrie', 'Charlotte', 'Chelsea', 'Chloe', 'Claire', 'Courtney', - 'Daisy', 'Danielle', 'Donna', - 'Eden', 'Eileen', 'Eleanor', 'Elizabeth', 'Ella', 'Ellie', 'Elsie', 'Emily', 'Emma', 'Erin', 'Eva', 'Evelyn', 'Evie', - 'Faye', 'Fiona', 'Florence', 'Francesca', 'Freya', - 'Georgia', 'Grace', - 'Hannah', 'Heather', 'Helen', 'Helena', 'Hollie', 'Holly', - 'Imogen', 'Isabel', 'Isabella', 'Isabelle', 'Isla', 'Isobel', - 'Jade', 'Jane', 'Jasmine', 'Jennifer', 'Jessica', 'Joanne', 'Jodie', 'Julia', 'Julie', 'Justine', - 'Karen', 'Karlie', 'Katie', 'Keeley', 'Kelly', 'Kimberly', 'Kirsten', 'Kirsty', - 'Laura', 'Lauren', 'Layla', 'Leah', 'Leanne', 'Lexi', 'Lilly', 'Lily', 'Linda', 'Lindsay', 'Lisa', 'Lizzie', 'Lola', 'Lucy', - 'Maisie', 'Mandy', 'Maria', 'Mary', 'Matilda', 'Megan', 'Melissa', 'Mia', 'Millie', 'Molly', - 'Naomi', 'Natalie', 'Natasha', 'Nicole', 'Nikki', - 'Olivia', - 'Patricia', 'Paula', 'Pauline', 'Phoebe', 'Poppy', - 'Rachel', 'Rebecca', 'Rosie', 'Rowena', 'Roxanne', 'Ruby', 'Ruth', - 'Sabrina', 'Sally', 'Samantha', 'Sarah', 'Sasha', 'Scarlett', 'Selina', 'Shannon', 'Sienna', 'Sofia', 'Sonia', 'Sophia', 'Sophie', 'Stacey', 'Stephanie', 'Suzanne', 'Summer', - 'Tanya', 'Tara', 'Teagan', 'Theresa', 'Tiffany', 'Tina', 'Tracy', - 'Vanessa', 'Vicky', 'Victoria', - 'Wendy', - 'Yasmine', 'Yvette', 'Yvonne', - 'Zoe', - ]; + protected static $firstNameFemale = [ + 'Abbie', + 'Abigail', + 'Adele', + 'Alexa', + 'Alexandra', + 'Alice', + 'Alison', + 'Amanda', + 'Amber', + 'Amelia', + 'Amy', + 'Anna', + 'Ashley', + 'Ava', + 'Beth', + 'Bethany', + 'Becky', + 'Caitlin', + 'Candice', + 'Carlie', + 'Carmen', + 'Carole', + 'Caroline', + 'Carrie', + 'Charlotte', + 'Chelsea', + 'Chloe', + 'Claire', + 'Courtney', + 'Daisy', + 'Danielle', + 'Donna', + 'Eden', + 'Eileen', + 'Eleanor', + 'Elizabeth', + 'Ella', + 'Ellie', + 'Elsie', + 'Emily', + 'Emma', + 'Erin', + 'Eva', + 'Evelyn', + 'Evie', + 'Faye', + 'Fiona', + 'Florence', + 'Francesca', + 'Freya', + 'Georgia', + 'Grace', + 'Hannah', + 'Heather', + 'Helen', + 'Helena', + 'Hollie', + 'Holly', + 'Imogen', + 'Isabel', + 'Isabella', + 'Isabelle', + 'Isla', + 'Isobel', + 'Jade', + 'Jane', + 'Jasmine', + 'Jennifer', + 'Jessica', + 'Joanne', + 'Jodie', + 'Julia', + 'Julie', + 'Justine', + 'Karen', + 'Karlie', + 'Katie', + 'Keeley', + 'Kelly', + 'Kimberly', + 'Kirsten', + 'Kirsty', + 'Laura', + 'Lauren', + 'Layla', + 'Leah', + 'Leanne', + 'Lexi', + 'Lilly', + 'Lily', + 'Linda', + 'Lindsay', + 'Lisa', + 'Lizzie', + 'Lola', + 'Lucy', + 'Maisie', + 'Mandy', + 'Maria', + 'Mary', + 'Matilda', + 'Megan', + 'Melissa', + 'Mia', + 'Millie', + 'Molly', + 'Naomi', + 'Natalie', + 'Natasha', + 'Nicole', + 'Nikki', + 'Olivia', + 'Patricia', + 'Paula', + 'Pauline', + 'Phoebe', + 'Poppy', + 'Rachel', + 'Rebecca', + 'Rosie', + 'Rowena', + 'Roxanne', + 'Ruby', + 'Ruth', + 'Sabrina', + 'Sally', + 'Samantha', + 'Sarah', + 'Sasha', + 'Scarlett', + 'Selina', + 'Shannon', + 'Sienna', + 'Sofia', + 'Sonia', + 'Sophia', + 'Sophie', + 'Stacey', + 'Stephanie', + 'Suzanne', + 'Summer', + 'Tanya', + 'Tara', + 'Teagan', + 'Theresa', + 'Tiffany', + 'Tina', + 'Tracy', + 'Vanessa', + 'Vicky', + 'Victoria', + 'Wendy', + 'Yasmine', + 'Yvette', + 'Yvonne', + 'Zoe', + ]; - /** - * @see http://surname.sofeminine.co.uk/w/surnames/most-common-surnames-in-great-britain.html - */ - protected static $lastName = [ - 'Adams', 'Allen', 'Anderson', - 'Bailey', 'Baker', 'Bell', 'Bennett', 'Brown', 'Butler', - 'Campbell', 'Carter', 'Chapman', 'Clark', 'Clarke', 'Collins', 'Cook', 'Cooper', 'Cox', - 'Davies', 'Davis', - 'Edwards', 'Ellis', 'Evans', - 'Fox', - 'Graham', 'Gray', 'Green', 'Griffiths', - 'Hall', 'Harris', 'Harrison', 'Hill', 'Holmes', 'Hughes', 'Hunt', 'Hunter', - 'Jackson', 'James', 'Johnson', 'Jones', - 'Kelly', 'Kennedy', 'Khan', 'King', 'Knight', - 'Lee', 'Lewis', 'Lloyd', - 'Marshall', 'Martin', 'Mason', 'Matthews', 'Miller', 'Mitchell', 'Moore', 'Morgan', 'Morris', 'Murphy', 'Murray', - 'Owen', - 'Palmer', 'Parker', 'Patel', 'Phillips', 'Powell', 'Price', - 'Reid', 'Reynolds', 'Richards', 'Richardson', 'Roberts', 'Robertson', 'Robinson', 'Rogers', 'Rose', 'Ross', 'Russell', - 'Saunders', 'Scott', 'Shaw', 'Simpson', 'Smith', 'Stevens', 'Stewart', - 'Taylor', 'Thomas', 'Thompson', 'Turner', - 'Walker', 'Walsh', 'Ward', 'Watson', 'White', 'Wilkinson', 'Williams', 'Wilson', 'Wood', 'Wright', - 'Young', - ]; + /** + * @see http://surname.sofeminine.co.uk/w/surnames/most-common-surnames-in-great-britain.html + */ + protected static $lastName = [ + 'Adams', + 'Allen', + 'Anderson', + 'Bailey', + 'Baker', + 'Bell', + 'Bennett', + 'Brown', + 'Butler', + 'Campbell', + 'Carter', + 'Chapman', + 'Clark', + 'Clarke', + 'Collins', + 'Cook', + 'Cooper', + 'Cox', + 'Davies', + 'Davis', + 'Edwards', + 'Ellis', + 'Evans', + 'Fox', + 'Graham', + 'Gray', + 'Green', + 'Griffiths', + 'Hall', + 'Harris', + 'Harrison', + 'Hill', + 'Holmes', + 'Hughes', + 'Hunt', + 'Hunter', + 'Jackson', + 'James', + 'Johnson', + 'Jones', + 'Kelly', + 'Kennedy', + 'Khan', + 'King', + 'Knight', + 'Lee', + 'Lewis', + 'Lloyd', + 'Marshall', + 'Martin', + 'Mason', + 'Matthews', + 'Miller', + 'Mitchell', + 'Moore', + 'Morgan', + 'Morris', + 'Murphy', + 'Murray', + 'Owen', + 'Palmer', + 'Parker', + 'Patel', + 'Phillips', + 'Powell', + 'Price', + 'Reid', + 'Reynolds', + 'Richards', + 'Richardson', + 'Roberts', + 'Robertson', + 'Robinson', + 'Rogers', + 'Rose', + 'Ross', + 'Russell', + 'Saunders', + 'Scott', + 'Shaw', + 'Simpson', + 'Smith', + 'Stevens', + 'Stewart', + 'Taylor', + 'Thomas', + 'Thompson', + 'Turner', + 'Walker', + 'Walsh', + 'Ward', + 'Watson', + 'White', + 'Wilkinson', + 'Williams', + 'Wilson', + 'Wood', + 'Wright', + 'Young', + ]; - /** - * Generates a random National Insurance number. - * - * @see https://www.gov.uk/hmrc-internal-manuals/national-insurance-manual/nim39110 - */ - public function nino(): string - { - $prefixAllowList = ['A', 'B', 'C', 'E', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'W', 'X', 'Y', 'Z']; - $prefixBanList = ['BG', 'GB', 'KN', 'NK', 'NT', 'TN', 'ZZ']; + /** + * Generates a random National Insurance number. + * + * @see https://www.gov.uk/hmrc-internal-manuals/national-insurance-manual/nim39110 + */ + public function nino(): string { + $prefixAllowList = [ + 'A', + 'B', + 'C', + 'E', + 'G', + 'H', + 'J', + 'K', + 'L', + 'M', + 'N', + 'O', + 'P', + 'R', + 'S', + 'T', + 'W', + 'X', + 'Y', + 'Z' + ]; + $prefixBanList = [ 'BG', 'GB', 'KN', 'NK', 'NT', 'TN', 'ZZ' ]; - do { - $prefix = implode('', self::randomElements($prefixAllowList, 2, true)); - } while (in_array($prefix, $prefixBanList, false) || $prefix[1] == 'O'); + do { + $prefix = implode( '', self::randomElements( $prefixAllowList, 2, true ) ); + } while ( in_array( $prefix, $prefixBanList, false ) || $prefix[1] == 'O' ); - $digits = static::numerify('######'); - $suffix = static::randomElement(['A', 'B', 'C', 'D']); + $digits = static::numerify( '######' ); + $suffix = static::randomElement( [ 'A', 'B', 'C', 'D' ] ); - return sprintf('%s%s%s', $prefix, $digits, $suffix); - } + return sprintf( '%s%s%s', $prefix, $digits, $suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_GB/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_GB/PhoneNumber.php index ade4a7b..69c6275 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_GB/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_GB/PhoneNumber.php @@ -2,48 +2,46 @@ namespace Faker\Provider\en_GB; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+44(0)##########', - '+44(0)#### ######', - '+44(0)#########', - '+44(0)#### #####', - '0##########', - '0#########', - '0#### ######', - '0#### #####', - '0### ### ####', - '0### #######', - '(0####) ######', - '(0####) #####', - '(0###) ### ####', - '(0###) #######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+44(0)##########', + '+44(0)#### ######', + '+44(0)#########', + '+44(0)#### #####', + '0##########', + '0#########', + '0#### ######', + '0#### #####', + '0### ### ####', + '0### #######', + '(0####) ######', + '(0####) #####', + '(0###) ### ####', + '(0###) #######', + ]; - /** - * An array of en_GB mobile (cell) phone number formats - * - * @var array - */ - protected static $mobileFormats = [ - // Local - '07#########', - '07### ######', - '07### ### ###', - ]; + /** + * An array of en_GB mobile (cell) phone number formats + * + * @var array + */ + protected static $mobileFormats = [ + // Local + '07#########', + '07### ######', + '07### ### ###', + ]; - protected static $e164Formats = [ - '+44##########', - ]; + protected static $e164Formats = [ + '+44##########', + ]; - /** - * Return a en_GB mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a en_GB mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_HK/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_HK/Address.php index ac17584..28b343e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_HK/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_HK/Address.php @@ -2,238 +2,642 @@ namespace Faker\Provider\en_HK; -class Address extends \Faker\Provider\Address -{ - protected static $country = ['Hong Kong']; - - protected static $syllables = [ - 'A', 'Ai', 'Ak', 'Am', 'An', 'Ang', 'Ap', 'At', 'Au', - 'Cha', 'Chai', 'Chak', 'Cham', 'Chan', 'Chang', 'Chap', 'Chat', 'Chau', - 'Che', 'Chek', 'Cheng', 'Cheuk', 'Cheung', - 'Chi', 'Chik', 'Chim', 'Chin', 'Ching', 'Chip', 'Chit', 'Chiu', - 'Cho', 'Choi', 'Chok', 'Chong', 'Chou', - 'Chue', 'Chuen', 'Chuet', 'Chui', 'Chuk', 'Chun', 'Chung', 'Chut', - 'E', 'Ei', - 'Fa', 'Fai', 'Fak', 'Fan', 'Fang', 'Fat', 'Fau', - 'Fe', 'Fei', 'Fo', 'Fok', 'Fong', - 'Fu', 'Fui', 'Fuk', 'Fun', 'Fung', 'Fut', - 'Ha', 'Hai', 'Hak', 'Ham', 'Han', 'Hang', 'Hap', 'Hat', 'Hau', - 'Hei', 'Hek', 'Heng', 'Heu', 'Heung', - 'Hik', 'Him', 'Hin', 'Hing', 'Hip', 'Hit', 'Hiu', - 'Ho', 'Hoi', 'Hok', 'Hon', 'Hong', 'Hot', 'Hou', - 'Huen', 'Huet', 'Hui', 'Huk', 'Hung', - 'Ka', 'Kai', 'Kak', 'Kam', 'Kan', 'Kang', 'Kap', 'Kat', 'Kau', - 'Ke', 'Kei', 'Kek', 'Keng', 'Keu', 'Keuk', 'Keung', - 'Kik', 'Kim', 'Kin', 'King', 'Kip', 'Kit', 'Kiu', - 'Ko', 'Koi', 'Kok', 'Kon', 'Kong', 'Kot', 'Kou', - 'Ku', 'Kuen', 'Kuet', 'Kui', 'Kuk', 'Kun', 'Kung', 'Kut', - 'Kwa', 'Kwai', 'Kwak', 'Kwan', 'Kwang', 'Kwat', 'Kwik', 'Kwing', 'Kwo', 'Kwok', 'Kwong', - 'La', 'Lai', 'Lak', 'Lam', 'Lan', 'Lang', 'Lap', 'Lat', 'Lau', - 'Le', 'Lei', 'Lek', 'Leng', 'Leuk', 'Leung', - 'Li', 'Lik', 'Lim', 'Lin', 'Ling', 'Lip', 'Lit', 'Liu', - 'Lo', 'Loi', 'Lok', 'Long', 'Lou', - 'Luen', 'Luet', 'Lui', 'Luk', 'Lun', 'Lung', 'Lut', - 'Ma', 'Mai', 'Mak', 'Man', 'Mang', 'Mat', 'Mau', - 'Me', 'Mei', 'Meng', - 'Mi', 'Mik', 'Min', 'Ming', 'Mit', 'Miu', - 'Mo', 'Mok', 'Mong', 'Mou', - 'Mui', 'Muk', 'Mun', 'Mung', 'Mut', - 'Na', 'Nai', 'Nam', 'Nan', 'Nang', 'Nap', 'Nat', 'Nau', - 'Ne', 'Nei', 'Neung', - 'Ng', 'Nga', 'Ngai', 'Ngak', 'Ngam', 'Ngan', 'Ngang', 'Ngap', 'Ngat', 'Ngau', - 'Ngit', - 'Ngo', 'Ngoi', 'Ngok', 'Ngon', 'Ngong', 'Ngou', - 'Ni', 'Nik', 'Nim', 'Nin', 'Ning', 'Nip', 'Niu', - 'No', 'Noi', 'Nok', 'Nong', 'Nou', 'Nuen', - 'Nui', 'Nuk', 'Nung', 'Nut', - 'O', 'Oi', 'Ok', 'On', 'Ong', 'Ou', - 'Pa', 'Pai', 'Pak', 'Pam', 'Pan', 'Pang', 'Pat', 'Pau', - 'Pe', 'Pei', 'Pek', 'Peng', - 'Pik', 'Pin', 'Ping', 'Pit', 'Piu', - 'Po', 'Poi', 'Pok', 'Pong', 'Pou', - 'Pui', 'Puk', 'Pun', 'Pung', 'Put', - 'Sa', 'Sai', 'Sak', 'Sam', 'San', 'Sang', 'Sap', 'Sat', 'Sau', - 'Se', 'Sei', 'Sek', 'Seng', 'Seuk', 'Seung', - 'Sha', 'Shai', 'Shak', 'Sham', 'Shan', 'Shang', 'Shap', 'Shat', 'Shau', - 'She', 'Shei', 'Shek', 'Sheng', 'Sheuk', 'Sheung', - 'Shi', 'Shik', 'Shim', 'Shin', 'Shing', 'Ship', 'Shit', 'Shiu', - 'Sho', 'Shoi', 'Shok', 'Shong', 'Shou', - 'Shue', 'Shuen', 'Shuet', 'Shui', 'Shuk', 'Shun', 'Shung', 'Shut', - 'Sik', 'Sim', 'Sin', 'Sing', 'Sip', 'Sit', 'Siu', - 'So', 'Soi', 'Sok', 'Song', 'Sou', - 'Sue', 'Suen', 'Suet', 'Sui', 'Suk', 'Sun', 'Sung', 'Sut', - 'Sze', - 'Ta', 'Tai', 'Tak', 'Tam', 'Tan', 'Tang', 'Tap', 'Tat', 'Tau', - 'Te', 'Tei', 'Tek', 'Teng', 'Teu', 'Teuk', - 'Tik', 'Tim', 'Tin', 'Ting', 'Tip', 'Tit', 'Tiu', - 'To', 'Toi', 'Tok', 'Tong', 'Tou', - 'Tsa', 'Tsai', 'Tsak', 'Tsam', 'Tsan', 'Tsang', 'Tsap', 'Tsat', 'Tsau', - 'Tse', 'Tsek', 'Tseng', 'Tseuk', 'Tseung', - 'Tsik', 'Tsim', 'Tsin', 'Tsing', 'Tsip', 'Tsit', 'Tsiu', - 'Tso', 'Tsoi', 'Tsok', 'Tsong', 'Tsou', - 'Tsue', 'Tsuen', 'Tsuet', 'Tsui', 'Tsuk', 'Tsun', 'Tsung', 'Tsut', - 'Tsz', - 'Tuen', 'Tuet', 'Tui', 'Tuk', 'Tun', 'Tung', 'Tut', - 'Uk', 'Ung', - 'Wa', 'Wai', 'Wak', 'Wan', 'Wang', 'Wat', - 'Wik', 'Wing', - 'Wo', 'Wok', 'Wong', 'Wu', - 'Wui', 'Wun', 'Wut', 'Ya', - 'Yai', 'Yak', 'Yam', 'Yan', 'Yap', 'Yat', 'Yau', - 'Ye', 'Yeng', 'Yeuk', 'Yeung', 'Yi', - 'Yik', 'Yim', 'Yin', 'Ying', 'Yip', 'Yit', 'Yiu', - 'Yo', - 'Yue', 'Yuen', 'Yuet', 'Yui', 'Yuk', 'Yun', 'Yung', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{village}}', - 'Block {{buildingNumber}}, {{estate}}', - ]; - - protected static $addressFormats = [ - "{{streetAddress}}\n{{town}}\n{{city}}", - ]; - - protected static $villageNameFormats = [ - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{town}}', - '{{town}} {{villageSuffix}}', - ]; - - protected static $estateNameFormats = [ - '{{syllable}} {{syllable}} {{estateSuffix}}', - '{{syllable}} {{syllable}} {{estateSuffix}}', - '{{syllable}} {{syllable}} {{estateSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', - '{{town}} {{estateSuffix}}', - ]; - - protected static $villageSuffixes = ['Village', 'Tsuen', 'San Tsuen', 'New Village', 'Wai']; - - protected static $estateSuffixes = ['Estate', 'Court']; - - protected static $streetNameFormats = [ - '{{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{direction}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{syllable}} {{direction}} {{streetSuffix}}', - '{{syllable}} {{syllable}} {{streetSuffix}} {{direction}}', - '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}} {{direction}}', - '{{englishStreetName}} {{streetSuffix}}', - '{{englishStreetName}} {{streetSuffix}} {{direction}}', - ]; - - protected static $englishStreetNames = [ - "King's", "Queen's", 'Nathan', 'Robinson', 'Kingston', 'Irving', 'Bonham', 'Salisbury', - 'Tonkin', 'Nanking', 'Peking', 'Canton', 'Amoy', 'Shanghai', - ]; - - protected static $streetSuffix = [ - 'Road', 'Road', 'Road', 'Street', 'Street', 'Street', 'Lane', - 'Circuit', 'Avenue', 'Path', 'Square', - ]; - - protected static $directions = ['North', 'East', 'South', 'West']; - - protected static $cities = ['Hong Kong', 'Kowloon', 'New Territories']; - - protected static $towns = [ - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - '{{syllable}} {{syllable}} {{syllable}}', - 'Aberdeen', - 'Stanley', - 'Victoria', - ]; - - public function city() - { - return static::randomElement(static::$cities); - } - - public function town() - { - return $this->generator->parse(static::randomElement(static::$towns)); - } - - public function syllable() - { - return static::randomElement(static::$syllables); - } - - public function direction() - { - return static::randomElement(static::$directions); - } - - public function englishStreetName() - { - return static::randomElement(static::$englishStreetNames); - } - - public function villageSuffix() - { - return static::randomElement(static::$villageSuffixes); - } - - public function estateSuffix() - { - return static::randomElement(static::$estateSuffixes); - } - - public function village() - { - return $this->generator->parse(static::randomElement(static::$villageNameFormats)); - } - - public function estate() - { - return $this->generator->parse(static::randomElement(static::$estateNameFormats)); - } +class Address extends \Faker\Provider\Address { + protected static $country = [ 'Hong Kong' ]; + + protected static $syllables = [ + 'A', + 'Ai', + 'Ak', + 'Am', + 'An', + 'Ang', + 'Ap', + 'At', + 'Au', + 'Cha', + 'Chai', + 'Chak', + 'Cham', + 'Chan', + 'Chang', + 'Chap', + 'Chat', + 'Chau', + 'Che', + 'Chek', + 'Cheng', + 'Cheuk', + 'Cheung', + 'Chi', + 'Chik', + 'Chim', + 'Chin', + 'Ching', + 'Chip', + 'Chit', + 'Chiu', + 'Cho', + 'Choi', + 'Chok', + 'Chong', + 'Chou', + 'Chue', + 'Chuen', + 'Chuet', + 'Chui', + 'Chuk', + 'Chun', + 'Chung', + 'Chut', + 'E', + 'Ei', + 'Fa', + 'Fai', + 'Fak', + 'Fan', + 'Fang', + 'Fat', + 'Fau', + 'Fe', + 'Fei', + 'Fo', + 'Fok', + 'Fong', + 'Fu', + 'Fui', + 'Fuk', + 'Fun', + 'Fung', + 'Fut', + 'Ha', + 'Hai', + 'Hak', + 'Ham', + 'Han', + 'Hang', + 'Hap', + 'Hat', + 'Hau', + 'Hei', + 'Hek', + 'Heng', + 'Heu', + 'Heung', + 'Hik', + 'Him', + 'Hin', + 'Hing', + 'Hip', + 'Hit', + 'Hiu', + 'Ho', + 'Hoi', + 'Hok', + 'Hon', + 'Hong', + 'Hot', + 'Hou', + 'Huen', + 'Huet', + 'Hui', + 'Huk', + 'Hung', + 'Ka', + 'Kai', + 'Kak', + 'Kam', + 'Kan', + 'Kang', + 'Kap', + 'Kat', + 'Kau', + 'Ke', + 'Kei', + 'Kek', + 'Keng', + 'Keu', + 'Keuk', + 'Keung', + 'Kik', + 'Kim', + 'Kin', + 'King', + 'Kip', + 'Kit', + 'Kiu', + 'Ko', + 'Koi', + 'Kok', + 'Kon', + 'Kong', + 'Kot', + 'Kou', + 'Ku', + 'Kuen', + 'Kuet', + 'Kui', + 'Kuk', + 'Kun', + 'Kung', + 'Kut', + 'Kwa', + 'Kwai', + 'Kwak', + 'Kwan', + 'Kwang', + 'Kwat', + 'Kwik', + 'Kwing', + 'Kwo', + 'Kwok', + 'Kwong', + 'La', + 'Lai', + 'Lak', + 'Lam', + 'Lan', + 'Lang', + 'Lap', + 'Lat', + 'Lau', + 'Le', + 'Lei', + 'Lek', + 'Leng', + 'Leuk', + 'Leung', + 'Li', + 'Lik', + 'Lim', + 'Lin', + 'Ling', + 'Lip', + 'Lit', + 'Liu', + 'Lo', + 'Loi', + 'Lok', + 'Long', + 'Lou', + 'Luen', + 'Luet', + 'Lui', + 'Luk', + 'Lun', + 'Lung', + 'Lut', + 'Ma', + 'Mai', + 'Mak', + 'Man', + 'Mang', + 'Mat', + 'Mau', + 'Me', + 'Mei', + 'Meng', + 'Mi', + 'Mik', + 'Min', + 'Ming', + 'Mit', + 'Miu', + 'Mo', + 'Mok', + 'Mong', + 'Mou', + 'Mui', + 'Muk', + 'Mun', + 'Mung', + 'Mut', + 'Na', + 'Nai', + 'Nam', + 'Nan', + 'Nang', + 'Nap', + 'Nat', + 'Nau', + 'Ne', + 'Nei', + 'Neung', + 'Ng', + 'Nga', + 'Ngai', + 'Ngak', + 'Ngam', + 'Ngan', + 'Ngang', + 'Ngap', + 'Ngat', + 'Ngau', + 'Ngit', + 'Ngo', + 'Ngoi', + 'Ngok', + 'Ngon', + 'Ngong', + 'Ngou', + 'Ni', + 'Nik', + 'Nim', + 'Nin', + 'Ning', + 'Nip', + 'Niu', + 'No', + 'Noi', + 'Nok', + 'Nong', + 'Nou', + 'Nuen', + 'Nui', + 'Nuk', + 'Nung', + 'Nut', + 'O', + 'Oi', + 'Ok', + 'On', + 'Ong', + 'Ou', + 'Pa', + 'Pai', + 'Pak', + 'Pam', + 'Pan', + 'Pang', + 'Pat', + 'Pau', + 'Pe', + 'Pei', + 'Pek', + 'Peng', + 'Pik', + 'Pin', + 'Ping', + 'Pit', + 'Piu', + 'Po', + 'Poi', + 'Pok', + 'Pong', + 'Pou', + 'Pui', + 'Puk', + 'Pun', + 'Pung', + 'Put', + 'Sa', + 'Sai', + 'Sak', + 'Sam', + 'San', + 'Sang', + 'Sap', + 'Sat', + 'Sau', + 'Se', + 'Sei', + 'Sek', + 'Seng', + 'Seuk', + 'Seung', + 'Sha', + 'Shai', + 'Shak', + 'Sham', + 'Shan', + 'Shang', + 'Shap', + 'Shat', + 'Shau', + 'She', + 'Shei', + 'Shek', + 'Sheng', + 'Sheuk', + 'Sheung', + 'Shi', + 'Shik', + 'Shim', + 'Shin', + 'Shing', + 'Ship', + 'Shit', + 'Shiu', + 'Sho', + 'Shoi', + 'Shok', + 'Shong', + 'Shou', + 'Shue', + 'Shuen', + 'Shuet', + 'Shui', + 'Shuk', + 'Shun', + 'Shung', + 'Shut', + 'Sik', + 'Sim', + 'Sin', + 'Sing', + 'Sip', + 'Sit', + 'Siu', + 'So', + 'Soi', + 'Sok', + 'Song', + 'Sou', + 'Sue', + 'Suen', + 'Suet', + 'Sui', + 'Suk', + 'Sun', + 'Sung', + 'Sut', + 'Sze', + 'Ta', + 'Tai', + 'Tak', + 'Tam', + 'Tan', + 'Tang', + 'Tap', + 'Tat', + 'Tau', + 'Te', + 'Tei', + 'Tek', + 'Teng', + 'Teu', + 'Teuk', + 'Tik', + 'Tim', + 'Tin', + 'Ting', + 'Tip', + 'Tit', + 'Tiu', + 'To', + 'Toi', + 'Tok', + 'Tong', + 'Tou', + 'Tsa', + 'Tsai', + 'Tsak', + 'Tsam', + 'Tsan', + 'Tsang', + 'Tsap', + 'Tsat', + 'Tsau', + 'Tse', + 'Tsek', + 'Tseng', + 'Tseuk', + 'Tseung', + 'Tsik', + 'Tsim', + 'Tsin', + 'Tsing', + 'Tsip', + 'Tsit', + 'Tsiu', + 'Tso', + 'Tsoi', + 'Tsok', + 'Tsong', + 'Tsou', + 'Tsue', + 'Tsuen', + 'Tsuet', + 'Tsui', + 'Tsuk', + 'Tsun', + 'Tsung', + 'Tsut', + 'Tsz', + 'Tuen', + 'Tuet', + 'Tui', + 'Tuk', + 'Tun', + 'Tung', + 'Tut', + 'Uk', + 'Ung', + 'Wa', + 'Wai', + 'Wak', + 'Wan', + 'Wang', + 'Wat', + 'Wik', + 'Wing', + 'Wo', + 'Wok', + 'Wong', + 'Wu', + 'Wui', + 'Wun', + 'Wut', + 'Ya', + 'Yai', + 'Yak', + 'Yam', + 'Yan', + 'Yap', + 'Yat', + 'Yau', + 'Ye', + 'Yeng', + 'Yeuk', + 'Yeung', + 'Yi', + 'Yik', + 'Yim', + 'Yin', + 'Ying', + 'Yip', + 'Yit', + 'Yiu', + 'Yo', + 'Yue', + 'Yuen', + 'Yuet', + 'Yui', + 'Yuk', + 'Yun', + 'Yung', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{village}}', + 'Block {{buildingNumber}}, {{estate}}', + ]; + + protected static $addressFormats = [ + "{{streetAddress}}\n{{town}}\n{{city}}", + ]; + + protected static $villageNameFormats = [ + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{villageSuffix}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{town}}', + '{{town}} {{villageSuffix}}', + ]; + + protected static $estateNameFormats = [ + '{{syllable}} {{syllable}} {{estateSuffix}}', + '{{syllable}} {{syllable}} {{estateSuffix}}', + '{{syllable}} {{syllable}} {{estateSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{estateSuffix}}', + '{{town}} {{estateSuffix}}', + ]; + + protected static $villageSuffixes = [ 'Village', 'Tsuen', 'San Tsuen', 'New Village', 'Wai' ]; + + protected static $estateSuffixes = [ 'Estate', 'Court' ]; + + protected static $streetNameFormats = [ + '{{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{direction}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{syllable}} {{direction}} {{streetSuffix}}', + '{{syllable}} {{syllable}} {{streetSuffix}} {{direction}}', + '{{syllable}} {{syllable}} {{syllable}} {{streetSuffix}} {{direction}}', + '{{englishStreetName}} {{streetSuffix}}', + '{{englishStreetName}} {{streetSuffix}} {{direction}}', + ]; + + protected static $englishStreetNames = [ + "King's", + "Queen's", + 'Nathan', + 'Robinson', + 'Kingston', + 'Irving', + 'Bonham', + 'Salisbury', + 'Tonkin', + 'Nanking', + 'Peking', + 'Canton', + 'Amoy', + 'Shanghai', + ]; + + protected static $streetSuffix = [ + 'Road', + 'Road', + 'Road', + 'Street', + 'Street', + 'Street', + 'Lane', + 'Circuit', + 'Avenue', + 'Path', + 'Square', + ]; + + protected static $directions = [ 'North', 'East', 'South', 'West' ]; + + protected static $cities = [ 'Hong Kong', 'Kowloon', 'New Territories' ]; + + protected static $towns = [ + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + '{{syllable}} {{syllable}} {{syllable}}', + 'Aberdeen', + 'Stanley', + 'Victoria', + ]; + + public function city() { + return static::randomElement( static::$cities ); + } + + public function town() { + return $this->generator->parse( static::randomElement( static::$towns ) ); + } + + public function syllable() { + return static::randomElement( static::$syllables ); + } + + public function direction() { + return static::randomElement( static::$directions ); + } + + public function englishStreetName() { + return static::randomElement( static::$englishStreetNames ); + } + + public function villageSuffix() { + return static::randomElement( static::$villageSuffixes ); + } + + public function estateSuffix() { + return static::randomElement( static::$estateSuffixes ); + } + + public function village() { + return $this->generator->parse( static::randomElement( static::$villageNameFormats ) ); + } + + public function estate() { + return $this->generator->parse( static::randomElement( static::$estateNameFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_HK/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_HK/Internet.php index 2de48a5..9232b66 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_HK/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_HK/Internet.php @@ -2,13 +2,28 @@ namespace Faker\Provider\en_HK; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.com', 'hotmail.com', 'yahoo.com.hk', 'hotmail.com.hk', - ]; - protected static $tld = [ - 'com', 'com', 'com', 'com.hk', 'com.hk', 'com', 'biz', 'info', 'net', 'org', - 'com.hk', 'edu.hk', 'org.hk', 'idv.hk', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'yahoo.com.hk', + 'hotmail.com.hk', + ]; + protected static $tld = [ + 'com', + 'com', + 'com', + 'com.hk', + 'com.hk', + 'com', + 'biz', + 'info', + 'net', + 'org', + 'com.hk', + 'edu.hk', + 'org.hk', + 'idv.hk', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_HK/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_HK/PhoneNumber.php index 23ca1b2..5881f8e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_HK/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_HK/PhoneNumber.php @@ -2,40 +2,36 @@ namespace Faker\Provider\en_HK; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = ['2#######', '3#######', '5#######', '6#######', '9#######']; - protected static $mobileFormats = ['5#######', '6#######', '9#######']; - protected static $landlineFormats = ['2#######', '3#######']; - protected static $faxFormats = ['7#######']; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ '2#######', '3#######', '5#######', '6#######', '9#######' ]; + protected static $mobileFormats = [ '5#######', '6#######', '9#######' ]; + protected static $landlineFormats = [ '2#######', '3#######' ]; + protected static $faxFormats = [ '7#######' ]; - /** - * Return an en_HK mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return an en_HK mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } - /** - * Return an en_HK landline number - * - * @return string - */ - public static function landlineNumber() - { - return static::numerify(static::randomElement(static::$landlineFormats)); - } + /** + * Return an en_HK landline number + * + * @return string + */ + public static function landlineNumber() { + return static::numerify( static::randomElement( static::$landlineFormats ) ); + } - /** - * Return an en_HK fax number - * - * @return string - */ - public static function faxNumber() - { - return static::numerify(static::randomElement(static::$faxFormats)); - } + /** + * Return an en_HK fax number + * + * @return string + */ + public static function faxNumber() { + return static::numerify( static::randomElement( static::$faxFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Address.php index 35db3c1..1d5c5e8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Address.php @@ -2,187 +2,509 @@ namespace Faker\Provider\en_IN; -class Address extends \Faker\Provider\Address -{ - protected static $city = [ - 'Agra', 'Ahmedabad', 'Ajmer', 'Alwar', - 'Bengaluru', 'Bhubhaneshwar', 'Bhopal', 'Bikaner', - 'Chennai', 'Chandigarh', - 'Darjeeling', 'Dehra Dun', 'Delhi', - 'Faridabad', - 'Gandhinagar', 'Guwahati', 'Gangtok', 'Gurgaon', - 'Hyderabad', 'Hisar', - 'Indore', - 'Jaipur', 'Jodhpur', 'Jammu', 'Jamnagar', 'Jabalpur', - 'Kolkata', 'Kanpur', 'Kota', 'Kochi', - 'Ludhiana', 'Lucknow', - 'Mumbai', 'Meerut', 'Mysore', - 'Nagpur', 'Nashik', 'Noida', 'New Delhi', - 'Pune', 'Patna', 'Panaji', 'Pilani', 'Pondicherry', - 'Ratlam', 'Raipur', 'Ranchi', 'Rajkot', - 'Surat', 'Simla', 'Srinagar', - 'Thiruvananthapuram', 'Trichy', - 'Udaipur', - 'Vishakhapattanam', 'Vadodara', - 'Warangal', - ]; - - protected static $state = [ - - // States - 'Andhra Pradesh', 'Arunachal Pradesh', 'Assam', - 'Bihar', - 'Chhattisgarh', - 'Goa', 'Gujarat', - 'Haryana', 'Himachal Pradesh', - 'Jammu and Kashmir', - 'Jharkhand', - 'Karnataka', 'Kerala', - 'Madhya Pradesh', 'Maharashtra', 'Manipur', 'Meghalaya', 'Mizoram', - 'Nagaland', - 'Odisha', - 'Punjab', - 'Rajasthan', - 'Sikkim', - 'Tamil Nadu', 'Telangana', 'Tripura', - 'Uttar Pradesh', 'Uttarakhand', - 'West Bengal', - - // Union Territories - 'Andaman and Nicobar Islands', - 'Chandigarh', - 'Dadra and Nagar Haveli', 'Daman and Diu', 'Delhi', - 'Lakshadweep', - 'Puducherry', - ]; - - protected static $stateAbbr = [ - 'AP', 'AR', 'AS', 'BR', 'CG', 'GA', 'GJ', 'HR', 'HP', 'JK', 'JH', 'KA', 'KL', 'MP', 'MH', 'MN', 'ML', 'MZ', 'NL', 'OD', 'PB', 'RJ', 'SK', 'TN', 'TS', 'TR', 'UP', 'UK', 'WB', 'AN', 'CH', 'DN', 'DD', 'DL', 'LD', 'PY', - ]; - - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; - protected static $localityName = [ - 'Aundh', 'Andheri', - 'Borivali', 'Bandra', - 'Chinchwad', 'Chandpole', 'Churchgate', 'Cyber City', - 'Dadar', 'Deccan Gymkhana', - 'Goregaon', - 'Hadapsar', 'Harmada', 'Hinjewadi', - 'Kormangala', 'Kharadi', - 'Marathahalli', 'Model Town', 'Mansarovar', 'Malad', - 'Sodala', - 'Virar', 'Vikhroli', - 'Yerwada', 'Yeshwanthpura', - ]; - protected static $areaSuffix = [ - ' Nagar', 'Pur', 'Garh', 'Gunj', ' Chowk', - ]; - protected static $postcode = [ - '1#####', '2#####', '3#####', '4#####', '5#####', - ]; - protected static $localityFormats = [ - '{{firstName}}{{areaSuffix}}', - '{{localityName}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}} {{city}} - {{postcode}}', - ]; - protected static $societySuffix = [ - 'Society', 'Apartments', 'Heights', 'Villas', - ]; - protected static $societyNameFormat = [ - '{{firstName}} {{societySuffix}}', - ]; - protected static $streetAddressFormats = [ - - '{{buildingNumber}}, {{locality}},', - '{{buildingNumber}}, {{societyName}}, {{locality}}', - ]; - - public function societySuffix() - { - return static::randomElement(static::$societySuffix); - } - - /** - * @example Shanti Apartments - */ - public function societyName() - { - return $this->generator->parse(static::randomElement(static::$societyNameFormat)); - } - - /** - * @example Mumbai - */ - public function city() - { - return static::randomElement(static::$city); - } - - /** - * @example Vaishali Nagar - */ - public function locality() - { - return $this->generator->parse(static::randomElement(static::$localityFormats)); - } - - /** - * @example Kharadi - */ - public function localityName() - { - return $this->generator->parse(static::randomElement(static::$localityName)); - } - - /** - * @example Nagar - */ - public function areaSuffix() - { - return static::randomElement(static::$areaSuffix); - } - - /** - * @example 'Delhi' - */ - public static function state() - { - return static::randomElement(static::$state); - } - - /** - * @example 'DL' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } +class Address extends \Faker\Provider\Address { + protected static $city = [ + 'Agra', + 'Ahmedabad', + 'Ajmer', + 'Alwar', + 'Bengaluru', + 'Bhubhaneshwar', + 'Bhopal', + 'Bikaner', + 'Chennai', + 'Chandigarh', + 'Darjeeling', + 'Dehra Dun', + 'Delhi', + 'Faridabad', + 'Gandhinagar', + 'Guwahati', + 'Gangtok', + 'Gurgaon', + 'Hyderabad', + 'Hisar', + 'Indore', + 'Jaipur', + 'Jodhpur', + 'Jammu', + 'Jamnagar', + 'Jabalpur', + 'Kolkata', + 'Kanpur', + 'Kota', + 'Kochi', + 'Ludhiana', + 'Lucknow', + 'Mumbai', + 'Meerut', + 'Mysore', + 'Nagpur', + 'Nashik', + 'Noida', + 'New Delhi', + 'Pune', + 'Patna', + 'Panaji', + 'Pilani', + 'Pondicherry', + 'Ratlam', + 'Raipur', + 'Ranchi', + 'Rajkot', + 'Surat', + 'Simla', + 'Srinagar', + 'Thiruvananthapuram', + 'Trichy', + 'Udaipur', + 'Vishakhapattanam', + 'Vadodara', + 'Warangal', + ]; + + protected static $state = [ + + // States + 'Andhra Pradesh', + 'Arunachal Pradesh', + 'Assam', + 'Bihar', + 'Chhattisgarh', + 'Goa', + 'Gujarat', + 'Haryana', + 'Himachal Pradesh', + 'Jammu and Kashmir', + 'Jharkhand', + 'Karnataka', + 'Kerala', + 'Madhya Pradesh', + 'Maharashtra', + 'Manipur', + 'Meghalaya', + 'Mizoram', + 'Nagaland', + 'Odisha', + 'Punjab', + 'Rajasthan', + 'Sikkim', + 'Tamil Nadu', + 'Telangana', + 'Tripura', + 'Uttar Pradesh', + 'Uttarakhand', + 'West Bengal', + + // Union Territories + 'Andaman and Nicobar Islands', + 'Chandigarh', + 'Dadra and Nagar Haveli', + 'Daman and Diu', + 'Delhi', + 'Lakshadweep', + 'Puducherry', + ]; + + protected static $stateAbbr = [ + 'AP', + 'AR', + 'AS', + 'BR', + 'CG', + 'GA', + 'GJ', + 'HR', + 'HP', + 'JK', + 'JH', + 'KA', + 'KL', + 'MP', + 'MH', + 'MN', + 'ML', + 'MZ', + 'NL', + 'OD', + 'PB', + 'RJ', + 'SK', + 'TN', + 'TS', + 'TR', + 'UP', + 'UK', + 'WB', + 'AN', + 'CH', + 'DN', + 'DD', + 'DL', + 'LD', + 'PY', + ]; + + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + protected static $localityName = [ + 'Aundh', + 'Andheri', + 'Borivali', + 'Bandra', + 'Chinchwad', + 'Chandpole', + 'Churchgate', + 'Cyber City', + 'Dadar', + 'Deccan Gymkhana', + 'Goregaon', + 'Hadapsar', + 'Harmada', + 'Hinjewadi', + 'Kormangala', + 'Kharadi', + 'Marathahalli', + 'Model Town', + 'Mansarovar', + 'Malad', + 'Sodala', + 'Virar', + 'Vikhroli', + 'Yerwada', + 'Yeshwanthpura', + ]; + protected static $areaSuffix = [ + ' Nagar', + 'Pur', + 'Garh', + 'Gunj', + ' Chowk', + ]; + protected static $postcode = [ + '1#####', + '2#####', + '3#####', + '4#####', + '5#####', + ]; + protected static $localityFormats = [ + '{{firstName}}{{areaSuffix}}', + '{{localityName}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}} {{city}} - {{postcode}}', + ]; + protected static $societySuffix = [ + 'Society', + 'Apartments', + 'Heights', + 'Villas', + ]; + protected static $societyNameFormat = [ + '{{firstName}} {{societySuffix}}', + ]; + protected static $streetAddressFormats = [ + + '{{buildingNumber}}, {{locality}},', + '{{buildingNumber}}, {{societyName}}, {{locality}}', + ]; + + public function societySuffix() { + return static::randomElement( static::$societySuffix ); + } + + /** + * @example Shanti Apartments + */ + public function societyName() { + return $this->generator->parse( static::randomElement( static::$societyNameFormat ) ); + } + + /** + * @example Mumbai + */ + public function city() { + return static::randomElement( static::$city ); + } + + /** + * @example Vaishali Nagar + */ + public function locality() { + return $this->generator->parse( static::randomElement( static::$localityFormats ) ); + } + + /** + * @example Kharadi + */ + public function localityName() { + return $this->generator->parse( static::randomElement( static::$localityName ) ); + } + + /** + * @example Nagar + */ + public function areaSuffix() { + return static::randomElement( static::$areaSuffix ); + } + + /** + * @example 'Delhi' + */ + public static function state() { + return static::randomElement( static::$state ); + } + + /** + * @example 'DL' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Internet.php index a543535..c62ceb2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Internet.php @@ -2,8 +2,21 @@ namespace Faker\Provider\en_IN; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'yahoo.co.in', 'rediffmail.com']; - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'in', 'in', 'in', 'ac.in', 'net', 'org', 'co.in']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'yahoo.co.in', 'rediffmail.com' ]; + protected static $tld = [ + 'com', + 'com', + 'com', + 'com', + 'com', + 'com', + 'in', + 'in', + 'in', + 'ac.in', + 'net', + 'org', + 'co.in' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Person.php index 549349b..55f2c98 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_IN/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_IN/Person.php @@ -2,124 +2,1084 @@ namespace Faker\Provider\en_IN; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameMale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameMale}} {{lastName}}', + ]; - /** - * @see http://www.indiaonlinepages.com/babynames/ - */ - protected static $firstNameMale = [ - 'Aayushman', 'Amrit', 'Anand', 'Abhinav', 'Anil', 'Animesh', 'Arpit', 'Akhil', 'Ajinkya', 'Aniruddh', 'Arun', 'Atul', 'Ajay', 'Abhishek', 'Aditya', 'Ajeet', 'Akshay', 'Arjun', 'Arvind', 'Aadil', 'Aadish', 'Amir', 'Aarif', 'Aatif', 'Abbas', 'Abdul', 'Aslam', 'Azhar', 'Anees', 'Alex', 'Albert', - 'Bahadur', 'Baldev', 'Baalkrishan', 'Balaji', 'Bharat', 'Bhola', 'Bijoy', 'Binod', 'Biren', 'Bishnu', 'Baber', 'Binoya', 'Brock', - 'Chitranjan', 'Chirag', 'Chinmay', 'Charandeep', 'Chand', 'Charlie', - 'Deep', 'Dinesh', 'Devendra', 'Deepesh', 'Dhiraj', 'Darpan', 'Dhanush', 'Daanish', 'David', - 'Ekbal', 'Ehsaan', 'Elias', 'Emran', 'Eddie', - 'Fakaruddin', 'Faisal', 'Faraz', 'Fardeen', 'Feroz', - 'Ganesh', 'Govind', 'Giaan', 'Ghanshyam', 'Gaurav', 'Gauransh', 'Gajendra', 'Gulzar', 'Ghalib', - 'Hari', 'Himesh', 'Hemendra', 'Hanuman', 'Hetan', 'Hrishikesh', 'Himanshu', 'Habib', 'Hassan', 'Harbhajan', 'Harpreet', - 'Ibrahim', 'Iqbal', 'Ishat', - 'Jatin', 'Jagat', 'Jagdish', 'Jaswant', 'Jawahar', 'Jamshed', 'Javed', 'Jobin', 'Jack', 'John', - 'Kartik', 'Koushtubh', 'Kirti', 'Kushal', 'Kailash', 'Kalyan', 'Krishna', 'Kamlesh', 'Kalpit', 'Kabeer', 'Karim', - 'Lalit', 'Lakshmi', 'Labeen', - 'Mohan', 'Mukund', 'Mohan', 'Mohit', 'Manish', 'Moti', 'Mowgli', 'Mohanlal', 'Mitesh', 'Manoj', 'Monin', 'Mahmood', 'Malik', 'Mehul', 'Mustafa', 'Manpreet', 'Mukul', 'Munaf', 'Marlo', - 'Nitin', 'Nayan', 'Naresh', 'Neerendra', 'Nirmal', 'Narayan', 'Nakul', 'Naval', 'Natwar', 'Naseer', 'Nazir', 'Nawab', - 'Parveen', 'Pravin', 'Pranab', 'Prabhat', 'Pradeep', 'Prasoon', 'Preet', 'Pranay', 'Parvez', 'Pirzada', 'Peter', - 'Omar', 'Obaid', 'Owais', - 'Qabeel', 'Qabool', 'Qadim', - 'Radhe', 'Radheshyam', 'Raj', 'Raju', 'Rajendra', 'Rajesh', 'Ram', 'Ratan', 'Ram Gopal', 'Rupesh', 'Rupal', 'Ramesh', 'Ricky', 'Rehman', 'Rahim', 'Rashid', 'Raghavan', - 'Somnath', 'Sushant', 'Samir', 'Sumit', 'Shashank', 'Sirish', 'Satish', 'Saurabh', 'Subhash', 'Suraj', 'Surya', 'Sahil', 'Sohail', 'Satishwar', 'Srinivasan', 'Sharad', 'Sai', 'Siddharth', 'Sid', 'Suresh', - 'Tarun', 'Tanay', 'Tushar', 'Tabeed', 'Taahid', - 'Umesh', 'Uday', 'Ujwal', 'Umar', 'Usman', - 'Vivek', 'Vijay', 'Vikrant', 'Vijayent', 'Vicky', 'Varun', 'Virat', 'Venkat', - 'Wahid', 'Wafiq', 'Wafa', - 'Yadu', 'Yadunandan', 'Yash', 'Yogesh', - 'Zaad', 'Zahir', 'Zeeshan', - ]; + /** + * @see http://www.indiaonlinepages.com/babynames/ + */ + protected static $firstNameMale = [ + 'Aayushman', + 'Amrit', + 'Anand', + 'Abhinav', + 'Anil', + 'Animesh', + 'Arpit', + 'Akhil', + 'Ajinkya', + 'Aniruddh', + 'Arun', + 'Atul', + 'Ajay', + 'Abhishek', + 'Aditya', + 'Ajeet', + 'Akshay', + 'Arjun', + 'Arvind', + 'Aadil', + 'Aadish', + 'Amir', + 'Aarif', + 'Aatif', + 'Abbas', + 'Abdul', + 'Aslam', + 'Azhar', + 'Anees', + 'Alex', + 'Albert', + 'Bahadur', + 'Baldev', + 'Baalkrishan', + 'Balaji', + 'Bharat', + 'Bhola', + 'Bijoy', + 'Binod', + 'Biren', + 'Bishnu', + 'Baber', + 'Binoya', + 'Brock', + 'Chitranjan', + 'Chirag', + 'Chinmay', + 'Charandeep', + 'Chand', + 'Charlie', + 'Deep', + 'Dinesh', + 'Devendra', + 'Deepesh', + 'Dhiraj', + 'Darpan', + 'Dhanush', + 'Daanish', + 'David', + 'Ekbal', + 'Ehsaan', + 'Elias', + 'Emran', + 'Eddie', + 'Fakaruddin', + 'Faisal', + 'Faraz', + 'Fardeen', + 'Feroz', + 'Ganesh', + 'Govind', + 'Giaan', + 'Ghanshyam', + 'Gaurav', + 'Gauransh', + 'Gajendra', + 'Gulzar', + 'Ghalib', + 'Hari', + 'Himesh', + 'Hemendra', + 'Hanuman', + 'Hetan', + 'Hrishikesh', + 'Himanshu', + 'Habib', + 'Hassan', + 'Harbhajan', + 'Harpreet', + 'Ibrahim', + 'Iqbal', + 'Ishat', + 'Jatin', + 'Jagat', + 'Jagdish', + 'Jaswant', + 'Jawahar', + 'Jamshed', + 'Javed', + 'Jobin', + 'Jack', + 'John', + 'Kartik', + 'Koushtubh', + 'Kirti', + 'Kushal', + 'Kailash', + 'Kalyan', + 'Krishna', + 'Kamlesh', + 'Kalpit', + 'Kabeer', + 'Karim', + 'Lalit', + 'Lakshmi', + 'Labeen', + 'Mohan', + 'Mukund', + 'Mohan', + 'Mohit', + 'Manish', + 'Moti', + 'Mowgli', + 'Mohanlal', + 'Mitesh', + 'Manoj', + 'Monin', + 'Mahmood', + 'Malik', + 'Mehul', + 'Mustafa', + 'Manpreet', + 'Mukul', + 'Munaf', + 'Marlo', + 'Nitin', + 'Nayan', + 'Naresh', + 'Neerendra', + 'Nirmal', + 'Narayan', + 'Nakul', + 'Naval', + 'Natwar', + 'Naseer', + 'Nazir', + 'Nawab', + 'Parveen', + 'Pravin', + 'Pranab', + 'Prabhat', + 'Pradeep', + 'Prasoon', + 'Preet', + 'Pranay', + 'Parvez', + 'Pirzada', + 'Peter', + 'Omar', + 'Obaid', + 'Owais', + 'Qabeel', + 'Qabool', + 'Qadim', + 'Radhe', + 'Radheshyam', + 'Raj', + 'Raju', + 'Rajendra', + 'Rajesh', + 'Ram', + 'Ratan', + 'Ram Gopal', + 'Rupesh', + 'Rupal', + 'Ramesh', + 'Ricky', + 'Rehman', + 'Rahim', + 'Rashid', + 'Raghavan', + 'Somnath', + 'Sushant', + 'Samir', + 'Sumit', + 'Shashank', + 'Sirish', + 'Satish', + 'Saurabh', + 'Subhash', + 'Suraj', + 'Surya', + 'Sahil', + 'Sohail', + 'Satishwar', + 'Srinivasan', + 'Sharad', + 'Sai', + 'Siddharth', + 'Sid', + 'Suresh', + 'Tarun', + 'Tanay', + 'Tushar', + 'Tabeed', + 'Taahid', + 'Umesh', + 'Uday', + 'Ujwal', + 'Umar', + 'Usman', + 'Vivek', + 'Vijay', + 'Vikrant', + 'Vijayent', + 'Vicky', + 'Varun', + 'Virat', + 'Venkat', + 'Wahid', + 'Wafiq', + 'Wafa', + 'Yadu', + 'Yadunandan', + 'Yash', + 'Yogesh', + 'Zaad', + 'Zahir', + 'Zeeshan', + ]; - protected static $firstNameFemale = [ - 'Aabha', 'Aarti', 'Aarushi', 'Aastha', 'Aayushi', 'Aditi', 'Afreen', 'Aisha', 'Aishwarya', 'Akanksha', 'Akhila', 'Alaknanda', 'Alka', 'Alpa', 'Anshu', 'Ambika', 'Ananya', 'Amrita', 'Amolika', 'Anjana', 'Ankita', 'Anshula', 'Anusha', 'Aruna', 'Astha', 'Avantika', - 'Babita', 'Basanti', 'Bagwati', 'Bhaagyasree', 'Bhairavi', 'Bhanupriya', 'Binita', 'Bimla', - 'Chameli', 'Charu', 'Chhavi', 'Chitra', 'Chhaya', 'Chandni', - 'Damini', 'Devika', 'Dipti', 'Divya', 'Drishti', 'Diya', - 'Esha', - 'Falguni', 'Farah', 'Fatima', - 'Gayatri', 'Geetanjali', 'Gowri', 'Gulab', 'Gunjan', - 'Heena', 'Heer', 'Hema', 'Himani', 'Hira', 'Hina', - 'Indrani', 'Isha', 'Indira', - 'Jagruti', 'Jasmin', 'Jayshree', 'Jiya', 'Juhi', 'Jyoti', 'Julie', - 'Kalpana', 'Kalyani', 'Kamini', 'Kasturi', 'Kiran', 'Komal', 'Kusum', 'Krishna', 'Kanika', 'Kasturba', 'Kunti', 'Kajal', 'Kajol', 'Kirti', 'Kim', - 'Lata', 'Lalita', 'Leela', 'Leelawati', 'Lakshmi', 'Laveena', - 'Madhu', 'Madhavi', 'Maya', 'Mayawati', 'Megha', 'Mona', 'Mridula', 'Mukti', 'Meghana', 'Manjari', 'Mukti', 'Mini', 'Munni', 'Monica', - 'Nagma', 'Naina', 'Nalini', 'Namita', 'Nancy', 'Nandini', 'Namita', 'Narmada', 'Neela', 'Neha', 'Nidhi', 'Nikita', 'Nilam', 'Nilima', 'Nishi', 'Nishita', 'Nupoor', 'Nutan', 'Nitika', 'Niyati', 'Nupur', 'Navami', 'Nishtha', - 'Padama', 'Padmini', 'Payal', 'Poonam', 'Prabha', 'Priyanka', 'Pushpa', 'Pooja', 'Prerna', 'Pamela', 'Pinky', 'Parminder', 'Preshita', - 'Radha', 'Radhika', 'Ragini', 'Rakhi', 'Richa', 'Riddhi', 'Ritika', 'Riya', 'Rohini', 'Roma', 'Ruchi', 'Rachel', 'Rita', 'Rosey', 'Rimi', 'Runjhun', - 'Sabina', 'Sameera', 'Sameedha', 'Sapna', 'Sara', 'Seema', 'Shanti', 'Sheetal', 'Shobha', 'Savita', 'Smriti', 'Sneha', 'Sona', 'Sunita', 'Supriya', 'Sushmita', 'Swati', 'Sweta', 'Shweta', 'Sukriti', - 'Tanuja', 'Tejaswani', 'Tulsi', 'Trishana', 'Teena', - 'Uma', 'Urmi', 'Urmila', 'Urvashi', 'Usha', 'Upasana', - 'Vineeta', 'Vimala', 'Veena', 'Vaishali', - 'Yamini', 'Yasmin', - 'Zeenat', 'Zara', - ]; + protected static $firstNameFemale = [ + 'Aabha', + 'Aarti', + 'Aarushi', + 'Aastha', + 'Aayushi', + 'Aditi', + 'Afreen', + 'Aisha', + 'Aishwarya', + 'Akanksha', + 'Akhila', + 'Alaknanda', + 'Alka', + 'Alpa', + 'Anshu', + 'Ambika', + 'Ananya', + 'Amrita', + 'Amolika', + 'Anjana', + 'Ankita', + 'Anshula', + 'Anusha', + 'Aruna', + 'Astha', + 'Avantika', + 'Babita', + 'Basanti', + 'Bagwati', + 'Bhaagyasree', + 'Bhairavi', + 'Bhanupriya', + 'Binita', + 'Bimla', + 'Chameli', + 'Charu', + 'Chhavi', + 'Chitra', + 'Chhaya', + 'Chandni', + 'Damini', + 'Devika', + 'Dipti', + 'Divya', + 'Drishti', + 'Diya', + 'Esha', + 'Falguni', + 'Farah', + 'Fatima', + 'Gayatri', + 'Geetanjali', + 'Gowri', + 'Gulab', + 'Gunjan', + 'Heena', + 'Heer', + 'Hema', + 'Himani', + 'Hira', + 'Hina', + 'Indrani', + 'Isha', + 'Indira', + 'Jagruti', + 'Jasmin', + 'Jayshree', + 'Jiya', + 'Juhi', + 'Jyoti', + 'Julie', + 'Kalpana', + 'Kalyani', + 'Kamini', + 'Kasturi', + 'Kiran', + 'Komal', + 'Kusum', + 'Krishna', + 'Kanika', + 'Kasturba', + 'Kunti', + 'Kajal', + 'Kajol', + 'Kirti', + 'Kim', + 'Lata', + 'Lalita', + 'Leela', + 'Leelawati', + 'Lakshmi', + 'Laveena', + 'Madhu', + 'Madhavi', + 'Maya', + 'Mayawati', + 'Megha', + 'Mona', + 'Mridula', + 'Mukti', + 'Meghana', + 'Manjari', + 'Mukti', + 'Mini', + 'Munni', + 'Monica', + 'Nagma', + 'Naina', + 'Nalini', + 'Namita', + 'Nancy', + 'Nandini', + 'Namita', + 'Narmada', + 'Neela', + 'Neha', + 'Nidhi', + 'Nikita', + 'Nilam', + 'Nilima', + 'Nishi', + 'Nishita', + 'Nupoor', + 'Nutan', + 'Nitika', + 'Niyati', + 'Nupur', + 'Navami', + 'Nishtha', + 'Padama', + 'Padmini', + 'Payal', + 'Poonam', + 'Prabha', + 'Priyanka', + 'Pushpa', + 'Pooja', + 'Prerna', + 'Pamela', + 'Pinky', + 'Parminder', + 'Preshita', + 'Radha', + 'Radhika', + 'Ragini', + 'Rakhi', + 'Richa', + 'Riddhi', + 'Ritika', + 'Riya', + 'Rohini', + 'Roma', + 'Ruchi', + 'Rachel', + 'Rita', + 'Rosey', + 'Rimi', + 'Runjhun', + 'Sabina', + 'Sameera', + 'Sameedha', + 'Sapna', + 'Sara', + 'Seema', + 'Shanti', + 'Sheetal', + 'Shobha', + 'Savita', + 'Smriti', + 'Sneha', + 'Sona', + 'Sunita', + 'Supriya', + 'Sushmita', + 'Swati', + 'Sweta', + 'Shweta', + 'Sukriti', + 'Tanuja', + 'Tejaswani', + 'Tulsi', + 'Trishana', + 'Teena', + 'Uma', + 'Urmi', + 'Urmila', + 'Urvashi', + 'Usha', + 'Upasana', + 'Vineeta', + 'Vimala', + 'Veena', + 'Vaishali', + 'Yamini', + 'Yasmin', + 'Zeenat', + 'Zara', + ]; - /** - * @see http://genealogy.familyeducation.com/browse/origin/indian - */ - protected static $lastName = [ - 'Acharya', 'Agarwal', 'Agate', 'Aggarwal', 'Agrawal', 'Ahluwalia', 'Ahuja', 'Amble', 'Amin', 'Anand', 'Andra', 'Anne', 'Anthony', 'Apte', 'Arora', 'Arya', 'Atwal', 'Aurora', - 'Babu', 'Badal', 'Badami', 'Bahl', 'Bahri', 'Bail', 'Bains', 'Bajaj', 'Bajwa', 'Bakshi', 'Bal', 'Bala', 'Balakrishnan', 'Balan', 'Balasubramanian', 'Balay', 'Bali', 'Bandi', 'Banerjee', 'Banik', 'Bansal', 'Barad', 'Baral', 'Baria', 'Barman', 'Basak', 'Bassi', 'Basu', 'Bath', 'Batra', 'Batta', 'Bava', 'Bawa', 'Bedi', 'Beharry', 'Behl', 'Ben', 'Bera', 'Bhagat', 'Bhakta', 'Bhalla', 'Bhandari', 'Bhardwaj', 'Bhargava', 'Bhasin', 'Bhat', 'Bhatia', 'Bhatnagar', 'Bhatt', 'Bhattacharyya', 'Bhatti', 'Bhavsar', 'Bir', 'Biswas', 'Biyani', 'Binnani', 'Boase', 'Bobal', 'Bora', 'Borah', 'Borde', 'Borra', 'Bose', 'Brahmbhatt', 'Brar', 'Buch', 'Bumb', 'Butala', - 'Chacko', 'Chad', 'Chada', 'Chadha', 'Chahal', 'Chakrabarti', 'Chakraborty', 'Chana', 'Chand', 'Chanda', 'Chander', 'Chandra', 'Chandran', 'Char', 'Chatterjee', 'Chaudhari', 'Chaudhary', 'Chaudhry', 'Chaudhuri', 'Chaudry', 'Chauhan', 'Chawla', 'Cheema', 'Cherian', 'Chhabra', 'Chia', 'Chohan', 'Chokshi', 'Chopra', 'Choudhary', 'Choudhry', 'Choudhury', 'Chowdhury', 'Comar', 'Contractor', - 'Dad', 'Dada', 'Dalal', 'Dani', 'Dar', 'Dara', 'Das', 'Dasgupta', 'Dash', 'Dass', 'Date', 'Datta', 'Dave', 'Dayal', 'De', 'Deep', 'Deo', 'Deol', 'Desai', 'Deshmukh', 'Deshpande', 'Devan', 'Devi', 'Dewan', 'Dey', 'Dhaliwal', 'Dhar', 'Dhawan', 'Dhillon', 'Dhingra', 'Dial', 'Din', 'Divan', 'Dixit', 'Doctor', 'Dodiya', 'Dora', 'Doshi', 'Dua', 'Dube', 'Dubey', 'Dugal', 'Dugar', 'Dutt', 'Dutta', 'D’Alia', 'Dyal', - 'Edwin', - 'Gaba', 'Gade', 'Gagrani', 'Gala', 'Gandhi', 'Ganesan', 'Ganesh', 'Ganguly', 'Gara', 'Garde', 'Garg', 'George', 'Gera', 'Ghose', 'Ghosh', 'Gill', 'Gobin', 'Goda', 'Goel', 'Gokhale', 'Gola', 'Gole', 'Golla', 'Gopal', 'Goswami', 'Gour', 'Goyal', 'Grewal', 'Grover', 'Guha', 'Gulati', 'Gupta', - 'Halder', 'Handa', 'Hans', 'Hari', 'Harjo', 'Hayer', 'Hayre', 'Hegde', 'Hora', - 'Inani', 'Issac', 'Iyengar', 'Iyer', - 'Jacob', 'Jaggi', 'Jain', 'Jani', 'Jayaraman', 'Jha', 'Jhaveri', 'Johal', 'Joshi', - 'Kabra', 'Kadakia', 'Kade', 'Kakar', 'Kala', 'Kale', 'Kalita', 'Kalla', 'Kamdar', 'Kanda', 'Kannan', 'Kant', 'Kapadia', 'Kapoor', 'Kapur', 'Kar', 'Kara', 'Karan', 'Kari', 'Karnik', 'Karpe', 'Kashyap', 'Kata', 'Kaul', 'Kaur', 'Keer', 'Khalsa', 'Khan', 'Khanna', 'Khare', 'Khatri', 'Khosla', 'Khurana', 'Kibe', 'Kohli', 'Konda', 'Korpal', 'Koshy', 'Kota', 'Kothari', 'Krish', 'Krishna', 'Krishnamurthy', 'Krishnan', 'Kulkarni', 'Kumar', 'Kumer', 'Kunda', 'Kurian', 'Kuruvilla', - 'Lachman', 'Lad', 'Lal', 'Lala', 'Lall', 'Lalla', 'Lanka', 'Lata', 'Lodi', 'Loke', 'Loyal', 'Luthra', - 'Madan', 'Magar', 'Mahabir', 'Mahadeo', 'Mahajan', 'Mahal', 'Maharaj', 'Maheshwari', 'Majumdar', 'Malhotra', 'Mall', 'Mallick', 'Malpani', 'Mammen', 'Mand', 'Manda', 'Mandal', 'Mander', 'Mane', 'Mangal', 'Mangat', 'Mani', 'Mann', 'Mannan', 'Manne', 'Maraj', 'Masih', 'Master', 'Mathai', 'Mathew', 'Mathur', 'Matthai', 'Meda', 'Mehan', 'Mehra', 'Mehrotra', 'Mehta', 'Meka', 'Memon', 'Menon', 'Merchant', 'Minhas', 'Mishra', 'Misra', 'Mistry', 'Mital', 'Mitra', 'Mittal', 'Mitter', 'Modi', 'Mody', 'Mogul', 'Mohabir', 'Mohan', 'Mohanty', 'Morar', 'More', 'Mukherjee', 'Mukhopadhyay', 'Muni', 'Munshi', 'Murthy', 'Murty', 'Mutti', - 'Nadig', 'Nadkarni', 'Nagar', 'Nagarajan', 'Nagi', 'Nagy', 'Naidu', 'Naik', 'Nair', 'Nanda', 'Narain', 'Narang', 'Narasimhan', 'Narayan', 'Narayanan', 'Narine', 'Naruka', 'Narula', 'Natarajan', 'Nath', 'Natt', 'Nawal', 'Nayak', 'Nayar', 'Nazareth', 'Nigam', 'Nori', - 'Oak', 'Om', 'Oommen', 'Oza', - 'Padmanabhan', 'Pai', 'Pal', 'Palan', 'Pall', 'Palla', 'Panchal', 'Pandey', 'Pandit', 'Pandya', 'Pant', 'Pardeshi', 'Parekh', 'Parikh', 'Parmar', 'Parmer', 'Parsa', 'Patel', 'Pathak', 'Patil', 'Patla', 'Pau', 'Peri', 'Persad', 'Persaud', 'Philip', 'Pillai', 'Pillay', 'Pingle', 'Prabhakar', 'Prabhu', 'Pradhan', 'Prakash', 'Prasad', 'Prashad', 'Puri', 'Purohit', - 'Radhakrishnan', 'Raghavan', 'Rai', 'Raj', 'Raja', 'Rajagopal', 'Rajagopalan', 'Rajan', 'Raju', 'Ram', 'Rama', 'Ramachandran', 'Ramakrishnan', 'Raman', 'Ramanathan', 'Ramaswamy', 'Ramesh', 'Ramkissoon', 'Ramnarine', 'Rampersad', 'Rampersaud', 'Ramroop', 'Ramson', 'Rana', 'Randhawa', 'Ranganathan', 'Rao', 'Rastogi', 'Ratta', 'Rattan', 'Ratti', 'Rau', 'Raval', 'Ravel', 'Ravi', 'Ray', 'Reddy', 'Rege', 'Rout', 'Roy', - 'Sabharwal', 'Sachar', 'Sachdev', 'Sachdeva', 'Sagar', 'Saha', 'Sahni', 'Sahota', 'Saini', 'Salvi', 'Sama', 'Sami', 'Sampath', 'Samra', 'Samuel', 'Sandal', 'Sandhu', 'Sane', 'Sangha', 'Sanghvi', 'Sani', 'Sankar', 'Sankaran', 'Sant', 'Saraf', 'Saran', 'Sarin', 'Sarkar', 'Sarma', 'Sarna', 'Sarraf', 'Sastry', 'Sathe', 'Savant', 'Sawhney', 'Saxena', 'Sehgal', 'Sekhon', 'Sem', 'Sen', 'Sengupta', 'Seshadri', 'Seth', 'Sethi', 'Setty', 'Sha', 'Shah', 'Shan', 'Shankar', 'Shanker', 'Sharaf', 'Sharma', 'Shenoy', 'Shere', 'Sheth', 'Shetty', 'Shroff', 'Shukla', 'Sibal', 'Sidhu', 'Sing', 'Singh', 'Singhal', 'Sinha', 'Sodhi', 'Solanki', 'Som', 'Soman', 'Somani', 'Sodhani', 'Soni', 'Sood', 'Sridhar', 'Srinivas', 'Srinivasan', 'Srivastava', 'Subramaniam', 'Subramanian', 'Sule', 'Sundaram', 'Sunder', 'Sur', 'Sura', 'Surana', 'Suresh', 'Suri', 'Swaminathan', 'Swamy', - 'Tailor', 'Tak', 'Talwar', 'Tandon', 'Taneja', 'Tank', 'Tara', 'Tata', 'Tella', 'Thaker', 'Thakkar', 'Thakur', 'Thaman', 'Thomas', 'Tiwari', 'Toor', 'Tripathi', 'Trivedi', - 'Upadhyay', 'Uppal', 'Usman', - 'Vaidya', 'Vala', 'Varghese', 'Varkey', 'Varma', 'Varty', 'Varughese', 'Vasa', 'Venkataraman', 'Venkatesh', 'Verma', 'Vig', 'Virk', 'Viswanathan', 'Vohra', 'Vora', 'Vyas', - 'Wable', 'Wadhwa', 'Wagle', 'Wali', 'Walia', 'Walla', 'Warrior', 'Wason', - 'Yadav', 'Yogi', 'Yohannan', - 'Zacharia', 'Zachariah', - ]; + /** + * @see http://genealogy.familyeducation.com/browse/origin/indian + */ + protected static $lastName = [ + 'Acharya', + 'Agarwal', + 'Agate', + 'Aggarwal', + 'Agrawal', + 'Ahluwalia', + 'Ahuja', + 'Amble', + 'Amin', + 'Anand', + 'Andra', + 'Anne', + 'Anthony', + 'Apte', + 'Arora', + 'Arya', + 'Atwal', + 'Aurora', + 'Babu', + 'Badal', + 'Badami', + 'Bahl', + 'Bahri', + 'Bail', + 'Bains', + 'Bajaj', + 'Bajwa', + 'Bakshi', + 'Bal', + 'Bala', + 'Balakrishnan', + 'Balan', + 'Balasubramanian', + 'Balay', + 'Bali', + 'Bandi', + 'Banerjee', + 'Banik', + 'Bansal', + 'Barad', + 'Baral', + 'Baria', + 'Barman', + 'Basak', + 'Bassi', + 'Basu', + 'Bath', + 'Batra', + 'Batta', + 'Bava', + 'Bawa', + 'Bedi', + 'Beharry', + 'Behl', + 'Ben', + 'Bera', + 'Bhagat', + 'Bhakta', + 'Bhalla', + 'Bhandari', + 'Bhardwaj', + 'Bhargava', + 'Bhasin', + 'Bhat', + 'Bhatia', + 'Bhatnagar', + 'Bhatt', + 'Bhattacharyya', + 'Bhatti', + 'Bhavsar', + 'Bir', + 'Biswas', + 'Biyani', + 'Binnani', + 'Boase', + 'Bobal', + 'Bora', + 'Borah', + 'Borde', + 'Borra', + 'Bose', + 'Brahmbhatt', + 'Brar', + 'Buch', + 'Bumb', + 'Butala', + 'Chacko', + 'Chad', + 'Chada', + 'Chadha', + 'Chahal', + 'Chakrabarti', + 'Chakraborty', + 'Chana', + 'Chand', + 'Chanda', + 'Chander', + 'Chandra', + 'Chandran', + 'Char', + 'Chatterjee', + 'Chaudhari', + 'Chaudhary', + 'Chaudhry', + 'Chaudhuri', + 'Chaudry', + 'Chauhan', + 'Chawla', + 'Cheema', + 'Cherian', + 'Chhabra', + 'Chia', + 'Chohan', + 'Chokshi', + 'Chopra', + 'Choudhary', + 'Choudhry', + 'Choudhury', + 'Chowdhury', + 'Comar', + 'Contractor', + 'Dad', + 'Dada', + 'Dalal', + 'Dani', + 'Dar', + 'Dara', + 'Das', + 'Dasgupta', + 'Dash', + 'Dass', + 'Date', + 'Datta', + 'Dave', + 'Dayal', + 'De', + 'Deep', + 'Deo', + 'Deol', + 'Desai', + 'Deshmukh', + 'Deshpande', + 'Devan', + 'Devi', + 'Dewan', + 'Dey', + 'Dhaliwal', + 'Dhar', + 'Dhawan', + 'Dhillon', + 'Dhingra', + 'Dial', + 'Din', + 'Divan', + 'Dixit', + 'Doctor', + 'Dodiya', + 'Dora', + 'Doshi', + 'Dua', + 'Dube', + 'Dubey', + 'Dugal', + 'Dugar', + 'Dutt', + 'Dutta', + 'D’Alia', + 'Dyal', + 'Edwin', + 'Gaba', + 'Gade', + 'Gagrani', + 'Gala', + 'Gandhi', + 'Ganesan', + 'Ganesh', + 'Ganguly', + 'Gara', + 'Garde', + 'Garg', + 'George', + 'Gera', + 'Ghose', + 'Ghosh', + 'Gill', + 'Gobin', + 'Goda', + 'Goel', + 'Gokhale', + 'Gola', + 'Gole', + 'Golla', + 'Gopal', + 'Goswami', + 'Gour', + 'Goyal', + 'Grewal', + 'Grover', + 'Guha', + 'Gulati', + 'Gupta', + 'Halder', + 'Handa', + 'Hans', + 'Hari', + 'Harjo', + 'Hayer', + 'Hayre', + 'Hegde', + 'Hora', + 'Inani', + 'Issac', + 'Iyengar', + 'Iyer', + 'Jacob', + 'Jaggi', + 'Jain', + 'Jani', + 'Jayaraman', + 'Jha', + 'Jhaveri', + 'Johal', + 'Joshi', + 'Kabra', + 'Kadakia', + 'Kade', + 'Kakar', + 'Kala', + 'Kale', + 'Kalita', + 'Kalla', + 'Kamdar', + 'Kanda', + 'Kannan', + 'Kant', + 'Kapadia', + 'Kapoor', + 'Kapur', + 'Kar', + 'Kara', + 'Karan', + 'Kari', + 'Karnik', + 'Karpe', + 'Kashyap', + 'Kata', + 'Kaul', + 'Kaur', + 'Keer', + 'Khalsa', + 'Khan', + 'Khanna', + 'Khare', + 'Khatri', + 'Khosla', + 'Khurana', + 'Kibe', + 'Kohli', + 'Konda', + 'Korpal', + 'Koshy', + 'Kota', + 'Kothari', + 'Krish', + 'Krishna', + 'Krishnamurthy', + 'Krishnan', + 'Kulkarni', + 'Kumar', + 'Kumer', + 'Kunda', + 'Kurian', + 'Kuruvilla', + 'Lachman', + 'Lad', + 'Lal', + 'Lala', + 'Lall', + 'Lalla', + 'Lanka', + 'Lata', + 'Lodi', + 'Loke', + 'Loyal', + 'Luthra', + 'Madan', + 'Magar', + 'Mahabir', + 'Mahadeo', + 'Mahajan', + 'Mahal', + 'Maharaj', + 'Maheshwari', + 'Majumdar', + 'Malhotra', + 'Mall', + 'Mallick', + 'Malpani', + 'Mammen', + 'Mand', + 'Manda', + 'Mandal', + 'Mander', + 'Mane', + 'Mangal', + 'Mangat', + 'Mani', + 'Mann', + 'Mannan', + 'Manne', + 'Maraj', + 'Masih', + 'Master', + 'Mathai', + 'Mathew', + 'Mathur', + 'Matthai', + 'Meda', + 'Mehan', + 'Mehra', + 'Mehrotra', + 'Mehta', + 'Meka', + 'Memon', + 'Menon', + 'Merchant', + 'Minhas', + 'Mishra', + 'Misra', + 'Mistry', + 'Mital', + 'Mitra', + 'Mittal', + 'Mitter', + 'Modi', + 'Mody', + 'Mogul', + 'Mohabir', + 'Mohan', + 'Mohanty', + 'Morar', + 'More', + 'Mukherjee', + 'Mukhopadhyay', + 'Muni', + 'Munshi', + 'Murthy', + 'Murty', + 'Mutti', + 'Nadig', + 'Nadkarni', + 'Nagar', + 'Nagarajan', + 'Nagi', + 'Nagy', + 'Naidu', + 'Naik', + 'Nair', + 'Nanda', + 'Narain', + 'Narang', + 'Narasimhan', + 'Narayan', + 'Narayanan', + 'Narine', + 'Naruka', + 'Narula', + 'Natarajan', + 'Nath', + 'Natt', + 'Nawal', + 'Nayak', + 'Nayar', + 'Nazareth', + 'Nigam', + 'Nori', + 'Oak', + 'Om', + 'Oommen', + 'Oza', + 'Padmanabhan', + 'Pai', + 'Pal', + 'Palan', + 'Pall', + 'Palla', + 'Panchal', + 'Pandey', + 'Pandit', + 'Pandya', + 'Pant', + 'Pardeshi', + 'Parekh', + 'Parikh', + 'Parmar', + 'Parmer', + 'Parsa', + 'Patel', + 'Pathak', + 'Patil', + 'Patla', + 'Pau', + 'Peri', + 'Persad', + 'Persaud', + 'Philip', + 'Pillai', + 'Pillay', + 'Pingle', + 'Prabhakar', + 'Prabhu', + 'Pradhan', + 'Prakash', + 'Prasad', + 'Prashad', + 'Puri', + 'Purohit', + 'Radhakrishnan', + 'Raghavan', + 'Rai', + 'Raj', + 'Raja', + 'Rajagopal', + 'Rajagopalan', + 'Rajan', + 'Raju', + 'Ram', + 'Rama', + 'Ramachandran', + 'Ramakrishnan', + 'Raman', + 'Ramanathan', + 'Ramaswamy', + 'Ramesh', + 'Ramkissoon', + 'Ramnarine', + 'Rampersad', + 'Rampersaud', + 'Ramroop', + 'Ramson', + 'Rana', + 'Randhawa', + 'Ranganathan', + 'Rao', + 'Rastogi', + 'Ratta', + 'Rattan', + 'Ratti', + 'Rau', + 'Raval', + 'Ravel', + 'Ravi', + 'Ray', + 'Reddy', + 'Rege', + 'Rout', + 'Roy', + 'Sabharwal', + 'Sachar', + 'Sachdev', + 'Sachdeva', + 'Sagar', + 'Saha', + 'Sahni', + 'Sahota', + 'Saini', + 'Salvi', + 'Sama', + 'Sami', + 'Sampath', + 'Samra', + 'Samuel', + 'Sandal', + 'Sandhu', + 'Sane', + 'Sangha', + 'Sanghvi', + 'Sani', + 'Sankar', + 'Sankaran', + 'Sant', + 'Saraf', + 'Saran', + 'Sarin', + 'Sarkar', + 'Sarma', + 'Sarna', + 'Sarraf', + 'Sastry', + 'Sathe', + 'Savant', + 'Sawhney', + 'Saxena', + 'Sehgal', + 'Sekhon', + 'Sem', + 'Sen', + 'Sengupta', + 'Seshadri', + 'Seth', + 'Sethi', + 'Setty', + 'Sha', + 'Shah', + 'Shan', + 'Shankar', + 'Shanker', + 'Sharaf', + 'Sharma', + 'Shenoy', + 'Shere', + 'Sheth', + 'Shetty', + 'Shroff', + 'Shukla', + 'Sibal', + 'Sidhu', + 'Sing', + 'Singh', + 'Singhal', + 'Sinha', + 'Sodhi', + 'Solanki', + 'Som', + 'Soman', + 'Somani', + 'Sodhani', + 'Soni', + 'Sood', + 'Sridhar', + 'Srinivas', + 'Srinivasan', + 'Srivastava', + 'Subramaniam', + 'Subramanian', + 'Sule', + 'Sundaram', + 'Sunder', + 'Sur', + 'Sura', + 'Surana', + 'Suresh', + 'Suri', + 'Swaminathan', + 'Swamy', + 'Tailor', + 'Tak', + 'Talwar', + 'Tandon', + 'Taneja', + 'Tank', + 'Tara', + 'Tata', + 'Tella', + 'Thaker', + 'Thakkar', + 'Thakur', + 'Thaman', + 'Thomas', + 'Tiwari', + 'Toor', + 'Tripathi', + 'Trivedi', + 'Upadhyay', + 'Uppal', + 'Usman', + 'Vaidya', + 'Vala', + 'Varghese', + 'Varkey', + 'Varma', + 'Varty', + 'Varughese', + 'Vasa', + 'Venkataraman', + 'Venkatesh', + 'Verma', + 'Vig', + 'Virk', + 'Viswanathan', + 'Vohra', + 'Vora', + 'Vyas', + 'Wable', + 'Wadhwa', + 'Wagle', + 'Wali', + 'Walia', + 'Walla', + 'Warrior', + 'Wason', + 'Yadav', + 'Yogi', + 'Yohannan', + 'Zacharia', + 'Zachariah', + ]; - /** - * @see http://www.indianchild.com/indian_middle_names.htm - */ - protected static $middleNameMale = [ - 'Dev', 'Chandra', 'Kumar', 'Lal', 'Prasad', 'Raj', 'Singh', 'Rao', 'Ram', 'Pratap', 'Bhai', - ]; + /** + * @see http://www.indianchild.com/indian_middle_names.htm + */ + protected static $middleNameMale = [ + 'Dev', + 'Chandra', + 'Kumar', + 'Lal', + 'Prasad', + 'Raj', + 'Singh', + 'Rao', + 'Ram', + 'Pratap', + 'Bhai', + ]; - /** - * Return male middle name - * - * @example 'Kumar' - * - * @return string Middle name - */ - public function middleNameMale() - { - return static::randomElement(static::$middleNameMale); - } + /** + * Return male middle name + * + * @return string Middle name + * @example 'Kumar' + * + */ + public function middleNameMale() { + return static::randomElement( static::$middleNameMale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_IN/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_IN/PhoneNumber.php index fcef913..6693a68 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_IN/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_IN/PhoneNumber.php @@ -2,36 +2,34 @@ namespace Faker\Provider\en_IN; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+91 ## ########', - '+91 ### #######', - '0## ########', - '0### #######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+91 ## ########', + '+91 ### #######', + '0## ########', + '0### #######', + ]; - /** - * An array of en_IN mobile (cell) phone number formats - * - * @var array - */ - protected static $mobileFormats = [ - '+91 9#########', - '+91 8#########', - '+91 7#########', - '09#########', - '08#########', - '07#########', - ]; + /** + * An array of en_IN mobile (cell) phone number formats + * + * @var array + */ + protected static $mobileFormats = [ + '+91 9#########', + '+91 8#########', + '+91 7#########', + '09#########', + '08#########', + '07#########', + ]; - /** - * Return a en_IN mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a en_IN mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Address.php index be4731e..5889883 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Address.php @@ -2,97 +2,355 @@ namespace Faker\Provider\en_NG; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####', '## ###']; +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####', '## ###' ]; - private static $county = [ - 'Abuja', 'Abia', 'Adamawa', 'Akwa Ibom', 'Anambra', - 'Bauchi', 'Bayelsa', 'Benue', 'Borno', - 'Cross River', - 'Delta', - 'Ebonyi', 'Edo', 'Ekiti', 'Enugu', 'Gombe', - 'Imo', 'Jigawa', - 'Kaduna', 'Kano', 'Katsina', 'Kebbi', 'Kogi', 'Kwara', - 'Lagos', - 'Nasarawa', 'Niger', - 'Ogun', 'Ondo', 'Osun', 'Oyo', - 'Plateau', - 'Rivers', - 'Sokoto', - 'Taraba', - 'Yobe', - 'Zamfara', - ]; + private static $county = [ + 'Abuja', + 'Abia', + 'Adamawa', + 'Akwa Ibom', + 'Anambra', + 'Bauchi', + 'Bayelsa', + 'Benue', + 'Borno', + 'Cross River', + 'Delta', + 'Ebonyi', + 'Edo', + 'Ekiti', + 'Enugu', + 'Gombe', + 'Imo', + 'Jigawa', + 'Kaduna', + 'Kano', + 'Katsina', + 'Kebbi', + 'Kogi', + 'Kwara', + 'Lagos', + 'Nasarawa', + 'Niger', + 'Ogun', + 'Ondo', + 'Osun', + 'Oyo', + 'Plateau', + 'Rivers', + 'Sokoto', + 'Taraba', + 'Yobe', + 'Zamfara', + ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; - private static $regions = [ - 'Abakaliki', 'Abeokuta', 'Akure', 'Asaba', 'Awka', - 'Bauchi', - 'Calabar', 'City', - 'Damaturu', 'Dutse', - 'Ekiti', 'Enugu', - 'Gombe', 'Gusau', - 'Ibadan', 'Ikeja', 'Ilorin', - 'Jalingo', 'Jos', - 'Kaduna', 'Kano', 'Katsina', 'Kebbi', - 'Lafia', 'Lokoja', - 'Maiduguri', 'Makurdi', 'Minna', - 'Oshogbo', 'Owerri', - 'Port-Harcourt', - 'Sokoto', - 'Umuahia', 'Uyo', - 'Yenagoa', 'Yola', - ]; + private static $regions = [ + 'Abakaliki', + 'Abeokuta', + 'Akure', + 'Asaba', + 'Awka', + 'Bauchi', + 'Calabar', + 'City', + 'Damaturu', + 'Dutse', + 'Ekiti', + 'Enugu', + 'Gombe', + 'Gusau', + 'Ibadan', + 'Ikeja', + 'Ilorin', + 'Jalingo', + 'Jos', + 'Kaduna', + 'Kano', + 'Katsina', + 'Kebbi', + 'Lafia', + 'Lokoja', + 'Maiduguri', + 'Makurdi', + 'Minna', + 'Oshogbo', + 'Owerri', + 'Port-Harcourt', + 'Sokoto', + 'Umuahia', + 'Uyo', + 'Yenagoa', + 'Yola', + ]; - /** - * Randomly returns a Nigerian state or county. - * - * @example 'Lagos' - * - * @return string - */ - public static function county() - { - return static::randomElement(static::$county); - } + /** + * Randomly returns a Nigerian state or county. + * + * @return string + * @example 'Lagos' + * + */ + public static function county() { + return static::randomElement( static::$county ); + } - /** - * Randomly returns a Nigerian region of a state. - * - * @example 'Ikeja' - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$regions); - } + /** + * Randomly returns a Nigerian region of a state. + * + * @return string + * @example 'Ikeja' + * + */ + public static function region() { + return static::randomElement( static::$regions ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Internet.php index 5ee84aa..1ef1691 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Internet.php @@ -2,7 +2,6 @@ namespace Faker\Provider\en_NG; -class Internet extends \Faker\Provider\Internet -{ - protected static $tld = ['com.ng', 'com', 'ng', 'net', 'edu.ng', 'org', 'gov.ng', 'org.ng', 'biz', 'co']; +class Internet extends \Faker\Provider\Internet { + protected static $tld = [ 'com.ng', 'com', 'ng', 'net', 'edu.ng', 'org', 'gov.ng', 'org.ng', 'biz', 'co' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Person.php index 4932ea3..ba2e943 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NG/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NG/Person.php @@ -2,89 +2,299 @@ namespace Faker\Provider\en_NG; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', + ]; - /** - * An array of typical Nigerian male firstnames. - * - * @see https://andela-celisha-wigwe.github.io/names.html - */ - protected static $firstNameMale = [ - 'Abimbola', 'Abisola', 'Abisoye', 'Adeboye', 'Adedayo', 'Adegoke', 'Akande', 'Akanni', 'Alade', 'Ayinde', 'Azubuike', - 'Banji', 'Bankole', 'Buchi', 'Bukola', - 'Chinedu', 'Chisom', 'Chukwu', - 'Damilare', 'Damilola', 'Danjuma', - 'Ebiowei', 'Emeka', 'Emmanuel', 'Esse', - 'Funmilade', 'Funmilayo', - 'Gbeminiyi', 'Gbemisola', - 'Habiba', 'Ifeanyichukwu', - 'Ikenna', 'Ikhidie', 'Ireti', - 'Jadesola', 'Johnson', - 'Kayode', 'Kemi', 'Kubra', 'Kubura', - 'Lolade', - 'Makinwa', 'Mohammed', 'Musa', 'Muyiwa', - 'Nnamdi', - 'Olaide', 'Olufunmi', 'Olumide', 'Oluwunmi', 'Onoriode', - 'Remilekun', 'Rotimi', - 'Shade', 'Shalewa', 'Sname', - 'Tari', 'Temitope', 'Titilope', 'Tobiloba', 'Toke', 'Tomiloba', 'Tope', - 'Uzodimma', - 'Wale', - 'Yakubu', 'Yusuf', 'Yusuf', - ]; + /** + * An array of typical Nigerian male firstnames. + * + * @see https://andela-celisha-wigwe.github.io/names.html + */ + protected static $firstNameMale = [ + 'Abimbola', + 'Abisola', + 'Abisoye', + 'Adeboye', + 'Adedayo', + 'Adegoke', + 'Akande', + 'Akanni', + 'Alade', + 'Ayinde', + 'Azubuike', + 'Banji', + 'Bankole', + 'Buchi', + 'Bukola', + 'Chinedu', + 'Chisom', + 'Chukwu', + 'Damilare', + 'Damilola', + 'Danjuma', + 'Ebiowei', + 'Emeka', + 'Emmanuel', + 'Esse', + 'Funmilade', + 'Funmilayo', + 'Gbeminiyi', + 'Gbemisola', + 'Habiba', + 'Ifeanyichukwu', + 'Ikenna', + 'Ikhidie', + 'Ireti', + 'Jadesola', + 'Johnson', + 'Kayode', + 'Kemi', + 'Kubra', + 'Kubura', + 'Lolade', + 'Makinwa', + 'Mohammed', + 'Musa', + 'Muyiwa', + 'Nnamdi', + 'Olaide', + 'Olufunmi', + 'Olumide', + 'Oluwunmi', + 'Onoriode', + 'Remilekun', + 'Rotimi', + 'Shade', + 'Shalewa', + 'Sname', + 'Tari', + 'Temitope', + 'Titilope', + 'Tobiloba', + 'Toke', + 'Tomiloba', + 'Tope', + 'Uzodimma', + 'Wale', + 'Yakubu', + 'Yusuf', + 'Yusuf', + ]; - /** - * @see https://andela-celisha-wigwe.github.io/names.html - */ - protected static $firstNameFemale = [ - 'Adaugo', 'Akunna', 'Aminat', 'Aminu', 'Augustina', 'Ayebatari', - 'Cherechi', 'Chiamaka', 'Chimamanda', 'Chinyere', 'Chizoba', - 'Ebiere', 'Efe', - 'Fatima', 'Ifeoma', - 'Ifunanya', 'Isioma', - 'Jolayemi', - 'Lola', - 'Obioma', 'Omawunmi', 'Omolara', 'Onome', - 'Rasheedah', - 'Sekinat', 'Simisola', 'Sumayyah', - 'Titi', 'Titilayo', 'Toluwani', - 'Zainab', - ]; + /** + * @see https://andela-celisha-wigwe.github.io/names.html + */ + protected static $firstNameFemale = [ + 'Adaugo', + 'Akunna', + 'Aminat', + 'Aminu', + 'Augustina', + 'Ayebatari', + 'Cherechi', + 'Chiamaka', + 'Chimamanda', + 'Chinyere', + 'Chizoba', + 'Ebiere', + 'Efe', + 'Fatima', + 'Ifeoma', + 'Ifunanya', + 'Isioma', + 'Jolayemi', + 'Lola', + 'Obioma', + 'Omawunmi', + 'Omolara', + 'Onome', + 'Rasheedah', + 'Sekinat', + 'Simisola', + 'Sumayyah', + 'Titi', + 'Titilayo', + 'Toluwani', + 'Zainab', + ]; - /** - * @see https://andela-celisha-wigwe.github.io/names.html - */ - protected static $lastName = [ - 'Abiodun', 'Abiola', 'Abodunrin', 'Abosede', 'Adaobi', 'Adebayo', 'Adegboye', 'Adegoke', 'Ademayowa', 'Ademola', 'Adeniyan', 'Adeoluwa', 'Aderinsola', 'Aderonke', 'Adesina', 'Adewale', 'Adewale', 'Adewale', 'Adewunmi', 'Adewura', 'Adeyemo', 'Afolabi', 'Afunku', 'Agboola', 'Agboola', 'Agnes', 'Aigbiniode', 'Ajakaiye', 'Ajose-adeogun', 'Akeem-omosanya', 'Akerele', 'Akintade', 'Aligbe', 'Amaechi', 'Aminat', 'Aremu', 'Atanda', 'Ayisat', 'Ayobami', 'Ayomide', 'Ayomide', - 'Babalola', 'Babatunde', 'Balogun', 'Bamisebi', 'Bello', 'Busari', - 'Chibike', 'Chibuike', 'Chidinma', 'Chidozie', 'Christian', 'Clare', - 'David', 'David', - 'Ebubechukwu', 'Egbochukwu', 'Ehigiator', 'Ekwueme', 'Elebiyo', 'Elizabeth', 'Elizabeth', 'Elizabeth', 'Emmanuel', 'Emmanuel', 'Esther', - 'Funmilayo', - 'Gbadamosi', 'Gbogboade', 'Grace', - 'Habeeb', 'Hanifat', 'Isaac', - 'Ismail', 'Isokun', 'Israel', 'Iyalla', - 'Jamiu', 'Jimoh', 'Joshua', 'Justina', - 'Katherine', 'Kayode', 'Kayode', 'Kimberly', - 'Ladega', 'Latifat', 'Lawal', 'Leonard', - 'Makuachukwu', 'Maryam', 'Maryjane', 'Mayowa', 'Miracle', 'Mobolaji', 'Mogbadunade', 'Motalo', 'Muinat', 'Mukaram', 'Mustapha', 'Mutiat', - 'Ndukwu', 'Ngozi', 'Nojeem', 'Nwachukwu', 'Nwogu', 'Nwuzor', - 'Obiageli', 'Obianuju', 'Odunayo', 'Odunayo', 'Ogunbanwo', 'Ogunwande', 'Okonkwo', 'Okunola', 'Oladeji', 'Oladimeji', 'Olaoluwa', 'Olasunkanmi', 'Olasunkanmi-fasayo', 'Olawale', 'Olubukola', 'Olubunmi', 'Olufeyikemi', 'Olumide', 'Olutola', 'Oluwakemi', 'Oluwanisola', 'Oluwaseun', 'Oluwaseyi', 'Oluwashina', 'Oluwatosin', 'Omobolaji', 'Omobolanle', 'Omolara', 'Omowale', 'Onohinosen', 'Onose', 'Onyinyechukwu', 'Opeyemi', 'Osuagwu', 'Oyebola', 'Oyelude', 'Oyinkansola', - 'Peter', - 'Sabdat', 'Saheed', 'Salami', 'Samuel', 'Sanusi', 'Sarah', 'Segunmaru', 'Sekinat', 'Sulaimon', 'Sylvester', - 'Taiwo', 'Tamunoemi', 'Tella', 'Temitope', 'Tolulope', - 'Uchechi', - 'Wasiu', 'Wilcox', 'Wuraola', - 'Yaqub', 'Yussuf', - ]; + /** + * @see https://andela-celisha-wigwe.github.io/names.html + */ + protected static $lastName = [ + 'Abiodun', + 'Abiola', + 'Abodunrin', + 'Abosede', + 'Adaobi', + 'Adebayo', + 'Adegboye', + 'Adegoke', + 'Ademayowa', + 'Ademola', + 'Adeniyan', + 'Adeoluwa', + 'Aderinsola', + 'Aderonke', + 'Adesina', + 'Adewale', + 'Adewale', + 'Adewale', + 'Adewunmi', + 'Adewura', + 'Adeyemo', + 'Afolabi', + 'Afunku', + 'Agboola', + 'Agboola', + 'Agnes', + 'Aigbiniode', + 'Ajakaiye', + 'Ajose-adeogun', + 'Akeem-omosanya', + 'Akerele', + 'Akintade', + 'Aligbe', + 'Amaechi', + 'Aminat', + 'Aremu', + 'Atanda', + 'Ayisat', + 'Ayobami', + 'Ayomide', + 'Ayomide', + 'Babalola', + 'Babatunde', + 'Balogun', + 'Bamisebi', + 'Bello', + 'Busari', + 'Chibike', + 'Chibuike', + 'Chidinma', + 'Chidozie', + 'Christian', + 'Clare', + 'David', + 'David', + 'Ebubechukwu', + 'Egbochukwu', + 'Ehigiator', + 'Ekwueme', + 'Elebiyo', + 'Elizabeth', + 'Elizabeth', + 'Elizabeth', + 'Emmanuel', + 'Emmanuel', + 'Esther', + 'Funmilayo', + 'Gbadamosi', + 'Gbogboade', + 'Grace', + 'Habeeb', + 'Hanifat', + 'Isaac', + 'Ismail', + 'Isokun', + 'Israel', + 'Iyalla', + 'Jamiu', + 'Jimoh', + 'Joshua', + 'Justina', + 'Katherine', + 'Kayode', + 'Kayode', + 'Kimberly', + 'Ladega', + 'Latifat', + 'Lawal', + 'Leonard', + 'Makuachukwu', + 'Maryam', + 'Maryjane', + 'Mayowa', + 'Miracle', + 'Mobolaji', + 'Mogbadunade', + 'Motalo', + 'Muinat', + 'Mukaram', + 'Mustapha', + 'Mutiat', + 'Ndukwu', + 'Ngozi', + 'Nojeem', + 'Nwachukwu', + 'Nwogu', + 'Nwuzor', + 'Obiageli', + 'Obianuju', + 'Odunayo', + 'Odunayo', + 'Ogunbanwo', + 'Ogunwande', + 'Okonkwo', + 'Okunola', + 'Oladeji', + 'Oladimeji', + 'Olaoluwa', + 'Olasunkanmi', + 'Olasunkanmi-fasayo', + 'Olawale', + 'Olubukola', + 'Olubunmi', + 'Olufeyikemi', + 'Olumide', + 'Olutola', + 'Oluwakemi', + 'Oluwanisola', + 'Oluwaseun', + 'Oluwaseyi', + 'Oluwashina', + 'Oluwatosin', + 'Omobolaji', + 'Omobolanle', + 'Omolara', + 'Omowale', + 'Onohinosen', + 'Onose', + 'Onyinyechukwu', + 'Opeyemi', + 'Osuagwu', + 'Oyebola', + 'Oyelude', + 'Oyinkansola', + 'Peter', + 'Sabdat', + 'Saheed', + 'Salami', + 'Samuel', + 'Sanusi', + 'Sarah', + 'Segunmaru', + 'Sekinat', + 'Sulaimon', + 'Sylvester', + 'Taiwo', + 'Tamunoemi', + 'Tella', + 'Temitope', + 'Tolulope', + 'Uchechi', + 'Wasiu', + 'Wilcox', + 'Wuraola', + 'Yaqub', + 'Yussuf', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NG/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_NG/PhoneNumber.php index d27daea..d140e4e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NG/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NG/PhoneNumber.php @@ -2,132 +2,131 @@ namespace Faker\Provider\en_NG; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - // Local - '0703#######', - '0704#######', - '0705#######', - '0706#######', - '0707#######', - '0708#######', - '0709#######', - '0802#######', - '0803#######', - '0804#######', - '0805#######', - '0806#######', - '0807#######', - '0808#######', - '0809#######', - '0810#######', - '0811#######', - '0812#######', - '0813#######', - '0814#######', - '0815#######', - '0816#######', - '0817#######', - '0818#######', - '0819#######', - '0902#######', - '0903#######', - '0905#######', - '0908#######', - '0909#######', +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + // Local + '0703#######', + '0704#######', + '0705#######', + '0706#######', + '0707#######', + '0708#######', + '0709#######', + '0802#######', + '0803#######', + '0804#######', + '0805#######', + '0806#######', + '0807#######', + '0808#######', + '0809#######', + '0810#######', + '0811#######', + '0812#######', + '0813#######', + '0814#######', + '0815#######', + '0816#######', + '0817#######', + '0818#######', + '0819#######', + '0902#######', + '0903#######', + '0905#######', + '0908#######', + '0909#######', - '+234703#######', - '+234704#######', - '+234705#######', - '+234706#######', - '+234707#######', - '+234708#######', - '+234709#######', - '+234802#######', - '+234803#######', - '+234804#######', - '+234805#######', - '+234806#######', - '+234807#######', - '+234808#######', - '+234809#######', - '+234810#######', - '+234811#######', - '+234812#######', - '+234813#######', - '+234814#######', - '+234815#######', - '+234816#######', - '+234817#######', - '+234818#######', - '+234819#######', - '+234902#######', - '+234903#######', - '+234905#######', - '+234908#######', - '+234909#######', + '+234703#######', + '+234704#######', + '+234705#######', + '+234706#######', + '+234707#######', + '+234708#######', + '+234709#######', + '+234802#######', + '+234803#######', + '+234804#######', + '+234805#######', + '+234806#######', + '+234807#######', + '+234808#######', + '+234809#######', + '+234810#######', + '+234811#######', + '+234812#######', + '+234813#######', + '+234814#######', + '+234815#######', + '+234816#######', + '+234817#######', + '+234818#######', + '+234819#######', + '+234902#######', + '+234903#######', + '+234905#######', + '+234908#######', + '+234909#######', - '0703 ### ####', - '0704 ### ####', - '0705 ### ####', - '0706 ### ####', - '0707 ### ####', - '0708 ### ####', - '0709 ### ####', - '0802 ### ####', - '0803 ### ####', - '0804 ### ####', - '0805 ### ####', - '0806 ### ####', - '0807 ### ####', - '0808 ### ####', - '0809 ### ####', - '0810 ### ####', - '0811 ### ####', - '0812 ### ####', - '0813 ### ####', - '0814 ### ####', - '0815 ### ####', - '0816 ### ####', - '0817 ### ####', - '0818 ### ####', - '0819 ### ####', - '0902 ### ####', - '0903 ### ####', - '0905 ### ####', - '0908 ### ####', - '0909 ### ####', + '0703 ### ####', + '0704 ### ####', + '0705 ### ####', + '0706 ### ####', + '0707 ### ####', + '0708 ### ####', + '0709 ### ####', + '0802 ### ####', + '0803 ### ####', + '0804 ### ####', + '0805 ### ####', + '0806 ### ####', + '0807 ### ####', + '0808 ### ####', + '0809 ### ####', + '0810 ### ####', + '0811 ### ####', + '0812 ### ####', + '0813 ### ####', + '0814 ### ####', + '0815 ### ####', + '0816 ### ####', + '0817 ### ####', + '0818 ### ####', + '0819 ### ####', + '0902 ### ####', + '0903 ### ####', + '0905 ### ####', + '0908 ### ####', + '0909 ### ####', - '+234 703 ### ####', - '+234 704 ### ####', - '+234 705 ### ####', - '+234 706 ### ####', - '+234 707 ### ####', - '+234 708 ### ####', - '+234 709 ### ####', - '+234 802 ### ####', - '+234 803 ### ####', - '+234 804 ### ####', - '+234 805 ### ####', - '+234 806 ### ####', - '+234 807 ### ####', - '+234 808 ### ####', - '+234 809 ### ####', - '+234 810 ### ####', - '+234 811 ### ####', - '+234 812 ### ####', - '+234 813 ### ####', - '+234 814 ### ####', - '+234 815 ### ####', - '+234 816 ### ####', - '+234 817 ### ####', - '+234 818 ### ####', - '+234 819 ### ####', - '+234 902 ### ####', - '+234 903 ### ####', - '+234 905 ### ####', - '+234 908 ### ####', - '+234 909 ### ####', - ]; + '+234 703 ### ####', + '+234 704 ### ####', + '+234 705 ### ####', + '+234 706 ### ####', + '+234 707 ### ####', + '+234 708 ### ####', + '+234 709 ### ####', + '+234 802 ### ####', + '+234 803 ### ####', + '+234 804 ### ####', + '+234 805 ### ####', + '+234 806 ### ####', + '+234 807 ### ####', + '+234 808 ### ####', + '+234 809 ### ####', + '+234 810 ### ####', + '+234 811 ### ####', + '+234 812 ### ####', + '+234 813 ### ####', + '+234 814 ### ####', + '+234 815 ### ####', + '+234 816 ### ####', + '+234 817 ### ####', + '+234 818 ### ####', + '+234 819 ### ####', + '+234 902 ### ####', + '+234 903 ### ####', + '+234 905 ### ####', + '+234 908 ### ####', + '+234 909 ### ####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Address.php index 69e0d0f..afd025f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Address.php @@ -2,87 +2,120 @@ namespace Faker\Provider\en_NZ; -class Address extends \Faker\Provider\en_US\Address -{ - /** - * An array of en_NZ (New Zealand) building number formats - * - * @var array - */ - protected static $buildingNumber = ['%', '%#', '%##']; +class Address extends \Faker\Provider\en_US\Address { + /** + * An array of en_NZ (New Zealand) building number formats + * + * @var array + */ + protected static $buildingNumber = [ '%', '%#', '%##' ]; - /** - * An array of en_NZ (New Zealand) street suffixes - * - * @var array - */ - protected static $streetSuffix = [ - 'Avenue', 'Close', 'Court', 'Crescent', 'Drive', 'Esplanade', 'Grove', 'Heights', 'Highway', 'Hill', 'Lane', 'Line', 'Mall', 'Parade', 'Place', 'Quay', 'Rise', 'Road', 'Square', 'Street', 'Terrace', 'Way', - ]; + /** + * An array of en_NZ (New Zealand) street suffixes + * + * @var array + */ + protected static $streetSuffix = [ + 'Avenue', + 'Close', + 'Court', + 'Crescent', + 'Drive', + 'Esplanade', + 'Grove', + 'Heights', + 'Highway', + 'Hill', + 'Lane', + 'Line', + 'Mall', + 'Parade', + 'Place', + 'Quay', + 'Rise', + 'Road', + 'Square', + 'Street', + 'Terrace', + 'Way', + ]; - /** - * City suffixes - * - * @var array - */ - protected static $citySuffix = ['ville', 'ston']; + /** + * City suffixes + * + * @var array + */ + protected static $citySuffix = [ 'ville', 'ston' ]; - /** - * City formats - * - * @var array - */ - protected static $cityFormats = ['{{firstName}}{{citySuffix}}']; + /** + * City formats + * + * @var array + */ + protected static $cityFormats = [ '{{firstName}}{{citySuffix}}' ]; - /** - * An array of en_NZ (New Zealand) regions - * - * @see http://en.wikipedia.org/wiki/Regions_of_New_Zealand - * - * @var array - */ - protected static $region = [ - 'Auckland', 'Bay of Plenty', 'Canterbury', 'Gisborne', 'Hawkes Bay', 'Manawatu-Whanganui', 'Marlborough', 'Nelson', 'Northland', 'Otago', 'Southland', 'Taranaki', 'Tasman', 'Waikato', 'Wellington', 'West Coast', - ]; + /** + * An array of en_NZ (New Zealand) regions + * + * @see http://en.wikipedia.org/wiki/Regions_of_New_Zealand + * + * @var array + */ + protected static $region = [ + 'Auckland', + 'Bay of Plenty', + 'Canterbury', + 'Gisborne', + 'Hawkes Bay', + 'Manawatu-Whanganui', + 'Marlborough', + 'Nelson', + 'Northland', + 'Otago', + 'Southland', + 'Taranaki', + 'Tasman', + 'Waikato', + 'Wellington', + 'West Coast', + ]; - /** - * An array of en_NZ (New Zealand) poscode formats - * - * @var array - */ - protected static $postcode = ['####']; + /** + * An array of en_NZ (New Zealand) poscode formats + * + * @var array + */ + protected static $postcode = [ '####' ]; - /** - * An array of en_NZ (New Zealand) address formats - * - * @var array - */ - protected static $addressFormats = ['{{buildingNumber}} {{streetName}}, {{city}}, {{region}}, {{postcode}}']; + /** + * An array of en_NZ (New Zealand) address formats + * + * @var array + */ + protected static $addressFormats = [ '{{buildingNumber}} {{streetName}}, {{city}}, {{region}}, {{postcode}}' ]; - /** - * An array of en_NZ (New Zealand) street address formats - * - * @var array - */ - protected static $streetAddressFormats = ['{{buildingNumber}} {{streetName}}']; + /** + * An array of en_NZ (New Zealand) street address formats + * + * @var array + */ + protected static $streetAddressFormats = [ '{{buildingNumber}} {{streetName}}' ]; - /** - * Return a en_NZ (New Zealand) postcode - * - * @return string - */ - public static function postcode() - { - return static::numerify(static::randomElement(static::$postcode)); - } + /** + * Return a en_NZ (New Zealand) postcode + * + * @return string + */ + public static function postcode() { + return static::numerify( static::randomElement( static::$postcode ) ); + } - /** - * Return a en_NZ (New Zealand) region - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$region); - } + /** + * Return a en_NZ (New Zealand) region + * + * @return string + */ + public static function region() { + return static::randomElement( static::$region ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Internet.php index 824a24a..cfd6b7e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/Internet.php @@ -2,16 +2,31 @@ namespace Faker\Provider\en_NZ; -class Internet extends \Faker\Provider\Internet -{ - /** - * An array of New Zealand TLDs. - * - * @see https://en.wikipedia.org/wiki/.nz - * - * @var array - */ - protected static $tld = [ - 'com', 'nz', 'ac.nz', 'co.nz', 'geek.nz', 'gen.nz', 'kiwi.nz', 'maori.nz', 'net.nz', 'org.nz', 'school.nz', 'cri.nz', 'govt.nz', 'health.nz', 'iwi.nz', 'mil.nz', 'parliament.nz', - ]; +class Internet extends \Faker\Provider\Internet { + /** + * An array of New Zealand TLDs. + * + * @see https://en.wikipedia.org/wiki/.nz + * + * @var array + */ + protected static $tld = [ + 'com', + 'nz', + 'ac.nz', + 'co.nz', + 'geek.nz', + 'gen.nz', + 'kiwi.nz', + 'maori.nz', + 'net.nz', + 'org.nz', + 'school.nz', + 'cri.nz', + 'govt.nz', + 'health.nz', + 'iwi.nz', + 'mil.nz', + 'parliament.nz', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/PhoneNumber.php index 0b9f02b..aff98bf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_NZ/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_NZ/PhoneNumber.php @@ -2,101 +2,108 @@ namespace Faker\Provider\en_NZ; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * An array of en_NZ landline phone number formats - * - * @var array - */ - protected static $formats = [ - // National Calls - '{{areaCode}}{{beginningNumber}}######', - '{{areaCode}} {{beginningNumber}}## ####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * An array of en_NZ landline phone number formats + * + * @var array + */ + protected static $formats = [ + // National Calls + '{{areaCode}}{{beginningNumber}}######', + '{{areaCode}} {{beginningNumber}}## ####', + ]; - /** - * An array of en_NZ mobile (cell) phone number formats - * - * @var array - */ - protected static $mobileFormats = [ - // Local - '02########', - '02#########', - '02# ### ####', - '02# #### ####', - ]; + /** + * An array of en_NZ mobile (cell) phone number formats + * + * @var array + */ + protected static $mobileFormats = [ + // Local + '02########', + '02#########', + '02# ### ####', + '02# #### ####', + ]; - /** - * An array of toll free phone number formats - * - * @var array - */ - protected static $tollFreeFormats = [ - '0508######', - '0508 ######', - '0508 ### ###', - '0800######', - '0800 ######', - '0800 ### ###', - ]; + /** + * An array of toll free phone number formats + * + * @var array + */ + protected static $tollFreeFormats = [ + '0508######', + '0508 ######', + '0508 ### ###', + '0800######', + '0800 ######', + '0800 ### ###', + ]; - /** - * An array of en_NZ landline area codes - * - * @var array - */ - protected static $areaCodes = [ - '02', '03', '04', '06', '07', '09', - ]; + /** + * An array of en_NZ landline area codes + * + * @var array + */ + protected static $areaCodes = [ + '02', + '03', + '04', + '06', + '07', + '09', + ]; - /** - * An array of en_NZ landline beginning numbers - * - * @var array - */ - protected static $beginningNumbers = [ - '2', '3', '4', '5', '6', '7', '8', '9', - ]; + /** + * An array of en_NZ landline beginning numbers + * + * @var array + */ + protected static $beginningNumbers = [ + '2', + '3', + '4', + '5', + '6', + '7', + '8', + '9', + ]; - /** - * Return a en_NZ mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a en_NZ mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } - /** - * Return a en_NZ toll free phone number - * - * @return string - */ - public static function tollFreeNumber() - { - return static::numerify(static::randomElement(static::$tollFreeFormats)); - } + /** + * Return a en_NZ toll free phone number + * + * @return string + */ + public static function tollFreeNumber() { + return static::numerify( static::randomElement( static::$tollFreeFormats ) ); + } - /** - * Return a en_NZ landline area code - * - * @return string - */ - public static function areaCode() - { - return static::numerify(static::randomElement(static::$areaCodes)); - } + /** + * Return a en_NZ landline area code + * + * @return string + */ + public static function areaCode() { + return static::numerify( static::randomElement( static::$areaCodes ) ); + } - /** - * Return a en_NZ landline beginning number - * - * @return string - */ - public static function beginningNumber() - { - return static::numerify(static::randomElement(static::$beginningNumbers)); - } + /** + * Return a en_NZ landline beginning number + * + * @return string + */ + public static function beginningNumber() { + return static::numerify( static::randomElement( static::$beginningNumbers ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_PH/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_PH/Address.php index 7abfc81..1c64d94 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_PH/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_PH/Address.php @@ -2,416 +2,1907 @@ namespace Faker\Provider\en_PH; -class Address extends \Faker\Provider\en_US\Address -{ - protected static $streetNameFormats = [ - '{{lastName}} {{streetSuffix}}', - ]; +class Address extends \Faker\Provider\en_US\Address { + protected static $streetNameFormats = [ + '{{lastName}} {{streetSuffix}}', + ]; - //http://en.wikipedia.org/wiki/Postal_addresses_in_the_Philippines - protected static $addressFormats = [ - '{{streetAddress}}, {{barangay}}, {{city}} {{postcode}} {{province}}', '{{streetAddress}}, {{municipality}} {{postcode}} {{province}}', - ]; + //http://en.wikipedia.org/wiki/Postal_addresses_in_the_Philippines + protected static $addressFormats = [ + '{{streetAddress}}, {{barangay}}, {{city}} {{postcode}} {{province}}', + '{{streetAddress}}, {{municipality}} {{postcode}} {{province}}', + ]; - protected static $buildingNumber = ['##A', '%#', '##A/##', '%#/%#']; - protected static $postcode = ['####']; + protected static $buildingNumber = [ '##A', '%#', '##A/##', '%#/%#' ]; + protected static $postcode = [ '####' ]; - //http://en.wikipedia.org/wiki/Provinces_of_the_Philippines - protected static $province = [ - 'Abra', 'Agusan del Norte', 'Agusan del Sur', 'Aklan', 'Albay', - 'Antique', 'Apayao', 'Aurora', 'Basilan', 'Bataan', 'Batanes', - 'Batangas', 'Benguet', 'Biliran', 'Bohol', 'Bukidnon', 'Bulacan', - 'Cagayan', 'Camarines Norte', 'Camarines Sur', 'Camiguin', 'Capiz', - 'Catanduanes', 'Cavite', 'Cebu', 'Compostela Valley', 'Cotabato', - 'Davao del Norte', 'Davao del Sur', 'Davao Oriental', - 'Dinagat Islands', 'Eastern Samar', 'Guimaras', 'Ifugao', - 'Ilocos Norte', 'Ilocos Sur', 'Iloilo', 'Isabela', 'Kalinga', - 'La Union', 'Laguna', 'Lanao del Norte', 'Lanao del Sur', - 'Leyte', 'Maguindanao', 'Marinduque', 'Masbate', - 'Misamis Occidental', 'Misamis Oriental', - 'Mountain Province', 'Negros Occidental', 'Negros Oriental', - 'Northern Samar', 'Nueva Ecija', 'Nueva Vizcaya', - 'Occidental Mindoro', 'Oriental Mindoro', 'Palawan', - 'Pampanga', 'Pangasinan', 'Quezon', 'Quirino', 'Rizal', - 'Romblon', 'Samar', 'Sarangani', 'Siquijor', 'Sorsogon', - 'South Cotabato', 'Southern Leyte', 'Sultan Kudarat', 'Sulu', - 'Surigao del Norte', 'Surigao del Sur', 'Tarlac', - 'Tawi-Tawi', 'Zambales', 'Zamboanga del Norte', - 'Zamboanga del Sur', 'Zamboanga Sibugay', 'Metro Manila', - ]; + //http://en.wikipedia.org/wiki/Provinces_of_the_Philippines + protected static $province = [ + 'Abra', + 'Agusan del Norte', + 'Agusan del Sur', + 'Aklan', + 'Albay', + 'Antique', + 'Apayao', + 'Aurora', + 'Basilan', + 'Bataan', + 'Batanes', + 'Batangas', + 'Benguet', + 'Biliran', + 'Bohol', + 'Bukidnon', + 'Bulacan', + 'Cagayan', + 'Camarines Norte', + 'Camarines Sur', + 'Camiguin', + 'Capiz', + 'Catanduanes', + 'Cavite', + 'Cebu', + 'Compostela Valley', + 'Cotabato', + 'Davao del Norte', + 'Davao del Sur', + 'Davao Oriental', + 'Dinagat Islands', + 'Eastern Samar', + 'Guimaras', + 'Ifugao', + 'Ilocos Norte', + 'Ilocos Sur', + 'Iloilo', + 'Isabela', + 'Kalinga', + 'La Union', + 'Laguna', + 'Lanao del Norte', + 'Lanao del Sur', + 'Leyte', + 'Maguindanao', + 'Marinduque', + 'Masbate', + 'Misamis Occidental', + 'Misamis Oriental', + 'Mountain Province', + 'Negros Occidental', + 'Negros Oriental', + 'Northern Samar', + 'Nueva Ecija', + 'Nueva Vizcaya', + 'Occidental Mindoro', + 'Oriental Mindoro', + 'Palawan', + 'Pampanga', + 'Pangasinan', + 'Quezon', + 'Quirino', + 'Rizal', + 'Romblon', + 'Samar', + 'Sarangani', + 'Siquijor', + 'Sorsogon', + 'South Cotabato', + 'Southern Leyte', + 'Sultan Kudarat', + 'Sulu', + 'Surigao del Norte', + 'Surigao del Sur', + 'Tarlac', + 'Tawi-Tawi', + 'Zambales', + 'Zamboanga del Norte', + 'Zamboanga del Sur', + 'Zamboanga Sibugay', + 'Metro Manila', + ]; - //http://en.wikipedia.org/wiki/List_of_cities_in_the_Philippines - protected static $city = [ - 'Caloocan', 'Las Piñas', 'Makati', 'Malabon', 'Mandaluyong', - 'Manila', 'Marikina', 'Muntinlupa', 'Navotas', 'Parañaque', 'Pasay', - 'Pasig', 'Quezon City', 'San Juan', 'Taguig', 'Valenzuela', - 'Butuan', 'Cabadbaran', 'Bayugan', 'Legazpi', 'Ligao', 'Tabaco', - 'Isabela', 'Lamitan', 'Balanga', 'Batangas City', 'Lipa', 'Tanauan', - 'Baguio', 'Tagbilaran', 'Malaybalay', 'Valencia', 'Malolos', - 'Meycauayan', 'San Jose del Monte', 'Tuguegarao', 'Iriga', 'Naga', - 'Roxas', 'Bacoor', 'Cavite City', 'Dasmariñas', 'Imus', 'Tagaytay', - 'Trece Martires', 'Bogo', 'Carcar', 'Cebu City', 'Danao', 'Lapu-Lapu', - 'Mandaue', 'Naga', 'Talisay', 'Toledo', 'Kidapawan', 'Panabo', 'Samal', - 'Tagum', 'Davao City', 'Digos', 'Mati', 'Borongan', 'Batac', 'Laoag', - 'Candon', 'Vigan', 'Iloilo City', 'Passi', 'Cauayan', 'Ilagan', - 'Santiago', 'Tabuk', 'San Fernando', 'Biñan', 'Cabuyao', 'Calamba', - 'San Pablo', 'Santa Rosa', 'San Pedro', 'Iligan', 'Marawi', 'Baybay', - 'Ormoc', 'Tacloban', 'Cotabato City', 'Masbate City', 'Oroquieta', - 'Ozamiz', 'Tangub', 'Cagayan de Oro', 'El Salvador', 'Gingoog', - 'Bacolod', 'Bago', 'Cadiz', 'Escalante', 'Himamaylan', 'Kabankalan', - 'La Carlota', 'Sagay', 'San Carlos', 'Silay', 'Sipalay', 'Talisay', - 'Victorias', 'Bais', 'Bayawan', 'Canlaon', 'Dumaguete', 'Guihulngan', - 'Tanjay', 'Cabanatuan', 'Gapan', 'Muñoz', 'Palayan', 'San Jose', - 'Calapan', 'Puerto Princesa', 'Angeles', 'Mabalacat', - 'San Fernando', 'Alaminos', 'Dagupan', 'San Carlos', - 'Urdaneta', 'Lucena', 'Tayabas', 'Antipolo', 'Calbayog', 'Catbalogan', - 'Sorsogon City', 'General Santos', 'Koronadal', 'Maasin', 'Tacurong', - 'Surigao City', 'Bislig', 'Tandag', 'Tarlac City', 'Olongapo', - 'Dapitan', 'Dipolog', 'Pagadian', 'Zamboanga City', - ]; + //http://en.wikipedia.org/wiki/List_of_cities_in_the_Philippines + protected static $city = [ + 'Caloocan', + 'Las Piñas', + 'Makati', + 'Malabon', + 'Mandaluyong', + 'Manila', + 'Marikina', + 'Muntinlupa', + 'Navotas', + 'Parañaque', + 'Pasay', + 'Pasig', + 'Quezon City', + 'San Juan', + 'Taguig', + 'Valenzuela', + 'Butuan', + 'Cabadbaran', + 'Bayugan', + 'Legazpi', + 'Ligao', + 'Tabaco', + 'Isabela', + 'Lamitan', + 'Balanga', + 'Batangas City', + 'Lipa', + 'Tanauan', + 'Baguio', + 'Tagbilaran', + 'Malaybalay', + 'Valencia', + 'Malolos', + 'Meycauayan', + 'San Jose del Monte', + 'Tuguegarao', + 'Iriga', + 'Naga', + 'Roxas', + 'Bacoor', + 'Cavite City', + 'Dasmariñas', + 'Imus', + 'Tagaytay', + 'Trece Martires', + 'Bogo', + 'Carcar', + 'Cebu City', + 'Danao', + 'Lapu-Lapu', + 'Mandaue', + 'Naga', + 'Talisay', + 'Toledo', + 'Kidapawan', + 'Panabo', + 'Samal', + 'Tagum', + 'Davao City', + 'Digos', + 'Mati', + 'Borongan', + 'Batac', + 'Laoag', + 'Candon', + 'Vigan', + 'Iloilo City', + 'Passi', + 'Cauayan', + 'Ilagan', + 'Santiago', + 'Tabuk', + 'San Fernando', + 'Biñan', + 'Cabuyao', + 'Calamba', + 'San Pablo', + 'Santa Rosa', + 'San Pedro', + 'Iligan', + 'Marawi', + 'Baybay', + 'Ormoc', + 'Tacloban', + 'Cotabato City', + 'Masbate City', + 'Oroquieta', + 'Ozamiz', + 'Tangub', + 'Cagayan de Oro', + 'El Salvador', + 'Gingoog', + 'Bacolod', + 'Bago', + 'Cadiz', + 'Escalante', + 'Himamaylan', + 'Kabankalan', + 'La Carlota', + 'Sagay', + 'San Carlos', + 'Silay', + 'Sipalay', + 'Talisay', + 'Victorias', + 'Bais', + 'Bayawan', + 'Canlaon', + 'Dumaguete', + 'Guihulngan', + 'Tanjay', + 'Cabanatuan', + 'Gapan', + 'Muñoz', + 'Palayan', + 'San Jose', + 'Calapan', + 'Puerto Princesa', + 'Angeles', + 'Mabalacat', + 'San Fernando', + 'Alaminos', + 'Dagupan', + 'San Carlos', + 'Urdaneta', + 'Lucena', + 'Tayabas', + 'Antipolo', + 'Calbayog', + 'Catbalogan', + 'Sorsogon City', + 'General Santos', + 'Koronadal', + 'Maasin', + 'Tacurong', + 'Surigao City', + 'Bislig', + 'Tandag', + 'Tarlac City', + 'Olongapo', + 'Dapitan', + 'Dipolog', + 'Pagadian', + 'Zamboanga City', + ]; - //http://en.wikipedia.org/wiki/List_of_Philippine_cities_and_municipalities_by_population - protected static $municipality = [ - 'Bangued', 'Boliney', 'Bucay', 'Bucloc', 'Daguioman', 'Danglas', - 'Dolores', 'La Paz', 'Lacub', 'Lagangilang', 'Lagayan', 'Langiden', - 'Licuan-Baay', 'Luba', 'Malibcong', 'Manabo', 'Peñarrubia', - 'Pidigan', 'Pilar', 'Sallapadan', 'San Isidro', 'San Juan', - 'San Quintin', 'Tayum', 'Tineg', 'Tubo', 'Villaviciosa', - 'Butuan City', 'Cabadbaran City', 'Buenavista', 'Carmen', - 'Jabonga', 'Kitcharao', 'Las Nieves', 'Magallanes', - 'Nasipit', 'Remedios T. Romualdez', 'Santiago', 'Tubay', - 'Bayugan City', 'Bunawan', 'Esperanza', 'La Paz', 'Loreto', - 'Prosperidad', 'Rosario', 'San Francisco', 'San Luis', - 'Santa Josefa', 'Sibagat', 'Talacogon', 'Trento', 'Veruela', - 'Altavas', 'Balete', 'Banga', 'Batan', 'Buruanga', 'Ibajay', - 'Kalibo', 'Lezo', 'Libacao', 'Madalag', 'Makato', 'Malay', - 'Malinao', 'Nabas', 'New Washington', 'Numancia', 'Tangalan', - 'Legazpi City', 'Ligao City', 'Tabaco City', 'Bacacay', 'Camalig', - 'Daraga', 'Guinobatan', 'Jovellar', 'Libon', 'Malilipot', 'Malinao', - 'Manito', 'Oas', 'Pio Duran', 'Polangui', 'Rapu-Rapu', - 'Santo Domingo', 'Anini-y', 'Barbaza', 'Belison', 'Bugasong', - 'Caluya', 'Culasi', 'Hamtic', 'Laua-an', 'Libertad', 'Pandan', - 'Patnongon', 'San Jose', 'San Remigio', 'Sebaste', 'Sibalom', - 'Tibiao', 'Tobias Fornier', 'Valderrama', 'Calanasan', 'Conner', - 'Flora', 'Kabugao', 'Luna', 'Pudtol', 'Santa Marcela', 'Baler', - 'Casiguran', 'Dilasag', 'Dinalungan', 'Dingalan', 'Dipaculao', - 'Maria Aurora', 'San Luis', 'Isabela City', 'Lamitan City', 'Akbar', - 'Al-Barka', 'Hadji Mohammad Ajul', 'Hadji Muhtamad', 'Lantawan', - 'Maluso', 'Sumisip', 'Tabuan-Lasa', 'Tipo-Tipo', 'Tuburan', - 'Ungkaya Pukan', 'Balanga City', 'Abucay', 'Bagac', 'Dinalupihan', - 'Hermosa', 'Limay', 'Mariveles', 'Morong', 'Orani', 'Orion', 'Pilar', - 'Samal', 'Basco', 'Itbayat', 'Ivana', 'Mahatao', 'Sabtang', 'Uyugan', - 'Batangas City', 'Lipa City', 'Tanauan City', 'Agoncillo', - 'Alitagtag', 'Balayan', 'Balete', 'Bauan', 'Calaca', 'Calatagan', - 'Cuenca', 'Ibaan', 'Laurel', 'Lemery', 'Lian', 'Lobo', 'Mabini', - 'Malvar', 'Mataas na Kahoy', 'Nasugbu', 'Padre Garcia', 'Rosario', - 'San Jose', 'San Juan', 'San Luis', 'San Nicolas', 'San Pascual', - 'Santa Teresita', 'Santo Tomas', 'Taal', 'Talisay', 'Taysan', - 'Tingloy', 'Tuy', 'Baguio City', 'Atok', 'Bakun', 'Bokod', 'Buguias', - 'Itogon', 'Kabayan', 'Kapangan', 'Kibungan', 'La Trinidad', - 'Mankayan', 'Sablan', 'Tuba', 'Tublay', 'Almeria', 'Biliran', - 'Cabucgayan', 'Caibiran', 'Culaba', 'Kawayan', 'Maripipi', 'Naval', - 'Tagbilaran City', 'Alburquerque', 'Alicia', 'Anda', 'Antequera', - 'Baclayon', 'Balilihan', 'Batuan', 'Bien Unido', 'Bilar', - 'Buenavista', 'Calape', 'Candijay', 'Carmen', 'Catigbian', 'Clarin', - 'Corella', 'Cortes', 'Dagohoy', 'Danao', 'Dauis', 'Dimiao', 'Duero', - 'Garcia Hernandez', 'Getafe', 'Guindulman', 'Inabanga', 'Jagna', - 'Lila', 'Loay', 'Loboc', 'Loon', 'Mabini', 'Maribojoc', 'Panglao', - 'Pilar', 'President Carlos P. Garcia', 'Sagbayan', 'San Isidro', - 'San Miguel', 'Sevilla', 'Sierra Bullones', 'Sikatuna', 'Talibon', - 'Trinidad', 'Tubigon', 'Ubay', 'Valencia', 'Malaybalay City', - 'Valencia City', 'Baungon', 'Cabanglasan', 'Damulog', 'Dangcagan', - 'Don Carlos', 'Impasug-ong', 'Kadingilan', 'Kalilangan', 'Kibawe', - 'Kitaotao', 'Lantapan', 'Libona', 'Malitbog', 'Manolo Fortich', - 'Maramag', 'Pangantucan', 'Quezon', 'San Fernando', 'Sumilao', - 'Talakag', 'Malolos City', 'Meycauayan City', - 'San Jose del Monte City', 'Angat', 'Balagtas', 'Baliuag', 'Bocaue', - 'Bulacan', 'Bustos', 'Calumpit', 'Doña Remedios Trinidad', - 'Guiguinto', 'Hagonoy', 'Marilao', 'Norzagaray', 'Obando', 'Pandi', - 'Paombong', 'Plaridel', 'Pulilan', 'San Ildefonso', 'San Miguel', - 'San Rafael', 'Santa Maria', 'Tuguegarao City', 'Abulug', 'Alcala', - 'Allacapan', 'Amulung', 'Aparri', 'Baggao', 'Ballesteros', 'Buguey', - 'Calayan', 'Camalaniugan', 'Claveria', 'Enrile', 'Gattaran', - 'Gonzaga', 'Iguig', 'Lal-lo', 'Lasam', 'Pamplona', 'Peñablanca', - 'Piat', 'Rizal', 'Sanchez-Mira', 'Santa Ana', 'Santa Praxedes', - 'Santa Teresita', 'Santo Niño', 'Solana', 'Tuao', 'Basud', - 'Capalonga', 'Daet', 'Jose Panganiban', 'Labo', 'Mercedes', - 'Paracale', 'San Lorenzo Ruiz', 'San Vicente', 'Santa Elena', - 'Talisay', 'Vinzons', 'Iriga City', 'Naga City', 'Baao', 'Balatan', - 'Bato', 'Bombon', 'Buhi', 'Bula', 'Cabusao', 'Calabanga', - 'Camaligan', 'Canaman', 'Caramoan', 'Del Gallego', 'Gainza', - 'Garchitorena', 'Goa', 'Lagonoy', 'Libmanan', 'Lupi', 'Magarao', - 'Milaor', 'Minalabac', 'Nabua', 'Ocampo', 'Pamplona', 'Pasacao', - 'Pili', 'Presentacion', 'Ragay', 'Sagñay', 'San Fernando', - 'San Jose', 'Sipocot', 'Siruma', 'Tigaon', 'Tinambac', 'Catarman', - 'Guinsiliban', 'Mahinog', 'Mambajao', 'Sagay', 'Roxas City', - 'Cuartero', 'Dao', 'Dumalag', 'Dumarao', 'Ivisan', 'Jamindan', - 'Ma-ayon', 'Mambusao', 'Panay', 'Panitan', 'Pilar', 'Pontevedra', - 'President Roxas', 'Sapi-an', 'Sigma', 'Tapaz', 'Bagamanoc', 'Baras', - 'Bato', 'Caramoran', 'Gigmoto', 'Pandan', 'Panganiban', 'San Andres', - 'San Miguel', 'Viga', 'Virac', 'Bacoor City', 'Cavite City', - 'Dasmariñas City', 'Imus City', 'Tagaytay City', - 'Trece Martires City', 'Alfonso', 'Amadeo', 'Carmona', - 'General Mariano Alvarez', 'General Emilio Aguinaldo', - 'General Trias', 'Indang', 'Kawit', 'Magallanes', 'Maragondon', - 'Mendez', 'Naic', 'Noveleta', 'Rosario', 'Silang', 'Tanza', - 'Ternate', 'Bogo City', 'Cebu City', 'Carcar City', 'Danao City', - 'Lapu-Lapu City', 'Mandaue City', 'Naga City', 'Talisay City', - 'Toledo City', 'Alcantara', 'Alcoy', 'Alegria', 'Aloguinsan', - 'Argao', 'Asturias', 'Badian', 'Balamban', 'Bantayan', 'Barili', - 'Boljoon', 'Borbon', 'Carmen', 'Catmon', 'Compostela', 'Consolacion', - 'Cordoba', 'Daanbantayan', 'Dalaguete', 'Dumanjug', 'Ginatilan', - 'Liloan', 'Madridejos', 'Malabuyoc', 'Medellin', 'Minglanilla', - 'Moalboal', 'Oslob', 'Pilar', 'Pinamungahan', 'Poro', 'Ronda', - 'Samboan', 'San Fernando', 'San Francisco', 'San Remigio', - 'Santa Fe', 'Santander', 'Sibonga', 'Sogod', 'Tabogon', 'Tabuelan', - 'Tuburan', 'Tudela', 'Compostela', 'Laak', 'Mabini', - 'Maco', 'Maragusan', 'Mawab', 'Monkayo', 'Montevista', 'Nabunturan', - 'New Bataan', 'Pantukan', 'Kidapawan City', 'Alamada', 'Aleosan', - 'Antipas', 'Arakan', 'Banisilan', 'Carmen', 'Kabacan', 'Libungan', - 'M\'lang', 'Magpet', 'Makilala', 'Matalam', 'Midsayap', 'Pigkawayan', - 'Pikit', 'President Roxas', 'Tulunan', 'Panabo City', 'Samal City', - 'Tagum City', 'Asuncion', 'Braulio E. Dujali', 'Carmen', 'Kapalong', - 'New Corella', 'San Isidro', 'Santo Tomas', 'Talaingod', - 'Davao City', 'Digos City', 'Bansalan', 'Don Marcelino', 'Hagonoy', - 'Jose Abad Santos', 'Kiblawan', 'Magsaysay', 'Malalag', 'Malita', - 'Matanao', 'Padada', 'Santa Cruz', 'Santa Maria', 'Sarangani', - 'Sulop', 'Mati City', 'Baganga', 'Banaybanay', 'Boston', 'Caraga', - 'Cateel', 'Governor Generoso', 'Lupon', 'Manay', 'San Isidro', - 'Tarragona', 'Basilisa', 'Cagdianao', 'Dinagat', 'Libjo', 'Loreto', - 'San Jose', 'Tubajon', 'Borongan City', 'Arteche', 'Balangiga', - 'Balangkayan', 'Can-avid', 'Dolores', 'General MacArthur', - 'Giporlos', 'Guiuan', 'Hernani', 'Jipapad', 'Lawaan', 'Llorente', - 'Maslog', 'Maydolong', 'Mercedes', 'Oras', 'Quinapondan', 'Salcedo', - 'San Julian', 'San Policarpo', 'Sulat', 'Taft', 'Buenavista', - 'Jordan', 'Nueva Valencia', 'San Lorenzo', 'Sibunag', 'Aguinaldo', - 'Alfonso Lista', 'Asipulo', 'Banaue', 'Hingyon', 'Hungduan', - 'Kiangan', 'Lagawe', 'Lamut', 'Mayoyao', 'Tinoc', 'Batac City', - 'Laoag City', 'Adams', 'Bacarra', 'Badoc', 'Bangui', 'Banna', - 'Burgos', 'Carasi', 'Currimao', 'Dingras', 'Dumalneg', 'Marcos', - 'Nueva Era', 'Pagudpud', 'Paoay', 'Pasuquin', 'Piddig', 'Pinili', - 'San Nicolas', 'Sarrat', 'Solsona', 'Vintar', 'Candon City', - 'Vigan City', 'Alilem', 'Banayoyo', 'Bantay', 'Burgos', 'Cabugao', - 'Caoayan', 'Cervantes', 'Galimuyod', 'Gregorio Del Pilar', - 'Lidlidda', 'Magsingal', 'Nagbukel', 'Narvacan', 'Quirino', - 'Salcedo', 'San Emilio', 'San Esteban', 'San Ildefonso', 'San Juan', - 'San Vicente', 'Santa', 'Santa Catalina', 'Santa Cruz', - 'Santa Lucia', 'Santa Maria', 'Santiago', 'Santo Domingo', 'Sigay', - 'Sinait', 'Sugpon', 'Suyo', 'Tagudin', 'Iloilo City', 'Passi City', - 'Ajuy', 'Alimodian', 'Anilao', 'Badiangan', 'Balasan', 'Banate', - 'Barotac Nuevo', 'Barotac Viejo', 'Batad', 'Bingawan', 'Cabatuan', - 'Calinog', 'Carles', 'Concepcion', 'Dingle', 'Dueñas', 'Dumangas', - 'Estancia', 'Guimbal', 'Igbaras', 'Janiuay', 'Lambunao', 'Leganes', - 'Lemery', 'Leon', 'Maasin', 'Miagao', 'Mina', 'New Lucena', 'Oton', - 'Pavia', 'Pototan', 'San Dionisio', 'San Enrique', 'San Joaquin', - 'San Miguel', 'San Rafael', 'Santa Barbara', 'Sara', 'Tigbauan', - 'Tubungan', 'Zarraga', 'Cauayan City', 'Ilagan City', - 'Santiago City', 'Alicia', 'Angadanan', 'Aurora', 'Benito Soliven', - 'Burgos', 'Cabagan', 'Cabatuan', 'Cordon', 'Delfin Albano', - 'Dinapigue', 'Divilacan', 'Echague', 'Gamu', 'Jones', 'Luna', - 'Maconacon', 'Mallig', 'Naguilian', 'Palanan', 'Quezon', 'Quirino', - 'Ramon', 'Reina Mercedes', 'Roxas', 'San Agustin', 'San Guillermo', - 'San Isidro', 'San Manuel', 'San Mariano', 'San Mateo', 'San Pablo', - 'Santa Maria', 'Santo Tomas', 'Tumauini', 'Tabuk City', 'Balbalan', - 'Lubuagan', 'Pasil', 'Pinukpuk', 'Rizal', 'Tanudan', 'Tinglayan', - 'San Fernando City', 'Agoo', 'Aringay', 'Bacnotan', 'Bagulin', - 'Balaoan', 'Bangar', 'Bauang', 'Burgos', 'Caba', 'Luna', 'Naguilian', - 'Pugo', 'Rosario', 'San Gabriel', 'San Juan', 'Santo Tomas', - 'Santol', 'Sudipen', 'Tubao', 'Biñan City', 'Cabuyao City', - 'Calamba City', 'San Pablo City', 'Santa Rosa City', - 'Nature and Science City of Los Baños', 'San Pedro', 'Alaminos', - 'Bay', 'Calauan', 'Cavinti', 'Famy', 'Kalayaan', 'Liliw', 'Luisiana', - 'Lumban', 'Mabitac', 'Magdalena', 'Majayjay', 'Nagcarlan', 'Paete', - 'Pagsanjan', 'Pakil', 'Pangil', 'Pila', 'Rizal', 'Santa Cruz', - 'Santa Maria', 'Siniloan', 'Victoria', 'Iligan City', 'Bacolod', - 'Baloi', 'Baroy', 'Kapatagan', 'Kauswagan', 'Kolambugan', 'Lala', - 'Linamon', 'Magsaysay', 'Maigo', 'Matungao', 'Munai', 'Nunungan', - 'Pantao Ragat', 'Pantar', 'Poona Piagapo', 'Salvador', 'Sapad', - 'Sultan Naga Dimaporo', 'Tagoloan', 'Tangcal', 'Tubod', - 'Marawi City', 'Bacolod-Kalawi', 'Balabagan', 'Balindong', 'Bayang', - 'Binidayan', 'Buadiposo-Buntong', 'Bubong', 'Bumbaran', 'Butig', - 'Calanogas', 'Ditsaan-Ramain', 'Ganassi', 'Kapai', 'Kapatagan', - 'Lumba-Bayabao', 'Lumbaca-Unayan', 'Lumbatan', 'Lumbayanague', - 'Madalum', 'Madamba', 'Maguing', 'Malabang', 'Marantao', 'Marogong', - 'Masiu', 'Mulondo', 'Pagayawan', 'Piagapo', 'Poona Bayabao', - 'Pualas', 'Saguiaran', 'Sultan Dumalondong', 'Picong', 'Tagoloan II', - 'Tamparan', 'Taraka', 'Tubaran', 'Tugaya', 'Wao', 'Baybay City', - 'Ormoc City', 'Tacloban City', 'Abuyog', 'Alangalang', 'Albuera', - 'Babatngon', 'Barugo', 'Bato', 'Burauen', 'Calubian', 'Capoocan', - 'Carigara', 'Dagami', 'Dulag', 'Hilongos', 'Hindang', 'Inopacan', - 'Isabel', 'Jaro', 'Javier', 'Julita', 'Kananga', 'La Paz', 'Leyte', - 'MacArthur', 'Mahaplag', 'Matag-ob', 'Matalom', 'Mayorga', 'Merida', - 'Palo', 'Palompon', 'Pastrana', 'San Isidro', 'San Miguel', - 'Santa Fe', 'Tabango', 'Tabontabon', 'Tanauan', 'Tolosa', 'Tunga', - 'Villaba', 'Cotabato City', 'Ampatuan', 'Barira', 'Buldon', 'Buluan', - 'Datu Abdullah Sangki', 'Datu Anggal Midtimbang', - 'Datu Blah T. Sinsuat', 'Datu Hoffer Ampatuan', 'Datu Montawal', - 'Datu Odin Sinsuat', 'Datu Paglas', 'Datu Piang', 'Datu Salibo', - 'Datu Saudi-Ampatuan', 'Datu Unsay', 'General Salipada K. Pendatun', - 'Guindulungan', 'Kabuntalan', 'Mamasapano', 'Mangudadatu', 'Matanog', - 'Northern Kabuntalan', 'Pagalungan', 'Paglat', 'Pandag', 'Parang', - 'Rajah Buayan', 'Shariff Aguak', 'Shariff Saydona Mustapha', - 'South Upi', 'Sultan Kudarat', 'Sultan Mastura', - 'Sultan sa Barongis', 'Talayan', 'Talitay', 'Upi', 'Boac', - 'Buenavista', 'Gasan', 'Mogpog', 'Santa Cruz', 'Torrijos', - 'Masbate City', 'Aroroy', 'Baleno', 'Balud', 'Batuan', 'Cataingan', - 'Cawayan', 'Claveria', 'Dimasalang', 'Esperanza', 'Mandaon', - 'Milagros', 'Mobo', 'Monreal', 'Palanas', 'Pio V. Corpuz', 'Placer', - 'San Fernando', 'San Jacinto', 'San Pascual', 'Uson', 'Manila', - 'Caloocan', 'Las Piñas', 'Makati', 'Malabon', 'Mandaluyong', - 'Marikina', 'Muntinlupa', 'Navotas', 'Parañaque', 'Pasay', 'Pasig', - 'Quezon City', 'San Juan', 'Taguig', 'Valenzuela', 'Pateros', - 'Oroquieta City', 'Ozamiz City', 'Tangub City', 'Aloran', - 'Baliangao', 'Bonifacio', 'Calamba', 'Clarin', 'Concepcion', - 'Don Victoriano Chiongbian', 'Jimenez', 'Lopez Jaena', 'Panaon', - 'Plaridel', 'Sapang Dalaga', 'Sinacaban', 'Tudela', 'Cagayan de Oro', - 'El Salvador City', 'Gingoog City', 'Alubijid', 'Balingasag', - 'Balingoan', 'Binuangan', 'Claveria', 'Gitagum', 'Initao', 'Jasaan', - 'Kinoguitan', 'Lagonglong', 'Laguindingan', 'Libertad', 'Lugait', - 'Magsaysay', 'Manticao', 'Medina', 'Naawan', 'Opol', 'Salay', - 'Sugbongcogon', 'Tagoloan', 'Talisayan', 'Villanueva', 'Barlig', - 'Bauko', 'Besao', 'Bontoc', 'Natonin', 'Paracelis', 'Sabangan', - 'Sadanga', 'Sagada', 'Tadian', 'Bacolod City', 'Bago City', - 'Cadiz City', 'Escalante City', 'Himamaylan City', 'Kabankalan City', - 'La Carlota City', 'Sagay City', 'San Carlos City', 'Silay City', - 'Sipalay City', 'Talisay City', 'Victorias City', 'Binalbagan', - 'Calatrava', 'Candoni', 'Cauayan', 'Enrique B. Magalona', - 'Hinigaran', 'Hinoba-an', 'Ilog', 'Isabela', 'La Castellana', - 'Manapla', 'Moises Padilla', 'Murcia', 'Pontevedra', 'Pulupandan', - 'Salvador Benedicto', 'San Enrique', 'Toboso', 'Valladolid', - 'Bais City', 'Bayawan City', 'Canlaon City', 'Guihulngan City', - 'Dumaguete City', 'Tanjay City', 'Amlan', 'Ayungon', 'Bacong', - 'Basay', 'Bindoy', 'Dauin', 'Jimalalud', 'La Libertad', 'Mabinay', - 'Manjuyod', 'Pamplona', 'San Jose', 'Santa Catalina', 'Siaton', - 'Sibulan', 'Tayasan', 'Valencia', 'Vallehermoso', 'Zamboanguita', - 'Allen', 'Biri', 'Bobon', 'Capul', 'Catarman', 'Catubig', 'Gamay', - 'Laoang', 'Lapinig', 'Las Navas', 'Lavezares', 'Lope de Vega', - 'Mapanas', 'Mondragon', 'Palapag', 'Pambujan', 'Rosario', - 'San Antonio', 'San Isidro', 'San Jose', 'San Roque', 'San Vicente', - 'Silvino Lobos', 'Victoria', 'Cabanatuan City', 'Gapan City', - 'Palayan City', 'San Jose City', 'Science City of Muñoz', 'Aliaga', - 'Bongabon', 'Cabiao', 'Carranglan', 'Cuyapo', 'Gabaldon', - 'General Mamerto Natividad', 'General Tinio', 'Guimba', 'Jaen', - 'Laur', 'Licab', 'Llanera', 'Lupao', 'Nampicuan', 'Pantabangan', - 'Peñaranda', 'Quezon', 'Rizal', 'San Antonio', 'San Isidro', - 'San Leonardo', 'Santa Rosa', 'Santo Domingo', 'Talavera', - 'Talugtug', 'Zaragoza', 'Alfonso Castaneda', 'Ambaguio', 'Aritao', - 'Bagabag', 'Bambang', 'Bayombong', 'Diadi', 'Dupax del Norte', - 'Dupax del Sur', 'Kasibu', 'Kayapa', 'Quezon', 'Santa Fe', 'Solano', - 'Villaverde', 'Abra de Ilog', 'Calintaan', 'Looc', 'Lubang', - 'Magsaysay', 'Mamburao', 'Paluan', 'Rizal', 'Sablayan', 'San Jose', - 'Santa Cruz', 'Calapan City', 'Baco', 'Bansud', 'Bongabong', - 'Bulalacao', 'Gloria', 'Mansalay', 'Naujan', 'Pinamalayan', 'Pola', - 'Puerto Galera', 'Roxas', 'San Teodoro', 'Socorro', 'Victoria', - 'Puerto Princesa City', 'Aborlan', 'Agutaya', 'Araceli', 'Balabac', - 'Bataraza', 'Brooke\'s Point', 'Busuanga', 'Cagayancillo', 'Coron', - 'Culion', 'Cuyo', 'Dumaran', 'El Nido', 'Kalayaan', 'Linapacan', - 'Magsaysay', 'Narra', 'Quezon', 'Rizal', 'Roxas', 'San Vicente', - 'Sofronio Española', 'Taytay', 'Angeles City', 'San Fernando City', - 'Mabalacat City', 'Apalit', 'Arayat', 'Bacolor', 'Candaba', - 'Floridablanca', 'Guagua', 'Lubao', 'Macabebe', 'Magalang', - 'Masantol', 'Mexico', 'Minalin', 'Porac', 'San Luis', 'San Simon', - 'Santa Ana', 'Santa Rita', 'Santo Tomas', 'Sasmuan', 'Alaminos City', - 'Dagupan City', 'San Carlos City', 'Urdaneta City', 'Agno', - 'Aguilar', 'Alcala', 'Anda', 'Asingan', 'Balungao', 'Bani', - 'Basista', 'Bautista', 'Bayambang', 'Binalonan', 'Binmaley', - 'Bolinao', 'Bugallon', 'Burgos', 'Calasiao', 'Dasol', 'Infanta', - 'Labrador', 'Laoac', 'Lingayen', 'Mabini', 'Malasiqui', 'Manaoag', - 'Mangaldan', 'Mangatarem', 'Mapandan', 'Natividad', 'Pozzorubio', - 'Rosales', 'San Fabian', 'San Jacinto', 'San Manuel', 'San Nicolas', - 'San Quintin', 'Santa Barbara', 'Santa Maria', 'Santo Tomas', - 'Sison', 'Sual', 'Tayug', 'Umingan', 'Urbiztondo', 'Villasis', - 'Lucena City', 'Tayabas City', 'Agdangan', 'Alabat', 'Atimonan', - 'Buenavista', 'Burdeos', 'Calauag', 'Candelaria', 'Catanauan', - 'Dolores', 'General Luna', 'General Nakar', 'Guinayangan', 'Gumaca', - 'Infanta', 'Jomalig', 'Lopez', 'Lucban', 'Macalelon', 'Mauban', - 'Mulanay', 'Padre Burgos', 'Pagbilao', 'Panukulan', 'Patnanungan', - 'Perez', 'Pitogo', 'Plaridel', 'Polillo', 'Quezon', 'Real', - 'Sampaloc', 'San Andres', 'San Antonio', 'San Francisco', - 'San Narciso', 'Sariaya', 'Tagkawayan', 'Tiaong', 'Unisan', - 'Aglipay', 'Cabarroguis', 'Diffun', 'Maddela', 'Nagtipunan', - 'Saguday', 'Antipolo City', 'Angono', 'Baras', 'Binangonan', - 'Cainta', 'Cardona', 'Jalajala', 'Morong', 'Pililla', 'Rodriguez', - 'San Mateo', 'Tanay', 'Taytay', 'Teresa', 'Alcantara', 'Banton', - 'Cajidiocan', 'Calatrava', 'Concepcion', 'Corcuera', 'Ferrol', - 'Looc', 'Magdiwang', 'Odiongan', 'Romblon', 'San Agustin', - 'San Andres', 'San Fernando', 'San Jose', 'Santa Fe', 'Santa Maria', - 'Calbayog City', 'Catbalogan City', 'Almagro', 'Basey', 'Calbiga', - 'Daram', 'Gandara', 'Hinabangan', 'Jiabong', 'Marabut', 'Matuguinao', - 'Motiong', 'Pagsanghan', 'Paranas', 'Pinabacdao', 'San Jorge', - 'San Jose De Buan', 'San Sebastian', 'Santa Margarita', 'Santa Rita', - 'Santo Niño', 'Tagapul-an', 'Talalora', 'Tarangnan', 'Villareal', - 'Zumarraga', 'Alabel', 'Glan', 'Kiamba', 'Maasim', 'Maitum', - 'Malapatan', 'Malungon', 'Enrique Villanueva', 'Larena', 'Lazi', - 'Maria', 'San Juan', 'Siquijor', 'Sorsogon City', 'Barcelona', - 'Bulan', 'Bulusan', 'Casiguran', 'Castilla', 'Donsol', 'Gubat', - 'Irosin', 'Juban', 'Magallanes', 'Matnog', 'Pilar', 'Prieto Diaz', - 'Santa Magdalena', 'General Santos City', 'Koronadal City', - 'Polomolok', 'Banga', 'Lake Sebu', 'Norala', 'Santo Niño', - 'Surallah', 'T\'boli', 'Tampakan', 'Tantangan', 'Tupi', - 'Maasin City', 'Anahawan', 'Bontoc', 'Hinunangan', 'Hinundayan', - 'Libagon', 'Liloan', 'Limasawa', 'Macrohon', 'Malitbog', - 'Padre Burgos', 'Pintuyan', 'Saint Bernard', 'San Francisco', - 'San Juan', 'San Ricardo', 'Silago', 'Sogod', 'Tomas Oppus', - 'Tacurong City', 'Bagumbayan', 'Columbio', 'Esperanza', 'Isulan', - 'Kalamansig', 'Lambayong', 'Lebak', 'Lutayan', 'Palimbang', - 'President Quirino', 'Senator Ninoy Aquino', 'Banguingui', - 'Hadji Panglima Tahil', 'Indanan', 'Jolo', 'Kalingalan Caluang', - 'Lugus', 'Luuk', 'Maimbung', 'Old Panamao', 'Omar', 'Pandami', - 'Panglima Estino', 'Pangutaran', 'Parang', 'Pata', 'Patikul', - 'Siasi', 'Talipao', 'Tapul', 'Surigao City', 'Alegria', 'Bacuag', - 'Burgos', 'Claver', 'Dapa', 'Del Carmen', 'General Luna', - 'Gigaquit', 'Mainit', 'Malimono', 'Pilar', 'Placer', 'San Benito', - 'San Francisco', 'San Isidro', 'Santa Monica', 'Sison', 'Socorro', - 'Tagana-an', 'Tubod', 'Bislig City', 'Tandag City', 'Barobo', - 'Bayabas', 'Cagwait', 'Cantilan', 'Carmen', 'Carrascal', 'Cortes', - 'Hinatuan', 'Lanuza', 'Lianga', 'Lingig', 'Madrid', 'Marihatag', - 'San Agustin', 'San Miguel', 'Tagbina', 'Tago', 'Tarlac City', - 'Anao', 'Bamban', 'Camiling', 'Capas', 'Concepcion', 'Gerona', - 'La Paz', 'Mayantoc', 'Moncada', 'Paniqui', 'Pura', 'Ramos', - 'San Clemente', 'San Jose', 'San Manuel', 'Santa Ignacia', - 'Victoria', 'Bongao', 'Languyan', 'Mapun', 'Panglima Sugala', - 'Sapa-Sapa', 'Sibutu', 'Simunul', 'Sitangkai', 'South Ubian', - 'Tandubas', 'Turtle Islands', 'Olongapo City', 'Botolan', 'Cabangan', - 'Candelaria', 'Castillejos', 'Iba', 'Masinloc', 'Palauig', - 'San Antonio', 'San Felipe', 'San Marcelino', 'San Narciso', - 'Santa Cruz', 'Subic', 'Dapitan City', 'Dipolog City', 'Bacungan', - 'Baliguian', 'Godod', 'Gutalac', 'Jose Dalman', 'Kalawit', - 'Katipunan', 'La Libertad', 'Labason', 'Liloy', 'Manukan', 'Mutia', - 'Piñan', 'Polanco', 'President Manuel A. Roxas', 'Rizal', 'Salug', - 'Sergio Osmeña Sr.', 'Siayan', 'Sibuco', 'Sibutad', 'Sindangan', - 'Siocon', 'Sirawai', 'Tampilisan', 'Pagadian City', 'Zamboanga City', - 'Aurora', 'Bayog', 'Dimataling', 'Dinas', 'Dumalinao', 'Dumingag', - 'Guipos', 'Josefina', 'Kumalarang', 'Labangan', 'Lakewood', - 'Lapuyan', 'Mahayag', 'Margosatubig', 'Midsalip', 'Molave', 'Pitogo', - 'Ramon Magsaysay', 'San Miguel', 'San Pablo', 'Sominot', 'Tabina', - 'Tambulig', 'Tigbao', 'Tukuran', 'Vincenzo A. Sagun', 'Alicia', - 'Buug', 'Diplahan', 'Imelda', 'Ipil', 'Kabasalan', 'Mabuhay', - 'Malangas', 'Naga', 'Olutanga', 'Payao', 'Roseller Lim', 'Siay', - 'Talusan', 'Titay', 'Tungawan', - ]; + //http://en.wikipedia.org/wiki/List_of_Philippine_cities_and_municipalities_by_population + protected static $municipality = [ + 'Bangued', + 'Boliney', + 'Bucay', + 'Bucloc', + 'Daguioman', + 'Danglas', + 'Dolores', + 'La Paz', + 'Lacub', + 'Lagangilang', + 'Lagayan', + 'Langiden', + 'Licuan-Baay', + 'Luba', + 'Malibcong', + 'Manabo', + 'Peñarrubia', + 'Pidigan', + 'Pilar', + 'Sallapadan', + 'San Isidro', + 'San Juan', + 'San Quintin', + 'Tayum', + 'Tineg', + 'Tubo', + 'Villaviciosa', + 'Butuan City', + 'Cabadbaran City', + 'Buenavista', + 'Carmen', + 'Jabonga', + 'Kitcharao', + 'Las Nieves', + 'Magallanes', + 'Nasipit', + 'Remedios T. Romualdez', + 'Santiago', + 'Tubay', + 'Bayugan City', + 'Bunawan', + 'Esperanza', + 'La Paz', + 'Loreto', + 'Prosperidad', + 'Rosario', + 'San Francisco', + 'San Luis', + 'Santa Josefa', + 'Sibagat', + 'Talacogon', + 'Trento', + 'Veruela', + 'Altavas', + 'Balete', + 'Banga', + 'Batan', + 'Buruanga', + 'Ibajay', + 'Kalibo', + 'Lezo', + 'Libacao', + 'Madalag', + 'Makato', + 'Malay', + 'Malinao', + 'Nabas', + 'New Washington', + 'Numancia', + 'Tangalan', + 'Legazpi City', + 'Ligao City', + 'Tabaco City', + 'Bacacay', + 'Camalig', + 'Daraga', + 'Guinobatan', + 'Jovellar', + 'Libon', + 'Malilipot', + 'Malinao', + 'Manito', + 'Oas', + 'Pio Duran', + 'Polangui', + 'Rapu-Rapu', + 'Santo Domingo', + 'Anini-y', + 'Barbaza', + 'Belison', + 'Bugasong', + 'Caluya', + 'Culasi', + 'Hamtic', + 'Laua-an', + 'Libertad', + 'Pandan', + 'Patnongon', + 'San Jose', + 'San Remigio', + 'Sebaste', + 'Sibalom', + 'Tibiao', + 'Tobias Fornier', + 'Valderrama', + 'Calanasan', + 'Conner', + 'Flora', + 'Kabugao', + 'Luna', + 'Pudtol', + 'Santa Marcela', + 'Baler', + 'Casiguran', + 'Dilasag', + 'Dinalungan', + 'Dingalan', + 'Dipaculao', + 'Maria Aurora', + 'San Luis', + 'Isabela City', + 'Lamitan City', + 'Akbar', + 'Al-Barka', + 'Hadji Mohammad Ajul', + 'Hadji Muhtamad', + 'Lantawan', + 'Maluso', + 'Sumisip', + 'Tabuan-Lasa', + 'Tipo-Tipo', + 'Tuburan', + 'Ungkaya Pukan', + 'Balanga City', + 'Abucay', + 'Bagac', + 'Dinalupihan', + 'Hermosa', + 'Limay', + 'Mariveles', + 'Morong', + 'Orani', + 'Orion', + 'Pilar', + 'Samal', + 'Basco', + 'Itbayat', + 'Ivana', + 'Mahatao', + 'Sabtang', + 'Uyugan', + 'Batangas City', + 'Lipa City', + 'Tanauan City', + 'Agoncillo', + 'Alitagtag', + 'Balayan', + 'Balete', + 'Bauan', + 'Calaca', + 'Calatagan', + 'Cuenca', + 'Ibaan', + 'Laurel', + 'Lemery', + 'Lian', + 'Lobo', + 'Mabini', + 'Malvar', + 'Mataas na Kahoy', + 'Nasugbu', + 'Padre Garcia', + 'Rosario', + 'San Jose', + 'San Juan', + 'San Luis', + 'San Nicolas', + 'San Pascual', + 'Santa Teresita', + 'Santo Tomas', + 'Taal', + 'Talisay', + 'Taysan', + 'Tingloy', + 'Tuy', + 'Baguio City', + 'Atok', + 'Bakun', + 'Bokod', + 'Buguias', + 'Itogon', + 'Kabayan', + 'Kapangan', + 'Kibungan', + 'La Trinidad', + 'Mankayan', + 'Sablan', + 'Tuba', + 'Tublay', + 'Almeria', + 'Biliran', + 'Cabucgayan', + 'Caibiran', + 'Culaba', + 'Kawayan', + 'Maripipi', + 'Naval', + 'Tagbilaran City', + 'Alburquerque', + 'Alicia', + 'Anda', + 'Antequera', + 'Baclayon', + 'Balilihan', + 'Batuan', + 'Bien Unido', + 'Bilar', + 'Buenavista', + 'Calape', + 'Candijay', + 'Carmen', + 'Catigbian', + 'Clarin', + 'Corella', + 'Cortes', + 'Dagohoy', + 'Danao', + 'Dauis', + 'Dimiao', + 'Duero', + 'Garcia Hernandez', + 'Getafe', + 'Guindulman', + 'Inabanga', + 'Jagna', + 'Lila', + 'Loay', + 'Loboc', + 'Loon', + 'Mabini', + 'Maribojoc', + 'Panglao', + 'Pilar', + 'President Carlos P. Garcia', + 'Sagbayan', + 'San Isidro', + 'San Miguel', + 'Sevilla', + 'Sierra Bullones', + 'Sikatuna', + 'Talibon', + 'Trinidad', + 'Tubigon', + 'Ubay', + 'Valencia', + 'Malaybalay City', + 'Valencia City', + 'Baungon', + 'Cabanglasan', + 'Damulog', + 'Dangcagan', + 'Don Carlos', + 'Impasug-ong', + 'Kadingilan', + 'Kalilangan', + 'Kibawe', + 'Kitaotao', + 'Lantapan', + 'Libona', + 'Malitbog', + 'Manolo Fortich', + 'Maramag', + 'Pangantucan', + 'Quezon', + 'San Fernando', + 'Sumilao', + 'Talakag', + 'Malolos City', + 'Meycauayan City', + 'San Jose del Monte City', + 'Angat', + 'Balagtas', + 'Baliuag', + 'Bocaue', + 'Bulacan', + 'Bustos', + 'Calumpit', + 'Doña Remedios Trinidad', + 'Guiguinto', + 'Hagonoy', + 'Marilao', + 'Norzagaray', + 'Obando', + 'Pandi', + 'Paombong', + 'Plaridel', + 'Pulilan', + 'San Ildefonso', + 'San Miguel', + 'San Rafael', + 'Santa Maria', + 'Tuguegarao City', + 'Abulug', + 'Alcala', + 'Allacapan', + 'Amulung', + 'Aparri', + 'Baggao', + 'Ballesteros', + 'Buguey', + 'Calayan', + 'Camalaniugan', + 'Claveria', + 'Enrile', + 'Gattaran', + 'Gonzaga', + 'Iguig', + 'Lal-lo', + 'Lasam', + 'Pamplona', + 'Peñablanca', + 'Piat', + 'Rizal', + 'Sanchez-Mira', + 'Santa Ana', + 'Santa Praxedes', + 'Santa Teresita', + 'Santo Niño', + 'Solana', + 'Tuao', + 'Basud', + 'Capalonga', + 'Daet', + 'Jose Panganiban', + 'Labo', + 'Mercedes', + 'Paracale', + 'San Lorenzo Ruiz', + 'San Vicente', + 'Santa Elena', + 'Talisay', + 'Vinzons', + 'Iriga City', + 'Naga City', + 'Baao', + 'Balatan', + 'Bato', + 'Bombon', + 'Buhi', + 'Bula', + 'Cabusao', + 'Calabanga', + 'Camaligan', + 'Canaman', + 'Caramoan', + 'Del Gallego', + 'Gainza', + 'Garchitorena', + 'Goa', + 'Lagonoy', + 'Libmanan', + 'Lupi', + 'Magarao', + 'Milaor', + 'Minalabac', + 'Nabua', + 'Ocampo', + 'Pamplona', + 'Pasacao', + 'Pili', + 'Presentacion', + 'Ragay', + 'Sagñay', + 'San Fernando', + 'San Jose', + 'Sipocot', + 'Siruma', + 'Tigaon', + 'Tinambac', + 'Catarman', + 'Guinsiliban', + 'Mahinog', + 'Mambajao', + 'Sagay', + 'Roxas City', + 'Cuartero', + 'Dao', + 'Dumalag', + 'Dumarao', + 'Ivisan', + 'Jamindan', + 'Ma-ayon', + 'Mambusao', + 'Panay', + 'Panitan', + 'Pilar', + 'Pontevedra', + 'President Roxas', + 'Sapi-an', + 'Sigma', + 'Tapaz', + 'Bagamanoc', + 'Baras', + 'Bato', + 'Caramoran', + 'Gigmoto', + 'Pandan', + 'Panganiban', + 'San Andres', + 'San Miguel', + 'Viga', + 'Virac', + 'Bacoor City', + 'Cavite City', + 'Dasmariñas City', + 'Imus City', + 'Tagaytay City', + 'Trece Martires City', + 'Alfonso', + 'Amadeo', + 'Carmona', + 'General Mariano Alvarez', + 'General Emilio Aguinaldo', + 'General Trias', + 'Indang', + 'Kawit', + 'Magallanes', + 'Maragondon', + 'Mendez', + 'Naic', + 'Noveleta', + 'Rosario', + 'Silang', + 'Tanza', + 'Ternate', + 'Bogo City', + 'Cebu City', + 'Carcar City', + 'Danao City', + 'Lapu-Lapu City', + 'Mandaue City', + 'Naga City', + 'Talisay City', + 'Toledo City', + 'Alcantara', + 'Alcoy', + 'Alegria', + 'Aloguinsan', + 'Argao', + 'Asturias', + 'Badian', + 'Balamban', + 'Bantayan', + 'Barili', + 'Boljoon', + 'Borbon', + 'Carmen', + 'Catmon', + 'Compostela', + 'Consolacion', + 'Cordoba', + 'Daanbantayan', + 'Dalaguete', + 'Dumanjug', + 'Ginatilan', + 'Liloan', + 'Madridejos', + 'Malabuyoc', + 'Medellin', + 'Minglanilla', + 'Moalboal', + 'Oslob', + 'Pilar', + 'Pinamungahan', + 'Poro', + 'Ronda', + 'Samboan', + 'San Fernando', + 'San Francisco', + 'San Remigio', + 'Santa Fe', + 'Santander', + 'Sibonga', + 'Sogod', + 'Tabogon', + 'Tabuelan', + 'Tuburan', + 'Tudela', + 'Compostela', + 'Laak', + 'Mabini', + 'Maco', + 'Maragusan', + 'Mawab', + 'Monkayo', + 'Montevista', + 'Nabunturan', + 'New Bataan', + 'Pantukan', + 'Kidapawan City', + 'Alamada', + 'Aleosan', + 'Antipas', + 'Arakan', + 'Banisilan', + 'Carmen', + 'Kabacan', + 'Libungan', + 'M\'lang', + 'Magpet', + 'Makilala', + 'Matalam', + 'Midsayap', + 'Pigkawayan', + 'Pikit', + 'President Roxas', + 'Tulunan', + 'Panabo City', + 'Samal City', + 'Tagum City', + 'Asuncion', + 'Braulio E. Dujali', + 'Carmen', + 'Kapalong', + 'New Corella', + 'San Isidro', + 'Santo Tomas', + 'Talaingod', + 'Davao City', + 'Digos City', + 'Bansalan', + 'Don Marcelino', + 'Hagonoy', + 'Jose Abad Santos', + 'Kiblawan', + 'Magsaysay', + 'Malalag', + 'Malita', + 'Matanao', + 'Padada', + 'Santa Cruz', + 'Santa Maria', + 'Sarangani', + 'Sulop', + 'Mati City', + 'Baganga', + 'Banaybanay', + 'Boston', + 'Caraga', + 'Cateel', + 'Governor Generoso', + 'Lupon', + 'Manay', + 'San Isidro', + 'Tarragona', + 'Basilisa', + 'Cagdianao', + 'Dinagat', + 'Libjo', + 'Loreto', + 'San Jose', + 'Tubajon', + 'Borongan City', + 'Arteche', + 'Balangiga', + 'Balangkayan', + 'Can-avid', + 'Dolores', + 'General MacArthur', + 'Giporlos', + 'Guiuan', + 'Hernani', + 'Jipapad', + 'Lawaan', + 'Llorente', + 'Maslog', + 'Maydolong', + 'Mercedes', + 'Oras', + 'Quinapondan', + 'Salcedo', + 'San Julian', + 'San Policarpo', + 'Sulat', + 'Taft', + 'Buenavista', + 'Jordan', + 'Nueva Valencia', + 'San Lorenzo', + 'Sibunag', + 'Aguinaldo', + 'Alfonso Lista', + 'Asipulo', + 'Banaue', + 'Hingyon', + 'Hungduan', + 'Kiangan', + 'Lagawe', + 'Lamut', + 'Mayoyao', + 'Tinoc', + 'Batac City', + 'Laoag City', + 'Adams', + 'Bacarra', + 'Badoc', + 'Bangui', + 'Banna', + 'Burgos', + 'Carasi', + 'Currimao', + 'Dingras', + 'Dumalneg', + 'Marcos', + 'Nueva Era', + 'Pagudpud', + 'Paoay', + 'Pasuquin', + 'Piddig', + 'Pinili', + 'San Nicolas', + 'Sarrat', + 'Solsona', + 'Vintar', + 'Candon City', + 'Vigan City', + 'Alilem', + 'Banayoyo', + 'Bantay', + 'Burgos', + 'Cabugao', + 'Caoayan', + 'Cervantes', + 'Galimuyod', + 'Gregorio Del Pilar', + 'Lidlidda', + 'Magsingal', + 'Nagbukel', + 'Narvacan', + 'Quirino', + 'Salcedo', + 'San Emilio', + 'San Esteban', + 'San Ildefonso', + 'San Juan', + 'San Vicente', + 'Santa', + 'Santa Catalina', + 'Santa Cruz', + 'Santa Lucia', + 'Santa Maria', + 'Santiago', + 'Santo Domingo', + 'Sigay', + 'Sinait', + 'Sugpon', + 'Suyo', + 'Tagudin', + 'Iloilo City', + 'Passi City', + 'Ajuy', + 'Alimodian', + 'Anilao', + 'Badiangan', + 'Balasan', + 'Banate', + 'Barotac Nuevo', + 'Barotac Viejo', + 'Batad', + 'Bingawan', + 'Cabatuan', + 'Calinog', + 'Carles', + 'Concepcion', + 'Dingle', + 'Dueñas', + 'Dumangas', + 'Estancia', + 'Guimbal', + 'Igbaras', + 'Janiuay', + 'Lambunao', + 'Leganes', + 'Lemery', + 'Leon', + 'Maasin', + 'Miagao', + 'Mina', + 'New Lucena', + 'Oton', + 'Pavia', + 'Pototan', + 'San Dionisio', + 'San Enrique', + 'San Joaquin', + 'San Miguel', + 'San Rafael', + 'Santa Barbara', + 'Sara', + 'Tigbauan', + 'Tubungan', + 'Zarraga', + 'Cauayan City', + 'Ilagan City', + 'Santiago City', + 'Alicia', + 'Angadanan', + 'Aurora', + 'Benito Soliven', + 'Burgos', + 'Cabagan', + 'Cabatuan', + 'Cordon', + 'Delfin Albano', + 'Dinapigue', + 'Divilacan', + 'Echague', + 'Gamu', + 'Jones', + 'Luna', + 'Maconacon', + 'Mallig', + 'Naguilian', + 'Palanan', + 'Quezon', + 'Quirino', + 'Ramon', + 'Reina Mercedes', + 'Roxas', + 'San Agustin', + 'San Guillermo', + 'San Isidro', + 'San Manuel', + 'San Mariano', + 'San Mateo', + 'San Pablo', + 'Santa Maria', + 'Santo Tomas', + 'Tumauini', + 'Tabuk City', + 'Balbalan', + 'Lubuagan', + 'Pasil', + 'Pinukpuk', + 'Rizal', + 'Tanudan', + 'Tinglayan', + 'San Fernando City', + 'Agoo', + 'Aringay', + 'Bacnotan', + 'Bagulin', + 'Balaoan', + 'Bangar', + 'Bauang', + 'Burgos', + 'Caba', + 'Luna', + 'Naguilian', + 'Pugo', + 'Rosario', + 'San Gabriel', + 'San Juan', + 'Santo Tomas', + 'Santol', + 'Sudipen', + 'Tubao', + 'Biñan City', + 'Cabuyao City', + 'Calamba City', + 'San Pablo City', + 'Santa Rosa City', + 'Nature and Science City of Los Baños', + 'San Pedro', + 'Alaminos', + 'Bay', + 'Calauan', + 'Cavinti', + 'Famy', + 'Kalayaan', + 'Liliw', + 'Luisiana', + 'Lumban', + 'Mabitac', + 'Magdalena', + 'Majayjay', + 'Nagcarlan', + 'Paete', + 'Pagsanjan', + 'Pakil', + 'Pangil', + 'Pila', + 'Rizal', + 'Santa Cruz', + 'Santa Maria', + 'Siniloan', + 'Victoria', + 'Iligan City', + 'Bacolod', + 'Baloi', + 'Baroy', + 'Kapatagan', + 'Kauswagan', + 'Kolambugan', + 'Lala', + 'Linamon', + 'Magsaysay', + 'Maigo', + 'Matungao', + 'Munai', + 'Nunungan', + 'Pantao Ragat', + 'Pantar', + 'Poona Piagapo', + 'Salvador', + 'Sapad', + 'Sultan Naga Dimaporo', + 'Tagoloan', + 'Tangcal', + 'Tubod', + 'Marawi City', + 'Bacolod-Kalawi', + 'Balabagan', + 'Balindong', + 'Bayang', + 'Binidayan', + 'Buadiposo-Buntong', + 'Bubong', + 'Bumbaran', + 'Butig', + 'Calanogas', + 'Ditsaan-Ramain', + 'Ganassi', + 'Kapai', + 'Kapatagan', + 'Lumba-Bayabao', + 'Lumbaca-Unayan', + 'Lumbatan', + 'Lumbayanague', + 'Madalum', + 'Madamba', + 'Maguing', + 'Malabang', + 'Marantao', + 'Marogong', + 'Masiu', + 'Mulondo', + 'Pagayawan', + 'Piagapo', + 'Poona Bayabao', + 'Pualas', + 'Saguiaran', + 'Sultan Dumalondong', + 'Picong', + 'Tagoloan II', + 'Tamparan', + 'Taraka', + 'Tubaran', + 'Tugaya', + 'Wao', + 'Baybay City', + 'Ormoc City', + 'Tacloban City', + 'Abuyog', + 'Alangalang', + 'Albuera', + 'Babatngon', + 'Barugo', + 'Bato', + 'Burauen', + 'Calubian', + 'Capoocan', + 'Carigara', + 'Dagami', + 'Dulag', + 'Hilongos', + 'Hindang', + 'Inopacan', + 'Isabel', + 'Jaro', + 'Javier', + 'Julita', + 'Kananga', + 'La Paz', + 'Leyte', + 'MacArthur', + 'Mahaplag', + 'Matag-ob', + 'Matalom', + 'Mayorga', + 'Merida', + 'Palo', + 'Palompon', + 'Pastrana', + 'San Isidro', + 'San Miguel', + 'Santa Fe', + 'Tabango', + 'Tabontabon', + 'Tanauan', + 'Tolosa', + 'Tunga', + 'Villaba', + 'Cotabato City', + 'Ampatuan', + 'Barira', + 'Buldon', + 'Buluan', + 'Datu Abdullah Sangki', + 'Datu Anggal Midtimbang', + 'Datu Blah T. Sinsuat', + 'Datu Hoffer Ampatuan', + 'Datu Montawal', + 'Datu Odin Sinsuat', + 'Datu Paglas', + 'Datu Piang', + 'Datu Salibo', + 'Datu Saudi-Ampatuan', + 'Datu Unsay', + 'General Salipada K. Pendatun', + 'Guindulungan', + 'Kabuntalan', + 'Mamasapano', + 'Mangudadatu', + 'Matanog', + 'Northern Kabuntalan', + 'Pagalungan', + 'Paglat', + 'Pandag', + 'Parang', + 'Rajah Buayan', + 'Shariff Aguak', + 'Shariff Saydona Mustapha', + 'South Upi', + 'Sultan Kudarat', + 'Sultan Mastura', + 'Sultan sa Barongis', + 'Talayan', + 'Talitay', + 'Upi', + 'Boac', + 'Buenavista', + 'Gasan', + 'Mogpog', + 'Santa Cruz', + 'Torrijos', + 'Masbate City', + 'Aroroy', + 'Baleno', + 'Balud', + 'Batuan', + 'Cataingan', + 'Cawayan', + 'Claveria', + 'Dimasalang', + 'Esperanza', + 'Mandaon', + 'Milagros', + 'Mobo', + 'Monreal', + 'Palanas', + 'Pio V. Corpuz', + 'Placer', + 'San Fernando', + 'San Jacinto', + 'San Pascual', + 'Uson', + 'Manila', + 'Caloocan', + 'Las Piñas', + 'Makati', + 'Malabon', + 'Mandaluyong', + 'Marikina', + 'Muntinlupa', + 'Navotas', + 'Parañaque', + 'Pasay', + 'Pasig', + 'Quezon City', + 'San Juan', + 'Taguig', + 'Valenzuela', + 'Pateros', + 'Oroquieta City', + 'Ozamiz City', + 'Tangub City', + 'Aloran', + 'Baliangao', + 'Bonifacio', + 'Calamba', + 'Clarin', + 'Concepcion', + 'Don Victoriano Chiongbian', + 'Jimenez', + 'Lopez Jaena', + 'Panaon', + 'Plaridel', + 'Sapang Dalaga', + 'Sinacaban', + 'Tudela', + 'Cagayan de Oro', + 'El Salvador City', + 'Gingoog City', + 'Alubijid', + 'Balingasag', + 'Balingoan', + 'Binuangan', + 'Claveria', + 'Gitagum', + 'Initao', + 'Jasaan', + 'Kinoguitan', + 'Lagonglong', + 'Laguindingan', + 'Libertad', + 'Lugait', + 'Magsaysay', + 'Manticao', + 'Medina', + 'Naawan', + 'Opol', + 'Salay', + 'Sugbongcogon', + 'Tagoloan', + 'Talisayan', + 'Villanueva', + 'Barlig', + 'Bauko', + 'Besao', + 'Bontoc', + 'Natonin', + 'Paracelis', + 'Sabangan', + 'Sadanga', + 'Sagada', + 'Tadian', + 'Bacolod City', + 'Bago City', + 'Cadiz City', + 'Escalante City', + 'Himamaylan City', + 'Kabankalan City', + 'La Carlota City', + 'Sagay City', + 'San Carlos City', + 'Silay City', + 'Sipalay City', + 'Talisay City', + 'Victorias City', + 'Binalbagan', + 'Calatrava', + 'Candoni', + 'Cauayan', + 'Enrique B. Magalona', + 'Hinigaran', + 'Hinoba-an', + 'Ilog', + 'Isabela', + 'La Castellana', + 'Manapla', + 'Moises Padilla', + 'Murcia', + 'Pontevedra', + 'Pulupandan', + 'Salvador Benedicto', + 'San Enrique', + 'Toboso', + 'Valladolid', + 'Bais City', + 'Bayawan City', + 'Canlaon City', + 'Guihulngan City', + 'Dumaguete City', + 'Tanjay City', + 'Amlan', + 'Ayungon', + 'Bacong', + 'Basay', + 'Bindoy', + 'Dauin', + 'Jimalalud', + 'La Libertad', + 'Mabinay', + 'Manjuyod', + 'Pamplona', + 'San Jose', + 'Santa Catalina', + 'Siaton', + 'Sibulan', + 'Tayasan', + 'Valencia', + 'Vallehermoso', + 'Zamboanguita', + 'Allen', + 'Biri', + 'Bobon', + 'Capul', + 'Catarman', + 'Catubig', + 'Gamay', + 'Laoang', + 'Lapinig', + 'Las Navas', + 'Lavezares', + 'Lope de Vega', + 'Mapanas', + 'Mondragon', + 'Palapag', + 'Pambujan', + 'Rosario', + 'San Antonio', + 'San Isidro', + 'San Jose', + 'San Roque', + 'San Vicente', + 'Silvino Lobos', + 'Victoria', + 'Cabanatuan City', + 'Gapan City', + 'Palayan City', + 'San Jose City', + 'Science City of Muñoz', + 'Aliaga', + 'Bongabon', + 'Cabiao', + 'Carranglan', + 'Cuyapo', + 'Gabaldon', + 'General Mamerto Natividad', + 'General Tinio', + 'Guimba', + 'Jaen', + 'Laur', + 'Licab', + 'Llanera', + 'Lupao', + 'Nampicuan', + 'Pantabangan', + 'Peñaranda', + 'Quezon', + 'Rizal', + 'San Antonio', + 'San Isidro', + 'San Leonardo', + 'Santa Rosa', + 'Santo Domingo', + 'Talavera', + 'Talugtug', + 'Zaragoza', + 'Alfonso Castaneda', + 'Ambaguio', + 'Aritao', + 'Bagabag', + 'Bambang', + 'Bayombong', + 'Diadi', + 'Dupax del Norte', + 'Dupax del Sur', + 'Kasibu', + 'Kayapa', + 'Quezon', + 'Santa Fe', + 'Solano', + 'Villaverde', + 'Abra de Ilog', + 'Calintaan', + 'Looc', + 'Lubang', + 'Magsaysay', + 'Mamburao', + 'Paluan', + 'Rizal', + 'Sablayan', + 'San Jose', + 'Santa Cruz', + 'Calapan City', + 'Baco', + 'Bansud', + 'Bongabong', + 'Bulalacao', + 'Gloria', + 'Mansalay', + 'Naujan', + 'Pinamalayan', + 'Pola', + 'Puerto Galera', + 'Roxas', + 'San Teodoro', + 'Socorro', + 'Victoria', + 'Puerto Princesa City', + 'Aborlan', + 'Agutaya', + 'Araceli', + 'Balabac', + 'Bataraza', + 'Brooke\'s Point', + 'Busuanga', + 'Cagayancillo', + 'Coron', + 'Culion', + 'Cuyo', + 'Dumaran', + 'El Nido', + 'Kalayaan', + 'Linapacan', + 'Magsaysay', + 'Narra', + 'Quezon', + 'Rizal', + 'Roxas', + 'San Vicente', + 'Sofronio Española', + 'Taytay', + 'Angeles City', + 'San Fernando City', + 'Mabalacat City', + 'Apalit', + 'Arayat', + 'Bacolor', + 'Candaba', + 'Floridablanca', + 'Guagua', + 'Lubao', + 'Macabebe', + 'Magalang', + 'Masantol', + 'Mexico', + 'Minalin', + 'Porac', + 'San Luis', + 'San Simon', + 'Santa Ana', + 'Santa Rita', + 'Santo Tomas', + 'Sasmuan', + 'Alaminos City', + 'Dagupan City', + 'San Carlos City', + 'Urdaneta City', + 'Agno', + 'Aguilar', + 'Alcala', + 'Anda', + 'Asingan', + 'Balungao', + 'Bani', + 'Basista', + 'Bautista', + 'Bayambang', + 'Binalonan', + 'Binmaley', + 'Bolinao', + 'Bugallon', + 'Burgos', + 'Calasiao', + 'Dasol', + 'Infanta', + 'Labrador', + 'Laoac', + 'Lingayen', + 'Mabini', + 'Malasiqui', + 'Manaoag', + 'Mangaldan', + 'Mangatarem', + 'Mapandan', + 'Natividad', + 'Pozzorubio', + 'Rosales', + 'San Fabian', + 'San Jacinto', + 'San Manuel', + 'San Nicolas', + 'San Quintin', + 'Santa Barbara', + 'Santa Maria', + 'Santo Tomas', + 'Sison', + 'Sual', + 'Tayug', + 'Umingan', + 'Urbiztondo', + 'Villasis', + 'Lucena City', + 'Tayabas City', + 'Agdangan', + 'Alabat', + 'Atimonan', + 'Buenavista', + 'Burdeos', + 'Calauag', + 'Candelaria', + 'Catanauan', + 'Dolores', + 'General Luna', + 'General Nakar', + 'Guinayangan', + 'Gumaca', + 'Infanta', + 'Jomalig', + 'Lopez', + 'Lucban', + 'Macalelon', + 'Mauban', + 'Mulanay', + 'Padre Burgos', + 'Pagbilao', + 'Panukulan', + 'Patnanungan', + 'Perez', + 'Pitogo', + 'Plaridel', + 'Polillo', + 'Quezon', + 'Real', + 'Sampaloc', + 'San Andres', + 'San Antonio', + 'San Francisco', + 'San Narciso', + 'Sariaya', + 'Tagkawayan', + 'Tiaong', + 'Unisan', + 'Aglipay', + 'Cabarroguis', + 'Diffun', + 'Maddela', + 'Nagtipunan', + 'Saguday', + 'Antipolo City', + 'Angono', + 'Baras', + 'Binangonan', + 'Cainta', + 'Cardona', + 'Jalajala', + 'Morong', + 'Pililla', + 'Rodriguez', + 'San Mateo', + 'Tanay', + 'Taytay', + 'Teresa', + 'Alcantara', + 'Banton', + 'Cajidiocan', + 'Calatrava', + 'Concepcion', + 'Corcuera', + 'Ferrol', + 'Looc', + 'Magdiwang', + 'Odiongan', + 'Romblon', + 'San Agustin', + 'San Andres', + 'San Fernando', + 'San Jose', + 'Santa Fe', + 'Santa Maria', + 'Calbayog City', + 'Catbalogan City', + 'Almagro', + 'Basey', + 'Calbiga', + 'Daram', + 'Gandara', + 'Hinabangan', + 'Jiabong', + 'Marabut', + 'Matuguinao', + 'Motiong', + 'Pagsanghan', + 'Paranas', + 'Pinabacdao', + 'San Jorge', + 'San Jose De Buan', + 'San Sebastian', + 'Santa Margarita', + 'Santa Rita', + 'Santo Niño', + 'Tagapul-an', + 'Talalora', + 'Tarangnan', + 'Villareal', + 'Zumarraga', + 'Alabel', + 'Glan', + 'Kiamba', + 'Maasim', + 'Maitum', + 'Malapatan', + 'Malungon', + 'Enrique Villanueva', + 'Larena', + 'Lazi', + 'Maria', + 'San Juan', + 'Siquijor', + 'Sorsogon City', + 'Barcelona', + 'Bulan', + 'Bulusan', + 'Casiguran', + 'Castilla', + 'Donsol', + 'Gubat', + 'Irosin', + 'Juban', + 'Magallanes', + 'Matnog', + 'Pilar', + 'Prieto Diaz', + 'Santa Magdalena', + 'General Santos City', + 'Koronadal City', + 'Polomolok', + 'Banga', + 'Lake Sebu', + 'Norala', + 'Santo Niño', + 'Surallah', + 'T\'boli', + 'Tampakan', + 'Tantangan', + 'Tupi', + 'Maasin City', + 'Anahawan', + 'Bontoc', + 'Hinunangan', + 'Hinundayan', + 'Libagon', + 'Liloan', + 'Limasawa', + 'Macrohon', + 'Malitbog', + 'Padre Burgos', + 'Pintuyan', + 'Saint Bernard', + 'San Francisco', + 'San Juan', + 'San Ricardo', + 'Silago', + 'Sogod', + 'Tomas Oppus', + 'Tacurong City', + 'Bagumbayan', + 'Columbio', + 'Esperanza', + 'Isulan', + 'Kalamansig', + 'Lambayong', + 'Lebak', + 'Lutayan', + 'Palimbang', + 'President Quirino', + 'Senator Ninoy Aquino', + 'Banguingui', + 'Hadji Panglima Tahil', + 'Indanan', + 'Jolo', + 'Kalingalan Caluang', + 'Lugus', + 'Luuk', + 'Maimbung', + 'Old Panamao', + 'Omar', + 'Pandami', + 'Panglima Estino', + 'Pangutaran', + 'Parang', + 'Pata', + 'Patikul', + 'Siasi', + 'Talipao', + 'Tapul', + 'Surigao City', + 'Alegria', + 'Bacuag', + 'Burgos', + 'Claver', + 'Dapa', + 'Del Carmen', + 'General Luna', + 'Gigaquit', + 'Mainit', + 'Malimono', + 'Pilar', + 'Placer', + 'San Benito', + 'San Francisco', + 'San Isidro', + 'Santa Monica', + 'Sison', + 'Socorro', + 'Tagana-an', + 'Tubod', + 'Bislig City', + 'Tandag City', + 'Barobo', + 'Bayabas', + 'Cagwait', + 'Cantilan', + 'Carmen', + 'Carrascal', + 'Cortes', + 'Hinatuan', + 'Lanuza', + 'Lianga', + 'Lingig', + 'Madrid', + 'Marihatag', + 'San Agustin', + 'San Miguel', + 'Tagbina', + 'Tago', + 'Tarlac City', + 'Anao', + 'Bamban', + 'Camiling', + 'Capas', + 'Concepcion', + 'Gerona', + 'La Paz', + 'Mayantoc', + 'Moncada', + 'Paniqui', + 'Pura', + 'Ramos', + 'San Clemente', + 'San Jose', + 'San Manuel', + 'Santa Ignacia', + 'Victoria', + 'Bongao', + 'Languyan', + 'Mapun', + 'Panglima Sugala', + 'Sapa-Sapa', + 'Sibutu', + 'Simunul', + 'Sitangkai', + 'South Ubian', + 'Tandubas', + 'Turtle Islands', + 'Olongapo City', + 'Botolan', + 'Cabangan', + 'Candelaria', + 'Castillejos', + 'Iba', + 'Masinloc', + 'Palauig', + 'San Antonio', + 'San Felipe', + 'San Marcelino', + 'San Narciso', + 'Santa Cruz', + 'Subic', + 'Dapitan City', + 'Dipolog City', + 'Bacungan', + 'Baliguian', + 'Godod', + 'Gutalac', + 'Jose Dalman', + 'Kalawit', + 'Katipunan', + 'La Libertad', + 'Labason', + 'Liloy', + 'Manukan', + 'Mutia', + 'Piñan', + 'Polanco', + 'President Manuel A. Roxas', + 'Rizal', + 'Salug', + 'Sergio Osmeña Sr.', + 'Siayan', + 'Sibuco', + 'Sibutad', + 'Sindangan', + 'Siocon', + 'Sirawai', + 'Tampilisan', + 'Pagadian City', + 'Zamboanga City', + 'Aurora', + 'Bayog', + 'Dimataling', + 'Dinas', + 'Dumalinao', + 'Dumingag', + 'Guipos', + 'Josefina', + 'Kumalarang', + 'Labangan', + 'Lakewood', + 'Lapuyan', + 'Mahayag', + 'Margosatubig', + 'Midsalip', + 'Molave', + 'Pitogo', + 'Ramon Magsaysay', + 'San Miguel', + 'San Pablo', + 'Sominot', + 'Tabina', + 'Tambulig', + 'Tigbao', + 'Tukuran', + 'Vincenzo A. Sagun', + 'Alicia', + 'Buug', + 'Diplahan', + 'Imelda', + 'Ipil', + 'Kabasalan', + 'Mabuhay', + 'Malangas', + 'Naga', + 'Olutanga', + 'Payao', + 'Roseller Lim', + 'Siay', + 'Talusan', + 'Titay', + 'Tungawan', + ]; - protected static $barangay = [ - 'Poblacion', - ]; + protected static $barangay = [ + 'Poblacion', + ]; - public function province() - { - return static::randomElement(static::$province); - } + public function province() { + return static::randomElement( static::$province ); + } - public function city() - { - return static::randomElement(static::$city); - } + public function city() { + return static::randomElement( static::$city ); + } - public function municipality() - { - return static::randomElement(static::$municipality); - } + public function municipality() { + return static::randomElement( static::$municipality ); + } - public function barangay() - { - return static::randomElement(static::$barangay); - } + public function barangay() { + return static::randomElement( static::$barangay ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_PH/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_PH/PhoneNumber.php index 8f6d5e0..224281f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_PH/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_PH/PhoneNumber.php @@ -2,58 +2,132 @@ namespace Faker\Provider\en_PH; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - // http://en.wikipedia.org/wiki/Telephone_numbers_in_the_Philippines - protected static $mobileFormats = [ - '+63 (813) ###-####', '+63 (817) ###-####', '+63 (900) ###-####', - '+63 (905) ###-####', '+63 (906) ###-####', '+63 (907) ###-####', - '+63 (908) ###-####', '+63 (909) ###-####', '+63 (910) ###-####', - '+63 (911) ###-####', '+63 (912) ###-####', '+63 (915) ###-####', - '+63 (916) ###-####', '+63 (917) ###-####', '+63 (918) ###-####', - '+63 (919) ###-####', '+63 (920) ###-####', '+63 (921) ###-####', - '+63 (922) ###-####', '+63 (923) ###-####', '+63 (925) ###-####', - '+63 (926) ###-####', '+63 (927) ###-####', '+63 (928) ###-####', - '+63 (929) ###-####', '+63 (930) ###-####', '+63 (931) ###-####', - '+63 (932) ###-####', '+63 (933) ###-####', '+63 (934) ###-####', - '+63 (935) ###-####', '+63 (936) ###-####', '+63 (937) ###-####', - '+63 (938) ###-####', '+63 (939) ###-####', '+63 (940) ###-####', - '+63 (942) ###-####', '+63 (943) ###-####', '+63 (944) ###-####', - '+63 (946) ###-####', '+63 (947) ###-####', '+63 (948) ###-####', - '+63 (949) ###-####', '+63 (971) ###-####', '+63 (973) ###-####', - '+63 (974) ###-####', '+63 (975) ###-####', '+63 (977) ###-####', - '+63 (978) ###-####', '+63 (979) ###-####', '+63 (980) ###-####', - '+63 (989) ###-####', '+63 (994) ###-####', '+63 (996) ###-####', - '+63 (997) ###-####', '+63 (998) ###-####', '+63 (999) ###-####', +class PhoneNumber extends \Faker\Provider\PhoneNumber { + // http://en.wikipedia.org/wiki/Telephone_numbers_in_the_Philippines + protected static $mobileFormats = [ + '+63 (813) ###-####', + '+63 (817) ###-####', + '+63 (900) ###-####', + '+63 (905) ###-####', + '+63 (906) ###-####', + '+63 (907) ###-####', + '+63 (908) ###-####', + '+63 (909) ###-####', + '+63 (910) ###-####', + '+63 (911) ###-####', + '+63 (912) ###-####', + '+63 (915) ###-####', + '+63 (916) ###-####', + '+63 (917) ###-####', + '+63 (918) ###-####', + '+63 (919) ###-####', + '+63 (920) ###-####', + '+63 (921) ###-####', + '+63 (922) ###-####', + '+63 (923) ###-####', + '+63 (925) ###-####', + '+63 (926) ###-####', + '+63 (927) ###-####', + '+63 (928) ###-####', + '+63 (929) ###-####', + '+63 (930) ###-####', + '+63 (931) ###-####', + '+63 (932) ###-####', + '+63 (933) ###-####', + '+63 (934) ###-####', + '+63 (935) ###-####', + '+63 (936) ###-####', + '+63 (937) ###-####', + '+63 (938) ###-####', + '+63 (939) ###-####', + '+63 (940) ###-####', + '+63 (942) ###-####', + '+63 (943) ###-####', + '+63 (944) ###-####', + '+63 (946) ###-####', + '+63 (947) ###-####', + '+63 (948) ###-####', + '+63 (949) ###-####', + '+63 (971) ###-####', + '+63 (973) ###-####', + '+63 (974) ###-####', + '+63 (975) ###-####', + '+63 (977) ###-####', + '+63 (978) ###-####', + '+63 (979) ###-####', + '+63 (980) ###-####', + '+63 (989) ###-####', + '+63 (994) ###-####', + '+63 (996) ###-####', + '+63 (997) ###-####', + '+63 (998) ###-####', + '+63 (999) ###-####', - '(0813) ###-####', '(0817) ###-####', '(0900) ###-####', - '(0905) ###-####', '(0906) ###-####', '(0907) ###-####', - '(0908) ###-####', '(0909) ###-####', '(0910) ###-####', - '(0911) ###-####', '(0912) ###-####', '(0915) ###-####', - '(0916) ###-####', '(0917) ###-####', '(0918) ###-####', - '(0919) ###-####', '(0920) ###-####', '(0921) ###-####', - '(0922) ###-####', '(0923) ###-####', '(0925) ###-####', - '(0926) ###-####', '(0927) ###-####', '(0928) ###-####', - '(0929) ###-####', '(0930) ###-####', '(0931) ###-####', - '(0932) ###-####', '(0933) ###-####', '(0934) ###-####', - '(0935) ###-####', '(0936) ###-####', '(0937) ###-####', - '(0938) ###-####', '(0939) ###-####', '(0940) ###-####', - '(0942) ###-####', '(0943) ###-####', '(0944) ###-####', - '(0946) ###-####', '(0947) ###-####', '(0948) ###-####', - '(0949) ###-####', '(0971) ###-####', '(0973) ###-####', - '(0974) ###-####', '(0975) ###-####', '(0977) ###-####', - '(0978) ###-####', '(0979) ###-####', '(0980) ###-####', - '(0989) ###-####', '(0994) ###-####', '(0996) ###-####', - '(0997) ###-####', '(0998) ###-####', '(0999) ###-####', - ]; + '(0813) ###-####', + '(0817) ###-####', + '(0900) ###-####', + '(0905) ###-####', + '(0906) ###-####', + '(0907) ###-####', + '(0908) ###-####', + '(0909) ###-####', + '(0910) ###-####', + '(0911) ###-####', + '(0912) ###-####', + '(0915) ###-####', + '(0916) ###-####', + '(0917) ###-####', + '(0918) ###-####', + '(0919) ###-####', + '(0920) ###-####', + '(0921) ###-####', + '(0922) ###-####', + '(0923) ###-####', + '(0925) ###-####', + '(0926) ###-####', + '(0927) ###-####', + '(0928) ###-####', + '(0929) ###-####', + '(0930) ###-####', + '(0931) ###-####', + '(0932) ###-####', + '(0933) ###-####', + '(0934) ###-####', + '(0935) ###-####', + '(0936) ###-####', + '(0937) ###-####', + '(0938) ###-####', + '(0939) ###-####', + '(0940) ###-####', + '(0942) ###-####', + '(0943) ###-####', + '(0944) ###-####', + '(0946) ###-####', + '(0947) ###-####', + '(0948) ###-####', + '(0949) ###-####', + '(0971) ###-####', + '(0973) ###-####', + '(0974) ###-####', + '(0975) ###-####', + '(0977) ###-####', + '(0978) ###-####', + '(0979) ###-####', + '(0980) ###-####', + '(0989) ###-####', + '(0994) ###-####', + '(0996) ###-####', + '(0997) ###-####', + '(0998) ###-####', + '(0999) ###-####', + ]; - /** - * Return a en_PH mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a en_PH mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_SG/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_SG/Address.php index 2b20ece..61338b3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_SG/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_SG/Address.php @@ -2,124 +2,194 @@ namespace Faker\Provider\en_SG; -class Address extends \Faker\Provider\Address -{ - // http://en.wikipedia.org/wiki/Singapore_Post#Address_format - protected static $streetNumber = ['##', '###']; - - // http://en.wikipedia.org/wiki/Singapore_Post#Address_format - protected static $blockNumber = [ - 'Blk ##', - 'Blk ###', - 'Blk ###A', - 'Blk ###B', - 'Blk ###C', - 'Blk ###D', - 'Blk ###E', - 'Blk ###F', - 'Blk ###G', - 'Blk ###H', - ]; - - // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ - protected static $streetSuffix = [ - 'Alley', 'Avenue', - 'Bridge', - 'Crescent', - 'Drive', - 'Grove', - 'Highway', 'Hill', - 'Lane', 'Link', - 'Park', 'Place', - 'Quay', - 'Road', - 'Walk', 'Way', - ]; - - // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ - protected static $streetPrefix = [ - 'Jalan', - ]; - - // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ - // http://remembersingapore.org/2011/04/04/old-names-of-places/ - protected static $streetName = [ - 'Adam', 'Airport', 'Alexandra', 'Aljunied', 'Ampang', 'Ann Siang', 'Angus', 'Anson', 'Armenian', - 'Balmoral', 'Battery', 'Bencoolen', - 'Collyer', 'Clarke', 'Church', 'Cecil', 'Cross', 'Chulia', 'Cheang Hong Lim', 'Chin Swee', 'Choon Guan', - 'Devonshire', 'Dublin', 'Duxton', 'D\'Almeida', - 'East Coast', 'Eden', 'Edgware', 'Eunos', - 'Fifth', 'First', 'Funan', 'Fullerton', - 'George', 'Glasgow', 'Grange', - 'Havelock', 'High', 'Hylam', - 'International Business', 'International', 'Irving', - 'Jubilee', - 'Kensington Park', 'Kitchener', 'Knights', - 'Lancaster', 'Leicester', 'Lengkok Bahru', 'Lim Teck Kim', - 'Malay', 'Market', 'Middle', 'Malabar', 'Merchant', 'Mohammed Sultan', - 'Napier', 'Nathan', 'Newton', - 'Ocean', 'One Tree', 'Orchard', 'Outram', 'Ophir', - 'Pekin', 'Peng Siang', 'Prince Edward', 'Palmer', - 'Quality', 'Queen', - 'Raffles', 'Robinson', 'Rochor', 'Regent', 'Ridley', 'River Valley', - 'Sixth', 'Somerset', 'Stanley', 'Stamford', 'Shenton', 'Sultan', - 'Telok Ayer', 'Temple', 'Thomson', 'Unity', 'Victoria', 'Xilin', 'York', 'Zion', - ]; - - protected static $streetAddressFormats = [ - '{{streetPrefix}} {{streetName}}', - '{{streetName}} {{streetSuffix}}', - ]; - - protected static $floorNumber = [ - '##', '0#', - ]; - - protected static $apartmentNumber = [ - '##', '###', - ]; - - // http://en.wikipedia.org/wiki/Singapore_Post#Address_format - protected static $addressFormats = [ - "{{streetNumber}} {{streetAddress}}\n{{townName}} {{postcode}}", - "{{blockNumber}} {{streetAddress}}\n{{floorNumber}} {{apartmentNumber}}\n{{townName}} {{postcode}}", - ]; - - protected static $townName = 'SINGAPORE'; - - protected static $postcode = ['######']; - - protected static $country = [ - 'SINGAPORE', - ]; - - public function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public function streetNumber() - { - return static::numerify(static::randomElement(static::$streetNumber)); - } - - public function blockNumber() - { - return static::numerify(static::randomElement(static::$blockNumber)); - } - - public function floorNumber() - { - return static::randomElement(static::$floorNumber); - } - - public function apartmentNumber() - { - return static::randomElement(static::$apartmentNumber); - } - - public function townName() - { - return static::$townName; - } +class Address extends \Faker\Provider\Address { + // http://en.wikipedia.org/wiki/Singapore_Post#Address_format + protected static $streetNumber = [ '##', '###' ]; + + // http://en.wikipedia.org/wiki/Singapore_Post#Address_format + protected static $blockNumber = [ + 'Blk ##', + 'Blk ###', + 'Blk ###A', + 'Blk ###B', + 'Blk ###C', + 'Blk ###D', + 'Blk ###E', + 'Blk ###F', + 'Blk ###G', + 'Blk ###H', + ]; + + // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ + protected static $streetSuffix = [ + 'Alley', + 'Avenue', + 'Bridge', + 'Crescent', + 'Drive', + 'Grove', + 'Highway', + 'Hill', + 'Lane', + 'Link', + 'Park', + 'Place', + 'Quay', + 'Road', + 'Walk', + 'Way', + ]; + + // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ + protected static $streetPrefix = [ + 'Jalan', + ]; + + // http://www.streetdirectory.com/asia_travel/travel/street/alphabet2/ + // http://remembersingapore.org/2011/04/04/old-names-of-places/ + protected static $streetName = [ + 'Adam', + 'Airport', + 'Alexandra', + 'Aljunied', + 'Ampang', + 'Ann Siang', + 'Angus', + 'Anson', + 'Armenian', + 'Balmoral', + 'Battery', + 'Bencoolen', + 'Collyer', + 'Clarke', + 'Church', + 'Cecil', + 'Cross', + 'Chulia', + 'Cheang Hong Lim', + 'Chin Swee', + 'Choon Guan', + 'Devonshire', + 'Dublin', + 'Duxton', + 'D\'Almeida', + 'East Coast', + 'Eden', + 'Edgware', + 'Eunos', + 'Fifth', + 'First', + 'Funan', + 'Fullerton', + 'George', + 'Glasgow', + 'Grange', + 'Havelock', + 'High', + 'Hylam', + 'International Business', + 'International', + 'Irving', + 'Jubilee', + 'Kensington Park', + 'Kitchener', + 'Knights', + 'Lancaster', + 'Leicester', + 'Lengkok Bahru', + 'Lim Teck Kim', + 'Malay', + 'Market', + 'Middle', + 'Malabar', + 'Merchant', + 'Mohammed Sultan', + 'Napier', + 'Nathan', + 'Newton', + 'Ocean', + 'One Tree', + 'Orchard', + 'Outram', + 'Ophir', + 'Pekin', + 'Peng Siang', + 'Prince Edward', + 'Palmer', + 'Quality', + 'Queen', + 'Raffles', + 'Robinson', + 'Rochor', + 'Regent', + 'Ridley', + 'River Valley', + 'Sixth', + 'Somerset', + 'Stanley', + 'Stamford', + 'Shenton', + 'Sultan', + 'Telok Ayer', + 'Temple', + 'Thomson', + 'Unity', + 'Victoria', + 'Xilin', + 'York', + 'Zion', + ]; + + protected static $streetAddressFormats = [ + '{{streetPrefix}} {{streetName}}', + '{{streetName}} {{streetSuffix}}', + ]; + + protected static $floorNumber = [ + '##', + '0#', + ]; + + protected static $apartmentNumber = [ + '##', + '###', + ]; + + // http://en.wikipedia.org/wiki/Singapore_Post#Address_format + protected static $addressFormats = [ + "{{streetNumber}} {{streetAddress}}\n{{townName}} {{postcode}}", + "{{blockNumber}} {{streetAddress}}\n{{floorNumber}} {{apartmentNumber}}\n{{townName}} {{postcode}}", + ]; + + protected static $townName = 'SINGAPORE'; + + protected static $postcode = [ '######' ]; + + protected static $country = [ + 'SINGAPORE', + ]; + + public function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public function streetNumber() { + return static::numerify( static::randomElement( static::$streetNumber ) ); + } + + public function blockNumber() { + return static::numerify( static::randomElement( static::$blockNumber ) ); + } + + public function floorNumber() { + return static::randomElement( static::$floorNumber ); + } + + public function apartmentNumber() { + return static::randomElement( static::$apartmentNumber ); + } + + public function townName() { + return static::$townName; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_SG/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_SG/Person.php index ce264cd..1ed02cb 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_SG/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_SG/Person.php @@ -4,71 +4,70 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - /** - * National Registration Identity Card number - * - * @param \DateTime|null $birthDate birth date - * - * @return string in format S1234567D or T1234567J - */ - public static function nric(?\DateTime $birthDate = null): string - { - return self::singaporeId($birthDate, false); - } +class Person extends \Faker\Provider\Person { + /** + * National Registration Identity Card number + * + * @param \DateTime|null $birthDate birth date + * + * @return string in format S1234567D or T1234567J + */ + public static function nric( ?\DateTime $birthDate = null ): string { + return self::singaporeId( $birthDate, false ); + } - /** - * Foreign Identification Number - * - * @param \DateTime|null $issueDate issue date - * - * @return string in format F1234567N or G1234567X - */ - public static function fin(?\DateTime $issueDate = null): string - { - return self::singaporeId($issueDate, true); - } + /** + * Foreign Identification Number + * + * @param \DateTime|null $issueDate issue date + * + * @return string in format F1234567N or G1234567X + */ + public static function fin( ?\DateTime $issueDate = null ): string { + return self::singaporeId( $issueDate, true ); + } - /** - * Singapore NRIC (citizens) or FIN (foreigners) number - * - * @param \DateTime|null $issueDate birth/issue date - * @param bool $foreigner whether a person is foreigner or citizen - * - * @return string in format S1234567D, T1234567J, F1234567N or G1234567X - */ - public static function singaporeId(?\DateTime $issueDate = null, bool $foreigner = false): string - { - if ($issueDate === null) { - $issueDate = DateTime::dateTimeThisCentury(); - } + /** + * Singapore NRIC (citizens) or FIN (foreigners) number + * + * @param \DateTime|null $issueDate birth/issue date + * @param bool $foreigner whether a person is foreigner or citizen + * + * @return string in format S1234567D, T1234567J, F1234567N or G1234567X + */ + public static function singaporeId( ?\DateTime $issueDate = null, bool $foreigner = false ): string { + if ( $issueDate === null ) { + $issueDate = DateTime::dateTimeThisCentury(); + } - $weights = [2, 7, 6, 5, 4, 3, 2]; - $result = ''; + $weights = [ 2, 7, 6, 5, 4, 3, 2 ]; + $result = ''; - if ($foreigner) { - $prefix = ($issueDate < new \DateTime('2000-01-01')) ? 'F' : 'G'; - $checksumArr = ['X', 'W', 'U', 'T', 'R', 'Q', 'P', 'N', 'M', 'L', 'K']; - } else { - $prefix = ($issueDate < new \DateTime('2000-01-01')) ? 'S' : 'T'; - // NRICs before 1968 did not contain YOB - $result .= ($issueDate < new \DateTime('1968-01-01')) ? static::randomElement(['00', '01']) : $issueDate->format('y'); - $checksumArr = ['J', 'Z', 'I', 'H', 'G', 'F', 'E', 'D', 'C', 'B', 'A']; - } + if ( $foreigner ) { + $prefix = ( $issueDate < new \DateTime( '2000-01-01' ) ) ? 'F' : 'G'; + $checksumArr = [ 'X', 'W', 'U', 'T', 'R', 'Q', 'P', 'N', 'M', 'L', 'K' ]; + } else { + $prefix = ( $issueDate < new \DateTime( '2000-01-01' ) ) ? 'S' : 'T'; + // NRICs before 1968 did not contain YOB + $result .= ( $issueDate < new \DateTime( '1968-01-01' ) ) ? static::randomElement( [ + '00', + '01' + ] ) : $issueDate->format( 'y' ); + $checksumArr = [ 'J', 'Z', 'I', 'H', 'G', 'F', 'E', 'D', 'C', 'B', 'A' ]; + } - $length = count($weights); + $length = count( $weights ); - for ($i = strlen($result); $i < $length; ++$i) { - $result .= static::randomDigit(); - } + for ( $i = strlen( $result ); $i < $length; ++ $i ) { + $result .= static::randomDigit(); + } - $checksum = in_array($prefix, ['G', 'T'], true) ? 4 : 0; + $checksum = in_array( $prefix, [ 'G', 'T' ], true ) ? 4 : 0; - for ($i = 0; $i < $length; ++$i) { - $checksum += (int) $result[$i] * $weights[$i]; - } + for ( $i = 0; $i < $length; ++ $i ) { + $checksum += (int) $result[ $i ] * $weights[ $i ]; + } - return $prefix . $result . $checksumArr[$checksum % 11]; - } + return $prefix . $result . $checksumArr[ $checksum % 11 ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_SG/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_SG/PhoneNumber.php index f5e3ca6..61efbcf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_SG/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_SG/PhoneNumber.php @@ -2,104 +2,94 @@ namespace Faker\Provider\en_SG; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $internationalCodePrefix = [ - '+65', - '65', - ]; - - protected static $zeroToEight = [0, 1, 2, 3, 4, 5, 6, 7, 8]; - - protected static $oneToEight = [1, 2, 3, 4, 5, 6, 7, 8]; - - protected static $mobileNumberFormats = [ - '{{internationalCodePrefix}}9{{zeroToEight}}## ####', - '{{internationalCodePrefix}} 9{{zeroToEight}}## ####', - '9{{zeroToEight}}## ####', - '{{internationalCodePrefix}}8{{oneToEight}}## ####', - '{{internationalCodePrefix}} 8{{oneToEight}}## ####', - '8{{oneToEight}}## ####', - ]; - - protected static $fixedLineNumberFormats = [ - '{{internationalCodePrefix}}6### ####', - '{{internationalCodePrefix}} 6### ####', - '6### ####', - ]; - - // http://en.wikipedia.org/wiki/Telephone_numbers_in_Singapore#Numbering_plan - protected static $formats = [ - '{{mobileNumber}}', - '{{fixedLineNumber}}', - ]; - - protected static $voipNumber = [ - '{{internationalCodePrefix}}3### ####', - '{{internationalCodePrefix}} 3### ####', - '3### ####', - ]; - - protected static $tollFreeInternationalNumber = [ - '800 ### ####', - ]; - - protected static $tollFreeLineNumber = [ - '1800 ### ####', - ]; - - protected static $premiumPhoneNumber = [ - '1900 ### ####', - ]; - - public function tollFreeInternationalNumber() - { - return static::numerify(static::randomElement(static::$tollFreeInternationalNumber)); - } - - public function tollFreeLineNumber() - { - return static::numerify(static::randomElement(static::$tollFreeLineNumber)); - } - - public function premiumPhoneNumber() - { - return static::numerify(static::randomElement(static::$premiumPhoneNumber)); - } - - public function mobileNumber() - { - $format = static::randomElement(static::$mobileNumberFormats); - - return static::numerify($this->generator->parse($format)); - } - - public function fixedLineNumber() - { - $format = static::randomElement(static::$fixedLineNumberFormats); - - return static::numerify($this->generator->parse($format)); - } - - public function voipNumber() - { - $format = static::randomElement(static::$voipNumber); - - return static::numerify($this->generator->parse($format)); - } - - public function internationalCodePrefix() - { - return static::randomElement(static::$internationalCodePrefix); - } - - public function zeroToEight() - { - return static::randomElement(static::$zeroToEight); - } - - public function oneToEight() - { - return static::randomElement(static::$oneToEight); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $internationalCodePrefix = [ + '+65', + '65', + ]; + + protected static $zeroToEight = [ 0, 1, 2, 3, 4, 5, 6, 7, 8 ]; + + protected static $oneToEight = [ 1, 2, 3, 4, 5, 6, 7, 8 ]; + + protected static $mobileNumberFormats = [ + '{{internationalCodePrefix}}9{{zeroToEight}}## ####', + '{{internationalCodePrefix}} 9{{zeroToEight}}## ####', + '9{{zeroToEight}}## ####', + '{{internationalCodePrefix}}8{{oneToEight}}## ####', + '{{internationalCodePrefix}} 8{{oneToEight}}## ####', + '8{{oneToEight}}## ####', + ]; + + protected static $fixedLineNumberFormats = [ + '{{internationalCodePrefix}}6### ####', + '{{internationalCodePrefix}} 6### ####', + '6### ####', + ]; + + // http://en.wikipedia.org/wiki/Telephone_numbers_in_Singapore#Numbering_plan + protected static $formats = [ + '{{mobileNumber}}', + '{{fixedLineNumber}}', + ]; + + protected static $voipNumber = [ + '{{internationalCodePrefix}}3### ####', + '{{internationalCodePrefix}} 3### ####', + '3### ####', + ]; + + protected static $tollFreeInternationalNumber = [ + '800 ### ####', + ]; + + protected static $tollFreeLineNumber = [ + '1800 ### ####', + ]; + + protected static $premiumPhoneNumber = [ + '1900 ### ####', + ]; + + public function tollFreeInternationalNumber() { + return static::numerify( static::randomElement( static::$tollFreeInternationalNumber ) ); + } + + public function tollFreeLineNumber() { + return static::numerify( static::randomElement( static::$tollFreeLineNumber ) ); + } + + public function premiumPhoneNumber() { + return static::numerify( static::randomElement( static::$premiumPhoneNumber ) ); + } + + public function mobileNumber() { + $format = static::randomElement( static::$mobileNumberFormats ); + + return static::numerify( $this->generator->parse( $format ) ); + } + + public function fixedLineNumber() { + $format = static::randomElement( static::$fixedLineNumberFormats ); + + return static::numerify( $this->generator->parse( $format ) ); + } + + public function voipNumber() { + $format = static::randomElement( static::$voipNumber ); + + return static::numerify( $this->generator->parse( $format ) ); + } + + public function internationalCodePrefix() { + return static::randomElement( static::$internationalCodePrefix ); + } + + public function zeroToEight() { + return static::randomElement( static::$zeroToEight ); + } + + public function oneToEight() { + return static::randomElement( static::$oneToEight ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Address.php index 9024b8b..88dbe30 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Address.php @@ -2,100 +2,275 @@ namespace Faker\Provider\en_UG; -class Address extends \Faker\Provider\en_US\Address -{ - protected static $cityFormats = [ - '{{cityName}}', - ]; +class Address extends \Faker\Provider\en_US\Address { + protected static $cityFormats = [ + '{{cityName}}', + ]; - /** - * @see http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Uganda - */ - protected static $cityName = [ - 'Alebtong', 'Abim', 'Adjumani', 'Amolatar', 'Amuria', 'Amuru', 'Apac', 'Arua', - 'Bombo', 'Budaka', 'Bugembe', 'Bugiri', 'Bukedea', 'Bulisa', 'Buikwe', 'Bundibugyo', - 'Busembatya', 'Bushenyi', 'Busia', 'Busolwe', 'Butaleja', 'Buwenge', - 'Dokolo', - 'Entebbe', - 'Fort Portal', - 'Gulu', - 'Hima', 'Hoima', - 'Ibanda', 'Iganga', 'Isingiro', - 'Jinja', - 'Kaabong', 'Kabale', 'Kaberamaido', 'Kabwohe', 'Kagadi', 'Kakinga', 'Kakiri', 'Kalangala', 'Kaliro', - 'Kalisizo', 'Kalongo', 'Kalungu', 'Kampala', 'Kamuli', 'Kanoni', 'Kamwenge', 'Kanungu', 'Kapchorwa', - 'Kasese', 'Katakwi', 'Kayunga', 'Kibaale', 'Kiboga', 'Kihiihi', 'Kiira', 'Kiruhura', 'Kiryandongo', - 'Kisoro', 'Kitgum', 'Koboko', 'Kotido', 'Kumi', 'Kyenjojo', 'Kyotera', - 'Lira', 'Lugazi', 'Lukaya', 'Luwero', 'Lwakhakha', 'Lwengo', 'Lyantonde', - 'Malaba', 'Manafwa', 'Masaka', 'Masindi', 'Masindi Port', 'Matugga', 'Mayuge', 'Mbale', 'Mbarara', - 'Mitooma', 'Mityana', 'Mpigi', 'Mpondwe', 'Moroto', 'Moyo', 'Mubende', 'Mukono', 'Mutukula', - 'Nagongera', 'Nakaseke', 'Nakasongola', 'Nakapiripirit', 'Namutumba', 'Nansana', 'Nebbi', 'Ngora', - 'Njeru', 'Nkokonjeru', 'Ntungamo', - 'Oyam', - 'Pader', 'Paidha', 'Pakwach', 'Pallisa', - 'Rakai', 'Rukungiri', - 'Sembabule', 'Sironko', 'Soroti', - 'Tororo', - 'Wakiso', 'Wobulenzi', - 'Yumbe', - ]; + /** + * @see http://en.wikipedia.org/wiki/List_of_cities_and_towns_in_Uganda + */ + protected static $cityName = [ + 'Alebtong', + 'Abim', + 'Adjumani', + 'Amolatar', + 'Amuria', + 'Amuru', + 'Apac', + 'Arua', + 'Bombo', + 'Budaka', + 'Bugembe', + 'Bugiri', + 'Bukedea', + 'Bulisa', + 'Buikwe', + 'Bundibugyo', + 'Busembatya', + 'Bushenyi', + 'Busia', + 'Busolwe', + 'Butaleja', + 'Buwenge', + 'Dokolo', + 'Entebbe', + 'Fort Portal', + 'Gulu', + 'Hima', + 'Hoima', + 'Ibanda', + 'Iganga', + 'Isingiro', + 'Jinja', + 'Kaabong', + 'Kabale', + 'Kaberamaido', + 'Kabwohe', + 'Kagadi', + 'Kakinga', + 'Kakiri', + 'Kalangala', + 'Kaliro', + 'Kalisizo', + 'Kalongo', + 'Kalungu', + 'Kampala', + 'Kamuli', + 'Kanoni', + 'Kamwenge', + 'Kanungu', + 'Kapchorwa', + 'Kasese', + 'Katakwi', + 'Kayunga', + 'Kibaale', + 'Kiboga', + 'Kihiihi', + 'Kiira', + 'Kiruhura', + 'Kiryandongo', + 'Kisoro', + 'Kitgum', + 'Koboko', + 'Kotido', + 'Kumi', + 'Kyenjojo', + 'Kyotera', + 'Lira', + 'Lugazi', + 'Lukaya', + 'Luwero', + 'Lwakhakha', + 'Lwengo', + 'Lyantonde', + 'Malaba', + 'Manafwa', + 'Masaka', + 'Masindi', + 'Masindi Port', + 'Matugga', + 'Mayuge', + 'Mbale', + 'Mbarara', + 'Mitooma', + 'Mityana', + 'Mpigi', + 'Mpondwe', + 'Moroto', + 'Moyo', + 'Mubende', + 'Mukono', + 'Mutukula', + 'Nagongera', + 'Nakaseke', + 'Nakasongola', + 'Nakapiripirit', + 'Namutumba', + 'Nansana', + 'Nebbi', + 'Ngora', + 'Njeru', + 'Nkokonjeru', + 'Ntungamo', + 'Oyam', + 'Pader', + 'Paidha', + 'Pakwach', + 'Pallisa', + 'Rakai', + 'Rukungiri', + 'Sembabule', + 'Sironko', + 'Soroti', + 'Tororo', + 'Wakiso', + 'Wobulenzi', + 'Yumbe', + ]; - /** - * @see http://en.wikipedia.org/wiki/Category:Districts_of_Uganda - */ - protected static $district = [ - 'Abim', 'Adjumani', 'Agago', 'Alebtong', 'Amolatar', 'Amudat', 'Amuria', 'Amuru', 'Apac', 'Arua', - 'Budaka', 'Bududa', 'Bugiri', 'Buhweju', 'Buikwe', 'Bukedea', 'Bukomansimbi', 'Bukwo', 'Bulambuli', - 'Buliisa', 'Bundibugyo', 'Bushenyi', 'Busia', 'Butaleja', 'Butambala', 'Buvuma', 'Buyende', - 'Dokolo', - 'Gomba', 'Gulu', - 'Hoima', - 'Ibanda', 'Iganga', 'Isingiro', - 'Jinja', - 'Kaabong', 'Kabale', 'Kabarole', 'Kaberamaido', 'Kalangala', 'Kaliro', 'Kalungu', 'Kampala', 'Kamuli', - 'Kamwenge', 'Kanungu', 'Kapchorwa', 'Kasese', 'Katakwi', 'Kayunga', 'Kibaale', 'Kiboga', 'Kibuku', - 'Kigezi', 'Kiruhura', 'Kiryandongo', 'Kisoro', 'Kitgum', 'Koboko', 'Kole', 'Kotido', 'Kumi', 'Kween', - 'Kyankwanzi', 'Kyegegwa', 'Kyenjojo', - 'Lamwo', 'Lira', 'Luuka', 'Luweero', 'Lwengo', 'Lyantonde', - 'Manafwa', 'Maracha', 'Maracha-Terego', 'Masaka', 'Masindi', 'Mayuge', 'Mbale', 'Mbarara', 'Mitooma', - 'Mityana', 'Moroto', 'Moyo', 'Mpigi', 'Mubende', 'Mukono', - 'Nakapiripirit', 'Nakaseke', 'Nakasongola', 'Namayingo', 'Namutumba', 'Napak', 'Nebbi', 'Ngora', - 'Ntoroko', 'Ntungamo', 'Nwoya', - 'Otuke', 'Oyam', - 'Pader', 'Pallisa', - 'Rakai', 'Rubirizi', 'Rukungiri', - 'Sembabule', 'Serere', 'Sheema', 'Sironko', 'Soroti', - 'Tororo', - 'Wakiso', - 'Yumbe', - 'Zombo', - ]; + /** + * @see http://en.wikipedia.org/wiki/Category:Districts_of_Uganda + */ + protected static $district = [ + 'Abim', + 'Adjumani', + 'Agago', + 'Alebtong', + 'Amolatar', + 'Amudat', + 'Amuria', + 'Amuru', + 'Apac', + 'Arua', + 'Budaka', + 'Bududa', + 'Bugiri', + 'Buhweju', + 'Buikwe', + 'Bukedea', + 'Bukomansimbi', + 'Bukwo', + 'Bulambuli', + 'Buliisa', + 'Bundibugyo', + 'Bushenyi', + 'Busia', + 'Butaleja', + 'Butambala', + 'Buvuma', + 'Buyende', + 'Dokolo', + 'Gomba', + 'Gulu', + 'Hoima', + 'Ibanda', + 'Iganga', + 'Isingiro', + 'Jinja', + 'Kaabong', + 'Kabale', + 'Kabarole', + 'Kaberamaido', + 'Kalangala', + 'Kaliro', + 'Kalungu', + 'Kampala', + 'Kamuli', + 'Kamwenge', + 'Kanungu', + 'Kapchorwa', + 'Kasese', + 'Katakwi', + 'Kayunga', + 'Kibaale', + 'Kiboga', + 'Kibuku', + 'Kigezi', + 'Kiruhura', + 'Kiryandongo', + 'Kisoro', + 'Kitgum', + 'Koboko', + 'Kole', + 'Kotido', + 'Kumi', + 'Kween', + 'Kyankwanzi', + 'Kyegegwa', + 'Kyenjojo', + 'Lamwo', + 'Lira', + 'Luuka', + 'Luweero', + 'Lwengo', + 'Lyantonde', + 'Manafwa', + 'Maracha', + 'Maracha-Terego', + 'Masaka', + 'Masindi', + 'Mayuge', + 'Mbale', + 'Mbarara', + 'Mitooma', + 'Mityana', + 'Moroto', + 'Moyo', + 'Mpigi', + 'Mubende', + 'Mukono', + 'Nakapiripirit', + 'Nakaseke', + 'Nakasongola', + 'Namayingo', + 'Namutumba', + 'Napak', + 'Nebbi', + 'Ngora', + 'Ntoroko', + 'Ntungamo', + 'Nwoya', + 'Otuke', + 'Oyam', + 'Pader', + 'Pallisa', + 'Rakai', + 'Rubirizi', + 'Rukungiri', + 'Sembabule', + 'Serere', + 'Sheema', + 'Sironko', + 'Soroti', + 'Tororo', + 'Wakiso', + 'Yumbe', + 'Zombo', + ]; - protected static $postcode = ['#', '##', '###', '####', '#####']; + protected static $postcode = [ '#', '##', '###', '####', '#####' ]; - protected static $region = ['Central', 'East', 'North', 'West']; + protected static $region = [ 'Central', 'East', 'North', 'West' ]; - /** - * @example 'Fort Portal' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } + /** + * @example 'Fort Portal' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } - /** - * @example 'Kampala' - */ - public static function district() - { - return static::randomElement(static::$district); - } + /** + * @example 'Kampala' + */ + public static function district() { + return static::randomElement( static::$district ); + } - /** - * @example 'East' - */ - public static function region() - { - return static::randomElement(static::$region); - } + /** + * @example 'East' + */ + public static function region() { + return static::randomElement( static::$region ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Internet.php index 5281f90..761a5fe 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Internet.php @@ -2,8 +2,14 @@ namespace Faker\Provider\en_UG; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'gmail.co.ug', 'yahoo.co.ug', 'hotmail.co.ug']; - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'co.ug', 'ug']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'gmail.co.ug', + 'yahoo.co.ug', + 'hotmail.co.ug' + ]; + protected static $tld = [ 'com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'co.ug', 'ug' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Person.php index daef08e..fc5e0a6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_UG/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_UG/Person.php @@ -2,132 +2,910 @@ namespace Faker\Provider\en_UG; -class Person extends \Faker\Provider\Person -{ - /** - * It is very common in Uganda for people to arrange their names as - * lastname(surname) firstname - */ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{lastName}} {{firstNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{lastNameMale}} {{firstNameMale}}', - ]; +class Person extends \Faker\Provider\Person { + /** + * It is very common in Uganda for people to arrange their names as + * lastname(surname) firstname + */ + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{lastName}} {{firstNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{lastNameMale}} {{firstNameMale}}', + ]; - /** - * It is very common in Uganda for people to arrange their names as - * lastname(surname) firstname - */ - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{lastName}} {{firstNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{lastNameFemale}} {{firstNameFemale}}', - ]; + /** + * It is very common in Uganda for people to arrange their names as + * lastname(surname) firstname + */ + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{lastName}} {{firstNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{lastNameFemale}} {{firstNameFemale}}', + ]; - protected static $firstNameMale = [ - 'Aaron', 'Abdul', 'Abdullah', 'Abraham', 'Adam', 'Agustin', 'Ahmad', 'Ahmed', 'Akeem', 'Albert', 'Alex', 'Alfred', 'Ali', 'Allan', 'Allen', 'Alvin', 'Amani', 'Ambrose', 'Amos', 'Anderson', 'Andrew', 'Angel', 'Anthony', 'Arnold', 'Arthur', 'Austin', - 'Barnet', 'Barry', 'Ben', 'Benjamin', 'Bennie', 'Benny', 'Bernard', 'Berry', 'Berta', 'Bertha', 'Bill', 'Billy', 'Bobby', 'Boyd', 'Bradley', 'Brian', 'Bruce', - 'Caesar', 'Caleb', 'Carol', 'Cecil', 'Charles', 'Charlie', 'Chris', 'Christian', 'Christopher', 'Cleveland', 'Clifford', 'Clinton', 'Collin', 'Conrad', - 'Dan', 'Daren', 'Dave', 'David', 'Dax', 'Denis', 'Dennis', 'Derek', 'Derick', 'Derrick', 'Don', 'Donald', 'Douglas', 'Dylan', - 'Earnest', 'Eddie', 'Edgar', 'Edison', 'Edmond', 'Edmund', 'Edward', 'Edwin', 'Elias', 'Elijah', 'Elliot', 'Emanuel', 'Emmanuel', 'Eric', 'Ernest', 'Ethan', 'Eugene', 'Ezra', - 'Felix', 'Francis', 'Frank', 'Frankie', 'Fred', - 'Gaetano', 'Gaston', 'Gavin', 'Geoffrey', 'George', 'Gerald', 'Gideon', 'Gilbert', 'Glen', 'Godfrey', 'Graham', 'Gregory', - 'Hans', 'Harold', 'Henry', 'Herbert', 'Herman', 'Hillary', 'Howard', - 'Ian', 'Isaac', 'Isaiah', 'Ismael', - 'Jabari', 'Jack', 'Jackson', 'Jacob', 'Jamaal', 'Jamal', 'Jasper', 'Jayson', 'Jeff', 'Jeffery', 'Jeremy', 'Jimmy', 'Joe', 'Joel', 'Joesph', 'Johathan', 'John', 'Johnathan', 'Johnny', 'Johnson', 'Jonathan', 'Jordan', 'Joseph', 'Joshua', 'Julian', 'Julio', 'Julius', 'Junior', - 'Kaleb', 'Keith', 'Kelly', 'Kelvin', 'Ken', 'Kennedy', 'Kenneth', 'Kevin', 'Kim', - 'Lawrence', 'Lewis', 'Lincoln', 'Lloyd', 'Luis', 'Luther', - 'Mackenzie', 'Martin', 'Marvin', 'Mathew', 'Mathias', 'Matt', 'Maurice', 'Max', 'Maxwell', 'Mckenzie', 'Micheal', 'Mike', 'Milton', 'Mitchel', 'Mitchell', 'Mohamed', 'Mohammad', 'Mohammed', 'Morris', 'Moses', 'Muhammad', 'Myles', - 'Nasir', 'Nat', 'Nathan', 'Newton', 'Nicholas', 'Nick', 'Nicklaus', 'Nickolas', 'Nicolas', 'Noah', 'Norbert', - 'Oscar', 'Owen', - 'Patrick', 'Paul', 'Peter', 'Philip', - 'Rashad', 'Rasheed', 'Raul', 'Ray', 'Raymond', 'Reagan', 'Regan', 'Richard', 'Richie', 'Rick', 'Robb', 'Robbie', 'Robert', 'Robin', 'Roger', 'Rogers', 'Ronald', 'Rowland', 'Royal', 'Ryan', - 'Sam', 'Samson', 'Sean', 'Shawn', 'Sid', 'Sidney', 'Solomon', 'Steve', 'Stevie', 'Stewart', 'Stuart', - 'Taylor', 'Theodore', 'Thomas', 'Timmy', 'Timothy', 'Titus', 'Tom', 'Tony', 'Travis', 'Trevor', 'Troy', 'Trystan', 'Tyler', 'Tyson', - 'Victor', 'Vince', 'Vincent', 'Vinnie', - 'Walter', 'Warren', 'Wilford', 'Wilfred', 'Will', 'William', 'Willis', 'Willy', 'Wilson', - ]; + protected static $firstNameMale = [ + 'Aaron', + 'Abdul', + 'Abdullah', + 'Abraham', + 'Adam', + 'Agustin', + 'Ahmad', + 'Ahmed', + 'Akeem', + 'Albert', + 'Alex', + 'Alfred', + 'Ali', + 'Allan', + 'Allen', + 'Alvin', + 'Amani', + 'Ambrose', + 'Amos', + 'Anderson', + 'Andrew', + 'Angel', + 'Anthony', + 'Arnold', + 'Arthur', + 'Austin', + 'Barnet', + 'Barry', + 'Ben', + 'Benjamin', + 'Bennie', + 'Benny', + 'Bernard', + 'Berry', + 'Berta', + 'Bertha', + 'Bill', + 'Billy', + 'Bobby', + 'Boyd', + 'Bradley', + 'Brian', + 'Bruce', + 'Caesar', + 'Caleb', + 'Carol', + 'Cecil', + 'Charles', + 'Charlie', + 'Chris', + 'Christian', + 'Christopher', + 'Cleveland', + 'Clifford', + 'Clinton', + 'Collin', + 'Conrad', + 'Dan', + 'Daren', + 'Dave', + 'David', + 'Dax', + 'Denis', + 'Dennis', + 'Derek', + 'Derick', + 'Derrick', + 'Don', + 'Donald', + 'Douglas', + 'Dylan', + 'Earnest', + 'Eddie', + 'Edgar', + 'Edison', + 'Edmond', + 'Edmund', + 'Edward', + 'Edwin', + 'Elias', + 'Elijah', + 'Elliot', + 'Emanuel', + 'Emmanuel', + 'Eric', + 'Ernest', + 'Ethan', + 'Eugene', + 'Ezra', + 'Felix', + 'Francis', + 'Frank', + 'Frankie', + 'Fred', + 'Gaetano', + 'Gaston', + 'Gavin', + 'Geoffrey', + 'George', + 'Gerald', + 'Gideon', + 'Gilbert', + 'Glen', + 'Godfrey', + 'Graham', + 'Gregory', + 'Hans', + 'Harold', + 'Henry', + 'Herbert', + 'Herman', + 'Hillary', + 'Howard', + 'Ian', + 'Isaac', + 'Isaiah', + 'Ismael', + 'Jabari', + 'Jack', + 'Jackson', + 'Jacob', + 'Jamaal', + 'Jamal', + 'Jasper', + 'Jayson', + 'Jeff', + 'Jeffery', + 'Jeremy', + 'Jimmy', + 'Joe', + 'Joel', + 'Joesph', + 'Johathan', + 'John', + 'Johnathan', + 'Johnny', + 'Johnson', + 'Jonathan', + 'Jordan', + 'Joseph', + 'Joshua', + 'Julian', + 'Julio', + 'Julius', + 'Junior', + 'Kaleb', + 'Keith', + 'Kelly', + 'Kelvin', + 'Ken', + 'Kennedy', + 'Kenneth', + 'Kevin', + 'Kim', + 'Lawrence', + 'Lewis', + 'Lincoln', + 'Lloyd', + 'Luis', + 'Luther', + 'Mackenzie', + 'Martin', + 'Marvin', + 'Mathew', + 'Mathias', + 'Matt', + 'Maurice', + 'Max', + 'Maxwell', + 'Mckenzie', + 'Micheal', + 'Mike', + 'Milton', + 'Mitchel', + 'Mitchell', + 'Mohamed', + 'Mohammad', + 'Mohammed', + 'Morris', + 'Moses', + 'Muhammad', + 'Myles', + 'Nasir', + 'Nat', + 'Nathan', + 'Newton', + 'Nicholas', + 'Nick', + 'Nicklaus', + 'Nickolas', + 'Nicolas', + 'Noah', + 'Norbert', + 'Oscar', + 'Owen', + 'Patrick', + 'Paul', + 'Peter', + 'Philip', + 'Rashad', + 'Rasheed', + 'Raul', + 'Ray', + 'Raymond', + 'Reagan', + 'Regan', + 'Richard', + 'Richie', + 'Rick', + 'Robb', + 'Robbie', + 'Robert', + 'Robin', + 'Roger', + 'Rogers', + 'Ronald', + 'Rowland', + 'Royal', + 'Ryan', + 'Sam', + 'Samson', + 'Sean', + 'Shawn', + 'Sid', + 'Sidney', + 'Solomon', + 'Steve', + 'Stevie', + 'Stewart', + 'Stuart', + 'Taylor', + 'Theodore', + 'Thomas', + 'Timmy', + 'Timothy', + 'Titus', + 'Tom', + 'Tony', + 'Travis', + 'Trevor', + 'Troy', + 'Trystan', + 'Tyler', + 'Tyson', + 'Victor', + 'Vince', + 'Vincent', + 'Vinnie', + 'Walter', + 'Warren', + 'Wilford', + 'Wilfred', + 'Will', + 'William', + 'Willis', + 'Willy', + 'Wilson', + ]; - protected static $firstNameFemale = [ - 'Abigail', 'Adela', 'Adrianna', 'Adrienne', 'Aisha', 'Alice', 'Alisha', 'Alison', 'Amanda', 'Amelia', 'Amina', 'Amy', 'Anabel', 'Anabelle', 'Angela', 'Angelina', 'Angie', 'Anita', 'Anna', 'Annamarie', 'Anne', 'Annette', 'April', 'Arianna', 'Ariela', 'Asha', 'Ashley', 'Ashly', 'Audrey', 'Aurelia', - 'Barbara', 'Beatrice', 'Bella', 'Bernadette', 'Beth', 'Bethany', 'Bethel', 'Betsy', 'Bette', 'Bettie', 'Betty', 'Blanche', 'Bonita', 'Bonnie', 'Brenda', 'Bridget', 'Bridgette', 'Carissa', 'Carol', 'Carole', 'Carolina', 'Caroline', 'Carolyn', 'Carolyne', 'Catharine', 'Catherine', 'Cathrine', 'Cathryn', 'Cathy', 'Cecelia', 'Cecile', 'Cecilia', 'Charity', 'Charlotte', 'Chloe', 'Christina', 'Christine', 'Cindy', 'Claire', 'Clara', 'Clarissa', 'Claudine', 'Cristal', 'Crystal', 'Cynthia', - 'Dahlia', 'Daisy', 'Daniela', 'Daniella', 'Danielle', 'Daphne', 'Daphnee', 'Daphney', 'Darlene', 'Deborah', 'Destiny', 'Diana', 'Dianna', 'Dina', 'Dolly', 'Dolores', 'Donna', 'Dora', 'Dorothy', 'Dorris', - 'Edna', 'Edwina', 'Edyth', 'Elizabeth', 'Ella', 'Ellen', 'Elsa', 'Elsie', 'Emelia', 'Emilia', 'Emilie', 'Emily', 'Emma', 'Emmanuelle', 'Erica', 'Esta', 'Esther', 'Estella', 'Eunice', 'Eva', 'Eve', 'Eveline', 'Evelyn', - 'Fabiola', 'Fatima', 'Fiona', 'Flavia', 'Flo', 'Florence', 'Frances', 'Francesca', 'Francisca', 'Frida', - 'Gabriella', 'Gabrielle', 'Genevieve', 'Georgiana', 'Geraldine', 'Gertrude', 'Gladys', 'Gloria', 'Grace', 'Gracie', - 'Helen', 'Hellen', 'Hilda', 'Hillary', 'Hope', - 'Imelda', 'Isabel', 'Isabell', 'Isabella', 'Isabelle', - 'Jackie', 'Jacklyn', 'Jacky', 'Jaclyn', 'Jacquelyn', 'Jane', 'Janelle', 'Janet', 'Jaquelin', 'Jaqueline', 'Jenifer', 'Jennifer', 'Jessica', 'Joan', 'Josephine', 'Joy', 'Joyce', 'Juanita', 'Julia', 'Juliana', 'Julie', 'Juliet', 'Justine', - 'Katarina', 'Katherine', 'Katheryn', 'Katrina', - 'Laura', 'Leah', 'Leila', 'Lilian', 'Lillian', 'Lilly', 'Lina', 'Linda', 'Lisa', 'Lora', 'Loraine', 'Lucie', 'Lucy', 'Lulu', 'Lydia', - 'Mabel', 'Maggie', 'Mandy', 'Margaret', 'Margarete', 'Margret', 'Maria', 'Mariah', 'Mariam', 'Marian', 'Mariana', 'Mariane', 'Marianna', 'Marianne', 'Marie', 'Marilyne', 'Marina', 'Marion', 'Marjorie', 'Marjory', 'Marlene', 'Mary', 'Matilda', 'Maudie', 'Maureen', 'Maya', 'Meagan', 'Melisa', 'Melissa', 'Melody', 'Michele', 'Michelle', 'Minerva', 'Minnie', 'Miracle', 'Monica', - 'Nadia', 'Naomi', 'Naomie', 'Natalia', 'Natalie', 'Natasha', 'Nichole', 'Nicole', 'Nina', 'Nora', - 'Pamela', 'Patience', 'Patricia', 'Pauline', 'Pearl', 'Phoebe', 'Phyllis', 'Pink', 'Pinkie', 'Priscilla', 'Prudence', - 'Rachael', 'Rachel', 'Rebeca', 'Rebecca', 'Rhoda', 'Rita', 'Robyn', 'Rose', 'Rosemary', 'Ruth', 'Ruthe', 'Ruthie', - 'Sabina', 'Sabrina', 'Salma', 'Samantha', 'Sandra', 'Sandy', 'Sarah', 'Serena', 'Shakira', 'Sharon', 'Sheila', 'Sierra', 'Sonia', 'Sonya', 'Sophia', 'Sophie', 'Stacey', 'Stacy', 'Stella', 'Susan', 'Susana', 'Susanna', 'Susie', 'Suzanne', 'Sylvia', - 'Tabitha', 'Teresa', 'Tess', 'Theresa', 'Tia', 'Tiffany', 'Tina', 'Tracy', 'Trinity', 'Trisha', 'Trudie', 'Trycia', - 'Ursula', - 'Valentine', 'Valerie', 'Vanessa', 'Veronica', 'Vickie', 'Vicky', 'Victoria', 'Viola', 'Violet', 'Violette', 'Viva', 'Vivian', 'Viviane', 'Vivianne', 'Vivien', 'Vivienne', - 'Wanda', 'Wendy', 'Whitney', 'Wilma', 'Winifred', - 'Yvette', 'Yvonne', - 'Zita', 'Zoe', - ]; + protected static $firstNameFemale = [ + 'Abigail', + 'Adela', + 'Adrianna', + 'Adrienne', + 'Aisha', + 'Alice', + 'Alisha', + 'Alison', + 'Amanda', + 'Amelia', + 'Amina', + 'Amy', + 'Anabel', + 'Anabelle', + 'Angela', + 'Angelina', + 'Angie', + 'Anita', + 'Anna', + 'Annamarie', + 'Anne', + 'Annette', + 'April', + 'Arianna', + 'Ariela', + 'Asha', + 'Ashley', + 'Ashly', + 'Audrey', + 'Aurelia', + 'Barbara', + 'Beatrice', + 'Bella', + 'Bernadette', + 'Beth', + 'Bethany', + 'Bethel', + 'Betsy', + 'Bette', + 'Bettie', + 'Betty', + 'Blanche', + 'Bonita', + 'Bonnie', + 'Brenda', + 'Bridget', + 'Bridgette', + 'Carissa', + 'Carol', + 'Carole', + 'Carolina', + 'Caroline', + 'Carolyn', + 'Carolyne', + 'Catharine', + 'Catherine', + 'Cathrine', + 'Cathryn', + 'Cathy', + 'Cecelia', + 'Cecile', + 'Cecilia', + 'Charity', + 'Charlotte', + 'Chloe', + 'Christina', + 'Christine', + 'Cindy', + 'Claire', + 'Clara', + 'Clarissa', + 'Claudine', + 'Cristal', + 'Crystal', + 'Cynthia', + 'Dahlia', + 'Daisy', + 'Daniela', + 'Daniella', + 'Danielle', + 'Daphne', + 'Daphnee', + 'Daphney', + 'Darlene', + 'Deborah', + 'Destiny', + 'Diana', + 'Dianna', + 'Dina', + 'Dolly', + 'Dolores', + 'Donna', + 'Dora', + 'Dorothy', + 'Dorris', + 'Edna', + 'Edwina', + 'Edyth', + 'Elizabeth', + 'Ella', + 'Ellen', + 'Elsa', + 'Elsie', + 'Emelia', + 'Emilia', + 'Emilie', + 'Emily', + 'Emma', + 'Emmanuelle', + 'Erica', + 'Esta', + 'Esther', + 'Estella', + 'Eunice', + 'Eva', + 'Eve', + 'Eveline', + 'Evelyn', + 'Fabiola', + 'Fatima', + 'Fiona', + 'Flavia', + 'Flo', + 'Florence', + 'Frances', + 'Francesca', + 'Francisca', + 'Frida', + 'Gabriella', + 'Gabrielle', + 'Genevieve', + 'Georgiana', + 'Geraldine', + 'Gertrude', + 'Gladys', + 'Gloria', + 'Grace', + 'Gracie', + 'Helen', + 'Hellen', + 'Hilda', + 'Hillary', + 'Hope', + 'Imelda', + 'Isabel', + 'Isabell', + 'Isabella', + 'Isabelle', + 'Jackie', + 'Jacklyn', + 'Jacky', + 'Jaclyn', + 'Jacquelyn', + 'Jane', + 'Janelle', + 'Janet', + 'Jaquelin', + 'Jaqueline', + 'Jenifer', + 'Jennifer', + 'Jessica', + 'Joan', + 'Josephine', + 'Joy', + 'Joyce', + 'Juanita', + 'Julia', + 'Juliana', + 'Julie', + 'Juliet', + 'Justine', + 'Katarina', + 'Katherine', + 'Katheryn', + 'Katrina', + 'Laura', + 'Leah', + 'Leila', + 'Lilian', + 'Lillian', + 'Lilly', + 'Lina', + 'Linda', + 'Lisa', + 'Lora', + 'Loraine', + 'Lucie', + 'Lucy', + 'Lulu', + 'Lydia', + 'Mabel', + 'Maggie', + 'Mandy', + 'Margaret', + 'Margarete', + 'Margret', + 'Maria', + 'Mariah', + 'Mariam', + 'Marian', + 'Mariana', + 'Mariane', + 'Marianna', + 'Marianne', + 'Marie', + 'Marilyne', + 'Marina', + 'Marion', + 'Marjorie', + 'Marjory', + 'Marlene', + 'Mary', + 'Matilda', + 'Maudie', + 'Maureen', + 'Maya', + 'Meagan', + 'Melisa', + 'Melissa', + 'Melody', + 'Michele', + 'Michelle', + 'Minerva', + 'Minnie', + 'Miracle', + 'Monica', + 'Nadia', + 'Naomi', + 'Naomie', + 'Natalia', + 'Natalie', + 'Natasha', + 'Nichole', + 'Nicole', + 'Nina', + 'Nora', + 'Pamela', + 'Patience', + 'Patricia', + 'Pauline', + 'Pearl', + 'Phoebe', + 'Phyllis', + 'Pink', + 'Pinkie', + 'Priscilla', + 'Prudence', + 'Rachael', + 'Rachel', + 'Rebeca', + 'Rebecca', + 'Rhoda', + 'Rita', + 'Robyn', + 'Rose', + 'Rosemary', + 'Ruth', + 'Ruthe', + 'Ruthie', + 'Sabina', + 'Sabrina', + 'Salma', + 'Samantha', + 'Sandra', + 'Sandy', + 'Sarah', + 'Serena', + 'Shakira', + 'Sharon', + 'Sheila', + 'Sierra', + 'Sonia', + 'Sonya', + 'Sophia', + 'Sophie', + 'Stacey', + 'Stacy', + 'Stella', + 'Susan', + 'Susana', + 'Susanna', + 'Susie', + 'Suzanne', + 'Sylvia', + 'Tabitha', + 'Teresa', + 'Tess', + 'Theresa', + 'Tia', + 'Tiffany', + 'Tina', + 'Tracy', + 'Trinity', + 'Trisha', + 'Trudie', + 'Trycia', + 'Ursula', + 'Valentine', + 'Valerie', + 'Vanessa', + 'Veronica', + 'Vickie', + 'Vicky', + 'Victoria', + 'Viola', + 'Violet', + 'Violette', + 'Viva', + 'Vivian', + 'Viviane', + 'Vivianne', + 'Vivien', + 'Vivienne', + 'Wanda', + 'Wendy', + 'Whitney', + 'Wilma', + 'Winifred', + 'Yvette', + 'Yvonne', + 'Zita', + 'Zoe', + ]; - protected static $lastNameMale = [ - 'Mubiru', 'Muwanguzi', 'Muwonge', - 'Nsamba', - 'Obol', 'Odeke', 'Okumu', 'Okumuringa', 'Opega', 'Opio', 'Orishaba', 'Osiki', 'Ouma', - 'Sekandi', 'Semande', 'Serwanga', 'Ssebatta', 'Ssebugulu', 'Ssebunya', 'Ssebuuma', 'Ssebyala', 'Ssegawa', 'Ssekabira', 'Ssekanjako', 'Ssekate', 'Ssekibuule', 'Ssekidde', 'Ssekiranda', 'Ssekitooleko', 'Ssekubulwa', 'Ssempija', 'Ssempungu', 'Ssemwezi', 'Ssendege', 'Ssenjovu', 'Ssenkaali', 'Ssentezza', 'Ssentongo', 'Sserubiri', 'Sseruyinda', 'Ssettende', - ]; + protected static $lastNameMale = [ + 'Mubiru', + 'Muwanguzi', + 'Muwonge', + 'Nsamba', + 'Obol', + 'Odeke', + 'Okumu', + 'Okumuringa', + 'Opega', + 'Opio', + 'Orishaba', + 'Osiki', + 'Ouma', + 'Sekandi', + 'Semande', + 'Serwanga', + 'Ssebatta', + 'Ssebugulu', + 'Ssebunya', + 'Ssebuuma', + 'Ssebyala', + 'Ssegawa', + 'Ssekabira', + 'Ssekanjako', + 'Ssekate', + 'Ssekibuule', + 'Ssekidde', + 'Ssekiranda', + 'Ssekitooleko', + 'Ssekubulwa', + 'Ssempija', + 'Ssempungu', + 'Ssemwezi', + 'Ssendege', + 'Ssenjovu', + 'Ssenkaali', + 'Ssentezza', + 'Ssentongo', + 'Sserubiri', + 'Sseruyinda', + 'Ssettende', + ]; - protected static $lastNameFemale = [ - 'Abol', 'Adeke', 'Aketch', 'Akoth', 'Akumu', 'Aol', 'Apega', 'Apio', 'Auma', 'Awori', 'Ayo', - 'Babirye', - 'Chandiru', - 'Dushime', - 'Kabatesi', 'Kabonesa', 'Kaitesi', 'Kakiiza', 'Kakuze', 'Kaliisa', 'Karungi', 'Katusiime', 'Kebirungi', 'Kyomi', 'Kyoshabire', - 'Mahoro', 'Murungi', - 'Nabaale', 'Nabaggala', 'Nabakooza', 'Nabaloga', 'Nabankema', 'Nabasirye', 'Nabaweesi', 'Nabayunga', 'Nabbona', 'Nabise', 'Nabukeera', 'Nabunya', 'Nabuufu', 'Nabuuso', 'Nabwami', 'Nakaayi', 'Nakabugo', 'Nakabuye', 'Nakafeero', 'Nakalanzi', 'Nakalunda', 'Nakasinde', 'Nakasolya', 'Nakasumba', 'Nakato', 'Nakaweesa', 'Nakazibwe', 'Nakiboneka', 'Nakidde', 'Nakigozi', 'Nakiguli', 'Nakimbugwe', 'Nakimuli', 'Nakinobe', 'Nakiridde', 'Nakisige', 'Nakitende', 'Nakiyemba', 'Nakku', 'Nakyagaba', 'Nakyanzi', 'Nalubuga', 'Nalubwama', 'Nalukwago', 'Naluyima', 'Nalweyiso', 'Nalwoga', 'Namaganda', 'Namagembe', 'Namatovu', 'Nambi', 'Nambogo', 'Nambooze', 'Nambuusi', 'Namenya', 'Namiiro', 'Namirembe', 'Nampemba', 'Nampijja', 'Namubiru', 'Namuddu', 'Namugenyi', 'Namugwanya', 'Namukwaya', 'Namuleme', 'Namulindwa', 'Namutebi', 'Nankindu', 'Nankinga', 'Nanteeza', 'Nantongo', 'Nanvule', 'Nanyanzi', 'Nanyombi', 'Nanyondo', 'Nanyonjo', 'Nassimwba', 'Nazziwa', 'Ndagire', - ]; + protected static $lastNameFemale = [ + 'Abol', + 'Adeke', + 'Aketch', + 'Akoth', + 'Akumu', + 'Aol', + 'Apega', + 'Apio', + 'Auma', + 'Awori', + 'Ayo', + 'Babirye', + 'Chandiru', + 'Dushime', + 'Kabatesi', + 'Kabonesa', + 'Kaitesi', + 'Kakiiza', + 'Kakuze', + 'Kaliisa', + 'Karungi', + 'Katusiime', + 'Kebirungi', + 'Kyomi', + 'Kyoshabire', + 'Mahoro', + 'Murungi', + 'Nabaale', + 'Nabaggala', + 'Nabakooza', + 'Nabaloga', + 'Nabankema', + 'Nabasirye', + 'Nabaweesi', + 'Nabayunga', + 'Nabbona', + 'Nabise', + 'Nabukeera', + 'Nabunya', + 'Nabuufu', + 'Nabuuso', + 'Nabwami', + 'Nakaayi', + 'Nakabugo', + 'Nakabuye', + 'Nakafeero', + 'Nakalanzi', + 'Nakalunda', + 'Nakasinde', + 'Nakasolya', + 'Nakasumba', + 'Nakato', + 'Nakaweesa', + 'Nakazibwe', + 'Nakiboneka', + 'Nakidde', + 'Nakigozi', + 'Nakiguli', + 'Nakimbugwe', + 'Nakimuli', + 'Nakinobe', + 'Nakiridde', + 'Nakisige', + 'Nakitende', + 'Nakiyemba', + 'Nakku', + 'Nakyagaba', + 'Nakyanzi', + 'Nalubuga', + 'Nalubwama', + 'Nalukwago', + 'Naluyima', + 'Nalweyiso', + 'Nalwoga', + 'Namaganda', + 'Namagembe', + 'Namatovu', + 'Nambi', + 'Nambogo', + 'Nambooze', + 'Nambuusi', + 'Namenya', + 'Namiiro', + 'Namirembe', + 'Nampemba', + 'Nampijja', + 'Namubiru', + 'Namuddu', + 'Namugenyi', + 'Namugwanya', + 'Namukwaya', + 'Namuleme', + 'Namulindwa', + 'Namutebi', + 'Nankindu', + 'Nankinga', + 'Nanteeza', + 'Nantongo', + 'Nanvule', + 'Nanyanzi', + 'Nanyombi', + 'Nanyondo', + 'Nanyonjo', + 'Nassimwba', + 'Nazziwa', + 'Ndagire', + ]; - protected static $lastName = [ - 'Abayisenga', 'Agaba', 'Ahebwe', 'Aisu', 'Akankunda', 'Akankwasa', 'Akashaba', 'Akashabe', 'Ampumuza', 'Ankunda', 'Asasira', 'Asiimwe', 'Atuhe', 'Atuhire', 'Atukunda', 'Atukwase', 'Atwine', 'Aurishaba', - 'Badru', 'Baguma', 'Bakabulindi', 'Bamwiine', 'Barigye', 'Bbosa', 'Bisheko', 'Biyinzika', 'Bugala', 'Bukenya', 'Buyinza', 'Bwana', 'Byanyima', 'Byaruhanga', - 'Ddamulira', - 'Gamwera', - 'Ijaga', 'Isyagi', - 'Kaaya', 'Kabanda', 'Kabuubi', 'Kabuye', 'Kafeero', 'Kagambira', 'Kakooza', 'Kalumba', 'Kanshabe', 'Kansiime', 'Kanyesigye', 'Kareiga', 'Kasekende', 'Kasumba', 'Kateregga', 'Katusiime', 'Kawooya', 'Kawuki', 'Kayemba', 'Kazibwe', 'Kibirige', 'Kiconco', 'Kiganda', 'Kijjoba', 'Kirabira', 'Kirabo', 'Kirigwajjo', 'Kisitu', 'Kitovu', 'Kityamuwesi', 'Kivumbi', 'Kiwanuka', 'Kyambadde', - 'Lunyoro', - 'Mbabazi', 'Migisha', 'Mugisa', 'Mugisha', 'Muhwezi', 'Mukalazi', 'Mulalira', 'Munyagwa', 'Murungi', 'Mushabe', 'Musinguzi', 'Mutabuza', 'Muyambi', 'Mwesige', 'Mwesigye', - 'Nabasa', 'Nabimanya', 'Nankunda', 'Natukunda', 'Nayebare', 'Nimukunda', 'Ninsiima', 'Nkoojo', 'Nkurunungi', 'Nuwagaba', 'Nuwamanya', 'Nyeko', - 'Obol', 'Odeke', 'Okumu', 'Okumuringa', 'Opega', 'Orishaba', 'Osiki', 'Ouma', - 'Rubalema', 'Rusiimwa', 'Rwabyoma', - 'Tamale', 'Tendo', 'Tizikara', 'Tuhame', 'Tumusiime', 'Tumwebaze', 'Tumwesigye', 'Tumwiine', 'Turyasingura', 'Tusiime', 'Twasiima', 'Twesigomwe', - 'Wasswa', 'Wavamuno', 'Were', - ]; + protected static $lastName = [ + 'Abayisenga', + 'Agaba', + 'Ahebwe', + 'Aisu', + 'Akankunda', + 'Akankwasa', + 'Akashaba', + 'Akashabe', + 'Ampumuza', + 'Ankunda', + 'Asasira', + 'Asiimwe', + 'Atuhe', + 'Atuhire', + 'Atukunda', + 'Atukwase', + 'Atwine', + 'Aurishaba', + 'Badru', + 'Baguma', + 'Bakabulindi', + 'Bamwiine', + 'Barigye', + 'Bbosa', + 'Bisheko', + 'Biyinzika', + 'Bugala', + 'Bukenya', + 'Buyinza', + 'Bwana', + 'Byanyima', + 'Byaruhanga', + 'Ddamulira', + 'Gamwera', + 'Ijaga', + 'Isyagi', + 'Kaaya', + 'Kabanda', + 'Kabuubi', + 'Kabuye', + 'Kafeero', + 'Kagambira', + 'Kakooza', + 'Kalumba', + 'Kanshabe', + 'Kansiime', + 'Kanyesigye', + 'Kareiga', + 'Kasekende', + 'Kasumba', + 'Kateregga', + 'Katusiime', + 'Kawooya', + 'Kawuki', + 'Kayemba', + 'Kazibwe', + 'Kibirige', + 'Kiconco', + 'Kiganda', + 'Kijjoba', + 'Kirabira', + 'Kirabo', + 'Kirigwajjo', + 'Kisitu', + 'Kitovu', + 'Kityamuwesi', + 'Kivumbi', + 'Kiwanuka', + 'Kyambadde', + 'Lunyoro', + 'Mbabazi', + 'Migisha', + 'Mugisa', + 'Mugisha', + 'Muhwezi', + 'Mukalazi', + 'Mulalira', + 'Munyagwa', + 'Murungi', + 'Mushabe', + 'Musinguzi', + 'Mutabuza', + 'Muyambi', + 'Mwesige', + 'Mwesigye', + 'Nabasa', + 'Nabimanya', + 'Nankunda', + 'Natukunda', + 'Nayebare', + 'Nimukunda', + 'Ninsiima', + 'Nkoojo', + 'Nkurunungi', + 'Nuwagaba', + 'Nuwamanya', + 'Nyeko', + 'Obol', + 'Odeke', + 'Okumu', + 'Okumuringa', + 'Opega', + 'Orishaba', + 'Osiki', + 'Ouma', + 'Rubalema', + 'Rusiimwa', + 'Rwabyoma', + 'Tamale', + 'Tendo', + 'Tizikara', + 'Tuhame', + 'Tumusiime', + 'Tumwebaze', + 'Tumwesigye', + 'Tumwiine', + 'Turyasingura', + 'Tusiime', + 'Twasiima', + 'Twesigomwe', + 'Wasswa', + 'Wavamuno', + 'Were', + ]; - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } - return static::randomElement(static::$lastName); - } + return static::randomElement( static::$lastName ); + } - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_UG/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_UG/PhoneNumber.php index 4f1e70e..906539f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_UG/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_UG/PhoneNumber.php @@ -2,16 +2,15 @@ namespace Faker\Provider\en_UG; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+256 7## ### ###', - '+2567########', - '+256 4## ### ###', - '+2564########', - '07## ### ###', - '07########', - '04## ### ###', - '04########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+256 7## ### ###', + '+2567########', + '+256 4## ### ###', + '+2564########', + '07## ### ###', + '07########', + '04## ### ###', + '04########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/Address.php index 5a10835..a1f621b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/Address.php @@ -2,96 +2,654 @@ namespace Faker\Provider\en_US; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['North', 'East', 'West', 'South', 'New', 'Lake', 'Port']; - protected static $citySuffix = ['town', 'ton', 'land', 'ville', 'berg', 'burgh', 'borough', 'bury', 'view', 'port', 'mouth', 'stad', 'furt', 'chester', 'mouth', 'fort', 'haven', 'side', 'shire']; - protected static $buildingNumber = ['%####', '%###', '%##']; - protected static $streetSuffix = [ - 'Alley', 'Avenue', 'Branch', 'Bridge', 'Brook', 'Brooks', 'Burg', 'Burgs', 'Bypass', 'Camp', 'Canyon', 'Cape', 'Causeway', 'Center', 'Centers', 'Circle', 'Circles', 'Cliff', 'Cliffs', 'Club', 'Common', 'Corner', 'Corners', 'Course', 'Court', 'Courts', 'Cove', 'Coves', 'Creek', 'Crescent', 'Crest', 'Crossing', 'Crossroad', 'Curve', 'Dale', 'Dam', 'Divide', 'Drive', 'Drive', 'Drives', 'Estate', 'Estates', 'Expressway', 'Extension', 'Extensions', 'Fall', 'Falls', 'Ferry', 'Field', 'Fields', 'Flat', 'Flats', 'Ford', 'Fords', 'Forest', 'Forge', 'Forges', 'Fork', 'Forks', 'Fort', 'Freeway', 'Garden', 'Gardens', 'Gateway', 'Glen', 'Glens', 'Green', 'Greens', 'Grove', 'Groves', 'Harbor', 'Harbors', 'Haven', 'Heights', 'Highway', 'Hill', 'Hills', 'Hollow', 'Inlet', 'Inlet', 'Island', 'Island', 'Islands', 'Islands', 'Isle', 'Isle', 'Junction', 'Junctions', 'Key', 'Keys', 'Knoll', 'Knolls', 'Lake', 'Lakes', 'Land', 'Landing', 'Lane', 'Light', 'Lights', 'Loaf', 'Lock', 'Locks', 'Locks', 'Lodge', 'Lodge', 'Loop', 'Mall', 'Manor', 'Manors', 'Meadow', 'Meadows', 'Mews', 'Mill', 'Mills', 'Mission', 'Mission', 'Motorway', 'Mount', 'Mountain', 'Mountain', 'Mountains', 'Mountains', 'Neck', 'Orchard', 'Oval', 'Overpass', 'Park', 'Parks', 'Parkway', 'Parkways', 'Pass', 'Passage', 'Path', 'Pike', 'Pine', 'Pines', 'Place', 'Plain', 'Plains', 'Plains', 'Plaza', 'Plaza', 'Point', 'Points', 'Port', 'Port', 'Ports', 'Ports', 'Prairie', 'Prairie', 'Radial', 'Ramp', 'Ranch', 'Rapid', 'Rapids', 'Rest', 'Ridge', 'Ridges', 'River', 'Road', 'Road', 'Roads', 'Roads', 'Route', 'Row', 'Rue', 'Run', 'Shoal', 'Shoals', 'Shore', 'Shores', 'Skyway', 'Spring', 'Springs', 'Springs', 'Spur', 'Spurs', 'Square', 'Square', 'Squares', 'Squares', 'Station', 'Station', 'Stravenue', 'Stravenue', 'Stream', 'Stream', 'Street', 'Street', 'Streets', 'Summit', 'Summit', 'Terrace', 'Throughway', 'Trace', 'Track', 'Trafficway', 'Trail', 'Trail', 'Tunnel', 'Tunnel', 'Turnpike', 'Turnpike', 'Underpass', 'Union', 'Unions', 'Valley', 'Valleys', 'Via', 'Viaduct', 'View', 'Views', 'Village', 'Village', 'Villages', 'Ville', 'Vista', 'Vista', 'Walk', 'Walks', 'Wall', 'Way', 'Ways', 'Well', 'Wells', - ]; - protected static $postcode = ['#####', '#####-####']; - protected static $state = [ - 'Alabama', 'Alaska', 'Arizona', 'Arkansas', 'California', 'Colorado', 'Connecticut', 'Delaware', 'District of Columbia', 'Florida', 'Georgia', 'Hawaii', 'Idaho', 'Illinois', 'Indiana', 'Iowa', 'Kansas', 'Kentucky', 'Louisiana', 'Maine', 'Maryland', 'Massachusetts', 'Michigan', 'Minnesota', 'Mississippi', 'Missouri', 'Montana', 'Nebraska', 'Nevada', 'New Hampshire', 'New Jersey', 'New Mexico', 'New York', 'North Carolina', 'North Dakota', 'Ohio', 'Oklahoma', 'Oregon', 'Pennsylvania', 'Rhode Island', 'South Carolina', 'South Dakota', 'Tennessee', 'Texas', 'Utah', 'Vermont', 'Virginia', 'Washington', 'West Virginia', 'Wisconsin', 'Wyoming', - ]; - protected static $stateAbbr = [ - 'AK', 'AL', 'AR', 'AZ', 'CA', 'CO', 'CT', 'DC', 'DE', 'FL', 'GA', 'HI', 'IA', 'ID', 'IL', 'IN', 'KS', 'KY', 'LA', 'MA', 'MD', 'ME', 'MI', 'MN', 'MO', 'MS', 'MT', 'NC', 'ND', 'NE', 'NH', 'NJ', 'NM', 'NV', 'NY', 'OH', 'OK', 'OR', 'PA', 'RI', 'SC', 'SD', 'TN', 'TX', 'UT', 'VA', 'VT', 'WA', 'WI', 'WV', 'WY', - ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}}{{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{stateAbbr}} {{postcode}}", - ]; - protected static $secondaryAddressFormats = ['Apt. ###', 'Suite ###']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'North', 'East', 'West', 'South', 'New', 'Lake', 'Port' ]; + protected static $citySuffix = [ + 'town', + 'ton', + 'land', + 'ville', + 'berg', + 'burgh', + 'borough', + 'bury', + 'view', + 'port', + 'mouth', + 'stad', + 'furt', + 'chester', + 'mouth', + 'fort', + 'haven', + 'side', + 'shire' + ]; + protected static $buildingNumber = [ '%####', '%###', '%##' ]; + protected static $streetSuffix = [ + 'Alley', + 'Avenue', + 'Branch', + 'Bridge', + 'Brook', + 'Brooks', + 'Burg', + 'Burgs', + 'Bypass', + 'Camp', + 'Canyon', + 'Cape', + 'Causeway', + 'Center', + 'Centers', + 'Circle', + 'Circles', + 'Cliff', + 'Cliffs', + 'Club', + 'Common', + 'Corner', + 'Corners', + 'Course', + 'Court', + 'Courts', + 'Cove', + 'Coves', + 'Creek', + 'Crescent', + 'Crest', + 'Crossing', + 'Crossroad', + 'Curve', + 'Dale', + 'Dam', + 'Divide', + 'Drive', + 'Drive', + 'Drives', + 'Estate', + 'Estates', + 'Expressway', + 'Extension', + 'Extensions', + 'Fall', + 'Falls', + 'Ferry', + 'Field', + 'Fields', + 'Flat', + 'Flats', + 'Ford', + 'Fords', + 'Forest', + 'Forge', + 'Forges', + 'Fork', + 'Forks', + 'Fort', + 'Freeway', + 'Garden', + 'Gardens', + 'Gateway', + 'Glen', + 'Glens', + 'Green', + 'Greens', + 'Grove', + 'Groves', + 'Harbor', + 'Harbors', + 'Haven', + 'Heights', + 'Highway', + 'Hill', + 'Hills', + 'Hollow', + 'Inlet', + 'Inlet', + 'Island', + 'Island', + 'Islands', + 'Islands', + 'Isle', + 'Isle', + 'Junction', + 'Junctions', + 'Key', + 'Keys', + 'Knoll', + 'Knolls', + 'Lake', + 'Lakes', + 'Land', + 'Landing', + 'Lane', + 'Light', + 'Lights', + 'Loaf', + 'Lock', + 'Locks', + 'Locks', + 'Lodge', + 'Lodge', + 'Loop', + 'Mall', + 'Manor', + 'Manors', + 'Meadow', + 'Meadows', + 'Mews', + 'Mill', + 'Mills', + 'Mission', + 'Mission', + 'Motorway', + 'Mount', + 'Mountain', + 'Mountain', + 'Mountains', + 'Mountains', + 'Neck', + 'Orchard', + 'Oval', + 'Overpass', + 'Park', + 'Parks', + 'Parkway', + 'Parkways', + 'Pass', + 'Passage', + 'Path', + 'Pike', + 'Pine', + 'Pines', + 'Place', + 'Plain', + 'Plains', + 'Plains', + 'Plaza', + 'Plaza', + 'Point', + 'Points', + 'Port', + 'Port', + 'Ports', + 'Ports', + 'Prairie', + 'Prairie', + 'Radial', + 'Ramp', + 'Ranch', + 'Rapid', + 'Rapids', + 'Rest', + 'Ridge', + 'Ridges', + 'River', + 'Road', + 'Road', + 'Roads', + 'Roads', + 'Route', + 'Row', + 'Rue', + 'Run', + 'Shoal', + 'Shoals', + 'Shore', + 'Shores', + 'Skyway', + 'Spring', + 'Springs', + 'Springs', + 'Spur', + 'Spurs', + 'Square', + 'Square', + 'Squares', + 'Squares', + 'Station', + 'Station', + 'Stravenue', + 'Stravenue', + 'Stream', + 'Stream', + 'Street', + 'Street', + 'Streets', + 'Summit', + 'Summit', + 'Terrace', + 'Throughway', + 'Trace', + 'Track', + 'Trafficway', + 'Trail', + 'Trail', + 'Tunnel', + 'Tunnel', + 'Turnpike', + 'Turnpike', + 'Underpass', + 'Union', + 'Unions', + 'Valley', + 'Valleys', + 'Via', + 'Viaduct', + 'View', + 'Views', + 'Village', + 'Village', + 'Villages', + 'Ville', + 'Vista', + 'Vista', + 'Walk', + 'Walks', + 'Wall', + 'Way', + 'Ways', + 'Well', + 'Wells', + ]; + protected static $postcode = [ '#####', '#####-####' ]; + protected static $state = [ + 'Alabama', + 'Alaska', + 'Arizona', + 'Arkansas', + 'California', + 'Colorado', + 'Connecticut', + 'Delaware', + 'District of Columbia', + 'Florida', + 'Georgia', + 'Hawaii', + 'Idaho', + 'Illinois', + 'Indiana', + 'Iowa', + 'Kansas', + 'Kentucky', + 'Louisiana', + 'Maine', + 'Maryland', + 'Massachusetts', + 'Michigan', + 'Minnesota', + 'Mississippi', + 'Missouri', + 'Montana', + 'Nebraska', + 'Nevada', + 'New Hampshire', + 'New Jersey', + 'New Mexico', + 'New York', + 'North Carolina', + 'North Dakota', + 'Ohio', + 'Oklahoma', + 'Oregon', + 'Pennsylvania', + 'Rhode Island', + 'South Carolina', + 'South Dakota', + 'Tennessee', + 'Texas', + 'Utah', + 'Vermont', + 'Virginia', + 'Washington', + 'West Virginia', + 'Wisconsin', + 'Wyoming', + ]; + protected static $stateAbbr = [ + 'AK', + 'AL', + 'AR', + 'AZ', + 'CA', + 'CO', + 'CT', + 'DC', + 'DE', + 'FL', + 'GA', + 'HI', + 'IA', + 'ID', + 'IL', + 'IN', + 'KS', + 'KY', + 'LA', + 'MA', + 'MD', + 'ME', + 'MI', + 'MN', + 'MO', + 'MS', + 'MT', + 'NC', + 'ND', + 'NE', + 'NH', + 'NJ', + 'NM', + 'NV', + 'NY', + 'OH', + 'OK', + 'OR', + 'PA', + 'RI', + 'SC', + 'SD', + 'TN', + 'TX', + 'UT', + 'VA', + 'VT', + 'WA', + 'WI', + 'WV', + 'WY', + ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}}{{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{stateAbbr}} {{postcode}}", + ]; + protected static $secondaryAddressFormats = [ 'Apt. ###', 'Suite ###' ]; - /** - * @example 'East' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'East' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Appt. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'California' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'California' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'CA' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } + /** + * @example 'CA' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/Company.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/Company.php index ee72fca..85e306c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/Company.php @@ -2,118 +2,1825 @@ namespace Faker\Provider\en_US; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}}, {{lastName}} and {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}}, {{lastName}} and {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Adaptive', 'Advanced', 'Ameliorated', 'Assimilated', 'Automated', 'Balanced', 'Business-focused', 'Centralized', 'Cloned', 'Compatible', 'Configurable', 'Cross-group', 'Cross-platform', 'Customer-focused', 'Customizable', 'Decentralized', 'De-engineered', 'Devolved', 'Digitized', 'Distributed', 'Diverse', 'Down-sized', 'Enhanced', 'Enterprise-wide', 'Ergonomic', 'Exclusive', 'Expanded', 'Extended', 'Facetoface', 'Focused', 'Front-line', 'Fully-configurable', 'Function-based', 'Fundamental', 'Future-proofed', 'Grass-roots', 'Horizontal', 'Implemented', 'Innovative', 'Integrated', 'Intuitive', 'Inverse', 'Managed', 'Mandatory', 'Monitored', 'Multi-channelled', 'Multi-lateral', 'Multi-layered', 'Multi-tiered', 'Networked', 'Object-based', 'Open-architected', 'Open-source', 'Operative', 'Optimized', 'Optional', 'Organic', 'Organized', 'Persevering', 'Persistent', 'Phased', 'Polarised', 'Pre-emptive', 'Proactive', 'Profit-focused', 'Profound', 'Programmable', 'Progressive', 'Public-key', 'Quality-focused', 'Reactive', 'Realigned', 'Re-contextualized', 'Re-engineered', 'Reduced', 'Reverse-engineered', 'Right-sized', 'Robust', 'Seamless', 'Secured', 'Self-enabling', 'Sharable', 'Stand-alone', 'Streamlined', 'Switchable', 'Synchronised', 'Synergistic', 'Synergized', 'Team-oriented', 'Total', 'Triple-buffered', 'Universal', 'Up-sized', 'Upgradable', 'User-centric', 'User-friendly', 'Versatile', 'Virtual', 'Visionary', 'Vision-oriented', - ], - [ - '24hour', '24/7', '3rdgeneration', '4thgeneration', '5thgeneration', '6thgeneration', 'actuating', 'analyzing', 'assymetric', 'asynchronous', 'attitude-oriented', 'background', 'bandwidth-monitored', 'bi-directional', 'bifurcated', 'bottom-line', 'clear-thinking', 'client-driven', 'client-server', 'coherent', 'cohesive', 'composite', 'context-sensitive', 'contextually-based', 'content-based', 'dedicated', 'demand-driven', 'didactic', 'directional', 'discrete', 'disintermediate', 'dynamic', 'eco-centric', 'empowering', 'encompassing', 'even-keeled', 'executive', 'explicit', 'exuding', 'fault-tolerant', 'foreground', 'fresh-thinking', 'full-range', 'global', 'grid-enabled', 'heuristic', 'high-level', 'holistic', 'homogeneous', 'human-resource', 'hybrid', 'impactful', 'incremental', 'intangible', 'interactive', 'intermediate', 'leadingedge', 'local', 'logistical', 'maximized', 'methodical', 'mission-critical', 'mobile', 'modular', 'motivating', 'multimedia', 'multi-state', 'multi-tasking', 'national', 'needs-based', 'neutral', 'nextgeneration', 'non-volatile', 'object-oriented', 'optimal', 'optimizing', 'radical', 'real-time', 'reciprocal', 'regional', 'responsive', 'scalable', 'secondary', 'solution-oriented', 'stable', 'static', 'systematic', 'systemic', 'system-worthy', 'tangible', 'tertiary', 'transitional', 'uniform', 'upward-trending', 'user-facing', 'value-added', 'web-enabled', 'well-modulated', 'zeroadministration', 'zerodefect', 'zerotolerance', - ], - [ - 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'blockchain', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Adaptive', + 'Advanced', + 'Ameliorated', + 'Assimilated', + 'Automated', + 'Balanced', + 'Business-focused', + 'Centralized', + 'Cloned', + 'Compatible', + 'Configurable', + 'Cross-group', + 'Cross-platform', + 'Customer-focused', + 'Customizable', + 'Decentralized', + 'De-engineered', + 'Devolved', + 'Digitized', + 'Distributed', + 'Diverse', + 'Down-sized', + 'Enhanced', + 'Enterprise-wide', + 'Ergonomic', + 'Exclusive', + 'Expanded', + 'Extended', + 'Facetoface', + 'Focused', + 'Front-line', + 'Fully-configurable', + 'Function-based', + 'Fundamental', + 'Future-proofed', + 'Grass-roots', + 'Horizontal', + 'Implemented', + 'Innovative', + 'Integrated', + 'Intuitive', + 'Inverse', + 'Managed', + 'Mandatory', + 'Monitored', + 'Multi-channelled', + 'Multi-lateral', + 'Multi-layered', + 'Multi-tiered', + 'Networked', + 'Object-based', + 'Open-architected', + 'Open-source', + 'Operative', + 'Optimized', + 'Optional', + 'Organic', + 'Organized', + 'Persevering', + 'Persistent', + 'Phased', + 'Polarised', + 'Pre-emptive', + 'Proactive', + 'Profit-focused', + 'Profound', + 'Programmable', + 'Progressive', + 'Public-key', + 'Quality-focused', + 'Reactive', + 'Realigned', + 'Re-contextualized', + 'Re-engineered', + 'Reduced', + 'Reverse-engineered', + 'Right-sized', + 'Robust', + 'Seamless', + 'Secured', + 'Self-enabling', + 'Sharable', + 'Stand-alone', + 'Streamlined', + 'Switchable', + 'Synchronised', + 'Synergistic', + 'Synergized', + 'Team-oriented', + 'Total', + 'Triple-buffered', + 'Universal', + 'Up-sized', + 'Upgradable', + 'User-centric', + 'User-friendly', + 'Versatile', + 'Virtual', + 'Visionary', + 'Vision-oriented', + ], + [ + '24hour', + '24/7', + '3rdgeneration', + '4thgeneration', + '5thgeneration', + '6thgeneration', + 'actuating', + 'analyzing', + 'assymetric', + 'asynchronous', + 'attitude-oriented', + 'background', + 'bandwidth-monitored', + 'bi-directional', + 'bifurcated', + 'bottom-line', + 'clear-thinking', + 'client-driven', + 'client-server', + 'coherent', + 'cohesive', + 'composite', + 'context-sensitive', + 'contextually-based', + 'content-based', + 'dedicated', + 'demand-driven', + 'didactic', + 'directional', + 'discrete', + 'disintermediate', + 'dynamic', + 'eco-centric', + 'empowering', + 'encompassing', + 'even-keeled', + 'executive', + 'explicit', + 'exuding', + 'fault-tolerant', + 'foreground', + 'fresh-thinking', + 'full-range', + 'global', + 'grid-enabled', + 'heuristic', + 'high-level', + 'holistic', + 'homogeneous', + 'human-resource', + 'hybrid', + 'impactful', + 'incremental', + 'intangible', + 'interactive', + 'intermediate', + 'leadingedge', + 'local', + 'logistical', + 'maximized', + 'methodical', + 'mission-critical', + 'mobile', + 'modular', + 'motivating', + 'multimedia', + 'multi-state', + 'multi-tasking', + 'national', + 'needs-based', + 'neutral', + 'nextgeneration', + 'non-volatile', + 'object-oriented', + 'optimal', + 'optimizing', + 'radical', + 'real-time', + 'reciprocal', + 'regional', + 'responsive', + 'scalable', + 'secondary', + 'solution-oriented', + 'stable', + 'static', + 'systematic', + 'systemic', + 'system-worthy', + 'tangible', + 'tertiary', + 'transitional', + 'uniform', + 'upward-trending', + 'user-facing', + 'value-added', + 'web-enabled', + 'well-modulated', + 'zeroadministration', + 'zerodefect', + 'zerotolerance', + ], + [ + 'ability', + 'access', + 'adapter', + 'algorithm', + 'alliance', + 'analyzer', + 'application', + 'approach', + 'architecture', + 'archive', + 'artificialintelligence', + 'array', + 'attitude', + 'benchmark', + 'blockchain', + 'budgetarymanagement', + 'capability', + 'capacity', + 'challenge', + 'circuit', + 'collaboration', + 'complexity', + 'concept', + 'conglomeration', + 'contingency', + 'core', + 'customerloyalty', + 'database', + 'data-warehouse', + 'definition', + 'emulation', + 'encoding', + 'encryption', + 'extranet', + 'firmware', + 'flexibility', + 'focusgroup', + 'forecast', + 'frame', + 'framework', + 'function', + 'functionalities', + 'GraphicInterface', + 'groupware', + 'GraphicalUserInterface', + 'hardware', + 'help-desk', + 'hierarchy', + 'hub', + 'implementation', + 'info-mediaries', + 'infrastructure', + 'initiative', + 'installation', + 'instructionset', + 'interface', + 'internetsolution', + 'intranet', + 'knowledgeuser', + 'knowledgebase', + 'localareanetwork', + 'leverage', + 'matrices', + 'matrix', + 'methodology', + 'middleware', + 'migration', + 'model', + 'moderator', + 'monitoring', + 'moratorium', + 'neural-net', + 'openarchitecture', + 'opensystem', + 'orchestration', + 'paradigm', + 'parallelism', + 'policy', + 'portal', + 'pricingstructure', + 'processimprovement', + 'product', + 'productivity', + 'project', + 'projection', + 'protocol', + 'securedline', + 'service-desk', + 'software', + 'solution', + 'standardization', + 'strategy', + 'structure', + 'success', + 'superstructure', + 'support', + 'synergy', + 'systemengine', + 'task-force', + 'throughput', + 'time-frame', + 'toolset', + 'utilisation', + 'website', + 'workforce', + ], + ]; - protected static $bsWords = [ - [ - 'implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform', 'embrace', 'enable', 'orchestrate', 'leverage', 'reinvent', 'aggregate', 'architect', 'enhance', 'incentivize', 'morph', 'empower', 'envisioneer', 'monetize', 'harness', 'facilitate', 'seize', 'disintermediate', 'synergize', 'strategize', 'deploy', 'brand', 'grow', 'target', 'syndicate', 'synthesize', 'deliver', 'mesh', 'incubate', 'engage', 'maximize', 'benchmark', 'expedite', 'reintermediate', 'whiteboard', 'visualize', 'repurpose', 'innovate', 'scale', 'unleash', 'drive', 'extend', 'engineer', 'revolutionize', 'generate', 'exploit', 'transition', 'e-enable', 'iterate', 'cultivate', 'matrix', 'productize', 'redefine', 'recontextualize', - ], - [ - 'clicks-and-mortar', 'value-added', 'vertical', 'proactive', 'robust', 'revolutionary', 'scalable', 'leading-edge', 'innovative', 'intuitive', 'strategic', 'e-business', 'mission-critical', 'sticky', 'one-to-one', '24/7', 'end-to-end', 'global', 'B2B', 'B2C', 'granular', 'frictionless', 'virtual', 'viral', 'dynamic', '24/365', 'best-of-breed', 'killer', 'magnetic', 'bleeding-edge', 'web-enabled', 'interactive', 'dot-com', 'sexy', 'back-end', 'real-time', 'efficient', 'front-end', 'distributed', 'seamless', 'extensible', 'turn-key', 'world-class', 'open-source', 'cross-platform', 'cross-media', 'synergistic', 'bricks-and-clicks', 'out-of-the-box', 'enterprise', 'integrated', 'impactful', 'wireless', 'transparent', 'next-generation', 'cutting-edge', 'user-centric', 'visionary', 'customized', 'ubiquitous', 'plug-and-play', 'collaborative', 'compelling', 'holistic', 'rich', - ], - [ - 'synergies', 'web-readiness', 'paradigms', 'markets', 'partnerships', 'infrastructures', 'platforms', 'initiatives', 'channels', 'eyeballs', 'communities', 'ROI', 'solutions', 'e-tailers', 'e-services', 'action-items', 'portals', 'niches', 'technologies', 'content', 'vortals', 'supply-chains', 'convergence', 'relationships', 'architectures', 'interfaces', 'e-markets', 'e-commerce', 'systems', 'bandwidth', 'infomediaries', 'models', 'mindshare', 'deliverables', 'users', 'schemas', 'networks', 'applications', 'metrics', 'e-business', 'functionalities', 'experiences', 'webservices', 'methodologies', - ], - ]; + protected static $bsWords = [ + [ + 'implement', + 'utilize', + 'integrate', + 'streamline', + 'optimize', + 'evolve', + 'transform', + 'embrace', + 'enable', + 'orchestrate', + 'leverage', + 'reinvent', + 'aggregate', + 'architect', + 'enhance', + 'incentivize', + 'morph', + 'empower', + 'envisioneer', + 'monetize', + 'harness', + 'facilitate', + 'seize', + 'disintermediate', + 'synergize', + 'strategize', + 'deploy', + 'brand', + 'grow', + 'target', + 'syndicate', + 'synthesize', + 'deliver', + 'mesh', + 'incubate', + 'engage', + 'maximize', + 'benchmark', + 'expedite', + 'reintermediate', + 'whiteboard', + 'visualize', + 'repurpose', + 'innovate', + 'scale', + 'unleash', + 'drive', + 'extend', + 'engineer', + 'revolutionize', + 'generate', + 'exploit', + 'transition', + 'e-enable', + 'iterate', + 'cultivate', + 'matrix', + 'productize', + 'redefine', + 'recontextualize', + ], + [ + 'clicks-and-mortar', + 'value-added', + 'vertical', + 'proactive', + 'robust', + 'revolutionary', + 'scalable', + 'leading-edge', + 'innovative', + 'intuitive', + 'strategic', + 'e-business', + 'mission-critical', + 'sticky', + 'one-to-one', + '24/7', + 'end-to-end', + 'global', + 'B2B', + 'B2C', + 'granular', + 'frictionless', + 'virtual', + 'viral', + 'dynamic', + '24/365', + 'best-of-breed', + 'killer', + 'magnetic', + 'bleeding-edge', + 'web-enabled', + 'interactive', + 'dot-com', + 'sexy', + 'back-end', + 'real-time', + 'efficient', + 'front-end', + 'distributed', + 'seamless', + 'extensible', + 'turn-key', + 'world-class', + 'open-source', + 'cross-platform', + 'cross-media', + 'synergistic', + 'bricks-and-clicks', + 'out-of-the-box', + 'enterprise', + 'integrated', + 'impactful', + 'wireless', + 'transparent', + 'next-generation', + 'cutting-edge', + 'user-centric', + 'visionary', + 'customized', + 'ubiquitous', + 'plug-and-play', + 'collaborative', + 'compelling', + 'holistic', + 'rich', + ], + [ + 'synergies', + 'web-readiness', + 'paradigms', + 'markets', + 'partnerships', + 'infrastructures', + 'platforms', + 'initiatives', + 'channels', + 'eyeballs', + 'communities', + 'ROI', + 'solutions', + 'e-tailers', + 'e-services', + 'action-items', + 'portals', + 'niches', + 'technologies', + 'content', + 'vortals', + 'supply-chains', + 'convergence', + 'relationships', + 'architectures', + 'interfaces', + 'e-markets', + 'e-commerce', + 'systems', + 'bandwidth', + 'infomediaries', + 'models', + 'mindshare', + 'deliverables', + 'users', + 'schemas', + 'networks', + 'applications', + 'metrics', + 'e-business', + 'functionalities', + 'experiences', + 'webservices', + 'methodologies', + ], + ]; - /** - * Source - http://www.careerplanner.com/ListOfJobs.cfm - */ - protected static $jobTitleFormat = [ - 'Able Seamen', 'Account Manager', 'Accountant', 'Actor', 'Actuary', 'Adjustment Clerk', 'Admin', 'Administrative Law Judge', 'Administrative Services Manager', 'Administrative Support Supervisors', 'Advertising Manager OR Promotions Manager', 'Advertising Sales Agent', 'Aerospace Engineer', 'Agricultural Crop Farm Manager', 'Agricultural Crop Worker', 'Agricultural Engineer', 'Agricultural Equipment Operator', 'Agricultural Inspector', 'Agricultural Manager', 'Agricultural Product Grader Sorter', 'Agricultural Sales Representative', 'Agricultural Science Technician', 'Agricultural Sciences Teacher', 'Agricultural Technician', 'Agricultural Worker', 'Air Crew Member', 'Air Crew Officer', 'Air Traffic Controller', 'Aircraft Assembler', 'Aircraft Body Repairer', 'Aircraft Cargo Handling Supervisor', 'Aircraft Engine Specialist', 'Aircraft Launch and Recovery Officer', 'Aircraft Launch Specialist', 'Aircraft Mechanics OR Aircraft Service Technician', 'Aircraft Rigging Assembler', 'Aircraft Structure Assemblers', 'Airfield Operations Specialist', 'Airframe Mechanic', 'Airline Pilot OR Copilot OR Flight Engineer', 'Algorithm Developer', 'Alteration Tailor', 'Ambulance Driver', 'Amusement Attendant', 'Anesthesiologist', 'Animal Breeder', 'Animal Care Workers', 'Animal Control Worker', 'Animal Husbandry Worker', 'Animal Scientist', 'Animal Trainer', 'Annealing Machine Operator', 'Announcer', 'Answering Service', 'Anthropologist', 'Anthropologist OR Archeologist', 'Anthropology Teacher', 'Appliance Repairer', 'Arbitrator', 'Archeologist', 'Architect', 'Architectural Drafter', 'Architectural Drafter OR Civil Drafter', 'Architecture Teacher', 'Archivist', 'Armored Assault Vehicle Crew Member', 'Armored Assault Vehicle Officer', 'Art Director', 'Art Teacher', 'Artillery Officer', 'Artillery Crew Member', 'Artist', 'Assembler', 'Assessor', 'Astronomer', 'Athletes and Sports Competitor', 'Athletic Trainer', 'Atmospheric and Space Scientist', 'Audio and Video Equipment Technician', 'Audiologist', 'Audio-Visual Collections Specialist', 'Auditor', 'Auditor', 'Automatic Teller Machine Servicer', 'Automotive Body Repairer', 'Automotive Glass Installers', 'Automotive Master Mechanic', 'Automotive Mechanic', 'Automotive Specialty Technician', 'Automotive Technician', 'Auxiliary Equipment Operator', 'Aviation Inspector', 'Avionics Technician', - 'Bailiff', 'Baker', 'Barber', 'Bartender', 'Bartender Helper', 'Battery Repairer', 'Bellhop', 'Bench Jeweler', 'Benefits Specialist', 'Bicycle Repairer', 'Bill and Account Collector', 'Bindery Machine Operator', 'Bindery Worker', 'Biochemist', 'Biochemist or Biophysicist', 'Biological Science Teacher', 'Biological Scientist', 'Biological Technician', 'Biologist', 'Biomedical Engineer', 'Biophysicist', 'Board Of Directors', 'Boat Builder and Shipwright', 'Boiler Operator', 'Boilermaker', 'Bookbinder', 'Bookkeeper', 'Brake Machine Setter', 'Brattice Builder', 'Brazer', 'Brazing Machine Operator', 'Brickmason', 'Bridge Tender OR Lock Tender', 'Broadcast News Analyst', 'Broadcast Technician', 'Brokerage Clerk', 'Budget Analyst', 'Buffing and Polishing Operator', 'Building Cleaning Worker', 'Building Inspector', 'Bulldozer Operator', 'Bus Driver', 'Business Development Manager', 'Business Manager', 'Business Operations Specialist', 'Business Teacher', 'Butcher', 'Buyer', - 'Cabinetmaker', 'Cafeteria Cook', 'Calibration Technician OR Instrumentation Technician', 'Camera Operator', 'Camera Repairer', 'Captain', 'Caption Writer', 'Cardiovascular Technologist', 'Career Counselor', 'Carpenter', 'Carpenter Assembler and Repairer', 'Carpet Installer', 'Cartographer', 'Cartoonist', 'Carver', 'Cashier', 'Casting Machine Operator', 'Casting Machine Set-Up Operator', 'ccc', 'Ceiling Tile Installer', 'Cement Mason and Concrete Finisher', 'Central Office', 'Central Office and PBX Installers', 'Central Office Operator', 'CEO', 'CFO', 'Chef', 'Chemical Engineer', 'Chemical Equipment Controller', 'Chemical Equipment Operator', 'Chemical Equipment Tender', 'Chemical Plant Operator', 'Chemical Technician', 'Chemist', 'Chemistry Teacher', 'Child Care', 'Child Care Worker', 'Chiropractor', 'Choreographer', 'City', 'City Planning Aide', 'Civil Drafter', 'Civil Engineer', 'Civil Engineering Technician', 'Claims Adjuster', 'Claims Examiner', 'Claims Taker', 'Cleaners of Vehicles', 'Clergy', 'Clerk', 'Clinical Laboratory Technician', 'Clinical Psychologist', 'Clinical School Psychologist', 'Coaches and Scout', 'Coating Machine Operator', 'Coil Winders', 'Command Control Center Officer', 'Command Control Center Specialist', 'Commercial and Industrial Designer', 'Commercial Diver', 'Commercial Pilot', 'Communication Equipment Repairer', 'Communication Equipment Worker', 'Communications Equipment Operator', 'Communications Teacher', 'Community Service Manager', 'Compacting Machine Operator', 'Compensation and Benefits Manager', 'Compliance Officers', 'Composer', 'Computer', 'Computer Hardware Engineer', 'Computer Operator', 'Computer Programmer', 'Computer Repairer', 'Computer Science Teacher', 'Computer Scientist', 'Computer Security Specialist', 'Computer Software Engineer', 'Computer Specialist', 'Computer Support Specialist', 'Computer Systems Analyst', 'Computer-Controlled Machine Tool Operator', 'Concierge', 'Conservation Scientist', 'Construction', 'Construction Carpenter', 'Construction Driller', 'Construction Equipment Operator', 'Construction Laborer', 'Construction Manager', 'Continuous Mining Machine Operator', 'Control Valve Installer', 'Conveyor Operator', 'Cook', 'Cooling and Freezing Equipment Operator', 'Copy Machine Operator', 'Copy Writer', 'Coremaking Machine Operator', 'Coroner', 'Corporate Trainer', 'Correctional Officer', 'Correspondence Clerk', 'Cost Estimator', 'Costume Attendant', 'Counseling Psychologist', 'Counselor', 'Council', 'Courier', 'Court Clerk', 'Court Reporter', 'Craft Artist', 'Crane and Tower Operator', 'Creative Writer', 'Credit Checkers Clerk', 'Credit Analyst', 'Credit Authorizer', 'Credit Checker', 'Criminal Investigator', 'Crossing Guard', 'Crushing Grinding Machine Operator', 'CSI', 'CTO', 'Cultural Studies Teacher', 'Curator', 'Custom Tailor', 'Customer Service Representative', 'Cutting Machine Operator', 'Cutting Machine Operator', - 'Dancer', 'Data Entry Operator', 'Data Processing Equipment Repairer', 'Database Administrator', 'Database Manager', 'Deburring Machine Operator', 'Decorator', 'Dental Assistant', 'Dental Hygienist', 'Dental Laboratory Technician', 'Dentist', 'Designer', 'Desktop Publisher', 'Detective', 'Diagnostic Medical Sonographer', 'Diamond Worker', 'Diesel Engine Specialist', 'Dietetic Technician', 'Director Of Business Development', 'Director Of Marketing', 'Director Of Social Media Marketing', 'Director Of Talent Acquisition', 'Director Religious Activities', 'Directory Assistance Operator', 'Dishwasher', 'Dispatcher', 'Distribution Manager', 'Door To Door Sales', 'Dot Etcher', 'Drafter', 'Dragline Operator', 'Dredge Operator', 'Drilling and Boring Machine Tool Setter', 'Driver-Sales Worker', 'Drycleaning Machine Operator', 'Drywall Ceiling Tile Installer', 'Drywall Installer', - 'Earth Driller', 'Economics Teacher', 'Economist', 'Editor', 'Education Administrator', 'Education Teacher', 'Educational Counselor OR Vocationall Counselor', 'Educational Psychologist', 'Electric Meter Installer', 'Electric Motor Repairer', 'Electrical and Electronic Inspector and Tester', 'Electrical and Electronics Drafter', 'Electrical Drafter', 'Electrical Engineer', 'Electrical Engineering Technician', 'Electrical Parts Reconditioner', 'Electrical Power-Line Installer', 'Electrical Sales Representative', 'Electrician', 'Electrician', 'Electrolytic Plating Machine Operator', 'Electromechanical Equipment Assembler', 'Electro-Mechanical Technician', 'Electronic Drafter', 'Electronic Engineering Technician', 'Electronic Equipment Assembler', 'Electronic Masking System Operator', 'Electronics Engineer', 'Electronics Engineering Technician', 'Electrotyper', 'Elementary and Secondary School Administrators', 'Elementary School Teacher', 'Elevator Installer and Repairer', 'Eligibility Interviewer', 'Embalmer', 'Embossing Machine Operator', 'Emergency Management Specialist', 'Emergency Medical Technician and Paramedic', 'Employment Interviewer', 'Engine Assembler', 'Engineer', 'Engineering', 'Engineering Manager', 'Engineering Teacher', 'Engineering Technician', 'English Language Teacher', 'Engraver', 'Entertainer and Performer', 'Entertainment Attendant', 'Environmental Compliance Inspector', 'Environmental Engineer', 'Environmental Engineering Technician', 'Environmental Science Teacher', 'Environmental Science Technician', 'Environmental Scientist', 'Epidemiologist', 'Equal Opportunity Representative', 'Etcher', 'Etcher and Engraver', 'Event Planner', 'Excavating Machine Operator', 'Executive Secretary', 'Exhibit Designer', 'Explosives Expert', 'Extraction Worker', 'Extruding and Drawing Machine Operator', 'Extruding Machine Operator', - 'Fabric Mender', 'Fabric Pressers', 'Farm and Home Management Advisor', 'Farm Equipment Mechanic', 'Farm Labor Contractor', 'Farmer', 'Farmworker', 'Fashion Designer', 'Fashion Model', 'Fast Food Cook', 'Fence Erector', 'Fiber Product Cutting Machine Operator', 'Fiberglass Laminator and Fabricator', 'File Clerk', 'Film Laboratory Technician', 'Financial Analyst', 'Financial Examiner', 'Financial Manager', 'Financial Services Sales Agent', 'Financial Specialist', 'Fire Fighter', 'Fire Inspector', 'Fire Investigator', 'Fire-Prevention Engineer', 'First-Line Supervisor-Manager of Landscaping, Lawn Service, and Groundskeeping Worker', 'Fish Game Warden', 'Fish Hatchery Manager', 'Fishery Worker', 'Fishing OR Forestry Supervisor', 'Fitness Trainer', 'Fitter', 'Flight Attendant', 'Floor Finisher', 'Floor Layer', 'Floral Designer', 'Food Batchmaker', 'Food Cooking Machine Operators', 'Food Preparation', 'Food Preparation and Serving Worker', 'Food Preparation Worker', 'Food Science Technician', 'Food Scientists and Technologist', 'Food Servers', 'Food Service Manager', 'Food Tobacco Roasting', 'Foreign Language Teacher', 'Forensic Investigator', 'Forensic Science Technician', 'Forest and Conservation Technician', 'Forest and Conservation Worker', 'Forest Fire Fighter', 'Forest Fire Fighting Supervisor', 'Forest Fire Inspector', 'Forester', 'Forestry Conservation Science Teacher', 'Forging Machine Setter', 'Forming Machine Operator', 'Forming Machine Operator', 'Foundry Mold and Coremaker', 'Fraud Investigator', 'Freight Agent', 'Freight and Material Mover', 'Freight Inspector', 'Funeral Attendant', 'Funeral Director', 'Furnace Operator', 'Furniture Finisher', - 'Gaming Cage Worker', 'Gaming Dealer', 'Gaming Manager', 'Gaming Service Worker', 'Gaming Supervisor', 'Gaming Surveillance Officer', 'Garment', 'Gas Appliance Repairer', 'Gas Compressor Operator', 'Gas Distribution Plant Operator', 'Gas Plant Operator', 'Gas Processing Plant Operator', 'Gas Pumping Station Operator', 'Gas Pumping Station Operator', 'Gauger', 'GED Teacher', 'General Farmworker', 'General Manager', 'General Practitioner', 'Geographer', 'Geography Teacher', 'Geological Data Technician', 'Geological Sample Test Technician', 'Geologist', 'Geoscientists', 'Glass Blower', 'Glass Cutting Machine Operator', 'Glazier', 'Gluing Machine Operator', 'Government', 'Government Property Inspector', 'Government Service Executive', 'Graduate Teaching Assistant', 'Graphic Designer', 'Grinder OR Polisher', 'Grinding Machine Operator', 'Grips', 'Grounds Maintenance Worker', - 'Hairdresser OR Cosmetologist', 'Hand Trimmer', 'Hand Presser', 'Hand Sewer', 'Hazardous Materials Removal Worker', 'Head Nurse', 'Health Educator', 'Health Practitioner', 'Health Services Manager', 'Health Specialties Teacher', 'Health Technologist', 'Healthcare', 'Healthcare Practitioner', 'Healthcare Support Worker', 'Heat Treating Equipment Operator', 'Heaters', 'Heating and Air Conditioning Mechanic', 'Heating Equipment Operator', 'Heavy Equipment Mechanic', 'Highway Maintenance Worker', 'Highway Patrol Pilot', 'Historian', 'History Teacher', 'Hoist and Winch Operator', 'Home', 'Home Appliance Installer', 'Home Appliance Repairer', 'Home Economics Teacher', 'Home Entertainment Equipment Installer', 'Home Health Aide', 'Homeland Security', 'Horticultural Worker', 'Host and Hostess', 'Hotel Desk Clerk', 'House Cleaner', 'Housekeeper', 'Housekeeping Supervisor', 'HR Manager', 'HR Specialist', 'Human Resource Director', 'Human Resource Manager', 'Human Resources Assistant', 'Human Resources Manager', 'Human Resources Specialist', 'Hunter and Trapper', 'HVAC Mechanic', 'Hydrologist', - 'Illustrator', 'Immigration Inspector OR Customs Inspector', 'Industrial Engineer', 'Industrial Engineering Technician', 'Industrial Equipment Maintenance', 'Industrial Machinery Mechanic', 'Industrial Production Manager', 'Industrial Safety Engineer', 'Industrial-Organizational Psychologist', 'Infantry', 'Infantry Officer', 'Information Systems Manager', 'Inspector', 'Installation and Repair Technician', 'Instructional Coordinator', 'Instrument Sales Representative', 'Insulation Installer', 'Insulation Worker', 'Insurance Investigator', 'Insurance Appraiser', 'Insurance Claims Clerk', 'Insurance Policy Processing Clerk', 'Insurance Sales Agent', 'Insurance Underwriter', 'Interaction Designer', 'Interior Designer', 'Internist', 'Interpreter OR Translator', 'Interviewer', 'Irradiated-Fuel Handler', - 'Janitor', 'Janitorial Supervisor', 'Jeweler', 'Jewelry Model OR Mold Makers', 'Job Printer', 'Judge', - 'Keyboard Instrument Repairer and Tuner', 'Kindergarten Teacher', - 'Landscape Architect', 'Landscape Artist', 'Landscaper', 'Landscaping', 'Lathe Operator', 'Laundry OR Dry-Cleaning Worker', 'Law Clerk', 'Law Enforcement Teacher', 'Law Teacher', 'Lawn Service Manager', 'Lawyer', 'Lay-Out Worker', 'Legal Secretary', 'Legal Support Worker', 'Legislator', 'Letterpress Setters Operator', 'Librarian', 'Library Assistant', 'Library Science Teacher', 'Library Technician', 'Library Worker', 'License Clerk', 'Licensed Practical Nurse', 'Licensing Examiner and Inspector', 'Life Science Technician', 'Life Scientists', 'Lifeguard', 'Loading Machine Operator', 'Loan Counselor', 'Loan Interviewer', 'Loan Officer', 'Locker Room Attendant', 'Locksmith', 'Locomotive Engineer', 'Locomotive Firer', 'Lodging Manager', 'Log Grader and Scaler', 'Logging Equipment Operator', 'Logging Supervisor', 'Logging Tractor Operator', 'Logging Worker', 'Logistician', - 'Machine Feeder', 'Machine Operator', 'Machine Tool Operator', 'Machinery Maintenance', 'Machinist', 'Maid', 'Mail Clerk', 'Mail Machine Operator', 'Maintenance and Repair Worker', 'Maintenance Equipment Operator', 'Maintenance Supervisor', 'Maintenance Worker', 'Makeup Artists', 'Management Analyst', 'Manager', 'Manager of Air Crew', 'Manager of Food Preparation', 'Manager of Weapons Specialists', 'Manager Tactical Operations', 'Manicurists', 'Manufactured Building Installer', 'Manufacturing Sales Representative', 'Mapping Technician', 'MARCOM Director', 'MARCOM Manager', 'Marine Architect', 'Marine Cargo Inspector', 'Marine Engineer', 'Marine Oiler', 'Market Research Analyst', 'Marketing Manager', 'Marketing VP', 'Marking Clerk', 'Marking Machine Operator', 'Marriage and Family Therapist', 'Massage Therapist', 'Material Movers', 'Material Moving Worker', 'Materials Engineer', 'Materials Inspector', 'Materials Scientist', 'Mathematical Science Teacher', 'Mathematical Scientist', 'Mathematical Technician', 'Mathematician', 'Meat Packer', 'Mechanical Door Repairer', 'Mechanical Drafter', 'Mechanical Engineer', 'Mechanical Engineering Technician', 'Mechanical Equipment Sales Representative', 'Mechanical Inspector', 'Media and Communication Worker', 'Medical Appliance Technician', 'Medical Assistant', 'Medical Equipment Preparer', 'Medical Equipment Repairer', 'Medical Laboratory Technologist', 'Medical Records Technician', 'Medical Sales Representative', 'Medical Scientists', 'Medical Secretary', 'Medical Technician', 'Medical Transcriptionist', 'Mental Health Counselor', 'Merchandise Displayer OR Window Trimmer', 'Metal Fabricator', 'Metal Molding Operator', 'Metal Pourer and Caster', 'Metal Worker', 'Metal-Refining Furnace Operator', 'Meter Mechanic', 'Microbiologist', 'Middle School Teacher', 'Military Officer', 'Milling Machine Operator', 'Millwright', 'Mine Cutting Machine Operator', 'Mining Engineer OR Geological Engineer', 'Mining Machine Operator', 'Mixing and Blending Machine Operator', 'Model Maker', 'Mold Maker', 'Molder', 'Molding and Casting Worker', 'Molding Machine Operator', 'Motion Picture Projectionist', 'Motor Vehicle Inspector', 'Motor Vehicle Operator', 'Motorboat Mechanic', 'Motorboat Operator', 'Motorcycle Mechanic', 'Movers', 'Movie Director oR Theatre Director', 'Multi-Media Artist', 'Multiple Machine Tool Setter', 'Municipal Clerk', 'Municipal Court Clerk', 'Municipal Fire Fighter', 'Municipal Fire Fighting Supervisor', 'Museum Conservator', 'Music Arranger and Orchestrator', 'Music Composer', 'Music Director', 'Musical Instrument Tuner', 'Musician', 'Musician OR Singer', - 'Natural Sciences Manager', 'Naval Architects', 'Network Admin OR Computer Systems Administrator', 'Network Systems Analyst', 'New Accounts Clerk', 'Night Security Guard', 'Night Shift', 'Nonfarm Animal Caretaker', 'Nuclear Engineer', 'Nuclear Equipment Operation Technician', 'Nuclear Medicine Technologist', 'Nuclear Monitoring Technician', 'Nuclear Power Reactor Operator', 'Nuclear Technician', 'Numerical Control Machine Tool Operator', 'Numerical Tool Programmer OR Process Control Programmer', 'Nursery Manager', 'Nursery Worker', 'Nursing Aide', 'Nursing Instructor', 'Nutritionist', - 'Obstetrician', 'Occupational Health Safety Specialist', 'Occupational Health Safety Technician', 'Occupational Therapist', 'Occupational Therapist Aide', 'Occupational Therapist Assistant', 'Office and Administrative Support Worker', 'Office Clerk', 'Office Machine and Cash Register Servicer', 'Office Machine Operator', 'Offset Lithographic Press Operator', 'Oil and gas Operator', 'Oil Service Unit Operator', 'Online Marketing Analyst', 'Operating Engineer', 'Operations Research Analyst', 'Ophthalmic Laboratory Technician', 'Optical Instrument Assembler', 'Opticians', 'Optometrist', 'Oral Surgeon', 'Order Clerk', 'Order Filler', 'Order Filler OR Stock Clerk', 'Organizational Development Manager', 'Orthodontist', 'Orthotist OR Prosthetist', 'Outdoor Power Equipment Mechanic', - 'Packaging Machine Operator', 'Packer and Packager', 'Painter', 'Painter and Illustrator', 'Painting Machine Operator', 'Pantograph Engraver', 'Paper Goods Machine Operator', 'Paperhanger', 'Paralegal', 'Park Naturalist', 'Parking Enforcement Worker', 'Parking Lot Attendant', 'Parts Salesperson', 'Paste-Up Worker', 'Pastry Chef', 'Patrol Officer', 'Patternmaker', 'Paving Equipment Operator', 'Payroll Clerk', 'Pediatricians', 'Percussion Instrument Repairer', 'Personal Care Worker', 'Personal Financial Advisor', 'Personal Home Care Aide', 'Personal Service Worker', 'Personal Trainer', 'Personnel Recruiter', 'Pest Control Worker', 'Pesticide Sprayer', 'Petroleum Engineer', 'Petroleum Pump Operator', 'Petroleum Pump System Operator', 'Petroleum Technician', 'Pewter Caster', 'Pharmaceutical Sales Representative', 'Pharmacist', 'Pharmacy Aide', 'Pharmacy Technician', 'Philosophy and Religion Teacher', 'Photoengraver', 'Photoengraving Machine Operator', 'Photographer', 'Photographic Restorer', 'Photographic Developer', 'Photographic Process Worker', 'Photographic Processing Machine Operator', 'Photographic Reproduction Technician', 'Physical Scientist', 'Physical Therapist', 'Physical Therapist Aide', 'Physical Therapist Assistant', 'Physician', 'Physician Assistant', 'Physicist', 'Physics Teacher', 'Pile-Driver Operator', 'Pipe Fitter', 'Pipefitter', 'Pipelayer', 'Pipelaying Fitter', 'Plant and System Operator', 'Plant Scientist', 'Plasterer OR Stucco Mason', 'Plastic Molding Machine Operator', 'Plate Finisher', 'Platemaker', 'Plating Machine Operator', 'Plating Operator', 'Plating Operator OR Coating Machine Operator', 'Plumber', 'Plumber OR Pipefitter OR Steamfitter', 'Podiatrist', 'Poet OR Lyricist', 'Police and Sheriffs Patrol Officer', 'Police Detective', 'Police Identification OR Records Officer', 'Political Science Teacher', 'Political Scientist', 'Portable Power Tool Repairer', 'Postal Clerk', 'Postal Service Clerk', 'Postal Service Mail Carrier', 'Postal Service Mail Sorter', 'Postmasters', 'Postsecondary Education Administrators', 'Postsecondary Teacher', 'Potter', 'Poultry Cutter', 'Power Distributors OR Dispatcher', 'Power Generating Plant Operator', 'Power Plant Operator', 'PR Manager', 'Precious Stone Worker', 'Precision Aircraft Systems Assemblers', 'Precision Devices Inspector', 'Precision Dyer', 'Precision Etcher and Engraver', 'Precision Instrument Repairer', 'Precision Lens Grinders and Polisher', 'Precision Mold and Pattern Caster', 'Precision Pattern and Die Caster', 'Precision Printing Worker', 'Prepress Technician', 'Preschool Education Administrators', 'Preschool Teacher', 'Press Machine Setter, Operator', 'Pressing Machine Operator', 'Pressure Vessel Inspector', 'Printing Machine Operator', 'Printing Press Machine Operator', 'Private Detective and Investigator', 'Private Household Cook', 'Private Sector Executive', 'Probation Officers and Correctional Treatment Specialist', 'Procurement Clerk', 'Producer', 'Producers and Director', 'Product Management Leader', 'Product Promoter', 'Product Safety Engineer', 'Product Specialist', 'Production Control Manager', 'Production Helper', 'Production Inspector', 'Production Laborer', 'Production Manager', 'Production Planner', 'Production Planning', 'Production Worker', 'Professional Photographer', 'Professor', 'Program Director', 'Project Manager', 'Proofreaders and Copy Marker', 'Prosthodontist', 'Protective Service Worker', 'Protective Service Worker', 'Psychiatric Aide', 'Psychiatric Technician', 'Psychiatrist', 'Psychologist', 'Psychology Teacher', 'Public Health Social Worker', 'Public Relations Manager', 'Public Relations Specialist', 'Public Transportation Inspector', 'Pump Operators', 'Punching Machine Setters', 'Purchasing Agent', 'Purchasing Manager', - 'Radar Technician', 'Radiation Therapist', 'Radio and Television Announcer', 'Radio Mechanic', 'Radio Operator', 'Radiologic Technician', 'Radiologic Technologist', 'Radiologic Technologist and Technician', 'Rail Car Repairer', 'Rail Transportation Worker', 'Rail Yard Engineer', 'Railroad Conductors', 'Railroad Inspector', 'Railroad Switch Operator', 'Railroad Yard Worker', 'Range Manager', 'Real Estate Appraiser', 'Real Estate Association Manager', 'Real Estate Broker', 'Real Estate Sales Agent', 'Receptionist and Information Clerk', 'Record Clerk', 'Recordkeeping Clerk', 'Recreation and Fitness Studies Teacher', 'Recreation Worker', 'Recreational Therapist', 'Recreational Vehicle Service Technician', 'Recruiter', 'Recyclable Material Collector', 'Refinery Operator', 'Refractory Materials Repairer', 'Refrigeration Mechanic', 'Registered Nurse', 'Rehabilitation Counselor', 'Religious Worker', 'Rental Clerk', 'Reporters OR Correspondent', 'Reservation Agent OR Transportation Ticket Agent', 'Residential Advisor', 'Respiratory Therapist', 'Respiratory Therapy Technician', 'Restaurant Cook', 'Retail Sales person', 'Retail Salesperson', 'Rigger', 'RN', 'Rock Splitter', 'Rolling Machine Setter', 'Roof Bolters Mining', 'Roofer', 'Rotary Drill Operator', 'Rough Carpenter', 'Roustabouts', - 'Safety Engineer', 'Sailor', 'Sales and Related Workers', 'Sales Engineer', 'Sales Manager', 'Sales Person', 'Sales Representative', 'Sawing Machine Operator', 'Sawing Machine Setter', 'Sawing Machine Tool Setter', 'Scanner Operator', 'School Bus Driver', 'School Social Worker', 'Scientific Photographer', 'Screen Printing Machine Operator', 'Sculptor', 'Secondary School Teacher', 'Secretary', 'Securities Sales Agent', 'Security Guard', 'Security Systems Installer OR Fire Alarm Systems Installer', 'Segmental Paver', 'Self-Enrichment Education Teacher', 'Semiconductor Processor', 'Separating Machine Operators', 'Septic Tank Servicer', 'Service Station Attendant', 'Set and Exhibit Designer', 'Set Designer', 'Sewing Machine Operator', 'Shampooer', 'Shear Machine Set-Up Operator', 'Sheet Metal Worker', 'Sheriff', 'Ship Captain', 'Ship Carpenter and Joiner', 'Ship Engineer', 'Ship Mates', 'Ship Pilot', 'Shipping and Receiving Clerk', 'Shoe and Leather Repairer', 'Shoe Machine Operators', 'Short Order Cook', 'Shuttle Car Operator', 'Signal Repairer OR Track Switch Repairer', 'Silversmith', 'Singer', 'Sketch Artist', 'Skin Care Specialist', 'Slot Key Person', 'Social and Human Service Assistant', 'Social Media Marketing Manager', 'Social Science Research Assistant', 'Social Sciences Teacher', 'Social Scientists', 'Social Service Specialists', 'Social Work Teacher', 'Social Worker', 'Sociologist', 'Sociology Teacher', 'Software Engineer', 'Soil Conservationist', 'Soil Scientist', 'Soil Scientist OR Plant Scientist', 'Solderer', 'Soldering Machine Setter', 'Sound Engineering Technician', 'Space Sciences Teacher', 'Special Education Teacher', 'Special Force', 'Special Forces Officer', 'Speech-Language Pathologist', 'Sports Book Writer', 'Spotters', 'Spraying Machine Operator', 'Staff Psychologist', 'State', 'Statement Clerk', 'Stationary Engineer', 'Stationary Engineer OR Boiler Operator', 'Statistical Assistant', 'Statistician', 'Steel Worker', 'Stevedore', 'Stock Broker', 'Stock Clerk', 'Stone Cutter', 'Stone Sawyer', 'Stonemason', 'Stonemason', 'Storage Manager OR Distribution Manager', 'Streetcar Operator', 'Stringed Instrument Repairer and Tuner', 'Structural Iron and Steel Worker', 'Structural Metal Fabricator', 'Substance Abuse Counselor', 'Substance Abuse Social Worker', 'Substation Maintenance', 'Supervisor Correctional Officer', 'Supervisor Fire Fighting Worker', 'Supervisor of Customer Service', 'Supervisor of Police', 'Surgeon', 'Surgical Technologist', 'Survey Researcher', 'Surveying and Mapping Technician', 'Surveying Technician', 'Surveyor', 'Sys Admin', 'System Administrator', - 'Tailor', 'Talent Acquisition Manager', 'Talent Director', 'Tank Car', 'Taper', 'Tax Examiner', 'Tax Preparer', 'Taxi Drivers and Chauffeur', 'Teacher', 'Teacher Assistant', 'Team Assembler', 'Technical Director', 'Technical Program Manager', 'Technical Specialist', 'Technical Writer', 'Telecommunications Equipment Installer', 'Telecommunications Facility Examiner', 'Telecommunications Line Installer', 'Telemarketer', 'Telephone Operator', 'Telephone Station Installer and Repairer', 'Teller', 'Terrazzo Workes and Finisher', 'Textile Cutting Machine Operator', 'Textile Dyeing Machine Operator', 'Textile Knitting Machine Operator', 'Textile Machine Operator', 'Textile Worker', 'Therapist', 'Ticket Agent', 'Tile Setter OR Marble Setter', 'Timing Device Assemblers', 'Tire Builder', 'Tire Changer', 'Title Abstractor', 'Title Examiner', 'Title Searcher', 'Tool and Die Maker', 'Tool Set-Up Operator', 'Tool Sharpener', 'Tour Guide', 'Tractor Operator', 'Tractor-Trailer Truck Driver', 'Traffic Technician', 'Train Crew', 'Trainer', 'Training Manager OR Development Manager', 'Transformer Repairer', 'Transit Police OR Railroad Police', 'Transportation and Material-Moving', 'Transportation Attendant', 'Transportation Equipment Maintenance', 'Transportation Equipment Painters', 'Transportation Inspector', 'Transportation Manager', 'Transportation Worker', 'Travel Agent', 'Travel Clerk', 'Travel Guide', 'Tree Trimmer', 'Truck Driver', 'TSA', 'Typesetter', 'Typesetting Machine Operator', - 'Umpire and Referee', 'Underground Mining', 'University', 'Upholsterer', 'Urban Planner', 'User Experience Manager', 'User Experience Researcher', 'Usher', 'Utility Meter Reader', - 'Valve Repairer OR Regulator Repairer', 'Vending Machine Servicer', 'Veterinarian', 'Veterinary Assistant OR Laboratory Animal Caretaker', 'Veterinary Technician', 'Vice President Of Human Resources', 'Vice President Of Marketing', 'Video Editor', 'Visual Designer', 'Vocational Education Teacher', - 'Waiter', 'Waitress', 'Warehouse', 'Washing Equipment Operator', 'Waste Treatment Plant Operator', 'Watch Repairer', 'Weapons Specialists', 'Web Developer', 'Webmaster', 'Welder', 'Welder', 'Welder and Cutter', 'Welder-Fitter', 'Welding Machine Tender', 'Welding Machine Operator', 'Welding Machine Setter', 'Welfare Eligibility Clerk', 'Well and Core Drill Operator', 'Wellhead Pumper', 'Wholesale Buyer', 'Wind Instrument Repairer', 'Woodworker', 'Woodworking Machine Operator', 'Woodworking Machine Setter', 'Word Processors and Typist', 'Writer OR Author', - 'Zoologists OR Wildlife Biologist', - ]; + /** + * Source - http://www.careerplanner.com/ListOfJobs.cfm + */ + protected static $jobTitleFormat = [ + 'Able Seamen', + 'Account Manager', + 'Accountant', + 'Actor', + 'Actuary', + 'Adjustment Clerk', + 'Admin', + 'Administrative Law Judge', + 'Administrative Services Manager', + 'Administrative Support Supervisors', + 'Advertising Manager OR Promotions Manager', + 'Advertising Sales Agent', + 'Aerospace Engineer', + 'Agricultural Crop Farm Manager', + 'Agricultural Crop Worker', + 'Agricultural Engineer', + 'Agricultural Equipment Operator', + 'Agricultural Inspector', + 'Agricultural Manager', + 'Agricultural Product Grader Sorter', + 'Agricultural Sales Representative', + 'Agricultural Science Technician', + 'Agricultural Sciences Teacher', + 'Agricultural Technician', + 'Agricultural Worker', + 'Air Crew Member', + 'Air Crew Officer', + 'Air Traffic Controller', + 'Aircraft Assembler', + 'Aircraft Body Repairer', + 'Aircraft Cargo Handling Supervisor', + 'Aircraft Engine Specialist', + 'Aircraft Launch and Recovery Officer', + 'Aircraft Launch Specialist', + 'Aircraft Mechanics OR Aircraft Service Technician', + 'Aircraft Rigging Assembler', + 'Aircraft Structure Assemblers', + 'Airfield Operations Specialist', + 'Airframe Mechanic', + 'Airline Pilot OR Copilot OR Flight Engineer', + 'Algorithm Developer', + 'Alteration Tailor', + 'Ambulance Driver', + 'Amusement Attendant', + 'Anesthesiologist', + 'Animal Breeder', + 'Animal Care Workers', + 'Animal Control Worker', + 'Animal Husbandry Worker', + 'Animal Scientist', + 'Animal Trainer', + 'Annealing Machine Operator', + 'Announcer', + 'Answering Service', + 'Anthropologist', + 'Anthropologist OR Archeologist', + 'Anthropology Teacher', + 'Appliance Repairer', + 'Arbitrator', + 'Archeologist', + 'Architect', + 'Architectural Drafter', + 'Architectural Drafter OR Civil Drafter', + 'Architecture Teacher', + 'Archivist', + 'Armored Assault Vehicle Crew Member', + 'Armored Assault Vehicle Officer', + 'Art Director', + 'Art Teacher', + 'Artillery Officer', + 'Artillery Crew Member', + 'Artist', + 'Assembler', + 'Assessor', + 'Astronomer', + 'Athletes and Sports Competitor', + 'Athletic Trainer', + 'Atmospheric and Space Scientist', + 'Audio and Video Equipment Technician', + 'Audiologist', + 'Audio-Visual Collections Specialist', + 'Auditor', + 'Auditor', + 'Automatic Teller Machine Servicer', + 'Automotive Body Repairer', + 'Automotive Glass Installers', + 'Automotive Master Mechanic', + 'Automotive Mechanic', + 'Automotive Specialty Technician', + 'Automotive Technician', + 'Auxiliary Equipment Operator', + 'Aviation Inspector', + 'Avionics Technician', + 'Bailiff', + 'Baker', + 'Barber', + 'Bartender', + 'Bartender Helper', + 'Battery Repairer', + 'Bellhop', + 'Bench Jeweler', + 'Benefits Specialist', + 'Bicycle Repairer', + 'Bill and Account Collector', + 'Bindery Machine Operator', + 'Bindery Worker', + 'Biochemist', + 'Biochemist or Biophysicist', + 'Biological Science Teacher', + 'Biological Scientist', + 'Biological Technician', + 'Biologist', + 'Biomedical Engineer', + 'Biophysicist', + 'Board Of Directors', + 'Boat Builder and Shipwright', + 'Boiler Operator', + 'Boilermaker', + 'Bookbinder', + 'Bookkeeper', + 'Brake Machine Setter', + 'Brattice Builder', + 'Brazer', + 'Brazing Machine Operator', + 'Brickmason', + 'Bridge Tender OR Lock Tender', + 'Broadcast News Analyst', + 'Broadcast Technician', + 'Brokerage Clerk', + 'Budget Analyst', + 'Buffing and Polishing Operator', + 'Building Cleaning Worker', + 'Building Inspector', + 'Bulldozer Operator', + 'Bus Driver', + 'Business Development Manager', + 'Business Manager', + 'Business Operations Specialist', + 'Business Teacher', + 'Butcher', + 'Buyer', + 'Cabinetmaker', + 'Cafeteria Cook', + 'Calibration Technician OR Instrumentation Technician', + 'Camera Operator', + 'Camera Repairer', + 'Captain', + 'Caption Writer', + 'Cardiovascular Technologist', + 'Career Counselor', + 'Carpenter', + 'Carpenter Assembler and Repairer', + 'Carpet Installer', + 'Cartographer', + 'Cartoonist', + 'Carver', + 'Cashier', + 'Casting Machine Operator', + 'Casting Machine Set-Up Operator', + 'ccc', + 'Ceiling Tile Installer', + 'Cement Mason and Concrete Finisher', + 'Central Office', + 'Central Office and PBX Installers', + 'Central Office Operator', + 'CEO', + 'CFO', + 'Chef', + 'Chemical Engineer', + 'Chemical Equipment Controller', + 'Chemical Equipment Operator', + 'Chemical Equipment Tender', + 'Chemical Plant Operator', + 'Chemical Technician', + 'Chemist', + 'Chemistry Teacher', + 'Child Care', + 'Child Care Worker', + 'Chiropractor', + 'Choreographer', + 'City', + 'City Planning Aide', + 'Civil Drafter', + 'Civil Engineer', + 'Civil Engineering Technician', + 'Claims Adjuster', + 'Claims Examiner', + 'Claims Taker', + 'Cleaners of Vehicles', + 'Clergy', + 'Clerk', + 'Clinical Laboratory Technician', + 'Clinical Psychologist', + 'Clinical School Psychologist', + 'Coaches and Scout', + 'Coating Machine Operator', + 'Coil Winders', + 'Command Control Center Officer', + 'Command Control Center Specialist', + 'Commercial and Industrial Designer', + 'Commercial Diver', + 'Commercial Pilot', + 'Communication Equipment Repairer', + 'Communication Equipment Worker', + 'Communications Equipment Operator', + 'Communications Teacher', + 'Community Service Manager', + 'Compacting Machine Operator', + 'Compensation and Benefits Manager', + 'Compliance Officers', + 'Composer', + 'Computer', + 'Computer Hardware Engineer', + 'Computer Operator', + 'Computer Programmer', + 'Computer Repairer', + 'Computer Science Teacher', + 'Computer Scientist', + 'Computer Security Specialist', + 'Computer Software Engineer', + 'Computer Specialist', + 'Computer Support Specialist', + 'Computer Systems Analyst', + 'Computer-Controlled Machine Tool Operator', + 'Concierge', + 'Conservation Scientist', + 'Construction', + 'Construction Carpenter', + 'Construction Driller', + 'Construction Equipment Operator', + 'Construction Laborer', + 'Construction Manager', + 'Continuous Mining Machine Operator', + 'Control Valve Installer', + 'Conveyor Operator', + 'Cook', + 'Cooling and Freezing Equipment Operator', + 'Copy Machine Operator', + 'Copy Writer', + 'Coremaking Machine Operator', + 'Coroner', + 'Corporate Trainer', + 'Correctional Officer', + 'Correspondence Clerk', + 'Cost Estimator', + 'Costume Attendant', + 'Counseling Psychologist', + 'Counselor', + 'Council', + 'Courier', + 'Court Clerk', + 'Court Reporter', + 'Craft Artist', + 'Crane and Tower Operator', + 'Creative Writer', + 'Credit Checkers Clerk', + 'Credit Analyst', + 'Credit Authorizer', + 'Credit Checker', + 'Criminal Investigator', + 'Crossing Guard', + 'Crushing Grinding Machine Operator', + 'CSI', + 'CTO', + 'Cultural Studies Teacher', + 'Curator', + 'Custom Tailor', + 'Customer Service Representative', + 'Cutting Machine Operator', + 'Cutting Machine Operator', + 'Dancer', + 'Data Entry Operator', + 'Data Processing Equipment Repairer', + 'Database Administrator', + 'Database Manager', + 'Deburring Machine Operator', + 'Decorator', + 'Dental Assistant', + 'Dental Hygienist', + 'Dental Laboratory Technician', + 'Dentist', + 'Designer', + 'Desktop Publisher', + 'Detective', + 'Diagnostic Medical Sonographer', + 'Diamond Worker', + 'Diesel Engine Specialist', + 'Dietetic Technician', + 'Director Of Business Development', + 'Director Of Marketing', + 'Director Of Social Media Marketing', + 'Director Of Talent Acquisition', + 'Director Religious Activities', + 'Directory Assistance Operator', + 'Dishwasher', + 'Dispatcher', + 'Distribution Manager', + 'Door To Door Sales', + 'Dot Etcher', + 'Drafter', + 'Dragline Operator', + 'Dredge Operator', + 'Drilling and Boring Machine Tool Setter', + 'Driver-Sales Worker', + 'Drycleaning Machine Operator', + 'Drywall Ceiling Tile Installer', + 'Drywall Installer', + 'Earth Driller', + 'Economics Teacher', + 'Economist', + 'Editor', + 'Education Administrator', + 'Education Teacher', + 'Educational Counselor OR Vocationall Counselor', + 'Educational Psychologist', + 'Electric Meter Installer', + 'Electric Motor Repairer', + 'Electrical and Electronic Inspector and Tester', + 'Electrical and Electronics Drafter', + 'Electrical Drafter', + 'Electrical Engineer', + 'Electrical Engineering Technician', + 'Electrical Parts Reconditioner', + 'Electrical Power-Line Installer', + 'Electrical Sales Representative', + 'Electrician', + 'Electrician', + 'Electrolytic Plating Machine Operator', + 'Electromechanical Equipment Assembler', + 'Electro-Mechanical Technician', + 'Electronic Drafter', + 'Electronic Engineering Technician', + 'Electronic Equipment Assembler', + 'Electronic Masking System Operator', + 'Electronics Engineer', + 'Electronics Engineering Technician', + 'Electrotyper', + 'Elementary and Secondary School Administrators', + 'Elementary School Teacher', + 'Elevator Installer and Repairer', + 'Eligibility Interviewer', + 'Embalmer', + 'Embossing Machine Operator', + 'Emergency Management Specialist', + 'Emergency Medical Technician and Paramedic', + 'Employment Interviewer', + 'Engine Assembler', + 'Engineer', + 'Engineering', + 'Engineering Manager', + 'Engineering Teacher', + 'Engineering Technician', + 'English Language Teacher', + 'Engraver', + 'Entertainer and Performer', + 'Entertainment Attendant', + 'Environmental Compliance Inspector', + 'Environmental Engineer', + 'Environmental Engineering Technician', + 'Environmental Science Teacher', + 'Environmental Science Technician', + 'Environmental Scientist', + 'Epidemiologist', + 'Equal Opportunity Representative', + 'Etcher', + 'Etcher and Engraver', + 'Event Planner', + 'Excavating Machine Operator', + 'Executive Secretary', + 'Exhibit Designer', + 'Explosives Expert', + 'Extraction Worker', + 'Extruding and Drawing Machine Operator', + 'Extruding Machine Operator', + 'Fabric Mender', + 'Fabric Pressers', + 'Farm and Home Management Advisor', + 'Farm Equipment Mechanic', + 'Farm Labor Contractor', + 'Farmer', + 'Farmworker', + 'Fashion Designer', + 'Fashion Model', + 'Fast Food Cook', + 'Fence Erector', + 'Fiber Product Cutting Machine Operator', + 'Fiberglass Laminator and Fabricator', + 'File Clerk', + 'Film Laboratory Technician', + 'Financial Analyst', + 'Financial Examiner', + 'Financial Manager', + 'Financial Services Sales Agent', + 'Financial Specialist', + 'Fire Fighter', + 'Fire Inspector', + 'Fire Investigator', + 'Fire-Prevention Engineer', + 'First-Line Supervisor-Manager of Landscaping, Lawn Service, and Groundskeeping Worker', + 'Fish Game Warden', + 'Fish Hatchery Manager', + 'Fishery Worker', + 'Fishing OR Forestry Supervisor', + 'Fitness Trainer', + 'Fitter', + 'Flight Attendant', + 'Floor Finisher', + 'Floor Layer', + 'Floral Designer', + 'Food Batchmaker', + 'Food Cooking Machine Operators', + 'Food Preparation', + 'Food Preparation and Serving Worker', + 'Food Preparation Worker', + 'Food Science Technician', + 'Food Scientists and Technologist', + 'Food Servers', + 'Food Service Manager', + 'Food Tobacco Roasting', + 'Foreign Language Teacher', + 'Forensic Investigator', + 'Forensic Science Technician', + 'Forest and Conservation Technician', + 'Forest and Conservation Worker', + 'Forest Fire Fighter', + 'Forest Fire Fighting Supervisor', + 'Forest Fire Inspector', + 'Forester', + 'Forestry Conservation Science Teacher', + 'Forging Machine Setter', + 'Forming Machine Operator', + 'Forming Machine Operator', + 'Foundry Mold and Coremaker', + 'Fraud Investigator', + 'Freight Agent', + 'Freight and Material Mover', + 'Freight Inspector', + 'Funeral Attendant', + 'Funeral Director', + 'Furnace Operator', + 'Furniture Finisher', + 'Gaming Cage Worker', + 'Gaming Dealer', + 'Gaming Manager', + 'Gaming Service Worker', + 'Gaming Supervisor', + 'Gaming Surveillance Officer', + 'Garment', + 'Gas Appliance Repairer', + 'Gas Compressor Operator', + 'Gas Distribution Plant Operator', + 'Gas Plant Operator', + 'Gas Processing Plant Operator', + 'Gas Pumping Station Operator', + 'Gas Pumping Station Operator', + 'Gauger', + 'GED Teacher', + 'General Farmworker', + 'General Manager', + 'General Practitioner', + 'Geographer', + 'Geography Teacher', + 'Geological Data Technician', + 'Geological Sample Test Technician', + 'Geologist', + 'Geoscientists', + 'Glass Blower', + 'Glass Cutting Machine Operator', + 'Glazier', + 'Gluing Machine Operator', + 'Government', + 'Government Property Inspector', + 'Government Service Executive', + 'Graduate Teaching Assistant', + 'Graphic Designer', + 'Grinder OR Polisher', + 'Grinding Machine Operator', + 'Grips', + 'Grounds Maintenance Worker', + 'Hairdresser OR Cosmetologist', + 'Hand Trimmer', + 'Hand Presser', + 'Hand Sewer', + 'Hazardous Materials Removal Worker', + 'Head Nurse', + 'Health Educator', + 'Health Practitioner', + 'Health Services Manager', + 'Health Specialties Teacher', + 'Health Technologist', + 'Healthcare', + 'Healthcare Practitioner', + 'Healthcare Support Worker', + 'Heat Treating Equipment Operator', + 'Heaters', + 'Heating and Air Conditioning Mechanic', + 'Heating Equipment Operator', + 'Heavy Equipment Mechanic', + 'Highway Maintenance Worker', + 'Highway Patrol Pilot', + 'Historian', + 'History Teacher', + 'Hoist and Winch Operator', + 'Home', + 'Home Appliance Installer', + 'Home Appliance Repairer', + 'Home Economics Teacher', + 'Home Entertainment Equipment Installer', + 'Home Health Aide', + 'Homeland Security', + 'Horticultural Worker', + 'Host and Hostess', + 'Hotel Desk Clerk', + 'House Cleaner', + 'Housekeeper', + 'Housekeeping Supervisor', + 'HR Manager', + 'HR Specialist', + 'Human Resource Director', + 'Human Resource Manager', + 'Human Resources Assistant', + 'Human Resources Manager', + 'Human Resources Specialist', + 'Hunter and Trapper', + 'HVAC Mechanic', + 'Hydrologist', + 'Illustrator', + 'Immigration Inspector OR Customs Inspector', + 'Industrial Engineer', + 'Industrial Engineering Technician', + 'Industrial Equipment Maintenance', + 'Industrial Machinery Mechanic', + 'Industrial Production Manager', + 'Industrial Safety Engineer', + 'Industrial-Organizational Psychologist', + 'Infantry', + 'Infantry Officer', + 'Information Systems Manager', + 'Inspector', + 'Installation and Repair Technician', + 'Instructional Coordinator', + 'Instrument Sales Representative', + 'Insulation Installer', + 'Insulation Worker', + 'Insurance Investigator', + 'Insurance Appraiser', + 'Insurance Claims Clerk', + 'Insurance Policy Processing Clerk', + 'Insurance Sales Agent', + 'Insurance Underwriter', + 'Interaction Designer', + 'Interior Designer', + 'Internist', + 'Interpreter OR Translator', + 'Interviewer', + 'Irradiated-Fuel Handler', + 'Janitor', + 'Janitorial Supervisor', + 'Jeweler', + 'Jewelry Model OR Mold Makers', + 'Job Printer', + 'Judge', + 'Keyboard Instrument Repairer and Tuner', + 'Kindergarten Teacher', + 'Landscape Architect', + 'Landscape Artist', + 'Landscaper', + 'Landscaping', + 'Lathe Operator', + 'Laundry OR Dry-Cleaning Worker', + 'Law Clerk', + 'Law Enforcement Teacher', + 'Law Teacher', + 'Lawn Service Manager', + 'Lawyer', + 'Lay-Out Worker', + 'Legal Secretary', + 'Legal Support Worker', + 'Legislator', + 'Letterpress Setters Operator', + 'Librarian', + 'Library Assistant', + 'Library Science Teacher', + 'Library Technician', + 'Library Worker', + 'License Clerk', + 'Licensed Practical Nurse', + 'Licensing Examiner and Inspector', + 'Life Science Technician', + 'Life Scientists', + 'Lifeguard', + 'Loading Machine Operator', + 'Loan Counselor', + 'Loan Interviewer', + 'Loan Officer', + 'Locker Room Attendant', + 'Locksmith', + 'Locomotive Engineer', + 'Locomotive Firer', + 'Lodging Manager', + 'Log Grader and Scaler', + 'Logging Equipment Operator', + 'Logging Supervisor', + 'Logging Tractor Operator', + 'Logging Worker', + 'Logistician', + 'Machine Feeder', + 'Machine Operator', + 'Machine Tool Operator', + 'Machinery Maintenance', + 'Machinist', + 'Maid', + 'Mail Clerk', + 'Mail Machine Operator', + 'Maintenance and Repair Worker', + 'Maintenance Equipment Operator', + 'Maintenance Supervisor', + 'Maintenance Worker', + 'Makeup Artists', + 'Management Analyst', + 'Manager', + 'Manager of Air Crew', + 'Manager of Food Preparation', + 'Manager of Weapons Specialists', + 'Manager Tactical Operations', + 'Manicurists', + 'Manufactured Building Installer', + 'Manufacturing Sales Representative', + 'Mapping Technician', + 'MARCOM Director', + 'MARCOM Manager', + 'Marine Architect', + 'Marine Cargo Inspector', + 'Marine Engineer', + 'Marine Oiler', + 'Market Research Analyst', + 'Marketing Manager', + 'Marketing VP', + 'Marking Clerk', + 'Marking Machine Operator', + 'Marriage and Family Therapist', + 'Massage Therapist', + 'Material Movers', + 'Material Moving Worker', + 'Materials Engineer', + 'Materials Inspector', + 'Materials Scientist', + 'Mathematical Science Teacher', + 'Mathematical Scientist', + 'Mathematical Technician', + 'Mathematician', + 'Meat Packer', + 'Mechanical Door Repairer', + 'Mechanical Drafter', + 'Mechanical Engineer', + 'Mechanical Engineering Technician', + 'Mechanical Equipment Sales Representative', + 'Mechanical Inspector', + 'Media and Communication Worker', + 'Medical Appliance Technician', + 'Medical Assistant', + 'Medical Equipment Preparer', + 'Medical Equipment Repairer', + 'Medical Laboratory Technologist', + 'Medical Records Technician', + 'Medical Sales Representative', + 'Medical Scientists', + 'Medical Secretary', + 'Medical Technician', + 'Medical Transcriptionist', + 'Mental Health Counselor', + 'Merchandise Displayer OR Window Trimmer', + 'Metal Fabricator', + 'Metal Molding Operator', + 'Metal Pourer and Caster', + 'Metal Worker', + 'Metal-Refining Furnace Operator', + 'Meter Mechanic', + 'Microbiologist', + 'Middle School Teacher', + 'Military Officer', + 'Milling Machine Operator', + 'Millwright', + 'Mine Cutting Machine Operator', + 'Mining Engineer OR Geological Engineer', + 'Mining Machine Operator', + 'Mixing and Blending Machine Operator', + 'Model Maker', + 'Mold Maker', + 'Molder', + 'Molding and Casting Worker', + 'Molding Machine Operator', + 'Motion Picture Projectionist', + 'Motor Vehicle Inspector', + 'Motor Vehicle Operator', + 'Motorboat Mechanic', + 'Motorboat Operator', + 'Motorcycle Mechanic', + 'Movers', + 'Movie Director oR Theatre Director', + 'Multi-Media Artist', + 'Multiple Machine Tool Setter', + 'Municipal Clerk', + 'Municipal Court Clerk', + 'Municipal Fire Fighter', + 'Municipal Fire Fighting Supervisor', + 'Museum Conservator', + 'Music Arranger and Orchestrator', + 'Music Composer', + 'Music Director', + 'Musical Instrument Tuner', + 'Musician', + 'Musician OR Singer', + 'Natural Sciences Manager', + 'Naval Architects', + 'Network Admin OR Computer Systems Administrator', + 'Network Systems Analyst', + 'New Accounts Clerk', + 'Night Security Guard', + 'Night Shift', + 'Nonfarm Animal Caretaker', + 'Nuclear Engineer', + 'Nuclear Equipment Operation Technician', + 'Nuclear Medicine Technologist', + 'Nuclear Monitoring Technician', + 'Nuclear Power Reactor Operator', + 'Nuclear Technician', + 'Numerical Control Machine Tool Operator', + 'Numerical Tool Programmer OR Process Control Programmer', + 'Nursery Manager', + 'Nursery Worker', + 'Nursing Aide', + 'Nursing Instructor', + 'Nutritionist', + 'Obstetrician', + 'Occupational Health Safety Specialist', + 'Occupational Health Safety Technician', + 'Occupational Therapist', + 'Occupational Therapist Aide', + 'Occupational Therapist Assistant', + 'Office and Administrative Support Worker', + 'Office Clerk', + 'Office Machine and Cash Register Servicer', + 'Office Machine Operator', + 'Offset Lithographic Press Operator', + 'Oil and gas Operator', + 'Oil Service Unit Operator', + 'Online Marketing Analyst', + 'Operating Engineer', + 'Operations Research Analyst', + 'Ophthalmic Laboratory Technician', + 'Optical Instrument Assembler', + 'Opticians', + 'Optometrist', + 'Oral Surgeon', + 'Order Clerk', + 'Order Filler', + 'Order Filler OR Stock Clerk', + 'Organizational Development Manager', + 'Orthodontist', + 'Orthotist OR Prosthetist', + 'Outdoor Power Equipment Mechanic', + 'Packaging Machine Operator', + 'Packer and Packager', + 'Painter', + 'Painter and Illustrator', + 'Painting Machine Operator', + 'Pantograph Engraver', + 'Paper Goods Machine Operator', + 'Paperhanger', + 'Paralegal', + 'Park Naturalist', + 'Parking Enforcement Worker', + 'Parking Lot Attendant', + 'Parts Salesperson', + 'Paste-Up Worker', + 'Pastry Chef', + 'Patrol Officer', + 'Patternmaker', + 'Paving Equipment Operator', + 'Payroll Clerk', + 'Pediatricians', + 'Percussion Instrument Repairer', + 'Personal Care Worker', + 'Personal Financial Advisor', + 'Personal Home Care Aide', + 'Personal Service Worker', + 'Personal Trainer', + 'Personnel Recruiter', + 'Pest Control Worker', + 'Pesticide Sprayer', + 'Petroleum Engineer', + 'Petroleum Pump Operator', + 'Petroleum Pump System Operator', + 'Petroleum Technician', + 'Pewter Caster', + 'Pharmaceutical Sales Representative', + 'Pharmacist', + 'Pharmacy Aide', + 'Pharmacy Technician', + 'Philosophy and Religion Teacher', + 'Photoengraver', + 'Photoengraving Machine Operator', + 'Photographer', + 'Photographic Restorer', + 'Photographic Developer', + 'Photographic Process Worker', + 'Photographic Processing Machine Operator', + 'Photographic Reproduction Technician', + 'Physical Scientist', + 'Physical Therapist', + 'Physical Therapist Aide', + 'Physical Therapist Assistant', + 'Physician', + 'Physician Assistant', + 'Physicist', + 'Physics Teacher', + 'Pile-Driver Operator', + 'Pipe Fitter', + 'Pipefitter', + 'Pipelayer', + 'Pipelaying Fitter', + 'Plant and System Operator', + 'Plant Scientist', + 'Plasterer OR Stucco Mason', + 'Plastic Molding Machine Operator', + 'Plate Finisher', + 'Platemaker', + 'Plating Machine Operator', + 'Plating Operator', + 'Plating Operator OR Coating Machine Operator', + 'Plumber', + 'Plumber OR Pipefitter OR Steamfitter', + 'Podiatrist', + 'Poet OR Lyricist', + 'Police and Sheriffs Patrol Officer', + 'Police Detective', + 'Police Identification OR Records Officer', + 'Political Science Teacher', + 'Political Scientist', + 'Portable Power Tool Repairer', + 'Postal Clerk', + 'Postal Service Clerk', + 'Postal Service Mail Carrier', + 'Postal Service Mail Sorter', + 'Postmasters', + 'Postsecondary Education Administrators', + 'Postsecondary Teacher', + 'Potter', + 'Poultry Cutter', + 'Power Distributors OR Dispatcher', + 'Power Generating Plant Operator', + 'Power Plant Operator', + 'PR Manager', + 'Precious Stone Worker', + 'Precision Aircraft Systems Assemblers', + 'Precision Devices Inspector', + 'Precision Dyer', + 'Precision Etcher and Engraver', + 'Precision Instrument Repairer', + 'Precision Lens Grinders and Polisher', + 'Precision Mold and Pattern Caster', + 'Precision Pattern and Die Caster', + 'Precision Printing Worker', + 'Prepress Technician', + 'Preschool Education Administrators', + 'Preschool Teacher', + 'Press Machine Setter, Operator', + 'Pressing Machine Operator', + 'Pressure Vessel Inspector', + 'Printing Machine Operator', + 'Printing Press Machine Operator', + 'Private Detective and Investigator', + 'Private Household Cook', + 'Private Sector Executive', + 'Probation Officers and Correctional Treatment Specialist', + 'Procurement Clerk', + 'Producer', + 'Producers and Director', + 'Product Management Leader', + 'Product Promoter', + 'Product Safety Engineer', + 'Product Specialist', + 'Production Control Manager', + 'Production Helper', + 'Production Inspector', + 'Production Laborer', + 'Production Manager', + 'Production Planner', + 'Production Planning', + 'Production Worker', + 'Professional Photographer', + 'Professor', + 'Program Director', + 'Project Manager', + 'Proofreaders and Copy Marker', + 'Prosthodontist', + 'Protective Service Worker', + 'Protective Service Worker', + 'Psychiatric Aide', + 'Psychiatric Technician', + 'Psychiatrist', + 'Psychologist', + 'Psychology Teacher', + 'Public Health Social Worker', + 'Public Relations Manager', + 'Public Relations Specialist', + 'Public Transportation Inspector', + 'Pump Operators', + 'Punching Machine Setters', + 'Purchasing Agent', + 'Purchasing Manager', + 'Radar Technician', + 'Radiation Therapist', + 'Radio and Television Announcer', + 'Radio Mechanic', + 'Radio Operator', + 'Radiologic Technician', + 'Radiologic Technologist', + 'Radiologic Technologist and Technician', + 'Rail Car Repairer', + 'Rail Transportation Worker', + 'Rail Yard Engineer', + 'Railroad Conductors', + 'Railroad Inspector', + 'Railroad Switch Operator', + 'Railroad Yard Worker', + 'Range Manager', + 'Real Estate Appraiser', + 'Real Estate Association Manager', + 'Real Estate Broker', + 'Real Estate Sales Agent', + 'Receptionist and Information Clerk', + 'Record Clerk', + 'Recordkeeping Clerk', + 'Recreation and Fitness Studies Teacher', + 'Recreation Worker', + 'Recreational Therapist', + 'Recreational Vehicle Service Technician', + 'Recruiter', + 'Recyclable Material Collector', + 'Refinery Operator', + 'Refractory Materials Repairer', + 'Refrigeration Mechanic', + 'Registered Nurse', + 'Rehabilitation Counselor', + 'Religious Worker', + 'Rental Clerk', + 'Reporters OR Correspondent', + 'Reservation Agent OR Transportation Ticket Agent', + 'Residential Advisor', + 'Respiratory Therapist', + 'Respiratory Therapy Technician', + 'Restaurant Cook', + 'Retail Sales person', + 'Retail Salesperson', + 'Rigger', + 'RN', + 'Rock Splitter', + 'Rolling Machine Setter', + 'Roof Bolters Mining', + 'Roofer', + 'Rotary Drill Operator', + 'Rough Carpenter', + 'Roustabouts', + 'Safety Engineer', + 'Sailor', + 'Sales and Related Workers', + 'Sales Engineer', + 'Sales Manager', + 'Sales Person', + 'Sales Representative', + 'Sawing Machine Operator', + 'Sawing Machine Setter', + 'Sawing Machine Tool Setter', + 'Scanner Operator', + 'School Bus Driver', + 'School Social Worker', + 'Scientific Photographer', + 'Screen Printing Machine Operator', + 'Sculptor', + 'Secondary School Teacher', + 'Secretary', + 'Securities Sales Agent', + 'Security Guard', + 'Security Systems Installer OR Fire Alarm Systems Installer', + 'Segmental Paver', + 'Self-Enrichment Education Teacher', + 'Semiconductor Processor', + 'Separating Machine Operators', + 'Septic Tank Servicer', + 'Service Station Attendant', + 'Set and Exhibit Designer', + 'Set Designer', + 'Sewing Machine Operator', + 'Shampooer', + 'Shear Machine Set-Up Operator', + 'Sheet Metal Worker', + 'Sheriff', + 'Ship Captain', + 'Ship Carpenter and Joiner', + 'Ship Engineer', + 'Ship Mates', + 'Ship Pilot', + 'Shipping and Receiving Clerk', + 'Shoe and Leather Repairer', + 'Shoe Machine Operators', + 'Short Order Cook', + 'Shuttle Car Operator', + 'Signal Repairer OR Track Switch Repairer', + 'Silversmith', + 'Singer', + 'Sketch Artist', + 'Skin Care Specialist', + 'Slot Key Person', + 'Social and Human Service Assistant', + 'Social Media Marketing Manager', + 'Social Science Research Assistant', + 'Social Sciences Teacher', + 'Social Scientists', + 'Social Service Specialists', + 'Social Work Teacher', + 'Social Worker', + 'Sociologist', + 'Sociology Teacher', + 'Software Engineer', + 'Soil Conservationist', + 'Soil Scientist', + 'Soil Scientist OR Plant Scientist', + 'Solderer', + 'Soldering Machine Setter', + 'Sound Engineering Technician', + 'Space Sciences Teacher', + 'Special Education Teacher', + 'Special Force', + 'Special Forces Officer', + 'Speech-Language Pathologist', + 'Sports Book Writer', + 'Spotters', + 'Spraying Machine Operator', + 'Staff Psychologist', + 'State', + 'Statement Clerk', + 'Stationary Engineer', + 'Stationary Engineer OR Boiler Operator', + 'Statistical Assistant', + 'Statistician', + 'Steel Worker', + 'Stevedore', + 'Stock Broker', + 'Stock Clerk', + 'Stone Cutter', + 'Stone Sawyer', + 'Stonemason', + 'Stonemason', + 'Storage Manager OR Distribution Manager', + 'Streetcar Operator', + 'Stringed Instrument Repairer and Tuner', + 'Structural Iron and Steel Worker', + 'Structural Metal Fabricator', + 'Substance Abuse Counselor', + 'Substance Abuse Social Worker', + 'Substation Maintenance', + 'Supervisor Correctional Officer', + 'Supervisor Fire Fighting Worker', + 'Supervisor of Customer Service', + 'Supervisor of Police', + 'Surgeon', + 'Surgical Technologist', + 'Survey Researcher', + 'Surveying and Mapping Technician', + 'Surveying Technician', + 'Surveyor', + 'Sys Admin', + 'System Administrator', + 'Tailor', + 'Talent Acquisition Manager', + 'Talent Director', + 'Tank Car', + 'Taper', + 'Tax Examiner', + 'Tax Preparer', + 'Taxi Drivers and Chauffeur', + 'Teacher', + 'Teacher Assistant', + 'Team Assembler', + 'Technical Director', + 'Technical Program Manager', + 'Technical Specialist', + 'Technical Writer', + 'Telecommunications Equipment Installer', + 'Telecommunications Facility Examiner', + 'Telecommunications Line Installer', + 'Telemarketer', + 'Telephone Operator', + 'Telephone Station Installer and Repairer', + 'Teller', + 'Terrazzo Workes and Finisher', + 'Textile Cutting Machine Operator', + 'Textile Dyeing Machine Operator', + 'Textile Knitting Machine Operator', + 'Textile Machine Operator', + 'Textile Worker', + 'Therapist', + 'Ticket Agent', + 'Tile Setter OR Marble Setter', + 'Timing Device Assemblers', + 'Tire Builder', + 'Tire Changer', + 'Title Abstractor', + 'Title Examiner', + 'Title Searcher', + 'Tool and Die Maker', + 'Tool Set-Up Operator', + 'Tool Sharpener', + 'Tour Guide', + 'Tractor Operator', + 'Tractor-Trailer Truck Driver', + 'Traffic Technician', + 'Train Crew', + 'Trainer', + 'Training Manager OR Development Manager', + 'Transformer Repairer', + 'Transit Police OR Railroad Police', + 'Transportation and Material-Moving', + 'Transportation Attendant', + 'Transportation Equipment Maintenance', + 'Transportation Equipment Painters', + 'Transportation Inspector', + 'Transportation Manager', + 'Transportation Worker', + 'Travel Agent', + 'Travel Clerk', + 'Travel Guide', + 'Tree Trimmer', + 'Truck Driver', + 'TSA', + 'Typesetter', + 'Typesetting Machine Operator', + 'Umpire and Referee', + 'Underground Mining', + 'University', + 'Upholsterer', + 'Urban Planner', + 'User Experience Manager', + 'User Experience Researcher', + 'Usher', + 'Utility Meter Reader', + 'Valve Repairer OR Regulator Repairer', + 'Vending Machine Servicer', + 'Veterinarian', + 'Veterinary Assistant OR Laboratory Animal Caretaker', + 'Veterinary Technician', + 'Vice President Of Human Resources', + 'Vice President Of Marketing', + 'Video Editor', + 'Visual Designer', + 'Vocational Education Teacher', + 'Waiter', + 'Waitress', + 'Warehouse', + 'Washing Equipment Operator', + 'Waste Treatment Plant Operator', + 'Watch Repairer', + 'Weapons Specialists', + 'Web Developer', + 'Webmaster', + 'Welder', + 'Welder', + 'Welder and Cutter', + 'Welder-Fitter', + 'Welding Machine Tender', + 'Welding Machine Operator', + 'Welding Machine Setter', + 'Welfare Eligibility Clerk', + 'Well and Core Drill Operator', + 'Wellhead Pumper', + 'Wholesale Buyer', + 'Wind Instrument Repairer', + 'Woodworker', + 'Woodworking Machine Operator', + 'Woodworking Machine Setter', + 'Word Processors and Typist', + 'Writer OR Author', + 'Zoologists OR Wildlife Biologist', + ]; - protected static $companySuffix = ['Inc', 'and Sons', 'LLC', 'Group', 'PLC', 'Ltd']; + protected static $companySuffix = [ 'Inc', 'and Sons', 'LLC', 'Group', 'PLC', 'Ltd' ]; - /** - * @see https://www.irs.gov/businesses/small-businesses-self-employed/how-eins-are-assigned-and-valid-ein-prefixes - */ - protected static $einPrefixes = [ - 01, 02, 03, 04, 05, 06, 10, 11, 12, 13, 14, 15, 16, 20, 21, 22, 23, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, - 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, - 66, 67, 68, 71, 72, 73, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 95, 98, 99, - ]; + /** + * @see https://www.irs.gov/businesses/small-businesses-self-employed/how-eins-are-assigned-and-valid-ein-prefixes + */ + protected static $einPrefixes = [ + 01, + 02, + 03, + 04, + 05, + 06, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 20, + 21, + 22, + 23, + 24, + 25, + 26, + 27, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, + 67, + 68, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 90, + 91, + 92, + 93, + 94, + 95, + 98, + 99, + ]; - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * Employer Identification Number (EIN) - * - * @see https://en.wikipedia.org/wiki/Employer_Identification_Number - * - * @example '12-3456789' - */ - public static function ein() - { - $prefix = static::randomElement(static::$einPrefixes); - $suffix = self::numberBetween(0, 9999999); + /** + * Employer Identification Number (EIN) + * + * @see https://en.wikipedia.org/wiki/Employer_Identification_Number + * + * @example '12-3456789' + */ + public static function ein() { + $prefix = static::randomElement( static::$einPrefixes ); + $suffix = self::numberBetween( 0, 9999999 ); - return sprintf('%02d-%07d', $prefix, $suffix); - } + return sprintf( '%02d-%07d', $prefix, $suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/Payment.php index 5f81139..3afdffc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/Payment.php @@ -2,35 +2,31 @@ namespace Faker\Provider\en_US; -class Payment extends \Faker\Provider\Payment -{ - public function bankAccountNumber() - { - // Length between 5 and 17, biased towards center - $length = self::numberBetween(0, 3) + self::numberBetween(0, 3) + self::numberBetween(0, 3) + self::numberBetween(0, 3) + 5; +class Payment extends \Faker\Provider\Payment { + public function bankAccountNumber() { + // Length between 5 and 17, biased towards center + $length = self::numberBetween( 0, 3 ) + self::numberBetween( 0, 3 ) + self::numberBetween( 0, 3 ) + self::numberBetween( 0, 3 ) + 5; - return self::numerify(str_repeat('#', $length)); - } + return self::numerify( str_repeat( '#', $length ) ); + } - public function bankRoutingNumber() - { - $district = self::numberBetween(1, 12); - $type = self::randomElement([0, 0, 0, 0, 20, 20, 60]); - $clearingCenter = self::randomDigitNotNull(); - $state = self::randomDigit(); - $institution = self::randomNumber(4, true); + public function bankRoutingNumber() { + $district = self::numberBetween( 1, 12 ); + $type = self::randomElement( [ 0, 0, 0, 0, 20, 20, 60 ] ); + $clearingCenter = self::randomDigitNotNull(); + $state = self::randomDigit(); + $institution = self::randomNumber( 4, true ); - $result = sprintf('%02d%01d%01d%04d', $district + $type, $clearingCenter, $state, $institution); + $result = sprintf( '%02d%01d%01d%04d', $district + $type, $clearingCenter, $state, $institution ); - return $result . self::calculateRoutingNumberChecksum($result); - } + return $result . self::calculateRoutingNumberChecksum( $result ); + } - public static function calculateRoutingNumberChecksum($routing) - { - return ( - 7 * ($routing[0] + $routing[3] + $routing[6]) + - 3 * ($routing[1] + $routing[4] + $routing[7]) + - 9 * ($routing[2] + $routing[5]) - ) % 10; - } + public static function calculateRoutingNumberChecksum( $routing ) { + return ( + 7 * ( $routing[0] + $routing[3] + $routing[6] ) + + 3 * ( $routing[1] + $routing[4] + $routing[7] ) + + 9 * ( $routing[2] + $routing[5] ) + ) % 10; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/Person.php index 5cd22d4..c53b365 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/Person.php @@ -4,130 +4,3531 @@ use Faker\Provider\Miscellaneous; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - protected static $firstNameMale = [ - 'Aaron', 'Abdiel', 'Abdul', 'Abdullah', 'Abe', 'Abel', 'Abelardo', 'Abner', 'Abraham', 'Adalberto', 'Adam', 'Adan', 'Adelbert', 'Adolfo', 'Adolphus', 'Adonis', 'Adrain', 'Adrian', 'Adriel', 'Adrien', 'Afton', 'Agustin', 'Ahmad', 'Ahmed', 'Aidan', 'Aiden', 'Akeem', 'Al', 'Alan', 'Albert', 'Alberto', 'Albin', 'Alden', 'Alec', 'Alejandrin', 'Alek', 'Alessandro', 'Alex', 'Alexander', 'Alexandre', 'Alexandro', 'Alexie', 'Alexis', 'Alexys', 'Alexzander', 'Alf', 'Alfonso', 'Alfonzo', 'Alford', 'Alfred', 'Alfredo', 'Ali', 'Allan', 'Allen', 'Alphonso', 'Alvah', 'Alvis', 'Amani', 'Amari', 'Ambrose', 'Americo', 'Amir', 'Amos', 'Amparo', 'Anastacio', 'Anderson', 'Andre', 'Andres', 'Andrew', 'Andy', 'Angel', 'Angelo', 'Angus', 'Anibal', 'Ansel', 'Ansley', 'Anthony', 'Antone', 'Antonio', 'Antwan', 'Antwon', 'Arch', 'Archibald', 'Arden', 'Arely', 'Ari', 'Aric', 'Ariel', 'Arjun', 'Arlo', 'Armand', 'Armando', 'Armani', 'Arnaldo', 'Arne', 'Arno', 'Arnold', 'Arnoldo', 'Arnulfo', 'Aron', 'Art', 'Arthur', 'Arturo', 'Arvel', 'Arvid', 'Ashton', 'August', 'Augustus', 'Aurelio', 'Austen', 'Austin', 'Austyn', 'Avery', 'Axel', 'Ayden', - 'Bailey', 'Barney', 'Baron', 'Barrett', 'Barry', 'Bart', 'Bartholome', 'Barton', 'Baylee', 'Beau', 'Bell', 'Ben', 'Benedict', 'Benjamin', 'Bennett', 'Bennie', 'Benny', 'Benton', 'Bernard', 'Bernardo', 'Bernhard', 'Bernie', 'Berry', 'Berta', 'Bertha', 'Bertram', 'Bertrand', 'Bill', 'Billy', 'Blair', 'Blaise', 'Blake', 'Blaze', 'Bo', 'Bobbie', 'Bobby', 'Boris', 'Boyd', 'Brad', 'Braden', 'Bradford', 'Bradley', 'Bradly', 'Brady', 'Braeden', 'Brain', 'Brando', 'Brandon', 'Brandt', 'Brannon', 'Branson', 'Brant', 'Braulio', 'Braxton', 'Brayan', 'Brendan', 'Brenden', 'Brendon', 'Brennan', 'Brennon', 'Brent', 'Bret', 'Brett', 'Brian', 'Brice', 'Brock', 'Broderick', 'Brody', 'Brook', 'Brooks', 'Brown', 'Bruce', 'Bryce', 'Brycen', 'Bryon', 'Buck', 'Bud', 'Buddy', 'Buford', 'Burley', 'Buster', - 'Cade', 'Caden', 'Caesar', 'Cale', 'Caleb', 'Camden', 'Cameron', 'Camren', 'Camron', 'Camryn', 'Candelario', 'Candido', 'Carey', 'Carleton', 'Carlo', 'Carlos', 'Carmel', 'Carmelo', 'Carmine', 'Carol', 'Carroll', 'Carson', 'Carter', 'Cary', 'Casey', 'Casimer', 'Casimir', 'Casper', 'Ceasar', 'Cecil', 'Cedrick', 'Celestino', 'Cesar', 'Chad', 'Chadd', 'Chadrick', 'Chaim', 'Chance', 'Chandler', 'Charles', 'Charley', 'Charlie', 'Chase', 'Chauncey', 'Chaz', 'Chelsey', 'Chesley', 'Chester', 'Chet', 'Chris', 'Christ', 'Christian', 'Christop', 'Christophe', 'Christopher', 'Cicero', 'Cielo', 'Clair', 'Clark', 'Claud', 'Claude', 'Clay', 'Clemens', 'Clement', 'Cleo', 'Cletus', 'Cleve', 'Cleveland', 'Clifford', 'Clifton', 'Clint', 'Clinton', 'Clovis', 'Cloyd', 'Clyde', 'Coby', 'Cody', 'Colby', 'Cole', 'Coleman', 'Colin', 'Collin', 'Colt', 'Colten', 'Colton', 'Columbus', 'Conner', 'Connor', 'Conor', 'Conrad', 'Constantin', 'Consuelo', 'Cooper', 'Corbin', 'Cordelia', 'Cordell', 'Cornelius', 'Cornell', 'Cortez', 'Cory', 'Coty', 'Coy', 'Craig', 'Crawford', 'Cristian', 'Cristina', 'Cristobal', 'Cristopher', 'Cruz', 'Cullen', 'Curt', 'Curtis', 'Cyril', 'Cyrus', - 'Dagmar', 'Dale', 'Dallas', 'Dallin', 'Dalton', 'Dameon', 'Damian', 'Damien', 'Damion', 'Damon', 'Dan', 'Dane', 'D\'angelo', 'Dangelo', 'Danial', 'Danny', 'Dante', 'Daren', 'Darian', 'Darien', 'Dario', 'Darion', 'Darius', 'Daron', 'Darrel', 'Darrell', 'Darren', 'Darrick', 'Darrin', 'Darrion', 'Darron', 'Darryl', 'Darwin', 'Daryl', 'Dashawn', 'Dave', 'David', 'Davin', 'Davion', 'Davon', 'Davonte', 'Dawson', 'Dax', 'Dayne', 'Dayton', 'Dean', 'Deangelo', 'Declan', 'Dedric', 'Dedrick', 'Dee', 'Deion', 'Dejon', 'Dejuan', 'Delaney', 'Delbert', 'Dell', 'Delmer', 'Demarco', 'Demarcus', 'Demario', 'Demetrius', 'Demond', 'Denis', 'Dennis', 'Deon', 'Deondre', 'Deontae', 'Deonte', 'Dereck', 'Derek', 'Derick', 'Deron', 'Derrick', 'Deshaun', 'Deshawn', 'Desmond', 'Destin', 'Devan', 'Devante', 'Deven', 'Devin', 'Devon', 'Devonte', 'Devyn', 'Dewayne', 'Dewitt', 'Dexter', 'Diamond', 'Diego', 'Dillan', 'Dillon', 'Dimitri', 'Dino', 'Dion', 'Dock', 'Domenic', 'Domenick', 'Domenico', 'Domingo', 'Dominic', 'Don', 'Donald', 'Donato', 'Donavon', 'Donnell', 'Donnie', 'Donny', 'Dorcas', 'Dorian', 'Doris', 'Dorthy', 'Doug', 'Douglas', 'Doyle', 'Drake', 'Dudley', 'Duncan', 'Durward', 'Dustin', 'Dusty', 'Dwight', 'Dylan', - 'Earl', 'Earnest', 'Easter', 'Easton', 'Ed', 'Edd', 'Eddie', 'Edgar', 'Edgardo', 'Edison', 'Edmond', 'Edmund', 'Eduardo', 'Edward', 'Edwardo', 'Edwin', 'Efrain', 'Efren', 'Einar', 'Eino', 'Eladio', 'Elbert', 'Eldon', 'Eldred', 'Eleazar', 'Eli', 'Elian', 'Elias', 'Eliezer', 'Elijah', 'Eliseo', 'Elliot', 'Elliott', 'Ellis', 'Ellsworth', 'Elmer', 'Elmo', 'Elmore', 'Eloy', 'Elroy', 'Elton', 'Elvis', 'Elwin', 'Elwyn', 'Emanuel', 'Emerald', 'Emerson', 'Emery', 'Emil', 'Emile', 'Emiliano', 'Emilio', 'Emmanuel', 'Emmet', 'Emmett', 'Emmitt', 'Emory', 'Enid', 'Enoch', 'Enos', 'Enrico', 'Enrique', 'Ephraim', 'Eriberto', 'Eric', 'Erich', 'Erick', 'Erik', 'Erin', 'Erling', 'Ernest', 'Ernesto', 'Ernie', 'Ervin', 'Erwin', 'Esteban', 'Estevan', 'Ethan', 'Ethel', 'Eugene', 'Eusebio', 'Evan', 'Evans', 'Everardo', 'Everett', 'Evert', 'Ewald', 'Ewell', 'Ezekiel', 'Ezequiel', 'Ezra', - 'Fabian', 'Faustino', 'Fausto', 'Favian', 'Federico', 'Felipe', 'Felix', 'Felton', 'Fermin', 'Fern', 'Fernando', 'Ferne', 'Fidel', 'Filiberto', 'Finn', 'Flavio', 'Fletcher', 'Florencio', 'Florian', 'Floy', 'Floyd', 'Ford', 'Forest', 'Forrest', 'Foster', 'Francesco', 'Francis', 'Francisco', 'Franco', 'Frank', 'Frankie', 'Franz', 'Fred', 'Freddie', 'Freddy', 'Frederic', 'Frederick', 'Frederik', 'Fredrick', 'Fredy', 'Freeman', 'Friedrich', 'Fritz', 'Furman', - 'Gabe', 'Gabriel', 'Gaetano', 'Gage', 'Gardner', 'Garett', 'Garfield', 'Garland', 'Garnet', 'Garnett', 'Garret', 'Garrett', 'Garrick', 'Garrison', 'Garry', 'Garth', 'Gaston', 'Gavin', 'Gay', 'Gayle', 'Gaylord', 'Gene', 'General', 'Gennaro', 'Geo', 'Geoffrey', 'George', 'Geovanni', 'Geovanny', 'Geovany', 'Gerald', 'Gerard', 'Gerardo', 'Gerhard', 'German', 'Gerson', 'Gianni', 'Gideon', 'Gilbert', 'Gilberto', 'Giles', 'Gillian', 'Gino', 'Giovani', 'Giovanni', 'Giovanny', 'Giuseppe', 'Glen', 'Glennie', 'Godfrey', 'Golden', 'Gonzalo', 'Gordon', 'Grady', 'Graham', 'Grant', 'Granville', 'Grayce', 'Grayson', 'Green', 'Greg', 'Gregg', 'Gregorio', 'Gregory', 'Greyson', 'Griffin', 'Grover', 'Guido', 'Guillermo', 'Guiseppe', 'Gunnar', 'Gunner', 'Gus', 'Gussie', 'Gust', 'Gustave', 'Guy', - 'Hadley', 'Hailey', 'Hal', 'Haleigh', 'Haley', 'Halle', 'Hank', 'Hans', 'Hardy', 'Harley', 'Harmon', 'Harold', 'Harrison', 'Harry', 'Harvey', 'Haskell', 'Hassan', 'Hayden', 'Hayley', 'Hazel', 'Hazle', 'Heber', 'Hector', 'Helmer', 'Henderson', 'Henri', 'Henry', 'Herbert', 'Herman', 'Hermann', 'Herminio', 'Hershel', 'Hester', 'Hilario', 'Hilbert', 'Hillard', 'Hilton', 'Hipolito', 'Hiram', 'Hobart', 'Holden', 'Hollis', 'Horace', 'Horacio', 'Houston', 'Howard', 'Howell', 'Hoyt', 'Hubert', 'Hudson', 'Hugh', 'Humberto', 'Hunter', 'Hyman', - 'Ian', 'Ibrahim', 'Ignacio', 'Ignatius', 'Ike', 'Imani', 'Immanuel', 'Irving', 'Irwin', 'Isaac', 'Isac', 'Isadore', 'Isai', 'Isaiah', 'Isaias', 'Isidro', 'Ismael', 'Isom', 'Israel', 'Issac', 'Izaiah', - 'Jabari', 'Jace', 'Jacey', 'Jacinto', 'Jack', 'Jackson', 'Jacques', 'Jaden', 'Jadon', 'Jaeden', 'Jaiden', 'Jaime', 'Jairo', 'Jake', 'Jakob', 'Jaleel', 'Jalen', 'Jalon', 'Jamaal', 'Jamal', 'Jamar', 'Jamarcus', 'Jamel', 'Jameson', 'Jamey', 'Jamie', 'Jamil', 'Jamir', 'Jamison', 'Jan', 'Janick', 'Jaquan', 'Jared', 'Jaren', 'Jarod', 'Jaron', 'Jarred', 'Jarrell', 'Jarret', 'Jarrett', 'Jarrod', 'Jarvis', 'Jasen', 'Jasmin', 'Jason', 'Jasper', 'Javier', 'Javon', 'Javonte', 'Jay', 'Jayce', 'Jaycee', 'Jayde', 'Jayden', 'Jaydon', 'Jaylan', 'Jaylen', 'Jaylin', 'Jaylon', 'Jayme', 'Jayson', 'Jean', 'Jed', 'Jedediah', 'Jedidiah', 'Jeff', 'Jefferey', 'Jeffery', 'Jeffrey', 'Jeffry', 'Jennings', 'Jensen', 'Jerad', 'Jerald', 'Jeramie', 'Jeramy', 'Jerel', 'Jeremie', 'Jeremy', 'Jermain', 'Jermey', 'Jerod', 'Jerome', 'Jeromy', 'Jerrell', 'Jerrod', 'Jerrold', 'Jerry', 'Jess', 'Jesse', 'Jessie', 'Jessy', 'Jesus', 'Jett', 'Jettie', 'Jevon', 'Jillian', 'Jimmie', 'Jimmy', 'Jo', 'Joan', 'Joany', 'Joaquin', 'Jocelyn', 'Joe', 'Joel', 'Joesph', 'Joey', 'Johan', 'Johann', 'Johathan', 'John', 'Johnathan', 'Johnathon', 'Johnnie', 'Johnny', 'Johnpaul', 'Johnson', 'Jon', 'Jonas', 'Jonatan', 'Jonathan', 'Jonathon', 'Jordan', 'Jordi', 'Jordon', 'Jordy', 'Jordyn', 'Jorge', 'Jose', 'Joseph', 'Josh', 'Joshua', 'Joshuah', 'Josiah', 'Josue', 'Jovan', 'Jovani', 'Jovanny', 'Jovany', 'Judah', 'Judd', 'Judge', 'Judson', 'Jules', 'Julian', 'Julien', 'Julio', 'Julius', 'Junior', 'Junius', 'Justen', 'Justice', 'Juston', 'Justus', 'Justyn', 'Juvenal', 'Juwan', - 'Kacey', 'Kade', 'Kaden', 'Kadin', 'Kale', 'Kaleb', 'Kaleigh', 'Kaley', 'Kameron', 'Kamren', 'Kamron', 'Kamryn', 'Kane', 'Kareem', 'Karl', 'Karley', 'Karson', 'Kay', 'Kayden', 'Kayleigh', 'Kayley', 'Keagan', 'Keanu', 'Keaton', 'Keegan', 'Keeley', 'Keenan', 'Keith', 'Kellen', 'Kelley', 'Kelton', 'Kelvin', 'Ken', 'Kendall', 'Kendrick', 'Kennedi', 'Kennedy', 'Kenneth', 'Kennith', 'Kenny', 'Kenton', 'Kenyon', 'Keon', 'Keshaun', 'Keshawn', 'Keven', 'Kevin', 'Kevon', 'Keyon', 'Keyshawn', 'Khalid', 'Khalil', 'Kian', 'Kiel', 'Kieran', 'Kiley', 'Kim', 'King', 'Kip', 'Kirk', 'Kobe', 'Koby', 'Kody', 'Kolby', 'Kole', 'Korbin', 'Korey', 'Kory', 'Kraig', 'Kris', 'Kristian', 'Kristofer', 'Kristoffer', 'Kristopher', 'Kurt', 'Kurtis', 'Kyle', 'Kyleigh', 'Kyler', - 'Ladarius', 'Lafayette', 'Lamar', 'Lambert', 'Lamont', 'Lance', 'Landen', 'Lane', 'Laron', 'Larry', 'Larue', 'Laurel', 'Lavern', 'Laverna', 'Laverne', 'Lavon', 'Lawrence', 'Lawson', 'Layne', 'Lazaro', 'Lee', 'Leif', 'Leland', 'Lemuel', 'Lennie', 'Lenny', 'Leo', 'Leon', 'Leonard', 'Leonardo', 'Leone', 'Leonel', 'Leopold', 'Leopoldo', 'Lesley', 'Lester', 'Levi', 'Lew', 'Lewis', 'Lexus', 'Liam', 'Lincoln', 'Lindsey', 'Linwood', 'Lionel', 'Lisandro', 'Llewellyn', 'Lloyd', 'Logan', 'Lon', 'London', 'Lonnie', 'Lonny', 'Lonzo', 'Lorenz', 'Lorenza', 'Lorenzo', 'Louie', 'Louisa', 'Lourdes', 'Louvenia', 'Lowell', 'Loy', 'Loyal', 'Lucas', 'Luciano', 'Lucio', 'Lucious', 'Lucius', 'Ludwig', 'Luigi', 'Luis', 'Lukas', 'Lula', 'Luther', 'Lyric', - 'Mac', 'Macey', 'Mack', 'Mackenzie', 'Madisen', 'Madison', 'Madyson', 'Magnus', 'Major', 'Makenna', 'Malachi', 'Malcolm', 'Mallory', 'Manley', 'Manuel', 'Manuela', 'Marc', 'Marcel', 'Marcelino', 'Marcellus', 'Marcelo', 'Marco', 'Marcos', 'Marcus', 'Mariano', 'Mario', 'Mark', 'Markus', 'Marley', 'Marlin', 'Marlon', 'Marques', 'Marquis', 'Marshall', 'Martin', 'Marty', 'Marvin', 'Mason', 'Mateo', 'Mathew', 'Mathias', 'Matt', 'Matteo', 'Maurice', 'Mauricio', 'Maverick', 'Mavis', 'Max', 'Maxime', 'Maximilian', 'Maximillian', 'Maximo', 'Maximus', 'Maxine', 'Maxwell', 'Maynard', 'Mckenna', 'Mckenzie', 'Mekhi', 'Melany', 'Melvin', 'Melvina', 'Merl', 'Merle', 'Merlin', 'Merritt', 'Mervin', 'Micah', 'Michael', 'Michale', 'Micheal', 'Michel', 'Miguel', 'Mike', 'Mikel', 'Milan', 'Miles', 'Milford', 'Miller', 'Milo', 'Milton', 'Misael', 'Mitchel', 'Mitchell', 'Modesto', 'Mohamed', 'Mohammad', 'Mohammed', 'Moises', 'Monroe', 'Monserrat', 'Monserrate', 'Montana', 'Monte', 'Monty', 'Morgan', 'Moriah', 'Morris', 'Mortimer', 'Morton', 'Mose', 'Moses', 'Moshe', 'Muhammad', 'Murl', 'Murphy', 'Murray', 'Mustafa', 'Myles', 'Myrl', 'Myron', - 'Napoleon', 'Narciso', 'Nash', 'Nasir', 'Nat', 'Nathan', 'Nathanael', 'Nathanial', 'Nathaniel', 'Nathen', 'Neal', 'Ned', 'Neil', 'Nels', 'Nelson', 'Nestor', 'Newell', 'Newton', 'Nicholas', 'Nicholaus', 'Nick', 'Nicklaus', 'Nickolas', 'Nico', 'Nicola', 'Nicolas', 'Nigel', 'Nikko', 'Niko', 'Nikolas', 'Nils', 'Noah', 'Noble', 'Noe', 'Noel', 'Nolan', 'Norbert', 'Norberto', 'Norris', 'Norval', 'Norwood', - 'Obie', 'Oda', 'Odell', 'Okey', 'Ola', 'Olaf', 'Ole', 'Olen', 'Olin', 'Oliver', 'Omari', 'Omer', 'Oral', 'Oran', 'Oren', 'Orin', 'Orion', 'Orland', 'Orlando', 'Orlo', 'Orrin', 'Orval', 'Orville', 'Osbaldo', 'Osborne', 'Oscar', 'Osvaldo', 'Oswald', 'Oswaldo', 'Otho', 'Otis', 'Ottis', 'Otto', 'Owen', - 'Pablo', 'Paolo', 'Paris', 'Parker', 'Patrick', 'Paul', 'Paxton', 'Payton', 'Pedro', 'Percival', 'Percy', 'Perry', 'Pete', 'Peter', 'Peyton', 'Philip', 'Pierce', 'Pierre', 'Pietro', 'Porter', 'Presley', 'Preston', 'Price', 'Prince', - 'Quentin', 'Quincy', 'Quinn', 'Quinten', 'Quinton', - 'Rafael', 'Raheem', 'Rahul', 'Raleigh', 'Ralph', 'Ramiro', 'Ramon', 'Randal', 'Randall', 'Randi', 'Randy', 'Ransom', 'Raoul', 'Raphael', 'Rashad', 'Rashawn', 'Rasheed', 'Raul', 'Raven', 'Ray', 'Raymond', 'Raymundo', 'Reagan', 'Reece', 'Reed', 'Reese', 'Regan', 'Reggie', 'Reginald', 'Reid', 'Reilly', 'Reinhold', 'Remington', 'Rene', 'Reuben', 'Rex', 'Rey', 'Reyes', 'Reymundo', 'Reynold', 'Rhett', 'Rhiannon', 'Ricardo', 'Richard', 'Richie', 'Richmond', 'Rick', 'Rickey', 'Rickie', 'Ricky', 'Rico', 'Rigoberto', 'Riley', 'Robb', 'Robbie', 'Robert', 'Roberto', 'Robin', 'Rocio', 'Rocky', 'Rod', 'Roderick', 'Rodger', 'Rodolfo', 'Rodrick', 'Rodrigo', 'Roel', 'Rogelio', 'Roger', 'Rogers', 'Rolando', 'Rollin', 'Roman', 'Ron', 'Ronaldo', 'Ronny', 'Roosevelt', 'Rory', 'Rosario', 'Roscoe', 'Rosendo', 'Ross', 'Rowan', 'Rowland', 'Roy', 'Royal', 'Royce', 'Ruben', 'Rudolph', 'Rudy', 'Rupert', 'Russ', 'Russel', 'Russell', 'Rusty', 'Ryan', 'Ryann', 'Ryder', 'Rylan', 'Ryleigh', 'Ryley', - 'Sage', 'Saige', 'Salvador', 'Salvatore', 'Sam', 'Samir', 'Sammie', 'Sammy', 'Samson', 'Sanford', 'Santa', 'Santiago', 'Santino', 'Santos', 'Saul', 'Savion', 'Schuyler', 'Scot', 'Scottie', 'Scotty', 'Seamus', 'Sean', 'Sebastian', 'Sedrick', 'Selmer', 'Seth', 'Shad', 'Shane', 'Shaun', 'Shawn', 'Shayne', 'Sheldon', 'Sheridan', 'Sherman', 'Sherwood', 'Sid', 'Sidney', 'Sigmund', 'Sigrid', 'Sigurd', 'Silas', 'Sim', 'Simeon', 'Skye', 'Skylar', 'Sofia', 'Soledad', 'Solon', 'Sonny', 'Spencer', 'Stan', 'Stanford', 'Stanley', 'Stanton', 'Stefan', 'Stephan', 'Stephen', 'Stephon', 'Sterling', 'Steve', 'Stevie', 'Stewart', 'Stone', 'Stuart', 'Sven', 'Sydney', 'Sylvan', 'Sylvester', - 'Tad', 'Talon', 'Tanner', 'Tate', 'Tatum', 'Taurean', 'Tavares', 'Taylor', 'Ted', 'Terence', 'Terrance', 'Terrell', 'Terrence', 'Terrill', 'Terry', 'Tevin', 'Thad', 'Thaddeus', 'Theo', 'Theodore', 'Theron', 'Thomas', 'Thurman', 'Tillman', 'Timmothy', 'Timmy', 'Timothy', 'Tito', 'Titus', 'Tobin', 'Toby', 'Tod', 'Tom', 'Tomas', 'Tommie', 'Toney', 'Toni', 'Tony', 'Torey', 'Torrance', 'Torrey', 'Toy', 'Trace', 'Tracey', 'Travis', 'Travon', 'Tre', 'Tremaine', 'Tremayne', 'Trent', 'Trenton', 'Trever', 'Trevion', 'Trevor', 'Trey', 'Tristian', 'Tristin', 'Triston', 'Troy', 'Trystan', 'Turner', 'Tyler', 'Tyree', 'Tyreek', 'Tyrel', 'Tyrell', 'Tyrese', 'Tyrique', 'Tyshawn', 'Tyson', - 'Ubaldo', 'Ulices', 'Ulises', 'Unique', 'Urban', 'Uriah', 'Uriel', - 'Valentin', 'Van', 'Vance', 'Vaughn', 'Vern', 'Verner', 'Vernon', 'Vicente', 'Victor', 'Vidal', 'Vince', 'Vincent', 'Vincenzo', 'Vinnie', 'Virgil', 'Vito', 'Vladimir', - 'Wade', 'Waino', 'Waldo', 'Walker', 'Wallace', 'Walter', 'Walton', 'Ward', 'Warren', 'Watson', 'Waylon', 'Wayne', 'Webster', 'Weldon', 'Wellington', 'Wendell', 'Werner', 'Westley', 'Weston', 'Wilber', 'Wilbert', 'Wilburn', 'Wiley', 'Wilford', 'Wilfred', 'Wilfredo', 'Wilfrid', 'Wilhelm', 'Will', 'Willard', 'William', 'Willis', 'Willy', 'Wilmer', 'Wilson', 'Wilton', 'Winfield', 'Winston', 'Woodrow', 'Wyatt', 'Wyman', - 'Xavier', 'Xzavier', 'Xander', - 'Zachariah', 'Zachary', 'Zachery', 'Zack', 'Zackary', 'Zackery', 'Zakary', 'Zander', 'Zane', 'Zechariah', 'Zion', - ]; + protected static $firstNameMale = [ + 'Aaron', + 'Abdiel', + 'Abdul', + 'Abdullah', + 'Abe', + 'Abel', + 'Abelardo', + 'Abner', + 'Abraham', + 'Adalberto', + 'Adam', + 'Adan', + 'Adelbert', + 'Adolfo', + 'Adolphus', + 'Adonis', + 'Adrain', + 'Adrian', + 'Adriel', + 'Adrien', + 'Afton', + 'Agustin', + 'Ahmad', + 'Ahmed', + 'Aidan', + 'Aiden', + 'Akeem', + 'Al', + 'Alan', + 'Albert', + 'Alberto', + 'Albin', + 'Alden', + 'Alec', + 'Alejandrin', + 'Alek', + 'Alessandro', + 'Alex', + 'Alexander', + 'Alexandre', + 'Alexandro', + 'Alexie', + 'Alexis', + 'Alexys', + 'Alexzander', + 'Alf', + 'Alfonso', + 'Alfonzo', + 'Alford', + 'Alfred', + 'Alfredo', + 'Ali', + 'Allan', + 'Allen', + 'Alphonso', + 'Alvah', + 'Alvis', + 'Amani', + 'Amari', + 'Ambrose', + 'Americo', + 'Amir', + 'Amos', + 'Amparo', + 'Anastacio', + 'Anderson', + 'Andre', + 'Andres', + 'Andrew', + 'Andy', + 'Angel', + 'Angelo', + 'Angus', + 'Anibal', + 'Ansel', + 'Ansley', + 'Anthony', + 'Antone', + 'Antonio', + 'Antwan', + 'Antwon', + 'Arch', + 'Archibald', + 'Arden', + 'Arely', + 'Ari', + 'Aric', + 'Ariel', + 'Arjun', + 'Arlo', + 'Armand', + 'Armando', + 'Armani', + 'Arnaldo', + 'Arne', + 'Arno', + 'Arnold', + 'Arnoldo', + 'Arnulfo', + 'Aron', + 'Art', + 'Arthur', + 'Arturo', + 'Arvel', + 'Arvid', + 'Ashton', + 'August', + 'Augustus', + 'Aurelio', + 'Austen', + 'Austin', + 'Austyn', + 'Avery', + 'Axel', + 'Ayden', + 'Bailey', + 'Barney', + 'Baron', + 'Barrett', + 'Barry', + 'Bart', + 'Bartholome', + 'Barton', + 'Baylee', + 'Beau', + 'Bell', + 'Ben', + 'Benedict', + 'Benjamin', + 'Bennett', + 'Bennie', + 'Benny', + 'Benton', + 'Bernard', + 'Bernardo', + 'Bernhard', + 'Bernie', + 'Berry', + 'Berta', + 'Bertha', + 'Bertram', + 'Bertrand', + 'Bill', + 'Billy', + 'Blair', + 'Blaise', + 'Blake', + 'Blaze', + 'Bo', + 'Bobbie', + 'Bobby', + 'Boris', + 'Boyd', + 'Brad', + 'Braden', + 'Bradford', + 'Bradley', + 'Bradly', + 'Brady', + 'Braeden', + 'Brain', + 'Brando', + 'Brandon', + 'Brandt', + 'Brannon', + 'Branson', + 'Brant', + 'Braulio', + 'Braxton', + 'Brayan', + 'Brendan', + 'Brenden', + 'Brendon', + 'Brennan', + 'Brennon', + 'Brent', + 'Bret', + 'Brett', + 'Brian', + 'Brice', + 'Brock', + 'Broderick', + 'Brody', + 'Brook', + 'Brooks', + 'Brown', + 'Bruce', + 'Bryce', + 'Brycen', + 'Bryon', + 'Buck', + 'Bud', + 'Buddy', + 'Buford', + 'Burley', + 'Buster', + 'Cade', + 'Caden', + 'Caesar', + 'Cale', + 'Caleb', + 'Camden', + 'Cameron', + 'Camren', + 'Camron', + 'Camryn', + 'Candelario', + 'Candido', + 'Carey', + 'Carleton', + 'Carlo', + 'Carlos', + 'Carmel', + 'Carmelo', + 'Carmine', + 'Carol', + 'Carroll', + 'Carson', + 'Carter', + 'Cary', + 'Casey', + 'Casimer', + 'Casimir', + 'Casper', + 'Ceasar', + 'Cecil', + 'Cedrick', + 'Celestino', + 'Cesar', + 'Chad', + 'Chadd', + 'Chadrick', + 'Chaim', + 'Chance', + 'Chandler', + 'Charles', + 'Charley', + 'Charlie', + 'Chase', + 'Chauncey', + 'Chaz', + 'Chelsey', + 'Chesley', + 'Chester', + 'Chet', + 'Chris', + 'Christ', + 'Christian', + 'Christop', + 'Christophe', + 'Christopher', + 'Cicero', + 'Cielo', + 'Clair', + 'Clark', + 'Claud', + 'Claude', + 'Clay', + 'Clemens', + 'Clement', + 'Cleo', + 'Cletus', + 'Cleve', + 'Cleveland', + 'Clifford', + 'Clifton', + 'Clint', + 'Clinton', + 'Clovis', + 'Cloyd', + 'Clyde', + 'Coby', + 'Cody', + 'Colby', + 'Cole', + 'Coleman', + 'Colin', + 'Collin', + 'Colt', + 'Colten', + 'Colton', + 'Columbus', + 'Conner', + 'Connor', + 'Conor', + 'Conrad', + 'Constantin', + 'Consuelo', + 'Cooper', + 'Corbin', + 'Cordelia', + 'Cordell', + 'Cornelius', + 'Cornell', + 'Cortez', + 'Cory', + 'Coty', + 'Coy', + 'Craig', + 'Crawford', + 'Cristian', + 'Cristina', + 'Cristobal', + 'Cristopher', + 'Cruz', + 'Cullen', + 'Curt', + 'Curtis', + 'Cyril', + 'Cyrus', + 'Dagmar', + 'Dale', + 'Dallas', + 'Dallin', + 'Dalton', + 'Dameon', + 'Damian', + 'Damien', + 'Damion', + 'Damon', + 'Dan', + 'Dane', + 'D\'angelo', + 'Dangelo', + 'Danial', + 'Danny', + 'Dante', + 'Daren', + 'Darian', + 'Darien', + 'Dario', + 'Darion', + 'Darius', + 'Daron', + 'Darrel', + 'Darrell', + 'Darren', + 'Darrick', + 'Darrin', + 'Darrion', + 'Darron', + 'Darryl', + 'Darwin', + 'Daryl', + 'Dashawn', + 'Dave', + 'David', + 'Davin', + 'Davion', + 'Davon', + 'Davonte', + 'Dawson', + 'Dax', + 'Dayne', + 'Dayton', + 'Dean', + 'Deangelo', + 'Declan', + 'Dedric', + 'Dedrick', + 'Dee', + 'Deion', + 'Dejon', + 'Dejuan', + 'Delaney', + 'Delbert', + 'Dell', + 'Delmer', + 'Demarco', + 'Demarcus', + 'Demario', + 'Demetrius', + 'Demond', + 'Denis', + 'Dennis', + 'Deon', + 'Deondre', + 'Deontae', + 'Deonte', + 'Dereck', + 'Derek', + 'Derick', + 'Deron', + 'Derrick', + 'Deshaun', + 'Deshawn', + 'Desmond', + 'Destin', + 'Devan', + 'Devante', + 'Deven', + 'Devin', + 'Devon', + 'Devonte', + 'Devyn', + 'Dewayne', + 'Dewitt', + 'Dexter', + 'Diamond', + 'Diego', + 'Dillan', + 'Dillon', + 'Dimitri', + 'Dino', + 'Dion', + 'Dock', + 'Domenic', + 'Domenick', + 'Domenico', + 'Domingo', + 'Dominic', + 'Don', + 'Donald', + 'Donato', + 'Donavon', + 'Donnell', + 'Donnie', + 'Donny', + 'Dorcas', + 'Dorian', + 'Doris', + 'Dorthy', + 'Doug', + 'Douglas', + 'Doyle', + 'Drake', + 'Dudley', + 'Duncan', + 'Durward', + 'Dustin', + 'Dusty', + 'Dwight', + 'Dylan', + 'Earl', + 'Earnest', + 'Easter', + 'Easton', + 'Ed', + 'Edd', + 'Eddie', + 'Edgar', + 'Edgardo', + 'Edison', + 'Edmond', + 'Edmund', + 'Eduardo', + 'Edward', + 'Edwardo', + 'Edwin', + 'Efrain', + 'Efren', + 'Einar', + 'Eino', + 'Eladio', + 'Elbert', + 'Eldon', + 'Eldred', + 'Eleazar', + 'Eli', + 'Elian', + 'Elias', + 'Eliezer', + 'Elijah', + 'Eliseo', + 'Elliot', + 'Elliott', + 'Ellis', + 'Ellsworth', + 'Elmer', + 'Elmo', + 'Elmore', + 'Eloy', + 'Elroy', + 'Elton', + 'Elvis', + 'Elwin', + 'Elwyn', + 'Emanuel', + 'Emerald', + 'Emerson', + 'Emery', + 'Emil', + 'Emile', + 'Emiliano', + 'Emilio', + 'Emmanuel', + 'Emmet', + 'Emmett', + 'Emmitt', + 'Emory', + 'Enid', + 'Enoch', + 'Enos', + 'Enrico', + 'Enrique', + 'Ephraim', + 'Eriberto', + 'Eric', + 'Erich', + 'Erick', + 'Erik', + 'Erin', + 'Erling', + 'Ernest', + 'Ernesto', + 'Ernie', + 'Ervin', + 'Erwin', + 'Esteban', + 'Estevan', + 'Ethan', + 'Ethel', + 'Eugene', + 'Eusebio', + 'Evan', + 'Evans', + 'Everardo', + 'Everett', + 'Evert', + 'Ewald', + 'Ewell', + 'Ezekiel', + 'Ezequiel', + 'Ezra', + 'Fabian', + 'Faustino', + 'Fausto', + 'Favian', + 'Federico', + 'Felipe', + 'Felix', + 'Felton', + 'Fermin', + 'Fern', + 'Fernando', + 'Ferne', + 'Fidel', + 'Filiberto', + 'Finn', + 'Flavio', + 'Fletcher', + 'Florencio', + 'Florian', + 'Floy', + 'Floyd', + 'Ford', + 'Forest', + 'Forrest', + 'Foster', + 'Francesco', + 'Francis', + 'Francisco', + 'Franco', + 'Frank', + 'Frankie', + 'Franz', + 'Fred', + 'Freddie', + 'Freddy', + 'Frederic', + 'Frederick', + 'Frederik', + 'Fredrick', + 'Fredy', + 'Freeman', + 'Friedrich', + 'Fritz', + 'Furman', + 'Gabe', + 'Gabriel', + 'Gaetano', + 'Gage', + 'Gardner', + 'Garett', + 'Garfield', + 'Garland', + 'Garnet', + 'Garnett', + 'Garret', + 'Garrett', + 'Garrick', + 'Garrison', + 'Garry', + 'Garth', + 'Gaston', + 'Gavin', + 'Gay', + 'Gayle', + 'Gaylord', + 'Gene', + 'General', + 'Gennaro', + 'Geo', + 'Geoffrey', + 'George', + 'Geovanni', + 'Geovanny', + 'Geovany', + 'Gerald', + 'Gerard', + 'Gerardo', + 'Gerhard', + 'German', + 'Gerson', + 'Gianni', + 'Gideon', + 'Gilbert', + 'Gilberto', + 'Giles', + 'Gillian', + 'Gino', + 'Giovani', + 'Giovanni', + 'Giovanny', + 'Giuseppe', + 'Glen', + 'Glennie', + 'Godfrey', + 'Golden', + 'Gonzalo', + 'Gordon', + 'Grady', + 'Graham', + 'Grant', + 'Granville', + 'Grayce', + 'Grayson', + 'Green', + 'Greg', + 'Gregg', + 'Gregorio', + 'Gregory', + 'Greyson', + 'Griffin', + 'Grover', + 'Guido', + 'Guillermo', + 'Guiseppe', + 'Gunnar', + 'Gunner', + 'Gus', + 'Gussie', + 'Gust', + 'Gustave', + 'Guy', + 'Hadley', + 'Hailey', + 'Hal', + 'Haleigh', + 'Haley', + 'Halle', + 'Hank', + 'Hans', + 'Hardy', + 'Harley', + 'Harmon', + 'Harold', + 'Harrison', + 'Harry', + 'Harvey', + 'Haskell', + 'Hassan', + 'Hayden', + 'Hayley', + 'Hazel', + 'Hazle', + 'Heber', + 'Hector', + 'Helmer', + 'Henderson', + 'Henri', + 'Henry', + 'Herbert', + 'Herman', + 'Hermann', + 'Herminio', + 'Hershel', + 'Hester', + 'Hilario', + 'Hilbert', + 'Hillard', + 'Hilton', + 'Hipolito', + 'Hiram', + 'Hobart', + 'Holden', + 'Hollis', + 'Horace', + 'Horacio', + 'Houston', + 'Howard', + 'Howell', + 'Hoyt', + 'Hubert', + 'Hudson', + 'Hugh', + 'Humberto', + 'Hunter', + 'Hyman', + 'Ian', + 'Ibrahim', + 'Ignacio', + 'Ignatius', + 'Ike', + 'Imani', + 'Immanuel', + 'Irving', + 'Irwin', + 'Isaac', + 'Isac', + 'Isadore', + 'Isai', + 'Isaiah', + 'Isaias', + 'Isidro', + 'Ismael', + 'Isom', + 'Israel', + 'Issac', + 'Izaiah', + 'Jabari', + 'Jace', + 'Jacey', + 'Jacinto', + 'Jack', + 'Jackson', + 'Jacques', + 'Jaden', + 'Jadon', + 'Jaeden', + 'Jaiden', + 'Jaime', + 'Jairo', + 'Jake', + 'Jakob', + 'Jaleel', + 'Jalen', + 'Jalon', + 'Jamaal', + 'Jamal', + 'Jamar', + 'Jamarcus', + 'Jamel', + 'Jameson', + 'Jamey', + 'Jamie', + 'Jamil', + 'Jamir', + 'Jamison', + 'Jan', + 'Janick', + 'Jaquan', + 'Jared', + 'Jaren', + 'Jarod', + 'Jaron', + 'Jarred', + 'Jarrell', + 'Jarret', + 'Jarrett', + 'Jarrod', + 'Jarvis', + 'Jasen', + 'Jasmin', + 'Jason', + 'Jasper', + 'Javier', + 'Javon', + 'Javonte', + 'Jay', + 'Jayce', + 'Jaycee', + 'Jayde', + 'Jayden', + 'Jaydon', + 'Jaylan', + 'Jaylen', + 'Jaylin', + 'Jaylon', + 'Jayme', + 'Jayson', + 'Jean', + 'Jed', + 'Jedediah', + 'Jedidiah', + 'Jeff', + 'Jefferey', + 'Jeffery', + 'Jeffrey', + 'Jeffry', + 'Jennings', + 'Jensen', + 'Jerad', + 'Jerald', + 'Jeramie', + 'Jeramy', + 'Jerel', + 'Jeremie', + 'Jeremy', + 'Jermain', + 'Jermey', + 'Jerod', + 'Jerome', + 'Jeromy', + 'Jerrell', + 'Jerrod', + 'Jerrold', + 'Jerry', + 'Jess', + 'Jesse', + 'Jessie', + 'Jessy', + 'Jesus', + 'Jett', + 'Jettie', + 'Jevon', + 'Jillian', + 'Jimmie', + 'Jimmy', + 'Jo', + 'Joan', + 'Joany', + 'Joaquin', + 'Jocelyn', + 'Joe', + 'Joel', + 'Joesph', + 'Joey', + 'Johan', + 'Johann', + 'Johathan', + 'John', + 'Johnathan', + 'Johnathon', + 'Johnnie', + 'Johnny', + 'Johnpaul', + 'Johnson', + 'Jon', + 'Jonas', + 'Jonatan', + 'Jonathan', + 'Jonathon', + 'Jordan', + 'Jordi', + 'Jordon', + 'Jordy', + 'Jordyn', + 'Jorge', + 'Jose', + 'Joseph', + 'Josh', + 'Joshua', + 'Joshuah', + 'Josiah', + 'Josue', + 'Jovan', + 'Jovani', + 'Jovanny', + 'Jovany', + 'Judah', + 'Judd', + 'Judge', + 'Judson', + 'Jules', + 'Julian', + 'Julien', + 'Julio', + 'Julius', + 'Junior', + 'Junius', + 'Justen', + 'Justice', + 'Juston', + 'Justus', + 'Justyn', + 'Juvenal', + 'Juwan', + 'Kacey', + 'Kade', + 'Kaden', + 'Kadin', + 'Kale', + 'Kaleb', + 'Kaleigh', + 'Kaley', + 'Kameron', + 'Kamren', + 'Kamron', + 'Kamryn', + 'Kane', + 'Kareem', + 'Karl', + 'Karley', + 'Karson', + 'Kay', + 'Kayden', + 'Kayleigh', + 'Kayley', + 'Keagan', + 'Keanu', + 'Keaton', + 'Keegan', + 'Keeley', + 'Keenan', + 'Keith', + 'Kellen', + 'Kelley', + 'Kelton', + 'Kelvin', + 'Ken', + 'Kendall', + 'Kendrick', + 'Kennedi', + 'Kennedy', + 'Kenneth', + 'Kennith', + 'Kenny', + 'Kenton', + 'Kenyon', + 'Keon', + 'Keshaun', + 'Keshawn', + 'Keven', + 'Kevin', + 'Kevon', + 'Keyon', + 'Keyshawn', + 'Khalid', + 'Khalil', + 'Kian', + 'Kiel', + 'Kieran', + 'Kiley', + 'Kim', + 'King', + 'Kip', + 'Kirk', + 'Kobe', + 'Koby', + 'Kody', + 'Kolby', + 'Kole', + 'Korbin', + 'Korey', + 'Kory', + 'Kraig', + 'Kris', + 'Kristian', + 'Kristofer', + 'Kristoffer', + 'Kristopher', + 'Kurt', + 'Kurtis', + 'Kyle', + 'Kyleigh', + 'Kyler', + 'Ladarius', + 'Lafayette', + 'Lamar', + 'Lambert', + 'Lamont', + 'Lance', + 'Landen', + 'Lane', + 'Laron', + 'Larry', + 'Larue', + 'Laurel', + 'Lavern', + 'Laverna', + 'Laverne', + 'Lavon', + 'Lawrence', + 'Lawson', + 'Layne', + 'Lazaro', + 'Lee', + 'Leif', + 'Leland', + 'Lemuel', + 'Lennie', + 'Lenny', + 'Leo', + 'Leon', + 'Leonard', + 'Leonardo', + 'Leone', + 'Leonel', + 'Leopold', + 'Leopoldo', + 'Lesley', + 'Lester', + 'Levi', + 'Lew', + 'Lewis', + 'Lexus', + 'Liam', + 'Lincoln', + 'Lindsey', + 'Linwood', + 'Lionel', + 'Lisandro', + 'Llewellyn', + 'Lloyd', + 'Logan', + 'Lon', + 'London', + 'Lonnie', + 'Lonny', + 'Lonzo', + 'Lorenz', + 'Lorenza', + 'Lorenzo', + 'Louie', + 'Louisa', + 'Lourdes', + 'Louvenia', + 'Lowell', + 'Loy', + 'Loyal', + 'Lucas', + 'Luciano', + 'Lucio', + 'Lucious', + 'Lucius', + 'Ludwig', + 'Luigi', + 'Luis', + 'Lukas', + 'Lula', + 'Luther', + 'Lyric', + 'Mac', + 'Macey', + 'Mack', + 'Mackenzie', + 'Madisen', + 'Madison', + 'Madyson', + 'Magnus', + 'Major', + 'Makenna', + 'Malachi', + 'Malcolm', + 'Mallory', + 'Manley', + 'Manuel', + 'Manuela', + 'Marc', + 'Marcel', + 'Marcelino', + 'Marcellus', + 'Marcelo', + 'Marco', + 'Marcos', + 'Marcus', + 'Mariano', + 'Mario', + 'Mark', + 'Markus', + 'Marley', + 'Marlin', + 'Marlon', + 'Marques', + 'Marquis', + 'Marshall', + 'Martin', + 'Marty', + 'Marvin', + 'Mason', + 'Mateo', + 'Mathew', + 'Mathias', + 'Matt', + 'Matteo', + 'Maurice', + 'Mauricio', + 'Maverick', + 'Mavis', + 'Max', + 'Maxime', + 'Maximilian', + 'Maximillian', + 'Maximo', + 'Maximus', + 'Maxine', + 'Maxwell', + 'Maynard', + 'Mckenna', + 'Mckenzie', + 'Mekhi', + 'Melany', + 'Melvin', + 'Melvina', + 'Merl', + 'Merle', + 'Merlin', + 'Merritt', + 'Mervin', + 'Micah', + 'Michael', + 'Michale', + 'Micheal', + 'Michel', + 'Miguel', + 'Mike', + 'Mikel', + 'Milan', + 'Miles', + 'Milford', + 'Miller', + 'Milo', + 'Milton', + 'Misael', + 'Mitchel', + 'Mitchell', + 'Modesto', + 'Mohamed', + 'Mohammad', + 'Mohammed', + 'Moises', + 'Monroe', + 'Monserrat', + 'Monserrate', + 'Montana', + 'Monte', + 'Monty', + 'Morgan', + 'Moriah', + 'Morris', + 'Mortimer', + 'Morton', + 'Mose', + 'Moses', + 'Moshe', + 'Muhammad', + 'Murl', + 'Murphy', + 'Murray', + 'Mustafa', + 'Myles', + 'Myrl', + 'Myron', + 'Napoleon', + 'Narciso', + 'Nash', + 'Nasir', + 'Nat', + 'Nathan', + 'Nathanael', + 'Nathanial', + 'Nathaniel', + 'Nathen', + 'Neal', + 'Ned', + 'Neil', + 'Nels', + 'Nelson', + 'Nestor', + 'Newell', + 'Newton', + 'Nicholas', + 'Nicholaus', + 'Nick', + 'Nicklaus', + 'Nickolas', + 'Nico', + 'Nicola', + 'Nicolas', + 'Nigel', + 'Nikko', + 'Niko', + 'Nikolas', + 'Nils', + 'Noah', + 'Noble', + 'Noe', + 'Noel', + 'Nolan', + 'Norbert', + 'Norberto', + 'Norris', + 'Norval', + 'Norwood', + 'Obie', + 'Oda', + 'Odell', + 'Okey', + 'Ola', + 'Olaf', + 'Ole', + 'Olen', + 'Olin', + 'Oliver', + 'Omari', + 'Omer', + 'Oral', + 'Oran', + 'Oren', + 'Orin', + 'Orion', + 'Orland', + 'Orlando', + 'Orlo', + 'Orrin', + 'Orval', + 'Orville', + 'Osbaldo', + 'Osborne', + 'Oscar', + 'Osvaldo', + 'Oswald', + 'Oswaldo', + 'Otho', + 'Otis', + 'Ottis', + 'Otto', + 'Owen', + 'Pablo', + 'Paolo', + 'Paris', + 'Parker', + 'Patrick', + 'Paul', + 'Paxton', + 'Payton', + 'Pedro', + 'Percival', + 'Percy', + 'Perry', + 'Pete', + 'Peter', + 'Peyton', + 'Philip', + 'Pierce', + 'Pierre', + 'Pietro', + 'Porter', + 'Presley', + 'Preston', + 'Price', + 'Prince', + 'Quentin', + 'Quincy', + 'Quinn', + 'Quinten', + 'Quinton', + 'Rafael', + 'Raheem', + 'Rahul', + 'Raleigh', + 'Ralph', + 'Ramiro', + 'Ramon', + 'Randal', + 'Randall', + 'Randi', + 'Randy', + 'Ransom', + 'Raoul', + 'Raphael', + 'Rashad', + 'Rashawn', + 'Rasheed', + 'Raul', + 'Raven', + 'Ray', + 'Raymond', + 'Raymundo', + 'Reagan', + 'Reece', + 'Reed', + 'Reese', + 'Regan', + 'Reggie', + 'Reginald', + 'Reid', + 'Reilly', + 'Reinhold', + 'Remington', + 'Rene', + 'Reuben', + 'Rex', + 'Rey', + 'Reyes', + 'Reymundo', + 'Reynold', + 'Rhett', + 'Rhiannon', + 'Ricardo', + 'Richard', + 'Richie', + 'Richmond', + 'Rick', + 'Rickey', + 'Rickie', + 'Ricky', + 'Rico', + 'Rigoberto', + 'Riley', + 'Robb', + 'Robbie', + 'Robert', + 'Roberto', + 'Robin', + 'Rocio', + 'Rocky', + 'Rod', + 'Roderick', + 'Rodger', + 'Rodolfo', + 'Rodrick', + 'Rodrigo', + 'Roel', + 'Rogelio', + 'Roger', + 'Rogers', + 'Rolando', + 'Rollin', + 'Roman', + 'Ron', + 'Ronaldo', + 'Ronny', + 'Roosevelt', + 'Rory', + 'Rosario', + 'Roscoe', + 'Rosendo', + 'Ross', + 'Rowan', + 'Rowland', + 'Roy', + 'Royal', + 'Royce', + 'Ruben', + 'Rudolph', + 'Rudy', + 'Rupert', + 'Russ', + 'Russel', + 'Russell', + 'Rusty', + 'Ryan', + 'Ryann', + 'Ryder', + 'Rylan', + 'Ryleigh', + 'Ryley', + 'Sage', + 'Saige', + 'Salvador', + 'Salvatore', + 'Sam', + 'Samir', + 'Sammie', + 'Sammy', + 'Samson', + 'Sanford', + 'Santa', + 'Santiago', + 'Santino', + 'Santos', + 'Saul', + 'Savion', + 'Schuyler', + 'Scot', + 'Scottie', + 'Scotty', + 'Seamus', + 'Sean', + 'Sebastian', + 'Sedrick', + 'Selmer', + 'Seth', + 'Shad', + 'Shane', + 'Shaun', + 'Shawn', + 'Shayne', + 'Sheldon', + 'Sheridan', + 'Sherman', + 'Sherwood', + 'Sid', + 'Sidney', + 'Sigmund', + 'Sigrid', + 'Sigurd', + 'Silas', + 'Sim', + 'Simeon', + 'Skye', + 'Skylar', + 'Sofia', + 'Soledad', + 'Solon', + 'Sonny', + 'Spencer', + 'Stan', + 'Stanford', + 'Stanley', + 'Stanton', + 'Stefan', + 'Stephan', + 'Stephen', + 'Stephon', + 'Sterling', + 'Steve', + 'Stevie', + 'Stewart', + 'Stone', + 'Stuart', + 'Sven', + 'Sydney', + 'Sylvan', + 'Sylvester', + 'Tad', + 'Talon', + 'Tanner', + 'Tate', + 'Tatum', + 'Taurean', + 'Tavares', + 'Taylor', + 'Ted', + 'Terence', + 'Terrance', + 'Terrell', + 'Terrence', + 'Terrill', + 'Terry', + 'Tevin', + 'Thad', + 'Thaddeus', + 'Theo', + 'Theodore', + 'Theron', + 'Thomas', + 'Thurman', + 'Tillman', + 'Timmothy', + 'Timmy', + 'Timothy', + 'Tito', + 'Titus', + 'Tobin', + 'Toby', + 'Tod', + 'Tom', + 'Tomas', + 'Tommie', + 'Toney', + 'Toni', + 'Tony', + 'Torey', + 'Torrance', + 'Torrey', + 'Toy', + 'Trace', + 'Tracey', + 'Travis', + 'Travon', + 'Tre', + 'Tremaine', + 'Tremayne', + 'Trent', + 'Trenton', + 'Trever', + 'Trevion', + 'Trevor', + 'Trey', + 'Tristian', + 'Tristin', + 'Triston', + 'Troy', + 'Trystan', + 'Turner', + 'Tyler', + 'Tyree', + 'Tyreek', + 'Tyrel', + 'Tyrell', + 'Tyrese', + 'Tyrique', + 'Tyshawn', + 'Tyson', + 'Ubaldo', + 'Ulices', + 'Ulises', + 'Unique', + 'Urban', + 'Uriah', + 'Uriel', + 'Valentin', + 'Van', + 'Vance', + 'Vaughn', + 'Vern', + 'Verner', + 'Vernon', + 'Vicente', + 'Victor', + 'Vidal', + 'Vince', + 'Vincent', + 'Vincenzo', + 'Vinnie', + 'Virgil', + 'Vito', + 'Vladimir', + 'Wade', + 'Waino', + 'Waldo', + 'Walker', + 'Wallace', + 'Walter', + 'Walton', + 'Ward', + 'Warren', + 'Watson', + 'Waylon', + 'Wayne', + 'Webster', + 'Weldon', + 'Wellington', + 'Wendell', + 'Werner', + 'Westley', + 'Weston', + 'Wilber', + 'Wilbert', + 'Wilburn', + 'Wiley', + 'Wilford', + 'Wilfred', + 'Wilfredo', + 'Wilfrid', + 'Wilhelm', + 'Will', + 'Willard', + 'William', + 'Willis', + 'Willy', + 'Wilmer', + 'Wilson', + 'Wilton', + 'Winfield', + 'Winston', + 'Woodrow', + 'Wyatt', + 'Wyman', + 'Xavier', + 'Xzavier', + 'Xander', + 'Zachariah', + 'Zachary', + 'Zachery', + 'Zack', + 'Zackary', + 'Zackery', + 'Zakary', + 'Zander', + 'Zane', + 'Zechariah', + 'Zion', + ]; - protected static $firstNameFemale = [ - 'Aaliyah', 'Abagail', 'Abbey', 'Abbie', 'Abbigail', 'Abby', 'Abigail', 'Abigale', 'Abigayle', 'Ada', 'Adah', 'Adaline', 'Addie', 'Addison', 'Adela', 'Adele', 'Adelia', 'Adeline', 'Adell', 'Adella', 'Adelle', 'Aditya', 'Adriana', 'Adrianna', 'Adrienne', 'Aglae', 'Agnes', 'Agustina', 'Aida', 'Aileen', 'Aimee', 'Aisha', 'Aiyana', 'Alaina', 'Alana', 'Alanis', 'Alanna', 'Alayna', 'Alba', 'Alberta', 'Albertha', 'Albina', 'Alda', 'Aleen', 'Alejandra', 'Alena', 'Alene', 'Alessandra', 'Alessia', 'Aletha', 'Alexa', 'Alexandra', 'Alexandrea', 'Alexandria', 'Alexandrine', 'Alexane', 'Alexanne', 'Alfreda', 'Alia', 'Alice', 'Alicia', 'Alisa', 'Alisha', 'Alison', 'Alivia', 'Aliya', 'Aliyah', 'Aliza', 'Alize', 'Allene', 'Allie', 'Allison', 'Ally', 'Alta', 'Althea', 'Alva', 'Alvena', 'Alvera', 'Alverta', 'Alvina', 'Alyce', 'Alycia', 'Alysa', 'Alysha', 'Alyson', 'Alysson', 'Amalia', 'Amanda', 'Amara', 'Amaya', 'Amber', 'Amelia', 'Amelie', 'Amely', 'America', 'Amie', 'Amina', 'Amira', 'Amiya', 'Amy', 'Amya', 'Ana', 'Anabel', 'Anabelle', 'Anahi', 'Anais', 'Anastasia', 'Andreane', 'Andreanne', 'Angela', 'Angelica', 'Angelina', 'Angeline', 'Angelita', 'Angie', 'Anika', 'Anissa', 'Anita', 'Aniya', 'Aniyah', 'Anjali', 'Anna', 'Annabel', 'Annabell', 'Annabelle', 'Annalise', 'Annamae', 'Annamarie', 'Anne', 'Annetta', 'Annette', 'Annie', 'Antoinette', 'Antonetta', 'Antonette', 'Antonia', 'Antonietta', 'Antonina', 'Anya', 'April', 'Ara', 'Araceli', 'Aracely', 'Ardella', 'Ardith', 'Ariane', 'Arianna', 'Arielle', 'Arlene', 'Arlie', 'Arvilla', 'Aryanna', 'Asa', 'Asha', 'Ashlee', 'Ashleigh', 'Ashley', 'Ashly', 'Ashlynn', 'Ashtyn', 'Asia', 'Assunta', 'Astrid', 'Athena', 'Aubree', 'Aubrey', 'Audie', 'Audra', 'Audreanne', 'Audrey', 'Augusta', 'Augustine', 'Aurelia', 'Aurelie', 'Aurore', 'Autumn', 'Ava', 'Avis', 'Ayana', 'Ayla', 'Aylin', - 'Baby', 'Bailee', 'Barbara', 'Beatrice', 'Beaulah', 'Bella', 'Belle', 'Berenice', 'Bernadette', 'Bernadine', 'Berneice', 'Bernice', 'Berniece', 'Bernita', 'Bert', 'Beryl', 'Bessie', 'Beth', 'Bethany', 'Bethel', 'Betsy', 'Bette', 'Bettie', 'Betty', 'Bettye', 'Beulah', 'Beverly', 'Bianka', 'Billie', 'Birdie', 'Blanca', 'Blanche', 'Bonita', 'Bonnie', 'Brandi', 'Brandy', 'Brandyn', 'Breana', 'Breanna', 'Breanne', 'Brenda', 'Brenna', 'Bria', 'Briana', 'Brianne', 'Bridget', 'Bridgette', 'Bridie', 'Brielle', 'Brigitte', 'Brionna', 'Brisa', 'Britney', 'Brittany', 'Brooke', 'Brooklyn', 'Bryana', 'Bulah', 'Burdette', 'Burnice', - 'Caitlyn', 'Caleigh', 'Cali', 'Calista', 'Callie', 'Camila', 'Camilla', 'Camille', 'Camylle', 'Candace', 'Candice', 'Candida', 'Cara', 'Carissa', 'Carlee', 'Carley', 'Carli', 'Carlie', 'Carlotta', 'Carmela', 'Carmella', 'Carmen', 'Carolanne', 'Carole', 'Carolina', 'Caroline', 'Carolyn', 'Carolyne', 'Carrie', 'Casandra', 'Cassandra', 'Cassandre', 'Cassidy', 'Cassie', 'Catalina', 'Caterina', 'Catharine', 'Catherine', 'Cathrine', 'Cathryn', 'Cathy', 'Cayla', 'Cecelia', 'Cecile', 'Cecilia', 'Celestine', 'Celia', 'Celine', 'Chanel', 'Chanelle', 'Charity', 'Charlene', 'Charlotte', 'Chasity', 'Chaya', 'Chelsea', 'Chelsie', 'Cheyanne', 'Cheyenne', 'Chloe', 'Christa', 'Christelle', 'Christiana', 'Christina', 'Christine', 'Christy', 'Chyna', 'Ciara', 'Cierra', 'Cindy', 'Citlalli', 'Claire', 'Clara', 'Clarabelle', 'Clare', 'Clarissa', 'Claudia', 'Claudie', 'Claudine', 'Clementina', 'Clementine', 'Clemmie', 'Cleora', 'Cleta', 'Clotilde', 'Colleen', 'Concepcion', 'Connie', 'Constance', 'Cora', 'Coralie', 'Cordia', 'Cordie', 'Corene', 'Corine', 'Corrine', 'Cortney', 'Courtney', 'Creola', 'Cristal', 'Crystal', 'Crystel', 'Cydney', 'Cynthia', - 'Dahlia', 'Daija', 'Daisha', 'Daisy', 'Dakota', 'Damaris', 'Dana', 'Dandre', 'Daniela', 'Daniella', 'Danielle', 'Danika', 'Dannie', 'Danyka', 'Daphne', 'Daphnee', 'Daphney', 'Darby', 'Dariana', 'Darlene', 'Dasia', 'Dawn', 'Dayana', 'Dayna', 'Deanna', 'Deborah', 'Deja', 'Dejah', 'Delfina', 'Delia', 'Delilah', 'Della', 'Delores', 'Delpha', 'Delphia', 'Delphine', 'Delta', 'Demetris', 'Dena', 'Desiree', 'Dessie', 'Destany', 'Destinee', 'Destiney', 'Destini', 'Destiny', 'Diana', 'Dianna', 'Dina', 'Dixie', 'Dolly', 'Dolores', 'Domenica', 'Dominique', 'Donna', 'Dora', 'Dorothea', 'Dorothy', 'Dorris', 'Dortha', 'Dovie', 'Drew', 'Duane', 'Dulce', - 'Earlene', 'Earline', 'Earnestine', 'Ebba', 'Ebony', 'Eda', 'Eden', 'Edna', 'Edwina', 'Edyth', 'Edythe', 'Effie', 'Eileen', 'Elaina', 'Elda', 'Eldora', 'Eldridge', 'Eleanora', 'Eleanore', 'Electa', 'Elena', 'Elenor', 'Elenora', 'Eleonore', 'Elfrieda', 'Eliane', 'Elinor', 'Elinore', 'Elisa', 'Elisabeth', 'Elise', 'Elisha', 'Elissa', 'Eliza', 'Elizabeth', 'Ella', 'Ellen', 'Ellie', 'Elmira', 'Elna', 'Elnora', 'Elody', 'Eloisa', 'Eloise', 'Elouise', 'Elsa', 'Else', 'Elsie', 'Elta', 'Elva', 'Elvera', 'Elvie', 'Elyse', 'Elyssa', 'Elza', 'Emelia', 'Emelie', 'Emely', 'Emie', 'Emilia', 'Emilie', 'Emily', 'Emma', 'Emmalee', 'Emmanuelle', 'Emmie', 'Emmy', 'Ena', 'Enola', 'Era', 'Erica', 'Ericka', 'Erika', 'Erna', 'Ernestina', 'Ernestine', 'Eryn', 'Esmeralda', 'Esperanza', 'Esta', 'Estefania', 'Estel', 'Estell', 'Estella', 'Estelle', 'Esther', 'Estrella', 'Etha', 'Ethelyn', 'Ethyl', 'Ettie', 'Eudora', 'Eugenia', 'Eula', 'Eulah', 'Eulalia', 'Euna', 'Eunice', 'Eva', 'Evalyn', 'Evangeline', 'Eve', 'Eveline', 'Evelyn', 'Everette', 'Evie', - 'Fabiola', 'Fae', 'Fannie', 'Fanny', 'Fatima', 'Fay', 'Faye', 'Felicia', 'Felicita', 'Felicity', 'Felipa', 'Filomena', 'Fiona', 'Flavie', 'Fleta', 'Flo', 'Florence', 'Florida', 'Florine', 'Flossie', 'Frances', 'Francesca', 'Francisca', 'Freda', 'Frederique', 'Freeda', 'Freida', 'Frida', 'Frieda', - 'Gabriella', 'Gabrielle', 'Gail', 'Genesis', 'Genevieve', 'Genoveva', 'Georgette', 'Georgiana', 'Georgianna', 'Geraldine', 'Gerda', 'Germaine', 'Gerry', 'Gertrude', 'Gia', 'Gilda', 'Gina', 'Giovanna', 'Gisselle', 'Gladyce', 'Gladys', 'Glenda', 'Glenna', 'Gloria', 'Golda', 'Grace', 'Gracie', 'Graciela', 'Gregoria', 'Greta', 'Gretchen', 'Guadalupe', 'Gudrun', 'Gwen', 'Gwendolyn', - 'Hailee', 'Hailie', 'Halie', 'Hallie', 'Hanna', 'Hannah', 'Harmony', 'Hassie', 'Hattie', 'Haven', 'Haylee', 'Haylie', 'Heath', 'Heather', 'Heaven', 'Heidi', 'Helen', 'Helena', 'Helene', 'Helga', 'Hellen', 'Heloise', 'Henriette', 'Hermina', 'Herminia', 'Herta', 'Hertha', 'Hettie', 'Hilda', 'Hildegard', 'Hillary', 'Hilma', 'Hollie', 'Holly', 'Hope', 'Hortense', 'Hosea', 'Hulda', - 'Icie', 'Ida', 'Idell', 'Idella', 'Ila', 'Ilene', 'Iliana', 'Ima', 'Imelda', 'Imogene', 'Ines', 'Irma', 'Isabel', 'Isabell', 'Isabella', 'Isabelle', 'Isobel', 'Itzel', 'Iva', 'Ivah', 'Ivory', 'Ivy', 'Izabella', - 'Jacinthe', 'Jackeline', 'Jackie', 'Jacklyn', 'Jacky', 'Jaclyn', 'Jacquelyn', 'Jacynthe', 'Jada', 'Jade', 'Jadyn', 'Jaida', 'Jailyn', 'Jakayla', 'Jalyn', 'Jammie', 'Jana', 'Janae', 'Jane', 'Janelle', 'Janessa', 'Janet', 'Janice', 'Janie', 'Janis', 'Janiya', 'Jannie', 'Jany', 'Jaquelin', 'Jaqueline', 'Jaunita', 'Jayda', 'Jayne', 'Jazlyn', 'Jazmin', 'Jazmyn', 'Jazmyne', 'Jeanette', 'Jeanie', 'Jeanne', 'Jena', 'Jenifer', 'Jennie', 'Jennifer', 'Jennyfer', 'Jermaine', 'Jessica', 'Jessika', 'Jessyca', 'Jewel', 'Jewell', 'Joana', 'Joanie', 'Joanne', 'Joannie', 'Joanny', 'Jodie', 'Jody', 'Joelle', 'Johanna', 'Jolie', 'Jordane', 'Josefa', 'Josefina', 'Josephine', 'Josiane', 'Josianne', 'Josie', 'Joy', 'Joyce', 'Juana', 'Juanita', 'Jude', 'Judy', 'Julia', 'Juliana', 'Julianne', 'Julie', 'Juliet', 'June', 'Justina', 'Justine', - 'Kaci', 'Kacie', 'Kaela', 'Kaelyn', 'Kaia', 'Kailee', 'Kailey', 'Kailyn', 'Kaitlin', 'Kaitlyn', 'Kali', 'Kallie', 'Kamille', 'Kara', 'Karelle', 'Karen', 'Kari', 'Kariane', 'Karianne', 'Karina', 'Karine', 'Karlee', 'Karli', 'Karlie', 'Karolann', 'Kasandra', 'Kasey', 'Kassandra', 'Katarina', 'Katelin', 'Katelyn', 'Katelynn', 'Katharina', 'Katherine', 'Katheryn', 'Kathleen', 'Kathlyn', 'Kathryn', 'Kathryne', 'Katlyn', 'Katlynn', 'Katrina', 'Katrine', 'Kattie', 'Kavon', 'Kaya', 'Kaycee', 'Kayla', 'Kaylah', 'Kaylee', 'Kayli', 'Kaylie', 'Kaylin', 'Keara', 'Keely', 'Keira', 'Kelli', 'Kellie', 'Kelly', 'Kelsi', 'Kelsie', 'Kendra', 'Kenna', 'Kenya', 'Kenyatta', 'Kiana', 'Kianna', 'Kiara', 'Kiarra', 'Kiera', 'Kimberly', 'Kira', 'Kirsten', 'Kirstin', 'Kitty', 'Krista', 'Kristin', 'Kristina', 'Kristy', 'Krystal', 'Krystel', 'Krystina', 'Kyla', 'Kylee', 'Kylie', 'Kyra', - 'Lacey', 'Lacy', 'Laila', 'Laisha', 'Laney', 'Larissa', 'Laura', 'Lauren', 'Laurence', 'Lauretta', 'Lauriane', 'Laurianne', 'Laurie', 'Laurine', 'Laury', 'Lauryn', 'Lavada', 'Lavina', 'Lavinia', 'Lavonne', 'Layla', 'Lea', 'Leann', 'Leanna', 'Leanne', 'Leatha', 'Leda', 'Leila', 'Leilani', 'Lela', 'Lelah', 'Lelia', 'Lempi', 'Lenna', 'Lenora', 'Lenore', 'Leola', 'Leonie', 'Leonor', 'Leonora', 'Leora', 'Lera', 'Leslie', 'Lesly', 'Lessie', 'Leta', 'Letha', 'Letitia', 'Lexi', 'Lexie', 'Lia', 'Liana', 'Libbie', 'Libby', 'Lila', 'Lilian', 'Liliana', 'Liliane', 'Lilla', 'Lillian', 'Lilliana', 'Lillie', 'Lilly', 'Lily', 'Lilyan', 'Lina', 'Linda', 'Lindsay', 'Linnea', 'Linnie', 'Lisa', 'Lisette', 'Litzy', 'Liza', 'Lizeth', 'Lizzie', 'Lois', 'Lola', 'Lolita', 'Loma', 'Lonie', 'Lora', 'Loraine', 'Loren', 'Lorena', 'Lori', 'Lorine', 'Lorna', 'Lottie', 'Lou', 'Loyce', 'Lucie', 'Lucienne', 'Lucile', 'Lucinda', 'Lucy', 'Ludie', 'Lue', 'Luella', 'Luisa', 'Lulu', 'Luna', 'Lupe', 'Lura', 'Lurline', 'Luz', 'Lyda', 'Lydia', 'Lyla', 'Lynn', 'Lysanne', - 'Mabel', 'Mabelle', 'Mable', 'Maci', 'Macie', 'Macy', 'Madaline', 'Madalyn', 'Maddison', 'Madeline', 'Madelyn', 'Madelynn', 'Madge', 'Madie', 'Madilyn', 'Madisyn', 'Madonna', 'Mae', 'Maegan', 'Maeve', 'Mafalda', 'Magali', 'Magdalen', 'Magdalena', 'Maggie', 'Magnolia', 'Maia', 'Maida', 'Maiya', 'Makayla', 'Makenzie', 'Malika', 'Malinda', 'Mallie', 'Malvina', 'Mandy', 'Mara', 'Marcelina', 'Marcella', 'Marcelle', 'Marcia', 'Margaret', 'Margarete', 'Margarett', 'Margaretta', 'Margarette', 'Margarita', 'Marge', 'Margie', 'Margot', 'Margret', 'Marguerite', 'Maria', 'Mariah', 'Mariam', 'Marian', 'Mariana', 'Mariane', 'Marianna', 'Marianne', 'Maribel', 'Marie', 'Mariela', 'Marielle', 'Marietta', 'Marilie', 'Marilou', 'Marilyne', 'Marina', 'Marion', 'Marisa', 'Marisol', 'Maritza', 'Marjolaine', 'Marjorie', 'Marjory', 'Marlee', 'Marlen', 'Marlene', 'Marquise', 'Marta', 'Martina', 'Martine', 'Mary', 'Maryam', 'Maryjane', 'Maryse', 'Mathilde', 'Matilda', 'Matilde', 'Mattie', 'Maud', 'Maude', 'Maudie', 'Maureen', 'Maurine', 'Maxie', 'Maximillia', 'May', 'Maya', 'Maybell', 'Maybelle', 'Maye', 'Maymie', 'Mayra', 'Mazie', 'Mckayla', 'Meagan', 'Meaghan', 'Meda', 'Megane', 'Meggie', 'Meghan', 'Melba', 'Melisa', 'Melissa', 'Mellie', 'Melody', 'Melyna', 'Melyssa', 'Mercedes', 'Meredith', 'Mertie', 'Meta', 'Mia', 'Micaela', 'Michaela', 'Michele', 'Michelle', 'Mikayla', 'Millie', 'Mina', 'Minerva', 'Minnie', 'Miracle', 'Mireille', 'Mireya', 'Missouri', 'Misty', 'Mittie', 'Modesta', 'Mollie', 'Molly', 'Mona', 'Monica', 'Monique', 'Mossie', 'Mozell', 'Mozelle', 'Muriel', 'Mya', 'Myah', 'Mylene', 'Myra', 'Myriam', 'Myrna', 'Myrtice', 'Myrtie', 'Myrtis', 'Myrtle', - 'Nadia', 'Nakia', 'Name', 'Nannie', 'Naomi', 'Naomie', 'Natalia', 'Natalie', 'Natasha', 'Nayeli', 'Nedra', 'Neha', 'Nelda', 'Nella', 'Nelle', 'Nellie', 'Neoma', 'Nettie', 'Neva', 'Nia', 'Nichole', 'Nicole', 'Nicolette', 'Nikita', 'Nikki', 'Nina', 'Noelia', 'Noemi', 'Noemie', 'Noemy', 'Nola', 'Nona', 'Nora', 'Norene', 'Norma', 'Nova', 'Novella', 'Nya', 'Nyah', 'Nyasia', - 'Oceane', 'Ocie', 'Octavia', 'Odessa', 'Odie', 'Ofelia', 'Oleta', 'Olga', 'Ollie', 'Oma', 'Ona', 'Onie', 'Opal', 'Ophelia', 'Ora', 'Orie', 'Orpha', 'Otha', 'Otilia', 'Ottilie', 'Ova', 'Ozella', - 'Paige', 'Palma', 'Pamela', 'Pansy', 'Pascale', 'Pasquale', 'Pat', 'Patience', 'Patricia', 'Patsy', 'Pattie', 'Paula', 'Pauline', 'Pearl', 'Pearlie', 'Pearline', 'Peggie', 'Penelope', 'Petra', 'Phoebe', 'Phyllis', 'Pink', 'Pinkie', 'Piper', 'Polly', 'Precious', 'Princess', 'Priscilla', 'Providenci', 'Prudence', - 'Queen', 'Queenie', - 'Rachael', 'Rachel', 'Rachelle', 'Rae', 'Raegan', 'Rafaela', 'Rahsaan', 'Raina', 'Ramona', 'Raphaelle', 'Raquel', 'Reanna', 'Reba', 'Rebeca', 'Rebecca', 'Rebeka', 'Rebekah', 'Reina', 'Renee', 'Ressie', 'Reta', 'Retha', 'Retta', 'Reva', 'Reyna', 'Rhea', 'Rhianna', 'Rhoda', 'Rita', 'River', 'Roberta', 'Robyn', 'Roma', 'Romaine', 'Rosa', 'Rosalee', 'Rosalia', 'Rosalind', 'Rosalinda', 'Rosalyn', 'Rosamond', 'Rosanna', 'Rose', 'Rosella', 'Roselyn', 'Rosemarie', 'Rosemary', 'Rosetta', 'Rosie', 'Rosina', 'Roslyn', 'Rossie', 'Rowena', 'Roxane', 'Roxanne', 'Rozella', 'Rubie', 'Ruby', 'Rubye', 'Ruth', 'Ruthe', 'Ruthie', 'Rylee', - 'Sabina', 'Sabrina', 'Sabryna', 'Sadie', 'Sadye', 'Sallie', 'Sally', 'Salma', 'Samanta', 'Samantha', 'Samara', 'Sandra', 'Sandrine', 'Sandy', 'Santina', 'Sarah', 'Sarai', 'Sarina', 'Sasha', 'Savanah', 'Savanna', 'Savannah', 'Scarlett', 'Selena', 'Selina', 'Serena', 'Serenity', 'Shaina', 'Shakira', 'Shana', 'Shanel', 'Shanelle', 'Shania', 'Shanie', 'Shaniya', 'Shanna', 'Shannon', 'Shanny', 'Shanon', 'Shany', 'Sharon', 'Shawna', 'Shaylee', 'Shayna', 'Shea', 'Sheila', 'Shemar', 'Shirley', 'Shyann', 'Shyanne', 'Sibyl', 'Sienna', 'Sierra', 'Simone', 'Sincere', 'Sister', 'Skyla', 'Sonia', 'Sonya', 'Sophia', 'Sophie', 'Stacey', 'Stacy', 'Stefanie', 'Stella', 'Stephania', 'Stephanie', 'Stephany', 'Summer', 'Sunny', 'Susan', 'Susana', 'Susanna', 'Susie', 'Suzanne', 'Syble', 'Sydnee', 'Sydni', 'Sydnie', 'Sylvia', - 'Tabitha', 'Talia', 'Tamara', 'Tamia', 'Tania', 'Tanya', 'Tara', 'Taryn', 'Tatyana', 'Taya', 'Teagan', 'Telly', 'Teresa', 'Tess', 'Tessie', 'Thalia', 'Thea', 'Thelma', 'Theodora', 'Theresa', 'Therese', 'Theresia', 'Thora', 'Tia', 'Tiana', 'Tianna', 'Tiara', 'Tierra', 'Tiffany', 'Tina', 'Tomasa', 'Tracy', 'Tressa', 'Tressie', 'Treva', 'Trinity', 'Trisha', 'Trudie', 'Trycia', 'Twila', 'Tyra', - 'Una', 'Ursula', - 'Vada', 'Valentina', 'Valentine', 'Valerie', 'Vallie', 'Vanessa', 'Veda', 'Velda', 'Vella', 'Velma', 'Velva', 'Vena', 'Verda', 'Verdie', 'Vergie', 'Verla', 'Verlie', 'Verna', 'Vernice', 'Vernie', 'Verona', 'Veronica', 'Vesta', 'Vicenta', 'Vickie', 'Vicky', 'Victoria', 'Vida', 'Vilma', 'Vincenza', 'Viola', 'Violet', 'Violette', 'Virgie', 'Virginia', 'Virginie', 'Vita', 'Viva', 'Vivian', 'Viviane', 'Vivianne', 'Vivien', 'Vivienne', - 'Wanda', 'Wava', 'Wendy', 'Whitney', 'Wilhelmine', 'Willa', 'Willie', 'Willow', 'Wilma', 'Winifred', 'Winnifred', 'Winona', - 'Yadira', 'Yasmeen', 'Yasmin', 'Yasmine', 'Yazmin', 'Yesenia', 'Yessenia', 'Yolanda', 'Yoshiko', 'Yvette', 'Yvonne', - 'Zaria', 'Zelda', 'Zella', 'Zelma', 'Zena', 'Zetta', 'Zita', 'Zoe', 'Zoey', 'Zoie', 'Zoila', 'Zola', 'Zora', 'Zula', - ]; + protected static $firstNameFemale = [ + 'Aaliyah', + 'Abagail', + 'Abbey', + 'Abbie', + 'Abbigail', + 'Abby', + 'Abigail', + 'Abigale', + 'Abigayle', + 'Ada', + 'Adah', + 'Adaline', + 'Addie', + 'Addison', + 'Adela', + 'Adele', + 'Adelia', + 'Adeline', + 'Adell', + 'Adella', + 'Adelle', + 'Aditya', + 'Adriana', + 'Adrianna', + 'Adrienne', + 'Aglae', + 'Agnes', + 'Agustina', + 'Aida', + 'Aileen', + 'Aimee', + 'Aisha', + 'Aiyana', + 'Alaina', + 'Alana', + 'Alanis', + 'Alanna', + 'Alayna', + 'Alba', + 'Alberta', + 'Albertha', + 'Albina', + 'Alda', + 'Aleen', + 'Alejandra', + 'Alena', + 'Alene', + 'Alessandra', + 'Alessia', + 'Aletha', + 'Alexa', + 'Alexandra', + 'Alexandrea', + 'Alexandria', + 'Alexandrine', + 'Alexane', + 'Alexanne', + 'Alfreda', + 'Alia', + 'Alice', + 'Alicia', + 'Alisa', + 'Alisha', + 'Alison', + 'Alivia', + 'Aliya', + 'Aliyah', + 'Aliza', + 'Alize', + 'Allene', + 'Allie', + 'Allison', + 'Ally', + 'Alta', + 'Althea', + 'Alva', + 'Alvena', + 'Alvera', + 'Alverta', + 'Alvina', + 'Alyce', + 'Alycia', + 'Alysa', + 'Alysha', + 'Alyson', + 'Alysson', + 'Amalia', + 'Amanda', + 'Amara', + 'Amaya', + 'Amber', + 'Amelia', + 'Amelie', + 'Amely', + 'America', + 'Amie', + 'Amina', + 'Amira', + 'Amiya', + 'Amy', + 'Amya', + 'Ana', + 'Anabel', + 'Anabelle', + 'Anahi', + 'Anais', + 'Anastasia', + 'Andreane', + 'Andreanne', + 'Angela', + 'Angelica', + 'Angelina', + 'Angeline', + 'Angelita', + 'Angie', + 'Anika', + 'Anissa', + 'Anita', + 'Aniya', + 'Aniyah', + 'Anjali', + 'Anna', + 'Annabel', + 'Annabell', + 'Annabelle', + 'Annalise', + 'Annamae', + 'Annamarie', + 'Anne', + 'Annetta', + 'Annette', + 'Annie', + 'Antoinette', + 'Antonetta', + 'Antonette', + 'Antonia', + 'Antonietta', + 'Antonina', + 'Anya', + 'April', + 'Ara', + 'Araceli', + 'Aracely', + 'Ardella', + 'Ardith', + 'Ariane', + 'Arianna', + 'Arielle', + 'Arlene', + 'Arlie', + 'Arvilla', + 'Aryanna', + 'Asa', + 'Asha', + 'Ashlee', + 'Ashleigh', + 'Ashley', + 'Ashly', + 'Ashlynn', + 'Ashtyn', + 'Asia', + 'Assunta', + 'Astrid', + 'Athena', + 'Aubree', + 'Aubrey', + 'Audie', + 'Audra', + 'Audreanne', + 'Audrey', + 'Augusta', + 'Augustine', + 'Aurelia', + 'Aurelie', + 'Aurore', + 'Autumn', + 'Ava', + 'Avis', + 'Ayana', + 'Ayla', + 'Aylin', + 'Baby', + 'Bailee', + 'Barbara', + 'Beatrice', + 'Beaulah', + 'Bella', + 'Belle', + 'Berenice', + 'Bernadette', + 'Bernadine', + 'Berneice', + 'Bernice', + 'Berniece', + 'Bernita', + 'Bert', + 'Beryl', + 'Bessie', + 'Beth', + 'Bethany', + 'Bethel', + 'Betsy', + 'Bette', + 'Bettie', + 'Betty', + 'Bettye', + 'Beulah', + 'Beverly', + 'Bianka', + 'Billie', + 'Birdie', + 'Blanca', + 'Blanche', + 'Bonita', + 'Bonnie', + 'Brandi', + 'Brandy', + 'Brandyn', + 'Breana', + 'Breanna', + 'Breanne', + 'Brenda', + 'Brenna', + 'Bria', + 'Briana', + 'Brianne', + 'Bridget', + 'Bridgette', + 'Bridie', + 'Brielle', + 'Brigitte', + 'Brionna', + 'Brisa', + 'Britney', + 'Brittany', + 'Brooke', + 'Brooklyn', + 'Bryana', + 'Bulah', + 'Burdette', + 'Burnice', + 'Caitlyn', + 'Caleigh', + 'Cali', + 'Calista', + 'Callie', + 'Camila', + 'Camilla', + 'Camille', + 'Camylle', + 'Candace', + 'Candice', + 'Candida', + 'Cara', + 'Carissa', + 'Carlee', + 'Carley', + 'Carli', + 'Carlie', + 'Carlotta', + 'Carmela', + 'Carmella', + 'Carmen', + 'Carolanne', + 'Carole', + 'Carolina', + 'Caroline', + 'Carolyn', + 'Carolyne', + 'Carrie', + 'Casandra', + 'Cassandra', + 'Cassandre', + 'Cassidy', + 'Cassie', + 'Catalina', + 'Caterina', + 'Catharine', + 'Catherine', + 'Cathrine', + 'Cathryn', + 'Cathy', + 'Cayla', + 'Cecelia', + 'Cecile', + 'Cecilia', + 'Celestine', + 'Celia', + 'Celine', + 'Chanel', + 'Chanelle', + 'Charity', + 'Charlene', + 'Charlotte', + 'Chasity', + 'Chaya', + 'Chelsea', + 'Chelsie', + 'Cheyanne', + 'Cheyenne', + 'Chloe', + 'Christa', + 'Christelle', + 'Christiana', + 'Christina', + 'Christine', + 'Christy', + 'Chyna', + 'Ciara', + 'Cierra', + 'Cindy', + 'Citlalli', + 'Claire', + 'Clara', + 'Clarabelle', + 'Clare', + 'Clarissa', + 'Claudia', + 'Claudie', + 'Claudine', + 'Clementina', + 'Clementine', + 'Clemmie', + 'Cleora', + 'Cleta', + 'Clotilde', + 'Colleen', + 'Concepcion', + 'Connie', + 'Constance', + 'Cora', + 'Coralie', + 'Cordia', + 'Cordie', + 'Corene', + 'Corine', + 'Corrine', + 'Cortney', + 'Courtney', + 'Creola', + 'Cristal', + 'Crystal', + 'Crystel', + 'Cydney', + 'Cynthia', + 'Dahlia', + 'Daija', + 'Daisha', + 'Daisy', + 'Dakota', + 'Damaris', + 'Dana', + 'Dandre', + 'Daniela', + 'Daniella', + 'Danielle', + 'Danika', + 'Dannie', + 'Danyka', + 'Daphne', + 'Daphnee', + 'Daphney', + 'Darby', + 'Dariana', + 'Darlene', + 'Dasia', + 'Dawn', + 'Dayana', + 'Dayna', + 'Deanna', + 'Deborah', + 'Deja', + 'Dejah', + 'Delfina', + 'Delia', + 'Delilah', + 'Della', + 'Delores', + 'Delpha', + 'Delphia', + 'Delphine', + 'Delta', + 'Demetris', + 'Dena', + 'Desiree', + 'Dessie', + 'Destany', + 'Destinee', + 'Destiney', + 'Destini', + 'Destiny', + 'Diana', + 'Dianna', + 'Dina', + 'Dixie', + 'Dolly', + 'Dolores', + 'Domenica', + 'Dominique', + 'Donna', + 'Dora', + 'Dorothea', + 'Dorothy', + 'Dorris', + 'Dortha', + 'Dovie', + 'Drew', + 'Duane', + 'Dulce', + 'Earlene', + 'Earline', + 'Earnestine', + 'Ebba', + 'Ebony', + 'Eda', + 'Eden', + 'Edna', + 'Edwina', + 'Edyth', + 'Edythe', + 'Effie', + 'Eileen', + 'Elaina', + 'Elda', + 'Eldora', + 'Eldridge', + 'Eleanora', + 'Eleanore', + 'Electa', + 'Elena', + 'Elenor', + 'Elenora', + 'Eleonore', + 'Elfrieda', + 'Eliane', + 'Elinor', + 'Elinore', + 'Elisa', + 'Elisabeth', + 'Elise', + 'Elisha', + 'Elissa', + 'Eliza', + 'Elizabeth', + 'Ella', + 'Ellen', + 'Ellie', + 'Elmira', + 'Elna', + 'Elnora', + 'Elody', + 'Eloisa', + 'Eloise', + 'Elouise', + 'Elsa', + 'Else', + 'Elsie', + 'Elta', + 'Elva', + 'Elvera', + 'Elvie', + 'Elyse', + 'Elyssa', + 'Elza', + 'Emelia', + 'Emelie', + 'Emely', + 'Emie', + 'Emilia', + 'Emilie', + 'Emily', + 'Emma', + 'Emmalee', + 'Emmanuelle', + 'Emmie', + 'Emmy', + 'Ena', + 'Enola', + 'Era', + 'Erica', + 'Ericka', + 'Erika', + 'Erna', + 'Ernestina', + 'Ernestine', + 'Eryn', + 'Esmeralda', + 'Esperanza', + 'Esta', + 'Estefania', + 'Estel', + 'Estell', + 'Estella', + 'Estelle', + 'Esther', + 'Estrella', + 'Etha', + 'Ethelyn', + 'Ethyl', + 'Ettie', + 'Eudora', + 'Eugenia', + 'Eula', + 'Eulah', + 'Eulalia', + 'Euna', + 'Eunice', + 'Eva', + 'Evalyn', + 'Evangeline', + 'Eve', + 'Eveline', + 'Evelyn', + 'Everette', + 'Evie', + 'Fabiola', + 'Fae', + 'Fannie', + 'Fanny', + 'Fatima', + 'Fay', + 'Faye', + 'Felicia', + 'Felicita', + 'Felicity', + 'Felipa', + 'Filomena', + 'Fiona', + 'Flavie', + 'Fleta', + 'Flo', + 'Florence', + 'Florida', + 'Florine', + 'Flossie', + 'Frances', + 'Francesca', + 'Francisca', + 'Freda', + 'Frederique', + 'Freeda', + 'Freida', + 'Frida', + 'Frieda', + 'Gabriella', + 'Gabrielle', + 'Gail', + 'Genesis', + 'Genevieve', + 'Genoveva', + 'Georgette', + 'Georgiana', + 'Georgianna', + 'Geraldine', + 'Gerda', + 'Germaine', + 'Gerry', + 'Gertrude', + 'Gia', + 'Gilda', + 'Gina', + 'Giovanna', + 'Gisselle', + 'Gladyce', + 'Gladys', + 'Glenda', + 'Glenna', + 'Gloria', + 'Golda', + 'Grace', + 'Gracie', + 'Graciela', + 'Gregoria', + 'Greta', + 'Gretchen', + 'Guadalupe', + 'Gudrun', + 'Gwen', + 'Gwendolyn', + 'Hailee', + 'Hailie', + 'Halie', + 'Hallie', + 'Hanna', + 'Hannah', + 'Harmony', + 'Hassie', + 'Hattie', + 'Haven', + 'Haylee', + 'Haylie', + 'Heath', + 'Heather', + 'Heaven', + 'Heidi', + 'Helen', + 'Helena', + 'Helene', + 'Helga', + 'Hellen', + 'Heloise', + 'Henriette', + 'Hermina', + 'Herminia', + 'Herta', + 'Hertha', + 'Hettie', + 'Hilda', + 'Hildegard', + 'Hillary', + 'Hilma', + 'Hollie', + 'Holly', + 'Hope', + 'Hortense', + 'Hosea', + 'Hulda', + 'Icie', + 'Ida', + 'Idell', + 'Idella', + 'Ila', + 'Ilene', + 'Iliana', + 'Ima', + 'Imelda', + 'Imogene', + 'Ines', + 'Irma', + 'Isabel', + 'Isabell', + 'Isabella', + 'Isabelle', + 'Isobel', + 'Itzel', + 'Iva', + 'Ivah', + 'Ivory', + 'Ivy', + 'Izabella', + 'Jacinthe', + 'Jackeline', + 'Jackie', + 'Jacklyn', + 'Jacky', + 'Jaclyn', + 'Jacquelyn', + 'Jacynthe', + 'Jada', + 'Jade', + 'Jadyn', + 'Jaida', + 'Jailyn', + 'Jakayla', + 'Jalyn', + 'Jammie', + 'Jana', + 'Janae', + 'Jane', + 'Janelle', + 'Janessa', + 'Janet', + 'Janice', + 'Janie', + 'Janis', + 'Janiya', + 'Jannie', + 'Jany', + 'Jaquelin', + 'Jaqueline', + 'Jaunita', + 'Jayda', + 'Jayne', + 'Jazlyn', + 'Jazmin', + 'Jazmyn', + 'Jazmyne', + 'Jeanette', + 'Jeanie', + 'Jeanne', + 'Jena', + 'Jenifer', + 'Jennie', + 'Jennifer', + 'Jennyfer', + 'Jermaine', + 'Jessica', + 'Jessika', + 'Jessyca', + 'Jewel', + 'Jewell', + 'Joana', + 'Joanie', + 'Joanne', + 'Joannie', + 'Joanny', + 'Jodie', + 'Jody', + 'Joelle', + 'Johanna', + 'Jolie', + 'Jordane', + 'Josefa', + 'Josefina', + 'Josephine', + 'Josiane', + 'Josianne', + 'Josie', + 'Joy', + 'Joyce', + 'Juana', + 'Juanita', + 'Jude', + 'Judy', + 'Julia', + 'Juliana', + 'Julianne', + 'Julie', + 'Juliet', + 'June', + 'Justina', + 'Justine', + 'Kaci', + 'Kacie', + 'Kaela', + 'Kaelyn', + 'Kaia', + 'Kailee', + 'Kailey', + 'Kailyn', + 'Kaitlin', + 'Kaitlyn', + 'Kali', + 'Kallie', + 'Kamille', + 'Kara', + 'Karelle', + 'Karen', + 'Kari', + 'Kariane', + 'Karianne', + 'Karina', + 'Karine', + 'Karlee', + 'Karli', + 'Karlie', + 'Karolann', + 'Kasandra', + 'Kasey', + 'Kassandra', + 'Katarina', + 'Katelin', + 'Katelyn', + 'Katelynn', + 'Katharina', + 'Katherine', + 'Katheryn', + 'Kathleen', + 'Kathlyn', + 'Kathryn', + 'Kathryne', + 'Katlyn', + 'Katlynn', + 'Katrina', + 'Katrine', + 'Kattie', + 'Kavon', + 'Kaya', + 'Kaycee', + 'Kayla', + 'Kaylah', + 'Kaylee', + 'Kayli', + 'Kaylie', + 'Kaylin', + 'Keara', + 'Keely', + 'Keira', + 'Kelli', + 'Kellie', + 'Kelly', + 'Kelsi', + 'Kelsie', + 'Kendra', + 'Kenna', + 'Kenya', + 'Kenyatta', + 'Kiana', + 'Kianna', + 'Kiara', + 'Kiarra', + 'Kiera', + 'Kimberly', + 'Kira', + 'Kirsten', + 'Kirstin', + 'Kitty', + 'Krista', + 'Kristin', + 'Kristina', + 'Kristy', + 'Krystal', + 'Krystel', + 'Krystina', + 'Kyla', + 'Kylee', + 'Kylie', + 'Kyra', + 'Lacey', + 'Lacy', + 'Laila', + 'Laisha', + 'Laney', + 'Larissa', + 'Laura', + 'Lauren', + 'Laurence', + 'Lauretta', + 'Lauriane', + 'Laurianne', + 'Laurie', + 'Laurine', + 'Laury', + 'Lauryn', + 'Lavada', + 'Lavina', + 'Lavinia', + 'Lavonne', + 'Layla', + 'Lea', + 'Leann', + 'Leanna', + 'Leanne', + 'Leatha', + 'Leda', + 'Leila', + 'Leilani', + 'Lela', + 'Lelah', + 'Lelia', + 'Lempi', + 'Lenna', + 'Lenora', + 'Lenore', + 'Leola', + 'Leonie', + 'Leonor', + 'Leonora', + 'Leora', + 'Lera', + 'Leslie', + 'Lesly', + 'Lessie', + 'Leta', + 'Letha', + 'Letitia', + 'Lexi', + 'Lexie', + 'Lia', + 'Liana', + 'Libbie', + 'Libby', + 'Lila', + 'Lilian', + 'Liliana', + 'Liliane', + 'Lilla', + 'Lillian', + 'Lilliana', + 'Lillie', + 'Lilly', + 'Lily', + 'Lilyan', + 'Lina', + 'Linda', + 'Lindsay', + 'Linnea', + 'Linnie', + 'Lisa', + 'Lisette', + 'Litzy', + 'Liza', + 'Lizeth', + 'Lizzie', + 'Lois', + 'Lola', + 'Lolita', + 'Loma', + 'Lonie', + 'Lora', + 'Loraine', + 'Loren', + 'Lorena', + 'Lori', + 'Lorine', + 'Lorna', + 'Lottie', + 'Lou', + 'Loyce', + 'Lucie', + 'Lucienne', + 'Lucile', + 'Lucinda', + 'Lucy', + 'Ludie', + 'Lue', + 'Luella', + 'Luisa', + 'Lulu', + 'Luna', + 'Lupe', + 'Lura', + 'Lurline', + 'Luz', + 'Lyda', + 'Lydia', + 'Lyla', + 'Lynn', + 'Lysanne', + 'Mabel', + 'Mabelle', + 'Mable', + 'Maci', + 'Macie', + 'Macy', + 'Madaline', + 'Madalyn', + 'Maddison', + 'Madeline', + 'Madelyn', + 'Madelynn', + 'Madge', + 'Madie', + 'Madilyn', + 'Madisyn', + 'Madonna', + 'Mae', + 'Maegan', + 'Maeve', + 'Mafalda', + 'Magali', + 'Magdalen', + 'Magdalena', + 'Maggie', + 'Magnolia', + 'Maia', + 'Maida', + 'Maiya', + 'Makayla', + 'Makenzie', + 'Malika', + 'Malinda', + 'Mallie', + 'Malvina', + 'Mandy', + 'Mara', + 'Marcelina', + 'Marcella', + 'Marcelle', + 'Marcia', + 'Margaret', + 'Margarete', + 'Margarett', + 'Margaretta', + 'Margarette', + 'Margarita', + 'Marge', + 'Margie', + 'Margot', + 'Margret', + 'Marguerite', + 'Maria', + 'Mariah', + 'Mariam', + 'Marian', + 'Mariana', + 'Mariane', + 'Marianna', + 'Marianne', + 'Maribel', + 'Marie', + 'Mariela', + 'Marielle', + 'Marietta', + 'Marilie', + 'Marilou', + 'Marilyne', + 'Marina', + 'Marion', + 'Marisa', + 'Marisol', + 'Maritza', + 'Marjolaine', + 'Marjorie', + 'Marjory', + 'Marlee', + 'Marlen', + 'Marlene', + 'Marquise', + 'Marta', + 'Martina', + 'Martine', + 'Mary', + 'Maryam', + 'Maryjane', + 'Maryse', + 'Mathilde', + 'Matilda', + 'Matilde', + 'Mattie', + 'Maud', + 'Maude', + 'Maudie', + 'Maureen', + 'Maurine', + 'Maxie', + 'Maximillia', + 'May', + 'Maya', + 'Maybell', + 'Maybelle', + 'Maye', + 'Maymie', + 'Mayra', + 'Mazie', + 'Mckayla', + 'Meagan', + 'Meaghan', + 'Meda', + 'Megane', + 'Meggie', + 'Meghan', + 'Melba', + 'Melisa', + 'Melissa', + 'Mellie', + 'Melody', + 'Melyna', + 'Melyssa', + 'Mercedes', + 'Meredith', + 'Mertie', + 'Meta', + 'Mia', + 'Micaela', + 'Michaela', + 'Michele', + 'Michelle', + 'Mikayla', + 'Millie', + 'Mina', + 'Minerva', + 'Minnie', + 'Miracle', + 'Mireille', + 'Mireya', + 'Missouri', + 'Misty', + 'Mittie', + 'Modesta', + 'Mollie', + 'Molly', + 'Mona', + 'Monica', + 'Monique', + 'Mossie', + 'Mozell', + 'Mozelle', + 'Muriel', + 'Mya', + 'Myah', + 'Mylene', + 'Myra', + 'Myriam', + 'Myrna', + 'Myrtice', + 'Myrtie', + 'Myrtis', + 'Myrtle', + 'Nadia', + 'Nakia', + 'Name', + 'Nannie', + 'Naomi', + 'Naomie', + 'Natalia', + 'Natalie', + 'Natasha', + 'Nayeli', + 'Nedra', + 'Neha', + 'Nelda', + 'Nella', + 'Nelle', + 'Nellie', + 'Neoma', + 'Nettie', + 'Neva', + 'Nia', + 'Nichole', + 'Nicole', + 'Nicolette', + 'Nikita', + 'Nikki', + 'Nina', + 'Noelia', + 'Noemi', + 'Noemie', + 'Noemy', + 'Nola', + 'Nona', + 'Nora', + 'Norene', + 'Norma', + 'Nova', + 'Novella', + 'Nya', + 'Nyah', + 'Nyasia', + 'Oceane', + 'Ocie', + 'Octavia', + 'Odessa', + 'Odie', + 'Ofelia', + 'Oleta', + 'Olga', + 'Ollie', + 'Oma', + 'Ona', + 'Onie', + 'Opal', + 'Ophelia', + 'Ora', + 'Orie', + 'Orpha', + 'Otha', + 'Otilia', + 'Ottilie', + 'Ova', + 'Ozella', + 'Paige', + 'Palma', + 'Pamela', + 'Pansy', + 'Pascale', + 'Pasquale', + 'Pat', + 'Patience', + 'Patricia', + 'Patsy', + 'Pattie', + 'Paula', + 'Pauline', + 'Pearl', + 'Pearlie', + 'Pearline', + 'Peggie', + 'Penelope', + 'Petra', + 'Phoebe', + 'Phyllis', + 'Pink', + 'Pinkie', + 'Piper', + 'Polly', + 'Precious', + 'Princess', + 'Priscilla', + 'Providenci', + 'Prudence', + 'Queen', + 'Queenie', + 'Rachael', + 'Rachel', + 'Rachelle', + 'Rae', + 'Raegan', + 'Rafaela', + 'Rahsaan', + 'Raina', + 'Ramona', + 'Raphaelle', + 'Raquel', + 'Reanna', + 'Reba', + 'Rebeca', + 'Rebecca', + 'Rebeka', + 'Rebekah', + 'Reina', + 'Renee', + 'Ressie', + 'Reta', + 'Retha', + 'Retta', + 'Reva', + 'Reyna', + 'Rhea', + 'Rhianna', + 'Rhoda', + 'Rita', + 'River', + 'Roberta', + 'Robyn', + 'Roma', + 'Romaine', + 'Rosa', + 'Rosalee', + 'Rosalia', + 'Rosalind', + 'Rosalinda', + 'Rosalyn', + 'Rosamond', + 'Rosanna', + 'Rose', + 'Rosella', + 'Roselyn', + 'Rosemarie', + 'Rosemary', + 'Rosetta', + 'Rosie', + 'Rosina', + 'Roslyn', + 'Rossie', + 'Rowena', + 'Roxane', + 'Roxanne', + 'Rozella', + 'Rubie', + 'Ruby', + 'Rubye', + 'Ruth', + 'Ruthe', + 'Ruthie', + 'Rylee', + 'Sabina', + 'Sabrina', + 'Sabryna', + 'Sadie', + 'Sadye', + 'Sallie', + 'Sally', + 'Salma', + 'Samanta', + 'Samantha', + 'Samara', + 'Sandra', + 'Sandrine', + 'Sandy', + 'Santina', + 'Sarah', + 'Sarai', + 'Sarina', + 'Sasha', + 'Savanah', + 'Savanna', + 'Savannah', + 'Scarlett', + 'Selena', + 'Selina', + 'Serena', + 'Serenity', + 'Shaina', + 'Shakira', + 'Shana', + 'Shanel', + 'Shanelle', + 'Shania', + 'Shanie', + 'Shaniya', + 'Shanna', + 'Shannon', + 'Shanny', + 'Shanon', + 'Shany', + 'Sharon', + 'Shawna', + 'Shaylee', + 'Shayna', + 'Shea', + 'Sheila', + 'Shemar', + 'Shirley', + 'Shyann', + 'Shyanne', + 'Sibyl', + 'Sienna', + 'Sierra', + 'Simone', + 'Sincere', + 'Sister', + 'Skyla', + 'Sonia', + 'Sonya', + 'Sophia', + 'Sophie', + 'Stacey', + 'Stacy', + 'Stefanie', + 'Stella', + 'Stephania', + 'Stephanie', + 'Stephany', + 'Summer', + 'Sunny', + 'Susan', + 'Susana', + 'Susanna', + 'Susie', + 'Suzanne', + 'Syble', + 'Sydnee', + 'Sydni', + 'Sydnie', + 'Sylvia', + 'Tabitha', + 'Talia', + 'Tamara', + 'Tamia', + 'Tania', + 'Tanya', + 'Tara', + 'Taryn', + 'Tatyana', + 'Taya', + 'Teagan', + 'Telly', + 'Teresa', + 'Tess', + 'Tessie', + 'Thalia', + 'Thea', + 'Thelma', + 'Theodora', + 'Theresa', + 'Therese', + 'Theresia', + 'Thora', + 'Tia', + 'Tiana', + 'Tianna', + 'Tiara', + 'Tierra', + 'Tiffany', + 'Tina', + 'Tomasa', + 'Tracy', + 'Tressa', + 'Tressie', + 'Treva', + 'Trinity', + 'Trisha', + 'Trudie', + 'Trycia', + 'Twila', + 'Tyra', + 'Una', + 'Ursula', + 'Vada', + 'Valentina', + 'Valentine', + 'Valerie', + 'Vallie', + 'Vanessa', + 'Veda', + 'Velda', + 'Vella', + 'Velma', + 'Velva', + 'Vena', + 'Verda', + 'Verdie', + 'Vergie', + 'Verla', + 'Verlie', + 'Verna', + 'Vernice', + 'Vernie', + 'Verona', + 'Veronica', + 'Vesta', + 'Vicenta', + 'Vickie', + 'Vicky', + 'Victoria', + 'Vida', + 'Vilma', + 'Vincenza', + 'Viola', + 'Violet', + 'Violette', + 'Virgie', + 'Virginia', + 'Virginie', + 'Vita', + 'Viva', + 'Vivian', + 'Viviane', + 'Vivianne', + 'Vivien', + 'Vivienne', + 'Wanda', + 'Wava', + 'Wendy', + 'Whitney', + 'Wilhelmine', + 'Willa', + 'Willie', + 'Willow', + 'Wilma', + 'Winifred', + 'Winnifred', + 'Winona', + 'Yadira', + 'Yasmeen', + 'Yasmin', + 'Yasmine', + 'Yazmin', + 'Yesenia', + 'Yessenia', + 'Yolanda', + 'Yoshiko', + 'Yvette', + 'Yvonne', + 'Zaria', + 'Zelda', + 'Zella', + 'Zelma', + 'Zena', + 'Zetta', + 'Zita', + 'Zoe', + 'Zoey', + 'Zoie', + 'Zoila', + 'Zola', + 'Zora', + 'Zula', + ]; - protected static $lastName = [ - 'Abbott', 'Abernathy', 'Abshire', 'Adams', 'Altenwerth', 'Anderson', 'Ankunding', 'Armstrong', 'Auer', 'Aufderhar', - 'Bahringer', 'Bailey', 'Balistreri', 'Barrows', 'Bartell', 'Bartoletti', 'Barton', 'Bashirian', 'Batz', 'Bauch', 'Baumbach', 'Bayer', 'Beahan', 'Beatty', 'Bechtelar', 'Becker', 'Bednar', 'Beer', 'Beier', 'Berge', 'Bergnaum', 'Bergstrom', 'Bernhard', 'Bernier', 'Bins', 'Blanda', 'Blick', 'Block', 'Bode', 'Boehm', 'Bogan', 'Bogisich', 'Borer', 'Bosco', 'Botsford', 'Boyer', 'Boyle', 'Bradtke', 'Brakus', 'Braun', 'Breitenberg', 'Brekke', 'Brown', 'Bruen', 'Buckridge', - 'Carroll', 'Carter', 'Cartwright', 'Casper', 'Cassin', 'Champlin', 'Christiansen', 'Cole', 'Collier', 'Collins', 'Conn', 'Connelly', 'Conroy', 'Considine', 'Corkery', 'Cormier', 'Corwin', 'Cremin', 'Crist', 'Crona', 'Cronin', 'Crooks', 'Cruickshank', 'Cummerata', 'Cummings', - 'Dach', 'D\'Amore', 'Daniel', 'Dare', 'Daugherty', 'Davis', 'Deckow', 'Denesik', 'Dibbert', 'Dickens', 'Dicki', 'Dickinson', 'Dietrich', 'Donnelly', 'Dooley', 'Douglas', 'Doyle', 'DuBuque', 'Durgan', - 'Ebert', 'Effertz', 'Eichmann', 'Emard', 'Emmerich', 'Erdman', 'Ernser', - 'Fadel', 'Fahey', 'Farrell', 'Fay', 'Feeney', 'Feest', 'Feil', 'Ferry', 'Fisher', 'Flatley', 'Frami', 'Franecki', 'Friesen', 'Fritsch', 'Funk', - 'Gaylord', 'Gerhold', 'Gerlach', 'Gibson', 'Gislason', 'Gleason', 'Gleichner', 'Glover', 'Goldner', 'Goodwin', 'Gorczany', 'Gottlieb', 'Goyette', 'Grady', 'Graham', 'Grant', 'Green', 'Greenfelder', 'Greenholt', 'Grimes', 'Gulgowski', 'Gusikowski', 'Gutkowski', 'Gutmann', - 'Haag', 'Hackett', 'Hagenes', 'Hahn', 'Haley', 'Halvorson', 'Hamill', 'Hammes', 'Hand', 'Hane', 'Hansen', 'Harber', 'Harris', 'Hartmann', 'Harvey', 'Hauck', 'Hayes', 'Heaney', 'Heathcote', 'Hegmann', 'Heidenreich', 'Heller', 'Herman', 'Hermann', 'Hermiston', 'Herzog', 'Hessel', 'Hettinger', 'Hickle', 'Hill', 'Hills', 'Hilpert', 'Hintz', 'Hirthe', 'Hodkiewicz', 'Hoeger', 'Homenick', 'Hoppe', 'Howe', 'Howell', 'Hudson', 'Huel', 'Huels', 'Hyatt', - 'Jacobi', 'Jacobs', 'Jacobson', 'Jakubowski', 'Jaskolski', 'Jast', 'Jenkins', 'Jerde', 'Johns', 'Johnson', 'Johnston', 'Jones', - 'Kassulke', 'Kautzer', 'Keebler', 'Keeling', 'Kemmer', 'Kerluke', 'Kertzmann', 'Kessler', 'Kiehn', 'Kihn', 'Kilback', 'King', 'Kirlin', 'Klein', 'Kling', 'Klocko', 'Koch', 'Koelpin', 'Koepp', 'Kohler', 'Konopelski', 'Koss', 'Kovacek', 'Kozey', 'Krajcik', 'Kreiger', 'Kris', 'Kshlerin', 'Kub', 'Kuhic', 'Kuhlman', 'Kuhn', 'Kulas', 'Kunde', 'Kunze', 'Kuphal', 'Kutch', 'Kuvalis', - 'Labadie', 'Lakin', 'Lang', 'Langosh', 'Langworth', 'Larkin', 'Larson', 'Leannon', 'Lebsack', 'Ledner', 'Leffler', 'Legros', 'Lehner', 'Lemke', 'Lesch', 'Leuschke', 'Lind', 'Lindgren', 'Littel', 'Little', 'Lockman', 'Lowe', 'Lubowitz', 'Lueilwitz', 'Luettgen', 'Lynch', - 'Macejkovic', 'Maggio', 'Mann', 'Mante', 'Marks', 'Marquardt', 'Marvin', 'Mayer', 'Mayert', 'McClure', 'McCullough', 'McDermott', 'McGlynn', 'McKenzie', 'McLaughlin', 'Medhurst', 'Mertz', 'Metz', 'Miller', 'Mills', 'Mitchell', 'Moen', 'Mohr', 'Monahan', 'Moore', 'Morar', 'Morissette', 'Mosciski', 'Mraz', 'Mueller', 'Muller', 'Murazik', 'Murphy', 'Murray', - 'Nader', 'Nicolas', 'Nienow', 'Nikolaus', 'Nitzsche', 'Nolan', - 'Oberbrunner', 'O\'Connell', 'O\'Conner', 'O\'Hara', 'O\'Keefe', 'O\'Kon', 'Okuneva', 'Olson', 'Ondricka', 'O\'Reilly', 'Orn', 'Ortiz', 'Osinski', - 'Pacocha', 'Padberg', 'Pagac', 'Parisian', 'Parker', 'Paucek', 'Pfannerstill', 'Pfeffer', 'Pollich', 'Pouros', 'Powlowski', 'Predovic', 'Price', 'Prohaska', 'Prosacco', 'Purdy', - 'Quigley', 'Quitzon', - 'Rath', 'Ratke', 'Rau', 'Raynor', 'Reichel', 'Reichert', 'Reilly', 'Reinger', 'Rempel', 'Renner', 'Reynolds', 'Rice', 'Rippin', 'Ritchie', 'Robel', 'Roberts', 'Rodriguez', 'Rogahn', 'Rohan', 'Rolfson', 'Romaguera', 'Roob', 'Rosenbaum', 'Rowe', 'Ruecker', 'Runolfsdottir', 'Runolfsson', 'Runte', 'Russel', 'Rutherford', 'Ryan', - 'Sanford', 'Satterfield', 'Sauer', 'Sawayn', 'Schaden', 'Schaefer', 'Schamberger', 'Schiller', 'Schimmel', 'Schinner', 'Schmeler', 'Schmidt', 'Schmitt', 'Schneider', 'Schoen', 'Schowalter', 'Schroeder', 'Schulist', 'Schultz', 'Schumm', 'Schuppe', 'Schuster', 'Senger', 'Shanahan', 'Shields', 'Simonis', 'Sipes', 'Skiles', 'Smith', 'Smitham', 'Spencer', 'Spinka', 'Sporer', 'Stamm', 'Stanton', 'Stark', 'Stehr', 'Steuber', 'Stiedemann', 'Stokes', 'Stoltenberg', 'Stracke', 'Streich', 'Stroman', 'Strosin', 'Swaniawski', 'Swift', - 'Terry', 'Thiel', 'Thompson', 'Tillman', 'Torp', 'Torphy', 'Towne', 'Toy', 'Trantow', 'Tremblay', 'Treutel', 'Tromp', 'Turcotte', 'Turner', - 'Ullrich', 'Upton', - 'Vandervort', 'Veum', 'Volkman', 'Von', 'VonRueden', - 'Waelchi', 'Walker', 'Walsh', 'Walter', 'Ward', 'Waters', 'Watsica', 'Weber', 'Wehner', 'Weimann', 'Weissnat', 'Welch', 'West', 'White', 'Wiegand', 'Wilderman', 'Wilkinson', 'Will', 'Williamson', 'Willms', 'Windler', 'Wintheiser', 'Wisoky', 'Wisozk', 'Witting', 'Wiza', 'Wolf', 'Wolff', 'Wuckert', 'Wunsch', 'Wyman', - 'Yost', 'Yundt', - 'Zboncak', 'Zemlak', 'Ziemann', 'Zieme', 'Zulauf', - ]; + protected static $lastName = [ + 'Abbott', + 'Abernathy', + 'Abshire', + 'Adams', + 'Altenwerth', + 'Anderson', + 'Ankunding', + 'Armstrong', + 'Auer', + 'Aufderhar', + 'Bahringer', + 'Bailey', + 'Balistreri', + 'Barrows', + 'Bartell', + 'Bartoletti', + 'Barton', + 'Bashirian', + 'Batz', + 'Bauch', + 'Baumbach', + 'Bayer', + 'Beahan', + 'Beatty', + 'Bechtelar', + 'Becker', + 'Bednar', + 'Beer', + 'Beier', + 'Berge', + 'Bergnaum', + 'Bergstrom', + 'Bernhard', + 'Bernier', + 'Bins', + 'Blanda', + 'Blick', + 'Block', + 'Bode', + 'Boehm', + 'Bogan', + 'Bogisich', + 'Borer', + 'Bosco', + 'Botsford', + 'Boyer', + 'Boyle', + 'Bradtke', + 'Brakus', + 'Braun', + 'Breitenberg', + 'Brekke', + 'Brown', + 'Bruen', + 'Buckridge', + 'Carroll', + 'Carter', + 'Cartwright', + 'Casper', + 'Cassin', + 'Champlin', + 'Christiansen', + 'Cole', + 'Collier', + 'Collins', + 'Conn', + 'Connelly', + 'Conroy', + 'Considine', + 'Corkery', + 'Cormier', + 'Corwin', + 'Cremin', + 'Crist', + 'Crona', + 'Cronin', + 'Crooks', + 'Cruickshank', + 'Cummerata', + 'Cummings', + 'Dach', + 'D\'Amore', + 'Daniel', + 'Dare', + 'Daugherty', + 'Davis', + 'Deckow', + 'Denesik', + 'Dibbert', + 'Dickens', + 'Dicki', + 'Dickinson', + 'Dietrich', + 'Donnelly', + 'Dooley', + 'Douglas', + 'Doyle', + 'DuBuque', + 'Durgan', + 'Ebert', + 'Effertz', + 'Eichmann', + 'Emard', + 'Emmerich', + 'Erdman', + 'Ernser', + 'Fadel', + 'Fahey', + 'Farrell', + 'Fay', + 'Feeney', + 'Feest', + 'Feil', + 'Ferry', + 'Fisher', + 'Flatley', + 'Frami', + 'Franecki', + 'Friesen', + 'Fritsch', + 'Funk', + 'Gaylord', + 'Gerhold', + 'Gerlach', + 'Gibson', + 'Gislason', + 'Gleason', + 'Gleichner', + 'Glover', + 'Goldner', + 'Goodwin', + 'Gorczany', + 'Gottlieb', + 'Goyette', + 'Grady', + 'Graham', + 'Grant', + 'Green', + 'Greenfelder', + 'Greenholt', + 'Grimes', + 'Gulgowski', + 'Gusikowski', + 'Gutkowski', + 'Gutmann', + 'Haag', + 'Hackett', + 'Hagenes', + 'Hahn', + 'Haley', + 'Halvorson', + 'Hamill', + 'Hammes', + 'Hand', + 'Hane', + 'Hansen', + 'Harber', + 'Harris', + 'Hartmann', + 'Harvey', + 'Hauck', + 'Hayes', + 'Heaney', + 'Heathcote', + 'Hegmann', + 'Heidenreich', + 'Heller', + 'Herman', + 'Hermann', + 'Hermiston', + 'Herzog', + 'Hessel', + 'Hettinger', + 'Hickle', + 'Hill', + 'Hills', + 'Hilpert', + 'Hintz', + 'Hirthe', + 'Hodkiewicz', + 'Hoeger', + 'Homenick', + 'Hoppe', + 'Howe', + 'Howell', + 'Hudson', + 'Huel', + 'Huels', + 'Hyatt', + 'Jacobi', + 'Jacobs', + 'Jacobson', + 'Jakubowski', + 'Jaskolski', + 'Jast', + 'Jenkins', + 'Jerde', + 'Johns', + 'Johnson', + 'Johnston', + 'Jones', + 'Kassulke', + 'Kautzer', + 'Keebler', + 'Keeling', + 'Kemmer', + 'Kerluke', + 'Kertzmann', + 'Kessler', + 'Kiehn', + 'Kihn', + 'Kilback', + 'King', + 'Kirlin', + 'Klein', + 'Kling', + 'Klocko', + 'Koch', + 'Koelpin', + 'Koepp', + 'Kohler', + 'Konopelski', + 'Koss', + 'Kovacek', + 'Kozey', + 'Krajcik', + 'Kreiger', + 'Kris', + 'Kshlerin', + 'Kub', + 'Kuhic', + 'Kuhlman', + 'Kuhn', + 'Kulas', + 'Kunde', + 'Kunze', + 'Kuphal', + 'Kutch', + 'Kuvalis', + 'Labadie', + 'Lakin', + 'Lang', + 'Langosh', + 'Langworth', + 'Larkin', + 'Larson', + 'Leannon', + 'Lebsack', + 'Ledner', + 'Leffler', + 'Legros', + 'Lehner', + 'Lemke', + 'Lesch', + 'Leuschke', + 'Lind', + 'Lindgren', + 'Littel', + 'Little', + 'Lockman', + 'Lowe', + 'Lubowitz', + 'Lueilwitz', + 'Luettgen', + 'Lynch', + 'Macejkovic', + 'Maggio', + 'Mann', + 'Mante', + 'Marks', + 'Marquardt', + 'Marvin', + 'Mayer', + 'Mayert', + 'McClure', + 'McCullough', + 'McDermott', + 'McGlynn', + 'McKenzie', + 'McLaughlin', + 'Medhurst', + 'Mertz', + 'Metz', + 'Miller', + 'Mills', + 'Mitchell', + 'Moen', + 'Mohr', + 'Monahan', + 'Moore', + 'Morar', + 'Morissette', + 'Mosciski', + 'Mraz', + 'Mueller', + 'Muller', + 'Murazik', + 'Murphy', + 'Murray', + 'Nader', + 'Nicolas', + 'Nienow', + 'Nikolaus', + 'Nitzsche', + 'Nolan', + 'Oberbrunner', + 'O\'Connell', + 'O\'Conner', + 'O\'Hara', + 'O\'Keefe', + 'O\'Kon', + 'Okuneva', + 'Olson', + 'Ondricka', + 'O\'Reilly', + 'Orn', + 'Ortiz', + 'Osinski', + 'Pacocha', + 'Padberg', + 'Pagac', + 'Parisian', + 'Parker', + 'Paucek', + 'Pfannerstill', + 'Pfeffer', + 'Pollich', + 'Pouros', + 'Powlowski', + 'Predovic', + 'Price', + 'Prohaska', + 'Prosacco', + 'Purdy', + 'Quigley', + 'Quitzon', + 'Rath', + 'Ratke', + 'Rau', + 'Raynor', + 'Reichel', + 'Reichert', + 'Reilly', + 'Reinger', + 'Rempel', + 'Renner', + 'Reynolds', + 'Rice', + 'Rippin', + 'Ritchie', + 'Robel', + 'Roberts', + 'Rodriguez', + 'Rogahn', + 'Rohan', + 'Rolfson', + 'Romaguera', + 'Roob', + 'Rosenbaum', + 'Rowe', + 'Ruecker', + 'Runolfsdottir', + 'Runolfsson', + 'Runte', + 'Russel', + 'Rutherford', + 'Ryan', + 'Sanford', + 'Satterfield', + 'Sauer', + 'Sawayn', + 'Schaden', + 'Schaefer', + 'Schamberger', + 'Schiller', + 'Schimmel', + 'Schinner', + 'Schmeler', + 'Schmidt', + 'Schmitt', + 'Schneider', + 'Schoen', + 'Schowalter', + 'Schroeder', + 'Schulist', + 'Schultz', + 'Schumm', + 'Schuppe', + 'Schuster', + 'Senger', + 'Shanahan', + 'Shields', + 'Simonis', + 'Sipes', + 'Skiles', + 'Smith', + 'Smitham', + 'Spencer', + 'Spinka', + 'Sporer', + 'Stamm', + 'Stanton', + 'Stark', + 'Stehr', + 'Steuber', + 'Stiedemann', + 'Stokes', + 'Stoltenberg', + 'Stracke', + 'Streich', + 'Stroman', + 'Strosin', + 'Swaniawski', + 'Swift', + 'Terry', + 'Thiel', + 'Thompson', + 'Tillman', + 'Torp', + 'Torphy', + 'Towne', + 'Toy', + 'Trantow', + 'Tremblay', + 'Treutel', + 'Tromp', + 'Turcotte', + 'Turner', + 'Ullrich', + 'Upton', + 'Vandervort', + 'Veum', + 'Volkman', + 'Von', + 'VonRueden', + 'Waelchi', + 'Walker', + 'Walsh', + 'Walter', + 'Ward', + 'Waters', + 'Watsica', + 'Weber', + 'Wehner', + 'Weimann', + 'Weissnat', + 'Welch', + 'West', + 'White', + 'Wiegand', + 'Wilderman', + 'Wilkinson', + 'Will', + 'Williamson', + 'Willms', + 'Windler', + 'Wintheiser', + 'Wisoky', + 'Wisozk', + 'Witting', + 'Wiza', + 'Wolf', + 'Wolff', + 'Wuckert', + 'Wunsch', + 'Wyman', + 'Yost', + 'Yundt', + 'Zboncak', + 'Zemlak', + 'Ziemann', + 'Zieme', + 'Zulauf', + ]; - protected static $suffix = ['Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM']; + protected static $suffix = [ 'Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM' ]; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * @example '123-45-6789' - */ - public static function ssn() - { - $area = Miscellaneous::boolean() ? self::numberBetween(1, 665) : self::numberBetween(667, 899); - $group = self::numberBetween(1, 99); - $serial = self::numberBetween(1, 9999); + /** + * @example '123-45-6789' + */ + public static function ssn() { + $area = Miscellaneous::boolean() ? self::numberBetween( 1, 665 ) : self::numberBetween( 667, 899 ); + $group = self::numberBetween( 1, 99 ); + $serial = self::numberBetween( 1, 9999 ); - return sprintf('%03d-%02d-%04d', $area, $group, $serial); - } + return sprintf( '%03d-%02d-%04d', $area, $group, $serial ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/PhoneNumber.php index f81e92f..15e162e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/PhoneNumber.php @@ -2,134 +2,133 @@ namespace Faker\Provider\en_US; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array - */ - protected static $areaCodeRegexes = [ - 2 => '(0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])', - 3 => '(0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[167]|5[12]|6[014]|8[056])', - 4 => '(0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])', - 5 => '(0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])', - 6 => '(0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[017]|6[0-279]|78|8[0-29])', - 7 => '(0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])', - 8 => '(0[1-68]|1[02-8]|2[08]|3[0-28]|4[3578]|5[046-9]|6[02-5]|7[028])', - 9 => '(0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[0179]|5[12469]|7[0-389]|8[04-69])', - ]; - - /** - * @see https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers#United_States.2C_Canada.2C_and_other_NANP_countries - */ - protected static $formats = [ - // International format - '+1-{{areaCode}}-{{exchangeCode}}-####', - '+1 ({{areaCode}}) {{exchangeCode}}-####', - '+1-{{areaCode}}-{{exchangeCode}}-####', - '+1.{{areaCode}}.{{exchangeCode}}.####', - '+1{{areaCode}}{{exchangeCode}}####', - - // Standard formats - '{{areaCode}}-{{exchangeCode}}-####', - '({{areaCode}}) {{exchangeCode}}-####', - '1-{{areaCode}}-{{exchangeCode}}-####', - '{{areaCode}}.{{exchangeCode}}.####', - - '{{areaCode}}-{{exchangeCode}}-####', - '({{areaCode}}) {{exchangeCode}}-####', - '1-{{areaCode}}-{{exchangeCode}}-####', - '{{areaCode}}.{{exchangeCode}}.####', - ]; - - protected static $formatsWithExtension = [ - '{{areaCode}}-{{exchangeCode}}-#### x###', - '({{areaCode}}) {{exchangeCode}}-#### x###', - '1-{{areaCode}}-{{exchangeCode}}-#### x###', - '{{areaCode}}.{{exchangeCode}}.#### x###', - - '{{areaCode}}-{{exchangeCode}}-#### x####', - '({{areaCode}}) {{exchangeCode}}-#### x####', - '1-{{areaCode}}-{{exchangeCode}}-#### x####', - '{{areaCode}}.{{exchangeCode}}.#### x####', - - '{{areaCode}}-{{exchangeCode}}-#### x#####', - '({{areaCode}}) {{exchangeCode}}-#### x#####', - '1-{{areaCode}}-{{exchangeCode}}-#### x#####', - '{{areaCode}}.{{exchangeCode}}.#### x#####', - ]; - - protected static $e164Formats = [ - '+1{{areaCode}}{{exchangeCode}}####', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Toll-free_telephone_number#United_States - */ - protected static $tollFreeAreaCodes = [ - 800, 844, 855, 866, 877, 888, - ]; - protected static $tollFreeFormats = [ - // Standard formats - '{{tollFreeAreaCode}}-{{exchangeCode}}-####', - '({{tollFreeAreaCode}}) {{exchangeCode}}-####', - '1-{{tollFreeAreaCode}}-{{exchangeCode}}-####', - '{{tollFreeAreaCode}}.{{exchangeCode}}.####', - ]; - - public function tollFreeAreaCode() - { - return self::randomElement(static::$tollFreeAreaCodes); - } - - public function tollFreePhoneNumber() - { - $format = self::randomElement(static::$tollFreeFormats); - - return self::numerify($this->generator->parse($format)); - } - - /** - * @return string - * - * @example '555-123-546 x123' - */ - public function phoneNumberWithExtension() - { - return static::numerify($this->generator->parse(static::randomElement(static::$formatsWithExtension))); - } - - /** - * NPA-format area code - * - * @see https://en.wikipedia.org/wiki/North_American_Numbering_Plan#Numbering_system - * - * @return string - */ - public static function areaCode() - { - $firstDigit = self::numberBetween(2, 9); - - return $firstDigit . self::regexify(self::$areaCodeRegexes[$firstDigit]); - } - - /** - * NXX-format central office exchange code - * - * @see https://en.wikipedia.org/wiki/North_American_Numbering_Plan#Numbering_system - * - * @return string - */ - public static function exchangeCode() - { - $digits[] = self::numberBetween(2, 9); - $digits[] = self::randomDigit(); - - if ($digits[1] === 1) { - $digits[] = self::randomDigitNot(1); - } else { - $digits[] = self::randomDigit(); - } - - return implode('', $digits); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array + */ + protected static $areaCodeRegexes = [ + 2 => '(0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])', + 3 => '(0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[167]|5[12]|6[014]|8[056])', + 4 => '(0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])', + 5 => '(0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])', + 6 => '(0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[017]|6[0-279]|78|8[0-29])', + 7 => '(0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])', + 8 => '(0[1-68]|1[02-8]|2[08]|3[0-28]|4[3578]|5[046-9]|6[02-5]|7[028])', + 9 => '(0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[0179]|5[12469]|7[0-389]|8[04-69])', + ]; + + /** + * @see https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers#United_States.2C_Canada.2C_and_other_NANP_countries + */ + protected static $formats = [ + // International format + '+1-{{areaCode}}-{{exchangeCode}}-####', + '+1 ({{areaCode}}) {{exchangeCode}}-####', + '+1-{{areaCode}}-{{exchangeCode}}-####', + '+1.{{areaCode}}.{{exchangeCode}}.####', + '+1{{areaCode}}{{exchangeCode}}####', + + // Standard formats + '{{areaCode}}-{{exchangeCode}}-####', + '({{areaCode}}) {{exchangeCode}}-####', + '1-{{areaCode}}-{{exchangeCode}}-####', + '{{areaCode}}.{{exchangeCode}}.####', + + '{{areaCode}}-{{exchangeCode}}-####', + '({{areaCode}}) {{exchangeCode}}-####', + '1-{{areaCode}}-{{exchangeCode}}-####', + '{{areaCode}}.{{exchangeCode}}.####', + ]; + + protected static $formatsWithExtension = [ + '{{areaCode}}-{{exchangeCode}}-#### x###', + '({{areaCode}}) {{exchangeCode}}-#### x###', + '1-{{areaCode}}-{{exchangeCode}}-#### x###', + '{{areaCode}}.{{exchangeCode}}.#### x###', + + '{{areaCode}}-{{exchangeCode}}-#### x####', + '({{areaCode}}) {{exchangeCode}}-#### x####', + '1-{{areaCode}}-{{exchangeCode}}-#### x####', + '{{areaCode}}.{{exchangeCode}}.#### x####', + + '{{areaCode}}-{{exchangeCode}}-#### x#####', + '({{areaCode}}) {{exchangeCode}}-#### x#####', + '1-{{areaCode}}-{{exchangeCode}}-#### x#####', + '{{areaCode}}.{{exchangeCode}}.#### x#####', + ]; + + protected static $e164Formats = [ + '+1{{areaCode}}{{exchangeCode}}####', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Toll-free_telephone_number#United_States + */ + protected static $tollFreeAreaCodes = [ + 800, + 844, + 855, + 866, + 877, + 888, + ]; + protected static $tollFreeFormats = [ + // Standard formats + '{{tollFreeAreaCode}}-{{exchangeCode}}-####', + '({{tollFreeAreaCode}}) {{exchangeCode}}-####', + '1-{{tollFreeAreaCode}}-{{exchangeCode}}-####', + '{{tollFreeAreaCode}}.{{exchangeCode}}.####', + ]; + + public function tollFreeAreaCode() { + return self::randomElement( static::$tollFreeAreaCodes ); + } + + public function tollFreePhoneNumber() { + $format = self::randomElement( static::$tollFreeFormats ); + + return self::numerify( $this->generator->parse( $format ) ); + } + + /** + * @return string + * + * @example '555-123-546 x123' + */ + public function phoneNumberWithExtension() { + return static::numerify( $this->generator->parse( static::randomElement( static::$formatsWithExtension ) ) ); + } + + /** + * NPA-format area code + * + * @see https://en.wikipedia.org/wiki/North_American_Numbering_Plan#Numbering_system + * + * @return string + */ + public static function areaCode() { + $firstDigit = self::numberBetween( 2, 9 ); + + return $firstDigit . self::regexify( self::$areaCodeRegexes[ $firstDigit ] ); + } + + /** + * NXX-format central office exchange code + * + * @see https://en.wikipedia.org/wiki/North_American_Numbering_Plan#Numbering_system + * + * @return string + */ + public static function exchangeCode() { + $digits[] = self::numberBetween( 2, 9 ); + $digits[] = self::randomDigit(); + + if ( $digits[1] === 1 ) { + $digits[] = self::randomDigitNot( 1 ); + } else { + $digits[] = self::randomDigit(); + } + + return implode( '', $digits ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_US/Text.php b/lib/fakerphp/faker/src/Faker/Provider/en_US/Text.php index c15d89d..a851df7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_US/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_US/Text.php @@ -2,41 +2,40 @@ namespace Faker\Provider\en_US; -class Text extends \Faker\Provider\Text -{ - /** - * Project Gutenberg's Alice's Adventures in Wonderland, by Lewis Carroll - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org - * - * - * Title: Alice's Adventures in Wonderland - * - * Author: Lewis Carroll - * - * Posting Date: June 25, 2008 [EBook #11] - * Release Date: March, 1994 - * [Last updated: December 20, 2011] - * - * Language: English - * - * - * *** START OF THIS PROJECT GUTENBERG EBOOK ALICE'S ADVENTURES IN WONDERLAND *** - * - * ALICE'S ADVENTURES IN WONDERLAND - * - * Lewis Carroll - * - * THE MILLENNIUM FULCRUM EDITION 3.0 - * - * @see http://www.gutenberg.org/cache/epub/11/pg11.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * Project Gutenberg's Alice's Adventures in Wonderland, by Lewis Carroll + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org + * + * + * Title: Alice's Adventures in Wonderland + * + * Author: Lewis Carroll + * + * Posting Date: June 25, 2008 [EBook #11] + * Release Date: March, 1994 + * [Last updated: December 20, 2011] + * + * Language: English + * + * + * *** START OF THIS PROJECT GUTENBERG EBOOK ALICE'S ADVENTURES IN WONDERLAND *** + * + * ALICE'S ADVENTURES IN WONDERLAND + * + * Lewis Carroll + * + * THE MILLENNIUM FULCRUM EDITION 3.0 + * + * @see http://www.gutenberg.org/cache/epub/11/pg11.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' CHAPTER I. Down the Rabbit-Hole Alice was beginning to get very tired of sitting by her sister on the @@ -3365,357 +3364,357 @@ class Text extends \Faker\Provider\Text THE END EOT; - /* - End of Project Gutenberg's Alice's Adventures in Wonderland, by Lewis Carroll - - *** END OF THIS PROJECT GUTENBERG EBOOK ALICE'S ADVENTURES IN WONDERLAND *** - - ***** This file should be named 11.txt or 11.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/1/11/ - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.org/license). - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.org - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.org), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, is critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including checks, online payments and credit card donations. - To donate, please visit: http://pglaf.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.org - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of Project Gutenberg's Alice's Adventures in Wonderland, by Lewis Carroll + + *** END OF THIS PROJECT GUTENBERG EBOOK ALICE'S ADVENTURES IN WONDERLAND *** + + ***** This file should be named 11.txt or 11.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/1/11/ + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.org/license). + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.org + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.org), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, is critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including checks, online payments and credit card donations. + To donate, please visit: http://pglaf.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.org + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Address.php b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Address.php index 881ba7b..b374b1c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Address.php @@ -2,69 +2,325 @@ namespace Faker\Provider\en_ZA; -class Address extends \Faker\Provider\en_US\Address -{ - protected static $cityPrefix = ['North', 'East', 'West', 'South', 'New', 'Lake', 'Port']; - protected static $citySuffix = ['fontein', 'town', 'ton', 'land', 'ville', 'berg', 'burgh', 'borough', 'bury', 'view', 'port', 'mouth', 'stad', 'furt', 'chester', 'mouth', 'fort', 'haven', 'side', 'shire']; - protected static $buildingNumber = ['%####', '%###', '%##']; - protected static $streetSuffix = [ - 'Alley', 'Avenue', 'Branch', 'Bridge', 'Brook', 'Brooks', 'Burg', 'Burgs', 'Bypass', 'Camp', 'Canyon', 'Cape', 'Causeway', 'Center', 'Centers', 'Circle', 'Circles', 'Cliff', 'Cliffs', 'Club', 'Common', 'Corner', 'Corners', 'Course', 'Court', 'Courts', 'Cove', 'Coves', 'Creek', 'Crescent', 'Crest', 'Crossing', 'Crossroad', 'Curve', 'Dale', 'Dam', 'Divide', 'Drive', 'Drive', 'Drives', 'Estate', 'Estates', 'Expressway', 'Extension', 'Extensions', 'Fall', 'Falls', 'Ferry', 'Field', 'Fields', 'Flat', 'Flats', 'Ford', 'Fords', 'Forest', 'Forge', 'Forges', 'Fork', 'Forks', 'Fort', 'Freeway', 'Garden', 'Gardens', 'Gateway', 'Glen', 'Glens', 'Green', 'Greens', 'Grove', 'Groves', 'Harbor', 'Harbors', 'Haven', 'Heights', 'Highway', 'Hill', 'Hills', 'Hollow', 'Inlet', 'Inlet', 'Island', 'Island', 'Islands', 'Islands', 'Isle', 'Isle', 'Junction', 'Junctions', 'Key', 'Keys', 'Knoll', 'Knolls', 'Lake', 'Lakes', 'Land', 'Landing', 'Lane', 'Light', 'Lights', 'Loaf', 'Lock', 'Locks', 'Locks', 'Lodge', 'Lodge', 'Loop', 'Mall', 'Manor', 'Manors', 'Meadow', 'Meadows', 'Mews', 'Mill', 'Mills', 'Mission', 'Mission', 'Motorway', 'Mount', 'Mountain', 'Mountain', 'Mountains', 'Mountains', 'Neck', 'Orchard', 'Oval', 'Overpass', 'Park', 'Parks', 'Parkway', 'Parkways', 'Pass', 'Passage', 'Path', 'Pike', 'Pine', 'Pines', 'Place', 'Plain', 'Plains', 'Plains', 'Plaza', 'Plaza', 'Point', 'Points', 'Port', 'Port', 'Ports', 'Ports', 'Prairie', 'Prairie', 'Radial', 'Ramp', 'Ranch', 'Rapid', 'Rapids', 'Rest', 'Ridge', 'Ridges', 'River', 'Road', 'Road', 'Roads', 'Roads', 'Route', 'Row', 'Rue', 'Run', 'Shoal', 'Shoals', 'Shore', 'Shores', 'Skyway', 'Spring', 'Springs', 'Springs', 'Spur', 'Spurs', 'Square', 'Square', 'Squares', 'Squares', 'Station', 'Station', 'Stravenue', 'Stravenue', 'Stream', 'Stream', 'Street', 'Street', 'Streets', 'Summit', 'Summit', 'Terrace', 'Throughway', 'Trace', 'Track', 'Trafficway', 'Trail', 'Trail', 'Tunnel', 'Tunnel', 'Turnpike', 'Turnpike', 'Underpass', 'Union', 'Unions', 'Valley', 'Valleys', 'Via', 'Viaduct', 'View', 'Views', 'Village', 'Village', 'Villages', 'Ville', 'Vista', 'Vista', 'Walk', 'Walks', 'Wall', 'Way', 'Ways', 'Well', 'Wells', - ]; - protected static $postcode = ['####']; - protected static $province = [ - 'Eastern Cape', 'Free State', 'Gauteng', 'KwaZulu-Natal', 'Limpopo', 'Mpumalanga', 'North-West', 'Northern Cape', 'Western Cape', - ]; - protected static $provinceAbbr = [ - 'EC', 'FS', 'GP', 'KZN', 'LP', 'MP', 'NW', 'NC', 'WC', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}}{{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{provinceAbbr}} {{postcode}}", - ]; - protected static $secondaryAddressFormats = ['Apt. ###', 'Suite ###']; +class Address extends \Faker\Provider\en_US\Address { + protected static $cityPrefix = [ 'North', 'East', 'West', 'South', 'New', 'Lake', 'Port' ]; + protected static $citySuffix = [ + 'fontein', + 'town', + 'ton', + 'land', + 'ville', + 'berg', + 'burgh', + 'borough', + 'bury', + 'view', + 'port', + 'mouth', + 'stad', + 'furt', + 'chester', + 'mouth', + 'fort', + 'haven', + 'side', + 'shire' + ]; + protected static $buildingNumber = [ '%####', '%###', '%##' ]; + protected static $streetSuffix = [ + 'Alley', + 'Avenue', + 'Branch', + 'Bridge', + 'Brook', + 'Brooks', + 'Burg', + 'Burgs', + 'Bypass', + 'Camp', + 'Canyon', + 'Cape', + 'Causeway', + 'Center', + 'Centers', + 'Circle', + 'Circles', + 'Cliff', + 'Cliffs', + 'Club', + 'Common', + 'Corner', + 'Corners', + 'Course', + 'Court', + 'Courts', + 'Cove', + 'Coves', + 'Creek', + 'Crescent', + 'Crest', + 'Crossing', + 'Crossroad', + 'Curve', + 'Dale', + 'Dam', + 'Divide', + 'Drive', + 'Drive', + 'Drives', + 'Estate', + 'Estates', + 'Expressway', + 'Extension', + 'Extensions', + 'Fall', + 'Falls', + 'Ferry', + 'Field', + 'Fields', + 'Flat', + 'Flats', + 'Ford', + 'Fords', + 'Forest', + 'Forge', + 'Forges', + 'Fork', + 'Forks', + 'Fort', + 'Freeway', + 'Garden', + 'Gardens', + 'Gateway', + 'Glen', + 'Glens', + 'Green', + 'Greens', + 'Grove', + 'Groves', + 'Harbor', + 'Harbors', + 'Haven', + 'Heights', + 'Highway', + 'Hill', + 'Hills', + 'Hollow', + 'Inlet', + 'Inlet', + 'Island', + 'Island', + 'Islands', + 'Islands', + 'Isle', + 'Isle', + 'Junction', + 'Junctions', + 'Key', + 'Keys', + 'Knoll', + 'Knolls', + 'Lake', + 'Lakes', + 'Land', + 'Landing', + 'Lane', + 'Light', + 'Lights', + 'Loaf', + 'Lock', + 'Locks', + 'Locks', + 'Lodge', + 'Lodge', + 'Loop', + 'Mall', + 'Manor', + 'Manors', + 'Meadow', + 'Meadows', + 'Mews', + 'Mill', + 'Mills', + 'Mission', + 'Mission', + 'Motorway', + 'Mount', + 'Mountain', + 'Mountain', + 'Mountains', + 'Mountains', + 'Neck', + 'Orchard', + 'Oval', + 'Overpass', + 'Park', + 'Parks', + 'Parkway', + 'Parkways', + 'Pass', + 'Passage', + 'Path', + 'Pike', + 'Pine', + 'Pines', + 'Place', + 'Plain', + 'Plains', + 'Plains', + 'Plaza', + 'Plaza', + 'Point', + 'Points', + 'Port', + 'Port', + 'Ports', + 'Ports', + 'Prairie', + 'Prairie', + 'Radial', + 'Ramp', + 'Ranch', + 'Rapid', + 'Rapids', + 'Rest', + 'Ridge', + 'Ridges', + 'River', + 'Road', + 'Road', + 'Roads', + 'Roads', + 'Route', + 'Row', + 'Rue', + 'Run', + 'Shoal', + 'Shoals', + 'Shore', + 'Shores', + 'Skyway', + 'Spring', + 'Springs', + 'Springs', + 'Spur', + 'Spurs', + 'Square', + 'Square', + 'Squares', + 'Squares', + 'Station', + 'Station', + 'Stravenue', + 'Stravenue', + 'Stream', + 'Stream', + 'Street', + 'Street', + 'Streets', + 'Summit', + 'Summit', + 'Terrace', + 'Throughway', + 'Trace', + 'Track', + 'Trafficway', + 'Trail', + 'Trail', + 'Tunnel', + 'Tunnel', + 'Turnpike', + 'Turnpike', + 'Underpass', + 'Union', + 'Unions', + 'Valley', + 'Valleys', + 'Via', + 'Viaduct', + 'View', + 'Views', + 'Village', + 'Village', + 'Villages', + 'Ville', + 'Vista', + 'Vista', + 'Walk', + 'Walks', + 'Wall', + 'Way', + 'Ways', + 'Well', + 'Wells', + ]; + protected static $postcode = [ '####' ]; + protected static $province = [ + 'Eastern Cape', + 'Free State', + 'Gauteng', + 'KwaZulu-Natal', + 'Limpopo', + 'Mpumalanga', + 'North-West', + 'Northern Cape', + 'Western Cape', + ]; + protected static $provinceAbbr = [ + 'EC', + 'FS', + 'GP', + 'KZN', + 'LP', + 'MP', + 'NW', + 'NC', + 'WC', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}}{{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{provinceAbbr}} {{postcode}}", + ]; + protected static $secondaryAddressFormats = [ 'Apt. ###', 'Suite ###' ]; - /** - * @example 'East' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'East' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Appt. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Gauteng' - */ - public static function province() - { - return static::randomElement(static::$province); - } + /** + * @example 'Gauteng' + */ + public static function province() { + return static::randomElement( static::$province ); + } - /** - * @example 'GP' - */ - public static function provinceAbbr() - { - return static::randomElement(static::$provinceAbbr); - } + /** + * @example 'GP' + */ + public static function provinceAbbr() { + return static::randomElement( static::$provinceAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Company.php b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Company.php index 6480c69..90bbe28 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Company.php @@ -2,25 +2,44 @@ namespace Faker\Provider\en_ZA; -class Company extends \Faker\Provider\Company -{ - protected static $legalEntities = [ - '01', '02', '06', '07', '08', '09', '10', '11', '12', '14', '15', '16', '17', '20', '21', '22', '23', '24', '25', - '26', '30', '31', '80', - ]; +class Company extends \Faker\Provider\Company { + protected static $legalEntities = [ + '01', + '02', + '06', + '07', + '08', + '09', + '10', + '11', + '12', + '14', + '15', + '16', + '17', + '20', + '21', + '22', + '23', + '24', + '25', + '26', + '30', + '31', + '80', + ]; - /** - * Return a valid company registration number. - * - * @return string - */ - public function companyNumber() - { - return sprintf( - '%s/%s/%s', - \Faker\Provider\DateTime::dateTimeBetween('-50 years', 'now')->format('Y'), - static::randomNumber(6, true), - static::randomElement(static::$legalEntities), - ); - } + /** + * Return a valid company registration number. + * + * @return string + */ + public function companyNumber() { + return sprintf( + '%s/%s/%s', + \Faker\Provider\DateTime::dateTimeBetween( '-50 years', 'now' )->format( 'Y' ), + static::randomNumber( 6, true ), + static::randomElement( static::$legalEntities ), + ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Internet.php index c222227..699e6b6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Internet.php @@ -2,22 +2,50 @@ namespace Faker\Provider\en_ZA; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'webmail.co.za', 'vodamail.co.za']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'webmail.co.za', 'vodamail.co.za' ]; - /** - * An array of South African TLDs. - * - * @see https://en.wikipedia.org/wiki/.za - * @see https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Africa - * - * @var array - */ - protected static $tld = [ - 'ac.za', 'africa', 'agric.za', 'capetown', 'co.za', 'co.za', 'co.za', 'co.za', 'com', 'com', - 'durban', 'ecape.school.za', 'edu.za', 'fs.school.za', 'gov.za', 'gp.school.za', 'grondar.za', - 'joburg', 'kzn.school.za', 'law.za', 'lp.school.za', 'mil.za', 'mpm.za', 'ncape.school.za', - 'net.za', 'net', 'nis.za', 'nom.za', 'nw.school.za', 'org.za', 'school.za', 'wcape.school.za', 'web.za', - ]; + /** + * An array of South African TLDs. + * + * @see https://en.wikipedia.org/wiki/.za + * @see https://en.wikipedia.org/wiki/List_of_Internet_top-level_domains#Africa + * + * @var array + */ + protected static $tld = [ + 'ac.za', + 'africa', + 'agric.za', + 'capetown', + 'co.za', + 'co.za', + 'co.za', + 'co.za', + 'com', + 'com', + 'durban', + 'ecape.school.za', + 'edu.za', + 'fs.school.za', + 'gov.za', + 'gp.school.za', + 'grondar.za', + 'joburg', + 'kzn.school.za', + 'law.za', + 'lp.school.za', + 'mil.za', + 'mpm.za', + 'ncape.school.za', + 'net.za', + 'net', + 'nis.za', + 'nom.za', + 'nw.school.za', + 'org.za', + 'school.za', + 'wcape.school.za', + 'web.za', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Person.php b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Person.php index df018d1..bb5291f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/Person.php @@ -4,180 +4,1148 @@ use Faker\Calculator\Luhn; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'Abraham', 'Adriaan', 'Adrian', 'Ahmed', 'Alan', 'Albert', 'Alex', 'Alexander', 'Alfred', 'Allan', 'Andile', 'Andre', 'Andrew', - 'André', 'Anthony', 'Anton', 'Arnold', 'Arthur', 'Ayanda', 'Barry', 'Ben', 'Benjamin', 'Bernard', 'Bongani', 'Bradley', - 'Brandon', 'Brent', 'Brett', 'Brian', 'Bruce', 'Bryan', 'Carel', 'Carl', 'Charl', 'Charles', 'Chris', 'Christiaan', - 'Christian', 'Christo', 'Christopher', 'Clifford', 'Clint', 'Clinton', 'Clive', 'Colin', 'Conrad', 'Cornelius', 'Craig', 'Daniel', - 'Darren', 'Dave', 'David', 'Dean', 'Dennis', 'Deon', 'Derek', 'Desmond', 'Dirk', 'Donald', 'Donovan', 'Douglas', - 'Edward', 'Edwin', 'Emmanuel', 'Eric', 'Ernest', 'Etienne', 'Eugene', 'Francis', 'Francois', 'Frank', 'Frans', 'Frederick', - 'Gabriel', 'Gareth', 'Garth', 'Gary', 'Gavin', 'George', 'Gerald', 'Gerhard', 'Gerrit', 'Gert', 'Gideon', 'Godfrey', - 'Gordon', 'Graham', 'Grant', 'Greg', 'Gregory', 'Hannes', 'Heinrich', 'Hendrik', 'Hennie', 'Henry', 'Herman', 'Ian', - 'Innocent', 'Isaac', 'Itumeleng', 'Ivan', 'Jabulani', 'Jaco', 'Jacob', 'Jacques', 'James', 'Jan', 'Jason', 'Jeffrey', - 'Jeremy', 'Jerome', 'Joe', 'Johan', 'Johann', 'Johannes', 'John', 'Jonathan', 'Joseph', 'Juan', 'Julian', 'Justin', - 'Keith', 'Kenneth', 'Kevin', 'Kgomotso', 'Kobus', 'Kyle', 'Lawrence', 'Lee', 'Leon', 'Leonard', 'Lloyd', 'Louis', - 'Lucas ', 'Lucky', 'Malcolm', 'Mandla', 'Marc', 'Marco', 'Mario', 'Marius', 'Mark', 'Martin', 'Matthew', 'Mduduzi', - 'Michael', 'Mike', 'Mogamat', 'Mohamed', 'Mohammed', 'Morne', 'Morné', 'Moses', 'Mr. ', 'Muhammad', 'Musa', 'Nathan', - 'Neil', 'Neo', 'Neville', 'Nicholas', 'Nick', 'Nico', 'Nigel', 'Nkululeko', 'Norman', 'Ntokozo', 'Patrick', 'Paul', - 'Peter', 'Petrus', 'Philip', 'Phillip', 'Pierre', 'Pieter', 'Prince', 'Raymond', 'Rene', 'René', 'Riaan', 'Ricardo', - 'Richard', 'Rob', 'Robert', 'Rodney', 'Roger', 'Ronald', 'Roy', 'Rudi', 'Russell', 'Ryan', 'Sam', 'Samuel', - 'Sandile', 'Sean', 'Shane', 'Shaun', 'Shawn', 'Sibusiso', 'Simon', 'Simone', 'Simphiwe', 'Siphiwe', 'Sipho', 'Siyabonga', - 'Sizwe', 'Stanley', 'Stefan', 'Stephan', 'Stephen', 'Steve', 'Steven', 'Stuart', 'Tebogo', 'Terence', 'Thabang', 'Thabiso', - 'Thabo', 'Thando', 'Thapelo', 'Themba', 'Theo', 'Thomas', 'Timothy', 'To ', 'Tony', 'Trevor', 'Tshepo', 'Tsholofelo', - 'Vernon', 'Victor', 'Vincent', 'Walter', 'Warren', 'Wayne', 'Werner', 'Wesley', 'Willem', 'William', 'Willie', 'Wynand', - 'Xolani', 'Yusuf', 'andries', 'barend', 'contact', 'dumisani', 'jacobus', 'kabelo', 'kagiso', 'karabo', 'lesego', 'marthinus', - 'mashudu', 'next', 'nhlanhla', 'nicolaas', 'nkosinathi', 'personal', 'sello', 'sifiso', 'takalani', 'teboho', 'thulani', 'tumelo', - 'vusi', 'your', - // below are unknown gender firstnames - 'Andries', 'Babalwa', 'Barend', 'Bulelwa', 'Contact ', 'Dumisani', 'Fikile', 'Jacobus', 'Kabelo', 'Kagiso', 'Karabo', 'Kelebogile', 'Lesego', - 'Lindiwe', 'Marthinus', 'Mashudu', 'Next', 'Nhlanhla', 'Nicolaas', 'Nkosinathi', 'Nompumelelo', 'Nonhlanhla', 'Nonkululeko', 'Nosipho', 'Nozipho', - 'Personal', 'Phumzile', 'Refiloe', 'Sello', 'Sibongile', 'Sifiso', 'Siphokazi', 'Takalani', 'Teboho', 'Thandeka', 'Thandi', 'Thembi', - 'Thulani', 'Tumelo', 'Unathi', 'Vusi', 'Vuyokazi', 'Yolandi', 'Your', 'Zandile', - ]; - - protected static $firstNameFemale = [ - 'Abigail', 'Adele', 'Alicia', 'Alison', 'Amanda', 'Andiswa', 'Andrea', 'Angela', 'Angelique', 'Anita', 'Anna', 'Anne', 'Anthea', - 'Antoinette', 'Asanda', 'Ashley', 'Aubrey', 'Barbara', 'Belinda', 'Beverley', 'Bianca', 'Boitumelo', 'Bongiwe', 'Brenda', 'Bronwyn', - 'Busisiwe', 'Candice', 'Carla', 'Carmen', 'Carol', 'Caroline', 'Catherine', 'Cecilia', 'Celeste', 'Chantal', 'Chantel', 'Chantelle', - 'Charlene', 'Charlotte', 'Charmaine', 'Cheryl', 'Christina', 'Christine', 'Cindy', 'Claire', 'Claudia', 'Colleen', 'Cynthia', 'Danie', - 'Danielle', 'Debbie', 'Deborah', 'Denise', 'Desiree', 'Diane', 'Dimakatso', 'Dineo', 'Duduzile', 'Elaine', 'Elizabeth', 'Estelle', - 'Esther ', 'Faith', 'Fatima', 'Fiona', 'Gail', 'Gillian', 'Gloria', 'Grace', 'Gugu', 'Gugulethu', 'Heather', 'Heidi', - 'Helen', 'Ingrid', 'Irene', 'Jackie', 'Jacqueline', 'Jane', 'Janet', 'Janine', 'Jean', 'Jeanette ', 'Jennifer', 'Jenny', - 'Jessica', 'Johanna', 'Joyce', 'Juanita', 'Judith', 'Julia', 'Julie', 'Karen', 'Karin', 'Katlego', 'Kelly', 'Kim', - 'Laura', 'Lauren', 'Lebogang', 'Lebohang', 'Lee-ann', 'Leigh', 'Lerato', 'Lesley', 'Liezel', 'Linda', 'Lisa', 'Lizelle', - 'Lorraine', 'Louise', 'Lungile', 'Lydia', 'Lynette', 'Lynn', 'Mandisa', 'Mandy', 'Margaret', 'Maria', 'Marlene', 'Martha', - 'Mary', 'Maureen', 'Mbali', 'Megan', 'Melanie', 'Melissa', 'Michelle', 'Miss', 'Monica', 'Monique', 'Mpho', 'Nadia', - 'Nadine', 'Natalie', 'Natasha', 'Nicola', 'Nicole', 'Nicolene', 'Nicolette', 'Nokuthula', 'Nomfundo', 'Nomsa', 'Nthabiseng', 'Olivia', - 'Palesa', 'Pamela', 'Patience', 'Patricia', 'Pearl', 'Phindile ', 'Portia', 'Precious', 'Priscilla', 'Prudence', 'Rachel', 'Rebecca', - 'Refilwe', 'Robin', 'Robyn', 'Ronel', 'Roxanne', 'Ruth', 'Samantha', 'Sandra', 'Sarah', 'Shannon', 'Sharon', 'Shirley', - 'Sonja', 'Stephanie', 'Susan', 'Sydney', 'Sylvia', 'Tania', 'Tanya', 'Taryn', 'Tasneem', 'Thato', 'Theresa', 'Tracey', - 'Tracy', 'Tshegofatso', 'Tshepiso', 'Ursula', 'Vanessa', 'Veronica', 'Victoria', 'Wendy', 'Yolanda', 'Yvette', 'Yvonne', 'Zama', - 'Zanele', 'Zelda', 'babalwa', 'bulelwa', 'fikile', 'kelebogile', 'lindiwe', 'nompumelelo', 'nonhlanhla', 'nonkululeko', 'nosipho', 'nozipho', - 'phumzile', 'refiloe', 'sibongile', 'siphokazi', 'thandeka', 'thandi', 'thembi', 'unathi', 'vuyokazi', 'yolandi', 'zandile', - // below are unknown gender firstnames - 'Andries', 'Babalwa', 'Barend', 'Bulelwa', 'Contact ', 'Dumisani', 'Fikile', 'Jacobus', 'Kabelo', 'Kagiso', 'Karabo', 'Kelebogile', 'Lesego', - 'Lindiwe', 'Marthinus', 'Mashudu', 'Next', 'Nhlanhla', 'Nicolaas', 'Nkosinathi', 'Nompumelelo', 'Nonhlanhla', 'Nonkululeko', 'Nosipho', 'Nozipho', - 'Personal', 'Phumzile', 'Refiloe', 'Sello', 'Sibongile', 'Sifiso', 'Siphokazi', 'Takalani', 'Teboho', 'Thandeka', 'Thandi', 'Thembi', - 'Thulani', 'Tumelo', 'Unathi', 'Vusi', 'Vuyokazi', 'Yolandi', 'Your', 'Zandile', - ]; - - protected static $lastName = [ - 'Naidoo', 'Govender', 'Pillay', 'Smith', 'Botha', 'van der Merwe', 'Jacobs', 'Moodley', 'Singh', 'Ndlovu', 'Dlamini', - 'Pretorius', 'Williams', 'Khumalo', 'du Plessis', 'Nkosi', 'Coetzee', 'Venter', 'Nel', 'Fourie', 'Van Wyk', 'Chetty', - 'Smit', 'Kruger', 'Van Zyl', 'Sithole', 'du Toit', 'Adams', 'van Niekerk', 'Reddy', 'Khan', 'Meyer', 'Mahlangu', 'Abrahams', - 'Mokoena', 'Erasmus', 'Dube', 'Louw', 'Le Roux', 'Steyn', 'Tshabalala', 'Swanepoel', 'Naicker', 'Marais', 'Joubert', - 'Baloyi', 'Petersen', 'Davids', 'Viljoen', 'Maharaj', 'Details', 'Swart', 'Radebe', 'Potgieter', 'van der Westhuizen', - 'Move', 'Strydom', 'Mkhize', 'Olivier', 'Du Preez', 'Van Rooyen', 'Brown', 'Engelbrecht', 'Oosthuizen', 'Hendricks', - 'Ngwenya', 'van der Walt', 'Johnson', 'Thomas', 'Van Heerden', 'Ngcobo', 'de Beer', 'Khoza', 'Barnard', 'Ferreira', - 'Muller', 'Mazibuko', 'Zulu', 'Moyo', 'Zwane', 'Maseko', 'Chauke', 'Bezuidenhout', 'De Villiers', 'Jones', 'Buthelezi', - 'Mthembu', 'Jordaan', 'Molefe', 'Mofokeng', 'Burger', 'Visser', 'Daniels', 'Maluleke', 'Pienaar', 'Martin', 'Cloete', - 'Prinsloo', 'Mathebula', 'Janse van Rensburg', 'Grobler', 'Wilson', 'Ncube', 'Gumede', 'Ngobeni', 'Moloi', 'Kekana', - 'Mhlongo', 'Mbatha', 'Nxumalo', 'Theron', 'Snyman', 'Phiri', 'Sibiya', 'Ntuli', 'Van Den Berg', 'Mabaso', 'Bester', - 'Isaacs', 'Labuschagne', 'Jansen', 'Pieterse', 'Vorster', 'De Wet', 'Schoeman', 'De Klerk', 'Groenewald', 'Sibanda', - 'Rossouw', 'Van Rensburg', 'Naidu', 'De Jager', 'van Staden', 'Scheepers', 'Nhlapo', 'Nkuna', 'Kotze', 'Mtshali', - 'Modise', 'Ismail', 'Van Schalkwyk', 'Padayachee', 'Taylor', 'Thompson', 'Motaung', 'Booysen', 'Patel', 'Harris', - 'Joseph', 'Mthethwa', 'Arendse', 'Vilakazi', 'Lombard', 'Roberts', 'Steenkamp', 'Roux', 'Gouws', 'Botes', 'De Kock', - 'Lewis', 'James', 'Mnisi', 'Mohamed', 'Africa', 'Wessels', 'Badenhorst', 'Miller', 'Hlongwane', 'Hlatshwayo', 'Vermeulen', - 'Kunene', 'Liebenberg', 'Alexander', 'Mudau', 'Myburgh', 'van Tonder', 'Hattingh', 'Mhlanga', 'Francis', 'Mkhwanazi', - 'Basson', 'Boshoff', 'Scott', 'Xaba', 'De Lange', 'Mphahlele', 'Ebrahim', 'Cele', 'Matlala', 'Beukes', 'Coetzer', - 'Nkomo', 'Ledwaba', 'Ndaba', 'Parker', 'Els', 'Green', 'Mnguni', 'Scholtz', 'King', 'Anderson', 'Langa', 'Mulaudzi', - 'Simelane', 'Jackson', 'Shabangu', 'Mostert', 'Dhlamini', 'Geldenhuys', 'Ngubane', 'Skosana', 'Bekker', 'Phillips', - 'Brits', 'Mahomed', 'Human', 'Peters', 'George', 'Cronje', 'Sibeko', 'Swartz', 'Jooste', 'Matthews', 'Du Plooy', - 'Roos', 'Van Vuuren', 'Esterhuizen', 'Masuku', 'Mabunda', 'Lawrence', 'Moses', 'Fisher', 'Visagie', 'Solomon', 'Naude', - 'Gerber', 'Campbell', 'Lubbe', 'Van Dyk', 'Vermaak', 'Kubheka', 'Malan', 'da Silva', 'White', 'Malatji', 'Mashaba', - 'Edwards', 'Banda', 'Greyling', 'Dreyer', 'Hadebe', 'Fredericks', 'Mdluli', 'Maritz', 'Zondi', 'Masemola', 'Mabasa', - 'Fortuin', 'Shabalala', 'Bosman', 'Brink', 'Ndhlovu', 'Moonsamy', 'Mogale', 'Tsotetsi', 'Mabena', 'Morris', 'Mitchell', - 'Morgan', 'Gordon', 'Robinson', 'Dladla', 'Kriel', 'Young', 'Moloto', 'Mabuza', 'Richards', 'Sibanyoni', 'Stevens', - 'Pather', 'Mngomezulu', 'Masango', 'Solomons', 'Mlambo', 'Shongwe', 'Mthombeni', 'Lourens', 'Zungu', 'Mamabolo', - 'Watson', 'Opperman', 'Stander', 'Nair', 'Twala', 'Uys', 'Letsoalo', 'Clark', 'Wright', 'Mohlala', 'Cupido', 'Delport', - 'Sibisi', 'Terblanche', 'Motloung', 'De Bruyn', 'Davis', 'Ndou', 'Bothma', 'Benjamin', 'Jansen van Vuuren', 'Rikhotso', - 'Majola', 'Pietersen', 'Mashego', 'Herbst', 'van Deventer', 'Conradie', 'Khanyile', 'Msibi', 'Mchunu', 'Buys', 'Malinga', - 'Britz', 'Bailey', 'Cilliers', 'Goosen', 'Walker', 'Schutte', 'Salie', 'Samuels', 'Davies', 'Nkabinde', 'Robertson', - 'Lee', 'Perumal', 'Mbele', 'Greeff', 'Brand', 'Manuel', 'Nyathi', 'Kumar', 'Moore', 'Masilela', 'Bell', 'Mohale', - 'Hill', 'Maree', 'Ross', 'Bouwer', 'Ellis', 'Kemp', 'Mpofu', 'Wood', 'Stewart', 'Ahmed', 'Peter', 'Slabbert', 'Nortje', - 'Murray', 'Van Aswegen', 'De Bruin', 'Collins', 'Blignaut', 'Van Der Berg', 'Modiba', 'Jonker', 'Hall', 'Mouton', - 'Allie', 'Van Jaarsveld', 'Minnaar', 'Street', 'Maake', 'Zondo', 'Koekemoer', 'Koen', 'Claassen', 'Khosa', 'Barnes', - 'Bosch', 'Mncube', 'Marx', 'Ntombela', 'Nell', 'Makhubela', 'Jansen van Rensburg', 'Evans', 'Clarke', 'Strauss', - 'Mokone', 'Moosa', 'Neethling', 'September', 'Madonsela', 'Willemse', 'Mashigo', 'Simpson', 'Otto', 'Legodi', 'Mlangeni', - 'Mokwena', 'Andrews', 'Mashele', 'Gounden', 'Zuma', 'Msomi', 'Ngema', 'Bennett', 'Baker', 'Ntshangase', 'Nene', - 'Magagula', 'Tladi', 'Xulu', 'Müller', 'Laubscher', 'Maluleka', 'May', 'Rautenbach', 'Ndebele', 'Grobbelaar', 'Henning', - 'Carstens', 'Maleka', 'Odendaal', 'Kok', 'Oliver', 'Cassim', 'Van Eeden', 'Lottering', 'Mavuso', 'Mashinini', 'Kumalo', - 'Mathe', 'Taljaard', 'Molepo', 'David', 'Shezi', 'Turner', 'Oberholzer', 'Motsepe', 'Alberts', 'Adonis', 'van den Heever', - 'van der Linde', 'Marshall', 'Hugo', 'Thwala', 'Park', 'Cooper', 'Nelson', 'John', 'Anthony', 'Adam', 'Naudé', 'Harrison', - 'Mulder', 'Enslin', 'Truter', 'Khuzwayo', 'Makhanya', 'Harmse', 'Loubser', 'Kleynhans', 'Paul', 'Nieuwoudt', 'Horn', - 'Vosloo', 'Wentzel', 'Munyai', 'Kelly', 'Walters', 'Nzimande', 'Hoosen', 'Mkhabela', 'Madlala', 'Saunders', 'Palmer', - 'Hughes', 'Hanekom', 'Ally', 'Schmidt', 'Butler', 'Mtsweni', 'Maphumulo', 'Manamela', 'Hoffman', 'Wolmarans', 'Duma', - 'Pule', 'Hlophe', 'Miya', 'Moagi', - ]; - - protected static $titleMale = ['Mr.', 'Dr.', 'Prof.', 'Rev.', 'Hon.']; - - protected static $titleFemale = ['Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.', 'Rev.', 'Hon.']; - - protected static $licenceCodes = ['A', 'A1', 'B', 'C', 'C1', 'C2', 'EB', 'EC', 'EC1', 'I', 'L', 'L1']; - - /** - * @see https://en.wikipedia.org/wiki/National_identification_number#South_Africa - * - * @param \DateTime $birthdate - * @param bool $citizen - * @param string $gender - * - * @return string - */ - public function idNumber(\DateTime $birthdate = null, $citizen = true, $gender = null) - { - if (!$birthdate) { - $birthdate = $this->generator->dateTimeThisCentury(); - } - $birthDateString = $birthdate->format('ymd'); - - switch (strtolower($gender ?: '')) { - case static::GENDER_FEMALE: - $genderDigit = self::numberBetween(0, 4); - - break; - - case static::GENDER_MALE: - $genderDigit = self::numberBetween(5, 9); - - break; - - default: - $genderDigit = self::numberBetween(0, 9); - } - $sequenceDigits = str_pad(self::randomNumber(3), 3, 0, STR_PAD_BOTH); - $citizenDigit = ($citizen === true) ? '0' : '1'; - $raceDigit = self::numberBetween(8, 9); - - $partialIdNumber = $birthDateString . $genderDigit . $sequenceDigits . $citizenDigit . $raceDigit; - - return $partialIdNumber . Luhn::computeCheckDigit($partialIdNumber); - } - - /** - * @see https://en.wikipedia.org/wiki/Driving_licence_in_South_Africa - * - * @return string - */ - public function licenceCode() - { - return static::randomElement(static::$licenceCodes); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'Abraham', + 'Adriaan', + 'Adrian', + 'Ahmed', + 'Alan', + 'Albert', + 'Alex', + 'Alexander', + 'Alfred', + 'Allan', + 'Andile', + 'Andre', + 'Andrew', + 'André', + 'Anthony', + 'Anton', + 'Arnold', + 'Arthur', + 'Ayanda', + 'Barry', + 'Ben', + 'Benjamin', + 'Bernard', + 'Bongani', + 'Bradley', + 'Brandon', + 'Brent', + 'Brett', + 'Brian', + 'Bruce', + 'Bryan', + 'Carel', + 'Carl', + 'Charl', + 'Charles', + 'Chris', + 'Christiaan', + 'Christian', + 'Christo', + 'Christopher', + 'Clifford', + 'Clint', + 'Clinton', + 'Clive', + 'Colin', + 'Conrad', + 'Cornelius', + 'Craig', + 'Daniel', + 'Darren', + 'Dave', + 'David', + 'Dean', + 'Dennis', + 'Deon', + 'Derek', + 'Desmond', + 'Dirk', + 'Donald', + 'Donovan', + 'Douglas', + 'Edward', + 'Edwin', + 'Emmanuel', + 'Eric', + 'Ernest', + 'Etienne', + 'Eugene', + 'Francis', + 'Francois', + 'Frank', + 'Frans', + 'Frederick', + 'Gabriel', + 'Gareth', + 'Garth', + 'Gary', + 'Gavin', + 'George', + 'Gerald', + 'Gerhard', + 'Gerrit', + 'Gert', + 'Gideon', + 'Godfrey', + 'Gordon', + 'Graham', + 'Grant', + 'Greg', + 'Gregory', + 'Hannes', + 'Heinrich', + 'Hendrik', + 'Hennie', + 'Henry', + 'Herman', + 'Ian', + 'Innocent', + 'Isaac', + 'Itumeleng', + 'Ivan', + 'Jabulani', + 'Jaco', + 'Jacob', + 'Jacques', + 'James', + 'Jan', + 'Jason', + 'Jeffrey', + 'Jeremy', + 'Jerome', + 'Joe', + 'Johan', + 'Johann', + 'Johannes', + 'John', + 'Jonathan', + 'Joseph', + 'Juan', + 'Julian', + 'Justin', + 'Keith', + 'Kenneth', + 'Kevin', + 'Kgomotso', + 'Kobus', + 'Kyle', + 'Lawrence', + 'Lee', + 'Leon', + 'Leonard', + 'Lloyd', + 'Louis', + 'Lucas ', + 'Lucky', + 'Malcolm', + 'Mandla', + 'Marc', + 'Marco', + 'Mario', + 'Marius', + 'Mark', + 'Martin', + 'Matthew', + 'Mduduzi', + 'Michael', + 'Mike', + 'Mogamat', + 'Mohamed', + 'Mohammed', + 'Morne', + 'Morné', + 'Moses', + 'Mr. ', + 'Muhammad', + 'Musa', + 'Nathan', + 'Neil', + 'Neo', + 'Neville', + 'Nicholas', + 'Nick', + 'Nico', + 'Nigel', + 'Nkululeko', + 'Norman', + 'Ntokozo', + 'Patrick', + 'Paul', + 'Peter', + 'Petrus', + 'Philip', + 'Phillip', + 'Pierre', + 'Pieter', + 'Prince', + 'Raymond', + 'Rene', + 'René', + 'Riaan', + 'Ricardo', + 'Richard', + 'Rob', + 'Robert', + 'Rodney', + 'Roger', + 'Ronald', + 'Roy', + 'Rudi', + 'Russell', + 'Ryan', + 'Sam', + 'Samuel', + 'Sandile', + 'Sean', + 'Shane', + 'Shaun', + 'Shawn', + 'Sibusiso', + 'Simon', + 'Simone', + 'Simphiwe', + 'Siphiwe', + 'Sipho', + 'Siyabonga', + 'Sizwe', + 'Stanley', + 'Stefan', + 'Stephan', + 'Stephen', + 'Steve', + 'Steven', + 'Stuart', + 'Tebogo', + 'Terence', + 'Thabang', + 'Thabiso', + 'Thabo', + 'Thando', + 'Thapelo', + 'Themba', + 'Theo', + 'Thomas', + 'Timothy', + 'To ', + 'Tony', + 'Trevor', + 'Tshepo', + 'Tsholofelo', + 'Vernon', + 'Victor', + 'Vincent', + 'Walter', + 'Warren', + 'Wayne', + 'Werner', + 'Wesley', + 'Willem', + 'William', + 'Willie', + 'Wynand', + 'Xolani', + 'Yusuf', + 'andries', + 'barend', + 'contact', + 'dumisani', + 'jacobus', + 'kabelo', + 'kagiso', + 'karabo', + 'lesego', + 'marthinus', + 'mashudu', + 'next', + 'nhlanhla', + 'nicolaas', + 'nkosinathi', + 'personal', + 'sello', + 'sifiso', + 'takalani', + 'teboho', + 'thulani', + 'tumelo', + 'vusi', + 'your', + // below are unknown gender firstnames + 'Andries', + 'Babalwa', + 'Barend', + 'Bulelwa', + 'Contact ', + 'Dumisani', + 'Fikile', + 'Jacobus', + 'Kabelo', + 'Kagiso', + 'Karabo', + 'Kelebogile', + 'Lesego', + 'Lindiwe', + 'Marthinus', + 'Mashudu', + 'Next', + 'Nhlanhla', + 'Nicolaas', + 'Nkosinathi', + 'Nompumelelo', + 'Nonhlanhla', + 'Nonkululeko', + 'Nosipho', + 'Nozipho', + 'Personal', + 'Phumzile', + 'Refiloe', + 'Sello', + 'Sibongile', + 'Sifiso', + 'Siphokazi', + 'Takalani', + 'Teboho', + 'Thandeka', + 'Thandi', + 'Thembi', + 'Thulani', + 'Tumelo', + 'Unathi', + 'Vusi', + 'Vuyokazi', + 'Yolandi', + 'Your', + 'Zandile', + ]; + + protected static $firstNameFemale = [ + 'Abigail', + 'Adele', + 'Alicia', + 'Alison', + 'Amanda', + 'Andiswa', + 'Andrea', + 'Angela', + 'Angelique', + 'Anita', + 'Anna', + 'Anne', + 'Anthea', + 'Antoinette', + 'Asanda', + 'Ashley', + 'Aubrey', + 'Barbara', + 'Belinda', + 'Beverley', + 'Bianca', + 'Boitumelo', + 'Bongiwe', + 'Brenda', + 'Bronwyn', + 'Busisiwe', + 'Candice', + 'Carla', + 'Carmen', + 'Carol', + 'Caroline', + 'Catherine', + 'Cecilia', + 'Celeste', + 'Chantal', + 'Chantel', + 'Chantelle', + 'Charlene', + 'Charlotte', + 'Charmaine', + 'Cheryl', + 'Christina', + 'Christine', + 'Cindy', + 'Claire', + 'Claudia', + 'Colleen', + 'Cynthia', + 'Danie', + 'Danielle', + 'Debbie', + 'Deborah', + 'Denise', + 'Desiree', + 'Diane', + 'Dimakatso', + 'Dineo', + 'Duduzile', + 'Elaine', + 'Elizabeth', + 'Estelle', + 'Esther ', + 'Faith', + 'Fatima', + 'Fiona', + 'Gail', + 'Gillian', + 'Gloria', + 'Grace', + 'Gugu', + 'Gugulethu', + 'Heather', + 'Heidi', + 'Helen', + 'Ingrid', + 'Irene', + 'Jackie', + 'Jacqueline', + 'Jane', + 'Janet', + 'Janine', + 'Jean', + 'Jeanette ', + 'Jennifer', + 'Jenny', + 'Jessica', + 'Johanna', + 'Joyce', + 'Juanita', + 'Judith', + 'Julia', + 'Julie', + 'Karen', + 'Karin', + 'Katlego', + 'Kelly', + 'Kim', + 'Laura', + 'Lauren', + 'Lebogang', + 'Lebohang', + 'Lee-ann', + 'Leigh', + 'Lerato', + 'Lesley', + 'Liezel', + 'Linda', + 'Lisa', + 'Lizelle', + 'Lorraine', + 'Louise', + 'Lungile', + 'Lydia', + 'Lynette', + 'Lynn', + 'Mandisa', + 'Mandy', + 'Margaret', + 'Maria', + 'Marlene', + 'Martha', + 'Mary', + 'Maureen', + 'Mbali', + 'Megan', + 'Melanie', + 'Melissa', + 'Michelle', + 'Miss', + 'Monica', + 'Monique', + 'Mpho', + 'Nadia', + 'Nadine', + 'Natalie', + 'Natasha', + 'Nicola', + 'Nicole', + 'Nicolene', + 'Nicolette', + 'Nokuthula', + 'Nomfundo', + 'Nomsa', + 'Nthabiseng', + 'Olivia', + 'Palesa', + 'Pamela', + 'Patience', + 'Patricia', + 'Pearl', + 'Phindile ', + 'Portia', + 'Precious', + 'Priscilla', + 'Prudence', + 'Rachel', + 'Rebecca', + 'Refilwe', + 'Robin', + 'Robyn', + 'Ronel', + 'Roxanne', + 'Ruth', + 'Samantha', + 'Sandra', + 'Sarah', + 'Shannon', + 'Sharon', + 'Shirley', + 'Sonja', + 'Stephanie', + 'Susan', + 'Sydney', + 'Sylvia', + 'Tania', + 'Tanya', + 'Taryn', + 'Tasneem', + 'Thato', + 'Theresa', + 'Tracey', + 'Tracy', + 'Tshegofatso', + 'Tshepiso', + 'Ursula', + 'Vanessa', + 'Veronica', + 'Victoria', + 'Wendy', + 'Yolanda', + 'Yvette', + 'Yvonne', + 'Zama', + 'Zanele', + 'Zelda', + 'babalwa', + 'bulelwa', + 'fikile', + 'kelebogile', + 'lindiwe', + 'nompumelelo', + 'nonhlanhla', + 'nonkululeko', + 'nosipho', + 'nozipho', + 'phumzile', + 'refiloe', + 'sibongile', + 'siphokazi', + 'thandeka', + 'thandi', + 'thembi', + 'unathi', + 'vuyokazi', + 'yolandi', + 'zandile', + // below are unknown gender firstnames + 'Andries', + 'Babalwa', + 'Barend', + 'Bulelwa', + 'Contact ', + 'Dumisani', + 'Fikile', + 'Jacobus', + 'Kabelo', + 'Kagiso', + 'Karabo', + 'Kelebogile', + 'Lesego', + 'Lindiwe', + 'Marthinus', + 'Mashudu', + 'Next', + 'Nhlanhla', + 'Nicolaas', + 'Nkosinathi', + 'Nompumelelo', + 'Nonhlanhla', + 'Nonkululeko', + 'Nosipho', + 'Nozipho', + 'Personal', + 'Phumzile', + 'Refiloe', + 'Sello', + 'Sibongile', + 'Sifiso', + 'Siphokazi', + 'Takalani', + 'Teboho', + 'Thandeka', + 'Thandi', + 'Thembi', + 'Thulani', + 'Tumelo', + 'Unathi', + 'Vusi', + 'Vuyokazi', + 'Yolandi', + 'Your', + 'Zandile', + ]; + + protected static $lastName = [ + 'Naidoo', + 'Govender', + 'Pillay', + 'Smith', + 'Botha', + 'van der Merwe', + 'Jacobs', + 'Moodley', + 'Singh', + 'Ndlovu', + 'Dlamini', + 'Pretorius', + 'Williams', + 'Khumalo', + 'du Plessis', + 'Nkosi', + 'Coetzee', + 'Venter', + 'Nel', + 'Fourie', + 'Van Wyk', + 'Chetty', + 'Smit', + 'Kruger', + 'Van Zyl', + 'Sithole', + 'du Toit', + 'Adams', + 'van Niekerk', + 'Reddy', + 'Khan', + 'Meyer', + 'Mahlangu', + 'Abrahams', + 'Mokoena', + 'Erasmus', + 'Dube', + 'Louw', + 'Le Roux', + 'Steyn', + 'Tshabalala', + 'Swanepoel', + 'Naicker', + 'Marais', + 'Joubert', + 'Baloyi', + 'Petersen', + 'Davids', + 'Viljoen', + 'Maharaj', + 'Details', + 'Swart', + 'Radebe', + 'Potgieter', + 'van der Westhuizen', + 'Move', + 'Strydom', + 'Mkhize', + 'Olivier', + 'Du Preez', + 'Van Rooyen', + 'Brown', + 'Engelbrecht', + 'Oosthuizen', + 'Hendricks', + 'Ngwenya', + 'van der Walt', + 'Johnson', + 'Thomas', + 'Van Heerden', + 'Ngcobo', + 'de Beer', + 'Khoza', + 'Barnard', + 'Ferreira', + 'Muller', + 'Mazibuko', + 'Zulu', + 'Moyo', + 'Zwane', + 'Maseko', + 'Chauke', + 'Bezuidenhout', + 'De Villiers', + 'Jones', + 'Buthelezi', + 'Mthembu', + 'Jordaan', + 'Molefe', + 'Mofokeng', + 'Burger', + 'Visser', + 'Daniels', + 'Maluleke', + 'Pienaar', + 'Martin', + 'Cloete', + 'Prinsloo', + 'Mathebula', + 'Janse van Rensburg', + 'Grobler', + 'Wilson', + 'Ncube', + 'Gumede', + 'Ngobeni', + 'Moloi', + 'Kekana', + 'Mhlongo', + 'Mbatha', + 'Nxumalo', + 'Theron', + 'Snyman', + 'Phiri', + 'Sibiya', + 'Ntuli', + 'Van Den Berg', + 'Mabaso', + 'Bester', + 'Isaacs', + 'Labuschagne', + 'Jansen', + 'Pieterse', + 'Vorster', + 'De Wet', + 'Schoeman', + 'De Klerk', + 'Groenewald', + 'Sibanda', + 'Rossouw', + 'Van Rensburg', + 'Naidu', + 'De Jager', + 'van Staden', + 'Scheepers', + 'Nhlapo', + 'Nkuna', + 'Kotze', + 'Mtshali', + 'Modise', + 'Ismail', + 'Van Schalkwyk', + 'Padayachee', + 'Taylor', + 'Thompson', + 'Motaung', + 'Booysen', + 'Patel', + 'Harris', + 'Joseph', + 'Mthethwa', + 'Arendse', + 'Vilakazi', + 'Lombard', + 'Roberts', + 'Steenkamp', + 'Roux', + 'Gouws', + 'Botes', + 'De Kock', + 'Lewis', + 'James', + 'Mnisi', + 'Mohamed', + 'Africa', + 'Wessels', + 'Badenhorst', + 'Miller', + 'Hlongwane', + 'Hlatshwayo', + 'Vermeulen', + 'Kunene', + 'Liebenberg', + 'Alexander', + 'Mudau', + 'Myburgh', + 'van Tonder', + 'Hattingh', + 'Mhlanga', + 'Francis', + 'Mkhwanazi', + 'Basson', + 'Boshoff', + 'Scott', + 'Xaba', + 'De Lange', + 'Mphahlele', + 'Ebrahim', + 'Cele', + 'Matlala', + 'Beukes', + 'Coetzer', + 'Nkomo', + 'Ledwaba', + 'Ndaba', + 'Parker', + 'Els', + 'Green', + 'Mnguni', + 'Scholtz', + 'King', + 'Anderson', + 'Langa', + 'Mulaudzi', + 'Simelane', + 'Jackson', + 'Shabangu', + 'Mostert', + 'Dhlamini', + 'Geldenhuys', + 'Ngubane', + 'Skosana', + 'Bekker', + 'Phillips', + 'Brits', + 'Mahomed', + 'Human', + 'Peters', + 'George', + 'Cronje', + 'Sibeko', + 'Swartz', + 'Jooste', + 'Matthews', + 'Du Plooy', + 'Roos', + 'Van Vuuren', + 'Esterhuizen', + 'Masuku', + 'Mabunda', + 'Lawrence', + 'Moses', + 'Fisher', + 'Visagie', + 'Solomon', + 'Naude', + 'Gerber', + 'Campbell', + 'Lubbe', + 'Van Dyk', + 'Vermaak', + 'Kubheka', + 'Malan', + 'da Silva', + 'White', + 'Malatji', + 'Mashaba', + 'Edwards', + 'Banda', + 'Greyling', + 'Dreyer', + 'Hadebe', + 'Fredericks', + 'Mdluli', + 'Maritz', + 'Zondi', + 'Masemola', + 'Mabasa', + 'Fortuin', + 'Shabalala', + 'Bosman', + 'Brink', + 'Ndhlovu', + 'Moonsamy', + 'Mogale', + 'Tsotetsi', + 'Mabena', + 'Morris', + 'Mitchell', + 'Morgan', + 'Gordon', + 'Robinson', + 'Dladla', + 'Kriel', + 'Young', + 'Moloto', + 'Mabuza', + 'Richards', + 'Sibanyoni', + 'Stevens', + 'Pather', + 'Mngomezulu', + 'Masango', + 'Solomons', + 'Mlambo', + 'Shongwe', + 'Mthombeni', + 'Lourens', + 'Zungu', + 'Mamabolo', + 'Watson', + 'Opperman', + 'Stander', + 'Nair', + 'Twala', + 'Uys', + 'Letsoalo', + 'Clark', + 'Wright', + 'Mohlala', + 'Cupido', + 'Delport', + 'Sibisi', + 'Terblanche', + 'Motloung', + 'De Bruyn', + 'Davis', + 'Ndou', + 'Bothma', + 'Benjamin', + 'Jansen van Vuuren', + 'Rikhotso', + 'Majola', + 'Pietersen', + 'Mashego', + 'Herbst', + 'van Deventer', + 'Conradie', + 'Khanyile', + 'Msibi', + 'Mchunu', + 'Buys', + 'Malinga', + 'Britz', + 'Bailey', + 'Cilliers', + 'Goosen', + 'Walker', + 'Schutte', + 'Salie', + 'Samuels', + 'Davies', + 'Nkabinde', + 'Robertson', + 'Lee', + 'Perumal', + 'Mbele', + 'Greeff', + 'Brand', + 'Manuel', + 'Nyathi', + 'Kumar', + 'Moore', + 'Masilela', + 'Bell', + 'Mohale', + 'Hill', + 'Maree', + 'Ross', + 'Bouwer', + 'Ellis', + 'Kemp', + 'Mpofu', + 'Wood', + 'Stewart', + 'Ahmed', + 'Peter', + 'Slabbert', + 'Nortje', + 'Murray', + 'Van Aswegen', + 'De Bruin', + 'Collins', + 'Blignaut', + 'Van Der Berg', + 'Modiba', + 'Jonker', + 'Hall', + 'Mouton', + 'Allie', + 'Van Jaarsveld', + 'Minnaar', + 'Street', + 'Maake', + 'Zondo', + 'Koekemoer', + 'Koen', + 'Claassen', + 'Khosa', + 'Barnes', + 'Bosch', + 'Mncube', + 'Marx', + 'Ntombela', + 'Nell', + 'Makhubela', + 'Jansen van Rensburg', + 'Evans', + 'Clarke', + 'Strauss', + 'Mokone', + 'Moosa', + 'Neethling', + 'September', + 'Madonsela', + 'Willemse', + 'Mashigo', + 'Simpson', + 'Otto', + 'Legodi', + 'Mlangeni', + 'Mokwena', + 'Andrews', + 'Mashele', + 'Gounden', + 'Zuma', + 'Msomi', + 'Ngema', + 'Bennett', + 'Baker', + 'Ntshangase', + 'Nene', + 'Magagula', + 'Tladi', + 'Xulu', + 'Müller', + 'Laubscher', + 'Maluleka', + 'May', + 'Rautenbach', + 'Ndebele', + 'Grobbelaar', + 'Henning', + 'Carstens', + 'Maleka', + 'Odendaal', + 'Kok', + 'Oliver', + 'Cassim', + 'Van Eeden', + 'Lottering', + 'Mavuso', + 'Mashinini', + 'Kumalo', + 'Mathe', + 'Taljaard', + 'Molepo', + 'David', + 'Shezi', + 'Turner', + 'Oberholzer', + 'Motsepe', + 'Alberts', + 'Adonis', + 'van den Heever', + 'van der Linde', + 'Marshall', + 'Hugo', + 'Thwala', + 'Park', + 'Cooper', + 'Nelson', + 'John', + 'Anthony', + 'Adam', + 'Naudé', + 'Harrison', + 'Mulder', + 'Enslin', + 'Truter', + 'Khuzwayo', + 'Makhanya', + 'Harmse', + 'Loubser', + 'Kleynhans', + 'Paul', + 'Nieuwoudt', + 'Horn', + 'Vosloo', + 'Wentzel', + 'Munyai', + 'Kelly', + 'Walters', + 'Nzimande', + 'Hoosen', + 'Mkhabela', + 'Madlala', + 'Saunders', + 'Palmer', + 'Hughes', + 'Hanekom', + 'Ally', + 'Schmidt', + 'Butler', + 'Mtsweni', + 'Maphumulo', + 'Manamela', + 'Hoffman', + 'Wolmarans', + 'Duma', + 'Pule', + 'Hlophe', + 'Miya', + 'Moagi', + ]; + + protected static $titleMale = [ 'Mr.', 'Dr.', 'Prof.', 'Rev.', 'Hon.' ]; + + protected static $titleFemale = [ 'Mrs.', 'Ms.', 'Miss', 'Dr.', 'Prof.', 'Rev.', 'Hon.' ]; + + protected static $licenceCodes = [ 'A', 'A1', 'B', 'C', 'C1', 'C2', 'EB', 'EC', 'EC1', 'I', 'L', 'L1' ]; + + /** + * @see https://en.wikipedia.org/wiki/National_identification_number#South_Africa + * + * @param \DateTime $birthdate + * @param bool $citizen + * @param string $gender + * + * @return string + */ + public function idNumber( \DateTime $birthdate = null, $citizen = true, $gender = null ) { + if ( ! $birthdate ) { + $birthdate = $this->generator->dateTimeThisCentury(); + } + $birthDateString = $birthdate->format( 'ymd' ); + + switch ( strtolower( $gender ?: '' ) ) { + case static::GENDER_FEMALE: + $genderDigit = self::numberBetween( 0, 4 ); + + break; + + case static::GENDER_MALE: + $genderDigit = self::numberBetween( 5, 9 ); + + break; + + default: + $genderDigit = self::numberBetween( 0, 9 ); + } + $sequenceDigits = str_pad( self::randomNumber( 3 ), 3, 0, STR_PAD_BOTH ); + $citizenDigit = ( $citizen === true ) ? '0' : '1'; + $raceDigit = self::numberBetween( 8, 9 ); + + $partialIdNumber = $birthDateString . $genderDigit . $sequenceDigits . $citizenDigit . $raceDigit; + + return $partialIdNumber . Luhn::computeCheckDigit( $partialIdNumber ); + } + + /** + * @see https://en.wikipedia.org/wiki/Driving_licence_in_South_Africa + * + * @return string + */ + public function licenceCode() { + return static::randomElement( static::$licenceCodes ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/PhoneNumber.php index 567631a..3d32a1a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/en_ZA/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/en_ZA/PhoneNumber.php @@ -2,115 +2,112 @@ namespace Faker\Provider\en_ZA; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+27({{areaCode}})#######', - '+27{{areaCode}}#######', - '0{{areaCode}}#######', - '0{{areaCode}} ### ####', - '0{{areaCode}}-###-####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+27({{areaCode}})#######', + '+27{{areaCode}}#######', + '0{{areaCode}}#######', + '0{{areaCode}} ### ####', + '0{{areaCode}}-###-####', + ]; - protected static $cellphoneFormats = [ - '+27{{cellphoneCode}}#######', - '0{{cellphoneCode}}#######', - '0{{cellphoneCode}} ### ####', - '0{{cellphoneCode}}-###-####', - ]; + protected static $cellphoneFormats = [ + '+27{{cellphoneCode}}#######', + '0{{cellphoneCode}}#######', + '0{{cellphoneCode}} ### ####', + '0{{cellphoneCode}}-###-####', + ]; - protected static $specialFormats = [ - '{{specialCode}}#######', - '{{specialCode}} ### ####', - '{{specialCode}}-###-####', - '({{specialCode}})###-####', - ]; + protected static $specialFormats = [ + '{{specialCode}}#######', + '{{specialCode}} ### ####', + '{{specialCode}}-###-####', + '({{specialCode}})###-####', + ]; - protected static $tollFreeAreaCodes = [ - '0800', '0860', '0861', '0862', - ]; + protected static $tollFreeAreaCodes = [ + '0800', + '0860', + '0861', + '0862', + ]; - /** - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa - */ - public static function areaCode() - { - $digits[] = self::numberBetween(1, 5); + /** + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa + */ + public static function areaCode() { + $digits[] = self::numberBetween( 1, 5 ); - switch ($digits[0]) { - case 1: - $digits[] = self::numberBetween(1, 8); + switch ( $digits[0] ) { + case 1: + $digits[] = self::numberBetween( 1, 8 ); - break; + break; - case 2: - $number = self::numberBetween(1, 8); - $digits[] = in_array($number, [5, 6], false) ? $number + 2 : $number; + case 2: + $number = self::numberBetween( 1, 8 ); + $digits[] = in_array( $number, [ 5, 6 ], false ) ? $number + 2 : $number; - break; + break; - case 3: - $number = self::numberBetween(1, 8); - $digits[] = in_array($number, [7, 8], false) ? $number - 2 : $number; + case 3: + $number = self::numberBetween( 1, 8 ); + $digits[] = in_array( $number, [ 7, 8 ], false ) ? $number - 2 : $number; - break; + break; - case 4: - $digits[] = self::numberBetween(1, 9); + case 4: + $digits[] = self::numberBetween( 1, 9 ); - break; + break; - case 5: - $number = self::numberBetween(1, 8); - $digits[] = in_array($number, [2, 5], false) ? $number + 2 : $number; + case 5: + $number = self::numberBetween( 1, 8 ); + $digits[] = in_array( $number, [ 2, 5 ], false ) ? $number + 2 : $number; - break; - } + break; + } - return implode('', $digits); - } + return implode( '', $digits ); + } - public static function cellphoneCode() - { - $digits[] = self::numberBetween(6, 8); + public static function cellphoneCode() { + $digits[] = self::numberBetween( 6, 8 ); - switch ($digits[0]) { - case 6: - $digits[] = self::numberBetween(0, 2); + switch ( $digits[0] ) { + case 6: + $digits[] = self::numberBetween( 0, 2 ); - break; + break; - case 7: - $number = self::numberBetween(1, 9); - $digits[] = in_array($number, [5, 7], false) ? $number + 1 : $number; + case 7: + $number = self::numberBetween( 1, 9 ); + $digits[] = in_array( $number, [ 5, 7 ], false ) ? $number + 1 : $number; - break; + break; - case 8: - $digits[] = self::numberBetween(1, 9); + case 8: + $digits[] = self::numberBetween( 1, 9 ); - break; - } + break; + } - return implode('', $digits); - } + return implode( '', $digits ); + } - public static function specialCode() - { - return static::randomElement(static::$tollFreeAreaCodes); - } + public static function specialCode() { + return static::randomElement( static::$tollFreeAreaCodes ); + } - public function mobileNumber() - { - $format = static::randomElement(static::$cellphoneFormats); + public function mobileNumber() { + $format = static::randomElement( static::$cellphoneFormats ); - return self::numerify($this->generator->parse($format)); - } + return self::numerify( $this->generator->parse( $format ) ); + } - public function tollFreeNumber() - { - $format = static::randomElement(static::$specialFormats); + public function tollFreeNumber() { + $format = static::randomElement( static::$specialFormats ); - return self::numerify($this->generator->parse($format)); - } + return self::numerify( $this->generator->parse( $format ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Address.php index 457f8ca..cdd0d1d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Address.php @@ -2,67 +2,126 @@ namespace Faker\Provider\es_AR; -class Address extends \Faker\Provider\es_ES\Address -{ - protected static $cityPrefix = ['San', 'Puerto', 'Villa', 'Gral.', 'Don']; - protected static $citySuffix = ['del Mar', 'del Norte', 'del Este', 'del Sur', 'del Oeste', 'del Mirador']; - protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%']; - protected static $streetSuffix = ['']; - protected static $postcode = ['####', '#####']; - protected static $state = [ - 'Buenos Aires', 'Catamarca', 'Chaco', 'Chubut', 'Córdoba', 'Corrientes', 'Entre Ríos', 'Formosa', 'Jujuy', 'La Pampa', 'La Rioja', 'Mendoza', 'Misiones', 'Neuquén', 'Río Negro', 'Salta', 'San Juan', 'San Luis', 'Santa Cruz', 'Santa Fe', 'Santiago del Estero', 'Tierra del Fuego, Antártida e Islas del Atlántico Sur', 'Tucumán', - ]; - protected static $stateAbbr = [ - 'AR-B', 'AR-K', 'AR-H', 'AR-U', 'AR-X', 'AR-W', 'AR-E', 'AR-P', 'AR-Y', 'AR-L', 'AR-F', 'AR-M', 'AR-N', 'AR-Q', 'AR-R', 'AR-A', 'AR-J', 'AR-D', 'AR-Z', 'AR-S', 'AR-G', 'AR-V', 'AR-T', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}} {{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}} {{citySuffix}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{stateAbbr}} {{postcode}}", - ]; - protected static $secondaryAddressFormats = ['Depto. ###', 'Hab. ###', 'Piso #', 'Piso ##', 'PB A', '# A', '# B', '# C', '# D', '# E', '# F', '## A', '## B', '## C', '## D', '## E', '## F', '# #', '## #']; +class Address extends \Faker\Provider\es_ES\Address { + protected static $cityPrefix = [ 'San', 'Puerto', 'Villa', 'Gral.', 'Don' ]; + protected static $citySuffix = [ 'del Mar', 'del Norte', 'del Este', 'del Sur', 'del Oeste', 'del Mirador' ]; + protected static $buildingNumber = [ '%####', '%###', '%##', '%#', '%' ]; + protected static $streetSuffix = [ '' ]; + protected static $postcode = [ '####', '#####' ]; + protected static $state = [ + 'Buenos Aires', + 'Catamarca', + 'Chaco', + 'Chubut', + 'Córdoba', + 'Corrientes', + 'Entre Ríos', + 'Formosa', + 'Jujuy', + 'La Pampa', + 'La Rioja', + 'Mendoza', + 'Misiones', + 'Neuquén', + 'Río Negro', + 'Salta', + 'San Juan', + 'San Luis', + 'Santa Cruz', + 'Santa Fe', + 'Santiago del Estero', + 'Tierra del Fuego, Antártida e Islas del Atlántico Sur', + 'Tucumán', + ]; + protected static $stateAbbr = [ + 'AR-B', + 'AR-K', + 'AR-H', + 'AR-U', + 'AR-X', + 'AR-W', + 'AR-E', + 'AR-P', + 'AR-Y', + 'AR-L', + 'AR-F', + 'AR-M', + 'AR-N', + 'AR-Q', + 'AR-R', + 'AR-A', + 'AR-J', + 'AR-D', + 'AR-Z', + 'AR-S', + 'AR-G', + 'AR-V', + 'AR-T', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}} {{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}} {{citySuffix}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{stateAbbr}} {{postcode}}", + ]; + protected static $secondaryAddressFormats = [ + 'Depto. ###', + 'Hab. ###', + 'Piso #', + 'Piso ##', + 'PB A', + '# A', + '# B', + '# C', + '# D', + '# E', + '# F', + '## A', + '## B', + '## C', + '## D', + '## E', + '## F', + '# #', + '## #' + ]; - /** - * @example 'San' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'San' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example '3ºA' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '3ºA' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Buenos Aires' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Buenos Aires' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'AR-B' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } + /** + * @example 'AR-B' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Company.php index f14d446..5ffa251 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Company.php @@ -2,67 +2,532 @@ namespace Faker\Provider\es_AR; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}} y {{lastName}}', - '{{lastName}} de {{lastName}}', - '{{lastName}}, {{lastName}} y {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}} y {{lastName}}', + '{{lastName}} de {{lastName}}', + '{{lastName}}, {{lastName}} y {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Adaptive', 'Advanced', 'Ameliorated', 'Assimilated', 'Automated', 'Balanced', 'Business-focused', 'Centralized', 'Cloned', 'Compatible', 'Configurable', 'Cross-group', 'Cross-platform', 'Customer-focused', 'Customizable', 'Decentralized', 'De-engineered', 'Devolved', 'Digitized', 'Distributed', 'Diverse', 'Down-sized', 'Enhanced', 'Enterprise-wide', 'Ergonomic', 'Exclusive', 'Expanded', 'Extended', 'Facetoface', 'Focused', 'Front-line', 'Fully-configurable', 'Function-based', 'Fundamental', 'Future-proofed', 'Grass-roots', 'Horizontal', 'Implemented', 'Innovative', 'Integrated', 'Intuitive', 'Inverse', 'Managed', 'Mandatory', 'Monitored', 'Multi-channelled', 'Multi-lateral', 'Multi-layered', 'Multi-tiered', 'Networked', 'Object-based', 'Open-architected', 'Open-source', 'Operative', 'Optimized', 'Optional', 'Organic', 'Organized', 'Persevering', 'Persistent', 'Phased', 'Polarised', 'Pre-emptive', 'Proactive', 'Profit-focused', 'Profound', 'Programmable', 'Progressive', 'Public-key', 'Quality-focused', 'Reactive', 'Realigned', 'Re-contextualized', 'Re-engineered', 'Reduced', 'Reverse-engineered', 'Right-sized', 'Robust', 'Seamless', 'Secured', 'Self-enabling', 'Sharable', 'Stand-alone', 'Streamlined', 'Switchable', 'Synchronised', 'Synergistic', 'Synergized', 'Team-oriented', 'Total', 'Triple-buffered', 'Universal', 'Up-sized', 'Upgradable', 'User-centric', 'User-friendly', 'Versatile', 'Virtual', 'Visionary', 'Vision-oriented', - ], - [ - '24hour', '24/7', '3rdgeneration', '4thgeneration', '5thgeneration', '6thgeneration', 'actuating', 'analyzing', 'assymetric', 'asynchronous', 'attitude-oriented', 'background', 'bandwidth-monitored', 'bi-directional', 'bifurcated', 'bottom-line', 'clear-thinking', 'client-driven', 'client-server', 'coherent', 'cohesive', 'composite', 'context-sensitive', 'contextually-based', 'content-based', 'dedicated', 'demand-driven', 'didactic', 'directional', 'discrete', 'disintermediate', 'dynamic', 'eco-centric', 'empowering', 'encompassing', 'even-keeled', 'executive', 'explicit', 'exuding', 'fault-tolerant', 'foreground', 'fresh-thinking', 'full-range', 'global', 'grid-enabled', 'heuristic', 'high-level', 'holistic', 'homogeneous', 'human-resource', 'hybrid', 'impactful', 'incremental', 'intangible', 'interactive', 'intermediate', 'leadingedge', 'local', 'logistical', 'maximized', 'methodical', 'mission-critical', 'mobile', 'modular', 'motivating', 'multimedia', 'multi-state', 'multi-tasking', 'national', 'needs-based', 'neutral', 'nextgeneration', 'non-volatile', 'object-oriented', 'optimal', 'optimizing', 'radical', 'real-time', 'reciprocal', 'regional', 'responsive', 'scalable', 'secondary', 'solution-oriented', 'stable', 'static', 'systematic', 'systemic', 'system-worthy', 'tangible', 'tertiary', 'transitional', 'uniform', 'upward-trending', 'user-facing', 'value-added', 'web-enabled', 'well-modulated', 'zeroadministration', 'zerodefect', 'zerotolerance', - ], - [ - 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Adaptive', + 'Advanced', + 'Ameliorated', + 'Assimilated', + 'Automated', + 'Balanced', + 'Business-focused', + 'Centralized', + 'Cloned', + 'Compatible', + 'Configurable', + 'Cross-group', + 'Cross-platform', + 'Customer-focused', + 'Customizable', + 'Decentralized', + 'De-engineered', + 'Devolved', + 'Digitized', + 'Distributed', + 'Diverse', + 'Down-sized', + 'Enhanced', + 'Enterprise-wide', + 'Ergonomic', + 'Exclusive', + 'Expanded', + 'Extended', + 'Facetoface', + 'Focused', + 'Front-line', + 'Fully-configurable', + 'Function-based', + 'Fundamental', + 'Future-proofed', + 'Grass-roots', + 'Horizontal', + 'Implemented', + 'Innovative', + 'Integrated', + 'Intuitive', + 'Inverse', + 'Managed', + 'Mandatory', + 'Monitored', + 'Multi-channelled', + 'Multi-lateral', + 'Multi-layered', + 'Multi-tiered', + 'Networked', + 'Object-based', + 'Open-architected', + 'Open-source', + 'Operative', + 'Optimized', + 'Optional', + 'Organic', + 'Organized', + 'Persevering', + 'Persistent', + 'Phased', + 'Polarised', + 'Pre-emptive', + 'Proactive', + 'Profit-focused', + 'Profound', + 'Programmable', + 'Progressive', + 'Public-key', + 'Quality-focused', + 'Reactive', + 'Realigned', + 'Re-contextualized', + 'Re-engineered', + 'Reduced', + 'Reverse-engineered', + 'Right-sized', + 'Robust', + 'Seamless', + 'Secured', + 'Self-enabling', + 'Sharable', + 'Stand-alone', + 'Streamlined', + 'Switchable', + 'Synchronised', + 'Synergistic', + 'Synergized', + 'Team-oriented', + 'Total', + 'Triple-buffered', + 'Universal', + 'Up-sized', + 'Upgradable', + 'User-centric', + 'User-friendly', + 'Versatile', + 'Virtual', + 'Visionary', + 'Vision-oriented', + ], + [ + '24hour', + '24/7', + '3rdgeneration', + '4thgeneration', + '5thgeneration', + '6thgeneration', + 'actuating', + 'analyzing', + 'assymetric', + 'asynchronous', + 'attitude-oriented', + 'background', + 'bandwidth-monitored', + 'bi-directional', + 'bifurcated', + 'bottom-line', + 'clear-thinking', + 'client-driven', + 'client-server', + 'coherent', + 'cohesive', + 'composite', + 'context-sensitive', + 'contextually-based', + 'content-based', + 'dedicated', + 'demand-driven', + 'didactic', + 'directional', + 'discrete', + 'disintermediate', + 'dynamic', + 'eco-centric', + 'empowering', + 'encompassing', + 'even-keeled', + 'executive', + 'explicit', + 'exuding', + 'fault-tolerant', + 'foreground', + 'fresh-thinking', + 'full-range', + 'global', + 'grid-enabled', + 'heuristic', + 'high-level', + 'holistic', + 'homogeneous', + 'human-resource', + 'hybrid', + 'impactful', + 'incremental', + 'intangible', + 'interactive', + 'intermediate', + 'leadingedge', + 'local', + 'logistical', + 'maximized', + 'methodical', + 'mission-critical', + 'mobile', + 'modular', + 'motivating', + 'multimedia', + 'multi-state', + 'multi-tasking', + 'national', + 'needs-based', + 'neutral', + 'nextgeneration', + 'non-volatile', + 'object-oriented', + 'optimal', + 'optimizing', + 'radical', + 'real-time', + 'reciprocal', + 'regional', + 'responsive', + 'scalable', + 'secondary', + 'solution-oriented', + 'stable', + 'static', + 'systematic', + 'systemic', + 'system-worthy', + 'tangible', + 'tertiary', + 'transitional', + 'uniform', + 'upward-trending', + 'user-facing', + 'value-added', + 'web-enabled', + 'well-modulated', + 'zeroadministration', + 'zerodefect', + 'zerotolerance', + ], + [ + 'ability', + 'access', + 'adapter', + 'algorithm', + 'alliance', + 'analyzer', + 'application', + 'approach', + 'architecture', + 'archive', + 'artificialintelligence', + 'array', + 'attitude', + 'benchmark', + 'budgetarymanagement', + 'capability', + 'capacity', + 'challenge', + 'circuit', + 'collaboration', + 'complexity', + 'concept', + 'conglomeration', + 'contingency', + 'core', + 'customerloyalty', + 'database', + 'data-warehouse', + 'definition', + 'emulation', + 'encoding', + 'encryption', + 'extranet', + 'firmware', + 'flexibility', + 'focusgroup', + 'forecast', + 'frame', + 'framework', + 'function', + 'functionalities', + 'GraphicInterface', + 'groupware', + 'GraphicalUserInterface', + 'hardware', + 'help-desk', + 'hierarchy', + 'hub', + 'implementation', + 'info-mediaries', + 'infrastructure', + 'initiative', + 'installation', + 'instructionset', + 'interface', + 'internetsolution', + 'intranet', + 'knowledgeuser', + 'knowledgebase', + 'localareanetwork', + 'leverage', + 'matrices', + 'matrix', + 'methodology', + 'middleware', + 'migration', + 'model', + 'moderator', + 'monitoring', + 'moratorium', + 'neural-net', + 'openarchitecture', + 'opensystem', + 'orchestration', + 'paradigm', + 'parallelism', + 'policy', + 'portal', + 'pricingstructure', + 'processimprovement', + 'product', + 'productivity', + 'project', + 'projection', + 'protocol', + 'securedline', + 'service-desk', + 'software', + 'solution', + 'standardization', + 'strategy', + 'structure', + 'success', + 'superstructure', + 'support', + 'synergy', + 'systemengine', + 'task-force', + 'throughput', + 'time-frame', + 'toolset', + 'utilisation', + 'website', + 'workforce', + ], + ]; - protected static $bsWords = [ - [ - 'implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform', 'embrace', 'enable', 'orchestrate', 'leverage', 'reinvent', 'aggregate', 'architect', 'enhance', 'incentivize', 'morph', 'empower', 'envisioneer', 'monetize', 'harness', 'facilitate', 'seize', 'disintermediate', 'synergize', 'strategize', 'deploy', 'brand', 'grow', 'target', 'syndicate', 'synthesize', 'deliver', 'mesh', 'incubate', 'engage', 'maximize', 'benchmark', 'expedite', 'reintermediate', 'whiteboard', 'visualize', 'repurpose', 'innovate', 'scale', 'unleash', 'drive', 'extend', 'engineer', 'revolutionize', 'generate', 'exploit', 'transition', 'e-enable', 'iterate', 'cultivate', 'matrix', 'productize', 'redefine', 'recontextualize', - ], - [ - 'clicks-and-mortar', 'value-added', 'vertical', 'proactive', 'robust', 'revolutionary', 'scalable', 'leading-edge', 'innovative', 'intuitive', 'strategic', 'e-business', 'mission-critical', 'sticky', 'one-to-one', '24/7', 'end-to-end', 'global', 'B2B', 'B2C', 'granular', 'frictionless', 'virtual', 'viral', 'dynamic', '24/365', 'best-of-breed', 'killer', 'magnetic', 'bleeding-edge', 'web-enabled', 'interactive', 'dot-com', 'sexy', 'back-end', 'real-time', 'efficient', 'front-end', 'distributed', 'seamless', 'extensible', 'turn-key', 'world-class', 'open-source', 'cross-platform', 'cross-media', 'synergistic', 'bricks-and-clicks', 'out-of-the-box', 'enterprise', 'integrated', 'impactful', 'wireless', 'transparent', 'next-generation', 'cutting-edge', 'user-centric', 'visionary', 'customized', 'ubiquitous', 'plug-and-play', 'collaborative', 'compelling', 'holistic', 'rich', - ], - [ - 'synergies', 'web-readiness', 'paradigms', 'markets', 'partnerships', 'infrastructures', 'platforms', 'initiatives', 'channels', 'eyeballs', 'communities', 'ROI', 'solutions', 'e-tailers', 'e-services', 'action-items', 'portals', 'niches', 'technologies', 'content', 'vortals', 'supply-chains', 'convergence', 'relationships', 'architectures', 'interfaces', 'e-markets', 'e-commerce', 'systems', 'bandwidth', 'infomediaries', 'models', 'mindshare', 'deliverables', 'users', 'schemas', 'networks', 'applications', 'metrics', 'e-business', 'functionalities', 'experiences', 'webservices', 'methodologies', - ], - ]; + protected static $bsWords = [ + [ + 'implement', + 'utilize', + 'integrate', + 'streamline', + 'optimize', + 'evolve', + 'transform', + 'embrace', + 'enable', + 'orchestrate', + 'leverage', + 'reinvent', + 'aggregate', + 'architect', + 'enhance', + 'incentivize', + 'morph', + 'empower', + 'envisioneer', + 'monetize', + 'harness', + 'facilitate', + 'seize', + 'disintermediate', + 'synergize', + 'strategize', + 'deploy', + 'brand', + 'grow', + 'target', + 'syndicate', + 'synthesize', + 'deliver', + 'mesh', + 'incubate', + 'engage', + 'maximize', + 'benchmark', + 'expedite', + 'reintermediate', + 'whiteboard', + 'visualize', + 'repurpose', + 'innovate', + 'scale', + 'unleash', + 'drive', + 'extend', + 'engineer', + 'revolutionize', + 'generate', + 'exploit', + 'transition', + 'e-enable', + 'iterate', + 'cultivate', + 'matrix', + 'productize', + 'redefine', + 'recontextualize', + ], + [ + 'clicks-and-mortar', + 'value-added', + 'vertical', + 'proactive', + 'robust', + 'revolutionary', + 'scalable', + 'leading-edge', + 'innovative', + 'intuitive', + 'strategic', + 'e-business', + 'mission-critical', + 'sticky', + 'one-to-one', + '24/7', + 'end-to-end', + 'global', + 'B2B', + 'B2C', + 'granular', + 'frictionless', + 'virtual', + 'viral', + 'dynamic', + '24/365', + 'best-of-breed', + 'killer', + 'magnetic', + 'bleeding-edge', + 'web-enabled', + 'interactive', + 'dot-com', + 'sexy', + 'back-end', + 'real-time', + 'efficient', + 'front-end', + 'distributed', + 'seamless', + 'extensible', + 'turn-key', + 'world-class', + 'open-source', + 'cross-platform', + 'cross-media', + 'synergistic', + 'bricks-and-clicks', + 'out-of-the-box', + 'enterprise', + 'integrated', + 'impactful', + 'wireless', + 'transparent', + 'next-generation', + 'cutting-edge', + 'user-centric', + 'visionary', + 'customized', + 'ubiquitous', + 'plug-and-play', + 'collaborative', + 'compelling', + 'holistic', + 'rich', + ], + [ + 'synergies', + 'web-readiness', + 'paradigms', + 'markets', + 'partnerships', + 'infrastructures', + 'platforms', + 'initiatives', + 'channels', + 'eyeballs', + 'communities', + 'ROI', + 'solutions', + 'e-tailers', + 'e-services', + 'action-items', + 'portals', + 'niches', + 'technologies', + 'content', + 'vortals', + 'supply-chains', + 'convergence', + 'relationships', + 'architectures', + 'interfaces', + 'e-markets', + 'e-commerce', + 'systems', + 'bandwidth', + 'infomediaries', + 'models', + 'mindshare', + 'deliverables', + 'users', + 'schemas', + 'networks', + 'applications', + 'metrics', + 'e-business', + 'functionalities', + 'experiences', + 'webservices', + 'methodologies', + ], + ]; - protected static $companySuffix = ['e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.']; + protected static $companySuffix = [ 'e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.' ]; - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Person.php index 30f6385..46f30d2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_AR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_AR/Person.php @@ -2,89 +2,889 @@ namespace Faker\Provider\es_AR; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - protected static $firstNameMale = [ - 'Aarón', 'Adrián', 'Agustín', 'Alan', 'Alejandro', 'Alex', 'Alexander', 'Alonso', 'Andrés', 'Anthony', 'Antonio', 'Axel', 'Benjamín', - 'Bruno', 'Camilo', 'Carlos', 'Christian', 'Christopher', 'Cristóbal', 'Damián', 'Daniel', 'Dante', 'David', 'Diego', 'Diego Alejandro', - 'Dylan', 'Eduardo', 'Elías', 'Emiliano', 'Emilio', 'Emmanuel', 'Esteban', 'Facundo', 'Felipe', 'Fernando', 'Francisco', 'Franco', - 'Gabriel', 'Gael', 'Hipólito', 'Horacio', 'Hugo', 'Ian', 'Ignacio', 'Isaac', 'Ivan', 'Jacobo', 'Javier', 'Jerónimo', - 'Jesús', 'Joaquín', 'Jorge', 'Joshua', 'Josué', 'José', 'Juan', 'Juan David', 'Juan Diego', 'Juan José', 'Juan Manuel', 'Juan Martín', - 'Juan Pablo', 'Juan Sebastián', 'Julián', 'Kevin', 'Lautaro', 'Leonardo', 'Lorenzo', 'Lucas', 'Luciano', 'Luis', 'Manuel', 'Mario', - 'Martín', 'Mateo', 'Matthew', 'Matías', 'Maximiliano', 'Miguel', 'Miguel Ángel', 'Máximo', 'Nahuel', 'Pablo', 'Pedro', 'Rafael', - 'Ricardo', 'Rodrigo', 'Samuel', 'Santiago', 'Santino', 'Sebastián', 'Sergio', 'Simón', 'Thiago', 'Tomas', 'Valentino', 'Valentín', - 'Vicente', 'Bautista', 'Juan Esteban', 'Hidalgo', - ]; + protected static $firstNameMale = [ + 'Aarón', + 'Adrián', + 'Agustín', + 'Alan', + 'Alejandro', + 'Alex', + 'Alexander', + 'Alonso', + 'Andrés', + 'Anthony', + 'Antonio', + 'Axel', + 'Benjamín', + 'Bruno', + 'Camilo', + 'Carlos', + 'Christian', + 'Christopher', + 'Cristóbal', + 'Damián', + 'Daniel', + 'Dante', + 'David', + 'Diego', + 'Diego Alejandro', + 'Dylan', + 'Eduardo', + 'Elías', + 'Emiliano', + 'Emilio', + 'Emmanuel', + 'Esteban', + 'Facundo', + 'Felipe', + 'Fernando', + 'Francisco', + 'Franco', + 'Gabriel', + 'Gael', + 'Hipólito', + 'Horacio', + 'Hugo', + 'Ian', + 'Ignacio', + 'Isaac', + 'Ivan', + 'Jacobo', + 'Javier', + 'Jerónimo', + 'Jesús', + 'Joaquín', + 'Jorge', + 'Joshua', + 'Josué', + 'José', + 'Juan', + 'Juan David', + 'Juan Diego', + 'Juan José', + 'Juan Manuel', + 'Juan Martín', + 'Juan Pablo', + 'Juan Sebastián', + 'Julián', + 'Kevin', + 'Lautaro', + 'Leonardo', + 'Lorenzo', + 'Lucas', + 'Luciano', + 'Luis', + 'Manuel', + 'Mario', + 'Martín', + 'Mateo', + 'Matthew', + 'Matías', + 'Maximiliano', + 'Miguel', + 'Miguel Ángel', + 'Máximo', + 'Nahuel', + 'Pablo', + 'Pedro', + 'Rafael', + 'Ricardo', + 'Rodrigo', + 'Samuel', + 'Santiago', + 'Santino', + 'Sebastián', + 'Sergio', + 'Simón', + 'Thiago', + 'Tomas', + 'Valentino', + 'Valentín', + 'Vicente', + 'Bautista', + 'Juan Esteban', + 'Hidalgo', + ]; - protected static $firstNameFemale = [ - 'Abigail', 'Abril', 'Adriana', 'Agustina', 'Alejandra', 'Alessandra', 'Alexa', 'Allison', 'Alma', 'Amanda', 'Amelia', 'Ana', 'Ana Paula', - 'Ana Sofía', 'Andrea', 'Antonella', 'Antonia', 'Ariadna', 'Ariana', 'Ashley', 'Bianca', 'Camila', 'Carla', 'Carolina', 'Catalina', - 'Clara', 'Constanza', 'Daniela', 'Delfina', 'Elena', 'Elizabeth', 'Emilia', 'Emily', 'Emma', 'Fabiana', 'Florencia', 'Fátima', - 'Gabriela', 'Guadalupe', 'Irene', 'Isabel', 'Isabella', 'Isidora', 'Ivanna', 'Jazmín', 'Josefa', 'Josefina', 'Juana', 'Julia', - 'Juliana', 'Julieta', 'Laura', 'Lola', 'Luana', 'Luciana', 'Lucía', 'Luna', 'Magdalena', 'Maite', 'Malena', 'Manuela', - 'Mariana', 'Mariangel', 'Martina', 'María', 'María Alejandra', 'María Camila', 'María Fernanda', 'María José', 'María Paula', 'Micaela', 'Michelle', 'Miranda', - 'Montserrat', 'Mía', 'Nadia', 'Natalia', 'Nicole', 'Oliva', 'Olivia', 'Ornela', 'Paula', 'Paulina', 'Rafaela', 'Rebeca', - 'Regina', 'Renata', 'Romina', 'Salomé', 'Samantha', 'Sara', 'Silvana', 'Sofía', 'Sophie', 'Valentina', 'Valeria', 'Valery', - 'Victoria', 'Violeta', 'Zoe', 'Aitana', 'Sara Sofía', 'Ximena', - ]; + protected static $firstNameFemale = [ + 'Abigail', + 'Abril', + 'Adriana', + 'Agustina', + 'Alejandra', + 'Alessandra', + 'Alexa', + 'Allison', + 'Alma', + 'Amanda', + 'Amelia', + 'Ana', + 'Ana Paula', + 'Ana Sofía', + 'Andrea', + 'Antonella', + 'Antonia', + 'Ariadna', + 'Ariana', + 'Ashley', + 'Bianca', + 'Camila', + 'Carla', + 'Carolina', + 'Catalina', + 'Clara', + 'Constanza', + 'Daniela', + 'Delfina', + 'Elena', + 'Elizabeth', + 'Emilia', + 'Emily', + 'Emma', + 'Fabiana', + 'Florencia', + 'Fátima', + 'Gabriela', + 'Guadalupe', + 'Irene', + 'Isabel', + 'Isabella', + 'Isidora', + 'Ivanna', + 'Jazmín', + 'Josefa', + 'Josefina', + 'Juana', + 'Julia', + 'Juliana', + 'Julieta', + 'Laura', + 'Lola', + 'Luana', + 'Luciana', + 'Lucía', + 'Luna', + 'Magdalena', + 'Maite', + 'Malena', + 'Manuela', + 'Mariana', + 'Mariangel', + 'Martina', + 'María', + 'María Alejandra', + 'María Camila', + 'María Fernanda', + 'María José', + 'María Paula', + 'Micaela', + 'Michelle', + 'Miranda', + 'Montserrat', + 'Mía', + 'Nadia', + 'Natalia', + 'Nicole', + 'Oliva', + 'Olivia', + 'Ornela', + 'Paula', + 'Paulina', + 'Rafaela', + 'Rebeca', + 'Regina', + 'Renata', + 'Romina', + 'Salomé', + 'Samantha', + 'Sara', + 'Silvana', + 'Sofía', + 'Sophie', + 'Valentina', + 'Valeria', + 'Valery', + 'Victoria', + 'Violeta', + 'Zoe', + 'Aitana', + 'Sara Sofía', + 'Ximena', + ]; - protected static $lastName = [ - 'Abeyta', 'Abrego', 'Abreu', 'Acevedo', 'Acosta', 'Acuña', 'Adame', 'Adorno', 'Agosto', 'Aguayo', 'Águilar', 'Aguilera', 'Aguirre', 'Alanis', 'Alaniz', 'Alarcón', 'Alba', 'Alcala', 'Alcántar', 'Alcaraz', 'Alejandro', 'Alemán', 'Alfaro', 'Alicea', 'Almanza', 'Almaraz', 'Almonte', 'Alonso', 'Alonzo', 'Altamirano', 'Alva', 'Alvarado', 'Álvarez', 'Amador', 'Amaya', 'Anaya', 'Anguiano', 'Angulo', 'Aparicio', 'Apodaca', 'Aponte', 'Aragón', 'Araña', 'Aranda', 'Arce', 'Archuleta', 'Arellano', 'Arenas', 'Arevalo', 'Arguello', 'Arias', 'Armas', 'Armendáriz', 'Armenta', 'Armijo', 'Arredondo', 'Arreola', 'Arriaga', 'Arroyo', 'Arteaga', 'Atencio', 'Ávalos', 'Ávila', 'Avilés', 'Ayala', - 'Baca', 'Badillo', 'Báez', 'Baeza', 'Bahena', 'Balderas', 'Ballesteros', 'Banda', 'Bañuelos', 'Barajas', 'Barela', 'Barragán', 'Barraza', 'Barrera', 'Barreto', 'Barrientos', 'Barrios', 'Batista', 'Becerra', 'Beltrán', 'Benavides', 'Benavídez', 'Benítez', 'Bermúdez', 'Bernal', 'Berríos', 'Bétancourt', 'Blanco', 'Bonilla', 'Borrego', 'Botello', 'Bravo', 'Briones', 'Briseño', 'Brito', 'Bueno', 'Burgos', 'Bustamante', 'Bustos', - 'Caballero', 'Cabán', 'Cabrera', 'Cadena', 'Caldera', 'Calderón', 'Calvillo', 'Camacho', 'Camarillo', 'Campos', 'Canales', 'Candelaria', 'Cano', 'Cantú', 'Caraballo', 'Carbajal', 'Cardenas', 'Cardona', 'Carmona', 'Carranza', 'Carrasco', 'Carrasquillo', 'Carreón', 'Carrera', 'Carrero', 'Carrillo', 'Carrion', 'Carvajal', 'Casanova', 'Casares', 'Casárez', 'Casas', 'Casillas', 'Castañeda', 'Castellanos', 'Castillo', 'Castro', 'Cavazos', 'Cazares', 'Ceballos', 'Cedillo', 'Ceja', 'Centeno', 'Cepeda', 'Cerda', 'Cervantes', 'Cervántez', 'Chacón', 'Chapa', 'Chavarría', 'Chávez', 'Cintrón', 'Cisneros', 'Collado', 'Collazo', 'Colón', 'Colunga', 'Concepción', 'Contreras', 'Cordero', 'Córdova', 'Cornejo', 'Corona', 'Coronado', 'Corral', 'Corrales', 'Correa', 'Cortés', 'Cortez', 'Cotto', 'Covarrubias', 'Crespo', 'Cruz', 'Cuellar', 'Curiel', - 'Dávila', 'de Anda', 'de Jesús', 'Delacrúz', 'Delafuente', 'Delagarza', 'Delao', 'Delapaz', 'Delarosa', 'Delatorre', 'Deleón', 'Delgadillo', 'Delgado', 'Delrío', 'Delvalle', 'Díaz', 'Domínguez', 'Domínquez', 'Duarte', 'Dueñas', 'Duran', - 'Echevarría', 'Elizondo', 'Enríquez', 'Escalante', 'Escamilla', 'Escobar', 'Escobedo', 'Esparza', 'Espinal', 'Espino', 'Espinosa', 'Espinoza', 'Esquibel', 'Esquivel', 'Estévez', 'Estrada', - 'Fajardo', 'Farías', 'Feliciano', 'Fernández', 'Ferrer', 'Fierro', 'Figueroa', 'Flores', 'Flórez', 'Fonseca', 'Franco', 'Frías', 'Fuentes', - 'Gaitán', 'Galarza', 'Galindo', 'Gallardo', 'Gallegos', 'Galván', 'Gálvez', 'Gamboa', 'Gamez', 'Gaona', 'Garay', 'García', 'Garibay', 'Garica', 'Garrido', 'Garza', 'Gastélum', 'Gaytán', 'Gil', 'Girón', 'Godínez', 'Godoy', 'Gómez', 'Gonzales', 'González', 'Gracia', 'Granado', 'Granados', 'Griego', 'Grijalva', 'Guajardo', 'Guardado', 'Guerra', 'Guerrero', 'Guevara', 'Guillen', 'Gurule', 'Gutiérrez', 'Guzmán', - 'Haro', 'Henríquez', 'Heredia', 'Hernádez', 'Hernandes', 'Hernández', 'Herrera', 'Hidalgo', 'Hinojosa', 'Holguín', 'Huerta', 'Hurtado', - 'Ibarra', 'Iglesias', 'Irizarry', - 'Jaime', 'Jaimes', 'Jáquez', 'Jaramillo', 'Jasso', 'Jiménez', 'Jimínez', 'Juárez', 'Jurado', - 'Laboy', 'Lara', 'Laureano', 'Leal', 'Lebrón', 'Ledesma', 'Leiva', 'Lemus', 'León', 'Lerma', 'Leyva', 'Limón', 'Linares', 'Lira', 'Llamas', 'Loera', 'Lomeli', 'Longoria', 'López', 'Lovato', 'Loya', 'Lozada', 'Lozano', 'Lucero', 'Lucio', 'Luevano', 'Lugo', 'Luján', 'Luna', - 'Macías', 'Madera', 'Madrid', 'Madrigal', 'Maestas', 'Magaña', 'Malave', 'Maldonado', 'Manzanares', 'Mares', 'Marín', 'Márquez', 'Marrero', 'Marroquín', 'Martínez', 'Mascareñas', 'Mata', 'Mateo', 'Matías', 'Matos', 'Maya', 'Mayorga', 'Medina', 'Medrano', 'Mejía', 'Meléndez', 'Melgar', 'Mena', 'Menchaca', 'Méndez', 'Mendoza', 'Menéndez', 'Meraz', 'Mercado', 'Merino', 'Mesa', 'Meza', 'Miramontes', 'Miranda', 'Mireles', 'Mojica', 'Molina', 'Mondragón', 'Monroy', 'Montalvo', 'Montañez', 'Montaño', 'Montemayor', 'Montenegro', 'Montero', 'Montes', 'Montez', 'Montoya', 'Mora', 'Morales', 'Moreno', 'Mota', 'Moya', 'Munguía', 'Muñiz', 'Muñoz', 'Murillo', 'Muro', - 'Nájera', 'Naranjo', 'Narváez', 'Nava', 'Navarrete', 'Navarro', 'Nazario', 'Negrete', 'Negrón', 'Nevárez', 'Nieto', 'Nieves', 'Niño', 'Noriega', 'Núñez', - 'Ocampo', 'Ocasio', 'Ochoa', 'Ojeda', 'Olivares', 'Olivárez', 'Olivas', 'Olivera', 'Olivo', 'Olmos', 'Olvera', 'Ontiveros', 'Oquendo', 'Ordóñez', 'Orellana', 'Ornelas', 'Orosco', 'Orozco', 'Orta', 'Ortega', 'Ortiz', 'Osorio', 'Otero', 'Ozuna', - 'Pabón', 'Pacheco', 'Padilla', 'Padrón', 'Páez', 'Pagan', 'Palacios', 'Palomino', 'Palomo', 'Pantoja', 'Paredes', 'Parra', 'Partida', 'Patiño', 'Paz', 'Pedraza', 'Pedroza', 'Pelayo', 'Peña', 'Perales', 'Peralta', 'Perea', 'Peres', 'Pérez', 'Pichardo', 'Piña', 'Pineda', 'Pizarro', 'Polanco', 'Ponce', 'Porras', 'Portillo', 'Posada', 'Prado', 'Preciado', 'Prieto', 'Puente', 'Puga', 'Pulido', - 'Quesada', 'Quezada', 'Quiñones', 'Quiñónez', 'Quintana', 'Quintanilla', 'Quintero', 'Quiroz', - 'Rael', 'Ramírez', 'Ramón', 'Ramos', 'Rangel', 'Rascón', 'Raya', 'Razo', 'Regalado', 'Rendón', 'Rentería', 'Reséndez', 'Reyes', 'Reyna', 'Reynoso', 'Rico', 'Rincón', 'Riojas', 'Ríos', 'Rivas', 'Rivera', 'Rivero', 'Robledo', 'Robles', 'Rocha', 'Rodarte', 'Rodrígez', 'Rodríguez', 'Rodríquez', 'Rojas', 'Rojo', 'Roldán', 'Rolón', 'Romero', 'Romo', 'Roque', 'Rosado', 'Rosales', 'Rosario', 'Rosas', 'Roybal', 'Rubio', 'Ruelas', 'Ruiz', 'Ruvalcaba', - 'Saavedra', 'Sáenz', 'Saiz', 'Salas', 'Salazar', 'Salcedo', 'Salcido', 'Saldaña', 'Saldivar', 'Salgado', 'Salinas', 'Samaniego', 'Sanabria', 'Sanches', 'Sánchez', 'Sandoval', 'Santacruz', 'Santana', 'Santiago', 'Santillán', 'Sarabia', 'Sauceda', 'Saucedo', 'Sedillo', 'Segovia', 'Segura', 'Sepúlveda', 'Serna', 'Serrano', 'Serrato', 'Sevilla', 'Sierra', 'Sisneros', 'Solano', 'Solís', 'Soliz', 'Solorio', 'Solorzano', 'Soria', 'Sosa', 'Sotelo', 'Soto', 'Suárez', - 'Tafoya', 'Tamayo', 'Tamez', 'Tapia', 'Tejada', 'Tejeda', 'Téllez', 'Tello', 'Terán', 'Terrazas', 'Tijerina', 'Tirado', 'Toledo', 'Toro', 'Torres', 'Tórrez', 'Tovar', 'Trejo', 'Treviño', 'Trujillo', - 'Ulibarri', 'Ulloa', 'Urbina', 'Ureña', 'Urías', 'Uribe', 'Urrutia', - 'Vaca', 'Valadez', 'Valdés', 'Valdez', 'Valdivia', 'Valencia', 'Valentín', 'Valenzuela', 'Valladares', 'Valle', 'Vallejo', 'Valles', 'Valverde', 'Vanegas', 'Varela', 'Vargas', 'Vásquez', 'Vázquez', 'Vega', 'Vela', 'Velasco', 'Velásquez', 'Velázquez', 'Vélez', 'Véliz', 'Venegas', 'Vera', 'Verdugo', 'Verduzco', 'Vergara', 'Viera', 'Vigil', 'Villa', 'Villagómez', 'Villalobos', 'Villalpando', 'Villanueva', 'Villareal', 'Villarreal', 'Villaseñor', 'Villegas', - 'Yáñez', 'Ybarra', - 'Zambrano', 'Zamora', 'Zamudio', 'Zapata', 'Zaragoza', 'Zarate', 'Zavala', 'Zayas', 'Zelaya', 'Zepeda', 'Zúñiga', - ]; + protected static $lastName = [ + 'Abeyta', + 'Abrego', + 'Abreu', + 'Acevedo', + 'Acosta', + 'Acuña', + 'Adame', + 'Adorno', + 'Agosto', + 'Aguayo', + 'Águilar', + 'Aguilera', + 'Aguirre', + 'Alanis', + 'Alaniz', + 'Alarcón', + 'Alba', + 'Alcala', + 'Alcántar', + 'Alcaraz', + 'Alejandro', + 'Alemán', + 'Alfaro', + 'Alicea', + 'Almanza', + 'Almaraz', + 'Almonte', + 'Alonso', + 'Alonzo', + 'Altamirano', + 'Alva', + 'Alvarado', + 'Álvarez', + 'Amador', + 'Amaya', + 'Anaya', + 'Anguiano', + 'Angulo', + 'Aparicio', + 'Apodaca', + 'Aponte', + 'Aragón', + 'Araña', + 'Aranda', + 'Arce', + 'Archuleta', + 'Arellano', + 'Arenas', + 'Arevalo', + 'Arguello', + 'Arias', + 'Armas', + 'Armendáriz', + 'Armenta', + 'Armijo', + 'Arredondo', + 'Arreola', + 'Arriaga', + 'Arroyo', + 'Arteaga', + 'Atencio', + 'Ávalos', + 'Ávila', + 'Avilés', + 'Ayala', + 'Baca', + 'Badillo', + 'Báez', + 'Baeza', + 'Bahena', + 'Balderas', + 'Ballesteros', + 'Banda', + 'Bañuelos', + 'Barajas', + 'Barela', + 'Barragán', + 'Barraza', + 'Barrera', + 'Barreto', + 'Barrientos', + 'Barrios', + 'Batista', + 'Becerra', + 'Beltrán', + 'Benavides', + 'Benavídez', + 'Benítez', + 'Bermúdez', + 'Bernal', + 'Berríos', + 'Bétancourt', + 'Blanco', + 'Bonilla', + 'Borrego', + 'Botello', + 'Bravo', + 'Briones', + 'Briseño', + 'Brito', + 'Bueno', + 'Burgos', + 'Bustamante', + 'Bustos', + 'Caballero', + 'Cabán', + 'Cabrera', + 'Cadena', + 'Caldera', + 'Calderón', + 'Calvillo', + 'Camacho', + 'Camarillo', + 'Campos', + 'Canales', + 'Candelaria', + 'Cano', + 'Cantú', + 'Caraballo', + 'Carbajal', + 'Cardenas', + 'Cardona', + 'Carmona', + 'Carranza', + 'Carrasco', + 'Carrasquillo', + 'Carreón', + 'Carrera', + 'Carrero', + 'Carrillo', + 'Carrion', + 'Carvajal', + 'Casanova', + 'Casares', + 'Casárez', + 'Casas', + 'Casillas', + 'Castañeda', + 'Castellanos', + 'Castillo', + 'Castro', + 'Cavazos', + 'Cazares', + 'Ceballos', + 'Cedillo', + 'Ceja', + 'Centeno', + 'Cepeda', + 'Cerda', + 'Cervantes', + 'Cervántez', + 'Chacón', + 'Chapa', + 'Chavarría', + 'Chávez', + 'Cintrón', + 'Cisneros', + 'Collado', + 'Collazo', + 'Colón', + 'Colunga', + 'Concepción', + 'Contreras', + 'Cordero', + 'Córdova', + 'Cornejo', + 'Corona', + 'Coronado', + 'Corral', + 'Corrales', + 'Correa', + 'Cortés', + 'Cortez', + 'Cotto', + 'Covarrubias', + 'Crespo', + 'Cruz', + 'Cuellar', + 'Curiel', + 'Dávila', + 'de Anda', + 'de Jesús', + 'Delacrúz', + 'Delafuente', + 'Delagarza', + 'Delao', + 'Delapaz', + 'Delarosa', + 'Delatorre', + 'Deleón', + 'Delgadillo', + 'Delgado', + 'Delrío', + 'Delvalle', + 'Díaz', + 'Domínguez', + 'Domínquez', + 'Duarte', + 'Dueñas', + 'Duran', + 'Echevarría', + 'Elizondo', + 'Enríquez', + 'Escalante', + 'Escamilla', + 'Escobar', + 'Escobedo', + 'Esparza', + 'Espinal', + 'Espino', + 'Espinosa', + 'Espinoza', + 'Esquibel', + 'Esquivel', + 'Estévez', + 'Estrada', + 'Fajardo', + 'Farías', + 'Feliciano', + 'Fernández', + 'Ferrer', + 'Fierro', + 'Figueroa', + 'Flores', + 'Flórez', + 'Fonseca', + 'Franco', + 'Frías', + 'Fuentes', + 'Gaitán', + 'Galarza', + 'Galindo', + 'Gallardo', + 'Gallegos', + 'Galván', + 'Gálvez', + 'Gamboa', + 'Gamez', + 'Gaona', + 'Garay', + 'García', + 'Garibay', + 'Garica', + 'Garrido', + 'Garza', + 'Gastélum', + 'Gaytán', + 'Gil', + 'Girón', + 'Godínez', + 'Godoy', + 'Gómez', + 'Gonzales', + 'González', + 'Gracia', + 'Granado', + 'Granados', + 'Griego', + 'Grijalva', + 'Guajardo', + 'Guardado', + 'Guerra', + 'Guerrero', + 'Guevara', + 'Guillen', + 'Gurule', + 'Gutiérrez', + 'Guzmán', + 'Haro', + 'Henríquez', + 'Heredia', + 'Hernádez', + 'Hernandes', + 'Hernández', + 'Herrera', + 'Hidalgo', + 'Hinojosa', + 'Holguín', + 'Huerta', + 'Hurtado', + 'Ibarra', + 'Iglesias', + 'Irizarry', + 'Jaime', + 'Jaimes', + 'Jáquez', + 'Jaramillo', + 'Jasso', + 'Jiménez', + 'Jimínez', + 'Juárez', + 'Jurado', + 'Laboy', + 'Lara', + 'Laureano', + 'Leal', + 'Lebrón', + 'Ledesma', + 'Leiva', + 'Lemus', + 'León', + 'Lerma', + 'Leyva', + 'Limón', + 'Linares', + 'Lira', + 'Llamas', + 'Loera', + 'Lomeli', + 'Longoria', + 'López', + 'Lovato', + 'Loya', + 'Lozada', + 'Lozano', + 'Lucero', + 'Lucio', + 'Luevano', + 'Lugo', + 'Luján', + 'Luna', + 'Macías', + 'Madera', + 'Madrid', + 'Madrigal', + 'Maestas', + 'Magaña', + 'Malave', + 'Maldonado', + 'Manzanares', + 'Mares', + 'Marín', + 'Márquez', + 'Marrero', + 'Marroquín', + 'Martínez', + 'Mascareñas', + 'Mata', + 'Mateo', + 'Matías', + 'Matos', + 'Maya', + 'Mayorga', + 'Medina', + 'Medrano', + 'Mejía', + 'Meléndez', + 'Melgar', + 'Mena', + 'Menchaca', + 'Méndez', + 'Mendoza', + 'Menéndez', + 'Meraz', + 'Mercado', + 'Merino', + 'Mesa', + 'Meza', + 'Miramontes', + 'Miranda', + 'Mireles', + 'Mojica', + 'Molina', + 'Mondragón', + 'Monroy', + 'Montalvo', + 'Montañez', + 'Montaño', + 'Montemayor', + 'Montenegro', + 'Montero', + 'Montes', + 'Montez', + 'Montoya', + 'Mora', + 'Morales', + 'Moreno', + 'Mota', + 'Moya', + 'Munguía', + 'Muñiz', + 'Muñoz', + 'Murillo', + 'Muro', + 'Nájera', + 'Naranjo', + 'Narváez', + 'Nava', + 'Navarrete', + 'Navarro', + 'Nazario', + 'Negrete', + 'Negrón', + 'Nevárez', + 'Nieto', + 'Nieves', + 'Niño', + 'Noriega', + 'Núñez', + 'Ocampo', + 'Ocasio', + 'Ochoa', + 'Ojeda', + 'Olivares', + 'Olivárez', + 'Olivas', + 'Olivera', + 'Olivo', + 'Olmos', + 'Olvera', + 'Ontiveros', + 'Oquendo', + 'Ordóñez', + 'Orellana', + 'Ornelas', + 'Orosco', + 'Orozco', + 'Orta', + 'Ortega', + 'Ortiz', + 'Osorio', + 'Otero', + 'Ozuna', + 'Pabón', + 'Pacheco', + 'Padilla', + 'Padrón', + 'Páez', + 'Pagan', + 'Palacios', + 'Palomino', + 'Palomo', + 'Pantoja', + 'Paredes', + 'Parra', + 'Partida', + 'Patiño', + 'Paz', + 'Pedraza', + 'Pedroza', + 'Pelayo', + 'Peña', + 'Perales', + 'Peralta', + 'Perea', + 'Peres', + 'Pérez', + 'Pichardo', + 'Piña', + 'Pineda', + 'Pizarro', + 'Polanco', + 'Ponce', + 'Porras', + 'Portillo', + 'Posada', + 'Prado', + 'Preciado', + 'Prieto', + 'Puente', + 'Puga', + 'Pulido', + 'Quesada', + 'Quezada', + 'Quiñones', + 'Quiñónez', + 'Quintana', + 'Quintanilla', + 'Quintero', + 'Quiroz', + 'Rael', + 'Ramírez', + 'Ramón', + 'Ramos', + 'Rangel', + 'Rascón', + 'Raya', + 'Razo', + 'Regalado', + 'Rendón', + 'Rentería', + 'Reséndez', + 'Reyes', + 'Reyna', + 'Reynoso', + 'Rico', + 'Rincón', + 'Riojas', + 'Ríos', + 'Rivas', + 'Rivera', + 'Rivero', + 'Robledo', + 'Robles', + 'Rocha', + 'Rodarte', + 'Rodrígez', + 'Rodríguez', + 'Rodríquez', + 'Rojas', + 'Rojo', + 'Roldán', + 'Rolón', + 'Romero', + 'Romo', + 'Roque', + 'Rosado', + 'Rosales', + 'Rosario', + 'Rosas', + 'Roybal', + 'Rubio', + 'Ruelas', + 'Ruiz', + 'Ruvalcaba', + 'Saavedra', + 'Sáenz', + 'Saiz', + 'Salas', + 'Salazar', + 'Salcedo', + 'Salcido', + 'Saldaña', + 'Saldivar', + 'Salgado', + 'Salinas', + 'Samaniego', + 'Sanabria', + 'Sanches', + 'Sánchez', + 'Sandoval', + 'Santacruz', + 'Santana', + 'Santiago', + 'Santillán', + 'Sarabia', + 'Sauceda', + 'Saucedo', + 'Sedillo', + 'Segovia', + 'Segura', + 'Sepúlveda', + 'Serna', + 'Serrano', + 'Serrato', + 'Sevilla', + 'Sierra', + 'Sisneros', + 'Solano', + 'Solís', + 'Soliz', + 'Solorio', + 'Solorzano', + 'Soria', + 'Sosa', + 'Sotelo', + 'Soto', + 'Suárez', + 'Tafoya', + 'Tamayo', + 'Tamez', + 'Tapia', + 'Tejada', + 'Tejeda', + 'Téllez', + 'Tello', + 'Terán', + 'Terrazas', + 'Tijerina', + 'Tirado', + 'Toledo', + 'Toro', + 'Torres', + 'Tórrez', + 'Tovar', + 'Trejo', + 'Treviño', + 'Trujillo', + 'Ulibarri', + 'Ulloa', + 'Urbina', + 'Ureña', + 'Urías', + 'Uribe', + 'Urrutia', + 'Vaca', + 'Valadez', + 'Valdés', + 'Valdez', + 'Valdivia', + 'Valencia', + 'Valentín', + 'Valenzuela', + 'Valladares', + 'Valle', + 'Vallejo', + 'Valles', + 'Valverde', + 'Vanegas', + 'Varela', + 'Vargas', + 'Vásquez', + 'Vázquez', + 'Vega', + 'Vela', + 'Velasco', + 'Velásquez', + 'Velázquez', + 'Vélez', + 'Véliz', + 'Venegas', + 'Vera', + 'Verdugo', + 'Verduzco', + 'Vergara', + 'Viera', + 'Vigil', + 'Villa', + 'Villagómez', + 'Villalobos', + 'Villalpando', + 'Villanueva', + 'Villareal', + 'Villarreal', + 'Villaseñor', + 'Villegas', + 'Yáñez', + 'Ybarra', + 'Zambrano', + 'Zamora', + 'Zamudio', + 'Zapata', + 'Zaragoza', + 'Zarate', + 'Zavala', + 'Zayas', + 'Zelaya', + 'Zepeda', + 'Zúñiga', + ]; - protected static $titleMale = ['Sr.', 'Dn.', 'Dr.', 'Lic.', 'Ing.']; + protected static $titleMale = [ 'Sr.', 'Dn.', 'Dr.', 'Lic.', 'Ing.' ]; - protected static $titleFemale = ['Sra.', 'Srita.', 'Dr.', 'Lic.', 'Ing.']; + protected static $titleFemale = [ 'Sra.', 'Srita.', 'Dr.', 'Lic.', 'Ing.' ]; - private static $suffix = ['Hijo', 'Segundo', 'Tercero']; + private static $suffix = [ 'Hijo', 'Segundo', 'Tercero' ]; - /** - * @example 'Hijo' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'Hijo' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_AR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/es_AR/PhoneNumber.php index 7ee8a13..776f35f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_AR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_AR/PhoneNumber.php @@ -2,41 +2,40 @@ namespace Faker\Provider\es_AR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+##(#)##########', - '+##(#)##########', - '###-###-####', - '(##)4###-####', - '(##)4###-####', - '(##)4###-####', - '(##)4###-####', - '(##)154###-####', - '(##)5###-####', - '(##)5###-####', - '(##)155###-####', - '(##)155###-####', - '(##)155###-####', - '(##)6###-####', - '(###)4##-####', - '(###)4##-####', - '(###)4##-####', - '(###)5##-####', - '(###)5##-####', - '(###)5##-####', - '(###)154##-####', - '(###)154##-####', - '(###)155##-####', - '(###)155##-####', - '(###)155##-####', - '(####)4#-####', - '(####)4#-####', - '(####)4#-####', - '(####)4#-####', - '(####)154#-####', - '(####)154#-####', - '(####)154#-####', - '(####)155#-####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+##(#)##########', + '+##(#)##########', + '###-###-####', + '(##)4###-####', + '(##)4###-####', + '(##)4###-####', + '(##)4###-####', + '(##)154###-####', + '(##)5###-####', + '(##)5###-####', + '(##)155###-####', + '(##)155###-####', + '(##)155###-####', + '(##)6###-####', + '(###)4##-####', + '(###)4##-####', + '(###)4##-####', + '(###)5##-####', + '(###)5##-####', + '(###)5##-####', + '(###)154##-####', + '(###)154##-####', + '(###)155##-####', + '(###)155##-####', + '(###)155##-####', + '(####)4#-####', + '(####)4#-####', + '(####)4#-####', + '(####)4#-####', + '(####)154#-####', + '(####)154#-####', + '(####)154#-####', + '(####)155#-####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Address.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Address.php index d13901c..52f16df 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Address.php @@ -2,100 +2,386 @@ namespace Faker\Provider\es_ES; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['San', 'Vall', "L'", 'Villa', 'El', 'Los', 'La', 'Las', 'O', 'A', 'Os', 'As']; - protected static $citySuffix = ['del Vallès', 'del Penedès', 'del Bages', 'de Ulla', 'de Lemos', 'del Mirador', 'de Arriba', 'de la Sierra', 'del Barco', 'de San Pedro', 'del Pozo', 'del Puerto', 'de las Torres', 'Alta', 'Baja', 'Medio']; - protected static $buildingNumber = ['%##', '%#', '%']; - protected static $streetPrefix = [ - 'Calle', 'Avenida', 'Plaza', 'Paseo', 'Ronda', 'Travesía', 'Camino', 'Carrer', 'Avinguda', 'Plaça', 'Passeig', 'Travessera', 'Rúa', 'Praza', 'Ruela', 'Camiño', - ]; - protected static $postcode = ['#####']; - protected static $community = [ - 'Andalucía', 'Aragón', 'Principado de Asturias', 'Illes Balears', 'Canarias', 'Cantabria', 'Castilla y León', 'Castilla - La Mancha', 'Cataluña', 'Comunitat Valenciana', 'Extremadura', 'Galicia', 'Comunidad de Madrid', 'Región de Murcia', 'Comunidad Foral de Navarra', 'País Vasco', 'La Rioja', 'Ceuta', 'Melilla', - ]; - protected static $state = [ - 'A Coruña', 'Álava', 'Albacete', 'Alicante', 'Almería', 'Asturias', 'Ávila', 'Badajoz', 'Barcelona', 'Burgos', 'Cáceres', 'Cádiz', 'Cantabria', 'Castellón', 'Ceuta', 'Ciudad Real', 'Cuenca', 'Córdoba', 'Girona', 'Granada', 'Guadalajara', 'Guipuzkoa', 'Huelva', 'Huesca', 'Illes Balears', 'Jaén', 'La Rioja', 'Las Palmas', 'León', 'Lleida', 'Lugo', 'Málaga', 'Madrid', 'Melilla', 'Murcia', 'Navarra', 'Ourense', 'Palencia', 'Pontevedra', 'Salamanca', 'Segovia', 'Sevilla', 'Soria', 'Santa Cruz de Tenerife', 'Tarragona', 'Teruel', 'Toledo', 'Valencia', 'Valladolid', 'Vizcaya', 'Zamora', 'Zaragoza', - ]; - protected static $country = [ - 'Afganistán', 'Albania', 'Alemania', 'Andorra', 'Angola', 'Antigua y Barbuda', 'Arabia Saudí', 'Argelia', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaiyán', - 'Bahamas', 'Bangladés', 'Barbados', 'Baréin', 'Belice', 'Benín', 'Bielorrusia', 'Birmania', 'Bolivia', 'Bosnia-Herzegovina', 'Botsuana', 'Brasil', 'Brunéi Darusalam', 'Bulgaria', 'Burkina Faso', 'Burundi', 'Bután', 'Bélgica', - 'Cabo Verde', 'Camboya', 'Camerún', 'Canadá', 'Catar', 'Chad', 'Chile', 'China', 'Chipre', 'Ciudad del Vaticano', 'Colombia', 'Comoras', 'Congo', 'Corea del Norte', 'Corea del Sur', 'Costa Rica', 'Costa de Marfil', 'Croacia', 'Cuba', - 'Dinamarca', 'Dominica', - 'Ecuador', 'Egipto', 'El Salvador', 'Emiratos Árabes Unidos', 'Eritrea', 'Eslovaquia', 'Eslovenia', 'España', 'Estados Unidos de América', 'Estonia', 'Etiopía', - 'Filipinas', 'Finlandia', 'Fiyi', 'Francia', - 'Gabón', 'Gambia', 'Georgia', 'Ghana', 'Granada', 'Grecia', 'Guatemala', 'Guinea', 'Guinea Ecuatorial', 'Guinea-Bisáu', 'Guyana', - 'Haití', 'Honduras', 'Hungría', - 'India', 'Indonesia', 'Irak', 'Irlanda', 'Irán', 'Islandia', 'Islas Marshall', 'Islas Salomón', 'Israel', 'Italia', - 'Jamaica', 'Japón', 'Jordania', - 'Kazajistán', 'Kenia', 'Kirguistán', 'Kiribati', 'Kuwait', - 'Laos', 'Lesoto', 'Letonia', 'Liberia', 'Libia', 'Liechtenstein', 'Lituania', 'Luxemburgo', 'Líbano', - 'Macedonia', 'Madagascar', 'Malasia', 'Malaui', 'Maldivas', 'Mali', 'Malta', 'Marruecos', 'Mauricio', 'Mauritania', 'Micronesia', 'Moldavia', 'Mongolia', 'Montenegro', 'Mozambique', 'México', 'Mónaco', - 'Namibia', 'Nauru', 'Nepal', 'Nicaragua', 'Nigeria', 'Noruega', 'Nueva Zelanda', 'Níger', - 'Omán', - 'Pakistán', 'Palaos', 'Panamá', 'Papúa Nueva Guinea', 'Paraguay', 'Países Bajos', 'Perú', 'Polonia', 'Portugal', - 'Reino Unido', 'Reino Unido de Gran Bretaña e Irlanda del Norte', 'República Centroafricana', 'República Checa', 'República Democrática del Congo', 'República Dominicana', 'Ruanda', 'Rumanía', 'Rusia', - 'Samoa', 'San Cristóbal y Nieves', 'San Marino', 'San Vicente y las Granadinas', 'Santa Lucía', 'Santo Tomé y Príncipe', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leona', 'Singapur', 'Siria', 'Somalia', 'Sri Lanka', 'Suazilandia', 'Sudáfrica', 'Sudán', 'Suecia', 'Suiza', 'Surinam', - 'Tailandia', 'Tanzania', 'Tayikistán', 'Timor Oriental', 'Togo', 'Tonga', 'Trinidad y Tobago', 'Turkmenistán', 'Turquía', 'Tuvalu', 'Túnez', - 'Ucrania', 'Uganda', 'Uruguay', 'Uzbekistán', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Yemen', 'Yibuti', - 'Zambia', 'Zimbabue', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{lastName}} {{citySuffix}}', - '{{cityPrefix}} {{lastName}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}}', - '{{streetPrefix}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{postcode}}, {{city}}', - ]; - protected static $secondaryAddressFormats = ['Bajos', 'Ático #º', 'Entre suelo #º', 'Bajo #º', '#º', '#º A', '#º B', '#º C', '#º D', '#º E', '#º F', '##º A', '##º B', '##º C', '##º D', '##º E', '##º F', '#º #º', '##º #º']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'San', 'Vall', "L'", 'Villa', 'El', 'Los', 'La', 'Las', 'O', 'A', 'Os', 'As' ]; + protected static $citySuffix = [ + 'del Vallès', + 'del Penedès', + 'del Bages', + 'de Ulla', + 'de Lemos', + 'del Mirador', + 'de Arriba', + 'de la Sierra', + 'del Barco', + 'de San Pedro', + 'del Pozo', + 'del Puerto', + 'de las Torres', + 'Alta', + 'Baja', + 'Medio' + ]; + protected static $buildingNumber = [ '%##', '%#', '%' ]; + protected static $streetPrefix = [ + 'Calle', + 'Avenida', + 'Plaza', + 'Paseo', + 'Ronda', + 'Travesía', + 'Camino', + 'Carrer', + 'Avinguda', + 'Plaça', + 'Passeig', + 'Travessera', + 'Rúa', + 'Praza', + 'Ruela', + 'Camiño', + ]; + protected static $postcode = [ '#####' ]; + protected static $community = [ + 'Andalucía', + 'Aragón', + 'Principado de Asturias', + 'Illes Balears', + 'Canarias', + 'Cantabria', + 'Castilla y León', + 'Castilla - La Mancha', + 'Cataluña', + 'Comunitat Valenciana', + 'Extremadura', + 'Galicia', + 'Comunidad de Madrid', + 'Región de Murcia', + 'Comunidad Foral de Navarra', + 'País Vasco', + 'La Rioja', + 'Ceuta', + 'Melilla', + ]; + protected static $state = [ + 'A Coruña', + 'Álava', + 'Albacete', + 'Alicante', + 'Almería', + 'Asturias', + 'Ávila', + 'Badajoz', + 'Barcelona', + 'Burgos', + 'Cáceres', + 'Cádiz', + 'Cantabria', + 'Castellón', + 'Ceuta', + 'Ciudad Real', + 'Cuenca', + 'Córdoba', + 'Girona', + 'Granada', + 'Guadalajara', + 'Guipuzkoa', + 'Huelva', + 'Huesca', + 'Illes Balears', + 'Jaén', + 'La Rioja', + 'Las Palmas', + 'León', + 'Lleida', + 'Lugo', + 'Málaga', + 'Madrid', + 'Melilla', + 'Murcia', + 'Navarra', + 'Ourense', + 'Palencia', + 'Pontevedra', + 'Salamanca', + 'Segovia', + 'Sevilla', + 'Soria', + 'Santa Cruz de Tenerife', + 'Tarragona', + 'Teruel', + 'Toledo', + 'Valencia', + 'Valladolid', + 'Vizcaya', + 'Zamora', + 'Zaragoza', + ]; + protected static $country = [ + 'Afganistán', + 'Albania', + 'Alemania', + 'Andorra', + 'Angola', + 'Antigua y Barbuda', + 'Arabia Saudí', + 'Argelia', + 'Argentina', + 'Armenia', + 'Australia', + 'Austria', + 'Azerbaiyán', + 'Bahamas', + 'Bangladés', + 'Barbados', + 'Baréin', + 'Belice', + 'Benín', + 'Bielorrusia', + 'Birmania', + 'Bolivia', + 'Bosnia-Herzegovina', + 'Botsuana', + 'Brasil', + 'Brunéi Darusalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Bután', + 'Bélgica', + 'Cabo Verde', + 'Camboya', + 'Camerún', + 'Canadá', + 'Catar', + 'Chad', + 'Chile', + 'China', + 'Chipre', + 'Ciudad del Vaticano', + 'Colombia', + 'Comoras', + 'Congo', + 'Corea del Norte', + 'Corea del Sur', + 'Costa Rica', + 'Costa de Marfil', + 'Croacia', + 'Cuba', + 'Dinamarca', + 'Dominica', + 'Ecuador', + 'Egipto', + 'El Salvador', + 'Emiratos Árabes Unidos', + 'Eritrea', + 'Eslovaquia', + 'Eslovenia', + 'España', + 'Estados Unidos de América', + 'Estonia', + 'Etiopía', + 'Filipinas', + 'Finlandia', + 'Fiyi', + 'Francia', + 'Gabón', + 'Gambia', + 'Georgia', + 'Ghana', + 'Granada', + 'Grecia', + 'Guatemala', + 'Guinea', + 'Guinea Ecuatorial', + 'Guinea-Bisáu', + 'Guyana', + 'Haití', + 'Honduras', + 'Hungría', + 'India', + 'Indonesia', + 'Irak', + 'Irlanda', + 'Irán', + 'Islandia', + 'Islas Marshall', + 'Islas Salomón', + 'Israel', + 'Italia', + 'Jamaica', + 'Japón', + 'Jordania', + 'Kazajistán', + 'Kenia', + 'Kirguistán', + 'Kiribati', + 'Kuwait', + 'Laos', + 'Lesoto', + 'Letonia', + 'Liberia', + 'Libia', + 'Liechtenstein', + 'Lituania', + 'Luxemburgo', + 'Líbano', + 'Macedonia', + 'Madagascar', + 'Malasia', + 'Malaui', + 'Maldivas', + 'Mali', + 'Malta', + 'Marruecos', + 'Mauricio', + 'Mauritania', + 'Micronesia', + 'Moldavia', + 'Mongolia', + 'Montenegro', + 'Mozambique', + 'México', + 'Mónaco', + 'Namibia', + 'Nauru', + 'Nepal', + 'Nicaragua', + 'Nigeria', + 'Noruega', + 'Nueva Zelanda', + 'Níger', + 'Omán', + 'Pakistán', + 'Palaos', + 'Panamá', + 'Papúa Nueva Guinea', + 'Paraguay', + 'Países Bajos', + 'Perú', + 'Polonia', + 'Portugal', + 'Reino Unido', + 'Reino Unido de Gran Bretaña e Irlanda del Norte', + 'República Centroafricana', + 'República Checa', + 'República Democrática del Congo', + 'República Dominicana', + 'Ruanda', + 'Rumanía', + 'Rusia', + 'Samoa', + 'San Cristóbal y Nieves', + 'San Marino', + 'San Vicente y las Granadinas', + 'Santa Lucía', + 'Santo Tomé y Príncipe', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leona', + 'Singapur', + 'Siria', + 'Somalia', + 'Sri Lanka', + 'Suazilandia', + 'Sudáfrica', + 'Sudán', + 'Suecia', + 'Suiza', + 'Surinam', + 'Tailandia', + 'Tanzania', + 'Tayikistán', + 'Timor Oriental', + 'Togo', + 'Tonga', + 'Trinidad y Tobago', + 'Turkmenistán', + 'Turquía', + 'Tuvalu', + 'Túnez', + 'Ucrania', + 'Uganda', + 'Uruguay', + 'Uzbekistán', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Yemen', + 'Yibuti', + 'Zambia', + 'Zimbabue', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{lastName}} {{citySuffix}}', + '{{cityPrefix}} {{lastName}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}}', + '{{streetPrefix}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{postcode}}, {{city}}', + ]; + protected static $secondaryAddressFormats = [ + 'Bajos', + 'Ático #º', + 'Entre suelo #º', + 'Bajo #º', + '#º', + '#º A', + '#º B', + '#º C', + '#º D', + '#º E', + '#º F', + '##º A', + '##º B', + '##º C', + '##º D', + '##º E', + '##º F', + '#º #º', + '##º #º' + ]; - /** - * @example 'Avenida' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Avenida' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'Villa' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'Villa' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example '3ºA' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '3ºA' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Barcelona' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Barcelona' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'Comunidad de Madrid' - */ - public static function community() - { - return static::randomElement(static::$community); - } + /** + * @example 'Comunidad de Madrid' + */ + public static function community() { + return static::randomElement( static::$community ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Color.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Color.php index 6ed3f28..b1f318d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Color.php @@ -2,23 +2,22 @@ namespace Faker\Provider\es_ES; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'amarillo', - 'azul marino', - 'azul', - 'blanco', - 'celeste', - 'gris', - 'lima', - 'magenta', - 'marrón', - 'morado', - 'negro', - 'plata', - 'turquesa', - 'verde', - 'verde oliva', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'amarillo', + 'azul marino', + 'azul', + 'blanco', + 'celeste', + 'gris', + 'lima', + 'magenta', + 'marrón', + 'morado', + 'negro', + 'plata', + 'turquesa', + 'verde', + 'verde oliva', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Company.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Company.php index 73bd315..8d7e10c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Company.php @@ -2,81 +2,555 @@ namespace Faker\Provider\es_ES; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - '{{companyPrefix}} {{lastName}}-{{lastName}}', - '{{lastName}}-{{lastName}} {{companySuffix}}', - '{{lastName}} y {{lastName}} {{companySuffix}}', - '{{lastName}} de {{lastName}} {{companySuffix}}', - '{{lastName}}, {{lastName}} y {{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}} y {{lastName}}', - '{{lastName}} de {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + '{{companyPrefix}} {{lastName}}-{{lastName}}', + '{{lastName}}-{{lastName}} {{companySuffix}}', + '{{lastName}} y {{lastName}} {{companySuffix}}', + '{{lastName}} de {{lastName}} {{companySuffix}}', + '{{lastName}}, {{lastName}} y {{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}} y {{lastName}}', + '{{lastName}} de {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Adaptive', 'Advanced', 'Ameliorated', 'Assimilated', 'Automated', 'Balanced', 'Business-focused', 'Centralized', 'Cloned', 'Compatible', 'Configurable', 'Cross-group', 'Cross-platform', 'Customer-focused', 'Customizable', 'Decentralized', 'De-engineered', 'Devolved', 'Digitized', 'Distributed', 'Diverse', 'Down-sized', 'Enhanced', 'Enterprise-wide', 'Ergonomic', 'Exclusive', 'Expanded', 'Extended', 'Facetoface', 'Focused', 'Front-line', 'Fully-configurable', 'Function-based', 'Fundamental', 'Future-proofed', 'Grass-roots', 'Horizontal', 'Implemented', 'Innovative', 'Integrated', 'Intuitive', 'Inverse', 'Managed', 'Mandatory', 'Monitored', 'Multi-channelled', 'Multi-lateral', 'Multi-layered', 'Multi-tiered', 'Networked', 'Object-based', 'Open-architected', 'Open-source', 'Operative', 'Optimized', 'Optional', 'Organic', 'Organized', 'Persevering', 'Persistent', 'Phased', 'Polarised', 'Pre-emptive', 'Proactive', 'Profit-focused', 'Profound', 'Programmable', 'Progressive', 'Public-key', 'Quality-focused', 'Reactive', 'Realigned', 'Re-contextualized', 'Re-engineered', 'Reduced', 'Reverse-engineered', 'Right-sized', 'Robust', 'Seamless', 'Secured', 'Self-enabling', 'Sharable', 'Stand-alone', 'Streamlined', 'Switchable', 'Synchronised', 'Synergistic', 'Synergized', 'Team-oriented', 'Total', 'Triple-buffered', 'Universal', 'Up-sized', 'Upgradable', 'User-centric', 'User-friendly', 'Versatile', 'Virtual', 'Visionary', 'Vision-oriented', - ], - [ - '24hour', '24/7', '3rdgeneration', '4thgeneration', '5thgeneration', '6thgeneration', 'actuating', 'analyzing', 'assymetric', 'asynchronous', 'attitude-oriented', 'background', 'bandwidth-monitored', 'bi-directional', 'bifurcated', 'bottom-line', 'clear-thinking', 'client-driven', 'client-server', 'coherent', 'cohesive', 'composite', 'context-sensitive', 'contextually-based', 'content-based', 'dedicated', 'demand-driven', 'didactic', 'directional', 'discrete', 'disintermediate', 'dynamic', 'eco-centric', 'empowering', 'encompassing', 'even-keeled', 'executive', 'explicit', 'exuding', 'fault-tolerant', 'foreground', 'fresh-thinking', 'full-range', 'global', 'grid-enabled', 'heuristic', 'high-level', 'holistic', 'homogeneous', 'human-resource', 'hybrid', 'impactful', 'incremental', 'intangible', 'interactive', 'intermediate', 'leadingedge', 'local', 'logistical', 'maximized', 'methodical', 'mission-critical', 'mobile', 'modular', 'motivating', 'multimedia', 'multi-state', 'multi-tasking', 'national', 'needs-based', 'neutral', 'nextgeneration', 'non-volatile', 'object-oriented', 'optimal', 'optimizing', 'radical', 'real-time', 'reciprocal', 'regional', 'responsive', 'scalable', 'secondary', 'solution-oriented', 'stable', 'static', 'systematic', 'systemic', 'system-worthy', 'tangible', 'tertiary', 'transitional', 'uniform', 'upward-trending', 'user-facing', 'value-added', 'web-enabled', 'well-modulated', 'zeroadministration', 'zerodefect', 'zerotolerance', - ], - [ - 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Adaptive', + 'Advanced', + 'Ameliorated', + 'Assimilated', + 'Automated', + 'Balanced', + 'Business-focused', + 'Centralized', + 'Cloned', + 'Compatible', + 'Configurable', + 'Cross-group', + 'Cross-platform', + 'Customer-focused', + 'Customizable', + 'Decentralized', + 'De-engineered', + 'Devolved', + 'Digitized', + 'Distributed', + 'Diverse', + 'Down-sized', + 'Enhanced', + 'Enterprise-wide', + 'Ergonomic', + 'Exclusive', + 'Expanded', + 'Extended', + 'Facetoface', + 'Focused', + 'Front-line', + 'Fully-configurable', + 'Function-based', + 'Fundamental', + 'Future-proofed', + 'Grass-roots', + 'Horizontal', + 'Implemented', + 'Innovative', + 'Integrated', + 'Intuitive', + 'Inverse', + 'Managed', + 'Mandatory', + 'Monitored', + 'Multi-channelled', + 'Multi-lateral', + 'Multi-layered', + 'Multi-tiered', + 'Networked', + 'Object-based', + 'Open-architected', + 'Open-source', + 'Operative', + 'Optimized', + 'Optional', + 'Organic', + 'Organized', + 'Persevering', + 'Persistent', + 'Phased', + 'Polarised', + 'Pre-emptive', + 'Proactive', + 'Profit-focused', + 'Profound', + 'Programmable', + 'Progressive', + 'Public-key', + 'Quality-focused', + 'Reactive', + 'Realigned', + 'Re-contextualized', + 'Re-engineered', + 'Reduced', + 'Reverse-engineered', + 'Right-sized', + 'Robust', + 'Seamless', + 'Secured', + 'Self-enabling', + 'Sharable', + 'Stand-alone', + 'Streamlined', + 'Switchable', + 'Synchronised', + 'Synergistic', + 'Synergized', + 'Team-oriented', + 'Total', + 'Triple-buffered', + 'Universal', + 'Up-sized', + 'Upgradable', + 'User-centric', + 'User-friendly', + 'Versatile', + 'Virtual', + 'Visionary', + 'Vision-oriented', + ], + [ + '24hour', + '24/7', + '3rdgeneration', + '4thgeneration', + '5thgeneration', + '6thgeneration', + 'actuating', + 'analyzing', + 'assymetric', + 'asynchronous', + 'attitude-oriented', + 'background', + 'bandwidth-monitored', + 'bi-directional', + 'bifurcated', + 'bottom-line', + 'clear-thinking', + 'client-driven', + 'client-server', + 'coherent', + 'cohesive', + 'composite', + 'context-sensitive', + 'contextually-based', + 'content-based', + 'dedicated', + 'demand-driven', + 'didactic', + 'directional', + 'discrete', + 'disintermediate', + 'dynamic', + 'eco-centric', + 'empowering', + 'encompassing', + 'even-keeled', + 'executive', + 'explicit', + 'exuding', + 'fault-tolerant', + 'foreground', + 'fresh-thinking', + 'full-range', + 'global', + 'grid-enabled', + 'heuristic', + 'high-level', + 'holistic', + 'homogeneous', + 'human-resource', + 'hybrid', + 'impactful', + 'incremental', + 'intangible', + 'interactive', + 'intermediate', + 'leadingedge', + 'local', + 'logistical', + 'maximized', + 'methodical', + 'mission-critical', + 'mobile', + 'modular', + 'motivating', + 'multimedia', + 'multi-state', + 'multi-tasking', + 'national', + 'needs-based', + 'neutral', + 'nextgeneration', + 'non-volatile', + 'object-oriented', + 'optimal', + 'optimizing', + 'radical', + 'real-time', + 'reciprocal', + 'regional', + 'responsive', + 'scalable', + 'secondary', + 'solution-oriented', + 'stable', + 'static', + 'systematic', + 'systemic', + 'system-worthy', + 'tangible', + 'tertiary', + 'transitional', + 'uniform', + 'upward-trending', + 'user-facing', + 'value-added', + 'web-enabled', + 'well-modulated', + 'zeroadministration', + 'zerodefect', + 'zerotolerance', + ], + [ + 'ability', + 'access', + 'adapter', + 'algorithm', + 'alliance', + 'analyzer', + 'application', + 'approach', + 'architecture', + 'archive', + 'artificialintelligence', + 'array', + 'attitude', + 'benchmark', + 'budgetarymanagement', + 'capability', + 'capacity', + 'challenge', + 'circuit', + 'collaboration', + 'complexity', + 'concept', + 'conglomeration', + 'contingency', + 'core', + 'customerloyalty', + 'database', + 'data-warehouse', + 'definition', + 'emulation', + 'encoding', + 'encryption', + 'extranet', + 'firmware', + 'flexibility', + 'focusgroup', + 'forecast', + 'frame', + 'framework', + 'function', + 'functionalities', + 'GraphicInterface', + 'groupware', + 'GraphicalUserInterface', + 'hardware', + 'help-desk', + 'hierarchy', + 'hub', + 'implementation', + 'info-mediaries', + 'infrastructure', + 'initiative', + 'installation', + 'instructionset', + 'interface', + 'internetsolution', + 'intranet', + 'knowledgeuser', + 'knowledgebase', + 'localareanetwork', + 'leverage', + 'matrices', + 'matrix', + 'methodology', + 'middleware', + 'migration', + 'model', + 'moderator', + 'monitoring', + 'moratorium', + 'neural-net', + 'openarchitecture', + 'opensystem', + 'orchestration', + 'paradigm', + 'parallelism', + 'policy', + 'portal', + 'pricingstructure', + 'processimprovement', + 'product', + 'productivity', + 'project', + 'projection', + 'protocol', + 'securedline', + 'service-desk', + 'software', + 'solution', + 'standardization', + 'strategy', + 'structure', + 'success', + 'superstructure', + 'support', + 'synergy', + 'systemengine', + 'task-force', + 'throughput', + 'time-frame', + 'toolset', + 'utilisation', + 'website', + 'workforce', + ], + ]; - protected static $bsWords = [ - [ - 'implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform', 'embrace', 'enable', 'orchestrate', 'leverage', 'reinvent', 'aggregate', 'architect', 'enhance', 'incentivize', 'morph', 'empower', 'envisioneer', 'monetize', 'harness', 'facilitate', 'seize', 'disintermediate', 'synergize', 'strategize', 'deploy', 'brand', 'grow', 'target', 'syndicate', 'synthesize', 'deliver', 'mesh', 'incubate', 'engage', 'maximize', 'benchmark', 'expedite', 'reintermediate', 'whiteboard', 'visualize', 'repurpose', 'innovate', 'scale', 'unleash', 'drive', 'extend', 'engineer', 'revolutionize', 'generate', 'exploit', 'transition', 'e-enable', 'iterate', 'cultivate', 'matrix', 'productize', 'redefine', 'recontextualize', - ], - [ - 'clicks-and-mortar', 'value-added', 'vertical', 'proactive', 'robust', 'revolutionary', 'scalable', 'leading-edge', 'innovative', 'intuitive', 'strategic', 'e-business', 'mission-critical', 'sticky', 'one-to-one', '24/7', 'end-to-end', 'global', 'B2B', 'B2C', 'granular', 'frictionless', 'virtual', 'viral', 'dynamic', '24/365', 'best-of-breed', 'killer', 'magnetic', 'bleeding-edge', 'web-enabled', 'interactive', 'dot-com', 'sexy', 'back-end', 'real-time', 'efficient', 'front-end', 'distributed', 'seamless', 'extensible', 'turn-key', 'world-class', 'open-source', 'cross-platform', 'cross-media', 'synergistic', 'bricks-and-clicks', 'out-of-the-box', 'enterprise', 'integrated', 'impactful', 'wireless', 'transparent', 'next-generation', 'cutting-edge', 'user-centric', 'visionary', 'customized', 'ubiquitous', 'plug-and-play', 'collaborative', 'compelling', 'holistic', 'rich', - ], - [ - 'synergies', 'web-readiness', 'paradigms', 'markets', 'partnerships', 'infrastructures', 'platforms', 'initiatives', 'channels', 'eyeballs', 'communities', 'ROI', 'solutions', 'e-tailers', 'e-services', 'action-items', 'portals', 'niches', 'technologies', 'content', 'vortals', 'supply-chains', 'convergence', 'relationships', 'architectures', 'interfaces', 'e-markets', 'e-commerce', 'systems', 'bandwidth', 'infomediaries', 'models', 'mindshare', 'deliverables', 'users', 'schemas', 'networks', 'applications', 'metrics', 'e-business', 'functionalities', 'experiences', 'webservices', 'methodologies', - ], - ]; + protected static $bsWords = [ + [ + 'implement', + 'utilize', + 'integrate', + 'streamline', + 'optimize', + 'evolve', + 'transform', + 'embrace', + 'enable', + 'orchestrate', + 'leverage', + 'reinvent', + 'aggregate', + 'architect', + 'enhance', + 'incentivize', + 'morph', + 'empower', + 'envisioneer', + 'monetize', + 'harness', + 'facilitate', + 'seize', + 'disintermediate', + 'synergize', + 'strategize', + 'deploy', + 'brand', + 'grow', + 'target', + 'syndicate', + 'synthesize', + 'deliver', + 'mesh', + 'incubate', + 'engage', + 'maximize', + 'benchmark', + 'expedite', + 'reintermediate', + 'whiteboard', + 'visualize', + 'repurpose', + 'innovate', + 'scale', + 'unleash', + 'drive', + 'extend', + 'engineer', + 'revolutionize', + 'generate', + 'exploit', + 'transition', + 'e-enable', + 'iterate', + 'cultivate', + 'matrix', + 'productize', + 'redefine', + 'recontextualize', + ], + [ + 'clicks-and-mortar', + 'value-added', + 'vertical', + 'proactive', + 'robust', + 'revolutionary', + 'scalable', + 'leading-edge', + 'innovative', + 'intuitive', + 'strategic', + 'e-business', + 'mission-critical', + 'sticky', + 'one-to-one', + '24/7', + 'end-to-end', + 'global', + 'B2B', + 'B2C', + 'granular', + 'frictionless', + 'virtual', + 'viral', + 'dynamic', + '24/365', + 'best-of-breed', + 'killer', + 'magnetic', + 'bleeding-edge', + 'web-enabled', + 'interactive', + 'dot-com', + 'sexy', + 'back-end', + 'real-time', + 'efficient', + 'front-end', + 'distributed', + 'seamless', + 'extensible', + 'turn-key', + 'world-class', + 'open-source', + 'cross-platform', + 'cross-media', + 'synergistic', + 'bricks-and-clicks', + 'out-of-the-box', + 'enterprise', + 'integrated', + 'impactful', + 'wireless', + 'transparent', + 'next-generation', + 'cutting-edge', + 'user-centric', + 'visionary', + 'customized', + 'ubiquitous', + 'plug-and-play', + 'collaborative', + 'compelling', + 'holistic', + 'rich', + ], + [ + 'synergies', + 'web-readiness', + 'paradigms', + 'markets', + 'partnerships', + 'infrastructures', + 'platforms', + 'initiatives', + 'channels', + 'eyeballs', + 'communities', + 'ROI', + 'solutions', + 'e-tailers', + 'e-services', + 'action-items', + 'portals', + 'niches', + 'technologies', + 'content', + 'vortals', + 'supply-chains', + 'convergence', + 'relationships', + 'architectures', + 'interfaces', + 'e-markets', + 'e-commerce', + 'systems', + 'bandwidth', + 'infomediaries', + 'models', + 'mindshare', + 'deliverables', + 'users', + 'schemas', + 'networks', + 'applications', + 'metrics', + 'e-business', + 'functionalities', + 'experiences', + 'webservices', + 'methodologies', + ], + ]; - protected static $companyPrefix = ['Asociación', 'Centro', 'Corporación', 'Empresa', 'Gestora', 'Global', 'Grupo', 'Viajes', 'Air']; - protected static $companySuffix = ['e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.']; + protected static $companyPrefix = [ + 'Asociación', + 'Centro', + 'Corporación', + 'Empresa', + 'Gestora', + 'Global', + 'Grupo', + 'Viajes', + 'Air' + ]; + protected static $companySuffix = [ 'e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.' ]; - /** - * @example 'Grupo' - */ - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + /** + * @example 'Grupo' + */ + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Internet.php index bcaf8c8..0772fc8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Internet.php @@ -2,8 +2,17 @@ namespace Faker\Provider\es_ES; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'hotmail.es', 'yahoo.com', 'yahoo.es', 'live.com', 'hispavista.com', 'latinmail.com', 'terra.com']; - protected static $tld = ['com', 'com', 'com', 'com', 'net', 'org', 'org', 'es', 'es', 'es', 'com.es']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'hotmail.es', + 'yahoo.com', + 'yahoo.es', + 'live.com', + 'hispavista.com', + 'latinmail.com', + 'terra.com' + ]; + protected static $tld = [ 'com', 'com', 'com', 'com', 'net', 'org', 'org', 'es', 'es', 'es', 'com.es' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Payment.php index 227c686..e95ec38 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Payment.php @@ -2,41 +2,38 @@ namespace Faker\Provider\es_ES; -class Payment extends \Faker\Provider\Payment -{ - private static $vatMap = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'N', 'P', 'Q', 'R', 'S', 'U', 'V', 'W']; +class Payment extends \Faker\Provider\Payment { + private static $vatMap = [ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'N', 'P', 'Q', 'R', 'S', 'U', 'V', 'W' ]; - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'ES', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'ES', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * Value Added Tax (VAT) - * - * @example 'B93694545' - * - * @see https://en.wikipedia.org/wiki/VAT_identification_number - * @see https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_fiscal - * - * @return string VAT Number - */ - public static function vat() - { - $letter = static::randomElement(self::$vatMap); - $number = static::numerify('########'); + /** + * Value Added Tax (VAT) + * + * @return string VAT Number + * @see https://en.wikipedia.org/wiki/VAT_identification_number + * @see https://es.wikipedia.org/wiki/C%C3%B3digo_de_identificaci%C3%B3n_fiscal + * + * @example 'B93694545' + * + */ + public static function vat() { + $letter = static::randomElement( self::$vatMap ); + $number = static::numerify( '########' ); - return $letter . $number; - } + return $letter . $number; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Person.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Person.php index 5a00377..345756d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Person.php @@ -2,148 +2,1094 @@ namespace Faker\Provider\es_ES; -class Person extends \Faker\Provider\Person -{ - private static $crcMap = ['T', 'R', 'W', 'A', 'G', 'M', 'Y', 'F', 'P', 'D', 'X', 'B', 'N', 'J', 'Z', 'S', 'Q', 'V', 'H', 'L', 'C', 'K', 'E', 'T']; +class Person extends \Faker\Provider\Person { + private static $crcMap = [ + 'T', + 'R', + 'W', + 'A', + 'G', + 'M', + 'Y', + 'F', + 'P', + 'D', + 'X', + 'B', + 'N', + 'J', + 'Z', + 'S', + 'Q', + 'V', + 'H', + 'L', + 'C', + 'K', + 'E', + 'T' + ]; - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - ]; + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - /** - * {@link} http://www.ine.es/daco/daco42/nombyapel/nombyapel.htm - * {@link} http://www.ine.es/dyngs/INEbase/es/operacion.htm?c=Estadistica_C&cid=1254736177009&menu=ultiDatos&idp=1254734710990 - * Manually added accent marks because the source lacks of them - */ - protected static $firstNameMale = [ - 'Aaron', 'Adam', 'Adrián', 'Aitor', 'Alberto', 'Aleix', 'Alejandro', 'Alex', 'Alonso', 'Álvaro', 'Ander', 'Andrés', 'Ángel', 'Antonio', 'Arnau', 'Asier', - 'Biel', 'Bruno', - 'Carlos', 'César', 'Cristian', - 'Daniel', 'Dario', 'David', 'Diego', - 'Eduardo', 'Enrique', 'Eric', 'Erik', - 'Fernando', 'Francisco', 'Francisco Javier', - 'Gabriel', 'Gael', 'Gerard', 'Gonzalo', 'Guillem', 'Guillermo', - 'Héctor', 'Hugo', - 'Ian', 'Ignacio', - 'Iker', 'Isaac', 'Ismael', 'Iván', 'Izan', - 'Jaime', 'Jan', 'Javier', 'Jesús', 'Joel', 'Jon', 'Jordi', 'Jorge', 'José', 'José Antonio', 'José Manuel', 'Juan', 'Juan José', - 'Leo', 'Lucas', 'Luis', - 'Manuel', 'Marc', 'Marco', 'Marcos', 'Mario', 'Martín', 'Mateo', 'Miguel', 'Miguel Ángel', - 'Nicolás', - 'Oliver', 'Omar', 'Oriol', 'Óscar', - 'Pablo', 'Pedro', 'Pol', - 'Rafael', 'Raúl', 'Rayan', 'Roberto', 'Rodrigo', 'Rubén', - 'Samuel', 'Santiago', 'Saúl', 'Sergio', - 'Unai', - 'Víctor', - 'Yago', 'Yeray', - ]; + /** + * {@link} http://www.ine.es/daco/daco42/nombyapel/nombyapel.htm + * {@link} http://www.ine.es/dyngs/INEbase/es/operacion.htm?c=Estadistica_C&cid=1254736177009&menu=ultiDatos&idp=1254734710990 + * Manually added accent marks because the source lacks of them + */ + protected static $firstNameMale = [ + 'Aaron', + 'Adam', + 'Adrián', + 'Aitor', + 'Alberto', + 'Aleix', + 'Alejandro', + 'Alex', + 'Alonso', + 'Álvaro', + 'Ander', + 'Andrés', + 'Ángel', + 'Antonio', + 'Arnau', + 'Asier', + 'Biel', + 'Bruno', + 'Carlos', + 'César', + 'Cristian', + 'Daniel', + 'Dario', + 'David', + 'Diego', + 'Eduardo', + 'Enrique', + 'Eric', + 'Erik', + 'Fernando', + 'Francisco', + 'Francisco Javier', + 'Gabriel', + 'Gael', + 'Gerard', + 'Gonzalo', + 'Guillem', + 'Guillermo', + 'Héctor', + 'Hugo', + 'Ian', + 'Ignacio', + 'Iker', + 'Isaac', + 'Ismael', + 'Iván', + 'Izan', + 'Jaime', + 'Jan', + 'Javier', + 'Jesús', + 'Joel', + 'Jon', + 'Jordi', + 'Jorge', + 'José', + 'José Antonio', + 'José Manuel', + 'Juan', + 'Juan José', + 'Leo', + 'Lucas', + 'Luis', + 'Manuel', + 'Marc', + 'Marco', + 'Marcos', + 'Mario', + 'Martín', + 'Mateo', + 'Miguel', + 'Miguel Ángel', + 'Nicolás', + 'Oliver', + 'Omar', + 'Oriol', + 'Óscar', + 'Pablo', + 'Pedro', + 'Pol', + 'Rafael', + 'Raúl', + 'Rayan', + 'Roberto', + 'Rodrigo', + 'Rubén', + 'Samuel', + 'Santiago', + 'Saúl', + 'Sergio', + 'Unai', + 'Víctor', + 'Yago', + 'Yeray', + ]; - protected static $firstNameFemale = [ - 'Abril', 'Adriana', 'África', 'Aina', 'Ainara', 'Ainhoa', 'Aitana', 'Alba', 'Alejandra', 'Alexandra', 'Alexia', 'Alicia', 'Alma', 'Amparo', 'Ana', 'Ana Isabel', 'Ana María', 'Andrea', 'Ángela', 'Ángeles', 'Antonia', 'Ariadna', 'Aurora', - 'Beatriz', 'Berta', 'Blanca', - 'Candela', 'Carla', 'Carlota', 'Carmen', 'Carolina', 'Celia', 'Clara', 'Claudia', 'Cristina', - 'Daniela', 'Diana', - 'Elena', 'Elsa', 'Emilia', 'Encarnación', 'Eva', 'Esther', - 'Fátima', 'Francisca', - 'Gabriela', 'Gloria', - 'Helena', - 'Inés', 'Inmaculada', 'Irene', 'Isabel', - 'Josefa', 'Jimena', 'Juana', 'Julia', - 'Laia', 'Lara', 'Laura', 'Leire', 'Lorena', 'Lidia', 'Lola', 'Lucía', 'Luisa', 'Luna', - 'Malak', 'Manuela', 'Mar', 'Mara', 'Margarita', 'María', 'María Ángeles', 'María Carmen', 'María Dolores', 'María Pilar', 'Marina', 'Marta', 'Martina', 'Mireia', 'Miriam', - 'Nadia', 'Nahia', 'Naia', 'Naiara', 'Natalia', 'Nayara', 'Nerea', 'Nil', 'Noa', 'Noelia', 'Nora', 'Nuria', - 'Olivia', 'Olga', 'Ona', - 'Paola', 'Patricia', 'Pau', 'Paula', 'Pilar', - 'Raquel', 'Rocío', 'Rosa', 'Rosa María', 'Rosario', - 'Salma', 'Sandra', 'Sara', 'Silvia', 'Sofía', 'Sonia', - 'Teresa', - 'Úrsula', - 'Valentina', 'Valeria', 'Vega', 'Vera', 'Verónica', 'Victoria', - 'Yaiza', 'Yolanda', - 'Zoe', - ]; + protected static $firstNameFemale = [ + 'Abril', + 'Adriana', + 'África', + 'Aina', + 'Ainara', + 'Ainhoa', + 'Aitana', + 'Alba', + 'Alejandra', + 'Alexandra', + 'Alexia', + 'Alicia', + 'Alma', + 'Amparo', + 'Ana', + 'Ana Isabel', + 'Ana María', + 'Andrea', + 'Ángela', + 'Ángeles', + 'Antonia', + 'Ariadna', + 'Aurora', + 'Beatriz', + 'Berta', + 'Blanca', + 'Candela', + 'Carla', + 'Carlota', + 'Carmen', + 'Carolina', + 'Celia', + 'Clara', + 'Claudia', + 'Cristina', + 'Daniela', + 'Diana', + 'Elena', + 'Elsa', + 'Emilia', + 'Encarnación', + 'Eva', + 'Esther', + 'Fátima', + 'Francisca', + 'Gabriela', + 'Gloria', + 'Helena', + 'Inés', + 'Inmaculada', + 'Irene', + 'Isabel', + 'Josefa', + 'Jimena', + 'Juana', + 'Julia', + 'Laia', + 'Lara', + 'Laura', + 'Leire', + 'Lorena', + 'Lidia', + 'Lola', + 'Lucía', + 'Luisa', + 'Luna', + 'Malak', + 'Manuela', + 'Mar', + 'Mara', + 'Margarita', + 'María', + 'María Ángeles', + 'María Carmen', + 'María Dolores', + 'María Pilar', + 'Marina', + 'Marta', + 'Martina', + 'Mireia', + 'Miriam', + 'Nadia', + 'Nahia', + 'Naia', + 'Naiara', + 'Natalia', + 'Nayara', + 'Nerea', + 'Nil', + 'Noa', + 'Noelia', + 'Nora', + 'Nuria', + 'Olivia', + 'Olga', + 'Ona', + 'Paola', + 'Patricia', + 'Pau', + 'Paula', + 'Pilar', + 'Raquel', + 'Rocío', + 'Rosa', + 'Rosa María', + 'Rosario', + 'Salma', + 'Sandra', + 'Sara', + 'Silvia', + 'Sofía', + 'Sonia', + 'Teresa', + 'Úrsula', + 'Valentina', + 'Valeria', + 'Vega', + 'Vera', + 'Verónica', + 'Victoria', + 'Yaiza', + 'Yolanda', + 'Zoe', + ]; - protected static $lastName = [ - 'Abad', 'Abeyta', 'Abrego', 'Abreu', 'Acevedo', 'Acosta', 'Acuña', 'Adame', 'Adorno', 'Agosto', 'Aguado', 'Aguayo', 'Aguilar', 'Aguilera', 'Aguirre', 'Alanis', 'Alaniz', 'Alarcón', 'Alba', 'Alcala', 'Alcaráz', 'Alcántar', 'Alejandro', 'Alemán', 'Alfaro', 'Alfonso', 'Alicea', 'Almanza', 'Almaráz', 'Almonte', 'Alonso', 'Alonzo', 'Altamirano', 'Alva', 'Alvarado', 'Álvarez', 'Amador', 'Amaya', 'Anaya', 'Andreu', 'Andrés', 'Anguiano', 'Angulo', 'Antón', 'Aparicio', 'Apodaca', 'Aponte', 'Aragón', 'Aranda', 'Araña', 'Arce', 'Archuleta', 'Arellano', 'Arenas', 'Arevalo', 'Arguello', 'Arias', 'Armas', 'Armendáriz', 'Armenta', 'Armijo', 'Arredondo', 'Arreola', 'Arriaga', 'Arribas', 'Arroyo', 'Arteaga', 'Asensio', 'Atencio', 'Ávalos', 'Ávila', 'Avilés', 'Ayala', 'Baca', 'Badillo', 'Baeza', 'Bahena', 'Balderas', - 'Ballesteros', 'Banda', 'Barajas', 'Barela', 'Barragán', 'Barraza', 'Barrera', 'Barreto', 'Barrientos', 'Barrios', 'Barroso', 'Batista', 'Bautista', 'Bañuelos', 'Becerra', 'Beltrán', 'Benavides', 'Benavídez', 'Benito', 'Benítez', 'Bermejo', 'Bermúdez', 'Bernal', 'Berríos', 'Blanco', 'Blasco', 'Blázquez', 'Bonilla', 'Borrego', 'Botello', 'Bravo', 'Briones', 'Briseño', 'Brito', 'Bueno', 'Burgos', 'Bustamante', 'Bustos', 'Báez', 'Betancourt', - 'Caballero', 'Cabello', 'Cabrera', 'Cabán', 'Cadena', 'Caldera', 'Calderón', 'Calero', 'Calvillo', 'Calvo', 'Camacho', 'Camarillo', 'Campos', 'Canales', 'Candelaria', 'Cano', 'Cantú', 'Caraballo', 'Carbajal', 'Carballo', 'Carbonell', 'Cárdenas', 'Cardona', 'Carmona', 'Caro', 'Carranza', 'Carrasco', 'Carrasquillo', 'Carrera', 'Carrero', 'Carretero', 'Carreón', 'Carrillo', 'Carrión', 'Carvajal', 'Casado', 'Casanova', 'Casares', 'Casas', 'Casillas', 'Castañeda', 'Castaño', 'Castellano', 'Castellanos', 'Castillo', 'Castro', 'Casárez', 'Cavazos', 'Cazares', 'Ceballos', 'Cedillo', 'Ceja', 'Centeno', 'Cepeda', 'Cerda', 'Cervantes', 'Cervántez', 'Chacón', 'Chapa', 'Chavarría', 'Chávez', 'Cintrón', 'Cisneros', 'Clemente', 'Cobo', 'Collado', 'Collazo', 'Colunga', 'Colón', 'Concepción', 'Conde', 'Contreras', 'Cordero', 'Cornejo', 'Corona', 'Coronado', 'Corral', 'Corrales', 'Correa', 'Cortés', 'Cortez', 'Cortés', 'Costa', 'Cotto', 'Covarrubias', 'Crespo', 'Cruz', 'Cuellar', 'Cuenca', 'Cuesta', 'Cuevas', 'Curiel', 'Córdoba', 'Córdova', - 'De Anda', 'De Jesús', 'De la Cruz', 'De la Fuente', 'De la Torre', 'Del Río', 'Delacrúz', 'Delafuente', 'Delagarza', 'Delao', 'Delapaz', 'Delarosa', 'Delatorre', 'Deleón', 'Delgadillo', 'Delgado', 'Delrío', 'Delvalle', 'Díez', 'Domenech', 'Domingo', 'Domínguez', 'Domínquez', 'Duarte', 'Dueñas', 'Duran', 'Dávila', 'Díaz', - 'Echevarría', 'Elizondo', 'Enríquez', 'Escalante', 'Escamilla', 'Escobar', 'Escobedo', 'Escribano', 'Escudero', 'Esparza', 'Espinal', 'Espino', 'Espinosa', 'Espinoza', 'Esquibel', 'Esquivel', 'Esteban', 'Esteve', 'Estrada', 'Estévez', 'Expósito', - 'Fajardo', 'Farías', 'Feliciano', 'Fernández', 'Ferrer', 'Fierro', 'Figueroa', 'Flores', 'Flórez', 'Fonseca', 'Font', 'Franco', 'Frías', 'Fuentes', - 'Gaitán', 'Galarza', 'Galindo', 'Gallardo', 'Gallego', 'Gallegos', 'Galván', 'Galán', 'Gamboa', 'Gámez', 'Gaona', 'Garay', 'García', 'Garibay', 'Garica', 'Garrido', 'Garza', 'Gastélum', 'Gaytán', 'Gil', 'Gimeno', 'Giménez', 'Girón', 'Godoy', 'Godínez', 'Gonzáles', 'González', 'Gracia', 'Granado', 'Granados', 'Griego', 'Grijalva', 'Guajardo', 'Guardado', 'Guerra', 'Guerrero', 'Guevara', 'Guillen', 'Gurule', 'Gutiérrez', 'Guzmán', 'Gálvez', 'Gómez', - 'Haro', 'Henríquez', 'Heredia', 'Hernándes', 'Hernando', 'Hernádez', 'Hernández', 'Herrera', 'Herrero', 'Hidalgo', 'Hinojosa', 'Holguín', 'Huerta', 'Hurtado', - 'Ibarra', 'Ibáñez', 'Iglesias', 'Irizarry', 'Izquierdo', - 'Jaime', 'Jaimes', 'Jaramillo', 'Jasso', 'Jiménez', 'Jimínez', 'Juan', 'Jurado', 'Juárez', 'Jáquez', - 'Laboy', 'Lara', 'Laureano', 'Leal', 'Lebrón', 'Ledesma', 'Leiva', 'Lemus', 'Lerma', 'Leyva', 'León', 'Limón', 'Linares', 'Lira', 'Llamas', 'Llorente', 'Loera', 'Lomeli', 'Longoria', 'Lorente', 'Lorenzo', 'Lovato', 'Loya', 'Lozada', 'Lozano', 'Lucas', 'Lucero', 'Lucio', 'Luevano', 'Lugo', 'Luis', 'Luján', 'Luna', 'Luque', 'Lázaro', 'López', - 'Macias', 'Macías', 'Madera', 'Madrid', 'Madrigal', 'Maestas', 'Magaña', 'Malave', 'Maldonado', 'Manzanares', 'Manzano', 'Marco', 'Marcos', 'Mares', 'Marrero', 'Marroquín', 'Martos', 'Martí', 'Martín', 'Martínez', 'Marín', 'Más', 'Mascareñas', 'Mata', 'Mateo', 'Mateos', 'Matos', 'Matías', 'Maya', 'Mayorga', 'Medina', 'Medrano', 'Mejía', 'Melgar', 'Meléndez', 'Mena', 'Menchaca', 'Mendoza', 'Menéndez', 'Meraz', 'Mercado', 'Merino', 'Mesa', 'Meza', 'Miguel', 'Millán', 'Miramontes', 'Miranda', 'Mireles', 'Mojica', 'Molina', 'Mondragón', 'Monroy', 'Montalvo', 'Montañez', 'Montaño', 'Montemayor', 'Montenegro', 'Montero', 'Montes', 'Montez', 'Montoya', 'Mora', 'Moral', 'Morales', 'Morán', 'Moreno', 'Mota', 'Moya', 'Munguía', 'Murillo', 'Muro', 'Muñiz', 'Muñoz', 'Márquez', 'Méndez', - 'Naranjo', 'Narváez', 'Nava', 'Navarrete', 'Navarro', 'Navas', 'Nazario', 'Negrete', 'Negrón', 'Nevárez', 'Nieto', 'Nieves', 'Niño', 'Noriega', 'Nájera', 'Núñez', - 'Ocampo', 'Ocasio', 'Ochoa', 'Ojeda', 'Oliva', 'Olivares', 'Olivas', 'Oliver', 'Olivera', 'Olivo', 'Olivárez', 'Olmos', 'Olvera', 'Ontiveros', 'Oquendo', 'Ordoñez', 'Ordóñez', 'Orellana', 'Ornelas', 'Orosco', 'Orozco', 'Orta', 'Ortega', 'Ortíz', 'Osorio', 'Otero', 'Ozuna', - 'Pabón', 'Pacheco', 'Padilla', 'Padrón', 'Pagan', 'Palacios', 'Palomino', 'Palomo', 'Pantoja', 'Pardo', 'Paredes', 'Parra', 'Partida', 'Pascual', 'Pastor', 'Patiño', 'Paz', 'Pedraza', 'Pedroza', 'Pelayo', 'Peláez', 'Perales', 'Peralta', 'Perea', 'Pereira', 'Peres', 'Peña', 'Pichardo', 'Pineda', 'Pizarro', 'Piña', 'Piñeiro', 'Plaza', 'Polanco', 'Polo', 'Ponce', 'Pons', 'Porras', 'Portillo', 'Posada', 'Pozo', 'Prado', 'Preciado', 'Prieto', 'Puente', 'Puga', 'Puig', 'Pulido', 'Páez', 'Pérez', - 'Quesada', 'Quezada', 'Quintana', 'Quintanilla', 'Quintero', 'Quiroz', 'Quiñones', 'Quiñónez', - 'Rael', 'Ramos', 'Ramírez', 'Ramón', 'Rangel', 'Rascón', 'Raya', 'Razo', 'Redondo', 'Regalado', 'Reina', 'Rendón', 'Rentería', 'Requena', 'Reséndez', 'Rey', 'Reyes', 'Reyna', 'Reynoso', 'Rico', 'Riera', 'Rincón', 'Riojas', 'Rivas', 'Rivera', 'Rivero', 'Robledo', 'Robles', 'Roca', 'Rocha', 'Rodarte', 'Rodrigo', 'Rodríguez', 'Rodríquez', 'Roig', 'Rojas', 'Rojo', 'Roldán', 'Rolón', 'Romero', 'Romo', 'Román', 'Roque', 'Ros', 'Rosa', 'Rosado', 'Rosales', 'Rosario', 'Rosas', 'Roybal', 'Rubio', 'Rueda', 'Ruelas', 'Ruiz', 'Ruvalcaba', 'Ruíz', 'Ríos', - 'Saavedra', 'Saiz', 'Salas', 'Salazar', 'Salcedo', 'Salcido', 'Saldaña', 'Saldivar', 'Salgado', 'Salinas', 'Salvador', 'Samaniego', 'Sanabria', 'Sánchez', 'Sancho', 'Sandoval', 'Santacruz', 'Santamaría', 'Santana', 'Santiago', 'Santillán', 'Santos', 'Sanz', 'Sarabia', 'Sauceda', 'Saucedo', 'Sedillo', 'Segovia', 'Segura', 'Sepúlveda', 'Serna', 'Serra', 'Serrano', 'Serrato', 'Sevilla', 'Sierra', 'Silva', 'Simón', 'Sisneros', 'Sola', 'Solano', 'Soler', 'Soliz', 'Solorio', 'Solorzano', 'Solís', 'Soria', 'Soriano', 'Sosa', 'Sotelo', 'Soto', 'Suárez', 'Sáenz', 'Sáez', 'Sánchez', - 'Tafoya', 'Tamayo', 'Tamez', 'Tapia', 'Tejada', 'Tejeda', 'Tello', 'Terrazas', 'Terán', 'Tijerina', 'Tirado', 'Toledo', 'Toro', 'Torres', 'Tovar', 'Trejo', 'Treviño', 'Trujillo', 'Téllez', 'Tórrez', - 'Ulibarri', 'Ulloa', 'Urbina', 'Ureña', 'Uribe', 'Urrutia', 'Urías', - 'Vaca', 'Valadez', 'Valdez', 'Valdivia', 'Valdés', 'Valencia', 'Valentín', 'Valenzuela', 'Valero', 'Valladares', 'Valle', 'Vallejo', 'Valles', 'Valverde', 'Vanegas', 'Varela', 'Vargas', 'Vega', 'Vela', 'Velasco', 'Velásquez', 'Velázquez', 'Venegas', 'Vera', 'Verdugo', 'Verduzco', 'Vergara', 'Vicente', 'Vidal', 'Viera', 'Vigil', 'Vila', 'Villa', 'Villagómez', 'Villalba', 'Villalobos', 'Villalpando', 'Villanueva', 'Villar', 'Villareal', 'Villarreal', 'Villaseñor', 'Villegas', 'Vásquez', 'Vázquez', 'Vélez', 'Véliz', - 'Ybarra', 'Yáñez', - 'Zambrano', 'Zamora', 'Zamudio', 'Zapata', 'Zaragoza', 'Zarate', 'Zavala', 'Zayas', 'Zelaya', 'Zepeda', 'Zúñiga', - ]; + protected static $lastName = [ + 'Abad', + 'Abeyta', + 'Abrego', + 'Abreu', + 'Acevedo', + 'Acosta', + 'Acuña', + 'Adame', + 'Adorno', + 'Agosto', + 'Aguado', + 'Aguayo', + 'Aguilar', + 'Aguilera', + 'Aguirre', + 'Alanis', + 'Alaniz', + 'Alarcón', + 'Alba', + 'Alcala', + 'Alcaráz', + 'Alcántar', + 'Alejandro', + 'Alemán', + 'Alfaro', + 'Alfonso', + 'Alicea', + 'Almanza', + 'Almaráz', + 'Almonte', + 'Alonso', + 'Alonzo', + 'Altamirano', + 'Alva', + 'Alvarado', + 'Álvarez', + 'Amador', + 'Amaya', + 'Anaya', + 'Andreu', + 'Andrés', + 'Anguiano', + 'Angulo', + 'Antón', + 'Aparicio', + 'Apodaca', + 'Aponte', + 'Aragón', + 'Aranda', + 'Araña', + 'Arce', + 'Archuleta', + 'Arellano', + 'Arenas', + 'Arevalo', + 'Arguello', + 'Arias', + 'Armas', + 'Armendáriz', + 'Armenta', + 'Armijo', + 'Arredondo', + 'Arreola', + 'Arriaga', + 'Arribas', + 'Arroyo', + 'Arteaga', + 'Asensio', + 'Atencio', + 'Ávalos', + 'Ávila', + 'Avilés', + 'Ayala', + 'Baca', + 'Badillo', + 'Baeza', + 'Bahena', + 'Balderas', + 'Ballesteros', + 'Banda', + 'Barajas', + 'Barela', + 'Barragán', + 'Barraza', + 'Barrera', + 'Barreto', + 'Barrientos', + 'Barrios', + 'Barroso', + 'Batista', + 'Bautista', + 'Bañuelos', + 'Becerra', + 'Beltrán', + 'Benavides', + 'Benavídez', + 'Benito', + 'Benítez', + 'Bermejo', + 'Bermúdez', + 'Bernal', + 'Berríos', + 'Blanco', + 'Blasco', + 'Blázquez', + 'Bonilla', + 'Borrego', + 'Botello', + 'Bravo', + 'Briones', + 'Briseño', + 'Brito', + 'Bueno', + 'Burgos', + 'Bustamante', + 'Bustos', + 'Báez', + 'Betancourt', + 'Caballero', + 'Cabello', + 'Cabrera', + 'Cabán', + 'Cadena', + 'Caldera', + 'Calderón', + 'Calero', + 'Calvillo', + 'Calvo', + 'Camacho', + 'Camarillo', + 'Campos', + 'Canales', + 'Candelaria', + 'Cano', + 'Cantú', + 'Caraballo', + 'Carbajal', + 'Carballo', + 'Carbonell', + 'Cárdenas', + 'Cardona', + 'Carmona', + 'Caro', + 'Carranza', + 'Carrasco', + 'Carrasquillo', + 'Carrera', + 'Carrero', + 'Carretero', + 'Carreón', + 'Carrillo', + 'Carrión', + 'Carvajal', + 'Casado', + 'Casanova', + 'Casares', + 'Casas', + 'Casillas', + 'Castañeda', + 'Castaño', + 'Castellano', + 'Castellanos', + 'Castillo', + 'Castro', + 'Casárez', + 'Cavazos', + 'Cazares', + 'Ceballos', + 'Cedillo', + 'Ceja', + 'Centeno', + 'Cepeda', + 'Cerda', + 'Cervantes', + 'Cervántez', + 'Chacón', + 'Chapa', + 'Chavarría', + 'Chávez', + 'Cintrón', + 'Cisneros', + 'Clemente', + 'Cobo', + 'Collado', + 'Collazo', + 'Colunga', + 'Colón', + 'Concepción', + 'Conde', + 'Contreras', + 'Cordero', + 'Cornejo', + 'Corona', + 'Coronado', + 'Corral', + 'Corrales', + 'Correa', + 'Cortés', + 'Cortez', + 'Cortés', + 'Costa', + 'Cotto', + 'Covarrubias', + 'Crespo', + 'Cruz', + 'Cuellar', + 'Cuenca', + 'Cuesta', + 'Cuevas', + 'Curiel', + 'Córdoba', + 'Córdova', + 'De Anda', + 'De Jesús', + 'De la Cruz', + 'De la Fuente', + 'De la Torre', + 'Del Río', + 'Delacrúz', + 'Delafuente', + 'Delagarza', + 'Delao', + 'Delapaz', + 'Delarosa', + 'Delatorre', + 'Deleón', + 'Delgadillo', + 'Delgado', + 'Delrío', + 'Delvalle', + 'Díez', + 'Domenech', + 'Domingo', + 'Domínguez', + 'Domínquez', + 'Duarte', + 'Dueñas', + 'Duran', + 'Dávila', + 'Díaz', + 'Echevarría', + 'Elizondo', + 'Enríquez', + 'Escalante', + 'Escamilla', + 'Escobar', + 'Escobedo', + 'Escribano', + 'Escudero', + 'Esparza', + 'Espinal', + 'Espino', + 'Espinosa', + 'Espinoza', + 'Esquibel', + 'Esquivel', + 'Esteban', + 'Esteve', + 'Estrada', + 'Estévez', + 'Expósito', + 'Fajardo', + 'Farías', + 'Feliciano', + 'Fernández', + 'Ferrer', + 'Fierro', + 'Figueroa', + 'Flores', + 'Flórez', + 'Fonseca', + 'Font', + 'Franco', + 'Frías', + 'Fuentes', + 'Gaitán', + 'Galarza', + 'Galindo', + 'Gallardo', + 'Gallego', + 'Gallegos', + 'Galván', + 'Galán', + 'Gamboa', + 'Gámez', + 'Gaona', + 'Garay', + 'García', + 'Garibay', + 'Garica', + 'Garrido', + 'Garza', + 'Gastélum', + 'Gaytán', + 'Gil', + 'Gimeno', + 'Giménez', + 'Girón', + 'Godoy', + 'Godínez', + 'Gonzáles', + 'González', + 'Gracia', + 'Granado', + 'Granados', + 'Griego', + 'Grijalva', + 'Guajardo', + 'Guardado', + 'Guerra', + 'Guerrero', + 'Guevara', + 'Guillen', + 'Gurule', + 'Gutiérrez', + 'Guzmán', + 'Gálvez', + 'Gómez', + 'Haro', + 'Henríquez', + 'Heredia', + 'Hernándes', + 'Hernando', + 'Hernádez', + 'Hernández', + 'Herrera', + 'Herrero', + 'Hidalgo', + 'Hinojosa', + 'Holguín', + 'Huerta', + 'Hurtado', + 'Ibarra', + 'Ibáñez', + 'Iglesias', + 'Irizarry', + 'Izquierdo', + 'Jaime', + 'Jaimes', + 'Jaramillo', + 'Jasso', + 'Jiménez', + 'Jimínez', + 'Juan', + 'Jurado', + 'Juárez', + 'Jáquez', + 'Laboy', + 'Lara', + 'Laureano', + 'Leal', + 'Lebrón', + 'Ledesma', + 'Leiva', + 'Lemus', + 'Lerma', + 'Leyva', + 'León', + 'Limón', + 'Linares', + 'Lira', + 'Llamas', + 'Llorente', + 'Loera', + 'Lomeli', + 'Longoria', + 'Lorente', + 'Lorenzo', + 'Lovato', + 'Loya', + 'Lozada', + 'Lozano', + 'Lucas', + 'Lucero', + 'Lucio', + 'Luevano', + 'Lugo', + 'Luis', + 'Luján', + 'Luna', + 'Luque', + 'Lázaro', + 'López', + 'Macias', + 'Macías', + 'Madera', + 'Madrid', + 'Madrigal', + 'Maestas', + 'Magaña', + 'Malave', + 'Maldonado', + 'Manzanares', + 'Manzano', + 'Marco', + 'Marcos', + 'Mares', + 'Marrero', + 'Marroquín', + 'Martos', + 'Martí', + 'Martín', + 'Martínez', + 'Marín', + 'Más', + 'Mascareñas', + 'Mata', + 'Mateo', + 'Mateos', + 'Matos', + 'Matías', + 'Maya', + 'Mayorga', + 'Medina', + 'Medrano', + 'Mejía', + 'Melgar', + 'Meléndez', + 'Mena', + 'Menchaca', + 'Mendoza', + 'Menéndez', + 'Meraz', + 'Mercado', + 'Merino', + 'Mesa', + 'Meza', + 'Miguel', + 'Millán', + 'Miramontes', + 'Miranda', + 'Mireles', + 'Mojica', + 'Molina', + 'Mondragón', + 'Monroy', + 'Montalvo', + 'Montañez', + 'Montaño', + 'Montemayor', + 'Montenegro', + 'Montero', + 'Montes', + 'Montez', + 'Montoya', + 'Mora', + 'Moral', + 'Morales', + 'Morán', + 'Moreno', + 'Mota', + 'Moya', + 'Munguía', + 'Murillo', + 'Muro', + 'Muñiz', + 'Muñoz', + 'Márquez', + 'Méndez', + 'Naranjo', + 'Narváez', + 'Nava', + 'Navarrete', + 'Navarro', + 'Navas', + 'Nazario', + 'Negrete', + 'Negrón', + 'Nevárez', + 'Nieto', + 'Nieves', + 'Niño', + 'Noriega', + 'Nájera', + 'Núñez', + 'Ocampo', + 'Ocasio', + 'Ochoa', + 'Ojeda', + 'Oliva', + 'Olivares', + 'Olivas', + 'Oliver', + 'Olivera', + 'Olivo', + 'Olivárez', + 'Olmos', + 'Olvera', + 'Ontiveros', + 'Oquendo', + 'Ordoñez', + 'Ordóñez', + 'Orellana', + 'Ornelas', + 'Orosco', + 'Orozco', + 'Orta', + 'Ortega', + 'Ortíz', + 'Osorio', + 'Otero', + 'Ozuna', + 'Pabón', + 'Pacheco', + 'Padilla', + 'Padrón', + 'Pagan', + 'Palacios', + 'Palomino', + 'Palomo', + 'Pantoja', + 'Pardo', + 'Paredes', + 'Parra', + 'Partida', + 'Pascual', + 'Pastor', + 'Patiño', + 'Paz', + 'Pedraza', + 'Pedroza', + 'Pelayo', + 'Peláez', + 'Perales', + 'Peralta', + 'Perea', + 'Pereira', + 'Peres', + 'Peña', + 'Pichardo', + 'Pineda', + 'Pizarro', + 'Piña', + 'Piñeiro', + 'Plaza', + 'Polanco', + 'Polo', + 'Ponce', + 'Pons', + 'Porras', + 'Portillo', + 'Posada', + 'Pozo', + 'Prado', + 'Preciado', + 'Prieto', + 'Puente', + 'Puga', + 'Puig', + 'Pulido', + 'Páez', + 'Pérez', + 'Quesada', + 'Quezada', + 'Quintana', + 'Quintanilla', + 'Quintero', + 'Quiroz', + 'Quiñones', + 'Quiñónez', + 'Rael', + 'Ramos', + 'Ramírez', + 'Ramón', + 'Rangel', + 'Rascón', + 'Raya', + 'Razo', + 'Redondo', + 'Regalado', + 'Reina', + 'Rendón', + 'Rentería', + 'Requena', + 'Reséndez', + 'Rey', + 'Reyes', + 'Reyna', + 'Reynoso', + 'Rico', + 'Riera', + 'Rincón', + 'Riojas', + 'Rivas', + 'Rivera', + 'Rivero', + 'Robledo', + 'Robles', + 'Roca', + 'Rocha', + 'Rodarte', + 'Rodrigo', + 'Rodríguez', + 'Rodríquez', + 'Roig', + 'Rojas', + 'Rojo', + 'Roldán', + 'Rolón', + 'Romero', + 'Romo', + 'Román', + 'Roque', + 'Ros', + 'Rosa', + 'Rosado', + 'Rosales', + 'Rosario', + 'Rosas', + 'Roybal', + 'Rubio', + 'Rueda', + 'Ruelas', + 'Ruiz', + 'Ruvalcaba', + 'Ruíz', + 'Ríos', + 'Saavedra', + 'Saiz', + 'Salas', + 'Salazar', + 'Salcedo', + 'Salcido', + 'Saldaña', + 'Saldivar', + 'Salgado', + 'Salinas', + 'Salvador', + 'Samaniego', + 'Sanabria', + 'Sánchez', + 'Sancho', + 'Sandoval', + 'Santacruz', + 'Santamaría', + 'Santana', + 'Santiago', + 'Santillán', + 'Santos', + 'Sanz', + 'Sarabia', + 'Sauceda', + 'Saucedo', + 'Sedillo', + 'Segovia', + 'Segura', + 'Sepúlveda', + 'Serna', + 'Serra', + 'Serrano', + 'Serrato', + 'Sevilla', + 'Sierra', + 'Silva', + 'Simón', + 'Sisneros', + 'Sola', + 'Solano', + 'Soler', + 'Soliz', + 'Solorio', + 'Solorzano', + 'Solís', + 'Soria', + 'Soriano', + 'Sosa', + 'Sotelo', + 'Soto', + 'Suárez', + 'Sáenz', + 'Sáez', + 'Sánchez', + 'Tafoya', + 'Tamayo', + 'Tamez', + 'Tapia', + 'Tejada', + 'Tejeda', + 'Tello', + 'Terrazas', + 'Terán', + 'Tijerina', + 'Tirado', + 'Toledo', + 'Toro', + 'Torres', + 'Tovar', + 'Trejo', + 'Treviño', + 'Trujillo', + 'Téllez', + 'Tórrez', + 'Ulibarri', + 'Ulloa', + 'Urbina', + 'Ureña', + 'Uribe', + 'Urrutia', + 'Urías', + 'Vaca', + 'Valadez', + 'Valdez', + 'Valdivia', + 'Valdés', + 'Valencia', + 'Valentín', + 'Valenzuela', + 'Valero', + 'Valladares', + 'Valle', + 'Vallejo', + 'Valles', + 'Valverde', + 'Vanegas', + 'Varela', + 'Vargas', + 'Vega', + 'Vela', + 'Velasco', + 'Velásquez', + 'Velázquez', + 'Venegas', + 'Vera', + 'Verdugo', + 'Verduzco', + 'Vergara', + 'Vicente', + 'Vidal', + 'Viera', + 'Vigil', + 'Vila', + 'Villa', + 'Villagómez', + 'Villalba', + 'Villalobos', + 'Villalpando', + 'Villanueva', + 'Villar', + 'Villareal', + 'Villarreal', + 'Villaseñor', + 'Villegas', + 'Vásquez', + 'Vázquez', + 'Vélez', + 'Véliz', + 'Ybarra', + 'Yáñez', + 'Zambrano', + 'Zamora', + 'Zamudio', + 'Zapata', + 'Zaragoza', + 'Zarate', + 'Zavala', + 'Zayas', + 'Zelaya', + 'Zepeda', + 'Zúñiga', + ]; - protected static $titleMale = ['Sr.', 'D.', 'Dr.', 'Lic.', 'Ing.']; + protected static $titleMale = [ 'Sr.', 'D.', 'Dr.', 'Lic.', 'Ing.' ]; - protected static $titleFemale = ['Sra.', 'Srta.', 'Dña', 'Dr.', 'Lic.', 'Ing.']; + protected static $titleFemale = [ 'Sra.', 'Srta.', 'Dña', 'Dr.', 'Lic.', 'Ing.' ]; - private static $suffix = ['Hijo', 'Segundo', 'Tercero']; + private static $suffix = [ 'Hijo', 'Segundo', 'Tercero' ]; - protected static $licenceCodes = ['AM', 'A1', 'A2', 'A', 'B', 'B+E', 'C1', 'C1+E', 'C', 'C+E', 'D1', 'D1+E', 'D', 'D+E']; + protected static $licenceCodes = [ + 'AM', + 'A1', + 'A2', + 'A', + 'B', + 'B+E', + 'C1', + 'C1+E', + 'C', + 'C+E', + 'D1', + 'D1+E', + 'D', + 'D+E' + ]; - /** - * @example 'Hijo' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'Hijo' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * Generate a Documento Nacional de Identidad (DNI) number - * - * @example '77446565E' - * - * @see https://es.wikibooks.org/wiki/Algoritmo_para_obtener_la_letra_del_NIF#Algoritmo - */ - public static function dni() - { - $number = static::numerify('########'); - $letter = self::$crcMap[$number % 23]; + /** + * Generate a Documento Nacional de Identidad (DNI) number + * + * @example '77446565E' + * + * @see https://es.wikibooks.org/wiki/Algoritmo_para_obtener_la_letra_del_NIF#Algoritmo + */ + public static function dni() { + $number = static::numerify( '########' ); + $letter = self::$crcMap[ $number % 23 ]; - return $number . $letter; - } + return $number . $letter; + } - /** - * @see https://sede.dgt.gob.es/es/tramites-y-multas/permiso-de-conduccion/obtencion-permiso-licencia-conduccion/clases-permiso-conduccion-edad.shtml - * - * @return string - */ - public function licenceCode() - { - return static::randomElement(static::$licenceCodes); - } + /** + * @see https://sede.dgt.gob.es/es/tramites-y-multas/permiso-de-conduccion/obtencion-permiso-licencia-conduccion/clases-permiso-conduccion-edad.shtml + * + * @return string + */ + public function licenceCode() { + return static::randomElement( static::$licenceCodes ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/PhoneNumber.php index 0aaaf6a..f22603c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/PhoneNumber.php @@ -2,46 +2,43 @@ namespace Faker\Provider\es_ES; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+34 9## ## ####', - '+34 9## ######', - '+34 9########', - '+34 9##-##-####', - '+34 9##-######', - '9## ## ####', - '9## ######', - '9########', - '9##-##-####', - '9##-######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+34 9## ## ####', + '+34 9## ######', + '+34 9########', + '+34 9##-##-####', + '+34 9##-######', + '9## ## ####', + '9## ######', + '9########', + '9##-##-####', + '9##-######', + ]; - protected static $mobileFormats = [ - '+34 6## ## ####', - '+34 6## ######', - '+34 6########', - '+34 6##-##-####', - '+34 6##-######', - '6## ## ####', - '6## ######', - '6########', - '6##-##-####', - '6##-######', - ]; + protected static $mobileFormats = [ + '+34 6## ## ####', + '+34 6## ######', + '+34 6########', + '+34 6##-##-####', + '+34 6##-######', + '6## ## ####', + '6## ######', + '6########', + '6##-##-####', + '6##-######', + ]; - protected static $tollFreeFormats = [ - '900 ### ###', - '800 ### ###', - ]; + protected static $tollFreeFormats = [ + '900 ### ###', + '800 ### ###', + ]; - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } - public static function tollFreeNumber() - { - return static::numerify(static::randomElement(static::$tollFreeFormats)); - } + public static function tollFreeNumber() { + return static::numerify( static::randomElement( static::$tollFreeFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Text.php b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Text.php index 0438304..7ea1974 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_ES/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_ES/Text.php @@ -2,17 +2,16 @@ namespace Faker\Provider\es_ES; -class Text extends \Faker\Provider\Text -{ - /** - * Benito Pérez Galdós - * Tarfalgar - * - * @see http://www.gutenberg.org/cache/epub/16961/pg16961.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * Benito Pérez Galdós + * Tarfalgar + * + * @see http://www.gutenberg.org/cache/epub/16961/pg16961.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' Se me permitirá que antes de referir el gran suceso de que fui testigo, diga algunas palabras sobre mi infancia, explicando por qué extraña manera me llevaron los azares de la vida a presenciar la terrible catástrofe de nuestra marina. Al hablar de mi nacimiento, no imitaré a la mayor parte de los que cuentan hechos de su propia vida, quienes empiezan nombrando su parentela, las más veces noble, siempre hidalga por lo menos, si no se dicen descendientes del mismo Emperador de Trapisonda. Yo, en esta parte, no puedo adornar mi libro con sonoros apellidos; y fuera de mi madre, a quien conocí por poco tiempo, no tengo noticia de ninguno de mis ascendientes, si no es de Adán, cuyo parentesco me parece indiscutible. Doy principio, pues, a mi historia como Pablos, el buscón de Segovia: afortunadamente Dios ha querido que en esto sólo nos parezcamos. Yo nací en Cádiz, y en el famoso barrio de la Viña, que no es hoy, ni menos era entonces, academia de buenas costumbres. La memoria no me da luz alguna sobre mi persona y mis acciones en la niñez, sino desde la edad de seis años; y si recuerdo esta fecha, es porque la asocio a un suceso naval de que oí hablar entonces: el combate del cabo de San Vicente, acaecido en 1797. diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Address.php index 5b1d0a9..5fe604e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Address.php @@ -2,64 +2,80 @@ namespace Faker\Provider\es_PE; -class Address extends \Faker\Provider\es_ES\Address -{ - protected static $cityPrefix = ['San', 'Puerto', 'Gral.', 'Don']; - protected static $citySuffix = ['Alta', 'Baja', 'Norte', 'Este', ' Sur', ' Oeste']; - protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%']; - protected static $streetPrefix = ['Jr.', 'Av.', 'Cl.', 'Urb.']; - protected static $streetSuffix = ['']; - protected static $postcode = ['LIMA ##']; - protected static $state = [ - 'Lima', 'Callao', 'Arequipa', 'Cuzco', 'Piura', 'Iquitos', 'Huaraz', 'Tacna', 'Ayacucho', 'Pucallpa', 'Trujillo', 'Chimbote', 'Ica', 'Moquegua', 'Puno', 'Tarapoto', 'Cajamarca', 'Lambayeque', 'Huanuco', 'Jauja', 'Tumbes', 'Madre de Dios', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}} {{lastName}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}} {{citySuffix}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} # {{buildingNumber}} ', - '{{streetName}} # {{buildingNumber}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{state}}", - ]; - protected static $secondaryAddressFormats = ['Dpto. ###', 'Hab. ###', 'Piso #', 'Piso ##']; +class Address extends \Faker\Provider\es_ES\Address { + protected static $cityPrefix = [ 'San', 'Puerto', 'Gral.', 'Don' ]; + protected static $citySuffix = [ 'Alta', 'Baja', 'Norte', 'Este', ' Sur', ' Oeste' ]; + protected static $buildingNumber = [ '%####', '%###', '%##', '%#', '%' ]; + protected static $streetPrefix = [ 'Jr.', 'Av.', 'Cl.', 'Urb.' ]; + protected static $streetSuffix = [ '' ]; + protected static $postcode = [ 'LIMA ##' ]; + protected static $state = [ + 'Lima', + 'Callao', + 'Arequipa', + 'Cuzco', + 'Piura', + 'Iquitos', + 'Huaraz', + 'Tacna', + 'Ayacucho', + 'Pucallpa', + 'Trujillo', + 'Chimbote', + 'Ica', + 'Moquegua', + 'Puno', + 'Tarapoto', + 'Cajamarca', + 'Lambayeque', + 'Huanuco', + 'Jauja', + 'Tumbes', + 'Madre de Dios', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}} {{lastName}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}} {{citySuffix}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} # {{buildingNumber}} ', + '{{streetName}} # {{buildingNumber}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{state}}", + ]; + protected static $secondaryAddressFormats = [ 'Dpto. ###', 'Hab. ###', 'Piso #', 'Piso ##' ]; - /** - * @example '' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example '' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Jr.' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Jr.' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'Dpto. 402' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Dpto. 402' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Lima' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Lima' + */ + public static function state() { + return static::randomElement( static::$state ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Company.php index ff9f50d..77d0744 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Company.php @@ -2,87 +2,551 @@ namespace Faker\Provider\es_PE; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}} y {{lastName}}', - '{{lastName}} de {{lastName}}', - '{{lastName}}, {{lastName}} y {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}} y {{lastName}}', + '{{lastName}} de {{lastName}}', + '{{lastName}}, {{lastName}} y {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Adaptive', 'Advanced', 'Ameliorated', 'Assimilated', 'Automated', 'Balanced', 'Business-focused', 'Centralized', 'Cloned', 'Compatible', 'Configurable', 'Cross-group', 'Cross-platform', 'Customer-focused', 'Customizable', 'Decentralized', 'De-engineered', 'Devolved', 'Digitized', 'Distributed', 'Diverse', 'Down-sized', 'Enhanced', 'Enterprise-wide', 'Ergonomic', 'Exclusive', 'Expanded', 'Extended', 'Facetoface', 'Focused', 'Front-line', 'Fully-configurable', 'Function-based', 'Fundamental', 'Future-proofed', 'Grass-roots', 'Horizontal', 'Implemented', 'Innovative', 'Integrated', 'Intuitive', 'Inverse', 'Managed', 'Mandatory', 'Monitored', 'Multi-channelled', 'Multi-lateral', 'Multi-layered', 'Multi-tiered', 'Networked', 'Object-based', 'Open-architected', 'Open-source', 'Operative', 'Optimized', 'Optional', 'Organic', 'Organized', 'Persevering', 'Persistent', 'Phased', 'Polarised', 'Pre-emptive', 'Proactive', 'Profit-focused', 'Profound', 'Programmable', 'Progressive', 'Public-key', 'Quality-focused', 'Reactive', 'Realigned', 'Re-contextualized', 'Re-engineered', 'Reduced', 'Reverse-engineered', 'Right-sized', 'Robust', 'Seamless', 'Secured', 'Self-enabling', 'Sharable', 'Stand-alone', 'Streamlined', 'Switchable', 'Synchronised', 'Synergistic', 'Synergized', 'Team-oriented', 'Total', 'Triple-buffered', 'Universal', 'Up-sized', 'Upgradable', 'User-centric', 'User-friendly', 'Versatile', 'Virtual', 'Visionary', 'Vision-oriented', - ], - [ - '24hour', '24/7', '3rdgeneration', '4thgeneration', '5thgeneration', '6thgeneration', 'actuating', 'analyzing', 'assymetric', 'asynchronous', 'attitude-oriented', 'background', 'bandwidth-monitored', 'bi-directional', 'bifurcated', 'bottom-line', 'clear-thinking', 'client-driven', 'client-server', 'coherent', 'cohesive', 'composite', 'context-sensitive', 'contextually-based', 'content-based', 'dedicated', 'demand-driven', 'didactic', 'directional', 'discrete', 'disintermediate', 'dynamic', 'eco-centric', 'empowering', 'encompassing', 'even-keeled', 'executive', 'explicit', 'exuding', 'fault-tolerant', 'foreground', 'fresh-thinking', 'full-range', 'global', 'grid-enabled', 'heuristic', 'high-level', 'holistic', 'homogeneous', 'human-resource', 'hybrid', 'impactful', 'incremental', 'intangible', 'interactive', 'intermediate', 'leadingedge', 'local', 'logistical', 'maximized', 'methodical', 'mission-critical', 'mobile', 'modular', 'motivating', 'multimedia', 'multi-state', 'multi-tasking', 'national', 'needs-based', 'neutral', 'nextgeneration', 'non-volatile', 'object-oriented', 'optimal', 'optimizing', 'radical', 'real-time', 'reciprocal', 'regional', 'responsive', 'scalable', 'secondary', 'solution-oriented', 'stable', 'static', 'systematic', 'systemic', 'system-worthy', 'tangible', 'tertiary', 'transitional', 'uniform', 'upward-trending', 'user-facing', 'value-added', 'web-enabled', 'well-modulated', 'zeroadministration', 'zerodefect', 'zerotolerance', - ], - [ - 'ability', 'access', 'adapter', 'algorithm', 'alliance', 'analyzer', 'application', 'approach', 'architecture', 'archive', 'artificialintelligence', 'array', 'attitude', 'benchmark', 'budgetarymanagement', 'capability', 'capacity', 'challenge', 'circuit', 'collaboration', 'complexity', 'concept', 'conglomeration', 'contingency', 'core', 'customerloyalty', 'database', 'data-warehouse', 'definition', 'emulation', 'encoding', 'encryption', 'extranet', 'firmware', 'flexibility', 'focusgroup', 'forecast', 'frame', 'framework', 'function', 'functionalities', 'GraphicInterface', 'groupware', 'GraphicalUserInterface', 'hardware', 'help-desk', 'hierarchy', 'hub', 'implementation', 'info-mediaries', 'infrastructure', 'initiative', 'installation', 'instructionset', 'interface', 'internetsolution', 'intranet', 'knowledgeuser', 'knowledgebase', 'localareanetwork', 'leverage', 'matrices', 'matrix', 'methodology', 'middleware', 'migration', 'model', 'moderator', 'monitoring', 'moratorium', 'neural-net', 'openarchitecture', 'opensystem', 'orchestration', 'paradigm', 'parallelism', 'policy', 'portal', 'pricingstructure', 'processimprovement', 'product', 'productivity', 'project', 'projection', 'protocol', 'securedline', 'service-desk', 'software', 'solution', 'standardization', 'strategy', 'structure', 'success', 'superstructure', 'support', 'synergy', 'systemengine', 'task-force', 'throughput', 'time-frame', 'toolset', 'utilisation', 'website', 'workforce', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Adaptive', + 'Advanced', + 'Ameliorated', + 'Assimilated', + 'Automated', + 'Balanced', + 'Business-focused', + 'Centralized', + 'Cloned', + 'Compatible', + 'Configurable', + 'Cross-group', + 'Cross-platform', + 'Customer-focused', + 'Customizable', + 'Decentralized', + 'De-engineered', + 'Devolved', + 'Digitized', + 'Distributed', + 'Diverse', + 'Down-sized', + 'Enhanced', + 'Enterprise-wide', + 'Ergonomic', + 'Exclusive', + 'Expanded', + 'Extended', + 'Facetoface', + 'Focused', + 'Front-line', + 'Fully-configurable', + 'Function-based', + 'Fundamental', + 'Future-proofed', + 'Grass-roots', + 'Horizontal', + 'Implemented', + 'Innovative', + 'Integrated', + 'Intuitive', + 'Inverse', + 'Managed', + 'Mandatory', + 'Monitored', + 'Multi-channelled', + 'Multi-lateral', + 'Multi-layered', + 'Multi-tiered', + 'Networked', + 'Object-based', + 'Open-architected', + 'Open-source', + 'Operative', + 'Optimized', + 'Optional', + 'Organic', + 'Organized', + 'Persevering', + 'Persistent', + 'Phased', + 'Polarised', + 'Pre-emptive', + 'Proactive', + 'Profit-focused', + 'Profound', + 'Programmable', + 'Progressive', + 'Public-key', + 'Quality-focused', + 'Reactive', + 'Realigned', + 'Re-contextualized', + 'Re-engineered', + 'Reduced', + 'Reverse-engineered', + 'Right-sized', + 'Robust', + 'Seamless', + 'Secured', + 'Self-enabling', + 'Sharable', + 'Stand-alone', + 'Streamlined', + 'Switchable', + 'Synchronised', + 'Synergistic', + 'Synergized', + 'Team-oriented', + 'Total', + 'Triple-buffered', + 'Universal', + 'Up-sized', + 'Upgradable', + 'User-centric', + 'User-friendly', + 'Versatile', + 'Virtual', + 'Visionary', + 'Vision-oriented', + ], + [ + '24hour', + '24/7', + '3rdgeneration', + '4thgeneration', + '5thgeneration', + '6thgeneration', + 'actuating', + 'analyzing', + 'assymetric', + 'asynchronous', + 'attitude-oriented', + 'background', + 'bandwidth-monitored', + 'bi-directional', + 'bifurcated', + 'bottom-line', + 'clear-thinking', + 'client-driven', + 'client-server', + 'coherent', + 'cohesive', + 'composite', + 'context-sensitive', + 'contextually-based', + 'content-based', + 'dedicated', + 'demand-driven', + 'didactic', + 'directional', + 'discrete', + 'disintermediate', + 'dynamic', + 'eco-centric', + 'empowering', + 'encompassing', + 'even-keeled', + 'executive', + 'explicit', + 'exuding', + 'fault-tolerant', + 'foreground', + 'fresh-thinking', + 'full-range', + 'global', + 'grid-enabled', + 'heuristic', + 'high-level', + 'holistic', + 'homogeneous', + 'human-resource', + 'hybrid', + 'impactful', + 'incremental', + 'intangible', + 'interactive', + 'intermediate', + 'leadingedge', + 'local', + 'logistical', + 'maximized', + 'methodical', + 'mission-critical', + 'mobile', + 'modular', + 'motivating', + 'multimedia', + 'multi-state', + 'multi-tasking', + 'national', + 'needs-based', + 'neutral', + 'nextgeneration', + 'non-volatile', + 'object-oriented', + 'optimal', + 'optimizing', + 'radical', + 'real-time', + 'reciprocal', + 'regional', + 'responsive', + 'scalable', + 'secondary', + 'solution-oriented', + 'stable', + 'static', + 'systematic', + 'systemic', + 'system-worthy', + 'tangible', + 'tertiary', + 'transitional', + 'uniform', + 'upward-trending', + 'user-facing', + 'value-added', + 'web-enabled', + 'well-modulated', + 'zeroadministration', + 'zerodefect', + 'zerotolerance', + ], + [ + 'ability', + 'access', + 'adapter', + 'algorithm', + 'alliance', + 'analyzer', + 'application', + 'approach', + 'architecture', + 'archive', + 'artificialintelligence', + 'array', + 'attitude', + 'benchmark', + 'budgetarymanagement', + 'capability', + 'capacity', + 'challenge', + 'circuit', + 'collaboration', + 'complexity', + 'concept', + 'conglomeration', + 'contingency', + 'core', + 'customerloyalty', + 'database', + 'data-warehouse', + 'definition', + 'emulation', + 'encoding', + 'encryption', + 'extranet', + 'firmware', + 'flexibility', + 'focusgroup', + 'forecast', + 'frame', + 'framework', + 'function', + 'functionalities', + 'GraphicInterface', + 'groupware', + 'GraphicalUserInterface', + 'hardware', + 'help-desk', + 'hierarchy', + 'hub', + 'implementation', + 'info-mediaries', + 'infrastructure', + 'initiative', + 'installation', + 'instructionset', + 'interface', + 'internetsolution', + 'intranet', + 'knowledgeuser', + 'knowledgebase', + 'localareanetwork', + 'leverage', + 'matrices', + 'matrix', + 'methodology', + 'middleware', + 'migration', + 'model', + 'moderator', + 'monitoring', + 'moratorium', + 'neural-net', + 'openarchitecture', + 'opensystem', + 'orchestration', + 'paradigm', + 'parallelism', + 'policy', + 'portal', + 'pricingstructure', + 'processimprovement', + 'product', + 'productivity', + 'project', + 'projection', + 'protocol', + 'securedline', + 'service-desk', + 'software', + 'solution', + 'standardization', + 'strategy', + 'structure', + 'success', + 'superstructure', + 'support', + 'synergy', + 'systemengine', + 'task-force', + 'throughput', + 'time-frame', + 'toolset', + 'utilisation', + 'website', + 'workforce', + ], + ]; - protected static $bsWords = [ - [ - 'implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform', 'embrace', 'enable', 'orchestrate', 'leverage', 'reinvent', 'aggregate', 'architect', 'enhance', 'incentivize', 'morph', 'empower', 'envisioneer', 'monetize', 'harness', 'facilitate', 'seize', 'disintermediate', 'synergize', 'strategize', 'deploy', 'brand', 'grow', 'target', 'syndicate', 'synthesize', 'deliver', 'mesh', 'incubate', 'engage', 'maximize', 'benchmark', 'expedite', 'reintermediate', 'whiteboard', 'visualize', 'repurpose', 'innovate', 'scale', 'unleash', 'drive', 'extend', 'engineer', 'revolutionize', 'generate', 'exploit', 'transition', 'e-enable', 'iterate', 'cultivate', 'matrix', 'productize', 'redefine', 'recontextualize', - ], - [ - 'clicks-and-mortar', 'value-added', 'vertical', 'proactive', 'robust', 'revolutionary', 'scalable', 'leading-edge', 'innovative', 'intuitive', 'strategic', 'e-business', 'mission-critical', 'sticky', 'one-to-one', '24/7', 'end-to-end', 'global', 'B2B', 'B2C', 'granular', 'frictionless', 'virtual', 'viral', 'dynamic', '24/365', 'best-of-breed', 'killer', 'magnetic', 'bleeding-edge', 'web-enabled', 'interactive', 'dot-com', 'sexy', 'back-end', 'real-time', 'efficient', 'front-end', 'distributed', 'seamless', 'extensible', 'turn-key', 'world-class', 'open-source', 'cross-platform', 'cross-media', 'synergistic', 'bricks-and-clicks', 'out-of-the-box', 'enterprise', 'integrated', 'impactful', 'wireless', 'transparent', 'next-generation', 'cutting-edge', 'user-centric', 'visionary', 'customized', 'ubiquitous', 'plug-and-play', 'collaborative', 'compelling', 'holistic', 'rich', - ], - [ - 'synergies', 'web-readiness', 'paradigms', 'markets', 'partnerships', 'infrastructures', 'platforms', 'initiatives', 'channels', 'eyeballs', 'communities', 'ROI', 'solutions', 'e-tailers', 'e-services', 'action-items', 'portals', 'niches', 'technologies', 'content', 'vortals', 'supply-chains', 'convergence', 'relationships', 'architectures', 'interfaces', 'e-markets', 'e-commerce', 'systems', 'bandwidth', 'infomediaries', 'models', 'mindshare', 'deliverables', 'users', 'schemas', 'networks', 'applications', 'metrics', 'e-business', 'functionalities', 'experiences', 'webservices', 'methodologies', - ], - ]; + protected static $bsWords = [ + [ + 'implement', + 'utilize', + 'integrate', + 'streamline', + 'optimize', + 'evolve', + 'transform', + 'embrace', + 'enable', + 'orchestrate', + 'leverage', + 'reinvent', + 'aggregate', + 'architect', + 'enhance', + 'incentivize', + 'morph', + 'empower', + 'envisioneer', + 'monetize', + 'harness', + 'facilitate', + 'seize', + 'disintermediate', + 'synergize', + 'strategize', + 'deploy', + 'brand', + 'grow', + 'target', + 'syndicate', + 'synthesize', + 'deliver', + 'mesh', + 'incubate', + 'engage', + 'maximize', + 'benchmark', + 'expedite', + 'reintermediate', + 'whiteboard', + 'visualize', + 'repurpose', + 'innovate', + 'scale', + 'unleash', + 'drive', + 'extend', + 'engineer', + 'revolutionize', + 'generate', + 'exploit', + 'transition', + 'e-enable', + 'iterate', + 'cultivate', + 'matrix', + 'productize', + 'redefine', + 'recontextualize', + ], + [ + 'clicks-and-mortar', + 'value-added', + 'vertical', + 'proactive', + 'robust', + 'revolutionary', + 'scalable', + 'leading-edge', + 'innovative', + 'intuitive', + 'strategic', + 'e-business', + 'mission-critical', + 'sticky', + 'one-to-one', + '24/7', + 'end-to-end', + 'global', + 'B2B', + 'B2C', + 'granular', + 'frictionless', + 'virtual', + 'viral', + 'dynamic', + '24/365', + 'best-of-breed', + 'killer', + 'magnetic', + 'bleeding-edge', + 'web-enabled', + 'interactive', + 'dot-com', + 'sexy', + 'back-end', + 'real-time', + 'efficient', + 'front-end', + 'distributed', + 'seamless', + 'extensible', + 'turn-key', + 'world-class', + 'open-source', + 'cross-platform', + 'cross-media', + 'synergistic', + 'bricks-and-clicks', + 'out-of-the-box', + 'enterprise', + 'integrated', + 'impactful', + 'wireless', + 'transparent', + 'next-generation', + 'cutting-edge', + 'user-centric', + 'visionary', + 'customized', + 'ubiquitous', + 'plug-and-play', + 'collaborative', + 'compelling', + 'holistic', + 'rich', + ], + [ + 'synergies', + 'web-readiness', + 'paradigms', + 'markets', + 'partnerships', + 'infrastructures', + 'platforms', + 'initiatives', + 'channels', + 'eyeballs', + 'communities', + 'ROI', + 'solutions', + 'e-tailers', + 'e-services', + 'action-items', + 'portals', + 'niches', + 'technologies', + 'content', + 'vortals', + 'supply-chains', + 'convergence', + 'relationships', + 'architectures', + 'interfaces', + 'e-markets', + 'e-commerce', + 'systems', + 'bandwidth', + 'infomediaries', + 'models', + 'mindshare', + 'deliverables', + 'users', + 'schemas', + 'networks', + 'applications', + 'metrics', + 'e-business', + 'functionalities', + 'experiences', + 'webservices', + 'methodologies', + ], + ]; - protected static $companySuffix = ['e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.']; + protected static $companySuffix = [ 'e Hijo', 'e Hija', 'e Hijos', 'y Asoc.', 'y Flia.', 'SRL', 'SA', 'S. de H.' ]; - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * Generate a REG. UNICO DE CONTRIBUYENTES (RUC) number - * - * Doesn't include a checksum, as peruvians commonly use only the first - * 8 digits. - * - * @example '10164090581' - * @example '20105895410' - * - * @param bool $isNaturalPerson If set to false or empty, RUC starts with 20 and otherwise with 10 - * - * @see http://www2.sunat.gob.pe/pdt/pdtModulos/independientes/p695/TipoDoc.htm - */ - public static function ruc(bool $isNaturalPerson = false): string - { - $prefix = $isNaturalPerson ? '10' : '20'; + /** + * Generate a REG. UNICO DE CONTRIBUYENTES (RUC) number + * + * Doesn't include a checksum, as peruvians commonly use only the first + * 8 digits. + * + * @param bool $isNaturalPerson If set to false or empty, RUC starts with 20 and otherwise with 10 + * + * @example '20105895410' + * + * @example '10164090581' + * @see http://www2.sunat.gob.pe/pdt/pdtModulos/independientes/p695/TipoDoc.htm + */ + public static function ruc( bool $isNaturalPerson = false ): string { + $prefix = $isNaturalPerson ? '10' : '20'; - return $prefix . static::numerify('#########'); - } + return $prefix . static::numerify( '#########' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Person.php index e2861af..bd4b583 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_PE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_PE/Person.php @@ -2,104 +2,833 @@ namespace Faker\Provider\es_PE; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', + ]; - protected static $firstNameMale = [ - 'Aarón', 'Adrián', 'Agustín', 'Alan', 'Alejandro', 'Alex', 'Alexander', 'Alonso', 'Andrés', 'Anthony', 'Antonio', 'Axel', 'Benjamín', - 'Bruno', 'Camilo', 'Carlos', 'Christian', 'Christopher', 'Cristóbal', 'Damián', 'Daniel', 'Dante', 'David', 'Diego', 'Diego Alejandro', - 'Dylan', 'Eduardo', 'Elías', 'Emiliano', 'Emilio', 'Emmanuel', 'Esteban', 'Facundo', 'Felipe', 'Fernando', 'Francisco', 'Franco', - 'Gabriel', 'Gael', 'Hipólito', 'Horacio', 'Hugo', 'Ian', 'Ignacio', 'Isaac', 'Ivan', 'Jacobo', 'Javier', 'Jerónimo', - 'Jesús', 'Joaquín', 'Jorge', 'Joshua', 'Josué', 'José', 'Juan', 'Juan David', 'Juan Diego', 'Juan José', 'Juan Manuel', 'Juan Martín', - 'Juan Pablo', 'Juan Sebastián', 'Julián', 'Kevin', 'Lautaro', 'Leonardo', 'Lorenzo', 'Lucas', 'Luciano', 'Luis', 'Manuel', 'Mario', - 'Martín', 'Mateo', 'Matthew', 'Matías', 'Maximiliano', 'Miguel', 'Miguel Ángel', 'Máximo', 'Nahuel', 'Pablo', 'Pedro', 'Rafael', - 'Ricardo', 'Rodrigo', 'Samuel', 'Santiago', 'Santino', 'Sebastián', 'Sergio', 'Simón', 'Thiago', 'Tomas', 'Valentino', 'Valentín', - 'Vicente', 'Bautista', 'Hidalgo', 'Juan Esteban', - ]; + protected static $firstNameMale = [ + 'Aarón', + 'Adrián', + 'Agustín', + 'Alan', + 'Alejandro', + 'Alex', + 'Alexander', + 'Alonso', + 'Andrés', + 'Anthony', + 'Antonio', + 'Axel', + 'Benjamín', + 'Bruno', + 'Camilo', + 'Carlos', + 'Christian', + 'Christopher', + 'Cristóbal', + 'Damián', + 'Daniel', + 'Dante', + 'David', + 'Diego', + 'Diego Alejandro', + 'Dylan', + 'Eduardo', + 'Elías', + 'Emiliano', + 'Emilio', + 'Emmanuel', + 'Esteban', + 'Facundo', + 'Felipe', + 'Fernando', + 'Francisco', + 'Franco', + 'Gabriel', + 'Gael', + 'Hipólito', + 'Horacio', + 'Hugo', + 'Ian', + 'Ignacio', + 'Isaac', + 'Ivan', + 'Jacobo', + 'Javier', + 'Jerónimo', + 'Jesús', + 'Joaquín', + 'Jorge', + 'Joshua', + 'Josué', + 'José', + 'Juan', + 'Juan David', + 'Juan Diego', + 'Juan José', + 'Juan Manuel', + 'Juan Martín', + 'Juan Pablo', + 'Juan Sebastián', + 'Julián', + 'Kevin', + 'Lautaro', + 'Leonardo', + 'Lorenzo', + 'Lucas', + 'Luciano', + 'Luis', + 'Manuel', + 'Mario', + 'Martín', + 'Mateo', + 'Matthew', + 'Matías', + 'Maximiliano', + 'Miguel', + 'Miguel Ángel', + 'Máximo', + 'Nahuel', + 'Pablo', + 'Pedro', + 'Rafael', + 'Ricardo', + 'Rodrigo', + 'Samuel', + 'Santiago', + 'Santino', + 'Sebastián', + 'Sergio', + 'Simón', + 'Thiago', + 'Tomas', + 'Valentino', + 'Valentín', + 'Vicente', + 'Bautista', + 'Hidalgo', + 'Juan Esteban', + ]; - protected static $firstNameFemale = [ - 'Abigail', 'Abril', 'Adriana', 'Agustina', 'Alejandra', 'Alessandra', 'Alexa', 'Allison', 'Alma', 'Amanda', 'Amelia', 'Ana', 'Ana Paula', - 'Ana Sofía', 'Andrea', 'Antonella', 'Antonia', 'Ariadna', 'Ariana', 'Ashley', 'Bianca', 'Camila', 'Carla', 'Carolina', 'Catalina', - 'Clara', 'Constanza', 'Daniela', 'Delfina', 'Elena ', 'Elizabeth', 'Emilia', 'Emily', 'Emma', 'Fabiana', 'Florencia', 'Fátima ', - 'Gabriela', 'Guadalupe', 'Irene', 'Isabel', 'Isabella', 'Isidora', 'Ivanna', 'Jazmín', 'Josefa', 'Josefina', 'Juana', 'Julia', - 'Juliana', 'Julieta', 'Laura', 'Lola', 'Luana', 'Luciana', 'Lucía', 'Luna', 'Magdalena', 'Maite', 'Malena', 'Manuela', - 'Mariana', 'Mariangel', 'Martina', 'María', 'María Alejandra', 'María Camila', 'María Fernanda', 'María José', 'María Paula', 'Micaela', 'Michelle', 'Miranda', - 'Montserrat', 'Mía', 'Nadia', 'Natalia', 'Nicole', 'Oliva', 'Olivia', 'Ornela', 'Paula', 'Paulina', 'Rafaela', 'Rebeca', - 'Regina', 'Renata', 'Romina', 'Salomé', 'Samantha', 'Sara', 'Silvana ', 'Sofía', 'Sophie', 'Valentina', 'Valeria', 'Valery ', - 'Victoria', 'Violeta', 'Zoe', 'Aitana', 'Sara Sofía', 'Ximena', 'Jimena', - ]; + protected static $firstNameFemale = [ + 'Abigail', + 'Abril', + 'Adriana', + 'Agustina', + 'Alejandra', + 'Alessandra', + 'Alexa', + 'Allison', + 'Alma', + 'Amanda', + 'Amelia', + 'Ana', + 'Ana Paula', + 'Ana Sofía', + 'Andrea', + 'Antonella', + 'Antonia', + 'Ariadna', + 'Ariana', + 'Ashley', + 'Bianca', + 'Camila', + 'Carla', + 'Carolina', + 'Catalina', + 'Clara', + 'Constanza', + 'Daniela', + 'Delfina', + 'Elena ', + 'Elizabeth', + 'Emilia', + 'Emily', + 'Emma', + 'Fabiana', + 'Florencia', + 'Fátima ', + 'Gabriela', + 'Guadalupe', + 'Irene', + 'Isabel', + 'Isabella', + 'Isidora', + 'Ivanna', + 'Jazmín', + 'Josefa', + 'Josefina', + 'Juana', + 'Julia', + 'Juliana', + 'Julieta', + 'Laura', + 'Lola', + 'Luana', + 'Luciana', + 'Lucía', + 'Luna', + 'Magdalena', + 'Maite', + 'Malena', + 'Manuela', + 'Mariana', + 'Mariangel', + 'Martina', + 'María', + 'María Alejandra', + 'María Camila', + 'María Fernanda', + 'María José', + 'María Paula', + 'Micaela', + 'Michelle', + 'Miranda', + 'Montserrat', + 'Mía', + 'Nadia', + 'Natalia', + 'Nicole', + 'Oliva', + 'Olivia', + 'Ornela', + 'Paula', + 'Paulina', + 'Rafaela', + 'Rebeca', + 'Regina', + 'Renata', + 'Romina', + 'Salomé', + 'Samantha', + 'Sara', + 'Silvana ', + 'Sofía', + 'Sophie', + 'Valentina', + 'Valeria', + 'Valery ', + 'Victoria', + 'Violeta', + 'Zoe', + 'Aitana', + 'Sara Sofía', + 'Ximena', + 'Jimena', + ]; - protected static $lastName = [ - 'Acevedo', 'Acosta', 'Acuña', 'Aguayo', 'Águilar', 'Aguilera', 'Aguirre', 'Alanis', 'Alaniz', 'Alarcón', 'Alba', 'Alcala', 'Alcántar', 'Alcaraz', 'Alejandro', 'Alemán', 'Alfaro', 'Alicea', 'Almanza', 'Almaraz', 'Almonte', 'Alonso', 'Alonzo', 'Altamirano', 'Alva', 'Alvarado', 'Álvarez', 'Amador', 'Amaya', 'Anaya', 'Anguiano', 'Angulo', 'Aparicio', 'Apodaca', 'Aponte', 'Aragón', 'Araña', 'Aranda', 'Arce', 'Archuleta', 'Arellano', 'Arenas', 'Arevalo', 'Arguello', 'Arias', 'Armas', 'Armendáriz', 'Armenta', 'Armijo', 'Arredondo', 'Arreola', 'Arriaga', 'Arroyo', 'Arteaga', 'Atencio', 'Ávalos', 'Ávila', 'Avilés', 'Ayala', - 'Baca', 'Ballesteros', 'Banda', 'Barela', 'Barragán', 'Barraza', 'Barrera', 'Barreto', 'Barrientos', 'Barrios', 'Batista', 'Becerra', 'Beltrán', 'Benavides', 'Benavídez', 'Benítez', 'Bermúdez', 'Bernal', 'Berríos', 'Bétancourt', 'Blanco', 'Bonilla', 'Borrego', 'Botello', 'Bravo', 'Briones', 'Briseño', 'Brito', 'Bueno', 'Burgos', 'Bustamante', 'Bustos', - 'Caballero', 'Cabán', 'Cabrera', 'Cadena', 'Caldera', 'Calderón', 'Camacho', 'Campos', 'Canales', 'Candelaria', 'Cano', 'Cantú', 'Caraballo', 'Carbajal', 'Cardenas', 'Cardona', 'Carmona', 'Carranza', 'Carrasco', 'Carrasquillo', 'Carrera', 'Carrero', 'Carrillo', 'Carrion', 'Carvajal', 'Casanova', 'Casares', 'Casárez', 'Casas', 'Casillas', 'Castañeda', 'Castellanos', 'Castillo', 'Castro', 'Cavazos', 'Cazares', 'Ceballos', 'Cedillo', 'Ceja', 'Centeno', 'Cepeda', 'Cerda', 'Cervantes', 'Cervántez', 'Chacón', 'Chapa', 'Chavarría', 'Chávez', 'Cisneros', 'Collado', 'Collazo', 'Colón', 'Concepción', 'Contreras', 'Cordero', 'Córdova', 'Cornejo', 'Corona', 'Coronado', 'Corral', 'Corrales', 'Correa', 'Cortés', 'Cortez', 'Crespo', 'Cruz', 'Cuellar', - 'Dávila', 'de Jesús', 'De La Crúz', 'De La Fuente', 'De La Rosa', 'De La Torre', 'De León', 'Delgadillo', 'Delgado', 'Del Río', 'Del Valle', 'Díaz', 'Domínguez', 'Domínquez', 'Duarte', 'Dueñas', 'Duran', - 'Echevarría', 'Enríquez', 'Escalante', 'Escobar', 'Escobedo', 'Espinal', 'Espino', 'Espinosa', 'Espinoza', 'Esquibel', 'Esquivel', 'Estévez', 'Estrada', - 'Fajardo', 'Farías', 'Feliciano', 'Fernández', 'Ferrer', 'Fierro', 'Figueroa', 'Flores', 'Flórez', 'Fonseca', 'Franco', 'Frías', 'Fuentes', - 'Gaitán', 'Galarza', 'Galindo', 'Gallardo', 'Gallegos', 'Galván', 'Gálvez', 'Gamboa', 'Gamez', 'Gaona', 'Garay', 'García', 'Garrido', 'Garza', 'Gaytán', 'Gil', 'Girón', 'Godínez', 'Godoy', 'Gómez', 'Gonzales', 'González', 'Gracia', 'Granado', 'Granados', 'Griego', 'Grijalva', 'Guajardo', 'Guardado', 'Guerra', 'Guerrero', 'Guevara', 'Guillen', 'Gutiérrez', 'Guzmán', - 'Henríquez', 'Heredia', 'Hernádez', 'Hernandes', 'Hernández', 'Herrera', 'Hidalgo', 'Hinojosa', 'Holguín', 'Huerta', 'Hurtado', - 'Ibarra', 'Iglesias', - 'Jaramillo', 'Jiménez', 'Juárez', 'Jurado', - 'Lara', 'Laureano', 'Leal', 'Ledesma', 'Leiva', 'León', 'Leyva', 'Limón', 'Linares', 'Lira', 'Llamas', 'López', 'Lovato', 'Lozada', 'Lozano', 'Lugo', 'Luján', 'Luna', - 'Macías', 'Madera', 'Madrid', 'Madrigal', 'Maldonado', 'Manzanares', 'Marín', 'Márquez', 'Marroquín', 'Martínez', 'Mata', 'Mateo', 'Matías', 'Matos', 'Maya', 'Mayorga', 'Medina', 'Medrano', 'Mejía', 'Meléndez', 'Melgar', 'Mena', 'Méndez', 'Mendoza', 'Menéndez', 'Mercado', 'Merino', 'Mesa', 'Meza', 'Miranda', 'Molina', 'Mondragón', 'Montalvo', 'Montañez', 'Montaño', 'Montenegro', 'Montero', 'Montes', 'Montez', 'Montoya', 'Mora', 'Morales', 'Moreno', 'Mota', 'Moya', 'Muñiz', 'Muñoz', 'Murillo', 'Muro', - 'Nájera', 'Naranjo', 'Narváez', 'Nava', 'Navarrete', 'Navarro', 'Nazario', 'Negrete', 'Negrón', 'Nieto', 'Nieves', 'Niño', 'Noriega', 'Núñez', - 'Ocampo', 'Ocasio', 'Ochoa', 'Ojeda', 'Olivares', 'Olivárez', 'Olivas', 'Olivera', 'Olivo', 'Olmos', 'Olvera', 'Ontiveros', 'Oquendo', 'Ordóñez', 'Orellana', 'Ornelas', 'Orosco', 'Orozco', 'Ortega', 'Ortiz', 'Osorio', 'Otero', 'Ozuna', - 'Pacheco', 'Padilla', 'Páez', 'Palacios', 'Palomino', 'Palomo', 'Pantoja', 'Paredes', 'Parra', 'Partida', 'Patiño', 'Paz', 'Pedraza', 'Pedroza', 'Pelayo', 'Peña', 'Perales', 'Peralta', 'Perea', 'Peres', 'Pérez', 'Pichardo', 'Piña', 'Pineda', 'Pizarro', 'Polanco', 'Ponce', 'Porras', 'Portillo', 'Posada', 'Prado', 'Preciado', 'Prieto', 'Puente', 'Puga', 'Pulido', - 'Quesada', 'Quezada', 'Quiñones', 'Quiñónez', 'Quintana', 'Quintanilla', 'Quintero', 'Quiroz', - 'Rael', 'Ramírez', 'Ramón', 'Ramos', 'Rangel', 'Raya', 'Razo', 'Regalado', 'Rendón', 'Rentería', 'Reséndez', 'Reyes', 'Reyna', 'Reynoso', 'Rico', 'Rincón', 'Riojas', 'Ríos', 'Rivas', 'Rivera', 'Rivero', 'Robledo', 'Robles', 'Rocha', 'Rodarte', 'Rodrígez', 'Rodríguez', 'Rodríquez', 'Rojas', 'Rojo', 'Roldán', 'Rolón', 'Romero', 'Romo', 'Roque', 'Rosado', 'Rosales', 'Rosario', 'Rosas', 'Roybal', 'Rubio', 'Ruelas', 'Ruiz', 'Ruvalcaba', - 'Saavedra', 'Sáenz', 'Salas', 'Salazar', 'Salcedo', 'Salcido', 'Saldaña', 'Saldivar', 'Salgado', 'Salinas', 'Samaniego', 'Sanabria', 'Sanches', 'Sánchez', 'Sandoval', 'Santacruz', 'Santana', 'Santiago', 'Santillán', 'Sarabia', 'Sauceda', 'Saucedo', 'Sedillo', 'Segovia', 'Segura', 'Sepúlveda', 'Serna', 'Serrano', 'Serrato', 'Sevilla', 'Sierra', 'Sisneros', 'Solano', 'Solís', 'Soliz', 'Solorio', 'Solorzano', 'Soria', 'Sosa', 'Sotelo', 'Soto', 'Suárez', - 'Tafoya', 'Tamayo', 'Tamez', 'Tapia', 'Tejada', 'Tejeda', 'Téllez', 'Tello', 'Terán', 'Terrazas', 'Tijerina', 'Tirado', 'Toledo', 'Toro', 'Torres', 'Tórrez', 'Tovar', 'Trejo', 'Treviño', 'Trujillo', - 'Ulibarri', 'Ulloa', 'Urbina', 'Ureña', 'Urías', 'Uribe', 'Urrutia', - 'Vaca', 'Valadez', 'Valdés', 'Valdez', 'Valdivia', 'Valencia', 'Valentín', 'Valenzuela', 'Valladares', 'Valle', 'Vallejo', 'Valles', 'Valverde', 'Vanegas', 'Varela', 'Vargas', 'Vásquez', 'Vázquez', 'Vega', 'Vela', 'Velasco', 'Velásquez', 'Velázquez', 'Vélez', 'Véliz', 'Venegas', 'Vera', 'Verdugo', 'Verduzco', 'Vergara', 'Viera', 'Vigil', 'Villa', 'Villagómez', 'Villalobos', 'Villalpando', 'Villanueva', 'Villareal', 'Villarreal', 'Villaseñor', 'Villegas', - 'Yáñez', 'Ybarra', - 'Zambrano', 'Zamora', 'Zamudio', 'Zapata', 'Zaragoza', 'Zarate', 'Zavala', 'Zayas', 'Zelaya', 'Zepeda', 'Zúñiga', - ]; + protected static $lastName = [ + 'Acevedo', + 'Acosta', + 'Acuña', + 'Aguayo', + 'Águilar', + 'Aguilera', + 'Aguirre', + 'Alanis', + 'Alaniz', + 'Alarcón', + 'Alba', + 'Alcala', + 'Alcántar', + 'Alcaraz', + 'Alejandro', + 'Alemán', + 'Alfaro', + 'Alicea', + 'Almanza', + 'Almaraz', + 'Almonte', + 'Alonso', + 'Alonzo', + 'Altamirano', + 'Alva', + 'Alvarado', + 'Álvarez', + 'Amador', + 'Amaya', + 'Anaya', + 'Anguiano', + 'Angulo', + 'Aparicio', + 'Apodaca', + 'Aponte', + 'Aragón', + 'Araña', + 'Aranda', + 'Arce', + 'Archuleta', + 'Arellano', + 'Arenas', + 'Arevalo', + 'Arguello', + 'Arias', + 'Armas', + 'Armendáriz', + 'Armenta', + 'Armijo', + 'Arredondo', + 'Arreola', + 'Arriaga', + 'Arroyo', + 'Arteaga', + 'Atencio', + 'Ávalos', + 'Ávila', + 'Avilés', + 'Ayala', + 'Baca', + 'Ballesteros', + 'Banda', + 'Barela', + 'Barragán', + 'Barraza', + 'Barrera', + 'Barreto', + 'Barrientos', + 'Barrios', + 'Batista', + 'Becerra', + 'Beltrán', + 'Benavides', + 'Benavídez', + 'Benítez', + 'Bermúdez', + 'Bernal', + 'Berríos', + 'Bétancourt', + 'Blanco', + 'Bonilla', + 'Borrego', + 'Botello', + 'Bravo', + 'Briones', + 'Briseño', + 'Brito', + 'Bueno', + 'Burgos', + 'Bustamante', + 'Bustos', + 'Caballero', + 'Cabán', + 'Cabrera', + 'Cadena', + 'Caldera', + 'Calderón', + 'Camacho', + 'Campos', + 'Canales', + 'Candelaria', + 'Cano', + 'Cantú', + 'Caraballo', + 'Carbajal', + 'Cardenas', + 'Cardona', + 'Carmona', + 'Carranza', + 'Carrasco', + 'Carrasquillo', + 'Carrera', + 'Carrero', + 'Carrillo', + 'Carrion', + 'Carvajal', + 'Casanova', + 'Casares', + 'Casárez', + 'Casas', + 'Casillas', + 'Castañeda', + 'Castellanos', + 'Castillo', + 'Castro', + 'Cavazos', + 'Cazares', + 'Ceballos', + 'Cedillo', + 'Ceja', + 'Centeno', + 'Cepeda', + 'Cerda', + 'Cervantes', + 'Cervántez', + 'Chacón', + 'Chapa', + 'Chavarría', + 'Chávez', + 'Cisneros', + 'Collado', + 'Collazo', + 'Colón', + 'Concepción', + 'Contreras', + 'Cordero', + 'Córdova', + 'Cornejo', + 'Corona', + 'Coronado', + 'Corral', + 'Corrales', + 'Correa', + 'Cortés', + 'Cortez', + 'Crespo', + 'Cruz', + 'Cuellar', + 'Dávila', + 'de Jesús', + 'De La Crúz', + 'De La Fuente', + 'De La Rosa', + 'De La Torre', + 'De León', + 'Delgadillo', + 'Delgado', + 'Del Río', + 'Del Valle', + 'Díaz', + 'Domínguez', + 'Domínquez', + 'Duarte', + 'Dueñas', + 'Duran', + 'Echevarría', + 'Enríquez', + 'Escalante', + 'Escobar', + 'Escobedo', + 'Espinal', + 'Espino', + 'Espinosa', + 'Espinoza', + 'Esquibel', + 'Esquivel', + 'Estévez', + 'Estrada', + 'Fajardo', + 'Farías', + 'Feliciano', + 'Fernández', + 'Ferrer', + 'Fierro', + 'Figueroa', + 'Flores', + 'Flórez', + 'Fonseca', + 'Franco', + 'Frías', + 'Fuentes', + 'Gaitán', + 'Galarza', + 'Galindo', + 'Gallardo', + 'Gallegos', + 'Galván', + 'Gálvez', + 'Gamboa', + 'Gamez', + 'Gaona', + 'Garay', + 'García', + 'Garrido', + 'Garza', + 'Gaytán', + 'Gil', + 'Girón', + 'Godínez', + 'Godoy', + 'Gómez', + 'Gonzales', + 'González', + 'Gracia', + 'Granado', + 'Granados', + 'Griego', + 'Grijalva', + 'Guajardo', + 'Guardado', + 'Guerra', + 'Guerrero', + 'Guevara', + 'Guillen', + 'Gutiérrez', + 'Guzmán', + 'Henríquez', + 'Heredia', + 'Hernádez', + 'Hernandes', + 'Hernández', + 'Herrera', + 'Hidalgo', + 'Hinojosa', + 'Holguín', + 'Huerta', + 'Hurtado', + 'Ibarra', + 'Iglesias', + 'Jaramillo', + 'Jiménez', + 'Juárez', + 'Jurado', + 'Lara', + 'Laureano', + 'Leal', + 'Ledesma', + 'Leiva', + 'León', + 'Leyva', + 'Limón', + 'Linares', + 'Lira', + 'Llamas', + 'López', + 'Lovato', + 'Lozada', + 'Lozano', + 'Lugo', + 'Luján', + 'Luna', + 'Macías', + 'Madera', + 'Madrid', + 'Madrigal', + 'Maldonado', + 'Manzanares', + 'Marín', + 'Márquez', + 'Marroquín', + 'Martínez', + 'Mata', + 'Mateo', + 'Matías', + 'Matos', + 'Maya', + 'Mayorga', + 'Medina', + 'Medrano', + 'Mejía', + 'Meléndez', + 'Melgar', + 'Mena', + 'Méndez', + 'Mendoza', + 'Menéndez', + 'Mercado', + 'Merino', + 'Mesa', + 'Meza', + 'Miranda', + 'Molina', + 'Mondragón', + 'Montalvo', + 'Montañez', + 'Montaño', + 'Montenegro', + 'Montero', + 'Montes', + 'Montez', + 'Montoya', + 'Mora', + 'Morales', + 'Moreno', + 'Mota', + 'Moya', + 'Muñiz', + 'Muñoz', + 'Murillo', + 'Muro', + 'Nájera', + 'Naranjo', + 'Narváez', + 'Nava', + 'Navarrete', + 'Navarro', + 'Nazario', + 'Negrete', + 'Negrón', + 'Nieto', + 'Nieves', + 'Niño', + 'Noriega', + 'Núñez', + 'Ocampo', + 'Ocasio', + 'Ochoa', + 'Ojeda', + 'Olivares', + 'Olivárez', + 'Olivas', + 'Olivera', + 'Olivo', + 'Olmos', + 'Olvera', + 'Ontiveros', + 'Oquendo', + 'Ordóñez', + 'Orellana', + 'Ornelas', + 'Orosco', + 'Orozco', + 'Ortega', + 'Ortiz', + 'Osorio', + 'Otero', + 'Ozuna', + 'Pacheco', + 'Padilla', + 'Páez', + 'Palacios', + 'Palomino', + 'Palomo', + 'Pantoja', + 'Paredes', + 'Parra', + 'Partida', + 'Patiño', + 'Paz', + 'Pedraza', + 'Pedroza', + 'Pelayo', + 'Peña', + 'Perales', + 'Peralta', + 'Perea', + 'Peres', + 'Pérez', + 'Pichardo', + 'Piña', + 'Pineda', + 'Pizarro', + 'Polanco', + 'Ponce', + 'Porras', + 'Portillo', + 'Posada', + 'Prado', + 'Preciado', + 'Prieto', + 'Puente', + 'Puga', + 'Pulido', + 'Quesada', + 'Quezada', + 'Quiñones', + 'Quiñónez', + 'Quintana', + 'Quintanilla', + 'Quintero', + 'Quiroz', + 'Rael', + 'Ramírez', + 'Ramón', + 'Ramos', + 'Rangel', + 'Raya', + 'Razo', + 'Regalado', + 'Rendón', + 'Rentería', + 'Reséndez', + 'Reyes', + 'Reyna', + 'Reynoso', + 'Rico', + 'Rincón', + 'Riojas', + 'Ríos', + 'Rivas', + 'Rivera', + 'Rivero', + 'Robledo', + 'Robles', + 'Rocha', + 'Rodarte', + 'Rodrígez', + 'Rodríguez', + 'Rodríquez', + 'Rojas', + 'Rojo', + 'Roldán', + 'Rolón', + 'Romero', + 'Romo', + 'Roque', + 'Rosado', + 'Rosales', + 'Rosario', + 'Rosas', + 'Roybal', + 'Rubio', + 'Ruelas', + 'Ruiz', + 'Ruvalcaba', + 'Saavedra', + 'Sáenz', + 'Salas', + 'Salazar', + 'Salcedo', + 'Salcido', + 'Saldaña', + 'Saldivar', + 'Salgado', + 'Salinas', + 'Samaniego', + 'Sanabria', + 'Sanches', + 'Sánchez', + 'Sandoval', + 'Santacruz', + 'Santana', + 'Santiago', + 'Santillán', + 'Sarabia', + 'Sauceda', + 'Saucedo', + 'Sedillo', + 'Segovia', + 'Segura', + 'Sepúlveda', + 'Serna', + 'Serrano', + 'Serrato', + 'Sevilla', + 'Sierra', + 'Sisneros', + 'Solano', + 'Solís', + 'Soliz', + 'Solorio', + 'Solorzano', + 'Soria', + 'Sosa', + 'Sotelo', + 'Soto', + 'Suárez', + 'Tafoya', + 'Tamayo', + 'Tamez', + 'Tapia', + 'Tejada', + 'Tejeda', + 'Téllez', + 'Tello', + 'Terán', + 'Terrazas', + 'Tijerina', + 'Tirado', + 'Toledo', + 'Toro', + 'Torres', + 'Tórrez', + 'Tovar', + 'Trejo', + 'Treviño', + 'Trujillo', + 'Ulibarri', + 'Ulloa', + 'Urbina', + 'Ureña', + 'Urías', + 'Uribe', + 'Urrutia', + 'Vaca', + 'Valadez', + 'Valdés', + 'Valdez', + 'Valdivia', + 'Valencia', + 'Valentín', + 'Valenzuela', + 'Valladares', + 'Valle', + 'Vallejo', + 'Valles', + 'Valverde', + 'Vanegas', + 'Varela', + 'Vargas', + 'Vásquez', + 'Vázquez', + 'Vega', + 'Vela', + 'Velasco', + 'Velásquez', + 'Velázquez', + 'Vélez', + 'Véliz', + 'Venegas', + 'Vera', + 'Verdugo', + 'Verduzco', + 'Vergara', + 'Viera', + 'Vigil', + 'Villa', + 'Villagómez', + 'Villalobos', + 'Villalpando', + 'Villanueva', + 'Villareal', + 'Villarreal', + 'Villaseñor', + 'Villegas', + 'Yáñez', + 'Ybarra', + 'Zambrano', + 'Zamora', + 'Zamudio', + 'Zapata', + 'Zaragoza', + 'Zarate', + 'Zavala', + 'Zayas', + 'Zelaya', + 'Zepeda', + 'Zúñiga', + ]; - protected static $titleMale = ['Sr.', 'Dn.', 'Dr.', 'Lic.', 'Ing.']; + protected static $titleMale = [ 'Sr.', 'Dn.', 'Dr.', 'Lic.', 'Ing.' ]; - protected static $titleFemale = ['Sra.', 'Srta.', 'Dra.', 'Lic.', 'Ing.']; + protected static $titleFemale = [ 'Sra.', 'Srta.', 'Dra.', 'Lic.', 'Ing.' ]; - protected static $suffix = ['Hijo']; + protected static $suffix = [ 'Hijo' ]; - /** - * @example 'Hijo' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'Hijo' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * Generate a Documento Nacional de Identidad (DNI) number - * - * Doesn't include a checksum, as peruvians commonly use only the first - * 8 digits. - * - * @example '83367512' - * - * @see http://www2.sunat.gob.pe/pdt/pdtModulos/independientes/p695/TipoDoc.htm - */ - public static function dni() - { - return static::numerify('########'); - } + /** + * Generate a Documento Nacional de Identidad (DNI) number + * + * Doesn't include a checksum, as peruvians commonly use only the first + * 8 digits. + * + * @example '83367512' + * + * @see http://www2.sunat.gob.pe/pdt/pdtModulos/independientes/p695/TipoDoc.htm + */ + public static function dni() { + return static::numerify( '########' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_PE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/es_PE/PhoneNumber.php index 81ce0dd..df955b3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_PE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_PE/PhoneNumber.php @@ -2,16 +2,15 @@ namespace Faker\Provider\es_PE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+51 9## ### ###', - '+51 9########', - '9## ### ###', - '9########', - '+51 1## ####', - '+51 1######', - '1## ####', - '1######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+51 9## ### ###', + '+51 9########', + '9## ### ###', + '9########', + '+51 1## ####', + '+51 1######', + '1## ####', + '1######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Address.php index d0ccc5d..07cd4ab 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Address.php @@ -2,71 +2,115 @@ namespace Faker\Provider\es_VE; -class Address extends \Faker\Provider\es_ES\Address -{ - protected static $cityPrefix = ['San', 'Santa', 'Puerto', 'Valle', 'Villa', 'Parroquia', 'El', 'Los', 'La', 'Las']; - protected static $citySuffix = ['del Valle', 'de Mara', 'de Altagracia', 'de Asis', 'del Tuy', 'de Mata']; - protected static $buildingNumber = ['%##', '%#', '%']; - protected static $streetPrefix = [ - 'Calle', 'Avenida', 'Av.', 'Cl.', 'Carretera', 'Callejón', 'Vereda', - ]; - protected static $streetSuffix = ['Norte', 'Este', ' Sur', ' Oeste']; - protected static $postcode = ['####']; - protected static $state = [ - 'Amazonas', 'Anzoátegui', 'Apure', 'Aragua', 'Barinas', 'Bolívar', 'Carabobo', 'Cojedes', 'Delta Amacuro', - 'Distrito Capital', 'Falcón', 'Guárico', 'Lara', 'Mérida', 'Miranda', 'Monagas', 'Nueva Esparta', 'Portuguesa', - 'Sucre', 'Táchira', 'Trujillo', 'Vargas', 'Yaracuy', 'Zulia', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}}{{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}} {{citySuffix}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}}', - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', - '{{streetName}}, {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{city}} Edo. {{state}}', - '{{streetAddress}}, {{city}} Edo. {{state}}, {{postcode}}', - ]; - protected static $secondaryAddressFormats = ['Nro #', 'Piso #', 'Casa #', 'Hab. #', 'Apto #', 'Nro ##', 'Piso ##', 'Casa ##', 'Hab. ##', 'Apto ##']; +class Address extends \Faker\Provider\es_ES\Address { + protected static $cityPrefix = [ + 'San', + 'Santa', + 'Puerto', + 'Valle', + 'Villa', + 'Parroquia', + 'El', + 'Los', + 'La', + 'Las' + ]; + protected static $citySuffix = [ 'del Valle', 'de Mara', 'de Altagracia', 'de Asis', 'del Tuy', 'de Mata' ]; + protected static $buildingNumber = [ '%##', '%#', '%' ]; + protected static $streetPrefix = [ + 'Calle', + 'Avenida', + 'Av.', + 'Cl.', + 'Carretera', + 'Callejón', + 'Vereda', + ]; + protected static $streetSuffix = [ 'Norte', 'Este', ' Sur', ' Oeste' ]; + protected static $postcode = [ '####' ]; + protected static $state = [ + 'Amazonas', + 'Anzoátegui', + 'Apure', + 'Aragua', + 'Barinas', + 'Bolívar', + 'Carabobo', + 'Cojedes', + 'Delta Amacuro', + 'Distrito Capital', + 'Falcón', + 'Guárico', + 'Lara', + 'Mérida', + 'Miranda', + 'Monagas', + 'Nueva Esparta', + 'Portuguesa', + 'Sucre', + 'Táchira', + 'Trujillo', + 'Vargas', + 'Yaracuy', + 'Zulia', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}}{{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}} {{citySuffix}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}}', + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', + '{{streetName}}, {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{city}} Edo. {{state}}', + '{{streetAddress}}, {{city}} Edo. {{state}}, {{postcode}}', + ]; + protected static $secondaryAddressFormats = [ + 'Nro #', + 'Piso #', + 'Casa #', + 'Hab. #', + 'Apto #', + 'Nro ##', + 'Piso ##', + 'Casa ##', + 'Hab. ##', + 'Apto ##' + ]; - /** - * @example 'Avenida' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Avenida' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'Villa' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'Villa' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Nro 3' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Nro 3' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Aragua' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Aragua' + */ + public static function state() { + return static::randomElement( static::$state ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Company.php index d6a4379..7534b10 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Company.php @@ -2,41 +2,55 @@ namespace Faker\Provider\es_VE; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - '{{companyPrefix}} {{lastName}} y {{lastName}}', - '{{lastName}} y {{lastName}} {{companySuffix}}', - '{{lastName}} de {{lastName}} {{companySuffix}}', - '{{lastName}} y {{lastName}}', - '{{lastName}} de {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + '{{companyPrefix}} {{lastName}} y {{lastName}}', + '{{lastName}} y {{lastName}} {{companySuffix}}', + '{{lastName}} de {{lastName}} {{companySuffix}}', + '{{lastName}} y {{lastName}}', + '{{lastName}} de {{lastName}}', + ]; - protected static $companyPrefix = [ - 'Asociación', 'Centro', 'Corporación', 'Cooperativa', 'Empresa', 'Gestora', 'Global', 'Grupo', 'Viajes', - 'Inversiones', 'Lic.', 'Dr.', - ]; - protected static $companySuffix = ['S.R.L.', 'C.A.', 'S.A.', 'R.L.', 'etc']; + protected static $companyPrefix = [ + 'Asociación', + 'Centro', + 'Corporación', + 'Cooperativa', + 'Empresa', + 'Gestora', + 'Global', + 'Grupo', + 'Viajes', + 'Inversiones', + 'Lic.', + 'Dr.', + ]; + protected static $companySuffix = [ 'S.R.L.', 'C.A.', 'S.A.', 'R.L.', 'etc' ]; - /** - * @example 'Grupo' - */ - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + /** + * @example 'Grupo' + */ + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - /** - * Generate random Taxpayer Identification Number (RIF in Venezuela). Ex J-123456789-1 - * - * @param string $separator - * - * @return string - */ - public function taxpayerIdentificationNumber($separator = '') - { - return static::randomElement(['J', 'G', 'V', 'E', 'P', 'C']) . $separator . static::numerify('########') . $separator . static::numerify('#'); - } + /** + * Generate random Taxpayer Identification Number (RIF in Venezuela). Ex J-123456789-1 + * + * @param string $separator + * + * @return string + */ + public function taxpayerIdentificationNumber( $separator = '' ) { + return static::randomElement( [ + 'J', + 'G', + 'V', + 'E', + 'P', + 'C' + ] ) . $separator . static::numerify( '########' ) . $separator . static::numerify( '#' ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Internet.php index fc10266..12329ed 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Internet.php @@ -2,8 +2,17 @@ namespace Faker\Provider\es_VE; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'hotmail.es', 'yahoo.com', 'yahoo.es', 'live.com', 'hispavista.com', 'latinmail.com', 'terra.com']; - protected static $tld = ['com', 'com.ve', 'net', 'net.ve', 'org', 'org.ve', 'info.ve', 'co.ve', 'web.ve']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'hotmail.es', + 'yahoo.com', + 'yahoo.es', + 'live.com', + 'hispavista.com', + 'latinmail.com', + 'terra.com' + ]; + protected static $tld = [ 'com', 'com.ve', 'net', 'net.ve', 'org', 'org.ve', 'info.ve', 'co.ve', 'web.ve' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Person.php index 38d05cd..cfd68a1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_VE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_VE/Person.php @@ -2,175 +2,1048 @@ namespace Faker\Provider\es_VE; -class Person extends \Faker\Provider\Person -{ - /** - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + /** + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + ]; - /** - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + /** + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - /** - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - protected static $firstNameMale = [ - 'Aaron', 'Adam', 'Adria', 'Adrian', 'Alberto', 'Aleix', 'Alejandro', 'Alex', 'Alonso', 'Alvaro', 'Ander', 'Andres', - 'Angel', 'Antonio', 'Bruno', 'Carlos', 'Cesar', 'Cristian', 'Daniel', 'Dario', 'David', 'Domingo', - 'Diego', 'Eduardo', 'Enrique', 'Eric', 'Erik', 'Fernando', 'Francisco', 'Francisco Javier', 'Gabriel', 'Gonzalo', - 'Guillem', 'Guillermo', 'Hector', 'Hugo', 'Ian', 'Ignacio', 'Isaac', 'Ismael', 'Ivan', 'Izan', 'Jaime', - 'Jan', 'Javier', 'Jesus', 'Joel', 'Jon', 'Jordi', 'Jorge', 'Jose', 'Juan', 'Leonardo', 'Leandro', - 'Leo', 'Lucas', 'Luis', 'Manuel', 'Marc', 'Marco', 'Marcos', 'Mario', 'Martin', 'Mateo', 'Miguel', 'Miguel', - 'Mohamed', 'Nicolas', 'Oliver', 'Omar', 'Oswaldo', 'Oscar', 'Pablo', 'Pedro', 'Pol', 'Rafael', 'Raul', 'Rayan', - 'Roberto', 'Rodrigo', 'Ruben', 'Samuel', 'Santiago', 'Saul', 'Sergio', 'Sebastian', 'Victor', 'Yorman', - ]; + /** + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + protected static $firstNameMale = [ + 'Aaron', + 'Adam', + 'Adria', + 'Adrian', + 'Alberto', + 'Aleix', + 'Alejandro', + 'Alex', + 'Alonso', + 'Alvaro', + 'Ander', + 'Andres', + 'Angel', + 'Antonio', + 'Bruno', + 'Carlos', + 'Cesar', + 'Cristian', + 'Daniel', + 'Dario', + 'David', + 'Domingo', + 'Diego', + 'Eduardo', + 'Enrique', + 'Eric', + 'Erik', + 'Fernando', + 'Francisco', + 'Francisco Javier', + 'Gabriel', + 'Gonzalo', + 'Guillem', + 'Guillermo', + 'Hector', + 'Hugo', + 'Ian', + 'Ignacio', + 'Isaac', + 'Ismael', + 'Ivan', + 'Izan', + 'Jaime', + 'Jan', + 'Javier', + 'Jesus', + 'Joel', + 'Jon', + 'Jordi', + 'Jorge', + 'Jose', + 'Juan', + 'Leonardo', + 'Leandro', + 'Leo', + 'Lucas', + 'Luis', + 'Manuel', + 'Marc', + 'Marco', + 'Marcos', + 'Mario', + 'Martin', + 'Mateo', + 'Miguel', + 'Miguel', + 'Mohamed', + 'Nicolas', + 'Oliver', + 'Omar', + 'Oswaldo', + 'Oscar', + 'Pablo', + 'Pedro', + 'Pol', + 'Rafael', + 'Raul', + 'Rayan', + 'Roberto', + 'Rodrigo', + 'Ruben', + 'Samuel', + 'Santiago', + 'Saul', + 'Sergio', + 'Sebastian', + 'Victor', + 'Yorman', + ]; - /** - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - protected static $firstNameFemale = [ - 'Abril', 'Adriana', 'Africa', 'Ainara', 'Antonia', 'Alba', 'Alejandra', 'Alexandra', 'Alexia', 'Alicia', 'Alma', - 'Ana', 'Andrea', 'Ane', 'Angela', 'Anna', 'Ariadna', 'Aroa', 'Bella', 'Beatriz', 'Berta', 'Blanca', 'Candela', - 'Carla', 'Carlota', 'Carmen', 'Carolina', 'Celia', 'Clara', 'Claudia', 'Cristina', 'Daniela', 'Diana', 'Elena', 'Elsa', - 'Emma', 'Erika', 'Eva', 'Fatima', 'Gabriela', 'Helena', 'Ines', 'Irene', 'Iria', 'Isabel', 'Jana', 'Jimena', - 'Joan', 'Julia', 'Laia', 'Lara', 'Laura', 'Leire', 'Leyre', 'Lidia', 'Lola', 'Lucia', 'Luna', 'Luisa', - 'Manuela', 'Mar', 'Mara', 'Maria', 'Marina', 'Marta', 'Marti', 'Martina', 'Mireia', 'Miriam', 'Nadia', 'Nahia', - 'Naia', 'Naiara', 'Natalia', 'Nayara', 'Nerea', 'Nil', 'Noa', 'Noelia', 'Nora', 'Nuria', 'Olivia', 'Ona', - 'Paola', 'Patricia', 'Pau', 'Paula', 'Raquel', 'Rocio', 'Salma', 'Sandra', 'Sara', 'Silvia', 'Sofia', 'Teresa', - 'Valentina', 'Valeria', 'Vega', 'Vera', 'Victoria', 'Yaiza', 'Zulay', - ]; + /** + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + protected static $firstNameFemale = [ + 'Abril', + 'Adriana', + 'Africa', + 'Ainara', + 'Antonia', + 'Alba', + 'Alejandra', + 'Alexandra', + 'Alexia', + 'Alicia', + 'Alma', + 'Ana', + 'Andrea', + 'Ane', + 'Angela', + 'Anna', + 'Ariadna', + 'Aroa', + 'Bella', + 'Beatriz', + 'Berta', + 'Blanca', + 'Candela', + 'Carla', + 'Carlota', + 'Carmen', + 'Carolina', + 'Celia', + 'Clara', + 'Claudia', + 'Cristina', + 'Daniela', + 'Diana', + 'Elena', + 'Elsa', + 'Emma', + 'Erika', + 'Eva', + 'Fatima', + 'Gabriela', + 'Helena', + 'Ines', + 'Irene', + 'Iria', + 'Isabel', + 'Jana', + 'Jimena', + 'Joan', + 'Julia', + 'Laia', + 'Lara', + 'Laura', + 'Leire', + 'Leyre', + 'Lidia', + 'Lola', + 'Lucia', + 'Luna', + 'Luisa', + 'Manuela', + 'Mar', + 'Mara', + 'Maria', + 'Marina', + 'Marta', + 'Marti', + 'Martina', + 'Mireia', + 'Miriam', + 'Nadia', + 'Nahia', + 'Naia', + 'Naiara', + 'Natalia', + 'Nayara', + 'Nerea', + 'Nil', + 'Noa', + 'Noelia', + 'Nora', + 'Nuria', + 'Olivia', + 'Ona', + 'Paola', + 'Patricia', + 'Pau', + 'Paula', + 'Raquel', + 'Rocio', + 'Salma', + 'Sandra', + 'Sara', + 'Silvia', + 'Sofia', + 'Teresa', + 'Valentina', + 'Valeria', + 'Vega', + 'Vera', + 'Victoria', + 'Yaiza', + 'Zulay', + ]; - /** - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - protected static $lastName = [ - 'Abad', 'Abeyta', 'Abrego', 'Abreu', 'Acevedo', 'Acosta', 'Acuña', 'Adame', 'Adorno', 'Agosto', 'Aguado', 'Aguayo', - 'Aguilar', 'Aguilera', 'Aguirre', 'Alanis', 'Alaniz', 'Alarcón', 'Alba', 'Alcala', 'Alcaraz', 'Alcántar', 'Alejandro', - 'Alemán', 'Alfaro', 'Alfonso', 'Alicea', 'Almanza', 'Almaraz', 'Almonte', 'Alonso', 'Alonzo', 'Altamirano', 'Alva', - 'Alvarado', 'Amador', 'Amaya', 'Anaya', 'Andreu', 'Andrés', 'Anguiano', 'Angulo', 'Antón', 'Aparicio', 'Apodaca', - 'Aponte', 'Aragón', 'Aranda', 'Araña', 'Arce', 'Archuleta', 'Arellano', 'Arenas', 'Arevalo', 'Arguello', 'Arias', - 'Armas', 'Armendáriz', 'Armenta', 'Armijo', 'Arredondo', 'Arreola', 'Arriaga', 'Arribas', 'Arroyo', 'Arteaga', 'Asensio', - 'Atencio', 'Avilés', 'Ayala', 'Baca', 'Badillo', 'Baeza', 'Bahena', 'Balderas', 'Ballesteros', 'Banda', 'Barajas', 'Barela', - 'Barragán', 'Barraza', 'Barrera', 'Barreto', 'Barrientos', 'Barrios', 'Barroso', 'Batista', 'Bautista', 'Bañuelos', 'Becerra', - 'Beltrán', 'Benavides', 'Benavídez', 'Benito', 'Benítez', 'Bermejo', 'Bermúdez', 'Bernal', 'Berríos', 'Blanco', 'Blasco', - 'Blázquez', 'Bonilla', 'Borrego', 'Botello', 'Bravo', 'Briones', 'Briseño', 'Brito', 'Bueno', 'Burgos', 'Bustamante', - 'Bustos', 'Báez', 'Bétancourt', 'Caballero', 'Cabello', 'Cabrera', 'Cabán', 'Cadena', 'Caldera', 'Calderón', 'Calero', - 'Calvillo', 'Calvo', 'Camacho', 'Camarillo', 'Campos', 'Canales', 'Candelaria', 'Cano', 'Cantú', 'Caraballo', 'Carbajal', - 'Carballo', 'Carbonell', 'Cardenas', 'Cardona', 'Carmona', 'Caro', 'Carranza', 'Carrasco', 'Carrasquillo', 'Carrera', - 'Carrero', 'Carretero', 'Carreón', 'Carrillo', 'Carrion', 'Carrión', 'Carvajal', 'Casado', 'Casanova', 'Casares', 'Casas', - 'Casillas', 'Castañeda', 'Castaño', 'Castellano', 'Castellanos', 'Castillo', 'Castro', 'Casárez', 'Cavazos', 'Cazares', - 'Ceballos', 'Cedillo', 'Ceja', 'Centeno', 'Cepeda', 'Cerda', 'Cervantes', 'Cervántez', 'Chacón', 'Chapa', 'Chavarría', - 'Chávez', 'Cintrón', 'Cisneros', 'Clemente', 'Cobo', 'Collado', 'Collazo', 'Colunga', 'Colón', 'Concepción', 'Conde', - 'Contreras', 'Cordero', 'Cornejo', 'Corona', 'Coronado', 'Corral', 'Corrales', 'Correa', 'Cortes', 'Cortez', 'Cortés', - 'Costa', 'Cotto', 'Covarrubias', 'Crespo', 'Cruz', 'Cuellar', 'Cuenca', 'Cuesta', 'Cuevas', 'Curiel', 'Córdoba', 'Córdova', - 'De la cruz', 'De la fuente', 'De la torre', 'Del río', 'Delacrúz', 'Delafuente', 'Delagarza', 'Delao', 'Delapaz', 'Delarosa', - 'Delatorre', 'Deleón', 'Delgadillo', 'Delgado', 'Delrío', 'Delvalle', 'Diez', 'Domenech', 'Domingo', 'Domínguez', 'Domínquez', - 'Duarte', 'Dueñas', 'Duran', 'Dávila', 'Díaz', 'Echevarría', 'Elizondo', 'Enríquez', 'Escalante', 'Escamilla', 'Escobar', - 'Escobedo', 'Escribano', 'Escudero', 'Esparza', 'Espinal', 'Espino', 'Espinosa', 'Espinoza', 'Esquibel', 'Esquivel', 'Esteban', - 'Esteve', 'Estrada', 'Estévez', 'Expósito', 'Fajardo', 'Farías', 'Feliciano', 'Fernández', 'Ferrer', 'Fierro', 'Figueroa', - 'Flores', 'Flórez', 'Fonseca', 'Font', 'Franco', 'Frías', 'Fuentes', 'Gaitán', 'Galarza', 'Galindo', 'Gallardo', 'Gallego', - 'Gallegos', 'Galván', 'Galán', 'Gamboa', 'Gamez', 'Gaona', 'Garay', 'García', 'Garibay', 'Garica', 'Garrido', 'Garza', 'Gastélum', - 'Gaytán', 'Gil', 'Gimeno', 'Giménez', 'Girón', 'Godoy', 'Godínez', 'Gonzales', 'González', 'Gracia', 'Granado', 'Granados', - 'Griego', 'Grijalva', 'Guajardo', 'Guardado', 'Guerra', 'Guerrero', 'Guevara', 'Guillen', 'Gurule', 'Gutiérrez', 'Guzmán', - 'Gálvez', 'Gómez', 'Haro', 'Henríquez', 'Heredia', 'Hernandes', 'Hernando', 'Hernádez', 'Hernández', 'Herrera', 'Herrero', - 'Hidalgo', 'Hinojosa', 'Holguín', 'Huerta', 'Hurtado', 'Ibarra', 'Ibáñez', 'Iglesias', 'Irizarry', 'Izquierdo', 'Jaime', 'Jaimes', - 'Jaramillo', 'Jasso', 'Jiménez', 'Jimínez', 'Juan', 'Jurado', 'Juárez', 'Jáquez', 'Laboy', 'Lara', 'Laureano', 'Leal', 'Lebrón', - 'Ledesma', 'Leiva', 'Lemus', 'Lerma', 'Leyva', 'León', 'Limón', 'Linares', 'Lira', 'Llamas', 'Llorente', 'Loera', 'Lomeli', - 'Longoria', 'Lorente', 'Lorenzo', 'Lovato', 'Loya', 'Lozada', 'Lozano', 'Lucas', 'Lucero', 'Lucio', 'Luevano', 'Lugo', 'Luis', - 'Luján', 'Luna', 'Luque', 'Lázaro', 'López', 'Macias', 'Macías', 'Madera', 'Madrid', 'Madrigal', 'Maestas', 'Magaña', 'Malave', - 'Maldonado', 'Manzanares', 'Manzano', 'Marco', 'Marcos', 'Mares', 'Marrero', 'Marroquín', 'Martos', 'Martí', 'Martín', 'Martínez', - 'Marín', 'Mas', 'Mascareñas', 'Mata', 'Mateo', 'Mateos', 'Matos', 'Matías', 'Maya', 'Mayorga', 'Medina', 'Medrano', 'Mejía', - 'Melgar', 'Meléndez', 'Mena', 'Menchaca', 'Mendoza', 'Menéndez', 'Meraz', 'Mercado', 'Merino', 'Mesa', 'Meza', 'Miguel', - 'Millán', 'Miramontes', 'Miranda', 'Mireles', 'Mojica', 'Molina', 'Mondragón', 'Monroy', 'Montalvo', 'Montañez', 'Montaño', - 'Montemayor', 'Montenegro', 'Montero', 'Montes', 'Montez', 'Montoya', 'Mora', 'Moral', 'Morales', 'Moran', 'Moreno', 'Mota', - 'Moya', 'Munguía', 'Murillo', 'Muro', 'Muñiz', 'Muñoz', 'Muñóz', 'Márquez', 'Méndez', 'Naranjo', 'Narváez', 'Nava', 'Navarrete', - 'Navarro', 'Navas', 'Nazario', 'Negrete', 'Negrón', 'Nevárez', 'Nieto', 'Nieves', 'Niño', 'Noriega', 'Nájera', 'Núñez', 'Ocampo', - 'Ocasio', 'Ochoa', 'Ojeda', 'Oliva', 'Olivares', 'Olivas', 'Oliver', 'Olivera', 'Olivo', 'Olivárez', 'Olmos', 'Olvera', 'Ontiveros', - 'Oquendo', 'Ordoñez', 'Ordóñez', 'Orellana', 'Ornelas', 'Orosco', 'Orozco', 'Orta', 'Ortega', 'Ortiz', 'Ortíz', 'Osorio', 'Otero', - 'Ozuna', 'Oropeza', 'Pabón', 'Pacheco', 'Padilla', 'Padrón', 'Pagan', 'Palacios', 'Palomino', 'Palomo', 'Pantoja', 'Pardo', 'Paredes', - 'Parra', 'Partida', 'Pascual', 'Pastor', 'Patiño', 'Paz', 'Pedraza', 'Pedroza', 'Pelayo', 'Peláez', 'Perales', 'Peralta', - 'Perea', 'Pereira', 'Peres', 'Peña', 'Pichardo', 'Pineda', 'Pizarro', 'Piña', 'Piñeiro', 'Plaza', 'Polanco', 'Polo', 'Ponce', - 'Pons', 'Porras', 'Portillo', 'Posada', 'Pozo', 'Prado', 'Preciado', 'Prieto', 'Puente', 'Puga', 'Puig', 'Pulido', 'Páez', - 'Pérez', 'Quesada', 'Quezada', 'Quintana', 'Quintanilla', 'Quintero', 'Quiroz', 'Quiñones', 'Quiñónez', 'Rael', 'Ramos', 'Ramírez', - 'Ramón', 'Rangel', 'Rascón', 'Raya', 'Razo', 'Redondo', 'Regalado', 'Reina', 'Rendón', 'Rentería', 'Requena', 'Reséndez', 'Rey', - 'Reyes', 'Reyna', 'Reynoso', 'Rico', 'Riera', 'Rincón', 'Riojas', 'Rivas', 'Rivera', 'Rivero', 'Robledo', 'Robles', 'Roca', 'Rocha', - 'Rodarte', 'Rodrigo', 'Rodrígez', 'Rodríguez', 'Rodríquez', 'Roig', 'Rojas', 'Rojo', 'Roldan', 'Roldán', 'Rolón', 'Romero', 'Romo', - 'Román', 'Roque', 'Ros', 'Rosa', 'Rosado', 'Rosales', 'Rosario', 'Rosas', 'Roybal', 'Rubio', 'Rueda', 'Ruelas', 'Ruiz', 'Ruvalcaba', - 'Ruíz', 'Ríos', 'Saavedra', 'Saiz', 'Salas', 'Salazar', 'Salcedo', 'Salcido', 'Saldaña', 'Saldivar', 'Salgado', 'Salinas', 'Salvador', - 'Samaniego', 'Sanabria', 'Sanches', 'Sancho', 'Sandoval', 'Santacruz', 'Santamaría', 'Santana', 'Santiago', 'Santillán', 'Santos', - 'Sanz', 'Sarabia', 'Sauceda', 'Saucedo', 'Sedillo', 'Segovia', 'Segura', 'Sepúlveda', 'Serna', 'Serra', 'Serrano', 'Serrato', 'Sevilla', - 'Sierra', 'Silva', 'Simón', 'Sisneros', 'Sola', 'Solano', 'Soler', 'Soliz', 'Solorio', 'Solorzano', 'Solís', 'Soria', 'Soriano', - 'Sosa', 'Sotelo', 'Soto', 'Suárez', 'Sáenz', 'Sáez', 'Sánchez', 'Tafoya', 'Tamayo', 'Tamez', 'Tapia', 'Tejada', 'Tejeda', 'Tello', - 'Terrazas', 'Terán', 'Tijerina', 'Tirado', 'Toledo', 'Tomas', 'Toro', 'Torres', 'Tovar', 'Trejo', 'Treviño', 'Trujillo', 'Téllez', - 'Tórrez', 'Ulibarri', 'Ulloa', 'Urbina', 'Ureña', 'Uribe', 'Urrutia', 'Urías', 'Vaca', 'Valadez', 'Valdez', 'Valdivia', 'Valdés', - 'Valencia', 'Valentín', 'Valenzuela', 'Valero', 'Valladares', 'Valle', 'Vallejo', 'Valles', 'Valverde', 'Vanegas', 'Varela', 'Vargas', - 'Vega', 'Vela', 'Velasco', 'Velásquez', 'Velázquez', 'Venegas', 'Vera', 'Verdugo', 'Verduzco', 'Vergara', 'Vicente', 'Vidal', 'Viera', - 'Vigil', 'Vila', 'Villa', 'Villagómez', 'Villalba', 'Villalobos', 'Villalpando', 'Villanueva', 'Villar', 'Villareal', 'Villarreal', - 'Villaseñor', 'Villegas', 'Vásquez', 'Vázquez', 'Vélez', 'Véliz', 'Ybarra', 'Yáñez', 'Zambrano', 'Zamora', 'Zamudio', 'Zapata', - 'Zaragoza', 'Zarate', 'Zavala', 'Zayas', 'Zelaya', 'Zepeda', 'Zúñiga', 'de Anda', 'de Jesús', 'Águilar', 'Álvarez', 'Ávalos', 'Ávila', - ]; + /** + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + protected static $lastName = [ + 'Abad', + 'Abeyta', + 'Abrego', + 'Abreu', + 'Acevedo', + 'Acosta', + 'Acuña', + 'Adame', + 'Adorno', + 'Agosto', + 'Aguado', + 'Aguayo', + 'Aguilar', + 'Aguilera', + 'Aguirre', + 'Alanis', + 'Alaniz', + 'Alarcón', + 'Alba', + 'Alcala', + 'Alcaraz', + 'Alcántar', + 'Alejandro', + 'Alemán', + 'Alfaro', + 'Alfonso', + 'Alicea', + 'Almanza', + 'Almaraz', + 'Almonte', + 'Alonso', + 'Alonzo', + 'Altamirano', + 'Alva', + 'Alvarado', + 'Amador', + 'Amaya', + 'Anaya', + 'Andreu', + 'Andrés', + 'Anguiano', + 'Angulo', + 'Antón', + 'Aparicio', + 'Apodaca', + 'Aponte', + 'Aragón', + 'Aranda', + 'Araña', + 'Arce', + 'Archuleta', + 'Arellano', + 'Arenas', + 'Arevalo', + 'Arguello', + 'Arias', + 'Armas', + 'Armendáriz', + 'Armenta', + 'Armijo', + 'Arredondo', + 'Arreola', + 'Arriaga', + 'Arribas', + 'Arroyo', + 'Arteaga', + 'Asensio', + 'Atencio', + 'Avilés', + 'Ayala', + 'Baca', + 'Badillo', + 'Baeza', + 'Bahena', + 'Balderas', + 'Ballesteros', + 'Banda', + 'Barajas', + 'Barela', + 'Barragán', + 'Barraza', + 'Barrera', + 'Barreto', + 'Barrientos', + 'Barrios', + 'Barroso', + 'Batista', + 'Bautista', + 'Bañuelos', + 'Becerra', + 'Beltrán', + 'Benavides', + 'Benavídez', + 'Benito', + 'Benítez', + 'Bermejo', + 'Bermúdez', + 'Bernal', + 'Berríos', + 'Blanco', + 'Blasco', + 'Blázquez', + 'Bonilla', + 'Borrego', + 'Botello', + 'Bravo', + 'Briones', + 'Briseño', + 'Brito', + 'Bueno', + 'Burgos', + 'Bustamante', + 'Bustos', + 'Báez', + 'Bétancourt', + 'Caballero', + 'Cabello', + 'Cabrera', + 'Cabán', + 'Cadena', + 'Caldera', + 'Calderón', + 'Calero', + 'Calvillo', + 'Calvo', + 'Camacho', + 'Camarillo', + 'Campos', + 'Canales', + 'Candelaria', + 'Cano', + 'Cantú', + 'Caraballo', + 'Carbajal', + 'Carballo', + 'Carbonell', + 'Cardenas', + 'Cardona', + 'Carmona', + 'Caro', + 'Carranza', + 'Carrasco', + 'Carrasquillo', + 'Carrera', + 'Carrero', + 'Carretero', + 'Carreón', + 'Carrillo', + 'Carrion', + 'Carrión', + 'Carvajal', + 'Casado', + 'Casanova', + 'Casares', + 'Casas', + 'Casillas', + 'Castañeda', + 'Castaño', + 'Castellano', + 'Castellanos', + 'Castillo', + 'Castro', + 'Casárez', + 'Cavazos', + 'Cazares', + 'Ceballos', + 'Cedillo', + 'Ceja', + 'Centeno', + 'Cepeda', + 'Cerda', + 'Cervantes', + 'Cervántez', + 'Chacón', + 'Chapa', + 'Chavarría', + 'Chávez', + 'Cintrón', + 'Cisneros', + 'Clemente', + 'Cobo', + 'Collado', + 'Collazo', + 'Colunga', + 'Colón', + 'Concepción', + 'Conde', + 'Contreras', + 'Cordero', + 'Cornejo', + 'Corona', + 'Coronado', + 'Corral', + 'Corrales', + 'Correa', + 'Cortes', + 'Cortez', + 'Cortés', + 'Costa', + 'Cotto', + 'Covarrubias', + 'Crespo', + 'Cruz', + 'Cuellar', + 'Cuenca', + 'Cuesta', + 'Cuevas', + 'Curiel', + 'Córdoba', + 'Córdova', + 'De la cruz', + 'De la fuente', + 'De la torre', + 'Del río', + 'Delacrúz', + 'Delafuente', + 'Delagarza', + 'Delao', + 'Delapaz', + 'Delarosa', + 'Delatorre', + 'Deleón', + 'Delgadillo', + 'Delgado', + 'Delrío', + 'Delvalle', + 'Diez', + 'Domenech', + 'Domingo', + 'Domínguez', + 'Domínquez', + 'Duarte', + 'Dueñas', + 'Duran', + 'Dávila', + 'Díaz', + 'Echevarría', + 'Elizondo', + 'Enríquez', + 'Escalante', + 'Escamilla', + 'Escobar', + 'Escobedo', + 'Escribano', + 'Escudero', + 'Esparza', + 'Espinal', + 'Espino', + 'Espinosa', + 'Espinoza', + 'Esquibel', + 'Esquivel', + 'Esteban', + 'Esteve', + 'Estrada', + 'Estévez', + 'Expósito', + 'Fajardo', + 'Farías', + 'Feliciano', + 'Fernández', + 'Ferrer', + 'Fierro', + 'Figueroa', + 'Flores', + 'Flórez', + 'Fonseca', + 'Font', + 'Franco', + 'Frías', + 'Fuentes', + 'Gaitán', + 'Galarza', + 'Galindo', + 'Gallardo', + 'Gallego', + 'Gallegos', + 'Galván', + 'Galán', + 'Gamboa', + 'Gamez', + 'Gaona', + 'Garay', + 'García', + 'Garibay', + 'Garica', + 'Garrido', + 'Garza', + 'Gastélum', + 'Gaytán', + 'Gil', + 'Gimeno', + 'Giménez', + 'Girón', + 'Godoy', + 'Godínez', + 'Gonzales', + 'González', + 'Gracia', + 'Granado', + 'Granados', + 'Griego', + 'Grijalva', + 'Guajardo', + 'Guardado', + 'Guerra', + 'Guerrero', + 'Guevara', + 'Guillen', + 'Gurule', + 'Gutiérrez', + 'Guzmán', + 'Gálvez', + 'Gómez', + 'Haro', + 'Henríquez', + 'Heredia', + 'Hernandes', + 'Hernando', + 'Hernádez', + 'Hernández', + 'Herrera', + 'Herrero', + 'Hidalgo', + 'Hinojosa', + 'Holguín', + 'Huerta', + 'Hurtado', + 'Ibarra', + 'Ibáñez', + 'Iglesias', + 'Irizarry', + 'Izquierdo', + 'Jaime', + 'Jaimes', + 'Jaramillo', + 'Jasso', + 'Jiménez', + 'Jimínez', + 'Juan', + 'Jurado', + 'Juárez', + 'Jáquez', + 'Laboy', + 'Lara', + 'Laureano', + 'Leal', + 'Lebrón', + 'Ledesma', + 'Leiva', + 'Lemus', + 'Lerma', + 'Leyva', + 'León', + 'Limón', + 'Linares', + 'Lira', + 'Llamas', + 'Llorente', + 'Loera', + 'Lomeli', + 'Longoria', + 'Lorente', + 'Lorenzo', + 'Lovato', + 'Loya', + 'Lozada', + 'Lozano', + 'Lucas', + 'Lucero', + 'Lucio', + 'Luevano', + 'Lugo', + 'Luis', + 'Luján', + 'Luna', + 'Luque', + 'Lázaro', + 'López', + 'Macias', + 'Macías', + 'Madera', + 'Madrid', + 'Madrigal', + 'Maestas', + 'Magaña', + 'Malave', + 'Maldonado', + 'Manzanares', + 'Manzano', + 'Marco', + 'Marcos', + 'Mares', + 'Marrero', + 'Marroquín', + 'Martos', + 'Martí', + 'Martín', + 'Martínez', + 'Marín', + 'Mas', + 'Mascareñas', + 'Mata', + 'Mateo', + 'Mateos', + 'Matos', + 'Matías', + 'Maya', + 'Mayorga', + 'Medina', + 'Medrano', + 'Mejía', + 'Melgar', + 'Meléndez', + 'Mena', + 'Menchaca', + 'Mendoza', + 'Menéndez', + 'Meraz', + 'Mercado', + 'Merino', + 'Mesa', + 'Meza', + 'Miguel', + 'Millán', + 'Miramontes', + 'Miranda', + 'Mireles', + 'Mojica', + 'Molina', + 'Mondragón', + 'Monroy', + 'Montalvo', + 'Montañez', + 'Montaño', + 'Montemayor', + 'Montenegro', + 'Montero', + 'Montes', + 'Montez', + 'Montoya', + 'Mora', + 'Moral', + 'Morales', + 'Moran', + 'Moreno', + 'Mota', + 'Moya', + 'Munguía', + 'Murillo', + 'Muro', + 'Muñiz', + 'Muñoz', + 'Muñóz', + 'Márquez', + 'Méndez', + 'Naranjo', + 'Narváez', + 'Nava', + 'Navarrete', + 'Navarro', + 'Navas', + 'Nazario', + 'Negrete', + 'Negrón', + 'Nevárez', + 'Nieto', + 'Nieves', + 'Niño', + 'Noriega', + 'Nájera', + 'Núñez', + 'Ocampo', + 'Ocasio', + 'Ochoa', + 'Ojeda', + 'Oliva', + 'Olivares', + 'Olivas', + 'Oliver', + 'Olivera', + 'Olivo', + 'Olivárez', + 'Olmos', + 'Olvera', + 'Ontiveros', + 'Oquendo', + 'Ordoñez', + 'Ordóñez', + 'Orellana', + 'Ornelas', + 'Orosco', + 'Orozco', + 'Orta', + 'Ortega', + 'Ortiz', + 'Ortíz', + 'Osorio', + 'Otero', + 'Ozuna', + 'Oropeza', + 'Pabón', + 'Pacheco', + 'Padilla', + 'Padrón', + 'Pagan', + 'Palacios', + 'Palomino', + 'Palomo', + 'Pantoja', + 'Pardo', + 'Paredes', + 'Parra', + 'Partida', + 'Pascual', + 'Pastor', + 'Patiño', + 'Paz', + 'Pedraza', + 'Pedroza', + 'Pelayo', + 'Peláez', + 'Perales', + 'Peralta', + 'Perea', + 'Pereira', + 'Peres', + 'Peña', + 'Pichardo', + 'Pineda', + 'Pizarro', + 'Piña', + 'Piñeiro', + 'Plaza', + 'Polanco', + 'Polo', + 'Ponce', + 'Pons', + 'Porras', + 'Portillo', + 'Posada', + 'Pozo', + 'Prado', + 'Preciado', + 'Prieto', + 'Puente', + 'Puga', + 'Puig', + 'Pulido', + 'Páez', + 'Pérez', + 'Quesada', + 'Quezada', + 'Quintana', + 'Quintanilla', + 'Quintero', + 'Quiroz', + 'Quiñones', + 'Quiñónez', + 'Rael', + 'Ramos', + 'Ramírez', + 'Ramón', + 'Rangel', + 'Rascón', + 'Raya', + 'Razo', + 'Redondo', + 'Regalado', + 'Reina', + 'Rendón', + 'Rentería', + 'Requena', + 'Reséndez', + 'Rey', + 'Reyes', + 'Reyna', + 'Reynoso', + 'Rico', + 'Riera', + 'Rincón', + 'Riojas', + 'Rivas', + 'Rivera', + 'Rivero', + 'Robledo', + 'Robles', + 'Roca', + 'Rocha', + 'Rodarte', + 'Rodrigo', + 'Rodrígez', + 'Rodríguez', + 'Rodríquez', + 'Roig', + 'Rojas', + 'Rojo', + 'Roldan', + 'Roldán', + 'Rolón', + 'Romero', + 'Romo', + 'Román', + 'Roque', + 'Ros', + 'Rosa', + 'Rosado', + 'Rosales', + 'Rosario', + 'Rosas', + 'Roybal', + 'Rubio', + 'Rueda', + 'Ruelas', + 'Ruiz', + 'Ruvalcaba', + 'Ruíz', + 'Ríos', + 'Saavedra', + 'Saiz', + 'Salas', + 'Salazar', + 'Salcedo', + 'Salcido', + 'Saldaña', + 'Saldivar', + 'Salgado', + 'Salinas', + 'Salvador', + 'Samaniego', + 'Sanabria', + 'Sanches', + 'Sancho', + 'Sandoval', + 'Santacruz', + 'Santamaría', + 'Santana', + 'Santiago', + 'Santillán', + 'Santos', + 'Sanz', + 'Sarabia', + 'Sauceda', + 'Saucedo', + 'Sedillo', + 'Segovia', + 'Segura', + 'Sepúlveda', + 'Serna', + 'Serra', + 'Serrano', + 'Serrato', + 'Sevilla', + 'Sierra', + 'Silva', + 'Simón', + 'Sisneros', + 'Sola', + 'Solano', + 'Soler', + 'Soliz', + 'Solorio', + 'Solorzano', + 'Solís', + 'Soria', + 'Soriano', + 'Sosa', + 'Sotelo', + 'Soto', + 'Suárez', + 'Sáenz', + 'Sáez', + 'Sánchez', + 'Tafoya', + 'Tamayo', + 'Tamez', + 'Tapia', + 'Tejada', + 'Tejeda', + 'Tello', + 'Terrazas', + 'Terán', + 'Tijerina', + 'Tirado', + 'Toledo', + 'Tomas', + 'Toro', + 'Torres', + 'Tovar', + 'Trejo', + 'Treviño', + 'Trujillo', + 'Téllez', + 'Tórrez', + 'Ulibarri', + 'Ulloa', + 'Urbina', + 'Ureña', + 'Uribe', + 'Urrutia', + 'Urías', + 'Vaca', + 'Valadez', + 'Valdez', + 'Valdivia', + 'Valdés', + 'Valencia', + 'Valentín', + 'Valenzuela', + 'Valero', + 'Valladares', + 'Valle', + 'Vallejo', + 'Valles', + 'Valverde', + 'Vanegas', + 'Varela', + 'Vargas', + 'Vega', + 'Vela', + 'Velasco', + 'Velásquez', + 'Velázquez', + 'Venegas', + 'Vera', + 'Verdugo', + 'Verduzco', + 'Vergara', + 'Vicente', + 'Vidal', + 'Viera', + 'Vigil', + 'Vila', + 'Villa', + 'Villagómez', + 'Villalba', + 'Villalobos', + 'Villalpando', + 'Villanueva', + 'Villar', + 'Villareal', + 'Villarreal', + 'Villaseñor', + 'Villegas', + 'Vásquez', + 'Vázquez', + 'Vélez', + 'Véliz', + 'Ybarra', + 'Yáñez', + 'Zambrano', + 'Zamora', + 'Zamudio', + 'Zapata', + 'Zaragoza', + 'Zarate', + 'Zavala', + 'Zayas', + 'Zelaya', + 'Zepeda', + 'Zúñiga', + 'de Anda', + 'de Jesús', + 'Águilar', + 'Álvarez', + 'Ávalos', + 'Ávila', + ]; - protected static $titleMale = ['Sr.', 'Dn.', 'Dr.', 'Lcdo.', 'Ing.']; + protected static $titleMale = [ 'Sr.', 'Dn.', 'Dr.', 'Lcdo.', 'Ing.' ]; - protected static $titleFemale = ['Sra.', 'Srita.', 'Dra.', 'Lcda.', 'Ing.']; + protected static $titleFemale = [ 'Sra.', 'Srita.', 'Dra.', 'Lcda.', 'Ing.' ]; - private static $suffix = ['Hijo']; + private static $suffix = [ 'Hijo' ]; - private static $nationalityId = ['V', 'E']; + private static $nationalityId = [ 'V', 'E' ]; - /** - * @example 'Hijo' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'Hijo' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * Generate random national identification number (cédula de identidad). Ex V-8756432 - * - * @param string $separator - * - * @return string CNE is the official national election registry org. - * CNE is the official national election registry org. - * - * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php - */ - public function nationalId($separator = '') - { - $id = static::randomElement(static::$nationalityId); + /** + * Generate random national identification number (cédula de identidad). Ex V-8756432 + * + * @param string $separator + * + * @return string CNE is the official national election registry org. + * CNE is the official national election registry org. + * + * @see http://www.cne.gob.ve/web/registro_electoral/ciudadanos_111_129_2011.php + */ + public function nationalId( $separator = '' ) { + $id = static::randomElement( static::$nationalityId ); - if ($id == 'V') { - return $id . $separator . $this->numberBetween(10000, 100000000); - } + if ( $id == 'V' ) { + return $id . $separator . $this->numberBetween( 10000, 100000000 ); + } - return $id . $separator . $this->numberBetween(80000000, 100000000); - } + return $id . $separator . $this->numberBetween( 80000000, 100000000 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/es_VE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/es_VE/PhoneNumber.php index cfe6438..a5c225f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/es_VE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/es_VE/PhoneNumber.php @@ -2,28 +2,27 @@ namespace Faker\Provider\es_VE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+58 2## ### ####', - '+58 2## #######', - '+58 2#########', - '+58 2##-###-####', - '+58 2##-#######', - '2## ### ####', - '2## #######', - '2#########', - '2##-###-####', - '2##-#######', - '+58 4## ### ####', - '+58 4## #######', - '+58 4#########', - '+58 4##-###-####', - '+58 4##-#######', - '4## ### ####', - '4## #######', - '4#########', - '4##-###-####', - '4##-#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+58 2## ### ####', + '+58 2## #######', + '+58 2#########', + '+58 2##-###-####', + '+58 2##-#######', + '2## ### ####', + '2## #######', + '2#########', + '2##-###-####', + '2##-#######', + '+58 4## ### ####', + '+58 4## #######', + '+58 4#########', + '+58 4##-###-####', + '+58 4##-#######', + '4## ### ####', + '4## #######', + '4#########', + '4##-###-####', + '4##-#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/et_EE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/et_EE/Person.php index 8eafe73..b5d24bd 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/et_EE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/et_EE/Person.php @@ -2,83 +2,631 @@ namespace Faker\Provider\et_EE; -class Person extends \Faker\Provider\Person -{ - /** - * @see https://news.err.ee/114745/most-popular-baby-names-of-2014 - * @see https://www.stat.ee/public/apps/nimed/TOP - */ - protected static $firstNameMale = [ - 'Andrei', 'Aleksei', 'Andres', 'Alexander', 'Aivar', 'Aleksander', 'Artur', 'Andrus', 'Ants', 'Artjom', 'Anatoli', 'Anton', 'Arvo', 'Aare', 'Ain', 'Aleksandr', - 'Dmitri', 'Daniil', 'Daniel', - 'Eduard', 'Erik', 'Enn', - 'Fjodorov', - 'Gennadi', - 'Heino', 'Henri', 'Hugo', - 'Igor', 'Indrek', 'Ivan', 'Ilja', - 'Jüri', 'Jaan', 'Jevgeni', 'Jaanus', 'Janek', 'Jaak', - 'Kristjan', 'Kalev', 'Karl', 'Kalle', 'Kaido', 'Kevin', 'Konstantin', 'Kaspar', 'Kirill', 'Kristo', 'Kalju', 'Kristofer', - 'Lauri', 'Lembit', 'Laur', - 'Martin', 'Margus', 'Maksim', 'Marko', 'Mati', 'Meelis', 'Mihhail', 'Marek', 'Mihkel', 'Mart', 'Madis', 'Markus', 'Mark', 'Marten', - 'Nikolai', 'Nikita', 'Nikolay', - 'Oleg', 'Oliver', 'Oskar', - 'Peeter', 'Priit', 'Pavel', - 'Rein', 'Roman', 'Raivo', 'Rasmus', 'Raul', 'Robert', 'Riho', 'Robin', 'Romet', - 'Sergei', 'Sander', 'Sergey', 'Siim', 'Silver', 'Sebastian', - 'Toomas', 'Tarmo', 'Tõnu', 'Tiit', 'Tanel', 'Taavi', 'Toivo', 'Tõnis', - 'Urmas', 'Ülo', - 'Vladimir', 'Viktor', 'Valeri', 'Vello', 'Vadim', 'Vitali', 'Vladislav', 'Vjatšeslav', 'Victor', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see https://news.err.ee/114745/most-popular-baby-names-of-2014 + * @see https://www.stat.ee/public/apps/nimed/TOP + */ + protected static $firstNameMale = [ + 'Andrei', + 'Aleksei', + 'Andres', + 'Alexander', + 'Aivar', + 'Aleksander', + 'Artur', + 'Andrus', + 'Ants', + 'Artjom', + 'Anatoli', + 'Anton', + 'Arvo', + 'Aare', + 'Ain', + 'Aleksandr', + 'Dmitri', + 'Daniil', + 'Daniel', + 'Eduard', + 'Erik', + 'Enn', + 'Fjodorov', + 'Gennadi', + 'Heino', + 'Henri', + 'Hugo', + 'Igor', + 'Indrek', + 'Ivan', + 'Ilja', + 'Jüri', + 'Jaan', + 'Jevgeni', + 'Jaanus', + 'Janek', + 'Jaak', + 'Kristjan', + 'Kalev', + 'Karl', + 'Kalle', + 'Kaido', + 'Kevin', + 'Konstantin', + 'Kaspar', + 'Kirill', + 'Kristo', + 'Kalju', + 'Kristofer', + 'Lauri', + 'Lembit', + 'Laur', + 'Martin', + 'Margus', + 'Maksim', + 'Marko', + 'Mati', + 'Meelis', + 'Mihhail', + 'Marek', + 'Mihkel', + 'Mart', + 'Madis', + 'Markus', + 'Mark', + 'Marten', + 'Nikolai', + 'Nikita', + 'Nikolay', + 'Oleg', + 'Oliver', + 'Oskar', + 'Peeter', + 'Priit', + 'Pavel', + 'Rein', + 'Roman', + 'Raivo', + 'Rasmus', + 'Raul', + 'Robert', + 'Riho', + 'Robin', + 'Romet', + 'Sergei', + 'Sander', + 'Sergey', + 'Siim', + 'Silver', + 'Sebastian', + 'Toomas', + 'Tarmo', + 'Tõnu', + 'Tiit', + 'Tanel', + 'Taavi', + 'Toivo', + 'Tõnis', + 'Urmas', + 'Ülo', + 'Vladimir', + 'Viktor', + 'Valeri', + 'Vello', + 'Vadim', + 'Vitali', + 'Vladislav', + 'Vjatšeslav', + 'Victor', + ]; - /** - * @see https://news.err.ee/114745/most-popular-baby-names-of-2014 - * @see https://www.stat.ee/public/apps/nimed/TOP - */ - protected static $firstNameFemale = [ - 'Aino', 'Aleksandra', 'Alisa', 'Anastasia', 'Anna', 'Anne', 'Anneli', 'Anu', 'Arina', 'Annika', 'Anastassia', 'Alla', 'Aili', 'Alina', 'Aime', 'Antonina', - 'Darja', 'Diana', - 'Elena', 'Eliise', 'Elisabeth', 'Emma', 'Ene', 'Eve', 'Eha', 'Evi', - 'Galina', - 'Hanna', 'Helen', 'Heli', 'Helle', 'Helgi', - 'Irina', 'Inna', 'Ingrid', - 'Jekaterina', 'Jelena', 'Julia', 'Jana', - 'Kadri', 'Katrin', 'Kristi', 'Kristiina', 'Kristina', 'Karin', 'Kersti', 'Kristel', 'Kaja', 'Külli', 'Kätlin', 'Krista', - 'Laura', 'Lenna', 'Liisa', 'Linda', 'Lisandra', 'Ljubov', 'Ljudmila', 'Liina', 'Ljudmilla', 'Larissa', 'Liis', 'Lea', 'Laine', 'Liudmila', - 'Maie', 'Malle', 'Mare', 'Maria', 'Marina', 'Marleen', 'Marta', 'Merike', 'Mia', 'Milana', 'Mirtel', 'Marika', 'Merle', 'Margit', 'Milvi', 'Maire', 'Margarita', 'Mari', 'Maarja', - 'Natalia', 'Niina', 'Nora', 'Natalja', 'Nadežda', 'Nina', - 'Olga', 'Oksana', - 'Piret', 'Polina', 'Pille', - 'Reet', 'Riina', - 'Sandra', 'Sirje', 'Sofia', 'Svetlana', 'Silvi', - 'Tamara', 'Tatiana', 'Tiina', 'Tiiu', 'Triin', 'Tatjana', 'Tiia', - 'Ülle', 'Urve', - 'Valentina', 'Viktoria', 'Veera', 'Veronika', 'Vaike', - 'Zinaida', - ]; + /** + * @see https://news.err.ee/114745/most-popular-baby-names-of-2014 + * @see https://www.stat.ee/public/apps/nimed/TOP + */ + protected static $firstNameFemale = [ + 'Aino', + 'Aleksandra', + 'Alisa', + 'Anastasia', + 'Anna', + 'Anne', + 'Anneli', + 'Anu', + 'Arina', + 'Annika', + 'Anastassia', + 'Alla', + 'Aili', + 'Alina', + 'Aime', + 'Antonina', + 'Darja', + 'Diana', + 'Elena', + 'Eliise', + 'Elisabeth', + 'Emma', + 'Ene', + 'Eve', + 'Eha', + 'Evi', + 'Galina', + 'Hanna', + 'Helen', + 'Heli', + 'Helle', + 'Helgi', + 'Irina', + 'Inna', + 'Ingrid', + 'Jekaterina', + 'Jelena', + 'Julia', + 'Jana', + 'Kadri', + 'Katrin', + 'Kristi', + 'Kristiina', + 'Kristina', + 'Karin', + 'Kersti', + 'Kristel', + 'Kaja', + 'Külli', + 'Kätlin', + 'Krista', + 'Laura', + 'Lenna', + 'Liisa', + 'Linda', + 'Lisandra', + 'Ljubov', + 'Ljudmila', + 'Liina', + 'Ljudmilla', + 'Larissa', + 'Liis', + 'Lea', + 'Laine', + 'Liudmila', + 'Maie', + 'Malle', + 'Mare', + 'Maria', + 'Marina', + 'Marleen', + 'Marta', + 'Merike', + 'Mia', + 'Milana', + 'Mirtel', + 'Marika', + 'Merle', + 'Margit', + 'Milvi', + 'Maire', + 'Margarita', + 'Mari', + 'Maarja', + 'Natalia', + 'Niina', + 'Nora', + 'Natalja', + 'Nadežda', + 'Nina', + 'Olga', + 'Oksana', + 'Piret', + 'Polina', + 'Pille', + 'Reet', + 'Riina', + 'Sandra', + 'Sirje', + 'Sofia', + 'Svetlana', + 'Silvi', + 'Tamara', + 'Tatiana', + 'Tiina', + 'Tiiu', + 'Triin', + 'Tatjana', + 'Tiia', + 'Ülle', + 'Urve', + 'Valentina', + 'Viktoria', + 'Veera', + 'Veronika', + 'Vaike', + 'Zinaida', + ]; - /** - * @see https://en.wikipedia.org/wiki/Category:Estonian-language_surnames - * @see https://www.stat.ee/public/apps/nimed/pere/TOP - */ - protected static $lastName = [ - 'Aleksejev', 'Andrejev', 'Allik', 'Aas', 'Aleksandrov', 'Aare', 'Aarma', 'Aas', 'Aasmäe', 'Aav', 'Aavik', 'Allik', 'Alver', 'Andrejeva', 'Aleksejeva', 'Aleksandrova', 'Allik', 'Aas', - 'Bogdanova', 'Bogdanov', - 'Eenpalu', 'Eskola', - 'Fjodorov', 'Fjodorov', 'Fjodorova', 'Fjodorova', - 'Grigorjev', 'Grigorjeva', - 'Hunt', 'Hein', 'Hein', 'Härma', - 'Ivanov', 'Ilves', 'Ilves', 'Ivanov', 'Ivanova', 'Ivanova', 'Ilves', - 'Jõgi', 'Jakobson', 'Jakovlev', 'Jürgenson', 'Jegorov', 'Järv', 'Johanson', 'Järve', 'Jakobson', 'Jänes', 'Järve', 'Järvis', 'Jõgi', 'Jõgi', 'Johanson', 'Jürgenson', 'Järv', 'Jakovleva', 'Jegorova', 'Järve', 'Jakobson', - 'Kuzmina', 'Kalda', 'Kozlova', 'Kruus', 'Kask', 'Kukk', 'Kuznetsov', 'Koppel', 'Kaasik', 'Kuusk', 'Karu', 'Kütt', 'Kallas', 'Kivi', 'Kangur', 'Kuusik', 'Kõiv', 'Kozlov', 'Kull', 'Kuzmin', 'Kalda', 'Kaaleste', 'Kaasik', 'Käbin', 'Kalda', 'Kaljulaid', 'Kaljurand', 'Kallas', 'Kallaste', 'Kangro', 'Kangur', 'Kapp', 'Kärner', 'Karu', 'Kask', 'Käsper', 'Kass', 'Keres', 'Keskküla', 'Kesküla', 'Kikkas', 'Kingsepp', 'Kirs', 'Kirsipuu', 'Kivi', 'Klavan', 'Kõiv', 'Kokk', 'Kontaveit', 'Koppel', 'Korjus', 'Kotkas', 'Kreek', 'Kross', 'Kruus', 'Kukk', 'Kull', 'Kütt', 'Kuusik', 'Kuusk', 'Kuznetsov', 'Kuznetsova', 'Kask', 'Kukk', 'Kuznetsova', 'Koppel', 'Kaasik', 'Kuusk', 'Karu', 'Kütt', 'Kallas', 'Kivi', 'Kuusik', 'Kangur', 'Kõiv', 'Kull', - 'Luik', 'Lepik', 'Lepp', 'Lõhmus', 'Liiv', 'Laur', 'Leppik', 'Lebedev', 'Laas', 'Laar', 'Laht', 'Lass', 'Laur', 'Laurits', 'Lemsalu', 'Lepik', 'Lepmets', 'Lepp', 'Leppik', 'Levandi', 'Liiv', 'Lill', 'Lindmaa', 'Linna', 'Lipp', 'Lippmaa', 'Lõhmus', 'Loo', 'Lõoke', 'Luik', 'Luts', 'Luik', 'Lepik', 'Lepp', 'Lõhmus', 'Laur', 'Liiv', 'Leppik', 'Lebedeva', 'Laas', - 'Männik', 'Mänd', 'Mitt', 'Makarova', 'Mägi', 'Mets', 'Mihhailov', 'Mölder', 'Morozov', 'Mitt', 'Männik', 'Mõttus', 'Mänd', 'Makarov', 'Mägi', 'Mälk', 'Mänd', 'Männik', 'Margiste', 'Mark', 'Masing', 'Mets', 'Mihhailov', 'Mihhailova', 'Mölder', 'Must', 'Mägi', 'Mets', 'Mihhailova', 'Mölder', 'Morozova', - 'Nikolajev', 'Nõmm', 'Nikitin', 'Novikov', 'Nõmmik', 'Nurme', 'Nurmsalu', 'Nõmm', 'Nikitina', 'Nikolajeva', - 'Orlova', 'Orav', 'Oja', 'Ots', 'Orav', 'Orlov', 'Oja', 'Olesk', 'Öpik', 'Orav', 'Ots', 'Oja', 'Ots', - 'Petrov', 'Pärn', 'Põder', 'Pavlov', 'Popov', 'Peterson', 'Puusepp', 'Paju', 'Põld', 'Pukk', 'Paas', 'Palm', 'Pääsuke', 'Padar', 'Pärn', 'Pavlov', 'Pavlova', 'Peebo', 'Peetre', 'Peterson', 'Petrov', 'Petrova', 'Pihlak', 'Piho', 'Piip', 'Põder', 'Põld', 'Popov', 'Popova', 'Poska', 'Puhvel', 'Pütsep', 'Puusepp', 'Petrova', 'Pärn', 'Pavlova', 'Põder', 'Peterson', 'Popova', 'Puusepp', 'Paas', 'Paju', 'Pukk', 'Parts', 'Palm', 'Põld', - 'Romanova', 'Rand', 'Roos', 'Rebane', 'Raudsepp', 'Raud', 'Rand', 'Roos', 'Rätsep', 'Raag', 'Raud', 'Raudsepp', 'Rebane', 'Reek', 'Reinsalu', 'Rooba', 'Roolaid', 'Rootare', 'Rummo', 'Rüütel', 'Rüütli', 'Rebane', 'Raudsepp', 'Raud', - 'Saar', 'Sepp', 'Smirnov', 'Stepanov', 'Semjonov', 'Sokolov', 'Sild', 'Sarapuu', 'Saks', 'Saar', 'Salumäe', 'Semjonov', 'Sepp', 'Sibul', 'Siimar', 'Simm', 'Sirel', 'Sisask', 'Smirnov', 'Smirnova', 'Sokk', 'Sokolov', 'Soosaar', 'Stepanov', 'Stepanova', 'Susi', 'Saar', 'Sepp', 'Smirnova', 'Stepanova', 'Sokolova', 'Saks', 'Sarapuu', 'Sild', 'Semjonova', - 'Tamme', 'Tomson', 'Tamm', 'Teder', 'Toom', 'Tomson', 'Tamme', 'Talts', 'Tamm', 'Tamme', 'Tarvas', 'Teder', 'Toom', 'Toome', 'Toots', 'Tamm', 'Teder', 'Toom', - 'Uibo', 'Uibo', - 'Vassiljev', 'Vaher', 'Volkov', 'Valk', 'Vaher', 'Vahtra', 'Vaino', 'Vainola', 'Välbe', 'Valdma', 'Väljas', 'Valk', 'Vassiljev', 'Vassiljeva', 'Vesik', 'Veski', 'Viiding', 'Vitsut', 'Võigemast', 'Volkov', 'Volkova', 'Võsu', 'Vassiljeva', 'Vaher', 'Volkova', - ]; + /** + * @see https://en.wikipedia.org/wiki/Category:Estonian-language_surnames + * @see https://www.stat.ee/public/apps/nimed/pere/TOP + */ + protected static $lastName = [ + 'Aleksejev', + 'Andrejev', + 'Allik', + 'Aas', + 'Aleksandrov', + 'Aare', + 'Aarma', + 'Aas', + 'Aasmäe', + 'Aav', + 'Aavik', + 'Allik', + 'Alver', + 'Andrejeva', + 'Aleksejeva', + 'Aleksandrova', + 'Allik', + 'Aas', + 'Bogdanova', + 'Bogdanov', + 'Eenpalu', + 'Eskola', + 'Fjodorov', + 'Fjodorov', + 'Fjodorova', + 'Fjodorova', + 'Grigorjev', + 'Grigorjeva', + 'Hunt', + 'Hein', + 'Hein', + 'Härma', + 'Ivanov', + 'Ilves', + 'Ilves', + 'Ivanov', + 'Ivanova', + 'Ivanova', + 'Ilves', + 'Jõgi', + 'Jakobson', + 'Jakovlev', + 'Jürgenson', + 'Jegorov', + 'Järv', + 'Johanson', + 'Järve', + 'Jakobson', + 'Jänes', + 'Järve', + 'Järvis', + 'Jõgi', + 'Jõgi', + 'Johanson', + 'Jürgenson', + 'Järv', + 'Jakovleva', + 'Jegorova', + 'Järve', + 'Jakobson', + 'Kuzmina', + 'Kalda', + 'Kozlova', + 'Kruus', + 'Kask', + 'Kukk', + 'Kuznetsov', + 'Koppel', + 'Kaasik', + 'Kuusk', + 'Karu', + 'Kütt', + 'Kallas', + 'Kivi', + 'Kangur', + 'Kuusik', + 'Kõiv', + 'Kozlov', + 'Kull', + 'Kuzmin', + 'Kalda', + 'Kaaleste', + 'Kaasik', + 'Käbin', + 'Kalda', + 'Kaljulaid', + 'Kaljurand', + 'Kallas', + 'Kallaste', + 'Kangro', + 'Kangur', + 'Kapp', + 'Kärner', + 'Karu', + 'Kask', + 'Käsper', + 'Kass', + 'Keres', + 'Keskküla', + 'Kesküla', + 'Kikkas', + 'Kingsepp', + 'Kirs', + 'Kirsipuu', + 'Kivi', + 'Klavan', + 'Kõiv', + 'Kokk', + 'Kontaveit', + 'Koppel', + 'Korjus', + 'Kotkas', + 'Kreek', + 'Kross', + 'Kruus', + 'Kukk', + 'Kull', + 'Kütt', + 'Kuusik', + 'Kuusk', + 'Kuznetsov', + 'Kuznetsova', + 'Kask', + 'Kukk', + 'Kuznetsova', + 'Koppel', + 'Kaasik', + 'Kuusk', + 'Karu', + 'Kütt', + 'Kallas', + 'Kivi', + 'Kuusik', + 'Kangur', + 'Kõiv', + 'Kull', + 'Luik', + 'Lepik', + 'Lepp', + 'Lõhmus', + 'Liiv', + 'Laur', + 'Leppik', + 'Lebedev', + 'Laas', + 'Laar', + 'Laht', + 'Lass', + 'Laur', + 'Laurits', + 'Lemsalu', + 'Lepik', + 'Lepmets', + 'Lepp', + 'Leppik', + 'Levandi', + 'Liiv', + 'Lill', + 'Lindmaa', + 'Linna', + 'Lipp', + 'Lippmaa', + 'Lõhmus', + 'Loo', + 'Lõoke', + 'Luik', + 'Luts', + 'Luik', + 'Lepik', + 'Lepp', + 'Lõhmus', + 'Laur', + 'Liiv', + 'Leppik', + 'Lebedeva', + 'Laas', + 'Männik', + 'Mänd', + 'Mitt', + 'Makarova', + 'Mägi', + 'Mets', + 'Mihhailov', + 'Mölder', + 'Morozov', + 'Mitt', + 'Männik', + 'Mõttus', + 'Mänd', + 'Makarov', + 'Mägi', + 'Mälk', + 'Mänd', + 'Männik', + 'Margiste', + 'Mark', + 'Masing', + 'Mets', + 'Mihhailov', + 'Mihhailova', + 'Mölder', + 'Must', + 'Mägi', + 'Mets', + 'Mihhailova', + 'Mölder', + 'Morozova', + 'Nikolajev', + 'Nõmm', + 'Nikitin', + 'Novikov', + 'Nõmmik', + 'Nurme', + 'Nurmsalu', + 'Nõmm', + 'Nikitina', + 'Nikolajeva', + 'Orlova', + 'Orav', + 'Oja', + 'Ots', + 'Orav', + 'Orlov', + 'Oja', + 'Olesk', + 'Öpik', + 'Orav', + 'Ots', + 'Oja', + 'Ots', + 'Petrov', + 'Pärn', + 'Põder', + 'Pavlov', + 'Popov', + 'Peterson', + 'Puusepp', + 'Paju', + 'Põld', + 'Pukk', + 'Paas', + 'Palm', + 'Pääsuke', + 'Padar', + 'Pärn', + 'Pavlov', + 'Pavlova', + 'Peebo', + 'Peetre', + 'Peterson', + 'Petrov', + 'Petrova', + 'Pihlak', + 'Piho', + 'Piip', + 'Põder', + 'Põld', + 'Popov', + 'Popova', + 'Poska', + 'Puhvel', + 'Pütsep', + 'Puusepp', + 'Petrova', + 'Pärn', + 'Pavlova', + 'Põder', + 'Peterson', + 'Popova', + 'Puusepp', + 'Paas', + 'Paju', + 'Pukk', + 'Parts', + 'Palm', + 'Põld', + 'Romanova', + 'Rand', + 'Roos', + 'Rebane', + 'Raudsepp', + 'Raud', + 'Rand', + 'Roos', + 'Rätsep', + 'Raag', + 'Raud', + 'Raudsepp', + 'Rebane', + 'Reek', + 'Reinsalu', + 'Rooba', + 'Roolaid', + 'Rootare', + 'Rummo', + 'Rüütel', + 'Rüütli', + 'Rebane', + 'Raudsepp', + 'Raud', + 'Saar', + 'Sepp', + 'Smirnov', + 'Stepanov', + 'Semjonov', + 'Sokolov', + 'Sild', + 'Sarapuu', + 'Saks', + 'Saar', + 'Salumäe', + 'Semjonov', + 'Sepp', + 'Sibul', + 'Siimar', + 'Simm', + 'Sirel', + 'Sisask', + 'Smirnov', + 'Smirnova', + 'Sokk', + 'Sokolov', + 'Soosaar', + 'Stepanov', + 'Stepanova', + 'Susi', + 'Saar', + 'Sepp', + 'Smirnova', + 'Stepanova', + 'Sokolova', + 'Saks', + 'Sarapuu', + 'Sild', + 'Semjonova', + 'Tamme', + 'Tomson', + 'Tamm', + 'Teder', + 'Toom', + 'Tomson', + 'Tamme', + 'Talts', + 'Tamm', + 'Tamme', + 'Tarvas', + 'Teder', + 'Toom', + 'Toome', + 'Toots', + 'Tamm', + 'Teder', + 'Toom', + 'Uibo', + 'Uibo', + 'Vassiljev', + 'Vaher', + 'Volkov', + 'Valk', + 'Vaher', + 'Vahtra', + 'Vaino', + 'Vainola', + 'Välbe', + 'Valdma', + 'Väljas', + 'Valk', + 'Vassiljev', + 'Vassiljeva', + 'Vesik', + 'Veski', + 'Viiding', + 'Vitsut', + 'Võigemast', + 'Volkov', + 'Volkova', + 'Võsu', + 'Vassiljeva', + 'Vaher', + 'Volkova', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Address.php index a826136..5812a28 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Address.php @@ -2,99 +2,117 @@ namespace Faker\Provider\fa_IR; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['استان']; - protected static $streetPrefix = ['خیابان']; - protected static $buildingNamePrefix = ['ساختمان']; - protected static $buildingNumberPrefix = ['پلاک', 'قطعه']; - protected static $postcodePrefix = ['کد پستی']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'استان' ]; + protected static $streetPrefix = [ 'خیابان' ]; + protected static $buildingNamePrefix = [ 'ساختمان' ]; + protected static $buildingNumberPrefix = [ 'پلاک', 'قطعه' ]; + protected static $postcodePrefix = [ 'کد پستی' ]; - protected static $cityName = [ - 'آذربایجان شرقی', 'آذربایجان غربی', 'اردبیل', 'اصفهان', 'البرز', 'ایلام', 'بوشهر', - 'تهران', 'خراسان جنوبی', 'خراسان رضوی', 'خراسان شمالی', 'خوزستان', 'زنجان', 'سمنان', - 'سیستان و بلوچستان', 'فارس', 'قزوین', 'قم', 'لرستان', 'مازندران', 'مرکزی', 'هرمزگان', - 'همدان', 'چهارمحال و بختیاری', 'کردستان', 'کرمان', 'کرمانشاه', 'کهگیلویه و بویراحمد', - 'گلستان', 'گیلان', 'یزد', - ]; + protected static $cityName = [ + 'آذربایجان شرقی', + 'آذربایجان غربی', + 'اردبیل', + 'اصفهان', + 'البرز', + 'ایلام', + 'بوشهر', + 'تهران', + 'خراسان جنوبی', + 'خراسان رضوی', + 'خراسان شمالی', + 'خوزستان', + 'زنجان', + 'سمنان', + 'سیستان و بلوچستان', + 'فارس', + 'قزوین', + 'قم', + 'لرستان', + 'مازندران', + 'مرکزی', + 'هرمزگان', + 'همدان', + 'چهارمحال و بختیاری', + 'کردستان', + 'کرمان', + 'کرمانشاه', + 'کهگیلویه و بویراحمد', + 'گلستان', + 'گیلان', + 'یزد', + ]; - protected static $cityFormats = [ - '{{cityName}}', - '{{cityPrefix}} {{cityName}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{building}}', - ]; - protected static $addressFormats = [ - '{{city}} {{streetAddress}} {{postcodePrefix}} {{postcode}}', - '{{city}} {{streetAddress}}', - ]; - protected static $buildingFormat = [ - '{{buildingNamePrefix}} {{firstName}} {{buildingNumberPrefix}} {{buildingNumber}}', - '{{buildingNamePrefix}} {{firstName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + '{{cityPrefix}} {{cityName}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{building}}', + ]; + protected static $addressFormats = [ + '{{city}} {{streetAddress}} {{postcodePrefix}} {{postcode}}', + '{{city}} {{streetAddress}}', + ]; + protected static $buildingFormat = [ + '{{buildingNamePrefix}} {{firstName}} {{buildingNumberPrefix}} {{buildingNumber}}', + '{{buildingNamePrefix}} {{firstName}}', + ]; - protected static $postcode = ['##########']; - protected static $country = ['ایران']; + protected static $postcode = [ '##########' ]; + protected static $country = [ 'ایران' ]; - /** - * @example 'استان' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'استان' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'زنجان' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } + /** + * @example 'زنجان' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } - /** - * @example 'خیابان' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'خیابان' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'ساختمان' - */ - public static function buildingNamePrefix() - { - return static::randomElement(static::$buildingNamePrefix); - } + /** + * @example 'ساختمان' + */ + public static function buildingNamePrefix() { + return static::randomElement( static::$buildingNamePrefix ); + } - /** - * @example 'پلاک' - */ - public static function buildingNumberPrefix() - { - return static::randomElement(static::$buildingNumberPrefix); - } + /** + * @example 'پلاک' + */ + public static function buildingNumberPrefix() { + return static::randomElement( static::$buildingNumberPrefix ); + } - /** - * @example 'ساختمان آفتاب پلاک 24' - */ - public function building() - { - $format = static::randomElement(static::$buildingFormat); + /** + * @example 'ساختمان آفتاب پلاک 24' + */ + public function building() { + $format = static::randomElement( static::$buildingFormat ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } - /** - * @example 'کد پستی' - */ - public static function postcodePrefix() - { - return static::randomElement(static::$postcodePrefix); - } + /** + * @example 'کد پستی' + */ + public static function postcodePrefix() { + return static::randomElement( static::$postcodePrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Company.php index 15da3c5..1f4dcc4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Company.php @@ -2,59 +2,71 @@ namespace Faker\Provider\fa_IR; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{companyField}} {{firstName}}', - '{{companyPrefix}} {{companyField}} {{firstName}}', - '{{companyPrefix}} {{companyField}} {{firstName}}', - '{{companyPrefix}} {{companyField}} {{firstName}}', - '{{companyPrefix}} {{companyField}} {{lastName}}', - '{{companyField}} {{firstName}}', - '{{companyField}} {{firstName}}', - '{{companyField}} {{lastName}}', - ]; - - protected static $companyPrefix = [ - 'شرکت', 'موسسه', 'سازمان', 'بنیاد', - ]; - - protected static $companyField = [ - 'فناوری اطلاعات', 'راه و ساختمان', 'توسعه معادن', 'استخراج و اکتشاف', - 'سرمایه گذاری', 'نساجی', 'کاریابی', 'تجهیزات اداری', 'تولیدی', 'فولاد', - ]; - - protected static $contract = [ - 'رسمی', 'پیمانی', 'تمام وقت', 'پاره وقت', 'پروژه ای', 'ساعتی', - ]; - - /** - * @example 'شرکت' - * - * @return string - */ - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } - - /** - * @example 'سرمایه گذاری' - * - * @return string - */ - public static function companyField() - { - return static::randomElement(static::$companyField); - } - - /** - * @example 'تمام وقت' - * - * @return string - */ - public function contract() - { - return static::randomElement(static::$contract); - } +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{companyField}} {{firstName}}', + '{{companyPrefix}} {{companyField}} {{firstName}}', + '{{companyPrefix}} {{companyField}} {{firstName}}', + '{{companyPrefix}} {{companyField}} {{firstName}}', + '{{companyPrefix}} {{companyField}} {{lastName}}', + '{{companyField}} {{firstName}}', + '{{companyField}} {{firstName}}', + '{{companyField}} {{lastName}}', + ]; + + protected static $companyPrefix = [ + 'شرکت', + 'موسسه', + 'سازمان', + 'بنیاد', + ]; + + protected static $companyField = [ + 'فناوری اطلاعات', + 'راه و ساختمان', + 'توسعه معادن', + 'استخراج و اکتشاف', + 'سرمایه گذاری', + 'نساجی', + 'کاریابی', + 'تجهیزات اداری', + 'تولیدی', + 'فولاد', + ]; + + protected static $contract = [ + 'رسمی', + 'پیمانی', + 'تمام وقت', + 'پاره وقت', + 'پروژه ای', + 'ساعتی', + ]; + + /** + * @return string + * @example 'شرکت' + * + */ + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } + + /** + * @return string + * @example 'سرمایه گذاری' + * + */ + public static function companyField() { + return static::randomElement( static::$companyField ); + } + + /** + * @return string + * @example 'تمام وقت' + * + */ + public function contract() { + return static::randomElement( static::$contract ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Internet.php index 8d3d45b..fd627e8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Internet.php @@ -2,101 +2,292 @@ namespace Faker\Provider\fa_IR; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', - '{{firstNameAscii}}.{{lastNameAscii}}', - '{{firstNameAscii}}##', - '?{{lastNameAscii}}', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; - protected static $safeEmailTld = [ - 'com', 'ir', 'me', 'net', 'org', - ]; + protected static $safeEmailTld = [ + 'com', + 'ir', + 'me', + 'net', + 'org', + ]; - /** - * @see https://en.wikipedia.org/wiki/.ir - */ - protected static $tld = [ - 'biz', 'com', 'info', 'ac.ir', 'sch.ir', 'co.ir', 'ir', 'net', 'org', - ]; + /** + * @see https://en.wikipedia.org/wiki/.ir + */ + protected static $tld = [ + 'biz', + 'com', + 'info', + 'ac.ir', + 'sch.ir', + 'co.ir', + 'ir', + 'net', + 'org', + ]; - /** - * @see http://en.wikipedia.org/wiki/Category:Iranian-language_surnames - */ - protected static $lastNameAscii = [ - 'abdullahi', 'abbasi', 'abedini', 'ahadi', 'ahmadi', 'akbari', 'alizadeh', 'asadi', - 'baraghani', 'babaei', - 'chamran', - 'ebrahimi', 'esfahani', - 'fanaei', 'farahani', 'farsi', 'fekri', - 'ghasemi', 'ghorbani', - 'hamadani', 'hamidi', 'heidari', 'hijazi', 'husseini', - 'jahanbani', 'jalili', 'jamshidi', 'javadi', - 'kadivar', 'karimi', 'kashani', 'kazmi', 'khadem', 'khalaji', 'khomeini', 'khorsandi', - 'mahdavi', 'mahmoudi', 'mahmoudieh', 'majidi', 'mazanderani', 'mirzaei', 'mokri', 'mohammady', 'mousavi', - 'nabavi', 'naceri', 'nafisi', 'najafi', 'nalci', 'namazi', 'namdar', 'nariman', 'nazari', 'nili', 'norouzi', - 'pahlavi', 'paria', 'pashaei', 'pejman', - 'qazwini', - 'rahimi', 'rahmani', 'rajaei', 'ramadani', 'rashidi', 'rezaei', - 'salari', 'salehi', 'salemi', 'shahbazi', 'shahriari', 'shahidi', 'shirazi', 'shojaei', 'soleimani', 'soomekh', 'soroush', - 'tabatabaei', 'talebi', 'tousi', - 'yazdani', 'yazdi', 'yousefi', - 'zandi', 'zare', - ]; + /** + * @see http://en.wikipedia.org/wiki/Category:Iranian-language_surnames + */ + protected static $lastNameAscii = [ + 'abdullahi', + 'abbasi', + 'abedini', + 'ahadi', + 'ahmadi', + 'akbari', + 'alizadeh', + 'asadi', + 'baraghani', + 'babaei', + 'chamran', + 'ebrahimi', + 'esfahani', + 'fanaei', + 'farahani', + 'farsi', + 'fekri', + 'ghasemi', + 'ghorbani', + 'hamadani', + 'hamidi', + 'heidari', + 'hijazi', + 'husseini', + 'jahanbani', + 'jalili', + 'jamshidi', + 'javadi', + 'kadivar', + 'karimi', + 'kashani', + 'kazmi', + 'khadem', + 'khalaji', + 'khomeini', + 'khorsandi', + 'mahdavi', + 'mahmoudi', + 'mahmoudieh', + 'majidi', + 'mazanderani', + 'mirzaei', + 'mokri', + 'mohammady', + 'mousavi', + 'nabavi', + 'naceri', + 'nafisi', + 'najafi', + 'nalci', + 'namazi', + 'namdar', + 'nariman', + 'nazari', + 'nili', + 'norouzi', + 'pahlavi', + 'paria', + 'pashaei', + 'pejman', + 'qazwini', + 'rahimi', + 'rahmani', + 'rajaei', + 'ramadani', + 'rashidi', + 'rezaei', + 'salari', + 'salehi', + 'salemi', + 'shahbazi', + 'shahriari', + 'shahidi', + 'shirazi', + 'shojaei', + 'soleimani', + 'soomekh', + 'soroush', + 'tabatabaei', + 'talebi', + 'tousi', + 'yazdani', + 'yazdi', + 'yousefi', + 'zandi', + 'zare', + ]; - /** - * @see http://en.wikipedia.org/wiki/Persian_name - */ - protected static $firstNameAscii = [ - 'abbas', 'afshin', 'ahmad', 'ali', 'amir', 'anahita', 'anousheh', 'arash', 'ardeshir', 'arezu', 'aria', 'arian', 'arman', 'ashraf', 'atoosa', 'azadeh', 'azar', - 'babak', 'bahar', 'bahare', 'bardia', 'behnaz', 'benyamin', 'bita', - 'dalir', 'dariush', 'davoud', 'donya', - 'ebrahim', 'ehsan', 'eskandar', 'esmaeel', - 'farangis', 'farbod', 'farhad', 'farideh', 'farnaz', 'farrokh', 'farshid', 'farzaneh', 'fateme', 'fereshteh', - 'garshasp', - 'hanie', 'hashem', 'hirbod', 'hoda', 'hormoz', 'hossein', - 'jaleh', 'jamshid', 'javad', - 'kamran', 'karim', 'kasra', 'katayoun', 'kazem', 'khorshid', 'khosrow', 'kiana', 'kiarash', 'kourosh', - 'laleh', 'leila', - 'mahdi', 'mahmoud', 'mahshid', 'majid', 'manuchehr', 'marjan', 'maryam', 'marzban', 'massoud', 'mazdak', 'maziar', 'mehran', 'mehrdad', 'meysam', 'milad', 'mina', 'mithra', 'mohammad', 'mohsen', 'musa', - 'nasrin', 'nazanin', 'niloufar', - 'omid', - 'parastoo', 'parisa', 'parsa', 'parvin', 'parviz', 'payam', 'payvand', 'pedram', 'piruz', 'pouria', - 'ramin', 'reyhan', 'reza', 'roksaneh', 'rostam', 'roxana', 'roya', - 'sahar', 'saman', 'samir', 'sara', 'sassan', 'sepehr', 'sepideh', 'shahin', 'shahryar', 'shapour', 'shervin', 'shirin', 'simin', 'soheila', 'sohrab', 'soraya', 'soroush', - 'tara', 'taraneh', 'turan', - 'vahid', - 'yaghoub', 'yahya', 'yasamin', 'yasaman', 'younes', 'yousef', - 'zahra', 'zarine', 'zeynab', 'zhila', - ]; + /** + * @see http://en.wikipedia.org/wiki/Persian_name + */ + protected static $firstNameAscii = [ + 'abbas', + 'afshin', + 'ahmad', + 'ali', + 'amir', + 'anahita', + 'anousheh', + 'arash', + 'ardeshir', + 'arezu', + 'aria', + 'arian', + 'arman', + 'ashraf', + 'atoosa', + 'azadeh', + 'azar', + 'babak', + 'bahar', + 'bahare', + 'bardia', + 'behnaz', + 'benyamin', + 'bita', + 'dalir', + 'dariush', + 'davoud', + 'donya', + 'ebrahim', + 'ehsan', + 'eskandar', + 'esmaeel', + 'farangis', + 'farbod', + 'farhad', + 'farideh', + 'farnaz', + 'farrokh', + 'farshid', + 'farzaneh', + 'fateme', + 'fereshteh', + 'garshasp', + 'hanie', + 'hashem', + 'hirbod', + 'hoda', + 'hormoz', + 'hossein', + 'jaleh', + 'jamshid', + 'javad', + 'kamran', + 'karim', + 'kasra', + 'katayoun', + 'kazem', + 'khorshid', + 'khosrow', + 'kiana', + 'kiarash', + 'kourosh', + 'laleh', + 'leila', + 'mahdi', + 'mahmoud', + 'mahshid', + 'majid', + 'manuchehr', + 'marjan', + 'maryam', + 'marzban', + 'massoud', + 'mazdak', + 'maziar', + 'mehran', + 'mehrdad', + 'meysam', + 'milad', + 'mina', + 'mithra', + 'mohammad', + 'mohsen', + 'musa', + 'nasrin', + 'nazanin', + 'niloufar', + 'omid', + 'parastoo', + 'parisa', + 'parsa', + 'parvin', + 'parviz', + 'payam', + 'payvand', + 'pedram', + 'piruz', + 'pouria', + 'ramin', + 'reyhan', + 'reza', + 'roksaneh', + 'rostam', + 'roxana', + 'roya', + 'sahar', + 'saman', + 'samir', + 'sara', + 'sassan', + 'sepehr', + 'sepideh', + 'shahin', + 'shahryar', + 'shapour', + 'shervin', + 'shirin', + 'simin', + 'soheila', + 'sohrab', + 'soraya', + 'soroush', + 'tara', + 'taraneh', + 'turan', + 'vahid', + 'yaghoub', + 'yahya', + 'yasamin', + 'yasaman', + 'younes', + 'yousef', + 'zahra', + 'zarine', + 'zeynab', + 'zhila', + ]; - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } - /** - * @example 'ali.rezaei' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); + /** + * @example 'ali.rezaei' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - /** - * @example 'ahmad.ir' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } + /** + * @example 'ahmad.ir' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Person.php index 546e2a3..52a9c6f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Person.php @@ -2,209 +2,2435 @@ namespace Faker\Provider\fa_IR; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - /** - * @see https://sites.google.com/site/farshidfarhat/boy-names - */ - protected static $firstNameMale = [ - 'آبان', 'آبتین', 'آبید', 'آتش', 'آتشبان', 'آتشبند', 'آتیلا', 'آدر', 'آذران', 'آذربُد', 'آذرتش', 'آذرداد', 'آذرنگ', 'آرآسب', 'آرا', 'آراد', 'آرام', 'آران', 'آرتاباز', 'آرتان', 'آرتای', 'آرتمان', 'آرتین', 'آرش', 'آرمان', 'آرمون', 'آرمین', 'آرنگ', 'آرون', 'آروین', 'آریا', 'آریاآسب', 'آریابد', 'آریارمنا', 'آریامن', 'آریامنش', 'آریان', 'آریانا', 'آریانو', 'آریوبرزن', 'آزاد', 'آصف', 'آلتون', 'آوگان', 'آوند', 'آیتان', 'آیدین', - 'ابراهیم', 'ابوعلی', 'ابی', 'اپرنگ', 'اتابک', 'اُجای', 'احد', 'احسان', 'احمد', 'اُخشان', 'ادریس', 'ارجاسپ', 'ارجان', 'ارجمند', 'اردا', 'اردشیر', 'اردلان', 'اردوان', 'اردون', 'ارزین', 'ارژن', 'ارژنگ', 'ارستو', 'ارسلان', 'ارسیا', 'ارشاسب', 'ارشام', 'ارشاما', 'ارشان', 'ارشد', 'ارشک', 'ارشمید', 'ارشن', 'ارشیا', 'ارمیا', 'اُرند', 'اروند', 'اسد', 'اسفندیار', 'اسفندیار', 'اسلان', 'اسماعیل', 'اشکان', 'اصغر', 'افراسیاب', 'افرند', 'افرنگ', 'افشار', 'افشین', 'اقبال', 'اکبر', 'اکتای', 'البرز', 'الوند', 'الیا', 'الیاس', 'امجد', 'امید', 'امیر', 'امین', 'انوش', 'انوشیروان', 'اوتانا', 'اوتبر', 'اورنگ', 'اورنگ', 'اُوژن', 'اوشنر', 'ایاز', 'ایراف', 'ایرج', 'ایرمان', 'ایزد', 'ایلا', 'ایمان', - 'بابک', 'باران', 'باربد', 'بارمان', 'بارین', 'بازان', 'بازور', 'بازیار', 'باستام', 'باستین', 'باسیم', 'باشو', 'بامداد', 'بامشاد', 'بامین', 'باور', 'باورد', 'باوند', 'بختیار', 'برجسب', 'برخیا', 'بردیا', 'برزو', 'برزویه', 'برزین', 'برزین', 'برسام', 'برمک', 'برنا', 'برید', 'برین', 'بزرگمهر', 'بشیر', 'بکتاش', 'بلاش', 'بلکا', 'بنان', 'بهادر', 'بهار', 'بهامین', 'بهبود', 'بهپور', 'بهجان', 'بهداد', 'بهدین', 'بهراد', 'بهرام', 'بهرخ', 'بهرنگ', 'بهروز', 'بهزاد', 'بهفر', 'بهکام', 'بهمرد', 'بهمن', 'بهمنیار', 'بهنام', 'بهنیا', 'بهنیود', 'بیژن', 'بینا', - 'پاتون', 'پارسا', 'پاریا', 'پاساد', 'پاشا', 'پاینده', 'پدرام', 'پرتاش', 'پرتام', 'پردیس', 'پرشاد', 'پرشند', 'پرشین', 'پرنگ', 'پرهام', 'پرویز', 'پژمان', 'پُژمان', 'پژواک', 'پشنگ', 'پِشنگ', 'پورنگ', 'پوریا', 'پولاد', 'پویا', 'پویان', 'پیام', 'پیدافر', 'پیران', 'پیروز', 'پیمان', 'پیوند', - 'تابال', 'تاج', 'تاجفر', 'تاجور', 'تراب', 'تلیمان', 'تهماسب', 'تهمتن', 'تهمین', 'توتک', 'تورج', 'تورک', 'تیران', 'تیربُد', 'تیرداد', 'تیرگر', 'تیرنام', 'تیشتار', 'تیمور', 'تینوش', - 'ثابت', - 'جاماسب', 'جامی', 'جاوید', 'جبّار', 'جعفر', 'جلال', 'جلایل', 'جمال', 'جمشید', 'جهان', 'جهانبان', 'جهانبخت', 'جهانبخش', 'جهاندار', 'جهانسوز', 'جهانشاد', 'جهانشاه', 'جهانشیر', 'جهانفر', 'جهانگیر', 'جهانمهر', 'جهانیار', 'جواد', 'جوانشیر', 'جوریل', 'جویان', - 'چاووش', 'چکاد', 'چنگیز', - 'حافظ', 'حامد', 'حامی', 'حانی', 'حبیب', 'حسام', 'حسن', 'حسین', 'حمید', 'حیدر', - 'خرداد', 'خرسند', 'خسرو', 'خشایار', - 'دابا', 'داتیس', 'دادبه', 'دادبین', 'دادفر', 'دادمهر', 'دادور', 'دارا', 'داراب', 'دارمان', 'داریا', 'داریان', 'داریوش', 'دامون', 'دانا', 'دانش', 'دانوش', 'دانیال', 'داور', 'داوود', 'دریا دل', 'دلاور', 'دلیر', 'دولت', 'دیاکو', - 'راجی', 'راد', 'رادبد', 'رادمان', 'رادمنش', 'رادمهر', 'رادین', 'رازان', 'رازبان', 'رازی', 'راستین', 'رامبُد', 'رامتین', 'رامی', 'رامیاد', 'رامیار', 'رامین', 'راهزاد', 'رایان', 'رایکا', 'رحیم', 'رخشان', 'رزین', 'رسام', 'رستم', 'رسول', 'رشید', 'رشین', 'رضا', 'رُکندین', 'رها', 'رهاد', 'رهام', 'رهام', 'روئین', 'روزبه', 'روشاک', 'روشان', - 'زاب', 'زادفر', 'زادمهر', 'زال', 'زامیاد', 'زاهد', 'زاور', 'زراسب', 'زرتشت', 'زروان', 'زروند', 'زریر', 'زکریا', 'زند', 'زواره', - 'ژاژه', 'ژامک', 'ژرفا', 'ژکفر', 'ژوبین', 'ژیان', 'ژیانفر', 'ساتراپ', - 'ساتیار', 'ساحل', 'سارنگ', 'ساسان', 'ساعد', 'سالار', 'سام', 'سامان', 'سامی', 'سامیار', 'سامین', 'ساویز', 'سپنتا', 'سپنتمان', 'سپند', 'سپندار', 'سپهر', 'ستّار', 'ستوده', 'سردار', 'سرمد', 'سرمند', 'سرواد', 'سروش', 'سریر', 'سعید', 'سلم', 'سلمان', 'سلمک', 'سلیم', 'سلیمان', 'سمراد', 'سمند', 'سمیر', 'سنجر', 'سهراب', 'سهند', 'سهیل', 'سوران', 'سورنا', 'سوشیانت', 'سوفرا', 'سیامک', 'سیاوش', 'سیرمان', 'سیروس', 'سینا', 'سینام', 'سیوا', - 'شاپور', 'شادان', 'شادرخ', 'شادروز', 'شادمهر', 'شادورد', 'شارود', 'شاهد', 'شاهرخ', 'شاهور', 'شاهین', 'شایا', 'شایان', 'شایگان', 'شباویز', 'شبدیز', 'شجاع', 'شروین', 'شریف', 'شمسا', 'شمیل', 'شهاب', 'شهباز', 'شهبال', 'شهبد', 'شهپر', 'شهداد', 'شهراب', 'شهراد', 'شهرام', 'شهرباز', 'شهرداد', 'شهروز', 'شهریار', 'شهکام', 'شهنام', 'شهیار', 'شولان', 'شووان', 'شیداسب', 'شیدفر', 'شیده', 'شیدوش', 'شیرزاد', 'شیروان', 'شیرویه', - 'صابر', 'صادق', 'صبا', 'صدری', 'صدیق', 'صلاح', 'صلاح الدین', 'صمد', - 'ضیا', - 'طاهر', 'طهمورث', 'طوس', 'طوفان', - 'ظفر', - 'عادل', 'عارف', 'عبّاس', 'عدلان', 'عرفان', 'عزیز', 'عطا', 'عظیم', 'علی', 'علی داد', 'عماد', 'عمید', 'عنایت', - 'غدیر', - 'فاتک', 'فاریا', 'فاضل', 'فراز', 'فرازمان', 'فرامرز', 'فرامین', 'فربد', 'فرتاش', 'فرتوس', 'فرج', 'فرجاد', 'فرجام', 'فرّخ', 'فرخاد', 'فرّخزاد', 'فردات', 'فرداد', 'فردوس', 'فردید', 'فردیس', 'فردین', 'فردین', 'فرزاد', 'فرزام', 'فرزان', 'فرزین', 'فرساد', 'فرشاد', 'فرشید', 'فرشیدورد', 'فرشین', 'فرلاس', 'فرناد', 'فرنام', 'فرنود', 'فرهاد', 'فرهان', 'فرهد', 'فرهنگ', 'فرهود', 'فرود', 'فروَد', 'فرورتیش', 'فروردین', 'فروهر', 'فریان', 'فریان', 'فریبرز', 'فرید', 'فریدون', 'فریس', 'فریمان', 'فرینام', 'فریور', 'فیروز', 'فیلک', - 'قادر', 'قاسم', 'قباد', 'قدرت', 'قلندر', 'قیصر', - 'کارن', 'کاظم', 'کام', 'کامبخش', 'کامبد', 'کامبیز', 'کامبین', 'کامدین', 'کامران', 'کامشاد', 'کامکار', 'کاموس', 'کامیار', 'کاوان', 'کاوه', 'کاووس', 'کاویان', 'کتیبه', 'کریم', 'کریمان', 'کریمداد', 'کسرا', 'کشواد', 'کلباد', 'کمال', 'کمبوجیه', 'کواد', 'کورُس', 'کورش', 'کورنگ', 'کوشا', 'کوشان', 'کوشیار', 'کوهیار', 'کیارش', 'کی آرمین', 'کیا', 'کیان', 'کَیان', 'کیانوش', 'کیانوش', 'کیاوش', 'کیخسرو', 'کیقباد', 'کیکاووس', 'کیهان', 'کیوان', 'کیومرث', - 'گرزم', 'گرشاسب', 'گرگین', 'گشتاسب', 'گودرز', 'گورنگ', 'گوشاسب', 'گوماتا', 'گیو', - 'لسان', 'لهراسب', 'لیث', - 'مازار', 'مازیار', 'ماکان', 'مانک', 'مانوش', 'مانی', 'ماهان', 'ماهر', 'متین', 'مجتبی', 'مجید', 'محسن', 'محمّد', 'محمود', 'مراد', 'مرتضی', 'مرتیا', 'مردآویج', 'مرداس', 'مرزبان', 'مروان', 'مزدا', 'مزدک', 'مسعود', 'مصطفی', 'معین', 'مقصود', 'مکابیز', 'مَلِک', 'ملیک', 'منصور', 'منوچهر', 'مهبد', 'مهداد', 'مهدی', 'مهرا', 'مهراب', 'مهراد', 'مهراشک', 'مهرام', 'مهرام', 'مهران', 'مهربان', 'مهرتاش', 'مهرداد', 'مهرزاد', 'مهرساد', 'مهرشاد', 'مهرک', 'مهرگان', 'مهرنام', 'مهرنگ', 'مهرنوش', 'مهرورز', 'مهروند', 'مهریار', 'مهریار', 'مهوار', 'مهوند', 'مهیار', 'مهیاز', 'مهیمن', 'موسی', 'میثاق', 'میثم', 'میرزا', 'میعاد', 'میلاد', - 'نادر', 'ناصر', 'نامدار', 'نامور', 'نامی', 'نجید', 'نرسی', 'نریمان', 'نَستور', 'نشواد', 'نصرت', 'نصیح', 'نصیر', 'نظام', 'نعمت', 'نوبان', 'نوروز', 'نوری', 'نوزر', 'نوژان', 'نوشزاد', 'نوشیروان', 'نوند', 'نویان', 'نوید', 'نوین', 'نیرَم', 'نیرو', 'نیک', 'نیک آهنگ', 'نیکا', 'نیکان', 'نیکاو', 'نیکروز', 'نیکزاد', 'نیکنام', 'نیکنیا', 'نیما', 'نیماد', 'نیناد', 'نیو', 'نیواد', 'نیوتور', 'نیوراد', 'نیوزاد', 'نیوشا', 'نیوند', - 'هاتف', 'هادی', 'هارون', 'هاشم', 'هامان', 'هامون', 'هدایت', 'هرمز', 'هژیر', 'هشام', 'همایون', 'هوتن', 'هورداد', 'هوشان', 'هوشمند', 'هوشنگ', 'هوشیار', 'هومان', 'هومن', 'هومین', 'هونام', 'هیتاسب', 'هیراد', 'هیربد', 'هیرسا', 'هیرمند', 'هیوند', - 'وارتان', 'واروژ', 'واریان', 'والا', 'واله', 'وجیح', 'وحدت', 'وحید', 'ورجاوند', 'ورشاسب', 'ورفان', 'ورنا', 'وُریا', 'وشمگیر', 'وفا', 'ونداد', 'وهاب', 'وهبد', 'وهرز', 'ویراف', 'ویسه', 'ویشپر', 'ویشتاسب', - 'یاران', 'یاری', 'یازان', 'یاشار', 'یامین', 'یاور', 'یاوند', 'یحیی', 'یزدان', 'یزدان بخش', 'یزدانفر', 'یزدگرد', 'یعقوب', 'یوسف', 'یونس', - ]; - - /** - * @see https://sites.google.com/site/farshidfarhat/girl-names - */ - protected static $firstNameFemale = [ - 'آبان', 'آبان بانو', 'آبان دخت', 'آتاناز', 'آتسا', 'آتنا', 'آتنه', 'آتوسا', 'آتوشه', 'آتیشه', 'آذر', 'آذرافروز', 'آذران', 'آذرجهر', 'آذرخش', 'آذرداد', 'آذردخت', 'آذرشین', 'آذرفروز', 'آذرک', 'آذرگل', 'آذرگون', 'آذرمهر', 'آذرمینا', 'آذرنوش', 'آذروان', 'آذریاس', 'آذرین', 'آذین', 'آذین بانو', 'آذین دخت', 'آرا', 'آراسته', 'آرام بانو', 'آرایه', 'آرتا', 'آرتادخت', 'آرتمیس', 'آرتنوس', 'آرزو', 'آرسته', 'آرمان', 'آرمیتا', 'آرمیلا', 'آرمین دخت', 'آروشا', 'آریا', 'آریان', 'آریانا', 'آرین', 'آرین', 'آزاد دخت', 'آزادمهر', 'آزاده', 'آزرمیدخت', 'آزیتا', 'آژند', 'آسا', 'آسام', 'آسمان', 'آسمانه', 'آسیا', 'آسیه', 'آصفه', 'آفاق', 'آفتاب', 'آفری', 'آفرین', 'آلاله', 'آلما', 'آلیش', 'آمنه', 'آموتیا', 'آمیتریس', 'آمیتریس', 'آمیتیس', 'آنا', 'آناهیتا', 'آندیا', 'آنوش', 'آنیتا', 'آهنگ', 'آهو', 'آوا', 'آوازه', 'آوند', 'آوید', 'آویده', 'آویز', 'آویزه', 'آویژه', 'آویسا', 'آویش', 'آویشن', 'آویشه', 'آوین', 'آیتان', 'آیدا', 'آیدان', 'آیسا', 'آیسان', 'آیسان', 'آیسل', 'آیلا', 'آیلین', 'آیناز', 'آیه', 'ابریشم', 'احترام', 'اختر', 'ارانوس', 'ارزین', 'ارستو', 'ارغوان', 'ارکیده', 'ارم', 'ارمغان', 'ارنواز', 'اروانه', 'اروسا', 'اریکا', 'اِستاتیرا', 'استر', 'اشرف', 'اعظم', 'افتخار', 'افرا', 'افرند', 'افروز', 'افروزه', 'افری', 'افسان', 'افسانه', 'افسر', 'افسون', 'افشان', 'افشانه', 'افشک', 'افشنگ', 'افشید', 'افشیده', 'افشینه', 'اکرم', 'الدوز', 'الفت', 'الماس', 'المیرا', 'الناز', 'الهام', 'الهه', 'الیا', 'الیزه', 'الیکا', 'امیتیس', 'امید', 'امیده', 'امیربانو', 'امیره', 'انارام', 'اندیشه', 'انسی', 'انسیه', 'انور', 'انوشا', 'انوشک', 'انوشه', 'انیس', 'انیسا', 'انیسه', 'اورسیا', 'اوزن', 'اولیا', 'ایده', 'ایران', 'ایران بانو', 'ایران دخت', 'ایرسا', 'ایرسیا', 'ایلا', 'ایمان', - 'بابوک', 'باران', 'بارانک', 'بارانه', 'بامی', 'بامیک', 'بامین', 'باناز', 'بانو', 'بانویه', 'بدری', 'بدریه', 'برسابه', 'برسین', 'برسینا', 'بلور', 'بنفشه', 'به آذر', 'به آذین', 'به آرا', 'به آفرید', 'به آفرین', 'به بها', 'بها', 'بهار', 'بهاربانو', 'بهارک', 'بهاره', 'بهاک', 'بهامین', 'بهتام', 'بهتن', 'بهجان', 'بهجت', 'بهدخت', 'بهدله', 'بهدیس', 'بهرامن', 'بهرخ', 'بهرو', 'بهشته', 'بهشید', 'بهمیس', 'بهناز', 'بهناک', 'بهنوش', 'بههن', 'بهی', 'بهین', 'بهینه', 'بوبک', 'بوران', 'بوران دخت', 'بوسه', 'بی بی', 'بی بی ناز', 'بیتا', 'بیدخت', - 'پاپلی', 'پاتونه', 'پارسادخت', 'پارمیس', 'پارمین', 'پارنیز', 'پاکسیما', 'پاکنوش', 'پالیز', 'پانته آ', 'پانویه', 'پانیذ', 'پدیده', 'پرتو', 'پرخیده', 'پردیس', 'پرستان', 'پرسته', 'پرستو', 'پرستوک', 'پرسون', 'پرشاد', 'پرشنگ', 'پرشه', 'پرگل', 'پرمون', 'پرمیدا', 'پرنا', 'پرناز', 'پرند', 'پرندیس', 'پرندین', 'پرنگ', 'پرنو', 'پرنیا', 'پرنیان', 'پروا', 'پروان', 'پروانه', 'پروچیستا', 'پرور', 'پروسکا', 'پروشات', 'پروند', 'پروه', 'پروین', 'پری', 'پری دخت', 'پری رو', 'پریا', 'پریجهان', 'پریچهر', 'پریچهره', 'پریزاد', 'پریسا', 'پریساتیس', 'پریسان', 'پریسوز', 'پریسیما', 'پریشاد', 'پریشم', 'پریما', 'پرین', 'پریناز', 'پریناز', 'پرینوش', 'پریور', 'پریوش', 'پژواک', 'پسند', 'پگاه', 'پلاگه', 'پوپک', 'پوپه', 'پوران', 'پوران دخت', 'پورکار', 'پوری', 'پونل', 'پونه', 'پیچک', 'پیراسته', 'پیرایه', 'پیروزدخت', 'پیروزه', 'پیمانه', 'پیموده', 'پیوند', - 'تابا', 'تابان', 'تابش', 'تاج بانو', 'تارا', 'تانیا', 'تبسم', 'ترانه', 'ترسا', 'ترمه', 'ترنگ', 'تکتم', 'تندیس', 'تهمینه', 'توتک', 'توران', 'توران خت', 'توریا', 'توسکا', 'توکا', 'تیبا', 'تیرا', 'تیراژه', 'تیرام', 'تیکا', 'تینا', - 'ثریّا', 'ثمر', 'ثمره', 'ثمن', 'ثمیلا', 'ثمینا', - 'جامک', 'جانان', 'جانفروز', 'جاودانه', 'جبّاره', 'جریره', 'جلا', 'جلوه', 'جلیله', 'جمیله', 'جنّت', 'جهان', 'جهان آرا', 'جهان بانو', 'جهان تاب', 'جهان دخت', 'جهان ناز', 'جوانه', 'جیران', - 'چامه', 'چشمک', 'چکا', 'چکامه', 'چکاوک', 'چلیپا', 'چمان', 'چمانه', 'چمن', 'چیترا', 'چیستا', 'چیکا', - 'حاتفه', 'حامده', 'حامی', 'حامیه', 'حبیبه', 'حدا', 'حدیث', 'حدیقه', 'حرمت', 'حریره', 'حسنا', 'حلیمه', 'حمیده', 'حمیرا', 'حنا', 'حوّا', 'حور', 'حورا', 'حوروش', 'حوری', 'حوریه', - 'خاتون', 'خاطره', 'خاور', 'خاوردخت', 'خجسته', 'خدیجه', 'خزر', 'خندان', 'خنده', 'خنیا', 'خورشاد', 'خورشید', 'خورشید بانو', 'خوروش', 'خوشه', 'خینا', - 'دامینه', 'دانا', 'دانه', 'داور', 'دردانه', 'درسا', 'درنا', 'درناز', 'دری', 'دریا', 'دریاناز', 'دریانه', 'دل آرا', 'دل آسا', 'دل آویز', 'دل افرز', 'دلارام', 'دلبر', 'دلبند', 'دلربا', 'دلشاد', 'دلکش', 'دلناز', 'دلنواز', 'دلیار', 'دلیله', 'دنا', 'دنیا', 'دنیازاد', 'دنیاناز', 'دیبا', 'دینا', 'دینک', 'دینه', - 'راحله', 'راحیل', 'رادنوش', 'راز', 'رازان', 'رازک', 'راستا', 'راستاک', 'راستینه', 'راسن', 'راشین', 'راضیه', 'راضیه', 'راما', 'رامبهشت', 'رامدخت', 'رامش', 'رامک', 'رامونا', 'رامین دخت', 'رامینا', 'رامینه', 'راهله', 'راوک', 'رایکا', 'رباب', 'ربابه', 'رجاء', 'رخسارا', 'رخساره', 'رخشا', 'رخشاد', 'رخشاد', 'رخشان', 'رخشان', 'رخند', 'رُدگون', 'ردیمه', 'رزما', 'رسا', 'رشا', 'رشاد', 'رشیا', 'رضوان', 'رعنا', 'رفا', 'رقیّه', 'رکسانا', 'رها', 'رهادخت', 'روا', 'روان', 'روجا', 'روح انگیز', 'رودابه', 'روزچهر', 'روژان', 'روژین', 'روژینا', 'روشانه', 'روشن', 'روشنا', 'روشنک', 'رومینا', 'روناک', 'رونق', 'رویا', 'رویا', 'ریتا', 'ریحان', 'ریحانک', 'ریحانه', 'ریکا', 'ریما', 'ریماز', - 'زرآسا', 'زرافشان', 'زربانو', 'زرسا', 'زری', 'زریله', 'زرّین', 'زرّین تاج', 'زرّین دخت', 'زرّینه', 'زنبق', 'زها', 'زهرا', 'زهره', 'زوزان', 'زویا', 'زیبا', 'زیباچهر', 'زیبادخت', 'زیکا', 'زینا', 'زینب', 'زینت', 'زیور', - 'ژاله', 'ژامک', 'ژاوه', 'ژیلا', 'ژیله', 'ژینا', - 'ساحل', 'سارا', 'سارنگ', 'ساره', 'سارینا', 'ساغر', 'ساقی', 'سالومه', 'سامه', 'سامیه', 'ساناز', 'سانوا', 'ساویس', 'ساینا', 'سایه', 'سپنتا', 'سپهرم', 'سپیدا', 'سپیده', 'سپینود', 'ستاره', 'ستّاره', 'ستاه', 'ستوده', 'سحر', 'سحرناز', 'سرمه', 'سرور', 'سرور', 'سروشه', 'سروناز', 'سروند', 'سروین', 'سزانه', 'سعیده', 'سلا', 'سلامه', 'سلما', 'سلماز', 'سلمه', 'سلیمه', 'سماء', 'سمانه', 'سمراد', 'سمن', 'سمناز', 'سمنبر', 'سمنه', 'سمیرا', 'سمیره', 'سمینه', 'سمیّه', 'سنبل', 'سها', 'سهی', 'سهیلا', 'سودابه', 'سورا', 'سوران', 'سوری', 'سوزان', 'سوسن', 'سوسنک', 'سوگل', 'سوگلی', 'سوگند', 'سیتا', 'سیتا', 'سیرادخت', 'سیرانوش', 'سیکا', 'سیما', 'سیماه', 'سیمبر', 'سیمتن', 'سیمیا', 'سیمین', 'سیمین دخت', 'سیندخت', 'سیوا', - 'شاپرک', 'شادآفرین', 'شادان', 'شادمان', 'شادناز', 'شاده', 'شادی', 'شالیزه', 'شاندیز', 'شاهپری', 'شاهد', 'شاهزاده', 'شاهگل', 'شاهنگ', 'شاهوش', 'شاورد', 'شاوه', 'شایا', 'شایان دخت', 'شایسته', 'شباهنگ', 'شبپر', 'شبناز', 'شبنم', 'شده', 'شراره', 'شرمین', 'شروین', 'شریفه', 'شعله', 'شفق', 'شقایق', 'شکرانه', 'شکوفه', 'شکوه', 'شکیبا', 'شمس', 'شمسی', 'شمیا', 'شمیسا', 'شمیلا', 'شمیم', 'شمین', 'شهپر', 'شهرا', 'شهرزاد', 'شهرناز', 'شهرناو', 'شهرنواز', 'شهرنوش', 'شهره', 'شهرود', 'شهلا', 'شهناز', 'شهنواز', 'شهین', 'شورانگیز', 'شورت', 'شوشا', 'شوکا', 'شوکت', 'شیبا', 'شیدا', 'شیدخت', 'شیدرخ', 'شیده', 'شیدوش', 'شیراز', 'شیردخت', 'شیرین', 'شیرین بانو', 'شیفته', 'شیما', 'شیوا', 'شیواد', 'شیوه', - 'صابره', 'صبا', 'صدا', 'صدف', 'صدیقه', 'صفا', 'صفورا', 'صفیّه', 'صنم', 'صنوبر', 'صهبا', - 'طاهره', 'طاوس', 'طراوت', 'طلا', 'طلایه', 'طلعت', 'طناز', 'طوبی', 'طوسک', 'طوفان', 'طیبه', - 'ظریف', 'ظریفه', - 'عادله', 'عادیله', 'عاطفه', 'عالیه', 'عبّاسه', 'عدیله', 'عذرا', 'عزیز', 'عزیزه', 'عسل', 'عصمت', 'عطیفه', 'عفت', 'عقدس', 'عقیق', 'عنبر', 'عهدیه', - 'غزال', 'غزاله', 'غزل', 'غمزه', 'غنچه', - 'فائزه', 'فائقه', 'فاخته', 'فاخره', 'فاریا', 'فاطمه', 'فتّانه', 'فتنه', 'فخری', 'فرانک', 'فرانه', 'فرح', 'فرحناز', 'فرخ رو', 'فرخروز', 'فرخنده', 'فردخت', 'فردوس', 'فرزانک', 'فرزانه', 'فرشته', 'فرشیده', 'فرمهر', 'فرناز', 'فرنگ', 'فرنگیس', 'فرنوش', 'فرنیا', 'فروز', 'فروزا', 'فروزان', 'فروزنده', 'فروغ', 'فریا', 'فریال', 'فریبا', 'فریدا', 'فریده', 'فریفته', 'فریما', 'فریماه', 'فریمهر', 'فرین', 'فریّن', 'فریّن چهر', 'فریناز', 'فرینام', 'فرینوش', 'فقیهه', 'فلامک', 'فلورا', 'فهیمه', 'فوژان', 'فیروزه', 'فیلا', - 'قاسدک', 'قدسی', 'قشنگ', 'قمر', - 'کاژیره', 'کاساندان', 'کاملیا', 'کامینه', 'کاناز', 'کبری', 'کتانه', 'کتایون', 'کترا', 'کرشمه', 'کژال', 'کلاله', 'کمند', 'کوکب', 'کیان دخت', 'کیانا', 'کیدرا', 'کیمیا', 'کیهان', 'کیهان بانو', - 'گردآفرید', 'گردیا', 'گل آذین', 'گل افشار', 'گل افشان', 'گل اندام', 'گل نسرین', 'گلاب', 'گلاره', 'گلاره', 'گلاره', 'گلاویز', 'گلاویژ', 'گلایل', 'گلبان', 'گلبانو', 'گلبرگ', 'گلبهار', 'گلبو', 'گلپر', 'گلپری', 'گلچهر', 'گلچهره', 'گلدار', 'گلدوز', 'گلرخ', 'گلرنگ', 'گلرو', 'گلریز', 'گلسا', 'گلسان', 'گلشاد', 'گلشن', 'گلشنک', 'گلشهر', 'گلشید', 'گلشیفته', 'گلک', 'گلگون', 'گلمهر', 'گلنار', 'گلناز', 'گلنام', 'گلنسا', 'گلنواز', 'گلنوش', 'گلی', 'گوهر', 'گوهرشاد', 'گیتا', 'گیتی', 'گیسو', 'گیسی', 'گیلدا', - 'لادن', 'لاله', 'لبینا', 'لطیفه', 'لُعبت', 'لعیا', 'لوما', 'لیان', 'لیدا', 'لیلا', 'لیلا', 'لیلاس', 'لیلوپر', 'لیلی', 'لیلی', 'لیلیا', 'لیما', 'لینا', - 'مائده', 'مارال', 'ماریه', 'مامک', 'مامیسا', 'مانا', 'ماندا', 'ماندیس', 'مانلی', 'مانی', 'مانیا', 'ماه آفرد', 'ماهدخت', 'ماهرخ', 'ماهرخسارر', 'ماهرو', 'محبوبه', 'محیا', 'مدینه', 'مراجل', 'مرجان', 'مرجانه', 'مرسده', 'مرضیه', 'مرمر', 'مروارید', 'مریم', 'مژده', 'مژگان', 'مستانه', 'مستوره', 'مشیا', 'معصومه', 'ملاحت', 'ملکه', 'ملکه جهان', 'ملود', 'ملودی', 'ملوس', 'ملوک', 'ملیح', 'ملیحه', 'ملیسا', 'ملیکا', 'منصوره', 'منظر', 'منوّر', 'منیر', 'منیره', 'منیژه', 'منیلا', 'مه سیما', 'مه منیر', 'مها', 'مهان', 'مهبانو', 'مهتا', 'مهتاب', 'مهتاج', 'مهجبین', 'مهداد', 'مهدخت', 'مهدیس', 'مهدیه', 'مهرآرا', 'مهرآسا', 'مهرآفرین', 'مهرا', 'مهراز', 'مهران', 'مهراندخت', 'مهرانگیز', 'مهرانه', 'مهراور', 'مهراوه', 'مهربانو', 'مهرخ', 'مهردخت', 'مهرزاد', 'مهرسا', 'مهرشید', 'مهرک', 'مهرناز', 'مهرنوش', 'مهرورز', 'مهروش', 'مهری', 'مهزاد', 'مهسا', 'مهسان', 'مهستی', 'مهسو', 'مهشاد', 'مهشید', 'مهفام', 'مهکامه', 'مهلا', 'مهلقا', 'مهناز', 'مهنوش', 'مهوش', 'مهین', 'مهین بانو', 'مهیندخت', 'موجان', 'موژان', 'مونا', 'مونا', 'میترا', 'میثاق', 'میثمه', 'میچکا', 'میشا', 'میلا', 'میلی', 'مینا', 'مینو', 'میهن', 'میهن یار', - 'ناجی', 'نادره', 'نادی', 'نادیا', 'نارسیس', 'نارین', 'ناز', 'نازآفرین', 'نازبانو', 'نازبو', 'نازپری', 'نازتا', 'نازدانه', 'نازدخت', 'نازک', 'نازگل', 'نازلی', 'نازنوش', 'نازنین', 'نازو', 'نازی', 'نازیتا', 'نازیلا', 'نازینه', 'ناژو', 'ناژین', 'ناناز', 'ناهید', 'ناهیده', 'نجلا', 'نجمه', 'نجوی', 'ندا', 'نرجس', 'نرگس', 'نرمین', 'نرمینه', 'نزهت', 'نسا', 'نسترن', 'نسرین', 'نسیم', 'نشاط', 'نشوا', 'نشید', 'نظیره', 'نغمه', 'نفیسه', 'نکیسا', 'نگار', 'نگارین', 'نگان', 'نگاه', 'نگین', 'نهال', 'نهاله', 'نوا', 'نواز', 'نوال', 'نوبر', 'نور', 'نورا', 'نورانگیز', 'نوژان', 'نوشآفرین', 'نوشا', 'نوشابه', 'نوشبر', 'نوشه', 'نوشین', 'نوشینه', 'نوگل', 'نویده', 'نویسه', 'نوین', 'نیاز', 'نیاز', 'نیّر', 'نیرا', 'نیّره', 'نیسا', 'نیسیا', 'نیکا', 'نیکپر', 'نیکتا', 'نیکدخت', 'نیکدل', 'نیکناز', 'نیکی', 'نیکی', 'نیکی ناز', 'نیلگون', 'نیلوفر', 'نینا', 'نیوشا', 'نیوشه', - 'هاله', 'هانا', 'هاني', 'هانيه', 'هایده', 'هدیه', 'هستی', 'هلاله', 'هما', 'همای', 'همراز', 'هنگامه', 'هوردخت', 'هورشید', 'هیلا', 'هیلا', 'هیلدا', 'هیوا', - 'وارسته', 'واژه', 'واله', 'وانوشه', 'وجستا', 'وجیهه', 'ورتا', 'ورد', 'وردا', 'ورسا', 'ورنا', 'وستا', 'وشتا', 'وشتی', 'وصال', 'وندا', 'ونیژه', 'ویدا', 'ویرا', 'ویره', 'ویژه', 'ویس', 'ویستا', 'ویشکا', 'وینا', - 'یارا', 'یاس', 'یاسمن', 'یاسمین', 'یاقوت', 'یزدانه', 'یکامه', 'یکتا', 'یگانه', 'یلدا', 'یوتاب', - ]; - - /** - * @see http://fa.wikipedia.org/wiki/%D8%B1%D8%AF%D9%87:%D9%86%D8%A7%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AE%D8%A7%D9%86%D9%88%D8%A7%D8%AF%DA%AF%DB%8C_%D8%B2%D8%A8%D8%A7%D9%86%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86%DB%8C - */ - protected static $lastName = [ - 'آختاچی', 'آدینه', 'آریان‌پور', 'آشتیانی', 'آشنا', 'آشوری', 'آقاجری', 'آهنگر', 'آهنگری', 'آهی', 'آژند', 'آیتی', 'آیت‌اللهی', - 'ابتکار', 'ابریشمی', 'ابطحی', 'ابوذر', 'ادب', 'ادیانی', 'ارسباران', 'استادی', 'اشتری', 'اشراقی', 'اشکوری', 'اصفهانی', 'اصلانی', 'اعتبار', 'اعتماد', 'اعلم', 'افخم', 'افخمی', 'اقلیما', 'اللهیاری', 'الهام', 'امانت', 'امانی', 'امیری', 'امین‌زاده', 'انتظامی', 'انوار', 'انوری', 'انوشه', 'اوستا', 'ایمانی', - 'باستانی', 'باطنی', 'باغچه‌بان', 'باهنر', 'بحرینی', 'بخاری', 'بختیار', 'بختیاری', 'بدخشانی', 'برزویی', 'بزرگی', 'بزرگیان', 'بزرگ‌نیا', 'بهاور', 'بهبهانی', 'بهشتی', 'بیگی', - 'پارسا', 'پارسی', 'پازارگاد', 'پازوکی', 'پایا', 'پایدار', 'پایور', 'پستا', 'پناهنده', 'پناهی', 'پناهیان', 'پورناظری', 'پورنگ', 'پویان', 'پیران', 'پیرحیاتی', 'پیوندی', - 'تبریزی', 'ترکاشوند', 'ترکان', 'تهرانی', 'توسلی', 'توفیق', 'توفیقی', 'توکل', 'توکلیان', - 'ثابتی', - 'جعفریان', 'جمادی', 'جنتی', 'جهانبگلو', 'جهانگیری', 'جهانی', - 'چاوشی', 'چلبی', 'چنگیزی', 'چگنی', - 'حائری', 'حبیبی', 'حجتی', 'حسابی', 'حقانی', 'حقیقی', 'حکمت', 'حکمی', 'حکیمی', 'حیاتی', - 'خاتمی', 'خامنه‌ای', 'خاموشی', 'خداپناهی', 'خدایی', 'خراسانی', 'خرم‌آبادی', 'خسروپناه', 'خمسه', 'خوئینی', 'خوئینی‌ها', 'خیابانی', - 'داد', 'دانایی‌فر', 'دانایی‌فرد', 'داودی', 'داور', 'دباغ', 'درگاهی', 'دری', 'دستغیب', 'دهقان', 'دیباج', - 'ذاکری', - 'راسخ', 'راوندی', 'رجایی', 'رحماندوست', 'رحمانیان', 'رستمی', 'رسولی', 'رفیعی', 'رنجبر', 'رنگرز', 'رهنما', 'روحانی', 'روزبه', 'روستا', - 'زارع', 'زالی', 'زرشناس', 'زمردیان', 'زنجانی', 'زنوزی', 'زهرایی', 'زین‌الدین', - 'سادات', 'ساعی', 'سبحانی', 'سبزواری', 'ستاری', 'سحاب', 'سحابی', 'سراج', 'سرشار', 'سرمد', 'سروستانی', 'سروش', 'سلامت', 'سپه‌وند', 'سیف', 'سیف‌زاده', - 'شادمهر', 'شاملو', 'شاه‌حسینی', 'شبستری', 'شجاعی', 'شرع‌پسند', 'شرف', 'شریعتمداری', 'شریعتی', 'شریف', 'شریفیان', 'شعبانی', 'شفا', 'شهیدی', 'شیخ‌الاسلامی', 'شیدا', 'شیرازی', 'شیرمحمدی', 'شیروانی', - 'کاشی', 'کاملی', 'کامکار', 'کاویانی', 'کاکاوند', 'کدیور', 'کرمانی', 'کریمی', 'کلباسی', 'کمالی', 'کهنمویی', 'کوشکی', 'کیان', 'کیانی', 'کیمیایی', - 'گل', 'گلپایگانی', 'گنجی', - 'صانعی', 'صباغ', 'صدر', 'صدیق', 'صدیقی', 'صغیری', 'صفوی', - 'ضابطی', 'ضرغامی', - 'طالب‌زاده', 'طالقانی', 'طباطبائی', 'طبیب‌زاده', 'طریقت', - 'ظریف', - 'عارف', 'عاشوری', 'عالی', 'عبادی', 'عبدالملکی', 'عبدالکریمی', 'عراقی', 'عزیزی', 'عصار', 'عقیلی', 'علم', 'علم‌الهدی', 'علی', 'علیا', 'علی‌آبادی', 'علی‌زمانی', 'علی‌پور', 'عنایت', - 'غضنفری', 'غنی', - 'فارسی', 'فاطمی', 'فانی', 'فتاحی', 'فرامرزی', 'فرج', 'فرشیدورد', 'فرمانفرمائیان', 'فرهنگ', 'فروتن', 'فریاد', 'فنایی', 'فنی‌زاده', 'فهمیده', 'فولادوند', - 'قاضی', 'قانعی', 'قانونی', 'قمیشی', 'قنبری', 'قهرمان', 'قهرمانی', 'قهرمانیان', 'قهستانی', - 'لاجوردی', 'لاهوتی', 'لاچینی', 'لنکرانی', 'لوکس', - 'مجاهد', 'مجتبایی', 'مجتبوی', 'مجتهد', 'مجتهدی', 'مجرد', 'محجوب', 'محجوبی', 'محدثی', 'محمدرضایی', 'محمدی', 'مددی', 'مرادخانی', 'مرتضوی', 'مستوفی', 'مشا', 'مصاحب', 'مصباح', 'مصباح‌زاده', 'مطهری', 'مظفر', 'معارف', 'معروف', 'معین', 'مفتاح', 'مفتح', 'مقدم', 'ملایری', 'ملک', 'ملکیان', 'منوچهری', 'مهاجرانی', 'مهدی‌پور', 'موحد', 'موسوی', 'موسویان', 'میدری', 'میرباقری', 'میردامادی', 'میرزاده', 'میرسپاسی', 'میزبانی', - 'ناظری', 'نامور', 'نجفی', 'ندوشن', 'نراقی', 'نعمت‌زاده', 'نقدی', 'نقیب‌زاده', 'نهاوندی', 'نواب', 'نوبخت', 'نوبختی', 'نیشابوری', 'نیلوفری', - 'هاشمی', 'هاشمی', 'هاشمیان', 'هامون', 'هدایت', 'هراتی', 'هروی', 'همایون', 'همت', 'همدانی', 'هوشیار', 'هومن', - 'واثقی', 'واعظ', 'واعظی', 'واعظ‌زاده', 'وکیلی', - 'یاحقی', 'یثربی', 'یلدا', - ]; - - protected static $titleMale = ['آقای', 'استاد', 'دکتر', 'مهندس']; - protected static $titleFemale = ['خانم', 'استاد', 'دکتر', 'مهندس']; - - /** - * This method returns a valid Iranian nationalCode - * - * @example '8075859741' - * - * @see https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84 - * - * @return string - */ - public static function nationalCode() - { - $area = self::createAreaCode(); - $core = self::createCoreCode(); - $control = self::createControlCode($area, $core); - - return sprintf('%03d%06d%01d', $area, $core, $control); - } - - /** - * This method generates a 3-digit valid area code to be used in nationalCode - * - * @return int|string - */ - private static function createAreaCode() - { - $area = '000'; - - while ($area == '000') { - $area = static::numerify('###'); - } - - return $area; - } - - /** - * This method randomly generates a 6-digit core code for nationalCode - * - * @return string - */ - private static function createCoreCode() - { - return static::numerify('######'); - } - - /** - * This method uses the Iranian nationalCode validation algorithm to generate a valid 10-digit code - * - * @param string $area - * @param string $core - * - * @see https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84 - * - * @return int - */ - private static function createControlCode($area, $core) - { - $subNationalCodeString = $area . $core; - - $sum = 0; - $count = 0; - - for ($i = 10; $i > 1; --$i) { - $sum += $subNationalCodeString[$count] * ($i); - ++$count; - } - - if (($sum % 11) < 2) { - return $sum % 11; - } - - return 11 - ($sum % 11); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + /** + * @see https://sites.google.com/site/farshidfarhat/boy-names + */ + protected static $firstNameMale = [ + 'آبان', + 'آبتین', + 'آبید', + 'آتش', + 'آتشبان', + 'آتشبند', + 'آتیلا', + 'آدر', + 'آذران', + 'آذربُد', + 'آذرتش', + 'آذرداد', + 'آذرنگ', + 'آرآسب', + 'آرا', + 'آراد', + 'آرام', + 'آران', + 'آرتاباز', + 'آرتان', + 'آرتای', + 'آرتمان', + 'آرتین', + 'آرش', + 'آرمان', + 'آرمون', + 'آرمین', + 'آرنگ', + 'آرون', + 'آروین', + 'آریا', + 'آریاآسب', + 'آریابد', + 'آریارمنا', + 'آریامن', + 'آریامنش', + 'آریان', + 'آریانا', + 'آریانو', + 'آریوبرزن', + 'آزاد', + 'آصف', + 'آلتون', + 'آوگان', + 'آوند', + 'آیتان', + 'آیدین', + 'ابراهیم', + 'ابوعلی', + 'ابی', + 'اپرنگ', + 'اتابک', + 'اُجای', + 'احد', + 'احسان', + 'احمد', + 'اُخشان', + 'ادریس', + 'ارجاسپ', + 'ارجان', + 'ارجمند', + 'اردا', + 'اردشیر', + 'اردلان', + 'اردوان', + 'اردون', + 'ارزین', + 'ارژن', + 'ارژنگ', + 'ارستو', + 'ارسلان', + 'ارسیا', + 'ارشاسب', + 'ارشام', + 'ارشاما', + 'ارشان', + 'ارشد', + 'ارشک', + 'ارشمید', + 'ارشن', + 'ارشیا', + 'ارمیا', + 'اُرند', + 'اروند', + 'اسد', + 'اسفندیار', + 'اسفندیار', + 'اسلان', + 'اسماعیل', + 'اشکان', + 'اصغر', + 'افراسیاب', + 'افرند', + 'افرنگ', + 'افشار', + 'افشین', + 'اقبال', + 'اکبر', + 'اکتای', + 'البرز', + 'الوند', + 'الیا', + 'الیاس', + 'امجد', + 'امید', + 'امیر', + 'امین', + 'انوش', + 'انوشیروان', + 'اوتانا', + 'اوتبر', + 'اورنگ', + 'اورنگ', + 'اُوژن', + 'اوشنر', + 'ایاز', + 'ایراف', + 'ایرج', + 'ایرمان', + 'ایزد', + 'ایلا', + 'ایمان', + 'بابک', + 'باران', + 'باربد', + 'بارمان', + 'بارین', + 'بازان', + 'بازور', + 'بازیار', + 'باستام', + 'باستین', + 'باسیم', + 'باشو', + 'بامداد', + 'بامشاد', + 'بامین', + 'باور', + 'باورد', + 'باوند', + 'بختیار', + 'برجسب', + 'برخیا', + 'بردیا', + 'برزو', + 'برزویه', + 'برزین', + 'برزین', + 'برسام', + 'برمک', + 'برنا', + 'برید', + 'برین', + 'بزرگمهر', + 'بشیر', + 'بکتاش', + 'بلاش', + 'بلکا', + 'بنان', + 'بهادر', + 'بهار', + 'بهامین', + 'بهبود', + 'بهپور', + 'بهجان', + 'بهداد', + 'بهدین', + 'بهراد', + 'بهرام', + 'بهرخ', + 'بهرنگ', + 'بهروز', + 'بهزاد', + 'بهفر', + 'بهکام', + 'بهمرد', + 'بهمن', + 'بهمنیار', + 'بهنام', + 'بهنیا', + 'بهنیود', + 'بیژن', + 'بینا', + 'پاتون', + 'پارسا', + 'پاریا', + 'پاساد', + 'پاشا', + 'پاینده', + 'پدرام', + 'پرتاش', + 'پرتام', + 'پردیس', + 'پرشاد', + 'پرشند', + 'پرشین', + 'پرنگ', + 'پرهام', + 'پرویز', + 'پژمان', + 'پُژمان', + 'پژواک', + 'پشنگ', + 'پِشنگ', + 'پورنگ', + 'پوریا', + 'پولاد', + 'پویا', + 'پویان', + 'پیام', + 'پیدافر', + 'پیران', + 'پیروز', + 'پیمان', + 'پیوند', + 'تابال', + 'تاج', + 'تاجفر', + 'تاجور', + 'تراب', + 'تلیمان', + 'تهماسب', + 'تهمتن', + 'تهمین', + 'توتک', + 'تورج', + 'تورک', + 'تیران', + 'تیربُد', + 'تیرداد', + 'تیرگر', + 'تیرنام', + 'تیشتار', + 'تیمور', + 'تینوش', + 'ثابت', + 'جاماسب', + 'جامی', + 'جاوید', + 'جبّار', + 'جعفر', + 'جلال', + 'جلایل', + 'جمال', + 'جمشید', + 'جهان', + 'جهانبان', + 'جهانبخت', + 'جهانبخش', + 'جهاندار', + 'جهانسوز', + 'جهانشاد', + 'جهانشاه', + 'جهانشیر', + 'جهانفر', + 'جهانگیر', + 'جهانمهر', + 'جهانیار', + 'جواد', + 'جوانشیر', + 'جوریل', + 'جویان', + 'چاووش', + 'چکاد', + 'چنگیز', + 'حافظ', + 'حامد', + 'حامی', + 'حانی', + 'حبیب', + 'حسام', + 'حسن', + 'حسین', + 'حمید', + 'حیدر', + 'خرداد', + 'خرسند', + 'خسرو', + 'خشایار', + 'دابا', + 'داتیس', + 'دادبه', + 'دادبین', + 'دادفر', + 'دادمهر', + 'دادور', + 'دارا', + 'داراب', + 'دارمان', + 'داریا', + 'داریان', + 'داریوش', + 'دامون', + 'دانا', + 'دانش', + 'دانوش', + 'دانیال', + 'داور', + 'داوود', + 'دریا دل', + 'دلاور', + 'دلیر', + 'دولت', + 'دیاکو', + 'راجی', + 'راد', + 'رادبد', + 'رادمان', + 'رادمنش', + 'رادمهر', + 'رادین', + 'رازان', + 'رازبان', + 'رازی', + 'راستین', + 'رامبُد', + 'رامتین', + 'رامی', + 'رامیاد', + 'رامیار', + 'رامین', + 'راهزاد', + 'رایان', + 'رایکا', + 'رحیم', + 'رخشان', + 'رزین', + 'رسام', + 'رستم', + 'رسول', + 'رشید', + 'رشین', + 'رضا', + 'رُکندین', + 'رها', + 'رهاد', + 'رهام', + 'رهام', + 'روئین', + 'روزبه', + 'روشاک', + 'روشان', + 'زاب', + 'زادفر', + 'زادمهر', + 'زال', + 'زامیاد', + 'زاهد', + 'زاور', + 'زراسب', + 'زرتشت', + 'زروان', + 'زروند', + 'زریر', + 'زکریا', + 'زند', + 'زواره', + 'ژاژه', + 'ژامک', + 'ژرفا', + 'ژکفر', + 'ژوبین', + 'ژیان', + 'ژیانفر', + 'ساتراپ', + 'ساتیار', + 'ساحل', + 'سارنگ', + 'ساسان', + 'ساعد', + 'سالار', + 'سام', + 'سامان', + 'سامی', + 'سامیار', + 'سامین', + 'ساویز', + 'سپنتا', + 'سپنتمان', + 'سپند', + 'سپندار', + 'سپهر', + 'ستّار', + 'ستوده', + 'سردار', + 'سرمد', + 'سرمند', + 'سرواد', + 'سروش', + 'سریر', + 'سعید', + 'سلم', + 'سلمان', + 'سلمک', + 'سلیم', + 'سلیمان', + 'سمراد', + 'سمند', + 'سمیر', + 'سنجر', + 'سهراب', + 'سهند', + 'سهیل', + 'سوران', + 'سورنا', + 'سوشیانت', + 'سوفرا', + 'سیامک', + 'سیاوش', + 'سیرمان', + 'سیروس', + 'سینا', + 'سینام', + 'سیوا', + 'شاپور', + 'شادان', + 'شادرخ', + 'شادروز', + 'شادمهر', + 'شادورد', + 'شارود', + 'شاهد', + 'شاهرخ', + 'شاهور', + 'شاهین', + 'شایا', + 'شایان', + 'شایگان', + 'شباویز', + 'شبدیز', + 'شجاع', + 'شروین', + 'شریف', + 'شمسا', + 'شمیل', + 'شهاب', + 'شهباز', + 'شهبال', + 'شهبد', + 'شهپر', + 'شهداد', + 'شهراب', + 'شهراد', + 'شهرام', + 'شهرباز', + 'شهرداد', + 'شهروز', + 'شهریار', + 'شهکام', + 'شهنام', + 'شهیار', + 'شولان', + 'شووان', + 'شیداسب', + 'شیدفر', + 'شیده', + 'شیدوش', + 'شیرزاد', + 'شیروان', + 'شیرویه', + 'صابر', + 'صادق', + 'صبا', + 'صدری', + 'صدیق', + 'صلاح', + 'صلاح الدین', + 'صمد', + 'ضیا', + 'طاهر', + 'طهمورث', + 'طوس', + 'طوفان', + 'ظفر', + 'عادل', + 'عارف', + 'عبّاس', + 'عدلان', + 'عرفان', + 'عزیز', + 'عطا', + 'عظیم', + 'علی', + 'علی داد', + 'عماد', + 'عمید', + 'عنایت', + 'غدیر', + 'فاتک', + 'فاریا', + 'فاضل', + 'فراز', + 'فرازمان', + 'فرامرز', + 'فرامین', + 'فربد', + 'فرتاش', + 'فرتوس', + 'فرج', + 'فرجاد', + 'فرجام', + 'فرّخ', + 'فرخاد', + 'فرّخزاد', + 'فردات', + 'فرداد', + 'فردوس', + 'فردید', + 'فردیس', + 'فردین', + 'فردین', + 'فرزاد', + 'فرزام', + 'فرزان', + 'فرزین', + 'فرساد', + 'فرشاد', + 'فرشید', + 'فرشیدورد', + 'فرشین', + 'فرلاس', + 'فرناد', + 'فرنام', + 'فرنود', + 'فرهاد', + 'فرهان', + 'فرهد', + 'فرهنگ', + 'فرهود', + 'فرود', + 'فروَد', + 'فرورتیش', + 'فروردین', + 'فروهر', + 'فریان', + 'فریان', + 'فریبرز', + 'فرید', + 'فریدون', + 'فریس', + 'فریمان', + 'فرینام', + 'فریور', + 'فیروز', + 'فیلک', + 'قادر', + 'قاسم', + 'قباد', + 'قدرت', + 'قلندر', + 'قیصر', + 'کارن', + 'کاظم', + 'کام', + 'کامبخش', + 'کامبد', + 'کامبیز', + 'کامبین', + 'کامدین', + 'کامران', + 'کامشاد', + 'کامکار', + 'کاموس', + 'کامیار', + 'کاوان', + 'کاوه', + 'کاووس', + 'کاویان', + 'کتیبه', + 'کریم', + 'کریمان', + 'کریمداد', + 'کسرا', + 'کشواد', + 'کلباد', + 'کمال', + 'کمبوجیه', + 'کواد', + 'کورُس', + 'کورش', + 'کورنگ', + 'کوشا', + 'کوشان', + 'کوشیار', + 'کوهیار', + 'کیارش', + 'کی آرمین', + 'کیا', + 'کیان', + 'کَیان', + 'کیانوش', + 'کیانوش', + 'کیاوش', + 'کیخسرو', + 'کیقباد', + 'کیکاووس', + 'کیهان', + 'کیوان', + 'کیومرث', + 'گرزم', + 'گرشاسب', + 'گرگین', + 'گشتاسب', + 'گودرز', + 'گورنگ', + 'گوشاسب', + 'گوماتا', + 'گیو', + 'لسان', + 'لهراسب', + 'لیث', + 'مازار', + 'مازیار', + 'ماکان', + 'مانک', + 'مانوش', + 'مانی', + 'ماهان', + 'ماهر', + 'متین', + 'مجتبی', + 'مجید', + 'محسن', + 'محمّد', + 'محمود', + 'مراد', + 'مرتضی', + 'مرتیا', + 'مردآویج', + 'مرداس', + 'مرزبان', + 'مروان', + 'مزدا', + 'مزدک', + 'مسعود', + 'مصطفی', + 'معین', + 'مقصود', + 'مکابیز', + 'مَلِک', + 'ملیک', + 'منصور', + 'منوچهر', + 'مهبد', + 'مهداد', + 'مهدی', + 'مهرا', + 'مهراب', + 'مهراد', + 'مهراشک', + 'مهرام', + 'مهرام', + 'مهران', + 'مهربان', + 'مهرتاش', + 'مهرداد', + 'مهرزاد', + 'مهرساد', + 'مهرشاد', + 'مهرک', + 'مهرگان', + 'مهرنام', + 'مهرنگ', + 'مهرنوش', + 'مهرورز', + 'مهروند', + 'مهریار', + 'مهریار', + 'مهوار', + 'مهوند', + 'مهیار', + 'مهیاز', + 'مهیمن', + 'موسی', + 'میثاق', + 'میثم', + 'میرزا', + 'میعاد', + 'میلاد', + 'نادر', + 'ناصر', + 'نامدار', + 'نامور', + 'نامی', + 'نجید', + 'نرسی', + 'نریمان', + 'نَستور', + 'نشواد', + 'نصرت', + 'نصیح', + 'نصیر', + 'نظام', + 'نعمت', + 'نوبان', + 'نوروز', + 'نوری', + 'نوزر', + 'نوژان', + 'نوشزاد', + 'نوشیروان', + 'نوند', + 'نویان', + 'نوید', + 'نوین', + 'نیرَم', + 'نیرو', + 'نیک', + 'نیک آهنگ', + 'نیکا', + 'نیکان', + 'نیکاو', + 'نیکروز', + 'نیکزاد', + 'نیکنام', + 'نیکنیا', + 'نیما', + 'نیماد', + 'نیناد', + 'نیو', + 'نیواد', + 'نیوتور', + 'نیوراد', + 'نیوزاد', + 'نیوشا', + 'نیوند', + 'هاتف', + 'هادی', + 'هارون', + 'هاشم', + 'هامان', + 'هامون', + 'هدایت', + 'هرمز', + 'هژیر', + 'هشام', + 'همایون', + 'هوتن', + 'هورداد', + 'هوشان', + 'هوشمند', + 'هوشنگ', + 'هوشیار', + 'هومان', + 'هومن', + 'هومین', + 'هونام', + 'هیتاسب', + 'هیراد', + 'هیربد', + 'هیرسا', + 'هیرمند', + 'هیوند', + 'وارتان', + 'واروژ', + 'واریان', + 'والا', + 'واله', + 'وجیح', + 'وحدت', + 'وحید', + 'ورجاوند', + 'ورشاسب', + 'ورفان', + 'ورنا', + 'وُریا', + 'وشمگیر', + 'وفا', + 'ونداد', + 'وهاب', + 'وهبد', + 'وهرز', + 'ویراف', + 'ویسه', + 'ویشپر', + 'ویشتاسب', + 'یاران', + 'یاری', + 'یازان', + 'یاشار', + 'یامین', + 'یاور', + 'یاوند', + 'یحیی', + 'یزدان', + 'یزدان بخش', + 'یزدانفر', + 'یزدگرد', + 'یعقوب', + 'یوسف', + 'یونس', + ]; + + /** + * @see https://sites.google.com/site/farshidfarhat/girl-names + */ + protected static $firstNameFemale = [ + 'آبان', + 'آبان بانو', + 'آبان دخت', + 'آتاناز', + 'آتسا', + 'آتنا', + 'آتنه', + 'آتوسا', + 'آتوشه', + 'آتیشه', + 'آذر', + 'آذرافروز', + 'آذران', + 'آذرجهر', + 'آذرخش', + 'آذرداد', + 'آذردخت', + 'آذرشین', + 'آذرفروز', + 'آذرک', + 'آذرگل', + 'آذرگون', + 'آذرمهر', + 'آذرمینا', + 'آذرنوش', + 'آذروان', + 'آذریاس', + 'آذرین', + 'آذین', + 'آذین بانو', + 'آذین دخت', + 'آرا', + 'آراسته', + 'آرام بانو', + 'آرایه', + 'آرتا', + 'آرتادخت', + 'آرتمیس', + 'آرتنوس', + 'آرزو', + 'آرسته', + 'آرمان', + 'آرمیتا', + 'آرمیلا', + 'آرمین دخت', + 'آروشا', + 'آریا', + 'آریان', + 'آریانا', + 'آرین', + 'آرین', + 'آزاد دخت', + 'آزادمهر', + 'آزاده', + 'آزرمیدخت', + 'آزیتا', + 'آژند', + 'آسا', + 'آسام', + 'آسمان', + 'آسمانه', + 'آسیا', + 'آسیه', + 'آصفه', + 'آفاق', + 'آفتاب', + 'آفری', + 'آفرین', + 'آلاله', + 'آلما', + 'آلیش', + 'آمنه', + 'آموتیا', + 'آمیتریس', + 'آمیتریس', + 'آمیتیس', + 'آنا', + 'آناهیتا', + 'آندیا', + 'آنوش', + 'آنیتا', + 'آهنگ', + 'آهو', + 'آوا', + 'آوازه', + 'آوند', + 'آوید', + 'آویده', + 'آویز', + 'آویزه', + 'آویژه', + 'آویسا', + 'آویش', + 'آویشن', + 'آویشه', + 'آوین', + 'آیتان', + 'آیدا', + 'آیدان', + 'آیسا', + 'آیسان', + 'آیسان', + 'آیسل', + 'آیلا', + 'آیلین', + 'آیناز', + 'آیه', + 'ابریشم', + 'احترام', + 'اختر', + 'ارانوس', + 'ارزین', + 'ارستو', + 'ارغوان', + 'ارکیده', + 'ارم', + 'ارمغان', + 'ارنواز', + 'اروانه', + 'اروسا', + 'اریکا', + 'اِستاتیرا', + 'استر', + 'اشرف', + 'اعظم', + 'افتخار', + 'افرا', + 'افرند', + 'افروز', + 'افروزه', + 'افری', + 'افسان', + 'افسانه', + 'افسر', + 'افسون', + 'افشان', + 'افشانه', + 'افشک', + 'افشنگ', + 'افشید', + 'افشیده', + 'افشینه', + 'اکرم', + 'الدوز', + 'الفت', + 'الماس', + 'المیرا', + 'الناز', + 'الهام', + 'الهه', + 'الیا', + 'الیزه', + 'الیکا', + 'امیتیس', + 'امید', + 'امیده', + 'امیربانو', + 'امیره', + 'انارام', + 'اندیشه', + 'انسی', + 'انسیه', + 'انور', + 'انوشا', + 'انوشک', + 'انوشه', + 'انیس', + 'انیسا', + 'انیسه', + 'اورسیا', + 'اوزن', + 'اولیا', + 'ایده', + 'ایران', + 'ایران بانو', + 'ایران دخت', + 'ایرسا', + 'ایرسیا', + 'ایلا', + 'ایمان', + 'بابوک', + 'باران', + 'بارانک', + 'بارانه', + 'بامی', + 'بامیک', + 'بامین', + 'باناز', + 'بانو', + 'بانویه', + 'بدری', + 'بدریه', + 'برسابه', + 'برسین', + 'برسینا', + 'بلور', + 'بنفشه', + 'به آذر', + 'به آذین', + 'به آرا', + 'به آفرید', + 'به آفرین', + 'به بها', + 'بها', + 'بهار', + 'بهاربانو', + 'بهارک', + 'بهاره', + 'بهاک', + 'بهامین', + 'بهتام', + 'بهتن', + 'بهجان', + 'بهجت', + 'بهدخت', + 'بهدله', + 'بهدیس', + 'بهرامن', + 'بهرخ', + 'بهرو', + 'بهشته', + 'بهشید', + 'بهمیس', + 'بهناز', + 'بهناک', + 'بهنوش', + 'بههن', + 'بهی', + 'بهین', + 'بهینه', + 'بوبک', + 'بوران', + 'بوران دخت', + 'بوسه', + 'بی بی', + 'بی بی ناز', + 'بیتا', + 'بیدخت', + 'پاپلی', + 'پاتونه', + 'پارسادخت', + 'پارمیس', + 'پارمین', + 'پارنیز', + 'پاکسیما', + 'پاکنوش', + 'پالیز', + 'پانته آ', + 'پانویه', + 'پانیذ', + 'پدیده', + 'پرتو', + 'پرخیده', + 'پردیس', + 'پرستان', + 'پرسته', + 'پرستو', + 'پرستوک', + 'پرسون', + 'پرشاد', + 'پرشنگ', + 'پرشه', + 'پرگل', + 'پرمون', + 'پرمیدا', + 'پرنا', + 'پرناز', + 'پرند', + 'پرندیس', + 'پرندین', + 'پرنگ', + 'پرنو', + 'پرنیا', + 'پرنیان', + 'پروا', + 'پروان', + 'پروانه', + 'پروچیستا', + 'پرور', + 'پروسکا', + 'پروشات', + 'پروند', + 'پروه', + 'پروین', + 'پری', + 'پری دخت', + 'پری رو', + 'پریا', + 'پریجهان', + 'پریچهر', + 'پریچهره', + 'پریزاد', + 'پریسا', + 'پریساتیس', + 'پریسان', + 'پریسوز', + 'پریسیما', + 'پریشاد', + 'پریشم', + 'پریما', + 'پرین', + 'پریناز', + 'پریناز', + 'پرینوش', + 'پریور', + 'پریوش', + 'پژواک', + 'پسند', + 'پگاه', + 'پلاگه', + 'پوپک', + 'پوپه', + 'پوران', + 'پوران دخت', + 'پورکار', + 'پوری', + 'پونل', + 'پونه', + 'پیچک', + 'پیراسته', + 'پیرایه', + 'پیروزدخت', + 'پیروزه', + 'پیمانه', + 'پیموده', + 'پیوند', + 'تابا', + 'تابان', + 'تابش', + 'تاج بانو', + 'تارا', + 'تانیا', + 'تبسم', + 'ترانه', + 'ترسا', + 'ترمه', + 'ترنگ', + 'تکتم', + 'تندیس', + 'تهمینه', + 'توتک', + 'توران', + 'توران خت', + 'توریا', + 'توسکا', + 'توکا', + 'تیبا', + 'تیرا', + 'تیراژه', + 'تیرام', + 'تیکا', + 'تینا', + 'ثریّا', + 'ثمر', + 'ثمره', + 'ثمن', + 'ثمیلا', + 'ثمینا', + 'جامک', + 'جانان', + 'جانفروز', + 'جاودانه', + 'جبّاره', + 'جریره', + 'جلا', + 'جلوه', + 'جلیله', + 'جمیله', + 'جنّت', + 'جهان', + 'جهان آرا', + 'جهان بانو', + 'جهان تاب', + 'جهان دخت', + 'جهان ناز', + 'جوانه', + 'جیران', + 'چامه', + 'چشمک', + 'چکا', + 'چکامه', + 'چکاوک', + 'چلیپا', + 'چمان', + 'چمانه', + 'چمن', + 'چیترا', + 'چیستا', + 'چیکا', + 'حاتفه', + 'حامده', + 'حامی', + 'حامیه', + 'حبیبه', + 'حدا', + 'حدیث', + 'حدیقه', + 'حرمت', + 'حریره', + 'حسنا', + 'حلیمه', + 'حمیده', + 'حمیرا', + 'حنا', + 'حوّا', + 'حور', + 'حورا', + 'حوروش', + 'حوری', + 'حوریه', + 'خاتون', + 'خاطره', + 'خاور', + 'خاوردخت', + 'خجسته', + 'خدیجه', + 'خزر', + 'خندان', + 'خنده', + 'خنیا', + 'خورشاد', + 'خورشید', + 'خورشید بانو', + 'خوروش', + 'خوشه', + 'خینا', + 'دامینه', + 'دانا', + 'دانه', + 'داور', + 'دردانه', + 'درسا', + 'درنا', + 'درناز', + 'دری', + 'دریا', + 'دریاناز', + 'دریانه', + 'دل آرا', + 'دل آسا', + 'دل آویز', + 'دل افرز', + 'دلارام', + 'دلبر', + 'دلبند', + 'دلربا', + 'دلشاد', + 'دلکش', + 'دلناز', + 'دلنواز', + 'دلیار', + 'دلیله', + 'دنا', + 'دنیا', + 'دنیازاد', + 'دنیاناز', + 'دیبا', + 'دینا', + 'دینک', + 'دینه', + 'راحله', + 'راحیل', + 'رادنوش', + 'راز', + 'رازان', + 'رازک', + 'راستا', + 'راستاک', + 'راستینه', + 'راسن', + 'راشین', + 'راضیه', + 'راضیه', + 'راما', + 'رامبهشت', + 'رامدخت', + 'رامش', + 'رامک', + 'رامونا', + 'رامین دخت', + 'رامینا', + 'رامینه', + 'راهله', + 'راوک', + 'رایکا', + 'رباب', + 'ربابه', + 'رجاء', + 'رخسارا', + 'رخساره', + 'رخشا', + 'رخشاد', + 'رخشاد', + 'رخشان', + 'رخشان', + 'رخند', + 'رُدگون', + 'ردیمه', + 'رزما', + 'رسا', + 'رشا', + 'رشاد', + 'رشیا', + 'رضوان', + 'رعنا', + 'رفا', + 'رقیّه', + 'رکسانا', + 'رها', + 'رهادخت', + 'روا', + 'روان', + 'روجا', + 'روح انگیز', + 'رودابه', + 'روزچهر', + 'روژان', + 'روژین', + 'روژینا', + 'روشانه', + 'روشن', + 'روشنا', + 'روشنک', + 'رومینا', + 'روناک', + 'رونق', + 'رویا', + 'رویا', + 'ریتا', + 'ریحان', + 'ریحانک', + 'ریحانه', + 'ریکا', + 'ریما', + 'ریماز', + 'زرآسا', + 'زرافشان', + 'زربانو', + 'زرسا', + 'زری', + 'زریله', + 'زرّین', + 'زرّین تاج', + 'زرّین دخت', + 'زرّینه', + 'زنبق', + 'زها', + 'زهرا', + 'زهره', + 'زوزان', + 'زویا', + 'زیبا', + 'زیباچهر', + 'زیبادخت', + 'زیکا', + 'زینا', + 'زینب', + 'زینت', + 'زیور', + 'ژاله', + 'ژامک', + 'ژاوه', + 'ژیلا', + 'ژیله', + 'ژینا', + 'ساحل', + 'سارا', + 'سارنگ', + 'ساره', + 'سارینا', + 'ساغر', + 'ساقی', + 'سالومه', + 'سامه', + 'سامیه', + 'ساناز', + 'سانوا', + 'ساویس', + 'ساینا', + 'سایه', + 'سپنتا', + 'سپهرم', + 'سپیدا', + 'سپیده', + 'سپینود', + 'ستاره', + 'ستّاره', + 'ستاه', + 'ستوده', + 'سحر', + 'سحرناز', + 'سرمه', + 'سرور', + 'سرور', + 'سروشه', + 'سروناز', + 'سروند', + 'سروین', + 'سزانه', + 'سعیده', + 'سلا', + 'سلامه', + 'سلما', + 'سلماز', + 'سلمه', + 'سلیمه', + 'سماء', + 'سمانه', + 'سمراد', + 'سمن', + 'سمناز', + 'سمنبر', + 'سمنه', + 'سمیرا', + 'سمیره', + 'سمینه', + 'سمیّه', + 'سنبل', + 'سها', + 'سهی', + 'سهیلا', + 'سودابه', + 'سورا', + 'سوران', + 'سوری', + 'سوزان', + 'سوسن', + 'سوسنک', + 'سوگل', + 'سوگلی', + 'سوگند', + 'سیتا', + 'سیتا', + 'سیرادخت', + 'سیرانوش', + 'سیکا', + 'سیما', + 'سیماه', + 'سیمبر', + 'سیمتن', + 'سیمیا', + 'سیمین', + 'سیمین دخت', + 'سیندخت', + 'سیوا', + 'شاپرک', + 'شادآفرین', + 'شادان', + 'شادمان', + 'شادناز', + 'شاده', + 'شادی', + 'شالیزه', + 'شاندیز', + 'شاهپری', + 'شاهد', + 'شاهزاده', + 'شاهگل', + 'شاهنگ', + 'شاهوش', + 'شاورد', + 'شاوه', + 'شایا', + 'شایان دخت', + 'شایسته', + 'شباهنگ', + 'شبپر', + 'شبناز', + 'شبنم', + 'شده', + 'شراره', + 'شرمین', + 'شروین', + 'شریفه', + 'شعله', + 'شفق', + 'شقایق', + 'شکرانه', + 'شکوفه', + 'شکوه', + 'شکیبا', + 'شمس', + 'شمسی', + 'شمیا', + 'شمیسا', + 'شمیلا', + 'شمیم', + 'شمین', + 'شهپر', + 'شهرا', + 'شهرزاد', + 'شهرناز', + 'شهرناو', + 'شهرنواز', + 'شهرنوش', + 'شهره', + 'شهرود', + 'شهلا', + 'شهناز', + 'شهنواز', + 'شهین', + 'شورانگیز', + 'شورت', + 'شوشا', + 'شوکا', + 'شوکت', + 'شیبا', + 'شیدا', + 'شیدخت', + 'شیدرخ', + 'شیده', + 'شیدوش', + 'شیراز', + 'شیردخت', + 'شیرین', + 'شیرین بانو', + 'شیفته', + 'شیما', + 'شیوا', + 'شیواد', + 'شیوه', + 'صابره', + 'صبا', + 'صدا', + 'صدف', + 'صدیقه', + 'صفا', + 'صفورا', + 'صفیّه', + 'صنم', + 'صنوبر', + 'صهبا', + 'طاهره', + 'طاوس', + 'طراوت', + 'طلا', + 'طلایه', + 'طلعت', + 'طناز', + 'طوبی', + 'طوسک', + 'طوفان', + 'طیبه', + 'ظریف', + 'ظریفه', + 'عادله', + 'عادیله', + 'عاطفه', + 'عالیه', + 'عبّاسه', + 'عدیله', + 'عذرا', + 'عزیز', + 'عزیزه', + 'عسل', + 'عصمت', + 'عطیفه', + 'عفت', + 'عقدس', + 'عقیق', + 'عنبر', + 'عهدیه', + 'غزال', + 'غزاله', + 'غزل', + 'غمزه', + 'غنچه', + 'فائزه', + 'فائقه', + 'فاخته', + 'فاخره', + 'فاریا', + 'فاطمه', + 'فتّانه', + 'فتنه', + 'فخری', + 'فرانک', + 'فرانه', + 'فرح', + 'فرحناز', + 'فرخ رو', + 'فرخروز', + 'فرخنده', + 'فردخت', + 'فردوس', + 'فرزانک', + 'فرزانه', + 'فرشته', + 'فرشیده', + 'فرمهر', + 'فرناز', + 'فرنگ', + 'فرنگیس', + 'فرنوش', + 'فرنیا', + 'فروز', + 'فروزا', + 'فروزان', + 'فروزنده', + 'فروغ', + 'فریا', + 'فریال', + 'فریبا', + 'فریدا', + 'فریده', + 'فریفته', + 'فریما', + 'فریماه', + 'فریمهر', + 'فرین', + 'فریّن', + 'فریّن چهر', + 'فریناز', + 'فرینام', + 'فرینوش', + 'فقیهه', + 'فلامک', + 'فلورا', + 'فهیمه', + 'فوژان', + 'فیروزه', + 'فیلا', + 'قاسدک', + 'قدسی', + 'قشنگ', + 'قمر', + 'کاژیره', + 'کاساندان', + 'کاملیا', + 'کامینه', + 'کاناز', + 'کبری', + 'کتانه', + 'کتایون', + 'کترا', + 'کرشمه', + 'کژال', + 'کلاله', + 'کمند', + 'کوکب', + 'کیان دخت', + 'کیانا', + 'کیدرا', + 'کیمیا', + 'کیهان', + 'کیهان بانو', + 'گردآفرید', + 'گردیا', + 'گل آذین', + 'گل افشار', + 'گل افشان', + 'گل اندام', + 'گل نسرین', + 'گلاب', + 'گلاره', + 'گلاره', + 'گلاره', + 'گلاویز', + 'گلاویژ', + 'گلایل', + 'گلبان', + 'گلبانو', + 'گلبرگ', + 'گلبهار', + 'گلبو', + 'گلپر', + 'گلپری', + 'گلچهر', + 'گلچهره', + 'گلدار', + 'گلدوز', + 'گلرخ', + 'گلرنگ', + 'گلرو', + 'گلریز', + 'گلسا', + 'گلسان', + 'گلشاد', + 'گلشن', + 'گلشنک', + 'گلشهر', + 'گلشید', + 'گلشیفته', + 'گلک', + 'گلگون', + 'گلمهر', + 'گلنار', + 'گلناز', + 'گلنام', + 'گلنسا', + 'گلنواز', + 'گلنوش', + 'گلی', + 'گوهر', + 'گوهرشاد', + 'گیتا', + 'گیتی', + 'گیسو', + 'گیسی', + 'گیلدا', + 'لادن', + 'لاله', + 'لبینا', + 'لطیفه', + 'لُعبت', + 'لعیا', + 'لوما', + 'لیان', + 'لیدا', + 'لیلا', + 'لیلا', + 'لیلاس', + 'لیلوپر', + 'لیلی', + 'لیلی', + 'لیلیا', + 'لیما', + 'لینا', + 'مائده', + 'مارال', + 'ماریه', + 'مامک', + 'مامیسا', + 'مانا', + 'ماندا', + 'ماندیس', + 'مانلی', + 'مانی', + 'مانیا', + 'ماه آفرد', + 'ماهدخت', + 'ماهرخ', + 'ماهرخسارر', + 'ماهرو', + 'محبوبه', + 'محیا', + 'مدینه', + 'مراجل', + 'مرجان', + 'مرجانه', + 'مرسده', + 'مرضیه', + 'مرمر', + 'مروارید', + 'مریم', + 'مژده', + 'مژگان', + 'مستانه', + 'مستوره', + 'مشیا', + 'معصومه', + 'ملاحت', + 'ملکه', + 'ملکه جهان', + 'ملود', + 'ملودی', + 'ملوس', + 'ملوک', + 'ملیح', + 'ملیحه', + 'ملیسا', + 'ملیکا', + 'منصوره', + 'منظر', + 'منوّر', + 'منیر', + 'منیره', + 'منیژه', + 'منیلا', + 'مه سیما', + 'مه منیر', + 'مها', + 'مهان', + 'مهبانو', + 'مهتا', + 'مهتاب', + 'مهتاج', + 'مهجبین', + 'مهداد', + 'مهدخت', + 'مهدیس', + 'مهدیه', + 'مهرآرا', + 'مهرآسا', + 'مهرآفرین', + 'مهرا', + 'مهراز', + 'مهران', + 'مهراندخت', + 'مهرانگیز', + 'مهرانه', + 'مهراور', + 'مهراوه', + 'مهربانو', + 'مهرخ', + 'مهردخت', + 'مهرزاد', + 'مهرسا', + 'مهرشید', + 'مهرک', + 'مهرناز', + 'مهرنوش', + 'مهرورز', + 'مهروش', + 'مهری', + 'مهزاد', + 'مهسا', + 'مهسان', + 'مهستی', + 'مهسو', + 'مهشاد', + 'مهشید', + 'مهفام', + 'مهکامه', + 'مهلا', + 'مهلقا', + 'مهناز', + 'مهنوش', + 'مهوش', + 'مهین', + 'مهین بانو', + 'مهیندخت', + 'موجان', + 'موژان', + 'مونا', + 'مونا', + 'میترا', + 'میثاق', + 'میثمه', + 'میچکا', + 'میشا', + 'میلا', + 'میلی', + 'مینا', + 'مینو', + 'میهن', + 'میهن یار', + 'ناجی', + 'نادره', + 'نادی', + 'نادیا', + 'نارسیس', + 'نارین', + 'ناز', + 'نازآفرین', + 'نازبانو', + 'نازبو', + 'نازپری', + 'نازتا', + 'نازدانه', + 'نازدخت', + 'نازک', + 'نازگل', + 'نازلی', + 'نازنوش', + 'نازنین', + 'نازو', + 'نازی', + 'نازیتا', + 'نازیلا', + 'نازینه', + 'ناژو', + 'ناژین', + 'ناناز', + 'ناهید', + 'ناهیده', + 'نجلا', + 'نجمه', + 'نجوی', + 'ندا', + 'نرجس', + 'نرگس', + 'نرمین', + 'نرمینه', + 'نزهت', + 'نسا', + 'نسترن', + 'نسرین', + 'نسیم', + 'نشاط', + 'نشوا', + 'نشید', + 'نظیره', + 'نغمه', + 'نفیسه', + 'نکیسا', + 'نگار', + 'نگارین', + 'نگان', + 'نگاه', + 'نگین', + 'نهال', + 'نهاله', + 'نوا', + 'نواز', + 'نوال', + 'نوبر', + 'نور', + 'نورا', + 'نورانگیز', + 'نوژان', + 'نوشآفرین', + 'نوشا', + 'نوشابه', + 'نوشبر', + 'نوشه', + 'نوشین', + 'نوشینه', + 'نوگل', + 'نویده', + 'نویسه', + 'نوین', + 'نیاز', + 'نیاز', + 'نیّر', + 'نیرا', + 'نیّره', + 'نیسا', + 'نیسیا', + 'نیکا', + 'نیکپر', + 'نیکتا', + 'نیکدخت', + 'نیکدل', + 'نیکناز', + 'نیکی', + 'نیکی', + 'نیکی ناز', + 'نیلگون', + 'نیلوفر', + 'نینا', + 'نیوشا', + 'نیوشه', + 'هاله', + 'هانا', + 'هاني', + 'هانيه', + 'هایده', + 'هدیه', + 'هستی', + 'هلاله', + 'هما', + 'همای', + 'همراز', + 'هنگامه', + 'هوردخت', + 'هورشید', + 'هیلا', + 'هیلا', + 'هیلدا', + 'هیوا', + 'وارسته', + 'واژه', + 'واله', + 'وانوشه', + 'وجستا', + 'وجیهه', + 'ورتا', + 'ورد', + 'وردا', + 'ورسا', + 'ورنا', + 'وستا', + 'وشتا', + 'وشتی', + 'وصال', + 'وندا', + 'ونیژه', + 'ویدا', + 'ویرا', + 'ویره', + 'ویژه', + 'ویس', + 'ویستا', + 'ویشکا', + 'وینا', + 'یارا', + 'یاس', + 'یاسمن', + 'یاسمین', + 'یاقوت', + 'یزدانه', + 'یکامه', + 'یکتا', + 'یگانه', + 'یلدا', + 'یوتاب', + ]; + + /** + * @see http://fa.wikipedia.org/wiki/%D8%B1%D8%AF%D9%87:%D9%86%D8%A7%D9%85%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AE%D8%A7%D9%86%D9%88%D8%A7%D8%AF%DA%AF%DB%8C_%D8%B2%D8%A8%D8%A7%D9%86%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86%DB%8C + */ + protected static $lastName = [ + 'آختاچی', + 'آدینه', + 'آریان‌پور', + 'آشتیانی', + 'آشنا', + 'آشوری', + 'آقاجری', + 'آهنگر', + 'آهنگری', + 'آهی', + 'آژند', + 'آیتی', + 'آیت‌اللهی', + 'ابتکار', + 'ابریشمی', + 'ابطحی', + 'ابوذر', + 'ادب', + 'ادیانی', + 'ارسباران', + 'استادی', + 'اشتری', + 'اشراقی', + 'اشکوری', + 'اصفهانی', + 'اصلانی', + 'اعتبار', + 'اعتماد', + 'اعلم', + 'افخم', + 'افخمی', + 'اقلیما', + 'اللهیاری', + 'الهام', + 'امانت', + 'امانی', + 'امیری', + 'امین‌زاده', + 'انتظامی', + 'انوار', + 'انوری', + 'انوشه', + 'اوستا', + 'ایمانی', + 'باستانی', + 'باطنی', + 'باغچه‌بان', + 'باهنر', + 'بحرینی', + 'بخاری', + 'بختیار', + 'بختیاری', + 'بدخشانی', + 'برزویی', + 'بزرگی', + 'بزرگیان', + 'بزرگ‌نیا', + 'بهاور', + 'بهبهانی', + 'بهشتی', + 'بیگی', + 'پارسا', + 'پارسی', + 'پازارگاد', + 'پازوکی', + 'پایا', + 'پایدار', + 'پایور', + 'پستا', + 'پناهنده', + 'پناهی', + 'پناهیان', + 'پورناظری', + 'پورنگ', + 'پویان', + 'پیران', + 'پیرحیاتی', + 'پیوندی', + 'تبریزی', + 'ترکاشوند', + 'ترکان', + 'تهرانی', + 'توسلی', + 'توفیق', + 'توفیقی', + 'توکل', + 'توکلیان', + 'ثابتی', + 'جعفریان', + 'جمادی', + 'جنتی', + 'جهانبگلو', + 'جهانگیری', + 'جهانی', + 'چاوشی', + 'چلبی', + 'چنگیزی', + 'چگنی', + 'حائری', + 'حبیبی', + 'حجتی', + 'حسابی', + 'حقانی', + 'حقیقی', + 'حکمت', + 'حکمی', + 'حکیمی', + 'حیاتی', + 'خاتمی', + 'خامنه‌ای', + 'خاموشی', + 'خداپناهی', + 'خدایی', + 'خراسانی', + 'خرم‌آبادی', + 'خسروپناه', + 'خمسه', + 'خوئینی', + 'خوئینی‌ها', + 'خیابانی', + 'داد', + 'دانایی‌فر', + 'دانایی‌فرد', + 'داودی', + 'داور', + 'دباغ', + 'درگاهی', + 'دری', + 'دستغیب', + 'دهقان', + 'دیباج', + 'ذاکری', + 'راسخ', + 'راوندی', + 'رجایی', + 'رحماندوست', + 'رحمانیان', + 'رستمی', + 'رسولی', + 'رفیعی', + 'رنجبر', + 'رنگرز', + 'رهنما', + 'روحانی', + 'روزبه', + 'روستا', + 'زارع', + 'زالی', + 'زرشناس', + 'زمردیان', + 'زنجانی', + 'زنوزی', + 'زهرایی', + 'زین‌الدین', + 'سادات', + 'ساعی', + 'سبحانی', + 'سبزواری', + 'ستاری', + 'سحاب', + 'سحابی', + 'سراج', + 'سرشار', + 'سرمد', + 'سروستانی', + 'سروش', + 'سلامت', + 'سپه‌وند', + 'سیف', + 'سیف‌زاده', + 'شادمهر', + 'شاملو', + 'شاه‌حسینی', + 'شبستری', + 'شجاعی', + 'شرع‌پسند', + 'شرف', + 'شریعتمداری', + 'شریعتی', + 'شریف', + 'شریفیان', + 'شعبانی', + 'شفا', + 'شهیدی', + 'شیخ‌الاسلامی', + 'شیدا', + 'شیرازی', + 'شیرمحمدی', + 'شیروانی', + 'کاشی', + 'کاملی', + 'کامکار', + 'کاویانی', + 'کاکاوند', + 'کدیور', + 'کرمانی', + 'کریمی', + 'کلباسی', + 'کمالی', + 'کهنمویی', + 'کوشکی', + 'کیان', + 'کیانی', + 'کیمیایی', + 'گل', + 'گلپایگانی', + 'گنجی', + 'صانعی', + 'صباغ', + 'صدر', + 'صدیق', + 'صدیقی', + 'صغیری', + 'صفوی', + 'ضابطی', + 'ضرغامی', + 'طالب‌زاده', + 'طالقانی', + 'طباطبائی', + 'طبیب‌زاده', + 'طریقت', + 'ظریف', + 'عارف', + 'عاشوری', + 'عالی', + 'عبادی', + 'عبدالملکی', + 'عبدالکریمی', + 'عراقی', + 'عزیزی', + 'عصار', + 'عقیلی', + 'علم', + 'علم‌الهدی', + 'علی', + 'علیا', + 'علی‌آبادی', + 'علی‌زمانی', + 'علی‌پور', + 'عنایت', + 'غضنفری', + 'غنی', + 'فارسی', + 'فاطمی', + 'فانی', + 'فتاحی', + 'فرامرزی', + 'فرج', + 'فرشیدورد', + 'فرمانفرمائیان', + 'فرهنگ', + 'فروتن', + 'فریاد', + 'فنایی', + 'فنی‌زاده', + 'فهمیده', + 'فولادوند', + 'قاضی', + 'قانعی', + 'قانونی', + 'قمیشی', + 'قنبری', + 'قهرمان', + 'قهرمانی', + 'قهرمانیان', + 'قهستانی', + 'لاجوردی', + 'لاهوتی', + 'لاچینی', + 'لنکرانی', + 'لوکس', + 'مجاهد', + 'مجتبایی', + 'مجتبوی', + 'مجتهد', + 'مجتهدی', + 'مجرد', + 'محجوب', + 'محجوبی', + 'محدثی', + 'محمدرضایی', + 'محمدی', + 'مددی', + 'مرادخانی', + 'مرتضوی', + 'مستوفی', + 'مشا', + 'مصاحب', + 'مصباح', + 'مصباح‌زاده', + 'مطهری', + 'مظفر', + 'معارف', + 'معروف', + 'معین', + 'مفتاح', + 'مفتح', + 'مقدم', + 'ملایری', + 'ملک', + 'ملکیان', + 'منوچهری', + 'مهاجرانی', + 'مهدی‌پور', + 'موحد', + 'موسوی', + 'موسویان', + 'میدری', + 'میرباقری', + 'میردامادی', + 'میرزاده', + 'میرسپاسی', + 'میزبانی', + 'ناظری', + 'نامور', + 'نجفی', + 'ندوشن', + 'نراقی', + 'نعمت‌زاده', + 'نقدی', + 'نقیب‌زاده', + 'نهاوندی', + 'نواب', + 'نوبخت', + 'نوبختی', + 'نیشابوری', + 'نیلوفری', + 'هاشمی', + 'هاشمی', + 'هاشمیان', + 'هامون', + 'هدایت', + 'هراتی', + 'هروی', + 'همایون', + 'همت', + 'همدانی', + 'هوشیار', + 'هومن', + 'واثقی', + 'واعظ', + 'واعظی', + 'واعظ‌زاده', + 'وکیلی', + 'یاحقی', + 'یثربی', + 'یلدا', + ]; + + protected static $titleMale = [ 'آقای', 'استاد', 'دکتر', 'مهندس' ]; + protected static $titleFemale = [ 'خانم', 'استاد', 'دکتر', 'مهندس' ]; + + /** + * This method returns a valid Iranian nationalCode + * + * @return string + * @see https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84 + * + * @example '8075859741' + * + */ + public static function nationalCode() { + $area = self::createAreaCode(); + $core = self::createCoreCode(); + $control = self::createControlCode( $area, $core ); + + return sprintf( '%03d%06d%01d', $area, $core, $control ); + } + + /** + * This method generates a 3-digit valid area code to be used in nationalCode + * + * @return int|string + */ + private static function createAreaCode() { + $area = '000'; + + while ( $area == '000' ) { + $area = static::numerify( '###' ); + } + + return $area; + } + + /** + * This method randomly generates a 6-digit core code for nationalCode + * + * @return string + */ + private static function createCoreCode() { + return static::numerify( '######' ); + } + + /** + * This method uses the Iranian nationalCode validation algorithm to generate a valid 10-digit code + * + * @param string $area + * @param string $core + * + * @return int + * @see https://fa.wikipedia.org/wiki/%DA%A9%D8%A7%D8%B1%D8%AA_%D8%B4%D9%86%D8%A7%D8%B3%D8%A7%DB%8C%DB%8C_%D9%85%D9%84%DB%8C#%D8%AD%D8%B3%D8%A7%D8%A8_%DA%A9%D8%B1%D8%AF%D9%86_%DA%A9%D8%AF_%DA%A9%D9%86%D8%AA%D8%B1%D9%84 + * + */ + private static function createControlCode( $area, $core ) { + $subNationalCodeString = $area . $core; + + $sum = 0; + $count = 0; + + for ( $i = 10; $i > 1; -- $i ) { + $sum += $subNationalCodeString[ $count ] * ( $i ); + ++ $count; + } + + if ( ( $sum % 11 ) < 2 ) { + return $sum % 11; + } + + return 11 - ( $sum % 11 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/PhoneNumber.php index a9606d0..4e7c503 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/PhoneNumber.php @@ -2,75 +2,73 @@ namespace Faker\Provider\fa_IR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @see https://fa.wikipedia.org/wiki/%D8%B4%D9%85%D8%A7%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AA%D9%84%D9%81%D9%86_%D8%AF%D8%B1_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86#.D8.AA.D9.84.D9.81.D9.86.E2.80.8C.D9.87.D8.A7.DB.8C_.D9.87.D9.85.D8.B1.D8.A7.D9.87 - */ - protected static $formats = [ // land line formts seprated by province - '011########', //Mazandaran - '013########', //Gilan - '017########', //Golestan - '021########', //Tehran - '023########', //Semnan - '024########', //Zanjan - '025########', //Qom - '026########', //Alborz - '028########', //Qazvin - '031########', //Isfahan - '034########', //Kerman - '035########', //Yazd - '038########', //Chaharmahal and Bakhtiari - '041########', //East Azerbaijan - '044########', //West Azerbaijan - '045########', //Ardabil - '051########', //Razavi Khorasan - '054########', //Sistan and Baluchestan - '056########', //South Khorasan - '058########', //North Khorasan - '061########', //Khuzestan - '066########', //Lorestan - '071########', //Fars - '074########', //Kohgiluyeh and Boyer-Ahmad - '076########', //Hormozgan - '077########', //Bushehr - '081########', //Hamadan - '083########', //Kermanshah - '084########', //Ilam - '086########', //Markazi - '087########', //Kurdistan - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @see https://fa.wikipedia.org/wiki/%D8%B4%D9%85%D8%A7%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D8%AA%D9%84%D9%81%D9%86_%D8%AF%D8%B1_%D8%A7%DB%8C%D8%B1%D8%A7%D9%86#.D8.AA.D9.84.D9.81.D9.86.E2.80.8C.D9.87.D8.A7.DB.8C_.D9.87.D9.85.D8.B1.D8.A7.D9.87 + */ + protected static $formats = [ // land line formts seprated by province + '011########', //Mazandaran + '013########', //Gilan + '017########', //Golestan + '021########', //Tehran + '023########', //Semnan + '024########', //Zanjan + '025########', //Qom + '026########', //Alborz + '028########', //Qazvin + '031########', //Isfahan + '034########', //Kerman + '035########', //Yazd + '038########', //Chaharmahal and Bakhtiari + '041########', //East Azerbaijan + '044########', //West Azerbaijan + '045########', //Ardabil + '051########', //Razavi Khorasan + '054########', //Sistan and Baluchestan + '056########', //South Khorasan + '058########', //North Khorasan + '061########', //Khuzestan + '066########', //Lorestan + '071########', //Fars + '074########', //Kohgiluyeh and Boyer-Ahmad + '076########', //Hormozgan + '077########', //Bushehr + '081########', //Hamadan + '083########', //Kermanshah + '084########', //Ilam + '086########', //Markazi + '087########', //Kurdistan + ]; - protected static $mobileNumberPrefixes = [ - '0910#######', //mci - '0911#######', - '0912#######', - '0913#######', - '0914#######', - '0915#######', - '0916#######', - '0917#######', - '0918#######', - '0919#######', - '0901#######', - '0901#######', - '0902#######', - '0903#######', - '0930#######', - '0933#######', - '0935#######', - '0936#######', - '0937#######', - '0938#######', - '0939#######', - '0920#######', - '0921#######', - '0937#######', - '0990#######', // MCI - ]; + protected static $mobileNumberPrefixes = [ + '0910#######', //mci + '0911#######', + '0912#######', + '0913#######', + '0914#######', + '0915#######', + '0916#######', + '0917#######', + '0918#######', + '0919#######', + '0901#######', + '0901#######', + '0902#######', + '0903#######', + '0930#######', + '0933#######', + '0935#######', + '0936#######', + '0937#######', + '0938#######', + '0939#######', + '0920#######', + '0921#######', + '0937#######', + '0990#######', // MCI + ]; - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileNumberPrefixes)); - } + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileNumberPrefixes ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Text.php b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Text.php index 75bd828..a0b7339 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fa_IR/Text.php @@ -2,80 +2,78 @@ namespace Faker\Provider\fa_IR; -class Text extends \Faker\Provider\Text -{ - /** - * generates text string in arabic - * - * @example 'از تاریخ‌الشعرا را بکوبند روی نبش دیوار کوچه‌شان. تابلوی مدرسه.' - * - * @param int $maxNbChars - * @param int $indexSize - * - * @throws \InvalidArgumentException - * - * @return string - */ - public function realText($maxNbChars = 200, $indexSize = 2) - { - if ($maxNbChars < 10) { - throw new \InvalidArgumentException('maxNbChars must be at least 10'); - } - - if ($indexSize < 1) { - throw new \InvalidArgumentException('indexSize must be at least 1'); - } - - if ($indexSize > 5) { - throw new \InvalidArgumentException('indexSize must be at most 5'); - } - - $words = $this->getConsecutiveWords($indexSize); - $result = []; - $resultLength = 0; - // take a random starting point - $next = static::randomKey($words); - - while ($resultLength < $maxNbChars && isset($words[$next])) { - // fetch a random word to append - $word = static::randomElement($words[$next]); - - // calculate next index - $currentWords = explode(' ', $next); - - $currentWords[] = $word; - array_shift($currentWords); - $next = implode(' ', $currentWords); - - if ($resultLength == 0 && !preg_match('/^[\x{0600}-\x{06FF}]/u', $word)) { - continue; - } - // append the element - $result[] = $word; - $resultLength += strlen($word) + 1; - } - - // remove the element that caused the text to overflow - array_pop($result); - - // build result - $result = implode(' ', $result); - - return $result . '.'; - } - - /** - * License: Creative Commons Attribution-ShareAlike License - * - * Title: مدیر مدرسه - * Author: جلال آل‌احمد - * Language: Persian - * - * @see http://fa.wikisource.org/wiki/%D9%85%D8%AF%DB%8C%D8%B1_%D9%85%D8%AF%D8%B1%D8%B3%D9%87 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * generates text string in arabic + * + * @param int $maxNbChars + * @param int $indexSize + * + * @return string + * @throws \InvalidArgumentException + * + * @example 'از تاریخ‌الشعرا را بکوبند روی نبش دیوار کوچه‌شان. تابلوی مدرسه.' + * + */ + public function realText( $maxNbChars = 200, $indexSize = 2 ) { + if ( $maxNbChars < 10 ) { + throw new \InvalidArgumentException( 'maxNbChars must be at least 10' ); + } + + if ( $indexSize < 1 ) { + throw new \InvalidArgumentException( 'indexSize must be at least 1' ); + } + + if ( $indexSize > 5 ) { + throw new \InvalidArgumentException( 'indexSize must be at most 5' ); + } + + $words = $this->getConsecutiveWords( $indexSize ); + $result = []; + $resultLength = 0; + // take a random starting point + $next = static::randomKey( $words ); + + while ( $resultLength < $maxNbChars && isset( $words[ $next ] ) ) { + // fetch a random word to append + $word = static::randomElement( $words[ $next ] ); + + // calculate next index + $currentWords = explode( ' ', $next ); + + $currentWords[] = $word; + array_shift( $currentWords ); + $next = implode( ' ', $currentWords ); + + if ( $resultLength == 0 && ! preg_match( '/^[\x{0600}-\x{06FF}]/u', $word ) ) { + continue; + } + // append the element + $result[] = $word; + $resultLength += strlen( $word ) + 1; + } + + // remove the element that caused the text to overflow + array_pop( $result ); + + // build result + $result = implode( ' ', $result ); + + return $result . '.'; + } + + /** + * License: Creative Commons Attribution-ShareAlike License + * + * Title: مدیر مدرسه + * Author: جلال آل‌احمد + * Language: Persian + * + * @see http://fa.wikisource.org/wiki/%D9%85%D8%AF%DB%8C%D8%B1_%D9%85%D8%AF%D8%B1%D8%B3%D9%87 + * + * @var string + */ + protected static $baseText = <<<'EOT' از در که وارد شدم سیگارم دستم بود. زورم آمد سلام کنم. همین طوری دنگم گرفته بود قد باشم. رئیس فرهنگ که اجازه‌ی نشستن داد، نگاهش لحظه‌ای روی دستم مکث کرد و بعد چیزی را که می‌نوشت، تمام کرد و می‌خواست متوجه من بشود که رونویس حکم را روی میزش گذاشته بودم. حرفی نزدیم. رونویس را با کاغذهای ضمیمه‌اش زیر و رو کرد و بعد غبغب انداخت و آرام و مثلاً خالی از عصبانیت گفت: - جا نداریم آقا. این که نمی‌شه! هر روز یه حکم می‌دند دست یکی می‌فرستنش سراغ من... دیروز به آقای مدیر کل... diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Address.php index d72951b..4272c13 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Address.php @@ -2,84 +2,298 @@ namespace Faker\Provider\fi_FI; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['Pohjois', 'Etelä', 'Itä', 'Länsi', 'Uusi', 'Uus']; - protected static $citySuffix = ['kylä', 'niemi', 'järvi', 'joki', 'lampi', 'mäki', 'vesi', 'niemi', 'harju', 'lahti', 'harju', 'salmi', 'koski', 'pudas', 'saari']; - protected static $buildingNumber = ['%###', '%##', '%#', '%']; - protected static $streetSuffix = [ - 'tie', 'kuja', 'polku', 'kierros', 'kulma', 'katu', 'kaarre', 'kaari', 'rinne', 'kaarto', 'haka', 'silta', 'rinne', 'töyry', - ]; - protected static $postcode = ['#####']; - protected static $state = [ - 'Ahvenanmaa', 'Etelä-Karjala', 'Etelä-Pohjanmaa', 'Etelä-Savo', 'Kainuu', 'Kanta-Häme', 'Keski-Pohjanmaa', 'Keski-Suomi', 'Kymenlaakso', 'Lappi', 'Pirkanmaa', 'Pohjanmaa', 'Pohjois-Karjala', 'Pohjois-Pohjanmaa', 'Pohjois-Savo', 'Päijät-Häme', 'Satakunta', 'Uusimaa', 'Varsinais-Suomi', - ]; - protected static $country = [ - 'Afganistan', 'Alankomaat', 'Albania', 'Algeria', 'Andorra', 'Angola', 'Antigua ja Barbuda', 'Argentiina', 'Armenia', 'Australia', 'Azerbaidẑan', - 'Bahama', 'Bahrain', 'Bangladesh', 'Barbados', 'Belgia', 'Belize', 'Benin', 'Bhutan', 'Bolivia', 'Bosnia ja Hertsegovina', 'Botswana', 'Brasilia', 'Brunel', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Chile', 'Costa Rica', - 'Djibouti', 'Dominica', 'Dominikaaninen tasavalta', - 'Ecuador', 'Egypti', 'El Salvador', 'Eritrea', 'Espanja', 'Etelä-Afrikka', 'Etelä-Korea', 'Etelä-Sudan', 'Etiopia', 'Fidẑi', 'Filippiinit', - 'Gabon', 'Gambia', 'Georgia', 'Ghana', 'Grenada', 'Guatemala', 'Guinea-Bissau', 'Guinea', 'Guyana', - 'Haiti', 'Honduras', - 'Indonesia', 'Intia', 'Irak', 'Iran', 'Irlanti', 'Islanti', 'Israel', 'Italia', 'Itä-Timor', 'Itävalta', - 'Jamaika', 'Japani', 'Jemen', 'Jordania', - 'Kambodẑa', 'Kamerun', 'Kanada', 'Kap Verde', 'Kazakstan', 'Kenia', 'Keski-Afrikan tasavalta', 'Kiina', 'Kirgisia', 'Kiribati', 'Kolumbia', 'Komorit', 'Kongon demokraattinen tasavalta', 'Kongon tasavalta', 'Kosovo', 'Kreikka', 'Kroatia', 'Kuuba', 'Kuwait', 'Kypros', - 'Laos', 'Latvia', 'Lesotho', 'Libanon', 'Liberai', 'Libya', 'Lichtenstein', 'Liettua', 'Luxemburg', - 'Madagaskar', 'Makedonia', 'Malawi', 'Malediivit', 'Malesia', 'Mali', 'Malta', 'Marokko', 'Marshallinsaaret', 'Mauritania', 'Mauritius', 'Meksiko', 'Mikronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Mosambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Nicaragua', 'Nigeria', 'Niger', 'Norja', 'Norsunluurannikko', - 'Oman', - 'Pakistan', 'Palau', 'Panama', 'Papua-Uusi-Guinea', 'Paraguay', 'Peru', 'Pohjois-Korea', 'Portugali', 'Puola', 'Päiväntasaajan Guinea', - 'Qatar', - 'Ranska', 'Romania', 'Ruanda', 'Ruotsi', - 'Saint Kitts ja Nevis', 'Saint Lucia', 'Saint Vincent ja Grenadiinit', 'Saksa', 'Salomonsaaret', 'Sambia', 'Samoa', 'San Marino', 'São Tomé ja Príncipe', 'Saudi-Arabia', 'Senegal', 'Serbia', 'Seychellit', 'Sierra Leone', 'Singapore', 'Slovakia', 'Somalia', 'Sri Lanka', 'Sudan', 'Suomi', 'Suriname', 'Swazimaa', 'Sveitsi', 'Syyria', - 'Tadẑikistan', 'Tansania', 'Tanska', 'Thaimaa', 'Togo', 'Tonga', 'Trinidad ja Tobago', 'Tšad', 'Tšekki', 'Tunisia', 'Turkki', 'Turkmenistan', 'Tuvalu', - 'Uganda', 'Ukraina', 'Unkari', 'Uruguay', 'Uusi-Seelanti', 'Uzbekistan', - 'Valko-Venäjä', 'Vanuatu', 'Vatikaanivaltio', 'Venzuela', 'Venäjä', 'Vietnam', 'Viro', - 'Yhdistyneet Arabiemiirikunnat', 'Yhdistynyt kuningaskunta', 'Yhdysvallat', - 'Zimbabwe', - ]; - protected static $cityFormats = [ - '{{cityPrefix}}-{{firstName}}{{citySuffix}}', - '{{cityPrefix}}-{{firstName}}', - '{{firstName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}}{{streetSuffix}}', - '{{lastName}}{{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}, {{state}}", - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - protected static $secondaryAddressFormats = ['###']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'Pohjois', 'Etelä', 'Itä', 'Länsi', 'Uusi', 'Uus' ]; + protected static $citySuffix = [ + 'kylä', + 'niemi', + 'järvi', + 'joki', + 'lampi', + 'mäki', + 'vesi', + 'niemi', + 'harju', + 'lahti', + 'harju', + 'salmi', + 'koski', + 'pudas', + 'saari' + ]; + protected static $buildingNumber = [ '%###', '%##', '%#', '%' ]; + protected static $streetSuffix = [ + 'tie', + 'kuja', + 'polku', + 'kierros', + 'kulma', + 'katu', + 'kaarre', + 'kaari', + 'rinne', + 'kaarto', + 'haka', + 'silta', + 'rinne', + 'töyry', + ]; + protected static $postcode = [ '#####' ]; + protected static $state = [ + 'Ahvenanmaa', + 'Etelä-Karjala', + 'Etelä-Pohjanmaa', + 'Etelä-Savo', + 'Kainuu', + 'Kanta-Häme', + 'Keski-Pohjanmaa', + 'Keski-Suomi', + 'Kymenlaakso', + 'Lappi', + 'Pirkanmaa', + 'Pohjanmaa', + 'Pohjois-Karjala', + 'Pohjois-Pohjanmaa', + 'Pohjois-Savo', + 'Päijät-Häme', + 'Satakunta', + 'Uusimaa', + 'Varsinais-Suomi', + ]; + protected static $country = [ + 'Afganistan', + 'Alankomaat', + 'Albania', + 'Algeria', + 'Andorra', + 'Angola', + 'Antigua ja Barbuda', + 'Argentiina', + 'Armenia', + 'Australia', + 'Azerbaidẑan', + 'Bahama', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belgia', + 'Belize', + 'Benin', + 'Bhutan', + 'Bolivia', + 'Bosnia ja Hertsegovina', + 'Botswana', + 'Brasilia', + 'Brunel', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Chile', + 'Costa Rica', + 'Djibouti', + 'Dominica', + 'Dominikaaninen tasavalta', + 'Ecuador', + 'Egypti', + 'El Salvador', + 'Eritrea', + 'Espanja', + 'Etelä-Afrikka', + 'Etelä-Korea', + 'Etelä-Sudan', + 'Etiopia', + 'Fidẑi', + 'Filippiinit', + 'Gabon', + 'Gambia', + 'Georgia', + 'Ghana', + 'Grenada', + 'Guatemala', + 'Guinea-Bissau', + 'Guinea', + 'Guyana', + 'Haiti', + 'Honduras', + 'Indonesia', + 'Intia', + 'Irak', + 'Iran', + 'Irlanti', + 'Islanti', + 'Israel', + 'Italia', + 'Itä-Timor', + 'Itävalta', + 'Jamaika', + 'Japani', + 'Jemen', + 'Jordania', + 'Kambodẑa', + 'Kamerun', + 'Kanada', + 'Kap Verde', + 'Kazakstan', + 'Kenia', + 'Keski-Afrikan tasavalta', + 'Kiina', + 'Kirgisia', + 'Kiribati', + 'Kolumbia', + 'Komorit', + 'Kongon demokraattinen tasavalta', + 'Kongon tasavalta', + 'Kosovo', + 'Kreikka', + 'Kroatia', + 'Kuuba', + 'Kuwait', + 'Kypros', + 'Laos', + 'Latvia', + 'Lesotho', + 'Libanon', + 'Liberai', + 'Libya', + 'Lichtenstein', + 'Liettua', + 'Luxemburg', + 'Madagaskar', + 'Makedonia', + 'Malawi', + 'Malediivit', + 'Malesia', + 'Mali', + 'Malta', + 'Marokko', + 'Marshallinsaaret', + 'Mauritania', + 'Mauritius', + 'Meksiko', + 'Mikronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Mosambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Nicaragua', + 'Nigeria', + 'Niger', + 'Norja', + 'Norsunluurannikko', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua-Uusi-Guinea', + 'Paraguay', + 'Peru', + 'Pohjois-Korea', + 'Portugali', + 'Puola', + 'Päiväntasaajan Guinea', + 'Qatar', + 'Ranska', + 'Romania', + 'Ruanda', + 'Ruotsi', + 'Saint Kitts ja Nevis', + 'Saint Lucia', + 'Saint Vincent ja Grenadiinit', + 'Saksa', + 'Salomonsaaret', + 'Sambia', + 'Samoa', + 'San Marino', + 'São Tomé ja Príncipe', + 'Saudi-Arabia', + 'Senegal', + 'Serbia', + 'Seychellit', + 'Sierra Leone', + 'Singapore', + 'Slovakia', + 'Somalia', + 'Sri Lanka', + 'Sudan', + 'Suomi', + 'Suriname', + 'Swazimaa', + 'Sveitsi', + 'Syyria', + 'Tadẑikistan', + 'Tansania', + 'Tanska', + 'Thaimaa', + 'Togo', + 'Tonga', + 'Trinidad ja Tobago', + 'Tšad', + 'Tšekki', + 'Tunisia', + 'Turkki', + 'Turkmenistan', + 'Tuvalu', + 'Uganda', + 'Ukraina', + 'Unkari', + 'Uruguay', + 'Uusi-Seelanti', + 'Uzbekistan', + 'Valko-Venäjä', + 'Vanuatu', + 'Vatikaanivaltio', + 'Venzuela', + 'Venäjä', + 'Vietnam', + 'Viro', + 'Yhdistyneet Arabiemiirikunnat', + 'Yhdistynyt kuningaskunta', + 'Yhdysvallat', + 'Zimbabwe', + ]; + protected static $cityFormats = [ + '{{cityPrefix}}-{{firstName}}{{citySuffix}}', + '{{cityPrefix}}-{{firstName}}', + '{{firstName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}}{{streetSuffix}}', + '{{lastName}}{{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}, {{state}}", + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + protected static $secondaryAddressFormats = [ '###' ]; - /** - * @example 'Pohjois' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'Pohjois' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example '123' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '123' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Pohjois-Pohjanmaa' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Pohjois-Pohjanmaa' + */ + public static function state() { + return static::randomElement( static::$state ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Company.php index ee60e8f..5f3026c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Company.php @@ -2,65 +2,265 @@ namespace Faker\Provider\fi_FI; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}}, {{lastName}} and {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}}, {{lastName}} and {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Ainoa', 'Adaptiivinen', 'Automatisoitu', 'Avoin', 'Avoimen lähdekoodin', 'Digitalisoitu', 'Dynaaminen', 'Erikoistunut', 'Ennakoiva', 'Ergonominen', 'Hallittu', 'Hajautettu', 'Horisontaalinen', 'Integroitu', 'Innovatiivinen', 'Jaettava', 'Keskittynyt', 'Käyttäjäystävällinen', 'Laajenettu', 'Laajennettava', 'Lievittävä', 'Maailmanlaajuinen', 'Muokattava', 'Monitoroitu', 'Monikerroksinen', 'Ohjelmoitava', 'Optimoitu', 'Organisoitu', 'Orgaaninen', 'Rinnastettava', 'Räätälöitävä', 'Saumaton', 'Tasapainotettava', 'Täysin yhteensopiva', 'Yhteensopiva', 'Yksinomainen', 'Vaiheittainen', 'Virtuaalinen', 'Visionäärinen', 'Valinnainen', 'Verkostoitunut', - ], - [ - '24/7', '3. sukupolven', '4. sukupolven', '5. sukupolven', '6. sukupolven', 'alueellinen', 'analysoiva', 'assymmetrinen', 'asynkroninen', 'asiakaslähtöinen', 'dynaaminen', 'globaali', 'heuristinen', 'hybridi', 'inkrementaalinen', 'interaktiivinen', 'kahtiajakautuva', 'kaksisuuntainen', 'konkreettinen', 'korkean tason', 'logistinen', 'johdonmukainen', 'maksimaalinen', 'moniajettava', 'multimedia', 'optimaalinen', 'optimoiva', 'omistautunut', 'paikallinen', 'reaaliaikainen', 'seuraavan sukupolven', 'skaalautuva', 'systeeminen', - ], - [ - 'algoritmi', 'yhteisö', 'analysaattori', 'sovellus', 'lähestymistapa', 'arkkitehtuuri', 'arkisto', 'ryhmä', 'sovitin', 'benchmark', 'kapasiteetti', 'tietokanta', 'piiri', 'emulaatio', 'konsepti', 'firmware', 'rakenne', 'funktio', 'rauta', 'help-desk', 'hierarkia', 'hubi', 'implementaatio', 'intranet', 'malli', 'ohjelmisto', 'ratkaisu', 'strategia', 'menestys', 'projekti', 'tuote', 'tuki', 'www-sivusto', 'synergia', 'protokolla', 'koodaus', 'ennuste', 'joustavuus', 'extranet', 'salaus', 'kompleksisuus', 'ydin', 'asenne', 'liitto', 'internetratkaisu', 'asennus', 'monitorointi', 'infrastruktuuri', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Ainoa', + 'Adaptiivinen', + 'Automatisoitu', + 'Avoin', + 'Avoimen lähdekoodin', + 'Digitalisoitu', + 'Dynaaminen', + 'Erikoistunut', + 'Ennakoiva', + 'Ergonominen', + 'Hallittu', + 'Hajautettu', + 'Horisontaalinen', + 'Integroitu', + 'Innovatiivinen', + 'Jaettava', + 'Keskittynyt', + 'Käyttäjäystävällinen', + 'Laajenettu', + 'Laajennettava', + 'Lievittävä', + 'Maailmanlaajuinen', + 'Muokattava', + 'Monitoroitu', + 'Monikerroksinen', + 'Ohjelmoitava', + 'Optimoitu', + 'Organisoitu', + 'Orgaaninen', + 'Rinnastettava', + 'Räätälöitävä', + 'Saumaton', + 'Tasapainotettava', + 'Täysin yhteensopiva', + 'Yhteensopiva', + 'Yksinomainen', + 'Vaiheittainen', + 'Virtuaalinen', + 'Visionäärinen', + 'Valinnainen', + 'Verkostoitunut', + ], + [ + '24/7', + '3. sukupolven', + '4. sukupolven', + '5. sukupolven', + '6. sukupolven', + 'alueellinen', + 'analysoiva', + 'assymmetrinen', + 'asynkroninen', + 'asiakaslähtöinen', + 'dynaaminen', + 'globaali', + 'heuristinen', + 'hybridi', + 'inkrementaalinen', + 'interaktiivinen', + 'kahtiajakautuva', + 'kaksisuuntainen', + 'konkreettinen', + 'korkean tason', + 'logistinen', + 'johdonmukainen', + 'maksimaalinen', + 'moniajettava', + 'multimedia', + 'optimaalinen', + 'optimoiva', + 'omistautunut', + 'paikallinen', + 'reaaliaikainen', + 'seuraavan sukupolven', + 'skaalautuva', + 'systeeminen', + ], + [ + 'algoritmi', + 'yhteisö', + 'analysaattori', + 'sovellus', + 'lähestymistapa', + 'arkkitehtuuri', + 'arkisto', + 'ryhmä', + 'sovitin', + 'benchmark', + 'kapasiteetti', + 'tietokanta', + 'piiri', + 'emulaatio', + 'konsepti', + 'firmware', + 'rakenne', + 'funktio', + 'rauta', + 'help-desk', + 'hierarkia', + 'hubi', + 'implementaatio', + 'intranet', + 'malli', + 'ohjelmisto', + 'ratkaisu', + 'strategia', + 'menestys', + 'projekti', + 'tuote', + 'tuki', + 'www-sivusto', + 'synergia', + 'protokolla', + 'koodaus', + 'ennuste', + 'joustavuus', + 'extranet', + 'salaus', + 'kompleksisuus', + 'ydin', + 'asenne', + 'liitto', + 'internetratkaisu', + 'asennus', + 'monitorointi', + 'infrastruktuuri', + ], + ]; - protected static $bsWords = [ - [ - 'implementoi', 'käyttää', 'integroi', 'optimoi', 'kehittää', 'muuntaa', 'omaksuu', 'mahdollistaa', 'orkestoi', 'uudelleenkeksii', 'kerää', 'kokoaa', 'kasvattaa', 'parantaa', 'helpottaa', 'toimittaa', 'antaa', 'täyttää', 'vapauttaa', 'ajaa', 'jatkaa', 'mullistaa', 'iteroi', 'generoi', 'hyödyntää', 'brandaa', 'muokkaa', 'kasvattaa', 'kytkee', 'innovoi', 'viljelee', 'visualisoi', - ], - [ - 'maailmanluokan', '24/7', 'maailmanlaajuisia', 'interaktiivisia', 'seksikkäitä', 'rikkaita', 'visionäärisiä', 'parhaita', 'viraaleja', 'dynaamisia', 'strategisia', 'vallankumouksellisia', '24/365', 'e-bisnes', 'virtuaalisia', 'intuitiivisia', 'ennakoivia', 'kitkattomia', 'jaettuja', 'reaaliaikaisia', 'huippuluokan', 'tehokkaita', 'suorituskykyisiä', 'pystyviä', 'laajennettavissa olevia', 'venyviä', 'yhteisvaikutteisia', 'seuraavan sukupolven', 'plug-and-play', 'yhteistyökykyisiä', 'kustomoituja', 'langattomia', 'selkeitä', 'avoimen lähdekoodin', - ], - [ - 'kanavia', 'silmämunia', 'ratkaisuja', 'e-palveluja', 'portaaleja', 'teknologioita', 'käyttäjiä', 'verkkoja', 'palveluita', 'ohjelmia', 'web-ohjelmistoja', 'kokemuksia', 'systeemejä', 'rajapintoja', 'yhteisöjä', 'markkinarakoja', 'skeemoja', 'arkkitehtuureja', 'malleja', 'sisältöä', 'mainoksia', - ], - ]; + protected static $bsWords = [ + [ + 'implementoi', + 'käyttää', + 'integroi', + 'optimoi', + 'kehittää', + 'muuntaa', + 'omaksuu', + 'mahdollistaa', + 'orkestoi', + 'uudelleenkeksii', + 'kerää', + 'kokoaa', + 'kasvattaa', + 'parantaa', + 'helpottaa', + 'toimittaa', + 'antaa', + 'täyttää', + 'vapauttaa', + 'ajaa', + 'jatkaa', + 'mullistaa', + 'iteroi', + 'generoi', + 'hyödyntää', + 'brandaa', + 'muokkaa', + 'kasvattaa', + 'kytkee', + 'innovoi', + 'viljelee', + 'visualisoi', + ], + [ + 'maailmanluokan', + '24/7', + 'maailmanlaajuisia', + 'interaktiivisia', + 'seksikkäitä', + 'rikkaita', + 'visionäärisiä', + 'parhaita', + 'viraaleja', + 'dynaamisia', + 'strategisia', + 'vallankumouksellisia', + '24/365', + 'e-bisnes', + 'virtuaalisia', + 'intuitiivisia', + 'ennakoivia', + 'kitkattomia', + 'jaettuja', + 'reaaliaikaisia', + 'huippuluokan', + 'tehokkaita', + 'suorituskykyisiä', + 'pystyviä', + 'laajennettavissa olevia', + 'venyviä', + 'yhteisvaikutteisia', + 'seuraavan sukupolven', + 'plug-and-play', + 'yhteistyökykyisiä', + 'kustomoituja', + 'langattomia', + 'selkeitä', + 'avoimen lähdekoodin', + ], + [ + 'kanavia', + 'silmämunia', + 'ratkaisuja', + 'e-palveluja', + 'portaaleja', + 'teknologioita', + 'käyttäjiä', + 'verkkoja', + 'palveluita', + 'ohjelmia', + 'web-ohjelmistoja', + 'kokemuksia', + 'systeemejä', + 'rajapintoja', + 'yhteisöjä', + 'markkinarakoja', + 'skeemoja', + 'arkkitehtuureja', + 'malleja', + 'sisältöä', + 'mainoksia', + ], + ]; - protected static $companySuffix = ['OY', 'AB', 'OY AB', 'RY', 'OYj', 'Tmi.', 'Inc.', 'Ltd']; + protected static $companySuffix = [ 'OY', 'AB', 'OY AB', 'RY', 'OYj', 'Tmi.', 'Inc.', 'Ltd' ]; - /** - * @example 'Ainoa 3.sukupolven ohjelmisto' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Ainoa 3.sukupolven ohjelmisto' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'hyödyntää maailmanlaajuisia yhteisöjä' - */ - public function bs() - { - $result = []; + /** + * @example 'hyödyntää maailmanlaajuisia yhteisöjä' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Internet.php index 8fba5f2..b54f797 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\fi_FI; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'jippii.fi', 'luukku.com']; - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'fi']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'jippii.fi', 'luukku.com' ]; + protected static $tld = [ 'com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'fi' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Payment.php index 0daafe7..1089670 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\fi_FI; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'FI', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'FI', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Person.php index 328a44b..663a21b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/Person.php @@ -2,154 +2,1307 @@ namespace Faker\Provider\fi_FI; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'Aleksi', 'Anssi', 'Antero', 'Antti', 'Ari', 'Arttu', 'Daniel', 'Eero', 'Eetu', 'Elias', 'Elmo', 'Emil', 'Erkki', - 'Hampus', 'Hannu', 'Harri', 'Heikki', 'Helmi', 'Henri', 'Hermanni', 'Ilja', 'Jaakko', 'Jake', 'Jani', 'Janne', - 'Jari', 'Jarno', 'Jere', 'Jeremy', 'Jesper', 'Jesse', 'Jimi', 'Joakim', 'Joel', 'Joona', 'Joonas', 'Juha', - 'Juho', 'Jukka', 'Julius', 'Jussi', 'Justus', 'Juuso', 'Kalle', 'Kasperi', 'Konsta', 'Kristian', 'Lassi', 'Leevi', - 'Leo', 'Levin', 'Luca', 'Lukas', 'Magnus', 'Marko', 'Markus', 'Matias', 'Matti', 'Miika', 'Mika', 'Mikael', - 'Mikko', 'Neo', 'Nico', 'Niklas', 'Niko', 'Oliver', 'Oskari', 'Ossi', 'Otto', 'Paavo', 'Pasi', 'Patrik', - 'Paulus', 'Peetu', 'Pekka', 'Pertti', 'Petri', 'Petteri', 'Pyry', 'Rami', 'Rasmus', 'Riku', 'Risto', 'Roope', - 'Saku', 'Sami', 'Samu', 'Samuel', 'Samuli', 'Santeri', 'Taneli', 'Tatu', 'Teemu', 'Teppo', 'Tero', 'Timo', - 'Tomi', 'Tommi', 'Topi', 'Touko', 'Tuomas', 'Tuomo', 'Tuukka', 'Tuukka', 'Valtteri', 'Veli', 'Viljo', 'Ville', - 'Aake', 'Aapeli', 'Aapo', 'Aappo', 'Aarni', 'Aaro', 'Aatto', 'Aatu', 'Akseli', 'Aku', 'Antton', 'Artturi', - 'Aune', 'Beeda', 'Briitta', 'Eeli', 'Eelis', 'Eemeli', 'Ekku', 'Eljas', 'Erkko', 'Iiro', 'Ilmari', 'Isto', - 'Jirko', 'Joonatan', 'Jore', 'Junnu', 'Jusu', 'Kaste', 'Kauto', 'Luukas', 'Nuutti', 'Onni', 'Osmo', 'Pekko', - 'Sampo', 'Santtu', 'Sauli', 'Simo', 'Sisu', 'Teijo', 'Unto', 'Urho', 'Veeti', 'Veikko', 'Vilho', 'Werneri', 'Wiljami', - - ]; - - protected static $firstNameFemale = [ - 'Aada', 'Ada', 'Aina', 'Aino', 'Aki', 'Aliisa', 'Amalia', 'Amanda', 'Amelia', 'Amira', 'Anissa', 'Anita', 'Anna', - 'Anne', 'Anni', 'Anniina', 'Annu', 'Anu', 'Asta', 'Atte', 'Atte', 'Aura', 'Aurora', 'Bella', 'Cara', - 'Celina', 'Christa', 'Christel', 'Clara', 'Cornelia', 'Dani', 'Eija', 'Elea', 'Elina', 'Elisa', 'Elise', 'Ella', - 'Ellen', 'Elma', 'Emilia', 'Emma', 'Emmi', 'Enna', 'Erja', 'Esa', 'Essi', 'Eva', 'Eveliina', 'Fanni', - 'Fiona', 'Hanna', 'Heidi', 'Heli', 'Helinä', 'Henna', 'Hilda', 'Hilja', 'Hilla', 'Hilma', 'Iida', 'Iina', - 'Iiris', 'Ilona', 'Inka', 'Inkeri', 'Inna', 'Isabella', 'Jade', 'Jami', 'Janette', 'Janika', 'Janina', 'Janita', - 'Janna', 'Janni', 'Jasmiina', 'Jenna', 'Jenni', 'Jessica', 'Johanna', 'Joni', 'Jonna', 'Julia', 'Juulia', 'Kaija', - 'Karla', 'Karri', 'Kati', 'Katja', 'Katri', 'Kia', 'Kimi', 'Kirsi', 'Krista', 'Lari', 'Laura', 'Lauri', - 'Lea', 'Lila', 'Linnea', 'Lotta', 'Lumina', 'Maarit', 'Maia', 'Maija', 'Maiju', 'Maisa', 'Mari', 'Maria', - 'Meeri', 'Meri', 'Mette', 'Mia', 'Milla', 'Mimi', 'Mimosa', 'Minna', 'Mira', 'Mirella', 'Miska', 'Nadja', - 'Natalia', 'Nea', 'Neea', 'Nella', 'Nia', 'Niina', 'Noora', 'Olga', 'Olivia', 'Oona', 'Outi', 'Paula', - 'Pauliina', 'Petra', 'Pia', 'Piia', 'Pinja', 'Päivi', 'Reeta', 'Reetta', 'Riikka', 'Riina', 'Ritva', 'Roni', - 'Ronja', 'Sanna', 'Sari', 'Satu', 'Seija', 'Sirpa', 'Siru', 'Susanna', 'Tanja', 'Tara', 'Taru', 'Tea', - 'Terhi', 'Tiia', 'Tiina', 'Tiiu', 'Tinja', 'Veera', 'Vili', 'Vilma', 'Wilma', 'Aamu', 'Aliina', 'Annilotta', - 'Eerika', 'Eeva', 'Eevi', 'Eliina', 'Elviira', 'Emmaliina', 'Enni', 'Ennika', 'Helmiina', 'Henniina', - 'Hertta', 'Hilppa', 'Iia', 'Iita', 'Jadessa', 'Jemina', 'Jenika', 'Jermia', 'Jooa', 'Juttamari', 'Kaisla', - 'Kaisu', 'Loviisa', 'Malla', 'Martta', 'Matleena', 'Miina', 'Mimmu', 'Minea', 'Minttu', 'Mirva', 'Nelli', 'Ninni', - 'Oliivia', 'Peppi', 'Pihla', 'Pirkko', 'Riia', 'Roosa', 'Taika', 'Venla', 'Viivi', 'Vilja', - ]; - - protected static $lastName = [ - 'Aakula', 'Aalto', 'Aaltonen', 'Aarnio', 'Aaronen', 'Aavikkola', 'Ahmala', 'Aho', 'Ahokas', 'Ahola', 'Ahomaa', 'Ahonen', 'Ahoniemi', 'Ahopelto', 'Ahovaara', 'Ahtila', 'Ahtiluoto', 'Ahtio', 'Ahtisaari', 'Ahto', 'Ahtola', 'Ahtonen', 'Ahtorinne', 'Aija', 'Aijala', 'Ainola', 'Aitio', 'Aitolahti', 'Aitomaa', 'Aittasalmi', 'Akkala', 'Akkanen', 'Alahuhta', 'Alajoki', 'Alajärvi', 'Alanen', 'Alatalo', 'Alasalmi', 'Alapuro', 'Alhola', 'Alijoki', 'Ankkala', 'Ankkuri', 'Annala', 'Annunen', 'Anttila', 'Anttinen', 'Anttonen', 'Ara', 'Arhila', 'Arhinmäki', 'Arhosuo', 'Arinen', 'Arjamaa', 'Arjanen', 'Arkkila', 'Armio', 'Arnio', 'Aronen', 'Arosuo', 'Arponen', 'Arvola', 'Asikainen', 'Astala', 'Attila', 'Aunela', 'Aura', 'Auramies', 'Auranen', 'Autio', 'Auvinen', 'Auvola', 'Avonius', 'Avotie', - 'Bräysy', - 'Davidsainen', 'Dufva', - 'Eerikäinen', 'Eerola', 'Einel', 'Eino', 'Einola', 'Einonen', 'Ekman', 'Ekola', 'Ellilä', 'Ellinen', 'Elomaa', 'Eloharju', 'Eloranta', 'Eno', 'Enola', 'Enäjärvi', 'Erkinjuntti', 'Erkkilä', 'Erkkinen', 'Erkko', 'Erkkola', 'Ernamo', 'Erola', 'Eronen', 'Ervola', 'Eräharju', 'Erämaja', 'Eränen', 'Eskelinen', 'Eskelä', 'Eskola', 'Evelä', 'Evilä', - 'Filppula', 'Finni', 'Frändilä', 'Fränti', - 'Haahka', 'Haahkola', 'Haanpää', 'Haapakorpi', 'Haapala', 'Haapanen', 'Haaparanta', 'Haapasalmi', 'Haapasalo', 'Haapkylä', 'Haapoja', 'Haataja', 'Haavisto', 'Haikala', 'Haikara', 'Hakala', 'Hakkarainen', 'Hakki', 'Hakula', 'Halinen', 'Halkola', 'Halkonen', 'Halla', 'Hallaper', 'Hallapuro', 'Hallikainen', 'Hallila', 'Hallonen', 'Halme', 'Halmela', 'Halmelahti', 'Halonen', 'Halttunen', 'Hammas', 'Hanhela', 'Hanhinen', 'Hannula', 'Hannunen', 'Hapola', 'Harjamäki', 'Harju', 'Harjula', 'Harjunpää', 'Harkimo', 'Hautakangas', 'Hautakoski', 'Hautala', 'Hautamäki', 'Haverinen', 'Havukoski', 'Heikkilä', 'Heikkinen', 'Heimola', 'Heinälä', 'Heiskanen', 'Heiskari', 'Helenius', 'Helinen', 'Helismaa', 'Helmel', 'Helovirta', 'Helppolainen', 'Helstel', 'Hellgren', 'Hentinen', 'Hento', 'Hepomäki', 'Heponen', 'Herranen', 'Hervanta', 'Hervanto', 'Hekkaharju', 'Hiesu', 'Hietala', 'Hietanen', 'Hiltunen', 'Heintikainen', 'Hirvelä', 'Hirvi', 'Hirvikangas', 'Hirvonen', 'Hoikkala', 'Hoikkanen', 'Holappa', 'Holkeri', 'Hongisto', 'Honkanen', 'Hovi', 'Huhta', 'Huhtala', 'Hukkala', 'Huopainen', 'Huotari', 'Huovinen', 'Huttunen', 'Huuhka', 'Huurinainen', 'Huusko', 'Huvinen', 'Hyppölä', 'Hyppönen', 'Hytölä', 'Hyypiä', 'Hyyppä', 'Häkkinen', 'Häkämies', 'Hämäläinen', 'Hänninen', 'Härkönen', - 'Ihalainen', 'Ikola', 'Ikonen', 'Ilmarinen', 'Ilomäki', 'Iloniemi', 'Ilvesniemi', 'Immonen', 'Inkeri', 'Inkinen', 'Isoluoma', 'Isomäki', 'Isotalo', 'Itkonen', 'Itävaara', 'Itävuori', - 'Jaakkola', 'Jaakkonen', 'Jaakonmaa', 'Jaatinen', 'Jakkila', 'Jalonen', 'Jauhiainen', 'Jauho', 'Joenhaara', 'Johto', 'Jokelainen', 'Jokihaara', 'Jokimies', 'Jokinen', 'Jortikka', 'Joru', 'Junkkari', 'Juntti', 'Juppi', 'Jurva', 'Jurvala', 'Jurvanen', 'Jussila', 'Juustinen', 'Juuti', 'Juvanen', 'Juvonen', 'Jylhä', 'Jänis', 'Jäppinen', 'Järvelä', 'Jääskeläinen', - 'Kaakko', 'Kaikkonen', 'Kainulainen', 'Kaista', 'Kaivola', 'Kakkola', 'Kakkonen', 'Kalinainen', 'Kalkkinen', 'Kalliala', 'Kallio', 'Kaillomäki', 'Kalmo', 'Kalvo', 'Kamari', 'Kamppinen', 'Kanala', 'Kangaskorte', 'Kangassalo', 'Kannelmaa', 'Kannelmäki', 'Kantele', 'Kantola', 'Kapanen', 'Karalahti', 'Karhu', 'Karjalainen', 'Karpela', 'Karppinen', 'Karukoski', 'Karvonen', 'Katainen', 'Kataja', 'Kauhala', 'Kaukovaara', 'Kauppala', 'Kauppinen', 'Kaurismäki', 'Kekkonen', 'Kerava', 'Kerttula', 'Keskinen', 'Keskioja', 'Ketola', 'Ketonen', 'Kettula', 'Kieli', 'Kiianen', 'Kiille', 'Kimalainen', 'Kiiski', 'Kinnula', 'Kinnunen', 'Kiskonen', 'Kissala', 'Kivi', 'Kiviniemi', 'Kivistö', 'Koirala', 'Koivisto', 'Koivula', 'Koivulehto', 'Koivuniemi', 'Kokkonen', 'Kolehmainen', 'Komulainen', 'Konttinen', 'Kontunen', 'Korhonen', 'Koriseva', 'Kortesjärvi', 'Koskela', 'Koskelainen', 'Kosonen', 'Kotanen', 'Koukkula', 'Kouvonen', 'Kovalainen', 'Krapu', 'Krekelä', 'Kujala', 'Kujanpää', 'Kukkala', 'Kukkamäki', 'Kukkonen', 'Kultala', 'Kumpula', 'Kumpulainen', 'Kunnas', 'Kuoppala', 'Kuosmanen', 'Kurkela', 'Kurki', 'Kuusijärvi', 'Kyllönen', 'Kynsijärvi', 'Kynsilehto', 'Kärki', 'Kärkkäinen', - 'Laakkola', 'Laakkonen', 'Laakso', 'Laaksonen', 'Laatikainen', 'Lahdenpää', 'Laine', 'Lainela', 'Lakka', 'Lampinen', 'Lappalainen', 'Lassinen', 'Laurila', 'Lauronen', 'Lavola', 'Lehmälä', 'Lehtimäki', 'Lehtinen', 'Lehtisalo', 'Lehto', 'Lehtonen', 'Leino', 'Lepistö', 'Lepomäki', 'Leppilampi', 'Leppäkorpi', 'Leppälä', 'Leppävirta', 'Leskinen', 'Liimatainen', 'Lind', 'Linnala', 'Linnamäki', 'Lippo', 'Litmanen', 'Litvala', 'Liukkonen', 'Loiri', 'Lukkari', 'Lumme', 'Luoma', 'Luukkonen', 'Lyly', 'Lyytikäinen', 'Lähteenmäki', 'Lämsä', - 'Maahinen', 'Made', 'Maijala', 'Makkonen', 'Malmi', 'Malmivaara', 'Mannila', 'Manninen', 'Mannonen', 'Mansikka-aho', 'Mansikkaoja', 'Marila', 'Marjala', 'Marjamäki', 'Marjola', 'Marjomaa', 'Marjonen', 'Markkanen', 'Markkula', 'Markuksela', 'Markus', 'Martikainen', 'Marttinen', 'Masala', 'Masanen', 'Matomäki', 'Mattila', 'Maunula', 'Maunola', 'Melasniemi', 'Merelä', 'Merilä', 'Meriläinen', 'Merimaa', 'Metsoja', 'Metsälampi', 'Metsäoja', 'Mielonen', 'Miettinen', 'Mikkola', 'Mikkonen', 'Muhonen', 'Mujunen', 'Murola', 'Mustapää', 'Mustonen', 'Muurinen', 'Myllymäki', 'Myllypuro', 'Myllys', 'Mylläri', 'Mäenpää', 'Mäkelä', 'Mäki', 'Mäkinen', 'Mäntylä', 'Määttä', 'Möttönen', - 'Naula', 'Naulapää', 'Neuvonen', 'Nevala', 'Niemelä', 'Niemi', 'Nieminen', 'Niemistö', 'Niinimaa', 'Niinistö', 'Niiranen', 'Nikkanen', 'Nikkilä', 'Nikula', 'Nikulainen', 'Niskala', 'Nisukangas', 'Niukkanen', 'Nokelainen', 'Nokkonen', 'Notkonen', 'Nousiainen', 'Nukka', 'Nummelin', 'Nuotio', 'Nurkkala', 'Nurmela', 'Nurmi', 'Nurminiemi', 'Nurminen', 'Nuutti', 'Nykänen', 'Nyman', 'Närvälä', 'Näätänen', - 'Oikkonen', 'Oikonen', 'Oinonen', 'Oja', 'Ojala', 'Ojamäki', 'Ojanen', 'Ojaniemi', 'Oksala', 'Oksanen', 'Ollikainen', 'Ollila', 'Ollinen', 'Oravainen', 'Oravala', 'Otsamo', 'Outinen', 'Ovaska', - 'Paajanen', 'Paakkanen', 'Paananen', 'Paasikivi', 'Paasilinna', 'Paasonen', 'Paavola', 'Pahajoki', 'Pahkasalo', 'Pajumäki', 'Pajunen', 'Pakarinen', 'Pakkala', 'Pakola', 'Pallas', 'Paloheimo', 'Palola', 'Palomäki', 'Parkkonen', 'Pekkala', 'Pekkarinen', 'Pelkonen', 'Peltomaa', 'Pennanen', 'Pennilä', 'Pentikäinen', 'Penttilä', 'Perniö', 'Pesola', 'Pesonen', 'Peuranen', 'Peuraniemi', 'Pietilä', 'Piippola', 'Piirainen', 'Pikkarainen', 'Pirttijärvi', 'Pirttikangas', 'Pitkämäki', 'Pohtamo', 'Porkkala', 'Poronen', 'Poropudas', 'Puhakainenä', 'Puhakka', 'Pukkila', 'Pulli', 'Puolakka', 'Puuperä', 'Pyykkö', 'Pyykkönen', 'Päivälä', 'Päivärinta', 'Pääkkönen', 'Pöllönen', 'Pöntinen', 'Pöysti', - 'Raappana', 'Raatikainen', 'Raatila', 'Rahka', 'Rahkala', 'Raiskio', 'Raitanen', 'Raittila', 'Rajamäki', 'Ramu', 'Ranta', 'Rantamaa', 'Rapala', 'Rasila', 'Rasmus', 'Rauhala', 'Rauhanen', 'Rautaporras', 'Rautavirta', 'Rautio', 'Rehu', 'Reinikainen', 'Reinikka', 'Rekomaa', 'Repo', 'Repola', 'Riihimäki', 'Riikonen', 'Rimmanen', 'Rinne', 'Rinta', 'Rintamäki', 'Ristilä', 'Ritari', 'Rokko', 'Ronkainen', 'Roponen', 'Ruhanen', 'Rumpunen', 'Runtti', 'Ruohoniemi', 'Ruonala', 'Ruonansuu', 'Ruotsalainen', 'Ruuhonen', 'Ruuskari', 'Ruusula', 'Ruutti', 'Ryhänen', 'Ryti', 'Ryysyläinen', 'Räikkönen', 'Räisänen', 'Räsänen', - 'Saanila', 'Saarela', 'Saarenheimo', 'Saari', 'Saarikivi', 'Saarnio', 'Saarnivaara', 'Saastamoinen', 'Saikkonen', 'Saksala', 'Salenius', 'Salmela', 'Salmelainen', 'Salo', 'Salolainen', 'Salonen', 'Saloranta', 'Samulin', 'Sannala', 'Santanen', 'Saraste', 'Sarasvuo', 'Saukko', 'Savioja', 'Savolainen', 'Selänne', 'Seppelin', 'Seppänen', 'Seppälä', 'Servo', 'Setänen', 'Siekkinen', 'Sievinen', 'Sihvonen', 'Siira', 'Siltonen', 'Sikala', 'Silakka', 'Sillanpää', 'Siltala', 'Silvennoinen', 'Simo', 'Simonen', 'Sinnemäki', 'Sipilä', 'Sipola', 'Sirkesalo', 'Sirviö', 'Raiski', 'Soikkeli', 'Soini', 'Sonninen', 'Soppela', 'Sorajoki', 'Sormunen', 'Sorsa', 'Suhonen', 'Suikkala', 'Summanen', 'Suomela', 'Suominen', 'Suosalo', 'Susiluoto', 'Sutinen', 'Suuronen', 'Suutarinen', 'Suvela', 'Sydänmäki', 'Syrjä', 'Syrjälä', 'Säkkinen', 'Särkkä', - 'Taavettila', 'Taavila', 'Taavitsainen', 'Taipale', 'Takkala', 'Takkula', 'Tamminen', 'Tammisto', 'Tanskanen', 'Tapio', 'Tapola', 'Tarvainen', 'Taskinen', 'Tastula', 'Tauriainen', 'Tenkanen', 'Teppo', 'Tervo', 'Tervonen', 'Teräsniska', 'Tiainen', 'Tiilikainen', 'Timonen', 'Toijala', 'Toikkanen', 'Toivanen', 'Tokkola', 'Tolonen', 'Torkkeli', 'Tuisku', 'Tukiainen', 'Tulkki', 'Tuomela', 'Tuominen', 'Tuomisto', 'Tuppurainen', 'Turpeinen', 'Turunen', 'Tuutti', 'Tynkkynen', 'Typpö', 'Tyrninen', 'Törrö', 'Törrönen', - 'Ukkola', 'Ulvila', 'Unhola', 'Uosukainen', 'Urhonen', 'Uronen', 'Urpalainen', 'Urpilainen', 'Utriainen', 'Uusikari', 'Uusikylä', 'Uusisalmi', 'Uusitalo', - 'Vaara', 'Vahala', 'Vahanen', 'Vahvanen', 'Vainio', 'Valjakka', 'Valo', 'Valtanen', 'Vanhanen', 'Vanhoja', 'Varjus', 'Vartiainen', 'Vasala', 'Vauhkonen', 'Veijonen', 'Veini', 'Vennala', 'Vennamo', 'Vepsäläinen', 'Vesa', 'Vesuri', 'Veteläinen', 'Vierikko', 'Vihtanen', 'Viikate', 'Viinanen', 'Viinikka', 'Vilhola', 'Viljanen', 'Vilkkula', 'Vilpas', 'Virkkula', 'Virkkunen', 'Virolainen', 'Virtala', 'Voutilainen', 'Vuokko', 'Vuorenpää', 'Vuorikoski', 'Vuorinen', 'Vähälä', 'Väisälä', 'Väisänen', 'Välimaa', 'Välioja', 'Väyrynen', 'Väätänen', - 'Wettenranta', 'Wiitanen', 'Wirtanen', 'Wiskari', - 'Ylijälä', 'Yliannala', 'Ylijoki', 'Ylikangas', 'Ylioja', 'Ylitalo', 'Ylppö', 'Yläjoki', 'Yrjänen', 'Yrjänä', 'Yrjölä', 'Yrttiaho', 'Yömaa', - 'Äijälä', 'Ämmälä', 'Änäkkälä', 'Äyräs', 'Äärynen', - 'Översti', 'Öysti', 'Öörni', - ]; - - protected static $titleMale = ['Hra.', 'Tri.']; - - protected static $titleFemale = ['Rva.', 'Nti.', 'Tri.']; - - /** - * National Personal Identity Number (Henkilötunnus) - * - * @see http://www.finlex.fi/fi/laki/ajantasa/2010/20100128 - * - * @param \DateTime $birthdate - * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE - * - * @return string on format DDMMYYCZZZQ, where DDMMYY is the date of birth, C the century sign, ZZZ the individual number and Q the control character (checksum) - */ - public function personalIdentityNumber(\DateTime $birthdate = null, $gender = null) - { - $checksumCharacters = '0123456789ABCDEFHJKLMNPRSTUVWXY'; - - if (!$birthdate) { - $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); - } - $datePart = $birthdate->format('dmy'); - - switch ((int) ($birthdate->format('Y') / 100)) { - case 18: - $centurySign = '+'; - - break; - - case 19: - $centurySign = '-'; - - break; - - case 20: - $centurySign = 'A'; - - break; - - default: - throw new \InvalidArgumentException('Year must be between 1800 and 2099 inclusive.'); - } - - $randomDigits = self::numberBetween(0, 89); - - if ($gender && $gender == static::GENDER_MALE) { - if ($randomDigits === 0) { - $randomDigits .= static::randomElement([3, 5, 7, 9]); - } else { - $randomDigits .= static::randomElement([1, 3, 5, 7, 9]); - } - } elseif ($gender && $gender == static::GENDER_FEMALE) { - if ($randomDigits === 0) { - $randomDigits .= static::randomElement([2, 4, 6, 8]); - } else { - $randomDigits .= static::randomElement([0, 2, 4, 6, 8]); - } - } else { - if ($randomDigits === 0) { - $randomDigits .= self::numberBetween(2, 9); - } else { - $randomDigits .= (string) static::numerify('#'); - } - } - $randomDigits = str_pad($randomDigits, 3, '0', STR_PAD_LEFT); - - $checksum = $checksumCharacters[(int) ($datePart . $randomDigits) % strlen($checksumCharacters)]; - - return $datePart . $centurySign . $randomDigits . $checksum; - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'Aleksi', + 'Anssi', + 'Antero', + 'Antti', + 'Ari', + 'Arttu', + 'Daniel', + 'Eero', + 'Eetu', + 'Elias', + 'Elmo', + 'Emil', + 'Erkki', + 'Hampus', + 'Hannu', + 'Harri', + 'Heikki', + 'Helmi', + 'Henri', + 'Hermanni', + 'Ilja', + 'Jaakko', + 'Jake', + 'Jani', + 'Janne', + 'Jari', + 'Jarno', + 'Jere', + 'Jeremy', + 'Jesper', + 'Jesse', + 'Jimi', + 'Joakim', + 'Joel', + 'Joona', + 'Joonas', + 'Juha', + 'Juho', + 'Jukka', + 'Julius', + 'Jussi', + 'Justus', + 'Juuso', + 'Kalle', + 'Kasperi', + 'Konsta', + 'Kristian', + 'Lassi', + 'Leevi', + 'Leo', + 'Levin', + 'Luca', + 'Lukas', + 'Magnus', + 'Marko', + 'Markus', + 'Matias', + 'Matti', + 'Miika', + 'Mika', + 'Mikael', + 'Mikko', + 'Neo', + 'Nico', + 'Niklas', + 'Niko', + 'Oliver', + 'Oskari', + 'Ossi', + 'Otto', + 'Paavo', + 'Pasi', + 'Patrik', + 'Paulus', + 'Peetu', + 'Pekka', + 'Pertti', + 'Petri', + 'Petteri', + 'Pyry', + 'Rami', + 'Rasmus', + 'Riku', + 'Risto', + 'Roope', + 'Saku', + 'Sami', + 'Samu', + 'Samuel', + 'Samuli', + 'Santeri', + 'Taneli', + 'Tatu', + 'Teemu', + 'Teppo', + 'Tero', + 'Timo', + 'Tomi', + 'Tommi', + 'Topi', + 'Touko', + 'Tuomas', + 'Tuomo', + 'Tuukka', + 'Tuukka', + 'Valtteri', + 'Veli', + 'Viljo', + 'Ville', + 'Aake', + 'Aapeli', + 'Aapo', + 'Aappo', + 'Aarni', + 'Aaro', + 'Aatto', + 'Aatu', + 'Akseli', + 'Aku', + 'Antton', + 'Artturi', + 'Aune', + 'Beeda', + 'Briitta', + 'Eeli', + 'Eelis', + 'Eemeli', + 'Ekku', + 'Eljas', + 'Erkko', + 'Iiro', + 'Ilmari', + 'Isto', + 'Jirko', + 'Joonatan', + 'Jore', + 'Junnu', + 'Jusu', + 'Kaste', + 'Kauto', + 'Luukas', + 'Nuutti', + 'Onni', + 'Osmo', + 'Pekko', + 'Sampo', + 'Santtu', + 'Sauli', + 'Simo', + 'Sisu', + 'Teijo', + 'Unto', + 'Urho', + 'Veeti', + 'Veikko', + 'Vilho', + 'Werneri', + 'Wiljami', + + ]; + + protected static $firstNameFemale = [ + 'Aada', + 'Ada', + 'Aina', + 'Aino', + 'Aki', + 'Aliisa', + 'Amalia', + 'Amanda', + 'Amelia', + 'Amira', + 'Anissa', + 'Anita', + 'Anna', + 'Anne', + 'Anni', + 'Anniina', + 'Annu', + 'Anu', + 'Asta', + 'Atte', + 'Atte', + 'Aura', + 'Aurora', + 'Bella', + 'Cara', + 'Celina', + 'Christa', + 'Christel', + 'Clara', + 'Cornelia', + 'Dani', + 'Eija', + 'Elea', + 'Elina', + 'Elisa', + 'Elise', + 'Ella', + 'Ellen', + 'Elma', + 'Emilia', + 'Emma', + 'Emmi', + 'Enna', + 'Erja', + 'Esa', + 'Essi', + 'Eva', + 'Eveliina', + 'Fanni', + 'Fiona', + 'Hanna', + 'Heidi', + 'Heli', + 'Helinä', + 'Henna', + 'Hilda', + 'Hilja', + 'Hilla', + 'Hilma', + 'Iida', + 'Iina', + 'Iiris', + 'Ilona', + 'Inka', + 'Inkeri', + 'Inna', + 'Isabella', + 'Jade', + 'Jami', + 'Janette', + 'Janika', + 'Janina', + 'Janita', + 'Janna', + 'Janni', + 'Jasmiina', + 'Jenna', + 'Jenni', + 'Jessica', + 'Johanna', + 'Joni', + 'Jonna', + 'Julia', + 'Juulia', + 'Kaija', + 'Karla', + 'Karri', + 'Kati', + 'Katja', + 'Katri', + 'Kia', + 'Kimi', + 'Kirsi', + 'Krista', + 'Lari', + 'Laura', + 'Lauri', + 'Lea', + 'Lila', + 'Linnea', + 'Lotta', + 'Lumina', + 'Maarit', + 'Maia', + 'Maija', + 'Maiju', + 'Maisa', + 'Mari', + 'Maria', + 'Meeri', + 'Meri', + 'Mette', + 'Mia', + 'Milla', + 'Mimi', + 'Mimosa', + 'Minna', + 'Mira', + 'Mirella', + 'Miska', + 'Nadja', + 'Natalia', + 'Nea', + 'Neea', + 'Nella', + 'Nia', + 'Niina', + 'Noora', + 'Olga', + 'Olivia', + 'Oona', + 'Outi', + 'Paula', + 'Pauliina', + 'Petra', + 'Pia', + 'Piia', + 'Pinja', + 'Päivi', + 'Reeta', + 'Reetta', + 'Riikka', + 'Riina', + 'Ritva', + 'Roni', + 'Ronja', + 'Sanna', + 'Sari', + 'Satu', + 'Seija', + 'Sirpa', + 'Siru', + 'Susanna', + 'Tanja', + 'Tara', + 'Taru', + 'Tea', + 'Terhi', + 'Tiia', + 'Tiina', + 'Tiiu', + 'Tinja', + 'Veera', + 'Vili', + 'Vilma', + 'Wilma', + 'Aamu', + 'Aliina', + 'Annilotta', + 'Eerika', + 'Eeva', + 'Eevi', + 'Eliina', + 'Elviira', + 'Emmaliina', + 'Enni', + 'Ennika', + 'Helmiina', + 'Henniina', + 'Hertta', + 'Hilppa', + 'Iia', + 'Iita', + 'Jadessa', + 'Jemina', + 'Jenika', + 'Jermia', + 'Jooa', + 'Juttamari', + 'Kaisla', + 'Kaisu', + 'Loviisa', + 'Malla', + 'Martta', + 'Matleena', + 'Miina', + 'Mimmu', + 'Minea', + 'Minttu', + 'Mirva', + 'Nelli', + 'Ninni', + 'Oliivia', + 'Peppi', + 'Pihla', + 'Pirkko', + 'Riia', + 'Roosa', + 'Taika', + 'Venla', + 'Viivi', + 'Vilja', + ]; + + protected static $lastName = [ + 'Aakula', + 'Aalto', + 'Aaltonen', + 'Aarnio', + 'Aaronen', + 'Aavikkola', + 'Ahmala', + 'Aho', + 'Ahokas', + 'Ahola', + 'Ahomaa', + 'Ahonen', + 'Ahoniemi', + 'Ahopelto', + 'Ahovaara', + 'Ahtila', + 'Ahtiluoto', + 'Ahtio', + 'Ahtisaari', + 'Ahto', + 'Ahtola', + 'Ahtonen', + 'Ahtorinne', + 'Aija', + 'Aijala', + 'Ainola', + 'Aitio', + 'Aitolahti', + 'Aitomaa', + 'Aittasalmi', + 'Akkala', + 'Akkanen', + 'Alahuhta', + 'Alajoki', + 'Alajärvi', + 'Alanen', + 'Alatalo', + 'Alasalmi', + 'Alapuro', + 'Alhola', + 'Alijoki', + 'Ankkala', + 'Ankkuri', + 'Annala', + 'Annunen', + 'Anttila', + 'Anttinen', + 'Anttonen', + 'Ara', + 'Arhila', + 'Arhinmäki', + 'Arhosuo', + 'Arinen', + 'Arjamaa', + 'Arjanen', + 'Arkkila', + 'Armio', + 'Arnio', + 'Aronen', + 'Arosuo', + 'Arponen', + 'Arvola', + 'Asikainen', + 'Astala', + 'Attila', + 'Aunela', + 'Aura', + 'Auramies', + 'Auranen', + 'Autio', + 'Auvinen', + 'Auvola', + 'Avonius', + 'Avotie', + 'Bräysy', + 'Davidsainen', + 'Dufva', + 'Eerikäinen', + 'Eerola', + 'Einel', + 'Eino', + 'Einola', + 'Einonen', + 'Ekman', + 'Ekola', + 'Ellilä', + 'Ellinen', + 'Elomaa', + 'Eloharju', + 'Eloranta', + 'Eno', + 'Enola', + 'Enäjärvi', + 'Erkinjuntti', + 'Erkkilä', + 'Erkkinen', + 'Erkko', + 'Erkkola', + 'Ernamo', + 'Erola', + 'Eronen', + 'Ervola', + 'Eräharju', + 'Erämaja', + 'Eränen', + 'Eskelinen', + 'Eskelä', + 'Eskola', + 'Evelä', + 'Evilä', + 'Filppula', + 'Finni', + 'Frändilä', + 'Fränti', + 'Haahka', + 'Haahkola', + 'Haanpää', + 'Haapakorpi', + 'Haapala', + 'Haapanen', + 'Haaparanta', + 'Haapasalmi', + 'Haapasalo', + 'Haapkylä', + 'Haapoja', + 'Haataja', + 'Haavisto', + 'Haikala', + 'Haikara', + 'Hakala', + 'Hakkarainen', + 'Hakki', + 'Hakula', + 'Halinen', + 'Halkola', + 'Halkonen', + 'Halla', + 'Hallaper', + 'Hallapuro', + 'Hallikainen', + 'Hallila', + 'Hallonen', + 'Halme', + 'Halmela', + 'Halmelahti', + 'Halonen', + 'Halttunen', + 'Hammas', + 'Hanhela', + 'Hanhinen', + 'Hannula', + 'Hannunen', + 'Hapola', + 'Harjamäki', + 'Harju', + 'Harjula', + 'Harjunpää', + 'Harkimo', + 'Hautakangas', + 'Hautakoski', + 'Hautala', + 'Hautamäki', + 'Haverinen', + 'Havukoski', + 'Heikkilä', + 'Heikkinen', + 'Heimola', + 'Heinälä', + 'Heiskanen', + 'Heiskari', + 'Helenius', + 'Helinen', + 'Helismaa', + 'Helmel', + 'Helovirta', + 'Helppolainen', + 'Helstel', + 'Hellgren', + 'Hentinen', + 'Hento', + 'Hepomäki', + 'Heponen', + 'Herranen', + 'Hervanta', + 'Hervanto', + 'Hekkaharju', + 'Hiesu', + 'Hietala', + 'Hietanen', + 'Hiltunen', + 'Heintikainen', + 'Hirvelä', + 'Hirvi', + 'Hirvikangas', + 'Hirvonen', + 'Hoikkala', + 'Hoikkanen', + 'Holappa', + 'Holkeri', + 'Hongisto', + 'Honkanen', + 'Hovi', + 'Huhta', + 'Huhtala', + 'Hukkala', + 'Huopainen', + 'Huotari', + 'Huovinen', + 'Huttunen', + 'Huuhka', + 'Huurinainen', + 'Huusko', + 'Huvinen', + 'Hyppölä', + 'Hyppönen', + 'Hytölä', + 'Hyypiä', + 'Hyyppä', + 'Häkkinen', + 'Häkämies', + 'Hämäläinen', + 'Hänninen', + 'Härkönen', + 'Ihalainen', + 'Ikola', + 'Ikonen', + 'Ilmarinen', + 'Ilomäki', + 'Iloniemi', + 'Ilvesniemi', + 'Immonen', + 'Inkeri', + 'Inkinen', + 'Isoluoma', + 'Isomäki', + 'Isotalo', + 'Itkonen', + 'Itävaara', + 'Itävuori', + 'Jaakkola', + 'Jaakkonen', + 'Jaakonmaa', + 'Jaatinen', + 'Jakkila', + 'Jalonen', + 'Jauhiainen', + 'Jauho', + 'Joenhaara', + 'Johto', + 'Jokelainen', + 'Jokihaara', + 'Jokimies', + 'Jokinen', + 'Jortikka', + 'Joru', + 'Junkkari', + 'Juntti', + 'Juppi', + 'Jurva', + 'Jurvala', + 'Jurvanen', + 'Jussila', + 'Juustinen', + 'Juuti', + 'Juvanen', + 'Juvonen', + 'Jylhä', + 'Jänis', + 'Jäppinen', + 'Järvelä', + 'Jääskeläinen', + 'Kaakko', + 'Kaikkonen', + 'Kainulainen', + 'Kaista', + 'Kaivola', + 'Kakkola', + 'Kakkonen', + 'Kalinainen', + 'Kalkkinen', + 'Kalliala', + 'Kallio', + 'Kaillomäki', + 'Kalmo', + 'Kalvo', + 'Kamari', + 'Kamppinen', + 'Kanala', + 'Kangaskorte', + 'Kangassalo', + 'Kannelmaa', + 'Kannelmäki', + 'Kantele', + 'Kantola', + 'Kapanen', + 'Karalahti', + 'Karhu', + 'Karjalainen', + 'Karpela', + 'Karppinen', + 'Karukoski', + 'Karvonen', + 'Katainen', + 'Kataja', + 'Kauhala', + 'Kaukovaara', + 'Kauppala', + 'Kauppinen', + 'Kaurismäki', + 'Kekkonen', + 'Kerava', + 'Kerttula', + 'Keskinen', + 'Keskioja', + 'Ketola', + 'Ketonen', + 'Kettula', + 'Kieli', + 'Kiianen', + 'Kiille', + 'Kimalainen', + 'Kiiski', + 'Kinnula', + 'Kinnunen', + 'Kiskonen', + 'Kissala', + 'Kivi', + 'Kiviniemi', + 'Kivistö', + 'Koirala', + 'Koivisto', + 'Koivula', + 'Koivulehto', + 'Koivuniemi', + 'Kokkonen', + 'Kolehmainen', + 'Komulainen', + 'Konttinen', + 'Kontunen', + 'Korhonen', + 'Koriseva', + 'Kortesjärvi', + 'Koskela', + 'Koskelainen', + 'Kosonen', + 'Kotanen', + 'Koukkula', + 'Kouvonen', + 'Kovalainen', + 'Krapu', + 'Krekelä', + 'Kujala', + 'Kujanpää', + 'Kukkala', + 'Kukkamäki', + 'Kukkonen', + 'Kultala', + 'Kumpula', + 'Kumpulainen', + 'Kunnas', + 'Kuoppala', + 'Kuosmanen', + 'Kurkela', + 'Kurki', + 'Kuusijärvi', + 'Kyllönen', + 'Kynsijärvi', + 'Kynsilehto', + 'Kärki', + 'Kärkkäinen', + 'Laakkola', + 'Laakkonen', + 'Laakso', + 'Laaksonen', + 'Laatikainen', + 'Lahdenpää', + 'Laine', + 'Lainela', + 'Lakka', + 'Lampinen', + 'Lappalainen', + 'Lassinen', + 'Laurila', + 'Lauronen', + 'Lavola', + 'Lehmälä', + 'Lehtimäki', + 'Lehtinen', + 'Lehtisalo', + 'Lehto', + 'Lehtonen', + 'Leino', + 'Lepistö', + 'Lepomäki', + 'Leppilampi', + 'Leppäkorpi', + 'Leppälä', + 'Leppävirta', + 'Leskinen', + 'Liimatainen', + 'Lind', + 'Linnala', + 'Linnamäki', + 'Lippo', + 'Litmanen', + 'Litvala', + 'Liukkonen', + 'Loiri', + 'Lukkari', + 'Lumme', + 'Luoma', + 'Luukkonen', + 'Lyly', + 'Lyytikäinen', + 'Lähteenmäki', + 'Lämsä', + 'Maahinen', + 'Made', + 'Maijala', + 'Makkonen', + 'Malmi', + 'Malmivaara', + 'Mannila', + 'Manninen', + 'Mannonen', + 'Mansikka-aho', + 'Mansikkaoja', + 'Marila', + 'Marjala', + 'Marjamäki', + 'Marjola', + 'Marjomaa', + 'Marjonen', + 'Markkanen', + 'Markkula', + 'Markuksela', + 'Markus', + 'Martikainen', + 'Marttinen', + 'Masala', + 'Masanen', + 'Matomäki', + 'Mattila', + 'Maunula', + 'Maunola', + 'Melasniemi', + 'Merelä', + 'Merilä', + 'Meriläinen', + 'Merimaa', + 'Metsoja', + 'Metsälampi', + 'Metsäoja', + 'Mielonen', + 'Miettinen', + 'Mikkola', + 'Mikkonen', + 'Muhonen', + 'Mujunen', + 'Murola', + 'Mustapää', + 'Mustonen', + 'Muurinen', + 'Myllymäki', + 'Myllypuro', + 'Myllys', + 'Mylläri', + 'Mäenpää', + 'Mäkelä', + 'Mäki', + 'Mäkinen', + 'Mäntylä', + 'Määttä', + 'Möttönen', + 'Naula', + 'Naulapää', + 'Neuvonen', + 'Nevala', + 'Niemelä', + 'Niemi', + 'Nieminen', + 'Niemistö', + 'Niinimaa', + 'Niinistö', + 'Niiranen', + 'Nikkanen', + 'Nikkilä', + 'Nikula', + 'Nikulainen', + 'Niskala', + 'Nisukangas', + 'Niukkanen', + 'Nokelainen', + 'Nokkonen', + 'Notkonen', + 'Nousiainen', + 'Nukka', + 'Nummelin', + 'Nuotio', + 'Nurkkala', + 'Nurmela', + 'Nurmi', + 'Nurminiemi', + 'Nurminen', + 'Nuutti', + 'Nykänen', + 'Nyman', + 'Närvälä', + 'Näätänen', + 'Oikkonen', + 'Oikonen', + 'Oinonen', + 'Oja', + 'Ojala', + 'Ojamäki', + 'Ojanen', + 'Ojaniemi', + 'Oksala', + 'Oksanen', + 'Ollikainen', + 'Ollila', + 'Ollinen', + 'Oravainen', + 'Oravala', + 'Otsamo', + 'Outinen', + 'Ovaska', + 'Paajanen', + 'Paakkanen', + 'Paananen', + 'Paasikivi', + 'Paasilinna', + 'Paasonen', + 'Paavola', + 'Pahajoki', + 'Pahkasalo', + 'Pajumäki', + 'Pajunen', + 'Pakarinen', + 'Pakkala', + 'Pakola', + 'Pallas', + 'Paloheimo', + 'Palola', + 'Palomäki', + 'Parkkonen', + 'Pekkala', + 'Pekkarinen', + 'Pelkonen', + 'Peltomaa', + 'Pennanen', + 'Pennilä', + 'Pentikäinen', + 'Penttilä', + 'Perniö', + 'Pesola', + 'Pesonen', + 'Peuranen', + 'Peuraniemi', + 'Pietilä', + 'Piippola', + 'Piirainen', + 'Pikkarainen', + 'Pirttijärvi', + 'Pirttikangas', + 'Pitkämäki', + 'Pohtamo', + 'Porkkala', + 'Poronen', + 'Poropudas', + 'Puhakainenä', + 'Puhakka', + 'Pukkila', + 'Pulli', + 'Puolakka', + 'Puuperä', + 'Pyykkö', + 'Pyykkönen', + 'Päivälä', + 'Päivärinta', + 'Pääkkönen', + 'Pöllönen', + 'Pöntinen', + 'Pöysti', + 'Raappana', + 'Raatikainen', + 'Raatila', + 'Rahka', + 'Rahkala', + 'Raiskio', + 'Raitanen', + 'Raittila', + 'Rajamäki', + 'Ramu', + 'Ranta', + 'Rantamaa', + 'Rapala', + 'Rasila', + 'Rasmus', + 'Rauhala', + 'Rauhanen', + 'Rautaporras', + 'Rautavirta', + 'Rautio', + 'Rehu', + 'Reinikainen', + 'Reinikka', + 'Rekomaa', + 'Repo', + 'Repola', + 'Riihimäki', + 'Riikonen', + 'Rimmanen', + 'Rinne', + 'Rinta', + 'Rintamäki', + 'Ristilä', + 'Ritari', + 'Rokko', + 'Ronkainen', + 'Roponen', + 'Ruhanen', + 'Rumpunen', + 'Runtti', + 'Ruohoniemi', + 'Ruonala', + 'Ruonansuu', + 'Ruotsalainen', + 'Ruuhonen', + 'Ruuskari', + 'Ruusula', + 'Ruutti', + 'Ryhänen', + 'Ryti', + 'Ryysyläinen', + 'Räikkönen', + 'Räisänen', + 'Räsänen', + 'Saanila', + 'Saarela', + 'Saarenheimo', + 'Saari', + 'Saarikivi', + 'Saarnio', + 'Saarnivaara', + 'Saastamoinen', + 'Saikkonen', + 'Saksala', + 'Salenius', + 'Salmela', + 'Salmelainen', + 'Salo', + 'Salolainen', + 'Salonen', + 'Saloranta', + 'Samulin', + 'Sannala', + 'Santanen', + 'Saraste', + 'Sarasvuo', + 'Saukko', + 'Savioja', + 'Savolainen', + 'Selänne', + 'Seppelin', + 'Seppänen', + 'Seppälä', + 'Servo', + 'Setänen', + 'Siekkinen', + 'Sievinen', + 'Sihvonen', + 'Siira', + 'Siltonen', + 'Sikala', + 'Silakka', + 'Sillanpää', + 'Siltala', + 'Silvennoinen', + 'Simo', + 'Simonen', + 'Sinnemäki', + 'Sipilä', + 'Sipola', + 'Sirkesalo', + 'Sirviö', + 'Raiski', + 'Soikkeli', + 'Soini', + 'Sonninen', + 'Soppela', + 'Sorajoki', + 'Sormunen', + 'Sorsa', + 'Suhonen', + 'Suikkala', + 'Summanen', + 'Suomela', + 'Suominen', + 'Suosalo', + 'Susiluoto', + 'Sutinen', + 'Suuronen', + 'Suutarinen', + 'Suvela', + 'Sydänmäki', + 'Syrjä', + 'Syrjälä', + 'Säkkinen', + 'Särkkä', + 'Taavettila', + 'Taavila', + 'Taavitsainen', + 'Taipale', + 'Takkala', + 'Takkula', + 'Tamminen', + 'Tammisto', + 'Tanskanen', + 'Tapio', + 'Tapola', + 'Tarvainen', + 'Taskinen', + 'Tastula', + 'Tauriainen', + 'Tenkanen', + 'Teppo', + 'Tervo', + 'Tervonen', + 'Teräsniska', + 'Tiainen', + 'Tiilikainen', + 'Timonen', + 'Toijala', + 'Toikkanen', + 'Toivanen', + 'Tokkola', + 'Tolonen', + 'Torkkeli', + 'Tuisku', + 'Tukiainen', + 'Tulkki', + 'Tuomela', + 'Tuominen', + 'Tuomisto', + 'Tuppurainen', + 'Turpeinen', + 'Turunen', + 'Tuutti', + 'Tynkkynen', + 'Typpö', + 'Tyrninen', + 'Törrö', + 'Törrönen', + 'Ukkola', + 'Ulvila', + 'Unhola', + 'Uosukainen', + 'Urhonen', + 'Uronen', + 'Urpalainen', + 'Urpilainen', + 'Utriainen', + 'Uusikari', + 'Uusikylä', + 'Uusisalmi', + 'Uusitalo', + 'Vaara', + 'Vahala', + 'Vahanen', + 'Vahvanen', + 'Vainio', + 'Valjakka', + 'Valo', + 'Valtanen', + 'Vanhanen', + 'Vanhoja', + 'Varjus', + 'Vartiainen', + 'Vasala', + 'Vauhkonen', + 'Veijonen', + 'Veini', + 'Vennala', + 'Vennamo', + 'Vepsäläinen', + 'Vesa', + 'Vesuri', + 'Veteläinen', + 'Vierikko', + 'Vihtanen', + 'Viikate', + 'Viinanen', + 'Viinikka', + 'Vilhola', + 'Viljanen', + 'Vilkkula', + 'Vilpas', + 'Virkkula', + 'Virkkunen', + 'Virolainen', + 'Virtala', + 'Voutilainen', + 'Vuokko', + 'Vuorenpää', + 'Vuorikoski', + 'Vuorinen', + 'Vähälä', + 'Väisälä', + 'Väisänen', + 'Välimaa', + 'Välioja', + 'Väyrynen', + 'Väätänen', + 'Wettenranta', + 'Wiitanen', + 'Wirtanen', + 'Wiskari', + 'Ylijälä', + 'Yliannala', + 'Ylijoki', + 'Ylikangas', + 'Ylioja', + 'Ylitalo', + 'Ylppö', + 'Yläjoki', + 'Yrjänen', + 'Yrjänä', + 'Yrjölä', + 'Yrttiaho', + 'Yömaa', + 'Äijälä', + 'Ämmälä', + 'Änäkkälä', + 'Äyräs', + 'Äärynen', + 'Översti', + 'Öysti', + 'Öörni', + ]; + + protected static $titleMale = [ 'Hra.', 'Tri.' ]; + + protected static $titleFemale = [ 'Rva.', 'Nti.', 'Tri.' ]; + + /** + * National Personal Identity Number (Henkilötunnus) + * + * @see http://www.finlex.fi/fi/laki/ajantasa/2010/20100128 + * + * @param \DateTime $birthdate + * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE + * + * @return string on format DDMMYYCZZZQ, where DDMMYY is the date of birth, C the century sign, ZZZ the individual number and Q the control character (checksum) + */ + public function personalIdentityNumber( \DateTime $birthdate = null, $gender = null ) { + $checksumCharacters = '0123456789ABCDEFHJKLMNPRSTUVWXY'; + + if ( ! $birthdate ) { + $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); + } + $datePart = $birthdate->format( 'dmy' ); + + switch ( (int) ( $birthdate->format( 'Y' ) / 100 ) ) { + case 18: + $centurySign = '+'; + + break; + + case 19: + $centurySign = '-'; + + break; + + case 20: + $centurySign = 'A'; + + break; + + default: + throw new \InvalidArgumentException( 'Year must be between 1800 and 2099 inclusive.' ); + } + + $randomDigits = self::numberBetween( 0, 89 ); + + if ( $gender && $gender == static::GENDER_MALE ) { + if ( $randomDigits === 0 ) { + $randomDigits .= static::randomElement( [ 3, 5, 7, 9 ] ); + } else { + $randomDigits .= static::randomElement( [ 1, 3, 5, 7, 9 ] ); + } + } elseif ( $gender && $gender == static::GENDER_FEMALE ) { + if ( $randomDigits === 0 ) { + $randomDigits .= static::randomElement( [ 2, 4, 6, 8 ] ); + } else { + $randomDigits .= static::randomElement( [ 0, 2, 4, 6, 8 ] ); + } + } else { + if ( $randomDigits === 0 ) { + $randomDigits .= self::numberBetween( 2, 9 ); + } else { + $randomDigits .= (string) static::numerify( '#' ); + } + } + $randomDigits = str_pad( $randomDigits, 3, '0', STR_PAD_LEFT ); + + $checksum = $checksumCharacters[ (int) ( $datePart . $randomDigits ) % strlen( $checksumCharacters ) ]; + + return $datePart . $centurySign . $randomDigits . $checksum; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/PhoneNumber.php index db06ce2..e48fff4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fi_FI/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fi_FI/PhoneNumber.php @@ -2,100 +2,93 @@ namespace Faker\Provider\fi_FI; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @see https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/localcallsandtelecommunicationsareas/mapoftelecommunicationsareas.html - * - * @var array - */ - protected static $landLineareaCodes = [ - '02', - '03', - '05', - '06', - '08', - '09', - '013', - '014', - '015', - '016', - '017', - '018', - '019', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @see https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/localcallsandtelecommunicationsareas/mapoftelecommunicationsareas.html + * + * @var array + */ + protected static $landLineareaCodes = [ + '02', + '03', + '05', + '06', + '08', + '09', + '013', + '014', + '015', + '016', + '017', + '018', + '019', + ]; - /** - * @see https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/mobilenetworks/mobilenetworkareacodes.html - * - * @var array - */ - protected static $mobileNetworkAreaCodes = [ - '040', - '050', - '044', - '045', - ]; + /** + * @see https://www.viestintavirasto.fi/en/internettelephone/numberingoftelecommunicationsnetworks/mobilenetworks/mobilenetworkareacodes.html + * + * @var array + */ + protected static $mobileNetworkAreaCodes = [ + '040', + '050', + '044', + '045', + ]; - protected static $numberFormats = [ - '### ####', - '#######', - ]; + protected static $numberFormats = [ + '### ####', + '#######', + ]; - protected static $formats = [ - '+358 ({{ e164MobileNetworkAreaCode }}) {{ numberFormat }}', - '+358 {{ e164MobileNetworkAreaCode }} {{ numberFormat }}', - '+358 ({{ e164landLineAreaCode }}) {{ numberFormat }}', - '+358 {{ e164landLineAreaCode }} {{ numberFormat }}', - '{{ mobileNetworkAreaCode }}{{ separator }}{{ numberFormat }}', - '{{ landLineAreaCode }}{{ separator }}{{ numberFormat }}', - ]; + protected static $formats = [ + '+358 ({{ e164MobileNetworkAreaCode }}) {{ numberFormat }}', + '+358 {{ e164MobileNetworkAreaCode }} {{ numberFormat }}', + '+358 ({{ e164landLineAreaCode }}) {{ numberFormat }}', + '+358 {{ e164landLineAreaCode }} {{ numberFormat }}', + '{{ mobileNetworkAreaCode }}{{ separator }}{{ numberFormat }}', + '{{ landLineAreaCode }}{{ separator }}{{ numberFormat }}', + ]; - /** - * @return string - */ - public function landLineAreaCode() - { - return static::randomElement(static::$landLineareaCodes); - } + /** + * @return string + */ + public function landLineAreaCode() { + return static::randomElement( static::$landLineareaCodes ); + } - /** - * @return string - */ - public function e164landLineAreaCode() - { - return substr(static::randomElement(static::$landLineareaCodes), 1); - } + /** + * @return string + */ + public function e164landLineAreaCode() { + return substr( static::randomElement( static::$landLineareaCodes ), 1 ); + } - /** - * @return string - */ - public function mobileNetworkAreaCode() - { - return static::randomElement(static::$mobileNetworkAreaCodes); - } + /** + * @return string + */ + public function mobileNetworkAreaCode() { + return static::randomElement( static::$mobileNetworkAreaCodes ); + } - /** - * @return string - */ - public function e164MobileNetworkAreaCode() - { - return substr(static::randomElement(static::$mobileNetworkAreaCodes), 1); - } + /** + * @return string + */ + public function e164MobileNetworkAreaCode() { + return substr( static::randomElement( static::$mobileNetworkAreaCodes ), 1 ); + } - /** - * @return string - */ - public function numberFormat() - { - return static::randomElement(static::$numberFormats); - } + /** + * @return string + */ + public function numberFormat() { + return static::randomElement( static::$numberFormats ); + } - /** - * @return string - */ - public function separator() - { - return static::randomElement([' ', '-']); - } + /** + * @return string + */ + public function separator() { + return static::randomElement( [ ' ', '-' ] ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Address.php index 1796817..5d6b16c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Address.php @@ -2,71 +2,206 @@ namespace Faker\Provider\fr_BE; -class Address extends \Faker\Provider\fr_FR\Address -{ - protected static $postcode = ['####']; +class Address extends \Faker\Provider\fr_FR\Address { + protected static $postcode = [ '####' ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $streetNameFormats = ['{{streetSuffix}} {{lastName}}']; + protected static $streetNameFormats = [ '{{streetSuffix}} {{lastName}}' ]; - protected static $cityFormats = ['{{cityName}}']; + protected static $cityFormats = [ '{{cityName}}' ]; - protected static $addressFormats = [ - "{{streetAddress}}\n {{postcode}} {{city}}", - ]; + protected static $addressFormats = [ + "{{streetAddress}}\n {{postcode}} {{city}}", + ]; - protected static $streetSuffix = [ - 'rue', 'avenue', 'boulevard', 'chemin', 'chaussée', 'impasse', 'place', - ]; + protected static $streetSuffix = [ + 'rue', + 'avenue', + 'boulevard', + 'chemin', + 'chaussée', + 'impasse', + 'place', + ]; - /** - * Source: http://fr.wikipedia.org/wiki/Ville_de_Belgique - * - * @var array - */ - protected static $cityNames = [ - 'Aarschot', 'Alost', 'Andenne', 'Antoing', 'Anvers', 'Arlon', 'Ath', 'Audenarde', 'Bastogne', 'Beaumont', 'Beauraing', 'Beringen', 'Bilzen', 'Binche', - 'Blankenberge', 'Bouillon', 'Braine-le-Comte', 'Bree', 'Bruges', 'Bruxelles', 'Charleroi', 'Châtelet', 'Chièvres', 'Chimay', 'Chiny', 'Ciney', 'Comines-Warneton', 'Courtrai', - 'Couvin', 'Damme', 'Deinze', 'Diest', 'Dilsen-Stokkem', 'Dinant', 'Dixmude', 'Durbuy', 'Eeklo', 'Enghien', 'Eupen', 'Fleurus', 'Florenville', 'Fontaine-l\'Évêque', 'Fosses-la-Ville', - 'Furnes', 'Gand', 'Geel', 'Gembloux', 'Genappe', 'Genk', 'Gistel', 'Grammont', 'Hal', 'Halen', 'Hamont-Achel', 'Hannut', 'Harelbeke', 'Hasselt', - 'Herck-la-Ville', 'Herentals', 'Herstal', 'Herve', 'Hoogstraten', 'Houffalize', 'Huy', 'Izegem', 'Jodoigne', 'La Louvière', 'La Roche-en-Ardenne', 'Landen', 'Léau', - 'Le Rœulx', 'Lessines', 'Leuze-en-Hainaut', 'Liège', 'Lierre', 'Limbourg', 'Lokeren', 'Lommel', 'Looz', 'Lo-Reninge', 'Louvain', 'Maaseik', 'Malines', - 'Malmedy', 'Marche-en-Famenne', 'Menin', 'Messines', 'Mons', 'Montaigu-Zichem', 'Mortsel', 'Mouscron', 'Namur', 'Neufchâteau', 'Nieuport', - 'Ninove', 'Nivelles', 'Ostende', 'Ottignies-Louvain-la-Neuve', 'Oudenburg', 'Peer', 'Péruwelz', 'Philippeville', 'Poperinge', 'Renaix', 'Rochefort', 'Roulers', - 'Saint-Ghislain', 'Saint-Hubert', 'Saint-Nicolas', 'Saint-Trond', 'Saint-Vith', 'Seraing', 'Soignies', 'Stavelot', 'Termonde', 'Thuin', - 'Tielt', 'Tirlemont', 'Tongres', 'Torhout', 'Tournai', 'Turnhout', 'Verviers', 'Vilvorde', 'Virton', 'Visé', 'Walcourt', 'Waregem', 'Waremme', 'Wavre', 'Wervik', - 'Ypres', 'Zottegem', - ]; + /** + * Source: http://fr.wikipedia.org/wiki/Ville_de_Belgique + * + * @var array + */ + protected static $cityNames = [ + 'Aarschot', + 'Alost', + 'Andenne', + 'Antoing', + 'Anvers', + 'Arlon', + 'Ath', + 'Audenarde', + 'Bastogne', + 'Beaumont', + 'Beauraing', + 'Beringen', + 'Bilzen', + 'Binche', + 'Blankenberge', + 'Bouillon', + 'Braine-le-Comte', + 'Bree', + 'Bruges', + 'Bruxelles', + 'Charleroi', + 'Châtelet', + 'Chièvres', + 'Chimay', + 'Chiny', + 'Ciney', + 'Comines-Warneton', + 'Courtrai', + 'Couvin', + 'Damme', + 'Deinze', + 'Diest', + 'Dilsen-Stokkem', + 'Dinant', + 'Dixmude', + 'Durbuy', + 'Eeklo', + 'Enghien', + 'Eupen', + 'Fleurus', + 'Florenville', + 'Fontaine-l\'Évêque', + 'Fosses-la-Ville', + 'Furnes', + 'Gand', + 'Geel', + 'Gembloux', + 'Genappe', + 'Genk', + 'Gistel', + 'Grammont', + 'Hal', + 'Halen', + 'Hamont-Achel', + 'Hannut', + 'Harelbeke', + 'Hasselt', + 'Herck-la-Ville', + 'Herentals', + 'Herstal', + 'Herve', + 'Hoogstraten', + 'Houffalize', + 'Huy', + 'Izegem', + 'Jodoigne', + 'La Louvière', + 'La Roche-en-Ardenne', + 'Landen', + 'Léau', + 'Le Rœulx', + 'Lessines', + 'Leuze-en-Hainaut', + 'Liège', + 'Lierre', + 'Limbourg', + 'Lokeren', + 'Lommel', + 'Looz', + 'Lo-Reninge', + 'Louvain', + 'Maaseik', + 'Malines', + 'Malmedy', + 'Marche-en-Famenne', + 'Menin', + 'Messines', + 'Mons', + 'Montaigu-Zichem', + 'Mortsel', + 'Mouscron', + 'Namur', + 'Neufchâteau', + 'Nieuport', + 'Ninove', + 'Nivelles', + 'Ostende', + 'Ottignies-Louvain-la-Neuve', + 'Oudenburg', + 'Peer', + 'Péruwelz', + 'Philippeville', + 'Poperinge', + 'Renaix', + 'Rochefort', + 'Roulers', + 'Saint-Ghislain', + 'Saint-Hubert', + 'Saint-Nicolas', + 'Saint-Trond', + 'Saint-Vith', + 'Seraing', + 'Soignies', + 'Stavelot', + 'Termonde', + 'Thuin', + 'Tielt', + 'Tirlemont', + 'Tongres', + 'Torhout', + 'Tournai', + 'Turnhout', + 'Verviers', + 'Vilvorde', + 'Virton', + 'Visé', + 'Walcourt', + 'Waregem', + 'Waremme', + 'Wavre', + 'Wervik', + 'Ypres', + 'Zottegem', + ]; - protected static $region = [ - 'Wallonie', 'Flandre', 'Bruxelles-Capitale', - ]; + protected static $region = [ + 'Wallonie', + 'Flandre', + 'Bruxelles-Capitale', + ]; - protected static $province = [ - 'Anvers', 'Limbourg', 'Flandre orientale', 'Brabant flamand', 'Flandre occidentale', - 'Hainaut', 'Liège', 'Luxembourg', 'Namur', 'Brabant wallon', - ]; + protected static $province = [ + 'Anvers', + 'Limbourg', + 'Flandre orientale', + 'Brabant flamand', + 'Flandre occidentale', + 'Hainaut', + 'Liège', + 'Luxembourg', + 'Namur', + 'Brabant wallon', + ]; - /** - * Randomly returns a belgian province. - * - * @example 'Hainaut' - * - * @return string - */ - public static function province() - { - return static::randomElement(static::$province); - } + /** + * Randomly returns a belgian province. + * + * @return string + * @example 'Hainaut' + * + */ + public static function province() { + return static::randomElement( static::$province ); + } - /** - * @see parent - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } + /** + * @see parent + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Color.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Color.php index 20c7dad..7ad7d0c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Color.php @@ -2,6 +2,5 @@ namespace Faker\Provider\fr_BE; -class Color extends \Faker\Provider\fr_FR\Color -{ +class Color extends \Faker\Provider\fr_FR\Color { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Company.php index 0056967..7e4d4ae 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Company.php @@ -2,12 +2,24 @@ namespace Faker\Provider\fr_BE; -class Company extends \Faker\Provider\fr_FR\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\fr_FR\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['ASBL', 'SCS', 'SNC', 'SPRL', 'Associations', 'Entreprise individuelle', 'GEIE', 'GIE', 'SA', 'SCA', 'SCRI', 'SCRL']; + protected static $companySuffix = [ + 'ASBL', + 'SCS', + 'SNC', + 'SPRL', + 'Associations', + 'Entreprise individuelle', + 'GEIE', + 'GIE', + 'SA', + 'SCA', + 'SCRI', + 'SCRL' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Internet.php index 898a754..776ca01 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\fr_BE; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'yahoo.com', 'advalvas.be']; - protected static $tld = ['com', 'net', 'org', 'be']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'hotmail.com', 'yahoo.com', 'advalvas.be' ]; + protected static $tld = [ 'com', 'net', 'org', 'be' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Payment.php index 55af37a..7082096 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Payment.php @@ -2,41 +2,38 @@ namespace Faker\Provider\fr_BE; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'BE', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'BE', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * Value Added Tax (VAT) - * - * @example 'BE0123456789', ('spaced') 'BE 0123456789' - * - * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 - * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm - * @see http://en.wikipedia.org/wiki/VAT_identification_number - * - * @param bool $spacedNationalPrefix - * - * @return string VAT Number - */ - public static function vat($spacedNationalPrefix = true) - { - $prefix = $spacedNationalPrefix ? 'BE ' : 'BE'; + /** + * Value Added Tax (VAT) + * + * @param bool $spacedNationalPrefix + * + * @return string VAT Number + * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm + * @see http://en.wikipedia.org/wiki/VAT_identification_number + * + * @example 'BE0123456789', ('spaced') 'BE 0123456789' + * + * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 + */ + public static function vat( $spacedNationalPrefix = true ) { + $prefix = $spacedNationalPrefix ? 'BE ' : 'BE'; - return sprintf('%s0%d', $prefix, self::randomNumber(9, true)); - } + return sprintf( '%s0%d', $prefix, self::randomNumber( 9, true ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Person.php index 6729237..0dd2853 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/Person.php @@ -2,48 +2,435 @@ namespace Faker\Provider\fr_BE; -class Person extends \Faker\Provider\Person -{ - protected static $firstNameMale = [ - 'Aaron', 'Adam', 'Adrien', 'Alessio', 'Alexander', 'Alexandre', 'Antoine', 'Arne', 'Arthur', 'Axel', 'Ayoub', 'Baptiste', 'Benjamin', - 'Bo', 'Clément', 'Daan', 'David', 'Diego', 'Dylan', 'Elias', 'Emiel', 'Emile', 'Enzo', 'Ethan', 'Finn', - 'Florian', 'Gabriel', 'Gilles', 'Guillaume', 'Hamza', 'Hugo', 'Ilias', 'Janne', 'Jasper', 'Jelle', 'Jonas', 'Jules', - 'Julien', 'Kato', 'Lars', 'Leon', 'Liam', 'Louis', 'Loïc', 'Luca', 'Lucas', 'Lukas', 'Martin', 'Mathias', - 'Mathis', 'Mathéo', 'Mats', 'Matteo', 'Mauro', 'Maxim', 'Maxime', 'Mehdi', 'Milan', 'Mohamed', 'Mohammed', 'Nathan', - 'Nicolas', 'Niels', 'Noah', 'Nolan', 'Quinten', 'Raphaël', 'Rayan', 'Robbe', 'Romain', 'Ruben', 'Rune', 'Sacha', - 'Sam', 'Samuel', 'Sander', 'Simon', 'Stan', 'Thomas', 'Théo', 'Tibo', 'Tom', 'Tristan', 'Vic', 'Victor', - 'Vince', 'Wout', 'Xander', 'Yanis', 'Jarne', 'Lowie', 'Mathys', 'Senne', 'Seppe', 'Siebe', 'Tuur', 'Warre', - ]; +class Person extends \Faker\Provider\Person { + protected static $firstNameMale = [ + 'Aaron', + 'Adam', + 'Adrien', + 'Alessio', + 'Alexander', + 'Alexandre', + 'Antoine', + 'Arne', + 'Arthur', + 'Axel', + 'Ayoub', + 'Baptiste', + 'Benjamin', + 'Bo', + 'Clément', + 'Daan', + 'David', + 'Diego', + 'Dylan', + 'Elias', + 'Emiel', + 'Emile', + 'Enzo', + 'Ethan', + 'Finn', + 'Florian', + 'Gabriel', + 'Gilles', + 'Guillaume', + 'Hamza', + 'Hugo', + 'Ilias', + 'Janne', + 'Jasper', + 'Jelle', + 'Jonas', + 'Jules', + 'Julien', + 'Kato', + 'Lars', + 'Leon', + 'Liam', + 'Louis', + 'Loïc', + 'Luca', + 'Lucas', + 'Lukas', + 'Martin', + 'Mathias', + 'Mathis', + 'Mathéo', + 'Mats', + 'Matteo', + 'Mauro', + 'Maxim', + 'Maxime', + 'Mehdi', + 'Milan', + 'Mohamed', + 'Mohammed', + 'Nathan', + 'Nicolas', + 'Niels', + 'Noah', + 'Nolan', + 'Quinten', + 'Raphaël', + 'Rayan', + 'Robbe', + 'Romain', + 'Ruben', + 'Rune', + 'Sacha', + 'Sam', + 'Samuel', + 'Sander', + 'Simon', + 'Stan', + 'Thomas', + 'Théo', + 'Tibo', + 'Tom', + 'Tristan', + 'Vic', + 'Victor', + 'Vince', + 'Wout', + 'Xander', + 'Yanis', + 'Jarne', + 'Lowie', + 'Mathys', + 'Senne', + 'Seppe', + 'Siebe', + 'Tuur', + 'Warre', + ]; - protected static $firstNameFemale = [ - 'Alexia', 'Alexis', 'Alice', 'Alicia', 'Alyssa', 'Amber', 'Amy', 'Amélie', 'Anaïs', 'Anna', 'Anouk', 'Axelle', 'Aya', - 'Camille', 'Charlotte', 'Chiara', 'Chloé', 'Clara', 'Clémence', 'Célia', 'Elena', 'Eline', 'Elisa', 'Elise', 'Ella', - 'Eloïse', 'Emilie', 'Emma', 'Estelle', 'Eva', 'Febe', 'Femke', 'Fien', 'Fleur', 'Giulia', 'Hajar', 'Hanne', - 'Helena', 'Ines', 'Inès', 'Jade', 'Jana', 'Jeanne', 'Julia', 'Julie', 'Juliette', 'Kaat', 'Kobe', 'Lana', - 'Lander', 'Lara', 'Laura', 'Laure', 'Lena', 'Lien', 'Lilou', 'Lily', 'Lina', 'Linde', 'Lisa', 'Lise', - 'Lola', 'Lore', 'Lotte', 'Louise', 'Lucie', 'Luna', 'Léa', 'Malak', 'Manon', 'Margaux', 'Margot', 'Marie', - 'Marion', 'Maya', 'Maëlle', 'Merel', 'Mila', 'Nina', 'Noa', 'Noor', 'Nora', 'Nore', 'Noé', 'Noémie', - 'Océane', 'Olivia', 'Pauline', 'Rania', 'Robin', 'Romane', 'Salma', 'Sara', 'Sarah', 'Sofia', 'Tess', 'Victoria', - 'Yana', 'Yasmine', 'Zoé', 'Zoë', 'Ferre', 'Roos', - ]; + protected static $firstNameFemale = [ + 'Alexia', + 'Alexis', + 'Alice', + 'Alicia', + 'Alyssa', + 'Amber', + 'Amy', + 'Amélie', + 'Anaïs', + 'Anna', + 'Anouk', + 'Axelle', + 'Aya', + 'Camille', + 'Charlotte', + 'Chiara', + 'Chloé', + 'Clara', + 'Clémence', + 'Célia', + 'Elena', + 'Eline', + 'Elisa', + 'Elise', + 'Ella', + 'Eloïse', + 'Emilie', + 'Emma', + 'Estelle', + 'Eva', + 'Febe', + 'Femke', + 'Fien', + 'Fleur', + 'Giulia', + 'Hajar', + 'Hanne', + 'Helena', + 'Ines', + 'Inès', + 'Jade', + 'Jana', + 'Jeanne', + 'Julia', + 'Julie', + 'Juliette', + 'Kaat', + 'Kobe', + 'Lana', + 'Lander', + 'Lara', + 'Laura', + 'Laure', + 'Lena', + 'Lien', + 'Lilou', + 'Lily', + 'Lina', + 'Linde', + 'Lisa', + 'Lise', + 'Lola', + 'Lore', + 'Lotte', + 'Louise', + 'Lucie', + 'Luna', + 'Léa', + 'Malak', + 'Manon', + 'Margaux', + 'Margot', + 'Marie', + 'Marion', + 'Maya', + 'Maëlle', + 'Merel', + 'Mila', + 'Nina', + 'Noa', + 'Noor', + 'Nora', + 'Nore', + 'Noé', + 'Noémie', + 'Océane', + 'Olivia', + 'Pauline', + 'Rania', + 'Robin', + 'Romane', + 'Salma', + 'Sara', + 'Sarah', + 'Sofia', + 'Tess', + 'Victoria', + 'Yana', + 'Yasmine', + 'Zoé', + 'Zoë', + 'Ferre', + 'Roos', + ]; - protected static $lastName = [ - 'Adam', 'Aerts', 'Amrani', 'André', 'Antoine', 'Baert', 'Bah', 'Barry', 'Bastin', 'Bauwens', 'Benali', 'Bernard', 'Bertrand', 'Bodart', 'Bogaert', 'Bogaerts', 'Borremans', 'Bosmans', - 'Boulanger', 'Bourgeois', 'Brasseur', 'Carlier', 'Celik', 'Ceulemans', 'Charlier', 'Christiaens', 'Claes', 'Claessens', 'Claeys', 'Collard', 'Collignon', 'Collin', 'Cools', 'Coppens', - 'Cornelis', 'Cornet', 'Cuvelier', 'Daems', 'De Backer', 'De Clercq', 'De Cock', 'De Coninck', 'De Coster', 'De Greef', 'De Groote', 'De Meyer', 'De Pauw', 'De Ridder', 'De Smedt', - 'De Smet', 'De Vos', 'De Wilde', 'De Winter', 'Declercq', 'Delfosse', 'Delhaye', 'Delvaux', 'Demir', 'Denis', 'Deprez', 'Descamps', 'Desmedt', 'Desmet', 'Dethier', 'Devos', 'Diallo', - 'Dierckx', 'Dogan', 'Dubois', 'Dumont', 'Dupont', 'El Amrani', 'Etienne', 'Evrard', 'Fontaine', 'François', 'Geerts', 'Georges', 'Gérard', 'Gielen', 'Gilles', 'Gillet', 'Gilson', - 'Goethals', 'Goffin', 'Goossens', 'Grégoire', 'Guillaume', 'Hajji', 'Hardy', 'Hendrickx', 'Henry', 'Herman', 'Hermans', 'Heylen', 'Heymans', 'Hubert', 'Jacob', 'Jacobs', 'Jacques', - 'Jacquet', 'Jansen', 'Janssen', 'Janssens', 'Kaya', 'Lacroix', 'Lambert', 'Lambrechts', 'Laurent', 'Lauwers', 'Lebrun', 'Leclercq', 'Lecocq', 'Lecomte', 'Lefebvre', 'Lefèvre', 'Legrand', - 'Lejeune', 'Lemaire', 'Lemmens', 'Lenaerts', 'Léonard', 'Leroy', 'Libert', 'Lievens', 'Louis', 'Luyten', 'Maes', 'Mahieu', 'Marchal', 'Maréchal', 'Martens', 'Martin', 'Massart', 'Masson', - 'Mathieu', 'Meert', 'Mertens', 'Messaoudi', 'Meunier', 'Michaux', 'Michel', 'Michiels', 'Moens', 'Moreau', 'Nguyen', 'Nicolas', 'Nijs', 'Noël', 'Parmentier', 'Pauwels', 'Peeters', 'Petit', - 'Pierre', 'Pieters', 'Piette', 'Piron', 'Pirotte', 'Poncelet', 'Raes', 'Remy', 'Renard', 'Robert', 'Roels', 'Roland', 'Rousseau', 'Sahin', 'Saidi', 'Schmitz', 'Segers', 'Servais', 'Simon', - 'Simons', 'Smet', 'Smets', 'Somers', 'Stevens', 'Thijs', 'Thiry', 'Thomas', 'Thys', 'Timmermans', 'Toussaint', 'Tran', 'Urbain', 'Van Acker', 'Van Damme', 'Van de Velde', 'Van den Bossche', - 'Van den Broeck', 'Van Dyck', 'Van Hecke', 'Van Hoof', 'Vandamme', 'Vandenberghe', 'Verbeeck', 'Verbeke', 'Verbruggen', 'Vercammen', 'Verhaegen', 'Verhaeghe', 'Verhelst', 'Verheyen', - 'Verhoeven', 'Verlinden', 'Vermeersch', 'Vermeiren', 'Vermeulen', 'Verschueren', 'Verstraete', 'Verstraeten', 'Vervoort', 'Wauters', 'Willems', 'Wouters', 'Wuyts', 'Yildirim', 'Yilmaz', - ]; + protected static $lastName = [ + 'Adam', + 'Aerts', + 'Amrani', + 'André', + 'Antoine', + 'Baert', + 'Bah', + 'Barry', + 'Bastin', + 'Bauwens', + 'Benali', + 'Bernard', + 'Bertrand', + 'Bodart', + 'Bogaert', + 'Bogaerts', + 'Borremans', + 'Bosmans', + 'Boulanger', + 'Bourgeois', + 'Brasseur', + 'Carlier', + 'Celik', + 'Ceulemans', + 'Charlier', + 'Christiaens', + 'Claes', + 'Claessens', + 'Claeys', + 'Collard', + 'Collignon', + 'Collin', + 'Cools', + 'Coppens', + 'Cornelis', + 'Cornet', + 'Cuvelier', + 'Daems', + 'De Backer', + 'De Clercq', + 'De Cock', + 'De Coninck', + 'De Coster', + 'De Greef', + 'De Groote', + 'De Meyer', + 'De Pauw', + 'De Ridder', + 'De Smedt', + 'De Smet', + 'De Vos', + 'De Wilde', + 'De Winter', + 'Declercq', + 'Delfosse', + 'Delhaye', + 'Delvaux', + 'Demir', + 'Denis', + 'Deprez', + 'Descamps', + 'Desmedt', + 'Desmet', + 'Dethier', + 'Devos', + 'Diallo', + 'Dierckx', + 'Dogan', + 'Dubois', + 'Dumont', + 'Dupont', + 'El Amrani', + 'Etienne', + 'Evrard', + 'Fontaine', + 'François', + 'Geerts', + 'Georges', + 'Gérard', + 'Gielen', + 'Gilles', + 'Gillet', + 'Gilson', + 'Goethals', + 'Goffin', + 'Goossens', + 'Grégoire', + 'Guillaume', + 'Hajji', + 'Hardy', + 'Hendrickx', + 'Henry', + 'Herman', + 'Hermans', + 'Heylen', + 'Heymans', + 'Hubert', + 'Jacob', + 'Jacobs', + 'Jacques', + 'Jacquet', + 'Jansen', + 'Janssen', + 'Janssens', + 'Kaya', + 'Lacroix', + 'Lambert', + 'Lambrechts', + 'Laurent', + 'Lauwers', + 'Lebrun', + 'Leclercq', + 'Lecocq', + 'Lecomte', + 'Lefebvre', + 'Lefèvre', + 'Legrand', + 'Lejeune', + 'Lemaire', + 'Lemmens', + 'Lenaerts', + 'Léonard', + 'Leroy', + 'Libert', + 'Lievens', + 'Louis', + 'Luyten', + 'Maes', + 'Mahieu', + 'Marchal', + 'Maréchal', + 'Martens', + 'Martin', + 'Massart', + 'Masson', + 'Mathieu', + 'Meert', + 'Mertens', + 'Messaoudi', + 'Meunier', + 'Michaux', + 'Michel', + 'Michiels', + 'Moens', + 'Moreau', + 'Nguyen', + 'Nicolas', + 'Nijs', + 'Noël', + 'Parmentier', + 'Pauwels', + 'Peeters', + 'Petit', + 'Pierre', + 'Pieters', + 'Piette', + 'Piron', + 'Pirotte', + 'Poncelet', + 'Raes', + 'Remy', + 'Renard', + 'Robert', + 'Roels', + 'Roland', + 'Rousseau', + 'Sahin', + 'Saidi', + 'Schmitz', + 'Segers', + 'Servais', + 'Simon', + 'Simons', + 'Smet', + 'Smets', + 'Somers', + 'Stevens', + 'Thijs', + 'Thiry', + 'Thomas', + 'Thys', + 'Timmermans', + 'Toussaint', + 'Tran', + 'Urbain', + 'Van Acker', + 'Van Damme', + 'Van de Velde', + 'Van den Bossche', + 'Van den Broeck', + 'Van Dyck', + 'Van Hecke', + 'Van Hoof', + 'Vandamme', + 'Vandenberghe', + 'Verbeeck', + 'Verbeke', + 'Verbruggen', + 'Vercammen', + 'Verhaegen', + 'Verhaeghe', + 'Verhelst', + 'Verheyen', + 'Verhoeven', + 'Verlinden', + 'Vermeersch', + 'Vermeiren', + 'Vermeulen', + 'Verschueren', + 'Verstraete', + 'Verstraeten', + 'Vervoort', + 'Wauters', + 'Willems', + 'Wouters', + 'Wuyts', + 'Yildirim', + 'Yilmaz', + ]; - protected static $titleMale = ['M.', 'Dr.', 'Pr.', 'Me.', 'Mgr']; + protected static $titleMale = [ 'M.', 'Dr.', 'Pr.', 'Me.', 'Mgr' ]; - protected static $titleFemale = ['Mme.', 'Mlle', 'Dr.', 'Pr.', 'Me.']; + protected static $titleFemale = [ 'Mme.', 'Mlle', 'Dr.', 'Pr.', 'Me.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/PhoneNumber.php index 2515b8e..d3a3d7a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_BE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_BE/PhoneNumber.php @@ -2,19 +2,18 @@ namespace Faker\Provider\fr_BE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+32(0)########', - '+32(0)### ######', - '+32(0)# #######', - '0#########', - '0### ######', - '0### ### ###', - '0### ## ## ##', - '0## ######', - '0## ## ## ##', - '0# #######', - '0# ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+32(0)########', + '+32(0)### ######', + '+32(0)# #######', + '0#########', + '0### ######', + '0### ### ###', + '0### ## ## ##', + '0## ######', + '0## ## ## ##', + '0# #######', + '0# ### ## ##', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Address.php index 7f8e364..4805dae 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Address.php @@ -2,124 +2,241 @@ namespace Faker\Provider\fr_CA; -class Address extends \Faker\Provider\fr_FR\Address -{ - protected static $cityPrefix = ['Saint-', 'Sainte-', 'St-', 'Ste-']; - - /** - * The suffixes come from this list of communities in Québec - * http://fr.wikipedia.org/wiki/Liste_des_municipalités_locales_du_Québec - */ - protected static $citySuffix = [ - // Bas-Saint-Laurent - '-des-Sables', '-sur-Mer', '-des-Neiges', '-des-Sept-Douleurs', '-du-Portage', '-du-Loup', '-des-Lacs', '-de-Lessard', - '-de-Kamourasca', '-de-Témiscouata', '-de-Ladrière', '-de-Rimouski', '-de-Rivière-du-Loup', '-du-Lac', '-du-Ha! Ha!', - '-du-Lac-Long', '-de-Rioux', '-du-Squatec', '-de-Métis', '-d\'Ixworth', '-de-la-Croix', '-de-Matane', '-du-Lac-Humqui', - '-de-Mérici', '-de-la-Pocatière', '-sur-le-Lac', - // Saguenay–Lac-Saint-Jean - '-de-Lorette', '-du-Lac-Saint-Jean', '-de-Bourget', '-de-Falardeau', '-les-Plaines', '-de-Sales', '-de-Taillon', - '-de-Milot', '-du-Nord', - // Québec (Capitale-Nationale) - '-aux-Coudres', '-des-Anges', '-de-Desmaures', '-les-Neiges', '-de-l\'Île-d\'Orléans', '-de-Valcartier', - '-de-Portneuf', '-du-Cap-Tourmente', '-des-Carrières', '-des-Caps', '-de-Beaupré', '-de-Laval', '-de-la-Jacques-Cartier', - '-d\'Auvergne', - // Mauricie - '-de-Monteauban', '-du-Mont-Carmel', '-des-Monts', '-de-Maskinongé', '-de-Caxton', '-des-Grès', '-le-Grand', - '-de-Vincennes', '-du-Parc', '-de-Champlain', '-de-Mékinac', '-de-Prémont', '-de-la-Pérade', '-de-Batiscan', - // Estrie (Cantons de l'est) - '-Ouest', '-Est', '-Sud', '-Nord', '-des-Bois', '-de-Woburn', '-de-Brompton', '-de-Bolton', '-de-Windsor', - '-de-Clifton', '-de-Paquette', '-de-la-Rochelle', '-de-Hatley', '-de-Whitton', - // Montréal - '-de-Bellevue', - // Chaudière-Appalaches - '-de-Buckland', '-des-Pins', '-du-Rosaire', '-d\'Issoudun', '-de-Jésus', '-d\'Irlande', '-de-l\'Isle-aux-Grues', - '-de-Tilly', '-de-Lellis', '-de-Bellechasse', '-de-Lessard', '-de-L\'Islet', '-de-Lotbinière', '-de-Beauce', - '-de-Forsyth', '-de-Panet', '-de-la-Rivière-du-Sud', '-de-Dorset', '-de-Shenley', '-de-Leeds', '-de-Wolfestown', - '-de-Joly', '-de-Brébeuf', '-de-Coleraine', '-des-Érables', '-Bretenières', '-de-Lauzon', '-de-Standon', - '-de-Gonzague', '-de-Beaurivage', '-de-Dorchester', '-de-Cranbourne', '-de-Broughton', '-de-la-Rivière-du-Sud', - '-des-Aulnaies', '-les-Mines', '-de-Lotbinière', '-de-Patton', '-sur-Rivière-du-Sud', '-de-Beauregard', '-de-Watford', - ]; - - /** - * @example 'Saint-Marc-des-Carrières' or 'Sainte-Monique' - */ - protected static $cityFormats = [ - '{{cityPrefix}}{{firstName}}{{citySuffix}}', - '{{cityPrefix}}{{firstName}}', - ]; - - protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%']; - - protected static $streetSuffix = [ - 'Autoroute', 'Avenue', 'Boulevard', 'Chemin', 'Route', 'Rue', 'Pont', - ]; - - protected static $postcode = ['?#? #?#', '?#?#?#']; - - /** - * @example 'Avenue Bolduc' - */ - protected static $streetNameFormats = [ - '{{streetSuffix}} {{firstName}}', - '{{streetSuffix}} {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', - ]; - - protected static $addressFormats = [ - '{{streetAddress}}, {{city}}, {{stateAbbr}} {{postcode}}', - ]; - - protected static $secondaryAddressFormats = ['Apt. ###', 'Suite ###', 'Bureau ###']; - - protected static $state = [ - 'Alberta', 'Colombie-Britannique', 'Manitoba', 'Nouveau-Brunswick', 'Terre-Neuve-et-Labrador', 'Nouvelle-Écosse', 'Ontario', 'Île-du-Prince-Édouard', 'Québec', 'Saskatchewan', - ]; - - protected static $stateAbbr = [ - 'AB', 'BC', 'MB', 'NB', 'NL', 'NS', 'ON', 'PE', 'QC', 'SK', - ]; - - /** - * @example 'Saint-' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - /** - * @example '-des-Sables' - */ - public static function citySuffix() - { - return static::randomElement(static::$citySuffix); - } - - /** - * @example 'Bureau 500' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } - - /** - * @example 'Québec' - */ - public static function state() - { - return static::randomElement(static::$state); - } - - /** - * @example 'QC' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } +class Address extends \Faker\Provider\fr_FR\Address { + protected static $cityPrefix = [ 'Saint-', 'Sainte-', 'St-', 'Ste-' ]; + + /** + * The suffixes come from this list of communities in Québec + * http://fr.wikipedia.org/wiki/Liste_des_municipalités_locales_du_Québec + */ + protected static $citySuffix = [ + // Bas-Saint-Laurent + '-des-Sables', + '-sur-Mer', + '-des-Neiges', + '-des-Sept-Douleurs', + '-du-Portage', + '-du-Loup', + '-des-Lacs', + '-de-Lessard', + '-de-Kamourasca', + '-de-Témiscouata', + '-de-Ladrière', + '-de-Rimouski', + '-de-Rivière-du-Loup', + '-du-Lac', + '-du-Ha! Ha!', + '-du-Lac-Long', + '-de-Rioux', + '-du-Squatec', + '-de-Métis', + '-d\'Ixworth', + '-de-la-Croix', + '-de-Matane', + '-du-Lac-Humqui', + '-de-Mérici', + '-de-la-Pocatière', + '-sur-le-Lac', + // Saguenay–Lac-Saint-Jean + '-de-Lorette', + '-du-Lac-Saint-Jean', + '-de-Bourget', + '-de-Falardeau', + '-les-Plaines', + '-de-Sales', + '-de-Taillon', + '-de-Milot', + '-du-Nord', + // Québec (Capitale-Nationale) + '-aux-Coudres', + '-des-Anges', + '-de-Desmaures', + '-les-Neiges', + '-de-l\'Île-d\'Orléans', + '-de-Valcartier', + '-de-Portneuf', + '-du-Cap-Tourmente', + '-des-Carrières', + '-des-Caps', + '-de-Beaupré', + '-de-Laval', + '-de-la-Jacques-Cartier', + '-d\'Auvergne', + // Mauricie + '-de-Monteauban', + '-du-Mont-Carmel', + '-des-Monts', + '-de-Maskinongé', + '-de-Caxton', + '-des-Grès', + '-le-Grand', + '-de-Vincennes', + '-du-Parc', + '-de-Champlain', + '-de-Mékinac', + '-de-Prémont', + '-de-la-Pérade', + '-de-Batiscan', + // Estrie (Cantons de l'est) + '-Ouest', + '-Est', + '-Sud', + '-Nord', + '-des-Bois', + '-de-Woburn', + '-de-Brompton', + '-de-Bolton', + '-de-Windsor', + '-de-Clifton', + '-de-Paquette', + '-de-la-Rochelle', + '-de-Hatley', + '-de-Whitton', + // Montréal + '-de-Bellevue', + // Chaudière-Appalaches + '-de-Buckland', + '-des-Pins', + '-du-Rosaire', + '-d\'Issoudun', + '-de-Jésus', + '-d\'Irlande', + '-de-l\'Isle-aux-Grues', + '-de-Tilly', + '-de-Lellis', + '-de-Bellechasse', + '-de-Lessard', + '-de-L\'Islet', + '-de-Lotbinière', + '-de-Beauce', + '-de-Forsyth', + '-de-Panet', + '-de-la-Rivière-du-Sud', + '-de-Dorset', + '-de-Shenley', + '-de-Leeds', + '-de-Wolfestown', + '-de-Joly', + '-de-Brébeuf', + '-de-Coleraine', + '-des-Érables', + '-Bretenières', + '-de-Lauzon', + '-de-Standon', + '-de-Gonzague', + '-de-Beaurivage', + '-de-Dorchester', + '-de-Cranbourne', + '-de-Broughton', + '-de-la-Rivière-du-Sud', + '-des-Aulnaies', + '-les-Mines', + '-de-Lotbinière', + '-de-Patton', + '-sur-Rivière-du-Sud', + '-de-Beauregard', + '-de-Watford', + ]; + + /** + * @example 'Saint-Marc-des-Carrières' or 'Sainte-Monique' + */ + protected static $cityFormats = [ + '{{cityPrefix}}{{firstName}}{{citySuffix}}', + '{{cityPrefix}}{{firstName}}', + ]; + + protected static $buildingNumber = [ '%####', '%###', '%##', '%#', '%' ]; + + protected static $streetSuffix = [ + 'Autoroute', + 'Avenue', + 'Boulevard', + 'Chemin', + 'Route', + 'Rue', + 'Pont', + ]; + + protected static $postcode = [ '?#? #?#', '?#?#?#' ]; + + /** + * @example 'Avenue Bolduc' + */ + protected static $streetNameFormats = [ + '{{streetSuffix}} {{firstName}}', + '{{streetSuffix}} {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + '{{buildingNumber}} {{streetName}} {{secondaryAddress}}', + ]; + + protected static $addressFormats = [ + '{{streetAddress}}, {{city}}, {{stateAbbr}} {{postcode}}', + ]; + + protected static $secondaryAddressFormats = [ 'Apt. ###', 'Suite ###', 'Bureau ###' ]; + + protected static $state = [ + 'Alberta', + 'Colombie-Britannique', + 'Manitoba', + 'Nouveau-Brunswick', + 'Terre-Neuve-et-Labrador', + 'Nouvelle-Écosse', + 'Ontario', + 'Île-du-Prince-Édouard', + 'Québec', + 'Saskatchewan', + ]; + + protected static $stateAbbr = [ + 'AB', + 'BC', + 'MB', + 'NB', + 'NL', + 'NS', + 'ON', + 'PE', + 'QC', + 'SK', + ]; + + /** + * @example 'Saint-' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + /** + * @example '-des-Sables' + */ + public static function citySuffix() { + return static::randomElement( static::$citySuffix ); + } + + /** + * @example 'Bureau 500' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } + + /** + * @example 'Québec' + */ + public static function state() { + return static::randomElement( static::$state ); + } + + /** + * @example 'QC' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Color.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Color.php index 1776415..641ef2e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Color.php @@ -2,6 +2,5 @@ namespace Faker\Provider\fr_CA; -class Color extends \Faker\Provider\fr_FR\Color -{ +class Color extends \Faker\Provider\fr_FR\Color { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Company.php index b6ffefd..2eeb7de 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Company.php @@ -2,6 +2,5 @@ namespace Faker\Provider\fr_CA; -class Company extends \Faker\Provider\fr_FR\Company -{ +class Company extends \Faker\Provider\fr_FR\Company { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Person.php index d5938eb..56badc1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Person.php @@ -2,81 +2,370 @@ namespace Faker\Provider\fr_CA; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}-{{lastName}}', - '{{firstNameMale}}-{{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}-{{lastName}}', + '{{firstNameMale}}-{{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}-{{lastName}}', - '{{firstNameFemale}}-{{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}-{{lastName}}', + '{{firstNameFemale}}-{{firstNameFemale}} {{lastName}}', + ]; - /** - * This list is more or less the same as in \Faker\Provider\fr_FR\Person.php - * Some common names were added and other removed. - */ - protected static $firstNameMale = [ - 'Adrien', 'Aimé', 'Alain', 'Albert', 'Alexandre', 'Alfred', 'Alphonse', 'Alysson', 'André', 'Anthony', 'Antoine', 'Arthur', 'Auguste', - 'Augustin', 'Augustine', 'Benjamin', 'Benoit', 'Benoît', 'Bernard', 'Bertrand', 'Charles', 'Christian', 'Christophe', 'Claude', 'Daniel', - 'David', 'Denis', 'Dominic', 'Emmanuel', 'Eugène', 'Françis', 'François', 'Frédéric', 'Gabriel', 'Georges', 'Gilbert', 'Gilles', - 'Grégory', 'Guillaume', 'Guy', 'Gérard', 'Henri', 'Hugues', 'Isaac', 'Jacques', 'Joseph', 'Jules', 'Julien', 'Jérôme', - 'Laurent', 'Louis', 'Luc', 'Lucas', 'Léon', 'Marc', 'Marcel', 'Martin', 'Mathieu', 'Matthieu', 'Maurice', 'Michel', - 'Nicolas', 'Noël', 'Olivier', 'Patrick', 'Paul', 'Philippe', 'Pierre', 'Raymond', 'René', 'Richard', 'Robert', 'Roger', - 'Roland', 'Rémy', 'Simone', 'Stéphane', 'Sébastien', 'Thierry', 'Thomas', 'Théo', 'Théophile', 'Timothée', 'Tristan', 'Victor', - 'Vincent', 'William', 'Xavier', 'Yvan', 'Yves', 'Yvon', 'Zacharie', 'Édouard', 'Émanuelle', 'Émile', 'Éric', 'Étienne', 'Honoré', - ]; + /** + * This list is more or less the same as in \Faker\Provider\fr_FR\Person.php + * Some common names were added and other removed. + */ + protected static $firstNameMale = [ + 'Adrien', + 'Aimé', + 'Alain', + 'Albert', + 'Alexandre', + 'Alfred', + 'Alphonse', + 'Alysson', + 'André', + 'Anthony', + 'Antoine', + 'Arthur', + 'Auguste', + 'Augustin', + 'Augustine', + 'Benjamin', + 'Benoit', + 'Benoît', + 'Bernard', + 'Bertrand', + 'Charles', + 'Christian', + 'Christophe', + 'Claude', + 'Daniel', + 'David', + 'Denis', + 'Dominic', + 'Emmanuel', + 'Eugène', + 'Françis', + 'François', + 'Frédéric', + 'Gabriel', + 'Georges', + 'Gilbert', + 'Gilles', + 'Grégory', + 'Guillaume', + 'Guy', + 'Gérard', + 'Henri', + 'Hugues', + 'Isaac', + 'Jacques', + 'Joseph', + 'Jules', + 'Julien', + 'Jérôme', + 'Laurent', + 'Louis', + 'Luc', + 'Lucas', + 'Léon', + 'Marc', + 'Marcel', + 'Martin', + 'Mathieu', + 'Matthieu', + 'Maurice', + 'Michel', + 'Nicolas', + 'Noël', + 'Olivier', + 'Patrick', + 'Paul', + 'Philippe', + 'Pierre', + 'Raymond', + 'René', + 'Richard', + 'Robert', + 'Roger', + 'Roland', + 'Rémy', + 'Simone', + 'Stéphane', + 'Sébastien', + 'Thierry', + 'Thomas', + 'Théo', + 'Théophile', + 'Timothée', + 'Tristan', + 'Victor', + 'Vincent', + 'William', + 'Xavier', + 'Yvan', + 'Yves', + 'Yvon', + 'Zacharie', + 'Édouard', + 'Émanuelle', + 'Émile', + 'Éric', + 'Étienne', + 'Honoré', + ]; - protected static $firstNameFemale = [ - 'Adrienne', 'Adèle', 'Agathe', 'Aimée', 'Alexandra', 'Alice', 'Aline', 'Amélie', 'Anaïs', 'Andrée', 'Ann', 'Anne', 'Annette', - 'Annie', 'Anouk', 'Arianne', 'Audrey', 'Aurore', 'Aurélie', 'Bernadette', 'Brigitte', 'Camille', 'Caroline', 'Catherine', 'Chantal', - 'Charlotte', 'Christiane', 'Christine', 'Claire', 'Claudine', 'Colette', 'Corrine', 'Cécile', 'Céline', 'Danielle', 'Denise', 'Dominique', - 'Eugénie', 'Eve', 'Françoise', 'Frédérique', 'Gabrielle', 'Geneviève', 'Hélène', 'Isabelle', 'Jacqueline', 'Jean', 'Jeanne', 'Jeannine', - 'Joséphine', 'Julie', 'Laurence', 'Louise', 'Luce', 'Lucie', 'Madeleine', 'Maggie', 'Manon', 'Margot', 'Marguerite', 'Marianne', - 'Marie', 'Marthe', 'Martine', 'Maryse', 'Mathilde', 'Michelle', 'Michèle', 'Monique', 'Nancy', 'Nathalie', 'Nicole', 'Noémie', - 'Odette', 'Olivia', 'Patrice', 'Patricia', 'Paule', 'Paulette', 'Pauline', 'Pénélope', 'Renée', 'Rolande', 'Sophie', 'Stéphanie', - 'Susanne', 'Suzanne', 'Sylvie', 'Thérèse', 'Valérie', 'Virginie', 'Véronique', 'Yvonne', 'Zoé', 'Édith', 'Élisabeth', 'Élise', - 'Élodie', 'Émilie', 'Érika', 'Honorée', - ]; + protected static $firstNameFemale = [ + 'Adrienne', + 'Adèle', + 'Agathe', + 'Aimée', + 'Alexandra', + 'Alice', + 'Aline', + 'Amélie', + 'Anaïs', + 'Andrée', + 'Ann', + 'Anne', + 'Annette', + 'Annie', + 'Anouk', + 'Arianne', + 'Audrey', + 'Aurore', + 'Aurélie', + 'Bernadette', + 'Brigitte', + 'Camille', + 'Caroline', + 'Catherine', + 'Chantal', + 'Charlotte', + 'Christiane', + 'Christine', + 'Claire', + 'Claudine', + 'Colette', + 'Corrine', + 'Cécile', + 'Céline', + 'Danielle', + 'Denise', + 'Dominique', + 'Eugénie', + 'Eve', + 'Françoise', + 'Frédérique', + 'Gabrielle', + 'Geneviève', + 'Hélène', + 'Isabelle', + 'Jacqueline', + 'Jean', + 'Jeanne', + 'Jeannine', + 'Joséphine', + 'Julie', + 'Laurence', + 'Louise', + 'Luce', + 'Lucie', + 'Madeleine', + 'Maggie', + 'Manon', + 'Margot', + 'Marguerite', + 'Marianne', + 'Marie', + 'Marthe', + 'Martine', + 'Maryse', + 'Mathilde', + 'Michelle', + 'Michèle', + 'Monique', + 'Nancy', + 'Nathalie', + 'Nicole', + 'Noémie', + 'Odette', + 'Olivia', + 'Patrice', + 'Patricia', + 'Paule', + 'Paulette', + 'Pauline', + 'Pénélope', + 'Renée', + 'Rolande', + 'Sophie', + 'Stéphanie', + 'Susanne', + 'Suzanne', + 'Sylvie', + 'Thérèse', + 'Valérie', + 'Virginie', + 'Véronique', + 'Yvonne', + 'Zoé', + 'Édith', + 'Élisabeth', + 'Élise', + 'Élodie', + 'Émilie', + 'Érika', + 'Honorée', + ]; - /** - * These last names come from this list of most common family names in Québec (1 to 130) - * http://fr.wikipedia.org/wiki/Liste_des_noms_de_famille_les_plus_courants_au_Québec - */ - protected static $lastName = [ - 'Allard', 'Arsenault', 'Audet', - 'Beaudoin', 'Beaulieu', 'Bédard', 'Bélanger', 'Benoît', 'Bergeron', 'Bernard', 'Bernier', 'Bertrand', 'Bérubé', - 'Bilodeau', 'Blais', 'Blanchette', 'Boisvert', 'Boivin', 'Bolduc', 'Bouchard', 'Boucher', 'Boudreau', - 'Caron', 'Carrier', 'Champagne', 'Charbonneau', 'Cloutier', 'Côté', 'Couture', 'Cyr', - 'Demers', 'Deschênes', 'Desjardins', 'Desrosiers', 'Dion', 'Dionne', 'Drouin', 'Dubé', 'Dubois', 'Dufour', 'Dupuis', - 'Fillion', 'Fontaine', 'Fortier', 'Fortin', 'Fournier', - 'Gagné', 'Gagnon', 'Gaudreault', 'Gauthier', 'Giguère', 'Gilbert', 'Gingras', 'Girard', 'Giroux', 'Goulet', - 'Gosselin', 'Gravel', 'Grenier', 'Guay', - 'Hamel', 'Harvey', 'Hébert', 'Houle', - 'Jean', 'Jacques', - 'Labelle', 'Lachance', 'Lacroix', 'Lalonde', 'Lambert', 'Landry', 'Langlois', 'Lapierre', 'Lapointe', 'Larouche', - 'Lauzon', 'Lavoie', 'Leblanc', 'Leduc', 'Leclerc', 'Lefebvre', 'Legault', 'Lemay', 'Lemieux', 'Lepage', 'Lessard', - 'Lévesque', - 'Martel', 'Martin', 'Ménard', 'Mercier', 'Michaud', 'Moreau', 'Morin', - 'Nadeau', 'Nguyen', - 'Ouellet', - 'Paquette', 'Paradis', 'Parent', 'Pelletier', 'Perreault', 'Perron', 'Picard', 'Plante', 'Poirier', 'Poulin', - 'Proulx', - 'Raymond', 'Renaud', 'Richard', 'Rioux', 'Robert', 'Rousseau', 'Roy', - 'Savard', 'Simard', 'St-Pierre', - 'Tardif', 'Tessier', 'Thériault', 'Therrien', 'Thibault', 'Tremblay', 'Trudel', 'Turcotte', - 'Vachon', 'Vaillancourt', 'Villeneuve', - ]; + /** + * These last names come from this list of most common family names in Québec (1 to 130) + * http://fr.wikipedia.org/wiki/Liste_des_noms_de_famille_les_plus_courants_au_Québec + */ + protected static $lastName = [ + 'Allard', + 'Arsenault', + 'Audet', + 'Beaudoin', + 'Beaulieu', + 'Bédard', + 'Bélanger', + 'Benoît', + 'Bergeron', + 'Bernard', + 'Bernier', + 'Bertrand', + 'Bérubé', + 'Bilodeau', + 'Blais', + 'Blanchette', + 'Boisvert', + 'Boivin', + 'Bolduc', + 'Bouchard', + 'Boucher', + 'Boudreau', + 'Caron', + 'Carrier', + 'Champagne', + 'Charbonneau', + 'Cloutier', + 'Côté', + 'Couture', + 'Cyr', + 'Demers', + 'Deschênes', + 'Desjardins', + 'Desrosiers', + 'Dion', + 'Dionne', + 'Drouin', + 'Dubé', + 'Dubois', + 'Dufour', + 'Dupuis', + 'Fillion', + 'Fontaine', + 'Fortier', + 'Fortin', + 'Fournier', + 'Gagné', + 'Gagnon', + 'Gaudreault', + 'Gauthier', + 'Giguère', + 'Gilbert', + 'Gingras', + 'Girard', + 'Giroux', + 'Goulet', + 'Gosselin', + 'Gravel', + 'Grenier', + 'Guay', + 'Hamel', + 'Harvey', + 'Hébert', + 'Houle', + 'Jean', + 'Jacques', + 'Labelle', + 'Lachance', + 'Lacroix', + 'Lalonde', + 'Lambert', + 'Landry', + 'Langlois', + 'Lapierre', + 'Lapointe', + 'Larouche', + 'Lauzon', + 'Lavoie', + 'Leblanc', + 'Leduc', + 'Leclerc', + 'Lefebvre', + 'Legault', + 'Lemay', + 'Lemieux', + 'Lepage', + 'Lessard', + 'Lévesque', + 'Martel', + 'Martin', + 'Ménard', + 'Mercier', + 'Michaud', + 'Moreau', + 'Morin', + 'Nadeau', + 'Nguyen', + 'Ouellet', + 'Paquette', + 'Paradis', + 'Parent', + 'Pelletier', + 'Perreault', + 'Perron', + 'Picard', + 'Plante', + 'Poirier', + 'Poulin', + 'Proulx', + 'Raymond', + 'Renaud', + 'Richard', + 'Rioux', + 'Robert', + 'Rousseau', + 'Roy', + 'Savard', + 'Simard', + 'St-Pierre', + 'Tardif', + 'Tessier', + 'Thériault', + 'Therrien', + 'Thibault', + 'Tremblay', + 'Trudel', + 'Turcotte', + 'Vachon', + 'Vaillancourt', + 'Villeneuve', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Text.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Text.php index fa2ebe6..24a8f2a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CA/Text.php @@ -2,107 +2,106 @@ namespace Faker\Provider\fr_CA; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of La chasse galerie, by Honoré Beaugrand - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.net - * - * - * Title: La chasse galerie - * Légendes Canadiennes - * - * Author: Honoré Beaugrand - * - * Release Date: July 5, 2005 [EBook #16210] - * - * Language: French - * - * - * *** START OF THIS PROJECT GUTENBERG EBOOK LA CHASSE GALERIE *** - * - * - * - * - * This text was adapted from that found at the Bibliothèque virtuelle. - * http://www.fsj.ualberta.ca/biblio/default.htm - * - * Thank you to Donald Ipperciel and the Faculté Saint-Jean - * (University of Alberta) for making it available. - * - * - * - * - * - * DU MÊME AUTEUR - * - * JEANNE LA FILEUSE--Épisode de l'Émigration Franco-Canadienne aux - * États-Unis--Première édition 1878--Duexième édition--Montréal, 1888. - * - * LE VIEUX MONTRÉAL, 1611-1803--Album historique, chronologique et - * topographique de la ville de Montréal depuis se fondation--13 planches - * en couleurs--Dessins de P. L. Morin--Montréal, 1884. - * - * MELANGES--Trois Conférences--Montréal, 1888. - * - * LETTRES DE VOYAGE--France--Italie--Sicile--Malte--Tunisie--Algérie-- - * Espagne--Montréal, 1889. - * - * SIX MOIS DANS LES MONTAGNES ROCHEUSES--Colorado--Utah--Nouveau - * Mexique--Édition illustrée--Montréal, 1890. - * - * - * LA - * CHASSE - * GALERIE - * Légendes - * Canadiennes - * - * par - * H. Beaugrand - * - * MONTREAL - * 1900 - * - * - * - * - * TABLE DES MATIÈRES - * - * La Chasse-Galerie - * Le Loup-Garou - * La Bête à Grand'queue - * Macloune - * Le Père Louison - * - * - * - * La légende qui suit a déjà été publiée dans la _Patrie_, il y a - * quelque dix ans, et en anglais dans le _Century Magazine_ de New - * York, du mois d'août 1892, avec illustrations par Henri Julien. - * On voit que cela ne date pas d'hier. Le récit lui-même est basé - * sur une croyance populaire qui remonte à lépoque des coureurs - * des bois et des voyageurs du Nord-Ouest. Les "gens de chantier" - * ont continué la tradition, et c'est surtout dans les paroisses - * riveraines du Saint-Laurent que l'on connaît les légendes de - * la chasse-galerie. J'ai rencontré plus d'un vieux voyageur qui - * affirmait avoir vu voguer dans l'air des canots d'écorce remplis - * de "possédés" s'en allant voir leurs blondes, sous l'égide de - * Belzébuth. Si j'ai été forcé de me servir d'expressions plus ou - * moins académiques, on voudra bien se rappeler que je mets en scène - * des hommes au langage aussi rude que leur difficile métier. - * - * H.B. - * - * @see http://www.gutenberg.org/cache/epub/16210/pg16210.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of La chasse galerie, by Honoré Beaugrand + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.net + * + * + * Title: La chasse galerie + * Légendes Canadiennes + * + * Author: Honoré Beaugrand + * + * Release Date: July 5, 2005 [EBook #16210] + * + * Language: French + * + * + * *** START OF THIS PROJECT GUTENBERG EBOOK LA CHASSE GALERIE *** + * + * + * + * + * This text was adapted from that found at the Bibliothèque virtuelle. + * http://www.fsj.ualberta.ca/biblio/default.htm + * + * Thank you to Donald Ipperciel and the Faculté Saint-Jean + * (University of Alberta) for making it available. + * + * + * + * + * + * DU MÊME AUTEUR + * + * JEANNE LA FILEUSE--Épisode de l'Émigration Franco-Canadienne aux + * États-Unis--Première édition 1878--Duexième édition--Montréal, 1888. + * + * LE VIEUX MONTRÉAL, 1611-1803--Album historique, chronologique et + * topographique de la ville de Montréal depuis se fondation--13 planches + * en couleurs--Dessins de P. L. Morin--Montréal, 1884. + * + * MELANGES--Trois Conférences--Montréal, 1888. + * + * LETTRES DE VOYAGE--France--Italie--Sicile--Malte--Tunisie--Algérie-- + * Espagne--Montréal, 1889. + * + * SIX MOIS DANS LES MONTAGNES ROCHEUSES--Colorado--Utah--Nouveau + * Mexique--Édition illustrée--Montréal, 1890. + * + * + * LA + * CHASSE + * GALERIE + * Légendes + * Canadiennes + * + * par + * H. Beaugrand + * + * MONTREAL + * 1900 + * + * + * + * + * TABLE DES MATIÈRES + * + * La Chasse-Galerie + * Le Loup-Garou + * La Bête à Grand'queue + * Macloune + * Le Père Louison + * + * + * + * La légende qui suit a déjà été publiée dans la _Patrie_, il y a + * quelque dix ans, et en anglais dans le _Century Magazine_ de New + * York, du mois d'août 1892, avec illustrations par Henri Julien. + * On voit que cela ne date pas d'hier. Le récit lui-même est basé + * sur une croyance populaire qui remonte à lépoque des coureurs + * des bois et des voyageurs du Nord-Ouest. Les "gens de chantier" + * ont continué la tradition, et c'est surtout dans les paroisses + * riveraines du Saint-Laurent que l'on connaît les légendes de + * la chasse-galerie. J'ai rencontré plus d'un vieux voyageur qui + * affirmait avoir vu voguer dans l'air des canots d'écorce remplis + * de "possédés" s'en allant voir leurs blondes, sous l'égide de + * Belzébuth. Si j'ai été forcé de me servir d'expressions plus ou + * moins académiques, on voudra bien se rappeler que je mets en scène + * des hommes au langage aussi rude que leur difficile métier. + * + * H.B. + * + * @see http://www.gutenberg.org/cache/epub/16210/pg16210.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' LA CHASSE-GALERIE I @@ -2077,370 +2076,370 @@ class Text extends \Faker\Provider\Text était vide et à moitié rempli d'eau. EOT; - /* - End of the Project Gutenberg EBook of La chasse galerie, by Honoré Beaugrand - - *** END OF THIS PROJECT GUTENBERG EBOOK LA CHASSE GALERIE *** - - ***** This file should be named 16210-8.txt or 16210-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/1/6/2/1/16210/ - - This text was adapted from that found at the Bibliothèque virtuelle. - http://www.fsj.ualberta.ca/biblio/default.htm - - Thank you to Donald Ipperciel and the Faculté Saint-Jean - (University of Alberta) for making it available. - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.net/license). - - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.net - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.net), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, is critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including including checks, online payments and credit card - donations. To donate, please visit: http://pglaf.org/donate - - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.net - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - - *** END: FULL LICENSE *** - */ + /* + End of the Project Gutenberg EBook of La chasse galerie, by Honoré Beaugrand + + *** END OF THIS PROJECT GUTENBERG EBOOK LA CHASSE GALERIE *** + + ***** This file should be named 16210-8.txt or 16210-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/1/6/2/1/16210/ + + This text was adapted from that found at the Bibliothèque virtuelle. + http://www.fsj.ualberta.ca/biblio/default.htm + + Thank you to Donald Ipperciel and the Faculté Saint-Jean + (University of Alberta) for making it available. + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.net/license). + + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.net + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.net), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, is critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including including checks, online payments and credit card + donations. To donate, please visit: http://pglaf.org/donate + + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.net + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + + *** END: FULL LICENSE *** + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Address.php index d1fcd42..00209e7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Address.php @@ -2,149 +2,271 @@ namespace Faker\Provider\fr_CH; -class Address extends \Faker\Provider\fr_FR\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '#a', '#b', '#c']; - - protected static $streetPrefix = ['Rue', 'Rue', 'Chemin', 'Avenue', 'Boulevard', 'Place', 'Impasse']; - - protected static $postcode = ['####']; - - /** - * @see https://fr.wikipedia.org/wiki/Villes_de_Suisse - */ - protected static $cityNames = [ - 'Aarau', 'Aarberg', 'Aarburg', 'Agno', 'Aigle VD', 'Altdorf', 'Altstätten', 'Appenzell', 'Arbon', 'Ascona', 'Aubonne', 'Avenches', - 'Baden', 'Bad Zurzach', 'Bâle', 'Bellinzone', 'Berne', 'Beromünster', 'Berthoud', 'Biasca', 'Bienne', 'Bischofszell', 'Boudry', 'Bourg-Saint-Pierre', 'Bremgarten AG', 'Brigue', 'Brugg', 'Bulle', 'Bülach', - 'Cerlier', 'Châtel-Saint-Denis', - 'Coire', 'Conthey', 'Coppet', 'Cossonay', 'Croglio', 'Cudrefin', 'Cully', - 'Delémont', 'Diessenhofen', 'Échallens', 'Eglisau', 'Elgg', 'Estavayer-le-Lac', - 'Frauenfeld', 'Fribourg', - 'Genève', 'Glaris', 'Gordola', 'Grandcour', 'Grandson', 'Greifensee', 'Grüningen', 'Gruyères', - 'Hermance', 'Huttwil', - 'Ilanz', - 'Kaiserstuhl', 'Klingnau', - 'La Chaux-de-Fonds', 'La Neuveville', 'La Sarraz', 'La Tour-de-Peilz', 'La Tour-de-Trême', 'Le Landeron', 'Les Clées', 'Lachen', 'Langenthal', 'Laufon', 'Laufenburg', 'Laupen', 'Lausanne', 'Lenzburg', 'Loèche', 'Lichtensteig', 'Liestal', 'Locarno', 'Losone', 'Lugano', 'Lutry', 'Lucerne', - 'Maienfeld', 'Martigny', 'Mellingen', 'Mendrisio', 'Monthey', 'Morat', 'Morcote', 'Morges', 'Moudon', 'Moutier', 'Münchenstein', - 'Neuchâtel', 'Neunkirch', 'Nidau', 'Nyon', - 'Olten', 'Orbe', 'Orsières', - 'Payerne', 'Porrentruy', - 'Rapperswil', 'Regensberg', 'Rheinau', 'Rheineck', 'Rheinfelden', 'Riva San Vitale', 'Rolle', 'Romainmôtier', 'Romont FR', 'Rorschach', 'Rue', - 'Saillon', 'Saint-Maurice', 'Saint-Prex', 'Saint-Ursanne', 'Sala', 'Saint-Gall', 'Sargans', 'Sarnen', 'Schaffhouse', 'Schwytz', 'Sembrancher', 'Sempach', 'Sion', 'Soleure', 'Splügen', 'Stans', 'Steckborn', 'Stein am Rhein', 'Sursee', - 'Thoune', 'Thusis', - 'Unterseen', 'Uznach', - 'Valangin', 'Vevey', 'Villeneuve', 'Viège', - 'Waldenburg', 'Walenstadt', 'Wangen an der Aare', 'Werdenberg', 'Wiedlisbach', 'Wil', 'Willisau', 'Winterthour', - 'Yverdon-les-Bains', - 'Zofingue', 'Zoug', 'Zurich', - ]; - - /** - * @see https://fr.wikipedia.org/wiki/Canton_suisse - */ - protected static $canton = [ - ['AG' => 'Argovie'], - ['AI' => 'Appenzell Rhodes-Intérieures'], - ['AR' => 'Appenzell Rhodes-Extérieures'], - ['BE' => 'Berne'], - ['BL' => 'Bâle-Campagne'], - ['BS' => 'Bâle-Ville'], - ['FR' => 'Fribourg'], - ['GE' => 'Genève'], - ['GL' => 'Glaris'], - ['GR' => 'Grisons'], - ['JU' => 'Jura'], - ['LU' => 'Lucerne'], - ['NE' => 'Neuchâtel'], - ['NW' => 'Nidwald'], - ['OW' => 'Obwald'], - ['SG' => 'Saint-Gall'], - ['SH' => 'Schaffhouse'], - ['SO' => 'Soleure'], - ['SZ' => 'Schwytz'], - ['TG' => 'Thurgovie'], - ['TI' => 'Tessin'], - ['UR' => 'Uri'], - ['VD' => 'Vaud'], - ['VS' => 'Valais'], - ['ZG' => 'Zoug'], - ['ZH' => 'Zurich'], - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} de {{cityName}}', - '{{streetPrefix}} de {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Returns a random street prefix - * - * @example Rue - * - * @return string - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * Returns a random city name. - * - * @example Luzern - * - * @return string - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } - - /** - * Returns a canton - * - * @example array('BE' => 'Bern') - * - * @return array - */ - public static function canton() - { - return static::randomElement(static::$canton); - } - - /** - * Returns the abbreviation of a canton. - * - * @return string - */ - public static function cantonShort() - { - $canton = static::canton(); - - return key($canton); - } - - /** - * Returns the name of canton. - * - * @return string - */ - public static function cantonName() - { - $canton = static::canton(); - - return current($canton); - } +class Address extends \Faker\Provider\fr_FR\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '#a', '#b', '#c' ]; + + protected static $streetPrefix = [ 'Rue', 'Rue', 'Chemin', 'Avenue', 'Boulevard', 'Place', 'Impasse' ]; + + protected static $postcode = [ '####' ]; + + /** + * @see https://fr.wikipedia.org/wiki/Villes_de_Suisse + */ + protected static $cityNames = [ + 'Aarau', + 'Aarberg', + 'Aarburg', + 'Agno', + 'Aigle VD', + 'Altdorf', + 'Altstätten', + 'Appenzell', + 'Arbon', + 'Ascona', + 'Aubonne', + 'Avenches', + 'Baden', + 'Bad Zurzach', + 'Bâle', + 'Bellinzone', + 'Berne', + 'Beromünster', + 'Berthoud', + 'Biasca', + 'Bienne', + 'Bischofszell', + 'Boudry', + 'Bourg-Saint-Pierre', + 'Bremgarten AG', + 'Brigue', + 'Brugg', + 'Bulle', + 'Bülach', + 'Cerlier', + 'Châtel-Saint-Denis', + 'Coire', + 'Conthey', + 'Coppet', + 'Cossonay', + 'Croglio', + 'Cudrefin', + 'Cully', + 'Delémont', + 'Diessenhofen', + 'Échallens', + 'Eglisau', + 'Elgg', + 'Estavayer-le-Lac', + 'Frauenfeld', + 'Fribourg', + 'Genève', + 'Glaris', + 'Gordola', + 'Grandcour', + 'Grandson', + 'Greifensee', + 'Grüningen', + 'Gruyères', + 'Hermance', + 'Huttwil', + 'Ilanz', + 'Kaiserstuhl', + 'Klingnau', + 'La Chaux-de-Fonds', + 'La Neuveville', + 'La Sarraz', + 'La Tour-de-Peilz', + 'La Tour-de-Trême', + 'Le Landeron', + 'Les Clées', + 'Lachen', + 'Langenthal', + 'Laufon', + 'Laufenburg', + 'Laupen', + 'Lausanne', + 'Lenzburg', + 'Loèche', + 'Lichtensteig', + 'Liestal', + 'Locarno', + 'Losone', + 'Lugano', + 'Lutry', + 'Lucerne', + 'Maienfeld', + 'Martigny', + 'Mellingen', + 'Mendrisio', + 'Monthey', + 'Morat', + 'Morcote', + 'Morges', + 'Moudon', + 'Moutier', + 'Münchenstein', + 'Neuchâtel', + 'Neunkirch', + 'Nidau', + 'Nyon', + 'Olten', + 'Orbe', + 'Orsières', + 'Payerne', + 'Porrentruy', + 'Rapperswil', + 'Regensberg', + 'Rheinau', + 'Rheineck', + 'Rheinfelden', + 'Riva San Vitale', + 'Rolle', + 'Romainmôtier', + 'Romont FR', + 'Rorschach', + 'Rue', + 'Saillon', + 'Saint-Maurice', + 'Saint-Prex', + 'Saint-Ursanne', + 'Sala', + 'Saint-Gall', + 'Sargans', + 'Sarnen', + 'Schaffhouse', + 'Schwytz', + 'Sembrancher', + 'Sempach', + 'Sion', + 'Soleure', + 'Splügen', + 'Stans', + 'Steckborn', + 'Stein am Rhein', + 'Sursee', + 'Thoune', + 'Thusis', + 'Unterseen', + 'Uznach', + 'Valangin', + 'Vevey', + 'Villeneuve', + 'Viège', + 'Waldenburg', + 'Walenstadt', + 'Wangen an der Aare', + 'Werdenberg', + 'Wiedlisbach', + 'Wil', + 'Willisau', + 'Winterthour', + 'Yverdon-les-Bains', + 'Zofingue', + 'Zoug', + 'Zurich', + ]; + + /** + * @see https://fr.wikipedia.org/wiki/Canton_suisse + */ + protected static $canton = [ + [ 'AG' => 'Argovie' ], + [ 'AI' => 'Appenzell Rhodes-Intérieures' ], + [ 'AR' => 'Appenzell Rhodes-Extérieures' ], + [ 'BE' => 'Berne' ], + [ 'BL' => 'Bâle-Campagne' ], + [ 'BS' => 'Bâle-Ville' ], + [ 'FR' => 'Fribourg' ], + [ 'GE' => 'Genève' ], + [ 'GL' => 'Glaris' ], + [ 'GR' => 'Grisons' ], + [ 'JU' => 'Jura' ], + [ 'LU' => 'Lucerne' ], + [ 'NE' => 'Neuchâtel' ], + [ 'NW' => 'Nidwald' ], + [ 'OW' => 'Obwald' ], + [ 'SG' => 'Saint-Gall' ], + [ 'SH' => 'Schaffhouse' ], + [ 'SO' => 'Soleure' ], + [ 'SZ' => 'Schwytz' ], + [ 'TG' => 'Thurgovie' ], + [ 'TI' => 'Tessin' ], + [ 'UR' => 'Uri' ], + [ 'VD' => 'Vaud' ], + [ 'VS' => 'Valais' ], + [ 'ZG' => 'Zoug' ], + [ 'ZH' => 'Zurich' ], + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} de {{cityName}}', + '{{streetPrefix}} de {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Returns a random street prefix + * + * @return string + * @example Rue + * + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * Returns a random city name. + * + * @return string + * @example Luzern + * + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } + + /** + * Returns a canton + * + * @return array + * @example array('BE' => 'Bern') + * + */ + public static function canton() { + return static::randomElement( static::$canton ); + } + + /** + * Returns the abbreviation of a canton. + * + * @return string + */ + public static function cantonShort() { + $canton = static::canton(); + + return key( $canton ); + } + + /** + * Returns the name of canton. + * + * @return string + */ + public static function cantonName() { + $canton = static::canton(); + + return current( $canton ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Color.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Color.php index 6deb9f8..6e2a3c7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Color.php @@ -2,6 +2,5 @@ namespace Faker\Provider\fr_CH; -class Color extends \Faker\Provider\fr_FR\Color -{ +class Color extends \Faker\Provider\fr_FR\Color { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Company.php index fe2d255..652a897 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Company.php @@ -2,14 +2,13 @@ namespace Faker\Provider\fr_CH; -class Company extends \Faker\Provider\fr_FR\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\fr_FR\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['AG', 'Sàrl', 'SA', 'GmbH']; + protected static $companySuffix = [ 'AG', 'Sàrl', 'SA', 'GmbH' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Internet.php index d206e2b..fbff762 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Internet.php @@ -2,8 +2,15 @@ namespace Faker\Provider\fr_CH; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'yahoo.com', 'googlemail.com', 'gmx.ch', 'bluewin.ch', 'swissonline.ch']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'googlemail.com', + 'gmx.ch', + 'bluewin.ch', + 'swissonline.ch' + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Payment.php index fab1302..c1dd6fa 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\fr_CH; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'CH', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Person.php index af5a623..69ac512 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Person.php @@ -2,113 +2,643 @@ namespace Faker\Provider\fr_CH; -class Person extends \Faker\Provider\fr_FR\Person -{ - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameMale = [ - 'Adrian', 'Adrien', 'Alain', 'Albert', 'Alberto', 'Alessandro', 'Alex', 'Alexander', 'Alexandre', 'Alexis', 'Alfred', 'Ali', 'Andrea', 'André', 'Angelo', 'Anthony', 'Antoine', 'Antonio', 'António', 'Arnaud', 'Arthur', 'Aurélien', 'Axel', - 'Baptiste', 'Bastien', 'Benjamin', 'Benoît', 'Bernard', 'Bertrand', 'Bruno', 'Bryan', - 'Carlos', 'Charles', 'Christian', 'Christophe', 'Christopher', 'Claude', 'Claudio', 'Cyril', 'Cédric', - 'Damien', 'Daniel', 'David', 'Denis', 'Didier', 'Diego', 'Diogo', 'Dominique', 'Dylan', - 'Emmanuel', 'Enzo', 'Eric', 'Etienne', - 'Fabien', 'Fabio', 'Fabrice', 'Fernando', 'Filipe', 'Florian', 'Francesco', 'Francis', 'Francisco', 'François', 'Frédéric', - 'Gabriel', 'Georges', 'Gilbert', 'Gilles', 'Giovanni', 'Giuseppe', 'Gregory', 'Grégoire', 'Grégory', 'Guillaume', 'Guy', 'Gérald', 'Gérard', - 'Hans', 'Henri', 'Hervé', 'Hugo', - 'Jacques', 'Jean', 'Jean-Claude', 'Jean-Daniel', 'Jean-François', 'Jean-Jacques', 'Jean-Louis', 'Jean-Luc', 'Jean-Marc', 'Jean-Marie', 'Jean-Michel', 'Jean-Paul', 'Jean-Pierre', 'Joao', 'Joaquim', 'John', 'Jonas', 'Jonathan', 'Jorge', 'Jose', 'Joseph', 'José', 'João', 'Joël', 'Juan', 'Julien', 'Jérémie', 'Jérémy', 'Jérôme', - 'Kevin', - 'Laurent', 'Lionel', 'Loris', 'Louis', 'Loïc', 'Luc', 'Luca', 'Lucas', 'Lucien', 'Ludovic', 'Luis', 'Léo', - 'Manuel', 'Marc', 'Marcel', 'Marco', 'Mario', 'Martin', 'Mathias', 'Mathieu', 'Matteo', 'Matthieu', 'Maurice', 'Max', 'Maxime', 'Michael', 'Michaël', 'Michel', 'Miguel', 'Mohamed', - 'Nathan', 'Nicolas', 'Noah', 'Nolan', 'Nuno', - 'Olivier', - 'Pascal', 'Patrice', 'Patrick', 'Paul', 'Paulo', 'Pedro', 'Peter', 'Philippe', 'Pierre', 'Pierre-Alain', 'Pierre-André', - 'Quentin', - 'Rafael', 'Raphaël', 'Raymond', 'René', 'Ricardo', 'Richard', 'Robert', 'Roberto', 'Robin', 'Roger', 'Roland', 'Romain', 'Rui', 'Rémy', - 'Sacha', 'Salvatore', 'Samuel', 'Serge', 'Sergio', 'Simon', 'Steve', 'Stéphane', 'Sylvain', 'Sébastien', - 'Thierry', 'Thomas', 'Théo', 'Tiago', - 'Valentin', 'Victor', 'Vincent', 'Vitor', - 'Walter', 'William', 'Willy', - 'Xavier', - 'Yann', 'Yannick', 'Yvan', 'Yves', - ]; +class Person extends \Faker\Provider\fr_FR\Person { + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameMale = [ + 'Adrian', + 'Adrien', + 'Alain', + 'Albert', + 'Alberto', + 'Alessandro', + 'Alex', + 'Alexander', + 'Alexandre', + 'Alexis', + 'Alfred', + 'Ali', + 'Andrea', + 'André', + 'Angelo', + 'Anthony', + 'Antoine', + 'Antonio', + 'António', + 'Arnaud', + 'Arthur', + 'Aurélien', + 'Axel', + 'Baptiste', + 'Bastien', + 'Benjamin', + 'Benoît', + 'Bernard', + 'Bertrand', + 'Bruno', + 'Bryan', + 'Carlos', + 'Charles', + 'Christian', + 'Christophe', + 'Christopher', + 'Claude', + 'Claudio', + 'Cyril', + 'Cédric', + 'Damien', + 'Daniel', + 'David', + 'Denis', + 'Didier', + 'Diego', + 'Diogo', + 'Dominique', + 'Dylan', + 'Emmanuel', + 'Enzo', + 'Eric', + 'Etienne', + 'Fabien', + 'Fabio', + 'Fabrice', + 'Fernando', + 'Filipe', + 'Florian', + 'Francesco', + 'Francis', + 'Francisco', + 'François', + 'Frédéric', + 'Gabriel', + 'Georges', + 'Gilbert', + 'Gilles', + 'Giovanni', + 'Giuseppe', + 'Gregory', + 'Grégoire', + 'Grégory', + 'Guillaume', + 'Guy', + 'Gérald', + 'Gérard', + 'Hans', + 'Henri', + 'Hervé', + 'Hugo', + 'Jacques', + 'Jean', + 'Jean-Claude', + 'Jean-Daniel', + 'Jean-François', + 'Jean-Jacques', + 'Jean-Louis', + 'Jean-Luc', + 'Jean-Marc', + 'Jean-Marie', + 'Jean-Michel', + 'Jean-Paul', + 'Jean-Pierre', + 'Joao', + 'Joaquim', + 'John', + 'Jonas', + 'Jonathan', + 'Jorge', + 'Jose', + 'Joseph', + 'José', + 'João', + 'Joël', + 'Juan', + 'Julien', + 'Jérémie', + 'Jérémy', + 'Jérôme', + 'Kevin', + 'Laurent', + 'Lionel', + 'Loris', + 'Louis', + 'Loïc', + 'Luc', + 'Luca', + 'Lucas', + 'Lucien', + 'Ludovic', + 'Luis', + 'Léo', + 'Manuel', + 'Marc', + 'Marcel', + 'Marco', + 'Mario', + 'Martin', + 'Mathias', + 'Mathieu', + 'Matteo', + 'Matthieu', + 'Maurice', + 'Max', + 'Maxime', + 'Michael', + 'Michaël', + 'Michel', + 'Miguel', + 'Mohamed', + 'Nathan', + 'Nicolas', + 'Noah', + 'Nolan', + 'Nuno', + 'Olivier', + 'Pascal', + 'Patrice', + 'Patrick', + 'Paul', + 'Paulo', + 'Pedro', + 'Peter', + 'Philippe', + 'Pierre', + 'Pierre-Alain', + 'Pierre-André', + 'Quentin', + 'Rafael', + 'Raphaël', + 'Raymond', + 'René', + 'Ricardo', + 'Richard', + 'Robert', + 'Roberto', + 'Robin', + 'Roger', + 'Roland', + 'Romain', + 'Rui', + 'Rémy', + 'Sacha', + 'Salvatore', + 'Samuel', + 'Serge', + 'Sergio', + 'Simon', + 'Steve', + 'Stéphane', + 'Sylvain', + 'Sébastien', + 'Thierry', + 'Thomas', + 'Théo', + 'Tiago', + 'Valentin', + 'Victor', + 'Vincent', + 'Vitor', + 'Walter', + 'William', + 'Willy', + 'Xavier', + 'Yann', + 'Yannick', + 'Yvan', + 'Yves', + ]; - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameFemale = [ - 'Agnès', 'Alexandra', 'Alice', 'Alicia', 'Aline', 'Amélie', 'Ana', 'Anaïs', 'Andrea', 'Andrée', 'Angela', 'Anita', 'Anna', 'Anne', 'Anne-Marie', 'Antoinette', 'Ariane', 'Arlette', 'Audrey', 'Aurélie', - 'Barbara', 'Bernadette', 'Brigitte', 'Béatrice', - 'Camille', 'Carine', 'Carla', 'Carmen', 'Carole', 'Caroline', 'Catherine', 'Chantal', 'Charlotte', 'Chloé', 'Christelle', 'Christiane', 'Christine', 'Cindy', 'Claire', 'Clara', 'Claudia', 'Claudine', 'Colette', 'Coralie', 'Corinne', 'Cristina', 'Cécile', 'Célia', 'Céline', - 'Daniela', 'Danielle', 'Danièle', 'Delphine', 'Denise', 'Diana', 'Dominique', - 'Edith', 'Elena', 'Eliane', 'Elisa', 'Elisabeth', 'Elodie', 'Elsa', 'Emilie', 'Emma', 'Erika', 'Estelle', 'Esther', 'Eva', 'Evelyne', - 'Fabienne', 'Fanny', 'Florence', 'Francine', 'Françoise', - 'Gabrielle', 'Geneviève', 'Georgette', 'Ginette', 'Gisèle', 'Géraldine', - 'Huguette', 'Hélène', - 'Inès', 'Irène', 'Isabel', 'Isabelle', - 'Jacqueline', 'Janine', 'Jeanne', 'Jeannine', 'Jennifer', 'Jessica', 'Joana', 'Jocelyne', 'Josette', 'Josiane', 'Joëlle', 'Julia', 'Julie', 'Juliette', 'Justine', - 'Karin', 'Karine', 'Katia', - 'Laetitia', 'Lara', 'Laura', 'Laure', 'Laurence', 'Liliane', 'Lisa', 'Louise', 'Lucia', 'Lucie', 'Léa', - 'Madeleine', 'Magali', 'Manon', 'Manuela', 'Marguerite', 'Maria', 'Marianne', 'Marie', 'Marie-Thérèse', 'Marina', 'Marine', 'Marion', 'Marlyse', 'Marlène', 'Martine', 'Mathilde', 'Melissa', 'Micheline', 'Michelle', 'Michèle', 'Mireille', 'Monica', 'Monique', 'Morgane', 'Muriel', 'Myriam', 'Mélanie', - 'Nadia', 'Nadine', 'Natacha', 'Nathalie', 'Nelly', 'Nicole', 'Nina', 'Noémie', - 'Océane', 'Olga', 'Olivia', - 'Pascale', 'Patricia', 'Paula', 'Pauline', 'Pierrette', - 'Rachel', 'Raymonde', 'Renée', 'Rita', 'Rosa', 'Rose', 'Rose-Marie', 'Ruth', - 'Sabine', 'Sabrina', 'Sandra', 'Sandrine', 'Sara', 'Sarah', 'Silvia', 'Simone', 'Sofia', 'Sonia', 'Sophie', 'Stéphanie', 'Suzanne', 'Sylvia', 'Sylviane', 'Sylvie', 'Séverine', - 'Tania', 'Tatiana', 'Teresa', 'Thérèse', - 'Valentine', 'Valérie', 'Vanessa', 'Victoria', 'Virginie', 'Viviane', 'Véronique', - 'Yolande', 'Yvette', 'Yvonne', - 'Zoé', - ]; + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameFemale = [ + 'Agnès', + 'Alexandra', + 'Alice', + 'Alicia', + 'Aline', + 'Amélie', + 'Ana', + 'Anaïs', + 'Andrea', + 'Andrée', + 'Angela', + 'Anita', + 'Anna', + 'Anne', + 'Anne-Marie', + 'Antoinette', + 'Ariane', + 'Arlette', + 'Audrey', + 'Aurélie', + 'Barbara', + 'Bernadette', + 'Brigitte', + 'Béatrice', + 'Camille', + 'Carine', + 'Carla', + 'Carmen', + 'Carole', + 'Caroline', + 'Catherine', + 'Chantal', + 'Charlotte', + 'Chloé', + 'Christelle', + 'Christiane', + 'Christine', + 'Cindy', + 'Claire', + 'Clara', + 'Claudia', + 'Claudine', + 'Colette', + 'Coralie', + 'Corinne', + 'Cristina', + 'Cécile', + 'Célia', + 'Céline', + 'Daniela', + 'Danielle', + 'Danièle', + 'Delphine', + 'Denise', + 'Diana', + 'Dominique', + 'Edith', + 'Elena', + 'Eliane', + 'Elisa', + 'Elisabeth', + 'Elodie', + 'Elsa', + 'Emilie', + 'Emma', + 'Erika', + 'Estelle', + 'Esther', + 'Eva', + 'Evelyne', + 'Fabienne', + 'Fanny', + 'Florence', + 'Francine', + 'Françoise', + 'Gabrielle', + 'Geneviève', + 'Georgette', + 'Ginette', + 'Gisèle', + 'Géraldine', + 'Huguette', + 'Hélène', + 'Inès', + 'Irène', + 'Isabel', + 'Isabelle', + 'Jacqueline', + 'Janine', + 'Jeanne', + 'Jeannine', + 'Jennifer', + 'Jessica', + 'Joana', + 'Jocelyne', + 'Josette', + 'Josiane', + 'Joëlle', + 'Julia', + 'Julie', + 'Juliette', + 'Justine', + 'Karin', + 'Karine', + 'Katia', + 'Laetitia', + 'Lara', + 'Laura', + 'Laure', + 'Laurence', + 'Liliane', + 'Lisa', + 'Louise', + 'Lucia', + 'Lucie', + 'Léa', + 'Madeleine', + 'Magali', + 'Manon', + 'Manuela', + 'Marguerite', + 'Maria', + 'Marianne', + 'Marie', + 'Marie-Thérèse', + 'Marina', + 'Marine', + 'Marion', + 'Marlyse', + 'Marlène', + 'Martine', + 'Mathilde', + 'Melissa', + 'Micheline', + 'Michelle', + 'Michèle', + 'Mireille', + 'Monica', + 'Monique', + 'Morgane', + 'Muriel', + 'Myriam', + 'Mélanie', + 'Nadia', + 'Nadine', + 'Natacha', + 'Nathalie', + 'Nelly', + 'Nicole', + 'Nina', + 'Noémie', + 'Océane', + 'Olga', + 'Olivia', + 'Pascale', + 'Patricia', + 'Paula', + 'Pauline', + 'Pierrette', + 'Rachel', + 'Raymonde', + 'Renée', + 'Rita', + 'Rosa', + 'Rose', + 'Rose-Marie', + 'Ruth', + 'Sabine', + 'Sabrina', + 'Sandra', + 'Sandrine', + 'Sara', + 'Sarah', + 'Silvia', + 'Simone', + 'Sofia', + 'Sonia', + 'Sophie', + 'Stéphanie', + 'Suzanne', + 'Sylvia', + 'Sylviane', + 'Sylvie', + 'Séverine', + 'Tania', + 'Tatiana', + 'Teresa', + 'Thérèse', + 'Valentine', + 'Valérie', + 'Vanessa', + 'Victoria', + 'Virginie', + 'Viviane', + 'Véronique', + 'Yolande', + 'Yvette', + 'Yvonne', + 'Zoé', + ]; - /** - * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 - */ - protected static $lastName = [ - 'Aebischer', 'Aeby', 'Andrey', 'Aubert', 'Aubry', - 'Bachmann', 'Baechler', 'Baeriswyl', 'Barbey', 'Barras', 'Baumann', 'Baumgartner', 'Berger', 'Bernard', 'Berset', 'Bersier', 'Berthoud', 'Besson', 'Blanc', 'Blaser', 'Boillat', 'Bonvin', 'Bourquin', 'Bruchez', 'Brunner', 'Brügger', 'Buchs', 'Bugnon', 'Burri', 'Bühler', - 'Castella', 'Cattin', 'Chappuis', 'Chapuis', 'Chassot', 'Chatelain', 'Chevalley', 'Chollet', 'Christen', 'Clerc', 'Clément', 'Constantin', 'Crausaz', - 'Da Silva', 'Darbellay', 'Demierre', 'dos Santos', 'Droz', 'Dubois', 'Dubuis', 'Duc', 'Dévaud', - 'Egger', 'Emery', - 'Fasel', 'Favre', 'Fellay', 'Fernandes', 'Fernandez', 'Ferreira', 'Fischer', 'Fleury', 'Flückiger', 'Fournier', 'Fragnière', 'Froidevaux', - 'Gaillard', 'Garcia', 'Gasser', 'Gay', 'Geiser', 'Genoud', 'Gerber', 'Gilliéron', 'Girard', 'Girardin', 'Giroud', 'Glauser', 'Golay', 'Gonzalez', 'Graf', 'Grand', 'Grandjean', 'Gremaud', 'Grosjean', 'Gross', 'Guex', 'Guignard', - 'Hofer', 'Hofmann', 'Huber', 'Huguenin', 'Héritier', - 'Jaccard', 'Jacot', 'Jaquet', 'Jaquier', 'Jeanneret', 'Jordan', 'Jungo', 'Junod', - 'Kaufmann', 'Keller', 'Kohler', 'Kolly', 'Kunz', - 'Lachat', 'Lambert', 'Lehmann', 'Leuba', 'Leuenberger', 'Liechti', 'Lopez', 'Lüthi', - 'Maeder', 'Magnin', 'Maillard', 'Maret', 'Marti', 'Martin', 'Martinez', 'Matthey', 'Maurer', 'Mauron', 'Mayor', 'Meier', 'Meyer', 'Meylan', 'Michaud', 'Michel', 'Monnet', 'Monney', 'Monnier', 'Morand', 'Morard', 'Morel', 'Moret', 'Moser', 'Muller', 'Müller', - 'Neuhaus', 'Nguyen', 'Nicolet', - 'Oberson', - 'Pache', 'Pasche', 'Pasquier', 'Pereira', 'Perez', 'Perrenoud', 'Perret', 'Perrin', 'Perroud', 'Pfister', 'Piguet', 'Piller', 'Pilloud', 'Pittet', 'Pochon', - 'Racine', 'Rey', 'Reymond', 'Richard', 'Robert', 'Rochat', 'Rodrigues', 'Rodriguez', 'Roduit', 'Rosset', 'Rossier', 'Roth', 'Rouiller', 'Roulin', 'Roy', 'Ruffieux', - 'Savary', 'Schaller', 'Schmid', 'Schmidt', 'Schmutz', 'Schneider', 'Schwab', 'Seydoux', 'Simon', 'Stalder', 'Stauffer', 'Steiner', 'Studer', 'Suter', - 'Tissot', - 'Vaucher', 'Vonlanthen', 'Vuilleumier', - 'Waeber', 'Weber', 'Wenger', 'Widmer', 'Wyss', - 'Zbinden', 'Zimmermann', - ]; + /** + * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 + */ + protected static $lastName = [ + 'Aebischer', + 'Aeby', + 'Andrey', + 'Aubert', + 'Aubry', + 'Bachmann', + 'Baechler', + 'Baeriswyl', + 'Barbey', + 'Barras', + 'Baumann', + 'Baumgartner', + 'Berger', + 'Bernard', + 'Berset', + 'Bersier', + 'Berthoud', + 'Besson', + 'Blanc', + 'Blaser', + 'Boillat', + 'Bonvin', + 'Bourquin', + 'Bruchez', + 'Brunner', + 'Brügger', + 'Buchs', + 'Bugnon', + 'Burri', + 'Bühler', + 'Castella', + 'Cattin', + 'Chappuis', + 'Chapuis', + 'Chassot', + 'Chatelain', + 'Chevalley', + 'Chollet', + 'Christen', + 'Clerc', + 'Clément', + 'Constantin', + 'Crausaz', + 'Da Silva', + 'Darbellay', + 'Demierre', + 'dos Santos', + 'Droz', + 'Dubois', + 'Dubuis', + 'Duc', + 'Dévaud', + 'Egger', + 'Emery', + 'Fasel', + 'Favre', + 'Fellay', + 'Fernandes', + 'Fernandez', + 'Ferreira', + 'Fischer', + 'Fleury', + 'Flückiger', + 'Fournier', + 'Fragnière', + 'Froidevaux', + 'Gaillard', + 'Garcia', + 'Gasser', + 'Gay', + 'Geiser', + 'Genoud', + 'Gerber', + 'Gilliéron', + 'Girard', + 'Girardin', + 'Giroud', + 'Glauser', + 'Golay', + 'Gonzalez', + 'Graf', + 'Grand', + 'Grandjean', + 'Gremaud', + 'Grosjean', + 'Gross', + 'Guex', + 'Guignard', + 'Hofer', + 'Hofmann', + 'Huber', + 'Huguenin', + 'Héritier', + 'Jaccard', + 'Jacot', + 'Jaquet', + 'Jaquier', + 'Jeanneret', + 'Jordan', + 'Jungo', + 'Junod', + 'Kaufmann', + 'Keller', + 'Kohler', + 'Kolly', + 'Kunz', + 'Lachat', + 'Lambert', + 'Lehmann', + 'Leuba', + 'Leuenberger', + 'Liechti', + 'Lopez', + 'Lüthi', + 'Maeder', + 'Magnin', + 'Maillard', + 'Maret', + 'Marti', + 'Martin', + 'Martinez', + 'Matthey', + 'Maurer', + 'Mauron', + 'Mayor', + 'Meier', + 'Meyer', + 'Meylan', + 'Michaud', + 'Michel', + 'Monnet', + 'Monney', + 'Monnier', + 'Morand', + 'Morard', + 'Morel', + 'Moret', + 'Moser', + 'Muller', + 'Müller', + 'Neuhaus', + 'Nguyen', + 'Nicolet', + 'Oberson', + 'Pache', + 'Pasche', + 'Pasquier', + 'Pereira', + 'Perez', + 'Perrenoud', + 'Perret', + 'Perrin', + 'Perroud', + 'Pfister', + 'Piguet', + 'Piller', + 'Pilloud', + 'Pittet', + 'Pochon', + 'Racine', + 'Rey', + 'Reymond', + 'Richard', + 'Robert', + 'Rochat', + 'Rodrigues', + 'Rodriguez', + 'Roduit', + 'Rosset', + 'Rossier', + 'Roth', + 'Rouiller', + 'Roulin', + 'Roy', + 'Ruffieux', + 'Savary', + 'Schaller', + 'Schmid', + 'Schmidt', + 'Schmutz', + 'Schneider', + 'Schwab', + 'Seydoux', + 'Simon', + 'Stalder', + 'Stauffer', + 'Steiner', + 'Studer', + 'Suter', + 'Tissot', + 'Vaucher', + 'Vonlanthen', + 'Vuilleumier', + 'Waeber', + 'Weber', + 'Wenger', + 'Widmer', + 'Wyss', + 'Zbinden', + 'Zimmermann', + ]; - /** - * Generates a valid random AVS13 (swiss social security) number - * - * This function will generate a valid random AVS13 number and return it - * as a formatted string. - * - * @see https://www.zas.admin.ch/zas/fr/home/partenaires-et-institutions-/navs13.html - * - * @return string - */ - public static function avs13() - { - $p = [ - 756, - self::numerify('####'), - self::numerify('####'), - self::numerify('#'), - ]; + /** + * Generates a valid random AVS13 (swiss social security) number + * + * This function will generate a valid random AVS13 number and return it + * as a formatted string. + * + * @see https://www.zas.admin.ch/zas/fr/home/partenaires-et-institutions-/navs13.html + * + * @return string + */ + public static function avs13() { + $p = [ + 756, + self::numerify( '####' ), + self::numerify( '####' ), + self::numerify( '#' ), + ]; - $checksum = \Faker\Calculator\Ean::checksum(implode('', $p)); + $checksum = \Faker\Calculator\Ean::checksum( implode( '', $p ) ); - return sprintf('%s.%s.%s.%s%s', $p[0], $p[1], $p[2], $p[3], $checksum); - } + return sprintf( '%s.%s.%s.%s%s', $p[0], $p[1], $p[2], $p[3], $checksum ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/PhoneNumber.php index 2f3edaf..e1e4e58 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/PhoneNumber.php @@ -2,42 +2,40 @@ namespace Faker\Provider\fr_CH; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+41 (0)## ### ## ##', - '+41(0)#########', - '+41 ## ### ## ##', - '0#########', - '0## ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+41 (0)## ### ## ##', + '+41(0)#########', + '+41 ## ### ## ##', + '0#########', + '0## ### ## ##', + ]; - /** - * An array of Swiss mobile (cell) phone number formats. - * - * @var array - */ - protected static $mobileFormats = [ - // Local - '075 ### ## ##', - '075#######', - '076 ### ## ##', - '076#######', - '077 ### ## ##', - '077#######', - '078 ### ## ##', - '078#######', - '079 ### ## ##', - '079#######', - ]; + /** + * An array of Swiss mobile (cell) phone number formats. + * + * @var array + */ + protected static $mobileFormats = [ + // Local + '075 ### ## ##', + '075#######', + '076 ### ## ##', + '076#######', + '077 ### ## ##', + '077#######', + '078 ### ## ##', + '078#######', + '079 ### ## ##', + '079#######', + ]; - /** - * Return a Swiss mobile phone number. - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a Swiss mobile phone number. + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Text.php b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Text.php index ff86439..0c66c50 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_CH/Text.php @@ -2,6 +2,5 @@ namespace Faker\Provider\fr_CH; -class Text extends \Faker\Provider\fr_FR\Text -{ +class Text extends \Faker\Provider\fr_FR\Text { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Address.php index 106f648..5f97e36 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Address.php @@ -2,146 +2,468 @@ namespace Faker\Provider\fr_FR; -class Address extends \Faker\Provider\Address -{ - protected static $citySuffix = ['Ville', 'Bourg', '-les-Bains', '-sur-Mer', '-la-Forêt', 'boeuf', 'nec', 'dan']; - protected static $streetPrefix = ['rue', 'rue', 'chemin', 'avenue', 'boulevard', 'place', 'impasse']; - protected static $cityFormats = [ - '{{lastName}}', - '{{lastName}}', - '{{lastName}}', - '{{lastName}}', - '{{lastName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - '{{lastName}}-sur-{{lastName}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} {{firstName}} {{lastName}}', - '{{streetPrefix}} de {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}', - '{{buildingNumber}}, {{streetName}}', - '{{buildingNumber}}, {{streetName}}', - '{{buildingNumber}}, {{streetName}}', - '{{buildingNumber}}, {{streetName}}', - '{{buildingNumber}}, {{streetName}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; +class Address extends \Faker\Provider\Address { + protected static $citySuffix = [ 'Ville', 'Bourg', '-les-Bains', '-sur-Mer', '-la-Forêt', 'boeuf', 'nec', 'dan' ]; + protected static $streetPrefix = [ 'rue', 'rue', 'chemin', 'avenue', 'boulevard', 'place', 'impasse' ]; + protected static $cityFormats = [ + '{{lastName}}', + '{{lastName}}', + '{{lastName}}', + '{{lastName}}', + '{{lastName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + '{{lastName}}-sur-{{lastName}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} {{firstName}} {{lastName}}', + '{{streetPrefix}} de {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}', + '{{buildingNumber}}, {{streetName}}', + '{{buildingNumber}}, {{streetName}}', + '{{buildingNumber}}, {{streetName}}', + '{{buildingNumber}}, {{streetName}}', + '{{buildingNumber}}, {{streetName}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - protected static $buildingNumber = ['%', '%#', '%#', '%#', '%##']; - protected static $postcode = ['#####', '## ###']; + protected static $buildingNumber = [ '%', '%#', '%#', '%#', '%##' ]; + protected static $postcode = [ '#####', '## ###' ]; - protected static $country = [ - 'Afghanistan', 'Afrique du sud', 'Albanie', 'Algérie', 'Allemagne', 'Andorre', 'Angola', 'Anguilla', 'Antarctique', 'Antigua et Barbuda', 'Antilles néerlandaises', 'Arabie saoudite', 'Argentine', 'Arménie', 'Aruba', 'Australie', 'Autriche', 'Azerbaïdjan', 'Bahamas', 'Bahrain', 'Bangladesh', 'Belgique', 'Belize', 'Benin', 'Bermudes (Les)', 'Bhoutan', 'Biélorussie', 'Bolivie', 'Bosnie-Herzégovine', 'Botswana', 'Bouvet (Îles)', 'Brunei', 'Brésil', 'Bulgarie', 'Burkina Faso', 'Burundi', 'Cambodge', 'Cameroun', 'Canada', 'Cap Vert', 'Cayman (Îles)', 'Chili', 'Chine (Rép. pop.)', 'Christmas (Île)', 'Chypre', 'Cocos (Îles)', 'Colombie', 'Comores', 'Cook (Îles)', 'Corée du Nord', 'Corée, Sud', 'Costa Rica', 'Croatie', 'Cuba', 'Côte d\'Ivoire', 'Danemark', 'Djibouti', 'Dominique', 'Égypte', 'El Salvador', 'Émirats arabes unis', 'Équateur', 'Érythrée', 'Espagne', 'Estonie', 'États-Unis', 'Ethiopie', 'Falkland (Île)', 'Fidji (République des)', 'Finlande', 'France', 'Féroé (Îles)', 'Gabon', - 'Gambie', 'Ghana', 'Gibraltar', 'Grenade', 'Groenland', 'Grèce', 'Guadeloupe', 'Guam', 'Guatemala', 'Guinée', 'Guinée Equatoriale', 'Guinée-Bissau', 'Guyane', 'Guyane française', 'Géorgie', 'Géorgie du Sud et Sandwich du Sud (Îles)', 'Haïti', 'Heard et McDonald (Îles)', 'Honduras', 'Hong Kong', 'Hongrie', 'Îles Mineures Éloignées des États-Unis', 'Inde', 'Indonésie', 'Irak', 'Iran', 'Irlande', 'Islande', 'Israël', 'Italie', 'Jamaïque', 'Japon', 'Jordanie', 'Kazakhstan', 'Kenya', 'Kirghizistan', 'Kiribati', 'Koweit', 'La Barbad', 'Laos', 'Lesotho', 'Lettonie', 'Liban', 'Libye', 'Libéria', 'Liechtenstein', 'Lithuanie', 'Luxembourg', 'Macau', 'Macédoine', 'Madagascar', 'Malaisie', 'Malawi', 'Maldives (Îles)', 'Mali', 'Malte', 'Mariannes du Nord (Îles)', 'Maroc', 'Marshall (Îles)', 'Martinique', 'Maurice', 'Mauritanie', 'Mayotte', 'Mexique', 'Micronésie (États fédérés de)', 'Moldavie', 'Monaco', 'Mongolie', 'Montserrat', 'Mozambique', 'Myanmar', 'Namibie', 'Nauru', 'Nepal', - 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk (Îles)', 'Norvège', 'Nouvelle Calédonie', 'Nouvelle-Zélande', 'Oman', 'Ouganda', 'Ouzbékistan', 'Pakistan', 'Palau', 'Panama', 'Papouasie-Nouvelle-Guinée', 'Paraguay', 'Pays-Bas', 'Philippines', 'Pitcairn (Îles)', 'Pologne', 'Polynésie française', 'Porto Rico', 'Portugal', 'Pérou', 'Qatar', 'Roumanie', 'Royaume-Uni', 'Russie', 'Rwanda', 'Rép. Dém. du Congo', 'République centrafricaine', 'République Dominicaine', 'République tchèque', 'Réunion (La)', 'Sahara Occidental', 'Saint Pierre et Miquelon', 'Saint Vincent et les Grenadines', 'Saint-Kitts et Nevis', 'Saint-Marin (Rép. de)', 'Sainte Hélène', 'Sainte Lucie', 'Samoa', 'Samoa', 'Seychelles', 'Sierra Leone', 'Singapour', 'Slovaquie', 'Slovénie', 'Somalie', 'Soudan', 'Sri Lanka', 'Suisse', 'Suriname', 'Suède', 'Svalbard et Jan Mayen (Îles)', 'Swaziland', 'Syrie', 'São Tomé et Príncipe (Rép.)', 'Sénégal', 'Tadjikistan', 'Taiwan', 'Tanzanie', 'Tchad', - 'Territoire britannique de l\'océan Indien', 'Territoires français du sud', 'Thailande', 'Timor', 'Togo', 'Tokelau', 'Tonga', 'Trinité et Tobago', 'Tunisie', 'Turkménistan', 'Turks et Caïques (Îles)', 'Turquie', 'Tuvalu', 'Ukraine', 'Uruguay', 'Vanuatu', 'Vatican (Etat du)', 'Venezuela', 'Vierges (Îles)', 'Vierges britanniques (Îles)', 'Vietnam', 'Wallis et Futuna (Îles)', 'Yemen', 'Yougoslavie', 'Zambie', 'Zaïre', 'Zimbabwe', - ]; + protected static $country = [ + 'Afghanistan', + 'Afrique du sud', + 'Albanie', + 'Algérie', + 'Allemagne', + 'Andorre', + 'Angola', + 'Anguilla', + 'Antarctique', + 'Antigua et Barbuda', + 'Antilles néerlandaises', + 'Arabie saoudite', + 'Argentine', + 'Arménie', + 'Aruba', + 'Australie', + 'Autriche', + 'Azerbaïdjan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Belgique', + 'Belize', + 'Benin', + 'Bermudes (Les)', + 'Bhoutan', + 'Biélorussie', + 'Bolivie', + 'Bosnie-Herzégovine', + 'Botswana', + 'Bouvet (Îles)', + 'Brunei', + 'Brésil', + 'Bulgarie', + 'Burkina Faso', + 'Burundi', + 'Cambodge', + 'Cameroun', + 'Canada', + 'Cap Vert', + 'Cayman (Îles)', + 'Chili', + 'Chine (Rép. pop.)', + 'Christmas (Île)', + 'Chypre', + 'Cocos (Îles)', + 'Colombie', + 'Comores', + 'Cook (Îles)', + 'Corée du Nord', + 'Corée, Sud', + 'Costa Rica', + 'Croatie', + 'Cuba', + 'Côte d\'Ivoire', + 'Danemark', + 'Djibouti', + 'Dominique', + 'Égypte', + 'El Salvador', + 'Émirats arabes unis', + 'Équateur', + 'Érythrée', + 'Espagne', + 'Estonie', + 'États-Unis', + 'Ethiopie', + 'Falkland (Île)', + 'Fidji (République des)', + 'Finlande', + 'France', + 'Féroé (Îles)', + 'Gabon', + 'Gambie', + 'Ghana', + 'Gibraltar', + 'Grenade', + 'Groenland', + 'Grèce', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guinée', + 'Guinée Equatoriale', + 'Guinée-Bissau', + 'Guyane', + 'Guyane française', + 'Géorgie', + 'Géorgie du Sud et Sandwich du Sud (Îles)', + 'Haïti', + 'Heard et McDonald (Îles)', + 'Honduras', + 'Hong Kong', + 'Hongrie', + 'Îles Mineures Éloignées des États-Unis', + 'Inde', + 'Indonésie', + 'Irak', + 'Iran', + 'Irlande', + 'Islande', + 'Israël', + 'Italie', + 'Jamaïque', + 'Japon', + 'Jordanie', + 'Kazakhstan', + 'Kenya', + 'Kirghizistan', + 'Kiribati', + 'Koweit', + 'La Barbad', + 'Laos', + 'Lesotho', + 'Lettonie', + 'Liban', + 'Libye', + 'Libéria', + 'Liechtenstein', + 'Lithuanie', + 'Luxembourg', + 'Macau', + 'Macédoine', + 'Madagascar', + 'Malaisie', + 'Malawi', + 'Maldives (Îles)', + 'Mali', + 'Malte', + 'Mariannes du Nord (Îles)', + 'Maroc', + 'Marshall (Îles)', + 'Martinique', + 'Maurice', + 'Mauritanie', + 'Mayotte', + 'Mexique', + 'Micronésie (États fédérés de)', + 'Moldavie', + 'Monaco', + 'Mongolie', + 'Montserrat', + 'Mozambique', + 'Myanmar', + 'Namibie', + 'Nauru', + 'Nepal', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk (Îles)', + 'Norvège', + 'Nouvelle Calédonie', + 'Nouvelle-Zélande', + 'Oman', + 'Ouganda', + 'Ouzbékistan', + 'Pakistan', + 'Palau', + 'Panama', + 'Papouasie-Nouvelle-Guinée', + 'Paraguay', + 'Pays-Bas', + 'Philippines', + 'Pitcairn (Îles)', + 'Pologne', + 'Polynésie française', + 'Porto Rico', + 'Portugal', + 'Pérou', + 'Qatar', + 'Roumanie', + 'Royaume-Uni', + 'Russie', + 'Rwanda', + 'Rép. Dém. du Congo', + 'République centrafricaine', + 'République Dominicaine', + 'République tchèque', + 'Réunion (La)', + 'Sahara Occidental', + 'Saint Pierre et Miquelon', + 'Saint Vincent et les Grenadines', + 'Saint-Kitts et Nevis', + 'Saint-Marin (Rép. de)', + 'Sainte Hélène', + 'Sainte Lucie', + 'Samoa', + 'Samoa', + 'Seychelles', + 'Sierra Leone', + 'Singapour', + 'Slovaquie', + 'Slovénie', + 'Somalie', + 'Soudan', + 'Sri Lanka', + 'Suisse', + 'Suriname', + 'Suède', + 'Svalbard et Jan Mayen (Îles)', + 'Swaziland', + 'Syrie', + 'São Tomé et Príncipe (Rép.)', + 'Sénégal', + 'Tadjikistan', + 'Taiwan', + 'Tanzanie', + 'Tchad', + 'Territoire britannique de l\'océan Indien', + 'Territoires français du sud', + 'Thailande', + 'Timor', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinité et Tobago', + 'Tunisie', + 'Turkménistan', + 'Turks et Caïques (Îles)', + 'Turquie', + 'Tuvalu', + 'Ukraine', + 'Uruguay', + 'Vanuatu', + 'Vatican (Etat du)', + 'Venezuela', + 'Vierges (Îles)', + 'Vierges britanniques (Îles)', + 'Vietnam', + 'Wallis et Futuna (Îles)', + 'Yemen', + 'Yougoslavie', + 'Zambie', + 'Zaïre', + 'Zimbabwe', + ]; - /** - * @see https://en.wikipedia.org/wiki/Regions_of_France - */ - private static $regions = [ - 'Auvergne-Rhône-Alpes', 'Bourgogne-Franche-Comté', 'Bretagne', 'Centre-Val de Loire', 'Corse', 'Grand Est', 'Hauts-de-France', - 'Île-de-France', 'Normandie', 'Nouvelle-Aquitaine', 'Occitanie', 'Pays de la Loire', "Provence-Alpes-Côte d'Azur", - 'Guadeloupe', 'Martinique', 'Guyane', 'La Réunion', 'Mayotte', - ]; + /** + * @see https://en.wikipedia.org/wiki/Regions_of_France + */ + private static $regions = [ + 'Auvergne-Rhône-Alpes', + 'Bourgogne-Franche-Comté', + 'Bretagne', + 'Centre-Val de Loire', + 'Corse', + 'Grand Est', + 'Hauts-de-France', + 'Île-de-France', + 'Normandie', + 'Nouvelle-Aquitaine', + 'Occitanie', + 'Pays de la Loire', + "Provence-Alpes-Côte d'Azur", + 'Guadeloupe', + 'Martinique', + 'Guyane', + 'La Réunion', + 'Mayotte', + ]; - private static $departments = [ - ['01' => 'Ain'], ['02' => 'Aisne'], ['03' => 'Allier'], ['04' => 'Alpes-de-Haute-Provence'], ['05' => 'Hautes-Alpes'], - ['06' => 'Alpes-Maritimes'], ['07' => 'Ardèche'], ['08' => 'Ardennes'], ['09' => 'Ariège'], ['10' => 'Aube'], - ['11' => 'Aude'], ['12' => 'Aveyron'], ['13' => 'Bouches-du-Rhône'], ['14' => 'Calvados'], ['15' => 'Cantal'], - ['16' => 'Charente'], ['17' => 'Charente-Maritime'], ['18' => 'Cher'], ['19' => 'Corrèze'], ['2A' => 'Corse-du-Sud'], - ['2B' => 'Haute-Corse'], ['21' => "Côte-d'Or"], ['22' => "Côtes-d'Armor"], ['23' => 'Creuse'], ['24' => 'Dordogne'], - ['25' => 'Doubs'], ['26' => 'Drôme'], ['27' => 'Eure'], ['28' => 'Eure-et-Loir'], ['29' => 'Finistère'], ['30' => 'Gard'], - ['31' => 'Haute-Garonne'], ['32' => 'Gers'], ['33' => 'Gironde'], ['34' => 'Hérault'], ['35' => 'Ille-et-Vilaine'], - ['36' => 'Indre'], ['37' => 'Indre-et-Loire'], ['38' => 'Isère'], ['39' => 'Jura'], ['40' => 'Landes'], ['41' => 'Loir-et-Cher'], - ['42' => 'Loire'], ['43' => 'Haute-Loire'], ['44' => 'Loire-Atlantique'], ['45' => 'Loiret'], ['46' => 'Lot'], - ['47' => 'Lot-et-Garonne'], ['48' => 'Lozère'], ['49' => 'Maine-et-Loire'], ['50' => 'Manche'], ['51' => 'Marne'], - ['52' => 'Haute-Marne'], ['53' => 'Mayenne'], ['54' => 'Meurthe-et-Moselle'], ['55' => 'Meuse'], ['56' => 'Morbihan'], - ['57' => 'Moselle'], ['58' => 'Nièvre'], ['59' => 'Nord'], ['60' => 'Oise'], ['61' => 'Orne'], ['62' => 'Pas-de-Calais'], - ['63' => 'Puy-de-Dôme'], ['64' => 'Pyrénées-Atlantiques'], ['65' => 'Hautes-Pyrénées'], ['66' => 'Pyrénées-Orientales'], - ['67' => 'Bas-Rhin'], ['68' => 'Haut-Rhin'], ['69' => 'Rhône'], ['70' => 'Haute-Saône'], ['71' => 'Saône-et-Loire'], - ['72' => 'Sarthe'], ['73' => 'Savoie'], ['74' => 'Haute-Savoie'], ['75' => 'Paris'], ['76' => 'Seine-Maritime'], - ['77' => 'Seine-et-Marne'], ['78' => 'Yvelines'], ['79' => 'Deux-Sèvres'], ['80' => 'Somme'], ['81' => 'Tarn'], - ['82' => 'Tarn-et-Garonne'], ['83' => 'Var'], ['84' => 'Vaucluse'], ['85' => 'Vendée'], ['86' => 'Vienne'], - ['87' => 'Haute-Vienne'], ['88' => 'Vosges'], ['89' => 'Yonne'], ['90' => 'Territoire de Belfort'], ['91' => 'Essonne'], - ['92' => 'Hauts-de-Seine'], ['93' => 'Seine-Saint-Denis'], ['94' => 'Val-de-Marne'], ['95' => "Val-d'Oise"], - ['971' => 'Guadeloupe'], ['972' => 'Martinique'], ['973' => 'Guyane'], ['974' => 'La Réunion'], ['976' => 'Mayotte'], - ]; + private static $departments = [ + [ '01' => 'Ain' ], + [ '02' => 'Aisne' ], + [ '03' => 'Allier' ], + [ '04' => 'Alpes-de-Haute-Provence' ], + [ '05' => 'Hautes-Alpes' ], + [ '06' => 'Alpes-Maritimes' ], + [ '07' => 'Ardèche' ], + [ '08' => 'Ardennes' ], + [ '09' => 'Ariège' ], + [ '10' => 'Aube' ], + [ '11' => 'Aude' ], + [ '12' => 'Aveyron' ], + [ '13' => 'Bouches-du-Rhône' ], + [ '14' => 'Calvados' ], + [ '15' => 'Cantal' ], + [ '16' => 'Charente' ], + [ '17' => 'Charente-Maritime' ], + [ '18' => 'Cher' ], + [ '19' => 'Corrèze' ], + [ '2A' => 'Corse-du-Sud' ], + [ '2B' => 'Haute-Corse' ], + [ '21' => "Côte-d'Or" ], + [ '22' => "Côtes-d'Armor" ], + [ '23' => 'Creuse' ], + [ '24' => 'Dordogne' ], + [ '25' => 'Doubs' ], + [ '26' => 'Drôme' ], + [ '27' => 'Eure' ], + [ '28' => 'Eure-et-Loir' ], + [ '29' => 'Finistère' ], + [ '30' => 'Gard' ], + [ '31' => 'Haute-Garonne' ], + [ '32' => 'Gers' ], + [ '33' => 'Gironde' ], + [ '34' => 'Hérault' ], + [ '35' => 'Ille-et-Vilaine' ], + [ '36' => 'Indre' ], + [ '37' => 'Indre-et-Loire' ], + [ '38' => 'Isère' ], + [ '39' => 'Jura' ], + [ '40' => 'Landes' ], + [ '41' => 'Loir-et-Cher' ], + [ '42' => 'Loire' ], + [ '43' => 'Haute-Loire' ], + [ '44' => 'Loire-Atlantique' ], + [ '45' => 'Loiret' ], + [ '46' => 'Lot' ], + [ '47' => 'Lot-et-Garonne' ], + [ '48' => 'Lozère' ], + [ '49' => 'Maine-et-Loire' ], + [ '50' => 'Manche' ], + [ '51' => 'Marne' ], + [ '52' => 'Haute-Marne' ], + [ '53' => 'Mayenne' ], + [ '54' => 'Meurthe-et-Moselle' ], + [ '55' => 'Meuse' ], + [ '56' => 'Morbihan' ], + [ '57' => 'Moselle' ], + [ '58' => 'Nièvre' ], + [ '59' => 'Nord' ], + [ '60' => 'Oise' ], + [ '61' => 'Orne' ], + [ '62' => 'Pas-de-Calais' ], + [ '63' => 'Puy-de-Dôme' ], + [ '64' => 'Pyrénées-Atlantiques' ], + [ '65' => 'Hautes-Pyrénées' ], + [ '66' => 'Pyrénées-Orientales' ], + [ '67' => 'Bas-Rhin' ], + [ '68' => 'Haut-Rhin' ], + [ '69' => 'Rhône' ], + [ '70' => 'Haute-Saône' ], + [ '71' => 'Saône-et-Loire' ], + [ '72' => 'Sarthe' ], + [ '73' => 'Savoie' ], + [ '74' => 'Haute-Savoie' ], + [ '75' => 'Paris' ], + [ '76' => 'Seine-Maritime' ], + [ '77' => 'Seine-et-Marne' ], + [ '78' => 'Yvelines' ], + [ '79' => 'Deux-Sèvres' ], + [ '80' => 'Somme' ], + [ '81' => 'Tarn' ], + [ '82' => 'Tarn-et-Garonne' ], + [ '83' => 'Var' ], + [ '84' => 'Vaucluse' ], + [ '85' => 'Vendée' ], + [ '86' => 'Vienne' ], + [ '87' => 'Haute-Vienne' ], + [ '88' => 'Vosges' ], + [ '89' => 'Yonne' ], + [ '90' => 'Territoire de Belfort' ], + [ '91' => 'Essonne' ], + [ '92' => 'Hauts-de-Seine' ], + [ '93' => 'Seine-Saint-Denis' ], + [ '94' => 'Val-de-Marne' ], + [ '95' => "Val-d'Oise" ], + [ '971' => 'Guadeloupe' ], + [ '972' => 'Martinique' ], + [ '973' => 'Guyane' ], + [ '974' => 'La Réunion' ], + [ '976' => 'Mayotte' ], + ]; - protected static $secondaryAddressFormats = ['Apt. ###', 'Suite ###', 'Étage ###', 'Bât. ###', 'Chambre ###']; + protected static $secondaryAddressFormats = [ 'Apt. ###', 'Suite ###', 'Étage ###', 'Bât. ###', 'Chambre ###' ]; - /** - * @example 'Appt. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'rue' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'rue' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * Randomly returns a french region. - * - * @example 'Guadeloupe' - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$regions); - } + /** + * Randomly returns a french region. + * + * @return string + * @example 'Guadeloupe' + * + */ + public static function region() { + return static::randomElement( static::$regions ); + } - /** - * Randomly returns a french department ('departmentNumber' => 'departmentName'). - * - * @example array('2B' => 'Haute-Corse') - * - * @return array - */ - public static function department() - { - return static::randomElement(static::$departments); - } + /** + * Randomly returns a french department ('departmentNumber' => 'departmentName'). + * + * @return array + * @example array('2B' => 'Haute-Corse') + * + */ + public static function department() { + return static::randomElement( static::$departments ); + } - /** - * Randomly returns a french department name. - * - * @example 'Ardèche' - * - * @return string - */ - public static function departmentName() - { - $randomDepartmentName = array_values(static::department()); + /** + * Randomly returns a french department name. + * + * @return string + * @example 'Ardèche' + * + */ + public static function departmentName() { + $randomDepartmentName = array_values( static::department() ); - return $randomDepartmentName[0]; - } + return $randomDepartmentName[0]; + } - /** - * Randomly returns a french department number. - * - * @example '59' - * - * @return string - */ - public static function departmentNumber() - { - $randomDepartmentNumber = array_keys(static::department()); + /** + * Randomly returns a french department number. + * + * @return string + * @example '59' + * + */ + public static function departmentNumber() { + $randomDepartmentNumber = array_keys( static::department() ); - return $randomDepartmentNumber[0]; - } + return $randomDepartmentNumber[0]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Color.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Color.php index a0048ac..51441cf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Color.php @@ -2,39 +2,223 @@ namespace Faker\Provider\fr_FR; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'noir', 'marron', 'vert', 'marine', 'olive', - 'violet', 'turquoise', 'citron', 'bleu', - 'argenté', 'gris', 'jaune', 'fuchsia', 'blanc', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'noir', + 'marron', + 'vert', + 'marine', + 'olive', + 'violet', + 'turquoise', + 'citron', + 'bleu', + 'argenté', + 'gris', + 'jaune', + 'fuchsia', + 'blanc', + ]; - /** - * @source: https://fr.wikipedia.org/wiki/Liste_de_noms_de_couleur#Liste - */ - protected static $allColorNames = [ - 'Abricot', 'Acajou', 'Aigue-marine', 'Amande', 'Amarante', 'Ambre', 'Améthyste', 'Anthracite', 'Argent', 'Aubergine', - 'Aurore', 'Avocat', 'Azur', 'Basané', 'Beurre', 'Bis', 'Bisque', 'Bistre', 'Bitume', 'Blanc cassé', 'Blanc lunaire', - 'Blé', 'Bleu acier', 'Bleu barbeau', 'Bleu canard', 'Bleu céleste', 'Bleu charrette', 'Bleu ciel', 'Bleu de cobalt', - 'Bleu de Prusse', 'Bleu électrique', 'Bleu givré', 'Bleu marine', 'Bleu nuit', 'Bleu outremer', 'Bleu paon', 'Bleu persan', - 'Bleu pétrole', 'Bleu roi', 'Bleu turquin', "Bouton d'or", 'Brique', 'Bronze', 'Brou de noix', "Caca d'oie", 'Cacao', - 'Cachou', 'Cæruleum', 'Café', 'Café au lait', 'Cannelle', 'Capucine', 'Caramel', 'Carmin', 'Carotte', 'Chamois', 'Chartreuse', - 'Chaudron', 'Chocolat', 'Cinabre', 'Citrouille', "Coquille d'œuf", 'Corail', 'Cramoisi', 'Cuisse de nymphe', 'Cuivre', - 'Cyan', 'Écarlate', 'Écru', 'Émeraude', 'Fauve', 'Flave', 'Fraise', 'Fraise écrasée', 'Framboise', 'Fuchsia', 'Fumée', - 'Garance (pigment)', 'Glauque', 'Glycine', 'Grège', 'Grenadine', 'Grenat', 'Gris acier', 'Gris de Payne', 'Gris fer', - 'Gris perle', 'Gris souris', 'Groseille', 'Gueules', 'Héliotrope', 'Incarnat', 'Indigo', 'Indigo', 'Isabelle', - 'Jaune canari', 'Jaune citron', "Jaune d'or", 'Jaune de cobalt', 'Jaune de Mars', 'Jaune de Naples', 'Jaune impérial', - 'Jaune mimosa', 'Lapis-lazuli', 'Lavallière', 'Lavande', 'Lie de vin', 'Lilas', 'Lime ou vert citron', 'Lin', 'Magenta', - 'Maïs', 'Malachite', 'Mandarine', 'Marron', 'Mastic', 'Mauve', 'Menthe', 'Moutarde', 'Nacarat', 'Nankin', 'Noisette', - 'Ocre', 'Ocre rouge', 'Olive', 'Or (couleur)', 'Orange brûlé', 'Orchidée', 'Orpiment (pigment)', 'Paille', 'Parme', "Pelure d'oignon", - 'Pervenche', 'Pistache', 'Poil de chameau', 'Ponceau', 'Pourpre (héraldique)', 'Prasin', 'Prune', 'Puce', 'Rose Mountbatten', - 'Rouge anglais', 'Rouge cardinal', 'Rouge cerise', "Rouge d'Andrinople", 'Rouge de Falun', 'Rouge feu', 'Rouge indien', 'Rouge tomette', 'Rouille', - 'Rubis', 'Sable', 'Sable (héraldique)', 'Safre', 'Sang de bœuf', 'Sanguine', 'Saphir', 'Sarcelle', 'Saumon', 'Sépia', - 'Sinople', 'Smalt', 'Soufre', 'Tabac', "Terre d'ombre", 'Tomate', 'Topaze', 'Tourterelle', 'Turquoise', 'Vanille', - 'Vermeil', 'Vermillon', 'Vert bouteille', 'Vert céladon', "Vert d'eau", 'Vert de chrome', 'Vert-de-gris', 'Vert de Hooker', - 'Vert de vessie', 'Vert épinard', 'Vert impérial', 'Vert lichen', 'Vert olive', 'Vert perroquet', 'Vert poireau', - 'Vert pomme', 'Vert prairie', 'Vert printemps', 'Vert sapin', 'Vert sauge', 'Vert tilleul', 'Vert Véronèse', - 'Violet', "Violet d'évêque", 'Viride', 'Zinzolin', - ]; + /** + * @source: https://fr.wikipedia.org/wiki/Liste_de_noms_de_couleur#Liste + */ + protected static $allColorNames = [ + 'Abricot', + 'Acajou', + 'Aigue-marine', + 'Amande', + 'Amarante', + 'Ambre', + 'Améthyste', + 'Anthracite', + 'Argent', + 'Aubergine', + 'Aurore', + 'Avocat', + 'Azur', + 'Basané', + 'Beurre', + 'Bis', + 'Bisque', + 'Bistre', + 'Bitume', + 'Blanc cassé', + 'Blanc lunaire', + 'Blé', + 'Bleu acier', + 'Bleu barbeau', + 'Bleu canard', + 'Bleu céleste', + 'Bleu charrette', + 'Bleu ciel', + 'Bleu de cobalt', + 'Bleu de Prusse', + 'Bleu électrique', + 'Bleu givré', + 'Bleu marine', + 'Bleu nuit', + 'Bleu outremer', + 'Bleu paon', + 'Bleu persan', + 'Bleu pétrole', + 'Bleu roi', + 'Bleu turquin', + "Bouton d'or", + 'Brique', + 'Bronze', + 'Brou de noix', + "Caca d'oie", + 'Cacao', + 'Cachou', + 'Cæruleum', + 'Café', + 'Café au lait', + 'Cannelle', + 'Capucine', + 'Caramel', + 'Carmin', + 'Carotte', + 'Chamois', + 'Chartreuse', + 'Chaudron', + 'Chocolat', + 'Cinabre', + 'Citrouille', + "Coquille d'œuf", + 'Corail', + 'Cramoisi', + 'Cuisse de nymphe', + 'Cuivre', + 'Cyan', + 'Écarlate', + 'Écru', + 'Émeraude', + 'Fauve', + 'Flave', + 'Fraise', + 'Fraise écrasée', + 'Framboise', + 'Fuchsia', + 'Fumée', + 'Garance (pigment)', + 'Glauque', + 'Glycine', + 'Grège', + 'Grenadine', + 'Grenat', + 'Gris acier', + 'Gris de Payne', + 'Gris fer', + 'Gris perle', + 'Gris souris', + 'Groseille', + 'Gueules', + 'Héliotrope', + 'Incarnat', + 'Indigo', + 'Indigo', + 'Isabelle', + 'Jaune canari', + 'Jaune citron', + "Jaune d'or", + 'Jaune de cobalt', + 'Jaune de Mars', + 'Jaune de Naples', + 'Jaune impérial', + 'Jaune mimosa', + 'Lapis-lazuli', + 'Lavallière', + 'Lavande', + 'Lie de vin', + 'Lilas', + 'Lime ou vert citron', + 'Lin', + 'Magenta', + 'Maïs', + 'Malachite', + 'Mandarine', + 'Marron', + 'Mastic', + 'Mauve', + 'Menthe', + 'Moutarde', + 'Nacarat', + 'Nankin', + 'Noisette', + 'Ocre', + 'Ocre rouge', + 'Olive', + 'Or (couleur)', + 'Orange brûlé', + 'Orchidée', + 'Orpiment (pigment)', + 'Paille', + 'Parme', + "Pelure d'oignon", + 'Pervenche', + 'Pistache', + 'Poil de chameau', + 'Ponceau', + 'Pourpre (héraldique)', + 'Prasin', + 'Prune', + 'Puce', + 'Rose Mountbatten', + 'Rouge anglais', + 'Rouge cardinal', + 'Rouge cerise', + "Rouge d'Andrinople", + 'Rouge de Falun', + 'Rouge feu', + 'Rouge indien', + 'Rouge tomette', + 'Rouille', + 'Rubis', + 'Sable', + 'Sable (héraldique)', + 'Safre', + 'Sang de bœuf', + 'Sanguine', + 'Saphir', + 'Sarcelle', + 'Saumon', + 'Sépia', + 'Sinople', + 'Smalt', + 'Soufre', + 'Tabac', + "Terre d'ombre", + 'Tomate', + 'Topaze', + 'Tourterelle', + 'Turquoise', + 'Vanille', + 'Vermeil', + 'Vermillon', + 'Vert bouteille', + 'Vert céladon', + "Vert d'eau", + 'Vert de chrome', + 'Vert-de-gris', + 'Vert de Hooker', + 'Vert de vessie', + 'Vert épinard', + 'Vert impérial', + 'Vert lichen', + 'Vert olive', + 'Vert perroquet', + 'Vert poireau', + 'Vert pomme', + 'Vert prairie', + 'Vert printemps', + 'Vert sapin', + 'Vert sauge', + 'Vert tilleul', + 'Vert Véronèse', + 'Violet', + "Violet d'évêque", + 'Viride', + 'Zinzolin', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Company.php index 0a659aa..d3fc3e4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Company.php @@ -4,478 +4,496 @@ use Faker\Calculator\Luhn; -class Company extends \Faker\Provider\Company -{ - /** - * @var array French company name formats. - */ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + /** + * @var array French company name formats. + */ + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}', + '{{lastName}}', + ]; - /** - * @var array French catch phrase formats. - */ - protected static $catchPhraseFormats = [ - '{{catchPhraseNoun}} {{catchPhraseVerb}} {{catchPhraseAttribute}}', - ]; + /** + * @var array French catch phrase formats. + */ + protected static $catchPhraseFormats = [ + '{{catchPhraseNoun}} {{catchPhraseVerb}} {{catchPhraseAttribute}}', + ]; - /** - * @var array French nouns (used by the catch phrase format). - */ - protected static $noun = [ - 'la sécurité', 'le plaisir', 'le confort', 'la simplicité', "l'assurance", "l'art", 'le pouvoir', 'le droit', - 'la possibilité', "l'avantage", 'la liberté', - ]; + /** + * @var array French nouns (used by the catch phrase format). + */ + protected static $noun = [ + 'la sécurité', + 'le plaisir', + 'le confort', + 'la simplicité', + "l'assurance", + "l'art", + 'le pouvoir', + 'le droit', + 'la possibilité', + "l'avantage", + 'la liberté', + ]; - /** - * @var array French verbs (used by the catch phrase format). - */ - protected static $verb = [ - 'de rouler', "d'avancer", "d'évoluer", 'de changer', "d'innover", 'de louer', "d'atteindre vos buts", - 'de concrétiser vos projets', - ]; + /** + * @var array French verbs (used by the catch phrase format). + */ + protected static $verb = [ + 'de rouler', + "d'avancer", + "d'évoluer", + 'de changer', + "d'innover", + 'de louer', + "d'atteindre vos buts", + 'de concrétiser vos projets', + ]; - /** - * @var array End of sentences (used by the catch phrase format). - */ - protected static $attribute = [ - 'de manière efficace', 'plus rapidement', 'plus facilement', 'plus simplement', 'en toute tranquilité', - 'avant-tout', 'autrement', 'naturellement', 'à la pointe', 'sans soucis', "à l'état pur", - 'à sa source', 'de manière sûre', 'en toute sécurité', - ]; + /** + * @var array End of sentences (used by the catch phrase format). + */ + protected static $attribute = [ + 'de manière efficace', + 'plus rapidement', + 'plus facilement', + 'plus simplement', + 'en toute tranquilité', + 'avant-tout', + 'autrement', + 'naturellement', + 'à la pointe', + 'sans soucis', + "à l'état pur", + 'à sa source', + 'de manière sûre', + 'en toute sécurité', + ]; - /** - * @var array Company suffixes. - */ - protected static $companySuffix = ['SA', 'S.A.', 'SARL', 'S.A.R.L.', 'SAS', 'S.A.S.', 'et Fils']; + /** + * @var array Company suffixes. + */ + protected static $companySuffix = [ 'SA', 'S.A.', 'SARL', 'S.A.R.L.', 'SAS', 'S.A.S.', 'et Fils' ]; - protected static $siretNicFormats = ['####', '0###', '00#%']; + protected static $siretNicFormats = [ '####', '0###', '00#%' ]; - /** - * Returns a random catch phrase noun. - * - * @return string - */ - public function catchPhraseNoun() - { - return static::randomElement(static::$noun); - } + /** + * Returns a random catch phrase noun. + * + * @return string + */ + public function catchPhraseNoun() { + return static::randomElement( static::$noun ); + } - /** - * Returns a random catch phrase attribute. - * - * @return string - */ - public function catchPhraseAttribute() - { - return static::randomElement(static::$attribute); - } + /** + * Returns a random catch phrase attribute. + * + * @return string + */ + public function catchPhraseAttribute() { + return static::randomElement( static::$attribute ); + } - /** - * Returns a random catch phrase verb. - * - * @return string - */ - public function catchPhraseVerb() - { - return static::randomElement(static::$verb); - } + /** + * Returns a random catch phrase verb. + * + * @return string + */ + public function catchPhraseVerb() { + return static::randomElement( static::$verb ); + } - /** - * Generates a french catch phrase. - * - * @return string - */ - public function catchPhrase() - { - do { - $format = static::randomElement(static::$catchPhraseFormats); - $catchPhrase = ucfirst($this->generator->parse($format)); + /** + * Generates a french catch phrase. + * + * @return string + */ + public function catchPhrase() { + do { + $format = static::randomElement( static::$catchPhraseFormats ); + $catchPhrase = ucfirst( $this->generator->parse( $format ) ); - if ($this->isCatchPhraseValid($catchPhrase)) { - break; - } - } while (true); + if ( $this->isCatchPhraseValid( $catchPhrase ) ) { + break; + } + } while ( true ); - return $catchPhrase; - } + return $catchPhrase; + } - /** - * Generates a siret number (14 digits) that passes the Luhn check. - * - * @see http://fr.wikipedia.org/wiki/Syst%C3%A8me_d'identification_du_r%C3%A9pertoire_des_%C3%A9tablissements - * - * @return string - */ - public function siret($formatted = true) - { - $siret = self::siren(false); - $nicFormat = static::randomElement(static::$siretNicFormats); - $siret .= $this->numerify($nicFormat); - $siret .= Luhn::computeCheckDigit($siret); + /** + * Generates a siret number (14 digits) that passes the Luhn check. + * + * @see http://fr.wikipedia.org/wiki/Syst%C3%A8me_d'identification_du_r%C3%A9pertoire_des_%C3%A9tablissements + * + * @return string + */ + public function siret( $formatted = true ) { + $siret = self::siren( false ); + $nicFormat = static::randomElement( static::$siretNicFormats ); + $siret .= $this->numerify( $nicFormat ); + $siret .= Luhn::computeCheckDigit( $siret ); - if ($formatted) { - $siret = substr($siret, 0, 3) . ' ' . substr($siret, 3, 3) . ' ' . substr($siret, 6, 3) . ' ' . substr($siret, 9, 5); - } + if ( $formatted ) { + $siret = substr( $siret, 0, 3 ) . ' ' . substr( $siret, 3, 3 ) . ' ' . substr( $siret, 6, 3 ) . ' ' . substr( $siret, 9, 5 ); + } - return $siret; - } + return $siret; + } - /** - * Generates a siren number (9 digits) that passes the Luhn check. - * - * @see http://fr.wikipedia.org/wiki/Syst%C3%A8me_d%27identification_du_r%C3%A9pertoire_des_entreprises - * - * @return string - */ - public static function siren($formatted = true) - { - $siren = self::numerify('%#######'); - $siren .= Luhn::computeCheckDigit($siren); + /** + * Generates a siren number (9 digits) that passes the Luhn check. + * + * @see http://fr.wikipedia.org/wiki/Syst%C3%A8me_d%27identification_du_r%C3%A9pertoire_des_entreprises + * + * @return string + */ + public static function siren( $formatted = true ) { + $siren = self::numerify( '%#######' ); + $siren .= Luhn::computeCheckDigit( $siren ); - if ($formatted) { - $siren = substr($siren, 0, 3) . ' ' . substr($siren, 3, 3) . ' ' . substr($siren, 6, 3); - } + if ( $formatted ) { + $siren = substr( $siren, 0, 3 ) . ' ' . substr( $siren, 3, 3 ) . ' ' . substr( $siren, 6, 3 ); + } - return $siren; - } + return $siren; + } - /** - * @var array An array containing string which should not appear twice in a catch phrase. - */ - protected static $wordsWhichShouldNotAppearTwice = ['sécurité', 'simpl']; + /** + * @var array An array containing string which should not appear twice in a catch phrase. + */ + protected static $wordsWhichShouldNotAppearTwice = [ 'sécurité', 'simpl' ]; - /** - * Validates a french catch phrase. - * - * @param string $catchPhrase The catch phrase to validate. - * - * @return bool (true if valid, false otherwise) - */ - protected static function isCatchPhraseValid($catchPhrase) - { - foreach (static::$wordsWhichShouldNotAppearTwice as $word) { - // Fastest way to check if a piece of word does not appear twice. - $beginPos = strpos($catchPhrase, $word); - $endPos = strrpos($catchPhrase, $word); + /** + * Validates a french catch phrase. + * + * @param string $catchPhrase The catch phrase to validate. + * + * @return bool (true if valid, false otherwise) + */ + protected static function isCatchPhraseValid( $catchPhrase ) { + foreach ( static::$wordsWhichShouldNotAppearTwice as $word ) { + // Fastest way to check if a piece of word does not appear twice. + $beginPos = strpos( $catchPhrase, $word ); + $endPos = strrpos( $catchPhrase, $word ); - if ($beginPos !== false && $beginPos != $endPos) { - return false; - } - } + if ( $beginPos !== false && $beginPos != $endPos ) { + return false; + } + } - return true; - } + return true; + } - /** - * @see http://www.pole-emploi.fr/candidat/le-code-rome-et-les-fiches-metiers-@/article.jspz?id=60702 - * - * @note Randomly took 300 from this list - */ - protected static $jobTitleFormat = [ - 'Agent d\'accueil', - 'Agent d\'enquêtes', - 'Agent d\'entreposage', - 'Agent de curage', - 'Agro-économiste', - 'Aide couvreur', - 'Aide à domicile', - 'Aide-déménageur', - 'Ambassadeur', - 'Analyste télématique', - 'Animateur d\'écomusée', - 'Animateur web', - 'Appareilleur-gazier', - 'Archéologue', - 'Armurier d\'art', - 'Armurier spectacle', - 'Artificier spectacle', - 'Artiste dramatique', - 'Aspigiculteur', - 'Assistant de justice', - 'Assistant des ventes', - 'Assistant logistique', - 'Assistant styliste', - 'Assurance', - 'Auteur-adaptateur', - 'Billettiste voyages', - 'Brigadier', - 'Bruiteur', - 'Bâtonnier d\'art', - 'Bûcheron', - 'Cameraman', - 'Capitaine de pêche', - 'Carrier', - 'Caviste', - 'Chansonnier', - 'Chanteur', - 'Chargé de recherche', - 'Chasseur-bagagiste', - 'Chef de fabrication', - 'Chef de scierie', - 'Chef des ventes', - 'Chef du personnel', - 'Chef géographe', - 'Chef monteur son', - 'Chef porion', - 'Chiropraticien', - 'Choréologue', - 'Chromiste', - 'Cintrier-machiniste', - 'Clerc hors rang', - 'Coach sportif', - 'Coffreur béton armé', - 'Coffreur-ferrailleur', - 'Commandant de police', - 'Commandant marine', - 'Commis de coupe', - 'Comptable unique', - 'Conception et études', - 'Conducteur de jumbo', - 'Conseiller culinaire', - 'Conseiller funéraire', - 'Conseiller relooking', - 'Consultant ergonome', - 'Contrebassiste', - 'Convoyeur garde', - 'Copiste offset', - 'Corniste', - 'Costumier-habilleur', - 'Coutelier d\'art', - 'Cueilleur de cerises', - 'Céramiste concepteur', - 'Danse', - 'Danseur', - 'Data manager', - 'Dee-jay', - 'Designer produit', - 'Diététicien conseil', - 'Diététique', - 'Doreur sur métaux', - 'Décorateur-costumier', - 'Défloqueur d\'amiante', - 'Dégustateur', - 'Délégué vétérinaire', - 'Délégué à la tutelle', - 'Désamianteur', - 'Détective', - 'Développeur web', - 'Ecotoxicologue', - 'Elagueur-botteur', - 'Elagueur-grimpeur', - 'Elastiqueur', - 'Eleveur d\'insectes', - 'Eleveur de chats', - 'Eleveur de volailles', - 'Embouteilleur', - 'Employé d\'accueil', - 'Employé d\'étage', - 'Employé de snack-bar', - 'Endivier', - 'Endocrinologue', - 'Epithésiste', - 'Essayeur-retoucheur', - 'Etainier', - 'Etancheur', - 'Etancheur-bardeur', - 'Etiqueteur', - 'Expert back-office', - 'Exploitant de tennis', - 'Extraction', - 'Facteur', - 'Facteur de clavecins', - 'Facteur de secteur', - 'Fantaisiste', - 'Façadier-bardeur', - 'Façadier-ravaleur', - 'Feutier', - 'Finance', - 'Flaconneur', - 'Foreur pétrole', - 'Formateur d\'italien', - 'Fossoyeur', - 'Fraiseur', - 'Fraiseur mouliste', - 'Frigoriste maritime', - 'Fromager', - 'Galeriste', - 'Gardien de résidence', - 'Garçon de chenil', - 'Garçon de hall', - 'Gendarme mobile', - 'Guitariste', - 'Gynécologue', - 'Géodésien', - 'Géologue prospecteur', - 'Géomètre', - 'Géomètre du cadastre', - 'Gérant d\'hôtel', - 'Gérant de tutelle', - 'Gériatre', - 'Hydrothérapie', - 'Hématologue', - 'Hôte de caisse', - 'Ingénieur bâtiment', - 'Ingénieur du son', - 'Ingénieur géologue', - 'Ingénieur géomètre', - 'Ingénieur halieute', - 'Ingénieur logistique', - 'Instituteur', - 'Jointeur de placage', - 'Juge des enfants', - 'Juriste financier', - 'Kiwiculteur', - 'Lexicographe', - 'Liftier', - 'Litigeur transport', - 'Logistique', - 'Logopède', - 'Magicien', - 'Manager d\'artiste', - 'Mannequin détail', - 'Maquilleur spectacle', - 'Marbrier-poseur', - 'Marin grande pêche', - 'Matelassier', - 'Maçon', - 'Maçon-fumiste', - 'Maçonnerie', - 'Maître de ballet', - 'Maïeuticien', - 'Menuisier', - 'Miroitier', - 'Modéliste industriel', - 'Moellonneur', - 'Moniteur de sport', - 'Monteur audiovisuel', - 'Monteur de fermettes', - 'Monteur de palettes', - 'Monteur en siège', - 'Monteur prototypiste', - 'Monteur-frigoriste', - 'Monteur-truquiste', - 'Mouleur sable', - 'Mouliste drapeur', - 'Mécanicien-armurier', - 'Médecin du sport', - 'Médecin scolaire', - 'Médiateur judiciaire', - 'Médiathécaire', - 'Net surfeur surfeuse', - 'Oenologue', - 'Opérateur de plateau', - 'Opérateur du son', - 'Opérateur géomètre', - 'Opérateur piquage', - 'Opérateur vidéo', - 'Ouvrier d\'abattoir', - 'Ouvrier serriste', - 'Ouvrier sidérurgiste', - 'Palefrenier', - 'Paléontologue', - 'Pareur en abattoir', - 'Parfumeur', - 'Parqueteur', - 'Percepteur', - 'Photographe d\'art', - 'Pilote automobile', - 'Pilote de soutireuse', - 'Pilote fluvial', - 'Piqueur en ganterie', - 'Pisteur secouriste', - 'Pizzaïolo', - 'Plaquiste enduiseur', - 'Plasticien', - 'Plisseur', - 'Poissonnier-traiteur', - 'Pontonnier', - 'Porion', - 'Porteur de hottes', - 'Porteur de journaux', - 'Portier', - 'Poseur de granit', - 'Posticheur spectacle', - 'Potier', - 'Praticien dentaire', - 'Praticiens médicaux', - 'Premier clerc', - 'Preneur de son', - 'Primeuriste', - 'Professeur d\'italien', - 'Projeteur béton armé', - 'Promotion des ventes', - 'Présentateur radio', - 'Pyrotechnicien', - 'Pédicure pour bovin', - 'Pédologue', - 'Pédopsychiatre', - 'Quincaillier', - 'Radio chargeur', - 'Ramasseur d\'asperges', - 'Ramasseur d\'endives', - 'Ravaleur-ragréeur', - 'Recherche', - 'Recuiseur', - 'Relieur-doreur', - 'Responsable de salle', - 'Responsable télécoms', - 'Revenue Manager', - 'Rippeur spectacle', - 'Rogneur', - 'Récupérateur', - 'Rédacteur des débats', - 'Régleur funéraire', - 'Régleur sur tour', - 'Sapeur-pompier', - 'Scannériste', - 'Scripte télévision', - 'Sculpteur sur verre', - 'Scénariste', - 'Second de cuisine', - 'Secrétaire juridique', - 'Semencier', - 'Sertisseur', - 'Services funéraires', - 'Solier-moquettiste', - 'Sommelier', - 'Sophrologue', - 'Staffeur', - 'Story boarder', - 'Stratifieur', - 'Stucateur', - 'Styliste graphiste', - 'Surjeteur-raseur', - 'Séismologue', - 'Technicien agricole', - 'Technicien bovin', - 'Technicien géomètre', - 'Technicien plateau', - 'Technicien énergie', - 'Terminologue', - 'Testeur informatique', - 'Toiliste', - 'Topographe', - 'Toréro', - 'Traducteur d\'édition', - 'Traffic manager', - 'Trieur de métaux', - 'Turbinier', - 'Téléconseiller', - 'Tôlier-traceur', - 'Vendeur carreau', - 'Vendeur en lingerie', - 'Vendeur en meubles', - 'Vendeur en épicerie', - 'Verrier d\'art', - 'Verrier à la calotte', - 'Verrier à la main', - 'Verrier à main levée', - 'Vidéo-jockey', - 'Vitrier', - ]; + /** + * @see http://www.pole-emploi.fr/candidat/le-code-rome-et-les-fiches-metiers-@/article.jspz?id=60702 + * + * @note Randomly took 300 from this list + */ + protected static $jobTitleFormat = [ + 'Agent d\'accueil', + 'Agent d\'enquêtes', + 'Agent d\'entreposage', + 'Agent de curage', + 'Agro-économiste', + 'Aide couvreur', + 'Aide à domicile', + 'Aide-déménageur', + 'Ambassadeur', + 'Analyste télématique', + 'Animateur d\'écomusée', + 'Animateur web', + 'Appareilleur-gazier', + 'Archéologue', + 'Armurier d\'art', + 'Armurier spectacle', + 'Artificier spectacle', + 'Artiste dramatique', + 'Aspigiculteur', + 'Assistant de justice', + 'Assistant des ventes', + 'Assistant logistique', + 'Assistant styliste', + 'Assurance', + 'Auteur-adaptateur', + 'Billettiste voyages', + 'Brigadier', + 'Bruiteur', + 'Bâtonnier d\'art', + 'Bûcheron', + 'Cameraman', + 'Capitaine de pêche', + 'Carrier', + 'Caviste', + 'Chansonnier', + 'Chanteur', + 'Chargé de recherche', + 'Chasseur-bagagiste', + 'Chef de fabrication', + 'Chef de scierie', + 'Chef des ventes', + 'Chef du personnel', + 'Chef géographe', + 'Chef monteur son', + 'Chef porion', + 'Chiropraticien', + 'Choréologue', + 'Chromiste', + 'Cintrier-machiniste', + 'Clerc hors rang', + 'Coach sportif', + 'Coffreur béton armé', + 'Coffreur-ferrailleur', + 'Commandant de police', + 'Commandant marine', + 'Commis de coupe', + 'Comptable unique', + 'Conception et études', + 'Conducteur de jumbo', + 'Conseiller culinaire', + 'Conseiller funéraire', + 'Conseiller relooking', + 'Consultant ergonome', + 'Contrebassiste', + 'Convoyeur garde', + 'Copiste offset', + 'Corniste', + 'Costumier-habilleur', + 'Coutelier d\'art', + 'Cueilleur de cerises', + 'Céramiste concepteur', + 'Danse', + 'Danseur', + 'Data manager', + 'Dee-jay', + 'Designer produit', + 'Diététicien conseil', + 'Diététique', + 'Doreur sur métaux', + 'Décorateur-costumier', + 'Défloqueur d\'amiante', + 'Dégustateur', + 'Délégué vétérinaire', + 'Délégué à la tutelle', + 'Désamianteur', + 'Détective', + 'Développeur web', + 'Ecotoxicologue', + 'Elagueur-botteur', + 'Elagueur-grimpeur', + 'Elastiqueur', + 'Eleveur d\'insectes', + 'Eleveur de chats', + 'Eleveur de volailles', + 'Embouteilleur', + 'Employé d\'accueil', + 'Employé d\'étage', + 'Employé de snack-bar', + 'Endivier', + 'Endocrinologue', + 'Epithésiste', + 'Essayeur-retoucheur', + 'Etainier', + 'Etancheur', + 'Etancheur-bardeur', + 'Etiqueteur', + 'Expert back-office', + 'Exploitant de tennis', + 'Extraction', + 'Facteur', + 'Facteur de clavecins', + 'Facteur de secteur', + 'Fantaisiste', + 'Façadier-bardeur', + 'Façadier-ravaleur', + 'Feutier', + 'Finance', + 'Flaconneur', + 'Foreur pétrole', + 'Formateur d\'italien', + 'Fossoyeur', + 'Fraiseur', + 'Fraiseur mouliste', + 'Frigoriste maritime', + 'Fromager', + 'Galeriste', + 'Gardien de résidence', + 'Garçon de chenil', + 'Garçon de hall', + 'Gendarme mobile', + 'Guitariste', + 'Gynécologue', + 'Géodésien', + 'Géologue prospecteur', + 'Géomètre', + 'Géomètre du cadastre', + 'Gérant d\'hôtel', + 'Gérant de tutelle', + 'Gériatre', + 'Hydrothérapie', + 'Hématologue', + 'Hôte de caisse', + 'Ingénieur bâtiment', + 'Ingénieur du son', + 'Ingénieur géologue', + 'Ingénieur géomètre', + 'Ingénieur halieute', + 'Ingénieur logistique', + 'Instituteur', + 'Jointeur de placage', + 'Juge des enfants', + 'Juriste financier', + 'Kiwiculteur', + 'Lexicographe', + 'Liftier', + 'Litigeur transport', + 'Logistique', + 'Logopède', + 'Magicien', + 'Manager d\'artiste', + 'Mannequin détail', + 'Maquilleur spectacle', + 'Marbrier-poseur', + 'Marin grande pêche', + 'Matelassier', + 'Maçon', + 'Maçon-fumiste', + 'Maçonnerie', + 'Maître de ballet', + 'Maïeuticien', + 'Menuisier', + 'Miroitier', + 'Modéliste industriel', + 'Moellonneur', + 'Moniteur de sport', + 'Monteur audiovisuel', + 'Monteur de fermettes', + 'Monteur de palettes', + 'Monteur en siège', + 'Monteur prototypiste', + 'Monteur-frigoriste', + 'Monteur-truquiste', + 'Mouleur sable', + 'Mouliste drapeur', + 'Mécanicien-armurier', + 'Médecin du sport', + 'Médecin scolaire', + 'Médiateur judiciaire', + 'Médiathécaire', + 'Net surfeur surfeuse', + 'Oenologue', + 'Opérateur de plateau', + 'Opérateur du son', + 'Opérateur géomètre', + 'Opérateur piquage', + 'Opérateur vidéo', + 'Ouvrier d\'abattoir', + 'Ouvrier serriste', + 'Ouvrier sidérurgiste', + 'Palefrenier', + 'Paléontologue', + 'Pareur en abattoir', + 'Parfumeur', + 'Parqueteur', + 'Percepteur', + 'Photographe d\'art', + 'Pilote automobile', + 'Pilote de soutireuse', + 'Pilote fluvial', + 'Piqueur en ganterie', + 'Pisteur secouriste', + 'Pizzaïolo', + 'Plaquiste enduiseur', + 'Plasticien', + 'Plisseur', + 'Poissonnier-traiteur', + 'Pontonnier', + 'Porion', + 'Porteur de hottes', + 'Porteur de journaux', + 'Portier', + 'Poseur de granit', + 'Posticheur spectacle', + 'Potier', + 'Praticien dentaire', + 'Praticiens médicaux', + 'Premier clerc', + 'Preneur de son', + 'Primeuriste', + 'Professeur d\'italien', + 'Projeteur béton armé', + 'Promotion des ventes', + 'Présentateur radio', + 'Pyrotechnicien', + 'Pédicure pour bovin', + 'Pédologue', + 'Pédopsychiatre', + 'Quincaillier', + 'Radio chargeur', + 'Ramasseur d\'asperges', + 'Ramasseur d\'endives', + 'Ravaleur-ragréeur', + 'Recherche', + 'Recuiseur', + 'Relieur-doreur', + 'Responsable de salle', + 'Responsable télécoms', + 'Revenue Manager', + 'Rippeur spectacle', + 'Rogneur', + 'Récupérateur', + 'Rédacteur des débats', + 'Régleur funéraire', + 'Régleur sur tour', + 'Sapeur-pompier', + 'Scannériste', + 'Scripte télévision', + 'Sculpteur sur verre', + 'Scénariste', + 'Second de cuisine', + 'Secrétaire juridique', + 'Semencier', + 'Sertisseur', + 'Services funéraires', + 'Solier-moquettiste', + 'Sommelier', + 'Sophrologue', + 'Staffeur', + 'Story boarder', + 'Stratifieur', + 'Stucateur', + 'Styliste graphiste', + 'Surjeteur-raseur', + 'Séismologue', + 'Technicien agricole', + 'Technicien bovin', + 'Technicien géomètre', + 'Technicien plateau', + 'Technicien énergie', + 'Terminologue', + 'Testeur informatique', + 'Toiliste', + 'Topographe', + 'Toréro', + 'Traducteur d\'édition', + 'Traffic manager', + 'Trieur de métaux', + 'Turbinier', + 'Téléconseiller', + 'Tôlier-traceur', + 'Vendeur carreau', + 'Vendeur en lingerie', + 'Vendeur en meubles', + 'Vendeur en épicerie', + 'Verrier d\'art', + 'Verrier à la calotte', + 'Verrier à la main', + 'Verrier à main levée', + 'Vidéo-jockey', + 'Vitrier', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Internet.php index 679919d..6517545 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Internet.php @@ -2,8 +2,21 @@ namespace Faker\Provider\fr_FR; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.fr', 'yahoo.fr', 'laposte.net', 'free.fr', 'sfr.fr', 'orange.fr', 'club-internet.fr', 'dbmail.com', 'live.com', 'noos.fr', 'tele2.fr', 'wanadoo.fr']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'fr', 'fr', 'fr']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.fr', + 'yahoo.fr', + 'laposte.net', + 'free.fr', + 'sfr.fr', + 'orange.fr', + 'club-internet.fr', + 'dbmail.com', + 'live.com', + 'noos.fr', + 'tele2.fr', + 'wanadoo.fr' + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'fr', 'fr', 'fr' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Payment.php index dee6dd6..452c16a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Payment.php @@ -2,48 +2,45 @@ namespace Faker\Provider\fr_FR; -class Payment extends \Faker\Provider\Payment -{ - /** - * Value Added Tax (VAT) - * - * @example 'FR12123456789', ('spaced') 'FR 12 123 456 789' - * - * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 - * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm - * @see http://en.wikipedia.org/wiki/VAT_identification_number - * - * @param bool $spacedNationalPrefix - * - * @return string VAT Number - */ - public function vat($spacedNationalPrefix = true) - { - $siren = Company::siren(false); - $key = (12 + 3 * ($siren % 97)) % 97; - $pattern = "%s%'.02d%s"; +class Payment extends \Faker\Provider\Payment { + /** + * Value Added Tax (VAT) + * + * @param bool $spacedNationalPrefix + * + * @return string VAT Number + * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm + * @see http://en.wikipedia.org/wiki/VAT_identification_number + * + * @example 'FR12123456789', ('spaced') 'FR 12 123 456 789' + * + * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 + */ + public function vat( $spacedNationalPrefix = true ) { + $siren = Company::siren( false ); + $key = ( 12 + 3 * ( $siren % 97 ) ) % 97; + $pattern = "%s%'.02d%s"; - if ($spacedNationalPrefix) { - $siren = trim(chunk_split($siren, 3, ' ')); - $pattern = "%s %'.02d %s"; - } + if ( $spacedNationalPrefix ) { + $siren = trim( chunk_split( $siren, 3, ' ' ) ); + $pattern = "%s %'.02d %s"; + } - return sprintf($pattern, 'FR', $key, $siren); - } + return sprintf( $pattern, 'FR', $key, $siren ); + } - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'FR', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'FR', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Person.php index af47fca..5213335 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Person.php @@ -2,129 +2,724 @@ namespace Faker\Provider\fr_FR; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{prefix}} {{lastName}}', - '{{firstNameMale}} {{lastName}}-{{lastName}}', - '{{firstNameMale}}-{{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{prefix}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}-{{lastName}}', - '{{firstNameFemale}}-{{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'Adrien', 'Aimé', 'Alain', 'Alexandre', 'Alfred', 'Alphonse', 'André', 'Antoine', 'Arthur', 'Auguste', 'Augustin', - 'Benjamin', 'Benoît', 'Bernard', 'Bertrand', 'Charles', 'Christophe', 'Daniel', 'David', 'Denis', 'Édouard', 'Émile', - 'Emmanuel', 'Éric', 'Étienne', 'Eugène', 'François', 'Franck', 'Frédéric', 'Gabriel', 'Georges', 'Gérard', 'Gilbert', - 'Gilles', 'Grégoire', 'Guillaume', 'Guy', 'William', 'Henri', 'Honoré', 'Hugues', 'Isaac', 'Jacques', 'Jean', 'Jérôme', - 'Joseph', 'Jules', 'Julien', 'Laurent', 'Léon', 'Louis', 'Luc', 'Lucas', 'Marc', 'Marcel', 'Martin', 'Matthieu', - 'Maurice', 'Michel', 'Nicolas', 'Noël', 'Olivier', 'Patrick', 'Paul', 'Philippe', 'Pierre', 'Raymond', 'Rémy', 'René', - 'Richard', 'Robert', 'Roger', 'Roland', 'Sébastien', 'Stéphane', 'Théodore', 'Théophile', 'Thibaut', 'Thibault', 'Thierry', - 'Thomas', 'Timothée', 'Tristan', 'Victor', 'Vincent', 'Xavier', 'Yves', 'Zacharie', 'Claude', 'Dominique', - ]; - - protected static $firstNameFemale = [ - 'Adélaïde', 'Adèle', 'Adrienne', 'Agathe', 'Agnès', 'Aimée', 'Alexandrie', 'Alix', 'Alexandria', 'Alex', 'Alice', - 'Amélie', 'Anaïs', 'Anastasie', 'Andrée', 'Anne', 'Anouk', 'Antoinette', 'Arnaude', 'Astrid', 'Audrey', 'Aurélie', - 'Aurore', 'Bernadette', 'Brigitte', 'Capucine', 'Caroline', 'Catherine', 'Cécile', 'Céline', 'Célina', 'Chantal', - 'Charlotte', 'Christelle', 'Christiane', 'Christine', 'Claire', 'Claudine', 'Clémence', 'Colette', 'Constance', - 'Corinne', 'Danielle', 'Denise', 'Diane', 'Dorothée', 'Édith', 'Éléonore', 'Élisabeth', 'Élise', 'Élodie', 'Émilie', - 'Emmanuelle', 'Françoise', 'Frédérique', 'Gabrielle', 'Geneviève', 'Hélène', 'Henriette', 'Hortense', 'Inès', 'Isabelle', - 'Jacqueline', 'Jeanne', 'Jeannine', 'Joséphine', 'Josette', 'Julie', 'Juliette', 'Laetitia', 'Laure', 'Laurence', - 'Lorraine', 'Louise', 'Luce', 'Lucie', 'Lucy', 'Madeleine', 'Manon', 'Marcelle', 'Margaux', 'Margaud', 'Margot', - 'Marguerite', 'Margot', 'Margaret', 'Maggie', 'Marianne', 'Marie', 'Marine', 'Marthe', 'Martine', 'Maryse', - 'Mathilde', 'Michèle', 'Michelle', 'Michelle', 'Monique', 'Nathalie', 'Nath', 'Nathalie', 'Nicole', 'Noémi', 'Océane', - 'Odette', 'Olivie', 'Patricia', 'Paulette', 'Pauline', 'Pénélope', 'Philippine', 'Renée', 'Sabine', 'Simone', 'Sophie', - 'Stéphanie', 'Susanne', 'Suzanne', 'Susan', 'Suzanne', 'Sylvie', 'Thérèse', 'Valentine', 'Valérie', 'Véronique', - 'Victoire', 'Virginie', 'Zoé', 'Camille', 'Dominique', - ]; - - protected static $lastName = [ - 'Martin', 'Bernard', 'Thomas', 'Robert', 'Petit', 'Dubois', 'Richard', 'Garcia', 'Durand', 'Moreau', 'Lefebvre', 'Simon', 'Laurent', 'Michel', 'Leroy', 'Martinez', 'David', 'Fontaine', 'Da Silva', 'Morel', 'Fournier', 'Dupont', 'Bertrand', 'Lambert', 'Rousseau', 'Girard', 'Roux', 'Vincent', 'Lefevre', 'Boyer', 'Lopez', 'Bonnet', 'Andre', 'Francois', 'Mercier', 'Muller', 'Guerin', 'Legrand', 'Sanchez', 'Garnier', 'Chevalier', 'Faure', 'Perez', 'Clement', 'Fernandez', 'Blanc', 'Robin', 'Morin', 'Gauthier', 'Pereira', 'Perrin', 'Roussel', 'Henry', 'Duval', 'Gautier', 'Nicolas', 'Masson', 'Marie', 'Noel', 'Ferreira', 'Lemaire', 'Mathieu', 'Riviere', 'Denis', 'Marchand', 'Rodriguez', 'Dumont', 'Payet', 'Lucas', 'Dufour', 'Dos Santos', 'Joly', 'Blanchard', 'Meunier', 'Rodrigues', 'Caron', 'Gerard', 'Fernandes', 'Brunet', 'Meyer', 'Barbier', 'Leroux', 'Renard', 'Goncalves', 'Gaillard', 'Brun', 'Roy', 'Picard', 'Giraud', 'Roger', 'Schmitt', 'Colin', 'Arnaud', 'Vidal', 'Gonzalez', 'Lemoine', 'Roche', 'Aubert', 'Olivier', 'Leclercq', 'Pierre', 'Philippe', 'Bourgeois', 'Renaud', 'Martins', 'Leclerc', 'Guillaume', 'Lacroix', 'Lecomte', 'Benoit', 'Fabre', 'Carpentier', 'Vasseur', 'Louis', 'Hubert', 'Jean', 'Dumas', 'Rolland', 'Grondin', 'Rey', 'Huet', 'Gomez', 'Dupuis', 'Guillot', 'Berger', 'Moulin', 'Hoarau', 'Menard', 'Deschamps', 'Fleury', 'Adam', 'Boucher', 'Poirier', 'Bertin', 'Charles', 'Aubry', 'Da Costa', 'Royer', 'Dupuy', 'Maillard', 'Paris', 'Baron', 'Lopes', 'Guyot', 'Carre', 'Jacquet', 'Renault', 'Herve', 'Charpentier', 'Klein', 'Cousin', 'Collet', 'Leger', 'Ribeiro', 'Hernandez', 'Bailly', 'Schneider', 'Le Gall', 'Ruiz', 'Langlois', 'Bouvier', 'Gomes', 'Prevost', 'Julien', 'Lebrun', 'Breton', 'Germain', 'Millet', 'Boulanger', 'Remy', 'Le Roux', 'Daniel', 'Marques', 'Maillot', 'Leblanc', 'Le Goff', 'Barre', 'Perrot', 'Leveque', 'Marty', 'Benard', 'Monnier', 'Hamon', 'Pelletier', 'Alves', 'Etienne', 'Marchal', 'Poulain', 'Tessier', 'Lemaitre', 'Guichard', 'Besson', 'Mallet', 'Hoareau', 'Gillet', 'Weber', 'Jacob', 'Collin', 'Chevallier', 'Perrier', 'Michaud', 'Carlier', 'Delaunay', 'Chauvin', 'Alexandre', 'Marechal', 'Antoine', 'Lebon', 'Cordier', 'Lejeune', 'Bouchet', 'Pasquier', 'Legros', 'Delattre', 'Humbert', 'De Oliveira', 'Briand', 'Lamy', 'Launay', 'Gilbert', 'Perret', 'Lesage', 'Gay', 'Nguyen', 'Navarro', 'Besnard', 'Pichon', 'Hebert', 'Cohen', 'Pons', 'Lebreton', 'Sauvage', 'De Sousa', 'Pineau', 'Albert', 'Jacques', 'Pinto', 'Barthelemy', 'Turpin', 'Bigot', 'Lelievre', 'Georges', 'Reynaud', 'Ollivier', 'Martel', 'Voisin', 'Leduc', 'Guillet', 'Vallee', 'Coulon', 'Camus', 'Marin', 'Teixeira', 'Costa', 'Mahe', 'Didier', 'Charrier', 'Gaudin', 'Bodin', 'Guillou', 'Gregoire', 'Gros', 'Blanchet', 'Buisson', 'Blondel', 'Paul', 'Dijoux', 'Barbe', 'Hardy', 'Laine', 'Evrard', 'Laporte', 'Rossi', 'Joubert', 'Regnier', 'Tanguy', 'Gimenez', 'Allard', 'Devaux', 'Morvan', 'Levy', 'Dias', 'Courtois', 'Lenoir', 'Berthelot', 'Pascal', 'Vaillant', 'Guilbert', 'Thibault', 'Moreno', 'Duhamel', 'Colas', 'Masse', 'Baudry', 'Bruneau', 'Verdier', 'Delorme', 'Blin', 'Guillon', 'Mary', 'Coste', 'Pruvost', 'Maury', 'Allain', 'Valentin', 'Godard', 'Joseph', 'Brunel', 'Marion', 'Texier', 'Seguin', 'Raynaud', 'Bourdon', 'Raymond', 'Bonneau', 'Chauvet', 'Maurice', 'Legendre', 'Loiseau', 'Ferrand', 'Toussaint', 'Techer', 'Lombard', 'Lefort', 'Couturier', 'Bousquet', 'Diaz', 'Riou', 'Clerc', 'Weiss', 'Imbert', 'Jourdan', 'Delahaye', 'Gilles', 'Guibert', 'Begue', 'Descamps', 'Delmas', 'Peltier', 'Dupre', 'Chartier', 'Martineau', 'Laroche', 'Leconte', 'Maillet', 'Parent', 'Labbe', 'Potier', 'Bazin', 'Normand', 'Pottier', 'Torres', 'Lagarde', 'Blot', 'Jacquot', 'Lemonnier', 'Grenier', 'Rocher', 'Bonnin', 'Boutin', 'Fischer', 'Munoz', 'Neveu', 'Lacombe', 'Mendes', 'Delannoy', 'Auger', 'Wagner', 'Fouquet', 'Mace', 'Ramos', 'Pages', 'Petitjean', 'Chauveau', 'Foucher', 'Peron', 'Guyon', 'Gallet', 'Rousset', 'Traore', 'Bernier', 'Vallet', 'Letellier', 'Bouvet', 'Hamel', 'Chretien', 'Faivre', 'Boulay', 'Thierry', 'Samson', 'Ledoux', 'Salmon', 'Gosselin', 'Lecoq', 'Pires', 'Leleu', 'Becker', 'Diallo', 'Merle', 'Valette', - ]; - - protected static $titleMale = ['M.', 'Dr.', 'Pr.', 'Me.']; - - protected static $titleFemale = ['Mme.', 'Mlle', 'Dr.', 'Pr.', 'Me.']; - - protected static $prefix = ['de', 'de la', 'Le', 'du']; - - public static function prefix() - { - return static::randomElement(static::$prefix); - } - - /** - * Generates a NIR / Sécurité Sociale number (13 digits + 2 digits for the key) - * - * @see https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France - * - * @return string - */ - public function nir($gender = null, $formatted = false) - { - // Gender - if ($gender === static::GENDER_MALE) { - $nir = 1; - } elseif ($gender === static::GENDER_FEMALE) { - $nir = 2; - } else { - $nir = $this->numberBetween(1, 2); - } - - $nir .= - // Year of birth (aa) - $this->numerify('##') . - // Mont of birth (mm) - sprintf('%02d', $this->numberBetween(1, 12)); - - // Department - $department = key(Address::department()); - $nir .= $department; - - // Town number, depends on department length - if (strlen($department) === 2) { - $nir .= $this->numerify('###'); - } elseif (strlen($department) === 3) { - $nir .= $this->numerify('##'); - } - - // Born number (depending of town and month of birth) - $nir .= $this->numerify('###'); - - /** - * The key for a given NIR is `97 - 97 % NIR` - * NIR has to be an integer, so we have to do a little replacment - * for departments 2A and 2B - */ - if ($department === '2A') { - $nirInteger = str_replace('2A', '19', $nir); - } elseif ($department === '2B') { - $nirInteger = str_replace('2B', '18', $nir); - } else { - $nirInteger = $nir; - } - $nir .= sprintf('%02d', 97 - $nirInteger % 97); - - // Format is x xx xx xx xxx xxx xx - if ($formatted) { - $nir = substr($nir, 0, 1) . ' ' . substr($nir, 1, 2) . ' ' . substr($nir, 3, 2) . ' ' . substr($nir, 5, 2) . ' ' . substr($nir, 7, 3) . ' ' . substr($nir, 10, 3) . ' ' . substr($nir, 13, 2); - } - - return $nir; - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{prefix}} {{lastName}}', + '{{firstNameMale}} {{lastName}}-{{lastName}}', + '{{firstNameMale}}-{{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{prefix}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}-{{lastName}}', + '{{firstNameFemale}}-{{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'Adrien', + 'Aimé', + 'Alain', + 'Alexandre', + 'Alfred', + 'Alphonse', + 'André', + 'Antoine', + 'Arthur', + 'Auguste', + 'Augustin', + 'Benjamin', + 'Benoît', + 'Bernard', + 'Bertrand', + 'Charles', + 'Christophe', + 'Daniel', + 'David', + 'Denis', + 'Édouard', + 'Émile', + 'Emmanuel', + 'Éric', + 'Étienne', + 'Eugène', + 'François', + 'Franck', + 'Frédéric', + 'Gabriel', + 'Georges', + 'Gérard', + 'Gilbert', + 'Gilles', + 'Grégoire', + 'Guillaume', + 'Guy', + 'William', + 'Henri', + 'Honoré', + 'Hugues', + 'Isaac', + 'Jacques', + 'Jean', + 'Jérôme', + 'Joseph', + 'Jules', + 'Julien', + 'Laurent', + 'Léon', + 'Louis', + 'Luc', + 'Lucas', + 'Marc', + 'Marcel', + 'Martin', + 'Matthieu', + 'Maurice', + 'Michel', + 'Nicolas', + 'Noël', + 'Olivier', + 'Patrick', + 'Paul', + 'Philippe', + 'Pierre', + 'Raymond', + 'Rémy', + 'René', + 'Richard', + 'Robert', + 'Roger', + 'Roland', + 'Sébastien', + 'Stéphane', + 'Théodore', + 'Théophile', + 'Thibaut', + 'Thibault', + 'Thierry', + 'Thomas', + 'Timothée', + 'Tristan', + 'Victor', + 'Vincent', + 'Xavier', + 'Yves', + 'Zacharie', + 'Claude', + 'Dominique', + ]; + + protected static $firstNameFemale = [ + 'Adélaïde', + 'Adèle', + 'Adrienne', + 'Agathe', + 'Agnès', + 'Aimée', + 'Alexandrie', + 'Alix', + 'Alexandria', + 'Alex', + 'Alice', + 'Amélie', + 'Anaïs', + 'Anastasie', + 'Andrée', + 'Anne', + 'Anouk', + 'Antoinette', + 'Arnaude', + 'Astrid', + 'Audrey', + 'Aurélie', + 'Aurore', + 'Bernadette', + 'Brigitte', + 'Capucine', + 'Caroline', + 'Catherine', + 'Cécile', + 'Céline', + 'Célina', + 'Chantal', + 'Charlotte', + 'Christelle', + 'Christiane', + 'Christine', + 'Claire', + 'Claudine', + 'Clémence', + 'Colette', + 'Constance', + 'Corinne', + 'Danielle', + 'Denise', + 'Diane', + 'Dorothée', + 'Édith', + 'Éléonore', + 'Élisabeth', + 'Élise', + 'Élodie', + 'Émilie', + 'Emmanuelle', + 'Françoise', + 'Frédérique', + 'Gabrielle', + 'Geneviève', + 'Hélène', + 'Henriette', + 'Hortense', + 'Inès', + 'Isabelle', + 'Jacqueline', + 'Jeanne', + 'Jeannine', + 'Joséphine', + 'Josette', + 'Julie', + 'Juliette', + 'Laetitia', + 'Laure', + 'Laurence', + 'Lorraine', + 'Louise', + 'Luce', + 'Lucie', + 'Lucy', + 'Madeleine', + 'Manon', + 'Marcelle', + 'Margaux', + 'Margaud', + 'Margot', + 'Marguerite', + 'Margot', + 'Margaret', + 'Maggie', + 'Marianne', + 'Marie', + 'Marine', + 'Marthe', + 'Martine', + 'Maryse', + 'Mathilde', + 'Michèle', + 'Michelle', + 'Michelle', + 'Monique', + 'Nathalie', + 'Nath', + 'Nathalie', + 'Nicole', + 'Noémi', + 'Océane', + 'Odette', + 'Olivie', + 'Patricia', + 'Paulette', + 'Pauline', + 'Pénélope', + 'Philippine', + 'Renée', + 'Sabine', + 'Simone', + 'Sophie', + 'Stéphanie', + 'Susanne', + 'Suzanne', + 'Susan', + 'Suzanne', + 'Sylvie', + 'Thérèse', + 'Valentine', + 'Valérie', + 'Véronique', + 'Victoire', + 'Virginie', + 'Zoé', + 'Camille', + 'Dominique', + ]; + + protected static $lastName = [ + 'Martin', + 'Bernard', + 'Thomas', + 'Robert', + 'Petit', + 'Dubois', + 'Richard', + 'Garcia', + 'Durand', + 'Moreau', + 'Lefebvre', + 'Simon', + 'Laurent', + 'Michel', + 'Leroy', + 'Martinez', + 'David', + 'Fontaine', + 'Da Silva', + 'Morel', + 'Fournier', + 'Dupont', + 'Bertrand', + 'Lambert', + 'Rousseau', + 'Girard', + 'Roux', + 'Vincent', + 'Lefevre', + 'Boyer', + 'Lopez', + 'Bonnet', + 'Andre', + 'Francois', + 'Mercier', + 'Muller', + 'Guerin', + 'Legrand', + 'Sanchez', + 'Garnier', + 'Chevalier', + 'Faure', + 'Perez', + 'Clement', + 'Fernandez', + 'Blanc', + 'Robin', + 'Morin', + 'Gauthier', + 'Pereira', + 'Perrin', + 'Roussel', + 'Henry', + 'Duval', + 'Gautier', + 'Nicolas', + 'Masson', + 'Marie', + 'Noel', + 'Ferreira', + 'Lemaire', + 'Mathieu', + 'Riviere', + 'Denis', + 'Marchand', + 'Rodriguez', + 'Dumont', + 'Payet', + 'Lucas', + 'Dufour', + 'Dos Santos', + 'Joly', + 'Blanchard', + 'Meunier', + 'Rodrigues', + 'Caron', + 'Gerard', + 'Fernandes', + 'Brunet', + 'Meyer', + 'Barbier', + 'Leroux', + 'Renard', + 'Goncalves', + 'Gaillard', + 'Brun', + 'Roy', + 'Picard', + 'Giraud', + 'Roger', + 'Schmitt', + 'Colin', + 'Arnaud', + 'Vidal', + 'Gonzalez', + 'Lemoine', + 'Roche', + 'Aubert', + 'Olivier', + 'Leclercq', + 'Pierre', + 'Philippe', + 'Bourgeois', + 'Renaud', + 'Martins', + 'Leclerc', + 'Guillaume', + 'Lacroix', + 'Lecomte', + 'Benoit', + 'Fabre', + 'Carpentier', + 'Vasseur', + 'Louis', + 'Hubert', + 'Jean', + 'Dumas', + 'Rolland', + 'Grondin', + 'Rey', + 'Huet', + 'Gomez', + 'Dupuis', + 'Guillot', + 'Berger', + 'Moulin', + 'Hoarau', + 'Menard', + 'Deschamps', + 'Fleury', + 'Adam', + 'Boucher', + 'Poirier', + 'Bertin', + 'Charles', + 'Aubry', + 'Da Costa', + 'Royer', + 'Dupuy', + 'Maillard', + 'Paris', + 'Baron', + 'Lopes', + 'Guyot', + 'Carre', + 'Jacquet', + 'Renault', + 'Herve', + 'Charpentier', + 'Klein', + 'Cousin', + 'Collet', + 'Leger', + 'Ribeiro', + 'Hernandez', + 'Bailly', + 'Schneider', + 'Le Gall', + 'Ruiz', + 'Langlois', + 'Bouvier', + 'Gomes', + 'Prevost', + 'Julien', + 'Lebrun', + 'Breton', + 'Germain', + 'Millet', + 'Boulanger', + 'Remy', + 'Le Roux', + 'Daniel', + 'Marques', + 'Maillot', + 'Leblanc', + 'Le Goff', + 'Barre', + 'Perrot', + 'Leveque', + 'Marty', + 'Benard', + 'Monnier', + 'Hamon', + 'Pelletier', + 'Alves', + 'Etienne', + 'Marchal', + 'Poulain', + 'Tessier', + 'Lemaitre', + 'Guichard', + 'Besson', + 'Mallet', + 'Hoareau', + 'Gillet', + 'Weber', + 'Jacob', + 'Collin', + 'Chevallier', + 'Perrier', + 'Michaud', + 'Carlier', + 'Delaunay', + 'Chauvin', + 'Alexandre', + 'Marechal', + 'Antoine', + 'Lebon', + 'Cordier', + 'Lejeune', + 'Bouchet', + 'Pasquier', + 'Legros', + 'Delattre', + 'Humbert', + 'De Oliveira', + 'Briand', + 'Lamy', + 'Launay', + 'Gilbert', + 'Perret', + 'Lesage', + 'Gay', + 'Nguyen', + 'Navarro', + 'Besnard', + 'Pichon', + 'Hebert', + 'Cohen', + 'Pons', + 'Lebreton', + 'Sauvage', + 'De Sousa', + 'Pineau', + 'Albert', + 'Jacques', + 'Pinto', + 'Barthelemy', + 'Turpin', + 'Bigot', + 'Lelievre', + 'Georges', + 'Reynaud', + 'Ollivier', + 'Martel', + 'Voisin', + 'Leduc', + 'Guillet', + 'Vallee', + 'Coulon', + 'Camus', + 'Marin', + 'Teixeira', + 'Costa', + 'Mahe', + 'Didier', + 'Charrier', + 'Gaudin', + 'Bodin', + 'Guillou', + 'Gregoire', + 'Gros', + 'Blanchet', + 'Buisson', + 'Blondel', + 'Paul', + 'Dijoux', + 'Barbe', + 'Hardy', + 'Laine', + 'Evrard', + 'Laporte', + 'Rossi', + 'Joubert', + 'Regnier', + 'Tanguy', + 'Gimenez', + 'Allard', + 'Devaux', + 'Morvan', + 'Levy', + 'Dias', + 'Courtois', + 'Lenoir', + 'Berthelot', + 'Pascal', + 'Vaillant', + 'Guilbert', + 'Thibault', + 'Moreno', + 'Duhamel', + 'Colas', + 'Masse', + 'Baudry', + 'Bruneau', + 'Verdier', + 'Delorme', + 'Blin', + 'Guillon', + 'Mary', + 'Coste', + 'Pruvost', + 'Maury', + 'Allain', + 'Valentin', + 'Godard', + 'Joseph', + 'Brunel', + 'Marion', + 'Texier', + 'Seguin', + 'Raynaud', + 'Bourdon', + 'Raymond', + 'Bonneau', + 'Chauvet', + 'Maurice', + 'Legendre', + 'Loiseau', + 'Ferrand', + 'Toussaint', + 'Techer', + 'Lombard', + 'Lefort', + 'Couturier', + 'Bousquet', + 'Diaz', + 'Riou', + 'Clerc', + 'Weiss', + 'Imbert', + 'Jourdan', + 'Delahaye', + 'Gilles', + 'Guibert', + 'Begue', + 'Descamps', + 'Delmas', + 'Peltier', + 'Dupre', + 'Chartier', + 'Martineau', + 'Laroche', + 'Leconte', + 'Maillet', + 'Parent', + 'Labbe', + 'Potier', + 'Bazin', + 'Normand', + 'Pottier', + 'Torres', + 'Lagarde', + 'Blot', + 'Jacquot', + 'Lemonnier', + 'Grenier', + 'Rocher', + 'Bonnin', + 'Boutin', + 'Fischer', + 'Munoz', + 'Neveu', + 'Lacombe', + 'Mendes', + 'Delannoy', + 'Auger', + 'Wagner', + 'Fouquet', + 'Mace', + 'Ramos', + 'Pages', + 'Petitjean', + 'Chauveau', + 'Foucher', + 'Peron', + 'Guyon', + 'Gallet', + 'Rousset', + 'Traore', + 'Bernier', + 'Vallet', + 'Letellier', + 'Bouvet', + 'Hamel', + 'Chretien', + 'Faivre', + 'Boulay', + 'Thierry', + 'Samson', + 'Ledoux', + 'Salmon', + 'Gosselin', + 'Lecoq', + 'Pires', + 'Leleu', + 'Becker', + 'Diallo', + 'Merle', + 'Valette', + ]; + + protected static $titleMale = [ 'M.', 'Dr.', 'Pr.', 'Me.' ]; + + protected static $titleFemale = [ 'Mme.', 'Mlle', 'Dr.', 'Pr.', 'Me.' ]; + + protected static $prefix = [ 'de', 'de la', 'Le', 'du' ]; + + public static function prefix() { + return static::randomElement( static::$prefix ); + } + + /** + * Generates a NIR / Sécurité Sociale number (13 digits + 2 digits for the key) + * + * @see https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France + * + * @return string + */ + public function nir( $gender = null, $formatted = false ) { + // Gender + if ( $gender === static::GENDER_MALE ) { + $nir = 1; + } elseif ( $gender === static::GENDER_FEMALE ) { + $nir = 2; + } else { + $nir = $this->numberBetween( 1, 2 ); + } + + $nir .= + // Year of birth (aa) + $this->numerify( '##' ) . + // Mont of birth (mm) + sprintf( '%02d', $this->numberBetween( 1, 12 ) ); + + // Department + $department = key( Address::department() ); + $nir .= $department; + + // Town number, depends on department length + if ( strlen( $department ) === 2 ) { + $nir .= $this->numerify( '###' ); + } elseif ( strlen( $department ) === 3 ) { + $nir .= $this->numerify( '##' ); + } + + // Born number (depending of town and month of birth) + $nir .= $this->numerify( '###' ); + + /** + * The key for a given NIR is `97 - 97 % NIR` + * NIR has to be an integer, so we have to do a little replacment + * for departments 2A and 2B + */ + if ( $department === '2A' ) { + $nirInteger = str_replace( '2A', '19', $nir ); + } elseif ( $department === '2B' ) { + $nirInteger = str_replace( '2B', '18', $nir ); + } else { + $nirInteger = $nir; + } + $nir .= sprintf( '%02d', 97 - $nirInteger % 97 ); + + // Format is x xx xx xx xxx xxx xx + if ( $formatted ) { + $nir = substr( $nir, 0, 1 ) . ' ' . substr( $nir, 1, 2 ) . ' ' . substr( $nir, 3, 2 ) . ' ' . substr( $nir, 5, 2 ) . ' ' . substr( $nir, 7, 3 ) . ' ' . substr( $nir, 10, 3 ) . ' ' . substr( $nir, 13, 2 ); + } + + return $nir; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/PhoneNumber.php index 69c681d..d565087 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/PhoneNumber.php @@ -2,147 +2,140 @@ namespace Faker\Provider\fr_FR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - // Phone numbers can't start by 00 in France - // 01 is the most common prefix - protected static $formats = [ - '+33 (0)1 ## ## ## ##', - '+33 (0)1 ## ## ## ##', - '+33 (0)2 ## ## ## ##', - '+33 (0)3 ## ## ## ##', - '+33 (0)4 ## ## ## ##', - '+33 (0)5 ## ## ## ##', - '+33 (0)6 ## ## ## ##', - '+33 (0)7 {{phoneNumber07WithSeparator}}', - '+33 (0)8 {{phoneNumber08WithSeparator}}', - '+33 (0)9 ## ## ## ##', - '+33 1 ## ## ## ##', - '+33 1 ## ## ## ##', - '+33 2 ## ## ## ##', - '+33 3 ## ## ## ##', - '+33 4 ## ## ## ##', - '+33 5 ## ## ## ##', - '+33 6 ## ## ## ##', - '+33 7 {{phoneNumber07WithSeparator}}', - '+33 8 {{phoneNumber08WithSeparator}}', - '+33 9 ## ## ## ##', - '01########', - '01########', - '02########', - '03########', - '04########', - '05########', - '06########', - '07{{phoneNumber07}}', - '08{{phoneNumber08}}', - '09########', - '01 ## ## ## ##', - '01 ## ## ## ##', - '02 ## ## ## ##', - '03 ## ## ## ##', - '04 ## ## ## ##', - '05 ## ## ## ##', - '06 ## ## ## ##', - '07 {{phoneNumber07WithSeparator}}', - '08 {{phoneNumber08WithSeparator}}', - '09 ## ## ## ##', - ]; - - // Mobile phone numbers start by 06 and 07 - // 06 is the most common prefix - protected static $mobileFormats = [ - '+33 (0)6 ## ## ## ##', - '+33 6 ## ## ## ##', - '+33 (0)7 {{phoneNumber07WithSeparator}}', - '+33 7 {{phoneNumber07WithSeparator}}', - '06########', - '07{{phoneNumber07}}', - '06 ## ## ## ##', - '07 {{phoneNumber07WithSeparator}}', - ]; - - protected static $serviceFormats = [ - '+33 (0)8 {{phoneNumber08WithSeparator}}', - '+33 8 {{phoneNumber08WithSeparator}}', - '08 {{phoneNumber08WithSeparator}}', - '08{{phoneNumber08}}', - ]; - - protected static $e164Formats = [ - '+33#########', - ]; - - public function phoneNumber07() - { - $phoneNumber = $this->phoneNumber07WithSeparator(); - - return str_replace(' ', '', $phoneNumber); - } - - /** - * Only 073 to 079 are acceptable prefixes with 07 - * - * @see http://www.arcep.fr/index.php?id=8146 - */ - public function phoneNumber07WithSeparator() - { - $phoneNumber = $this->generator->numberBetween(3, 9); - $phoneNumber .= $this->numerify('# ## ## ##'); - - return $phoneNumber; - } - - public function phoneNumber08() - { - $phoneNumber = $this->phoneNumber08WithSeparator(); - - return str_replace(' ', '', $phoneNumber); - } - - /** - * Valid formats for 08: - * - * 0# ## ## ## - * 1# ## ## ## - * 2# ## ## ## - * 91 ## ## ## - * 92 ## ## ## - * 93 ## ## ## - * 97 ## ## ## - * 98 ## ## ## - * 99 ## ## ## - * - * Formats 089(4|6)## ## ## are valid, but will be - * attributed when other 089 resource ranges are exhausted. - * - * @see https://www.arcep.fr/index.php?id=8146#c9625 - * @see https://issuetracker.google.com/u/1/issues/73269839 - */ - public function phoneNumber08WithSeparator() - { - $regex = '([012]{1}\d{1}|(9[1-357-9])( \d{2}){3}'; - - return $this->regexify($regex); - } - - /** - * @example '0601020304' - */ - public function mobileNumber() - { - $format = static::randomElement(static::$mobileFormats); - - return static::numerify($this->generator->parse($format)); - } - - /** - * @example '0891951357' - */ - public function serviceNumber() - { - $format = static::randomElement(static::$serviceFormats); - - return static::numerify($this->generator->parse($format)); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + // Phone numbers can't start by 00 in France + // 01 is the most common prefix + protected static $formats = [ + '+33 (0)1 ## ## ## ##', + '+33 (0)1 ## ## ## ##', + '+33 (0)2 ## ## ## ##', + '+33 (0)3 ## ## ## ##', + '+33 (0)4 ## ## ## ##', + '+33 (0)5 ## ## ## ##', + '+33 (0)6 ## ## ## ##', + '+33 (0)7 {{phoneNumber07WithSeparator}}', + '+33 (0)8 {{phoneNumber08WithSeparator}}', + '+33 (0)9 ## ## ## ##', + '+33 1 ## ## ## ##', + '+33 1 ## ## ## ##', + '+33 2 ## ## ## ##', + '+33 3 ## ## ## ##', + '+33 4 ## ## ## ##', + '+33 5 ## ## ## ##', + '+33 6 ## ## ## ##', + '+33 7 {{phoneNumber07WithSeparator}}', + '+33 8 {{phoneNumber08WithSeparator}}', + '+33 9 ## ## ## ##', + '01########', + '01########', + '02########', + '03########', + '04########', + '05########', + '06########', + '07{{phoneNumber07}}', + '08{{phoneNumber08}}', + '09########', + '01 ## ## ## ##', + '01 ## ## ## ##', + '02 ## ## ## ##', + '03 ## ## ## ##', + '04 ## ## ## ##', + '05 ## ## ## ##', + '06 ## ## ## ##', + '07 {{phoneNumber07WithSeparator}}', + '08 {{phoneNumber08WithSeparator}}', + '09 ## ## ## ##', + ]; + + // Mobile phone numbers start by 06 and 07 + // 06 is the most common prefix + protected static $mobileFormats = [ + '+33 (0)6 ## ## ## ##', + '+33 6 ## ## ## ##', + '+33 (0)7 {{phoneNumber07WithSeparator}}', + '+33 7 {{phoneNumber07WithSeparator}}', + '06########', + '07{{phoneNumber07}}', + '06 ## ## ## ##', + '07 {{phoneNumber07WithSeparator}}', + ]; + + protected static $serviceFormats = [ + '+33 (0)8 {{phoneNumber08WithSeparator}}', + '+33 8 {{phoneNumber08WithSeparator}}', + '08 {{phoneNumber08WithSeparator}}', + '08{{phoneNumber08}}', + ]; + + protected static $e164Formats = [ + '+33#########', + ]; + + public function phoneNumber07() { + $phoneNumber = $this->phoneNumber07WithSeparator(); + + return str_replace( ' ', '', $phoneNumber ); + } + + /** + * Only 073 to 079 are acceptable prefixes with 07 + * + * @see http://www.arcep.fr/index.php?id=8146 + */ + public function phoneNumber07WithSeparator() { + $phoneNumber = $this->generator->numberBetween( 3, 9 ); + $phoneNumber .= $this->numerify( '# ## ## ##' ); + + return $phoneNumber; + } + + public function phoneNumber08() { + $phoneNumber = $this->phoneNumber08WithSeparator(); + + return str_replace( ' ', '', $phoneNumber ); + } + + /** + * Valid formats for 08: + * + * 0# ## ## ## + * 1# ## ## ## + * 2# ## ## ## + * 91 ## ## ## + * 92 ## ## ## + * 93 ## ## ## + * 97 ## ## ## + * 98 ## ## ## + * 99 ## ## ## + * + * Formats 089(4|6)## ## ## are valid, but will be + * attributed when other 089 resource ranges are exhausted. + * + * @see https://www.arcep.fr/index.php?id=8146#c9625 + * @see https://issuetracker.google.com/u/1/issues/73269839 + */ + public function phoneNumber08WithSeparator() { + $regex = '([012]{1}\d{1}|(9[1-357-9])( \d{2}){3}'; + + return $this->regexify( $regex ); + } + + /** + * @example '0601020304' + */ + public function mobileNumber() { + $format = static::randomElement( static::$mobileFormats ); + + return static::numerify( $this->generator->parse( $format ) ); + } + + /** + * @example '0891951357' + */ + public function serviceNumber() { + $format = static::randomElement( static::$serviceFormats ); + + return static::numerify( $this->generator->parse( $format ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Text.php b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Text.php index bcd3167..bf3f3ce 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/fr_FR/Text.php @@ -2,35 +2,34 @@ namespace Faker\Provider\fr_FR; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Madame Bovary, by Gustave Flaubert - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.net - * - * Title: Madame Bovary - * Author: Gustave Flaubert - * Release Date: November 26, 2004 [EBook #14155] - * [Last updated: November 28, 2011] - * Language: French - * - * *** START OF THIS PROJECT GUTENBERG EBOOK MADAME BOVARY *** - * - * Produced by Ebooks libres et gratuits at http://www.ebooksgratuits.com - * - * Gustave Flaubert - * MADAME BOVARY - * (1857) - * - * @see http://www.gutenberg.org/cache/epub/14155/pg14155.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Madame Bovary, by Gustave Flaubert + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.net + * + * Title: Madame Bovary + * Author: Gustave Flaubert + * Release Date: November 26, 2004 [EBook #14155] + * [Last updated: November 28, 2011] + * Language: French + * + * *** START OF THIS PROJECT GUTENBERG EBOOK MADAME BOVARY *** + * + * Produced by Ebooks libres et gratuits at http://www.ebooksgratuits.com + * + * Gustave Flaubert + * MADAME BOVARY + * (1857) + * + * @see http://www.gutenberg.org/cache/epub/14155/pg14155.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' PREMIÈRE PARTIE @@ -15174,359 +15173,359 @@ traitement? Il vient de recevoir la croix d'honneur. EOT; - /* - End of the Project Gutenberg EBook of Madame Bovary, by Gustave Flaubert - - *** END OF THIS PROJECT GUTENBERG EBOOK MADAME BOVARY *** - - ***** This file should be named 14155-8.txt or 14155-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.net/1/4/1/5/14155/ - - Produced by Ebooks libres et gratuits at http://www.ebooksgratuits.com - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.net/license). - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.net - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.net), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, is critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including including checks, online payments and credit card - donations. To donate, please visit: http://pglaf.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.net - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of the Project Gutenberg EBook of Madame Bovary, by Gustave Flaubert + + *** END OF THIS PROJECT GUTENBERG EBOOK MADAME BOVARY *** + + ***** This file should be named 14155-8.txt or 14155-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.net/1/4/1/5/14155/ + + Produced by Ebooks libres et gratuits at http://www.ebooksgratuits.com + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.net/license). + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.net + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.net), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, is critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including including checks, online payments and credit card + donations. To donate, please visit: http://pglaf.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.net + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Address.php b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Address.php index b16d612..fe538ad 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Address.php @@ -2,121 +2,1420 @@ namespace Faker\Provider\he_IL; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%', '%#', '%##']; - protected static $streetSuffix = [ - 'רחוב', 'שדרות', 'סמטאת', - ]; - protected static $postcode = ['#####', '#######']; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%', '%#', '%##' ]; + protected static $streetSuffix = [ + 'רחוב', + 'שדרות', + 'סמטאת', + ]; + protected static $postcode = [ '#####', '#######' ]; - /** - * {@link} https://data.gov.il/dataset/322 - */ - protected static $citySuffix = [ - 'אבו תלול', 'אבטין', 'אבטליון', 'אביאל', 'אביבים', 'אביגדור', 'אביחיל', 'אביטל', 'אביעזר', 'אבירים', 'אבן יהודה', 'אבן מנחם', 'אבן ספיר', 'אבן שמואל', 'אבני איתן', 'אבני חפץ', 'אבנת', 'אבשלום', - 'אדורה', 'אדירים', 'אדמית', 'אדרת', 'אודים', 'אודם', 'אוהד', 'אום אל-פחם', 'אום אל-קוטוף', 'אום בטין', 'אומן', 'אומץ', 'אופקים', 'אור הגנוז', 'אור הנר', 'אור יהודה', 'אור עקיבא', 'אורה', 'אורות', 'אורטל', - 'אורים', 'אורנים', 'אורנית', 'אושה', 'אזור', 'אחווה', 'אחוזם', 'אחוזת ברק', 'אחיהוד', 'אחיטוב', 'אחיסמך', 'אחיעזר', 'איבים', 'אייל', 'איילת השחר', 'אילון', 'אילות', 'אילניה', 'אילת', 'אירוס', 'איתמר', - 'איתן', 'איתנים', 'אכסאל', 'אל סייד', 'אלומה', 'אלומות', 'אלון הגליל', 'אלון מורה', 'אלון שבות', 'אלוני אבא', 'אלוני הבשן', 'אלוני יצחק', 'אלונים', 'אליאב', 'אליכין', 'אלי-עד', 'אליפז', 'אליפלט', 'אליקים', - 'אלישיב', 'אלישמע', 'אלמגור', 'אלמוג', 'אלעד', 'אל-עזי', 'אלעזר', 'אל-עריאן', 'אלפי מנשה', 'אלקוש', 'אלקנה', 'אל-רום', 'אמונים', 'אמירים', 'אמנון', 'אמציה', 'אניעם', 'אספר', 'אעבלין', 'אפיק', 'אפיקים', - 'אפק', 'אפרת', 'ארבל', 'ארגמן', 'ארז', 'אריאל', 'ארסוף', 'אשבול', 'אשבל', 'אשדוד', 'אשחר', 'אשכולות', 'אשל הנשיא', 'אשלים', 'אשקלון', 'אשרת', 'אשתאול', 'אתגר', 'באקה אל-גרביה', 'באר אורה', 'באר גנים', - 'באר טוביה', 'באר יעקב', 'באר מילכה', 'באר שבע', 'בארות יצחק', 'בארותיים', 'בארי', 'בוסתן הגליל', 'בוקעאתא', 'בורגתה', 'בחן', 'בטחה', 'ביצרון', 'ביר אל-מכסור', 'ביריה', 'בית אורן', 'בית אל', 'בית אלעזרי', - 'בית אלפא', 'בית אריה', 'בית ברל', 'בית גוברין', 'בית גמליאל', 'בית דגן', 'בית הגדי', 'בית הלוי', 'בית הלל', 'בית העמק', 'בית הערבה', 'בית השיטה', 'בית זיד', 'בית זית', 'בית זרע', 'בית חורון', 'בית חירות', - 'בית חלקיה', 'בית חנן', 'בית חנניה', 'בית חשמונאי', 'בית יהושע', 'בית יוסף', 'בית ינאי', 'בית יצחק-שער חפר', 'בית לחם הגלילית', 'בית מאיר', 'בית נחמיה', 'בית ניר', 'בית נקופה', 'בית עובד', 'בית עוזיאל', - 'בית עזרא', 'בית עריף', 'בית צבי', 'בית קמה', 'בית קשת', 'בית רבן', 'בית רימון', 'בית שאן', 'בית שמש', 'בית שערים', 'בית שקמה', 'ביתן אהרן', 'ביתר עילית', 'בלפוריה', 'בן זכאי', 'בן עמי', 'בני ברק', - 'בני דקלים', 'בני דרום', 'בני דרור', 'בני יהודה', 'בני נצרים', 'בני עטרות', 'בני עי"ש', 'בני ציון', 'בני ראם', 'בניה', 'בנימינה-גבעת עדה', 'בסמ"ה', 'בסמת טבעון', 'בענה', 'בצרה', 'בצת', 'בקוע', 'בקעות', - 'בר גיורא', 'בר יוחאי', 'ברוכין', 'ברור חיל', 'ברוש', 'ברכה', 'ברכיה', 'ברעם', 'ברק', 'ברקאי', 'ברקן', 'ברקת', 'בת הדר', 'בת חן', 'בת חפר', 'בת חצור', 'בת ים', 'בת עין', 'בת שלמה', 'גאולי תימן', 'גאולים', - 'גאליה', 'גבולות', 'גבים', 'גבע', 'גבע בנימין', 'גבע כרמל', 'גבעולים', 'גבעון החדשה', 'גבעות בר', 'גבעת אבני', 'גבעת אלה', 'גבעת ברנר', 'גבעת השלושה', 'גבעת זאב', 'גבעת ח"ן', 'גבעת יואב', 'גבעת יערים', - 'גבעת ישעיהו', 'גבעת כ"ח', 'גבעת ניל"י', 'גבעת עוז', 'גבעת שמואל', 'גבעת שמש', 'גבעת שפירא', 'גבעתי', 'גבעתיים', 'גברעם', 'גבת', 'גדות', 'גונן', 'גורן', 'גורנות הגליל', 'גזית', 'גזר', 'גיאה', 'גיבתון', - 'גיזו', 'גילון', 'גילת', 'גינוסר', 'גיניגר', 'גינתון', 'גיתה', 'גיתית', 'גלאון', 'גלגל', 'גליל ים', 'גמזו', 'גן הדרום', 'גן השומרון', 'גן חיים', 'גן יאשיה', 'גן יבנה', 'גן נר', 'גן שורק', 'גן שלמה', - 'גן שמואל', 'גנות', 'גנות הדר', 'גני הדר', 'גני טל', 'גני יוחנן', 'גני מודיעין', 'גני עם', 'גני תקווה', 'געש', 'געתון', 'גפן', 'גרופית', 'גשור', 'גשר', 'גשר הזיו', 'דאלית אל-כרמל', 'דבורה', 'דבוריה', - 'דבירה', 'דברת', 'דגניה א', 'דולב', 'דור', 'דורות', 'דחי', 'דייר אל-אסד', 'דייר חנא', 'דייר ראפאת', 'דימונה', 'דישון', 'דליה', 'דלתון', 'דמיידה', 'דן', 'דפנה', 'דקל', 'האון', 'הבונים', 'הגושרים', 'הדר עם', - 'הוד השרון', 'הודיה', 'הודיות', 'הושעיה', 'הזורע', 'הזורעים', 'החותרים', 'היוגב', 'הילה', 'המעפיל', 'הסוללים', 'העוגן', 'הר אדר', 'הר גילה', 'הר עמשא', 'הראל', 'הרדוף', 'הרצליה', 'הררית', 'ורד יריחו', - 'ורדון', 'זבדיאל', 'זוהר', 'זיקים', 'זיתן', 'זכרון יעקב', 'זכריה', 'זמר', 'זמרת', 'זנוח', 'זרועה', 'זרזיר', 'זרחיה', 'חבצלת השרון', 'חבר', 'חברון', 'חגור', 'חגי', 'חגלה', 'חדיד', 'חד-נס', 'חדרה', 'חולדה', - 'חולון', 'חולית', 'חולתה', 'חוסן', 'חוסנייה', 'חופית', 'חוקוק', 'חורה', 'חורפיש', 'חורשים', 'חזון', 'חיבת ציון', 'חיננית', 'חיפה', 'חירות', 'חלוץ', 'חלמיש', 'חלץ', 'חמאם', 'חמד', 'חמדיה', 'חמדת', 'חמרה', - 'חניאל', 'חניתה', 'חנתון', 'חספין', 'חפץ חיים', 'חפצי-בה', 'חצב', 'חצבה', 'חצור הגלילית', 'חצור-אשדוד', 'חצר בארותיים', 'חצרות חולדה', 'חצרות יסף', 'חצרות כ"ח', 'חצרים', 'חרב לאת', 'חרוצים', 'חריש', - 'חרמש', 'חרשים', 'חשמונאים', 'טבריה', 'טובא-זנגריה', 'טורעאן', 'טייבה', 'טירה', 'טירת יהודה', 'טירת כרמל', 'טירת צבי', 'טל שחר', 'טל-אל', 'טללים', 'טלמון', 'טמרה', 'טנא', 'טפחות', 'יבול', 'יבנאל', - 'יבנה', 'יגור', 'יגל', 'יד בנימין', 'יד השמונה', 'יד חנה', 'יד מרדכי', 'יד נתן', 'יד רמב"ם', 'ידידה', 'יהוד-מונוסון', 'יהל', 'יובל', 'יובלים', 'יודפת', 'יונתן', 'יושיביה', 'יזרעאל', 'יחיעם', 'יטבתה', - 'יכיני', 'ינוב', 'ינון', 'יסוד המעלה', 'יסודות', 'יסעור', 'יעד', 'יעל', 'יעף', 'יערה', 'יפיע', 'יפית', 'יפעת', 'יפתח', 'יצהר', 'יציץ', 'יקום', 'יקיר', 'יקנעם עילית', 'יראון', 'ירדנה', 'ירוחם', - 'ירושלים', 'ירחיב', 'ירכא', 'ירקונה', 'ישע', 'ישעי', 'ישרש', 'יתד', 'יתיר', 'כאבול', 'כברי', 'כדורי', 'כדיתה', 'כוכב השחר', 'כוכב יאיר', 'כוכב יעקב', 'כוכב מיכאל', 'כורזים', 'כחל', 'כחלה', 'כיסופים', - 'כישור', 'כליל', 'כלנית', 'כמאנה', 'כמהין', 'כמון', 'כנות', 'כנף', 'כסיפה', 'כסלון', 'כסרא-סמיע', 'כפר אדומים', 'כפר אוריה', 'כפר אחים', 'כפר ביאליק', 'כפר ביל"ו', 'כפר בלום', 'כפר בן נון', 'כפר ברא', - 'כפר ברוך', 'כפר גדעון', 'כפר גלים', 'כפר גליקסון', 'כפר גלעדי', 'כפר דניאל', 'כפר האורנים', 'כפר החורש', 'כפר המכבי', 'כפר הנגיד', 'כפר הנוער הדתי', 'כפר הנשיא', 'כפר הס', 'כפר הרא"ה', 'כפר הרי"ף', - 'כפר ויתקין', 'כפר ורבורג', 'כפר ורדים', 'כפר זוהרים', 'כפר זיתים', 'כפר חב"ד', 'כפר חושן', 'כפר חיטים', 'כפר חיים', 'כפר חנניה', 'כפר חרוב', 'כפר טרומן', 'כפר יאסיף', 'כפר ידידיה', 'כפר יהושע', 'כפר יונה', - 'כפר יחזקאל', 'כפר יעבץ', 'כפר כמא', 'כפר כנא', 'כפר מונש', 'כפר מימון', 'כפר מל"ל', 'כפר מנדא', 'כפר מנחם', 'כפר מסריק', 'כפר מצר', 'כפר מרדכי', 'כפר נטר', 'כפר סאלד', 'כפר סבא', 'כפר סילבר', 'כפר סירקין', - 'כפר עבודה', 'כפר עזה', 'כפר עציון', 'כפר פינס', 'כפר קאסם', 'כפר קיש', 'כפר קרע', 'כפר ראש הנקרה', 'כפר רופין', 'כפר רות', 'כפר שמאי', 'כפר שמואל', 'כפר שמריהו', 'כפר תבור', 'כפר תפוח', 'כרי דשא', - 'כרכום', 'כרם בן זמרה', 'כרם בן שמן', 'כרם מהר"ל', 'כרם שלום', 'כרמי יוסף', 'כרמי צור', 'כרמיאל', 'כרמיה', 'כרמים', 'כרמל', 'לא רשום', 'לבון', 'לביא', 'לבנים', 'להב', 'להבות הבשן', 'להבות חביבה', 'להבים', - 'לוד', 'לוזית', 'לוחמי הגיטאות', 'לוטם', 'לוטן', 'לימן', 'לכיש', 'לפיד', 'לפידות', 'לקיה', 'מאור', 'מאיר שפיה', 'מבוא ביתר', 'מבוא דותן', 'מבוא חורון', 'מבוא חמה', 'מבוא מודיעים', 'מבואות ים', 'מבועים', - 'מבטחים', 'מבקיעים', 'מבשרת ציון', 'מגאר', 'מגדל העמק', 'מגדל עוז', 'מגדלים', 'מגידו', 'מגל', 'מגן', 'מגן שאול', 'מגשימים', 'מדרך עוז', 'מדרשת בן גוריון', 'מדרשת רופין', 'מודיעין עילית', 'מודיעין-מכבים-רעות', - 'מולדה', 'מולדת', 'מוצא עילית', 'מוקייבלה', 'מורן', 'מורשת', 'מזור', 'מזכרת בתיה', 'מזרע', 'מזרעה', 'מחולה', 'מחנה הילה', 'מחנה טלי', 'מחנה יהודית', 'מחנה יוכבד', 'מחנה יפה', 'מחנה יתיר', 'מחנה מרים', - 'מחנה עדי', 'מחנה תל נוף', 'מחניים', 'מחסיה', 'מטולה', 'מטע', 'מי עמי', 'מיטב', 'מייסר', 'מיצר', 'מירב', 'מירון', 'מישר', 'מיתר', 'מכורה', 'מכחול', 'מכמורת', 'מכמנים', 'מלאה', 'מלילות', 'מלכיה', 'מלכישוע', - 'מנוחה', 'מנוף', 'מנות', 'מנחמיה', 'מנרה', 'מנשית זבדה', 'מסד', 'מסדה', 'מסילות', 'מסילת ציון', 'מסלול', 'מסעדה', 'מסעודין אל-עזאזמה', 'מעברות', 'מעגלים', 'מעגן', 'מעגן מיכאל', 'מעוז חיים', 'מעון', - 'מעונה', 'מעיליא', 'מעין ברוך', 'מעין צבי', 'מעלה אדומים', 'מעלה אפרים', 'מעלה גלבוע', 'מעלה גמלא', 'מעלה החמישה', 'מעלה לבונה', 'מעלה מכמש', 'מעלה עירון', 'מעלה עמוס', 'מעלה שומרון', 'מעלות-תרשיחא', - 'מענית', 'מעש', 'מפלסים', 'מצדות יהודה', 'מצובה', 'מצליח', 'מצפה', 'מצפה אבי"ב', 'מצפה אילן', 'מצפה יריחו', 'מצפה נטופה', 'מצפה רמון', 'מצפה שלם', 'מצר', 'מקווה ישראל', 'מרגליות', 'מרום גולן', 'מרחב עם', - 'מרכז שפירא', 'משאבי שדה', 'משגב דב', 'משגב עם', 'משהד', 'משואה', 'משואות יצחק', 'משכיות', 'משמר איילון', 'משמר דוד', 'משמר הירדן', 'משמר הנגב', 'משמר העמק', 'משמר השבעה', 'משמר השרון', 'משמרות', 'משמרת', - 'משען', 'מתן', 'מתת', 'מתתיהו', 'נאות גולן', 'נאות הכיכר', 'נאות מרדכי', 'נאות סמדר', 'נאעורה', 'נבטים', 'נגבה', 'נגוהות', 'נהורה', 'נהלל', 'נהריה', 'נוב', 'נוגה', 'נווה', 'נווה אבות', 'נווה אור', - 'נווה אטי"ב', 'נווה אילן', 'נווה איתן', 'נווה דניאל', 'נווה זוהר', 'נווה זיו', 'נווה חריף', 'נווה ים', 'נווה ימין', 'נווה ירק', 'נווה מבטח', 'נווה מיכאל', 'נווה שלום', 'נועם', 'נוף איילון', 'נופים', - 'נופית', 'נופך', 'נוקדים', 'נורדיה', 'נורית', 'נחושה', 'נחל עוז', 'נחלה', 'נחליאל', 'נחלים', 'נחם', 'נחף', 'נחשולים', 'נחשון', 'נחשונים', 'נטועה', 'נטור', 'נטע', 'נטעים', 'נטף', 'ניין', 'ניל"י', 'ניצן', - 'ניצני סיני', 'ניצני עוז', 'ניצנים', 'ניר אליהו', 'ניר בנים', 'ניר גלים', 'ניר ח"ן', 'ניר יפה', 'ניר יצחק', 'ניר ישראל', 'ניר משה', 'ניר עוז', 'ניר עם', 'ניר עציון', 'ניר עקיבא', 'ניר צבי', 'נירים', - 'נירית', 'נירן', 'נס הרים', 'נס עמים', 'נס ציונה', 'נעורים', 'נעלה', 'נעמ"ה', 'נען', 'נצר חזני', 'נצר סרני', 'נצרת', 'נצרת עילית', 'נשר', 'נתיב הגדוד', 'נתיב הל"ה', 'נתיב העשרה', 'נתיב השיירה', 'נתיבות', - 'נתניה', 'סאסא', 'סביון', 'סגולה', 'סולם', 'סוסיה', 'סופה', 'סלמה', 'סלעית', 'סמר', 'סנסנה', 'סעד', 'סער', 'ספיר', 'סתריה', 'עבדון', 'עברון', 'עגור', 'עדי', 'עדנים', 'עוזה', 'עוזייר', 'עולש', 'עומר', - 'עופר', 'עופרה', 'עוצם', 'עזוז', 'עזר', 'עזריאל', 'עזריה', 'עזריקם', 'עטרת', 'עידן', 'עיילבון', 'עיינות', 'עילוט', 'עין איילה', 'עין אל-אסד', 'עין גב', 'עין גדי', 'עין דור', 'עין הבשור', 'עין הוד', - 'עין החורש', 'עין המפרץ', 'עין הנצי"ב', 'עין העמק', 'עין השופט', 'עין השלושה', 'עין ורד', 'עין זיוון', 'עין חוד', 'עין חצבה', 'עין יהב', 'עין יעקב', 'עין כרם-בי"ס חקלאי', 'עין כרמל', 'עין מאהל', 'עין נקובא', - 'עין עירון', 'עין צורים', 'עין קנייא', 'עין ראפה', 'עין שמר', 'עין שריד', 'עין תמר', 'עינת', 'עיר אובות', 'עכו', 'עלומים', 'עלי', 'עלי זהב', 'עלמה', 'עלמון', 'עמוקה', 'עמינדב', 'עמיעד', 'עמיעוז', 'עמיקם', - 'עמיר', 'עמנואל', 'עמקה', 'ענב', 'עספיא', 'עפולה', 'עץ אפרים', 'עצמון שגב', 'עראבה', 'עראמשה', 'ערב אל נעים', 'ערד', 'ערוגות', 'ערערה', 'ערערה-בנגב', 'עשרת', 'עתלית', 'עתניאל', 'פארן', 'פדואל', - 'פדויים', 'פדיה', 'פוריה - כפר עבודה', 'פוריה - נווה עובד', 'פוריה עילית', 'פוריידיס', 'פורת', 'פטיש', 'פלך', 'פלמחים', 'פני חבר', 'פסגות', 'פסוטה', 'פעמי תש"ז', 'פצאל', 'פקיעין חדשה', 'פרדס חנה-כרכור', - 'פרדסיה', 'פרוד', 'פרזון', 'פרי גן', 'פתח תקווה', 'פתחיה', 'צאלים', 'צביה', 'צבעון', 'צובה', 'צוחר', 'צופיה', 'צופים', 'צופית', 'צופר', 'צוקי ים', 'צוקים', 'צור הדסה', 'צור יצחק', 'צור משה', 'צור נתן', - 'צוריאל', 'צורית', 'ציפורי', 'צלפון', 'צנדלה', 'צפריה', 'צפרירים', 'צפת', 'צרופה', 'צרעה', 'קבוצת יבנה', 'קדומים', 'קדימה-צורן', 'קדמה', 'קדמת צבי', 'קדר', 'קדרון', 'קדרים', 'קוממיות', 'קורנית', 'קטורה', - 'קיסריה', 'קלחים', 'קליה', 'קלנסווה', 'קלע', 'קציר', 'קצר א-סר', 'קצרין', 'קרית אונו', 'קרית ארבע', 'קרית אתא', 'קרית ביאליק', 'קרית גת', 'קרית טבעון', 'קרית ים', 'קרית יערים', 'קרית מוצקין', 'קרית מלאכי', - 'קרית נטפים', 'קרית ענבים', 'קרית עקרון', 'קרית שלמה', 'קרית שמונה', 'קרני שומרון', 'קשת', 'ראמה', 'ראס אל-עין', 'ראס עלי', 'ראש העין', 'ראש פינה', 'ראש צורים', 'ראשון לציון', 'רבבה', 'רבדים', 'רביבים', - 'רביד', 'רגבה', 'רגבים', 'רהט', 'רווחה', 'רוויה', 'רוח מדבר', 'רוחמה', 'רומאנה', 'רומת הייב', 'רועי', 'רותם', 'רחוב', 'רחובות', 'רחלים', 'ריחאניה', 'ריחן', 'ריינה', 'רימונים', 'רינתיה', 'רכסים', 'רם-און', - 'רמות', 'רמות השבים', 'רמות מאיר', 'רמות מנשה', 'רמות נפתלי', 'רמלה', 'רמת גן', 'רמת דוד', 'רמת הכובש', 'רמת השופט', 'רמת השרון', 'רמת יוחנן', 'רמת ישי', 'רמת מגשימים', 'רמת צבי', 'רמת רזיאל', 'רמת רחל', - 'רנן', 'רעים', 'רעננה', 'רקפת', 'רשפון', 'רשפים', 'רתמים', 'שאר ישוב', 'שבי ציון', 'שבי שומרון', 'שבלי - אום אל-גנם', 'שגב-שלום', 'שדה אילן', 'שדה אליהו', 'שדה אליעזר', 'שדה בוקר', 'שדה דוד', 'שדה ורבורג', - 'שדה יואב', 'שדה יעקב', 'שדה יצחק', 'שדה משה', 'שדה נחום', 'שדה נחמיה', 'שדה ניצן', 'שדה עוזיהו', 'שדה צבי', 'שדות ים', 'שדות מיכה', 'שדי אברהם', 'שדי חמד', 'שדי תרומות', 'שדמה', 'שדמות דבורה', 'שדמות מחולה', - 'שדרות', 'שואבה', 'שובה', 'שובל', 'שוהם', 'שומרה', 'שומריה', 'שוקדה', 'שורש', 'שורשים', 'שושנת העמקים', 'שזור', 'שחר', 'שחרות', 'שיבולים', 'שיטים', 'שילה', 'שילת', 'שכניה', 'שלווה', 'שלווה במדבר', - 'שלוחות', 'שלומי', 'שלומית', 'שמיר', 'שמעה', 'שמרת', 'שמשית', 'שני', 'שניר', 'שעב', 'שעורים', 'שעל', 'שעלבים', 'שער אפרים', 'שער הגולן', 'שער העמקים', 'שער מנשה', 'שערי תקווה', 'שפיים', 'שפיר', 'שפר', - 'שפרעם', 'שקד', 'שקף', 'שרונה', 'שריד', 'שרשרת', 'שתולה', 'שתולים', 'תאשור', 'תדהר', 'תובל', 'תומר', 'תושיה', 'תימורים', 'תירוש', 'תל אביב - יפו', 'תל יוסף', 'תל יצחק', 'תל מונד', 'תל עדשים', 'תל קציר', - 'תל שבע', 'תל תאומים', 'תלם', 'תלמי אליהו', 'תלמי אלעזר', 'תלמי ביל"ו', 'תלמי יוסף', 'תלמי יחיאל', 'תלמי יפה', 'תלמים', 'תמרת', 'תנובות', 'תעוז', 'תפרח', 'תקומה', 'תקוע', 'תרום', - ]; + /** + * {@link} https://data.gov.il/dataset/322 + */ + protected static $citySuffix = [ + 'אבו תלול', + 'אבטין', + 'אבטליון', + 'אביאל', + 'אביבים', + 'אביגדור', + 'אביחיל', + 'אביטל', + 'אביעזר', + 'אבירים', + 'אבן יהודה', + 'אבן מנחם', + 'אבן ספיר', + 'אבן שמואל', + 'אבני איתן', + 'אבני חפץ', + 'אבנת', + 'אבשלום', + 'אדורה', + 'אדירים', + 'אדמית', + 'אדרת', + 'אודים', + 'אודם', + 'אוהד', + 'אום אל-פחם', + 'אום אל-קוטוף', + 'אום בטין', + 'אומן', + 'אומץ', + 'אופקים', + 'אור הגנוז', + 'אור הנר', + 'אור יהודה', + 'אור עקיבא', + 'אורה', + 'אורות', + 'אורטל', + 'אורים', + 'אורנים', + 'אורנית', + 'אושה', + 'אזור', + 'אחווה', + 'אחוזם', + 'אחוזת ברק', + 'אחיהוד', + 'אחיטוב', + 'אחיסמך', + 'אחיעזר', + 'איבים', + 'אייל', + 'איילת השחר', + 'אילון', + 'אילות', + 'אילניה', + 'אילת', + 'אירוס', + 'איתמר', + 'איתן', + 'איתנים', + 'אכסאל', + 'אל סייד', + 'אלומה', + 'אלומות', + 'אלון הגליל', + 'אלון מורה', + 'אלון שבות', + 'אלוני אבא', + 'אלוני הבשן', + 'אלוני יצחק', + 'אלונים', + 'אליאב', + 'אליכין', + 'אלי-עד', + 'אליפז', + 'אליפלט', + 'אליקים', + 'אלישיב', + 'אלישמע', + 'אלמגור', + 'אלמוג', + 'אלעד', + 'אל-עזי', + 'אלעזר', + 'אל-עריאן', + 'אלפי מנשה', + 'אלקוש', + 'אלקנה', + 'אל-רום', + 'אמונים', + 'אמירים', + 'אמנון', + 'אמציה', + 'אניעם', + 'אספר', + 'אעבלין', + 'אפיק', + 'אפיקים', + 'אפק', + 'אפרת', + 'ארבל', + 'ארגמן', + 'ארז', + 'אריאל', + 'ארסוף', + 'אשבול', + 'אשבל', + 'אשדוד', + 'אשחר', + 'אשכולות', + 'אשל הנשיא', + 'אשלים', + 'אשקלון', + 'אשרת', + 'אשתאול', + 'אתגר', + 'באקה אל-גרביה', + 'באר אורה', + 'באר גנים', + 'באר טוביה', + 'באר יעקב', + 'באר מילכה', + 'באר שבע', + 'בארות יצחק', + 'בארותיים', + 'בארי', + 'בוסתן הגליל', + 'בוקעאתא', + 'בורגתה', + 'בחן', + 'בטחה', + 'ביצרון', + 'ביר אל-מכסור', + 'ביריה', + 'בית אורן', + 'בית אל', + 'בית אלעזרי', + 'בית אלפא', + 'בית אריה', + 'בית ברל', + 'בית גוברין', + 'בית גמליאל', + 'בית דגן', + 'בית הגדי', + 'בית הלוי', + 'בית הלל', + 'בית העמק', + 'בית הערבה', + 'בית השיטה', + 'בית זיד', + 'בית זית', + 'בית זרע', + 'בית חורון', + 'בית חירות', + 'בית חלקיה', + 'בית חנן', + 'בית חנניה', + 'בית חשמונאי', + 'בית יהושע', + 'בית יוסף', + 'בית ינאי', + 'בית יצחק-שער חפר', + 'בית לחם הגלילית', + 'בית מאיר', + 'בית נחמיה', + 'בית ניר', + 'בית נקופה', + 'בית עובד', + 'בית עוזיאל', + 'בית עזרא', + 'בית עריף', + 'בית צבי', + 'בית קמה', + 'בית קשת', + 'בית רבן', + 'בית רימון', + 'בית שאן', + 'בית שמש', + 'בית שערים', + 'בית שקמה', + 'ביתן אהרן', + 'ביתר עילית', + 'בלפוריה', + 'בן זכאי', + 'בן עמי', + 'בני ברק', + 'בני דקלים', + 'בני דרום', + 'בני דרור', + 'בני יהודה', + 'בני נצרים', + 'בני עטרות', + 'בני עי"ש', + 'בני ציון', + 'בני ראם', + 'בניה', + 'בנימינה-גבעת עדה', + 'בסמ"ה', + 'בסמת טבעון', + 'בענה', + 'בצרה', + 'בצת', + 'בקוע', + 'בקעות', + 'בר גיורא', + 'בר יוחאי', + 'ברוכין', + 'ברור חיל', + 'ברוש', + 'ברכה', + 'ברכיה', + 'ברעם', + 'ברק', + 'ברקאי', + 'ברקן', + 'ברקת', + 'בת הדר', + 'בת חן', + 'בת חפר', + 'בת חצור', + 'בת ים', + 'בת עין', + 'בת שלמה', + 'גאולי תימן', + 'גאולים', + 'גאליה', + 'גבולות', + 'גבים', + 'גבע', + 'גבע בנימין', + 'גבע כרמל', + 'גבעולים', + 'גבעון החדשה', + 'גבעות בר', + 'גבעת אבני', + 'גבעת אלה', + 'גבעת ברנר', + 'גבעת השלושה', + 'גבעת זאב', + 'גבעת ח"ן', + 'גבעת יואב', + 'גבעת יערים', + 'גבעת ישעיהו', + 'גבעת כ"ח', + 'גבעת ניל"י', + 'גבעת עוז', + 'גבעת שמואל', + 'גבעת שמש', + 'גבעת שפירא', + 'גבעתי', + 'גבעתיים', + 'גברעם', + 'גבת', + 'גדות', + 'גונן', + 'גורן', + 'גורנות הגליל', + 'גזית', + 'גזר', + 'גיאה', + 'גיבתון', + 'גיזו', + 'גילון', + 'גילת', + 'גינוסר', + 'גיניגר', + 'גינתון', + 'גיתה', + 'גיתית', + 'גלאון', + 'גלגל', + 'גליל ים', + 'גמזו', + 'גן הדרום', + 'גן השומרון', + 'גן חיים', + 'גן יאשיה', + 'גן יבנה', + 'גן נר', + 'גן שורק', + 'גן שלמה', + 'גן שמואל', + 'גנות', + 'גנות הדר', + 'גני הדר', + 'גני טל', + 'גני יוחנן', + 'גני מודיעין', + 'גני עם', + 'גני תקווה', + 'געש', + 'געתון', + 'גפן', + 'גרופית', + 'גשור', + 'גשר', + 'גשר הזיו', + 'דאלית אל-כרמל', + 'דבורה', + 'דבוריה', + 'דבירה', + 'דברת', + 'דגניה א', + 'דולב', + 'דור', + 'דורות', + 'דחי', + 'דייר אל-אסד', + 'דייר חנא', + 'דייר ראפאת', + 'דימונה', + 'דישון', + 'דליה', + 'דלתון', + 'דמיידה', + 'דן', + 'דפנה', + 'דקל', + 'האון', + 'הבונים', + 'הגושרים', + 'הדר עם', + 'הוד השרון', + 'הודיה', + 'הודיות', + 'הושעיה', + 'הזורע', + 'הזורעים', + 'החותרים', + 'היוגב', + 'הילה', + 'המעפיל', + 'הסוללים', + 'העוגן', + 'הר אדר', + 'הר גילה', + 'הר עמשא', + 'הראל', + 'הרדוף', + 'הרצליה', + 'הררית', + 'ורד יריחו', + 'ורדון', + 'זבדיאל', + 'זוהר', + 'זיקים', + 'זיתן', + 'זכרון יעקב', + 'זכריה', + 'זמר', + 'זמרת', + 'זנוח', + 'זרועה', + 'זרזיר', + 'זרחיה', + 'חבצלת השרון', + 'חבר', + 'חברון', + 'חגור', + 'חגי', + 'חגלה', + 'חדיד', + 'חד-נס', + 'חדרה', + 'חולדה', + 'חולון', + 'חולית', + 'חולתה', + 'חוסן', + 'חוסנייה', + 'חופית', + 'חוקוק', + 'חורה', + 'חורפיש', + 'חורשים', + 'חזון', + 'חיבת ציון', + 'חיננית', + 'חיפה', + 'חירות', + 'חלוץ', + 'חלמיש', + 'חלץ', + 'חמאם', + 'חמד', + 'חמדיה', + 'חמדת', + 'חמרה', + 'חניאל', + 'חניתה', + 'חנתון', + 'חספין', + 'חפץ חיים', + 'חפצי-בה', + 'חצב', + 'חצבה', + 'חצור הגלילית', + 'חצור-אשדוד', + 'חצר בארותיים', + 'חצרות חולדה', + 'חצרות יסף', + 'חצרות כ"ח', + 'חצרים', + 'חרב לאת', + 'חרוצים', + 'חריש', + 'חרמש', + 'חרשים', + 'חשמונאים', + 'טבריה', + 'טובא-זנגריה', + 'טורעאן', + 'טייבה', + 'טירה', + 'טירת יהודה', + 'טירת כרמל', + 'טירת צבי', + 'טל שחר', + 'טל-אל', + 'טללים', + 'טלמון', + 'טמרה', + 'טנא', + 'טפחות', + 'יבול', + 'יבנאל', + 'יבנה', + 'יגור', + 'יגל', + 'יד בנימין', + 'יד השמונה', + 'יד חנה', + 'יד מרדכי', + 'יד נתן', + 'יד רמב"ם', + 'ידידה', + 'יהוד-מונוסון', + 'יהל', + 'יובל', + 'יובלים', + 'יודפת', + 'יונתן', + 'יושיביה', + 'יזרעאל', + 'יחיעם', + 'יטבתה', + 'יכיני', + 'ינוב', + 'ינון', + 'יסוד המעלה', + 'יסודות', + 'יסעור', + 'יעד', + 'יעל', + 'יעף', + 'יערה', + 'יפיע', + 'יפית', + 'יפעת', + 'יפתח', + 'יצהר', + 'יציץ', + 'יקום', + 'יקיר', + 'יקנעם עילית', + 'יראון', + 'ירדנה', + 'ירוחם', + 'ירושלים', + 'ירחיב', + 'ירכא', + 'ירקונה', + 'ישע', + 'ישעי', + 'ישרש', + 'יתד', + 'יתיר', + 'כאבול', + 'כברי', + 'כדורי', + 'כדיתה', + 'כוכב השחר', + 'כוכב יאיר', + 'כוכב יעקב', + 'כוכב מיכאל', + 'כורזים', + 'כחל', + 'כחלה', + 'כיסופים', + 'כישור', + 'כליל', + 'כלנית', + 'כמאנה', + 'כמהין', + 'כמון', + 'כנות', + 'כנף', + 'כסיפה', + 'כסלון', + 'כסרא-סמיע', + 'כפר אדומים', + 'כפר אוריה', + 'כפר אחים', + 'כפר ביאליק', + 'כפר ביל"ו', + 'כפר בלום', + 'כפר בן נון', + 'כפר ברא', + 'כפר ברוך', + 'כפר גדעון', + 'כפר גלים', + 'כפר גליקסון', + 'כפר גלעדי', + 'כפר דניאל', + 'כפר האורנים', + 'כפר החורש', + 'כפר המכבי', + 'כפר הנגיד', + 'כפר הנוער הדתי', + 'כפר הנשיא', + 'כפר הס', + 'כפר הרא"ה', + 'כפר הרי"ף', + 'כפר ויתקין', + 'כפר ורבורג', + 'כפר ורדים', + 'כפר זוהרים', + 'כפר זיתים', + 'כפר חב"ד', + 'כפר חושן', + 'כפר חיטים', + 'כפר חיים', + 'כפר חנניה', + 'כפר חרוב', + 'כפר טרומן', + 'כפר יאסיף', + 'כפר ידידיה', + 'כפר יהושע', + 'כפר יונה', + 'כפר יחזקאל', + 'כפר יעבץ', + 'כפר כמא', + 'כפר כנא', + 'כפר מונש', + 'כפר מימון', + 'כפר מל"ל', + 'כפר מנדא', + 'כפר מנחם', + 'כפר מסריק', + 'כפר מצר', + 'כפר מרדכי', + 'כפר נטר', + 'כפר סאלד', + 'כפר סבא', + 'כפר סילבר', + 'כפר סירקין', + 'כפר עבודה', + 'כפר עזה', + 'כפר עציון', + 'כפר פינס', + 'כפר קאסם', + 'כפר קיש', + 'כפר קרע', + 'כפר ראש הנקרה', + 'כפר רופין', + 'כפר רות', + 'כפר שמאי', + 'כפר שמואל', + 'כפר שמריהו', + 'כפר תבור', + 'כפר תפוח', + 'כרי דשא', + 'כרכום', + 'כרם בן זמרה', + 'כרם בן שמן', + 'כרם מהר"ל', + 'כרם שלום', + 'כרמי יוסף', + 'כרמי צור', + 'כרמיאל', + 'כרמיה', + 'כרמים', + 'כרמל', + 'לא רשום', + 'לבון', + 'לביא', + 'לבנים', + 'להב', + 'להבות הבשן', + 'להבות חביבה', + 'להבים', + 'לוד', + 'לוזית', + 'לוחמי הגיטאות', + 'לוטם', + 'לוטן', + 'לימן', + 'לכיש', + 'לפיד', + 'לפידות', + 'לקיה', + 'מאור', + 'מאיר שפיה', + 'מבוא ביתר', + 'מבוא דותן', + 'מבוא חורון', + 'מבוא חמה', + 'מבוא מודיעים', + 'מבואות ים', + 'מבועים', + 'מבטחים', + 'מבקיעים', + 'מבשרת ציון', + 'מגאר', + 'מגדל העמק', + 'מגדל עוז', + 'מגדלים', + 'מגידו', + 'מגל', + 'מגן', + 'מגן שאול', + 'מגשימים', + 'מדרך עוז', + 'מדרשת בן גוריון', + 'מדרשת רופין', + 'מודיעין עילית', + 'מודיעין-מכבים-רעות', + 'מולדה', + 'מולדת', + 'מוצא עילית', + 'מוקייבלה', + 'מורן', + 'מורשת', + 'מזור', + 'מזכרת בתיה', + 'מזרע', + 'מזרעה', + 'מחולה', + 'מחנה הילה', + 'מחנה טלי', + 'מחנה יהודית', + 'מחנה יוכבד', + 'מחנה יפה', + 'מחנה יתיר', + 'מחנה מרים', + 'מחנה עדי', + 'מחנה תל נוף', + 'מחניים', + 'מחסיה', + 'מטולה', + 'מטע', + 'מי עמי', + 'מיטב', + 'מייסר', + 'מיצר', + 'מירב', + 'מירון', + 'מישר', + 'מיתר', + 'מכורה', + 'מכחול', + 'מכמורת', + 'מכמנים', + 'מלאה', + 'מלילות', + 'מלכיה', + 'מלכישוע', + 'מנוחה', + 'מנוף', + 'מנות', + 'מנחמיה', + 'מנרה', + 'מנשית זבדה', + 'מסד', + 'מסדה', + 'מסילות', + 'מסילת ציון', + 'מסלול', + 'מסעדה', + 'מסעודין אל-עזאזמה', + 'מעברות', + 'מעגלים', + 'מעגן', + 'מעגן מיכאל', + 'מעוז חיים', + 'מעון', + 'מעונה', + 'מעיליא', + 'מעין ברוך', + 'מעין צבי', + 'מעלה אדומים', + 'מעלה אפרים', + 'מעלה גלבוע', + 'מעלה גמלא', + 'מעלה החמישה', + 'מעלה לבונה', + 'מעלה מכמש', + 'מעלה עירון', + 'מעלה עמוס', + 'מעלה שומרון', + 'מעלות-תרשיחא', + 'מענית', + 'מעש', + 'מפלסים', + 'מצדות יהודה', + 'מצובה', + 'מצליח', + 'מצפה', + 'מצפה אבי"ב', + 'מצפה אילן', + 'מצפה יריחו', + 'מצפה נטופה', + 'מצפה רמון', + 'מצפה שלם', + 'מצר', + 'מקווה ישראל', + 'מרגליות', + 'מרום גולן', + 'מרחב עם', + 'מרכז שפירא', + 'משאבי שדה', + 'משגב דב', + 'משגב עם', + 'משהד', + 'משואה', + 'משואות יצחק', + 'משכיות', + 'משמר איילון', + 'משמר דוד', + 'משמר הירדן', + 'משמר הנגב', + 'משמר העמק', + 'משמר השבעה', + 'משמר השרון', + 'משמרות', + 'משמרת', + 'משען', + 'מתן', + 'מתת', + 'מתתיהו', + 'נאות גולן', + 'נאות הכיכר', + 'נאות מרדכי', + 'נאות סמדר', + 'נאעורה', + 'נבטים', + 'נגבה', + 'נגוהות', + 'נהורה', + 'נהלל', + 'נהריה', + 'נוב', + 'נוגה', + 'נווה', + 'נווה אבות', + 'נווה אור', + 'נווה אטי"ב', + 'נווה אילן', + 'נווה איתן', + 'נווה דניאל', + 'נווה זוהר', + 'נווה זיו', + 'נווה חריף', + 'נווה ים', + 'נווה ימין', + 'נווה ירק', + 'נווה מבטח', + 'נווה מיכאל', + 'נווה שלום', + 'נועם', + 'נוף איילון', + 'נופים', + 'נופית', + 'נופך', + 'נוקדים', + 'נורדיה', + 'נורית', + 'נחושה', + 'נחל עוז', + 'נחלה', + 'נחליאל', + 'נחלים', + 'נחם', + 'נחף', + 'נחשולים', + 'נחשון', + 'נחשונים', + 'נטועה', + 'נטור', + 'נטע', + 'נטעים', + 'נטף', + 'ניין', + 'ניל"י', + 'ניצן', + 'ניצני סיני', + 'ניצני עוז', + 'ניצנים', + 'ניר אליהו', + 'ניר בנים', + 'ניר גלים', + 'ניר ח"ן', + 'ניר יפה', + 'ניר יצחק', + 'ניר ישראל', + 'ניר משה', + 'ניר עוז', + 'ניר עם', + 'ניר עציון', + 'ניר עקיבא', + 'ניר צבי', + 'נירים', + 'נירית', + 'נירן', + 'נס הרים', + 'נס עמים', + 'נס ציונה', + 'נעורים', + 'נעלה', + 'נעמ"ה', + 'נען', + 'נצר חזני', + 'נצר סרני', + 'נצרת', + 'נצרת עילית', + 'נשר', + 'נתיב הגדוד', + 'נתיב הל"ה', + 'נתיב העשרה', + 'נתיב השיירה', + 'נתיבות', + 'נתניה', + 'סאסא', + 'סביון', + 'סגולה', + 'סולם', + 'סוסיה', + 'סופה', + 'סלמה', + 'סלעית', + 'סמר', + 'סנסנה', + 'סעד', + 'סער', + 'ספיר', + 'סתריה', + 'עבדון', + 'עברון', + 'עגור', + 'עדי', + 'עדנים', + 'עוזה', + 'עוזייר', + 'עולש', + 'עומר', + 'עופר', + 'עופרה', + 'עוצם', + 'עזוז', + 'עזר', + 'עזריאל', + 'עזריה', + 'עזריקם', + 'עטרת', + 'עידן', + 'עיילבון', + 'עיינות', + 'עילוט', + 'עין איילה', + 'עין אל-אסד', + 'עין גב', + 'עין גדי', + 'עין דור', + 'עין הבשור', + 'עין הוד', + 'עין החורש', + 'עין המפרץ', + 'עין הנצי"ב', + 'עין העמק', + 'עין השופט', + 'עין השלושה', + 'עין ורד', + 'עין זיוון', + 'עין חוד', + 'עין חצבה', + 'עין יהב', + 'עין יעקב', + 'עין כרם-בי"ס חקלאי', + 'עין כרמל', + 'עין מאהל', + 'עין נקובא', + 'עין עירון', + 'עין צורים', + 'עין קנייא', + 'עין ראפה', + 'עין שמר', + 'עין שריד', + 'עין תמר', + 'עינת', + 'עיר אובות', + 'עכו', + 'עלומים', + 'עלי', + 'עלי זהב', + 'עלמה', + 'עלמון', + 'עמוקה', + 'עמינדב', + 'עמיעד', + 'עמיעוז', + 'עמיקם', + 'עמיר', + 'עמנואל', + 'עמקה', + 'ענב', + 'עספיא', + 'עפולה', + 'עץ אפרים', + 'עצמון שגב', + 'עראבה', + 'עראמשה', + 'ערב אל נעים', + 'ערד', + 'ערוגות', + 'ערערה', + 'ערערה-בנגב', + 'עשרת', + 'עתלית', + 'עתניאל', + 'פארן', + 'פדואל', + 'פדויים', + 'פדיה', + 'פוריה - כפר עבודה', + 'פוריה - נווה עובד', + 'פוריה עילית', + 'פוריידיס', + 'פורת', + 'פטיש', + 'פלך', + 'פלמחים', + 'פני חבר', + 'פסגות', + 'פסוטה', + 'פעמי תש"ז', + 'פצאל', + 'פקיעין חדשה', + 'פרדס חנה-כרכור', + 'פרדסיה', + 'פרוד', + 'פרזון', + 'פרי גן', + 'פתח תקווה', + 'פתחיה', + 'צאלים', + 'צביה', + 'צבעון', + 'צובה', + 'צוחר', + 'צופיה', + 'צופים', + 'צופית', + 'צופר', + 'צוקי ים', + 'צוקים', + 'צור הדסה', + 'צור יצחק', + 'צור משה', + 'צור נתן', + 'צוריאל', + 'צורית', + 'ציפורי', + 'צלפון', + 'צנדלה', + 'צפריה', + 'צפרירים', + 'צפת', + 'צרופה', + 'צרעה', + 'קבוצת יבנה', + 'קדומים', + 'קדימה-צורן', + 'קדמה', + 'קדמת צבי', + 'קדר', + 'קדרון', + 'קדרים', + 'קוממיות', + 'קורנית', + 'קטורה', + 'קיסריה', + 'קלחים', + 'קליה', + 'קלנסווה', + 'קלע', + 'קציר', + 'קצר א-סר', + 'קצרין', + 'קרית אונו', + 'קרית ארבע', + 'קרית אתא', + 'קרית ביאליק', + 'קרית גת', + 'קרית טבעון', + 'קרית ים', + 'קרית יערים', + 'קרית מוצקין', + 'קרית מלאכי', + 'קרית נטפים', + 'קרית ענבים', + 'קרית עקרון', + 'קרית שלמה', + 'קרית שמונה', + 'קרני שומרון', + 'קשת', + 'ראמה', + 'ראס אל-עין', + 'ראס עלי', + 'ראש העין', + 'ראש פינה', + 'ראש צורים', + 'ראשון לציון', + 'רבבה', + 'רבדים', + 'רביבים', + 'רביד', + 'רגבה', + 'רגבים', + 'רהט', + 'רווחה', + 'רוויה', + 'רוח מדבר', + 'רוחמה', + 'רומאנה', + 'רומת הייב', + 'רועי', + 'רותם', + 'רחוב', + 'רחובות', + 'רחלים', + 'ריחאניה', + 'ריחן', + 'ריינה', + 'רימונים', + 'רינתיה', + 'רכסים', + 'רם-און', + 'רמות', + 'רמות השבים', + 'רמות מאיר', + 'רמות מנשה', + 'רמות נפתלי', + 'רמלה', + 'רמת גן', + 'רמת דוד', + 'רמת הכובש', + 'רמת השופט', + 'רמת השרון', + 'רמת יוחנן', + 'רמת ישי', + 'רמת מגשימים', + 'רמת צבי', + 'רמת רזיאל', + 'רמת רחל', + 'רנן', + 'רעים', + 'רעננה', + 'רקפת', + 'רשפון', + 'רשפים', + 'רתמים', + 'שאר ישוב', + 'שבי ציון', + 'שבי שומרון', + 'שבלי - אום אל-גנם', + 'שגב-שלום', + 'שדה אילן', + 'שדה אליהו', + 'שדה אליעזר', + 'שדה בוקר', + 'שדה דוד', + 'שדה ורבורג', + 'שדה יואב', + 'שדה יעקב', + 'שדה יצחק', + 'שדה משה', + 'שדה נחום', + 'שדה נחמיה', + 'שדה ניצן', + 'שדה עוזיהו', + 'שדה צבי', + 'שדות ים', + 'שדות מיכה', + 'שדי אברהם', + 'שדי חמד', + 'שדי תרומות', + 'שדמה', + 'שדמות דבורה', + 'שדמות מחולה', + 'שדרות', + 'שואבה', + 'שובה', + 'שובל', + 'שוהם', + 'שומרה', + 'שומריה', + 'שוקדה', + 'שורש', + 'שורשים', + 'שושנת העמקים', + 'שזור', + 'שחר', + 'שחרות', + 'שיבולים', + 'שיטים', + 'שילה', + 'שילת', + 'שכניה', + 'שלווה', + 'שלווה במדבר', + 'שלוחות', + 'שלומי', + 'שלומית', + 'שמיר', + 'שמעה', + 'שמרת', + 'שמשית', + 'שני', + 'שניר', + 'שעב', + 'שעורים', + 'שעל', + 'שעלבים', + 'שער אפרים', + 'שער הגולן', + 'שער העמקים', + 'שער מנשה', + 'שערי תקווה', + 'שפיים', + 'שפיר', + 'שפר', + 'שפרעם', + 'שקד', + 'שקף', + 'שרונה', + 'שריד', + 'שרשרת', + 'שתולה', + 'שתולים', + 'תאשור', + 'תדהר', + 'תובל', + 'תומר', + 'תושיה', + 'תימורים', + 'תירוש', + 'תל אביב - יפו', + 'תל יוסף', + 'תל יצחק', + 'תל מונד', + 'תל עדשים', + 'תל קציר', + 'תל שבע', + 'תל תאומים', + 'תלם', + 'תלמי אליהו', + 'תלמי אלעזר', + 'תלמי ביל"ו', + 'תלמי יוסף', + 'תלמי יחיאל', + 'תלמי יפה', + 'תלמים', + 'תמרת', + 'תנובות', + 'תעוז', + 'תפרח', + 'תקומה', + 'תקוע', + 'תרום', + ]; - /** - * {@link} https://he.wikipedia.org/wiki/%D7%A4%D7%95%D7%A8%D7%98%D7%9C:%D7%9E%D7%93%D7%99%D7%A0%D7%95%D7%AA_%D7%94%D7%A2%D7%95%D7%9C%D7%9D/%D7%9E%D7%93%D7%99%D7%A0%D7%95%D7%AA_%D7%91%D7%9E%D7%99%D7%95%D7%A0%D7%99%D7%9D_%D7%A9%D7%95%D7%A0%D7%99%D7%9D - */ - protected static $country = [ - 'אוגנדה', 'אוזבקיסטן', 'אוסטריה', 'אוסטרליה', 'אוקראינה', 'אורוגוואי', 'אזרבייג\'ן', 'איטליה', 'איי מרשל', 'סיישל', 'איי שלמה', 'אינדונזיה', - 'איסלנד', 'איראן', 'אירלנד', 'אל סלוודור', 'אלבניה', 'אלג\'יריה', 'אנגולה', 'אנדורה', 'אנטיגואה וברבודה', 'אסטוניה', 'אפגניסטן', 'אקוודור', - 'ארגנטינה', 'אריתריאה', 'ארמניה', 'ארצות הברית', 'אתיופיה', 'בהאמה', 'בהוטן', 'בוטסואנה', 'בולגריה', 'בוליביה', 'בוסניה והרצגובינה', 'בורונדי', 'בורקינה פאסו', 'בחריין', - 'בלגיה', 'בליז', 'בלארוס', 'בנגלדש', 'בנין', 'ברבדוס', 'ברוניי', 'ברזיל', 'גאורגיה', 'גאנה', 'גבון', 'גואטמלה', 'גיאנה', 'ג\'יבוטי', 'גינאה', 'גינאה ביסאו', 'גיניאה המשוונית', - 'גמביה', 'ג\'מייקה', 'גרמניה', 'גרנדה', 'דומיניקה', 'דנמרק', 'דרום אפריקה', 'דרום סודאן', 'האיטי', 'האמירויות הערביות המאוחדות', 'הודו', 'הולנד', 'הונגריה', 'הונדורס', - 'הממלכה המאוחדת', 'וייטנאם', 'ונואטו', 'ונצואלה', 'זימבבואה', 'זמביה', 'חוף השנהב', 'טג\'יקיסטן', 'טובאלו', 'טוגו', 'טונגה', 'טורקיה', 'טורקמניסטן', 'טנזניה', 'טרינידד וטובגו', - 'יוון', 'יפן', 'ירדן', 'ישראל', 'כווית', 'כף ורדה', 'לאוס', 'לבנון', 'לוב', 'לוקסמבורג', 'לטביה', 'ליבריה', 'ליטא', 'ליכטנשטיין', 'לסוטו', 'מאוריטניה', 'מאוריציוס', - 'מאלי', 'מדגסקר', 'מוזמביק', 'מולדובה', 'מונגוליה', 'מונטנגרו', 'מונאקו', 'מזרח טימור', 'מיאנמר', 'מיקרונזיה', 'מלאווי', 'המלדיביים', 'מלזיה', 'מלטה', 'מצרים', 'מקדוניה', - 'מקסיקו', 'מרוקו', 'נאורו', 'נורווגיה', 'ניגריה', 'ניו זילנד', 'ניז\'ר', 'ניקרגואה', 'נמיביה', 'נפאל', 'סאו טומה ופרינסיפה', 'סודאן', 'סווזילנד', 'סומליה', 'סוריה', 'סורינם', - 'סיירה לאון', 'סין', 'סינגפור', 'סלובניה', 'סלובקיה', 'סמואה', 'סן מרינו', 'סנגל', 'סנט וינסנט והגרנדינים', 'סנט לוסיה', 'סנט קיטס ונוויס', 'ספרד', 'סרביה', 'סרי לנקה', 'עומאן', - 'עיראק', 'ערב הסעודית', 'פולין', 'פורטוגל', 'פיג\'י', 'פיליפינים', 'פינלנד', 'פלאו', 'פנמה', 'פפואה גינאה החדשה', 'פקיסטן', 'פרגוואי', 'פרו', 'צ\'אד', 'צ\'ילה', 'צ\'כיה', 'צרפת', - 'קובה', 'קולומביה', 'קומורו', 'קונגו', 'קוסטה ריקה', 'קוריאה הדרומית', 'קוריאה הצפונית', 'קזחסטן', 'קטאר', 'קירגיזסטן', 'קיריבטי', 'קמבודיה', 'קמרון', 'קנדה', 'קניה', 'קפריסין', - 'קרואטיה', 'קריית הוותיקן', 'רואנדה', 'רומניה', 'רוסיה', 'הרפובליקה הדומיניקנית', 'הרפובליקה המרכז אפריקאית', 'הרפובליקה הסינית', 'שוודיה', 'שווייץ', 'תאילנד', 'תוניסיה', 'תימן', - ]; - protected static $cityFormats = [ - '{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetSuffix}} {{firstName}}', - '{{streetSuffix}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}} ', - '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{postcode}}", - ]; - protected static $secondaryAddressFormats = ['דירה ##', 'קומה ##']; + /** + * {@link} https://he.wikipedia.org/wiki/%D7%A4%D7%95%D7%A8%D7%98%D7%9C:%D7%9E%D7%93%D7%99%D7%A0%D7%95%D7%AA_%D7%94%D7%A2%D7%95%D7%9C%D7%9D/%D7%9E%D7%93%D7%99%D7%A0%D7%95%D7%AA_%D7%91%D7%9E%D7%99%D7%95%D7%A0%D7%99%D7%9D_%D7%A9%D7%95%D7%A0%D7%99%D7%9D + */ + protected static $country = [ + 'אוגנדה', + 'אוזבקיסטן', + 'אוסטריה', + 'אוסטרליה', + 'אוקראינה', + 'אורוגוואי', + 'אזרבייג\'ן', + 'איטליה', + 'איי מרשל', + 'סיישל', + 'איי שלמה', + 'אינדונזיה', + 'איסלנד', + 'איראן', + 'אירלנד', + 'אל סלוודור', + 'אלבניה', + 'אלג\'יריה', + 'אנגולה', + 'אנדורה', + 'אנטיגואה וברבודה', + 'אסטוניה', + 'אפגניסטן', + 'אקוודור', + 'ארגנטינה', + 'אריתריאה', + 'ארמניה', + 'ארצות הברית', + 'אתיופיה', + 'בהאמה', + 'בהוטן', + 'בוטסואנה', + 'בולגריה', + 'בוליביה', + 'בוסניה והרצגובינה', + 'בורונדי', + 'בורקינה פאסו', + 'בחריין', + 'בלגיה', + 'בליז', + 'בלארוס', + 'בנגלדש', + 'בנין', + 'ברבדוס', + 'ברוניי', + 'ברזיל', + 'גאורגיה', + 'גאנה', + 'גבון', + 'גואטמלה', + 'גיאנה', + 'ג\'יבוטי', + 'גינאה', + 'גינאה ביסאו', + 'גיניאה המשוונית', + 'גמביה', + 'ג\'מייקה', + 'גרמניה', + 'גרנדה', + 'דומיניקה', + 'דנמרק', + 'דרום אפריקה', + 'דרום סודאן', + 'האיטי', + 'האמירויות הערביות המאוחדות', + 'הודו', + 'הולנד', + 'הונגריה', + 'הונדורס', + 'הממלכה המאוחדת', + 'וייטנאם', + 'ונואטו', + 'ונצואלה', + 'זימבבואה', + 'זמביה', + 'חוף השנהב', + 'טג\'יקיסטן', + 'טובאלו', + 'טוגו', + 'טונגה', + 'טורקיה', + 'טורקמניסטן', + 'טנזניה', + 'טרינידד וטובגו', + 'יוון', + 'יפן', + 'ירדן', + 'ישראל', + 'כווית', + 'כף ורדה', + 'לאוס', + 'לבנון', + 'לוב', + 'לוקסמבורג', + 'לטביה', + 'ליבריה', + 'ליטא', + 'ליכטנשטיין', + 'לסוטו', + 'מאוריטניה', + 'מאוריציוס', + 'מאלי', + 'מדגסקר', + 'מוזמביק', + 'מולדובה', + 'מונגוליה', + 'מונטנגרו', + 'מונאקו', + 'מזרח טימור', + 'מיאנמר', + 'מיקרונזיה', + 'מלאווי', + 'המלדיביים', + 'מלזיה', + 'מלטה', + 'מצרים', + 'מקדוניה', + 'מקסיקו', + 'מרוקו', + 'נאורו', + 'נורווגיה', + 'ניגריה', + 'ניו זילנד', + 'ניז\'ר', + 'ניקרגואה', + 'נמיביה', + 'נפאל', + 'סאו טומה ופרינסיפה', + 'סודאן', + 'סווזילנד', + 'סומליה', + 'סוריה', + 'סורינם', + 'סיירה לאון', + 'סין', + 'סינגפור', + 'סלובניה', + 'סלובקיה', + 'סמואה', + 'סן מרינו', + 'סנגל', + 'סנט וינסנט והגרנדינים', + 'סנט לוסיה', + 'סנט קיטס ונוויס', + 'ספרד', + 'סרביה', + 'סרי לנקה', + 'עומאן', + 'עיראק', + 'ערב הסעודית', + 'פולין', + 'פורטוגל', + 'פיג\'י', + 'פיליפינים', + 'פינלנד', + 'פלאו', + 'פנמה', + 'פפואה גינאה החדשה', + 'פקיסטן', + 'פרגוואי', + 'פרו', + 'צ\'אד', + 'צ\'ילה', + 'צ\'כיה', + 'צרפת', + 'קובה', + 'קולומביה', + 'קומורו', + 'קונגו', + 'קוסטה ריקה', + 'קוריאה הדרומית', + 'קוריאה הצפונית', + 'קזחסטן', + 'קטאר', + 'קירגיזסטן', + 'קיריבטי', + 'קמבודיה', + 'קמרון', + 'קנדה', + 'קניה', + 'קפריסין', + 'קרואטיה', + 'קריית הוותיקן', + 'רואנדה', + 'רומניה', + 'רוסיה', + 'הרפובליקה הדומיניקנית', + 'הרפובליקה המרכז אפריקאית', + 'הרפובליקה הסינית', + 'שוודיה', + 'שווייץ', + 'תאילנד', + 'תוניסיה', + 'תימן', + ]; + protected static $cityFormats = [ + '{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetSuffix}} {{firstName}}', + '{{streetSuffix}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}} ', + '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{postcode}}", + ]; + protected static $secondaryAddressFormats = [ 'דירה ##', 'קומה ##' ]; - /** - * @example 'Appt. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Company.php b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Company.php index c7a989e..34f3375 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Company.php @@ -2,13 +2,12 @@ namespace Faker\Provider\he_IL; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} את {{lastName}} {{companySuffix}}', - '{{lastName}} ו{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} את {{lastName}} {{companySuffix}}', + '{{lastName}} ו{{lastName}}', + ]; - protected static $companySuffix = ['בע"מ', 'ובניו', 'סוכנויות', 'משווקים']; + protected static $companySuffix = [ 'בע"מ', 'ובניו', 'סוכנויות', 'משווקים' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Payment.php index 962e21a..7a88a4c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\he_IL; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'IL', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'IL', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Person.php b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Person.php index 86370c0..55626e8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/he_IL/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/he_IL/Person.php @@ -2,131 +2,2127 @@ namespace Faker\Provider\he_IL; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; - /** - * {@link} http://www.mamy.co.il/%D7%A9%D7%9E%D7%95%D7%AA-%D7%9C%D7%AA%D7%99%D7%A0%D7%95%D7%A7%D7%95%D7%AA - */ - protected static $firstNameMale = [ - 'אבטו', 'אבי', 'אביאור', 'אביאל', 'אביאסף', 'אביב', 'אביגדור', 'אבידור', 'אבידן', 'אביה', 'אביהו', 'אביהוד', 'אביחי', 'אבי-חן', 'אבינועם', 'אביעד', 'אביעם', 'אביר', 'אבירז', 'אבירן', 'אבישי', 'אביתר', - 'אבנר', 'אבקן', 'אברהם', 'אברון', 'אבשלום', 'אגם', 'אדיב', 'אדיר', 'אדם', 'אדר', 'אדריאן', 'אהוד', 'אהרון', 'אוהב', 'אוליאל', 'און', 'אוניל', 'אופז', 'אופיר', 'אופק', 'אור', 'אור אל', 'אוראל', 'אורון', - 'אורטל', 'אורי', 'אוריאל', 'אוריאן', 'אוריה', 'אוריון', 'אורין', 'אורם', 'אורן', 'אושר', 'אושרי', 'אחי', 'אחיאסף', 'אחינועם', 'אייל', 'אייר', 'איל', 'אילאי', 'אילון', 'אילור', 'אילי', 'איליה', 'איליי', - 'אילן', 'אילעי', 'אימרי', 'אירון', 'איתי', 'איתיאל', 'איתם', 'איתמר', 'איתן', 'אלאור', 'אלדד', 'אלדר', 'אלון', 'אלחי', 'אלחנן', 'אליאב', 'אליאור', 'אליאל', 'אליאסף', 'אליה', 'אליהו', 'אלי-יה', 'אל-ים', - 'אליעזר', 'אליפז', 'אליקים', 'אלירז', 'אלירם', 'אלירן', 'אלישי', 'אלישע', 'אלכס', 'אלמוג', 'אלנתן', 'אלעד', 'אלקנה', 'אלרואי', 'אלרום', 'אמוץ', 'אמיר', 'אמיתי', 'אמנון', 'אמרי', 'אנדרי', 'אנוש', 'אסא', - 'אסיף', 'אסף', 'אפיק', 'אפק', 'אראל', 'ארבל', 'ארגמן', 'ארד', 'ארז', 'אריאב', 'אריאל', 'אריה', 'אריק', 'ארנולד', 'ארנון', 'אשד', 'אשחר', 'אשר', 'בארי', 'בוסתן', 'בועז', 'בוריס', 'בושם', 'בזק', 'בירן', - 'ביתן', 'בכור', 'בן', 'בן אור', 'בן חור', 'בן עמי', 'בן ציון', 'בן-אל', 'בני', 'בניה', 'בנימין', 'בצלאל', 'בר', 'בר חן', 'בראל', 'בר-אל', 'ברוך', 'ברוש', 'בריאל', 'ברעם', 'ברק', 'ברקן', 'בשור', 'גביש', - 'גבע', 'גבעול', 'גברי', 'גבריאל', 'גברעם', 'גד', 'גדי', 'גדעון', 'גואל', 'גוב', 'גולן', 'גוני', 'גונן', 'גור', 'גוראל', 'גורי', 'גורן', 'גושן', 'גיא', 'גיבור', 'גידי', 'גיורא', 'גיל', 'גילאור', 'גילאי', - 'גיל-אל', 'גילעד', 'גילעם', 'גילרון', 'גינוסר', 'גיתאי', 'גל', 'גל אור', 'גלבוע', 'גליל', 'גלעד', 'גמליאל', 'גן', 'גפן', 'גרשון', 'דב', 'דביר', 'דגול', 'דגן', 'דובב', 'דוד', 'דויד', 'דולב', 'דור', - 'דוראל', 'דורון', 'דוריאן', 'דורם', 'דותן', 'דיה', 'דימה', 'דין', 'דינור', 'דיקר', 'דן', 'דן-אור', 'דנאל', 'דניאל', 'דקל', 'דקר', 'דר', 'דרור', 'דרורי', 'הדור', 'הדס', 'הדר', 'הוד', 'הודיה', 'הושע', - 'הידד', 'הילל', 'הלל', 'הראל', 'הרדוף', 'הרטוב', 'הרן', 'הרצל', 'והב', 'וולטר', 'וולף', 'וולפסון', 'ויטלי', 'וילי', 'ויני', 'ויקטור', 'ולדימיר', 'ולרי', 'ורד', 'ורדי', 'ורדינון', 'ורנר', 'זאב', 'זבולון', - 'זהב', 'זהר', 'זוהר', 'זיו', 'זיון', 'זך', 'זכאי', 'זכריה', 'זמיר', 'זמר', 'זמרי', 'זר', 'חביב', 'חבר', 'חברון', 'חגי', 'חובב', 'חוף', 'חורש', 'חושן', 'חזקיה', 'חי', 'חידקל', 'חייל', 'חיים', 'חמד', - 'חמי', 'חן', 'חנוך', 'חנן', 'חננאל', 'חסד', 'חסון', 'חפץ', 'חץ', 'חצב', 'חרמון', 'טאי', 'טבע', 'טבעון', 'טוב', 'טוביה', 'טוהר', 'טום', 'טיראן', 'טירן', 'טל', 'טלאור', 'טלמור', 'טמיר', 'טנא', 'טרי', - 'יאיר', 'יאן', 'יבין', 'יגאל', 'יגיל', 'יגל', 'ידיד', 'ידידיה', 'יהב', 'יהואש', 'יהודה', 'יהוידע', 'יהונדב', 'יהונתן', 'יהורם', 'יהושוע', 'יהושע', 'יהושפט', 'יהל', 'יהלום', 'יהלי', 'י-הלי', 'יואב', - 'יואל', 'יואן', 'יואש', 'יובב', 'יובל', 'יוגב', 'יוהד', 'יוחאי', 'יוחנן', 'יוכפז', 'יולי', 'יום טוב', 'יון', 'יונדב', 'יונה', 'יונתן', 'יוסי', 'יועד', 'יורם', 'יורן', 'יותם', 'יזהר', 'יזרח', 'יחזקאל', - 'יחיאל', 'יחיעם', 'ייטב', 'יכין', 'ילי', 'ים', 'ימין', 'ינאי', 'ינון', 'יניב', 'יניר', 'ינעם', 'יסעור', 'יעד', 'יעקב', 'יער', 'יפה', 'יפרח', 'יפת', 'יפתח', 'יצהל', 'יצחק', 'יקום', 'יקותיאל', 'יקיר', - 'יראון', 'ירדן', 'ירוחם', 'ירום', 'ירון', 'יריב', 'ירין', 'ישאל', 'ישוב', 'ישורון', 'ישי', 'ישראל', 'יששכר', 'יתיר', 'כבוד', 'כהנא', 'כוכב', 'כורם', 'כינור', 'כליל', 'כנען', 'כפיר', 'כרם', 'כרמי', - 'כרמל', 'כתר', 'לאור', 'לב', 'לבב', 'לביא', 'לבנה', 'לבנון', 'להב', 'להט', 'לו', 'לוז', 'לוטוס', 'לוטם', 'לוטן', 'לוי', 'לחן', 'לי', 'לי און', 'ליאב', 'ליאון', 'ליאור', 'ליאל', 'ליאם', 'ליאן', 'ליגיא', - 'לידור', 'לי-דור', 'לידן', 'ליהוא', 'לי-חי', 'ליטל', 'ליטם', 'לי-ים', 'לי-נוי', 'ליעד', 'ליעוז', 'ליעז', 'ליעם', 'ליפז', 'ליצח', 'ליר', 'לירוי', 'לירון', 'לירועי', 'לירז', 'לירן', 'לי-שי', 'לי-תום', - 'לנואל', 'לניר', 'לפיד', 'לשם', 'מאור', 'מאי', 'מאיר', 'מארק', 'מבורך', 'מגדיאל', 'מגל', 'מגן', 'מואב', 'מופת', 'מוקיר', 'מור', 'מורי', 'מוריאל', 'מורן', 'מושיע', 'מזר', 'מטע', 'מטר', 'מידד', 'מידן', - 'מיכאל', 'מיכה', 'מירום', 'מירון', 'מירן', 'מישאל', 'מישב', 'מיתר', 'מכבי', 'מלאך', 'מלאכי', 'מלכיאל', 'מנור', 'מנחם', 'מנשה', 'מעגן', 'מעוז', 'מעיין', 'מעין', 'מפל', 'מצוק', 'מצליח', 'מקס', 'מקסים', - 'מרגנית', 'מרדכי', 'מרום', 'מרון', 'מריאל', 'מרידור', 'מרסל', 'משאל', 'משגב', 'משה', 'משלט', 'מתיאו', 'מתן', 'מתנאל', 'מתניה', 'נאה', 'נאהב', 'נאור', 'נאות', 'נאל', 'נאמן', 'נבו', 'נבון', 'נבות', 'נבט', - 'נגב', 'נדב', 'נדיב', 'נדיר', 'נדר', 'נהדר', 'נהור', 'נהוראי', 'נהורי', 'נהוריי', 'נוב', 'נובל', 'נוה', 'נוח', 'נוי', 'נועם', 'נוף', 'נופר', 'נור', 'נוראל', 'נוריאל', 'נחום', 'נחל', 'נחמיה', 'נחמן', - 'נחשול', 'נחשון', 'נטע', 'ניב', 'ניל', 'ניסים', 'ניסן', 'ניצן', 'ניק', 'ניקול', 'ניקי', 'ניר', 'ניראל', 'נירן', 'נירעם', 'ניתאי', 'נמרוד', 'נס', 'נסים', 'נעים', 'נעם', 'נעמן', 'נפש', 'נפתלי', 'נצח', - 'נצר', 'נר', 'נריה', 'נריעד', 'נרקיס', 'נתיב', 'נתן', 'נתנאל', 'נתניהו', 'סאני', 'סביון', 'סביר', 'סגל', 'סהר', 'סולאל', 'סומך', 'סוף', 'סופר', 'סיון', 'סילבן', 'סימנטוב', 'סיני', 'סיפן', 'סנפיר', - 'סע-אל', 'סעדיה', 'סער', 'ספי', 'ספיר', 'סתו', 'סתיו', 'עברון', 'עברי', 'עגור', 'עגנון', 'עד', 'עדי', 'עדיאל', 'עדין', 'עדן', 'עובדיה', 'עודד', 'עוז', 'עוזי', 'עולם', 'עומר', 'עומרי', 'עופר', 'עופרי', - 'עז', 'עזאי', 'עזי', 'עזיאל', 'עזר', 'עזרא', 'עזריה', 'עזריקם', 'עטור', 'עטיר', 'עטר', 'עיברי', 'עידו', 'עידן', 'עיטם', 'עילאי', 'עילי', 'עילם', 'עינב', 'עינן', 'עירון', 'עלז', 'עלי', 'עלם', 'עמוס', - 'עמי', 'עמיאד', 'עמיאור', 'עמיאל', 'עמידור', 'עמידן', 'עמיחי', 'עמיעז', 'עמיקם', 'עמיר', 'עמית', 'עמנואל', 'עמק', 'עמרי', 'עמרם', 'ענב', 'ענבר', 'ענוג', 'ענן', 'ענר', 'עפרון', 'עפרי', 'עציון', 'עצמון', - 'עקיבא', 'ערד', 'ערן', 'עשהאל', 'עתי', 'עתיד', 'פאר', 'פולג', 'פורת', 'פז', 'פזיאל', 'פלג', 'פלד', 'פלטיאל', 'פנואל', 'פנחס', 'פסח', 'פרח', 'פרי', 'פריאל', 'פרס', 'פרץ', 'צבי', 'צביאל', 'צביון', 'צביקה', - 'צבעון', 'צבר', 'צדוק', 'צדף', 'צדק', 'צדקיהו', 'צהל', 'צוף', 'צוק', 'צור', 'צוראל', 'צוריאל', 'צוריה', 'צח', 'צחי', 'צחר', 'צחר', 'ציון', 'צל', 'צלאל', 'צליל', 'צמח', 'צפניה', 'צפריר', 'קדוש', 'קדם', - 'קובי', 'קורן', 'קטן', 'קטרן', 'קידר', 'קים', 'קינן', 'קיסר', 'קניאל', 'קסם', 'קריב', 'קרן', 'קרני', 'קרניאל', 'קשת', 'ראובן', 'ראודור', 'ראם', 'רביב', 'רביד', 'רגב', 'רהב', 'רהט', 'רואי', 'רובי', - 'רוה', 'רוזן', 'רוי', 'רום', 'רון', 'רונאל', 'רוני', 'רונן', 'רועי', 'רותם', 'רז', 'רזי', 'רזיאל', 'רחביה', 'רחמיאל', 'רחמים', 'ריחן', 'רימון', 'רלי', 'רם', 'רמון', 'רמז', 'רמי', 'רמיאל', 'רן', 'רנאל', - 'רנלי', 'רנן', 'רע', 'רעם', 'רענן', 'רפאל', 'רצון', 'רשף', 'רתם', 'שאול', 'שאלתיאל', 'שאר ישוב', 'שבח', 'שביב', 'שביט', 'שבת', 'שבתאי', 'שגב', 'שגיא', 'שגיב', 'שדמון', 'שהם', 'שובל', 'שוהם', 'שון', - 'שוני', 'שוע', 'שוקי', 'שור', 'שושן', 'שחם', 'שחף', 'שחק', 'שחר', 'שי', 'שי-אל', 'שילה', 'שילו', 'שי-לי', 'שיר', 'שירון', 'שירן', 'שלו', 'שלום', 'שלומי', 'שלומי', 'שליו', 'שלמה', 'שלמון', 'שלמי', 'שם', - 'שמגר', 'שמואל', 'שמחה', 'שמחון', 'שם-טוב', 'שמיר', 'שמעון', 'שמר', 'שמרון', 'שמריהו', 'שמרעם', 'שמש', 'שמשון', 'שנהב', 'שנהר', 'שני', 'שניאור', 'שניר', 'שפי', 'שפיר', 'שפע', 'שפריר', 'שקד', 'שר', - 'שר- אל', 'שראל', 'שרון', 'שריג', 'שריד', 'ששון', 'תאי', 'תאיר', 'תבור', 'תבל', 'תדהר', 'תדמור', 'תו', 'תובל', 'תום', 'תומר', 'תור', 'תורן', 'תימור', 'תירוש', 'תכלת', 'תלם', 'תמוז', 'תמיר', - ]; + /** + * {@link} http://www.mamy.co.il/%D7%A9%D7%9E%D7%95%D7%AA-%D7%9C%D7%AA%D7%99%D7%A0%D7%95%D7%A7%D7%95%D7%AA + */ + protected static $firstNameMale = [ + 'אבטו', + 'אבי', + 'אביאור', + 'אביאל', + 'אביאסף', + 'אביב', + 'אביגדור', + 'אבידור', + 'אבידן', + 'אביה', + 'אביהו', + 'אביהוד', + 'אביחי', + 'אבי-חן', + 'אבינועם', + 'אביעד', + 'אביעם', + 'אביר', + 'אבירז', + 'אבירן', + 'אבישי', + 'אביתר', + 'אבנר', + 'אבקן', + 'אברהם', + 'אברון', + 'אבשלום', + 'אגם', + 'אדיב', + 'אדיר', + 'אדם', + 'אדר', + 'אדריאן', + 'אהוד', + 'אהרון', + 'אוהב', + 'אוליאל', + 'און', + 'אוניל', + 'אופז', + 'אופיר', + 'אופק', + 'אור', + 'אור אל', + 'אוראל', + 'אורון', + 'אורטל', + 'אורי', + 'אוריאל', + 'אוריאן', + 'אוריה', + 'אוריון', + 'אורין', + 'אורם', + 'אורן', + 'אושר', + 'אושרי', + 'אחי', + 'אחיאסף', + 'אחינועם', + 'אייל', + 'אייר', + 'איל', + 'אילאי', + 'אילון', + 'אילור', + 'אילי', + 'איליה', + 'איליי', + 'אילן', + 'אילעי', + 'אימרי', + 'אירון', + 'איתי', + 'איתיאל', + 'איתם', + 'איתמר', + 'איתן', + 'אלאור', + 'אלדד', + 'אלדר', + 'אלון', + 'אלחי', + 'אלחנן', + 'אליאב', + 'אליאור', + 'אליאל', + 'אליאסף', + 'אליה', + 'אליהו', + 'אלי-יה', + 'אל-ים', + 'אליעזר', + 'אליפז', + 'אליקים', + 'אלירז', + 'אלירם', + 'אלירן', + 'אלישי', + 'אלישע', + 'אלכס', + 'אלמוג', + 'אלנתן', + 'אלעד', + 'אלקנה', + 'אלרואי', + 'אלרום', + 'אמוץ', + 'אמיר', + 'אמיתי', + 'אמנון', + 'אמרי', + 'אנדרי', + 'אנוש', + 'אסא', + 'אסיף', + 'אסף', + 'אפיק', + 'אפק', + 'אראל', + 'ארבל', + 'ארגמן', + 'ארד', + 'ארז', + 'אריאב', + 'אריאל', + 'אריה', + 'אריק', + 'ארנולד', + 'ארנון', + 'אשד', + 'אשחר', + 'אשר', + 'בארי', + 'בוסתן', + 'בועז', + 'בוריס', + 'בושם', + 'בזק', + 'בירן', + 'ביתן', + 'בכור', + 'בן', + 'בן אור', + 'בן חור', + 'בן עמי', + 'בן ציון', + 'בן-אל', + 'בני', + 'בניה', + 'בנימין', + 'בצלאל', + 'בר', + 'בר חן', + 'בראל', + 'בר-אל', + 'ברוך', + 'ברוש', + 'בריאל', + 'ברעם', + 'ברק', + 'ברקן', + 'בשור', + 'גביש', + 'גבע', + 'גבעול', + 'גברי', + 'גבריאל', + 'גברעם', + 'גד', + 'גדי', + 'גדעון', + 'גואל', + 'גוב', + 'גולן', + 'גוני', + 'גונן', + 'גור', + 'גוראל', + 'גורי', + 'גורן', + 'גושן', + 'גיא', + 'גיבור', + 'גידי', + 'גיורא', + 'גיל', + 'גילאור', + 'גילאי', + 'גיל-אל', + 'גילעד', + 'גילעם', + 'גילרון', + 'גינוסר', + 'גיתאי', + 'גל', + 'גל אור', + 'גלבוע', + 'גליל', + 'גלעד', + 'גמליאל', + 'גן', + 'גפן', + 'גרשון', + 'דב', + 'דביר', + 'דגול', + 'דגן', + 'דובב', + 'דוד', + 'דויד', + 'דולב', + 'דור', + 'דוראל', + 'דורון', + 'דוריאן', + 'דורם', + 'דותן', + 'דיה', + 'דימה', + 'דין', + 'דינור', + 'דיקר', + 'דן', + 'דן-אור', + 'דנאל', + 'דניאל', + 'דקל', + 'דקר', + 'דר', + 'דרור', + 'דרורי', + 'הדור', + 'הדס', + 'הדר', + 'הוד', + 'הודיה', + 'הושע', + 'הידד', + 'הילל', + 'הלל', + 'הראל', + 'הרדוף', + 'הרטוב', + 'הרן', + 'הרצל', + 'והב', + 'וולטר', + 'וולף', + 'וולפסון', + 'ויטלי', + 'וילי', + 'ויני', + 'ויקטור', + 'ולדימיר', + 'ולרי', + 'ורד', + 'ורדי', + 'ורדינון', + 'ורנר', + 'זאב', + 'זבולון', + 'זהב', + 'זהר', + 'זוהר', + 'זיו', + 'זיון', + 'זך', + 'זכאי', + 'זכריה', + 'זמיר', + 'זמר', + 'זמרי', + 'זר', + 'חביב', + 'חבר', + 'חברון', + 'חגי', + 'חובב', + 'חוף', + 'חורש', + 'חושן', + 'חזקיה', + 'חי', + 'חידקל', + 'חייל', + 'חיים', + 'חמד', + 'חמי', + 'חן', + 'חנוך', + 'חנן', + 'חננאל', + 'חסד', + 'חסון', + 'חפץ', + 'חץ', + 'חצב', + 'חרמון', + 'טאי', + 'טבע', + 'טבעון', + 'טוב', + 'טוביה', + 'טוהר', + 'טום', + 'טיראן', + 'טירן', + 'טל', + 'טלאור', + 'טלמור', + 'טמיר', + 'טנא', + 'טרי', + 'יאיר', + 'יאן', + 'יבין', + 'יגאל', + 'יגיל', + 'יגל', + 'ידיד', + 'ידידיה', + 'יהב', + 'יהואש', + 'יהודה', + 'יהוידע', + 'יהונדב', + 'יהונתן', + 'יהורם', + 'יהושוע', + 'יהושע', + 'יהושפט', + 'יהל', + 'יהלום', + 'יהלי', + 'י-הלי', + 'יואב', + 'יואל', + 'יואן', + 'יואש', + 'יובב', + 'יובל', + 'יוגב', + 'יוהד', + 'יוחאי', + 'יוחנן', + 'יוכפז', + 'יולי', + 'יום טוב', + 'יון', + 'יונדב', + 'יונה', + 'יונתן', + 'יוסי', + 'יועד', + 'יורם', + 'יורן', + 'יותם', + 'יזהר', + 'יזרח', + 'יחזקאל', + 'יחיאל', + 'יחיעם', + 'ייטב', + 'יכין', + 'ילי', + 'ים', + 'ימין', + 'ינאי', + 'ינון', + 'יניב', + 'יניר', + 'ינעם', + 'יסעור', + 'יעד', + 'יעקב', + 'יער', + 'יפה', + 'יפרח', + 'יפת', + 'יפתח', + 'יצהל', + 'יצחק', + 'יקום', + 'יקותיאל', + 'יקיר', + 'יראון', + 'ירדן', + 'ירוחם', + 'ירום', + 'ירון', + 'יריב', + 'ירין', + 'ישאל', + 'ישוב', + 'ישורון', + 'ישי', + 'ישראל', + 'יששכר', + 'יתיר', + 'כבוד', + 'כהנא', + 'כוכב', + 'כורם', + 'כינור', + 'כליל', + 'כנען', + 'כפיר', + 'כרם', + 'כרמי', + 'כרמל', + 'כתר', + 'לאור', + 'לב', + 'לבב', + 'לביא', + 'לבנה', + 'לבנון', + 'להב', + 'להט', + 'לו', + 'לוז', + 'לוטוס', + 'לוטם', + 'לוטן', + 'לוי', + 'לחן', + 'לי', + 'לי און', + 'ליאב', + 'ליאון', + 'ליאור', + 'ליאל', + 'ליאם', + 'ליאן', + 'ליגיא', + 'לידור', + 'לי-דור', + 'לידן', + 'ליהוא', + 'לי-חי', + 'ליטל', + 'ליטם', + 'לי-ים', + 'לי-נוי', + 'ליעד', + 'ליעוז', + 'ליעז', + 'ליעם', + 'ליפז', + 'ליצח', + 'ליר', + 'לירוי', + 'לירון', + 'לירועי', + 'לירז', + 'לירן', + 'לי-שי', + 'לי-תום', + 'לנואל', + 'לניר', + 'לפיד', + 'לשם', + 'מאור', + 'מאי', + 'מאיר', + 'מארק', + 'מבורך', + 'מגדיאל', + 'מגל', + 'מגן', + 'מואב', + 'מופת', + 'מוקיר', + 'מור', + 'מורי', + 'מוריאל', + 'מורן', + 'מושיע', + 'מזר', + 'מטע', + 'מטר', + 'מידד', + 'מידן', + 'מיכאל', + 'מיכה', + 'מירום', + 'מירון', + 'מירן', + 'מישאל', + 'מישב', + 'מיתר', + 'מכבי', + 'מלאך', + 'מלאכי', + 'מלכיאל', + 'מנור', + 'מנחם', + 'מנשה', + 'מעגן', + 'מעוז', + 'מעיין', + 'מעין', + 'מפל', + 'מצוק', + 'מצליח', + 'מקס', + 'מקסים', + 'מרגנית', + 'מרדכי', + 'מרום', + 'מרון', + 'מריאל', + 'מרידור', + 'מרסל', + 'משאל', + 'משגב', + 'משה', + 'משלט', + 'מתיאו', + 'מתן', + 'מתנאל', + 'מתניה', + 'נאה', + 'נאהב', + 'נאור', + 'נאות', + 'נאל', + 'נאמן', + 'נבו', + 'נבון', + 'נבות', + 'נבט', + 'נגב', + 'נדב', + 'נדיב', + 'נדיר', + 'נדר', + 'נהדר', + 'נהור', + 'נהוראי', + 'נהורי', + 'נהוריי', + 'נוב', + 'נובל', + 'נוה', + 'נוח', + 'נוי', + 'נועם', + 'נוף', + 'נופר', + 'נור', + 'נוראל', + 'נוריאל', + 'נחום', + 'נחל', + 'נחמיה', + 'נחמן', + 'נחשול', + 'נחשון', + 'נטע', + 'ניב', + 'ניל', + 'ניסים', + 'ניסן', + 'ניצן', + 'ניק', + 'ניקול', + 'ניקי', + 'ניר', + 'ניראל', + 'נירן', + 'נירעם', + 'ניתאי', + 'נמרוד', + 'נס', + 'נסים', + 'נעים', + 'נעם', + 'נעמן', + 'נפש', + 'נפתלי', + 'נצח', + 'נצר', + 'נר', + 'נריה', + 'נריעד', + 'נרקיס', + 'נתיב', + 'נתן', + 'נתנאל', + 'נתניהו', + 'סאני', + 'סביון', + 'סביר', + 'סגל', + 'סהר', + 'סולאל', + 'סומך', + 'סוף', + 'סופר', + 'סיון', + 'סילבן', + 'סימנטוב', + 'סיני', + 'סיפן', + 'סנפיר', + 'סע-אל', + 'סעדיה', + 'סער', + 'ספי', + 'ספיר', + 'סתו', + 'סתיו', + 'עברון', + 'עברי', + 'עגור', + 'עגנון', + 'עד', + 'עדי', + 'עדיאל', + 'עדין', + 'עדן', + 'עובדיה', + 'עודד', + 'עוז', + 'עוזי', + 'עולם', + 'עומר', + 'עומרי', + 'עופר', + 'עופרי', + 'עז', + 'עזאי', + 'עזי', + 'עזיאל', + 'עזר', + 'עזרא', + 'עזריה', + 'עזריקם', + 'עטור', + 'עטיר', + 'עטר', + 'עיברי', + 'עידו', + 'עידן', + 'עיטם', + 'עילאי', + 'עילי', + 'עילם', + 'עינב', + 'עינן', + 'עירון', + 'עלז', + 'עלי', + 'עלם', + 'עמוס', + 'עמי', + 'עמיאד', + 'עמיאור', + 'עמיאל', + 'עמידור', + 'עמידן', + 'עמיחי', + 'עמיעז', + 'עמיקם', + 'עמיר', + 'עמית', + 'עמנואל', + 'עמק', + 'עמרי', + 'עמרם', + 'ענב', + 'ענבר', + 'ענוג', + 'ענן', + 'ענר', + 'עפרון', + 'עפרי', + 'עציון', + 'עצמון', + 'עקיבא', + 'ערד', + 'ערן', + 'עשהאל', + 'עתי', + 'עתיד', + 'פאר', + 'פולג', + 'פורת', + 'פז', + 'פזיאל', + 'פלג', + 'פלד', + 'פלטיאל', + 'פנואל', + 'פנחס', + 'פסח', + 'פרח', + 'פרי', + 'פריאל', + 'פרס', + 'פרץ', + 'צבי', + 'צביאל', + 'צביון', + 'צביקה', + 'צבעון', + 'צבר', + 'צדוק', + 'צדף', + 'צדק', + 'צדקיהו', + 'צהל', + 'צוף', + 'צוק', + 'צור', + 'צוראל', + 'צוריאל', + 'צוריה', + 'צח', + 'צחי', + 'צחר', + 'צחר', + 'ציון', + 'צל', + 'צלאל', + 'צליל', + 'צמח', + 'צפניה', + 'צפריר', + 'קדוש', + 'קדם', + 'קובי', + 'קורן', + 'קטן', + 'קטרן', + 'קידר', + 'קים', + 'קינן', + 'קיסר', + 'קניאל', + 'קסם', + 'קריב', + 'קרן', + 'קרני', + 'קרניאל', + 'קשת', + 'ראובן', + 'ראודור', + 'ראם', + 'רביב', + 'רביד', + 'רגב', + 'רהב', + 'רהט', + 'רואי', + 'רובי', + 'רוה', + 'רוזן', + 'רוי', + 'רום', + 'רון', + 'רונאל', + 'רוני', + 'רונן', + 'רועי', + 'רותם', + 'רז', + 'רזי', + 'רזיאל', + 'רחביה', + 'רחמיאל', + 'רחמים', + 'ריחן', + 'רימון', + 'רלי', + 'רם', + 'רמון', + 'רמז', + 'רמי', + 'רמיאל', + 'רן', + 'רנאל', + 'רנלי', + 'רנן', + 'רע', + 'רעם', + 'רענן', + 'רפאל', + 'רצון', + 'רשף', + 'רתם', + 'שאול', + 'שאלתיאל', + 'שאר ישוב', + 'שבח', + 'שביב', + 'שביט', + 'שבת', + 'שבתאי', + 'שגב', + 'שגיא', + 'שגיב', + 'שדמון', + 'שהם', + 'שובל', + 'שוהם', + 'שון', + 'שוני', + 'שוע', + 'שוקי', + 'שור', + 'שושן', + 'שחם', + 'שחף', + 'שחק', + 'שחר', + 'שי', + 'שי-אל', + 'שילה', + 'שילו', + 'שי-לי', + 'שיר', + 'שירון', + 'שירן', + 'שלו', + 'שלום', + 'שלומי', + 'שלומי', + 'שליו', + 'שלמה', + 'שלמון', + 'שלמי', + 'שם', + 'שמגר', + 'שמואל', + 'שמחה', + 'שמחון', + 'שם-טוב', + 'שמיר', + 'שמעון', + 'שמר', + 'שמרון', + 'שמריהו', + 'שמרעם', + 'שמש', + 'שמשון', + 'שנהב', + 'שנהר', + 'שני', + 'שניאור', + 'שניר', + 'שפי', + 'שפיר', + 'שפע', + 'שפריר', + 'שקד', + 'שר', + 'שר- אל', + 'שראל', + 'שרון', + 'שריג', + 'שריד', + 'ששון', + 'תאי', + 'תאיר', + 'תבור', + 'תבל', + 'תדהר', + 'תדמור', + 'תו', + 'תובל', + 'תום', + 'תומר', + 'תור', + 'תורן', + 'תימור', + 'תירוש', + 'תכלת', + 'תלם', + 'תמוז', + 'תמיר', + ]; - protected static $firstNameFemale = [ - 'אבוקה', 'אביאלה', 'אביב', 'אביבה', 'אביבית', 'אביגיל', 'אביגל', 'אביה', 'אביחיל', 'אביטל', 'אבישג', 'אגם', 'אדוה', 'אדל', 'אדלה', 'אדמונית', 'אדמית', 'אדר', 'אדרת', 'אהבה', 'אהובה', 'אהרונה', 'אודיה', - 'אודית', 'אודליה', 'אוולין', 'אולגה', 'אופיר', 'אופירה', 'אופל', 'אופק', 'אור', 'אוראל', 'אור-אל', 'אורה', 'אור-חן', 'אורטל', 'אורי', 'אוריאלה', 'אוריאן', 'אוריאנה', 'אוריה', 'אוריין', 'אור-ים', 'אורין', - 'אורית', 'אור-לב', 'אורלי', 'אורליה', 'אורליז', 'אורנה', 'אורנית', 'אורפז', 'אושר', 'אושרי', 'אושרית', 'אושרת', 'אחינועם', 'איב', 'איבון', 'איה', 'איזבל', 'אייר', 'אילה', 'אילונה', 'איליי', 'אילנה', - 'אילנית', 'אילת', 'אילת', 'השחר', 'אילת', 'חן', 'אינה', 'אינסה', 'אירה', 'איריס', 'אירית', 'איתי', 'אלדר', 'אלה', 'אלונה', 'אליאור', 'אליאל', 'אליאן', 'אליאנה', 'אליה', 'אלילה', 'אל-ים', 'אלין', 'אלינוי', - 'אליס', 'אליענה', 'אלירז', 'אלישבע', 'אלמה', 'אלמוג', 'אלנה', 'אלני', 'אמה', 'אמונה', 'אמור', 'אמי', 'אמילי', 'אמירה', 'אמנדה', 'אמת', 'אן', 'אנאל', 'אנה', 'אנט', 'אניס', 'אנני', 'אנסטסיה', 'אנפה', - 'אסנת', 'אסתר', 'אפק', 'אפקה', 'אפריל', 'אפרת', 'אצילה', 'אראל', 'אראלה', 'ארבל', 'ארזה', 'ארזית', 'אריאל', 'אריאלה', 'אריאן', 'אריאנה', 'ארין', 'אריקה', 'ארנה', 'אשדה', 'אשחר', 'אשכר', 'אשמרת', 'אשרה', - 'אשרית', 'אשרת', 'אתל', 'בארית', 'בדולח', 'בהירה', 'בונה', 'בינה', 'בינת', 'בירנית', 'בכורה', 'בל', 'בלה', 'בלהה', 'בקי', 'בר', 'ברוכה', 'ברוריה', 'ברית', 'ברכה', 'ברקאית', 'ברקנית', 'ברקת', 'בשורה', - 'בשמת', 'בת', 'בת-אור', 'בת-אל', 'בת-גל', 'בת-גלים', 'בת-חיל', 'בת-חן', 'בתיה', 'בת-לי', 'בת-לי', 'בת-ציון', 'בת-שבע', 'בת-שחר', 'בת-שיר', 'גאולה', 'גאולית', 'גאות', 'גאיה', 'גאליה', 'גבית', 'גבריאלה', - 'גדעונה', 'גוני', 'גורה', 'גורית', 'גזית', 'גיא', 'גיה', 'גיטל', 'גיל', 'גילה', 'גילי', 'גילית', 'גילת', 'גינה', 'גינת', 'גיתית', 'גל', 'גל', 'אור', 'גלאור', 'גל-אור', 'גלי', 'גליה', 'גלילה', 'גליליה', - 'גלית', 'גן', 'גניה', 'גנית', 'גפן', 'גפנה', 'גפנית', 'גרנית', 'דבורה', 'דבורית', 'דבי', 'דביר', 'דברת', 'דבש', 'דגניה', 'דגנית', 'דוגית', 'דודאית', 'דולי', 'דומי', 'דונה', 'דור', 'דורה', 'דורונה', - 'דוריאל', 'דוריה', 'דורין', 'דורינה', 'דורית', 'דורלי', 'דיאה', 'דיאנה', 'דיה', 'דין', 'דין', 'דין', 'דינה', 'דינור', 'דיצה', 'דיתה', 'דלית', 'דנה', 'דנה', 'דניאל', 'דניאלה', 'דניה', 'דנית', 'דעת', - 'דפנה', 'דפנית', 'דקל', 'דקלה', 'דר', 'דרורה', 'דרורית', 'דרורלי', 'דריה', 'דרלי', 'דתיה', 'הגר', 'הגרה', 'הדי', 'הדיה', 'הדס', 'הדסה', 'הדר', 'הדרה', 'הדרית', 'הודי', 'הודיה', 'הולי', 'הונית', 'היא-לי', - 'היילי', 'הילה', 'הילי', 'הינומה', 'הלה', 'הלי', 'הלית', 'הלל', 'הללה', 'הללי', 'הלן', 'הלנה', 'המיה', 'הני', 'הניה', 'הראל', 'הראלה', 'הרדוף', 'הררית', 'ויטה', 'ויק', 'ויקטוריה', 'ורד', 'ורדב', 'ורדה', - 'ורדיאלה', 'ורדינה', 'ורדית', 'ורוניקה', 'זאבה', 'זהבה', 'זהבית', 'זהובה', 'זהורית', 'זהר', 'זהרה', 'זהרירה', 'זו', 'לי', 'זואי', 'זוהר', 'זוהרית', 'זוהרת', 'זויה', 'זיו', 'זיוה', 'זיוונית', 'זיוית', - 'זילפה', 'זיקה', 'זכה', 'זכות', 'זמירה', 'זמר', 'זמרה', 'זמרית', 'זמרת', 'זעירה', 'זרעית', 'חביבה', 'חבצלת', 'חגית', 'חדוה', 'חוה', 'חופית', 'חושן', 'חיבה', 'חידה', 'חיה', 'חיותה', 'חיננית', 'חלום', - 'חלומית', 'חלי', 'חמדה', 'חמדת', 'חמוטל', 'חן', 'חנה', 'חני', 'חנית', 'חניתה', 'חן-לי', 'חסיה', 'חפצי-בה', 'חצבה', 'חרות', 'טאי', 'טארה', 'טהורה', 'טהר', 'טובה', 'טובית', 'טוהר', 'טופז', 'טימור', 'טינה', - 'טירה', 'טירנה', 'טל', 'טל', 'חן', 'טלאור', 'טל-אור', 'טל-חן', 'טלי', 'טליה', 'טלילה', 'טליתה', 'טללית', 'טל-שחר', 'טמירה', 'טנא', 'טניה', 'יאה', 'יאירה', 'יגאלה', 'ידידה', 'יהב', 'יהבה', 'יהודית', - 'יהל', 'יהלה', 'יהלום', 'יהלי', 'יואלה', 'יובל', 'יודפת', 'יוטבתה', 'יוכבד', 'יולי', 'יוליה', 'יונה', 'יונינה', 'יונית', 'יונת', 'יוספה', 'יופית', 'יחידה', 'יטבת', 'ילי', 'יליאל', 'ים', 'ימימה', 'ימית', - 'ינאית', 'יסכה', 'יסמין', 'יעל', 'יעלה', 'יעלית', 'יעלת-חן', 'יער', 'יערה', 'יערית', 'יפה', 'יפית', 'יפעת', 'יקירה', 'ירדן', 'ירדנה', 'ירונה', 'ירין', 'כדיה', 'כדית', 'כוכב', 'כוכבה', 'כוכבית', 'כוכי', - 'כינרת', 'כליל', 'כלילה', 'כלנית', 'כמהה', 'כנרת', 'כספית', 'כפיר', 'כרם', 'כרמה', 'כרמי', 'כרמיאל', 'כרמיה', 'כרמית', 'כרמל', 'כרמלה', 'כתר', 'לאה', 'לב', 'לבי', 'לביאה', 'לבנה', 'לבנת', 'לוטם', 'לוטן', - 'לולה', 'לולית', 'לוריאן', 'לורין', 'לורן', 'לחן', 'לטיפה', 'לי', 'לי', 'חן', 'ליאב', 'ליאה', 'ליאונור', 'ליאור', 'ליאורה', 'ליאל', 'לי-אל', 'ליאם', 'ליאן', 'ליאת', 'ליבה', 'ליבי', 'לי-בר', 'ליגל', - 'לידור', 'ליה', 'ליהי', 'ליהי', 'ליהיא', 'ליז', 'לי-זר', 'לי-חן', 'ליטל', 'לי-ים', 'לילי', 'לילך', 'לין', 'לינדה', 'לינה', 'לינוי', 'לינור', 'ליפז', 'ליר', 'לירון', 'לירז', 'לירי', 'לי-שי', 'לנה', - 'לשם', 'מאור', 'מאורי', 'מאי', 'מאיה', 'מאיה', 'מאירה', 'מארי', 'מבורכת', 'מדינה', 'מהות', 'מולדת', 'מוניק', 'מור', 'מוראל', 'מורג', 'מוריאל', 'מוריה', 'מורין', 'מורל', 'מורן', 'מושית', 'מזל', 'מטר', - 'מיא', 'מיאל', 'מיה', 'מיטב', 'מיטל', 'מי-טל', 'מיכאל', 'מיכאלה', 'מיכל', 'מילי', 'מילכה', 'מילנה', 'מימי', 'מיקה', 'מירב', 'מירה', 'מירי', 'מירית', 'מירן', 'מישל', 'מיתר', 'מלאני', 'מלורי', 'מלכה', - 'מלכי', 'מנוחה', 'מנור', 'מנורה', 'מנרה', 'מסדה', 'מעיין', 'מעין', 'מענית', 'מצדה', 'מקסימה', 'מרב', 'מרגלית', 'מרגנית', 'מרוה', 'מרי', 'מריאור', 'מריאן', 'מריאנה', 'משאלה', 'משי', 'משכית', 'מתוקה', - 'מתנה', 'נאדיה', 'נאה', 'נאהב', 'נאוה', 'נאוית', 'נאוית', 'נאור', 'נאורה', 'נאות', 'נאיה', 'נאמנה', 'נב', 'נבונה', 'נגבה', 'נגה', 'נגוהה', 'נגינה', 'נדיבה', 'נדין', 'נדירה', 'נהדרת', 'נהורה', 'נהירה', - 'נוב', 'נוגה', 'נוגת', 'נוה', 'נוהא', 'נוהר', 'נוי', 'נויה', 'נוית', 'נועה', 'נועם', 'נופיה', 'נופית', 'נופר', 'נור', 'נורה', 'נוריה', 'נורית', 'נחל', 'נחמה', 'נחת', 'נטיעה', 'נטלי', 'נטליה', 'נטע', - 'נטע-לי', 'ניבה', 'ניבי', 'ניה', 'נילי', 'נילית', 'ניסן', 'ניצה', 'ניצן', 'ניצנה', 'ניצנית', 'ניקול', 'ניקול', 'ניראל', 'נירה', 'נירי', 'נירית', 'נסיה', 'נסיכה', 'נעה', 'נעימה', 'נעם', 'נעמה', 'נעמי', - 'נעמית', 'נערה', 'נפאל', 'נצחונה', 'נצחיה', 'נקטר', 'נרדה', 'נרדית', 'נרה', 'נריה', 'נרקיס', 'נתיב', 'נתיבה', 'נתנאלה', 'נתניה', 'סאלי', 'סביון', 'סביונה', 'סברינה', 'סגולה', 'סגליה', 'סגלית', 'סהר', - 'סוזי', 'סוזן', 'סול', 'סופה', 'סופי', 'סופיה', 'סחלב', 'סי', 'סיאל', 'סיגל', 'סיגלית', 'סיוון', 'סיון', 'סילבי', 'סימה', 'סימונה', 'סיני', 'סינתיה', 'סיתוונית', 'סלין', 'סלעית', 'סמדר', 'סנאית', 'סנדי', - 'סנדרה', 'סנונית', 'ספיר', 'ספירית', 'סתו', 'סתוונית', 'סתיו', 'עבדת', 'עברונה', 'עבריה', 'עדה', 'עדי', 'עדיאלה', 'עדיה', 'עדילי', 'עדין', 'עדינה', 'עדית', 'עדן', 'עדנה', 'עובדה', 'עודדה', 'עוזיאלה', - 'עוזית', 'עומר', 'עונג', 'עופרי', 'עורית', 'עטרה', 'עטרת', 'עיבל', 'עידית', 'עידן', 'עידנית', 'עילי', 'עילית', 'עינב', 'עינה', 'עינת', 'עירית', 'עלוה', 'עלומה', 'עליה', 'עליזה', 'עלית', 'עלמה', 'עמיה', - 'עמירה', 'עמית', 'עמיתה', 'עמל', 'עמלה', 'עמליה', 'עמנואלה', 'עמר', 'עמרית', 'ענאל', 'ענב', 'ענבה', 'ענבל', 'ענבר', 'ענג', 'ענגה', 'ענוה', 'ענולה', 'ענפה', 'ענת', 'עפרה', 'עפרת', 'עציונה', 'עצמאות', - 'עצמה', 'ערבה', 'ערגה', 'ערה', 'עשירה', 'עתידה', 'עתליה', 'עתלית', 'עתרה', 'עתרת', 'פאולה', 'פאני', 'פאר', 'פארה', 'פאר-לי', 'פדויה', 'פדות', 'פולה', 'פולי', 'פועה', 'פורז', 'פורחת', 'פוריה', 'פורת', - 'פז', 'פזית', 'פיוט', 'פלא', 'פלאית', 'פלג', 'פלד', 'פליאה', 'פניה', 'פנינה', 'פנינית', 'פסיה', 'פרח', 'פרחיה', 'פרחית', 'פרי', 'מור', 'פריאור', 'פריאל', 'פריאלה', 'פרילי', 'פרימור', 'פשוש', 'צאלה', - 'צביאלה', 'צביה', 'צדף', 'צדפית', 'צדק', 'צדקה', 'צהלה', 'צוף', 'צופיה', 'צופית', 'צוקית', 'צוריה', 'צוריה', 'צורית', 'צחה', 'צחורה', 'צחית', 'ציונה', 'צילה', 'צילה', 'צילי', 'צינה', 'ציפורן', 'צלחה', - 'צליל', 'צלילה', 'צלילית', 'צמרת', 'צעירה', 'צפורה', 'צפי', 'צפיה', 'צפירה', 'צפנת', 'צפרה', 'צפרירה', 'צפרירית', 'צרויה', 'קארין', 'קארינה', 'קארן', 'קדיה', 'קדם', 'קדמה', 'קולט', 'קולית', 'קוראל', - 'קורין', 'קורל', 'קורלי', 'קורנת', 'קטורה', 'קטי', 'קטיאנה', 'קטיה', 'קטיפה', 'קטרינה', 'קידה', 'קים', 'קיסריה', 'קלודיה', 'קלי', 'קליה', 'קלילה', 'קלרה', 'קמה', 'קמי', 'קנרית', 'קסם', 'קרול', 'קרולין', - 'קרין', 'קרינה', 'קרן', 'קרן-אור', 'קרני', 'קרניאלה', 'קרנינה', 'קרנית', 'קרת', 'קשת', 'ראובנה', 'ראובת', 'ראומה', 'ראות', 'ראשונה', 'רבבה', 'רביבה', 'רביד', 'רביה', 'רבקה', 'רגבה', 'רדיד', 'רוז', - 'רוחמה', 'רויה', 'רויטל', 'רוית', 'רומי', 'רומיה', 'רומית', 'רוממה', 'רון', 'רונה', 'רונה', 'לי', 'רוני', 'רוניה', 'רונית', 'רונלי', 'רוננה', 'רות', 'רותם', 'רז', 'רזיאלה', 'רזיה', 'רזלי', 'רחל', 'רחלה', - 'ריבה', 'ריבי', 'ריטה', 'רים', 'רימון', 'רינה', 'רינת', 'רינתיה', 'ריף', 'רמה', 'רמונה', 'רמות', 'רמיה', 'רמית', 'רני', 'רנית', 'רנן', 'רננה', 'רננית', 'רעות', 'רעות', 'רעיה', 'רעננה', 'רעננית', 'רפאלה', - 'רקמה', 'רקפת', 'רתם', 'שאולה', 'שאנל', 'שאנלי', 'שבי-אל', 'שביט', 'שבלת', 'שגית', 'שדמה', 'שדמית', 'שהם', 'שובל', 'שוהם', 'שולה', 'שולמית', 'שומרה', 'שונטל', 'שונית', 'שוש', 'שושנה', 'שחף', 'שחר', - 'שחרית', 'שי', 'שיאונה', 'שיאן', 'שיבולת', 'שיטה', 'שיטל', 'שילה', 'שילי', 'שי-לי', 'שילת', 'שיר', 'שיראור', 'שיראל', 'שירה', 'שירז', 'שירטל', 'שירי', 'שירין', 'שירית', 'שירלי', 'שירן', 'שירפז', 'של-אל', - 'שלהבת', 'שלוה', 'שלווה', 'שלומית', 'שלי', 'שליו', 'שמחה', 'שמיים', 'שמרית', 'שמרת', 'שנהב', 'שני', 'שניר', 'שנית', 'שפי', 'שפירה', 'שפרה', 'שפרירה', 'שקד', 'שקמה', 'שקמונה', 'שרה', 'שרון', 'שרון', - 'שרונה', 'שרי', 'שרית', 'תאיר', 'תאנה', 'תבונה', 'תבל', 'תגיל', 'תגית', 'תדהר', 'תהילה', 'תהל', 'תו', 'תואם', 'תואר', 'תובל', 'תום', 'תומר', 'תור', 'תורה', 'תושיה', 'תות', 'תחיה', 'תימור', 'תימורה', - 'תימנע', 'תיקי', 'תירוש', 'תכלת', 'תלמלה', 'תמוז', 'תמי', 'תמימה', 'תמירה', 'תמנה', 'תמנע', 'תמר', 'תמרה', 'תנאל', 'תניה', 'תפארה', 'תפילה', 'תפרח', 'תקוה', 'תקומה', 'תרז', 'תרזה', 'תרצה', 'תרשישה', - 'תשובה', 'תשורה', - ]; + protected static $firstNameFemale = [ + 'אבוקה', + 'אביאלה', + 'אביב', + 'אביבה', + 'אביבית', + 'אביגיל', + 'אביגל', + 'אביה', + 'אביחיל', + 'אביטל', + 'אבישג', + 'אגם', + 'אדוה', + 'אדל', + 'אדלה', + 'אדמונית', + 'אדמית', + 'אדר', + 'אדרת', + 'אהבה', + 'אהובה', + 'אהרונה', + 'אודיה', + 'אודית', + 'אודליה', + 'אוולין', + 'אולגה', + 'אופיר', + 'אופירה', + 'אופל', + 'אופק', + 'אור', + 'אוראל', + 'אור-אל', + 'אורה', + 'אור-חן', + 'אורטל', + 'אורי', + 'אוריאלה', + 'אוריאן', + 'אוריאנה', + 'אוריה', + 'אוריין', + 'אור-ים', + 'אורין', + 'אורית', + 'אור-לב', + 'אורלי', + 'אורליה', + 'אורליז', + 'אורנה', + 'אורנית', + 'אורפז', + 'אושר', + 'אושרי', + 'אושרית', + 'אושרת', + 'אחינועם', + 'איב', + 'איבון', + 'איה', + 'איזבל', + 'אייר', + 'אילה', + 'אילונה', + 'איליי', + 'אילנה', + 'אילנית', + 'אילת', + 'אילת', + 'השחר', + 'אילת', + 'חן', + 'אינה', + 'אינסה', + 'אירה', + 'איריס', + 'אירית', + 'איתי', + 'אלדר', + 'אלה', + 'אלונה', + 'אליאור', + 'אליאל', + 'אליאן', + 'אליאנה', + 'אליה', + 'אלילה', + 'אל-ים', + 'אלין', + 'אלינוי', + 'אליס', + 'אליענה', + 'אלירז', + 'אלישבע', + 'אלמה', + 'אלמוג', + 'אלנה', + 'אלני', + 'אמה', + 'אמונה', + 'אמור', + 'אמי', + 'אמילי', + 'אמירה', + 'אמנדה', + 'אמת', + 'אן', + 'אנאל', + 'אנה', + 'אנט', + 'אניס', + 'אנני', + 'אנסטסיה', + 'אנפה', + 'אסנת', + 'אסתר', + 'אפק', + 'אפקה', + 'אפריל', + 'אפרת', + 'אצילה', + 'אראל', + 'אראלה', + 'ארבל', + 'ארזה', + 'ארזית', + 'אריאל', + 'אריאלה', + 'אריאן', + 'אריאנה', + 'ארין', + 'אריקה', + 'ארנה', + 'אשדה', + 'אשחר', + 'אשכר', + 'אשמרת', + 'אשרה', + 'אשרית', + 'אשרת', + 'אתל', + 'בארית', + 'בדולח', + 'בהירה', + 'בונה', + 'בינה', + 'בינת', + 'בירנית', + 'בכורה', + 'בל', + 'בלה', + 'בלהה', + 'בקי', + 'בר', + 'ברוכה', + 'ברוריה', + 'ברית', + 'ברכה', + 'ברקאית', + 'ברקנית', + 'ברקת', + 'בשורה', + 'בשמת', + 'בת', + 'בת-אור', + 'בת-אל', + 'בת-גל', + 'בת-גלים', + 'בת-חיל', + 'בת-חן', + 'בתיה', + 'בת-לי', + 'בת-לי', + 'בת-ציון', + 'בת-שבע', + 'בת-שחר', + 'בת-שיר', + 'גאולה', + 'גאולית', + 'גאות', + 'גאיה', + 'גאליה', + 'גבית', + 'גבריאלה', + 'גדעונה', + 'גוני', + 'גורה', + 'גורית', + 'גזית', + 'גיא', + 'גיה', + 'גיטל', + 'גיל', + 'גילה', + 'גילי', + 'גילית', + 'גילת', + 'גינה', + 'גינת', + 'גיתית', + 'גל', + 'גל', + 'אור', + 'גלאור', + 'גל-אור', + 'גלי', + 'גליה', + 'גלילה', + 'גליליה', + 'גלית', + 'גן', + 'גניה', + 'גנית', + 'גפן', + 'גפנה', + 'גפנית', + 'גרנית', + 'דבורה', + 'דבורית', + 'דבי', + 'דביר', + 'דברת', + 'דבש', + 'דגניה', + 'דגנית', + 'דוגית', + 'דודאית', + 'דולי', + 'דומי', + 'דונה', + 'דור', + 'דורה', + 'דורונה', + 'דוריאל', + 'דוריה', + 'דורין', + 'דורינה', + 'דורית', + 'דורלי', + 'דיאה', + 'דיאנה', + 'דיה', + 'דין', + 'דין', + 'דין', + 'דינה', + 'דינור', + 'דיצה', + 'דיתה', + 'דלית', + 'דנה', + 'דנה', + 'דניאל', + 'דניאלה', + 'דניה', + 'דנית', + 'דעת', + 'דפנה', + 'דפנית', + 'דקל', + 'דקלה', + 'דר', + 'דרורה', + 'דרורית', + 'דרורלי', + 'דריה', + 'דרלי', + 'דתיה', + 'הגר', + 'הגרה', + 'הדי', + 'הדיה', + 'הדס', + 'הדסה', + 'הדר', + 'הדרה', + 'הדרית', + 'הודי', + 'הודיה', + 'הולי', + 'הונית', + 'היא-לי', + 'היילי', + 'הילה', + 'הילי', + 'הינומה', + 'הלה', + 'הלי', + 'הלית', + 'הלל', + 'הללה', + 'הללי', + 'הלן', + 'הלנה', + 'המיה', + 'הני', + 'הניה', + 'הראל', + 'הראלה', + 'הרדוף', + 'הררית', + 'ויטה', + 'ויק', + 'ויקטוריה', + 'ורד', + 'ורדב', + 'ורדה', + 'ורדיאלה', + 'ורדינה', + 'ורדית', + 'ורוניקה', + 'זאבה', + 'זהבה', + 'זהבית', + 'זהובה', + 'זהורית', + 'זהר', + 'זהרה', + 'זהרירה', + 'זו', + 'לי', + 'זואי', + 'זוהר', + 'זוהרית', + 'זוהרת', + 'זויה', + 'זיו', + 'זיוה', + 'זיוונית', + 'זיוית', + 'זילפה', + 'זיקה', + 'זכה', + 'זכות', + 'זמירה', + 'זמר', + 'זמרה', + 'זמרית', + 'זמרת', + 'זעירה', + 'זרעית', + 'חביבה', + 'חבצלת', + 'חגית', + 'חדוה', + 'חוה', + 'חופית', + 'חושן', + 'חיבה', + 'חידה', + 'חיה', + 'חיותה', + 'חיננית', + 'חלום', + 'חלומית', + 'חלי', + 'חמדה', + 'חמדת', + 'חמוטל', + 'חן', + 'חנה', + 'חני', + 'חנית', + 'חניתה', + 'חן-לי', + 'חסיה', + 'חפצי-בה', + 'חצבה', + 'חרות', + 'טאי', + 'טארה', + 'טהורה', + 'טהר', + 'טובה', + 'טובית', + 'טוהר', + 'טופז', + 'טימור', + 'טינה', + 'טירה', + 'טירנה', + 'טל', + 'טל', + 'חן', + 'טלאור', + 'טל-אור', + 'טל-חן', + 'טלי', + 'טליה', + 'טלילה', + 'טליתה', + 'טללית', + 'טל-שחר', + 'טמירה', + 'טנא', + 'טניה', + 'יאה', + 'יאירה', + 'יגאלה', + 'ידידה', + 'יהב', + 'יהבה', + 'יהודית', + 'יהל', + 'יהלה', + 'יהלום', + 'יהלי', + 'יואלה', + 'יובל', + 'יודפת', + 'יוטבתה', + 'יוכבד', + 'יולי', + 'יוליה', + 'יונה', + 'יונינה', + 'יונית', + 'יונת', + 'יוספה', + 'יופית', + 'יחידה', + 'יטבת', + 'ילי', + 'יליאל', + 'ים', + 'ימימה', + 'ימית', + 'ינאית', + 'יסכה', + 'יסמין', + 'יעל', + 'יעלה', + 'יעלית', + 'יעלת-חן', + 'יער', + 'יערה', + 'יערית', + 'יפה', + 'יפית', + 'יפעת', + 'יקירה', + 'ירדן', + 'ירדנה', + 'ירונה', + 'ירין', + 'כדיה', + 'כדית', + 'כוכב', + 'כוכבה', + 'כוכבית', + 'כוכי', + 'כינרת', + 'כליל', + 'כלילה', + 'כלנית', + 'כמהה', + 'כנרת', + 'כספית', + 'כפיר', + 'כרם', + 'כרמה', + 'כרמי', + 'כרמיאל', + 'כרמיה', + 'כרמית', + 'כרמל', + 'כרמלה', + 'כתר', + 'לאה', + 'לב', + 'לבי', + 'לביאה', + 'לבנה', + 'לבנת', + 'לוטם', + 'לוטן', + 'לולה', + 'לולית', + 'לוריאן', + 'לורין', + 'לורן', + 'לחן', + 'לטיפה', + 'לי', + 'לי', + 'חן', + 'ליאב', + 'ליאה', + 'ליאונור', + 'ליאור', + 'ליאורה', + 'ליאל', + 'לי-אל', + 'ליאם', + 'ליאן', + 'ליאת', + 'ליבה', + 'ליבי', + 'לי-בר', + 'ליגל', + 'לידור', + 'ליה', + 'ליהי', + 'ליהי', + 'ליהיא', + 'ליז', + 'לי-זר', + 'לי-חן', + 'ליטל', + 'לי-ים', + 'לילי', + 'לילך', + 'לין', + 'לינדה', + 'לינה', + 'לינוי', + 'לינור', + 'ליפז', + 'ליר', + 'לירון', + 'לירז', + 'לירי', + 'לי-שי', + 'לנה', + 'לשם', + 'מאור', + 'מאורי', + 'מאי', + 'מאיה', + 'מאיה', + 'מאירה', + 'מארי', + 'מבורכת', + 'מדינה', + 'מהות', + 'מולדת', + 'מוניק', + 'מור', + 'מוראל', + 'מורג', + 'מוריאל', + 'מוריה', + 'מורין', + 'מורל', + 'מורן', + 'מושית', + 'מזל', + 'מטר', + 'מיא', + 'מיאל', + 'מיה', + 'מיטב', + 'מיטל', + 'מי-טל', + 'מיכאל', + 'מיכאלה', + 'מיכל', + 'מילי', + 'מילכה', + 'מילנה', + 'מימי', + 'מיקה', + 'מירב', + 'מירה', + 'מירי', + 'מירית', + 'מירן', + 'מישל', + 'מיתר', + 'מלאני', + 'מלורי', + 'מלכה', + 'מלכי', + 'מנוחה', + 'מנור', + 'מנורה', + 'מנרה', + 'מסדה', + 'מעיין', + 'מעין', + 'מענית', + 'מצדה', + 'מקסימה', + 'מרב', + 'מרגלית', + 'מרגנית', + 'מרוה', + 'מרי', + 'מריאור', + 'מריאן', + 'מריאנה', + 'משאלה', + 'משי', + 'משכית', + 'מתוקה', + 'מתנה', + 'נאדיה', + 'נאה', + 'נאהב', + 'נאוה', + 'נאוית', + 'נאוית', + 'נאור', + 'נאורה', + 'נאות', + 'נאיה', + 'נאמנה', + 'נב', + 'נבונה', + 'נגבה', + 'נגה', + 'נגוהה', + 'נגינה', + 'נדיבה', + 'נדין', + 'נדירה', + 'נהדרת', + 'נהורה', + 'נהירה', + 'נוב', + 'נוגה', + 'נוגת', + 'נוה', + 'נוהא', + 'נוהר', + 'נוי', + 'נויה', + 'נוית', + 'נועה', + 'נועם', + 'נופיה', + 'נופית', + 'נופר', + 'נור', + 'נורה', + 'נוריה', + 'נורית', + 'נחל', + 'נחמה', + 'נחת', + 'נטיעה', + 'נטלי', + 'נטליה', + 'נטע', + 'נטע-לי', + 'ניבה', + 'ניבי', + 'ניה', + 'נילי', + 'נילית', + 'ניסן', + 'ניצה', + 'ניצן', + 'ניצנה', + 'ניצנית', + 'ניקול', + 'ניקול', + 'ניראל', + 'נירה', + 'נירי', + 'נירית', + 'נסיה', + 'נסיכה', + 'נעה', + 'נעימה', + 'נעם', + 'נעמה', + 'נעמי', + 'נעמית', + 'נערה', + 'נפאל', + 'נצחונה', + 'נצחיה', + 'נקטר', + 'נרדה', + 'נרדית', + 'נרה', + 'נריה', + 'נרקיס', + 'נתיב', + 'נתיבה', + 'נתנאלה', + 'נתניה', + 'סאלי', + 'סביון', + 'סביונה', + 'סברינה', + 'סגולה', + 'סגליה', + 'סגלית', + 'סהר', + 'סוזי', + 'סוזן', + 'סול', + 'סופה', + 'סופי', + 'סופיה', + 'סחלב', + 'סי', + 'סיאל', + 'סיגל', + 'סיגלית', + 'סיוון', + 'סיון', + 'סילבי', + 'סימה', + 'סימונה', + 'סיני', + 'סינתיה', + 'סיתוונית', + 'סלין', + 'סלעית', + 'סמדר', + 'סנאית', + 'סנדי', + 'סנדרה', + 'סנונית', + 'ספיר', + 'ספירית', + 'סתו', + 'סתוונית', + 'סתיו', + 'עבדת', + 'עברונה', + 'עבריה', + 'עדה', + 'עדי', + 'עדיאלה', + 'עדיה', + 'עדילי', + 'עדין', + 'עדינה', + 'עדית', + 'עדן', + 'עדנה', + 'עובדה', + 'עודדה', + 'עוזיאלה', + 'עוזית', + 'עומר', + 'עונג', + 'עופרי', + 'עורית', + 'עטרה', + 'עטרת', + 'עיבל', + 'עידית', + 'עידן', + 'עידנית', + 'עילי', + 'עילית', + 'עינב', + 'עינה', + 'עינת', + 'עירית', + 'עלוה', + 'עלומה', + 'עליה', + 'עליזה', + 'עלית', + 'עלמה', + 'עמיה', + 'עמירה', + 'עמית', + 'עמיתה', + 'עמל', + 'עמלה', + 'עמליה', + 'עמנואלה', + 'עמר', + 'עמרית', + 'ענאל', + 'ענב', + 'ענבה', + 'ענבל', + 'ענבר', + 'ענג', + 'ענגה', + 'ענוה', + 'ענולה', + 'ענפה', + 'ענת', + 'עפרה', + 'עפרת', + 'עציונה', + 'עצמאות', + 'עצמה', + 'ערבה', + 'ערגה', + 'ערה', + 'עשירה', + 'עתידה', + 'עתליה', + 'עתלית', + 'עתרה', + 'עתרת', + 'פאולה', + 'פאני', + 'פאר', + 'פארה', + 'פאר-לי', + 'פדויה', + 'פדות', + 'פולה', + 'פולי', + 'פועה', + 'פורז', + 'פורחת', + 'פוריה', + 'פורת', + 'פז', + 'פזית', + 'פיוט', + 'פלא', + 'פלאית', + 'פלג', + 'פלד', + 'פליאה', + 'פניה', + 'פנינה', + 'פנינית', + 'פסיה', + 'פרח', + 'פרחיה', + 'פרחית', + 'פרי', + 'מור', + 'פריאור', + 'פריאל', + 'פריאלה', + 'פרילי', + 'פרימור', + 'פשוש', + 'צאלה', + 'צביאלה', + 'צביה', + 'צדף', + 'צדפית', + 'צדק', + 'צדקה', + 'צהלה', + 'צוף', + 'צופיה', + 'צופית', + 'צוקית', + 'צוריה', + 'צוריה', + 'צורית', + 'צחה', + 'צחורה', + 'צחית', + 'ציונה', + 'צילה', + 'צילה', + 'צילי', + 'צינה', + 'ציפורן', + 'צלחה', + 'צליל', + 'צלילה', + 'צלילית', + 'צמרת', + 'צעירה', + 'צפורה', + 'צפי', + 'צפיה', + 'צפירה', + 'צפנת', + 'צפרה', + 'צפרירה', + 'צפרירית', + 'צרויה', + 'קארין', + 'קארינה', + 'קארן', + 'קדיה', + 'קדם', + 'קדמה', + 'קולט', + 'קולית', + 'קוראל', + 'קורין', + 'קורל', + 'קורלי', + 'קורנת', + 'קטורה', + 'קטי', + 'קטיאנה', + 'קטיה', + 'קטיפה', + 'קטרינה', + 'קידה', + 'קים', + 'קיסריה', + 'קלודיה', + 'קלי', + 'קליה', + 'קלילה', + 'קלרה', + 'קמה', + 'קמי', + 'קנרית', + 'קסם', + 'קרול', + 'קרולין', + 'קרין', + 'קרינה', + 'קרן', + 'קרן-אור', + 'קרני', + 'קרניאלה', + 'קרנינה', + 'קרנית', + 'קרת', + 'קשת', + 'ראובנה', + 'ראובת', + 'ראומה', + 'ראות', + 'ראשונה', + 'רבבה', + 'רביבה', + 'רביד', + 'רביה', + 'רבקה', + 'רגבה', + 'רדיד', + 'רוז', + 'רוחמה', + 'רויה', + 'רויטל', + 'רוית', + 'רומי', + 'רומיה', + 'רומית', + 'רוממה', + 'רון', + 'רונה', + 'רונה', + 'לי', + 'רוני', + 'רוניה', + 'רונית', + 'רונלי', + 'רוננה', + 'רות', + 'רותם', + 'רז', + 'רזיאלה', + 'רזיה', + 'רזלי', + 'רחל', + 'רחלה', + 'ריבה', + 'ריבי', + 'ריטה', + 'רים', + 'רימון', + 'רינה', + 'רינת', + 'רינתיה', + 'ריף', + 'רמה', + 'רמונה', + 'רמות', + 'רמיה', + 'רמית', + 'רני', + 'רנית', + 'רנן', + 'רננה', + 'רננית', + 'רעות', + 'רעות', + 'רעיה', + 'רעננה', + 'רעננית', + 'רפאלה', + 'רקמה', + 'רקפת', + 'רתם', + 'שאולה', + 'שאנל', + 'שאנלי', + 'שבי-אל', + 'שביט', + 'שבלת', + 'שגית', + 'שדמה', + 'שדמית', + 'שהם', + 'שובל', + 'שוהם', + 'שולה', + 'שולמית', + 'שומרה', + 'שונטל', + 'שונית', + 'שוש', + 'שושנה', + 'שחף', + 'שחר', + 'שחרית', + 'שי', + 'שיאונה', + 'שיאן', + 'שיבולת', + 'שיטה', + 'שיטל', + 'שילה', + 'שילי', + 'שי-לי', + 'שילת', + 'שיר', + 'שיראור', + 'שיראל', + 'שירה', + 'שירז', + 'שירטל', + 'שירי', + 'שירין', + 'שירית', + 'שירלי', + 'שירן', + 'שירפז', + 'של-אל', + 'שלהבת', + 'שלוה', + 'שלווה', + 'שלומית', + 'שלי', + 'שליו', + 'שמחה', + 'שמיים', + 'שמרית', + 'שמרת', + 'שנהב', + 'שני', + 'שניר', + 'שנית', + 'שפי', + 'שפירה', + 'שפרה', + 'שפרירה', + 'שקד', + 'שקמה', + 'שקמונה', + 'שרה', + 'שרון', + 'שרון', + 'שרונה', + 'שרי', + 'שרית', + 'תאיר', + 'תאנה', + 'תבונה', + 'תבל', + 'תגיל', + 'תגית', + 'תדהר', + 'תהילה', + 'תהל', + 'תו', + 'תואם', + 'תואר', + 'תובל', + 'תום', + 'תומר', + 'תור', + 'תורה', + 'תושיה', + 'תות', + 'תחיה', + 'תימור', + 'תימורה', + 'תימנע', + 'תיקי', + 'תירוש', + 'תכלת', + 'תלמלה', + 'תמוז', + 'תמי', + 'תמימה', + 'תמירה', + 'תמנה', + 'תמנע', + 'תמר', + 'תמרה', + 'תנאל', + 'תניה', + 'תפארה', + 'תפילה', + 'תפרח', + 'תקוה', + 'תקומה', + 'תרז', + 'תרזה', + 'תרצה', + 'תרשישה', + 'תשובה', + 'תשורה', + ]; - /** - * {@link} http://toladot.blogspot.co.il/p/blog-page_28.html - */ - protected static $lastName = [ - 'אויערבך', 'אולמן', 'אונגרישר', 'אונטרמן', 'אופנהיים', 'אזולאי', 'אטינגר', 'איגר', 'איגרא', 'אידלשטיין', 'אייבשיץ', 'אייגש', 'איידלש', 'אייזנשטאט', 'אייכנשטיין', 'איסרליש', 'אלטשולר', 'אלישיב', 'אפשטיין', - 'אשכנזי', 'בידרמן', 'בינדיגר', 'ברדוגו', 'ברודא', 'ברוידא', 'ברזובסקי', 'ברלין', 'ברנדיס', 'ברנדסדורפר', 'גוראריה', 'גורדון', 'גינצבורג', 'גרודזנסקי', 'גרוזובסקי', 'גרוסברד', 'גריינמן', 'גשטטנר', 'דון', - 'יחיא', 'דושינסקי', 'דיסקין', 'דרמברדיגר', 'הוטנר', 'הורוביץ', 'הילדסהיים', 'הינדס', 'הלברשטם', 'הלפרין', 'הלר', 'העשל', 'וינברג', 'ויסבלום', 'זוננפלד', 'זק', 'טברסקי', 'טייטלבוים', 'טייכטל', 'טרויב', - 'טרופ', 'ידלר', 'יונגרייז', 'יפה', 'כץ', 'כהן', 'לוברבוים', 'לוריא', 'ליפקין', 'ליפשיץ', 'לנדא', 'מייזליש', 'מירלש', 'מירקש', 'מישקובסקי', 'מלצר', 'מרגליות', 'משאש', 'סולובייציק', 'סורוצקין', 'סירקיש', - 'סלנט', 'ספרין', 'סרנא', 'פאדווא', 'פינס', 'קאליפארי', 'קוליץ', 'קוק', 'קנייבסקי', 'קצנלבוגן', 'קרליבך', 'רבינוביץ', 'רבקש', 'רובין', 'רוטשילד', 'רוקח', 'רפופורט', 'שטראשון', 'שך', 'שמלקיש', 'שפירא', - 'תאומים', - ]; + /** + * {@link} http://toladot.blogspot.co.il/p/blog-page_28.html + */ + protected static $lastName = [ + 'אויערבך', + 'אולמן', + 'אונגרישר', + 'אונטרמן', + 'אופנהיים', + 'אזולאי', + 'אטינגר', + 'איגר', + 'איגרא', + 'אידלשטיין', + 'אייבשיץ', + 'אייגש', + 'איידלש', + 'אייזנשטאט', + 'אייכנשטיין', + 'איסרליש', + 'אלטשולר', + 'אלישיב', + 'אפשטיין', + 'אשכנזי', + 'בידרמן', + 'בינדיגר', + 'ברדוגו', + 'ברודא', + 'ברוידא', + 'ברזובסקי', + 'ברלין', + 'ברנדיס', + 'ברנדסדורפר', + 'גוראריה', + 'גורדון', + 'גינצבורג', + 'גרודזנסקי', + 'גרוזובסקי', + 'גרוסברד', + 'גריינמן', + 'גשטטנר', + 'דון', + 'יחיא', + 'דושינסקי', + 'דיסקין', + 'דרמברדיגר', + 'הוטנר', + 'הורוביץ', + 'הילדסהיים', + 'הינדס', + 'הלברשטם', + 'הלפרין', + 'הלר', + 'העשל', + 'וינברג', + 'ויסבלום', + 'זוננפלד', + 'זק', + 'טברסקי', + 'טייטלבוים', + 'טייכטל', + 'טרויב', + 'טרופ', + 'ידלר', + 'יונגרייז', + 'יפה', + 'כץ', + 'כהן', + 'לוברבוים', + 'לוריא', + 'ליפקין', + 'ליפשיץ', + 'לנדא', + 'מייזליש', + 'מירלש', + 'מירקש', + 'מישקובסקי', + 'מלצר', + 'מרגליות', + 'משאש', + 'סולובייציק', + 'סורוצקין', + 'סירקיש', + 'סלנט', + 'ספרין', + 'סרנא', + 'פאדווא', + 'פינס', + 'קאליפארי', + 'קוליץ', + 'קוק', + 'קנייבסקי', + 'קצנלבוגן', + 'קרליבך', + 'רבינוביץ', + 'רבקש', + 'רובין', + 'רוטשילד', + 'רוקח', + 'רפופורט', + 'שטראשון', + 'שך', + 'שמלקיש', + 'שפירא', + 'תאומים', + ]; - protected static $titleMale = ['מר.', 'ד"ר', 'פרופ']; + protected static $titleMale = [ 'מר.', 'ד"ר', 'פרופ' ]; - protected static $titleFemale = ['גב.', 'ד"ר', 'פרופ']; + protected static $titleFemale = [ 'גב.', 'ד"ר', 'פרופ' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/he_IL/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/he_IL/PhoneNumber.php index 0c50904..e3097fe 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/he_IL/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/he_IL/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\he_IL; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '05#-#######', - '0#-#######', - '972-5#-#######', - '972-#-########', - '0#########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '05#-#######', + '0#-#######', + '972-5#-#######', + '972-#-########', + '0#########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Address.php index 457e56a..d50dbf8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Address.php @@ -2,67 +2,482 @@ namespace Faker\Provider\hr_HR; -class Address extends \Faker\Provider\Address -{ - /** - * @see https://hr.wikipedia.org/wiki/Dodatak:Popis_ulica_u_Baranji - */ - protected static $streets = [ - 'Baranjska ulica', 'Batina jug', 'Beljska ulica', 'Biljski sokak', 'Blatna ulica', 'Bračka ulica', 'Crkvena ulica', 'Daljok', 'Dravska ulica', 'Draž-planina', 'Dubrovačka ulica', 'Dunavska ulica', 'Glavna ulica', 'Grobljanska ulica', 'Jorgovanska ulica', 'Karanačka', 'Kenđija', 'Kod plota', 'Kolodvorska ulica', 'Komarčev prolaz', 'Konkološ', 'Kruševačka ulica', 'Lugarnica Šarkanj', 'Mirna ulica', 'Nova ulica', 'Osječka ulica', 'Partizanska ulica', 'Planina istok', 'Planina jug', 'Planina zapad', 'Planina', 'Planinska ulica', 'Popovačka ulica', 'Primoštenska ulica', 'Radnička ulica', 'Ribarska ulica', 'Ritska ulica', 'Salaši', 'Savska ulica', 'Slavonska ulica', 'Srednja ulica', 'Staklena ulica', 'Sunčana ulica', 'Trg Josipa bana Jelačića', 'Trg Slobode', 'Trg Stipe Đurina', 'Trg hrvatske mladeži', 'Ulica 1. svibnja', 'Ulica 30. svibnja', 'Ulica Adolfa Waldingera', 'Ulica Alojzija Stepinca', 'Ulica Ankice Dobrokes', 'Ulica Ante Kovačića', 'Ulica Ante Starčevića', 'Ulica Antuna Augustinčića', 'Ulica Antuna Gustava Matoša', 'Ulica Aranji Janoša', 'Ulica Augusta Cesarca', 'Ulica Augusta Šenoe', 'Ulica Bartoka Bele', 'Ulica Biljske satnije ZNH RH', 'Ulica Borisa Kidriča', 'Ulica Branka Gavelle', 'Ulica Branka Radičevića', 'Ulica Dore Pejačević', 'Ulica Dositeja Obradovića', 'Ulica Doža Đerđa', 'Ulica Dragutina Tadijanovića', 'Ulica Eugena Kvaternika', 'Ulica Eugena Savojskog', 'Ulica Frana Krste Frankopana', 'Ulica Franca Liszta', 'Ulica Franje Račkoga', 'Ulica Gustava Krkleca', 'Ulica Hrvatske vojske', 'Ulica Imre Nagya', 'Ulica Ivana Gorana Kovačića', 'Ulica Ivana Gundulića', 'Ulica Ivana Kozarca', 'Ulica Ivana Mažuranića', 'Ulica Ivana Meštrovića', 'Ulica Ivana Milutinovića', 'Ulica Ivane Brlić-Mažuranić', 'Ulica Ive Grgića', 'Ulica Ive Lole Ribara', 'Ulica Ive Petrušića', 'Ulica Izidora Kršnjavoga', 'Ulica Ištvana Vencela', 'Ulica Janka Draškovića', 'Ulica Janusa Pannoniusa', 'Ulica Jerka Zlatarića', 'Ulica Jokai Mora', 'Ulica Josipa Bösendorfera', 'Ulica Josipa Jurja Strossmayera', 'Ulica Josipa Kozarca', 'Ulica Josipa Kraša', 'Ulica Josipa Pančića', 'Ulica Josipa Runjanina', 'Ulica Jovana Jovanovića Zmaja', 'Ulica Jovana Lazića', 'Ulica Jozsefa Antala', 'Ulica Julija Benešića', 'Ulica Julija Klovića', 'Ulica Košut Lajoša', 'Ulica Lajoša Košuta', 'Ulica Lavoslava Ružičke', 'Ulica Ljudevita Gaja', 'Ulica Ljudevita Posavskog', 'Ulica Marije Jurić Zagorke', 'Ulica Marina Držića', 'Ulica Marka Marulića', 'Ulica Marka Oreškovića', 'Ulica Matije Antuna Relkovića', 'Ulica Matije Gupca', 'Ulica Matije Petra Katančića', 'Ulica Matka Peića', 'Ulica Mije Zlatarića', 'Ulica Miladina Popovića', 'Ulica Miroslava Krleže', 'Ulica Nikole Tesle', 'Ulica Obrada Ribića', 'Ulica Petefi Šandora', 'Ulica Petra Berislavića', 'Ulica Petra Dobrovića', 'Ulica Petra Drapšina', 'Ulica Petra Petrovića Njegoša', 'Ulica Petra Preradovića', 'Ulica Petra Zrinskog', 'Ulica Republike', 'Ulica Ruđera Boškovića', 'Ulica Sare Bertić', 'Ulica Silvija Strahimira Kranjčevića', 'Ulica Stipe Matovića', 'Ulica Stjepana Brodarića', 'Ulica Stjepana Radića', 'Ulica Stjepana Stjepanova', 'Ulica Svetozara Miletića', 'Ulica Tina Ujevića', 'Ulica Toldi Ferenca', 'Ulica Vasilja Gaćeše', 'Ulica Vatroslava Lisinskog', 'Ulica Vladana Desnice', 'Ulica Vladimira Filakovca', 'Ulica Vladimira Nazora', 'Ulica Vladimira Preloga', 'Ulica Vladka Mačeka', 'Ulica Vojina Bakića', 'Ulica Vuka Stefanovića Karadžića', 'Ulica Zvonka Brkića', 'Ulica bana Jelačića', 'Ulica bijelog lopoča', 'Ulica braće Radić', 'Ulica crne rode', 'Ulica domovinske zahvalnosti', 'Ulica dr Franje Tuđmana', 'Ulica dr. Ante Starčevića', 'Ulica dr. Franje Tuđmana', 'Ulica dr. Kamila Firingera', 'Ulica hrvatskih branitelja', 'Ulica kardinala Franje Šefera', 'Ulica kneza Branimira', 'Ulica kneza Domagoja', 'Ulica kneza Trpimira', 'Ulica kralja Krešimira', 'Ulica kralja Petra Krešimira IV', 'Ulica kralja Tomislava', 'Ulica kralja Zvonimira', 'Ulica republike', 'Ulica svetog Ivana Nepomuka', 'Ulica svetog Martina', 'Ulica svetog križa', 'Ulica Đure Đakovića', 'Ulica Šandora Petefija', 'Ulica Šovakova', 'Ulica športova', 'Ulica Žarka Zrenjanina', 'Ulica Žikice Jovanovića Španca', 'Ulica žrtava domovinskog rata', 'Vatrogasna ulica', 'Velebitska ulica', 'Vijenac Nikole Tesle', 'Vinogradska ulica', 'Virska ulica', 'Vukovarska ulica', 'Zagrebačka ulica', 'Šećeranska ulica', 'Školska ulica', - ]; +class Address extends \Faker\Provider\Address { + /** + * @see https://hr.wikipedia.org/wiki/Dodatak:Popis_ulica_u_Baranji + */ + protected static $streets = [ + 'Baranjska ulica', + 'Batina jug', + 'Beljska ulica', + 'Biljski sokak', + 'Blatna ulica', + 'Bračka ulica', + 'Crkvena ulica', + 'Daljok', + 'Dravska ulica', + 'Draž-planina', + 'Dubrovačka ulica', + 'Dunavska ulica', + 'Glavna ulica', + 'Grobljanska ulica', + 'Jorgovanska ulica', + 'Karanačka', + 'Kenđija', + 'Kod plota', + 'Kolodvorska ulica', + 'Komarčev prolaz', + 'Konkološ', + 'Kruševačka ulica', + 'Lugarnica Šarkanj', + 'Mirna ulica', + 'Nova ulica', + 'Osječka ulica', + 'Partizanska ulica', + 'Planina istok', + 'Planina jug', + 'Planina zapad', + 'Planina', + 'Planinska ulica', + 'Popovačka ulica', + 'Primoštenska ulica', + 'Radnička ulica', + 'Ribarska ulica', + 'Ritska ulica', + 'Salaši', + 'Savska ulica', + 'Slavonska ulica', + 'Srednja ulica', + 'Staklena ulica', + 'Sunčana ulica', + 'Trg Josipa bana Jelačića', + 'Trg Slobode', + 'Trg Stipe Đurina', + 'Trg hrvatske mladeži', + 'Ulica 1. svibnja', + 'Ulica 30. svibnja', + 'Ulica Adolfa Waldingera', + 'Ulica Alojzija Stepinca', + 'Ulica Ankice Dobrokes', + 'Ulica Ante Kovačića', + 'Ulica Ante Starčevića', + 'Ulica Antuna Augustinčića', + 'Ulica Antuna Gustava Matoša', + 'Ulica Aranji Janoša', + 'Ulica Augusta Cesarca', + 'Ulica Augusta Šenoe', + 'Ulica Bartoka Bele', + 'Ulica Biljske satnije ZNH RH', + 'Ulica Borisa Kidriča', + 'Ulica Branka Gavelle', + 'Ulica Branka Radičevića', + 'Ulica Dore Pejačević', + 'Ulica Dositeja Obradovića', + 'Ulica Doža Đerđa', + 'Ulica Dragutina Tadijanovića', + 'Ulica Eugena Kvaternika', + 'Ulica Eugena Savojskog', + 'Ulica Frana Krste Frankopana', + 'Ulica Franca Liszta', + 'Ulica Franje Račkoga', + 'Ulica Gustava Krkleca', + 'Ulica Hrvatske vojske', + 'Ulica Imre Nagya', + 'Ulica Ivana Gorana Kovačića', + 'Ulica Ivana Gundulića', + 'Ulica Ivana Kozarca', + 'Ulica Ivana Mažuranića', + 'Ulica Ivana Meštrovića', + 'Ulica Ivana Milutinovića', + 'Ulica Ivane Brlić-Mažuranić', + 'Ulica Ive Grgića', + 'Ulica Ive Lole Ribara', + 'Ulica Ive Petrušića', + 'Ulica Izidora Kršnjavoga', + 'Ulica Ištvana Vencela', + 'Ulica Janka Draškovića', + 'Ulica Janusa Pannoniusa', + 'Ulica Jerka Zlatarića', + 'Ulica Jokai Mora', + 'Ulica Josipa Bösendorfera', + 'Ulica Josipa Jurja Strossmayera', + 'Ulica Josipa Kozarca', + 'Ulica Josipa Kraša', + 'Ulica Josipa Pančića', + 'Ulica Josipa Runjanina', + 'Ulica Jovana Jovanovića Zmaja', + 'Ulica Jovana Lazića', + 'Ulica Jozsefa Antala', + 'Ulica Julija Benešića', + 'Ulica Julija Klovića', + 'Ulica Košut Lajoša', + 'Ulica Lajoša Košuta', + 'Ulica Lavoslava Ružičke', + 'Ulica Ljudevita Gaja', + 'Ulica Ljudevita Posavskog', + 'Ulica Marije Jurić Zagorke', + 'Ulica Marina Držića', + 'Ulica Marka Marulića', + 'Ulica Marka Oreškovića', + 'Ulica Matije Antuna Relkovića', + 'Ulica Matije Gupca', + 'Ulica Matije Petra Katančića', + 'Ulica Matka Peića', + 'Ulica Mije Zlatarića', + 'Ulica Miladina Popovića', + 'Ulica Miroslava Krleže', + 'Ulica Nikole Tesle', + 'Ulica Obrada Ribića', + 'Ulica Petefi Šandora', + 'Ulica Petra Berislavića', + 'Ulica Petra Dobrovića', + 'Ulica Petra Drapšina', + 'Ulica Petra Petrovića Njegoša', + 'Ulica Petra Preradovića', + 'Ulica Petra Zrinskog', + 'Ulica Republike', + 'Ulica Ruđera Boškovića', + 'Ulica Sare Bertić', + 'Ulica Silvija Strahimira Kranjčevića', + 'Ulica Stipe Matovića', + 'Ulica Stjepana Brodarića', + 'Ulica Stjepana Radića', + 'Ulica Stjepana Stjepanova', + 'Ulica Svetozara Miletića', + 'Ulica Tina Ujevića', + 'Ulica Toldi Ferenca', + 'Ulica Vasilja Gaćeše', + 'Ulica Vatroslava Lisinskog', + 'Ulica Vladana Desnice', + 'Ulica Vladimira Filakovca', + 'Ulica Vladimira Nazora', + 'Ulica Vladimira Preloga', + 'Ulica Vladka Mačeka', + 'Ulica Vojina Bakića', + 'Ulica Vuka Stefanovića Karadžića', + 'Ulica Zvonka Brkića', + 'Ulica bana Jelačića', + 'Ulica bijelog lopoča', + 'Ulica braće Radić', + 'Ulica crne rode', + 'Ulica domovinske zahvalnosti', + 'Ulica dr Franje Tuđmana', + 'Ulica dr. Ante Starčevića', + 'Ulica dr. Franje Tuđmana', + 'Ulica dr. Kamila Firingera', + 'Ulica hrvatskih branitelja', + 'Ulica kardinala Franje Šefera', + 'Ulica kneza Branimira', + 'Ulica kneza Domagoja', + 'Ulica kneza Trpimira', + 'Ulica kralja Krešimira', + 'Ulica kralja Petra Krešimira IV', + 'Ulica kralja Tomislava', + 'Ulica kralja Zvonimira', + 'Ulica republike', + 'Ulica svetog Ivana Nepomuka', + 'Ulica svetog Martina', + 'Ulica svetog križa', + 'Ulica Đure Đakovića', + 'Ulica Šandora Petefija', + 'Ulica Šovakova', + 'Ulica športova', + 'Ulica Žarka Zrenjanina', + 'Ulica Žikice Jovanovića Španca', + 'Ulica žrtava domovinskog rata', + 'Vatrogasna ulica', + 'Velebitska ulica', + 'Vijenac Nikole Tesle', + 'Vinogradska ulica', + 'Virska ulica', + 'Vukovarska ulica', + 'Zagrebačka ulica', + 'Šećeranska ulica', + 'Školska ulica', + ]; - protected static $streetNameFormats = [ - '{{street}}', - ]; + protected static $streetNameFormats = [ + '{{street}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{postcode}} {{city}}', - ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{postcode}} {{city}}', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - protected static $postcode = ['#####']; + protected static $postcode = [ '#####' ]; - /** - * @see https://hr.wikipedia.org/wiki/Dodatak:Popis_gradova_u_Hrvatskoj - */ - protected static $cityNames = [ - 'Bakar', 'Beli Manastir', 'Belišće', 'Benkovac', 'Biograd na Moru', 'Bjelovar', 'Buje', 'Buzet', 'Cres', 'Crikvenica', 'Daruvar', 'Delnice', 'Dodatak:Imena europskih gradova na različitim jezicima', 'Donja Stubica', 'Donji Miholjac', 'Drniš', 'Dubrovnik', 'Duga Resa', 'Dugo Selo', 'Garešnica', 'Glina', 'Gospić', 'Grubišno Polje', 'Hrvatska Kostajnica', 'Hvar', 'Ilok', 'Imotski', 'Ivanec', 'Ivanić-Grad', 'Jastrebarsko', 'Karlovac', 'Kastav', 'Kaštela', 'Klanjec', 'Knin', 'Komiža', 'Koprivnica', 'Korčula', 'Kraljevica', 'Krapina', 'Križevci', 'Krk', 'Kutina', 'Kutjevo', 'Labin', 'Lepoglava', 'Lipik', 'Ludbreg', 'Makarska', 'Mali Lošinj', 'Metković', 'Mursko Središće', 'Našice', 'Nin', 'Nova Gradiška', 'Novalja', 'Novi Marof', 'Novi Vinodolski', 'Novigrad', 'Novska', 'Obrovac', 'Ogulin', 'Omiš', 'Opatija', 'Opuzen', 'Orahovica', 'Oroslavje', 'Osijek', 'Otok', 'Otočac', 'Ozalj', 'Pag', 'Pakrac', 'Pazin', 'Petrinja', 'Pleternica', 'Ploče', 'Popovača', 'Poreč', 'Požega', 'Pregrada', 'Prelog', 'Pula', 'Rab', 'Rijeka', 'Rovinj', 'Samobor', 'Senj', 'Sinj', 'Sisak', 'Skradin', 'Slatina', 'Slavonski Brod', 'Slunj', 'Solin', 'Split', 'Stari Grad', 'Supetar', 'Sveta Nedelja', 'Sveti Ivan Zelina', 'Trilj', 'Trogir', 'Umag', 'Valpovo', 'Varaždin', 'Varaždinske Toplice', 'Velika Gorica', 'Vinkovci', 'Virovitica', 'Vis', 'Vodice', 'Vodnjan', 'Vrbovec', 'Vrbovsko', 'Vrgorac', 'Vrlika', 'Vukovar', 'Zabok', 'Zadar', 'Zagreb', 'Zaprešić', 'Zlatar', 'Čabar', 'Čakovec', 'Čazma', 'Đakovo', 'Đurđevac', 'Šibenik', 'Županja', - ]; + /** + * @see https://hr.wikipedia.org/wiki/Dodatak:Popis_gradova_u_Hrvatskoj + */ + protected static $cityNames = [ + 'Bakar', + 'Beli Manastir', + 'Belišće', + 'Benkovac', + 'Biograd na Moru', + 'Bjelovar', + 'Buje', + 'Buzet', + 'Cres', + 'Crikvenica', + 'Daruvar', + 'Delnice', + 'Dodatak:Imena europskih gradova na različitim jezicima', + 'Donja Stubica', + 'Donji Miholjac', + 'Drniš', + 'Dubrovnik', + 'Duga Resa', + 'Dugo Selo', + 'Garešnica', + 'Glina', + 'Gospić', + 'Grubišno Polje', + 'Hrvatska Kostajnica', + 'Hvar', + 'Ilok', + 'Imotski', + 'Ivanec', + 'Ivanić-Grad', + 'Jastrebarsko', + 'Karlovac', + 'Kastav', + 'Kaštela', + 'Klanjec', + 'Knin', + 'Komiža', + 'Koprivnica', + 'Korčula', + 'Kraljevica', + 'Krapina', + 'Križevci', + 'Krk', + 'Kutina', + 'Kutjevo', + 'Labin', + 'Lepoglava', + 'Lipik', + 'Ludbreg', + 'Makarska', + 'Mali Lošinj', + 'Metković', + 'Mursko Središće', + 'Našice', + 'Nin', + 'Nova Gradiška', + 'Novalja', + 'Novi Marof', + 'Novi Vinodolski', + 'Novigrad', + 'Novska', + 'Obrovac', + 'Ogulin', + 'Omiš', + 'Opatija', + 'Opuzen', + 'Orahovica', + 'Oroslavje', + 'Osijek', + 'Otok', + 'Otočac', + 'Ozalj', + 'Pag', + 'Pakrac', + 'Pazin', + 'Petrinja', + 'Pleternica', + 'Ploče', + 'Popovača', + 'Poreč', + 'Požega', + 'Pregrada', + 'Prelog', + 'Pula', + 'Rab', + 'Rijeka', + 'Rovinj', + 'Samobor', + 'Senj', + 'Sinj', + 'Sisak', + 'Skradin', + 'Slatina', + 'Slavonski Brod', + 'Slunj', + 'Solin', + 'Split', + 'Stari Grad', + 'Supetar', + 'Sveta Nedelja', + 'Sveti Ivan Zelina', + 'Trilj', + 'Trogir', + 'Umag', + 'Valpovo', + 'Varaždin', + 'Varaždinske Toplice', + 'Velika Gorica', + 'Vinkovci', + 'Virovitica', + 'Vis', + 'Vodice', + 'Vodnjan', + 'Vrbovec', + 'Vrbovsko', + 'Vrgorac', + 'Vrlika', + 'Vukovar', + 'Zabok', + 'Zadar', + 'Zagreb', + 'Zaprešić', + 'Zlatar', + 'Čabar', + 'Čakovec', + 'Čazma', + 'Đakovo', + 'Đurđevac', + 'Šibenik', + 'Županja', + ]; - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php - */ - protected static $country = [ - 'Andora', 'Ujedinjeni Arapski Emirati', 'Afganistan', 'Albanija', 'Armenija', 'Nizozemski Antili', 'Angola', - 'Antarktika', 'Argentina', 'Američka Samoa', 'Austrija', 'Australija', 'Azerbejdžan', 'Bosna i Hercegovina', - 'Barbados', 'Bangladeš', 'Belgija', 'Burkina Faso', 'Bugarska', 'Bahrein', 'Burundi', 'Benin', 'Bolivija', - 'Brazil', 'Bjelorusija', 'Belize', 'Kanada', 'Švicarska', 'Obala Bjelokosti', 'Čile', 'Kamerun', 'Kina', - 'Kolumbija', 'Kostarika', 'Srbija', 'Crna Gora', 'Kuba', 'Cipar', 'Češka', 'Njemačka', 'Danska', - 'Dominikanska Republika', 'Alžir', 'Ekvador', 'Estonija', 'Egipat', 'Španjolska', 'Etiopija', 'Finska', - 'Farski Otoci', 'Francuska', 'Ujedinjeno Kraljevstvo', 'Gruzija', 'Gana', 'Gibraltar', 'Gambija', 'Grčka', - 'Gvatemala', 'Honduras', 'Hrvatska', 'Mađarska', 'Indonezija', 'Irska', 'Izrael', 'Irak', 'Iran', 'Island', - 'Italija', 'Jamajka', 'Jordan', 'Japan', 'Sjeverna Koreja', 'Južna Koreja', 'Kuvajt', 'Kazahstan', - 'Lihtenštajn', 'Šri Lanka', 'Luksemburg', 'Libija', 'Maroko', 'Moldavija', 'Makedonija', 'Mali', 'Malta', - 'Meksiko', 'Malezija', 'Mozambik', 'Namibija', 'Nigerija', 'Nikaragva', 'Nizozemska', 'Norveška', 'Nepal', - 'Novi Zeland', 'Oman', 'Panama', 'Peru', 'Pakistan', 'Poljska', 'Portugal', 'Paragvaj', 'Katar', 'Rumunjska', - 'Rusija', 'Saudijska Arabija', 'Švedska', 'Singapur', 'Slovenija', 'Slovačka', 'San Marino', 'Senegal', - 'Tajland', 'Turska', 'Trinidad i Tobago', 'Ukrajina', 'Sjedinjene Američke Države', 'Urugvaj', 'Uzbekistan', - ]; + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php + */ + protected static $country = [ + 'Andora', + 'Ujedinjeni Arapski Emirati', + 'Afganistan', + 'Albanija', + 'Armenija', + 'Nizozemski Antili', + 'Angola', + 'Antarktika', + 'Argentina', + 'Američka Samoa', + 'Austrija', + 'Australija', + 'Azerbejdžan', + 'Bosna i Hercegovina', + 'Barbados', + 'Bangladeš', + 'Belgija', + 'Burkina Faso', + 'Bugarska', + 'Bahrein', + 'Burundi', + 'Benin', + 'Bolivija', + 'Brazil', + 'Bjelorusija', + 'Belize', + 'Kanada', + 'Švicarska', + 'Obala Bjelokosti', + 'Čile', + 'Kamerun', + 'Kina', + 'Kolumbija', + 'Kostarika', + 'Srbija', + 'Crna Gora', + 'Kuba', + 'Cipar', + 'Češka', + 'Njemačka', + 'Danska', + 'Dominikanska Republika', + 'Alžir', + 'Ekvador', + 'Estonija', + 'Egipat', + 'Španjolska', + 'Etiopija', + 'Finska', + 'Farski Otoci', + 'Francuska', + 'Ujedinjeno Kraljevstvo', + 'Gruzija', + 'Gana', + 'Gibraltar', + 'Gambija', + 'Grčka', + 'Gvatemala', + 'Honduras', + 'Hrvatska', + 'Mađarska', + 'Indonezija', + 'Irska', + 'Izrael', + 'Irak', + 'Iran', + 'Island', + 'Italija', + 'Jamajka', + 'Jordan', + 'Japan', + 'Sjeverna Koreja', + 'Južna Koreja', + 'Kuvajt', + 'Kazahstan', + 'Lihtenštajn', + 'Šri Lanka', + 'Luksemburg', + 'Libija', + 'Maroko', + 'Moldavija', + 'Makedonija', + 'Mali', + 'Malta', + 'Meksiko', + 'Malezija', + 'Mozambik', + 'Namibija', + 'Nigerija', + 'Nikaragva', + 'Nizozemska', + 'Norveška', + 'Nepal', + 'Novi Zeland', + 'Oman', + 'Panama', + 'Peru', + 'Pakistan', + 'Poljska', + 'Portugal', + 'Paragvaj', + 'Katar', + 'Rumunjska', + 'Rusija', + 'Saudijska Arabija', + 'Švedska', + 'Singapur', + 'Slovenija', + 'Slovačka', + 'San Marino', + 'Senegal', + 'Tajland', + 'Turska', + 'Trinidad i Tobago', + 'Ukrajina', + 'Sjedinjene Američke Države', + 'Urugvaj', + 'Uzbekistan', + ]; - public static function street() - { - return static::randomElement(static::$streets); - } + public static function street() { + return static::randomElement( static::$streets ); + } - public function cityName() - { - return static::randomElement(static::$cityNames); - } + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Company.php index 2a6a2f7..a6692c2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Company.php @@ -2,24 +2,34 @@ namespace Faker\Provider\hr_HR; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - '{{companyPrefix}} {{firstName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + '{{companyPrefix}} {{firstName}}', + ]; - protected static $companySuffix = [ - 'd.o.o.', 'j.d.o.o.', 'Security', - ]; + protected static $companySuffix = [ + 'd.o.o.', + 'j.d.o.o.', + 'Security', + ]; - protected static $companyPrefix = [ - 'Autoškola', 'Cvjećarnica', 'Informatički obrt', 'Kamenorezački obrt', 'Kladionice', 'Market', 'Mesnica', 'Prijevoznički obrt', 'Suvenirnica', 'Turistička agencija', 'Voćarna', - ]; + protected static $companyPrefix = [ + 'Autoškola', + 'Cvjećarnica', + 'Informatički obrt', + 'Kamenorezački obrt', + 'Kladionice', + 'Market', + 'Mesnica', + 'Prijevoznički obrt', + 'Suvenirnica', + 'Turistička agencija', + 'Voćarna', + ]; - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Payment.php index 44684ae..ea6b160 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\hr_HR; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'HR', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'HR', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Person.php index 1cc372b..9d43615 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/Person.php @@ -2,26 +2,261 @@ namespace Faker\Provider\hr_HR; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://www.behindthename.com/top/lists/croatia/2009 - */ - protected static $firstNameMale = [ - 'Adam', 'Adrian', 'Aleksandar', 'Alen', 'Andrej', 'Andrija', 'Ante', 'Antonio', 'Antun', 'Bartol', 'Benjamin', 'Borna', 'Branislav', 'Bruno', 'Damjan', 'Daniel', 'Danijel', 'Dario', 'David', 'Denis', 'Dino', 'Domagoj', 'Dominik', 'Dorian', 'Dorijan', 'Duje', 'Emanuel', 'Emil', 'Filip', 'Fran', 'Frane', 'Franjo', 'Franko', 'Gabriel', 'Gabrijel', 'Hrvoje', 'Ilija', 'Ivan', 'Ivano', 'Ivor', 'Jakov', 'Josip', 'Juraj', 'Jure', 'Jurica', 'Karlo', 'Kristijan', 'Leo', 'Leon', 'Leonardo', 'Lovre', 'Lovro', 'Luka', 'Lukas', 'Marijan', 'Marin', 'Marino', 'Mario', 'Marko', 'Martin', 'Mate', 'Matej', 'Mateo', 'Matija', 'Matko', 'Mihael', 'Mislav', 'Niko', 'Nikola', 'Nino', 'Noa', 'Patrik', 'Petar', 'Rafael', 'Robert', 'Roko', 'Sebastijan', 'Stipe', 'Stjepan', 'Sven', 'Teo', 'Tin', 'Toma', 'Tomislav', 'Toni', 'Valentino', 'Vanja', 'Vedran', 'Vice', 'Vid', 'Viktor', 'Zvonimir', 'Šime', 'Šimun', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://www.behindthename.com/top/lists/croatia/2009 + */ + protected static $firstNameMale = [ + 'Adam', + 'Adrian', + 'Aleksandar', + 'Alen', + 'Andrej', + 'Andrija', + 'Ante', + 'Antonio', + 'Antun', + 'Bartol', + 'Benjamin', + 'Borna', + 'Branislav', + 'Bruno', + 'Damjan', + 'Daniel', + 'Danijel', + 'Dario', + 'David', + 'Denis', + 'Dino', + 'Domagoj', + 'Dominik', + 'Dorian', + 'Dorijan', + 'Duje', + 'Emanuel', + 'Emil', + 'Filip', + 'Fran', + 'Frane', + 'Franjo', + 'Franko', + 'Gabriel', + 'Gabrijel', + 'Hrvoje', + 'Ilija', + 'Ivan', + 'Ivano', + 'Ivor', + 'Jakov', + 'Josip', + 'Juraj', + 'Jure', + 'Jurica', + 'Karlo', + 'Kristijan', + 'Leo', + 'Leon', + 'Leonardo', + 'Lovre', + 'Lovro', + 'Luka', + 'Lukas', + 'Marijan', + 'Marin', + 'Marino', + 'Mario', + 'Marko', + 'Martin', + 'Mate', + 'Matej', + 'Mateo', + 'Matija', + 'Matko', + 'Mihael', + 'Mislav', + 'Niko', + 'Nikola', + 'Nino', + 'Noa', + 'Patrik', + 'Petar', + 'Rafael', + 'Robert', + 'Roko', + 'Sebastijan', + 'Stipe', + 'Stjepan', + 'Sven', + 'Teo', + 'Tin', + 'Toma', + 'Tomislav', + 'Toni', + 'Valentino', + 'Vanja', + 'Vedran', + 'Vice', + 'Vid', + 'Viktor', + 'Zvonimir', + 'Šime', + 'Šimun', + ]; - /** - * @see http://www.behindthename.com/top/lists/croatia/2009 - */ - protected static $firstNameFemale = [ - 'Ana', 'Anamarija', 'Andrea', 'Anja', 'Antonela', 'Antonija', 'Anđela', 'Barbara', 'Dora', 'Dorotea', 'Dunja', 'Ela', 'Elena', 'Ella', 'Ema', 'Ena', 'Eva', 'Franka', 'Gabrijela', 'Hana', 'Helena', 'Ines', 'Iris', 'Ivana', 'Ivona', 'Jelena', 'Josipa', 'Karla', 'Katarina', 'Katja', 'Klara', 'Korina', 'Kristina', 'Lana', 'Lara', 'Laura', 'Lea', 'Lena', 'Leona', 'Lora', 'Lorena', 'Lucija', 'Magdalena', 'Maja', 'Manuela', 'Mara', 'Marija', 'Marina', 'Marta', 'Martina', 'Matea', 'Maša', 'Melani', 'Melanie', 'Mia', 'Mihaela', 'Mila', 'Monika', 'Nela', 'Nika', 'Nikolina', 'Nina', 'Nora', 'Paola', 'Patricia', 'Paula', 'Petra', 'Sara', 'Stela', 'Stella', 'Tamara', 'Tara', 'Tea', 'Tena', 'Tia', 'Tina', 'Valentina', 'Vanesa', 'Vanessa', 'Veronika', 'Viktorija', - ]; + /** + * @see http://www.behindthename.com/top/lists/croatia/2009 + */ + protected static $firstNameFemale = [ + 'Ana', + 'Anamarija', + 'Andrea', + 'Anja', + 'Antonela', + 'Antonija', + 'Anđela', + 'Barbara', + 'Dora', + 'Dorotea', + 'Dunja', + 'Ela', + 'Elena', + 'Ella', + 'Ema', + 'Ena', + 'Eva', + 'Franka', + 'Gabrijela', + 'Hana', + 'Helena', + 'Ines', + 'Iris', + 'Ivana', + 'Ivona', + 'Jelena', + 'Josipa', + 'Karla', + 'Katarina', + 'Katja', + 'Klara', + 'Korina', + 'Kristina', + 'Lana', + 'Lara', + 'Laura', + 'Lea', + 'Lena', + 'Leona', + 'Lora', + 'Lorena', + 'Lucija', + 'Magdalena', + 'Maja', + 'Manuela', + 'Mara', + 'Marija', + 'Marina', + 'Marta', + 'Martina', + 'Matea', + 'Maša', + 'Melani', + 'Melanie', + 'Mia', + 'Mihaela', + 'Mila', + 'Monika', + 'Nela', + 'Nika', + 'Nikolina', + 'Nina', + 'Nora', + 'Paola', + 'Patricia', + 'Paula', + 'Petra', + 'Sara', + 'Stela', + 'Stella', + 'Tamara', + 'Tara', + 'Tea', + 'Tena', + 'Tia', + 'Tina', + 'Valentina', + 'Vanesa', + 'Vanessa', + 'Veronika', + 'Viktorija', + ]; - /** - * @see http://surnames.behindthename.com/names/usage/croatian - */ - protected static $lastName = [ - 'Abramović', 'Adamić', 'Antić', 'Babić', 'Blažević', 'Bogdanić', 'Bogdanović', 'Božić', 'Brož', 'Dragić', 'Dragović', 'Filipović', 'Franić', 'Franjić', 'Grgić', 'Horvat', 'Horvatinčić', 'Ivanović', 'Janković', 'Jurić', 'Juriša', 'Kasun', 'Knežević', 'Kovač', 'Kovačević', 'Kovačić', 'Košar', 'Kranjčar', 'Lovren', 'Mandžukić', 'Maras', 'Marić', 'Marković', 'Marušić', 'Matić', 'Milić', 'Mlakar', 'Modrić', 'Neretljak', 'Nikolić', 'Novak', 'Novaković', 'Pavić', 'Pavletić', 'Perić', 'Perković', 'Petrović', 'Radić', 'Raić-Sudar', 'Ratković', 'Srna', 'Stanković', 'Tomić', 'Tomčić', 'Vincetić', 'Vinković', 'Vlahović', 'Vlašić', 'Vuka', 'Vuković', 'Zorić', 'Ćorluka', 'Čupić', 'Župan', - ]; + /** + * @see http://surnames.behindthename.com/names/usage/croatian + */ + protected static $lastName = [ + 'Abramović', + 'Adamić', + 'Antić', + 'Babić', + 'Blažević', + 'Bogdanić', + 'Bogdanović', + 'Božić', + 'Brož', + 'Dragić', + 'Dragović', + 'Filipović', + 'Franić', + 'Franjić', + 'Grgić', + 'Horvat', + 'Horvatinčić', + 'Ivanović', + 'Janković', + 'Jurić', + 'Juriša', + 'Kasun', + 'Knežević', + 'Kovač', + 'Kovačević', + 'Kovačić', + 'Košar', + 'Kranjčar', + 'Lovren', + 'Mandžukić', + 'Maras', + 'Marić', + 'Marković', + 'Marušić', + 'Matić', + 'Milić', + 'Mlakar', + 'Modrić', + 'Neretljak', + 'Nikolić', + 'Novak', + 'Novaković', + 'Pavić', + 'Pavletić', + 'Perić', + 'Perković', + 'Petrović', + 'Radić', + 'Raić-Sudar', + 'Ratković', + 'Srna', + 'Stanković', + 'Tomić', + 'Tomčić', + 'Vincetić', + 'Vinković', + 'Vlahović', + 'Vlašić', + 'Vuka', + 'Vuković', + 'Zorić', + 'Ćorluka', + 'Čupić', + 'Župan', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/PhoneNumber.php index ef1e083..2d8c949 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hr_HR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hr_HR/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\hr_HR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+385 91 ### ####', - '+385 92 ### ####', - '+385 95 ### ####', - '+385 98 ### ####', - '+385 99 ### ####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+385 91 ### ####', + '+385 92 ### ####', + '+385 95 ### ####', + '+385 98 ### ####', + '+385 99 ### ####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Address.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Address.php index 5c99a1e..3577125 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Address.php @@ -2,147 +2,516 @@ namespace Faker\Provider\hu_HU; -class Address extends \Faker\Provider\Address -{ - protected static $cityFormats = [ - '{{capital}}', - '{{capital}}', - '{{capital}}', - '{{bigCity}}', - '{{bigCity}}', - '{{smallerCity}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}.', - '{{streetName}} {{buildingNumber}}. {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - '{{postcode}} {{city}}, {{streetAddress}}', - ]; - protected static $secondaryAddressFormats = ['##. emelet', '##. ajtó']; +class Address extends \Faker\Provider\Address { + protected static $cityFormats = [ + '{{capital}}', + '{{capital}}', + '{{capital}}', + '{{bigCity}}', + '{{bigCity}}', + '{{smallerCity}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}.', + '{{streetName}} {{buildingNumber}}. {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + '{{postcode}} {{city}}, {{streetAddress}}', + ]; + protected static $secondaryAddressFormats = [ '##. emelet', '##. ajtó' ]; - /** - * @example '10. emelet' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '10. emelet' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Pest' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Pest' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'Budapest' - */ - public static function capital() - { - return static::randomElement(static::$capitals); - } + /** + * @example 'Budapest' + */ + public static function capital() { + return static::randomElement( static::$capitals ); + } - /** - * @example 'Pécs' - */ - public static function bigCity() - { - return static::randomElement(static::$bigCities); - } + /** + * @example 'Pécs' + */ + public static function bigCity() { + return static::randomElement( static::$bigCities ); + } - /** - * @example 'Várpalota' - */ - public static function smallerCity() - { - return static::randomElement(static::$smallerCities); - } + /** + * @example 'Várpalota' + */ + public static function smallerCity() { + return static::randomElement( static::$smallerCities ); + } - protected static $buildingNumber = ['%##', '%#', '%#', '%']; + protected static $buildingNumber = [ '%##', '%#', '%#', '%' ]; - /** - * Coordinates inside the border of Hungary - * - * @example array('47.049242', '18.355119') - * - * @return array | latitude, longitude - */ - public static function localCoordinates() - { - return [ - 'latitude' => static::latitude(46.262740, 47.564721), - 'longitude' => static::longitude(17.077949, 20.604560), - ]; - } + /** + * Coordinates inside the border of Hungary + * + * @return array | latitude, longitude + * @example array('47.049242', '18.355119') + * + */ + public static function localCoordinates() { + return [ + 'latitude' => static::latitude( 46.262740, 47.564721 ), + 'longitude' => static::longitude( 17.077949, 20.604560 ), + ]; + } - protected static $streetSuffix = [ - 'árok', 'átjáró', 'dűlősor', 'dűlőút', 'erdősor', 'fasor', 'forduló', 'gát', 'határsor', 'határút', 'híd', 'játszótér', 'kert', 'körönd', 'körtér', 'körút', 'köz', 'lakótelep', 'lejáró', 'lejtő', 'lépcső', 'liget', 'mélyút', 'orom', 'országút', 'ösvény', 'park', 'part', 'pincesor', 'rakpart', 'sétány', 'sétaút', 'sor', 'sugárút', 'tér', 'tere', 'turistaút', 'udvar', 'út', 'útja', 'utca', 'üdülőpart', - ]; - protected static $postcode = ['####']; - protected static $state = [ - 'Budapest', 'Bács-Kiskun', 'Baranya', 'Békés', 'Borsod-Abaúj-Zemplén', 'Csongrád', 'Fejér', 'Győr-Moson-Sopron', 'Hajdú-Bihar', 'Heves', 'Jász-Nagykun-Szolnok', 'Komárom-Esztergom', 'Nógrád', 'Pest', 'Somogy', 'Szabolcs-Szatmár-Bereg', 'Tolna', 'Vas', 'Veszprém', 'Zala', - ]; - protected static $country = [ - 'Afganisztán', 'Albánia', 'Algéria', 'Amerikai Egyesült Államok', 'Andorra', 'Angola', 'Antigua és Barbuda', 'Argentína', 'Ausztria', 'Ausztrália', 'Azerbajdzsán', - 'Bahama-szigetek', 'Bahrein', 'Banglades', 'Barbados', 'Belgium', 'Belize', 'Benin', 'Bhután', 'Bolívia', 'Bosznia-Hercegovina', 'Botswana', 'Brazília', 'Brunei', 'Bulgária', 'Burkina Faso', 'Burma', 'Burundi', - 'Chile', 'Ciprus', 'Costa Rica', 'Csehország', 'Csád', - 'Dominikai Köztársaság', 'Dominikai Közösség', 'Dzsibuti', 'Dánia', 'Dél-Afrika', 'Dél-Korea', 'Dél-Szudán', - 'Ecuador', 'Egyenlítői-Guinea', 'Egyesült Arab Emírségek', 'Egyesült Királyság', 'Egyiptom', 'Elefántcsontpart', 'Eritrea', 'Etiópia', - 'Fehéroroszország', 'Fidzsi-szigetek', 'Finnország', 'Franciaország', 'Fülöp-szigetek', - 'Gabon', 'Gambia', 'Ghána', 'Grenada', 'Grúzia', 'Guatemala', 'Guinea', 'Guyana', 'Görögország', - 'Haiti', 'Hollandia', 'Horvátország', - 'India', 'Indonézia', 'Irak', 'Irán', 'Izland', 'Izrael', - 'Japán', 'Jemen', 'Jordánia', - 'Kambodzsa', 'Kamerun', 'Kanada', 'Katar', 'Kazahsztán', 'Kelet-Timor', 'Kenya', 'Kirgizisztán', 'Kiribati', 'Kolumbia', 'Kongói Demokratikus Köztársaság', 'Kongói Köztársaság', 'Kuba', 'Kuvait', 'Kína', 'Közép-Afrika', - 'Laosz', 'Lengyelország', 'Lesotho', 'Lettország', 'Libanon', 'Libéria', 'Liechtenstein', 'Litvánia', 'Luxemburg', 'Líbia', - 'Macedónia', 'Madagaszkár', 'Magyarország', 'Malawi', 'Maldív-szigetek', 'Mali', 'Malájzia', 'Marokkó', 'Marshall-szigetek', 'Mauritánia', 'Mexikó', 'Mikronézia', 'Moldova', 'Monaco', 'Mongólia', 'Montenegró', 'Mozambik', 'Málta', - 'Namíbia', 'Nauru', 'Nepál', 'Nicaragua', 'Niger', 'Nigéria', 'Norvégia', 'Németország', - 'Olaszország', 'Omán', 'Oroszország', - 'Pakisztán', 'Palau', 'Panama', 'Paraguay', 'Peru', 'Portugália', 'Pápua Új-Guinea', - 'Románia', 'Ruanda', - 'Saint Kitts és Nevis', 'Saint Vincent', 'Salamon-szigetek', 'Salvador', 'San Marino', 'Seychelle-szigetek', 'Spanyolország', 'Srí Lanka', 'Suriname', 'Svájc', 'Svédország', 'Szamoa', 'Szaúd-Arábia', 'Szenegál', 'Szerbia', 'Szingapúr', 'Szlovákia', 'Szlovénia', 'Szomália', 'Szudán', 'Szváziföld', 'Szíria', 'São Tomé és Príncipe', - 'Tadzsikisztán', 'Tanzánia', 'Thaiföld', 'Togo', 'Tonga', 'Trinidad és Tobago', 'Tunézia', 'Tuvalu', 'Törökország', 'Türkmenisztán', - 'Uganda', 'Ukrajna', 'Uruguay', - 'Vanuatu', 'Venezuela', 'Vietnám', - 'Zambia', 'Zimbabwe', 'Zöld-foki-szigetek', - 'Észak-Korea', 'Észtország', 'Írország', 'Örményország', 'Új-Zéland', 'Üzbegisztán', - ]; + protected static $streetSuffix = [ + 'árok', + 'átjáró', + 'dűlősor', + 'dűlőút', + 'erdősor', + 'fasor', + 'forduló', + 'gát', + 'határsor', + 'határút', + 'híd', + 'játszótér', + 'kert', + 'körönd', + 'körtér', + 'körút', + 'köz', + 'lakótelep', + 'lejáró', + 'lejtő', + 'lépcső', + 'liget', + 'mélyút', + 'orom', + 'országút', + 'ösvény', + 'park', + 'part', + 'pincesor', + 'rakpart', + 'sétány', + 'sétaút', + 'sor', + 'sugárút', + 'tér', + 'tere', + 'turistaút', + 'udvar', + 'út', + 'útja', + 'utca', + 'üdülőpart', + ]; + protected static $postcode = [ '####' ]; + protected static $state = [ + 'Budapest', + 'Bács-Kiskun', + 'Baranya', + 'Békés', + 'Borsod-Abaúj-Zemplén', + 'Csongrád', + 'Fejér', + 'Győr-Moson-Sopron', + 'Hajdú-Bihar', + 'Heves', + 'Jász-Nagykun-Szolnok', + 'Komárom-Esztergom', + 'Nógrád', + 'Pest', + 'Somogy', + 'Szabolcs-Szatmár-Bereg', + 'Tolna', + 'Vas', + 'Veszprém', + 'Zala', + ]; + protected static $country = [ + 'Afganisztán', + 'Albánia', + 'Algéria', + 'Amerikai Egyesült Államok', + 'Andorra', + 'Angola', + 'Antigua és Barbuda', + 'Argentína', + 'Ausztria', + 'Ausztrália', + 'Azerbajdzsán', + 'Bahama-szigetek', + 'Bahrein', + 'Banglades', + 'Barbados', + 'Belgium', + 'Belize', + 'Benin', + 'Bhután', + 'Bolívia', + 'Bosznia-Hercegovina', + 'Botswana', + 'Brazília', + 'Brunei', + 'Bulgária', + 'Burkina Faso', + 'Burma', + 'Burundi', + 'Chile', + 'Ciprus', + 'Costa Rica', + 'Csehország', + 'Csád', + 'Dominikai Köztársaság', + 'Dominikai Közösség', + 'Dzsibuti', + 'Dánia', + 'Dél-Afrika', + 'Dél-Korea', + 'Dél-Szudán', + 'Ecuador', + 'Egyenlítői-Guinea', + 'Egyesült Arab Emírségek', + 'Egyesült Királyság', + 'Egyiptom', + 'Elefántcsontpart', + 'Eritrea', + 'Etiópia', + 'Fehéroroszország', + 'Fidzsi-szigetek', + 'Finnország', + 'Franciaország', + 'Fülöp-szigetek', + 'Gabon', + 'Gambia', + 'Ghána', + 'Grenada', + 'Grúzia', + 'Guatemala', + 'Guinea', + 'Guyana', + 'Görögország', + 'Haiti', + 'Hollandia', + 'Horvátország', + 'India', + 'Indonézia', + 'Irak', + 'Irán', + 'Izland', + 'Izrael', + 'Japán', + 'Jemen', + 'Jordánia', + 'Kambodzsa', + 'Kamerun', + 'Kanada', + 'Katar', + 'Kazahsztán', + 'Kelet-Timor', + 'Kenya', + 'Kirgizisztán', + 'Kiribati', + 'Kolumbia', + 'Kongói Demokratikus Köztársaság', + 'Kongói Köztársaság', + 'Kuba', + 'Kuvait', + 'Kína', + 'Közép-Afrika', + 'Laosz', + 'Lengyelország', + 'Lesotho', + 'Lettország', + 'Libanon', + 'Libéria', + 'Liechtenstein', + 'Litvánia', + 'Luxemburg', + 'Líbia', + 'Macedónia', + 'Madagaszkár', + 'Magyarország', + 'Malawi', + 'Maldív-szigetek', + 'Mali', + 'Malájzia', + 'Marokkó', + 'Marshall-szigetek', + 'Mauritánia', + 'Mexikó', + 'Mikronézia', + 'Moldova', + 'Monaco', + 'Mongólia', + 'Montenegró', + 'Mozambik', + 'Málta', + 'Namíbia', + 'Nauru', + 'Nepál', + 'Nicaragua', + 'Niger', + 'Nigéria', + 'Norvégia', + 'Németország', + 'Olaszország', + 'Omán', + 'Oroszország', + 'Pakisztán', + 'Palau', + 'Panama', + 'Paraguay', + 'Peru', + 'Portugália', + 'Pápua Új-Guinea', + 'Románia', + 'Ruanda', + 'Saint Kitts és Nevis', + 'Saint Vincent', + 'Salamon-szigetek', + 'Salvador', + 'San Marino', + 'Seychelle-szigetek', + 'Spanyolország', + 'Srí Lanka', + 'Suriname', + 'Svájc', + 'Svédország', + 'Szamoa', + 'Szaúd-Arábia', + 'Szenegál', + 'Szerbia', + 'Szingapúr', + 'Szlovákia', + 'Szlovénia', + 'Szomália', + 'Szudán', + 'Szváziföld', + 'Szíria', + 'São Tomé és Príncipe', + 'Tadzsikisztán', + 'Tanzánia', + 'Thaiföld', + 'Togo', + 'Tonga', + 'Trinidad és Tobago', + 'Tunézia', + 'Tuvalu', + 'Törökország', + 'Türkmenisztán', + 'Uganda', + 'Ukrajna', + 'Uruguay', + 'Vanuatu', + 'Venezuela', + 'Vietnám', + 'Zambia', + 'Zimbabwe', + 'Zöld-foki-szigetek', + 'Észak-Korea', + 'Észtország', + 'Írország', + 'Örményország', + 'Új-Zéland', + 'Üzbegisztán', + ]; - /** - * Source: https://hu.wikipedia.org/wiki/Magyarorsz%C3%A1g_v%C3%A1rosainak_list%C3%A1ja - */ - protected static $capitals = ['Budapest']; - protected static $bigCities = [ - 'Békéscsaba', 'Debrecen', 'Dunaújváros', 'Eger', 'Érd', 'Győr', 'Hódmezővásárhely', 'Kaposvár', 'Kecskemét', 'Miskolc', 'Nagykanizsa', 'Nyíregyháza', 'Pécs', 'Salgótarján', 'Sopron', 'Szeged', 'Székesfehérvár', 'Szekszárd', 'Szolnok', 'Szombathely', 'Tatabánya', 'Veszprém', 'Zalaegerszeg', - ]; - protected static $smallerCities = [ - 'Ajka', 'Aszód', 'Bácsalmás', - 'Baja', 'Baktalórántháza', 'Balassagyarmat', 'Balatonalmádi', 'Balatonfüred', 'Balmazújváros', 'Barcs', 'Bátonyterenye', 'Békés', 'Bélapátfalva', 'Berettyóújfalu', 'Bicske', 'Bóly', 'Bonyhád', 'Budakeszi', - 'Cegléd', 'Celldömölk', 'Cigánd', 'Csenger', 'Csongrád', 'Csorna', 'Csurgó', - 'Dabas', 'Derecske', 'Devecser', 'Dombóvár', 'Dunakeszi', - 'Edelény', 'Encs', 'Enying', 'Esztergom', - 'Fehérgyarmat', 'Fonyód', 'Füzesabony', - 'Gárdony', 'Gödöllő', 'Gönc', 'Gyál', 'Gyomaendrőd', 'Gyöngyös', 'Gyula', - 'Hajdúböszörmény', 'Hajdúhadház', 'Hajdúnánás', 'Hajdúszoboszló', 'Hatvan', 'Heves', - 'Ibrány', - 'Jánoshalma', 'Jászapáti', 'Jászberény', - 'Kalocsa', 'Kapuvár', 'Karcag', 'Kazincbarcika', 'Kemecse', 'Keszthely', 'Kisbér', 'Kiskőrös', 'Kiskunfélegyháza', 'Kiskunhalas', 'Kiskunmajsa', 'Kistelek', 'Kisvárda', 'Komárom', 'Komló', 'Körmend', 'Kőszeg', 'Kunhegyes', 'Kunszentmárton', 'Kunszentmiklós', - 'Lenti', 'Letenye', - 'Makó', 'Marcali', 'Martonvásár', 'Mátészalka', 'Mezőcsát', 'Mezőkovácsháza', 'Mezőkövesd', 'Mezőtúr', 'Mohács', 'Monor', 'Mór', 'Mórahalom', 'Mosonmagyaróvár', - 'Nagyatád', 'Nagykálló', 'Nagykáta', 'Nagykőrös', 'Nyíradony', 'Nyírbátor', - 'Orosháza', 'Oroszlány', 'Ózd', - 'Paks', 'Pannonhalma', 'Pápa', 'Pásztó', 'Pécsvárad', 'Pétervására', 'Pilisvörösvár', 'Polgárdi', 'Püspökladány', 'Putnok', - 'Ráckeve', 'Rétság', - 'Sárbogárd', 'Sarkad', 'Sárospatak', 'Sárvár', 'Sásd', 'Sátoraljaújhely', 'Sellye', 'Siklós', 'Siófok', 'Sümeg', 'Szarvas', 'Szécsény', 'Szeghalom', 'Szentendre', 'Szentes', 'Szentgotthárd', 'Szentlőrinc', 'Szerencs', 'Szigetszentmiklós', 'Szigetvár', 'Szikszó', 'Szob', - 'Tab', 'Tamási', 'Tapolca', 'Tata', 'Tét', 'Tiszafüred', 'Tiszakécske', 'Tiszaújváros', 'Tiszavasvári', 'Tokaj', 'Tolna', 'Törökszentmiklós', - 'Vác', 'Várpalota', 'Vásárosnamény', 'Vasvár', 'Vecsés', - 'Záhony', 'Zalaszentgrót', 'Zirc', - ]; + /** + * Source: https://hu.wikipedia.org/wiki/Magyarorsz%C3%A1g_v%C3%A1rosainak_list%C3%A1ja + */ + protected static $capitals = [ 'Budapest' ]; + protected static $bigCities = [ + 'Békéscsaba', + 'Debrecen', + 'Dunaújváros', + 'Eger', + 'Érd', + 'Győr', + 'Hódmezővásárhely', + 'Kaposvár', + 'Kecskemét', + 'Miskolc', + 'Nagykanizsa', + 'Nyíregyháza', + 'Pécs', + 'Salgótarján', + 'Sopron', + 'Szeged', + 'Székesfehérvár', + 'Szekszárd', + 'Szolnok', + 'Szombathely', + 'Tatabánya', + 'Veszprém', + 'Zalaegerszeg', + ]; + protected static $smallerCities = [ + 'Ajka', + 'Aszód', + 'Bácsalmás', + 'Baja', + 'Baktalórántháza', + 'Balassagyarmat', + 'Balatonalmádi', + 'Balatonfüred', + 'Balmazújváros', + 'Barcs', + 'Bátonyterenye', + 'Békés', + 'Bélapátfalva', + 'Berettyóújfalu', + 'Bicske', + 'Bóly', + 'Bonyhád', + 'Budakeszi', + 'Cegléd', + 'Celldömölk', + 'Cigánd', + 'Csenger', + 'Csongrád', + 'Csorna', + 'Csurgó', + 'Dabas', + 'Derecske', + 'Devecser', + 'Dombóvár', + 'Dunakeszi', + 'Edelény', + 'Encs', + 'Enying', + 'Esztergom', + 'Fehérgyarmat', + 'Fonyód', + 'Füzesabony', + 'Gárdony', + 'Gödöllő', + 'Gönc', + 'Gyál', + 'Gyomaendrőd', + 'Gyöngyös', + 'Gyula', + 'Hajdúböszörmény', + 'Hajdúhadház', + 'Hajdúnánás', + 'Hajdúszoboszló', + 'Hatvan', + 'Heves', + 'Ibrány', + 'Jánoshalma', + 'Jászapáti', + 'Jászberény', + 'Kalocsa', + 'Kapuvár', + 'Karcag', + 'Kazincbarcika', + 'Kemecse', + 'Keszthely', + 'Kisbér', + 'Kiskőrös', + 'Kiskunfélegyháza', + 'Kiskunhalas', + 'Kiskunmajsa', + 'Kistelek', + 'Kisvárda', + 'Komárom', + 'Komló', + 'Körmend', + 'Kőszeg', + 'Kunhegyes', + 'Kunszentmárton', + 'Kunszentmiklós', + 'Lenti', + 'Letenye', + 'Makó', + 'Marcali', + 'Martonvásár', + 'Mátészalka', + 'Mezőcsát', + 'Mezőkovácsháza', + 'Mezőkövesd', + 'Mezőtúr', + 'Mohács', + 'Monor', + 'Mór', + 'Mórahalom', + 'Mosonmagyaróvár', + 'Nagyatád', + 'Nagykálló', + 'Nagykáta', + 'Nagykőrös', + 'Nyíradony', + 'Nyírbátor', + 'Orosháza', + 'Oroszlány', + 'Ózd', + 'Paks', + 'Pannonhalma', + 'Pápa', + 'Pásztó', + 'Pécsvárad', + 'Pétervására', + 'Pilisvörösvár', + 'Polgárdi', + 'Püspökladány', + 'Putnok', + 'Ráckeve', + 'Rétság', + 'Sárbogárd', + 'Sarkad', + 'Sárospatak', + 'Sárvár', + 'Sásd', + 'Sátoraljaújhely', + 'Sellye', + 'Siklós', + 'Siófok', + 'Sümeg', + 'Szarvas', + 'Szécsény', + 'Szeghalom', + 'Szentendre', + 'Szentes', + 'Szentgotthárd', + 'Szentlőrinc', + 'Szerencs', + 'Szigetszentmiklós', + 'Szigetvár', + 'Szikszó', + 'Szob', + 'Tab', + 'Tamási', + 'Tapolca', + 'Tata', + 'Tét', + 'Tiszafüred', + 'Tiszakécske', + 'Tiszaújváros', + 'Tiszavasvári', + 'Tokaj', + 'Tolna', + 'Törökszentmiklós', + 'Vác', + 'Várpalota', + 'Vásárosnamény', + 'Vasvár', + 'Vecsés', + 'Záhony', + 'Zalaszentgrót', + 'Zirc', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Company.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Company.php index 7593199..cb32439 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Company.php @@ -2,12 +2,11 @@ namespace Faker\Provider\hu_HU; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['Kft.', 'és Tsa', 'Kht', 'Zrt.', 'Nyrt.', 'Bt.']; + protected static $companySuffix = [ 'Kft.', 'és Tsa', 'Kht', 'Zrt.', 'Nyrt.', 'Bt.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Payment.php index 4a05a52..aefcfce 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\hu_HU; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'HU', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'HU', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Person.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Person.php index 76d84be..6e70633 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Person.php @@ -7,95 +7,423 @@ * * @see https://en.wikipedia.org/wiki/Hungarian_names and https://en.wiktionary.org/wiki/Category:Hungarian_abbreviations */ -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{lastName}} {{firstNameMale}}', - '{{title}} {{lastName}} {{firstNameMale}}', - '{{lastName}} {{firstNameMale}} {{suffix}}', - '{{title}} {{lastName}} {{firstNameMale}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{lastName}} {{firstNameMale}}', + '{{title}} {{lastName}} {{firstNameMale}}', + '{{lastName}} {{firstNameMale}} {{suffix}}', + '{{title}} {{lastName}} {{firstNameMale}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{lastName}} {{firstNameFemale}}', - '{{title}} {{lastName}} {{firstNameFemale}}', - '{{lastName}} {{firstNameFemale}} {{suffix}}', - '{{title}} {{lastName}} {{firstNameFemale}} {{suffix}}', - '{{lastNameFemaleMarried}} {{lastName}} {{firstNameFemale}}', - '{{title}} {{lastNameFemaleMarried}} {{firstNameFemale}}', - '{{lastName}} {{firstNameMaleNe}}', - '{{title}} {{lastName}} {{firstNameMaleNe}}', - '{{lastName}}-{{lastName}} {{firstNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{lastName}} {{firstNameFemale}}', + '{{title}} {{lastName}} {{firstNameFemale}}', + '{{lastName}} {{firstNameFemale}} {{suffix}}', + '{{title}} {{lastName}} {{firstNameFemale}} {{suffix}}', + '{{lastNameFemaleMarried}} {{lastName}} {{firstNameFemale}}', + '{{title}} {{lastNameFemaleMarried}} {{firstNameFemale}}', + '{{lastName}} {{firstNameMaleNe}}', + '{{title}} {{lastName}} {{firstNameMaleNe}}', + '{{lastName}}-{{lastName}} {{firstNameFemale}}', + ]; - protected static $firstNameMale = [ - 'Albert', 'Attila', 'Balázs', 'Bence', 'Botond', 'Dorián', 'Endre', 'Ernő', 'Gábor', 'Géza', 'Imre', 'István', - 'Kevin', 'Kornél', 'Kristóf', 'László', 'Milán', 'Noel', 'Olivér', 'Ottó', 'Patrik', 'Péter', 'Richárd', 'Rudolf', - 'Sándor', 'Vilmos', 'Vince', 'Zoltán', 'Zsolt', 'Ádám', 'Ármin', 'Áron', 'Antal', 'Barna', 'Barnabás', 'Bendegúz', - 'Benedek', 'Hunor', 'Jenő', 'János', 'Mihály', 'Mátyás', 'Szervác', 'Zsombor', 'Zétény', 'Árpád', - ]; + protected static $firstNameMale = [ + 'Albert', + 'Attila', + 'Balázs', + 'Bence', + 'Botond', + 'Dorián', + 'Endre', + 'Ernő', + 'Gábor', + 'Géza', + 'Imre', + 'István', + 'Kevin', + 'Kornél', + 'Kristóf', + 'László', + 'Milán', + 'Noel', + 'Olivér', + 'Ottó', + 'Patrik', + 'Péter', + 'Richárd', + 'Rudolf', + 'Sándor', + 'Vilmos', + 'Vince', + 'Zoltán', + 'Zsolt', + 'Ádám', + 'Ármin', + 'Áron', + 'Antal', + 'Barna', + 'Barnabás', + 'Bendegúz', + 'Benedek', + 'Hunor', + 'Jenő', + 'János', + 'Mihály', + 'Mátyás', + 'Szervác', + 'Zsombor', + 'Zétény', + 'Árpád', + ]; - protected static $firstNameMaleNe = [ - 'Albertné', 'Attiláné', 'Balázsné', 'Bencéné', 'Botondné', 'Doriánné', 'Endrené', 'Ernőné', 'Gáborné', 'Gézané', 'Imréné', 'Istvánné', - 'Kevinné', 'Kornélné', 'Kristófné', 'Lászlóné', 'Milánné', 'Noelné', 'Olivérné', 'Ottóné', 'Patrikné', 'Péterné', 'Richárdné', 'Rudolfné', - 'Sándorné', 'Vilmosné', 'Vincéné', 'Zoltánné', 'Zsoltné', 'Ádámné', 'Árminné', 'Áronné', 'Antalné', 'Barnáné', 'Barnabásné', 'Bendegúz', - 'Benedekné', 'Hunorné', 'Jenőné', 'Jánosné', 'Mihályné', 'Mátyásné', 'Szervácné', 'Zsomborné', 'Zétényné', 'Árpádné', - ]; + protected static $firstNameMaleNe = [ + 'Albertné', + 'Attiláné', + 'Balázsné', + 'Bencéné', + 'Botondné', + 'Doriánné', + 'Endrené', + 'Ernőné', + 'Gáborné', + 'Gézané', + 'Imréné', + 'Istvánné', + 'Kevinné', + 'Kornélné', + 'Kristófné', + 'Lászlóné', + 'Milánné', + 'Noelné', + 'Olivérné', + 'Ottóné', + 'Patrikné', + 'Péterné', + 'Richárdné', + 'Rudolfné', + 'Sándorné', + 'Vilmosné', + 'Vincéné', + 'Zoltánné', + 'Zsoltné', + 'Ádámné', + 'Árminné', + 'Áronné', + 'Antalné', + 'Barnáné', + 'Barnabásné', + 'Bendegúz', + 'Benedekné', + 'Hunorné', + 'Jenőné', + 'Jánosné', + 'Mihályné', + 'Mátyásné', + 'Szervácné', + 'Zsomborné', + 'Zétényné', + 'Árpádné', + ]; - protected static $lastNameFemaleMarried = [ - 'Antalné', 'Bakosné', 'Balláné', 'Balogné', 'Baloghné', 'Balázsné', 'Barnáné', 'Bartáné', 'Biróné', 'Bodnárné', - 'Bogdánné', 'Bognárné', 'Borbélyné', 'Borosné', 'Budainé', 'Bálintné', 'Csonkáné', 'Deákné', 'Dobosné', 'Dudásné', - 'Faragóné', 'Farkasné', 'Fazekasné', 'Fehérné', 'Feketéné', 'Fodorné', 'Fábiánné', 'Fülöpné', 'Gulyásné', 'Gálné', - 'Gáspárné', 'Hajdúné', 'Halászné', 'Hegedűsné', 'Horváthné', 'Illésné', 'Jakabné', 'Juhászné', 'Jónásné', 'Katonáné', - 'Kelemenné', 'Kerekesné', 'Királyné', 'Kisné', 'Kissné', 'Kocsisné', 'Kovácsné', 'Kozmané', 'Lakatosné', 'Lengyelné', - 'Lukácsné', 'Lászlóné', 'Magyarné', 'Majorné', 'Molnárné', 'Máténé', 'Mészárosné', 'Nagyné', 'Nemesné', 'Novákné', - 'Némethné', 'Oláhné', 'Orbánné', 'Oroszné', 'Orsósné', 'Papné', 'Pappné', 'Patakiné', 'Pintérné', 'Pálné', 'Pásztorné', - 'Péterné', 'Ráczné', 'Simonné', 'Siposné', 'Somogyiné', 'Soósné', 'Szabóné', 'Szalainé', 'Szekeresné', 'Szilágyiné', - 'Székelyné', 'Szücsné', 'Szőkené', 'Szűcsné', 'Sándorné', 'Takácsné', 'Tamásné', 'Tóthné', 'Törökné', 'Vargáné', 'Vassné', - 'Veresné', 'Vinczéné', 'Virágné', 'Váradiné', 'Véghné', 'Vörösné', - ]; + protected static $lastNameFemaleMarried = [ + 'Antalné', + 'Bakosné', + 'Balláné', + 'Balogné', + 'Baloghné', + 'Balázsné', + 'Barnáné', + 'Bartáné', + 'Biróné', + 'Bodnárné', + 'Bogdánné', + 'Bognárné', + 'Borbélyné', + 'Borosné', + 'Budainé', + 'Bálintné', + 'Csonkáné', + 'Deákné', + 'Dobosné', + 'Dudásné', + 'Faragóné', + 'Farkasné', + 'Fazekasné', + 'Fehérné', + 'Feketéné', + 'Fodorné', + 'Fábiánné', + 'Fülöpné', + 'Gulyásné', + 'Gálné', + 'Gáspárné', + 'Hajdúné', + 'Halászné', + 'Hegedűsné', + 'Horváthné', + 'Illésné', + 'Jakabné', + 'Juhászné', + 'Jónásné', + 'Katonáné', + 'Kelemenné', + 'Kerekesné', + 'Királyné', + 'Kisné', + 'Kissné', + 'Kocsisné', + 'Kovácsné', + 'Kozmané', + 'Lakatosné', + 'Lengyelné', + 'Lukácsné', + 'Lászlóné', + 'Magyarné', + 'Majorné', + 'Molnárné', + 'Máténé', + 'Mészárosné', + 'Nagyné', + 'Nemesné', + 'Novákné', + 'Némethné', + 'Oláhné', + 'Orbánné', + 'Oroszné', + 'Orsósné', + 'Papné', + 'Pappné', + 'Patakiné', + 'Pintérné', + 'Pálné', + 'Pásztorné', + 'Péterné', + 'Ráczné', + 'Simonné', + 'Siposné', + 'Somogyiné', + 'Soósné', + 'Szabóné', + 'Szalainé', + 'Szekeresné', + 'Szilágyiné', + 'Székelyné', + 'Szücsné', + 'Szőkené', + 'Szűcsné', + 'Sándorné', + 'Takácsné', + 'Tamásné', + 'Tóthné', + 'Törökné', + 'Vargáné', + 'Vassné', + 'Veresné', + 'Vinczéné', + 'Virágné', + 'Váradiné', + 'Véghné', + 'Vörösné', + ]; - protected static $firstNameFemale = [ - 'Adél', 'Alexa', 'Andrea', 'Angéla', 'Anikó', 'Beatrix', 'Bettina', 'Dalma', 'Dorina', 'Dorottya', 'Evelin', 'Fanni', 'Flóra', 'Gabriella', - 'Georgina', 'Gitta', 'Gizella', 'Gréta', 'Henrietta', 'Izabella', 'Johanna', 'Judit', 'Julianna', 'Jázmin', 'Kata', 'Katalin', - 'Katinka', 'Klaudia', 'Kíra', 'Liliána', 'Linda', 'Liza', 'Léna', 'Lívia', 'Maja', 'Marianna', 'Marietta', 'Martina', - 'Mia', 'Milla', 'Mirella', 'Mária', 'Márton', 'Míra', 'Nikoletta', 'Olívia', 'Patrícia', 'Ramóna', 'Rebeka', 'Soma', - 'Szandra', 'Sára', 'Valéria', 'Zita', 'Aranka', 'Boróka', 'Boglárka', 'Csenge', 'Emőke', 'Erzsébet', 'Hanga', 'Henriett', - 'Kincső', 'Panna', 'Szabina', 'Szonja', 'Virág', 'Zsóka', - ]; + protected static $firstNameFemale = [ + 'Adél', + 'Alexa', + 'Andrea', + 'Angéla', + 'Anikó', + 'Beatrix', + 'Bettina', + 'Dalma', + 'Dorina', + 'Dorottya', + 'Evelin', + 'Fanni', + 'Flóra', + 'Gabriella', + 'Georgina', + 'Gitta', + 'Gizella', + 'Gréta', + 'Henrietta', + 'Izabella', + 'Johanna', + 'Judit', + 'Julianna', + 'Jázmin', + 'Kata', + 'Katalin', + 'Katinka', + 'Klaudia', + 'Kíra', + 'Liliána', + 'Linda', + 'Liza', + 'Léna', + 'Lívia', + 'Maja', + 'Marianna', + 'Marietta', + 'Martina', + 'Mia', + 'Milla', + 'Mirella', + 'Mária', + 'Márton', + 'Míra', + 'Nikoletta', + 'Olívia', + 'Patrícia', + 'Ramóna', + 'Rebeka', + 'Soma', + 'Szandra', + 'Sára', + 'Valéria', + 'Zita', + 'Aranka', + 'Boróka', + 'Boglárka', + 'Csenge', + 'Emőke', + 'Erzsébet', + 'Hanga', + 'Henriett', + 'Kincső', + 'Panna', + 'Szabina', + 'Szonja', + 'Virág', + 'Zsóka', + ]; - protected static $lastName = [ - 'Antal', 'Bakos', 'Balla', 'Balog', 'Balogh', 'Balázs', 'Barna', 'Barta', 'Biró', 'Bodnár', 'Bogdán', 'Bognár', 'Borbély', 'Boros', 'Budai', 'Bálint', 'Csonka', 'Deák', 'Dobos', 'Dudás', 'Faragó', 'Farkas', 'Fazekas', 'Fehér', 'Fekete', 'Fodor', 'Fábián', 'Fülöp', 'Gulyás', 'Gál', 'Gáspár', 'Hajdu', 'Halász', 'Hegedüs', 'Hegedűs', 'Horváth', 'Illés', 'Jakab', 'Juhász', 'Jónás', 'Katona', 'Kelemen', 'Kerekes', 'Király', 'Kis', 'Kiss', 'Kocsis', 'Kovács', 'Kozma', 'Lakatos', 'Lengyel', 'Lukács', 'László', 'Magyar', 'Major', 'Molnár', 'Máté', 'Mészáros', 'Nagy', 'Nemes', 'Novák', 'Németh', 'Oláh', 'Orbán', 'Orosz', 'Orsós', 'Pap', 'Papp', 'Pataki', 'Pintér', 'Pál', 'Pásztor', 'Péter', 'Rácz', 'Simon', 'Sipos', 'Somogyi', 'Soós', 'Szabó', 'Szalai', 'Szekeres', 'Szilágyi', 'Székely', 'Szücs', 'Szőke', 'Szűcs', 'Sándor', 'Takács', 'Tamás', 'Tóth', 'Török', 'Varga', 'Vass', 'Veres', 'Vincze', 'Virág', 'Váradi', 'Végh', 'Vörös', - ]; + protected static $lastName = [ + 'Antal', + 'Bakos', + 'Balla', + 'Balog', + 'Balogh', + 'Balázs', + 'Barna', + 'Barta', + 'Biró', + 'Bodnár', + 'Bogdán', + 'Bognár', + 'Borbély', + 'Boros', + 'Budai', + 'Bálint', + 'Csonka', + 'Deák', + 'Dobos', + 'Dudás', + 'Faragó', + 'Farkas', + 'Fazekas', + 'Fehér', + 'Fekete', + 'Fodor', + 'Fábián', + 'Fülöp', + 'Gulyás', + 'Gál', + 'Gáspár', + 'Hajdu', + 'Halász', + 'Hegedüs', + 'Hegedűs', + 'Horváth', + 'Illés', + 'Jakab', + 'Juhász', + 'Jónás', + 'Katona', + 'Kelemen', + 'Kerekes', + 'Király', + 'Kis', + 'Kiss', + 'Kocsis', + 'Kovács', + 'Kozma', + 'Lakatos', + 'Lengyel', + 'Lukács', + 'László', + 'Magyar', + 'Major', + 'Molnár', + 'Máté', + 'Mészáros', + 'Nagy', + 'Nemes', + 'Novák', + 'Németh', + 'Oláh', + 'Orbán', + 'Orosz', + 'Orsós', + 'Pap', + 'Papp', + 'Pataki', + 'Pintér', + 'Pál', + 'Pásztor', + 'Péter', + 'Rácz', + 'Simon', + 'Sipos', + 'Somogyi', + 'Soós', + 'Szabó', + 'Szalai', + 'Szekeres', + 'Szilágyi', + 'Székely', + 'Szücs', + 'Szőke', + 'Szűcs', + 'Sándor', + 'Takács', + 'Tamás', + 'Tóth', + 'Török', + 'Varga', + 'Vass', + 'Veres', + 'Vincze', + 'Virág', + 'Váradi', + 'Végh', + 'Vörös', + ]; - protected static $title = ['Dr.', 'Prof.', 'Id.', 'Ifj.', 'Báró', 'Gróf', 'Özv.']; + protected static $title = [ 'Dr.', 'Prof.', 'Id.', 'Ifj.', 'Báró', 'Gróf', 'Özv.' ]; - protected static $titleFemale = ['Özv.', 'Dr.', 'Prof.']; + protected static $titleFemale = [ 'Özv.', 'Dr.', 'Prof.' ]; - protected static $titleMale = ['Dr.', 'Prof.', 'Id.', 'Ifj.', 'Báró', 'Gróf']; + protected static $titleMale = [ 'Dr.', 'Prof.', 'Id.', 'Ifj.', 'Báró', 'Gróf' ]; - private static $suffix = ['PhD']; + private static $suffix = [ 'PhD' ]; - /** - * Specific Hungarian name format for females after marriage - */ - public static function firstNameMaleNe() - { - return static::randomElement(static::$firstNameMaleNe); - } + /** + * Specific Hungarian name format for females after marriage + */ + public static function firstNameMaleNe() { + return static::randomElement( static::$firstNameMaleNe ); + } - /** - * Replaced by specific suffix - * - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * Replaced by specific suffix + * + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - public static function lastNameFemaleMarried() - { - return static::randomElement(static::$lastNameFemaleMarried); - } + public static function lastNameFemaleMarried() { + return static::randomElement( static::$lastNameFemaleMarried ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/PhoneNumber.php index 2078f34..5ee1ca9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\hu_HU; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+36-##-###-####', - '+36#########', - '+36(##)###-###', - '06-##-###-####', - '06(##)###-###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+36-##-###-####', + '+36#########', + '+36(##)###-###', + '06-##-###-####', + '06(##)###-###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Text.php b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Text.php index e3783d1..ce81c5c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hu_HU/Text.php @@ -2,21 +2,20 @@ namespace Faker\Provider\hu_HU; -class Text extends \Faker\Provider\Text -{ - /** - * Author: Rejtő Jenő - * Title: Piszkos Fred, a kapitány - * - * Language: Hungarian - * - * License: Public Domain, since 2014.01.01 - * - * @see http://mek.oszk.hu/01000/01038/ - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * Author: Rejtő Jenő + * Title: Piszkos Fred, a kapitány + * + * Language: Hungarian + * + * License: Public Domain, since 2014.01.01 + * + * @see http://mek.oszk.hu/01000/01038/ + * + * @var string + */ + protected static $baseText = <<<'EOT' ELSŐ FEJEZET 1 - Uram! A késemért jöttem! diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Address.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Address.php index c88d3bf..640dc1a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Address.php @@ -2,131 +2,300 @@ namespace Faker\Provider\hy_AM; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['քաղաք', 'գյուղ']; - - protected static $regionSuffix = ['մարզ']; - protected static $streetPrefix = ['փողոց']; - - protected static $buildingNumber = ['%#']; - protected static $postcode = ['00##']; - protected static $country = [ - 'Մոնակո', 'Սինգապուր', 'Վատիկան', 'Մալդիվներ', - 'Մալթա', 'Բահրեյն', 'Բանգլադեշ', 'Բարբադոս', - 'Չինաստանի Հանրապետություն', 'Սան Մարինո', - 'Հարավային Կորեա', 'Նիդերլանդներ', 'Լիբանան', - 'Մարշալյան կղզիներ', 'Հնդկաստան', 'Կոմորներ', - 'Իսրայել', 'Բուրունդի', 'Հաիթի', 'Բելգիա', 'Ճապոնիա', - 'Ֆիլիպիններ', 'Շրի Լանկա', 'Գրենադա', 'Սալվադոր', - 'Վիետնամ', 'Ճամայկա', 'Անգլիա', 'Տրինիդադ և Տոբագո', - 'Գերմանիա', 'Պակիստան', 'Նեպալ', 'Դոմինիկանա', - 'Անտիգուա և Բարբուդա', 'Իտալիա', 'Լյուքսեմբուրգ', - 'Շվեյցարիա', 'Անդորրա', 'Նիգերիա', 'Գամբիա', - 'Քուվեյթ', 'Միկրոնեզիա', 'Ուգանդա', 'Չինաստան', - 'Թաիլանդ', 'Մալավի', 'Չեխիա', 'Մոլդովա', 'Դանիա', - 'Ինդոնեզիա', 'Գվատեմալա', 'Լեհաստան', 'Սիրիա', - 'Կիպրոս', 'Ֆրանսիա', 'Պորտուգալիա', 'Տոգո', 'Սլովակիա', - 'Հունգարիա', 'Ալբանիա', 'Կուբա', 'Գանա', 'Հայաստան', - 'Թուրքիա', 'Սլովենիա', 'Ավստրիա', 'Ադրբեջան', - 'Սերբիա', 'Ռումինիա', 'Իսպանիա', 'Բոսնիա և Հերցեգովինա', - 'Կոստա Ռիկա', 'Մալայզիա', 'Մակեդոնիա', 'Հունաստան', - 'Եգիպտոս', 'Կամբոջա', 'Բենին', 'Եթովպիա', 'Խորվաթիա', - 'Բիրմա', 'Սվազիլենդ', 'Արևելյան Թիմոր', 'Ուկրաինա', - 'Սիերա Լեոնե', 'Մարոկո', 'Հոնդուրաս', 'Հորդանան', 'Քենիա', - 'Բրունեյ', 'Իրաք', 'Վրաստան', 'Թունիս', 'Բուլղարիա', - 'Սենեգալ', 'Ուզբեկստան', 'Բուրկինա Ֆասո', 'Մեքսիկա', - 'Լիտվա', 'Տաջիկստան', 'Էկվադոր', 'Ֆիջի', 'Էրիթրեա', 'Իրան', - 'Բելառուս', 'Նիկարագուա', 'Աֆղանստան', 'Պալաու', 'Եմեն', - 'Տանզանիա', 'Պանամա', 'Գվինեա', 'Կամերուն', - 'Հարավային Աֆրիկա', 'Կոլումբիա', 'Մադագասկար', - 'Լատվիա', 'Լիբերիա', 'Կոնգո', 'Զիմբաբվե', 'Վենեսուելա', - 'Էստոնիա', 'Մոզամբիկ', 'Լաոս', 'Բրազիլիա', 'Պերու', - 'Բահամներ', 'Չիլի', 'Շվեդիա', 'Ուրուգվայ', 'Վանուատու', - 'Բութան', 'Զամբիա', 'Սուդան', 'Սոմալի', 'Նոր Զելանդիա', - 'Պարագվայ', 'Ֆինլանդիա', 'Արգենտինա', 'Ալժիր', 'Նորվեգիա', - 'Բելիզ', 'Հարավային Սուդան', 'Մալի', 'Անգոլա', - 'Թուրքմենստան', 'Օման', 'Բոլիվիա', 'Ռուսաստան', 'Գաբոն', - 'Ղազախստան', 'Լիբիա', 'Գայանա', 'Կանադա', 'Բոտսվանա', - 'Մավրիտանիա', 'Իսլանդիա', 'Սուրինամ', 'Ավստրալիա', - 'Նամիբիա', 'Մոնղոլիա', - ]; - - protected static $region = [ - 'Արագածոտնի', 'Արարատի', 'Արմավիրի', - 'Գեղարքունիքի', 'Լոռու', 'Կոտայքի', 'Շիրակի', - 'Սյունիքի', 'Վայոց Ձորի', 'Տավուշի', - ]; - - protected static $city = [ - 'Աբովյան', 'Ագարակ', 'Ալավերդի', 'Ախթալա', 'Այրում', 'Աշտարակ', 'Ապարան', - 'Արարատ', 'Արթիկ', 'Արմավիր', 'Արտաշատ', 'Բերդ', 'Բյուրեղավան', 'Գավառ', - 'Գյումրի', 'Գորիս', 'Դաստակերտ', 'Դիլիջան', 'Եղեգնաձոր', 'Եղվարդ', 'Երևան', - 'Էջմիածին', 'Թալին', 'Թումանյան', 'Իջևան', 'Ծաղկաձոր', 'Կապան', 'Հրազդան', - 'Ճամբարակ', 'Մասիս', 'Մարալիկ', 'Մարտունի', 'Մեծամոր', 'Մեղրի', 'Նոր', - 'Նոյեմբերյան', 'Շամլուղ', 'Չարենցավան', 'Ջերմուկ', 'Սիսիան', 'Սպիտակ', - 'Ստեփանավան', 'Սևան', 'Վայք', 'Վանաձոր', 'Վարդենիս', 'Վեդի', 'Տաշիր', - 'Քաջարան', - ]; - - protected static $street = [ - 'Պուշկին', 'Տերյան', 'Աբովյան', 'Ագաթանգեղոս', 'Անդրանիկ', 'Օտյան', 'Լուկաշին', - 'Տիչինա', 'Շինարարներ', 'Լենինգրադյան', 'Կիևյան', - ]; - - protected static $addressFormats = [ - '{{region}} {{regionSuffix}}, {{cityPrefix}} {{city}}, {{street}} {{buildingNumber}} {{streetPrefix}}, {{postcode}}', - ]; - - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } - - public function address() - { - $format = static::randomElement(static::$addressFormats); - - return $this->generator->parse($format); - } - - public static function country() - { - return static::randomElement(static::$country); - } - - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } - - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } - - public static function region() - { - return static::randomElement(static::$region); - } - - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - public function city() - { - return static::randomElement(static::$city); - } - - public function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'քաղաք', 'գյուղ' ]; + + protected static $regionSuffix = [ 'մարզ' ]; + protected static $streetPrefix = [ 'փողոց' ]; + + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ '00##' ]; + protected static $country = [ + 'Մոնակո', + 'Սինգապուր', + 'Վատիկան', + 'Մալդիվներ', + 'Մալթա', + 'Բահրեյն', + 'Բանգլադեշ', + 'Բարբադոս', + 'Չինաստանի Հանրապետություն', + 'Սան Մարինո', + 'Հարավային Կորեա', + 'Նիդերլանդներ', + 'Լիբանան', + 'Մարշալյան կղզիներ', + 'Հնդկաստան', + 'Կոմորներ', + 'Իսրայել', + 'Բուրունդի', + 'Հաիթի', + 'Բելգիա', + 'Ճապոնիա', + 'Ֆիլիպիններ', + 'Շրի Լանկա', + 'Գրենադա', + 'Սալվադոր', + 'Վիետնամ', + 'Ճամայկա', + 'Անգլիա', + 'Տրինիդադ և Տոբագո', + 'Գերմանիա', + 'Պակիստան', + 'Նեպալ', + 'Դոմինիկանա', + 'Անտիգուա և Բարբուդա', + 'Իտալիա', + 'Լյուքսեմբուրգ', + 'Շվեյցարիա', + 'Անդորրա', + 'Նիգերիա', + 'Գամբիա', + 'Քուվեյթ', + 'Միկրոնեզիա', + 'Ուգանդա', + 'Չինաստան', + 'Թաիլանդ', + 'Մալավի', + 'Չեխիա', + 'Մոլդովա', + 'Դանիա', + 'Ինդոնեզիա', + 'Գվատեմալա', + 'Լեհաստան', + 'Սիրիա', + 'Կիպրոս', + 'Ֆրանսիա', + 'Պորտուգալիա', + 'Տոգո', + 'Սլովակիա', + 'Հունգարիա', + 'Ալբանիա', + 'Կուբա', + 'Գանա', + 'Հայաստան', + 'Թուրքիա', + 'Սլովենիա', + 'Ավստրիա', + 'Ադրբեջան', + 'Սերբիա', + 'Ռումինիա', + 'Իսպանիա', + 'Բոսնիա և Հերցեգովինա', + 'Կոստա Ռիկա', + 'Մալայզիա', + 'Մակեդոնիա', + 'Հունաստան', + 'Եգիպտոս', + 'Կամբոջա', + 'Բենին', + 'Եթովպիա', + 'Խորվաթիա', + 'Բիրմա', + 'Սվազիլենդ', + 'Արևելյան Թիմոր', + 'Ուկրաինա', + 'Սիերա Լեոնե', + 'Մարոկո', + 'Հոնդուրաս', + 'Հորդանան', + 'Քենիա', + 'Բրունեյ', + 'Իրաք', + 'Վրաստան', + 'Թունիս', + 'Բուլղարիա', + 'Սենեգալ', + 'Ուզբեկստան', + 'Բուրկինա Ֆասո', + 'Մեքսիկա', + 'Լիտվա', + 'Տաջիկստան', + 'Էկվադոր', + 'Ֆիջի', + 'Էրիթրեա', + 'Իրան', + 'Բելառուս', + 'Նիկարագուա', + 'Աֆղանստան', + 'Պալաու', + 'Եմեն', + 'Տանզանիա', + 'Պանամա', + 'Գվինեա', + 'Կամերուն', + 'Հարավային Աֆրիկա', + 'Կոլումբիա', + 'Մադագասկար', + 'Լատվիա', + 'Լիբերիա', + 'Կոնգո', + 'Զիմբաբվե', + 'Վենեսուելա', + 'Էստոնիա', + 'Մոզամբիկ', + 'Լաոս', + 'Բրազիլիա', + 'Պերու', + 'Բահամներ', + 'Չիլի', + 'Շվեդիա', + 'Ուրուգվայ', + 'Վանուատու', + 'Բութան', + 'Զամբիա', + 'Սուդան', + 'Սոմալի', + 'Նոր Զելանդիա', + 'Պարագվայ', + 'Ֆինլանդիա', + 'Արգենտինա', + 'Ալժիր', + 'Նորվեգիա', + 'Բելիզ', + 'Հարավային Սուդան', + 'Մալի', + 'Անգոլա', + 'Թուրքմենստան', + 'Օման', + 'Բոլիվիա', + 'Ռուսաստան', + 'Գաբոն', + 'Ղազախստան', + 'Լիբիա', + 'Գայանա', + 'Կանադա', + 'Բոտսվանա', + 'Մավրիտանիա', + 'Իսլանդիա', + 'Սուրինամ', + 'Ավստրալիա', + 'Նամիբիա', + 'Մոնղոլիա', + ]; + + protected static $region = [ + 'Արագածոտնի', + 'Արարատի', + 'Արմավիրի', + 'Գեղարքունիքի', + 'Լոռու', + 'Կոտայքի', + 'Շիրակի', + 'Սյունիքի', + 'Վայոց Ձորի', + 'Տավուշի', + ]; + + protected static $city = [ + 'Աբովյան', + 'Ագարակ', + 'Ալավերդի', + 'Ախթալա', + 'Այրում', + 'Աշտարակ', + 'Ապարան', + 'Արարատ', + 'Արթիկ', + 'Արմավիր', + 'Արտաշատ', + 'Բերդ', + 'Բյուրեղավան', + 'Գավառ', + 'Գյումրի', + 'Գորիս', + 'Դաստակերտ', + 'Դիլիջան', + 'Եղեգնաձոր', + 'Եղվարդ', + 'Երևան', + 'Էջմիածին', + 'Թալին', + 'Թումանյան', + 'Իջևան', + 'Ծաղկաձոր', + 'Կապան', + 'Հրազդան', + 'Ճամբարակ', + 'Մասիս', + 'Մարալիկ', + 'Մարտունի', + 'Մեծամոր', + 'Մեղրի', + 'Նոր', + 'Նոյեմբերյան', + 'Շամլուղ', + 'Չարենցավան', + 'Ջերմուկ', + 'Սիսիան', + 'Սպիտակ', + 'Ստեփանավան', + 'Սևան', + 'Վայք', + 'Վանաձոր', + 'Վարդենիս', + 'Վեդի', + 'Տաշիր', + 'Քաջարան', + ]; + + protected static $street = [ + 'Պուշկին', + 'Տերյան', + 'Աբովյան', + 'Ագաթանգեղոս', + 'Անդրանիկ', + 'Օտյան', + 'Լուկաշին', + 'Տիչինա', + 'Շինարարներ', + 'Լենինգրադյան', + 'Կիևյան', + ]; + + protected static $addressFormats = [ + '{{region}} {{regionSuffix}}, {{cityPrefix}} {{city}}, {{street}} {{buildingNumber}} {{streetPrefix}}, {{postcode}}', + ]; + + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } + + public function address() { + $format = static::randomElement( static::$addressFormats ); + + return $this->generator->parse( $format ); + } + + public static function country() { + return static::randomElement( static::$country ); + } + + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } + + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } + + public static function region() { + return static::randomElement( static::$region ); + } + + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + public function city() { + return static::randomElement( static::$city ); + } + + public function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Color.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Color.php index ebdda0d..0e99f51 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Color.php @@ -2,11 +2,18 @@ namespace Faker\Provider\hy_AM; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'սև', 'դեղին', 'սպիտակ', 'մոխրագույն', 'կարմիր', - 'կապույտ', 'երկնագույն', 'կանաչ', 'կապտականաչ', - 'մանուշակագույն', 'շագանակագույն', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'սև', + 'դեղին', + 'սպիտակ', + 'մոխրագույն', + 'կարմիր', + 'կապույտ', + 'երկնագույն', + 'կանաչ', + 'կապտականաչ', + 'մանուշակագույն', + 'շագանակագույն', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Company.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Company.php index 87f1ed1..c70ff29 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Company.php @@ -2,55 +2,52 @@ namespace Faker\Provider\hy_AM; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} եղբայրներ', - ]; - - protected static $catchPhraseWords = [ - - ]; - - protected static $bsWords = [ - - ]; - - protected static $companySuffix = ['ՍՊԸ', 'և որդիներ', 'ՓԲԸ', 'ԲԲԸ']; - - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; - - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } - - return implode(' ', $result); - } - - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; - - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } - - return implode(' ', $result); - } +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} եղբայրներ', + ]; + + protected static $catchPhraseWords = [ + + ]; + + protected static $bsWords = [ + + ]; + + protected static $companySuffix = [ 'ՍՊԸ', 'և որդիներ', 'ՓԲԸ', 'ԲԲԸ' ]; + + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; + + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } + + return implode( ' ', $result ); + } + + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; + + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } + + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Internet.php index 64f24fa..e68e404 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\hy_AM; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'yandex.ru', 'mail.ru', 'mail.am']; - protected static $tld = ['com', 'com', 'am', 'am', 'am', 'net', 'org', 'ru', 'am', 'am', 'am']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'yandex.ru', 'mail.ru', 'mail.am' ]; + protected static $tld = [ 'com', 'com', 'am', 'am', 'am', 'net', 'org', 'ru', 'am', 'am', 'am' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Person.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Person.php index c110a44..98d0be1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/Person.php @@ -2,109 +2,902 @@ namespace Faker\Provider\hy_AM; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + ]; - /** - * @see http://www.armeniapedia.org/wiki/Armenian_Male_Names - */ - protected static $firstNameMale = [ - 'Աբգար', 'Աբէլ', 'Ազատ', 'Ազնաւուր', 'Ազնուական', 'Ալիշան', 'Ակնունի', 'Աղան', 'Աղասի', 'Ամարաս', 'Այգեկ', 'Անակ', - 'Անդրանիկ', 'Անուշաւան', 'Աշոտ', 'Ապիրատ', 'Արանձեր', 'Առատ', 'Արաքել', 'Առէն', 'Առուծ', 'Աժնակ', 'Ասողիկ', 'Ասպետ', 'Աստուածատուր', - 'Ասատուր', 'Ատուր', 'Ատրուշան', 'Արա', 'Արագած', 'Արայիկ', 'Արամ', 'Արամազդ', 'Արամայիս', 'Արարատ', 'Արբուն', 'Արէգ', 'Արեւ', 'Արուշատ', - 'Արէտ', 'Արթուն', 'Արի', 'Արիստակես', 'Արծիւ', 'Արծրունի', 'Արծան', 'Արման', 'Արմենակ', 'Արմեն', 'Արշակ', 'Արշաւիր', 'Արշէն', 'Արսէն', 'Արտակ', - 'Արտաշէս', 'Արտաւազդ', 'Արտաւան', 'Արտեմ', 'Արտոյտ', 'Արտոս', 'Արփիար', 'Արքայ', 'Աւագ', 'Աւարայր', 'Աւետ', 'Աւետիք', 'Աւետիս', 'Աւո', 'Բաբաջան', - 'Բաբգէն', 'Բագարատ', 'Բագին', 'Բագրատ', 'Բազէ', 'Բազուկ', 'Բալիկ', 'Բակուր', 'Բանիկ', 'Բաշխի', 'Բարիք', 'Բարթուղիմէոս', 'Բարունակ', 'Բարսեղ', 'Բեգլար', - 'Բենիկ', 'Բեդրակ', 'Բիւզանդ', 'Բիւրատ', 'Բիւրակ', 'Գագիկ', 'Գալէ', 'Գալուստ', 'Գալիկ', 'Գալօ', 'Գամար', 'Գանձ', 'Գառնիկ', 'Գասպար', 'Գարեգին', - 'Գեղամ', 'Գեղարդ', 'Գեղօն', 'Գերսամ', 'Գէորգ', 'Գինդ', 'Գիսակ', 'Գիւտ', 'Գլակ', 'Գնէլ', 'Գոռ', 'Գորիս', 'Գուսան', 'Գուրգէն', 'Գրգուռ', - 'Գրիգոր', 'Գրիգորիս', 'Դանիէլ', 'Դաւթակ', 'Դաւիթ', 'Դերենիկ', 'Դիւցազն', 'Դրաստամատ', 'Դրո', 'Դուին', 'Եդուարդ', 'Եզնիկ', 'Եզր', 'Եղիա', 'Եղիշէ', - 'Եղիվարդ', 'Ենովք', 'Եսայի', 'Երեմիա', 'Երկաթ', 'Երուանդ', 'Երջանիկ', 'Եփրատ', 'Եփրեմ', 'Զատիկ', 'Զարեհ', 'Զարեւանդ', 'Զարմայր', 'Զարմիկ', 'Զաւեն', - 'Զաքարիա', 'Զաքարէ', 'Զգօն', 'Զենոր', 'Զինուոր', 'Զոհրապ', 'Զօրավար', 'Զօրայր', 'Էմմանուէլ', 'Ընձակ', 'Թագաւոր', 'Թադէոս', 'Թադէ', 'Թաթիկ', 'Թաթուլ', - 'Թոռնիկ', 'Թորգոմ', 'Թովմաս', 'Թորոս', 'Թուխայր', 'Թուխիկ', 'Ժիրայր', 'Իմաստուն', 'Իշխան', 'Իսահակ', 'Լամբրոն', 'Լեւոն', 'Լեռնիկ', 'Լիպարիտ', 'Լոյս', - 'Լոռիս', 'Խադ', 'Խաժակ', 'Խաչատուր', 'Խաչերես', 'Խաչիկ', 'Խոյանք', 'Խոսրով', 'Խորէն', 'Ծամհուր', 'Ծատուր', 'Ծերուն', 'Կամսարական', 'Կամո', 'Կայծակ', - 'Կայծան', 'Կանդ', 'Կարապետ', 'Կարօ', 'Կարէն', 'Կարիկ', 'Կարին', 'Կարպիս', 'Կիլիկիա', 'Կիրակոս', 'Կիւրեղ', 'Կոմիտաս', 'Կոստան', 'Կոստանդին', 'Կորիւն', - 'Կտրիճ', 'Հազարապետ', 'Համազասպ', 'Համբարձում', 'Համբիկ', 'Համլիկ', 'Հայաստան', 'Հայդուկ', 'Հայկ', 'Հայկազն', 'Հայկազուն', 'Հայկակ', 'Հայկասէր', 'Հայկաշէն', 'Հայկարամ', - 'Հայոց', 'Հայրապէտ', 'Հայրենիք', 'Հայրիկ', 'Հեթում', 'Հերոս', 'Հմայեակ', 'Հովիկ', 'Հրազդան', 'Հրահատ', 'Հրայր', 'Հրանդ', 'Հրաշեայ', 'Ձագիկ', 'Ղազարոս', - 'Ղարիպ', 'Ղեւոնդ', 'Ղուկաս', 'Ճանիկ', 'Մաթիկ', 'Մալխաս', 'Մակար', 'Մաղաքիա', 'Մամբրէ', 'Մամիկոն', 'Մայիս', 'Մանասէ', 'Մանուէլ', 'Մանուկ', 'Մաշտոց', - 'Մասիս', 'Մատթէոս', 'Մարգար', 'Մարզպէտ', 'Մարկոս', 'Մարտիկ', 'Մարտիրոս', 'Մելիք', 'Մելքոն', 'Մեղրիկ', 'Մեխակ', 'Մեծարենց', 'Մեսրոպ', 'Մերուժան', 'Մժէժ', - 'Միհրան', 'Միհրդատ', 'Մինաս', 'Միսակ', 'Միւռոն', 'Միքայէլ', 'Մլէհ', 'Մխիթար', 'Մկրտիչ', 'Մհեր', 'Մնացական', 'Մնձուր', 'Մոմիկ', 'Մովսէս', 'Մոսիկ', - 'Մուշեղ', 'Մուրատ', 'Յաբէթ', 'Յակոբ', 'Յարութ', 'Յարութիւն', 'Յարօ', 'Յոյս', 'Յովակ', 'Յովակիմ', 'Յովհաննէս', 'Յովհան', 'Յովիկ', 'Յովնաթան', 'Յովնան', - 'Յովսէփ', 'Յուիկ', 'Նազարէթ', 'Նահապետ', 'Նար', 'Նարդունի', 'Նարեկ', 'Նաւասարդ', 'Ներսեհ', 'Ներսէս', 'Նժդեհ', 'ՆԻկոլ', 'ՆԻկողոս', 'Նշան', 'Նորազն', - 'Նորայր', 'Նորիկ', 'Նորհատ', 'Նորվան', 'Նուպար', 'Նպատ', 'Շարան', 'Շահան', 'Շահէ', 'Շահէն', 'Շահիկ', 'Շահնուր', 'Շանթ', 'Շապուհ', 'Շատարեւ', - 'Շարա', 'Շաւասպ', 'Շաւարշ', 'Շէն', 'Շիրազ', 'Շիրակ', 'Շմաւոն', 'Շնորհալի', 'Շնորհք', 'Ոսկան', 'Ոսկեբարան', 'Ոստան', 'Որդի', 'Որոտան', 'Չարենց', - 'Պալիկ', 'Պաղտասար', 'Պաղտիկ', 'Պաղտօ', 'Պապիկ', 'Պատուական', 'Պատրիկ', 'Պարգեւ', 'Պարէտ', 'Պարթեւ', 'Պարոյր', 'Պետրոս', 'Պեպո', 'Պերճ', 'Պռոշ', - 'Պսակ', 'Պօղոս', 'Ռազմիկ', 'Ռաֆայէլ', 'Ռոստոմ', 'Ռուբէն', 'Սահակ', 'Սամուէլ', 'Սամսոն', 'Սանասար', 'Սանատրուկ', 'Սասուն', 'Սարգիս', 'Սագօ', 'Սարգօ', - 'Սահրատ', 'Սարօ', 'Սեդրակ', 'Սեպուհ', 'Սերոբ', 'Սերովբէ', 'Սերօ', 'Սեւակ', 'Սեւան', 'Սէթ', 'Սիմէոն', 'Սիմոն', 'Սիոն', 'Սիսակ', 'Սիրական', - 'Սիրաք', 'Սիփան', 'Սլաք', 'Սմբատ', 'Սողոմոն', 'Սուրէն', 'Սուրիկ', 'Սուքիաս', 'Ստեփան', 'Սօս', 'Վազգէն', 'Վազրիկ', 'Վախթանկ', 'Վախտանգ', 'Վահագն', - 'Վահան', 'Վահէ', 'Վահիկ', 'Վահրամ', 'Վահրիճ', 'Վանանդ', 'Վանիկ', 'Վան', 'Վաղարշակ', 'Վաղինակ', 'Վանական', 'Վաչական', 'Վաչագան', 'Վաչէ', - 'Վասակ', 'Վարագ', 'Վարազդատ', 'Վարանդ', 'Վարդ', 'Վարդան', 'Վարդավառ', 'Վարդգես', 'Վարդերես', 'Վարուժան', 'Վիգէն', 'Վերածին', 'Վէմ', 'Վռամշապուհ', 'Վրէժ', - 'Վրթանէս', 'Վրոյր', 'Տաթեւ', 'Տաճատ', 'Տատուր', 'Տարօն', 'Տաւրոս', 'Տէրուն', 'Տիգրան', 'Տիրազան', 'Տիրայր', 'Տիրան', 'Տիրատուր', 'Տիրիթ', 'Տորք', - 'Տրդատ', 'Տօնապետ', 'ՐաՖՖի', 'Ցաւակ', 'Ցոլակ', 'Փայլակ', 'Փանիկ', 'Փանոս', 'Փառէն', 'Փառնակ', 'Փարամազ', 'Փիլիպպոս', 'Քաջիկ', 'Քաջազուն', 'Քաջազօր', - 'Քաջայր', 'Քերովբէ', 'Քրիստափոր', 'Օգսէն', 'Օհան', 'Օնէ', 'Օննիկ', 'Օշին', 'Օշական', 'Օտա', - ]; + /** + * @see http://www.armeniapedia.org/wiki/Armenian_Male_Names + */ + protected static $firstNameMale = [ + 'Աբգար', + 'Աբէլ', + 'Ազատ', + 'Ազնաւուր', + 'Ազնուական', + 'Ալիշան', + 'Ակնունի', + 'Աղան', + 'Աղասի', + 'Ամարաս', + 'Այգեկ', + 'Անակ', + 'Անդրանիկ', + 'Անուշաւան', + 'Աշոտ', + 'Ապիրատ', + 'Արանձեր', + 'Առատ', + 'Արաքել', + 'Առէն', + 'Առուծ', + 'Աժնակ', + 'Ասողիկ', + 'Ասպետ', + 'Աստուածատուր', + 'Ասատուր', + 'Ատուր', + 'Ատրուշան', + 'Արա', + 'Արագած', + 'Արայիկ', + 'Արամ', + 'Արամազդ', + 'Արամայիս', + 'Արարատ', + 'Արբուն', + 'Արէգ', + 'Արեւ', + 'Արուշատ', + 'Արէտ', + 'Արթուն', + 'Արի', + 'Արիստակես', + 'Արծիւ', + 'Արծրունի', + 'Արծան', + 'Արման', + 'Արմենակ', + 'Արմեն', + 'Արշակ', + 'Արշաւիր', + 'Արշէն', + 'Արսէն', + 'Արտակ', + 'Արտաշէս', + 'Արտաւազդ', + 'Արտաւան', + 'Արտեմ', + 'Արտոյտ', + 'Արտոս', + 'Արփիար', + 'Արքայ', + 'Աւագ', + 'Աւարայր', + 'Աւետ', + 'Աւետիք', + 'Աւետիս', + 'Աւո', + 'Բաբաջան', + 'Բաբգէն', + 'Բագարատ', + 'Բագին', + 'Բագրատ', + 'Բազէ', + 'Բազուկ', + 'Բալիկ', + 'Բակուր', + 'Բանիկ', + 'Բաշխի', + 'Բարիք', + 'Բարթուղիմէոս', + 'Բարունակ', + 'Բարսեղ', + 'Բեգլար', + 'Բենիկ', + 'Բեդրակ', + 'Բիւզանդ', + 'Բիւրատ', + 'Բիւրակ', + 'Գագիկ', + 'Գալէ', + 'Գալուստ', + 'Գալիկ', + 'Գալօ', + 'Գամար', + 'Գանձ', + 'Գառնիկ', + 'Գասպար', + 'Գարեգին', + 'Գեղամ', + 'Գեղարդ', + 'Գեղօն', + 'Գերսամ', + 'Գէորգ', + 'Գինդ', + 'Գիսակ', + 'Գիւտ', + 'Գլակ', + 'Գնէլ', + 'Գոռ', + 'Գորիս', + 'Գուսան', + 'Գուրգէն', + 'Գրգուռ', + 'Գրիգոր', + 'Գրիգորիս', + 'Դանիէլ', + 'Դաւթակ', + 'Դաւիթ', + 'Դերենիկ', + 'Դիւցազն', + 'Դրաստամատ', + 'Դրո', + 'Դուին', + 'Եդուարդ', + 'Եզնիկ', + 'Եզր', + 'Եղիա', + 'Եղիշէ', + 'Եղիվարդ', + 'Ենովք', + 'Եսայի', + 'Երեմիա', + 'Երկաթ', + 'Երուանդ', + 'Երջանիկ', + 'Եփրատ', + 'Եփրեմ', + 'Զատիկ', + 'Զարեհ', + 'Զարեւանդ', + 'Զարմայր', + 'Զարմիկ', + 'Զաւեն', + 'Զաքարիա', + 'Զաքարէ', + 'Զգօն', + 'Զենոր', + 'Զինուոր', + 'Զոհրապ', + 'Զօրավար', + 'Զօրայր', + 'Էմմանուէլ', + 'Ընձակ', + 'Թագաւոր', + 'Թադէոս', + 'Թադէ', + 'Թաթիկ', + 'Թաթուլ', + 'Թոռնիկ', + 'Թորգոմ', + 'Թովմաս', + 'Թորոս', + 'Թուխայր', + 'Թուխիկ', + 'Ժիրայր', + 'Իմաստուն', + 'Իշխան', + 'Իսահակ', + 'Լամբրոն', + 'Լեւոն', + 'Լեռնիկ', + 'Լիպարիտ', + 'Լոյս', + 'Լոռիս', + 'Խադ', + 'Խաժակ', + 'Խաչատուր', + 'Խաչերես', + 'Խաչիկ', + 'Խոյանք', + 'Խոսրով', + 'Խորէն', + 'Ծամհուր', + 'Ծատուր', + 'Ծերուն', + 'Կամսարական', + 'Կամո', + 'Կայծակ', + 'Կայծան', + 'Կանդ', + 'Կարապետ', + 'Կարօ', + 'Կարէն', + 'Կարիկ', + 'Կարին', + 'Կարպիս', + 'Կիլիկիա', + 'Կիրակոս', + 'Կիւրեղ', + 'Կոմիտաս', + 'Կոստան', + 'Կոստանդին', + 'Կորիւն', + 'Կտրիճ', + 'Հազարապետ', + 'Համազասպ', + 'Համբարձում', + 'Համբիկ', + 'Համլիկ', + 'Հայաստան', + 'Հայդուկ', + 'Հայկ', + 'Հայկազն', + 'Հայկազուն', + 'Հայկակ', + 'Հայկասէր', + 'Հայկաշէն', + 'Հայկարամ', + 'Հայոց', + 'Հայրապէտ', + 'Հայրենիք', + 'Հայրիկ', + 'Հեթում', + 'Հերոս', + 'Հմայեակ', + 'Հովիկ', + 'Հրազդան', + 'Հրահատ', + 'Հրայր', + 'Հրանդ', + 'Հրաշեայ', + 'Ձագիկ', + 'Ղազարոս', + 'Ղարիպ', + 'Ղեւոնդ', + 'Ղուկաս', + 'Ճանիկ', + 'Մաթիկ', + 'Մալխաս', + 'Մակար', + 'Մաղաքիա', + 'Մամբրէ', + 'Մամիկոն', + 'Մայիս', + 'Մանասէ', + 'Մանուէլ', + 'Մանուկ', + 'Մաշտոց', + 'Մասիս', + 'Մատթէոս', + 'Մարգար', + 'Մարզպէտ', + 'Մարկոս', + 'Մարտիկ', + 'Մարտիրոս', + 'Մելիք', + 'Մելքոն', + 'Մեղրիկ', + 'Մեխակ', + 'Մեծարենց', + 'Մեսրոպ', + 'Մերուժան', + 'Մժէժ', + 'Միհրան', + 'Միհրդատ', + 'Մինաս', + 'Միսակ', + 'Միւռոն', + 'Միքայէլ', + 'Մլէհ', + 'Մխիթար', + 'Մկրտիչ', + 'Մհեր', + 'Մնացական', + 'Մնձուր', + 'Մոմիկ', + 'Մովսէս', + 'Մոսիկ', + 'Մուշեղ', + 'Մուրատ', + 'Յաբէթ', + 'Յակոբ', + 'Յարութ', + 'Յարութիւն', + 'Յարօ', + 'Յոյս', + 'Յովակ', + 'Յովակիմ', + 'Յովհաննէս', + 'Յովհան', + 'Յովիկ', + 'Յովնաթան', + 'Յովնան', + 'Յովսէփ', + 'Յուիկ', + 'Նազարէթ', + 'Նահապետ', + 'Նար', + 'Նարդունի', + 'Նարեկ', + 'Նաւասարդ', + 'Ներսեհ', + 'Ներսէս', + 'Նժդեհ', + 'ՆԻկոլ', + 'ՆԻկողոս', + 'Նշան', + 'Նորազն', + 'Նորայր', + 'Նորիկ', + 'Նորհատ', + 'Նորվան', + 'Նուպար', + 'Նպատ', + 'Շարան', + 'Շահան', + 'Շահէ', + 'Շահէն', + 'Շահիկ', + 'Շահնուր', + 'Շանթ', + 'Շապուհ', + 'Շատարեւ', + 'Շարա', + 'Շաւասպ', + 'Շաւարշ', + 'Շէն', + 'Շիրազ', + 'Շիրակ', + 'Շմաւոն', + 'Շնորհալի', + 'Շնորհք', + 'Ոսկան', + 'Ոսկեբարան', + 'Ոստան', + 'Որդի', + 'Որոտան', + 'Չարենց', + 'Պալիկ', + 'Պաղտասար', + 'Պաղտիկ', + 'Պաղտօ', + 'Պապիկ', + 'Պատուական', + 'Պատրիկ', + 'Պարգեւ', + 'Պարէտ', + 'Պարթեւ', + 'Պարոյր', + 'Պետրոս', + 'Պեպո', + 'Պերճ', + 'Պռոշ', + 'Պսակ', + 'Պօղոս', + 'Ռազմիկ', + 'Ռաֆայէլ', + 'Ռոստոմ', + 'Ռուբէն', + 'Սահակ', + 'Սամուէլ', + 'Սամսոն', + 'Սանասար', + 'Սանատրուկ', + 'Սասուն', + 'Սարգիս', + 'Սագօ', + 'Սարգօ', + 'Սահրատ', + 'Սարօ', + 'Սեդրակ', + 'Սեպուհ', + 'Սերոբ', + 'Սերովբէ', + 'Սերօ', + 'Սեւակ', + 'Սեւան', + 'Սէթ', + 'Սիմէոն', + 'Սիմոն', + 'Սիոն', + 'Սիսակ', + 'Սիրական', + 'Սիրաք', + 'Սիփան', + 'Սլաք', + 'Սմբատ', + 'Սողոմոն', + 'Սուրէն', + 'Սուրիկ', + 'Սուքիաս', + 'Ստեփան', + 'Սօս', + 'Վազգէն', + 'Վազրիկ', + 'Վախթանկ', + 'Վախտանգ', + 'Վահագն', + 'Վահան', + 'Վահէ', + 'Վահիկ', + 'Վահրամ', + 'Վահրիճ', + 'Վանանդ', + 'Վանիկ', + 'Վան', + 'Վաղարշակ', + 'Վաղինակ', + 'Վանական', + 'Վաչական', + 'Վաչագան', + 'Վաչէ', + 'Վասակ', + 'Վարագ', + 'Վարազդատ', + 'Վարանդ', + 'Վարդ', + 'Վարդան', + 'Վարդավառ', + 'Վարդգես', + 'Վարդերես', + 'Վարուժան', + 'Վիգէն', + 'Վերածին', + 'Վէմ', + 'Վռամշապուհ', + 'Վրէժ', + 'Վրթանէս', + 'Վրոյր', + 'Տաթեւ', + 'Տաճատ', + 'Տատուր', + 'Տարօն', + 'Տաւրոս', + 'Տէրուն', + 'Տիգրան', + 'Տիրազան', + 'Տիրայր', + 'Տիրան', + 'Տիրատուր', + 'Տիրիթ', + 'Տորք', + 'Տրդատ', + 'Տօնապետ', + 'ՐաՖՖի', + 'Ցաւակ', + 'Ցոլակ', + 'Փայլակ', + 'Փանիկ', + 'Փանոս', + 'Փառէն', + 'Փառնակ', + 'Փարամազ', + 'Փիլիպպոս', + 'Քաջիկ', + 'Քաջազուն', + 'Քաջազօր', + 'Քաջայր', + 'Քերովբէ', + 'Քրիստափոր', + 'Օգսէն', + 'Օհան', + 'Օնէ', + 'Օննիկ', + 'Օշին', + 'Օշական', + 'Օտա', + ]; - /** - * @see http://www.armeniapedia.org/wiki/Armenian_Female_Names - */ - protected static $firstNameFemale = [ - 'Ազատուհի', 'Ազգանոյշ', 'Ազնիւ', 'Ալիծ', 'Ալին', 'Ալիս', 'Ալիք', 'Ալվարդ', 'Աղաւնի', 'Աղբիւր', 'Աղուոր', 'Ամանոր', 'Այծեամ', 'Այծեմնիկ', - 'Ալծիկ', 'Այտա', 'Անահիտ', 'Անայիս', 'Անգինէ', 'Անթառամ', 'Անի', 'Աննա', 'Աննիկ', 'Անծրեւիկ', 'Աննման', 'Անոյշ', 'Աշխէն', 'Աստղիկ', - 'Ատրինէ', 'Արազ', 'Արաքս', 'Արաքսի', 'Արեգնազ', 'Արեգնազան', 'Արեւիկ', 'Արեւահատ', 'Արծնի', 'Արծուիկ', 'Արմենուհի', 'Արմենուշ', - 'Արմիկ', 'Արմինէ', 'Արշալոյս', 'Արշակուհի', 'Արուսեակ', 'Արսինէ', 'Արտա', 'Արտեմիս', 'Արփա', 'Արփենիկ', 'Արփի', 'Արփիկ', 'Արփինէ', 'Արման', - 'Բագինէ', 'Բալենի', 'Բալասան', 'Բարի', 'Բարուհի', 'Բաւական', 'Բերկրուհի', 'Բերսարէ', 'Բիւրական', 'Բիւրեղ', 'Բուրաստան', 'Բրաբիոն', 'Գայիանէ', 'Գարիկ', 'Գարուն', - 'Գեղանի', 'Գեղածին', 'Գեղանոյշ', 'Գեղուշ', 'Գեղեցիկ', 'Գեղուհի', 'Գինեվարդ', 'Գոհար', 'Դալար', 'Դարուհի', 'Դափնի', 'Դեղձանիկ', 'Դիլիջան', 'Դշխոյ', 'Դշխուհի', - 'Դշխուն', 'Դստրիկ', 'Եար', 'Եթեր', 'Եղիսաբէթ', 'Եղնիկ', 'Եսթեր', 'Երազ', 'Երանիկ', 'Երանուհի', 'Երասխ', 'Երատոյ', 'Երջանիկ', 'Երջանկուհի', 'Եւա', - 'Եւգինէ', 'Եւփիմէ', 'Եփրուհի', 'Զանազան', 'Զապէլ', 'Զարդար', 'Զարիկ', 'Զարմանդուխտ', 'Զարմինէ', 'Զարմուհի', 'Զարուհի', 'Զարվարդ', 'Զեփիւր', 'Զմրուխտ', 'Զուարթ', - 'Զուլալ', 'Զօրա', 'Էլիզա', 'Էմմա', 'Էօժէնի', 'Ըղցանոյշ', 'Ընծայ', 'Ընձանոյշ', 'Ընտրելի', 'Թագուհի', 'Թալին', 'Թամար', 'Թամար', 'Թանկագին', - 'Թիթեռ', 'Թուխծամ', 'Ժպտուհի', 'Ինաստուհի', 'Ինա', 'Իշխանուհի', 'Իսկուհի', 'Իսկուկ', 'Իւղաբեր', 'Լալակ', 'Լասիա', 'Լալիկ', 'Լենա', 'Լեւոնթին', - 'Լիլի', 'Լիւսիա', 'Լոյս', 'Լորգի', 'Լորիկ', 'Լուսաբեր', 'Լուսածին', 'Լուսերես', 'Լուսիկ', 'Լուսին', 'Լուսինէ', 'Լուսնակ', 'Լուսնթագ', 'Լուսվարդ', - 'Խաթուն', 'Խաչուհի', 'Խնկենի', 'Խոնարհ', 'Խոսրովանոյշ', 'Խոսրովիդուխտ', 'Խորոտիկ', 'Խումար', 'Ծաղկանոյշ', 'Ծաղիկ', 'Ծաղկոտն', 'Ծիա', 'Ծիածան', 'Ծիլեր', 'Ծովակ', - 'Ծովինար', 'Ծովաչ', 'Ծովիկ', 'Կակաչ', 'Կասիա', 'Կատար', 'Կատարինէ', 'Կարինէ', 'Կաքաւիկ', 'Կարսինէ', 'Կուսինէ', 'Հազարվարդ', 'Համասփիւռ', 'Համաստուհի', - 'Հայարփի', 'Հայկանոյշ', 'Հայկուհի', 'Հեղինէ', 'Հերազանդ', 'Հերա', 'Հերանոյշ', 'Հերմինէ', 'Հնազանդ', 'Հուրի', 'Հուրիկ', 'Հռիփսիմէ', 'Հռութ', 'Հրանդուհի', - 'Հրանոյշ', 'Հրավարդ', 'Հրեղէն', 'Հրենիկ', 'Ձագուկ', 'Ձնծաղիկ', 'Ձուիկ', 'Մակի', 'Մամէ', 'Մամիկ', 'Մայտա', 'Մայրանոյշ', 'Մայրենի', 'Մայրի', 'Մանէ', - 'Մանիշակ', 'Մաննիկ', 'Մանուշակ', 'Մատլէն', 'Մարալ', 'Մարգարիտ', 'Մարկո', 'Մարթա', 'Մարի', 'Մարիամ', 'Մարօ', 'Մարիանէ', 'Մարինէ', 'Մարմար', 'Մաքրինէ', - 'Մաքրուհի', 'Մելինէ', 'Մեղեդի', 'Մեղուշ', 'Մեղրանոյշ', 'Մենտուհի', 'Մենիկ', 'Մինա', 'Յակինթ', 'Յաղթուհի', 'Յասմիկ', 'Յաւերժ', 'Յուլիանէ', 'Յուսինէ', 'Նազանի', - 'Նազելի', 'Նազենիկ', 'Նազիկ', 'Նազուկ', 'Նայիրա', 'Նայիրի', 'Նախշուն', 'Նանար', 'Նանէ', 'Նանիկ', 'Նանօր', 'Նարդուհի', 'Նարէ', 'Նարինէ', 'Նեկտար', - 'Նինա', 'Նոյեմի', 'Նորա', 'Նուարդ', 'Նուէր', 'Նունէ', 'Նունուֆար', 'Նուշիկ', 'Նուրիձա', 'Շաղիկ', 'Շահանդուխտ', 'Շահանիկ', 'Շահանի', 'Շամամ', 'Շամիրամ', - 'Շարմաղ', 'Շաքէ', 'Շնորհիկ', 'Շողակաթ', 'Շողեր', 'Շողիկ', 'Շուշան', 'Շուշիկ', 'Շուշօ', 'Ոգուհի', 'Ոսկեթել', 'Ոսկեծամ', 'Ոսկեհատ', 'Ոսկեհեր', 'Ոսկի', - 'Ովսաննա', 'Պայծառ', 'Պերճանոյշ', 'Պերճուհի', 'Ռազմուհի', 'Ռեբեկա', 'Ռիթա', 'Ռուզան', 'Ռուպինա', 'Սաթենիկ', 'Սաթո', 'Սալբի', 'Սահականոյշ', 'Սանահին', - 'Սանան', 'Սանդուխտ', 'Սառա', 'Սեդա', 'Սեւան', 'Սեւանա', 'Սէր', 'Սիրան', 'Սիրանոյշ', 'Սիրոյշ', 'Սիրարփի', 'Սիրուհի', 'Սիրուն', - 'Սիրվարդ', 'Սրբատանոյշ', 'Սոխակ', 'Սողոմէ', 'Սոնա', 'Սոնիա', 'Սոնիկ', 'Սոֆիա', 'Սոֆիկ', 'Սրբուհի', 'Սօսէ', 'Սօսիկ', 'Սօսիւն', 'Վազգանոյշ', 'Վալանդին', - 'Վանէ', 'Վանուհի', 'Վասկանոյշ', 'Վարդանոյշ', 'Վարդուհի', 'Վարդենի', 'Վարդերես', 'Վարդիթեր', 'Վարդինէ', 'Վարսենիկ', 'Վեհանոյշ', 'Վեհանձնուհի', 'Վեհուհի', 'Վերգինէ', 'Վերժին', - 'Վերջալոյս', 'Վրէժուհի', 'Տաթեւիկ', 'Տալիթա', 'Տենչալի', 'Տեսիլ', 'Տիգրանուհի', 'Տիրուկ', 'Տիրուհի', 'Ցօլինէ', 'Ցողիկ', 'Փաթիլ', 'Փայլուն', 'Փառանձեմ', 'Փասիան', - 'Փերուզ', 'Փիւնիկ', 'Քաղրուհի', 'Քնար', 'Քնքուշ', 'Քրիստինէ', - ]; + /** + * @see http://www.armeniapedia.org/wiki/Armenian_Female_Names + */ + protected static $firstNameFemale = [ + 'Ազատուհի', + 'Ազգանոյշ', + 'Ազնիւ', + 'Ալիծ', + 'Ալին', + 'Ալիս', + 'Ալիք', + 'Ալվարդ', + 'Աղաւնի', + 'Աղբիւր', + 'Աղուոր', + 'Ամանոր', + 'Այծեամ', + 'Այծեմնիկ', + 'Ալծիկ', + 'Այտա', + 'Անահիտ', + 'Անայիս', + 'Անգինէ', + 'Անթառամ', + 'Անի', + 'Աննա', + 'Աննիկ', + 'Անծրեւիկ', + 'Աննման', + 'Անոյշ', + 'Աշխէն', + 'Աստղիկ', + 'Ատրինէ', + 'Արազ', + 'Արաքս', + 'Արաքսի', + 'Արեգնազ', + 'Արեգնազան', + 'Արեւիկ', + 'Արեւահատ', + 'Արծնի', + 'Արծուիկ', + 'Արմենուհի', + 'Արմենուշ', + 'Արմիկ', + 'Արմինէ', + 'Արշալոյս', + 'Արշակուհի', + 'Արուսեակ', + 'Արսինէ', + 'Արտա', + 'Արտեմիս', + 'Արփա', + 'Արփենիկ', + 'Արփի', + 'Արփիկ', + 'Արփինէ', + 'Արման', + 'Բագինէ', + 'Բալենի', + 'Բալասան', + 'Բարի', + 'Բարուհի', + 'Բաւական', + 'Բերկրուհի', + 'Բերսարէ', + 'Բիւրական', + 'Բիւրեղ', + 'Բուրաստան', + 'Բրաբիոն', + 'Գայիանէ', + 'Գարիկ', + 'Գարուն', + 'Գեղանի', + 'Գեղածին', + 'Գեղանոյշ', + 'Գեղուշ', + 'Գեղեցիկ', + 'Գեղուհի', + 'Գինեվարդ', + 'Գոհար', + 'Դալար', + 'Դարուհի', + 'Դափնի', + 'Դեղձանիկ', + 'Դիլիջան', + 'Դշխոյ', + 'Դշխուհի', + 'Դշխուն', + 'Դստրիկ', + 'Եար', + 'Եթեր', + 'Եղիսաբէթ', + 'Եղնիկ', + 'Եսթեր', + 'Երազ', + 'Երանիկ', + 'Երանուհի', + 'Երասխ', + 'Երատոյ', + 'Երջանիկ', + 'Երջանկուհի', + 'Եւա', + 'Եւգինէ', + 'Եւփիմէ', + 'Եփրուհի', + 'Զանազան', + 'Զապէլ', + 'Զարդար', + 'Զարիկ', + 'Զարմանդուխտ', + 'Զարմինէ', + 'Զարմուհի', + 'Զարուհի', + 'Զարվարդ', + 'Զեփիւր', + 'Զմրուխտ', + 'Զուարթ', + 'Զուլալ', + 'Զօրա', + 'Էլիզա', + 'Էմմա', + 'Էօժէնի', + 'Ըղցանոյշ', + 'Ընծայ', + 'Ընձանոյշ', + 'Ընտրելի', + 'Թագուհի', + 'Թալին', + 'Թամար', + 'Թամար', + 'Թանկագին', + 'Թիթեռ', + 'Թուխծամ', + 'Ժպտուհի', + 'Ինաստուհի', + 'Ինա', + 'Իշխանուհի', + 'Իսկուհի', + 'Իսկուկ', + 'Իւղաբեր', + 'Լալակ', + 'Լասիա', + 'Լալիկ', + 'Լենա', + 'Լեւոնթին', + 'Լիլի', + 'Լիւսիա', + 'Լոյս', + 'Լորգի', + 'Լորիկ', + 'Լուսաբեր', + 'Լուսածին', + 'Լուսերես', + 'Լուսիկ', + 'Լուսին', + 'Լուսինէ', + 'Լուսնակ', + 'Լուսնթագ', + 'Լուսվարդ', + 'Խաթուն', + 'Խաչուհի', + 'Խնկենի', + 'Խոնարհ', + 'Խոսրովանոյշ', + 'Խոսրովիդուխտ', + 'Խորոտիկ', + 'Խումար', + 'Ծաղկանոյշ', + 'Ծաղիկ', + 'Ծաղկոտն', + 'Ծիա', + 'Ծիածան', + 'Ծիլեր', + 'Ծովակ', + 'Ծովինար', + 'Ծովաչ', + 'Ծովիկ', + 'Կակաչ', + 'Կասիա', + 'Կատար', + 'Կատարինէ', + 'Կարինէ', + 'Կաքաւիկ', + 'Կարսինէ', + 'Կուսինէ', + 'Հազարվարդ', + 'Համասփիւռ', + 'Համաստուհի', + 'Հայարփի', + 'Հայկանոյշ', + 'Հայկուհի', + 'Հեղինէ', + 'Հերազանդ', + 'Հերա', + 'Հերանոյշ', + 'Հերմինէ', + 'Հնազանդ', + 'Հուրի', + 'Հուրիկ', + 'Հռիփսիմէ', + 'Հռութ', + 'Հրանդուհի', + 'Հրանոյշ', + 'Հրավարդ', + 'Հրեղէն', + 'Հրենիկ', + 'Ձագուկ', + 'Ձնծաղիկ', + 'Ձուիկ', + 'Մակի', + 'Մամէ', + 'Մամիկ', + 'Մայտա', + 'Մայրանոյշ', + 'Մայրենի', + 'Մայրի', + 'Մանէ', + 'Մանիշակ', + 'Մաննիկ', + 'Մանուշակ', + 'Մատլէն', + 'Մարալ', + 'Մարգարիտ', + 'Մարկո', + 'Մարթա', + 'Մարի', + 'Մարիամ', + 'Մարօ', + 'Մարիանէ', + 'Մարինէ', + 'Մարմար', + 'Մաքրինէ', + 'Մաքրուհի', + 'Մելինէ', + 'Մեղեդի', + 'Մեղուշ', + 'Մեղրանոյշ', + 'Մենտուհի', + 'Մենիկ', + 'Մինա', + 'Յակինթ', + 'Յաղթուհի', + 'Յասմիկ', + 'Յաւերժ', + 'Յուլիանէ', + 'Յուսինէ', + 'Նազանի', + 'Նազելի', + 'Նազենիկ', + 'Նազիկ', + 'Նազուկ', + 'Նայիրա', + 'Նայիրի', + 'Նախշուն', + 'Նանար', + 'Նանէ', + 'Նանիկ', + 'Նանօր', + 'Նարդուհի', + 'Նարէ', + 'Նարինէ', + 'Նեկտար', + 'Նինա', + 'Նոյեմի', + 'Նորա', + 'Նուարդ', + 'Նուէր', + 'Նունէ', + 'Նունուֆար', + 'Նուշիկ', + 'Նուրիձա', + 'Շաղիկ', + 'Շահանդուխտ', + 'Շահանիկ', + 'Շահանի', + 'Շամամ', + 'Շամիրամ', + 'Շարմաղ', + 'Շաքէ', + 'Շնորհիկ', + 'Շողակաթ', + 'Շողեր', + 'Շողիկ', + 'Շուշան', + 'Շուշիկ', + 'Շուշօ', + 'Ոգուհի', + 'Ոսկեթել', + 'Ոսկեծամ', + 'Ոսկեհատ', + 'Ոսկեհեր', + 'Ոսկի', + 'Ովսաննա', + 'Պայծառ', + 'Պերճանոյշ', + 'Պերճուհի', + 'Ռազմուհի', + 'Ռեբեկա', + 'Ռիթա', + 'Ռուզան', + 'Ռուպինա', + 'Սաթենիկ', + 'Սաթո', + 'Սալբի', + 'Սահականոյշ', + 'Սանահին', + 'Սանան', + 'Սանդուխտ', + 'Սառա', + 'Սեդա', + 'Սեւան', + 'Սեւանա', + 'Սէր', + 'Սիրան', + 'Սիրանոյշ', + 'Սիրոյշ', + 'Սիրարփի', + 'Սիրուհի', + 'Սիրուն', + 'Սիրվարդ', + 'Սրբատանոյշ', + 'Սոխակ', + 'Սողոմէ', + 'Սոնա', + 'Սոնիա', + 'Սոնիկ', + 'Սոֆիա', + 'Սոֆիկ', + 'Սրբուհի', + 'Սօսէ', + 'Սօսիկ', + 'Սօսիւն', + 'Վազգանոյշ', + 'Վալանդին', + 'Վանէ', + 'Վանուհի', + 'Վասկանոյշ', + 'Վարդանոյշ', + 'Վարդուհի', + 'Վարդենի', + 'Վարդերես', + 'Վարդիթեր', + 'Վարդինէ', + 'Վարսենիկ', + 'Վեհանոյշ', + 'Վեհանձնուհի', + 'Վեհուհի', + 'Վերգինէ', + 'Վերժին', + 'Վերջալոյս', + 'Վրէժուհի', + 'Տաթեւիկ', + 'Տալիթա', + 'Տենչալի', + 'Տեսիլ', + 'Տիգրանուհի', + 'Տիրուկ', + 'Տիրուհի', + 'Ցօլինէ', + 'Ցողիկ', + 'Փաթիլ', + 'Փայլուն', + 'Փառանձեմ', + 'Փասիան', + 'Փերուզ', + 'Փիւնիկ', + 'Քաղրուհի', + 'Քնար', + 'Քնքուշ', + 'Քրիստինէ', + ]; - protected static $lastName = [ - 'Կարապետյան', 'Ասատրյան', 'Հովսեփյան', 'Մուրադյան', 'Հովհաննիսյան', - 'Աբգարյան', 'Գրիգորյան', 'Կարապետյան', 'Հայրապետյան', 'Ավագյան', - 'Պետրոսյան', 'Պողոսյան', 'Աբդալյան', 'Բադալյան', 'Մելիքյան', 'Մկրտչյան', - 'Դարբինյան', 'Կիրակոսյան', 'Հակոբյան', 'Խաչատրյան', 'Վարդանյան', - 'Համբարձումյան', 'Սարգսյան', - ]; + protected static $lastName = [ + 'Կարապետյան', + 'Ասատրյան', + 'Հովսեփյան', + 'Մուրադյան', + 'Հովհաննիսյան', + 'Աբգարյան', + 'Գրիգորյան', + 'Կարապետյան', + 'Հայրապետյան', + 'Ավագյան', + 'Պետրոսյան', + 'Պողոսյան', + 'Աբդալյան', + 'Բադալյան', + 'Մելիքյան', + 'Մկրտչյան', + 'Դարբինյան', + 'Կիրակոսյան', + 'Հակոբյան', + 'Խաչատրյան', + 'Վարդանյան', + 'Համբարձումյան', + 'Սարգսյան', + ]; - protected static $titleMale = ['Պարոն']; + protected static $titleMale = [ 'Պարոն' ]; - protected static $titleFemale = ['տիկին', 'օրիորդ']; + protected static $titleFemale = [ 'տիկին', 'օրիորդ' ]; - private static $suffix = ['']; + private static $suffix = [ '' ]; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/PhoneNumber.php index c3ee853..f626406 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/hy_AM/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/hy_AM/PhoneNumber.php @@ -2,35 +2,31 @@ namespace Faker\Provider\hy_AM; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $codes = [91, 96, 99, 43, 77, 93, 94, 98, 97, 77, 55, 95, 41, 49]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $codes = [ 91, 96, 99, 43, 77, 93, 94, 98, 97, 77, 55, 95, 41, 49 ]; - protected static $numberFormats = [ - '######', - '##-##-##', - '###-###', - ]; + protected static $numberFormats = [ + '######', + '##-##-##', + '###-###', + ]; - protected static $formats = [ - '0{{code}} {{numberFormat}}', - '(0{{code}}) {{numberFormat}}', - '+374{{code}} {{numberFormat}}', - '+374 {{code}} {{numberFormat}}', - ]; + protected static $formats = [ + '0{{code}} {{numberFormat}}', + '(0{{code}}) {{numberFormat}}', + '+374{{code}} {{numberFormat}}', + '+374 {{code}} {{numberFormat}}', + ]; - public function phoneNumber() - { - return static::numerify($this->generator->parse(static::randomElement(static::$formats))); - } + public function phoneNumber() { + return static::numerify( $this->generator->parse( static::randomElement( static::$formats ) ) ); + } - public function code() - { - return static::randomElement(static::$codes); - } + public function code() { + return static::randomElement( static::$codes ); + } - public function numberFormat() - { - return static::randomElement(static::$numberFormats); - } + public function numberFormat() { + return static::randomElement( static::$numberFormats ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Address.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Address.php index 28dd845..7cff53b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Address.php @@ -2,318 +2,843 @@ namespace Faker\Provider\id_ID; -class Address extends \Faker\Provider\Address -{ - /** - * @see http://bandung.go.id/images/download/daftarruasjalan.htm - * @see https://id.wikipedia.org/wiki/Kategori:Jalan_di_Jakarta - */ - protected static $street = [ - 'Abang', 'Abdul', 'Abdul Muis', 'Abdul Rahmat', 'Abdul. Muis', 'Abdullah', - 'Aceh', 'Achmad', 'Achmad Yani', 'Acordion', 'Adisucipto', - 'Adisumarmo', 'Agus Salim', 'Ahmad Dahlan', 'Antapani Lama', 'Arifin', - 'Asia Afrika', 'Astana Anyar', 'B.Agam 1', 'B.Agam Dlm', 'BKR', - 'Baabur Royan', 'Baan', 'Babadak', 'Babadan', 'Babah', - 'Babakan', 'Bacang', 'Badak', 'Bagas Pati', 'Bagis Utama', - 'Bagonwoto ', 'Bah Jaya', 'Baha', 'Bahagia', 'Bahagia ', - 'Baiduri', 'Baik', 'Baing', 'Baja', 'Baja Raya', - 'Bak Air', 'Bak Mandi', 'Bakaru', 'Bakau', 'Bakau Griya Utama', - 'Bakhita', 'Bakin', 'Bakit ', 'Bakti', 'Baladewa', 'Balikpapan', - 'Bambon', 'Bambu', 'Banal', 'Banceng Pondok', 'Banda', - 'Bank Dagang Negara', 'Bappenas', 'Bara', 'Bara Tambar', 'Baranang', - 'Baranang Siang', 'Baranang Siang Indah', 'Baranangsiang', 'Barasak', 'Barat', - 'Basket', 'Basmol Raya', 'Basoka', 'Basoka Raya', 'Bass', - 'Basudewo', 'Basuki', 'Basuki Rahmat ', 'Bata Putih', 'Batako', - 'Baung', 'Bawal', 'Baya Kali Bungur', 'Bayam', 'Bayan', - 'Bazuka Raya', 'Bhayangkara', 'Camar', 'Casablanca', 'Cemara', - 'Cihampelas', 'Cikapayang', 'Cikutra Barat', 'Cikutra Timur', 'Ciumbuleuit', - 'Ciwastra', 'Cokroaminoto', 'Cut Nyak Dien', 'Daan', 'Dago', - 'Dahlia', 'Dewi Sartika', 'Dipatiukur', 'Dipenogoro', 'Diponegoro', - 'Dr. Junjunan', 'Eka', 'Ekonomi', 'Elang', 'Fajar', - 'Flora', 'Flores', 'Gading', 'Gajah', 'Gajah Mada', - 'Gambang', 'Gardujati', 'Gatot Subroto', 'Gedebage Selatan', 'Gegerkalong Hilir', - 'Gotong Royong', 'Gremet', 'HOS. Cjokroaminoto (Pasirkaliki)', 'Haji', 'Halim', - 'Hang', 'Hasanuddin', 'Hayam Wuruk', 'Honggowongso', 'Ikan', 'Imam', - 'Imam Bonjol', 'Industri', 'Ir. H. Juanda', 'Jagakarsa', 'Jakarta', - 'Jaksa', 'Jambu', 'Jamika', 'Jayawijaya', 'Jend. A. Yani', - 'Jend. Sudirman', 'Juanda', 'K.H. Maskur', 'K.H. Wahid Hasyim (Kopo)', 'Kali', - 'Kalimalang', 'Kalimantan', 'Karel S. Tubun', 'Kartini', 'Katamso', - 'Kebangkitan Nasional', 'Kebonjati', 'Ketandan', 'Ki Hajar Dewantara', - 'Kiaracondong', 'Krakatau', 'Kusmanto', 'Kyai Gede', 'Kyai Mojo', 'Labu', - 'Lada', 'Laksamana', 'Laswi', 'Lembong', 'Lumban Tobing', - 'M.T. Haryono', 'Madiun', 'Madrasah', 'Mahakam', 'Merdeka', - 'Moch. Ramdan', 'Moch. Toha', 'Moch. Yamin', 'Monginsidi', 'Mulyadi', - 'Muwardi', 'Nakula', 'Nanas', 'Nangka', 'Orang', - 'Otista', 'Otto', 'PHH. Mustofa', 'Pacuan Kuda', 'Padang', - 'Padma', 'Pahlawan', 'Panjaitan', 'Pasir Koja', 'Pasirkoja', - 'Pasteur', 'Pattimura', 'Pelajar Pejuang 45', 'Perintis Kemerdekaan', 'Peta', 'Pintu Besar Selatan', - 'Qrisdoren', 'R.E. Martadinata', 'R.M. Said', 'Raden', 'Raden Saleh', - 'Radio', 'Rajawali', 'Rajawali Barat', 'Rajawali Timur', 'Rajiman', - 'Raya Setiabudhi', 'Raya Ujungberung', 'Reksoninten', 'Ronggowarsito', - 'Rumah Sakit', 'S. Parman', 'Sadang Serang', 'Salak', 'Salam', 'Salatiga', - 'Sam Ratulangi', 'Samanhudi', 'Sampangan', 'Sentot Alibasa', 'Setia Budi', - 'Setiabudhi', 'Siliwangi', 'Soekarno Hatta', 'Sudiarto', 'Sudirman', - 'Sugiono', 'Sugiyopranoto', 'Suharso', 'Sukabumi', 'Sukajadi', - 'Sumpah Pemuda', 'Sunaryo', 'Suniaraja', 'Supomo', 'Supono', - 'Suprapto', 'Surapati', 'Suryo', 'Suryo Pranoto', 'Sutami', - 'Sutan Syahrir', 'Sutarjo', 'Sutarto', 'Sutoyo', 'Taman', - 'Tambak', 'Tambun', 'Tangkuban Perahu', 'Tentara Pelajar', 'Ters. Buah Batu', - 'Ters. Jakarta', 'Ters. Kiaracondong', 'Ters. Pasir Koja', 'Teuku Umar', - 'Thamrin', 'Tubagus Ismail', 'Ujung', 'Uluwatu', 'Umalas', 'Untung Suropati', - 'Urip Sumoharjo', 'Veteran', 'Villa', 'W.R. Supratman', 'Wahid', - 'Wahid Hasyim', 'Wahidin', 'Wahidin Sudirohusodo', 'Warga', 'Wora Wari', - 'Yap Tjwan Bing', 'Yoga', 'Yogyakarta', 'Yohanes', 'Yos', - 'Yos Sudarso', 'Yosodipuro', 'Zamrud', - ]; - - protected static $streetPrefix = [ - 'Ds.', 'Dk.', 'Gg.', 'Jln.', 'Jr.', 'Kpg.', 'Ki.', 'Psr.', - ]; - - /** - * @see http://kodepos.nomor.net/_kodepos.php?_i=provinsi-kodepos - */ - protected static $state = [ - 'Aceh', 'Sumatera Utara', 'Sumatera Barat', 'Jambi', 'Kepulauan Bangka Belitung', 'Riau', - 'Kepulauan Riau', 'Bengkulu', 'Sumatera Selatan', 'Lampung', 'Banten', - 'DKI Jakarta', 'Jawa Barat', 'Jawa Tengah', 'Jawa Timur', 'Nusa Tenggara Timur', - 'DI Yogyakarta', 'Bali', 'Nusa Tenggara Barat', 'Kalimantan Barat', - 'Kalimantan Tengah', 'Kalimantan Selatan', 'Kalimantan Timur', - 'Kalimantan Utara', 'Sulawesi Selatan', 'Sulawesi Utara', 'Gorontalo', - 'Sulawesi Tengah', 'Sulawesi Barat', 'Sulawesi Tenggara', 'Maluku', - 'Maluku Utara', 'Papua Barat', 'Papua', - ]; - - /** - * Abbreviated State Names. - * - * @see https://en.wikipedia.org/wiki/Provinces_of_Indonesia#Table_of_provinces - * - * @var array - */ - protected static $stateAbbr = [ - 'Aceh', 'Sumut', 'Sumbar', 'Jambi', 'Babel', 'Riau', 'Kepri', 'Bengkulu', 'Sumsel', - 'Lampung', 'Banten', 'DKI', 'Jabar', 'Jateng', 'Jatim', 'NTT', 'DIY', - 'Bali', 'NTB', 'Kalbar', 'Kalteng', 'Kalsel', 'Kaltim', 'Kaltara', 'Sulsel', - 'Sulut', 'Gorontalo', 'Sulteng', 'Sulbar', 'Sultra', 'Maluku', 'Malut', - 'Pabar', 'Papua', - ]; - - /** - * @see http://id.wikipedia.org/wiki/Daftar_negara-negara_di_dunia - */ - protected static $country = [ - 'Afganistan', 'Afrika Selatan', 'Albania', 'Aljazair', - 'Amerika Serikat', 'Andorra', 'Angola', 'Anguilla', - - // http://id.wikipedia.org/wiki/Antartika - 'Antartika', - - 'Antigua dan Barbuda', - - // http://id.wikipedia.org/wiki/Antillen_Belanda - 'Antillen Belanda', - - 'Arab Saudi', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', - 'Azerbaijan', 'Bahama', 'Bahrain', 'Bangladesh', 'Barbados', 'Belanda', - 'Belarus', 'Belgia', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', - - // http://id.wikipedia.org/wiki/Bosnia_dan_Herzegovina - 'Bosnia dan Herzegovina', - - 'Botswana', 'Brasil', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', - 'Burundi', 'Chili', 'Cina', 'Kepulauan Cocos (Keeling)', 'Denmark', 'Djibouti', - - // http://id.wikipedia.org/wiki/Dominica - 'Dominika', - - 'Ekuador', 'El Salvador', 'Eritrea', 'Estonia', 'Ethiopia', - 'Federasi Rusia', 'Fiji', 'Filipina', 'Finlandia', 'Gabon', 'Gambia', - 'Georgia', - - // http://id.wikipedia.org/wiki/South_Georgia_and_the_South_Sandwich_Islands - 'Georgia Selatan dan Kepulauan Sandwich Selatan', - - 'Ghana', 'Gibraltar', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', - 'Guatemala', 'Guernsey', 'Guinea', 'Guinea Ekuatorial', 'Guinea-Bissau', - 'Guyana', 'Guyana Prancis', 'Haiti', 'Honduras', 'Hong Kong', - 'Hongaria', 'India', 'Indonesia', 'Inggris Raya', 'Irak', 'Iran', - 'Irlandia', 'Islandia', 'Israel', 'Italia', 'Jamaika', 'Jepang', - 'Jerman', 'Jersey', 'Jordan', 'Kaledonia baru', 'Kamboja', 'Kamerun', - 'Kanada', 'Kazakhstan', 'Kenya', 'Kepulauan Cayman', 'Kepulauan Cook', - 'Kepulauan Falkland (Malvinas)', 'Kepulauan Faroe', - 'Kepulauan Mariana Utara', 'Kepulauan Marshall', 'Kepulauan Pitcairn', - 'Kepulauan Solomon', - - // http://id.wikipedia.org/wiki/United_States_Minor_Outlying_Islands - 'Kepulauan Terluar Kecil Amerika Serikat', - - 'Kepulauan Turks dan Caicos', - - // http://id.wikipedia.org/wiki/United_States_Virgin_Islands - 'Kepulauan Virgin Amerika Serikat', - - 'Kepulauan Virgin Inggris', 'Kiribati', 'Kolombia', 'Komoro', 'Kongo', 'Korea', - 'Korea Utara', 'Kosta Rika', 'Kroasia', - - // http://id.wikipedia.org/wiki/Cuba - 'Kuba', - - 'Kuwait', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libya', - 'Liechtenstein', 'Lithuania', 'Luxembourg', 'Madagaskar', 'Makau', 'Makedonia', - 'Maladewa', 'Malawi', 'Malaysia', 'Mali', 'Malta', 'Maroko', - - // http://id.wikipedia.org/wiki/Martinique - 'Martinik', - - 'Mauritania', 'Mauritius', 'Mayotte', 'Meksiko', 'Mesir', 'Mikronesia', 'Moldova', - 'Monako', 'Mongolia', 'Montenegro', 'Montserrat', 'Mozambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Niger', 'Nigeria', 'Nikaragua', 'Niue', 'Norwegia', - 'Oman', 'Pakistan', 'Palau', 'Panama', - - // http://id.wikipedia.org/wiki/Cote_d%27Ivoire - 'Pantai Gading', - - 'Papua Nugini', 'Paraguay', 'Peru', 'Polandia', 'Polinesia Prancis', 'Portugal', - 'Prancis', 'Puerto Rico', - - // http://ms.wikipedia.org/wiki/Pulau_Bouvet - 'Pulau Bouvet', - - // http://id.wikipedia.org/wiki/Pulau_Heard_dan_Kepulauan_McDonald - 'Pulau Heard dan Kepulauan McDonald', - - // http://id.wikipedia.org/wiki/Isle_of_Man - 'Pulau Man', - - 'Pulau Natal', 'Pulau Norfolk', 'Qatar', 'Republik Afrika Tengah', - 'Republik Ceko', - - // http://id.wikipedia.org/wiki/Chad - 'Republik Chad', - - 'Republik Demokratik Rakyat Laos', 'Republik Dominika', 'Republik Kirgizstan', - - // http://id.wikipedia.org/wiki/Reunion - 'Réunion', - - 'Rumania', 'Rwanda', 'Sahara Barat', 'Saint Barthelemy', 'Saint Helena', - 'Saint Kitts dan Nevis', 'Saint Lucia', 'Saint Martin', - 'Saint Pierre dan Miquelon', 'Saint Vincent dan Grenadines', 'Samoa', - 'Samoa Amerika', 'San Marino', 'Sao Tome dan Principe', 'Selandia baru', - 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapura', 'Siprus', - 'Slovakia (Republik Slovak)', 'Slovenia', 'Somalia', 'Spanyol', 'Sri Lanka', - 'Sudan', 'Suriah', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', - 'Swedia', 'Swiss', 'Taiwan', 'Tajikistan', - - // http://id.wikipedia.org/wiki/Cape_Verde - 'Tanjung Verde', - - 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', - 'Trinidad dan Tobago', 'Tunisia', 'Turki', 'Turkmenistan', 'Tuvalu', 'Uganda', - 'Ukraina', 'Uni Emirat Arab', 'Uruguay', 'Uzbekistan', 'Vanuatu', - - // http://id.wikipedia.org/wiki/Holy_See - 'Vatikan', - - 'Venezuela', 'Vietnam', 'Wallis dan Futuna', 'Wilayah Palestina', - - // http://id.wikipedia.org/wiki/United_States_Virgin_Islands - 'Wilayah Samudra Hindia Britania', - - 'Wilayah Selatan Perancis', 'Yaman', 'Yunani', 'Zambia', 'Zimbabwe', - ]; - - /** - * @see http://id.wikipedia.org/wiki/Daftar_kabupaten_dan_kota_Indonesia#Daftar_kota - */ - protected static $cityNames = [ - 'Administrasi Jakarta Barat', 'Administrasi Jakarta Pusat', - 'Administrasi Jakarta Selatan', 'Administrasi Jakarta Timur', - 'Administrasi Jakarta Utara', 'Ambon', 'Balikpapan', 'Banda Aceh', - 'Bandar Lampung', 'Bandung', 'Banjar', 'Banjarbaru', 'Banjarmasin', - 'Batam', 'Batu', 'Bau-Bau', 'Bekasi', - 'Bengkulu', 'Bima', 'Binjai', 'Bitung', - 'Blitar', 'Bogor', 'Bontang', 'Bukittinggi', - 'Cilegon', 'Cimahi', 'Cirebon', 'Denpasar', - 'Depok', 'Dumai', 'Gorontalo', 'Gunungsitoli', - 'Jambi', 'Jayapura', 'Kediri', 'Kendari', - 'Kotamobagu', 'Kupang', 'Langsa', 'Lhokseumawe', - 'Lubuklinggau', 'Madiun', 'Magelang', 'Makassar', - 'Malang', 'Manado', 'Mataram', 'Medan', - 'Metro', 'Mojokerto', 'Padang', 'Padangpanjang', - 'Padangsidempuan', 'Pagar Alam', 'Palangka Raya', 'Palembang', - 'Palopo', 'Palu', 'Pangkal Pinang', 'Parepare', - 'Pariaman', 'Pasuruan', 'Payakumbuh', 'Pekalongan', - 'Pekanbaru', 'Pematangsiantar', 'Pontianak', 'Prabumulih', - 'Probolinggo', 'Sabang', 'Salatiga', 'Samarinda', - 'Sawahlunto', 'Semarang', 'Serang', 'Sibolga', - 'Singkawang', 'Solok', 'Sorong', 'Subulussalam', - 'Sukabumi', 'Sungai Penuh', 'Surabaya', 'Surakarta', - 'Tangerang', 'Tangerang Selatan', 'Tanjung Pinang', 'Tanjungbalai', - 'Tarakan', 'Tasikmalaya', 'Tebing Tinggi', 'Tegal', - 'Ternate', 'Tidore Kepulauan', 'Tomohon', 'Tual', - 'Yogyakarta', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{street}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetPrefix}} {{street}} No. {{buildingNumber}}', - ]; - - protected static $addressFormats = [ - '{{streetAddress}}, {{city}} {{postcode}}, {{stateAbbr}}', - ]; - - protected static $postcode = ['%####']; - - /** - * @example 'Kalimantan Tengah' - */ - public static function state() - { - return static::randomElement(static::$state); - } - - /** - * @example 'Banten' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function cityName() - { - return static::randomElement(static::$cityNames); - } - - public function city() - { - $format = static::randomElement(static::$cityFormats); - - return $this->generator->parse($format); - } - - public static function street() - { - return static::randomElement(static::$street); - } - - public static function buildingNumber() - { - return (string) self::numberBetween(1, 999); - } +class Address extends \Faker\Provider\Address { + /** + * @see http://bandung.go.id/images/download/daftarruasjalan.htm + * @see https://id.wikipedia.org/wiki/Kategori:Jalan_di_Jakarta + */ + protected static $street = [ + 'Abang', + 'Abdul', + 'Abdul Muis', + 'Abdul Rahmat', + 'Abdul. Muis', + 'Abdullah', + 'Aceh', + 'Achmad', + 'Achmad Yani', + 'Acordion', + 'Adisucipto', + 'Adisumarmo', + 'Agus Salim', + 'Ahmad Dahlan', + 'Antapani Lama', + 'Arifin', + 'Asia Afrika', + 'Astana Anyar', + 'B.Agam 1', + 'B.Agam Dlm', + 'BKR', + 'Baabur Royan', + 'Baan', + 'Babadak', + 'Babadan', + 'Babah', + 'Babakan', + 'Bacang', + 'Badak', + 'Bagas Pati', + 'Bagis Utama', + 'Bagonwoto ', + 'Bah Jaya', + 'Baha', + 'Bahagia', + 'Bahagia ', + 'Baiduri', + 'Baik', + 'Baing', + 'Baja', + 'Baja Raya', + 'Bak Air', + 'Bak Mandi', + 'Bakaru', + 'Bakau', + 'Bakau Griya Utama', + 'Bakhita', + 'Bakin', + 'Bakit ', + 'Bakti', + 'Baladewa', + 'Balikpapan', + 'Bambon', + 'Bambu', + 'Banal', + 'Banceng Pondok', + 'Banda', + 'Bank Dagang Negara', + 'Bappenas', + 'Bara', + 'Bara Tambar', + 'Baranang', + 'Baranang Siang', + 'Baranang Siang Indah', + 'Baranangsiang', + 'Barasak', + 'Barat', + 'Basket', + 'Basmol Raya', + 'Basoka', + 'Basoka Raya', + 'Bass', + 'Basudewo', + 'Basuki', + 'Basuki Rahmat ', + 'Bata Putih', + 'Batako', + 'Baung', + 'Bawal', + 'Baya Kali Bungur', + 'Bayam', + 'Bayan', + 'Bazuka Raya', + 'Bhayangkara', + 'Camar', + 'Casablanca', + 'Cemara', + 'Cihampelas', + 'Cikapayang', + 'Cikutra Barat', + 'Cikutra Timur', + 'Ciumbuleuit', + 'Ciwastra', + 'Cokroaminoto', + 'Cut Nyak Dien', + 'Daan', + 'Dago', + 'Dahlia', + 'Dewi Sartika', + 'Dipatiukur', + 'Dipenogoro', + 'Diponegoro', + 'Dr. Junjunan', + 'Eka', + 'Ekonomi', + 'Elang', + 'Fajar', + 'Flora', + 'Flores', + 'Gading', + 'Gajah', + 'Gajah Mada', + 'Gambang', + 'Gardujati', + 'Gatot Subroto', + 'Gedebage Selatan', + 'Gegerkalong Hilir', + 'Gotong Royong', + 'Gremet', + 'HOS. Cjokroaminoto (Pasirkaliki)', + 'Haji', + 'Halim', + 'Hang', + 'Hasanuddin', + 'Hayam Wuruk', + 'Honggowongso', + 'Ikan', + 'Imam', + 'Imam Bonjol', + 'Industri', + 'Ir. H. Juanda', + 'Jagakarsa', + 'Jakarta', + 'Jaksa', + 'Jambu', + 'Jamika', + 'Jayawijaya', + 'Jend. A. Yani', + 'Jend. Sudirman', + 'Juanda', + 'K.H. Maskur', + 'K.H. Wahid Hasyim (Kopo)', + 'Kali', + 'Kalimalang', + 'Kalimantan', + 'Karel S. Tubun', + 'Kartini', + 'Katamso', + 'Kebangkitan Nasional', + 'Kebonjati', + 'Ketandan', + 'Ki Hajar Dewantara', + 'Kiaracondong', + 'Krakatau', + 'Kusmanto', + 'Kyai Gede', + 'Kyai Mojo', + 'Labu', + 'Lada', + 'Laksamana', + 'Laswi', + 'Lembong', + 'Lumban Tobing', + 'M.T. Haryono', + 'Madiun', + 'Madrasah', + 'Mahakam', + 'Merdeka', + 'Moch. Ramdan', + 'Moch. Toha', + 'Moch. Yamin', + 'Monginsidi', + 'Mulyadi', + 'Muwardi', + 'Nakula', + 'Nanas', + 'Nangka', + 'Orang', + 'Otista', + 'Otto', + 'PHH. Mustofa', + 'Pacuan Kuda', + 'Padang', + 'Padma', + 'Pahlawan', + 'Panjaitan', + 'Pasir Koja', + 'Pasirkoja', + 'Pasteur', + 'Pattimura', + 'Pelajar Pejuang 45', + 'Perintis Kemerdekaan', + 'Peta', + 'Pintu Besar Selatan', + 'Qrisdoren', + 'R.E. Martadinata', + 'R.M. Said', + 'Raden', + 'Raden Saleh', + 'Radio', + 'Rajawali', + 'Rajawali Barat', + 'Rajawali Timur', + 'Rajiman', + 'Raya Setiabudhi', + 'Raya Ujungberung', + 'Reksoninten', + 'Ronggowarsito', + 'Rumah Sakit', + 'S. Parman', + 'Sadang Serang', + 'Salak', + 'Salam', + 'Salatiga', + 'Sam Ratulangi', + 'Samanhudi', + 'Sampangan', + 'Sentot Alibasa', + 'Setia Budi', + 'Setiabudhi', + 'Siliwangi', + 'Soekarno Hatta', + 'Sudiarto', + 'Sudirman', + 'Sugiono', + 'Sugiyopranoto', + 'Suharso', + 'Sukabumi', + 'Sukajadi', + 'Sumpah Pemuda', + 'Sunaryo', + 'Suniaraja', + 'Supomo', + 'Supono', + 'Suprapto', + 'Surapati', + 'Suryo', + 'Suryo Pranoto', + 'Sutami', + 'Sutan Syahrir', + 'Sutarjo', + 'Sutarto', + 'Sutoyo', + 'Taman', + 'Tambak', + 'Tambun', + 'Tangkuban Perahu', + 'Tentara Pelajar', + 'Ters. Buah Batu', + 'Ters. Jakarta', + 'Ters. Kiaracondong', + 'Ters. Pasir Koja', + 'Teuku Umar', + 'Thamrin', + 'Tubagus Ismail', + 'Ujung', + 'Uluwatu', + 'Umalas', + 'Untung Suropati', + 'Urip Sumoharjo', + 'Veteran', + 'Villa', + 'W.R. Supratman', + 'Wahid', + 'Wahid Hasyim', + 'Wahidin', + 'Wahidin Sudirohusodo', + 'Warga', + 'Wora Wari', + 'Yap Tjwan Bing', + 'Yoga', + 'Yogyakarta', + 'Yohanes', + 'Yos', + 'Yos Sudarso', + 'Yosodipuro', + 'Zamrud', + ]; + + protected static $streetPrefix = [ + 'Ds.', + 'Dk.', + 'Gg.', + 'Jln.', + 'Jr.', + 'Kpg.', + 'Ki.', + 'Psr.', + ]; + + /** + * @see http://kodepos.nomor.net/_kodepos.php?_i=provinsi-kodepos + */ + protected static $state = [ + 'Aceh', + 'Sumatera Utara', + 'Sumatera Barat', + 'Jambi', + 'Kepulauan Bangka Belitung', + 'Riau', + 'Kepulauan Riau', + 'Bengkulu', + 'Sumatera Selatan', + 'Lampung', + 'Banten', + 'DKI Jakarta', + 'Jawa Barat', + 'Jawa Tengah', + 'Jawa Timur', + 'Nusa Tenggara Timur', + 'DI Yogyakarta', + 'Bali', + 'Nusa Tenggara Barat', + 'Kalimantan Barat', + 'Kalimantan Tengah', + 'Kalimantan Selatan', + 'Kalimantan Timur', + 'Kalimantan Utara', + 'Sulawesi Selatan', + 'Sulawesi Utara', + 'Gorontalo', + 'Sulawesi Tengah', + 'Sulawesi Barat', + 'Sulawesi Tenggara', + 'Maluku', + 'Maluku Utara', + 'Papua Barat', + 'Papua', + ]; + + /** + * Abbreviated State Names. + * + * @see https://en.wikipedia.org/wiki/Provinces_of_Indonesia#Table_of_provinces + * + * @var array + */ + protected static $stateAbbr = [ + 'Aceh', + 'Sumut', + 'Sumbar', + 'Jambi', + 'Babel', + 'Riau', + 'Kepri', + 'Bengkulu', + 'Sumsel', + 'Lampung', + 'Banten', + 'DKI', + 'Jabar', + 'Jateng', + 'Jatim', + 'NTT', + 'DIY', + 'Bali', + 'NTB', + 'Kalbar', + 'Kalteng', + 'Kalsel', + 'Kaltim', + 'Kaltara', + 'Sulsel', + 'Sulut', + 'Gorontalo', + 'Sulteng', + 'Sulbar', + 'Sultra', + 'Maluku', + 'Malut', + 'Pabar', + 'Papua', + ]; + + /** + * @see http://id.wikipedia.org/wiki/Daftar_negara-negara_di_dunia + */ + protected static $country = [ + 'Afganistan', + 'Afrika Selatan', + 'Albania', + 'Aljazair', + 'Amerika Serikat', + 'Andorra', + 'Angola', + 'Anguilla', + + // http://id.wikipedia.org/wiki/Antartika + 'Antartika', + + 'Antigua dan Barbuda', + + // http://id.wikipedia.org/wiki/Antillen_Belanda + 'Antillen Belanda', + + 'Arab Saudi', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahama', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belanda', + 'Belarus', + 'Belgia', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + + // http://id.wikipedia.org/wiki/Bosnia_dan_Herzegovina + 'Bosnia dan Herzegovina', + + 'Botswana', + 'Brasil', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Chili', + 'Cina', + 'Kepulauan Cocos (Keeling)', + 'Denmark', + 'Djibouti', + + // http://id.wikipedia.org/wiki/Dominica + 'Dominika', + + 'Ekuador', + 'El Salvador', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Federasi Rusia', + 'Fiji', + 'Filipina', + 'Finlandia', + 'Gabon', + 'Gambia', + 'Georgia', + + // http://id.wikipedia.org/wiki/South_Georgia_and_the_South_Sandwich_Islands + 'Georgia Selatan dan Kepulauan Sandwich Selatan', + + 'Ghana', + 'Gibraltar', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea Ekuatorial', + 'Guinea-Bissau', + 'Guyana', + 'Guyana Prancis', + 'Haiti', + 'Honduras', + 'Hong Kong', + 'Hongaria', + 'India', + 'Indonesia', + 'Inggris Raya', + 'Irak', + 'Iran', + 'Irlandia', + 'Islandia', + 'Israel', + 'Italia', + 'Jamaika', + 'Jepang', + 'Jerman', + 'Jersey', + 'Jordan', + 'Kaledonia baru', + 'Kamboja', + 'Kamerun', + 'Kanada', + 'Kazakhstan', + 'Kenya', + 'Kepulauan Cayman', + 'Kepulauan Cook', + 'Kepulauan Falkland (Malvinas)', + 'Kepulauan Faroe', + 'Kepulauan Mariana Utara', + 'Kepulauan Marshall', + 'Kepulauan Pitcairn', + 'Kepulauan Solomon', + + // http://id.wikipedia.org/wiki/United_States_Minor_Outlying_Islands + 'Kepulauan Terluar Kecil Amerika Serikat', + + 'Kepulauan Turks dan Caicos', + + // http://id.wikipedia.org/wiki/United_States_Virgin_Islands + 'Kepulauan Virgin Amerika Serikat', + + 'Kepulauan Virgin Inggris', + 'Kiribati', + 'Kolombia', + 'Komoro', + 'Kongo', + 'Korea', + 'Korea Utara', + 'Kosta Rika', + 'Kroasia', + + // http://id.wikipedia.org/wiki/Cuba + 'Kuba', + + 'Kuwait', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Madagaskar', + 'Makau', + 'Makedonia', + 'Maladewa', + 'Malawi', + 'Malaysia', + 'Mali', + 'Malta', + 'Maroko', + + // http://id.wikipedia.org/wiki/Martinique + 'Martinik', + + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Meksiko', + 'Mesir', + 'Mikronesia', + 'Moldova', + 'Monako', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Mozambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Niger', + 'Nigeria', + 'Nikaragua', + 'Niue', + 'Norwegia', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + + // http://id.wikipedia.org/wiki/Cote_d%27Ivoire + 'Pantai Gading', + + 'Papua Nugini', + 'Paraguay', + 'Peru', + 'Polandia', + 'Polinesia Prancis', + 'Portugal', + 'Prancis', + 'Puerto Rico', + + // http://ms.wikipedia.org/wiki/Pulau_Bouvet + 'Pulau Bouvet', + + // http://id.wikipedia.org/wiki/Pulau_Heard_dan_Kepulauan_McDonald + 'Pulau Heard dan Kepulauan McDonald', + + // http://id.wikipedia.org/wiki/Isle_of_Man + 'Pulau Man', + + 'Pulau Natal', + 'Pulau Norfolk', + 'Qatar', + 'Republik Afrika Tengah', + 'Republik Ceko', + + // http://id.wikipedia.org/wiki/Chad + 'Republik Chad', + + 'Republik Demokratik Rakyat Laos', + 'Republik Dominika', + 'Republik Kirgizstan', + + // http://id.wikipedia.org/wiki/Reunion + 'Réunion', + + 'Rumania', + 'Rwanda', + 'Sahara Barat', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts dan Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre dan Miquelon', + 'Saint Vincent dan Grenadines', + 'Samoa', + 'Samoa Amerika', + 'San Marino', + 'Sao Tome dan Principe', + 'Selandia baru', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapura', + 'Siprus', + 'Slovakia (Republik Slovak)', + 'Slovenia', + 'Somalia', + 'Spanyol', + 'Sri Lanka', + 'Sudan', + 'Suriah', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Swedia', + 'Swiss', + 'Taiwan', + 'Tajikistan', + + // http://id.wikipedia.org/wiki/Cape_Verde + 'Tanjung Verde', + + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad dan Tobago', + 'Tunisia', + 'Turki', + 'Turkmenistan', + 'Tuvalu', + 'Uganda', + 'Ukraina', + 'Uni Emirat Arab', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + + // http://id.wikipedia.org/wiki/Holy_See + 'Vatikan', + + 'Venezuela', + 'Vietnam', + 'Wallis dan Futuna', + 'Wilayah Palestina', + + // http://id.wikipedia.org/wiki/United_States_Virgin_Islands + 'Wilayah Samudra Hindia Britania', + + 'Wilayah Selatan Perancis', + 'Yaman', + 'Yunani', + 'Zambia', + 'Zimbabwe', + ]; + + /** + * @see http://id.wikipedia.org/wiki/Daftar_kabupaten_dan_kota_Indonesia#Daftar_kota + */ + protected static $cityNames = [ + 'Administrasi Jakarta Barat', + 'Administrasi Jakarta Pusat', + 'Administrasi Jakarta Selatan', + 'Administrasi Jakarta Timur', + 'Administrasi Jakarta Utara', + 'Ambon', + 'Balikpapan', + 'Banda Aceh', + 'Bandar Lampung', + 'Bandung', + 'Banjar', + 'Banjarbaru', + 'Banjarmasin', + 'Batam', + 'Batu', + 'Bau-Bau', + 'Bekasi', + 'Bengkulu', + 'Bima', + 'Binjai', + 'Bitung', + 'Blitar', + 'Bogor', + 'Bontang', + 'Bukittinggi', + 'Cilegon', + 'Cimahi', + 'Cirebon', + 'Denpasar', + 'Depok', + 'Dumai', + 'Gorontalo', + 'Gunungsitoli', + 'Jambi', + 'Jayapura', + 'Kediri', + 'Kendari', + 'Kotamobagu', + 'Kupang', + 'Langsa', + 'Lhokseumawe', + 'Lubuklinggau', + 'Madiun', + 'Magelang', + 'Makassar', + 'Malang', + 'Manado', + 'Mataram', + 'Medan', + 'Metro', + 'Mojokerto', + 'Padang', + 'Padangpanjang', + 'Padangsidempuan', + 'Pagar Alam', + 'Palangka Raya', + 'Palembang', + 'Palopo', + 'Palu', + 'Pangkal Pinang', + 'Parepare', + 'Pariaman', + 'Pasuruan', + 'Payakumbuh', + 'Pekalongan', + 'Pekanbaru', + 'Pematangsiantar', + 'Pontianak', + 'Prabumulih', + 'Probolinggo', + 'Sabang', + 'Salatiga', + 'Samarinda', + 'Sawahlunto', + 'Semarang', + 'Serang', + 'Sibolga', + 'Singkawang', + 'Solok', + 'Sorong', + 'Subulussalam', + 'Sukabumi', + 'Sungai Penuh', + 'Surabaya', + 'Surakarta', + 'Tangerang', + 'Tangerang Selatan', + 'Tanjung Pinang', + 'Tanjungbalai', + 'Tarakan', + 'Tasikmalaya', + 'Tebing Tinggi', + 'Tegal', + 'Ternate', + 'Tidore Kepulauan', + 'Tomohon', + 'Tual', + 'Yogyakarta', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{street}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetPrefix}} {{street}} No. {{buildingNumber}}', + ]; + + protected static $addressFormats = [ + '{{streetAddress}}, {{city}} {{postcode}}, {{stateAbbr}}', + ]; + + protected static $postcode = [ '%####' ]; + + /** + * @example 'Kalimantan Tengah' + */ + public static function state() { + return static::randomElement( static::$state ); + } + + /** + * @example 'Banten' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function cityName() { + return static::randomElement( static::$cityNames ); + } + + public function city() { + $format = static::randomElement( static::$cityFormats ); + + return $this->generator->parse( $format ); + } + + public static function street() { + return static::randomElement( static::$street ); + } + + public static function buildingNumber() { + return (string) self::numberBetween( 1, 999 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Color.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Color.php index 14995b6..d836ca7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Color.php @@ -2,39 +2,174 @@ namespace Faker\Provider\id_ID; -class Color extends \Faker\Provider\Color -{ - /** - * @see https://id.wikipedia.org/wiki/Warna - * @see https://id.wikipedia.org/wiki/Kategori:Warna - * @see https://id.wikipedia.org/wiki/Warna_tersier - */ - protected static $safeColorNames = ['abu-abu', 'biru', 'biru dongker', 'biru laut', 'cokelat', - 'emas', 'hijau', 'hitam', 'jingga', 'krem', 'kuning', 'magenta', 'mawar', 'merah', 'merah jambu', - 'merah marun', 'nila', 'perak', 'putih', 'sepia', 'teal', 'toska', 'ungu', 'violet', 'zaitun', - ]; +class Color extends \Faker\Provider\Color { + /** + * @see https://id.wikipedia.org/wiki/Warna + * @see https://id.wikipedia.org/wiki/Kategori:Warna + * @see https://id.wikipedia.org/wiki/Warna_tersier + */ + protected static $safeColorNames = [ + 'abu-abu', + 'biru', + 'biru dongker', + 'biru laut', + 'cokelat', + 'emas', + 'hijau', + 'hitam', + 'jingga', + 'krem', + 'kuning', + 'magenta', + 'mawar', + 'merah', + 'merah jambu', + 'merah marun', + 'nila', + 'perak', + 'putih', + 'sepia', + 'teal', + 'toska', + 'ungu', + 'violet', + 'zaitun', + ]; - /** - * @see https://id.wikipedia.org/wiki/Daftar_warna - */ - protected static $allColorNames = [ - 'Abu-Abu', 'Abu-Abu Tua', 'Abu-Abu Muda', 'Abu-Abu Kecokelatan', 'Almond', - 'Biru', 'Biru Baja', 'Biru Dongker', 'Biru Keabu-abuan', 'Biru Kehijauan', 'Biru Keunguan', 'Biru Laut', 'Biru Laut Gelap', 'Biru Laut Terang', 'Biru Langit', 'Biru Langit Muda', 'Biru Langit Tua', 'Biru Malam', 'Biru Muda', 'Biru Nilam', 'Biru Pucat', 'Biru Terang', 'Biru Tua', - 'Chiffon', 'Cokelat', 'Cokelat Gandum', 'Cokelat Keemasan', 'Cokelat Kekuningan', 'Cokelat Kemerahan', 'Cokelat Tua', - 'Delima', - 'Emas', - 'Hijau Abu-Abu', 'Hijau Botol', 'Hijau Cerah', 'Hijah Gelap', 'Hijau Hutan', 'Hijau Kebiruan', 'Hijau Kekuningan', 'Hijau Laut', 'Hijau Laut Gelap', 'Hijau Laut Terang', 'Hijau Lemon', 'Hijau Lumut', 'Hijau Muda', 'Hijau Muda Kekuningan', 'Hijau Neon', 'Hijau Pucat', 'Hijau Rumput', 'Hijau Tua', 'Hijau Zamrud', 'Hitam', 'Hitam Arang', 'Hitam Pekat', - 'Jingga', 'Jingga Labu', 'Jingga Muda', 'Jingga Tua', - 'Khaki', 'Khaki Tua', 'Koral', 'Koral Terang', 'Krem', 'Krimson', 'Kuning', 'Kuning Aprikot', 'Kuning Gelap', 'Kuning Jingga', 'Kuning Kehijauan', 'Kuning Kehijauan Pucat', 'Kuning Kecokelatan Tua', 'Kuning Lemon', 'Kuning Muda', 'Kuning Neon', 'Kuning Pucat', 'Kuning Terang', 'Kuning Sawo', - 'Lavender', 'Lemon', 'Lemon Chiffon', - 'Magenta', 'Magenta Gelap', 'Mawar', 'Merah', 'Merah Bata', 'Merah Indian', 'Merah Kekuning-Kuningan', 'Merah Keungu-Unguan', 'Merah Muda', 'Merah Muda Dakam', 'Merah Muda Kekuningan', 'Merah Muda Keunguan', 'Merah Muda Keunguan Pudar', 'Merah Muda Panas', 'Merah Muda Terang', 'Merah Oranye', 'Merah Tomat', 'Merah Tua', 'Merah Tua Terang', 'Moka', - 'Nila', - 'Oranye', 'Oranye Pepaya', - 'Pastel', 'Peach', 'Pelangi', 'Perak', 'Plum', 'Putih', 'Putih Gading', 'Putih Gandum', 'Putih Salju', 'Putih Terang', - 'Rambut Jagung', - 'Salmon', 'Salmon Gelap', 'Salmon Terang', 'Sawo', 'Sawo Matang', - 'Tembaga', 'Tomat', - 'Ungu', 'Ungu Gelap', 'Ungu Kebiruan', 'Ungu Kecokelatan', 'Ungu Lembayung', 'Ungu Lembayung Muda', 'Ungu Muda', 'Ungu Terong', - 'Zaitun', 'Zaitun Hijau Gelap', - ]; + /** + * @see https://id.wikipedia.org/wiki/Daftar_warna + */ + protected static $allColorNames = [ + 'Abu-Abu', + 'Abu-Abu Tua', + 'Abu-Abu Muda', + 'Abu-Abu Kecokelatan', + 'Almond', + 'Biru', + 'Biru Baja', + 'Biru Dongker', + 'Biru Keabu-abuan', + 'Biru Kehijauan', + 'Biru Keunguan', + 'Biru Laut', + 'Biru Laut Gelap', + 'Biru Laut Terang', + 'Biru Langit', + 'Biru Langit Muda', + 'Biru Langit Tua', + 'Biru Malam', + 'Biru Muda', + 'Biru Nilam', + 'Biru Pucat', + 'Biru Terang', + 'Biru Tua', + 'Chiffon', + 'Cokelat', + 'Cokelat Gandum', + 'Cokelat Keemasan', + 'Cokelat Kekuningan', + 'Cokelat Kemerahan', + 'Cokelat Tua', + 'Delima', + 'Emas', + 'Hijau Abu-Abu', + 'Hijau Botol', + 'Hijau Cerah', + 'Hijah Gelap', + 'Hijau Hutan', + 'Hijau Kebiruan', + 'Hijau Kekuningan', + 'Hijau Laut', + 'Hijau Laut Gelap', + 'Hijau Laut Terang', + 'Hijau Lemon', + 'Hijau Lumut', + 'Hijau Muda', + 'Hijau Muda Kekuningan', + 'Hijau Neon', + 'Hijau Pucat', + 'Hijau Rumput', + 'Hijau Tua', + 'Hijau Zamrud', + 'Hitam', + 'Hitam Arang', + 'Hitam Pekat', + 'Jingga', + 'Jingga Labu', + 'Jingga Muda', + 'Jingga Tua', + 'Khaki', + 'Khaki Tua', + 'Koral', + 'Koral Terang', + 'Krem', + 'Krimson', + 'Kuning', + 'Kuning Aprikot', + 'Kuning Gelap', + 'Kuning Jingga', + 'Kuning Kehijauan', + 'Kuning Kehijauan Pucat', + 'Kuning Kecokelatan Tua', + 'Kuning Lemon', + 'Kuning Muda', + 'Kuning Neon', + 'Kuning Pucat', + 'Kuning Terang', + 'Kuning Sawo', + 'Lavender', + 'Lemon', + 'Lemon Chiffon', + 'Magenta', + 'Magenta Gelap', + 'Mawar', + 'Merah', + 'Merah Bata', + 'Merah Indian', + 'Merah Kekuning-Kuningan', + 'Merah Keungu-Unguan', + 'Merah Muda', + 'Merah Muda Dakam', + 'Merah Muda Kekuningan', + 'Merah Muda Keunguan', + 'Merah Muda Keunguan Pudar', + 'Merah Muda Panas', + 'Merah Muda Terang', + 'Merah Oranye', + 'Merah Tomat', + 'Merah Tua', + 'Merah Tua Terang', + 'Moka', + 'Nila', + 'Oranye', + 'Oranye Pepaya', + 'Pastel', + 'Peach', + 'Pelangi', + 'Perak', + 'Plum', + 'Putih', + 'Putih Gading', + 'Putih Gandum', + 'Putih Salju', + 'Putih Terang', + 'Rambut Jagung', + 'Salmon', + 'Salmon Gelap', + 'Salmon Terang', + 'Sawo', + 'Sawo Matang', + 'Tembaga', + 'Tomat', + 'Ungu', + 'Ungu Gelap', + 'Ungu Kebiruan', + 'Ungu Kecokelatan', + 'Ungu Lembayung', + 'Ungu Lembayung Muda', + 'Ungu Muda', + 'Ungu Terong', + 'Zaitun', + 'Zaitun Hijau Gelap', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Company.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Company.php index a4a8575..2322f4a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Company.php @@ -2,63 +2,135 @@ namespace Faker\Provider\id_ID; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{lastName}}', - '{{companyPrefix}} {{lastName}} {{lastName}}', - '{{companyPrefix}} {{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}} {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{lastName}}', + '{{companyPrefix}} {{lastName}} {{lastName}}', + '{{companyPrefix}} {{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}} {{lastName}} {{companySuffix}}', + ]; - /** - * @see http://id.wikipedia.org/wiki/Jenis_badan_usaha - */ - protected static $companyPrefix = ['PT', 'Fa', 'CV', 'UD', 'PJ', 'PD', 'Perum', 'Yayasan']; + /** + * @see http://id.wikipedia.org/wiki/Jenis_badan_usaha + */ + protected static $companyPrefix = [ 'PT', 'Fa', 'CV', 'UD', 'PJ', 'PD', 'Perum', 'Yayasan' ]; - /** - * @see https://www.amesbostonhotel.com/macam-macam-profesi-pekerjaan/ - * @see https://dukcapil.kedirikab.go.id/artikel/Jenis-Pekerjaan_ID10.html - */ - protected static $jobTitleFormat = [ - 'Akuntan', 'Apoteker', 'Arsitek', 'Atlet', 'Belum / Tidak Bekerja', 'Biarawati', 'Bidan', 'Buruh Harian Lepas', - 'Buruh Nelayan / Perikanan', 'Buruh Peternakan', 'Buruh Tani / Perkebunan', 'Desainer', 'Dokter', 'Dosen', - 'Guru', 'Hakim', 'Imam Masjid', 'Industri', 'Jaksa', 'Juru Masak', 'Karyawan BUMD', 'Karyawan BUMN', - 'Karyawan Honorer', 'Karyawan Swasta', 'Kepala Desa', 'Kepolisian RI (POLRI)', 'Kondektur', 'Konstruksi', - 'Konsultan', 'Masinis', 'Mekanik', 'Mengurus Rumah Tangga', 'Montir', 'Nahkoda', 'Nelayan / Perikanan', - 'Notaris', 'Paraji', 'Pastor', 'Pedagang', 'Pegawai Negeri Sipil (PNS)', 'Pelajar / Mahasiswa', 'Pelaut', - 'Pemandu Wisata', 'Pembantu Rumah Tangga', 'Penambang', 'Penata Busana', 'Penata Rambut', 'Penata Rias', - 'Pendeta', 'Peneliti', 'Penerjemah', 'Pengacara', 'Pensiunan', 'Penulis', 'Penyelam', 'Penyiar Radio', - 'Penyiar Televisi', 'Perancang Busana', 'Perangkat Desa', 'Perawat', 'Perdagangan', 'Petani / Pekebun', - 'Peternak', 'Pialang', 'Pilot', 'Pramugari', 'Pramusaji', 'Presiden', 'Programmer', 'Promotor Acara', - 'Psikiater / Psikolog', 'Satpam', 'Seniman', 'Sopir', 'Tabib', 'Tentara Nasional Indonesia (TNI)', - 'Transportasi', 'Tukang Batu', 'Tukang Cukur', 'Tukang Gigi', 'Tukang Jahit', 'Tukang Kayu', - 'Tukang Las / Pandai Besi', 'Tukang Listrik', 'Tukang Sol Sepatu', 'Ustaz / Mubaligh', 'Wakil Presiden', - 'Wartawan', 'Wiraswasta', - ]; + /** + * @see https://www.amesbostonhotel.com/macam-macam-profesi-pekerjaan/ + * @see https://dukcapil.kedirikab.go.id/artikel/Jenis-Pekerjaan_ID10.html + */ + protected static $jobTitleFormat = [ + 'Akuntan', + 'Apoteker', + 'Arsitek', + 'Atlet', + 'Belum / Tidak Bekerja', + 'Biarawati', + 'Bidan', + 'Buruh Harian Lepas', + 'Buruh Nelayan / Perikanan', + 'Buruh Peternakan', + 'Buruh Tani / Perkebunan', + 'Desainer', + 'Dokter', + 'Dosen', + 'Guru', + 'Hakim', + 'Imam Masjid', + 'Industri', + 'Jaksa', + 'Juru Masak', + 'Karyawan BUMD', + 'Karyawan BUMN', + 'Karyawan Honorer', + 'Karyawan Swasta', + 'Kepala Desa', + 'Kepolisian RI (POLRI)', + 'Kondektur', + 'Konstruksi', + 'Konsultan', + 'Masinis', + 'Mekanik', + 'Mengurus Rumah Tangga', + 'Montir', + 'Nahkoda', + 'Nelayan / Perikanan', + 'Notaris', + 'Paraji', + 'Pastor', + 'Pedagang', + 'Pegawai Negeri Sipil (PNS)', + 'Pelajar / Mahasiswa', + 'Pelaut', + 'Pemandu Wisata', + 'Pembantu Rumah Tangga', + 'Penambang', + 'Penata Busana', + 'Penata Rambut', + 'Penata Rias', + 'Pendeta', + 'Peneliti', + 'Penerjemah', + 'Pengacara', + 'Pensiunan', + 'Penulis', + 'Penyelam', + 'Penyiar Radio', + 'Penyiar Televisi', + 'Perancang Busana', + 'Perangkat Desa', + 'Perawat', + 'Perdagangan', + 'Petani / Pekebun', + 'Peternak', + 'Pialang', + 'Pilot', + 'Pramugari', + 'Pramusaji', + 'Presiden', + 'Programmer', + 'Promotor Acara', + 'Psikiater / Psikolog', + 'Satpam', + 'Seniman', + 'Sopir', + 'Tabib', + 'Tentara Nasional Indonesia (TNI)', + 'Transportasi', + 'Tukang Batu', + 'Tukang Cukur', + 'Tukang Gigi', + 'Tukang Jahit', + 'Tukang Kayu', + 'Tukang Las / Pandai Besi', + 'Tukang Listrik', + 'Tukang Sol Sepatu', + 'Ustaz / Mubaligh', + 'Wakil Presiden', + 'Wartawan', + 'Wiraswasta', + ]; - /** - * @see http://id.wikipedia.org/wiki/Jenis_badan_usaha - */ - protected static $companySuffix = ['(Persero) Tbk', 'Tbk']; + /** + * @see http://id.wikipedia.org/wiki/Jenis_badan_usaha + */ + protected static $companySuffix = [ '(Persero) Tbk', 'Tbk' ]; - /** - * Get company prefix - * - * @return string company prefix - */ - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + /** + * Get company prefix + * + * @return string company prefix + */ + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - /** - * Get company suffix - * - * @return string company suffix - */ - public static function companySuffix() - { - return static::randomElement(static::$companySuffix); - } + /** + * Get company suffix + * + * @return string company suffix + */ + public static function companySuffix() { + return static::randomElement( static::$companySuffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Internet.php index 004ab9d..0240f9d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Internet.php @@ -2,24 +2,44 @@ namespace Faker\Provider\id_ID; -class Internet extends \Faker\Provider\Internet -{ - /** - * @var array some email domains - */ - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.com', 'gmail.co.id', 'yahoo.co.id', - ]; +class Internet extends \Faker\Provider\Internet { + /** + * @var array some email domains + */ + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'gmail.co.id', + 'yahoo.co.id', + ]; - /** - * General tld and local tld - * - * @see http://idwebhost.com/ - * @see http://domain.id/ - */ - protected static $tld = [ - 'com', 'net', 'org', 'asia', 'tv', 'biz', 'info', 'in', 'name', 'co', - 'ac.id', 'sch.id', 'go.id', 'mil.id', 'co.id', 'or.id', 'web.id', - 'my.id', 'biz.id', 'desa.id', 'id', - ]; + /** + * General tld and local tld + * + * @see http://idwebhost.com/ + * @see http://domain.id/ + */ + protected static $tld = [ + 'com', + 'net', + 'org', + 'asia', + 'tv', + 'biz', + 'info', + 'in', + 'name', + 'co', + 'ac.id', + 'sch.id', + 'go.id', + 'mil.id', + 'co.id', + 'or.id', + 'web.id', + 'my.id', + 'biz.id', + 'desa.id', + 'id', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Person.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Person.php index 7da0489..8306fba 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/Person.php @@ -2,342 +2,1592 @@ namespace Faker\Provider\id_ID; -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}} {{suffix}}', - '{{firstNameMale}} {{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{firstNameMale}} {{lastNameMale}} {{suffix}}', - ]; + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}} {{suffix}}', + '{{firstNameMale}} {{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{firstNameMale}} {{lastNameMale}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}} {{suffix}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastNameFemale}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}} {{suffix}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastNameFemale}} {{suffix}}', + ]; - /** - * @see http://www.nama.web.id/search.php?gender=male&origin=Indonesia+-+Jawa&letter=&submit=Search - */ - protected static $firstNameMale = [ - 'Abyasa', 'Ade', 'Adhiarja', 'Adiarja', 'Adika', 'Adikara', 'Adinata', - 'Aditya', 'Agus', 'Ajiman', 'Ajimat', 'Ajimin', 'Ajiono', 'Akarsana', - 'Alambana', 'Among', 'Anggabaya', 'Anom', 'Argono', 'Aris', 'Arta', - 'Artanto', 'Artawan', 'Arsipatra', 'Asirwada', 'Asirwanda', 'Aslijan', - 'Asmadi', 'Asman', 'Asmianto', 'Asmuni', 'Aswani', 'Atma', 'Atmaja', - 'Bagas', 'Bagiya', 'Bagus', 'Bagya', 'Bahuraksa', 'Bahuwarna', - 'Bahuwirya', 'Bajragin', 'Bakda', 'Bakiadi', 'Bakianto', 'Bakidin', - 'Bakijan', 'Bakiman', 'Bakiono', 'Bakti', 'Baktiadi', 'Baktianto', - 'Baktiono', 'Bala', 'Balamantri', 'Balangga', 'Balapati', 'Balidin', - 'Balijan', 'Bambang', 'Banara', 'Banawa', 'Banawi', 'Bancar', 'Budi', - 'Cagak', 'Cager', 'Cahyadi', 'Cahyanto', 'Cahya', 'Cahyo', 'Cahyono', - 'Caket', 'Cakrabirawa', 'Cakrabuana', 'Cakrajiya', 'Cakrawala', - 'Cakrawangsa', 'Candra', 'Chandra', 'Candrakanta', 'Capa', 'Caraka', - 'Carub', 'Catur', 'Caturangga', 'Cawisadi', 'Cawisono', 'Cawuk', - 'Cayadi', 'Cecep', 'Cemani', 'Cemeti', 'Cemplunk', 'Cengkal', 'Cengkir', - 'Dacin', 'Dadap', 'Dadi', 'Dagel', 'Daliman', 'Dalimin', 'Daliono', - 'Damar', 'Damu', 'Danang', 'Daniswara', 'Danu', 'Danuja', 'Dariati', - 'Darijan', 'Darimin', 'Darmaji', 'Darman', 'Darmana', 'Darmanto', - 'Darsirah', 'Dartono', 'Daru', 'Daruna', 'Daryani', 'Dasa', 'Digdaya', - 'Dimas', 'Dimaz', 'Dipa', 'Dirja', 'Drajat', 'Dwi', 'Dono', 'Dodo', - 'Edi', 'Eka', 'Elon', 'Eluh', 'Eman', 'Emas', 'Embuh', 'Emong', - 'Empluk', 'Endra', 'Enteng', 'Estiawan', 'Estiono', 'Eko', 'Edi', - 'Edison', 'Edward', 'Elvin', 'Erik', 'Emil', 'Ega', 'Emin', 'Eja', - 'Gada', 'Gadang', 'Gaduh', 'Gaiman', 'Galak', 'Galang', 'Galar', - 'Galih', 'Galiono', 'Galuh', 'Galur', 'Gaman', 'Gamani', 'Gamanto', - 'Gambira', 'Gamblang', 'Ganda', 'Gandewa', 'Gandi', 'Gandi', 'Ganep', - 'Gangsa', 'Gangsar', 'Ganjaran', 'Gantar', 'Gara', 'Garan', 'Garang', - 'Garda', 'Gatot', 'Gatra', 'Gilang', 'Galih', 'Ghani', 'Gading', - 'Hairyanto', 'Hardana', 'Hardi', 'Harimurti', 'Harja', 'Harjasa', - 'Harjaya', 'Harjo', 'Harsana', 'Harsanto', 'Harsaya', 'Hartaka', - 'Hartana', 'Harto', 'Hasta', 'Heru', 'Himawan', 'Hadi', 'Halim', - 'Hasim', 'Hasan', 'Hendra', 'Hendri', 'Heryanto', 'Hamzah', 'Hari', - 'Imam', 'Indra', 'Irwan', 'Irsad', 'Ikhsan', 'Irfan', 'Ian', 'Ibrahim', - 'Ibrani', 'Ismail', 'Irnanto', 'Ilyas', 'Ibun', 'Ivan', 'Ikin', 'Ihsan', - 'Jabal', 'Jaeman', 'Jaga', 'Jagapati', 'Jagaraga', 'Jail', 'Jaiman', - 'Jaka', 'Jarwa', 'Jarwadi', 'Jarwi', 'Jasmani', 'Jaswadi', 'Jati', - 'Jatmiko', 'Jaya', 'Jayadi', 'Jayeng', 'Jinawi', 'Jindra', 'Joko', - 'Jumadi', 'Jumari', 'Jamal', 'Jamil', 'Jais', 'Jefri', 'Johan', 'Jono', - 'Kacung', 'Kajen', 'Kambali', 'Kamidin', 'Kariman', 'Karja', 'Karma', - 'Karman', 'Karna', 'Karsa', 'Karsana', 'Karta', 'Kasiran', 'Kasusra', - 'Kawaca', 'Kawaya', 'Kayun', 'Kemba', 'Kenari', 'Kenes', 'Kuncara', - 'Kunthara', 'Kusuma', 'Kadir', 'Kala', 'Kalim', 'Kurnia', 'Kanda', - 'Kardi', 'Karya', 'Kasim', 'Kairav', 'Kenzie', 'Kemal', 'Kamal', 'Koko', - 'Labuh', 'Laksana', 'Lamar', 'Lanang', 'Langgeng', 'Lanjar', 'Lantar', - 'Lega', 'Legawa', 'Lembah', 'Liman', 'Limar', 'Luhung', 'Lukita', - 'Luluh', 'Lulut', 'Lurhur', 'Luwar', 'Luwes', 'Latif', 'Lasmanto', - 'Lukman', 'Luthfi', 'Leo', 'Luis', 'Lutfan', 'Lasmono', 'Laswi', - 'Mahesa', 'Makara', 'Makuta', 'Manah', 'Maras', 'Margana', 'Mariadi', - 'Marsudi', 'Martaka', 'Martana', 'Martani', 'Marwata', 'Maryadi', - 'Maryanto', 'Mitra', 'Mujur', 'Mulya', 'Mulyanto', 'Mulyono', 'Mumpuni', - 'Muni', 'Mursita', 'Murti', 'Mustika', 'Maman', 'Mahmud', 'Mahdi', - 'Mahfud', 'Malik', 'Muhammad', 'Mustofa', 'Marsito', 'Mursinin', - 'Nalar', 'Naradi', 'Nardi', 'Niyaga', 'Nrima', 'Nugraha', 'Nyana', - 'Narji', 'Nasab', 'Nasrullah', 'Nasim', 'Najib', 'Najam', 'Nyoman', - 'Olga', 'Ozy', 'Omar', 'Opan', 'Oskar', 'Oman', 'Okto', 'Okta', 'Opung', - 'Paiman', 'Panca', 'Pangeran', 'Pangestu', 'Pardi', 'Parman', 'Perkasa', - 'Praba', 'Prabu', 'Prabawa', 'Prabowo', 'Prakosa', 'Pranata', 'Pranawa', - 'Prasetya', 'Prasetyo', 'Prayitna', 'Prayoga', 'Prayogo', 'Purwadi', - 'Purwa', 'Purwanto', 'Panji', 'Pandu', 'Paiman', 'Prima', 'Putu', - 'Raden', 'Raditya', 'Raharja', 'Rama', 'Rangga', 'Reksa', 'Respati', - 'Rusman', 'Rosman', 'Rahmat', 'Rahman', 'Rendy', 'Reza', 'Rizki', - 'Ridwan', 'Rudi', 'Raden', 'Radit', 'Radika', 'Rafi', 'Rafid', 'Raihan', - 'Salman', 'Saadat', 'Saiful', 'Surya', 'Slamet', 'Samsul', 'Soleh', - 'Simon', 'Sabar', 'Sabri', 'Sidiq', 'Satya', 'Setya', 'Saka', 'Sakti', - 'Taswir', 'Tedi', 'Teddy', 'Taufan', 'Taufik', 'Tomi', 'Tasnim', - 'Teguh', 'Tasdik', 'Timbul', 'Tirta', 'Tirtayasa', 'Tri', 'Tugiman', - 'Umar', 'Usman', 'Uda', 'Umay', 'Unggul', 'Utama', 'Umaya', 'Upik', - 'Viktor', 'Vino', 'Vinsen', 'Vero', 'Vega', 'Viman', 'Virman', - 'Wahyu', 'Wira', 'Wisnu', 'Wadi', 'Wardi', 'Warji', 'Waluyo', 'Wakiman', - 'Wage', 'Wardaya', 'Warsa', 'Warsita', 'Warta', 'Wasis', 'Wawan', - 'Xanana', 'Yahya', 'Yusuf', 'Yosef', 'Yono', 'Yoga', - ]; + /** + * @see http://www.nama.web.id/search.php?gender=male&origin=Indonesia+-+Jawa&letter=&submit=Search + */ + protected static $firstNameMale = [ + 'Abyasa', + 'Ade', + 'Adhiarja', + 'Adiarja', + 'Adika', + 'Adikara', + 'Adinata', + 'Aditya', + 'Agus', + 'Ajiman', + 'Ajimat', + 'Ajimin', + 'Ajiono', + 'Akarsana', + 'Alambana', + 'Among', + 'Anggabaya', + 'Anom', + 'Argono', + 'Aris', + 'Arta', + 'Artanto', + 'Artawan', + 'Arsipatra', + 'Asirwada', + 'Asirwanda', + 'Aslijan', + 'Asmadi', + 'Asman', + 'Asmianto', + 'Asmuni', + 'Aswani', + 'Atma', + 'Atmaja', + 'Bagas', + 'Bagiya', + 'Bagus', + 'Bagya', + 'Bahuraksa', + 'Bahuwarna', + 'Bahuwirya', + 'Bajragin', + 'Bakda', + 'Bakiadi', + 'Bakianto', + 'Bakidin', + 'Bakijan', + 'Bakiman', + 'Bakiono', + 'Bakti', + 'Baktiadi', + 'Baktianto', + 'Baktiono', + 'Bala', + 'Balamantri', + 'Balangga', + 'Balapati', + 'Balidin', + 'Balijan', + 'Bambang', + 'Banara', + 'Banawa', + 'Banawi', + 'Bancar', + 'Budi', + 'Cagak', + 'Cager', + 'Cahyadi', + 'Cahyanto', + 'Cahya', + 'Cahyo', + 'Cahyono', + 'Caket', + 'Cakrabirawa', + 'Cakrabuana', + 'Cakrajiya', + 'Cakrawala', + 'Cakrawangsa', + 'Candra', + 'Chandra', + 'Candrakanta', + 'Capa', + 'Caraka', + 'Carub', + 'Catur', + 'Caturangga', + 'Cawisadi', + 'Cawisono', + 'Cawuk', + 'Cayadi', + 'Cecep', + 'Cemani', + 'Cemeti', + 'Cemplunk', + 'Cengkal', + 'Cengkir', + 'Dacin', + 'Dadap', + 'Dadi', + 'Dagel', + 'Daliman', + 'Dalimin', + 'Daliono', + 'Damar', + 'Damu', + 'Danang', + 'Daniswara', + 'Danu', + 'Danuja', + 'Dariati', + 'Darijan', + 'Darimin', + 'Darmaji', + 'Darman', + 'Darmana', + 'Darmanto', + 'Darsirah', + 'Dartono', + 'Daru', + 'Daruna', + 'Daryani', + 'Dasa', + 'Digdaya', + 'Dimas', + 'Dimaz', + 'Dipa', + 'Dirja', + 'Drajat', + 'Dwi', + 'Dono', + 'Dodo', + 'Edi', + 'Eka', + 'Elon', + 'Eluh', + 'Eman', + 'Emas', + 'Embuh', + 'Emong', + 'Empluk', + 'Endra', + 'Enteng', + 'Estiawan', + 'Estiono', + 'Eko', + 'Edi', + 'Edison', + 'Edward', + 'Elvin', + 'Erik', + 'Emil', + 'Ega', + 'Emin', + 'Eja', + 'Gada', + 'Gadang', + 'Gaduh', + 'Gaiman', + 'Galak', + 'Galang', + 'Galar', + 'Galih', + 'Galiono', + 'Galuh', + 'Galur', + 'Gaman', + 'Gamani', + 'Gamanto', + 'Gambira', + 'Gamblang', + 'Ganda', + 'Gandewa', + 'Gandi', + 'Gandi', + 'Ganep', + 'Gangsa', + 'Gangsar', + 'Ganjaran', + 'Gantar', + 'Gara', + 'Garan', + 'Garang', + 'Garda', + 'Gatot', + 'Gatra', + 'Gilang', + 'Galih', + 'Ghani', + 'Gading', + 'Hairyanto', + 'Hardana', + 'Hardi', + 'Harimurti', + 'Harja', + 'Harjasa', + 'Harjaya', + 'Harjo', + 'Harsana', + 'Harsanto', + 'Harsaya', + 'Hartaka', + 'Hartana', + 'Harto', + 'Hasta', + 'Heru', + 'Himawan', + 'Hadi', + 'Halim', + 'Hasim', + 'Hasan', + 'Hendra', + 'Hendri', + 'Heryanto', + 'Hamzah', + 'Hari', + 'Imam', + 'Indra', + 'Irwan', + 'Irsad', + 'Ikhsan', + 'Irfan', + 'Ian', + 'Ibrahim', + 'Ibrani', + 'Ismail', + 'Irnanto', + 'Ilyas', + 'Ibun', + 'Ivan', + 'Ikin', + 'Ihsan', + 'Jabal', + 'Jaeman', + 'Jaga', + 'Jagapati', + 'Jagaraga', + 'Jail', + 'Jaiman', + 'Jaka', + 'Jarwa', + 'Jarwadi', + 'Jarwi', + 'Jasmani', + 'Jaswadi', + 'Jati', + 'Jatmiko', + 'Jaya', + 'Jayadi', + 'Jayeng', + 'Jinawi', + 'Jindra', + 'Joko', + 'Jumadi', + 'Jumari', + 'Jamal', + 'Jamil', + 'Jais', + 'Jefri', + 'Johan', + 'Jono', + 'Kacung', + 'Kajen', + 'Kambali', + 'Kamidin', + 'Kariman', + 'Karja', + 'Karma', + 'Karman', + 'Karna', + 'Karsa', + 'Karsana', + 'Karta', + 'Kasiran', + 'Kasusra', + 'Kawaca', + 'Kawaya', + 'Kayun', + 'Kemba', + 'Kenari', + 'Kenes', + 'Kuncara', + 'Kunthara', + 'Kusuma', + 'Kadir', + 'Kala', + 'Kalim', + 'Kurnia', + 'Kanda', + 'Kardi', + 'Karya', + 'Kasim', + 'Kairav', + 'Kenzie', + 'Kemal', + 'Kamal', + 'Koko', + 'Labuh', + 'Laksana', + 'Lamar', + 'Lanang', + 'Langgeng', + 'Lanjar', + 'Lantar', + 'Lega', + 'Legawa', + 'Lembah', + 'Liman', + 'Limar', + 'Luhung', + 'Lukita', + 'Luluh', + 'Lulut', + 'Lurhur', + 'Luwar', + 'Luwes', + 'Latif', + 'Lasmanto', + 'Lukman', + 'Luthfi', + 'Leo', + 'Luis', + 'Lutfan', + 'Lasmono', + 'Laswi', + 'Mahesa', + 'Makara', + 'Makuta', + 'Manah', + 'Maras', + 'Margana', + 'Mariadi', + 'Marsudi', + 'Martaka', + 'Martana', + 'Martani', + 'Marwata', + 'Maryadi', + 'Maryanto', + 'Mitra', + 'Mujur', + 'Mulya', + 'Mulyanto', + 'Mulyono', + 'Mumpuni', + 'Muni', + 'Mursita', + 'Murti', + 'Mustika', + 'Maman', + 'Mahmud', + 'Mahdi', + 'Mahfud', + 'Malik', + 'Muhammad', + 'Mustofa', + 'Marsito', + 'Mursinin', + 'Nalar', + 'Naradi', + 'Nardi', + 'Niyaga', + 'Nrima', + 'Nugraha', + 'Nyana', + 'Narji', + 'Nasab', + 'Nasrullah', + 'Nasim', + 'Najib', + 'Najam', + 'Nyoman', + 'Olga', + 'Ozy', + 'Omar', + 'Opan', + 'Oskar', + 'Oman', + 'Okto', + 'Okta', + 'Opung', + 'Paiman', + 'Panca', + 'Pangeran', + 'Pangestu', + 'Pardi', + 'Parman', + 'Perkasa', + 'Praba', + 'Prabu', + 'Prabawa', + 'Prabowo', + 'Prakosa', + 'Pranata', + 'Pranawa', + 'Prasetya', + 'Prasetyo', + 'Prayitna', + 'Prayoga', + 'Prayogo', + 'Purwadi', + 'Purwa', + 'Purwanto', + 'Panji', + 'Pandu', + 'Paiman', + 'Prima', + 'Putu', + 'Raden', + 'Raditya', + 'Raharja', + 'Rama', + 'Rangga', + 'Reksa', + 'Respati', + 'Rusman', + 'Rosman', + 'Rahmat', + 'Rahman', + 'Rendy', + 'Reza', + 'Rizki', + 'Ridwan', + 'Rudi', + 'Raden', + 'Radit', + 'Radika', + 'Rafi', + 'Rafid', + 'Raihan', + 'Salman', + 'Saadat', + 'Saiful', + 'Surya', + 'Slamet', + 'Samsul', + 'Soleh', + 'Simon', + 'Sabar', + 'Sabri', + 'Sidiq', + 'Satya', + 'Setya', + 'Saka', + 'Sakti', + 'Taswir', + 'Tedi', + 'Teddy', + 'Taufan', + 'Taufik', + 'Tomi', + 'Tasnim', + 'Teguh', + 'Tasdik', + 'Timbul', + 'Tirta', + 'Tirtayasa', + 'Tri', + 'Tugiman', + 'Umar', + 'Usman', + 'Uda', + 'Umay', + 'Unggul', + 'Utama', + 'Umaya', + 'Upik', + 'Viktor', + 'Vino', + 'Vinsen', + 'Vero', + 'Vega', + 'Viman', + 'Virman', + 'Wahyu', + 'Wira', + 'Wisnu', + 'Wadi', + 'Wardi', + 'Warji', + 'Waluyo', + 'Wakiman', + 'Wage', + 'Wardaya', + 'Warsa', + 'Warsita', + 'Warta', + 'Wasis', + 'Wawan', + 'Xanana', + 'Yahya', + 'Yusuf', + 'Yosef', + 'Yono', + 'Yoga', + ]; - /** - * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ - */ - protected static $firstNameFemale = [ - 'Ade', 'Agnes', 'Ajeng', 'Amalia', 'Anita', 'Ayu', 'Aisyah', 'Ana', - 'Ami', 'Ani', 'Azalea', 'Aurora', 'Alika', 'Anastasia', 'Amelia', - 'Almira', 'Bella', 'Betania', 'Belinda', 'Citra', 'Cindy', 'Chelsea', - 'Clara', 'Cornelia', 'Cinta', 'Cinthia', 'Ciaobella', 'Cici', 'Carla', - 'Calista', 'Devi', 'Dewi', 'Dian', 'Diah', 'Diana', 'Dina', 'Dinda', - 'Dalima', 'Eka', 'Eva', 'Endah', 'Elisa', 'Eli', 'Ella', 'Ellis', - 'Elma', 'Elvina', 'Fitria', 'Fitriani', 'Febi', 'Faizah', 'Farah', - 'Farhunnisa', 'Fathonah', 'Gabriella', 'Gasti', 'Gawati', 'Genta', - 'Ghaliyati', 'Gina', 'Gilda', 'Halima', 'Hesti', 'Hilda', 'Hafshah', - 'Hamima', 'Hana', 'Hani', 'Hasna', 'Humaira', 'Ika', 'Indah', 'Intan', - 'Irma', 'Icha', 'Ida', 'Ifa', 'Ilsa', 'Ina', 'Ira', 'Iriana', 'Jamalia', - 'Janet', 'Jane', 'Julia', 'Juli', 'Jessica', 'Jasmin', 'Jelita', - 'Kamaria', 'Kamila', 'Kani', 'Karen', 'Karimah', 'Kartika', 'Kasiyah', - 'Keisha', 'Kezia', 'Kiandra', 'Kayla', 'Kania', 'Lala', 'Lalita', - 'Latika', 'Laila', 'Laras', 'Lidya', 'Lili', 'Lintang', 'Maria', 'Mala', - 'Maya', 'Maida', 'Maimunah', 'Melinda', 'Mila', 'Mutia', 'Michelle', - 'Malika', 'Nadia', 'Nadine', 'Nabila', 'Natalia', 'Novi', 'Nova', - 'Nurul', 'Nilam', 'Najwa', 'Olivia', 'Ophelia', 'Oni', 'Oliva', 'Padma', - 'Putri', 'Paramita', 'Paris', 'Patricia', 'Paulin', 'Puput', 'Puji', - 'Pia', 'Puspa', 'Puti', 'Putri', 'Padmi', 'Qori', 'Queen', 'Ratih', - 'Ratna', 'Restu', 'Rini', 'Rika', 'Rina', 'Rahayu', 'Rahmi', 'Rachel', - 'Rahmi', 'Raisa', 'Raina', 'Sarah', 'Sari', 'Siti', 'Siska', 'Suci', - 'Syahrini', 'Septi', 'Sadina', 'Safina', 'Sakura', 'Salimah', 'Salwa', - 'Salsabila', 'Samiah', 'Shania', 'Sabrina', 'Silvia', 'Shakila', - 'Talia', 'Tami', 'Tira', 'Tiara', 'Titin', 'Tania', 'Tina', 'Tantri', - 'Tari', 'Titi', 'Uchita', 'Unjani', 'Ulya', 'Uli', 'Ulva', 'Umi', - 'Usyi', 'Vanya', 'Vanesa', 'Vivi', 'Vera', 'Vicky', 'Victoria', - 'Violet', 'Winda', 'Widya', 'Wulan', 'Wirda', 'Wani', 'Yani', 'Yessi', - 'Yulia', 'Yuliana', 'Yuni', 'Yunita', 'Yance', 'Zahra', 'Zalindra', - 'Zaenab', 'Zulfa', 'Zizi', 'Zulaikha', 'Zamira', 'Zelda', 'Zelaya', - ]; + /** + * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ + */ + protected static $firstNameFemale = [ + 'Ade', + 'Agnes', + 'Ajeng', + 'Amalia', + 'Anita', + 'Ayu', + 'Aisyah', + 'Ana', + 'Ami', + 'Ani', + 'Azalea', + 'Aurora', + 'Alika', + 'Anastasia', + 'Amelia', + 'Almira', + 'Bella', + 'Betania', + 'Belinda', + 'Citra', + 'Cindy', + 'Chelsea', + 'Clara', + 'Cornelia', + 'Cinta', + 'Cinthia', + 'Ciaobella', + 'Cici', + 'Carla', + 'Calista', + 'Devi', + 'Dewi', + 'Dian', + 'Diah', + 'Diana', + 'Dina', + 'Dinda', + 'Dalima', + 'Eka', + 'Eva', + 'Endah', + 'Elisa', + 'Eli', + 'Ella', + 'Ellis', + 'Elma', + 'Elvina', + 'Fitria', + 'Fitriani', + 'Febi', + 'Faizah', + 'Farah', + 'Farhunnisa', + 'Fathonah', + 'Gabriella', + 'Gasti', + 'Gawati', + 'Genta', + 'Ghaliyati', + 'Gina', + 'Gilda', + 'Halima', + 'Hesti', + 'Hilda', + 'Hafshah', + 'Hamima', + 'Hana', + 'Hani', + 'Hasna', + 'Humaira', + 'Ika', + 'Indah', + 'Intan', + 'Irma', + 'Icha', + 'Ida', + 'Ifa', + 'Ilsa', + 'Ina', + 'Ira', + 'Iriana', + 'Jamalia', + 'Janet', + 'Jane', + 'Julia', + 'Juli', + 'Jessica', + 'Jasmin', + 'Jelita', + 'Kamaria', + 'Kamila', + 'Kani', + 'Karen', + 'Karimah', + 'Kartika', + 'Kasiyah', + 'Keisha', + 'Kezia', + 'Kiandra', + 'Kayla', + 'Kania', + 'Lala', + 'Lalita', + 'Latika', + 'Laila', + 'Laras', + 'Lidya', + 'Lili', + 'Lintang', + 'Maria', + 'Mala', + 'Maya', + 'Maida', + 'Maimunah', + 'Melinda', + 'Mila', + 'Mutia', + 'Michelle', + 'Malika', + 'Nadia', + 'Nadine', + 'Nabila', + 'Natalia', + 'Novi', + 'Nova', + 'Nurul', + 'Nilam', + 'Najwa', + 'Olivia', + 'Ophelia', + 'Oni', + 'Oliva', + 'Padma', + 'Putri', + 'Paramita', + 'Paris', + 'Patricia', + 'Paulin', + 'Puput', + 'Puji', + 'Pia', + 'Puspa', + 'Puti', + 'Putri', + 'Padmi', + 'Qori', + 'Queen', + 'Ratih', + 'Ratna', + 'Restu', + 'Rini', + 'Rika', + 'Rina', + 'Rahayu', + 'Rahmi', + 'Rachel', + 'Rahmi', + 'Raisa', + 'Raina', + 'Sarah', + 'Sari', + 'Siti', + 'Siska', + 'Suci', + 'Syahrini', + 'Septi', + 'Sadina', + 'Safina', + 'Sakura', + 'Salimah', + 'Salwa', + 'Salsabila', + 'Samiah', + 'Shania', + 'Sabrina', + 'Silvia', + 'Shakila', + 'Talia', + 'Tami', + 'Tira', + 'Tiara', + 'Titin', + 'Tania', + 'Tina', + 'Tantri', + 'Tari', + 'Titi', + 'Uchita', + 'Unjani', + 'Ulya', + 'Uli', + 'Ulva', + 'Umi', + 'Usyi', + 'Vanya', + 'Vanesa', + 'Vivi', + 'Vera', + 'Vicky', + 'Victoria', + 'Violet', + 'Winda', + 'Widya', + 'Wulan', + 'Wirda', + 'Wani', + 'Yani', + 'Yessi', + 'Yulia', + 'Yuliana', + 'Yuni', + 'Yunita', + 'Yance', + 'Zahra', + 'Zalindra', + 'Zaenab', + 'Zulfa', + 'Zizi', + 'Zulaikha', + 'Zamira', + 'Zelda', + 'Zelaya', + ]; - /** - * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ - * @see http://id.wikipedia.org/wiki/Daftar_marga_suku_Batak_di_Toba - */ - protected static $lastNameMale = [ - 'Adriansyah', 'Ardianto', 'Anggriawan', 'Budiman', 'Budiyanto', - 'Damanik', 'Dongoran', 'Dabukke', 'Firmansyah', 'Firgantoro', - 'Gunarto', 'Gunawan', 'Hardiansyah', 'Habibi', 'Hakim', 'Halim', - 'Haryanto', 'Hidayat', 'Hidayanto', 'Hutagalung', 'Hutapea', 'Hutasoit', - 'Irawan', 'Iswahyudi', 'Kuswoyo', 'Januar', 'Jailani', 'Kurniawan', - 'Kusumo', 'Latupono', 'Lazuardi', 'Maheswara', 'Mahendra', 'Mustofa', - 'Mansur', 'Mandala', 'Megantara', 'Maulana', 'Maryadi', 'Mangunsong', - 'Manullang', 'Marpaung', 'Marbun', 'Narpati', 'Natsir', 'Nugroho', - 'Najmudin', 'Nashiruddin', 'Nainggolan', 'Nababan', 'Napitupulu', - 'Pangestu', 'Putra', 'Pranowo', 'Prabowo', 'Pratama', 'Prasetya', - 'Prasetyo', 'Pradana', 'Pradipta', 'Prakasa', 'Permadi', 'Prasasta', - 'Prayoga', 'Ramadan', 'Rajasa', 'Rajata', 'Saptono', 'Santoso', - 'Saputra', 'Saefullah', 'Setiawan', 'Suryono', 'Suwarno', 'Siregar', - 'Sihombing', 'Salahudin', 'Sihombing', 'Samosir', 'Saragih', 'Sihotang', - 'Simanjuntak', 'Sinaga', 'Simbolon', 'Sitompul', 'Sitorus', 'Sirait', - 'Siregar', 'Situmorang', 'Tampubolon', 'Thamrin', 'Tamba', 'Tarihoran', - 'Utama', 'Uwais', 'Wahyudin', 'Waluyo', 'Wibowo', 'Winarno', 'Wibisono', - 'Wijaya', 'Widodo', 'Wacana', 'Waskita', 'Wasita', 'Zulkarnain', - ]; + /** + * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ + * @see http://id.wikipedia.org/wiki/Daftar_marga_suku_Batak_di_Toba + */ + protected static $lastNameMale = [ + 'Adriansyah', + 'Ardianto', + 'Anggriawan', + 'Budiman', + 'Budiyanto', + 'Damanik', + 'Dongoran', + 'Dabukke', + 'Firmansyah', + 'Firgantoro', + 'Gunarto', + 'Gunawan', + 'Hardiansyah', + 'Habibi', + 'Hakim', + 'Halim', + 'Haryanto', + 'Hidayat', + 'Hidayanto', + 'Hutagalung', + 'Hutapea', + 'Hutasoit', + 'Irawan', + 'Iswahyudi', + 'Kuswoyo', + 'Januar', + 'Jailani', + 'Kurniawan', + 'Kusumo', + 'Latupono', + 'Lazuardi', + 'Maheswara', + 'Mahendra', + 'Mustofa', + 'Mansur', + 'Mandala', + 'Megantara', + 'Maulana', + 'Maryadi', + 'Mangunsong', + 'Manullang', + 'Marpaung', + 'Marbun', + 'Narpati', + 'Natsir', + 'Nugroho', + 'Najmudin', + 'Nashiruddin', + 'Nainggolan', + 'Nababan', + 'Napitupulu', + 'Pangestu', + 'Putra', + 'Pranowo', + 'Prabowo', + 'Pratama', + 'Prasetya', + 'Prasetyo', + 'Pradana', + 'Pradipta', + 'Prakasa', + 'Permadi', + 'Prasasta', + 'Prayoga', + 'Ramadan', + 'Rajasa', + 'Rajata', + 'Saptono', + 'Santoso', + 'Saputra', + 'Saefullah', + 'Setiawan', + 'Suryono', + 'Suwarno', + 'Siregar', + 'Sihombing', + 'Salahudin', + 'Sihombing', + 'Samosir', + 'Saragih', + 'Sihotang', + 'Simanjuntak', + 'Sinaga', + 'Simbolon', + 'Sitompul', + 'Sitorus', + 'Sirait', + 'Siregar', + 'Situmorang', + 'Tampubolon', + 'Thamrin', + 'Tamba', + 'Tarihoran', + 'Utama', + 'Uwais', + 'Wahyudin', + 'Waluyo', + 'Wibowo', + 'Winarno', + 'Wibisono', + 'Wijaya', + 'Widodo', + 'Wacana', + 'Waskita', + 'Wasita', + 'Zulkarnain', + ]; - /** - * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ - */ - protected static $lastNameFemale = [ - 'Agustina', 'Andriani', 'Anggraini', 'Aryani', 'Astuti', - 'Fujiati', 'Farida', 'Handayani', 'Hassanah', 'Hartati', 'Hasanah', - 'Haryanti', 'Hariyah', 'Hastuti', 'Halimah', 'Kusmawati', 'Kuswandari', - 'Laksmiwati', 'Laksita', 'Lestari', 'Lailasari', 'Mandasari', - 'Mardhiyah', 'Mayasari', 'Melani', 'Mulyani', 'Maryati', 'Nurdiyanti', - 'Novitasari', 'Nuraini', 'Nasyidah', 'Nasyiah', 'Namaga', 'Palastri', - 'Pudjiastuti', 'Puspasari', 'Puspita', 'Purwanti', 'Pratiwi', - 'Purnawati', 'Pertiwi', 'Permata', 'Prastuti', 'Padmasari', 'Rahmawati', - 'Rahayu', 'Riyanti', 'Rahimah', 'Suartini', 'Sudiati', 'Suryatmi', - 'Susanti', 'Safitri', 'Oktaviani', 'Utami', 'Usamah', 'Usada', - 'Uyainah', 'Yuniar', 'Yuliarti', 'Yulianti', 'Yolanda', 'Wahyuni', - 'Wijayanti', 'Widiastuti', 'Winarsih', 'Wulandari', 'Wastuti', 'Zulaika', - ]; + /** + * @see http://namafb.com/2010/08/12/top-1000-nama-populer-indonesia/ + */ + protected static $lastNameFemale = [ + 'Agustina', + 'Andriani', + 'Anggraini', + 'Aryani', + 'Astuti', + 'Fujiati', + 'Farida', + 'Handayani', + 'Hassanah', + 'Hartati', + 'Hasanah', + 'Haryanti', + 'Hariyah', + 'Hastuti', + 'Halimah', + 'Kusmawati', + 'Kuswandari', + 'Laksmiwati', + 'Laksita', + 'Lestari', + 'Lailasari', + 'Mandasari', + 'Mardhiyah', + 'Mayasari', + 'Melani', + 'Mulyani', + 'Maryati', + 'Nurdiyanti', + 'Novitasari', + 'Nuraini', + 'Nasyidah', + 'Nasyiah', + 'Namaga', + 'Palastri', + 'Pudjiastuti', + 'Puspasari', + 'Puspita', + 'Purwanti', + 'Pratiwi', + 'Purnawati', + 'Pertiwi', + 'Permata', + 'Prastuti', + 'Padmasari', + 'Rahmawati', + 'Rahayu', + 'Riyanti', + 'Rahimah', + 'Suartini', + 'Sudiati', + 'Suryatmi', + 'Susanti', + 'Safitri', + 'Oktaviani', + 'Utami', + 'Usamah', + 'Usada', + 'Uyainah', + 'Yuniar', + 'Yuliarti', + 'Yulianti', + 'Yolanda', + 'Wahyuni', + 'Wijayanti', + 'Widiastuti', + 'Winarsih', + 'Wulandari', + 'Wastuti', + 'Zulaika', + ]; - /** - * @see http://id.wikipedia.org/wiki/Gelar_akademik - */ - protected static $titleMale = ['dr.', 'drg.', 'Dr.', 'Drs.', 'Ir.', 'H.']; + /** + * @see http://id.wikipedia.org/wiki/Gelar_akademik + */ + protected static $titleMale = [ 'dr.', 'drg.', 'Dr.', 'Drs.', 'Ir.', 'H.' ]; - /** - * @see http://id.wikipedia.org/wiki/Gelar_akademik - */ - protected static $titleFemale = ['dr.', 'drg.', 'Dr.', 'Hj.']; + /** + * @see http://id.wikipedia.org/wiki/Gelar_akademik + */ + protected static $titleFemale = [ 'dr.', 'drg.', 'Dr.', 'Hj.' ]; - /** - * @see http://informasipedia.com/wilayah-indonesia/daftar-kabupaten-kota-di-indonesia/ - */ - protected static $birthPlaceCode = [ - '1101', '1102', '1103', '1104', '1105', '1106', '1107', '1108', '1109', '1110', '1111', '1112', '1113', '1114', '1115', '1116', - '1117', '1118', '1171', '1172', '1173', '1174', '1175', '1201', '1202', '1203', '1204', '1205', '1206', '1207', '1208', '1209', - '1210', '1211', '1212', '1213', '1214', '1215', '1216', '1217', '1218', '1219', '1220', '1221', '1222', '1223', '1224', '1225', - '1271', '1272', '1273', '1274', '1275', '1276', '1277', '1278', '1301', '1302', '1303', '1304', '1305', '1306', '1307', '1308', - '1309', '1310', '1311', '1312', '1371', '1372', '1373', '1374', '1375', '1376', '1377', '1401', '1402', '1403', '1404', '1405', - '1406', '1407', '1408', '1409', '1410', '1471', '1472', '1501', '1502', '1503', '1504', '1505', '1506', '1507', '1508', '1509', - '1571', '1572', '1601', '1602', '1603', '1604', '1605', '1606', '1607', '1608', '1609', '1610', '1611', '1612', '1613', '1671', - '1672', '1673', '1674', '1701', '1702', '1703', '1704', '1705', '1706', '1707', '1708', '1709', '1771', '1801', '1802', '1803', - '1804', '1805', '1806', '1807', '1808', '1809', '1810', '1811', '1812', '1813', '1871', '1872', '1901', '1902', '1903', '1904', - '1905', '1906', '1971', '2101', '2102', '2103', '2104', '2105', '2171', '2172', '3101', '3171', '3172', '3173', '3174', '3175', - '3201', '3202', '3203', '3204', '3205', '3206', '3207', '3208', '3209', '3210', '3211', '3212', '3213', '3214', '3215', '3216', - '3217', '3218', '3271', '3272', '3273', '3274', '3275', '3276', '3277', '3278', '3279', '3301', '3302', '3303', '3304', '3305', - '3306', '3307', '3308', '3309', '3310', '3311', '3312', '3313', '3314', '3315', '3316', '3317', '3318', '3319', '3320', '3321', - '3322', '3323', '3324', '3325', '3326', '3327', '3328', '3329', '3371', '3372', '3373', '3374', '3375', '3376', '3401', '3402', - '3403', '3404', '3471', '3501', '3502', '3503', '3504', '3505', '3506', '3507', '3508', '3509', '3510', '3511', '3512', '3513', - '3514', '3515', '3516', '3517', '3518', '3519', '3520', '3521', '3522', '3523', '3524', '3525', '3526', '3527', '3528', '3529', - '3571', '3572', '3573', '3574', '3575', '3576', '3577', '3578', '3579', '3601', '3602', '3603', '3604', '3671', '3672', '3673', - '3674', '5101', '5102', '5103', '5104', '5105', '5106', '5107', '5108', '5171', '5201', '5202', '5203', '5204', '5205', '5206', - '5207', '5208', '5271', '5272', '5301', '5302', '5303', '5304', '5305', '5306', '5307', '5308', '5309', '5310', '5311', '5312', - '5313', '5314', '5315', '5316', '5317', '5318', '5319', '5320', '5321', '5371', '6101', '6102', '6103', '6104', '6105', '6106', - '6107', '6108', '6109', '6110', '6111', '6112', '6171', '6172', '6201', '6202', '6203', '6204', '6205', '6206', '6207', '6208', - '6209', '6210', '6211', '6212', '6213', '6271', '6301', '6302', '6303', '6304', '6305', '6306', '6307', '6308', '6309', '6310', - '6311', '6371', '6401', '6402', '6403', '6407', '6408', '6409', '6411', '6471', '6472', '6474', '6501', '6502', '6503', '6504', - '6571', '7101', '7102', '7103', '7104', '7105', '7106', '7107', '7108', '7109', '7110', '7111', '7171', '7201', '7202', '7203', - '7204', '7205', '7206', '7207', '7208', '7209', '7210', '7211', '7212', '7271', '7301', '7302', '7303', '7304', '7305', '7306', - '7307', '7308', '7309', '7310', '7311', '7312', '7313', '7314', '7315', '7316', '7317', '7318', '7322', '7324', '7326', '7371', - '7372', '7373', '7401', '7402', '7403', '7404', '7405', '7406', '7407', '7408', '7409', '7410', '7411', '7412', '7413', '7414', - '7415', '7471', '7472', '7501', '7502', '7503', '7504', '7505', '7571', '7601', '7602', '7603', '7604', '7605', '7606', '8101', - '8102', '8103', '8104', '8105', '8106', '8107', '8108', '8109', '8171', '8172', '8201', '8202', '8203', '8204', '8205', '8206', - '8207', '8208', '8271', '8272', '9101', '9102', '9103', '9104', '9105', '9106', '9107', '9108', '9109', '9110', '9111', '9112', - '9113', '9114', '9115', '9116', '9117', '9118', '9119', '9120', '9121', '9122', '9123', '9124', '9125', '9126', '9127', '9128', - '9171', '9201', '9202', '9203', '9204', '9205', '9206', '9207', '9208', '9209', '9210', '9211', '9212', '9271', - ]; + /** + * @see http://informasipedia.com/wilayah-indonesia/daftar-kabupaten-kota-di-indonesia/ + */ + protected static $birthPlaceCode = [ + '1101', + '1102', + '1103', + '1104', + '1105', + '1106', + '1107', + '1108', + '1109', + '1110', + '1111', + '1112', + '1113', + '1114', + '1115', + '1116', + '1117', + '1118', + '1171', + '1172', + '1173', + '1174', + '1175', + '1201', + '1202', + '1203', + '1204', + '1205', + '1206', + '1207', + '1208', + '1209', + '1210', + '1211', + '1212', + '1213', + '1214', + '1215', + '1216', + '1217', + '1218', + '1219', + '1220', + '1221', + '1222', + '1223', + '1224', + '1225', + '1271', + '1272', + '1273', + '1274', + '1275', + '1276', + '1277', + '1278', + '1301', + '1302', + '1303', + '1304', + '1305', + '1306', + '1307', + '1308', + '1309', + '1310', + '1311', + '1312', + '1371', + '1372', + '1373', + '1374', + '1375', + '1376', + '1377', + '1401', + '1402', + '1403', + '1404', + '1405', + '1406', + '1407', + '1408', + '1409', + '1410', + '1471', + '1472', + '1501', + '1502', + '1503', + '1504', + '1505', + '1506', + '1507', + '1508', + '1509', + '1571', + '1572', + '1601', + '1602', + '1603', + '1604', + '1605', + '1606', + '1607', + '1608', + '1609', + '1610', + '1611', + '1612', + '1613', + '1671', + '1672', + '1673', + '1674', + '1701', + '1702', + '1703', + '1704', + '1705', + '1706', + '1707', + '1708', + '1709', + '1771', + '1801', + '1802', + '1803', + '1804', + '1805', + '1806', + '1807', + '1808', + '1809', + '1810', + '1811', + '1812', + '1813', + '1871', + '1872', + '1901', + '1902', + '1903', + '1904', + '1905', + '1906', + '1971', + '2101', + '2102', + '2103', + '2104', + '2105', + '2171', + '2172', + '3101', + '3171', + '3172', + '3173', + '3174', + '3175', + '3201', + '3202', + '3203', + '3204', + '3205', + '3206', + '3207', + '3208', + '3209', + '3210', + '3211', + '3212', + '3213', + '3214', + '3215', + '3216', + '3217', + '3218', + '3271', + '3272', + '3273', + '3274', + '3275', + '3276', + '3277', + '3278', + '3279', + '3301', + '3302', + '3303', + '3304', + '3305', + '3306', + '3307', + '3308', + '3309', + '3310', + '3311', + '3312', + '3313', + '3314', + '3315', + '3316', + '3317', + '3318', + '3319', + '3320', + '3321', + '3322', + '3323', + '3324', + '3325', + '3326', + '3327', + '3328', + '3329', + '3371', + '3372', + '3373', + '3374', + '3375', + '3376', + '3401', + '3402', + '3403', + '3404', + '3471', + '3501', + '3502', + '3503', + '3504', + '3505', + '3506', + '3507', + '3508', + '3509', + '3510', + '3511', + '3512', + '3513', + '3514', + '3515', + '3516', + '3517', + '3518', + '3519', + '3520', + '3521', + '3522', + '3523', + '3524', + '3525', + '3526', + '3527', + '3528', + '3529', + '3571', + '3572', + '3573', + '3574', + '3575', + '3576', + '3577', + '3578', + '3579', + '3601', + '3602', + '3603', + '3604', + '3671', + '3672', + '3673', + '3674', + '5101', + '5102', + '5103', + '5104', + '5105', + '5106', + '5107', + '5108', + '5171', + '5201', + '5202', + '5203', + '5204', + '5205', + '5206', + '5207', + '5208', + '5271', + '5272', + '5301', + '5302', + '5303', + '5304', + '5305', + '5306', + '5307', + '5308', + '5309', + '5310', + '5311', + '5312', + '5313', + '5314', + '5315', + '5316', + '5317', + '5318', + '5319', + '5320', + '5321', + '5371', + '6101', + '6102', + '6103', + '6104', + '6105', + '6106', + '6107', + '6108', + '6109', + '6110', + '6111', + '6112', + '6171', + '6172', + '6201', + '6202', + '6203', + '6204', + '6205', + '6206', + '6207', + '6208', + '6209', + '6210', + '6211', + '6212', + '6213', + '6271', + '6301', + '6302', + '6303', + '6304', + '6305', + '6306', + '6307', + '6308', + '6309', + '6310', + '6311', + '6371', + '6401', + '6402', + '6403', + '6407', + '6408', + '6409', + '6411', + '6471', + '6472', + '6474', + '6501', + '6502', + '6503', + '6504', + '6571', + '7101', + '7102', + '7103', + '7104', + '7105', + '7106', + '7107', + '7108', + '7109', + '7110', + '7111', + '7171', + '7201', + '7202', + '7203', + '7204', + '7205', + '7206', + '7207', + '7208', + '7209', + '7210', + '7211', + '7212', + '7271', + '7301', + '7302', + '7303', + '7304', + '7305', + '7306', + '7307', + '7308', + '7309', + '7310', + '7311', + '7312', + '7313', + '7314', + '7315', + '7316', + '7317', + '7318', + '7322', + '7324', + '7326', + '7371', + '7372', + '7373', + '7401', + '7402', + '7403', + '7404', + '7405', + '7406', + '7407', + '7408', + '7409', + '7410', + '7411', + '7412', + '7413', + '7414', + '7415', + '7471', + '7472', + '7501', + '7502', + '7503', + '7504', + '7505', + '7571', + '7601', + '7602', + '7603', + '7604', + '7605', + '7606', + '8101', + '8102', + '8103', + '8104', + '8105', + '8106', + '8107', + '8108', + '8109', + '8171', + '8172', + '8201', + '8202', + '8203', + '8204', + '8205', + '8206', + '8207', + '8208', + '8271', + '8272', + '9101', + '9102', + '9103', + '9104', + '9105', + '9106', + '9107', + '9108', + '9109', + '9110', + '9111', + '9112', + '9113', + '9114', + '9115', + '9116', + '9117', + '9118', + '9119', + '9120', + '9121', + '9122', + '9123', + '9124', + '9125', + '9126', + '9127', + '9128', + '9171', + '9201', + '9202', + '9203', + '9204', + '9205', + '9206', + '9207', + '9208', + '9209', + '9210', + '9211', + '9212', + '9271', + ]; - /** - * For academic title - * - * @see http://id.wikipedia.org/wiki/Gelar_akademik - */ - private static $suffix = ['S.Ked', 'S.Gz', 'S.Pt', 'S.IP', 'S.E.I', - 'S.E.', 'S.Kom', 'S.H.', 'S.T.', 'S.Pd', 'S.Psi', 'S.I.Kom', - 'S.Sos', 'S.Farm', 'M.M.', 'M.Kom.', 'M.TI.', 'M.Pd', 'M.Farm', 'M.Ak', ]; + /** + * For academic title + * + * @see http://id.wikipedia.org/wiki/Gelar_akademik + */ + private static $suffix = [ + 'S.Ked', + 'S.Gz', + 'S.Pt', + 'S.IP', + 'S.E.I', + 'S.E.', + 'S.Kom', + 'S.H.', + 'S.T.', + 'S.Pd', + 'S.Psi', + 'S.I.Kom', + 'S.Sos', + 'S.Farm', + 'M.M.', + 'M.Kom.', + 'M.TI.', + 'M.Pd', + 'M.Farm', + 'M.Ak', + ]; - /** - * Return last name - * - * @param string|null $gender male or female or null for any - * - * @return string last name - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + /** + * Return last name + * + * @param string|null $gender male or female or null for any + * + * @return string last name + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } - $lastNameRandomElement = static::randomElement(static::$lastNameFormat); + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } + $lastNameRandomElement = static::randomElement( static::$lastNameFormat ); - return $this->generator->parse($lastNameRandomElement); - } + return $this->generator->parse( $lastNameRandomElement ); + } - /** - * Return last name for male - * - * @return string last name - */ - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + /** + * Return last name for male + * + * @return string last name + */ + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - /** - * Return last name for female - * - * @return string last name - */ - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + /** + * Return last name for female + * + * @return string last name + */ + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } - /** - * For academic title - * - * @return string suffix - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * For academic title + * + * @return string suffix + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * Generates Nomor Induk Kependudukan (NIK) - * - * @see https://en.wikipedia.org/wiki/National_identification_number#Indonesia - * - * @param string|null $gender - * @param \DateTime|null $birthDate - * - * @return string - */ - public function nik($gender = null, $birthDate = null) - { - // generate first numbers (region data) - $nik = $this->birthPlaceCode(); - $nik .= $this->generator->numerify('##'); + /** + * Generates Nomor Induk Kependudukan (NIK) + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Indonesia + * + * @param string|null $gender + * @param \DateTime|null $birthDate + * + * @return string + */ + public function nik( $gender = null, $birthDate = null ) { + // generate first numbers (region data) + $nik = $this->birthPlaceCode(); + $nik .= $this->generator->numerify( '##' ); - if (!$birthDate) { - $birthDate = $this->generator->dateTimeBetween(); - } + if ( ! $birthDate ) { + $birthDate = $this->generator->dateTimeBetween(); + } - if (!$gender) { - $gender = $this->generator->randomElement([self::GENDER_MALE, self::GENDER_FEMALE]); - } + if ( ! $gender ) { + $gender = $this->generator->randomElement( [ self::GENDER_MALE, self::GENDER_FEMALE ] ); + } - // if gender is female, add 40 to days - if ($gender == self::GENDER_FEMALE) { - $nik .= $birthDate->format('d') + 40; - } else { - $nik .= $birthDate->format('d'); - } + // if gender is female, add 40 to days + if ( $gender == self::GENDER_FEMALE ) { + $nik .= $birthDate->format( 'd' ) + 40; + } else { + $nik .= $birthDate->format( 'd' ); + } - $nik .= $birthDate->format('my'); + $nik .= $birthDate->format( 'my' ); - // add last random digits - $nik .= $this->generator->numerify('####'); + // add last random digits + $nik .= $this->generator->numerify( '####' ); - return $nik; - } + return $nik; + } - /** - * Generates birth place code for NIK - * - * @see https://id.wikipedia.org/wiki/Nomor_Induk_Kependudukan - * @see http://informasipedia.com/wilayah-indonesia/daftar-kabupaten-kota-di-indonesia/ - */ - protected function birthPlaceCode() - { - return static::randomElement(static::$birthPlaceCode); - } + /** + * Generates birth place code for NIK + * + * @see https://id.wikipedia.org/wiki/Nomor_Induk_Kependudukan + * @see http://informasipedia.com/wilayah-indonesia/daftar-kabupaten-kota-di-indonesia/ + */ + protected function birthPlaceCode() { + return static::randomElement( static::$birthPlaceCode ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/id_ID/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/id_ID/PhoneNumber.php index c0bfaf5..35b45ed 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/id_ID/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/id_ID/PhoneNumber.php @@ -2,54 +2,53 @@ namespace Faker\Provider\id_ID; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - // regional numbers - '02# #### ###', - '02## #### ###', - '03## #### ###', - '04## #### ###', - '05## #### ###', - '06## #### ###', - '07## #### ###', - '09## #### ###', +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + // regional numbers + '02# #### ###', + '02## #### ###', + '03## #### ###', + '04## #### ###', + '05## #### ###', + '06## #### ###', + '07## #### ###', + '09## #### ###', - '02# #### ####', - '02## #### ####', - '03## #### ####', - '04## #### ####', - '05## #### ####', - '06## #### ####', - '07## #### ####', - '09## #### ####', + '02# #### ####', + '02## #### ####', + '03## #### ####', + '04## #### ####', + '05## #### ####', + '06## #### ####', + '07## #### ####', + '09## #### ####', - // mobile numbers - '08## ### ###', // 0811 XXX XXX, 10 digits, very old - '08## #### ###', // 0811 XXXX XXX, 11 digits - '08## #### ####', // 0811 XXXX XXXX, 12 digits + // mobile numbers + '08## ### ###', // 0811 XXX XXX, 10 digits, very old + '08## #### ###', // 0811 XXXX XXX, 11 digits + '08## #### ####', // 0811 XXXX XXXX, 12 digits - // international numbers - '(+62) 8## ### ###', + // international numbers + '(+62) 8## ### ###', - '(+62) 2# #### ###', - '(+62) 2## #### ###', - '(+62) 3## #### ###', - '(+62) 4## #### ###', - '(+62) 5## #### ###', - '(+62) 6## #### ###', - '(+62) 7## #### ###', - '(+62) 8## #### ###', - '(+62) 9## #### ###', + '(+62) 2# #### ###', + '(+62) 2## #### ###', + '(+62) 3## #### ###', + '(+62) 4## #### ###', + '(+62) 5## #### ###', + '(+62) 6## #### ###', + '(+62) 7## #### ###', + '(+62) 8## #### ###', + '(+62) 9## #### ###', - '(+62) 2# #### ####', - '(+62) 2## #### ####', - '(+62) 3## #### ####', - '(+62) 4## #### ####', - '(+62) 5## #### ####', - '(+62) 6## #### ####', - '(+62) 7## #### ####', - '(+62) 8## #### ####', - '(+62) 9## #### ####', - ]; + '(+62) 2# #### ####', + '(+62) 2## #### ####', + '(+62) 3## #### ####', + '(+62) 4## #### ####', + '(+62) 5## #### ####', + '(+62) 6## #### ####', + '(+62) 7## #### ####', + '(+62) 8## #### ####', + '(+62) 9## #### ####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Address.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Address.php index 60b5a1e..183b4e9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Address.php @@ -2,174 +2,532 @@ namespace Faker\Provider\is_IS; -class Address extends \Faker\Provider\Address -{ - /** - * @var array Countries in icelandic - */ - protected static $country = [ - 'Afganistan', 'Albanía', 'Alsír', 'Andorra', 'Angóla', 'Angvilla', 'Antígva og Barbúda', 'Argentína', - 'Armenía', 'Arúba', 'Aserbaídsjan', 'Austur-Kongó', 'Austurríki', 'Austur-Tímor', 'Álandseyjar', - 'Ástralía', 'Bahamaeyjar', 'Bandaríkin', 'Bandaríska Samóa', 'Bangladess', 'Barbados', 'Barein', - 'Belgía', 'Belís', 'Benín', 'Bermúdaeyjar', 'Bosnía og Hersegóvína', 'Botsvana', 'Bouvet-eyja', 'Bólivía', - 'Brasilía', 'Bresku Indlandshafseyjar', 'Bretland', 'Brúnei', 'Búlgaría', 'Búrkína Fasó', 'Búrúndí', 'Bútan', - 'Cayman-eyjar', 'Chile', 'Cooks-eyjar', 'Danmörk', 'Djíbútí', 'Dóminíka', 'Dóminíska lýðveldið', 'Egyptaland', - 'Eistland', 'Ekvador', 'El Salvador', 'England', 'Erítrea', 'Eþíópía', 'Falklandseyjar', 'Filippseyjar', - 'Finnland', 'Fídjieyjar', 'Fílabeinsströndin', 'Frakkland', 'Franska Gvæjana', 'Franska Pólýnesía', - 'Frönsku suðlægu landsvæðin', 'Færeyjar', 'Gabon', 'Gambía', 'Gana', 'Georgía', 'Gíbraltar', 'Gínea', - 'Gínea-Bissá', 'Grenada', 'Grikkland', 'Grænhöfðaeyjar', 'Grænland', 'Gvadelúpeyjar', 'Gvam', 'Gvatemala', - 'Gvæjana', 'Haítí', 'Heard og McDonalds-eyjar', 'Holland', 'Hollensku Antillur', 'Hondúras', 'Hong Kong', - 'Hvíta-Rússland', 'Indland', 'Indónesía', 'Írak', 'Íran', 'Írland', 'Ísland', 'Ísrael', 'Ítalía', 'Jamaíka', - 'Japan', 'Jemen', 'Jólaey', 'Jómfrúaeyjar', 'Jórdanía', 'Kambódía', 'Kamerún', 'Kanada', 'Kasakstan', 'Katar', - 'Kenía', 'Kirgisistan', 'Kína', 'Kíribatí', 'Kongó', 'Austur-Kongó', 'Vestur-Kongó', 'Kostaríka', 'Kókoseyjar', - 'Kólumbía', 'Kómoreyjar', 'Kórea', 'Norður-Kórea;', 'Suður-Kórea', 'Króatía', 'Kúba', 'Kúveit', 'Kýpur', - 'Laos', 'Lesótó', 'Lettland', 'Liechtenstein', 'Litháen', 'Líbanon', 'Líbería', 'Líbía', 'Lúxemborg', - 'Madagaskar', 'Makaó', 'Makedónía', 'Malasía', 'Malaví', 'Maldíveyjar', 'Malí', 'Malta', 'Marokkó', - 'Marshall-eyjar', 'Martiník', 'Mayotte', 'Máritanía', 'Máritíus', 'Mexíkó', 'Mið-Afríkulýðveldið', - 'Miðbaugs-Gínea', 'Míkrónesía', 'Mjanmar', 'Moldóva', 'Mongólía', 'Montserrat', 'Mónakó', 'Mósambík', - 'Namibía', 'Nárú', 'Nepal', 'Niue', 'Níger', 'Nígería', 'Níkaragva', 'Norður-Írland', 'Norður-Kórea', - 'Norður-Maríanaeyjar', 'Noregur', 'Norfolkeyja', 'Nýja-Kaledónía', 'Nýja-Sjáland', 'Óman', 'Pakistan', - 'Palá', 'Palestína', 'Panama', 'Papúa Nýja-Gínea', 'Paragvæ', 'Páfagarður', 'Perú', 'Pitcairn', 'Portúgal', - 'Pólland', 'Púertó Ríkó', 'Réunion', 'Rúanda', 'Rúmenía', 'Rússland', 'Salómonseyjar', 'Sambía', - 'Sameinuðu arabísku furstadæmin', 'Samóa', 'San Marínó', 'Sankti Helena', 'Sankti Kristófer og Nevis', - 'Sankti Lúsía', 'Sankti Pierre og Miquelon', 'Sankti Vinsent og Grenadíneyjar', 'Saó Tóme og Prinsípe', - 'Sádi-Arabía', 'Senegal', 'Serbía', 'Seychelles-eyjar', 'Simbabve', 'Singapúr', 'Síerra Leóne', 'Skotland', - 'Slóvakía', 'Slóvenía', 'Smáeyjar Bandaríkjanna', 'Sómalía', 'Spánn', 'Srí Lanka', 'Suður-Afríka', - 'Suður-Georgía og Suður-Sandvíkureyjar', 'Suður-Kórea', 'Suðurskautslandið', 'Súdan', 'Súrínam', 'Jan Mayen', - 'Svartfjallaland', 'Svasíland', 'Sviss', 'Svíþjóð', 'Sýrland', 'Tadsjikistan', 'Taíland', 'Taívan', 'Tansanía', - 'Tékkland', 'Tonga', 'Tógó', 'Tókelá', 'Trínidad og Tóbagó', 'Tsjad', 'Tsjetsjenía', 'Turks- og Caicos-eyjar', - 'Túnis', 'Túrkmenistan', 'Túvalú', 'Tyrkland', 'Ungverjaland', 'Úganda', 'Úkraína', 'Úrúgvæ', 'Úsbekistan', - 'Vanúatú', 'Venesúela', 'Vestur-Kongó', 'Vestur-Sahara', 'Víetnam', 'Wales', 'Wallis- og Fútúnaeyjar', 'Þýskaland', - ]; - - /** - * @var array Icelandic cities. - */ - protected static $cityNames = [ - 'Reykjavík', 'Seltjarnarnes', 'Vogar', 'Kópavogur', 'Garðabær', 'Hafnarfjörður', 'Reykjanesbær', 'Grindavík', - 'Sandgerði', 'Garður', 'Reykjanesbær', 'Mosfellsbær', 'Akranes', 'Borgarnes', 'Reykholt', 'Stykkishólmur', - 'Flatey', 'Grundarfjörður', 'Ólafsvík', 'Snæfellsbær', 'Hellissandur', 'Búðardalur', 'Reykhólahreppur', - 'Ísafjörður', 'Hnífsdalur', 'Bolungarvík', 'Súðavík', 'Flateyri', 'Suðureyri', 'Patreksfjörður', - 'Tálknafjörður', 'Bíldudalur', 'Þingeyri', 'Staður', 'Hólmavík', 'Drangsnes', 'Árneshreppur', 'Hvammstangi', - 'Blönduós', 'Skagaströnd', 'Sauðárkrókur', 'Varmahlíð', 'Hofsós', 'Fljót', 'Siglufjörður', 'Akureyri', - 'Grenivík', 'Grímsey', 'Dalvík', 'Ólafsfjörður', 'Hrísey', 'Húsavík', 'Fosshóll', 'Laugar', 'Mývatn', - 'Kópasker', 'Raufarhöfn', 'Þórshöfn', 'Bakkafjörður', 'Vopnafjörður', 'Egilsstaðir', 'Seyðisfjörður', - 'Mjóifjörður', 'Borgarfjörður', 'Reyðarfjörður', 'Eskifjörður', 'Neskaupstaður', 'Fáskrúðsfjörður', - 'Stöðvarfjörður', 'Breiðdalsvík', 'Djúpivogur', 'Höfn', 'Selfoss', 'Hveragerði', 'Þorlákshöfn', 'Ölfus', - 'Eyrarbakki', 'Stokkseyri', 'Laugarvatn', 'Flúðir', 'Hella', 'Hvolsvöllur', 'Vík', 'Kirkjubæjarklaustur', - 'Vestmannaeyjar', - ]; - - /** - * @var array Street name suffix. - */ - protected static $streetSuffix = [ - 'ás', 'bakki', 'braut', 'bær', 'brún', 'berg', 'fold', 'gata', 'gróf', - 'garðar', 'höfði', 'heimar', 'hamar', 'hólar', 'háls', 'kvísl', 'lækur', - 'leiti', 'land', 'múli', 'nes', 'rimi', 'stígur', 'stræti', 'stekkur', - 'slóð', 'skógar', 'sel', 'teigur', 'tún', 'vangur', 'vegur', 'vogur', - 'vað', - ]; - - /** - * @var array Street name prefix. - */ - protected static $streetPrefix = [ - 'Aðal', 'Austur', 'Bakka', 'Braga', 'Báru', 'Brunn', 'Fiski', 'Leifs', - 'Týs', 'Birki', 'Suður', 'Norður', 'Vestur', 'Austur', 'Sanda', 'Skógar', - 'Stór', 'Sunnu', 'Tungu', 'Tangar', 'Úlfarfells', 'Vagn', 'Vind', 'Ysti', - 'Þing', 'Hamra', 'Hóla', 'Kríu', 'Iðu', 'Spóa', 'Starra', 'Uglu', 'Vals', - ]; - - /** - * @var array Icelandic zip code. - */ - protected static $postcode = [ - '%##', - ]; - - /** - * @var array Icelandic regions. - */ - protected static $regionNames = [ - 'Höfuðborgarsvæðið', 'Norðurland', 'Suðurland', 'Vesturland', 'Vestfirðir', 'Austurland', 'Suðurnes', - ]; - - /** - * @var array Icelandic building numbers. - */ - protected static $buildingNumber = [ - '%##', '%#', '%#', '%', '%', '%', '%?', '% ?', - ]; - - /** - * @var array Icelandic city format. - */ - protected static $cityFormats = [ - '{{cityName}}', - ]; - - /** - * @var array Icelandic street's name formats. - */ - protected static $streetNameFormats = [ - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{firstNameMale}}{{streetSuffix}}', - '{{firstNameFemale}}{{streetSuffix}}', - ]; - - /** - * @var array Icelandic street's address formats. - */ - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - /** - * @var array Icelandic address format. - */ - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Randomly return a real city name. - * - * @return string - */ - public static function cityName() - { - return static::randomElement(static::$cityNames); - } - - /** - * Randomly return a street prefix. - * - * @return string - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * Randomly return a building number. - * - * @return string - */ - public static function buildingNumber() - { - return static::toUpper(static::bothify(static::randomElement(static::$buildingNumber))); - } - - /** - * Randomly return a real region name. - * - * @return string - */ - public static function region() - { - return static::randomElement(static::$regionNames); - } +class Address extends \Faker\Provider\Address { + /** + * @var array Countries in icelandic + */ + protected static $country = [ + 'Afganistan', + 'Albanía', + 'Alsír', + 'Andorra', + 'Angóla', + 'Angvilla', + 'Antígva og Barbúda', + 'Argentína', + 'Armenía', + 'Arúba', + 'Aserbaídsjan', + 'Austur-Kongó', + 'Austurríki', + 'Austur-Tímor', + 'Álandseyjar', + 'Ástralía', + 'Bahamaeyjar', + 'Bandaríkin', + 'Bandaríska Samóa', + 'Bangladess', + 'Barbados', + 'Barein', + 'Belgía', + 'Belís', + 'Benín', + 'Bermúdaeyjar', + 'Bosnía og Hersegóvína', + 'Botsvana', + 'Bouvet-eyja', + 'Bólivía', + 'Brasilía', + 'Bresku Indlandshafseyjar', + 'Bretland', + 'Brúnei', + 'Búlgaría', + 'Búrkína Fasó', + 'Búrúndí', + 'Bútan', + 'Cayman-eyjar', + 'Chile', + 'Cooks-eyjar', + 'Danmörk', + 'Djíbútí', + 'Dóminíka', + 'Dóminíska lýðveldið', + 'Egyptaland', + 'Eistland', + 'Ekvador', + 'El Salvador', + 'England', + 'Erítrea', + 'Eþíópía', + 'Falklandseyjar', + 'Filippseyjar', + 'Finnland', + 'Fídjieyjar', + 'Fílabeinsströndin', + 'Frakkland', + 'Franska Gvæjana', + 'Franska Pólýnesía', + 'Frönsku suðlægu landsvæðin', + 'Færeyjar', + 'Gabon', + 'Gambía', + 'Gana', + 'Georgía', + 'Gíbraltar', + 'Gínea', + 'Gínea-Bissá', + 'Grenada', + 'Grikkland', + 'Grænhöfðaeyjar', + 'Grænland', + 'Gvadelúpeyjar', + 'Gvam', + 'Gvatemala', + 'Gvæjana', + 'Haítí', + 'Heard og McDonalds-eyjar', + 'Holland', + 'Hollensku Antillur', + 'Hondúras', + 'Hong Kong', + 'Hvíta-Rússland', + 'Indland', + 'Indónesía', + 'Írak', + 'Íran', + 'Írland', + 'Ísland', + 'Ísrael', + 'Ítalía', + 'Jamaíka', + 'Japan', + 'Jemen', + 'Jólaey', + 'Jómfrúaeyjar', + 'Jórdanía', + 'Kambódía', + 'Kamerún', + 'Kanada', + 'Kasakstan', + 'Katar', + 'Kenía', + 'Kirgisistan', + 'Kína', + 'Kíribatí', + 'Kongó', + 'Austur-Kongó', + 'Vestur-Kongó', + 'Kostaríka', + 'Kókoseyjar', + 'Kólumbía', + 'Kómoreyjar', + 'Kórea', + 'Norður-Kórea;', + 'Suður-Kórea', + 'Króatía', + 'Kúba', + 'Kúveit', + 'Kýpur', + 'Laos', + 'Lesótó', + 'Lettland', + 'Liechtenstein', + 'Litháen', + 'Líbanon', + 'Líbería', + 'Líbía', + 'Lúxemborg', + 'Madagaskar', + 'Makaó', + 'Makedónía', + 'Malasía', + 'Malaví', + 'Maldíveyjar', + 'Malí', + 'Malta', + 'Marokkó', + 'Marshall-eyjar', + 'Martiník', + 'Mayotte', + 'Máritanía', + 'Máritíus', + 'Mexíkó', + 'Mið-Afríkulýðveldið', + 'Miðbaugs-Gínea', + 'Míkrónesía', + 'Mjanmar', + 'Moldóva', + 'Mongólía', + 'Montserrat', + 'Mónakó', + 'Mósambík', + 'Namibía', + 'Nárú', + 'Nepal', + 'Niue', + 'Níger', + 'Nígería', + 'Níkaragva', + 'Norður-Írland', + 'Norður-Kórea', + 'Norður-Maríanaeyjar', + 'Noregur', + 'Norfolkeyja', + 'Nýja-Kaledónía', + 'Nýja-Sjáland', + 'Óman', + 'Pakistan', + 'Palá', + 'Palestína', + 'Panama', + 'Papúa Nýja-Gínea', + 'Paragvæ', + 'Páfagarður', + 'Perú', + 'Pitcairn', + 'Portúgal', + 'Pólland', + 'Púertó Ríkó', + 'Réunion', + 'Rúanda', + 'Rúmenía', + 'Rússland', + 'Salómonseyjar', + 'Sambía', + 'Sameinuðu arabísku furstadæmin', + 'Samóa', + 'San Marínó', + 'Sankti Helena', + 'Sankti Kristófer og Nevis', + 'Sankti Lúsía', + 'Sankti Pierre og Miquelon', + 'Sankti Vinsent og Grenadíneyjar', + 'Saó Tóme og Prinsípe', + 'Sádi-Arabía', + 'Senegal', + 'Serbía', + 'Seychelles-eyjar', + 'Simbabve', + 'Singapúr', + 'Síerra Leóne', + 'Skotland', + 'Slóvakía', + 'Slóvenía', + 'Smáeyjar Bandaríkjanna', + 'Sómalía', + 'Spánn', + 'Srí Lanka', + 'Suður-Afríka', + 'Suður-Georgía og Suður-Sandvíkureyjar', + 'Suður-Kórea', + 'Suðurskautslandið', + 'Súdan', + 'Súrínam', + 'Jan Mayen', + 'Svartfjallaland', + 'Svasíland', + 'Sviss', + 'Svíþjóð', + 'Sýrland', + 'Tadsjikistan', + 'Taíland', + 'Taívan', + 'Tansanía', + 'Tékkland', + 'Tonga', + 'Tógó', + 'Tókelá', + 'Trínidad og Tóbagó', + 'Tsjad', + 'Tsjetsjenía', + 'Turks- og Caicos-eyjar', + 'Túnis', + 'Túrkmenistan', + 'Túvalú', + 'Tyrkland', + 'Ungverjaland', + 'Úganda', + 'Úkraína', + 'Úrúgvæ', + 'Úsbekistan', + 'Vanúatú', + 'Venesúela', + 'Vestur-Kongó', + 'Vestur-Sahara', + 'Víetnam', + 'Wales', + 'Wallis- og Fútúnaeyjar', + 'Þýskaland', + ]; + + /** + * @var array Icelandic cities. + */ + protected static $cityNames = [ + 'Reykjavík', + 'Seltjarnarnes', + 'Vogar', + 'Kópavogur', + 'Garðabær', + 'Hafnarfjörður', + 'Reykjanesbær', + 'Grindavík', + 'Sandgerði', + 'Garður', + 'Reykjanesbær', + 'Mosfellsbær', + 'Akranes', + 'Borgarnes', + 'Reykholt', + 'Stykkishólmur', + 'Flatey', + 'Grundarfjörður', + 'Ólafsvík', + 'Snæfellsbær', + 'Hellissandur', + 'Búðardalur', + 'Reykhólahreppur', + 'Ísafjörður', + 'Hnífsdalur', + 'Bolungarvík', + 'Súðavík', + 'Flateyri', + 'Suðureyri', + 'Patreksfjörður', + 'Tálknafjörður', + 'Bíldudalur', + 'Þingeyri', + 'Staður', + 'Hólmavík', + 'Drangsnes', + 'Árneshreppur', + 'Hvammstangi', + 'Blönduós', + 'Skagaströnd', + 'Sauðárkrókur', + 'Varmahlíð', + 'Hofsós', + 'Fljót', + 'Siglufjörður', + 'Akureyri', + 'Grenivík', + 'Grímsey', + 'Dalvík', + 'Ólafsfjörður', + 'Hrísey', + 'Húsavík', + 'Fosshóll', + 'Laugar', + 'Mývatn', + 'Kópasker', + 'Raufarhöfn', + 'Þórshöfn', + 'Bakkafjörður', + 'Vopnafjörður', + 'Egilsstaðir', + 'Seyðisfjörður', + 'Mjóifjörður', + 'Borgarfjörður', + 'Reyðarfjörður', + 'Eskifjörður', + 'Neskaupstaður', + 'Fáskrúðsfjörður', + 'Stöðvarfjörður', + 'Breiðdalsvík', + 'Djúpivogur', + 'Höfn', + 'Selfoss', + 'Hveragerði', + 'Þorlákshöfn', + 'Ölfus', + 'Eyrarbakki', + 'Stokkseyri', + 'Laugarvatn', + 'Flúðir', + 'Hella', + 'Hvolsvöllur', + 'Vík', + 'Kirkjubæjarklaustur', + 'Vestmannaeyjar', + ]; + + /** + * @var array Street name suffix. + */ + protected static $streetSuffix = [ + 'ás', + 'bakki', + 'braut', + 'bær', + 'brún', + 'berg', + 'fold', + 'gata', + 'gróf', + 'garðar', + 'höfði', + 'heimar', + 'hamar', + 'hólar', + 'háls', + 'kvísl', + 'lækur', + 'leiti', + 'land', + 'múli', + 'nes', + 'rimi', + 'stígur', + 'stræti', + 'stekkur', + 'slóð', + 'skógar', + 'sel', + 'teigur', + 'tún', + 'vangur', + 'vegur', + 'vogur', + 'vað', + ]; + + /** + * @var array Street name prefix. + */ + protected static $streetPrefix = [ + 'Aðal', + 'Austur', + 'Bakka', + 'Braga', + 'Báru', + 'Brunn', + 'Fiski', + 'Leifs', + 'Týs', + 'Birki', + 'Suður', + 'Norður', + 'Vestur', + 'Austur', + 'Sanda', + 'Skógar', + 'Stór', + 'Sunnu', + 'Tungu', + 'Tangar', + 'Úlfarfells', + 'Vagn', + 'Vind', + 'Ysti', + 'Þing', + 'Hamra', + 'Hóla', + 'Kríu', + 'Iðu', + 'Spóa', + 'Starra', + 'Uglu', + 'Vals', + ]; + + /** + * @var array Icelandic zip code. + */ + protected static $postcode = [ + '%##', + ]; + + /** + * @var array Icelandic regions. + */ + protected static $regionNames = [ + 'Höfuðborgarsvæðið', + 'Norðurland', + 'Suðurland', + 'Vesturland', + 'Vestfirðir', + 'Austurland', + 'Suðurnes', + ]; + + /** + * @var array Icelandic building numbers. + */ + protected static $buildingNumber = [ + '%##', + '%#', + '%#', + '%', + '%', + '%', + '%?', + '% ?', + ]; + + /** + * @var array Icelandic city format. + */ + protected static $cityFormats = [ + '{{cityName}}', + ]; + + /** + * @var array Icelandic street's name formats. + */ + protected static $streetNameFormats = [ + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{firstNameMale}}{{streetSuffix}}', + '{{firstNameFemale}}{{streetSuffix}}', + ]; + + /** + * @var array Icelandic street's address formats. + */ + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + /** + * @var array Icelandic address format. + */ + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Randomly return a real city name. + * + * @return string + */ + public static function cityName() { + return static::randomElement( static::$cityNames ); + } + + /** + * Randomly return a street prefix. + * + * @return string + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * Randomly return a building number. + * + * @return string + */ + public static function buildingNumber() { + return static::toUpper( static::bothify( static::randomElement( static::$buildingNumber ) ) ); + } + + /** + * Randomly return a real region name. + * + * @return string + */ + public static function region() { + return static::randomElement( static::$regionNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Company.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Company.php index 1327fb8..fe4cf32 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Company.php @@ -2,49 +2,47 @@ namespace Faker\Provider\is_IS; -class Company extends \Faker\Provider\Company -{ - /** - * @var array Danish company name formats. - */ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{firstname}} {{lastName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{middleName}} {{companySuffix}}', - '{{firstname}} {{middleName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} og {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} og {{lastName}} {{companySuffix}}', - '{{middleName}} & {{middleName}} {{companySuffix}}', - '{{middleName}} og {{middleName}} {{companySuffix}}', - '{{middleName}} & {{lastName}}', - '{{middleName}} og {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + /** + * @var array Danish company name formats. + */ + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{firstname}} {{lastName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{middleName}} {{companySuffix}}', + '{{firstname}} {{middleName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} og {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} og {{lastName}} {{companySuffix}}', + '{{middleName}} & {{middleName}} {{companySuffix}}', + '{{middleName}} og {{middleName}} {{companySuffix}}', + '{{middleName}} & {{lastName}}', + '{{middleName}} og {{lastName}}', + ]; - /** - * @var array Company suffixes. - */ - protected static $companySuffix = ['ehf.', 'hf.', 'sf.']; + /** + * @var array Company suffixes. + */ + protected static $companySuffix = [ 'ehf.', 'hf.', 'sf.' ]; - /** - * @see http://www.rsk.is/atvinnurekstur/virdisaukaskattur/ - * - * @var string VSK number format. - */ - protected static $vskFormat = '%####'; + /** + * @see http://www.rsk.is/atvinnurekstur/virdisaukaskattur/ + * + * @var string VSK number format. + */ + protected static $vskFormat = '%####'; - /** - * Generates a VSK number (5 digits). - * - * @return string - */ - public static function vsk() - { - return static::numerify(static::$vskFormat); - } + /** + * Generates a VSK number (5 digits). + * + * @return string + */ + public static function vsk() { + return static::numerify( static::$vskFormat ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Internet.php index 6ad5cfe..13907ba 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Internet.php @@ -2,19 +2,29 @@ namespace Faker\Provider\is_IS; -class Internet extends \Faker\Provider\Internet -{ - /** - * @var array Some email domains in Denmark. - */ - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.com', 'hotmail.com', 'visir.is', 'simnet.is', 'internet.is', - ]; +class Internet extends \Faker\Provider\Internet { + /** + * @var array Some email domains in Denmark. + */ + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'visir.is', + 'simnet.is', + 'internet.is', + ]; - /** - * @var array Some TLD. - */ - protected static $tld = [ - 'com', 'com', 'com', 'net', 'is', 'is', 'is', - ]; + /** + * @var array Some TLD. + */ + protected static $tld = [ + 'com', + 'com', + 'com', + 'net', + 'is', + 'is', + 'is', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Payment.php index 6ad2736..ab72159 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\is_IS; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'IS', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'IS', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Person.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Person.php index 517bd66..3ff0f58 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/Person.php @@ -4,139 +4,4022 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - /** - * @var array Icelandic name formats for men. - */ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{middleName}} {{lastNameMale}}', - '{{firstNameMale}} {{middleName}} {{lastNameMale}}', - ]; - - /** - * @var array Icelandic name formats for women. - */ - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{middleName}} {{lastNameFemale}}', - '{{firstNameFemale}} {{middleName}} {{lastNameFemale}}', - ]; - - /** - * @var array Icelandic names for women. - */ - protected static $firstNameFemale = ['Aagot', 'Abela', 'Abigael', 'Ada', 'Adda', 'Addý', 'Adela', 'Adelía', 'Adríana', 'Aðalbjörg', 'Aðalbjört', 'Aðalborg', 'Aðaldís', 'Aðalfríður', 'Aðalheiður', 'Aðalrós', 'Aðalsteina', 'Aðalsteinunn', 'Aðalveig', 'Agata', 'Agatha', 'Agða', 'Agla', 'Agnea', 'Agnes', 'Agneta', 'Alanta', 'Alba', 'Alberta', 'Albína', 'Alda', 'Aldís', 'Aldný', 'Aleta', 'Aletta', 'Alexa', 'Alexandra', 'Alexandría', 'Alexis', 'Alexía', 'Alfa', 'Alfífa', 'Alice', 'Alida', 'Alída', 'Alína', 'Alís', 'Alísa', 'Alla', 'Allý', 'Alma', 'Alrún', 'Alva', 'Alvilda', 'Amadea', 'Amal', 'Amalía', 'Amanda', 'Amelía', 'Amilía', 'Amíra', 'Amy', 'Amý', 'Analía', 'Anastasía', 'Andra', 'Andrá', 'Andrea', 'Anetta', 'Angela', 'Angelíka', 'Anika', 'Anita', 'Aníka', 'Anína', 'Aníta', 'Anja', 'Ann', 'Anna', 'Annabella', 'Annalísa', 'Anne', 'Annelí', 'Annetta', 'Anney', 'Annika', 'Annía', 'Anný', 'Antonía', 'Apríl', 'Ardís', 'Arey', 'Arinbjörg', 'Aris', 'Arisa', 'Aría', 'Aríanna', 'Aríella', 'Arín', 'Arína', 'Arís', 'Armenía', 'Arna', 'Arnbjörg', 'Arnborg', 'Arndís', 'Arney', 'Arnfinna', 'Arnfríður', 'Arngerður', 'Arngunnur', 'Arnheiður', 'Arnhildur', 'Arnika', 'Arnkatla', 'Arnlaug', 'Arnleif', 'Arnlín', 'Arnljót', 'Arnóra', 'Arnrós', 'Arnrún', 'Arnþóra', 'Arnþrúður', 'Asírí', 'Askja', 'Assa', 'Astrid', 'Atalía', 'Atena', 'Athena', 'Atla', 'Atlanta', 'Auðbjörg', 'Auðbjört', 'Auðdís', 'Auðlín', 'Auðna', 'Auðný', 'Auðrún', 'Auður', 'Aurora', 'Axelía', 'Axelma', 'Aþena', 'Ágústa', 'Ágústína', 'Álfdís', 'Álfey', 'Álfgerður', 'Álfheiður', 'Álfhildur', 'Álfrós', 'Álfrún', 'Álfsól', 'Árbjörg', 'Árbjört', 'Árdís', 'Árelía', 'Árlaug', 'Ármey', 'Árna', 'Árndís', 'Árney', 'Árnheiður', 'Árnína', 'Árný', 'Áróra', 'Ársól', 'Ársæl', 'Árún', 'Árveig', 'Árvök', 'Árþóra', 'Ása', 'Ásbjörg', 'Ásborg', 'Ásdís', 'Ásfríður', 'Ásgerður', 'Áshildur', 'Áskatla', 'Ásla', 'Áslaug', 'Ásleif', 'Ásný', 'Ásrós', 'Ásrún', 'Ást', 'Ásta', 'Ástbjörg', 'Ástbjört', 'Ástdís', 'Ástfríður', 'Ástgerður', 'Ástheiður', 'Ásthildur', 'Ástríður', 'Ástrós', 'Ástrún', 'Ástveig', 'Ástþóra', 'Ástþrúður', 'Ásvör', 'Baldey', 'Baldrún', 'Baldvina', 'Barbara', 'Barbára', 'Bassí', 'Bára', 'Bebba', 'Begga', 'Belinda', 'Bella', 'Benedikta', 'Bengta', 'Benidikta', 'Benía', 'Beníta', 'Benna', 'Benney', 'Benný', 'Benta', 'Bentey', 'Bentína', 'Bera', 'Bergdís', 'Bergey', 'Bergfríður', 'Bergheiður', 'Berghildur', 'Berglaug', 'Berglind', 'Berglín', 'Bergljót', 'Bergmannía', 'Bergný', 'Bergrán', 'Bergrín', 'Bergrós', 'Bergrún', 'Bergþóra', 'Berit', 'Bernódía', 'Berta', 'Bertha', 'Bessí', 'Bestla', 'Beta', 'Betanía', 'Betsý', 'Bettý', 'Bil', 'Birgit', 'Birgitta', 'Birna', 'Birta', 'Birtna', 'Bíbí', 'Bína', 'Bjargdís', 'Bjargey', 'Bjargheiður', 'Bjarghildur', 'Bjarglind', 'Bjarkey', 'Bjarklind', 'Bjarma', 'Bjarndís', 'Bjarney', 'Bjarnfríður', 'Bjarngerður', 'Bjarnheiður', 'Bjarnhildur', 'Bjarnlaug', 'Bjarnrún', 'Bjarnveig', 'Bjarný', 'Bjarnþóra', 'Bjarnþrúður', 'Bjartey', 'Bjartmey', 'Björg', 'Björgey', 'Björgheiður', 'Björghildur', 'Björk', 'Björney', 'Björnfríður', 'Björt', 'Bláey', 'Blíða', 'Blín', 'Blómey', 'Blædís', 'Blær', 'Bobba', 'Boga', 'Bogdís', 'Bogey', 'Bogga', 'Boghildur', 'Borg', 'Borgdís', 'Borghildur', 'Borgný', 'Borgrún', 'Borgþóra', 'Botnía', 'Bóel', 'Bót', 'Bóthildur', 'Braga', 'Braghildur', 'Branddís', 'Brá', 'Brák', 'Brigitta', 'Brimdís', 'Brimhildur', 'Brimrún', 'Brit', 'Britt', 'Britta', 'Bríana', 'Bríanna', 'Bríet', 'Bryndís', 'Brynfríður', 'Bryngerður', 'Brynheiður', 'Brynhildur', 'Brynja', 'Brynný', 'Burkney', 'Bylgja', 'Camilla', 'Carla', 'Carmen', 'Cecilia', 'Cecilía', 'Charlotta', 'Charlotte', 'Christina', 'Christine', 'Clara', 'Daðey', 'Daðína', 'Dagbjörg', 'Dagbjört', 'Dagfríður', 'Daggrós', 'Dagheiður', 'Dagmar', 'Dagmey', 'Dagný', 'Dagrún', 'Daldís', 'Daley', 'Dalía', 'Dalla', 'Dallilja', 'Dalrós', 'Dana', 'Daney', 'Danfríður', 'Danheiður', 'Danhildur', 'Danía', 'Daníela', 'Daníella', 'Dara', 'Debora', 'Debóra', 'Dendý', 'Didda', 'Dilja', 'Diljá', 'Dimmblá', 'Dimmey', 'Día', 'Díana', 'Díanna', 'Díma', 'Dís', 'Dísa', 'Dísella', 'Donna', 'Doris', 'Dorothea', 'Dóa', 'Dómhildur', 'Dóra', 'Dórey', 'Dóris', 'Dórothea', 'Dórótea', 'Dóróthea', 'Drauma', 'Draumey', 'Drífa', 'Droplaug', 'Drótt', 'Dröfn', 'Dúa', 'Dúfa', 'Dúna', 'Dýrborg', 'Dýrfinna', 'Dýrleif', 'Dýrley', 'Dýrunn', 'Dæja', 'Dögg', 'Dögun', 'Ebba', 'Ebonney', 'Edda', 'Edel', 'Edil', 'Edit', 'Edith', 'Eðna', 'Efemía', 'Egedía', 'Eggrún', 'Egla', 'Eiðný', 'Eiðunn', 'Eik', 'Einbjörg', 'Eindís', 'Einey', 'Einfríður', 'Einhildur', 'Einína', 'Einrún', 'Eir', 'Eirdís', 'Eirfinna', 'Eiríka', 'Eirný', 'Eirún', 'Elba', 'Eldbjörg', 'Eldey', 'Eldlilja', 'Eldrún', 'Eleina', 'Elektra', 'Elena', 'Elenborg', 'Elfa', 'Elfur', 'Elina', 'Elinborg', 'Elisabeth', 'Elía', 'Elíana', 'Elín', 'Elína', 'Elíná', 'Elínbet', 'Elínbjörg', 'Elínbjört', 'Elínborg', 'Elíndís', 'Elíngunnur', 'Elínheiður', 'Elínrós', 'Elírós', 'Elísa', 'Elísabet', 'Elísabeth', 'Elka', 'Ella', 'Ellen', 'Elley', 'Ellisif', 'Ellín', 'Elly', 'Ellý', 'Elma', 'Elna', 'Elsa', 'Elsabet', 'Elsie', 'Elsí', 'Elsý', 'Elva', 'Elvi', 'Elvíra', 'Elvý', 'Embla', 'Emelía', 'Emelíana', 'Emelína', 'Emeralda', 'Emilía', 'Emilíana', 'Emilíanna', 'Emilý', 'Emma', 'Emmý', 'Emý', 'Enea', 'Eneka', 'Engilbjört', 'Engilráð', 'Engilrós', 'Engla', 'Enika', 'Enja', 'Enóla', 'Eres', 'Erika', 'Erin', 'Erla', 'Erlen', 'Erlín', 'Erna', 'Esja', 'Esmeralda', 'Ester', 'Esther', 'Estiva', 'Ethel', 'Etna', 'Eufemía', 'Eva', 'Evelyn', 'Evey', 'Evfemía', 'Evgenía', 'Evíta', 'Evlalía', 'Ey', 'Eybjörg', 'Eybjört', 'Eydís', 'Eyfríður', 'Eygerður', 'Eygló', 'Eyhildur', 'Eyja', 'Eyjalín', 'Eyleif', 'Eylín', 'Eyrós', 'Eyrún', 'Eyveig', 'Eyvör', 'Eyþóra', 'Eyþrúður', 'Fanndís', 'Fanney', 'Fannlaug', 'Fanny', 'Fanný', 'Febrún', 'Fema', 'Filipía', 'Filippa', 'Filippía', 'Finna', 'Finnbjörg', 'Finnbjörk', 'Finnboga', 'Finnborg', 'Finndís', 'Finney', 'Finnfríður', 'Finnlaug', 'Finnrós', 'Fía', 'Fídes', 'Fífa', 'Fjalldís', 'Fjóla', 'Flóra', 'Folda', 'Fransiska', 'Franziska', 'Frán', 'Fregn', 'Freydís', 'Freygerður', 'Freyja', 'Freylaug', 'Freyleif', 'Friðbjörg', 'Friðbjört', 'Friðborg', 'Friðdís', 'Friðdóra', 'Friðey', 'Friðfinna', 'Friðgerður', 'Friðjóna', 'Friðlaug', 'Friðleif', 'Friðlín', 'Friðmey', 'Friðný', 'Friðrika', 'Friðrikka', 'Friðrós', 'Friðrún', 'Friðsemd', 'Friðveig', 'Friðþóra', 'Frigg', 'Fríða', 'Fríður', 'Frostrós', 'Fróðný', 'Fura', 'Fönn', 'Gabríela', 'Gabríella', 'Gauja', 'Gauthildur', 'Gefjun', 'Gefn', 'Geira', 'Geirbjörg', 'Geirdís', 'Geirfinna', 'Geirfríður', 'Geirhildur', 'Geirlaug', 'Geirlöð', 'Geirný', 'Geirríður', 'Geirrún', 'Geirþrúður', 'Georgía', 'Gerða', 'Gerður', 'Gestheiður', 'Gestný', 'Gestrún', 'Gillý', 'Gilslaug', 'Gissunn', 'Gía', 'Gígja', 'Gísela', 'Gísla', 'Gísley', 'Gíslína', 'Gíslný', 'Gíslrún', 'Gíslunn', 'Gíta', 'Gjaflaug', 'Gloría', 'Gló', 'Glóa', 'Glóbjört', 'Glódís', 'Glóð', 'Glóey', 'Gná', 'Góa', 'Gógó', 'Grein', 'Gret', 'Greta', 'Grélöð', 'Grét', 'Gréta', 'Gríma', 'Grímey', 'Grímheiður', 'Grímhildur', 'Gróa', 'Guðbjörg', 'Guðbjört', 'Guðborg', 'Guðdís', 'Guðfinna', 'Guðfríður', 'Guðjóna', 'Guðlaug', 'Guðleif', 'Guðlín', 'Guðmey', 'Guðmunda', 'Guðmundína', 'Guðný', 'Guðríður', 'Guðrún', 'Guðsteina', 'Guðveig', 'Gullbrá', 'Gullveig', 'Gullý', 'Gumma', 'Gunnbjörg', 'Gunnbjört', 'Gunnborg', 'Gunndís', 'Gunndóra', 'Gunnella', 'Gunnfinna', 'Gunnfríður', 'Gunnharða', 'Gunnheiður', 'Gunnhildur', 'Gunnjóna', 'Gunnlaug', 'Gunnleif', 'Gunnlöð', 'Gunnrún', 'Gunnur', 'Gunnveig', 'Gunnvör', 'Gunný', 'Gunnþóra', 'Gunnþórunn', 'Gurrý', 'Gúa', 'Gyða', 'Gyðja', 'Gyðríður', 'Gytta', 'Gæfa', 'Gæflaug', 'Hadda', 'Haddý', 'Hafbjörg', 'Hafborg', 'Hafdís', 'Hafey', 'Hafliða', 'Haflína', 'Hafný', 'Hafrós', 'Hafrún', 'Hafsteina', 'Hafþóra', 'Halla', 'Hallbera', 'Hallbjörg', 'Hallborg', 'Halldís', 'Halldóra', 'Halley', 'Hallfríður', 'Hallgerður', 'Hallgunnur', 'Hallkatla', 'Hallný', 'Hallrún', 'Hallveig', 'Hallvör', 'Hanna', 'Hanney', 'Hansa', 'Hansína', 'Harpa', 'Hauður', 'Hákonía', 'Heba', 'Hedda', 'Hedí', 'Heiða', 'Heiðbjörg', 'Heiðbjörk', 'Heiðbjört', 'Heiðbrá', 'Heiðdís', 'Heiðlaug', 'Heiðlóa', 'Heiðný', 'Heiðrós', 'Heiðrún', 'Heiður', 'Heiðveig', 'Hekla', 'Helen', 'Helena', 'Helga', 'Hella', 'Helma', 'Hendrikka', 'Henný', 'Henrietta', 'Henrika', 'Henríetta', 'Hera', 'Herbjörg', 'Herbjört', 'Herborg', 'Herdís', 'Herfríður', 'Hergerður', 'Herlaug', 'Hermína', 'Hersilía', 'Herta', 'Hertha', 'Hervör', 'Herþrúður', 'Hilda', 'Hildegard', 'Hildibjörg', 'Hildigerður', 'Hildigunnur', 'Hildiríður', 'Hildisif', 'Hildur', 'Hilma', 'Himinbjörg', 'Hind', 'Hinrika', 'Hinrikka', 'Hjalta', 'Hjaltey', 'Hjálmdís', 'Hjálmey', 'Hjálmfríður', 'Hjálmgerður', 'Hjálmrós', 'Hjálmrún', 'Hjálmveig', 'Hjördís', 'Hjörfríður', 'Hjörleif', 'Hjörný', 'Hjörtfríður', 'Hlaðgerður', 'Hlédís', 'Hlíf', 'Hlín', 'Hlökk', 'Hólmbjörg', 'Hólmdís', 'Hólmfríður', 'Hrafna', 'Hrafnborg', 'Hrafndís', 'Hrafney', 'Hrafngerður', 'Hrafnheiður', 'Hrafnhildur', 'Hrafnkatla', 'Hrafnlaug', 'Hrafntinna', 'Hraundís', 'Hrefna', 'Hreindís', 'Hróðný', 'Hrólfdís', 'Hrund', 'Hrönn', 'Hugbjörg', 'Hugbjört', 'Hugborg', 'Hugdís', 'Hugljúf', 'Hugrún', 'Huld', 'Hulda', 'Huldís', 'Huldrún', 'Húnbjörg', 'Húndís', 'Húngerður', 'Hvönn', 'Hödd', 'Högna', 'Hörn', 'Ida', 'Idda', 'Iða', 'Iðunn', 'Ilmur', 'Immý', 'Ina', 'Inda', 'India', 'Indiana', 'Indía', 'Indíana', 'Indíra', 'Indra', 'Inga', 'Ingdís', 'Ingeborg', 'Inger', 'Ingey', 'Ingheiður', 'Inghildur', 'Ingibjörg', 'Ingibjört', 'Ingiborg', 'Ingifinna', 'Ingifríður', 'Ingigerður', 'Ingilaug', 'Ingileif', 'Ingilín', 'Ingimaría', 'Ingimunda', 'Ingiríður', 'Ingirós', 'Ingisól', 'Ingiveig', 'Ingrid', 'Ingrún', 'Ingunn', 'Ingveldur', 'Inna', 'Irena', 'Irene', 'Irja', 'Irma', 'Irmý', 'Irpa', 'Isabel', 'Isabella', 'Ída', 'Íma', 'Ína', 'Ír', 'Íren', 'Írena', 'Íris', 'Írunn', 'Ísabel', 'Ísabella', 'Ísadóra', 'Ísafold', 'Ísalind', 'Ísbjörg', 'Ísdís', 'Ísey', 'Ísfold', 'Ísgerður', 'Íshildur', 'Ísis', 'Íslaug', 'Ísleif', 'Ísmey', 'Ísold', 'Ísól', 'Ísrún', 'Íssól', 'Ísveig', 'Íunn', 'Íva', 'Jakobína', 'Jana', 'Jane', 'Janetta', 'Jannika', 'Jara', 'Jarún', 'Jarþrúður', 'Jasmín', 'Járnbrá', 'Járngerður', 'Jenetta', 'Jenna', 'Jenný', 'Jensína', 'Jessý', 'Jovina', 'Jóa', 'Jóanna', 'Jódís', 'Jófríður', 'Jóhanna', 'Jólín', 'Jóna', 'Jónanna', 'Jónasína', 'Jónbjörg', 'Jónbjört', 'Jóndís', 'Jóndóra', 'Jóney', 'Jónfríður', 'Jóngerð', 'Jónheiður', 'Jónhildur', 'Jóninna', 'Jónída', 'Jónína', 'Jónný', 'Jóný', 'Jóra', 'Jóríður', 'Jórlaug', 'Jórunn', 'Jósebína', 'Jósefín', 'Jósefína', 'Judith', 'Júdea', 'Júdit', 'Júlía', 'Júlíana', 'Júlíanna', 'Júlíetta', 'Júlírós', 'Júnía', 'Júníana', 'Jökla', 'Jökulrós', 'Jörgína', 'Kaðlín', 'Kaja', 'Kalla', 'Kamilla', 'Kamí', 'Kamma', 'Kapitola', 'Kapítóla', 'Kara', 'Karen', 'Karin', 'Karitas', 'Karí', 'Karín', 'Karína', 'Karítas', 'Karla', 'Karlinna', 'Karlína', 'Karlotta', 'Karolína', 'Karó', 'Karólín', 'Karólína', 'Kassandra', 'Kata', 'Katarína', 'Katerína', 'Katharina', 'Kathinka', 'Katinka', 'Katla', 'Katrín', 'Katrína', 'Katý', 'Kára', 'Kellý', 'Kendra', 'Ketilbjörg', 'Ketilfríður', 'Ketilríður', 'Kiddý', 'Kira', 'Kirsten', 'Kirstín', 'Kittý', 'Kjalvör', 'Klara', 'Kládía', 'Klementína', 'Kleópatra', 'Kolbjörg', 'Kolbrá', 'Kolbrún', 'Koldís', 'Kolfinna', 'Kolfreyja', 'Kolgríma', 'Kolka', 'Konkordía', 'Konný', 'Korka', 'Kormlöð', 'Kornelía', 'Kókó', 'Krista', 'Kristbjörg', 'Kristborg', 'Kristel', 'Kristensa', 'Kristey', 'Kristfríður', 'Kristgerður', 'Kristin', 'Kristine', 'Kristíana', 'Kristíanna', 'Kristín', 'Kristína', 'Kristjana', 'Kristjóna', 'Kristlaug', 'Kristlind', 'Kristlín', 'Kristný', 'Kristólína', 'Kristrós', 'Kristrún', 'Kristveig', 'Kristvina', 'Kristþóra', 'Kría', 'Kæja', 'Laila', 'Laíla', 'Lana', 'Lara', 'Laufey', 'Laufheiður', 'Laufhildur', 'Lauga', 'Laugey', 'Laugheiður', 'Lára', 'Lárensína', 'Láretta', 'Lárey', 'Lea', 'Leikný', 'Leila', 'Lena', 'Leonóra', 'Leóna', 'Leónóra', 'Lilja', 'Liljá', 'Liljurós', 'Lill', 'Lilla', 'Lillian', 'Lillý', 'Lily', 'Lilý', 'Lind', 'Linda', 'Linddís', 'Lingný', 'Lisbeth', 'Listalín', 'Liv', 'Líba', 'Líf', 'Lífdís', 'Lín', 'Lína', 'Línbjörg', 'Líndís', 'Líneik', 'Líney', 'Línhildur', 'Lísa', 'Lísabet', 'Lísandra', 'Lísbet', 'Lísebet', 'Lív', 'Ljósbjörg', 'Ljósbrá', 'Ljótunn', 'Lofn', 'Loftveig', 'Logey', 'Lokbrá', 'Lotta', 'Louisa', 'Lousie', 'Lovísa', 'Lóa', 'Lóreley', 'Lukka', 'Lúcía', 'Lúðvíka', 'Lúísa', 'Lúna', 'Lúsinda', 'Lúsía', 'Lúvísa', 'Lydia', 'Lydía', 'Lyngheiður', 'Lýdía', 'Læla', 'Maddý', 'Magda', 'Magdalena', 'Magðalena', 'Magga', 'Maggey', 'Maggý', 'Magna', 'Magndís', 'Magnea', 'Magnes', 'Magney', 'Magnfríður', 'Magnheiður', 'Magnhildur', 'Magnúsína', 'Magný', 'Magnþóra', 'Maía', 'Maídís', 'Maísól', 'Maj', 'Maja', 'Malen', 'Malena', 'Malía', 'Malín', 'Malla', 'Manda', 'Manúela', 'Mara', 'Mardís', 'Marela', 'Marella', 'Maren', 'Marey', 'Marfríður', 'Margit', 'Margot', 'Margret', 'Margrét', 'Margrjet', 'Margunnur', 'Marheiður', 'Maria', 'Marie', 'Marikó', 'Marinella', 'Marit', 'Marí', 'María', 'Maríam', 'Marían', 'Maríana', 'Maríanna', 'Marín', 'Marína', 'Marínella', 'Maríon', 'Marísa', 'Marísól', 'Marít', 'Maríuerla', 'Marja', 'Markrún', 'Marlaug', 'Marlena', 'Marlín', 'Marlís', 'Marólína', 'Marsa', 'Marselía', 'Marselína', 'Marsibil', 'Marsilía', 'Marsý', 'Marta', 'Martha', 'Martína', 'Mary', 'Marý', 'Matta', 'Mattea', 'Matthea', 'Matthilda', 'Matthildur', 'Matthía', 'Mattíana', 'Mattína', 'Mattý', 'Maxima', 'Mábil', 'Málfríður', 'Málhildur', 'Málmfríður', 'Mánadís', 'Máney', 'Mára', 'Meda', 'Mekkin', 'Mekkín', 'Melinda', 'Melissa', 'Melkorka', 'Melrós', 'Messíana', 'Metta', 'Mey', 'Mikaela', 'Mikaelína', 'Mikkalína', 'Milda', 'Mildríður', 'Milla', 'Millý', 'Minerva', 'Minna', 'Minney', 'Minný', 'Miriam', 'Mirja', 'Mirjam', 'Mirra', 'Mist', 'Mía', 'Mínerva', 'Míra', 'Míranda', 'Mítra', 'Mjaðveig', 'Mjalldís', 'Mjallhvít', 'Mjöll', 'Mona', 'Monika', 'Módís', 'Móeiður', 'Móey', 'Móheiður', 'Móna', 'Mónika', 'Móníka', 'Munda', 'Mundheiður', 'Mundhildur', 'Mundína', 'Myrra', 'Mýr', 'Mýra', 'Mýrún', 'Mörk', 'Nadia', 'Nadía', 'Nadja', 'Nana', 'Nanna', 'Nanný', 'Nansý', 'Naomí', 'Naómí', 'Natalie', 'Natalía', 'Náttsól', 'Nella', 'Nellý', 'Nenna', 'Nicole', 'Niðbjörg', 'Nikíta', 'Nikoletta', 'Nikólína', 'Ninja', 'Ninna', 'Nína', 'Níní', 'Njála', 'Njóla', 'Norma', 'Nóa', 'Nóra', 'Nótt', 'Nýbjörg', 'Odda', 'Oddbjörg', 'Oddfreyja', 'Oddfríður', 'Oddgerður', 'Oddhildur', 'Oddlaug', 'Oddleif', 'Oddný', 'Oddrún', 'Oddveig', 'Oddvör', 'Oktavía', 'Októvía', 'Olga', 'Ollý', 'Ora', 'Orka', 'Ormheiður', 'Ormhildur', 'Otkatla', 'Otta', 'Óda', 'Ófelía', 'Óla', 'Ólafía', 'Ólafína', 'Ólavía', 'Ólivía', 'Ólína', 'Ólöf', 'Ósa', 'Ósk', 'Ótta', 'Pamela', 'París', 'Patricia', 'Patrisía', 'Pála', 'Páldís', 'Páley', 'Pálfríður', 'Pálhanna', 'Pálheiður', 'Pálhildur', 'Pálín', 'Pálína', 'Pálmey', 'Pálmfríður', 'Pálrún', 'Perla', 'Peta', 'Petra', 'Petrea', 'Petrína', 'Petronella', 'Petrónella', 'Petrós', 'Petrún', 'Petrúnella', 'Pétrína', 'Pétrún', 'Pía', 'Polly', 'Pollý', 'Pría', 'Rafney', 'Rafnhildur', 'Ragna', 'Ragnbjörg', 'Ragney', 'Ragnfríður', 'Ragnheiður', 'Ragnhildur', 'Rakel', 'Ramóna', 'Randalín', 'Randíður', 'Randý', 'Ranka', 'Rannva', 'Rannveig', 'Ráðhildur', 'Rán', 'Rebekka', 'Reginbjörg', 'Regína', 'Rein', 'Renata', 'Reyn', 'Reyndís', 'Reynheiður', 'Reynhildur', 'Rikka', 'Ripley', 'Rita', 'Ríkey', 'Rín', 'Ríta', 'Ronja', 'Rorí', 'Roxanna', 'Róberta', 'Róbjörg', 'Rós', 'Rósa', 'Rósalind', 'Rósanna', 'Rósbjörg', 'Rósborg', 'Róselía', 'Rósey', 'Rósfríður', 'Róshildur', 'Rósinkara', 'Rósinkransa', 'Róska', 'Róslaug', 'Róslind', 'Róslinda', 'Róslín', 'Rósmary', 'Rósmarý', 'Rósmunda', 'Rósný', 'Runný', 'Rut', 'Ruth', 'Rúbý', 'Rún', 'Rúna', 'Rúndís', 'Rúnhildur', 'Rúrí', 'Röfn', 'Rögn', 'Röskva', 'Sabína', 'Sabrína', 'Saga', 'Salbjörg', 'Saldís', 'Salgerður', 'Salín', 'Salína', 'Salka', 'Salma', 'Salný', 'Salome', 'Salóme', 'Salvör', 'Sandra', 'Sanna', 'Santía', 'Sara', 'Sarína', 'Sefanía', 'Selja', 'Selka', 'Selma', 'Senía', 'Septíma', 'Sera', 'Serena', 'Seselía', 'Sesilía', 'Sesselía', 'Sesselja', 'Sessilía', 'Sif', 'Sigdís', 'Sigdóra', 'Sigfríð', 'Sigfríður', 'Sigga', 'Siggerður', 'Sigmunda', 'Signa', 'Signhildur', 'Signý', 'Sigríður', 'Sigrún', 'Sigurást', 'Sigurásta', 'Sigurbára', 'Sigurbirna', 'Sigurbjörg', 'Sigurbjört', 'Sigurborg', 'Sigurdís', 'Sigurdóra', 'Sigurdríf', 'Sigurdrífa', 'Sigurða', 'Sigurey', 'Sigurfinna', 'Sigurfljóð', 'Sigurgeira', 'Sigurhanna', 'Sigurhelga', 'Sigurhildur', 'Sigurjóna', 'Sigurlaug', 'Sigurleif', 'Sigurlilja', 'Sigurlinn', 'Sigurlín', 'Sigurlína', 'Sigurmunda', 'Sigurnanna', 'Sigurósk', 'Sigurrós', 'Sigursteina', 'Sigurunn', 'Sigurveig', 'Sigurvina', 'Sigurþóra', 'Sigyn', 'Sigþóra', 'Sigþrúður', 'Silfa', 'Silfá', 'Silfrún', 'Silja', 'Silka', 'Silla', 'Silva', 'Silvana', 'Silvía', 'Sirra', 'Sirrý', 'Siv', 'Sía', 'Símonía', 'Sísí', 'Síta', 'Sjöfn', 'Skarpheiður', 'Skugga', 'Skuld', 'Skúla', 'Skúlína', 'Snjáfríður', 'Snjáka', 'Snjófríður', 'Snjólaug', 'Snorra', 'Snót', 'Snæbjörg', 'Snæbjört', 'Snæborg', 'Snæbrá', 'Snædís', 'Snæfríður', 'Snælaug', 'Snærós', 'Snærún', 'Soffía', 'Sofie', 'Sofía', 'Solveig', 'Sonja', 'Sonný', 'Sophia', 'Sophie', 'Sól', 'Sóla', 'Sólbjörg', 'Sólbjört', 'Sólborg', 'Sólbrá', 'Sólbrún', 'Sóldís', 'Sóldögg', 'Sóley', 'Sólfríður', 'Sólgerður', 'Sólhildur', 'Sólín', 'Sólkatla', 'Sóllilja', 'Sólný', 'Sólrós', 'Sólrún', 'Sólveig', 'Sólvör', 'Sónata', 'Stefana', 'Stefanía', 'Stefánný', 'Steina', 'Steinbjörg', 'Steinborg', 'Steindís', 'Steindóra', 'Steiney', 'Steinfríður', 'Steingerður', 'Steinhildur', 'Steinlaug', 'Steinrós', 'Steinrún', 'Steinunn', 'Steinvör', 'Steinþóra', 'Stella', 'Stígheiður', 'Stígrún', 'Stína', 'Stjarna', 'Styrgerður', 'Sumarlína', 'Sumarrós', 'Sunna', 'Sunnefa', 'Sunneva', 'Sunniva', 'Sunníva', 'Susan', 'Súla', 'Súsan', 'Súsanna', 'Svafa', 'Svala', 'Svalrún', 'Svana', 'Svanbjörg', 'Svanbjört', 'Svanborg', 'Svandís', 'Svaney', 'Svanfríður', 'Svanheiður', 'Svanhildur', 'Svanhvít', 'Svanlaug', 'Svanrós', 'Svanþrúður', 'Svava', 'Svea', 'Sveina', 'Sveinbjörg', 'Sveinborg', 'Sveindís', 'Sveiney', 'Sveinfríður', 'Sveingerður', 'Sveinhildur', 'Sveinlaug', 'Sveinrós', 'Sveinrún', 'Sveinsína', 'Sveinveig', 'Sylgja', 'Sylva', 'Sylvía', 'Sæbjörg', 'Sæbjört', 'Sæborg', 'Sædís', 'Sæfinna', 'Sæfríður', 'Sæhildur', 'Sælaug', 'Sæmunda', 'Sæný', 'Særós', 'Særún', 'Sæsól', 'Sæunn', 'Sævör', 'Sölva', 'Sölvey', 'Sölvína', 'Tala', 'Talía', 'Tamar', 'Tamara', 'Tanía', 'Tanja', 'Tanya', 'Tanya', 'Tara', 'Tea', 'Teitný', 'Tekla', 'Telma', 'Tera', 'Teresa', 'Teresía', 'Thea', 'Thelma', 'Theodóra', 'Theódóra', 'Theresa', 'Tindra', 'Tinna', 'Tirsa', 'Tía', 'Tíbrá', 'Tína', 'Todda', 'Torbjörg', 'Torfey', 'Torfheiður', 'Torfhildur', 'Tóbý', 'Tóka', 'Tóta', 'Tristana', 'Trú', 'Tryggva', 'Tryggvína', 'Týra', 'Ugla', 'Una', 'Undína', 'Unna', 'Unnbjörg', 'Unndís', 'Unnur', 'Urður', 'Úa', 'Úlfa', 'Úlfdís', 'Úlfey', 'Úlfheiður', 'Úlfhildur', 'Úlfrún', 'Úlla', 'Úna', 'Úndína', 'Úranía', 'Úrsúla', 'Vagna', 'Vagnbjörg', 'Vagnfríður', 'Vaka', 'Vala', 'Valbjörg', 'Valbjörk', 'Valbjört', 'Valborg', 'Valdheiður', 'Valdís', 'Valentína', 'Valería', 'Valey', 'Valfríður', 'Valgerða', 'Valgerður', 'Valhildur', 'Valka', 'Vallý', 'Valný', 'Valrós', 'Valrún', 'Valva', 'Valý', 'Valþrúður', 'Vanda', 'Vár', 'Veig', 'Veiga', 'Venus', 'Vera', 'Veronika', 'Verónika', 'Veróníka', 'Vetrarrós', 'Vébjörg', 'Védís', 'Végerður', 'Vélaug', 'Véný', 'Vibeka', 'Victoría', 'Viðja', 'Vigdís', 'Vigný', 'Viktoria', 'Viktoría', 'Vilborg', 'Vildís', 'Vilfríður', 'Vilgerður', 'Vilhelmína', 'Villa', 'Villimey', 'Vilma', 'Vilný', 'Vinbjörg', 'Vinný', 'Vinsý', 'Virginía', 'Víbekka', 'Víf', 'Vígdögg', 'Víggunnur', 'Víóla', 'Víóletta', 'Vísa', 'Von', 'Von', 'Voney', 'Vordís', 'Ylfa', 'Ylfur', 'Ylja', 'Ylva', 'Ynja', 'Yrja', 'Yrsa', 'Ýja', 'Ýma', 'Ýr', 'Ýrr', 'Þalía', 'Þeba', 'Þeódís', 'Þeódóra', 'Þjóðbjörg', 'Þjóðhildur', 'Þoka', 'Þorbjörg', 'Þorfinna', 'Þorgerður', 'Þorgríma', 'Þorkatla', 'Þorlaug', 'Þorleif', 'Þorsteina', 'Þorstína', 'Þóra', 'Þóranna', 'Þórarna', 'Þórbjörg', 'Þórdís', 'Þórða', 'Þórelfa', 'Þórelfur', 'Þórey', 'Þórfríður', 'Þórgunna', 'Þórgunnur', 'Þórhalla', 'Þórhanna', 'Þórheiður', 'Þórhildur', 'Þórkatla', 'Þórlaug', 'Þórleif', 'Þórný', 'Þórodda', 'Þórsteina', 'Þórsteinunn', 'Þórstína', 'Þórunn', 'Þórveig', 'Þórvör', 'Þrá', 'Þrúða', 'Þrúður', 'Þula', 'Þura', 'Þurí', 'Þuríður', 'Þurý', 'Þúfa', 'Þyri', 'Þyrí', 'Þöll', 'Ægileif', 'Æsa', 'Æsgerður', 'Ögmunda', 'Ögn', 'Ölrún', 'Ölveig', 'Örbrún', 'Örk', 'Ösp']; - - /** - * @var array Icelandic names for men. - */ - protected static $firstNameMale = ['Aage', 'Abel', 'Abraham', 'Adam', 'Addi', 'Adel', 'Adíel', 'Adólf', 'Adrían', 'Adríel', 'Aðalberg', 'Aðalbergur', 'Aðalbert', 'Aðalbjörn', 'Aðalborgar', 'Aðalgeir', 'Aðalmundur', 'Aðalráður', 'Aðalsteinn', 'Aðólf', 'Agnar', 'Agni', 'Albert', 'Aldar', 'Alex', 'Alexander', 'Alexíus', 'Alfons', 'Alfred', 'Alfreð', 'Ali', 'Allan', 'Alli', 'Almar', 'Alrekur', 'Alvar', 'Alvin', 'Amír', 'Amos', 'Anders', 'Andreas', 'André', 'Andrés', 'Andri', 'Anes', 'Anfinn', 'Angantýr', 'Angi', 'Annar', 'Annarr', 'Annas', 'Annel', 'Annes', 'Anthony', 'Anton', 'Antoníus', 'Aran', 'Arent', 'Ares', 'Ari', 'Arilíus', 'Arinbjörn', 'Aríel', 'Aríus', 'Arnald', 'Arnaldur', 'Arnar', 'Arnberg', 'Arnbergur', 'Arnbjörn', 'Arndór', 'Arnes', 'Arnfinnur', 'Arnfreyr', 'Arngeir', 'Arngils', 'Arngrímur', 'Arnkell', 'Arnlaugur', 'Arnleifur', 'Arnljótur', 'Arnmóður', 'Arnmundur', 'Arnoddur', 'Arnold', 'Arnór', 'Arnsteinn', 'Arnúlfur', 'Arnviður', 'Arnþór', 'Aron', 'Arthur', 'Arthúr', 'Artúr', 'Asael', 'Askur', 'Aspar', 'Atlas', 'Atli', 'Auðbergur', 'Auðbert', 'Auðbjörn', 'Auðgeir', 'Auðkell', 'Auðmundur', 'Auðólfur', 'Auðun', 'Auðunn', 'Austar', 'Austmann', 'Austmar', 'Austri', 'Axel', 'Ágúst', 'Áki', 'Álfar', 'Álfgeir', 'Álfgrímur', 'Álfur', 'Álfþór', 'Ámundi', 'Árbjartur', 'Árbjörn', 'Árelíus', 'Árgeir', 'Árgils', 'Ármann', 'Árni', 'Ársæll', 'Ás', 'Ásberg', 'Ásbergur', 'Ásbjörn', 'Ásgautur', 'Ásgeir', 'Ásgils', 'Ásgrímur', 'Ási', 'Áskell', 'Áslaugur', 'Áslákur', 'Ásmar', 'Ásmundur', 'Ásólfur', 'Ásröður', 'Ástbjörn', 'Ástgeir', 'Ástmar', 'Ástmundur', 'Ástráður', 'Ástríkur', 'Ástvald', 'Ástvaldur', 'Ástvar', 'Ástvin', 'Ástþór', 'Ásvaldur', 'Ásvarður', 'Ásþór', 'Baldur', 'Baldvin', 'Baldwin', 'Baltasar', 'Bambi', 'Barði', 'Barri', 'Bassi', 'Bastían', 'Baugur', 'Bárður', 'Beinir', 'Beinteinn', 'Beitir', 'Bekan', 'Benedikt', 'Benidikt', 'Benjamín', 'Benoný', 'Benóní', 'Benóný', 'Bent', 'Berent', 'Berg', 'Bergfinnur', 'Berghreinn', 'Bergjón', 'Bergmann', 'Bergmar', 'Bergmundur', 'Bergsteinn', 'Bergsveinn', 'Bergur', 'Bergvin', 'Bergþór', 'Bernhard', 'Bernharð', 'Bernharður', 'Berni', 'Bernódus', 'Bersi', 'Bertel', 'Bertram', 'Bessi', 'Betúel', 'Bill', 'Birgir', 'Birkir', 'Birnir', 'Birtingur', 'Birtir', 'Bjargar', 'Bjargmundur', 'Bjargþór', 'Bjarkan', 'Bjarkar', 'Bjarki', 'Bjarmar', 'Bjarmi', 'Bjarnar', 'Bjarnfinnur', 'Bjarnfreður', 'Bjarnharður', 'Bjarnhéðinn', 'Bjarni', 'Bjarnlaugur', 'Bjarnleifur', 'Bjarnólfur', 'Bjarnsteinn', 'Bjarnþór', 'Bjartmann', 'Bjartmar', 'Bjartur', 'Bjartþór', 'Bjólan', 'Bjólfur', 'Björgmundur', 'Björgólfur', 'Björgúlfur', 'Björgvin', 'Björn', 'Björnólfur', 'Blængur', 'Blær', 'Blævar', 'Boði', 'Bogi', 'Bolli', 'Borgar', 'Borgúlfur', 'Borgþór', 'Bóas', 'Bói', 'Bótólfur', 'Bragi', 'Brandur', 'Breki', 'Bresi', 'Brestir', 'Brimar', 'Brimi', 'Brimir', 'Brími', 'Brjánn', 'Broddi', 'Bruno', 'Bryngeir', 'Brynjar', 'Brynjólfur', 'Brynjúlfur', 'Brynleifur', 'Brynsteinn', 'Bryntýr', 'Brynþór', 'Burkni', 'Búi', 'Búri', 'Bæring', 'Bæringur', 'Bæron', 'Böðvar', 'Börkur', 'Carl', 'Cecil', 'Christian', 'Christopher', 'Cýrus', 'Daði', 'Dagbjartur', 'Dagfari', 'Dagfinnur', 'Daggeir', 'Dagmann', 'Dagnýr', 'Dagur', 'Dagþór', 'Dalbert', 'Dalli', 'Dalmann', 'Dalmar', 'Dalvin', 'Damjan', 'Dan', 'Danelíus', 'Daniel', 'Danival', 'Daníel', 'Daníval', 'Dante', 'Daríus', 'Darri', 'Davíð', 'Demus', 'Deníel', 'Dennis', 'Diðrik', 'Díómedes', 'Dofri', 'Dolli', 'Dominik', 'Dómald', 'Dómaldi', 'Dómaldur', 'Dónald', 'Dónaldur', 'Dór', 'Dóri', 'Dósóþeus', 'Draupnir', 'Dreki', 'Drengur', 'Dufgus', 'Dufþakur', 'Dugfús', 'Dúi', 'Dúnn', 'Dvalinn', 'Dýri', 'Dýrmundur', 'Ebbi', 'Ebeneser', 'Ebenezer', 'Eberg', 'Edgar', 'Edilon', 'Edílon', 'Edvard', 'Edvin', 'Edward', 'Eðvald', 'Eðvar', 'Eðvarð', 'Efraím', 'Eggert', 'Eggþór', 'Egill', 'Eiðar', 'Eiður', 'Eikar', 'Eilífur', 'Einar', 'Einir', 'Einvarður', 'Einþór', 'Eiríkur', 'Eivin', 'Elberg', 'Elbert', 'Eldar', 'Eldgrímur', 'Eldjárn', 'Eldmar', 'Eldon', 'Eldór', 'Eldur', 'Elentínus', 'Elfar', 'Elfráður', 'Elimar', 'Elinór', 'Elis', 'Elí', 'Elías', 'Elíeser', 'Elímar', 'Elínbergur', 'Elínmundur', 'Elínór', 'Elís', 'Ellert', 'Elli', 'Elliði', 'Ellís', 'Elmar', 'Elvar', 'Elvin', 'Elvis', 'Emanúel', 'Embrek', 'Emerald', 'Emil', 'Emmanúel', 'Engilbert', 'Engilbjartur', 'Engiljón', 'Engill', 'Enok', 'Eric', 'Erik', 'Erlar', 'Erlendur', 'Erling', 'Erlingur', 'Ernestó', 'Ernir', 'Ernst', 'Eron', 'Erpur', 'Esekíel', 'Esjar', 'Esra', 'Estefan', 'Evald', 'Evan', 'Evert', 'Eyberg', 'Eyjólfur', 'Eylaugur', 'Eyleifur', 'Eymar', 'Eymundur', 'Eyríkur', 'Eysteinn', 'Eyvar', 'Eyvindur', 'Eyþór', 'Fabrisíus', 'Falgeir', 'Falur', 'Fannar', 'Fannberg', 'Fanngeir', 'Fáfnir', 'Fálki', 'Felix', 'Fengur', 'Fenrir', 'Ferdinand', 'Ferdínand', 'Fertram', 'Feykir', 'Filip', 'Filippus', 'Finn', 'Finnbjörn', 'Finnbogi', 'Finngeir', 'Finnjón', 'Finnlaugur', 'Finnur', 'Finnvarður', 'Fífill', 'Fjalar', 'Fjarki', 'Fjólar', 'Fjólmundur', 'Fjölnir', 'Fjölvar', 'Fjörnir', 'Flemming', 'Flosi', 'Flóki', 'Flórent', 'Flóvent', 'Forni', 'Fossmar', 'Fólki', 'Francis', 'Frank', 'Franklín', 'Frans', 'Franz', 'Fránn', 'Frár', 'Freybjörn', 'Freygarður', 'Freymar', 'Freymóður', 'Freymundur', 'Freyr', 'Freysteinn', 'Freyviður', 'Freyþór', 'Friðberg', 'Friðbergur', 'Friðbert', 'Friðbjörn', 'Friðfinnur', 'Friðgeir', 'Friðjón', 'Friðlaugur', 'Friðleifur', 'Friðmann', 'Friðmar', 'Friðmundur', 'Friðrik', 'Friðsteinn', 'Friður', 'Friðvin', 'Friðþjófur', 'Friðþór', 'Friedrich', 'Fritz', 'Frímann', 'Frosti', 'Fróði', 'Fróðmar', 'Funi', 'Fúsi', 'Fylkir', 'Gabriel', 'Gabríel', 'Gael', 'Galdur', 'Gamalíel', 'Garðar', 'Garibaldi', 'Garpur', 'Garri', 'Gaui', 'Gaukur', 'Gauti', 'Gautrekur', 'Gautur', 'Gautviður', 'Geir', 'Geirarður', 'Geirfinnur', 'Geirharður', 'Geirhjörtur', 'Geirhvatur', 'Geiri', 'Geirlaugur', 'Geirleifur', 'Geirmundur', 'Geirólfur', 'Geirröður', 'Geirtryggur', 'Geirvaldur', 'Geirþjófur', 'Geisli', 'Gellir', 'Georg', 'Gerald', 'Gerðar', 'Geri', 'Gestur', 'Gilbert', 'Gilmar', 'Gils', 'Gissur', 'Gizur', 'Gídeon', 'Gígjar', 'Gísli', 'Gjúki', 'Glói', 'Glúmur', 'Gneisti', 'Gnúpur', 'Gnýr', 'Goði', 'Goðmundur', 'Gottskálk', 'Gottsveinn', 'Gói', 'Grani', 'Grankell', 'Gregor', 'Greipur', 'Greppur', 'Gretar', 'Grettir', 'Grétar', 'Grímar', 'Grímkell', 'Grímlaugur', 'Grímnir', 'Grímólfur', 'Grímur', 'Grímúlfur', 'Guðberg', 'Guðbergur', 'Guðbjarni', 'Guðbjartur', 'Guðbjörn', 'Guðbrandur', 'Guðfinnur', 'Guðfreður', 'Guðgeir', 'Guðjón', 'Guðlaugur', 'Guðleifur', 'Guðleikur', 'Guðmann', 'Guðmar', 'Guðmon', 'Guðmundur', 'Guðni', 'Guðráður', 'Guðröður', 'Guðsteinn', 'Guðvarður', 'Guðveigur', 'Guðvin', 'Guðþór', 'Gumi', 'Gunnar', 'Gunnberg', 'Gunnbjörn', 'Gunndór', 'Gunngeir', 'Gunnhallur', 'Gunnlaugur', 'Gunnleifur', 'Gunnólfur', 'Gunnóli', 'Gunnröður', 'Gunnsteinn', 'Gunnvaldur', 'Gunnþór', 'Gustav', 'Gutti', 'Guttormur', 'Gústaf', 'Gústav', 'Gylfi', 'Gyrðir', 'Gýgjar', 'Gýmir', 'Haddi', 'Haddur', 'Hafberg', 'Hafgrímur', 'Hafliði', 'Hafnar', 'Hafni', 'Hafsteinn', 'Hafþór', 'Hagalín', 'Hagbarður', 'Hagbert', 'Haki', 'Hallberg', 'Hallbjörn', 'Halldór', 'Hallfreður', 'Hallgarður', 'Hallgeir', 'Hallgils', 'Hallgrímur', 'Hallkell', 'Hallmann', 'Hallmar', 'Hallmundur', 'Hallsteinn', 'Hallur', 'Hallvarður', 'Hallþór', 'Hamar', 'Hannes', 'Hannibal', 'Hans', 'Harald', 'Haraldur', 'Harri', 'Harry', 'Harrý', 'Hartmann', 'Hartvig', 'Hauksteinn', 'Haukur', 'Haukvaldur', 'Hákon', 'Háleygur', 'Hálfdan', 'Hálfdán', 'Hámundur', 'Hárekur', 'Hárlaugur', 'Hásteinn', 'Hávar', 'Hávarður', 'Hávarr', 'Hávarr', 'Heiðar', 'Heiðarr', 'Heiðberg', 'Heiðbert', 'Heiðlindur', 'Heiðmann', 'Heiðmar', 'Heiðmundur', 'Heiðrekur', 'Heikir', 'Heilmóður', 'Heimir', 'Heinrekur', 'Heisi', 'Hektor', 'Helgi', 'Helmút', 'Hemmert', 'Hendrik', 'Henning', 'Henrik', 'Henry', 'Henrý', 'Herbert', 'Herbjörn', 'Herfinnur', 'Hergeir', 'Hergill', 'Hergils', 'Herjólfur', 'Herlaugur', 'Herleifur', 'Herluf', 'Hermann', 'Hermóður', 'Hermundur', 'Hersir', 'Hersteinn', 'Hersveinn', 'Hervar', 'Hervarður', 'Hervin', 'Héðinn', 'Hilaríus', 'Hilbert', 'Hildar', 'Hildibergur', 'Hildibrandur', 'Hildigeir', 'Hildiglúmur', 'Hildimar', 'Hildimundur', 'Hildingur', 'Hildir', 'Hildiþór', 'Hilmar', 'Hilmir', 'Himri', 'Hinrik', 'Híram', 'Hjallkár', 'Hjalti', 'Hjarnar', 'Hjálmar', 'Hjálmgeir', 'Hjálmtýr', 'Hjálmur', 'Hjálmþór', 'Hjörleifur', 'Hjörtur', 'Hjörtþór', 'Hjörvar', 'Hleiðar', 'Hlégestur', 'Hlér', 'Hlini', 'Hlíðar', 'Hlíðberg', 'Hlífar', 'Hljómur', 'Hlynur', 'Hlöðmundur', 'Hlöður', 'Hlöðvarður', 'Hlöðver', 'Hnefill', 'Hnikar', 'Hnikarr', 'Holgeir', 'Holger', 'Holti', 'Hólm', 'Hólmar', 'Hólmbert', 'Hólmfastur', 'Hólmgeir', 'Hólmgrímur', 'Hólmkell', 'Hólmsteinn', 'Hólmþór', 'Hóseas', 'Hrafn', 'Hrafnar', 'Hrafnbergur', 'Hrafnkell', 'Hrafntýr', 'Hrannar', 'Hrappur', 'Hraunar', 'Hreggviður', 'Hreiðar', 'Hreiðmar', 'Hreimur', 'Hreinn', 'Hringur', 'Hrímnir', 'Hrollaugur', 'Hrolleifur', 'Hróaldur', 'Hróar', 'Hróbjartur', 'Hróðgeir', 'Hróðmar', 'Hróðólfur', 'Hróðvar', 'Hrói', 'Hrólfur', 'Hrómundur', 'Hrútur', 'Hrærekur', 'Hugberg', 'Hugi', 'Huginn', 'Hugleikur', 'Hugo', 'Hugó', 'Huldar', 'Huxley', 'Húbert', 'Húgó', 'Húmi', 'Húnbogi', 'Húni', 'Húnn', 'Húnröður', 'Hvannar', 'Hyltir', 'Hylur', 'Hængur', 'Hænir', 'Höður', 'Högni', 'Hörður', 'Höskuldur', 'Illugi', 'Immanúel', 'Indriði', 'Ingberg', 'Ingi', 'Ingiberg', 'Ingibergur', 'Ingibert', 'Ingibjartur', 'Ingibjörn', 'Ingileifur', 'Ingimagn', 'Ingimar', 'Ingimundur', 'Ingivaldur', 'Ingiþór', 'Ingjaldur', 'Ingmar', 'Ingólfur', 'Ingvaldur', 'Ingvar', 'Ingvi', 'Ingþór', 'Ismael', 'Issi', 'Ían', 'Ígor', 'Ími', 'Ísak', 'Ísar', 'Ísarr', 'Ísbjörn', 'Íseldur', 'Ísgeir', 'Ísidór', 'Ísleifur', 'Ísmael', 'Ísmar', 'Ísólfur', 'Ísrael', 'Ívan', 'Ívar', 'Jack', 'Jafet', 'Jaki', 'Jakob', 'Jakop', 'Jamil', 'Jan', 'Janus', 'Jarl', 'Jason', 'Járngrímur', 'Játgeir', 'Játmundur', 'Játvarður', 'Jenni', 'Jens', 'Jeremías', 'Jes', 'Jesper', 'Jochum', 'Johan', 'John', 'Joshua', 'Jóakim', 'Jóann', 'Jóel', 'Jóhann', 'Jóhannes', 'Jói', 'Jómar', 'Jómundur', 'Jón', 'Jónar', 'Jónas', 'Jónatan', 'Jónbjörn', 'Jóndór', 'Jóngeir', 'Jónmundur', 'Jónsteinn', 'Jónþór', 'Jósafat', 'Jósavin', 'Jósef', 'Jósep', 'Jósteinn', 'Jósúa', 'Jóvin', 'Julian', 'Júlí', 'Júlían', 'Júlíus', 'Júní', 'Júníus', 'Júrek', 'Jökull', 'Jörfi', 'Jörgen', 'Jörmundur', 'Jörri', 'Jörundur', 'Jörvar', 'Jörvi', 'Kaj', 'Kakali', 'Kaktus', 'Kaldi', 'Kaleb', 'Kali', 'Kalman', 'Kalmann', 'Kalmar', 'Kaprasíus', 'Karel', 'Karim', 'Karkur', 'Karl', 'Karles', 'Karli', 'Karvel', 'Kaspar', 'Kasper', 'Kastíel', 'Katarínus', 'Kató', 'Kár', 'Kári', 'Keran', 'Ketilbjörn', 'Ketill', 'Kilían', 'Kiljan', 'Kjalar', 'Kjallakur', 'Kjaran', 'Kjartan', 'Kjarval', 'Kjárr', 'Kjói', 'Klemens', 'Klemenz', 'Klængur', 'Knútur', 'Knörr', 'Koðrán', 'Koggi', 'Kolbeinn', 'Kolbjörn', 'Kolfinnur', 'Kolgrímur', 'Kolmar', 'Kolskeggur', 'Kolur', 'Kolviður', 'Konráð', 'Konstantínus', 'Kormákur', 'Kornelíus', 'Kort', 'Kópur', 'Kraki', 'Kris', 'Kristall', 'Kristberg', 'Kristbergur', 'Kristbjörn', 'Kristdór', 'Kristens', 'Krister', 'Kristfinnur', 'Kristgeir', 'Kristian', 'Kristinn', 'Kristján', 'Kristjón', 'Kristlaugur', 'Kristleifur', 'Kristmann', 'Kristmar', 'Kristmundur', 'Kristofer', 'Kristófer', 'Kristvaldur', 'Kristvarður', 'Kristvin', 'Kristþór', 'Krummi', 'Kveldúlfur', 'Lambert', 'Lars', 'Laufar', 'Laugi', 'Lauritz', 'Lár', 'Lárent', 'Lárentíus', 'Lárus', 'Leiðólfur', 'Leif', 'Leifur', 'Leiknir', 'Leo', 'Leon', 'Leonard', 'Leonhard', 'Leó', 'Leópold', 'Leví', 'Lér', 'Liljar', 'Lindar', 'Lindberg', 'Línberg', 'Líni', 'Ljósálfur', 'Ljótur', 'Ljúfur', 'Loðmundur', 'Loftur', 'Logi', 'Loki', 'Lórens', 'Lórenz', 'Ludvig', 'Lundi', 'Lúðvíg', 'Lúðvík', 'Lúkas', 'Lúter', 'Lúther', 'Lyngar', 'Lýður', 'Lýtingur', 'Maggi', 'Magngeir', 'Magni', 'Magnús', 'Magnþór', 'Makan', 'Manfred', 'Manfreð', 'Manúel', 'Mar', 'Marbjörn', 'Marel', 'Margeir', 'Margrímur', 'Mari', 'Marijón', 'Marinó', 'Marías', 'Marínó', 'Marís', 'Maríus', 'Marjón', 'Markó', 'Markús', 'Markþór', 'Maron', 'Marri', 'Mars', 'Marsellíus', 'Marteinn', 'Marten', 'Marthen', 'Martin', 'Marvin', 'Mathías', 'Matthías', 'Matti', 'Mattías', 'Max', 'Maximus', 'Máni', 'Már', 'Márus', 'Mekkinó', 'Melkíor', 'Melkólmur', 'Melrakki', 'Mensalder', 'Merkúr', 'Methúsalem', 'Metúsalem', 'Meyvant', 'Michael', 'Mikael', 'Mikjáll', 'Mikkael', 'Mikkel', 'Mildinberg', 'Mías', 'Mímir', 'Míó', 'Mír', 'Mjöllnir', 'Mjölnir', 'Moli', 'Morgan', 'Moritz', 'Mosi', 'Móði', 'Móri', 'Mórits', 'Móses', 'Muggur', 'Muni', 'Muninn', 'Múli', 'Myrkvi', 'Mýrkjartan', 'Mörður', 'Narfi', 'Natan', 'Natanael', 'Nataníel', 'Náttmörður', 'Náttúlfur', 'Neisti', 'Nenni', 'Neptúnus', 'Nicolas', 'Nikanor', 'Nikolai', 'Nikolas', 'Nikulás', 'Nils', 'Níels', 'Níls', 'Njáll', 'Njörður', 'Nonni', 'Norbert', 'Norðmann', 'Normann', 'Nóam', 'Nóel', 'Nói', 'Nóni', 'Nóri', 'Nóvember', 'Númi', 'Nývarð', 'Nökkvi', 'Oddbergur', 'Oddbjörn', 'Oddfreyr', 'Oddgeir', 'Oddi', 'Oddkell', 'Oddleifur', 'Oddmar', 'Oddsteinn', 'Oddur', 'Oddvar', 'Oddþór', 'Oktavíus', 'Októ', 'Októvíus', 'Olaf', 'Olav', 'Olgeir', 'Oliver', 'Olivert', 'Orfeus', 'Ormar', 'Ormur', 'Orri', 'Orvar', 'Otkell', 'Otri', 'Otti', 'Ottó', 'Otur', 'Óðinn', 'Ófeigur', 'Ólafur', 'Óli', 'Óliver', 'Ólíver', 'Ómar', 'Ómi', 'Óskar', 'Ósvald', 'Ósvaldur', 'Ósvífur', 'Óttar', 'Óttarr', 'Parmes', 'Patrek', 'Patrekur', 'Patrick', 'Patrik', 'Páll', 'Pálmar', 'Pálmi', 'Pedró', 'Per', 'Peter', 'Pétur', 'Pjetur', 'Príor', 'Rafael', 'Rafn', 'Rafnar', 'Rafnkell', 'Ragnar', 'Ragúel', 'Randver', 'Rannver', 'Rasmus', 'Ráðgeir', 'Ráðvarður', 'Refur', 'Reginbaldur', 'Reginn', 'Reidar', 'Reifnir', 'Reimar', 'Reinar', 'Reinhart', 'Reinhold', 'Reynald', 'Reynar', 'Reynir', 'Reyr', 'Richard', 'Rikharð', 'Rikharður', 'Ríkarður', 'Ríkharð', 'Ríkharður', 'Ríó', 'Robert', 'Rolf', 'Ronald', 'Róbert', 'Rólant', 'Róman', 'Rómeó', 'Rósant', 'Rósar', 'Rósberg', 'Rósenberg', 'Rósi', 'Rósinberg', 'Rósinkar', 'Rósinkrans', 'Rósmann', 'Rósmundur', 'Rudolf', 'Runi', 'Runólfur', 'Rúbar', 'Rúben', 'Rúdólf', 'Rúnar', 'Rúrik', 'Rútur', 'Röðull', 'Rögnvald', 'Rögnvaldur', 'Rögnvar', 'Rökkvi', 'Safír', 'Sakarías', 'Salmann', 'Salmar', 'Salómon', 'Salvar', 'Samson', 'Samúel', 'Sandel', 'Sandri', 'Sandur', 'Saxi', 'Sebastian', 'Sebastían', 'Seifur', 'Seimur', 'Sesar', 'Sesil', 'Sigbergur', 'Sigbert', 'Sigbjartur', 'Sigbjörn', 'Sigdór', 'Sigfastur', 'Sigfinnur', 'Sigfreður', 'Sigfús', 'Siggeir', 'Sighvatur', 'Sigjón', 'Siglaugur', 'Sigmann', 'Sigmar', 'Sigmundur', 'Signar', 'Sigri', 'Sigríkur', 'Sigsteinn', 'Sigtryggur', 'Sigtýr', 'Sigur', 'Sigurbaldur', 'Sigurberg', 'Sigurbergur', 'Sigurbjarni', 'Sigurbjartur', 'Sigurbjörn', 'Sigurbrandur', 'Sigurdór', 'Sigurður', 'Sigurfinnur', 'Sigurgeir', 'Sigurgestur', 'Sigurgísli', 'Sigurgrímur', 'Sigurhans', 'Sigurhjörtur', 'Sigurjón', 'Sigurkarl', 'Sigurlaugur', 'Sigurlás', 'Sigurleifur', 'Sigurliði', 'Sigurlinni', 'Sigurmann', 'Sigurmar', 'Sigurmon', 'Sigurmundur', 'Sigurnýas', 'Sigurnýjas', 'Siguroddur', 'Siguróli', 'Sigurpáll', 'Sigursteinn', 'Sigursveinn', 'Sigurvaldi', 'Sigurvin', 'Sigurþór', 'Sigvaldi', 'Sigvarður', 'Sigþór', 'Silli', 'Sindri', 'Símon', 'Sírnir', 'Sírus', 'Sívar', 'Sjafnar', 'Skafti', 'Skapti', 'Skarphéðinn', 'Skefill', 'Skeggi', 'Skíði', 'Skírnir', 'Skjöldur', 'Skorri', 'Skuggi', 'Skúli', 'Skúta', 'Skær', 'Skæringur', 'Smári', 'Smiður', 'Smyrill', 'Snjóki', 'Snjólaugur', 'Snjólfur', 'Snorri', 'Snæbjartur', 'Snæbjörn', 'Snæhólm', 'Snælaugur', 'Snær', 'Snæringur', 'Snævar', 'Snævarr', 'Snæþór', 'Soffanías', 'Sophanías', 'Sophus', 'Sófónías', 'Sófus', 'Sókrates', 'Sólberg', 'Sólbergur', 'Sólbjartur', 'Sólbjörn', 'Sólimann', 'Sólmar', 'Sólmundur', 'Sólon', 'Sólver', 'Sólvin', 'Spartakus', 'Sporði', 'Spói', 'Stanley', 'Stapi', 'Starkaður', 'Starri', 'Stefan', 'Stefán', 'Stefnir', 'Steinar', 'Steinarr', 'Steinberg', 'Steinbergur', 'Steinbjörn', 'Steindór', 'Steinfinnur', 'Steingrímur', 'Steini', 'Steinkell', 'Steinmann', 'Steinmar', 'Steinmóður', 'Steinn', 'Steinólfur', 'Steinröður', 'Steinvarður', 'Steinþór', 'Stirnir', 'Stígur', 'Stormur', 'Stórólfur', 'Sturla', 'Sturlaugur', 'Sturri', 'Styr', 'Styrbjörn', 'Styrkár', 'Styrmir', 'Styrr', 'Sumarliði', 'Svafar', 'Svali', 'Svan', 'Svanberg', 'Svanbergur', 'Svanbjörn', 'Svangeir', 'Svanhólm', 'Svani', 'Svanlaugur', 'Svanmundur', 'Svanur', 'Svanþór', 'Svavar', 'Sváfnir', 'Sveinar', 'Sveinberg', 'Sveinbjartur', 'Sveinbjörn', 'Sveinjón', 'Sveinlaugur', 'Sveinmar', 'Sveinn', 'Sveinungi', 'Sveinþór', 'Svend', 'Sverre', 'Sverrir', 'Svölnir', 'Svörfuður', 'Sýrus', 'Sæberg', 'Sæbergur', 'Sæbjörn', 'Sæi', 'Sælaugur', 'Sæmann', 'Sæmundur', 'Sær', 'Sævald', 'Sævaldur', 'Sævar', 'Sævarr', 'Sævin', 'Sæþór', 'Sölmundur', 'Sölvar', 'Sölvi', 'Sören', 'Sörli', 'Tandri', 'Tarfur', 'Teitur', 'Theodór', 'Theódór', 'Thomas', 'Thor', 'Thorberg', 'Thór', 'Tindar', 'Tindri', 'Tindur', 'Tinni', 'Tími', 'Tímon', 'Tímoteus', 'Tímóteus', 'Tístran', 'Tjaldur', 'Tjörfi', 'Tjörvi', 'Tobías', 'Tolli', 'Tonni', 'Torfi', 'Tóbías', 'Tói', 'Tóki', 'Tómas', 'Tór', 'Trausti', 'Tristan', 'Trostan', 'Trúmann', 'Tryggvi', 'Tumas', 'Tumi', 'Tyrfingur', 'Týr', 'Ubbi', 'Uggi', 'Ulrich', 'Uni', 'Unnar', 'Unnbjörn', 'Unndór', 'Unnsteinn', 'Unnþór', 'Urðar', 'Uxi', 'Úddi', 'Úlfar', 'Úlfgeir', 'Úlfhéðinn', 'Úlfkell', 'Úlfljótur', 'Úlftýr', 'Úlfur', 'Úlrik', 'Úranus', 'Vagn', 'Vakur', 'Valberg', 'Valbergur', 'Valbjörn', 'Valbrandur', 'Valdemar', 'Valdi', 'Valdimar', 'Valdór', 'Valentín', 'Valentínus', 'Valgarð', 'Valgarður', 'Valgeir', 'Valíant', 'Vallaður', 'Valmar', 'Valmundur', 'Valsteinn', 'Valter', 'Valtýr', 'Valur', 'Valves', 'Valþór', 'Varmar', 'Vatnar', 'Váli', 'Vápni', 'Veigar', 'Veigur', 'Ver', 'Vermundur', 'Vernharð', 'Vernharður', 'Vestar', 'Vestmar', 'Veturliði', 'Vébjörn', 'Végeir', 'Vékell', 'Vélaugur', 'Vémundur', 'Vésteinn', 'Victor', 'Viðar', 'Vigfús', 'Viggó', 'Vignir', 'Vigri', 'Vigtýr', 'Vigur', 'Vikar', 'Viktor', 'Vilberg', 'Vilbergur', 'Vilbert', 'Vilbjörn', 'Vilbogi', 'Vilbrandur', 'Vilgeir', 'Vilhelm', 'Vilhjálmur', 'Vili', 'Viljar', 'Vilji', 'Villi', 'Vilmar', 'Vilmundur', 'Vincent', 'Vinjar', 'Virgill', 'Víðar', 'Víðir', 'Vífill', 'Víglundur', 'Vígmar', 'Vígmundur', 'Vígsteinn', 'Vígþór', 'Víkingur', 'Vopni', 'Vorm', 'Vöggur', 'Völundur', 'Vörður', 'Vöttur', 'Walter', 'Werner', 'Wilhelm', 'Willard', 'William', 'Willum', 'Ylur', 'Ymir', 'Yngvar', 'Yngvi', 'Yrkill', 'Ýmir', 'Ýrar', 'Zakaría', 'Zakarías', 'Zophanías', 'Zophonías', 'Zóphanías', 'Zóphonías', 'Þangbrandur', 'Þengill', 'Þeyr', 'Þiðrandi', 'Þiðrik', 'Þinur', 'Þjálfi', 'Þjóðann', 'Þjóðbjörn', 'Þjóðgeir', 'Þjóðleifur', 'Þjóðmar', 'Þjóðólfur', 'Þjóðrekur', 'Þjóðvarður', 'Þjóstar', 'Þjóstólfur', 'Þorberg', 'Þorbergur', 'Þorbjörn', 'Þorbrandur', 'Þorfinnur', 'Þorgarður', 'Þorgautur', 'Þorgeir', 'Þorgestur', 'Þorgils', 'Þorgísl', 'Þorgnýr', 'Þorgrímur', 'Þorkell', 'Þorlaugur', 'Þorlákur', 'Þorleifur', 'Þorleikur', 'Þormar', 'Þormóður', 'Þormundur', 'Þorri', 'Þorsteinn', 'Þorvaldur', 'Þorvar', 'Þorvarður', 'Þór', 'Þórar', 'Þórarinn', 'Þórbergur', 'Þórbjörn', 'Þórður', 'Þórgnýr', 'Þórgrímur', 'Þórhaddur', 'Þórhalli', 'Þórhallur', 'Þórir', 'Þórlaugur', 'Þórleifur', 'Þórlindur', 'Þórmar', 'Þórmundur', 'Þóroddur', 'Þórormur', 'Þórólfur', 'Þórsteinn', 'Þórörn', 'Þrastar', 'Þráinn', 'Þrándur', 'Þróttur', 'Þrúðmar', 'Þrymur', 'Þröstur', 'Þyrnir', 'Ægir', 'Æsir', 'Ævar', 'Ævarr', 'Ögmundur', 'Ögri', 'Ölnir', 'Ölver', 'Ölvir', 'Öndólfur', 'Önundur', 'Örlaugur', 'Örlygur', 'Örn', 'Örnólfur', 'Örvar', 'Össur', 'Öxar']; - - /** - * @var array Icelandic middle names. - */ - protected static $middleName = [ - 'Aðaldal', 'Aldan', 'Arnberg', 'Arnfjörð', 'Austan', 'Austdal', 'Austfjörð', 'Áss', 'Bakkdal', 'Bakkmann', 'Bald', 'Ben', 'Bergholt', 'Bergland', 'Bíldsfells', 'Bjarg', 'Bjarndal', 'Bjarnfjörð', 'Bláfeld', 'Blómkvist', 'Borgdal', 'Brekkmann', 'Brim', 'Brúnsteð', 'Dalhoff', 'Dan', 'Diljan', 'Ektavon', 'Eldberg', 'Elísberg', 'Elvan', 'Espólín', 'Eyhlíð', 'Eyvík', 'Falk', 'Finndal', 'Fossberg', 'Freydal', 'Friðhólm', 'Giljan', 'Gilsfjörð', 'Gnarr', 'Gnurr', 'Grendal', 'Grindvík', 'Gull', 'Haffjörð', 'Hafnes', 'Hafnfjörð', 'Har', 'Heimdal', 'Heimsberg', 'Helgfell', 'Herberg', 'Hildiberg', 'Hjaltdal', 'Hlíðkvist', 'Hnappdal', 'Hnífsdal', 'Hofland', 'Hofteig', 'Hornfjörð', 'Hólmberg', 'Hrafnan', 'Hrafndal', 'Hraunberg', 'Hreinberg', 'Hreindal', 'Hrútfjörð', 'Hvammdal', 'Hvítfeld', 'Höfðdal', 'Hörðdal', 'Íshólm', 'Júl', 'Kjarrval', 'Knaran', 'Knarran', 'Krossdal', 'Laufkvist', 'Laufland', 'Laugdal', 'Laxfoss', 'Liljan', 'Linddal', 'Línberg', 'Ljós', 'Loðmfjörð', 'Lyngberg', 'Magdal', 'Magg', 'Matt', 'Miðdal', 'Miðvík', 'Mjófjörð', 'Móberg', 'Mýrmann', 'Nesmann', 'Norðland', 'Núpdal', 'Ólfjörð', 'Ósland', 'Ósmann', 'Reginbald', 'Reykfell', 'Reykfjörð', 'Reynholt', 'Salberg', 'Sandhólm', 'Seljan', 'Sigurhólm', 'Skagalín', 'Skíðdal', 'Snæberg', 'Snædahl', 'Sólan', 'Stardal', 'Stein', 'Steinbekk', 'Steinberg', 'Storm', 'Straumberg', 'Svanhild', 'Svarfdal', 'Sædal', 'Val', 'Valagils', 'Vald', 'Varmdal', 'Vatnsfjörð', 'Vattar', 'Vattnes', 'Viðfjörð', 'Vídalín', 'Víking', 'Vopnfjörð', 'Yngling', 'Þor', 'Önfjörð', 'Örbekk', 'Öxdal', 'Öxndal', - ]; - - /** - * Randomly return an Icelandic middle name. - * - * @return string - */ - public static function middleName() - { - return static::randomElement(static::$middleName); - } - - /** - * Generate prepared last name for further processing. - * - * @return string - */ - public function lastName() - { - $name = static::firstNameMale(); - - if (substr($name, -2) === 'ur') { - $name = substr($name, 0, strlen($name) - 2); - } - - if (substr($name, -1) !== 's') { - $name .= 's'; - } - - return $name; - } - - /** - * Randomly return an Icelandic last name for a woman. - * - * @return string - */ - public function lastNameMale() - { - return $this->lastName() . 'son'; - } - - /** - * Randomly return an Icelandic last name for a man. - * - * @return string - */ - public function lastNameFemale() - { - return $this->lastName() . 'dóttir'; - } - - /** - * Return a random Icelandic Kennitala (Social Security number). - * - * @see http://en.wikipedia.org/wiki/Kennitala - * - * @return string - */ - public static function ssn() - { - // random birth date - $birthdate = DateTime::dateTimeThisCentury(); - - // last four buffer - $lastFour = null; - - // security variable reference - $ref = '32765432'; - - // valid flag - $valid = false; - - while (!$valid) { - // make two random numbers - $rand = static::randomDigit() . static::randomDigit(); - - // 8 char string with birth date and two random numbers - $tmp = $birthdate->format('dmy') . $rand; - - // loop through temp string - for ($i = 7, $sum = 0; $i >= 0; --$i) { - // calculate security variable - $sum += ($tmp[$i] * $ref[$i]); - } - - // subtract 11 if not 11 - $chk = ($sum % 11 === 0) ? 0 : (11 - ($sum % 11)); - - if ($chk < 10) { - $lastFour = $rand . $chk . substr($birthdate->format('Y'), 1, 1); - - $valid = true; - } - } - - return sprintf('%s-%s', $birthdate->format('dmy'), $lastFour); - } +class Person extends \Faker\Provider\Person { + /** + * @var array Icelandic name formats for men. + */ + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{middleName}} {{lastNameMale}}', + '{{firstNameMale}} {{middleName}} {{lastNameMale}}', + ]; + + /** + * @var array Icelandic name formats for women. + */ + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{middleName}} {{lastNameFemale}}', + '{{firstNameFemale}} {{middleName}} {{lastNameFemale}}', + ]; + + /** + * @var array Icelandic names for women. + */ + protected static $firstNameFemale = [ + 'Aagot', + 'Abela', + 'Abigael', + 'Ada', + 'Adda', + 'Addý', + 'Adela', + 'Adelía', + 'Adríana', + 'Aðalbjörg', + 'Aðalbjört', + 'Aðalborg', + 'Aðaldís', + 'Aðalfríður', + 'Aðalheiður', + 'Aðalrós', + 'Aðalsteina', + 'Aðalsteinunn', + 'Aðalveig', + 'Agata', + 'Agatha', + 'Agða', + 'Agla', + 'Agnea', + 'Agnes', + 'Agneta', + 'Alanta', + 'Alba', + 'Alberta', + 'Albína', + 'Alda', + 'Aldís', + 'Aldný', + 'Aleta', + 'Aletta', + 'Alexa', + 'Alexandra', + 'Alexandría', + 'Alexis', + 'Alexía', + 'Alfa', + 'Alfífa', + 'Alice', + 'Alida', + 'Alída', + 'Alína', + 'Alís', + 'Alísa', + 'Alla', + 'Allý', + 'Alma', + 'Alrún', + 'Alva', + 'Alvilda', + 'Amadea', + 'Amal', + 'Amalía', + 'Amanda', + 'Amelía', + 'Amilía', + 'Amíra', + 'Amy', + 'Amý', + 'Analía', + 'Anastasía', + 'Andra', + 'Andrá', + 'Andrea', + 'Anetta', + 'Angela', + 'Angelíka', + 'Anika', + 'Anita', + 'Aníka', + 'Anína', + 'Aníta', + 'Anja', + 'Ann', + 'Anna', + 'Annabella', + 'Annalísa', + 'Anne', + 'Annelí', + 'Annetta', + 'Anney', + 'Annika', + 'Annía', + 'Anný', + 'Antonía', + 'Apríl', + 'Ardís', + 'Arey', + 'Arinbjörg', + 'Aris', + 'Arisa', + 'Aría', + 'Aríanna', + 'Aríella', + 'Arín', + 'Arína', + 'Arís', + 'Armenía', + 'Arna', + 'Arnbjörg', + 'Arnborg', + 'Arndís', + 'Arney', + 'Arnfinna', + 'Arnfríður', + 'Arngerður', + 'Arngunnur', + 'Arnheiður', + 'Arnhildur', + 'Arnika', + 'Arnkatla', + 'Arnlaug', + 'Arnleif', + 'Arnlín', + 'Arnljót', + 'Arnóra', + 'Arnrós', + 'Arnrún', + 'Arnþóra', + 'Arnþrúður', + 'Asírí', + 'Askja', + 'Assa', + 'Astrid', + 'Atalía', + 'Atena', + 'Athena', + 'Atla', + 'Atlanta', + 'Auðbjörg', + 'Auðbjört', + 'Auðdís', + 'Auðlín', + 'Auðna', + 'Auðný', + 'Auðrún', + 'Auður', + 'Aurora', + 'Axelía', + 'Axelma', + 'Aþena', + 'Ágústa', + 'Ágústína', + 'Álfdís', + 'Álfey', + 'Álfgerður', + 'Álfheiður', + 'Álfhildur', + 'Álfrós', + 'Álfrún', + 'Álfsól', + 'Árbjörg', + 'Árbjört', + 'Árdís', + 'Árelía', + 'Árlaug', + 'Ármey', + 'Árna', + 'Árndís', + 'Árney', + 'Árnheiður', + 'Árnína', + 'Árný', + 'Áróra', + 'Ársól', + 'Ársæl', + 'Árún', + 'Árveig', + 'Árvök', + 'Árþóra', + 'Ása', + 'Ásbjörg', + 'Ásborg', + 'Ásdís', + 'Ásfríður', + 'Ásgerður', + 'Áshildur', + 'Áskatla', + 'Ásla', + 'Áslaug', + 'Ásleif', + 'Ásný', + 'Ásrós', + 'Ásrún', + 'Ást', + 'Ásta', + 'Ástbjörg', + 'Ástbjört', + 'Ástdís', + 'Ástfríður', + 'Ástgerður', + 'Ástheiður', + 'Ásthildur', + 'Ástríður', + 'Ástrós', + 'Ástrún', + 'Ástveig', + 'Ástþóra', + 'Ástþrúður', + 'Ásvör', + 'Baldey', + 'Baldrún', + 'Baldvina', + 'Barbara', + 'Barbára', + 'Bassí', + 'Bára', + 'Bebba', + 'Begga', + 'Belinda', + 'Bella', + 'Benedikta', + 'Bengta', + 'Benidikta', + 'Benía', + 'Beníta', + 'Benna', + 'Benney', + 'Benný', + 'Benta', + 'Bentey', + 'Bentína', + 'Bera', + 'Bergdís', + 'Bergey', + 'Bergfríður', + 'Bergheiður', + 'Berghildur', + 'Berglaug', + 'Berglind', + 'Berglín', + 'Bergljót', + 'Bergmannía', + 'Bergný', + 'Bergrán', + 'Bergrín', + 'Bergrós', + 'Bergrún', + 'Bergþóra', + 'Berit', + 'Bernódía', + 'Berta', + 'Bertha', + 'Bessí', + 'Bestla', + 'Beta', + 'Betanía', + 'Betsý', + 'Bettý', + 'Bil', + 'Birgit', + 'Birgitta', + 'Birna', + 'Birta', + 'Birtna', + 'Bíbí', + 'Bína', + 'Bjargdís', + 'Bjargey', + 'Bjargheiður', + 'Bjarghildur', + 'Bjarglind', + 'Bjarkey', + 'Bjarklind', + 'Bjarma', + 'Bjarndís', + 'Bjarney', + 'Bjarnfríður', + 'Bjarngerður', + 'Bjarnheiður', + 'Bjarnhildur', + 'Bjarnlaug', + 'Bjarnrún', + 'Bjarnveig', + 'Bjarný', + 'Bjarnþóra', + 'Bjarnþrúður', + 'Bjartey', + 'Bjartmey', + 'Björg', + 'Björgey', + 'Björgheiður', + 'Björghildur', + 'Björk', + 'Björney', + 'Björnfríður', + 'Björt', + 'Bláey', + 'Blíða', + 'Blín', + 'Blómey', + 'Blædís', + 'Blær', + 'Bobba', + 'Boga', + 'Bogdís', + 'Bogey', + 'Bogga', + 'Boghildur', + 'Borg', + 'Borgdís', + 'Borghildur', + 'Borgný', + 'Borgrún', + 'Borgþóra', + 'Botnía', + 'Bóel', + 'Bót', + 'Bóthildur', + 'Braga', + 'Braghildur', + 'Branddís', + 'Brá', + 'Brák', + 'Brigitta', + 'Brimdís', + 'Brimhildur', + 'Brimrún', + 'Brit', + 'Britt', + 'Britta', + 'Bríana', + 'Bríanna', + 'Bríet', + 'Bryndís', + 'Brynfríður', + 'Bryngerður', + 'Brynheiður', + 'Brynhildur', + 'Brynja', + 'Brynný', + 'Burkney', + 'Bylgja', + 'Camilla', + 'Carla', + 'Carmen', + 'Cecilia', + 'Cecilía', + 'Charlotta', + 'Charlotte', + 'Christina', + 'Christine', + 'Clara', + 'Daðey', + 'Daðína', + 'Dagbjörg', + 'Dagbjört', + 'Dagfríður', + 'Daggrós', + 'Dagheiður', + 'Dagmar', + 'Dagmey', + 'Dagný', + 'Dagrún', + 'Daldís', + 'Daley', + 'Dalía', + 'Dalla', + 'Dallilja', + 'Dalrós', + 'Dana', + 'Daney', + 'Danfríður', + 'Danheiður', + 'Danhildur', + 'Danía', + 'Daníela', + 'Daníella', + 'Dara', + 'Debora', + 'Debóra', + 'Dendý', + 'Didda', + 'Dilja', + 'Diljá', + 'Dimmblá', + 'Dimmey', + 'Día', + 'Díana', + 'Díanna', + 'Díma', + 'Dís', + 'Dísa', + 'Dísella', + 'Donna', + 'Doris', + 'Dorothea', + 'Dóa', + 'Dómhildur', + 'Dóra', + 'Dórey', + 'Dóris', + 'Dórothea', + 'Dórótea', + 'Dóróthea', + 'Drauma', + 'Draumey', + 'Drífa', + 'Droplaug', + 'Drótt', + 'Dröfn', + 'Dúa', + 'Dúfa', + 'Dúna', + 'Dýrborg', + 'Dýrfinna', + 'Dýrleif', + 'Dýrley', + 'Dýrunn', + 'Dæja', + 'Dögg', + 'Dögun', + 'Ebba', + 'Ebonney', + 'Edda', + 'Edel', + 'Edil', + 'Edit', + 'Edith', + 'Eðna', + 'Efemía', + 'Egedía', + 'Eggrún', + 'Egla', + 'Eiðný', + 'Eiðunn', + 'Eik', + 'Einbjörg', + 'Eindís', + 'Einey', + 'Einfríður', + 'Einhildur', + 'Einína', + 'Einrún', + 'Eir', + 'Eirdís', + 'Eirfinna', + 'Eiríka', + 'Eirný', + 'Eirún', + 'Elba', + 'Eldbjörg', + 'Eldey', + 'Eldlilja', + 'Eldrún', + 'Eleina', + 'Elektra', + 'Elena', + 'Elenborg', + 'Elfa', + 'Elfur', + 'Elina', + 'Elinborg', + 'Elisabeth', + 'Elía', + 'Elíana', + 'Elín', + 'Elína', + 'Elíná', + 'Elínbet', + 'Elínbjörg', + 'Elínbjört', + 'Elínborg', + 'Elíndís', + 'Elíngunnur', + 'Elínheiður', + 'Elínrós', + 'Elírós', + 'Elísa', + 'Elísabet', + 'Elísabeth', + 'Elka', + 'Ella', + 'Ellen', + 'Elley', + 'Ellisif', + 'Ellín', + 'Elly', + 'Ellý', + 'Elma', + 'Elna', + 'Elsa', + 'Elsabet', + 'Elsie', + 'Elsí', + 'Elsý', + 'Elva', + 'Elvi', + 'Elvíra', + 'Elvý', + 'Embla', + 'Emelía', + 'Emelíana', + 'Emelína', + 'Emeralda', + 'Emilía', + 'Emilíana', + 'Emilíanna', + 'Emilý', + 'Emma', + 'Emmý', + 'Emý', + 'Enea', + 'Eneka', + 'Engilbjört', + 'Engilráð', + 'Engilrós', + 'Engla', + 'Enika', + 'Enja', + 'Enóla', + 'Eres', + 'Erika', + 'Erin', + 'Erla', + 'Erlen', + 'Erlín', + 'Erna', + 'Esja', + 'Esmeralda', + 'Ester', + 'Esther', + 'Estiva', + 'Ethel', + 'Etna', + 'Eufemía', + 'Eva', + 'Evelyn', + 'Evey', + 'Evfemía', + 'Evgenía', + 'Evíta', + 'Evlalía', + 'Ey', + 'Eybjörg', + 'Eybjört', + 'Eydís', + 'Eyfríður', + 'Eygerður', + 'Eygló', + 'Eyhildur', + 'Eyja', + 'Eyjalín', + 'Eyleif', + 'Eylín', + 'Eyrós', + 'Eyrún', + 'Eyveig', + 'Eyvör', + 'Eyþóra', + 'Eyþrúður', + 'Fanndís', + 'Fanney', + 'Fannlaug', + 'Fanny', + 'Fanný', + 'Febrún', + 'Fema', + 'Filipía', + 'Filippa', + 'Filippía', + 'Finna', + 'Finnbjörg', + 'Finnbjörk', + 'Finnboga', + 'Finnborg', + 'Finndís', + 'Finney', + 'Finnfríður', + 'Finnlaug', + 'Finnrós', + 'Fía', + 'Fídes', + 'Fífa', + 'Fjalldís', + 'Fjóla', + 'Flóra', + 'Folda', + 'Fransiska', + 'Franziska', + 'Frán', + 'Fregn', + 'Freydís', + 'Freygerður', + 'Freyja', + 'Freylaug', + 'Freyleif', + 'Friðbjörg', + 'Friðbjört', + 'Friðborg', + 'Friðdís', + 'Friðdóra', + 'Friðey', + 'Friðfinna', + 'Friðgerður', + 'Friðjóna', + 'Friðlaug', + 'Friðleif', + 'Friðlín', + 'Friðmey', + 'Friðný', + 'Friðrika', + 'Friðrikka', + 'Friðrós', + 'Friðrún', + 'Friðsemd', + 'Friðveig', + 'Friðþóra', + 'Frigg', + 'Fríða', + 'Fríður', + 'Frostrós', + 'Fróðný', + 'Fura', + 'Fönn', + 'Gabríela', + 'Gabríella', + 'Gauja', + 'Gauthildur', + 'Gefjun', + 'Gefn', + 'Geira', + 'Geirbjörg', + 'Geirdís', + 'Geirfinna', + 'Geirfríður', + 'Geirhildur', + 'Geirlaug', + 'Geirlöð', + 'Geirný', + 'Geirríður', + 'Geirrún', + 'Geirþrúður', + 'Georgía', + 'Gerða', + 'Gerður', + 'Gestheiður', + 'Gestný', + 'Gestrún', + 'Gillý', + 'Gilslaug', + 'Gissunn', + 'Gía', + 'Gígja', + 'Gísela', + 'Gísla', + 'Gísley', + 'Gíslína', + 'Gíslný', + 'Gíslrún', + 'Gíslunn', + 'Gíta', + 'Gjaflaug', + 'Gloría', + 'Gló', + 'Glóa', + 'Glóbjört', + 'Glódís', + 'Glóð', + 'Glóey', + 'Gná', + 'Góa', + 'Gógó', + 'Grein', + 'Gret', + 'Greta', + 'Grélöð', + 'Grét', + 'Gréta', + 'Gríma', + 'Grímey', + 'Grímheiður', + 'Grímhildur', + 'Gróa', + 'Guðbjörg', + 'Guðbjört', + 'Guðborg', + 'Guðdís', + 'Guðfinna', + 'Guðfríður', + 'Guðjóna', + 'Guðlaug', + 'Guðleif', + 'Guðlín', + 'Guðmey', + 'Guðmunda', + 'Guðmundína', + 'Guðný', + 'Guðríður', + 'Guðrún', + 'Guðsteina', + 'Guðveig', + 'Gullbrá', + 'Gullveig', + 'Gullý', + 'Gumma', + 'Gunnbjörg', + 'Gunnbjört', + 'Gunnborg', + 'Gunndís', + 'Gunndóra', + 'Gunnella', + 'Gunnfinna', + 'Gunnfríður', + 'Gunnharða', + 'Gunnheiður', + 'Gunnhildur', + 'Gunnjóna', + 'Gunnlaug', + 'Gunnleif', + 'Gunnlöð', + 'Gunnrún', + 'Gunnur', + 'Gunnveig', + 'Gunnvör', + 'Gunný', + 'Gunnþóra', + 'Gunnþórunn', + 'Gurrý', + 'Gúa', + 'Gyða', + 'Gyðja', + 'Gyðríður', + 'Gytta', + 'Gæfa', + 'Gæflaug', + 'Hadda', + 'Haddý', + 'Hafbjörg', + 'Hafborg', + 'Hafdís', + 'Hafey', + 'Hafliða', + 'Haflína', + 'Hafný', + 'Hafrós', + 'Hafrún', + 'Hafsteina', + 'Hafþóra', + 'Halla', + 'Hallbera', + 'Hallbjörg', + 'Hallborg', + 'Halldís', + 'Halldóra', + 'Halley', + 'Hallfríður', + 'Hallgerður', + 'Hallgunnur', + 'Hallkatla', + 'Hallný', + 'Hallrún', + 'Hallveig', + 'Hallvör', + 'Hanna', + 'Hanney', + 'Hansa', + 'Hansína', + 'Harpa', + 'Hauður', + 'Hákonía', + 'Heba', + 'Hedda', + 'Hedí', + 'Heiða', + 'Heiðbjörg', + 'Heiðbjörk', + 'Heiðbjört', + 'Heiðbrá', + 'Heiðdís', + 'Heiðlaug', + 'Heiðlóa', + 'Heiðný', + 'Heiðrós', + 'Heiðrún', + 'Heiður', + 'Heiðveig', + 'Hekla', + 'Helen', + 'Helena', + 'Helga', + 'Hella', + 'Helma', + 'Hendrikka', + 'Henný', + 'Henrietta', + 'Henrika', + 'Henríetta', + 'Hera', + 'Herbjörg', + 'Herbjört', + 'Herborg', + 'Herdís', + 'Herfríður', + 'Hergerður', + 'Herlaug', + 'Hermína', + 'Hersilía', + 'Herta', + 'Hertha', + 'Hervör', + 'Herþrúður', + 'Hilda', + 'Hildegard', + 'Hildibjörg', + 'Hildigerður', + 'Hildigunnur', + 'Hildiríður', + 'Hildisif', + 'Hildur', + 'Hilma', + 'Himinbjörg', + 'Hind', + 'Hinrika', + 'Hinrikka', + 'Hjalta', + 'Hjaltey', + 'Hjálmdís', + 'Hjálmey', + 'Hjálmfríður', + 'Hjálmgerður', + 'Hjálmrós', + 'Hjálmrún', + 'Hjálmveig', + 'Hjördís', + 'Hjörfríður', + 'Hjörleif', + 'Hjörný', + 'Hjörtfríður', + 'Hlaðgerður', + 'Hlédís', + 'Hlíf', + 'Hlín', + 'Hlökk', + 'Hólmbjörg', + 'Hólmdís', + 'Hólmfríður', + 'Hrafna', + 'Hrafnborg', + 'Hrafndís', + 'Hrafney', + 'Hrafngerður', + 'Hrafnheiður', + 'Hrafnhildur', + 'Hrafnkatla', + 'Hrafnlaug', + 'Hrafntinna', + 'Hraundís', + 'Hrefna', + 'Hreindís', + 'Hróðný', + 'Hrólfdís', + 'Hrund', + 'Hrönn', + 'Hugbjörg', + 'Hugbjört', + 'Hugborg', + 'Hugdís', + 'Hugljúf', + 'Hugrún', + 'Huld', + 'Hulda', + 'Huldís', + 'Huldrún', + 'Húnbjörg', + 'Húndís', + 'Húngerður', + 'Hvönn', + 'Hödd', + 'Högna', + 'Hörn', + 'Ida', + 'Idda', + 'Iða', + 'Iðunn', + 'Ilmur', + 'Immý', + 'Ina', + 'Inda', + 'India', + 'Indiana', + 'Indía', + 'Indíana', + 'Indíra', + 'Indra', + 'Inga', + 'Ingdís', + 'Ingeborg', + 'Inger', + 'Ingey', + 'Ingheiður', + 'Inghildur', + 'Ingibjörg', + 'Ingibjört', + 'Ingiborg', + 'Ingifinna', + 'Ingifríður', + 'Ingigerður', + 'Ingilaug', + 'Ingileif', + 'Ingilín', + 'Ingimaría', + 'Ingimunda', + 'Ingiríður', + 'Ingirós', + 'Ingisól', + 'Ingiveig', + 'Ingrid', + 'Ingrún', + 'Ingunn', + 'Ingveldur', + 'Inna', + 'Irena', + 'Irene', + 'Irja', + 'Irma', + 'Irmý', + 'Irpa', + 'Isabel', + 'Isabella', + 'Ída', + 'Íma', + 'Ína', + 'Ír', + 'Íren', + 'Írena', + 'Íris', + 'Írunn', + 'Ísabel', + 'Ísabella', + 'Ísadóra', + 'Ísafold', + 'Ísalind', + 'Ísbjörg', + 'Ísdís', + 'Ísey', + 'Ísfold', + 'Ísgerður', + 'Íshildur', + 'Ísis', + 'Íslaug', + 'Ísleif', + 'Ísmey', + 'Ísold', + 'Ísól', + 'Ísrún', + 'Íssól', + 'Ísveig', + 'Íunn', + 'Íva', + 'Jakobína', + 'Jana', + 'Jane', + 'Janetta', + 'Jannika', + 'Jara', + 'Jarún', + 'Jarþrúður', + 'Jasmín', + 'Járnbrá', + 'Járngerður', + 'Jenetta', + 'Jenna', + 'Jenný', + 'Jensína', + 'Jessý', + 'Jovina', + 'Jóa', + 'Jóanna', + 'Jódís', + 'Jófríður', + 'Jóhanna', + 'Jólín', + 'Jóna', + 'Jónanna', + 'Jónasína', + 'Jónbjörg', + 'Jónbjört', + 'Jóndís', + 'Jóndóra', + 'Jóney', + 'Jónfríður', + 'Jóngerð', + 'Jónheiður', + 'Jónhildur', + 'Jóninna', + 'Jónída', + 'Jónína', + 'Jónný', + 'Jóný', + 'Jóra', + 'Jóríður', + 'Jórlaug', + 'Jórunn', + 'Jósebína', + 'Jósefín', + 'Jósefína', + 'Judith', + 'Júdea', + 'Júdit', + 'Júlía', + 'Júlíana', + 'Júlíanna', + 'Júlíetta', + 'Júlírós', + 'Júnía', + 'Júníana', + 'Jökla', + 'Jökulrós', + 'Jörgína', + 'Kaðlín', + 'Kaja', + 'Kalla', + 'Kamilla', + 'Kamí', + 'Kamma', + 'Kapitola', + 'Kapítóla', + 'Kara', + 'Karen', + 'Karin', + 'Karitas', + 'Karí', + 'Karín', + 'Karína', + 'Karítas', + 'Karla', + 'Karlinna', + 'Karlína', + 'Karlotta', + 'Karolína', + 'Karó', + 'Karólín', + 'Karólína', + 'Kassandra', + 'Kata', + 'Katarína', + 'Katerína', + 'Katharina', + 'Kathinka', + 'Katinka', + 'Katla', + 'Katrín', + 'Katrína', + 'Katý', + 'Kára', + 'Kellý', + 'Kendra', + 'Ketilbjörg', + 'Ketilfríður', + 'Ketilríður', + 'Kiddý', + 'Kira', + 'Kirsten', + 'Kirstín', + 'Kittý', + 'Kjalvör', + 'Klara', + 'Kládía', + 'Klementína', + 'Kleópatra', + 'Kolbjörg', + 'Kolbrá', + 'Kolbrún', + 'Koldís', + 'Kolfinna', + 'Kolfreyja', + 'Kolgríma', + 'Kolka', + 'Konkordía', + 'Konný', + 'Korka', + 'Kormlöð', + 'Kornelía', + 'Kókó', + 'Krista', + 'Kristbjörg', + 'Kristborg', + 'Kristel', + 'Kristensa', + 'Kristey', + 'Kristfríður', + 'Kristgerður', + 'Kristin', + 'Kristine', + 'Kristíana', + 'Kristíanna', + 'Kristín', + 'Kristína', + 'Kristjana', + 'Kristjóna', + 'Kristlaug', + 'Kristlind', + 'Kristlín', + 'Kristný', + 'Kristólína', + 'Kristrós', + 'Kristrún', + 'Kristveig', + 'Kristvina', + 'Kristþóra', + 'Kría', + 'Kæja', + 'Laila', + 'Laíla', + 'Lana', + 'Lara', + 'Laufey', + 'Laufheiður', + 'Laufhildur', + 'Lauga', + 'Laugey', + 'Laugheiður', + 'Lára', + 'Lárensína', + 'Láretta', + 'Lárey', + 'Lea', + 'Leikný', + 'Leila', + 'Lena', + 'Leonóra', + 'Leóna', + 'Leónóra', + 'Lilja', + 'Liljá', + 'Liljurós', + 'Lill', + 'Lilla', + 'Lillian', + 'Lillý', + 'Lily', + 'Lilý', + 'Lind', + 'Linda', + 'Linddís', + 'Lingný', + 'Lisbeth', + 'Listalín', + 'Liv', + 'Líba', + 'Líf', + 'Lífdís', + 'Lín', + 'Lína', + 'Línbjörg', + 'Líndís', + 'Líneik', + 'Líney', + 'Línhildur', + 'Lísa', + 'Lísabet', + 'Lísandra', + 'Lísbet', + 'Lísebet', + 'Lív', + 'Ljósbjörg', + 'Ljósbrá', + 'Ljótunn', + 'Lofn', + 'Loftveig', + 'Logey', + 'Lokbrá', + 'Lotta', + 'Louisa', + 'Lousie', + 'Lovísa', + 'Lóa', + 'Lóreley', + 'Lukka', + 'Lúcía', + 'Lúðvíka', + 'Lúísa', + 'Lúna', + 'Lúsinda', + 'Lúsía', + 'Lúvísa', + 'Lydia', + 'Lydía', + 'Lyngheiður', + 'Lýdía', + 'Læla', + 'Maddý', + 'Magda', + 'Magdalena', + 'Magðalena', + 'Magga', + 'Maggey', + 'Maggý', + 'Magna', + 'Magndís', + 'Magnea', + 'Magnes', + 'Magney', + 'Magnfríður', + 'Magnheiður', + 'Magnhildur', + 'Magnúsína', + 'Magný', + 'Magnþóra', + 'Maía', + 'Maídís', + 'Maísól', + 'Maj', + 'Maja', + 'Malen', + 'Malena', + 'Malía', + 'Malín', + 'Malla', + 'Manda', + 'Manúela', + 'Mara', + 'Mardís', + 'Marela', + 'Marella', + 'Maren', + 'Marey', + 'Marfríður', + 'Margit', + 'Margot', + 'Margret', + 'Margrét', + 'Margrjet', + 'Margunnur', + 'Marheiður', + 'Maria', + 'Marie', + 'Marikó', + 'Marinella', + 'Marit', + 'Marí', + 'María', + 'Maríam', + 'Marían', + 'Maríana', + 'Maríanna', + 'Marín', + 'Marína', + 'Marínella', + 'Maríon', + 'Marísa', + 'Marísól', + 'Marít', + 'Maríuerla', + 'Marja', + 'Markrún', + 'Marlaug', + 'Marlena', + 'Marlín', + 'Marlís', + 'Marólína', + 'Marsa', + 'Marselía', + 'Marselína', + 'Marsibil', + 'Marsilía', + 'Marsý', + 'Marta', + 'Martha', + 'Martína', + 'Mary', + 'Marý', + 'Matta', + 'Mattea', + 'Matthea', + 'Matthilda', + 'Matthildur', + 'Matthía', + 'Mattíana', + 'Mattína', + 'Mattý', + 'Maxima', + 'Mábil', + 'Málfríður', + 'Málhildur', + 'Málmfríður', + 'Mánadís', + 'Máney', + 'Mára', + 'Meda', + 'Mekkin', + 'Mekkín', + 'Melinda', + 'Melissa', + 'Melkorka', + 'Melrós', + 'Messíana', + 'Metta', + 'Mey', + 'Mikaela', + 'Mikaelína', + 'Mikkalína', + 'Milda', + 'Mildríður', + 'Milla', + 'Millý', + 'Minerva', + 'Minna', + 'Minney', + 'Minný', + 'Miriam', + 'Mirja', + 'Mirjam', + 'Mirra', + 'Mist', + 'Mía', + 'Mínerva', + 'Míra', + 'Míranda', + 'Mítra', + 'Mjaðveig', + 'Mjalldís', + 'Mjallhvít', + 'Mjöll', + 'Mona', + 'Monika', + 'Módís', + 'Móeiður', + 'Móey', + 'Móheiður', + 'Móna', + 'Mónika', + 'Móníka', + 'Munda', + 'Mundheiður', + 'Mundhildur', + 'Mundína', + 'Myrra', + 'Mýr', + 'Mýra', + 'Mýrún', + 'Mörk', + 'Nadia', + 'Nadía', + 'Nadja', + 'Nana', + 'Nanna', + 'Nanný', + 'Nansý', + 'Naomí', + 'Naómí', + 'Natalie', + 'Natalía', + 'Náttsól', + 'Nella', + 'Nellý', + 'Nenna', + 'Nicole', + 'Niðbjörg', + 'Nikíta', + 'Nikoletta', + 'Nikólína', + 'Ninja', + 'Ninna', + 'Nína', + 'Níní', + 'Njála', + 'Njóla', + 'Norma', + 'Nóa', + 'Nóra', + 'Nótt', + 'Nýbjörg', + 'Odda', + 'Oddbjörg', + 'Oddfreyja', + 'Oddfríður', + 'Oddgerður', + 'Oddhildur', + 'Oddlaug', + 'Oddleif', + 'Oddný', + 'Oddrún', + 'Oddveig', + 'Oddvör', + 'Oktavía', + 'Októvía', + 'Olga', + 'Ollý', + 'Ora', + 'Orka', + 'Ormheiður', + 'Ormhildur', + 'Otkatla', + 'Otta', + 'Óda', + 'Ófelía', + 'Óla', + 'Ólafía', + 'Ólafína', + 'Ólavía', + 'Ólivía', + 'Ólína', + 'Ólöf', + 'Ósa', + 'Ósk', + 'Ótta', + 'Pamela', + 'París', + 'Patricia', + 'Patrisía', + 'Pála', + 'Páldís', + 'Páley', + 'Pálfríður', + 'Pálhanna', + 'Pálheiður', + 'Pálhildur', + 'Pálín', + 'Pálína', + 'Pálmey', + 'Pálmfríður', + 'Pálrún', + 'Perla', + 'Peta', + 'Petra', + 'Petrea', + 'Petrína', + 'Petronella', + 'Petrónella', + 'Petrós', + 'Petrún', + 'Petrúnella', + 'Pétrína', + 'Pétrún', + 'Pía', + 'Polly', + 'Pollý', + 'Pría', + 'Rafney', + 'Rafnhildur', + 'Ragna', + 'Ragnbjörg', + 'Ragney', + 'Ragnfríður', + 'Ragnheiður', + 'Ragnhildur', + 'Rakel', + 'Ramóna', + 'Randalín', + 'Randíður', + 'Randý', + 'Ranka', + 'Rannva', + 'Rannveig', + 'Ráðhildur', + 'Rán', + 'Rebekka', + 'Reginbjörg', + 'Regína', + 'Rein', + 'Renata', + 'Reyn', + 'Reyndís', + 'Reynheiður', + 'Reynhildur', + 'Rikka', + 'Ripley', + 'Rita', + 'Ríkey', + 'Rín', + 'Ríta', + 'Ronja', + 'Rorí', + 'Roxanna', + 'Róberta', + 'Róbjörg', + 'Rós', + 'Rósa', + 'Rósalind', + 'Rósanna', + 'Rósbjörg', + 'Rósborg', + 'Róselía', + 'Rósey', + 'Rósfríður', + 'Róshildur', + 'Rósinkara', + 'Rósinkransa', + 'Róska', + 'Róslaug', + 'Róslind', + 'Róslinda', + 'Róslín', + 'Rósmary', + 'Rósmarý', + 'Rósmunda', + 'Rósný', + 'Runný', + 'Rut', + 'Ruth', + 'Rúbý', + 'Rún', + 'Rúna', + 'Rúndís', + 'Rúnhildur', + 'Rúrí', + 'Röfn', + 'Rögn', + 'Röskva', + 'Sabína', + 'Sabrína', + 'Saga', + 'Salbjörg', + 'Saldís', + 'Salgerður', + 'Salín', + 'Salína', + 'Salka', + 'Salma', + 'Salný', + 'Salome', + 'Salóme', + 'Salvör', + 'Sandra', + 'Sanna', + 'Santía', + 'Sara', + 'Sarína', + 'Sefanía', + 'Selja', + 'Selka', + 'Selma', + 'Senía', + 'Septíma', + 'Sera', + 'Serena', + 'Seselía', + 'Sesilía', + 'Sesselía', + 'Sesselja', + 'Sessilía', + 'Sif', + 'Sigdís', + 'Sigdóra', + 'Sigfríð', + 'Sigfríður', + 'Sigga', + 'Siggerður', + 'Sigmunda', + 'Signa', + 'Signhildur', + 'Signý', + 'Sigríður', + 'Sigrún', + 'Sigurást', + 'Sigurásta', + 'Sigurbára', + 'Sigurbirna', + 'Sigurbjörg', + 'Sigurbjört', + 'Sigurborg', + 'Sigurdís', + 'Sigurdóra', + 'Sigurdríf', + 'Sigurdrífa', + 'Sigurða', + 'Sigurey', + 'Sigurfinna', + 'Sigurfljóð', + 'Sigurgeira', + 'Sigurhanna', + 'Sigurhelga', + 'Sigurhildur', + 'Sigurjóna', + 'Sigurlaug', + 'Sigurleif', + 'Sigurlilja', + 'Sigurlinn', + 'Sigurlín', + 'Sigurlína', + 'Sigurmunda', + 'Sigurnanna', + 'Sigurósk', + 'Sigurrós', + 'Sigursteina', + 'Sigurunn', + 'Sigurveig', + 'Sigurvina', + 'Sigurþóra', + 'Sigyn', + 'Sigþóra', + 'Sigþrúður', + 'Silfa', + 'Silfá', + 'Silfrún', + 'Silja', + 'Silka', + 'Silla', + 'Silva', + 'Silvana', + 'Silvía', + 'Sirra', + 'Sirrý', + 'Siv', + 'Sía', + 'Símonía', + 'Sísí', + 'Síta', + 'Sjöfn', + 'Skarpheiður', + 'Skugga', + 'Skuld', + 'Skúla', + 'Skúlína', + 'Snjáfríður', + 'Snjáka', + 'Snjófríður', + 'Snjólaug', + 'Snorra', + 'Snót', + 'Snæbjörg', + 'Snæbjört', + 'Snæborg', + 'Snæbrá', + 'Snædís', + 'Snæfríður', + 'Snælaug', + 'Snærós', + 'Snærún', + 'Soffía', + 'Sofie', + 'Sofía', + 'Solveig', + 'Sonja', + 'Sonný', + 'Sophia', + 'Sophie', + 'Sól', + 'Sóla', + 'Sólbjörg', + 'Sólbjört', + 'Sólborg', + 'Sólbrá', + 'Sólbrún', + 'Sóldís', + 'Sóldögg', + 'Sóley', + 'Sólfríður', + 'Sólgerður', + 'Sólhildur', + 'Sólín', + 'Sólkatla', + 'Sóllilja', + 'Sólný', + 'Sólrós', + 'Sólrún', + 'Sólveig', + 'Sólvör', + 'Sónata', + 'Stefana', + 'Stefanía', + 'Stefánný', + 'Steina', + 'Steinbjörg', + 'Steinborg', + 'Steindís', + 'Steindóra', + 'Steiney', + 'Steinfríður', + 'Steingerður', + 'Steinhildur', + 'Steinlaug', + 'Steinrós', + 'Steinrún', + 'Steinunn', + 'Steinvör', + 'Steinþóra', + 'Stella', + 'Stígheiður', + 'Stígrún', + 'Stína', + 'Stjarna', + 'Styrgerður', + 'Sumarlína', + 'Sumarrós', + 'Sunna', + 'Sunnefa', + 'Sunneva', + 'Sunniva', + 'Sunníva', + 'Susan', + 'Súla', + 'Súsan', + 'Súsanna', + 'Svafa', + 'Svala', + 'Svalrún', + 'Svana', + 'Svanbjörg', + 'Svanbjört', + 'Svanborg', + 'Svandís', + 'Svaney', + 'Svanfríður', + 'Svanheiður', + 'Svanhildur', + 'Svanhvít', + 'Svanlaug', + 'Svanrós', + 'Svanþrúður', + 'Svava', + 'Svea', + 'Sveina', + 'Sveinbjörg', + 'Sveinborg', + 'Sveindís', + 'Sveiney', + 'Sveinfríður', + 'Sveingerður', + 'Sveinhildur', + 'Sveinlaug', + 'Sveinrós', + 'Sveinrún', + 'Sveinsína', + 'Sveinveig', + 'Sylgja', + 'Sylva', + 'Sylvía', + 'Sæbjörg', + 'Sæbjört', + 'Sæborg', + 'Sædís', + 'Sæfinna', + 'Sæfríður', + 'Sæhildur', + 'Sælaug', + 'Sæmunda', + 'Sæný', + 'Særós', + 'Særún', + 'Sæsól', + 'Sæunn', + 'Sævör', + 'Sölva', + 'Sölvey', + 'Sölvína', + 'Tala', + 'Talía', + 'Tamar', + 'Tamara', + 'Tanía', + 'Tanja', + 'Tanya', + 'Tanya', + 'Tara', + 'Tea', + 'Teitný', + 'Tekla', + 'Telma', + 'Tera', + 'Teresa', + 'Teresía', + 'Thea', + 'Thelma', + 'Theodóra', + 'Theódóra', + 'Theresa', + 'Tindra', + 'Tinna', + 'Tirsa', + 'Tía', + 'Tíbrá', + 'Tína', + 'Todda', + 'Torbjörg', + 'Torfey', + 'Torfheiður', + 'Torfhildur', + 'Tóbý', + 'Tóka', + 'Tóta', + 'Tristana', + 'Trú', + 'Tryggva', + 'Tryggvína', + 'Týra', + 'Ugla', + 'Una', + 'Undína', + 'Unna', + 'Unnbjörg', + 'Unndís', + 'Unnur', + 'Urður', + 'Úa', + 'Úlfa', + 'Úlfdís', + 'Úlfey', + 'Úlfheiður', + 'Úlfhildur', + 'Úlfrún', + 'Úlla', + 'Úna', + 'Úndína', + 'Úranía', + 'Úrsúla', + 'Vagna', + 'Vagnbjörg', + 'Vagnfríður', + 'Vaka', + 'Vala', + 'Valbjörg', + 'Valbjörk', + 'Valbjört', + 'Valborg', + 'Valdheiður', + 'Valdís', + 'Valentína', + 'Valería', + 'Valey', + 'Valfríður', + 'Valgerða', + 'Valgerður', + 'Valhildur', + 'Valka', + 'Vallý', + 'Valný', + 'Valrós', + 'Valrún', + 'Valva', + 'Valý', + 'Valþrúður', + 'Vanda', + 'Vár', + 'Veig', + 'Veiga', + 'Venus', + 'Vera', + 'Veronika', + 'Verónika', + 'Veróníka', + 'Vetrarrós', + 'Vébjörg', + 'Védís', + 'Végerður', + 'Vélaug', + 'Véný', + 'Vibeka', + 'Victoría', + 'Viðja', + 'Vigdís', + 'Vigný', + 'Viktoria', + 'Viktoría', + 'Vilborg', + 'Vildís', + 'Vilfríður', + 'Vilgerður', + 'Vilhelmína', + 'Villa', + 'Villimey', + 'Vilma', + 'Vilný', + 'Vinbjörg', + 'Vinný', + 'Vinsý', + 'Virginía', + 'Víbekka', + 'Víf', + 'Vígdögg', + 'Víggunnur', + 'Víóla', + 'Víóletta', + 'Vísa', + 'Von', + 'Von', + 'Voney', + 'Vordís', + 'Ylfa', + 'Ylfur', + 'Ylja', + 'Ylva', + 'Ynja', + 'Yrja', + 'Yrsa', + 'Ýja', + 'Ýma', + 'Ýr', + 'Ýrr', + 'Þalía', + 'Þeba', + 'Þeódís', + 'Þeódóra', + 'Þjóðbjörg', + 'Þjóðhildur', + 'Þoka', + 'Þorbjörg', + 'Þorfinna', + 'Þorgerður', + 'Þorgríma', + 'Þorkatla', + 'Þorlaug', + 'Þorleif', + 'Þorsteina', + 'Þorstína', + 'Þóra', + 'Þóranna', + 'Þórarna', + 'Þórbjörg', + 'Þórdís', + 'Þórða', + 'Þórelfa', + 'Þórelfur', + 'Þórey', + 'Þórfríður', + 'Þórgunna', + 'Þórgunnur', + 'Þórhalla', + 'Þórhanna', + 'Þórheiður', + 'Þórhildur', + 'Þórkatla', + 'Þórlaug', + 'Þórleif', + 'Þórný', + 'Þórodda', + 'Þórsteina', + 'Þórsteinunn', + 'Þórstína', + 'Þórunn', + 'Þórveig', + 'Þórvör', + 'Þrá', + 'Þrúða', + 'Þrúður', + 'Þula', + 'Þura', + 'Þurí', + 'Þuríður', + 'Þurý', + 'Þúfa', + 'Þyri', + 'Þyrí', + 'Þöll', + 'Ægileif', + 'Æsa', + 'Æsgerður', + 'Ögmunda', + 'Ögn', + 'Ölrún', + 'Ölveig', + 'Örbrún', + 'Örk', + 'Ösp' + ]; + + /** + * @var array Icelandic names for men. + */ + protected static $firstNameMale = [ + 'Aage', + 'Abel', + 'Abraham', + 'Adam', + 'Addi', + 'Adel', + 'Adíel', + 'Adólf', + 'Adrían', + 'Adríel', + 'Aðalberg', + 'Aðalbergur', + 'Aðalbert', + 'Aðalbjörn', + 'Aðalborgar', + 'Aðalgeir', + 'Aðalmundur', + 'Aðalráður', + 'Aðalsteinn', + 'Aðólf', + 'Agnar', + 'Agni', + 'Albert', + 'Aldar', + 'Alex', + 'Alexander', + 'Alexíus', + 'Alfons', + 'Alfred', + 'Alfreð', + 'Ali', + 'Allan', + 'Alli', + 'Almar', + 'Alrekur', + 'Alvar', + 'Alvin', + 'Amír', + 'Amos', + 'Anders', + 'Andreas', + 'André', + 'Andrés', + 'Andri', + 'Anes', + 'Anfinn', + 'Angantýr', + 'Angi', + 'Annar', + 'Annarr', + 'Annas', + 'Annel', + 'Annes', + 'Anthony', + 'Anton', + 'Antoníus', + 'Aran', + 'Arent', + 'Ares', + 'Ari', + 'Arilíus', + 'Arinbjörn', + 'Aríel', + 'Aríus', + 'Arnald', + 'Arnaldur', + 'Arnar', + 'Arnberg', + 'Arnbergur', + 'Arnbjörn', + 'Arndór', + 'Arnes', + 'Arnfinnur', + 'Arnfreyr', + 'Arngeir', + 'Arngils', + 'Arngrímur', + 'Arnkell', + 'Arnlaugur', + 'Arnleifur', + 'Arnljótur', + 'Arnmóður', + 'Arnmundur', + 'Arnoddur', + 'Arnold', + 'Arnór', + 'Arnsteinn', + 'Arnúlfur', + 'Arnviður', + 'Arnþór', + 'Aron', + 'Arthur', + 'Arthúr', + 'Artúr', + 'Asael', + 'Askur', + 'Aspar', + 'Atlas', + 'Atli', + 'Auðbergur', + 'Auðbert', + 'Auðbjörn', + 'Auðgeir', + 'Auðkell', + 'Auðmundur', + 'Auðólfur', + 'Auðun', + 'Auðunn', + 'Austar', + 'Austmann', + 'Austmar', + 'Austri', + 'Axel', + 'Ágúst', + 'Áki', + 'Álfar', + 'Álfgeir', + 'Álfgrímur', + 'Álfur', + 'Álfþór', + 'Ámundi', + 'Árbjartur', + 'Árbjörn', + 'Árelíus', + 'Árgeir', + 'Árgils', + 'Ármann', + 'Árni', + 'Ársæll', + 'Ás', + 'Ásberg', + 'Ásbergur', + 'Ásbjörn', + 'Ásgautur', + 'Ásgeir', + 'Ásgils', + 'Ásgrímur', + 'Ási', + 'Áskell', + 'Áslaugur', + 'Áslákur', + 'Ásmar', + 'Ásmundur', + 'Ásólfur', + 'Ásröður', + 'Ástbjörn', + 'Ástgeir', + 'Ástmar', + 'Ástmundur', + 'Ástráður', + 'Ástríkur', + 'Ástvald', + 'Ástvaldur', + 'Ástvar', + 'Ástvin', + 'Ástþór', + 'Ásvaldur', + 'Ásvarður', + 'Ásþór', + 'Baldur', + 'Baldvin', + 'Baldwin', + 'Baltasar', + 'Bambi', + 'Barði', + 'Barri', + 'Bassi', + 'Bastían', + 'Baugur', + 'Bárður', + 'Beinir', + 'Beinteinn', + 'Beitir', + 'Bekan', + 'Benedikt', + 'Benidikt', + 'Benjamín', + 'Benoný', + 'Benóní', + 'Benóný', + 'Bent', + 'Berent', + 'Berg', + 'Bergfinnur', + 'Berghreinn', + 'Bergjón', + 'Bergmann', + 'Bergmar', + 'Bergmundur', + 'Bergsteinn', + 'Bergsveinn', + 'Bergur', + 'Bergvin', + 'Bergþór', + 'Bernhard', + 'Bernharð', + 'Bernharður', + 'Berni', + 'Bernódus', + 'Bersi', + 'Bertel', + 'Bertram', + 'Bessi', + 'Betúel', + 'Bill', + 'Birgir', + 'Birkir', + 'Birnir', + 'Birtingur', + 'Birtir', + 'Bjargar', + 'Bjargmundur', + 'Bjargþór', + 'Bjarkan', + 'Bjarkar', + 'Bjarki', + 'Bjarmar', + 'Bjarmi', + 'Bjarnar', + 'Bjarnfinnur', + 'Bjarnfreður', + 'Bjarnharður', + 'Bjarnhéðinn', + 'Bjarni', + 'Bjarnlaugur', + 'Bjarnleifur', + 'Bjarnólfur', + 'Bjarnsteinn', + 'Bjarnþór', + 'Bjartmann', + 'Bjartmar', + 'Bjartur', + 'Bjartþór', + 'Bjólan', + 'Bjólfur', + 'Björgmundur', + 'Björgólfur', + 'Björgúlfur', + 'Björgvin', + 'Björn', + 'Björnólfur', + 'Blængur', + 'Blær', + 'Blævar', + 'Boði', + 'Bogi', + 'Bolli', + 'Borgar', + 'Borgúlfur', + 'Borgþór', + 'Bóas', + 'Bói', + 'Bótólfur', + 'Bragi', + 'Brandur', + 'Breki', + 'Bresi', + 'Brestir', + 'Brimar', + 'Brimi', + 'Brimir', + 'Brími', + 'Brjánn', + 'Broddi', + 'Bruno', + 'Bryngeir', + 'Brynjar', + 'Brynjólfur', + 'Brynjúlfur', + 'Brynleifur', + 'Brynsteinn', + 'Bryntýr', + 'Brynþór', + 'Burkni', + 'Búi', + 'Búri', + 'Bæring', + 'Bæringur', + 'Bæron', + 'Böðvar', + 'Börkur', + 'Carl', + 'Cecil', + 'Christian', + 'Christopher', + 'Cýrus', + 'Daði', + 'Dagbjartur', + 'Dagfari', + 'Dagfinnur', + 'Daggeir', + 'Dagmann', + 'Dagnýr', + 'Dagur', + 'Dagþór', + 'Dalbert', + 'Dalli', + 'Dalmann', + 'Dalmar', + 'Dalvin', + 'Damjan', + 'Dan', + 'Danelíus', + 'Daniel', + 'Danival', + 'Daníel', + 'Daníval', + 'Dante', + 'Daríus', + 'Darri', + 'Davíð', + 'Demus', + 'Deníel', + 'Dennis', + 'Diðrik', + 'Díómedes', + 'Dofri', + 'Dolli', + 'Dominik', + 'Dómald', + 'Dómaldi', + 'Dómaldur', + 'Dónald', + 'Dónaldur', + 'Dór', + 'Dóri', + 'Dósóþeus', + 'Draupnir', + 'Dreki', + 'Drengur', + 'Dufgus', + 'Dufþakur', + 'Dugfús', + 'Dúi', + 'Dúnn', + 'Dvalinn', + 'Dýri', + 'Dýrmundur', + 'Ebbi', + 'Ebeneser', + 'Ebenezer', + 'Eberg', + 'Edgar', + 'Edilon', + 'Edílon', + 'Edvard', + 'Edvin', + 'Edward', + 'Eðvald', + 'Eðvar', + 'Eðvarð', + 'Efraím', + 'Eggert', + 'Eggþór', + 'Egill', + 'Eiðar', + 'Eiður', + 'Eikar', + 'Eilífur', + 'Einar', + 'Einir', + 'Einvarður', + 'Einþór', + 'Eiríkur', + 'Eivin', + 'Elberg', + 'Elbert', + 'Eldar', + 'Eldgrímur', + 'Eldjárn', + 'Eldmar', + 'Eldon', + 'Eldór', + 'Eldur', + 'Elentínus', + 'Elfar', + 'Elfráður', + 'Elimar', + 'Elinór', + 'Elis', + 'Elí', + 'Elías', + 'Elíeser', + 'Elímar', + 'Elínbergur', + 'Elínmundur', + 'Elínór', + 'Elís', + 'Ellert', + 'Elli', + 'Elliði', + 'Ellís', + 'Elmar', + 'Elvar', + 'Elvin', + 'Elvis', + 'Emanúel', + 'Embrek', + 'Emerald', + 'Emil', + 'Emmanúel', + 'Engilbert', + 'Engilbjartur', + 'Engiljón', + 'Engill', + 'Enok', + 'Eric', + 'Erik', + 'Erlar', + 'Erlendur', + 'Erling', + 'Erlingur', + 'Ernestó', + 'Ernir', + 'Ernst', + 'Eron', + 'Erpur', + 'Esekíel', + 'Esjar', + 'Esra', + 'Estefan', + 'Evald', + 'Evan', + 'Evert', + 'Eyberg', + 'Eyjólfur', + 'Eylaugur', + 'Eyleifur', + 'Eymar', + 'Eymundur', + 'Eyríkur', + 'Eysteinn', + 'Eyvar', + 'Eyvindur', + 'Eyþór', + 'Fabrisíus', + 'Falgeir', + 'Falur', + 'Fannar', + 'Fannberg', + 'Fanngeir', + 'Fáfnir', + 'Fálki', + 'Felix', + 'Fengur', + 'Fenrir', + 'Ferdinand', + 'Ferdínand', + 'Fertram', + 'Feykir', + 'Filip', + 'Filippus', + 'Finn', + 'Finnbjörn', + 'Finnbogi', + 'Finngeir', + 'Finnjón', + 'Finnlaugur', + 'Finnur', + 'Finnvarður', + 'Fífill', + 'Fjalar', + 'Fjarki', + 'Fjólar', + 'Fjólmundur', + 'Fjölnir', + 'Fjölvar', + 'Fjörnir', + 'Flemming', + 'Flosi', + 'Flóki', + 'Flórent', + 'Flóvent', + 'Forni', + 'Fossmar', + 'Fólki', + 'Francis', + 'Frank', + 'Franklín', + 'Frans', + 'Franz', + 'Fránn', + 'Frár', + 'Freybjörn', + 'Freygarður', + 'Freymar', + 'Freymóður', + 'Freymundur', + 'Freyr', + 'Freysteinn', + 'Freyviður', + 'Freyþór', + 'Friðberg', + 'Friðbergur', + 'Friðbert', + 'Friðbjörn', + 'Friðfinnur', + 'Friðgeir', + 'Friðjón', + 'Friðlaugur', + 'Friðleifur', + 'Friðmann', + 'Friðmar', + 'Friðmundur', + 'Friðrik', + 'Friðsteinn', + 'Friður', + 'Friðvin', + 'Friðþjófur', + 'Friðþór', + 'Friedrich', + 'Fritz', + 'Frímann', + 'Frosti', + 'Fróði', + 'Fróðmar', + 'Funi', + 'Fúsi', + 'Fylkir', + 'Gabriel', + 'Gabríel', + 'Gael', + 'Galdur', + 'Gamalíel', + 'Garðar', + 'Garibaldi', + 'Garpur', + 'Garri', + 'Gaui', + 'Gaukur', + 'Gauti', + 'Gautrekur', + 'Gautur', + 'Gautviður', + 'Geir', + 'Geirarður', + 'Geirfinnur', + 'Geirharður', + 'Geirhjörtur', + 'Geirhvatur', + 'Geiri', + 'Geirlaugur', + 'Geirleifur', + 'Geirmundur', + 'Geirólfur', + 'Geirröður', + 'Geirtryggur', + 'Geirvaldur', + 'Geirþjófur', + 'Geisli', + 'Gellir', + 'Georg', + 'Gerald', + 'Gerðar', + 'Geri', + 'Gestur', + 'Gilbert', + 'Gilmar', + 'Gils', + 'Gissur', + 'Gizur', + 'Gídeon', + 'Gígjar', + 'Gísli', + 'Gjúki', + 'Glói', + 'Glúmur', + 'Gneisti', + 'Gnúpur', + 'Gnýr', + 'Goði', + 'Goðmundur', + 'Gottskálk', + 'Gottsveinn', + 'Gói', + 'Grani', + 'Grankell', + 'Gregor', + 'Greipur', + 'Greppur', + 'Gretar', + 'Grettir', + 'Grétar', + 'Grímar', + 'Grímkell', + 'Grímlaugur', + 'Grímnir', + 'Grímólfur', + 'Grímur', + 'Grímúlfur', + 'Guðberg', + 'Guðbergur', + 'Guðbjarni', + 'Guðbjartur', + 'Guðbjörn', + 'Guðbrandur', + 'Guðfinnur', + 'Guðfreður', + 'Guðgeir', + 'Guðjón', + 'Guðlaugur', + 'Guðleifur', + 'Guðleikur', + 'Guðmann', + 'Guðmar', + 'Guðmon', + 'Guðmundur', + 'Guðni', + 'Guðráður', + 'Guðröður', + 'Guðsteinn', + 'Guðvarður', + 'Guðveigur', + 'Guðvin', + 'Guðþór', + 'Gumi', + 'Gunnar', + 'Gunnberg', + 'Gunnbjörn', + 'Gunndór', + 'Gunngeir', + 'Gunnhallur', + 'Gunnlaugur', + 'Gunnleifur', + 'Gunnólfur', + 'Gunnóli', + 'Gunnröður', + 'Gunnsteinn', + 'Gunnvaldur', + 'Gunnþór', + 'Gustav', + 'Gutti', + 'Guttormur', + 'Gústaf', + 'Gústav', + 'Gylfi', + 'Gyrðir', + 'Gýgjar', + 'Gýmir', + 'Haddi', + 'Haddur', + 'Hafberg', + 'Hafgrímur', + 'Hafliði', + 'Hafnar', + 'Hafni', + 'Hafsteinn', + 'Hafþór', + 'Hagalín', + 'Hagbarður', + 'Hagbert', + 'Haki', + 'Hallberg', + 'Hallbjörn', + 'Halldór', + 'Hallfreður', + 'Hallgarður', + 'Hallgeir', + 'Hallgils', + 'Hallgrímur', + 'Hallkell', + 'Hallmann', + 'Hallmar', + 'Hallmundur', + 'Hallsteinn', + 'Hallur', + 'Hallvarður', + 'Hallþór', + 'Hamar', + 'Hannes', + 'Hannibal', + 'Hans', + 'Harald', + 'Haraldur', + 'Harri', + 'Harry', + 'Harrý', + 'Hartmann', + 'Hartvig', + 'Hauksteinn', + 'Haukur', + 'Haukvaldur', + 'Hákon', + 'Háleygur', + 'Hálfdan', + 'Hálfdán', + 'Hámundur', + 'Hárekur', + 'Hárlaugur', + 'Hásteinn', + 'Hávar', + 'Hávarður', + 'Hávarr', + 'Hávarr', + 'Heiðar', + 'Heiðarr', + 'Heiðberg', + 'Heiðbert', + 'Heiðlindur', + 'Heiðmann', + 'Heiðmar', + 'Heiðmundur', + 'Heiðrekur', + 'Heikir', + 'Heilmóður', + 'Heimir', + 'Heinrekur', + 'Heisi', + 'Hektor', + 'Helgi', + 'Helmút', + 'Hemmert', + 'Hendrik', + 'Henning', + 'Henrik', + 'Henry', + 'Henrý', + 'Herbert', + 'Herbjörn', + 'Herfinnur', + 'Hergeir', + 'Hergill', + 'Hergils', + 'Herjólfur', + 'Herlaugur', + 'Herleifur', + 'Herluf', + 'Hermann', + 'Hermóður', + 'Hermundur', + 'Hersir', + 'Hersteinn', + 'Hersveinn', + 'Hervar', + 'Hervarður', + 'Hervin', + 'Héðinn', + 'Hilaríus', + 'Hilbert', + 'Hildar', + 'Hildibergur', + 'Hildibrandur', + 'Hildigeir', + 'Hildiglúmur', + 'Hildimar', + 'Hildimundur', + 'Hildingur', + 'Hildir', + 'Hildiþór', + 'Hilmar', + 'Hilmir', + 'Himri', + 'Hinrik', + 'Híram', + 'Hjallkár', + 'Hjalti', + 'Hjarnar', + 'Hjálmar', + 'Hjálmgeir', + 'Hjálmtýr', + 'Hjálmur', + 'Hjálmþór', + 'Hjörleifur', + 'Hjörtur', + 'Hjörtþór', + 'Hjörvar', + 'Hleiðar', + 'Hlégestur', + 'Hlér', + 'Hlini', + 'Hlíðar', + 'Hlíðberg', + 'Hlífar', + 'Hljómur', + 'Hlynur', + 'Hlöðmundur', + 'Hlöður', + 'Hlöðvarður', + 'Hlöðver', + 'Hnefill', + 'Hnikar', + 'Hnikarr', + 'Holgeir', + 'Holger', + 'Holti', + 'Hólm', + 'Hólmar', + 'Hólmbert', + 'Hólmfastur', + 'Hólmgeir', + 'Hólmgrímur', + 'Hólmkell', + 'Hólmsteinn', + 'Hólmþór', + 'Hóseas', + 'Hrafn', + 'Hrafnar', + 'Hrafnbergur', + 'Hrafnkell', + 'Hrafntýr', + 'Hrannar', + 'Hrappur', + 'Hraunar', + 'Hreggviður', + 'Hreiðar', + 'Hreiðmar', + 'Hreimur', + 'Hreinn', + 'Hringur', + 'Hrímnir', + 'Hrollaugur', + 'Hrolleifur', + 'Hróaldur', + 'Hróar', + 'Hróbjartur', + 'Hróðgeir', + 'Hróðmar', + 'Hróðólfur', + 'Hróðvar', + 'Hrói', + 'Hrólfur', + 'Hrómundur', + 'Hrútur', + 'Hrærekur', + 'Hugberg', + 'Hugi', + 'Huginn', + 'Hugleikur', + 'Hugo', + 'Hugó', + 'Huldar', + 'Huxley', + 'Húbert', + 'Húgó', + 'Húmi', + 'Húnbogi', + 'Húni', + 'Húnn', + 'Húnröður', + 'Hvannar', + 'Hyltir', + 'Hylur', + 'Hængur', + 'Hænir', + 'Höður', + 'Högni', + 'Hörður', + 'Höskuldur', + 'Illugi', + 'Immanúel', + 'Indriði', + 'Ingberg', + 'Ingi', + 'Ingiberg', + 'Ingibergur', + 'Ingibert', + 'Ingibjartur', + 'Ingibjörn', + 'Ingileifur', + 'Ingimagn', + 'Ingimar', + 'Ingimundur', + 'Ingivaldur', + 'Ingiþór', + 'Ingjaldur', + 'Ingmar', + 'Ingólfur', + 'Ingvaldur', + 'Ingvar', + 'Ingvi', + 'Ingþór', + 'Ismael', + 'Issi', + 'Ían', + 'Ígor', + 'Ími', + 'Ísak', + 'Ísar', + 'Ísarr', + 'Ísbjörn', + 'Íseldur', + 'Ísgeir', + 'Ísidór', + 'Ísleifur', + 'Ísmael', + 'Ísmar', + 'Ísólfur', + 'Ísrael', + 'Ívan', + 'Ívar', + 'Jack', + 'Jafet', + 'Jaki', + 'Jakob', + 'Jakop', + 'Jamil', + 'Jan', + 'Janus', + 'Jarl', + 'Jason', + 'Járngrímur', + 'Játgeir', + 'Játmundur', + 'Játvarður', + 'Jenni', + 'Jens', + 'Jeremías', + 'Jes', + 'Jesper', + 'Jochum', + 'Johan', + 'John', + 'Joshua', + 'Jóakim', + 'Jóann', + 'Jóel', + 'Jóhann', + 'Jóhannes', + 'Jói', + 'Jómar', + 'Jómundur', + 'Jón', + 'Jónar', + 'Jónas', + 'Jónatan', + 'Jónbjörn', + 'Jóndór', + 'Jóngeir', + 'Jónmundur', + 'Jónsteinn', + 'Jónþór', + 'Jósafat', + 'Jósavin', + 'Jósef', + 'Jósep', + 'Jósteinn', + 'Jósúa', + 'Jóvin', + 'Julian', + 'Júlí', + 'Júlían', + 'Júlíus', + 'Júní', + 'Júníus', + 'Júrek', + 'Jökull', + 'Jörfi', + 'Jörgen', + 'Jörmundur', + 'Jörri', + 'Jörundur', + 'Jörvar', + 'Jörvi', + 'Kaj', + 'Kakali', + 'Kaktus', + 'Kaldi', + 'Kaleb', + 'Kali', + 'Kalman', + 'Kalmann', + 'Kalmar', + 'Kaprasíus', + 'Karel', + 'Karim', + 'Karkur', + 'Karl', + 'Karles', + 'Karli', + 'Karvel', + 'Kaspar', + 'Kasper', + 'Kastíel', + 'Katarínus', + 'Kató', + 'Kár', + 'Kári', + 'Keran', + 'Ketilbjörn', + 'Ketill', + 'Kilían', + 'Kiljan', + 'Kjalar', + 'Kjallakur', + 'Kjaran', + 'Kjartan', + 'Kjarval', + 'Kjárr', + 'Kjói', + 'Klemens', + 'Klemenz', + 'Klængur', + 'Knútur', + 'Knörr', + 'Koðrán', + 'Koggi', + 'Kolbeinn', + 'Kolbjörn', + 'Kolfinnur', + 'Kolgrímur', + 'Kolmar', + 'Kolskeggur', + 'Kolur', + 'Kolviður', + 'Konráð', + 'Konstantínus', + 'Kormákur', + 'Kornelíus', + 'Kort', + 'Kópur', + 'Kraki', + 'Kris', + 'Kristall', + 'Kristberg', + 'Kristbergur', + 'Kristbjörn', + 'Kristdór', + 'Kristens', + 'Krister', + 'Kristfinnur', + 'Kristgeir', + 'Kristian', + 'Kristinn', + 'Kristján', + 'Kristjón', + 'Kristlaugur', + 'Kristleifur', + 'Kristmann', + 'Kristmar', + 'Kristmundur', + 'Kristofer', + 'Kristófer', + 'Kristvaldur', + 'Kristvarður', + 'Kristvin', + 'Kristþór', + 'Krummi', + 'Kveldúlfur', + 'Lambert', + 'Lars', + 'Laufar', + 'Laugi', + 'Lauritz', + 'Lár', + 'Lárent', + 'Lárentíus', + 'Lárus', + 'Leiðólfur', + 'Leif', + 'Leifur', + 'Leiknir', + 'Leo', + 'Leon', + 'Leonard', + 'Leonhard', + 'Leó', + 'Leópold', + 'Leví', + 'Lér', + 'Liljar', + 'Lindar', + 'Lindberg', + 'Línberg', + 'Líni', + 'Ljósálfur', + 'Ljótur', + 'Ljúfur', + 'Loðmundur', + 'Loftur', + 'Logi', + 'Loki', + 'Lórens', + 'Lórenz', + 'Ludvig', + 'Lundi', + 'Lúðvíg', + 'Lúðvík', + 'Lúkas', + 'Lúter', + 'Lúther', + 'Lyngar', + 'Lýður', + 'Lýtingur', + 'Maggi', + 'Magngeir', + 'Magni', + 'Magnús', + 'Magnþór', + 'Makan', + 'Manfred', + 'Manfreð', + 'Manúel', + 'Mar', + 'Marbjörn', + 'Marel', + 'Margeir', + 'Margrímur', + 'Mari', + 'Marijón', + 'Marinó', + 'Marías', + 'Marínó', + 'Marís', + 'Maríus', + 'Marjón', + 'Markó', + 'Markús', + 'Markþór', + 'Maron', + 'Marri', + 'Mars', + 'Marsellíus', + 'Marteinn', + 'Marten', + 'Marthen', + 'Martin', + 'Marvin', + 'Mathías', + 'Matthías', + 'Matti', + 'Mattías', + 'Max', + 'Maximus', + 'Máni', + 'Már', + 'Márus', + 'Mekkinó', + 'Melkíor', + 'Melkólmur', + 'Melrakki', + 'Mensalder', + 'Merkúr', + 'Methúsalem', + 'Metúsalem', + 'Meyvant', + 'Michael', + 'Mikael', + 'Mikjáll', + 'Mikkael', + 'Mikkel', + 'Mildinberg', + 'Mías', + 'Mímir', + 'Míó', + 'Mír', + 'Mjöllnir', + 'Mjölnir', + 'Moli', + 'Morgan', + 'Moritz', + 'Mosi', + 'Móði', + 'Móri', + 'Mórits', + 'Móses', + 'Muggur', + 'Muni', + 'Muninn', + 'Múli', + 'Myrkvi', + 'Mýrkjartan', + 'Mörður', + 'Narfi', + 'Natan', + 'Natanael', + 'Nataníel', + 'Náttmörður', + 'Náttúlfur', + 'Neisti', + 'Nenni', + 'Neptúnus', + 'Nicolas', + 'Nikanor', + 'Nikolai', + 'Nikolas', + 'Nikulás', + 'Nils', + 'Níels', + 'Níls', + 'Njáll', + 'Njörður', + 'Nonni', + 'Norbert', + 'Norðmann', + 'Normann', + 'Nóam', + 'Nóel', + 'Nói', + 'Nóni', + 'Nóri', + 'Nóvember', + 'Númi', + 'Nývarð', + 'Nökkvi', + 'Oddbergur', + 'Oddbjörn', + 'Oddfreyr', + 'Oddgeir', + 'Oddi', + 'Oddkell', + 'Oddleifur', + 'Oddmar', + 'Oddsteinn', + 'Oddur', + 'Oddvar', + 'Oddþór', + 'Oktavíus', + 'Októ', + 'Októvíus', + 'Olaf', + 'Olav', + 'Olgeir', + 'Oliver', + 'Olivert', + 'Orfeus', + 'Ormar', + 'Ormur', + 'Orri', + 'Orvar', + 'Otkell', + 'Otri', + 'Otti', + 'Ottó', + 'Otur', + 'Óðinn', + 'Ófeigur', + 'Ólafur', + 'Óli', + 'Óliver', + 'Ólíver', + 'Ómar', + 'Ómi', + 'Óskar', + 'Ósvald', + 'Ósvaldur', + 'Ósvífur', + 'Óttar', + 'Óttarr', + 'Parmes', + 'Patrek', + 'Patrekur', + 'Patrick', + 'Patrik', + 'Páll', + 'Pálmar', + 'Pálmi', + 'Pedró', + 'Per', + 'Peter', + 'Pétur', + 'Pjetur', + 'Príor', + 'Rafael', + 'Rafn', + 'Rafnar', + 'Rafnkell', + 'Ragnar', + 'Ragúel', + 'Randver', + 'Rannver', + 'Rasmus', + 'Ráðgeir', + 'Ráðvarður', + 'Refur', + 'Reginbaldur', + 'Reginn', + 'Reidar', + 'Reifnir', + 'Reimar', + 'Reinar', + 'Reinhart', + 'Reinhold', + 'Reynald', + 'Reynar', + 'Reynir', + 'Reyr', + 'Richard', + 'Rikharð', + 'Rikharður', + 'Ríkarður', + 'Ríkharð', + 'Ríkharður', + 'Ríó', + 'Robert', + 'Rolf', + 'Ronald', + 'Róbert', + 'Rólant', + 'Róman', + 'Rómeó', + 'Rósant', + 'Rósar', + 'Rósberg', + 'Rósenberg', + 'Rósi', + 'Rósinberg', + 'Rósinkar', + 'Rósinkrans', + 'Rósmann', + 'Rósmundur', + 'Rudolf', + 'Runi', + 'Runólfur', + 'Rúbar', + 'Rúben', + 'Rúdólf', + 'Rúnar', + 'Rúrik', + 'Rútur', + 'Röðull', + 'Rögnvald', + 'Rögnvaldur', + 'Rögnvar', + 'Rökkvi', + 'Safír', + 'Sakarías', + 'Salmann', + 'Salmar', + 'Salómon', + 'Salvar', + 'Samson', + 'Samúel', + 'Sandel', + 'Sandri', + 'Sandur', + 'Saxi', + 'Sebastian', + 'Sebastían', + 'Seifur', + 'Seimur', + 'Sesar', + 'Sesil', + 'Sigbergur', + 'Sigbert', + 'Sigbjartur', + 'Sigbjörn', + 'Sigdór', + 'Sigfastur', + 'Sigfinnur', + 'Sigfreður', + 'Sigfús', + 'Siggeir', + 'Sighvatur', + 'Sigjón', + 'Siglaugur', + 'Sigmann', + 'Sigmar', + 'Sigmundur', + 'Signar', + 'Sigri', + 'Sigríkur', + 'Sigsteinn', + 'Sigtryggur', + 'Sigtýr', + 'Sigur', + 'Sigurbaldur', + 'Sigurberg', + 'Sigurbergur', + 'Sigurbjarni', + 'Sigurbjartur', + 'Sigurbjörn', + 'Sigurbrandur', + 'Sigurdór', + 'Sigurður', + 'Sigurfinnur', + 'Sigurgeir', + 'Sigurgestur', + 'Sigurgísli', + 'Sigurgrímur', + 'Sigurhans', + 'Sigurhjörtur', + 'Sigurjón', + 'Sigurkarl', + 'Sigurlaugur', + 'Sigurlás', + 'Sigurleifur', + 'Sigurliði', + 'Sigurlinni', + 'Sigurmann', + 'Sigurmar', + 'Sigurmon', + 'Sigurmundur', + 'Sigurnýas', + 'Sigurnýjas', + 'Siguroddur', + 'Siguróli', + 'Sigurpáll', + 'Sigursteinn', + 'Sigursveinn', + 'Sigurvaldi', + 'Sigurvin', + 'Sigurþór', + 'Sigvaldi', + 'Sigvarður', + 'Sigþór', + 'Silli', + 'Sindri', + 'Símon', + 'Sírnir', + 'Sírus', + 'Sívar', + 'Sjafnar', + 'Skafti', + 'Skapti', + 'Skarphéðinn', + 'Skefill', + 'Skeggi', + 'Skíði', + 'Skírnir', + 'Skjöldur', + 'Skorri', + 'Skuggi', + 'Skúli', + 'Skúta', + 'Skær', + 'Skæringur', + 'Smári', + 'Smiður', + 'Smyrill', + 'Snjóki', + 'Snjólaugur', + 'Snjólfur', + 'Snorri', + 'Snæbjartur', + 'Snæbjörn', + 'Snæhólm', + 'Snælaugur', + 'Snær', + 'Snæringur', + 'Snævar', + 'Snævarr', + 'Snæþór', + 'Soffanías', + 'Sophanías', + 'Sophus', + 'Sófónías', + 'Sófus', + 'Sókrates', + 'Sólberg', + 'Sólbergur', + 'Sólbjartur', + 'Sólbjörn', + 'Sólimann', + 'Sólmar', + 'Sólmundur', + 'Sólon', + 'Sólver', + 'Sólvin', + 'Spartakus', + 'Sporði', + 'Spói', + 'Stanley', + 'Stapi', + 'Starkaður', + 'Starri', + 'Stefan', + 'Stefán', + 'Stefnir', + 'Steinar', + 'Steinarr', + 'Steinberg', + 'Steinbergur', + 'Steinbjörn', + 'Steindór', + 'Steinfinnur', + 'Steingrímur', + 'Steini', + 'Steinkell', + 'Steinmann', + 'Steinmar', + 'Steinmóður', + 'Steinn', + 'Steinólfur', + 'Steinröður', + 'Steinvarður', + 'Steinþór', + 'Stirnir', + 'Stígur', + 'Stormur', + 'Stórólfur', + 'Sturla', + 'Sturlaugur', + 'Sturri', + 'Styr', + 'Styrbjörn', + 'Styrkár', + 'Styrmir', + 'Styrr', + 'Sumarliði', + 'Svafar', + 'Svali', + 'Svan', + 'Svanberg', + 'Svanbergur', + 'Svanbjörn', + 'Svangeir', + 'Svanhólm', + 'Svani', + 'Svanlaugur', + 'Svanmundur', + 'Svanur', + 'Svanþór', + 'Svavar', + 'Sváfnir', + 'Sveinar', + 'Sveinberg', + 'Sveinbjartur', + 'Sveinbjörn', + 'Sveinjón', + 'Sveinlaugur', + 'Sveinmar', + 'Sveinn', + 'Sveinungi', + 'Sveinþór', + 'Svend', + 'Sverre', + 'Sverrir', + 'Svölnir', + 'Svörfuður', + 'Sýrus', + 'Sæberg', + 'Sæbergur', + 'Sæbjörn', + 'Sæi', + 'Sælaugur', + 'Sæmann', + 'Sæmundur', + 'Sær', + 'Sævald', + 'Sævaldur', + 'Sævar', + 'Sævarr', + 'Sævin', + 'Sæþór', + 'Sölmundur', + 'Sölvar', + 'Sölvi', + 'Sören', + 'Sörli', + 'Tandri', + 'Tarfur', + 'Teitur', + 'Theodór', + 'Theódór', + 'Thomas', + 'Thor', + 'Thorberg', + 'Thór', + 'Tindar', + 'Tindri', + 'Tindur', + 'Tinni', + 'Tími', + 'Tímon', + 'Tímoteus', + 'Tímóteus', + 'Tístran', + 'Tjaldur', + 'Tjörfi', + 'Tjörvi', + 'Tobías', + 'Tolli', + 'Tonni', + 'Torfi', + 'Tóbías', + 'Tói', + 'Tóki', + 'Tómas', + 'Tór', + 'Trausti', + 'Tristan', + 'Trostan', + 'Trúmann', + 'Tryggvi', + 'Tumas', + 'Tumi', + 'Tyrfingur', + 'Týr', + 'Ubbi', + 'Uggi', + 'Ulrich', + 'Uni', + 'Unnar', + 'Unnbjörn', + 'Unndór', + 'Unnsteinn', + 'Unnþór', + 'Urðar', + 'Uxi', + 'Úddi', + 'Úlfar', + 'Úlfgeir', + 'Úlfhéðinn', + 'Úlfkell', + 'Úlfljótur', + 'Úlftýr', + 'Úlfur', + 'Úlrik', + 'Úranus', + 'Vagn', + 'Vakur', + 'Valberg', + 'Valbergur', + 'Valbjörn', + 'Valbrandur', + 'Valdemar', + 'Valdi', + 'Valdimar', + 'Valdór', + 'Valentín', + 'Valentínus', + 'Valgarð', + 'Valgarður', + 'Valgeir', + 'Valíant', + 'Vallaður', + 'Valmar', + 'Valmundur', + 'Valsteinn', + 'Valter', + 'Valtýr', + 'Valur', + 'Valves', + 'Valþór', + 'Varmar', + 'Vatnar', + 'Váli', + 'Vápni', + 'Veigar', + 'Veigur', + 'Ver', + 'Vermundur', + 'Vernharð', + 'Vernharður', + 'Vestar', + 'Vestmar', + 'Veturliði', + 'Vébjörn', + 'Végeir', + 'Vékell', + 'Vélaugur', + 'Vémundur', + 'Vésteinn', + 'Victor', + 'Viðar', + 'Vigfús', + 'Viggó', + 'Vignir', + 'Vigri', + 'Vigtýr', + 'Vigur', + 'Vikar', + 'Viktor', + 'Vilberg', + 'Vilbergur', + 'Vilbert', + 'Vilbjörn', + 'Vilbogi', + 'Vilbrandur', + 'Vilgeir', + 'Vilhelm', + 'Vilhjálmur', + 'Vili', + 'Viljar', + 'Vilji', + 'Villi', + 'Vilmar', + 'Vilmundur', + 'Vincent', + 'Vinjar', + 'Virgill', + 'Víðar', + 'Víðir', + 'Vífill', + 'Víglundur', + 'Vígmar', + 'Vígmundur', + 'Vígsteinn', + 'Vígþór', + 'Víkingur', + 'Vopni', + 'Vorm', + 'Vöggur', + 'Völundur', + 'Vörður', + 'Vöttur', + 'Walter', + 'Werner', + 'Wilhelm', + 'Willard', + 'William', + 'Willum', + 'Ylur', + 'Ymir', + 'Yngvar', + 'Yngvi', + 'Yrkill', + 'Ýmir', + 'Ýrar', + 'Zakaría', + 'Zakarías', + 'Zophanías', + 'Zophonías', + 'Zóphanías', + 'Zóphonías', + 'Þangbrandur', + 'Þengill', + 'Þeyr', + 'Þiðrandi', + 'Þiðrik', + 'Þinur', + 'Þjálfi', + 'Þjóðann', + 'Þjóðbjörn', + 'Þjóðgeir', + 'Þjóðleifur', + 'Þjóðmar', + 'Þjóðólfur', + 'Þjóðrekur', + 'Þjóðvarður', + 'Þjóstar', + 'Þjóstólfur', + 'Þorberg', + 'Þorbergur', + 'Þorbjörn', + 'Þorbrandur', + 'Þorfinnur', + 'Þorgarður', + 'Þorgautur', + 'Þorgeir', + 'Þorgestur', + 'Þorgils', + 'Þorgísl', + 'Þorgnýr', + 'Þorgrímur', + 'Þorkell', + 'Þorlaugur', + 'Þorlákur', + 'Þorleifur', + 'Þorleikur', + 'Þormar', + 'Þormóður', + 'Þormundur', + 'Þorri', + 'Þorsteinn', + 'Þorvaldur', + 'Þorvar', + 'Þorvarður', + 'Þór', + 'Þórar', + 'Þórarinn', + 'Þórbergur', + 'Þórbjörn', + 'Þórður', + 'Þórgnýr', + 'Þórgrímur', + 'Þórhaddur', + 'Þórhalli', + 'Þórhallur', + 'Þórir', + 'Þórlaugur', + 'Þórleifur', + 'Þórlindur', + 'Þórmar', + 'Þórmundur', + 'Þóroddur', + 'Þórormur', + 'Þórólfur', + 'Þórsteinn', + 'Þórörn', + 'Þrastar', + 'Þráinn', + 'Þrándur', + 'Þróttur', + 'Þrúðmar', + 'Þrymur', + 'Þröstur', + 'Þyrnir', + 'Ægir', + 'Æsir', + 'Ævar', + 'Ævarr', + 'Ögmundur', + 'Ögri', + 'Ölnir', + 'Ölver', + 'Ölvir', + 'Öndólfur', + 'Önundur', + 'Örlaugur', + 'Örlygur', + 'Örn', + 'Örnólfur', + 'Örvar', + 'Össur', + 'Öxar' + ]; + + /** + * @var array Icelandic middle names. + */ + protected static $middleName = [ + 'Aðaldal', + 'Aldan', + 'Arnberg', + 'Arnfjörð', + 'Austan', + 'Austdal', + 'Austfjörð', + 'Áss', + 'Bakkdal', + 'Bakkmann', + 'Bald', + 'Ben', + 'Bergholt', + 'Bergland', + 'Bíldsfells', + 'Bjarg', + 'Bjarndal', + 'Bjarnfjörð', + 'Bláfeld', + 'Blómkvist', + 'Borgdal', + 'Brekkmann', + 'Brim', + 'Brúnsteð', + 'Dalhoff', + 'Dan', + 'Diljan', + 'Ektavon', + 'Eldberg', + 'Elísberg', + 'Elvan', + 'Espólín', + 'Eyhlíð', + 'Eyvík', + 'Falk', + 'Finndal', + 'Fossberg', + 'Freydal', + 'Friðhólm', + 'Giljan', + 'Gilsfjörð', + 'Gnarr', + 'Gnurr', + 'Grendal', + 'Grindvík', + 'Gull', + 'Haffjörð', + 'Hafnes', + 'Hafnfjörð', + 'Har', + 'Heimdal', + 'Heimsberg', + 'Helgfell', + 'Herberg', + 'Hildiberg', + 'Hjaltdal', + 'Hlíðkvist', + 'Hnappdal', + 'Hnífsdal', + 'Hofland', + 'Hofteig', + 'Hornfjörð', + 'Hólmberg', + 'Hrafnan', + 'Hrafndal', + 'Hraunberg', + 'Hreinberg', + 'Hreindal', + 'Hrútfjörð', + 'Hvammdal', + 'Hvítfeld', + 'Höfðdal', + 'Hörðdal', + 'Íshólm', + 'Júl', + 'Kjarrval', + 'Knaran', + 'Knarran', + 'Krossdal', + 'Laufkvist', + 'Laufland', + 'Laugdal', + 'Laxfoss', + 'Liljan', + 'Linddal', + 'Línberg', + 'Ljós', + 'Loðmfjörð', + 'Lyngberg', + 'Magdal', + 'Magg', + 'Matt', + 'Miðdal', + 'Miðvík', + 'Mjófjörð', + 'Móberg', + 'Mýrmann', + 'Nesmann', + 'Norðland', + 'Núpdal', + 'Ólfjörð', + 'Ósland', + 'Ósmann', + 'Reginbald', + 'Reykfell', + 'Reykfjörð', + 'Reynholt', + 'Salberg', + 'Sandhólm', + 'Seljan', + 'Sigurhólm', + 'Skagalín', + 'Skíðdal', + 'Snæberg', + 'Snædahl', + 'Sólan', + 'Stardal', + 'Stein', + 'Steinbekk', + 'Steinberg', + 'Storm', + 'Straumberg', + 'Svanhild', + 'Svarfdal', + 'Sædal', + 'Val', + 'Valagils', + 'Vald', + 'Varmdal', + 'Vatnsfjörð', + 'Vattar', + 'Vattnes', + 'Viðfjörð', + 'Vídalín', + 'Víking', + 'Vopnfjörð', + 'Yngling', + 'Þor', + 'Önfjörð', + 'Örbekk', + 'Öxdal', + 'Öxndal', + ]; + + /** + * Randomly return an Icelandic middle name. + * + * @return string + */ + public static function middleName() { + return static::randomElement( static::$middleName ); + } + + /** + * Generate prepared last name for further processing. + * + * @return string + */ + public function lastName() { + $name = static::firstNameMale(); + + if ( substr( $name, - 2 ) === 'ur' ) { + $name = substr( $name, 0, strlen( $name ) - 2 ); + } + + if ( substr( $name, - 1 ) !== 's' ) { + $name .= 's'; + } + + return $name; + } + + /** + * Randomly return an Icelandic last name for a woman. + * + * @return string + */ + public function lastNameMale() { + return $this->lastName() . 'son'; + } + + /** + * Randomly return an Icelandic last name for a man. + * + * @return string + */ + public function lastNameFemale() { + return $this->lastName() . 'dóttir'; + } + + /** + * Return a random Icelandic Kennitala (Social Security number). + * + * @see http://en.wikipedia.org/wiki/Kennitala + * + * @return string + */ + public static function ssn() { + // random birth date + $birthdate = DateTime::dateTimeThisCentury(); + + // last four buffer + $lastFour = null; + + // security variable reference + $ref = '32765432'; + + // valid flag + $valid = false; + + while ( ! $valid ) { + // make two random numbers + $rand = static::randomDigit() . static::randomDigit(); + + // 8 char string with birth date and two random numbers + $tmp = $birthdate->format( 'dmy' ) . $rand; + + // loop through temp string + for ( $i = 7, $sum = 0; $i >= 0; -- $i ) { + // calculate security variable + $sum += ( $tmp[ $i ] * $ref[ $i ] ); + } + + // subtract 11 if not 11 + $chk = ( $sum % 11 === 0 ) ? 0 : ( 11 - ( $sum % 11 ) ); + + if ( $chk < 10 ) { + $lastFour = $rand . $chk . substr( $birthdate->format( 'Y' ), 1, 1 ); + + $valid = true; + } + } + + return sprintf( '%s-%s', $birthdate->format( 'dmy' ), $lastFour ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/is_IS/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/is_IS/PhoneNumber.php index 7118666..73e3c7a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/is_IS/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/is_IS/PhoneNumber.php @@ -2,16 +2,15 @@ namespace Faker\Provider\is_IS; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array Icelandic phone number formats. - */ - protected static $formats = [ - '+354 ### ####', - '+354 #######', - '+354#######', - '### ####', - '#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array Icelandic phone number formats. + */ + protected static $formats = [ + '+354 ### ####', + '+354 #######', + '+354#######', + '### ####', + '#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Address.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Address.php index 79ee691..cc08311 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Address.php @@ -2,148 +2,258 @@ namespace Faker\Provider\it_CH; -class Address extends \Faker\Provider\it_IT\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '#a', '#b', '#c']; - - protected static $streetPrefix = ['Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio']; - - protected static $postcode = ['####']; - - /** - * @see https://it.wikipedia.org/wiki/Citt%C3%A0_svizzere - */ - protected static $cityNames = [ - 'Aarau', 'Adliswil', 'Aesch', 'Affoltern am Albis', 'Allschwil', 'Altstätten', 'Amriswil', 'Arbon', 'Arth', - 'Baar', 'Baden', 'Basilea', 'Bassersdorf', 'Bellinzona', 'Belp', 'Berna', 'Bienne', 'Binningen', 'Birsfelden', 'Briga-Glis', 'Brugg', 'Buchs', 'Bulle', 'Burgdorf', 'Bülach', - 'Carouge', 'Cham', 'Chêne-Bougeries', 'Coira', - 'Davos', 'Delémont', 'Dietikon', 'Dübendorf', 'Ebikon', - 'Ecublens', 'Einsiedeln', 'Emmen', - 'Frauenfeld', 'Freienbach', 'Friburgo', - 'Ginevra', 'Gland', 'Gossau', 'Grenchen', - 'Herisau', 'Hinwil', 'Horgen', 'Horw', - 'Illnau-Effretikon', 'Ittigen', - 'Kloten', 'Kreuzlingen', 'Kriens', 'Köniz', 'Küsnacht', 'Küssnacht', - 'La Chaux-de-Fonds', 'La Tour-de-Peilz', 'Lancy', 'Langenthal', 'Le Grand-Saconnex', 'Le Locle', 'Liestal', 'Locarno', 'Losanna', 'Lucerna', 'Lugano', 'Lyss', - 'Martigny', 'Meilen', 'Mendrisio', 'Meyrin', 'Monthey', 'Montreux', 'Morges', 'Muri bei Bern', 'Muttenz', 'Männedorf', 'Möhlin', 'Münchenstein', 'Münsingen', - 'Neuchâtel', 'Neuhausen am Rheinfall', 'Nyon', - 'Oberwil', 'Oftringen', 'Olten', 'Onex', 'Opfikon', 'Ostermundigen', - 'Pfäffikon', 'Pratteln', 'Prilly', 'Pully', - 'Rapperswil-Jona', 'Regensdorf', 'Reinach', 'Renens', 'Rheinfelden', 'Richterswil', 'Riehen', 'Rüti', - 'San Gallo', 'Schlieren', 'Sciaffusa', 'Sierre', 'Sion', 'Soletta', 'Spiez', 'Spreitenbach', 'Steffisburg', 'Stäfa', 'Svitto', - 'Thalwil', 'Thun', 'Thônex', - 'Uster', 'Uzwil', - 'Val-de-Travers', 'Vernier', 'Versoix', 'Vevey', 'Veyrier', 'Villars-sur-Glâne', 'Volketswil', - 'Wallisellen', 'Weinfelden', 'Wettingen', 'Wetzikon', 'Wil', 'Winterthur', 'Wohlen', 'Worb', 'Wädenswil', - 'Yverdon-les-Bains', - 'Zofingen', 'Zollikon', 'Zugo', 'Zurigo', - ]; - - /** - * @see https://it.wikipedia.org/wiki/Cantoni_della_Svizzera - */ - protected static $canton = [ - ['AG' => 'Argovia'], - ['AI' => 'Appenzello Interno'], - ['AR' => 'Appenzello Esterno'], - ['BE' => 'Berna'], - ['BL' => 'Basilea Campagna'], - ['BS' => 'Basilea Città'], - ['FR' => 'Friburgo'], - ['GE' => 'Ginevra'], - ['GL' => 'Glarona'], - ['GR' => 'Grigioni'], - ['JU' => 'Giura'], - ['LU' => 'Lucerna'], - ['NE' => 'Neuchâtel'], - ['NW' => 'Nidvaldo'], - ['OW' => 'Obvaldo'], - ['SG' => 'San Gallo'], - ['SH' => 'Sciaffusa'], - ['SO' => 'Soletta'], - ['SZ' => 'Svitto'], - ['TG' => 'Turgovia'], - ['TI' => 'Ticino'], - ['UR' => 'Uri'], - ['VD' => 'Vaud'], - ['VS' => 'Vallese'], - ['ZG' => 'Zugo'], - ['ZH' => 'Zurigo'], - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetSuffix}} {{firstName}}', - '{{streetSuffix}} {{lastName}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Returns a random street prefix - * - * @example Via - * - * @return string - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * Returns a random city name. - * - * @example Luzern - * - * @return string - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } - - /** - * Returns a canton - * - * @example array('BE' => 'Bern') - * - * @return array - */ - public static function canton() - { - return static::randomElement(static::$canton); - } - - /** - * Returns the abbreviation of a canton. - * - * @return string - */ - public static function cantonShort() - { - $canton = static::canton(); - - return key($canton); - } - - /** - * Returns the name of canton. - * - * @return string - */ - public static function cantonName() - { - $canton = static::canton(); - - return current($canton); - } +class Address extends \Faker\Provider\it_IT\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '#a', '#b', '#c' ]; + + protected static $streetPrefix = [ 'Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio' ]; + + protected static $postcode = [ '####' ]; + + /** + * @see https://it.wikipedia.org/wiki/Citt%C3%A0_svizzere + */ + protected static $cityNames = [ + 'Aarau', + 'Adliswil', + 'Aesch', + 'Affoltern am Albis', + 'Allschwil', + 'Altstätten', + 'Amriswil', + 'Arbon', + 'Arth', + 'Baar', + 'Baden', + 'Basilea', + 'Bassersdorf', + 'Bellinzona', + 'Belp', + 'Berna', + 'Bienne', + 'Binningen', + 'Birsfelden', + 'Briga-Glis', + 'Brugg', + 'Buchs', + 'Bulle', + 'Burgdorf', + 'Bülach', + 'Carouge', + 'Cham', + 'Chêne-Bougeries', + 'Coira', + 'Davos', + 'Delémont', + 'Dietikon', + 'Dübendorf', + 'Ebikon', + 'Ecublens', + 'Einsiedeln', + 'Emmen', + 'Frauenfeld', + 'Freienbach', + 'Friburgo', + 'Ginevra', + 'Gland', + 'Gossau', + 'Grenchen', + 'Herisau', + 'Hinwil', + 'Horgen', + 'Horw', + 'Illnau-Effretikon', + 'Ittigen', + 'Kloten', + 'Kreuzlingen', + 'Kriens', + 'Köniz', + 'Küsnacht', + 'Küssnacht', + 'La Chaux-de-Fonds', + 'La Tour-de-Peilz', + 'Lancy', + 'Langenthal', + 'Le Grand-Saconnex', + 'Le Locle', + 'Liestal', + 'Locarno', + 'Losanna', + 'Lucerna', + 'Lugano', + 'Lyss', + 'Martigny', + 'Meilen', + 'Mendrisio', + 'Meyrin', + 'Monthey', + 'Montreux', + 'Morges', + 'Muri bei Bern', + 'Muttenz', + 'Männedorf', + 'Möhlin', + 'Münchenstein', + 'Münsingen', + 'Neuchâtel', + 'Neuhausen am Rheinfall', + 'Nyon', + 'Oberwil', + 'Oftringen', + 'Olten', + 'Onex', + 'Opfikon', + 'Ostermundigen', + 'Pfäffikon', + 'Pratteln', + 'Prilly', + 'Pully', + 'Rapperswil-Jona', + 'Regensdorf', + 'Reinach', + 'Renens', + 'Rheinfelden', + 'Richterswil', + 'Riehen', + 'Rüti', + 'San Gallo', + 'Schlieren', + 'Sciaffusa', + 'Sierre', + 'Sion', + 'Soletta', + 'Spiez', + 'Spreitenbach', + 'Steffisburg', + 'Stäfa', + 'Svitto', + 'Thalwil', + 'Thun', + 'Thônex', + 'Uster', + 'Uzwil', + 'Val-de-Travers', + 'Vernier', + 'Versoix', + 'Vevey', + 'Veyrier', + 'Villars-sur-Glâne', + 'Volketswil', + 'Wallisellen', + 'Weinfelden', + 'Wettingen', + 'Wetzikon', + 'Wil', + 'Winterthur', + 'Wohlen', + 'Worb', + 'Wädenswil', + 'Yverdon-les-Bains', + 'Zofingen', + 'Zollikon', + 'Zugo', + 'Zurigo', + ]; + + /** + * @see https://it.wikipedia.org/wiki/Cantoni_della_Svizzera + */ + protected static $canton = [ + [ 'AG' => 'Argovia' ], + [ 'AI' => 'Appenzello Interno' ], + [ 'AR' => 'Appenzello Esterno' ], + [ 'BE' => 'Berna' ], + [ 'BL' => 'Basilea Campagna' ], + [ 'BS' => 'Basilea Città' ], + [ 'FR' => 'Friburgo' ], + [ 'GE' => 'Ginevra' ], + [ 'GL' => 'Glarona' ], + [ 'GR' => 'Grigioni' ], + [ 'JU' => 'Giura' ], + [ 'LU' => 'Lucerna' ], + [ 'NE' => 'Neuchâtel' ], + [ 'NW' => 'Nidvaldo' ], + [ 'OW' => 'Obvaldo' ], + [ 'SG' => 'San Gallo' ], + [ 'SH' => 'Sciaffusa' ], + [ 'SO' => 'Soletta' ], + [ 'SZ' => 'Svitto' ], + [ 'TG' => 'Turgovia' ], + [ 'TI' => 'Ticino' ], + [ 'UR' => 'Uri' ], + [ 'VD' => 'Vaud' ], + [ 'VS' => 'Vallese' ], + [ 'ZG' => 'Zugo' ], + [ 'ZH' => 'Zurigo' ], + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetSuffix}} {{firstName}}', + '{{streetSuffix}} {{lastName}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Returns a random street prefix + * + * @return string + * @example Via + * + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * Returns a random city name. + * + * @return string + * @example Luzern + * + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } + + /** + * Returns a canton + * + * @return array + * @example array('BE' => 'Bern') + * + */ + public static function canton() { + return static::randomElement( static::$canton ); + } + + /** + * Returns the abbreviation of a canton. + * + * @return string + */ + public static function cantonShort() { + $canton = static::canton(); + + return key( $canton ); + } + + /** + * Returns the name of canton. + * + * @return string + */ + public static function cantonName() { + $canton = static::canton(); + + return current( $canton ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Company.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Company.php index bb5f946..a041363 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Company.php @@ -2,14 +2,13 @@ namespace Faker\Provider\it_CH; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['SA', 'Sarl']; + protected static $companySuffix = [ 'SA', 'Sarl' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Internet.php index db23451..d2e4ece 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Internet.php @@ -2,8 +2,15 @@ namespace Faker\Provider\it_CH; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'yahoo.com', 'googlemail.com', 'gmx.ch', 'bluewin.ch', 'swissonline.ch']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'googlemail.com', + 'gmx.ch', + 'bluewin.ch', + 'swissonline.ch' + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'li', 'ch', 'ch' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Payment.php index fed8490..66f685f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\it_CH; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'CH', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Person.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Person.php index b21436b..1475000 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Person.php @@ -2,101 +2,632 @@ namespace Faker\Provider\it_CH; -class Person extends \Faker\Provider\it_IT\Person -{ - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameMale = [ - 'Aaron', 'Adriano', 'Alain', 'Alan', 'Alberto', 'Aldo', 'Alessandro', 'Alessio', 'Alex', 'Alexander', 'Alfredo', 'Andrea', 'Andreas', 'André', 'Angelo', 'Antonino', 'Antonio', 'Aris', 'Armando', 'Arturo', 'Athos', 'Attilio', 'Augusto', 'Aurelio', - 'Boris', 'Bruno', - 'Carlo', 'Carlos', 'Carmelo', 'Carmine', 'Cesare', 'Christian', 'Claudio', 'Corrado', 'Cristian', 'Cristiano', - 'Damiano', 'Daniel', 'Daniele', 'Danilo', 'Dante', 'Dario', 'David', 'Davide', 'Denis', 'Diego', 'Domenico', 'Donato', - 'Edoardo', 'Elia', 'Elio', 'Emanuele', 'Emilio', 'Enea', 'Enrico', 'Enzo', 'Eric', 'Ernesto', 'Eros', 'Ettore', 'Eugenio', 'Ezio', - 'Fabiano', 'Fabio', 'Fabrizio', 'Fausto', 'Federico', 'Felice', 'Fernando', 'Filippo', 'Fiorenzo', 'Flavio', 'Francesco', 'Franco', 'Fulvio', - 'Gabriel', 'Gabriele', 'Gaetano', 'Gerardo', 'Giacomo', 'Gian', 'Giancarlo', 'Gianfranco', 'Gianluca', 'Gianni', 'Gioele', 'Giona', 'Giordano', 'Giorgio', 'Giovanni', 'Giuliano', 'Giulio', 'Giuseppe', 'Graziano', 'Guido', - 'Hans', - 'Igor', 'Ivan', 'Ivano', 'Ivo', - 'Jacopo', 'Jean', 'Joel', 'Jonathan', 'José', - 'Kevin', 'Kurt', - 'Leandro', 'Leonardo', 'Liam', 'Livio', 'Lorenzo', 'Loris', 'Luca', 'Luciano', 'Lucio', 'Luigi', 'Luis', - 'Manuel', 'Marcello', 'Marco', 'Marino', 'Mario', 'Marko', 'Markus', 'Martin', 'Martino', 'Marzio', 'Massimiliano', 'Massimo', 'Matteo', 'Mattia', 'Maurizio', 'Mauro', 'Michael', 'Michel', 'Michele', 'Mirco', 'Mirko', 'Moreno', - 'Nathan', 'Nicola', 'Nicolas', 'Nicolò', 'Noah', - 'Oliver', 'Omar', 'Oscar', - 'Paolo', 'Pasquale', 'Patrick', 'Paul', 'Pedro', 'Peter', 'Pier', 'Pierluigi', 'Piero', 'Pietro', - 'Raffaele', 'Remo', 'Renato', 'Renzo', 'René', 'Reto', 'Riccardo', 'Robert', 'Roberto', 'Rocco', 'Roland', 'Rolf', 'Romano', 'Rosario', 'Ruben', 'Rudolf', - 'Sacha', 'Salvatore', 'Samuel', 'Samuele', 'Sandro', 'Sebastian', 'Sebastiano', 'Sergio', 'Silvano', 'Silvio', 'Simon', 'Simone', 'Stefan', 'Stefano', - 'Thomas', 'Tiziano', 'Tommaso', - 'Valentino', 'Valerio', 'Vincenzo', 'Vito', 'Vittorio', - 'Walter', 'Werner', - ]; +class Person extends \Faker\Provider\it_IT\Person { + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameMale = [ + 'Aaron', + 'Adriano', + 'Alain', + 'Alan', + 'Alberto', + 'Aldo', + 'Alessandro', + 'Alessio', + 'Alex', + 'Alexander', + 'Alfredo', + 'Andrea', + 'Andreas', + 'André', + 'Angelo', + 'Antonino', + 'Antonio', + 'Aris', + 'Armando', + 'Arturo', + 'Athos', + 'Attilio', + 'Augusto', + 'Aurelio', + 'Boris', + 'Bruno', + 'Carlo', + 'Carlos', + 'Carmelo', + 'Carmine', + 'Cesare', + 'Christian', + 'Claudio', + 'Corrado', + 'Cristian', + 'Cristiano', + 'Damiano', + 'Daniel', + 'Daniele', + 'Danilo', + 'Dante', + 'Dario', + 'David', + 'Davide', + 'Denis', + 'Diego', + 'Domenico', + 'Donato', + 'Edoardo', + 'Elia', + 'Elio', + 'Emanuele', + 'Emilio', + 'Enea', + 'Enrico', + 'Enzo', + 'Eric', + 'Ernesto', + 'Eros', + 'Ettore', + 'Eugenio', + 'Ezio', + 'Fabiano', + 'Fabio', + 'Fabrizio', + 'Fausto', + 'Federico', + 'Felice', + 'Fernando', + 'Filippo', + 'Fiorenzo', + 'Flavio', + 'Francesco', + 'Franco', + 'Fulvio', + 'Gabriel', + 'Gabriele', + 'Gaetano', + 'Gerardo', + 'Giacomo', + 'Gian', + 'Giancarlo', + 'Gianfranco', + 'Gianluca', + 'Gianni', + 'Gioele', + 'Giona', + 'Giordano', + 'Giorgio', + 'Giovanni', + 'Giuliano', + 'Giulio', + 'Giuseppe', + 'Graziano', + 'Guido', + 'Hans', + 'Igor', + 'Ivan', + 'Ivano', + 'Ivo', + 'Jacopo', + 'Jean', + 'Joel', + 'Jonathan', + 'José', + 'Kevin', + 'Kurt', + 'Leandro', + 'Leonardo', + 'Liam', + 'Livio', + 'Lorenzo', + 'Loris', + 'Luca', + 'Luciano', + 'Lucio', + 'Luigi', + 'Luis', + 'Manuel', + 'Marcello', + 'Marco', + 'Marino', + 'Mario', + 'Marko', + 'Markus', + 'Martin', + 'Martino', + 'Marzio', + 'Massimiliano', + 'Massimo', + 'Matteo', + 'Mattia', + 'Maurizio', + 'Mauro', + 'Michael', + 'Michel', + 'Michele', + 'Mirco', + 'Mirko', + 'Moreno', + 'Nathan', + 'Nicola', + 'Nicolas', + 'Nicolò', + 'Noah', + 'Oliver', + 'Omar', + 'Oscar', + 'Paolo', + 'Pasquale', + 'Patrick', + 'Paul', + 'Pedro', + 'Peter', + 'Pier', + 'Pierluigi', + 'Piero', + 'Pietro', + 'Raffaele', + 'Remo', + 'Renato', + 'Renzo', + 'René', + 'Reto', + 'Riccardo', + 'Robert', + 'Roberto', + 'Rocco', + 'Roland', + 'Rolf', + 'Romano', + 'Rosario', + 'Ruben', + 'Rudolf', + 'Sacha', + 'Salvatore', + 'Samuel', + 'Samuele', + 'Sandro', + 'Sebastian', + 'Sebastiano', + 'Sergio', + 'Silvano', + 'Silvio', + 'Simon', + 'Simone', + 'Stefan', + 'Stefano', + 'Thomas', + 'Tiziano', + 'Tommaso', + 'Valentino', + 'Valerio', + 'Vincenzo', + 'Vito', + 'Vittorio', + 'Walter', + 'Werner', + ]; - /** - * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html - */ - protected static $firstNameFemale = [ - 'Ada', 'Adele', 'Adriana', 'Agnese', 'Alessandra', 'Alessia', 'Alexandra', 'Alice', 'Aline', 'Ana', 'Andrea', 'Angela', 'Angelina', 'Anita', 'Anna', 'Annamaria', 'Antonella', 'Antonia', 'Antonietta', 'Arianna', 'Asia', 'Aurora', - 'Barbara', 'Beatrice', 'Bianca', 'Brigitte', 'Bruna', - 'Camilla', 'Carla', 'Carmela', 'Carmen', 'Carolina', 'Caterina', 'Cecilia', 'Chantal', 'Chiara', 'Christine', 'Cinzia', 'Clara', 'Claudia', 'Cristina', - 'Daniela', 'Debora', 'Deborah', 'Denise', 'Diana', 'Dolores', 'Donatella', 'Doris', - 'Elda', 'Elena', 'Eleonora', 'Eliana', 'Elisa', 'Elisabeth', 'Elisabetta', 'Elsa', 'Emanuela', 'Emilia', 'Emma', 'Enrica', 'Erica', 'Erika', 'Ester', 'Eva', - 'Fabiana', 'Federica', 'Fernanda', 'Filomena', 'Flavia', 'Franca', 'Francesca', - 'Gabriella', 'Gaia', 'Giada', 'Gianna', 'Giorgia', 'Giovanna', 'Giulia', 'Giuliana', 'Giuseppina', 'Gloria', 'Graziella', 'Greta', - 'Ida', 'Ilaria', 'Ines', 'Irene', 'Iris', 'Isabel', 'Isabella', 'Ivana', - 'Jacqueline', 'Jennifer', 'Jessica', 'Jolanda', - 'Karin', 'Katia', - 'Lara', 'Laura', 'Letizia', 'Lia', 'Lidia', 'Liliana', 'Lina', 'Linda', 'Lisa', 'Loredana', 'Lorena', 'Lorenza', 'Luana', 'Lucia', 'Luciana', 'Luisa', - 'Manuela', 'Mara', 'Margherita', 'Margrit', 'Maria', 'Mariangela', 'Marianne', 'Marie', 'Mariella', 'Marilena', 'Marina', 'Marisa', 'Marta', 'Martina', 'Matilde', 'Maura', 'Melissa', 'Michela', 'Michelle', 'Milena', 'Mirella', 'Miriam', 'Monica', 'Monika', 'Morena', 'Myriam', - 'Nadia', 'Nathalie', 'Nicole', 'Nicoletta', 'Nina', 'Nives', 'Noemi', 'Nora', - 'Olga', 'Ornella', - 'Pamela', 'Paola', 'Patricia', 'Patrizia', 'Pia', 'Pierina', 'Prisca', - 'Raffaella', 'Renata', 'Rita', 'Roberta', 'Romina', 'Rosa', 'Rosanna', 'Rosmarie', 'Ruth', - 'Sabina', 'Sabrina', 'Samantha', 'Sandra', 'Sara', 'Sarah', 'Serena', 'Silvana', 'Silvia', 'Simona', 'Sofia', 'Sonia', 'Sonja', 'Sophie', 'Stefania', 'Susanna', 'Susanne', - 'Tamara', 'Tania', 'Tatiana', 'Teresa', 'Tiziana', - 'Ursula', - 'Valentina', 'Valeria', 'Vanessa', 'Vera', 'Verena', 'Veronica', 'Virginia', 'Vittoria', 'Viviana', - 'Yvonne', - ]; + /** + * @see http://www.bfs.admin.ch/bfs/portal/de/index/themen/01/02/blank/dos/prenoms/02.html + */ + protected static $firstNameFemale = [ + 'Ada', + 'Adele', + 'Adriana', + 'Agnese', + 'Alessandra', + 'Alessia', + 'Alexandra', + 'Alice', + 'Aline', + 'Ana', + 'Andrea', + 'Angela', + 'Angelina', + 'Anita', + 'Anna', + 'Annamaria', + 'Antonella', + 'Antonia', + 'Antonietta', + 'Arianna', + 'Asia', + 'Aurora', + 'Barbara', + 'Beatrice', + 'Bianca', + 'Brigitte', + 'Bruna', + 'Camilla', + 'Carla', + 'Carmela', + 'Carmen', + 'Carolina', + 'Caterina', + 'Cecilia', + 'Chantal', + 'Chiara', + 'Christine', + 'Cinzia', + 'Clara', + 'Claudia', + 'Cristina', + 'Daniela', + 'Debora', + 'Deborah', + 'Denise', + 'Diana', + 'Dolores', + 'Donatella', + 'Doris', + 'Elda', + 'Elena', + 'Eleonora', + 'Eliana', + 'Elisa', + 'Elisabeth', + 'Elisabetta', + 'Elsa', + 'Emanuela', + 'Emilia', + 'Emma', + 'Enrica', + 'Erica', + 'Erika', + 'Ester', + 'Eva', + 'Fabiana', + 'Federica', + 'Fernanda', + 'Filomena', + 'Flavia', + 'Franca', + 'Francesca', + 'Gabriella', + 'Gaia', + 'Giada', + 'Gianna', + 'Giorgia', + 'Giovanna', + 'Giulia', + 'Giuliana', + 'Giuseppina', + 'Gloria', + 'Graziella', + 'Greta', + 'Ida', + 'Ilaria', + 'Ines', + 'Irene', + 'Iris', + 'Isabel', + 'Isabella', + 'Ivana', + 'Jacqueline', + 'Jennifer', + 'Jessica', + 'Jolanda', + 'Karin', + 'Katia', + 'Lara', + 'Laura', + 'Letizia', + 'Lia', + 'Lidia', + 'Liliana', + 'Lina', + 'Linda', + 'Lisa', + 'Loredana', + 'Lorena', + 'Lorenza', + 'Luana', + 'Lucia', + 'Luciana', + 'Luisa', + 'Manuela', + 'Mara', + 'Margherita', + 'Margrit', + 'Maria', + 'Mariangela', + 'Marianne', + 'Marie', + 'Mariella', + 'Marilena', + 'Marina', + 'Marisa', + 'Marta', + 'Martina', + 'Matilde', + 'Maura', + 'Melissa', + 'Michela', + 'Michelle', + 'Milena', + 'Mirella', + 'Miriam', + 'Monica', + 'Monika', + 'Morena', + 'Myriam', + 'Nadia', + 'Nathalie', + 'Nicole', + 'Nicoletta', + 'Nina', + 'Nives', + 'Noemi', + 'Nora', + 'Olga', + 'Ornella', + 'Pamela', + 'Paola', + 'Patricia', + 'Patrizia', + 'Pia', + 'Pierina', + 'Prisca', + 'Raffaella', + 'Renata', + 'Rita', + 'Roberta', + 'Romina', + 'Rosa', + 'Rosanna', + 'Rosmarie', + 'Ruth', + 'Sabina', + 'Sabrina', + 'Samantha', + 'Sandra', + 'Sara', + 'Sarah', + 'Serena', + 'Silvana', + 'Silvia', + 'Simona', + 'Sofia', + 'Sonia', + 'Sonja', + 'Sophie', + 'Stefania', + 'Susanna', + 'Susanne', + 'Tamara', + 'Tania', + 'Tatiana', + 'Teresa', + 'Tiziana', + 'Ursula', + 'Valentina', + 'Valeria', + 'Vanessa', + 'Vera', + 'Verena', + 'Veronica', + 'Virginia', + 'Vittoria', + 'Viviana', + 'Yvonne', + ]; - /** - * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 - */ - protected static $lastName = [ - 'Agustoni', 'Alberti', 'Albertini', 'Albisetti', 'Ambrosini', 'Antonini', - 'Balestra', 'Balmelli', 'Bassetti', 'Bassi', 'Baumann', 'Beffa', 'Belotti', 'Beretta', 'Bernasconi', 'Berta', 'Besomi', 'Bettosini', 'Bianchi', 'Bianda', 'Bizzozero', 'Bonetti', 'Botta', 'Bottinelli', 'Brunner', 'Butti', - 'Caccia', 'Campana', 'Camponovo', 'Candolfi', 'Canepa', 'Canonica', 'Capoferri', 'Carrara', 'Casanova', 'Cassina', 'Castelli', 'Cattaneo', 'Cavadini', 'Cavalli', 'Ceppi', 'Cereghetti', 'Cerutti', 'Chiesa', 'Colombo', 'Conti', 'Corti', 'Costa', 'Crivelli', 'Croci', - 'Delcò', 'Delmenico', 'Donati', - 'Esposito', - 'Ferrari', 'Ferrazzini', 'Ferretti', 'Filippini', 'Fischer', 'Foglia', 'Foletti', 'Fontana', 'Forni', 'Frei', 'Frey', 'Frigerio', 'Fumagalli', - 'Galfetti', 'Galli', 'Gamboni', 'Genini', 'Gerosa', 'Ghirlanda', 'Gianella', 'Gianinazzi', 'Gianini', 'Giannini', 'Gianola', 'Gilardi', 'Giovannini', 'Giudici', 'Gobbi', 'Grandi', 'Grassi', 'Grossi', 'Guerra', 'Guglielmetti', 'Guidotti', - 'Huber', - 'Jelmini', - 'Keller', - 'Lafranchi', 'Leonardi', 'Leoni', 'Lepori', 'Locatelli', 'Lombardi', 'Lombardo', 'Lorenzetti', 'Lucchini', 'Lupi', 'Lurati', - 'Maggetti', 'Maggi', 'Maggini', 'Martinelli', 'Martini', 'Maspoli', 'Mattei', 'Medici', 'Meier', 'Meroni', 'Meyer', 'Milani', 'Minotti', 'Molinari', 'Molteni', 'Mombelli', 'Monti', 'Morandi', 'Mordasini', 'Moresi', 'Moretti', 'Morisoli', 'Moro', 'Moser', 'Müller', - 'Nessi', 'Notari', - 'Ortelli', - 'Pagani', 'Pagnamenta', 'Papa', 'Pedrazzi', 'Pedrazzini', 'Pedrini', 'Pedroni', 'Peduzzi', 'Pellanda', 'Pellegrini', 'Pelloni', 'Pescia', 'Pesenti', 'Petrini', 'Piffaretti', 'Pini', 'Polli', 'Ponti', 'Ponzio', 'Poretti', 'Pozzi', - 'Quadri', - 'Realini', 'Regazzoni', 'Rezzonico', 'Rigamonti', 'Righetti', 'Rinaldi', 'Riva', 'Rizzi', 'Robbiani', 'Rodoni', 'Romano', 'Roncoroni', 'Rosselli', 'Rossetti', 'Rossi', 'Rossini', 'Rusca', 'Rusconi', 'Russo', - 'Sala', 'Sargenti', 'Sartori', 'Sassi', 'Schmid', 'Schneider', 'Scolari', 'Solari', 'Solcà', 'Soldati', 'Soldini', 'Steiner', 'Storni', 'Sulmoni', 'Suter', - 'Taddei', 'Tamagni', 'Tettamanti', 'Togni', 'Tognola', - 'Valsangiacomo', 'Vassalli', 'Villa', 'Vitali', - 'Weber', 'Widmer', - 'Zanetti', 'Zanini', 'Zimmermann', - ]; + /** + * @see http://blog.tagesanzeiger.ch/datenblog/index.php/6859 + */ + protected static $lastName = [ + 'Agustoni', + 'Alberti', + 'Albertini', + 'Albisetti', + 'Ambrosini', + 'Antonini', + 'Balestra', + 'Balmelli', + 'Bassetti', + 'Bassi', + 'Baumann', + 'Beffa', + 'Belotti', + 'Beretta', + 'Bernasconi', + 'Berta', + 'Besomi', + 'Bettosini', + 'Bianchi', + 'Bianda', + 'Bizzozero', + 'Bonetti', + 'Botta', + 'Bottinelli', + 'Brunner', + 'Butti', + 'Caccia', + 'Campana', + 'Camponovo', + 'Candolfi', + 'Canepa', + 'Canonica', + 'Capoferri', + 'Carrara', + 'Casanova', + 'Cassina', + 'Castelli', + 'Cattaneo', + 'Cavadini', + 'Cavalli', + 'Ceppi', + 'Cereghetti', + 'Cerutti', + 'Chiesa', + 'Colombo', + 'Conti', + 'Corti', + 'Costa', + 'Crivelli', + 'Croci', + 'Delcò', + 'Delmenico', + 'Donati', + 'Esposito', + 'Ferrari', + 'Ferrazzini', + 'Ferretti', + 'Filippini', + 'Fischer', + 'Foglia', + 'Foletti', + 'Fontana', + 'Forni', + 'Frei', + 'Frey', + 'Frigerio', + 'Fumagalli', + 'Galfetti', + 'Galli', + 'Gamboni', + 'Genini', + 'Gerosa', + 'Ghirlanda', + 'Gianella', + 'Gianinazzi', + 'Gianini', + 'Giannini', + 'Gianola', + 'Gilardi', + 'Giovannini', + 'Giudici', + 'Gobbi', + 'Grandi', + 'Grassi', + 'Grossi', + 'Guerra', + 'Guglielmetti', + 'Guidotti', + 'Huber', + 'Jelmini', + 'Keller', + 'Lafranchi', + 'Leonardi', + 'Leoni', + 'Lepori', + 'Locatelli', + 'Lombardi', + 'Lombardo', + 'Lorenzetti', + 'Lucchini', + 'Lupi', + 'Lurati', + 'Maggetti', + 'Maggi', + 'Maggini', + 'Martinelli', + 'Martini', + 'Maspoli', + 'Mattei', + 'Medici', + 'Meier', + 'Meroni', + 'Meyer', + 'Milani', + 'Minotti', + 'Molinari', + 'Molteni', + 'Mombelli', + 'Monti', + 'Morandi', + 'Mordasini', + 'Moresi', + 'Moretti', + 'Morisoli', + 'Moro', + 'Moser', + 'Müller', + 'Nessi', + 'Notari', + 'Ortelli', + 'Pagani', + 'Pagnamenta', + 'Papa', + 'Pedrazzi', + 'Pedrazzini', + 'Pedrini', + 'Pedroni', + 'Peduzzi', + 'Pellanda', + 'Pellegrini', + 'Pelloni', + 'Pescia', + 'Pesenti', + 'Petrini', + 'Piffaretti', + 'Pini', + 'Polli', + 'Ponti', + 'Ponzio', + 'Poretti', + 'Pozzi', + 'Quadri', + 'Realini', + 'Regazzoni', + 'Rezzonico', + 'Rigamonti', + 'Righetti', + 'Rinaldi', + 'Riva', + 'Rizzi', + 'Robbiani', + 'Rodoni', + 'Romano', + 'Roncoroni', + 'Rosselli', + 'Rossetti', + 'Rossi', + 'Rossini', + 'Rusca', + 'Rusconi', + 'Russo', + 'Sala', + 'Sargenti', + 'Sartori', + 'Sassi', + 'Schmid', + 'Schneider', + 'Scolari', + 'Solari', + 'Solcà', + 'Soldati', + 'Soldini', + 'Steiner', + 'Storni', + 'Sulmoni', + 'Suter', + 'Taddei', + 'Tamagni', + 'Tettamanti', + 'Togni', + 'Tognola', + 'Valsangiacomo', + 'Vassalli', + 'Villa', + 'Vitali', + 'Weber', + 'Widmer', + 'Zanetti', + 'Zanini', + 'Zimmermann', + ]; - /** - * Generates a valid random AVS13 (swiss social security) number - * - * This function acts as an alias for the function defined in the fr_CH provider. - * - * @see \Faker\Provider\fr_CH\Person::avs13() - * - * @return string - */ - public static function avs13() - { - return \Faker\Provider\fr_CH\Person::avs13(); - } + /** + * Generates a valid random AVS13 (swiss social security) number + * + * This function acts as an alias for the function defined in the fr_CH provider. + * + * @return string + * @see \Faker\Provider\fr_CH\Person::avs13() + * + */ + public static function avs13() { + return \Faker\Provider\fr_CH\Person::avs13(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/PhoneNumber.php index 80dab35..60bf678 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/PhoneNumber.php @@ -2,42 +2,40 @@ namespace Faker\Provider\it_CH; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+41 (0)## ### ## ##', - '+41(0)#########', - '+41 ## ### ## ##', - '0#########', - '0## ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+41 (0)## ### ## ##', + '+41(0)#########', + '+41 ## ### ## ##', + '0#########', + '0## ### ## ##', + ]; - /** - * An array of Swiss mobile (cell) phone number formats. - * - * @var array - */ - protected static $mobileFormats = [ - // Local - '075 ### ## ##', - '075#######', - '076 ### ## ##', - '076#######', - '077 ### ## ##', - '077#######', - '078 ### ## ##', - '078#######', - '079 ### ## ##', - '079#######', - ]; + /** + * An array of Swiss mobile (cell) phone number formats. + * + * @var array + */ + protected static $mobileFormats = [ + // Local + '075 ### ## ##', + '075#######', + '076 ### ## ##', + '076#######', + '077 ### ## ##', + '077#######', + '078 ### ## ##', + '078#######', + '079 ### ## ##', + '079#######', + ]; - /** - * Return a Swiss mobile phone number. - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Return a Swiss mobile phone number. + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Text.php b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Text.php index a878731..13ee3c6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_CH/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_CH/Text.php @@ -2,6 +2,5 @@ namespace Faker\Provider\it_CH; -class Text extends \Faker\Provider\it_IT\Text -{ +class Text extends \Faker\Provider\it_IT\Text { } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Address.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Address.php index b9930ff..fcbaca0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Address.php @@ -2,96 +2,544 @@ namespace Faker\Provider\it_IT; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['San', 'Borgo', 'Sesto', 'Quarto', 'Settimo']; - protected static $citySuffix = ['a mare', 'lido', 'ligure', 'del friuli', 'salentino', 'calabro', 'veneto', 'nell\'emilia', 'umbro', 'laziale', 'terme', 'sardo']; - protected static $buildingNumber = ['%##', '%#', '%']; - protected static $streetSuffix = [ - 'Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio', - ]; - protected static $postcode = ['#####']; - protected static $state = [ - 'Agrigento', 'Alessandria', 'Ancona', 'Aosta', 'Arezzo', 'Ascoli Piceno', 'Asti', 'Avellino', 'Bari', 'Barletta-Andria-Trani', 'Belluno', 'Benevento', 'Bergamo', 'Biella', 'Bologna', 'Bolzano', 'Brescia', 'Brindisi', 'Cagliari', 'Caltanissetta', 'Campobasso', 'Carbonia-Iglesias', 'Caserta', 'Catania', 'Catanzaro', 'Chieti', 'Como', 'Cosenza', 'Cremona', 'Crotone', 'Cuneo', 'Enna', 'Fermo', 'Ferrara', 'Firenze', 'Foggia', 'Forlì-Cesena', 'Frosinone', 'Genova', 'Gorizia', 'Grosseto', 'Imperia', 'Isernia', 'La Spezia', 'L\'Aquila', 'Latina', 'Lecce', 'Lecco', 'Livorno', 'Lodi', 'Lucca', 'Macerata', 'Mantova', 'Massa-Carrara', 'Matera', 'Messina', 'Milano', 'Modena', 'Monza e della Brianza', 'Napoli', 'Novara', 'Nuoro', 'Olbia-Tempio', 'Oristano', 'Padova', 'Palermo', 'Parma', 'Pavia', 'Perugia', 'Pesaro e Urbino', 'Pescara', 'Piacenza', 'Pisa', 'Pistoia', 'Pordenone', 'Potenza', 'Prato', 'Ragusa', 'Ravenna', 'Reggio Calabria', 'Reggio Emilia', 'Rieti', 'Rimini', 'Roma', 'Rovigo', 'Salerno', 'Medio Campidano', 'Sassari', 'Savona', 'Siena', 'Siracusa', 'Sondrio', 'Taranto', 'Teramo', 'Terni', 'Torino', 'Ogliastra', 'Trapani', 'Trento', 'Treviso', 'Trieste', 'Udine', 'Varese', 'Venezia', 'Verbano-Cusio-Ossola', 'Vercelli', 'Verona', 'Vibo Valentia', 'Vicenza', 'Viterbo', - ]; - protected static $stateAbbr = [ - 'AG', 'AL', 'AN', 'AO', 'AR', 'AP', 'AT', 'AV', 'BA', 'BT', 'BL', 'BN', 'BG', 'BI', 'BO', 'BZ', 'BS', 'BR', 'CA', 'CL', 'CB', 'CI', 'CE', 'CT', 'CZ', 'CH', 'CO', 'CS', 'CR', 'KR', 'CN', 'EN', 'FM', 'FE', 'FI', 'FG', 'FC', 'FR', 'GE', 'GO', 'GR', 'IM', 'IS', 'SP', 'AQ', 'LT', 'LE', 'LC', 'LI', 'LO', 'LU', 'MC', 'MN', 'MS', 'MT', 'ME', 'MI', 'MO', 'MB', 'NA', 'NO', 'NU', 'OT', 'OR', 'PD', 'PA', 'PR', 'PV', 'PG', 'PU', 'PE', 'PC', 'PI', 'PT', 'PN', 'PZ', 'PO', 'RG', 'RA', 'RC', 'RE', 'RI', 'RN', 'RM', 'RO', 'SA', 'VS', 'SS', 'SV', 'SI', 'SR', 'SO', 'TA', 'TE', 'TR', 'TO', 'OG', 'TP', 'TN', 'TV', 'TS', 'UD', 'VA', 'VE', 'VB', 'VC', 'VR', 'VV', 'VI', 'VT', - ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antartide (territori a sud del 60° parallelo)', 'Antigua e Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Bielorussia', 'Belgio', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia e Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brasile', 'Territorio dell\'arcipelago indiano', 'Isole Vergini Britanniche', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambogia', 'Cameroon', 'Canada', 'Capo Verde', 'Isole Cayman', 'Repubblica Centrale Africana', 'Chad', 'Cile', 'Cina', 'Isola di Pasqua', 'Isola di Cocos (Keeling)', 'Colombia', 'Comoros', 'Congo', 'Isole Cook', 'Costa Rica', 'Costa d\'Avorio', 'Croazia', 'Cuba', 'Cipro', 'Repubblica Ceca', - 'Danimarca', 'Gibuti', 'Repubblica Dominicana', - 'Equador', 'Egitto', 'El Salvador', 'Guinea Equatoriale', 'Eritrea', 'Estonia', 'Etiopia', - 'Isole Faroe', 'Isole Falkland (Malvinas)', 'Fiji', 'Finlandia', 'Francia', 'Guyana Francese', 'Polinesia Francese', 'Territori Francesi del sud', - 'Gabon', 'Gambia', 'Georgia', 'Germania', 'Ghana', 'Gibilterra', 'Grecia', 'Groenlandia', 'Grenada', 'Guadalupa', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Città del Vaticano', 'Honduras', 'Hong Kong', 'Ungheria', - 'Islanda', 'India', 'Indonesia', 'Iran', 'Iraq', 'Irlanda', 'Isola di Man', 'Israele', 'Italia', - 'Giamaica', 'Giappone', 'Jersey', 'Giordania', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Kuwait', 'Republicca Kirgiza', - 'Repubblica del Laos', 'Latvia', 'Libano', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lituania', 'Lussemburgo', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malesia', 'Maldive', 'Mali', 'Malta', 'Isole Marshall', 'Martinica', 'Mauritania', 'Mauritius', 'Mayotte', 'Messico', 'Micronesia', 'Moldova', 'Principato di Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Marocco', 'Mozambico', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Antille Olandesi', 'Olanda', 'Nuova Caledonia', 'Nuova Zelanda', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Isole Norfolk', 'Northern Mariana Islands', 'Norvegia', - 'Oman', - 'Pakistan', 'Palau', 'Palestina', 'Panama', 'Papua Nuova Guinea', 'Paraguay', 'Peru', 'Filippine', 'Pitcairn Islands', 'Polonia', 'Portogallo', 'Porto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russia', 'Rwanda', - 'San Bartolomeo', 'Sant\'Elena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Arabia Saudita', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovenia', 'Isole Solomon', 'Somalia', 'Sud Africa', 'Georgia del sud e South Sandwich Islands', 'Spagna', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Svezia', 'Svizzera', 'Siria', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Tailandia', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad e Tobago', 'Tunisia', 'Turchia', 'Turkmenistan', 'Isole di Turks and Caicos', 'Tuvalu', - 'Uganda', 'Ucraina', 'Emirati Arabi Uniti', 'Regno Unito', 'Stati Uniti d\'America', 'United States Minor Outlying Islands', 'Isole Vergini Statunitensi', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}} {{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}} {{citySuffix}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetSuffix}} {{firstName}}', - '{{streetSuffix}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{postcode}} {{state}} ({{stateAbbr}})", - ]; - protected static $secondaryAddressFormats = ['Appartamento ##', 'Piano #']; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'San', 'Borgo', 'Sesto', 'Quarto', 'Settimo' ]; + protected static $citySuffix = [ + 'a mare', + 'lido', + 'ligure', + 'del friuli', + 'salentino', + 'calabro', + 'veneto', + 'nell\'emilia', + 'umbro', + 'laziale', + 'terme', + 'sardo' + ]; + protected static $buildingNumber = [ '%##', '%#', '%' ]; + protected static $streetSuffix = [ + 'Piazza', + 'Strada', + 'Via', + 'Borgo', + 'Contrada', + 'Rotonda', + 'Incrocio', + ]; + protected static $postcode = [ '#####' ]; + protected static $state = [ + 'Agrigento', + 'Alessandria', + 'Ancona', + 'Aosta', + 'Arezzo', + 'Ascoli Piceno', + 'Asti', + 'Avellino', + 'Bari', + 'Barletta-Andria-Trani', + 'Belluno', + 'Benevento', + 'Bergamo', + 'Biella', + 'Bologna', + 'Bolzano', + 'Brescia', + 'Brindisi', + 'Cagliari', + 'Caltanissetta', + 'Campobasso', + 'Carbonia-Iglesias', + 'Caserta', + 'Catania', + 'Catanzaro', + 'Chieti', + 'Como', + 'Cosenza', + 'Cremona', + 'Crotone', + 'Cuneo', + 'Enna', + 'Fermo', + 'Ferrara', + 'Firenze', + 'Foggia', + 'Forlì-Cesena', + 'Frosinone', + 'Genova', + 'Gorizia', + 'Grosseto', + 'Imperia', + 'Isernia', + 'La Spezia', + 'L\'Aquila', + 'Latina', + 'Lecce', + 'Lecco', + 'Livorno', + 'Lodi', + 'Lucca', + 'Macerata', + 'Mantova', + 'Massa-Carrara', + 'Matera', + 'Messina', + 'Milano', + 'Modena', + 'Monza e della Brianza', + 'Napoli', + 'Novara', + 'Nuoro', + 'Olbia-Tempio', + 'Oristano', + 'Padova', + 'Palermo', + 'Parma', + 'Pavia', + 'Perugia', + 'Pesaro e Urbino', + 'Pescara', + 'Piacenza', + 'Pisa', + 'Pistoia', + 'Pordenone', + 'Potenza', + 'Prato', + 'Ragusa', + 'Ravenna', + 'Reggio Calabria', + 'Reggio Emilia', + 'Rieti', + 'Rimini', + 'Roma', + 'Rovigo', + 'Salerno', + 'Medio Campidano', + 'Sassari', + 'Savona', + 'Siena', + 'Siracusa', + 'Sondrio', + 'Taranto', + 'Teramo', + 'Terni', + 'Torino', + 'Ogliastra', + 'Trapani', + 'Trento', + 'Treviso', + 'Trieste', + 'Udine', + 'Varese', + 'Venezia', + 'Verbano-Cusio-Ossola', + 'Vercelli', + 'Verona', + 'Vibo Valentia', + 'Vicenza', + 'Viterbo', + ]; + protected static $stateAbbr = [ + 'AG', + 'AL', + 'AN', + 'AO', + 'AR', + 'AP', + 'AT', + 'AV', + 'BA', + 'BT', + 'BL', + 'BN', + 'BG', + 'BI', + 'BO', + 'BZ', + 'BS', + 'BR', + 'CA', + 'CL', + 'CB', + 'CI', + 'CE', + 'CT', + 'CZ', + 'CH', + 'CO', + 'CS', + 'CR', + 'KR', + 'CN', + 'EN', + 'FM', + 'FE', + 'FI', + 'FG', + 'FC', + 'FR', + 'GE', + 'GO', + 'GR', + 'IM', + 'IS', + 'SP', + 'AQ', + 'LT', + 'LE', + 'LC', + 'LI', + 'LO', + 'LU', + 'MC', + 'MN', + 'MS', + 'MT', + 'ME', + 'MI', + 'MO', + 'MB', + 'NA', + 'NO', + 'NU', + 'OT', + 'OR', + 'PD', + 'PA', + 'PR', + 'PV', + 'PG', + 'PU', + 'PE', + 'PC', + 'PI', + 'PT', + 'PN', + 'PZ', + 'PO', + 'RG', + 'RA', + 'RC', + 'RE', + 'RI', + 'RN', + 'RM', + 'RO', + 'SA', + 'VS', + 'SS', + 'SV', + 'SI', + 'SR', + 'SO', + 'TA', + 'TE', + 'TR', + 'TO', + 'OG', + 'TP', + 'TN', + 'TV', + 'TS', + 'UD', + 'VA', + 'VE', + 'VB', + 'VC', + 'VR', + 'VV', + 'VI', + 'VT', + ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antartide (territori a sud del 60° parallelo)', + 'Antigua e Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Bielorussia', + 'Belgio', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia e Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brasile', + 'Territorio dell\'arcipelago indiano', + 'Isole Vergini Britanniche', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambogia', + 'Cameroon', + 'Canada', + 'Capo Verde', + 'Isole Cayman', + 'Repubblica Centrale Africana', + 'Chad', + 'Cile', + 'Cina', + 'Isola di Pasqua', + 'Isola di Cocos (Keeling)', + 'Colombia', + 'Comoros', + 'Congo', + 'Isole Cook', + 'Costa Rica', + 'Costa d\'Avorio', + 'Croazia', + 'Cuba', + 'Cipro', + 'Repubblica Ceca', + 'Danimarca', + 'Gibuti', + 'Repubblica Dominicana', + 'Equador', + 'Egitto', + 'El Salvador', + 'Guinea Equatoriale', + 'Eritrea', + 'Estonia', + 'Etiopia', + 'Isole Faroe', + 'Isole Falkland (Malvinas)', + 'Fiji', + 'Finlandia', + 'Francia', + 'Guyana Francese', + 'Polinesia Francese', + 'Territori Francesi del sud', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germania', + 'Ghana', + 'Gibilterra', + 'Grecia', + 'Groenlandia', + 'Grenada', + 'Guadalupa', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Città del Vaticano', + 'Honduras', + 'Hong Kong', + 'Ungheria', + 'Islanda', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Irlanda', + 'Isola di Man', + 'Israele', + 'Italia', + 'Giamaica', + 'Giappone', + 'Jersey', + 'Giordania', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Kuwait', + 'Republicca Kirgiza', + 'Repubblica del Laos', + 'Latvia', + 'Libano', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lituania', + 'Lussemburgo', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malesia', + 'Maldive', + 'Mali', + 'Malta', + 'Isole Marshall', + 'Martinica', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Messico', + 'Micronesia', + 'Moldova', + 'Principato di Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Marocco', + 'Mozambico', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Antille Olandesi', + 'Olanda', + 'Nuova Caledonia', + 'Nuova Zelanda', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Isole Norfolk', + 'Northern Mariana Islands', + 'Norvegia', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestina', + 'Panama', + 'Papua Nuova Guinea', + 'Paraguay', + 'Peru', + 'Filippine', + 'Pitcairn Islands', + 'Polonia', + 'Portogallo', + 'Porto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russia', + 'Rwanda', + 'San Bartolomeo', + 'Sant\'Elena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Arabia Saudita', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovenia', + 'Isole Solomon', + 'Somalia', + 'Sud Africa', + 'Georgia del sud e South Sandwich Islands', + 'Spagna', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Svezia', + 'Svizzera', + 'Siria', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Tailandia', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad e Tobago', + 'Tunisia', + 'Turchia', + 'Turkmenistan', + 'Isole di Turks and Caicos', + 'Tuvalu', + 'Uganda', + 'Ucraina', + 'Emirati Arabi Uniti', + 'Regno Unito', + 'Stati Uniti d\'America', + 'United States Minor Outlying Islands', + 'Isole Vergini Statunitensi', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}} {{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}} {{citySuffix}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetSuffix}} {{firstName}}', + '{{streetSuffix}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}} {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{postcode}} {{state}} ({{stateAbbr}})", + ]; + protected static $secondaryAddressFormats = [ 'Appartamento ##', 'Piano #' ]; - /** - * @example 'East' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'East' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example 'Appt. 350' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example 'Appt. 350' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'California' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'California' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'CA' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } + /** + * @example 'CA' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Company.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Company.php index 6a2ae04..21b5924 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Company.php @@ -4,92 +4,397 @@ use Faker\Calculator\Luhn; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}} {{companySuffix}}', - '{{lastName}}, {{lastName}} e {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}} {{companySuffix}}', + '{{lastName}}, {{lastName}} e {{lastName}} {{companySuffix}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Abilità', 'Access', 'Adattatore', 'Algoritmo', 'Alleanza', 'Analizzatore', 'Applicazione', 'Approccio', 'Architettura', 'Archivio', 'Intelligenza artificiale', 'Array', 'Attitudine', 'Benchmark', 'Capacità', 'Sfida', 'Circuito', 'Collaborazione', 'Complessità', 'Concetto', 'Conglomerato', 'Contingenza', 'Core', 'Database', 'Data-warehouse', 'Definizione', 'Emulazione', 'Codifica', 'Criptazione', 'Firmware', 'Flessibilità', 'Previsione', 'Frame', 'framework', 'Funzione', 'Funzionalità', 'Interfaccia grafica', 'Hardware', 'Help-desk', 'Gerarchia', 'Hub', 'Implementazione', 'Infrastruttura', 'Iniziativa', 'Installazione', 'Set di istruzioni', 'Interfaccia', 'Soluzione internet', 'Intranet', 'Conoscenza base', 'Matrici', 'Matrice', 'Metodologia', 'Middleware', 'Migrazione', 'Modello', 'Moderazione', 'Monitoraggio', 'Moratoria', 'Rete', 'Architettura aperta', 'Sistema aperto', 'Orchestrazione', 'Paradigma', 'Parallelismo', 'Policy', 'Portale', 'Struttura di prezzo', 'Prodotto', 'Produttività', 'Progetto', 'Proiezione', 'Protocollo', 'Servizio clienti', 'Software', 'Soluzione', 'Standardizzazione', 'Strategia', 'Struttura', 'Successo', 'Sovrastruttura', 'Supporto', 'Sinergia', 'Task-force', 'Finestra temporale', 'Strumenti', 'Utilizzazione', 'Sito web', 'Forza lavoro', - ], - [ - 'adattiva', 'avanzata', 'migliorata', 'assimilata', 'automatizzata', 'bilanciata', 'centralizzata', 'compatibile', 'configurabile', 'cross-platform', 'decentralizzata', 'digitalizzata', 'distribuita', 'piccola', 'ergonomica', 'esclusiva', 'espansa', 'estesa', 'configurabile', 'fondamentale', 'orizzontale', 'implementata', 'innovativa', 'integrata', 'intuitiva', 'inversa', 'gestita', 'obbligatoria', 'monitorata', 'multi-canale', 'multi-laterale', 'open-source', 'operativa', 'ottimizzata', 'organica', 'persistente', 'polarizzata', 'proattiva', 'programmabile', 'progressiva', 'reattiva', 'riallineata', 'ricontestualizzata', 'ridotta', 'robusta', 'sicura', 'condivisibile', 'stand-alone', 'switchabile', 'sincronizzata', 'sinergica', 'totale', 'universale', 'user-friendly', 'versatile', 'virtuale', 'visionaria', - ], - [ - '24 ore', '24/7', 'terza generazione', 'quarta generazione', 'quinta generazione', 'sesta generazione', 'asimmetrica', 'asincrona', 'background', 'bi-direzionale', 'biforcata', 'bottom-line', 'coerente', 'coesiva', 'composita', 'sensibile al contesto', 'basta sul contesto', 'basata sul contenuto', 'dedicata', 'didattica', 'direzionale', 'discreta', 'dinamica', 'eco-centrica', 'esecutiva', 'esplicita', 'full-range', 'globale', 'euristica', 'alto livello', 'olistica', 'omogenea', 'ibrida', 'impattante', 'incrementale', 'intangibile', 'interattiva', 'intermediaria', 'locale', 'logistica', 'massimizzata', 'metodica', 'mission-critical', 'mobile', 'modulare', 'motivazionale', 'multimedia', 'multi-tasking', 'nazionale', 'neutrale', 'nextgeneration', 'non-volatile', 'object-oriented', 'ottima', 'ottimizzante', 'radicale', 'real-time', 'reciproca', 'regionale', 'responsiva', 'scalabile', 'secondaria', 'stabile', 'statica', 'sistematica', 'sistemica', 'tangibile', 'terziaria', 'uniforme', 'valore aggiunto', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Abilità', + 'Access', + 'Adattatore', + 'Algoritmo', + 'Alleanza', + 'Analizzatore', + 'Applicazione', + 'Approccio', + 'Architettura', + 'Archivio', + 'Intelligenza artificiale', + 'Array', + 'Attitudine', + 'Benchmark', + 'Capacità', + 'Sfida', + 'Circuito', + 'Collaborazione', + 'Complessità', + 'Concetto', + 'Conglomerato', + 'Contingenza', + 'Core', + 'Database', + 'Data-warehouse', + 'Definizione', + 'Emulazione', + 'Codifica', + 'Criptazione', + 'Firmware', + 'Flessibilità', + 'Previsione', + 'Frame', + 'framework', + 'Funzione', + 'Funzionalità', + 'Interfaccia grafica', + 'Hardware', + 'Help-desk', + 'Gerarchia', + 'Hub', + 'Implementazione', + 'Infrastruttura', + 'Iniziativa', + 'Installazione', + 'Set di istruzioni', + 'Interfaccia', + 'Soluzione internet', + 'Intranet', + 'Conoscenza base', + 'Matrici', + 'Matrice', + 'Metodologia', + 'Middleware', + 'Migrazione', + 'Modello', + 'Moderazione', + 'Monitoraggio', + 'Moratoria', + 'Rete', + 'Architettura aperta', + 'Sistema aperto', + 'Orchestrazione', + 'Paradigma', + 'Parallelismo', + 'Policy', + 'Portale', + 'Struttura di prezzo', + 'Prodotto', + 'Produttività', + 'Progetto', + 'Proiezione', + 'Protocollo', + 'Servizio clienti', + 'Software', + 'Soluzione', + 'Standardizzazione', + 'Strategia', + 'Struttura', + 'Successo', + 'Sovrastruttura', + 'Supporto', + 'Sinergia', + 'Task-force', + 'Finestra temporale', + 'Strumenti', + 'Utilizzazione', + 'Sito web', + 'Forza lavoro', + ], + [ + 'adattiva', + 'avanzata', + 'migliorata', + 'assimilata', + 'automatizzata', + 'bilanciata', + 'centralizzata', + 'compatibile', + 'configurabile', + 'cross-platform', + 'decentralizzata', + 'digitalizzata', + 'distribuita', + 'piccola', + 'ergonomica', + 'esclusiva', + 'espansa', + 'estesa', + 'configurabile', + 'fondamentale', + 'orizzontale', + 'implementata', + 'innovativa', + 'integrata', + 'intuitiva', + 'inversa', + 'gestita', + 'obbligatoria', + 'monitorata', + 'multi-canale', + 'multi-laterale', + 'open-source', + 'operativa', + 'ottimizzata', + 'organica', + 'persistente', + 'polarizzata', + 'proattiva', + 'programmabile', + 'progressiva', + 'reattiva', + 'riallineata', + 'ricontestualizzata', + 'ridotta', + 'robusta', + 'sicura', + 'condivisibile', + 'stand-alone', + 'switchabile', + 'sincronizzata', + 'sinergica', + 'totale', + 'universale', + 'user-friendly', + 'versatile', + 'virtuale', + 'visionaria', + ], + [ + '24 ore', + '24/7', + 'terza generazione', + 'quarta generazione', + 'quinta generazione', + 'sesta generazione', + 'asimmetrica', + 'asincrona', + 'background', + 'bi-direzionale', + 'biforcata', + 'bottom-line', + 'coerente', + 'coesiva', + 'composita', + 'sensibile al contesto', + 'basta sul contesto', + 'basata sul contenuto', + 'dedicata', + 'didattica', + 'direzionale', + 'discreta', + 'dinamica', + 'eco-centrica', + 'esecutiva', + 'esplicita', + 'full-range', + 'globale', + 'euristica', + 'alto livello', + 'olistica', + 'omogenea', + 'ibrida', + 'impattante', + 'incrementale', + 'intangibile', + 'interattiva', + 'intermediaria', + 'locale', + 'logistica', + 'massimizzata', + 'metodica', + 'mission-critical', + 'mobile', + 'modulare', + 'motivazionale', + 'multimedia', + 'multi-tasking', + 'nazionale', + 'neutrale', + 'nextgeneration', + 'non-volatile', + 'object-oriented', + 'ottima', + 'ottimizzante', + 'radicale', + 'real-time', + 'reciproca', + 'regionale', + 'responsiva', + 'scalabile', + 'secondaria', + 'stabile', + 'statica', + 'sistematica', + 'sistemica', + 'tangibile', + 'terziaria', + 'uniforme', + 'valore aggiunto', + ], + ]; - protected static $bsWords = [ - [ - 'partnerships', 'comunità', 'ROI', 'soluzioni', 'e-services', 'nicchie', 'tecnologie', 'contenuti', 'supply-chains', 'convergenze', 'relazioni', 'architetture', 'interfacce', 'mercati', 'e-commerce', 'sistemi', 'modelli', 'schemi', 'reti', 'applicazioni', 'metriche', 'e-business', 'funzionalità', 'esperienze', 'webservices', 'metodologie', - ], - [ - 'implementate', 'utilizzo', 'integrate', 'ottimali', 'evolutive', 'abilitate', 'reinventate', 'aggregate', 'migliorate', 'incentivate', 'monetizzate', 'sinergizzate', 'strategiche', 'deploy', 'marchi', 'accrescitive', 'target', 'sintetizzate', 'spedizioni', 'massimizzate', 'innovazione', 'guida', 'estensioni', 'generate', 'exploit', 'transizionali', 'matrici', 'ricontestualizzate', - ], - [ - 'valore aggiunto', 'verticalizzate', 'proattive', 'forti', 'rivoluzionari', 'scalabili', 'innovativi', 'intuitivi', 'strategici', 'e-business', 'mission-critical', '24/7', 'globali', 'B2B', 'B2C', 'granulari', 'virtuali', 'virali', 'dinamiche', 'magnetiche', 'web', 'interattive', 'sexy', 'back-end', 'real-time', 'efficienti', 'front-end', 'distributivi', 'estensibili', 'mondiali', 'open-source', 'cross-platform', 'sinergiche', 'out-of-the-box', 'enterprise', 'integrate', 'di impatto', 'wireless', 'trasparenti', 'next-generation', 'cutting-edge', 'visionari', 'plug-and-play', 'collaborative', 'olistiche', 'ricche', - ], - ]; + protected static $bsWords = [ + [ + 'partnerships', + 'comunità', + 'ROI', + 'soluzioni', + 'e-services', + 'nicchie', + 'tecnologie', + 'contenuti', + 'supply-chains', + 'convergenze', + 'relazioni', + 'architetture', + 'interfacce', + 'mercati', + 'e-commerce', + 'sistemi', + 'modelli', + 'schemi', + 'reti', + 'applicazioni', + 'metriche', + 'e-business', + 'funzionalità', + 'esperienze', + 'webservices', + 'metodologie', + ], + [ + 'implementate', + 'utilizzo', + 'integrate', + 'ottimali', + 'evolutive', + 'abilitate', + 'reinventate', + 'aggregate', + 'migliorate', + 'incentivate', + 'monetizzate', + 'sinergizzate', + 'strategiche', + 'deploy', + 'marchi', + 'accrescitive', + 'target', + 'sintetizzate', + 'spedizioni', + 'massimizzate', + 'innovazione', + 'guida', + 'estensioni', + 'generate', + 'exploit', + 'transizionali', + 'matrici', + 'ricontestualizzate', + ], + [ + 'valore aggiunto', + 'verticalizzate', + 'proattive', + 'forti', + 'rivoluzionari', + 'scalabili', + 'innovativi', + 'intuitivi', + 'strategici', + 'e-business', + 'mission-critical', + '24/7', + 'globali', + 'B2B', + 'B2C', + 'granulari', + 'virtuali', + 'virali', + 'dinamiche', + 'magnetiche', + 'web', + 'interattive', + 'sexy', + 'back-end', + 'real-time', + 'efficienti', + 'front-end', + 'distributivi', + 'estensibili', + 'mondiali', + 'open-source', + 'cross-platform', + 'sinergiche', + 'out-of-the-box', + 'enterprise', + 'integrate', + 'di impatto', + 'wireless', + 'trasparenti', + 'next-generation', + 'cutting-edge', + 'visionari', + 'plug-and-play', + 'collaborative', + 'olistiche', + 'ricche', + ], + ]; - protected static $companySuffix = ['SPA', 'e figli', 'Group', 's.r.l.']; + protected static $companySuffix = [ 'SPA', 'e figli', 'Group', 's.r.l.' ]; - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * Italian VAT number (partita IVA) - * - * @see https://it.wikipedia.org/wiki/Partita_IVA - * - * @return string - */ - public static function vat() - { - $code = sprintf('%s%03d', static::numerify('#######'), self::numberBetween(1, 121)); + /** + * Italian VAT number (partita IVA) + * + * @see https://it.wikipedia.org/wiki/Partita_IVA + * + * @return string + */ + public static function vat() { + $code = sprintf( '%s%03d', static::numerify( '#######' ), self::numberBetween( 1, 121 ) ); - return sprintf('IT%s%d', $code, Luhn::computeCheckDigit($code)); - } + return sprintf( 'IT%s%d', $code, Luhn::computeCheckDigit( $code ) ); + } - /** - * Italian VAT number (partita IVA) - * - * @return string - * - * @deprecated use {@link \Faker\Provider\it_IT\Company::vat()} instead - * @see \Faker\Provider\it_IT\Company::vat() - */ - public static function vatId() - { - return self::vat(); - } + /** + * Italian VAT number (partita IVA) + * + * @return string + * + * @deprecated use {@link \Faker\Provider\it_IT\Company::vat()} instead + * @see \Faker\Provider\it_IT\Company::vat() + */ + public static function vatId() { + return self::vat(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Internet.php index 320c51b..064bcb8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Internet.php @@ -2,8 +2,14 @@ namespace Faker\Provider\it_IT; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'email.it', 'libero.it', 'yahoo.it']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'it', 'it', 'it']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'email.it', + 'libero.it', + 'yahoo.it' + ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'it', 'it', 'it' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Payment.php index d5b233a..8349ee6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\it_IT; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'IT', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'IT', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Person.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Person.php index 9922fd0..c039c6b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Person.php @@ -2,99 +2,515 @@ namespace Faker\Provider\it_IT; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; - protected static $firstNameMale = [ - 'Aaron', 'Abramo', 'Adriano', 'Akira', 'Alan', 'Alberto', 'Albino', 'Alessandro', 'Alessio', 'Amedeo', 'Amos', 'Anastasio', 'Anselmo', - 'Antimo', 'Antonino', 'Antonio', 'Ariel', 'Armando', 'Aroldo', 'Arturo', 'Augusto', 'Battista', 'Bernardo', 'Boris', 'Caio', - 'Carlo', 'Carmelo', 'Ciro', 'Damiano', 'Danny', 'Dante', 'Davide', 'Davis', 'Demis', 'Dimitri', 'Domingo', 'Dylan', - 'Edilio', 'Egidio', 'Elio', 'Emanuel', 'Emidio', 'Enrico', 'Enzo', 'Ercole', 'Ermes', 'Ethan', 'Ettore', 'Eusebio', - 'Fabiano', 'Fabio', 'Ferdinando', 'Fernando', 'Fiorenzo', 'Flavio', 'Folco', 'Fulvio', 'Furio', 'Gabriele', 'Gaetano', 'Gastone', - 'Gavino', 'Gerlando', 'Germano', 'Giacinto', 'Gianantonio', 'Giancarlo', 'Gianmarco', 'Gianmaria', 'Gioacchino', 'Giordano', 'Giorgio', 'Giuliano', - 'Giulio', 'Graziano', 'Gregorio', 'Guido', 'Harry', 'Hector', 'Iacopo', 'Ian', 'Ilario', 'Italo', 'Ivano', 'Jack', - 'Jacopo', 'Jari', 'Jarno', 'Joey', 'Joseph', 'Joshua', 'Kai', 'Karim', 'Kris', 'Lamberto', 'Lauro', 'Lazzaro', - 'Leonardo', 'Liborio', 'Lino', 'Lorenzo', 'Loris', 'Ludovico', 'Luigi', 'Manfredi', 'Manuele', 'Marco', 'Mariano', 'Marino', - 'Marvin', 'Marzio', 'Matteo', 'Mattia', 'Mauro', 'Max', 'Michael', 'Mirco', 'Mirko', 'Modesto', 'Moreno', 'Nabil', - 'Nadir', 'Nathan', 'Nazzareno', 'Nick', 'Nico', 'Noah', 'Noel', 'Omar', 'Oreste', 'Osvaldo', 'Pablo', 'Patrizio', - 'Pietro', 'Priamo', 'Quirino', 'Raoul', 'Renato', 'Renzo', 'Rocco', 'Rodolfo', 'Romeo', 'Romolo', 'Rudy', 'Sabatino', - 'Sabino', 'Samuel', 'Sandro', 'Santo', 'Sebastian', 'Sesto', 'Silvano', 'Silverio', 'Sirio', 'Siro', 'Timoteo', 'Timothy', - 'Tommaso', 'Ubaldo', 'Umberto', 'Vinicio', 'Walter', 'Xavier', 'Yago', 'Alighieri', 'Alighiero', 'Amerigo', 'Arcibaldo', 'Arduino', - 'Artes', 'Audenico', 'Ausonio', 'Bacchisio', 'Baldassarre', 'Bettino', 'Bortolo', 'Caligola', 'Cecco', 'Cirino', 'Cleros', - 'Costantino', 'Costanzo', 'Danthon', 'Demian', 'Domiziano', 'Edipo', 'Egisto', 'Eliziario', 'Eriberto', 'Erminio', - 'Eustachio', 'Evangelista', 'Fiorentino', 'Giacobbe', 'Gianleonardo', 'Gianriccardo', 'Giobbe', 'Ippolito', - 'Isira', 'Joannes', 'Kociss', 'Laerte', 'Maggiore', 'Muzio', 'Nestore', 'Odino', 'Odone', 'Olo', 'Oretta', 'Orfeo', - 'Osea', 'Pacifico', 'Pericle', 'Piererminio', 'Pierfrancesco', 'Piersilvio', 'Primo', 'Quarto', 'Quasimodo', - 'Radames', 'Radio', 'Raniero', 'Rosalino', 'Rosolino', 'Rufo', 'Secondo', 'Tancredi', 'Tazio', 'Terzo', 'Teseo', - 'Tolomeo', 'Trevis', 'Tristano', 'Ulrico', 'Valdo', 'Zaccaria', 'Dindo', 'Serse', - ]; + protected static $firstNameMale = [ + 'Aaron', + 'Abramo', + 'Adriano', + 'Akira', + 'Alan', + 'Alberto', + 'Albino', + 'Alessandro', + 'Alessio', + 'Amedeo', + 'Amos', + 'Anastasio', + 'Anselmo', + 'Antimo', + 'Antonino', + 'Antonio', + 'Ariel', + 'Armando', + 'Aroldo', + 'Arturo', + 'Augusto', + 'Battista', + 'Bernardo', + 'Boris', + 'Caio', + 'Carlo', + 'Carmelo', + 'Ciro', + 'Damiano', + 'Danny', + 'Dante', + 'Davide', + 'Davis', + 'Demis', + 'Dimitri', + 'Domingo', + 'Dylan', + 'Edilio', + 'Egidio', + 'Elio', + 'Emanuel', + 'Emidio', + 'Enrico', + 'Enzo', + 'Ercole', + 'Ermes', + 'Ethan', + 'Ettore', + 'Eusebio', + 'Fabiano', + 'Fabio', + 'Ferdinando', + 'Fernando', + 'Fiorenzo', + 'Flavio', + 'Folco', + 'Fulvio', + 'Furio', + 'Gabriele', + 'Gaetano', + 'Gastone', + 'Gavino', + 'Gerlando', + 'Germano', + 'Giacinto', + 'Gianantonio', + 'Giancarlo', + 'Gianmarco', + 'Gianmaria', + 'Gioacchino', + 'Giordano', + 'Giorgio', + 'Giuliano', + 'Giulio', + 'Graziano', + 'Gregorio', + 'Guido', + 'Harry', + 'Hector', + 'Iacopo', + 'Ian', + 'Ilario', + 'Italo', + 'Ivano', + 'Jack', + 'Jacopo', + 'Jari', + 'Jarno', + 'Joey', + 'Joseph', + 'Joshua', + 'Kai', + 'Karim', + 'Kris', + 'Lamberto', + 'Lauro', + 'Lazzaro', + 'Leonardo', + 'Liborio', + 'Lino', + 'Lorenzo', + 'Loris', + 'Ludovico', + 'Luigi', + 'Manfredi', + 'Manuele', + 'Marco', + 'Mariano', + 'Marino', + 'Marvin', + 'Marzio', + 'Matteo', + 'Mattia', + 'Mauro', + 'Max', + 'Michael', + 'Mirco', + 'Mirko', + 'Modesto', + 'Moreno', + 'Nabil', + 'Nadir', + 'Nathan', + 'Nazzareno', + 'Nick', + 'Nico', + 'Noah', + 'Noel', + 'Omar', + 'Oreste', + 'Osvaldo', + 'Pablo', + 'Patrizio', + 'Pietro', + 'Priamo', + 'Quirino', + 'Raoul', + 'Renato', + 'Renzo', + 'Rocco', + 'Rodolfo', + 'Romeo', + 'Romolo', + 'Rudy', + 'Sabatino', + 'Sabino', + 'Samuel', + 'Sandro', + 'Santo', + 'Sebastian', + 'Sesto', + 'Silvano', + 'Silverio', + 'Sirio', + 'Siro', + 'Timoteo', + 'Timothy', + 'Tommaso', + 'Ubaldo', + 'Umberto', + 'Vinicio', + 'Walter', + 'Xavier', + 'Yago', + 'Alighieri', + 'Alighiero', + 'Amerigo', + 'Arcibaldo', + 'Arduino', + 'Artes', + 'Audenico', + 'Ausonio', + 'Bacchisio', + 'Baldassarre', + 'Bettino', + 'Bortolo', + 'Caligola', + 'Cecco', + 'Cirino', + 'Cleros', + 'Costantino', + 'Costanzo', + 'Danthon', + 'Demian', + 'Domiziano', + 'Edipo', + 'Egisto', + 'Eliziario', + 'Eriberto', + 'Erminio', + 'Eustachio', + 'Evangelista', + 'Fiorentino', + 'Giacobbe', + 'Gianleonardo', + 'Gianriccardo', + 'Giobbe', + 'Ippolito', + 'Isira', + 'Joannes', + 'Kociss', + 'Laerte', + 'Maggiore', + 'Muzio', + 'Nestore', + 'Odino', + 'Odone', + 'Olo', + 'Oretta', + 'Orfeo', + 'Osea', + 'Pacifico', + 'Pericle', + 'Piererminio', + 'Pierfrancesco', + 'Piersilvio', + 'Primo', + 'Quarto', + 'Quasimodo', + 'Radames', + 'Radio', + 'Raniero', + 'Rosalino', + 'Rosolino', + 'Rufo', + 'Secondo', + 'Tancredi', + 'Tazio', + 'Terzo', + 'Teseo', + 'Tolomeo', + 'Trevis', + 'Tristano', + 'Ulrico', + 'Valdo', + 'Zaccaria', + 'Dindo', + 'Serse', + ]; - protected static $firstNameFemale = [ - 'Assia', 'Benedetta', 'Bibiana', 'Brigitta', 'Carmela', 'Celeste', 'Cira', 'Claudia', 'Concetta', 'Cristyn', 'Deborah', 'Demi', 'Diana', - 'Donatella', 'Doriana', 'Edvige', 'Elda', 'Elga', 'Elsa', 'Emilia', 'Enrica', 'Erminia', 'Evita', 'Fatima', 'Felicia', - 'Filomena', 'Fortunata', 'Gilda', 'Giovanna', 'Giulietta', 'Grazia', 'Helga', 'Ileana', 'Ingrid', 'Ione', 'Irene', 'Isabel', - 'Ivonne', 'Jelena', 'Kayla', 'Kristel', 'Laura', 'Leone', 'Lia', 'Lidia', 'Lisa', 'Loredana', 'Loretta', 'Luce', - 'Lucia', 'Lucrezia', 'Luna', 'Maika', 'Marcella', 'Maria', 'Marianita', 'Mariapia', 'Marina', 'Maristella', 'Maruska', 'Matilde', - 'Mercedes', 'Michele', 'Miriam', 'Miriana', 'Monia', 'Morgana', 'Naomi', 'Neri', 'Nicoletta', 'Ninfa', 'Noemi', 'Nunzia', - 'Olimpia', 'Ortensia', 'Penelope', 'Prisca', 'Rebecca', 'Rita', 'Rosalba', 'Rosaria', 'Rosita', 'Ruth', 'Samira', 'Sarita', - 'Sasha', 'Shaira', 'Thea', 'Ursula', 'Vania', 'Vera', 'Vienna', 'Artemide', 'Cassiopea', 'Cesidia', 'Clea', 'Cleopatra', - 'Clodovea', 'Cosetta', 'Damiana', 'Danuta', 'Diamante', 'Eufemia', 'Flaviana', 'Gelsomina', 'Genziana', 'Giacinta', 'Guendalina', - 'Jole', 'Mariagiulia', 'Marieva', 'Mietta', 'Nayade', 'Piccarda', 'Selvaggia', 'Sibilla', 'Soriana', 'Sue ellen', 'Tosca', 'Violante', - 'Vitalba', 'Zelida', - ]; + protected static $firstNameFemale = [ + 'Assia', + 'Benedetta', + 'Bibiana', + 'Brigitta', + 'Carmela', + 'Celeste', + 'Cira', + 'Claudia', + 'Concetta', + 'Cristyn', + 'Deborah', + 'Demi', + 'Diana', + 'Donatella', + 'Doriana', + 'Edvige', + 'Elda', + 'Elga', + 'Elsa', + 'Emilia', + 'Enrica', + 'Erminia', + 'Evita', + 'Fatima', + 'Felicia', + 'Filomena', + 'Fortunata', + 'Gilda', + 'Giovanna', + 'Giulietta', + 'Grazia', + 'Helga', + 'Ileana', + 'Ingrid', + 'Ione', + 'Irene', + 'Isabel', + 'Ivonne', + 'Jelena', + 'Kayla', + 'Kristel', + 'Laura', + 'Leone', + 'Lia', + 'Lidia', + 'Lisa', + 'Loredana', + 'Loretta', + 'Luce', + 'Lucia', + 'Lucrezia', + 'Luna', + 'Maika', + 'Marcella', + 'Maria', + 'Marianita', + 'Mariapia', + 'Marina', + 'Maristella', + 'Maruska', + 'Matilde', + 'Mercedes', + 'Michele', + 'Miriam', + 'Miriana', + 'Monia', + 'Morgana', + 'Naomi', + 'Neri', + 'Nicoletta', + 'Ninfa', + 'Noemi', + 'Nunzia', + 'Olimpia', + 'Ortensia', + 'Penelope', + 'Prisca', + 'Rebecca', + 'Rita', + 'Rosalba', + 'Rosaria', + 'Rosita', + 'Ruth', + 'Samira', + 'Sarita', + 'Sasha', + 'Shaira', + 'Thea', + 'Ursula', + 'Vania', + 'Vera', + 'Vienna', + 'Artemide', + 'Cassiopea', + 'Cesidia', + 'Clea', + 'Cleopatra', + 'Clodovea', + 'Cosetta', + 'Damiana', + 'Danuta', + 'Diamante', + 'Eufemia', + 'Flaviana', + 'Gelsomina', + 'Genziana', + 'Giacinta', + 'Guendalina', + 'Jole', + 'Mariagiulia', + 'Marieva', + 'Mietta', + 'Nayade', + 'Piccarda', + 'Selvaggia', + 'Sibilla', + 'Soriana', + 'Sue ellen', + 'Tosca', + 'Violante', + 'Vitalba', + 'Zelida', + ]; - protected static $lastName = [ - 'Rossi', 'Russo', 'Ferrari', 'Esposito', 'Bianchi', 'Romano', 'Colombo', 'Ricci', 'Marino', 'Greco', 'Bruno', 'Gallo', 'Conti', - 'De luca', 'Mancini', 'Costa', 'Giordano', 'Rizzo', 'Lombardi', 'Moretti', 'Barbieri', 'Fontana', 'Santoro', 'Mariani', - 'Rinaldi', 'Caruso', 'Ferrara', 'Galli', 'Martini', 'Leone', 'Longo', 'Gentile', 'Martinelli', 'Vitale', 'Lombardo', 'Serra', - 'Coppola', 'De Santis', 'D\'angelo', 'Marchetti', 'Parisi', 'Villa', 'Conte', 'Ferraro', 'Ferri', 'Fabbri', 'Bianco', - 'Marini', 'Grasso', 'Valentini', 'Messina', 'Sala', 'De Angelis', 'Gatti', 'Pellegrini', 'Palumbo', 'Sanna', 'Farina', - 'Rizzi', 'Monti', 'Cattaneo', 'Morelli', 'Amato', 'Silvestri', 'Mazza', 'Testa', 'Grassi', 'Pellegrino', 'Carbone', - 'Giuliani', 'Benedetti', 'Barone', 'Rossetti', 'Caputo', 'Montanari', 'Guerra', 'Palmieri', 'Bernardi', 'Martino', 'Fiore', - 'De rosa', 'Ferretti', 'Bellini', 'Basile', 'Riva', 'Donati', 'Piras', 'Vitali', 'Battaglia', 'Sartori', 'Neri', 'Costantini', - 'Milani', 'Pagano', 'Ruggiero', 'Sorrentino', 'D\'amico', 'Orlando', 'Damico', 'Negri', - ]; + protected static $lastName = [ + 'Rossi', + 'Russo', + 'Ferrari', + 'Esposito', + 'Bianchi', + 'Romano', + 'Colombo', + 'Ricci', + 'Marino', + 'Greco', + 'Bruno', + 'Gallo', + 'Conti', + 'De luca', + 'Mancini', + 'Costa', + 'Giordano', + 'Rizzo', + 'Lombardi', + 'Moretti', + 'Barbieri', + 'Fontana', + 'Santoro', + 'Mariani', + 'Rinaldi', + 'Caruso', + 'Ferrara', + 'Galli', + 'Martini', + 'Leone', + 'Longo', + 'Gentile', + 'Martinelli', + 'Vitale', + 'Lombardo', + 'Serra', + 'Coppola', + 'De Santis', + 'D\'angelo', + 'Marchetti', + 'Parisi', + 'Villa', + 'Conte', + 'Ferraro', + 'Ferri', + 'Fabbri', + 'Bianco', + 'Marini', + 'Grasso', + 'Valentini', + 'Messina', + 'Sala', + 'De Angelis', + 'Gatti', + 'Pellegrini', + 'Palumbo', + 'Sanna', + 'Farina', + 'Rizzi', + 'Monti', + 'Cattaneo', + 'Morelli', + 'Amato', + 'Silvestri', + 'Mazza', + 'Testa', + 'Grassi', + 'Pellegrino', + 'Carbone', + 'Giuliani', + 'Benedetti', + 'Barone', + 'Rossetti', + 'Caputo', + 'Montanari', + 'Guerra', + 'Palmieri', + 'Bernardi', + 'Martino', + 'Fiore', + 'De rosa', + 'Ferretti', + 'Bellini', + 'Basile', + 'Riva', + 'Donati', + 'Piras', + 'Vitali', + 'Battaglia', + 'Sartori', + 'Neri', + 'Costantini', + 'Milani', + 'Pagano', + 'Ruggiero', + 'Sorrentino', + 'D\'amico', + 'Orlando', + 'Damico', + 'Negri', + ]; - protected static $titleMale = ['Sig.', 'Dott.', 'Dr.', 'Ing.']; + protected static $titleMale = [ 'Sig.', 'Dott.', 'Dr.', 'Ing.' ]; - protected static $titleFemale = ['Sig.ra', 'Dott.', 'Dr.', 'Ing.']; + protected static $titleFemale = [ 'Sig.ra', 'Dott.', 'Dr.', 'Ing.' ]; - private static $suffix = []; + private static $suffix = []; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * TaxCode (CodiceFiscale) - * - * @see https://it.wikipedia.org/wiki/Codice_fiscale - * - * @return string - */ - public static function taxId() - { - return strtoupper(static::bothify('??????##?##?###?')); - } + /** + * TaxCode (CodiceFiscale) + * + * @see https://it.wikipedia.org/wiki/Codice_fiscale + * + * @return string + */ + public static function taxId() { + return strtoupper( static::bothify( '??????##?##?###?' ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/PhoneNumber.php index b9727a6..ae01c4e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/PhoneNumber.php @@ -2,20 +2,19 @@ namespace Faker\Provider\it_IT; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+## ### ## ## ####', - '+## ## #######', - '+## ## ########', - '+## ### #######', - '+## ### ########', - '+## #### #######', - '+## #### ########', - // According to http://it.wikipedia.org/wiki/Prefisso_telefonico#Elenco_degli_indicativi_in_Italia.2C_a_San_Marino_e_nel_Vaticano - '0## ### ####', - '+39 0## ### ###', - '3## ### ###', - '+39 3## ### ###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+## ### ## ## ####', + '+## ## #######', + '+## ## ########', + '+## ### #######', + '+## ### ########', + '+## #### #######', + '+## #### ########', + // According to http://it.wikipedia.org/wiki/Prefisso_telefonico#Elenco_degli_indicativi_in_Italia.2C_a_San_Marino_e_nel_Vaticano + '0## ### ####', + '+39 0## ### ###', + '3## ### ###', + '+39 3## ### ###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Text.php b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Text.php index 161273f..bbc2160 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/it_IT/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/it_IT/Text.php @@ -2,76 +2,75 @@ namespace Faker\Provider\it_IT; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Una notte bizzarra, by Anton Giulio Barrili - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org - * - * Title: Una notte bizzarra - * Author: Anton Giulio Barrili - * Release Date: August 8, 2009 [EBook #29636] - * Language: Italian - * - * *** START OF THIS PROJECT GUTENBERG EBOOK UNA NOTTE BIZZARRA *** - * - * - * Produced by Claudio Paganelli, Carlo Traverso and the - * Online Distributed Proofreading Team at http://www.pgdp.net - * (This file was produced from images generously made - * available by The Internet Archive/Canadian Libraries) - * - * - * CAPITAN DODERO - * - * UNA NOTTE BIZZARRA - * - * NOVELLE DI ANTON GIULIO BARRILI - * - * Settima edizione. - * - * MILANO - * - * FRATELLI TREVES, EDITORI 1881. - * - * PROPRIETÀ LETTERARIA - * - * Tip. Treves - * - * UNA NOTTE BIZZARRA - * - * A LUIGI MORANDI - * - * - * _La è proprio una inezia, frutto di tre giorni di lavoro, che intitolo - * a te, giovine amico e compagno d'armi; ma sappi che fu un gaio lavoro - * campestre, e lavoro gaio riesce facile, e val meglio assai che sudato, - * ma uggioso._ - * - * _Nè paia fuor del naturale a te, nè ai lettori cortesi, che i - * personaggi della mia novella s'innamorino in una notte. Anco a non - * volerne cercar la ragione, la scusa, nella novità de' casi narrati, io - * so che la cosa non è poi tanto difficile, io che ti ho per la prima - * volta veduto, ed amato come fratello, in un giorno. Tu dirai che, - * anche là, era quistione d'urgenza, imperocchè chi poteva morire il - * giorno di poi non avea tempo da perdere. Or dunque, concediamo la - * parte loro agli eventi, e non se ne parli più, se non per ricordare - * che l'amicizia, nata e cresciuta in un giorno, ha da fortificarsi in - * tutti que' molti, o pochi, che ci comporranno la trama della vita._ - * - * Di Genova, il 19 di Luglio del 1868. - * - * ANTON GIULIO BARRILI. - * - * @see https://gutenberg.org/cache/epub/29636/pg29636.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Una notte bizzarra, by Anton Giulio Barrili + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org + * + * Title: Una notte bizzarra + * Author: Anton Giulio Barrili + * Release Date: August 8, 2009 [EBook #29636] + * Language: Italian + * + * *** START OF THIS PROJECT GUTENBERG EBOOK UNA NOTTE BIZZARRA *** + * + * + * Produced by Claudio Paganelli, Carlo Traverso and the + * Online Distributed Proofreading Team at http://www.pgdp.net + * (This file was produced from images generously made + * available by The Internet Archive/Canadian Libraries) + * + * + * CAPITAN DODERO + * + * UNA NOTTE BIZZARRA + * + * NOVELLE DI ANTON GIULIO BARRILI + * + * Settima edizione. + * + * MILANO + * + * FRATELLI TREVES, EDITORI 1881. + * + * PROPRIETÀ LETTERARIA + * + * Tip. Treves + * + * UNA NOTTE BIZZARRA + * + * A LUIGI MORANDI + * + * + * _La è proprio una inezia, frutto di tre giorni di lavoro, che intitolo + * a te, giovine amico e compagno d'armi; ma sappi che fu un gaio lavoro + * campestre, e lavoro gaio riesce facile, e val meglio assai che sudato, + * ma uggioso._ + * + * _Nè paia fuor del naturale a te, nè ai lettori cortesi, che i + * personaggi della mia novella s'innamorino in una notte. Anco a non + * volerne cercar la ragione, la scusa, nella novità de' casi narrati, io + * so che la cosa non è poi tanto difficile, io che ti ho per la prima + * volta veduto, ed amato come fratello, in un giorno. Tu dirai che, + * anche là, era quistione d'urgenza, imperocchè chi poteva morire il + * giorno di poi non avea tempo da perdere. Or dunque, concediamo la + * parte loro agli eventi, e non se ne parli più, se non per ricordare + * che l'amicizia, nata e cresciuta in un giorno, ha da fortificarsi in + * tutti que' molti, o pochi, che ci comporranno la trama della vita._ + * + * Di Genova, il 19 di Luglio del 1868. + * + * ANTON GIULIO BARRILI. + * + * @see https://gutenberg.org/cache/epub/29636/pg29636.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' I. @@ -1718,362 +1717,362 @@ class Text extends \Faker\Provider\Text FINE. EOT; - /* - End of Project Gutenberg's Una notte bizzarra, by Anton Giulio Barrili - - *** END OF THIS PROJECT GUTENBERG EBOOK UNA NOTTE BIZZARRA *** - - ***** This file should be named 29636-8.txt or 29636-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/2/9/6/3/29636/ - - Produced by Claudio Paganelli, Carlo Traverso and the - Online Distributed Proofreading Team at http://www.pgdp.net - (This file was produced from images generously made - available by The Internet Archive/Canadian Libraries) - - Updated editions will replace the previous one--the old editions - will be renamed. - - Creating the works from public domain print editions means that no - one owns a United States copyright in these works, so the Foundation - (and you!) can copy and distribute it in the United States without - permission and without paying copyright royalties. Special rules, - set forth in the General Terms of Use part of this license, apply to - copying and distributing Project Gutenberg-tm electronic works to - protect the PROJECT GUTENBERG-tm concept and trademark. Project - Gutenberg is a registered trademark, and may not be used if you - charge for the eBooks, unless you receive specific permission. If you - do not charge anything for copies of this eBook, complying with the - rules is very easy. You may use this eBook for nearly any purpose - such as creation of derivative works, reports, performances and - research. They may be modified and printed and given away--you may do - practically ANYTHING with public domain eBooks. Redistribution is - subject to the trademark license, especially commercial - redistribution. - - *** START: FULL LICENSE *** - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full Project - Gutenberg-tm License (available with this file or online at - http://gutenberg.org/license). - - Section 1. General Terms of Use and Redistributing Project Gutenberg-tm - electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or destroy - all copies of Project Gutenberg-tm electronic works in your possession. - If you paid a fee for obtaining a copy of or access to a Project - Gutenberg-tm electronic work and you do not agree to be bound by the - terms of this agreement, you may obtain a refund from the person or - entity to whom you paid the fee as set forth in paragraph 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this agreement - and help preserve free future access to Project Gutenberg-tm electronic - works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" - or PGLAF), owns a compilation copyright in the collection of Project - Gutenberg-tm electronic works. Nearly all the individual works in the - collection are in the public domain in the United States. If an - individual work is in the public domain in the United States and you are - located in the United States, we do not claim a right to prevent you from - copying, distributing, performing, displaying or creating derivative - works based on the work as long as all references to Project Gutenberg - are removed. Of course, we hope that you will support the Project - Gutenberg-tm mission of promoting free access to electronic works by - freely sharing Project Gutenberg-tm works in compliance with the terms of - this agreement for keeping the Project Gutenberg-tm name associated with - the work. You can easily comply with the terms of this agreement by - keeping this work in the same format with its attached full Project - Gutenberg-tm License when you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are in - a constant state of change. If you are outside the United States, check - the laws of your country in addition to the terms of this agreement - before downloading, copying, displaying, performing, distributing or - creating derivative works based on this work or any other Project - Gutenberg-tm work. The Foundation makes no representations concerning - the copyright status of any work in any country outside the United - States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other immediate - access to, the full Project Gutenberg-tm License must appear prominently - whenever any copy of a Project Gutenberg-tm work (any work on which the - phrase "Project Gutenberg" appears, or with which the phrase "Project - Gutenberg" is associated) is accessed, displayed, performed, viewed, - copied or distributed: - - This eBook is for the use of anyone anywhere at no cost and with - almost no restrictions whatsoever. You may copy it, give it away or - re-use it under the terms of the Project Gutenberg License included - with this eBook or online at www.gutenberg.org - - 1.E.2. If an individual Project Gutenberg-tm electronic work is derived - from the public domain (does not contain a notice indicating that it is - posted with permission of the copyright holder), the work can be copied - and distributed to anyone in the United States without paying any fees - or charges. If you are redistributing or providing access to a work - with the phrase "Project Gutenberg" associated with or appearing on the - work, you must comply either with the requirements of paragraphs 1.E.1 - through 1.E.7 or obtain permission for the use of the work and the - Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or - 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any additional - terms imposed by the copyright holder. Additional terms will be linked - to the Project Gutenberg-tm License for all works posted with the - permission of the copyright holder found at the beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including any - word processing or hypertext form. However, if you provide access to or - distribute copies of a Project Gutenberg-tm work in a format other than - "Plain Vanilla ASCII" or other format used in the official version - posted on the official Project Gutenberg-tm web site (www.gutenberg.org), - you must, at no additional cost, fee or expense to the user, provide a - copy, a means of exporting a copy, or a means of obtaining a copy upon - request, of the work in its original "Plain Vanilla ASCII" or other - form. Any alternate format must include the full Project Gutenberg-tm - License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works provided - that - - - You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is - owed to the owner of the Project Gutenberg-tm trademark, but he - has agreed to donate royalties under this paragraph to the - Project Gutenberg Literary Archive Foundation. Royalty payments - must be paid within 60 days following each date on which you - prepare (or are legally required to prepare) your periodic tax - returns. Royalty payments should be clearly marked as such and - sent to the Project Gutenberg Literary Archive Foundation at the - address specified in Section 4, "Information about donations to - the Project Gutenberg Literary Archive Foundation." - - - You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or - destroy all copies of the works possessed in a physical medium - and discontinue all use of and all access to other copies of - Project Gutenberg-tm works. - - - You provide, in accordance with paragraph 1.F.3, a full refund of any - money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days - of receipt of the work. - - - You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm - electronic work or group of works on different terms than are set - forth in this agreement, you must obtain permission in writing from - both the Project Gutenberg Literary Archive Foundation and Michael - Hart, the owner of the Project Gutenberg-tm trademark. Contact the - Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - public domain works in creating the Project Gutenberg-tm - collection. Despite these efforts, Project Gutenberg-tm electronic - works, and the medium on which they may be stored, may contain - "Defects," such as, but not limited to, incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other intellectual - property infringement, a defective or damaged disk or other medium, a - computer virus, or computer codes that damage or cannot be read by - your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium with - your written explanation. The person or entity that provided you with - the defective work may elect to provide a replacement copy in lieu of a - refund. If you received the work electronically, the person or entity - providing it to you may choose to give you a second opportunity to - receive the work electronically in lieu of a refund. If the second copy - is also defective, you may demand a refund in writing without further - opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO - WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of damages. - If any disclaimer or limitation set forth in this agreement violates the - law of the state applicable to this agreement, the agreement shall be - interpreted to make the maximum disclaimer or limitation permitted by - the applicable state law. The invalidity or unenforceability of any - provision of this agreement shall not void the remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in accordance - with this agreement, and any volunteers associated with the production, - promotion and distribution of Project Gutenberg-tm electronic works, - harmless from all liability, costs and expenses, including legal fees, - that arise directly or indirectly from any of the following which you do - or cause to occur: (a) distribution of this or any Project Gutenberg-tm - work, (b) alteration, modification, or additions or deletions to any - Project Gutenberg-tm work, and (c) any Defect you cause. - - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of computers - including obsolete, old, middle-aged and new computers. It exists - because of the efforts of hundreds of volunteers and donations from - people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need, are critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future generations. - To learn more about the Project Gutenberg Literary Archive Foundation - and how your efforts and donations can help, see Sections 3 and 4 - and the Foundation web page at http://www.pglaf.org. - - Section 3. Information about the Project Gutenberg Literary Archive - Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Its 501(c)(3) letter is posted at - http://pglaf.org/fundraising. Contributions to the Project Gutenberg - Literary Archive Foundation are tax deductible to the full extent - permitted by U.S. federal laws and your state's laws. - - The Foundation's principal office is located at 4557 Melan Dr. S. - Fairbanks, AK, 99712., but its volunteers and employees are scattered - throughout numerous locations. Its business office is located at - 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email - business@pglaf.org. Email contact links and up to date contact - information can be found at the Foundation's web site and official - page at http://pglaf.org - - For additional contact information: - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To - SEND DONATIONS or determine the status of compliance for any - particular state visit http://pglaf.org - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including checks, online payments and credit card donations. - To donate, please visit: http://pglaf.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic - works. - - Professor Michael S. Hart is the originator of the Project Gutenberg-tm - concept of a library of electronic works that could be freely shared - with anyone. For thirty years, he produced and distributed Project - Gutenberg-tm eBooks with only a loose network of volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the U.S. - unless a copyright notice is included. Thus, we do not necessarily - keep eBooks in compliance with any particular paper edition. - - Most people start at our Web site which has the main PG search facility: - - http://www.gutenberg.org - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of Project Gutenberg's Una notte bizzarra, by Anton Giulio Barrili + + *** END OF THIS PROJECT GUTENBERG EBOOK UNA NOTTE BIZZARRA *** + + ***** This file should be named 29636-8.txt or 29636-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/2/9/6/3/29636/ + + Produced by Claudio Paganelli, Carlo Traverso and the + Online Distributed Proofreading Team at http://www.pgdp.net + (This file was produced from images generously made + available by The Internet Archive/Canadian Libraries) + + Updated editions will replace the previous one--the old editions + will be renamed. + + Creating the works from public domain print editions means that no + one owns a United States copyright in these works, so the Foundation + (and you!) can copy and distribute it in the United States without + permission and without paying copyright royalties. Special rules, + set forth in the General Terms of Use part of this license, apply to + copying and distributing Project Gutenberg-tm electronic works to + protect the PROJECT GUTENBERG-tm concept and trademark. Project + Gutenberg is a registered trademark, and may not be used if you + charge for the eBooks, unless you receive specific permission. If you + do not charge anything for copies of this eBook, complying with the + rules is very easy. You may use this eBook for nearly any purpose + such as creation of derivative works, reports, performances and + research. They may be modified and printed and given away--you may do + practically ANYTHING with public domain eBooks. Redistribution is + subject to the trademark license, especially commercial + redistribution. + + *** START: FULL LICENSE *** + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full Project + Gutenberg-tm License (available with this file or online at + http://gutenberg.org/license). + + Section 1. General Terms of Use and Redistributing Project Gutenberg-tm + electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or destroy + all copies of Project Gutenberg-tm electronic works in your possession. + If you paid a fee for obtaining a copy of or access to a Project + Gutenberg-tm electronic work and you do not agree to be bound by the + terms of this agreement, you may obtain a refund from the person or + entity to whom you paid the fee as set forth in paragraph 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this agreement + and help preserve free future access to Project Gutenberg-tm electronic + works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the Foundation" + or PGLAF), owns a compilation copyright in the collection of Project + Gutenberg-tm electronic works. Nearly all the individual works in the + collection are in the public domain in the United States. If an + individual work is in the public domain in the United States and you are + located in the United States, we do not claim a right to prevent you from + copying, distributing, performing, displaying or creating derivative + works based on the work as long as all references to Project Gutenberg + are removed. Of course, we hope that you will support the Project + Gutenberg-tm mission of promoting free access to electronic works by + freely sharing Project Gutenberg-tm works in compliance with the terms of + this agreement for keeping the Project Gutenberg-tm name associated with + the work. You can easily comply with the terms of this agreement by + keeping this work in the same format with its attached full Project + Gutenberg-tm License when you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are in + a constant state of change. If you are outside the United States, check + the laws of your country in addition to the terms of this agreement + before downloading, copying, displaying, performing, distributing or + creating derivative works based on this work or any other Project + Gutenberg-tm work. The Foundation makes no representations concerning + the copyright status of any work in any country outside the United + States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other immediate + access to, the full Project Gutenberg-tm License must appear prominently + whenever any copy of a Project Gutenberg-tm work (any work on which the + phrase "Project Gutenberg" appears, or with which the phrase "Project + Gutenberg" is associated) is accessed, displayed, performed, viewed, + copied or distributed: + + This eBook is for the use of anyone anywhere at no cost and with + almost no restrictions whatsoever. You may copy it, give it away or + re-use it under the terms of the Project Gutenberg License included + with this eBook or online at www.gutenberg.org + + 1.E.2. If an individual Project Gutenberg-tm electronic work is derived + from the public domain (does not contain a notice indicating that it is + posted with permission of the copyright holder), the work can be copied + and distributed to anyone in the United States without paying any fees + or charges. If you are redistributing or providing access to a work + with the phrase "Project Gutenberg" associated with or appearing on the + work, you must comply either with the requirements of paragraphs 1.E.1 + through 1.E.7 or obtain permission for the use of the work and the + Project Gutenberg-tm trademark as set forth in paragraphs 1.E.8 or + 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any additional + terms imposed by the copyright holder. Additional terms will be linked + to the Project Gutenberg-tm License for all works posted with the + permission of the copyright holder found at the beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including any + word processing or hypertext form. However, if you provide access to or + distribute copies of a Project Gutenberg-tm work in a format other than + "Plain Vanilla ASCII" or other format used in the official version + posted on the official Project Gutenberg-tm web site (www.gutenberg.org), + you must, at no additional cost, fee or expense to the user, provide a + copy, a means of exporting a copy, or a means of obtaining a copy upon + request, of the work in its original "Plain Vanilla ASCII" or other + form. Any alternate format must include the full Project Gutenberg-tm + License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works provided + that + + - You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is + owed to the owner of the Project Gutenberg-tm trademark, but he + has agreed to donate royalties under this paragraph to the + Project Gutenberg Literary Archive Foundation. Royalty payments + must be paid within 60 days following each date on which you + prepare (or are legally required to prepare) your periodic tax + returns. Royalty payments should be clearly marked as such and + sent to the Project Gutenberg Literary Archive Foundation at the + address specified in Section 4, "Information about donations to + the Project Gutenberg Literary Archive Foundation." + + - You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or + destroy all copies of the works possessed in a physical medium + and discontinue all use of and all access to other copies of + Project Gutenberg-tm works. + + - You provide, in accordance with paragraph 1.F.3, a full refund of any + money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days + of receipt of the work. + + - You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project Gutenberg-tm + electronic work or group of works on different terms than are set + forth in this agreement, you must obtain permission in writing from + both the Project Gutenberg Literary Archive Foundation and Michael + Hart, the owner of the Project Gutenberg-tm trademark. Contact the + Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + public domain works in creating the Project Gutenberg-tm + collection. Despite these efforts, Project Gutenberg-tm electronic + works, and the medium on which they may be stored, may contain + "Defects," such as, but not limited to, incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other intellectual + property infringement, a defective or damaged disk or other medium, a + computer virus, or computer codes that damage or cannot be read by + your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH F3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium with + your written explanation. The person or entity that provided you with + the defective work may elect to provide a replacement copy in lieu of a + refund. If you received the work electronically, the person or entity + providing it to you may choose to give you a second opportunity to + receive the work electronically in lieu of a refund. If the second copy + is also defective, you may demand a refund in writing without further + opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS' WITH NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO + WARRANTIES OF MERCHANTIBILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of damages. + If any disclaimer or limitation set forth in this agreement violates the + law of the state applicable to this agreement, the agreement shall be + interpreted to make the maximum disclaimer or limitation permitted by + the applicable state law. The invalidity or unenforceability of any + provision of this agreement shall not void the remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in accordance + with this agreement, and any volunteers associated with the production, + promotion and distribution of Project Gutenberg-tm electronic works, + harmless from all liability, costs and expenses, including legal fees, + that arise directly or indirectly from any of the following which you do + or cause to occur: (a) distribution of this or any Project Gutenberg-tm + work, (b) alteration, modification, or additions or deletions to any + Project Gutenberg-tm work, and (c) any Defect you cause. + + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of computers + including obsolete, old, middle-aged and new computers. It exists + because of the efforts of hundreds of volunteers and donations from + people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need, are critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future generations. + To learn more about the Project Gutenberg Literary Archive Foundation + and how your efforts and donations can help, see Sections 3 and 4 + and the Foundation web page at http://www.pglaf.org. + + Section 3. Information about the Project Gutenberg Literary Archive + Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Its 501(c)(3) letter is posted at + http://pglaf.org/fundraising. Contributions to the Project Gutenberg + Literary Archive Foundation are tax deductible to the full extent + permitted by U.S. federal laws and your state's laws. + + The Foundation's principal office is located at 4557 Melan Dr. S. + Fairbanks, AK, 99712., but its volunteers and employees are scattered + throughout numerous locations. Its business office is located at + 809 North 1500 West, Salt Lake City, UT 84116, (801) 596-1887, email + business@pglaf.org. Email contact links and up to date contact + information can be found at the Foundation's web site and official + page at http://pglaf.org + + For additional contact information: + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To + SEND DONATIONS or determine the status of compliance for any + particular state visit http://pglaf.org + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including checks, online payments and credit card donations. + To donate, please visit: http://pglaf.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic + works. + + Professor Michael S. Hart is the originator of the Project Gutenberg-tm + concept of a library of electronic works that could be freely shared + with anyone. For thirty years, he produced and distributed Project + Gutenberg-tm eBooks with only a loose network of volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the U.S. + unless a copyright notice is included. Thus, we do not necessarily + keep eBooks in compliance with any particular paper edition. + + Most people start at our Web site which has the main PG search facility: + + http://www.gutenberg.org + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Address.php index 05100db..fecdbdc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Address.php @@ -2,136 +2,384 @@ namespace Faker\Provider\ja_JP; -class Address extends \Faker\Provider\Address -{ - protected static $country = [ - 'アフガニスタン', 'アルバニア', 'アルジェリア', 'アメリカ領サモア', 'アンドラ', 'アンゴラ', 'アンギラ', '南極大陸', 'アンティグアバーブーダ', 'アルゼンチン', 'アルメニア', 'アルバ', 'オーストラリア', 'オーストリア', 'アゼルバイジャン', - 'バハマ', 'バーレーン', 'バングラデシュ', 'バルバドス', 'ベラルーシ', 'ベルギー', 'ベリーズ', 'ベナン', 'バミューダ島', 'ブータン', 'ボリビア', 'ボスニア・ヘルツェゴビナ', 'ボツワナ', 'ブーベ島', 'ブラジル', 'イギリス領インド洋地域', 'イギリス領ヴァージン諸島', 'ブルネイ', 'ブルガリア', 'ブルキナファソ', 'ブルンジ', - 'カンボジア', 'カメルーン', 'カナダ', 'カーボベルデ', 'ケイマン諸島', '中央アフリカ共和国', 'チャド', 'チリ', '中国', 'クリスマス島', 'ココス諸島', 'コロンビア', 'コモロ', 'コンゴ共和国', 'クック諸島', 'コスタリカ', 'コートジボワール', 'クロアチア', 'キューバ', 'キプロス共和国', 'チェコ共和国', - 'デンマーク', 'ジブチ共和国', 'ドミニカ国', 'ドミニカ共和国', - 'エクアドル', 'エジプト', 'エルサルバドル', '赤道ギニア共和国', 'エリトリア', 'エストニア', 'エチオピア', - 'フェロー諸島', 'フォークランド諸島', 'フィジー共和国', 'フィンランド', 'フランス', 'フランス領ギアナ', 'フランス領ポリネシア', 'フランス領極南諸島', - 'ガボン', 'ガンビア', 'ジョージア', 'ドイツ', 'ガーナ', 'ジブラルタル', 'ギリシャ', 'グリーンランド', 'グレナダ', 'グアドループ', 'グアム', 'グアテマラ', 'ガーンジー', 'ギニア', 'ギニアビサウ', 'ガイアナ', - 'ハイチ', 'ハード島とマクドナルド諸島', 'バチカン市国', 'ホンジュラス', '香港', 'ハンガリー', - 'アイスランド', 'インド', 'インドネシア', 'イラン', 'イラク', 'アイルランド共和国', 'マン島', 'イスラエル', 'イタリア', - 'ジャマイカ', '日本', 'ジャージー島', 'ヨルダン', - 'カザフスタン', 'ケニア', 'キリバス', '朝鮮', '韓国', 'クウェート', 'キルギス共和国', - 'ラオス人民民主共和国', 'ラトビア', 'レバノン', 'レソト', 'リベリア', 'リビア国', 'リヒテンシュタイン', 'リトアニア', 'ルクセンブルク', - 'マカオ', 'マケドニア共和国', 'マダガスカル', 'マラウィ', 'マレーシア', 'モルディブ', 'マリ', 'マルタ共和国', 'マーシャル諸島', 'マルティニーク', 'モーリタニア・イスラム共和国', 'モーリシャス', 'マヨット', 'メキシコ', 'ミクロネシア連邦', 'モルドバ共和国', 'モナコ公国', 'モンゴル', 'モンテネグロ共和国', 'モントセラト', 'モロッコ', 'モザンビーク', 'ミャンマー', - 'ナミビア', 'ナウル', 'ネパール', 'オランダ領アンティル', 'オランダ', 'ニューカレドニア', 'ニュージーランド', 'ニカラグア', 'ニジェール', 'ナイジェリア', 'ニース', 'ノーフォーク島', '北マリアナ諸島', 'ノルウェー', - 'オマーン', - 'パキスタン', 'パラオ', 'パレスチナ自治区', 'パナマ', 'パプアニューギニア', 'パラグアイ', 'ペルー', 'フィリピン', 'ピトケアン諸島', 'ポーランド', 'ポルトガル', 'プエルトリコ', - 'カタール', - 'レユニオン', 'ルーマニア', 'ロシア', 'ルワンダ', - 'サン・バルテルミー島', 'セントヘレナ', 'セントクリストファー・ネイビス連邦', 'セントルシア', 'セント・マーチン島', 'サンピエール島・ミクロン島', 'セントビンセント・グレナディーン', 'サモア', 'サンマリノ', 'サントメプリンシペ', 'サウジアラビア', 'セネガル', 'セルビア', 'セイシェル', 'シエラレオネ', 'シンガポール', 'スロバキア', 'スロベニア', 'ソロモン諸島', 'ソマリア', '南アフリカ共和国', 'サウスジョージア・サウスサンドウィッチ諸島', 'スペイン', 'スリランカ', 'スーダン', 'スリナム', 'スヴァールバル諸島およびヤンマイエン島', 'スワジランド王国', 'スウェーデン', 'スイス', 'シリア', - '台湾', 'タジキスタン共和国', 'タンザニア', 'タイ', '東ティモール', 'トーゴ', 'トケラウ', 'トンガ', 'トリニダード・トバゴ', 'チュニジア', 'トルコ', 'トルクメニスタン', 'タークス・カイコス諸島', 'ツバル', - 'ウガンダ', 'ウクライナ', 'アラブ首長国連邦', 'イギリス', 'アメリカ合衆国', '合衆国領有小離島', 'アメリカ領ヴァージン諸島', 'ウルグアイ', 'ウズベキスタン', - 'バヌアツ', 'ベネズエラ', 'ベトナム', - 'ウォリス・フツナ', '西サハラ', - 'イエメン', - 'ザンビア', 'ジンバブエ', - ]; - protected static $prefecture = [ - '北海道', - '青森県', '岩手県', '宮城県', '秋田県', '山形県', '福島県', - '茨城県', '栃木県', '群馬県', '埼玉県', '千葉県', '東京都', '神奈川県', - '新潟県', '富山県', '石川県', '福井県', '山梨県', '長野県', '岐阜県', '静岡県', '愛知県', - '三重県', '滋賀県', '京都府', '大阪府', '兵庫県', '奈良県', '和歌山県', - '鳥取県', '島根県', '岡山県', '広島県', '山口県', - '徳島県', '香川県', '愛媛県', '高知県', - '福岡県', '佐賀県', '長崎県', '熊本県', '大分県', '宮崎県', '鹿児島県', - '沖縄県', - ]; - protected static $ward = ['中央', '北', '東', '南', '西']; +class Address extends \Faker\Provider\Address { + protected static $country = [ + 'アフガニスタン', + 'アルバニア', + 'アルジェリア', + 'アメリカ領サモア', + 'アンドラ', + 'アンゴラ', + 'アンギラ', + '南極大陸', + 'アンティグアバーブーダ', + 'アルゼンチン', + 'アルメニア', + 'アルバ', + 'オーストラリア', + 'オーストリア', + 'アゼルバイジャン', + 'バハマ', + 'バーレーン', + 'バングラデシュ', + 'バルバドス', + 'ベラルーシ', + 'ベルギー', + 'ベリーズ', + 'ベナン', + 'バミューダ島', + 'ブータン', + 'ボリビア', + 'ボスニア・ヘルツェゴビナ', + 'ボツワナ', + 'ブーベ島', + 'ブラジル', + 'イギリス領インド洋地域', + 'イギリス領ヴァージン諸島', + 'ブルネイ', + 'ブルガリア', + 'ブルキナファソ', + 'ブルンジ', + 'カンボジア', + 'カメルーン', + 'カナダ', + 'カーボベルデ', + 'ケイマン諸島', + '中央アフリカ共和国', + 'チャド', + 'チリ', + '中国', + 'クリスマス島', + 'ココス諸島', + 'コロンビア', + 'コモロ', + 'コンゴ共和国', + 'クック諸島', + 'コスタリカ', + 'コートジボワール', + 'クロアチア', + 'キューバ', + 'キプロス共和国', + 'チェコ共和国', + 'デンマーク', + 'ジブチ共和国', + 'ドミニカ国', + 'ドミニカ共和国', + 'エクアドル', + 'エジプト', + 'エルサルバドル', + '赤道ギニア共和国', + 'エリトリア', + 'エストニア', + 'エチオピア', + 'フェロー諸島', + 'フォークランド諸島', + 'フィジー共和国', + 'フィンランド', + 'フランス', + 'フランス領ギアナ', + 'フランス領ポリネシア', + 'フランス領極南諸島', + 'ガボン', + 'ガンビア', + 'ジョージア', + 'ドイツ', + 'ガーナ', + 'ジブラルタル', + 'ギリシャ', + 'グリーンランド', + 'グレナダ', + 'グアドループ', + 'グアム', + 'グアテマラ', + 'ガーンジー', + 'ギニア', + 'ギニアビサウ', + 'ガイアナ', + 'ハイチ', + 'ハード島とマクドナルド諸島', + 'バチカン市国', + 'ホンジュラス', + '香港', + 'ハンガリー', + 'アイスランド', + 'インド', + 'インドネシア', + 'イラン', + 'イラク', + 'アイルランド共和国', + 'マン島', + 'イスラエル', + 'イタリア', + 'ジャマイカ', + '日本', + 'ジャージー島', + 'ヨルダン', + 'カザフスタン', + 'ケニア', + 'キリバス', + '朝鮮', + '韓国', + 'クウェート', + 'キルギス共和国', + 'ラオス人民民主共和国', + 'ラトビア', + 'レバノン', + 'レソト', + 'リベリア', + 'リビア国', + 'リヒテンシュタイン', + 'リトアニア', + 'ルクセンブルク', + 'マカオ', + 'マケドニア共和国', + 'マダガスカル', + 'マラウィ', + 'マレーシア', + 'モルディブ', + 'マリ', + 'マルタ共和国', + 'マーシャル諸島', + 'マルティニーク', + 'モーリタニア・イスラム共和国', + 'モーリシャス', + 'マヨット', + 'メキシコ', + 'ミクロネシア連邦', + 'モルドバ共和国', + 'モナコ公国', + 'モンゴル', + 'モンテネグロ共和国', + 'モントセラト', + 'モロッコ', + 'モザンビーク', + 'ミャンマー', + 'ナミビア', + 'ナウル', + 'ネパール', + 'オランダ領アンティル', + 'オランダ', + 'ニューカレドニア', + 'ニュージーランド', + 'ニカラグア', + 'ニジェール', + 'ナイジェリア', + 'ニース', + 'ノーフォーク島', + '北マリアナ諸島', + 'ノルウェー', + 'オマーン', + 'パキスタン', + 'パラオ', + 'パレスチナ自治区', + 'パナマ', + 'パプアニューギニア', + 'パラグアイ', + 'ペルー', + 'フィリピン', + 'ピトケアン諸島', + 'ポーランド', + 'ポルトガル', + 'プエルトリコ', + 'カタール', + 'レユニオン', + 'ルーマニア', + 'ロシア', + 'ルワンダ', + 'サン・バルテルミー島', + 'セントヘレナ', + 'セントクリストファー・ネイビス連邦', + 'セントルシア', + 'セント・マーチン島', + 'サンピエール島・ミクロン島', + 'セントビンセント・グレナディーン', + 'サモア', + 'サンマリノ', + 'サントメプリンシペ', + 'サウジアラビア', + 'セネガル', + 'セルビア', + 'セイシェル', + 'シエラレオネ', + 'シンガポール', + 'スロバキア', + 'スロベニア', + 'ソロモン諸島', + 'ソマリア', + '南アフリカ共和国', + 'サウスジョージア・サウスサンドウィッチ諸島', + 'スペイン', + 'スリランカ', + 'スーダン', + 'スリナム', + 'スヴァールバル諸島およびヤンマイエン島', + 'スワジランド王国', + 'スウェーデン', + 'スイス', + 'シリア', + '台湾', + 'タジキスタン共和国', + 'タンザニア', + 'タイ', + '東ティモール', + 'トーゴ', + 'トケラウ', + 'トンガ', + 'トリニダード・トバゴ', + 'チュニジア', + 'トルコ', + 'トルクメニスタン', + 'タークス・カイコス諸島', + 'ツバル', + 'ウガンダ', + 'ウクライナ', + 'アラブ首長国連邦', + 'イギリス', + 'アメリカ合衆国', + '合衆国領有小離島', + 'アメリカ領ヴァージン諸島', + 'ウルグアイ', + 'ウズベキスタン', + 'バヌアツ', + 'ベネズエラ', + 'ベトナム', + 'ウォリス・フツナ', + '西サハラ', + 'イエメン', + 'ザンビア', + 'ジンバブエ', + ]; + protected static $prefecture = [ + '北海道', + '青森県', + '岩手県', + '宮城県', + '秋田県', + '山形県', + '福島県', + '茨城県', + '栃木県', + '群馬県', + '埼玉県', + '千葉県', + '東京都', + '神奈川県', + '新潟県', + '富山県', + '石川県', + '福井県', + '山梨県', + '長野県', + '岐阜県', + '静岡県', + '愛知県', + '三重県', + '滋賀県', + '京都府', + '大阪府', + '兵庫県', + '奈良県', + '和歌山県', + '鳥取県', + '島根県', + '岡山県', + '広島県', + '山口県', + '徳島県', + '香川県', + '愛媛県', + '高知県', + '福岡県', + '佐賀県', + '長崎県', + '熊本県', + '大分県', + '宮崎県', + '鹿児島県', + '沖縄県', + ]; + protected static $ward = [ '中央', '北', '東', '南', '西' ]; - protected static $citySuffix = ['市']; - protected static $wardSuffix = ['区']; - protected static $streetSuffix = ['町']; + protected static $citySuffix = [ '市' ]; + protected static $wardSuffix = [ '区' ]; + protected static $streetSuffix = [ '町' ]; - protected static $postcodeFormats = ['{{postcode1}}{{postcode2}}']; - protected static $cityFormats = [ - '{{lastName}}{{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}{{lastName}}{{areaNumber}}-{{areaNumber}}-{{areaNumber}}', - ]; - protected static $addressFormats = [ - '{{postcode}} {{prefecture}}{{city}}{{ward}}{{streetAddress}}', - '{{postcode}} {{prefecture}}{{city}}{{ward}}{{streetAddress}} {{secondaryAddress}}', - ]; - protected static $secondaryAddressFormats = [ - 'ハイツ{{lastName}}{{buildingNumber}}号', - 'コーポ{{lastName}}{{buildingNumber}}号', - ]; + protected static $postcodeFormats = [ '{{postcode1}}{{postcode2}}' ]; + protected static $cityFormats = [ + '{{lastName}}{{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}{{lastName}}{{areaNumber}}-{{areaNumber}}-{{areaNumber}}', + ]; + protected static $addressFormats = [ + '{{postcode}} {{prefecture}}{{city}}{{ward}}{{streetAddress}}', + '{{postcode}} {{prefecture}}{{city}}{{ward}}{{streetAddress}} {{secondaryAddress}}', + ]; + protected static $secondaryAddressFormats = [ + 'ハイツ{{lastName}}{{buildingNumber}}号', + 'コーポ{{lastName}}{{buildingNumber}}号', + ]; - /** - * @example 111 - */ - public static function postcode1() - { - return self::numberBetween(100, 999); - } + /** + * @example 111 + */ + public static function postcode1() { + return self::numberBetween( 100, 999 ); + } - /** - * @example 2222 - */ - public static function postcode2() - { - return self::numberBetween(1000, 9999); - } + /** + * @example 2222 + */ + public static function postcode2() { + return self::numberBetween( 1000, 9999 ); + } - /** - * @example 1112222 - */ - public static function postcode() - { - $postcode1 = static::postcode1(); - $postcode2 = static::postcode2(); + /** + * @example 1112222 + */ + public static function postcode() { + $postcode1 = static::postcode1(); + $postcode2 = static::postcode2(); - return $postcode1 . $postcode2; - } + return $postcode1 . $postcode2; + } - /** - * @example '東京都' - */ - public static function prefecture() - { - return static::randomElement(static::$prefecture); - } + /** + * @example '東京都' + */ + public static function prefecture() { + return static::randomElement( static::$prefecture ); + } - /** - * @example '北区' - */ - public static function ward() - { - $ward = static::randomElement(static::$ward); - $suffix = static::randomElement(static::$wardSuffix); + /** + * @example '北区' + */ + public static function ward() { + $ward = static::randomElement( static::$ward ); + $suffix = static::randomElement( static::$wardSuffix ); - return $ward . $suffix; - } + return $ward . $suffix; + } - /** - * 丁、番地、号 - * - * @return int - */ - public static function areaNumber() - { - return self::numberBetween(1, 10); - } + /** + * 丁、番地、号 + * + * @return int + */ + public static function areaNumber() { + return self::numberBetween( 1, 10 ); + } - public static function buildingNumber() - { - return (string) self::numberBetween(101, 110); - } + public static function buildingNumber() { + return (string) self::numberBetween( 101, 110 ); + } - public function secondaryAddress() - { - $format = static::randomElement(static::$secondaryAddressFormats); + public function secondaryAddress() { + $format = static::randomElement( static::$secondaryAddressFormats ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Company.php index 0e4b88d..ef43706 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Company.php @@ -2,16 +2,14 @@ namespace Faker\Provider\ja_JP; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}} {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}} {{lastName}}', + ]; - protected static $companyPrefix = ['株式会社', '有限会社']; + protected static $companyPrefix = [ '株式会社', '有限会社' ]; - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Internet.php index 24fd181..47c6d18 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Internet.php @@ -2,92 +2,178 @@ namespace Faker\Provider\ja_JP; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', - '{{firstNameAscii}}.{{lastNameAscii}}', - '{{firstNameAscii}}##', - '?{{lastNameAscii}}', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; - protected static $safeEmailTld = [ - 'org', 'com', 'net', 'jp', 'jp', 'jp', - ]; + protected static $safeEmailTld = [ + 'org', + 'com', + 'net', + 'jp', + 'jp', + 'jp', + ]; - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.co.jp', 'hotmail.co.jp', 'mail.goo.ne.jp', - ]; + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.co.jp', + 'hotmail.co.jp', + 'mail.goo.ne.jp', + ]; - protected static $tld = [ - 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'jp', 'jp', 'jp', - ]; + protected static $tld = [ + 'com', + 'com', + 'com', + 'biz', + 'info', + 'net', + 'org', + 'jp', + 'jp', + 'jp', + ]; - /** - * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E3%81%AE%E8%8B%97%E5%AD%97%28%E5%90%8D%E5%AD%97%29%E3%81%AE%E4%B8%80%E8%A6%A7 - */ - protected static $lastNameAscii = [ - 'aota', 'aoyama', 'ishida', 'idaka', 'ito', 'uno', 'ekoda', 'ogaki', - 'kato', 'kanou', 'kijima', 'kimura', 'kiriyama', 'kudo', 'koizumi', 'kobayashi', 'kondo', - 'saito', 'sakamoto', 'sasaki', 'sato', 'sasada', 'suzuki', 'sugiyama', - 'takahashi', 'tanaka', 'tanabe', 'tsuda', - 'nakajima', 'nakamura', 'nagisa', 'nakatsugawa', 'nishinosono', 'nomura', - 'harada', 'hamada', 'hirokawa', 'fujimoto', - 'matsumoto', 'miyake', 'miyazawa', 'murayama', - 'yamagishi', 'yamaguchi', 'yamada', 'yamamoto', 'yoshida', 'yoshimoto', - 'wakamatsu', 'watanabe', - ]; + /** + * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E3%81%AE%E8%8B%97%E5%AD%97%28%E5%90%8D%E5%AD%97%29%E3%81%AE%E4%B8%80%E8%A6%A7 + */ + protected static $lastNameAscii = [ + 'aota', + 'aoyama', + 'ishida', + 'idaka', + 'ito', + 'uno', + 'ekoda', + 'ogaki', + 'kato', + 'kanou', + 'kijima', + 'kimura', + 'kiriyama', + 'kudo', + 'koizumi', + 'kobayashi', + 'kondo', + 'saito', + 'sakamoto', + 'sasaki', + 'sato', + 'sasada', + 'suzuki', + 'sugiyama', + 'takahashi', + 'tanaka', + 'tanabe', + 'tsuda', + 'nakajima', + 'nakamura', + 'nagisa', + 'nakatsugawa', + 'nishinosono', + 'nomura', + 'harada', + 'hamada', + 'hirokawa', + 'fujimoto', + 'matsumoto', + 'miyake', + 'miyazawa', + 'murayama', + 'yamagishi', + 'yamaguchi', + 'yamada', + 'yamamoto', + 'yoshida', + 'yoshimoto', + 'wakamatsu', + 'watanabe', + ]; - /** - * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 - * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ - */ - protected static $firstNameAscii = [ - 'akira', 'atsushi', 'osamu', - 'akemi', 'asuka', - 'kazuya', 'kyosuke', 'kenichi', - 'kaori', 'kana', 'kumiko', - 'shuhei', 'shota', 'jun', 'soutaro', - 'sayuri', 'satomi', - 'taichi', 'taro', 'takuma', 'tsubasa', 'tomoya', - 'chiyo', - 'naoki', 'naoto', - 'naoko', 'nanami', - 'hideki', 'hiroshi', - 'hanako', 'haruka', - 'manabu', 'mitsuru', 'minoru', - 'maaya', 'mai', 'mikako', 'miki', 'momoko', - 'yuki', 'yuta', 'yasuhiro', 'youichi', 'yosuke', - 'yui', 'yumiko', 'yoko', - 'ryosuke', 'ryohei', 'rei', - 'rika', - ]; + /** + * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 + * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ + */ + protected static $firstNameAscii = [ + 'akira', + 'atsushi', + 'osamu', + 'akemi', + 'asuka', + 'kazuya', + 'kyosuke', + 'kenichi', + 'kaori', + 'kana', + 'kumiko', + 'shuhei', + 'shota', + 'jun', + 'soutaro', + 'sayuri', + 'satomi', + 'taichi', + 'taro', + 'takuma', + 'tsubasa', + 'tomoya', + 'chiyo', + 'naoki', + 'naoto', + 'naoko', + 'nanami', + 'hideki', + 'hiroshi', + 'hanako', + 'haruka', + 'manabu', + 'mitsuru', + 'minoru', + 'maaya', + 'mai', + 'mikako', + 'miki', + 'momoko', + 'yuki', + 'yuta', + 'yasuhiro', + 'youichi', + 'yosuke', + 'yui', + 'yumiko', + 'yoko', + 'ryosuke', + 'ryohei', + 'rei', + 'rika', + ]; - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } - /** - * @example 'suzuki.taro' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); + /** + * @example 'suzuki.taro' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - /** - * @example 'yamada.jp' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } + /** + * @example 'yamada.jp' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Person.php index 399e559..31f18f9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Person.php @@ -2,146 +2,316 @@ namespace Faker\Provider\ja_JP; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{lastName}} {{firstNameMale}}', - ]; - - protected static $femaleNameFormats = [ - '{{lastName}} {{firstNameFemale}}', - ]; - - /** - * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 - * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ - */ - protected static $firstNameMale = [ - '晃', '篤司', '治', '和也', '京助', '健一', '修平', '翔太', '淳', '聡太郎', '太一', '太郎', '拓真', '翼', '智也', - '直樹', '直人', '英樹', '浩', '学', '充', '稔', '裕樹', '裕太', '康弘', '陽一', '洋介', '亮介', '涼平', '零', - ]; - - /** - * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 - * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ - */ - protected static $firstNameFemale = [ - '明美', 'あすか', '香織', '加奈', 'くみ子', 'さゆり', '知実', '千代', - '直子', '七夏', '花子', '春香', '真綾', '舞', '美加子', '幹', '桃子', '結衣', '裕美子', '陽子', '里佳', - ]; - - /** - * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E3%81%AE%E8%8B%97%E5%AD%97%28%E5%90%8D%E5%AD%97%29%E3%81%AE%E4%B8%80%E8%A6%A7 - */ - protected static $lastName = [ - '青田', '青山', '石田', '井高', '伊藤', '井上', '宇野', '江古田', '大垣', - '加藤', '加納', '喜嶋', '木村', '桐山', '工藤', '小泉', '小林', '近藤', - '斉藤', '坂本', '佐々木', '佐藤', '笹田', '鈴木', '杉山', - '高橋', '田中', '田辺', '津田', - '中島', '中村', '渚', '中津川', '西之園', '野村', - '原田', '浜田', '廣川', '藤本', - '松本', '三宅', '宮沢', '村山', - '山岸', '山口', '山田', '山本', '吉田', '吉本', - '若松', '渡辺', - ]; - - protected static $firstKanaNameFormat = [ - '{{firstKanaNameMale}}', - '{{firstKanaNameFemale}}', - ]; - - protected static $maleKanaNameFormats = [ - '{{lastKanaName}} {{firstKanaNameMale}}', - ]; - - protected static $femaleKanaNameFormats = [ - '{{lastKanaName}} {{firstKanaNameFemale}}', - ]; - - protected static $firstKanaNameMale = [ - 'アキラ', 'アツシ', 'オサム', 'カズヤ', 'キョウスケ', 'ケンイチ', 'シュウヘイ', 'ショウタ', 'ジュン', 'ソウタロウ', - 'タイチ', 'タロウ', 'タクマ', 'ツバサ', 'トモヤ', 'ナオキ', 'ナオト', 'ヒデキ', 'ヒロシ', 'マナブ', 'ミツル', 'ミノル', - 'ユウキ', 'ユウタ', 'ヤスヒロ', 'ヨウイチ', 'ヨウスケ', 'リョウスケ', 'リョウヘイ', 'レイ', - ]; - - protected static $firstKanaNameFemale = [ - 'アケミ', 'アスカ', 'カオリ', 'カナ', 'クミコ', 'サユリ', 'サトミ', 'チヨ', - 'ナオコ', 'ナナミ', 'ハナコ', 'ハルカ', 'マアヤ', 'マイ', 'ミカコ', 'ミキ', 'モモコ', 'ユイ', 'ユミコ', 'ヨウコ', 'リカ', - ]; - - protected static $lastKanaName = [ - 'アオタ', 'アオヤマ', 'イシダ', 'イダカ', 'イトウ', 'ウノ', 'エコダ', 'オオガキ', - 'カノウ', 'カノウ', 'キジマ', 'キムラ', 'キリヤマ', 'クドウ', 'コイズミ', 'コバヤシ', 'コンドウ', - 'サイトウ', 'サカモト', 'ササキ', 'サトウ', 'ササダ', 'スズキ', 'スギヤマ', - 'タカハシ', 'タナカ', 'タナベ', 'ツダ', - 'ナカジマ', 'ナカムラ', 'ナギサ', 'ナカツガワ', 'ニシノソノ', 'ノムラ', - 'ハラダ', 'ハマダ', 'ヒロカワ', 'フジモト', - 'マツモト', 'ミヤケ', 'ミヤザワ', 'ムラヤマ', - 'ヤマギシ', 'ヤマグチ', 'ヤマダ', 'ヤマモト', 'ヨシダ', 'ヨシモト', - 'ワカマツ', 'ワタナベ', - ]; - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - * - * @example 'アオタ アキラ' - */ - public function kanaName($gender = null) - { - if ($gender === static::GENDER_MALE) { - $format = static::randomElement(static::$maleKanaNameFormats); - } elseif ($gender === static::GENDER_FEMALE) { - $format = static::randomElement(static::$femaleKanaNameFormats); - } else { - $format = static::randomElement(array_merge(static::$maleKanaNameFormats, static::$femaleKanaNameFormats)); - } - - return $this->generator->parse($format); - } - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - * - * @example 'アキラ' - */ - public function firstKanaName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::firstKanaNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::firstKanaNameFemale(); - } - - return $this->generator->parse(static::randomElement(static::$firstKanaNameFormat)); - } - - /** - * @example 'アキラ' - */ - public static function firstKanaNameMale() - { - return static::randomElement(static::$firstKanaNameMale); - } - - /** - * @example 'アケミ' - */ - public static function firstKanaNameFemale() - { - return static::randomElement(static::$firstKanaNameFemale); - } - - /** - * @example 'アオタ' - */ - public static function lastKanaName() - { - return static::randomElement(static::$lastKanaName); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{lastName}} {{firstNameMale}}', + ]; + + protected static $femaleNameFormats = [ + '{{lastName}} {{firstNameFemale}}', + ]; + + /** + * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 + * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ + */ + protected static $firstNameMale = [ + '晃', + '篤司', + '治', + '和也', + '京助', + '健一', + '修平', + '翔太', + '淳', + '聡太郎', + '太一', + '太郎', + '拓真', + '翼', + '智也', + '直樹', + '直人', + '英樹', + '浩', + '学', + '充', + '稔', + '裕樹', + '裕太', + '康弘', + '陽一', + '洋介', + '亮介', + '涼平', + '零', + ]; + + /** + * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E4%BA%BA%E3%81%AE%E5%90%8D%E5%89%8D%E4%B8%80%E8%A6%A7 + * {@link} http://www.meijiyasuda.co.jp/enjoy/ranking/ + */ + protected static $firstNameFemale = [ + '明美', + 'あすか', + '香織', + '加奈', + 'くみ子', + 'さゆり', + '知実', + '千代', + '直子', + '七夏', + '花子', + '春香', + '真綾', + '舞', + '美加子', + '幹', + '桃子', + '結衣', + '裕美子', + '陽子', + '里佳', + ]; + + /** + * {@link} http://dic.nicovideo.jp/a/%E6%97%A5%E6%9C%AC%E3%81%AE%E8%8B%97%E5%AD%97%28%E5%90%8D%E5%AD%97%29%E3%81%AE%E4%B8%80%E8%A6%A7 + */ + protected static $lastName = [ + '青田', + '青山', + '石田', + '井高', + '伊藤', + '井上', + '宇野', + '江古田', + '大垣', + '加藤', + '加納', + '喜嶋', + '木村', + '桐山', + '工藤', + '小泉', + '小林', + '近藤', + '斉藤', + '坂本', + '佐々木', + '佐藤', + '笹田', + '鈴木', + '杉山', + '高橋', + '田中', + '田辺', + '津田', + '中島', + '中村', + '渚', + '中津川', + '西之園', + '野村', + '原田', + '浜田', + '廣川', + '藤本', + '松本', + '三宅', + '宮沢', + '村山', + '山岸', + '山口', + '山田', + '山本', + '吉田', + '吉本', + '若松', + '渡辺', + ]; + + protected static $firstKanaNameFormat = [ + '{{firstKanaNameMale}}', + '{{firstKanaNameFemale}}', + ]; + + protected static $maleKanaNameFormats = [ + '{{lastKanaName}} {{firstKanaNameMale}}', + ]; + + protected static $femaleKanaNameFormats = [ + '{{lastKanaName}} {{firstKanaNameFemale}}', + ]; + + protected static $firstKanaNameMale = [ + 'アキラ', + 'アツシ', + 'オサム', + 'カズヤ', + 'キョウスケ', + 'ケンイチ', + 'シュウヘイ', + 'ショウタ', + 'ジュン', + 'ソウタロウ', + 'タイチ', + 'タロウ', + 'タクマ', + 'ツバサ', + 'トモヤ', + 'ナオキ', + 'ナオト', + 'ヒデキ', + 'ヒロシ', + 'マナブ', + 'ミツル', + 'ミノル', + 'ユウキ', + 'ユウタ', + 'ヤスヒロ', + 'ヨウイチ', + 'ヨウスケ', + 'リョウスケ', + 'リョウヘイ', + 'レイ', + ]; + + protected static $firstKanaNameFemale = [ + 'アケミ', + 'アスカ', + 'カオリ', + 'カナ', + 'クミコ', + 'サユリ', + 'サトミ', + 'チヨ', + 'ナオコ', + 'ナナミ', + 'ハナコ', + 'ハルカ', + 'マアヤ', + 'マイ', + 'ミカコ', + 'ミキ', + 'モモコ', + 'ユイ', + 'ユミコ', + 'ヨウコ', + 'リカ', + ]; + + protected static $lastKanaName = [ + 'アオタ', + 'アオヤマ', + 'イシダ', + 'イダカ', + 'イトウ', + 'ウノ', + 'エコダ', + 'オオガキ', + 'カノウ', + 'カノウ', + 'キジマ', + 'キムラ', + 'キリヤマ', + 'クドウ', + 'コイズミ', + 'コバヤシ', + 'コンドウ', + 'サイトウ', + 'サカモト', + 'ササキ', + 'サトウ', + 'ササダ', + 'スズキ', + 'スギヤマ', + 'タカハシ', + 'タナカ', + 'タナベ', + 'ツダ', + 'ナカジマ', + 'ナカムラ', + 'ナギサ', + 'ナカツガワ', + 'ニシノソノ', + 'ノムラ', + 'ハラダ', + 'ハマダ', + 'ヒロカワ', + 'フジモト', + 'マツモト', + 'ミヤケ', + 'ミヤザワ', + 'ムラヤマ', + 'ヤマギシ', + 'ヤマグチ', + 'ヤマダ', + 'ヤマモト', + 'ヨシダ', + 'ヨシモト', + 'ワカマツ', + 'ワタナベ', + ]; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * + * @example 'アオタ アキラ' + */ + public function kanaName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + $format = static::randomElement( static::$maleKanaNameFormats ); + } elseif ( $gender === static::GENDER_FEMALE ) { + $format = static::randomElement( static::$femaleKanaNameFormats ); + } else { + $format = static::randomElement( array_merge( static::$maleKanaNameFormats, static::$femaleKanaNameFormats ) ); + } + + return $this->generator->parse( $format ); + } + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * + * @example 'アキラ' + */ + public function firstKanaName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::firstKanaNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::firstKanaNameFemale(); + } + + return $this->generator->parse( static::randomElement( static::$firstKanaNameFormat ) ); + } + + /** + * @example 'アキラ' + */ + public static function firstKanaNameMale() { + return static::randomElement( static::$firstKanaNameMale ); + } + + /** + * @example 'アケミ' + */ + public static function firstKanaNameFemale() { + return static::randomElement( static::$firstKanaNameFemale ); + } + + /** + * @example 'アオタ' + */ + public static function lastKanaName() { + return static::randomElement( static::$lastKanaName ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/PhoneNumber.php index 1e0595e..fc6d143 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/PhoneNumber.php @@ -2,18 +2,17 @@ namespace Faker\Provider\ja_JP; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @see http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html#kotei-denwa - */ - protected static $formats = [ - '080-####-####', - '090-####-####', - '0#-####-####', - '0####-#-####', - '0###-##-####', - '0##-###-####', - '0##0-###-###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @see http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html#kotei-denwa + */ + protected static $formats = [ + '080-####-####', + '090-####-####', + '0#-####-####', + '0####-#-####', + '0###-##-####', + '0##-###-####', + '0##0-###-###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Text.php index 55bcc62..9d30d48 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ja_JP/Text.php @@ -2,28 +2,27 @@ namespace Faker\Provider\ja_JP; -class Text extends \Faker\Provider\Text -{ - protected static $separator = ''; - protected static $separatorLen = 0; +class Text extends \Faker\Provider\Text { + protected static $separator = ''; + protected static $separatorLen = 0; - /** - * All punctuation in $baseText: 、 。 「 」 『 』 ! ? ー , : ; - */ - protected static $notEndPunct = ['、', '「', '『', 'ー', ',', ':', ';']; - protected static $endPunct = ['。', '」', '』', '!', '?']; - protected static $notBeginPunct = ['、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';']; + /** + * All punctuation in $baseText: 、 。 「 」 『 』 ! ? ー , : ; + */ + protected static $notEndPunct = [ '、', '「', '『', 'ー', ',', ':', ';' ]; + protected static $endPunct = [ '。', '」', '』', '!', '?' ]; + protected static $notBeginPunct = [ '、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';' ]; - /** - * Title: 銀河鉄道の夜 Night On The Milky Way Train - * Author: 宮沢賢治 Kenji Miyazawa - * Language: Japanese - * - * @see http://www.aozora.gr.jp/cards/000081/files/43737_19215.html - * - * @var string - */ - protected static $baseText = <<<'EOT' + /** + * Title: 銀河鉄道の夜 Night On The Milky Way Train + * Author: 宮沢賢治 Kenji Miyazawa + * Language: Japanese + * + * @see http://www.aozora.gr.jp/cards/000081/files/43737_19215.html + * + * @var string + */ + protected static $baseText = <<<'EOT' 一 午後の授業 「ではみなさんは、そういうふうに川だと言いわれたり、乳ちちの流ながれたあとだと言いわれたりしていた、このぼんやりと白いものがほんとうは何かご承知しょうちですか」先生は、黒板こくばんにつるした大きな黒い星座せいざの図の、上から下へ白くけぶった銀河帯ぎんがたいのようなところを指さしながら、みんなに問といをかけました。 @@ -596,43 +595,40 @@ class Text extends \Faker\Provider\Text ジョバンニはもういろいろなことで胸むねがいっぱいで、なんにも言いえずに博士はかせの前をはなれて、早くお母さんに牛乳ぎゅうにゅうを持もって行って、お父さんの帰ることを知らせようと思うと、もういちもくさんに河原かわらを街まちの方へ走りました。 EOT; - protected static function explode($text) - { - $chars = []; + protected static function explode( $text ) { + $chars = []; - foreach (preg_split('//u', preg_replace('/\s+/u', '', $text)) as $char) { - if ($char !== '') { - $chars[] = $char; - } - } + foreach ( preg_split( '//u', preg_replace( '/\s+/u', '', $text ) ) as $char ) { + if ( $char !== '' ) { + $chars[] = $char; + } + } - return $chars; - } + return $chars; + } - protected static function strlen($text) - { - return function_exists('mb_strlen') ? mb_strlen($text, 'UTF-8') : count(static::explode($text)); - } + protected static function strlen( $text ) { + return function_exists( 'mb_strlen' ) ? mb_strlen( $text, 'UTF-8' ) : count( static::explode( $text ) ); + } - protected static function validStart($word) - { - return !in_array($word, static::$notBeginPunct, false); - } + protected static function validStart( $word ) { + return ! in_array( $word, static::$notBeginPunct, false ); + } - protected static function appendEnd($text) - { - // extract the last char of $text - if (function_exists('mb_substr')) { - $last = mb_substr($text, 0, mb_strlen($text) - 1, 'UTF-8'); - } else { - $chars = static::split($text); - $last = end($chars); - } - // if the last char is a not-valid-end punctuation, remove it - if (in_array($last, static::$notEndPunct, false)) { - $text = preg_replace('/.$/u', '', $text); - } - // if the last char is not a valid punctuation, append a default one. - return in_array($last, static::$endPunct, false) ? $text : $text . '。'; - } + protected static function appendEnd( $text ) { + // extract the last char of $text + if ( function_exists( 'mb_substr' ) ) { + $last = mb_substr( $text, 0, mb_strlen( $text ) - 1, 'UTF-8' ); + } else { + $chars = static::split( $text ); + $last = end( $chars ); + } + // if the last char is a not-valid-end punctuation, remove it + if ( in_array( $last, static::$notEndPunct, false ) ) { + $text = preg_replace( '/.$/u', '', $text ); + } + + // if the last char is not a valid punctuation, append a default one. + return in_array( $last, static::$endPunct, false ) ? $text : $text . '。'; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Address.php index 1606f2b..fe5dc81 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Address.php @@ -2,138 +2,429 @@ namespace Faker\Provider\ka_GE; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['ქალაქი', 'ქ.']; - - protected static $regionSuffix = ['რაიონი']; - protected static $streetSuffix = [ - 'ჩიხი', 'ქ.', 'გამზირი', 'ქუჩა', 'გზატკეცილი', 'მოედანი', 'ბულვარი', - 'აღმართი', 'ხეივანი', - ]; - - protected static $buildingNumber = ['%#']; - protected static $postcode = ['####']; - protected static $country = [ - 'ავსტრალია', 'ავსტრია', 'ავღანეთი', 'აზერბაიჯანი', 'ალანდის კუნძულები', 'ალბანეთი', - 'ალჟირი', 'ამერიკის სამოა', 'ანგილია', 'ანგოლა', 'ანდორა', 'ანტარქტიდა', 'ანტიგუა და ბარბუდა', - 'არაბთა გაერთიანებული საამიროები', 'არგენტინა', 'არუბა', 'აღმოსავლეთი ტიმორი', 'აშშ', - 'აშშ-ის მიმდებარე მცირე კუნძულები', 'ახალი ზელანდია', 'ახალი კალედონია', 'ბანგლადეში', - 'ბარბადოსი', 'ბაჰამის კუნძულები', 'ბაჰრეინი', 'ბელარუსი', 'ბელგია', 'ბელიზი', 'ბენინი', - 'ბერმუდის კუნძულები', 'ბოლივია', 'ბოსნია და ჰერცეგოვინა', 'ბოტსვანა', 'ბრაზილია', - 'ბრუნეი დარუსალამი', 'ბუვე', 'ბულგარეთი', 'ბურკინა-ფასო', 'ბურუნდი', 'ბჰუტანი', 'გაბონი', - 'გაერთიანებული სამეფო', 'გაიანა', 'გამბია', 'განა', 'გერმანია', 'გერნზი', 'გვადელუპა', 'გვატემალა', - 'გვინეა', 'გვინეა-ბისაუ', 'გიბრალტარი', 'გრენადა', 'გრენლანდია', 'გუამი', 'დანია', 'დასავლეთი საჰარა', - 'დომინიკა', 'დომინიკელთა რესპუბლიკა', 'ეგვიპტე', 'ეთიოპია', 'ეკვადორი', 'ეკვატორული გვინეა', 'ერაყი', - 'ერიტრეა', 'ესპანეთი', 'ესტონეთი', 'ვანუატუ', 'ვატიკანი (წმინდა საყდარი)', 'ვენესუელა', 'ვიეტნამი', - 'ვირჯინის კუნძულები (აშშ-ის)', 'ვირჯინის კუნძულები (ბრიტანეთის)', 'ზამბია', 'ზიმბაბვე', 'თურქეთი', - 'თურქმენეთი', 'იამაიკა', 'იაპონია', 'იემენი', 'ინდოეთი', 'ინდონეზია', 'იორდანია', - 'ირანის მუსულმანური რესპუბლიკა', 'ირლანდია', 'ისლანდია', 'ისრაელი', 'იტალია', 'კაბო-ვერდე', - 'კაიმანის კუნძულები', 'კამბოჯა', 'კამერუნი', 'კანადა', 'კატარი', 'კენია', 'კვიპროსი', 'კირიბატი', - 'კოლუმბია', 'კომორის კუნძულების კავშირი', 'კონგო', 'კონგოს დემოკრატიული რესპუბლიკა', 'კოსტა-რიკა', - 'კოტ-დ’ივუარი', 'კუბა', 'კუკის კუნძულები', 'კუნძული მენი', 'ლაოსის სახალხო დემოკრატიული რესპუბლიკა', - 'ლატვია', 'ლესოთო', 'ლიბანი', 'ლიბერია', 'ლიბიის არაბული ჯამაჰირია', 'ლიტვა', 'ლიხტენშტაინი', - 'ლუქსემბურგი', 'მადაგასკარი', 'მავრიკი', 'მავრიტანია', 'მაიოტა', 'მაკაო', 'მაკედონია', 'მალავი', - 'მალაიზია', 'მალდივი', 'მალი', 'მალტა', 'მაროკო', 'მარტინიკა', 'მარშალის კუნძულები', 'მექსიკა', - 'მიანმარი', 'მიკრონეზიის ფედერაციული შტატები', 'მოზამბიკი', 'მოლდოვას რესპუბლიკა', 'მონაკო', 'მონსერატი', - 'მონღოლეთი', 'ნამიბია', 'ნაურუ', 'ნეპალი', 'ნიგერი', 'ნიგერია', 'ნიდერლანდი', 'ნიდერლანდის ანტილები', - 'ნიკარაგუა', 'ნიუე', 'ნორვეგია', 'ნორფოლკი (კუნძული)', 'ომანი', 'პაკისტანი', 'პალაუ', - 'პალესტინის ტერიტორიები, ოკუპირებული', 'პანამა', 'პაპუა-ახალი გვინეა', 'პარაგვაი', 'პერუ', - 'პიტკერნის კუნძულები', 'პოლონეთი', 'პორტუგალია', 'პუერტო-რიკო', 'რეიუნიონი', 'რუანდა', 'რუმინეთი', - 'რუსეთი', 'საბერძნეთი', 'სალვადორი', 'სამოა', 'სამხრეთი აფრიკა', - 'სამხრეთი გეორგია და სამხრეთ სენდვიჩის კუნძულები', 'სამხრეთი კორეა', 'სან-მარინო', 'სან-ტომე და პრინსიპი', - 'საუდის არაბეთი', 'საფრანგეთი', 'საფრანგეთის გვიანა', 'საფრანგეთის პოლინეზია', - 'საფრანგეთის სამხრეთული და ანტარქტიდული ტერიტორია', 'საქართველო', 'სეიშელი', 'სენ-ბართელმი', - 'სენ-პიერი და მიკელონი', 'სენეგალი', 'სენტ-ვინსენტი და გრენადინები', 'სენტ-კიტსი და ნევისი', - 'სენტ-ლუსია', 'სერბეთი', 'სვაზილენდი', 'სვალბარდი და იან-მაიენი', 'სიერა-ლეონე', 'სინგაპური', - 'სირიის არაბთა რესპუბლიკა', 'სლოვაკეთი', 'სლოვენია', 'სოლომონის კუნძულები', 'სომალი', 'სომხეთი', 'სუდანი', - 'სურინამი', 'ტაივანი', 'ტაილანდი', 'ტანზანიის გაერთიანებული რესპუბლიკა', 'ტაჯიკეთი', - 'ტერქსისა და კაიკოსის კუნძულები', 'ტოგო', 'ტოკელაუ', 'ტონგა', 'ტრინიდადი და ტობაგო', 'ტუვალუ', 'ტუნისი', - 'უგანდა', 'უზბეკეთი', 'უკრაინა', 'უნგრეთი', 'უოლისი და ფუტუნა', 'ურუგვაი', 'ფარერის კუნძულები', 'ფილიპინები', - 'ფინეთი', 'ფიჯი', 'ფოლკლენდის კუნძულები (მალვინები)', 'ქოქოსის კუნძულები', 'ქუვეითი', 'ყაზახეთი', 'ყირგიზეთი', - 'შვედეთი', 'შვეიცარია', 'შობის კუნძული', 'შრი-ლანკა', 'ჩადი', 'ჩერნოგორია', 'ჩეხეთი', 'ჩილე', 'ჩინეთი', - 'ჩრდილოეთი კორეა', 'ჩრდილოეთი მარიანას კუნძულები', 'ცენტრალური აფრიკის რესპუბლიკა', 'წმინდა ელენეს კუნძული', - 'წმინდა მარტინი (საფრანგეთის ნაწილი)', 'ხორვატია', 'ჯერზი', 'ჯიბუტი', 'ჰაიტი', - 'ჰერდი და მაკდონალდის კუნძულები', 'ჰონგ-კონგი', 'ჰონდურასი', - ]; - - protected static $region = [ - 'აფხაზეთი', 'აჭარა', 'იმერეთი', 'სამეგრელო-ზემო სვანეთი', 'მცხეთა-მთიანეთი', 'სამცხე-ჯავახეთი', - 'შიდა ქართლი', 'კახეთი', 'რაჭა-ლეჩხუმი და ქვემო სვანეთი', 'გურია', 'ქვემო ქართლი', - ]; - - protected static $regionGenitiveForm = [ - 'აფხაზეთის', 'აჭარის', 'იმერეთის', 'სამეგრელო-ზემო სვანეთის', 'მცხეთა-მთიანეთის', 'სამცხე-ჯავახეთის', - 'შიდა ქართლის', 'კახეთის', 'რაჭა-ლეჩხუმი და ქვემო სვანეთის', 'გურიის', 'ქვემო ქართლის', - ]; - - protected static $city = [ - 'აბაშა', 'ამბროლაური', 'ახალი ათონი', 'ახალქალაქი', 'ახალციხე', 'ახმეტა', 'ბათუმი', 'ბაღდათი', - 'ბოლნისი', 'ბორჯომი', 'გაგრა', 'გალი', 'გარდაბანი', 'გორი', 'გუდაუთა', 'გურჯაანი', 'დედოფლისწყარო', - 'დმანისი', 'დუშეთი', 'ვალე', 'ვანი', 'ზესტაფონი', 'ზუგდიდი', 'თბილისი', 'თეთრიწყარო', 'თელავი', - 'თერჯოლა', 'კასპი', 'ლაგოდეხი', 'ლანჩხუთი', 'მარნეული', 'მარტვილი', 'მცხეთა', 'ნინოწმინდა', 'ოზურგეთი', - 'ონი', 'ოჩამჩირე', 'რუსთავი', 'საგარეჯო', 'სამტრედია', 'საჩხერე', 'სენაკი', 'სიღნაღი', 'სოხუმი', - 'ტყვარჩელი', 'ტყიბული', 'ფოთი', 'ქარელი', 'ქობულეთი', 'ქუთაისი', 'ყვარელი', 'ცაგერი', 'ცხინვალი', - 'წალენჯიხა', 'წალკა', 'წნორი', 'წყალტუბო', 'ჭიათურა', 'ხაშური', 'ხობი', 'ხონი', 'ჯვარი', - ]; - - protected static $street = [ - 'რუსთაველის', 'ტაბიძის', 'აღმაშენებლის', 'ბარათაშვილის', 'თამარ მეფის', 'სააკაძის', 'ყაზბეგის', 'რობაქიძის', - 'ვაჟა-ფშაველას', 'ნუცუბიძის', 'შეშელიძის', 'სააკაძის', 'სანაპიროს', 'გორგასლის', 'ელიავას', 'ჭონქაძის', - 'ფანასკერტელის', - ]; - - protected static $addressFormats = [ - 'საქართველო, {{regionGenitiveForm}} {{regionSuffix}}, {{city}}, {{streetAddress}}, {{postcode}}', - '{{regionGenitiveForm}} {{regionSuffix}}, {{city}}, {{streetAddress}}, {{postcode}}', - '{{streetAddress}}, {{postcode}}, {{city}}, {{regionGenitiveForm}} {{regionSuffix}}', - '{{streetAddress}}, {{postcode}}, {{city}}, {{regionGenitiveForm}} {{regionSuffix}}, საქართველო', - '{{city}}, {{streetAddress}}, {{postcode}}', - 'საქართველო, {{city}}, {{streetAddress}}, {{postcode}}', - '{{streetAddress}}, {{postcode}}, {{city}}', - '{{streetAddress}}, {{postcode}}, {{city}}, საქართველო', - ]; - - protected static $streetAddressFormats = [ - '{{street}} {{streetSuffix}} #{{buildingNumber}}', - ]; - - protected static $cityFormats = [ - '{{cityPrefix}} {{cityName}}', - ]; - - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } - - public static function region() - { - return static::randomElement(static::$region); - } - - public static function regionGenitiveForm() - { - return static::randomElement(static::$regionGenitiveForm); - } - - public static function cityName() - { - return static::randomElement(static::$city); - } - - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - public static function streetSuffix() - { - return static::randomElement(static::$streetSuffix); - } - - public static function street() - { - return static::randomElement(static::$street); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'ქალაქი', 'ქ.' ]; + + protected static $regionSuffix = [ 'რაიონი' ]; + protected static $streetSuffix = [ + 'ჩიხი', + 'ქ.', + 'გამზირი', + 'ქუჩა', + 'გზატკეცილი', + 'მოედანი', + 'ბულვარი', + 'აღმართი', + 'ხეივანი', + ]; + + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ '####' ]; + protected static $country = [ + 'ავსტრალია', + 'ავსტრია', + 'ავღანეთი', + 'აზერბაიჯანი', + 'ალანდის კუნძულები', + 'ალბანეთი', + 'ალჟირი', + 'ამერიკის სამოა', + 'ანგილია', + 'ანგოლა', + 'ანდორა', + 'ანტარქტიდა', + 'ანტიგუა და ბარბუდა', + 'არაბთა გაერთიანებული საამიროები', + 'არგენტინა', + 'არუბა', + 'აღმოსავლეთი ტიმორი', + 'აშშ', + 'აშშ-ის მიმდებარე მცირე კუნძულები', + 'ახალი ზელანდია', + 'ახალი კალედონია', + 'ბანგლადეში', + 'ბარბადოსი', + 'ბაჰამის კუნძულები', + 'ბაჰრეინი', + 'ბელარუსი', + 'ბელგია', + 'ბელიზი', + 'ბენინი', + 'ბერმუდის კუნძულები', + 'ბოლივია', + 'ბოსნია და ჰერცეგოვინა', + 'ბოტსვანა', + 'ბრაზილია', + 'ბრუნეი დარუსალამი', + 'ბუვე', + 'ბულგარეთი', + 'ბურკინა-ფასო', + 'ბურუნდი', + 'ბჰუტანი', + 'გაბონი', + 'გაერთიანებული სამეფო', + 'გაიანა', + 'გამბია', + 'განა', + 'გერმანია', + 'გერნზი', + 'გვადელუპა', + 'გვატემალა', + 'გვინეა', + 'გვინეა-ბისაუ', + 'გიბრალტარი', + 'გრენადა', + 'გრენლანდია', + 'გუამი', + 'დანია', + 'დასავლეთი საჰარა', + 'დომინიკა', + 'დომინიკელთა რესპუბლიკა', + 'ეგვიპტე', + 'ეთიოპია', + 'ეკვადორი', + 'ეკვატორული გვინეა', + 'ერაყი', + 'ერიტრეა', + 'ესპანეთი', + 'ესტონეთი', + 'ვანუატუ', + 'ვატიკანი (წმინდა საყდარი)', + 'ვენესუელა', + 'ვიეტნამი', + 'ვირჯინის კუნძულები (აშშ-ის)', + 'ვირჯინის კუნძულები (ბრიტანეთის)', + 'ზამბია', + 'ზიმბაბვე', + 'თურქეთი', + 'თურქმენეთი', + 'იამაიკა', + 'იაპონია', + 'იემენი', + 'ინდოეთი', + 'ინდონეზია', + 'იორდანია', + 'ირანის მუსულმანური რესპუბლიკა', + 'ირლანდია', + 'ისლანდია', + 'ისრაელი', + 'იტალია', + 'კაბო-ვერდე', + 'კაიმანის კუნძულები', + 'კამბოჯა', + 'კამერუნი', + 'კანადა', + 'კატარი', + 'კენია', + 'კვიპროსი', + 'კირიბატი', + 'კოლუმბია', + 'კომორის კუნძულების კავშირი', + 'კონგო', + 'კონგოს დემოკრატიული რესპუბლიკა', + 'კოსტა-რიკა', + 'კოტ-დ’ივუარი', + 'კუბა', + 'კუკის კუნძულები', + 'კუნძული მენი', + 'ლაოსის სახალხო დემოკრატიული რესპუბლიკა', + 'ლატვია', + 'ლესოთო', + 'ლიბანი', + 'ლიბერია', + 'ლიბიის არაბული ჯამაჰირია', + 'ლიტვა', + 'ლიხტენშტაინი', + 'ლუქსემბურგი', + 'მადაგასკარი', + 'მავრიკი', + 'მავრიტანია', + 'მაიოტა', + 'მაკაო', + 'მაკედონია', + 'მალავი', + 'მალაიზია', + 'მალდივი', + 'მალი', + 'მალტა', + 'მაროკო', + 'მარტინიკა', + 'მარშალის კუნძულები', + 'მექსიკა', + 'მიანმარი', + 'მიკრონეზიის ფედერაციული შტატები', + 'მოზამბიკი', + 'მოლდოვას რესპუბლიკა', + 'მონაკო', + 'მონსერატი', + 'მონღოლეთი', + 'ნამიბია', + 'ნაურუ', + 'ნეპალი', + 'ნიგერი', + 'ნიგერია', + 'ნიდერლანდი', + 'ნიდერლანდის ანტილები', + 'ნიკარაგუა', + 'ნიუე', + 'ნორვეგია', + 'ნორფოლკი (კუნძული)', + 'ომანი', + 'პაკისტანი', + 'პალაუ', + 'პალესტინის ტერიტორიები, ოკუპირებული', + 'პანამა', + 'პაპუა-ახალი გვინეა', + 'პარაგვაი', + 'პერუ', + 'პიტკერნის კუნძულები', + 'პოლონეთი', + 'პორტუგალია', + 'პუერტო-რიკო', + 'რეიუნიონი', + 'რუანდა', + 'რუმინეთი', + 'რუსეთი', + 'საბერძნეთი', + 'სალვადორი', + 'სამოა', + 'სამხრეთი აფრიკა', + 'სამხრეთი გეორგია და სამხრეთ სენდვიჩის კუნძულები', + 'სამხრეთი კორეა', + 'სან-მარინო', + 'სან-ტომე და პრინსიპი', + 'საუდის არაბეთი', + 'საფრანგეთი', + 'საფრანგეთის გვიანა', + 'საფრანგეთის პოლინეზია', + 'საფრანგეთის სამხრეთული და ანტარქტიდული ტერიტორია', + 'საქართველო', + 'სეიშელი', + 'სენ-ბართელმი', + 'სენ-პიერი და მიკელონი', + 'სენეგალი', + 'სენტ-ვინსენტი და გრენადინები', + 'სენტ-კიტსი და ნევისი', + 'სენტ-ლუსია', + 'სერბეთი', + 'სვაზილენდი', + 'სვალბარდი და იან-მაიენი', + 'სიერა-ლეონე', + 'სინგაპური', + 'სირიის არაბთა რესპუბლიკა', + 'სლოვაკეთი', + 'სლოვენია', + 'სოლომონის კუნძულები', + 'სომალი', + 'სომხეთი', + 'სუდანი', + 'სურინამი', + 'ტაივანი', + 'ტაილანდი', + 'ტანზანიის გაერთიანებული რესპუბლიკა', + 'ტაჯიკეთი', + 'ტერქსისა და კაიკოსის კუნძულები', + 'ტოგო', + 'ტოკელაუ', + 'ტონგა', + 'ტრინიდადი და ტობაგო', + 'ტუვალუ', + 'ტუნისი', + 'უგანდა', + 'უზბეკეთი', + 'უკრაინა', + 'უნგრეთი', + 'უოლისი და ფუტუნა', + 'ურუგვაი', + 'ფარერის კუნძულები', + 'ფილიპინები', + 'ფინეთი', + 'ფიჯი', + 'ფოლკლენდის კუნძულები (მალვინები)', + 'ქოქოსის კუნძულები', + 'ქუვეითი', + 'ყაზახეთი', + 'ყირგიზეთი', + 'შვედეთი', + 'შვეიცარია', + 'შობის კუნძული', + 'შრი-ლანკა', + 'ჩადი', + 'ჩერნოგორია', + 'ჩეხეთი', + 'ჩილე', + 'ჩინეთი', + 'ჩრდილოეთი კორეა', + 'ჩრდილოეთი მარიანას კუნძულები', + 'ცენტრალური აფრიკის რესპუბლიკა', + 'წმინდა ელენეს კუნძული', + 'წმინდა მარტინი (საფრანგეთის ნაწილი)', + 'ხორვატია', + 'ჯერზი', + 'ჯიბუტი', + 'ჰაიტი', + 'ჰერდი და მაკდონალდის კუნძულები', + 'ჰონგ-კონგი', + 'ჰონდურასი', + ]; + + protected static $region = [ + 'აფხაზეთი', + 'აჭარა', + 'იმერეთი', + 'სამეგრელო-ზემო სვანეთი', + 'მცხეთა-მთიანეთი', + 'სამცხე-ჯავახეთი', + 'შიდა ქართლი', + 'კახეთი', + 'რაჭა-ლეჩხუმი და ქვემო სვანეთი', + 'გურია', + 'ქვემო ქართლი', + ]; + + protected static $regionGenitiveForm = [ + 'აფხაზეთის', + 'აჭარის', + 'იმერეთის', + 'სამეგრელო-ზემო სვანეთის', + 'მცხეთა-მთიანეთის', + 'სამცხე-ჯავახეთის', + 'შიდა ქართლის', + 'კახეთის', + 'რაჭა-ლეჩხუმი და ქვემო სვანეთის', + 'გურიის', + 'ქვემო ქართლის', + ]; + + protected static $city = [ + 'აბაშა', + 'ამბროლაური', + 'ახალი ათონი', + 'ახალქალაქი', + 'ახალციხე', + 'ახმეტა', + 'ბათუმი', + 'ბაღდათი', + 'ბოლნისი', + 'ბორჯომი', + 'გაგრა', + 'გალი', + 'გარდაბანი', + 'გორი', + 'გუდაუთა', + 'გურჯაანი', + 'დედოფლისწყარო', + 'დმანისი', + 'დუშეთი', + 'ვალე', + 'ვანი', + 'ზესტაფონი', + 'ზუგდიდი', + 'თბილისი', + 'თეთრიწყარო', + 'თელავი', + 'თერჯოლა', + 'კასპი', + 'ლაგოდეხი', + 'ლანჩხუთი', + 'მარნეული', + 'მარტვილი', + 'მცხეთა', + 'ნინოწმინდა', + 'ოზურგეთი', + 'ონი', + 'ოჩამჩირე', + 'რუსთავი', + 'საგარეჯო', + 'სამტრედია', + 'საჩხერე', + 'სენაკი', + 'სიღნაღი', + 'სოხუმი', + 'ტყვარჩელი', + 'ტყიბული', + 'ფოთი', + 'ქარელი', + 'ქობულეთი', + 'ქუთაისი', + 'ყვარელი', + 'ცაგერი', + 'ცხინვალი', + 'წალენჯიხა', + 'წალკა', + 'წნორი', + 'წყალტუბო', + 'ჭიათურა', + 'ხაშური', + 'ხობი', + 'ხონი', + 'ჯვარი', + ]; + + protected static $street = [ + 'რუსთაველის', + 'ტაბიძის', + 'აღმაშენებლის', + 'ბარათაშვილის', + 'თამარ მეფის', + 'სააკაძის', + 'ყაზბეგის', + 'რობაქიძის', + 'ვაჟა-ფშაველას', + 'ნუცუბიძის', + 'შეშელიძის', + 'სააკაძის', + 'სანაპიროს', + 'გორგასლის', + 'ელიავას', + 'ჭონქაძის', + 'ფანასკერტელის', + ]; + + protected static $addressFormats = [ + 'საქართველო, {{regionGenitiveForm}} {{regionSuffix}}, {{city}}, {{streetAddress}}, {{postcode}}', + '{{regionGenitiveForm}} {{regionSuffix}}, {{city}}, {{streetAddress}}, {{postcode}}', + '{{streetAddress}}, {{postcode}}, {{city}}, {{regionGenitiveForm}} {{regionSuffix}}', + '{{streetAddress}}, {{postcode}}, {{city}}, {{regionGenitiveForm}} {{regionSuffix}}, საქართველო', + '{{city}}, {{streetAddress}}, {{postcode}}', + 'საქართველო, {{city}}, {{streetAddress}}, {{postcode}}', + '{{streetAddress}}, {{postcode}}, {{city}}', + '{{streetAddress}}, {{postcode}}, {{city}}, საქართველო', + ]; + + protected static $streetAddressFormats = [ + '{{street}} {{streetSuffix}} #{{buildingNumber}}', + ]; + + protected static $cityFormats = [ + '{{cityPrefix}} {{cityName}}', + ]; + + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } + + public static function region() { + return static::randomElement( static::$region ); + } + + public static function regionGenitiveForm() { + return static::randomElement( static::$regionGenitiveForm ); + } + + public static function cityName() { + return static::randomElement( static::$city ); + } + + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + public static function streetSuffix() { + return static::randomElement( static::$streetSuffix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Color.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Color.php index a737394..48edbb7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Color.php @@ -2,15 +2,40 @@ namespace Faker\Provider\ka_GE; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'ალისფერი', 'ვარდისფერი', 'თეთრი', 'იასამნისფერი', 'ლურჯი', 'მუქი ლურჯი', 'მწვანე', 'ნარინჯისფერი', - 'ნაცრისფერი', 'სალათისფერი', 'ღია მწვანე', 'ყავისფერი', 'ყვითელი', 'ცისფერი', 'წითელი', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'ალისფერი', + 'ვარდისფერი', + 'თეთრი', + 'იასამნისფერი', + 'ლურჯი', + 'მუქი ლურჯი', + 'მწვანე', + 'ნარინჯისფერი', + 'ნაცრისფერი', + 'სალათისფერი', + 'ღია მწვანე', + 'ყავისფერი', + 'ყვითელი', + 'ცისფერი', + 'წითელი', + ]; - protected static $allColorNames = [ - 'ალისფერი', 'ვარდისფერი', 'თეთრი', 'იასამნისფერი', 'ლურჯი', 'მუქი ლურჯი', 'მწვანე', 'ნარინჯისფერი', - 'ნაცრისფერი', 'სალათისფერი', 'ღია მწვანე', 'ყავისფერი', 'ყვითელი', 'ცისფერი', 'წითელი', - ]; + protected static $allColorNames = [ + 'ალისფერი', + 'ვარდისფერი', + 'თეთრი', + 'იასამნისფერი', + 'ლურჯი', + 'მუქი ლურჯი', + 'მწვანე', + 'ნარინჯისფერი', + 'ნაცრისფერი', + 'სალათისფერი', + 'ღია მწვანე', + 'ყავისფერი', + 'ყვითელი', + 'ცისფერი', + 'წითელი', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Company.php index 146c065..adcd97f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Company.php @@ -2,52 +2,84 @@ namespace Faker\Provider\ka_GE; -class Company extends \Faker\Provider\Company -{ - protected static $companyPrefixes = [ - 'შპს', 'შპს', 'შპს', 'სს', 'სს', 'სს', 'კს', 'სს კორპორაცია', 'იმ', 'სპს', 'კოოპერატივი', - ]; - - protected static $companyNameSuffixes = [ - 'საბჭო', 'ექსპედიცია', 'პრომი', 'კომპლექსი', 'ავტო', 'ლიზინგი', 'თრასთი', 'ეიდი', 'პლუსი', - 'ლაბი', 'კავშირი', ' და კომპანია', - ]; - - protected static $companyElements = [ - 'ცემ', 'გეო', 'ქარ', 'ქიმ', 'ლიფტ', 'ტელე', 'რადიო', 'ტრანს', 'ალმას', 'მეტრო', - 'მოტორ', 'ტექ', 'სანტექ', 'ელექტრო', 'რეაქტო', 'ტექსტილ', 'კაბელ', 'მავალ', 'ტელ', - 'ტექნო', - ]; - - protected static $companyNameFormats = [ - '{{companyPrefix}} {{companyNameElement}}{{companyNameSuffix}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', - ]; - - /** - * @example 'იმ ელექტროალმასგეოსაბჭო' - */ - public function company() - { - $format = static::randomElement(static::$companyNameFormats); - - return $this->generator->parse($format); - } - - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefixes); - } - - public static function companyNameElement() - { - return static::randomElement(static::$companyElements); - } - - public static function companyNameSuffix() - { - return static::randomElement(static::$companyNameSuffixes); - } +class Company extends \Faker\Provider\Company { + protected static $companyPrefixes = [ + 'შპს', + 'შპს', + 'შპს', + 'სს', + 'სს', + 'სს', + 'კს', + 'სს კორპორაცია', + 'იმ', + 'სპს', + 'კოოპერატივი', + ]; + + protected static $companyNameSuffixes = [ + 'საბჭო', + 'ექსპედიცია', + 'პრომი', + 'კომპლექსი', + 'ავტო', + 'ლიზინგი', + 'თრასთი', + 'ეიდი', + 'პლუსი', + 'ლაბი', + 'კავშირი', + ' და კომპანია', + ]; + + protected static $companyElements = [ + 'ცემ', + 'გეო', + 'ქარ', + 'ქიმ', + 'ლიფტ', + 'ტელე', + 'რადიო', + 'ტრანს', + 'ალმას', + 'მეტრო', + 'მოტორ', + 'ტექ', + 'სანტექ', + 'ელექტრო', + 'რეაქტო', + 'ტექსტილ', + 'კაბელ', + 'მავალ', + 'ტელ', + 'ტექნო', + ]; + + protected static $companyNameFormats = [ + '{{companyPrefix}} {{companyNameElement}}{{companyNameSuffix}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', + ]; + + /** + * @example 'იმ ელექტროალმასგეოსაბჭო' + */ + public function company() { + $format = static::randomElement( static::$companyNameFormats ); + + return $this->generator->parse( $format ); + } + + public static function companyPrefix() { + return static::randomElement( static::$companyPrefixes ); + } + + public static function companyNameElement() { + return static::randomElement( static::$companyElements ); + } + + public static function companyNameSuffix() { + return static::randomElement( static::$companyNameSuffixes ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/DateTime.php index 375c32a..aa95a8a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/DateTime.php @@ -2,42 +2,39 @@ namespace Faker\Provider\ka_GE; -class DateTime extends \Faker\Provider\DateTime -{ - public static function dayOfWeek($max = 'now') - { - $map = [ - 'Sunday' => 'კვირა', - 'Monday' => 'ორშაბათი', - 'Tuesday' => 'სამშაბათი', - 'Wednesday' => 'ოთხშაბათი', - 'Thursday' => 'ხუთშაბათი', - 'Friday' => 'პარასკევი', - 'Saturday' => 'შაბათი', - ]; - $week = static::dateTime($max)->format('l'); +class DateTime extends \Faker\Provider\DateTime { + public static function dayOfWeek( $max = 'now' ) { + $map = [ + 'Sunday' => 'კვირა', + 'Monday' => 'ორშაბათი', + 'Tuesday' => 'სამშაბათი', + 'Wednesday' => 'ოთხშაბათი', + 'Thursday' => 'ხუთშაბათი', + 'Friday' => 'პარასკევი', + 'Saturday' => 'შაბათი', + ]; + $week = static::dateTime( $max )->format( 'l' ); - return $map[$week] ?? $week; - } + return $map[ $week ] ?? $week; + } - public static function monthName($max = 'now') - { - $map = [ - 'January' => 'იანვარი', - 'February' => 'თებერვალი', - 'March' => 'მარტი', - 'April' => 'აპრილი', - 'May' => 'მაისი', - 'June' => 'ივნისი', - 'July' => 'ივლისი', - 'August' => 'აგვისტო', - 'September' => 'სექტემბერი', - 'October' => 'ოქტომბერი', - 'November' => 'ნოემბერი', - 'December' => 'დეკემბერი', - ]; - $month = static::dateTime($max)->format('F'); + public static function monthName( $max = 'now' ) { + $map = [ + 'January' => 'იანვარი', + 'February' => 'თებერვალი', + 'March' => 'მარტი', + 'April' => 'აპრილი', + 'May' => 'მაისი', + 'June' => 'ივნისი', + 'July' => 'ივლისი', + 'August' => 'აგვისტო', + 'September' => 'სექტემბერი', + 'October' => 'ოქტომბერი', + 'November' => 'ნოემბერი', + 'December' => 'დეკემბერი', + ]; + $month = static::dateTime( $max )->format( 'F' ); - return $map[$month] ?? $month; - } + return $map[ $month ] ?? $month; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Internet.php index d07e41c..2c2f7cf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Internet.php @@ -2,14 +2,34 @@ namespace Faker\Provider\ka_GE; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = [ - 'posta.ge', 'boom.ge', 'hotmail.com', 'gmail.com', 'yahoo.com', 'mail.ru', 'avoe.ge', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'posta.ge', + 'boom.ge', + 'hotmail.com', + 'gmail.com', + 'yahoo.com', + 'mail.ru', + 'avoe.ge', + ]; - protected static $tld = [ - 'ge', 'ge', 'ge', 'ge', 'ge', 'com.ge', 'edu.ge', 'net.ge', 'org.ge', - 'pvt.ge', 'gov.ge', 'mil.ge', 'com', 'biz', 'info', 'net', 'org', - ]; + protected static $tld = [ + 'ge', + 'ge', + 'ge', + 'ge', + 'ge', + 'com.ge', + 'edu.ge', + 'net.ge', + 'org.ge', + 'pvt.ge', + 'gov.ge', + 'mil.ge', + 'com', + 'biz', + 'info', + 'net', + 'org', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Payment.php index 5ed3ce3..380ad80 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Payment.php @@ -2,54 +2,51 @@ namespace Faker\Provider\ka_GE; -class Payment extends \Faker\Provider\Payment -{ - /** - * @see list of Georgian banks (2015-12-26), source: https://www.nbg.gov.ge/index.php?m=403 - */ - protected static $banks = [ - 'ბანკი რესპუბლიკა', - 'თიბისი ბანკი', - 'საქართველოს ბანკი', - 'ლიბერთი ბანკი', - 'ბაზისბანკი', - 'ვითიბი ბანკი ჯორჯია', - 'ბანკი ქართუ', - 'პროკრედიტ ბანკი', - 'სილქ როუდ ბანკი ', - 'კაპიტალ ბანკი ', - 'აზერბაიჯანის საერთაშორისო ბანკი - საქართველო ', - 'ზირაათ ბანკის თბილისის ფილიალი ', - 'კავკასიის განვითარების ბანკი - საქართველო', - 'იშ ბანკი საქართველო', - 'პროგრეს ბანკი', - 'კორ სტანდარტ ბანკი', - 'ხალიკ ბანკი საქართველო ', - 'პაშა ბანკი საქართველო', - 'ფინკა ბანკი საქართველო', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @see list of Georgian banks (2015-12-26), source: https://www.nbg.gov.ge/index.php?m=403 + */ + protected static $banks = [ + 'ბანკი რესპუბლიკა', + 'თიბისი ბანკი', + 'საქართველოს ბანკი', + 'ლიბერთი ბანკი', + 'ბაზისბანკი', + 'ვითიბი ბანკი ჯორჯია', + 'ბანკი ქართუ', + 'პროკრედიტ ბანკი', + 'სილქ როუდ ბანკი ', + 'კაპიტალ ბანკი ', + 'აზერბაიჯანის საერთაშორისო ბანკი - საქართველო ', + 'ზირაათ ბანკის თბილისის ფილიალი ', + 'კავკასიის განვითარების ბანკი - საქართველო', + 'იშ ბანკი საქართველო', + 'პროგრეს ბანკი', + 'კორ სტანდარტ ბანკი', + 'ხალიკ ბანკი საქართველო ', + 'პაშა ბანკი საქართველო', + 'ფინკა ბანკი საქართველო', + ]; - /** - * @example 'თიბისი ბანკი' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'თიბისი ბანკი' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'GE', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'GE', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Person.php index 8c4b9e3..3b9b373 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Person.php @@ -2,62 +2,401 @@ namespace Faker\Provider\ka_GE; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - ]; - - protected static $firstNameMale = [ - 'გიორგი', 'დავითი', 'ზურაბი', 'ალექსანდრე', 'ირაკლი', 'ლევანი', 'გოჩა', 'მამუკა', 'ზაზა', 'გივი', 'ავთანდილ', - 'მიხეილი', 'გელა', 'თამაზი', 'ლაშა', 'შოთა', 'თეიმურაზი', 'შალვა', 'გურამი', 'ნიკოლოზი', 'ნოდარი', 'ვლადიმერი', - 'ვაჟა', 'მერაბი', 'თენგიზი', 'გია', 'ბადრი', 'კობა', 'ვახტანგი', 'ივანე', 'მალხაზი', 'ნუგზარი', 'ამირანი', 'პაატა', - 'სერგო', 'ოთარი', 'რევაზი', 'აკაკი', 'ტარიელი', 'მადონა', 'დიმიტრი', 'იური', 'თემური', 'კახაბერი', 'ზვიადი', - 'ელგუჯა', 'ჯემალი', 'იოსები', 'რამაზი', 'ბექა', 'რომანი', 'კახა', 'თორნიკე', 'ბესიკი', 'არჩილი', 'ალექსი', 'ხვიჩა', - 'კონსტანტინე', 'ანზორი', 'ვასილი', 'სულიკო', 'ვალერი', 'რეზო', 'ზაური', 'ნიკა', 'დოდო', 'ომარი', 'მურმანი', - 'სოსო', 'გრიგოლი', 'გენადი', 'ავთანდილი', 'ემზარი', 'ჯუმბერი', 'გიგა', 'გოდერძი', - ]; - - protected static $firstNameFemale = [ - 'ნინო', 'მაია', 'თამარი', 'ნანა', 'მანანა', 'ნათელა', 'ნათია', 'მარინე', 'ქეთევან', 'ხათუნა', 'მარინა', 'ლალი', 'ლიანა', - 'მზია', 'ლია', 'ეკატერინე', 'ანა', 'მარიამი', 'ირმა', 'ლეილა', 'ნანული', 'მერი', 'ლელა', 'თეა', 'სოფიო', 'ინგა', - 'ეთერი', 'ნონა', 'თეონა', 'შორენა', 'მაყვალა', 'ციალა', 'ლამარა', 'მაკა', 'თინა', 'ნელი', 'რუსუდანი', 'დალი', - 'ელენე', 'თინათინი', 'ნატო', 'ნატალია', 'ია', 'ჟუჟუნა', 'ნუნუ', 'ლილი', 'ნინა', 'დარეჯანი', 'იზოლდა', 'ირინა', - 'სალომე', 'ნანი', 'სვეტლანა', 'ილია', 'გულნარა', 'ეკა', 'ირინე', 'ნაზი', 'თამარა', 'ციცინო', 'ქეთევანი', 'ვენერა', - 'თამილა', 'ნაირა', 'სოფიკო', 'ცისანა', 'ელისო', 'ზაირა', 'ციური', 'დიანა', 'ელენა', 'იამზე', 'როზა', 'მედეა', - 'ცირა', 'ზოია', 'სულიკო', 'ლენა', 'ვერა', 'ლუიზა', 'ლარისა', 'ბელა', 'ნორა', 'დოდო', 'ვალენტინა', 'ქეთო', 'ზინა', - 'ტატიანა', 'მარია', 'მაგული', 'თამთა', 'ნაზიკო', 'ხატია', 'მარიკა', 'ელზა', 'ანნა', 'გვანცა', 'გალინა', 'ჯულიეტა', - ]; - - protected static $lastName = [ - 'აბაშიძე', 'აბესაძე', 'აბრამიშვილი', 'აბულაძე', 'ალიევა', 'ალიევი', 'ასათიანი', 'აფციაური', 'ახალაია', 'ახვლედიანი', - 'ახმედოვა', 'ახმედოვი', 'ბაირამოვა', 'ბაირამოვი', 'ბარამიძე', 'ბარბაქაძე', 'ბაქრაძე', 'ბახტაძე', 'ბერაძე', 'ბერიშვილი', - 'ბერიძე', 'ბერუაშვილი', 'ბექაური', 'ბიწაძე', 'ბლიაძე', 'ბოლქვაძე', 'ბოჭორიშვილი', 'ბრეგვაძე', 'გაბუნია', 'გაგნიძე', - 'გაგუა', 'გასანოვა', 'გასანოვი', 'გაფრინდაშვილი', 'გაჩეჩილაძე', 'გელაშვილი', 'გიგაური', 'გიორგაძე', 'გოგალაძე', - 'გოგია', 'გოგიაშვილი', 'გოგიტიძე', 'გოგოლაძე', 'გოგოხია', 'გოგუაძე', 'გორგაძე', 'გრიგალაშვილი', 'გურგენიძე', - 'გუსეინოვა', 'გუსეინოვი', 'დავითაშვილი', 'დავითაძე', 'დანელია', 'დევაძე', 'დვალი', 'დვალიშვილი', 'დიასამიძე', - 'დოლიძე', 'დუმბაძე', 'ვაშაკიძე', 'ზოიძე', 'თავაძე', 'თევზაძე', 'თოდუა', 'თურმანიძე', 'ირემაძე', 'ისმაილოვა', - 'ისმაილოვი', 'კაკაბაძე', 'კალანდაძე', 'კანდელაკი', 'კაპანაძე', 'კახიძე', 'კერესელიძე', 'კვარაცხელია', 'კიკაბიძე', - 'კიკნაძე', 'კილაძე', 'კობახიძე', 'კონცელიძე', 'კოპალიანი', 'კუპატაძე', 'კურტანიძე', 'ლაბაძე', 'ლეჟავა', 'ლიპარტელიანი', - 'ლობჟანიძე', 'ლომთაძე', 'ლომიძე', 'ლომსაძე', 'ლორთქიფანიძე', 'მაისურაძე', 'მამედოვა', 'მამედოვი', 'მამულაშვილი', - 'მაღლაკელიძე', 'მაღრაძე', 'მაჭავარიანი', 'მაჭარაშვილი', 'მახარაშვილი', 'მახარაძე', 'მგელაძე', 'მეგრელიშვილი', 'მელაძე', - 'მესხი', 'მეტრეველი', 'მიქავა', 'მიქაძე', 'მიქელაძე', 'მოდებაძე', 'მჟავანაძე', 'მუმლაძე', 'მუსაევი', 'მღებრიშვილი', - 'მჭედლიშვილი', 'მჭედლიძე', 'ნადირაშვილი', 'ნადირაძე', 'ნაკაშიძე', 'ნაცვლიშვილი', 'ნაჭყებია', 'ნოზაძე', 'ონიანი', - 'ოქროპირიძე', 'პეტრიაშვილი', 'ჟვანია', 'ჟორჟოლიანი', 'ჟღენტი', 'რაზმაძე', 'რამიშვილი', 'რეხვიაშვილი', 'რობაქიძე', 'რუხაძე', - 'სამხარაძე', 'სარალიძე', 'სარქისიანი', 'სვანიძე', 'სირაძე', 'სიჭინავა', 'სიხარულიძე', 'სურმანიძე', 'ტაბატაძე', 'ტალახაძე', - 'ტყეშელაშვილი', 'ფეიქრიშვილი', 'ფერაძე', 'ფიფია', 'ფუტკარაძე', 'ფხაკაძე', 'ქავთარაძე', 'ქათამაძე', 'ქარდავა', - 'ქართველიშვილი', 'ქაჯაია', 'ქირია', 'ქობალია', 'ღვინიაშვილი', 'ღლონტი', 'ღონღაძე', 'ყურაშვილი', 'შავაძე', 'შაინიძე', - 'შალამბერიძე', 'შენგელია', 'შონია', 'შუბითიძე', 'ჩადუნელი', 'ჩიქოვანი', 'ჩიხლაძე', 'ჩუბინიძე', 'ჩხაიძე', 'ჩხეიძე', - 'ჩხიკვაძე', 'ცერცვაძე', 'ცეცხლაძე', 'ცინცაძე', 'ცუცქირიძე', 'წერეთელი', 'წიკლაური', 'წულაია', 'წურწუმია', 'ჭანტურია', - 'ჭელიძე', 'ჭიღლაძე', 'ჭკადუა', 'ჭუმბურიძე', 'ხარაიშვილი', 'ხაჩიძე', 'ხვედელიძე', 'ხურცილავა', 'ხურციძე', 'ხუციშვილი', - 'ჯავახიშვილი', 'ჯალაღონია', 'ჯანაშია', 'ჯანელიძე', 'ჯაფარიძე', 'ჯინჭარაძე', 'ჯიქია', 'ჯოხაძე', 'ჯოჯუა', - ]; - - protected static $titleMale = ['ბნ.', 'დოქ.', 'პროფ.']; - - protected static $titleFemale = ['ქნ.', 'დოქ.', 'პროფ.']; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + ]; + + protected static $firstNameMale = [ + 'გიორგი', + 'დავითი', + 'ზურაბი', + 'ალექსანდრე', + 'ირაკლი', + 'ლევანი', + 'გოჩა', + 'მამუკა', + 'ზაზა', + 'გივი', + 'ავთანდილ', + 'მიხეილი', + 'გელა', + 'თამაზი', + 'ლაშა', + 'შოთა', + 'თეიმურაზი', + 'შალვა', + 'გურამი', + 'ნიკოლოზი', + 'ნოდარი', + 'ვლადიმერი', + 'ვაჟა', + 'მერაბი', + 'თენგიზი', + 'გია', + 'ბადრი', + 'კობა', + 'ვახტანგი', + 'ივანე', + 'მალხაზი', + 'ნუგზარი', + 'ამირანი', + 'პაატა', + 'სერგო', + 'ოთარი', + 'რევაზი', + 'აკაკი', + 'ტარიელი', + 'მადონა', + 'დიმიტრი', + 'იური', + 'თემური', + 'კახაბერი', + 'ზვიადი', + 'ელგუჯა', + 'ჯემალი', + 'იოსები', + 'რამაზი', + 'ბექა', + 'რომანი', + 'კახა', + 'თორნიკე', + 'ბესიკი', + 'არჩილი', + 'ალექსი', + 'ხვიჩა', + 'კონსტანტინე', + 'ანზორი', + 'ვასილი', + 'სულიკო', + 'ვალერი', + 'რეზო', + 'ზაური', + 'ნიკა', + 'დოდო', + 'ომარი', + 'მურმანი', + 'სოსო', + 'გრიგოლი', + 'გენადი', + 'ავთანდილი', + 'ემზარი', + 'ჯუმბერი', + 'გიგა', + 'გოდერძი', + ]; + + protected static $firstNameFemale = [ + 'ნინო', + 'მაია', + 'თამარი', + 'ნანა', + 'მანანა', + 'ნათელა', + 'ნათია', + 'მარინე', + 'ქეთევან', + 'ხათუნა', + 'მარინა', + 'ლალი', + 'ლიანა', + 'მზია', + 'ლია', + 'ეკატერინე', + 'ანა', + 'მარიამი', + 'ირმა', + 'ლეილა', + 'ნანული', + 'მერი', + 'ლელა', + 'თეა', + 'სოფიო', + 'ინგა', + 'ეთერი', + 'ნონა', + 'თეონა', + 'შორენა', + 'მაყვალა', + 'ციალა', + 'ლამარა', + 'მაკა', + 'თინა', + 'ნელი', + 'რუსუდანი', + 'დალი', + 'ელენე', + 'თინათინი', + 'ნატო', + 'ნატალია', + 'ია', + 'ჟუჟუნა', + 'ნუნუ', + 'ლილი', + 'ნინა', + 'დარეჯანი', + 'იზოლდა', + 'ირინა', + 'სალომე', + 'ნანი', + 'სვეტლანა', + 'ილია', + 'გულნარა', + 'ეკა', + 'ირინე', + 'ნაზი', + 'თამარა', + 'ციცინო', + 'ქეთევანი', + 'ვენერა', + 'თამილა', + 'ნაირა', + 'სოფიკო', + 'ცისანა', + 'ელისო', + 'ზაირა', + 'ციური', + 'დიანა', + 'ელენა', + 'იამზე', + 'როზა', + 'მედეა', + 'ცირა', + 'ზოია', + 'სულიკო', + 'ლენა', + 'ვერა', + 'ლუიზა', + 'ლარისა', + 'ბელა', + 'ნორა', + 'დოდო', + 'ვალენტინა', + 'ქეთო', + 'ზინა', + 'ტატიანა', + 'მარია', + 'მაგული', + 'თამთა', + 'ნაზიკო', + 'ხატია', + 'მარიკა', + 'ელზა', + 'ანნა', + 'გვანცა', + 'გალინა', + 'ჯულიეტა', + ]; + + protected static $lastName = [ + 'აბაშიძე', + 'აბესაძე', + 'აბრამიშვილი', + 'აბულაძე', + 'ალიევა', + 'ალიევი', + 'ასათიანი', + 'აფციაური', + 'ახალაია', + 'ახვლედიანი', + 'ახმედოვა', + 'ახმედოვი', + 'ბაირამოვა', + 'ბაირამოვი', + 'ბარამიძე', + 'ბარბაქაძე', + 'ბაქრაძე', + 'ბახტაძე', + 'ბერაძე', + 'ბერიშვილი', + 'ბერიძე', + 'ბერუაშვილი', + 'ბექაური', + 'ბიწაძე', + 'ბლიაძე', + 'ბოლქვაძე', + 'ბოჭორიშვილი', + 'ბრეგვაძე', + 'გაბუნია', + 'გაგნიძე', + 'გაგუა', + 'გასანოვა', + 'გასანოვი', + 'გაფრინდაშვილი', + 'გაჩეჩილაძე', + 'გელაშვილი', + 'გიგაური', + 'გიორგაძე', + 'გოგალაძე', + 'გოგია', + 'გოგიაშვილი', + 'გოგიტიძე', + 'გოგოლაძე', + 'გოგოხია', + 'გოგუაძე', + 'გორგაძე', + 'გრიგალაშვილი', + 'გურგენიძე', + 'გუსეინოვა', + 'გუსეინოვი', + 'დავითაშვილი', + 'დავითაძე', + 'დანელია', + 'დევაძე', + 'დვალი', + 'დვალიშვილი', + 'დიასამიძე', + 'დოლიძე', + 'დუმბაძე', + 'ვაშაკიძე', + 'ზოიძე', + 'თავაძე', + 'თევზაძე', + 'თოდუა', + 'თურმანიძე', + 'ირემაძე', + 'ისმაილოვა', + 'ისმაილოვი', + 'კაკაბაძე', + 'კალანდაძე', + 'კანდელაკი', + 'კაპანაძე', + 'კახიძე', + 'კერესელიძე', + 'კვარაცხელია', + 'კიკაბიძე', + 'კიკნაძე', + 'კილაძე', + 'კობახიძე', + 'კონცელიძე', + 'კოპალიანი', + 'კუპატაძე', + 'კურტანიძე', + 'ლაბაძე', + 'ლეჟავა', + 'ლიპარტელიანი', + 'ლობჟანიძე', + 'ლომთაძე', + 'ლომიძე', + 'ლომსაძე', + 'ლორთქიფანიძე', + 'მაისურაძე', + 'მამედოვა', + 'მამედოვი', + 'მამულაშვილი', + 'მაღლაკელიძე', + 'მაღრაძე', + 'მაჭავარიანი', + 'მაჭარაშვილი', + 'მახარაშვილი', + 'მახარაძე', + 'მგელაძე', + 'მეგრელიშვილი', + 'მელაძე', + 'მესხი', + 'მეტრეველი', + 'მიქავა', + 'მიქაძე', + 'მიქელაძე', + 'მოდებაძე', + 'მჟავანაძე', + 'მუმლაძე', + 'მუსაევი', + 'მღებრიშვილი', + 'მჭედლიშვილი', + 'მჭედლიძე', + 'ნადირაშვილი', + 'ნადირაძე', + 'ნაკაშიძე', + 'ნაცვლიშვილი', + 'ნაჭყებია', + 'ნოზაძე', + 'ონიანი', + 'ოქროპირიძე', + 'პეტრიაშვილი', + 'ჟვანია', + 'ჟორჟოლიანი', + 'ჟღენტი', + 'რაზმაძე', + 'რამიშვილი', + 'რეხვიაშვილი', + 'რობაქიძე', + 'რუხაძე', + 'სამხარაძე', + 'სარალიძე', + 'სარქისიანი', + 'სვანიძე', + 'სირაძე', + 'სიჭინავა', + 'სიხარულიძე', + 'სურმანიძე', + 'ტაბატაძე', + 'ტალახაძე', + 'ტყეშელაშვილი', + 'ფეიქრიშვილი', + 'ფერაძე', + 'ფიფია', + 'ფუტკარაძე', + 'ფხაკაძე', + 'ქავთარაძე', + 'ქათამაძე', + 'ქარდავა', + 'ქართველიშვილი', + 'ქაჯაია', + 'ქირია', + 'ქობალია', + 'ღვინიაშვილი', + 'ღლონტი', + 'ღონღაძე', + 'ყურაშვილი', + 'შავაძე', + 'შაინიძე', + 'შალამბერიძე', + 'შენგელია', + 'შონია', + 'შუბითიძე', + 'ჩადუნელი', + 'ჩიქოვანი', + 'ჩიხლაძე', + 'ჩუბინიძე', + 'ჩხაიძე', + 'ჩხეიძე', + 'ჩხიკვაძე', + 'ცერცვაძე', + 'ცეცხლაძე', + 'ცინცაძე', + 'ცუცქირიძე', + 'წერეთელი', + 'წიკლაური', + 'წულაია', + 'წურწუმია', + 'ჭანტურია', + 'ჭელიძე', + 'ჭიღლაძე', + 'ჭკადუა', + 'ჭუმბურიძე', + 'ხარაიშვილი', + 'ხაჩიძე', + 'ხვედელიძე', + 'ხურცილავა', + 'ხურციძე', + 'ხუციშვილი', + 'ჯავახიშვილი', + 'ჯალაღონია', + 'ჯანაშია', + 'ჯანელიძე', + 'ჯაფარიძე', + 'ჯინჭარაძე', + 'ჯიქია', + 'ჯოხაძე', + 'ჯოჯუა', + ]; + + protected static $titleMale = [ 'ბნ.', 'დოქ.', 'პროფ.' ]; + + protected static $titleFemale = [ 'ქნ.', 'დოქ.', 'პროფ.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/PhoneNumber.php index 05a80db..6e40993 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\ka_GE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+995 ### ## ## ##', - '### ## ## ##', - '#########', - '(###) ## ## ##', - '+995(##)#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+995 ### ## ## ##', + '### ## ## ##', + '#########', + '(###) ## ## ##', + '+995(##)#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Text.php index 2c4d171..91c7560 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ka_GE/Text.php @@ -2,24 +2,23 @@ namespace Faker\Provider\ka_GE; -class Text extends \Faker\Provider\Text -{ - protected static $textStartsWithUppercase = false; +class Text extends \Faker\Provider\Text { + protected static $textStartsWithUppercase = false; - /** - * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - * - * Title: კაცია-ადამიანი?! - * Author: ილია ჭავჭავაძე - * Language: Georgian - * - * About Author: http://en.wikipedia.org/wiki/Ilia_Chavchavadze - * - * @see http://www.nplg.gov.ge/gsdl/cgi-bin/library.exe?e=q-00000-00---off-0vertwo--00-1----0-10-0---0---0direct-10-DT--4----Doc---0-1l--11-en-50---20-about-%E1%83%AD%E1%83%90%E1%83%95%E1%83%AD%E1%83%90%E1%83%95%E1%83%90%E1%83%AB%E1%83%94+%E1%83%99%E1%83%90%E1%83%AA%E1%83%98%E1%83%90+%E1%83%90%E1%83%93%E1%83%90%E1%83%9B%E1%83%98%E1%83%90%E1%83%9C%E1%83%98--00-3-1-00-0-0-11-1-0utfZz-8-00&a=d&c=vertwo&srp=0&srn=0&cl=search&d=HASH81409ccfa8b32143543b5f - * - * @var string - */ - protected static $baseText = <<<'EOT' + /** + * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) + * + * Title: კაცია-ადამიანი?! + * Author: ილია ჭავჭავაძე + * Language: Georgian + * + * About Author: http://en.wikipedia.org/wiki/Ilia_Chavchavadze + * + * @see http://www.nplg.gov.ge/gsdl/cgi-bin/library.exe?e=q-00000-00---off-0vertwo--00-1----0-10-0---0---0direct-10-DT--4----Doc---0-1l--11-en-50---20-about-%E1%83%AD%E1%83%90%E1%83%95%E1%83%AD%E1%83%90%E1%83%95%E1%83%90%E1%83%AB%E1%83%94+%E1%83%99%E1%83%90%E1%83%AA%E1%83%98%E1%83%90+%E1%83%90%E1%83%93%E1%83%90%E1%83%9B%E1%83%98%E1%83%90%E1%83%9C%E1%83%98--00-3-1-00-0-0-11-1-0utfZz-8-00&a=d&c=vertwo&srp=0&srn=0&cl=search&d=HASH81409ccfa8b32143543b5f + * + * @var string + */ + protected static $baseText = <<<'EOT' „მოყვარეს პირში უძრახე, მტერს პირს უკანაო”. გონიერი ანდაზა. diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Address.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Address.php index 1491750..7a4e97a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Address.php @@ -2,104 +2,99 @@ namespace Faker\Provider\kk_KZ; -class Address extends \Faker\Provider\Address -{ - protected static $citySuffix = ['қаласы']; +class Address extends \Faker\Provider\Address { + protected static $citySuffix = [ 'қаласы' ]; - protected static $regionSuffix = ['облысы']; - protected static $streetSuffix = [ - 'көшесі', 'даңғылы', - ]; + protected static $regionSuffix = [ 'облысы' ]; + protected static $streetSuffix = [ + 'көшесі', + 'даңғылы', + ]; - protected static $buildingNumber = ['%##']; - protected static $postcode = ['0#####']; - // TODO list all country names in the world - protected static $country = [ - 'Қазақстан', - 'Ресей', - ]; + protected static $buildingNumber = [ '%##' ]; + protected static $postcode = [ '0#####' ]; + // TODO list all country names in the world + protected static $country = [ + 'Қазақстан', + 'Ресей', + ]; - protected static $region = [ - 'Алматы', - 'Ақтау', - 'Ақтөбе', - 'Астана', - 'Атырау', - 'Байқоңыр', - 'Қарағанды', - 'Көкшетау', - 'Қостанай', - 'Қызылорда', - 'Маңғыстау', - 'Павлодар', - 'Петропавл', - 'Талдықорған', - 'Тараз', - 'Орал', - 'Өскемен', - 'Шымкент', - ]; + protected static $region = [ + 'Алматы', + 'Ақтау', + 'Ақтөбе', + 'Астана', + 'Атырау', + 'Байқоңыр', + 'Қарағанды', + 'Көкшетау', + 'Қостанай', + 'Қызылорда', + 'Маңғыстау', + 'Павлодар', + 'Петропавл', + 'Талдықорған', + 'Тараз', + 'Орал', + 'Өскемен', + 'Шымкент', + ]; - protected static $city = [ - 'Алматы', - 'Ақтау', - 'Ақтөбе', - 'Астана', - 'Атырау', - 'Байқоңыр', - 'Қарағанды', - 'Көкшетау', - 'Қостанай', - 'Қызылорда', - 'Маңғыстау', - 'Павлодар', - 'Петропавл', - 'Талдықорған', - 'Тараз', - 'Орал', - 'Өскемен', - 'Шымкент', - ]; + protected static $city = [ + 'Алматы', + 'Ақтау', + 'Ақтөбе', + 'Астана', + 'Атырау', + 'Байқоңыр', + 'Қарағанды', + 'Көкшетау', + 'Қостанай', + 'Қызылорда', + 'Маңғыстау', + 'Павлодар', + 'Петропавл', + 'Талдықорған', + 'Тараз', + 'Орал', + 'Өскемен', + 'Шымкент', + ]; - protected static $street = [ - 'Абай', - 'Гоголь', - 'Кенесары', - 'Бейбітшілік', - 'Достық', - 'Бұқар жырау', - ]; + protected static $street = [ + 'Абай', + 'Гоголь', + 'Кенесары', + 'Бейбітшілік', + 'Достық', + 'Бұқар жырау', + ]; - protected static $addressFormats = [ - '{{postcode}}, {{region}} {{regionSuffix}}, {{city}} {{citySuffix}}, {{street}} {{streetSuffix}}, {{buildingNumber}}', - ]; + protected static $addressFormats = [ + '{{postcode}}, {{region}} {{regionSuffix}}, {{city}} {{citySuffix}}, {{street}} {{streetSuffix}}, {{buildingNumber}}', + ]; - protected static $streetAddressFormats = [ - '{{street}} {{streetSuffix}}, {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{street}} {{streetSuffix}}, {{buildingNumber}}', + ]; - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } - public static function region() - { - return static::randomElement(static::$region); - } + public static function region() { + return static::randomElement( static::$region ); + } - public function city() - { - return static::randomElement(static::$city); - } + public function city() { + return static::randomElement( static::$city ); + } - public static function street() - { - return static::randomElement(static::$street); - } + public static function street() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Color.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Color.php index 3702b2d..400e3ba 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Color.php @@ -2,11 +2,21 @@ namespace Faker\Provider\kk_KZ; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'қара', 'қою қызыл', 'жасыл', 'қара көк', 'сарғыш түс', - 'күлгін', 'көк', 'көк', 'күміс', - 'сұр', 'сары', 'қызылкүрең түс', 'теңіз толқыны түс', 'ақ', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'қара', + 'қою қызыл', + 'жасыл', + 'қара көк', + 'сарғыш түс', + 'күлгін', + 'көк', + 'көк', + 'күміс', + 'сұр', + 'сары', + 'қызылкүрең түс', + 'теңіз толқыны түс', + 'ақ', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Company.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Company.php index 4663a74..833b4eb 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Company.php @@ -2,73 +2,91 @@ namespace Faker\Provider\kk_KZ; -class Company extends \Faker\Provider\Company -{ - protected static $companyNameFormats = [ - '{{companyPrefix}} {{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $companyNameFormats = [ + '{{companyPrefix}} {{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', + ]; - protected static $companyPrefixes = [ - 'АҚ', 'ЖШС', 'ЖАҚ', - ]; + protected static $companyPrefixes = [ + 'АҚ', + 'ЖШС', + 'ЖАҚ', + ]; - protected static $companyNameSuffixes = [ - 'Құрылыс', 'Машина', 'Бұзу', '-М', 'Лизинг', 'Страх', 'Ком', 'Телеком', - ]; + protected static $companyNameSuffixes = [ + 'Құрылыс', + 'Машина', + 'Бұзу', + '-М', + 'Лизинг', + 'Страх', + 'Ком', + 'Телеком', + ]; - protected static $companyElements = [ - 'Қазақ', 'Кітап', 'Цемент', 'Лифт', 'Креп', 'Авто', 'Теле', 'Транс', 'Алмаз', 'Метиз', - 'Мотор', 'Қаз', 'Тех', 'Сантех', 'Алматы', 'Астана', 'Электро', - ]; + protected static $companyElements = [ + 'Қазақ', + 'Кітап', + 'Цемент', + 'Лифт', + 'Креп', + 'Авто', + 'Теле', + 'Транс', + 'Алмаз', + 'Метиз', + 'Мотор', + 'Қаз', + 'Тех', + 'Сантех', + 'Алматы', + 'Астана', + 'Электро', + ]; - /** - * @example 'ЖШС АлматыТелеком' - */ - public function company() - { - $format = static::randomElement(static::$companyNameFormats); + /** + * @example 'ЖШС АлматыТелеком' + */ + public function company() { + $format = static::randomElement( static::$companyNameFormats ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefixes); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefixes ); + } - public static function companyNameElement() - { - return static::randomElement(static::$companyElements); - } + public static function companyNameElement() { + return static::randomElement( static::$companyElements ); + } - public static function companyNameSuffix() - { - return static::randomElement(static::$companyNameSuffixes); - } + public static function companyNameSuffix() { + return static::randomElement( static::$companyNameSuffixes ); + } - /** - * National Business Identification Numbers - * - * @see http://egov.kz/wps/portal/Content?contentPath=%2Fegovcontent%2Fbus_business%2Ffor_businessmen%2Farticle%2Fbusiness_identification_number&lang=en - * - * @param \DateTime $registrationDate - * - * @return string 12 digits, like 150140000019 - */ - public static function businessIdentificationNumber(\DateTime $registrationDate = null) - { - if (!$registrationDate) { - $registrationDate = \Faker\Provider\DateTime::dateTimeThisYear(); - } + /** + * National Business Identification Numbers + * + * @see http://egov.kz/wps/portal/Content?contentPath=%2Fegovcontent%2Fbus_business%2Ffor_businessmen%2Farticle%2Fbusiness_identification_number&lang=en + * + * @param \DateTime $registrationDate + * + * @return string 12 digits, like 150140000019 + */ + public static function businessIdentificationNumber( \DateTime $registrationDate = null ) { + if ( ! $registrationDate ) { + $registrationDate = \Faker\Provider\DateTime::dateTimeThisYear(); + } - $dateAsString = $registrationDate->format('ym'); - $legalEntityType = (string) self::numberBetween(4, 6); - $legalEntityAdditionalType = (string) self::numberBetween(0, 3); - $randomDigits = (string) static::numerify('######'); + $dateAsString = $registrationDate->format( 'ym' ); + $legalEntityType = (string) self::numberBetween( 4, 6 ); + $legalEntityAdditionalType = (string) self::numberBetween( 0, 3 ); + $randomDigits = (string) static::numerify( '######' ); - return $dateAsString . $legalEntityType . $legalEntityAdditionalType . $randomDigits; - } + return $dateAsString . $legalEntityType . $legalEntityAdditionalType . $randomDigits; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Internet.php index 0328da0..1143a72 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\kk_KZ; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['mail.kz', 'yandex.kz', 'host.kz']; - protected static $tld = ['com', 'com', 'net', 'org', 'kz', 'kz', 'kz', 'kz']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'mail.kz', 'yandex.kz', 'host.kz' ]; + protected static $tld = [ 'com', 'com', 'net', 'org', 'kz', 'kz', 'kz', 'kz' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Payment.php index 07b8a30..8fdb85a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Payment.php @@ -2,34 +2,31 @@ namespace Faker\Provider\kk_KZ; -class Payment extends \Faker\Provider\Payment -{ - protected static $banks = [ - 'Қазкоммерцбанк', - 'Халық Банкі', - ]; +class Payment extends \Faker\Provider\Payment { + protected static $banks = [ + 'Қазкоммерцбанк', + 'Халық Банкі', + ]; - /** - * @example 'Қазкоммерцбанк' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Қазкоммерцбанк' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'KZ', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'KZ', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Person.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Person.php index 61852a2..2ef6f9f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Person.php @@ -4,263 +4,258 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - public const GENDER_MALE = 0; - public const GENDER_FEMALE = 1; +class Person extends \Faker\Provider\Person { + public const GENDER_MALE = 0; + public const GENDER_FEMALE = 1; - public const CENTURY_19TH = 0; - public const CENTURY_20TH = 1; - public const CENTURY_21ST = 2; + public const CENTURY_19TH = 0; + public const CENTURY_20TH = 1; + public const CENTURY_21ST = 2; - public const MALE_CENTURY_19TH = 1; - public const MALE_CENTURY_20TH = 3; - public const MALE_CENTURY_21ST = 5; + public const MALE_CENTURY_19TH = 1; + public const MALE_CENTURY_20TH = 3; + public const MALE_CENTURY_21ST = 5; - public const FEMALE_CENTURY_19TH = 2; - public const FEMALE_CENTURY_20TH = 4; - public const FEMALE_CENTURY_21ST = 6; + public const FEMALE_CENTURY_19TH = 2; + public const FEMALE_CENTURY_20TH = 4; + public const FEMALE_CENTURY_21ST = 6; - /** - * @var array - */ - public static $firstSequenceBitWeights = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]; + /** + * @var array + */ + public static $firstSequenceBitWeights = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 ]; - /** - * @var array - */ - public static $secondSequenceBitWeights = [3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2]; + /** + * @var array + */ + public static $secondSequenceBitWeights = [ 3, 4, 5, 6, 7, 8, 9, 10, 11, 1, 2 ]; - /** - * @var array - */ - public static $genderCenturyMap = [ - self::GENDER_MALE => [ - self::CENTURY_19TH => self::MALE_CENTURY_19TH, - self::CENTURY_20TH => self::MALE_CENTURY_20TH, - self::CENTURY_21ST => self::MALE_CENTURY_21ST, - ], - self::GENDER_FEMALE => [ - self::CENTURY_19TH => self::FEMALE_CENTURY_19TH, - self::CENTURY_20TH => self::FEMALE_CENTURY_20TH, - self::CENTURY_21ST => self::FEMALE_CENTURY_21ST, - ], - ]; + /** + * @var array + */ + public static $genderCenturyMap = [ + self::GENDER_MALE => [ + self::CENTURY_19TH => self::MALE_CENTURY_19TH, + self::CENTURY_20TH => self::MALE_CENTURY_20TH, + self::CENTURY_21ST => self::MALE_CENTURY_21ST, + ], + self::GENDER_FEMALE => [ + self::CENTURY_19TH => self::FEMALE_CENTURY_19TH, + self::CENTURY_20TH => self::FEMALE_CENTURY_20TH, + self::CENTURY_21ST => self::FEMALE_CENTURY_21ST, + ], + ]; - /** - * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F - * - * @var array - */ - protected static $maleNameFormats = [ - '{{lastName}}ұлы {{firstNameMale}}', - ]; + /** + * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F + * + * @var array + */ + protected static $maleNameFormats = [ + '{{lastName}}ұлы {{firstNameMale}}', + ]; - /** - * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F - * - * @var array - */ - protected static $femaleNameFormats = [ - '{{lastName}}қызы {{firstNameFemale}}', - ]; + /** + * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F + * + * @var array + */ + protected static $femaleNameFormats = [ + '{{lastName}}қызы {{firstNameFemale}}', + ]; - /** - * @see http://koshpendi.kz/index.php/nomad/imena/ - * - * @var array - */ - protected static $firstNameMale = [ - 'Аылғазы', - 'Әбдіқадыр', - 'Бабағожа', - 'Ғайса', - 'Дәмен', - 'Егізбек', - 'Жазылбек', - 'Зұлпықар', - 'Игісін', - 'Кәдіржан', - 'Қадырқан', - 'Латиф', - 'Мағаз', - 'Нармағамбет', - 'Оңалбай', - 'Өндіріс', - 'Пердебек', - 'Рақат', - 'Сағындық', - 'Танабай', - 'Уайыс', - 'Ұйықбай', - 'Үрімбай', - 'Файзрахман', - 'Хангелді', - 'Шаттық', - 'Ыстамбақы', - 'Ібни', - ]; + /** + * @see http://koshpendi.kz/index.php/nomad/imena/ + * + * @var array + */ + protected static $firstNameMale = [ + 'Аылғазы', + 'Әбдіқадыр', + 'Бабағожа', + 'Ғайса', + 'Дәмен', + 'Егізбек', + 'Жазылбек', + 'Зұлпықар', + 'Игісін', + 'Кәдіржан', + 'Қадырқан', + 'Латиф', + 'Мағаз', + 'Нармағамбет', + 'Оңалбай', + 'Өндіріс', + 'Пердебек', + 'Рақат', + 'Сағындық', + 'Танабай', + 'Уайыс', + 'Ұйықбай', + 'Үрімбай', + 'Файзрахман', + 'Хангелді', + 'Шаттық', + 'Ыстамбақы', + 'Ібни', + ]; - /** - * @see http://koshpendi.kz/index.php/nomad/imena/ - * - * @var array - */ - protected static $firstNameFemale = [ - 'Асылтас', - 'Әужа', - 'Бүлдіршін', - 'Гүлшаш', - 'Ғафура', - 'Ділдә', - 'Еркежан', - 'Жібек', - 'Зылиқа', - 'Ирада', - 'Күнсұлу', - 'Қырмызы', - 'Ләтипа', - 'Мүштәри', - 'Нұршара', - 'Орынша', - 'Өрзия', - 'Перизат', - 'Рухия', - 'Сындыбала', - 'Тұрсынай', - 'Уәсима', - 'Ұрқия', - 'Үрия', - 'Фируза', - 'Хафиза', - 'Шырынгүл', - 'Ырысты', - 'Іңкәр', - ]; + /** + * @see http://koshpendi.kz/index.php/nomad/imena/ + * + * @var array + */ + protected static $firstNameFemale = [ + 'Асылтас', + 'Әужа', + 'Бүлдіршін', + 'Гүлшаш', + 'Ғафура', + 'Ділдә', + 'Еркежан', + 'Жібек', + 'Зылиқа', + 'Ирада', + 'Күнсұлу', + 'Қырмызы', + 'Ләтипа', + 'Мүштәри', + 'Нұршара', + 'Орынша', + 'Өрзия', + 'Перизат', + 'Рухия', + 'Сындыбала', + 'Тұрсынай', + 'Уәсима', + 'Ұрқия', + 'Үрия', + 'Фируза', + 'Хафиза', + 'Шырынгүл', + 'Ырысты', + 'Іңкәр', + ]; - /** - * @see http://koshpendi.kz/index.php/nomad/imena/ - * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F - * - * @var array - */ - protected static $lastName = [ - 'Адырбай', - 'Әжібай', - 'Байбөрі', - 'Ғизат', - 'Ділдабек', - 'Ешмұхамбет', - 'Жігер', - 'Зікірия', - 'Иса', - 'Кунту', - 'Қыдыр', - 'Лұқпан', - 'Мышырбай', - 'Нысынбай', - 'Ошақбай', - 'Өтетілеу', - 'Пірәлі', - 'Рүстем', - 'Сырмұхамбет', - 'Тілеміс', - 'Уәлі', - 'Ұлықбек', - 'Үстем', - 'Фахир', - 'Хұсайын', - 'Шілдебай', - 'Ыстамбақы', - 'Ісмет', - ]; + /** + * @see http://koshpendi.kz/index.php/nomad/imena/ + * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B7%D0%B0%D1%85%D1%81%D0%BA%D0%B0%D1%8F_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D1%8F + * + * @var array + */ + protected static $lastName = [ + 'Адырбай', + 'Әжібай', + 'Байбөрі', + 'Ғизат', + 'Ділдабек', + 'Ешмұхамбет', + 'Жігер', + 'Зікірия', + 'Иса', + 'Кунту', + 'Қыдыр', + 'Лұқпан', + 'Мышырбай', + 'Нысынбай', + 'Ошақбай', + 'Өтетілеу', + 'Пірәлі', + 'Рүстем', + 'Сырмұхамбет', + 'Тілеміс', + 'Уәлі', + 'Ұлықбек', + 'Үстем', + 'Фахир', + 'Хұсайын', + 'Шілдебай', + 'Ыстамбақы', + 'Ісмет', + ]; - /** - * Note! When calculating individual identification number - * 2000-01-01 - 2000-12-31 counts as 21th century - * 1900-01-01 - 1900-12-31 counts as 20th century - * - * @param int $year - * - * @return int - */ - private static function getCenturyByYear($year) - { - if (($year >= 2100) || ($year < 1800)) { - throw new \InvalidArgumentException('Unexpected century'); - } + /** + * Note! When calculating individual identification number + * 2000-01-01 - 2000-12-31 counts as 21th century + * 1900-01-01 - 1900-12-31 counts as 20th century + * + * @param int $year + * + * @return int + */ + private static function getCenturyByYear( $year ) { + if ( ( $year >= 2100 ) || ( $year < 1800 ) ) { + throw new \InvalidArgumentException( 'Unexpected century' ); + } - if ($year >= 2000) { - return self::CENTURY_21ST; - } + if ( $year >= 2000 ) { + return self::CENTURY_21ST; + } - if ($year >= 1900) { - return self::CENTURY_20TH; - } + if ( $year >= 1900 ) { + return self::CENTURY_20TH; + } - return self::CENTURY_19TH; - } + return self::CENTURY_19TH; + } - /** - * National Individual Identification Numbers - * - * @see http://egov.kz/wps/portal/Content?contentPath=%2Fegovcontent%2Fcitizen_migration%2Fpassport_id_card%2Farticle%2Fiin_info&lang=en - * @see https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D0%B4%D0%B8%D0%B2%D0%B8%D0%B4%D1%83%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%B8%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80 - * - * @param \DateTime $birthDate - * @param int $gender - * - * @return string 12 digits, like 780322300455 - */ - public static function individualIdentificationNumber(\DateTime $birthDate = null, $gender = self::GENDER_MALE) - { - if (!$birthDate) { - $birthDate = DateTime::dateTimeBetween(); - } + /** + * National Individual Identification Numbers + * + * @see http://egov.kz/wps/portal/Content?contentPath=%2Fegovcontent%2Fcitizen_migration%2Fpassport_id_card%2Farticle%2Fiin_info&lang=en + * @see https://ru.wikipedia.org/wiki/%D0%98%D0%BD%D0%B4%D0%B8%D0%B2%D0%B8%D0%B4%D1%83%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9_%D0%B8%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80 + * + * @param \DateTime $birthDate + * @param int $gender + * + * @return string 12 digits, like 780322300455 + */ + public static function individualIdentificationNumber( \DateTime $birthDate = null, $gender = self::GENDER_MALE ) { + if ( ! $birthDate ) { + $birthDate = DateTime::dateTimeBetween(); + } - do { - $population = self::numberBetween(1000, 2000); - $century = self::getCenturyByYear((int) $birthDate->format('Y')); + do { + $population = self::numberBetween( 1000, 2000 ); + $century = self::getCenturyByYear( (int) $birthDate->format( 'Y' ) ); - $iin = $birthDate->format('ymd'); - $iin .= (string) self::$genderCenturyMap[$gender][$century]; - $iin .= (string) $population; - $checksum = self::checkSum($iin); - } while ($checksum === 10); + $iin = $birthDate->format( 'ymd' ); + $iin .= (string) self::$genderCenturyMap[ $gender ][ $century ]; + $iin .= (string) $population; + $checksum = self::checkSum( $iin ); + } while ( $checksum === 10 ); - return $iin . (string) $checksum; - } + return $iin . (string) $checksum; + } - /** - * @param string $iinValue - * - * @return int - */ - public static function checkSum($iinValue) - { - $controlDigit = self::getControlDigit($iinValue, self::$firstSequenceBitWeights); + /** + * @param string $iinValue + * + * @return int + */ + public static function checkSum( $iinValue ) { + $controlDigit = self::getControlDigit( $iinValue, self::$firstSequenceBitWeights ); - if ($controlDigit === 10) { - return self::getControlDigit($iinValue, self::$secondSequenceBitWeights); - } + if ( $controlDigit === 10 ) { + return self::getControlDigit( $iinValue, self::$secondSequenceBitWeights ); + } - return $controlDigit; - } + return $controlDigit; + } - /** - * @param string $iinValue - * @param array $sequence - * - * @return int - */ - protected static function getControlDigit($iinValue, $sequence) - { - $sum = 0; + /** + * @param string $iinValue + * @param array $sequence + * + * @return int + */ + protected static function getControlDigit( $iinValue, $sequence ) { + $sum = 0; - for ($i = 0; $i <= 10; ++$i) { - $sum += (int) $iinValue[$i] * $sequence[$i]; - } + for ( $i = 0; $i <= 10; ++ $i ) { + $sum += (int) $iinValue[ $i ] * $sequence[ $i ]; + } - return $sum % 11; - } + return $sum % 11; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/PhoneNumber.php index c5d6440..5cfdd16 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/PhoneNumber.php @@ -2,15 +2,14 @@ namespace Faker\Provider\kk_KZ; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+7 (701) #######', - '+7 (702) #######', - '+7 (705) #######', - '+7 (707) #######', - '+7 (727) 239####', - '+7 (747) #######', - '+7 (7172) 745###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+7 (701) #######', + '+7 (702) #######', + '+7 (705) #######', + '+7 (707) #######', + '+7 (727) 239####', + '+7 (747) #######', + '+7 (7172) 745###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Text.php b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Text.php index 733a889..f30310f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/kk_KZ/Text.php @@ -2,30 +2,29 @@ namespace Faker\Provider\kk_KZ; -class Text extends \Faker\Provider\Text -{ - /** - * From kk.wikipedia.org - * - * Мәтін Creative Commons Attribution-ShareAlike лицензиясы аясында қолжетімді - * кейбір жағдайларда қосымша шарттардың талаптары атқарылады. - * Толығырақ қ. Қолдану шарттары. - * - * - * Title: Арыстан баб кесенесі - * - * Posting Date: 22:55, 2015 ж. сәуірдің 12. - * - * Language: Kazakh - * - * @licence Creative Commons Attribution-ShareAlike http://creativecommons.org/licenses/by-sa/3.0/deed.ru - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see http://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A2%D0%B5%D0%BA%D1%81%D1%82_%D0%BB%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D0%B8_Creative_Commons_Attribution-ShareAlike_3.0_Unported - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * From kk.wikipedia.org + * + * Мәтін Creative Commons Attribution-ShareAlike лицензиясы аясында қолжетімді + * кейбір жағдайларда қосымша шарттардың талаптары атқарылады. + * Толығырақ қ. Қолдану шарттары. + * + * + * Title: Арыстан баб кесенесі + * + * Posting Date: 22:55, 2015 ж. сәуірдің 12. + * + * Language: Kazakh + * + * @licence Creative Commons Attribution-ShareAlike http://creativecommons.org/licenses/by-sa/3.0/deed.ru + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see http://ru.wikipedia.org/wiki/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%8F:%D0%A2%D0%B5%D0%BA%D1%81%D1%82_%D0%BB%D0%B8%D1%86%D0%B5%D0%BD%D0%B7%D0%B8%D0%B8_Creative_Commons_Attribution-ShareAlike_3.0_Unported + * + * @var string + */ + protected static $baseText = <<<'EOT' Арыстан баб кесенесі - көне Отырар жеріндегі сәулет өнері ескерткіші. Түркістан халқының арасында мұсылман дінін таратушы Қожа Ахмет Иасауидің ұстазы болған Арыстан баб ата @@ -145,348 +144,348 @@ class Text extends \Faker\Provider\Text EOT; - /* - *** START: FULL LICENSE *** - - Creative Commons Legal Code - - Attribution-ShareAlike 3.0 Unported - - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR - DAMAGES RESULTING FROM ITS USE. License - - THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS - CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS - PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE - WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS - PROHIBITED. - - BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND - AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS - LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU - THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH - TERMS AND CONDITIONS. - - 1. Definitions - - "Adaptation" means a work based upon the Work, or upon the Work and - other pre-existing works, such as a translation, adaptation, - derivative work, arrangement of music or other alterations of a - literary or artistic work, or phonogram or performance and includes - cinematographic adaptations or any other form in which the Work may be - recast, transformed, or adapted including in any form recognizably - derived from the original, except that a work that constitutes a - Collection will not be considered an Adaptation for the purpose of - this License. For the avoidance of doubt, where the Work is a musical - work, performance or phonogram, the synchronization of the Work in - timed-relation with a moving image ("synching") will be considered an - Adaptation for the purpose of this License. "Collection" means a - collection of literary or artistic works, such as encyclopedias and - anthologies, or performances, phonograms or broadcasts, or other works - or subject matter other than works listed in Section 1(f) below, - which, by reason of the selection and arrangement of their contents, - constitute intellectual creations, in which the Work is included in - its entirety in unmodified form along with one or more other - contributions, each constituting separate and independent works in - themselves, which together are assembled into a collective whole. A - work that constitutes a Collection will not be considered an - Adaptation (as defined below) for the purposes of this License. - "Creative Commons Compatible License" means a license that is listed - at http://creativecommons.org/compatiblelicenses that has been - approved by Creative Commons as being essentially equivalent to this - License, including, at a minimum, because that license: (i) contains - terms that have the same purpose, meaning and effect as the License - Elements of this License; and, (ii) explicitly permits the relicensing - of adaptations of works made available under that license under this - License or a Creative Commons jurisdiction license with the same - License Elements as this License. "Distribute" means to make available - to the public the original and copies of the Work or Adaptation, as - appropriate, through sale or other transfer of ownership. "License - Elements" means the following high-level license attributes as - selected by Licensor and indicated in the title of this License: - Attribution, ShareAlike. "Licensor" means the individual, individuals, - entity or entities that offer(s) the Work under the terms of this - License. "Original Author" means, in the case of a literary or - artistic work, the individual, individuals, entity or entities who - created the Work or if no individual or entity can be identified, the - publisher; and in addition (i) in the case of a performance the - actors, singers, musicians, dancers, and other persons who act, sing, - deliver, declaim, play in, interpret or otherwise perform literary or - artistic works or expressions of folklore; (ii) in the case of a - phonogram the producer being the person or legal entity who first - fixes the sounds of a performance or other sounds; and, (iii) in the - case of broadcasts, the organization that transmits the broadcast. - "Work" means the literary and/or artistic work offered under the terms - of this License including without limitation any production in the - literary, scientific and artistic domain, whatever may be the mode or - form of its expression including digital form, such as a book, - pamphlet and other writing; a lecture, address, sermon or other work - of the same nature; a dramatic or dramatico-musical work; a - choreographic work or entertainment in dumb show; a musical - composition with or without words; a cinematographic work to which are - assimilated works expressed by a process analogous to cinematography; - a work of drawing, painting, architecture, sculpture, engraving or - lithography; a photographic work to which are assimilated works - expressed by a process analogous to photography; a work of applied - art; an illustration, map, plan, sketch or three-dimensional work - relative to geography, topography, architecture or science; a - performance; a broadcast; a phonogram; a compilation of data to the - extent it is protected as a copyrightable work; or a work performed by - a variety or circus performer to the extent it is not otherwise - considered a literary or artistic work. "You" means an individual or - entity exercising rights under this License who has not previously - violated the terms of this License with respect to the Work, or who - has received express permission from the Licensor to exercise rights - under this License despite a previous violation. "Publicly Perform" - means to perform public recitations of the Work and to communicate to - the public those public recitations, by any means or process, - including by wire or wireless means or public digital performances; to - make available to the public Works in such a way that members of the - public may access these Works from a place and at a place individually - chosen by them; to perform the Work to the public by any means or - process and the communication to the public of the performances of the - Work, including by public digital performance; to broadcast and - rebroadcast the Work by any means including signs, sounds or images. - "Reproduce" means to make copies of the Work by any means including - without limitation by sound or visual recordings and the right of - fixation and reproducing fixations of the Work, including storage of a - protected performance or phonogram in digital form or other electronic - medium. 2. Fair Dealing Rights. Nothing in this License is intended to - reduce, limit, or restrict any uses free from copyright or rights - arising from limitations or exceptions that are provided for in - connection with the copyright protection under copyright law or other - applicable laws. - - 3. License Grant. Subject to the terms and conditions of this License, - Licensor hereby grants You a worldwide, royalty-free, non-exclusive, - perpetual (for the duration of the applicable copyright) license to - exercise the rights in the Work as stated below: - - to Reproduce the Work, to incorporate the Work into one or more - Collections, and to Reproduce the Work as incorporated in the - Collections; to create and Reproduce Adaptations provided that any - such Adaptation, including any translation in any medium, takes - reasonable steps to clearly label, demarcate or otherwise identify - that changes were made to the original Work. For example, a - translation could be marked "The original work was translated from - English to Spanish," or a modification could indicate "The original - work has been modified."; to Distribute and Publicly Perform the Work - including as incorporated in Collections; and, to Distribute and - Publicly Perform Adaptations. For the avoidance of doubt: - - Non-waivable Compulsory License Schemes. In those jurisdictions in - which the right to collect royalties through any statutory or - compulsory licensing scheme cannot be waived, the Licensor reserves - the exclusive right to collect such royalties for any exercise by You - of the rights granted under this License; Waivable Compulsory License - Schemes. In those jurisdictions in which the right to collect - royalties through any statutory or compulsory licensing scheme can be - waived, the Licensor waives the exclusive right to collect such - royalties for any exercise by You of the rights granted under this - License; and, Voluntary License Schemes. The Licensor waives the right - to collect royalties, whether individually or, in the event that the - Licensor is a member of a collecting society that administers - voluntary licensing schemes, via that society, from any exercise by - You of the rights granted under this License. The above rights may be - exercised in all media and formats whether now known or hereafter - devised. The above rights include the right to make such modifications - as are technically necessary to exercise the rights in other media and - formats. Subject to Section 8(f), all rights not expressly granted by - Licensor are hereby reserved. - - 4. Restrictions. The license granted in Section 3 above is expressly - made subject to and limited by the following restrictions: - - You may Distribute or Publicly Perform the Work only under the terms - of this License. You must include a copy of, or the Uniform Resource - Identifier (URI) for, this License with every copy of the Work You - Distribute or Publicly Perform. You may not offer or impose any terms - on the Work that restrict the terms of this License or the ability of - the recipient of the Work to exercise the rights granted to that - recipient under the terms of the License. You may not sublicense the - Work. You must keep intact all notices that refer to this License and - to the disclaimer of warranties with every copy of the Work You - Distribute or Publicly Perform. When You Distribute or Publicly - Perform the Work, You may not impose any effective technological - measures on the Work that restrict the ability of a recipient of the - Work from You to exercise the rights granted to that recipient under - the terms of the License. This Section 4(a) applies to the Work as - incorporated in a Collection, but this does not require the Collection - apart from the Work itself to be made subject to the terms of this - License. If You create a Collection, upon notice from any Licensor You - must, to the extent practicable, remove from the Collection any credit - as required by Section 4(c), as requested. If You create an - Adaptation, upon notice from any Licensor You must, to the extent - practicable, remove from the Adaptation any credit as required by - Section 4(c), as requested. You may Distribute or Publicly Perform an - Adaptation only under the terms of: (i) this License; (ii) a later - version of this License with the same License Elements as this - License; (iii) a Creative Commons jurisdiction license (either this or - a later license version) that contains the same License Elements as - this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative - Commons Compatible License. If you license the Adaptation under one of - the licenses mentioned in (iv), you must comply with the terms of that - license. If you license the Adaptation under the terms of any of the - licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), - you must comply with the terms of the Applicable License generally and - the following provisions: (I) You must include a copy of, or the URI - for, the Applicable License with every copy of each Adaptation You - Distribute or Publicly Perform; (II) You may not offer or impose any - terms on the Adaptation that restrict the terms of the Applicable - License or the ability of the recipient of the Adaptation to exercise - the rights granted to that recipient under the terms of the Applicable - License; (III) You must keep intact all notices that refer to the - Applicable License and to the disclaimer of warranties with every copy - of the Work as included in the Adaptation You Distribute or Publicly - Perform; (IV) when You Distribute or Publicly Perform the Adaptation, - You may not impose any effective technological measures on the - Adaptation that restrict the ability of a recipient of the Adaptation - from You to exercise the rights granted to that recipient under the - terms of the Applicable License. This Section 4(b) applies to the - Adaptation as incorporated in a Collection, but this does not require - the Collection apart from the Adaptation itself to be made subject to - the terms of the Applicable License. If You Distribute, or Publicly - Perform the Work or any Adaptations or Collections, You must, unless a - request has been made pursuant to Section 4(a), keep intact all - copyright notices for the Work and provide, reasonable to the medium - or means You are utilizing: (i) the name of the Original Author (or - pseudonym, if applicable) if supplied, and/or if the Original Author - and/or Licensor designate another party or parties (e.g., a sponsor - institute, publishing entity, journal) for attribution ("Attribution - Parties") in Licensor's copyright notice, terms of service or by other - reasonable means, the name of such party or parties; (ii) the title of - the Work if supplied; (iii) to the extent reasonably practicable, the - URI, if any, that Licensor specifies to be associated with the Work, - unless such URI does not refer to the copyright notice or licensing - information for the Work; and (iv) , consistent with Ssection 3(b), in - the case of an Adaptation, a credit identifying the use of the Work in - the Adaptation (e.g., "French translation of the Work by Original - Author," or "Screenplay based on original Work by Original Author"). - The credit required by this Section 4(c) may be implemented in any - reasonable manner; provided, however, that in the case of a Adaptation - or Collection, at a minimum such credit will appear, if a credit for - all contributing authors of the Adaptation or Collection appears, then - as part of these credits and in a manner at least as prominent as the - credits for the other contributing authors. For the avoidance of - doubt, You may only use the credit required by this Section for the - purpose of attribution in the manner set out above and, by exercising - Your rights under this License, You may not implicitly or explicitly - assert or imply any connection with, sponsorship or endorsement by the - Original Author, Licensor and/or Attribution Parties, as appropriate, - of You or Your use of the Work, without the separate, express prior - written permission of the Original Author, Licensor and/or Attribution - Parties. Except as otherwise agreed in writing by the Licensor or as - may be otherwise permitted by applicable law, if You Reproduce, - Distribute or Publicly Perform the Work either by itself or as part of - any Adaptations or Collections, You must not distort, mutilate, modify - or take other derogatory action in relation to the Work which would be - prejudicial to the Original Author's honor or reputation. Licensor - agrees that in those jurisdictions (e.g. Japan), in which any exercise - of the right granted in Section 3(b) of this License (the right to - make Adaptations) would be deemed to be a distortion, mutilation, - modification or other derogatory action prejudicial to the Original - Author's honor and reputation, the Licensor will waive or not assert, - as appropriate, this Section, to the fullest extent permitted by the - applicable national law, to enable You to reasonably exercise Your - right under Section 3(b) of this License (right to make Adaptations) - but not otherwise. 5. Representations, Warranties and Disclaimer - - UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, - LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR - WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, - STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF - TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, - NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, - OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. - SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, - SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - - 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY - APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY - LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR - EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, - EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - 7. Termination - - This License and the rights granted hereunder will terminate - automatically upon any breach by You of the terms of this License. - Individuals or entities who have received Adaptations or Collections - from You under this License, however, will not have their licenses - terminated provided such individuals or entities remain in full - compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will - survive any termination of this License. Subject to the above terms - and conditions, the license granted here is perpetual (for the - duration of the applicable copyright in the Work). Notwithstanding the - above, Licensor reserves the right to release the Work under different - license terms or to stop distributing the Work at any time; provided, - however that any such election will not serve to withdraw this License - (or any other license that has been, or is required to be, granted - under the terms of this License), and this License will continue in - full force and effect unless terminated as stated above. 8. - Miscellaneous - - Each time You Distribute or Publicly Perform the Work or a Collection, - the Licensor offers to the recipient a license to the Work on the same - terms and conditions as the license granted to You under this License. - Each time You Distribute or Publicly Perform an Adaptation, Licensor - offers to the recipient a license to the original Work on the same - terms and conditions as the license granted to You under this License. - If any provision of this License is invalid or unenforceable under - applicable law, it shall not affect the validity or enforceability of - the remainder of the terms of this License, and without further action - by the parties to this agreement, such provision shall be reformed to - the minimum extent necessary to make such provision valid and - enforceable. No term or provision of this License shall be deemed - waived and no breach consented to unless such waiver or consent shall - be in writing and signed by the party to be charged with such waiver - or consent. This License constitutes the entire agreement between the - parties with respect to the Work licensed here. There are no - understandings, agreements or representations with respect to the Work - not specified here. Licensor shall not be bound by any additional - provisions that may appear in any communication from You. This License - may not be modified without the mutual written agreement of the - Licensor and You. The rights granted under, and the subject matter - referenced, in this License were drafted utilizing the terminology of - the Berne Convention for the Protection of Literary and Artistic Works - (as amended on September 28, 1979), the Rome Convention of 1961, the - WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms - Treaty of 1996 and the Universal Copyright Convention (as revised on - July 24, 1971). These rights and subject matter take effect in the - relevant jurisdiction in which the License terms are sought to be - enforced according to the corresponding provisions of the - implementation of those treaty provisions in the applicable national - law. If the standard suite of rights granted under applicable - copyright law includes additional rights not granted under this - License, such additional rights are deemed to be included in the - License; this License is not intended to restrict the license of any - rights under applicable law. Creative Commons Notice - - Creative Commons is not a party to this License, and makes no warranty - whatsoever in connection with the Work. Creative Commons will not be - liable to You or any party on any legal theory for any damages - whatsoever, including without limitation any general, special, - incidental or consequential damages arising in connection to this - license. Notwithstanding the foregoing two (2) sentences, if Creative - Commons has expressly identified itself as the Licensor hereunder, it - shall have all rights and obligations of Licensor. - - Except for the limited purpose of indicating to the public that the - Work is licensed under the CCPL, Creative Commons does not authorize - the use by either party of the trademark "Creative Commons" or any - related trademark or logo of Creative Commons without the prior - written consent of Creative Commons. Any permitted use will be in - compliance with Creative Commons' then-current trademark usage - guidelines, as may be published on its website or otherwise made - available upon request from time to time. For the avoidance of doubt, - this trademark restriction does not form part of the License. - - Creative Commons may be contacted at http://creativecommons.org/. - - */ + /* + *** START: FULL LICENSE *** + + Creative Commons Legal Code + + Attribution-ShareAlike 3.0 Unported + + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. License + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. "Collection" means a + collection of literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, or other works + or subject matter other than works listed in Section 1(f) below, + which, by reason of the selection and arrangement of their contents, + constitute intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this License. + "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been + approved by Creative Commons as being essentially equivalent to this + License, including, at a minimum, because that license: (i) contains + terms that have the same purpose, meaning and effect as the License + Elements of this License; and, (ii) explicitly permits the relicensing + of adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same + License Elements as this License. "Distribute" means to make available + to the public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. "License + Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a performance the + actors, singers, musicians, dancers, and other persons who act, sing, + deliver, declaim, play in, interpret or otherwise perform literary or + artistic works or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, (iii) in the + case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. "You" means an individual or + entity exercising rights under this License who has not previously + violated the terms of this License with respect to the Work, or who + has received express permission from the Licensor to exercise rights + under this License despite a previous violation. "Publicly Perform" + means to perform public recitations of the Work and to communicate to + the public those public recitations, by any means or process, + including by wire or wireless means or public digital performances; to + make available to the public Works in such a way that members of the + public may access these Works from a place and at a place individually + chosen by them; to perform the Work to the public by any means or + process and the communication to the public of the performances of the + Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise identify + that changes were made to the original Work. For example, a + translation could be marked "The original work was translated from + English to Spanish," or a modification could indicate "The original + work has been modified."; to Distribute and Publicly Perform the Work + including as incorporated in Collections; and, to Distribute and + Publicly Perform Adaptations. For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; Waivable Compulsory License + Schemes. In those jurisdictions in which the right to collect + royalties through any statutory or compulsory licensing scheme can be + waived, the Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted under this + License; and, Voluntary License Schemes. The Licensor waives the right + to collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise by + You of the rights granted under this License. The above rights may be + exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications + as are technically necessary to exercise the rights in other media and + formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(c), as requested. You may Distribute or Publicly Perform an + Adaptation only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as this + License; (iii) a Creative Commons jurisdiction license (either this or + a later license version) that contains the same License Elements as + this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative + Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that + license. If you license the Adaptation under the terms of any of the + licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. If You Distribute, or Publicly + Perform the Work or any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep intact all + copyright notices for the Work and provide, reasonable to the medium + or means You are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution + Parties") in Licensor's copyright notice, terms of service or by other + reasonable means, the name of such party or parties; (ii) the title of + the Work if supplied; (iii) to the extent reasonably practicable, the + URI, if any, that Licensor specifies to be associated with the Work, + unless such URI does not refer to the copyright notice or licensing + information for the Work; and (iv) , consistent with Ssection 3(b), in + the case of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of + doubt, You may only use the credit required by this Section for the + purpose of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement by the + Original Author, Licensor and/or Attribution Parties, as appropriate, + of You or Your use of the Work, without the separate, express prior + written permission of the Original Author, Licensor and/or Attribution + Parties. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as part of + any Adaptations or Collections, You must not distort, mutilate, modify + or take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms + and conditions, the license granted here is perpetual (for the + duration of the applicable copyright in the Work). Notwithstanding the + above, Licensor reserves the right to release the Work under different + license terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this License + (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in + full force and effect unless terminated as stated above. 8. + Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such waiver + or consent. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to the Work + not specified here. Licensor shall not be bound by any additional + provisions that may appear in any communication from You. This License + may not be modified without the mutual written agreement of the + Licensor and You. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the terminology of + the Berne Convention for the Protection of Literary and Artistic Works + (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as revised on + July 24, 1971). These rights and subject matter take effect in the + relevant jurisdiction in which the License terms are sought to be + enforced according to the corresponding provisions of the + implementation of those treaty provisions in the applicable national + law. If the standard suite of rights granted under applicable + copyright law includes additional rights not granted under this + License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of the License. + + Creative Commons may be contacted at http://creativecommons.org/. + + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Address.php index d0f7990..8963e64 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Address.php @@ -2,95 +2,380 @@ namespace Faker\Provider\ko_KR; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####']; - protected static $buildingNumber = ['%###', '%##']; - protected static $metropolitanCity = [ - '서울특별시', '부산광역시', '대구광역시', '인천광역시', '광주광역시', '대전광역시', '울산광역시', - ]; - protected static $province = [ - '경기도', '강원도', '충청북도', '충청남도', '전라북도', '전라남도', '경상북도', '경상남도', '제주특별자치도', - ]; - protected static $city = [ - '파주시', '수원시', '수원시 권선구', '수원시 팔달구', '수원시 영통구', '성남시', '성남시 수정구', '성남시 중원구', '화성시', - '성남시 분당구', '안양시', '안양시 만안구', '안양시 동안구', '부천시', '부천시 원미구', '부천시 소사구', '부천시 오정구', '광명시', - '평택시', '이천시', '동두천시', '안산시', '안산시 상록구', '안산시 단원구', '안성시', '고양시', '고양시 덕양구', '고양시 일산동구', - '고양시 일산서구', '과천시', '구리시', '남양주시', '오산시', '시흥시', '군포시', '의왕시', '하남시', '김포시', '용인시', '용인시 처인구', - '용인시 기흥구', '용인시 수지구', '연천군', '가평군', '양평군', '광주시', '포천시', '양주시', '수원시 장안구', '의정부시', '여주시', - ]; - protected static $borough = [ - '종로구', '중구', '용산구', '성동구', '광진구', '동대문구', '중랑구', '성북구', '강북구', '도봉구', '노원구', '은평구', '서대문구', - '마포구', '양천구', '강서구', '구로구', '금천구', '영등포구', '동작구', '관악구', '서초구', '강남구', '송파구', '강동구', - '동구', '서구', '남구', '북구', '중구', - ]; - protected static $streetName = [ - '압구정로', '도산대로', '학동로', '봉은사로', '테헤란로', '역삼로', '논현로', '언주로', '강남대로', '양재천로', '삼성로', '영동대로', - '개포로', '선릉로', '반포대로', '서초중앙로', '서초대로', '잠실로', '석촌호수로', '백제고분로', '가락로', '오금로', - ]; - protected static $country = [ - '가나', '가봉', '가이아나', '감비아', '과테말라', '그레나다', '그리스', '기니', '기니비사우', '나고르노카라바흐 공화국', '나미비아', - '나우루', '나이지리아', '남수단', '남아프리카 공화국', '남오세티야', '네덜란드', '네팔', '노르웨이', '뉴질랜드', '니제르', '니카라과', - '대한민국', '덴마크', '도미니카', '도미니카 공화국', '독일', '동티모르', '라오스', '라이베리아', '라트비아', '러시아', '레바논', '레소토', - '루마니아', '룩셈부르크', '르완다', '리비아', '리투아니아', '리히텐슈타인', '마다가스카르', '마셜 제도', '마케도니아 공화국', '말라위', - '말레이시아', '말리', '멕시코', '모나코', '모로코', '모리셔스', '모리타니', '모잠비크', '몬테네그로', '몰도바', '몰디브', '몰타', '몽골', - '미국', '미얀마', '미크로네시아 연방', '바누아투', '바레인', '바베이도스', '바티칸', '바하마', '방글라데시', '베냉', '베네수엘라', - '베트남', '벨기에', '벨라루스', '벨리즈', '보스니아 헤르체고비나', '보츠와나', '볼리비아', '부룬디', '부르키나파소', '부탄', '북키프로스', - '불가리아', '브라질', '브루나이', '사모아', '사우디아라비아', '사하라 아랍 민주 공화국 (서사하라)', '산마리노', '상투메 프린시페', '세네갈', - '세르비아', '세이셸', '세인트 루시아', '세인트 키츠 네비스', '세인트빈센트 그레나딘', '소말리아', '소말릴란드 (소말리아 영토)', - '솔로몬 제도', '수단', '수리남', '스리랑카', '스와질란드', '스웨덴', '스위스', '스페인', '슬로바키아', '슬로베니아', '시리아', - '시에라리온', '싱가포르', '아랍에미리트', '아르메니아', '아르헨티나', '아이슬란드', '아일랜드', '아제르바이잔', '아프가니스탄', '안도라', - '알바니아', '알제리', '압하스', '앙골라', '앤티가 바부다', '에리트레아', '에스토니아', '에콰도르', '에티오피아', '엘살바도르', '영국', - '예멘', '오만', '오스트레일리아', '오스트리아', '온두라스', '요르단', '우간다', '우루과이', '우즈베키스탄', '우크라이나', '이란', '이라크', - '이스라엘', '이집트', '이탈리아', '인도', '인도네시아', '일본', '자메이카', '잠비아', '적도 기니', '조선민주주의인민공화국', '조지아', - '중앙아프리카 공화국', '중화민국', '중화인민공화국', '지부티', '짐바브웨', '차드', '체코', '칠레', '카메룬', '카보베르데', '카자흐스탄', - '카타르', '캄보디아', '캐나다', '케냐', '코모로', '코소보 공화국', '코스타리카', '코트디부아르', '콜롬비아', '콩고 공화국', - '콩고 민주 공화국', '쿠바', '쿠웨이트', '크로아티아', '키르기스스탄', '키리바시', '키프로스', '타이', '타지키스탄', '탄자니아', '터키', - '토고', '통가', '투르크메니스탄', '투발루', '튀니지', '트란스니스트리아', '트리니다드 토바고', '파나마', '파라과이', '파키스탄', - '파푸아 뉴기니', '팔라우', '팔레스타인국', '페루', '포르투갈', '폴란드', '프랑스', '피지', '핀란드', '필리핀', '헝가리', - ]; - protected static $addressFormats = [ - '{{metropolitanCity}} {{borough}} {{streetName}} {{buildingNumber}}', - '{{province}} {{city}} {{streetName}} {{buildingNumber}}', - ]; +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####' ]; + protected static $buildingNumber = [ '%###', '%##' ]; + protected static $metropolitanCity = [ + '서울특별시', + '부산광역시', + '대구광역시', + '인천광역시', + '광주광역시', + '대전광역시', + '울산광역시', + ]; + protected static $province = [ + '경기도', + '강원도', + '충청북도', + '충청남도', + '전라북도', + '전라남도', + '경상북도', + '경상남도', + '제주특별자치도', + ]; + protected static $city = [ + '파주시', + '수원시', + '수원시 권선구', + '수원시 팔달구', + '수원시 영통구', + '성남시', + '성남시 수정구', + '성남시 중원구', + '화성시', + '성남시 분당구', + '안양시', + '안양시 만안구', + '안양시 동안구', + '부천시', + '부천시 원미구', + '부천시 소사구', + '부천시 오정구', + '광명시', + '평택시', + '이천시', + '동두천시', + '안산시', + '안산시 상록구', + '안산시 단원구', + '안성시', + '고양시', + '고양시 덕양구', + '고양시 일산동구', + '고양시 일산서구', + '과천시', + '구리시', + '남양주시', + '오산시', + '시흥시', + '군포시', + '의왕시', + '하남시', + '김포시', + '용인시', + '용인시 처인구', + '용인시 기흥구', + '용인시 수지구', + '연천군', + '가평군', + '양평군', + '광주시', + '포천시', + '양주시', + '수원시 장안구', + '의정부시', + '여주시', + ]; + protected static $borough = [ + '종로구', + '중구', + '용산구', + '성동구', + '광진구', + '동대문구', + '중랑구', + '성북구', + '강북구', + '도봉구', + '노원구', + '은평구', + '서대문구', + '마포구', + '양천구', + '강서구', + '구로구', + '금천구', + '영등포구', + '동작구', + '관악구', + '서초구', + '강남구', + '송파구', + '강동구', + '동구', + '서구', + '남구', + '북구', + '중구', + ]; + protected static $streetName = [ + '압구정로', + '도산대로', + '학동로', + '봉은사로', + '테헤란로', + '역삼로', + '논현로', + '언주로', + '강남대로', + '양재천로', + '삼성로', + '영동대로', + '개포로', + '선릉로', + '반포대로', + '서초중앙로', + '서초대로', + '잠실로', + '석촌호수로', + '백제고분로', + '가락로', + '오금로', + ]; + protected static $country = [ + '가나', + '가봉', + '가이아나', + '감비아', + '과테말라', + '그레나다', + '그리스', + '기니', + '기니비사우', + '나고르노카라바흐 공화국', + '나미비아', + '나우루', + '나이지리아', + '남수단', + '남아프리카 공화국', + '남오세티야', + '네덜란드', + '네팔', + '노르웨이', + '뉴질랜드', + '니제르', + '니카라과', + '대한민국', + '덴마크', + '도미니카', + '도미니카 공화국', + '독일', + '동티모르', + '라오스', + '라이베리아', + '라트비아', + '러시아', + '레바논', + '레소토', + '루마니아', + '룩셈부르크', + '르완다', + '리비아', + '리투아니아', + '리히텐슈타인', + '마다가스카르', + '마셜 제도', + '마케도니아 공화국', + '말라위', + '말레이시아', + '말리', + '멕시코', + '모나코', + '모로코', + '모리셔스', + '모리타니', + '모잠비크', + '몬테네그로', + '몰도바', + '몰디브', + '몰타', + '몽골', + '미국', + '미얀마', + '미크로네시아 연방', + '바누아투', + '바레인', + '바베이도스', + '바티칸', + '바하마', + '방글라데시', + '베냉', + '베네수엘라', + '베트남', + '벨기에', + '벨라루스', + '벨리즈', + '보스니아 헤르체고비나', + '보츠와나', + '볼리비아', + '부룬디', + '부르키나파소', + '부탄', + '북키프로스', + '불가리아', + '브라질', + '브루나이', + '사모아', + '사우디아라비아', + '사하라 아랍 민주 공화국 (서사하라)', + '산마리노', + '상투메 프린시페', + '세네갈', + '세르비아', + '세이셸', + '세인트 루시아', + '세인트 키츠 네비스', + '세인트빈센트 그레나딘', + '소말리아', + '소말릴란드 (소말리아 영토)', + '솔로몬 제도', + '수단', + '수리남', + '스리랑카', + '스와질란드', + '스웨덴', + '스위스', + '스페인', + '슬로바키아', + '슬로베니아', + '시리아', + '시에라리온', + '싱가포르', + '아랍에미리트', + '아르메니아', + '아르헨티나', + '아이슬란드', + '아일랜드', + '아제르바이잔', + '아프가니스탄', + '안도라', + '알바니아', + '알제리', + '압하스', + '앙골라', + '앤티가 바부다', + '에리트레아', + '에스토니아', + '에콰도르', + '에티오피아', + '엘살바도르', + '영국', + '예멘', + '오만', + '오스트레일리아', + '오스트리아', + '온두라스', + '요르단', + '우간다', + '우루과이', + '우즈베키스탄', + '우크라이나', + '이란', + '이라크', + '이스라엘', + '이집트', + '이탈리아', + '인도', + '인도네시아', + '일본', + '자메이카', + '잠비아', + '적도 기니', + '조선민주주의인민공화국', + '조지아', + '중앙아프리카 공화국', + '중화민국', + '중화인민공화국', + '지부티', + '짐바브웨', + '차드', + '체코', + '칠레', + '카메룬', + '카보베르데', + '카자흐스탄', + '카타르', + '캄보디아', + '캐나다', + '케냐', + '코모로', + '코소보 공화국', + '코스타리카', + '코트디부아르', + '콜롬비아', + '콩고 공화국', + '콩고 민주 공화국', + '쿠바', + '쿠웨이트', + '크로아티아', + '키르기스스탄', + '키리바시', + '키프로스', + '타이', + '타지키스탄', + '탄자니아', + '터키', + '토고', + '통가', + '투르크메니스탄', + '투발루', + '튀니지', + '트란스니스트리아', + '트리니다드 토바고', + '파나마', + '파라과이', + '파키스탄', + '파푸아 뉴기니', + '팔라우', + '팔레스타인국', + '페루', + '포르투갈', + '폴란드', + '프랑스', + '피지', + '핀란드', + '필리핀', + '헝가리', + ]; + protected static $addressFormats = [ + '{{metropolitanCity}} {{borough}} {{streetName}} {{buildingNumber}}', + '{{province}} {{city}} {{streetName}} {{buildingNumber}}', + ]; - /** - * @example '서울특별시' - */ - public function metropolitanCity() - { - return static::randomElement(static::$metropolitanCity); - } + /** + * @example '서울특별시' + */ + public function metropolitanCity() { + return static::randomElement( static::$metropolitanCity ); + } - /** - * @example '경기도' - */ - public static function province() - { - return static::randomElement(static::$province); - } + /** + * @example '경기도' + */ + public static function province() { + return static::randomElement( static::$province ); + } - /** - * @example '고양시' - */ - public function city() - { - return static::randomElement(static::$city); - } + /** + * @example '고양시' + */ + public function city() { + return static::randomElement( static::$city ); + } - /** - * @example '강남구' - */ - public function borough() - { - return static::randomElement(static::$borough); - } + /** + * @example '강남구' + */ + public function borough() { + return static::randomElement( static::$borough ); + } - /** - * @example '강남대로' - */ - public function streetName() - { - return static::randomElement(static::$streetName); - } + /** + * @example '강남대로' + */ + public function streetName() { + return static::randomElement( static::$streetName ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Company.php index 72435c8..c0a1441 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Company.php @@ -2,30 +2,42 @@ namespace Faker\Provider\ko_KR; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}}{{firstName}}', - '{{companyPrefix}}{{firstName}}{{companySuffix}}', - '{{firstName}}{{companySuffix}}', - '{{firstName}}{{companySuffix}}', - '{{firstName}}{{companySuffix}}', - '{{firstName}}{{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}}{{firstName}}', + '{{companyPrefix}}{{firstName}}{{companySuffix}}', + '{{firstName}}{{companySuffix}}', + '{{firstName}}{{companySuffix}}', + '{{firstName}}{{companySuffix}}', + '{{firstName}}{{companySuffix}}', + ]; - protected static $companyPrefix = ['(주)', '(주)', '(주)', '(유)']; + protected static $companyPrefix = [ '(주)', '(주)', '(주)', '(유)' ]; - protected static $companySuffix = [ - '전자', '건설', '식품', '인터넷', '그룹', '은행', '보험', '제약', '금융', '네트웍스', '기획', '미디어', '연구소', '모바일', '스튜디오', '캐피탈', - ]; + protected static $companySuffix = [ + '전자', + '건설', + '식품', + '인터넷', + '그룹', + '은행', + '보험', + '제약', + '금융', + '네트웍스', + '기획', + '미디어', + '연구소', + '모바일', + '스튜디오', + '캐피탈', + ]; - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - public static function companySuffix() - { - return static::randomElement(static::$companySuffix); - } + public static function companySuffix() { + return static::randomElement( static::$companySuffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Internet.php index 6d7dac3..d249ac0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Internet.php @@ -2,85 +2,364 @@ namespace Faker\Provider\ko_KR; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameAscii}}.{{firstNameAscii}}', '{{firstNameAscii}}.{{lastNameAscii}}', '{{firstNameAscii}}##', '?{{lastNameAscii}}', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameAscii}}.{{firstNameAscii}}', + '{{firstNameAscii}}.{{lastNameAscii}}', + '{{firstNameAscii}}##', + '?{{lastNameAscii}}', + ]; - protected static $safeEmailTld = [ - 'com', 'kr', 'me', 'net', 'org', - ]; + protected static $safeEmailTld = [ + 'com', + 'kr', + 'me', + 'net', + 'org', + ]; - protected static $tld = [ - 'biz', 'com', 'info', 'kr', 'net', 'org', - ]; + protected static $tld = [ + 'biz', + 'com', + 'info', + 'kr', + 'net', + 'org', + ]; - /** - * {@link} http://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%9D%B8%EA%B5%AC%EC%88%9C_%EC%84%B1%EC%94%A8_%EB%AA%A9%EB%A1%9D - */ - protected static $lastNameAscii = [ - 'ahn', 'bae', 'baek', 'chang', 'cheon', 'cho', 'choi', 'chung', 'gang', 'go', 'gwak', 'gwon', 'ha', 'han', - 'heo', 'hong', 'hwang', 'jang', 'jeon', 'jo', 'jung', 'kang', 'kim', 'ko', 'kwak', 'kwon', 'lee', 'lim', 'moon', - 'nam', 'no', 'oh', 'park', 'ryu', 'seo', 'shim', 'shin', 'son', 'song', 'yang', 'yoon', 'yu', - ]; + /** + * {@link} http://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%9D%B8%EA%B5%AC%EC%88%9C_%EC%84%B1%EC%94%A8_%EB%AA%A9%EB%A1%9D + */ + protected static $lastNameAscii = [ + 'ahn', + 'bae', + 'baek', + 'chang', + 'cheon', + 'cho', + 'choi', + 'chung', + 'gang', + 'go', + 'gwak', + 'gwon', + 'ha', + 'han', + 'heo', + 'hong', + 'hwang', + 'jang', + 'jeon', + 'jo', + 'jung', + 'kang', + 'kim', + 'ko', + 'kwak', + 'kwon', + 'lee', + 'lim', + 'moon', + 'nam', + 'no', + 'oh', + 'park', + 'ryu', + 'seo', + 'shim', + 'shin', + 'son', + 'song', + 'yang', + 'yoon', + 'yu', + ]; - /** - * {@link} http://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%9D%98_%EC%84%B1%EC%94%A8%EC%99%80_%EC%9D%B4%EB%A6%84#.EC.8B.9C.EB.8C.80.EB.B3.84_.EA.B0.80.EC.9E.A5_.ED.9D.94.ED.95.9C_.EC.9D.B4.EB.A6.84_10.EC.84.A0.28.E9.81.B8.29 - */ - protected static $firstNameAscii = [ - 'areum', 'arin', 'banhee', 'bom', 'bomi', 'bomin', 'boram', 'byungcheol', 'byungho', 'chaehyun', 'chaewon', - 'changyoung', 'daesoo', 'daesun', 'dayoung', 'dohyunn', 'dongha', 'donghyun', 'donghyun', 'dongyoon', 'doyoon', - 'doyoun', 'eunae', 'eunhee', 'eunhye', 'eunhyoung', 'eunji', 'eunjin', 'eunju', 'eunjung', 'eunkyoung', 'eunmi', - 'eunsang', 'eunseo', 'eunsung', 'eunteck', 'eunyoung', 'gangeun', 'ganghee', 'garam', 'geongeun', 'gunho', - 'gunwoo', 'haeun', 'hana', 'hanna', 'hayun', 'heekyoung', 'heewon', 'hojin', 'homin', 'hongsun', 'hyejin', - 'hyemin', 'hyena', 'hyerim', 'hyesuk', 'hyesun', 'hyeyoun', 'hyoil', 'hyojin', 'hyounjung', 'hyuksang', - 'hyungcheol', 'hyungmin', 'hyunji', 'hyunjong', 'hyunjoo', 'hyunjun', 'hyunkyu', 'hyunwoo', 'hyunyoung', - 'ingyu', 'inhwa', 'jaecheo', 'jaeho', 'jaehun', 'jaehyuk', 'jaehyun', 'jaeyeon', 'jaeyun', 'jia', 'jieun', - 'jihee', 'jihoo', 'jihoon', 'jihye', 'jihyeon', 'jimin', 'jina', 'jinhee', 'jinho', 'jinsoo', 'jinwoo', 'jisuk', - 'jisun', 'jiwon', 'jiwoo', 'jiye', 'jiyeon', 'jiyoung', 'jonghun', 'jongju', 'jongsoo', 'jughyung', 'juhee', - 'jumi', 'jumyoung', 'jun', 'junbum', 'jungeun', 'jungho', 'junghun', 'junghwa', 'jungmin', 'jungnam', 'jungran', - 'jungshik', 'jungsoo', 'jungsoo', 'jungwoong', 'junho', 'junhyuk', 'junhyung', 'junseo', 'junyoung', 'juwon', - 'juyeon', 'kisoo', 'kiyun', 'kubum', 'kwangsoo', 'kyungchoon', 'kyunghwan', 'kyungjoo', 'kyungseok', 'kyungsoo', - 'kyusan', 'mijung', 'mikyoung', 'mina', 'mincheol', 'minhee', 'minhwan', 'minhyoung', 'minjae', 'minji', - 'minjun', 'minseo', 'minseok', 'minsoo', 'minsung', 'mira', 'miran', 'miyoung', 'moonchang', 'moonyong', - 'myungho', 'myungshik', 'naeun', 'nahyoung', 'namho', 'namsoo', 'naree', 'naroo', 'nayun', 'nuree', 'saemi', - 'sangah', 'sangcheol', 'sangho', 'sanghun', 'sanghyun', 'sangjun', 'sangmyoung', 'sangsoo', 'sangsun', - 'sangwoo', 'sangwook', 'seoho', 'seohyeon', 'seojun', 'seoyeon', 'seoyoung', 'seoyun', 'seulki', 'seungho', - 'seunghyun', 'seungmin', 'sewon', 'sieun', 'sinae', 'siwoo', 'sojung', 'somin', 'soyoun', 'soyoung', 'subin', - 'sujin', 'sujung', 'sumin', 'sungeun', 'sunggon', 'sungho', 'sunghun', 'sunghyun', 'sungjin', 'sungmi', - 'sungmin', 'sungmin', 'sungryung', 'sungsoo', 'sunhang', 'sunho', 'sunjung', 'sunwoo', 'sunyoung', 'sunyup', - 'suran', 'suwon', 'suwon', 'suyoun', 'taehee', 'taeho', 'taehyun', 'wonhee', 'wonjin', 'wonjun', 'woojin', - 'yeji', 'yejin', 'yejun', 'yeojin', 'yeon', 'yewon', 'youngcheol', 'younggil', 'youngha', 'youngho', 'younghun', - 'younghwa', 'youngil', 'youngjin', 'youngjin', 'youngshik', 'youngsoo', 'youngtae', 'youngwhan', 'youngwhan', - 'younhee', 'younsun', 'yujin', 'yujung', 'yunkyoung', 'yunmi', 'yunseo', 'yunyoung', 'yuri', - ]; + /** + * {@link} http://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%9D%98_%EC%84%B1%EC%94%A8%EC%99%80_%EC%9D%B4%EB%A6%84#.EC.8B.9C.EB.8C.80.EB.B3.84_.EA.B0.80.EC.9E.A5_.ED.9D.94.ED.95.9C_.EC.9D.B4.EB.A6.84_10.EC.84.A0.28.E9.81.B8.29 + */ + protected static $firstNameAscii = [ + 'areum', + 'arin', + 'banhee', + 'bom', + 'bomi', + 'bomin', + 'boram', + 'byungcheol', + 'byungho', + 'chaehyun', + 'chaewon', + 'changyoung', + 'daesoo', + 'daesun', + 'dayoung', + 'dohyunn', + 'dongha', + 'donghyun', + 'donghyun', + 'dongyoon', + 'doyoon', + 'doyoun', + 'eunae', + 'eunhee', + 'eunhye', + 'eunhyoung', + 'eunji', + 'eunjin', + 'eunju', + 'eunjung', + 'eunkyoung', + 'eunmi', + 'eunsang', + 'eunseo', + 'eunsung', + 'eunteck', + 'eunyoung', + 'gangeun', + 'ganghee', + 'garam', + 'geongeun', + 'gunho', + 'gunwoo', + 'haeun', + 'hana', + 'hanna', + 'hayun', + 'heekyoung', + 'heewon', + 'hojin', + 'homin', + 'hongsun', + 'hyejin', + 'hyemin', + 'hyena', + 'hyerim', + 'hyesuk', + 'hyesun', + 'hyeyoun', + 'hyoil', + 'hyojin', + 'hyounjung', + 'hyuksang', + 'hyungcheol', + 'hyungmin', + 'hyunji', + 'hyunjong', + 'hyunjoo', + 'hyunjun', + 'hyunkyu', + 'hyunwoo', + 'hyunyoung', + 'ingyu', + 'inhwa', + 'jaecheo', + 'jaeho', + 'jaehun', + 'jaehyuk', + 'jaehyun', + 'jaeyeon', + 'jaeyun', + 'jia', + 'jieun', + 'jihee', + 'jihoo', + 'jihoon', + 'jihye', + 'jihyeon', + 'jimin', + 'jina', + 'jinhee', + 'jinho', + 'jinsoo', + 'jinwoo', + 'jisuk', + 'jisun', + 'jiwon', + 'jiwoo', + 'jiye', + 'jiyeon', + 'jiyoung', + 'jonghun', + 'jongju', + 'jongsoo', + 'jughyung', + 'juhee', + 'jumi', + 'jumyoung', + 'jun', + 'junbum', + 'jungeun', + 'jungho', + 'junghun', + 'junghwa', + 'jungmin', + 'jungnam', + 'jungran', + 'jungshik', + 'jungsoo', + 'jungsoo', + 'jungwoong', + 'junho', + 'junhyuk', + 'junhyung', + 'junseo', + 'junyoung', + 'juwon', + 'juyeon', + 'kisoo', + 'kiyun', + 'kubum', + 'kwangsoo', + 'kyungchoon', + 'kyunghwan', + 'kyungjoo', + 'kyungseok', + 'kyungsoo', + 'kyusan', + 'mijung', + 'mikyoung', + 'mina', + 'mincheol', + 'minhee', + 'minhwan', + 'minhyoung', + 'minjae', + 'minji', + 'minjun', + 'minseo', + 'minseok', + 'minsoo', + 'minsung', + 'mira', + 'miran', + 'miyoung', + 'moonchang', + 'moonyong', + 'myungho', + 'myungshik', + 'naeun', + 'nahyoung', + 'namho', + 'namsoo', + 'naree', + 'naroo', + 'nayun', + 'nuree', + 'saemi', + 'sangah', + 'sangcheol', + 'sangho', + 'sanghun', + 'sanghyun', + 'sangjun', + 'sangmyoung', + 'sangsoo', + 'sangsun', + 'sangwoo', + 'sangwook', + 'seoho', + 'seohyeon', + 'seojun', + 'seoyeon', + 'seoyoung', + 'seoyun', + 'seulki', + 'seungho', + 'seunghyun', + 'seungmin', + 'sewon', + 'sieun', + 'sinae', + 'siwoo', + 'sojung', + 'somin', + 'soyoun', + 'soyoung', + 'subin', + 'sujin', + 'sujung', + 'sumin', + 'sungeun', + 'sunggon', + 'sungho', + 'sunghun', + 'sunghyun', + 'sungjin', + 'sungmi', + 'sungmin', + 'sungmin', + 'sungryung', + 'sungsoo', + 'sunhang', + 'sunho', + 'sunjung', + 'sunwoo', + 'sunyoung', + 'sunyup', + 'suran', + 'suwon', + 'suwon', + 'suyoun', + 'taehee', + 'taeho', + 'taehyun', + 'wonhee', + 'wonjin', + 'wonjun', + 'woojin', + 'yeji', + 'yejin', + 'yejun', + 'yeojin', + 'yeon', + 'yewon', + 'youngcheol', + 'younggil', + 'youngha', + 'youngho', + 'younghun', + 'younghwa', + 'youngil', + 'youngjin', + 'youngjin', + 'youngshik', + 'youngsoo', + 'youngtae', + 'youngwhan', + 'youngwhan', + 'younhee', + 'younsun', + 'yujin', + 'yujung', + 'yunkyoung', + 'yunmi', + 'yunseo', + 'yunyoung', + 'yuri', + ]; - public static function lastNameAscii() - { - return static::randomElement(static::$lastNameAscii); - } + public static function lastNameAscii() { + return static::randomElement( static::$lastNameAscii ); + } - public static function firstNameAscii() - { - return static::randomElement(static::$firstNameAscii); - } + public static function firstNameAscii() { + return static::randomElement( static::$firstNameAscii ); + } - /** - * @example 'gunwoo.gang' - */ - public function userName() - { - $format = static::randomElement(static::$userNameFormats); + /** + * @example 'gunwoo.gang' + */ + public function userName() { + $format = static::randomElement( static::$userNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - /** - * @example 'kim.kr' - */ - public function domainName() - { - return static::randomElement(static::$lastNameAscii) . '.' . $this->tld(); - } + /** + * @example 'kim.kr' + */ + public function domainName() { + return static::randomElement( static::$lastNameAscii ) . '.' . $this->tld(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Person.php index 71f6175..da6ebff 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Person.php @@ -2,53 +2,389 @@ namespace Faker\Provider\ko_KR; -class Person extends \Faker\Provider\Person -{ - /** - * This provider uses wikipedia's top Korean last names. These cover more than 90% of Korean population. - */ - protected static $maleNameFormats = [ - '{{lastName}}{{firstNameMale}}', - ]; +class Person extends \Faker\Provider\Person { + /** + * This provider uses wikipedia's top Korean last names. These cover more than 90% of Korean population. + */ + protected static $maleNameFormats = [ + '{{lastName}}{{firstNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{lastName}}{{firstNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{lastName}}{{firstNameFemale}}', + ]; - /** - * {@link} http://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%9D%98_%EC%84%B1%EC%94%A8%EC%99%80_%EC%9D%B4%EB%A6%84#.EC.8B.9C.EB.8C.80.EB.B3.84_.EA.B0.80.EC.9E.A5_.ED.9D.94.ED.95.9C_.EC.9D.B4.EB.A6.84_10.EC.84.A0.28.E9.81.B8.29 - */ - protected static $firstNameMale = [ - '건우', '건호', '경석', '경수', '경춘', '경환', '광수', '광현', '구범', '규산', '기수', '남수', '남호', '대선', '대수', '도윤', - '도현', '동윤', '동하', '동현', '명식', '명호', '문용', '문창', '민석', '민성', '민수', '민재', '민준', '민철', '민환', '병철', - '병호', '상선', '상수', '상우', '상욱', '상준', '상철', '상현', '상호', '상훈', '서준', '서호', '선엽', '성곤', '성령', '성민', - '성수', '성진', '성현', '성호', '성훈', '수원', '승민', '승현', '승호', '시우', '영길', '영수', '영식', '영일', '영진', '영철', - '영하', '영호', '영환', '예준', '용태', '용환', '용훈', '우진', '원준', '원진', '원희', '은성', '은택', '인규', '재윤', '재철', - '재혁', '재현', '재호', '재훈', '정남', '정수', '정식', '정웅', '정호', '정훈', '종수', '종주', '종훈', '주원', '주형', '준', - '준범', '준서', '준영', '준혁', '준형', '준호', '중수', '지후', '지훈', '진수', '진우', '진호', '창용', '채현', '태현', '태호', - '혁상', '현규', '현우', '현종', '현준', '형민', '형철', '호민', '호진', '홍선', '효일', - ]; + /** + * {@link} http://ko.wikipedia.org/wiki/%ED%95%9C%EA%B5%AD%EC%9D%98_%EC%84%B1%EC%94%A8%EC%99%80_%EC%9D%B4%EB%A6%84#.EC.8B.9C.EB.8C.80.EB.B3.84_.EA.B0.80.EC.9E.A5_.ED.9D.94.ED.95.9C_.EC.9D.B4.EB.A6.84_10.EC.84.A0.28.E9.81.B8.29 + */ + protected static $firstNameMale = [ + '건우', + '건호', + '경석', + '경수', + '경춘', + '경환', + '광수', + '광현', + '구범', + '규산', + '기수', + '남수', + '남호', + '대선', + '대수', + '도윤', + '도현', + '동윤', + '동하', + '동현', + '명식', + '명호', + '문용', + '문창', + '민석', + '민성', + '민수', + '민재', + '민준', + '민철', + '민환', + '병철', + '병호', + '상선', + '상수', + '상우', + '상욱', + '상준', + '상철', + '상현', + '상호', + '상훈', + '서준', + '서호', + '선엽', + '성곤', + '성령', + '성민', + '성수', + '성진', + '성현', + '성호', + '성훈', + '수원', + '승민', + '승현', + '승호', + '시우', + '영길', + '영수', + '영식', + '영일', + '영진', + '영철', + '영하', + '영호', + '영환', + '예준', + '용태', + '용환', + '용훈', + '우진', + '원준', + '원진', + '원희', + '은성', + '은택', + '인규', + '재윤', + '재철', + '재혁', + '재현', + '재호', + '재훈', + '정남', + '정수', + '정식', + '정웅', + '정호', + '정훈', + '종수', + '종주', + '종훈', + '주원', + '주형', + '준', + '준범', + '준서', + '준영', + '준혁', + '준형', + '준호', + '중수', + '지후', + '지훈', + '진수', + '진우', + '진호', + '창용', + '채현', + '태현', + '태호', + '혁상', + '현규', + '현우', + '현종', + '현준', + '형민', + '형철', + '호민', + '호진', + '홍선', + '효일', + ]; - protected static $firstNameFemale = [ - '가람', '강은', '강희', '경은', '경주', '근영', '기연', '나루', '나리', '나연', '나은', '나형', '누리', '다영', '도연', '동현', - '미경', '미라', '미란', '미영', '미정', '민서', '민아', '민지', '민형', '민희', '반희', '보람', '보미', '보민', '봄', '상명', - '새미', '서연', '서영', '서윤', '서현', '선영', '선우', '선정', '선호', '성미', '성민', '성은', '세원', '소민', '소연', '소영', - '소정', '수란', '수민', '수빈', '수연', '수원', '수정', '수진', '순항', '슬기', '시은', '신애', '아름', '아린', '여진', '연선', - '연희', '영진', '영화', '예원', '예은', '예지', '예진', '유리', '유정', '유진', '윤경', '윤미', '윤서', '윤영', '은경', '은미', - '은상', '은서', '은애', '은영', '은정', '은주', '은지', '은진', '은형', '은혜', '은희', '인화', '재연', '정란', '정민', '정은', - '정화', '주명', '주미', '주연', '주희', '지민', '지선', '지숙', '지아', '지연', '지영', '지예', '지우', '지원', '지은', '지현', - '지혜', '지희', '진아', '진희', '채원', '태희', '하나', '하윤', '하은', '한나', '헤선', '현영', '현정', '현주', '현지', '혜나', - '혜림', '혜민', '혜숙', '혜연', '혜진', '효진', '희경', '희원', - ]; + protected static $firstNameFemale = [ + '가람', + '강은', + '강희', + '경은', + '경주', + '근영', + '기연', + '나루', + '나리', + '나연', + '나은', + '나형', + '누리', + '다영', + '도연', + '동현', + '미경', + '미라', + '미란', + '미영', + '미정', + '민서', + '민아', + '민지', + '민형', + '민희', + '반희', + '보람', + '보미', + '보민', + '봄', + '상명', + '새미', + '서연', + '서영', + '서윤', + '서현', + '선영', + '선우', + '선정', + '선호', + '성미', + '성민', + '성은', + '세원', + '소민', + '소연', + '소영', + '소정', + '수란', + '수민', + '수빈', + '수연', + '수원', + '수정', + '수진', + '순항', + '슬기', + '시은', + '신애', + '아름', + '아린', + '여진', + '연선', + '연희', + '영진', + '영화', + '예원', + '예은', + '예지', + '예진', + '유리', + '유정', + '유진', + '윤경', + '윤미', + '윤서', + '윤영', + '은경', + '은미', + '은상', + '은서', + '은애', + '은영', + '은정', + '은주', + '은지', + '은진', + '은형', + '은혜', + '은희', + '인화', + '재연', + '정란', + '정민', + '정은', + '정화', + '주명', + '주미', + '주연', + '주희', + '지민', + '지선', + '지숙', + '지아', + '지연', + '지영', + '지예', + '지우', + '지원', + '지은', + '지현', + '지혜', + '지희', + '진아', + '진희', + '채원', + '태희', + '하나', + '하윤', + '하은', + '한나', + '헤선', + '현영', + '현정', + '현주', + '현지', + '혜나', + '혜림', + '혜민', + '혜숙', + '혜연', + '혜진', + '효진', + '희경', + '희원', + ]; - /** - * {@link} http://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%9D%B8%EA%B5%AC%EC%88%9C_%EC%84%B1%EC%94%A8_%EB%AA%A9%EB%A1%9D - */ - protected static $lastName = [ - '김', '이', '박', '최', '정', '강', '조', '윤', '장', '임', '오', '한', '신', '서', '권', '황', '안', '송', '류', '홍', - '전', '고', '문', '손', '양', '배', '조', '백', '허', '남', '심', '유', '노', '하', '전', '정', '곽', '성', '차', '유', - '구', '우', '주', '임', '나', '신', '민', '진', '지', '엄', '원', '채', '강', '천', '양', '공', '현', '방', '변', '함', - '노', '염', '여', '추', '변', '도', '석', '신', '소', '선', '주', '설', '방', '마', '정', '길', '위', '연', '표', '명', - '기', '금', '왕', '반', '옥', '육', '진', '인', '맹', '제', '탁', '모', '남궁', '여', '장', '어', '유', '국', '은', '편', - ]; + /** + * {@link} http://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%9D%B8%EA%B5%AC%EC%88%9C_%EC%84%B1%EC%94%A8_%EB%AA%A9%EB%A1%9D + */ + protected static $lastName = [ + '김', + '이', + '박', + '최', + '정', + '강', + '조', + '윤', + '장', + '임', + '오', + '한', + '신', + '서', + '권', + '황', + '안', + '송', + '류', + '홍', + '전', + '고', + '문', + '손', + '양', + '배', + '조', + '백', + '허', + '남', + '심', + '유', + '노', + '하', + '전', + '정', + '곽', + '성', + '차', + '유', + '구', + '우', + '주', + '임', + '나', + '신', + '민', + '진', + '지', + '엄', + '원', + '채', + '강', + '천', + '양', + '공', + '현', + '방', + '변', + '함', + '노', + '염', + '여', + '추', + '변', + '도', + '석', + '신', + '소', + '선', + '주', + '설', + '방', + '마', + '정', + '길', + '위', + '연', + '표', + '명', + '기', + '금', + '왕', + '반', + '옥', + '육', + '진', + '인', + '맹', + '제', + '탁', + '모', + '남궁', + '여', + '장', + '어', + '유', + '국', + '은', + '편', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/PhoneNumber.php index 32326b4..8700ed0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/PhoneNumber.php @@ -2,39 +2,36 @@ namespace Faker\Provider\ko_KR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - //reference : https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84 - - protected static $formats = [ - //local area phone format - '070-####-####', - '02-####-####', - '03#-####-####', - '04#-####-####', - '05#-####-####', - '06#-####-####', - - //cell phone format - '010-####-####', - - //others: Intelligent Network(기간통신사업자) - '15##-####', - '16##-####', - '18##-####', - ]; - - public function localAreaPhoneNumber() - { - $format = self::randomElement(array_slice(static::$formats, 0, 6)); - - return self::numerify($this->generator->parse($format)); - } - - public function cellPhoneNumber() - { - $format = self::randomElement(array_slice(static::$formats, 6, 1)); - - return self::numerify($this->generator->parse($format)); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + //reference : https://ko.wikipedia.org/wiki/%EB%8C%80%ED%95%9C%EB%AF%BC%EA%B5%AD%EC%9D%98_%EC%A0%84%ED%99%94%EB%B2%88%ED%98%B8_%EC%B2%B4%EA%B3%84 + + protected static $formats = [ + //local area phone format + '070-####-####', + '02-####-####', + '03#-####-####', + '04#-####-####', + '05#-####-####', + '06#-####-####', + + //cell phone format + '010-####-####', + + //others: Intelligent Network(기간통신사업자) + '15##-####', + '16##-####', + '18##-####', + ]; + + public function localAreaPhoneNumber() { + $format = self::randomElement( array_slice( static::$formats, 0, 6 ) ); + + return self::numerify( $this->generator->parse( $format ) ); + } + + public function cellPhoneNumber() { + $format = self::randomElement( array_slice( static::$formats, 6, 1 ) ); + + return self::numerify( $this->generator->parse( $format ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Text.php index 8182f89..41d9314 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ko_KR/Text.php @@ -2,25 +2,24 @@ namespace Faker\Provider\ko_KR; -class Text extends \Faker\Provider\Text -{ - /** - * From ko.wikisource.org - * - * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) - * - * Title: 유정(有情) - * Author: 이광수 - * Language: Korean - * - * @licence https://creativecommons.org/licenses/by-sa/3.0/deed.ko - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see https://ko.wikisource.org/wiki/유정 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * From ko.wikisource.org + * + * License: Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0) + * + * Title: 유정(有情) + * Author: 이광수 + * Language: Korean + * + * @licence https://creativecommons.org/licenses/by-sa/3.0/deed.ko + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see https://ko.wikisource.org/wiki/유정 + * + * @var string + */ + protected static $baseText = <<<'EOT' 최석(崔晳)으로부터 최후의 편지가 온 지가 벌써 일 년이 지났다. 그는 바이칼 호수에 몸을 던져 버렸는가. 또는 시베리아 어느 으슥한 곳에 숨어서 세상을 잊고 있는가. 또 최석의 뒤를 따라간다고 북으로 한정 없이 가 버린 남정임(南貞妊)도 어찌 되었는지, 이 글을 쓰기 시작할 이 때까지에는 아직 소식이 없다. 나는 이 두 사람의 일을 알아보려고 하얼빈, 치치하얼, 치타, 이르쿠츠크에 있는 친구들한테 편지를 부쳐 탐문도 해 보았으나 그 회답은 다 `모른다'는 것뿐이었다. 모스크바에도 두어 번 편지를 띄워 보았으나 역시 마찬가지로 모른다는 회답뿐이었다. 이만하면, 나는 이 사람들(그들은 둘이 다 아까운 사람들이다.)은 이 세상에 없는 사람으로 인정할 수밖에 없다. 설사 이 세상에 살아 있다 하더라도 그들은 다시는 조선에 들어오지 아니할 것이다. 그렇다 하더라도 친구의 정에 남과 자별하게 친함을 가졌던 나로는 어디든지 살아 있기를 아니 바랄 수 없다. 그 두 사람이 죽어 버렸다고 어떻게 차마 생각하랴. 나는 이 글을 다 쓰고 나서는 바이칼 호숫 가에 최석과 남정임 두 사람의 자취를 찾아서 떠나 보려고 한다. 다른 모든 사람이 다 못 찾더라도 나만은 그들을, 남달리 알아 주고 사랑하는 나만은 꼭 그들의 자취를 찾아낼 것만 같다. 만일 그들의 무덤이 있다고 하면 비록 패를 써 박은 것이 없다고 하더라도 나는 이것이 최석의 무덤, 이것이 남정임의 무덤이라고 알아 낼 것만 같다. 설사 그들이 시체가 되어 바이칼 호수의 물 밑에 잠겨 있더라도 내가 가서 그들의 혼을 부르면 반드시 그 시체가 떠올라서 내가 서서 목멘 소리로 부르짖고 있는 곳으로 모여들리라고 믿는다. 아아 세상에 저를 알아 주는 벗이 몇이나 된단 말인가. 서로 믿고 사랑하는 벗이 몇이나 된단 말인가. 내가 부를 때에 그들의 몸이나 혼이 우주 어느 구석에 있기로 아니 나타날 리가 있겠는가. diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Address.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Address.php index f8967ff..e5e27b0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Address.php @@ -2,208 +2,442 @@ namespace Faker\Provider\lt_LT; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['miestas']; - - protected static $regionSuffix = ['regionas']; - protected static $streetSuffix = [ - 'g.', 'gatvė', 'prospektas', 'alėja', - ]; - - protected static $buildingNumber = ['%#']; - - protected static $postcode = ['LT-#####']; - - protected static $country = [ - 'Afganistanas', 'Airija', 'Alandų salos', 'Albanija', 'Alžyras', 'Amerikos Samoa', 'Andora', - 'Angilija', 'Angola', 'Antarktis', 'Antigva ir Barbuda', 'Argentina', 'Armėnija', 'Aruba', 'Australija', 'Austrija', - 'Azerbaidžanas', 'Bahamos', 'Bahreinas', 'Baltarusija', 'Bangladešas', 'Barbadosas', 'Belgija', 'Belizas', - 'Beninas', 'Bermuda', 'Bisau Gvinėja', 'Bolivija', 'Bosnija ir Hercegovina', 'Botsvana', 'Bouvet sala', 'Brazilija', - 'Brunėjus', 'Bulgarija', 'Burkina Fasas', 'Burundis', 'Butanas', 'Centrinės Afrikos Respublika', 'Danija', - 'Didžioji Britanija', 'Didžiosios Britanijos Mergelių salos', 'Dominika', 'Dominikos Respublika', - 'Dramblio Kaulo Krantas', - 'Džersis', 'Džibutis', 'Egiptas', 'Ekvadoras', 'Eritrėja', 'Estija', 'Etiopija', 'Falklando salos', 'Farerų salos', - 'Fidžis', 'Filipinai', 'Gabonas', 'Gajana', 'Gambija', 'Gana', 'Gibraltaras', 'Graikija', 'Grenada', 'Grenlandija', - 'Gruzija', 'Guamas', 'Guernsis', 'Gvadelupė', 'Gvatemala', 'Gvinėja', 'Haitis', 'Heardo ir McDonaldo Salų Sritis', - 'Hondūras', 'Indija', 'Indijos vandenyno britų sritis', 'Indonezija', 'Irakas', 'Iranas', 'Islandija', 'Ispanija', - 'Italija', 'Izraelis', 'Jamaika', 'Japonija', 'Jemenas', 'Jordanija', 'Jungtiniai Arabų Emyratai', 'Jungtinių - Valstijų mažosios aplinkinės salos', 'Jungtinės Valstijos', 'Juodkalnija', 'Kaimanų salos', 'Kalėdų sala', - 'Kambodža', 'Kamerūnas', 'Kanada', 'Kataras', 'Kazachstanas', 'Kenija', 'Kinija', 'Kinijos S.A.R.Honkongas', - 'Kipras', 'Kirgiztanas', 'Kiribatis', 'Kokosų salos', 'Kolumbija', 'Komorai', 'Kongas', 'Kongo Demokratinė - Respublika', 'Kosta Rika', 'Kroatija', 'Kuba', 'Kuko salos', 'Kuveitas', 'Laosas', 'Latvija', 'Lenkija', 'Lesotas', - 'Libanas', 'Liberija', 'Libija', 'Lichtenšteinas', 'Lietuva', 'Liuksemburgas', 'Macao', 'Madagaskaras', - 'Makedonija', 'Malaizija', 'Malavis', 'Maldivai', 'Malis', 'Malta', 'Marianos šiaurinės salos', 'Marokas', - 'Martinika', 'Maršalo Salos', 'Mauricijus', 'Mauritanija', 'Mayotte’as', 'Meino sala', 'Meksika', 'Mergelių salos - (JAV)', 'Mianmaras', 'Mikronezija', 'Moldova', 'Monakas', 'Mongolija', 'Montserratas', 'Mozambikas', 'Namibija', - 'Naujoji Kaledonija', 'Naujoji Zelandija', 'Nauru', 'Nepalas', 'Nežinoma ar neteisinga sritis', 'Nigerija', - 'Nigeris', 'Nikaragva', 'Niue', 'Norfolko sala', 'Norvegija', 'Nyderlandai', 'Olandijos Antilai', 'Omanas', - 'Pakistanas', 'Palau', 'Palestinos teritorija', 'Panama', 'Papua Naujoji Gvinėja', 'Paragvajus', 'Peru', 'Pietų - Afrika', 'Pietų Džordžija ir Pietų Sandvičo salos', 'Pietų Korėja', 'Pitkernas', 'Portugalija', 'Prancūzija', - 'Prancūzijos Gviana', 'Prancūzijos Pietų sritys', 'Prancūzų Polinezija', 'Puerto Rikas', 'Pusiaujo Gvinėja', - 'Reunionas', 'Ruanda', 'Rumunija', 'Rusijos Federacija', 'Rytų Timoras', 'Saint-Martin', 'Saliamono salos', - 'Salvadoras', 'Samoa', 'San Marinas', 'San Tomė ir Principė', 'Saudo Arabija', 'Seišeliai', 'Sen Pjeras ir - Mikelonas', 'Senegalas', 'Sent Kitsas ir Nevis', 'Serbija', 'Serbija ir Juodkalnija', 'Siera Leonė', 'Singapūras', - 'Sirija', 'Slovakija', 'Slovėnija', 'Somalis', 'Sudanas', 'Suomija', 'Surinamas', 'Svalbardo ir Jan Majen salos', - 'Svazilendas', 'Tadžikistanas', 'Tailandas', 'Taivanas', 'Tanzanija', 'Togas', 'Tokelau', 'Tonga', 'Trinidadas ir - Tobagas', 'Tunisas', 'Turkija', 'Turkmėnistanas', 'Turkso ir Caicoso salos', 'Tuvalu', 'Uganda', 'Ukraina', - 'Urugvajus', 'Uzbekistanas', 'Vakarų Sachara', 'Vanuatu', 'Vatikanas', 'Venesuela', 'Vengrija', 'Vietnamas', - 'Vokietija', 'Wallisas ir Futuna', 'Zambija', 'Zimbabvė', 'Čadas', 'Čekija', 'Čilė', 'Šiaurės Korėja', 'Šri Lanka', - 'Švedija', 'Šveicarija', 'Šventasis Vincentas ir Grenadinai', 'Švento Baltramiejaus sala', 'Šventoji Elena', - 'Šventoji Liucija', 'Žaliasis Kyšulys', ]; - - /** - * @see https://lt.wikipedia.org/wiki/Lietuvos_etnokult%C5%ABriniai_regionai - */ - protected static $region = [ - 'Aukštaitija', 'Dzūkija', 'Suvalkija', 'Žemaitija', - ]; - - /** - * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvos_miestai_pagal_gyventojus - */ - protected static $city = ['Vilnius', 'Kaunas', 'Klaipėda', 'Šiauliai', 'Panevėžys', - 'Alytus', 'Marijampolė', 'Mažeikiai', 'Jonava', 'Utena', 'Kėdainiai', 'Telšiai', 'Visaginas', 'Tauragė', - 'Ukmergė', - ]; - - protected static $street = [ - 'Klaipėdos', 'Vilniaus', 'Kauno', 'Žalgirio', 'Saltoniškių', 'Laisvės', 'Didžioji', 'Liepų', - ]; - - protected static $addressFormats = [ - '{{street}} {{streetSuffix}} {{buildingNumber}}-{{buildingNumber}}, {{city}}', - '{{street}} {{streetSuffix}} {{buildingNumber}}, {{city}}', - '{{street}} {{streetSuffix}} {{buildingNumber}}, {{city}} {{postcode}}', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Municipalities_of_Lithuania - */ - private static $municipality = [ - 'Akmenės rajono savivaldybė', - 'Alytaus miesto savivaldybė', - 'Alytaus rajono savivaldybė', - 'Anykščių rajono savivaldybė', - 'Birštono savivaldybė', - 'Biržų rajono savivaldybė', - 'Druskininkų savivaldybė', - 'Elektrėnų savivaldybė', - 'Ignalinos rajono savivaldybė', - 'Jonavos rajono savivaldybė', - 'Joniškio rajono savivaldybė', - 'Jurbarko rajono savivaldybė', - 'Kaišiadorių rajono savivaldybė', - 'Kalvarijos savivaldybė', - 'Kauno miesto savivaldybė', - 'Kauno rajono savivaldybė', - 'Kazlų Rūdos savivaldybė', - 'Kėdainių rajono savivaldybė', - 'Kelmės rajono savivaldybė', - 'Klaipėdos miesto savivaldybė', - 'Klaipėdos rajono savivaldybė', - 'Kretingos rajono savivaldybė', - 'Kupiškio rajono savivaldybė', - 'Lazdijų rajono savivaldybė', - 'Marijampolės savivaldybė', - 'Mažeikių rajono savivaldybė', - 'Molėtų rajono savivaldybė', - 'Neringos savivaldybė', - 'Pagėgių savivaldybė', - 'Pakruojo rajono savivaldybė', - 'Palangos miesto savivaldybė', - 'Panevėžio miesto savivaldybė', - 'Panevėžio rajono savivaldybė', - 'Pasvalio rajono savivaldybė', - 'Plungės rajono savivaldybė', - 'Prienų rajono savivaldybė', - 'Radviliškio rajono savivaldybė', - 'Raseinių rajono savivaldybė', - 'Rietavo savivaldybė', - 'Rokiškio rajono savivaldybė', - 'Skuodo rajono savivaldybė', - 'Šakių rajono savivaldybė', - 'Šalčininkų rajono savivaldybė', - 'Šiaulių miesto savivaldybė', - 'Šiaulių rajono savivaldybė', - 'Šilalės rajono savivaldybė', - 'Šilutės rajono savivaldybė', - 'Širvintų rajono savivaldybė', - 'Švenčionių rajono savivaldybė', - 'Tauragės rajono savivaldybė', - 'Telšių rajono savivaldybė', - 'Trakų rajono savivaldybė', - 'Ukmergės rajono savivaldybė', - 'Utenos rajono savivaldybė', - 'Varėnos rajono savivaldybė', - 'Vilkaviškio rajono savivaldybė', - 'Vilniaus miesto savivaldybė', - 'Vilniaus rajono savivaldybė', - 'Visagino savivaldybė', - 'Zarasų rajono savivaldybė', - ]; - - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } - - public function address() - { - $format = static::randomElement(static::$addressFormats); - - return $this->generator->parse($format); - } - - public static function country() - { - return static::randomElement(static::$country); - } - - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } - - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } - - public static function region() - { - return static::randomElement(static::$region); - } - - public static function citySuffix() - { - return static::randomElement(static::$citySuffix); - } - - public function city() - { - return static::randomElement(static::$city); - } - - public static function streetSuffix() - { - return static::randomElement(static::$streetSuffix); - } - - public static function street() - { - return static::randomElement(static::$street); - } - - /** - * Lithuania municipality - * - * @see https://en.wikipedia.org/wiki/Municipality - * - * @return string - */ - public function municipality() - { - return static::randomElement(static::$municipality); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'miestas' ]; + + protected static $regionSuffix = [ 'regionas' ]; + protected static $streetSuffix = [ + 'g.', + 'gatvė', + 'prospektas', + 'alėja', + ]; + + protected static $buildingNumber = [ '%#' ]; + + protected static $postcode = [ 'LT-#####' ]; + + protected static $country = [ + 'Afganistanas', + 'Airija', + 'Alandų salos', + 'Albanija', + 'Alžyras', + 'Amerikos Samoa', + 'Andora', + 'Angilija', + 'Angola', + 'Antarktis', + 'Antigva ir Barbuda', + 'Argentina', + 'Armėnija', + 'Aruba', + 'Australija', + 'Austrija', + 'Azerbaidžanas', + 'Bahamos', + 'Bahreinas', + 'Baltarusija', + 'Bangladešas', + 'Barbadosas', + 'Belgija', + 'Belizas', + 'Beninas', + 'Bermuda', + 'Bisau Gvinėja', + 'Bolivija', + 'Bosnija ir Hercegovina', + 'Botsvana', + 'Bouvet sala', + 'Brazilija', + 'Brunėjus', + 'Bulgarija', + 'Burkina Fasas', + 'Burundis', + 'Butanas', + 'Centrinės Afrikos Respublika', + 'Danija', + 'Didžioji Britanija', + 'Didžiosios Britanijos Mergelių salos', + 'Dominika', + 'Dominikos Respublika', + 'Dramblio Kaulo Krantas', + 'Džersis', + 'Džibutis', + 'Egiptas', + 'Ekvadoras', + 'Eritrėja', + 'Estija', + 'Etiopija', + 'Falklando salos', + 'Farerų salos', + 'Fidžis', + 'Filipinai', + 'Gabonas', + 'Gajana', + 'Gambija', + 'Gana', + 'Gibraltaras', + 'Graikija', + 'Grenada', + 'Grenlandija', + 'Gruzija', + 'Guamas', + 'Guernsis', + 'Gvadelupė', + 'Gvatemala', + 'Gvinėja', + 'Haitis', + 'Heardo ir McDonaldo Salų Sritis', + 'Hondūras', + 'Indija', + 'Indijos vandenyno britų sritis', + 'Indonezija', + 'Irakas', + 'Iranas', + 'Islandija', + 'Ispanija', + 'Italija', + 'Izraelis', + 'Jamaika', + 'Japonija', + 'Jemenas', + 'Jordanija', + 'Jungtiniai Arabų Emyratai', + 'Jungtinių + Valstijų mažosios aplinkinės salos', + 'Jungtinės Valstijos', + 'Juodkalnija', + 'Kaimanų salos', + 'Kalėdų sala', + 'Kambodža', + 'Kamerūnas', + 'Kanada', + 'Kataras', + 'Kazachstanas', + 'Kenija', + 'Kinija', + 'Kinijos S.A.R.Honkongas', + 'Kipras', + 'Kirgiztanas', + 'Kiribatis', + 'Kokosų salos', + 'Kolumbija', + 'Komorai', + 'Kongas', + 'Kongo Demokratinė + Respublika', + 'Kosta Rika', + 'Kroatija', + 'Kuba', + 'Kuko salos', + 'Kuveitas', + 'Laosas', + 'Latvija', + 'Lenkija', + 'Lesotas', + 'Libanas', + 'Liberija', + 'Libija', + 'Lichtenšteinas', + 'Lietuva', + 'Liuksemburgas', + 'Macao', + 'Madagaskaras', + 'Makedonija', + 'Malaizija', + 'Malavis', + 'Maldivai', + 'Malis', + 'Malta', + 'Marianos šiaurinės salos', + 'Marokas', + 'Martinika', + 'Maršalo Salos', + 'Mauricijus', + 'Mauritanija', + 'Mayotte’as', + 'Meino sala', + 'Meksika', + 'Mergelių salos + (JAV)', + 'Mianmaras', + 'Mikronezija', + 'Moldova', + 'Monakas', + 'Mongolija', + 'Montserratas', + 'Mozambikas', + 'Namibija', + 'Naujoji Kaledonija', + 'Naujoji Zelandija', + 'Nauru', + 'Nepalas', + 'Nežinoma ar neteisinga sritis', + 'Nigerija', + 'Nigeris', + 'Nikaragva', + 'Niue', + 'Norfolko sala', + 'Norvegija', + 'Nyderlandai', + 'Olandijos Antilai', + 'Omanas', + 'Pakistanas', + 'Palau', + 'Palestinos teritorija', + 'Panama', + 'Papua Naujoji Gvinėja', + 'Paragvajus', + 'Peru', + 'Pietų + Afrika', + 'Pietų Džordžija ir Pietų Sandvičo salos', + 'Pietų Korėja', + 'Pitkernas', + 'Portugalija', + 'Prancūzija', + 'Prancūzijos Gviana', + 'Prancūzijos Pietų sritys', + 'Prancūzų Polinezija', + 'Puerto Rikas', + 'Pusiaujo Gvinėja', + 'Reunionas', + 'Ruanda', + 'Rumunija', + 'Rusijos Federacija', + 'Rytų Timoras', + 'Saint-Martin', + 'Saliamono salos', + 'Salvadoras', + 'Samoa', + 'San Marinas', + 'San Tomė ir Principė', + 'Saudo Arabija', + 'Seišeliai', + 'Sen Pjeras ir + Mikelonas', + 'Senegalas', + 'Sent Kitsas ir Nevis', + 'Serbija', + 'Serbija ir Juodkalnija', + 'Siera Leonė', + 'Singapūras', + 'Sirija', + 'Slovakija', + 'Slovėnija', + 'Somalis', + 'Sudanas', + 'Suomija', + 'Surinamas', + 'Svalbardo ir Jan Majen salos', + 'Svazilendas', + 'Tadžikistanas', + 'Tailandas', + 'Taivanas', + 'Tanzanija', + 'Togas', + 'Tokelau', + 'Tonga', + 'Trinidadas ir + Tobagas', + 'Tunisas', + 'Turkija', + 'Turkmėnistanas', + 'Turkso ir Caicoso salos', + 'Tuvalu', + 'Uganda', + 'Ukraina', + 'Urugvajus', + 'Uzbekistanas', + 'Vakarų Sachara', + 'Vanuatu', + 'Vatikanas', + 'Venesuela', + 'Vengrija', + 'Vietnamas', + 'Vokietija', + 'Wallisas ir Futuna', + 'Zambija', + 'Zimbabvė', + 'Čadas', + 'Čekija', + 'Čilė', + 'Šiaurės Korėja', + 'Šri Lanka', + 'Švedija', + 'Šveicarija', + 'Šventasis Vincentas ir Grenadinai', + 'Švento Baltramiejaus sala', + 'Šventoji Elena', + 'Šventoji Liucija', + 'Žaliasis Kyšulys', + ]; + + /** + * @see https://lt.wikipedia.org/wiki/Lietuvos_etnokult%C5%ABriniai_regionai + */ + protected static $region = [ + 'Aukštaitija', + 'Dzūkija', + 'Suvalkija', + 'Žemaitija', + ]; + + /** + * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvos_miestai_pagal_gyventojus + */ + protected static $city = [ + 'Vilnius', + 'Kaunas', + 'Klaipėda', + 'Šiauliai', + 'Panevėžys', + 'Alytus', + 'Marijampolė', + 'Mažeikiai', + 'Jonava', + 'Utena', + 'Kėdainiai', + 'Telšiai', + 'Visaginas', + 'Tauragė', + 'Ukmergė', + ]; + + protected static $street = [ + 'Klaipėdos', + 'Vilniaus', + 'Kauno', + 'Žalgirio', + 'Saltoniškių', + 'Laisvės', + 'Didžioji', + 'Liepų', + ]; + + protected static $addressFormats = [ + '{{street}} {{streetSuffix}} {{buildingNumber}}-{{buildingNumber}}, {{city}}', + '{{street}} {{streetSuffix}} {{buildingNumber}}, {{city}}', + '{{street}} {{streetSuffix}} {{buildingNumber}}, {{city}} {{postcode}}', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Municipalities_of_Lithuania + */ + private static $municipality = [ + 'Akmenės rajono savivaldybė', + 'Alytaus miesto savivaldybė', + 'Alytaus rajono savivaldybė', + 'Anykščių rajono savivaldybė', + 'Birštono savivaldybė', + 'Biržų rajono savivaldybė', + 'Druskininkų savivaldybė', + 'Elektrėnų savivaldybė', + 'Ignalinos rajono savivaldybė', + 'Jonavos rajono savivaldybė', + 'Joniškio rajono savivaldybė', + 'Jurbarko rajono savivaldybė', + 'Kaišiadorių rajono savivaldybė', + 'Kalvarijos savivaldybė', + 'Kauno miesto savivaldybė', + 'Kauno rajono savivaldybė', + 'Kazlų Rūdos savivaldybė', + 'Kėdainių rajono savivaldybė', + 'Kelmės rajono savivaldybė', + 'Klaipėdos miesto savivaldybė', + 'Klaipėdos rajono savivaldybė', + 'Kretingos rajono savivaldybė', + 'Kupiškio rajono savivaldybė', + 'Lazdijų rajono savivaldybė', + 'Marijampolės savivaldybė', + 'Mažeikių rajono savivaldybė', + 'Molėtų rajono savivaldybė', + 'Neringos savivaldybė', + 'Pagėgių savivaldybė', + 'Pakruojo rajono savivaldybė', + 'Palangos miesto savivaldybė', + 'Panevėžio miesto savivaldybė', + 'Panevėžio rajono savivaldybė', + 'Pasvalio rajono savivaldybė', + 'Plungės rajono savivaldybė', + 'Prienų rajono savivaldybė', + 'Radviliškio rajono savivaldybė', + 'Raseinių rajono savivaldybė', + 'Rietavo savivaldybė', + 'Rokiškio rajono savivaldybė', + 'Skuodo rajono savivaldybė', + 'Šakių rajono savivaldybė', + 'Šalčininkų rajono savivaldybė', + 'Šiaulių miesto savivaldybė', + 'Šiaulių rajono savivaldybė', + 'Šilalės rajono savivaldybė', + 'Šilutės rajono savivaldybė', + 'Širvintų rajono savivaldybė', + 'Švenčionių rajono savivaldybė', + 'Tauragės rajono savivaldybė', + 'Telšių rajono savivaldybė', + 'Trakų rajono savivaldybė', + 'Ukmergės rajono savivaldybė', + 'Utenos rajono savivaldybė', + 'Varėnos rajono savivaldybė', + 'Vilkaviškio rajono savivaldybė', + 'Vilniaus miesto savivaldybė', + 'Vilniaus rajono savivaldybė', + 'Visagino savivaldybė', + 'Zarasų rajono savivaldybė', + ]; + + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } + + public function address() { + $format = static::randomElement( static::$addressFormats ); + + return $this->generator->parse( $format ); + } + + public static function country() { + return static::randomElement( static::$country ); + } + + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } + + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } + + public static function region() { + return static::randomElement( static::$region ); + } + + public static function citySuffix() { + return static::randomElement( static::$citySuffix ); + } + + public function city() { + return static::randomElement( static::$city ); + } + + public static function streetSuffix() { + return static::randomElement( static::$streetSuffix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } + + /** + * Lithuania municipality + * + * @see https://en.wikipedia.org/wiki/Municipality + * + * @return string + */ + public function municipality() { + return static::randomElement( static::$municipality ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Company.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Company.php index 89370b3..dd10cb2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Company.php @@ -2,14 +2,13 @@ namespace Faker\Provider\lt_LT; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companySuffix}} {{lastNameMale}}', - '{{companySuffix}} {{lastNameMale}} ir {{lastNameMale}}', - '{{companySuffix}} "{{lastNameMale}} ir {{lastNameMale}}"', - '{{companySuffix}} "{{lastNameMale}}"', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companySuffix}} {{lastNameMale}}', + '{{companySuffix}} {{lastNameMale}} ir {{lastNameMale}}', + '{{companySuffix}} "{{lastNameMale}} ir {{lastNameMale}}"', + '{{companySuffix}} "{{lastNameMale}}"', + ]; - protected static $companySuffix = ['UAB', 'AB', 'IĮ', 'MB', 'VŠĮ']; + protected static $companySuffix = [ 'UAB', 'AB', 'IĮ', 'MB', 'VŠĮ' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Internet.php index f6bc0e1..e848e37 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Internet.php @@ -2,17 +2,16 @@ namespace Faker\Provider\lt_LT; -class Internet extends \Faker\Provider\Internet -{ - protected static $userNameFormats = [ - '{{lastNameMale}}.{{firstNameMale}}', - '{{lastNameFemale}}.{{firstNameFemale}}', - '{{firstNameMale}}##', - '{{firstNameFemale}}##', - '?{{lastNameFemale}}', - '?{{lastNameMale}}', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $userNameFormats = [ + '{{lastNameMale}}.{{firstNameMale}}', + '{{lastNameFemale}}.{{firstNameFemale}}', + '{{firstNameMale}}##', + '{{firstNameFemale}}##', + '?{{lastNameFemale}}', + '?{{lastNameMale}}', + ]; - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com']; - protected static $tld = ['com', 'com', 'net', 'org', 'lt', 'lt', 'lt', 'lt', 'lt']; + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com' ]; + protected static $tld = [ 'com', 'com', 'net', 'org', 'lt', 'lt', 'lt', 'lt', 'lt' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Payment.php index 92e31f0..15868be 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\lt_LT; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'LT', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'LT', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Person.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Person.php index c448ab8..6aa257d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/Person.php @@ -2,390 +2,2136 @@ namespace Faker\Provider\lt_LT; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + ]; - protected static $lastNameFormat = [ - '{{firstNameMale}}', - '{{firstNameFemale}}', - ]; + protected static $lastNameFormat = [ + '{{firstNameMale}}', + '{{firstNameFemale}}', + ]; - protected static $titleMale = ['p.', 'ponas']; + protected static $titleMale = [ 'p.', 'ponas' ]; - protected static $titleFemale = ['p.', 'ponia', 'panelė']; + protected static $titleFemale = [ 'p.', 'ponia', 'panelė' ]; - /** - * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvoje_paplit%C4%99_vardai - */ - protected static $firstNameMale = [ - 'Abramas', 'Abraomas', 'Achilas', 'Adalbertas', 'Adamas', 'Adas', 'Adolfas', 'Adolis', 'Adomas', - 'Adrijus', 'Agatas', 'Agnius', 'Aidas', 'Ainius', 'Aistis', 'Aivaras', 'Akimas', 'Akvilinas', 'Albertas', 'Albrechtas', - 'Albinas', 'Aldonas', 'Aleksandras', 'Aleksas', 'Alenas', 'Alfas', 'Alfonsas', 'Alfredas', 'Algimantas', 'Algirdas', - 'Algis', 'Alius', 'Almantas', 'Almis', 'Almonas', 'Aloyzas', 'Alpas', 'Alpis', 'Alvidas', 'Alvydas', 'Ambraziejus', - 'Anatolijus', 'Anatolis', 'Andreas', 'Andriejus', 'Andrius', 'Andžejus', 'Anicetas', 'Anisimas', 'Antanas', 'Antonas', - 'Antonijus', 'Antonis', 'Anupras', 'Anzelmas', 'Apolinaras', 'Apolonijus', 'Aras', 'Arijus', 'Arimantas', 'Aristarchas', - 'Aristidas', 'Arkadijus', 'Armantas', 'Arminas', 'Arnas', 'Arnoldas', 'Aronas', 'Arsenas', 'Arsenijus', 'Artas', - 'Artiomas', 'Artūras', 'Arūnas', 'Arvaidas', 'Arvydas', 'Astijus', 'Audrius', 'Audrys', 'Audronius', 'Augis', - 'Augustas', 'Augustinas', 'Aurelijus', 'Aurimas', 'Aušrius', 'Aušrys', 'Ąžuolas', 'Balys', 'Baltazaras', 'Baltramiejus', - 'Baltrus', 'Banguolis', 'Bartas', 'Bartvydas', 'Bazilijus', 'Benas', 'Benediktas', 'Benonas', 'Benius', 'Benjaminas', - 'Bernardas', 'Beržas', 'Bijūnas', 'Bogdanas', 'Boguslavas', 'Boleslavas', 'Boleslovas', 'Bonifacas', 'Borisas', - 'Bronislavas', 'Bronislovas', 'Bronius', 'Brunas', 'Brunonas', 'Cecilijus', 'Celestinas', 'Cezaris', 'Chaimas', - 'Charitonas', 'Ciprijonas', 'Česius', 'Česlovas', 'Čiogintas', 'Dainius', 'Daivis', 'Dalius', 'Damijonas', 'Danas', - 'Dangerutis', 'Danielius', 'Danila', 'Danius', 'Darijus', 'Darius', 'Dariušas', 'Daumantas', 'Davidas', 'Deimantas', - 'Deividas', 'Deivis', 'Demetrijus', 'Demjanas', 'Denis', 'Denisas', 'Dimitrijus', 'Diomidas', 'Dionizas', 'Dmitrijus', - 'Dobilas', 'Donatas', 'Domantas', 'Domas', 'Dominykas', 'Donaldas', 'Dovydas', 'Dovilis', 'Dovis', 'Drąsius', - 'Drąsutis', 'Džeraldas', 'Džiraldas', 'Džiugas', 'Džonis', 'Edgaras', 'Edmundas', 'Eduardas', 'Edvardas', 'Edvinas', - 'Egidijus', 'Eidimantas', 'Eidminas', 'Eidvydas', 'Eimantas', 'Eimis', 'Einius', 'Eivydas', 'Eldaras', 'Eligijus', - 'Elijus', 'Elmantas', 'Emanuelis', 'Emilis', 'Emilijonas', 'Emilijus', 'Enrikas', 'Erazmas', 'Erdvilas', 'Erichas', - 'Erikas', 'Ernestas', 'Ervinas', 'Eugenijus', 'Eugeniušas', 'Evaldas', 'Fabijus', 'Faustas', 'Fedoras', 'Felicijonas', - 'Felicijus', 'Feliksas', 'Ferdinandas', 'Filipas', 'Fiodoras', 'Foma', 'Flavijus', 'Florijonas', 'Francas', - 'Francišekas', 'Fredas', 'Fridrikas', 'Gabrielis', 'Gabrielius', 'Gailimantas', 'Gailius', 'Galmantas', 'Gasparas', - 'Gaudenis', 'Gaudrimas', 'Gaudvydas', 'Gavrila', 'Gavrilas', 'Gedas', 'Gedgaudas', 'Gediminas', 'Gedmantas', 'Gedmas', - 'Gedminas', 'Gedvaldas', 'Gedvydas', 'Gedvilas', 'Geivydas', 'Genadijus', 'Gendrius', 'Genrichas', 'Georgijus', - 'Geraldas', 'Gerardas', 'Gerdas', 'Gerimantas', 'Germanas', 'Germantas', 'Gerutis', 'Gervydas', 'Giedrius', 'Gilbertas', - 'Gintaras', 'Gintas', 'Gintis', 'Gintautas', 'Girėnas', 'Girius', 'Girmantas', 'Girvydas', 'Gitanas', 'Gytautas', - 'Gytis', 'Gordejus', 'Gotfridas', 'Gracijonas', 'Gracijus', 'Gražvydas', 'Grigalius', 'Grigas', 'Grigorijus', 'Gunaras', - 'Gustas', 'Gustavas', 'Gustis', 'Gvidas', 'Gvidonas', 'Haraldas', 'Haris', 'Haroldas', 'Hektoras', 'Helmutas', - 'Henrikas', 'Henris', 'Herbertas', 'Herkus', 'Hermanas', 'Hilarijus', 'Horacijus', 'Horstas', 'Hubertas', 'Ignacas', - 'Ignas', 'Ignotas', 'Igoris', 'Ilja', 'Imantas', 'Indrius', 'Ingvaras', 'Inocentas', 'Ipolitas', 'Irenijus', 'Irmantas', - 'Irtautas', 'Irvydas', 'Isaakas', 'Isakas', 'Ivanas', 'Izidorius', 'Izoldas', 'Jacekas', 'Jakovas', 'Jakubas', 'Janas', - 'Janis', 'Jankelis', 'Janušas', 'Jaroslavas', 'Jaunius', 'Jaunutis', 'Jegoras', 'Jemeljanas', 'Jeronimas', 'Jevgenijus', - 'Ježis', 'Joanas', 'Jogaila', 'Jogintas', 'Jogirdas', 'Jokimas', 'Jokūbas', 'Jolantas', 'Jomantas', 'Jonaras', 'Jonas', - 'Jonis', 'Joris', 'Jorūnas', 'Josifas', 'Jotautas', 'Jovaldas', 'Jovaras', 'Jovitas', 'Judrius', 'Julijonas', 'Julijus', - 'Julius', 'Juljanas', 'Juozapas', 'Juozapatas', 'Juozas', 'Juras', 'Jurgis', 'Jurijus', 'Jūras', 'Jūris', 'Justas', - 'Justinas', 'Juvencijus', 'Juzefas', 'Kajetonas', 'Kajus', 'Kalikstas', 'Kalnius', 'Kamilis', 'Kaributas', 'Karlas', - 'Karolis', 'Karpas', 'Kasparas', 'Kastantas', 'Kastytis', 'Kazimieras', 'Kazys', 'Kęstas', 'Kęstautas', 'Kęstutis', - 'Kimas', 'Kipras', 'Kiprijonas', 'Kirilas', 'Klaudas', 'Klaudijus', 'Klemas', 'Klemensas', 'Klementas', 'Kleopas', - 'Klevas', 'Klimas', 'Klimentijus', 'Kondratas', 'Konradas', 'Konstantinas', 'Kornelijus', 'Kostas', 'Kovas', 'Kozmas', - 'Krescencijus', 'Kristijonas', 'Kristinas', 'Kristoforas', 'Kristupas', 'Ksaveras', 'Kšištofas', 'Kuprijanas', 'Laimis', - 'Laimonas', 'Laimutis', 'Laisvydas', 'Laisvis', 'Laisvūnas', 'Lauras', 'Laurentijus', 'Laurynas', 'Lauris', - 'Lavrentijus', 'Leandras', 'Leonardas', 'Leonas', 'Leonidas', 'Leopoldas', 'Levas', 'Libertas', 'Linas', 'Lionginas', - 'Liubartas', 'Liubomiras', 'Liucijonas', 'Liucijus', 'Liudas', 'Liudvigas', 'Liudvikas', 'Liūtas', 'Liutauras', - 'Livijus', 'Lozorius', 'Lukas', 'Lukrecijus', 'Makaras', 'Makarijus', 'Maksas', 'Maksimas', 'Maksimilijonas', - 'Mamertas', 'Manfredas', 'Mangirdas', 'Mantas', 'Mantautas', 'Mantrimas', 'Mantvydas', 'Maratas', 'Marcelijus ', - 'Marcelinas', 'Marcelius', 'Marekas', 'Margiris', 'Marianas', 'Marijonas', 'Marijus', 'Marinas', 'Marius', 'Markas', - 'Martas', 'Martinas', 'Martynas', 'Matas', 'Mateušas', 'Matvejus', 'Mažvydas', 'Mečislavas', 'Mečislovas', 'Mečys', - 'Medardas', 'Medas', 'Mefodijus', 'Melanijus', 'Melchioras', 'Mendelis', 'Merkys', 'Merūnas', 'Michalas', 'Michailas', - 'Miglius', 'Mikalojus', 'Mikas', 'Mikolajus', 'Milanas', 'Mildas', 'Milvydas', 'Mindaugas', 'Minijus', 'Mykolas', - 'Mingaudas', 'Mintaras', 'Miroslavas', 'Modestas', 'Morkus', 'Motiejus', 'Mozė', 'Naglis', 'Napalis', 'Napalys', - 'Napoleonas', 'Napolis', 'Narcizas', 'Narimantas', 'Narsutis', 'Narvydas', 'Natanas', 'Natas', 'Naumas', 'Nauris', - 'Nazaras', 'Nazarijus', 'Nedas', 'Neimantas', 'Neivydas', 'Nemunas', 'Nerijus', 'Nerimantas', 'Nerimas', 'Neringas', - 'Nerius', 'Nidas', 'Nikandras', 'Nikas', 'Nikiforas', 'Nikita', 'Nikodemas', 'Nikola', 'Nikolajus', 'Nilas', 'Nojus', - 'Nomedas', 'Norbertas', 'Normanas', 'Normantas', 'Nortautas', 'Norvydas', 'Norvilas', 'Oktavijus', 'Olegas', 'Orestas', - 'Orintas', 'Oskaras', 'Osmundas', 'Osvaldas', 'Otas', 'Otilijus', 'Otonas', 'Ovidijus', 'Palemonas', 'Palmyras', - 'Patricijus', 'Patrikas', 'Paulis', 'Paulius', 'Petras', 'Pijus', 'Pilypas', 'Pilėnas', 'Piotras', 'Platonas', - 'Polikarpas', 'Polis', 'Povilas', 'Pranas', 'Pranciškus', 'Putinas', 'Radvila', 'Rafaelis', 'Rafailas', 'Rafalas', - 'Raigardas', 'Raimondas', 'Raimundas', 'Rainoldas', 'Ralfas', 'Ramintas', 'Ramonas', 'Ramūnas', 'Rapolas', 'Rasius', - 'Raulis', 'Redas', 'Regimantas', 'Reginaldas', 'Reinhardas', 'Remas', 'Remigijus', 'Renaldas', 'Renatas', 'Renius', - 'Richardas', 'Ričardas', 'Rikardas', 'Rimantas', 'Rimas', 'Rimgaudas', 'Rimtas', 'Rimtautas', 'Rimtis', 'Rimvydas', - 'Rinatas', 'Ryšardas', 'Rytas', 'Rytautas', 'Rytis', 'Robertas', 'Robinas', 'Rodrigas', 'Rokas', 'Rolandas', 'Rolfas', - 'Romanas', 'Romas', 'Romualdas', 'Ronaldas', 'Rostislavas', 'Rubenas', 'Rudolfas', 'Rufas', 'Rufinas', 'Rupertas', - 'Ruslanas', 'Rūtenis', 'Sabinas', 'Sakalas', 'Saliamonas', 'Salvijus', 'Samuelis', 'Samsonas', 'Samuilas', 'Sandras', - 'Santaras', 'Saulenis', 'Saulius', 'Sava', 'Sebastijonas', 'Semas', 'Semionas', 'Serafinas', 'Serapinas', 'Sergejus', - 'Sergijus', 'Seržas', 'Severas', 'Severinas', 'Sidas', 'Sidoras', 'Sigis', 'Sigitas', 'Sigizmundas', 'Sikstas', - 'Silverijus', 'Silvestras', 'Silvijus', 'Simas', 'Simeonas', 'Simonas', 'Sirvydas', 'Skaidrius', 'Skaistis', - 'Skalmantas', 'Skalvis', 'Skirgaila', 'Skirmantas', 'Skomantas', 'Sonetas', 'Stanislavas', 'Stanislovas', 'Stasys', - 'Stasius', 'Stepas', 'Stefanas', 'Stepanas', 'Steponas', 'Svajūnas', 'Svajus', 'Sviatoslavas', 'Šarūnas', 'Šiaurys', - 'Švitrigaila', 'Tadas', 'Tadeušas', 'Tamošius', 'Tarasas', 'Tauras', 'Tautginas', 'Tautrimas', 'Tautvydas', 'Tedas', - 'Telesforas', 'Teisius', 'Teisutis', 'Teodoras', 'Teofilis', 'Terentijus', 'Tiberijus', 'Timas', 'Timotiejus', - 'Timotis', 'Timūras', 'Titas', 'Tomas', 'Tomašas', 'Tonis', 'Traidenis', 'Trofimas', 'Tumas', 'Ugnius', 'Ulrikas', - 'Uosis', 'Urbonas', 'Utenis', 'Ubaldas', 'Ūdrys', 'Ūkas', 'Vacys', 'Vacius', 'Vaclovas', 'Vadimas', 'Vaidas', - 'Vaidevutis', 'Vaidila', 'Vaidis', 'Vaidotas', 'Vaidutis', 'Vaigaudas', 'Vaigirdas', 'Vainius', 'Vainoras', 'Vaitiekus', - 'Vaižgantas', 'Vakaris', 'Valdas', 'Valdemaras', 'Valdimantas', 'Valdis', 'Valentas', 'Valentinas', 'Valerijonas', - 'Valerijus', 'Valys', 'Valius', 'Valteris', 'Vasaris', 'Vasilijus', 'Venantas', 'Verneris', 'Vėjas', 'Vėjūnas', - 'Venjaminas', 'Vergilijus', 'Vestas', 'Viačeslavas', 'Vidas', 'Vydas', 'Vidimantas', 'Vydimantas', 'Vidmantas', - 'Vydmantas', 'Viesulas', 'Vygaudas', 'Vigilijus', 'Vygintas', 'Vygirdas', 'Vykantas', 'Vykintas', 'Viktas', 'Viktoras', - 'Viktorijus', 'Viktorinas', 'Vilenas', 'Vilgaudas', 'Vilhelmas', 'Vilijus', 'Vilius', 'Vylius', 'Vilmantas', 'Vilmas', - 'Vilnius', 'Viltaras', 'Viltautas', 'Viltenis', 'Vincas', 'Vincentas', 'Vingaudas', 'Virgaudas', 'Virgilijus', - 'Virginijus', 'Virgintas', 'Virgis', 'Virgius', 'Virmantas', 'Vismantas', 'Visvaldas', 'Visvaldis', 'Vitalijus', - 'Vitalis', 'Vitalius', 'Vitas', 'Vitoldas', 'Vygandas', 'Vygantas', 'Vykintas', 'Vytaras', 'Vytautas', 'Vytas', - 'Vytenis', 'Vytis', 'Vyturys', 'Vladas', 'Vladimiras', 'Vladislavas', 'Vladislovas', 'Vladlenas', 'Voicechas', - 'Voldemaras', 'Vsevolodas', 'Zacharijus', 'Zakarijus', 'Zbignevas', 'Zdislavas', 'Zenius', 'Zenonas', 'Zigfridas', - 'Zygfridas', 'Zigmantas', 'Zigmas', 'Zygmuntas', 'Zinovijus', 'Žanas', 'Žeimantas', 'Žilvinas', 'Žibartas', 'Žybartas', - 'Žydrius', 'Žydrūnas', 'Žygaudas', 'Žygimantas', 'Žygintas', 'Žygis', 'Žymantas', 'Žvaigždžius', - ]; + /** + * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvoje_paplit%C4%99_vardai + */ + protected static $firstNameMale = [ + 'Abramas', + 'Abraomas', + 'Achilas', + 'Adalbertas', + 'Adamas', + 'Adas', + 'Adolfas', + 'Adolis', + 'Adomas', + 'Adrijus', + 'Agatas', + 'Agnius', + 'Aidas', + 'Ainius', + 'Aistis', + 'Aivaras', + 'Akimas', + 'Akvilinas', + 'Albertas', + 'Albrechtas', + 'Albinas', + 'Aldonas', + 'Aleksandras', + 'Aleksas', + 'Alenas', + 'Alfas', + 'Alfonsas', + 'Alfredas', + 'Algimantas', + 'Algirdas', + 'Algis', + 'Alius', + 'Almantas', + 'Almis', + 'Almonas', + 'Aloyzas', + 'Alpas', + 'Alpis', + 'Alvidas', + 'Alvydas', + 'Ambraziejus', + 'Anatolijus', + 'Anatolis', + 'Andreas', + 'Andriejus', + 'Andrius', + 'Andžejus', + 'Anicetas', + 'Anisimas', + 'Antanas', + 'Antonas', + 'Antonijus', + 'Antonis', + 'Anupras', + 'Anzelmas', + 'Apolinaras', + 'Apolonijus', + 'Aras', + 'Arijus', + 'Arimantas', + 'Aristarchas', + 'Aristidas', + 'Arkadijus', + 'Armantas', + 'Arminas', + 'Arnas', + 'Arnoldas', + 'Aronas', + 'Arsenas', + 'Arsenijus', + 'Artas', + 'Artiomas', + 'Artūras', + 'Arūnas', + 'Arvaidas', + 'Arvydas', + 'Astijus', + 'Audrius', + 'Audrys', + 'Audronius', + 'Augis', + 'Augustas', + 'Augustinas', + 'Aurelijus', + 'Aurimas', + 'Aušrius', + 'Aušrys', + 'Ąžuolas', + 'Balys', + 'Baltazaras', + 'Baltramiejus', + 'Baltrus', + 'Banguolis', + 'Bartas', + 'Bartvydas', + 'Bazilijus', + 'Benas', + 'Benediktas', + 'Benonas', + 'Benius', + 'Benjaminas', + 'Bernardas', + 'Beržas', + 'Bijūnas', + 'Bogdanas', + 'Boguslavas', + 'Boleslavas', + 'Boleslovas', + 'Bonifacas', + 'Borisas', + 'Bronislavas', + 'Bronislovas', + 'Bronius', + 'Brunas', + 'Brunonas', + 'Cecilijus', + 'Celestinas', + 'Cezaris', + 'Chaimas', + 'Charitonas', + 'Ciprijonas', + 'Česius', + 'Česlovas', + 'Čiogintas', + 'Dainius', + 'Daivis', + 'Dalius', + 'Damijonas', + 'Danas', + 'Dangerutis', + 'Danielius', + 'Danila', + 'Danius', + 'Darijus', + 'Darius', + 'Dariušas', + 'Daumantas', + 'Davidas', + 'Deimantas', + 'Deividas', + 'Deivis', + 'Demetrijus', + 'Demjanas', + 'Denis', + 'Denisas', + 'Dimitrijus', + 'Diomidas', + 'Dionizas', + 'Dmitrijus', + 'Dobilas', + 'Donatas', + 'Domantas', + 'Domas', + 'Dominykas', + 'Donaldas', + 'Dovydas', + 'Dovilis', + 'Dovis', + 'Drąsius', + 'Drąsutis', + 'Džeraldas', + 'Džiraldas', + 'Džiugas', + 'Džonis', + 'Edgaras', + 'Edmundas', + 'Eduardas', + 'Edvardas', + 'Edvinas', + 'Egidijus', + 'Eidimantas', + 'Eidminas', + 'Eidvydas', + 'Eimantas', + 'Eimis', + 'Einius', + 'Eivydas', + 'Eldaras', + 'Eligijus', + 'Elijus', + 'Elmantas', + 'Emanuelis', + 'Emilis', + 'Emilijonas', + 'Emilijus', + 'Enrikas', + 'Erazmas', + 'Erdvilas', + 'Erichas', + 'Erikas', + 'Ernestas', + 'Ervinas', + 'Eugenijus', + 'Eugeniušas', + 'Evaldas', + 'Fabijus', + 'Faustas', + 'Fedoras', + 'Felicijonas', + 'Felicijus', + 'Feliksas', + 'Ferdinandas', + 'Filipas', + 'Fiodoras', + 'Foma', + 'Flavijus', + 'Florijonas', + 'Francas', + 'Francišekas', + 'Fredas', + 'Fridrikas', + 'Gabrielis', + 'Gabrielius', + 'Gailimantas', + 'Gailius', + 'Galmantas', + 'Gasparas', + 'Gaudenis', + 'Gaudrimas', + 'Gaudvydas', + 'Gavrila', + 'Gavrilas', + 'Gedas', + 'Gedgaudas', + 'Gediminas', + 'Gedmantas', + 'Gedmas', + 'Gedminas', + 'Gedvaldas', + 'Gedvydas', + 'Gedvilas', + 'Geivydas', + 'Genadijus', + 'Gendrius', + 'Genrichas', + 'Georgijus', + 'Geraldas', + 'Gerardas', + 'Gerdas', + 'Gerimantas', + 'Germanas', + 'Germantas', + 'Gerutis', + 'Gervydas', + 'Giedrius', + 'Gilbertas', + 'Gintaras', + 'Gintas', + 'Gintis', + 'Gintautas', + 'Girėnas', + 'Girius', + 'Girmantas', + 'Girvydas', + 'Gitanas', + 'Gytautas', + 'Gytis', + 'Gordejus', + 'Gotfridas', + 'Gracijonas', + 'Gracijus', + 'Gražvydas', + 'Grigalius', + 'Grigas', + 'Grigorijus', + 'Gunaras', + 'Gustas', + 'Gustavas', + 'Gustis', + 'Gvidas', + 'Gvidonas', + 'Haraldas', + 'Haris', + 'Haroldas', + 'Hektoras', + 'Helmutas', + 'Henrikas', + 'Henris', + 'Herbertas', + 'Herkus', + 'Hermanas', + 'Hilarijus', + 'Horacijus', + 'Horstas', + 'Hubertas', + 'Ignacas', + 'Ignas', + 'Ignotas', + 'Igoris', + 'Ilja', + 'Imantas', + 'Indrius', + 'Ingvaras', + 'Inocentas', + 'Ipolitas', + 'Irenijus', + 'Irmantas', + 'Irtautas', + 'Irvydas', + 'Isaakas', + 'Isakas', + 'Ivanas', + 'Izidorius', + 'Izoldas', + 'Jacekas', + 'Jakovas', + 'Jakubas', + 'Janas', + 'Janis', + 'Jankelis', + 'Janušas', + 'Jaroslavas', + 'Jaunius', + 'Jaunutis', + 'Jegoras', + 'Jemeljanas', + 'Jeronimas', + 'Jevgenijus', + 'Ježis', + 'Joanas', + 'Jogaila', + 'Jogintas', + 'Jogirdas', + 'Jokimas', + 'Jokūbas', + 'Jolantas', + 'Jomantas', + 'Jonaras', + 'Jonas', + 'Jonis', + 'Joris', + 'Jorūnas', + 'Josifas', + 'Jotautas', + 'Jovaldas', + 'Jovaras', + 'Jovitas', + 'Judrius', + 'Julijonas', + 'Julijus', + 'Julius', + 'Juljanas', + 'Juozapas', + 'Juozapatas', + 'Juozas', + 'Juras', + 'Jurgis', + 'Jurijus', + 'Jūras', + 'Jūris', + 'Justas', + 'Justinas', + 'Juvencijus', + 'Juzefas', + 'Kajetonas', + 'Kajus', + 'Kalikstas', + 'Kalnius', + 'Kamilis', + 'Kaributas', + 'Karlas', + 'Karolis', + 'Karpas', + 'Kasparas', + 'Kastantas', + 'Kastytis', + 'Kazimieras', + 'Kazys', + 'Kęstas', + 'Kęstautas', + 'Kęstutis', + 'Kimas', + 'Kipras', + 'Kiprijonas', + 'Kirilas', + 'Klaudas', + 'Klaudijus', + 'Klemas', + 'Klemensas', + 'Klementas', + 'Kleopas', + 'Klevas', + 'Klimas', + 'Klimentijus', + 'Kondratas', + 'Konradas', + 'Konstantinas', + 'Kornelijus', + 'Kostas', + 'Kovas', + 'Kozmas', + 'Krescencijus', + 'Kristijonas', + 'Kristinas', + 'Kristoforas', + 'Kristupas', + 'Ksaveras', + 'Kšištofas', + 'Kuprijanas', + 'Laimis', + 'Laimonas', + 'Laimutis', + 'Laisvydas', + 'Laisvis', + 'Laisvūnas', + 'Lauras', + 'Laurentijus', + 'Laurynas', + 'Lauris', + 'Lavrentijus', + 'Leandras', + 'Leonardas', + 'Leonas', + 'Leonidas', + 'Leopoldas', + 'Levas', + 'Libertas', + 'Linas', + 'Lionginas', + 'Liubartas', + 'Liubomiras', + 'Liucijonas', + 'Liucijus', + 'Liudas', + 'Liudvigas', + 'Liudvikas', + 'Liūtas', + 'Liutauras', + 'Livijus', + 'Lozorius', + 'Lukas', + 'Lukrecijus', + 'Makaras', + 'Makarijus', + 'Maksas', + 'Maksimas', + 'Maksimilijonas', + 'Mamertas', + 'Manfredas', + 'Mangirdas', + 'Mantas', + 'Mantautas', + 'Mantrimas', + 'Mantvydas', + 'Maratas', + 'Marcelijus ', + 'Marcelinas', + 'Marcelius', + 'Marekas', + 'Margiris', + 'Marianas', + 'Marijonas', + 'Marijus', + 'Marinas', + 'Marius', + 'Markas', + 'Martas', + 'Martinas', + 'Martynas', + 'Matas', + 'Mateušas', + 'Matvejus', + 'Mažvydas', + 'Mečislavas', + 'Mečislovas', + 'Mečys', + 'Medardas', + 'Medas', + 'Mefodijus', + 'Melanijus', + 'Melchioras', + 'Mendelis', + 'Merkys', + 'Merūnas', + 'Michalas', + 'Michailas', + 'Miglius', + 'Mikalojus', + 'Mikas', + 'Mikolajus', + 'Milanas', + 'Mildas', + 'Milvydas', + 'Mindaugas', + 'Minijus', + 'Mykolas', + 'Mingaudas', + 'Mintaras', + 'Miroslavas', + 'Modestas', + 'Morkus', + 'Motiejus', + 'Mozė', + 'Naglis', + 'Napalis', + 'Napalys', + 'Napoleonas', + 'Napolis', + 'Narcizas', + 'Narimantas', + 'Narsutis', + 'Narvydas', + 'Natanas', + 'Natas', + 'Naumas', + 'Nauris', + 'Nazaras', + 'Nazarijus', + 'Nedas', + 'Neimantas', + 'Neivydas', + 'Nemunas', + 'Nerijus', + 'Nerimantas', + 'Nerimas', + 'Neringas', + 'Nerius', + 'Nidas', + 'Nikandras', + 'Nikas', + 'Nikiforas', + 'Nikita', + 'Nikodemas', + 'Nikola', + 'Nikolajus', + 'Nilas', + 'Nojus', + 'Nomedas', + 'Norbertas', + 'Normanas', + 'Normantas', + 'Nortautas', + 'Norvydas', + 'Norvilas', + 'Oktavijus', + 'Olegas', + 'Orestas', + 'Orintas', + 'Oskaras', + 'Osmundas', + 'Osvaldas', + 'Otas', + 'Otilijus', + 'Otonas', + 'Ovidijus', + 'Palemonas', + 'Palmyras', + 'Patricijus', + 'Patrikas', + 'Paulis', + 'Paulius', + 'Petras', + 'Pijus', + 'Pilypas', + 'Pilėnas', + 'Piotras', + 'Platonas', + 'Polikarpas', + 'Polis', + 'Povilas', + 'Pranas', + 'Pranciškus', + 'Putinas', + 'Radvila', + 'Rafaelis', + 'Rafailas', + 'Rafalas', + 'Raigardas', + 'Raimondas', + 'Raimundas', + 'Rainoldas', + 'Ralfas', + 'Ramintas', + 'Ramonas', + 'Ramūnas', + 'Rapolas', + 'Rasius', + 'Raulis', + 'Redas', + 'Regimantas', + 'Reginaldas', + 'Reinhardas', + 'Remas', + 'Remigijus', + 'Renaldas', + 'Renatas', + 'Renius', + 'Richardas', + 'Ričardas', + 'Rikardas', + 'Rimantas', + 'Rimas', + 'Rimgaudas', + 'Rimtas', + 'Rimtautas', + 'Rimtis', + 'Rimvydas', + 'Rinatas', + 'Ryšardas', + 'Rytas', + 'Rytautas', + 'Rytis', + 'Robertas', + 'Robinas', + 'Rodrigas', + 'Rokas', + 'Rolandas', + 'Rolfas', + 'Romanas', + 'Romas', + 'Romualdas', + 'Ronaldas', + 'Rostislavas', + 'Rubenas', + 'Rudolfas', + 'Rufas', + 'Rufinas', + 'Rupertas', + 'Ruslanas', + 'Rūtenis', + 'Sabinas', + 'Sakalas', + 'Saliamonas', + 'Salvijus', + 'Samuelis', + 'Samsonas', + 'Samuilas', + 'Sandras', + 'Santaras', + 'Saulenis', + 'Saulius', + 'Sava', + 'Sebastijonas', + 'Semas', + 'Semionas', + 'Serafinas', + 'Serapinas', + 'Sergejus', + 'Sergijus', + 'Seržas', + 'Severas', + 'Severinas', + 'Sidas', + 'Sidoras', + 'Sigis', + 'Sigitas', + 'Sigizmundas', + 'Sikstas', + 'Silverijus', + 'Silvestras', + 'Silvijus', + 'Simas', + 'Simeonas', + 'Simonas', + 'Sirvydas', + 'Skaidrius', + 'Skaistis', + 'Skalmantas', + 'Skalvis', + 'Skirgaila', + 'Skirmantas', + 'Skomantas', + 'Sonetas', + 'Stanislavas', + 'Stanislovas', + 'Stasys', + 'Stasius', + 'Stepas', + 'Stefanas', + 'Stepanas', + 'Steponas', + 'Svajūnas', + 'Svajus', + 'Sviatoslavas', + 'Šarūnas', + 'Šiaurys', + 'Švitrigaila', + 'Tadas', + 'Tadeušas', + 'Tamošius', + 'Tarasas', + 'Tauras', + 'Tautginas', + 'Tautrimas', + 'Tautvydas', + 'Tedas', + 'Telesforas', + 'Teisius', + 'Teisutis', + 'Teodoras', + 'Teofilis', + 'Terentijus', + 'Tiberijus', + 'Timas', + 'Timotiejus', + 'Timotis', + 'Timūras', + 'Titas', + 'Tomas', + 'Tomašas', + 'Tonis', + 'Traidenis', + 'Trofimas', + 'Tumas', + 'Ugnius', + 'Ulrikas', + 'Uosis', + 'Urbonas', + 'Utenis', + 'Ubaldas', + 'Ūdrys', + 'Ūkas', + 'Vacys', + 'Vacius', + 'Vaclovas', + 'Vadimas', + 'Vaidas', + 'Vaidevutis', + 'Vaidila', + 'Vaidis', + 'Vaidotas', + 'Vaidutis', + 'Vaigaudas', + 'Vaigirdas', + 'Vainius', + 'Vainoras', + 'Vaitiekus', + 'Vaižgantas', + 'Vakaris', + 'Valdas', + 'Valdemaras', + 'Valdimantas', + 'Valdis', + 'Valentas', + 'Valentinas', + 'Valerijonas', + 'Valerijus', + 'Valys', + 'Valius', + 'Valteris', + 'Vasaris', + 'Vasilijus', + 'Venantas', + 'Verneris', + 'Vėjas', + 'Vėjūnas', + 'Venjaminas', + 'Vergilijus', + 'Vestas', + 'Viačeslavas', + 'Vidas', + 'Vydas', + 'Vidimantas', + 'Vydimantas', + 'Vidmantas', + 'Vydmantas', + 'Viesulas', + 'Vygaudas', + 'Vigilijus', + 'Vygintas', + 'Vygirdas', + 'Vykantas', + 'Vykintas', + 'Viktas', + 'Viktoras', + 'Viktorijus', + 'Viktorinas', + 'Vilenas', + 'Vilgaudas', + 'Vilhelmas', + 'Vilijus', + 'Vilius', + 'Vylius', + 'Vilmantas', + 'Vilmas', + 'Vilnius', + 'Viltaras', + 'Viltautas', + 'Viltenis', + 'Vincas', + 'Vincentas', + 'Vingaudas', + 'Virgaudas', + 'Virgilijus', + 'Virginijus', + 'Virgintas', + 'Virgis', + 'Virgius', + 'Virmantas', + 'Vismantas', + 'Visvaldas', + 'Visvaldis', + 'Vitalijus', + 'Vitalis', + 'Vitalius', + 'Vitas', + 'Vitoldas', + 'Vygandas', + 'Vygantas', + 'Vykintas', + 'Vytaras', + 'Vytautas', + 'Vytas', + 'Vytenis', + 'Vytis', + 'Vyturys', + 'Vladas', + 'Vladimiras', + 'Vladislavas', + 'Vladislovas', + 'Vladlenas', + 'Voicechas', + 'Voldemaras', + 'Vsevolodas', + 'Zacharijus', + 'Zakarijus', + 'Zbignevas', + 'Zdislavas', + 'Zenius', + 'Zenonas', + 'Zigfridas', + 'Zygfridas', + 'Zigmantas', + 'Zigmas', + 'Zygmuntas', + 'Zinovijus', + 'Žanas', + 'Žeimantas', + 'Žilvinas', + 'Žibartas', + 'Žybartas', + 'Žydrius', + 'Žydrūnas', + 'Žygaudas', + 'Žygimantas', + 'Žygintas', + 'Žygis', + 'Žymantas', + 'Žvaigždžius', + ]; - /** - * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvoje_paplit%C4%99_vardai - */ - protected static $firstNameFemale = [ - 'Ada', 'Adelė', 'Adelija', 'Adelina', 'Adolfa', 'Adolfina', - 'Adriana', 'Adrija', 'Adrijana', 'Agata', 'Agnė', 'Agnetė', 'Agnieška', 'Agnietė', 'Agnija', - 'Agota', 'Agripina', 'Aida', 'Aidė', 'Aimana', 'Aimantė', 'Aina', 'Ainė', 'Airė', 'Airida', 'Aistė', - 'Aistra', 'Aitra', 'Aivara', 'Akvilė', 'Akvilina', 'Alana', 'Alanta', 'Alberta', 'Albertina', - 'Albina', 'Alda', 'Aldona', 'Alė', 'Aleksandra', 'Aleksandrina', 'Aleksė', 'Aleta', 'Alfonsė', - 'Alfonsa', 'Alfreda', 'Algė', 'Algimanta', 'Algimantė', 'Algina', 'Algirdė', 'Algutė', 'Alicija', - 'Alina', 'Aliodija', 'Aliona', 'Alisa', 'Alma', 'Aloyza', 'Alona', 'Alva', 'Alvyda', 'Alvydė', - 'Alvita', 'Amalija', 'Amanda', 'Ana', 'Anastasija', 'Anastazija', 'Andrė', 'Andrėja', 'Andžela', - 'Anė', 'Anelė', 'Aneta', 'Anetė', 'Angelė', 'Angelina', 'Aniceta', 'Antanina', 'Antonida', - 'Antonija', 'Antonina', 'Anzelma', 'Apolinarija', 'Apolonija', 'Ara', 'Ariadnė', 'Arija', - 'Arimantė', 'Arina', 'Aristida', 'Armina', 'Arminta', 'Arnė', 'Arnolda', 'Arūnė', 'Arvydė', 'Asta', - 'Astija', 'Astra', 'Astrida', 'Ašara', 'Atėnė', 'Audra', 'Audrė', 'Audronė', 'Augustė', 'Augustina', - 'Augutė', 'Auksė', 'Auksuolė', 'Aura', 'Aurėja', 'Aurelija', 'Aurora', 'Austė', 'Austėja', 'Austra', - 'Aušra', 'Aušrinė', 'Banga', 'Banguolė', 'Barbara', 'Barbora', 'Bargailė', 'Bartė', 'Basia', - 'Beata', 'Beatričė', 'Benedikta', 'Benė', 'Benigna', 'Benita', 'Benjamina', 'Bernadeta', 'Bernarda', - 'Bernardina', 'Berta', 'Beta', 'Biruta', 'Birutė', 'Bytautė', 'Bitė', 'Boleslava', 'Boleslova', - 'Brigita', 'Bronė', 'Bronislava', 'Bronislova', 'Božena', 'Cecilė', 'Cecilija', 'Celestina', - 'Celina', 'Cezarija', 'Cilė', 'Cintija', 'Dagmara', 'Dagna', 'Dagnė', 'Daina', 'Dainė', 'Dainora', - 'Daiva', 'Daivita', 'Daivutė', 'Dalė', 'Dalia', 'Dalija', 'Dalytė', 'Dana', 'Danė', 'Dangė', - 'Dangerutė', 'Dangira', 'Daniela', 'Danielė', 'Danguolė', 'Danuta', 'Danutė', 'Darata', 'Daria', - 'Darija', 'Darja', 'Daugailė', 'Daumantė', 'Debora', 'Deima', 'Deimantė', 'Deivė', 'Deivilė', - 'Demetra', 'Diana', 'Dijana', 'Dina', 'Dinara', 'Dita', 'Ditė', 'Doloresa', 'Doma', 'Domantė', - 'Domicelė', 'Dominika', 'Dominyka', 'Dona', 'Donalda', 'Donata', 'Dora', 'Dorota', 'Dorotė', - 'Dorotėja', 'Dovilė', 'Džeinė', 'Džeralda', 'Džesika', 'Džilda', 'Džina', 'Džiugė', 'Džiuginta', - 'Džiulija', 'Džiuljeta', 'Džordana', 'Džulija', 'Edita', 'Eglė', 'Egida', 'Egidija', 'Eidvilė', - 'Eimantė', 'Einara', 'Eiva', 'Ela', 'Elada', 'Elė', 'Elegija', 'Elena', 'Eleonora', 'Elfrida', - 'Elija', 'Elytė', 'Eliza', 'Elma', 'Elona', 'Elvira', 'Elvyra', 'Elza', 'Elzė', 'Elžbieta', 'Ema', - 'Emanuelė', 'Emilė', 'Emilija', 'Enrika', 'Erdvilė', 'Erika', 'Ermina', 'Erna', 'Ernesta', - 'Ernestina', 'Ervina', 'Esmeralda', 'Estela', 'Estera', 'Eufrozina', 'Eugenija', 'Eulalija', 'Eva', - 'Evalda', 'Evelina', 'Fabija', 'Faina', 'Faustina', 'Felicija', 'Felicita', 'Feliksa', 'Fernanda', - 'Filomena', 'Freda', 'Frida', 'Gabeta', 'Gabija', 'Gabriela', 'Gabrielė', 'Gailė', 'Gailiūtė', - 'Gailutė', 'Gaiva', 'Gaivilė', 'Gaja', 'Galia', 'Galina', 'Gaudencija', 'Gaudrė', 'Geda', - 'Gedimina', 'Gediminė', 'Gedmantė', 'Gedmintė', 'Gedvyda', 'Geida', 'Geismantė', 'Geistė', 'Gelena', - 'Gėlė', 'Gelmė', 'Gema', 'Gena', 'Genadija', 'Gendrė', 'Genė', 'Genovaitė', 'Genovefa', 'Genutė', - 'Georgina', 'Gerarda', 'Gerda', 'Germantė', 'Gerta', 'Gertė', 'Gertruda', 'Gertrūda', 'Geta', - 'Giedra', 'Giedrė', 'Gilda', 'Gilė', 'Gilija', 'Gilma', 'Gina', 'Gintara', 'Gintarė', 'Gintautė', - 'Gintė', 'Girstautė', 'Girstė', 'Gita', 'Gitana', 'Gitė', 'Gytė', 'Gizela', 'Glorija', 'Gluosnė', - 'Goda', 'Gotautė', 'Gotė', 'Gracija', 'Grasilda', 'Gražina', 'Gražyna', 'Gražvyda', 'Greta', - 'Grėtė', 'Grita', 'Grytė', 'Gunda', 'Guoda', 'Gustė', 'Gustina', 'Halina', 'Hana', 'Helena', - 'Henrika', 'Helga', 'Henrieta', 'Henrietė', 'Herma', 'Hiacinta', 'Hilda', 'Honorata', 'Hortenzija', - 'Ida', 'Idalija', 'Ieva', 'Ievutė', 'Ignė', 'Ignota', 'Ilma', 'Ilmena', 'Ilona', 'Ilzė', 'Imantė', - 'Ina', 'Indra', 'Indraja', 'Indrė', 'Inesa', 'Ineta', 'Inga', 'Ingita', 'Ingė', 'Ingeborga', - 'Ingrida', 'Ira', 'Irena', 'Irida', 'Iridė', 'Irina', 'Irma', 'Irmanta', 'Irmantė', 'Irmina', - 'Irmutė', 'Irta', 'Irtautė', 'Irutė', 'Isabela', 'Iva', 'Ivana', 'Ivona', 'Iveta', 'Iza', 'Izabela', - 'Izabelė', 'Izidė', 'Izidora', 'Izolda', 'Jadzė', 'Jadviga', 'Jadvyga', 'Jana', 'Janė', 'Janina', - 'Januarija', 'Jaunė', 'Jaunutė', 'Jekaterina', 'Jelena', 'Jelizaveta', 'Jeronima', 'Jevdokija', - 'Jieva', 'Joana', 'Jogailė', 'Jogilė', 'Jogintė', 'Jola', 'Jolanta', 'Joleta', 'Jolita', 'Jomantė', - 'Jomilė', 'Jonė', 'Jorė', 'Jorigė', 'Jorūnė', 'Jotvingė', 'Jovilė', 'Jovita', 'Judita', 'Judra', - 'Judrė', 'Julė', 'Juliana', 'Julija', 'Julijana', 'Julijona', 'Julita', 'Julytė', 'Juozapina', - 'Juozapota', 'Juozė', 'Jura', 'Jūra', 'Jūrė', 'Jūratė', 'Jurga', 'Jurgė', 'Jurgina', 'Jurgita', - 'Justė', 'Justina', 'Juta', 'Juventa', 'Juzefa', 'Kaja', 'Kamila', 'Kamilė', 'Karina', 'Karla', - 'Karmela', 'Karolė', 'Karolina', 'Kasia', 'Kastė', 'Kastytė', 'Katarina', 'Katažina', 'Katažyna', - 'Katerina', 'Katia', 'Katrė', 'Kazė', 'Kazimiera', 'Kazimira', 'Kazytė', 'Kęstė', 'Kira', 'Klara', - 'Klarisa', 'Klaudija', 'Klema', 'Klementina', 'Kleopa', 'Kleopatra', 'Klotilda', 'Konstancija', - 'Konstantina', 'Kornelija', 'Kostė', 'Kotryna', 'Krista', 'Kristė', 'Kristijona', 'Kristina', - 'Krystyna', 'Ksavera', 'Ksaverija', 'Ksenija', 'Kunigunda', 'Lada', 'Laima', 'Laimė', 'Laimona', - 'Laimutė', 'Laisvė', 'Laisvyda', 'Laisvydė', 'Laisvūnė', 'Lana', 'Lara', 'Larisa', 'Lauma', 'Laura', - 'Laurena', 'Laurentina', 'Lauryna', 'Leandra', 'Leda', 'Leila', 'Lėja', 'Lelija', 'Lena', - 'Leokadija', 'Leona', 'Leonarda', 'Leonė', 'Leonida', 'Leonija', 'Leonila', 'Leonilė', 'Leonora', - 'Leontina', 'Leopolda', 'Leta', 'Lėta', 'Leticija', 'Leva', 'Levutė', 'Liana', 'Liauda', 'Liberta', - 'Lida', 'Lidija', 'Liepa', 'Lijana', 'Lilė', 'Liliana', 'Lilija', 'Lilijana', 'Lina', 'Linda', - 'Lingailė', 'Linė', 'Lionė', 'Liongina', 'Liuba', 'Liubarta', 'Liubovė', 'Liucė', 'Liucilė', - 'Liucina', 'Liucija', 'Liuda', 'Liudmila', 'Liudvika', 'Liūnė', 'Liutaura', 'Liva', 'Liveta', - 'Livija', 'Liza', 'Lizaveta', 'Lola', 'Lolita', 'Longina', 'Lora', 'Lorena', 'Loreta', 'Lorija', - 'Lucyna', 'Luisa', 'Luiza', 'Luknė', 'Lukrecija', 'Magda', 'Magdalena', 'Magdė', 'Maja', 'Malda', - 'Malgožata', 'Malvina', 'Mamerta', 'Mamertina', 'Mantautė', 'Mantė', 'Mantvydė', 'Manuela', 'Mara', - 'Marcė', 'Marcelė', 'Marcelija', 'Marcelina', 'Marcijona', 'Marė', 'Marilė', 'Margita', 'Margarita', - 'Mariana', 'Marija', 'Marijona', 'Marina', 'Marita', 'Marytė', 'Marta', 'Martina', 'Martyna', - 'Matilda', 'Matriona', 'Mažvydė', 'Mečislava', 'Mečislova', 'Meda', 'Medeina', 'Medėja', 'Megana', - 'Megė', 'Meilė', 'Meilutė', 'Melanija', 'Melda', 'Melisa', 'Mėnulė', 'Mėta', 'Michalina', 'Miglė', - 'Mika', 'Mikalina', 'Mykolė', 'Mila', 'Milda', 'Mildutė', 'Milena', 'Milvydė', 'Mindaugė', - 'Mingailė', 'Minija', 'Mintara', 'Mintarė', 'Mintautė', 'Mintė', 'Mira', 'Mirga', 'Modesta', 'Mona', - 'Monika', 'Morta', 'Nadė', 'Nadia', 'Nadežda', 'Nadiežda', 'Naktis', 'Narciza', 'Nastasija', - 'Nastazija', 'Nastė', 'Nastia', 'Natalija', 'Nata', 'Neda', 'Neimantė', 'Nela', 'Nelė', 'Nemira', - 'Nemunė', 'Nendrė', 'Neringa', 'Nerita', 'Nida', 'Nijolė', 'Nika', 'Nikė', 'Nila', 'Nilė', 'Nina', - 'Ninelė', 'Noja', 'Nomeda', 'Nona', 'Nora', 'Norberta', 'Norma', 'Norgailė', 'Normantė', 'Nortė', - 'Norvyda', 'Norvilė', 'Odeta', 'Ofelija', 'Oksana', 'Oktavija', 'Oktiabrina', 'Olga', 'Olimpiada', - 'Olimpija', 'Oliva', 'Olivija', 'Ona', 'Onė', 'Onorata', 'Onutė', 'Oresta', 'Orinta', 'Otilija', - 'Ovidija', 'Palma', 'Palmira', 'Palmyra', 'Pamela', 'Pasaka', 'Patricija', 'Paula', 'Paulė', - 'Paulina', 'Pelagėja', 'Pelagija', 'Petra', 'Petrė', 'Petronė', 'Petronėlė', 'Petrutė', 'Pija', - 'Polė', 'Polina', 'Povilė', 'Pranciška', 'Pranė', 'Praskovja', 'Prima', 'Pulcherija', 'Rachilė', - 'Rada', 'Radmila', 'Radvyda', 'Radvilė', 'Rafaela', 'Rafaelė', 'Raimonda', 'Raimunda', 'Raistė', - 'Rakelė', 'Ramybė', 'Raminta', 'Ramona', 'Ramunė', 'Ramūnė', 'Ramutė', 'Rasa', 'Raselė', 'Rasė', - 'Rasytė', 'Rasuolė', 'Rasvita', 'Rebeka', 'Reda', 'Rėda', 'Rega', 'Regimanta', 'Regimantė', - 'Regina', 'Rema', 'Remigija', 'Rena', 'Renalda', 'Renata', 'Renatė', 'Renė', 'Ričarda', 'Rikarda', - 'Rima', 'Rimanta', 'Rimantė', 'Rimgailė', 'Rimgaudė', 'Rimtautė', 'Rimtė', 'Rimutė', 'Rimvyda', - 'Rimvydė', 'Rimvilė', 'Rina', 'Ringa', 'Ringailė', 'Rita', 'Ryta', 'Ritė', 'Rytė', 'Roberta', - 'Robertina', 'Rolanda', 'Roma', 'Romana', 'Romė', 'Romina', 'Romualda', 'Rosita', 'Roza', - 'Rozalija', 'Rožė', 'Rufina', 'Rugilė', 'Ruslana', 'Rusnė', 'Rūstė', 'Ruta', 'Rūta', 'Rūtelė', - 'Rūtenė', 'Rūtilė', 'Sabina', 'Sabrina', 'Salė', 'Salomėja', 'Salvė', 'Salvija', 'Salvinija', - 'Samanta', 'Sandra', 'Santara', 'Sauga', 'Saulė', 'Saulena', 'Saulenė', 'Saulytė', 'Saulutė', - 'Selena', 'Selma', 'Serafina', 'Serafima', 'Serena', 'Severija', 'Severina', 'Sibilė', 'Siga', - 'Sigita', 'Sigrida', 'Sigutė', 'Silva', 'Silverija', 'Silvestra', 'Silvija', 'Sima', 'Simona', - 'Sintė', 'Sintija', 'Siuzana', 'Skaidra', 'Skaidrė', 'Skaiste', 'Skaiva', 'Skalvė', 'Skirgailė', - 'Skirma', 'Skirmanta', 'Skirmantė', 'Skolastika', 'Smilga', 'Smiltė', 'Snaigė', 'Snežana', 'Sniegė', - 'Sniegena', 'Snieguolė', 'Sofa', 'Sofija', 'Solveiga', 'Sonata', 'Soneta', 'Sonia', 'Sotera', - 'Stanislava', 'Stanislova', 'Staselė', 'Stasė', 'Stefa', 'Stefanija', 'Stela', 'Stepė', 'Sulamita', - 'Svaja', 'Svajonė', 'Sveta', 'Svetlana', 'Šalna', 'Šalnė', 'Šarlota', 'Šarūnė', 'Šatrija', 'Šilė', - 'Šviesa', 'Šviesė', 'Švitrigailė', 'Taika', 'Taisa', 'Taisija', 'Tamara', 'Tania', 'Tatjana', - 'Taura', 'Tautė', 'Tautvydė', 'Teklė', 'Teodora', 'Teofilė', 'Tera', 'Teresė', 'Tereza', 'Terezija', - 'Tesa', 'Tilija', 'Tina', 'Toma', 'Ugnė', 'Ula', 'Ulė', 'Ulijona', 'Uljana', 'Ulrika', 'Una', - 'Undinė', 'Unė', 'Uoginta', 'Ursula', 'Uršula', 'Uršulė', 'Urtė', 'Ūla', 'Upė', 'Vacė', 'Vaclava', - 'Vaclova', 'Vaida', 'Vaidota', 'Vaidotė', 'Vaidilutė', 'Vaiga', 'Vaigalė', 'Vainora', 'Vaiva', - 'Vakarė', 'Valda', 'Valdemara', 'Valdė', 'Valdonė', 'Valentina', 'Valeriana', 'Valerija', - 'Valerijona', 'Valia', 'Valė', 'Vanda', 'Varvara', 'Vasa', 'Vasara', 'Vasarė', 'Vasilisa', 'Vėja', - 'Vėjūnė', 'Venanta', 'Vena', 'Venera', 'Venta', 'Vera', 'Verena', 'Vergilija', 'Verutė', 'Veronika', - 'Vesta', 'Vėtra', 'Vida', 'Vyda', 'Vidmanta', 'Vidmantė', 'Vydmantė', 'Vidimanta', 'Vigilija', - 'Vygantė', 'Vygintė', 'Vija', 'Vijolė', 'Vika', 'Vykintė', 'Vikta', 'Viktė', 'Viktorija', - 'Viktorina', 'Vilena', 'Vilė', 'Vylė', 'Vilhelma', 'Vilhelmina', 'Vilija', 'Vilma', 'Vilmanta', - 'Vilmantė', 'Vilnė', 'Viltara', 'Viltautė', 'Viltė', 'Viltenė', 'Vilūnė', 'Vincė', 'Vincenta', - 'Vincentė', 'Viola', 'Violeta', 'Violina', 'Virdžinija', 'Virga', 'Virginija', 'Virmantė', - 'Vismantė', 'Vita', 'Vyta', 'Vitalė', 'Vitalija', 'Vytautė', 'Vitė', 'Vytė', 'Vytenė', 'Vlada', - 'Vladė', 'Vladislava', 'Vladislova', 'Vladlena', 'Vilita', 'Zabelė', 'Zanė', 'Zelma', 'Zenė', - 'Zigfrida', 'Zigmantė', 'Zylė', 'Zina', 'Zinaida', 'Zita', 'Zofija', 'Zoja', 'Zosė', 'Zuzana', - 'Žana', 'Žaneta', 'Žara', 'Žeimantė', 'Žemyna', 'Žibuoklė', 'Žibutė', 'Žiedė', 'Živilė', 'Žydrė', - 'Žydronė', 'Žydrūnė', 'Žygimantė', 'Žyginta', 'Žilvinė', 'Žymantė', 'Žoržeta', - ]; + /** + * @see https://lt.wikipedia.org/wiki/S%C4%85ra%C5%A1as:Lietuvoje_paplit%C4%99_vardai + */ + protected static $firstNameFemale = [ + 'Ada', + 'Adelė', + 'Adelija', + 'Adelina', + 'Adolfa', + 'Adolfina', + 'Adriana', + 'Adrija', + 'Adrijana', + 'Agata', + 'Agnė', + 'Agnetė', + 'Agnieška', + 'Agnietė', + 'Agnija', + 'Agota', + 'Agripina', + 'Aida', + 'Aidė', + 'Aimana', + 'Aimantė', + 'Aina', + 'Ainė', + 'Airė', + 'Airida', + 'Aistė', + 'Aistra', + 'Aitra', + 'Aivara', + 'Akvilė', + 'Akvilina', + 'Alana', + 'Alanta', + 'Alberta', + 'Albertina', + 'Albina', + 'Alda', + 'Aldona', + 'Alė', + 'Aleksandra', + 'Aleksandrina', + 'Aleksė', + 'Aleta', + 'Alfonsė', + 'Alfonsa', + 'Alfreda', + 'Algė', + 'Algimanta', + 'Algimantė', + 'Algina', + 'Algirdė', + 'Algutė', + 'Alicija', + 'Alina', + 'Aliodija', + 'Aliona', + 'Alisa', + 'Alma', + 'Aloyza', + 'Alona', + 'Alva', + 'Alvyda', + 'Alvydė', + 'Alvita', + 'Amalija', + 'Amanda', + 'Ana', + 'Anastasija', + 'Anastazija', + 'Andrė', + 'Andrėja', + 'Andžela', + 'Anė', + 'Anelė', + 'Aneta', + 'Anetė', + 'Angelė', + 'Angelina', + 'Aniceta', + 'Antanina', + 'Antonida', + 'Antonija', + 'Antonina', + 'Anzelma', + 'Apolinarija', + 'Apolonija', + 'Ara', + 'Ariadnė', + 'Arija', + 'Arimantė', + 'Arina', + 'Aristida', + 'Armina', + 'Arminta', + 'Arnė', + 'Arnolda', + 'Arūnė', + 'Arvydė', + 'Asta', + 'Astija', + 'Astra', + 'Astrida', + 'Ašara', + 'Atėnė', + 'Audra', + 'Audrė', + 'Audronė', + 'Augustė', + 'Augustina', + 'Augutė', + 'Auksė', + 'Auksuolė', + 'Aura', + 'Aurėja', + 'Aurelija', + 'Aurora', + 'Austė', + 'Austėja', + 'Austra', + 'Aušra', + 'Aušrinė', + 'Banga', + 'Banguolė', + 'Barbara', + 'Barbora', + 'Bargailė', + 'Bartė', + 'Basia', + 'Beata', + 'Beatričė', + 'Benedikta', + 'Benė', + 'Benigna', + 'Benita', + 'Benjamina', + 'Bernadeta', + 'Bernarda', + 'Bernardina', + 'Berta', + 'Beta', + 'Biruta', + 'Birutė', + 'Bytautė', + 'Bitė', + 'Boleslava', + 'Boleslova', + 'Brigita', + 'Bronė', + 'Bronislava', + 'Bronislova', + 'Božena', + 'Cecilė', + 'Cecilija', + 'Celestina', + 'Celina', + 'Cezarija', + 'Cilė', + 'Cintija', + 'Dagmara', + 'Dagna', + 'Dagnė', + 'Daina', + 'Dainė', + 'Dainora', + 'Daiva', + 'Daivita', + 'Daivutė', + 'Dalė', + 'Dalia', + 'Dalija', + 'Dalytė', + 'Dana', + 'Danė', + 'Dangė', + 'Dangerutė', + 'Dangira', + 'Daniela', + 'Danielė', + 'Danguolė', + 'Danuta', + 'Danutė', + 'Darata', + 'Daria', + 'Darija', + 'Darja', + 'Daugailė', + 'Daumantė', + 'Debora', + 'Deima', + 'Deimantė', + 'Deivė', + 'Deivilė', + 'Demetra', + 'Diana', + 'Dijana', + 'Dina', + 'Dinara', + 'Dita', + 'Ditė', + 'Doloresa', + 'Doma', + 'Domantė', + 'Domicelė', + 'Dominika', + 'Dominyka', + 'Dona', + 'Donalda', + 'Donata', + 'Dora', + 'Dorota', + 'Dorotė', + 'Dorotėja', + 'Dovilė', + 'Džeinė', + 'Džeralda', + 'Džesika', + 'Džilda', + 'Džina', + 'Džiugė', + 'Džiuginta', + 'Džiulija', + 'Džiuljeta', + 'Džordana', + 'Džulija', + 'Edita', + 'Eglė', + 'Egida', + 'Egidija', + 'Eidvilė', + 'Eimantė', + 'Einara', + 'Eiva', + 'Ela', + 'Elada', + 'Elė', + 'Elegija', + 'Elena', + 'Eleonora', + 'Elfrida', + 'Elija', + 'Elytė', + 'Eliza', + 'Elma', + 'Elona', + 'Elvira', + 'Elvyra', + 'Elza', + 'Elzė', + 'Elžbieta', + 'Ema', + 'Emanuelė', + 'Emilė', + 'Emilija', + 'Enrika', + 'Erdvilė', + 'Erika', + 'Ermina', + 'Erna', + 'Ernesta', + 'Ernestina', + 'Ervina', + 'Esmeralda', + 'Estela', + 'Estera', + 'Eufrozina', + 'Eugenija', + 'Eulalija', + 'Eva', + 'Evalda', + 'Evelina', + 'Fabija', + 'Faina', + 'Faustina', + 'Felicija', + 'Felicita', + 'Feliksa', + 'Fernanda', + 'Filomena', + 'Freda', + 'Frida', + 'Gabeta', + 'Gabija', + 'Gabriela', + 'Gabrielė', + 'Gailė', + 'Gailiūtė', + 'Gailutė', + 'Gaiva', + 'Gaivilė', + 'Gaja', + 'Galia', + 'Galina', + 'Gaudencija', + 'Gaudrė', + 'Geda', + 'Gedimina', + 'Gediminė', + 'Gedmantė', + 'Gedmintė', + 'Gedvyda', + 'Geida', + 'Geismantė', + 'Geistė', + 'Gelena', + 'Gėlė', + 'Gelmė', + 'Gema', + 'Gena', + 'Genadija', + 'Gendrė', + 'Genė', + 'Genovaitė', + 'Genovefa', + 'Genutė', + 'Georgina', + 'Gerarda', + 'Gerda', + 'Germantė', + 'Gerta', + 'Gertė', + 'Gertruda', + 'Gertrūda', + 'Geta', + 'Giedra', + 'Giedrė', + 'Gilda', + 'Gilė', + 'Gilija', + 'Gilma', + 'Gina', + 'Gintara', + 'Gintarė', + 'Gintautė', + 'Gintė', + 'Girstautė', + 'Girstė', + 'Gita', + 'Gitana', + 'Gitė', + 'Gytė', + 'Gizela', + 'Glorija', + 'Gluosnė', + 'Goda', + 'Gotautė', + 'Gotė', + 'Gracija', + 'Grasilda', + 'Gražina', + 'Gražyna', + 'Gražvyda', + 'Greta', + 'Grėtė', + 'Grita', + 'Grytė', + 'Gunda', + 'Guoda', + 'Gustė', + 'Gustina', + 'Halina', + 'Hana', + 'Helena', + 'Henrika', + 'Helga', + 'Henrieta', + 'Henrietė', + 'Herma', + 'Hiacinta', + 'Hilda', + 'Honorata', + 'Hortenzija', + 'Ida', + 'Idalija', + 'Ieva', + 'Ievutė', + 'Ignė', + 'Ignota', + 'Ilma', + 'Ilmena', + 'Ilona', + 'Ilzė', + 'Imantė', + 'Ina', + 'Indra', + 'Indraja', + 'Indrė', + 'Inesa', + 'Ineta', + 'Inga', + 'Ingita', + 'Ingė', + 'Ingeborga', + 'Ingrida', + 'Ira', + 'Irena', + 'Irida', + 'Iridė', + 'Irina', + 'Irma', + 'Irmanta', + 'Irmantė', + 'Irmina', + 'Irmutė', + 'Irta', + 'Irtautė', + 'Irutė', + 'Isabela', + 'Iva', + 'Ivana', + 'Ivona', + 'Iveta', + 'Iza', + 'Izabela', + 'Izabelė', + 'Izidė', + 'Izidora', + 'Izolda', + 'Jadzė', + 'Jadviga', + 'Jadvyga', + 'Jana', + 'Janė', + 'Janina', + 'Januarija', + 'Jaunė', + 'Jaunutė', + 'Jekaterina', + 'Jelena', + 'Jelizaveta', + 'Jeronima', + 'Jevdokija', + 'Jieva', + 'Joana', + 'Jogailė', + 'Jogilė', + 'Jogintė', + 'Jola', + 'Jolanta', + 'Joleta', + 'Jolita', + 'Jomantė', + 'Jomilė', + 'Jonė', + 'Jorė', + 'Jorigė', + 'Jorūnė', + 'Jotvingė', + 'Jovilė', + 'Jovita', + 'Judita', + 'Judra', + 'Judrė', + 'Julė', + 'Juliana', + 'Julija', + 'Julijana', + 'Julijona', + 'Julita', + 'Julytė', + 'Juozapina', + 'Juozapota', + 'Juozė', + 'Jura', + 'Jūra', + 'Jūrė', + 'Jūratė', + 'Jurga', + 'Jurgė', + 'Jurgina', + 'Jurgita', + 'Justė', + 'Justina', + 'Juta', + 'Juventa', + 'Juzefa', + 'Kaja', + 'Kamila', + 'Kamilė', + 'Karina', + 'Karla', + 'Karmela', + 'Karolė', + 'Karolina', + 'Kasia', + 'Kastė', + 'Kastytė', + 'Katarina', + 'Katažina', + 'Katažyna', + 'Katerina', + 'Katia', + 'Katrė', + 'Kazė', + 'Kazimiera', + 'Kazimira', + 'Kazytė', + 'Kęstė', + 'Kira', + 'Klara', + 'Klarisa', + 'Klaudija', + 'Klema', + 'Klementina', + 'Kleopa', + 'Kleopatra', + 'Klotilda', + 'Konstancija', + 'Konstantina', + 'Kornelija', + 'Kostė', + 'Kotryna', + 'Krista', + 'Kristė', + 'Kristijona', + 'Kristina', + 'Krystyna', + 'Ksavera', + 'Ksaverija', + 'Ksenija', + 'Kunigunda', + 'Lada', + 'Laima', + 'Laimė', + 'Laimona', + 'Laimutė', + 'Laisvė', + 'Laisvyda', + 'Laisvydė', + 'Laisvūnė', + 'Lana', + 'Lara', + 'Larisa', + 'Lauma', + 'Laura', + 'Laurena', + 'Laurentina', + 'Lauryna', + 'Leandra', + 'Leda', + 'Leila', + 'Lėja', + 'Lelija', + 'Lena', + 'Leokadija', + 'Leona', + 'Leonarda', + 'Leonė', + 'Leonida', + 'Leonija', + 'Leonila', + 'Leonilė', + 'Leonora', + 'Leontina', + 'Leopolda', + 'Leta', + 'Lėta', + 'Leticija', + 'Leva', + 'Levutė', + 'Liana', + 'Liauda', + 'Liberta', + 'Lida', + 'Lidija', + 'Liepa', + 'Lijana', + 'Lilė', + 'Liliana', + 'Lilija', + 'Lilijana', + 'Lina', + 'Linda', + 'Lingailė', + 'Linė', + 'Lionė', + 'Liongina', + 'Liuba', + 'Liubarta', + 'Liubovė', + 'Liucė', + 'Liucilė', + 'Liucina', + 'Liucija', + 'Liuda', + 'Liudmila', + 'Liudvika', + 'Liūnė', + 'Liutaura', + 'Liva', + 'Liveta', + 'Livija', + 'Liza', + 'Lizaveta', + 'Lola', + 'Lolita', + 'Longina', + 'Lora', + 'Lorena', + 'Loreta', + 'Lorija', + 'Lucyna', + 'Luisa', + 'Luiza', + 'Luknė', + 'Lukrecija', + 'Magda', + 'Magdalena', + 'Magdė', + 'Maja', + 'Malda', + 'Malgožata', + 'Malvina', + 'Mamerta', + 'Mamertina', + 'Mantautė', + 'Mantė', + 'Mantvydė', + 'Manuela', + 'Mara', + 'Marcė', + 'Marcelė', + 'Marcelija', + 'Marcelina', + 'Marcijona', + 'Marė', + 'Marilė', + 'Margita', + 'Margarita', + 'Mariana', + 'Marija', + 'Marijona', + 'Marina', + 'Marita', + 'Marytė', + 'Marta', + 'Martina', + 'Martyna', + 'Matilda', + 'Matriona', + 'Mažvydė', + 'Mečislava', + 'Mečislova', + 'Meda', + 'Medeina', + 'Medėja', + 'Megana', + 'Megė', + 'Meilė', + 'Meilutė', + 'Melanija', + 'Melda', + 'Melisa', + 'Mėnulė', + 'Mėta', + 'Michalina', + 'Miglė', + 'Mika', + 'Mikalina', + 'Mykolė', + 'Mila', + 'Milda', + 'Mildutė', + 'Milena', + 'Milvydė', + 'Mindaugė', + 'Mingailė', + 'Minija', + 'Mintara', + 'Mintarė', + 'Mintautė', + 'Mintė', + 'Mira', + 'Mirga', + 'Modesta', + 'Mona', + 'Monika', + 'Morta', + 'Nadė', + 'Nadia', + 'Nadežda', + 'Nadiežda', + 'Naktis', + 'Narciza', + 'Nastasija', + 'Nastazija', + 'Nastė', + 'Nastia', + 'Natalija', + 'Nata', + 'Neda', + 'Neimantė', + 'Nela', + 'Nelė', + 'Nemira', + 'Nemunė', + 'Nendrė', + 'Neringa', + 'Nerita', + 'Nida', + 'Nijolė', + 'Nika', + 'Nikė', + 'Nila', + 'Nilė', + 'Nina', + 'Ninelė', + 'Noja', + 'Nomeda', + 'Nona', + 'Nora', + 'Norberta', + 'Norma', + 'Norgailė', + 'Normantė', + 'Nortė', + 'Norvyda', + 'Norvilė', + 'Odeta', + 'Ofelija', + 'Oksana', + 'Oktavija', + 'Oktiabrina', + 'Olga', + 'Olimpiada', + 'Olimpija', + 'Oliva', + 'Olivija', + 'Ona', + 'Onė', + 'Onorata', + 'Onutė', + 'Oresta', + 'Orinta', + 'Otilija', + 'Ovidija', + 'Palma', + 'Palmira', + 'Palmyra', + 'Pamela', + 'Pasaka', + 'Patricija', + 'Paula', + 'Paulė', + 'Paulina', + 'Pelagėja', + 'Pelagija', + 'Petra', + 'Petrė', + 'Petronė', + 'Petronėlė', + 'Petrutė', + 'Pija', + 'Polė', + 'Polina', + 'Povilė', + 'Pranciška', + 'Pranė', + 'Praskovja', + 'Prima', + 'Pulcherija', + 'Rachilė', + 'Rada', + 'Radmila', + 'Radvyda', + 'Radvilė', + 'Rafaela', + 'Rafaelė', + 'Raimonda', + 'Raimunda', + 'Raistė', + 'Rakelė', + 'Ramybė', + 'Raminta', + 'Ramona', + 'Ramunė', + 'Ramūnė', + 'Ramutė', + 'Rasa', + 'Raselė', + 'Rasė', + 'Rasytė', + 'Rasuolė', + 'Rasvita', + 'Rebeka', + 'Reda', + 'Rėda', + 'Rega', + 'Regimanta', + 'Regimantė', + 'Regina', + 'Rema', + 'Remigija', + 'Rena', + 'Renalda', + 'Renata', + 'Renatė', + 'Renė', + 'Ričarda', + 'Rikarda', + 'Rima', + 'Rimanta', + 'Rimantė', + 'Rimgailė', + 'Rimgaudė', + 'Rimtautė', + 'Rimtė', + 'Rimutė', + 'Rimvyda', + 'Rimvydė', + 'Rimvilė', + 'Rina', + 'Ringa', + 'Ringailė', + 'Rita', + 'Ryta', + 'Ritė', + 'Rytė', + 'Roberta', + 'Robertina', + 'Rolanda', + 'Roma', + 'Romana', + 'Romė', + 'Romina', + 'Romualda', + 'Rosita', + 'Roza', + 'Rozalija', + 'Rožė', + 'Rufina', + 'Rugilė', + 'Ruslana', + 'Rusnė', + 'Rūstė', + 'Ruta', + 'Rūta', + 'Rūtelė', + 'Rūtenė', + 'Rūtilė', + 'Sabina', + 'Sabrina', + 'Salė', + 'Salomėja', + 'Salvė', + 'Salvija', + 'Salvinija', + 'Samanta', + 'Sandra', + 'Santara', + 'Sauga', + 'Saulė', + 'Saulena', + 'Saulenė', + 'Saulytė', + 'Saulutė', + 'Selena', + 'Selma', + 'Serafina', + 'Serafima', + 'Serena', + 'Severija', + 'Severina', + 'Sibilė', + 'Siga', + 'Sigita', + 'Sigrida', + 'Sigutė', + 'Silva', + 'Silverija', + 'Silvestra', + 'Silvija', + 'Sima', + 'Simona', + 'Sintė', + 'Sintija', + 'Siuzana', + 'Skaidra', + 'Skaidrė', + 'Skaiste', + 'Skaiva', + 'Skalvė', + 'Skirgailė', + 'Skirma', + 'Skirmanta', + 'Skirmantė', + 'Skolastika', + 'Smilga', + 'Smiltė', + 'Snaigė', + 'Snežana', + 'Sniegė', + 'Sniegena', + 'Snieguolė', + 'Sofa', + 'Sofija', + 'Solveiga', + 'Sonata', + 'Soneta', + 'Sonia', + 'Sotera', + 'Stanislava', + 'Stanislova', + 'Staselė', + 'Stasė', + 'Stefa', + 'Stefanija', + 'Stela', + 'Stepė', + 'Sulamita', + 'Svaja', + 'Svajonė', + 'Sveta', + 'Svetlana', + 'Šalna', + 'Šalnė', + 'Šarlota', + 'Šarūnė', + 'Šatrija', + 'Šilė', + 'Šviesa', + 'Šviesė', + 'Švitrigailė', + 'Taika', + 'Taisa', + 'Taisija', + 'Tamara', + 'Tania', + 'Tatjana', + 'Taura', + 'Tautė', + 'Tautvydė', + 'Teklė', + 'Teodora', + 'Teofilė', + 'Tera', + 'Teresė', + 'Tereza', + 'Terezija', + 'Tesa', + 'Tilija', + 'Tina', + 'Toma', + 'Ugnė', + 'Ula', + 'Ulė', + 'Ulijona', + 'Uljana', + 'Ulrika', + 'Una', + 'Undinė', + 'Unė', + 'Uoginta', + 'Ursula', + 'Uršula', + 'Uršulė', + 'Urtė', + 'Ūla', + 'Upė', + 'Vacė', + 'Vaclava', + 'Vaclova', + 'Vaida', + 'Vaidota', + 'Vaidotė', + 'Vaidilutė', + 'Vaiga', + 'Vaigalė', + 'Vainora', + 'Vaiva', + 'Vakarė', + 'Valda', + 'Valdemara', + 'Valdė', + 'Valdonė', + 'Valentina', + 'Valeriana', + 'Valerija', + 'Valerijona', + 'Valia', + 'Valė', + 'Vanda', + 'Varvara', + 'Vasa', + 'Vasara', + 'Vasarė', + 'Vasilisa', + 'Vėja', + 'Vėjūnė', + 'Venanta', + 'Vena', + 'Venera', + 'Venta', + 'Vera', + 'Verena', + 'Vergilija', + 'Verutė', + 'Veronika', + 'Vesta', + 'Vėtra', + 'Vida', + 'Vyda', + 'Vidmanta', + 'Vidmantė', + 'Vydmantė', + 'Vidimanta', + 'Vigilija', + 'Vygantė', + 'Vygintė', + 'Vija', + 'Vijolė', + 'Vika', + 'Vykintė', + 'Vikta', + 'Viktė', + 'Viktorija', + 'Viktorina', + 'Vilena', + 'Vilė', + 'Vylė', + 'Vilhelma', + 'Vilhelmina', + 'Vilija', + 'Vilma', + 'Vilmanta', + 'Vilmantė', + 'Vilnė', + 'Viltara', + 'Viltautė', + 'Viltė', + 'Viltenė', + 'Vilūnė', + 'Vincė', + 'Vincenta', + 'Vincentė', + 'Viola', + 'Violeta', + 'Violina', + 'Virdžinija', + 'Virga', + 'Virginija', + 'Virmantė', + 'Vismantė', + 'Vita', + 'Vyta', + 'Vitalė', + 'Vitalija', + 'Vytautė', + 'Vitė', + 'Vytė', + 'Vytenė', + 'Vlada', + 'Vladė', + 'Vladislava', + 'Vladislova', + 'Vladlena', + 'Vilita', + 'Zabelė', + 'Zanė', + 'Zelma', + 'Zenė', + 'Zigfrida', + 'Zigmantė', + 'Zylė', + 'Zina', + 'Zinaida', + 'Zita', + 'Zofija', + 'Zoja', + 'Zosė', + 'Zuzana', + 'Žana', + 'Žaneta', + 'Žara', + 'Žeimantė', + 'Žemyna', + 'Žibuoklė', + 'Žibutė', + 'Žiedė', + 'Živilė', + 'Žydrė', + 'Žydronė', + 'Žydrūnė', + 'Žygimantė', + 'Žyginta', + 'Žilvinė', + 'Žymantė', + 'Žoržeta', + ]; - /** - * @see http://www.horoskopai.lt/gaires/populiariausios-pavardes-lietuvoje/ - */ - protected static $lastNameMale = [ - 'Kazlauskas', 'Jankauskas', 'Petrauskas', 'Stankevičius', 'Vasiliauskas', 'Žukauskas', 'Butkus', - 'Kateiva', 'Paulauskas', 'Urbonas', 'Kavaliauskas', 'Baranauskas', 'Pocius', 'Sakalauskas', - ]; + /** + * @see http://www.horoskopai.lt/gaires/populiariausios-pavardes-lietuvoje/ + */ + protected static $lastNameMale = [ + 'Kazlauskas', + 'Jankauskas', + 'Petrauskas', + 'Stankevičius', + 'Vasiliauskas', + 'Žukauskas', + 'Butkus', + 'Kateiva', + 'Paulauskas', + 'Urbonas', + 'Kavaliauskas', + 'Baranauskas', + 'Pocius', + 'Sakalauskas', + ]; - /** - * @see http://www.horoskopai.lt/gaires/populiariausios-pavardes-lietuvoje/ - */ - protected static $lastNameFemale = [ - 'Kazlauskienė', 'Jankauskienė', 'Petrauskienė', 'Stankevičienė', 'Vasiliauskienė', 'Paulauskienė', - 'Žukauskienė', 'Urbonienė', 'Kavaliauskienė', 'Navickienė', 'Kazlauskaitė', 'Jankauskaitė', 'Stankevičiūtė', - 'Petrauskaitė', 'Vasiliauskaitė', 'Butkutė', 'Pociūtė', 'Lukoševičiūtė', 'Balčiūnaitė', 'Kavaliauskaitė', - ]; + /** + * @see http://www.horoskopai.lt/gaires/populiariausios-pavardes-lietuvoje/ + */ + protected static $lastNameFemale = [ + 'Kazlauskienė', + 'Jankauskienė', + 'Petrauskienė', + 'Stankevičienė', + 'Vasiliauskienė', + 'Paulauskienė', + 'Žukauskienė', + 'Urbonienė', + 'Kavaliauskienė', + 'Navickienė', + 'Kazlauskaitė', + 'Jankauskaitė', + 'Stankevičiūtė', + 'Petrauskaitė', + 'Vasiliauskaitė', + 'Butkutė', + 'Pociūtė', + 'Lukoševičiūtė', + 'Balčiūnaitė', + 'Kavaliauskaitė', + ]; - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Doe' - * - * @return string - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + * @example 'Doe' + * + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } - /** - * Return male last name - * - * @return string - * - * @example 'Vasiliauskas' - */ - public function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } + /** + * Return male last name + * + * @return string + * + * @example 'Vasiliauskas' + */ + public function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } - /** - * Return female last name - * - * @return string - * - * @example 'Žukauskaitė' - */ - public function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } + /** + * Return female last name + * + * @return string + * + * @example 'Žukauskaitė' + */ + public function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } - /** - * Return driver license number - * - * @return string - * - * @example 12345678 - */ - public function driverLicence() - { - return $this->bothify('########'); - } + /** + * Return driver license number + * + * @return string + * + * @example 12345678 + */ + public function driverLicence() { + return $this->bothify( '########' ); + } - /** - * Return passport number - * - * @return string - * - * @example 12345678 - */ - public function passportNumber() - { - return $this->bothify('########'); - } + /** + * Return passport number + * + * @return string + * + * @example 12345678 + */ + public function passportNumber() { + return $this->bothify( '########' ); + } - /** - * National Personal Identity number (asmens kodas) - * - * @see https://en.wikipedia.org/wiki/National_identification_number#Lithuania - * @see https://lt.wikipedia.org/wiki/Asmens_kodas - * - * @param string $gender [male|female] - * @param \DateTime $birthdate - * @param string $randomNumber three integers - * - * @return string on format XXXXXXXXXXX - */ - public function personalIdentityNumber($gender = 'male', \DateTime $birthdate = null, $randomNumber = '') - { - if (!$birthdate) { - $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); - } + /** + * National Personal Identity number (asmens kodas) + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Lithuania + * @see https://lt.wikipedia.org/wiki/Asmens_kodas + * + * @param string $gender [male|female] + * @param \DateTime $birthdate + * @param string $randomNumber three integers + * + * @return string on format XXXXXXXXXXX + */ + public function personalIdentityNumber( $gender = 'male', \DateTime $birthdate = null, $randomNumber = '' ) { + if ( ! $birthdate ) { + $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); + } - $genderNumber = ($gender == 'male') ? 1 : 0; - $firstNumber = (int) floor($birthdate->format('Y') / 100) * 2 - 34 - $genderNumber; + $genderNumber = ( $gender == 'male' ) ? 1 : 0; + $firstNumber = (int) floor( $birthdate->format( 'Y' ) / 100 ) * 2 - 34 - $genderNumber; - $datePart = $birthdate->format('ymd'); - $randomDigits = (string) (!$randomNumber || strlen($randomNumber) < 3) ? static::numerify('###') : substr($randomNumber, 0, 3); - $partOfPerosnalCode = $firstNumber . $datePart . $randomDigits; + $datePart = $birthdate->format( 'ymd' ); + $randomDigits = (string) ( ! $randomNumber || strlen( $randomNumber ) < 3 ) ? static::numerify( '###' ) : substr( $randomNumber, 0, 3 ); + $partOfPerosnalCode = $firstNumber . $datePart . $randomDigits; - $sum = self::calculateSum($partOfPerosnalCode, 1); - $liekana = $sum % 11; + $sum = self::calculateSum( $partOfPerosnalCode, 1 ); + $liekana = $sum % 11; - if ($liekana !== 10) { - $lastNumber = $liekana; + if ( $liekana !== 10 ) { + $lastNumber = $liekana; - return $firstNumber . $datePart . $randomDigits . $lastNumber; - } + return $firstNumber . $datePart . $randomDigits . $lastNumber; + } - $sum = self::calculateSum($partOfPerosnalCode, 2); - $liekana = $sum % 11; + $sum = self::calculateSum( $partOfPerosnalCode, 2 ); + $liekana = $sum % 11; - $lastNumber = ($liekana !== 10) ? $liekana : 0; + $lastNumber = ( $liekana !== 10 ) ? $liekana : 0; - return $firstNumber . $datePart . $randomDigits . $lastNumber; - } + return $firstNumber . $datePart . $randomDigits . $lastNumber; + } - /** - * Calculate the sum of personal code - * - * @see https://en.wikipedia.org/wiki/National_identification_number#Lithuania - * @see https://lt.wikipedia.org/wiki/Asmens_kodas - * - * @param string $numbers - * @param int $time [1|2] - * - * @return int - */ - private static function calculateSum($numbers, $time = 1) - { - if ($time == 1) { - $multipliers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 1]; - } else { - $multipliers = [3, 4, 5, 6, 7, 8, 9, 1, 2, 3]; - } + /** + * Calculate the sum of personal code + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Lithuania + * @see https://lt.wikipedia.org/wiki/Asmens_kodas + * + * @param string $numbers + * @param int $time [1|2] + * + * @return int + */ + private static function calculateSum( $numbers, $time = 1 ) { + if ( $time == 1 ) { + $multipliers = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 1 ]; + } else { + $multipliers = [ 3, 4, 5, 6, 7, 8, 9, 1, 2, 3 ]; + } - $sum = 0; + $sum = 0; - for ($i = 1; $i <= 10; ++$i) { - $sum += ((int) $numbers[$i - 1]) * $multipliers[$i - 1]; - } + for ( $i = 1; $i <= 10; ++ $i ) { + $sum += ( (int) $numbers[ $i - 1 ] ) * $multipliers[ $i - 1 ]; + } - return (int) $sum; - } + return (int) $sum; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/PhoneNumber.php index 05e32d3..fbf6a25 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lt_LT/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lt_LT/PhoneNumber.php @@ -2,16 +2,15 @@ namespace Faker\Provider\lt_LT; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '86#######', - '8 6## #####', - '+370 6## ## ###', - '+3706#######', - '(8 5) ### ####', - '+370 5 ### ####', - '+370 46 ## ## ##', - '(8 46) ## ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '86#######', + '8 6## #####', + '+370 6## ## ###', + '+3706#######', + '(8 5) ### ####', + '+370 5 ### ####', + '+370 46 ## ## ##', + '(8 46) ## ## ##', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Address.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Address.php index fc8db5c..36ee791 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Address.php @@ -2,116 +2,318 @@ namespace Faker\Provider\lv_LV; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['pilsēta']; - - protected static $regionSuffix = ['reģions']; - protected static $streetPrefix = [ - 'iela', 'bulvāris', 'skvērs', 'gāte', - ]; - - protected static $buildingNumber = ['%#']; - protected static $postcode = ['LV ####']; - - /** - * @see https://lv.wikipedia.org/wiki/Suver%C4%93no_valstu_uzskait%C4%ABjums - */ - protected static $country = [ - 'Afganistāna', 'Albānija', 'Alžīrija', 'Amerikas Savienotās Valstis', 'Andora', 'Angola', 'Antigva un Barbuda', - 'Apvienotie Arābu Emirāti', 'Argentīna', 'Armēnija', 'Austrālija', 'Austrija', 'Austrumtimora', 'Azerbaidžāna', - 'Bahamas', 'Bahreina', 'Baltkrievija', 'Bangladeša', 'Barbadosa', 'Beliza', 'Beļģija', 'Benina', 'Bolīvija', - 'Bosnija un Hercegovina', 'Botsvana', 'Brazīlija', 'Bruneja', 'Bulgārija', 'Burkinafaso', 'Burundi', 'Butāna', - 'Centrālāfrikas Republika', 'Čada', 'Čehija', 'Čīle', 'Dānija', 'Dienvidāfrikas Republika', 'Dienvidkoreja', - 'Dienvidsudāna', 'Dominika', 'Dominikāna', 'Džibutija', 'Ekvadora', 'Ekvatoriālā Gvineja', 'Eritreja', - 'Etiopija', 'Ēģipte', 'Fidži', 'Filipīnas', 'Francija', 'Gabona', 'Gajāna', 'Gambija', 'Gana', 'Grenada', - 'Grieķija', 'Gruzija', 'Gvatemala', 'Gvineja', 'Gvineja-Bisava', 'Haiti', 'Hondurasa', 'Horvātija', 'Igaunija', - 'Indija', 'Indonēzija', 'Irāka', 'Irāna', 'Islande', 'Itālija', 'Izraēla', 'Īrija', 'Jamaika', 'Japāna', - 'Jaunzēlande', 'Jemena', 'Jordānija', 'Kaboverde', 'Kambodža', 'Kamerūna', 'Kanāda', 'Katara', 'Kazahstāna', - 'Kenija', 'Kipra', 'Kirgizstāna', 'Kiribati', 'Kolumbija', 'Komoru Salas', 'Kongo', 'Kongo DR', 'Kostarika', - 'Kotdivuāra', 'Krievija', 'Kuba', 'Kuveita', 'Ķīna', 'Laosa', 'Latvija', 'Lesoto', 'Libāna', 'Libērija', - 'Lībija', 'Lielbritānija', 'Lietuva', 'Lihtenšteina', 'Luksemburga', 'Madagaskara', 'Maķedonijas Republika', - 'Malaizija', 'Malāvija', 'Maldīvija', 'Mali', 'Malta', 'Maroka', 'Māršala Salas', 'Maurīcija', 'Mauritānija', - 'Meksika', 'Melnkalne', 'Mikronēzija', 'Mjanma', 'Moldova', 'Monako', 'Mongolija', 'Mozambika', 'Namībija', - 'Nauru', 'Nepāla', 'Nīderlande', 'Nigēra', 'Nigērija', 'Nikaragva', 'Norvēģija', 'Omāna', 'Pakistāna', 'Palau', - 'Panama', 'Papua-Jaungvineja', 'Paragvaja', 'Peru', 'Polija', 'Portugāle', 'Ruanda', 'Rumānija', 'Salvadora', - 'Samoa', 'Sanmarīno', 'Santome un Prinsipi', 'Saūda Arābija', 'Seišelu Salas', 'Senegāla', - 'Sentkitsa un Nevisa', 'Sentlūsija', 'Sentvinsenta un Grenadīnas', 'Serbija', 'Singapūra', 'Sīrija', - 'Sjerraleone', 'Slovākija', 'Slovēnija', 'Somālija', 'Somija', 'Spānija', 'Sudāna', 'Surinama', 'Svazilenda', - 'Šrilanka', 'Šveice', 'Tadžikistāna', 'Taizeme', 'Tanzānija', 'Togo', 'Tonga', 'Trinidāda un Tobāgo', - 'Tunisija', 'Turcija', 'Turkmenistāna', 'Tuvalu', 'Uganda', 'Ukraina', 'Ungārija', 'Urugvaja', 'Uzbekistāna', - 'Vācija', 'Vanuatu', 'Vatikāns', 'Venecuēla', 'Vjetnama', 'Zālamana Salas', 'Zambija', 'Ziemeļkoreja', - 'Zimbabve', 'Zviedrija', - ]; - - protected static $region = [ - 'Kurzemes', 'Latgales', 'Rīgas', 'Vidzemes', 'Zemgales', - ]; - - protected static $city = ['Aizkraukle', 'Aluksne', 'Balvi', 'Bauska', 'Cesis', - 'Daugavpils', 'Dobele', 'Gulbene', 'Jekabpils', 'Jelgava', 'Kraslava', 'Kuldiga', 'Liepaja', - 'Limbazi', 'Ludza', 'Madona', 'Mobile Phones', 'Ogre', 'Preili', 'Rezekne', 'Rīga', 'Ventspils', - ]; - - protected static $street = [ - 'Alfrēda Kalniņa', 'Alksnāja', 'Amatu', 'Anglikāņu', 'Arhitektu', 'Arsenāla', 'Artilērijas', - 'Aspazijas', 'Atgriežu', 'Audēju', 'Basteja', 'Baumaņa', 'Bīskapa', 'Blaumaņa', 'Brīvības', 'Brīvības', - 'Bruņinieku', 'Dainas', 'Daugavas', - ]; - - protected static $addressFormats = [ - '{{postcode}}, {{region}} {{regionSuffix}}, {{city}} {{cityPrefix}}, {{street}} {{streetPrefix}}, {{buildingNumber}}', - ]; - - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } - - public function address() - { - $format = static::randomElement(static::$addressFormats); - - return $this->generator->parse($format); - } - - public static function country() - { - return static::randomElement(static::$country); - } - - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } - - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } - - public static function region() - { - return static::randomElement(static::$region); - } - - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - public function city() - { - return static::randomElement(static::$city); - } - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'pilsēta' ]; + + protected static $regionSuffix = [ 'reģions' ]; + protected static $streetPrefix = [ + 'iela', + 'bulvāris', + 'skvērs', + 'gāte', + ]; + + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ 'LV ####' ]; + + /** + * @see https://lv.wikipedia.org/wiki/Suver%C4%93no_valstu_uzskait%C4%ABjums + */ + protected static $country = [ + 'Afganistāna', + 'Albānija', + 'Alžīrija', + 'Amerikas Savienotās Valstis', + 'Andora', + 'Angola', + 'Antigva un Barbuda', + 'Apvienotie Arābu Emirāti', + 'Argentīna', + 'Armēnija', + 'Austrālija', + 'Austrija', + 'Austrumtimora', + 'Azerbaidžāna', + 'Bahamas', + 'Bahreina', + 'Baltkrievija', + 'Bangladeša', + 'Barbadosa', + 'Beliza', + 'Beļģija', + 'Benina', + 'Bolīvija', + 'Bosnija un Hercegovina', + 'Botsvana', + 'Brazīlija', + 'Bruneja', + 'Bulgārija', + 'Burkinafaso', + 'Burundi', + 'Butāna', + 'Centrālāfrikas Republika', + 'Čada', + 'Čehija', + 'Čīle', + 'Dānija', + 'Dienvidāfrikas Republika', + 'Dienvidkoreja', + 'Dienvidsudāna', + 'Dominika', + 'Dominikāna', + 'Džibutija', + 'Ekvadora', + 'Ekvatoriālā Gvineja', + 'Eritreja', + 'Etiopija', + 'Ēģipte', + 'Fidži', + 'Filipīnas', + 'Francija', + 'Gabona', + 'Gajāna', + 'Gambija', + 'Gana', + 'Grenada', + 'Grieķija', + 'Gruzija', + 'Gvatemala', + 'Gvineja', + 'Gvineja-Bisava', + 'Haiti', + 'Hondurasa', + 'Horvātija', + 'Igaunija', + 'Indija', + 'Indonēzija', + 'Irāka', + 'Irāna', + 'Islande', + 'Itālija', + 'Izraēla', + 'Īrija', + 'Jamaika', + 'Japāna', + 'Jaunzēlande', + 'Jemena', + 'Jordānija', + 'Kaboverde', + 'Kambodža', + 'Kamerūna', + 'Kanāda', + 'Katara', + 'Kazahstāna', + 'Kenija', + 'Kipra', + 'Kirgizstāna', + 'Kiribati', + 'Kolumbija', + 'Komoru Salas', + 'Kongo', + 'Kongo DR', + 'Kostarika', + 'Kotdivuāra', + 'Krievija', + 'Kuba', + 'Kuveita', + 'Ķīna', + 'Laosa', + 'Latvija', + 'Lesoto', + 'Libāna', + 'Libērija', + 'Lībija', + 'Lielbritānija', + 'Lietuva', + 'Lihtenšteina', + 'Luksemburga', + 'Madagaskara', + 'Maķedonijas Republika', + 'Malaizija', + 'Malāvija', + 'Maldīvija', + 'Mali', + 'Malta', + 'Maroka', + 'Māršala Salas', + 'Maurīcija', + 'Mauritānija', + 'Meksika', + 'Melnkalne', + 'Mikronēzija', + 'Mjanma', + 'Moldova', + 'Monako', + 'Mongolija', + 'Mozambika', + 'Namībija', + 'Nauru', + 'Nepāla', + 'Nīderlande', + 'Nigēra', + 'Nigērija', + 'Nikaragva', + 'Norvēģija', + 'Omāna', + 'Pakistāna', + 'Palau', + 'Panama', + 'Papua-Jaungvineja', + 'Paragvaja', + 'Peru', + 'Polija', + 'Portugāle', + 'Ruanda', + 'Rumānija', + 'Salvadora', + 'Samoa', + 'Sanmarīno', + 'Santome un Prinsipi', + 'Saūda Arābija', + 'Seišelu Salas', + 'Senegāla', + 'Sentkitsa un Nevisa', + 'Sentlūsija', + 'Sentvinsenta un Grenadīnas', + 'Serbija', + 'Singapūra', + 'Sīrija', + 'Sjerraleone', + 'Slovākija', + 'Slovēnija', + 'Somālija', + 'Somija', + 'Spānija', + 'Sudāna', + 'Surinama', + 'Svazilenda', + 'Šrilanka', + 'Šveice', + 'Tadžikistāna', + 'Taizeme', + 'Tanzānija', + 'Togo', + 'Tonga', + 'Trinidāda un Tobāgo', + 'Tunisija', + 'Turcija', + 'Turkmenistāna', + 'Tuvalu', + 'Uganda', + 'Ukraina', + 'Ungārija', + 'Urugvaja', + 'Uzbekistāna', + 'Vācija', + 'Vanuatu', + 'Vatikāns', + 'Venecuēla', + 'Vjetnama', + 'Zālamana Salas', + 'Zambija', + 'Ziemeļkoreja', + 'Zimbabve', + 'Zviedrija', + ]; + + protected static $region = [ + 'Kurzemes', + 'Latgales', + 'Rīgas', + 'Vidzemes', + 'Zemgales', + ]; + + protected static $city = [ + 'Aizkraukle', + 'Aluksne', + 'Balvi', + 'Bauska', + 'Cesis', + 'Daugavpils', + 'Dobele', + 'Gulbene', + 'Jekabpils', + 'Jelgava', + 'Kraslava', + 'Kuldiga', + 'Liepaja', + 'Limbazi', + 'Ludza', + 'Madona', + 'Mobile Phones', + 'Ogre', + 'Preili', + 'Rezekne', + 'Rīga', + 'Ventspils', + ]; + + protected static $street = [ + 'Alfrēda Kalniņa', + 'Alksnāja', + 'Amatu', + 'Anglikāņu', + 'Arhitektu', + 'Arsenāla', + 'Artilērijas', + 'Aspazijas', + 'Atgriežu', + 'Audēju', + 'Basteja', + 'Baumaņa', + 'Bīskapa', + 'Blaumaņa', + 'Brīvības', + 'Brīvības', + 'Bruņinieku', + 'Dainas', + 'Daugavas', + ]; + + protected static $addressFormats = [ + '{{postcode}}, {{region}} {{regionSuffix}}, {{city}} {{cityPrefix}}, {{street}} {{streetPrefix}}, {{buildingNumber}}', + ]; + + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } + + public function address() { + $format = static::randomElement( static::$addressFormats ); + + return $this->generator->parse( $format ); + } + + public static function country() { + return static::randomElement( static::$country ); + } + + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } + + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } + + public static function region() { + return static::randomElement( static::$region ); + } + + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + public function city() { + return static::randomElement( static::$city ); + } + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Color.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Color.php index 04c895f..7a2b97a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Color.php @@ -2,18 +2,43 @@ namespace Faker\Provider\lv_LV; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ - 'balts', 'melns', 'sarkans', 'zaļš', 'dzeltens', 'zils', - 'brūns', 'purpurs', 'rozā', 'oranžs', 'pelēks', + 'balts', + 'melns', + 'sarkans', + 'zaļš', + 'dzeltens', + 'zils', + 'brūns', + 'purpurs', + 'rozā', + 'oranžs', + 'pelēks', - ]; + ]; - protected static $allColorNames = [ - 'bēšs', 'palss šatens', 'bordo', 'marengo', 'mēļš', 'sirms', 'ruds', 'rūsgans', - 'ābolains', 'bērs', 'dūkans', 'loss', 'pāts', 'salns', - 'zelts', 'sudrabs', 'varš', 'bronza', 'zeltains', 'subrabains', - ]; + protected static $allColorNames = [ + 'bēšs', + 'palss šatens', + 'bordo', + 'marengo', + 'mēļš', + 'sirms', + 'ruds', + 'rūsgans', + 'ābolains', + 'bērs', + 'dūkans', + 'loss', + 'pāts', + 'salns', + 'zelts', + 'sudrabs', + 'varš', + 'bronza', + 'zeltains', + 'subrabains', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Internet.php index b72804e..55bb166 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\lv_LV; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['mail.lv', 'apollo.lv', 'inbox.lv', 'gmail.com', 'yahoo.com', 'hotmail.com']; - protected static $tld = ['com', 'com', 'net', 'org', 'lv', 'lv', 'lv', 'lv']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'mail.lv', 'apollo.lv', 'inbox.lv', 'gmail.com', 'yahoo.com', 'hotmail.com' ]; + protected static $tld = [ 'com', 'com', 'net', 'org', 'lv', 'lv', 'lv', 'lv' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Payment.php index e7462d4..647136a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\lv_LV; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'LV', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'LV', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Person.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Person.php index d251f89..4893c17 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/Person.php @@ -5,151 +5,5460 @@ use Faker\Calculator\Luhn; use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - /** - * {@link} http://vardunozime.lv/names-male - */ - protected static $firstNameMale = [ - 'Acons', 'Adalberts', 'Adelions', 'Adeljans', 'Adeļjons', 'Adgars', 'Adis', 'Ado', 'Adonis', 'Adoniss', 'Adrians', 'Adriāns', 'Adris', 'Afanasijs', 'Agatons', 'Agejs', 'Agijs', 'Aģis', 'Agnārs', 'Agnis', 'Agris', 'Agrits', 'Agrons', 'Agurs', 'Ahmads', 'Ahmeds', 'Ahto', 'Aidars', 'Aidis', 'Aigars', 'Aigijs', 'Aigils', 'Aigis', 'Aigo', 'Aigvars', 'Ailands', 'Aimo', 'Ainards', 'Ainārs', 'Ainars', 'Ainis', 'Aino', 'Airats', 'Airiks', 'Airis', 'Airtons', 'Aivalds', 'Aivars', 'Aivārs', 'Aivijs', 'Aivils', 'Aivis', 'Aivo', 'Akims', 'Ako', 'Akselis', 'Aksels', 'Alans', 'Alberts', 'Albīns', 'Albins', 'Aldijs', 'Aldis', 'Aldonis', 'Aldons', 'Aldris', 'Aleksandris', 'Aleksandrs', 'Aleksejs', 'Aleksis', 'Alekss', 'Alens', 'Alēns', 'Alereins', 'Alesandrs', 'Alfejs', 'Alfijs', 'Alfins', 'Alfons', 'Alfonss', 'Alfrēds', 'Alfreds', 'Alfrīds', 'Alfrids', 'Alfs', 'Algarts', 'Algers', 'Alģerts', 'Alģimants', 'Aļģirds', 'Algirds', 'Alģirds', 'Aļģirts', 'Alģirts', 'Alģis', 'Aļģis', 'Aliks', 'Aļiks', 'Alis', 'Alisters', 'Allans', 'Allens', 'Almands', 'Almants', 'Almārs', 'Almonds', 'Alnars', 'Alnis', 'Alnors', 'Aloīzijs', 'Aloizis', 'Aloizs', 'Aloīzs', 'Alons', 'Alsis', 'Altairs', 'Alvaro', 'Alvars', 'Alvids', 'Alvijs', 'Alvils', 'Alvīns', 'Alvis', 'Alvits', 'Amandis', 'Amands', 'Ambrozijs', 'Amijs', 'Amirans', 'Amirs', 'Amunds', 'Anārs', 'Anastāsijs', 'Anastāzijs', 'Anatolijs', 'Anatols', 'Ancis', 'Andars', 'Andejs', 'Anders', 'Anderss', 'Andijs', 'Andis', 'Ando', 'Andreass', 'Andrejans', 'Andrejs', 'Andrējs', 'Andress', 'Andriāns', 'Andrievs', 'Andrijans', 'Andrijs', 'Andris', 'Androns', 'Andrs', 'Andrus', 'Andruss', 'Andulis', 'Andžejs', 'Andzelms', 'Andželo', 'Andžs', 'Anfims', 'Angarijs', 'Anicets', 'Anis', 'Anrī', 'Anrijs', 'Anris', 'Anriss', 'Anselms', 'Ansis', 'Anšlavs', 'Antans', 'Antars', 'Antis', 'Antonijs', 'Antonio', 'Antons', 'Antris', 'Ants', 'Antuans', 'Anufrijs', 'Anvars', 'Anzelms', 'Anžijs', 'Apolinārijs', 'Apolinārs', 'Apolons', 'Aralds', 'Arams', 'Arčijs', 'Arčils', 'Ardis', 'Ards', 'Aress', 'Aretijs', 'Arets', 'Argils', 'Argo', 'Argods', 'Argons', 'Argots', 'Arguts', 'Arialds', 'Arians', 'Ariels', 'Arigo', 'Arijs', 'Ariko', 'Arilds', 'Arimands', 'Arīns', 'Arions', 'Aris', 'Ariss', 'Aristīds', 'Aristons', 'Arkādijs', 'Arlijs', 'Armando', 'Armands', 'Armanis', 'Armans', 'Armants', 'Armass', 'Armens', 'Armīds', 'Armīns', 'Armins', 'Armis', 'Arnis', 'Arno', 'Arnolds', 'Arnotijs', 'Arnulfs', 'Arsenijs', 'Arsēnijs', 'Arsens', 'Arsēns', 'Arsentijs', 'Artemijs', 'Artēmijs', 'Artijs', 'Artiks', 'Artis', 'Artjoms', 'Arts', 'Artūrs', 'Arturs', 'Arvalds', 'Arveds', 'Arvēds', 'Arvīds', 'Arvids', 'Arvils', 'Arvīns', 'Arvis', 'Arvo', 'Askolds', 'Asmunds', 'Astērijs', 'Astrīds', 'Atāls', 'Atanazijs', 'Atis', 'Atstars', 'Atvars', 'Audars', 'Audris', 'Augmants', 'Augustīns', 'Augusts', 'Aurelijs', 'Aurēlijs', 'Aurels', 'Auseklis', 'Ausmis', 'Ausmunds', 'Austris', 'Austrums', - 'Ādams', 'Ādolfs', 'Ārends', 'Ārens', 'Ārijs', 'Āriks', 'Āris', 'Ārons', 'Ārvaldis', 'Ārvalds', 'Āvo', - 'Baldūrs', 'Balvis', 'Bartolomejs', 'Bārtulis', 'Bazils', 'Bendžamins', 'Benedikts', 'Benijs', 'Benito', 'Benjāmiņš', 'Benjamins', 'Benno', 'Beno', 'Bens', 'Berils', 'Bernads', 'Bernards', 'Bernārs', 'Bernats', 'Bernhards', 'Bertolds', 'Bertrams', 'Berts', 'Bērtulis', 'Bierants', 'Billijs', 'Bils', 'Bogdans', 'Boļeslavs', 'Bonaventūrs', 'Bonifācijs', 'Bonifātijs', 'Bonifats', 'Bonijs', 'Borislavs', 'Boriss', 'Braiens', 'Braijens', 'Brains', 'Brencis', 'Brendons', 'Brets', 'Bronis', 'Broņislavs', 'Bronislavs', 'Brunis', 'Bruno', 'Brunons', 'Brūss', - 'Čariijs', 'Čarlzs', 'Česlavs', - 'Censonis', 'Censons', 'Centis', 'Centonis', 'Ceronis', 'Cerons', 'Cēzars', 'Cezars', 'Cildis', 'Cildonis', 'Ciprians', 'Ciprijans', - 'Dabris', 'Dacis', 'Dadzis', 'Dafnis', 'Dagmārs', 'Dagnijs', 'Dagnis', 'Dāgs', 'Dags', 'Daiens', 'Daigars', 'Daigonis', 'Dailis', 'Dailonis', 'Dailons', 'Daimonds', 'Daimons', 'Dainārs', 'Dainarts', 'Dainis', 'Dainors', 'Dairis', 'Daivis', 'Damārs', 'Damirs', 'Danats', 'Daneks', 'Dāniels', 'Daniēls', 'Daniels', 'Daniils', 'Daņiils', 'Danijs', 'Daņils', 'Danils', 'Danis', 'Danko', 'Dans', 'Dārgs', 'Dārijs', 'Daris', 'Dato', 'Daumands', 'Daumants', 'Dāvids', 'Dāvīds', 'Dāvis', 'Dāvs', 'Deils', 'Deimonds', 'Deimons', 'Deinis', 'Deins', 'Deivids', 'Deivijs', 'Deivis', 'Deivs', 'Dementijs', 'Deniels', 'Denijs', 'Deņiss', 'Deniss', 'Dens', 'Dēvids', 'Dēvijs', 'Didrihs', 'Didriķis', 'Didzis', 'Didžus', 'Digmārs', 'Dijs', 'Dikijs', 'Diks', 'Dimants', 'Dimārs', 'Dimitrijs', 'Dinards', 'Dinārs', 'Dinijs', 'Dinis', 'Dino', 'Dins', 'Dīns', 'Dionisijs', 'Dionizijs', 'Dīters', 'Ditmārs', 'Dmitrijs', 'Domeniks', 'Dominiks', 'Donalds', 'Donats', 'Donāts', 'Dravis', 'Drosmiņš', 'Drosmis', 'Drošvaldis', 'Drošvaris', 'Druvaldis', 'Druvalds', 'Druvārs', 'Druvinalds', 'Druvis', 'Druvvaldis', 'Druvvalds', 'Džastins', 'Džeims', 'Džeimss', 'Džems', 'Džemss', 'Džeralds', 'Džerijs', 'Dzidris', 'Dzilvars', 'Džims', 'Dzintars', 'Dzintārs', 'Dzintis', 'Dzintris', 'Džo', 'Džonatans', 'Džonijs', 'Džonis', 'Džons', 'Džordans', 'Džordijs', 'Džordžs', - 'Eberhards', 'Edgards', 'Edgars', 'Edgārs', 'Edijs', 'Ediks', 'Edilberts', 'Edis', 'Edmans', 'Edmārs', 'Edmonds', 'Edmons', 'Edmunds', 'Edmunts', 'Eduards', 'Eduārds', 'Eduars', 'Edvards', 'Edvārts', 'Edvijs', 'Edvīns', 'Edvins', 'Edžus', 'Egberts', 'Egdijs', 'Egerts', 'Egidijs', 'Egijs', 'Egīls', 'Egils', 'Eginhards', 'Egīns', 'Egits', 'Eglis', 'Eglons', 'Egmārs', 'Egmonds', 'Egmonts', 'Egnārs', 'Ego', 'Egons', 'Eidis', 'Eigits', 'Einards', 'Einārs', 'Einars', 'Einarts', 'Einis', 'Eino', 'Eiženijs', 'Eižens', 'Elands', 'Elāns', 'Elārs', 'Elčins', 'Eldars', 'Eldijs', 'Elens', 'Elerts', 'Elfrīds', 'Elgars', 'Elgasts', 'Elgons', 'Eliass', 'Eliašs', 'Elijass', 'Elijašs', 'Elijs', 'Elīns', 'Elīss', 'Eljašs', 'Elmārs', 'Elmars', 'Elmo', 'Elmonds', 'Elmuts', 'Elnurs', 'Eltons', 'Elvars', 'Elvigs', 'Elvijs', 'Elvings', 'Elvīns', 'Elvīrs', 'Elvis', 'Elviss', 'Elvo', 'Emanuels', 'Emanuils', 'Emeralds', 'Emerihs', 'Emeriks', 'Emijs', 'Emilians', 'Emilijans', 'Emīlijs', 'Emīlis', 'Emiljans', 'Emīls', 'Emils', 'Emmanuels', 'Enārs', 'Endijs', 'Endo', 'Endrijs', 'Engelberts', 'Engus', 'Enijs', 'Enno', 'Enoks', 'Enrijs', 'Enriko', 'Enriks', 'Eralds', 'Erasts', 'Erberts', 'Erhards', 'Eriands', 'Eriens', 'Erihs', 'Eriks', 'Erims', 'Erlends', 'Ermanis', 'Ermans', 'Ermīns', 'Ernando', 'Ernests', 'Ernis', 'Ernsts', 'Ero', 'Ervids', 'Ervijs', 'Ervils', 'Ervīns', 'Ervins', 'Ervis', 'Esams', 'Etjēns', 'Euģenijs', 'Euģēnijs', 'Eugenijs', 'Eugēnijs', 'Euzebijs', 'Evalds', 'Evarists', 'Evars', 'Evarts', 'Eventijs', 'Everts', 'Evgēnijs', 'Evgenijs', 'Evģēnijs', 'Evģenijs', 'Evijs', - 'Ērihs', 'Ēriks', 'Ērmanis', 'Ēro', 'Ēvalds', - 'Fabiāns', 'Fabijāns', 'Fadejs', 'Falks', 'Farhads', 'Farids', 'Fedors', 'Fedots', 'Felicians', 'Felicijans', 'Fēlikss', 'Felikss', 'Feodors', 'Ferdinands', 'Ferencs', 'Ferijs', 'Fernands', 'FīIips', 'Filips', 'Fjodors', 'Floriāns', 'Florijans', 'Florijs', 'Francis', 'Francišeks', 'Francisks', 'Francs', 'Franeks', 'Franks', 'Franļišeks', 'Frederiks', 'Fredijs', 'Fredis', 'Freds', 'Frementijs', 'Frenks', 'Fricis', 'Fridberts', 'Frideriks', 'Frīdis', 'Fridis', 'Frīdrihs', 'Fritjofs', - 'Gabriels', 'Gabriēls', 'Gaidars', 'Gaidis', 'Gaidonis', 'Gaidvars', 'Gaismonis', 'Gaismons', 'Gaitis', 'Gaits', 'Garlībs', 'Gastons', 'Gatiņš', 'Gatis', 'Gavrils', 'Gedimins', 'Gelārijs', 'Genādijs', 'Gennādijs', 'Georgijs', 'Georgs', 'Geralds', 'Gerards', 'Gerasims', 'Gerds', 'Gerhards', 'Geronīms', 'Gerts', 'Gido', 'Gidons', 'Gijs', 'Gilarijs', 'Gilberts', 'Ginārs', 'Gintārs', 'Gintauts', 'Ginters', 'Gintis', 'Gints', 'Gits', 'Gļebs', 'Glens', 'Godfrīds', 'Godvars', 'Gordejs', 'Gorijs', 'Gotards', 'Gotfrīds', 'Gothards', 'Gracijans', 'Grants', 'Grats', 'Gregors', 'Grigorijs', 'Grigors', 'Gudmunds', 'Gunards', 'Gunārs', 'Gunars', 'Gunarts', 'Gundaris', 'Gundars', 'Gundis', 'Gundolfs', 'Gunis', 'Gunivaldis', 'Gunivalds', 'Gunnars', 'Guno', 'Guntars', 'Guntārs', 'Guntis', 'Guntris', 'Gunts', 'Gunvaldis', 'Gunvalds', 'Gunvaris', 'Gunvars', 'Gurijs', 'Gustavs', 'Gusts', 'Gutars', 'Gvidis', 'Gvido', 'Gvidons', - 'Ģederts', 'Ģedimins', 'Ģintars', 'Ģints', 'Ģirts', - 'Haldons', 'Haldors', 'Hamilkārs', 'Hanss', 'Haralds', 'Hārdijs', 'Hardis', 'Harijs', 'Haris', 'Haritons', 'Harlijs', 'Harolds', 'Hartvigs', 'Harvijs', 'Hedijs', 'Hedvigs', 'Heincs', 'Heindrihs', 'Heinis', 'Heino', 'Heinrihs', 'Heinriks', 'Heldurs', 'Helijs', 'Heliodors', 'Helmārs', 'Helmī', 'Helmuts', 'Helmūts', 'Helvigs', 'Helvijs', 'Helvis', 'Hendrihs', 'Hendriks', 'Henno', 'Henrihs', 'Henrijs', 'Henriks', 'Herberts', 'Hermanis', 'Hermans', 'Hermunds', 'Herolds', 'Heronīms', 'Hevijs', 'Hieronims', 'Higo', 'Hilards', 'Hilārijs', 'Hilārs', 'Hilmārs', 'Hipolits', 'Holgers', 'Honorads', 'Horens', 'Horsts', 'Huans', 'Hūberts', 'Hugo', - 'Ievalds', 'Igars', 'Igmārs', 'Ignars', 'Ignātijs', 'Ignats', 'Ignāts', 'Igo', 'Igors', 'Igvars', 'Ihtiandrs', 'Ikars', 'Ilards', 'Ilārijs', 'Ilārs', 'Ildars', 'Ildefons', 'Ilgards', 'Ilgārs', 'Ilgarts', 'Ilgmārs', 'Ilgmars', 'Ilgonis', 'Ilgons', 'Ilgvalds', 'Ilgvards', 'Ilgvaris', 'Ilgvars', 'Ilgvārs', 'Illo', 'Ilmārs', 'Ilmars', 'Ilo', 'Ilons', 'Ilvars', 'Ilvārs', 'Ilvers', 'Ilvis', 'Imants', 'Imanuels', 'Imārs', 'Imarts', 'Inārijs', 'Inārs', 'Inars', 'Inarts', 'Indars', 'Indriķis', 'Indriks', 'Indris', 'Indulis', 'Induls', 'Inesis', 'Ingars', 'Ingārs', 'Ingemārs', 'Ingerts', 'Ingmārs', 'Ingmars', 'Ingo', 'Ingolfs', 'Ingomars', 'Inguards', 'Inguns', 'Ingūns', 'Ingurds', 'Ingurs', 'Ingus', 'Inguss', 'Ingvards', 'Ingvars', 'Ingvilds', 'Inmārs', 'Innocentijs', 'Ino', 'Inolds', 'Inrigo', 'Intars', 'Intārs', 'Intis', 'Ints', 'Invalds', 'Invars', 'Ipolits', 'Iraidis', 'Iraklijs', 'Irenejs', 'Irenijs', 'Irēnijs', 'Irinejs', 'Irmants', 'Ironijs', 'Irvalds', 'Irvings', 'Irvīns', 'Ismails', 'Itallo', 'Itālo', 'Itārs', 'Itvars', 'Ivalds', 'Ivans', 'Ivars', 'Ivārs', 'Iverts', 'Ivis', 'Ivo', 'Ivs', 'Izidors', - 'Īvis', - 'Jaceks', 'Jakims', 'Jakobs', 'Jakovs', 'Jākubs', 'Jalmars', 'Janeks', 'Jānis', 'Janis', 'Janošs', 'Jāns', 'Janušs', 'Jaroslavs', 'Jautris', 'Jāzeps', 'Jazeps', 'Jefims', 'Jegors', 'Jēkabs', 'Jelisejs', 'Jemeļjans', 'Jermolajs', 'Jeronīms', 'Jeroslavs', 'Jevgēņijs', 'Jevgēnijs', 'Jevgeņijs', 'Jevgenijs', 'Jevģēnijs', 'Jevģenijs', 'Jēzups', 'Jezups', 'Joahims', 'Joakims', 'Joans', 'Johans', 'Jolands', 'Jolants', 'Jonatāns', 'Jonijs', 'Jons', 'Jordans', 'Jorens', 'Jorēns', 'Jovars', 'Jozefs', 'Jozs', 'Juhans', 'Jukums', 'Juliāns', 'Jūliāns', 'Jūlijans', 'Jūlijs', 'Julijs', 'Jūliuss', 'Juļjāns', 'Jumis', 'Jūnijs', 'Jurands', 'Jureks', 'Jurģis', 'Jurijs', 'Juriks', 'Juris', 'Jūris', 'Jūsmiņš', 'Justīns', 'Justs', 'Jūtvaldis', 'Juvents', 'Juzefs', - 'Kaido', 'Kaivis', 'Kajs', 'Kālebs', 'Kaliksts', 'Kalins', 'Kalvis', 'Kamils', 'Kardijs', 'Karels', 'Karens', 'Karims', 'Kārlis', 'Karolis', 'Karols', 'Karps', 'Kaspars', 'Kazemirs', 'Kazimirs', 'Kazis', 'Kazmers', 'Keits', 'Kenets', 'Kerijs', 'Kestutis', 'Kevins', 'Kims', 'Kirils', 'Klaidis', 'Klaids', 'Klāss', 'Klaudijs', 'Klāvs', 'Klemans', 'Klemens', 'Klemenss', 'Klementijs', 'Klementīns', 'Klements', 'Klimans', 'Klimentijs', 'Klods', 'Knuts', 'Komēlijs', 'Kondrāts', 'Konrāds', 'Konrads', 'Konrands', 'Konrāts', 'Konstantīns', 'Konstantins', 'Kornelijs', 'Kreigs', 'Krišjānis', 'Krišjāns', 'Krišs', 'Kristafors', 'Kristaps', 'Kristars', 'Kristens', 'Kristers', 'Kristiāns', 'Kristians', 'Kristijāns', 'Kristjānis', 'Kristjans', 'Kristo', 'Kristofers', 'Kristofors', 'Kristofs', 'Krists', 'Krišus', 'Krīvs', 'Ksaverijs', 'Ksavērijs', 'Ksavers', 'Kuno', 'Kurbads', 'Kurbats', 'Kurts', - 'Labrencis', 'Lāčplēsis', 'Ladislavs', 'Laimdotis', 'Laimdots', 'Laimiņš', 'Laimis', 'Laimnesis', 'Laimonds', 'Laimonis', 'Laimons', 'Laimonts', 'Laimstars', 'Laimutis', 'Laimzieds', 'Lainis', 'Landijs', 'Larijs', 'Larions', 'Laris', 'Lars', 'Larss', 'Lato', 'Latvis', 'Laurentijs', 'Laurijs', 'Lauris', 'Lavrentijs', 'Leino', 'Lenards', 'Lenārs', 'Lenarts', 'Lennijs', 'Leo', 'Leonardo', 'Leonards', 'Leonārs', 'Leongīns', 'Leonhards', 'Leonīds', 'Leonids', 'Leons', 'Leontijs', 'Leontīns', 'Leopolds', 'Levijs', 'Liards', 'Liberijs', 'Līgonis', 'Līgotnis', 'Lilians', 'Linards', 'Linārs', 'Linarts', 'Lindons', 'Linerts', 'Lins', 'Linus', 'Linuss', 'Livars', 'Līvis', 'Līvs', 'Lonards', 'Lonarts', 'Longins', 'Lorands', 'Lorens', 'Lorenss', 'Lorijs', 'Lotārs', 'Lotars', 'Luciāns', 'Lucijāns', 'Ludis', 'Lūdolfs', 'Ludoviks', 'Ludvigs', 'Ludviķis', 'Ludviks', 'Luijs', 'Luiss', 'Lūkass', - 'Ļevs', - 'Madars', 'Madis', 'Magnus', 'Magnuss', 'Maigonis', 'Maigons', 'Maigurs', 'Maikls', 'Maiks', 'Mairis', 'Mairolds', 'Mairs', 'Maksimiliāns', 'Maksims', 'Maksis', 'Makss', 'Maldis', 'Maldonis', 'Malvis', 'Mamerts', 'Manfreds', 'Manfrēds', 'Marats', 'Mārcis', 'Marcis', 'Mareks', 'Marģeris', 'Marģers', 'Marģis', 'Margo', 'Margonis', 'Margons', 'Margots', 'Marguss', 'Marguts', 'Marians', 'Mariens', 'Marijans', 'Mārijs', 'Mariks', 'Mario', 'Māris', 'Maris', 'Mariss', 'Mariuss', 'Marjans', 'Marjus', 'Marko', 'Marks', 'Markus', 'Markuss', 'Maro', 'Marsels', 'Mārtiņš', 'Martins', 'Martiņs', 'Marts', 'Mārts', 'Mateass', 'Matejs', 'Mateuss', 'Mateušs', 'Matiass', 'Matis', 'Matīss', 'Matvejs', 'Maurīcijs', 'Mečeslavs', 'Mečislavs', 'Medards', 'Medarts', 'Mefodijs', 'Meikols', 'Meikulis', 'Meikuls', 'Meinards', 'Meinhards', 'Meldris', 'Mereks', 'Mervils', 'Metjū', 'Metodijs', 'Mežvaldis', 'Mieriņš', 'Miermīlis', 'Miernesis', 'Miervaldis', 'Miervalds', 'Mihaels', 'Mihails', 'Mikaels', 'Miķelis', 'Miķēlis', 'Miks', 'Mikus', 'Milāns', 'Milvards', 'Milvars', 'Mindaugs', 'Mintauts', 'Miroslavs', 'Mišels', 'Modests', 'Modis', 'Modrinš', 'Modris', 'Montis', 'Monts', 'Monvīds', 'Monvids', 'Morics', 'Moriss', 'Mudijs', 'Mudiņš', 'Mudis', 'Mudris', 'Mundis', 'Mundris', 'Muntis', 'Murads', 'Muslims', - 'Naidžels', 'Nameisis', 'Namejs', 'Napoleons', 'Narciss', 'Nareks', 'Narimans', 'Narimants', 'Natans', 'Nauris', 'Neils', 'Nesters', 'Nestors', 'Nevils', 'Nikandrs', 'Nikifors', 'Nikijs', 'Niklāss', 'Niklāvs', 'Niklavs', 'Niko', 'Nikodems', 'Nikodēms', 'Nikodims', 'Nikolajs', 'Nikolass', 'Niks', 'Nils', 'Nīls', 'Nilss', 'Nolāns', 'Noldis', 'Norberts', 'Nords', 'Noris', 'Norītis', 'Norlands', 'Normands', 'Normans', 'Normants', 'Normens', 'Normuds', 'Normunds', - 'Ņikifors', 'Ņikita', - 'Odisejs', 'Odums', 'Ogists', 'Ojārs', 'Oktavians', 'Olafs', 'Olands', 'Olārs', 'Olavs', 'Oļegs', 'Olevs', 'Olģerds', 'Oļģerts', 'Olgerts', 'Olis', 'Olivers', 'Olmars', 'Omārs', 'Oniks', 'Ontons', 'Onufrijs', 'Orests', 'Orfejs', 'Ornets', 'Ortando', 'Osips', 'Oskars', 'Osmars', 'Ostins', 'Osvaldis', 'Osvalds', 'Otārs', 'Otis', 'Oto', 'Otomārs', 'Otomars', - 'Patricijs', 'Patriks', 'Paulis', 'Pauls', 'Pāvels', 'Pāvils', 'Pavils', 'Pāvuls', 'Pērs', 'Persijs', 'Pēteris', 'Pēters', 'Petro', 'Petrs', 'Pijs', 'Pīters', 'Pits', 'Pius', 'Pjotrs', 'Platons', 'Plūdonis', 'Polikarps', 'Pols', 'Prans', - 'Radimins', 'Radions', 'Radislavs', 'Radomirs', 'Radvilis', 'Radvils', 'Rafaels', 'Rafaēls', 'Rafails', 'Rafiks', 'Ragnārs', 'Rahmats', 'Raiders', 'Raido', 'Raiens', 'Raigards', 'Raigo', 'Railands', 'Raimis', 'Raimo', 'Raimonds', 'Raimons', 'Raimunds', 'Rainars', 'Rainers', 'Rainis', 'Rainolds', 'Raitis', 'Raits', 'Raivis', 'Raivo', 'Raldis', 'Ralfs', 'Ramērs', 'Ramils', 'Ramiro', 'Ramons', 'Randolfs', 'Rašids', 'Rasmuss', 'Raulis', 'Rauls', 'Reds', 'Redženalds', 'Redžinalds', 'Reginalds', 'Regīns', 'Regnalds', 'Regnārs', 'Regnolds', 'Rego', 'Reimārs', 'Reimo', 'Reinards', 'Reinārs', 'Reiners', 'Reinhards', 'Reinholds', 'Reinis', 'Reino', 'Reinolds', 'Reinvalds', 'Remberts', 'Remigijs', 'Remijs', 'Remirs', 'Remo', 'Rems', 'Renalds', 'Renards', 'Renārs', 'Renars', 'Renarts', 'Renato', 'Renāts', 'Renats', 'Rendijs', 'Renijs', 'Renno', 'Reno', 'Renolds', 'Rens', 'Reons', 'Rets', 'Revs', 'Ričards', 'Ričijs', 'Ričs', 'Rids', 'Rigo', 'Rigonds', 'Rihards', 'Riho', 'Rikardo', 'Rikijs', 'Riks', 'Rimands', 'Rimants', 'Rimars', 'Rimonds', 'Rimons', 'Rinaldo', 'Rinalds', 'Rinalts', 'Rinards', 'Rinārs', 'Rinats', 'Ringo', 'Ringolds', 'Rinolds', 'Rio', 'Rišars', 'Ritmars', 'Ritums', 'Ritvaldis', 'Ritvalds', 'Ritvars', 'Rivo', 'Rjuriks', 'Roalds', 'Roans', 'Robērs', 'Roberto', 'Roberts', 'Robijs', 'Robins', 'Rodijs', 'Rodions', 'Rodrigo', 'Rodžers', 'Rojs', 'Rokijs', 'Roko', 'Rolands', 'Rolāns', 'Rolfs', 'Rolijs', 'Romalds', 'Romands', 'Romāns', 'Romans', 'Romants', 'Romass', 'Romēns', 'Romeo', 'Romis', 'Roms', 'Romualds', 'Romulds', 'Romunds', 'Romuss', 'Romvalds', 'Ronaldo', 'Ronalds', 'Ronijs', 'Ronvalds', 'Rorijs', 'Rostams', 'Rostislavs', 'Rovens', 'Rubens', 'Rudiards', 'Rūdis', 'Rūdolfs', 'Rudolfs', 'Ruriks', 'Rūsiņš', 'Ruslands', 'Ruslāns', 'Rustams', - 'Saīds', 'Saigits', 'Saimons', 'Sairis', 'Saivis', 'Salamons', 'Salimons', 'Sallijs', 'Salomons', 'Salvijs', 'Salvis', 'Salvo', 'Samirs', 'Samsons', 'Samuels', 'Samuēls', 'Samvels', 'Sančo', 'Sandars', 'Sanders', 'Sandijs', 'Sandis', 'Sando', 'Sandors', 'Sandrino', 'Sandris', 'Sandro', 'Sandrs', 'Sandus', 'Sanduss', 'Sangvids', 'Sanijs', 'Santijs', 'Santis', 'Santo', 'Santoss', 'Sarmis', 'Saulceris', 'Saulgaitis', 'Saulis', 'Saulstars', 'Sauļus', 'Saulvedis', 'Savelijs', 'Sebastians', 'Sebastijans', 'Sebastjans', 'Sedriks', 'Seimanis', 'Seldzis', 'Selvijs', 'Selvīns', 'Selvis', 'Semions', 'Semjons', 'Sendijs', 'Sentis', 'Serafims', 'Sergejs', 'Sergo', 'Seržs', 'Severīns', 'Severins', 'Severjans', 'Sidars', 'Sidnejs', 'Sidors', 'Sigismunds', 'Sigits', 'Sigizmunds', 'Sigmārs', 'Sigmunds', 'Signijs', 'Signis', 'Sigords', 'Sigunds', 'Sigurds', 'Sigurts', 'Sigvards', 'Sigvars', 'Sigvarts', 'Silards', 'Silvars', 'Silvers', 'Silvesters', 'Silvestris', 'Silvestrs', 'Silvis', 'Sīmanis', 'Simeons', 'Simions', 'Simons', 'Sindijs', 'Singurs', 'Sintijs', 'Sirdsvaldis', 'Skaidris', 'Skaudris', 'Smaidonis', 'Smailis', 'Smuidris', 'Solomons', 'Solvis', 'Sondars', 'Sondris', 'Spartaks', 'Spēkonis', 'Spodris', 'Spricis', 'Staldzis', 'Staņislavs', 'Stanislavs', 'Stasis', 'Stass', 'Stefans', 'Stefāns', 'Steinārs', 'Stenlijs', 'Stepans', 'Stepons', 'Stīvens', 'Svenis', 'Svens', 'Svetoslavs', 'Svjatoslavs', - 'Šandors', - 'Tadeušs', 'Tagils', 'Tahirs', 'Taivo', 'Tālavs', 'Tālis', 'Tālivaldis', 'Tālivalds', 'Tālrids', 'Tālrīts', 'Tālrits', 'Tāls', 'Tālvaldis', 'Tamārs', 'Tarass', 'Taunis', 'Tautmīlis', 'Tautvaldis', 'Tautvaris', 'Tedijs', 'Tedis', 'Teldijs', 'Telesfors', 'Tenis', 'Teo', 'Teobalds', 'Teodors', 'Teofils', 'Teovils', 'Terijs', 'Tihons', 'Tils', 'Timofejs', 'Timotejs', 'Tims', 'Timurs', 'Tits', 'Tobijs', 'Toivo', 'Tomass', 'Tomašs', 'Tomijs', 'Toms', 'Tonijs', 'Toralfs', 'Torolfs', 'Tors', 'Torvalds', 'Treviss', 'Trofims', 'Tumašs', 'Turaids', 'Tūrs', - 'Udo', 'Uģis', 'Ugo', 'Ulams', 'Uldis', 'Uldriķis', 'Ulfs', 'Uljans', 'Uļjans', 'Ulrihs', 'Ulriks', 'Ulvars', 'Ulvis', 'Umberts', 'Undalgs', 'Undis', 'Ungars', 'Uno', 'Uvis', - 'Vaclavs', 'Vadims', 'Vagifs', 'Vahtangs', 'Vaidelotis', 'Vaidis', 'Vaino', 'Vairis', 'Vaironis', 'Vairons', 'Vaits', 'Vaivars', 'Valdeko', 'Valdeks', 'Valdemārs', 'Valdemars', 'Valdimārts', 'Valdimirs', 'Valdis', 'Valdmiers', 'Valdonis', 'Valdons', 'Valds', 'Valeks', 'Valentijs', 'Valentīns', 'Valentins', 'Valents', 'Valeriāns', 'Valerijāns', 'Valērijs', 'Valerijs', 'Valerjāns', 'Valfrīds', 'Valgudis', 'Valijs', 'Valteris', 'Valters', 'Valtīns', 'Valtis', 'Valts', 'Varaidotis', 'Varaidots', 'Varfolomejs', 'Varimands', 'Varimants', 'Varis', 'Varonis', 'Vasīlijs', 'Vasils', 'Večeslavs', 'Večislavs', 'Veidols', 'Veiko', 'Veimārs', 'Veino', 'Velards', 'Velerjans', 'Vello', 'Venancijs', 'Venantijs', 'Venceslavs', 'Venčeslavs', 'Vencislavs', 'Vendijs', 'Venedikts', 'Veners', 'Veno', 'Ventis', 'Vents', 'Verners', 'Vernis', 'Vernons', 'Veronis', 'Vestards', 'Vicents', 'Vidards', 'Vidars', 'Vidarts', 'Videvuds', 'Videvuts', 'Vidis', 'Vidmands', 'Vidmants', 'Vidmunds', 'Vido', 'Vidulis', 'Vidvars', 'Vidvedis', 'Vidvuds', 'Vidvuts', 'Viestards', 'Viestars', 'Viestarts', 'Viesturis', 'Viesturs', 'Vieturs', 'Vīgants', 'Vigars', 'Vigelijs', 'Vigilijs', 'Vīgo', 'Vigors', 'Vigorts', 'Vigurds', 'Vijārs', 'Vijtauts', 'Vikars', 'Vikentijs', 'Vikijs', 'Viktorijs', 'Viktors', 'Vilārs', 'Vilberts', 'Vilemons', 'Vilens', 'Vilfrīds', 'Vilhelmīns', 'Vilhelms', 'Vilibalds', 'Viliberts', 'Vilijs', 'Vīlips', 'Vilis', 'Viljams', 'Villems', 'Villijs', 'Vilmārs', 'Vilmars', 'Vilnis', 'Viļums', 'Viļus', 'Vinārs', 'Vincens', 'Vincentijs', 'Vincents', 'Vinceslavs', 'Vincs', 'Viners', 'Vinets', 'Vinifreds', 'Vinolds', 'Vinsents', 'Vintārs', 'Vints', 'Virgilijs', 'Virginijs', 'Viskants', 'Vismands', 'Vismants', 'Visvaldis', 'Visvalds', 'Visvaris', 'Visvars', 'Vitālijs', 'Vitalijs', 'Vitālis', 'Vitaliss', 'Vitāls', 'Vitars', 'Vitauts', 'Vītauts', 'Vitis', 'Vito', 'Vitolds', 'Vitols', 'Vitors', 'Vits', 'Vitus', 'Vivaldis', 'Vivanto', 'Vizbulis', 'Vizulis', 'Vjačeslavs', 'Vladeks', 'Vladilens', 'Vladimirs', 'Vladis', 'Vladislavs', 'Vladlens', 'Vlads', 'Vmcis', 'Voicehs', 'Voiceks', 'Voicihs', 'Voiciks', 'Voičiks', 'Voitiks', 'Voldemārs', 'Voldemars', 'Voldis', 'Voldmārs', 'Volfgangs', 'Volfreds', 'Volfrīds', 'Volfs', 'Volmārs', 'Vsevolods', 'Vudis', 'Vudro', 'Vulmārs', - 'Zaigonis', 'Zālamans', 'Zalamons', 'Zāmuels', 'Zandars', 'Zanders', 'Zandis', 'Zbigņevs', 'Zdeneks', 'Zelmars', 'Zemgus', 'Zemvaldis', 'Zemvalds', 'Zenons', 'Zezostris', 'Ziedonis', 'Ziedons', 'Zigfrīds', 'Zigfrids', 'Zigis', 'Zigismunds', 'Zigizmunds', 'Zigmans', 'Zigmants', 'Zigmāris', 'Zigmārs', 'Zigmars', 'Zigmonds', 'Zigmonts', 'Zigmunds', 'Zigmunts', 'Zigo', 'Zigonis', 'Zigrīds', 'Zigrids', 'Zigurds', 'Zigurts', 'Zigvards', 'Zilgars', 'Zinaidis', 'Zinaids', 'Zinovijs', 'Zintars', 'Zintauts', 'Zintis', 'Zinturs', - 'Žaks', 'Žanis', 'Žanno', 'Žano', 'Žans', 'Ženijs', 'Žerārs', 'Žoržs', 'Žozefs', - ]; +class Person extends \Faker\Provider\Person { + /** + * {@link} http://vardunozime.lv/names-male + */ + protected static $firstNameMale = [ + 'Acons', + 'Adalberts', + 'Adelions', + 'Adeljans', + 'Adeļjons', + 'Adgars', + 'Adis', + 'Ado', + 'Adonis', + 'Adoniss', + 'Adrians', + 'Adriāns', + 'Adris', + 'Afanasijs', + 'Agatons', + 'Agejs', + 'Agijs', + 'Aģis', + 'Agnārs', + 'Agnis', + 'Agris', + 'Agrits', + 'Agrons', + 'Agurs', + 'Ahmads', + 'Ahmeds', + 'Ahto', + 'Aidars', + 'Aidis', + 'Aigars', + 'Aigijs', + 'Aigils', + 'Aigis', + 'Aigo', + 'Aigvars', + 'Ailands', + 'Aimo', + 'Ainards', + 'Ainārs', + 'Ainars', + 'Ainis', + 'Aino', + 'Airats', + 'Airiks', + 'Airis', + 'Airtons', + 'Aivalds', + 'Aivars', + 'Aivārs', + 'Aivijs', + 'Aivils', + 'Aivis', + 'Aivo', + 'Akims', + 'Ako', + 'Akselis', + 'Aksels', + 'Alans', + 'Alberts', + 'Albīns', + 'Albins', + 'Aldijs', + 'Aldis', + 'Aldonis', + 'Aldons', + 'Aldris', + 'Aleksandris', + 'Aleksandrs', + 'Aleksejs', + 'Aleksis', + 'Alekss', + 'Alens', + 'Alēns', + 'Alereins', + 'Alesandrs', + 'Alfejs', + 'Alfijs', + 'Alfins', + 'Alfons', + 'Alfonss', + 'Alfrēds', + 'Alfreds', + 'Alfrīds', + 'Alfrids', + 'Alfs', + 'Algarts', + 'Algers', + 'Alģerts', + 'Alģimants', + 'Aļģirds', + 'Algirds', + 'Alģirds', + 'Aļģirts', + 'Alģirts', + 'Alģis', + 'Aļģis', + 'Aliks', + 'Aļiks', + 'Alis', + 'Alisters', + 'Allans', + 'Allens', + 'Almands', + 'Almants', + 'Almārs', + 'Almonds', + 'Alnars', + 'Alnis', + 'Alnors', + 'Aloīzijs', + 'Aloizis', + 'Aloizs', + 'Aloīzs', + 'Alons', + 'Alsis', + 'Altairs', + 'Alvaro', + 'Alvars', + 'Alvids', + 'Alvijs', + 'Alvils', + 'Alvīns', + 'Alvis', + 'Alvits', + 'Amandis', + 'Amands', + 'Ambrozijs', + 'Amijs', + 'Amirans', + 'Amirs', + 'Amunds', + 'Anārs', + 'Anastāsijs', + 'Anastāzijs', + 'Anatolijs', + 'Anatols', + 'Ancis', + 'Andars', + 'Andejs', + 'Anders', + 'Anderss', + 'Andijs', + 'Andis', + 'Ando', + 'Andreass', + 'Andrejans', + 'Andrejs', + 'Andrējs', + 'Andress', + 'Andriāns', + 'Andrievs', + 'Andrijans', + 'Andrijs', + 'Andris', + 'Androns', + 'Andrs', + 'Andrus', + 'Andruss', + 'Andulis', + 'Andžejs', + 'Andzelms', + 'Andželo', + 'Andžs', + 'Anfims', + 'Angarijs', + 'Anicets', + 'Anis', + 'Anrī', + 'Anrijs', + 'Anris', + 'Anriss', + 'Anselms', + 'Ansis', + 'Anšlavs', + 'Antans', + 'Antars', + 'Antis', + 'Antonijs', + 'Antonio', + 'Antons', + 'Antris', + 'Ants', + 'Antuans', + 'Anufrijs', + 'Anvars', + 'Anzelms', + 'Anžijs', + 'Apolinārijs', + 'Apolinārs', + 'Apolons', + 'Aralds', + 'Arams', + 'Arčijs', + 'Arčils', + 'Ardis', + 'Ards', + 'Aress', + 'Aretijs', + 'Arets', + 'Argils', + 'Argo', + 'Argods', + 'Argons', + 'Argots', + 'Arguts', + 'Arialds', + 'Arians', + 'Ariels', + 'Arigo', + 'Arijs', + 'Ariko', + 'Arilds', + 'Arimands', + 'Arīns', + 'Arions', + 'Aris', + 'Ariss', + 'Aristīds', + 'Aristons', + 'Arkādijs', + 'Arlijs', + 'Armando', + 'Armands', + 'Armanis', + 'Armans', + 'Armants', + 'Armass', + 'Armens', + 'Armīds', + 'Armīns', + 'Armins', + 'Armis', + 'Arnis', + 'Arno', + 'Arnolds', + 'Arnotijs', + 'Arnulfs', + 'Arsenijs', + 'Arsēnijs', + 'Arsens', + 'Arsēns', + 'Arsentijs', + 'Artemijs', + 'Artēmijs', + 'Artijs', + 'Artiks', + 'Artis', + 'Artjoms', + 'Arts', + 'Artūrs', + 'Arturs', + 'Arvalds', + 'Arveds', + 'Arvēds', + 'Arvīds', + 'Arvids', + 'Arvils', + 'Arvīns', + 'Arvis', + 'Arvo', + 'Askolds', + 'Asmunds', + 'Astērijs', + 'Astrīds', + 'Atāls', + 'Atanazijs', + 'Atis', + 'Atstars', + 'Atvars', + 'Audars', + 'Audris', + 'Augmants', + 'Augustīns', + 'Augusts', + 'Aurelijs', + 'Aurēlijs', + 'Aurels', + 'Auseklis', + 'Ausmis', + 'Ausmunds', + 'Austris', + 'Austrums', + 'Ādams', + 'Ādolfs', + 'Ārends', + 'Ārens', + 'Ārijs', + 'Āriks', + 'Āris', + 'Ārons', + 'Ārvaldis', + 'Ārvalds', + 'Āvo', + 'Baldūrs', + 'Balvis', + 'Bartolomejs', + 'Bārtulis', + 'Bazils', + 'Bendžamins', + 'Benedikts', + 'Benijs', + 'Benito', + 'Benjāmiņš', + 'Benjamins', + 'Benno', + 'Beno', + 'Bens', + 'Berils', + 'Bernads', + 'Bernards', + 'Bernārs', + 'Bernats', + 'Bernhards', + 'Bertolds', + 'Bertrams', + 'Berts', + 'Bērtulis', + 'Bierants', + 'Billijs', + 'Bils', + 'Bogdans', + 'Boļeslavs', + 'Bonaventūrs', + 'Bonifācijs', + 'Bonifātijs', + 'Bonifats', + 'Bonijs', + 'Borislavs', + 'Boriss', + 'Braiens', + 'Braijens', + 'Brains', + 'Brencis', + 'Brendons', + 'Brets', + 'Bronis', + 'Broņislavs', + 'Bronislavs', + 'Brunis', + 'Bruno', + 'Brunons', + 'Brūss', + 'Čariijs', + 'Čarlzs', + 'Česlavs', + 'Censonis', + 'Censons', + 'Centis', + 'Centonis', + 'Ceronis', + 'Cerons', + 'Cēzars', + 'Cezars', + 'Cildis', + 'Cildonis', + 'Ciprians', + 'Ciprijans', + 'Dabris', + 'Dacis', + 'Dadzis', + 'Dafnis', + 'Dagmārs', + 'Dagnijs', + 'Dagnis', + 'Dāgs', + 'Dags', + 'Daiens', + 'Daigars', + 'Daigonis', + 'Dailis', + 'Dailonis', + 'Dailons', + 'Daimonds', + 'Daimons', + 'Dainārs', + 'Dainarts', + 'Dainis', + 'Dainors', + 'Dairis', + 'Daivis', + 'Damārs', + 'Damirs', + 'Danats', + 'Daneks', + 'Dāniels', + 'Daniēls', + 'Daniels', + 'Daniils', + 'Daņiils', + 'Danijs', + 'Daņils', + 'Danils', + 'Danis', + 'Danko', + 'Dans', + 'Dārgs', + 'Dārijs', + 'Daris', + 'Dato', + 'Daumands', + 'Daumants', + 'Dāvids', + 'Dāvīds', + 'Dāvis', + 'Dāvs', + 'Deils', + 'Deimonds', + 'Deimons', + 'Deinis', + 'Deins', + 'Deivids', + 'Deivijs', + 'Deivis', + 'Deivs', + 'Dementijs', + 'Deniels', + 'Denijs', + 'Deņiss', + 'Deniss', + 'Dens', + 'Dēvids', + 'Dēvijs', + 'Didrihs', + 'Didriķis', + 'Didzis', + 'Didžus', + 'Digmārs', + 'Dijs', + 'Dikijs', + 'Diks', + 'Dimants', + 'Dimārs', + 'Dimitrijs', + 'Dinards', + 'Dinārs', + 'Dinijs', + 'Dinis', + 'Dino', + 'Dins', + 'Dīns', + 'Dionisijs', + 'Dionizijs', + 'Dīters', + 'Ditmārs', + 'Dmitrijs', + 'Domeniks', + 'Dominiks', + 'Donalds', + 'Donats', + 'Donāts', + 'Dravis', + 'Drosmiņš', + 'Drosmis', + 'Drošvaldis', + 'Drošvaris', + 'Druvaldis', + 'Druvalds', + 'Druvārs', + 'Druvinalds', + 'Druvis', + 'Druvvaldis', + 'Druvvalds', + 'Džastins', + 'Džeims', + 'Džeimss', + 'Džems', + 'Džemss', + 'Džeralds', + 'Džerijs', + 'Dzidris', + 'Dzilvars', + 'Džims', + 'Dzintars', + 'Dzintārs', + 'Dzintis', + 'Dzintris', + 'Džo', + 'Džonatans', + 'Džonijs', + 'Džonis', + 'Džons', + 'Džordans', + 'Džordijs', + 'Džordžs', + 'Eberhards', + 'Edgards', + 'Edgars', + 'Edgārs', + 'Edijs', + 'Ediks', + 'Edilberts', + 'Edis', + 'Edmans', + 'Edmārs', + 'Edmonds', + 'Edmons', + 'Edmunds', + 'Edmunts', + 'Eduards', + 'Eduārds', + 'Eduars', + 'Edvards', + 'Edvārts', + 'Edvijs', + 'Edvīns', + 'Edvins', + 'Edžus', + 'Egberts', + 'Egdijs', + 'Egerts', + 'Egidijs', + 'Egijs', + 'Egīls', + 'Egils', + 'Eginhards', + 'Egīns', + 'Egits', + 'Eglis', + 'Eglons', + 'Egmārs', + 'Egmonds', + 'Egmonts', + 'Egnārs', + 'Ego', + 'Egons', + 'Eidis', + 'Eigits', + 'Einards', + 'Einārs', + 'Einars', + 'Einarts', + 'Einis', + 'Eino', + 'Eiženijs', + 'Eižens', + 'Elands', + 'Elāns', + 'Elārs', + 'Elčins', + 'Eldars', + 'Eldijs', + 'Elens', + 'Elerts', + 'Elfrīds', + 'Elgars', + 'Elgasts', + 'Elgons', + 'Eliass', + 'Eliašs', + 'Elijass', + 'Elijašs', + 'Elijs', + 'Elīns', + 'Elīss', + 'Eljašs', + 'Elmārs', + 'Elmars', + 'Elmo', + 'Elmonds', + 'Elmuts', + 'Elnurs', + 'Eltons', + 'Elvars', + 'Elvigs', + 'Elvijs', + 'Elvings', + 'Elvīns', + 'Elvīrs', + 'Elvis', + 'Elviss', + 'Elvo', + 'Emanuels', + 'Emanuils', + 'Emeralds', + 'Emerihs', + 'Emeriks', + 'Emijs', + 'Emilians', + 'Emilijans', + 'Emīlijs', + 'Emīlis', + 'Emiljans', + 'Emīls', + 'Emils', + 'Emmanuels', + 'Enārs', + 'Endijs', + 'Endo', + 'Endrijs', + 'Engelberts', + 'Engus', + 'Enijs', + 'Enno', + 'Enoks', + 'Enrijs', + 'Enriko', + 'Enriks', + 'Eralds', + 'Erasts', + 'Erberts', + 'Erhards', + 'Eriands', + 'Eriens', + 'Erihs', + 'Eriks', + 'Erims', + 'Erlends', + 'Ermanis', + 'Ermans', + 'Ermīns', + 'Ernando', + 'Ernests', + 'Ernis', + 'Ernsts', + 'Ero', + 'Ervids', + 'Ervijs', + 'Ervils', + 'Ervīns', + 'Ervins', + 'Ervis', + 'Esams', + 'Etjēns', + 'Euģenijs', + 'Euģēnijs', + 'Eugenijs', + 'Eugēnijs', + 'Euzebijs', + 'Evalds', + 'Evarists', + 'Evars', + 'Evarts', + 'Eventijs', + 'Everts', + 'Evgēnijs', + 'Evgenijs', + 'Evģēnijs', + 'Evģenijs', + 'Evijs', + 'Ērihs', + 'Ēriks', + 'Ērmanis', + 'Ēro', + 'Ēvalds', + 'Fabiāns', + 'Fabijāns', + 'Fadejs', + 'Falks', + 'Farhads', + 'Farids', + 'Fedors', + 'Fedots', + 'Felicians', + 'Felicijans', + 'Fēlikss', + 'Felikss', + 'Feodors', + 'Ferdinands', + 'Ferencs', + 'Ferijs', + 'Fernands', + 'FīIips', + 'Filips', + 'Fjodors', + 'Floriāns', + 'Florijans', + 'Florijs', + 'Francis', + 'Francišeks', + 'Francisks', + 'Francs', + 'Franeks', + 'Franks', + 'Franļišeks', + 'Frederiks', + 'Fredijs', + 'Fredis', + 'Freds', + 'Frementijs', + 'Frenks', + 'Fricis', + 'Fridberts', + 'Frideriks', + 'Frīdis', + 'Fridis', + 'Frīdrihs', + 'Fritjofs', + 'Gabriels', + 'Gabriēls', + 'Gaidars', + 'Gaidis', + 'Gaidonis', + 'Gaidvars', + 'Gaismonis', + 'Gaismons', + 'Gaitis', + 'Gaits', + 'Garlībs', + 'Gastons', + 'Gatiņš', + 'Gatis', + 'Gavrils', + 'Gedimins', + 'Gelārijs', + 'Genādijs', + 'Gennādijs', + 'Georgijs', + 'Georgs', + 'Geralds', + 'Gerards', + 'Gerasims', + 'Gerds', + 'Gerhards', + 'Geronīms', + 'Gerts', + 'Gido', + 'Gidons', + 'Gijs', + 'Gilarijs', + 'Gilberts', + 'Ginārs', + 'Gintārs', + 'Gintauts', + 'Ginters', + 'Gintis', + 'Gints', + 'Gits', + 'Gļebs', + 'Glens', + 'Godfrīds', + 'Godvars', + 'Gordejs', + 'Gorijs', + 'Gotards', + 'Gotfrīds', + 'Gothards', + 'Gracijans', + 'Grants', + 'Grats', + 'Gregors', + 'Grigorijs', + 'Grigors', + 'Gudmunds', + 'Gunards', + 'Gunārs', + 'Gunars', + 'Gunarts', + 'Gundaris', + 'Gundars', + 'Gundis', + 'Gundolfs', + 'Gunis', + 'Gunivaldis', + 'Gunivalds', + 'Gunnars', + 'Guno', + 'Guntars', + 'Guntārs', + 'Guntis', + 'Guntris', + 'Gunts', + 'Gunvaldis', + 'Gunvalds', + 'Gunvaris', + 'Gunvars', + 'Gurijs', + 'Gustavs', + 'Gusts', + 'Gutars', + 'Gvidis', + 'Gvido', + 'Gvidons', + 'Ģederts', + 'Ģedimins', + 'Ģintars', + 'Ģints', + 'Ģirts', + 'Haldons', + 'Haldors', + 'Hamilkārs', + 'Hanss', + 'Haralds', + 'Hārdijs', + 'Hardis', + 'Harijs', + 'Haris', + 'Haritons', + 'Harlijs', + 'Harolds', + 'Hartvigs', + 'Harvijs', + 'Hedijs', + 'Hedvigs', + 'Heincs', + 'Heindrihs', + 'Heinis', + 'Heino', + 'Heinrihs', + 'Heinriks', + 'Heldurs', + 'Helijs', + 'Heliodors', + 'Helmārs', + 'Helmī', + 'Helmuts', + 'Helmūts', + 'Helvigs', + 'Helvijs', + 'Helvis', + 'Hendrihs', + 'Hendriks', + 'Henno', + 'Henrihs', + 'Henrijs', + 'Henriks', + 'Herberts', + 'Hermanis', + 'Hermans', + 'Hermunds', + 'Herolds', + 'Heronīms', + 'Hevijs', + 'Hieronims', + 'Higo', + 'Hilards', + 'Hilārijs', + 'Hilārs', + 'Hilmārs', + 'Hipolits', + 'Holgers', + 'Honorads', + 'Horens', + 'Horsts', + 'Huans', + 'Hūberts', + 'Hugo', + 'Ievalds', + 'Igars', + 'Igmārs', + 'Ignars', + 'Ignātijs', + 'Ignats', + 'Ignāts', + 'Igo', + 'Igors', + 'Igvars', + 'Ihtiandrs', + 'Ikars', + 'Ilards', + 'Ilārijs', + 'Ilārs', + 'Ildars', + 'Ildefons', + 'Ilgards', + 'Ilgārs', + 'Ilgarts', + 'Ilgmārs', + 'Ilgmars', + 'Ilgonis', + 'Ilgons', + 'Ilgvalds', + 'Ilgvards', + 'Ilgvaris', + 'Ilgvars', + 'Ilgvārs', + 'Illo', + 'Ilmārs', + 'Ilmars', + 'Ilo', + 'Ilons', + 'Ilvars', + 'Ilvārs', + 'Ilvers', + 'Ilvis', + 'Imants', + 'Imanuels', + 'Imārs', + 'Imarts', + 'Inārijs', + 'Inārs', + 'Inars', + 'Inarts', + 'Indars', + 'Indriķis', + 'Indriks', + 'Indris', + 'Indulis', + 'Induls', + 'Inesis', + 'Ingars', + 'Ingārs', + 'Ingemārs', + 'Ingerts', + 'Ingmārs', + 'Ingmars', + 'Ingo', + 'Ingolfs', + 'Ingomars', + 'Inguards', + 'Inguns', + 'Ingūns', + 'Ingurds', + 'Ingurs', + 'Ingus', + 'Inguss', + 'Ingvards', + 'Ingvars', + 'Ingvilds', + 'Inmārs', + 'Innocentijs', + 'Ino', + 'Inolds', + 'Inrigo', + 'Intars', + 'Intārs', + 'Intis', + 'Ints', + 'Invalds', + 'Invars', + 'Ipolits', + 'Iraidis', + 'Iraklijs', + 'Irenejs', + 'Irenijs', + 'Irēnijs', + 'Irinejs', + 'Irmants', + 'Ironijs', + 'Irvalds', + 'Irvings', + 'Irvīns', + 'Ismails', + 'Itallo', + 'Itālo', + 'Itārs', + 'Itvars', + 'Ivalds', + 'Ivans', + 'Ivars', + 'Ivārs', + 'Iverts', + 'Ivis', + 'Ivo', + 'Ivs', + 'Izidors', + 'Īvis', + 'Jaceks', + 'Jakims', + 'Jakobs', + 'Jakovs', + 'Jākubs', + 'Jalmars', + 'Janeks', + 'Jānis', + 'Janis', + 'Janošs', + 'Jāns', + 'Janušs', + 'Jaroslavs', + 'Jautris', + 'Jāzeps', + 'Jazeps', + 'Jefims', + 'Jegors', + 'Jēkabs', + 'Jelisejs', + 'Jemeļjans', + 'Jermolajs', + 'Jeronīms', + 'Jeroslavs', + 'Jevgēņijs', + 'Jevgēnijs', + 'Jevgeņijs', + 'Jevgenijs', + 'Jevģēnijs', + 'Jevģenijs', + 'Jēzups', + 'Jezups', + 'Joahims', + 'Joakims', + 'Joans', + 'Johans', + 'Jolands', + 'Jolants', + 'Jonatāns', + 'Jonijs', + 'Jons', + 'Jordans', + 'Jorens', + 'Jorēns', + 'Jovars', + 'Jozefs', + 'Jozs', + 'Juhans', + 'Jukums', + 'Juliāns', + 'Jūliāns', + 'Jūlijans', + 'Jūlijs', + 'Julijs', + 'Jūliuss', + 'Juļjāns', + 'Jumis', + 'Jūnijs', + 'Jurands', + 'Jureks', + 'Jurģis', + 'Jurijs', + 'Juriks', + 'Juris', + 'Jūris', + 'Jūsmiņš', + 'Justīns', + 'Justs', + 'Jūtvaldis', + 'Juvents', + 'Juzefs', + 'Kaido', + 'Kaivis', + 'Kajs', + 'Kālebs', + 'Kaliksts', + 'Kalins', + 'Kalvis', + 'Kamils', + 'Kardijs', + 'Karels', + 'Karens', + 'Karims', + 'Kārlis', + 'Karolis', + 'Karols', + 'Karps', + 'Kaspars', + 'Kazemirs', + 'Kazimirs', + 'Kazis', + 'Kazmers', + 'Keits', + 'Kenets', + 'Kerijs', + 'Kestutis', + 'Kevins', + 'Kims', + 'Kirils', + 'Klaidis', + 'Klaids', + 'Klāss', + 'Klaudijs', + 'Klāvs', + 'Klemans', + 'Klemens', + 'Klemenss', + 'Klementijs', + 'Klementīns', + 'Klements', + 'Klimans', + 'Klimentijs', + 'Klods', + 'Knuts', + 'Komēlijs', + 'Kondrāts', + 'Konrāds', + 'Konrads', + 'Konrands', + 'Konrāts', + 'Konstantīns', + 'Konstantins', + 'Kornelijs', + 'Kreigs', + 'Krišjānis', + 'Krišjāns', + 'Krišs', + 'Kristafors', + 'Kristaps', + 'Kristars', + 'Kristens', + 'Kristers', + 'Kristiāns', + 'Kristians', + 'Kristijāns', + 'Kristjānis', + 'Kristjans', + 'Kristo', + 'Kristofers', + 'Kristofors', + 'Kristofs', + 'Krists', + 'Krišus', + 'Krīvs', + 'Ksaverijs', + 'Ksavērijs', + 'Ksavers', + 'Kuno', + 'Kurbads', + 'Kurbats', + 'Kurts', + 'Labrencis', + 'Lāčplēsis', + 'Ladislavs', + 'Laimdotis', + 'Laimdots', + 'Laimiņš', + 'Laimis', + 'Laimnesis', + 'Laimonds', + 'Laimonis', + 'Laimons', + 'Laimonts', + 'Laimstars', + 'Laimutis', + 'Laimzieds', + 'Lainis', + 'Landijs', + 'Larijs', + 'Larions', + 'Laris', + 'Lars', + 'Larss', + 'Lato', + 'Latvis', + 'Laurentijs', + 'Laurijs', + 'Lauris', + 'Lavrentijs', + 'Leino', + 'Lenards', + 'Lenārs', + 'Lenarts', + 'Lennijs', + 'Leo', + 'Leonardo', + 'Leonards', + 'Leonārs', + 'Leongīns', + 'Leonhards', + 'Leonīds', + 'Leonids', + 'Leons', + 'Leontijs', + 'Leontīns', + 'Leopolds', + 'Levijs', + 'Liards', + 'Liberijs', + 'Līgonis', + 'Līgotnis', + 'Lilians', + 'Linards', + 'Linārs', + 'Linarts', + 'Lindons', + 'Linerts', + 'Lins', + 'Linus', + 'Linuss', + 'Livars', + 'Līvis', + 'Līvs', + 'Lonards', + 'Lonarts', + 'Longins', + 'Lorands', + 'Lorens', + 'Lorenss', + 'Lorijs', + 'Lotārs', + 'Lotars', + 'Luciāns', + 'Lucijāns', + 'Ludis', + 'Lūdolfs', + 'Ludoviks', + 'Ludvigs', + 'Ludviķis', + 'Ludviks', + 'Luijs', + 'Luiss', + 'Lūkass', + 'Ļevs', + 'Madars', + 'Madis', + 'Magnus', + 'Magnuss', + 'Maigonis', + 'Maigons', + 'Maigurs', + 'Maikls', + 'Maiks', + 'Mairis', + 'Mairolds', + 'Mairs', + 'Maksimiliāns', + 'Maksims', + 'Maksis', + 'Makss', + 'Maldis', + 'Maldonis', + 'Malvis', + 'Mamerts', + 'Manfreds', + 'Manfrēds', + 'Marats', + 'Mārcis', + 'Marcis', + 'Mareks', + 'Marģeris', + 'Marģers', + 'Marģis', + 'Margo', + 'Margonis', + 'Margons', + 'Margots', + 'Marguss', + 'Marguts', + 'Marians', + 'Mariens', + 'Marijans', + 'Mārijs', + 'Mariks', + 'Mario', + 'Māris', + 'Maris', + 'Mariss', + 'Mariuss', + 'Marjans', + 'Marjus', + 'Marko', + 'Marks', + 'Markus', + 'Markuss', + 'Maro', + 'Marsels', + 'Mārtiņš', + 'Martins', + 'Martiņs', + 'Marts', + 'Mārts', + 'Mateass', + 'Matejs', + 'Mateuss', + 'Mateušs', + 'Matiass', + 'Matis', + 'Matīss', + 'Matvejs', + 'Maurīcijs', + 'Mečeslavs', + 'Mečislavs', + 'Medards', + 'Medarts', + 'Mefodijs', + 'Meikols', + 'Meikulis', + 'Meikuls', + 'Meinards', + 'Meinhards', + 'Meldris', + 'Mereks', + 'Mervils', + 'Metjū', + 'Metodijs', + 'Mežvaldis', + 'Mieriņš', + 'Miermīlis', + 'Miernesis', + 'Miervaldis', + 'Miervalds', + 'Mihaels', + 'Mihails', + 'Mikaels', + 'Miķelis', + 'Miķēlis', + 'Miks', + 'Mikus', + 'Milāns', + 'Milvards', + 'Milvars', + 'Mindaugs', + 'Mintauts', + 'Miroslavs', + 'Mišels', + 'Modests', + 'Modis', + 'Modrinš', + 'Modris', + 'Montis', + 'Monts', + 'Monvīds', + 'Monvids', + 'Morics', + 'Moriss', + 'Mudijs', + 'Mudiņš', + 'Mudis', + 'Mudris', + 'Mundis', + 'Mundris', + 'Muntis', + 'Murads', + 'Muslims', + 'Naidžels', + 'Nameisis', + 'Namejs', + 'Napoleons', + 'Narciss', + 'Nareks', + 'Narimans', + 'Narimants', + 'Natans', + 'Nauris', + 'Neils', + 'Nesters', + 'Nestors', + 'Nevils', + 'Nikandrs', + 'Nikifors', + 'Nikijs', + 'Niklāss', + 'Niklāvs', + 'Niklavs', + 'Niko', + 'Nikodems', + 'Nikodēms', + 'Nikodims', + 'Nikolajs', + 'Nikolass', + 'Niks', + 'Nils', + 'Nīls', + 'Nilss', + 'Nolāns', + 'Noldis', + 'Norberts', + 'Nords', + 'Noris', + 'Norītis', + 'Norlands', + 'Normands', + 'Normans', + 'Normants', + 'Normens', + 'Normuds', + 'Normunds', + 'Ņikifors', + 'Ņikita', + 'Odisejs', + 'Odums', + 'Ogists', + 'Ojārs', + 'Oktavians', + 'Olafs', + 'Olands', + 'Olārs', + 'Olavs', + 'Oļegs', + 'Olevs', + 'Olģerds', + 'Oļģerts', + 'Olgerts', + 'Olis', + 'Olivers', + 'Olmars', + 'Omārs', + 'Oniks', + 'Ontons', + 'Onufrijs', + 'Orests', + 'Orfejs', + 'Ornets', + 'Ortando', + 'Osips', + 'Oskars', + 'Osmars', + 'Ostins', + 'Osvaldis', + 'Osvalds', + 'Otārs', + 'Otis', + 'Oto', + 'Otomārs', + 'Otomars', + 'Patricijs', + 'Patriks', + 'Paulis', + 'Pauls', + 'Pāvels', + 'Pāvils', + 'Pavils', + 'Pāvuls', + 'Pērs', + 'Persijs', + 'Pēteris', + 'Pēters', + 'Petro', + 'Petrs', + 'Pijs', + 'Pīters', + 'Pits', + 'Pius', + 'Pjotrs', + 'Platons', + 'Plūdonis', + 'Polikarps', + 'Pols', + 'Prans', + 'Radimins', + 'Radions', + 'Radislavs', + 'Radomirs', + 'Radvilis', + 'Radvils', + 'Rafaels', + 'Rafaēls', + 'Rafails', + 'Rafiks', + 'Ragnārs', + 'Rahmats', + 'Raiders', + 'Raido', + 'Raiens', + 'Raigards', + 'Raigo', + 'Railands', + 'Raimis', + 'Raimo', + 'Raimonds', + 'Raimons', + 'Raimunds', + 'Rainars', + 'Rainers', + 'Rainis', + 'Rainolds', + 'Raitis', + 'Raits', + 'Raivis', + 'Raivo', + 'Raldis', + 'Ralfs', + 'Ramērs', + 'Ramils', + 'Ramiro', + 'Ramons', + 'Randolfs', + 'Rašids', + 'Rasmuss', + 'Raulis', + 'Rauls', + 'Reds', + 'Redženalds', + 'Redžinalds', + 'Reginalds', + 'Regīns', + 'Regnalds', + 'Regnārs', + 'Regnolds', + 'Rego', + 'Reimārs', + 'Reimo', + 'Reinards', + 'Reinārs', + 'Reiners', + 'Reinhards', + 'Reinholds', + 'Reinis', + 'Reino', + 'Reinolds', + 'Reinvalds', + 'Remberts', + 'Remigijs', + 'Remijs', + 'Remirs', + 'Remo', + 'Rems', + 'Renalds', + 'Renards', + 'Renārs', + 'Renars', + 'Renarts', + 'Renato', + 'Renāts', + 'Renats', + 'Rendijs', + 'Renijs', + 'Renno', + 'Reno', + 'Renolds', + 'Rens', + 'Reons', + 'Rets', + 'Revs', + 'Ričards', + 'Ričijs', + 'Ričs', + 'Rids', + 'Rigo', + 'Rigonds', + 'Rihards', + 'Riho', + 'Rikardo', + 'Rikijs', + 'Riks', + 'Rimands', + 'Rimants', + 'Rimars', + 'Rimonds', + 'Rimons', + 'Rinaldo', + 'Rinalds', + 'Rinalts', + 'Rinards', + 'Rinārs', + 'Rinats', + 'Ringo', + 'Ringolds', + 'Rinolds', + 'Rio', + 'Rišars', + 'Ritmars', + 'Ritums', + 'Ritvaldis', + 'Ritvalds', + 'Ritvars', + 'Rivo', + 'Rjuriks', + 'Roalds', + 'Roans', + 'Robērs', + 'Roberto', + 'Roberts', + 'Robijs', + 'Robins', + 'Rodijs', + 'Rodions', + 'Rodrigo', + 'Rodžers', + 'Rojs', + 'Rokijs', + 'Roko', + 'Rolands', + 'Rolāns', + 'Rolfs', + 'Rolijs', + 'Romalds', + 'Romands', + 'Romāns', + 'Romans', + 'Romants', + 'Romass', + 'Romēns', + 'Romeo', + 'Romis', + 'Roms', + 'Romualds', + 'Romulds', + 'Romunds', + 'Romuss', + 'Romvalds', + 'Ronaldo', + 'Ronalds', + 'Ronijs', + 'Ronvalds', + 'Rorijs', + 'Rostams', + 'Rostislavs', + 'Rovens', + 'Rubens', + 'Rudiards', + 'Rūdis', + 'Rūdolfs', + 'Rudolfs', + 'Ruriks', + 'Rūsiņš', + 'Ruslands', + 'Ruslāns', + 'Rustams', + 'Saīds', + 'Saigits', + 'Saimons', + 'Sairis', + 'Saivis', + 'Salamons', + 'Salimons', + 'Sallijs', + 'Salomons', + 'Salvijs', + 'Salvis', + 'Salvo', + 'Samirs', + 'Samsons', + 'Samuels', + 'Samuēls', + 'Samvels', + 'Sančo', + 'Sandars', + 'Sanders', + 'Sandijs', + 'Sandis', + 'Sando', + 'Sandors', + 'Sandrino', + 'Sandris', + 'Sandro', + 'Sandrs', + 'Sandus', + 'Sanduss', + 'Sangvids', + 'Sanijs', + 'Santijs', + 'Santis', + 'Santo', + 'Santoss', + 'Sarmis', + 'Saulceris', + 'Saulgaitis', + 'Saulis', + 'Saulstars', + 'Sauļus', + 'Saulvedis', + 'Savelijs', + 'Sebastians', + 'Sebastijans', + 'Sebastjans', + 'Sedriks', + 'Seimanis', + 'Seldzis', + 'Selvijs', + 'Selvīns', + 'Selvis', + 'Semions', + 'Semjons', + 'Sendijs', + 'Sentis', + 'Serafims', + 'Sergejs', + 'Sergo', + 'Seržs', + 'Severīns', + 'Severins', + 'Severjans', + 'Sidars', + 'Sidnejs', + 'Sidors', + 'Sigismunds', + 'Sigits', + 'Sigizmunds', + 'Sigmārs', + 'Sigmunds', + 'Signijs', + 'Signis', + 'Sigords', + 'Sigunds', + 'Sigurds', + 'Sigurts', + 'Sigvards', + 'Sigvars', + 'Sigvarts', + 'Silards', + 'Silvars', + 'Silvers', + 'Silvesters', + 'Silvestris', + 'Silvestrs', + 'Silvis', + 'Sīmanis', + 'Simeons', + 'Simions', + 'Simons', + 'Sindijs', + 'Singurs', + 'Sintijs', + 'Sirdsvaldis', + 'Skaidris', + 'Skaudris', + 'Smaidonis', + 'Smailis', + 'Smuidris', + 'Solomons', + 'Solvis', + 'Sondars', + 'Sondris', + 'Spartaks', + 'Spēkonis', + 'Spodris', + 'Spricis', + 'Staldzis', + 'Staņislavs', + 'Stanislavs', + 'Stasis', + 'Stass', + 'Stefans', + 'Stefāns', + 'Steinārs', + 'Stenlijs', + 'Stepans', + 'Stepons', + 'Stīvens', + 'Svenis', + 'Svens', + 'Svetoslavs', + 'Svjatoslavs', + 'Šandors', + 'Tadeušs', + 'Tagils', + 'Tahirs', + 'Taivo', + 'Tālavs', + 'Tālis', + 'Tālivaldis', + 'Tālivalds', + 'Tālrids', + 'Tālrīts', + 'Tālrits', + 'Tāls', + 'Tālvaldis', + 'Tamārs', + 'Tarass', + 'Taunis', + 'Tautmīlis', + 'Tautvaldis', + 'Tautvaris', + 'Tedijs', + 'Tedis', + 'Teldijs', + 'Telesfors', + 'Tenis', + 'Teo', + 'Teobalds', + 'Teodors', + 'Teofils', + 'Teovils', + 'Terijs', + 'Tihons', + 'Tils', + 'Timofejs', + 'Timotejs', + 'Tims', + 'Timurs', + 'Tits', + 'Tobijs', + 'Toivo', + 'Tomass', + 'Tomašs', + 'Tomijs', + 'Toms', + 'Tonijs', + 'Toralfs', + 'Torolfs', + 'Tors', + 'Torvalds', + 'Treviss', + 'Trofims', + 'Tumašs', + 'Turaids', + 'Tūrs', + 'Udo', + 'Uģis', + 'Ugo', + 'Ulams', + 'Uldis', + 'Uldriķis', + 'Ulfs', + 'Uljans', + 'Uļjans', + 'Ulrihs', + 'Ulriks', + 'Ulvars', + 'Ulvis', + 'Umberts', + 'Undalgs', + 'Undis', + 'Ungars', + 'Uno', + 'Uvis', + 'Vaclavs', + 'Vadims', + 'Vagifs', + 'Vahtangs', + 'Vaidelotis', + 'Vaidis', + 'Vaino', + 'Vairis', + 'Vaironis', + 'Vairons', + 'Vaits', + 'Vaivars', + 'Valdeko', + 'Valdeks', + 'Valdemārs', + 'Valdemars', + 'Valdimārts', + 'Valdimirs', + 'Valdis', + 'Valdmiers', + 'Valdonis', + 'Valdons', + 'Valds', + 'Valeks', + 'Valentijs', + 'Valentīns', + 'Valentins', + 'Valents', + 'Valeriāns', + 'Valerijāns', + 'Valērijs', + 'Valerijs', + 'Valerjāns', + 'Valfrīds', + 'Valgudis', + 'Valijs', + 'Valteris', + 'Valters', + 'Valtīns', + 'Valtis', + 'Valts', + 'Varaidotis', + 'Varaidots', + 'Varfolomejs', + 'Varimands', + 'Varimants', + 'Varis', + 'Varonis', + 'Vasīlijs', + 'Vasils', + 'Večeslavs', + 'Večislavs', + 'Veidols', + 'Veiko', + 'Veimārs', + 'Veino', + 'Velards', + 'Velerjans', + 'Vello', + 'Venancijs', + 'Venantijs', + 'Venceslavs', + 'Venčeslavs', + 'Vencislavs', + 'Vendijs', + 'Venedikts', + 'Veners', + 'Veno', + 'Ventis', + 'Vents', + 'Verners', + 'Vernis', + 'Vernons', + 'Veronis', + 'Vestards', + 'Vicents', + 'Vidards', + 'Vidars', + 'Vidarts', + 'Videvuds', + 'Videvuts', + 'Vidis', + 'Vidmands', + 'Vidmants', + 'Vidmunds', + 'Vido', + 'Vidulis', + 'Vidvars', + 'Vidvedis', + 'Vidvuds', + 'Vidvuts', + 'Viestards', + 'Viestars', + 'Viestarts', + 'Viesturis', + 'Viesturs', + 'Vieturs', + 'Vīgants', + 'Vigars', + 'Vigelijs', + 'Vigilijs', + 'Vīgo', + 'Vigors', + 'Vigorts', + 'Vigurds', + 'Vijārs', + 'Vijtauts', + 'Vikars', + 'Vikentijs', + 'Vikijs', + 'Viktorijs', + 'Viktors', + 'Vilārs', + 'Vilberts', + 'Vilemons', + 'Vilens', + 'Vilfrīds', + 'Vilhelmīns', + 'Vilhelms', + 'Vilibalds', + 'Viliberts', + 'Vilijs', + 'Vīlips', + 'Vilis', + 'Viljams', + 'Villems', + 'Villijs', + 'Vilmārs', + 'Vilmars', + 'Vilnis', + 'Viļums', + 'Viļus', + 'Vinārs', + 'Vincens', + 'Vincentijs', + 'Vincents', + 'Vinceslavs', + 'Vincs', + 'Viners', + 'Vinets', + 'Vinifreds', + 'Vinolds', + 'Vinsents', + 'Vintārs', + 'Vints', + 'Virgilijs', + 'Virginijs', + 'Viskants', + 'Vismands', + 'Vismants', + 'Visvaldis', + 'Visvalds', + 'Visvaris', + 'Visvars', + 'Vitālijs', + 'Vitalijs', + 'Vitālis', + 'Vitaliss', + 'Vitāls', + 'Vitars', + 'Vitauts', + 'Vītauts', + 'Vitis', + 'Vito', + 'Vitolds', + 'Vitols', + 'Vitors', + 'Vits', + 'Vitus', + 'Vivaldis', + 'Vivanto', + 'Vizbulis', + 'Vizulis', + 'Vjačeslavs', + 'Vladeks', + 'Vladilens', + 'Vladimirs', + 'Vladis', + 'Vladislavs', + 'Vladlens', + 'Vlads', + 'Vmcis', + 'Voicehs', + 'Voiceks', + 'Voicihs', + 'Voiciks', + 'Voičiks', + 'Voitiks', + 'Voldemārs', + 'Voldemars', + 'Voldis', + 'Voldmārs', + 'Volfgangs', + 'Volfreds', + 'Volfrīds', + 'Volfs', + 'Volmārs', + 'Vsevolods', + 'Vudis', + 'Vudro', + 'Vulmārs', + 'Zaigonis', + 'Zālamans', + 'Zalamons', + 'Zāmuels', + 'Zandars', + 'Zanders', + 'Zandis', + 'Zbigņevs', + 'Zdeneks', + 'Zelmars', + 'Zemgus', + 'Zemvaldis', + 'Zemvalds', + 'Zenons', + 'Zezostris', + 'Ziedonis', + 'Ziedons', + 'Zigfrīds', + 'Zigfrids', + 'Zigis', + 'Zigismunds', + 'Zigizmunds', + 'Zigmans', + 'Zigmants', + 'Zigmāris', + 'Zigmārs', + 'Zigmars', + 'Zigmonds', + 'Zigmonts', + 'Zigmunds', + 'Zigmunts', + 'Zigo', + 'Zigonis', + 'Zigrīds', + 'Zigrids', + 'Zigurds', + 'Zigurts', + 'Zigvards', + 'Zilgars', + 'Zinaidis', + 'Zinaids', + 'Zinovijs', + 'Zintars', + 'Zintauts', + 'Zintis', + 'Zinturs', + 'Žaks', + 'Žanis', + 'Žanno', + 'Žano', + 'Žans', + 'Ženijs', + 'Žerārs', + 'Žoržs', + 'Žozefs', + ]; - /** - * {@link} http://vardunozime.lv/names-female - */ - protected static $firstNameFemale = [ - 'Ada', 'Adala', 'Adalberta', 'Adela', 'Adelaida', 'Adelaide', 'Adele', 'Adelfina', 'Adelgunde', 'Adelheida', 'Adelheide', 'Adelija', 'Adēlija', 'Adelīna', 'Adelina', 'Adija', 'Adīna', 'Adīne', 'Adonija', 'Adriāna', 'Adrija', 'Aelita', 'Afanasija', 'Afra', 'Afrodīte', 'Agafija', 'Agata', 'Agate', 'Agāte', 'Agija', 'Agika', 'Agita', 'Aglikerija', 'Agna', 'Agnda', 'Agne', 'Agnesa', 'Agnese', 'Agnesija', 'Agneška', 'Agņeška', 'Agneta', 'Agnete', 'Agneze', 'Agnēze', 'Agnija', 'Agnita', 'Agra', 'Agreda', 'Agrida', 'Agrija', 'Agrina', 'Agripina', 'Agrita', 'Agrīte', 'Agunda', 'Aīda', 'Aida', 'Aiga', 'Aigija', 'Aigita', 'Aigula', 'Aija', 'Aila', 'Ailenda', 'Aili', 'Ailija', 'Ailita', 'Aina', 'Aināra', 'Ainita', 'Aira', 'Airida', 'Airika', 'Airīna', 'Airisa', 'Airita', 'Airite', 'Aisma', 'Aista', 'Aiva', 'Aivija', 'Aivika', 'Aivita', 'Ajita', 'Akilina', 'Aksenija', 'Akulina', 'Akuļina', 'Akvelīna', 'Akvelina', 'Akvilīna', 'Ala', 'Alaida', 'Alba', 'Alberta', 'Albertīna', 'Albertīne', 'Albertine', 'Albīna', 'Albina', 'Albīne', 'Alda', 'Aldija', 'Aldīna', 'Aldona', 'Aldone', 'Aldonija', 'Aldra', 'Aleftīna', 'Aleftine', 'Aleksa', 'Aleksandra', 'Aleksandrīna', 'Aleksandrine', 'Alena', 'Alēna', 'Alerina', 'Alesja', 'Aleta', 'Alevtīna', 'Alevtīne', 'Alfa', 'Alfija', 'Alfonija', 'Alfra', 'Alfrīda', 'Ali', 'Alīcija', 'Alīda', 'Alida', 'Alīde', 'Alīdija', 'Alija', 'Alika', 'Alimpiada', 'Alīna', 'Alina', 'Aļina', 'Alīne', 'Alīsa', 'Alise', 'Alīse', 'Alīsija', 'Alita', 'Alla', 'Allija', 'Alma', 'Almāra', 'Alna', 'Alodija', 'Aloīda', 'Aloiza', 'Aloizija', 'Aļona', 'Alondra', 'Alta', 'Alva', 'Alvija', 'Alvika', 'Alvīna', 'Alvīne', 'Alvine', 'Alvinija', 'Alvita', 'Alžbeta', 'Amalda', 'Amālija', 'Amanda', 'Amanta', 'Amantija', 'Amaranda', 'Amaranta', 'Amarilla', 'Amelija', 'Amēlija', 'Amelita', 'Amenta', 'Amīda', 'Amilda', 'Ammonārija', 'Amrita', 'Ana', 'Aņa', 'Anabella', 'Anaita', 'Anāra', 'Anastasija', 'Anastāsija', 'Anastāzija', 'Anata', 'Anatolija', 'Ance', 'Anda', 'Andija', 'Andīna', 'Andina', 'Andīne', 'Andra', 'Andre', 'Andrelita', 'Andreta', 'Andriāna', 'Andrija', 'Andrijana', 'Andrika', 'Andrita', 'Andromeda', 'Andžela', 'Andželika', 'Andželīna', 'Andželita', 'Andžella', 'Ane', 'Aneka', 'Aņela', 'Aneļa', 'Anēla', 'Anela', 'Anēle', 'Anēlija', 'Anelija', 'Anemarija', 'Anese', 'Aneta', 'Anete', 'Anfija', 'Anfisa', 'Anga', 'Angeļa', 'Angela', 'Angelija', 'Angelika', 'Angēlika', 'Angelīna', 'Angelita', 'Anhelita', 'Aniceta', 'Anija', 'Anika', 'Anisija', 'Aņisija', 'Aņisja', 'Anita', 'Anitra', 'Ankatrina', 'Anlīza', 'Anlīze', 'Anlizeta', 'Anmāra', 'Anmarija', 'Anna', 'Annamarija', 'Anne', 'Annele', 'Annelija', 'Annemarija', 'Anneta', 'Annete', 'Annija', 'Annika', 'Anniņa', 'Anrita', 'Anta', 'Antainna', 'Antija', 'Antonela', 'Antonīda', 'Antonija', 'Antoņina', 'Antonīna', 'Antra', 'Antuaneta', 'Antuanete', 'Aņuta', 'Anžela', 'Anželika', 'Anželina', 'Anželita', 'Anžella', 'Anzelma', 'Apolinārija', 'Apolonija', 'Aralda', 'Aranta', 'Areta', 'Arfa', 'Argija', 'Argita', 'Argunda', 'Ariadna', 'Ariadne', 'Ariāna', 'Arianda', 'Ariandra', 'Arianna', 'Arīda', 'Arieta', 'Arija', 'Arimanda', 'Arīna', 'Arisa', 'Aristīda', 'Arita', 'Arjana', 'Arkādija', 'Arlita', 'Arma', 'Armanda', 'Armīda', 'Armilda', 'Arne', 'Arnīda', 'Arnija', 'Arnika', 'Arnita', 'Arta', 'Artemida', 'Artija', 'Arvaldina', 'Arvīda', 'Arvīde', 'Arvita', 'Asija', 'Asja', 'Asma', 'Asna', 'Asnate', 'Asnāte', 'Asne', 'Asola', 'Aspāzija', 'Asterija', 'Astērija', 'Astra', 'Astrīda', 'Astrida', 'Astrīde', 'Astrīte', 'Asunta', 'Ata', 'Atala', 'Atēna', 'Auce', 'Auda', 'Augenija', 'Augusta', 'Auguste', 'Augustīna', 'Augustīne', 'Aura', 'Aurēlija', 'Aurelija', 'Aurika', 'Aurora', 'Ausma', 'Aušra', 'Aušra', 'Austra', 'Austrīte', 'Avelīna', 'Avija', 'Avita', 'Aviva', 'Azanda', 'Azella', - 'Ādolfina', 'Ādolfīne', 'Āra', 'Ārija', 'Ārika', 'Ārite', 'Ārvalda', - 'Baiba', 'Balva', 'Banga', 'Baņuta', 'Barba', 'Bārbala', 'Barbala', 'Barbara', 'Barbola', 'Bažena', 'Beāta', 'Beāte', 'Beate', 'Beatrisa', 'Beatrise', 'Bekija', 'Belinda', 'Bella', 'Bemadita', 'Benedikta', 'Beneventa', 'Benigna', 'Benija', 'Benilda', 'Benita', 'Benjamina', 'Benoventa', 'Berenika', 'Berita', 'Bernada', 'Bernāde', 'Bernadeta', 'Bernadete', 'Bernadina', 'Bernadīne', 'Bernadīte', 'Bernarda', 'Bernarde', 'Bernardīna', 'Bernedīne', 'Berta', 'Beruta', 'Beta', 'Betija', 'Betsija', 'Bianka', 'Bille', 'Biminita', 'Binija', 'Binnija', 'Birgita', 'Biruta', 'Birute', 'Bitīte', 'Blāzma', 'Bogumila', 'Boļeslava', 'Bonaventūra', 'Bonifācija', 'Bonija', 'Bonoventura', 'Borbala', 'Borbola', 'Borbula', 'Borghilde', 'Božena', 'Brenda', 'Breta', 'Briāna', 'Bridžita', 'Brigita', 'Brina', 'Brinda', 'Brita', 'Brīva', 'Brīve', 'Brīvīte', 'Broņa', 'Bronhilda', 'Bronija', 'Broņislava', 'Bronislava', 'Brunhilda', 'Brunhilde', 'Brunita', - 'Čarita', 'Čelsija', 'Čereta', 'Česlava', 'Čezeta', - 'Cecīlija', 'Cecilija', 'Celerīna', 'Celīna', 'Centa', 'Centolla', 'Cera', 'Cerība', 'Cezarija', 'Cicilija', 'Ciedra', 'Cilda', 'Cilija', 'Cilina', 'Cilmija', 'Cilnija', 'Cina', 'Cintija', 'Cirēnija', - 'Dace', 'Dacija', 'Dacīte', 'Daglta', 'Dagmāra', 'Dagmara', 'Dagna', 'Dagne', 'Dagnija', 'Dagnita', 'Daidze', 'Daiga', 'Daigone', 'Daija', 'Daila', 'Daile', 'Daimona', 'Daina', 'Dainavīte', 'Dainida', 'Dainita', 'Dainīte', 'Dainuvīte', 'Daira', 'Dairita', 'Daiva', 'Dajana', 'Dālija', 'Dana', 'Dane', 'Daneta', 'Danica', 'Danida', 'Daniela', 'Dāniela', 'Daniēla', 'Daniella', 'Danija', 'Danika', 'Daņila', 'Danita', 'Danna', 'Danuta', 'Daņuta', 'Danute', 'Dārija', 'Darina', 'Darja', 'Dārta', 'Dārte', 'Debora', 'Dedze', 'Deina', 'Deivija', 'Deizija', 'Delfīna', 'Delfīne', 'Demija', 'Denija', 'Denisa', 'Denise', 'Denīza', 'Denīze', 'Denora', 'Dēvija', 'Dezija', 'Dēzija', 'Diāna', 'Diana', 'Diandra', 'Dianna', 'Diāra', 'Dida', 'Digna', 'Digne', 'Dina', 'Dīna', 'Dināra', 'Dineta', 'Dinija', 'Dinnija', 'Dita', 'Dite', 'Dolita', 'Dollija', 'Doloresa', 'Dome', 'Domenika', 'Domicela', 'Domicele', 'Domicelija', 'Domicella', 'Domija', 'Dominika', 'Domna', 'Domuse', 'Donāta', 'Donāte', 'Donicela', 'Donvina', 'Dora', 'Dore', 'Doreta', 'Dorina', 'Dorisa', 'Dorita', 'Dorota', 'Doroteja', 'Dorotija', 'Dorta', 'Dorte', 'Drosma', 'Drosme', 'Dūda', 'Džamila', 'Džana', 'Džaneta', 'Džanete', 'Džanita', 'Džasmīna', 'Džastina', 'Džeina', 'Dzeja', 'Dzelde', 'Džellija', 'Dzelme', 'Džema', 'Džemma', 'Džena', 'Dženeta', 'Dženete', 'Dženifera', 'Dženija', 'Dženita', 'Džeralda', 'Džeraldīne', 'Džesija', 'Džesika', 'Dzestra', 'Dzidra', 'Dzidrite', 'Dziedra', 'Dziesma', 'Džigunda', 'Džilda', 'Dzīle', 'Džina', 'Dzine', 'Džineta', 'Džinita', 'Dzinta', 'Dzintara', 'Dzintāra', 'Dzintārija', 'Dzintra', 'Dzirkstīte', 'Džoanna', 'Džoija', 'Džoja', 'Džovita', 'Džudīte', 'Džūlija', 'Džuljeta', - 'Eba', 'Eda', 'Ede', 'Edija', 'Edīta', 'Edīte', 'Edite', 'Edla', 'Edmonda', 'Edna', 'Eduarda', 'Edviga', 'Edvija', 'Edvīna', 'Edvīne', 'Efeja', 'Ega', 'Egida', 'Egija', 'Egīna', 'Egita', 'Egle', 'Egmonta', 'Eifrozine', 'Eila', 'Eina', 'Eiženija', 'Eižēnija', 'Eļa', 'Elāna', 'Elda', 'Elektra', 'Elena', 'Elēna', 'Elenora', 'Eleonora', 'Elfa', 'Elfija', 'Elfrīda', 'Elfrida', 'Elfrīde', 'Elga', 'Elgita', 'Elīda', 'Elija', 'Elika', 'Elīna', 'Elina', 'Elīne', 'Elionora', 'Elīsa', 'Elise', 'Elita', 'Elite', 'Elīza', 'Eliza', 'Elīzabeta', 'Elizabete', 'Elīzabete', 'Elizaveta', 'Elizavete', 'Elizbete', 'Elize', 'Ella', 'Ellana', 'Ellena', 'Ellija', 'Elma', 'Elmāra', 'Elmija', 'Elmīna', 'Elmīne', 'Elmīra', 'Elmira', 'Elna', 'Elnāra', 'Elneta', 'Elona', 'Elta', 'Elva', 'Elvi', 'Elviga', 'Elvija', 'Elvīna', 'Elvīne', 'Elvīra', 'Elvira', 'Elvisa', 'Elvita', 'Elza', 'Elzabeta', 'Elžbeta', 'Ema', 'Emanuēla', 'Emarita', 'Emerenciana', 'Emerencija', 'Emerencijana', 'Emerenta', 'Emerentiana', 'Emerentina', 'Emerentīne', 'Emerita', 'Emertijana', 'Emija', 'Emilda', 'Emiliana', 'Emīlija', 'Emilija', 'Emilijana', 'Emīlja', 'Emiljana', 'Emīra', 'Emirita', 'Emma', 'Emme', 'Ena', 'Enda', 'Endija', 'Endžija', 'Ene', 'Enerita', 'Engelīna', 'Enīda', 'Enija', 'Enina', 'Enita', 'Ennata', 'Ennija', 'Enrija', 'Enrika', 'Enriketa', 'Enta', 'Envija', 'Era', 'Erena', 'Erēna', 'Eridana', 'Erika', 'Erīna', 'Erita', 'Erma', 'Ermīna', 'Ermīne', 'Ermionija', 'Ermonija', 'Erna', 'Erneste', 'Ernestīna', 'Ernestīne', 'Ernestine', 'Ernita', 'Ervīna', 'Ervita', 'Esēnija', 'Esfira', 'Esija', 'Esmeralda', 'Esmeralde', 'Estella', 'Estera', 'Estere', 'Estra', 'Eta', 'Etele', 'Etelvīne', 'Etere', 'Eteri', 'Etīna', 'Euģenija', 'Euģēnija', 'Eugenija', 'Eugēnija', 'Eulālija', 'Eva', 'Evalina', 'Eve', 'Evelīna', 'Evelina', 'Evelīne', 'Evelita', 'Everika', 'Everita', 'Evgēnija', 'Evgenija', 'Evģēnija', 'Evģenija', 'Evī', 'Evija', 'Evika', 'Evisa', 'Evita', 'Evrika', - 'Ēra', 'Ērika', 'Ēstere', 'Ēva', 'Ēvī', 'Ēvija', 'Ēvisa', - 'Faina', 'Fanija', 'Fannija', 'Farida', 'Fatima', 'Fatina', 'Fatma', 'Feja', 'Feliciāna', 'Felicianna', 'Felīcija', 'Felicijana', 'Felicita', 'Felicjana', 'Felonija', 'Fenija', 'Feodora', 'Feodosija', 'Feona', 'Feonija', 'Fetna', 'Fevronija', 'Filemona', 'Filgita', 'Filicija', 'Filimona', 'Fiļimona', 'Filimonija', 'Filiomena', 'Filipina', 'Filomeja', 'Filomena', 'Filumena', 'Fionija', 'Flora', 'Florence', 'Florentija', 'Florentīna', 'Florentīne', 'Floriana', 'Florija', 'Florijana', 'Fortunata', 'Frančeska', 'Franciska', 'Franciška', 'Frančiska', 'Fransuāza', 'Františka', 'Franuse', 'Fraskita', 'Frederika', 'Frensisa', 'Frīda', 'Frida', 'Friderika', 'Fridriha', - 'Gabija', 'Gabriēla', 'Gabriela', 'Gabriele', 'Gabriella', 'Gaida', 'Gaidite', 'Gaija', 'Gaisma', 'Gaismīte', 'Gaismone', 'Gaita', 'Galina', 'Gaļina', 'Ganda', 'Geda', 'Gēda', 'Gedra', 'Geila', 'Gelija', 'Gēlija', 'Gelinta', 'Genefa', 'Generoza', 'Genija', 'Genita', 'Genovaite', 'Genovefa', 'Genoveja', 'Genovera', 'Genoveva', 'Gentra', 'Genuvefa', 'Geraldina', 'Gerarda', 'Gerda', 'Geronima', 'Gertija', 'Gertrūda', 'Gertrūde', 'Gertrude', 'Gesta', 'Gianeja', 'Giedra', 'Gija', 'Gina', 'Gināra', 'Gineta', 'Ginita', 'Ginta', 'Gintija', 'Gita', 'Gitāna', 'Gitija', 'Gizela', 'Glafīra', 'Glaima', 'Glauda', 'Gledisa', 'Glenda', 'Glendija', 'Glikerija', 'Glita', 'Glorija', 'Gonda', 'Gotlība', 'Grācija', 'Grasilda', 'Grata', 'Gražina', 'Greta', 'Grēta', 'Grieta', 'Grietina', 'Grineta', 'Grinete', 'Grita', 'Grizelda', 'Gudrīte', 'Gudruna', 'Gulnara', 'Guļnara', 'Guna', 'Gunāra', 'Gunavefa', 'Gunda', 'Gundega', 'Gundija', 'Gundra', 'Gunefa', 'Guneta', 'Gunita', 'Gunitra', 'Gunmāra', 'Gunta', 'Guntiņa', 'Guntra', 'Gusta', 'Guste', 'Gvenda', 'Gvida', 'Gvidālija', - 'Ģēda', 'Ģenovefa', 'Ģertcuda', 'Ģertrūda', 'Ģertrūde', 'Ģertrude', 'Ģiedra', 'Ģinta', - 'Haida', 'Haide', 'Halina', 'Halīna', 'Hanelita', 'Hanna', 'Hannelore', 'Hannija', 'Hanzija', 'Haralda', 'Hardija', 'Harija', 'Harina', 'Harita', 'Haritina', 'Heda', 'Hedija', 'Hedviga', 'Heidija', 'Helēna', 'Helena', 'Helēne', 'Helene', 'Helga', 'Helge', 'Helgi', 'Helgrīda', 'Hēlija', 'Helita', 'Helju', 'Hella', 'Hellēna', 'Hellija', 'Helma', 'Helmija', 'Helmīna', 'Helmīne', 'Helmīra', 'Helmute', 'Helta', 'Helvi', 'Helvija', 'Helvita', 'Henija', 'Henisa', 'Henita', 'Hennija', 'Henrieta', 'Henriete', 'Henrija', 'Henrika', 'Henrita', 'Hēra', 'Hera', 'Herenija', 'Herita', 'Herma', 'Hermīna', 'Hermīne', 'Hermine', 'Heronija', 'Heronima', 'Herta', 'Hervita', 'Hetija', 'Hiacinta', 'Hilarija', 'Hilda', 'Hildegarde', 'Hildura', 'Hilga', 'Hilja', 'Hilma', 'Honorata', 'Honoreta', 'Hortenzija', 'Hulda', - 'Ida', 'Ideja', 'Idilija', 'Idra', 'Ieva', 'Ieviņa', 'Igeta', 'Igila', 'Igita', 'Ignese', 'Igunda', 'Ija', 'Ilāna', 'Ilanda', 'Ilanta', 'Ilāra', 'Ilārija', 'Ilda', 'Ildra', 'Ildze', 'Ileana', 'Ilga', 'Ilgnese', 'Ilgona', 'Iliana', 'Ilija', 'Ilita', 'Ilizana', 'Ilizane', 'Iļja', 'Iljana', 'Iļjana', 'Illa', 'Illarija', 'Illuminata', 'Ilma', 'Ilmara', 'Ilme', 'Ilmija', 'Ilna', 'Ilona', 'Ilonda', 'Ilone', 'Ilonija', 'Iluta', 'Ilva', 'Ilveta', 'Ilvija', 'Ilvīra', 'Ilvita', 'Ilza', 'Ilze', 'Ilzīte', 'Ima', 'Imalda', 'Imanda', 'Imandra', 'Imanta', 'Imelda', 'Imgarde', 'Imre', 'Imula', 'Ina', 'Inaida', 'Ināra', 'Inara', 'Inārija', 'Inarta', 'Inatra', 'Inda', 'Indīra', 'Indra', 'Inelda', 'Inesa', 'Inese', 'Inesīte', 'Ineta', 'Inete', 'Inga', 'Inge', 'Ingeborga', 'Ingemāra', 'Ingera', 'Ingēra', 'Ingerūda', 'Ingeta', 'Ingita', 'Ingmāra', 'Ingra', 'Ingre', 'Ingreta', 'Ingrīda', 'Ingrida', 'Ingrita', 'Inguna', 'Ingūna', 'Ingunda', 'Ingūra', 'Inguta', 'Ingvilda', 'Inija', 'Inita', 'Initra', 'Inna', 'Innara', 'Inneta', 'Inota', 'Inta', 'Intra', 'Inuta', 'Inveiga', 'Ira', 'Iraīda', 'Iraida', 'Iraisa', 'Irbe', 'Irēna', 'Irena', 'Irene', 'Irēne', 'Irīda', 'Irida', 'Irija', 'Irina', 'Irīna', 'Irisa', 'Irita', 'Irma', 'Irme', 'Irmgarda', 'Irmgarde', 'Irmiņa', 'Irmīna', 'Irmīne', 'Irmtrauta', 'Irmtraute', 'Irta', 'Iruta', 'Irute', 'Irvita', 'Irži', 'Isma', 'Ita', 'Itija', 'Iva', 'Ivaise', 'Ivanda', 'Ivande', 'Ivanna', 'Ivāra', 'Ivase', 'Ivena', 'Iverta', 'Iveta', 'Ivete', 'Ivika', 'Ivita', 'Ivona', 'Ivonda', 'Ivonija', 'Ivonna', 'Iza', 'Izabela', 'Izabella', 'Izanda', 'Izaura', 'Izīda', 'Izolda', 'Izolde', - 'Īda', 'Īģe', 'Īna', 'Īra', 'Īrisa', 'Īva', 'Īvija', - 'Jacinta', 'Jadviga', 'Jadvīga', 'Jadze', 'Jakobīna', 'Jalanta', 'Jana', 'Jāna', 'Janeka', 'Janeta', 'Janete', 'Janika', 'Janīna', 'Janina', 'Jaņīna', 'Janita', 'Janna', 'Janta', 'Januārija', 'Jaroslava', 'Jasmīna', 'Jasmīne', 'Jausma', 'Jautra', 'Jautrīte', 'Jāzepa', 'Jazepata', 'Jazupata', 'Jedviga', 'Jefimija', 'Jefrosīnija', 'Jekaterīna', 'Jeļena', 'Jeļizabeta', 'Jelizabeta', 'Jelizaveta', 'Jeļizaveta', 'Jelizavete', 'Jeļizavete', 'Jella', 'Jesija', 'Jeta', 'Jete', 'Jevdokija', 'Jevgēņija', 'Jevģenija', 'Jevģēnija', 'Jevgēnija', 'Jevgenija', 'Jevgeņija', 'Jevlampija', 'Jevženija', 'Jevžēnija', 'Jezufata', 'Jezupata', 'Jezupate', 'Joana', 'Joanna', 'Jogita', 'Johana', 'Johanna', 'Jolanda', 'Jolanta', 'Jolita', 'Jonita', 'Jovita', 'Jozefa', 'Jozefata', 'Jozefīna', 'Jozefīne', 'Juanna', 'Judīte', 'Jugita', 'Jūla', 'Jūle', 'Jūliāna', 'Jūļiana', 'Julianija', 'Jūlianna', 'Jūlija', 'Julija', 'Jūlijana', 'Julijanna', 'Julita', 'Juļjana', 'Juna', 'Jūnija', 'Junita', 'Junna', 'Junona', 'Junora', 'Junta', 'Juranta', 'Jūrāte', 'Jureta', 'Jurgita', 'Jurika', 'Jurita', 'Jūsma', 'Justa', 'Justīna', 'Justīne', 'Justine', 'Justīnija', 'Juta', 'Juvita', 'Juzefa', 'Juzefata', 'Juzefate', 'Juzefīna', 'Juzefine', 'Juzepa', 'Juzepata', 'Juzepate', 'Juzufata', - 'Kadrija', 'Kaija', 'Kaira', 'Kaiva', 'Kamēlija', 'Kamena', 'Kamila', 'Kamīlija', 'Kamilla', 'Kamita', 'Kandida', 'Karalina', 'Karena', 'Kārija', 'Karīna', 'Kārina', 'Karinē', 'Karīne', 'Karita', 'Karla', 'Karlīna', 'Karlina', 'Karlīne', 'Karmena', 'Karmene', 'Karola', 'Karolīna', 'Karolīne', 'Karulina', 'Kasandra', 'Katalīna', 'Katarīna', 'Katažina', 'Kate', 'Katerīna', 'Katija', 'Katiņa', 'Katra', 'Katre', 'Katri', 'Katrīna', 'Katrina', 'Katrīne', 'Katriona', 'Kazimerina', 'Kazimira', 'Kazimirina', 'Kazmerina', 'Kazmirina', 'Kecija', 'Keisija', 'Keita', 'Keitija', 'Kelija', 'Kellija', 'Kendija', 'Kerija', 'Kerola', 'Kerolaina', 'Kerolaine', 'Kersti', 'Kerstina', 'Keta', 'Kēta', 'Kete', 'Kēte', 'Ketija', 'Ketlīna', 'Ketrija', 'Ketrīna', 'Kilikeja', 'Kima', 'Kimberiija', 'Kintija', 'Kira', 'Kitija', 'Klāra', 'Klara', 'Klaudija', 'Klavdija', 'Klementīna', 'Klementīne', 'Klementine', 'Kleofa', 'Kleopatra', 'Kleotilda', 'Klēra', 'Klimentīna', 'Klinta', 'Klitija', 'Klodija', 'Klotilde', 'Koleta', 'Konkordija', 'Konstance', 'Konstancija', 'Konstantija', 'Konstantīna', 'Konstantīne', 'Konsuela', 'Konsuella', 'Kora', 'Korina', 'Kornēlija', 'Kornelija', 'Krista', 'Kriste', 'Kristela', 'Kristena', 'Kristiāna', 'Kristiana', 'Kristiāne', 'Kristianna', 'Kristija', 'Kristijana', 'Kristilla', 'Kristīna', 'Kristīne', 'Kristine', 'Ksaverija', 'Ksavērija', 'Ksenija', 'Ksēnija', 'Kunegunda', 'Kunigunda', 'Kuzma', - 'Ķērsta', 'Ķersta', - 'Lada', 'Laija', 'Laila', 'Lailita', 'Laima', 'Laimdota', 'Laimiņa', 'Laimīte', 'Laimrita', 'Laimrota', 'Laimute', 'Laina', 'Laine', 'Laineta', 'Laira', 'Laisve', 'Lala', 'Lalita', 'Lana', 'Lāna', 'Landa', 'Langina', 'Largija', 'Larija', 'Larina', 'Larisa', 'Lāse', 'Lāsma', 'Lasma', 'Lāsmiņa', 'Late', 'Latvīte', 'Lauma', 'Laumīte', 'Laura', 'Laure', 'Laurentīna', 'Laureta', 'Laurita', 'Lavīze', 'Lea', 'Leāna', 'Leāra', 'Leida', 'Leila', 'Leina', 'Lelda', 'Lelde', 'Lena', 'Lēna', 'Lendija', 'Lengina', 'Lenija', 'Lenita', 'Lenora', 'Lenvija', 'Leokādija', 'Leokadija', 'Leolita', 'Leona', 'Leonāra', 'Leonarda', 'Leonārija', 'Leone', 'Leongīna', 'Leongīne', 'Leonīda', 'Leonida', 'Leonide', 'Leonija', 'Leonila', 'Leonilla', 'Leonita', 'Leonora', 'Leonorija', 'Leontija', 'Leontīna', 'Leontīne', 'Leontine', 'Leopoldina', 'Letīcija', 'Levantīna', 'Levita', 'Lia', 'Liāna', 'Liana', 'Lianda', 'Lianta', 'Liāra', 'Lība', 'Liberata', 'Lida', 'Līda', 'Lidija', 'Lidita', 'Liega', 'Liena', 'Liene', 'Lienīte', 'Liesma', 'Līga', 'Ligija', 'Ligindra', 'Ligita', 'Lija', 'Līksma', 'Lilana', 'Lili', 'Liliāna', 'Liliana', 'Lilianna', 'Lilija', 'Līlija', 'Lilijana', 'Lilioza', 'Lilita', 'Lilja', 'Liljana', 'Lilli', 'Lillija', 'Lillita', 'Līna', 'Lina', 'Linarda', 'Linda', 'Linde', 'Lindija', 'Līne', 'Lineta', 'Linita', 'Linna', 'Liona', 'Lioneta', 'Lionija', 'Lipija', 'Lira', 'Līrija', 'Lisa', 'Lisija', 'Lita', 'Līva', 'Liva', 'Liveta', 'Līvija', 'Livija', 'Livita', 'Liza', 'Līza', 'Lizabete', 'Lizbete', 'Līze', 'Lize', 'Lizelote', 'Lizeta', 'Lizete', 'Līzete', 'Līziņa', 'Logina', 'Logita', 'Loida', 'Lola', 'Lolija', 'Lolita', 'Lollija', 'Lone', 'Longīna', 'Lonija', 'Lonita', 'Lonnija', 'Lontīne', 'Lora', 'Loransa', 'Loreina', 'Lorena', 'Lorēna', 'Lorensa', 'Lorenta', 'Loreta', 'Lorete', 'Lorija', 'Lorika', 'Lorina', 'Lorita', 'Lota', 'Lote', 'Loveta', 'Luāna', 'Lucianna', 'Lūcija', 'Lucija', 'Lucijana', 'Ludmila', 'Ludmilla', 'Ludovika', 'Ludviga', 'Ludvika', 'Ludvisa', 'Ludvise', 'Ludvisija', 'Lueta', 'Lugra', 'Luīza', 'Luīze', 'Luize', 'Lukrecija', 'Lukrēcija', 'Lūlija', 'Lusija', 'Lusja', - 'Ļoņa', 'Ļubova', 'Ļudgarda', 'Ļudvise', - 'Madaļa', 'Madara', 'Madare', 'Made', 'Madelaina', 'Madlena', 'Madlēna', 'Mafalda', 'Magda', 'Magdalēna', 'Magdalena', 'Magdaliene', 'Magdalina', 'Magnolija', 'Magone', 'Magrieta', 'Magrita', 'Maida', 'Maiga', 'Maigone', 'Maija', 'Maila', 'Maima', 'Maina', 'Maira', 'Mairina', 'Mairita', 'Mairite', 'Mairuta', 'Makrina', 'Malānija', 'Malda', 'Maldiņa', 'Māle', 'Malgonija', 'Malgožata', 'Malle', 'Malva', 'Malvīna', 'Malvīne', 'Malvine', 'Manda', 'Manefa', 'Manuela', 'Māra', 'Maranda', 'Maranta', 'Marcela', 'Marčela', 'Marcelina', 'Marcella', 'Marciana', 'Marcianna', 'Marčija', 'Marcijana', 'Marcijanna', 'Māre', 'Mareka', 'Māreta', 'Marfa', 'Marga', 'Margareta', 'Margarēta', 'Margarieta', 'Margarita', 'Mārģieta', 'Margieta', 'Margita', 'Margnta', 'Margota', 'Margote', 'Margreta', 'Margrieta', 'Marguta', 'Marī', 'Mariana', 'Marianna', 'Mārica', 'Mariela', 'Mārieta', 'Marija', 'Marijana', 'Marijanna', 'Marijeta', 'Marika', 'Mārika', 'Marina', 'Marīna', 'Mariona', 'Marisa', 'Marita', 'Mārita', 'Maritana', 'Mārīte', 'Marīte', 'Marjama', 'Marjana', 'Marjanna', 'Marjeta', 'Marlēna', 'Marlena', 'Marsela', 'Marseljēza', 'Marsella', 'Marta', 'Mārta', 'Martijana', 'Martīna', 'Maruta', 'Māruta', 'Marute', 'Matilda', 'Matilde', 'Matrjona', 'Matrona', 'Mazalda', 'Mečislava', 'Medeja', 'Mega', 'Megija', 'Mehribana', 'Melānija', 'Melanija', 'Meldra', 'Melija', 'Melinda', 'Melisa', 'Melisandra', 'Melita', 'Melitina', 'Melizanda', 'Melizande', 'Menarda', 'Mendija', 'Meralda', 'Meri', 'Merīda', 'Mērija', 'Merija', 'Merilina', 'Merita', 'Merseda', 'Mersēda', 'Mersedesa', 'Meta', 'Mēta', 'Mētra', 'Mīce', 'Midite', 'Miervalda', 'Mihailina', 'Mihaļina', 'Mihalīna', 'Mija', 'Mikaela', 'Mikalina', 'Mīla', 'Milāna', 'Milda', 'Mildreda', 'Mīle', 'Milēna', 'Milena', 'Milica', 'Milija', 'Milita', 'Millija', 'Milona', 'Milvija', 'Mimoza', 'Mina', 'Minadora', 'Mindora', 'Minjona', 'Minna', 'Mira', 'Mirabella', 'Miralda', 'Miranda', 'Mirdza', 'Mirga', 'Mirjāma', 'Mirjana', 'Miroslava', 'Mirta', 'Mišela', 'Moda', 'Modesta', 'Modra', 'Modrīte', 'Molija', 'Mollija', 'Mona', 'Monda', 'Monija', 'Monika', 'Monna', 'Monrita', 'Monta', 'Monvida', 'Mora', 'Morēna', 'Mudīte', 'Mudra', 'Mudrīte', 'Munda', 'Mundra', 'Mundrīte', 'Munise', 'Mūza', - 'Nadežda', 'Nadija', 'Nadīna', 'Nadina', 'Nadīne', 'Naila', 'Naina', 'Naira', 'Nameda', 'Nana', 'Nanda', 'Nanete', 'Nanija', 'Nannija', 'Nansija', 'Naomi', 'Nāra', 'Narcise', 'Narciza', 'Nargisa', 'Nargiza', 'Nārija', 'Narine', 'Nastasija', 'Nastja', 'Nata', 'Natalī', 'Natālija', 'Natalija', 'Nataļja', 'Natalja', 'Nate', 'Natela', 'Natella', 'Naula', 'Necija', 'Neda', 'Neila', 'Neļa', 'Nelda', 'Nelija', 'Nelima', 'Nelita', 'Nella', 'Nellija', 'Nena', 'Nensija', 'Neonila', 'Neonilla', 'Nērika', 'Neringa', 'Neta', 'Niāra', 'Niceta', 'Nida', 'Nigra', 'Nija', 'Nijole', 'Nika', 'Nikija', 'Nikita', 'Nikola', 'Nikoleta', 'Nila', 'Nilda', 'Nilija', 'Niluta', 'Nimmija', 'Nīna', 'Ninele', 'Ninella', 'Nineta', 'Ninona', 'Niola', 'Nīra', 'Nita', 'Noela', 'Nominanda', 'Nona', 'Nonna', 'Nora', 'Norgita', 'Norika', 'Noriņa', 'Norīte', 'Norma', 'Normanta', 'Normunda', 'Norvalda', - 'Ņina', 'Ņīna', - 'Odeta', 'Odita', 'Odrija', 'Ofēlija', 'Oksana', 'Oksāna', 'Oktāvija', 'Olesija', 'Oļesija', 'Olesja', 'Oļesja', 'Olga', 'Olgita', 'Olija', 'Olimpiada', 'Olimpija', 'Olina', 'Olita', 'Olīva', 'Olīvija', 'Olivija', 'Ollija', 'Olrita', 'Olvija', 'Olvita', 'Omula', 'Ona', 'Oneta', 'Oniksa', 'Onufrija', 'Orhideja', 'Orīda', 'Ornella', 'Ortenzija', 'Ortija', 'Oskarīna', 'Otālija', 'Otīlija', 'Otilija', - 'Paija', 'Palmīra', 'Pamela', 'Pārsla', 'Pārsliņa', 'Patrīcija', 'Patricija', 'Paula', 'Pauleta', 'Paulīna', 'Paulīne', 'Pauline', 'Pavlīna', 'Pavlīne', 'Pegija', 'Pelageja', 'Pērie', 'Petra', 'Petronela', 'Petronele', 'Petronelija', 'Petronella', 'Petronellija', 'Petrunela', 'Petruneļa', 'Petrunele', 'Petrunelija', 'Pilimona', 'Pireta', 'Polīna', 'Poļina', 'Potencija', 'Praskovja', 'Proskovja', 'Pudencija', 'Pudentija', - 'Rada', 'Radmila', 'Radu', 'Raēle', 'Ragnēda', 'Ragnija', 'Raida', 'Raiena', 'Raija', 'Raima', 'Raimija', 'Raimona', 'Raimonda', 'Raina', 'Rainelda', 'Rainelde', 'Raisa', 'Raisma', 'Raita', 'Raiva', 'Raivita', 'Raja', 'Raksana', 'Ralda', 'Ramīna', 'Ramona', 'Ramuna', 'Ramune', 'Ramute', 'Rana', 'Ranāte', 'Randa', 'Randija', 'Raneta', 'Ranita', 'Ranta', 'Rasa', 'Rasita', 'Rasma', 'Rasmīte', 'Rasulīte', 'Rauza', 'Ravena', 'Ravita', 'Rebeka', 'Regija', 'Regīna', 'Regina', 'Reģīna', 'Regita', 'Reičela', 'Reina', 'Rena', 'Rēna', 'Renalda', 'Renāta', 'Renāte', 'Renate', 'Rendija', 'Renē', 'Reneta', 'Renija', 'Renita', 'Renta', 'Reta', 'Revita', 'Rezēda', 'Rezenda', 'Rezija', 'Rēzija', 'Rianda', 'Riandra', 'Rieta', 'Rigmora', 'Rigonda', 'Rikarda', 'Rima', 'Rimanta', 'Rimma', 'Rimona', 'Rimonda', 'Rimvalda', 'Rina', 'Rinalda', 'Rineta', 'Rinete', 'Ringla', 'Rinta', 'Rinvalda', 'Riona', 'Rita', 'Ritija', 'Ritma', 'Roberta', 'Robertīne', 'Robija', 'Robina', 'Rode', 'Roēna', 'Rogate', 'Roksana', 'Rolanda', 'Rolande', 'Rolanta', 'Rolita', 'Roma', 'Romalda', 'Romanda', 'Romānija', 'Romāra', 'Romena', 'Romēna', 'Rometa', 'Romija', 'Romina', 'Romualda', 'Romuta', 'Romvalda', 'Rona', 'Ronalda', 'Ronta', 'Rosita', 'Rosma', 'Rosvita', 'Rota', 'Rovena', 'Rovēna', 'Roza', 'Rozālija', 'Rozalija', 'Roze', 'Rozemarija', 'Rozita', 'Rozīte', 'Rozmarija', 'Rozvita', 'Ruāna', 'Ruda', 'Rudi', 'Rudīte', 'Rufina', 'Rusanda', 'Ruslana', 'Rusudana', 'Rūta', 'Ruta', 'Rūte', 'Rūtiņa', 'Ruzanna', 'Ruze', - 'Sabīna', 'Sabīne', 'Sabine', 'Sabrīna', 'Sagita', 'Saida', 'Saiga', 'Saija', 'Saila', 'Sailita', 'Saimona', 'Saira', 'Sairita', 'Saiva', 'Saksija', 'Salda', 'Salimona', 'Salimonija', 'Sallija', 'Salma', 'Salme', 'Salome', 'Salomeja', 'Salomija', 'Salvija', 'Samanta', 'Samīra', 'Sana', 'Sanda', 'Sandija', 'Sandita', 'Sandra', 'Sandrīte', 'Saneta', 'Sangrita', 'Sanija', 'Sanita', 'Sanlija', 'Sannija', 'Santa', 'Santana', 'Santija', 'Santra', 'Sāra', 'Sarika', 'Sarita', 'Sarma', 'Sarme', 'Sarmīte', 'Sārtīte', 'Saulcerīte', 'Saule', 'Saulgaida', 'Saulīte', 'Saulstarīte', 'Saulvija', 'Sava', 'Savina', 'Savita', 'Seila', 'Selēna', 'Selga', 'Sēlija', 'Selīna', 'Selita', 'Sella', 'Sellija', 'Selma', 'Selva', 'Senda', 'Sendija', 'Sendra', 'Senija', 'Senora', 'Serafima', 'Serafina', 'Serena', 'Serlana', 'Sevda', 'Severīna', 'Sholastika', 'Sholostika', 'Siandra', 'Sianta', 'Siāra', 'Sibilla', 'Sidija', 'Sidnija', 'Sidonija', 'Sigeta', 'Sigija', 'Sigita', 'Siglinda', 'Siglinde', 'Sigma', 'Signa', 'Signe', 'Signeja', 'Signejana', 'Signese', 'Signeta', 'Signija', 'Signita', 'Sigrīda', 'Sigrija', 'Sigrūna', 'Siguta', 'Sigute', 'Sijanda', 'Silga', 'Silja', 'Silva', 'Silvana', 'Silvestra', 'Silveta', 'Silvija', 'Silvita', 'Simona', 'Simoneta', 'Sinatra', 'Sinda', 'Sindija', 'Sindra', 'Singa', 'Singita', 'Singrita', 'Singūna', 'Sinilga', 'Sinita', 'Sinta', 'Sinti', 'Sintija', 'Sirdsvalda', 'Sirdvalda', 'Sīringa', 'Sirje', 'Sivija', 'Sjuzanna', 'Skaidra', 'Skaidre', 'Skaidrīte', 'Skara', 'Skārleta', 'Skolastika', 'Skolestika', 'Skolostika', 'Slanda', 'Smaida', 'Smaidiņa', 'Smaidīte', 'Smaidra', 'Smuidra', 'Smuidrīte', 'Snežana', 'Sņežana', 'Sņežanna', 'Snežanna', 'Sniedze', 'Sniedzīte', 'Sniga', 'Sofija', 'Sofja', 'Solanža', 'Solita', 'Solomeja', 'Solomija', 'Solomonija', 'Solumeja', 'Solvega', 'Solvēga', 'Solveiga', 'Solveta', 'Solvija', 'Solvita', 'Soņa', 'Sondra', 'Sonija', 'Sonita', 'Sonora', 'Sorenta', 'Spārīte', 'Spīdola', 'Spodra', 'Spodrīte', 'Spulga', 'Staņislava', 'Stanislava', 'Stase', 'Stasija', 'Stasja', 'Stefanīda', 'Stefānija', 'Stefanija', 'Steidzīte', 'Steiga', 'Stella', 'Stepanīda', 'Stepānija', 'Stīna', 'Stīne', 'Strauja', 'Straumīte', 'Strauta', 'Sulamīte', 'Susanna', 'Suzana', 'Suzanna', 'Svanhilda', 'Sveta', 'Svetlana', - 'Šarlota', 'Šarlote', 'Šeila', 'Šeila', 'Šeilija', 'Šelda', 'Šellija', 'Širiija', 'Širleja', - 'Tabita', 'Tabite', 'Tahmina', 'Taīda', 'Taiga', 'Taila', 'Taimira', 'Taisa', 'Taisija', 'Taive', 'Tāla', 'Tāle', 'Tālija', 'Talija', 'Talita', 'Tālivalda', 'Tālrita', 'Tamāra', 'Tamara', 'Taņa', 'Tanita', 'Tatjana', 'Tea', 'Teika', 'Teiksma', 'Tekla', 'Telma', 'Teodora', 'Teofīla', 'Teofile', 'Teofīlija', 'Teresa', 'Terēsa', 'Terese', 'Terēse', 'Terēsija', 'Teresija', 'Terēza', 'Tereza', 'Terēze', 'Tereze', 'Terezija', 'Terēzija', 'Tesa', 'Tija', 'Tikla', 'Tīksma', 'Tilla', 'Tillija', 'Tīna', 'Tina', 'Tince', 'Tira', 'Toņa', 'Tone', 'Tonija', 'Tonita', 'Tora', 'Trauta', 'Trautiņa', 'Treisija', 'Trīna', 'Trīne', 'Trūde', 'Trūta', 'Trūte', 'Tullija', 'Turaida', 'Tusnelda', - 'Uga', 'Ulda', 'Uldze', 'Ulita', 'Uljana', 'Uļjana', 'Ulla', 'Ullija', 'Ulrika', 'Ulvija', 'Ulvita', 'Una', 'Unda', 'Undija', 'Undīna', 'Undīne', 'Undita', 'Unigunde', 'Unija', 'Unita', 'Urdze', 'Urdziņa', 'Ursula', 'Uršula', 'Uršule', 'Urzula', 'Ustinija', 'Ustiņja', 'Uva', 'Uve', 'Uzbete', - 'Ūna', 'Ūnika', 'Ūva', - 'Vaclava', 'Vaida', 'Vaila', 'Vaileta', 'Vaira', 'Vairita', 'Vairīte', 'Vaiva', 'Vaļa', 'Valda', 'Valdona', 'Valdone', 'Valentija', 'Valentīna', 'Valentina', 'Valentīne', 'Valeriana', 'Valerianna', 'Valērija', 'Valerija', 'Valerijana', 'Valerjana', 'Valfrīda', 'Valīda', 'Valija', 'Valisa', 'Valita', 'Vallida', 'Vallija', 'Valma', 'Valta', 'Valtra', 'Valtraude', 'Valtrauta', 'Valtraute', 'Valve', 'Vanda', 'Vandze', 'Vaneranda', 'Vanesa', 'Vanese', 'Varenika', 'Varita', 'Varite', 'Varonika', 'Varvara', 'Vasilisa', 'Večella', 'Vega', 'Vegita', 'Veikla', 'Veiksma', 'Velda', 'Veldra', 'Veldza', 'Veldze', 'Velga', 'Velita', 'Velonija', 'Velta', 'Velte', 'Veltija', 'Veņa', 'Vena', 'Vēna', 'Vencislava', 'Venda', 'Vendeta', 'Vendija', 'Venefrīda', 'Venēra', 'Venera', 'Veneranda', 'Venerande', 'Veneta', 'Venija', 'Venīna', 'Veniranda', 'Venita', 'Venjamina', 'Venta', 'Vera', 'Vēra', 'Veranika', 'Verēna', 'Verena', 'Vergenija', 'Verija', 'Verita', 'Veronija', 'Veronika', 'Vēsma', 'Vēsmiņa', 'Veta', 'Vētra', 'Viāna', 'Vianta', 'Vicenta', 'Vida', 'Vidaga', 'Vidaija', 'Vide', 'Vīdega', 'Vīga', 'Vigda', 'Vigeta', 'Vigija', 'Viģīlija', 'Vigilija', 'Vigita', 'Vigra', 'Vija', 'Vijolīte', 'Vika', 'Vikija', 'Viktora', 'Viktorija', 'Viktorina', 'Vila', 'Vilenta', 'Vilfrida', 'Vilhelma', 'Vilhelmīna', 'Vilhelmīne', 'Vilhelmine', 'Vilija', 'Vilita', 'Vilja', 'Viljanta', 'Villija', 'Vilma', 'Vilonija', 'Vilora', 'Vīna', 'Vinca', 'Vincenta', 'Vincentīna', 'Vincentīne', 'Vīne', 'Vineta', 'Vinete', 'Vingra', 'Vinifreda', 'Vinija', 'Vinita', 'Vinnija', 'Vinta', 'Vintra', 'Viola', 'Violanda', 'Violanta', 'Violenta', 'Violeta', 'Viorika', 'Virdžinija', 'Virēna', 'Virga', 'Virgenija', 'Virgīna', 'Virgīne', 'Virgīnija', 'Virginija', 'Virģīnija', 'Virma', 'Virta', 'Visija', 'Visma', 'Visvalda', 'Vita', 'Vitālija', 'Vitalina', 'Vitalisa', 'Vitija', 'Vitnija', 'Vitolda', 'Viva', 'Vivanta', 'Viveja', 'Viveta', 'Viviāna', 'Viviana', 'Vivija', 'Vivina', 'Vivita', 'Vizbule', 'Vizbulīte', 'Vizma', 'Vlada', 'Vladilena', 'Vladimira', 'Vladislava', 'Vladlena', 'Volga', - 'Zabīne', 'Zaiga', 'Zallija', 'Zana', 'Zanda', 'Zandra', 'Zane', 'Zanga', 'Zanita', 'Zanna', 'Zanza', 'Zara', 'Zarina', 'Zelda', 'Zelga', 'Zelma', 'Zelta', 'Zeltiņa', 'Zeltīte', 'Zemfira', 'Zemīra', 'Zemlita', 'Zena', 'Zenaida', 'Zenita', 'Zenobija', 'Zenona', 'Zenta', 'Zēra', 'Zeta', 'Zete', 'Zetiņa', 'Zidija', 'Zidonija', 'Zidra', 'Ziedīte', 'Ziednese', 'Ziedone', 'Ziedonija', 'Ziedvalda', 'Ziga', 'Zigda', 'Zigeta', 'Zigfrīda', 'Zigfrida', 'Zigija', 'Zigita', 'Zigma', 'Zigmāra', 'Zigmunda', 'Zigna', 'Zigne', 'Zigra', 'Zigrīda', 'Zigrida', 'Zigrita', 'Zīle', 'Zilga', 'Zilgma', 'Zilgme', 'Zīlīte', 'Zilva', 'Zilvija', 'Zina', 'Zinaīda', 'Zinaida', 'Zinda', 'Zindra', 'Zinīda', 'Zinija', 'Zinovija', 'Zinta', 'Zintra', 'Zira', 'Zita', 'Zlata', 'Zofija', 'Zoja', 'Zola', 'Zolija', 'Zosja', 'Zuzana', 'Zuzanna', 'Zuze', 'Zvaigznīte', - 'Žaklīna', 'Žaklina', 'Žaklīne', 'Žana', 'Žaneta', 'Žanete', 'Žanija', 'Žanna', 'Žanneta', 'Žene', 'Ženija', 'Žermēna', 'Žermena', 'Žozefina', 'Žuanete', 'Žubīte', - ]; + /** + * {@link} http://vardunozime.lv/names-female + */ + protected static $firstNameFemale = [ + 'Ada', + 'Adala', + 'Adalberta', + 'Adela', + 'Adelaida', + 'Adelaide', + 'Adele', + 'Adelfina', + 'Adelgunde', + 'Adelheida', + 'Adelheide', + 'Adelija', + 'Adēlija', + 'Adelīna', + 'Adelina', + 'Adija', + 'Adīna', + 'Adīne', + 'Adonija', + 'Adriāna', + 'Adrija', + 'Aelita', + 'Afanasija', + 'Afra', + 'Afrodīte', + 'Agafija', + 'Agata', + 'Agate', + 'Agāte', + 'Agija', + 'Agika', + 'Agita', + 'Aglikerija', + 'Agna', + 'Agnda', + 'Agne', + 'Agnesa', + 'Agnese', + 'Agnesija', + 'Agneška', + 'Agņeška', + 'Agneta', + 'Agnete', + 'Agneze', + 'Agnēze', + 'Agnija', + 'Agnita', + 'Agra', + 'Agreda', + 'Agrida', + 'Agrija', + 'Agrina', + 'Agripina', + 'Agrita', + 'Agrīte', + 'Agunda', + 'Aīda', + 'Aida', + 'Aiga', + 'Aigija', + 'Aigita', + 'Aigula', + 'Aija', + 'Aila', + 'Ailenda', + 'Aili', + 'Ailija', + 'Ailita', + 'Aina', + 'Aināra', + 'Ainita', + 'Aira', + 'Airida', + 'Airika', + 'Airīna', + 'Airisa', + 'Airita', + 'Airite', + 'Aisma', + 'Aista', + 'Aiva', + 'Aivija', + 'Aivika', + 'Aivita', + 'Ajita', + 'Akilina', + 'Aksenija', + 'Akulina', + 'Akuļina', + 'Akvelīna', + 'Akvelina', + 'Akvilīna', + 'Ala', + 'Alaida', + 'Alba', + 'Alberta', + 'Albertīna', + 'Albertīne', + 'Albertine', + 'Albīna', + 'Albina', + 'Albīne', + 'Alda', + 'Aldija', + 'Aldīna', + 'Aldona', + 'Aldone', + 'Aldonija', + 'Aldra', + 'Aleftīna', + 'Aleftine', + 'Aleksa', + 'Aleksandra', + 'Aleksandrīna', + 'Aleksandrine', + 'Alena', + 'Alēna', + 'Alerina', + 'Alesja', + 'Aleta', + 'Alevtīna', + 'Alevtīne', + 'Alfa', + 'Alfija', + 'Alfonija', + 'Alfra', + 'Alfrīda', + 'Ali', + 'Alīcija', + 'Alīda', + 'Alida', + 'Alīde', + 'Alīdija', + 'Alija', + 'Alika', + 'Alimpiada', + 'Alīna', + 'Alina', + 'Aļina', + 'Alīne', + 'Alīsa', + 'Alise', + 'Alīse', + 'Alīsija', + 'Alita', + 'Alla', + 'Allija', + 'Alma', + 'Almāra', + 'Alna', + 'Alodija', + 'Aloīda', + 'Aloiza', + 'Aloizija', + 'Aļona', + 'Alondra', + 'Alta', + 'Alva', + 'Alvija', + 'Alvika', + 'Alvīna', + 'Alvīne', + 'Alvine', + 'Alvinija', + 'Alvita', + 'Alžbeta', + 'Amalda', + 'Amālija', + 'Amanda', + 'Amanta', + 'Amantija', + 'Amaranda', + 'Amaranta', + 'Amarilla', + 'Amelija', + 'Amēlija', + 'Amelita', + 'Amenta', + 'Amīda', + 'Amilda', + 'Ammonārija', + 'Amrita', + 'Ana', + 'Aņa', + 'Anabella', + 'Anaita', + 'Anāra', + 'Anastasija', + 'Anastāsija', + 'Anastāzija', + 'Anata', + 'Anatolija', + 'Ance', + 'Anda', + 'Andija', + 'Andīna', + 'Andina', + 'Andīne', + 'Andra', + 'Andre', + 'Andrelita', + 'Andreta', + 'Andriāna', + 'Andrija', + 'Andrijana', + 'Andrika', + 'Andrita', + 'Andromeda', + 'Andžela', + 'Andželika', + 'Andželīna', + 'Andželita', + 'Andžella', + 'Ane', + 'Aneka', + 'Aņela', + 'Aneļa', + 'Anēla', + 'Anela', + 'Anēle', + 'Anēlija', + 'Anelija', + 'Anemarija', + 'Anese', + 'Aneta', + 'Anete', + 'Anfija', + 'Anfisa', + 'Anga', + 'Angeļa', + 'Angela', + 'Angelija', + 'Angelika', + 'Angēlika', + 'Angelīna', + 'Angelita', + 'Anhelita', + 'Aniceta', + 'Anija', + 'Anika', + 'Anisija', + 'Aņisija', + 'Aņisja', + 'Anita', + 'Anitra', + 'Ankatrina', + 'Anlīza', + 'Anlīze', + 'Anlizeta', + 'Anmāra', + 'Anmarija', + 'Anna', + 'Annamarija', + 'Anne', + 'Annele', + 'Annelija', + 'Annemarija', + 'Anneta', + 'Annete', + 'Annija', + 'Annika', + 'Anniņa', + 'Anrita', + 'Anta', + 'Antainna', + 'Antija', + 'Antonela', + 'Antonīda', + 'Antonija', + 'Antoņina', + 'Antonīna', + 'Antra', + 'Antuaneta', + 'Antuanete', + 'Aņuta', + 'Anžela', + 'Anželika', + 'Anželina', + 'Anželita', + 'Anžella', + 'Anzelma', + 'Apolinārija', + 'Apolonija', + 'Aralda', + 'Aranta', + 'Areta', + 'Arfa', + 'Argija', + 'Argita', + 'Argunda', + 'Ariadna', + 'Ariadne', + 'Ariāna', + 'Arianda', + 'Ariandra', + 'Arianna', + 'Arīda', + 'Arieta', + 'Arija', + 'Arimanda', + 'Arīna', + 'Arisa', + 'Aristīda', + 'Arita', + 'Arjana', + 'Arkādija', + 'Arlita', + 'Arma', + 'Armanda', + 'Armīda', + 'Armilda', + 'Arne', + 'Arnīda', + 'Arnija', + 'Arnika', + 'Arnita', + 'Arta', + 'Artemida', + 'Artija', + 'Arvaldina', + 'Arvīda', + 'Arvīde', + 'Arvita', + 'Asija', + 'Asja', + 'Asma', + 'Asna', + 'Asnate', + 'Asnāte', + 'Asne', + 'Asola', + 'Aspāzija', + 'Asterija', + 'Astērija', + 'Astra', + 'Astrīda', + 'Astrida', + 'Astrīde', + 'Astrīte', + 'Asunta', + 'Ata', + 'Atala', + 'Atēna', + 'Auce', + 'Auda', + 'Augenija', + 'Augusta', + 'Auguste', + 'Augustīna', + 'Augustīne', + 'Aura', + 'Aurēlija', + 'Aurelija', + 'Aurika', + 'Aurora', + 'Ausma', + 'Aušra', + 'Aušra', + 'Austra', + 'Austrīte', + 'Avelīna', + 'Avija', + 'Avita', + 'Aviva', + 'Azanda', + 'Azella', + 'Ādolfina', + 'Ādolfīne', + 'Āra', + 'Ārija', + 'Ārika', + 'Ārite', + 'Ārvalda', + 'Baiba', + 'Balva', + 'Banga', + 'Baņuta', + 'Barba', + 'Bārbala', + 'Barbala', + 'Barbara', + 'Barbola', + 'Bažena', + 'Beāta', + 'Beāte', + 'Beate', + 'Beatrisa', + 'Beatrise', + 'Bekija', + 'Belinda', + 'Bella', + 'Bemadita', + 'Benedikta', + 'Beneventa', + 'Benigna', + 'Benija', + 'Benilda', + 'Benita', + 'Benjamina', + 'Benoventa', + 'Berenika', + 'Berita', + 'Bernada', + 'Bernāde', + 'Bernadeta', + 'Bernadete', + 'Bernadina', + 'Bernadīne', + 'Bernadīte', + 'Bernarda', + 'Bernarde', + 'Bernardīna', + 'Bernedīne', + 'Berta', + 'Beruta', + 'Beta', + 'Betija', + 'Betsija', + 'Bianka', + 'Bille', + 'Biminita', + 'Binija', + 'Binnija', + 'Birgita', + 'Biruta', + 'Birute', + 'Bitīte', + 'Blāzma', + 'Bogumila', + 'Boļeslava', + 'Bonaventūra', + 'Bonifācija', + 'Bonija', + 'Bonoventura', + 'Borbala', + 'Borbola', + 'Borbula', + 'Borghilde', + 'Božena', + 'Brenda', + 'Breta', + 'Briāna', + 'Bridžita', + 'Brigita', + 'Brina', + 'Brinda', + 'Brita', + 'Brīva', + 'Brīve', + 'Brīvīte', + 'Broņa', + 'Bronhilda', + 'Bronija', + 'Broņislava', + 'Bronislava', + 'Brunhilda', + 'Brunhilde', + 'Brunita', + 'Čarita', + 'Čelsija', + 'Čereta', + 'Česlava', + 'Čezeta', + 'Cecīlija', + 'Cecilija', + 'Celerīna', + 'Celīna', + 'Centa', + 'Centolla', + 'Cera', + 'Cerība', + 'Cezarija', + 'Cicilija', + 'Ciedra', + 'Cilda', + 'Cilija', + 'Cilina', + 'Cilmija', + 'Cilnija', + 'Cina', + 'Cintija', + 'Cirēnija', + 'Dace', + 'Dacija', + 'Dacīte', + 'Daglta', + 'Dagmāra', + 'Dagmara', + 'Dagna', + 'Dagne', + 'Dagnija', + 'Dagnita', + 'Daidze', + 'Daiga', + 'Daigone', + 'Daija', + 'Daila', + 'Daile', + 'Daimona', + 'Daina', + 'Dainavīte', + 'Dainida', + 'Dainita', + 'Dainīte', + 'Dainuvīte', + 'Daira', + 'Dairita', + 'Daiva', + 'Dajana', + 'Dālija', + 'Dana', + 'Dane', + 'Daneta', + 'Danica', + 'Danida', + 'Daniela', + 'Dāniela', + 'Daniēla', + 'Daniella', + 'Danija', + 'Danika', + 'Daņila', + 'Danita', + 'Danna', + 'Danuta', + 'Daņuta', + 'Danute', + 'Dārija', + 'Darina', + 'Darja', + 'Dārta', + 'Dārte', + 'Debora', + 'Dedze', + 'Deina', + 'Deivija', + 'Deizija', + 'Delfīna', + 'Delfīne', + 'Demija', + 'Denija', + 'Denisa', + 'Denise', + 'Denīza', + 'Denīze', + 'Denora', + 'Dēvija', + 'Dezija', + 'Dēzija', + 'Diāna', + 'Diana', + 'Diandra', + 'Dianna', + 'Diāra', + 'Dida', + 'Digna', + 'Digne', + 'Dina', + 'Dīna', + 'Dināra', + 'Dineta', + 'Dinija', + 'Dinnija', + 'Dita', + 'Dite', + 'Dolita', + 'Dollija', + 'Doloresa', + 'Dome', + 'Domenika', + 'Domicela', + 'Domicele', + 'Domicelija', + 'Domicella', + 'Domija', + 'Dominika', + 'Domna', + 'Domuse', + 'Donāta', + 'Donāte', + 'Donicela', + 'Donvina', + 'Dora', + 'Dore', + 'Doreta', + 'Dorina', + 'Dorisa', + 'Dorita', + 'Dorota', + 'Doroteja', + 'Dorotija', + 'Dorta', + 'Dorte', + 'Drosma', + 'Drosme', + 'Dūda', + 'Džamila', + 'Džana', + 'Džaneta', + 'Džanete', + 'Džanita', + 'Džasmīna', + 'Džastina', + 'Džeina', + 'Dzeja', + 'Dzelde', + 'Džellija', + 'Dzelme', + 'Džema', + 'Džemma', + 'Džena', + 'Dženeta', + 'Dženete', + 'Dženifera', + 'Dženija', + 'Dženita', + 'Džeralda', + 'Džeraldīne', + 'Džesija', + 'Džesika', + 'Dzestra', + 'Dzidra', + 'Dzidrite', + 'Dziedra', + 'Dziesma', + 'Džigunda', + 'Džilda', + 'Dzīle', + 'Džina', + 'Dzine', + 'Džineta', + 'Džinita', + 'Dzinta', + 'Dzintara', + 'Dzintāra', + 'Dzintārija', + 'Dzintra', + 'Dzirkstīte', + 'Džoanna', + 'Džoija', + 'Džoja', + 'Džovita', + 'Džudīte', + 'Džūlija', + 'Džuljeta', + 'Eba', + 'Eda', + 'Ede', + 'Edija', + 'Edīta', + 'Edīte', + 'Edite', + 'Edla', + 'Edmonda', + 'Edna', + 'Eduarda', + 'Edviga', + 'Edvija', + 'Edvīna', + 'Edvīne', + 'Efeja', + 'Ega', + 'Egida', + 'Egija', + 'Egīna', + 'Egita', + 'Egle', + 'Egmonta', + 'Eifrozine', + 'Eila', + 'Eina', + 'Eiženija', + 'Eižēnija', + 'Eļa', + 'Elāna', + 'Elda', + 'Elektra', + 'Elena', + 'Elēna', + 'Elenora', + 'Eleonora', + 'Elfa', + 'Elfija', + 'Elfrīda', + 'Elfrida', + 'Elfrīde', + 'Elga', + 'Elgita', + 'Elīda', + 'Elija', + 'Elika', + 'Elīna', + 'Elina', + 'Elīne', + 'Elionora', + 'Elīsa', + 'Elise', + 'Elita', + 'Elite', + 'Elīza', + 'Eliza', + 'Elīzabeta', + 'Elizabete', + 'Elīzabete', + 'Elizaveta', + 'Elizavete', + 'Elizbete', + 'Elize', + 'Ella', + 'Ellana', + 'Ellena', + 'Ellija', + 'Elma', + 'Elmāra', + 'Elmija', + 'Elmīna', + 'Elmīne', + 'Elmīra', + 'Elmira', + 'Elna', + 'Elnāra', + 'Elneta', + 'Elona', + 'Elta', + 'Elva', + 'Elvi', + 'Elviga', + 'Elvija', + 'Elvīna', + 'Elvīne', + 'Elvīra', + 'Elvira', + 'Elvisa', + 'Elvita', + 'Elza', + 'Elzabeta', + 'Elžbeta', + 'Ema', + 'Emanuēla', + 'Emarita', + 'Emerenciana', + 'Emerencija', + 'Emerencijana', + 'Emerenta', + 'Emerentiana', + 'Emerentina', + 'Emerentīne', + 'Emerita', + 'Emertijana', + 'Emija', + 'Emilda', + 'Emiliana', + 'Emīlija', + 'Emilija', + 'Emilijana', + 'Emīlja', + 'Emiljana', + 'Emīra', + 'Emirita', + 'Emma', + 'Emme', + 'Ena', + 'Enda', + 'Endija', + 'Endžija', + 'Ene', + 'Enerita', + 'Engelīna', + 'Enīda', + 'Enija', + 'Enina', + 'Enita', + 'Ennata', + 'Ennija', + 'Enrija', + 'Enrika', + 'Enriketa', + 'Enta', + 'Envija', + 'Era', + 'Erena', + 'Erēna', + 'Eridana', + 'Erika', + 'Erīna', + 'Erita', + 'Erma', + 'Ermīna', + 'Ermīne', + 'Ermionija', + 'Ermonija', + 'Erna', + 'Erneste', + 'Ernestīna', + 'Ernestīne', + 'Ernestine', + 'Ernita', + 'Ervīna', + 'Ervita', + 'Esēnija', + 'Esfira', + 'Esija', + 'Esmeralda', + 'Esmeralde', + 'Estella', + 'Estera', + 'Estere', + 'Estra', + 'Eta', + 'Etele', + 'Etelvīne', + 'Etere', + 'Eteri', + 'Etīna', + 'Euģenija', + 'Euģēnija', + 'Eugenija', + 'Eugēnija', + 'Eulālija', + 'Eva', + 'Evalina', + 'Eve', + 'Evelīna', + 'Evelina', + 'Evelīne', + 'Evelita', + 'Everika', + 'Everita', + 'Evgēnija', + 'Evgenija', + 'Evģēnija', + 'Evģenija', + 'Evī', + 'Evija', + 'Evika', + 'Evisa', + 'Evita', + 'Evrika', + 'Ēra', + 'Ērika', + 'Ēstere', + 'Ēva', + 'Ēvī', + 'Ēvija', + 'Ēvisa', + 'Faina', + 'Fanija', + 'Fannija', + 'Farida', + 'Fatima', + 'Fatina', + 'Fatma', + 'Feja', + 'Feliciāna', + 'Felicianna', + 'Felīcija', + 'Felicijana', + 'Felicita', + 'Felicjana', + 'Felonija', + 'Fenija', + 'Feodora', + 'Feodosija', + 'Feona', + 'Feonija', + 'Fetna', + 'Fevronija', + 'Filemona', + 'Filgita', + 'Filicija', + 'Filimona', + 'Fiļimona', + 'Filimonija', + 'Filiomena', + 'Filipina', + 'Filomeja', + 'Filomena', + 'Filumena', + 'Fionija', + 'Flora', + 'Florence', + 'Florentija', + 'Florentīna', + 'Florentīne', + 'Floriana', + 'Florija', + 'Florijana', + 'Fortunata', + 'Frančeska', + 'Franciska', + 'Franciška', + 'Frančiska', + 'Fransuāza', + 'Františka', + 'Franuse', + 'Fraskita', + 'Frederika', + 'Frensisa', + 'Frīda', + 'Frida', + 'Friderika', + 'Fridriha', + 'Gabija', + 'Gabriēla', + 'Gabriela', + 'Gabriele', + 'Gabriella', + 'Gaida', + 'Gaidite', + 'Gaija', + 'Gaisma', + 'Gaismīte', + 'Gaismone', + 'Gaita', + 'Galina', + 'Gaļina', + 'Ganda', + 'Geda', + 'Gēda', + 'Gedra', + 'Geila', + 'Gelija', + 'Gēlija', + 'Gelinta', + 'Genefa', + 'Generoza', + 'Genija', + 'Genita', + 'Genovaite', + 'Genovefa', + 'Genoveja', + 'Genovera', + 'Genoveva', + 'Gentra', + 'Genuvefa', + 'Geraldina', + 'Gerarda', + 'Gerda', + 'Geronima', + 'Gertija', + 'Gertrūda', + 'Gertrūde', + 'Gertrude', + 'Gesta', + 'Gianeja', + 'Giedra', + 'Gija', + 'Gina', + 'Gināra', + 'Gineta', + 'Ginita', + 'Ginta', + 'Gintija', + 'Gita', + 'Gitāna', + 'Gitija', + 'Gizela', + 'Glafīra', + 'Glaima', + 'Glauda', + 'Gledisa', + 'Glenda', + 'Glendija', + 'Glikerija', + 'Glita', + 'Glorija', + 'Gonda', + 'Gotlība', + 'Grācija', + 'Grasilda', + 'Grata', + 'Gražina', + 'Greta', + 'Grēta', + 'Grieta', + 'Grietina', + 'Grineta', + 'Grinete', + 'Grita', + 'Grizelda', + 'Gudrīte', + 'Gudruna', + 'Gulnara', + 'Guļnara', + 'Guna', + 'Gunāra', + 'Gunavefa', + 'Gunda', + 'Gundega', + 'Gundija', + 'Gundra', + 'Gunefa', + 'Guneta', + 'Gunita', + 'Gunitra', + 'Gunmāra', + 'Gunta', + 'Guntiņa', + 'Guntra', + 'Gusta', + 'Guste', + 'Gvenda', + 'Gvida', + 'Gvidālija', + 'Ģēda', + 'Ģenovefa', + 'Ģertcuda', + 'Ģertrūda', + 'Ģertrūde', + 'Ģertrude', + 'Ģiedra', + 'Ģinta', + 'Haida', + 'Haide', + 'Halina', + 'Halīna', + 'Hanelita', + 'Hanna', + 'Hannelore', + 'Hannija', + 'Hanzija', + 'Haralda', + 'Hardija', + 'Harija', + 'Harina', + 'Harita', + 'Haritina', + 'Heda', + 'Hedija', + 'Hedviga', + 'Heidija', + 'Helēna', + 'Helena', + 'Helēne', + 'Helene', + 'Helga', + 'Helge', + 'Helgi', + 'Helgrīda', + 'Hēlija', + 'Helita', + 'Helju', + 'Hella', + 'Hellēna', + 'Hellija', + 'Helma', + 'Helmija', + 'Helmīna', + 'Helmīne', + 'Helmīra', + 'Helmute', + 'Helta', + 'Helvi', + 'Helvija', + 'Helvita', + 'Henija', + 'Henisa', + 'Henita', + 'Hennija', + 'Henrieta', + 'Henriete', + 'Henrija', + 'Henrika', + 'Henrita', + 'Hēra', + 'Hera', + 'Herenija', + 'Herita', + 'Herma', + 'Hermīna', + 'Hermīne', + 'Hermine', + 'Heronija', + 'Heronima', + 'Herta', + 'Hervita', + 'Hetija', + 'Hiacinta', + 'Hilarija', + 'Hilda', + 'Hildegarde', + 'Hildura', + 'Hilga', + 'Hilja', + 'Hilma', + 'Honorata', + 'Honoreta', + 'Hortenzija', + 'Hulda', + 'Ida', + 'Ideja', + 'Idilija', + 'Idra', + 'Ieva', + 'Ieviņa', + 'Igeta', + 'Igila', + 'Igita', + 'Ignese', + 'Igunda', + 'Ija', + 'Ilāna', + 'Ilanda', + 'Ilanta', + 'Ilāra', + 'Ilārija', + 'Ilda', + 'Ildra', + 'Ildze', + 'Ileana', + 'Ilga', + 'Ilgnese', + 'Ilgona', + 'Iliana', + 'Ilija', + 'Ilita', + 'Ilizana', + 'Ilizane', + 'Iļja', + 'Iljana', + 'Iļjana', + 'Illa', + 'Illarija', + 'Illuminata', + 'Ilma', + 'Ilmara', + 'Ilme', + 'Ilmija', + 'Ilna', + 'Ilona', + 'Ilonda', + 'Ilone', + 'Ilonija', + 'Iluta', + 'Ilva', + 'Ilveta', + 'Ilvija', + 'Ilvīra', + 'Ilvita', + 'Ilza', + 'Ilze', + 'Ilzīte', + 'Ima', + 'Imalda', + 'Imanda', + 'Imandra', + 'Imanta', + 'Imelda', + 'Imgarde', + 'Imre', + 'Imula', + 'Ina', + 'Inaida', + 'Ināra', + 'Inara', + 'Inārija', + 'Inarta', + 'Inatra', + 'Inda', + 'Indīra', + 'Indra', + 'Inelda', + 'Inesa', + 'Inese', + 'Inesīte', + 'Ineta', + 'Inete', + 'Inga', + 'Inge', + 'Ingeborga', + 'Ingemāra', + 'Ingera', + 'Ingēra', + 'Ingerūda', + 'Ingeta', + 'Ingita', + 'Ingmāra', + 'Ingra', + 'Ingre', + 'Ingreta', + 'Ingrīda', + 'Ingrida', + 'Ingrita', + 'Inguna', + 'Ingūna', + 'Ingunda', + 'Ingūra', + 'Inguta', + 'Ingvilda', + 'Inija', + 'Inita', + 'Initra', + 'Inna', + 'Innara', + 'Inneta', + 'Inota', + 'Inta', + 'Intra', + 'Inuta', + 'Inveiga', + 'Ira', + 'Iraīda', + 'Iraida', + 'Iraisa', + 'Irbe', + 'Irēna', + 'Irena', + 'Irene', + 'Irēne', + 'Irīda', + 'Irida', + 'Irija', + 'Irina', + 'Irīna', + 'Irisa', + 'Irita', + 'Irma', + 'Irme', + 'Irmgarda', + 'Irmgarde', + 'Irmiņa', + 'Irmīna', + 'Irmīne', + 'Irmtrauta', + 'Irmtraute', + 'Irta', + 'Iruta', + 'Irute', + 'Irvita', + 'Irži', + 'Isma', + 'Ita', + 'Itija', + 'Iva', + 'Ivaise', + 'Ivanda', + 'Ivande', + 'Ivanna', + 'Ivāra', + 'Ivase', + 'Ivena', + 'Iverta', + 'Iveta', + 'Ivete', + 'Ivika', + 'Ivita', + 'Ivona', + 'Ivonda', + 'Ivonija', + 'Ivonna', + 'Iza', + 'Izabela', + 'Izabella', + 'Izanda', + 'Izaura', + 'Izīda', + 'Izolda', + 'Izolde', + 'Īda', + 'Īģe', + 'Īna', + 'Īra', + 'Īrisa', + 'Īva', + 'Īvija', + 'Jacinta', + 'Jadviga', + 'Jadvīga', + 'Jadze', + 'Jakobīna', + 'Jalanta', + 'Jana', + 'Jāna', + 'Janeka', + 'Janeta', + 'Janete', + 'Janika', + 'Janīna', + 'Janina', + 'Jaņīna', + 'Janita', + 'Janna', + 'Janta', + 'Januārija', + 'Jaroslava', + 'Jasmīna', + 'Jasmīne', + 'Jausma', + 'Jautra', + 'Jautrīte', + 'Jāzepa', + 'Jazepata', + 'Jazupata', + 'Jedviga', + 'Jefimija', + 'Jefrosīnija', + 'Jekaterīna', + 'Jeļena', + 'Jeļizabeta', + 'Jelizabeta', + 'Jelizaveta', + 'Jeļizaveta', + 'Jelizavete', + 'Jeļizavete', + 'Jella', + 'Jesija', + 'Jeta', + 'Jete', + 'Jevdokija', + 'Jevgēņija', + 'Jevģenija', + 'Jevģēnija', + 'Jevgēnija', + 'Jevgenija', + 'Jevgeņija', + 'Jevlampija', + 'Jevženija', + 'Jevžēnija', + 'Jezufata', + 'Jezupata', + 'Jezupate', + 'Joana', + 'Joanna', + 'Jogita', + 'Johana', + 'Johanna', + 'Jolanda', + 'Jolanta', + 'Jolita', + 'Jonita', + 'Jovita', + 'Jozefa', + 'Jozefata', + 'Jozefīna', + 'Jozefīne', + 'Juanna', + 'Judīte', + 'Jugita', + 'Jūla', + 'Jūle', + 'Jūliāna', + 'Jūļiana', + 'Julianija', + 'Jūlianna', + 'Jūlija', + 'Julija', + 'Jūlijana', + 'Julijanna', + 'Julita', + 'Juļjana', + 'Juna', + 'Jūnija', + 'Junita', + 'Junna', + 'Junona', + 'Junora', + 'Junta', + 'Juranta', + 'Jūrāte', + 'Jureta', + 'Jurgita', + 'Jurika', + 'Jurita', + 'Jūsma', + 'Justa', + 'Justīna', + 'Justīne', + 'Justine', + 'Justīnija', + 'Juta', + 'Juvita', + 'Juzefa', + 'Juzefata', + 'Juzefate', + 'Juzefīna', + 'Juzefine', + 'Juzepa', + 'Juzepata', + 'Juzepate', + 'Juzufata', + 'Kadrija', + 'Kaija', + 'Kaira', + 'Kaiva', + 'Kamēlija', + 'Kamena', + 'Kamila', + 'Kamīlija', + 'Kamilla', + 'Kamita', + 'Kandida', + 'Karalina', + 'Karena', + 'Kārija', + 'Karīna', + 'Kārina', + 'Karinē', + 'Karīne', + 'Karita', + 'Karla', + 'Karlīna', + 'Karlina', + 'Karlīne', + 'Karmena', + 'Karmene', + 'Karola', + 'Karolīna', + 'Karolīne', + 'Karulina', + 'Kasandra', + 'Katalīna', + 'Katarīna', + 'Katažina', + 'Kate', + 'Katerīna', + 'Katija', + 'Katiņa', + 'Katra', + 'Katre', + 'Katri', + 'Katrīna', + 'Katrina', + 'Katrīne', + 'Katriona', + 'Kazimerina', + 'Kazimira', + 'Kazimirina', + 'Kazmerina', + 'Kazmirina', + 'Kecija', + 'Keisija', + 'Keita', + 'Keitija', + 'Kelija', + 'Kellija', + 'Kendija', + 'Kerija', + 'Kerola', + 'Kerolaina', + 'Kerolaine', + 'Kersti', + 'Kerstina', + 'Keta', + 'Kēta', + 'Kete', + 'Kēte', + 'Ketija', + 'Ketlīna', + 'Ketrija', + 'Ketrīna', + 'Kilikeja', + 'Kima', + 'Kimberiija', + 'Kintija', + 'Kira', + 'Kitija', + 'Klāra', + 'Klara', + 'Klaudija', + 'Klavdija', + 'Klementīna', + 'Klementīne', + 'Klementine', + 'Kleofa', + 'Kleopatra', + 'Kleotilda', + 'Klēra', + 'Klimentīna', + 'Klinta', + 'Klitija', + 'Klodija', + 'Klotilde', + 'Koleta', + 'Konkordija', + 'Konstance', + 'Konstancija', + 'Konstantija', + 'Konstantīna', + 'Konstantīne', + 'Konsuela', + 'Konsuella', + 'Kora', + 'Korina', + 'Kornēlija', + 'Kornelija', + 'Krista', + 'Kriste', + 'Kristela', + 'Kristena', + 'Kristiāna', + 'Kristiana', + 'Kristiāne', + 'Kristianna', + 'Kristija', + 'Kristijana', + 'Kristilla', + 'Kristīna', + 'Kristīne', + 'Kristine', + 'Ksaverija', + 'Ksavērija', + 'Ksenija', + 'Ksēnija', + 'Kunegunda', + 'Kunigunda', + 'Kuzma', + 'Ķērsta', + 'Ķersta', + 'Lada', + 'Laija', + 'Laila', + 'Lailita', + 'Laima', + 'Laimdota', + 'Laimiņa', + 'Laimīte', + 'Laimrita', + 'Laimrota', + 'Laimute', + 'Laina', + 'Laine', + 'Laineta', + 'Laira', + 'Laisve', + 'Lala', + 'Lalita', + 'Lana', + 'Lāna', + 'Landa', + 'Langina', + 'Largija', + 'Larija', + 'Larina', + 'Larisa', + 'Lāse', + 'Lāsma', + 'Lasma', + 'Lāsmiņa', + 'Late', + 'Latvīte', + 'Lauma', + 'Laumīte', + 'Laura', + 'Laure', + 'Laurentīna', + 'Laureta', + 'Laurita', + 'Lavīze', + 'Lea', + 'Leāna', + 'Leāra', + 'Leida', + 'Leila', + 'Leina', + 'Lelda', + 'Lelde', + 'Lena', + 'Lēna', + 'Lendija', + 'Lengina', + 'Lenija', + 'Lenita', + 'Lenora', + 'Lenvija', + 'Leokādija', + 'Leokadija', + 'Leolita', + 'Leona', + 'Leonāra', + 'Leonarda', + 'Leonārija', + 'Leone', + 'Leongīna', + 'Leongīne', + 'Leonīda', + 'Leonida', + 'Leonide', + 'Leonija', + 'Leonila', + 'Leonilla', + 'Leonita', + 'Leonora', + 'Leonorija', + 'Leontija', + 'Leontīna', + 'Leontīne', + 'Leontine', + 'Leopoldina', + 'Letīcija', + 'Levantīna', + 'Levita', + 'Lia', + 'Liāna', + 'Liana', + 'Lianda', + 'Lianta', + 'Liāra', + 'Lība', + 'Liberata', + 'Lida', + 'Līda', + 'Lidija', + 'Lidita', + 'Liega', + 'Liena', + 'Liene', + 'Lienīte', + 'Liesma', + 'Līga', + 'Ligija', + 'Ligindra', + 'Ligita', + 'Lija', + 'Līksma', + 'Lilana', + 'Lili', + 'Liliāna', + 'Liliana', + 'Lilianna', + 'Lilija', + 'Līlija', + 'Lilijana', + 'Lilioza', + 'Lilita', + 'Lilja', + 'Liljana', + 'Lilli', + 'Lillija', + 'Lillita', + 'Līna', + 'Lina', + 'Linarda', + 'Linda', + 'Linde', + 'Lindija', + 'Līne', + 'Lineta', + 'Linita', + 'Linna', + 'Liona', + 'Lioneta', + 'Lionija', + 'Lipija', + 'Lira', + 'Līrija', + 'Lisa', + 'Lisija', + 'Lita', + 'Līva', + 'Liva', + 'Liveta', + 'Līvija', + 'Livija', + 'Livita', + 'Liza', + 'Līza', + 'Lizabete', + 'Lizbete', + 'Līze', + 'Lize', + 'Lizelote', + 'Lizeta', + 'Lizete', + 'Līzete', + 'Līziņa', + 'Logina', + 'Logita', + 'Loida', + 'Lola', + 'Lolija', + 'Lolita', + 'Lollija', + 'Lone', + 'Longīna', + 'Lonija', + 'Lonita', + 'Lonnija', + 'Lontīne', + 'Lora', + 'Loransa', + 'Loreina', + 'Lorena', + 'Lorēna', + 'Lorensa', + 'Lorenta', + 'Loreta', + 'Lorete', + 'Lorija', + 'Lorika', + 'Lorina', + 'Lorita', + 'Lota', + 'Lote', + 'Loveta', + 'Luāna', + 'Lucianna', + 'Lūcija', + 'Lucija', + 'Lucijana', + 'Ludmila', + 'Ludmilla', + 'Ludovika', + 'Ludviga', + 'Ludvika', + 'Ludvisa', + 'Ludvise', + 'Ludvisija', + 'Lueta', + 'Lugra', + 'Luīza', + 'Luīze', + 'Luize', + 'Lukrecija', + 'Lukrēcija', + 'Lūlija', + 'Lusija', + 'Lusja', + 'Ļoņa', + 'Ļubova', + 'Ļudgarda', + 'Ļudvise', + 'Madaļa', + 'Madara', + 'Madare', + 'Made', + 'Madelaina', + 'Madlena', + 'Madlēna', + 'Mafalda', + 'Magda', + 'Magdalēna', + 'Magdalena', + 'Magdaliene', + 'Magdalina', + 'Magnolija', + 'Magone', + 'Magrieta', + 'Magrita', + 'Maida', + 'Maiga', + 'Maigone', + 'Maija', + 'Maila', + 'Maima', + 'Maina', + 'Maira', + 'Mairina', + 'Mairita', + 'Mairite', + 'Mairuta', + 'Makrina', + 'Malānija', + 'Malda', + 'Maldiņa', + 'Māle', + 'Malgonija', + 'Malgožata', + 'Malle', + 'Malva', + 'Malvīna', + 'Malvīne', + 'Malvine', + 'Manda', + 'Manefa', + 'Manuela', + 'Māra', + 'Maranda', + 'Maranta', + 'Marcela', + 'Marčela', + 'Marcelina', + 'Marcella', + 'Marciana', + 'Marcianna', + 'Marčija', + 'Marcijana', + 'Marcijanna', + 'Māre', + 'Mareka', + 'Māreta', + 'Marfa', + 'Marga', + 'Margareta', + 'Margarēta', + 'Margarieta', + 'Margarita', + 'Mārģieta', + 'Margieta', + 'Margita', + 'Margnta', + 'Margota', + 'Margote', + 'Margreta', + 'Margrieta', + 'Marguta', + 'Marī', + 'Mariana', + 'Marianna', + 'Mārica', + 'Mariela', + 'Mārieta', + 'Marija', + 'Marijana', + 'Marijanna', + 'Marijeta', + 'Marika', + 'Mārika', + 'Marina', + 'Marīna', + 'Mariona', + 'Marisa', + 'Marita', + 'Mārita', + 'Maritana', + 'Mārīte', + 'Marīte', + 'Marjama', + 'Marjana', + 'Marjanna', + 'Marjeta', + 'Marlēna', + 'Marlena', + 'Marsela', + 'Marseljēza', + 'Marsella', + 'Marta', + 'Mārta', + 'Martijana', + 'Martīna', + 'Maruta', + 'Māruta', + 'Marute', + 'Matilda', + 'Matilde', + 'Matrjona', + 'Matrona', + 'Mazalda', + 'Mečislava', + 'Medeja', + 'Mega', + 'Megija', + 'Mehribana', + 'Melānija', + 'Melanija', + 'Meldra', + 'Melija', + 'Melinda', + 'Melisa', + 'Melisandra', + 'Melita', + 'Melitina', + 'Melizanda', + 'Melizande', + 'Menarda', + 'Mendija', + 'Meralda', + 'Meri', + 'Merīda', + 'Mērija', + 'Merija', + 'Merilina', + 'Merita', + 'Merseda', + 'Mersēda', + 'Mersedesa', + 'Meta', + 'Mēta', + 'Mētra', + 'Mīce', + 'Midite', + 'Miervalda', + 'Mihailina', + 'Mihaļina', + 'Mihalīna', + 'Mija', + 'Mikaela', + 'Mikalina', + 'Mīla', + 'Milāna', + 'Milda', + 'Mildreda', + 'Mīle', + 'Milēna', + 'Milena', + 'Milica', + 'Milija', + 'Milita', + 'Millija', + 'Milona', + 'Milvija', + 'Mimoza', + 'Mina', + 'Minadora', + 'Mindora', + 'Minjona', + 'Minna', + 'Mira', + 'Mirabella', + 'Miralda', + 'Miranda', + 'Mirdza', + 'Mirga', + 'Mirjāma', + 'Mirjana', + 'Miroslava', + 'Mirta', + 'Mišela', + 'Moda', + 'Modesta', + 'Modra', + 'Modrīte', + 'Molija', + 'Mollija', + 'Mona', + 'Monda', + 'Monija', + 'Monika', + 'Monna', + 'Monrita', + 'Monta', + 'Monvida', + 'Mora', + 'Morēna', + 'Mudīte', + 'Mudra', + 'Mudrīte', + 'Munda', + 'Mundra', + 'Mundrīte', + 'Munise', + 'Mūza', + 'Nadežda', + 'Nadija', + 'Nadīna', + 'Nadina', + 'Nadīne', + 'Naila', + 'Naina', + 'Naira', + 'Nameda', + 'Nana', + 'Nanda', + 'Nanete', + 'Nanija', + 'Nannija', + 'Nansija', + 'Naomi', + 'Nāra', + 'Narcise', + 'Narciza', + 'Nargisa', + 'Nargiza', + 'Nārija', + 'Narine', + 'Nastasija', + 'Nastja', + 'Nata', + 'Natalī', + 'Natālija', + 'Natalija', + 'Nataļja', + 'Natalja', + 'Nate', + 'Natela', + 'Natella', + 'Naula', + 'Necija', + 'Neda', + 'Neila', + 'Neļa', + 'Nelda', + 'Nelija', + 'Nelima', + 'Nelita', + 'Nella', + 'Nellija', + 'Nena', + 'Nensija', + 'Neonila', + 'Neonilla', + 'Nērika', + 'Neringa', + 'Neta', + 'Niāra', + 'Niceta', + 'Nida', + 'Nigra', + 'Nija', + 'Nijole', + 'Nika', + 'Nikija', + 'Nikita', + 'Nikola', + 'Nikoleta', + 'Nila', + 'Nilda', + 'Nilija', + 'Niluta', + 'Nimmija', + 'Nīna', + 'Ninele', + 'Ninella', + 'Nineta', + 'Ninona', + 'Niola', + 'Nīra', + 'Nita', + 'Noela', + 'Nominanda', + 'Nona', + 'Nonna', + 'Nora', + 'Norgita', + 'Norika', + 'Noriņa', + 'Norīte', + 'Norma', + 'Normanta', + 'Normunda', + 'Norvalda', + 'Ņina', + 'Ņīna', + 'Odeta', + 'Odita', + 'Odrija', + 'Ofēlija', + 'Oksana', + 'Oksāna', + 'Oktāvija', + 'Olesija', + 'Oļesija', + 'Olesja', + 'Oļesja', + 'Olga', + 'Olgita', + 'Olija', + 'Olimpiada', + 'Olimpija', + 'Olina', + 'Olita', + 'Olīva', + 'Olīvija', + 'Olivija', + 'Ollija', + 'Olrita', + 'Olvija', + 'Olvita', + 'Omula', + 'Ona', + 'Oneta', + 'Oniksa', + 'Onufrija', + 'Orhideja', + 'Orīda', + 'Ornella', + 'Ortenzija', + 'Ortija', + 'Oskarīna', + 'Otālija', + 'Otīlija', + 'Otilija', + 'Paija', + 'Palmīra', + 'Pamela', + 'Pārsla', + 'Pārsliņa', + 'Patrīcija', + 'Patricija', + 'Paula', + 'Pauleta', + 'Paulīna', + 'Paulīne', + 'Pauline', + 'Pavlīna', + 'Pavlīne', + 'Pegija', + 'Pelageja', + 'Pērie', + 'Petra', + 'Petronela', + 'Petronele', + 'Petronelija', + 'Petronella', + 'Petronellija', + 'Petrunela', + 'Petruneļa', + 'Petrunele', + 'Petrunelija', + 'Pilimona', + 'Pireta', + 'Polīna', + 'Poļina', + 'Potencija', + 'Praskovja', + 'Proskovja', + 'Pudencija', + 'Pudentija', + 'Rada', + 'Radmila', + 'Radu', + 'Raēle', + 'Ragnēda', + 'Ragnija', + 'Raida', + 'Raiena', + 'Raija', + 'Raima', + 'Raimija', + 'Raimona', + 'Raimonda', + 'Raina', + 'Rainelda', + 'Rainelde', + 'Raisa', + 'Raisma', + 'Raita', + 'Raiva', + 'Raivita', + 'Raja', + 'Raksana', + 'Ralda', + 'Ramīna', + 'Ramona', + 'Ramuna', + 'Ramune', + 'Ramute', + 'Rana', + 'Ranāte', + 'Randa', + 'Randija', + 'Raneta', + 'Ranita', + 'Ranta', + 'Rasa', + 'Rasita', + 'Rasma', + 'Rasmīte', + 'Rasulīte', + 'Rauza', + 'Ravena', + 'Ravita', + 'Rebeka', + 'Regija', + 'Regīna', + 'Regina', + 'Reģīna', + 'Regita', + 'Reičela', + 'Reina', + 'Rena', + 'Rēna', + 'Renalda', + 'Renāta', + 'Renāte', + 'Renate', + 'Rendija', + 'Renē', + 'Reneta', + 'Renija', + 'Renita', + 'Renta', + 'Reta', + 'Revita', + 'Rezēda', + 'Rezenda', + 'Rezija', + 'Rēzija', + 'Rianda', + 'Riandra', + 'Rieta', + 'Rigmora', + 'Rigonda', + 'Rikarda', + 'Rima', + 'Rimanta', + 'Rimma', + 'Rimona', + 'Rimonda', + 'Rimvalda', + 'Rina', + 'Rinalda', + 'Rineta', + 'Rinete', + 'Ringla', + 'Rinta', + 'Rinvalda', + 'Riona', + 'Rita', + 'Ritija', + 'Ritma', + 'Roberta', + 'Robertīne', + 'Robija', + 'Robina', + 'Rode', + 'Roēna', + 'Rogate', + 'Roksana', + 'Rolanda', + 'Rolande', + 'Rolanta', + 'Rolita', + 'Roma', + 'Romalda', + 'Romanda', + 'Romānija', + 'Romāra', + 'Romena', + 'Romēna', + 'Rometa', + 'Romija', + 'Romina', + 'Romualda', + 'Romuta', + 'Romvalda', + 'Rona', + 'Ronalda', + 'Ronta', + 'Rosita', + 'Rosma', + 'Rosvita', + 'Rota', + 'Rovena', + 'Rovēna', + 'Roza', + 'Rozālija', + 'Rozalija', + 'Roze', + 'Rozemarija', + 'Rozita', + 'Rozīte', + 'Rozmarija', + 'Rozvita', + 'Ruāna', + 'Ruda', + 'Rudi', + 'Rudīte', + 'Rufina', + 'Rusanda', + 'Ruslana', + 'Rusudana', + 'Rūta', + 'Ruta', + 'Rūte', + 'Rūtiņa', + 'Ruzanna', + 'Ruze', + 'Sabīna', + 'Sabīne', + 'Sabine', + 'Sabrīna', + 'Sagita', + 'Saida', + 'Saiga', + 'Saija', + 'Saila', + 'Sailita', + 'Saimona', + 'Saira', + 'Sairita', + 'Saiva', + 'Saksija', + 'Salda', + 'Salimona', + 'Salimonija', + 'Sallija', + 'Salma', + 'Salme', + 'Salome', + 'Salomeja', + 'Salomija', + 'Salvija', + 'Samanta', + 'Samīra', + 'Sana', + 'Sanda', + 'Sandija', + 'Sandita', + 'Sandra', + 'Sandrīte', + 'Saneta', + 'Sangrita', + 'Sanija', + 'Sanita', + 'Sanlija', + 'Sannija', + 'Santa', + 'Santana', + 'Santija', + 'Santra', + 'Sāra', + 'Sarika', + 'Sarita', + 'Sarma', + 'Sarme', + 'Sarmīte', + 'Sārtīte', + 'Saulcerīte', + 'Saule', + 'Saulgaida', + 'Saulīte', + 'Saulstarīte', + 'Saulvija', + 'Sava', + 'Savina', + 'Savita', + 'Seila', + 'Selēna', + 'Selga', + 'Sēlija', + 'Selīna', + 'Selita', + 'Sella', + 'Sellija', + 'Selma', + 'Selva', + 'Senda', + 'Sendija', + 'Sendra', + 'Senija', + 'Senora', + 'Serafima', + 'Serafina', + 'Serena', + 'Serlana', + 'Sevda', + 'Severīna', + 'Sholastika', + 'Sholostika', + 'Siandra', + 'Sianta', + 'Siāra', + 'Sibilla', + 'Sidija', + 'Sidnija', + 'Sidonija', + 'Sigeta', + 'Sigija', + 'Sigita', + 'Siglinda', + 'Siglinde', + 'Sigma', + 'Signa', + 'Signe', + 'Signeja', + 'Signejana', + 'Signese', + 'Signeta', + 'Signija', + 'Signita', + 'Sigrīda', + 'Sigrija', + 'Sigrūna', + 'Siguta', + 'Sigute', + 'Sijanda', + 'Silga', + 'Silja', + 'Silva', + 'Silvana', + 'Silvestra', + 'Silveta', + 'Silvija', + 'Silvita', + 'Simona', + 'Simoneta', + 'Sinatra', + 'Sinda', + 'Sindija', + 'Sindra', + 'Singa', + 'Singita', + 'Singrita', + 'Singūna', + 'Sinilga', + 'Sinita', + 'Sinta', + 'Sinti', + 'Sintija', + 'Sirdsvalda', + 'Sirdvalda', + 'Sīringa', + 'Sirje', + 'Sivija', + 'Sjuzanna', + 'Skaidra', + 'Skaidre', + 'Skaidrīte', + 'Skara', + 'Skārleta', + 'Skolastika', + 'Skolestika', + 'Skolostika', + 'Slanda', + 'Smaida', + 'Smaidiņa', + 'Smaidīte', + 'Smaidra', + 'Smuidra', + 'Smuidrīte', + 'Snežana', + 'Sņežana', + 'Sņežanna', + 'Snežanna', + 'Sniedze', + 'Sniedzīte', + 'Sniga', + 'Sofija', + 'Sofja', + 'Solanža', + 'Solita', + 'Solomeja', + 'Solomija', + 'Solomonija', + 'Solumeja', + 'Solvega', + 'Solvēga', + 'Solveiga', + 'Solveta', + 'Solvija', + 'Solvita', + 'Soņa', + 'Sondra', + 'Sonija', + 'Sonita', + 'Sonora', + 'Sorenta', + 'Spārīte', + 'Spīdola', + 'Spodra', + 'Spodrīte', + 'Spulga', + 'Staņislava', + 'Stanislava', + 'Stase', + 'Stasija', + 'Stasja', + 'Stefanīda', + 'Stefānija', + 'Stefanija', + 'Steidzīte', + 'Steiga', + 'Stella', + 'Stepanīda', + 'Stepānija', + 'Stīna', + 'Stīne', + 'Strauja', + 'Straumīte', + 'Strauta', + 'Sulamīte', + 'Susanna', + 'Suzana', + 'Suzanna', + 'Svanhilda', + 'Sveta', + 'Svetlana', + 'Šarlota', + 'Šarlote', + 'Šeila', + 'Šeila', + 'Šeilija', + 'Šelda', + 'Šellija', + 'Širiija', + 'Širleja', + 'Tabita', + 'Tabite', + 'Tahmina', + 'Taīda', + 'Taiga', + 'Taila', + 'Taimira', + 'Taisa', + 'Taisija', + 'Taive', + 'Tāla', + 'Tāle', + 'Tālija', + 'Talija', + 'Talita', + 'Tālivalda', + 'Tālrita', + 'Tamāra', + 'Tamara', + 'Taņa', + 'Tanita', + 'Tatjana', + 'Tea', + 'Teika', + 'Teiksma', + 'Tekla', + 'Telma', + 'Teodora', + 'Teofīla', + 'Teofile', + 'Teofīlija', + 'Teresa', + 'Terēsa', + 'Terese', + 'Terēse', + 'Terēsija', + 'Teresija', + 'Terēza', + 'Tereza', + 'Terēze', + 'Tereze', + 'Terezija', + 'Terēzija', + 'Tesa', + 'Tija', + 'Tikla', + 'Tīksma', + 'Tilla', + 'Tillija', + 'Tīna', + 'Tina', + 'Tince', + 'Tira', + 'Toņa', + 'Tone', + 'Tonija', + 'Tonita', + 'Tora', + 'Trauta', + 'Trautiņa', + 'Treisija', + 'Trīna', + 'Trīne', + 'Trūde', + 'Trūta', + 'Trūte', + 'Tullija', + 'Turaida', + 'Tusnelda', + 'Uga', + 'Ulda', + 'Uldze', + 'Ulita', + 'Uljana', + 'Uļjana', + 'Ulla', + 'Ullija', + 'Ulrika', + 'Ulvija', + 'Ulvita', + 'Una', + 'Unda', + 'Undija', + 'Undīna', + 'Undīne', + 'Undita', + 'Unigunde', + 'Unija', + 'Unita', + 'Urdze', + 'Urdziņa', + 'Ursula', + 'Uršula', + 'Uršule', + 'Urzula', + 'Ustinija', + 'Ustiņja', + 'Uva', + 'Uve', + 'Uzbete', + 'Ūna', + 'Ūnika', + 'Ūva', + 'Vaclava', + 'Vaida', + 'Vaila', + 'Vaileta', + 'Vaira', + 'Vairita', + 'Vairīte', + 'Vaiva', + 'Vaļa', + 'Valda', + 'Valdona', + 'Valdone', + 'Valentija', + 'Valentīna', + 'Valentina', + 'Valentīne', + 'Valeriana', + 'Valerianna', + 'Valērija', + 'Valerija', + 'Valerijana', + 'Valerjana', + 'Valfrīda', + 'Valīda', + 'Valija', + 'Valisa', + 'Valita', + 'Vallida', + 'Vallija', + 'Valma', + 'Valta', + 'Valtra', + 'Valtraude', + 'Valtrauta', + 'Valtraute', + 'Valve', + 'Vanda', + 'Vandze', + 'Vaneranda', + 'Vanesa', + 'Vanese', + 'Varenika', + 'Varita', + 'Varite', + 'Varonika', + 'Varvara', + 'Vasilisa', + 'Večella', + 'Vega', + 'Vegita', + 'Veikla', + 'Veiksma', + 'Velda', + 'Veldra', + 'Veldza', + 'Veldze', + 'Velga', + 'Velita', + 'Velonija', + 'Velta', + 'Velte', + 'Veltija', + 'Veņa', + 'Vena', + 'Vēna', + 'Vencislava', + 'Venda', + 'Vendeta', + 'Vendija', + 'Venefrīda', + 'Venēra', + 'Venera', + 'Veneranda', + 'Venerande', + 'Veneta', + 'Venija', + 'Venīna', + 'Veniranda', + 'Venita', + 'Venjamina', + 'Venta', + 'Vera', + 'Vēra', + 'Veranika', + 'Verēna', + 'Verena', + 'Vergenija', + 'Verija', + 'Verita', + 'Veronija', + 'Veronika', + 'Vēsma', + 'Vēsmiņa', + 'Veta', + 'Vētra', + 'Viāna', + 'Vianta', + 'Vicenta', + 'Vida', + 'Vidaga', + 'Vidaija', + 'Vide', + 'Vīdega', + 'Vīga', + 'Vigda', + 'Vigeta', + 'Vigija', + 'Viģīlija', + 'Vigilija', + 'Vigita', + 'Vigra', + 'Vija', + 'Vijolīte', + 'Vika', + 'Vikija', + 'Viktora', + 'Viktorija', + 'Viktorina', + 'Vila', + 'Vilenta', + 'Vilfrida', + 'Vilhelma', + 'Vilhelmīna', + 'Vilhelmīne', + 'Vilhelmine', + 'Vilija', + 'Vilita', + 'Vilja', + 'Viljanta', + 'Villija', + 'Vilma', + 'Vilonija', + 'Vilora', + 'Vīna', + 'Vinca', + 'Vincenta', + 'Vincentīna', + 'Vincentīne', + 'Vīne', + 'Vineta', + 'Vinete', + 'Vingra', + 'Vinifreda', + 'Vinija', + 'Vinita', + 'Vinnija', + 'Vinta', + 'Vintra', + 'Viola', + 'Violanda', + 'Violanta', + 'Violenta', + 'Violeta', + 'Viorika', + 'Virdžinija', + 'Virēna', + 'Virga', + 'Virgenija', + 'Virgīna', + 'Virgīne', + 'Virgīnija', + 'Virginija', + 'Virģīnija', + 'Virma', + 'Virta', + 'Visija', + 'Visma', + 'Visvalda', + 'Vita', + 'Vitālija', + 'Vitalina', + 'Vitalisa', + 'Vitija', + 'Vitnija', + 'Vitolda', + 'Viva', + 'Vivanta', + 'Viveja', + 'Viveta', + 'Viviāna', + 'Viviana', + 'Vivija', + 'Vivina', + 'Vivita', + 'Vizbule', + 'Vizbulīte', + 'Vizma', + 'Vlada', + 'Vladilena', + 'Vladimira', + 'Vladislava', + 'Vladlena', + 'Volga', + 'Zabīne', + 'Zaiga', + 'Zallija', + 'Zana', + 'Zanda', + 'Zandra', + 'Zane', + 'Zanga', + 'Zanita', + 'Zanna', + 'Zanza', + 'Zara', + 'Zarina', + 'Zelda', + 'Zelga', + 'Zelma', + 'Zelta', + 'Zeltiņa', + 'Zeltīte', + 'Zemfira', + 'Zemīra', + 'Zemlita', + 'Zena', + 'Zenaida', + 'Zenita', + 'Zenobija', + 'Zenona', + 'Zenta', + 'Zēra', + 'Zeta', + 'Zete', + 'Zetiņa', + 'Zidija', + 'Zidonija', + 'Zidra', + 'Ziedīte', + 'Ziednese', + 'Ziedone', + 'Ziedonija', + 'Ziedvalda', + 'Ziga', + 'Zigda', + 'Zigeta', + 'Zigfrīda', + 'Zigfrida', + 'Zigija', + 'Zigita', + 'Zigma', + 'Zigmāra', + 'Zigmunda', + 'Zigna', + 'Zigne', + 'Zigra', + 'Zigrīda', + 'Zigrida', + 'Zigrita', + 'Zīle', + 'Zilga', + 'Zilgma', + 'Zilgme', + 'Zīlīte', + 'Zilva', + 'Zilvija', + 'Zina', + 'Zinaīda', + 'Zinaida', + 'Zinda', + 'Zindra', + 'Zinīda', + 'Zinija', + 'Zinovija', + 'Zinta', + 'Zintra', + 'Zira', + 'Zita', + 'Zlata', + 'Zofija', + 'Zoja', + 'Zola', + 'Zolija', + 'Zosja', + 'Zuzana', + 'Zuzanna', + 'Zuze', + 'Zvaigznīte', + 'Žaklīna', + 'Žaklina', + 'Žaklīne', + 'Žana', + 'Žaneta', + 'Žanete', + 'Žanija', + 'Žanna', + 'Žanneta', + 'Žene', + 'Ženija', + 'Žermēna', + 'Žermena', + 'Žozefina', + 'Žuanete', + 'Žubīte', + ]; - /** - * {@link} https://lv.wikipedia.org/wiki/Kategorija:Latvie%C5%A1u_uzv%C4%81rdi - */ - protected static $lastName = [ - 'Abuls', 'Aizupe', 'Akmentiņš', 'Alksnis', 'Alunāns', 'Ancāns', 'Andžāns', 'Ankipāns', 'Aparjode', 'Apine', 'Apinis', 'Aploks', 'Apse', 'Apsītis', 'Arājs', 'Asars', 'Astra', 'Augstkalns', 'Augškalns', 'Auniņš', 'Auns', 'Auškāps', 'Auziņa', 'Auziņš', 'Avens', 'Avens', 'Avotiņš', 'Avots', - 'Ābele', 'Ābelīte', 'Ābola', 'Āboliņa', 'Āboliņš', 'Ābols', 'Āboltiņa', 'Āboltiņš', 'Ārgalis', - 'Bajārs', 'Baldzēns', 'Bāliņa', 'Bāliņš', 'Balode', 'Balodis', 'Baltgailis', 'Baltiņš', 'Banga', 'Bārbale', 'Bārda', 'Bargais', 'Barkāns', 'Barons', 'Baušķenieks', 'Bebris', 'Berģis', 'Bertāns', 'Bērziņa', 'Bērziņš', 'Bērzkalns', 'Bērzs', 'Bētiņš', 'Biezais', 'Birkavs', 'Birkerts', 'Birze', 'Birznieks', 'Bisenieks', 'Bite', 'Bitenieks', 'Bļodnieks', 'Bojārs', 'Brasla', 'Breikšs', 'Brencēns', 'Brice', 'Briede', 'Briedis', 'Broks', 'Brože', 'Buiķis', 'Buks', 'Bulis', 'Bumbiere', 'Burvis', 'Butāne', 'Butkus', - 'Cālītis', 'Caune', 'Caunītis', 'Celmiņa', 'Celmiņš', 'Celms', 'Ceplītis', 'Cērps', 'Cielēns', 'Ciemiņš', 'Cipruss', 'Cipulis', 'Cīrulis', - 'Čaklais', 'Čakste', 'Čevers', 'Čukste', - 'Dāboliņš', 'Daiders', 'Dālderis', 'Dambis', 'Dārziņš', 'Dārznieks', 'Deglavs', 'Dimants', 'Dobelis', 'Draviņš', 'Dravnieks', 'Dubra', 'Dukure', 'Dukurs', 'Dumpe', 'Dumpis', 'Dzelme', 'Dzelzītis', 'Dzenis', 'Dzenītis', 'Dzērve', 'Dzintars', 'Dzirne', 'Džeriņš', - 'Egle', 'Eglīte', 'Eglītis', 'Eiduka', 'Eisaks', 'Elksne', 'Endzelīna', 'Endzelīns', 'Endziņš', 'Eniņš', 'Ezeriņš', - 'Ēķis', 'Ērglis', - 'Freimanis', - 'Gaigals', 'Gaile', 'Gailis', 'Gailītis', 'Galviņš', 'Garanča', 'Gauja', 'Goba', 'Goppers', 'Gorkšs', 'Grantiņš', 'Graudiņš', 'Grauds', 'Grava', 'Grāvelis', 'Greste', 'Grēviņš', 'Grīva', 'Grūbe', 'Gruzītis', 'Gulbe', 'Gulbis', - 'Ģīlis', 'Ģirģens', - 'Igaunis', 'Ikauniece', 'Ikaunieks', 'Indriksone', 'Indriksons', 'Irbe', - 'Īvāns', - 'Jankausks', 'Jaudzems', 'Jaunzeme', 'Jaunzemis', 'Jaunzems', 'Jurjāns', 'Jūsmiņš', - 'Kadiķis', 'Kaijaks', 'Kaktiņš', 'Kalējs', 'Kalna', 'Kalnbērzs', 'Kalniņa', 'Kalniņš', 'Kalnozols', 'Kalns', 'Kalpaks', 'Kambala', 'Kantāns', 'Kants', 'Kaņeps', 'Karašausks', 'Kārkliņa', 'Kārkliņš', 'Kauliņš', 'Kauls', 'Kazlausks', 'Kazričs', 'Kirmuška', 'Kivlenieks', 'Klētniece', 'Klišāns', 'Kļava', 'Kļaviņa', 'Kļaviņš', 'Kociņš', 'Kokina', 'Kokins', 'Kokle', 'Kozlovskis', 'Kramiņš', 'Krastiņa', 'Krastiņš', 'Krauklis', 'Krieviņš', 'Krievs', 'Krollis', 'Krūkliņš', 'Krūmiņa', 'Krūmiņš', 'Krustiņš', 'Kubiļus', 'Kubuliņa', 'Kugrēns', 'Kukainis', 'Kukule', 'Kukulis', 'Kūlis', 'Kundziņš', 'Kurpnieks', 'Kursītis', 'Kusiņš', 'Kušķis', 'Kvēps', - 'Ķemere', 'Ķempe', 'Ķēniņš', 'Ķibilds', 'Ķuzis', - 'Ladusāns', 'Lāce', 'Lācis', 'Lagzdiņš', 'Laime', 'Laimiņš', 'Laizāne', 'Laizāns', 'Lapainis', 'Lapiņš', 'Lapsa', 'Latvis', 'Lauks', 'Lauskis', 'Laviņa', 'Laviņš', 'Lazda', 'Lazdiņš', 'Legzdiņš', 'Leitāns', 'Leitis', 'Leja', 'Lejiņš', 'Lejnieks', 'Lībietis', 'Līce', 'Līdaka', 'Lieģis', 'Lielais', 'Lielgalvis', 'Liepa', 'Liepiņa', 'Liepiņš', 'Liepkalne', 'Linga', 'Liniņš', 'Ločmele', 'Ločmelis', 'Logina', 'Logins', 'Loze', 'Lujāns', 'Lūkins', 'Lūriņa', 'Lūsis', - 'Ļaksa', - 'Mangulis', 'Matīsa', 'Mauriņa', 'Mediņš', 'Mednis', 'Melbārde', 'Melbārdis', 'Mellupe', 'Melngailis', 'Mētra', 'Mežaraups', 'Mežciems', 'Mežlauks', 'Mežulis', 'Miezis', 'Miezītis', 'Miglinieks', 'Misāns', 'Miķelsons', 'Muceniece', 'Mucenieks', 'Muciņš', 'Muižniece', 'Muižnieks', 'Muktupāvela', 'Muktupāvels', 'Mūrniece', 'Mūrnieks', - 'Neretniece', 'Niedra', 'Niedre', - 'Oliņš', 'Osis', 'Oškalns', 'Ošs', 'Ozola', 'Ozoliņa', 'Ozoliņš', 'Ozols', - 'Pabērzs', 'Paegle', 'Pauļuks', 'Pelšs', 'Peniķis', 'Petrausks', 'Pīrāgs', 'Plaude', 'Plaudis', 'Plotnieks', 'Plūme', 'Pļaviņš', 'Pļavniece', 'Podnieks', 'Poikāns', 'Polis', 'Pormalis', 'Prauliņa', 'Prauliņš', 'Priede', 'Priedīte', 'Pūce', 'Pujāts', 'Puķe', 'Pumpurs', 'Pūpols', 'Pupurs', 'Puriņš', 'Purnis', 'Purviņš', 'Putniņa', 'Putniņš', 'Putra', - 'Radziņa', 'Radziņš', 'Rancāns', 'Raņķis', 'Rapa', 'Rausis', 'Reinika', 'Reiniks', 'Reizniece', 'Repše', 'Riekstiņš', 'Rijnieks', 'Rītiņš', 'Robežnieks', 'Roga', 'Rokpelnis', 'Ronis', 'Roze', 'Roziņš', 'Rozītis', 'Rožlapa', 'Rubene', 'Rubenis', 'Rudzīte', 'Rudzītis', 'Rullis', 'Rūmnieks', 'Rūtiņš', - 'Sabonis', 'Saliņš', 'Salmiņš', 'Salnis', 'Saulietis', 'Saulīte', 'Saulītis', 'Sedlenieks', 'Segliņa', 'Segliņš', 'Seile', 'Seiļs', 'Sesks', 'Siliņa', 'Siliņš', 'Sīlis', 'Sīmanis', 'Sirmais', 'Skābardis', 'Skalbe', 'Skrastiņa', 'Skrastiņš', 'Skride', 'Skrinda', 'Skudra', 'Skuja', 'Skujenieks', 'Skujiņa', 'Skujiņš', 'Skulme', 'Sodums', 'Spridzāns', 'Sproģe', 'Sproģis', 'Sprūdžs', 'Spūlis', 'Stabiņš', 'Stalts', 'Staprāns', 'Stepiņš', 'Stradiņš', 'Straumanis', 'Straume', 'Straupe', 'Strautmane', 'Strautmanis', 'Strautnieks', 'Strazdiņš', 'Strazds', 'Strēlis', 'Strēlnieks', 'Strods', 'Sudmalis', 'Sudraba', 'Sukurs', 'Sukuts', - 'Šķēle', 'Šnepsts', - 'Tauriņš', 'Teilāne', 'Tērauda', 'Timma', 'Tīruma', 'Titāns', 'Turss', - 'Upenieks', 'Upītis', 'Upmale', 'Urtāns', 'Ušpelis', 'Uzuliņš', - 'Ūdentiņš', 'Ūders', 'Ūdre', 'Ūdris', - 'Vācietis', 'Vairogs', 'Vaišļa', 'Vaivods', 'Vanags', 'Varslavāns', 'Vasarietis', 'Vazdika', 'Vazdiks', 'Vecozols', 'Vecumnieks', 'Vecvagars', 'Vērdiņš', 'Vīgante', 'Vīksna', 'Vīksne', 'Vilcāne', 'Vilciņa', 'Vilciņš', 'Vilkaste', 'Vilks', 'Viļums', 'Vimba', 'Vītola', 'Vītoliņš', 'Vītols', - 'Zaķis', 'Zāle', 'Zālīte', 'Zālītis', 'Zaļupe', 'Zariņa', 'Zariņš', 'Zelčs', 'Zeltiņa', 'Zeltiņš', 'Zemdega', 'Zemgals', 'Zemītis', 'Zemzaris', 'Ziedonis', 'Ziemele', 'Ziemelis', 'Zīle', 'Zirnis', 'Znotiņš', 'Zvagulis', 'Zvejnieks', 'Zviedris', 'Zvirbulis', 'Zvirgzdiņš', - 'Žagars', 'Žukausks', - ]; + /** + * {@link} https://lv.wikipedia.org/wiki/Kategorija:Latvie%C5%A1u_uzv%C4%81rdi + */ + protected static $lastName = [ + 'Abuls', + 'Aizupe', + 'Akmentiņš', + 'Alksnis', + 'Alunāns', + 'Ancāns', + 'Andžāns', + 'Ankipāns', + 'Aparjode', + 'Apine', + 'Apinis', + 'Aploks', + 'Apse', + 'Apsītis', + 'Arājs', + 'Asars', + 'Astra', + 'Augstkalns', + 'Augškalns', + 'Auniņš', + 'Auns', + 'Auškāps', + 'Auziņa', + 'Auziņš', + 'Avens', + 'Avens', + 'Avotiņš', + 'Avots', + 'Ābele', + 'Ābelīte', + 'Ābola', + 'Āboliņa', + 'Āboliņš', + 'Ābols', + 'Āboltiņa', + 'Āboltiņš', + 'Ārgalis', + 'Bajārs', + 'Baldzēns', + 'Bāliņa', + 'Bāliņš', + 'Balode', + 'Balodis', + 'Baltgailis', + 'Baltiņš', + 'Banga', + 'Bārbale', + 'Bārda', + 'Bargais', + 'Barkāns', + 'Barons', + 'Baušķenieks', + 'Bebris', + 'Berģis', + 'Bertāns', + 'Bērziņa', + 'Bērziņš', + 'Bērzkalns', + 'Bērzs', + 'Bētiņš', + 'Biezais', + 'Birkavs', + 'Birkerts', + 'Birze', + 'Birznieks', + 'Bisenieks', + 'Bite', + 'Bitenieks', + 'Bļodnieks', + 'Bojārs', + 'Brasla', + 'Breikšs', + 'Brencēns', + 'Brice', + 'Briede', + 'Briedis', + 'Broks', + 'Brože', + 'Buiķis', + 'Buks', + 'Bulis', + 'Bumbiere', + 'Burvis', + 'Butāne', + 'Butkus', + 'Cālītis', + 'Caune', + 'Caunītis', + 'Celmiņa', + 'Celmiņš', + 'Celms', + 'Ceplītis', + 'Cērps', + 'Cielēns', + 'Ciemiņš', + 'Cipruss', + 'Cipulis', + 'Cīrulis', + 'Čaklais', + 'Čakste', + 'Čevers', + 'Čukste', + 'Dāboliņš', + 'Daiders', + 'Dālderis', + 'Dambis', + 'Dārziņš', + 'Dārznieks', + 'Deglavs', + 'Dimants', + 'Dobelis', + 'Draviņš', + 'Dravnieks', + 'Dubra', + 'Dukure', + 'Dukurs', + 'Dumpe', + 'Dumpis', + 'Dzelme', + 'Dzelzītis', + 'Dzenis', + 'Dzenītis', + 'Dzērve', + 'Dzintars', + 'Dzirne', + 'Džeriņš', + 'Egle', + 'Eglīte', + 'Eglītis', + 'Eiduka', + 'Eisaks', + 'Elksne', + 'Endzelīna', + 'Endzelīns', + 'Endziņš', + 'Eniņš', + 'Ezeriņš', + 'Ēķis', + 'Ērglis', + 'Freimanis', + 'Gaigals', + 'Gaile', + 'Gailis', + 'Gailītis', + 'Galviņš', + 'Garanča', + 'Gauja', + 'Goba', + 'Goppers', + 'Gorkšs', + 'Grantiņš', + 'Graudiņš', + 'Grauds', + 'Grava', + 'Grāvelis', + 'Greste', + 'Grēviņš', + 'Grīva', + 'Grūbe', + 'Gruzītis', + 'Gulbe', + 'Gulbis', + 'Ģīlis', + 'Ģirģens', + 'Igaunis', + 'Ikauniece', + 'Ikaunieks', + 'Indriksone', + 'Indriksons', + 'Irbe', + 'Īvāns', + 'Jankausks', + 'Jaudzems', + 'Jaunzeme', + 'Jaunzemis', + 'Jaunzems', + 'Jurjāns', + 'Jūsmiņš', + 'Kadiķis', + 'Kaijaks', + 'Kaktiņš', + 'Kalējs', + 'Kalna', + 'Kalnbērzs', + 'Kalniņa', + 'Kalniņš', + 'Kalnozols', + 'Kalns', + 'Kalpaks', + 'Kambala', + 'Kantāns', + 'Kants', + 'Kaņeps', + 'Karašausks', + 'Kārkliņa', + 'Kārkliņš', + 'Kauliņš', + 'Kauls', + 'Kazlausks', + 'Kazričs', + 'Kirmuška', + 'Kivlenieks', + 'Klētniece', + 'Klišāns', + 'Kļava', + 'Kļaviņa', + 'Kļaviņš', + 'Kociņš', + 'Kokina', + 'Kokins', + 'Kokle', + 'Kozlovskis', + 'Kramiņš', + 'Krastiņa', + 'Krastiņš', + 'Krauklis', + 'Krieviņš', + 'Krievs', + 'Krollis', + 'Krūkliņš', + 'Krūmiņa', + 'Krūmiņš', + 'Krustiņš', + 'Kubiļus', + 'Kubuliņa', + 'Kugrēns', + 'Kukainis', + 'Kukule', + 'Kukulis', + 'Kūlis', + 'Kundziņš', + 'Kurpnieks', + 'Kursītis', + 'Kusiņš', + 'Kušķis', + 'Kvēps', + 'Ķemere', + 'Ķempe', + 'Ķēniņš', + 'Ķibilds', + 'Ķuzis', + 'Ladusāns', + 'Lāce', + 'Lācis', + 'Lagzdiņš', + 'Laime', + 'Laimiņš', + 'Laizāne', + 'Laizāns', + 'Lapainis', + 'Lapiņš', + 'Lapsa', + 'Latvis', + 'Lauks', + 'Lauskis', + 'Laviņa', + 'Laviņš', + 'Lazda', + 'Lazdiņš', + 'Legzdiņš', + 'Leitāns', + 'Leitis', + 'Leja', + 'Lejiņš', + 'Lejnieks', + 'Lībietis', + 'Līce', + 'Līdaka', + 'Lieģis', + 'Lielais', + 'Lielgalvis', + 'Liepa', + 'Liepiņa', + 'Liepiņš', + 'Liepkalne', + 'Linga', + 'Liniņš', + 'Ločmele', + 'Ločmelis', + 'Logina', + 'Logins', + 'Loze', + 'Lujāns', + 'Lūkins', + 'Lūriņa', + 'Lūsis', + 'Ļaksa', + 'Mangulis', + 'Matīsa', + 'Mauriņa', + 'Mediņš', + 'Mednis', + 'Melbārde', + 'Melbārdis', + 'Mellupe', + 'Melngailis', + 'Mētra', + 'Mežaraups', + 'Mežciems', + 'Mežlauks', + 'Mežulis', + 'Miezis', + 'Miezītis', + 'Miglinieks', + 'Misāns', + 'Miķelsons', + 'Muceniece', + 'Mucenieks', + 'Muciņš', + 'Muižniece', + 'Muižnieks', + 'Muktupāvela', + 'Muktupāvels', + 'Mūrniece', + 'Mūrnieks', + 'Neretniece', + 'Niedra', + 'Niedre', + 'Oliņš', + 'Osis', + 'Oškalns', + 'Ošs', + 'Ozola', + 'Ozoliņa', + 'Ozoliņš', + 'Ozols', + 'Pabērzs', + 'Paegle', + 'Pauļuks', + 'Pelšs', + 'Peniķis', + 'Petrausks', + 'Pīrāgs', + 'Plaude', + 'Plaudis', + 'Plotnieks', + 'Plūme', + 'Pļaviņš', + 'Pļavniece', + 'Podnieks', + 'Poikāns', + 'Polis', + 'Pormalis', + 'Prauliņa', + 'Prauliņš', + 'Priede', + 'Priedīte', + 'Pūce', + 'Pujāts', + 'Puķe', + 'Pumpurs', + 'Pūpols', + 'Pupurs', + 'Puriņš', + 'Purnis', + 'Purviņš', + 'Putniņa', + 'Putniņš', + 'Putra', + 'Radziņa', + 'Radziņš', + 'Rancāns', + 'Raņķis', + 'Rapa', + 'Rausis', + 'Reinika', + 'Reiniks', + 'Reizniece', + 'Repše', + 'Riekstiņš', + 'Rijnieks', + 'Rītiņš', + 'Robežnieks', + 'Roga', + 'Rokpelnis', + 'Ronis', + 'Roze', + 'Roziņš', + 'Rozītis', + 'Rožlapa', + 'Rubene', + 'Rubenis', + 'Rudzīte', + 'Rudzītis', + 'Rullis', + 'Rūmnieks', + 'Rūtiņš', + 'Sabonis', + 'Saliņš', + 'Salmiņš', + 'Salnis', + 'Saulietis', + 'Saulīte', + 'Saulītis', + 'Sedlenieks', + 'Segliņa', + 'Segliņš', + 'Seile', + 'Seiļs', + 'Sesks', + 'Siliņa', + 'Siliņš', + 'Sīlis', + 'Sīmanis', + 'Sirmais', + 'Skābardis', + 'Skalbe', + 'Skrastiņa', + 'Skrastiņš', + 'Skride', + 'Skrinda', + 'Skudra', + 'Skuja', + 'Skujenieks', + 'Skujiņa', + 'Skujiņš', + 'Skulme', + 'Sodums', + 'Spridzāns', + 'Sproģe', + 'Sproģis', + 'Sprūdžs', + 'Spūlis', + 'Stabiņš', + 'Stalts', + 'Staprāns', + 'Stepiņš', + 'Stradiņš', + 'Straumanis', + 'Straume', + 'Straupe', + 'Strautmane', + 'Strautmanis', + 'Strautnieks', + 'Strazdiņš', + 'Strazds', + 'Strēlis', + 'Strēlnieks', + 'Strods', + 'Sudmalis', + 'Sudraba', + 'Sukurs', + 'Sukuts', + 'Šķēle', + 'Šnepsts', + 'Tauriņš', + 'Teilāne', + 'Tērauda', + 'Timma', + 'Tīruma', + 'Titāns', + 'Turss', + 'Upenieks', + 'Upītis', + 'Upmale', + 'Urtāns', + 'Ušpelis', + 'Uzuliņš', + 'Ūdentiņš', + 'Ūders', + 'Ūdre', + 'Ūdris', + 'Vācietis', + 'Vairogs', + 'Vaišļa', + 'Vaivods', + 'Vanags', + 'Varslavāns', + 'Vasarietis', + 'Vazdika', + 'Vazdiks', + 'Vecozols', + 'Vecumnieks', + 'Vecvagars', + 'Vērdiņš', + 'Vīgante', + 'Vīksna', + 'Vīksne', + 'Vilcāne', + 'Vilciņa', + 'Vilciņš', + 'Vilkaste', + 'Vilks', + 'Viļums', + 'Vimba', + 'Vītola', + 'Vītoliņš', + 'Vītols', + 'Zaķis', + 'Zāle', + 'Zālīte', + 'Zālītis', + 'Zaļupe', + 'Zariņa', + 'Zariņš', + 'Zelčs', + 'Zeltiņa', + 'Zeltiņš', + 'Zemdega', + 'Zemgals', + 'Zemītis', + 'Zemzaris', + 'Ziedonis', + 'Ziemele', + 'Ziemelis', + 'Zīle', + 'Zirnis', + 'Znotiņš', + 'Zvagulis', + 'Zvejnieks', + 'Zviedris', + 'Zvirbulis', + 'Zvirgzdiņš', + 'Žagars', + 'Žukausks', + ]; - public function driverLicence() - { - return static::bothify('??######'); - } + public function driverLicence() { + return static::bothify( '??######' ); + } - public function passportNumber() - { - return static::bothify('??#######'); - } + public function passportNumber() { + return static::bothify( '??#######' ); + } - /** - * National Personal Identity number (personas kods) - * - * @see https://en.wikipedia.org/wiki/National_identification_number#Latvia - * - * @param \DateTime $birthdate - * - * @return string on format XXXXXX-XXXXX - */ - public function personalIdentityNumber(\DateTime $birthdate = null) - { - if (!$birthdate) { - $birthdate = DateTime::dateTimeThisCentury(); - } + /** + * National Personal Identity number (personas kods) + * + * @see https://en.wikipedia.org/wiki/National_identification_number#Latvia + * + * @param \DateTime $birthdate + * + * @return string on format XXXXXX-XXXXX + */ + public function personalIdentityNumber( \DateTime $birthdate = null ) { + if ( ! $birthdate ) { + $birthdate = DateTime::dateTimeThisCentury(); + } - $datePart = $birthdate->format('dmy'); - $randomDigits = (string) static::numerify('####'); + $datePart = $birthdate->format( 'dmy' ); + $randomDigits = (string) static::numerify( '####' ); - $checksum = Luhn::computeCheckDigit($datePart . $randomDigits); + $checksum = Luhn::computeCheckDigit( $datePart . $randomDigits ); - return $datePart . '-' . $randomDigits . $checksum; - } + return $datePart . '-' . $randomDigits . $checksum; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/PhoneNumber.php index 2cfdcb5..31eed9c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/lv_LV/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/lv_LV/PhoneNumber.php @@ -2,14 +2,13 @@ namespace Faker\Provider\lv_LV; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * {@link} https://en.wikipedia.org/wiki/Telephone_numbers_in_Latvia - */ - protected static $formats = [ - '########', - '## ### ###', - '+371 ########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * {@link} https://en.wikipedia.org/wiki/Telephone_numbers_in_Latvia + */ + protected static $formats = [ + '########', + '## ### ###', + '+371 ########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Address.php b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Address.php index 3a21cf2..1f43d6b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Address.php @@ -2,118 +2,669 @@ namespace Faker\Provider\me_ME; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####']; +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####' ]; - protected static $streetPrefix = [ - '', - ]; + protected static $streetPrefix = [ + '', + ]; - /** - * @see http://podgorica.mapa.in.rs/ - */ - protected static $street = [ - '1. crnogorske brigade narodne odbrane', '1. maja', '1. proleterske brigade', '10. crnogorske brigade', '13. jula', '18. februara', '18. jula', '19. decembra', '2. crnogorskog bataljona', '2. proleterske dalmatinske brigade', '27. marta', '3. sandžačke proleterske brigade', '4. jula', '4. proleterske brigade', '5. proleterske brigade', '6. crnogorske udarne brigade', '7. omladinske brigade', '8. crnogorske udarne brigade', '8. jula', '8. marta', '9. crnogorske brigade', - 'Admirala Zmajevića', 'Aerodromska', 'Aleksandra Ace Prijića', 'Aleksandra Lesa Ivanovića', 'Aleksandra Puškina', 'Alekse Šantića', 'Alfreda Tenisona', 'Andrije Paltašića', 'Andrijevička', 'Antona Čehova', 'Arhitekte Milana Popovića', 'Arsenija Čarnojevića', 'Atinska', 'AVNOJ-a', - 'Balkanska', 'Balšića', 'Barska', 'Belvederska', 'Beogradska', 'Berska', 'Bjelasička', 'Bjelopoljska', 'Blaža Jovanovića', 'Bohinjska', 'Bokeljske mornarice', 'Bokeška', 'Bore i Ramiza', 'Borisa Kidriča', 'Boška Buhe', 'Botunska', 'Bracana Bracanovića', 'Braće Ribar', 'Branislava Lekića', 'Branka Ćopića', 'Branka Deletića', 'Branka Radičevića', 'Bratonožićka', 'Bratstva i jedinstva', 'Bregalnička', 'Buda Tomovića', 'Budvanska', 'Bulevar Džordža Vašingtona', 'Bulevar Ivana Crnojevića', 'Bulevar Mihaila Lalića', 'Bulevar revolucije', 'Bulevar Save Kovačevića', - 'Cara Lazara', 'Carev laz', 'Ceklinska', 'Cetinjski put', 'Crnogorskih serdara', 'Crnojevića', 'Cvijetna', - 'Dajbabska', 'Dalmatinska', 'Danilovgradska', 'Desanke Maksimović', 'Dositeja Obradovića', 'Dr Blaža Raičevića', 'Dr Filipa Šoća', 'Dr Milutina Kažića', 'Dr Nika Miljanića', 'Dr Saše Božovića', 'Drvarska', 'Dukljanska', 'Dunavska', 'Durmitorska', 'Dušana Duće Mugoše', 'Dušana Milutinovića', 'Dušana Vukotića', 'Džan', 'Đečevića', 'Đoka Miraševića', 'Đuje Jovanovića', 'Đure Daničića', - 'Emila Zole', 'Franca Prešerna', 'Franca Rozmana', 'Fruškogorska', 'Fundinske bitke', - 'Gavra Vukovića', 'Gavrila Principa', 'Generala Sava Orlovića', 'Georgi Dimitrova', 'Geteova', 'Goce Delčeva', 'Gojka Radonjića', 'Goranska', 'Gorička', 'Grahovačka', - 'Hajduk Veljkova', 'Hercegnovska', 'Hercegovačka', 'Husinskih rudara', - 'Igmanska', 'Ilije Milačića', 'Isidore Sekulić', 'Ivana Cankara', 'Ivana Gorana Kovačića', 'Ivana Milutinovića', 'Ivana Vujoševića', 'Ivangradska', 'Ive Andrića', 'Iveze Vukova', - 'Jadranska', 'Janka Đanovića', 'Janka Vukotića', 'Jaroslava Čermaka', 'Jelene Balšić', 'Jerevanska', 'Jezerska', 'Josipa Broza Tita', 'Jovana Cvijića', 'Jovana Ćetkovića', 'Jovana Tomaševića', - 'Kadinjača', 'Karađorđeva', 'Kninska', 'KNOJ-a', 'Kolašinska', 'Komska', 'Kosmajska', 'Kosovska', 'Kosovskih junaka', 'Koste Racina', 'Kotorska', 'Kozaračka', 'Kragujevačka', 'Kralja Nikole', 'Kraljevačka', - 'Lamela', 'Lazara Sočice', 'Lička', 'Lovćenska', 'Ludviga Kube', 'Luke Boljevića', 'Lutovačkih barjaktara', 'Ljesanska', 'Ljeskopoljska', 'Ljube Čupića', 'Ljube Nenadovića', 'Ljubljanska', 'Ljubostinjskih junaka', 'Ljubovićka', - 'Majevička', 'Manastirska', 'Marka Mašanovića', 'Marka Miljanova', 'Matije Gupca', 'Mediteranska', 'Medunska', 'Meše Selimovića', 'Mila Milunovića', 'Mila Peruničića', 'Mila Radunovića', 'Miladina Popovića', 'Milana Kuča', 'Milana Raičkovića', 'Miloja Pavlovića', 'Miloša Obilića', 'Miljana Vukova', 'Miodraga Bulatovića', 'Mirka Banjevića', 'Mirka Vešovića', 'Mitra Bakića', 'Mojkovačka', 'Mojsija Zečevića', 'Moračka', 'Moskovska', 'Moskovski most', 'Mosorska', 'Most Milenijum', 'Most žrtava 5. maja 1944.', 'Mušikića', - 'Neznanih junaka', 'Nikca od Rovina', 'Nikole Đurkovića', 'Nikole Lopičića', 'Nikole Tesle', 'Nikšićka', 'Novaka Miloševa', 'Novaka Ramova', 'Novosadska', 'Njegoševa', - 'Obala Ribnice', 'Obodska', 'Ohridska', 'Oktobarske revolucije', 'Omera Abdovića', 'Omladinskih brigada', 'Orijenska', - 'Pariske komune', 'Partizanski put', 'Pera Počeka', 'Perojska', 'Petra Kočića', 'Petra Lubarde', 'Petra Prlje', 'Pilota Cvetkovića i Milojevića', 'Piperska', 'Pivska', 'Plavska', 'Plitvička', 'Plužinska', 'Pljevaljska', 'Pohorska', 'Polimska', 'Popa Boška Popovića', 'Predraga Golubovića', 'Princa Mihaila Petrovića', 'Prištinska', 'Prolaz Generala Dožića', - 'Radnička', 'Radoja Jovanovića', 'Radomira Ivanovića', 'Radosava Burića', 'Radosava Popovića', 'Radovana Petrovića', 'Radovana Vukanovića', 'Radovana Zogovića', 'Radula Rusa Radulovića', 'Rista Stijovića', 'Rogamska', 'Rovačka', 'Ruža', - 'Sarajevska', 'Sava Lubarde', 'Sava Nikolića', 'Savska', 'Serdara Jola Piletića', 'Sergeja Jesenjina', 'Sime Matavulja', 'Simona Ivanova', 'Sitnička', 'Skadarska', 'SKOJ-a', 'Skopska', 'Slavonska', 'Slobodana Škerovića', 'Slobode', 'Sloge', 'Spasa Nikolića', 'Spasoja Raspopovića', 'Srednjoškolska', 'Stanka Dragojevića', 'Stefana Mitrova Ljubiše', 'Steva Boljevića', 'Steva Kraljevića', 'Studentska', 'Svetog Petra Cetinjskog', 'Svetozara Markovića', 'Šarkića', 'Šavnička', 'Španskih boraca', 'Špira Mugoše', - 'Tivatska', 'Trebinjska', 'Trg Božane Vučinić', 'Trg golootočkih žrtava', 'Trg Nikole Kovačevića', 'Trg republike', 'Trifuna Đukića', 'Triglavska', 'Tripa Kukolja', 'Tuška', - 'Ulcinjska', 'Užička', - 'Valtazara Bogišića', 'Vardarska', 'Vasa Raičkovića', 'Velimira Stojanovića', 'Velimira Terzića', 'Veljka Jankovića', 'Vezirov most', 'Vinogradska', 'Vitomira Vita Nikolića', 'Vlada Ćetkovića', 'Vlada Martinovića', 'Vladike Danila', 'Vladike Petra I', 'Vladike Vasilija Petrovića', 'Vojisavljevića', 'Vojislava Grujića', 'Vojvode Ilije Plamenca', 'Vojvode Mijajla Nišina', 'Vojvode Mirka Petrovića', 'Vojvode Raduna', 'Vojvode Vase Bracanova', 'Vojvođanska', 'Vrela 2.', 'Vrela 3.', 'Vrela 4.', 'Vrela 5.', 'Vrela 6.', 'Vučedolska', 'Vuka Đurovića', 'Vuka Karadžića', 'Vuka Mandušića', 'Vuka Mićunovića', 'Vukice Mitrović', 'Vukosava Božovića', - 'Zagrebačka', 'Zetskih vladara', 'Zetskog odreda', 'Zmaj Jovina', 'Žabljačka', 'Žarka Zrenjanina', 'Žikice Jovanovića Španca', 'Žrtava fašizma', - ]; + /** + * @see http://podgorica.mapa.in.rs/ + */ + protected static $street = [ + '1. crnogorske brigade narodne odbrane', + '1. maja', + '1. proleterske brigade', + '10. crnogorske brigade', + '13. jula', + '18. februara', + '18. jula', + '19. decembra', + '2. crnogorskog bataljona', + '2. proleterske dalmatinske brigade', + '27. marta', + '3. sandžačke proleterske brigade', + '4. jula', + '4. proleterske brigade', + '5. proleterske brigade', + '6. crnogorske udarne brigade', + '7. omladinske brigade', + '8. crnogorske udarne brigade', + '8. jula', + '8. marta', + '9. crnogorske brigade', + 'Admirala Zmajevića', + 'Aerodromska', + 'Aleksandra Ace Prijića', + 'Aleksandra Lesa Ivanovića', + 'Aleksandra Puškina', + 'Alekse Šantića', + 'Alfreda Tenisona', + 'Andrije Paltašića', + 'Andrijevička', + 'Antona Čehova', + 'Arhitekte Milana Popovića', + 'Arsenija Čarnojevića', + 'Atinska', + 'AVNOJ-a', + 'Balkanska', + 'Balšića', + 'Barska', + 'Belvederska', + 'Beogradska', + 'Berska', + 'Bjelasička', + 'Bjelopoljska', + 'Blaža Jovanovića', + 'Bohinjska', + 'Bokeljske mornarice', + 'Bokeška', + 'Bore i Ramiza', + 'Borisa Kidriča', + 'Boška Buhe', + 'Botunska', + 'Bracana Bracanovića', + 'Braće Ribar', + 'Branislava Lekića', + 'Branka Ćopića', + 'Branka Deletića', + 'Branka Radičevića', + 'Bratonožićka', + 'Bratstva i jedinstva', + 'Bregalnička', + 'Buda Tomovića', + 'Budvanska', + 'Bulevar Džordža Vašingtona', + 'Bulevar Ivana Crnojevića', + 'Bulevar Mihaila Lalića', + 'Bulevar revolucije', + 'Bulevar Save Kovačevića', + 'Cara Lazara', + 'Carev laz', + 'Ceklinska', + 'Cetinjski put', + 'Crnogorskih serdara', + 'Crnojevića', + 'Cvijetna', + 'Dajbabska', + 'Dalmatinska', + 'Danilovgradska', + 'Desanke Maksimović', + 'Dositeja Obradovića', + 'Dr Blaža Raičevića', + 'Dr Filipa Šoća', + 'Dr Milutina Kažića', + 'Dr Nika Miljanića', + 'Dr Saše Božovića', + 'Drvarska', + 'Dukljanska', + 'Dunavska', + 'Durmitorska', + 'Dušana Duće Mugoše', + 'Dušana Milutinovića', + 'Dušana Vukotića', + 'Džan', + 'Đečevića', + 'Đoka Miraševića', + 'Đuje Jovanovića', + 'Đure Daničića', + 'Emila Zole', + 'Franca Prešerna', + 'Franca Rozmana', + 'Fruškogorska', + 'Fundinske bitke', + 'Gavra Vukovića', + 'Gavrila Principa', + 'Generala Sava Orlovića', + 'Georgi Dimitrova', + 'Geteova', + 'Goce Delčeva', + 'Gojka Radonjića', + 'Goranska', + 'Gorička', + 'Grahovačka', + 'Hajduk Veljkova', + 'Hercegnovska', + 'Hercegovačka', + 'Husinskih rudara', + 'Igmanska', + 'Ilije Milačića', + 'Isidore Sekulić', + 'Ivana Cankara', + 'Ivana Gorana Kovačića', + 'Ivana Milutinovića', + 'Ivana Vujoševića', + 'Ivangradska', + 'Ive Andrića', + 'Iveze Vukova', + 'Jadranska', + 'Janka Đanovića', + 'Janka Vukotića', + 'Jaroslava Čermaka', + 'Jelene Balšić', + 'Jerevanska', + 'Jezerska', + 'Josipa Broza Tita', + 'Jovana Cvijića', + 'Jovana Ćetkovića', + 'Jovana Tomaševića', + 'Kadinjača', + 'Karađorđeva', + 'Kninska', + 'KNOJ-a', + 'Kolašinska', + 'Komska', + 'Kosmajska', + 'Kosovska', + 'Kosovskih junaka', + 'Koste Racina', + 'Kotorska', + 'Kozaračka', + 'Kragujevačka', + 'Kralja Nikole', + 'Kraljevačka', + 'Lamela', + 'Lazara Sočice', + 'Lička', + 'Lovćenska', + 'Ludviga Kube', + 'Luke Boljevića', + 'Lutovačkih barjaktara', + 'Ljesanska', + 'Ljeskopoljska', + 'Ljube Čupića', + 'Ljube Nenadovića', + 'Ljubljanska', + 'Ljubostinjskih junaka', + 'Ljubovićka', + 'Majevička', + 'Manastirska', + 'Marka Mašanovića', + 'Marka Miljanova', + 'Matije Gupca', + 'Mediteranska', + 'Medunska', + 'Meše Selimovića', + 'Mila Milunovića', + 'Mila Peruničića', + 'Mila Radunovića', + 'Miladina Popovića', + 'Milana Kuča', + 'Milana Raičkovića', + 'Miloja Pavlovića', + 'Miloša Obilića', + 'Miljana Vukova', + 'Miodraga Bulatovića', + 'Mirka Banjevića', + 'Mirka Vešovića', + 'Mitra Bakića', + 'Mojkovačka', + 'Mojsija Zečevića', + 'Moračka', + 'Moskovska', + 'Moskovski most', + 'Mosorska', + 'Most Milenijum', + 'Most žrtava 5. maja 1944.', + 'Mušikića', + 'Neznanih junaka', + 'Nikca od Rovina', + 'Nikole Đurkovića', + 'Nikole Lopičića', + 'Nikole Tesle', + 'Nikšićka', + 'Novaka Miloševa', + 'Novaka Ramova', + 'Novosadska', + 'Njegoševa', + 'Obala Ribnice', + 'Obodska', + 'Ohridska', + 'Oktobarske revolucije', + 'Omera Abdovića', + 'Omladinskih brigada', + 'Orijenska', + 'Pariske komune', + 'Partizanski put', + 'Pera Počeka', + 'Perojska', + 'Petra Kočića', + 'Petra Lubarde', + 'Petra Prlje', + 'Pilota Cvetkovića i Milojevića', + 'Piperska', + 'Pivska', + 'Plavska', + 'Plitvička', + 'Plužinska', + 'Pljevaljska', + 'Pohorska', + 'Polimska', + 'Popa Boška Popovića', + 'Predraga Golubovića', + 'Princa Mihaila Petrovića', + 'Prištinska', + 'Prolaz Generala Dožića', + 'Radnička', + 'Radoja Jovanovića', + 'Radomira Ivanovića', + 'Radosava Burića', + 'Radosava Popovića', + 'Radovana Petrovića', + 'Radovana Vukanovića', + 'Radovana Zogovića', + 'Radula Rusa Radulovića', + 'Rista Stijovića', + 'Rogamska', + 'Rovačka', + 'Ruža', + 'Sarajevska', + 'Sava Lubarde', + 'Sava Nikolića', + 'Savska', + 'Serdara Jola Piletića', + 'Sergeja Jesenjina', + 'Sime Matavulja', + 'Simona Ivanova', + 'Sitnička', + 'Skadarska', + 'SKOJ-a', + 'Skopska', + 'Slavonska', + 'Slobodana Škerovića', + 'Slobode', + 'Sloge', + 'Spasa Nikolića', + 'Spasoja Raspopovića', + 'Srednjoškolska', + 'Stanka Dragojevića', + 'Stefana Mitrova Ljubiše', + 'Steva Boljevića', + 'Steva Kraljevića', + 'Studentska', + 'Svetog Petra Cetinjskog', + 'Svetozara Markovića', + 'Šarkića', + 'Šavnička', + 'Španskih boraca', + 'Špira Mugoše', + 'Tivatska', + 'Trebinjska', + 'Trg Božane Vučinić', + 'Trg golootočkih žrtava', + 'Trg Nikole Kovačevića', + 'Trg republike', + 'Trifuna Đukića', + 'Triglavska', + 'Tripa Kukolja', + 'Tuška', + 'Ulcinjska', + 'Užička', + 'Valtazara Bogišića', + 'Vardarska', + 'Vasa Raičkovića', + 'Velimira Stojanovića', + 'Velimira Terzića', + 'Veljka Jankovića', + 'Vezirov most', + 'Vinogradska', + 'Vitomira Vita Nikolića', + 'Vlada Ćetkovića', + 'Vlada Martinovića', + 'Vladike Danila', + 'Vladike Petra I', + 'Vladike Vasilija Petrovića', + 'Vojisavljevića', + 'Vojislava Grujića', + 'Vojvode Ilije Plamenca', + 'Vojvode Mijajla Nišina', + 'Vojvode Mirka Petrovića', + 'Vojvode Raduna', + 'Vojvode Vase Bracanova', + 'Vojvođanska', + 'Vrela 2.', + 'Vrela 3.', + 'Vrela 4.', + 'Vrela 5.', + 'Vrela 6.', + 'Vučedolska', + 'Vuka Đurovića', + 'Vuka Karadžića', + 'Vuka Mandušića', + 'Vuka Mićunovića', + 'Vukice Mitrović', + 'Vukosava Božovića', + 'Zagrebačka', + 'Zetskih vladara', + 'Zetskog odreda', + 'Zmaj Jovina', + 'Žabljačka', + 'Žarka Zrenjanina', + 'Žikice Jovanovića Španca', + 'Žrtava fašizma', + ]; - protected static $streetNameFormats = [ - '{{street}}', - '{{streetPrefix}} {{street}}', - ]; + protected static $streetNameFormats = [ + '{{street}}', + '{{streetPrefix}} {{street}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - /** - * @see http://sh.wikipedia.org/wiki/Popis_gradova_u_Crnoj_Gori - */ - protected static $cityNames = [ - 'Bar', 'Budva', 'Herceg Novi', - 'Kotor', 'Tivat', 'Ulcinj', 'Podgorica', - 'Cetinje', 'Nikšić', 'Danilovgrad', 'Žabljak', - 'Kolašin', 'Andrijevica', 'Berane', 'Bijelo Polje', - 'Mojkovac', 'Plav', 'Plužine', 'Pljevlja', 'Rožaje', - 'Šavnik', 'Petnjica', 'Gusinje', 'Petrovac', 'Sutomore', - ]; + /** + * @see http://sh.wikipedia.org/wiki/Popis_gradova_u_Crnoj_Gori + */ + protected static $cityNames = [ + 'Bar', + 'Budva', + 'Herceg Novi', + 'Kotor', + 'Tivat', + 'Ulcinj', + 'Podgorica', + 'Cetinje', + 'Nikšić', + 'Danilovgrad', + 'Žabljak', + 'Kolašin', + 'Andrijevica', + 'Berane', + 'Bijelo Polje', + 'Mojkovac', + 'Plav', + 'Plužine', + 'Pljevlja', + 'Rožaje', + 'Šavnik', + 'Petnjica', + 'Gusinje', + 'Petrovac', + 'Sutomore', + ]; - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php - */ - protected static $country = [ - 'Alandska ostrva', 'Albanija', 'Alžir', 'Američka Samoa', 'Andora', 'Angola', 'Angvila', 'Antarktika', 'Antigva i Barbuda', 'Argentina', 'Armenija', 'Aruba', 'Australija', 'Austrija', 'Avganistan', 'Azerbejdžan', - 'Bahami', 'Bahrein', 'Bangladeš', 'Barbados', 'Belgija', 'Belise', 'Belorusija', 'Benin', 'Bermuda', 'Bocvana', 'Bolivija', 'Bosna i Hercegovina', 'Božićna Ostrva', 'Brazil', 'Britanska Devičanska Ostrva', 'Britansko Indijska Okeanska Teritorija', 'Brunej', 'Bugarska', 'Burkina Faso', 'Burundi', 'Butan', 'Buve Ostrva', - 'Čad', 'Centralno Afrička Republika', 'Češka', 'Čile', - 'Crna Gora', - 'Danska', 'Demokratska Republika Kongo', 'Dijego Garsija', 'Dominika', 'Dominikanska Republika', - 'Džersi', 'Džibuti', - 'Egipat', 'Ekvador', 'Ekvatorijalna Gvineja', 'Eritreja', 'Estonija', 'Etiopija', 'Evropska unija', - 'Farska Ostrva', 'Fidži', 'Filipini', 'Finska', 'Folklandska Ostrva', 'Francuska', 'Francuska Gvajana', 'Francuska Polinezija', 'Francuske Južne Teritorije', - 'Gabon', 'Gambija', 'Gana', 'Gibraltar', 'Grčka', 'Grenada', 'Grenland', 'Gruzija', 'Guam', 'Gurnsi', 'Gvadelupe', 'Gvajana', 'Gvatemala', 'Gvineja', 'Gvineja-Bisao', - 'Haiti', 'Herd i Mekdonald Ostrva', 'Holandija', 'Holandski Antili', 'Honduras', 'Hong Kong (S. A. R. Kina)', 'Hrvatska', - 'Indija', 'Indonezija', 'Irak', 'Iran', 'Irska', 'Island', 'Istočni Timor', 'Italija', 'Izrael', - 'Jamajka', 'Japan', 'Jemen', 'Jordan', 'Južna Džordžija i Južna Sendvič Ostrva', 'Južna Koreja', 'Južnoafrička Republika', - 'Kajmanska Ostrva', 'Kambodža', 'Kamerun', 'Kanada', 'Kanarska ostrva', 'Kape Verde', 'Katar', 'Kazahstan', 'Kenija', 'Kina', 'Kipar', 'Kirgizstan', 'Kiribati', 'Kokos (Keling) Ostrva', 'Kolumbija', 'Komorska Ostrva', 'Kongo', 'Kostarika', 'Kuba', 'Kukova Ostrva', 'Kuvajt', - 'Laos', 'Lesoto', 'Letonija', 'Liban', 'Liberija', 'Libija', 'Lihtenštajn', 'Litvanija', 'Luksemburg', - 'Madagaskar', 'Mađarska', 'Majote', 'Makao (S. A. R. Kina)', 'Makedonija', 'Malavi', 'Maldivi', 'Malezija', 'Mali', 'Malta', 'Manja Udaljena Ostrva SAD', 'Maroko', 'Maršalska Ostrva', 'Martinik', 'Mauricius', 'Mauritanija', 'Meksiko', 'Mijanmar', 'Mikronezija', 'Moldavija', 'Monako', 'Mongolija', 'Monserat', 'Mozambik', - 'Namibija', 'Nauru', 'Nemačka', 'Nepal', 'Niger', 'Nigerija', 'Nikaragva', 'Niue', 'Norfolk Ostrvo', 'Norveška', 'Nova Kaledonija', 'Novi Zeland', - 'Obala Slonovače', 'Oman', 'Ostala okeanija', 'Ostrvo Asension', 'Ostrvo Kliperton', 'Ostrvo Man', - 'Pakistan', 'Palau', 'Palestinska Teritorija', 'Panama', 'Papua Nova Gvineja', 'Paragvaj', 'Peru', 'Pitcairn', 'Poljska', 'Porto Riko', 'Portugal', - 'Rejunion', 'Ruanda', 'Rumunija', 'Rusija', - 'S.A.D. Devičanska Ostrva', 'Salvador', 'Samoa', 'San Marino', 'Sao Tome i Principe', 'Saudijska Arabija', 'Sejšeli', 'Sen Pjer i Mikelon', 'Senegal', 'Sent Kits i Nevis', 'Sent Lucija', 'Sent Vinsent i Grenadini', 'Seuta i Melilja', 'Severna Koreja', 'Severna Marijanska Ostrva', 'Sijera Leone', 'Singapur', 'Sirija', 'Sjedinjene Američke Države', 'Slovačka', 'Slovenija', 'Solomonska Ostrva', 'Somalija', - 'Španija', 'Srbija', 'Šri Lanka', 'Sudan', 'Surinam', 'Sv. Bartolomej', 'Sv. Martin', 'Švajcarska', 'Svalbard i Janmajen Ostrva', 'Svazilend', 'Švedska', 'Sveta Jelena', - 'Tadžikistan', 'Tajland', 'Tajvan', 'Tanzanija', 'Togo', 'Tokelau', 'Tonga', 'Trinidad i Tobago', 'Tristan da Kunja', 'Tunis', 'Turkmenistan', 'Turks i Kajkos Ostrva', 'Turska', 'Tuvalu', - 'Uganda', 'Ujedinjeni Arapski Emirati', 'Ukrajina', 'Urugvaj', 'Uzbekistan', - 'Valis i Futuna Ostrva', 'Vanuatu', 'Vatikan', 'Velika Britanija', 'Venecuela', 'Vijetnam', - 'Zambija', 'Zapadna Sahara', 'Zimbabve', - ]; + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php + */ + protected static $country = [ + 'Alandska ostrva', + 'Albanija', + 'Alžir', + 'Američka Samoa', + 'Andora', + 'Angola', + 'Angvila', + 'Antarktika', + 'Antigva i Barbuda', + 'Argentina', + 'Armenija', + 'Aruba', + 'Australija', + 'Austrija', + 'Avganistan', + 'Azerbejdžan', + 'Bahami', + 'Bahrein', + 'Bangladeš', + 'Barbados', + 'Belgija', + 'Belise', + 'Belorusija', + 'Benin', + 'Bermuda', + 'Bocvana', + 'Bolivija', + 'Bosna i Hercegovina', + 'Božićna Ostrva', + 'Brazil', + 'Britanska Devičanska Ostrva', + 'Britansko Indijska Okeanska Teritorija', + 'Brunej', + 'Bugarska', + 'Burkina Faso', + 'Burundi', + 'Butan', + 'Buve Ostrva', + 'Čad', + 'Centralno Afrička Republika', + 'Češka', + 'Čile', + 'Crna Gora', + 'Danska', + 'Demokratska Republika Kongo', + 'Dijego Garsija', + 'Dominika', + 'Dominikanska Republika', + 'Džersi', + 'Džibuti', + 'Egipat', + 'Ekvador', + 'Ekvatorijalna Gvineja', + 'Eritreja', + 'Estonija', + 'Etiopija', + 'Evropska unija', + 'Farska Ostrva', + 'Fidži', + 'Filipini', + 'Finska', + 'Folklandska Ostrva', + 'Francuska', + 'Francuska Gvajana', + 'Francuska Polinezija', + 'Francuske Južne Teritorije', + 'Gabon', + 'Gambija', + 'Gana', + 'Gibraltar', + 'Grčka', + 'Grenada', + 'Grenland', + 'Gruzija', + 'Guam', + 'Gurnsi', + 'Gvadelupe', + 'Gvajana', + 'Gvatemala', + 'Gvineja', + 'Gvineja-Bisao', + 'Haiti', + 'Herd i Mekdonald Ostrva', + 'Holandija', + 'Holandski Antili', + 'Honduras', + 'Hong Kong (S. A. R. Kina)', + 'Hrvatska', + 'Indija', + 'Indonezija', + 'Irak', + 'Iran', + 'Irska', + 'Island', + 'Istočni Timor', + 'Italija', + 'Izrael', + 'Jamajka', + 'Japan', + 'Jemen', + 'Jordan', + 'Južna Džordžija i Južna Sendvič Ostrva', + 'Južna Koreja', + 'Južnoafrička Republika', + 'Kajmanska Ostrva', + 'Kambodža', + 'Kamerun', + 'Kanada', + 'Kanarska ostrva', + 'Kape Verde', + 'Katar', + 'Kazahstan', + 'Kenija', + 'Kina', + 'Kipar', + 'Kirgizstan', + 'Kiribati', + 'Kokos (Keling) Ostrva', + 'Kolumbija', + 'Komorska Ostrva', + 'Kongo', + 'Kostarika', + 'Kuba', + 'Kukova Ostrva', + 'Kuvajt', + 'Laos', + 'Lesoto', + 'Letonija', + 'Liban', + 'Liberija', + 'Libija', + 'Lihtenštajn', + 'Litvanija', + 'Luksemburg', + 'Madagaskar', + 'Mađarska', + 'Majote', + 'Makao (S. A. R. Kina)', + 'Makedonija', + 'Malavi', + 'Maldivi', + 'Malezija', + 'Mali', + 'Malta', + 'Manja Udaljena Ostrva SAD', + 'Maroko', + 'Maršalska Ostrva', + 'Martinik', + 'Mauricius', + 'Mauritanija', + 'Meksiko', + 'Mijanmar', + 'Mikronezija', + 'Moldavija', + 'Monako', + 'Mongolija', + 'Monserat', + 'Mozambik', + 'Namibija', + 'Nauru', + 'Nemačka', + 'Nepal', + 'Niger', + 'Nigerija', + 'Nikaragva', + 'Niue', + 'Norfolk Ostrvo', + 'Norveška', + 'Nova Kaledonija', + 'Novi Zeland', + 'Obala Slonovače', + 'Oman', + 'Ostala okeanija', + 'Ostrvo Asension', + 'Ostrvo Kliperton', + 'Ostrvo Man', + 'Pakistan', + 'Palau', + 'Palestinska Teritorija', + 'Panama', + 'Papua Nova Gvineja', + 'Paragvaj', + 'Peru', + 'Pitcairn', + 'Poljska', + 'Porto Riko', + 'Portugal', + 'Rejunion', + 'Ruanda', + 'Rumunija', + 'Rusija', + 'S.A.D. Devičanska Ostrva', + 'Salvador', + 'Samoa', + 'San Marino', + 'Sao Tome i Principe', + 'Saudijska Arabija', + 'Sejšeli', + 'Sen Pjer i Mikelon', + 'Senegal', + 'Sent Kits i Nevis', + 'Sent Lucija', + 'Sent Vinsent i Grenadini', + 'Seuta i Melilja', + 'Severna Koreja', + 'Severna Marijanska Ostrva', + 'Sijera Leone', + 'Singapur', + 'Sirija', + 'Sjedinjene Američke Države', + 'Slovačka', + 'Slovenija', + 'Solomonska Ostrva', + 'Somalija', + 'Španija', + 'Srbija', + 'Šri Lanka', + 'Sudan', + 'Surinam', + 'Sv. Bartolomej', + 'Sv. Martin', + 'Švajcarska', + 'Svalbard i Janmajen Ostrva', + 'Svazilend', + 'Švedska', + 'Sveta Jelena', + 'Tadžikistan', + 'Tajland', + 'Tajvan', + 'Tanzanija', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad i Tobago', + 'Tristan da Kunja', + 'Tunis', + 'Turkmenistan', + 'Turks i Kajkos Ostrva', + 'Turska', + 'Tuvalu', + 'Uganda', + 'Ujedinjeni Arapski Emirati', + 'Ukrajina', + 'Urugvaj', + 'Uzbekistan', + 'Valis i Futuna Ostrva', + 'Vanuatu', + 'Vatikan', + 'Velika Britanija', + 'Venecuela', + 'Vijetnam', + 'Zambija', + 'Zapadna Sahara', + 'Zimbabve', + ]; - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - public static function street() - { - return static::randomElement(static::$street); - } + public static function street() { + return static::randomElement( static::$street ); + } - public function cityName() - { - return static::randomElement(static::$cityNames); - } + public function cityName() { + return static::randomElement( static::$cityNames ); + } - public static function localCoordinates() - { - return [ - 'latitude' => static::latitude(42.43, 42.45), - 'longitude' => static::longitude(19.16, 19.27), - ]; - } + public static function localCoordinates() { + return [ + 'latitude' => static::latitude( 42.43, 42.45 ), + 'longitude' => static::longitude( 19.16, 19.27 ), + ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Company.php b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Company.php index 2483c20..0b0d4e7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Company.php @@ -2,48 +2,120 @@ namespace Faker\Provider\me_ME; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyName}} {{companyType}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyName}} {{companyType}}', + ]; - /** - * Source: extracted from http://www.crps.me/index.php/predraga - */ - protected static $names = [ - '13 Jul - Plantaže ', '19 Decembar Podgorica', - 'Agrokombinat 13 Jul', 'Agrokombinat 13 Jul', 'Atlas Banka', 'Autoremont Osmanagić', - 'Božur-Velexport', 'Businessmontenegro Podgorica', - 'Cemex Montenegro', 'Centralna Depozitarna Agencija ', 'Centrokoža-Produkt ', 'CG Broker', 'CMC AD Podgorica', 'Crnagoradrvo', 'Crnagoraput', 'Crnogorska Komercijalna Banka ', 'Crnogorski Telekom', 'Doclea Express Podgorica', 'Društvo Za Upravljanje Investicionim Fondom Atlas Mont', 'Drvoimpex', 'Drvoimpex', 'Drvoimpex', 'Drvoimpex-Bams', 'Drvoimpex-Fincom', 'Drvoimpex-Gm Podgorica', 'Drvoimpex-Mobile', 'Duklja - Zora', 'Duklja Podgorica', 'Duklja-Pekara', 'Duvanski Kombinat, Podgorica', - 'Elastik-Plastika Ad Podgorica', 'Erste Bank Ad Podgorica', 'Euromarket Banka Nlb Grupa ', 'Exal', 'Export-Import Servisimport Si', - 'Fond Zajedničkog Ulaganja Moneta', 'Goricapromet Podgorica', 'Gornji Ibar A.D.', 'Gp Radnik Beton', 'Građevinar Podgorica', 'Gross Market Podgorica', - 'H.T.P.Velika Plaža A.D', 'Higijena Podgorica', 'Hipotekarna Banka', 'Hotel Ravnjak', - 'Industriaimpex A.D.', 'Inpek', 'Institut Za Šumarstvo ', 'Intours', 'Invest Banka Montenegro', 'Izdavačko-Prometno Društvo Ljetopis', - 'Lovćen Podgorica', 'Lovćen-Re', 'Lovćeninvest Podgorica', 'Lutrija Crne Gore', - 'Margomarket Podgorica', 'Mašinopromet', 'Mašinopromet-Commerce', 'Mesopromet Podgorica', 'Mljekara', 'Moneta A.D.', 'Montenegroberza Akcionarsko Društvo', 'Morača Podgorica', 'Morača Sa P.O.', - 'Nex Montenegro', 'Novogradnja Ad Podgorica', - 'Osiguravajuće Društvo Swiss Osiguranje', - 'Papir', 'Podgoricaekspres', 'Progas Podgorica', 'Promet', 'Prva Banka Crne Gore Podgorica', - 'Ribnica Commerce', - 'Sava Montenegro Podgorica', 'Si Promet A.D.', 'Sigmobil', 'Societe Generale Banka Montenegro Ad', 'Solar 80 - Elastik', 'Stadion', 'Šumarsko Preduzeće ', - 'Tehnomarketi', 'Tpc Ražnatović', 'Trend A.D.', 'Trgopress', - 'Unifarm ', 'Utip Crna Gora', - 'Vatrostalna Podgorica', 'Velepromet Podgorica', 'Veletrgovina-Kolašin', 'Velimport Podgorica', 'Volumentrade Podgorica', - 'Željeznica Crne Gore', 'Zetatrans', - ]; + /** + * Source: extracted from http://www.crps.me/index.php/predraga + */ + protected static $names = [ + '13 Jul - Plantaže ', + '19 Decembar Podgorica', + 'Agrokombinat 13 Jul', + 'Agrokombinat 13 Jul', + 'Atlas Banka', + 'Autoremont Osmanagić', + 'Božur-Velexport', + 'Businessmontenegro Podgorica', + 'Cemex Montenegro', + 'Centralna Depozitarna Agencija ', + 'Centrokoža-Produkt ', + 'CG Broker', + 'CMC AD Podgorica', + 'Crnagoradrvo', + 'Crnagoraput', + 'Crnogorska Komercijalna Banka ', + 'Crnogorski Telekom', + 'Doclea Express Podgorica', + 'Društvo Za Upravljanje Investicionim Fondom Atlas Mont', + 'Drvoimpex', + 'Drvoimpex', + 'Drvoimpex', + 'Drvoimpex-Bams', + 'Drvoimpex-Fincom', + 'Drvoimpex-Gm Podgorica', + 'Drvoimpex-Mobile', + 'Duklja - Zora', + 'Duklja Podgorica', + 'Duklja-Pekara', + 'Duvanski Kombinat, Podgorica', + 'Elastik-Plastika Ad Podgorica', + 'Erste Bank Ad Podgorica', + 'Euromarket Banka Nlb Grupa ', + 'Exal', + 'Export-Import Servisimport Si', + 'Fond Zajedničkog Ulaganja Moneta', + 'Goricapromet Podgorica', + 'Gornji Ibar A.D.', + 'Gp Radnik Beton', + 'Građevinar Podgorica', + 'Gross Market Podgorica', + 'H.T.P.Velika Plaža A.D', + 'Higijena Podgorica', + 'Hipotekarna Banka', + 'Hotel Ravnjak', + 'Industriaimpex A.D.', + 'Inpek', + 'Institut Za Šumarstvo ', + 'Intours', + 'Invest Banka Montenegro', + 'Izdavačko-Prometno Društvo Ljetopis', + 'Lovćen Podgorica', + 'Lovćen-Re', + 'Lovćeninvest Podgorica', + 'Lutrija Crne Gore', + 'Margomarket Podgorica', + 'Mašinopromet', + 'Mašinopromet-Commerce', + 'Mesopromet Podgorica', + 'Mljekara', + 'Moneta A.D.', + 'Montenegroberza Akcionarsko Društvo', + 'Morača Podgorica', + 'Morača Sa P.O.', + 'Nex Montenegro', + 'Novogradnja Ad Podgorica', + 'Osiguravajuće Društvo Swiss Osiguranje', + 'Papir', + 'Podgoricaekspres', + 'Progas Podgorica', + 'Promet', + 'Prva Banka Crne Gore Podgorica', + 'Ribnica Commerce', + 'Sava Montenegro Podgorica', + 'Si Promet A.D.', + 'Sigmobil', + 'Societe Generale Banka Montenegro Ad', + 'Solar 80 - Elastik', + 'Stadion', + 'Šumarsko Preduzeće ', + 'Tehnomarketi', + 'Tpc Ražnatović', + 'Trend A.D.', + 'Trgopress', + 'Unifarm ', + 'Utip Crna Gora', + 'Vatrostalna Podgorica', + 'Velepromet Podgorica', + 'Veletrgovina-Kolašin', + 'Velimport Podgorica', + 'Volumentrade Podgorica', + 'Željeznica Crne Gore', + 'Zetatrans', + ]; - protected static $types = [ - 'A.D.', 'A.D PODGORICA', - ]; + protected static $types = [ + 'A.D.', + 'A.D PODGORICA', + ]; - public static function companyType() - { - return static::randomElement(static::$types); - } + public static function companyType() { + return static::randomElement( static::$types ); + } - public static function companyName() - { - return static::randomElement(static::$names); - } + public static function companyName() { + return static::randomElement( static::$names ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Payment.php index a9361f1..d5982b1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\me_ME; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'ME', $length = 18) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'ME', $length = 18 ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Person.php b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Person.php index c9053b5..44171dd 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/me_ME/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/me_ME/Person.php @@ -2,101 +2,3269 @@ namespace Faker\Provider\me_ME; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 - */ - protected static $firstNameMale = [ - 'Avakum', 'Avram', 'Adam', 'Aksentije', 'Aleksandar', 'Aleksandron', 'Aleksa', 'Aleksije', 'Aleksej', 'Alimpije', 'Andrej', 'Andrija', 'Andrijaš', 'Anđelko', 'Antonije', 'Aranđel', 'Arsenije', 'Arsen', 'Arsa', 'Arso', 'Atanasije', 'Atanacko', 'Aćim', 'Agnija', - 'Bajko', 'Bajo', 'Bajčeta', 'Balša', 'Bane', 'Batrić', 'Berislav', 'Berisav', 'Beriša', 'Berko', 'Biljan', 'Biserko', 'Blagoje', 'Blagota', 'Blagomir', 'Blaža', 'Blažo', 'Blažen', 'Blaško', 'Boban', 'Bogdan', 'Bogelj', 'Bogić', 'Bogiša', 'Bogoboj', 'Bogoje', 'Bogoljub', 'Bogoslav', 'Bogosav', 'Božidar', 'Boža', 'Božo', 'Božin', 'Božićko', 'Boin', 'Boica', 'Bojan', 'Bojko', 'Bojo', 'Bojčeta', 'Bora', 'Boro', 'Borivoje', 'Borivoj', 'Boris', 'Borislav', 'Borisav', 'Borko', 'Boriša', 'Boroje', 'Boško', 'Brajan', 'Brajica', 'Branivoje', 'Branivoj', 'Branimir', 'Branislav', 'Branko', 'Brano', 'Bratimir', 'Bratislav', 'Bratovan', 'Bratoljub', 'Brnča', 'Budimir', 'Budislav', 'Budisav', - 'Vasilije', 'Vajo', 'Vasilj', 'Vasko', 'Vasoje', 'Vasa', 'Vaso', 'Vaskrsije', 'Vekoslav', 'Vjekoslav', 'Velibor', 'Velizar', 'Velimir', 'Velisav', 'Veličko', 'Veliša', 'Veljko', 'Veselin', 'Vesko', 'Veran', 'Veroljub', 'Vidoje', 'Vidak', 'Vid', 'Vidač', 'Vidan', 'Viden', 'Vidosav', 'Vidojko', 'Vidoja', 'Viktor', 'Vilotije', 'Vitomir', 'Vitko', 'Vićentije', 'Vićan', 'Višeslav', 'Vladan', 'Vlada', 'Vlade', 'Vlado', 'Vlatko', 'Vladeta', 'Vladica', 'Vladoje', 'Vladun', 'Vladimir', 'Vladislav', 'Vladisav', 'Vlaislav', 'Vlasije', 'Vlajko', 'Vlastimir', 'Vlaško', 'Vojdrag', 'Vojimir', 'Vojkan', 'Vojin', 'Vojko', 'Voica', 'Vojislav', 'Vraneš', 'Vugdrag', 'Vuzman', 'Vuilo', 'Vuin', 'Vuica', 'Vujadin', 'Vujak', 'Vujan', 'Vujeta', 'Vujko', 'Vujčeta', 'Vujčin', 'Vujo', 'Vuk', 'Vuko', 'Vukalj', 'Vukas', 'Vukac', 'Vukač', 'Vukelja', 'Vukić', 'Vukša', 'Vukadin', 'Vukan', 'Vukota', 'Vukajlo', 'Vukalo', 'Vukman', 'Vukoman', 'Vukmilj', 'Vukoje', 'Vukojica', 'Vukola', 'Vukovoje', 'Vukašin', 'Vukomir', 'Vukmir', 'Vukoslav', 'Vukosav', 'Vuksan', 'Vuleta', 'Vule', 'Vunko', 'Vučeta', 'Vučina', 'Vučan', 'Vučen', 'Vučić', 'Vučko', 'Vuča', - 'Gavrilo', 'Gaja', 'Gajo', 'Gača', 'Gajin', 'Gvozden', 'Gvozdenko', 'Genadije', 'Georgije', 'Gerasim', 'German', 'Gligorije', 'Gliša', 'Glišo', 'Grigorije', 'Godeč', 'Godomir', 'Gojko', 'Golub', 'Goran', 'Gordan', 'Gorčin', 'Gostimir', 'Gostoljub', 'Gradimir', 'Gradeta', 'Gradiša', 'Grgur', 'Grdan', 'Grijak', 'Grozdan', 'Grubeta', 'Grubiša', 'Gruban', 'Grubac', 'Grubač', 'Grubeša', 'Gruja', 'Grujica', 'Grujo', - 'Dabiša', 'Dabo', 'Dabiživ', 'David', 'Dalibor', 'Danko', 'Danijel', 'Danilo', 'Dane', 'Damjan', 'Damljan', 'Dančul', 'Darije', 'Dario', 'Darijo', 'Darjan', 'Darko', 'Dejan', 'Desimir', 'Despot', 'Dimitrije', 'Dimčo', 'Dmitar', 'Dobrašin', 'Dobrilo', 'Dobrica', 'Dobrinko', 'Dobrivoje', 'Dobrivoj', 'Dobrovuk', 'Dobroslav', 'Dobrosav', 'Dojčin', 'Dojčilo', 'Doko', 'Dorotej', 'Dositej', 'Dragan', 'Dragiša', 'Dragić', 'Dragoja', 'Dragoje', 'Dragaš', 'Dragojlo', 'Dragoš', 'Dragobrat', 'Drago', 'Dragovan', 'Dragoljub', 'Dragoman', 'Dragomir', 'Dragorad', 'Dragoslav', 'Dragosav', 'Draža', 'Dražo', 'Dražeta', 'Dragutin', 'Drailo', 'Drakša', 'Draško', 'Dubravac', 'Dubravko', 'Dujak', 'Duka', 'Dukadin', 'Dušan', 'Duško', - 'Đenadije', 'Đorđe', 'Đorđo', 'Đura', 'Đukan', 'Đurađ', 'Đuro', 'Đoko', 'Đorđije', 'Đurašin', 'Đurisav', 'Đurica', 'Đurko', 'Đurđe', - 'Evgenije', 'Emilijan', 'Emilije', 'Emil', 'Erak', - 'Žarko', 'Želimir', 'Željko', 'Živa', 'Živica', 'Živadin', 'Živan', 'Živanko', 'Živko', 'Živojin', 'Živoljub', 'Živomir', 'Živorad', 'Života', 'Žika', 'Žikica', 'Žitomir', - 'Zaviša', 'Zarija', 'Zarije', 'Zaharije', 'Zvezdan', 'Zvjezdan', 'Zvezdodrag', 'Zvezdoslav', 'Zvonko', 'Zvonimir', 'Zdravko', 'Zdraviša', 'Zlatan', 'Zlatko', 'Zlatoje', 'Zlatibor', 'Zlatomir', 'Zlatosav', 'Zoran', 'Zrinko', - 'Ivan', 'Ivica', 'Ivo', 'Ivko', 'Ivaniš', 'Ignjat', 'Ignjatije', 'Igor', 'Ilija', 'Isaija', 'Isailo', 'Isak', 'Isidor', - 'Jablan', 'Javorko', 'Jagoš', 'Jadranko', 'Jakov', 'Jakša', 'Jandrija', 'Jandre', 'Janićije', 'Janko', 'Janča', 'Jaroslav', 'Jasen', 'Jasenko', 'Jevrem', 'Jevtimije', 'Jevta', 'Jevto', 'Jevtan', 'Jezdimir', 'Jezda', 'Jelen', 'Jelenko', 'Jelašin', 'Jelisije', 'Jeremija', 'Jerko', 'Jerotije', 'Jovan', 'Jovica', 'Joviša', 'Jova', 'Jovo', 'Jovko', 'Joko', 'Joksim', 'Jordan', 'Josif', 'Jugoljub', 'Jugomir', 'Jugoslav', 'Julijan', 'Junoša', 'Juriša', 'Justin', - 'Kamenko', 'Kažimir', 'Kazimir', 'Kiprijan', 'Kirilo', 'Koviljko', 'Kojadin', 'Kojčin', 'Kokan', 'Komnen', 'Konstantin', 'Kostadin', 'Kosta', 'Kozma', 'Kornelije', 'Koča', 'Kraguj', 'Krajčin', 'Krasimir', 'Krasoje', 'Krajislav', 'Krsman', 'Krsto', 'Krsta', 'Krstan', 'Krstivoje', 'Krunislav', 'Kuzman', 'Kumodrag', - 'Labud', 'Lazar', 'Laza', 'Lazo', 'Laka', 'Lako', 'Laketa', 'Lale', 'Ležimir', 'Lepoje', 'Lepomir', 'Leposlav', 'Lozan', 'Lola', 'Luka', 'Lujo', - 'Ljiljan', 'Ljuban', 'Ljubinko', 'Ljubo', 'Ljubiša', 'Ljubivoje', 'Ljuboje', 'Ljuboja', 'Ljuben', 'Ljubenko', 'Ljubislav', 'Ljubisav', 'Ljubobrat', 'Ljubodrag', 'Ljubomir', - 'Mavren', 'Maksim', 'Maleta', 'Maleš', 'Manojlo', 'Mane', 'Marinko', 'Marjan', 'Marko', 'Martin', 'Matija', 'Matijaš', 'Mateja', 'Matej', 'Mato', 'Mašan', 'Maško', 'Medak', 'Mijak', 'Mijan', 'Mijat', 'Mija', 'Mijo', 'Mijobrat', 'Miladin', 'Milak', 'Milan', 'Milanko', 'Milat', 'Milaš', 'Milašin', 'Mile', 'Milo', 'Milko', 'Milen', 'Milenko', 'Milentije', 'Mileta', 'Mileš', 'Milivoje', 'Milivoj', 'Milija', 'Milijan', 'Milijaš', 'Milin', 'Milinko', 'Milić', 'Milovan', 'Miloje', 'Milojko', 'Miloja', 'Milojica', 'Milomir', 'Milorad', 'Milosav', 'Milisav', 'Miloš', 'Milten', 'Milun', 'Milutin', 'Miluš', 'Miljan', 'Miljen', 'Miljko', 'Milj', 'Miljojko', 'Miljurko', 'Miodrag', 'Miomir', 'Miren', 'Mirko', 'Miro', 'Miroljub', 'Miroslav', 'Mirosav', 'Mirčeta', 'Mitar', 'Mićan', 'Mića', 'Mićo', 'Mihailo', 'Mihajlo', 'Mijailo', 'Mijuško', 'Miško', 'Miša', 'Mišo', 'Mišljen', 'Mladen', 'Mlađen', 'Mlađan', 'Mojsilo', 'Momir', 'Momčilo', 'Mrđan', 'Mrđen', 'Mrkša', - 'Najdan', 'Naum', 'Nebojša', 'Neven', 'Nevenko', 'Negovan', 'Negomir', 'Nedeljko', 'Neđeljko', 'Nemanja', 'Nenad', 'Neško', 'Nestor', 'Nikašin', 'Nikodim', 'Nikodije', 'Nikola', 'Nikša', 'Ninko', 'Nino', 'Ninoslav', 'Nićifor', 'Novak', 'Novica', 'Noviša', 'Novko', 'Novo', - 'Njegomir', 'Njegoš', - 'Obrad', 'Obradin', 'Obren', 'Obrenko', 'Obreten', 'Ognjen', 'Ognjan', 'Ozren', 'Ozriša', 'Oliver', 'Ostoja', - 'Pavle', 'Pavko', 'Pavlić', 'Pavić', 'Pantelija', 'Paun', 'Pejak', 'Pejo', 'Periša', 'Perun', 'Perunko', 'Petar', 'Pera', 'Pero', 'Perica', 'Petak', 'Petko', 'Petoje', 'Petoš', 'Petrašin', 'Petronije', 'Plavša', 'Poznan', 'Prvoslav', 'Predrag', 'Prerad', 'Pribić', 'Prodan', 'Prokopije', 'Puniša', 'Punan', 'Pureš', 'Purko', 'Puro', - 'Radak', 'Radan', 'Radas', 'Radašin', 'Rade', 'Raden', 'Radenko', 'Radeta', 'Radivoje', 'Radivoj', 'Radin', 'Radinko', 'Radič', 'Radiša', 'Radman', 'Radoman', 'Radmilo', 'Radoba', 'Radobud', 'Radovan', 'Radovac', 'Radojica', 'Radoje', 'Radojko', 'Radojlo', 'Radoja', 'Radomir', 'Radonja', 'Radoslav', 'Radosav', 'Radisav', 'Radota', 'Radoš', 'Radukan', 'Radul', 'Radulin', 'Radun', 'Radusin', 'Rađen', 'Rain', 'Raica', 'Raič', 'Raičko', 'Rajak', 'Rajan', 'Rajko', 'Rajčeta', 'Ralen', 'Raleta', 'Ranisav', 'Ranko', 'Raosav', 'Rastislav', 'Rastko', 'Ratibor', 'Ratko', 'Ratomir', 'Rafailo', 'Racko', 'Račeta', 'Raško', 'Rekula', 'Relja', 'Resan', 'Ristan', 'Risto', 'Rista', 'Ristivoje', 'Rodoljub', - 'Sava', 'Savo', 'Savko', 'Samuilo', 'Saša', 'Svetibor', 'Svetislav', 'Svetozar', 'Svetolik', 'Svetoljub', 'Svetomir', 'Svetorad', 'Sekula', 'Selak', 'Simeon', 'Simeun', 'Sima', 'Simo', 'Simon', 'Sinđel', 'Siniša', 'Skorosav', 'Slaven', 'Slavenko', 'Slavko', 'Slaviša', 'Slavo', 'Slavoljub', 'Slavomir', 'Slavuj', 'Sladoje', 'Slađan', 'Slobodan', 'Smiljan', 'Smiljko', 'Smoljan', 'Soko', 'Spasoje', 'Spasoja', 'Spiridon', 'Srbislav', 'Srboslav', 'Srboljub', 'Srdan', 'Srđan', 'Srđa', 'Sredoje', 'Sredoja', 'Sreten', 'Sretko', 'Srećko', 'Srećan', 'Stamenko', 'Stanimir', 'Stanislav', 'Stanisav', 'Staniša', 'Stanko', 'Stanoje', 'Stanojko', 'Stanojlo', 'Stanoja', 'Stefan', 'Stevan', 'Stevo', 'Stevica', 'Stepan', 'Stjepan', 'Stoin', 'Stoić', 'Stojadin', 'Stojak', 'Stojan', 'Stojko', 'Stojmen', 'Stojša', 'Strahinja', 'Strainja', - 'Tadej', 'Tadija', 'Tanasije', 'Tanacko', 'Tatomir', 'Tvrtko', 'Teodor', 'Todor', 'Teodosije', 'Teofil', 'Tešan', 'Timotije', 'Tihomir', 'Toma', 'Tomo', 'Tomaš', 'Tomica', 'Tomislav', 'Toplica', 'Trajan', 'Trajko', 'Trifun', 'Trivun', 'Tripun', 'Tripko', 'Trpko', - 'Ćirilo', 'Ćirko', 'Ćira', 'Ćiro', 'Ćirjak', - 'Uglješa', 'Umiljen', 'Uroš', 'Utješen', 'Utešen', - 'Filip', - 'Hvalimir', 'Hvalislav', 'Hranimir', 'Hranislav', 'Hraniša', 'Hrastimir', 'Hristijan', 'Hristoslav', - 'Cvejan', 'Cvijan', 'Cvetin', 'Cvijetin', 'Cvetko', 'Cvjetko', 'Cvetoje', 'Cvjetoje', 'Cvetoš', 'Cvjetoš', 'Cviko', 'Curko', - 'Časlav', 'Čedomir', 'Čubrilo', - 'Šakota', 'Šale', 'Šumenko', 'Šutan', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 + */ + protected static $firstNameMale = [ + 'Avakum', + 'Avram', + 'Adam', + 'Aksentije', + 'Aleksandar', + 'Aleksandron', + 'Aleksa', + 'Aleksije', + 'Aleksej', + 'Alimpije', + 'Andrej', + 'Andrija', + 'Andrijaš', + 'Anđelko', + 'Antonije', + 'Aranđel', + 'Arsenije', + 'Arsen', + 'Arsa', + 'Arso', + 'Atanasije', + 'Atanacko', + 'Aćim', + 'Agnija', + 'Bajko', + 'Bajo', + 'Bajčeta', + 'Balša', + 'Bane', + 'Batrić', + 'Berislav', + 'Berisav', + 'Beriša', + 'Berko', + 'Biljan', + 'Biserko', + 'Blagoje', + 'Blagota', + 'Blagomir', + 'Blaža', + 'Blažo', + 'Blažen', + 'Blaško', + 'Boban', + 'Bogdan', + 'Bogelj', + 'Bogić', + 'Bogiša', + 'Bogoboj', + 'Bogoje', + 'Bogoljub', + 'Bogoslav', + 'Bogosav', + 'Božidar', + 'Boža', + 'Božo', + 'Božin', + 'Božićko', + 'Boin', + 'Boica', + 'Bojan', + 'Bojko', + 'Bojo', + 'Bojčeta', + 'Bora', + 'Boro', + 'Borivoje', + 'Borivoj', + 'Boris', + 'Borislav', + 'Borisav', + 'Borko', + 'Boriša', + 'Boroje', + 'Boško', + 'Brajan', + 'Brajica', + 'Branivoje', + 'Branivoj', + 'Branimir', + 'Branislav', + 'Branko', + 'Brano', + 'Bratimir', + 'Bratislav', + 'Bratovan', + 'Bratoljub', + 'Brnča', + 'Budimir', + 'Budislav', + 'Budisav', + 'Vasilije', + 'Vajo', + 'Vasilj', + 'Vasko', + 'Vasoje', + 'Vasa', + 'Vaso', + 'Vaskrsije', + 'Vekoslav', + 'Vjekoslav', + 'Velibor', + 'Velizar', + 'Velimir', + 'Velisav', + 'Veličko', + 'Veliša', + 'Veljko', + 'Veselin', + 'Vesko', + 'Veran', + 'Veroljub', + 'Vidoje', + 'Vidak', + 'Vid', + 'Vidač', + 'Vidan', + 'Viden', + 'Vidosav', + 'Vidojko', + 'Vidoja', + 'Viktor', + 'Vilotije', + 'Vitomir', + 'Vitko', + 'Vićentije', + 'Vićan', + 'Višeslav', + 'Vladan', + 'Vlada', + 'Vlade', + 'Vlado', + 'Vlatko', + 'Vladeta', + 'Vladica', + 'Vladoje', + 'Vladun', + 'Vladimir', + 'Vladislav', + 'Vladisav', + 'Vlaislav', + 'Vlasije', + 'Vlajko', + 'Vlastimir', + 'Vlaško', + 'Vojdrag', + 'Vojimir', + 'Vojkan', + 'Vojin', + 'Vojko', + 'Voica', + 'Vojislav', + 'Vraneš', + 'Vugdrag', + 'Vuzman', + 'Vuilo', + 'Vuin', + 'Vuica', + 'Vujadin', + 'Vujak', + 'Vujan', + 'Vujeta', + 'Vujko', + 'Vujčeta', + 'Vujčin', + 'Vujo', + 'Vuk', + 'Vuko', + 'Vukalj', + 'Vukas', + 'Vukac', + 'Vukač', + 'Vukelja', + 'Vukić', + 'Vukša', + 'Vukadin', + 'Vukan', + 'Vukota', + 'Vukajlo', + 'Vukalo', + 'Vukman', + 'Vukoman', + 'Vukmilj', + 'Vukoje', + 'Vukojica', + 'Vukola', + 'Vukovoje', + 'Vukašin', + 'Vukomir', + 'Vukmir', + 'Vukoslav', + 'Vukosav', + 'Vuksan', + 'Vuleta', + 'Vule', + 'Vunko', + 'Vučeta', + 'Vučina', + 'Vučan', + 'Vučen', + 'Vučić', + 'Vučko', + 'Vuča', + 'Gavrilo', + 'Gaja', + 'Gajo', + 'Gača', + 'Gajin', + 'Gvozden', + 'Gvozdenko', + 'Genadije', + 'Georgije', + 'Gerasim', + 'German', + 'Gligorije', + 'Gliša', + 'Glišo', + 'Grigorije', + 'Godeč', + 'Godomir', + 'Gojko', + 'Golub', + 'Goran', + 'Gordan', + 'Gorčin', + 'Gostimir', + 'Gostoljub', + 'Gradimir', + 'Gradeta', + 'Gradiša', + 'Grgur', + 'Grdan', + 'Grijak', + 'Grozdan', + 'Grubeta', + 'Grubiša', + 'Gruban', + 'Grubac', + 'Grubač', + 'Grubeša', + 'Gruja', + 'Grujica', + 'Grujo', + 'Dabiša', + 'Dabo', + 'Dabiživ', + 'David', + 'Dalibor', + 'Danko', + 'Danijel', + 'Danilo', + 'Dane', + 'Damjan', + 'Damljan', + 'Dančul', + 'Darije', + 'Dario', + 'Darijo', + 'Darjan', + 'Darko', + 'Dejan', + 'Desimir', + 'Despot', + 'Dimitrije', + 'Dimčo', + 'Dmitar', + 'Dobrašin', + 'Dobrilo', + 'Dobrica', + 'Dobrinko', + 'Dobrivoje', + 'Dobrivoj', + 'Dobrovuk', + 'Dobroslav', + 'Dobrosav', + 'Dojčin', + 'Dojčilo', + 'Doko', + 'Dorotej', + 'Dositej', + 'Dragan', + 'Dragiša', + 'Dragić', + 'Dragoja', + 'Dragoje', + 'Dragaš', + 'Dragojlo', + 'Dragoš', + 'Dragobrat', + 'Drago', + 'Dragovan', + 'Dragoljub', + 'Dragoman', + 'Dragomir', + 'Dragorad', + 'Dragoslav', + 'Dragosav', + 'Draža', + 'Dražo', + 'Dražeta', + 'Dragutin', + 'Drailo', + 'Drakša', + 'Draško', + 'Dubravac', + 'Dubravko', + 'Dujak', + 'Duka', + 'Dukadin', + 'Dušan', + 'Duško', + 'Đenadije', + 'Đorđe', + 'Đorđo', + 'Đura', + 'Đukan', + 'Đurađ', + 'Đuro', + 'Đoko', + 'Đorđije', + 'Đurašin', + 'Đurisav', + 'Đurica', + 'Đurko', + 'Đurđe', + 'Evgenije', + 'Emilijan', + 'Emilije', + 'Emil', + 'Erak', + 'Žarko', + 'Želimir', + 'Željko', + 'Živa', + 'Živica', + 'Živadin', + 'Živan', + 'Živanko', + 'Živko', + 'Živojin', + 'Živoljub', + 'Živomir', + 'Živorad', + 'Života', + 'Žika', + 'Žikica', + 'Žitomir', + 'Zaviša', + 'Zarija', + 'Zarije', + 'Zaharije', + 'Zvezdan', + 'Zvjezdan', + 'Zvezdodrag', + 'Zvezdoslav', + 'Zvonko', + 'Zvonimir', + 'Zdravko', + 'Zdraviša', + 'Zlatan', + 'Zlatko', + 'Zlatoje', + 'Zlatibor', + 'Zlatomir', + 'Zlatosav', + 'Zoran', + 'Zrinko', + 'Ivan', + 'Ivica', + 'Ivo', + 'Ivko', + 'Ivaniš', + 'Ignjat', + 'Ignjatije', + 'Igor', + 'Ilija', + 'Isaija', + 'Isailo', + 'Isak', + 'Isidor', + 'Jablan', + 'Javorko', + 'Jagoš', + 'Jadranko', + 'Jakov', + 'Jakša', + 'Jandrija', + 'Jandre', + 'Janićije', + 'Janko', + 'Janča', + 'Jaroslav', + 'Jasen', + 'Jasenko', + 'Jevrem', + 'Jevtimije', + 'Jevta', + 'Jevto', + 'Jevtan', + 'Jezdimir', + 'Jezda', + 'Jelen', + 'Jelenko', + 'Jelašin', + 'Jelisije', + 'Jeremija', + 'Jerko', + 'Jerotije', + 'Jovan', + 'Jovica', + 'Joviša', + 'Jova', + 'Jovo', + 'Jovko', + 'Joko', + 'Joksim', + 'Jordan', + 'Josif', + 'Jugoljub', + 'Jugomir', + 'Jugoslav', + 'Julijan', + 'Junoša', + 'Juriša', + 'Justin', + 'Kamenko', + 'Kažimir', + 'Kazimir', + 'Kiprijan', + 'Kirilo', + 'Koviljko', + 'Kojadin', + 'Kojčin', + 'Kokan', + 'Komnen', + 'Konstantin', + 'Kostadin', + 'Kosta', + 'Kozma', + 'Kornelije', + 'Koča', + 'Kraguj', + 'Krajčin', + 'Krasimir', + 'Krasoje', + 'Krajislav', + 'Krsman', + 'Krsto', + 'Krsta', + 'Krstan', + 'Krstivoje', + 'Krunislav', + 'Kuzman', + 'Kumodrag', + 'Labud', + 'Lazar', + 'Laza', + 'Lazo', + 'Laka', + 'Lako', + 'Laketa', + 'Lale', + 'Ležimir', + 'Lepoje', + 'Lepomir', + 'Leposlav', + 'Lozan', + 'Lola', + 'Luka', + 'Lujo', + 'Ljiljan', + 'Ljuban', + 'Ljubinko', + 'Ljubo', + 'Ljubiša', + 'Ljubivoje', + 'Ljuboje', + 'Ljuboja', + 'Ljuben', + 'Ljubenko', + 'Ljubislav', + 'Ljubisav', + 'Ljubobrat', + 'Ljubodrag', + 'Ljubomir', + 'Mavren', + 'Maksim', + 'Maleta', + 'Maleš', + 'Manojlo', + 'Mane', + 'Marinko', + 'Marjan', + 'Marko', + 'Martin', + 'Matija', + 'Matijaš', + 'Mateja', + 'Matej', + 'Mato', + 'Mašan', + 'Maško', + 'Medak', + 'Mijak', + 'Mijan', + 'Mijat', + 'Mija', + 'Mijo', + 'Mijobrat', + 'Miladin', + 'Milak', + 'Milan', + 'Milanko', + 'Milat', + 'Milaš', + 'Milašin', + 'Mile', + 'Milo', + 'Milko', + 'Milen', + 'Milenko', + 'Milentije', + 'Mileta', + 'Mileš', + 'Milivoje', + 'Milivoj', + 'Milija', + 'Milijan', + 'Milijaš', + 'Milin', + 'Milinko', + 'Milić', + 'Milovan', + 'Miloje', + 'Milojko', + 'Miloja', + 'Milojica', + 'Milomir', + 'Milorad', + 'Milosav', + 'Milisav', + 'Miloš', + 'Milten', + 'Milun', + 'Milutin', + 'Miluš', + 'Miljan', + 'Miljen', + 'Miljko', + 'Milj', + 'Miljojko', + 'Miljurko', + 'Miodrag', + 'Miomir', + 'Miren', + 'Mirko', + 'Miro', + 'Miroljub', + 'Miroslav', + 'Mirosav', + 'Mirčeta', + 'Mitar', + 'Mićan', + 'Mića', + 'Mićo', + 'Mihailo', + 'Mihajlo', + 'Mijailo', + 'Mijuško', + 'Miško', + 'Miša', + 'Mišo', + 'Mišljen', + 'Mladen', + 'Mlađen', + 'Mlađan', + 'Mojsilo', + 'Momir', + 'Momčilo', + 'Mrđan', + 'Mrđen', + 'Mrkša', + 'Najdan', + 'Naum', + 'Nebojša', + 'Neven', + 'Nevenko', + 'Negovan', + 'Negomir', + 'Nedeljko', + 'Neđeljko', + 'Nemanja', + 'Nenad', + 'Neško', + 'Nestor', + 'Nikašin', + 'Nikodim', + 'Nikodije', + 'Nikola', + 'Nikša', + 'Ninko', + 'Nino', + 'Ninoslav', + 'Nićifor', + 'Novak', + 'Novica', + 'Noviša', + 'Novko', + 'Novo', + 'Njegomir', + 'Njegoš', + 'Obrad', + 'Obradin', + 'Obren', + 'Obrenko', + 'Obreten', + 'Ognjen', + 'Ognjan', + 'Ozren', + 'Ozriša', + 'Oliver', + 'Ostoja', + 'Pavle', + 'Pavko', + 'Pavlić', + 'Pavić', + 'Pantelija', + 'Paun', + 'Pejak', + 'Pejo', + 'Periša', + 'Perun', + 'Perunko', + 'Petar', + 'Pera', + 'Pero', + 'Perica', + 'Petak', + 'Petko', + 'Petoje', + 'Petoš', + 'Petrašin', + 'Petronije', + 'Plavša', + 'Poznan', + 'Prvoslav', + 'Predrag', + 'Prerad', + 'Pribić', + 'Prodan', + 'Prokopije', + 'Puniša', + 'Punan', + 'Pureš', + 'Purko', + 'Puro', + 'Radak', + 'Radan', + 'Radas', + 'Radašin', + 'Rade', + 'Raden', + 'Radenko', + 'Radeta', + 'Radivoje', + 'Radivoj', + 'Radin', + 'Radinko', + 'Radič', + 'Radiša', + 'Radman', + 'Radoman', + 'Radmilo', + 'Radoba', + 'Radobud', + 'Radovan', + 'Radovac', + 'Radojica', + 'Radoje', + 'Radojko', + 'Radojlo', + 'Radoja', + 'Radomir', + 'Radonja', + 'Radoslav', + 'Radosav', + 'Radisav', + 'Radota', + 'Radoš', + 'Radukan', + 'Radul', + 'Radulin', + 'Radun', + 'Radusin', + 'Rađen', + 'Rain', + 'Raica', + 'Raič', + 'Raičko', + 'Rajak', + 'Rajan', + 'Rajko', + 'Rajčeta', + 'Ralen', + 'Raleta', + 'Ranisav', + 'Ranko', + 'Raosav', + 'Rastislav', + 'Rastko', + 'Ratibor', + 'Ratko', + 'Ratomir', + 'Rafailo', + 'Racko', + 'Račeta', + 'Raško', + 'Rekula', + 'Relja', + 'Resan', + 'Ristan', + 'Risto', + 'Rista', + 'Ristivoje', + 'Rodoljub', + 'Sava', + 'Savo', + 'Savko', + 'Samuilo', + 'Saša', + 'Svetibor', + 'Svetislav', + 'Svetozar', + 'Svetolik', + 'Svetoljub', + 'Svetomir', + 'Svetorad', + 'Sekula', + 'Selak', + 'Simeon', + 'Simeun', + 'Sima', + 'Simo', + 'Simon', + 'Sinđel', + 'Siniša', + 'Skorosav', + 'Slaven', + 'Slavenko', + 'Slavko', + 'Slaviša', + 'Slavo', + 'Slavoljub', + 'Slavomir', + 'Slavuj', + 'Sladoje', + 'Slađan', + 'Slobodan', + 'Smiljan', + 'Smiljko', + 'Smoljan', + 'Soko', + 'Spasoje', + 'Spasoja', + 'Spiridon', + 'Srbislav', + 'Srboslav', + 'Srboljub', + 'Srdan', + 'Srđan', + 'Srđa', + 'Sredoje', + 'Sredoja', + 'Sreten', + 'Sretko', + 'Srećko', + 'Srećan', + 'Stamenko', + 'Stanimir', + 'Stanislav', + 'Stanisav', + 'Staniša', + 'Stanko', + 'Stanoje', + 'Stanojko', + 'Stanojlo', + 'Stanoja', + 'Stefan', + 'Stevan', + 'Stevo', + 'Stevica', + 'Stepan', + 'Stjepan', + 'Stoin', + 'Stoić', + 'Stojadin', + 'Stojak', + 'Stojan', + 'Stojko', + 'Stojmen', + 'Stojša', + 'Strahinja', + 'Strainja', + 'Tadej', + 'Tadija', + 'Tanasije', + 'Tanacko', + 'Tatomir', + 'Tvrtko', + 'Teodor', + 'Todor', + 'Teodosije', + 'Teofil', + 'Tešan', + 'Timotije', + 'Tihomir', + 'Toma', + 'Tomo', + 'Tomaš', + 'Tomica', + 'Tomislav', + 'Toplica', + 'Trajan', + 'Trajko', + 'Trifun', + 'Trivun', + 'Tripun', + 'Tripko', + 'Trpko', + 'Ćirilo', + 'Ćirko', + 'Ćira', + 'Ćiro', + 'Ćirjak', + 'Uglješa', + 'Umiljen', + 'Uroš', + 'Utješen', + 'Utešen', + 'Filip', + 'Hvalimir', + 'Hvalislav', + 'Hranimir', + 'Hranislav', + 'Hraniša', + 'Hrastimir', + 'Hristijan', + 'Hristoslav', + 'Cvejan', + 'Cvijan', + 'Cvetin', + 'Cvijetin', + 'Cvetko', + 'Cvjetko', + 'Cvetoje', + 'Cvjetoje', + 'Cvetoš', + 'Cvjetoš', + 'Cviko', + 'Curko', + 'Časlav', + 'Čedomir', + 'Čubrilo', + 'Šakota', + 'Šale', + 'Šumenko', + 'Šutan', + ]; - protected static $firstNameFemale = [ - 'Andrea', 'Agnica', 'Adelina', 'Aleksandra', 'Aleksija', 'Ana', 'Anastasija', 'Andrijana', 'Anda', 'Anđa', 'Anđela', 'Anđelka', 'Anđelija', 'Angelina', 'Anka', 'Ankica', 'Anica', 'Antonina ', - 'Blagoja', 'Biljana', 'Bisenija', 'Biserka', 'Blaginja', 'Blagica', 'Blaženka', 'Bogdana', 'Bogdanka', 'Božana', 'Božidarka', 'Božinka', 'Božica', 'Bojana', 'Borislava', 'Borislavka', 'Borjana', 'Borjanka', 'Borka', 'Bosa', 'Bosiljka', 'Branislava', 'Branka', 'Brankica', 'Bratislava', 'Budimirka', 'Budimka', - 'Valerija', 'Vanja', 'Varvara', 'Vasilija', 'Vasiljka', 'Vasilka', 'Vaskrsija', 'Veliborka', 'Velinka', 'Velisava', 'Vera', 'Verka', 'Verica', 'Veronika', 'Veroslava', 'Veselinka', 'Vesela', 'Vesna', 'Vida', 'Vidojka', 'Vidosava', 'Viktorija', 'Violeta', 'Vitka', 'Vitomirka', 'Višeslava', 'Višnja', 'Vladana', 'Vladanka', 'Vladimirka', 'Vladislava', 'Vlasta', 'Vlastimirka', 'Vlatka', 'Vojislava', 'Vojka', 'Vujadinka', 'Vujka', 'Vujana', 'Vukana', 'Vukica', 'Vukosava', 'Vukmira ', - 'Gavra', 'Gavrila', 'Gavrilka', 'Gvozdenija', 'Georgina', 'Gorana', 'Gorica', 'Goranka', 'Gorjana', 'Gordana', 'Gospava', 'Grozdana', 'Grozda', - 'Davorka', 'Daliborka', 'Damjanka', 'Damljanka', 'Danica', 'Danka', 'Dana', 'Danojla', 'Darinka', 'Dara', 'Dafina', 'Daša', 'Deva', 'Dejana', 'Desanka', 'Desa', 'Despina', 'Despinja', 'Divna', 'Dikosava', 'Dmitra', 'Dobrila', 'Dobrinka', 'Dobrica', 'Dobrija', 'Dokna', 'Doroteja', 'Dostana', 'Dragica', 'Dragana', 'Draga', 'Draginja', 'Dragojla', 'Dragija', 'Dragomira', 'Dragoslava', 'Drenka', 'Drena', 'Drina', 'Drinka', 'Dubravka', 'Dunja', 'Dušanka', 'Dušica', 'Duška', - 'Đurđa', 'Đurđica', 'Đurđija', 'Đurisava', 'Đurđevka', 'Đuka', - 'Eva', 'Evica', 'Evgenija', 'Evdokija', 'Elena', 'Ekaterina', 'Emilija', - 'Žaklina', 'Žanka', 'Želimirka', 'Željka', 'Željana', 'Živadinka', 'Živana', 'Živanka', 'Živka', 'Živodarka', 'Živoratka', 'Živoslava', 'Živoslavka', - 'Zavida', 'Zagorka', 'Zaga', 'Zvezdana', 'Zvjezdana', 'Zvonka', 'Zdravka', 'Zlata', 'Zlatica', 'Zlatka', 'Zlatana', 'Zlatija', 'Zlatomirka', 'Zora', 'Zorica', 'Zorana', 'Zorka', 'Zorislava', 'Zrinka', - 'Iva', 'Ivana', 'Ivanka', 'Ivka', 'Ivona', 'Ikonija', 'Ilinka', 'Irena', 'Irina', 'Isidora', - 'Javorka', 'Jagoda', 'Jagodinka', 'Jadranka', 'Jana', 'Janja', 'Janovka', 'Jasmina', 'Jasminka', 'Jasna', 'Jevdokija', 'Jevrosima', 'Jela', 'Jelica', 'Jelka', 'Jeka', 'Jelača', 'Jelena', 'Jelenka', 'Jelisava', 'Jelisaveta', 'Jelisavka', 'Jefimija', 'Ješa', 'Jovana', 'Jovanka', 'Jovka', 'Jorgovanka', 'Jordanka', 'Julija', 'Julijana', 'Julka', - 'Kadivka', 'Kazimira', 'Kasija', 'Katarina', 'Kata', 'Katica', 'Kovana', 'Koviljka', 'Kovina', 'Kojadinka', 'Komnenija', 'Kosana', 'Kosara', 'Kosovka', 'Kostadinka', 'Koštana', 'Kraisava', 'Kristina', 'Krstina', 'Krsmanija', 'Krstana', 'Krunoslava', 'Ksenija', - 'Lana', 'Lara', 'Latinka', 'Lela', 'Lena', 'Lenka', 'Leonida', 'Leonora', 'Lepa', 'Leposava', 'Lidija', 'Liza', 'Lilijana', 'Lila', 'Lola', 'Luna', 'Lučija', 'Luča', - 'Ljepava', 'Ljeposava', 'Ljiljana', 'Ljilja', 'Ljubica', 'Ljuba', 'Ljubinka', 'Ljubomirka', 'Ljubosava', 'Ljupka', - 'Maja', 'Majda', 'Malina', 'Malinka', 'Manda', 'Manduša', 'Marija', 'Mara', 'Marica', 'Maša', 'Marina', 'Marinka', 'Marta', 'Mijana', 'Mila', 'Milana', 'Milanka', 'Miladija', 'Mileva', 'Milena', 'Milija', 'Milka', 'Milkica', 'Milijana', 'Milina', 'Milesa', 'Milisava', 'Milisavka', 'Milosava', 'Milosavka', 'Milica', 'Milojka', 'Miluka', 'Milunka', 'Miluša', 'Miljana', 'Miljka', 'Milja', 'Miomirka', 'Mira', 'Mirka', 'Mirjana', 'Miroslava', 'Mirosava', 'Mitra', - 'Nada', 'Nadežda', 'Nađa', 'Nadica', 'Natalija', 'Nataša', 'Najda', 'Neda', 'Nevena', 'Nevenka', 'Nedeljka', 'Neđeljka', 'Nikolija', 'Nina', 'Nišava', 'Novka', 'Nikoleta', 'Njegomirka', 'Njegoslava', - 'Obradinka', 'Obrenija', 'Ognjana', 'Olga', 'Olja', 'Olivera', - 'Pava', 'Pavija', 'Pavlija', 'Pauna', 'Pelagija', 'Persa', 'Persida', 'Petra', 'Petrija', 'Poznana', 'Prodana', - 'Rada', 'Radica', 'Radana', 'Radinka', 'Radmila', 'Radna', 'Radojka', 'Radoslava', 'Raduka', 'Radula', 'Radunka', 'Rajka', 'Rajna', 'Ranka', 'Roksanda', 'Rosa', 'Ruža', 'Ružica', - 'Sava', 'Savka', 'Sazdana', 'Sandra', 'Sanja', 'Sara', 'Svetislava', 'Svetlana', 'Svjetlana', 'Sekana', 'Simana', 'Simeuna', 'Simka', 'Simonida', 'Sinđa', 'Skorosava', 'Slavica', 'Slavka', 'Slavna', 'Slavojka', 'Slađana', 'Slobodanka', 'Smiljana', 'Smiljka', 'Smilja', 'Smoljana', 'Smoljka', 'Snežana', 'Snježana', 'Sofija', 'Soka', 'Sonja', 'Spasenija', 'Spomenka', 'Srbijanka', 'Stajka', 'Staka', 'Stamena', 'Stamenka', 'Stana', 'Stanka', 'Stanija', 'Stanica', 'Stanava', 'Stanača', 'Stanislava', 'Stanisava', 'Stanojka', 'Stanojla', 'Staša', 'Stoisava', 'Stojana', 'Stojanka', 'Stojka', 'Stoja', 'Stojna', 'Suzana', - 'Tajana', 'Tamara', 'Tankosa', 'Tankosava', 'Tara', 'Tatjana', 'Tanja', 'Teodora', 'Todora', 'Tea', 'Tijana', 'Tomanija', - 'Ćerana', 'Ubavka', 'Una', 'Fema', 'Hranislava', - 'Cveta', 'Cvijeta', - 'Čarna', - 'Šana', - ]; + protected static $firstNameFemale = [ + 'Andrea', + 'Agnica', + 'Adelina', + 'Aleksandra', + 'Aleksija', + 'Ana', + 'Anastasija', + 'Andrijana', + 'Anda', + 'Anđa', + 'Anđela', + 'Anđelka', + 'Anđelija', + 'Angelina', + 'Anka', + 'Ankica', + 'Anica', + 'Antonina ', + 'Blagoja', + 'Biljana', + 'Bisenija', + 'Biserka', + 'Blaginja', + 'Blagica', + 'Blaženka', + 'Bogdana', + 'Bogdanka', + 'Božana', + 'Božidarka', + 'Božinka', + 'Božica', + 'Bojana', + 'Borislava', + 'Borislavka', + 'Borjana', + 'Borjanka', + 'Borka', + 'Bosa', + 'Bosiljka', + 'Branislava', + 'Branka', + 'Brankica', + 'Bratislava', + 'Budimirka', + 'Budimka', + 'Valerija', + 'Vanja', + 'Varvara', + 'Vasilija', + 'Vasiljka', + 'Vasilka', + 'Vaskrsija', + 'Veliborka', + 'Velinka', + 'Velisava', + 'Vera', + 'Verka', + 'Verica', + 'Veronika', + 'Veroslava', + 'Veselinka', + 'Vesela', + 'Vesna', + 'Vida', + 'Vidojka', + 'Vidosava', + 'Viktorija', + 'Violeta', + 'Vitka', + 'Vitomirka', + 'Višeslava', + 'Višnja', + 'Vladana', + 'Vladanka', + 'Vladimirka', + 'Vladislava', + 'Vlasta', + 'Vlastimirka', + 'Vlatka', + 'Vojislava', + 'Vojka', + 'Vujadinka', + 'Vujka', + 'Vujana', + 'Vukana', + 'Vukica', + 'Vukosava', + 'Vukmira ', + 'Gavra', + 'Gavrila', + 'Gavrilka', + 'Gvozdenija', + 'Georgina', + 'Gorana', + 'Gorica', + 'Goranka', + 'Gorjana', + 'Gordana', + 'Gospava', + 'Grozdana', + 'Grozda', + 'Davorka', + 'Daliborka', + 'Damjanka', + 'Damljanka', + 'Danica', + 'Danka', + 'Dana', + 'Danojla', + 'Darinka', + 'Dara', + 'Dafina', + 'Daša', + 'Deva', + 'Dejana', + 'Desanka', + 'Desa', + 'Despina', + 'Despinja', + 'Divna', + 'Dikosava', + 'Dmitra', + 'Dobrila', + 'Dobrinka', + 'Dobrica', + 'Dobrija', + 'Dokna', + 'Doroteja', + 'Dostana', + 'Dragica', + 'Dragana', + 'Draga', + 'Draginja', + 'Dragojla', + 'Dragija', + 'Dragomira', + 'Dragoslava', + 'Drenka', + 'Drena', + 'Drina', + 'Drinka', + 'Dubravka', + 'Dunja', + 'Dušanka', + 'Dušica', + 'Duška', + 'Đurđa', + 'Đurđica', + 'Đurđija', + 'Đurisava', + 'Đurđevka', + 'Đuka', + 'Eva', + 'Evica', + 'Evgenija', + 'Evdokija', + 'Elena', + 'Ekaterina', + 'Emilija', + 'Žaklina', + 'Žanka', + 'Želimirka', + 'Željka', + 'Željana', + 'Živadinka', + 'Živana', + 'Živanka', + 'Živka', + 'Živodarka', + 'Živoratka', + 'Živoslava', + 'Živoslavka', + 'Zavida', + 'Zagorka', + 'Zaga', + 'Zvezdana', + 'Zvjezdana', + 'Zvonka', + 'Zdravka', + 'Zlata', + 'Zlatica', + 'Zlatka', + 'Zlatana', + 'Zlatija', + 'Zlatomirka', + 'Zora', + 'Zorica', + 'Zorana', + 'Zorka', + 'Zorislava', + 'Zrinka', + 'Iva', + 'Ivana', + 'Ivanka', + 'Ivka', + 'Ivona', + 'Ikonija', + 'Ilinka', + 'Irena', + 'Irina', + 'Isidora', + 'Javorka', + 'Jagoda', + 'Jagodinka', + 'Jadranka', + 'Jana', + 'Janja', + 'Janovka', + 'Jasmina', + 'Jasminka', + 'Jasna', + 'Jevdokija', + 'Jevrosima', + 'Jela', + 'Jelica', + 'Jelka', + 'Jeka', + 'Jelača', + 'Jelena', + 'Jelenka', + 'Jelisava', + 'Jelisaveta', + 'Jelisavka', + 'Jefimija', + 'Ješa', + 'Jovana', + 'Jovanka', + 'Jovka', + 'Jorgovanka', + 'Jordanka', + 'Julija', + 'Julijana', + 'Julka', + 'Kadivka', + 'Kazimira', + 'Kasija', + 'Katarina', + 'Kata', + 'Katica', + 'Kovana', + 'Koviljka', + 'Kovina', + 'Kojadinka', + 'Komnenija', + 'Kosana', + 'Kosara', + 'Kosovka', + 'Kostadinka', + 'Koštana', + 'Kraisava', + 'Kristina', + 'Krstina', + 'Krsmanija', + 'Krstana', + 'Krunoslava', + 'Ksenija', + 'Lana', + 'Lara', + 'Latinka', + 'Lela', + 'Lena', + 'Lenka', + 'Leonida', + 'Leonora', + 'Lepa', + 'Leposava', + 'Lidija', + 'Liza', + 'Lilijana', + 'Lila', + 'Lola', + 'Luna', + 'Lučija', + 'Luča', + 'Ljepava', + 'Ljeposava', + 'Ljiljana', + 'Ljilja', + 'Ljubica', + 'Ljuba', + 'Ljubinka', + 'Ljubomirka', + 'Ljubosava', + 'Ljupka', + 'Maja', + 'Majda', + 'Malina', + 'Malinka', + 'Manda', + 'Manduša', + 'Marija', + 'Mara', + 'Marica', + 'Maša', + 'Marina', + 'Marinka', + 'Marta', + 'Mijana', + 'Mila', + 'Milana', + 'Milanka', + 'Miladija', + 'Mileva', + 'Milena', + 'Milija', + 'Milka', + 'Milkica', + 'Milijana', + 'Milina', + 'Milesa', + 'Milisava', + 'Milisavka', + 'Milosava', + 'Milosavka', + 'Milica', + 'Milojka', + 'Miluka', + 'Milunka', + 'Miluša', + 'Miljana', + 'Miljka', + 'Milja', + 'Miomirka', + 'Mira', + 'Mirka', + 'Mirjana', + 'Miroslava', + 'Mirosava', + 'Mitra', + 'Nada', + 'Nadežda', + 'Nađa', + 'Nadica', + 'Natalija', + 'Nataša', + 'Najda', + 'Neda', + 'Nevena', + 'Nevenka', + 'Nedeljka', + 'Neđeljka', + 'Nikolija', + 'Nina', + 'Nišava', + 'Novka', + 'Nikoleta', + 'Njegomirka', + 'Njegoslava', + 'Obradinka', + 'Obrenija', + 'Ognjana', + 'Olga', + 'Olja', + 'Olivera', + 'Pava', + 'Pavija', + 'Pavlija', + 'Pauna', + 'Pelagija', + 'Persa', + 'Persida', + 'Petra', + 'Petrija', + 'Poznana', + 'Prodana', + 'Rada', + 'Radica', + 'Radana', + 'Radinka', + 'Radmila', + 'Radna', + 'Radojka', + 'Radoslava', + 'Raduka', + 'Radula', + 'Radunka', + 'Rajka', + 'Rajna', + 'Ranka', + 'Roksanda', + 'Rosa', + 'Ruža', + 'Ružica', + 'Sava', + 'Savka', + 'Sazdana', + 'Sandra', + 'Sanja', + 'Sara', + 'Svetislava', + 'Svetlana', + 'Svjetlana', + 'Sekana', + 'Simana', + 'Simeuna', + 'Simka', + 'Simonida', + 'Sinđa', + 'Skorosava', + 'Slavica', + 'Slavka', + 'Slavna', + 'Slavojka', + 'Slađana', + 'Slobodanka', + 'Smiljana', + 'Smiljka', + 'Smilja', + 'Smoljana', + 'Smoljka', + 'Snežana', + 'Snježana', + 'Sofija', + 'Soka', + 'Sonja', + 'Spasenija', + 'Spomenka', + 'Srbijanka', + 'Stajka', + 'Staka', + 'Stamena', + 'Stamenka', + 'Stana', + 'Stanka', + 'Stanija', + 'Stanica', + 'Stanava', + 'Stanača', + 'Stanislava', + 'Stanisava', + 'Stanojka', + 'Stanojla', + 'Staša', + 'Stoisava', + 'Stojana', + 'Stojanka', + 'Stojka', + 'Stoja', + 'Stojna', + 'Suzana', + 'Tajana', + 'Tamara', + 'Tankosa', + 'Tankosava', + 'Tara', + 'Tatjana', + 'Tanja', + 'Teodora', + 'Todora', + 'Tea', + 'Tijana', + 'Tomanija', + 'Ćerana', + 'Ubavka', + 'Una', + 'Fema', + 'Hranislava', + 'Cveta', + 'Cvijeta', + 'Čarna', + 'Šana', + ]; - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B - */ - protected static $lastName = [ - 'Abadžić', 'Abdulić', 'Abramić', 'Avalić', 'Avdulić', 'Avrić', 'Aguridić', 'Adamić', 'Azarić', 'Ajdačić', 'Ajdučić', 'Aksentić', 'Aksić', 'Alavantić', 'Aladić', 'Alargić', 'Albijanić', 'Aleksandrić', 'Aleksendrić', 'Aleksić', 'Alimpić', 'Aličić', 'Aljančić', 'Amidžić', 'Ananić', 'Andić', 'Andrejić', 'Andrijanić', 'Andrić', 'Androbić', 'Anđelić', 'Anđić', 'Anđušić', 'Anić', 'Aničić', 'Ankić', 'Anojčić', 'Anokić', 'Antić', 'Antonić', 'Anušić', 'Apelić', 'Apić', 'Arambašić', 'Ardalić', 'Arsenić', 'Arsić', 'Atlagić', 'Aćimić', 'Aćić', 'Acić', 'Ačić', 'Adžić', 'Aškrabić', 'Ašćerić', - 'Babarogić', 'Babić', 'Bavarčić', 'Baveljić', 'Badrić', 'Bajagić', 'Bajandić', 'Bajić', 'Bajičić', 'Bajkić', 'Bajčetić', 'Bajčić', 'Bakić', 'Baletić', 'Balotić', 'Baltić', 'Balšić', 'Banzić', 'Banić', 'Bantulić', 'Banjalić', 'Baralić', 'Barić', 'Barišić', 'Baroševčić', 'Basarić', 'Bastajić', 'Bastašić', 'Bataveljić', 'Batinić', 'Batnožić', 'Baćić', 'Bacetić', 'Bačić', 'Bačkulić', 'Bašić', 'Baštić', 'Bebić', 'Begenišić', 'Bežanić', 'Bekčić', 'Belančić', 'Belić', 'Belogrlić', 'Belodedić', 'Belonić', 'Beljić', 'Bendić', 'Berilažić', 'Berić', 'Besedić', 'Besjedić', 'Biberčić', 'Biberdžić', 'Bibić', 'Bižić', 'Bizetić', 'Bizumić', 'Bijanić', 'Bijelić', 'Bijelonić', 'Bilibajkić', 'Bilić', 'Bilkić', 'Biljić', 'Biljurić', 'Binić', 'Birišić', 'Bisenić', 'Biserić', 'Biserčić', 'Bisić', 'Bjekić', 'Bjeletić', 'Bjelinić', 'Bjelić', 'Bjeličić', 'Bjelkić', 'Bjelovitić', 'Bjelogrlić', 'Bjelonić', 'Bjelotomić', 'Blagić', 'Blagotić', 'Blažarić', 'Blažetić', 'Blažić', 'Blatešić', 'Blendić', 'Blesić', 'Blečić', 'Blešić', 'Boberić', 'Bobić', 'Bobušić', 'Bogatić', 'Bogdanić', 'Bogetić', 'Bogić', 'Bogičić', 'Bodirogić', 'Bodirožić', 'Bodić', 'Bodrožić', 'Božanić', 'Božikić', 'Božić', 'Božičić', 'Bojadić', 'Bojanić', 'Bojić', 'Bojičić', 'Bojkić', 'Bojčetić', 'Bojčić', 'Bokanić', 'Bokonjić', 'Bolić', 'Boltić', 'Boljanić', 'Bontić', 'Bondžić', 'Bondžulić', 'Borikić', 'Borić', 'Boričić', 'Borišić', 'Borjanić', 'Borokić', 'Borotić', 'Borčić', 'Bosančić', 'Bosiljkić', 'Bosiljčić', 'Bosiorčić', 'Bosiočić', 'Bosić', 'Bosnić', 'Botorić', 'Bocić', 'Bocokić', 'Bošnjačić', 'Boštrunić', 'Bradarić', 'Bradić', 'Bradonjić', 'Brajić', 'Braletić', 'Bralić', 'Bralušić', 'Brančić', 'Bratić', 'Bratonožić', 'Brašić', 'Brdarić', 'Brežančić', 'Brezić', 'Brekić', 'Brzić', 'Brisić', 'Brkanlić', 'Brkić', 'Brndušić', 'Brodalić', 'Brodić', 'Broćić', 'Bruić', 'Brujić', 'Brukić', 'Bubić', 'Bubonjić', 'Bugarčić', 'Budalić', 'Budimkić', 'Budimčić', 'Budinčić', 'Budić', 'Budišić', 'Budnić', 'Budurić', 'Buzaretić', 'Bujagić', 'Bujandrić', 'Bujić', 'Bujišić', 'Bujuklić', 'Bukazić', 'Bukvić', 'Bukelić', 'Bukovčić', 'Bukonjić', 'Bukumirić', 'Bukušić', 'Bulajić', 'Bulić', 'Buljubašić', 'Buljugić', 'Bumbić', 'Bunardžić', 'Bunić', 'Bunčić', 'Burgić', 'Burić', 'Burlić', 'Busančić', 'Buckić', 'Bučić', 'Bušetić', 'Bušić', - 'Vagić', 'Vagurić', 'Vajić', 'Vajkarić', 'Vakičić', 'Vanušić', 'Varagić', 'Varaklić', 'Vardalić', 'Varjačić', 'Varničić', 'Vaselić', 'Vasilić', 'Vasić', 'Vašalić', 'Vekić', 'Veletić', 'Velikić', 'Veličić', 'Velišić', 'Veljančić', 'Veljić', 'Vemić', 'Verbić', 'Verbunkić', 'Vergić', 'Verić', 'Verkić', 'Veselić', 'Veseličić', 'Vesić', 'Vesnić', 'Vidarić', 'Vidačić', 'Videkanić', 'Vidić', 'Vilendečić', 'Vilotić', 'Vinokić', 'Vinčić', 'Viorikić', 'Vitakić', 'Vitolić', 'Vićentić', 'Višić', 'Vladetić', 'Vladić', 'Vladičić', 'Vladušić', 'Vlajić', 'Vlajnić', 'Vlajčić', 'Vlaketić', 'Vlasinić', 'Vlasonjić', 'Vlastić', 'Vlačić', 'Vlaškalić', 'Vojičić', 'Vojkić', 'Vojčić', 'Vorgić', 'Vorkapić', 'Voćkić', 'Voštinić', 'Voštić', 'Vranić', 'Vrančić', 'Vratonjić', 'Vračarić', 'Vrekić', 'Vrećić', 'Vrzić', 'Vrtunić', 'Vrugić', 'Vujanić', 'Vujanušić', 'Vujačić', 'Vujetić', 'Vujinić', 'Vujisić', 'Vujić', 'Vujičić', 'Vujnić', 'Vujčetić', 'Vukanić', 'Vukelić', 'Vukić', 'Vukoičić', 'Vukojičić', 'Vukojčić', 'Vukolić', 'Vukomančić', 'Vukosavić', 'Vukotić', 'Vukšić', 'Vuletić', 'Vulešić', 'Vulikić', 'Vulić', 'Vulišić', 'Vucelić', 'Vučelić', 'Vučendić', 'Vučenić', 'Vučetić', 'Vučinić', 'Vučić', - 'Gavarić', 'Gavranić', 'Gavrančić', 'Gavrić', 'Gagić', 'Gagričić', 'Gajanić', 'Gajetić', 'Gajić', 'Gajičić', 'Gajtanić', 'Galetić', 'Galić', 'Galonić', 'Galonjić', 'Gambelić', 'Garačić', 'Gardić', 'Garić', 'Garotić', 'Gatarić', 'Gačić', 'Gadžić', 'Gašić', 'Gvozdenić', 'Gvozdić', 'Gvoić', 'Gvojić', 'Genčić', 'Gerzić', 'Gizdavić', 'Gilić', 'Glavendekić', 'Glavinić', 'Glavonić', 'Glavonjić', 'Glavčić', 'Glamočić', 'Gledić', 'Gležnić', 'Glibetić', 'Gligić', 'Gligorić', 'Gligurić', 'Glintić', 'Glišić', 'Gloginjić', 'Glomazić', 'Gluvajić', 'Glumičić', 'Gmizić', 'Gnjatić', 'Gobeljić', 'Gogić', 'Gojgić', 'Goncić', 'Goranić', 'Gorančić', 'Gordanić', 'Gordić', 'Goronjić', 'Gospavić', 'Gostić', 'Gostojić', 'Gocić', 'Gošnjić', 'Grabić', 'Grabovčić', 'Gradić', 'Gramić', 'Grandić', 'Granolić', 'Granulić', 'Graonić', 'Grašić', 'Grbić', 'Grečić', 'Grkinić', 'Grozdanić', 'Grozdić', 'Grokanić', 'Gromilić', 'Grubačić', 'Grubetić', 'Grubešić', 'Grubić', 'Grubišić', 'Grubješić', 'Grublješić', 'Grubnić', 'Gružanić', 'Grujanić', 'Grujić', 'Grujičić', 'Grumić', 'Guberinić', 'Gudurić', 'Gužvić', 'Gujaničić', 'Gurešić', 'Guconić', 'Gudžulić', 'Gušić', - 'Dabarčić', 'Dabetić', 'Dabić', 'Davinić', 'Dajić', 'Dajlić', 'Damjanić', 'Dangić', 'Dangubić', 'Daničić', 'Danojlić', 'Dardić', 'Dafunić', 'Dačić', 'Dvokić', 'Dvorančić', 'Dvornić', 'Debelnogić', 'Devedžić', 'Dedić', 'Dejanić', 'Delić', 'Demić', 'Demonjić', 'Denić', 'Denkić', 'Denčić', 'Derajić', 'Deretić', 'Derikonjić', 'Deronjić', 'Desančić', 'Despenić', 'Despinić', 'Despić', 'Deurić', 'Dešić', 'Divić', 'Divnić', 'Divčić', 'Dikić', 'Diklić', 'Dikosavić', 'Dimanić', 'Dimitrić', 'Dimić', 'Dimkić', 'Dimčić', 'Dinić', 'Dinkić', 'Dinčić', 'Diskić', 'Dičić', 'Dobranić', 'Dobratić', 'Dobrić', 'Dobričić', 'Dovijanić', 'Dogandžić', 'Doganjić', 'Dodić', 'Dokić', 'Doknić', 'Dolinić', 'Dončić', 'Dorontić', 'Dostanić', 'Dostić', 'Dostičić', 'Dotlić', 'Dravić', 'Draganić', 'Draginčić', 'Dragić', 'Dragišić', 'Dragoljić', 'Dragonjić', 'Dragoslavić', 'Dragotić', 'Dragušić', 'Dražić', 'Drajić', 'Drakulić', 'Dramlić', 'Drangić', 'Draškić', 'Drezgić', 'Drekić', 'Drenić', 'Drinić', 'Drinčić', 'Družetić', 'Drulić', 'Drčelić', 'Dubajić', 'Dubačkić', 'Dubonjić', 'Dugalić', 'Dugić', 'Dugonjić', 'Dudić', 'Dukić', 'Dumanjić', 'Dumeljić', 'Dumitrikić', 'Dumnić', 'Dumonić', 'Dunčić', 'Dunjić', 'Duronjić', 'Dučić', 'Dušanić', - 'Đajić', 'Đakušić', 'Đapić', 'Đekić', 'Đelić', 'Đelkapić', 'Đenadić', 'Đenisić', 'Đenić', 'Đerić', 'Đikić', 'Đinđić', 'Đokić', 'Đorđić', 'Đorić', 'Đuzić', 'Đujić', 'Đukarić', 'Đukelić', 'Đuketić', 'Đukić', 'Đuknić', 'Đuragić', 'Đurakić', 'Đurđić', 'Đuretić', 'Đurić', 'Đuričić', 'Đurišić', 'Đurkić', 'Đusić', - 'Evđenić', 'Egarić', 'Egerić', 'Egić', 'Ekmečić', 'Ekmedžić', 'Ergić', 'Eremić', 'Erić', 'Erletić', 'Erčić', - 'Žagrić', 'Žarić', 'Žarkić', 'Žepinić', 'Žeravić', 'Žeravčić', 'Žerajić', 'Žestić', 'Živanić', 'Živankić', 'Živić', 'Životić', 'Žigić', 'Žižić', 'Žikelić', 'Žikić', 'Žiletić', 'Žilić', 'Žmirić', 'Žmukić', 'Žmurić', 'Žugić', 'Žunić', 'Žutić', 'Žutobradić', 'Zaburnić', 'Zavišić', 'Zagorčić', 'Zakić', 'Zapukić', 'Zaradić', 'Zarić', 'Zatežić', 'Zaharić', 'Zbiljić', 'Zvekić', 'Zvizdić', 'Zdravić', 'Zdujić', 'Zebić', 'Zekavičić', 'Zekić', 'Zelić', 'Zimonjić', 'Zinaić', 'Zinajić', 'Zisić', 'Zjajić', 'Zjalić', 'Zjačić', 'Zlatić', 'Zličić', 'Zlovarić', 'Zojkić', 'Zokić', 'Zolotić', 'Zorbić', 'Zorić', 'Zoričić', 'Zorkić', 'Zrakić', 'Zrilić', 'Zrnić', 'Zubić', 'Zurnić', - 'Ibrić', 'Ivanić', 'Ivantić', 'Ivančić', 'Ivezić', 'Ivetić', 'Ivić', 'Ivičić', 'Ivucić', 'Igić', 'Ignjatić', 'Ignjić', 'Ijačić', 'Ikić', 'Ikonić', 'Ilibašić', 'Ilijić', 'Ilikić', 'Ilinčić', 'Ilisić', 'Ilić', 'Iličić', 'Ilkić', 'Inđić', 'Irić', 'Ičelić', - 'Jablančić', 'Javorić', 'Jagličić', 'Jagodić', 'Jakić', 'Jakišić', 'Jakonić', 'Jakšić', 'Jalić', 'Jandrić', 'Janikić', 'Janić', 'Janičić', 'Jankelić', 'Jankić', 'Janojkić', 'Jančić', 'Jančurić', 'Janjić', 'Janjušić', 'Jarić', 'Jasnić', 'Jašić', 'Jevdoksić', 'Jevđenić', 'Jeveričić', 'Jević', 'Jevrić', 'Jevtić', 'Jegdić', 'Jezdić', 'Jezerkić', 'Jelačić', 'Jelašić', 'Jelenić', 'Jelesić', 'Jelikić', 'Jelisavčić', 'Jelisić', 'Jelić', 'Jeličić', 'Jelušić', 'Jenić', 'Jergić', 'Jeremić', 'Jerinić', 'Jerinkić', 'Jerosimić', 'Jerotić', 'Jerčić', 'Jesretić', 'Jestrotić', 'Jeftenić', 'Jeftić', 'Ječmenić', 'Ješić', 'Jovakarić', 'Jovandić', 'Jovanetić', 'Jovanić', 'Jovankić', 'Jovančić', 'Jovadžić', 'Jovelić', 'Joveljić', 'Jovetić', 'Jovešić', 'Jovikić', 'Jović', 'Jovičić', 'Jovišić', 'Jovkić', 'Jovonić', 'Jovčić', 'Jozić', 'Jojić', 'Jojčić', 'Jokić', 'Jokičić', 'Joksić', 'Jolić', 'Jonikić', 'Jonić', 'Joničić', 'Jonkić', 'Jontić', 'Jončić', 'Jorgić', 'Jorgonić', 'Josić', 'Jocić', 'Juzbašić', 'Jukić', 'Jungić', 'Jurišić', 'Juškić', - 'Kavalić', 'Kajganić', 'Kalabić', 'Kalajić', 'Kalajdžić', 'Kalendić', 'Kalenić', 'Kalinić', 'Kamperelić', 'Kandić', 'Kanlić', 'Kanjerić', 'Karavidić', 'Karagić', 'Karajčić', 'Karaklajić', 'Karaleić', 'Karalejić', 'Karalić', 'Karapandžić', 'Karatošić', 'Karaulić', 'Karadžić', 'Karić', 'Karišić', 'Karličić', 'Katanić', 'Katić', 'Kaćurić', 'Kačaniklić', 'Kašerić', 'Kvrgić', 'Kendrišić', 'Kentrić', 'Kepić', 'Kesić', 'Kečkić', 'Kijačić', 'Kimčetić', 'Kiselčić', 'Kitanić', 'Kitić', 'Kitonjić', 'Kičić', 'Klevernić', 'Klepić', 'Klinić', 'Klipić', 'Klisarić', 'Klisurić', 'Kličarić', 'Kljajić', 'Kljakić', 'Knežić', 'Kovanušić', 'Kovandžić', 'Kovarbašić', 'Kovačić', 'Kovinić', 'Kovinčić', 'Kovjanić', 'Kovjenić', 'Kovljenić', 'Kozić', 'Kojanić', 'Kojić', 'Kojičić', 'Kojčić', 'Kojundžić', 'Kolavčić', 'Kolarić', 'Kolačarić', 'Količić', 'Kolundžić', 'Koljančić', 'Komadinić', 'Komarčić', 'Komlenić', 'Komnenić', 'Kondić', 'Kontić', 'Konculić', 'Konjikušić', 'Koraksić', 'Kordić', 'Korugić', 'Koružić', 'Kosanić', 'Kosić', 'Kosnić', 'Kosorić', 'Kostić', 'Kotarlić', 'Kotlajić', 'Kočić', 'Kodžopeljić', 'Košarić', 'Košpić', 'Košutić', 'Kravarušić', 'Kravić', 'Kragić', 'Krainčanić', 'Krantić', 'Krasavčić', 'Krasić', 'Krezić', 'Krejić', 'Kremić', 'Kremonjić', 'Krestić', 'Krivošić', 'Krkeljić', 'Krkić', 'Krkobabić', 'Krnetić', 'Krnjajić', 'Krnjeušić', 'Krompić', 'Krotić', 'Krpić', 'Krsmanić', 'Krsmić', 'Krstajić', 'Krstekanić', 'Krstinić', 'Krstić', 'Krstičić', 'Krstonić', 'Krstonošić', 'Krtinić', 'Krunić', 'Kruškonjić', 'Kršić', 'Kuveljić', 'Kudrić', 'Kuzmić', 'Kujavić', 'Kujačić', 'Kujundžić', 'Kukrić', 'Kulezić', 'Kulizić', 'Kulišić', 'Kulundžić', 'Kuljančić', 'Kuljić', 'Kumrić', 'Kureljušić', 'Kurilić', 'Kursulić', 'Kurucić', 'Kurčubić', 'Kusonić', 'Kusonjić', 'Kusturić', 'Kutlačić', 'Kutlešić', 'Kušić', 'Kušljić', - 'Labotić', 'Lavrnić', 'Lažetić', 'Lazendić', 'Lazetić', 'Lazić', 'Lazičić', 'Lazukić', 'Lajšić', 'Laketić', 'Lakić', 'Lalić', 'Lambić', 'Lapčić', 'Lastić', 'Latinčić', 'Leburić', 'Ležaić', 'Ležajić', 'Lekanić', 'Lekić', 'Lemaić', 'Lemajić', 'Leposavić', 'Lesendrić', 'Lečić', 'Leštarić', 'Lijeskić', 'Likodrić', 'Likušić', 'Lilić', 'Lipovčić', 'Lisičić', 'Lišančić', 'Lovrić', 'Lozanić', 'Lojaničić', 'Lolić', 'Lomić', 'Lopandić', 'Lubardić', 'Lubinić', 'Luburić', 'Lugonjić', 'Lužaić', 'Lužajić', 'Lukajić', 'Lukačić', 'Lukendić', 'Lukić', 'Lukičić', 'Lunić', 'Lutkić', 'Lučić', - 'Ljamić', 'Ljeganušić', 'Ljotić', 'Ljubanić', 'Ljubić', 'Ljubičić', 'Ljubišić', 'Ljušić', 'Ljuškić', - 'Maglić', 'Majkić', 'Makarić', 'Makivić', 'Makragić', 'Maksić', 'Malavrazić', 'Malbašić', 'Malenčić', 'Maletić', 'Malešić', 'Malinić', 'Mališić', 'Malobabić', 'Malušić', 'Maljugić', 'Maljčić', 'Mandarić', 'Mandinić', 'Mandić', 'Mandušić', 'Manić', 'Mančić', 'Manjenčić', 'Maravić', 'Marinčić', 'Marić', 'Maričić', 'Markagić', 'Markelić', 'Markeljić', 'Markulić', 'Marodić', 'Martić', 'Marunić', 'Marunkić', 'Marušić', 'Marčetić', 'Marčić', 'Masalušić', 'Maslarić', 'Maslić', 'Maslovarić', 'Matarugić', 'Matejić', 'Materić', 'Matić', 'Matičić', 'Matušić', 'Maćešić', 'Maćić', 'Mačić', 'Mačkić', 'Mačužić', 'Mašić', 'Medić', 'Medurić', 'Mektić', 'Mesulić', 'Mijalčić', 'Mijanić', 'Mijačić', 'Mijić', 'Mijucić', 'Mikarić', 'Mikelić', 'Miketić', 'Mikić', 'Mikičić', 'Mikonjić', 'Mikulić', 'Miladić', 'Milakić', 'Milačić', 'Milekić', 'Milenić', 'Miletić', 'Mileusnić', 'Milešić', 'Milijić', 'Milikić', 'Milikšić', 'Milinić', 'Milinčić', 'Milisavić', 'Miličić', 'Milić', 'Milišić', 'Milkić', 'Miloičić', 'Milojić', 'Milojičić', 'Milojkić', 'Milojčić', 'Milotić', 'Milunić', 'Milušić', 'Milčić', 'Miljanić', 'Mindić', 'Minić', 'Minčić', 'Miovčić', 'Miodanić', 'Mionić', 'Miražić', 'Mirić', 'Mirjanić', 'Mirkić', 'Mirosavić', 'Mirčetić', 'Mirčić', 'Misojčić', 'Mitić', 'Mitranić', 'Mitrekanić', 'Mitrić', 'Mitrušić', 'Mićić', 'Mihaljčić', 'Miholjčić', 'Mišeljić', 'Mišić', 'Miškić', 'Mišurić', 'Mladić', 'Mladžić', 'Mojsić', 'Mokrić', 'Momić', 'Moračić', 'Moretić', 'Morokvašić', 'Motičić', 'Mrakić', 'Mračić', 'Mrdić', 'Mrkić', 'Mrkonjić', 'Mrkušić', 'Mrkšić', 'Mudrinić', 'Mudrić', 'Munišić', 'Murganić', 'Mutavdžić', 'Mutibarić', 'Mučibabić', 'Mušikić', - 'Navalušić', 'Nagradić', 'Nagulić', 'Nadaškić', 'Najdić', 'Najkić', 'Nakalamić', 'Nakić', 'Narančić', 'Narandžić', 'Nastasić', 'Nastić', 'Nebrigić', 'Nevajdić', 'Nevenić', 'Negoicić', 'Nedinić', 'Nedić', 'Nekić', 'Nemanjić', 'Nenadić', 'Nenić', 'Neoričić', 'Nešić', 'Nikezić', 'Niketić', 'Nikitić', 'Nikoletić', 'Nikolešić', 'Nikolić', 'Nikolčić', 'Nikšić', 'Ninić', 'Ninčić', 'Ničić', 'Nišavić', 'Nišić', 'Novalušić', 'Novarlić', 'Novačikić', 'Nović', 'Novičić', 'Novčić', 'Nožinić', 'Nojkić', 'Njegić', 'Njegrić', 'Nježić', - 'Obrenić', 'Odavić', 'Ozimić', 'Ojdanić', 'Ojkić', 'Oketić', 'Okolić', 'Okulić', 'Olarić', 'Olić', 'Olujić', 'Oljačić', 'Opalić', 'Oparušić', 'Opačić', 'Oprikić', 'Oprić', 'Opricić', 'Oraovčić', 'Orlandić', 'Orlić', 'Osmajlić', 'Ostojić', 'Ocokoljić', 'Odžić', - 'Pavić', 'Pavičić', 'Pavlekić', 'Pavličić', 'Pavčić', 'Padić', 'Pajagić', 'Pajić', 'Pajičić', 'Pajkić', 'Pajtić', 'Palalić', 'Palangetić', 'Paligorić', 'Palić', 'Paninčić', 'Panić', 'Panišić', 'Pantelić', 'Pantić', 'Pančić', 'Pandžić', 'Papić', 'Paprić', 'Papulić', 'Paramentić', 'Paraušić', 'Parivodić', 'Parlić', 'Parojčić', 'Patrnogić', 'Paunić', 'Pašić', 'Pejić', 'Pejičić', 'Pejušić', 'Pejčić', 'Pelagić', 'Pendić', 'Penezić', 'Penčić', 'Pepić', 'Perenić', 'Perić', 'Peričić', 'Perišić', 'Perjaničić', 'Perkić', 'Perotić', 'Peruničić', 'Perčić', 'Petkanić', 'Petrikić', 'Petrić', 'Petričić', 'Petronić', 'Petrušić', 'Peulić', 'Pecić', 'Pečeničić', 'Pešić', 'Pikić', 'Pilindavić', 'Piljagić', 'Piperčić', 'Pirivatrić', 'Pirić', 'Pisarić', 'Pitulić', 'Pjanić', 'Pjević', 'Plavić', 'Plavkić', 'Plavljanić', 'Plavšić', 'Plazinić', 'Planinčić', 'Planić', 'Platanić', 'Plačić', 'Plemić', 'Pleskonjić', 'Plećić', 'Plintić', 'Plisnić', 'Ploskić', 'Pločić', 'Pljakić', 'Pljevaljčić', 'Pobulić', 'Podinić', 'Podraščić', 'Podrić', 'Poznanić', 'Poznić', 'Pojkić', 'Polić', 'Polomčić', 'Polugić', 'Ponjavić', 'Pop Lazić', 'Popadić', 'Poparić', 'Popčić', 'Potrebić', 'Poštić', 'Pravdić', 'Pražić', 'Predić', 'Prekić', 'Prelić', 'Prendić', 'Prešić', 'Pržić', 'Pribić', 'Pribišić', 'Prigodić', 'Prijić', 'Prikić', 'Prišić', 'Prodanić', 'Prokić', 'Prokopić', 'Prolić', 'Protić', 'Prošić', 'Pruginić', 'Prunić', 'Pršendić', 'Pualić', 'Puvalić', 'Puvačić', 'Pudarić', 'Punišić', 'Purešić', 'Purić', 'Purišić', 'Puslojić', 'Pušeljić', - 'Ravilić', 'Radančić', 'Radeljić', 'Radetić', 'Radešić', 'Radivojšić', 'Radikić', 'Radisavić', 'Radić', 'Radičić', 'Radišić', 'Radnić', 'Radoičić', 'Radojičić', 'Radojkić', 'Radojčić', 'Radonić', 'Radonjić', 'Radosavkić', 'Radotić', 'Radukić', 'Radulić', 'Raduljčić', 'Raducić', 'Radušić', 'Razumenić', 'Railić', 'Raičić', 'Rajačić', 'Rajić', 'Rajičić', 'Rajlić', 'Rajčetić', 'Rajčić', 'Rajšić', 'Rakezić', 'Raketić', 'Rakinić', 'Rakitić', 'Rakić', 'Rakonić', 'Raletić', 'Ralić', 'Raljić', 'Ramić', 'Ranđić', 'Ranisavić', 'Rankić', 'Rančić', 'Raonić', 'Rapaić', 'Rapajić', 'Rasulić', 'Ratkelić', 'Raulić', 'Racić', 'Račić', 'Rašetić', 'Rašić', 'Rašljić', 'Regodić', 'Regulić', 'Rekalić', 'Reljić', 'Remetić', 'Rendulić', 'Repašić', 'Resimić', 'Redžić', 'Ribarić', 'Riboškić', 'Riđošić', 'Riznić', 'Rinčić', 'Risimić', 'Ristanić', 'Ristić', 'Rogić', 'Roglić', 'Rogonjić', 'Rogulić', 'Rodić', 'Rozgić', 'Rokvić', 'Roknić', 'Roksandić', 'Romanić', 'Romić', 'Rosić', 'Roškić', 'Ruvidić', 'Rudić', 'Rudonjić', 'Ružić', 'Rumenić', 'Rundić', 'Runjajić', 'Rusalić', 'Rutešić', 'Rutonić', 'Ruškić', - 'Sabljić', 'Savandić', 'Savatić', 'Savelić', 'Saveljić', 'Savić', 'Savičić', 'Savkić', 'Savurdić', 'Savčić', 'Salatić', 'Samardžić', 'Sandić', 'Sapardić', 'Saramandić', 'Sarić', 'Satarić', 'Svetličić', 'Svilarić', 'Svojić', 'Sekanić', 'Sekulić', 'Selenić', 'Sendrić', 'Senić', 'Seničić', 'Sentić', 'Setenčić', 'Sibinkić', 'Sibinčić', 'Sikimić', 'Simanić', 'Simendić', 'Simetić', 'Simić', 'Simurdić', 'Sinđelić', 'Sinđić', 'Sinkić', 'Sitničić', 'Sjeničić', 'Skakić', 'Skelić', 'Skendžić', 'Skerlić', 'Skokić', 'Skočajić', 'Skočić', 'Skrobić', 'Skulić', 'Slavić', 'Slavnić', 'Sladić', 'Slović', 'Smilić', 'Smiljanić', 'Smiljić', 'Smiljkić', 'Smoljanić', 'Smrekić', 'Sovrlić', 'Sovtić', 'Sojkić', 'Sokić', 'Soknić', 'Soldatić', 'Sorajić', 'Soskić', 'Sofijanić', 'Sofranić', 'Sofrenić', 'Sofronić', 'Spaić', 'Spakić', 'Sparić', 'Spasenić', 'Spasić', 'Spenčić', 'Sperlić', 'Spirić', 'Spremić', 'Spužić', 'Sredić', 'Sretić', 'Stavrić', 'Stajić', 'Stajkić', 'Stajčić', 'Stajšić', 'Stakić', 'Stakušić', 'Stamatić', 'Stambolić', 'Stamenić', 'Stamenčić', 'Stanarčić', 'Stanetić', 'Stanikić', 'Stanisavić', 'Stanić', 'Staničić', 'Stanišić', 'Stankić', 'Stanovčić', 'Stanojčić', 'Stanušić', 'Stančetić', 'Stančić', 'Stašić', 'Stevandić', 'Stevanetić', 'Stevanić', 'Stevelić', 'Stević', 'Stevčić', 'Stegić', 'Stegnjaić', 'Stegnjajić', 'Stekić', 'Steljić', 'Stepandić', 'Stepanić', 'Stepić', 'Stijačić', 'Stijepić', 'Stikić', 'Stjepić', 'Stožinić', 'Stojanić', 'Stojankić', 'Stojančić', 'Stojačić', 'Stojić', 'Stojičić', 'Stojkić', 'Stojnić', 'Stojčić', 'Stojšić', 'Stokanić', 'Stokić', 'Stolić', 'Stoparić', 'Stopić', 'Stošić', 'Strajnić', 'Strahinić', 'Strahinjić', 'Strinić', 'Subotić', 'Suvajdžić', 'Sumenić', 'Sunarić', 'Surlić', 'Suručić', - 'Tadić', 'Tajsić', 'Tamindžić', 'Tanasić', 'Tanić', 'Tankosić', 'Tančić', 'Tarabić', 'Tasić', 'Tatišić', 'Tvrdišić', 'Teodosić', 'Tepić', 'Tepšić', 'Terzić', 'Teslić', 'Tešanić', 'Tešankić', 'Tešendić', 'Tešinić', 'Tešić', 'Tijanić', 'Timilić', 'Timotić', 'Tirić', 'Tirnanić', 'Tmušić', 'Tovarišić', 'Todić', 'Todorić', 'Todosić', 'Tojić', 'Tokalić', 'Toljagić', 'Tomanić', 'Tomecić', 'Tominčić', 'Tomić', 'Tomičić', 'Tomonjić', 'Tomčić', 'Tontić', 'Tončić', 'Topić', 'Topličić', 'Topolić', 'Toskić', 'Tošanić', 'Tošić', 'Travorić', 'Traparić', 'Trenčić', 'Trivalić', 'Trivić', 'Trivunić', 'Trivunčić', 'Trijić', 'Trikić', 'Trindić', 'Tripić', 'Trifunjagić', 'Trišić', 'Trmčić', 'Trninić', 'Trnić', 'Trošić', 'Trubajić', 'Trudić', 'Trujić', 'Trujkić', 'Tubonjić', 'Tukelić', 'Tumarić', 'Tupajić', 'Turajlić', 'Turnić', 'Turudić', 'Turunčić', 'Tutić', 'Tutorić', 'Tutulić', 'Tufegdžić', 'Tucić', - 'Ćajić', 'Ćalić', 'Ćatić', 'Ćebić', 'Ćelić', 'Ćeranić', 'Ćipranić', 'Ćirić', 'Ćirjanić', 'Ćojbašić', 'Ćopić', 'Ćorić', 'Ćosić', 'Ćuić', 'Ćujić', 'Ćupić', 'Ćurdić', 'Ćurić', 'Ćurčić', 'Ćušić', - 'Ubavić', 'Ubavkić', 'Uvalić', 'Uverić', 'Uglješić', 'Ugrinić', 'Ugrinčić', 'Ugričić', 'Udovičić', 'Udovčić', 'Umeljić', 'Umetić', 'Umiljendić', 'Uršikić', 'Ustić', 'Utvić', 'Ušendić', - 'Farkić', 'Fatić', 'Femić', 'Filipić', 'Fotirić', 'Fotić', 'Frtunić', 'Hadži Antić', 'Hadži Jovančić', 'Hadži Nikolić', 'Hadži Ristić', 'Hadži Tančić', 'Hadžić', 'Hinić', 'Hristić', - 'Cajić', 'Cakić', 'Carić', 'Caričić', 'Cvejić', 'Cvetić', 'Cvijetić', 'Cvijić', 'Cvikić', 'Cvišić', 'Cenić', 'Cenkić', 'Civišić', 'Civrić', 'Ciglić', 'Ciklušić', 'Cicvarić', 'Cmiljanić', 'Cmolić', 'Conić', 'Crnovčić', 'Cukanić', 'Cukić', 'Cuparić', - 'Čabrić', 'Čavić', 'Čajić', 'Čalenić', 'Čalić', 'Čamagić', 'Čantrić', 'Čaprnjić', 'Čarapić', 'Čarnić', 'Čvokić', 'Čvorić', 'Čeleketić', 'Čemerikić', 'Čečarić', 'Čivčić', 'Čikarić', 'Čikić', 'Čiplić', 'Čipčić', 'Čičić', 'Čkovrić', 'Čobelić', 'Čobeljić', 'Čović', 'Čojić', 'Čojčić', 'Čolanić', 'Čolić', 'Čomić', 'Čonkić', 'Čonjagić', 'Čorbić', 'Čotrić', 'Čočurić', 'Čubrić', 'Čudić', 'Čukarić', 'Čukić', 'Čumić', 'Čupeljić', 'Čuperkić', 'Čupić', 'Čuturić', - 'Džavrić', 'Džajić', 'Džambić', 'Džadžić', 'Dželebdžić', 'Džikić', 'Džinić', 'Džodić', 'Džombić', 'Džomić', 'Džonić', - 'Šakić', 'Šakotić', 'Šalinić', 'Šamatić', 'Šantić', 'Šapić', 'Šaponić', 'Šaponjić', 'Šapurić', 'Šarančić', 'Šarić', 'Šarkić', 'Šaronjić', 'Šašić', 'Švabić', 'Ševarlić', 'Šević', 'Ševkušić', 'Šestić', 'Šibalić', 'Šijakinjić', 'Šijačić', 'Šikanić', 'Šikanjić', 'Šimšić', 'Šipetić', 'Šišić', 'Šljivić', 'Šljukić', 'Šmigić', 'Šobajić', 'Šobačić', 'Šorgić', 'Šoškić', 'Špirić', 'Štakić', 'Štulić', 'Šubakić', 'Šubarić', 'Šubić', 'Šuleić', 'Šulejić', 'Šuletić', 'Šulkić', 'Šuluburić', 'Šuljagić', 'Šumatić', 'Šunderić', 'Šunkić', 'Šunjevarić', 'Šutuljić', 'Šušić', 'Šušulić', - ]; + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B + */ + protected static $lastName = [ + 'Abadžić', + 'Abdulić', + 'Abramić', + 'Avalić', + 'Avdulić', + 'Avrić', + 'Aguridić', + 'Adamić', + 'Azarić', + 'Ajdačić', + 'Ajdučić', + 'Aksentić', + 'Aksić', + 'Alavantić', + 'Aladić', + 'Alargić', + 'Albijanić', + 'Aleksandrić', + 'Aleksendrić', + 'Aleksić', + 'Alimpić', + 'Aličić', + 'Aljančić', + 'Amidžić', + 'Ananić', + 'Andić', + 'Andrejić', + 'Andrijanić', + 'Andrić', + 'Androbić', + 'Anđelić', + 'Anđić', + 'Anđušić', + 'Anić', + 'Aničić', + 'Ankić', + 'Anojčić', + 'Anokić', + 'Antić', + 'Antonić', + 'Anušić', + 'Apelić', + 'Apić', + 'Arambašić', + 'Ardalić', + 'Arsenić', + 'Arsić', + 'Atlagić', + 'Aćimić', + 'Aćić', + 'Acić', + 'Ačić', + 'Adžić', + 'Aškrabić', + 'Ašćerić', + 'Babarogić', + 'Babić', + 'Bavarčić', + 'Baveljić', + 'Badrić', + 'Bajagić', + 'Bajandić', + 'Bajić', + 'Bajičić', + 'Bajkić', + 'Bajčetić', + 'Bajčić', + 'Bakić', + 'Baletić', + 'Balotić', + 'Baltić', + 'Balšić', + 'Banzić', + 'Banić', + 'Bantulić', + 'Banjalić', + 'Baralić', + 'Barić', + 'Barišić', + 'Baroševčić', + 'Basarić', + 'Bastajić', + 'Bastašić', + 'Bataveljić', + 'Batinić', + 'Batnožić', + 'Baćić', + 'Bacetić', + 'Bačić', + 'Bačkulić', + 'Bašić', + 'Baštić', + 'Bebić', + 'Begenišić', + 'Bežanić', + 'Bekčić', + 'Belančić', + 'Belić', + 'Belogrlić', + 'Belodedić', + 'Belonić', + 'Beljić', + 'Bendić', + 'Berilažić', + 'Berić', + 'Besedić', + 'Besjedić', + 'Biberčić', + 'Biberdžić', + 'Bibić', + 'Bižić', + 'Bizetić', + 'Bizumić', + 'Bijanić', + 'Bijelić', + 'Bijelonić', + 'Bilibajkić', + 'Bilić', + 'Bilkić', + 'Biljić', + 'Biljurić', + 'Binić', + 'Birišić', + 'Bisenić', + 'Biserić', + 'Biserčić', + 'Bisić', + 'Bjekić', + 'Bjeletić', + 'Bjelinić', + 'Bjelić', + 'Bjeličić', + 'Bjelkić', + 'Bjelovitić', + 'Bjelogrlić', + 'Bjelonić', + 'Bjelotomić', + 'Blagić', + 'Blagotić', + 'Blažarić', + 'Blažetić', + 'Blažić', + 'Blatešić', + 'Blendić', + 'Blesić', + 'Blečić', + 'Blešić', + 'Boberić', + 'Bobić', + 'Bobušić', + 'Bogatić', + 'Bogdanić', + 'Bogetić', + 'Bogić', + 'Bogičić', + 'Bodirogić', + 'Bodirožić', + 'Bodić', + 'Bodrožić', + 'Božanić', + 'Božikić', + 'Božić', + 'Božičić', + 'Bojadić', + 'Bojanić', + 'Bojić', + 'Bojičić', + 'Bojkić', + 'Bojčetić', + 'Bojčić', + 'Bokanić', + 'Bokonjić', + 'Bolić', + 'Boltić', + 'Boljanić', + 'Bontić', + 'Bondžić', + 'Bondžulić', + 'Borikić', + 'Borić', + 'Boričić', + 'Borišić', + 'Borjanić', + 'Borokić', + 'Borotić', + 'Borčić', + 'Bosančić', + 'Bosiljkić', + 'Bosiljčić', + 'Bosiorčić', + 'Bosiočić', + 'Bosić', + 'Bosnić', + 'Botorić', + 'Bocić', + 'Bocokić', + 'Bošnjačić', + 'Boštrunić', + 'Bradarić', + 'Bradić', + 'Bradonjić', + 'Brajić', + 'Braletić', + 'Bralić', + 'Bralušić', + 'Brančić', + 'Bratić', + 'Bratonožić', + 'Brašić', + 'Brdarić', + 'Brežančić', + 'Brezić', + 'Brekić', + 'Brzić', + 'Brisić', + 'Brkanlić', + 'Brkić', + 'Brndušić', + 'Brodalić', + 'Brodić', + 'Broćić', + 'Bruić', + 'Brujić', + 'Brukić', + 'Bubić', + 'Bubonjić', + 'Bugarčić', + 'Budalić', + 'Budimkić', + 'Budimčić', + 'Budinčić', + 'Budić', + 'Budišić', + 'Budnić', + 'Budurić', + 'Buzaretić', + 'Bujagić', + 'Bujandrić', + 'Bujić', + 'Bujišić', + 'Bujuklić', + 'Bukazić', + 'Bukvić', + 'Bukelić', + 'Bukovčić', + 'Bukonjić', + 'Bukumirić', + 'Bukušić', + 'Bulajić', + 'Bulić', + 'Buljubašić', + 'Buljugić', + 'Bumbić', + 'Bunardžić', + 'Bunić', + 'Bunčić', + 'Burgić', + 'Burić', + 'Burlić', + 'Busančić', + 'Buckić', + 'Bučić', + 'Bušetić', + 'Bušić', + 'Vagić', + 'Vagurić', + 'Vajić', + 'Vajkarić', + 'Vakičić', + 'Vanušić', + 'Varagić', + 'Varaklić', + 'Vardalić', + 'Varjačić', + 'Varničić', + 'Vaselić', + 'Vasilić', + 'Vasić', + 'Vašalić', + 'Vekić', + 'Veletić', + 'Velikić', + 'Veličić', + 'Velišić', + 'Veljančić', + 'Veljić', + 'Vemić', + 'Verbić', + 'Verbunkić', + 'Vergić', + 'Verić', + 'Verkić', + 'Veselić', + 'Veseličić', + 'Vesić', + 'Vesnić', + 'Vidarić', + 'Vidačić', + 'Videkanić', + 'Vidić', + 'Vilendečić', + 'Vilotić', + 'Vinokić', + 'Vinčić', + 'Viorikić', + 'Vitakić', + 'Vitolić', + 'Vićentić', + 'Višić', + 'Vladetić', + 'Vladić', + 'Vladičić', + 'Vladušić', + 'Vlajić', + 'Vlajnić', + 'Vlajčić', + 'Vlaketić', + 'Vlasinić', + 'Vlasonjić', + 'Vlastić', + 'Vlačić', + 'Vlaškalić', + 'Vojičić', + 'Vojkić', + 'Vojčić', + 'Vorgić', + 'Vorkapić', + 'Voćkić', + 'Voštinić', + 'Voštić', + 'Vranić', + 'Vrančić', + 'Vratonjić', + 'Vračarić', + 'Vrekić', + 'Vrećić', + 'Vrzić', + 'Vrtunić', + 'Vrugić', + 'Vujanić', + 'Vujanušić', + 'Vujačić', + 'Vujetić', + 'Vujinić', + 'Vujisić', + 'Vujić', + 'Vujičić', + 'Vujnić', + 'Vujčetić', + 'Vukanić', + 'Vukelić', + 'Vukić', + 'Vukoičić', + 'Vukojičić', + 'Vukojčić', + 'Vukolić', + 'Vukomančić', + 'Vukosavić', + 'Vukotić', + 'Vukšić', + 'Vuletić', + 'Vulešić', + 'Vulikić', + 'Vulić', + 'Vulišić', + 'Vucelić', + 'Vučelić', + 'Vučendić', + 'Vučenić', + 'Vučetić', + 'Vučinić', + 'Vučić', + 'Gavarić', + 'Gavranić', + 'Gavrančić', + 'Gavrić', + 'Gagić', + 'Gagričić', + 'Gajanić', + 'Gajetić', + 'Gajić', + 'Gajičić', + 'Gajtanić', + 'Galetić', + 'Galić', + 'Galonić', + 'Galonjić', + 'Gambelić', + 'Garačić', + 'Gardić', + 'Garić', + 'Garotić', + 'Gatarić', + 'Gačić', + 'Gadžić', + 'Gašić', + 'Gvozdenić', + 'Gvozdić', + 'Gvoić', + 'Gvojić', + 'Genčić', + 'Gerzić', + 'Gizdavić', + 'Gilić', + 'Glavendekić', + 'Glavinić', + 'Glavonić', + 'Glavonjić', + 'Glavčić', + 'Glamočić', + 'Gledić', + 'Gležnić', + 'Glibetić', + 'Gligić', + 'Gligorić', + 'Gligurić', + 'Glintić', + 'Glišić', + 'Gloginjić', + 'Glomazić', + 'Gluvajić', + 'Glumičić', + 'Gmizić', + 'Gnjatić', + 'Gobeljić', + 'Gogić', + 'Gojgić', + 'Goncić', + 'Goranić', + 'Gorančić', + 'Gordanić', + 'Gordić', + 'Goronjić', + 'Gospavić', + 'Gostić', + 'Gostojić', + 'Gocić', + 'Gošnjić', + 'Grabić', + 'Grabovčić', + 'Gradić', + 'Gramić', + 'Grandić', + 'Granolić', + 'Granulić', + 'Graonić', + 'Grašić', + 'Grbić', + 'Grečić', + 'Grkinić', + 'Grozdanić', + 'Grozdić', + 'Grokanić', + 'Gromilić', + 'Grubačić', + 'Grubetić', + 'Grubešić', + 'Grubić', + 'Grubišić', + 'Grubješić', + 'Grublješić', + 'Grubnić', + 'Gružanić', + 'Grujanić', + 'Grujić', + 'Grujičić', + 'Grumić', + 'Guberinić', + 'Gudurić', + 'Gužvić', + 'Gujaničić', + 'Gurešić', + 'Guconić', + 'Gudžulić', + 'Gušić', + 'Dabarčić', + 'Dabetić', + 'Dabić', + 'Davinić', + 'Dajić', + 'Dajlić', + 'Damjanić', + 'Dangić', + 'Dangubić', + 'Daničić', + 'Danojlić', + 'Dardić', + 'Dafunić', + 'Dačić', + 'Dvokić', + 'Dvorančić', + 'Dvornić', + 'Debelnogić', + 'Devedžić', + 'Dedić', + 'Dejanić', + 'Delić', + 'Demić', + 'Demonjić', + 'Denić', + 'Denkić', + 'Denčić', + 'Derajić', + 'Deretić', + 'Derikonjić', + 'Deronjić', + 'Desančić', + 'Despenić', + 'Despinić', + 'Despić', + 'Deurić', + 'Dešić', + 'Divić', + 'Divnić', + 'Divčić', + 'Dikić', + 'Diklić', + 'Dikosavić', + 'Dimanić', + 'Dimitrić', + 'Dimić', + 'Dimkić', + 'Dimčić', + 'Dinić', + 'Dinkić', + 'Dinčić', + 'Diskić', + 'Dičić', + 'Dobranić', + 'Dobratić', + 'Dobrić', + 'Dobričić', + 'Dovijanić', + 'Dogandžić', + 'Doganjić', + 'Dodić', + 'Dokić', + 'Doknić', + 'Dolinić', + 'Dončić', + 'Dorontić', + 'Dostanić', + 'Dostić', + 'Dostičić', + 'Dotlić', + 'Dravić', + 'Draganić', + 'Draginčić', + 'Dragić', + 'Dragišić', + 'Dragoljić', + 'Dragonjić', + 'Dragoslavić', + 'Dragotić', + 'Dragušić', + 'Dražić', + 'Drajić', + 'Drakulić', + 'Dramlić', + 'Drangić', + 'Draškić', + 'Drezgić', + 'Drekić', + 'Drenić', + 'Drinić', + 'Drinčić', + 'Družetić', + 'Drulić', + 'Drčelić', + 'Dubajić', + 'Dubačkić', + 'Dubonjić', + 'Dugalić', + 'Dugić', + 'Dugonjić', + 'Dudić', + 'Dukić', + 'Dumanjić', + 'Dumeljić', + 'Dumitrikić', + 'Dumnić', + 'Dumonić', + 'Dunčić', + 'Dunjić', + 'Duronjić', + 'Dučić', + 'Dušanić', + 'Đajić', + 'Đakušić', + 'Đapić', + 'Đekić', + 'Đelić', + 'Đelkapić', + 'Đenadić', + 'Đenisić', + 'Đenić', + 'Đerić', + 'Đikić', + 'Đinđić', + 'Đokić', + 'Đorđić', + 'Đorić', + 'Đuzić', + 'Đujić', + 'Đukarić', + 'Đukelić', + 'Đuketić', + 'Đukić', + 'Đuknić', + 'Đuragić', + 'Đurakić', + 'Đurđić', + 'Đuretić', + 'Đurić', + 'Đuričić', + 'Đurišić', + 'Đurkić', + 'Đusić', + 'Evđenić', + 'Egarić', + 'Egerić', + 'Egić', + 'Ekmečić', + 'Ekmedžić', + 'Ergić', + 'Eremić', + 'Erić', + 'Erletić', + 'Erčić', + 'Žagrić', + 'Žarić', + 'Žarkić', + 'Žepinić', + 'Žeravić', + 'Žeravčić', + 'Žerajić', + 'Žestić', + 'Živanić', + 'Živankić', + 'Živić', + 'Životić', + 'Žigić', + 'Žižić', + 'Žikelić', + 'Žikić', + 'Žiletić', + 'Žilić', + 'Žmirić', + 'Žmukić', + 'Žmurić', + 'Žugić', + 'Žunić', + 'Žutić', + 'Žutobradić', + 'Zaburnić', + 'Zavišić', + 'Zagorčić', + 'Zakić', + 'Zapukić', + 'Zaradić', + 'Zarić', + 'Zatežić', + 'Zaharić', + 'Zbiljić', + 'Zvekić', + 'Zvizdić', + 'Zdravić', + 'Zdujić', + 'Zebić', + 'Zekavičić', + 'Zekić', + 'Zelić', + 'Zimonjić', + 'Zinaić', + 'Zinajić', + 'Zisić', + 'Zjajić', + 'Zjalić', + 'Zjačić', + 'Zlatić', + 'Zličić', + 'Zlovarić', + 'Zojkić', + 'Zokić', + 'Zolotić', + 'Zorbić', + 'Zorić', + 'Zoričić', + 'Zorkić', + 'Zrakić', + 'Zrilić', + 'Zrnić', + 'Zubić', + 'Zurnić', + 'Ibrić', + 'Ivanić', + 'Ivantić', + 'Ivančić', + 'Ivezić', + 'Ivetić', + 'Ivić', + 'Ivičić', + 'Ivucić', + 'Igić', + 'Ignjatić', + 'Ignjić', + 'Ijačić', + 'Ikić', + 'Ikonić', + 'Ilibašić', + 'Ilijić', + 'Ilikić', + 'Ilinčić', + 'Ilisić', + 'Ilić', + 'Iličić', + 'Ilkić', + 'Inđić', + 'Irić', + 'Ičelić', + 'Jablančić', + 'Javorić', + 'Jagličić', + 'Jagodić', + 'Jakić', + 'Jakišić', + 'Jakonić', + 'Jakšić', + 'Jalić', + 'Jandrić', + 'Janikić', + 'Janić', + 'Janičić', + 'Jankelić', + 'Jankić', + 'Janojkić', + 'Jančić', + 'Jančurić', + 'Janjić', + 'Janjušić', + 'Jarić', + 'Jasnić', + 'Jašić', + 'Jevdoksić', + 'Jevđenić', + 'Jeveričić', + 'Jević', + 'Jevrić', + 'Jevtić', + 'Jegdić', + 'Jezdić', + 'Jezerkić', + 'Jelačić', + 'Jelašić', + 'Jelenić', + 'Jelesić', + 'Jelikić', + 'Jelisavčić', + 'Jelisić', + 'Jelić', + 'Jeličić', + 'Jelušić', + 'Jenić', + 'Jergić', + 'Jeremić', + 'Jerinić', + 'Jerinkić', + 'Jerosimić', + 'Jerotić', + 'Jerčić', + 'Jesretić', + 'Jestrotić', + 'Jeftenić', + 'Jeftić', + 'Ječmenić', + 'Ješić', + 'Jovakarić', + 'Jovandić', + 'Jovanetić', + 'Jovanić', + 'Jovankić', + 'Jovančić', + 'Jovadžić', + 'Jovelić', + 'Joveljić', + 'Jovetić', + 'Jovešić', + 'Jovikić', + 'Jović', + 'Jovičić', + 'Jovišić', + 'Jovkić', + 'Jovonić', + 'Jovčić', + 'Jozić', + 'Jojić', + 'Jojčić', + 'Jokić', + 'Jokičić', + 'Joksić', + 'Jolić', + 'Jonikić', + 'Jonić', + 'Joničić', + 'Jonkić', + 'Jontić', + 'Jončić', + 'Jorgić', + 'Jorgonić', + 'Josić', + 'Jocić', + 'Juzbašić', + 'Jukić', + 'Jungić', + 'Jurišić', + 'Juškić', + 'Kavalić', + 'Kajganić', + 'Kalabić', + 'Kalajić', + 'Kalajdžić', + 'Kalendić', + 'Kalenić', + 'Kalinić', + 'Kamperelić', + 'Kandić', + 'Kanlić', + 'Kanjerić', + 'Karavidić', + 'Karagić', + 'Karajčić', + 'Karaklajić', + 'Karaleić', + 'Karalejić', + 'Karalić', + 'Karapandžić', + 'Karatošić', + 'Karaulić', + 'Karadžić', + 'Karić', + 'Karišić', + 'Karličić', + 'Katanić', + 'Katić', + 'Kaćurić', + 'Kačaniklić', + 'Kašerić', + 'Kvrgić', + 'Kendrišić', + 'Kentrić', + 'Kepić', + 'Kesić', + 'Kečkić', + 'Kijačić', + 'Kimčetić', + 'Kiselčić', + 'Kitanić', + 'Kitić', + 'Kitonjić', + 'Kičić', + 'Klevernić', + 'Klepić', + 'Klinić', + 'Klipić', + 'Klisarić', + 'Klisurić', + 'Kličarić', + 'Kljajić', + 'Kljakić', + 'Knežić', + 'Kovanušić', + 'Kovandžić', + 'Kovarbašić', + 'Kovačić', + 'Kovinić', + 'Kovinčić', + 'Kovjanić', + 'Kovjenić', + 'Kovljenić', + 'Kozić', + 'Kojanić', + 'Kojić', + 'Kojičić', + 'Kojčić', + 'Kojundžić', + 'Kolavčić', + 'Kolarić', + 'Kolačarić', + 'Količić', + 'Kolundžić', + 'Koljančić', + 'Komadinić', + 'Komarčić', + 'Komlenić', + 'Komnenić', + 'Kondić', + 'Kontić', + 'Konculić', + 'Konjikušić', + 'Koraksić', + 'Kordić', + 'Korugić', + 'Koružić', + 'Kosanić', + 'Kosić', + 'Kosnić', + 'Kosorić', + 'Kostić', + 'Kotarlić', + 'Kotlajić', + 'Kočić', + 'Kodžopeljić', + 'Košarić', + 'Košpić', + 'Košutić', + 'Kravarušić', + 'Kravić', + 'Kragić', + 'Krainčanić', + 'Krantić', + 'Krasavčić', + 'Krasić', + 'Krezić', + 'Krejić', + 'Kremić', + 'Kremonjić', + 'Krestić', + 'Krivošić', + 'Krkeljić', + 'Krkić', + 'Krkobabić', + 'Krnetić', + 'Krnjajić', + 'Krnjeušić', + 'Krompić', + 'Krotić', + 'Krpić', + 'Krsmanić', + 'Krsmić', + 'Krstajić', + 'Krstekanić', + 'Krstinić', + 'Krstić', + 'Krstičić', + 'Krstonić', + 'Krstonošić', + 'Krtinić', + 'Krunić', + 'Kruškonjić', + 'Kršić', + 'Kuveljić', + 'Kudrić', + 'Kuzmić', + 'Kujavić', + 'Kujačić', + 'Kujundžić', + 'Kukrić', + 'Kulezić', + 'Kulizić', + 'Kulišić', + 'Kulundžić', + 'Kuljančić', + 'Kuljić', + 'Kumrić', + 'Kureljušić', + 'Kurilić', + 'Kursulić', + 'Kurucić', + 'Kurčubić', + 'Kusonić', + 'Kusonjić', + 'Kusturić', + 'Kutlačić', + 'Kutlešić', + 'Kušić', + 'Kušljić', + 'Labotić', + 'Lavrnić', + 'Lažetić', + 'Lazendić', + 'Lazetić', + 'Lazić', + 'Lazičić', + 'Lazukić', + 'Lajšić', + 'Laketić', + 'Lakić', + 'Lalić', + 'Lambić', + 'Lapčić', + 'Lastić', + 'Latinčić', + 'Leburić', + 'Ležaić', + 'Ležajić', + 'Lekanić', + 'Lekić', + 'Lemaić', + 'Lemajić', + 'Leposavić', + 'Lesendrić', + 'Lečić', + 'Leštarić', + 'Lijeskić', + 'Likodrić', + 'Likušić', + 'Lilić', + 'Lipovčić', + 'Lisičić', + 'Lišančić', + 'Lovrić', + 'Lozanić', + 'Lojaničić', + 'Lolić', + 'Lomić', + 'Lopandić', + 'Lubardić', + 'Lubinić', + 'Luburić', + 'Lugonjić', + 'Lužaić', + 'Lužajić', + 'Lukajić', + 'Lukačić', + 'Lukendić', + 'Lukić', + 'Lukičić', + 'Lunić', + 'Lutkić', + 'Lučić', + 'Ljamić', + 'Ljeganušić', + 'Ljotić', + 'Ljubanić', + 'Ljubić', + 'Ljubičić', + 'Ljubišić', + 'Ljušić', + 'Ljuškić', + 'Maglić', + 'Majkić', + 'Makarić', + 'Makivić', + 'Makragić', + 'Maksić', + 'Malavrazić', + 'Malbašić', + 'Malenčić', + 'Maletić', + 'Malešić', + 'Malinić', + 'Mališić', + 'Malobabić', + 'Malušić', + 'Maljugić', + 'Maljčić', + 'Mandarić', + 'Mandinić', + 'Mandić', + 'Mandušić', + 'Manić', + 'Mančić', + 'Manjenčić', + 'Maravić', + 'Marinčić', + 'Marić', + 'Maričić', + 'Markagić', + 'Markelić', + 'Markeljić', + 'Markulić', + 'Marodić', + 'Martić', + 'Marunić', + 'Marunkić', + 'Marušić', + 'Marčetić', + 'Marčić', + 'Masalušić', + 'Maslarić', + 'Maslić', + 'Maslovarić', + 'Matarugić', + 'Matejić', + 'Materić', + 'Matić', + 'Matičić', + 'Matušić', + 'Maćešić', + 'Maćić', + 'Mačić', + 'Mačkić', + 'Mačužić', + 'Mašić', + 'Medić', + 'Medurić', + 'Mektić', + 'Mesulić', + 'Mijalčić', + 'Mijanić', + 'Mijačić', + 'Mijić', + 'Mijucić', + 'Mikarić', + 'Mikelić', + 'Miketić', + 'Mikić', + 'Mikičić', + 'Mikonjić', + 'Mikulić', + 'Miladić', + 'Milakić', + 'Milačić', + 'Milekić', + 'Milenić', + 'Miletić', + 'Mileusnić', + 'Milešić', + 'Milijić', + 'Milikić', + 'Milikšić', + 'Milinić', + 'Milinčić', + 'Milisavić', + 'Miličić', + 'Milić', + 'Milišić', + 'Milkić', + 'Miloičić', + 'Milojić', + 'Milojičić', + 'Milojkić', + 'Milojčić', + 'Milotić', + 'Milunić', + 'Milušić', + 'Milčić', + 'Miljanić', + 'Mindić', + 'Minić', + 'Minčić', + 'Miovčić', + 'Miodanić', + 'Mionić', + 'Miražić', + 'Mirić', + 'Mirjanić', + 'Mirkić', + 'Mirosavić', + 'Mirčetić', + 'Mirčić', + 'Misojčić', + 'Mitić', + 'Mitranić', + 'Mitrekanić', + 'Mitrić', + 'Mitrušić', + 'Mićić', + 'Mihaljčić', + 'Miholjčić', + 'Mišeljić', + 'Mišić', + 'Miškić', + 'Mišurić', + 'Mladić', + 'Mladžić', + 'Mojsić', + 'Mokrić', + 'Momić', + 'Moračić', + 'Moretić', + 'Morokvašić', + 'Motičić', + 'Mrakić', + 'Mračić', + 'Mrdić', + 'Mrkić', + 'Mrkonjić', + 'Mrkušić', + 'Mrkšić', + 'Mudrinić', + 'Mudrić', + 'Munišić', + 'Murganić', + 'Mutavdžić', + 'Mutibarić', + 'Mučibabić', + 'Mušikić', + 'Navalušić', + 'Nagradić', + 'Nagulić', + 'Nadaškić', + 'Najdić', + 'Najkić', + 'Nakalamić', + 'Nakić', + 'Narančić', + 'Narandžić', + 'Nastasić', + 'Nastić', + 'Nebrigić', + 'Nevajdić', + 'Nevenić', + 'Negoicić', + 'Nedinić', + 'Nedić', + 'Nekić', + 'Nemanjić', + 'Nenadić', + 'Nenić', + 'Neoričić', + 'Nešić', + 'Nikezić', + 'Niketić', + 'Nikitić', + 'Nikoletić', + 'Nikolešić', + 'Nikolić', + 'Nikolčić', + 'Nikšić', + 'Ninić', + 'Ninčić', + 'Ničić', + 'Nišavić', + 'Nišić', + 'Novalušić', + 'Novarlić', + 'Novačikić', + 'Nović', + 'Novičić', + 'Novčić', + 'Nožinić', + 'Nojkić', + 'Njegić', + 'Njegrić', + 'Nježić', + 'Obrenić', + 'Odavić', + 'Ozimić', + 'Ojdanić', + 'Ojkić', + 'Oketić', + 'Okolić', + 'Okulić', + 'Olarić', + 'Olić', + 'Olujić', + 'Oljačić', + 'Opalić', + 'Oparušić', + 'Opačić', + 'Oprikić', + 'Oprić', + 'Opricić', + 'Oraovčić', + 'Orlandić', + 'Orlić', + 'Osmajlić', + 'Ostojić', + 'Ocokoljić', + 'Odžić', + 'Pavić', + 'Pavičić', + 'Pavlekić', + 'Pavličić', + 'Pavčić', + 'Padić', + 'Pajagić', + 'Pajić', + 'Pajičić', + 'Pajkić', + 'Pajtić', + 'Palalić', + 'Palangetić', + 'Paligorić', + 'Palić', + 'Paninčić', + 'Panić', + 'Panišić', + 'Pantelić', + 'Pantić', + 'Pančić', + 'Pandžić', + 'Papić', + 'Paprić', + 'Papulić', + 'Paramentić', + 'Paraušić', + 'Parivodić', + 'Parlić', + 'Parojčić', + 'Patrnogić', + 'Paunić', + 'Pašić', + 'Pejić', + 'Pejičić', + 'Pejušić', + 'Pejčić', + 'Pelagić', + 'Pendić', + 'Penezić', + 'Penčić', + 'Pepić', + 'Perenić', + 'Perić', + 'Peričić', + 'Perišić', + 'Perjaničić', + 'Perkić', + 'Perotić', + 'Peruničić', + 'Perčić', + 'Petkanić', + 'Petrikić', + 'Petrić', + 'Petričić', + 'Petronić', + 'Petrušić', + 'Peulić', + 'Pecić', + 'Pečeničić', + 'Pešić', + 'Pikić', + 'Pilindavić', + 'Piljagić', + 'Piperčić', + 'Pirivatrić', + 'Pirić', + 'Pisarić', + 'Pitulić', + 'Pjanić', + 'Pjević', + 'Plavić', + 'Plavkić', + 'Plavljanić', + 'Plavšić', + 'Plazinić', + 'Planinčić', + 'Planić', + 'Platanić', + 'Plačić', + 'Plemić', + 'Pleskonjić', + 'Plećić', + 'Plintić', + 'Plisnić', + 'Ploskić', + 'Pločić', + 'Pljakić', + 'Pljevaljčić', + 'Pobulić', + 'Podinić', + 'Podraščić', + 'Podrić', + 'Poznanić', + 'Poznić', + 'Pojkić', + 'Polić', + 'Polomčić', + 'Polugić', + 'Ponjavić', + 'Pop Lazić', + 'Popadić', + 'Poparić', + 'Popčić', + 'Potrebić', + 'Poštić', + 'Pravdić', + 'Pražić', + 'Predić', + 'Prekić', + 'Prelić', + 'Prendić', + 'Prešić', + 'Pržić', + 'Pribić', + 'Pribišić', + 'Prigodić', + 'Prijić', + 'Prikić', + 'Prišić', + 'Prodanić', + 'Prokić', + 'Prokopić', + 'Prolić', + 'Protić', + 'Prošić', + 'Pruginić', + 'Prunić', + 'Pršendić', + 'Pualić', + 'Puvalić', + 'Puvačić', + 'Pudarić', + 'Punišić', + 'Purešić', + 'Purić', + 'Purišić', + 'Puslojić', + 'Pušeljić', + 'Ravilić', + 'Radančić', + 'Radeljić', + 'Radetić', + 'Radešić', + 'Radivojšić', + 'Radikić', + 'Radisavić', + 'Radić', + 'Radičić', + 'Radišić', + 'Radnić', + 'Radoičić', + 'Radojičić', + 'Radojkić', + 'Radojčić', + 'Radonić', + 'Radonjić', + 'Radosavkić', + 'Radotić', + 'Radukić', + 'Radulić', + 'Raduljčić', + 'Raducić', + 'Radušić', + 'Razumenić', + 'Railić', + 'Raičić', + 'Rajačić', + 'Rajić', + 'Rajičić', + 'Rajlić', + 'Rajčetić', + 'Rajčić', + 'Rajšić', + 'Rakezić', + 'Raketić', + 'Rakinić', + 'Rakitić', + 'Rakić', + 'Rakonić', + 'Raletić', + 'Ralić', + 'Raljić', + 'Ramić', + 'Ranđić', + 'Ranisavić', + 'Rankić', + 'Rančić', + 'Raonić', + 'Rapaić', + 'Rapajić', + 'Rasulić', + 'Ratkelić', + 'Raulić', + 'Racić', + 'Račić', + 'Rašetić', + 'Rašić', + 'Rašljić', + 'Regodić', + 'Regulić', + 'Rekalić', + 'Reljić', + 'Remetić', + 'Rendulić', + 'Repašić', + 'Resimić', + 'Redžić', + 'Ribarić', + 'Riboškić', + 'Riđošić', + 'Riznić', + 'Rinčić', + 'Risimić', + 'Ristanić', + 'Ristić', + 'Rogić', + 'Roglić', + 'Rogonjić', + 'Rogulić', + 'Rodić', + 'Rozgić', + 'Rokvić', + 'Roknić', + 'Roksandić', + 'Romanić', + 'Romić', + 'Rosić', + 'Roškić', + 'Ruvidić', + 'Rudić', + 'Rudonjić', + 'Ružić', + 'Rumenić', + 'Rundić', + 'Runjajić', + 'Rusalić', + 'Rutešić', + 'Rutonić', + 'Ruškić', + 'Sabljić', + 'Savandić', + 'Savatić', + 'Savelić', + 'Saveljić', + 'Savić', + 'Savičić', + 'Savkić', + 'Savurdić', + 'Savčić', + 'Salatić', + 'Samardžić', + 'Sandić', + 'Sapardić', + 'Saramandić', + 'Sarić', + 'Satarić', + 'Svetličić', + 'Svilarić', + 'Svojić', + 'Sekanić', + 'Sekulić', + 'Selenić', + 'Sendrić', + 'Senić', + 'Seničić', + 'Sentić', + 'Setenčić', + 'Sibinkić', + 'Sibinčić', + 'Sikimić', + 'Simanić', + 'Simendić', + 'Simetić', + 'Simić', + 'Simurdić', + 'Sinđelić', + 'Sinđić', + 'Sinkić', + 'Sitničić', + 'Sjeničić', + 'Skakić', + 'Skelić', + 'Skendžić', + 'Skerlić', + 'Skokić', + 'Skočajić', + 'Skočić', + 'Skrobić', + 'Skulić', + 'Slavić', + 'Slavnić', + 'Sladić', + 'Slović', + 'Smilić', + 'Smiljanić', + 'Smiljić', + 'Smiljkić', + 'Smoljanić', + 'Smrekić', + 'Sovrlić', + 'Sovtić', + 'Sojkić', + 'Sokić', + 'Soknić', + 'Soldatić', + 'Sorajić', + 'Soskić', + 'Sofijanić', + 'Sofranić', + 'Sofrenić', + 'Sofronić', + 'Spaić', + 'Spakić', + 'Sparić', + 'Spasenić', + 'Spasić', + 'Spenčić', + 'Sperlić', + 'Spirić', + 'Spremić', + 'Spužić', + 'Sredić', + 'Sretić', + 'Stavrić', + 'Stajić', + 'Stajkić', + 'Stajčić', + 'Stajšić', + 'Stakić', + 'Stakušić', + 'Stamatić', + 'Stambolić', + 'Stamenić', + 'Stamenčić', + 'Stanarčić', + 'Stanetić', + 'Stanikić', + 'Stanisavić', + 'Stanić', + 'Staničić', + 'Stanišić', + 'Stankić', + 'Stanovčić', + 'Stanojčić', + 'Stanušić', + 'Stančetić', + 'Stančić', + 'Stašić', + 'Stevandić', + 'Stevanetić', + 'Stevanić', + 'Stevelić', + 'Stević', + 'Stevčić', + 'Stegić', + 'Stegnjaić', + 'Stegnjajić', + 'Stekić', + 'Steljić', + 'Stepandić', + 'Stepanić', + 'Stepić', + 'Stijačić', + 'Stijepić', + 'Stikić', + 'Stjepić', + 'Stožinić', + 'Stojanić', + 'Stojankić', + 'Stojančić', + 'Stojačić', + 'Stojić', + 'Stojičić', + 'Stojkić', + 'Stojnić', + 'Stojčić', + 'Stojšić', + 'Stokanić', + 'Stokić', + 'Stolić', + 'Stoparić', + 'Stopić', + 'Stošić', + 'Strajnić', + 'Strahinić', + 'Strahinjić', + 'Strinić', + 'Subotić', + 'Suvajdžić', + 'Sumenić', + 'Sunarić', + 'Surlić', + 'Suručić', + 'Tadić', + 'Tajsić', + 'Tamindžić', + 'Tanasić', + 'Tanić', + 'Tankosić', + 'Tančić', + 'Tarabić', + 'Tasić', + 'Tatišić', + 'Tvrdišić', + 'Teodosić', + 'Tepić', + 'Tepšić', + 'Terzić', + 'Teslić', + 'Tešanić', + 'Tešankić', + 'Tešendić', + 'Tešinić', + 'Tešić', + 'Tijanić', + 'Timilić', + 'Timotić', + 'Tirić', + 'Tirnanić', + 'Tmušić', + 'Tovarišić', + 'Todić', + 'Todorić', + 'Todosić', + 'Tojić', + 'Tokalić', + 'Toljagić', + 'Tomanić', + 'Tomecić', + 'Tominčić', + 'Tomić', + 'Tomičić', + 'Tomonjić', + 'Tomčić', + 'Tontić', + 'Tončić', + 'Topić', + 'Topličić', + 'Topolić', + 'Toskić', + 'Tošanić', + 'Tošić', + 'Travorić', + 'Traparić', + 'Trenčić', + 'Trivalić', + 'Trivić', + 'Trivunić', + 'Trivunčić', + 'Trijić', + 'Trikić', + 'Trindić', + 'Tripić', + 'Trifunjagić', + 'Trišić', + 'Trmčić', + 'Trninić', + 'Trnić', + 'Trošić', + 'Trubajić', + 'Trudić', + 'Trujić', + 'Trujkić', + 'Tubonjić', + 'Tukelić', + 'Tumarić', + 'Tupajić', + 'Turajlić', + 'Turnić', + 'Turudić', + 'Turunčić', + 'Tutić', + 'Tutorić', + 'Tutulić', + 'Tufegdžić', + 'Tucić', + 'Ćajić', + 'Ćalić', + 'Ćatić', + 'Ćebić', + 'Ćelić', + 'Ćeranić', + 'Ćipranić', + 'Ćirić', + 'Ćirjanić', + 'Ćojbašić', + 'Ćopić', + 'Ćorić', + 'Ćosić', + 'Ćuić', + 'Ćujić', + 'Ćupić', + 'Ćurdić', + 'Ćurić', + 'Ćurčić', + 'Ćušić', + 'Ubavić', + 'Ubavkić', + 'Uvalić', + 'Uverić', + 'Uglješić', + 'Ugrinić', + 'Ugrinčić', + 'Ugričić', + 'Udovičić', + 'Udovčić', + 'Umeljić', + 'Umetić', + 'Umiljendić', + 'Uršikić', + 'Ustić', + 'Utvić', + 'Ušendić', + 'Farkić', + 'Fatić', + 'Femić', + 'Filipić', + 'Fotirić', + 'Fotić', + 'Frtunić', + 'Hadži Antić', + 'Hadži Jovančić', + 'Hadži Nikolić', + 'Hadži Ristić', + 'Hadži Tančić', + 'Hadžić', + 'Hinić', + 'Hristić', + 'Cajić', + 'Cakić', + 'Carić', + 'Caričić', + 'Cvejić', + 'Cvetić', + 'Cvijetić', + 'Cvijić', + 'Cvikić', + 'Cvišić', + 'Cenić', + 'Cenkić', + 'Civišić', + 'Civrić', + 'Ciglić', + 'Ciklušić', + 'Cicvarić', + 'Cmiljanić', + 'Cmolić', + 'Conić', + 'Crnovčić', + 'Cukanić', + 'Cukić', + 'Cuparić', + 'Čabrić', + 'Čavić', + 'Čajić', + 'Čalenić', + 'Čalić', + 'Čamagić', + 'Čantrić', + 'Čaprnjić', + 'Čarapić', + 'Čarnić', + 'Čvokić', + 'Čvorić', + 'Čeleketić', + 'Čemerikić', + 'Čečarić', + 'Čivčić', + 'Čikarić', + 'Čikić', + 'Čiplić', + 'Čipčić', + 'Čičić', + 'Čkovrić', + 'Čobelić', + 'Čobeljić', + 'Čović', + 'Čojić', + 'Čojčić', + 'Čolanić', + 'Čolić', + 'Čomić', + 'Čonkić', + 'Čonjagić', + 'Čorbić', + 'Čotrić', + 'Čočurić', + 'Čubrić', + 'Čudić', + 'Čukarić', + 'Čukić', + 'Čumić', + 'Čupeljić', + 'Čuperkić', + 'Čupić', + 'Čuturić', + 'Džavrić', + 'Džajić', + 'Džambić', + 'Džadžić', + 'Dželebdžić', + 'Džikić', + 'Džinić', + 'Džodić', + 'Džombić', + 'Džomić', + 'Džonić', + 'Šakić', + 'Šakotić', + 'Šalinić', + 'Šamatić', + 'Šantić', + 'Šapić', + 'Šaponić', + 'Šaponjić', + 'Šapurić', + 'Šarančić', + 'Šarić', + 'Šarkić', + 'Šaronjić', + 'Šašić', + 'Švabić', + 'Ševarlić', + 'Šević', + 'Ševkušić', + 'Šestić', + 'Šibalić', + 'Šijakinjić', + 'Šijačić', + 'Šikanić', + 'Šikanjić', + 'Šimšić', + 'Šipetić', + 'Šišić', + 'Šljivić', + 'Šljukić', + 'Šmigić', + 'Šobajić', + 'Šobačić', + 'Šorgić', + 'Šoškić', + 'Špirić', + 'Štakić', + 'Štulić', + 'Šubakić', + 'Šubarić', + 'Šubić', + 'Šuleić', + 'Šulejić', + 'Šuletić', + 'Šulkić', + 'Šuluburić', + 'Šuljagić', + 'Šumatić', + 'Šunderić', + 'Šunkić', + 'Šunjevarić', + 'Šutuljić', + 'Šušić', + 'Šušulić', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/me_ME/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/me_ME/PhoneNumber.php index ddf18a0..93bc74a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/me_ME/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/me_ME/PhoneNumber.php @@ -2,14 +2,13 @@ namespace Faker\Provider\me_ME; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+38220#####', - '+38267#####', - '+38269#####', - '+382679#####', - '+38268#####', - '+38240#####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+38220#####', + '+38267#####', + '+38269#####', + '+382679#####', + '+38268#####', + '+38240#####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/mn_MN/Person.php b/lib/fakerphp/faker/src/Faker/Provider/mn_MN/Person.php index 0dbf620..5adfe87 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/mn_MN/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/mn_MN/Person.php @@ -2,101 +2,433 @@ namespace Faker\Provider\mn_MN; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://ner.query.mn/son - */ - protected static $firstNameMale = [ - 'Агь-Од', 'Адархидай', 'Адхираг', 'Ажай', 'Аз-Оргил', 'Алаг-Наяа', 'Алахуш-дигитхури', 'Алдиэр', 'Алтаннар', 'Алхуй', 'Алчи', 'Алчидай', 'Амал', 'Амбагай', 'Амин-Эрдэнэ', 'Анхлан', 'Арачиан', 'Аргасун', 'Арин', 'Арулад', 'Архай Хасар', 'Аучу', 'Ачиг-Чирүн', 'Ачиг-Ширүн', 'Аша-хамбу', - 'Баарьдай', 'Багу-Чорхи', 'Байшинхор', 'Бала', 'Бала-Чэрби', 'Балхачи', 'Барула', 'Баруладай', 'Бахажи', 'Баярмагнай', 'Бодончар', 'Боржигидай', 'Боролдай', 'Боролдайсуялби', 'Бужир', 'Буйраг', 'Булуган', 'Бурьбулчиру', 'Буту', 'Буха-Төмөр', 'Бухатай', 'Бухату', 'Бучаран', 'Бэсүдэй', 'Бүлтэчү', 'Бүри', 'Бүри-Бөхө', 'Бүрибөх', 'Бүхэдэй', 'Бөгэн', - 'Гилүгэтэй', 'Гэнигэдэй', 'Гүнгуа', 'Гүр-Хан', 'Гүчүгүр', 'Гүчүд', - 'Дайр', 'Дайр-Үсүн', 'Далдурхан', 'Дамача', 'Дарбай', 'Даридай', 'Даун', 'Добу', 'Доголдай', 'Доголху', 'Додай', 'Дорибөхө', 'Дува', 'Дэгэй', 'Дэй-Сэцэн', 'Дөрбуй', 'Дөрбэй', - 'Егү', 'Еди-Тоблуг', 'Есүнхэй', 'Ехэй-Хонтагар', - 'Жажирадай', 'Жалалдин', 'Жали', 'Жалибуха', 'Жалман', 'Жарчиудай', 'Жатай', 'Жаурьдай', 'Жаха-Хамбу', 'Жахахамбу', 'Жибгэ', 'Жибэгэ', 'Жидай', 'Жидэр', 'Жихүр', 'Жубхан', 'Жунсо', 'Жэгэй', 'Жэхү', 'Жэүн', 'Жүрчидэй', - 'Зочи', 'Зүтгэлбөх', - 'Ивгээл', 'Идухадай', 'Идүүд', 'Илаху', 'Илугай', 'Инал', 'Иналч', 'Инанча', 'Итүргэн', 'Их-Нэүрин', 'Их-Чэрэн', 'Ихнүдэн', 'Ихчирэн', - 'Кишлиг', - 'Лаблах', - 'Мангай', 'Мангудай', 'Масхуд', 'Молор', 'Молор эрдэнэ', 'Моричи', 'Мороха', 'Мулхалху', 'Мухулай буюу Мухули', 'Мэгэтү', 'Мэгүжин', 'Мэлиг', 'Мэнгитү', 'Мэнлиг', 'Мэнэн', 'Мүгэ', 'Мүлхэ-тотаг', 'Мүнтүүр', 'Мөчи', - 'Нарийн-гэгээн', 'Наринтоорил', 'Наху', 'Ноёгидай', 'Нэүдэйн Цагаан', - 'Огда', 'Оготор', 'Олар', 'Олдхар', 'Онгууд', 'Оронар', 'Оронартай', 'Охинбархаг', - 'Өлэбэг', 'Өнгүр', 'Өэлэн', - 'Саль-Хачау', 'Саргай', 'Сача-Бэхи', 'Сачуур', 'Сорхату', 'Сорхоншар', 'Сохо-Сэцэн', 'Сэмсэчүлэ', 'Сэцэ-Домог', 'Сэчиүр', 'Сэчэ-Бэхи', 'Сүбэхэй', 'Сүйхэтү', 'Сүхэхэй', 'Сүхэхэй-Жаун', 'Сүхэхэй-Жэүн', 'Сөнид', - 'Тай-Төмөр', 'Тайчар', 'Тайчиудай', 'Тайчу', 'Тамача', 'Тамир', 'Таргудай', 'Тататунга', 'Тобуха', 'Тогочар', 'Тогтоа', 'Тогучар', 'Тодойн-Гэрти', 'Тодсаха', 'Толун', 'Торбиташ', 'Торголжин', 'Торойн отчигон', 'Тугудай', 'Тунбинай', 'Тунхуйдай', 'Тусах', 'Туху', 'Тэв тэнгэр', 'Тэлэгэтү', 'Тэмүжин-Үгэ', 'Тэмүжинүгэ', 'Тэрхэг', 'Түгэ', 'Түгэ-Маха', - 'Удутай', 'Уйгуртай', 'Уруудай', 'Усун', 'Ухуна', - 'Үгэ', 'Үгэлэн', 'Үнгүр', - 'Хаатай Дармала', 'Хабич', 'Хабтурхас', 'Хадиги', 'Хайду', 'Халжа', 'Халиудар', 'Хан-Эрдэнэ', 'Хангиадай', 'Ханхархан', 'Хар-Хадаан', 'Хараудар', 'Харачар', 'Хархай', 'Хархалзан', 'Хархирүгэ', 'Харчу', 'Хауран', 'Хачи-Хүлүг', 'Хачиу', 'Хачиун', 'Хачула', 'Хаши', 'Хашин', 'Хингиадай', 'Хиратай', 'Хирилтуг', 'Хирмау', 'Хишилиг', 'Ходун', - 'Цагаангуа', - 'Чанай', 'Чаужин', 'Чаурхан', 'Чахурхан', 'Чигу', 'Чилгутай', 'Чилэгэрбөх', 'Чилэгүтэн-Тахи', 'Чилэдү', 'Чинбай', 'Чирхай', 'Чирхитэй', 'Чихарай', 'Чихитай', 'Чормаган', 'Чоёг Цагаан', 'Чуу мэргэн', 'Чүлгэдэй', - 'Шижуудай', 'Шинч', 'Шинэсочи', 'Ширахул', - 'Эди', 'Элжгэдэй', 'Элхудур', 'Эрххар', 'Эхлэлсайхан', - 'Ю-Хунан', 'Юрүхан', - 'Ядир', 'Ялавач', 'Ялбаг', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://ner.query.mn/son + */ + protected static $firstNameMale = [ + 'Агь-Од', + 'Адархидай', + 'Адхираг', + 'Ажай', + 'Аз-Оргил', + 'Алаг-Наяа', + 'Алахуш-дигитхури', + 'Алдиэр', + 'Алтаннар', + 'Алхуй', + 'Алчи', + 'Алчидай', + 'Амал', + 'Амбагай', + 'Амин-Эрдэнэ', + 'Анхлан', + 'Арачиан', + 'Аргасун', + 'Арин', + 'Арулад', + 'Архай Хасар', + 'Аучу', + 'Ачиг-Чирүн', + 'Ачиг-Ширүн', + 'Аша-хамбу', + 'Баарьдай', + 'Багу-Чорхи', + 'Байшинхор', + 'Бала', + 'Бала-Чэрби', + 'Балхачи', + 'Барула', + 'Баруладай', + 'Бахажи', + 'Баярмагнай', + 'Бодончар', + 'Боржигидай', + 'Боролдай', + 'Боролдайсуялби', + 'Бужир', + 'Буйраг', + 'Булуган', + 'Бурьбулчиру', + 'Буту', + 'Буха-Төмөр', + 'Бухатай', + 'Бухату', + 'Бучаран', + 'Бэсүдэй', + 'Бүлтэчү', + 'Бүри', + 'Бүри-Бөхө', + 'Бүрибөх', + 'Бүхэдэй', + 'Бөгэн', + 'Гилүгэтэй', + 'Гэнигэдэй', + 'Гүнгуа', + 'Гүр-Хан', + 'Гүчүгүр', + 'Гүчүд', + 'Дайр', + 'Дайр-Үсүн', + 'Далдурхан', + 'Дамача', + 'Дарбай', + 'Даридай', + 'Даун', + 'Добу', + 'Доголдай', + 'Доголху', + 'Додай', + 'Дорибөхө', + 'Дува', + 'Дэгэй', + 'Дэй-Сэцэн', + 'Дөрбуй', + 'Дөрбэй', + 'Егү', + 'Еди-Тоблуг', + 'Есүнхэй', + 'Ехэй-Хонтагар', + 'Жажирадай', + 'Жалалдин', + 'Жали', + 'Жалибуха', + 'Жалман', + 'Жарчиудай', + 'Жатай', + 'Жаурьдай', + 'Жаха-Хамбу', + 'Жахахамбу', + 'Жибгэ', + 'Жибэгэ', + 'Жидай', + 'Жидэр', + 'Жихүр', + 'Жубхан', + 'Жунсо', + 'Жэгэй', + 'Жэхү', + 'Жэүн', + 'Жүрчидэй', + 'Зочи', + 'Зүтгэлбөх', + 'Ивгээл', + 'Идухадай', + 'Идүүд', + 'Илаху', + 'Илугай', + 'Инал', + 'Иналч', + 'Инанча', + 'Итүргэн', + 'Их-Нэүрин', + 'Их-Чэрэн', + 'Ихнүдэн', + 'Ихчирэн', + 'Кишлиг', + 'Лаблах', + 'Мангай', + 'Мангудай', + 'Масхуд', + 'Молор', + 'Молор эрдэнэ', + 'Моричи', + 'Мороха', + 'Мулхалху', + 'Мухулай буюу Мухули', + 'Мэгэтү', + 'Мэгүжин', + 'Мэлиг', + 'Мэнгитү', + 'Мэнлиг', + 'Мэнэн', + 'Мүгэ', + 'Мүлхэ-тотаг', + 'Мүнтүүр', + 'Мөчи', + 'Нарийн-гэгээн', + 'Наринтоорил', + 'Наху', + 'Ноёгидай', + 'Нэүдэйн Цагаан', + 'Огда', + 'Оготор', + 'Олар', + 'Олдхар', + 'Онгууд', + 'Оронар', + 'Оронартай', + 'Охинбархаг', + 'Өлэбэг', + 'Өнгүр', + 'Өэлэн', + 'Саль-Хачау', + 'Саргай', + 'Сача-Бэхи', + 'Сачуур', + 'Сорхату', + 'Сорхоншар', + 'Сохо-Сэцэн', + 'Сэмсэчүлэ', + 'Сэцэ-Домог', + 'Сэчиүр', + 'Сэчэ-Бэхи', + 'Сүбэхэй', + 'Сүйхэтү', + 'Сүхэхэй', + 'Сүхэхэй-Жаун', + 'Сүхэхэй-Жэүн', + 'Сөнид', + 'Тай-Төмөр', + 'Тайчар', + 'Тайчиудай', + 'Тайчу', + 'Тамача', + 'Тамир', + 'Таргудай', + 'Тататунга', + 'Тобуха', + 'Тогочар', + 'Тогтоа', + 'Тогучар', + 'Тодойн-Гэрти', + 'Тодсаха', + 'Толун', + 'Торбиташ', + 'Торголжин', + 'Торойн отчигон', + 'Тугудай', + 'Тунбинай', + 'Тунхуйдай', + 'Тусах', + 'Туху', + 'Тэв тэнгэр', + 'Тэлэгэтү', + 'Тэмүжин-Үгэ', + 'Тэмүжинүгэ', + 'Тэрхэг', + 'Түгэ', + 'Түгэ-Маха', + 'Удутай', + 'Уйгуртай', + 'Уруудай', + 'Усун', + 'Ухуна', + 'Үгэ', + 'Үгэлэн', + 'Үнгүр', + 'Хаатай Дармала', + 'Хабич', + 'Хабтурхас', + 'Хадиги', + 'Хайду', + 'Халжа', + 'Халиудар', + 'Хан-Эрдэнэ', + 'Хангиадай', + 'Ханхархан', + 'Хар-Хадаан', + 'Хараудар', + 'Харачар', + 'Хархай', + 'Хархалзан', + 'Хархирүгэ', + 'Харчу', + 'Хауран', + 'Хачи-Хүлүг', + 'Хачиу', + 'Хачиун', + 'Хачула', + 'Хаши', + 'Хашин', + 'Хингиадай', + 'Хиратай', + 'Хирилтуг', + 'Хирмау', + 'Хишилиг', + 'Ходун', + 'Цагаангуа', + 'Чанай', + 'Чаужин', + 'Чаурхан', + 'Чахурхан', + 'Чигу', + 'Чилгутай', + 'Чилэгэрбөх', + 'Чилэгүтэн-Тахи', + 'Чилэдү', + 'Чинбай', + 'Чирхай', + 'Чирхитэй', + 'Чихарай', + 'Чихитай', + 'Чормаган', + 'Чоёг Цагаан', + 'Чуу мэргэн', + 'Чүлгэдэй', + 'Шижуудай', + 'Шинч', + 'Шинэсочи', + 'Ширахул', + 'Эди', + 'Элжгэдэй', + 'Элхудур', + 'Эрххар', + 'Эхлэлсайхан', + 'Ю-Хунан', + 'Юрүхан', + 'Ядир', + 'Ялавач', + 'Ялбаг', + ]; - /** - * @see http://ner.query.mn/daugther - */ - protected static $firstNameFemale = [ - 'Агь-Од', 'Алагабэх', 'Алалтун', 'Алахчит', 'Амин-Эрдэнэ', 'Анхлан', - 'Баргужин-Гуа', 'Баярмагнай', 'Борогчин-Гуа', - 'Гүрбэсү', - 'Дөргэнэ', - 'Ибага', 'Ивгээл', - 'Мааяадээвий', 'Моло', 'Монголжин-Гуа', - 'Олуйхан', 'Орбай', - 'Өэлүн-Үжин', - 'Саргай', 'Сорхагтан', 'Сохатай', 'Сочигэл', - 'Тамир', 'Тухай', - 'Ужаур-Үжин', - 'Хожинбэх', 'Хорижин', 'Хуагчин', 'Хутугтай', 'Хуурчин', - 'Цотан', - 'Чаалун', 'Чаурбэх', 'Чэчэйхэн', - 'Эбэхэй', - ]; + /** + * @see http://ner.query.mn/daugther + */ + protected static $firstNameFemale = [ + 'Агь-Од', + 'Алагабэх', + 'Алалтун', + 'Алахчит', + 'Амин-Эрдэнэ', + 'Анхлан', + 'Баргужин-Гуа', + 'Баярмагнай', + 'Борогчин-Гуа', + 'Гүрбэсү', + 'Дөргэнэ', + 'Ибага', + 'Ивгээл', + 'Мааяадээвий', + 'Моло', + 'Монголжин-Гуа', + 'Олуйхан', + 'Орбай', + 'Өэлүн-Үжин', + 'Саргай', + 'Сорхагтан', + 'Сохатай', + 'Сочигэл', + 'Тамир', + 'Тухай', + 'Ужаур-Үжин', + 'Хожинбэх', + 'Хорижин', + 'Хуагчин', + 'Хутугтай', + 'Хуурчин', + 'Цотан', + 'Чаалун', + 'Чаурбэх', + 'Чэчэйхэн', + 'Эбэхэй', + ]; - protected static $namePrefix = ['А', 'Б', 'В', 'Г', 'Д', 'Е', 'Ё', 'Ж', 'З', 'И', 'К', 'Л', 'М', 'Н', 'О', 'Ө', 'П', 'Р', 'С', 'Т', 'У', 'Ү', 'Ф', 'Х', 'Ц', 'Ч', 'Ш', 'Э', 'Ю', 'Я']; + protected static $namePrefix = [ + 'А', + 'Б', + 'В', + 'Г', + 'Д', + 'Е', + 'Ё', + 'Ж', + 'З', + 'И', + 'К', + 'Л', + 'М', + 'Н', + 'О', + 'Ө', + 'П', + 'Р', + 'С', + 'Т', + 'У', + 'Ү', + 'Ф', + 'Х', + 'Ц', + 'Ч', + 'Ш', + 'Э', + 'Ю', + 'Я' + ]; - protected static $alphabet = ['А', 'Л', 'Х', 'Б', 'М', 'Ц', 'В', 'Н', 'Ч', 'Г', 'О', 'Ш', 'Д', 'Ө', 'Щ', 'Е', 'П', 'Ъ', 'Ё', 'Р', 'Ы', 'Ж', 'С', 'Ь', 'З', 'Т', 'Э', 'И', 'У', 'Ю', 'Й', 'Ү', 'Я', 'К', 'Ф']; + protected static $alphabet = [ + 'А', + 'Л', + 'Х', + 'Б', + 'М', + 'Ц', + 'В', + 'Н', + 'Ч', + 'Г', + 'О', + 'Ш', + 'Д', + 'Ө', + 'Щ', + 'Е', + 'П', + 'Ъ', + 'Ё', + 'Р', + 'Ы', + 'Ж', + 'С', + 'Ь', + 'З', + 'Т', + 'Э', + 'И', + 'У', + 'Ю', + 'Й', + 'Ү', + 'Я', + 'К', + 'Ф' + ]; - protected static $maleNameFormats = [ - '{{namePrefix}}.{{firstNameMale}}', - ]; + protected static $maleNameFormats = [ + '{{namePrefix}}.{{firstNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{namePrefix}}.{{firstNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{namePrefix}}.{{firstNameFemale}}', + ]; - protected static $idNumberFormat = '{{alphabet}}{{alphabet}}########'; + protected static $idNumberFormat = '{{alphabet}}{{alphabet}}########'; - /** - * Generate an identification number. - * - * @example ИЙ92011412 - */ - public function idNumber() - { - return static::numerify($this->generator->parse(static::$idNumberFormat)); - } + /** + * Generate an identification number. + * + * @example ИЙ92011412 + */ + public function idNumber() { + return static::numerify( $this->generator->parse( static::$idNumberFormat ) ); + } - /** - * @return string - * - * @example 'Ф' - */ - public function alphabet() - { - return static::randomElement(static::$alphabet); - } + /** + * @return string + * + * @example 'Ф' + */ + public function alphabet() { + return static::randomElement( static::$alphabet ); + } - /** - * @return string - * - * @example 'Э' - */ - public function namePrefix() - { - return static::randomElement(static::$namePrefix); - } + /** + * @return string + * + * @example 'Э' + */ + public function namePrefix() { + return static::randomElement( static::$namePrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/mn_MN/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/mn_MN/PhoneNumber.php index b6706f3..f55a6d1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/mn_MN/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/mn_MN/PhoneNumber.php @@ -2,12 +2,11 @@ namespace Faker\Provider\mn_MN; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '9#######', - '8#######', - '7#######', - '3#####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '9#######', + '8#######', + '7#######', + '3#####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Address.php index 5793f6c..73b781c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Address.php @@ -2,709 +2,1344 @@ namespace Faker\Provider\ms_MY; -class Address extends \Faker\Provider\Address -{ - /** - * @see https://en.wikipedia.org/wiki/Addresses_in_Malaysia - */ - protected static $addressFormats = [ - '{{streetAddress}}, {{township}}, {{townState}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingPrefix}}{{buildingNumber}}, {{streetName}}', - ]; - - /** - * Most of the time 'No.' is not needed, and 'Lot' is less used. - */ - protected static $buildingPrefix = [ - '', '', '', '', '', '', - 'No. ', 'No. ', 'No. ', - 'Lot ', - ]; - - protected static $buildingNumber = [ - '%', '%', '%', - '%#', '%#', '%#', '%#', - '%##', - '%-%', - '?-##-##', - '%?-##', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} %', - '{{streetPrefix}} %/%', - '{{streetPrefix}} %/%#', - '{{streetPrefix}} %/%?', - '{{streetPrefix}} %/%#?', - '{{streetPrefix}} %?', - '{{streetPrefix}} %#?', - '{{streetPrefix}} {{streetSuffix}}', - '{{streetPrefix}} {{streetSuffix}} %', - '{{streetPrefix}} {{streetSuffix}} %/%', - '{{streetPrefix}} {{streetSuffix}} %/%#', - '{{streetPrefix}} {{streetSuffix}} %/%?', - '{{streetPrefix}} {{streetSuffix}} %/%#?', - '{{streetPrefix}} {{streetSuffix}} %?', - '{{streetPrefix}} {{streetSuffix}} %#?', - ]; - - protected static $townshipFormats = [ - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefix}} {{townshipSuffix}}', - '{{townshipPrefixAbbr}}%', - '{{townshipPrefixAbbr}}%#', - '{{townshipPrefixAbbr}}%#?', - ]; - - /** - * 'Jalan' & 'Jln' are more frequently used than 'Lorong' - * - * @see https://en.wikipedia.org/wiki/List_of_roads_in_Kuala_Lumpur#Standard_translations - */ - protected static $streetPrefix = [ - 'Jln', 'Jln', - 'Jalan', 'Jalan', 'Jalan', - 'Lorong', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_roads_in_Kuala_Lumpur - * @see https://en.wikipedia.org/wiki/List_of_roads_in_Ipoh - * @see https://en.wikipedia.org/wiki/Transportation_in_Seremban#Inner_city_roads - * @see https://en.wikipedia.org/wiki/List_of_streets_in_George_Town,_Penang - */ - protected static $streetSuffix = [ - 'Air Itam', 'Alor', 'Ampang', 'Ampang Hilir', 'Anson', 'Ariffin', - 'Bangsar', 'Baru', 'Bellamy', 'Birch', 'Bijih Timah', 'Bukit Aman', 'Bukit Bintang', 'Bukit Petaling', 'Bukit Tunku', - 'Cantonment', 'Cenderawasih', 'Chan Sow Lin', 'Chow Kit', 'Cinta', 'Cochrane', 'Conlay', - 'D. S. Ramanathan', 'Damansara', 'Dang Wangi', 'Davis', 'Dewan Bahasa', 'Dato Abdul Rahman', 'Dato\'Keramat', 'Dato\' Maharaja Lela', 'Doraisamy', - 'Eaton', - 'Faraday', - 'Galloway', 'Genting Klang', 'Gereja', - 'Hang Jebat', 'Hang Kasturi', 'Hang Lekir', 'Hang Lekiu', 'Hang Tuah', 'Hospital', - 'Imbi', 'Istana', - 'Jelutong', - 'Kampung Attap', 'Kebun Bunga', 'Kedah', 'Keliling', 'Kia Peng', 'Kinabalu', 'Kuala Kangsar', 'Kuching', - 'Ledang', 'Lembah Permai', 'Loke Yew', 'Lt. Adnan', 'Lumba Kuda', - 'Madras', 'Magazine', 'Maharajalela', 'Masjid', 'Maxwell', 'Mohana Chandran', 'Muda', - 'P. Ramlee', 'Padang Kota Lama', 'Pahang', 'Pantai Baharu', 'Parlimen', 'Pasar', 'Pasar Besar', 'Perak', 'Perdana', 'Petaling', 'Prangin', 'Pudu', 'Pudu Lama', - 'Raja', 'Raja Abdullah', 'Raja Chulan', 'Raja Laut', 'Rakyat', 'Residensi', 'Robson', - 'S.P. Seenivasagam', 'Samarahan 1', 'Selamat', 'Sempadan', 'Sentul', 'Serian 1', 'Sasaran', 'Sin Chee', 'Sultan Abdul Samad', 'Sultan Azlan Shah', 'Sultan Iskandar', 'Sultan Ismail', 'Sultan Sulaiman', 'Sungai Besi', 'Syed Putra', - 'Tan Cheng Lock', 'Thambipillay', 'Tugu', 'Tuanku Abdul Halim', 'Tuanku Abdul Rahman', 'Tun Abdul Razak', 'Tun Dr Ismail', 'Tun H S Lee', 'Tun Ismail', 'Tun Perak', 'Tun Razak', 'Tun Sambanthan', - 'U-Thant', 'Utama', - 'Vermont', 'Vivekananda', - 'Wan Kadir', 'Wesley', 'Wisma Putra', - 'Yaacob Latif', 'Yap Ah Loy', 'Yap Ah Shak', 'Yap Kwan Seng', 'Yew', - 'Zaaba', 'Zainal Abidin', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Petaling_Jaya_city_sections - * @see https://en.wikipedia.org/wiki/UEP_Subang_Jaya#History - */ - protected static $townshipPrefixAbbr = [ - 'SS', 'Seksyen ', 'PJS', 'PJU', 'USJ ', - ]; - - /** - * 'Bandar' and 'Taman' are the most common township prefix - * - * @see https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur > Townships - * @see https://en.wikipedia.org/wiki/Template:Johor > Townships - * @see https://en.wikipedia.org/wiki/Template:Kedah > Townships - * @see https://en.wikipedia.org/wiki/Template:Kelantan > Townships - * @see https://en.wikipedia.org/wiki/Template:Melaka > Townships - * @see https://en.wikipedia.org/wiki/Template:Negeri_Sembilan > Townships - * @see https://en.wikipedia.org/wiki/Template:Perak > Townships - * @see https://en.wikipedia.org/wiki/Template:Penang > Townships - * @see https://en.wikipedia.org/wiki/Template:Selangor > Townships - * @see https://en.wikipedia.org/wiki/Template:Terengganu > Townships - */ - protected static $townshipPrefix = [ - 'Alam', 'Apartment', 'Ara', - 'Bandar', 'Bandar', 'Bandar', 'Bandar', 'Bandar', 'Bandar', - 'Bandar Bukit', 'Bandar Seri', 'Bandar Sri', 'Bandar Baru', 'Batu', 'Bukit', - 'Desa', 'Damansara', - 'Kampung', 'Kampung Baru', 'Kampung Baru', 'Kondominium', 'Kota', - 'Laman', 'Lembah', - 'Medan', - 'Pandan', 'Pangsapuri', 'Petaling', 'Puncak', - 'Seri', 'Sri', - 'Taman', 'Taman', 'Taman', 'Taman', 'Taman', 'Taman', - 'Taman Desa', - ]; - protected static $townshipSuffix = [ - 'Aman', 'Amanjaya', 'Anggerik', 'Angkasa', 'Antarabangsa', 'Awan', - 'Bahagia', 'Bangsar', 'Baru', 'Belakong', 'Bendahara', 'Bestari', 'Bintang', 'Brickfields', - 'Casa', 'Changkat', 'Country Heights', - 'Damansara', 'Damai', 'Dato Harun', 'Delima', 'Duta', - 'Flora', - 'Gembira', 'Genting', - 'Harmoni', 'Hartamas', - 'Impian', 'Indah', 'Intan', - 'Jasa', 'Jaya', - 'Keramat', 'Kerinchi', 'Kiara', 'Kinrara', 'Kuchai', - 'Laksamana', - 'Mahkota', 'Maluri', 'Manggis', 'Maxwell', 'Medan', 'Melawati', 'Menjalara', 'Meru', 'Mulia', 'Mutiara', - 'Pahlawan', 'Perdana', 'Pertama', 'Permai', 'Pelangi', 'Petaling', 'Pinang', 'Puchong', 'Puteri', 'Putra', - 'Rahman', 'Rahmat', 'Raya', 'Razak', 'Ria', - 'Saujana', 'Segambut', 'Selamat', 'Selatan', 'Semarak', 'Sentosa', 'Seputeh', 'Setapak', 'Setia Jaya', 'Sinar', 'Sungai Besi', 'Sungai Buaya', 'Sungai Long', 'Suria', - 'Tasik Puteri', 'Tengah', 'Timur', 'Tinggi', 'Tropika', 'Tun Hussein Onn', 'Tun Perak', 'Tunku', - 'Ulu', 'Utama', 'Utara', - 'Wangi', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur - * @see https://en.wikipedia.org/wiki/Template:Johor - * @see https://en.wikipedia.org/wiki/Template:Kedah - * @see https://en.wikipedia.org/wiki/Template:Kelantan - * @see https://en.wikipedia.org/wiki/Template:Labuan - * @see https://en.wikipedia.org/wiki/Template:Melaka - * @see https://en.wikipedia.org/wiki/Template:Negeri_Sembilan - * @see https://en.wikipedia.org/wiki/Template:Pahang - * @see https://en.wikipedia.org/wiki/Template:Perak - * @see https://en.wikipedia.org/wiki/Template:Perlis - * @see https://en.wikipedia.org/wiki/Template:Penang - * @see https://en.wikipedia.org/wiki/Template:Sabah - * @see https://en.wikipedia.org/wiki/Template:Sarawak - * @see https://en.wikipedia.org/wiki/Template:Selangor - * @see https://en.wikipedia.org/wiki/Template:Terengganu - */ - protected static $towns = [ - 'johor' => [ - 'Ayer Hitam', - 'Batu Pahat', 'Bukit Gambir', 'Bukit Kepong', 'Bukit Naning', - 'Desaru', - 'Endau', - 'Gelang Patah', 'Gemas Baharu', - 'Iskandar Puteri', - 'Jementah', 'Johor Lama', 'Johor Bahru', - 'Kempas', 'Kluang', 'Kota Iskandar', 'Kota Tinggi', 'Kukup', 'Kulai', - 'Labis ', 'Larkin', 'Layang-Layang', - 'Mersing', 'Muar', - 'Pagoh', 'Paloh', 'Parit Jawa', 'Pasir Gudang', 'Pekan Nanas', 'Permas Jaya', 'Pontian Kechil', - 'Renggam', - 'Segamat', 'Senai', 'Simpang Renggam', 'Skudai', 'Sri Gading', - 'Tangkak', 'Tebrau', - 'Ulu Tiram', - 'Yong Peng', - ], - 'kedah' => [ - 'Alor Setar', - 'Baling', 'Bukit Kayu Hitam', - 'Changlun', - 'Durian Burung', - 'Gurun', - 'Jitra', - 'Kepala Batas', 'Kuah', 'Kuala Kedah', 'Kuala Ketil', 'Kulim', - 'Langgar', 'Lunas', - 'Merbok', - 'Padang Serai', 'Pendang', - 'Serdang', 'Sintok', 'Sungai Petani', - 'Tawar, Baling', - 'Yan', - ], - 'kelantan' => [ - 'Bachok', 'Bunut Payong', - 'Dabong', - 'Gua Musang', - 'Jeli', - 'Ketereh', 'Kota Bharu', 'Kuala Krai', - 'Lojing', - 'Machang', - 'Pasir Mas', 'Pasir Puteh', - 'Rantau Panjang', - 'Salor', - 'Tok Bali', - 'Wakaf Bharu', 'Wakaf Che Yeh', - ], - 'kl' => [ - 'Ampang', - 'Bandar Tasik Selatan', 'Bandar Tun Razak', 'Bangsar', 'Batu', 'Brickfields', 'Bukit Bintang', 'Bukit Jalil', 'Bukit Tunku', - 'Cheras', 'Chow Kit', - 'Damansara Town Centre', 'Dang Wangi', 'Desa Petaling', 'Desa Tun Hussein Onn', - 'Jinjang', - 'Kampung Baru', 'Kampung Kasipillay', 'Kampung Pandan', 'Kampung Sungai Penchala', 'Kepong', 'KLCC', 'Kuchai Lama', - 'Lake Gardens', 'Lembah Pantai', - 'Medan Tuanku', 'Mid Valley City', 'Mont Kiara', - 'Pantai Dalam', 'Pudu', - 'Salak South', 'Segambut', 'Semarak', 'Sentul', 'Setapak', 'Setiawangsa', 'Seputeh', 'Sri Hartamas', 'Sri Petaling', 'Sungai Besi', - 'Taman Desa', 'Taman Melawati', 'Taman OUG', 'Taman Tun Dr Ismail', 'Taman U-Thant', 'Taman Wahyu', 'Titiwangsa', 'Tun Razak Exchange', - 'Wangsa Maju', - ], - 'labuan' => [ - 'Batu Manikar', - 'Kiamsam', - 'Layang-Layang', - 'Rancha-Rancha', - ], - 'melaka' => [ - 'Alor Gajah', - 'Bandaraya Melaka', 'Batu Berendam', 'Bukit Beruang', 'Bukit Katil', - 'Cheng', - 'Durian Tunggal', - 'Hang Tuah Jaya', - 'Jasin', - 'Klebang', - 'Lubuk China', - 'Masjid Tanah', - 'Naning', - 'Pekan Asahan', - 'Ramuan China', - 'Simpang Ampat', - 'Tanjung Bidara', 'Telok Mas', - 'Umbai', - ], - 'nsembilan' => [ - 'Ayer Kuning', 'Ampangan', - 'Bahau', 'Batang Benar', - 'Chembong', - 'Dangi', - 'Gemas', - 'Juasseh', - 'Kuala Pilah', - 'Labu', 'Lenggeng', 'Linggi', - 'Mantin', - 'Nilai', - 'Pajam', 'Pedas', 'Pengkalan Kempas', 'Port Dickson', - 'Rantau', 'Rompin', - 'Senawang', 'Seremban', 'Sungai Gadut', - 'Tampin', 'Tiroi', - ], - 'pahang' => [ - 'Bandar Tun Razak', 'Bentong', 'Brinchang', 'Bukit Fraser', 'Bukit Tinggi', - 'Chendor', - 'Gambang', 'Genting Highlands', 'Genting Sempah', - 'Jerantut', - 'Karak', 'Kemayan', 'Kota Shahbandar', 'Kuala Lipis', 'Kuala Pahang', 'Kuala Rompin', 'Kuantan', - 'Lanchang', 'Lubuk Paku', - 'Maran', 'Mengkuang', 'Mentakab', - 'Nenasi', - 'Panching', - 'Pekan', 'Penor', - 'Raub', - 'Sebertak', 'Sungai Lembing', - 'Tanah Rata', 'Tanjung Sepat', 'Tasik Chini', 'Temerloh', 'Teriang', 'Tringkap', - ], - 'penang' => [ - 'Air Itam', - 'Balik Pulau', 'Batu Ferringhi', 'Batu Kawan', 'Bayan Lepas', 'Bukit Mertajam', 'Butterworth', - 'Gelugor', 'George Town', - 'Jelutong', - 'Kepala Batas', - 'Nibong Tebal', - 'Permatang Pauh', 'Pulau Tikus', - 'Simpang Ampat', - 'Tanjung Bungah', 'Tanjung Tokong', - ], - 'perak' => [ - 'Ayer Tawar', - 'Bagan Serai', 'Batu Gajah', 'Behrang', 'Bidor', 'Bukit Gantang', 'Bukit Merah', - 'Changkat Jering', 'Chemor', 'Chenderiang', - 'Damar Laut', - 'Gerik', 'Gopeng', 'Gua Tempurung', - 'Hutan Melintang', - 'Ipoh', - 'Jelapang', - 'Kamunting', 'Kampar', 'Kuala Kangsar', - 'Lekir', 'Lenggong', 'Lumut', - 'Malim Nawar', 'Manong', 'Menglembu', - 'Pantai Remis', 'Parit', 'Parit Buntar', 'Pasir Salak', 'Proton City', - 'Simpang Pulai', 'Sitiawan', 'Slim River', 'Sungai Siput', 'Sungkai', - 'Taiping', 'Tambun', 'Tanjung Malim', 'Tanjung Rambutan', 'Tapah', 'Teluk Intan', - 'Ulu Bernam', - ], - 'perlis' => [ - 'Arau', - 'Beseri', - 'Chuping', - 'Kaki Bukit', 'Kangar', 'Kuala Perlis', - 'Mata Ayer', - 'Padang Besar', - 'Sanglang', 'Simpang Empat', - 'Wang Kelian', - ], - 'putrajaya' => [ - 'Precinct 1', 'Precinct 4', 'Precinct 5', - 'Precinct 6', 'Precinct 8', 'Precinct 10', - 'Precinct 11', 'Precinct 12', 'Precinct 13', - 'Precinct 16', 'Precinct 18', 'Precinct 19', - ], - 'sabah' => [ - 'Beaufort', 'Bingkor', - 'Donggongon', - 'Inanam', - 'Kinabatangan', 'Kota Belud', 'Kota Kinabalu', 'Kuala Penyu', 'Kimanis', 'Kundasang', - 'Lahad Datu', 'Likas', 'Lok Kawi', - 'Manggatal', - 'Nabawan', - 'Papar', 'Pitas', - 'Ranau', - 'Sandakan', 'Sapulut', 'Semporna', 'Sepanggar', - 'Tambunan', 'Tanjung Aru', 'Tawau', 'Tenom', 'Tuaran', - 'Weston', - ], - 'sarawak' => [ - 'Asajaya', - 'Ba\'kelalan', 'Bario', 'Batu Kawa', 'Batu Niah', 'Betong', 'Bintulu', - 'Dalat', 'Daro', - 'Engkilili', - 'Julau', - 'Kapit', 'Kota Samarahan', 'Kuching', - 'Lawas', 'Limbang', 'Lubok Antu', - 'Marudi', 'Matu', 'Miri', - 'Oya', - 'Pakan', - 'Sadong Jaya', 'Sematan', 'Sibu', 'Siburan', 'Song', 'Sri Aman', 'Sungai Tujoh', - 'Tanjung Kidurong', 'Tanjung Manis', 'Tatau', - ], - 'selangor' => [ - 'Ampang', 'Assam Jawa', - 'Balakong', 'Bandar Baru Bangi', 'Bandar Baru Selayang', 'Bandar Sunway', 'Bangi', 'Banting', 'Batang Kali', 'Batu Caves', 'Bestari Jaya', 'Bukit Lanjan', - 'Cheras', 'Cyberjaya', - 'Damansara', 'Dengkil', - 'Ijok', - 'Jenjarom', - 'Kajang', 'Kelana Jaya', 'Klang', 'Kuala Kubu Bharu', 'Kuala Selangor', 'Kuang', - 'Lagong', - 'Morib', - 'Pandamaran', 'Paya Jaras', 'Petaling Jaya', 'Port Klang', 'Puchong', - 'Rasa', 'Rawang', - 'Salak Tinggi', 'Sekinchan', 'Selayang', 'Semenyih', 'Sepang', 'Serendah', 'Seri Kembangan', 'Shah Alam', 'Subang', 'Subang Jaya', 'Sungai Buloh', - 'Tanjung Karang', 'Tanjung Sepat', - 'Ulu Klang', 'Ulu Yam', - ], - 'terengganu' => [ - 'Ajil', - 'Bandar Ketengah Jaya', 'Bandar Permaisuri', 'Bukit Besi', 'Bukit Payong', - 'Chukai', - 'Jerteh', - 'Kampung Raja', 'Kerteh', 'Kijal', 'Kuala Besut', 'Kuala Berang', 'Kuala Dungun', 'Kuala Terengganu', - 'Marang', 'Merchang', - 'Pasir Raja', - 'Rantau Abang', - 'Teluk Kalung', - 'Wakaf Tapai', - ], - ]; - - /** - * @see https://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia - */ - protected static $states = [ - 'johor' => [ - 'Johor Darul Ta\'zim', - 'Johor', - ], - 'kedah' => [ - 'Kedah Darul Aman', - 'Kedah', - ], - 'kelantan' => [ - 'Kelantan Darul Naim', - 'Kelantan', - ], - 'kl' => [ - 'KL', - 'Kuala Lumpur', - 'WP Kuala Lumpur', - ], - 'labuan' => [ - 'Labuan', - ], - 'melaka' => [ - 'Malacca', - 'Melaka', - ], - 'nsembilan' => [ - 'Negeri Sembilan Darul Khusus', - 'Negeri Sembilan', - ], - 'pahang' => [ - 'Pahang Darul Makmur', - 'Pahang', - ], - 'penang' => [ - 'Penang', - 'Pulau Pinang', - ], - 'perak' => [ - 'Perak Darul Ridzuan', - 'Perak', - ], - 'perlis' => [ - 'Perlis Indera Kayangan', - 'Perlis', - ], - 'putrajaya' => [ - 'Putrajaya', - ], - 'sabah' => [ - 'Sabah', - ], - 'sarawak' => [ - 'Sarawak', - ], - 'selangor' => [ - 'Selangor Darul Ehsan', - 'Selangor', - ], - 'terengganu' => [ - 'Terengganu Darul Iman', - 'Terengganu', - ], - ]; - - /** - * @see https://ms.wikipedia.org/wiki/Senarai_negara_berdaulat - */ - protected static $country = [ - 'Abkhazia', 'Afghanistan', 'Afrika Selatan', 'Republik Afrika Tengah', 'Akrotiri dan Dhekelia', 'Albania', 'Algeria', 'Amerika Syarikat', 'Andorra', 'Angola', 'Antigua dan Barbuda', 'Arab Saudi', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belanda', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bhutan', 'Bolivia', 'Bonaire', 'Bosnia dan Herzegovina', 'Botswana', 'Brazil', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cameroon', 'Chad', 'Chile', 'Republik Rakyat China', 'Republik China di Taiwan', 'Colombia', 'Comoros', 'Republik Demokratik Congo', 'Republik Congo', 'Kepulauan Cook', 'Costa Rica', 'Côte d\'Ivoire (Ivory Coast)', 'Croatia', 'Cuba', 'Curaçao', 'Cyprus', 'Republik Turki Cyprus Utara', 'Republik Czech', - 'Denmark', 'Djibouti', 'Dominika', 'Republik Dominika', - 'Ecuador', 'El Salvador', 'Emiriah Arab Bersatu', 'Eritrea', 'Estonia', - 'Kepulauan Faroe', 'Fiji', 'Filipina', 'Finland', - 'Gabon', 'Gambia', 'Georgia', 'Ghana', 'Grenada', 'Greece (Yunani)', 'Guatemala', 'Guinea', 'Guinea-Bissau', 'Guinea Khatulistiwa', 'Guiana Perancis', 'Guyana', - 'Habsyah (Etiopia)', 'Haiti', 'Honduras', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Israel', 'Itali', - 'Jamaika', 'Jepun', 'Jerman', 'Jordan', - 'Kanada', 'Kazakhstan', 'Kemboja', 'Kenya', 'Kiribati', 'Korea Selatan', 'Korea Utara', 'Kosovo', 'Kuwait', 'Kyrgyzstan', - 'Laos', 'Latvia', 'Lesotho', 'Liberia', 'Libya', 'Liechtenstein', 'Lithuania', 'Lubnan', 'Luxembourg', - 'Macedonia', 'Madagaskar', 'Maghribi', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Kepulauan Marshall', 'Mauritania', 'Mauritius', 'Mesir', 'Mexico', 'Persekutuan Micronesia', 'Moldova', 'Monaco', 'Montenegro', 'Mongolia', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norway', - 'Oman', 'Ossetia Selatan', - 'Pakistan', 'Palau', 'Palestin', 'Panama', 'Papua New Guinea', 'Paraguay', 'Perancis', 'Peru', 'Poland', 'Portugal', - 'Qatar', - 'Romania', 'Russia', 'Rwanda', - 'Sahara Barat', 'Saint Kitts dan Nevis', 'Saint Lucia', 'Saint Vincent dan Grenadines', 'Samoa', 'San Marino', 'São Tomé dan Príncipe', 'Scotland', 'Senegal', 'Sepanyol', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapura', 'Slovakia', 'Slovenia', 'Kepulauan Solomon', 'Somalia', 'Somaliland', 'Sri Lanka', 'Sudan', 'Sudan Selatan', 'Suriname', 'Swaziland', 'Sweden', 'Switzerland', 'Syria', - 'Tajikistan', 'Tanjung Verde', 'Tanzania', 'Thailand', 'Timor Leste', 'Togo', 'Tonga', 'Transnistria', 'Trinidad dan Tobago', 'Tunisia', 'Turki', 'Turkmenistan', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Kingdom', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Kota Vatican', 'Venezuela', 'Vietnam', - 'Yaman', - 'Zambia', 'Zimbabwe', - ]; - - /** - * Return a building prefix - * - * @example 'No.' - * - * @return string - */ - public static function buildingPrefix() - { - return static::randomElement(static::$buildingPrefix); - } - - /** - * Return a building number - * - * @example '123' - * - * @return string - */ - public static function buildingNumber() - { - return static::toUpper(static::lexify(static::numerify(static::randomElement(static::$buildingNumber)))); - } - - /** - * Return a street prefix - * - * @example 'Jalan' - */ - public function streetPrefix() - { - $format = static::randomElement(static::$streetPrefix); - - return $this->generator->parse($format); - } - - /** - * Return a complete streename - * - * @example 'Jalan Utama 7' - * - * @return string - */ - public function streetName() - { - $format = static::toUpper(static::lexify(static::numerify(static::randomElement(static::$streetNameFormats)))); - - return $this->generator->parse($format); - } - - /** - * Return a randown township - * - * @example Taman Bahagia - * - * @return string - */ - public function township() - { - $format = static::toUpper(static::lexify(static::numerify(static::randomElement(static::$townshipFormats)))); - - return $this->generator->parse($format); - } - - /** - * Return a township prefix abbreviation - * - * @example 'USJ' - * - * @return string - */ - public function townshipPrefixAbbr() - { - return static::randomElement(static::$townshipPrefixAbbr); - } - - /** - * Return a township prefix - * - * @example 'Taman' - * - * @return string - */ - public function townshipPrefix() - { - return static::randomElement(static::$townshipPrefix); - } - - /** - * Return a township suffix - * - * @example 'Bahagia' - */ - public function townshipSuffix() - { - return static::randomElement(static::$townshipSuffix); - } - - /** - * Return a postcode based on state - * - * @example '55100' - * - * @see https://en.wikipedia.org/wiki/Postal_codes_in_Malaysia#States - * - * @param string|null $state 'state' or null - * - * @return string - */ - public static function postcode($state = null) - { - $format = [ - 'perlis' => [ // (01000 - 02800) - '0' . self::numberBetween(1000, 2800), - ], - 'kedah' => [ // (05000 - 09810) - '0' . self::numberBetween(5000, 9810), - ], - 'penang' => [ // (10000 - 14400) - self::numberBetween(10000, 14400), - ], - 'kelantan' => [ // (15000 - 18500) - self::numberBetween(15000, 18500), - ], - 'terengganu' => [ // (20000 - 24300) - self::numberBetween(20000, 24300), - ], - 'pahang' => [ // (25000 - 28800 | 39000 - 39200 | 49000, 69000) - self::numberBetween(25000, 28800), - self::numberBetween(39000, 39200), - self::numberBetween(49000, 69000), - ], - 'perak' => [ // (30000 - 36810) - self::numberBetween(30000, 36810), - ], - 'selangor' => [ // (40000 - 48300 | 63000 - 68100) - self::numberBetween(40000, 48300), - self::numberBetween(63000, 68100), - ], - 'kl' => [ // (50000 - 60000) - self::numberBetween(50000, 60000), - ], - 'putrajaya' => [ // (62000 - 62988) - self::numberBetween(62000, 62988), - ], - 'nsembilan' => [ // (70000 - 73509) - self::numberBetween(70000, 73509), - ], - 'melaka' => [ // (75000 - 78309) - self::numberBetween(75000, 78309), - ], - 'johor' => [ // (79000 - 86900) - self::numberBetween(79000, 86900), - ], - 'labuan' => [ // (87000 - 87033) - self::numberBetween(87000, 87033), - ], - 'sabah' => [ // (88000 - 91309) - self::numberBetween(88000, 91309), - ], - 'sarawak' => [ // (93000 - 98859) - self::numberBetween(93000, 98859), - ], - ]; - - $postcode = null === $state ? static::randomElement($format) : $format[$state]; - - return (string) static::randomElement($postcode); - } - - /** - * Return the complete town address with matching postcode and state - * - * @example 55100 Bukit Bintang, Kuala Lumpur - * - * @return string - */ - public function townState() - { - $state = static::randomElement(array_keys(static::$states)); - $postcode = static::postcode($state); - $town = static::randomElement(static::$towns[$state]); - $state = static::randomElement(static::$states[$state]); - - return $postcode . ' ' . $town . ', ' . $state; - } - - /** - * Return a random city (town) - * - * @example 'Ampang' - * - * @return string - */ - public function city() - { - $state = static::randomElement(array_keys(static::$towns)); - - return static::randomElement(static::$towns[$state]); - } - - /** - * Return a random state - * - * @example 'Johor' - * - * @return string - */ - public function state() - { - $state = static::randomElement(array_keys(static::$states)); - - return static::randomElement(static::$states[$state]); - } +class Address extends \Faker\Provider\Address { + /** + * @see https://en.wikipedia.org/wiki/Addresses_in_Malaysia + */ + protected static $addressFormats = [ + '{{streetAddress}}, {{township}}, {{townState}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingPrefix}}{{buildingNumber}}, {{streetName}}', + ]; + + /** + * Most of the time 'No.' is not needed, and 'Lot' is less used. + */ + protected static $buildingPrefix = [ + '', + '', + '', + '', + '', + '', + 'No. ', + 'No. ', + 'No. ', + 'Lot ', + ]; + + protected static $buildingNumber = [ + '%', + '%', + '%', + '%#', + '%#', + '%#', + '%#', + '%##', + '%-%', + '?-##-##', + '%?-##', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} %', + '{{streetPrefix}} %/%', + '{{streetPrefix}} %/%#', + '{{streetPrefix}} %/%?', + '{{streetPrefix}} %/%#?', + '{{streetPrefix}} %?', + '{{streetPrefix}} %#?', + '{{streetPrefix}} {{streetSuffix}}', + '{{streetPrefix}} {{streetSuffix}} %', + '{{streetPrefix}} {{streetSuffix}} %/%', + '{{streetPrefix}} {{streetSuffix}} %/%#', + '{{streetPrefix}} {{streetSuffix}} %/%?', + '{{streetPrefix}} {{streetSuffix}} %/%#?', + '{{streetPrefix}} {{streetSuffix}} %?', + '{{streetPrefix}} {{streetSuffix}} %#?', + ]; + + protected static $townshipFormats = [ + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefix}} {{townshipSuffix}}', + '{{townshipPrefixAbbr}}%', + '{{townshipPrefixAbbr}}%#', + '{{townshipPrefixAbbr}}%#?', + ]; + + /** + * 'Jalan' & 'Jln' are more frequently used than 'Lorong' + * + * @see https://en.wikipedia.org/wiki/List_of_roads_in_Kuala_Lumpur#Standard_translations + */ + protected static $streetPrefix = [ + 'Jln', + 'Jln', + 'Jalan', + 'Jalan', + 'Jalan', + 'Lorong', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_roads_in_Kuala_Lumpur + * @see https://en.wikipedia.org/wiki/List_of_roads_in_Ipoh + * @see https://en.wikipedia.org/wiki/Transportation_in_Seremban#Inner_city_roads + * @see https://en.wikipedia.org/wiki/List_of_streets_in_George_Town,_Penang + */ + protected static $streetSuffix = [ + 'Air Itam', + 'Alor', + 'Ampang', + 'Ampang Hilir', + 'Anson', + 'Ariffin', + 'Bangsar', + 'Baru', + 'Bellamy', + 'Birch', + 'Bijih Timah', + 'Bukit Aman', + 'Bukit Bintang', + 'Bukit Petaling', + 'Bukit Tunku', + 'Cantonment', + 'Cenderawasih', + 'Chan Sow Lin', + 'Chow Kit', + 'Cinta', + 'Cochrane', + 'Conlay', + 'D. S. Ramanathan', + 'Damansara', + 'Dang Wangi', + 'Davis', + 'Dewan Bahasa', + 'Dato Abdul Rahman', + 'Dato\'Keramat', + 'Dato\' Maharaja Lela', + 'Doraisamy', + 'Eaton', + 'Faraday', + 'Galloway', + 'Genting Klang', + 'Gereja', + 'Hang Jebat', + 'Hang Kasturi', + 'Hang Lekir', + 'Hang Lekiu', + 'Hang Tuah', + 'Hospital', + 'Imbi', + 'Istana', + 'Jelutong', + 'Kampung Attap', + 'Kebun Bunga', + 'Kedah', + 'Keliling', + 'Kia Peng', + 'Kinabalu', + 'Kuala Kangsar', + 'Kuching', + 'Ledang', + 'Lembah Permai', + 'Loke Yew', + 'Lt. Adnan', + 'Lumba Kuda', + 'Madras', + 'Magazine', + 'Maharajalela', + 'Masjid', + 'Maxwell', + 'Mohana Chandran', + 'Muda', + 'P. Ramlee', + 'Padang Kota Lama', + 'Pahang', + 'Pantai Baharu', + 'Parlimen', + 'Pasar', + 'Pasar Besar', + 'Perak', + 'Perdana', + 'Petaling', + 'Prangin', + 'Pudu', + 'Pudu Lama', + 'Raja', + 'Raja Abdullah', + 'Raja Chulan', + 'Raja Laut', + 'Rakyat', + 'Residensi', + 'Robson', + 'S.P. Seenivasagam', + 'Samarahan 1', + 'Selamat', + 'Sempadan', + 'Sentul', + 'Serian 1', + 'Sasaran', + 'Sin Chee', + 'Sultan Abdul Samad', + 'Sultan Azlan Shah', + 'Sultan Iskandar', + 'Sultan Ismail', + 'Sultan Sulaiman', + 'Sungai Besi', + 'Syed Putra', + 'Tan Cheng Lock', + 'Thambipillay', + 'Tugu', + 'Tuanku Abdul Halim', + 'Tuanku Abdul Rahman', + 'Tun Abdul Razak', + 'Tun Dr Ismail', + 'Tun H S Lee', + 'Tun Ismail', + 'Tun Perak', + 'Tun Razak', + 'Tun Sambanthan', + 'U-Thant', + 'Utama', + 'Vermont', + 'Vivekananda', + 'Wan Kadir', + 'Wesley', + 'Wisma Putra', + 'Yaacob Latif', + 'Yap Ah Loy', + 'Yap Ah Shak', + 'Yap Kwan Seng', + 'Yew', + 'Zaaba', + 'Zainal Abidin', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Petaling_Jaya_city_sections + * @see https://en.wikipedia.org/wiki/UEP_Subang_Jaya#History + */ + protected static $townshipPrefixAbbr = [ + 'SS', + 'Seksyen ', + 'PJS', + 'PJU', + 'USJ ', + ]; + + /** + * 'Bandar' and 'Taman' are the most common township prefix + * + * @see https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur > Townships + * @see https://en.wikipedia.org/wiki/Template:Johor > Townships + * @see https://en.wikipedia.org/wiki/Template:Kedah > Townships + * @see https://en.wikipedia.org/wiki/Template:Kelantan > Townships + * @see https://en.wikipedia.org/wiki/Template:Melaka > Townships + * @see https://en.wikipedia.org/wiki/Template:Negeri_Sembilan > Townships + * @see https://en.wikipedia.org/wiki/Template:Perak > Townships + * @see https://en.wikipedia.org/wiki/Template:Penang > Townships + * @see https://en.wikipedia.org/wiki/Template:Selangor > Townships + * @see https://en.wikipedia.org/wiki/Template:Terengganu > Townships + */ + protected static $townshipPrefix = [ + 'Alam', + 'Apartment', + 'Ara', + 'Bandar', + 'Bandar', + 'Bandar', + 'Bandar', + 'Bandar', + 'Bandar', + 'Bandar Bukit', + 'Bandar Seri', + 'Bandar Sri', + 'Bandar Baru', + 'Batu', + 'Bukit', + 'Desa', + 'Damansara', + 'Kampung', + 'Kampung Baru', + 'Kampung Baru', + 'Kondominium', + 'Kota', + 'Laman', + 'Lembah', + 'Medan', + 'Pandan', + 'Pangsapuri', + 'Petaling', + 'Puncak', + 'Seri', + 'Sri', + 'Taman', + 'Taman', + 'Taman', + 'Taman', + 'Taman', + 'Taman', + 'Taman Desa', + ]; + protected static $townshipSuffix = [ + 'Aman', + 'Amanjaya', + 'Anggerik', + 'Angkasa', + 'Antarabangsa', + 'Awan', + 'Bahagia', + 'Bangsar', + 'Baru', + 'Belakong', + 'Bendahara', + 'Bestari', + 'Bintang', + 'Brickfields', + 'Casa', + 'Changkat', + 'Country Heights', + 'Damansara', + 'Damai', + 'Dato Harun', + 'Delima', + 'Duta', + 'Flora', + 'Gembira', + 'Genting', + 'Harmoni', + 'Hartamas', + 'Impian', + 'Indah', + 'Intan', + 'Jasa', + 'Jaya', + 'Keramat', + 'Kerinchi', + 'Kiara', + 'Kinrara', + 'Kuchai', + 'Laksamana', + 'Mahkota', + 'Maluri', + 'Manggis', + 'Maxwell', + 'Medan', + 'Melawati', + 'Menjalara', + 'Meru', + 'Mulia', + 'Mutiara', + 'Pahlawan', + 'Perdana', + 'Pertama', + 'Permai', + 'Pelangi', + 'Petaling', + 'Pinang', + 'Puchong', + 'Puteri', + 'Putra', + 'Rahman', + 'Rahmat', + 'Raya', + 'Razak', + 'Ria', + 'Saujana', + 'Segambut', + 'Selamat', + 'Selatan', + 'Semarak', + 'Sentosa', + 'Seputeh', + 'Setapak', + 'Setia Jaya', + 'Sinar', + 'Sungai Besi', + 'Sungai Buaya', + 'Sungai Long', + 'Suria', + 'Tasik Puteri', + 'Tengah', + 'Timur', + 'Tinggi', + 'Tropika', + 'Tun Hussein Onn', + 'Tun Perak', + 'Tunku', + 'Ulu', + 'Utama', + 'Utara', + 'Wangi', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Template:Greater_Kuala_Lumpur + * @see https://en.wikipedia.org/wiki/Template:Johor + * @see https://en.wikipedia.org/wiki/Template:Kedah + * @see https://en.wikipedia.org/wiki/Template:Kelantan + * @see https://en.wikipedia.org/wiki/Template:Labuan + * @see https://en.wikipedia.org/wiki/Template:Melaka + * @see https://en.wikipedia.org/wiki/Template:Negeri_Sembilan + * @see https://en.wikipedia.org/wiki/Template:Pahang + * @see https://en.wikipedia.org/wiki/Template:Perak + * @see https://en.wikipedia.org/wiki/Template:Perlis + * @see https://en.wikipedia.org/wiki/Template:Penang + * @see https://en.wikipedia.org/wiki/Template:Sabah + * @see https://en.wikipedia.org/wiki/Template:Sarawak + * @see https://en.wikipedia.org/wiki/Template:Selangor + * @see https://en.wikipedia.org/wiki/Template:Terengganu + */ + protected static $towns = [ + 'johor' => [ + 'Ayer Hitam', + 'Batu Pahat', + 'Bukit Gambir', + 'Bukit Kepong', + 'Bukit Naning', + 'Desaru', + 'Endau', + 'Gelang Patah', + 'Gemas Baharu', + 'Iskandar Puteri', + 'Jementah', + 'Johor Lama', + 'Johor Bahru', + 'Kempas', + 'Kluang', + 'Kota Iskandar', + 'Kota Tinggi', + 'Kukup', + 'Kulai', + 'Labis ', + 'Larkin', + 'Layang-Layang', + 'Mersing', + 'Muar', + 'Pagoh', + 'Paloh', + 'Parit Jawa', + 'Pasir Gudang', + 'Pekan Nanas', + 'Permas Jaya', + 'Pontian Kechil', + 'Renggam', + 'Segamat', + 'Senai', + 'Simpang Renggam', + 'Skudai', + 'Sri Gading', + 'Tangkak', + 'Tebrau', + 'Ulu Tiram', + 'Yong Peng', + ], + 'kedah' => [ + 'Alor Setar', + 'Baling', + 'Bukit Kayu Hitam', + 'Changlun', + 'Durian Burung', + 'Gurun', + 'Jitra', + 'Kepala Batas', + 'Kuah', + 'Kuala Kedah', + 'Kuala Ketil', + 'Kulim', + 'Langgar', + 'Lunas', + 'Merbok', + 'Padang Serai', + 'Pendang', + 'Serdang', + 'Sintok', + 'Sungai Petani', + 'Tawar, Baling', + 'Yan', + ], + 'kelantan' => [ + 'Bachok', + 'Bunut Payong', + 'Dabong', + 'Gua Musang', + 'Jeli', + 'Ketereh', + 'Kota Bharu', + 'Kuala Krai', + 'Lojing', + 'Machang', + 'Pasir Mas', + 'Pasir Puteh', + 'Rantau Panjang', + 'Salor', + 'Tok Bali', + 'Wakaf Bharu', + 'Wakaf Che Yeh', + ], + 'kl' => [ + 'Ampang', + 'Bandar Tasik Selatan', + 'Bandar Tun Razak', + 'Bangsar', + 'Batu', + 'Brickfields', + 'Bukit Bintang', + 'Bukit Jalil', + 'Bukit Tunku', + 'Cheras', + 'Chow Kit', + 'Damansara Town Centre', + 'Dang Wangi', + 'Desa Petaling', + 'Desa Tun Hussein Onn', + 'Jinjang', + 'Kampung Baru', + 'Kampung Kasipillay', + 'Kampung Pandan', + 'Kampung Sungai Penchala', + 'Kepong', + 'KLCC', + 'Kuchai Lama', + 'Lake Gardens', + 'Lembah Pantai', + 'Medan Tuanku', + 'Mid Valley City', + 'Mont Kiara', + 'Pantai Dalam', + 'Pudu', + 'Salak South', + 'Segambut', + 'Semarak', + 'Sentul', + 'Setapak', + 'Setiawangsa', + 'Seputeh', + 'Sri Hartamas', + 'Sri Petaling', + 'Sungai Besi', + 'Taman Desa', + 'Taman Melawati', + 'Taman OUG', + 'Taman Tun Dr Ismail', + 'Taman U-Thant', + 'Taman Wahyu', + 'Titiwangsa', + 'Tun Razak Exchange', + 'Wangsa Maju', + ], + 'labuan' => [ + 'Batu Manikar', + 'Kiamsam', + 'Layang-Layang', + 'Rancha-Rancha', + ], + 'melaka' => [ + 'Alor Gajah', + 'Bandaraya Melaka', + 'Batu Berendam', + 'Bukit Beruang', + 'Bukit Katil', + 'Cheng', + 'Durian Tunggal', + 'Hang Tuah Jaya', + 'Jasin', + 'Klebang', + 'Lubuk China', + 'Masjid Tanah', + 'Naning', + 'Pekan Asahan', + 'Ramuan China', + 'Simpang Ampat', + 'Tanjung Bidara', + 'Telok Mas', + 'Umbai', + ], + 'nsembilan' => [ + 'Ayer Kuning', + 'Ampangan', + 'Bahau', + 'Batang Benar', + 'Chembong', + 'Dangi', + 'Gemas', + 'Juasseh', + 'Kuala Pilah', + 'Labu', + 'Lenggeng', + 'Linggi', + 'Mantin', + 'Nilai', + 'Pajam', + 'Pedas', + 'Pengkalan Kempas', + 'Port Dickson', + 'Rantau', + 'Rompin', + 'Senawang', + 'Seremban', + 'Sungai Gadut', + 'Tampin', + 'Tiroi', + ], + 'pahang' => [ + 'Bandar Tun Razak', + 'Bentong', + 'Brinchang', + 'Bukit Fraser', + 'Bukit Tinggi', + 'Chendor', + 'Gambang', + 'Genting Highlands', + 'Genting Sempah', + 'Jerantut', + 'Karak', + 'Kemayan', + 'Kota Shahbandar', + 'Kuala Lipis', + 'Kuala Pahang', + 'Kuala Rompin', + 'Kuantan', + 'Lanchang', + 'Lubuk Paku', + 'Maran', + 'Mengkuang', + 'Mentakab', + 'Nenasi', + 'Panching', + 'Pekan', + 'Penor', + 'Raub', + 'Sebertak', + 'Sungai Lembing', + 'Tanah Rata', + 'Tanjung Sepat', + 'Tasik Chini', + 'Temerloh', + 'Teriang', + 'Tringkap', + ], + 'penang' => [ + 'Air Itam', + 'Balik Pulau', + 'Batu Ferringhi', + 'Batu Kawan', + 'Bayan Lepas', + 'Bukit Mertajam', + 'Butterworth', + 'Gelugor', + 'George Town', + 'Jelutong', + 'Kepala Batas', + 'Nibong Tebal', + 'Permatang Pauh', + 'Pulau Tikus', + 'Simpang Ampat', + 'Tanjung Bungah', + 'Tanjung Tokong', + ], + 'perak' => [ + 'Ayer Tawar', + 'Bagan Serai', + 'Batu Gajah', + 'Behrang', + 'Bidor', + 'Bukit Gantang', + 'Bukit Merah', + 'Changkat Jering', + 'Chemor', + 'Chenderiang', + 'Damar Laut', + 'Gerik', + 'Gopeng', + 'Gua Tempurung', + 'Hutan Melintang', + 'Ipoh', + 'Jelapang', + 'Kamunting', + 'Kampar', + 'Kuala Kangsar', + 'Lekir', + 'Lenggong', + 'Lumut', + 'Malim Nawar', + 'Manong', + 'Menglembu', + 'Pantai Remis', + 'Parit', + 'Parit Buntar', + 'Pasir Salak', + 'Proton City', + 'Simpang Pulai', + 'Sitiawan', + 'Slim River', + 'Sungai Siput', + 'Sungkai', + 'Taiping', + 'Tambun', + 'Tanjung Malim', + 'Tanjung Rambutan', + 'Tapah', + 'Teluk Intan', + 'Ulu Bernam', + ], + 'perlis' => [ + 'Arau', + 'Beseri', + 'Chuping', + 'Kaki Bukit', + 'Kangar', + 'Kuala Perlis', + 'Mata Ayer', + 'Padang Besar', + 'Sanglang', + 'Simpang Empat', + 'Wang Kelian', + ], + 'putrajaya' => [ + 'Precinct 1', + 'Precinct 4', + 'Precinct 5', + 'Precinct 6', + 'Precinct 8', + 'Precinct 10', + 'Precinct 11', + 'Precinct 12', + 'Precinct 13', + 'Precinct 16', + 'Precinct 18', + 'Precinct 19', + ], + 'sabah' => [ + 'Beaufort', + 'Bingkor', + 'Donggongon', + 'Inanam', + 'Kinabatangan', + 'Kota Belud', + 'Kota Kinabalu', + 'Kuala Penyu', + 'Kimanis', + 'Kundasang', + 'Lahad Datu', + 'Likas', + 'Lok Kawi', + 'Manggatal', + 'Nabawan', + 'Papar', + 'Pitas', + 'Ranau', + 'Sandakan', + 'Sapulut', + 'Semporna', + 'Sepanggar', + 'Tambunan', + 'Tanjung Aru', + 'Tawau', + 'Tenom', + 'Tuaran', + 'Weston', + ], + 'sarawak' => [ + 'Asajaya', + 'Ba\'kelalan', + 'Bario', + 'Batu Kawa', + 'Batu Niah', + 'Betong', + 'Bintulu', + 'Dalat', + 'Daro', + 'Engkilili', + 'Julau', + 'Kapit', + 'Kota Samarahan', + 'Kuching', + 'Lawas', + 'Limbang', + 'Lubok Antu', + 'Marudi', + 'Matu', + 'Miri', + 'Oya', + 'Pakan', + 'Sadong Jaya', + 'Sematan', + 'Sibu', + 'Siburan', + 'Song', + 'Sri Aman', + 'Sungai Tujoh', + 'Tanjung Kidurong', + 'Tanjung Manis', + 'Tatau', + ], + 'selangor' => [ + 'Ampang', + 'Assam Jawa', + 'Balakong', + 'Bandar Baru Bangi', + 'Bandar Baru Selayang', + 'Bandar Sunway', + 'Bangi', + 'Banting', + 'Batang Kali', + 'Batu Caves', + 'Bestari Jaya', + 'Bukit Lanjan', + 'Cheras', + 'Cyberjaya', + 'Damansara', + 'Dengkil', + 'Ijok', + 'Jenjarom', + 'Kajang', + 'Kelana Jaya', + 'Klang', + 'Kuala Kubu Bharu', + 'Kuala Selangor', + 'Kuang', + 'Lagong', + 'Morib', + 'Pandamaran', + 'Paya Jaras', + 'Petaling Jaya', + 'Port Klang', + 'Puchong', + 'Rasa', + 'Rawang', + 'Salak Tinggi', + 'Sekinchan', + 'Selayang', + 'Semenyih', + 'Sepang', + 'Serendah', + 'Seri Kembangan', + 'Shah Alam', + 'Subang', + 'Subang Jaya', + 'Sungai Buloh', + 'Tanjung Karang', + 'Tanjung Sepat', + 'Ulu Klang', + 'Ulu Yam', + ], + 'terengganu' => [ + 'Ajil', + 'Bandar Ketengah Jaya', + 'Bandar Permaisuri', + 'Bukit Besi', + 'Bukit Payong', + 'Chukai', + 'Jerteh', + 'Kampung Raja', + 'Kerteh', + 'Kijal', + 'Kuala Besut', + 'Kuala Berang', + 'Kuala Dungun', + 'Kuala Terengganu', + 'Marang', + 'Merchang', + 'Pasir Raja', + 'Rantau Abang', + 'Teluk Kalung', + 'Wakaf Tapai', + ], + ]; + + /** + * @see https://en.wikipedia.org/wiki/States_and_federal_territories_of_Malaysia + */ + protected static $states = [ + 'johor' => [ + 'Johor Darul Ta\'zim', + 'Johor', + ], + 'kedah' => [ + 'Kedah Darul Aman', + 'Kedah', + ], + 'kelantan' => [ + 'Kelantan Darul Naim', + 'Kelantan', + ], + 'kl' => [ + 'KL', + 'Kuala Lumpur', + 'WP Kuala Lumpur', + ], + 'labuan' => [ + 'Labuan', + ], + 'melaka' => [ + 'Malacca', + 'Melaka', + ], + 'nsembilan' => [ + 'Negeri Sembilan Darul Khusus', + 'Negeri Sembilan', + ], + 'pahang' => [ + 'Pahang Darul Makmur', + 'Pahang', + ], + 'penang' => [ + 'Penang', + 'Pulau Pinang', + ], + 'perak' => [ + 'Perak Darul Ridzuan', + 'Perak', + ], + 'perlis' => [ + 'Perlis Indera Kayangan', + 'Perlis', + ], + 'putrajaya' => [ + 'Putrajaya', + ], + 'sabah' => [ + 'Sabah', + ], + 'sarawak' => [ + 'Sarawak', + ], + 'selangor' => [ + 'Selangor Darul Ehsan', + 'Selangor', + ], + 'terengganu' => [ + 'Terengganu Darul Iman', + 'Terengganu', + ], + ]; + + /** + * @see https://ms.wikipedia.org/wiki/Senarai_negara_berdaulat + */ + protected static $country = [ + 'Abkhazia', + 'Afghanistan', + 'Afrika Selatan', + 'Republik Afrika Tengah', + 'Akrotiri dan Dhekelia', + 'Albania', + 'Algeria', + 'Amerika Syarikat', + 'Andorra', + 'Angola', + 'Antigua dan Barbuda', + 'Arab Saudi', + 'Argentina', + 'Armenia', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belanda', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bhutan', + 'Bolivia', + 'Bonaire', + 'Bosnia dan Herzegovina', + 'Botswana', + 'Brazil', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cameroon', + 'Chad', + 'Chile', + 'Republik Rakyat China', + 'Republik China di Taiwan', + 'Colombia', + 'Comoros', + 'Republik Demokratik Congo', + 'Republik Congo', + 'Kepulauan Cook', + 'Costa Rica', + 'Côte d\'Ivoire (Ivory Coast)', + 'Croatia', + 'Cuba', + 'Curaçao', + 'Cyprus', + 'Republik Turki Cyprus Utara', + 'Republik Czech', + 'Denmark', + 'Djibouti', + 'Dominika', + 'Republik Dominika', + 'Ecuador', + 'El Salvador', + 'Emiriah Arab Bersatu', + 'Eritrea', + 'Estonia', + 'Kepulauan Faroe', + 'Fiji', + 'Filipina', + 'Finland', + 'Gabon', + 'Gambia', + 'Georgia', + 'Ghana', + 'Grenada', + 'Greece (Yunani)', + 'Guatemala', + 'Guinea', + 'Guinea-Bissau', + 'Guinea Khatulistiwa', + 'Guiana Perancis', + 'Guyana', + 'Habsyah (Etiopia)', + 'Haiti', + 'Honduras', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Israel', + 'Itali', + 'Jamaika', + 'Jepun', + 'Jerman', + 'Jordan', + 'Kanada', + 'Kazakhstan', + 'Kemboja', + 'Kenya', + 'Kiribati', + 'Korea Selatan', + 'Korea Utara', + 'Kosovo', + 'Kuwait', + 'Kyrgyzstan', + 'Laos', + 'Latvia', + 'Lesotho', + 'Liberia', + 'Libya', + 'Liechtenstein', + 'Lithuania', + 'Lubnan', + 'Luxembourg', + 'Macedonia', + 'Madagaskar', + 'Maghribi', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Kepulauan Marshall', + 'Mauritania', + 'Mauritius', + 'Mesir', + 'Mexico', + 'Persekutuan Micronesia', + 'Moldova', + 'Monaco', + 'Montenegro', + 'Mongolia', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norway', + 'Oman', + 'Ossetia Selatan', + 'Pakistan', + 'Palau', + 'Palestin', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Perancis', + 'Peru', + 'Poland', + 'Portugal', + 'Qatar', + 'Romania', + 'Russia', + 'Rwanda', + 'Sahara Barat', + 'Saint Kitts dan Nevis', + 'Saint Lucia', + 'Saint Vincent dan Grenadines', + 'Samoa', + 'San Marino', + 'São Tomé dan Príncipe', + 'Scotland', + 'Senegal', + 'Sepanyol', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapura', + 'Slovakia', + 'Slovenia', + 'Kepulauan Solomon', + 'Somalia', + 'Somaliland', + 'Sri Lanka', + 'Sudan', + 'Sudan Selatan', + 'Suriname', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syria', + 'Tajikistan', + 'Tanjung Verde', + 'Tanzania', + 'Thailand', + 'Timor Leste', + 'Togo', + 'Tonga', + 'Transnistria', + 'Trinidad dan Tobago', + 'Tunisia', + 'Turki', + 'Turkmenistan', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Kingdom', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Kota Vatican', + 'Venezuela', + 'Vietnam', + 'Yaman', + 'Zambia', + 'Zimbabwe', + ]; + + /** + * Return a building prefix + * + * @return string + * @example 'No.' + * + */ + public static function buildingPrefix() { + return static::randomElement( static::$buildingPrefix ); + } + + /** + * Return a building number + * + * @return string + * @example '123' + * + */ + public static function buildingNumber() { + return static::toUpper( static::lexify( static::numerify( static::randomElement( static::$buildingNumber ) ) ) ); + } + + /** + * Return a street prefix + * + * @example 'Jalan' + */ + public function streetPrefix() { + $format = static::randomElement( static::$streetPrefix ); + + return $this->generator->parse( $format ); + } + + /** + * Return a complete streename + * + * @return string + * @example 'Jalan Utama 7' + * + */ + public function streetName() { + $format = static::toUpper( static::lexify( static::numerify( static::randomElement( static::$streetNameFormats ) ) ) ); + + return $this->generator->parse( $format ); + } + + /** + * Return a randown township + * + * @return string + * @example Taman Bahagia + * + */ + public function township() { + $format = static::toUpper( static::lexify( static::numerify( static::randomElement( static::$townshipFormats ) ) ) ); + + return $this->generator->parse( $format ); + } + + /** + * Return a township prefix abbreviation + * + * @return string + * @example 'USJ' + * + */ + public function townshipPrefixAbbr() { + return static::randomElement( static::$townshipPrefixAbbr ); + } + + /** + * Return a township prefix + * + * @return string + * @example 'Taman' + * + */ + public function townshipPrefix() { + return static::randomElement( static::$townshipPrefix ); + } + + /** + * Return a township suffix + * + * @example 'Bahagia' + */ + public function townshipSuffix() { + return static::randomElement( static::$townshipSuffix ); + } + + /** + * Return a postcode based on state + * + * @param string|null $state 'state' or null + * + * @return string + * @example '55100' + * + * @see https://en.wikipedia.org/wiki/Postal_codes_in_Malaysia#States + * + */ + public static function postcode( $state = null ) { + $format = [ + 'perlis' => [ // (01000 - 02800) + '0' . self::numberBetween( 1000, 2800 ), + ], + 'kedah' => [ // (05000 - 09810) + '0' . self::numberBetween( 5000, 9810 ), + ], + 'penang' => [ // (10000 - 14400) + self::numberBetween( 10000, 14400 ), + ], + 'kelantan' => [ // (15000 - 18500) + self::numberBetween( 15000, 18500 ), + ], + 'terengganu' => [ // (20000 - 24300) + self::numberBetween( 20000, 24300 ), + ], + 'pahang' => [ // (25000 - 28800 | 39000 - 39200 | 49000, 69000) + self::numberBetween( 25000, 28800 ), + self::numberBetween( 39000, 39200 ), + self::numberBetween( 49000, 69000 ), + ], + 'perak' => [ // (30000 - 36810) + self::numberBetween( 30000, 36810 ), + ], + 'selangor' => [ // (40000 - 48300 | 63000 - 68100) + self::numberBetween( 40000, 48300 ), + self::numberBetween( 63000, 68100 ), + ], + 'kl' => [ // (50000 - 60000) + self::numberBetween( 50000, 60000 ), + ], + 'putrajaya' => [ // (62000 - 62988) + self::numberBetween( 62000, 62988 ), + ], + 'nsembilan' => [ // (70000 - 73509) + self::numberBetween( 70000, 73509 ), + ], + 'melaka' => [ // (75000 - 78309) + self::numberBetween( 75000, 78309 ), + ], + 'johor' => [ // (79000 - 86900) + self::numberBetween( 79000, 86900 ), + ], + 'labuan' => [ // (87000 - 87033) + self::numberBetween( 87000, 87033 ), + ], + 'sabah' => [ // (88000 - 91309) + self::numberBetween( 88000, 91309 ), + ], + 'sarawak' => [ // (93000 - 98859) + self::numberBetween( 93000, 98859 ), + ], + ]; + + $postcode = null === $state ? static::randomElement( $format ) : $format[ $state ]; + + return (string) static::randomElement( $postcode ); + } + + /** + * Return the complete town address with matching postcode and state + * + * @return string + * @example 55100 Bukit Bintang, Kuala Lumpur + * + */ + public function townState() { + $state = static::randomElement( array_keys( static::$states ) ); + $postcode = static::postcode( $state ); + $town = static::randomElement( static::$towns[ $state ] ); + $state = static::randomElement( static::$states[ $state ] ); + + return $postcode . ' ' . $town . ', ' . $state; + } + + /** + * Return a random city (town) + * + * @return string + * @example 'Ampang' + * + */ + public function city() { + $state = static::randomElement( array_keys( static::$towns ) ); + + return static::randomElement( static::$towns[ $state ] ); + } + + /** + * Return a random state + * + * @return string + * @example 'Johor' + * + */ + public function state() { + $state = static::randomElement( array_keys( static::$states ) ); + + return static::randomElement( static::$states[ $state ] ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Company.php index 4dc8b2c..8877e77 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Company.php @@ -2,104 +2,623 @@ namespace Faker\Provider\ms_MY; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyName}} {{companySuffix}}', - '{{industry}} {{lastNameMalay}} {{companySuffix}}', - '{{industry}} {{firstNameMaleChinese}} {{companySuffix}}', - '{{industry}} {{firstNameMaleIndian}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyName}} {{companySuffix}}', + '{{industry}} {{lastNameMalay}} {{companySuffix}}', + '{{industry}} {{firstNameMaleChinese}} {{companySuffix}}', + '{{industry}} {{firstNameMaleIndian}} {{companySuffix}}', + ]; - /** - * There are more Private Limited Companies(Sdn Bhd) than Public Listed Companies(Berhad) - * - * @see http://www.risscorporateservices.com/types-of-business-entities.html - */ - protected static $companySuffix = [ - 'Berhad', - 'Bhd', - 'Bhd.', - 'Enterprise', - 'Sdn Bhd', 'Sdn Bhd', 'Sdn Bhd', 'Sdn Bhd', - 'Sdn. Bhd.', 'Sdn. Bhd.', 'Sdn. Bhd.', 'Sdn. Bhd.', - ]; + /** + * There are more Private Limited Companies(Sdn Bhd) than Public Listed Companies(Berhad) + * + * @see http://www.risscorporateservices.com/types-of-business-entities.html + */ + protected static $companySuffix = [ + 'Berhad', + 'Bhd', + 'Bhd.', + 'Enterprise', + 'Sdn Bhd', + 'Sdn Bhd', + 'Sdn Bhd', + 'Sdn Bhd', + 'Sdn. Bhd.', + 'Sdn. Bhd.', + 'Sdn. Bhd.', + 'Sdn. Bhd.', + ]; - /** - * @see https://en.wikipedia.org/wiki/List_of_companies_of_Malaysia - */ - protected static $companies = [ - 'Adventa', 'AirAsia', 'AmBank', 'Astro Malaysia Holdings', 'Astro Radio', 'Axiata', - 'Berjaya Group', 'Bonia', 'Boustead Holdings', 'BSA Manufacturing', 'Bufori', 'Bumiputra-Commerce Holdings', 'Bursa Malaysia', - 'Capital Dynamics', 'Celcom', 'CIMB', - 'Digi Telecommunications', 'DRB-HICOM', - 'Edaran Otomobil Nasional (EON)', - 'Friendster', - 'Gamuda', 'Genting Group', 'Golden Hope', 'Golden Screen Cinemas', 'Guthrie', - 'HELP International Corporation', - 'iMoney.my', 'IOI Group', 'Iskandar Investment', 'The Italian Baker', - 'Jaring', 'JobStreet.com', 'Johor Corporation', 'Johor Land', - 'Khazanah Nasional', 'Khind Holdings', 'KLCC Properties', 'Keretapi Tanah Melayu (KTM)', 'Konsortium Transnasional (KTB)', 'Kulim (Malaysia)', - 'Lam Eng Rubber', 'Lion Group', - 'Magnum Corporation', 'Maybank', 'Malaysia Airlines', 'Malaysia Airports', 'Marrybrown', 'Maxis Communications', 'MBO Cinemas', 'Media Prima', 'MIMOS', 'MISC', 'Modenas', 'MUI Group', 'Mydin', - 'NAZA Group', 'New Straits Times Press', - 'OYL Industries', - 'Parkson', 'Pensonic', 'Permodalan Nasional', 'Perodua', 'Petronas', 'PLUS', 'Pos Malaysia', 'Prasarana Malaysia', 'Proton Holdings', 'Public Bank', - 'Ramly Group', 'Ranhill Holdings', 'Resort World', 'RHB Bank', 'Royal Selangor', - 'Scientex Incorporated', 'Scomi', 'Sime Darby', 'SIRIM', 'Sunway Group', 'Supermax', - 'Tan Chong Motor', 'Tanjong', 'Tenaga Nasional', 'Telekom Malaysia(TM)', 'TGV Cinemas', 'Top Glove', - 'U Mobile', 'UEM Group', 'UMW Holdings', - 'VADS', 'ViTrox', - 'Wasco Energy', - 'YTL Corporation', - ]; + /** + * @see https://en.wikipedia.org/wiki/List_of_companies_of_Malaysia + */ + protected static $companies = [ + 'Adventa', + 'AirAsia', + 'AmBank', + 'Astro Malaysia Holdings', + 'Astro Radio', + 'Axiata', + 'Berjaya Group', + 'Bonia', + 'Boustead Holdings', + 'BSA Manufacturing', + 'Bufori', + 'Bumiputra-Commerce Holdings', + 'Bursa Malaysia', + 'Capital Dynamics', + 'Celcom', + 'CIMB', + 'Digi Telecommunications', + 'DRB-HICOM', + 'Edaran Otomobil Nasional (EON)', + 'Friendster', + 'Gamuda', + 'Genting Group', + 'Golden Hope', + 'Golden Screen Cinemas', + 'Guthrie', + 'HELP International Corporation', + 'iMoney.my', + 'IOI Group', + 'Iskandar Investment', + 'The Italian Baker', + 'Jaring', + 'JobStreet.com', + 'Johor Corporation', + 'Johor Land', + 'Khazanah Nasional', + 'Khind Holdings', + 'KLCC Properties', + 'Keretapi Tanah Melayu (KTM)', + 'Konsortium Transnasional (KTB)', + 'Kulim (Malaysia)', + 'Lam Eng Rubber', + 'Lion Group', + 'Magnum Corporation', + 'Maybank', + 'Malaysia Airlines', + 'Malaysia Airports', + 'Marrybrown', + 'Maxis Communications', + 'MBO Cinemas', + 'Media Prima', + 'MIMOS', + 'MISC', + 'Modenas', + 'MUI Group', + 'Mydin', + 'NAZA Group', + 'New Straits Times Press', + 'OYL Industries', + 'Parkson', + 'Pensonic', + 'Permodalan Nasional', + 'Perodua', + 'Petronas', + 'PLUS', + 'Pos Malaysia', + 'Prasarana Malaysia', + 'Proton Holdings', + 'Public Bank', + 'Ramly Group', + 'Ranhill Holdings', + 'Resort World', + 'RHB Bank', + 'Royal Selangor', + 'Scientex Incorporated', + 'Scomi', + 'Sime Darby', + 'SIRIM', + 'Sunway Group', + 'Supermax', + 'Tan Chong Motor', + 'Tanjong', + 'Tenaga Nasional', + 'Telekom Malaysia(TM)', + 'TGV Cinemas', + 'Top Glove', + 'U Mobile', + 'UEM Group', + 'UMW Holdings', + 'VADS', + 'ViTrox', + 'Wasco Energy', + 'YTL Corporation', + ]; - /** - * @see http://www.daftarsyarikat.biz/perkhidmatan-dan-konsultasi/pendaftaran-lesen-kementerian-kewangan/senarai-kod-bidang/ - */ - protected static $industry = [ - 'Agen Pengembaraan', 'Agen Penghantaran', 'Agen Perkapalan', 'Agensi Kredit Dan Pemfaktoran', 'Air', 'Akseso Kenderaan', 'Aksesori', 'Aksesori Jentera Berat', 'Aksesori Penghubung Dan Telekomunikasi', 'Aksesori Senjata Api', 'Akuatik', 'Akustik Dan Gelombang', 'Alat Forensik Dan Aksesori', 'Alat Gani', 'Alat Ganti', 'Alat Ganti Dan Kelengkapan Bot', 'Alat Hawa Dingin', 'Alat Hawa Dingin Kenderaan', 'Alat Kebombaan', 'Alat Kelengkapan Perubatan', 'Alat Keselamatan, Perlindungan Dan Kawalan Perlindungan Dan Kawalan', 'Alat Muzik Dan Aksesori', 'Alat Muzik, Kesenian dan Aksesori', 'Alat Penghasil Nyalaan', 'Alat penyelamat', 'Alat Penyimpan Tenaga Dan Aksesori', 'Alat Perhubungan', 'Alat Semboyan', 'Alat-Alat Marin', 'Alatganti Dan Kelengkapan Pesawat', 'Alatulis', 'Animation', 'Anti Kakis', 'Artis Dan Penghibur Profesional', 'Audio Visual', - 'Bagasi Dan Beg dari kulit', 'Bahan Api Nuklear', 'Bahan Bacaan', 'Bahan Bacaan Terbitan Luar Negara', 'Bahan Bakar', 'Bahan Binaan', 'Bahan dan Peralatan Solekan dan Andaman', 'Bahan Letupan', 'Bahan Peledak', 'Bahan Pelincir', 'Bahan pembungkusan', 'Bahan Pencuci Dan Pembersihan', 'Bahan Pendidikan', 'Bahan Penerbitan Elektronik Dan Muzik', 'Bahan Surih, Drafting Dan Alat Lukis', 'Bahan Tambah', 'Bahan Tarpaulin Dan Kanvas', 'Baik Pulih Kasut Dan Barangan Kulit', 'Baikpulih Barang-Barang Logam', 'Baja Dan Nutrien Tumbuhan', 'Baka', 'Bangunan', 'Bantuan Kecemasan DanAmbulan', 'Bantuan Kemanusiaan', 'Barangan Hiasan Dalaman Dan Aksesori', 'Barangan PVC', 'Barge', 'Bas', 'Basah', 'Basikal', 'Bekalan Pejabat Dan Alatulis', 'Bekas', 'Belon Panas', 'Benih Semaian', 'Bill Board', 'Bioteknologi', 'Bot', 'Bot Malim', 'Bot Tunda', 'Brangan Logam', 'Broker Insuran', 'Broker Perkapalan', 'Bunga Api Dan Mercun', 'Butang Dan Bekalan Jahitan', - 'Cat', 'Cenderamata Dan Hadiah', 'Cetakan Hologram', 'Cetakan Keselamatan', 'Chalet', 'Cloud Seeding', 'Complete Rounds', 'Customization and maintenance including data', - 'Dadah Berjadual', 'Dan Aksesori', 'Darat', 'Dasar Dan Peraturan', 'Data management –Provide services including Disaster', 'Dll', 'DNA', 'Dobi', 'Dokumentasi Dan Panduarah', - 'Elektronik', 'Empangan', 'Enjin Kenderaan', 'Enjin, Komponen Enjin Dan Aksesori', 'Entry, data processing', - 'Fabrik', 'Faksimili', 'Feri', 'Filem dan Mikrofilem', 'Filem Siap Untuk Tayangan', 'Fotografi', - 'Gas', 'Gas Turbine', 'Geographic Information System', 'Geologi', 'Graphic Design', - 'Habitat Dan Tempat Kurungan Haiwan', 'Haiwan Ternakan, Bukan Ternakan dan Akuatik', 'Hak Harta Intelek', 'Hardware', 'Hardware', 'Hardware and Software leasing', 'Hasil Sampingan Dan Sisa Perladangan', 'Helikopter', 'Hiasan Dalaman', 'Hiasan Jalan', 'Hidrografi', 'Homestay', 'Hortikultur', 'Hotel', 'Hubungan Antarabangsa', 'Hutan Dan Ladang Hutan', - 'ICT security and firewall, Encryption, PKI, Anti Virus', 'Industri', 'Infrastructure', 'Internet', - 'Jentera', 'Jentera Berat', 'Jentera Berat', 'Jet Ski', - 'Kabel Elektrik Dan Aksesori', 'Kain', 'Kajian Telekomunikasi', 'Kakitangan Iktisas', 'Kakitangan Separa Iktisas', 'Kamera dan Aksesori', 'Kanvas', 'Kapal', 'Kapal Angkasa Dan Alatganti', 'Kapal Laut', 'Kapal Selam', 'Kapal Selam', 'Kapal Terbang', 'Kawalan Keselamatan', 'Kawalan Serangga Perosak, Anti Termite', 'Kawasan', 'Kayu', 'Kediaman', 'Kelengkapan', 'Kelengkapan Dan Aksesori', 'Kelengkapan Hospital Dan Makmal', 'Kelengkapan Pakaian', 'Kelengkapan Sasaran', 'Kemudahan Awam', 'Kemudahan Awam', 'Kenderaan', 'Kenderaan Bawah 3 Ton', 'Kenderaan Ber Rel Dan kereta Kabel', 'Kenderaan Jenazah', 'Kenderaan Kegunaan Khusus', 'Kenderaan Kegunaan Khusus', 'Kenderaan Melebihi 3Ton', 'Kenderaan Rekreasi', 'Kenderaan Udara', 'Kereta', 'Kerja Pembaikan Kapal Angkasa', 'Kerja-Kerja Khusus', 'Kerja-kerja Mengetuk dan Mengecat', 'Kerja-Kerja Pembaikan Kenderaan Ber Rel Dan Kereta Kabel', 'Kerja-Kerja Penyelenggaraan Sistem Kenderaan', 'Kertas', 'Kertas Komputer', 'Khidmat Guaman', 'Khidmat Latihan, Tenaga Pengajar dan Moderator', 'Khidmat Udara', 'Kit Pendidikan', 'Kodifikasi', 'Kolam Kumbahan', 'Komponen Dan Aksesori Elektrik', 'Komponen Enjin Pembakaran Dalaman', 'Kontena', 'Kotak', 'Kren', 'Kunci, Perkakasan Perlindungan Dan Aksesori', 'Kusyen dan Bumbung', - 'Label', 'Ladang', 'Lagu', 'Lain-lain Media Pengiklanan', 'Laminating', 'Lampu, Komponen Lampu Dan Aksesori', 'Laut', 'Lesen', 'LIDAR', 'Lilin', 'Logam', 'Lokomotif Dan Troli Elektrik', 'Lori', - 'Maintenance', 'Makanan', 'Makanan Bermasak', 'Makanan Bermasak', 'Makanan Dan Bahan Mentah Kering', 'Makanan dan Minuman', 'Makanan Haiwan', 'Makmal', 'Malim Kapal', 'Marker', 'Mechanisation System', 'Media Cetak', 'Media Elektronik', 'Medium Penyimpanan', 'Membaik Pulih Bateri', 'Membaik Pulih Tayar', 'Membaik Pulih TempatDuduk', 'Membaiki Buff Fuel Tank', 'Membaikpulih BahanTerbitan Dan Manuskrip', 'Membekal Air', 'Membeli Barang Lusuh Perlu Permit', 'Membeli Barang Lusuh Tanpa Permit', 'Membersih Kawasan', 'Membersih Kenderaan', 'Membersih Pantai', 'Memproses Air', 'Memproses Filem', 'Menangkap', 'Mencetak Borang', 'Mencetak Buku, Majalah, Laporan Akhbar', 'Mencetak Continuous Stationery Forms', 'Mencetak Fail, Kad Perniagaan Dan Kad Ucapan', 'Mencetak Label, Poster dan Pelekat', 'Mencetak Label, Poster, Pelekat dan Iron On', 'Mencuci Kolam Renang', 'Menembak Haiwan', 'Mengangkat Sampah', 'Mengangkut Mayat', 'Mengikat Dan Melepas Tali Kapal', 'Menjahit Bukan Pakaian', 'Menjahit Pakaian Dan Kelengkapan', 'Menjilid Kulit Keras', 'Menjilid Kulit Lembut', 'Menyelam', 'Mereka-Cipta Dan Seni Halus', 'Mesin Dan Kelengkapan Bengkel', 'Mesin dan Kelengkapan Khusus', 'Mesin dan peralatan makmal', 'Mesin dan Peralatan Pejabat', 'Mesin dan Peralatan Woksyop', 'Mesin Pengimbas', 'Mesin-Mesin Pejabat', 'Mesin-Mesin Pejabat Dan Aksesori', 'Minuman Tambahan', 'Motel', 'Motor Dan Alat Ubah', 'Motosikal', 'Multimedia-products services and maintenance', 'Multimodal Transport Operator', - 'Negotiator', 'Networking-supply', 'Nylon', - 'Oceanografi', - 'P.A Sistem Dan Alat Muzik', 'Paip Air Dan Komponen', 'Paip Dan Kelengkapan', 'Pakaian', 'Pakaian Keselamatan, Kelengkapan Dan Aksesori', 'Pakaian Sukan Dan Aksesori', 'Palet', 'Pameran pertunjukan, taman hiburan dan karnival', 'Papan Tanda dan Aksesori', 'Pejabat', 'Pekakas Perubatan Pakai Buang', 'Pelancar Misil Dan Roket', 'Pelupusan Dan Perawatan Sisa berbahaya', 'Pelupusan Dan Perawatan Sisa tidak berbahaya', 'Pelupusan dan Rawatan Sisa Radio Aktif dan Nuklear', 'Peluru Berpandu', 'Peluru Dan Bom', 'Pemadam Api', 'Pembaikan Alat Keselamatan', 'Pembaikan Kenderaan Yang Tidak Berenjin', 'Pembajaan', 'Pembersihan Bangunan Dan Pejabat', 'Pembersihan Tumpahan Minyak', 'Pembuat', 'Pembuat', 'Pembuat Keselamatan', 'Pembungkusan', 'Pembungkusan Dan Penyimpanan', 'Pemeliharaan Bahan Bahan Sejarah Dan Tempat Bersejarah', 'Pemetaan', 'Pemetaan Utiliti Bawah Tanah', 'Pemilik Kapal', 'Pemungut Hutang', 'Pencahayaan', 'Pencelup', 'Pencucuh', 'Penerbitan Elektronik Atas Talian', 'Pengangkutan Lori', 'Pengatur Huruf', 'Pengeluaran Filem', 'Pengenalan Dan Pas Keselamatan Bersalut', 'Penghantar Notis', 'Penghantaran Dokumen', 'Pengkomersilan', 'Pengurusan Jenazah Dan Kelengkapan', 'Pengurusan Kewangan Dan Korporat', 'Pengurusan Pelabuhan', 'Penjana Kuasa', 'Pensijilan dan Pengiktirafan', 'Penterjemahan', 'Penulisan – Semua Jenis Penulisan', 'Penyediaan Akaun dan Pengauditan', 'Penyediaan Pentas', 'Penyelenggaraan', 'Penyelenggaraan Kapal Terbang', 'Penyelenggaraan Misil', 'Penyelenggaraan Simulator Helikopter', 'Penyelenggaraan Simulator Kapal', 'Penyelenggaraan Simulator Kapal Terbang', 'PenyelenggaraanHelikopter', 'Penyelenggaran Dan Pembaikan Senjata', 'Penyiaran', 'Penyiasat Persendirian', 'Penyimpanan Rekod', - 'Perabot', 'Perabot Jalan Raya', 'Perabot Pejabat', 'Perabot, Perabot Makmal dan Kelengkapan Berasaskan', 'Peralatan', 'Peralatan Dan Kelengkapan Hospital', 'Peralatan Dan Kelengkapan Pertanian', 'Peralatan Dan Kelengkapan Perubatan', 'Peralatan Dan Perkakas Domestik', 'Peralatan Kawalan Api', 'Peralatan Kawalan Keselamatan', 'Peralatan Keselamatan', 'Peralatan Keselamatan dan Senjata', 'Peralatan Makmal Pengukuran, Pencerapan Dan Sukat', 'Peralatan Makmal serta Aksesori', 'Peralatan Marin', 'Peralatan Memancing', 'Peralatan Memburu', 'Peralatan Pemantauan Dan Pengesanan', 'Peralatan Pemprosesan Fotografi, Mikrofilem', 'Peralatan Pengawalan Perosak Tanaman', 'Peralatan Percetakan Serta Aksesori', 'Peralatan Perindustrian Hiliran', 'Peralatan Perindustrian Huluan', 'Peralatan Perkhemahan Dan Aktiviti Luar', 'Peralatan Servis Dan Selenggara', 'Peralatan Sistem Bunyi, Pembesar Suara dan Projektor', 'Peralatan Sistem Kumbahan Dan Aksesori', 'Peralatan Sukan', 'Peralatan Untuk Orang Kurang Upaya Dan Pemulihan', 'Perhubungan', 'Perikanan Dan Akuakultur', 'Perkakas', 'Perkakas Elektrik Dan Aksesori', 'Perkakas Elektronik Dan Aksesori', 'Perkakasan Dan Bahan Kebersihan Diri Dan Mandian, Kelengkapan Bilik Air', 'Perkakasan Penyuntingan', 'Perkhidmatan Fotostat', 'Perkhidmatan Mel Pukal', 'Permainan', 'Perosak, Rumpai', 'Persembahan', 'Pertanian', 'Perundingan', 'Pesakit', 'Pesawat', 'Pesawat Udara', 'Pest Control', 'Pestaria', 'Pewarna', 'Pisah Warna', 'Plastik', 'Plastik', 'Printers, storage area network', 'Production Testing, Surface Well Testing and Wire Line Services', 'Pump', 'Pusat Latihan', 'Pvc', - 'Racun Berjadual', 'Racun Serangga', 'Radar Dan Alatganti', 'Rakaman', 'Rawatan Hutan', 'Reaktor dan Instrumen Nuklear', 'Rekabentuk Percetakan', 'Renting', 'Resort', 'Roket Dan Sub Sistem, Pelancar', 'Rotan', 'Ruang Niaga', 'Rumah Kediaman', 'Rumah Tumpangan', - 'Salvage Boat', 'Sampan', 'Sampel dan Sampel Awetan Haiwan', 'Sand Blasting Dan Mengecat Untuk Kapal', 'Satelit', 'Satelit Dan Alatganti', 'Semua Peralatan Sukatan', 'Senjata Api', 'Serangga', 'Sesalur', 'Shelf packages including maintenance', 'Ship Chandling', 'Ship Trimming', 'Simulator', 'Simulator Bot', 'Simulator serta lain-lain', 'Sisa Perawatan', 'Sistem Elektrik', 'Sistem Elektronik', 'Sistem Pencegah Kebakaran', 'Sistem Perhubungan', 'Sistem, Peralatan, Alat Ganti Keretapi Dan Aksesori', 'Software', 'Solekan', 'Split', 'Stesen Janakuasa, Peralatan', 'Stevedor', 'Stor', 'Sub Sistem Roket', 'Sukan', 'Sumber Air', 'Sungai', 'Syarikat Insuran', 'Syarikat pelelong awam', 'System development', - 'Tag', 'Talian Paip', 'Taman', 'Tanaman', 'Tanda Dan Stiker', 'Tangki', 'Tasik', 'Tatahias Haiwan', 'Teknologi Hijau', 'Teknologi Maklumat Dan Komunikasi', 'Tekstil', 'Tekstil Guna Semula Kakitangan', 'Tekstil Pakai Buang Kakitangan', 'Telecommunication', 'Telekomunikasi', 'Telly Clerk', 'Tempat Letak Kereta', 'Tenaga Buruh', 'Ternakan', 'Terusan', 'Topografi', 'Trailer Dan Aksesori', 'Tukun Tiruan', 'Tumbuhan', - 'Ubat Haiwan', 'Ubat Tidak Berjadual', 'Ujian Makmal', 'Ukuran', - 'Varnishing', - 'WAN', 'Wayar Elektrik Dan Aksesori', 'Wireless', - ]; + /** + * @see http://www.daftarsyarikat.biz/perkhidmatan-dan-konsultasi/pendaftaran-lesen-kementerian-kewangan/senarai-kod-bidang/ + */ + protected static $industry = [ + 'Agen Pengembaraan', + 'Agen Penghantaran', + 'Agen Perkapalan', + 'Agensi Kredit Dan Pemfaktoran', + 'Air', + 'Akseso Kenderaan', + 'Aksesori', + 'Aksesori Jentera Berat', + 'Aksesori Penghubung Dan Telekomunikasi', + 'Aksesori Senjata Api', + 'Akuatik', + 'Akustik Dan Gelombang', + 'Alat Forensik Dan Aksesori', + 'Alat Gani', + 'Alat Ganti', + 'Alat Ganti Dan Kelengkapan Bot', + 'Alat Hawa Dingin', + 'Alat Hawa Dingin Kenderaan', + 'Alat Kebombaan', + 'Alat Kelengkapan Perubatan', + 'Alat Keselamatan, Perlindungan Dan Kawalan Perlindungan Dan Kawalan', + 'Alat Muzik Dan Aksesori', + 'Alat Muzik, Kesenian dan Aksesori', + 'Alat Penghasil Nyalaan', + 'Alat penyelamat', + 'Alat Penyimpan Tenaga Dan Aksesori', + 'Alat Perhubungan', + 'Alat Semboyan', + 'Alat-Alat Marin', + 'Alatganti Dan Kelengkapan Pesawat', + 'Alatulis', + 'Animation', + 'Anti Kakis', + 'Artis Dan Penghibur Profesional', + 'Audio Visual', + 'Bagasi Dan Beg dari kulit', + 'Bahan Api Nuklear', + 'Bahan Bacaan', + 'Bahan Bacaan Terbitan Luar Negara', + 'Bahan Bakar', + 'Bahan Binaan', + 'Bahan dan Peralatan Solekan dan Andaman', + 'Bahan Letupan', + 'Bahan Peledak', + 'Bahan Pelincir', + 'Bahan pembungkusan', + 'Bahan Pencuci Dan Pembersihan', + 'Bahan Pendidikan', + 'Bahan Penerbitan Elektronik Dan Muzik', + 'Bahan Surih, Drafting Dan Alat Lukis', + 'Bahan Tambah', + 'Bahan Tarpaulin Dan Kanvas', + 'Baik Pulih Kasut Dan Barangan Kulit', + 'Baikpulih Barang-Barang Logam', + 'Baja Dan Nutrien Tumbuhan', + 'Baka', + 'Bangunan', + 'Bantuan Kecemasan DanAmbulan', + 'Bantuan Kemanusiaan', + 'Barangan Hiasan Dalaman Dan Aksesori', + 'Barangan PVC', + 'Barge', + 'Bas', + 'Basah', + 'Basikal', + 'Bekalan Pejabat Dan Alatulis', + 'Bekas', + 'Belon Panas', + 'Benih Semaian', + 'Bill Board', + 'Bioteknologi', + 'Bot', + 'Bot Malim', + 'Bot Tunda', + 'Brangan Logam', + 'Broker Insuran', + 'Broker Perkapalan', + 'Bunga Api Dan Mercun', + 'Butang Dan Bekalan Jahitan', + 'Cat', + 'Cenderamata Dan Hadiah', + 'Cetakan Hologram', + 'Cetakan Keselamatan', + 'Chalet', + 'Cloud Seeding', + 'Complete Rounds', + 'Customization and maintenance including data', + 'Dadah Berjadual', + 'Dan Aksesori', + 'Darat', + 'Dasar Dan Peraturan', + 'Data management –Provide services including Disaster', + 'Dll', + 'DNA', + 'Dobi', + 'Dokumentasi Dan Panduarah', + 'Elektronik', + 'Empangan', + 'Enjin Kenderaan', + 'Enjin, Komponen Enjin Dan Aksesori', + 'Entry, data processing', + 'Fabrik', + 'Faksimili', + 'Feri', + 'Filem dan Mikrofilem', + 'Filem Siap Untuk Tayangan', + 'Fotografi', + 'Gas', + 'Gas Turbine', + 'Geographic Information System', + 'Geologi', + 'Graphic Design', + 'Habitat Dan Tempat Kurungan Haiwan', + 'Haiwan Ternakan, Bukan Ternakan dan Akuatik', + 'Hak Harta Intelek', + 'Hardware', + 'Hardware', + 'Hardware and Software leasing', + 'Hasil Sampingan Dan Sisa Perladangan', + 'Helikopter', + 'Hiasan Dalaman', + 'Hiasan Jalan', + 'Hidrografi', + 'Homestay', + 'Hortikultur', + 'Hotel', + 'Hubungan Antarabangsa', + 'Hutan Dan Ladang Hutan', + 'ICT security and firewall, Encryption, PKI, Anti Virus', + 'Industri', + 'Infrastructure', + 'Internet', + 'Jentera', + 'Jentera Berat', + 'Jentera Berat', + 'Jet Ski', + 'Kabel Elektrik Dan Aksesori', + 'Kain', + 'Kajian Telekomunikasi', + 'Kakitangan Iktisas', + 'Kakitangan Separa Iktisas', + 'Kamera dan Aksesori', + 'Kanvas', + 'Kapal', + 'Kapal Angkasa Dan Alatganti', + 'Kapal Laut', + 'Kapal Selam', + 'Kapal Selam', + 'Kapal Terbang', + 'Kawalan Keselamatan', + 'Kawalan Serangga Perosak, Anti Termite', + 'Kawasan', + 'Kayu', + 'Kediaman', + 'Kelengkapan', + 'Kelengkapan Dan Aksesori', + 'Kelengkapan Hospital Dan Makmal', + 'Kelengkapan Pakaian', + 'Kelengkapan Sasaran', + 'Kemudahan Awam', + 'Kemudahan Awam', + 'Kenderaan', + 'Kenderaan Bawah 3 Ton', + 'Kenderaan Ber Rel Dan kereta Kabel', + 'Kenderaan Jenazah', + 'Kenderaan Kegunaan Khusus', + 'Kenderaan Kegunaan Khusus', + 'Kenderaan Melebihi 3Ton', + 'Kenderaan Rekreasi', + 'Kenderaan Udara', + 'Kereta', + 'Kerja Pembaikan Kapal Angkasa', + 'Kerja-Kerja Khusus', + 'Kerja-kerja Mengetuk dan Mengecat', + 'Kerja-Kerja Pembaikan Kenderaan Ber Rel Dan Kereta Kabel', + 'Kerja-Kerja Penyelenggaraan Sistem Kenderaan', + 'Kertas', + 'Kertas Komputer', + 'Khidmat Guaman', + 'Khidmat Latihan, Tenaga Pengajar dan Moderator', + 'Khidmat Udara', + 'Kit Pendidikan', + 'Kodifikasi', + 'Kolam Kumbahan', + 'Komponen Dan Aksesori Elektrik', + 'Komponen Enjin Pembakaran Dalaman', + 'Kontena', + 'Kotak', + 'Kren', + 'Kunci, Perkakasan Perlindungan Dan Aksesori', + 'Kusyen dan Bumbung', + 'Label', + 'Ladang', + 'Lagu', + 'Lain-lain Media Pengiklanan', + 'Laminating', + 'Lampu, Komponen Lampu Dan Aksesori', + 'Laut', + 'Lesen', + 'LIDAR', + 'Lilin', + 'Logam', + 'Lokomotif Dan Troli Elektrik', + 'Lori', + 'Maintenance', + 'Makanan', + 'Makanan Bermasak', + 'Makanan Bermasak', + 'Makanan Dan Bahan Mentah Kering', + 'Makanan dan Minuman', + 'Makanan Haiwan', + 'Makmal', + 'Malim Kapal', + 'Marker', + 'Mechanisation System', + 'Media Cetak', + 'Media Elektronik', + 'Medium Penyimpanan', + 'Membaik Pulih Bateri', + 'Membaik Pulih Tayar', + 'Membaik Pulih TempatDuduk', + 'Membaiki Buff Fuel Tank', + 'Membaikpulih BahanTerbitan Dan Manuskrip', + 'Membekal Air', + 'Membeli Barang Lusuh Perlu Permit', + 'Membeli Barang Lusuh Tanpa Permit', + 'Membersih Kawasan', + 'Membersih Kenderaan', + 'Membersih Pantai', + 'Memproses Air', + 'Memproses Filem', + 'Menangkap', + 'Mencetak Borang', + 'Mencetak Buku, Majalah, Laporan Akhbar', + 'Mencetak Continuous Stationery Forms', + 'Mencetak Fail, Kad Perniagaan Dan Kad Ucapan', + 'Mencetak Label, Poster dan Pelekat', + 'Mencetak Label, Poster, Pelekat dan Iron On', + 'Mencuci Kolam Renang', + 'Menembak Haiwan', + 'Mengangkat Sampah', + 'Mengangkut Mayat', + 'Mengikat Dan Melepas Tali Kapal', + 'Menjahit Bukan Pakaian', + 'Menjahit Pakaian Dan Kelengkapan', + 'Menjilid Kulit Keras', + 'Menjilid Kulit Lembut', + 'Menyelam', + 'Mereka-Cipta Dan Seni Halus', + 'Mesin Dan Kelengkapan Bengkel', + 'Mesin dan Kelengkapan Khusus', + 'Mesin dan peralatan makmal', + 'Mesin dan Peralatan Pejabat', + 'Mesin dan Peralatan Woksyop', + 'Mesin Pengimbas', + 'Mesin-Mesin Pejabat', + 'Mesin-Mesin Pejabat Dan Aksesori', + 'Minuman Tambahan', + 'Motel', + 'Motor Dan Alat Ubah', + 'Motosikal', + 'Multimedia-products services and maintenance', + 'Multimodal Transport Operator', + 'Negotiator', + 'Networking-supply', + 'Nylon', + 'Oceanografi', + 'P.A Sistem Dan Alat Muzik', + 'Paip Air Dan Komponen', + 'Paip Dan Kelengkapan', + 'Pakaian', + 'Pakaian Keselamatan, Kelengkapan Dan Aksesori', + 'Pakaian Sukan Dan Aksesori', + 'Palet', + 'Pameran pertunjukan, taman hiburan dan karnival', + 'Papan Tanda dan Aksesori', + 'Pejabat', + 'Pekakas Perubatan Pakai Buang', + 'Pelancar Misil Dan Roket', + 'Pelupusan Dan Perawatan Sisa berbahaya', + 'Pelupusan Dan Perawatan Sisa tidak berbahaya', + 'Pelupusan dan Rawatan Sisa Radio Aktif dan Nuklear', + 'Peluru Berpandu', + 'Peluru Dan Bom', + 'Pemadam Api', + 'Pembaikan Alat Keselamatan', + 'Pembaikan Kenderaan Yang Tidak Berenjin', + 'Pembajaan', + 'Pembersihan Bangunan Dan Pejabat', + 'Pembersihan Tumpahan Minyak', + 'Pembuat', + 'Pembuat', + 'Pembuat Keselamatan', + 'Pembungkusan', + 'Pembungkusan Dan Penyimpanan', + 'Pemeliharaan Bahan Bahan Sejarah Dan Tempat Bersejarah', + 'Pemetaan', + 'Pemetaan Utiliti Bawah Tanah', + 'Pemilik Kapal', + 'Pemungut Hutang', + 'Pencahayaan', + 'Pencelup', + 'Pencucuh', + 'Penerbitan Elektronik Atas Talian', + 'Pengangkutan Lori', + 'Pengatur Huruf', + 'Pengeluaran Filem', + 'Pengenalan Dan Pas Keselamatan Bersalut', + 'Penghantar Notis', + 'Penghantaran Dokumen', + 'Pengkomersilan', + 'Pengurusan Jenazah Dan Kelengkapan', + 'Pengurusan Kewangan Dan Korporat', + 'Pengurusan Pelabuhan', + 'Penjana Kuasa', + 'Pensijilan dan Pengiktirafan', + 'Penterjemahan', + 'Penulisan – Semua Jenis Penulisan', + 'Penyediaan Akaun dan Pengauditan', + 'Penyediaan Pentas', + 'Penyelenggaraan', + 'Penyelenggaraan Kapal Terbang', + 'Penyelenggaraan Misil', + 'Penyelenggaraan Simulator Helikopter', + 'Penyelenggaraan Simulator Kapal', + 'Penyelenggaraan Simulator Kapal Terbang', + 'PenyelenggaraanHelikopter', + 'Penyelenggaran Dan Pembaikan Senjata', + 'Penyiaran', + 'Penyiasat Persendirian', + 'Penyimpanan Rekod', + 'Perabot', + 'Perabot Jalan Raya', + 'Perabot Pejabat', + 'Perabot, Perabot Makmal dan Kelengkapan Berasaskan', + 'Peralatan', + 'Peralatan Dan Kelengkapan Hospital', + 'Peralatan Dan Kelengkapan Pertanian', + 'Peralatan Dan Kelengkapan Perubatan', + 'Peralatan Dan Perkakas Domestik', + 'Peralatan Kawalan Api', + 'Peralatan Kawalan Keselamatan', + 'Peralatan Keselamatan', + 'Peralatan Keselamatan dan Senjata', + 'Peralatan Makmal Pengukuran, Pencerapan Dan Sukat', + 'Peralatan Makmal serta Aksesori', + 'Peralatan Marin', + 'Peralatan Memancing', + 'Peralatan Memburu', + 'Peralatan Pemantauan Dan Pengesanan', + 'Peralatan Pemprosesan Fotografi, Mikrofilem', + 'Peralatan Pengawalan Perosak Tanaman', + 'Peralatan Percetakan Serta Aksesori', + 'Peralatan Perindustrian Hiliran', + 'Peralatan Perindustrian Huluan', + 'Peralatan Perkhemahan Dan Aktiviti Luar', + 'Peralatan Servis Dan Selenggara', + 'Peralatan Sistem Bunyi, Pembesar Suara dan Projektor', + 'Peralatan Sistem Kumbahan Dan Aksesori', + 'Peralatan Sukan', + 'Peralatan Untuk Orang Kurang Upaya Dan Pemulihan', + 'Perhubungan', + 'Perikanan Dan Akuakultur', + 'Perkakas', + 'Perkakas Elektrik Dan Aksesori', + 'Perkakas Elektronik Dan Aksesori', + 'Perkakasan Dan Bahan Kebersihan Diri Dan Mandian, Kelengkapan Bilik Air', + 'Perkakasan Penyuntingan', + 'Perkhidmatan Fotostat', + 'Perkhidmatan Mel Pukal', + 'Permainan', + 'Perosak, Rumpai', + 'Persembahan', + 'Pertanian', + 'Perundingan', + 'Pesakit', + 'Pesawat', + 'Pesawat Udara', + 'Pest Control', + 'Pestaria', + 'Pewarna', + 'Pisah Warna', + 'Plastik', + 'Plastik', + 'Printers, storage area network', + 'Production Testing, Surface Well Testing and Wire Line Services', + 'Pump', + 'Pusat Latihan', + 'Pvc', + 'Racun Berjadual', + 'Racun Serangga', + 'Radar Dan Alatganti', + 'Rakaman', + 'Rawatan Hutan', + 'Reaktor dan Instrumen Nuklear', + 'Rekabentuk Percetakan', + 'Renting', + 'Resort', + 'Roket Dan Sub Sistem, Pelancar', + 'Rotan', + 'Ruang Niaga', + 'Rumah Kediaman', + 'Rumah Tumpangan', + 'Salvage Boat', + 'Sampan', + 'Sampel dan Sampel Awetan Haiwan', + 'Sand Blasting Dan Mengecat Untuk Kapal', + 'Satelit', + 'Satelit Dan Alatganti', + 'Semua Peralatan Sukatan', + 'Senjata Api', + 'Serangga', + 'Sesalur', + 'Shelf packages including maintenance', + 'Ship Chandling', + 'Ship Trimming', + 'Simulator', + 'Simulator Bot', + 'Simulator serta lain-lain', + 'Sisa Perawatan', + 'Sistem Elektrik', + 'Sistem Elektronik', + 'Sistem Pencegah Kebakaran', + 'Sistem Perhubungan', + 'Sistem, Peralatan, Alat Ganti Keretapi Dan Aksesori', + 'Software', + 'Solekan', + 'Split', + 'Stesen Janakuasa, Peralatan', + 'Stevedor', + 'Stor', + 'Sub Sistem Roket', + 'Sukan', + 'Sumber Air', + 'Sungai', + 'Syarikat Insuran', + 'Syarikat pelelong awam', + 'System development', + 'Tag', + 'Talian Paip', + 'Taman', + 'Tanaman', + 'Tanda Dan Stiker', + 'Tangki', + 'Tasik', + 'Tatahias Haiwan', + 'Teknologi Hijau', + 'Teknologi Maklumat Dan Komunikasi', + 'Tekstil', + 'Tekstil Guna Semula Kakitangan', + 'Tekstil Pakai Buang Kakitangan', + 'Telecommunication', + 'Telekomunikasi', + 'Telly Clerk', + 'Tempat Letak Kereta', + 'Tenaga Buruh', + 'Ternakan', + 'Terusan', + 'Topografi', + 'Trailer Dan Aksesori', + 'Tukun Tiruan', + 'Tumbuhan', + 'Ubat Haiwan', + 'Ubat Tidak Berjadual', + 'Ujian Makmal', + 'Ukuran', + 'Varnishing', + 'WAN', + 'Wayar Elektrik Dan Aksesori', + 'Wireless', + ]; - /** - * Return a random company name - * - * @example 'AirAsia' - */ - public static function companyName() - { - return static::randomElement(static::$companies); - } + /** + * Return a random company name + * + * @example 'AirAsia' + */ + public static function companyName() { + return static::randomElement( static::$companies ); + } - /** - * Return a random industry - * - * @example 'Automobil' - */ - public static function industry() - { - return static::randomElement(static::$industry); - } + /** + * Return a random industry + * + * @example 'Automobil' + */ + public static function industry() { + return static::randomElement( static::$industry ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Miscellaneous.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Miscellaneous.php index 3619ce1..d76e137 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Miscellaneous.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Miscellaneous.php @@ -2,168 +2,244 @@ namespace Faker\Provider\ms_MY; -class Miscellaneous extends \Faker\Provider\Miscellaneous -{ - /** - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia - */ - protected static $jpjNumberPlateFormats = [ - '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', - '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', - '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', - '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', - 'W{{validAlphabet}}{{validAlphabet}} {{numberSequence}} {{validAlphabet}}', - 'KV {{numberSequence}} {{validAlphabet}}', - '{{sarawakPrefix}} {{numberSequence}} {{validAlphabet}}', - '{{sabahPrefix}} {{numberSequence}} {{validAlphabet}}', - '{{specialPrefix}} {{numberSequence}}', - ]; +class Miscellaneous extends \Faker\Provider\Miscellaneous { + /** + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia + */ + protected static $jpjNumberPlateFormats = [ + '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', + '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', + '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', + '{{peninsularPrefix}}{{validAlphabet}}{{validAlphabet}} {{numberSequence}}', + 'W{{validAlphabet}}{{validAlphabet}} {{numberSequence}} {{validAlphabet}}', + 'KV {{numberSequence}} {{validAlphabet}}', + '{{sarawakPrefix}} {{numberSequence}} {{validAlphabet}}', + '{{sabahPrefix}} {{numberSequence}} {{validAlphabet}}', + '{{specialPrefix}} {{numberSequence}}', + ]; - /** - * Some alphabet has higher frequency that coincides with the current number - * of registrations. E.g. W = Wilayah Persekutuan - * - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format - */ - protected static $peninsularPrefix = [ - 'A', 'A', 'B', 'C', 'D', 'F', 'J', 'J', 'K', 'M', 'N', 'P', 'P', 'R', 'T', 'V', - 'W', 'W', 'W', 'W', 'W', 'W', - ]; + /** + * Some alphabet has higher frequency that coincides with the current number + * of registrations. E.g. W = Wilayah Persekutuan + * + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format + */ + protected static $peninsularPrefix = [ + 'A', + 'A', + 'B', + 'C', + 'D', + 'F', + 'J', + 'J', + 'K', + 'M', + 'N', + 'P', + 'P', + 'R', + 'T', + 'V', + 'W', + 'W', + 'W', + 'W', + 'W', + 'W', + ]; - /** - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format_2 - */ - protected static $sarawakPrefix = [ - 'QA', 'QK', 'QB', 'QC', 'QL', 'QM', 'QP', 'QR', 'QS', 'QT', - ]; + /** + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format_2 + */ + protected static $sarawakPrefix = [ + 'QA', + 'QK', + 'QB', + 'QC', + 'QL', + 'QM', + 'QP', + 'QR', + 'QS', + 'QT', + ]; - /** - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format_3 - */ - protected static $sabahPrefix = [ - 'SA', 'SAA', 'SAB', 'SAC', 'SB', 'SD', 'SG', - 'SK', 'SL', 'SS', 'SSA', 'ST', 'STA', 'SU', - ]; + /** + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format_3 + */ + protected static $sabahPrefix = [ + 'SA', + 'SAA', + 'SAB', + 'SAC', + 'SB', + 'SD', + 'SG', + 'SK', + 'SL', + 'SS', + 'SSA', + 'ST', + 'STA', + 'SU', + ]; - /** - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Commemorative_plates - */ - protected static $specialPrefix = [ - '1M4U', - 'A1M', - 'BAMbee', - 'Chancellor', - 'G', 'G1M', 'GP', 'GT', - 'Jaguh', - 'K1M', 'KRISS', - 'LOTUS', - 'NAAM', 'NAZA', 'NBOS', - 'PATRIOT', 'Perdana', 'PERFECT', 'Perodua', 'Persona', 'Proton', 'Putra', 'PUTRAJAYA', - 'RIMAU', - 'SAM', 'SAS', 'Satria', 'SMS', 'SUKOM', - 'T1M', 'Tiara', 'TTB', - 'U', 'US', - 'VIP', - 'WAJA', - 'XIIINAM', 'XOIC', 'XXVIASEAN', 'XXXIDB', - 'Y', - ]; + /** + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Commemorative_plates + */ + protected static $specialPrefix = [ + '1M4U', + 'A1M', + 'BAMbee', + 'Chancellor', + 'G', + 'G1M', + 'GP', + 'GT', + 'Jaguh', + 'K1M', + 'KRISS', + 'LOTUS', + 'NAAM', + 'NAZA', + 'NBOS', + 'PATRIOT', + 'Perdana', + 'PERFECT', + 'Perodua', + 'Persona', + 'Proton', + 'Putra', + 'PUTRAJAYA', + 'RIMAU', + 'SAM', + 'SAS', + 'Satria', + 'SMS', + 'SUKOM', + 'T1M', + 'Tiara', + 'TTB', + 'U', + 'US', + 'VIP', + 'WAJA', + 'XIIINAM', + 'XOIC', + 'XXVIASEAN', + 'XXXIDB', + 'Y', + ]; - /** - * Chances of having an empty alphabet will be 1/24 - * - * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format - */ - protected static $validAlphabets = [ - 'A', 'B', 'C', 'D', 'E', 'F', - 'G', 'H', 'J', 'K', 'L', 'M', - 'N', 'P', 'Q', 'R', 'S', 'T', - 'U', 'V', 'W', 'X', 'Y', '', - ]; + /** + * Chances of having an empty alphabet will be 1/24 + * + * @see https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Malaysia#Current_format + */ + protected static $validAlphabets = [ + 'A', + 'B', + 'C', + 'D', + 'E', + 'F', + 'G', + 'H', + 'J', + 'K', + 'L', + 'M', + 'N', + 'P', + 'Q', + 'R', + 'S', + 'T', + 'U', + 'V', + 'W', + 'X', + 'Y', + '', + ]; - /** - * Return a valid Malaysia JPJ(Road Transport Department) vehicle licence plate number - * - * @example 'WKN 2368' - * - * @return string - */ - public function jpjNumberPlate() - { - $formats = static::toUpper(static::lexify(static::bothify(static::randomElement(static::$jpjNumberPlateFormats)))); + /** + * Return a valid Malaysia JPJ(Road Transport Department) vehicle licence plate number + * + * @return string + * @example 'WKN 2368' + * + */ + public function jpjNumberPlate() { + $formats = static::toUpper( static::lexify( static::bothify( static::randomElement( static::$jpjNumberPlateFormats ) ) ) ); - return $this->generator->parse($formats); - } + return $this->generator->parse( $formats ); + } - /** - * Return Peninsular prefix alphabet - * - * @example 'W' - * - * @return string - */ - public static function peninsularPrefix() - { - return static::randomElement(static::$peninsularPrefix); - } + /** + * Return Peninsular prefix alphabet + * + * @return string + * @example 'W' + * + */ + public static function peninsularPrefix() { + return static::randomElement( static::$peninsularPrefix ); + } - /** - * Return Sarawak state prefix alphabet - * - * @example 'QA' - * - * @return string - */ - public static function sarawakPrefix() - { - return static::randomElement(static::$sarawakPrefix); - } + /** + * Return Sarawak state prefix alphabet + * + * @return string + * @example 'QA' + * + */ + public static function sarawakPrefix() { + return static::randomElement( static::$sarawakPrefix ); + } - /** - * Return Sabah state prefix alphabet - * - * @example 'SA' - * - * @return string - */ - public static function sabahPrefix() - { - return static::randomElement(static::$sabahPrefix); - } + /** + * Return Sabah state prefix alphabet + * + * @return string + * @example 'SA' + * + */ + public static function sabahPrefix() { + return static::randomElement( static::$sabahPrefix ); + } - /** - * Return specialty licence plate prefix - * - * @example 'G1M' - * - * @return string - */ - public static function specialPrefix() - { - return static::randomElement(static::$specialPrefix); - } + /** + * Return specialty licence plate prefix + * + * @return string + * @example 'G1M' + * + */ + public static function specialPrefix() { + return static::randomElement( static::$specialPrefix ); + } - /** - * Return a valid license plate alphabet - * - * @example 'A' - * - * @return string - */ - public static function validAlphabet() - { - return static::randomElement(static::$validAlphabets); - } + /** + * Return a valid license plate alphabet + * + * @return string + * @example 'A' + * + */ + public static function validAlphabet() { + return static::randomElement( static::$validAlphabets ); + } - /** - * Return a valid number sequence between 1 and 9999 - * - * @example '1234' - * - * @return int - */ - public static function numberSequence() - { - return self::numberBetween(1, 9999); - } + /** + * Return a valid number sequence between 1 and 9999 + * + * @return int + * @example '1234' + * + */ + public static function numberSequence() { + return self::numberBetween( 1, 9999 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Payment.php index b64c2bb..3cb9efb 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Payment.php @@ -2,243 +2,310 @@ namespace Faker\Provider\ms_MY; -class Payment extends \Faker\Provider\Payment -{ - protected static $bankFormats = [ - '{{localBank}}', - '{{foreignBank}}', - '{{governmentBank}}', - ]; - - /** - * @see http://www.muamalat.com.my/consumer-banking/internet-banking/popup-ibg.html - */ - protected static $bankAccountNumberFormats = [ - '##########', - '###########', - '############', - '#############', - '##############', - '###############', - '################', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia - */ - protected static $localBanks = [ - 'Affin Bank', - 'Alliance Bank', - 'AmBank', - 'CIMB Bank', - 'Hong Leong Bank ', - 'Maybank', - 'Public Bank', - 'RHB Bank', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#List_of_foreign_banks_(commercial) - */ - protected static $foreignBanks = [ - 'Bangkok Bank Berhad', - 'Bank of America Malaysia Berhad', - 'Bank of China (Malaysia) Berhad', - 'Bank of Tokyo-Mitsubishi UFJ (Malaysia) Berhad', - 'BNP Paribas Malaysia Berhad', - 'China Construction Bank', - 'Citibank Berhad', - 'Deutsche Bank (Malaysia) Berhad', - 'HSBC Bank Malaysia Berhad', - 'India International Bank (Malaysia) Berhad', - 'Industrial and Commercial Bank of China (Malaysia) Berhad', - 'J.P. Morgan Chase Bank Berhad', - 'Mizuho Bank (Malaysia) Berhad', - 'National Bank of Abu Dhabi Malaysia Berhad', - 'OCBC Bank (Malaysia) Berhad', - 'Standard Chartered Bank Malaysia Berhad', - 'Sumitomo Mitsui Banking Corporation Malaysia Berhad', - 'The Bank of Nova Scotia Berhad', - 'United Overseas Bank (Malaysia) Bhd.', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Development_Financial_Institutions_(Government-owned_banks)_(full_list) - */ - protected static $governmentBanks = [ - 'Agro Bank Malaysia', - 'Bank Pembangunan Malaysia Berhad (BPMB) (The development bank of Malaysia)', - 'Bank Rakyat', - 'Bank Simpanan Nasional', - 'Credit Guarantee Corporation Malaysia Berhad (CGC)', - 'Export-Import Bank of Malaysia Berhad (Exim Bank)', - 'Malaysia Debt Ventures Berhad', - 'Malaysian Industrial Development Finance Berhad (MIDF)', - 'SME Bank Berhad', - 'Sabah Development Bank Berhad (SDB)', - 'Sabah Credit Corporation (SCC)', - 'Tabung Haji', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Investment-Link_Funds_(Insurance_Companies_-_Takaful_included) - */ - protected static $insuranceCompanies = [ - 'AIA Malaysia', - 'AIG Malaysia', - 'Allianz Malaysia', - 'AXA AFFIN Life Insurance', - 'Berjaya General Insurance', - 'Etiqa Insurance', - 'Great Eastern Insurance', - 'Hong Leong Assurance', - 'Kurnia Insurans Malaysia', - 'Manulife Malaysia Insurance', - 'MSIG Malaysia', - 'Prudential Malaysia', - 'Tokio Marine Life Malaysia Insurance', - 'UNI.ASIA General Insurance', - 'Zurich Insurance Malaysia', - ]; - - /** - * @see http://www.bankswiftcode.org/malaysia/ - */ - protected static $swiftCodes = [ - 'ABNAMY2AXXX', 'ABNAMYKLPNG', 'ABNAMYKLXXX', 'AFBQMYKLXXX', 'AIBBMYKLXXX', - 'AISLMYKLXXX', 'AMMBMYKLXXX', 'ARBKMYKLXXX', - 'BIMBMYKLXXX', 'BISLMYKAXXX', 'BKCHMYKLXXX', 'BKKBMYKLXXX', 'BMMBMYKLXXX', - 'BNMAMYKLXXX', 'BNPAMYKAXXX', 'BOFAMY2XLBN', 'BOFAMY2XXXX', 'BOTKMYKAXXX', - 'BOTKMYKXXXX', - 'CHASMYKXKEY', 'CHASMYKXXXX', 'CIBBMYKAXXX', 'CIBBMYKLXXX', 'CITIMYKLJOD', - 'CITIMYKLLAB', 'CITIMYKLPEN', 'CITIMYKLXXX', 'COIMMYKLXXX', 'CTBBMYKLXXX', - 'DABEMYKLXXX', 'DBSSMY2AXXX', 'DEUTMYKLBLB', 'DEUTMYKLGMO', 'DEUTMYKLISB', - 'DEUTMYKLXXX', - 'EIBBMYKLXXX', 'EOBBMYKLXXX', 'EXMBMYKLXXX', - 'FEEBMYKAXXX', - 'HBMBMYKLXXX', 'HDSBMY2PSEL', 'HDSBMY2PXXX', 'HLBBMYKLIBU', 'HLBBMYKLJBU', - 'HLBBMYKLKCH', 'HLBBMYKLPNG', 'HLBBMYKLXXX', 'HLIBMYKLXXX', 'HMABMYKLXXX', - 'HSBCMYKAXXX', 'HSTMMYKLGWS', 'HSTMMYKLXXX', - 'KAFBMYKLXXX', 'KFHOMYKLXXX', - 'MBBEMYKAXXX', 'MBBEMYKLBAN', 'MBBEMYKLBBG', 'MBBEMYKLBWC', 'MBBEMYKLCSD', - 'MBBEMYKLIPH', 'MBBEMYKLJOB', 'MBBEMYKLKEP', 'MBBEMYKLKIN', 'MBBEMYKLKLC', - 'MBBEMYKLMAL', 'MBBEMYKLPEN', 'MBBEMYKLPGC', 'MBBEMYKLPJC', 'MBBEMYKLPJY', - 'MBBEMYKLPKG', 'MBBEMYKLPSG', 'MBBEMYKLPUD', 'MBBEMYKLSAC', 'MBBEMYKLSBN', - 'MBBEMYKLSHA', 'MBBEMYKLSUB', 'MBBEMYKLWSD', 'MBBEMYKLXXX', 'MBBEMYKLYSL', - 'MFBBMYKLXXX', 'MHCBMYKAXXX', - 'NOSCMY2LXXX', 'NOSCMYKLXXX', - 'OABBMYKLXXX', 'OCBCMYKLXXX', 'OSKIMYKLXXX', - 'PBBEMYKLXXX', 'PBLLMYKAXXX', 'PCGLMYKLXXX', 'PERMMYKLXXX', 'PHBMMYKLXXX', - 'PTRDMYKLXXX', 'PTROMYKLFSD', 'PTROMYKLXXX', - 'RHBAMYKLXXX', 'RHBBMYKAXXX', 'RHBBMYKLXXX', 'RJHIMYKLXXX', - 'SCBLMYKXLAB', 'SCBLMYKXXXX', 'SMBCMYKAXXX', - 'UIIBMYKLXXX', 'UOVBMYKLCND', 'UOVBMYKLXXX', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Malaysian_ringgit - */ - protected static $currencySymbol = [ - 'RM', - ]; - - /** - * Return a Malaysian Bank - * - * @example 'Maybank' - * - * @return string - */ - public function bank() - { - $formats = static::randomElement(static::$bankFormats); - - return $this->generator->parse($formats); - } - - /** - * Return a Malaysian Bank account number - * - * @example '1234567890123456' - * - * @return string - */ - public function bankAccountNumber() - { - $formats = static::randomElement(static::$bankAccountNumberFormats); - - return static::numerify($formats); - } - - /** - * Return a Malaysian Local Bank - * - * @example 'Public Bank' - * - * @return string - */ - public static function localBank() - { - return static::randomElement(static::$localBanks); - } - - /** - * Return a Malaysian Foreign Bank - * - * @example 'Citibank Berhad' - * - * @return string - */ - public static function foreignBank() - { - return static::randomElement(static::$foreignBanks); - } - - /** - * Return a Malaysian Government Bank - * - * @example 'Bank Simpanan Nasional' - * - * @return string - */ - public static function governmentBank() - { - return static::randomElement(static::$governmentBanks); - } - - /** - * Return a Malaysian insurance company - * - * @example 'AIA Malaysia' - * - * @return string - */ - public static function insurance() - { - return static::randomElement(static::$insuranceCompanies); - } - - /** - * Return a Malaysian Bank SWIFT Code - * - * @example 'MBBEMYKLXXX' - * - * @return string - */ - public static function swiftCode() - { - return static::toUpper(static::lexify(static::randomElement(static::$swiftCodes))); - } - - /** - * Return the Malaysian currency symbol - * - * @example 'RM' - * - * @return string - */ - public static function currencySymbol() - { - return static::randomElement(static::$currencySymbol); - } +class Payment extends \Faker\Provider\Payment { + protected static $bankFormats = [ + '{{localBank}}', + '{{foreignBank}}', + '{{governmentBank}}', + ]; + + /** + * @see http://www.muamalat.com.my/consumer-banking/internet-banking/popup-ibg.html + */ + protected static $bankAccountNumberFormats = [ + '##########', + '###########', + '############', + '#############', + '##############', + '###############', + '################', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia + */ + protected static $localBanks = [ + 'Affin Bank', + 'Alliance Bank', + 'AmBank', + 'CIMB Bank', + 'Hong Leong Bank ', + 'Maybank', + 'Public Bank', + 'RHB Bank', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#List_of_foreign_banks_(commercial) + */ + protected static $foreignBanks = [ + 'Bangkok Bank Berhad', + 'Bank of America Malaysia Berhad', + 'Bank of China (Malaysia) Berhad', + 'Bank of Tokyo-Mitsubishi UFJ (Malaysia) Berhad', + 'BNP Paribas Malaysia Berhad', + 'China Construction Bank', + 'Citibank Berhad', + 'Deutsche Bank (Malaysia) Berhad', + 'HSBC Bank Malaysia Berhad', + 'India International Bank (Malaysia) Berhad', + 'Industrial and Commercial Bank of China (Malaysia) Berhad', + 'J.P. Morgan Chase Bank Berhad', + 'Mizuho Bank (Malaysia) Berhad', + 'National Bank of Abu Dhabi Malaysia Berhad', + 'OCBC Bank (Malaysia) Berhad', + 'Standard Chartered Bank Malaysia Berhad', + 'Sumitomo Mitsui Banking Corporation Malaysia Berhad', + 'The Bank of Nova Scotia Berhad', + 'United Overseas Bank (Malaysia) Bhd.', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Development_Financial_Institutions_(Government-owned_banks)_(full_list) + */ + protected static $governmentBanks = [ + 'Agro Bank Malaysia', + 'Bank Pembangunan Malaysia Berhad (BPMB) (The development bank of Malaysia)', + 'Bank Rakyat', + 'Bank Simpanan Nasional', + 'Credit Guarantee Corporation Malaysia Berhad (CGC)', + 'Export-Import Bank of Malaysia Berhad (Exim Bank)', + 'Malaysia Debt Ventures Berhad', + 'Malaysian Industrial Development Finance Berhad (MIDF)', + 'SME Bank Berhad', + 'Sabah Development Bank Berhad (SDB)', + 'Sabah Credit Corporation (SCC)', + 'Tabung Haji', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Malaysia#Investment-Link_Funds_(Insurance_Companies_-_Takaful_included) + */ + protected static $insuranceCompanies = [ + 'AIA Malaysia', + 'AIG Malaysia', + 'Allianz Malaysia', + 'AXA AFFIN Life Insurance', + 'Berjaya General Insurance', + 'Etiqa Insurance', + 'Great Eastern Insurance', + 'Hong Leong Assurance', + 'Kurnia Insurans Malaysia', + 'Manulife Malaysia Insurance', + 'MSIG Malaysia', + 'Prudential Malaysia', + 'Tokio Marine Life Malaysia Insurance', + 'UNI.ASIA General Insurance', + 'Zurich Insurance Malaysia', + ]; + + /** + * @see http://www.bankswiftcode.org/malaysia/ + */ + protected static $swiftCodes = [ + 'ABNAMY2AXXX', + 'ABNAMYKLPNG', + 'ABNAMYKLXXX', + 'AFBQMYKLXXX', + 'AIBBMYKLXXX', + 'AISLMYKLXXX', + 'AMMBMYKLXXX', + 'ARBKMYKLXXX', + 'BIMBMYKLXXX', + 'BISLMYKAXXX', + 'BKCHMYKLXXX', + 'BKKBMYKLXXX', + 'BMMBMYKLXXX', + 'BNMAMYKLXXX', + 'BNPAMYKAXXX', + 'BOFAMY2XLBN', + 'BOFAMY2XXXX', + 'BOTKMYKAXXX', + 'BOTKMYKXXXX', + 'CHASMYKXKEY', + 'CHASMYKXXXX', + 'CIBBMYKAXXX', + 'CIBBMYKLXXX', + 'CITIMYKLJOD', + 'CITIMYKLLAB', + 'CITIMYKLPEN', + 'CITIMYKLXXX', + 'COIMMYKLXXX', + 'CTBBMYKLXXX', + 'DABEMYKLXXX', + 'DBSSMY2AXXX', + 'DEUTMYKLBLB', + 'DEUTMYKLGMO', + 'DEUTMYKLISB', + 'DEUTMYKLXXX', + 'EIBBMYKLXXX', + 'EOBBMYKLXXX', + 'EXMBMYKLXXX', + 'FEEBMYKAXXX', + 'HBMBMYKLXXX', + 'HDSBMY2PSEL', + 'HDSBMY2PXXX', + 'HLBBMYKLIBU', + 'HLBBMYKLJBU', + 'HLBBMYKLKCH', + 'HLBBMYKLPNG', + 'HLBBMYKLXXX', + 'HLIBMYKLXXX', + 'HMABMYKLXXX', + 'HSBCMYKAXXX', + 'HSTMMYKLGWS', + 'HSTMMYKLXXX', + 'KAFBMYKLXXX', + 'KFHOMYKLXXX', + 'MBBEMYKAXXX', + 'MBBEMYKLBAN', + 'MBBEMYKLBBG', + 'MBBEMYKLBWC', + 'MBBEMYKLCSD', + 'MBBEMYKLIPH', + 'MBBEMYKLJOB', + 'MBBEMYKLKEP', + 'MBBEMYKLKIN', + 'MBBEMYKLKLC', + 'MBBEMYKLMAL', + 'MBBEMYKLPEN', + 'MBBEMYKLPGC', + 'MBBEMYKLPJC', + 'MBBEMYKLPJY', + 'MBBEMYKLPKG', + 'MBBEMYKLPSG', + 'MBBEMYKLPUD', + 'MBBEMYKLSAC', + 'MBBEMYKLSBN', + 'MBBEMYKLSHA', + 'MBBEMYKLSUB', + 'MBBEMYKLWSD', + 'MBBEMYKLXXX', + 'MBBEMYKLYSL', + 'MFBBMYKLXXX', + 'MHCBMYKAXXX', + 'NOSCMY2LXXX', + 'NOSCMYKLXXX', + 'OABBMYKLXXX', + 'OCBCMYKLXXX', + 'OSKIMYKLXXX', + 'PBBEMYKLXXX', + 'PBLLMYKAXXX', + 'PCGLMYKLXXX', + 'PERMMYKLXXX', + 'PHBMMYKLXXX', + 'PTRDMYKLXXX', + 'PTROMYKLFSD', + 'PTROMYKLXXX', + 'RHBAMYKLXXX', + 'RHBBMYKAXXX', + 'RHBBMYKLXXX', + 'RJHIMYKLXXX', + 'SCBLMYKXLAB', + 'SCBLMYKXXXX', + 'SMBCMYKAXXX', + 'UIIBMYKLXXX', + 'UOVBMYKLCND', + 'UOVBMYKLXXX', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Malaysian_ringgit + */ + protected static $currencySymbol = [ + 'RM', + ]; + + /** + * Return a Malaysian Bank + * + * @return string + * @example 'Maybank' + * + */ + public function bank() { + $formats = static::randomElement( static::$bankFormats ); + + return $this->generator->parse( $formats ); + } + + /** + * Return a Malaysian Bank account number + * + * @return string + * @example '1234567890123456' + * + */ + public function bankAccountNumber() { + $formats = static::randomElement( static::$bankAccountNumberFormats ); + + return static::numerify( $formats ); + } + + /** + * Return a Malaysian Local Bank + * + * @return string + * @example 'Public Bank' + * + */ + public static function localBank() { + return static::randomElement( static::$localBanks ); + } + + /** + * Return a Malaysian Foreign Bank + * + * @return string + * @example 'Citibank Berhad' + * + */ + public static function foreignBank() { + return static::randomElement( static::$foreignBanks ); + } + + /** + * Return a Malaysian Government Bank + * + * @return string + * @example 'Bank Simpanan Nasional' + * + */ + public static function governmentBank() { + return static::randomElement( static::$governmentBanks ); + } + + /** + * Return a Malaysian insurance company + * + * @return string + * @example 'AIA Malaysia' + * + */ + public static function insurance() { + return static::randomElement( static::$insuranceCompanies ); + } + + /** + * Return a Malaysian Bank SWIFT Code + * + * @return string + * @example 'MBBEMYKLXXX' + * + */ + public static function swiftCode() { + return static::toUpper( static::lexify( static::randomElement( static::$swiftCodes ) ) ); + } + + /** + * Return the Malaysian currency symbol + * + * @return string + * @example 'RM' + * + */ + public static function currencySymbol() { + return static::randomElement( static::$currencySymbol ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Person.php index 1cd011b..76cf234 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/Person.php @@ -4,808 +4,5727 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - protected static $firstNameFormat = [ - '{{firstNameMaleMalay}}', - '{{firstNameFemaleMalay}}', - '{{firstNameMaleChinese}}', - '{{firstNameFemaleChinese}}', - '{{firstNameMaleIndian}}', - '{{firstNameFemaleIndian}}', - '{{firstNameMaleChristian}}', - '{{firstNameFemaleChristian}}', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Malaysian_names - */ - protected static $maleNameFormats = [ - //Malay - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{lastNameMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}}', - '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{lastNameMalay}}', - //Chinese - '{{lastNameChinese}} {{firstNameMaleChinese}}', - '{{lastNameChinese}} {{firstNameMaleChinese}}', - '{{lastNameChinese}} {{firstNameMaleChinese}}', - '{{lastNameChinese}} {{firstNameMaleChinese}}', - '{{lastNameChinese}} {{firstNameMaleChinese}}', - '{{firstNameMaleChristian}} {{lastNameChinese}} {{firstNameMaleChinese}}', - //Indian - '{{initialIndian}} {{firstNameMaleIndian}}', - '{{initialIndian}} {{lastNameIndian}}', - '{{firstNameMaleIndian}} a/l {{firstNameMaleIndian}}', - '{{firstNameMaleIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', - '{{firstNameMaleIndian}} {{lastNameIndian}} a/l {{lastNameIndian}}', - '{{firstNameMaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', - '{{firstNameMaleIndian}} {{lastNameIndian}}', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Malaysian_names - */ - protected static $femaleNameFormats = [ - //Malay - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{lastNameMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}}', - '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{lastNameMalay}}', - //Chinese - '{{lastNameChinese}} {{firstNameFemaleChinese}}', - '{{lastNameChinese}} {{firstNameFemaleChinese}}', - '{{lastNameChinese}} {{firstNameFemaleChinese}}', - '{{lastNameChinese}} {{firstNameFemaleChinese}}', - '{{lastNameChinese}} {{firstNameFemaleChinese}}', - '{{firstNameFemaleChristian}} {{lastNameChinese}} {{firstNameFemaleChinese}}', - //Indian - '{{initialIndian}}{{firstNameFemaleIndian}}', - '{{initialIndian}}{{lastNameIndian}}', - '{{firstNameFemaleIndian}} a/l {{firstNameMaleIndian}}', - '{{firstNameFemaleIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', - '{{firstNameFemaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}}', - '{{firstNameFemaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', - '{{firstNameFemaleIndian}} {{lastNameIndian}}', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malay_people - * @see https://samttar.edu.my/senarai-nama-pelajar-2016/ - * @see http://smkspkl.edu.my/senarai-nama-pelajar - */ - protected static $firstNameMaleMalay = [ - 'A', 'A.r', 'A\'fif', 'A\'zizul', 'Ab', 'Abadi', 'Abas', 'Abd', 'Abd.', 'Abd.rahim', 'Abdel', 'Abdul', 'Abdull', 'Abdullah', 'Abdulloh', 'Abu', 'Adam', 'Adi', 'Adib', 'Adil', 'Adnan', 'Ady', 'Adzmin', 'Afandy', 'Afif', 'Afiq', 'Afza', 'Agus', 'Ahmad', 'Ahmat', 'Ahmed', 'Ahwali', 'Ahyer', 'Aidid', 'Aidil', 'Aiman', 'Aimman', 'Ainol', 'Ainuddin', 'Ainul', 'Aizad', 'Aizam', 'Aizat', 'Aizuddin', 'Ajis', 'Ajmal', 'Ajwad', 'Akhmal', 'Akid', 'Akif', 'Akmal', 'Al', 'Al-afnan', 'Al-muazrar', 'Alfian', 'Ali', 'Alias', 'Alif', 'Aliff', 'Alilah', 'Alin', 'Allif', 'Amaanullah', 'Amami', 'Aman', 'Amar', 'Ameershah', 'Amier', 'Amierul', 'Amil', 'Amin', 'Aminuddin', 'Amir', 'Amiruddin', 'Amirul', 'Ammar', 'Amran', 'Amri', 'Amru', 'Amrullah', 'Amsyar', 'Anas', 'Andri', 'Aniq', 'Anuar', 'Anuwar', 'Anwar', 'Aqeel', 'Aqif', 'Aqil', 'Arash', 'Arbani', 'Arefin', 'Arief', 'Arif', 'Arifen', 'Ariff', 'Ariffin', 'Arifin', 'Armi', 'Ashraf', 'Ashraff', 'Ashrof', 'Ashrul', 'Aslam', 'Asmawi', 'Asmin', 'Asmuri', 'Asraf', 'Asri', 'Asrialif', 'Asror', 'Asrul', 'Asymawi', 'Asyraaf', 'Asyraf', 'Atan', 'Athari', 'Awaludin', 'Awira', 'Azam', 'Azely', 'Azfar', 'Azhan', 'Azhar', 'Azhari', 'Azib', 'Azim', 'Aziz', 'Azizan', 'Azizul', 'Azizulhasni', 'Azlan', 'Azlee', 'Azli', 'Azman', 'Azmi', 'Azmie', 'Azmin', 'Aznan', 'Aznizam', 'Azraai', 'Azri', 'Azrie', 'Azrien', 'Azril', 'Azrin', 'Azrul', 'Azry', 'Azuan', - 'Badri', 'Badrullesham', 'Baharin', 'Baharuddin', 'Bahrul', 'Bakri', 'Basaruddin', 'Basiran', 'Basirin', 'Basri', 'Basyir', 'Bazli', 'Borhan', 'Buang', 'Budi', 'Bukhari', 'Bukharudin', 'Bustaman', 'Buyung', - 'Chailan', - 'Dahalan', 'Dailami', 'Dan', 'Danial', 'Danie', 'Daniel', 'Danien', 'Danish', 'Darimin', 'Darul', 'Darus', 'Darwisy', 'Dhiyaulhaq', 'Diah', 'Djuhandie', 'Dolbahrin', 'Dolkefli', 'Dzikri', 'Dzul', 'Dzulfahmi', 'Dzulfikri', 'Dzulkarnaen', - 'Eazriq', 'Effendi', 'Ehza', 'Eizkandar', 'Ekhsan', 'Elyas', 'Enidzullah', 'Ezam', 'Ezani', - 'Fadhil', 'Fadly', 'Fadzil', 'Fadziruddin', 'Fadzli', 'Fahmi', 'Faiq', 'Fairuz', 'Faisal', 'Faiz', 'Faizal', 'Faizurrahman', 'Fakhrul', 'Fakhrullah', 'Farham', 'Farhan', 'Farid', 'Faris', 'Farisan', 'Fariz', 'Fasil', 'Fateh', 'Fathi', 'Fathuddin', 'Fathul', 'Fauzan', 'Fauzi', 'Fauzul', 'Fawwaz', 'Fazal', 'Fazly', 'Fazreen', 'Fazril', 'Fendi', 'Fikri', 'Fikrie', 'Fikrul', 'Firdaus', 'Fithri', 'Fitiri', 'Fitri', 'Fuad', - 'Ghazali', - 'Habib', 'Haddad', 'Hadi', 'Hadif', 'Hadzir', 'Haffize', 'Haffizi', 'Hafidzuddin', 'Hafis', 'Hafiy', 'Hafiz', 'Hafizan', 'Hafizhan', 'Hafizi', 'Hafizsyakirin', 'Hafizuddin', 'Haikal', 'Haiqal', 'Hairol', 'Hairollkahar', 'Hairuddin', 'Hairul', 'Hairun', 'Haisyraf', 'Haizan', 'Hakeem', 'Hakim', 'Hakimi', 'Hakimie', 'Halidan', 'Haliem', 'Halim', 'Hamdani', 'Hamidoon', 'Hamizan', 'Hamka', 'Hamzah', 'Hanafi', 'Hanif', 'Hanit', 'Hannan', 'Haqeem', 'Haqimie', 'Harez', 'Haris', 'Harith', 'Hariz', 'Harmaini', 'Harraz', 'Harun', 'Hasan', 'Hashim', 'Hasif', 'Hasnul', 'Hasrin', 'Hasrol', 'Hassan', 'Hasyim', 'Haszlan', 'Hayani', 'Hazim', 'Haziq', 'Haziqh', 'Hazrie', 'Hazrul', 'Hazwan', 'Hazzam', 'Helmy', 'Hermansah', 'Hidayat', 'Hidayatullah', 'Hilmi', 'Hisam', 'Hisammudin', 'Hisyam', 'Hj', 'Hoirussalam', 'Humadu', 'Hurmin', 'Husain', 'Husaini', 'Husnul', 'Hussein', 'Hussin', 'Huzaifi', 'Huzaimi', 'Huzzaini', - 'Ibnu', 'Ibrahim', 'Idham', 'Idlan', 'Idris', 'Idrus', 'Idzwan', 'Ielman', 'Ighfar', 'Ihsan', 'Ikhmal', 'Ikhwan', 'Ikmal', 'Ilham', 'Ilhan', 'Illias', 'Ilman', 'Iman', 'Imran', 'Indra', 'Innamul', 'Iqbal', 'Iqwan', 'Iraman', 'Irfan', 'Irman', 'Irsyad', 'Isa', 'Ishak', 'Ishaq', 'Iskandar', 'Isma', 'Ismail', 'Ismaon', 'Isyraq', 'Iwan', 'Iyad', 'Izam', 'Izdihar', 'Izlan', 'Izuhail', 'Izwan', 'Izz', 'Izzan', 'Izzat', 'Izzikry', 'Izzuddin', 'Izzul', - 'Ja\'afer', 'Jaf', 'Jaferi', 'Jafree', 'Jafri', 'Jahari', 'Jalani', 'Jamal', 'Jamali', 'Jamalludin', 'Jamaluddin', 'Jamekon', 'Jamil', 'Jamsare', 'Jani', 'Jasin', 'Jasni', 'Jebat', 'Jefrie', 'Johari', 'Joharudin', 'Jumat', 'Junaidi', - 'Kamal', 'Kamaruddin', 'Kamarudin', 'Kamarul', 'Kamaruzain', 'Kamaruzaman', 'Kamaruzzaman', 'Kasim', 'Kasturi', 'Kemat', 'Khadzromi', 'Khairi', 'Khairil', 'Khairin', 'Khairiz', 'Khairol', 'Khairubi', 'Khairudin', 'Khairul', 'Khairulnizam', 'Khairun', 'Khairurrazi', 'Khalilul', 'Khasmadi', 'Khasri', 'Khatta', 'Khirul', 'Khoirul', 'Kholis', 'Khusaini', 'Khuzairey', 'Kutni', - 'Latiff', 'Lazim', 'Lokman', 'Loqman', 'Lufty', 'Lukman', 'Luqman', 'Luqmanul', 'Luthfi', 'Luthfie', - 'M.', 'Maamor', 'Madfaizal', 'Mahadhir', 'Mahatdir', 'Mahmusin', 'Mansor', 'Marlizam', 'Martonis', 'Mastura', 'Mat', 'Mazlan', 'Mazmin', 'Mazwan', 'Md', 'Md.', 'Megat', 'Meor', 'Midoon', 'Mie', 'Mikhail', 'Mirza', 'Misbun', 'Miskan', 'Misran', 'Miza', 'Mohlim', 'Mohmad', 'Mokhtar', 'Mokhzani', 'Moktar', 'Mu\'izzuddin', 'Muazzam', 'Mubarak', 'Muhaimen', 'Muhaimi', 'Muhammad', 'Muhd', 'Muid', 'Muizzuddin', 'Muizzudin', 'Mukhtar', 'Mukhriz', 'Mukminin', 'Murad', 'Murshid', 'Mus\'ab', 'Musa', 'Musiran', 'Muslim', 'Mustafa', 'Mustain', 'Mustaqim', 'Musyrif', 'Muszaphar', 'Muzami', 'Muzamil', 'Muzhafar', 'Muzzammil', - 'Na\'imullah', 'Nabil', 'Naderi', 'Nadzeri', 'Naim', 'Najhan', 'Najib', 'Najmi', 'Nakimie', 'Naqib', 'Naqiuddin', 'Narul', 'Nasaruddin', 'Nashrul', 'Nasimuddin', 'Nasir', 'Nasiruddin', 'Nasri', 'Nasrizal', 'Nasruddin', 'Nasrul', 'Nasrullah', 'Naufal', 'Nawawi', 'Nazari', 'Nazaruddin', 'Nazarul', 'Nazeem', 'Nazeri', 'Nazhan', 'Nazim', 'Nazlan', 'Nazmi', 'Nazren', 'Nazri', 'Nazril', 'Nazrin', 'Nazrul', 'Nazzab', 'Ngadinin', 'Ngasiman', 'Ngatri', 'Nik', 'Nizam', 'Nizan', 'Nizar', 'Noor', 'Noordin', 'Noorizman', 'Nor', 'Norain', 'Norazman', 'Norazmi', 'Nordanish', 'Nordiarman', 'Nordin', 'Norfadli', 'Norfahmi', 'Norhakim', 'Norhan', 'Norhisham', 'Norsilan', 'Nur', 'Nur\'irfaan', 'Nurakmal', 'Nurhanafi', 'Nurhazrul', 'Nurul', 'Nuwair', 'Nuzrul', 'Nuzul', - 'Omar', 'Omri', 'Osama', 'Osman', 'Othman', - 'Pauzi', 'Puadi', 'Putra', - 'Qairil', 'Qays', 'Qusyairi', - 'R', 'Radin', 'Radzi', 'Radzuan', 'Rafael', 'Raffioddin', 'Rafiee', 'Rafiq', 'Rafizal', 'Rahim', 'Raihan', 'Raja', 'Rakmat', 'Ramdan', 'Ramlan', 'Ramli', 'Rash', 'Rashdan', 'Rashid', 'Rashidi', 'Rasid', 'Raulah', 'Rausyan', 'Razak', 'Razali', 'Razemi', 'Razif', 'Razlan', 'Razuan', 'Redzuan', 'Redzuawan', 'Redzwan', 'Rehan', 'Rehman', 'Rezal', 'Ridhuan', 'Ridwan', 'Ridza', 'Ridzuan', 'Ridzwan', 'Rifqi', 'Rizal', 'Rizli', 'Rohaizad', 'Rohaizal', 'Rohman', 'Roosmadi', 'Roseli', 'Roslan', 'Roslee', 'Rosli', 'Roslin', 'Rosman', 'Rosnan', 'Rossafizal', 'Rozi', 'Rukaini', 'Rukmanihakim', 'Ruknuddin', 'Ruslan', 'Rusli', 'Rusman', - 'S.rozli', 'Sabana', 'Sabqi', 'Sabri', 'Sadili', 'Sadri', 'Saf\'han', 'Saffrin', 'Safie', 'Safiy', 'Safrizal', 'Safuan', 'Safwan', 'Sahamudin', 'Saharil', 'Said', 'Saidan', 'Saidin', 'Saif', 'Saiful', 'Saifullah', 'Saifullizan', 'Saipol', 'Sakri', 'Salamon', 'Salihin', 'Salimi', 'Salleh', 'Samad', 'Samani', 'Sameer', 'Samiun', 'Samsul', 'Samsur', 'Sanorhizam', 'Sardine', 'Sarudin', 'Sarwati', 'Saufishazwi', 'Sazali', 'Selamat', 'Senon', 'Shafarizal', 'Shafie', 'Shafiq', 'Shah', 'Shahamirul', 'Shaharudin', 'Shaheila', 'Shaheizy', 'Shahfiq', 'Shahmi', 'Shahnon', 'Shahquzaifi', 'Shahril', 'Shahrin', 'Shahrizal', 'Shahrol', 'Shahru', 'Shahrul', 'Shahrulnaim', 'Shahrun', 'Shahrunizam', 'Shahzwan', 'Shaiful', 'Shaikh', 'Shakif', 'Shakir', 'Sham', 'Shameer', 'Shamhazli', 'Shamil', 'Shamizan', 'Shamizul', 'Shamsuddin', 'Shamsudin', 'Shamsul', 'Shamsuri', 'Shamsuzlynn', 'Shapiein', 'Sharafuddin', 'Shari', 'Sharif', 'Sharifuddin', 'Sharifudin', 'Sharil', 'Sharizal', 'Sharsham', 'Sharudin', 'Sharul', 'Shaugi', 'Shauqi', 'Shawal', 'Shazwan', 'Sheikh', 'Shmsul', 'Shohaimi', 'Shukri', 'Sirajuddin', 'Sofian', 'Sohaini', 'Solehen', 'Solekhan', 'Solleh', 'Sualman', 'Subbahi', 'Subkhiddin', 'Sudarrahman', 'Sudirman', 'Suhaimi', 'Sukarni', 'Sukhairi', 'Sukri', 'Sukymi', 'Sulaiman', 'Sulhan', 'Suzaili', 'Suzaman', 'Syafiq', 'Syahaziq', 'Syahid', 'Syahir', 'Syahmi', 'Syahrial', 'Syahriman', 'Syahru', 'Syahzuan', 'Syakir', 'Syakirin', 'Syakirul', 'Syamirul', 'Syamsol', 'Syaqirin', 'Syarafuddin', 'Syawal', 'Syawalludin', 'Syazani', 'Syazwan', 'Syed', 'Syid', 'Syukri', 'Syuqeri', - 'Tajuddin', 'Takiudin', 'Talha', 'Tarmizi', 'Tasripin', 'Taufek', 'Taufik', 'Tayib', 'Termizi', 'Thalahuddin', 'Thaqif', 'Tunan', - 'Umair', 'Umar', 'Usman', - 'W', 'Wafi', 'Wafiq', 'Wan', 'Wazir', 'Wazzirul', 'Wi', - 'Yani', 'Yaqzan', 'Yazid', 'Yunos', 'Yusaini', 'Yusfaisal', 'Yushafiq', 'Yusni', 'Yusof', 'Yusoff', 'Yusri', 'Yussof', 'Yusuf', - 'Zabayudin', 'Zabidi', 'Zahari', 'Zahid', 'Zahiruddin', 'Zahrul', 'Zaid', 'Zaidi', 'Zainal', 'Zaini', 'Zainodin', 'Zainordin', 'Zainuddin', 'Zainul', 'Zairy', 'Zaiyon', 'Zakaria', 'Zaki', 'Zakii', 'Zakri', 'Zakwan', 'Zambri', 'Zamre', 'Zamri', 'Zamrul', 'Zan', 'Zaqiyuddin', 'Zar\'ai', 'Zarif', 'Zariq', 'Zarith', 'Zarul', 'Zaukepli', 'Zawawi', 'Zharaubi', 'Zikri', 'Zikril', 'Zikry', 'Zizi', 'Zol', 'Zolkifle', 'Zubair', 'Zubir', 'Zufayri', 'Zufrie', 'Zuheeryrizal', 'Zuhri', 'Zuki', 'Zul', 'Zulfadhli', 'Zulfadli', 'Zulfahmi', 'Zulfaqar', 'Zulfaqqar', 'Zulfikar', 'Zulhaikal', 'Zulhakim', 'Zulhakimi', 'Zulhelmi', 'Zulhilmi', 'Zulkapli', 'Zulkarnain', 'Zulkefli', 'Zulkfli', 'Zulkifli', 'Zulkipli', 'Zulman', 'Zuri', - ]; - protected static $firstNameFemaleMalay = [ - '\'Abidah', '\'Alyaa', '\'Aqilah', '\'Atiqah', '\'Afiqah', '\'Alia', '\'Aqilah', 'A\'ishah', 'A\'in', 'A\'zizah', 'Abdah', 'Abiatul', 'Adani', 'Adawiyah', 'Adha', 'Adharina', 'Adhwa', 'Adibah', 'Adilah', 'Adilla', 'Adina', 'Adini', 'Adira', 'Adlina', 'Adlyna', 'Adriana', 'Adzlyana', 'Afifa', 'Afifah', 'Afina', 'Afiqah', 'Afiza', 'Afrina', 'Afzan', 'Ahda', 'Aida', 'Aidatul', 'Aidila', 'Aifa', 'Aiman', 'Aimi', 'Aimuni', 'Ain', 'Aina', 'Ainaa', 'Ainaanasuha', 'Aini', 'Ainin', 'Ainn', 'Ainnaziha', 'Ainul', 'Ainun', 'Ainur', 'Airin', 'Aishah', 'Aisya', 'Aisyah', 'Aiza', 'Akmal', 'Aleeya', 'Aleeza', 'Aleya', 'Aleza', 'Alia', 'Aliaa', 'Aliah', 'Aliffa', 'Aliffatus', 'Alina', 'Alis', 'Alisya', 'Aliya', 'Alkubra', 'Alleisya', 'Ally', 'Alya', 'Alyaa', 'Amalia', 'Amalien', 'Amalin', 'Amalina', 'Amani', 'Amanina', 'Amiera', 'Aminy', 'Amira', 'Amirah', 'Amisha', 'Amrina', 'Amylia', 'Amyra', 'An-nur', 'Anas', 'Andani', 'Andi', 'Anesha', 'Ani', 'Aninafishah', 'Anis', 'Anisah', 'Anisha', 'Anissa', 'Aniza', 'Anna', 'Anne', 'Antaza', 'Aqeem', 'Aqeera', 'Aqila', 'Aqilah', 'Arfahrina', 'Ariana', 'Ariena', 'Ariessa', 'Arifah', 'Arina', 'Ariqah', 'Arissa', 'Arisya', 'Armira', 'Arwina', 'Aryani', 'Ashika', 'Ashriyana', 'Asiah', 'Asma\'rauha', 'Asmaa\'', 'Asmaleana', 'Asniati', 'Asnie', 'Asniza', 'Aswana', 'Asy', 'Asyiqin', 'Asykin', 'Athirah', 'Atifa', 'Atifah', 'Atifahajar', 'Atikah', 'Atiqa', 'Atiqah', 'Atirah', 'Atyqah', 'Auni', 'Awatif', 'Awatiff', 'Ayesha', 'Ayu', 'Ayuni', 'Ayunie', 'Az', 'Azashahira', 'Aziah', 'Aziemah', 'Azika', 'Azira', 'Azizah', 'Azliah', 'Azliatul', 'Azlin', 'Azlina', 'Azmina', 'Azni', 'Azrah', 'Azrina', 'Azua', 'Azuin', 'Azwa', 'Azwani', 'Azyan', 'Azyyati', - 'Badrina', 'Bahirah', 'Balqis', 'Basyirah', 'Batrisya', 'Batrisyia', 'Bilqis', 'Bismillah', - 'Camelia', 'Cempaka', - 'Dalila', 'Dalili', 'Damia', 'Dania', 'Danish', 'Darlina', 'Darwisyah', 'Deni', 'Dhani', '\'Dhiya', 'Diana', 'Dianah', 'Dini', 'Diyana', 'Diyanah', 'Dylaila', - 'Eizzah', 'Eliya', 'Ellynur', 'Elpiya', 'Elyana', 'Elysha', 'Ema', 'Emylia', 'Erika', 'Eva', 'Ezzatul', - 'Faathihah', 'Fadhilah', 'Fadzliana', 'Fahda', 'Fahimah', 'Fahira', 'Fairuz', 'Faizah', 'Faiznur', 'Faizyani', 'Fakhira', 'Falah', 'Faqihah', 'Fara', 'Faradieba', 'Farah', 'Faraheira', 'Farahin', 'Farahiyah', 'Farahtasha', 'Farha', 'Farhah', 'Farhana', 'Faridatul', 'Fariha', 'Farina', 'Farisah', 'Farisha', 'Farrah', 'Fartinah', 'Farzana', 'Fasehah', 'Fasha', 'Fateha', 'Fatehah', 'Fathiah', 'Fathiha', 'Fathihah', 'Fathimah', 'Fatiha', 'Fatihah', 'Fatimatul', 'Fatin', 'Fatini', 'Fauziah', 'Faza', 'Fazlina', 'Fezrina', 'Filza', 'Filzah', 'Firzanah', 'Fitrah', 'Fitri', 'Fitriah', 'Fizra', - 'Hadfina', 'Hadiyatul', 'Hafezah', 'Hafidzah', 'Hafieza', 'Hafizah', 'Hahizah', 'Hajar', 'Hakimah', 'Halimatul', 'Halimatussa\'diah', 'Halisah', 'Hamira', 'Hamizah', 'Hana', 'Hanaani', 'Hanani', 'Hani', 'Hanim', 'Hanini', 'Hanis', 'Hanisah', 'Hanna', 'Hannan', 'Hannani', 'Hanni', 'Hanun', 'Harma', 'Hasmalinda', 'Hasya', 'Hasyimah', 'Hayani', 'Hayati', 'Hayatul', 'Hayaty', 'Hazira', 'Hazirah', 'Hazmeera', 'Hazwani', 'Hazwanie', 'Herlina', 'Herliyana', 'Hidayah', 'Hidzwati', 'Huda', 'Humaira', 'Hureen', 'Husna', 'Husnina', - 'Ida', 'Iffah', 'Iklil', 'Ili', 'Ilyana', 'Iman', 'Imelda', 'Insyira', 'Insyirah', 'Intan', '\'Irdhina', 'Irdina', '\'Irdina', 'Irsa', 'Iryani', '\'Isdmah', 'Islamiah', 'Isnur', 'Izaiti', 'Izati', 'Izatie', 'Izatul', 'Izaty', 'Izlin', '\'Izzah', 'Izzah', 'Izzani', 'Izzati', 'Izzatul', 'Izzaty', 'Izziani', - 'Jaf', 'Jajuenne', 'Jani', 'Jannah', 'Jannatul', 'Jaslina', 'Jihan', 'Ju', 'Julia', 'Juliana', 'Juliya', - 'Kamarlia', 'Kamelia', 'Kausthar', 'Kauthar', 'Khadijah', 'Khahirah', 'Khairina', 'Khairun', 'Khairunisa', 'Khairunnisa', 'Khairunnisak', 'Khaleeda', 'Khaleisya', 'Khaliesah', 'Khalisa', 'Khodijah', - 'Laila', 'Liana', 'Lina', 'Lisa', 'Liyana', - 'Madihah', 'Maheran', 'Mahfuzah', 'Mahirah', 'Maisara', 'Maisarah', 'Maizatul', 'Malihah', 'Mardhiah', 'Mariam', 'Marina', 'Mariska', 'Marlina', 'Marni', 'Maryam', 'Mas', 'Mashitah', 'Masitah', 'Mastura', 'Maswah', 'Masyikah', 'Masyitah', 'Maszlina', 'Mawaddah', 'Maya', 'Mazdiyana', 'Mazlyn', 'Melisa', 'Melissa', 'Mimi', 'Mira', 'Mirsha', 'Miskon', 'Miza', 'Muazzah', 'Mumtaz', 'Mursyidah', 'Muti\'ah', 'Muyassarah', 'Muzainah', 'Mysara', 'Mysarah', - 'Nabihah', 'Nabila', 'Nabilah', 'Nabilla', 'Nabillah', 'Nadhilah', 'Nadhirah', 'Nadhrah', 'Nadia', 'Nadiah', 'Nadiatun', 'Nadilla', 'Nadira', 'Nadirah', 'Nadwah', 'Nadzirah', 'Nafisah', 'Nafizah', 'Najah', 'Najian', 'Najiha', 'Najihah', 'Najla', 'Najwa', 'Najwani', 'Naliny', 'Naqibahuda', 'Nashrah', 'Nashuha', 'Nasliha', 'Nasrin', 'Nasuha', 'Natasa', 'Natasha', 'Natasya', 'Nathasa', 'Natrah', 'Naurah', 'Nayli', 'Nazatul', 'Nazihah', 'Nazira', 'Nazirah', 'Nazura', 'Nazurah', 'Nikmah', 'Nina', 'Nisa', 'Nisak', 'Nisrina', 'Noorain', 'Noorazmiera', 'Noorfarzanah', 'Noornazratul', 'Norafizah', 'Norain', 'Noraisyah', 'Noralia', 'Noranisa', 'Noratasha', 'Nordhiya', 'Nordiana', 'Norelliana', 'Norerina', 'Norfaezah', 'Norfahanna', 'Norhafiza', 'Norhamiza', 'Norhidayah', 'Noridayu', 'Norliyana', 'Norsakinah', 'Norshaera', 'Norshahirah', 'Norshuhailah', 'Norsolehah', 'Norsuhana', 'Norsyafiqah', 'Norsyahirah', 'Norsyamimie', 'Norsyarah', 'Norsyazmira', 'Norsyazwani', 'Norsyuhada', 'Norul', 'Noryshah', - 'Nuradilah', 'Nurafifah', 'Nurafrina', 'Nurain', 'Nuraina', 'Nuralia', 'Nuraliah', 'Nuralifah', 'Nuralya', 'Nurani', 'Nuranisya', 'Nuraqilah', 'Nurarisha', 'Nurasyikin', 'Nuratiqah', 'Nuraveena', 'Nureen', 'Nurfaatihah', 'Nurfadlhlin', 'Nurfaizah', 'Nurfarah', 'Nurfarahin', 'Nurfarhana', 'Nurfarrah', 'Nurfatehah', 'Nurfatiha', 'Nurfatin', 'Nurfirzanah', 'Nurfitrah', 'Nurfizatul', 'Nurhafizah', 'Nurhajar', 'Nurhani', 'Nurhanida', 'Nurhanis', 'Nurhanisah', 'Nurhanna', 'Nurhawa', 'Nurhazwani', 'Nurhazzimah', 'Nurhidayah', 'Nurhidayatul', 'Nurhuda', 'Nurilyani', 'Nurin', 'Nurjazriena', 'Nurmuzdalifah', 'Nurnajiha', 'Nurnatasha', 'Nurnazhimah', 'Nurnazhirah', 'Nurqurratuain', 'Nursabrina', 'Nursahira', 'Nursarah', 'Nursarwindah', 'Nursham', 'Nurshammeza', 'Nursofiah', 'Nursuhaila', 'Nursyaffira', 'Nursyafika', 'Nursyahindah', 'Nursyakirah', 'Nursyarina', 'Nursyazwani', 'Nursyazwina', 'Nursyuhadah', 'Nurulhuda', 'Nurulsyahida', 'Nurun', 'Nurwadiyah', 'Nurwahidah', 'Nurzafira', 'Nurzarith', 'Nurzulaika', - 'Pesona', 'Puteri', 'Putri', - 'Qairina', 'Qamarina', 'Qasrina', 'Qhistina', 'Qistina', 'Quintasya', 'Qurratu', 'Qurratuaini', 'Qurratul', - 'Rabi\'atul', 'Rabiatul', 'Rafidah', 'Rahiemah', 'Rahmah', 'Raihah', 'Raihana', 'Raihanah', 'Raja', 'Rashmi', 'Rasyaratul', 'Rasyiqah', 'Rasyiqqah', 'Raudatul', 'Ridiatul', 'Rieni', 'Rifhan', 'Rihhadatul', 'Ros', 'Rosalinda', 'Rosyadah', 'Rusyda', 'Rusydina', - 'Sa\'adah', 'Saadiah', 'Sabrina', 'Safi', 'Safiah', 'Safiyah', 'Sahira', 'Saidatul', 'Sakinah', 'Sakirah', 'Salwa', 'Sameera', 'Sarah', 'Sarwati', 'Sasya', 'Serene', 'Sha', 'Shabariah', 'Shafiah', 'Shafiera', 'Shafikah', 'Shafinaz', 'Shafiqa', 'Shafiqah', 'Shah', 'Shahida', 'Shahidah', 'Shahiera', 'Shahila', 'Shahira', 'Shahirah', 'Shahrazy', 'Shahrina', 'Shakilah', 'Shakinah', 'Shalina', 'Shameera', 'Shamila', 'Shamimie', 'Shamira', 'Shar\'fiera', 'Sharifah', 'Sharizah', 'Shauqina', 'Shayira', 'Shazana', 'Shazieda', 'Shazlien', 'Shazwana', 'Shazwani', 'Shonia', 'Shuhada', 'Siti', 'Siti', 'Siti', 'Siti', 'Siti', 'Siti', 'Sitti', 'Sofea', 'Sofeah', 'Soffia', 'Sofia', 'Sofiya', 'Sofiyah', 'Sofya', 'Solehah', 'Sopie', 'Suaidah', 'Suhada', 'Suhadah', 'Suhaida', 'Suhaila', 'Suhailah', 'Suhaina', 'Suhana', 'Suhani', 'Sulaiha', 'Sumayyah', 'Suraya', 'Suziyanis', 'Syaffea', 'Syafika', 'Syafikah', 'Syafina', 'Syafiqa', 'Syafiqah', 'Syafirah', 'Syafiyah', 'Syafiyana', 'Syahada', 'Syahadatullah', 'Syahera', 'Syaherah', 'Syahidah', 'Syahidatul', 'Syahiera', 'Syahira', 'Syahirah', 'Syahmimi', 'Syahmina', 'Syahzani', 'Syaidatul', 'Syairah', 'Syakila', 'Syakira', 'Syakirah', 'Syamien', 'Syamilah', 'Syamimi', 'Syamina', 'Syamirah', 'Syara', 'Syarafana', 'Syarafina', 'Syarah', 'Syarina', 'Syasyabila', 'Syauqina', 'Syaza', 'Syazana', 'Syazliya', 'Syazmin', 'Syazryana', 'Syazwana', 'Syazwani', 'Syazwanie', 'Syazwina', 'Syifa\'', 'Syuhada', 'Syuhada`', 'Syuhaida', 'Syuhaidah', - 'Taqiah', 'Tasnim', 'Tengku', 'Tihany', - 'Umairah', 'Umi', 'Umira', 'Ummi', - 'Wadiha', 'Wafa', 'Waheeda', 'Wahida', 'Wahidah', 'Wan', 'Wardatul', 'Wardina', 'Wardinah', 'Wazira', 'Weni', - 'Yasmeen', 'Yasmin', 'Yetri', 'Yunalis', 'Yusra', 'Yusrinaa', 'Yusyilaaida', - 'Zaffan', 'Zafirah', 'Zaharah', 'Zahirah', 'Zahrah', 'Zahrak', 'Zaidalina', 'Zaidatulkhoiriyah', 'Zainab', 'Zainatul', 'Zakdatul', 'Zatalini', 'Zati', 'Zayani', 'Zeqafazri', 'Zilhaiza', 'Zubaidah', 'Zulaika', 'Zulaikha', - ]; - protected static $lastNameMalay = [ - '\'Aizat', 'A\'liyyuddin', 'Abas', 'Abdillah', 'Abdullah', 'Abidin', 'Adam', 'Adha', 'Adham', 'Adi', 'Adieka', 'Adip', 'Adli', 'Adnan', 'Adrus', 'Afandi', 'Afiq', 'Afizi', 'Afnan', 'Afsyal', 'Ahmad', 'Ahwali', 'Aidi', 'Aidil', 'Aiman', 'Aizad', 'Aizam', 'Aizat', 'Ajllin', 'Ajmal', 'Akashah', 'Akasyah', 'Akbar', 'Akhmal', 'Akid', 'Akif', 'Akmal', 'Al-amin', 'Al-hakim', 'Albukhary', 'Ali', 'Alias', 'Alif', 'Alimi', 'Aliuddin', 'Amaluddin', 'Amin', 'Aminnudin', 'Aminrullah', 'Aminuddin', 'Amiran', 'Amiruddin', 'Amirul', 'Amirullah', 'Ammar', 'Ammer', 'Amni', 'Amran', 'Amri', 'Amry', 'Amsyar', 'Amzah', 'Anam', 'Anaqi', 'Andalis', 'Anuar', 'Anwar', 'Apizan', 'Aqashah', 'Aqil', 'Arfan', 'Arfandi', 'Arias', 'Arief', 'Arif', 'Ariff', 'Ariffin', 'Arifin', 'Arifuddin', 'Arman', 'Arshad', 'Arziman', 'As', 'Asa', 'Ashraf', 'Ashraff', 'Asmadi', 'Asmar', 'Asmawi', 'Asri', 'Asyraf', 'Asyran', 'Asyrani', 'Aszahari', 'Awal', 'Awalluddin', 'Awaluddin', 'Awaludin', 'Awira', 'Ayyadi', 'Azahar', 'Azahari', 'Azam', 'Azhan', 'Azhar', 'Azhari', 'Azim', 'Aziz', 'Azizan', 'Azizi', 'Azizy', 'Azlan', 'Azlansyhah', 'Azli', 'Azlim', 'Azman', 'Azmee', 'Azmi', 'Azmin', 'Aznai', 'Azni', 'Azraai', 'Azrai', 'Azri', 'Azril', 'Azrin', 'Azriq', 'Azrul', 'Azuan', - 'Badrulhisham', 'Baha', 'Bahaman', 'Bahari', 'Baharin', 'Baharruddin', 'Baharuddin', 'Baharudin', 'Bahri', 'Bahrin', 'Bahrodin', 'Bakar', 'Bakri', 'Bakry', 'Bakti', 'Basaruddin', 'Bashah', 'Basri', 'Basyir', 'Batisah', 'Bella', 'Berman', 'Borhan', 'Buhari', 'Bukhari', - 'Chai', - 'Dahalan', 'Dahari', 'Dahlan', 'Daiman', 'Daneal', 'Daniael', 'Danial', 'Daniel', 'Danish', 'Darmawi', 'Daryusman', 'Daud', 'Dazila', 'Din', 'Dini', 'Djuhandie', 'Dolkefli', 'Draman', 'Dzikri', 'Dzolkefli', 'Dzulkifli', 'Dzullutfi', - 'Effendi', 'Effindi', 'Ekhsan', 'Elfin', 'Erfan', - 'Fadhil', 'Fadhilah', 'Fadil', 'Fadillah', 'Fadlullah', 'Fadzil', 'Faez', 'Fahi', 'Fahim', 'Fahmi', 'Fahmie', 'Fairos', 'Fairuz', 'Faiser', 'Faiz', 'Faizal', 'Faizul', 'Faizun', 'Fakhri', 'Fakhrurrazi', 'Fareesnizra', 'Fareez', 'Farhan', 'Farid', 'Farihan', 'Faris', 'Farris', 'Fathi', 'Fatullah', 'Faudzi', 'Fauzi', 'Fauzy', 'Fayyad', 'Fazal', 'Fazil', 'Fazira', 'Fikri', 'Firdaus', 'Firdoz', 'Fiteri', 'Fitri', 'Fuad', 'Fuart', 'Fuzi', - 'Garapar', 'Ghani', 'Ghazi', - 'Haddi', 'Hadi', 'Hadzis', 'Haeizan', 'Hafandi', 'Hafiz', 'Hafizam', 'Hafizee', 'Hafizh', 'Hafizi', 'Hafizuddin', 'Haidie', 'Haikal', 'Haiqal', 'Hairizan', 'Hairuddin', 'Hairulnizam', 'Hairunnezam', 'Haizam', 'Haizan', 'Hajar', 'Hakam', 'Hakiem', 'Hakim', 'Hakimi', 'Hakimie', 'Halib', 'Halil', 'Halim', 'Halin', 'Hamdan', 'Hamdani', 'Hamid', 'Hamidi', 'Hamizie', 'Hamizuddin', 'Hamjah', 'Hammani', 'Hamzah', 'Hanafi', 'Hanafia', 'Hanief', 'Hanif', 'Hanifah', 'Haniff', 'Hanim', 'Hapani', 'Haqim', 'Haqimi', 'Haramaini', 'Hardinal', 'Hariff', 'Haris', 'Harith', 'Hariz', 'Harmaini', 'Harman', 'Haron', 'Harris', 'Haruddin', 'Harun', 'Hasadi', 'Hasan', 'Hasbi', 'Hasbullah', 'Hashan', 'Hasif', 'Hasim', 'Hasmawi', 'Hasnan', 'Hasri', 'Hassan', 'Hassim', 'Hassimon', 'Haszlan', 'Hazambi', 'Hazaril', 'Hazim', 'Hazimie', 'Haziq', 'Hazizan', 'Hazlin', 'Hazre', 'Hazrin', 'Hazrol', 'Helmi', 'Hi\'qal', 'Hikmee', 'Hilmi', 'Hisam', 'Hisham', 'Hishhram', 'Hizam', 'Husaini', 'Husin', 'Husna', 'Husni', 'Hussin', 'Huzaify', 'Huzain', - 'Ibrahim', 'Idham', 'Idris', '\'Iffat', 'Ifwat', 'Ikhmal', 'Ikhram', 'Ikhwan', 'Ikmal', 'Ikram', 'Ilman', 'Iman', 'Imran', 'Imtiyaz', 'Iqbal', 'Iqmal', 'Irfan', 'Irham', 'Irsyad', 'Is\'ad', 'Isa', 'Isfarhan', 'Ishak', 'Ishsyal', 'Iskandar', 'Ismadi', 'Ismail', 'Ismayudin', 'Isroman', 'Isyrafi', 'Izad', 'Izam', 'Izani', 'Izman', 'Izwan', 'Izzat', 'Izzuddin', 'Izzudin', - 'Jainal', 'Jaini', 'Jamahari', 'Jamal', 'Jamaluddin', 'Jamaludin', 'Jaman', 'Jamri', 'Jani', 'Jasni', 'Jaya', 'Jeffri', 'Jefri', 'Jelani', 'Jemadin', 'Johan', 'Johari', 'Juhari', 'Jumat', 'Junaidi', - 'Kahar', 'Kamal', 'Kamaruddin', 'Kamarudin', 'Kamarul', 'Kamaruzaman', 'Kamil', 'Kamslian', 'Karzin', 'Kasim', 'Kasturi', 'Khafiz', 'Khairani', 'Khairuddin', 'Khaleed', 'Khaliq', 'Khan', 'Kharmain', 'Khatta', 'Khilmi', 'Khir-ruddin', 'Khirulrezal', 'Khusaini', - 'Latif', 'Latip', 'Lazim', 'Lukman', - 'Maarof', 'Mahadi', 'Mahat', 'Mahathir', 'Mahmudin', 'Mahmusin', 'Mahyuddin', 'Mahyus', 'Majid', 'Malek', 'Malik', 'Maliki', 'Mamhuri', 'Man', 'Manaf', 'Manan', 'Manap', 'Mansor', 'Margono', 'Martunus', 'Maruzi', 'Marzuki', 'Maserun', 'Maskor', 'Maslan', 'Maswari', 'Maszuni', 'Mazalan', 'Mazlan', 'Midali', 'Mikhail', 'Mirza', 'Miskan', 'Miskoulan', 'Mislan', 'Misnan', 'Mizan', 'Mohhidin', 'Mohsin', 'Mokhtar', 'Moktar', 'Molkan', 'Mon', 'Montahar', 'Mossanif', 'Mu', 'Muaddib', 'Muain', 'Muhaimi', 'Muhaimin', 'Muhdi', 'Muiz', 'Mujamek', 'Mukmin', 'Mukromin', 'Muneer', 'Muqriz', 'Murad', 'Murshed', 'Murshidi', 'Musa', 'Muslim', 'Musliman', 'Mustafa', 'Mustapha', 'Mustaqim', 'Musyrif', 'Mutaali', 'Mutalib', 'Muti\'i', 'Muzamil', 'Muzammil', - 'Na\'im', 'Nabil', 'Nadzri', 'Nafiz', 'Naim', 'Najhi', 'Najib', 'Najmi', 'Najmuddin', 'Naqiyuddin', 'Nasaruddin', 'Nashriq', 'Nasiman', 'Nasir', 'Nasrodin', 'Nasrullah', 'Naufal', 'Nawawi', 'Nazairi', 'Nazar', 'Nazarudin', 'Nazeri', 'Nazhan', 'Nazirin', 'Nazmi', 'Nazree', 'Nazri', 'Nazrin', 'Nazry', 'Ngadenan', 'Ngadun', 'Niszan', 'Nizam', 'Noh', 'Noor', 'Noordin', 'Noorhakim', 'Noorismadi', 'Noorizman', 'Nor', 'Noradhzmi', 'Noraffendi', 'Noraslan', 'Norazam', 'Norazim', 'Norazman', 'Norazmi', 'Nordin', 'Norhisam', 'Norhisham', 'Norizal', 'Norizan', 'Norlisam', 'Normansah', 'Norrizam', 'Norsilan', 'Norzamri', 'Nurfairuz', 'Nurhaliza', 'Nurnaim', - 'Omar', 'Osman', 'Othman', - 'Pa\'aing', 'Pauzi', 'Pisol', 'Putra', 'Putra', - 'Qayum', 'Qayyum', 'Qayyuum', 'Qusyairi', - 'Ra\'ais', 'Radzi', 'Raffioddin', 'Raffiq', 'Rafi', 'Rafizal', 'Rahamad', 'Rahim', 'Rahman', 'Rahmat', 'Rais', 'Raizal', 'Raman', 'Ramdan', 'Ramdzan', 'Ramlan', 'Ramlee', 'Ramli', 'Ramly', 'Rani', 'Ranjit', 'Raqi', 'Rashid', 'Rashidi', 'Rashidin', 'Rasid', 'Rassid', 'Rasyid', 'Razak', 'Razali', 'Raze', 'Razi', 'Razin', 'Razlan', 'Razman', 'Redha', 'Redzuan', 'Rembli', 'Remi', 'Ridduan', 'Ridhwan', 'Ridzuan', 'Ridzwan', 'Rifin', 'Rifqi', 'Rifqie', 'Rithwan', 'Rizal', 'Rizuan', 'Rizwan', 'Robani', 'Rohaizan', 'Rohem', 'Rohman', 'Ros', 'Rosdan', 'Roshman', 'Roslan', 'Roslee', 'Rosli', 'Rosly', 'Rosmawi', 'Rosnan', 'Rossaimi', 'Rostam', 'Rostan', 'Roszainal', 'Rozi', 'Rubi', 'Rusdi', 'Ruslan', 'Rusli', 'Rustam', 'Rusyaidi', - 'Sa\'ari', 'Saad', 'Sabaruddin', 'Sabarudin', 'Sabki', 'Sabri', 'Sabrie', 'Safee', 'Saffuan', 'Safie', 'Safingi', 'Safrifarizal', 'Safrizal', 'Safwan', 'Sahidi', 'Sahril', 'Sahroni', 'Saifuddin', 'Saifudin', 'Saifulzakher', 'Saifuzin', 'Saihun', 'Saizol', 'Sakdon', 'Sakri', 'Salam', 'Saleh', 'Salehudin', 'Salim', 'Salleh', 'Salman', 'Sam', 'Samad', 'Samae', 'Samah', 'Saman', 'Samsani', 'Samsuddin', 'Samsul', 'Samsuri', 'Sandha', 'Sani', 'Sanorhizam', 'Sapuan', 'Sarim', 'Satar', 'Saudi', 'Sazali', 'Sedek', 'Selamat', 'Senon', 'Sha\'ril', 'Shabana', 'Shafei', 'Shafie', 'Shafiq', 'Shah', 'Shaharuddin', 'Shaharudin', 'Shahiman', 'Shahrazy', 'Shahrizan', 'Shaidi', 'Shaifuddin', 'Shaihuddin', 'Sham', 'Shameer', 'Shamizan', 'Shamsuddin', 'Shamsudin', 'Shamsul', 'Shapiein', 'Sharasan', 'Sharif', 'Sharifudin', 'Shariman', 'Sharin', 'Sharollizam', 'Sharum', 'Shazani', 'Shazman', 'Shmsul', 'Shobi', 'Shueib', 'Shukor', 'Shukri', 'Sidek', 'Sinuzulan', 'Soberi', 'Sobirin', 'Sofi', 'Solehin', 'Solekhan', 'Sonan', 'Suami', 'Subhi', 'Subzan', 'Sudirman', 'Sueib', 'Sufi', 'Sufian', 'Suhaimi', 'Suhiman', 'Sukarsek', 'Sulaiman', 'Sulong', 'Suraji', 'Surya', 'Sutrisno', 'Suz\'ian', 'Suzaimi', 'Syafiq', 'Syafrin', 'Syahir', 'Syahmi', 'Syahril', 'Syahrin', 'Syakir', 'Syamil', 'Syauqi', 'Syazwan', 'Syukran', 'Syukri', 'Syuraih', - 'Tajudin', 'Takiudin', 'Talib', 'Taqiuddin', 'Tarjuddin', 'Tarmizi', 'Tarudin', 'Taufek', 'Thaqif', 'Tuah', 'Tukimin', 'Tumiran', - 'Ubaidillah', 'Ulum', 'Umar', 'Usman', 'Usri', 'Uzair', - 'Wafi', 'Wahab', 'Wahbillah', 'Wahid', 'Wahidan', 'Wahidin', 'Wardi', 'Wasil', 'Wazif', 'Wildani', - 'Ya\'accob', 'Yaacob', 'Yaakob', 'Yaacup', 'Yacob', 'Yahaya', 'Yahya', 'Yajid', 'Yamani', 'Yanis', 'Yaqin', 'Yasin', 'Yazid', 'Yunus', 'Yusaini', 'Yusihasbi', 'Yusni', 'Yusof', 'Yusoff', 'Yusri', 'Yusrin', 'Yusseri', 'Yussof', 'Yusuf', 'Yuszelan', 'Yuzli', - 'Zafran', 'Zahani', 'Zahar', 'Zahareman', 'Zahari', 'Zahin', 'Zaid', 'Zaidi', 'Zailan', 'Zailani', 'Zaimi', 'Zaiminuddin', 'Zain', 'Zainal', 'Zaini', 'Zainorazman', 'Zainordin', 'Zainuddin', 'Zainudin', 'Zainul-\'alam', 'Zainun', 'Zainuri', 'Zairi', 'Zairulaizam', 'Zakaria', 'Zaki', 'Zakir', 'Zakuan', 'Zakwan', 'Zam', 'Zamanhuri', 'Zamani', 'Zamhari', 'Zamran', 'Zamre', 'Zamree', 'Zamri', 'Zamzuri', 'Zani', 'Zar\'ai', 'Zawawi', 'Zawi', 'Zazlan', 'Zehnei', 'Zhafran', 'Zihni', 'Zikry', 'Zin', 'Zizi', 'Zol', 'Zolkafeli', 'Zolkifli', 'Zuanuar', 'Zubair', 'Zubir', 'Zufayri', 'Zuhaili', 'Zuki', 'Zukri', 'Zulamin', 'Zulfadhli', 'Zulfikar', 'Zulfikri', 'Zulhazril', 'Zulhelmi', 'Zulkafli', 'Zulkanine', 'Zulkarnaen', 'Zulkefle', 'Zulkefli', 'Zulkernain', 'Zulkhairie', 'Zulkifli', 'Zulqurnainin', 'Zumali', 'Zuraidi', 'Zuri', 'Zuwairi', - ]; - - /** - * Note: The empty elements are for names without the title, chances increase by number of empty elements. - * - * @see https://en.wikipedia.org/wiki/Muhammad_(name) - */ - protected static $muhammadName = ['', '', '', '', 'Mohamad ', 'Mohamed ', 'Mohammad ', 'Mohammed ', 'Muhamad ', 'Muhamed ', 'Muhammad ', 'Muhammed ', 'Muhammet ', 'Mohd ']; - /** - * @see https://en.wikipedia.org/wiki/Noor_(name) - */ - protected static $nurName = ['', '', '', '', 'Noor ', 'Nor ', 'Nur ', 'Nur ', 'Nur ', 'Nurul ', 'Nuur ']; - - /** - * @see https://en.wikipedia.org/wiki/Malaysian_names#Haji_or_Hajjah - */ - protected static $haji = ['', '', '', '', 'Haji ', 'Hj ']; - protected static $hajjah = ['', '', '', '', 'Hajjah ', 'Hjh ']; - - /** - * @see https://en.wikipedia.org/wiki/Malay_styles_and_titles - */ - protected static $titleMaleMalay = ['', '', '', '', '', '', 'Syed ', 'Wan ', 'Nik ', 'Che ']; - - /** - * Chinese family name or surname - * - * @see https://en.wikipedia.org/wiki/List_of_common_Chinese_surnames - * @see https://en.wikipedia.org/wiki/Hundred_Family_Surnames - */ - protected static $lastNameChinese = [ - 'An', 'Ang', 'Au', 'Au-Yong', 'Aun', 'Aw', - 'Bai', 'Ban', 'Bok', 'Bong', - 'Ch\'ng', 'Cha', 'Chai', 'Cham', 'Chan', 'Chang', 'Cheah', 'Cheam', 'Chee', 'Chen', 'Cheng', 'Cheok', 'Cheong', 'Chew', 'Chia', 'Chiam', 'Chiang', - 'Chieng', 'Chiew', 'Chin', 'Ching', 'Chong', 'Choong', 'Chou', 'Chow', 'Choy', 'Chu', 'Chua', 'Chuah', 'Chung', - 'Dee', 'Die', 'Ding', - 'Ee', 'En', 'Eng', 'Er', 'Ewe', - 'Fam', 'Fan', 'Fang', 'Feng', 'Foo', 'Foong', - 'Gan', 'Gao', 'Gee', 'Gnai', 'Go', 'Goh', 'Gong', 'Guan', 'Gun', - 'H\'ng', 'Hang', 'Hao', 'Haw', 'Hee', 'Heng', 'Hew', 'Hiew', 'Hii', 'Ho', 'Hoo', 'Hong', 'Hooi', 'Hui', - 'Jong', - 'Kam', 'Kang', 'Kar', 'Kee', 'Khoo', 'Khor', 'Khu', 'Kia', 'Kim', 'King', 'Ko', 'Koay', 'Koh', 'Kok', 'Kong', 'Kow', 'Kwok', 'Kwong', 'Ku', 'Kua', 'Kuan', 'Kum', - 'Lah', 'Lai', 'Lam', 'Lau', 'Law', 'Leau', 'Lee', 'Leng', 'Leong', 'Leow', 'Leung', 'Lew', 'Li', 'Lian', 'Liang', 'Liao', 'Liew', 'Lim', 'Ling', 'Liong', 'Liow', - 'Lo', 'Loh', 'Loi', 'Lok', 'Loke', 'Loo', 'Looi', 'Low', 'Lu', 'Luo', 'Lum', 'Lye', - 'Ma', 'Mah', 'Mak', 'Meng', 'Mok', - 'Neo', 'Neoh', 'New', 'Ng', 'Nga', 'Ngan', 'Ngeh', 'Ngeow', 'Ngo', 'Ngu', 'Nguei', 'Nii', - 'Ong', 'Oo', 'Ooi', 'Oon', 'Oong', 'OuYang', - 'P\'ng', 'Pang', 'Phang', 'Phoon', 'Phor', 'Phua', 'Phuah', 'Poh', 'Poon', - 'Qian', 'Qu', 'Quah', 'Quak', 'Quan', 'Quek', - 'Sam', 'Sau', 'Seah', 'See', 'Seetho', 'Seng', 'Seoh', 'Seow', 'Shee', 'Shi', 'Shum', 'Sia', 'Siah', 'Siao', 'Siauw', 'Siaw', 'Siew', 'Sim', 'Sin', 'Sio', 'Siong', 'Siow', 'Siu', 'Soh', 'Song', 'Soo', 'Soon', 'Su', 'Sum', - 'T\'ng', 'Tai', 'Tam', 'Tan', 'Tay', 'Tang', 'Tea', 'Tee', 'Teh', 'Tek', 'Teng', 'Teo', 'Teoh', 'Tern', 'Tew', 'Tey', 'Thang', 'Thew', 'Thong', 'Thoo', 'Thum', 'Thun', 'Ting', 'Tiong', 'Toh', 'Tong', 'Tse', 'Tung', - 'Vong', - 'Wah', 'Waiy', 'Wan', 'Wee', 'Wen', 'Wong', 'Woo', 'Woon', 'Wu', - 'Xia', 'Xiong', 'Xu', - 'Yam', 'Yao', 'Yiaw', 'Ying', 'Yip', 'Yang', 'Yap', 'Yau', 'Yee', 'Yen', 'Yeo', 'Yeoh', 'Yeong', 'Yeow', 'Yep', 'Yew', 'Yong', 'Yow', 'You', 'Yu', 'Yuan', 'Yuen', - 'Zhong', 'Zhang', 'Zheng', 'Zhu', 'Zu', - ]; - - /** - * Chinese second character - * - * @see https://en.wikipedia.org/wiki/Chinese_given_name - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent - */ - protected static $firstNameChinese = [ - 'Ah', 'Ai', 'Aik', 'An', 'Ann', 'Ang', 'Au', 'Aun', 'Aw', - 'Bae', 'Bai', 'Bak', 'Ban', 'Bang', 'Bao', 'Bau', 'Bee', 'Beh', 'Bei', 'Ben', 'Beng', 'Bi', 'Bik', 'Bin', 'Bing', 'Bo', 'Bok', 'Bong', 'Boo', 'Boon', 'Bow', 'Bu', 'Bui', 'Buk', 'Bun', 'Bung', - 'Cai', 'Car', 'Caw', 'Cee', 'Ceh', 'Cek', 'Cen', 'Cer', - 'Cha', 'Chah', 'Chai', 'Chak', 'Cham', 'Chan', 'Chang', 'Chao', 'Chap', 'Char', 'Chat', 'Chau', 'Chaw', - 'Chea', 'Cheah', 'Cheam', 'Chean', 'Cheang', 'Chee', 'Cheen', 'Chek', 'Chen', 'Cheng', 'Cheok', 'Cheong', 'Cher', 'Chet', 'Chew', - 'Chi', 'Chia', 'Chih', 'Chik', 'Chin', 'Ching', 'Chio', 'Chit', 'Chiu', - 'Cho', 'Choi', 'Chok', 'Chon', 'Chong', 'Choo', 'Chooi', 'Choon', 'Choong', 'Chor', 'Chou', 'Chow', 'Choy', - 'Chu', 'Chua', 'Chuah', 'Chuan', 'Chua', 'Chui', 'Chuk', 'Chum', 'Chun', 'Chung', 'Chuo', 'Chye', - 'Da', 'Dai', 'Dan', 'Dang', 'Dao', 'Dau', 'Dee', 'Deng', 'Di', 'Dim', 'Din', 'Ding', 'Diong', 'Do', 'Dong', 'Doo', 'Dou', 'Du', 'Dui', 'Duo', - 'Ee', 'Eh', 'En', 'Enn', 'Er', 'Ern', 'Eu', 'Ew', - 'Fa', 'Fah', 'Fai', 'Fam', 'Fan', 'Fang', 'Fat', 'Fatt', 'Fay', 'Faye', 'Fee', 'Fei', 'Fen', 'Feng', 'Fern', 'Fey', 'Fok', 'Fon', 'Fong', 'Foo', 'Foon', 'Foong', 'Fu', 'Fui', 'Fuk', 'Fun', 'Fung', - 'Gai', 'Gak', 'Gam', 'Gan', 'Gao', 'Gau', 'Gee', 'Gek', 'Geng', 'Gi', 'Giap', 'Gin', 'Git', 'Go', 'Goh', 'Gok', 'Gon', 'Gong', 'Goo', 'Goon', 'Gu', 'Gui', 'Guk', 'Gun', 'Gung', 'Gunn', - 'Ha', 'Haa', 'Hah', 'Hai', 'Han', 'Hang', 'Hao', 'Har', 'Haw', 'He', 'Hee', 'Hei', 'Hen', 'Heng', 'Heong', 'Her', 'Hew', 'Hi', 'Hii', 'Hin', 'Hing', 'Hiong', 'Hiu', - 'Ho', 'Hoe', 'Hoi', 'Hok', 'Hom', 'Hon', 'Hong', 'Hoo', 'Hooi', 'Hook', 'Hoon', 'Hoong', 'Hor', 'Hou', 'How', 'Hoy', 'Hu', 'Hua', 'Huan', 'Huang', 'Hue', 'Hui', 'Hun', 'Hung', 'Huo', 'Hup', - 'Jan', 'Jang', 'Jao', 'Jee', 'Jei', 'Jen', 'Jeng', 'Jeong', 'Jer', 'Jet', 'Jett', 'Jeu', 'Ji', 'Jia', 'Jian', 'Jiang', 'Jie', 'Jien', 'Jiet', 'Jim', 'Jin', 'Jing', 'Jio', 'Jiong', 'Jit', 'Jiu', - 'Jo', 'Joe', 'Jong', 'Joo', 'Joon', 'Joong', 'Joy', 'Ju', 'Jun', 'Jung', 'Jye', - 'Ka', 'Kaa', 'Kah', 'Kai', 'Kak', 'Kam', 'Kan', 'Kang', 'Kao', 'Kap', 'Kar', 'Kat', 'Kau', 'Kaw', 'Kay', 'Ke', 'Kean', 'Keang', 'Keat', 'Kee', 'Kei', 'Kek', 'Ken', 'Keng', 'Ker', 'Keu', 'Kew', 'Key', - 'Kha', 'Khai', 'Khan', 'Khang', 'Khar', 'Khaw', 'Khay', 'Khean', 'Kheang', 'Khee', 'Khi', 'Khia', 'Khian', 'Khiang', 'Kho', 'Khoh', 'Khoi', 'Khoo', 'Khor', 'Khu', 'Khum', 'Khung', - 'Ki', 'Kia', 'Kian', 'Kiang', 'Kiap', 'Kiat', 'Kien', 'Kiet', 'Kim', 'Kin', 'King', 'Kit', 'Ko', 'Koe', 'Koh', 'Koi', 'Kok', 'Kong', 'Koo', 'Koong', 'Koor', 'Kor', 'Kou', 'Kow', 'Koy', - 'Ku', 'Kua', 'Kuang', 'Kui', 'Kum', 'Kun', 'Kung', 'Kuo', 'Kuong', 'Kuu', - 'La', 'Lai', 'Lak', 'Lam', 'Lan', 'Lang', 'Lao', 'Lap', 'Lar', 'Lat', 'Lau', 'Law', 'Lay', - 'Le', 'Lea', 'Lean', 'Leang', 'Leat', 'Lee', 'Leen', 'Leet', 'Lei', 'Lein', 'Leik', 'Leiu', 'Lek', 'Len', 'Leng', 'Leon', 'Leong', 'Leow', 'Ler', 'Leu', 'Leung', 'Lew', 'Lex', 'Ley', - 'Li', 'Liah', 'Lian', 'Liang', 'Liao', 'Liat', 'Liau', 'Liaw', 'Lie', 'Liek', 'Liem', 'Lien', 'Liet', 'Lieu', 'Liew', 'Lih', 'Lik', 'Lim', 'Lin', 'Ling', 'Lio', 'Lion', 'Liong', 'Liow', 'Lip', 'Lit', 'Liu', - 'Lo', 'Loh', 'Loi', 'Lok', 'Long', 'Loo', 'Looi', 'Look', 'Loon', 'Loong', 'Lor', 'Lou', 'Low', 'Loy', - 'Lu', 'Lua', 'Lui', 'Luk', 'Lum', 'Lun', 'Lung', 'Luo', 'Lup', 'Luu', - 'Ma', 'Mae', 'Mag', 'Mah', 'Mai', 'Mak', 'Man', 'Mang', 'Mao', 'Mar', 'Mat', 'Mau', 'Maw', 'May', 'Me', 'Mea', 'Mee', 'Meg', 'Meh', 'Mei', 'Mek', 'Mel', 'Men', 'Meu', 'Mew', - 'Mi', 'Mie', 'Miin', 'Miing', 'Min', 'Ming', 'Miu', 'Mo', 'Moh', 'Moi', 'Mok', 'Mon', 'Mong', 'Moo', 'Moon', 'Moong', 'Mou', 'Mow', 'Moy', 'Mu', 'Mua', 'Mui', 'Mum', 'Mun', 'Muu', - 'Na', 'Naa', 'Nah', 'Nai', 'Nam', 'Nan', 'Nao', 'Nau', 'Nee', 'Nei', 'Neng', 'Neo', 'Neu', 'New', 'Nga', 'Ngah', 'Ngai', 'Ngan', 'Ngao', 'Ngau', 'Ngaw', 'Ngo', 'Ngu', 'Ni', 'Nian', 'Niang', 'Niao', 'Niau', 'Nien', 'Nik', 'Nin', 'Niu', 'Nong', 'Nyet', - 'Oh', 'Oi', 'Ong', 'Onn', 'Oo', 'Ooi', - 'Pah', 'Pai', 'Pak', 'Pam', 'Pan', 'Pang', 'Pao', 'Pat', 'Pau', 'Paw', 'Pay', 'Peh', 'Pei', 'Peik', 'Pek', 'Pen', 'Peng', 'Pey', - 'Phang', 'Pheng', 'Phong', 'Pik', 'Pin', 'Ping', 'Po', 'Poh', 'Pok', 'Pom', 'Pong', 'Pooi', 'Pou', 'Pow', 'Pu', 'Pua', 'Puah', 'Pui', 'Pun', - 'Qi', 'Qin', 'Qing', 'Qiu', 'Qu', 'Quan', 'Quay', 'Quen', 'Qui', 'Quek', 'Quok', - 'Rei', 'Ren', 'Rin', 'Ring', 'Rinn', 'Ron', 'Rong', 'Rou', 'Ru', 'Rui', 'Ruo', - 'Sai', 'Sam', 'San', 'Sang', 'Say', 'Sha', 'Shak', 'Sham', 'Shan', 'Shang', 'Shao', 'Shar', 'Shau', 'Shaw', 'Shay', 'She', 'Shea', 'Shee', 'Shei', 'Shek', 'Shen', 'Sher', 'Shew', 'Shey', 'Shi', 'Shia', 'Shian', 'Shiang', 'Shiao', 'Shie', 'Shih', 'Shik', 'Shim', 'Shin', 'Shing', 'Shio', 'Shiu', - 'Sho', 'Shok', 'Shong', 'Shoo', 'Shou', 'Show', 'Shu', 'Shui', 'Shuk', 'Shum', 'Shun', 'Shung', 'Shuo', 'Si', 'Sia', 'Siah', 'Siak', 'Siam', 'Sian', 'Siang', 'Siao', 'Siau', 'Siaw', 'Sien', 'Sieu', 'Siew', 'Sih', 'Sik', 'Sim', 'Sin', 'Sing', 'Sio', 'Siong', 'Siou', 'Siow', 'Sit', 'Siu', - 'So', 'Soh', 'Soi', 'Sok', 'Son', 'Song', 'Soo', 'Soon', 'Soong', 'Sou', 'Sow', 'Su', 'Suan', 'Suang', 'Sue', 'Suen', 'Sui', 'Suk', 'Sum', 'Sun', 'Sung', 'Suo', - 'Ta', 'Tai', 'Tak', 'Tam', 'Tan', 'Tang', 'Tao', 'Tar', 'Tat', 'Tatt', 'Tau', 'Tay', 'Tea', 'Teak', 'Tean', 'Tee', 'Teh', 'Tei', 'Tek', 'Ten', 'Teng', 'Teo', 'Teoh', 'Ter', 'Tet', 'Teu', 'Tew', 'Tey', - 'Tha', 'Thai', 'Tham', 'Thang', 'Thau', 'Thay', 'Thee', 'Theo', 'Ther', 'Thew', 'They', 'Thia', 'Thian', 'Thien', 'Tho', 'Thok', 'Thong', 'Thoo', 'Thor', 'Thou', 'Thu', 'Thuk', 'Thum', 'Thung', 'Thur', 'Ti', 'Tia', 'Tiah', 'Tiak', 'Tiam', 'Tian', 'Tiang', 'Tiek', 'Tien', 'Tik', 'Tim', 'Tin', 'Ting', 'Tio', 'Tiong', 'Tiu', - 'To', 'Toh', 'Tok', 'Tong', 'Too', 'Tor', 'Tou', 'Tow', 'Tu', 'Tuk', 'Tung', - 'Ung', - 'Vin', 'Von', 'Voon', - 'Wa', 'Wah', 'Wai', 'Wan', 'Wang', 'Way', 'Wee', 'Wei', 'Wen', 'Weng', 'Wey', 'Whay', 'Whey', 'Wi', 'Win', 'Wing', 'Wo', 'Woh', 'Woi', 'Wok', 'Won', 'Wong', 'Woo', 'Woon', 'Wu', 'Wui', - 'Xi', 'Xia', 'Xiah', 'Xian', 'Xiang', 'Xiao', 'Xiau', 'Xie', 'Xin', 'Xing', 'Xiong', 'Xiu', 'Xu', 'Xun', - 'Yam', 'Yan', 'Yang', 'Yao', 'Yat', 'Yatt', 'Yau', 'Yaw', 'Ye', 'Yee', 'Yen', 'Yeng', 'Yeo', 'Yeoh', 'Yeong', 'Yep', 'Yet', 'Yeu', 'Yew', 'Yi', 'Yih', 'Yii', 'Yik', 'Yin', 'Ying', 'Yip', 'Yit', 'Yo', 'Yok', 'Yon', 'Yong', 'Yoo', 'You', 'Yow', 'Yu', 'Yuan', 'Yue', 'Yuen', 'Yuet', 'Yuk', 'Yun', 'Yung', 'Yup', 'Yut', 'Yutt', - 'Za', 'Zai', 'Zang', 'Zao', 'Zau', 'Zea', 'Zeah', 'Zed', 'Zee', 'Zen', 'Zeng', 'Zeo', 'Zet', - 'Zha', 'Zhai', 'Zhan', 'Zhang', 'Zhao', 'Zhau', 'Zhee', 'Zhen', 'Zheng', 'Zhet', 'Zhi', 'Zhong', 'Zhu', 'Zhung', - 'Zi', 'Zia', 'Ziah', 'Ziak', 'Zian', 'Ziang', 'Ziao', 'Ziau', 'Zit', 'Zo', 'Zoe', 'Zou', 'Zu', 'Zui', 'Zuk', 'Zung', - ]; - - /** - * Chinese male third character - * - * @see https://en.wikipedia.org/wiki/Chinese_given_name - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent - */ - protected static $firstNameMaleChinese = [ - 'Aik', 'Ang', 'Au', 'Aun', - 'Bak', 'Ban', 'Bang', 'Bao', 'Bau', 'Ben', 'Beng', 'Bing', 'Bok', 'Bong', 'Boo', 'Boon', 'Bow', 'Buk', 'Bun', 'Bung', - 'Chai', 'Chak', 'Chan', 'Chang', 'Chao', 'Chap', 'Chat', 'Chau', 'Chaw', - 'Cheah', 'Chee', 'Cheen', 'Chek', 'Chen', 'Cheong', 'Cher', 'Chet', 'Chew', - 'Chia', 'Chih', 'Chik', 'Chin', 'Ching', 'Chit', 'Chiu', - 'Cho', 'Choi', 'Chok', 'Chon', 'Chong', 'Choo', 'Chooi', 'Choon', 'Choong', 'Chor', 'Chou', 'Chow', 'Choy', - 'Chua', 'Chuah', 'Chuan', 'Chua', 'Chui', 'Chuk', 'Chum', 'Chun', 'Chung', 'Chuo', 'Chye', - 'Dan', 'Dao', 'Dau', 'Dee', 'Deng', 'Di', 'Dim', 'Din', 'Diong', 'Dong', 'Dou', 'Du', 'Dui', 'Duo', - 'Eu', 'Ew', - 'Fai', 'Fam', 'Fat', 'Fatt', 'Fee', 'Feng', 'Fok', 'Fon', 'Fong', 'Foo', 'Foon', 'Foong', 'Fu', 'Fui', 'Fuk', - 'Gai', 'Gak', 'Gam', 'Gan', 'Gao', 'Gau', 'Gee', 'Gek', 'Geng', 'Giap', 'Gin', 'Git', 'Go', 'Goh', 'Gok', 'Gon', 'Gong', 'Gu', 'Guk', 'Gun', 'Gung', 'Gunn', - 'Hai', 'Han', 'Hang', 'Har', 'Haw', 'Hei', 'Hen', 'Heng', 'Hing', - 'Ho', 'Hoe', 'Hoi', 'Hok', 'Hom', 'Hon', 'Hong', 'Hoo', 'Hook', 'Hoon', 'Hoong', 'Hor', 'Hou', 'How', 'Hoy', 'Hu', 'Huan', 'Huang', 'Hun', 'Hung', 'Huo', 'Hup', - 'Jeong', 'Jer', 'Jet', 'Jett', 'Jeu', 'Ji', 'Jian', 'Jiang', 'Jiet', 'Jim', 'Jin', 'Jio', 'Jiong', 'Jit', 'Jiu', 'Jo', 'Joe', 'Joong', 'Jung', 'Jye', - 'Kai', 'Kan', 'Kang', 'Kao', 'Kap', 'Kau', 'Kaw', 'Kean', 'Keang', 'Keat', 'Kek', 'Ken', 'Keng', 'Ker', 'Keu', 'Kew', - 'Khai', 'Khan', 'Khang', 'Khaw', 'Khean', 'Kheang', 'Khia', 'Khian', 'Khiang', 'Kho', 'Khoh', 'Khoi', 'Khoo', 'Khu', 'Khung', - 'Kia', 'Kian', 'Kiang', 'Kiap', 'Kiat', 'Kien', 'Kiet', 'Kin', 'King', 'Kit', 'Ko', 'Koi', 'Kok', 'Kong', 'Koo', 'Koong', 'Koor', 'Kou', 'Kow', 'Koy', - 'Ku', 'Kuang', 'Kui', 'Kun', 'Kung', 'Kuo', 'Kuong', 'Kuu', - 'Lak', 'Lam', 'Lang', 'Lao', 'Lap', 'Lar', 'Lat', 'Lau', 'Law', - 'Lean', 'Leang', 'Leat', 'Lee', 'Leet', 'Leik', 'Leiu', 'Lek', 'Len', 'Leon', 'Leong', 'Leow', 'Leung', 'Lew', 'Lex', - 'Liang', 'Liao', 'Liat', 'Liau', 'Liaw', 'Liek', 'Liem', 'Liet', 'Lieu', 'Liew', 'Lih', 'Lik', 'Lim', 'Lio', 'Lion', 'Liong', 'Liow', 'Lip', 'Lit', 'Liu', - 'Lo', 'Loh', 'Loi', 'Lok', 'Long', 'Loo', 'Looi', 'Look', 'Loon', 'Loong', 'Lor', 'Lou', 'Low', 'Loy', - 'Lu', 'Luk', 'Lum', 'Lun', 'Lung', 'Lup', - 'Man', 'Mang', 'Mao', 'Mar', 'Mat', 'Mau', 'Maw', 'Mek', 'Men', - 'Mo', 'Mok', 'Mon', 'Mong', 'Moong', 'Mou', 'Mow', 'Mu', - 'Nam', 'Nan', 'Nau', 'Neng', 'Neo', 'Neu', 'Ngai', 'Ngao', 'Ngau', 'Ngaw', 'Ngo', 'Niao', 'Niau', 'Nien', 'Nik', 'Niu', 'Nyet', - 'Oh', 'Oi', 'Ong', 'Onn', 'Oo', - 'Pah', 'Pai', 'Pak', 'Pang', 'Pao', 'Pat', 'Pau', 'Paw', 'Pen', 'Peng', - 'Phang', 'Pheng', 'Phong', 'Pok', 'Pou', 'Pow', 'Pu', 'Pua', 'Puah', - 'Quan', 'Quen', 'Quek', 'Quok', - 'Ren', 'Ron', - 'Sai', 'Sam', 'San', 'Sang', 'Shak', 'Sham', 'Shang', 'Shao', 'Shau', 'Shaw', 'Shek', 'Shen', 'Shiang', 'Shih', 'Shik', 'Shim', 'Shing', 'Shio', 'Shiu', - 'Sho', 'Shong', 'Shoo', 'Shou', 'Show', 'Shun', 'Shung', 'Shuo', 'Siam', 'Siang', 'Siau', 'Siaw', 'Sieu', 'Sih', 'Sik', 'Sing', 'Sio', 'Siong', 'Siou', 'Siow', 'Sit', - 'Son', 'Song', 'Soon', 'Soong', 'Sou', 'Sow', 'Suang', 'Sum', 'Sung', 'Suo', - 'Ta', 'Tak', 'Tan', 'Tang', 'Tao', 'Tar', 'Tat', 'Tatt', 'Tau', 'Teak', 'Tean', 'Tee', 'Teh', 'Tei', 'Tek', 'Ten', 'Teng', 'Teo', 'Teoh', 'Ter', 'Tet', 'Teu', 'Tew', - 'Tha', 'Thai', 'Tham', 'Thang', 'Thau', 'Thay', 'Thee', 'Theo', 'Ther', 'Thew', 'They', 'Thian', 'Thien', 'Tho', 'Thok', 'Thong', 'Thoo', 'Thor', 'Thou', 'Thu', 'Thuk', 'Thum', 'Thung', 'Thur', 'Tiak', 'Tiam', 'Tian', 'Tiang', 'Tiek', 'Tien', 'Tik', 'Tim', 'Tin', 'Tio', 'Tiong', 'Tiu', - 'To', 'Toh', 'Tok', 'Tong', 'Too', 'Tor', 'Tou', 'Tow', 'Tu', 'Tuk', 'Tung', - 'Ung', - 'Vin', 'Von', - 'Wa', 'Wah', 'Wai', 'Wang', 'Way', 'Wee', 'Wei', 'Weng', 'Whay', 'Win', 'Wing', 'Wo', 'Woh', 'Woi', 'Wok', 'Won', 'Wong', 'Woo', 'Wu', 'Wui', - 'Xiang', 'Xiong', - 'Yang', 'Yao', 'Yat', 'Yatt', 'Yau', 'Yaw', 'Ye', 'Yeng', 'Yeo', 'Yeoh', 'Yeong', 'Yet', 'Yih', 'Yii', 'Yik', 'Yip', 'Yit', 'Yo', 'Yok', 'Yon', 'Yong', 'Yoo', 'You', 'Yow', 'Yu', 'Yuen', 'Yuet', 'Yuk', 'Yut', 'Yutt', - 'Za', 'Zai', 'Zang', 'Zao', 'Zau', 'Zea', 'Zeah', 'Zed', 'Zee', 'Zen', 'Zeng', 'Zeo', 'Zet', - 'Zha', 'Zhai', 'Zhan', 'Zhang', 'Zhao', 'Zhau', 'Zhee', 'Zheng', 'Zhet', 'Zhong', 'Zhu', 'Zhung', - 'Ziak', 'Zian', 'Ziang', 'Ziao', 'Ziau', 'Zit', 'Zuk', 'Zung', - ]; - - /** - * Chinese female third character - * - * @see https://en.wikipedia.org/wiki/Chinese_given_name - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent - */ - protected static $firstNameFemaleChinese = [ - 'Ai', 'An', 'Ann', 'Aw', - 'Bae', 'Bai', 'Bee', 'Beh', 'Bei', 'Bi', 'Bik', 'Bin', 'Bui', - 'Cai', 'Cee', 'Cen', 'Cham', 'Cheam', 'Chean', 'Cheang', 'Cheng', 'Cheok', 'Chi', 'Ching', 'Chio', 'Chu', - 'Dai', 'Dang', 'Ding', 'Do', 'Doo', - 'Ee', 'En', 'Enn', 'Er', 'Ern', - 'Fah', 'Fan', 'Fang', 'Fay', 'Faye', 'Fei', 'Fen', 'Fern', 'Fey', 'Fong', 'Fun', 'Fung', - 'Gi', 'Goo', 'Goon', 'Gui', - 'Ha', 'Haa', 'Hah', 'Hao', 'He', 'Hee', 'Heong', 'Her', 'Hew', 'Hi', 'Hii', 'Hin', 'Hiong', 'Hiu', 'Hooi', 'Hua', 'Hue', 'Hui', - 'Jan', 'Jang', 'Jao', 'Jee', 'Jei', 'Jen', 'Jeng', 'Jia', 'Jie', 'Jien', 'Jing', 'Jong', 'Joo', 'Joon', 'Joy', 'Ju', 'Jun', - 'Ka', 'Kaa', 'Kah', 'Kak', 'Kam', 'Kar', 'Kat', 'Kay', 'Ke', 'Kee', 'Kei', 'Key', - 'Kha', 'Khar', 'Khay', 'Khee', 'Khi', 'Khor', 'Khum', - 'Ki', 'Kim', 'Koe', 'Koh', 'Kor', 'Kum', 'Kua', - 'Lai', 'Lan', 'Lay', - 'Le', 'Lea', 'Leen', 'Lei', 'Lein', 'Leng', 'Ler', 'Leu', 'Ley', - 'Li', 'Liah', 'Lian', 'Lie', 'Lien', 'Lin', 'Ling', - 'Lua', 'Lui', 'Luo', 'Luu', - 'Ma', 'Mae', 'Mag', 'Mah', 'Mai', 'Mak', 'May', 'Me', 'Mea', 'Mee', 'Meg', 'Meh', 'Mei', 'Mel', 'Meu', 'Mew', - 'Mi', 'Mie', 'Miin', 'Miing', 'Min', 'Ming', 'Miu', 'Moh', 'Moi', 'Moo', 'Moon', 'Moy', 'Mua', 'Mui', 'Mum', 'Mun', 'Muu', - 'Na', 'Naa', 'Nah', 'Nai', 'Nao', 'Nee', 'Nei', 'New', 'Nga', 'Ngah', 'Ngan', 'Ngu', 'Ni', 'Nian', 'Niang', 'Nin', 'Nong', - 'Ooi', - 'Pam', 'Pan', 'Pay', 'Peh', 'Pei', 'Peik', 'Pek', 'Pey', 'Pik', 'Pin', 'Ping', 'Po', 'Poh', 'Pom', 'Pong', 'Pooi', 'Pui', 'Pun', - 'Qi', 'Qin', 'Qing', 'Qiu', 'Qu', 'Quay', 'Qui', - 'Rei', 'Rin', 'Ring', 'Rinn', 'Rong', 'Rou', 'Ru', 'Rui', 'Ruo', - 'Say', 'Sha', 'Shan', 'Shar', 'Shay', 'She', 'Shea', 'Shee', 'Shei', 'Sher', 'Shew', 'Shey', 'Shi', 'Shia', 'Shian', 'Shiao', 'Shie', 'Shin', - 'Shok', 'Shu', 'Shui', 'Shuk', 'Shum', 'Si', 'Sia', 'Siah', 'Siak', 'Sian', 'Siao', 'Sien', 'Siew', 'Sim', 'Sin', 'Siu', - 'So', 'Soh', 'Soi', 'Sok', 'Soo', 'Su', 'Suan', 'Sue', 'Suen', 'Sui', 'Suk', 'Sun', - 'Tai', 'Tam', 'Tay', 'Tea', 'Teng', 'Tey', 'Thia', 'Ti', 'Tia', 'Tiah', 'Ting', - 'Voon', - 'Wan', 'Wen', 'Wey', 'Whey', 'Wi', 'Woon', - 'Xi', 'Xia', 'Xiah', 'Xian', 'Xiao', 'Xiau', 'Xie', 'Xin', 'Xing', 'Xiu', 'Xu', 'Xun', - 'Yam', 'Yan', 'Yee', 'Yen', 'Yep', 'Yeu', 'Yew', 'Yi', 'Yin', 'Ying', 'Yong', 'Yuan', 'Yue', 'Yuen', 'Yun', 'Yung', 'Yup', - 'Zhen', 'Zhi', 'Zi', 'Zia', 'Ziah', 'Zo', 'Zoe', 'Zou', 'Zu', 'Zui', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Chaoshanese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Chinese_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_English_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hakka_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hockchew_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hokkien_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Peranakan_descent - * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent - */ - protected static $firstNameMaleChristian = [ - 'Aaron', 'Addy', 'Adrian', 'Alex', 'Amos', 'Anthony', - 'Bernard', 'Billy', - 'Chris', 'Christopher', 'Colin', - 'Danell', 'Daniel', 'Danny', 'David', 'Douglas', - 'Eddie', 'Eddy', 'Edmund', 'Eric', - 'Francis', 'Frankie', - 'Gary', 'Gavin', 'George', 'Gregory', - 'Henry', - 'Isaac', - 'James', 'Jason', 'Jeff', 'Jeffrey', 'Jimmy', 'John', 'Jonathan', 'Josiah', 'Julian', - 'Kevin', 'Kris', - 'Mark', 'Martin', 'Mavin', 'Melvin', 'Michael', - 'Nathaniel', 'Nelson', 'Nicholas', - 'Peter', 'Philip', - 'Richard', 'Robert', 'Roger', 'Ronny', 'Rynn', - 'Shaun', 'Simon', 'Stephen', 'Steven', - 'Terry', 'Tony', - 'Victor', 'Vince', 'Vincent', - 'Welson', 'William', 'Willie', - ]; - protected static $firstNameFemaleChristian = [ - 'Alice', 'Alyssa', 'Amber', 'Amy', 'Andrea', 'Angelica', 'Angie', 'Apple', 'Aslina', - 'Bernice', 'Betty', 'Boey', 'Bonnie', - 'Caemen', 'Carey', 'Carmen', 'Carrie', 'Cindy', - 'Debbie', - 'Elaine', 'Elena', - 'Felixia', 'Fish', 'Freya', - 'Genervie', 'Gin', - 'Hannah', 'Heidi', 'Helena', - 'Janet', 'Jemie', 'Jess', 'Jesseca', 'Jessie', 'Joanna', 'Jolene', 'Joyce', 'Juliana', - 'Karen', 'Kathleen', - 'Lilian', 'Linda', 'Lydia', 'Lyndel', - 'Maria', 'Marilyn', 'Maya', 'Meeia', 'Melinda', 'Melissa', 'Michelle', 'Michele', - 'Nadia', 'Natalie', 'Nicole', - 'Penny', - 'Phyllis', - 'Quincy', - 'Rachel', 'Rena', 'Rose', - 'Samantha', 'Sarah', 'Sheena', 'Sherine', 'Shevon', 'Sonia', 'Stella', - 'Teresa', 'Tiffany', 'Tracy', 'Tricia', - 'Vera', 'Violet', 'Vivian', 'Vivien', - 'Yvonne', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent - * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people - */ - protected static $initialIndian = [ - 'B. ', 'B. C. ', - 'C. ', - 'D. ', 'D. R. ', 'D. S. ', - 'E. ', - 'G. ', - 'K. ', 'K. L. ', 'K. R.', 'K. S. ', - 'M. ', 'M. G. ', 'M. G. G. ', 'M. K. ', - 'N. ', 'N. K. ', - 'P. ', - 'R. ', 'R. G. ', 'R. S. ', - 'S. ', 'S. A. ', - 'T. ', - 'V. ', 'V. T. ', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/K._L._Devaser - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent - * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people - */ - protected static $firstNameMaleIndian = [ - 'Anbil', 'Ananda', 'Arasu', 'Arul', 'Arulraj', 'Arumugam', 'Ash', - 'Babu', 'Balachandra', 'Balasubramaniam', 'Balden', 'Baljit', 'Baltej', 'Bishan', - 'Canagasabai', 'Cecil', 'Chakra', 'Chanturu', - 'Depan', 'Darma Raja', 'Devaki', 'Devamany', 'Devan', 'Devasagayam', 'Diljit', 'Doraisingam', - 'Ganesh', 'Ganga', 'Gengadharan', 'Gobalakrishnan', 'Gobind', 'Gopinathan', 'Govindasamy', 'Gunasekaran', 'Gurmit', - 'Haran', 'Harikrish', 'Hiresh', 'Huzir', - 'Indi', - 'Jagdeep', 'Janil', 'Jeevandran', 'Jegathesan', 'Jeyakumar', 'Jomo Kwame', - 'Kamal', 'Kamalanathan', 'Kanagaraj', 'Kandasamy', 'Kandiah', 'Karamjit', 'Karnail', 'Karpal', 'Kasi', 'Kasinather', 'Kavi', 'Kavidhai', 'Kishor', 'Krishen', 'Krishnamoorthy', 'Krishnamurthi', 'Krishnasamy', 'Kulasegaran', 'Kumar', 'Kumutha', 'Kuhan', 'Kunanlan', 'Kundan Lal', 'Kunjiraman', - 'Loganathan', - 'Magendran', 'Maha', 'Mahadev', 'Mahaletchumy', 'Mahathir', 'Maniam', 'Manickavasagam', 'Manikavasagam', 'Manjit', 'Manogaran', 'Manoharan', 'Manrick', 'Marimuthu', 'Merican', 'Mogan', 'Mohanadas', 'Munshi', 'Murugayan', 'Murugesan', 'Mutahir', - 'Nadarajan', 'Nandakumar', 'Nanthakumar', 'Naraina', 'Nethaji', 'Ninian', - 'Padathan', 'Palanivel', 'Param', 'Paramjit', 'Pavandeep', 'Praboo', 'Pragash', 'Premnath', 'Prema', 'Pria', 'Puvaneswaran', - 'Rabinder', 'Rajagobal', 'Rajesh', 'Rajeswary', 'Rajiv', 'Rakesh', 'Rama', 'Ramasamy', 'Ramesh', 'Ramkarpal', 'Ramon', 'Rattan', 'Ravichandran', 'Rehman', 'Renuga', 'Rohan', 'Rueben', - 'Saarvindran', 'Samy', 'Sanisvara', 'Sanjay', 'Santhara', 'Santokh', 'Sarath', 'Saravanan', 'Sarjit', 'Sasikumar', 'Satwant', 'Selvakkumar', 'Selvaraju', 'Serbegeth', 'Shan', 'Shankar', 'Shanmugam', 'Sittampalam', 'Sivakumar', 'Sivarasa', 'Solamalay', 'Sothinathan', 'Subramaniam', 'Sukhjit', 'Sumisha', 'Surendran', 'Suresh', 'Suriaprakash', - 'Tatparanandam', 'Tanasekharan', 'Thamboosamy', 'Thamil', 'Thayaparan', 'Thirumurugan', 'Thirunavuk', - 'Uthayakumar', - 'Varatharaju', 'Veenod', 'Veerappan', 'Veerappen', 'Veloo', 'Vasudevan', 'Vellu', 'Viatilingam', 'Vijandren', 'Vinod', 'Vishnu', 'Vivasvan', - 'Waythamoorthy', 'Weeratunge', - 'Yosri', 'Yugendran', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent - * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people - */ - protected static $firstNameFemaleIndian = [ - 'Ambiga', 'Anaika', 'Anand', 'Anita', 'Asha', 'Athi', - 'Gheetha', - 'Haanii', - 'Janaky', - 'Kasthuriraani', 'Kavita', 'Kiran', - 'Melinder', - 'Nithya', - 'Prashanthini', 'Preeta', 'Priya', 'Pushpa', - 'Ramya', 'Rani', 'Rasammah', 'Renuga', - 'Sangeeta', 'Sannatasah', 'Saraswati', 'Shamini', 'Shanthi', 'Shanti', 'Shoba', 'Shuba', 'Siva', 'Sutheaswari', 'Swarna', 'Sybil', - 'Thanuja', 'Theiviya', 'Thripura', - 'Umasundari', 'Uthaya', - 'Vijaya', - 'Zabrina', - ]; - - /** - * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent - * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent - * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people - */ - protected static $lastNameIndian = [ - 'Alagaratnam', 'Ambumamee', 'Ammasee', 'Ampalavanar', 'Ananthan', 'Arivanathan', 'Arujunan', 'Arumugam', 'Asirvatham', 'Autherapady', - 'Balakrishnan', 'Balan', 'Bamadhaj', 'Bastianpillai', 'Bhullar', 'Bhupalan', - 'Chandran', 'Cumaraswamy', 'Chelvan', 'Chengara', - 'Dairiam', 'Davies', 'Devaraj', 'Devandran', 'Devaser', 'Dhaliwal', 'Dharmalingam', 'Dhillon', - 'Elavarasan', - 'Fernandes', 'Fernandez', - 'Ganapathy', 'Ganesan', 'Gnanalingam', 'Goundar', 'Govindasamy', 'Gunalan', 'Gurusamy', - 'Haridas', - 'Iyer', - 'Jaidka', 'Jassal', 'Jayaram', 'Jayaseelan', 'Jayawardene', 'Jeevananthan', - 'Kaliappan', 'Kamalesvaran', 'Kandasamy', 'Karathu', 'Kathigasu', 'Kathiripillai', 'Kaveri', 'Kayveas', 'Krishnan', 'Krishnasamy', 'Kumar', 'Kumaresan', 'Kumari', 'Kunalan', 'Kundargal', 'Kuppusamy', - 'Lakshmi', 'Linggam', 'Lourdenadin', - 'Madhavan', 'Mahathevan', 'Malayalam', 'Manicka', 'Manikavasagam', 'Marimuthu', 'Menon', 'Mohinder', 'Moorthy', 'Mudukasan', 'Muniandy', 'Munisamy', 'Munusamy', 'Murugan', 'Murugeson', - 'Nadarajah', 'Nagapan', 'Nagappan', 'Nagaraj', 'Nagarajan', 'Nahappan', 'Naidu', 'Nair', 'Namasivayam', 'Narayan', 'Navaratnam', 'Navarednam', 'Nayar', 'Nijhar', - 'Pakiam', 'Palaniappan', 'Palanisamy', 'Panchanathan', 'Pandithan', 'Parthiban', 'Pathmanaban', 'Patto', 'Pereira', 'Perera', 'Periasamy', 'Perumal', 'Pillai', 'Pillay', 'Ponnusamy', 'Prakash', 'Puaneswaran', 'Purushothaman', 'Puspanathan', 'Puthucheary', - 'Raj Kaur', 'Rajakumar', 'Rajan', 'Rajannaidu', 'Rajendra', 'Rajendran', 'Rajhans', 'Raju', 'Ramachandra', 'Ramadas', 'Ramadass', 'Ramanathan', 'Ramani', 'Ramasamy', 'Raj', 'Rao', 'Rasiah', 'Ratnam', 'Ravindran', 'Rayer', 'Retinam', 'Rishyakaran', 'Robbat', - 'Sachithanandan', 'Sakadivan', 'Sakwati', 'Samarasan', 'Sambanthan', 'Sandrakasi', 'Sangalimuthu', 'Saniru', 'Sankar', 'Saravanan', 'Sathasivam', 'Sathianathan', 'Saunthararajah', 'Seenivasagam', 'Sekhar', 'Sellan', 'Selvanayagam', 'Selvarajoo', 'Selvaratnam', 'Shanmuganathan', 'Shanmugaratnam', 'Shekhar', 'Shivraj', 'Shree', 'Sidhu', 'Sinnandavar', 'Sinnathamby', 'Sinnathuray', 'Sivanesan', 'Singh', 'Sivalingam', 'Sivanesan', 'Shankar', 'Sodhy', 'Somasundram', 'Sooryapparad', 'Soti', 'Sreenevasan', 'Subramaniam', 'Sundram', 'Suppiah', 'Surendran', - 'Thajudeen', 'Thalalla', 'Thambu', 'Thanabalasingam', 'Thanenthiran', 'Theseira', 'Thevandran', 'Thiru', 'Thirunavukarasu', 'Thivy', 'Thuraisingham', 'Tikaram', - 'Vadaketh', 'Vadiveloo', 'Vanajah', 'Varman', 'Vasudevan', 'Veeran', 'Veerasamy', 'Veerasenan', 'Veerathan', 'Veetil', 'Velappan', 'Vello', 'Vengatarakoo', 'Vethamuthu', 'Viswalingam', - 'Xavier', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Malay_styles_and_titles - */ - protected static $titleMale = ['En.', 'Dr.', 'Prof.', 'Datuk', 'Dato\'', 'Datuk Seri', 'Dato\' Sri', 'Tan Sri', 'Tun']; - protected static $titleFemale = ['Pn.', 'Cik', 'Dr.', 'Prof.', 'Datin', 'Datin Paduka', 'Datin Paduka Seri', 'Puan Sri', 'Toh Puan']; - - /** - * Return a Malay male first name - * - * @example 'Ahmad' - * - * @return string - */ - public static function firstNameMaleMalay() - { - return static::randomElement(static::$firstNameMaleMalay); - } - - /** - * Return a Malay female first name - * - * @example 'Adibah' - * - * @return string - */ - public static function firstNameFemaleMalay() - { - return static::randomElement(static::$firstNameFemaleMalay); - } - - /** - * Return a Malay last name - * - * @example 'Abdullah' - * - * @return string - */ - public function lastNameMalay() - { - return static::randomElement(static::$lastNameMalay); - } - - /** - * Return a Malay male 'Muhammad' name - * - * @example 'Muhammad' - * - * @return string - */ - public static function muhammadName() - { - return static::randomElement(static::$muhammadName); - } - - /** - * Return a Malay female 'Nur' name - * - * @example 'Nur' - * - * @return string - */ - public static function nurName() - { - return static::randomElement(static::$nurName); - } - - /** - * Return a Malay male 'Haji' title - * - * @example 'Haji' - * - * @return string - */ - public static function haji() - { - return static::randomElement(static::$haji); - } - - /** - * Return a Malay female 'Hajjah' title - * - * @example 'Hajjah' - * - * @return string - */ - public static function hajjah() - { - return static::randomElement(static::$hajjah); - } - - /** - * Return a Malay title - * - * @example 'Syed' - * - * @return string - */ - public static function titleMaleMalay() - { - return static::randomElement(static::$titleMaleMalay); - } - - /** - * Return a Chinese last name - * - * @example 'Lim' - * - * @return string - */ - public static function lastNameChinese() - { - return static::randomElement(static::$lastNameChinese); - } - - /** - * Return a Chinese male first name - * - * @example 'Goh Tong' - * - * @return string - */ - public static function firstNameMaleChinese() - { - return static::randomElement(static::$firstNameChinese) . ' ' . static::randomElement(static::$firstNameMaleChinese); - } - - /** - * Return a Chinese female first name - * - * @example 'Mew Choo' - * - * @return string - */ - public static function firstNameFemaleChinese() - { - return static::randomElement(static::$firstNameChinese) . ' ' . static::randomElement(static::$firstNameFemaleChinese); - } - - /** - * Return a Christian male name - * - * @example 'Aaron' - * - * @return string - */ - public static function firstNameMaleChristian() - { - return static::randomElement(static::$firstNameMaleChristian); - } - - /** - * Return a Christian female name - * - * @example 'Alice' - * - * @return string - */ - public static function firstNameFemaleChristian() - { - return static::randomElement(static::$firstNameFemaleChristian); - } - - /** - * Return an Indian initial - * - * @example 'S. ' - * - * @return string - */ - public static function initialIndian() - { - return static::randomElement(static::$initialIndian); - } - - /** - * Return an Indian male first name - * - * @example 'Arumugam' - * - * @return string - */ - public static function firstNameMaleIndian() - { - return static::randomElement(static::$firstNameMaleIndian); - } - - /** - * Return an Indian female first name - * - * @example 'Ambiga' - * - * @return string - */ - public static function firstNameFemaleIndian() - { - return static::randomElement(static::$firstNameFemaleIndian); - } - - /** - * Return an Indian last name - * - * @example 'Subramaniam' - * - * @return string - */ - public static function lastNameIndian() - { - return static::randomElement(static::$lastNameIndian); - } - - /** - * Return a random last name - * - * @example 'Lee' - * - * @return string - */ - public function lastName() - { - $formats = [ - '{{lastNameMalay}}', - '{{lastNameChinese}}', - '{{lastNameIndian}}', - ]; - - return $this->generator->parse(static::randomElement($formats)); - } - - /** - * Return a Malaysian I.C. No. - * - * @example '890123-45-6789' - * - * @see https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_(NRIC) - * - * @param string|null $gender 'male', 'female' or null for any - * @param bool|string|null $hyphen true, false, or any separator characters - * - * @return string - */ - public static function myKadNumber($gender = null, $hyphen = false) - { - // year of birth - $yy = self::numberBetween(0, 99); - - // month of birth - $mm = DateTime::month(); - - // day of birth - $dd = DateTime::dayOfMonth(); - - // place of birth (1-59 except 17-20) - while (in_array($pb = self::numberBetween(1, 59), [17, 18, 19, 20], false)) { - } - - // random number - $nnn = self::numberBetween(0, 999); - - // gender digit. Odd = MALE, Even = FEMALE - $g = self::numberBetween(0, 9); - //Credit: https://gist.github.com/mauris/3629548 - if ($gender === static::GENDER_MALE) { - $g = $g | 1; - } elseif ($gender === static::GENDER_FEMALE) { - $g = $g & ~1; - } - - // formatting with hyphen - if ($hyphen === true) { - $hyphen = '-'; - } elseif ($hyphen === false) { - $hyphen = ''; - } - - return sprintf('%02d%02d%02d%s%02d%s%03d%01d', $yy, $mm, $dd, $hyphen, $pb, $hyphen, $nnn, $g); - } +class Person extends \Faker\Provider\Person { + protected static $firstNameFormat = [ + '{{firstNameMaleMalay}}', + '{{firstNameFemaleMalay}}', + '{{firstNameMaleChinese}}', + '{{firstNameFemaleChinese}}', + '{{firstNameMaleIndian}}', + '{{firstNameFemaleIndian}}', + '{{firstNameMaleChristian}}', + '{{firstNameFemaleChristian}}', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Malaysian_names + */ + protected static $maleNameFormats = [ + //Malay + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}} bin {{titleMaleMalay}}{{lastNameMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{firstNameMaleMalay}}', + '{{muhammadName}}{{haji}}{{titleMaleMalay}}{{firstNameMaleMalay}} bin {{titleMaleMalay}}{{lastNameMalay}}', + //Chinese + '{{lastNameChinese}} {{firstNameMaleChinese}}', + '{{lastNameChinese}} {{firstNameMaleChinese}}', + '{{lastNameChinese}} {{firstNameMaleChinese}}', + '{{lastNameChinese}} {{firstNameMaleChinese}}', + '{{lastNameChinese}} {{firstNameMaleChinese}}', + '{{firstNameMaleChristian}} {{lastNameChinese}} {{firstNameMaleChinese}}', + //Indian + '{{initialIndian}} {{firstNameMaleIndian}}', + '{{initialIndian}} {{lastNameIndian}}', + '{{firstNameMaleIndian}} a/l {{firstNameMaleIndian}}', + '{{firstNameMaleIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', + '{{firstNameMaleIndian}} {{lastNameIndian}} a/l {{lastNameIndian}}', + '{{firstNameMaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', + '{{firstNameMaleIndian}} {{lastNameIndian}}', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Malaysian_names + */ + protected static $femaleNameFormats = [ + //Malay + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}} binti {{titleMaleMalay}}{{lastNameMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} {{lastNameMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}} {{lastNameMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{firstNameMaleMalay}}', + '{{nurName}}{{hajjah}}{{firstNameFemaleMalay}} binti {{titleMaleMalay}}{{lastNameMalay}}', + //Chinese + '{{lastNameChinese}} {{firstNameFemaleChinese}}', + '{{lastNameChinese}} {{firstNameFemaleChinese}}', + '{{lastNameChinese}} {{firstNameFemaleChinese}}', + '{{lastNameChinese}} {{firstNameFemaleChinese}}', + '{{lastNameChinese}} {{firstNameFemaleChinese}}', + '{{firstNameFemaleChristian}} {{lastNameChinese}} {{firstNameFemaleChinese}}', + //Indian + '{{initialIndian}}{{firstNameFemaleIndian}}', + '{{initialIndian}}{{lastNameIndian}}', + '{{firstNameFemaleIndian}} a/l {{firstNameMaleIndian}}', + '{{firstNameFemaleIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', + '{{firstNameFemaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}}', + '{{firstNameFemaleIndian}} {{lastNameIndian}} a/l {{firstNameMaleIndian}} {{lastNameIndian}}', + '{{firstNameFemaleIndian}} {{lastNameIndian}}', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malay_people + * @see https://samttar.edu.my/senarai-nama-pelajar-2016/ + * @see http://smkspkl.edu.my/senarai-nama-pelajar + */ + protected static $firstNameMaleMalay = [ + 'A', + 'A.r', + 'A\'fif', + 'A\'zizul', + 'Ab', + 'Abadi', + 'Abas', + 'Abd', + 'Abd.', + 'Abd.rahim', + 'Abdel', + 'Abdul', + 'Abdull', + 'Abdullah', + 'Abdulloh', + 'Abu', + 'Adam', + 'Adi', + 'Adib', + 'Adil', + 'Adnan', + 'Ady', + 'Adzmin', + 'Afandy', + 'Afif', + 'Afiq', + 'Afza', + 'Agus', + 'Ahmad', + 'Ahmat', + 'Ahmed', + 'Ahwali', + 'Ahyer', + 'Aidid', + 'Aidil', + 'Aiman', + 'Aimman', + 'Ainol', + 'Ainuddin', + 'Ainul', + 'Aizad', + 'Aizam', + 'Aizat', + 'Aizuddin', + 'Ajis', + 'Ajmal', + 'Ajwad', + 'Akhmal', + 'Akid', + 'Akif', + 'Akmal', + 'Al', + 'Al-afnan', + 'Al-muazrar', + 'Alfian', + 'Ali', + 'Alias', + 'Alif', + 'Aliff', + 'Alilah', + 'Alin', + 'Allif', + 'Amaanullah', + 'Amami', + 'Aman', + 'Amar', + 'Ameershah', + 'Amier', + 'Amierul', + 'Amil', + 'Amin', + 'Aminuddin', + 'Amir', + 'Amiruddin', + 'Amirul', + 'Ammar', + 'Amran', + 'Amri', + 'Amru', + 'Amrullah', + 'Amsyar', + 'Anas', + 'Andri', + 'Aniq', + 'Anuar', + 'Anuwar', + 'Anwar', + 'Aqeel', + 'Aqif', + 'Aqil', + 'Arash', + 'Arbani', + 'Arefin', + 'Arief', + 'Arif', + 'Arifen', + 'Ariff', + 'Ariffin', + 'Arifin', + 'Armi', + 'Ashraf', + 'Ashraff', + 'Ashrof', + 'Ashrul', + 'Aslam', + 'Asmawi', + 'Asmin', + 'Asmuri', + 'Asraf', + 'Asri', + 'Asrialif', + 'Asror', + 'Asrul', + 'Asymawi', + 'Asyraaf', + 'Asyraf', + 'Atan', + 'Athari', + 'Awaludin', + 'Awira', + 'Azam', + 'Azely', + 'Azfar', + 'Azhan', + 'Azhar', + 'Azhari', + 'Azib', + 'Azim', + 'Aziz', + 'Azizan', + 'Azizul', + 'Azizulhasni', + 'Azlan', + 'Azlee', + 'Azli', + 'Azman', + 'Azmi', + 'Azmie', + 'Azmin', + 'Aznan', + 'Aznizam', + 'Azraai', + 'Azri', + 'Azrie', + 'Azrien', + 'Azril', + 'Azrin', + 'Azrul', + 'Azry', + 'Azuan', + 'Badri', + 'Badrullesham', + 'Baharin', + 'Baharuddin', + 'Bahrul', + 'Bakri', + 'Basaruddin', + 'Basiran', + 'Basirin', + 'Basri', + 'Basyir', + 'Bazli', + 'Borhan', + 'Buang', + 'Budi', + 'Bukhari', + 'Bukharudin', + 'Bustaman', + 'Buyung', + 'Chailan', + 'Dahalan', + 'Dailami', + 'Dan', + 'Danial', + 'Danie', + 'Daniel', + 'Danien', + 'Danish', + 'Darimin', + 'Darul', + 'Darus', + 'Darwisy', + 'Dhiyaulhaq', + 'Diah', + 'Djuhandie', + 'Dolbahrin', + 'Dolkefli', + 'Dzikri', + 'Dzul', + 'Dzulfahmi', + 'Dzulfikri', + 'Dzulkarnaen', + 'Eazriq', + 'Effendi', + 'Ehza', + 'Eizkandar', + 'Ekhsan', + 'Elyas', + 'Enidzullah', + 'Ezam', + 'Ezani', + 'Fadhil', + 'Fadly', + 'Fadzil', + 'Fadziruddin', + 'Fadzli', + 'Fahmi', + 'Faiq', + 'Fairuz', + 'Faisal', + 'Faiz', + 'Faizal', + 'Faizurrahman', + 'Fakhrul', + 'Fakhrullah', + 'Farham', + 'Farhan', + 'Farid', + 'Faris', + 'Farisan', + 'Fariz', + 'Fasil', + 'Fateh', + 'Fathi', + 'Fathuddin', + 'Fathul', + 'Fauzan', + 'Fauzi', + 'Fauzul', + 'Fawwaz', + 'Fazal', + 'Fazly', + 'Fazreen', + 'Fazril', + 'Fendi', + 'Fikri', + 'Fikrie', + 'Fikrul', + 'Firdaus', + 'Fithri', + 'Fitiri', + 'Fitri', + 'Fuad', + 'Ghazali', + 'Habib', + 'Haddad', + 'Hadi', + 'Hadif', + 'Hadzir', + 'Haffize', + 'Haffizi', + 'Hafidzuddin', + 'Hafis', + 'Hafiy', + 'Hafiz', + 'Hafizan', + 'Hafizhan', + 'Hafizi', + 'Hafizsyakirin', + 'Hafizuddin', + 'Haikal', + 'Haiqal', + 'Hairol', + 'Hairollkahar', + 'Hairuddin', + 'Hairul', + 'Hairun', + 'Haisyraf', + 'Haizan', + 'Hakeem', + 'Hakim', + 'Hakimi', + 'Hakimie', + 'Halidan', + 'Haliem', + 'Halim', + 'Hamdani', + 'Hamidoon', + 'Hamizan', + 'Hamka', + 'Hamzah', + 'Hanafi', + 'Hanif', + 'Hanit', + 'Hannan', + 'Haqeem', + 'Haqimie', + 'Harez', + 'Haris', + 'Harith', + 'Hariz', + 'Harmaini', + 'Harraz', + 'Harun', + 'Hasan', + 'Hashim', + 'Hasif', + 'Hasnul', + 'Hasrin', + 'Hasrol', + 'Hassan', + 'Hasyim', + 'Haszlan', + 'Hayani', + 'Hazim', + 'Haziq', + 'Haziqh', + 'Hazrie', + 'Hazrul', + 'Hazwan', + 'Hazzam', + 'Helmy', + 'Hermansah', + 'Hidayat', + 'Hidayatullah', + 'Hilmi', + 'Hisam', + 'Hisammudin', + 'Hisyam', + 'Hj', + 'Hoirussalam', + 'Humadu', + 'Hurmin', + 'Husain', + 'Husaini', + 'Husnul', + 'Hussein', + 'Hussin', + 'Huzaifi', + 'Huzaimi', + 'Huzzaini', + 'Ibnu', + 'Ibrahim', + 'Idham', + 'Idlan', + 'Idris', + 'Idrus', + 'Idzwan', + 'Ielman', + 'Ighfar', + 'Ihsan', + 'Ikhmal', + 'Ikhwan', + 'Ikmal', + 'Ilham', + 'Ilhan', + 'Illias', + 'Ilman', + 'Iman', + 'Imran', + 'Indra', + 'Innamul', + 'Iqbal', + 'Iqwan', + 'Iraman', + 'Irfan', + 'Irman', + 'Irsyad', + 'Isa', + 'Ishak', + 'Ishaq', + 'Iskandar', + 'Isma', + 'Ismail', + 'Ismaon', + 'Isyraq', + 'Iwan', + 'Iyad', + 'Izam', + 'Izdihar', + 'Izlan', + 'Izuhail', + 'Izwan', + 'Izz', + 'Izzan', + 'Izzat', + 'Izzikry', + 'Izzuddin', + 'Izzul', + 'Ja\'afer', + 'Jaf', + 'Jaferi', + 'Jafree', + 'Jafri', + 'Jahari', + 'Jalani', + 'Jamal', + 'Jamali', + 'Jamalludin', + 'Jamaluddin', + 'Jamekon', + 'Jamil', + 'Jamsare', + 'Jani', + 'Jasin', + 'Jasni', + 'Jebat', + 'Jefrie', + 'Johari', + 'Joharudin', + 'Jumat', + 'Junaidi', + 'Kamal', + 'Kamaruddin', + 'Kamarudin', + 'Kamarul', + 'Kamaruzain', + 'Kamaruzaman', + 'Kamaruzzaman', + 'Kasim', + 'Kasturi', + 'Kemat', + 'Khadzromi', + 'Khairi', + 'Khairil', + 'Khairin', + 'Khairiz', + 'Khairol', + 'Khairubi', + 'Khairudin', + 'Khairul', + 'Khairulnizam', + 'Khairun', + 'Khairurrazi', + 'Khalilul', + 'Khasmadi', + 'Khasri', + 'Khatta', + 'Khirul', + 'Khoirul', + 'Kholis', + 'Khusaini', + 'Khuzairey', + 'Kutni', + 'Latiff', + 'Lazim', + 'Lokman', + 'Loqman', + 'Lufty', + 'Lukman', + 'Luqman', + 'Luqmanul', + 'Luthfi', + 'Luthfie', + 'M.', + 'Maamor', + 'Madfaizal', + 'Mahadhir', + 'Mahatdir', + 'Mahmusin', + 'Mansor', + 'Marlizam', + 'Martonis', + 'Mastura', + 'Mat', + 'Mazlan', + 'Mazmin', + 'Mazwan', + 'Md', + 'Md.', + 'Megat', + 'Meor', + 'Midoon', + 'Mie', + 'Mikhail', + 'Mirza', + 'Misbun', + 'Miskan', + 'Misran', + 'Miza', + 'Mohlim', + 'Mohmad', + 'Mokhtar', + 'Mokhzani', + 'Moktar', + 'Mu\'izzuddin', + 'Muazzam', + 'Mubarak', + 'Muhaimen', + 'Muhaimi', + 'Muhammad', + 'Muhd', + 'Muid', + 'Muizzuddin', + 'Muizzudin', + 'Mukhtar', + 'Mukhriz', + 'Mukminin', + 'Murad', + 'Murshid', + 'Mus\'ab', + 'Musa', + 'Musiran', + 'Muslim', + 'Mustafa', + 'Mustain', + 'Mustaqim', + 'Musyrif', + 'Muszaphar', + 'Muzami', + 'Muzamil', + 'Muzhafar', + 'Muzzammil', + 'Na\'imullah', + 'Nabil', + 'Naderi', + 'Nadzeri', + 'Naim', + 'Najhan', + 'Najib', + 'Najmi', + 'Nakimie', + 'Naqib', + 'Naqiuddin', + 'Narul', + 'Nasaruddin', + 'Nashrul', + 'Nasimuddin', + 'Nasir', + 'Nasiruddin', + 'Nasri', + 'Nasrizal', + 'Nasruddin', + 'Nasrul', + 'Nasrullah', + 'Naufal', + 'Nawawi', + 'Nazari', + 'Nazaruddin', + 'Nazarul', + 'Nazeem', + 'Nazeri', + 'Nazhan', + 'Nazim', + 'Nazlan', + 'Nazmi', + 'Nazren', + 'Nazri', + 'Nazril', + 'Nazrin', + 'Nazrul', + 'Nazzab', + 'Ngadinin', + 'Ngasiman', + 'Ngatri', + 'Nik', + 'Nizam', + 'Nizan', + 'Nizar', + 'Noor', + 'Noordin', + 'Noorizman', + 'Nor', + 'Norain', + 'Norazman', + 'Norazmi', + 'Nordanish', + 'Nordiarman', + 'Nordin', + 'Norfadli', + 'Norfahmi', + 'Norhakim', + 'Norhan', + 'Norhisham', + 'Norsilan', + 'Nur', + 'Nur\'irfaan', + 'Nurakmal', + 'Nurhanafi', + 'Nurhazrul', + 'Nurul', + 'Nuwair', + 'Nuzrul', + 'Nuzul', + 'Omar', + 'Omri', + 'Osama', + 'Osman', + 'Othman', + 'Pauzi', + 'Puadi', + 'Putra', + 'Qairil', + 'Qays', + 'Qusyairi', + 'R', + 'Radin', + 'Radzi', + 'Radzuan', + 'Rafael', + 'Raffioddin', + 'Rafiee', + 'Rafiq', + 'Rafizal', + 'Rahim', + 'Raihan', + 'Raja', + 'Rakmat', + 'Ramdan', + 'Ramlan', + 'Ramli', + 'Rash', + 'Rashdan', + 'Rashid', + 'Rashidi', + 'Rasid', + 'Raulah', + 'Rausyan', + 'Razak', + 'Razali', + 'Razemi', + 'Razif', + 'Razlan', + 'Razuan', + 'Redzuan', + 'Redzuawan', + 'Redzwan', + 'Rehan', + 'Rehman', + 'Rezal', + 'Ridhuan', + 'Ridwan', + 'Ridza', + 'Ridzuan', + 'Ridzwan', + 'Rifqi', + 'Rizal', + 'Rizli', + 'Rohaizad', + 'Rohaizal', + 'Rohman', + 'Roosmadi', + 'Roseli', + 'Roslan', + 'Roslee', + 'Rosli', + 'Roslin', + 'Rosman', + 'Rosnan', + 'Rossafizal', + 'Rozi', + 'Rukaini', + 'Rukmanihakim', + 'Ruknuddin', + 'Ruslan', + 'Rusli', + 'Rusman', + 'S.rozli', + 'Sabana', + 'Sabqi', + 'Sabri', + 'Sadili', + 'Sadri', + 'Saf\'han', + 'Saffrin', + 'Safie', + 'Safiy', + 'Safrizal', + 'Safuan', + 'Safwan', + 'Sahamudin', + 'Saharil', + 'Said', + 'Saidan', + 'Saidin', + 'Saif', + 'Saiful', + 'Saifullah', + 'Saifullizan', + 'Saipol', + 'Sakri', + 'Salamon', + 'Salihin', + 'Salimi', + 'Salleh', + 'Samad', + 'Samani', + 'Sameer', + 'Samiun', + 'Samsul', + 'Samsur', + 'Sanorhizam', + 'Sardine', + 'Sarudin', + 'Sarwati', + 'Saufishazwi', + 'Sazali', + 'Selamat', + 'Senon', + 'Shafarizal', + 'Shafie', + 'Shafiq', + 'Shah', + 'Shahamirul', + 'Shaharudin', + 'Shaheila', + 'Shaheizy', + 'Shahfiq', + 'Shahmi', + 'Shahnon', + 'Shahquzaifi', + 'Shahril', + 'Shahrin', + 'Shahrizal', + 'Shahrol', + 'Shahru', + 'Shahrul', + 'Shahrulnaim', + 'Shahrun', + 'Shahrunizam', + 'Shahzwan', + 'Shaiful', + 'Shaikh', + 'Shakif', + 'Shakir', + 'Sham', + 'Shameer', + 'Shamhazli', + 'Shamil', + 'Shamizan', + 'Shamizul', + 'Shamsuddin', + 'Shamsudin', + 'Shamsul', + 'Shamsuri', + 'Shamsuzlynn', + 'Shapiein', + 'Sharafuddin', + 'Shari', + 'Sharif', + 'Sharifuddin', + 'Sharifudin', + 'Sharil', + 'Sharizal', + 'Sharsham', + 'Sharudin', + 'Sharul', + 'Shaugi', + 'Shauqi', + 'Shawal', + 'Shazwan', + 'Sheikh', + 'Shmsul', + 'Shohaimi', + 'Shukri', + 'Sirajuddin', + 'Sofian', + 'Sohaini', + 'Solehen', + 'Solekhan', + 'Solleh', + 'Sualman', + 'Subbahi', + 'Subkhiddin', + 'Sudarrahman', + 'Sudirman', + 'Suhaimi', + 'Sukarni', + 'Sukhairi', + 'Sukri', + 'Sukymi', + 'Sulaiman', + 'Sulhan', + 'Suzaili', + 'Suzaman', + 'Syafiq', + 'Syahaziq', + 'Syahid', + 'Syahir', + 'Syahmi', + 'Syahrial', + 'Syahriman', + 'Syahru', + 'Syahzuan', + 'Syakir', + 'Syakirin', + 'Syakirul', + 'Syamirul', + 'Syamsol', + 'Syaqirin', + 'Syarafuddin', + 'Syawal', + 'Syawalludin', + 'Syazani', + 'Syazwan', + 'Syed', + 'Syid', + 'Syukri', + 'Syuqeri', + 'Tajuddin', + 'Takiudin', + 'Talha', + 'Tarmizi', + 'Tasripin', + 'Taufek', + 'Taufik', + 'Tayib', + 'Termizi', + 'Thalahuddin', + 'Thaqif', + 'Tunan', + 'Umair', + 'Umar', + 'Usman', + 'W', + 'Wafi', + 'Wafiq', + 'Wan', + 'Wazir', + 'Wazzirul', + 'Wi', + 'Yani', + 'Yaqzan', + 'Yazid', + 'Yunos', + 'Yusaini', + 'Yusfaisal', + 'Yushafiq', + 'Yusni', + 'Yusof', + 'Yusoff', + 'Yusri', + 'Yussof', + 'Yusuf', + 'Zabayudin', + 'Zabidi', + 'Zahari', + 'Zahid', + 'Zahiruddin', + 'Zahrul', + 'Zaid', + 'Zaidi', + 'Zainal', + 'Zaini', + 'Zainodin', + 'Zainordin', + 'Zainuddin', + 'Zainul', + 'Zairy', + 'Zaiyon', + 'Zakaria', + 'Zaki', + 'Zakii', + 'Zakri', + 'Zakwan', + 'Zambri', + 'Zamre', + 'Zamri', + 'Zamrul', + 'Zan', + 'Zaqiyuddin', + 'Zar\'ai', + 'Zarif', + 'Zariq', + 'Zarith', + 'Zarul', + 'Zaukepli', + 'Zawawi', + 'Zharaubi', + 'Zikri', + 'Zikril', + 'Zikry', + 'Zizi', + 'Zol', + 'Zolkifle', + 'Zubair', + 'Zubir', + 'Zufayri', + 'Zufrie', + 'Zuheeryrizal', + 'Zuhri', + 'Zuki', + 'Zul', + 'Zulfadhli', + 'Zulfadli', + 'Zulfahmi', + 'Zulfaqar', + 'Zulfaqqar', + 'Zulfikar', + 'Zulhaikal', + 'Zulhakim', + 'Zulhakimi', + 'Zulhelmi', + 'Zulhilmi', + 'Zulkapli', + 'Zulkarnain', + 'Zulkefli', + 'Zulkfli', + 'Zulkifli', + 'Zulkipli', + 'Zulman', + 'Zuri', + ]; + protected static $firstNameFemaleMalay = [ + '\'Abidah', + '\'Alyaa', + '\'Aqilah', + '\'Atiqah', + '\'Afiqah', + '\'Alia', + '\'Aqilah', + 'A\'ishah', + 'A\'in', + 'A\'zizah', + 'Abdah', + 'Abiatul', + 'Adani', + 'Adawiyah', + 'Adha', + 'Adharina', + 'Adhwa', + 'Adibah', + 'Adilah', + 'Adilla', + 'Adina', + 'Adini', + 'Adira', + 'Adlina', + 'Adlyna', + 'Adriana', + 'Adzlyana', + 'Afifa', + 'Afifah', + 'Afina', + 'Afiqah', + 'Afiza', + 'Afrina', + 'Afzan', + 'Ahda', + 'Aida', + 'Aidatul', + 'Aidila', + 'Aifa', + 'Aiman', + 'Aimi', + 'Aimuni', + 'Ain', + 'Aina', + 'Ainaa', + 'Ainaanasuha', + 'Aini', + 'Ainin', + 'Ainn', + 'Ainnaziha', + 'Ainul', + 'Ainun', + 'Ainur', + 'Airin', + 'Aishah', + 'Aisya', + 'Aisyah', + 'Aiza', + 'Akmal', + 'Aleeya', + 'Aleeza', + 'Aleya', + 'Aleza', + 'Alia', + 'Aliaa', + 'Aliah', + 'Aliffa', + 'Aliffatus', + 'Alina', + 'Alis', + 'Alisya', + 'Aliya', + 'Alkubra', + 'Alleisya', + 'Ally', + 'Alya', + 'Alyaa', + 'Amalia', + 'Amalien', + 'Amalin', + 'Amalina', + 'Amani', + 'Amanina', + 'Amiera', + 'Aminy', + 'Amira', + 'Amirah', + 'Amisha', + 'Amrina', + 'Amylia', + 'Amyra', + 'An-nur', + 'Anas', + 'Andani', + 'Andi', + 'Anesha', + 'Ani', + 'Aninafishah', + 'Anis', + 'Anisah', + 'Anisha', + 'Anissa', + 'Aniza', + 'Anna', + 'Anne', + 'Antaza', + 'Aqeem', + 'Aqeera', + 'Aqila', + 'Aqilah', + 'Arfahrina', + 'Ariana', + 'Ariena', + 'Ariessa', + 'Arifah', + 'Arina', + 'Ariqah', + 'Arissa', + 'Arisya', + 'Armira', + 'Arwina', + 'Aryani', + 'Ashika', + 'Ashriyana', + 'Asiah', + 'Asma\'rauha', + 'Asmaa\'', + 'Asmaleana', + 'Asniati', + 'Asnie', + 'Asniza', + 'Aswana', + 'Asy', + 'Asyiqin', + 'Asykin', + 'Athirah', + 'Atifa', + 'Atifah', + 'Atifahajar', + 'Atikah', + 'Atiqa', + 'Atiqah', + 'Atirah', + 'Atyqah', + 'Auni', + 'Awatif', + 'Awatiff', + 'Ayesha', + 'Ayu', + 'Ayuni', + 'Ayunie', + 'Az', + 'Azashahira', + 'Aziah', + 'Aziemah', + 'Azika', + 'Azira', + 'Azizah', + 'Azliah', + 'Azliatul', + 'Azlin', + 'Azlina', + 'Azmina', + 'Azni', + 'Azrah', + 'Azrina', + 'Azua', + 'Azuin', + 'Azwa', + 'Azwani', + 'Azyan', + 'Azyyati', + 'Badrina', + 'Bahirah', + 'Balqis', + 'Basyirah', + 'Batrisya', + 'Batrisyia', + 'Bilqis', + 'Bismillah', + 'Camelia', + 'Cempaka', + 'Dalila', + 'Dalili', + 'Damia', + 'Dania', + 'Danish', + 'Darlina', + 'Darwisyah', + 'Deni', + 'Dhani', + '\'Dhiya', + 'Diana', + 'Dianah', + 'Dini', + 'Diyana', + 'Diyanah', + 'Dylaila', + 'Eizzah', + 'Eliya', + 'Ellynur', + 'Elpiya', + 'Elyana', + 'Elysha', + 'Ema', + 'Emylia', + 'Erika', + 'Eva', + 'Ezzatul', + 'Faathihah', + 'Fadhilah', + 'Fadzliana', + 'Fahda', + 'Fahimah', + 'Fahira', + 'Fairuz', + 'Faizah', + 'Faiznur', + 'Faizyani', + 'Fakhira', + 'Falah', + 'Faqihah', + 'Fara', + 'Faradieba', + 'Farah', + 'Faraheira', + 'Farahin', + 'Farahiyah', + 'Farahtasha', + 'Farha', + 'Farhah', + 'Farhana', + 'Faridatul', + 'Fariha', + 'Farina', + 'Farisah', + 'Farisha', + 'Farrah', + 'Fartinah', + 'Farzana', + 'Fasehah', + 'Fasha', + 'Fateha', + 'Fatehah', + 'Fathiah', + 'Fathiha', + 'Fathihah', + 'Fathimah', + 'Fatiha', + 'Fatihah', + 'Fatimatul', + 'Fatin', + 'Fatini', + 'Fauziah', + 'Faza', + 'Fazlina', + 'Fezrina', + 'Filza', + 'Filzah', + 'Firzanah', + 'Fitrah', + 'Fitri', + 'Fitriah', + 'Fizra', + 'Hadfina', + 'Hadiyatul', + 'Hafezah', + 'Hafidzah', + 'Hafieza', + 'Hafizah', + 'Hahizah', + 'Hajar', + 'Hakimah', + 'Halimatul', + 'Halimatussa\'diah', + 'Halisah', + 'Hamira', + 'Hamizah', + 'Hana', + 'Hanaani', + 'Hanani', + 'Hani', + 'Hanim', + 'Hanini', + 'Hanis', + 'Hanisah', + 'Hanna', + 'Hannan', + 'Hannani', + 'Hanni', + 'Hanun', + 'Harma', + 'Hasmalinda', + 'Hasya', + 'Hasyimah', + 'Hayani', + 'Hayati', + 'Hayatul', + 'Hayaty', + 'Hazira', + 'Hazirah', + 'Hazmeera', + 'Hazwani', + 'Hazwanie', + 'Herlina', + 'Herliyana', + 'Hidayah', + 'Hidzwati', + 'Huda', + 'Humaira', + 'Hureen', + 'Husna', + 'Husnina', + 'Ida', + 'Iffah', + 'Iklil', + 'Ili', + 'Ilyana', + 'Iman', + 'Imelda', + 'Insyira', + 'Insyirah', + 'Intan', + '\'Irdhina', + 'Irdina', + '\'Irdina', + 'Irsa', + 'Iryani', + '\'Isdmah', + 'Islamiah', + 'Isnur', + 'Izaiti', + 'Izati', + 'Izatie', + 'Izatul', + 'Izaty', + 'Izlin', + '\'Izzah', + 'Izzah', + 'Izzani', + 'Izzati', + 'Izzatul', + 'Izzaty', + 'Izziani', + 'Jaf', + 'Jajuenne', + 'Jani', + 'Jannah', + 'Jannatul', + 'Jaslina', + 'Jihan', + 'Ju', + 'Julia', + 'Juliana', + 'Juliya', + 'Kamarlia', + 'Kamelia', + 'Kausthar', + 'Kauthar', + 'Khadijah', + 'Khahirah', + 'Khairina', + 'Khairun', + 'Khairunisa', + 'Khairunnisa', + 'Khairunnisak', + 'Khaleeda', + 'Khaleisya', + 'Khaliesah', + 'Khalisa', + 'Khodijah', + 'Laila', + 'Liana', + 'Lina', + 'Lisa', + 'Liyana', + 'Madihah', + 'Maheran', + 'Mahfuzah', + 'Mahirah', + 'Maisara', + 'Maisarah', + 'Maizatul', + 'Malihah', + 'Mardhiah', + 'Mariam', + 'Marina', + 'Mariska', + 'Marlina', + 'Marni', + 'Maryam', + 'Mas', + 'Mashitah', + 'Masitah', + 'Mastura', + 'Maswah', + 'Masyikah', + 'Masyitah', + 'Maszlina', + 'Mawaddah', + 'Maya', + 'Mazdiyana', + 'Mazlyn', + 'Melisa', + 'Melissa', + 'Mimi', + 'Mira', + 'Mirsha', + 'Miskon', + 'Miza', + 'Muazzah', + 'Mumtaz', + 'Mursyidah', + 'Muti\'ah', + 'Muyassarah', + 'Muzainah', + 'Mysara', + 'Mysarah', + 'Nabihah', + 'Nabila', + 'Nabilah', + 'Nabilla', + 'Nabillah', + 'Nadhilah', + 'Nadhirah', + 'Nadhrah', + 'Nadia', + 'Nadiah', + 'Nadiatun', + 'Nadilla', + 'Nadira', + 'Nadirah', + 'Nadwah', + 'Nadzirah', + 'Nafisah', + 'Nafizah', + 'Najah', + 'Najian', + 'Najiha', + 'Najihah', + 'Najla', + 'Najwa', + 'Najwani', + 'Naliny', + 'Naqibahuda', + 'Nashrah', + 'Nashuha', + 'Nasliha', + 'Nasrin', + 'Nasuha', + 'Natasa', + 'Natasha', + 'Natasya', + 'Nathasa', + 'Natrah', + 'Naurah', + 'Nayli', + 'Nazatul', + 'Nazihah', + 'Nazira', + 'Nazirah', + 'Nazura', + 'Nazurah', + 'Nikmah', + 'Nina', + 'Nisa', + 'Nisak', + 'Nisrina', + 'Noorain', + 'Noorazmiera', + 'Noorfarzanah', + 'Noornazratul', + 'Norafizah', + 'Norain', + 'Noraisyah', + 'Noralia', + 'Noranisa', + 'Noratasha', + 'Nordhiya', + 'Nordiana', + 'Norelliana', + 'Norerina', + 'Norfaezah', + 'Norfahanna', + 'Norhafiza', + 'Norhamiza', + 'Norhidayah', + 'Noridayu', + 'Norliyana', + 'Norsakinah', + 'Norshaera', + 'Norshahirah', + 'Norshuhailah', + 'Norsolehah', + 'Norsuhana', + 'Norsyafiqah', + 'Norsyahirah', + 'Norsyamimie', + 'Norsyarah', + 'Norsyazmira', + 'Norsyazwani', + 'Norsyuhada', + 'Norul', + 'Noryshah', + 'Nuradilah', + 'Nurafifah', + 'Nurafrina', + 'Nurain', + 'Nuraina', + 'Nuralia', + 'Nuraliah', + 'Nuralifah', + 'Nuralya', + 'Nurani', + 'Nuranisya', + 'Nuraqilah', + 'Nurarisha', + 'Nurasyikin', + 'Nuratiqah', + 'Nuraveena', + 'Nureen', + 'Nurfaatihah', + 'Nurfadlhlin', + 'Nurfaizah', + 'Nurfarah', + 'Nurfarahin', + 'Nurfarhana', + 'Nurfarrah', + 'Nurfatehah', + 'Nurfatiha', + 'Nurfatin', + 'Nurfirzanah', + 'Nurfitrah', + 'Nurfizatul', + 'Nurhafizah', + 'Nurhajar', + 'Nurhani', + 'Nurhanida', + 'Nurhanis', + 'Nurhanisah', + 'Nurhanna', + 'Nurhawa', + 'Nurhazwani', + 'Nurhazzimah', + 'Nurhidayah', + 'Nurhidayatul', + 'Nurhuda', + 'Nurilyani', + 'Nurin', + 'Nurjazriena', + 'Nurmuzdalifah', + 'Nurnajiha', + 'Nurnatasha', + 'Nurnazhimah', + 'Nurnazhirah', + 'Nurqurratuain', + 'Nursabrina', + 'Nursahira', + 'Nursarah', + 'Nursarwindah', + 'Nursham', + 'Nurshammeza', + 'Nursofiah', + 'Nursuhaila', + 'Nursyaffira', + 'Nursyafika', + 'Nursyahindah', + 'Nursyakirah', + 'Nursyarina', + 'Nursyazwani', + 'Nursyazwina', + 'Nursyuhadah', + 'Nurulhuda', + 'Nurulsyahida', + 'Nurun', + 'Nurwadiyah', + 'Nurwahidah', + 'Nurzafira', + 'Nurzarith', + 'Nurzulaika', + 'Pesona', + 'Puteri', + 'Putri', + 'Qairina', + 'Qamarina', + 'Qasrina', + 'Qhistina', + 'Qistina', + 'Quintasya', + 'Qurratu', + 'Qurratuaini', + 'Qurratul', + 'Rabi\'atul', + 'Rabiatul', + 'Rafidah', + 'Rahiemah', + 'Rahmah', + 'Raihah', + 'Raihana', + 'Raihanah', + 'Raja', + 'Rashmi', + 'Rasyaratul', + 'Rasyiqah', + 'Rasyiqqah', + 'Raudatul', + 'Ridiatul', + 'Rieni', + 'Rifhan', + 'Rihhadatul', + 'Ros', + 'Rosalinda', + 'Rosyadah', + 'Rusyda', + 'Rusydina', + 'Sa\'adah', + 'Saadiah', + 'Sabrina', + 'Safi', + 'Safiah', + 'Safiyah', + 'Sahira', + 'Saidatul', + 'Sakinah', + 'Sakirah', + 'Salwa', + 'Sameera', + 'Sarah', + 'Sarwati', + 'Sasya', + 'Serene', + 'Sha', + 'Shabariah', + 'Shafiah', + 'Shafiera', + 'Shafikah', + 'Shafinaz', + 'Shafiqa', + 'Shafiqah', + 'Shah', + 'Shahida', + 'Shahidah', + 'Shahiera', + 'Shahila', + 'Shahira', + 'Shahirah', + 'Shahrazy', + 'Shahrina', + 'Shakilah', + 'Shakinah', + 'Shalina', + 'Shameera', + 'Shamila', + 'Shamimie', + 'Shamira', + 'Shar\'fiera', + 'Sharifah', + 'Sharizah', + 'Shauqina', + 'Shayira', + 'Shazana', + 'Shazieda', + 'Shazlien', + 'Shazwana', + 'Shazwani', + 'Shonia', + 'Shuhada', + 'Siti', + 'Siti', + 'Siti', + 'Siti', + 'Siti', + 'Siti', + 'Sitti', + 'Sofea', + 'Sofeah', + 'Soffia', + 'Sofia', + 'Sofiya', + 'Sofiyah', + 'Sofya', + 'Solehah', + 'Sopie', + 'Suaidah', + 'Suhada', + 'Suhadah', + 'Suhaida', + 'Suhaila', + 'Suhailah', + 'Suhaina', + 'Suhana', + 'Suhani', + 'Sulaiha', + 'Sumayyah', + 'Suraya', + 'Suziyanis', + 'Syaffea', + 'Syafika', + 'Syafikah', + 'Syafina', + 'Syafiqa', + 'Syafiqah', + 'Syafirah', + 'Syafiyah', + 'Syafiyana', + 'Syahada', + 'Syahadatullah', + 'Syahera', + 'Syaherah', + 'Syahidah', + 'Syahidatul', + 'Syahiera', + 'Syahira', + 'Syahirah', + 'Syahmimi', + 'Syahmina', + 'Syahzani', + 'Syaidatul', + 'Syairah', + 'Syakila', + 'Syakira', + 'Syakirah', + 'Syamien', + 'Syamilah', + 'Syamimi', + 'Syamina', + 'Syamirah', + 'Syara', + 'Syarafana', + 'Syarafina', + 'Syarah', + 'Syarina', + 'Syasyabila', + 'Syauqina', + 'Syaza', + 'Syazana', + 'Syazliya', + 'Syazmin', + 'Syazryana', + 'Syazwana', + 'Syazwani', + 'Syazwanie', + 'Syazwina', + 'Syifa\'', + 'Syuhada', + 'Syuhada`', + 'Syuhaida', + 'Syuhaidah', + 'Taqiah', + 'Tasnim', + 'Tengku', + 'Tihany', + 'Umairah', + 'Umi', + 'Umira', + 'Ummi', + 'Wadiha', + 'Wafa', + 'Waheeda', + 'Wahida', + 'Wahidah', + 'Wan', + 'Wardatul', + 'Wardina', + 'Wardinah', + 'Wazira', + 'Weni', + 'Yasmeen', + 'Yasmin', + 'Yetri', + 'Yunalis', + 'Yusra', + 'Yusrinaa', + 'Yusyilaaida', + 'Zaffan', + 'Zafirah', + 'Zaharah', + 'Zahirah', + 'Zahrah', + 'Zahrak', + 'Zaidalina', + 'Zaidatulkhoiriyah', + 'Zainab', + 'Zainatul', + 'Zakdatul', + 'Zatalini', + 'Zati', + 'Zayani', + 'Zeqafazri', + 'Zilhaiza', + 'Zubaidah', + 'Zulaika', + 'Zulaikha', + ]; + protected static $lastNameMalay = [ + '\'Aizat', + 'A\'liyyuddin', + 'Abas', + 'Abdillah', + 'Abdullah', + 'Abidin', + 'Adam', + 'Adha', + 'Adham', + 'Adi', + 'Adieka', + 'Adip', + 'Adli', + 'Adnan', + 'Adrus', + 'Afandi', + 'Afiq', + 'Afizi', + 'Afnan', + 'Afsyal', + 'Ahmad', + 'Ahwali', + 'Aidi', + 'Aidil', + 'Aiman', + 'Aizad', + 'Aizam', + 'Aizat', + 'Ajllin', + 'Ajmal', + 'Akashah', + 'Akasyah', + 'Akbar', + 'Akhmal', + 'Akid', + 'Akif', + 'Akmal', + 'Al-amin', + 'Al-hakim', + 'Albukhary', + 'Ali', + 'Alias', + 'Alif', + 'Alimi', + 'Aliuddin', + 'Amaluddin', + 'Amin', + 'Aminnudin', + 'Aminrullah', + 'Aminuddin', + 'Amiran', + 'Amiruddin', + 'Amirul', + 'Amirullah', + 'Ammar', + 'Ammer', + 'Amni', + 'Amran', + 'Amri', + 'Amry', + 'Amsyar', + 'Amzah', + 'Anam', + 'Anaqi', + 'Andalis', + 'Anuar', + 'Anwar', + 'Apizan', + 'Aqashah', + 'Aqil', + 'Arfan', + 'Arfandi', + 'Arias', + 'Arief', + 'Arif', + 'Ariff', + 'Ariffin', + 'Arifin', + 'Arifuddin', + 'Arman', + 'Arshad', + 'Arziman', + 'As', + 'Asa', + 'Ashraf', + 'Ashraff', + 'Asmadi', + 'Asmar', + 'Asmawi', + 'Asri', + 'Asyraf', + 'Asyran', + 'Asyrani', + 'Aszahari', + 'Awal', + 'Awalluddin', + 'Awaluddin', + 'Awaludin', + 'Awira', + 'Ayyadi', + 'Azahar', + 'Azahari', + 'Azam', + 'Azhan', + 'Azhar', + 'Azhari', + 'Azim', + 'Aziz', + 'Azizan', + 'Azizi', + 'Azizy', + 'Azlan', + 'Azlansyhah', + 'Azli', + 'Azlim', + 'Azman', + 'Azmee', + 'Azmi', + 'Azmin', + 'Aznai', + 'Azni', + 'Azraai', + 'Azrai', + 'Azri', + 'Azril', + 'Azrin', + 'Azriq', + 'Azrul', + 'Azuan', + 'Badrulhisham', + 'Baha', + 'Bahaman', + 'Bahari', + 'Baharin', + 'Baharruddin', + 'Baharuddin', + 'Baharudin', + 'Bahri', + 'Bahrin', + 'Bahrodin', + 'Bakar', + 'Bakri', + 'Bakry', + 'Bakti', + 'Basaruddin', + 'Bashah', + 'Basri', + 'Basyir', + 'Batisah', + 'Bella', + 'Berman', + 'Borhan', + 'Buhari', + 'Bukhari', + 'Chai', + 'Dahalan', + 'Dahari', + 'Dahlan', + 'Daiman', + 'Daneal', + 'Daniael', + 'Danial', + 'Daniel', + 'Danish', + 'Darmawi', + 'Daryusman', + 'Daud', + 'Dazila', + 'Din', + 'Dini', + 'Djuhandie', + 'Dolkefli', + 'Draman', + 'Dzikri', + 'Dzolkefli', + 'Dzulkifli', + 'Dzullutfi', + 'Effendi', + 'Effindi', + 'Ekhsan', + 'Elfin', + 'Erfan', + 'Fadhil', + 'Fadhilah', + 'Fadil', + 'Fadillah', + 'Fadlullah', + 'Fadzil', + 'Faez', + 'Fahi', + 'Fahim', + 'Fahmi', + 'Fahmie', + 'Fairos', + 'Fairuz', + 'Faiser', + 'Faiz', + 'Faizal', + 'Faizul', + 'Faizun', + 'Fakhri', + 'Fakhrurrazi', + 'Fareesnizra', + 'Fareez', + 'Farhan', + 'Farid', + 'Farihan', + 'Faris', + 'Farris', + 'Fathi', + 'Fatullah', + 'Faudzi', + 'Fauzi', + 'Fauzy', + 'Fayyad', + 'Fazal', + 'Fazil', + 'Fazira', + 'Fikri', + 'Firdaus', + 'Firdoz', + 'Fiteri', + 'Fitri', + 'Fuad', + 'Fuart', + 'Fuzi', + 'Garapar', + 'Ghani', + 'Ghazi', + 'Haddi', + 'Hadi', + 'Hadzis', + 'Haeizan', + 'Hafandi', + 'Hafiz', + 'Hafizam', + 'Hafizee', + 'Hafizh', + 'Hafizi', + 'Hafizuddin', + 'Haidie', + 'Haikal', + 'Haiqal', + 'Hairizan', + 'Hairuddin', + 'Hairulnizam', + 'Hairunnezam', + 'Haizam', + 'Haizan', + 'Hajar', + 'Hakam', + 'Hakiem', + 'Hakim', + 'Hakimi', + 'Hakimie', + 'Halib', + 'Halil', + 'Halim', + 'Halin', + 'Hamdan', + 'Hamdani', + 'Hamid', + 'Hamidi', + 'Hamizie', + 'Hamizuddin', + 'Hamjah', + 'Hammani', + 'Hamzah', + 'Hanafi', + 'Hanafia', + 'Hanief', + 'Hanif', + 'Hanifah', + 'Haniff', + 'Hanim', + 'Hapani', + 'Haqim', + 'Haqimi', + 'Haramaini', + 'Hardinal', + 'Hariff', + 'Haris', + 'Harith', + 'Hariz', + 'Harmaini', + 'Harman', + 'Haron', + 'Harris', + 'Haruddin', + 'Harun', + 'Hasadi', + 'Hasan', + 'Hasbi', + 'Hasbullah', + 'Hashan', + 'Hasif', + 'Hasim', + 'Hasmawi', + 'Hasnan', + 'Hasri', + 'Hassan', + 'Hassim', + 'Hassimon', + 'Haszlan', + 'Hazambi', + 'Hazaril', + 'Hazim', + 'Hazimie', + 'Haziq', + 'Hazizan', + 'Hazlin', + 'Hazre', + 'Hazrin', + 'Hazrol', + 'Helmi', + 'Hi\'qal', + 'Hikmee', + 'Hilmi', + 'Hisam', + 'Hisham', + 'Hishhram', + 'Hizam', + 'Husaini', + 'Husin', + 'Husna', + 'Husni', + 'Hussin', + 'Huzaify', + 'Huzain', + 'Ibrahim', + 'Idham', + 'Idris', + '\'Iffat', + 'Ifwat', + 'Ikhmal', + 'Ikhram', + 'Ikhwan', + 'Ikmal', + 'Ikram', + 'Ilman', + 'Iman', + 'Imran', + 'Imtiyaz', + 'Iqbal', + 'Iqmal', + 'Irfan', + 'Irham', + 'Irsyad', + 'Is\'ad', + 'Isa', + 'Isfarhan', + 'Ishak', + 'Ishsyal', + 'Iskandar', + 'Ismadi', + 'Ismail', + 'Ismayudin', + 'Isroman', + 'Isyrafi', + 'Izad', + 'Izam', + 'Izani', + 'Izman', + 'Izwan', + 'Izzat', + 'Izzuddin', + 'Izzudin', + 'Jainal', + 'Jaini', + 'Jamahari', + 'Jamal', + 'Jamaluddin', + 'Jamaludin', + 'Jaman', + 'Jamri', + 'Jani', + 'Jasni', + 'Jaya', + 'Jeffri', + 'Jefri', + 'Jelani', + 'Jemadin', + 'Johan', + 'Johari', + 'Juhari', + 'Jumat', + 'Junaidi', + 'Kahar', + 'Kamal', + 'Kamaruddin', + 'Kamarudin', + 'Kamarul', + 'Kamaruzaman', + 'Kamil', + 'Kamslian', + 'Karzin', + 'Kasim', + 'Kasturi', + 'Khafiz', + 'Khairani', + 'Khairuddin', + 'Khaleed', + 'Khaliq', + 'Khan', + 'Kharmain', + 'Khatta', + 'Khilmi', + 'Khir-ruddin', + 'Khirulrezal', + 'Khusaini', + 'Latif', + 'Latip', + 'Lazim', + 'Lukman', + 'Maarof', + 'Mahadi', + 'Mahat', + 'Mahathir', + 'Mahmudin', + 'Mahmusin', + 'Mahyuddin', + 'Mahyus', + 'Majid', + 'Malek', + 'Malik', + 'Maliki', + 'Mamhuri', + 'Man', + 'Manaf', + 'Manan', + 'Manap', + 'Mansor', + 'Margono', + 'Martunus', + 'Maruzi', + 'Marzuki', + 'Maserun', + 'Maskor', + 'Maslan', + 'Maswari', + 'Maszuni', + 'Mazalan', + 'Mazlan', + 'Midali', + 'Mikhail', + 'Mirza', + 'Miskan', + 'Miskoulan', + 'Mislan', + 'Misnan', + 'Mizan', + 'Mohhidin', + 'Mohsin', + 'Mokhtar', + 'Moktar', + 'Molkan', + 'Mon', + 'Montahar', + 'Mossanif', + 'Mu', + 'Muaddib', + 'Muain', + 'Muhaimi', + 'Muhaimin', + 'Muhdi', + 'Muiz', + 'Mujamek', + 'Mukmin', + 'Mukromin', + 'Muneer', + 'Muqriz', + 'Murad', + 'Murshed', + 'Murshidi', + 'Musa', + 'Muslim', + 'Musliman', + 'Mustafa', + 'Mustapha', + 'Mustaqim', + 'Musyrif', + 'Mutaali', + 'Mutalib', + 'Muti\'i', + 'Muzamil', + 'Muzammil', + 'Na\'im', + 'Nabil', + 'Nadzri', + 'Nafiz', + 'Naim', + 'Najhi', + 'Najib', + 'Najmi', + 'Najmuddin', + 'Naqiyuddin', + 'Nasaruddin', + 'Nashriq', + 'Nasiman', + 'Nasir', + 'Nasrodin', + 'Nasrullah', + 'Naufal', + 'Nawawi', + 'Nazairi', + 'Nazar', + 'Nazarudin', + 'Nazeri', + 'Nazhan', + 'Nazirin', + 'Nazmi', + 'Nazree', + 'Nazri', + 'Nazrin', + 'Nazry', + 'Ngadenan', + 'Ngadun', + 'Niszan', + 'Nizam', + 'Noh', + 'Noor', + 'Noordin', + 'Noorhakim', + 'Noorismadi', + 'Noorizman', + 'Nor', + 'Noradhzmi', + 'Noraffendi', + 'Noraslan', + 'Norazam', + 'Norazim', + 'Norazman', + 'Norazmi', + 'Nordin', + 'Norhisam', + 'Norhisham', + 'Norizal', + 'Norizan', + 'Norlisam', + 'Normansah', + 'Norrizam', + 'Norsilan', + 'Norzamri', + 'Nurfairuz', + 'Nurhaliza', + 'Nurnaim', + 'Omar', + 'Osman', + 'Othman', + 'Pa\'aing', + 'Pauzi', + 'Pisol', + 'Putra', + 'Putra', + 'Qayum', + 'Qayyum', + 'Qayyuum', + 'Qusyairi', + 'Ra\'ais', + 'Radzi', + 'Raffioddin', + 'Raffiq', + 'Rafi', + 'Rafizal', + 'Rahamad', + 'Rahim', + 'Rahman', + 'Rahmat', + 'Rais', + 'Raizal', + 'Raman', + 'Ramdan', + 'Ramdzan', + 'Ramlan', + 'Ramlee', + 'Ramli', + 'Ramly', + 'Rani', + 'Ranjit', + 'Raqi', + 'Rashid', + 'Rashidi', + 'Rashidin', + 'Rasid', + 'Rassid', + 'Rasyid', + 'Razak', + 'Razali', + 'Raze', + 'Razi', + 'Razin', + 'Razlan', + 'Razman', + 'Redha', + 'Redzuan', + 'Rembli', + 'Remi', + 'Ridduan', + 'Ridhwan', + 'Ridzuan', + 'Ridzwan', + 'Rifin', + 'Rifqi', + 'Rifqie', + 'Rithwan', + 'Rizal', + 'Rizuan', + 'Rizwan', + 'Robani', + 'Rohaizan', + 'Rohem', + 'Rohman', + 'Ros', + 'Rosdan', + 'Roshman', + 'Roslan', + 'Roslee', + 'Rosli', + 'Rosly', + 'Rosmawi', + 'Rosnan', + 'Rossaimi', + 'Rostam', + 'Rostan', + 'Roszainal', + 'Rozi', + 'Rubi', + 'Rusdi', + 'Ruslan', + 'Rusli', + 'Rustam', + 'Rusyaidi', + 'Sa\'ari', + 'Saad', + 'Sabaruddin', + 'Sabarudin', + 'Sabki', + 'Sabri', + 'Sabrie', + 'Safee', + 'Saffuan', + 'Safie', + 'Safingi', + 'Safrifarizal', + 'Safrizal', + 'Safwan', + 'Sahidi', + 'Sahril', + 'Sahroni', + 'Saifuddin', + 'Saifudin', + 'Saifulzakher', + 'Saifuzin', + 'Saihun', + 'Saizol', + 'Sakdon', + 'Sakri', + 'Salam', + 'Saleh', + 'Salehudin', + 'Salim', + 'Salleh', + 'Salman', + 'Sam', + 'Samad', + 'Samae', + 'Samah', + 'Saman', + 'Samsani', + 'Samsuddin', + 'Samsul', + 'Samsuri', + 'Sandha', + 'Sani', + 'Sanorhizam', + 'Sapuan', + 'Sarim', + 'Satar', + 'Saudi', + 'Sazali', + 'Sedek', + 'Selamat', + 'Senon', + 'Sha\'ril', + 'Shabana', + 'Shafei', + 'Shafie', + 'Shafiq', + 'Shah', + 'Shaharuddin', + 'Shaharudin', + 'Shahiman', + 'Shahrazy', + 'Shahrizan', + 'Shaidi', + 'Shaifuddin', + 'Shaihuddin', + 'Sham', + 'Shameer', + 'Shamizan', + 'Shamsuddin', + 'Shamsudin', + 'Shamsul', + 'Shapiein', + 'Sharasan', + 'Sharif', + 'Sharifudin', + 'Shariman', + 'Sharin', + 'Sharollizam', + 'Sharum', + 'Shazani', + 'Shazman', + 'Shmsul', + 'Shobi', + 'Shueib', + 'Shukor', + 'Shukri', + 'Sidek', + 'Sinuzulan', + 'Soberi', + 'Sobirin', + 'Sofi', + 'Solehin', + 'Solekhan', + 'Sonan', + 'Suami', + 'Subhi', + 'Subzan', + 'Sudirman', + 'Sueib', + 'Sufi', + 'Sufian', + 'Suhaimi', + 'Suhiman', + 'Sukarsek', + 'Sulaiman', + 'Sulong', + 'Suraji', + 'Surya', + 'Sutrisno', + 'Suz\'ian', + 'Suzaimi', + 'Syafiq', + 'Syafrin', + 'Syahir', + 'Syahmi', + 'Syahril', + 'Syahrin', + 'Syakir', + 'Syamil', + 'Syauqi', + 'Syazwan', + 'Syukran', + 'Syukri', + 'Syuraih', + 'Tajudin', + 'Takiudin', + 'Talib', + 'Taqiuddin', + 'Tarjuddin', + 'Tarmizi', + 'Tarudin', + 'Taufek', + 'Thaqif', + 'Tuah', + 'Tukimin', + 'Tumiran', + 'Ubaidillah', + 'Ulum', + 'Umar', + 'Usman', + 'Usri', + 'Uzair', + 'Wafi', + 'Wahab', + 'Wahbillah', + 'Wahid', + 'Wahidan', + 'Wahidin', + 'Wardi', + 'Wasil', + 'Wazif', + 'Wildani', + 'Ya\'accob', + 'Yaacob', + 'Yaakob', + 'Yaacup', + 'Yacob', + 'Yahaya', + 'Yahya', + 'Yajid', + 'Yamani', + 'Yanis', + 'Yaqin', + 'Yasin', + 'Yazid', + 'Yunus', + 'Yusaini', + 'Yusihasbi', + 'Yusni', + 'Yusof', + 'Yusoff', + 'Yusri', + 'Yusrin', + 'Yusseri', + 'Yussof', + 'Yusuf', + 'Yuszelan', + 'Yuzli', + 'Zafran', + 'Zahani', + 'Zahar', + 'Zahareman', + 'Zahari', + 'Zahin', + 'Zaid', + 'Zaidi', + 'Zailan', + 'Zailani', + 'Zaimi', + 'Zaiminuddin', + 'Zain', + 'Zainal', + 'Zaini', + 'Zainorazman', + 'Zainordin', + 'Zainuddin', + 'Zainudin', + 'Zainul-\'alam', + 'Zainun', + 'Zainuri', + 'Zairi', + 'Zairulaizam', + 'Zakaria', + 'Zaki', + 'Zakir', + 'Zakuan', + 'Zakwan', + 'Zam', + 'Zamanhuri', + 'Zamani', + 'Zamhari', + 'Zamran', + 'Zamre', + 'Zamree', + 'Zamri', + 'Zamzuri', + 'Zani', + 'Zar\'ai', + 'Zawawi', + 'Zawi', + 'Zazlan', + 'Zehnei', + 'Zhafran', + 'Zihni', + 'Zikry', + 'Zin', + 'Zizi', + 'Zol', + 'Zolkafeli', + 'Zolkifli', + 'Zuanuar', + 'Zubair', + 'Zubir', + 'Zufayri', + 'Zuhaili', + 'Zuki', + 'Zukri', + 'Zulamin', + 'Zulfadhli', + 'Zulfikar', + 'Zulfikri', + 'Zulhazril', + 'Zulhelmi', + 'Zulkafli', + 'Zulkanine', + 'Zulkarnaen', + 'Zulkefle', + 'Zulkefli', + 'Zulkernain', + 'Zulkhairie', + 'Zulkifli', + 'Zulqurnainin', + 'Zumali', + 'Zuraidi', + 'Zuri', + 'Zuwairi', + ]; + + /** + * Note: The empty elements are for names without the title, chances increase by number of empty elements. + * + * @see https://en.wikipedia.org/wiki/Muhammad_(name) + */ + protected static $muhammadName = [ + '', + '', + '', + '', + 'Mohamad ', + 'Mohamed ', + 'Mohammad ', + 'Mohammed ', + 'Muhamad ', + 'Muhamed ', + 'Muhammad ', + 'Muhammed ', + 'Muhammet ', + 'Mohd ' + ]; + /** + * @see https://en.wikipedia.org/wiki/Noor_(name) + */ + protected static $nurName = [ '', '', '', '', 'Noor ', 'Nor ', 'Nur ', 'Nur ', 'Nur ', 'Nurul ', 'Nuur ' ]; + + /** + * @see https://en.wikipedia.org/wiki/Malaysian_names#Haji_or_Hajjah + */ + protected static $haji = [ '', '', '', '', 'Haji ', 'Hj ' ]; + protected static $hajjah = [ '', '', '', '', 'Hajjah ', 'Hjh ' ]; + + /** + * @see https://en.wikipedia.org/wiki/Malay_styles_and_titles + */ + protected static $titleMaleMalay = [ '', '', '', '', '', '', 'Syed ', 'Wan ', 'Nik ', 'Che ' ]; + + /** + * Chinese family name or surname + * + * @see https://en.wikipedia.org/wiki/List_of_common_Chinese_surnames + * @see https://en.wikipedia.org/wiki/Hundred_Family_Surnames + */ + protected static $lastNameChinese = [ + 'An', + 'Ang', + 'Au', + 'Au-Yong', + 'Aun', + 'Aw', + 'Bai', + 'Ban', + 'Bok', + 'Bong', + 'Ch\'ng', + 'Cha', + 'Chai', + 'Cham', + 'Chan', + 'Chang', + 'Cheah', + 'Cheam', + 'Chee', + 'Chen', + 'Cheng', + 'Cheok', + 'Cheong', + 'Chew', + 'Chia', + 'Chiam', + 'Chiang', + 'Chieng', + 'Chiew', + 'Chin', + 'Ching', + 'Chong', + 'Choong', + 'Chou', + 'Chow', + 'Choy', + 'Chu', + 'Chua', + 'Chuah', + 'Chung', + 'Dee', + 'Die', + 'Ding', + 'Ee', + 'En', + 'Eng', + 'Er', + 'Ewe', + 'Fam', + 'Fan', + 'Fang', + 'Feng', + 'Foo', + 'Foong', + 'Gan', + 'Gao', + 'Gee', + 'Gnai', + 'Go', + 'Goh', + 'Gong', + 'Guan', + 'Gun', + 'H\'ng', + 'Hang', + 'Hao', + 'Haw', + 'Hee', + 'Heng', + 'Hew', + 'Hiew', + 'Hii', + 'Ho', + 'Hoo', + 'Hong', + 'Hooi', + 'Hui', + 'Jong', + 'Kam', + 'Kang', + 'Kar', + 'Kee', + 'Khoo', + 'Khor', + 'Khu', + 'Kia', + 'Kim', + 'King', + 'Ko', + 'Koay', + 'Koh', + 'Kok', + 'Kong', + 'Kow', + 'Kwok', + 'Kwong', + 'Ku', + 'Kua', + 'Kuan', + 'Kum', + 'Lah', + 'Lai', + 'Lam', + 'Lau', + 'Law', + 'Leau', + 'Lee', + 'Leng', + 'Leong', + 'Leow', + 'Leung', + 'Lew', + 'Li', + 'Lian', + 'Liang', + 'Liao', + 'Liew', + 'Lim', + 'Ling', + 'Liong', + 'Liow', + 'Lo', + 'Loh', + 'Loi', + 'Lok', + 'Loke', + 'Loo', + 'Looi', + 'Low', + 'Lu', + 'Luo', + 'Lum', + 'Lye', + 'Ma', + 'Mah', + 'Mak', + 'Meng', + 'Mok', + 'Neo', + 'Neoh', + 'New', + 'Ng', + 'Nga', + 'Ngan', + 'Ngeh', + 'Ngeow', + 'Ngo', + 'Ngu', + 'Nguei', + 'Nii', + 'Ong', + 'Oo', + 'Ooi', + 'Oon', + 'Oong', + 'OuYang', + 'P\'ng', + 'Pang', + 'Phang', + 'Phoon', + 'Phor', + 'Phua', + 'Phuah', + 'Poh', + 'Poon', + 'Qian', + 'Qu', + 'Quah', + 'Quak', + 'Quan', + 'Quek', + 'Sam', + 'Sau', + 'Seah', + 'See', + 'Seetho', + 'Seng', + 'Seoh', + 'Seow', + 'Shee', + 'Shi', + 'Shum', + 'Sia', + 'Siah', + 'Siao', + 'Siauw', + 'Siaw', + 'Siew', + 'Sim', + 'Sin', + 'Sio', + 'Siong', + 'Siow', + 'Siu', + 'Soh', + 'Song', + 'Soo', + 'Soon', + 'Su', + 'Sum', + 'T\'ng', + 'Tai', + 'Tam', + 'Tan', + 'Tay', + 'Tang', + 'Tea', + 'Tee', + 'Teh', + 'Tek', + 'Teng', + 'Teo', + 'Teoh', + 'Tern', + 'Tew', + 'Tey', + 'Thang', + 'Thew', + 'Thong', + 'Thoo', + 'Thum', + 'Thun', + 'Ting', + 'Tiong', + 'Toh', + 'Tong', + 'Tse', + 'Tung', + 'Vong', + 'Wah', + 'Waiy', + 'Wan', + 'Wee', + 'Wen', + 'Wong', + 'Woo', + 'Woon', + 'Wu', + 'Xia', + 'Xiong', + 'Xu', + 'Yam', + 'Yao', + 'Yiaw', + 'Ying', + 'Yip', + 'Yang', + 'Yap', + 'Yau', + 'Yee', + 'Yen', + 'Yeo', + 'Yeoh', + 'Yeong', + 'Yeow', + 'Yep', + 'Yew', + 'Yong', + 'Yow', + 'You', + 'Yu', + 'Yuan', + 'Yuen', + 'Zhong', + 'Zhang', + 'Zheng', + 'Zhu', + 'Zu', + ]; + + /** + * Chinese second character + * + * @see https://en.wikipedia.org/wiki/Chinese_given_name + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent + */ + protected static $firstNameChinese = [ + 'Ah', + 'Ai', + 'Aik', + 'An', + 'Ann', + 'Ang', + 'Au', + 'Aun', + 'Aw', + 'Bae', + 'Bai', + 'Bak', + 'Ban', + 'Bang', + 'Bao', + 'Bau', + 'Bee', + 'Beh', + 'Bei', + 'Ben', + 'Beng', + 'Bi', + 'Bik', + 'Bin', + 'Bing', + 'Bo', + 'Bok', + 'Bong', + 'Boo', + 'Boon', + 'Bow', + 'Bu', + 'Bui', + 'Buk', + 'Bun', + 'Bung', + 'Cai', + 'Car', + 'Caw', + 'Cee', + 'Ceh', + 'Cek', + 'Cen', + 'Cer', + 'Cha', + 'Chah', + 'Chai', + 'Chak', + 'Cham', + 'Chan', + 'Chang', + 'Chao', + 'Chap', + 'Char', + 'Chat', + 'Chau', + 'Chaw', + 'Chea', + 'Cheah', + 'Cheam', + 'Chean', + 'Cheang', + 'Chee', + 'Cheen', + 'Chek', + 'Chen', + 'Cheng', + 'Cheok', + 'Cheong', + 'Cher', + 'Chet', + 'Chew', + 'Chi', + 'Chia', + 'Chih', + 'Chik', + 'Chin', + 'Ching', + 'Chio', + 'Chit', + 'Chiu', + 'Cho', + 'Choi', + 'Chok', + 'Chon', + 'Chong', + 'Choo', + 'Chooi', + 'Choon', + 'Choong', + 'Chor', + 'Chou', + 'Chow', + 'Choy', + 'Chu', + 'Chua', + 'Chuah', + 'Chuan', + 'Chua', + 'Chui', + 'Chuk', + 'Chum', + 'Chun', + 'Chung', + 'Chuo', + 'Chye', + 'Da', + 'Dai', + 'Dan', + 'Dang', + 'Dao', + 'Dau', + 'Dee', + 'Deng', + 'Di', + 'Dim', + 'Din', + 'Ding', + 'Diong', + 'Do', + 'Dong', + 'Doo', + 'Dou', + 'Du', + 'Dui', + 'Duo', + 'Ee', + 'Eh', + 'En', + 'Enn', + 'Er', + 'Ern', + 'Eu', + 'Ew', + 'Fa', + 'Fah', + 'Fai', + 'Fam', + 'Fan', + 'Fang', + 'Fat', + 'Fatt', + 'Fay', + 'Faye', + 'Fee', + 'Fei', + 'Fen', + 'Feng', + 'Fern', + 'Fey', + 'Fok', + 'Fon', + 'Fong', + 'Foo', + 'Foon', + 'Foong', + 'Fu', + 'Fui', + 'Fuk', + 'Fun', + 'Fung', + 'Gai', + 'Gak', + 'Gam', + 'Gan', + 'Gao', + 'Gau', + 'Gee', + 'Gek', + 'Geng', + 'Gi', + 'Giap', + 'Gin', + 'Git', + 'Go', + 'Goh', + 'Gok', + 'Gon', + 'Gong', + 'Goo', + 'Goon', + 'Gu', + 'Gui', + 'Guk', + 'Gun', + 'Gung', + 'Gunn', + 'Ha', + 'Haa', + 'Hah', + 'Hai', + 'Han', + 'Hang', + 'Hao', + 'Har', + 'Haw', + 'He', + 'Hee', + 'Hei', + 'Hen', + 'Heng', + 'Heong', + 'Her', + 'Hew', + 'Hi', + 'Hii', + 'Hin', + 'Hing', + 'Hiong', + 'Hiu', + 'Ho', + 'Hoe', + 'Hoi', + 'Hok', + 'Hom', + 'Hon', + 'Hong', + 'Hoo', + 'Hooi', + 'Hook', + 'Hoon', + 'Hoong', + 'Hor', + 'Hou', + 'How', + 'Hoy', + 'Hu', + 'Hua', + 'Huan', + 'Huang', + 'Hue', + 'Hui', + 'Hun', + 'Hung', + 'Huo', + 'Hup', + 'Jan', + 'Jang', + 'Jao', + 'Jee', + 'Jei', + 'Jen', + 'Jeng', + 'Jeong', + 'Jer', + 'Jet', + 'Jett', + 'Jeu', + 'Ji', + 'Jia', + 'Jian', + 'Jiang', + 'Jie', + 'Jien', + 'Jiet', + 'Jim', + 'Jin', + 'Jing', + 'Jio', + 'Jiong', + 'Jit', + 'Jiu', + 'Jo', + 'Joe', + 'Jong', + 'Joo', + 'Joon', + 'Joong', + 'Joy', + 'Ju', + 'Jun', + 'Jung', + 'Jye', + 'Ka', + 'Kaa', + 'Kah', + 'Kai', + 'Kak', + 'Kam', + 'Kan', + 'Kang', + 'Kao', + 'Kap', + 'Kar', + 'Kat', + 'Kau', + 'Kaw', + 'Kay', + 'Ke', + 'Kean', + 'Keang', + 'Keat', + 'Kee', + 'Kei', + 'Kek', + 'Ken', + 'Keng', + 'Ker', + 'Keu', + 'Kew', + 'Key', + 'Kha', + 'Khai', + 'Khan', + 'Khang', + 'Khar', + 'Khaw', + 'Khay', + 'Khean', + 'Kheang', + 'Khee', + 'Khi', + 'Khia', + 'Khian', + 'Khiang', + 'Kho', + 'Khoh', + 'Khoi', + 'Khoo', + 'Khor', + 'Khu', + 'Khum', + 'Khung', + 'Ki', + 'Kia', + 'Kian', + 'Kiang', + 'Kiap', + 'Kiat', + 'Kien', + 'Kiet', + 'Kim', + 'Kin', + 'King', + 'Kit', + 'Ko', + 'Koe', + 'Koh', + 'Koi', + 'Kok', + 'Kong', + 'Koo', + 'Koong', + 'Koor', + 'Kor', + 'Kou', + 'Kow', + 'Koy', + 'Ku', + 'Kua', + 'Kuang', + 'Kui', + 'Kum', + 'Kun', + 'Kung', + 'Kuo', + 'Kuong', + 'Kuu', + 'La', + 'Lai', + 'Lak', + 'Lam', + 'Lan', + 'Lang', + 'Lao', + 'Lap', + 'Lar', + 'Lat', + 'Lau', + 'Law', + 'Lay', + 'Le', + 'Lea', + 'Lean', + 'Leang', + 'Leat', + 'Lee', + 'Leen', + 'Leet', + 'Lei', + 'Lein', + 'Leik', + 'Leiu', + 'Lek', + 'Len', + 'Leng', + 'Leon', + 'Leong', + 'Leow', + 'Ler', + 'Leu', + 'Leung', + 'Lew', + 'Lex', + 'Ley', + 'Li', + 'Liah', + 'Lian', + 'Liang', + 'Liao', + 'Liat', + 'Liau', + 'Liaw', + 'Lie', + 'Liek', + 'Liem', + 'Lien', + 'Liet', + 'Lieu', + 'Liew', + 'Lih', + 'Lik', + 'Lim', + 'Lin', + 'Ling', + 'Lio', + 'Lion', + 'Liong', + 'Liow', + 'Lip', + 'Lit', + 'Liu', + 'Lo', + 'Loh', + 'Loi', + 'Lok', + 'Long', + 'Loo', + 'Looi', + 'Look', + 'Loon', + 'Loong', + 'Lor', + 'Lou', + 'Low', + 'Loy', + 'Lu', + 'Lua', + 'Lui', + 'Luk', + 'Lum', + 'Lun', + 'Lung', + 'Luo', + 'Lup', + 'Luu', + 'Ma', + 'Mae', + 'Mag', + 'Mah', + 'Mai', + 'Mak', + 'Man', + 'Mang', + 'Mao', + 'Mar', + 'Mat', + 'Mau', + 'Maw', + 'May', + 'Me', + 'Mea', + 'Mee', + 'Meg', + 'Meh', + 'Mei', + 'Mek', + 'Mel', + 'Men', + 'Meu', + 'Mew', + 'Mi', + 'Mie', + 'Miin', + 'Miing', + 'Min', + 'Ming', + 'Miu', + 'Mo', + 'Moh', + 'Moi', + 'Mok', + 'Mon', + 'Mong', + 'Moo', + 'Moon', + 'Moong', + 'Mou', + 'Mow', + 'Moy', + 'Mu', + 'Mua', + 'Mui', + 'Mum', + 'Mun', + 'Muu', + 'Na', + 'Naa', + 'Nah', + 'Nai', + 'Nam', + 'Nan', + 'Nao', + 'Nau', + 'Nee', + 'Nei', + 'Neng', + 'Neo', + 'Neu', + 'New', + 'Nga', + 'Ngah', + 'Ngai', + 'Ngan', + 'Ngao', + 'Ngau', + 'Ngaw', + 'Ngo', + 'Ngu', + 'Ni', + 'Nian', + 'Niang', + 'Niao', + 'Niau', + 'Nien', + 'Nik', + 'Nin', + 'Niu', + 'Nong', + 'Nyet', + 'Oh', + 'Oi', + 'Ong', + 'Onn', + 'Oo', + 'Ooi', + 'Pah', + 'Pai', + 'Pak', + 'Pam', + 'Pan', + 'Pang', + 'Pao', + 'Pat', + 'Pau', + 'Paw', + 'Pay', + 'Peh', + 'Pei', + 'Peik', + 'Pek', + 'Pen', + 'Peng', + 'Pey', + 'Phang', + 'Pheng', + 'Phong', + 'Pik', + 'Pin', + 'Ping', + 'Po', + 'Poh', + 'Pok', + 'Pom', + 'Pong', + 'Pooi', + 'Pou', + 'Pow', + 'Pu', + 'Pua', + 'Puah', + 'Pui', + 'Pun', + 'Qi', + 'Qin', + 'Qing', + 'Qiu', + 'Qu', + 'Quan', + 'Quay', + 'Quen', + 'Qui', + 'Quek', + 'Quok', + 'Rei', + 'Ren', + 'Rin', + 'Ring', + 'Rinn', + 'Ron', + 'Rong', + 'Rou', + 'Ru', + 'Rui', + 'Ruo', + 'Sai', + 'Sam', + 'San', + 'Sang', + 'Say', + 'Sha', + 'Shak', + 'Sham', + 'Shan', + 'Shang', + 'Shao', + 'Shar', + 'Shau', + 'Shaw', + 'Shay', + 'She', + 'Shea', + 'Shee', + 'Shei', + 'Shek', + 'Shen', + 'Sher', + 'Shew', + 'Shey', + 'Shi', + 'Shia', + 'Shian', + 'Shiang', + 'Shiao', + 'Shie', + 'Shih', + 'Shik', + 'Shim', + 'Shin', + 'Shing', + 'Shio', + 'Shiu', + 'Sho', + 'Shok', + 'Shong', + 'Shoo', + 'Shou', + 'Show', + 'Shu', + 'Shui', + 'Shuk', + 'Shum', + 'Shun', + 'Shung', + 'Shuo', + 'Si', + 'Sia', + 'Siah', + 'Siak', + 'Siam', + 'Sian', + 'Siang', + 'Siao', + 'Siau', + 'Siaw', + 'Sien', + 'Sieu', + 'Siew', + 'Sih', + 'Sik', + 'Sim', + 'Sin', + 'Sing', + 'Sio', + 'Siong', + 'Siou', + 'Siow', + 'Sit', + 'Siu', + 'So', + 'Soh', + 'Soi', + 'Sok', + 'Son', + 'Song', + 'Soo', + 'Soon', + 'Soong', + 'Sou', + 'Sow', + 'Su', + 'Suan', + 'Suang', + 'Sue', + 'Suen', + 'Sui', + 'Suk', + 'Sum', + 'Sun', + 'Sung', + 'Suo', + 'Ta', + 'Tai', + 'Tak', + 'Tam', + 'Tan', + 'Tang', + 'Tao', + 'Tar', + 'Tat', + 'Tatt', + 'Tau', + 'Tay', + 'Tea', + 'Teak', + 'Tean', + 'Tee', + 'Teh', + 'Tei', + 'Tek', + 'Ten', + 'Teng', + 'Teo', + 'Teoh', + 'Ter', + 'Tet', + 'Teu', + 'Tew', + 'Tey', + 'Tha', + 'Thai', + 'Tham', + 'Thang', + 'Thau', + 'Thay', + 'Thee', + 'Theo', + 'Ther', + 'Thew', + 'They', + 'Thia', + 'Thian', + 'Thien', + 'Tho', + 'Thok', + 'Thong', + 'Thoo', + 'Thor', + 'Thou', + 'Thu', + 'Thuk', + 'Thum', + 'Thung', + 'Thur', + 'Ti', + 'Tia', + 'Tiah', + 'Tiak', + 'Tiam', + 'Tian', + 'Tiang', + 'Tiek', + 'Tien', + 'Tik', + 'Tim', + 'Tin', + 'Ting', + 'Tio', + 'Tiong', + 'Tiu', + 'To', + 'Toh', + 'Tok', + 'Tong', + 'Too', + 'Tor', + 'Tou', + 'Tow', + 'Tu', + 'Tuk', + 'Tung', + 'Ung', + 'Vin', + 'Von', + 'Voon', + 'Wa', + 'Wah', + 'Wai', + 'Wan', + 'Wang', + 'Way', + 'Wee', + 'Wei', + 'Wen', + 'Weng', + 'Wey', + 'Whay', + 'Whey', + 'Wi', + 'Win', + 'Wing', + 'Wo', + 'Woh', + 'Woi', + 'Wok', + 'Won', + 'Wong', + 'Woo', + 'Woon', + 'Wu', + 'Wui', + 'Xi', + 'Xia', + 'Xiah', + 'Xian', + 'Xiang', + 'Xiao', + 'Xiau', + 'Xie', + 'Xin', + 'Xing', + 'Xiong', + 'Xiu', + 'Xu', + 'Xun', + 'Yam', + 'Yan', + 'Yang', + 'Yao', + 'Yat', + 'Yatt', + 'Yau', + 'Yaw', + 'Ye', + 'Yee', + 'Yen', + 'Yeng', + 'Yeo', + 'Yeoh', + 'Yeong', + 'Yep', + 'Yet', + 'Yeu', + 'Yew', + 'Yi', + 'Yih', + 'Yii', + 'Yik', + 'Yin', + 'Ying', + 'Yip', + 'Yit', + 'Yo', + 'Yok', + 'Yon', + 'Yong', + 'Yoo', + 'You', + 'Yow', + 'Yu', + 'Yuan', + 'Yue', + 'Yuen', + 'Yuet', + 'Yuk', + 'Yun', + 'Yung', + 'Yup', + 'Yut', + 'Yutt', + 'Za', + 'Zai', + 'Zang', + 'Zao', + 'Zau', + 'Zea', + 'Zeah', + 'Zed', + 'Zee', + 'Zen', + 'Zeng', + 'Zeo', + 'Zet', + 'Zha', + 'Zhai', + 'Zhan', + 'Zhang', + 'Zhao', + 'Zhau', + 'Zhee', + 'Zhen', + 'Zheng', + 'Zhet', + 'Zhi', + 'Zhong', + 'Zhu', + 'Zhung', + 'Zi', + 'Zia', + 'Ziah', + 'Ziak', + 'Zian', + 'Ziang', + 'Ziao', + 'Ziau', + 'Zit', + 'Zo', + 'Zoe', + 'Zou', + 'Zu', + 'Zui', + 'Zuk', + 'Zung', + ]; + + /** + * Chinese male third character + * + * @see https://en.wikipedia.org/wiki/Chinese_given_name + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent + */ + protected static $firstNameMaleChinese = [ + 'Aik', + 'Ang', + 'Au', + 'Aun', + 'Bak', + 'Ban', + 'Bang', + 'Bao', + 'Bau', + 'Ben', + 'Beng', + 'Bing', + 'Bok', + 'Bong', + 'Boo', + 'Boon', + 'Bow', + 'Buk', + 'Bun', + 'Bung', + 'Chai', + 'Chak', + 'Chan', + 'Chang', + 'Chao', + 'Chap', + 'Chat', + 'Chau', + 'Chaw', + 'Cheah', + 'Chee', + 'Cheen', + 'Chek', + 'Chen', + 'Cheong', + 'Cher', + 'Chet', + 'Chew', + 'Chia', + 'Chih', + 'Chik', + 'Chin', + 'Ching', + 'Chit', + 'Chiu', + 'Cho', + 'Choi', + 'Chok', + 'Chon', + 'Chong', + 'Choo', + 'Chooi', + 'Choon', + 'Choong', + 'Chor', + 'Chou', + 'Chow', + 'Choy', + 'Chua', + 'Chuah', + 'Chuan', + 'Chua', + 'Chui', + 'Chuk', + 'Chum', + 'Chun', + 'Chung', + 'Chuo', + 'Chye', + 'Dan', + 'Dao', + 'Dau', + 'Dee', + 'Deng', + 'Di', + 'Dim', + 'Din', + 'Diong', + 'Dong', + 'Dou', + 'Du', + 'Dui', + 'Duo', + 'Eu', + 'Ew', + 'Fai', + 'Fam', + 'Fat', + 'Fatt', + 'Fee', + 'Feng', + 'Fok', + 'Fon', + 'Fong', + 'Foo', + 'Foon', + 'Foong', + 'Fu', + 'Fui', + 'Fuk', + 'Gai', + 'Gak', + 'Gam', + 'Gan', + 'Gao', + 'Gau', + 'Gee', + 'Gek', + 'Geng', + 'Giap', + 'Gin', + 'Git', + 'Go', + 'Goh', + 'Gok', + 'Gon', + 'Gong', + 'Gu', + 'Guk', + 'Gun', + 'Gung', + 'Gunn', + 'Hai', + 'Han', + 'Hang', + 'Har', + 'Haw', + 'Hei', + 'Hen', + 'Heng', + 'Hing', + 'Ho', + 'Hoe', + 'Hoi', + 'Hok', + 'Hom', + 'Hon', + 'Hong', + 'Hoo', + 'Hook', + 'Hoon', + 'Hoong', + 'Hor', + 'Hou', + 'How', + 'Hoy', + 'Hu', + 'Huan', + 'Huang', + 'Hun', + 'Hung', + 'Huo', + 'Hup', + 'Jeong', + 'Jer', + 'Jet', + 'Jett', + 'Jeu', + 'Ji', + 'Jian', + 'Jiang', + 'Jiet', + 'Jim', + 'Jin', + 'Jio', + 'Jiong', + 'Jit', + 'Jiu', + 'Jo', + 'Joe', + 'Joong', + 'Jung', + 'Jye', + 'Kai', + 'Kan', + 'Kang', + 'Kao', + 'Kap', + 'Kau', + 'Kaw', + 'Kean', + 'Keang', + 'Keat', + 'Kek', + 'Ken', + 'Keng', + 'Ker', + 'Keu', + 'Kew', + 'Khai', + 'Khan', + 'Khang', + 'Khaw', + 'Khean', + 'Kheang', + 'Khia', + 'Khian', + 'Khiang', + 'Kho', + 'Khoh', + 'Khoi', + 'Khoo', + 'Khu', + 'Khung', + 'Kia', + 'Kian', + 'Kiang', + 'Kiap', + 'Kiat', + 'Kien', + 'Kiet', + 'Kin', + 'King', + 'Kit', + 'Ko', + 'Koi', + 'Kok', + 'Kong', + 'Koo', + 'Koong', + 'Koor', + 'Kou', + 'Kow', + 'Koy', + 'Ku', + 'Kuang', + 'Kui', + 'Kun', + 'Kung', + 'Kuo', + 'Kuong', + 'Kuu', + 'Lak', + 'Lam', + 'Lang', + 'Lao', + 'Lap', + 'Lar', + 'Lat', + 'Lau', + 'Law', + 'Lean', + 'Leang', + 'Leat', + 'Lee', + 'Leet', + 'Leik', + 'Leiu', + 'Lek', + 'Len', + 'Leon', + 'Leong', + 'Leow', + 'Leung', + 'Lew', + 'Lex', + 'Liang', + 'Liao', + 'Liat', + 'Liau', + 'Liaw', + 'Liek', + 'Liem', + 'Liet', + 'Lieu', + 'Liew', + 'Lih', + 'Lik', + 'Lim', + 'Lio', + 'Lion', + 'Liong', + 'Liow', + 'Lip', + 'Lit', + 'Liu', + 'Lo', + 'Loh', + 'Loi', + 'Lok', + 'Long', + 'Loo', + 'Looi', + 'Look', + 'Loon', + 'Loong', + 'Lor', + 'Lou', + 'Low', + 'Loy', + 'Lu', + 'Luk', + 'Lum', + 'Lun', + 'Lung', + 'Lup', + 'Man', + 'Mang', + 'Mao', + 'Mar', + 'Mat', + 'Mau', + 'Maw', + 'Mek', + 'Men', + 'Mo', + 'Mok', + 'Mon', + 'Mong', + 'Moong', + 'Mou', + 'Mow', + 'Mu', + 'Nam', + 'Nan', + 'Nau', + 'Neng', + 'Neo', + 'Neu', + 'Ngai', + 'Ngao', + 'Ngau', + 'Ngaw', + 'Ngo', + 'Niao', + 'Niau', + 'Nien', + 'Nik', + 'Niu', + 'Nyet', + 'Oh', + 'Oi', + 'Ong', + 'Onn', + 'Oo', + 'Pah', + 'Pai', + 'Pak', + 'Pang', + 'Pao', + 'Pat', + 'Pau', + 'Paw', + 'Pen', + 'Peng', + 'Phang', + 'Pheng', + 'Phong', + 'Pok', + 'Pou', + 'Pow', + 'Pu', + 'Pua', + 'Puah', + 'Quan', + 'Quen', + 'Quek', + 'Quok', + 'Ren', + 'Ron', + 'Sai', + 'Sam', + 'San', + 'Sang', + 'Shak', + 'Sham', + 'Shang', + 'Shao', + 'Shau', + 'Shaw', + 'Shek', + 'Shen', + 'Shiang', + 'Shih', + 'Shik', + 'Shim', + 'Shing', + 'Shio', + 'Shiu', + 'Sho', + 'Shong', + 'Shoo', + 'Shou', + 'Show', + 'Shun', + 'Shung', + 'Shuo', + 'Siam', + 'Siang', + 'Siau', + 'Siaw', + 'Sieu', + 'Sih', + 'Sik', + 'Sing', + 'Sio', + 'Siong', + 'Siou', + 'Siow', + 'Sit', + 'Son', + 'Song', + 'Soon', + 'Soong', + 'Sou', + 'Sow', + 'Suang', + 'Sum', + 'Sung', + 'Suo', + 'Ta', + 'Tak', + 'Tan', + 'Tang', + 'Tao', + 'Tar', + 'Tat', + 'Tatt', + 'Tau', + 'Teak', + 'Tean', + 'Tee', + 'Teh', + 'Tei', + 'Tek', + 'Ten', + 'Teng', + 'Teo', + 'Teoh', + 'Ter', + 'Tet', + 'Teu', + 'Tew', + 'Tha', + 'Thai', + 'Tham', + 'Thang', + 'Thau', + 'Thay', + 'Thee', + 'Theo', + 'Ther', + 'Thew', + 'They', + 'Thian', + 'Thien', + 'Tho', + 'Thok', + 'Thong', + 'Thoo', + 'Thor', + 'Thou', + 'Thu', + 'Thuk', + 'Thum', + 'Thung', + 'Thur', + 'Tiak', + 'Tiam', + 'Tian', + 'Tiang', + 'Tiek', + 'Tien', + 'Tik', + 'Tim', + 'Tin', + 'Tio', + 'Tiong', + 'Tiu', + 'To', + 'Toh', + 'Tok', + 'Tong', + 'Too', + 'Tor', + 'Tou', + 'Tow', + 'Tu', + 'Tuk', + 'Tung', + 'Ung', + 'Vin', + 'Von', + 'Wa', + 'Wah', + 'Wai', + 'Wang', + 'Way', + 'Wee', + 'Wei', + 'Weng', + 'Whay', + 'Win', + 'Wing', + 'Wo', + 'Woh', + 'Woi', + 'Wok', + 'Won', + 'Wong', + 'Woo', + 'Wu', + 'Wui', + 'Xiang', + 'Xiong', + 'Yang', + 'Yao', + 'Yat', + 'Yatt', + 'Yau', + 'Yaw', + 'Ye', + 'Yeng', + 'Yeo', + 'Yeoh', + 'Yeong', + 'Yet', + 'Yih', + 'Yii', + 'Yik', + 'Yip', + 'Yit', + 'Yo', + 'Yok', + 'Yon', + 'Yong', + 'Yoo', + 'You', + 'Yow', + 'Yu', + 'Yuen', + 'Yuet', + 'Yuk', + 'Yut', + 'Yutt', + 'Za', + 'Zai', + 'Zang', + 'Zao', + 'Zau', + 'Zea', + 'Zeah', + 'Zed', + 'Zee', + 'Zen', + 'Zeng', + 'Zeo', + 'Zet', + 'Zha', + 'Zhai', + 'Zhan', + 'Zhang', + 'Zhao', + 'Zhau', + 'Zhee', + 'Zheng', + 'Zhet', + 'Zhong', + 'Zhu', + 'Zhung', + 'Ziak', + 'Zian', + 'Ziang', + 'Ziao', + 'Ziau', + 'Zit', + 'Zuk', + 'Zung', + ]; + + /** + * Chinese female third character + * + * @see https://en.wikipedia.org/wiki/Chinese_given_name + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent + */ + protected static $firstNameFemaleChinese = [ + 'Ai', + 'An', + 'Ann', + 'Aw', + 'Bae', + 'Bai', + 'Bee', + 'Beh', + 'Bei', + 'Bi', + 'Bik', + 'Bin', + 'Bui', + 'Cai', + 'Cee', + 'Cen', + 'Cham', + 'Cheam', + 'Chean', + 'Cheang', + 'Cheng', + 'Cheok', + 'Chi', + 'Ching', + 'Chio', + 'Chu', + 'Dai', + 'Dang', + 'Ding', + 'Do', + 'Doo', + 'Ee', + 'En', + 'Enn', + 'Er', + 'Ern', + 'Fah', + 'Fan', + 'Fang', + 'Fay', + 'Faye', + 'Fei', + 'Fen', + 'Fern', + 'Fey', + 'Fong', + 'Fun', + 'Fung', + 'Gi', + 'Goo', + 'Goon', + 'Gui', + 'Ha', + 'Haa', + 'Hah', + 'Hao', + 'He', + 'Hee', + 'Heong', + 'Her', + 'Hew', + 'Hi', + 'Hii', + 'Hin', + 'Hiong', + 'Hiu', + 'Hooi', + 'Hua', + 'Hue', + 'Hui', + 'Jan', + 'Jang', + 'Jao', + 'Jee', + 'Jei', + 'Jen', + 'Jeng', + 'Jia', + 'Jie', + 'Jien', + 'Jing', + 'Jong', + 'Joo', + 'Joon', + 'Joy', + 'Ju', + 'Jun', + 'Ka', + 'Kaa', + 'Kah', + 'Kak', + 'Kam', + 'Kar', + 'Kat', + 'Kay', + 'Ke', + 'Kee', + 'Kei', + 'Key', + 'Kha', + 'Khar', + 'Khay', + 'Khee', + 'Khi', + 'Khor', + 'Khum', + 'Ki', + 'Kim', + 'Koe', + 'Koh', + 'Kor', + 'Kum', + 'Kua', + 'Lai', + 'Lan', + 'Lay', + 'Le', + 'Lea', + 'Leen', + 'Lei', + 'Lein', + 'Leng', + 'Ler', + 'Leu', + 'Ley', + 'Li', + 'Liah', + 'Lian', + 'Lie', + 'Lien', + 'Lin', + 'Ling', + 'Lua', + 'Lui', + 'Luo', + 'Luu', + 'Ma', + 'Mae', + 'Mag', + 'Mah', + 'Mai', + 'Mak', + 'May', + 'Me', + 'Mea', + 'Mee', + 'Meg', + 'Meh', + 'Mei', + 'Mel', + 'Meu', + 'Mew', + 'Mi', + 'Mie', + 'Miin', + 'Miing', + 'Min', + 'Ming', + 'Miu', + 'Moh', + 'Moi', + 'Moo', + 'Moon', + 'Moy', + 'Mua', + 'Mui', + 'Mum', + 'Mun', + 'Muu', + 'Na', + 'Naa', + 'Nah', + 'Nai', + 'Nao', + 'Nee', + 'Nei', + 'New', + 'Nga', + 'Ngah', + 'Ngan', + 'Ngu', + 'Ni', + 'Nian', + 'Niang', + 'Nin', + 'Nong', + 'Ooi', + 'Pam', + 'Pan', + 'Pay', + 'Peh', + 'Pei', + 'Peik', + 'Pek', + 'Pey', + 'Pik', + 'Pin', + 'Ping', + 'Po', + 'Poh', + 'Pom', + 'Pong', + 'Pooi', + 'Pui', + 'Pun', + 'Qi', + 'Qin', + 'Qing', + 'Qiu', + 'Qu', + 'Quay', + 'Qui', + 'Rei', + 'Rin', + 'Ring', + 'Rinn', + 'Rong', + 'Rou', + 'Ru', + 'Rui', + 'Ruo', + 'Say', + 'Sha', + 'Shan', + 'Shar', + 'Shay', + 'She', + 'Shea', + 'Shee', + 'Shei', + 'Sher', + 'Shew', + 'Shey', + 'Shi', + 'Shia', + 'Shian', + 'Shiao', + 'Shie', + 'Shin', + 'Shok', + 'Shu', + 'Shui', + 'Shuk', + 'Shum', + 'Si', + 'Sia', + 'Siah', + 'Siak', + 'Sian', + 'Siao', + 'Sien', + 'Siew', + 'Sim', + 'Sin', + 'Siu', + 'So', + 'Soh', + 'Soi', + 'Sok', + 'Soo', + 'Su', + 'Suan', + 'Sue', + 'Suen', + 'Sui', + 'Suk', + 'Sun', + 'Tai', + 'Tam', + 'Tay', + 'Tea', + 'Teng', + 'Tey', + 'Thia', + 'Ti', + 'Tia', + 'Tiah', + 'Ting', + 'Voon', + 'Wan', + 'Wen', + 'Wey', + 'Whey', + 'Wi', + 'Woon', + 'Xi', + 'Xia', + 'Xiah', + 'Xian', + 'Xiao', + 'Xiau', + 'Xie', + 'Xin', + 'Xing', + 'Xiu', + 'Xu', + 'Xun', + 'Yam', + 'Yan', + 'Yee', + 'Yen', + 'Yep', + 'Yeu', + 'Yew', + 'Yi', + 'Yin', + 'Ying', + 'Yong', + 'Yuan', + 'Yue', + 'Yuen', + 'Yun', + 'Yung', + 'Yup', + 'Zhen', + 'Zhi', + 'Zi', + 'Zia', + 'Ziah', + 'Zo', + 'Zoe', + 'Zou', + 'Zu', + 'Zui', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Chinese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Cantonese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Chaoshanese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Chinese_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_English_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hakka_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hockchew_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Hokkien_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_people_of_Peranakan_descent + * @see https://en.wikipedia.org/wiki/Category:Malaysian_politicians_of_Chinese_descent + */ + protected static $firstNameMaleChristian = [ + 'Aaron', + 'Addy', + 'Adrian', + 'Alex', + 'Amos', + 'Anthony', + 'Bernard', + 'Billy', + 'Chris', + 'Christopher', + 'Colin', + 'Danell', + 'Daniel', + 'Danny', + 'David', + 'Douglas', + 'Eddie', + 'Eddy', + 'Edmund', + 'Eric', + 'Francis', + 'Frankie', + 'Gary', + 'Gavin', + 'George', + 'Gregory', + 'Henry', + 'Isaac', + 'James', + 'Jason', + 'Jeff', + 'Jeffrey', + 'Jimmy', + 'John', + 'Jonathan', + 'Josiah', + 'Julian', + 'Kevin', + 'Kris', + 'Mark', + 'Martin', + 'Mavin', + 'Melvin', + 'Michael', + 'Nathaniel', + 'Nelson', + 'Nicholas', + 'Peter', + 'Philip', + 'Richard', + 'Robert', + 'Roger', + 'Ronny', + 'Rynn', + 'Shaun', + 'Simon', + 'Stephen', + 'Steven', + 'Terry', + 'Tony', + 'Victor', + 'Vince', + 'Vincent', + 'Welson', + 'William', + 'Willie', + ]; + protected static $firstNameFemaleChristian = [ + 'Alice', + 'Alyssa', + 'Amber', + 'Amy', + 'Andrea', + 'Angelica', + 'Angie', + 'Apple', + 'Aslina', + 'Bernice', + 'Betty', + 'Boey', + 'Bonnie', + 'Caemen', + 'Carey', + 'Carmen', + 'Carrie', + 'Cindy', + 'Debbie', + 'Elaine', + 'Elena', + 'Felixia', + 'Fish', + 'Freya', + 'Genervie', + 'Gin', + 'Hannah', + 'Heidi', + 'Helena', + 'Janet', + 'Jemie', + 'Jess', + 'Jesseca', + 'Jessie', + 'Joanna', + 'Jolene', + 'Joyce', + 'Juliana', + 'Karen', + 'Kathleen', + 'Lilian', + 'Linda', + 'Lydia', + 'Lyndel', + 'Maria', + 'Marilyn', + 'Maya', + 'Meeia', + 'Melinda', + 'Melissa', + 'Michelle', + 'Michele', + 'Nadia', + 'Natalie', + 'Nicole', + 'Penny', + 'Phyllis', + 'Quincy', + 'Rachel', + 'Rena', + 'Rose', + 'Samantha', + 'Sarah', + 'Sheena', + 'Sherine', + 'Shevon', + 'Sonia', + 'Stella', + 'Teresa', + 'Tiffany', + 'Tracy', + 'Tricia', + 'Vera', + 'Violet', + 'Vivian', + 'Vivien', + 'Yvonne', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent + * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people + */ + protected static $initialIndian = [ + 'B. ', + 'B. C. ', + 'C. ', + 'D. ', + 'D. R. ', + 'D. S. ', + 'E. ', + 'G. ', + 'K. ', + 'K. L. ', + 'K. R.', + 'K. S. ', + 'M. ', + 'M. G. ', + 'M. G. G. ', + 'M. K. ', + 'N. ', + 'N. K. ', + 'P. ', + 'R. ', + 'R. G. ', + 'R. S. ', + 'S. ', + 'S. A. ', + 'T. ', + 'V. ', + 'V. T. ', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/K._L._Devaser + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent + * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people + */ + protected static $firstNameMaleIndian = [ + 'Anbil', + 'Ananda', + 'Arasu', + 'Arul', + 'Arulraj', + 'Arumugam', + 'Ash', + 'Babu', + 'Balachandra', + 'Balasubramaniam', + 'Balden', + 'Baljit', + 'Baltej', + 'Bishan', + 'Canagasabai', + 'Cecil', + 'Chakra', + 'Chanturu', + 'Depan', + 'Darma Raja', + 'Devaki', + 'Devamany', + 'Devan', + 'Devasagayam', + 'Diljit', + 'Doraisingam', + 'Ganesh', + 'Ganga', + 'Gengadharan', + 'Gobalakrishnan', + 'Gobind', + 'Gopinathan', + 'Govindasamy', + 'Gunasekaran', + 'Gurmit', + 'Haran', + 'Harikrish', + 'Hiresh', + 'Huzir', + 'Indi', + 'Jagdeep', + 'Janil', + 'Jeevandran', + 'Jegathesan', + 'Jeyakumar', + 'Jomo Kwame', + 'Kamal', + 'Kamalanathan', + 'Kanagaraj', + 'Kandasamy', + 'Kandiah', + 'Karamjit', + 'Karnail', + 'Karpal', + 'Kasi', + 'Kasinather', + 'Kavi', + 'Kavidhai', + 'Kishor', + 'Krishen', + 'Krishnamoorthy', + 'Krishnamurthi', + 'Krishnasamy', + 'Kulasegaran', + 'Kumar', + 'Kumutha', + 'Kuhan', + 'Kunanlan', + 'Kundan Lal', + 'Kunjiraman', + 'Loganathan', + 'Magendran', + 'Maha', + 'Mahadev', + 'Mahaletchumy', + 'Mahathir', + 'Maniam', + 'Manickavasagam', + 'Manikavasagam', + 'Manjit', + 'Manogaran', + 'Manoharan', + 'Manrick', + 'Marimuthu', + 'Merican', + 'Mogan', + 'Mohanadas', + 'Munshi', + 'Murugayan', + 'Murugesan', + 'Mutahir', + 'Nadarajan', + 'Nandakumar', + 'Nanthakumar', + 'Naraina', + 'Nethaji', + 'Ninian', + 'Padathan', + 'Palanivel', + 'Param', + 'Paramjit', + 'Pavandeep', + 'Praboo', + 'Pragash', + 'Premnath', + 'Prema', + 'Pria', + 'Puvaneswaran', + 'Rabinder', + 'Rajagobal', + 'Rajesh', + 'Rajeswary', + 'Rajiv', + 'Rakesh', + 'Rama', + 'Ramasamy', + 'Ramesh', + 'Ramkarpal', + 'Ramon', + 'Rattan', + 'Ravichandran', + 'Rehman', + 'Renuga', + 'Rohan', + 'Rueben', + 'Saarvindran', + 'Samy', + 'Sanisvara', + 'Sanjay', + 'Santhara', + 'Santokh', + 'Sarath', + 'Saravanan', + 'Sarjit', + 'Sasikumar', + 'Satwant', + 'Selvakkumar', + 'Selvaraju', + 'Serbegeth', + 'Shan', + 'Shankar', + 'Shanmugam', + 'Sittampalam', + 'Sivakumar', + 'Sivarasa', + 'Solamalay', + 'Sothinathan', + 'Subramaniam', + 'Sukhjit', + 'Sumisha', + 'Surendran', + 'Suresh', + 'Suriaprakash', + 'Tatparanandam', + 'Tanasekharan', + 'Thamboosamy', + 'Thamil', + 'Thayaparan', + 'Thirumurugan', + 'Thirunavuk', + 'Uthayakumar', + 'Varatharaju', + 'Veenod', + 'Veerappan', + 'Veerappen', + 'Veloo', + 'Vasudevan', + 'Vellu', + 'Viatilingam', + 'Vijandren', + 'Vinod', + 'Vishnu', + 'Vivasvan', + 'Waythamoorthy', + 'Weeratunge', + 'Yosri', + 'Yugendran', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent + * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people + */ + protected static $firstNameFemaleIndian = [ + 'Ambiga', + 'Anaika', + 'Anand', + 'Anita', + 'Asha', + 'Athi', + 'Gheetha', + 'Haanii', + 'Janaky', + 'Kasthuriraani', + 'Kavita', + 'Kiran', + 'Melinder', + 'Nithya', + 'Prashanthini', + 'Preeta', + 'Priya', + 'Pushpa', + 'Ramya', + 'Rani', + 'Rasammah', + 'Renuga', + 'Sangeeta', + 'Sannatasah', + 'Saraswati', + 'Shamini', + 'Shanthi', + 'Shanti', + 'Shoba', + 'Shuba', + 'Siva', + 'Sutheaswari', + 'Swarna', + 'Sybil', + 'Thanuja', + 'Theiviya', + 'Thripura', + 'Umasundari', + 'Uthaya', + 'Vijaya', + 'Zabrina', + ]; + + /** + * @see https://en.wikipedia.org/wiki/List_of_Malaysians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_politicians_of_Indian_descent + * @see https://en.wikipedia.org/wiki/List_of_Malaysian_sportspeople_of_Indian_descent + * @see https://en.wikipedia.org/wiki/Tamil_Malaysians#Notable_people + */ + protected static $lastNameIndian = [ + 'Alagaratnam', + 'Ambumamee', + 'Ammasee', + 'Ampalavanar', + 'Ananthan', + 'Arivanathan', + 'Arujunan', + 'Arumugam', + 'Asirvatham', + 'Autherapady', + 'Balakrishnan', + 'Balan', + 'Bamadhaj', + 'Bastianpillai', + 'Bhullar', + 'Bhupalan', + 'Chandran', + 'Cumaraswamy', + 'Chelvan', + 'Chengara', + 'Dairiam', + 'Davies', + 'Devaraj', + 'Devandran', + 'Devaser', + 'Dhaliwal', + 'Dharmalingam', + 'Dhillon', + 'Elavarasan', + 'Fernandes', + 'Fernandez', + 'Ganapathy', + 'Ganesan', + 'Gnanalingam', + 'Goundar', + 'Govindasamy', + 'Gunalan', + 'Gurusamy', + 'Haridas', + 'Iyer', + 'Jaidka', + 'Jassal', + 'Jayaram', + 'Jayaseelan', + 'Jayawardene', + 'Jeevananthan', + 'Kaliappan', + 'Kamalesvaran', + 'Kandasamy', + 'Karathu', + 'Kathigasu', + 'Kathiripillai', + 'Kaveri', + 'Kayveas', + 'Krishnan', + 'Krishnasamy', + 'Kumar', + 'Kumaresan', + 'Kumari', + 'Kunalan', + 'Kundargal', + 'Kuppusamy', + 'Lakshmi', + 'Linggam', + 'Lourdenadin', + 'Madhavan', + 'Mahathevan', + 'Malayalam', + 'Manicka', + 'Manikavasagam', + 'Marimuthu', + 'Menon', + 'Mohinder', + 'Moorthy', + 'Mudukasan', + 'Muniandy', + 'Munisamy', + 'Munusamy', + 'Murugan', + 'Murugeson', + 'Nadarajah', + 'Nagapan', + 'Nagappan', + 'Nagaraj', + 'Nagarajan', + 'Nahappan', + 'Naidu', + 'Nair', + 'Namasivayam', + 'Narayan', + 'Navaratnam', + 'Navarednam', + 'Nayar', + 'Nijhar', + 'Pakiam', + 'Palaniappan', + 'Palanisamy', + 'Panchanathan', + 'Pandithan', + 'Parthiban', + 'Pathmanaban', + 'Patto', + 'Pereira', + 'Perera', + 'Periasamy', + 'Perumal', + 'Pillai', + 'Pillay', + 'Ponnusamy', + 'Prakash', + 'Puaneswaran', + 'Purushothaman', + 'Puspanathan', + 'Puthucheary', + 'Raj Kaur', + 'Rajakumar', + 'Rajan', + 'Rajannaidu', + 'Rajendra', + 'Rajendran', + 'Rajhans', + 'Raju', + 'Ramachandra', + 'Ramadas', + 'Ramadass', + 'Ramanathan', + 'Ramani', + 'Ramasamy', + 'Raj', + 'Rao', + 'Rasiah', + 'Ratnam', + 'Ravindran', + 'Rayer', + 'Retinam', + 'Rishyakaran', + 'Robbat', + 'Sachithanandan', + 'Sakadivan', + 'Sakwati', + 'Samarasan', + 'Sambanthan', + 'Sandrakasi', + 'Sangalimuthu', + 'Saniru', + 'Sankar', + 'Saravanan', + 'Sathasivam', + 'Sathianathan', + 'Saunthararajah', + 'Seenivasagam', + 'Sekhar', + 'Sellan', + 'Selvanayagam', + 'Selvarajoo', + 'Selvaratnam', + 'Shanmuganathan', + 'Shanmugaratnam', + 'Shekhar', + 'Shivraj', + 'Shree', + 'Sidhu', + 'Sinnandavar', + 'Sinnathamby', + 'Sinnathuray', + 'Sivanesan', + 'Singh', + 'Sivalingam', + 'Sivanesan', + 'Shankar', + 'Sodhy', + 'Somasundram', + 'Sooryapparad', + 'Soti', + 'Sreenevasan', + 'Subramaniam', + 'Sundram', + 'Suppiah', + 'Surendran', + 'Thajudeen', + 'Thalalla', + 'Thambu', + 'Thanabalasingam', + 'Thanenthiran', + 'Theseira', + 'Thevandran', + 'Thiru', + 'Thirunavukarasu', + 'Thivy', + 'Thuraisingham', + 'Tikaram', + 'Vadaketh', + 'Vadiveloo', + 'Vanajah', + 'Varman', + 'Vasudevan', + 'Veeran', + 'Veerasamy', + 'Veerasenan', + 'Veerathan', + 'Veetil', + 'Velappan', + 'Vello', + 'Vengatarakoo', + 'Vethamuthu', + 'Viswalingam', + 'Xavier', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Malay_styles_and_titles + */ + protected static $titleMale = [ + 'En.', + 'Dr.', + 'Prof.', + 'Datuk', + 'Dato\'', + 'Datuk Seri', + 'Dato\' Sri', + 'Tan Sri', + 'Tun' + ]; + protected static $titleFemale = [ + 'Pn.', + 'Cik', + 'Dr.', + 'Prof.', + 'Datin', + 'Datin Paduka', + 'Datin Paduka Seri', + 'Puan Sri', + 'Toh Puan' + ]; + + /** + * Return a Malay male first name + * + * @return string + * @example 'Ahmad' + * + */ + public static function firstNameMaleMalay() { + return static::randomElement( static::$firstNameMaleMalay ); + } + + /** + * Return a Malay female first name + * + * @return string + * @example 'Adibah' + * + */ + public static function firstNameFemaleMalay() { + return static::randomElement( static::$firstNameFemaleMalay ); + } + + /** + * Return a Malay last name + * + * @return string + * @example 'Abdullah' + * + */ + public function lastNameMalay() { + return static::randomElement( static::$lastNameMalay ); + } + + /** + * Return a Malay male 'Muhammad' name + * + * @return string + * @example 'Muhammad' + * + */ + public static function muhammadName() { + return static::randomElement( static::$muhammadName ); + } + + /** + * Return a Malay female 'Nur' name + * + * @return string + * @example 'Nur' + * + */ + public static function nurName() { + return static::randomElement( static::$nurName ); + } + + /** + * Return a Malay male 'Haji' title + * + * @return string + * @example 'Haji' + * + */ + public static function haji() { + return static::randomElement( static::$haji ); + } + + /** + * Return a Malay female 'Hajjah' title + * + * @return string + * @example 'Hajjah' + * + */ + public static function hajjah() { + return static::randomElement( static::$hajjah ); + } + + /** + * Return a Malay title + * + * @return string + * @example 'Syed' + * + */ + public static function titleMaleMalay() { + return static::randomElement( static::$titleMaleMalay ); + } + + /** + * Return a Chinese last name + * + * @return string + * @example 'Lim' + * + */ + public static function lastNameChinese() { + return static::randomElement( static::$lastNameChinese ); + } + + /** + * Return a Chinese male first name + * + * @return string + * @example 'Goh Tong' + * + */ + public static function firstNameMaleChinese() { + return static::randomElement( static::$firstNameChinese ) . ' ' . static::randomElement( static::$firstNameMaleChinese ); + } + + /** + * Return a Chinese female first name + * + * @return string + * @example 'Mew Choo' + * + */ + public static function firstNameFemaleChinese() { + return static::randomElement( static::$firstNameChinese ) . ' ' . static::randomElement( static::$firstNameFemaleChinese ); + } + + /** + * Return a Christian male name + * + * @return string + * @example 'Aaron' + * + */ + public static function firstNameMaleChristian() { + return static::randomElement( static::$firstNameMaleChristian ); + } + + /** + * Return a Christian female name + * + * @return string + * @example 'Alice' + * + */ + public static function firstNameFemaleChristian() { + return static::randomElement( static::$firstNameFemaleChristian ); + } + + /** + * Return an Indian initial + * + * @return string + * @example 'S. ' + * + */ + public static function initialIndian() { + return static::randomElement( static::$initialIndian ); + } + + /** + * Return an Indian male first name + * + * @return string + * @example 'Arumugam' + * + */ + public static function firstNameMaleIndian() { + return static::randomElement( static::$firstNameMaleIndian ); + } + + /** + * Return an Indian female first name + * + * @return string + * @example 'Ambiga' + * + */ + public static function firstNameFemaleIndian() { + return static::randomElement( static::$firstNameFemaleIndian ); + } + + /** + * Return an Indian last name + * + * @return string + * @example 'Subramaniam' + * + */ + public static function lastNameIndian() { + return static::randomElement( static::$lastNameIndian ); + } + + /** + * Return a random last name + * + * @return string + * @example 'Lee' + * + */ + public function lastName() { + $formats = [ + '{{lastNameMalay}}', + '{{lastNameChinese}}', + '{{lastNameIndian}}', + ]; + + return $this->generator->parse( static::randomElement( $formats ) ); + } + + /** + * Return a Malaysian I.C. No. + * + * @param string|null $gender 'male', 'female' or null for any + * @param bool|string|null $hyphen true, false, or any separator characters + * + * @return string + * @see https://en.wikipedia.org/wiki/Malaysian_identity_card#Structure_of_the_National_Registration_Identity_Card_Number_(NRIC) + * + * @example '890123-45-6789' + * + */ + public static function myKadNumber( $gender = null, $hyphen = false ) { + // year of birth + $yy = self::numberBetween( 0, 99 ); + + // month of birth + $mm = DateTime::month(); + + // day of birth + $dd = DateTime::dayOfMonth(); + + // place of birth (1-59 except 17-20) + while ( in_array( $pb = self::numberBetween( 1, 59 ), [ 17, 18, 19, 20 ], false ) ) { + } + + // random number + $nnn = self::numberBetween( 0, 999 ); + + // gender digit. Odd = MALE, Even = FEMALE + $g = self::numberBetween( 0, 9 ); + //Credit: https://gist.github.com/mauris/3629548 + if ( $gender === static::GENDER_MALE ) { + $g = $g | 1; + } elseif ( $gender === static::GENDER_FEMALE ) { + $g = $g & ~1; + } + + // formatting with hyphen + if ( $hyphen === true ) { + $hyphen = '-'; + } elseif ( $hyphen === false ) { + $hyphen = ''; + } + + return sprintf( '%02d%02d%02d%s%02d%s%03d%01d', $yy, $mm, $dd, $hyphen, $pb, $hyphen, $nnn, $g ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/PhoneNumber.php index 7cce02f..40ada87 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ms_MY/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ms_MY/PhoneNumber.php @@ -2,216 +2,223 @@ namespace Faker\Provider\ms_MY; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '{{mobileNumber}}', - '{{fixedLineNumber}}', - '{{voipNumber}}', - ]; - - protected static $plusSymbol = [ - '+', - ]; - - protected static $countryCodePrefix = [ - '6', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony - */ - protected static $zeroOneOnePrefix = ['10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '22', '23', '32']; - protected static $zeroOneFourPrefix = ['2', '3', '4', '5', '6', '7', '8', '9']; - protected static $zeroOneFivePrefix = ['1', '2', '3', '4', '5', '6', '9']; - - /** - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony - */ - protected static $mobileNumberFormatsWithFormatting = [ - '010-### ####', - '011-{{zeroOneOnePrefix}}## ####', - '012-### ####', - '013-### ####', - '014-{{zeroOneFourPrefix}}## ####', - '016-### ####', - '017-### ####', - '018-### ####', - '019-### ####', - ]; - - protected static $mobileNumberFormats = [ - '010#######', - '011{{zeroOneOnePrefix}}######', - '012#######', - '013#######', - '014{{zeroOneFourPrefix}}######', - '016#######', - '017#######', - '018#######', - '019#######', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Geographic_area_codes - */ - protected static $fixedLineNumberFormatsWithFormatting = [ - '03-#### ####', - '04-### ####', - '05-### ####', - '06-### ####', - '07-### ####', - '08#-## ####', - '09-### ####', - ]; - - protected static $fixedLineNumberFormats = [ - '03########', - '04#######', - '05#######', - '06#######', - '07#######', - '08#######', - '09#######', - ]; - - /** - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony - */ - protected static $voipNumberWithFormatting = [ - '015-{{zeroOneFivePrefix}}## ####', - ]; - - protected static $voipNumber = [ - '015{{zeroOneFivePrefix}}######', - ]; - - /** - * Return a Malaysian Mobile Phone Number. - * - * @example '+6012-345-6789' - * - * @param bool $countryCodePrefix true, false - * @param bool $formatting true, false - * - * @return string - */ - public function mobileNumber($countryCodePrefix = true, $formatting = true) - { - if ($formatting) { - $format = static::randomElement(static::$mobileNumberFormatsWithFormatting); - } else { - $format = static::randomElement(static::$mobileNumberFormats); - } - - if ($countryCodePrefix) { - return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); - } - - return static::numerify($this->generator->parse($format)); - } - - /** - * Return prefix digits for 011 numbers - * - * @example '10' - * - * @return string - */ - public static function zeroOneOnePrefix() - { - return static::numerify(static::randomElement(static::$zeroOneOnePrefix)); - } - - /** - * Return prefix digits for 014 numbers - * - * @example '2' - * - * @return string - */ - public static function zeroOneFourPrefix() - { - return static::numerify(static::randomElement(static::$zeroOneFourPrefix)); - } - - /** - * Return prefix digits for 015 numbers - * - * @example '1' - * - * @return string - */ - public static function zeroOneFivePrefix() - { - return static::numerify(static::randomElement(static::$zeroOneFivePrefix)); - } - - /** - * Return a Malaysian Fixed Line Phone Number. - * - * @example '+603-4567-8912' - * - * @param bool $countryCodePrefix true, false - * @param bool $formatting true, false - * - * @return string - */ - public function fixedLineNumber($countryCodePrefix = true, $formatting = true) - { - if ($formatting) { - $format = static::randomElement(static::$fixedLineNumberFormatsWithFormatting); - } else { - $format = static::randomElement(static::$fixedLineNumberFormats); - } - - if ($countryCodePrefix) { - return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); - } - - return static::numerify($this->generator->parse($format)); - } - - /** - * Return a Malaysian VoIP Phone Number. - * - * @example '+6015-678-9234' - * - * @param bool $countryCodePrefix true, false - * @param bool $formatting true, false - * - * @return string - */ - public function voipNumber($countryCodePrefix = true, $formatting = true) - { - if ($formatting) { - $format = static::randomElement(static::$voipNumberWithFormatting); - } else { - $format = static::randomElement(static::$voipNumber); - } - - if ($countryCodePrefix) { - return static::countryCodePrefix($formatting) . static::numerify($this->generator->parse($format)); - } - - return static::numerify($this->generator->parse($format)); - } - - /** - * Return a Malaysian Country Code Prefix. - * - * @example '+6' - * - * @param bool $formatting true, false - * - * @return string - */ - public static function countryCodePrefix($formatting = true) - { - if ($formatting) { - return static::randomElement(static::$plusSymbol) . static::randomElement(static::$countryCodePrefix); - } - - return static::randomElement(static::$countryCodePrefix); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '{{mobileNumber}}', + '{{fixedLineNumber}}', + '{{voipNumber}}', + ]; + + protected static $plusSymbol = [ + '+', + ]; + + protected static $countryCodePrefix = [ + '6', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony + */ + protected static $zeroOneOnePrefix = [ + '10', + '11', + '12', + '13', + '14', + '15', + '16', + '17', + '18', + '19', + '20', + '22', + '23', + '32' + ]; + protected static $zeroOneFourPrefix = [ '2', '3', '4', '5', '6', '7', '8', '9' ]; + protected static $zeroOneFivePrefix = [ '1', '2', '3', '4', '5', '6', '9' ]; + + /** + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony + */ + protected static $mobileNumberFormatsWithFormatting = [ + '010-### ####', + '011-{{zeroOneOnePrefix}}## ####', + '012-### ####', + '013-### ####', + '014-{{zeroOneFourPrefix}}## ####', + '016-### ####', + '017-### ####', + '018-### ####', + '019-### ####', + ]; + + protected static $mobileNumberFormats = [ + '010#######', + '011{{zeroOneOnePrefix}}######', + '012#######', + '013#######', + '014{{zeroOneFourPrefix}}######', + '016#######', + '017#######', + '018#######', + '019#######', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Geographic_area_codes + */ + protected static $fixedLineNumberFormatsWithFormatting = [ + '03-#### ####', + '04-### ####', + '05-### ####', + '06-### ####', + '07-### ####', + '08#-## ####', + '09-### ####', + ]; + + protected static $fixedLineNumberFormats = [ + '03########', + '04#######', + '05#######', + '06#######', + '07#######', + '08#######', + '09#######', + ]; + + /** + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Malaysia#Mobile_phone_codes_and_IP_telephony + */ + protected static $voipNumberWithFormatting = [ + '015-{{zeroOneFivePrefix}}## ####', + ]; + + protected static $voipNumber = [ + '015{{zeroOneFivePrefix}}######', + ]; + + /** + * Return a Malaysian Mobile Phone Number. + * + * @param bool $countryCodePrefix true, false + * @param bool $formatting true, false + * + * @return string + * @example '+6012-345-6789' + * + */ + public function mobileNumber( $countryCodePrefix = true, $formatting = true ) { + if ( $formatting ) { + $format = static::randomElement( static::$mobileNumberFormatsWithFormatting ); + } else { + $format = static::randomElement( static::$mobileNumberFormats ); + } + + if ( $countryCodePrefix ) { + return static::countryCodePrefix( $formatting ) . static::numerify( $this->generator->parse( $format ) ); + } + + return static::numerify( $this->generator->parse( $format ) ); + } + + /** + * Return prefix digits for 011 numbers + * + * @return string + * @example '10' + * + */ + public static function zeroOneOnePrefix() { + return static::numerify( static::randomElement( static::$zeroOneOnePrefix ) ); + } + + /** + * Return prefix digits for 014 numbers + * + * @return string + * @example '2' + * + */ + public static function zeroOneFourPrefix() { + return static::numerify( static::randomElement( static::$zeroOneFourPrefix ) ); + } + + /** + * Return prefix digits for 015 numbers + * + * @return string + * @example '1' + * + */ + public static function zeroOneFivePrefix() { + return static::numerify( static::randomElement( static::$zeroOneFivePrefix ) ); + } + + /** + * Return a Malaysian Fixed Line Phone Number. + * + * @param bool $countryCodePrefix true, false + * @param bool $formatting true, false + * + * @return string + * @example '+603-4567-8912' + * + */ + public function fixedLineNumber( $countryCodePrefix = true, $formatting = true ) { + if ( $formatting ) { + $format = static::randomElement( static::$fixedLineNumberFormatsWithFormatting ); + } else { + $format = static::randomElement( static::$fixedLineNumberFormats ); + } + + if ( $countryCodePrefix ) { + return static::countryCodePrefix( $formatting ) . static::numerify( $this->generator->parse( $format ) ); + } + + return static::numerify( $this->generator->parse( $format ) ); + } + + /** + * Return a Malaysian VoIP Phone Number. + * + * @param bool $countryCodePrefix true, false + * @param bool $formatting true, false + * + * @return string + * @example '+6015-678-9234' + * + */ + public function voipNumber( $countryCodePrefix = true, $formatting = true ) { + if ( $formatting ) { + $format = static::randomElement( static::$voipNumberWithFormatting ); + } else { + $format = static::randomElement( static::$voipNumber ); + } + + if ( $countryCodePrefix ) { + return static::countryCodePrefix( $formatting ) . static::numerify( $this->generator->parse( $format ) ); + } + + return static::numerify( $this->generator->parse( $format ) ); + } + + /** + * Return a Malaysian Country Code Prefix. + * + * @param bool $formatting true, false + * + * @return string + * @example '+6' + * + */ + public static function countryCodePrefix( $formatting = true ) { + if ( $formatting ) { + return static::randomElement( static::$plusSymbol ) . static::randomElement( static::$countryCodePrefix ); + } + + return static::randomElement( static::$countryCodePrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Address.php b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Address.php index cbc39d7..0ea8266 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Address.php @@ -2,196 +2,915 @@ namespace Faker\Provider\nb_NO; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%###', '%##', '%#', '%#?', '%', '%?']; - - protected static $streetPrefix = [ - 'Øvre', 'Nedre', 'Søndre', 'Gamle', 'Østre', 'Vestre', - ]; - - protected static $streetSuffix = [ - 'alléen', 'bakken', 'berget', 'bråten', 'eggen', 'engen', 'ekra', 'faret', 'flata', 'gata', 'gjerdet', 'grenda', - 'gropa', 'hagen', 'haugen', 'havna', 'holtet', 'høgda', 'jordet', 'kollen', 'kroken', 'lia', 'lunden', 'lyngen', - 'løkka', 'marka', 'moen', 'myra', 'plassen', 'ringen', 'roa', 'røa', 'skogen', 'skrenten', 'spranget', 'stien', - 'stranda', 'stubben', 'stykket', 'svingen', 'tjernet', 'toppen', 'tunet', 'vollen', 'vika', 'åsen', - ]; - - protected static $streetSuffixWord = [ - 'sgate', 'svei', 's Gate', 's Vei', 'gata', 'veien', - ]; - - protected static $postcode = ['####', '####', '####', '0###']; - - /** - * @var array Norwegian city names - * - * @see https://no.wikipedia.org/wiki/Liste_over_norske_byer - */ - protected static $cityNames = [ - 'Alta', 'Arendal', 'Askim', 'Bergen', 'Bodø', 'Brekstad', 'Brevik', 'Brumunddal', 'Bryne', 'Brønnøysund', - 'Drammen', 'Drøbak', 'Egersund', 'Elverum', 'Fagernes', 'Farsund', 'Fauske', 'Finnsnes', 'Flekkefjord', 'Florø', - 'Fosnavåg', 'Fredrikstad', 'Førde', 'Gjøvik', 'Grimstad', 'Halden', 'Hamar', 'Hammerfest', 'Harstad', - 'Haugesund', 'Hokksund', 'Holmestrand', 'Honningsvåg', 'Horten', 'Hønefoss', 'Jessheim', 'Jørpeland', - 'Kirkenes', 'Kolvereid', 'Kongsberg', 'Kongsvinger', 'Kopervik', 'Kragerø', 'Kristiansand', 'Kristiansund', - 'Langesund', 'Larvik', 'Leknes', 'Levanger', 'Lillehammer', 'Lillesand', 'Lillestrøm', 'Lyngdal', 'Mandal', - 'Mo i Rana', 'Moelv', 'Molde', 'Mosjøen', 'Moss', 'Mysen', 'Måløy', 'Namsos', 'Narvik', 'Notodden', 'Odda', - 'Orkanger', 'Oslo', 'Otta', 'Porsgrunn', 'Risør', 'Rjukan', 'Røros', 'Sandefjord', 'Sandnes', 'Sandnessjøen', - 'Sandvika', 'Sarpsborg', 'Sauda', 'Ski', 'Skien', 'Skudeneshavn', 'Sortland', 'Stathelle', 'Stavanger', - 'Stavern', 'Steinkjer', 'Stjørdalshalsen', 'Stokmarknes', 'Stord', 'Svelvik', 'Svolvær', 'Tromsø', 'Trondheim', - 'Tvedestrand', 'Tønsberg', 'Ulsteinvik', 'Vadsø', 'Vardø', 'Verdalsøra', 'Vinstra', 'Åkrehamn', 'Ålesund', - 'Åndalsnes', 'Åsgårdstrand', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - /** - * @var array Norwegian municipality names - * - * @see https://no.wikipedia.org/wiki/Norges_kommuner - */ - protected static $kommuneNames = [ - 'Halden', 'Moss', 'Sarpsborg', 'Fredrikstad', 'Hvaler', 'Aremark', 'Marker', 'Rømskog', 'Trøgstad', 'Spydeberg', - 'Askim', 'Eidsberg', 'Skiptvet', 'Rakkestad', 'Råde', 'Rygge', 'Våler', 'Hobøl', 'Vestby', 'Ski', 'Ås', 'Frogn', - 'Nesodden', 'Oppegård', 'Bærum', 'Asker', 'Aurskog-Høland', 'Sørum', 'Fet', 'Rælingen', 'Enebakk', 'Lørenskog', - 'Skedsmo', 'Nittedal', 'Gjerdrum', 'Ullensaker', 'Nes', 'Eidsvoll', 'Nannestad', 'Hurdal', 'Oslo', - 'Kongsvinger', 'Hamar', 'Ringsaker', 'Løten', 'Stange', 'Nord-Odal', 'Sør-Odal', 'Eidskog', 'Grue', 'Åsnes', - 'Våler', 'Elverum', 'Trysil', 'Åmot', 'Stor-Elvdal', 'Rendalen', 'Engerdal', 'Tolga', 'Tynset', 'Alvdal', - 'Folldal', 'Os', 'Lillehammer', 'Gjøvik', 'Dovre', 'Lesja', 'Skjåk', 'Lom', 'Vågå', 'Nord-Fron', 'Sel', - 'Sør-Fron', 'Ringebu', 'Øyer', 'Gausdal', 'Østre Toten', 'Vestre Toten', 'Jevnaker', 'Lunner', 'Gran', - 'Søndre Land', 'Nordre Land', 'Sør-Aurdal', 'Etnedal', 'Nord-Aurdal', 'Vestre Slidre', 'Øystre Slidre', 'Vang', - 'Drammen', 'Kongsberg', 'Ringerike', 'Hole', 'Flå', 'Nes', 'Gol', 'Hemsedal', 'Ål', 'Hol', 'Sigdal', - 'Krødsherad', 'Modum', 'Øvre Eiker', 'Nedre Eiker', 'Lier', 'Røyken', 'Hurum', 'Flesberg', 'Rollag', - 'Nore og Uvdal', 'Horten', 'Holmestrand', 'Tønsberg', 'Sandefjord', 'Larvik', 'Svelvik', 'Sande', 'Hof', 'Re', - 'Andebu', 'Stokke', 'Nøtterøy', 'Tjøme', 'Lardal', 'Porsgrunn', 'Skien', 'Notodden', 'Siljan', 'Bamble', - 'Kragerø', 'Drangedal', 'Nome', 'Bø', 'Sauherad', 'Tinn', 'Hjartdal', 'Seljord', 'Kviteseid', 'Nissedal', - 'Fyresdal', 'Tokke', 'Vinje', 'Risør', 'Grimstad', 'Arendal', 'Gjerstad', 'Vegårshei', 'Tvedestrand', 'Froland', - 'Lillesand', 'Birkenes', 'Åmli', 'Iveland', 'Evje og Hornnes', 'Bygland', 'Valle', 'Bykle', 'Kristiansand', - 'Mandal', 'Farsund', 'Flekkefjord', 'Vennesla', 'Songdalen', 'Søgne', 'Marnardal', 'Åseral', 'Audnedal', - 'Lindesnes', 'Lyngdal', 'Hægebostad', 'Kvinesdal', 'Sirdal', 'Eigersund', 'Sandnes', 'Stavanger', 'Haugesund', - 'Sokndal', 'Lund', 'Bjerkreim', 'Hå', 'Klepp', 'Time', 'Gjesdal', 'Sola', 'Randaberg', 'Forsand', 'Strand', - 'Hjelmeland', 'Suldal', 'Sauda', 'Finnøy', 'Rennesøy', 'Kvitsøy', 'Bokn', 'Tysvær', 'Karmøy', 'Utsira', - 'Vindafjord', 'Bergen', 'Etne', 'Sveio', 'Bømlo', 'Stord', 'Fitjar', 'Tysnes', 'Kvinnherad', 'Jondal', 'Odda', - 'Ullensvang', 'Eidfjord', 'Ulvik', 'Granvin', 'Voss', 'Kvam', 'Fusa', 'Samnanger', 'Os', 'Austevoll', 'Sund', - 'Fjell', 'Askøy', 'Vaksdal', 'Modalen', 'Osterøy', 'Meland', 'Øygarden', 'Radøy', 'Lindås', 'Austrheim', - 'Fedje', 'Masfjorden', 'Flora', 'Gulen', 'Solund', 'Hyllestad', 'Høyanger', 'Vik', 'Balestrand', 'Leikanger', - 'Sogndal', 'Aurland', 'Lærdal', 'Årdal', 'Luster', 'Askvoll', 'Fjaler', 'Gaular', 'Jølster', 'Førde', - 'Naustdal', 'Bremanger', 'Vågsøy', 'Selje', 'Eid', 'Hornindal', 'Gloppen', 'Stryn', 'Molde', 'Ålesund', - 'Kristiansund', 'Vanylven', 'Sande', 'Herøy', 'Ulstein', 'Hareid', 'Volda', 'Ørsta', 'Ørskog', 'Norddal', - 'Stranda', 'Stordal', 'Sykkylven', 'Skodje', 'Sula', 'Giske', 'Haram', 'Vestnes', 'Rauma', 'Nesset', 'Midsund', - 'Sandøy', 'Aukra', 'Fræna', 'Eide', 'Averøy', 'Gjemnes', 'Tingvoll', 'Sunndal', 'Surnadal', 'Rindal', 'Halsa', - 'Smøla', 'Aure', 'Trondheim', 'Hemne', 'Snillfjord', 'Hitra', 'Frøya', 'Ørland', 'Agdenes', 'Rissa', 'Bjugn', - 'Åfjord', 'Roan', 'Osen', 'Oppdal', 'Rennebu', 'Meldal', 'Orkdal', 'Røros', 'Holtålen', 'Midtre Gauldal', - 'Melhus', 'Skaun', 'Klæbu', 'Malvik', 'Selbu', 'Tydal', 'Steinkjer', 'Namsos', 'Meråker', 'Stjørdal', 'Frosta', - 'Leksvik', 'Levanger', 'Verdal', 'Verran', 'Namdalseid', 'Inderøy', 'Snåsa', 'Lierne', 'Røyrvik', 'Namsskogan', - 'Grong', 'Høylandet', 'Overhalla', 'Fosnes', 'Flatanger', 'Vikna', 'Nærøy', 'Leka', 'Bodø', 'Narvik', 'Bindal', - 'Sømna', 'Brønnøy', 'Vega', 'Vevelstad', 'Herøy', 'Alstahaug', 'Leirfjord', 'Vefsn', 'Grane', 'Hattfjelldal', - 'Dønna', 'Nesna', 'Hemnes', 'Rana', 'Lurøy', 'Træna', 'Rødøy', 'Meløy', 'Gildeskål', 'Beiarn', 'Saltdal', - 'Fauske', 'Sørfold', 'Steigen', 'Hamarøy', 'Tysfjord', 'Lødingen', 'Tjeldsund', 'Evenes', 'Ballangen', 'Røst', - 'Værøy', 'Flakstad', 'Vestvågøy', 'Vågan', 'Hadsel', 'Bø', 'Øksnes', 'Sortland', 'Andøy', 'Moskenes', - 'Harstad[10]', 'Tromsø', 'Kvæfjord', 'Skånland', 'Ibestad', 'Gratangen', 'Lavangen', 'Bardu', 'Salangen', - 'Målselv', 'Sørreisa', 'Dyrøy', 'Tranøy', 'Torsken', 'Berg', 'Lenvik', 'Balsfjord', 'Karlsøy', 'Lyngen', - 'Storfjord', 'Kåfjord', 'Skjervøy', 'Nordreisa', 'Kvænangen', 'Vardø', 'Vadsø', 'Hammerfest', 'Kautokeino', - 'Alta', 'Loppa', 'Hasvik', 'Kvalsund', 'Måsøy', 'Nordkapp', 'Porsanger', 'Karasjok', 'Lebesby', 'Gamvik', - 'Berlevåg', 'Tana', 'Nesseby', 'Båtsfjord', 'Sør-Varanger', - ]; - - /** - * @var array Norwegian county names - * - * @see https://no.wikipedia.org/wiki/Norges_fylker - */ - protected static $countyNames = [ - 'Østfold', 'Akershus', 'Oslo', 'Hedmark', 'Oppland', 'Buskerud', 'Vestfold', 'Telemark', 'Aust-Agder', - 'Vest-Agder', 'Rogaland', 'Hordaland', 'Sogn og Fjordane', 'Møre og Romsdal', 'Sør-Trøndelag', 'Nord-Trøndelag', - 'Nordland', 'Troms', 'Finnmark', 'Svalbard', 'Jan Mayen', 'Kontinentalsokkelen', - ]; - - protected static $country = [ - 'Abkhasia', 'Afghanistan', 'Albania', 'Algerie', 'Andorra', 'Angola', 'Antigua og Barbuda', 'Argentina', - 'Armenia', 'Aserbajdsjan', 'Australia', 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belgia', 'Belize', - 'Benin', 'Bhutan', 'Bolivia', 'Bosnia-Hercegovina', 'Botswana', 'Brasil', 'Brunei', 'Bulgaria', 'Burkina Faso', - 'Burundi', 'Canada', 'Chile', 'Colombia', 'Costa Rica', 'Cuba', 'Danmark', 'De forente arabiske emirater', - 'Den demokratiske republikken Kongo', 'Den dominikanske republikk', 'Den sentralafrikanske republikk', - 'Djibouti', 'Dominica', 'Ecuador', 'Egypt', 'Ekvatorial-Guinea', 'Elfenbenskysten', 'El Salvador', 'Eritrea', - 'Estland', 'Etiopia', 'Fiji', 'Filippinene', 'Finland', 'Frankrike', 'Gabon', 'Gambia', 'Georgia', 'Ghana', - 'Grenada', 'Guatemala', 'Guinea', 'Guinea-Bissau', 'Guyana', 'Haiti', 'Hellas', 'Honduras', 'Hviterussland', - 'India', 'Indonesia', 'Irak', 'Iran', 'Irland', 'Island', 'Israel', 'Italia', 'Jamaica', 'Japan', 'Jemen', - 'Jordan', 'Kambodsja', 'Kamerun', 'Kapp Verde', 'Kasakhstan', 'Kenya', 'Folkerepublikken Kina', 'Kirgisistan', - 'Kiribati', 'Komorene', 'Republikken Kongo', 'Kosovo', 'Kroatia', 'Kuwait', 'Kypros', 'Laos', 'Latvia', - 'Lesotho', 'Libanon', 'Liberia', 'Libya', 'Liechtenstein', 'Litauen', 'Luxembourg', 'Madagaskar', 'Makedonia', - 'Malawi', 'Malaysia', 'Maldivene', 'Mali', 'Malta', 'Marokko', 'Marshalløyene', 'Mauritania', 'Mauritius', - 'Mexico', 'Mikronesiaføderasjonen', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Mosambik', 'Myanmar', - 'Namibia', 'Nauru', 'Nederland', 'Nepal', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Nord-Korea', - 'Nord-Kypros', 'Norge', 'Oman', 'Pakistan', 'Palau', 'Panama', 'Papua Ny-Guinea', 'Paraguay', 'Peru', 'Polen', - 'Portugal', 'Qatar', 'Romania', 'Russland', 'Rwanda', 'Saint Kitts og Nevis', 'Saint Lucia', - 'Saint Vincent og Grenadinene', 'Salomonøyene', 'Samoa', 'San Marino', 'São Tomé og Príncipe', 'Saudi-Arabia', - 'Senegal', 'Serbia', 'Seychellene', 'Sierra Leone', 'Singapore', 'Slovakia', 'Slovenia', 'Somalia', 'Spania', - 'Sri Lanka', 'Storbritannia', 'Sudan', 'Surinam', 'Sveits', 'Sverige', 'Swaziland', 'Syria', 'Sør-Afrika', - 'Sør-Korea', 'Sør-Ossetia', 'Sør-Sudan', 'Tadsjikistan', 'Taiwan', 'Tanzania', 'Thailand', 'Togo', 'Tonga', - 'Transnistria', 'Trinidad og Tobago', 'Tsjad', 'Tsjekkia', 'Tunisia', 'Turkmenistan', 'Tuvalu', 'Tyrkia', - 'Tyskland', 'Uganda', 'USA', 'Ukraina', 'Ungarn', 'Uruguay', 'Usbekistan', 'Vanuatu', 'Vatikanstaten', - 'Venezuela', 'Vietnam', 'Zambia', 'Zimbabwe', 'Østerrike', 'Øst-Timor', - ]; - - /** - * @var array Norwegian street name formats - */ - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffix}}', - '{{lastName}}{{streetSuffix}}', - '{{firstName}}{{streetSuffix}}', - '{{firstName}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{lastName}} {{streetSuffixWord}}', - ]; - - /** - * @var array Norwegian street address formats - */ - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - /** - * @var array Norwegian address formats - */ - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Randomly return a real city name - * - * @return string - */ - public static function cityName() - { - return static::randomElement(static::$cityNames); - } - - public static function streetSuffixWord() - { - return static::randomElement(static::$streetSuffixWord); - } - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * Randomly return a building number. - * - * @return string - */ - public static function buildingNumber() - { - return static::toUpper(static::bothify(static::randomElement(static::$buildingNumber))); - } +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%###', '%##', '%#', '%#?', '%', '%?' ]; + + protected static $streetPrefix = [ + 'Øvre', + 'Nedre', + 'Søndre', + 'Gamle', + 'Østre', + 'Vestre', + ]; + + protected static $streetSuffix = [ + 'alléen', + 'bakken', + 'berget', + 'bråten', + 'eggen', + 'engen', + 'ekra', + 'faret', + 'flata', + 'gata', + 'gjerdet', + 'grenda', + 'gropa', + 'hagen', + 'haugen', + 'havna', + 'holtet', + 'høgda', + 'jordet', + 'kollen', + 'kroken', + 'lia', + 'lunden', + 'lyngen', + 'løkka', + 'marka', + 'moen', + 'myra', + 'plassen', + 'ringen', + 'roa', + 'røa', + 'skogen', + 'skrenten', + 'spranget', + 'stien', + 'stranda', + 'stubben', + 'stykket', + 'svingen', + 'tjernet', + 'toppen', + 'tunet', + 'vollen', + 'vika', + 'åsen', + ]; + + protected static $streetSuffixWord = [ + 'sgate', + 'svei', + 's Gate', + 's Vei', + 'gata', + 'veien', + ]; + + protected static $postcode = [ '####', '####', '####', '0###' ]; + + /** + * @var array Norwegian city names + * + * @see https://no.wikipedia.org/wiki/Liste_over_norske_byer + */ + protected static $cityNames = [ + 'Alta', + 'Arendal', + 'Askim', + 'Bergen', + 'Bodø', + 'Brekstad', + 'Brevik', + 'Brumunddal', + 'Bryne', + 'Brønnøysund', + 'Drammen', + 'Drøbak', + 'Egersund', + 'Elverum', + 'Fagernes', + 'Farsund', + 'Fauske', + 'Finnsnes', + 'Flekkefjord', + 'Florø', + 'Fosnavåg', + 'Fredrikstad', + 'Førde', + 'Gjøvik', + 'Grimstad', + 'Halden', + 'Hamar', + 'Hammerfest', + 'Harstad', + 'Haugesund', + 'Hokksund', + 'Holmestrand', + 'Honningsvåg', + 'Horten', + 'Hønefoss', + 'Jessheim', + 'Jørpeland', + 'Kirkenes', + 'Kolvereid', + 'Kongsberg', + 'Kongsvinger', + 'Kopervik', + 'Kragerø', + 'Kristiansand', + 'Kristiansund', + 'Langesund', + 'Larvik', + 'Leknes', + 'Levanger', + 'Lillehammer', + 'Lillesand', + 'Lillestrøm', + 'Lyngdal', + 'Mandal', + 'Mo i Rana', + 'Moelv', + 'Molde', + 'Mosjøen', + 'Moss', + 'Mysen', + 'Måløy', + 'Namsos', + 'Narvik', + 'Notodden', + 'Odda', + 'Orkanger', + 'Oslo', + 'Otta', + 'Porsgrunn', + 'Risør', + 'Rjukan', + 'Røros', + 'Sandefjord', + 'Sandnes', + 'Sandnessjøen', + 'Sandvika', + 'Sarpsborg', + 'Sauda', + 'Ski', + 'Skien', + 'Skudeneshavn', + 'Sortland', + 'Stathelle', + 'Stavanger', + 'Stavern', + 'Steinkjer', + 'Stjørdalshalsen', + 'Stokmarknes', + 'Stord', + 'Svelvik', + 'Svolvær', + 'Tromsø', + 'Trondheim', + 'Tvedestrand', + 'Tønsberg', + 'Ulsteinvik', + 'Vadsø', + 'Vardø', + 'Verdalsøra', + 'Vinstra', + 'Åkrehamn', + 'Ålesund', + 'Åndalsnes', + 'Åsgårdstrand', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + /** + * @var array Norwegian municipality names + * + * @see https://no.wikipedia.org/wiki/Norges_kommuner + */ + protected static $kommuneNames = [ + 'Halden', + 'Moss', + 'Sarpsborg', + 'Fredrikstad', + 'Hvaler', + 'Aremark', + 'Marker', + 'Rømskog', + 'Trøgstad', + 'Spydeberg', + 'Askim', + 'Eidsberg', + 'Skiptvet', + 'Rakkestad', + 'Råde', + 'Rygge', + 'Våler', + 'Hobøl', + 'Vestby', + 'Ski', + 'Ås', + 'Frogn', + 'Nesodden', + 'Oppegård', + 'Bærum', + 'Asker', + 'Aurskog-Høland', + 'Sørum', + 'Fet', + 'Rælingen', + 'Enebakk', + 'Lørenskog', + 'Skedsmo', + 'Nittedal', + 'Gjerdrum', + 'Ullensaker', + 'Nes', + 'Eidsvoll', + 'Nannestad', + 'Hurdal', + 'Oslo', + 'Kongsvinger', + 'Hamar', + 'Ringsaker', + 'Løten', + 'Stange', + 'Nord-Odal', + 'Sør-Odal', + 'Eidskog', + 'Grue', + 'Åsnes', + 'Våler', + 'Elverum', + 'Trysil', + 'Åmot', + 'Stor-Elvdal', + 'Rendalen', + 'Engerdal', + 'Tolga', + 'Tynset', + 'Alvdal', + 'Folldal', + 'Os', + 'Lillehammer', + 'Gjøvik', + 'Dovre', + 'Lesja', + 'Skjåk', + 'Lom', + 'Vågå', + 'Nord-Fron', + 'Sel', + 'Sør-Fron', + 'Ringebu', + 'Øyer', + 'Gausdal', + 'Østre Toten', + 'Vestre Toten', + 'Jevnaker', + 'Lunner', + 'Gran', + 'Søndre Land', + 'Nordre Land', + 'Sør-Aurdal', + 'Etnedal', + 'Nord-Aurdal', + 'Vestre Slidre', + 'Øystre Slidre', + 'Vang', + 'Drammen', + 'Kongsberg', + 'Ringerike', + 'Hole', + 'Flå', + 'Nes', + 'Gol', + 'Hemsedal', + 'Ål', + 'Hol', + 'Sigdal', + 'Krødsherad', + 'Modum', + 'Øvre Eiker', + 'Nedre Eiker', + 'Lier', + 'Røyken', + 'Hurum', + 'Flesberg', + 'Rollag', + 'Nore og Uvdal', + 'Horten', + 'Holmestrand', + 'Tønsberg', + 'Sandefjord', + 'Larvik', + 'Svelvik', + 'Sande', + 'Hof', + 'Re', + 'Andebu', + 'Stokke', + 'Nøtterøy', + 'Tjøme', + 'Lardal', + 'Porsgrunn', + 'Skien', + 'Notodden', + 'Siljan', + 'Bamble', + 'Kragerø', + 'Drangedal', + 'Nome', + 'Bø', + 'Sauherad', + 'Tinn', + 'Hjartdal', + 'Seljord', + 'Kviteseid', + 'Nissedal', + 'Fyresdal', + 'Tokke', + 'Vinje', + 'Risør', + 'Grimstad', + 'Arendal', + 'Gjerstad', + 'Vegårshei', + 'Tvedestrand', + 'Froland', + 'Lillesand', + 'Birkenes', + 'Åmli', + 'Iveland', + 'Evje og Hornnes', + 'Bygland', + 'Valle', + 'Bykle', + 'Kristiansand', + 'Mandal', + 'Farsund', + 'Flekkefjord', + 'Vennesla', + 'Songdalen', + 'Søgne', + 'Marnardal', + 'Åseral', + 'Audnedal', + 'Lindesnes', + 'Lyngdal', + 'Hægebostad', + 'Kvinesdal', + 'Sirdal', + 'Eigersund', + 'Sandnes', + 'Stavanger', + 'Haugesund', + 'Sokndal', + 'Lund', + 'Bjerkreim', + 'Hå', + 'Klepp', + 'Time', + 'Gjesdal', + 'Sola', + 'Randaberg', + 'Forsand', + 'Strand', + 'Hjelmeland', + 'Suldal', + 'Sauda', + 'Finnøy', + 'Rennesøy', + 'Kvitsøy', + 'Bokn', + 'Tysvær', + 'Karmøy', + 'Utsira', + 'Vindafjord', + 'Bergen', + 'Etne', + 'Sveio', + 'Bømlo', + 'Stord', + 'Fitjar', + 'Tysnes', + 'Kvinnherad', + 'Jondal', + 'Odda', + 'Ullensvang', + 'Eidfjord', + 'Ulvik', + 'Granvin', + 'Voss', + 'Kvam', + 'Fusa', + 'Samnanger', + 'Os', + 'Austevoll', + 'Sund', + 'Fjell', + 'Askøy', + 'Vaksdal', + 'Modalen', + 'Osterøy', + 'Meland', + 'Øygarden', + 'Radøy', + 'Lindås', + 'Austrheim', + 'Fedje', + 'Masfjorden', + 'Flora', + 'Gulen', + 'Solund', + 'Hyllestad', + 'Høyanger', + 'Vik', + 'Balestrand', + 'Leikanger', + 'Sogndal', + 'Aurland', + 'Lærdal', + 'Årdal', + 'Luster', + 'Askvoll', + 'Fjaler', + 'Gaular', + 'Jølster', + 'Førde', + 'Naustdal', + 'Bremanger', + 'Vågsøy', + 'Selje', + 'Eid', + 'Hornindal', + 'Gloppen', + 'Stryn', + 'Molde', + 'Ålesund', + 'Kristiansund', + 'Vanylven', + 'Sande', + 'Herøy', + 'Ulstein', + 'Hareid', + 'Volda', + 'Ørsta', + 'Ørskog', + 'Norddal', + 'Stranda', + 'Stordal', + 'Sykkylven', + 'Skodje', + 'Sula', + 'Giske', + 'Haram', + 'Vestnes', + 'Rauma', + 'Nesset', + 'Midsund', + 'Sandøy', + 'Aukra', + 'Fræna', + 'Eide', + 'Averøy', + 'Gjemnes', + 'Tingvoll', + 'Sunndal', + 'Surnadal', + 'Rindal', + 'Halsa', + 'Smøla', + 'Aure', + 'Trondheim', + 'Hemne', + 'Snillfjord', + 'Hitra', + 'Frøya', + 'Ørland', + 'Agdenes', + 'Rissa', + 'Bjugn', + 'Åfjord', + 'Roan', + 'Osen', + 'Oppdal', + 'Rennebu', + 'Meldal', + 'Orkdal', + 'Røros', + 'Holtålen', + 'Midtre Gauldal', + 'Melhus', + 'Skaun', + 'Klæbu', + 'Malvik', + 'Selbu', + 'Tydal', + 'Steinkjer', + 'Namsos', + 'Meråker', + 'Stjørdal', + 'Frosta', + 'Leksvik', + 'Levanger', + 'Verdal', + 'Verran', + 'Namdalseid', + 'Inderøy', + 'Snåsa', + 'Lierne', + 'Røyrvik', + 'Namsskogan', + 'Grong', + 'Høylandet', + 'Overhalla', + 'Fosnes', + 'Flatanger', + 'Vikna', + 'Nærøy', + 'Leka', + 'Bodø', + 'Narvik', + 'Bindal', + 'Sømna', + 'Brønnøy', + 'Vega', + 'Vevelstad', + 'Herøy', + 'Alstahaug', + 'Leirfjord', + 'Vefsn', + 'Grane', + 'Hattfjelldal', + 'Dønna', + 'Nesna', + 'Hemnes', + 'Rana', + 'Lurøy', + 'Træna', + 'Rødøy', + 'Meløy', + 'Gildeskål', + 'Beiarn', + 'Saltdal', + 'Fauske', + 'Sørfold', + 'Steigen', + 'Hamarøy', + 'Tysfjord', + 'Lødingen', + 'Tjeldsund', + 'Evenes', + 'Ballangen', + 'Røst', + 'Værøy', + 'Flakstad', + 'Vestvågøy', + 'Vågan', + 'Hadsel', + 'Bø', + 'Øksnes', + 'Sortland', + 'Andøy', + 'Moskenes', + 'Harstad[10]', + 'Tromsø', + 'Kvæfjord', + 'Skånland', + 'Ibestad', + 'Gratangen', + 'Lavangen', + 'Bardu', + 'Salangen', + 'Målselv', + 'Sørreisa', + 'Dyrøy', + 'Tranøy', + 'Torsken', + 'Berg', + 'Lenvik', + 'Balsfjord', + 'Karlsøy', + 'Lyngen', + 'Storfjord', + 'Kåfjord', + 'Skjervøy', + 'Nordreisa', + 'Kvænangen', + 'Vardø', + 'Vadsø', + 'Hammerfest', + 'Kautokeino', + 'Alta', + 'Loppa', + 'Hasvik', + 'Kvalsund', + 'Måsøy', + 'Nordkapp', + 'Porsanger', + 'Karasjok', + 'Lebesby', + 'Gamvik', + 'Berlevåg', + 'Tana', + 'Nesseby', + 'Båtsfjord', + 'Sør-Varanger', + ]; + + /** + * @var array Norwegian county names + * + * @see https://no.wikipedia.org/wiki/Norges_fylker + */ + protected static $countyNames = [ + 'Østfold', + 'Akershus', + 'Oslo', + 'Hedmark', + 'Oppland', + 'Buskerud', + 'Vestfold', + 'Telemark', + 'Aust-Agder', + 'Vest-Agder', + 'Rogaland', + 'Hordaland', + 'Sogn og Fjordane', + 'Møre og Romsdal', + 'Sør-Trøndelag', + 'Nord-Trøndelag', + 'Nordland', + 'Troms', + 'Finnmark', + 'Svalbard', + 'Jan Mayen', + 'Kontinentalsokkelen', + ]; + + protected static $country = [ + 'Abkhasia', + 'Afghanistan', + 'Albania', + 'Algerie', + 'Andorra', + 'Angola', + 'Antigua og Barbuda', + 'Argentina', + 'Armenia', + 'Aserbajdsjan', + 'Australia', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belgia', + 'Belize', + 'Benin', + 'Bhutan', + 'Bolivia', + 'Bosnia-Hercegovina', + 'Botswana', + 'Brasil', + 'Brunei', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Canada', + 'Chile', + 'Colombia', + 'Costa Rica', + 'Cuba', + 'Danmark', + 'De forente arabiske emirater', + 'Den demokratiske republikken Kongo', + 'Den dominikanske republikk', + 'Den sentralafrikanske republikk', + 'Djibouti', + 'Dominica', + 'Ecuador', + 'Egypt', + 'Ekvatorial-Guinea', + 'Elfenbenskysten', + 'El Salvador', + 'Eritrea', + 'Estland', + 'Etiopia', + 'Fiji', + 'Filippinene', + 'Finland', + 'Frankrike', + 'Gabon', + 'Gambia', + 'Georgia', + 'Ghana', + 'Grenada', + 'Guatemala', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Hellas', + 'Honduras', + 'Hviterussland', + 'India', + 'Indonesia', + 'Irak', + 'Iran', + 'Irland', + 'Island', + 'Israel', + 'Italia', + 'Jamaica', + 'Japan', + 'Jemen', + 'Jordan', + 'Kambodsja', + 'Kamerun', + 'Kapp Verde', + 'Kasakhstan', + 'Kenya', + 'Folkerepublikken Kina', + 'Kirgisistan', + 'Kiribati', + 'Komorene', + 'Republikken Kongo', + 'Kosovo', + 'Kroatia', + 'Kuwait', + 'Kypros', + 'Laos', + 'Latvia', + 'Lesotho', + 'Libanon', + 'Liberia', + 'Libya', + 'Liechtenstein', + 'Litauen', + 'Luxembourg', + 'Madagaskar', + 'Makedonia', + 'Malawi', + 'Malaysia', + 'Maldivene', + 'Mali', + 'Malta', + 'Marokko', + 'Marshalløyene', + 'Mauritania', + 'Mauritius', + 'Mexico', + 'Mikronesiaføderasjonen', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Mosambik', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nederland', + 'Nepal', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Nord-Korea', + 'Nord-Kypros', + 'Norge', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua Ny-Guinea', + 'Paraguay', + 'Peru', + 'Polen', + 'Portugal', + 'Qatar', + 'Romania', + 'Russland', + 'Rwanda', + 'Saint Kitts og Nevis', + 'Saint Lucia', + 'Saint Vincent og Grenadinene', + 'Salomonøyene', + 'Samoa', + 'San Marino', + 'São Tomé og Príncipe', + 'Saudi-Arabia', + 'Senegal', + 'Serbia', + 'Seychellene', + 'Sierra Leone', + 'Singapore', + 'Slovakia', + 'Slovenia', + 'Somalia', + 'Spania', + 'Sri Lanka', + 'Storbritannia', + 'Sudan', + 'Surinam', + 'Sveits', + 'Sverige', + 'Swaziland', + 'Syria', + 'Sør-Afrika', + 'Sør-Korea', + 'Sør-Ossetia', + 'Sør-Sudan', + 'Tadsjikistan', + 'Taiwan', + 'Tanzania', + 'Thailand', + 'Togo', + 'Tonga', + 'Transnistria', + 'Trinidad og Tobago', + 'Tsjad', + 'Tsjekkia', + 'Tunisia', + 'Turkmenistan', + 'Tuvalu', + 'Tyrkia', + 'Tyskland', + 'Uganda', + 'USA', + 'Ukraina', + 'Ungarn', + 'Uruguay', + 'Usbekistan', + 'Vanuatu', + 'Vatikanstaten', + 'Venezuela', + 'Vietnam', + 'Zambia', + 'Zimbabwe', + 'Østerrike', + 'Øst-Timor', + ]; + + /** + * @var array Norwegian street name formats + */ + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffix}}', + '{{lastName}}{{streetSuffix}}', + '{{firstName}}{{streetSuffix}}', + '{{firstName}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{lastName}} {{streetSuffixWord}}', + ]; + + /** + * @var array Norwegian street address formats + */ + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + /** + * @var array Norwegian address formats + */ + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Randomly return a real city name + * + * @return string + */ + public static function cityName() { + return static::randomElement( static::$cityNames ); + } + + public static function streetSuffixWord() { + return static::randomElement( static::$streetSuffixWord ); + } + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * Randomly return a building number. + * + * @return string + */ + public static function buildingNumber() { + return static::toUpper( static::bothify( static::randomElement( static::$buildingNumber ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Company.php b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Company.php index 2dd9ff8..a3b1de2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Company.php @@ -2,56 +2,1545 @@ namespace Faker\Provider\nb_NO; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{firstName}} {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}}', - '{{lastName}} og {{lastName}}', - '{{lastName}} og {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{firstName}} {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}}', + '{{lastName}} og {{lastName}}', + '{{lastName}} og {{lastName}} {{companySuffix}}', + ]; - /** - * Common suffixes - * - * @see https://www.brreg.no/bedrift/organisasjonsformer/ - */ - protected static $companySuffix = ['ANS', 'AS', 'ASA', 'BA', 'DA', 'ENK', 'GFS', 'KTRF', 'NUF', 'PK', 'SA', 'SPA', 'STI', 'VIFE']; + /** + * Common suffixes + * + * @see https://www.brreg.no/bedrift/organisasjonsformer/ + */ + protected static $companySuffix = [ + 'ANS', + 'AS', + 'ASA', + 'BA', + 'DA', + 'ENK', + 'GFS', + 'KTRF', + 'NUF', + 'PK', + 'SA', + 'SPA', + 'STI', + 'VIFE' + ]; - /** - * 1500 random job titles from Statistisk Sentralbyrå - * - * @see http://www.ssb.no/a/yrke/yrke.csv - */ - protected static $jobTitleFormat = [ - 'Administrasjonsdirektør', 'Administrasjonskonsulent', 'Administrasjonssekretær', 'Administrasjonssjef', 'Administrerende Overlege', 'Admiral', 'Advokatassistent', 'Aerobicinstruktør', 'Afis-Fullmektig', 'Agrotekniker', 'Ais-Fullmektig', 'Akrobat', 'Aktivitør', 'Akupunktør', 'Alarmoperatør', 'Allmenningbestyrer', 'Allmennpraktiserende Lege', 'Amanuensis', 'Ambassaderåd', 'Ambassadesekretær', 'Ambulansemedhjelper', 'Ambulansesjef', 'Ambulerende Vaktmester', 'Ammoniakkoker', 'Anestesilege', 'Animatør', 'Anleggsdykker', 'Anleggsgartnermester', 'Anleggsmaskinkjører', 'Anleggsmaskinmekaniker', 'Anleggsoperatør', 'Annenflyger', 'Annonseakkvisitør', 'Annonsebehandler', 'Annonsekonsulent', 'Annonseselger', 'Annonsesjef', 'Anretningshjelp', 'Apotekmedarbeider', 'Arbeidsmedisiner', 'Arbeidssjef', 'Arbeidsstudieingeniør', 'Arbeidsterapeut', 'Arbeidstilrettelegger', 'Arbeidstilsynskontrollør', 'Arbeidstilsynsrådgiver', 'Arkivassistent', 'Arkivmedarbeider', 'Arrestforvarer', 'Asfaltarbeider', 'Asfaltverkarbeider', 'Asfaltør', 'Assistentfotograf', 'Assisterende Administrerende Direktør', 'Assisterende Banksjef', 'Assisterende Bestyrer', 'Assisterende Borer', 'Assisterende Byfogd', 'Assisterende Fylkeshelsesjef', 'Assisterende Fylkeslege', 'Assisterende Fylkesmann', 'Assisterende Helsedirektør', 'Assisterende Kjøkkensjef', 'Assisterende Kommunegartner', 'Assisterende Sjefflygeleder', 'Assisterende Sjefspsykolog', 'Assisterende Sykepleiesjef', 'Assisterende Vaktmester', 'Astrofysiker', 'Astronom', 'Atomfysiker', 'Attache', 'Autoklavoperatør', 'Autoklavpasser', 'Automasjonsingeniør', 'Automatiker', 'Automatiseringsmontør', 'Avdelingsarkitekt', 'Avdelingsbanksjef', 'Avdelingsbetjent', 'Avdelingsdirektør', 'Avdelingsergoterapeut', 'Avdelingsingeniør', 'Avdelingsleder/fysioterapeut', 'Avdelingspsykolog', 'Avdelingssekretær', 'Avdelingssjef', 'Avdelingssjef Akvakultur Mv.', 'Avdelingssjef Restaurant', 'Avdelingssykepleier', 'Avlaster', 'Avlskonsulent', 'Avløser', - 'Babysvømmeinstruktør', 'Badeassistent', 'Badebetjent', 'Bakermester', 'Bakteriolog', 'Banearbeider', 'Bankassistent', 'Bankkonsulent', 'Banksjef', 'Barkeeper', 'Barmedarbeider', 'Barne- Og Ungdomssekretær', 'Barnehageassistent', 'Barnehjemsbestyrer', 'Barnepasser', 'Barnevernskonsulent', 'Bartender', 'Basketballtrener', 'Bedriftskonsulent', 'Bedriftspsykolog', 'Bedriftsrevisor', 'Bedriftsøkonom', 'Befrakter', 'Begravelsesbyråassistent', 'Begravelsesbyråmedarbeider', 'Begravelsesbyråsjåfør', 'Beleggskjærer', 'Bemanningskonsulent', 'Benkesnekker', 'Beregner', 'Bergmester', 'Bergverksarbeider', 'Beskjærer', 'Bestyrer Helsetjenester', 'Betjent', 'Betongindustriarbeider', 'Betongvarearbeider', 'Bibliotekleder', 'Biblioteksjef', 'Bilagskontrollør', 'Bilelektriker', 'Bilgummiarbeider', 'Bilinspektør', 'Bilklargjører', 'Billedkonsulent', 'Billedtekniker', 'Billettekspeditør', 'Billettkonsulent', 'Billettkontrollør', 'Billettselger', 'Billettør', 'Bilmegler', 'Bilmekaniker', 'Bilmottaker', 'Bilpleier', 'Bilrenser', 'Bilsakkyndig', 'Biltilsyninspektør', 'Biopat', 'Blandemaskinoperatør', 'Blander', 'Blogger', 'Blomsterdekoratør', 'Blåseinstrumentmaker', 'Bokbinder', 'Bokbinderassistent', 'Bokbussassistent', 'Bokbussfører', 'Bokhandlermedarbeider', 'Bokhandlermedhjelper', 'Bokholderassistent', 'Bokollektivmedarbeider', 'Boligleder', 'Boligsjef', 'Bomringvakt', 'Bomvakt', 'Bookingansvarlig', 'Bookingmedarbeider', 'Bookingsekretær', 'Borearbeider', 'Boredekksarbeider', 'Boreingeniør', 'Boreoperasjonsleder', 'Borer', 'Boresjef', 'Borevæskeingeniør', 'Botaniker', 'Boveileder', 'Bowlingvert', 'Branninspektør', 'Brannisolatør', 'Brannkonstabel', 'Brannmester', 'Brannvakt', 'Brannvarslerinstallatør', 'Brenner', 'Brolegger', 'Bromaler', 'Brooperatør', 'Brukskunstner', 'Brygger', 'Bryggeriformann', 'Bryggerimester', 'Brønnborer', 'Budsjåfør', 'Bukker', 'Bulldoserkjører', 'Bunadmedarbeider', 'Bunnlærstanser', 'Buntmaker', 'Business Controller', 'Bussfører', 'Butikkinnehaver', 'Butikkinspektør', 'Butikkmedarbeider', 'Butikkonsulent', 'Butikksjef', 'Butikkslakter', 'Byarkitekt', 'Bydelsdirektør', 'Byfogd', 'Byggekranfører', 'Byggesaksbehandler', 'Byggesjef', 'Byggtapetserer', 'Byggtapetsermester', 'Bygningsarbeider', 'Bygningskontrollør', 'Byplanlegger', 'Byplansjef', 'Byrettsdommer', 'Byråd', 'Byssegutt', 'Byssepike', 'Båndsager', 'Båtfører', 'Båtmekaniker', 'Bærplukker', 'Børsdirektør', 'Børsemakermester', 'Børstemaker', 'Bøter', - 'Cabin Chief', 'Cafemedarbeider', 'Campingplassmedarbeider', 'Cash Management Controller', 'Cellulosearbeider', 'Charge D\'affaires', 'Cirkustekniker', 'Cnc-Operatør', 'Coach', 'Controller', 'Croupier', 'Cruiseassistent', - 'Daglig Leder', 'Dagsenterleder', 'Damefrisør', 'Danselærer', 'Danser', 'Dataadministrator', 'Datamaskinoperatør', 'Dataservicetekniker', 'Datasjef', 'Datatekniker', 'Dekkbygger', 'Dekorkonsulent', 'Deleekspeditør', 'Delesjef', 'Departementsråd', 'Designer', 'Desksjef', 'Diakoniarbeider', 'Diettkokk', 'Direksjonssekretær', 'Dirigent', 'Discjockey', 'Distribusjonssjåfør', 'Distributør', 'Distriktsarbeidssjef', 'Distriktsbanksjef', 'Distriktsdirektør', 'Distriktsmusiker', 'Distriktsrevisor', 'Distriktstannlege', 'Divisjonsdirektør Akvakultur Mv.', 'Divisjonssjef Akavkultur Mv.', 'Dokumentarfilmfotograf', 'Dommer', 'Domorganist', 'Dp-Operatør', 'Dramalærer', 'Dramatiker', 'Driftsansvarlig Flyfrakt', 'Driftsfullmektig', 'Driftskonsulent', 'Driftskonsulent It', 'Driftskoordinator', 'Driftsplantekniker', 'Driftstekniker', 'Driftsøkonom', 'Droneoperatør', 'Drosjesjåfør', 'Dykkerleder', 'Dyrlege', 'Dørselger', 'Dørvert', 'Døvekapellan', 'Døveprest', - 'Edb-Leder', 'Ekspedent', 'Ekspedisjonssjef', 'Eksportagent', 'Eksportkonsulent', 'Eldreomsorgssjef', 'Elektriker', 'Elektrikerformann', 'Elektrisk Kabeloperasjonstekniker', 'Elektroautomasjonstekniker', 'Elektroingeniør', 'Elektromontør', 'Elkraftingeniør', 'Elverksmontør', 'Emaljebrenner', 'Emaljør', 'Energisjef', 'Engasjementssjef', 'Enhetsleder', 'Entomolog', 'Entreprenør', 'Ergoterapeut', 'Etatsjef', 'Etterforsker', - 'Fagbokforfatter', 'Faglaborant', 'Faglærer', 'Fagopplæringssjef', 'Fagsjef Skogbruk', 'Fagspesialist', 'Fagutdanningskonsulent', 'Faktureringssekretær', 'Familierådgiver', 'Fargekoker', 'Fargeriarbeider', 'Fasademontør', 'Fatter', 'Feierlærling', 'Feltarbeider', 'Feltassistent', 'Feltprest', 'Fengselsavdelingsbetjent', 'Fengselsbetjent', 'Fengselsinspektør', 'Fengselsoverbetjent', 'Fenrik', 'Ferdigstiller', 'Filetarbeider', 'Filialsjef', 'Filminspisient', 'Filmkontrollsjef', 'Filosof', 'Finansanalytiker', 'Finansråd', 'Finansrådgiver', 'Finanstilsynsdirektør', 'Fiolinbygger', 'Fiskehandler', 'Fiskeridirektør', 'Fiskerikonsulent', 'Fiskeriråd', 'Fiskeritekniker', 'Fiskerøkter', 'Fiskeskipper', 'Fiskeslakter', 'Fiskevraker', 'Fjøsmester', 'Flaskesorterer', 'Flekker', 'Flisarbeider', 'Fly-Radiotekniker', 'Flyattache', 'Flyeksportmedarbeider', 'Flyelektrotekniker', 'Flygeleder', 'Flygelederassistent', 'Flyinstruktør', 'Flymekaniker', 'Flyplassekspeditør', 'Flysystemavioniker', 'Flyteknisk Inspektør', 'Flytrafikkassistent', 'Flyvertinne', 'Fms-Operatør', 'Folklorist', 'Forbundssekretær', 'Forhandlingssjef', 'Forkynner', 'Forlagsmedarbeider', 'Formgiver', 'Formstøper', 'Formuesforvalter', 'Forsikringsassistent', 'Forsikringsrådgiver', 'Forsikringsselger', 'Forskalingsbas', 'Forsker', 'Forskjærer', 'Forskningsassistent', 'Forskningssjef', 'Forskningstekniker', 'Forstander', 'Forstkandidat', 'Forsvarsråd', 'Forsøksleder', 'Forvaltningsassistent', 'Forvaltningsingeniør', 'Forvaltningssjef', 'Fosterfar', 'Fotograf', 'Fotolaboratorieassistent', 'Fraktsjef', 'Freelancejournalist', 'Frisørlærling', 'Fritidsassistent', 'Fritidssjef', 'Frivillighetssentralleder', 'Fruktpressearbeider', 'Fruktprodusent', 'Fryseriarbeider', 'Fugearbeider', 'Fylkesagronom', 'Fylkesarkitekt', 'Fylkesbarnevernsjef', 'Fylkesbyggesjef', 'Fylkesingeniør', 'Fylkeskartsjef', 'Fylkeskontorsjef', 'Fylkeskoordinator I Fylkesarbeidskontoret', 'Fylkesmann', 'Fylkespersonalsjef', 'Fylkesstyrerepresentant', 'Fyrmester', 'Fyrtjenestermann', 'Fysiker', 'Fysiokjemiker', 'Fører', 'Førsteamanuensis', 'Førstefarmasøyt', 'Førstefotograf', 'Førstekonservator', 'Førstelagmann', 'Førstelektor', 'Førstemaskinist', 'Førstemeteorologifullmektig', 'Førstepasser', 'Førstepostbetjent', 'Førstepostfullmektig', 'Førstepreparant', 'Førsteprovisor', 'Førsterevisor', 'Førstesekretær', 'Førstestatsadvokat', 'Førstestyrmann', 'Førstetollinspektør', - 'Gallerivakt', 'Garderobebetjening', 'Garnfisker', 'Garnisonstannlege', 'Gartnerassistent', 'Gartnerformann', 'Gassverksjef', 'Gateselger', 'General', 'Generalinspektør For Heimevernet', 'Generalinspektør For Hæren', 'Geodet', 'Geolog', 'Geomatiker', 'Geotekniker', 'Gjærhusarbeider', 'Glasiolog', 'Glassarbeider', 'Glassblåser', 'Glassblåsermester', 'Glasshåndverker', 'Glasurarbeider', 'Godstrafikkleder', 'Grafikerlærling', 'Grafisk Formgiver', 'Grafisk Ingeniør', 'Grafisk Trykkermester', 'Granitthogger', 'Grensekontrollør', 'Grovsliper', 'Gruppeleder I Arbeidsmarkedsetaten', 'Gruvemåler', 'Guide', 'Gullarbeider', 'Gullsmedmester', 'Gummivarearbeider', 'Gynekolog', 'Gårdbruker', 'Gårdsarbeider', 'Gårdshjelp', - 'Hammerarbeider', 'Handelsagent', 'Handelsråd', 'Handlevognrydder', 'Hanskesyer', 'Hartskoker', 'Hattemaker', 'Havarisekretær', 'Havneassistent', 'Havnefogd', 'Havnekontrollør', 'Havnesjef', 'Havnetrafikkleder', 'Heisinstallatør', 'Heismontør', 'Heismontørlærling', 'Helse- Og Miljørådgiver', 'Helseinformatiker', 'Helseinspektør', 'Helsesøster', 'Herrefrisør', 'Hjelpekokk', 'Hjelpepleier', 'Hjelpepleiermedarbeider', 'Hjemmehjelper', 'Hjemmehjelpsleder', 'Hjemmekonsulent', 'Hjemmesykepleier', 'Hjullastersjåfør', 'Hms-Leder', 'Hoffmarskalk', 'Hollenderifører', 'Hostess', 'Hotellarbeider', 'Hotellmedarbeider', 'Hotellsjef', 'Hovedforvalter', 'Hovmester', 'Hr-Direktør', 'Hudarbeider', 'Hudterapeut', 'Hundefører', 'Husdyrkonsulent', 'Husholdsassistent', 'Husmorvikar', 'Hustrykker', 'Hvalfanger', 'Hydrograf', 'Hydrolog', 'Hylsemaker', 'Håndballtrener', 'Håndvever', 'Hørselsassistent', 'Høvelmester', - 'Idrettsinstruktør', 'Idrettsseksjonsleder', 'Idrettstrener', 'Ikt-Lærling', 'Illustratør', 'Importsjef', 'Impregnerer', 'Industribokbinder', 'Industrimontør', 'Industripsykolog', 'Industrirørlegger', 'Industrisnekker', 'Industrisyer', 'Informasjonskonsulent', 'Informasjonsleder', 'Informasjonsmedarbeider', 'Informasjonsskrankemedarbeider', 'Inkassoassistent', 'Inkassokonsulent', 'Inkassoleder', 'Inkassosjef', 'Inneselger', 'Innkjøpsansvarlig', 'Innkjøpsingeniør', 'Innkjøpskonsulent', 'Innreder', 'Innredningskonsulent', 'Innredningsmontør', 'Innsjekkingsmedarbeider', 'Innspillingsleder', 'Inspeksjonsingeniør', 'Inspisient', 'Installasjonsingeniør', 'Instituttsjef', 'Instruktør', 'Instruktørtannlege', 'Instrumentavioniker', 'Instrumentmaker', 'Instrumentrørlegger', 'Interiørarkitekt', 'Internatgruppeassistent', 'Internatgruppeleder', 'Internatleder', 'Iskremarbeider', 'It-Ansvarlig', 'It-Konsulent', 'It-Koordinator', 'It-Leder', 'It-Medarbeider', 'It-Prosjektleder', 'It-Selger/account Manager', 'It-Sjef', 'It-Systemingeniør', 'It-Teknisk Konsulent', - 'Jernbaneekspeditør', 'Jernbinderbas', 'Jordbrukssjef', 'Jordmor', 'Jordregistertekniker', 'Jordskifteassistent', 'Jordskiftedommer', 'Jordskifteingeniør', 'Jordskifteoverdommer', 'Jordskifterettsleder', 'Journalist', 'Juksafisker', 'Juridisk Rådgiver', 'Jurist', 'Juvelèr', - 'Kabelarbeider', 'Kabelbanefører', 'Kabinettsekretær', 'Kafemedarbeider', 'Kaiarbeider', 'Kaibetjent', 'Kalanderarbeider', 'Kammeroperatørleder', 'Kanselist', 'Kapitalforvalter', 'Kapsler', 'Kaptein', 'Kapteinløytnant', 'Kardiolog', 'Karosserimekaniker', 'Kartsjef', 'Kasseleder', 'Kennelleder', 'Keramiker', 'Keramisk Former', 'Kinokontrollør', 'Kinomaskinist', 'Kinosjef', 'Kirkegårdsarbeider', 'Kiropraktor', 'Kjellermester', 'Kjemikaliedykker', 'Kjemiker', 'Kjevekirurg', 'Kjeveortoped', 'Kjole- Og Draktsyermester', 'Kjøkkenbestyrer', 'Kjølemaskinist', 'Kjølemaskinkjører', 'Kjørelærer', 'Kjøreskolelærer', 'Kjøttskjærer', 'Klinikkassistent', 'Klinisk Ernærinsfysiolog', 'Klinisk Sosionom', 'Klinisk Vernepleier', 'Klokkedykker', 'Klokker', 'Klubbarbeider', 'Klubbleder', 'Klubbtillitsmann', 'Koder', 'Kokillestøper', 'Koksbrenner', 'Koldkjøkkenassistent', 'Kolonialhandler', 'Komiker', 'Kommunaldirektør', 'Kommunalsjef', 'Kommuneadvokat', 'Kommuneergoterapeut', 'Kommunekasserer', 'Kommuneplansjef', 'Kommunestyrerepresentant', 'Kommunikasjonsrådgiver', 'Kommunikasjonsrådmann', 'Kommunikatør', 'Kompressoroperatør', 'Konditor', 'Konduktør', 'Konfektmaker', 'Konferansevert', 'Konferansevertinne', 'Konkurransedirektør', 'Konserndirektør', 'Konsernregnskapssjef', 'Konservator', 'Konstruksjonstegner', 'Kontaktmann', 'Kontoraspirant', 'Kontormedarbeider', 'Kontorrengjører', 'Kontraktsleder', 'Kontrollflyger', 'Kontrolloperatør', 'Kontrollromsassistent', 'Kontrollsjef', 'Kontrollveterinær', 'Kontrollør', 'Kopperslager', 'Koranlærer', 'Koreolog', 'Korrespondent', 'Korrosjonsbehandler', 'Kostholdskonsulent', 'Kostnadsingeniør', 'Kostymeformann', 'Kraftmegler', 'Kraftverksdirektør', 'Kraftverksoperatør', 'Kredittleder', 'Kreftsykepleier', 'Krematoriebetjent', 'Kretskortmontør', 'Kringkastingssjef', 'Kulturhussjef', 'Kulturkonsulent', 'Kulturminnekonsulent', 'Kundemegler', 'Kundesuppertleder', 'Kunststopper', 'Kurator', 'Kursmedarbeider', 'Kursveileder', 'Kurvfletter', 'Kurvmaker', 'Kurvmakermester', 'Kusk', 'Kvalitetsbedømmer', 'Kvalitetsmedarbeider', 'Kvalitetssikringsassistent', 'Kvalitetssikringsinspektør', 'Kvalitetssikringskoordinator', 'Kvalitetssikringsleder', 'Kybernetiker', 'Kystdirektør', - 'Laboratorieleder', 'Laboratorierådgiver', 'Laboratorietekniker', 'Lagerformann', 'Lagerforvalter', 'Lagerfunksjonær', 'Lagerleder', 'Lagersjef', 'Lakkerer', 'Lakkoker', 'Landbruksdirektør', 'Landbruksmaskinmekaniker', 'Landbruksveileder', 'Landskapsarkitekt', 'Landssekretær', 'Landsstyremedlem', 'Ledende Aktivitør', 'Ledende Legesekretær', 'Leder', 'Leder It Brukerstøtte', 'Lege I Spesialisering', 'Legemiddelinspektør', 'Legesekretær', 'Legpredikant', 'Leigeskjærer', 'Lekotekleder', 'Lektor', 'Lensmannsbetjent', 'Lensmannsfullmektig', 'Leveransekoordinator', 'Ligningsrevisor', 'Ligningssekretær', 'Limarbeider', 'Limnolog', 'Lineegner', 'Linjeleder', 'Linjemontør', 'Litteraturagent', 'Litteraturkritiker', 'Location Scout', 'Locationassistent', 'Loddselger', 'Logistikkdirektør', 'Logistikkkoordinator', 'Logistikkleder', 'Logistikkmedarbeider', 'Logistikkonsulent', 'Logistikksjef', 'Logoped', 'Lokomotivfører', 'Lokomotivkontrollør', 'Losbåtfører', 'Losbåtsmann', 'Losinspektør', 'Lufthavnbetjent', 'Lufttrafikksjef', 'Lugarpike', 'Lydingeniør', 'Lydmester', 'Lydtekniker', 'Lysrigger', 'Lystekniker', 'Låsemontør', 'Lærervikar', 'Lærling', 'Lønningssekretær', 'Lønningssjef', 'Løypekjører', 'Løytnant', - 'Malerlærling', 'Manikyrist', 'Mannekeng', 'Marinamedarbeider', 'Mariningeniør', 'Maritim Sjef', 'Markedsassistent', 'Markedsfører', 'Markedskoordinator', 'Markedsmedarbeider', 'Markedsovervåker', 'Markedssjef', 'Marketingsekretær', 'Marketingsjef', 'Marketingsplanlegger', 'Markisemontør', 'Maskinassistent', 'Maskinfører', 'Maskiningeniør', 'Maskininnbinder', 'Maskinmekaniker', 'Maskinoffiser', 'Maskinpakker', 'Maskinpasser', 'Maskintegner', 'Maskør', 'Masseoppløser', 'Matematikkinstruktør', 'Materialadministrasjonssjef', 'Materialforvalter', 'Medhjelper', 'Medisinalråd', 'Meglerassistent', 'Meierikonsulent', 'Mekaniker', 'Mekanisk Kabeloperasjonstekniker', 'Mengeblander', 'Menger', 'Menig', 'Menighetsarbeider', 'Menighetssekretær', 'Mensendiecker', 'Merkevaresjef', 'Messepike', 'Messeplanlegger', 'Metalliserer', 'Metallpusser', 'Meteorologikonsulent', 'Mikrofilmfotograf', 'Mikseoperatør', 'Militærattache', 'Militærpsykolog', 'Miljøsaneringsarbeider', 'Miljøvernsjef', 'Miljøvernsjef På Svalbard', 'Mineralvannarbeider', 'Minerer', 'Minerydder', 'Minigraverfører', 'Misjonsprest', 'Misjonssekretær', 'Mobilkranfører', 'Modellsnekker', 'Modellør', 'Molekylærbiolog', 'Montasjeingeniør', 'Montasjesjef', 'Moseplukker', 'Motormann', 'Motormannlærling', 'Motormekaniker', 'Motorsykkelbud', 'Motorsykkelreparatør', 'Mub Ingeniør', 'Multimediedesigner', 'Museumsdirektør', 'Museumstekniker', 'Musikkinstrumentreparatør', 'Musikkpedagog', 'Musikkprodusent', 'Musikkterapeut', 'Mykolog', 'Myntarbeider', 'Møbelmontør', 'Møbelsnekker', 'Møbeltapetserer', 'Møllemester', 'Mølleoperatør', 'Møller', 'Mønsteroperatør', 'Mønstersliper', - 'Namsfullmektig', 'Natler', 'Nattportier', 'Nautisk Instrumentmaker', 'Ndt-Kontrollør', 'Neglskulptør', 'Nemndleder', 'Nestleder', 'Nettmann', 'Nettverksanalytiker', 'Nettverkstekniker', 'Notfisker', 'Nupper', 'Nyhetsredaktør', 'Nyhetsreporter', 'Nyhetssjef', 'Næringsmiddelkandidat', 'Næringsmiddelkontrollør', 'Næringsmiddelteknolog', 'Næringssjef', - 'Odontolog', 'Odontologisk Forsker', 'Offentlig Godkjent Sykepleier', 'Offisersaspirant', 'Offshore Installation Manager', 'Oldfrue', 'Oljeanalytiker', 'Oljedestillatør', 'Oljedirektør', 'Oljekontraktkjøper', 'Oljekontraktmegler', 'Oljepressearbeider', 'Oljeraffinerer', 'Oljeseparatør', 'Ombud', 'Ombudsmann For Forsvaret', 'Områdebanksjef', 'Områdesjef', 'Omsorgsarbeider', 'Onkolog', 'Onkologisykepleier', 'Operatør', 'Operatør Av Pakkemaskiner', 'Opplæringsfarmasøyt', 'Opplæringskonsulent', 'Opplæringsleder', 'Opplæringssjef', 'Oppmålingstekniker', 'Oppredningsarbeider', 'Oppsynssjef', 'Oppvekstsjef', 'Opsjonsmegler', 'Optikermedarbeider', 'Ordensvakt', 'Ordreplukker', 'Organisasjonskonsulent', 'Organisasjonsleder', 'Organisasjonssekretær', 'Orgelbygger', 'Ortoped', 'Ortopeditekniker', 'Ortopediteknisk Sjef', 'Ortoptist', 'Oseanograf', 'Ostemaker', 'Overgartner', 'Overingeniør', 'Overinspektør', 'Overjordmor', 'Overkokk', 'Overlærskjærer', 'Overpleier', 'Overpostbetjent', 'Overpostmester', 'Overradiograf', 'Oversetter', 'Overstiger', 'Oversykepleier', - 'Pantelåner', 'Pappsalarbeider', 'Paraplymaker', 'Parkettlegger', 'Parkettsliper', 'Parksjef', 'Parlamentarisk Leder', 'Partisekretær', 'Parykkmaker', 'Parykkmakermester', 'Passkontrollør', 'Pater', 'Patolog', 'Pedagog', 'Pedagogisk Psykolog', 'Pelsbereder', 'Pelsdyroppdretter', 'Pelsmaker', 'Pengeutlåner', 'Perforerer', 'Perfusjonist', 'Personal-Og Økonomidirektør', 'Personalassistent', 'Personalleder', 'Petrofysiker', 'Petroleumsarkitekt', 'Phytoterapeut', 'Pianoreparatør', 'Pianostemmer', 'Piping Ingeniør', 'Pizzabaker', 'Pizzasjåfør', 'Planlegger', 'Planleggingssjef', 'Planner', 'Plasseringsrådgiver', 'Pleiemedarbeider', 'Pleier', 'Poet', 'Polaritetsterapeut', 'Poliklinikksykepleier', 'Poliseprodusent', 'Politiadvokat', 'Politiavdelingssjef', 'Politiførstebetjent', 'Politimester', 'Politioverkonstabel', 'Politisk Sekretær', 'Popmusiker', 'Porteføljeforvalter', 'Porteføljeselger', 'Post Doc.', 'Postdoktor', 'Postfortoller', 'Postfullmektig', 'Postinspektør', 'Postmester', 'Poståpner', 'Preparantassistent', 'Preserveringstekniker', 'Pressebas', 'Pressefotograf', 'Presser', 'Privatassurandør', 'Prodekan', 'Production Supervisor', 'Produksjonsingeniør', 'Produksjonskoordinator', 'Produksjonsmedarbeider', 'Produksjonsoperatør', 'Produksjonsteknisk Leder', 'Produktsekretær', 'Produkttester', 'Produktutviklingskoordinator', 'Programleder', 'Programmerer', 'Programmeringssjef', 'Programsjef', 'Programvaretester', 'Programvareutvikler', 'Promotionkonsulent', 'Promotionmedarbeider', 'Prorektor', 'Prosjektmegler', 'Prosjektoppfølger', 'Prosjektstyringssjef', 'Prosjektøkonom', 'Protesetekniker', 'Protokollfører', 'Protokollsekretær', 'Pubvert', 'Purserassistent', 'Påkleder', 'Pølsemaker', - 'Rabbiner', 'Radarreparatør', 'Radioingeniør', 'Radioleder', 'Radiosondeleder', 'Radiotekniker', 'Radiotelefonist', 'Raffinerer', 'Rammemaker', 'Redaksjonssekretær', 'Redaktør', 'Regionsekretær', 'Regionsjef', 'Regissør', 'Registrert Legemiddelkonsulent', 'Regningsinnkrever', 'Regnskapsansvarlig', 'Rehabiliteringsterapeut', 'Reineier', 'Reklamefotograf', 'Reklamekonsulent', 'Reklamesekretær', 'Rekrutteringskonsulent', 'Rektor', 'Rekvisitamaker', 'Rekvisittleder', 'Rembursjef', 'Renholdsbetjent', 'Renholdsinspektør', 'Renholdskonsulent', 'Renholdsleder', 'Renovasjonskjører', 'Renseriarbeider', 'Renseribestyrer', 'Renserimaskinarbeider', 'Reparatør', 'Resepsjonsfullmektig', 'Resepsjonsleder', 'Reservedelsekspeditør', 'Reservedykker', 'Reservesjåfør', 'Ressurskoordinator', 'Restaurantinspektør', 'Restaureringsassistent', 'Restaureringstekniker', 'Rettsgenetiker', 'Rettsskriver', 'Revisjonsleder', 'Revisjonsrådgiver', 'Revisjonssjef', 'Revisor', 'Revisormedarbeider', 'Ridelærer', 'Rigger', 'Riksantikvar', 'Riksarkivar', 'Riksbibliotekar', 'Risiko Controller', 'Rockemusiker', 'Rockesanger', 'Rodeleder', 'Romanforfatter', 'Rosenterapeut', 'Roughneck', 'Rullestolreparatør', 'Ryddehjelp', 'Rådgivende Overlege', 'Røkter', 'Røntgenassistent', 'Røringeniør', 'Rørsveiser', - 'Sagbladstiller', 'Sagbruks- Og Høvleriarbeider', 'Sagsliper', 'Salatbarmedarbeider', 'Salgsanalytiker', 'Salgsassistent', 'Salgsingeniør', 'Salgskontrollør', 'Salgsrådgiver', 'Salgssekretær', 'Sambandsoffiser', 'Sametingspresident', 'Samfunnsgeograf', 'Saneringsarbeider', 'Scanner', 'Sceneinstruktør', 'Scenemester', 'Seismisk Personell', 'Sekretær', 'Seksjonsoverlege', 'Sektorsjef/assisterende Leder Av Politistyrke', 'Selfanger', 'Selger', 'Sementarbeider', 'Sementeringstekniker', 'Seminarholder', 'Senior Ingeniør', 'Senior Maskiningeniør', 'Senior Operatør', 'Senior Planleggsingsingeniør', 'Senior Økonomikonsulent', 'Senioranalytiker', 'Seniorinnkjøper', 'Seniorinspektør', 'Seniormetallurg', 'Seniorserviceingeniør', 'Senterleder', 'Sentralbanksjef', 'Sentralbordleder', 'Serigraf', 'Service Manager', 'Servicemontør', 'Servitør', 'Shopper', 'Shoveldoserkjører', 'Signalmann', 'Sikkerhetsansvarlig', 'Sikkerhetsdirektør', 'Sikkerhetsleder', 'Silketrykker', 'Sivilforsvarsinspektør', 'Sivilombud', 'Siviløkonom', 'Sjefbioingeniør', 'Sjeflege', 'Sjefsfysioterapeut', 'Sjefsingeniør', 'Sjefskokk', 'Sjefslandskapsarkitekt', 'Sjefssykepleier', 'Sjefsøkonom', 'Sjåfør Klasse B', 'Skadedyrkontrollør', 'Skadekonsulent', 'Skademedarbeider', 'Skaderegulerer', 'Skadesjef', 'Skatteregnskapssjef', 'Skatterevisor', 'Skiftekontrollør', 'Skiftingeniør', 'Skiftleder', 'Skilærer', 'Skimaker', 'Skinnsorterer', 'Skippingmedarbeider', 'Skipsradiomontør', 'Skipsreperatør', 'Skipsrørlegger', 'Skipssmed', 'Skjenkekontrollør', 'Skogbestyrer', 'Skogbruksplanlegger', 'Skogdirektør', 'Skogformann', 'Skogforvalter', 'Skogfullmektig', 'Skogsmaskinfører', 'Skogtaksator', 'Skoleassistent', 'Skoledirektør', 'Skolefritidsleder', 'Skoleinspektør', 'Skolepsykolog', 'Skolerådgiver', 'Skomakerlærling', 'Skopusser', 'Skoreparatør', 'Skrankeekspeditør', 'Skrankemedarbeider', 'Skredder', 'Skribent', 'Skript', 'Skuespiller', 'Skummer', 'Skøyteinstruktør', 'Slaktermester', 'Slankekonsulent', 'Sminkeassistent', 'Småbruker', 'Smører', 'Snekkermester', 'Snurrevadfisker', 'Snømåker', 'Snørelager', 'Soknediakon', 'Soneterapeut', 'Sortbytter', 'Sorterer', 'Sorteringsleder', 'Sortersalarbeider', 'Sosialfaglig Leder', 'Sosialinspektør', 'Sosialrådmann', 'Sosialsekretær', 'Sparklingsarbeider', 'Speditør', 'Spesialbioingeniør', 'Spesialergoterapeut', 'Spesialfysioterapeut', 'Spesiallærer', 'Spesialpedagog', 'Spesialpsykolog', 'Spesialrevisor', 'Spesialrådgiver', 'Spesialsykepleier', 'Spesialtannlege', 'Spoler', 'Sporveisdirektør', 'Spregningsarbeider', 'Spritdestillatør', 'Sprøytelakkerer', 'Spåkone/-Mann', 'Stabssjef', 'Staffcaptain', 'Stallkar', 'Stallmann', 'Stallpike', 'Stasjonsbetjent', 'Stasjonssjef', 'Statslosaspirant', 'Statsmeteorolog', 'Statsmykolog', 'Statssekretær', 'Statsskogsjef', 'Steinbruddsarbeider', 'Steinfagmester', 'Steward', 'Stillasbygger', 'Stipendiat', 'Stopper', 'Store Manager', 'Storkundeansvarlig', 'Stortingspresident', 'Storurmaker', 'Strategirådgiver', 'Stråleterapeut', 'Studieinspektør', 'Studieleder', 'Studiobetjent', 'Studioformann', 'Stuert', 'Styreleder', 'Styremedlem', 'Støttekontakt', 'Surveyer', 'Svakstrømsmontør', 'Sveiseinspektør', 'Sveiserlærling', 'Sykehusdirektør', 'Sykehusfarmasøyt', 'Sykehuslaborant', 'Sykehusprest', 'Sykehussjef', 'Sysselmann', 'Systemanalytiker', 'Systemarkitekt', 'Systemerer', 'Systemingeniør', 'Systemsjef', 'Systemtekniker', 'Systemtester', 'Systemutvikler', 'Sølvsiselør', 'Sølvsmed', 'Sølvtrykker', 'Søppelkjører', - 'Taksteinlegger', 'Takstmann', 'Takstøkonom', 'Taktekker', 'Tallmagiker', 'Tannhelsesekretær', 'Tannhygieniker', 'Tannlegeassistent', 'Tannteknikermester', 'Tapper', 'Tapperiformann', 'Taubanefører', 'Taxisjåfør', 'Teglsorterer', 'Tegneassistent', 'Teknisk Ansvarlig', 'Teknisk Direktør', 'Teknisk Rådmann', 'Tekstilkonservator', 'Tekstilkunstner', 'Tekstiloperatør', 'Tekstiltrykker', 'Teleekspeditør', 'Telefonsentralmontør', 'Telefullmektig', 'Telegrafbetjent', 'Telekommunikasjonsingeniør', 'Telesjef', 'Teolog', 'Teppelegger', 'Terminalansvarlig', 'Terminalarbeider', 'Terminalleder', 'Termisk Sprøyter', 'Tilrettelegger', 'Tilsynslege', 'Tilsynsveterinær', 'Tiltakssjef', 'Tivoliarbeider', 'Togelektriker', 'Togkontrollør', 'Togsjef', 'Tolldistriktssjef', 'Tollkasserer', 'Tollstedsjef', 'Topograf', 'Torghandler', 'Total Service Manager', 'Totalisatorfunksjonær', 'Trafikkflyger', 'Trafikklærer', 'Trafikksjef', 'Trailersjåfør', 'Transformatormontør', 'Transportformann', 'Transportleder', 'Transportmedarbeider', 'Transportsjef', 'Transportør', 'Tredreier', 'Trepleier', 'Trikkefører', 'Truckfører', 'Trygdedirektør', 'Trygderevisor', 'Trygdesjef', 'Trykker', 'Trykktester', 'Trålbas', 'Turistvert', 'Turoperatør', 'Tvisteløseleder', 'Tvisteløser', 'Tårnarbeider', 'Tårnkranfører', 'Tårnmann', 'Tømmerberegner', 'Tømmerfløter', 'Tømmerhogger', 'Tømmermåler', 'Tømmermålingsinspektør', 'Tømmersjef', 'Tømmersorterer', 'Tørkepasser', 'Tørker', 'Tørrfisktilvirker', 'Tørrstoffkoker', - 'Ullklassifisør', 'Undervisningsassistent', 'Underwriter', 'Utbyggingssjef', 'Utenrikskorrespondent', 'Utenriksredaktør', 'Utenriksråd', 'Utmarkstekniker', 'Utreder', 'Utredningsingeniør', 'Utrykningsleder', 'Utstyrsoperatør', 'Utviklingsdirektør', 'Utviklingssjef', - 'Va-Ingeniør', 'Vakt', 'Vaktbetjent', 'Vaktmann', 'Vaktmesterassistent', 'Valutakoordinator', 'Valutasjef', 'Vannverkssjef', 'Varabrannmester', 'Vareautomatoperatør', 'Varemegler', 'Varmebehandler', 'Vaskeriassistent', 'Vedlikeholdsingeniør', 'Vedlikeholdstekniker', 'Vegvalsekjører', 'Vekterlærling', 'Vektkontrollør', 'Velferdssekretær', 'Velferdssjef', 'Verftssjef', 'Verkstedansvarlig', 'Verkstedarbeider', 'Verkstedformann', 'Verkstedingeniør', 'Verkstedmedarbeider', 'Verkstedsjef', 'Verktøyinnstiller', 'Verktøykonstruktør', 'Verktøymaker', 'Verktøysliper', 'Verneingeniør', 'Verneombud', 'Vervet', 'Veterinærinspektør', 'Vever', 'Vikarbyråkonsulent', 'Viltforvalter', 'Viltkonsulent', 'Vinduspusser', 'Viseadmiral', 'Visekonsernsjef', 'Visekonsul', 'Visesanger', 'Voksenopplæringssjef', 'Vraker', 'Vytnesjæjja', 'Værelsesbetjent', 'Værvarslingssjef', - 'Web-Publisher', 'Webdesigner', 'Webmaster', 'Webredaktør', - 'Yrkesfaglærer', 'Yrkesopplæringsleder', 'Yster', - 'Økonom', 'Økonomiarbeider', - 'Øre-Nese-Hals-Spesialist', - ]; + /** + * 1500 random job titles from Statistisk Sentralbyrå + * + * @see http://www.ssb.no/a/yrke/yrke.csv + */ + protected static $jobTitleFormat = [ + 'Administrasjonsdirektør', + 'Administrasjonskonsulent', + 'Administrasjonssekretær', + 'Administrasjonssjef', + 'Administrerende Overlege', + 'Admiral', + 'Advokatassistent', + 'Aerobicinstruktør', + 'Afis-Fullmektig', + 'Agrotekniker', + 'Ais-Fullmektig', + 'Akrobat', + 'Aktivitør', + 'Akupunktør', + 'Alarmoperatør', + 'Allmenningbestyrer', + 'Allmennpraktiserende Lege', + 'Amanuensis', + 'Ambassaderåd', + 'Ambassadesekretær', + 'Ambulansemedhjelper', + 'Ambulansesjef', + 'Ambulerende Vaktmester', + 'Ammoniakkoker', + 'Anestesilege', + 'Animatør', + 'Anleggsdykker', + 'Anleggsgartnermester', + 'Anleggsmaskinkjører', + 'Anleggsmaskinmekaniker', + 'Anleggsoperatør', + 'Annenflyger', + 'Annonseakkvisitør', + 'Annonsebehandler', + 'Annonsekonsulent', + 'Annonseselger', + 'Annonsesjef', + 'Anretningshjelp', + 'Apotekmedarbeider', + 'Arbeidsmedisiner', + 'Arbeidssjef', + 'Arbeidsstudieingeniør', + 'Arbeidsterapeut', + 'Arbeidstilrettelegger', + 'Arbeidstilsynskontrollør', + 'Arbeidstilsynsrådgiver', + 'Arkivassistent', + 'Arkivmedarbeider', + 'Arrestforvarer', + 'Asfaltarbeider', + 'Asfaltverkarbeider', + 'Asfaltør', + 'Assistentfotograf', + 'Assisterende Administrerende Direktør', + 'Assisterende Banksjef', + 'Assisterende Bestyrer', + 'Assisterende Borer', + 'Assisterende Byfogd', + 'Assisterende Fylkeshelsesjef', + 'Assisterende Fylkeslege', + 'Assisterende Fylkesmann', + 'Assisterende Helsedirektør', + 'Assisterende Kjøkkensjef', + 'Assisterende Kommunegartner', + 'Assisterende Sjefflygeleder', + 'Assisterende Sjefspsykolog', + 'Assisterende Sykepleiesjef', + 'Assisterende Vaktmester', + 'Astrofysiker', + 'Astronom', + 'Atomfysiker', + 'Attache', + 'Autoklavoperatør', + 'Autoklavpasser', + 'Automasjonsingeniør', + 'Automatiker', + 'Automatiseringsmontør', + 'Avdelingsarkitekt', + 'Avdelingsbanksjef', + 'Avdelingsbetjent', + 'Avdelingsdirektør', + 'Avdelingsergoterapeut', + 'Avdelingsingeniør', + 'Avdelingsleder/fysioterapeut', + 'Avdelingspsykolog', + 'Avdelingssekretær', + 'Avdelingssjef', + 'Avdelingssjef Akvakultur Mv.', + 'Avdelingssjef Restaurant', + 'Avdelingssykepleier', + 'Avlaster', + 'Avlskonsulent', + 'Avløser', + 'Babysvømmeinstruktør', + 'Badeassistent', + 'Badebetjent', + 'Bakermester', + 'Bakteriolog', + 'Banearbeider', + 'Bankassistent', + 'Bankkonsulent', + 'Banksjef', + 'Barkeeper', + 'Barmedarbeider', + 'Barne- Og Ungdomssekretær', + 'Barnehageassistent', + 'Barnehjemsbestyrer', + 'Barnepasser', + 'Barnevernskonsulent', + 'Bartender', + 'Basketballtrener', + 'Bedriftskonsulent', + 'Bedriftspsykolog', + 'Bedriftsrevisor', + 'Bedriftsøkonom', + 'Befrakter', + 'Begravelsesbyråassistent', + 'Begravelsesbyråmedarbeider', + 'Begravelsesbyråsjåfør', + 'Beleggskjærer', + 'Bemanningskonsulent', + 'Benkesnekker', + 'Beregner', + 'Bergmester', + 'Bergverksarbeider', + 'Beskjærer', + 'Bestyrer Helsetjenester', + 'Betjent', + 'Betongindustriarbeider', + 'Betongvarearbeider', + 'Bibliotekleder', + 'Biblioteksjef', + 'Bilagskontrollør', + 'Bilelektriker', + 'Bilgummiarbeider', + 'Bilinspektør', + 'Bilklargjører', + 'Billedkonsulent', + 'Billedtekniker', + 'Billettekspeditør', + 'Billettkonsulent', + 'Billettkontrollør', + 'Billettselger', + 'Billettør', + 'Bilmegler', + 'Bilmekaniker', + 'Bilmottaker', + 'Bilpleier', + 'Bilrenser', + 'Bilsakkyndig', + 'Biltilsyninspektør', + 'Biopat', + 'Blandemaskinoperatør', + 'Blander', + 'Blogger', + 'Blomsterdekoratør', + 'Blåseinstrumentmaker', + 'Bokbinder', + 'Bokbinderassistent', + 'Bokbussassistent', + 'Bokbussfører', + 'Bokhandlermedarbeider', + 'Bokhandlermedhjelper', + 'Bokholderassistent', + 'Bokollektivmedarbeider', + 'Boligleder', + 'Boligsjef', + 'Bomringvakt', + 'Bomvakt', + 'Bookingansvarlig', + 'Bookingmedarbeider', + 'Bookingsekretær', + 'Borearbeider', + 'Boredekksarbeider', + 'Boreingeniør', + 'Boreoperasjonsleder', + 'Borer', + 'Boresjef', + 'Borevæskeingeniør', + 'Botaniker', + 'Boveileder', + 'Bowlingvert', + 'Branninspektør', + 'Brannisolatør', + 'Brannkonstabel', + 'Brannmester', + 'Brannvakt', + 'Brannvarslerinstallatør', + 'Brenner', + 'Brolegger', + 'Bromaler', + 'Brooperatør', + 'Brukskunstner', + 'Brygger', + 'Bryggeriformann', + 'Bryggerimester', + 'Brønnborer', + 'Budsjåfør', + 'Bukker', + 'Bulldoserkjører', + 'Bunadmedarbeider', + 'Bunnlærstanser', + 'Buntmaker', + 'Business Controller', + 'Bussfører', + 'Butikkinnehaver', + 'Butikkinspektør', + 'Butikkmedarbeider', + 'Butikkonsulent', + 'Butikksjef', + 'Butikkslakter', + 'Byarkitekt', + 'Bydelsdirektør', + 'Byfogd', + 'Byggekranfører', + 'Byggesaksbehandler', + 'Byggesjef', + 'Byggtapetserer', + 'Byggtapetsermester', + 'Bygningsarbeider', + 'Bygningskontrollør', + 'Byplanlegger', + 'Byplansjef', + 'Byrettsdommer', + 'Byråd', + 'Byssegutt', + 'Byssepike', + 'Båndsager', + 'Båtfører', + 'Båtmekaniker', + 'Bærplukker', + 'Børsdirektør', + 'Børsemakermester', + 'Børstemaker', + 'Bøter', + 'Cabin Chief', + 'Cafemedarbeider', + 'Campingplassmedarbeider', + 'Cash Management Controller', + 'Cellulosearbeider', + 'Charge D\'affaires', + 'Cirkustekniker', + 'Cnc-Operatør', + 'Coach', + 'Controller', + 'Croupier', + 'Cruiseassistent', + 'Daglig Leder', + 'Dagsenterleder', + 'Damefrisør', + 'Danselærer', + 'Danser', + 'Dataadministrator', + 'Datamaskinoperatør', + 'Dataservicetekniker', + 'Datasjef', + 'Datatekniker', + 'Dekkbygger', + 'Dekorkonsulent', + 'Deleekspeditør', + 'Delesjef', + 'Departementsråd', + 'Designer', + 'Desksjef', + 'Diakoniarbeider', + 'Diettkokk', + 'Direksjonssekretær', + 'Dirigent', + 'Discjockey', + 'Distribusjonssjåfør', + 'Distributør', + 'Distriktsarbeidssjef', + 'Distriktsbanksjef', + 'Distriktsdirektør', + 'Distriktsmusiker', + 'Distriktsrevisor', + 'Distriktstannlege', + 'Divisjonsdirektør Akvakultur Mv.', + 'Divisjonssjef Akavkultur Mv.', + 'Dokumentarfilmfotograf', + 'Dommer', + 'Domorganist', + 'Dp-Operatør', + 'Dramalærer', + 'Dramatiker', + 'Driftsansvarlig Flyfrakt', + 'Driftsfullmektig', + 'Driftskonsulent', + 'Driftskonsulent It', + 'Driftskoordinator', + 'Driftsplantekniker', + 'Driftstekniker', + 'Driftsøkonom', + 'Droneoperatør', + 'Drosjesjåfør', + 'Dykkerleder', + 'Dyrlege', + 'Dørselger', + 'Dørvert', + 'Døvekapellan', + 'Døveprest', + 'Edb-Leder', + 'Ekspedent', + 'Ekspedisjonssjef', + 'Eksportagent', + 'Eksportkonsulent', + 'Eldreomsorgssjef', + 'Elektriker', + 'Elektrikerformann', + 'Elektrisk Kabeloperasjonstekniker', + 'Elektroautomasjonstekniker', + 'Elektroingeniør', + 'Elektromontør', + 'Elkraftingeniør', + 'Elverksmontør', + 'Emaljebrenner', + 'Emaljør', + 'Energisjef', + 'Engasjementssjef', + 'Enhetsleder', + 'Entomolog', + 'Entreprenør', + 'Ergoterapeut', + 'Etatsjef', + 'Etterforsker', + 'Fagbokforfatter', + 'Faglaborant', + 'Faglærer', + 'Fagopplæringssjef', + 'Fagsjef Skogbruk', + 'Fagspesialist', + 'Fagutdanningskonsulent', + 'Faktureringssekretær', + 'Familierådgiver', + 'Fargekoker', + 'Fargeriarbeider', + 'Fasademontør', + 'Fatter', + 'Feierlærling', + 'Feltarbeider', + 'Feltassistent', + 'Feltprest', + 'Fengselsavdelingsbetjent', + 'Fengselsbetjent', + 'Fengselsinspektør', + 'Fengselsoverbetjent', + 'Fenrik', + 'Ferdigstiller', + 'Filetarbeider', + 'Filialsjef', + 'Filminspisient', + 'Filmkontrollsjef', + 'Filosof', + 'Finansanalytiker', + 'Finansråd', + 'Finansrådgiver', + 'Finanstilsynsdirektør', + 'Fiolinbygger', + 'Fiskehandler', + 'Fiskeridirektør', + 'Fiskerikonsulent', + 'Fiskeriråd', + 'Fiskeritekniker', + 'Fiskerøkter', + 'Fiskeskipper', + 'Fiskeslakter', + 'Fiskevraker', + 'Fjøsmester', + 'Flaskesorterer', + 'Flekker', + 'Flisarbeider', + 'Fly-Radiotekniker', + 'Flyattache', + 'Flyeksportmedarbeider', + 'Flyelektrotekniker', + 'Flygeleder', + 'Flygelederassistent', + 'Flyinstruktør', + 'Flymekaniker', + 'Flyplassekspeditør', + 'Flysystemavioniker', + 'Flyteknisk Inspektør', + 'Flytrafikkassistent', + 'Flyvertinne', + 'Fms-Operatør', + 'Folklorist', + 'Forbundssekretær', + 'Forhandlingssjef', + 'Forkynner', + 'Forlagsmedarbeider', + 'Formgiver', + 'Formstøper', + 'Formuesforvalter', + 'Forsikringsassistent', + 'Forsikringsrådgiver', + 'Forsikringsselger', + 'Forskalingsbas', + 'Forsker', + 'Forskjærer', + 'Forskningsassistent', + 'Forskningssjef', + 'Forskningstekniker', + 'Forstander', + 'Forstkandidat', + 'Forsvarsråd', + 'Forsøksleder', + 'Forvaltningsassistent', + 'Forvaltningsingeniør', + 'Forvaltningssjef', + 'Fosterfar', + 'Fotograf', + 'Fotolaboratorieassistent', + 'Fraktsjef', + 'Freelancejournalist', + 'Frisørlærling', + 'Fritidsassistent', + 'Fritidssjef', + 'Frivillighetssentralleder', + 'Fruktpressearbeider', + 'Fruktprodusent', + 'Fryseriarbeider', + 'Fugearbeider', + 'Fylkesagronom', + 'Fylkesarkitekt', + 'Fylkesbarnevernsjef', + 'Fylkesbyggesjef', + 'Fylkesingeniør', + 'Fylkeskartsjef', + 'Fylkeskontorsjef', + 'Fylkeskoordinator I Fylkesarbeidskontoret', + 'Fylkesmann', + 'Fylkespersonalsjef', + 'Fylkesstyrerepresentant', + 'Fyrmester', + 'Fyrtjenestermann', + 'Fysiker', + 'Fysiokjemiker', + 'Fører', + 'Førsteamanuensis', + 'Førstefarmasøyt', + 'Førstefotograf', + 'Førstekonservator', + 'Førstelagmann', + 'Førstelektor', + 'Førstemaskinist', + 'Førstemeteorologifullmektig', + 'Førstepasser', + 'Førstepostbetjent', + 'Førstepostfullmektig', + 'Førstepreparant', + 'Førsteprovisor', + 'Førsterevisor', + 'Førstesekretær', + 'Førstestatsadvokat', + 'Førstestyrmann', + 'Førstetollinspektør', + 'Gallerivakt', + 'Garderobebetjening', + 'Garnfisker', + 'Garnisonstannlege', + 'Gartnerassistent', + 'Gartnerformann', + 'Gassverksjef', + 'Gateselger', + 'General', + 'Generalinspektør For Heimevernet', + 'Generalinspektør For Hæren', + 'Geodet', + 'Geolog', + 'Geomatiker', + 'Geotekniker', + 'Gjærhusarbeider', + 'Glasiolog', + 'Glassarbeider', + 'Glassblåser', + 'Glassblåsermester', + 'Glasshåndverker', + 'Glasurarbeider', + 'Godstrafikkleder', + 'Grafikerlærling', + 'Grafisk Formgiver', + 'Grafisk Ingeniør', + 'Grafisk Trykkermester', + 'Granitthogger', + 'Grensekontrollør', + 'Grovsliper', + 'Gruppeleder I Arbeidsmarkedsetaten', + 'Gruvemåler', + 'Guide', + 'Gullarbeider', + 'Gullsmedmester', + 'Gummivarearbeider', + 'Gynekolog', + 'Gårdbruker', + 'Gårdsarbeider', + 'Gårdshjelp', + 'Hammerarbeider', + 'Handelsagent', + 'Handelsråd', + 'Handlevognrydder', + 'Hanskesyer', + 'Hartskoker', + 'Hattemaker', + 'Havarisekretær', + 'Havneassistent', + 'Havnefogd', + 'Havnekontrollør', + 'Havnesjef', + 'Havnetrafikkleder', + 'Heisinstallatør', + 'Heismontør', + 'Heismontørlærling', + 'Helse- Og Miljørådgiver', + 'Helseinformatiker', + 'Helseinspektør', + 'Helsesøster', + 'Herrefrisør', + 'Hjelpekokk', + 'Hjelpepleier', + 'Hjelpepleiermedarbeider', + 'Hjemmehjelper', + 'Hjemmehjelpsleder', + 'Hjemmekonsulent', + 'Hjemmesykepleier', + 'Hjullastersjåfør', + 'Hms-Leder', + 'Hoffmarskalk', + 'Hollenderifører', + 'Hostess', + 'Hotellarbeider', + 'Hotellmedarbeider', + 'Hotellsjef', + 'Hovedforvalter', + 'Hovmester', + 'Hr-Direktør', + 'Hudarbeider', + 'Hudterapeut', + 'Hundefører', + 'Husdyrkonsulent', + 'Husholdsassistent', + 'Husmorvikar', + 'Hustrykker', + 'Hvalfanger', + 'Hydrograf', + 'Hydrolog', + 'Hylsemaker', + 'Håndballtrener', + 'Håndvever', + 'Hørselsassistent', + 'Høvelmester', + 'Idrettsinstruktør', + 'Idrettsseksjonsleder', + 'Idrettstrener', + 'Ikt-Lærling', + 'Illustratør', + 'Importsjef', + 'Impregnerer', + 'Industribokbinder', + 'Industrimontør', + 'Industripsykolog', + 'Industrirørlegger', + 'Industrisnekker', + 'Industrisyer', + 'Informasjonskonsulent', + 'Informasjonsleder', + 'Informasjonsmedarbeider', + 'Informasjonsskrankemedarbeider', + 'Inkassoassistent', + 'Inkassokonsulent', + 'Inkassoleder', + 'Inkassosjef', + 'Inneselger', + 'Innkjøpsansvarlig', + 'Innkjøpsingeniør', + 'Innkjøpskonsulent', + 'Innreder', + 'Innredningskonsulent', + 'Innredningsmontør', + 'Innsjekkingsmedarbeider', + 'Innspillingsleder', + 'Inspeksjonsingeniør', + 'Inspisient', + 'Installasjonsingeniør', + 'Instituttsjef', + 'Instruktør', + 'Instruktørtannlege', + 'Instrumentavioniker', + 'Instrumentmaker', + 'Instrumentrørlegger', + 'Interiørarkitekt', + 'Internatgruppeassistent', + 'Internatgruppeleder', + 'Internatleder', + 'Iskremarbeider', + 'It-Ansvarlig', + 'It-Konsulent', + 'It-Koordinator', + 'It-Leder', + 'It-Medarbeider', + 'It-Prosjektleder', + 'It-Selger/account Manager', + 'It-Sjef', + 'It-Systemingeniør', + 'It-Teknisk Konsulent', + 'Jernbaneekspeditør', + 'Jernbinderbas', + 'Jordbrukssjef', + 'Jordmor', + 'Jordregistertekniker', + 'Jordskifteassistent', + 'Jordskiftedommer', + 'Jordskifteingeniør', + 'Jordskifteoverdommer', + 'Jordskifterettsleder', + 'Journalist', + 'Juksafisker', + 'Juridisk Rådgiver', + 'Jurist', + 'Juvelèr', + 'Kabelarbeider', + 'Kabelbanefører', + 'Kabinettsekretær', + 'Kafemedarbeider', + 'Kaiarbeider', + 'Kaibetjent', + 'Kalanderarbeider', + 'Kammeroperatørleder', + 'Kanselist', + 'Kapitalforvalter', + 'Kapsler', + 'Kaptein', + 'Kapteinløytnant', + 'Kardiolog', + 'Karosserimekaniker', + 'Kartsjef', + 'Kasseleder', + 'Kennelleder', + 'Keramiker', + 'Keramisk Former', + 'Kinokontrollør', + 'Kinomaskinist', + 'Kinosjef', + 'Kirkegårdsarbeider', + 'Kiropraktor', + 'Kjellermester', + 'Kjemikaliedykker', + 'Kjemiker', + 'Kjevekirurg', + 'Kjeveortoped', + 'Kjole- Og Draktsyermester', + 'Kjøkkenbestyrer', + 'Kjølemaskinist', + 'Kjølemaskinkjører', + 'Kjørelærer', + 'Kjøreskolelærer', + 'Kjøttskjærer', + 'Klinikkassistent', + 'Klinisk Ernærinsfysiolog', + 'Klinisk Sosionom', + 'Klinisk Vernepleier', + 'Klokkedykker', + 'Klokker', + 'Klubbarbeider', + 'Klubbleder', + 'Klubbtillitsmann', + 'Koder', + 'Kokillestøper', + 'Koksbrenner', + 'Koldkjøkkenassistent', + 'Kolonialhandler', + 'Komiker', + 'Kommunaldirektør', + 'Kommunalsjef', + 'Kommuneadvokat', + 'Kommuneergoterapeut', + 'Kommunekasserer', + 'Kommuneplansjef', + 'Kommunestyrerepresentant', + 'Kommunikasjonsrådgiver', + 'Kommunikasjonsrådmann', + 'Kommunikatør', + 'Kompressoroperatør', + 'Konditor', + 'Konduktør', + 'Konfektmaker', + 'Konferansevert', + 'Konferansevertinne', + 'Konkurransedirektør', + 'Konserndirektør', + 'Konsernregnskapssjef', + 'Konservator', + 'Konstruksjonstegner', + 'Kontaktmann', + 'Kontoraspirant', + 'Kontormedarbeider', + 'Kontorrengjører', + 'Kontraktsleder', + 'Kontrollflyger', + 'Kontrolloperatør', + 'Kontrollromsassistent', + 'Kontrollsjef', + 'Kontrollveterinær', + 'Kontrollør', + 'Kopperslager', + 'Koranlærer', + 'Koreolog', + 'Korrespondent', + 'Korrosjonsbehandler', + 'Kostholdskonsulent', + 'Kostnadsingeniør', + 'Kostymeformann', + 'Kraftmegler', + 'Kraftverksdirektør', + 'Kraftverksoperatør', + 'Kredittleder', + 'Kreftsykepleier', + 'Krematoriebetjent', + 'Kretskortmontør', + 'Kringkastingssjef', + 'Kulturhussjef', + 'Kulturkonsulent', + 'Kulturminnekonsulent', + 'Kundemegler', + 'Kundesuppertleder', + 'Kunststopper', + 'Kurator', + 'Kursmedarbeider', + 'Kursveileder', + 'Kurvfletter', + 'Kurvmaker', + 'Kurvmakermester', + 'Kusk', + 'Kvalitetsbedømmer', + 'Kvalitetsmedarbeider', + 'Kvalitetssikringsassistent', + 'Kvalitetssikringsinspektør', + 'Kvalitetssikringskoordinator', + 'Kvalitetssikringsleder', + 'Kybernetiker', + 'Kystdirektør', + 'Laboratorieleder', + 'Laboratorierådgiver', + 'Laboratorietekniker', + 'Lagerformann', + 'Lagerforvalter', + 'Lagerfunksjonær', + 'Lagerleder', + 'Lagersjef', + 'Lakkerer', + 'Lakkoker', + 'Landbruksdirektør', + 'Landbruksmaskinmekaniker', + 'Landbruksveileder', + 'Landskapsarkitekt', + 'Landssekretær', + 'Landsstyremedlem', + 'Ledende Aktivitør', + 'Ledende Legesekretær', + 'Leder', + 'Leder It Brukerstøtte', + 'Lege I Spesialisering', + 'Legemiddelinspektør', + 'Legesekretær', + 'Legpredikant', + 'Leigeskjærer', + 'Lekotekleder', + 'Lektor', + 'Lensmannsbetjent', + 'Lensmannsfullmektig', + 'Leveransekoordinator', + 'Ligningsrevisor', + 'Ligningssekretær', + 'Limarbeider', + 'Limnolog', + 'Lineegner', + 'Linjeleder', + 'Linjemontør', + 'Litteraturagent', + 'Litteraturkritiker', + 'Location Scout', + 'Locationassistent', + 'Loddselger', + 'Logistikkdirektør', + 'Logistikkkoordinator', + 'Logistikkleder', + 'Logistikkmedarbeider', + 'Logistikkonsulent', + 'Logistikksjef', + 'Logoped', + 'Lokomotivfører', + 'Lokomotivkontrollør', + 'Losbåtfører', + 'Losbåtsmann', + 'Losinspektør', + 'Lufthavnbetjent', + 'Lufttrafikksjef', + 'Lugarpike', + 'Lydingeniør', + 'Lydmester', + 'Lydtekniker', + 'Lysrigger', + 'Lystekniker', + 'Låsemontør', + 'Lærervikar', + 'Lærling', + 'Lønningssekretær', + 'Lønningssjef', + 'Løypekjører', + 'Løytnant', + 'Malerlærling', + 'Manikyrist', + 'Mannekeng', + 'Marinamedarbeider', + 'Mariningeniør', + 'Maritim Sjef', + 'Markedsassistent', + 'Markedsfører', + 'Markedskoordinator', + 'Markedsmedarbeider', + 'Markedsovervåker', + 'Markedssjef', + 'Marketingsekretær', + 'Marketingsjef', + 'Marketingsplanlegger', + 'Markisemontør', + 'Maskinassistent', + 'Maskinfører', + 'Maskiningeniør', + 'Maskininnbinder', + 'Maskinmekaniker', + 'Maskinoffiser', + 'Maskinpakker', + 'Maskinpasser', + 'Maskintegner', + 'Maskør', + 'Masseoppløser', + 'Matematikkinstruktør', + 'Materialadministrasjonssjef', + 'Materialforvalter', + 'Medhjelper', + 'Medisinalråd', + 'Meglerassistent', + 'Meierikonsulent', + 'Mekaniker', + 'Mekanisk Kabeloperasjonstekniker', + 'Mengeblander', + 'Menger', + 'Menig', + 'Menighetsarbeider', + 'Menighetssekretær', + 'Mensendiecker', + 'Merkevaresjef', + 'Messepike', + 'Messeplanlegger', + 'Metalliserer', + 'Metallpusser', + 'Meteorologikonsulent', + 'Mikrofilmfotograf', + 'Mikseoperatør', + 'Militærattache', + 'Militærpsykolog', + 'Miljøsaneringsarbeider', + 'Miljøvernsjef', + 'Miljøvernsjef På Svalbard', + 'Mineralvannarbeider', + 'Minerer', + 'Minerydder', + 'Minigraverfører', + 'Misjonsprest', + 'Misjonssekretær', + 'Mobilkranfører', + 'Modellsnekker', + 'Modellør', + 'Molekylærbiolog', + 'Montasjeingeniør', + 'Montasjesjef', + 'Moseplukker', + 'Motormann', + 'Motormannlærling', + 'Motormekaniker', + 'Motorsykkelbud', + 'Motorsykkelreparatør', + 'Mub Ingeniør', + 'Multimediedesigner', + 'Museumsdirektør', + 'Museumstekniker', + 'Musikkinstrumentreparatør', + 'Musikkpedagog', + 'Musikkprodusent', + 'Musikkterapeut', + 'Mykolog', + 'Myntarbeider', + 'Møbelmontør', + 'Møbelsnekker', + 'Møbeltapetserer', + 'Møllemester', + 'Mølleoperatør', + 'Møller', + 'Mønsteroperatør', + 'Mønstersliper', + 'Namsfullmektig', + 'Natler', + 'Nattportier', + 'Nautisk Instrumentmaker', + 'Ndt-Kontrollør', + 'Neglskulptør', + 'Nemndleder', + 'Nestleder', + 'Nettmann', + 'Nettverksanalytiker', + 'Nettverkstekniker', + 'Notfisker', + 'Nupper', + 'Nyhetsredaktør', + 'Nyhetsreporter', + 'Nyhetssjef', + 'Næringsmiddelkandidat', + 'Næringsmiddelkontrollør', + 'Næringsmiddelteknolog', + 'Næringssjef', + 'Odontolog', + 'Odontologisk Forsker', + 'Offentlig Godkjent Sykepleier', + 'Offisersaspirant', + 'Offshore Installation Manager', + 'Oldfrue', + 'Oljeanalytiker', + 'Oljedestillatør', + 'Oljedirektør', + 'Oljekontraktkjøper', + 'Oljekontraktmegler', + 'Oljepressearbeider', + 'Oljeraffinerer', + 'Oljeseparatør', + 'Ombud', + 'Ombudsmann For Forsvaret', + 'Områdebanksjef', + 'Områdesjef', + 'Omsorgsarbeider', + 'Onkolog', + 'Onkologisykepleier', + 'Operatør', + 'Operatør Av Pakkemaskiner', + 'Opplæringsfarmasøyt', + 'Opplæringskonsulent', + 'Opplæringsleder', + 'Opplæringssjef', + 'Oppmålingstekniker', + 'Oppredningsarbeider', + 'Oppsynssjef', + 'Oppvekstsjef', + 'Opsjonsmegler', + 'Optikermedarbeider', + 'Ordensvakt', + 'Ordreplukker', + 'Organisasjonskonsulent', + 'Organisasjonsleder', + 'Organisasjonssekretær', + 'Orgelbygger', + 'Ortoped', + 'Ortopeditekniker', + 'Ortopediteknisk Sjef', + 'Ortoptist', + 'Oseanograf', + 'Ostemaker', + 'Overgartner', + 'Overingeniør', + 'Overinspektør', + 'Overjordmor', + 'Overkokk', + 'Overlærskjærer', + 'Overpleier', + 'Overpostbetjent', + 'Overpostmester', + 'Overradiograf', + 'Oversetter', + 'Overstiger', + 'Oversykepleier', + 'Pantelåner', + 'Pappsalarbeider', + 'Paraplymaker', + 'Parkettlegger', + 'Parkettsliper', + 'Parksjef', + 'Parlamentarisk Leder', + 'Partisekretær', + 'Parykkmaker', + 'Parykkmakermester', + 'Passkontrollør', + 'Pater', + 'Patolog', + 'Pedagog', + 'Pedagogisk Psykolog', + 'Pelsbereder', + 'Pelsdyroppdretter', + 'Pelsmaker', + 'Pengeutlåner', + 'Perforerer', + 'Perfusjonist', + 'Personal-Og Økonomidirektør', + 'Personalassistent', + 'Personalleder', + 'Petrofysiker', + 'Petroleumsarkitekt', + 'Phytoterapeut', + 'Pianoreparatør', + 'Pianostemmer', + 'Piping Ingeniør', + 'Pizzabaker', + 'Pizzasjåfør', + 'Planlegger', + 'Planleggingssjef', + 'Planner', + 'Plasseringsrådgiver', + 'Pleiemedarbeider', + 'Pleier', + 'Poet', + 'Polaritetsterapeut', + 'Poliklinikksykepleier', + 'Poliseprodusent', + 'Politiadvokat', + 'Politiavdelingssjef', + 'Politiførstebetjent', + 'Politimester', + 'Politioverkonstabel', + 'Politisk Sekretær', + 'Popmusiker', + 'Porteføljeforvalter', + 'Porteføljeselger', + 'Post Doc.', + 'Postdoktor', + 'Postfortoller', + 'Postfullmektig', + 'Postinspektør', + 'Postmester', + 'Poståpner', + 'Preparantassistent', + 'Preserveringstekniker', + 'Pressebas', + 'Pressefotograf', + 'Presser', + 'Privatassurandør', + 'Prodekan', + 'Production Supervisor', + 'Produksjonsingeniør', + 'Produksjonskoordinator', + 'Produksjonsmedarbeider', + 'Produksjonsoperatør', + 'Produksjonsteknisk Leder', + 'Produktsekretær', + 'Produkttester', + 'Produktutviklingskoordinator', + 'Programleder', + 'Programmerer', + 'Programmeringssjef', + 'Programsjef', + 'Programvaretester', + 'Programvareutvikler', + 'Promotionkonsulent', + 'Promotionmedarbeider', + 'Prorektor', + 'Prosjektmegler', + 'Prosjektoppfølger', + 'Prosjektstyringssjef', + 'Prosjektøkonom', + 'Protesetekniker', + 'Protokollfører', + 'Protokollsekretær', + 'Pubvert', + 'Purserassistent', + 'Påkleder', + 'Pølsemaker', + 'Rabbiner', + 'Radarreparatør', + 'Radioingeniør', + 'Radioleder', + 'Radiosondeleder', + 'Radiotekniker', + 'Radiotelefonist', + 'Raffinerer', + 'Rammemaker', + 'Redaksjonssekretær', + 'Redaktør', + 'Regionsekretær', + 'Regionsjef', + 'Regissør', + 'Registrert Legemiddelkonsulent', + 'Regningsinnkrever', + 'Regnskapsansvarlig', + 'Rehabiliteringsterapeut', + 'Reineier', + 'Reklamefotograf', + 'Reklamekonsulent', + 'Reklamesekretær', + 'Rekrutteringskonsulent', + 'Rektor', + 'Rekvisitamaker', + 'Rekvisittleder', + 'Rembursjef', + 'Renholdsbetjent', + 'Renholdsinspektør', + 'Renholdskonsulent', + 'Renholdsleder', + 'Renovasjonskjører', + 'Renseriarbeider', + 'Renseribestyrer', + 'Renserimaskinarbeider', + 'Reparatør', + 'Resepsjonsfullmektig', + 'Resepsjonsleder', + 'Reservedelsekspeditør', + 'Reservedykker', + 'Reservesjåfør', + 'Ressurskoordinator', + 'Restaurantinspektør', + 'Restaureringsassistent', + 'Restaureringstekniker', + 'Rettsgenetiker', + 'Rettsskriver', + 'Revisjonsleder', + 'Revisjonsrådgiver', + 'Revisjonssjef', + 'Revisor', + 'Revisormedarbeider', + 'Ridelærer', + 'Rigger', + 'Riksantikvar', + 'Riksarkivar', + 'Riksbibliotekar', + 'Risiko Controller', + 'Rockemusiker', + 'Rockesanger', + 'Rodeleder', + 'Romanforfatter', + 'Rosenterapeut', + 'Roughneck', + 'Rullestolreparatør', + 'Ryddehjelp', + 'Rådgivende Overlege', + 'Røkter', + 'Røntgenassistent', + 'Røringeniør', + 'Rørsveiser', + 'Sagbladstiller', + 'Sagbruks- Og Høvleriarbeider', + 'Sagsliper', + 'Salatbarmedarbeider', + 'Salgsanalytiker', + 'Salgsassistent', + 'Salgsingeniør', + 'Salgskontrollør', + 'Salgsrådgiver', + 'Salgssekretær', + 'Sambandsoffiser', + 'Sametingspresident', + 'Samfunnsgeograf', + 'Saneringsarbeider', + 'Scanner', + 'Sceneinstruktør', + 'Scenemester', + 'Seismisk Personell', + 'Sekretær', + 'Seksjonsoverlege', + 'Sektorsjef/assisterende Leder Av Politistyrke', + 'Selfanger', + 'Selger', + 'Sementarbeider', + 'Sementeringstekniker', + 'Seminarholder', + 'Senior Ingeniør', + 'Senior Maskiningeniør', + 'Senior Operatør', + 'Senior Planleggsingsingeniør', + 'Senior Økonomikonsulent', + 'Senioranalytiker', + 'Seniorinnkjøper', + 'Seniorinspektør', + 'Seniormetallurg', + 'Seniorserviceingeniør', + 'Senterleder', + 'Sentralbanksjef', + 'Sentralbordleder', + 'Serigraf', + 'Service Manager', + 'Servicemontør', + 'Servitør', + 'Shopper', + 'Shoveldoserkjører', + 'Signalmann', + 'Sikkerhetsansvarlig', + 'Sikkerhetsdirektør', + 'Sikkerhetsleder', + 'Silketrykker', + 'Sivilforsvarsinspektør', + 'Sivilombud', + 'Siviløkonom', + 'Sjefbioingeniør', + 'Sjeflege', + 'Sjefsfysioterapeut', + 'Sjefsingeniør', + 'Sjefskokk', + 'Sjefslandskapsarkitekt', + 'Sjefssykepleier', + 'Sjefsøkonom', + 'Sjåfør Klasse B', + 'Skadedyrkontrollør', + 'Skadekonsulent', + 'Skademedarbeider', + 'Skaderegulerer', + 'Skadesjef', + 'Skatteregnskapssjef', + 'Skatterevisor', + 'Skiftekontrollør', + 'Skiftingeniør', + 'Skiftleder', + 'Skilærer', + 'Skimaker', + 'Skinnsorterer', + 'Skippingmedarbeider', + 'Skipsradiomontør', + 'Skipsreperatør', + 'Skipsrørlegger', + 'Skipssmed', + 'Skjenkekontrollør', + 'Skogbestyrer', + 'Skogbruksplanlegger', + 'Skogdirektør', + 'Skogformann', + 'Skogforvalter', + 'Skogfullmektig', + 'Skogsmaskinfører', + 'Skogtaksator', + 'Skoleassistent', + 'Skoledirektør', + 'Skolefritidsleder', + 'Skoleinspektør', + 'Skolepsykolog', + 'Skolerådgiver', + 'Skomakerlærling', + 'Skopusser', + 'Skoreparatør', + 'Skrankeekspeditør', + 'Skrankemedarbeider', + 'Skredder', + 'Skribent', + 'Skript', + 'Skuespiller', + 'Skummer', + 'Skøyteinstruktør', + 'Slaktermester', + 'Slankekonsulent', + 'Sminkeassistent', + 'Småbruker', + 'Smører', + 'Snekkermester', + 'Snurrevadfisker', + 'Snømåker', + 'Snørelager', + 'Soknediakon', + 'Soneterapeut', + 'Sortbytter', + 'Sorterer', + 'Sorteringsleder', + 'Sortersalarbeider', + 'Sosialfaglig Leder', + 'Sosialinspektør', + 'Sosialrådmann', + 'Sosialsekretær', + 'Sparklingsarbeider', + 'Speditør', + 'Spesialbioingeniør', + 'Spesialergoterapeut', + 'Spesialfysioterapeut', + 'Spesiallærer', + 'Spesialpedagog', + 'Spesialpsykolog', + 'Spesialrevisor', + 'Spesialrådgiver', + 'Spesialsykepleier', + 'Spesialtannlege', + 'Spoler', + 'Sporveisdirektør', + 'Spregningsarbeider', + 'Spritdestillatør', + 'Sprøytelakkerer', + 'Spåkone/-Mann', + 'Stabssjef', + 'Staffcaptain', + 'Stallkar', + 'Stallmann', + 'Stallpike', + 'Stasjonsbetjent', + 'Stasjonssjef', + 'Statslosaspirant', + 'Statsmeteorolog', + 'Statsmykolog', + 'Statssekretær', + 'Statsskogsjef', + 'Steinbruddsarbeider', + 'Steinfagmester', + 'Steward', + 'Stillasbygger', + 'Stipendiat', + 'Stopper', + 'Store Manager', + 'Storkundeansvarlig', + 'Stortingspresident', + 'Storurmaker', + 'Strategirådgiver', + 'Stråleterapeut', + 'Studieinspektør', + 'Studieleder', + 'Studiobetjent', + 'Studioformann', + 'Stuert', + 'Styreleder', + 'Styremedlem', + 'Støttekontakt', + 'Surveyer', + 'Svakstrømsmontør', + 'Sveiseinspektør', + 'Sveiserlærling', + 'Sykehusdirektør', + 'Sykehusfarmasøyt', + 'Sykehuslaborant', + 'Sykehusprest', + 'Sykehussjef', + 'Sysselmann', + 'Systemanalytiker', + 'Systemarkitekt', + 'Systemerer', + 'Systemingeniør', + 'Systemsjef', + 'Systemtekniker', + 'Systemtester', + 'Systemutvikler', + 'Sølvsiselør', + 'Sølvsmed', + 'Sølvtrykker', + 'Søppelkjører', + 'Taksteinlegger', + 'Takstmann', + 'Takstøkonom', + 'Taktekker', + 'Tallmagiker', + 'Tannhelsesekretær', + 'Tannhygieniker', + 'Tannlegeassistent', + 'Tannteknikermester', + 'Tapper', + 'Tapperiformann', + 'Taubanefører', + 'Taxisjåfør', + 'Teglsorterer', + 'Tegneassistent', + 'Teknisk Ansvarlig', + 'Teknisk Direktør', + 'Teknisk Rådmann', + 'Tekstilkonservator', + 'Tekstilkunstner', + 'Tekstiloperatør', + 'Tekstiltrykker', + 'Teleekspeditør', + 'Telefonsentralmontør', + 'Telefullmektig', + 'Telegrafbetjent', + 'Telekommunikasjonsingeniør', + 'Telesjef', + 'Teolog', + 'Teppelegger', + 'Terminalansvarlig', + 'Terminalarbeider', + 'Terminalleder', + 'Termisk Sprøyter', + 'Tilrettelegger', + 'Tilsynslege', + 'Tilsynsveterinær', + 'Tiltakssjef', + 'Tivoliarbeider', + 'Togelektriker', + 'Togkontrollør', + 'Togsjef', + 'Tolldistriktssjef', + 'Tollkasserer', + 'Tollstedsjef', + 'Topograf', + 'Torghandler', + 'Total Service Manager', + 'Totalisatorfunksjonær', + 'Trafikkflyger', + 'Trafikklærer', + 'Trafikksjef', + 'Trailersjåfør', + 'Transformatormontør', + 'Transportformann', + 'Transportleder', + 'Transportmedarbeider', + 'Transportsjef', + 'Transportør', + 'Tredreier', + 'Trepleier', + 'Trikkefører', + 'Truckfører', + 'Trygdedirektør', + 'Trygderevisor', + 'Trygdesjef', + 'Trykker', + 'Trykktester', + 'Trålbas', + 'Turistvert', + 'Turoperatør', + 'Tvisteløseleder', + 'Tvisteløser', + 'Tårnarbeider', + 'Tårnkranfører', + 'Tårnmann', + 'Tømmerberegner', + 'Tømmerfløter', + 'Tømmerhogger', + 'Tømmermåler', + 'Tømmermålingsinspektør', + 'Tømmersjef', + 'Tømmersorterer', + 'Tørkepasser', + 'Tørker', + 'Tørrfisktilvirker', + 'Tørrstoffkoker', + 'Ullklassifisør', + 'Undervisningsassistent', + 'Underwriter', + 'Utbyggingssjef', + 'Utenrikskorrespondent', + 'Utenriksredaktør', + 'Utenriksråd', + 'Utmarkstekniker', + 'Utreder', + 'Utredningsingeniør', + 'Utrykningsleder', + 'Utstyrsoperatør', + 'Utviklingsdirektør', + 'Utviklingssjef', + 'Va-Ingeniør', + 'Vakt', + 'Vaktbetjent', + 'Vaktmann', + 'Vaktmesterassistent', + 'Valutakoordinator', + 'Valutasjef', + 'Vannverkssjef', + 'Varabrannmester', + 'Vareautomatoperatør', + 'Varemegler', + 'Varmebehandler', + 'Vaskeriassistent', + 'Vedlikeholdsingeniør', + 'Vedlikeholdstekniker', + 'Vegvalsekjører', + 'Vekterlærling', + 'Vektkontrollør', + 'Velferdssekretær', + 'Velferdssjef', + 'Verftssjef', + 'Verkstedansvarlig', + 'Verkstedarbeider', + 'Verkstedformann', + 'Verkstedingeniør', + 'Verkstedmedarbeider', + 'Verkstedsjef', + 'Verktøyinnstiller', + 'Verktøykonstruktør', + 'Verktøymaker', + 'Verktøysliper', + 'Verneingeniør', + 'Verneombud', + 'Vervet', + 'Veterinærinspektør', + 'Vever', + 'Vikarbyråkonsulent', + 'Viltforvalter', + 'Viltkonsulent', + 'Vinduspusser', + 'Viseadmiral', + 'Visekonsernsjef', + 'Visekonsul', + 'Visesanger', + 'Voksenopplæringssjef', + 'Vraker', + 'Vytnesjæjja', + 'Værelsesbetjent', + 'Værvarslingssjef', + 'Web-Publisher', + 'Webdesigner', + 'Webmaster', + 'Webredaktør', + 'Yrkesfaglærer', + 'Yrkesopplæringsleder', + 'Yster', + 'Økonom', + 'Økonomiarbeider', + 'Øre-Nese-Hals-Spesialist', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Payment.php index c5c1b3b..fddfef8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\nb_NO; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'NO', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'NO', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Person.php b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Person.php index 86ce721..76c1975 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/Person.php @@ -2,335 +2,2745 @@ namespace Faker\Provider\nb_NO; -class Person extends \Faker\Provider\Person -{ - protected static $formats = [ - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{lastName}} {{lastName}}', - '{{firstName}} {{lastName}}-{{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}-{{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $formats = [ + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{lastName}} {{lastName}}', + '{{firstName}} {{lastName}}-{{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}-{{lastName}}', + ]; - /** - * @var array Norwegian female first names - * - * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml - */ - protected static $firstNameFemale = [ - 'Abida', 'Abigail', 'Abir', 'Ada', 'Adel', 'Adelaine', 'Adele', 'Adelen', 'Adelin', 'Adelina', 'Adeline', - 'Adiba', 'Adila', 'Adile', 'Adina', 'Adine', 'Adisa', 'Admira', 'Adna', 'Adriana', 'Aferdita', 'Afshan', - 'Agata', 'Agate', 'Agathe', 'Agda', 'Agne', 'Agnes', 'Agnete', 'Agnethe', 'Agnieszka', 'Agny', 'Ahlam', 'Aicha', - 'Aida', 'Aija', 'Aileen', 'Aili', 'Ailin', 'Aime', 'Aimée', 'Aina', 'Aino', 'Aisha', 'Aiste', 'Ajna', - 'Albertine', 'Aldona', 'Aleena', 'Aleksandra', 'Alena', 'Alette', 'Alexandra', 'Alfhild', 'Alia', 'Alice', - 'Alida', 'Alina', 'Aline', 'Alis', 'Alise', 'Alison', 'Aliza', 'Allis', 'Alma', 'Almira', 'Alva', 'Alvhild', - 'Alvilde', 'Alyssa', 'Alaa', 'Amabel', 'Amal', 'Amalie', 'Amanda', 'Amber', 'Ambjørg', 'Amelia', 'Amelie', - 'Amie', 'Amila', 'Amina', 'Aminda', 'Amira', 'Amna', 'Amporn', 'Amra', 'Amy', 'An', 'Ana', 'Anab', 'Anabelle', - 'Anastasia', 'Anbjørg', 'Andrea', 'Andrine', 'Ane', 'Aneta', 'Anett', 'Anette', 'Angela', 'Angelica', - 'Angelina', 'Angunn', 'Anh', 'Anikken', 'Anila', 'Anine', 'Anisa', 'Anita', 'Anitra', 'Anja', 'Anke', 'Anlaug', - 'Ann', 'Anna', 'Annabel', 'Annabelle', 'Annbjørg', 'Anne', 'Anneke', 'Anneli', 'Annelise', 'Annemarie', - 'Annette', 'Annfrid', 'Anni', 'Annicken', 'Annie', 'Annika', 'Anniken', 'Annka', 'Annlaug', 'Annveig', 'Anny', - 'Antje', 'Antoinette', 'Anya', 'April', 'Ardita', 'Ariana', 'Ariel', 'Ariela', 'Arina', 'Arja', 'Arlene', - 'Arna', 'Arnbjørg', 'Arnhild', 'Arnlaug', 'Asbjørg', 'Asha', 'Aslaug', 'Asma', 'Asta', 'Astri', 'Astrid', - 'Athene', 'Atina', 'Aud', 'Audhild', 'Audny', 'Audrey', 'Aurora', 'Ayan', 'Ayla', 'Ayleen', 'Aylin', 'Ayse', - 'Azra', 'Babette', 'Barbara', 'Barbro', 'Beate', 'Beatrice', 'Belinda', 'Bella', 'Benedicte', 'Benedikte', - 'Benny', 'Bente', 'Bergdis', 'Bergfrid', 'Bergliot', 'Bergljot', 'Berit', 'Bernadette', 'Berta', 'Berthe', - 'Bertine', 'Beth', 'Betina', 'Betine', 'Betsy', 'Bettina', 'Betty', 'Betzy', 'Bianca', 'Bibbi', 'Bibi', - 'Birgit', 'Birgitta', 'Birgitte', 'Birte', 'Birthe', 'Bitten', 'Bjørg', 'Bjørghild', 'Blanca', 'Bodil', - 'Bolette', 'Bonnie', 'Borghild', 'Borgny', 'Bozena', 'Brigitte', 'Brit', 'Brita', 'Britt', 'Bryngjerd', - 'Brynhild', 'Bushra', 'Caisa', 'Camilla', 'Carina', 'Carita', 'Carla', 'Carlota', 'Carmen', 'Carol', 'Carola', - 'Carolina', 'Caroline', 'Cassandra', 'Catalina', 'Catarina', 'Cate', 'Catherina', 'Cathinka', 'Cathrine', - 'Catrine', 'Cecilia', 'Cecilie', 'Celine', 'Chanette', 'Chantal', 'Charlotte', 'Chi', 'Chloe', 'Christel', - 'Christiane', 'Christin', 'Christina', 'Christine', 'Cicilie', 'Cilje', 'Cindy', 'Clara', 'Claudia', 'Connie', - 'Conny', 'Constance', 'Cora', 'Cordelia', 'Corina', 'Cornelia', 'Cornelie', 'Cristel', 'Cristina', 'Cynthia', - 'Dagfrid', 'Dagmar', 'Dagne', 'Dagny', 'Dagrun', 'Daisy', 'Dana', 'Daniella', 'Danielle', 'Danuta', 'Daria', - 'Dea', 'Debora', 'Denise', 'Derya', 'Desirée', 'Diana', 'Diane', 'Dianne', 'Dilan', 'Dina', 'Dolores', 'Donna', - 'Dora', 'Dordi', 'Doreen', 'Doris', 'Dorit', 'Dorota', 'Dorothea', 'Dorte', 'Dorthe', 'Dorthea', 'Dragana', - 'Drude', 'Dung', 'Dyrhild', 'Dyveke', 'Ea', 'Ebba', 'Ece', 'Edda', 'Edel', 'Edit', 'Edith', 'Edle', 'Edna', - 'Edny', 'Edvarda', 'Edvine', 'Eileen', 'Eilin', 'Einy', 'Eir', 'Eira', 'Eirian', 'Eiril', 'Eirin', 'Eirunn', - 'Eivor', 'Ekaterina', 'Elaine', 'Elbjørg', 'Eldbjørg', 'Eldfrid', 'Eldrid', 'Elea', 'Eleanora', 'Elen', 'Elena', - 'Elenora', 'Elfi', 'Elfrid', 'Elfrida', 'Eli', 'Elia', 'Elida', 'Elin', 'Elina', 'Eline', 'Elinor', 'Elisa', - 'Elisabet', 'Elisabeth', 'Elise', 'Elizabeth', 'Ella', 'Elle', 'Ellen', 'Ellida', 'Ellinor', 'Ellisiv', 'Elma', - 'Elna', 'Elsa', 'Else', 'Elsebeth', 'Elsie', 'Elvine', 'Elvira', 'Elzbieta', 'Eman', 'Embla', 'Emelie', 'Emely', - 'Emilie', 'Emilija', 'Emily', 'Emina', 'Emma', 'Emmy', 'Ena', 'Enid', 'Enya', 'Erica', 'Erika', 'Erle', 'Erna', - 'Esma', 'Ester', 'Esther', 'Ethel', 'Eva', 'Evangeline', 'Evelina', 'Evelyn', 'Evi', 'Evie', 'Evita', 'Evy', - 'Eydis', 'Eyvor', 'Fadumo', 'Faisa', 'Faiza', 'Fanny', 'Farah', 'Farhiya', 'Fariba', 'Farida', 'Farzana', - 'Fatima', 'Fay', 'Felicia', 'Feliza', 'Fernanda', 'Filippa', 'Fiona', 'Florence', 'Fozia', 'Frances', - 'Franciska', 'Franziska', 'Frederika', 'Fredrikke', 'Freja', 'Frid', 'Frida', 'Fride', 'Frigg', 'Frøy', 'Frøya', - 'Frøydis', 'Gabrielle', 'Galina', 'Geirhild', 'Georgine', 'Gerd', 'Gerda', 'Gertrud', 'Ghazala', 'Gidske', - 'Gina', 'Gine', 'Gisela', 'Giske', 'Gisken', 'Gitte', 'Gjerd', 'Gjertine', 'Gjertrud', 'Gjøril', 'Gjørild', - 'Gloria', 'Grace', 'Greta', 'Grete', 'Grethe', 'Gro', 'Gry', 'Gudjørg', 'Gudlaug', 'Gudny', 'Gudrid', 'Gudrun', - 'Gudveig', 'Gul', 'Gulla', 'Gullborg', 'Gun', 'Gunbjørg', 'Gunda', 'Gunhild', 'Gunlaug', 'Gunn', 'Gunnbjørg', - 'Gunnel', 'Gunnhild', 'Gunnlaug', 'Gunnveig', 'Gunnvor', 'Gunnvår', 'Gunvor', 'Guri', 'Gurine', 'Guro', 'Gusta', - 'Gustava', 'Gyda', 'Gyri', 'Gyrid', 'Gøril', 'Hacer', 'Hafsa', 'Haldis', 'Halimo', 'Halina', 'Hallbjørg', - 'Halldis', 'Hallfrid', 'Hamida', 'Hana', 'Hanan', 'Hang', 'Hanna', 'Hanne', 'Hansine', 'Harda', 'Harriet', - 'Hatice', 'Hava', 'Hawa', 'Heather', 'Hedda', 'Hedvig', 'Hege', 'Heidi', 'Heidrun', 'Heike', 'Helen', 'Helena', - 'Helene', 'Helga', 'Helin', 'Hella', 'Helle', 'Helma', 'Hennie', 'Henny', 'Henriette', 'Herbjørg', 'Herborg', - 'Herdis', 'Herlaug', 'Hermine', 'Hiba', 'Hibo', 'Hilary', 'Hild', 'Hilde', 'Hildegunn', 'Hildur', 'Hillevi', - 'Hilma', 'Hina', 'Hjørdis', 'Hoa', 'Hong', 'Huda', 'Hue', 'Hulda', 'Huong', 'Hæge', 'Iben', 'Ida', 'Idun', - 'Idunn', 'Ifrah', 'Ildri', 'Ildrid', 'Ilona', 'Ilse', 'Iman', 'Ina', 'Indira', 'Ine', 'Ines', 'Inga', 'Inge', - 'Ingebjørg', 'Ingeborg', 'Ingegerd', 'Ingelin', 'Inger', 'Inger-Lise', 'Ingerid', 'Ingfrid', 'Inghild', - 'Ingjerd', 'Ingrid', 'Ingrun', 'Ingrunn', 'Ingunn', 'Ingveig', 'Ingvild', 'Irene', 'Iris', 'Irja', 'Irma', - 'Irmelin', 'Isa', 'Isabel', 'Isadora', 'Iselin', 'Ivana', 'Ivarda', 'Iwona', 'Izabela', 'Jacqueline', 'Jamila', - 'Jane', 'Janette', 'Janicke', 'Janken', 'Janne', 'Jarlfrid', 'Jaroslaw', 'Jasmin', 'Jean', 'Jeanette', 'Jeanne', - 'Jelena', 'Jenni', 'Jennifer', 'Jenny', 'Jessica', 'Jill', 'Jo', 'Jocelyn', 'Jofrid', 'Johanna', 'Johanne', - 'Jolanta', 'Jone', 'Jorid', 'Jorun', 'Jorunn', 'Josefine', 'Joyce', 'Judit', 'Judith', 'Julia', 'Julie', 'June', - 'Juni', 'Jytte', 'Jøran', 'Kai', 'Kaia', 'Kaisa', 'Kamila', 'Kamilla', 'Karen', 'Kari', 'Karianne', 'Karin', - 'Karina', 'Karine', 'Karita', 'Karoline', 'Katarina', 'Kate', 'Kathinka', 'Kathleen', 'Kathrine', 'Kaya', - 'Kelly', 'Kerstin', 'Khadija', 'Khadra', 'Khalida', 'Kim', 'Kine', 'Kirsten', 'Kirsti', 'Kitty', 'Kjellaug', - 'Kjellfrid', 'Kjellrun', 'Kjersti', 'Kjerstin', 'Klara', 'Konstanse', 'Kornelia', 'Kristi', 'Kristin', - 'Kristina', 'Kristine', 'Laila', 'Lana', 'Lara', 'Larissa', 'Laura', 'Lea', 'Leah', 'Leia', 'Leikny', 'Leila', - 'Lena', 'Lene', 'Leona', 'Leyla', 'Lidia', 'Lilian', 'Lill', 'Lillian', 'Lilly', 'Lina', 'Linda', 'Line', - 'Linea', 'Linh', 'Linn', 'Linnea', 'Lisa', 'Lisbeth', 'Lise', 'Liss', 'Liv', 'Live', 'Liza', 'Loma', 'Lone', - 'Lotta', 'Lotte', 'Louise', 'Lovise', 'Lucia', 'Ludmila', 'Luna', 'Lydia', 'Lykke', 'Mabel', 'Madeleine', - 'Magda', 'Magdalena', 'Magdalene', 'Magna', 'Magnhild', 'Magni', 'Mai', 'Maia', 'Maiken', 'Mailen', 'Maj', - 'Maja', 'Malene', 'Mali', 'Malin', 'Maren', 'Margareta', 'Margareth', 'Margarita', 'Marge', 'Margit', 'Margot', - 'Margrete', 'Margrethe', 'Marguerite', 'Margy', 'Mari', 'Maria', 'Marianne', 'Marie', 'Mariell', 'Marilyn', - 'Marina', 'Marion', 'Marit', 'Marlene', 'Marta', 'Marte', 'Martha', 'Martine', 'Mary', 'Mathea', 'Mathilde', - 'Maud', 'May', 'Maya', 'Maylen', 'Melanie', 'Melina', 'Melinda', 'Melissa', 'Melita', 'Mercedes', 'Merete', - 'Mette', 'Mia', 'Michaela', 'Mildrid', 'Milena', 'Milla', 'Mille', 'Mina', 'Mira', 'Miranda', 'Miriam', 'Moa', - 'Mona', 'Monica', 'Monika', 'Monja', 'Muna', 'Munira', 'My', 'Märta', 'Märtha', 'Møyfrid', 'Målfrid', 'Nada', - 'Nadia', 'Nadine', 'Nadja', 'Naima', 'Nancy', 'Nanna', 'Naomi', 'Nasreen', 'Nasrin', 'Natalie', 'Nathalie', - 'Nazia', 'Nelly', 'Ngoc', 'Nicole', 'Nikita', 'Niklas', 'Nikoline', 'Nimo', 'Nina', 'Noomi', 'Noor', 'Nor', - 'Nora', 'Norunn', 'Oda', 'Oddbjørg', 'Oddfrid', 'Oddlaug', 'Oddny', 'Oddrun', 'Oddveig', 'Oksana', 'Olaug', - 'Olga', 'Olina', 'Oline', 'Olivia', 'Othilie', 'Otilie', 'Palma', 'Pamela', 'Patricia', 'Paula', 'Pauline', - 'Peggy', 'Perly', 'Pernille', 'Petra', 'Phuong', 'Pia', 'Rachel', 'Ragna', 'Ragne', 'Ragnfrid', 'Ragnhild', - 'Ragni', 'Rahma', 'Rakel', 'Ramona', 'Randi', 'Rania', 'Ranja', 'Ranveig', 'Rebecca', 'Rebekka', 'Regine', - 'Reidun', 'Renate', 'Renée', 'Riborg', 'Rigmor', 'Rina', 'Rine', 'Rita', 'Ronja', 'Rosa', 'Rose', 'Rukhsana', - 'Runa', 'Rut', 'Ruth', 'Rønnaug', 'Saba', 'Sabine', 'Sabrina', 'Sadia', 'Safia', 'Saga', 'Sahra', 'Saima', - 'Sally', 'Salma', 'Samantha', 'Samina', 'Samira', 'Sana', 'Sandra', 'Sanja', 'Sanna', 'Sara', 'Sarah', 'Selina', - 'Selma', 'Serina', 'Shabana', 'Shahnaz', 'Shamim', 'Sharon', 'Shazia', 'Sheila', 'Shirin', 'Shirley', 'Shukri', - 'Sidsel', 'Sigfrid', 'Signe', 'Sigrid', 'Sigrun', 'Silje', 'Silvia', 'Simona', 'Simone', 'Sina', 'Siren', - 'Siri', 'Siril', 'Sissel', 'Siv', 'Snefrid', 'Sofia', 'Sofie', 'Sol', 'Solbjørg', 'Solfrid', 'Solgunn', - 'Sollaug', 'Solrun', 'Solveig', 'Solvor', 'Sonja', 'Sophie', 'Stella', 'Stina', 'Stine', 'Sumaya', 'Sunniva', - 'Susanne', 'Svanaug', 'Svanhild', 'Svetlana', 'Sygni', 'Sylvi', 'Synnøve', 'Sølvi', 'Tahira', 'Tale', 'Tamara', - 'Tania', 'Tanja', 'Tanya', 'Tara', 'Taran', 'Tatiana', 'Tea', 'Terese', 'Thale', 'Thanh', 'Thao', 'Thea', - 'Thelma', 'Theodora', 'Therese', 'Thi', 'Thilde', 'Thina', 'Thine', 'Thora', 'Thorbjørg', 'Thordis', 'Thorild', - 'Thu', 'Thuy', 'Thyra', 'Tia', 'Tiffany', 'Tilde', 'Tina', 'Tindra', 'Tine', 'Tiril', 'Toini', 'Tomine', 'Tone', - 'Tonje', 'Tora', 'Torbjørg', 'Tordis', 'Torgny', 'Torgun', 'Torgunn', 'Torhild', 'Tori', 'Toril', 'Torild', - 'Torlaug', 'Torny', 'Torunn', 'Tove', 'Toya', 'Trine', 'Trude', 'Turid', 'Tuva', 'Tuyet', 'Tyra', 'Ulla', - 'Ulrikke', 'Una', 'Undis', 'Une', 'Unn', 'Unni', 'Ursula', 'Uzma', 'Valentina', 'Vanessa', 'Vanja', 'Vebjørg', - 'Velaug', 'Venche', 'Vendela', 'Vera', 'Veronica', 'Veslemøy', 'Vibeke', 'Victoria', 'Vida', 'Vigdis', - 'Viktoria', 'Vilde', 'Vilhelmina', 'Vilja', 'Villemo', 'Vilma', 'Viola', 'Virginia', 'Vivi', 'Vivian', 'Vår', - 'Vårin', 'Wanda', 'Wanja', 'Wenche', 'Wendy', 'Wera', 'Weronika', 'Wibecke', 'Wibeke', 'Wigdis', 'Wilde', - 'Wilma', 'Winnie', 'Xuan', 'Yasmin', 'Ylva', 'Yngvild', 'Yvonne', 'Zahida', 'Zahra', 'Zainab', 'Zara', - 'Zuzanna', 'Øydis', 'Øyvor', 'Ågot', 'Aasa', 'Aase', 'Åse', 'Åshild', 'Aashild', 'Åslaug', 'Åsne', 'Åsta', - 'Aasta', - ]; + /** + * @var array Norwegian female first names + * + * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml + */ + protected static $firstNameFemale = [ + 'Abida', + 'Abigail', + 'Abir', + 'Ada', + 'Adel', + 'Adelaine', + 'Adele', + 'Adelen', + 'Adelin', + 'Adelina', + 'Adeline', + 'Adiba', + 'Adila', + 'Adile', + 'Adina', + 'Adine', + 'Adisa', + 'Admira', + 'Adna', + 'Adriana', + 'Aferdita', + 'Afshan', + 'Agata', + 'Agate', + 'Agathe', + 'Agda', + 'Agne', + 'Agnes', + 'Agnete', + 'Agnethe', + 'Agnieszka', + 'Agny', + 'Ahlam', + 'Aicha', + 'Aida', + 'Aija', + 'Aileen', + 'Aili', + 'Ailin', + 'Aime', + 'Aimée', + 'Aina', + 'Aino', + 'Aisha', + 'Aiste', + 'Ajna', + 'Albertine', + 'Aldona', + 'Aleena', + 'Aleksandra', + 'Alena', + 'Alette', + 'Alexandra', + 'Alfhild', + 'Alia', + 'Alice', + 'Alida', + 'Alina', + 'Aline', + 'Alis', + 'Alise', + 'Alison', + 'Aliza', + 'Allis', + 'Alma', + 'Almira', + 'Alva', + 'Alvhild', + 'Alvilde', + 'Alyssa', + 'Alaa', + 'Amabel', + 'Amal', + 'Amalie', + 'Amanda', + 'Amber', + 'Ambjørg', + 'Amelia', + 'Amelie', + 'Amie', + 'Amila', + 'Amina', + 'Aminda', + 'Amira', + 'Amna', + 'Amporn', + 'Amra', + 'Amy', + 'An', + 'Ana', + 'Anab', + 'Anabelle', + 'Anastasia', + 'Anbjørg', + 'Andrea', + 'Andrine', + 'Ane', + 'Aneta', + 'Anett', + 'Anette', + 'Angela', + 'Angelica', + 'Angelina', + 'Angunn', + 'Anh', + 'Anikken', + 'Anila', + 'Anine', + 'Anisa', + 'Anita', + 'Anitra', + 'Anja', + 'Anke', + 'Anlaug', + 'Ann', + 'Anna', + 'Annabel', + 'Annabelle', + 'Annbjørg', + 'Anne', + 'Anneke', + 'Anneli', + 'Annelise', + 'Annemarie', + 'Annette', + 'Annfrid', + 'Anni', + 'Annicken', + 'Annie', + 'Annika', + 'Anniken', + 'Annka', + 'Annlaug', + 'Annveig', + 'Anny', + 'Antje', + 'Antoinette', + 'Anya', + 'April', + 'Ardita', + 'Ariana', + 'Ariel', + 'Ariela', + 'Arina', + 'Arja', + 'Arlene', + 'Arna', + 'Arnbjørg', + 'Arnhild', + 'Arnlaug', + 'Asbjørg', + 'Asha', + 'Aslaug', + 'Asma', + 'Asta', + 'Astri', + 'Astrid', + 'Athene', + 'Atina', + 'Aud', + 'Audhild', + 'Audny', + 'Audrey', + 'Aurora', + 'Ayan', + 'Ayla', + 'Ayleen', + 'Aylin', + 'Ayse', + 'Azra', + 'Babette', + 'Barbara', + 'Barbro', + 'Beate', + 'Beatrice', + 'Belinda', + 'Bella', + 'Benedicte', + 'Benedikte', + 'Benny', + 'Bente', + 'Bergdis', + 'Bergfrid', + 'Bergliot', + 'Bergljot', + 'Berit', + 'Bernadette', + 'Berta', + 'Berthe', + 'Bertine', + 'Beth', + 'Betina', + 'Betine', + 'Betsy', + 'Bettina', + 'Betty', + 'Betzy', + 'Bianca', + 'Bibbi', + 'Bibi', + 'Birgit', + 'Birgitta', + 'Birgitte', + 'Birte', + 'Birthe', + 'Bitten', + 'Bjørg', + 'Bjørghild', + 'Blanca', + 'Bodil', + 'Bolette', + 'Bonnie', + 'Borghild', + 'Borgny', + 'Bozena', + 'Brigitte', + 'Brit', + 'Brita', + 'Britt', + 'Bryngjerd', + 'Brynhild', + 'Bushra', + 'Caisa', + 'Camilla', + 'Carina', + 'Carita', + 'Carla', + 'Carlota', + 'Carmen', + 'Carol', + 'Carola', + 'Carolina', + 'Caroline', + 'Cassandra', + 'Catalina', + 'Catarina', + 'Cate', + 'Catherina', + 'Cathinka', + 'Cathrine', + 'Catrine', + 'Cecilia', + 'Cecilie', + 'Celine', + 'Chanette', + 'Chantal', + 'Charlotte', + 'Chi', + 'Chloe', + 'Christel', + 'Christiane', + 'Christin', + 'Christina', + 'Christine', + 'Cicilie', + 'Cilje', + 'Cindy', + 'Clara', + 'Claudia', + 'Connie', + 'Conny', + 'Constance', + 'Cora', + 'Cordelia', + 'Corina', + 'Cornelia', + 'Cornelie', + 'Cristel', + 'Cristina', + 'Cynthia', + 'Dagfrid', + 'Dagmar', + 'Dagne', + 'Dagny', + 'Dagrun', + 'Daisy', + 'Dana', + 'Daniella', + 'Danielle', + 'Danuta', + 'Daria', + 'Dea', + 'Debora', + 'Denise', + 'Derya', + 'Desirée', + 'Diana', + 'Diane', + 'Dianne', + 'Dilan', + 'Dina', + 'Dolores', + 'Donna', + 'Dora', + 'Dordi', + 'Doreen', + 'Doris', + 'Dorit', + 'Dorota', + 'Dorothea', + 'Dorte', + 'Dorthe', + 'Dorthea', + 'Dragana', + 'Drude', + 'Dung', + 'Dyrhild', + 'Dyveke', + 'Ea', + 'Ebba', + 'Ece', + 'Edda', + 'Edel', + 'Edit', + 'Edith', + 'Edle', + 'Edna', + 'Edny', + 'Edvarda', + 'Edvine', + 'Eileen', + 'Eilin', + 'Einy', + 'Eir', + 'Eira', + 'Eirian', + 'Eiril', + 'Eirin', + 'Eirunn', + 'Eivor', + 'Ekaterina', + 'Elaine', + 'Elbjørg', + 'Eldbjørg', + 'Eldfrid', + 'Eldrid', + 'Elea', + 'Eleanora', + 'Elen', + 'Elena', + 'Elenora', + 'Elfi', + 'Elfrid', + 'Elfrida', + 'Eli', + 'Elia', + 'Elida', + 'Elin', + 'Elina', + 'Eline', + 'Elinor', + 'Elisa', + 'Elisabet', + 'Elisabeth', + 'Elise', + 'Elizabeth', + 'Ella', + 'Elle', + 'Ellen', + 'Ellida', + 'Ellinor', + 'Ellisiv', + 'Elma', + 'Elna', + 'Elsa', + 'Else', + 'Elsebeth', + 'Elsie', + 'Elvine', + 'Elvira', + 'Elzbieta', + 'Eman', + 'Embla', + 'Emelie', + 'Emely', + 'Emilie', + 'Emilija', + 'Emily', + 'Emina', + 'Emma', + 'Emmy', + 'Ena', + 'Enid', + 'Enya', + 'Erica', + 'Erika', + 'Erle', + 'Erna', + 'Esma', + 'Ester', + 'Esther', + 'Ethel', + 'Eva', + 'Evangeline', + 'Evelina', + 'Evelyn', + 'Evi', + 'Evie', + 'Evita', + 'Evy', + 'Eydis', + 'Eyvor', + 'Fadumo', + 'Faisa', + 'Faiza', + 'Fanny', + 'Farah', + 'Farhiya', + 'Fariba', + 'Farida', + 'Farzana', + 'Fatima', + 'Fay', + 'Felicia', + 'Feliza', + 'Fernanda', + 'Filippa', + 'Fiona', + 'Florence', + 'Fozia', + 'Frances', + 'Franciska', + 'Franziska', + 'Frederika', + 'Fredrikke', + 'Freja', + 'Frid', + 'Frida', + 'Fride', + 'Frigg', + 'Frøy', + 'Frøya', + 'Frøydis', + 'Gabrielle', + 'Galina', + 'Geirhild', + 'Georgine', + 'Gerd', + 'Gerda', + 'Gertrud', + 'Ghazala', + 'Gidske', + 'Gina', + 'Gine', + 'Gisela', + 'Giske', + 'Gisken', + 'Gitte', + 'Gjerd', + 'Gjertine', + 'Gjertrud', + 'Gjøril', + 'Gjørild', + 'Gloria', + 'Grace', + 'Greta', + 'Grete', + 'Grethe', + 'Gro', + 'Gry', + 'Gudjørg', + 'Gudlaug', + 'Gudny', + 'Gudrid', + 'Gudrun', + 'Gudveig', + 'Gul', + 'Gulla', + 'Gullborg', + 'Gun', + 'Gunbjørg', + 'Gunda', + 'Gunhild', + 'Gunlaug', + 'Gunn', + 'Gunnbjørg', + 'Gunnel', + 'Gunnhild', + 'Gunnlaug', + 'Gunnveig', + 'Gunnvor', + 'Gunnvår', + 'Gunvor', + 'Guri', + 'Gurine', + 'Guro', + 'Gusta', + 'Gustava', + 'Gyda', + 'Gyri', + 'Gyrid', + 'Gøril', + 'Hacer', + 'Hafsa', + 'Haldis', + 'Halimo', + 'Halina', + 'Hallbjørg', + 'Halldis', + 'Hallfrid', + 'Hamida', + 'Hana', + 'Hanan', + 'Hang', + 'Hanna', + 'Hanne', + 'Hansine', + 'Harda', + 'Harriet', + 'Hatice', + 'Hava', + 'Hawa', + 'Heather', + 'Hedda', + 'Hedvig', + 'Hege', + 'Heidi', + 'Heidrun', + 'Heike', + 'Helen', + 'Helena', + 'Helene', + 'Helga', + 'Helin', + 'Hella', + 'Helle', + 'Helma', + 'Hennie', + 'Henny', + 'Henriette', + 'Herbjørg', + 'Herborg', + 'Herdis', + 'Herlaug', + 'Hermine', + 'Hiba', + 'Hibo', + 'Hilary', + 'Hild', + 'Hilde', + 'Hildegunn', + 'Hildur', + 'Hillevi', + 'Hilma', + 'Hina', + 'Hjørdis', + 'Hoa', + 'Hong', + 'Huda', + 'Hue', + 'Hulda', + 'Huong', + 'Hæge', + 'Iben', + 'Ida', + 'Idun', + 'Idunn', + 'Ifrah', + 'Ildri', + 'Ildrid', + 'Ilona', + 'Ilse', + 'Iman', + 'Ina', + 'Indira', + 'Ine', + 'Ines', + 'Inga', + 'Inge', + 'Ingebjørg', + 'Ingeborg', + 'Ingegerd', + 'Ingelin', + 'Inger', + 'Inger-Lise', + 'Ingerid', + 'Ingfrid', + 'Inghild', + 'Ingjerd', + 'Ingrid', + 'Ingrun', + 'Ingrunn', + 'Ingunn', + 'Ingveig', + 'Ingvild', + 'Irene', + 'Iris', + 'Irja', + 'Irma', + 'Irmelin', + 'Isa', + 'Isabel', + 'Isadora', + 'Iselin', + 'Ivana', + 'Ivarda', + 'Iwona', + 'Izabela', + 'Jacqueline', + 'Jamila', + 'Jane', + 'Janette', + 'Janicke', + 'Janken', + 'Janne', + 'Jarlfrid', + 'Jaroslaw', + 'Jasmin', + 'Jean', + 'Jeanette', + 'Jeanne', + 'Jelena', + 'Jenni', + 'Jennifer', + 'Jenny', + 'Jessica', + 'Jill', + 'Jo', + 'Jocelyn', + 'Jofrid', + 'Johanna', + 'Johanne', + 'Jolanta', + 'Jone', + 'Jorid', + 'Jorun', + 'Jorunn', + 'Josefine', + 'Joyce', + 'Judit', + 'Judith', + 'Julia', + 'Julie', + 'June', + 'Juni', + 'Jytte', + 'Jøran', + 'Kai', + 'Kaia', + 'Kaisa', + 'Kamila', + 'Kamilla', + 'Karen', + 'Kari', + 'Karianne', + 'Karin', + 'Karina', + 'Karine', + 'Karita', + 'Karoline', + 'Katarina', + 'Kate', + 'Kathinka', + 'Kathleen', + 'Kathrine', + 'Kaya', + 'Kelly', + 'Kerstin', + 'Khadija', + 'Khadra', + 'Khalida', + 'Kim', + 'Kine', + 'Kirsten', + 'Kirsti', + 'Kitty', + 'Kjellaug', + 'Kjellfrid', + 'Kjellrun', + 'Kjersti', + 'Kjerstin', + 'Klara', + 'Konstanse', + 'Kornelia', + 'Kristi', + 'Kristin', + 'Kristina', + 'Kristine', + 'Laila', + 'Lana', + 'Lara', + 'Larissa', + 'Laura', + 'Lea', + 'Leah', + 'Leia', + 'Leikny', + 'Leila', + 'Lena', + 'Lene', + 'Leona', + 'Leyla', + 'Lidia', + 'Lilian', + 'Lill', + 'Lillian', + 'Lilly', + 'Lina', + 'Linda', + 'Line', + 'Linea', + 'Linh', + 'Linn', + 'Linnea', + 'Lisa', + 'Lisbeth', + 'Lise', + 'Liss', + 'Liv', + 'Live', + 'Liza', + 'Loma', + 'Lone', + 'Lotta', + 'Lotte', + 'Louise', + 'Lovise', + 'Lucia', + 'Ludmila', + 'Luna', + 'Lydia', + 'Lykke', + 'Mabel', + 'Madeleine', + 'Magda', + 'Magdalena', + 'Magdalene', + 'Magna', + 'Magnhild', + 'Magni', + 'Mai', + 'Maia', + 'Maiken', + 'Mailen', + 'Maj', + 'Maja', + 'Malene', + 'Mali', + 'Malin', + 'Maren', + 'Margareta', + 'Margareth', + 'Margarita', + 'Marge', + 'Margit', + 'Margot', + 'Margrete', + 'Margrethe', + 'Marguerite', + 'Margy', + 'Mari', + 'Maria', + 'Marianne', + 'Marie', + 'Mariell', + 'Marilyn', + 'Marina', + 'Marion', + 'Marit', + 'Marlene', + 'Marta', + 'Marte', + 'Martha', + 'Martine', + 'Mary', + 'Mathea', + 'Mathilde', + 'Maud', + 'May', + 'Maya', + 'Maylen', + 'Melanie', + 'Melina', + 'Melinda', + 'Melissa', + 'Melita', + 'Mercedes', + 'Merete', + 'Mette', + 'Mia', + 'Michaela', + 'Mildrid', + 'Milena', + 'Milla', + 'Mille', + 'Mina', + 'Mira', + 'Miranda', + 'Miriam', + 'Moa', + 'Mona', + 'Monica', + 'Monika', + 'Monja', + 'Muna', + 'Munira', + 'My', + 'Märta', + 'Märtha', + 'Møyfrid', + 'Målfrid', + 'Nada', + 'Nadia', + 'Nadine', + 'Nadja', + 'Naima', + 'Nancy', + 'Nanna', + 'Naomi', + 'Nasreen', + 'Nasrin', + 'Natalie', + 'Nathalie', + 'Nazia', + 'Nelly', + 'Ngoc', + 'Nicole', + 'Nikita', + 'Niklas', + 'Nikoline', + 'Nimo', + 'Nina', + 'Noomi', + 'Noor', + 'Nor', + 'Nora', + 'Norunn', + 'Oda', + 'Oddbjørg', + 'Oddfrid', + 'Oddlaug', + 'Oddny', + 'Oddrun', + 'Oddveig', + 'Oksana', + 'Olaug', + 'Olga', + 'Olina', + 'Oline', + 'Olivia', + 'Othilie', + 'Otilie', + 'Palma', + 'Pamela', + 'Patricia', + 'Paula', + 'Pauline', + 'Peggy', + 'Perly', + 'Pernille', + 'Petra', + 'Phuong', + 'Pia', + 'Rachel', + 'Ragna', + 'Ragne', + 'Ragnfrid', + 'Ragnhild', + 'Ragni', + 'Rahma', + 'Rakel', + 'Ramona', + 'Randi', + 'Rania', + 'Ranja', + 'Ranveig', + 'Rebecca', + 'Rebekka', + 'Regine', + 'Reidun', + 'Renate', + 'Renée', + 'Riborg', + 'Rigmor', + 'Rina', + 'Rine', + 'Rita', + 'Ronja', + 'Rosa', + 'Rose', + 'Rukhsana', + 'Runa', + 'Rut', + 'Ruth', + 'Rønnaug', + 'Saba', + 'Sabine', + 'Sabrina', + 'Sadia', + 'Safia', + 'Saga', + 'Sahra', + 'Saima', + 'Sally', + 'Salma', + 'Samantha', + 'Samina', + 'Samira', + 'Sana', + 'Sandra', + 'Sanja', + 'Sanna', + 'Sara', + 'Sarah', + 'Selina', + 'Selma', + 'Serina', + 'Shabana', + 'Shahnaz', + 'Shamim', + 'Sharon', + 'Shazia', + 'Sheila', + 'Shirin', + 'Shirley', + 'Shukri', + 'Sidsel', + 'Sigfrid', + 'Signe', + 'Sigrid', + 'Sigrun', + 'Silje', + 'Silvia', + 'Simona', + 'Simone', + 'Sina', + 'Siren', + 'Siri', + 'Siril', + 'Sissel', + 'Siv', + 'Snefrid', + 'Sofia', + 'Sofie', + 'Sol', + 'Solbjørg', + 'Solfrid', + 'Solgunn', + 'Sollaug', + 'Solrun', + 'Solveig', + 'Solvor', + 'Sonja', + 'Sophie', + 'Stella', + 'Stina', + 'Stine', + 'Sumaya', + 'Sunniva', + 'Susanne', + 'Svanaug', + 'Svanhild', + 'Svetlana', + 'Sygni', + 'Sylvi', + 'Synnøve', + 'Sølvi', + 'Tahira', + 'Tale', + 'Tamara', + 'Tania', + 'Tanja', + 'Tanya', + 'Tara', + 'Taran', + 'Tatiana', + 'Tea', + 'Terese', + 'Thale', + 'Thanh', + 'Thao', + 'Thea', + 'Thelma', + 'Theodora', + 'Therese', + 'Thi', + 'Thilde', + 'Thina', + 'Thine', + 'Thora', + 'Thorbjørg', + 'Thordis', + 'Thorild', + 'Thu', + 'Thuy', + 'Thyra', + 'Tia', + 'Tiffany', + 'Tilde', + 'Tina', + 'Tindra', + 'Tine', + 'Tiril', + 'Toini', + 'Tomine', + 'Tone', + 'Tonje', + 'Tora', + 'Torbjørg', + 'Tordis', + 'Torgny', + 'Torgun', + 'Torgunn', + 'Torhild', + 'Tori', + 'Toril', + 'Torild', + 'Torlaug', + 'Torny', + 'Torunn', + 'Tove', + 'Toya', + 'Trine', + 'Trude', + 'Turid', + 'Tuva', + 'Tuyet', + 'Tyra', + 'Ulla', + 'Ulrikke', + 'Una', + 'Undis', + 'Une', + 'Unn', + 'Unni', + 'Ursula', + 'Uzma', + 'Valentina', + 'Vanessa', + 'Vanja', + 'Vebjørg', + 'Velaug', + 'Venche', + 'Vendela', + 'Vera', + 'Veronica', + 'Veslemøy', + 'Vibeke', + 'Victoria', + 'Vida', + 'Vigdis', + 'Viktoria', + 'Vilde', + 'Vilhelmina', + 'Vilja', + 'Villemo', + 'Vilma', + 'Viola', + 'Virginia', + 'Vivi', + 'Vivian', + 'Vår', + 'Vårin', + 'Wanda', + 'Wanja', + 'Wenche', + 'Wendy', + 'Wera', + 'Weronika', + 'Wibecke', + 'Wibeke', + 'Wigdis', + 'Wilde', + 'Wilma', + 'Winnie', + 'Xuan', + 'Yasmin', + 'Ylva', + 'Yngvild', + 'Yvonne', + 'Zahida', + 'Zahra', + 'Zainab', + 'Zara', + 'Zuzanna', + 'Øydis', + 'Øyvor', + 'Ågot', + 'Aasa', + 'Aase', + 'Åse', + 'Åshild', + 'Aashild', + 'Åslaug', + 'Åsne', + 'Åsta', + 'Aasta', + ]; - /** - * @var array Norwegian male first names - * - * @see http://www.mammanett.no/navn/leksikon/alle?field_name_sex_value=m&title= - */ - protected static $firstNameMale = [ - 'Abbas', 'Abdallah', 'Abdelaziz', 'Abdelkader', 'Abdi', 'Abdiasis', 'Abdifatah', 'Abdikadir', 'Abdinasir', - 'Abdirahim', 'Abdirahman', 'Abdirashid', 'Abdirizak', 'Abdul', 'Abdulahi', 'Abdulkadir', 'Abdullah', - 'Abdullahi', 'Abdulqadir', 'Abdurahman', 'Abed', 'Abel', 'Abid', 'Abraham', 'Absalon', 'Abu', 'Abubakar', - 'Adam', 'Adan', 'Adeel', 'Adelheid', 'Adelsten', 'Adem', 'Aden', 'Adham', 'Adi', 'Adil', 'Adis', 'Adler', - 'Admir', 'Adnan', 'Adrian', 'Afanasi', 'Afrim', 'Afshin', 'Agim', 'Agmund', 'Agnar', 'Agvald', 'Ahmad', - 'Ahmed', 'Aiden', 'Ailo', 'Aimar', 'Aime', 'Ajdin', 'Ajmal', 'Akam', 'Akbar', 'Akram', 'Aksel', 'Alain', 'Alan', - 'Alban', 'Albert', 'Alberto', 'Albin', 'Albrecht', 'Alejandro', 'Aleksander', 'Alen', 'Alessandro', 'Alex', - 'Alexander', 'Alexsander', 'Alf', 'Alfred', 'Algirdas', 'Algot', 'Ali', 'Allan', 'Almar', 'Almas', 'Almaz', - 'Almir', 'Altin', 'Alv', 'Alvald', 'Alvar', 'Alvaro', 'Alvfinn', 'Alvgeir', 'Alvin', 'Alvis', 'Alaa', 'Amadeus', - 'Aman', 'Amandus', 'Amanuel', 'Amar', 'Ambjørn', 'Ambros', 'Ambrosius', 'Amel', 'Amer', 'Amin', 'Amir', 'Ammar', - 'Amund', 'An', 'Anas', 'Anbjørn', 'Anders', 'Andi', 'Andor', 'André', 'Andreas', 'Andres', 'Andrew', 'Andris', - 'Andrzej', 'Andy', 'Anh', 'Anil', 'Annar', 'Anselm', 'Ansgar', 'Anskar', 'Anstein', 'Anthon', 'Anthony', - 'Anton', 'Antonio', 'Antonius', 'Anwar', 'Aram', 'Ard', 'Are', 'Arent', 'Ari', 'Arian', 'Ariel', 'Arild', - 'Arkadiusz', 'Armand', 'Armin', 'Arn', 'Arnald', 'Arnar', 'Arnbjørn', 'Arndor', 'Arne', 'Arnfinn', 'Arnfred', - 'Arngrim', 'Arnljot', 'Arnold', 'Arnolf', 'Arnor', 'Arnstein', 'Arnt', 'Arnulf', 'Arnulv', 'Arnvid', 'Aron', - 'Arslan', 'Arthur', 'Artur', 'Arun', 'Arunas', 'Arve', 'Arvid', 'Arvin', 'Asad', 'Asbjørn', 'Asgeir', 'Asif', - 'Ask', 'Askjel', 'Aslak', 'Aslan', 'Asle', 'Asmund', 'Astor', 'Atif', 'Atle', 'Attila', 'Audbjørn', 'Audfinn', - 'Audun', 'Augun', 'August', 'Augustin', 'Axel', 'Aziz', 'Bajram', 'Balder', 'Bao', 'Barry', 'Bart', - 'Bartlomiej', 'Bartol', 'Bastian', 'Bekim', 'Ben', 'Bendik', 'Benedikt', 'Bengt', 'Benjamin', 'Benny', 'Bent', - 'Berent', 'Berge', 'Berger', 'Bergfinn', 'Bergsvein', 'Berhane', 'Bernhard', 'Bernt', 'Bert', 'Bertel', - 'Bertil', 'Bertin', 'Bertold', 'Bertram', 'Bertrand', 'Besim', 'Besnik', 'Bilal', 'Bill', 'Birger', 'Birk', - 'Bjarne', 'Bjart', 'Bjarte', 'Bjartmar', 'Bjørge', 'Bjørk', 'Bjørn', 'Bjørnar', 'Bjørnulv', 'Blerim', 'Bo', - 'Bob', 'Bobby', 'Bodolv', 'Bodvar', 'Bogdan', 'Boguslaw', 'Borgar', 'Borger', 'Boris', 'Bork', 'Bosse', - 'Botolv', 'Boye', 'Brage', 'Brede', 'Bredo', 'Brian', 'Brigt', 'Brikt', 'Broder', 'Bror', 'Bruno', 'Bryan', - 'Brynar', 'Brynjar', 'Brynjulf', 'Brynjulv', 'Bujar', 'Burhan', 'Byrge', 'Børge', 'Børje', 'Børre', 'Bård', - 'Calvin', 'Carl', 'Carsten', 'Caspar', 'Casper', 'Caspian', 'Cato', 'Cay', 'Cecil', 'Cengiz', 'Cesar', 'Chan', - 'Chand', 'Charles', 'Charlie', 'Chi', 'Chris', 'Chrisander', 'Christen', 'Christer', 'Christian', 'Christoffer', - 'Christopher', 'Claes', 'Clas', 'Claude', 'Claudio', 'Claus', 'Clemens', 'Clement', 'Cliff', 'Clive', 'Colin', - 'Cong', 'Conrad', 'Constantin', 'Cornelis', 'Cornelius', 'Craig', 'Cristian', 'Cristoffer', 'Curt', 'Cyril', - 'Czeslaw', 'Dag', 'Dagfinn', 'Dagmøy', 'Damian', 'Damir', 'Dan', 'Dani', 'Danial', 'Daniel', 'Danish', - 'Dankert', 'Danny', 'Dario', 'Dariusz', 'Darko', 'Darren', 'Dat', 'David', 'Davy', 'Dean', 'Dejan', 'Denis', - 'Dennis', 'Derek', 'Derrick', 'Detlef', 'Diako', 'Dick', 'Didrik', 'Diego', 'Dieter', 'Dietmar', 'Dilan', - 'Dimitrios', 'Dines', 'Dino', 'Dirk', 'Ditlev', 'Ditmar', 'Dmitri', 'Dmitry', 'Dominic', 'Dominik', 'Don', - 'Donald', 'Douglas', 'Dragan', 'Dung', 'Dusan', 'Duy', 'Dylan', 'Dyre', 'Earl', 'Ebbe', 'Edd', 'Eddie', 'Eddy', - 'Edgar', 'Edgard', 'Edin', 'Edmond', 'Edmund', 'Edvard', 'Edvin', 'Edward', 'Edwin', 'Ege', 'Egil', 'Egon', - 'Egzon', 'Ehsan', 'Eigil', 'Eilef', 'Eilert', 'Eilev', 'Eilif', 'Eiliv', 'Einar', 'Eindride', 'Einvald', - 'Eirik', 'Eivind', 'Ekrem', 'Eldar', 'Eli', 'Elias', 'Elif', 'Ellef', 'Elleif', 'Elling', 'Elliot', 'Elmar', - 'Elmer', 'Elnar', 'Elton', 'Elvin', 'Elvis', 'Emanuel', 'Embret', 'Embrik', 'Emil', 'Emir', 'Emmanuel', 'Emre', - 'Emrik', 'Endre', 'Ener', 'Enes', 'Enevold', 'Engebret', 'Engel', 'Enis', 'Enok', 'Enrico', 'Enrique', 'Enver', - 'Erik', 'Erland', 'Erlend', 'Erling', 'Ernst', 'Ervin', 'Erwin', 'Esben', 'Eskil', 'Eskild', 'Espen', 'Esten', - 'Eugen', 'Evald', 'Even', 'Evert', 'Eyolf', 'Eystein', 'Eyvind', 'Fabian', 'Fahad', 'Faisal', 'Falk', 'Farah', - 'Farhad', 'Farhan', 'Farid', 'Fartein', 'Faruk', 'Farzan', 'Faste', 'Fastolv', 'Felix', 'Feliz', 'Ferdinand', - 'Filip', 'Finn', 'Finnbjørn', 'Finngard', 'Finngeir', 'Finnvard', 'Flamur', 'Flemming', 'Florian', 'Folke', - 'Francis', 'Frank', 'Frans', 'Frants', 'Frantz', 'Fred', 'Freddie', 'Freddy', 'Frede', 'Frederick', 'Frederik', - 'Fredrick', 'Fredrik', 'Fridleiv', 'Fridtjof', 'Frikk', 'Fritjof', 'Fritjov', 'Frits', 'Fritz', 'Frode', - 'Frøystein', 'Fuad', 'Fuat', 'Gabriel', 'Gard', 'Gardar', 'Gary', 'Gaute', 'Geir', 'Geirmund', 'Geirr', - 'Geirstein', 'Geirulv', 'Geoffrey', 'Georg', 'Gerald', 'Gerard', 'Gerd', 'Gerhard', 'Gerrit', 'Gerry', 'Gert', - 'Gholam', 'Ghulam', 'Gilbert', 'Gintaras', 'Gisle', 'Gjermund', 'Gjert', 'Gjøran', 'Gladys', 'Glen', 'Glenn', - 'Godtfred', 'Goran', 'Gordon', 'Gorm', 'Grant', 'Gregard', 'Greger', 'Gregor', 'Gregorius', 'Gregory', 'Grim', - 'Grimar', 'Grzegorz', 'Gudbrand', 'Gudkjell', 'Gudleiv', 'Gudmund', 'Gudvin', 'Gulbrand', 'Gullik', 'Gunder', - 'Gunleik', 'Gunnar', 'Gunne', 'Gunnerius', 'Gunnleif', 'Gunnleiv', 'Gunnstein', 'Gunnvald', 'Gunstein', - 'Gunvald', 'Gustav', 'Guttorm', 'Guy', 'Gynter', 'Gøran', 'Gösta', 'Hadi', 'Hagbart', 'Hai', 'Hakan', 'Hakon', - 'Haldor', 'Halfdan', 'Halfrid', 'Halgeir', 'Halil', 'Halldor', 'Hallgeir', 'Hallstein', 'Hallvard', 'Halvard', - 'Halvdan', 'Halvor', 'Hamid', 'Hamza', 'Hanad', 'Hans', 'Harald', 'Haroon', 'Harry', 'Hartvig', 'Hasan', - 'Hassan', 'Hasse', 'Hauk', 'Hector', 'Heike', 'Hein', 'Heine', 'Helge', 'Heljar', 'Helmer', 'Heming', 'Henki', - 'Henning', 'Henri', 'Henrik', 'Henry', 'Herbert', 'Herbjørn', 'Herleif', 'Herman', 'Hermann', 'Hermod', - 'Hermund', 'Herstein', 'Hieu', 'Hilbert', 'Hildegard', 'Hilmar', 'Hjalmar', 'Hoang', 'Hogne', 'Holger', - 'Hossein', 'Houssein', 'Hroar', 'Hubert', 'Hugo', 'Hung', 'Hussain', 'Hussein', 'Huu', 'Huy', 'Hågen', 'Håkon', - 'Haakon', 'Hårek', 'Håvald', 'Håvar', 'Håvard', 'Haavard', 'Ian', 'Iben', 'Ibrahim', 'Idar', 'Idris', 'Igor', - 'Ilir', 'Ilyas', 'Iman', 'Imbert', 'Immanuel', 'Imre', 'Ingar', 'Ingard', 'Inge', 'Ingebret', 'Ingebrigt', - 'Ingemar', 'Ingemund', 'Ingmar', 'Ingnar', 'Ingolf', 'Ingolv', 'Ingvald', 'Ingvar', 'Ingvard', 'Ingve', - 'Ioannis', 'Iqra', 'Irfan', 'Isa', 'Isach', 'Isak', 'Ismail', 'Ismet', 'Istvan', 'Ivan', 'Ivar', 'Iver', 'Jack', - 'Jacob', 'Jahn', 'Jakob', 'Jalal', 'Jamal', 'James', 'Jan', 'Jani', 'Jannik', 'Jarand', 'Jardar', 'Jarl', - 'Jarle', 'Jason', 'Jasper', 'Jean', 'Jeffrey', 'Jens', 'Jeppe', 'Jeremias', 'Jermund', 'Jerry', 'Jerzy', - 'Jesper', 'Jesus', 'Jetmund', 'Jim', 'Jimmy', 'Jiri', 'Jo', 'Joachim', 'Joakim', 'Joar', 'Joe', 'Joel', - 'Jogeir', 'Johan', 'Johannes', 'John', 'Johnny', 'Jokum', 'Jomar', 'Jon', 'Jonas', 'Jonatan', 'Jonathan', - 'Jone', 'Jonny', 'Joralf', 'Jorge', 'Jorulf', 'Josef', 'Joshua', 'Jostein', 'Josva', 'Juan', 'Juel', 'Jul', - 'Julian', 'Julius', 'Just', 'Jürgen', 'Jøran', 'Jørg', 'Jørgen', 'Jørn', 'Jørund', 'Kadir', 'Kai', 'Kalle', - 'Kamal', 'Kamran', 'Karel', 'Karelius', 'Karim', 'Karl', 'Karlo', 'Karstein', 'Karsten', 'Kasim', 'Kaspar', - 'Kasper', 'Kato', 'Kay', 'Kazimierz', 'Keith', 'Kemal', 'Ken', 'Kennet', 'Kenneth', 'Kent', 'Ketil', 'Kevin', - 'Khalid', 'Khalil', 'Kian', 'Kim', 'Kimberly', 'Kittil', 'Kjartan', 'Kjell', 'Kjerand', 'Kjetil', 'Kjølv', - 'Klas', 'Klaus', 'Klemet', 'Kleng', 'Knut', 'Kolbein', 'Kolbjørn', 'Kolfinn', 'Konrad', 'Konstantin', - 'Kornelius', 'Kris', 'Kristen', 'Krister', 'Kristian', 'Kristofer', 'Kristoffer', 'Ksenia', 'Kurt', 'Kyrre', - 'Kåre', 'Lage', 'Lambert', 'Lars', 'Lasse', 'Laurent', 'Laurentius', 'Lauri', 'Laurits', 'Lauritz', 'Lavrans', - 'Leander', 'Lech', 'Leidulf', 'Leidulv', 'Leif', 'Leik', 'Leiv', 'Lennart', 'Leo', 'Leon', 'Leonard', - 'Leonhard', 'Leopold', 'Levi', 'Levord', 'Lewis', 'Liam', 'Liban', 'Lidvar', 'Linus', 'Livar', 'Lloyd', - 'Lodvar', 'Lodve', 'Loke', 'Lorents', 'Lorentz', 'Lothar', 'Louis', 'Lucas', 'Ludolf', 'Ludvig', 'Ludvik', - 'Lukas', 'Lyder', 'Maciej', 'Mads', 'Magnar', 'Magne', 'Magnus', 'Mahad', 'Mahamed', 'Majid', 'Malcolm', - 'Malfred', 'Malte', 'Malthe', 'Malvin', 'Manfred', 'Manuel', 'Marc', 'Marcel', 'Marco', 'Marcus', 'Marenius', - 'Margido', 'Marius', 'Mark', 'Markus', 'Martin', 'Martinius', 'Martinus', 'Marvin', 'Mathias', 'Matias', - 'Mats', 'Matteus', 'Mattias', 'Mattis', 'Maurice', 'Maurits', 'Mauritz', 'Max', 'Maximilian', 'Mehmet', - 'Melkior', 'Melvin', 'Michael', 'Michel', 'Mikael', 'Mikkel', 'Mikkjel', 'Milan', 'Milo', 'Mindor', 'Minh', - 'Miroslaw', 'Mirsad', 'Mirza', 'Moa', 'Modolv', 'Modulf', 'Mogens', 'Mohammad', 'Mohamoud', 'Mons', 'Morgan', - 'Morits', 'Moritz', 'Morris', 'Morten', 'Mostafa', 'Muhamed', 'Muhammad', 'Muhammed', 'Murat', 'Mustafa', - 'Narve', 'Nasir', 'Nathaniel', 'Neil', 'Neri', 'Ngoc', 'Nicholas', 'Niclas', 'Nicolai', 'Nicolas', 'Niels', - 'Nikolai', 'Nikolas', 'Nikolaus', 'Nils', 'Njål', 'Noa', 'Noah', 'Noman', 'Noralf', 'Norbert', 'Nordahl', - 'Norma', 'Norman', 'Normann', 'Norodd', 'Norvald', 'Notto', 'Nup', 'Odd', 'Oddbjørn', 'Oddgeir', 'Oddleif', - 'Oddmund', 'Oddvar', 'Oddvin', 'Odin', 'Ola', 'Olaf', 'Olai', 'Olav', 'Ole', 'Oleg', 'Oliver', 'Oluf', 'Olve', - 'Omar', 'Ommund', 'Oscar', 'Oskar', 'Osman', 'Osmund', 'Osvald', 'Ottar', 'Otto', 'Ove', 'Pablo', 'Palle', - 'Palmer', 'Patrick', 'Patrik', 'Paul', 'Paulus', 'Peder', 'Pelle', 'Per', 'Perry', 'Peter', 'Petrus', 'Petter', - 'Philip', 'Piotr', 'Poul', 'Povel', 'Preben', 'Paal', 'Pål', 'Quoc', 'Rachid', 'Radoslaw', 'Rafael', 'Ragnar', - 'Ragnvald', 'Raimond', 'Rainer', 'Ralf', 'Ralph', 'Randolf', 'Randulf', 'Rashid', 'Rasmus', 'Ravn', 'Raymond', - 'Rayner', 'Reidar', 'Reidulf', 'Reidulv', 'Reier', 'Reimar', 'Rein', 'Reinert', 'Reinhard', 'Reinhold', - 'Reiulf', 'Remi', 'Remy', 'René', 'Reza', 'Richard', 'Rikard', 'Rino', 'Roald', 'Roar', 'Robert', 'Robin', - 'Rodney', 'Roger', 'Roland', 'Rolf', 'Rolv', 'Roman', 'Romund', 'Ronald', 'Ronnie', 'Ronny', 'Roy', 'Ruben', - 'Rudi', 'Rudolf', 'Runar', 'Rune', 'Ryan', 'Rådmund', 'Sabah', 'Said', 'Sainab', 'Sakarias', 'Salah', 'Salam', - 'Salmund', 'Salomon', 'Salve', 'Sam', 'Samir', 'Samson', 'Samuel', 'Sander', 'Scott', 'Sean', 'Sebastian', - 'Sebjørn', 'Selmar', 'Selmer', 'Sergio', 'Serkan', 'Seveld', 'Severin', 'Sevrin', 'Shahid', 'Sigbjørn', - 'Sigfred', 'Sigmund', 'Sigurd', 'Sigvald', 'Sigvard', 'Sigvart', 'Sigve', 'Silias', 'Simen', 'Simon', 'Sindre', - 'Sivert', 'Sjur', 'Skage', 'Skjalg', 'Skjold', 'Skule', 'Slawomir', 'Snorre', 'Sofus', 'Sondre', 'Stanislaw', - 'Stanley', 'Stefan', 'Steffen', 'Stein', 'Steinar', 'Steinbjørn', 'Steingrim', 'Steinkjell', 'Steinulv', 'Sten', - 'Stephan', 'Steve', 'Steven', 'Stian', 'Stig', 'Storm', 'Sture', 'Sturla', 'Sturle', 'Styrk', 'Stål', 'Ståle', - 'Sune', 'Svale', 'Svein', 'Sveinar', 'Sveinulf', 'Sveinung', 'Sven', 'Svend', 'Sverre', 'Syed', 'Sylfest', - 'Sylvester', 'Synne', 'Syver', 'Syvert', 'Sæbjørn', 'Sølve', 'Søren', 'Saad', 'Såmund', 'Tadeusz', 'Tage', - 'Tahir', 'Tallak', 'Talleiv', 'Tan', 'Tarald', 'Tariq', 'Tarje', 'Tarjei', 'Ted', 'Tedd', 'Teddy', 'Teis', - 'Tellef', 'Tengel', 'Teo', 'Teodor', 'Terje', 'Terjei', 'Terkel', 'Thai', 'Thanh', 'Theis', 'Theo', 'Theodor', - 'Thien', 'Thom', 'Thomas', 'Thor', 'Thoralf', 'Thorbjørn', 'Thord', 'Thore', 'Thorkild', 'Thorleif', 'Thormod', - 'Thorolf', 'Thorstein', 'Thorvald', 'Tidemann', 'Tim', 'Timothy', 'Tinius', 'Tinus', 'Tjerand', 'Tobben', - 'Tobias', 'Toivo', 'Tollak', 'Tollef', 'Tolleif', 'Tolleiv', 'Tom', 'Tomas', 'Tommy', 'Tony', 'Tor', 'Toralf', - 'Torben', 'Torbjørn', 'Tord', 'Tore', 'Torfinn', 'Torgard', 'Torgeir', 'Torger', 'Torgil', 'Torgils', 'Torgny', - 'Torgrim', 'Torje', 'Torjus', 'Torkel', 'Torkil', 'Torkild', 'Torkjel', 'Torleif', 'Torleik', 'Tormod', - 'Tormund', 'Torodd', 'Torolf', 'Torolv', 'Torry', 'Torstein', 'Torsten', 'Torvald', 'Tov', 'Trang', 'Tristan', - 'Tron', 'Trond', 'Troy', 'Truls', 'Trygg', 'Trygve', 'Trym', 'Tuan', 'Ture', 'Tønnes', 'Tørres', 'Ulf', 'Ulrik', - 'Ulv', 'Ulvar', 'Ulvgeir', 'Umar', 'Une', 'Uno', 'Usman', 'Vagn', 'Valborg', 'Valdemar', 'Valentin', 'Valter', - 'Vebjørn', 'Vegar', 'Vegard', 'Vegeir', 'Vemund', 'Verner', 'Vetle', 'Victor', 'Vidar', 'Vidkunn', 'Viet', - 'Vigbjørn', 'Viggo', 'Vigleik', 'Vigulv', 'Viking', 'Viktor', 'Vilfred', 'Vilgot', 'Vilhelm', 'Viljar', - 'Villads', 'Villum', 'Villy', 'Vincent', 'Vinjar', 'Vladimir', 'Vladislav', 'Vrål', 'Waldemar', 'Waleed', - 'Walid', 'Walter', 'Wayne', 'Werner', 'Wictor', 'Widar', 'Wieslaw', 'Wiggo', 'Wiktor', 'Wilfred', 'Wilhelm', - 'William', 'Willy', 'Wilmar', 'Wojciech', 'Wolfgang', 'Wollert', 'Yasin', 'Yasir', 'Yngvar', 'Yngve', 'Yonas', - 'Younes', 'Yousef', 'Yousuf', 'Yrjan', 'Zahid', 'Zakaria', 'Zbigniew', 'Zdzislaw', 'Zoran', 'Zygmunt', - 'Øistein', 'Øivind', 'Ørjan', 'Ørjar', 'Ørn', 'Ørnulf', 'Ørnulv', 'Ørvar', 'Østen', 'Øyolv', 'Øystein', - 'Øyvind', 'Ådne', 'Aage', 'Åge', 'Aake', 'Åke', 'Åmund', 'Åne', 'Ånen', 'Ånon', 'Ånund', 'Aaron', 'Åskjell', - 'Åsleif', 'Åsleik', 'Åsleiv', 'Åsmund', 'Aasmund', 'Åsulv', 'Åsvald', 'Åvar', - ]; + /** + * @var array Norwegian male first names + * + * @see http://www.mammanett.no/navn/leksikon/alle?field_name_sex_value=m&title= + */ + protected static $firstNameMale = [ + 'Abbas', + 'Abdallah', + 'Abdelaziz', + 'Abdelkader', + 'Abdi', + 'Abdiasis', + 'Abdifatah', + 'Abdikadir', + 'Abdinasir', + 'Abdirahim', + 'Abdirahman', + 'Abdirashid', + 'Abdirizak', + 'Abdul', + 'Abdulahi', + 'Abdulkadir', + 'Abdullah', + 'Abdullahi', + 'Abdulqadir', + 'Abdurahman', + 'Abed', + 'Abel', + 'Abid', + 'Abraham', + 'Absalon', + 'Abu', + 'Abubakar', + 'Adam', + 'Adan', + 'Adeel', + 'Adelheid', + 'Adelsten', + 'Adem', + 'Aden', + 'Adham', + 'Adi', + 'Adil', + 'Adis', + 'Adler', + 'Admir', + 'Adnan', + 'Adrian', + 'Afanasi', + 'Afrim', + 'Afshin', + 'Agim', + 'Agmund', + 'Agnar', + 'Agvald', + 'Ahmad', + 'Ahmed', + 'Aiden', + 'Ailo', + 'Aimar', + 'Aime', + 'Ajdin', + 'Ajmal', + 'Akam', + 'Akbar', + 'Akram', + 'Aksel', + 'Alain', + 'Alan', + 'Alban', + 'Albert', + 'Alberto', + 'Albin', + 'Albrecht', + 'Alejandro', + 'Aleksander', + 'Alen', + 'Alessandro', + 'Alex', + 'Alexander', + 'Alexsander', + 'Alf', + 'Alfred', + 'Algirdas', + 'Algot', + 'Ali', + 'Allan', + 'Almar', + 'Almas', + 'Almaz', + 'Almir', + 'Altin', + 'Alv', + 'Alvald', + 'Alvar', + 'Alvaro', + 'Alvfinn', + 'Alvgeir', + 'Alvin', + 'Alvis', + 'Alaa', + 'Amadeus', + 'Aman', + 'Amandus', + 'Amanuel', + 'Amar', + 'Ambjørn', + 'Ambros', + 'Ambrosius', + 'Amel', + 'Amer', + 'Amin', + 'Amir', + 'Ammar', + 'Amund', + 'An', + 'Anas', + 'Anbjørn', + 'Anders', + 'Andi', + 'Andor', + 'André', + 'Andreas', + 'Andres', + 'Andrew', + 'Andris', + 'Andrzej', + 'Andy', + 'Anh', + 'Anil', + 'Annar', + 'Anselm', + 'Ansgar', + 'Anskar', + 'Anstein', + 'Anthon', + 'Anthony', + 'Anton', + 'Antonio', + 'Antonius', + 'Anwar', + 'Aram', + 'Ard', + 'Are', + 'Arent', + 'Ari', + 'Arian', + 'Ariel', + 'Arild', + 'Arkadiusz', + 'Armand', + 'Armin', + 'Arn', + 'Arnald', + 'Arnar', + 'Arnbjørn', + 'Arndor', + 'Arne', + 'Arnfinn', + 'Arnfred', + 'Arngrim', + 'Arnljot', + 'Arnold', + 'Arnolf', + 'Arnor', + 'Arnstein', + 'Arnt', + 'Arnulf', + 'Arnulv', + 'Arnvid', + 'Aron', + 'Arslan', + 'Arthur', + 'Artur', + 'Arun', + 'Arunas', + 'Arve', + 'Arvid', + 'Arvin', + 'Asad', + 'Asbjørn', + 'Asgeir', + 'Asif', + 'Ask', + 'Askjel', + 'Aslak', + 'Aslan', + 'Asle', + 'Asmund', + 'Astor', + 'Atif', + 'Atle', + 'Attila', + 'Audbjørn', + 'Audfinn', + 'Audun', + 'Augun', + 'August', + 'Augustin', + 'Axel', + 'Aziz', + 'Bajram', + 'Balder', + 'Bao', + 'Barry', + 'Bart', + 'Bartlomiej', + 'Bartol', + 'Bastian', + 'Bekim', + 'Ben', + 'Bendik', + 'Benedikt', + 'Bengt', + 'Benjamin', + 'Benny', + 'Bent', + 'Berent', + 'Berge', + 'Berger', + 'Bergfinn', + 'Bergsvein', + 'Berhane', + 'Bernhard', + 'Bernt', + 'Bert', + 'Bertel', + 'Bertil', + 'Bertin', + 'Bertold', + 'Bertram', + 'Bertrand', + 'Besim', + 'Besnik', + 'Bilal', + 'Bill', + 'Birger', + 'Birk', + 'Bjarne', + 'Bjart', + 'Bjarte', + 'Bjartmar', + 'Bjørge', + 'Bjørk', + 'Bjørn', + 'Bjørnar', + 'Bjørnulv', + 'Blerim', + 'Bo', + 'Bob', + 'Bobby', + 'Bodolv', + 'Bodvar', + 'Bogdan', + 'Boguslaw', + 'Borgar', + 'Borger', + 'Boris', + 'Bork', + 'Bosse', + 'Botolv', + 'Boye', + 'Brage', + 'Brede', + 'Bredo', + 'Brian', + 'Brigt', + 'Brikt', + 'Broder', + 'Bror', + 'Bruno', + 'Bryan', + 'Brynar', + 'Brynjar', + 'Brynjulf', + 'Brynjulv', + 'Bujar', + 'Burhan', + 'Byrge', + 'Børge', + 'Børje', + 'Børre', + 'Bård', + 'Calvin', + 'Carl', + 'Carsten', + 'Caspar', + 'Casper', + 'Caspian', + 'Cato', + 'Cay', + 'Cecil', + 'Cengiz', + 'Cesar', + 'Chan', + 'Chand', + 'Charles', + 'Charlie', + 'Chi', + 'Chris', + 'Chrisander', + 'Christen', + 'Christer', + 'Christian', + 'Christoffer', + 'Christopher', + 'Claes', + 'Clas', + 'Claude', + 'Claudio', + 'Claus', + 'Clemens', + 'Clement', + 'Cliff', + 'Clive', + 'Colin', + 'Cong', + 'Conrad', + 'Constantin', + 'Cornelis', + 'Cornelius', + 'Craig', + 'Cristian', + 'Cristoffer', + 'Curt', + 'Cyril', + 'Czeslaw', + 'Dag', + 'Dagfinn', + 'Dagmøy', + 'Damian', + 'Damir', + 'Dan', + 'Dani', + 'Danial', + 'Daniel', + 'Danish', + 'Dankert', + 'Danny', + 'Dario', + 'Dariusz', + 'Darko', + 'Darren', + 'Dat', + 'David', + 'Davy', + 'Dean', + 'Dejan', + 'Denis', + 'Dennis', + 'Derek', + 'Derrick', + 'Detlef', + 'Diako', + 'Dick', + 'Didrik', + 'Diego', + 'Dieter', + 'Dietmar', + 'Dilan', + 'Dimitrios', + 'Dines', + 'Dino', + 'Dirk', + 'Ditlev', + 'Ditmar', + 'Dmitri', + 'Dmitry', + 'Dominic', + 'Dominik', + 'Don', + 'Donald', + 'Douglas', + 'Dragan', + 'Dung', + 'Dusan', + 'Duy', + 'Dylan', + 'Dyre', + 'Earl', + 'Ebbe', + 'Edd', + 'Eddie', + 'Eddy', + 'Edgar', + 'Edgard', + 'Edin', + 'Edmond', + 'Edmund', + 'Edvard', + 'Edvin', + 'Edward', + 'Edwin', + 'Ege', + 'Egil', + 'Egon', + 'Egzon', + 'Ehsan', + 'Eigil', + 'Eilef', + 'Eilert', + 'Eilev', + 'Eilif', + 'Eiliv', + 'Einar', + 'Eindride', + 'Einvald', + 'Eirik', + 'Eivind', + 'Ekrem', + 'Eldar', + 'Eli', + 'Elias', + 'Elif', + 'Ellef', + 'Elleif', + 'Elling', + 'Elliot', + 'Elmar', + 'Elmer', + 'Elnar', + 'Elton', + 'Elvin', + 'Elvis', + 'Emanuel', + 'Embret', + 'Embrik', + 'Emil', + 'Emir', + 'Emmanuel', + 'Emre', + 'Emrik', + 'Endre', + 'Ener', + 'Enes', + 'Enevold', + 'Engebret', + 'Engel', + 'Enis', + 'Enok', + 'Enrico', + 'Enrique', + 'Enver', + 'Erik', + 'Erland', + 'Erlend', + 'Erling', + 'Ernst', + 'Ervin', + 'Erwin', + 'Esben', + 'Eskil', + 'Eskild', + 'Espen', + 'Esten', + 'Eugen', + 'Evald', + 'Even', + 'Evert', + 'Eyolf', + 'Eystein', + 'Eyvind', + 'Fabian', + 'Fahad', + 'Faisal', + 'Falk', + 'Farah', + 'Farhad', + 'Farhan', + 'Farid', + 'Fartein', + 'Faruk', + 'Farzan', + 'Faste', + 'Fastolv', + 'Felix', + 'Feliz', + 'Ferdinand', + 'Filip', + 'Finn', + 'Finnbjørn', + 'Finngard', + 'Finngeir', + 'Finnvard', + 'Flamur', + 'Flemming', + 'Florian', + 'Folke', + 'Francis', + 'Frank', + 'Frans', + 'Frants', + 'Frantz', + 'Fred', + 'Freddie', + 'Freddy', + 'Frede', + 'Frederick', + 'Frederik', + 'Fredrick', + 'Fredrik', + 'Fridleiv', + 'Fridtjof', + 'Frikk', + 'Fritjof', + 'Fritjov', + 'Frits', + 'Fritz', + 'Frode', + 'Frøystein', + 'Fuad', + 'Fuat', + 'Gabriel', + 'Gard', + 'Gardar', + 'Gary', + 'Gaute', + 'Geir', + 'Geirmund', + 'Geirr', + 'Geirstein', + 'Geirulv', + 'Geoffrey', + 'Georg', + 'Gerald', + 'Gerard', + 'Gerd', + 'Gerhard', + 'Gerrit', + 'Gerry', + 'Gert', + 'Gholam', + 'Ghulam', + 'Gilbert', + 'Gintaras', + 'Gisle', + 'Gjermund', + 'Gjert', + 'Gjøran', + 'Gladys', + 'Glen', + 'Glenn', + 'Godtfred', + 'Goran', + 'Gordon', + 'Gorm', + 'Grant', + 'Gregard', + 'Greger', + 'Gregor', + 'Gregorius', + 'Gregory', + 'Grim', + 'Grimar', + 'Grzegorz', + 'Gudbrand', + 'Gudkjell', + 'Gudleiv', + 'Gudmund', + 'Gudvin', + 'Gulbrand', + 'Gullik', + 'Gunder', + 'Gunleik', + 'Gunnar', + 'Gunne', + 'Gunnerius', + 'Gunnleif', + 'Gunnleiv', + 'Gunnstein', + 'Gunnvald', + 'Gunstein', + 'Gunvald', + 'Gustav', + 'Guttorm', + 'Guy', + 'Gynter', + 'Gøran', + 'Gösta', + 'Hadi', + 'Hagbart', + 'Hai', + 'Hakan', + 'Hakon', + 'Haldor', + 'Halfdan', + 'Halfrid', + 'Halgeir', + 'Halil', + 'Halldor', + 'Hallgeir', + 'Hallstein', + 'Hallvard', + 'Halvard', + 'Halvdan', + 'Halvor', + 'Hamid', + 'Hamza', + 'Hanad', + 'Hans', + 'Harald', + 'Haroon', + 'Harry', + 'Hartvig', + 'Hasan', + 'Hassan', + 'Hasse', + 'Hauk', + 'Hector', + 'Heike', + 'Hein', + 'Heine', + 'Helge', + 'Heljar', + 'Helmer', + 'Heming', + 'Henki', + 'Henning', + 'Henri', + 'Henrik', + 'Henry', + 'Herbert', + 'Herbjørn', + 'Herleif', + 'Herman', + 'Hermann', + 'Hermod', + 'Hermund', + 'Herstein', + 'Hieu', + 'Hilbert', + 'Hildegard', + 'Hilmar', + 'Hjalmar', + 'Hoang', + 'Hogne', + 'Holger', + 'Hossein', + 'Houssein', + 'Hroar', + 'Hubert', + 'Hugo', + 'Hung', + 'Hussain', + 'Hussein', + 'Huu', + 'Huy', + 'Hågen', + 'Håkon', + 'Haakon', + 'Hårek', + 'Håvald', + 'Håvar', + 'Håvard', + 'Haavard', + 'Ian', + 'Iben', + 'Ibrahim', + 'Idar', + 'Idris', + 'Igor', + 'Ilir', + 'Ilyas', + 'Iman', + 'Imbert', + 'Immanuel', + 'Imre', + 'Ingar', + 'Ingard', + 'Inge', + 'Ingebret', + 'Ingebrigt', + 'Ingemar', + 'Ingemund', + 'Ingmar', + 'Ingnar', + 'Ingolf', + 'Ingolv', + 'Ingvald', + 'Ingvar', + 'Ingvard', + 'Ingve', + 'Ioannis', + 'Iqra', + 'Irfan', + 'Isa', + 'Isach', + 'Isak', + 'Ismail', + 'Ismet', + 'Istvan', + 'Ivan', + 'Ivar', + 'Iver', + 'Jack', + 'Jacob', + 'Jahn', + 'Jakob', + 'Jalal', + 'Jamal', + 'James', + 'Jan', + 'Jani', + 'Jannik', + 'Jarand', + 'Jardar', + 'Jarl', + 'Jarle', + 'Jason', + 'Jasper', + 'Jean', + 'Jeffrey', + 'Jens', + 'Jeppe', + 'Jeremias', + 'Jermund', + 'Jerry', + 'Jerzy', + 'Jesper', + 'Jesus', + 'Jetmund', + 'Jim', + 'Jimmy', + 'Jiri', + 'Jo', + 'Joachim', + 'Joakim', + 'Joar', + 'Joe', + 'Joel', + 'Jogeir', + 'Johan', + 'Johannes', + 'John', + 'Johnny', + 'Jokum', + 'Jomar', + 'Jon', + 'Jonas', + 'Jonatan', + 'Jonathan', + 'Jone', + 'Jonny', + 'Joralf', + 'Jorge', + 'Jorulf', + 'Josef', + 'Joshua', + 'Jostein', + 'Josva', + 'Juan', + 'Juel', + 'Jul', + 'Julian', + 'Julius', + 'Just', + 'Jürgen', + 'Jøran', + 'Jørg', + 'Jørgen', + 'Jørn', + 'Jørund', + 'Kadir', + 'Kai', + 'Kalle', + 'Kamal', + 'Kamran', + 'Karel', + 'Karelius', + 'Karim', + 'Karl', + 'Karlo', + 'Karstein', + 'Karsten', + 'Kasim', + 'Kaspar', + 'Kasper', + 'Kato', + 'Kay', + 'Kazimierz', + 'Keith', + 'Kemal', + 'Ken', + 'Kennet', + 'Kenneth', + 'Kent', + 'Ketil', + 'Kevin', + 'Khalid', + 'Khalil', + 'Kian', + 'Kim', + 'Kimberly', + 'Kittil', + 'Kjartan', + 'Kjell', + 'Kjerand', + 'Kjetil', + 'Kjølv', + 'Klas', + 'Klaus', + 'Klemet', + 'Kleng', + 'Knut', + 'Kolbein', + 'Kolbjørn', + 'Kolfinn', + 'Konrad', + 'Konstantin', + 'Kornelius', + 'Kris', + 'Kristen', + 'Krister', + 'Kristian', + 'Kristofer', + 'Kristoffer', + 'Ksenia', + 'Kurt', + 'Kyrre', + 'Kåre', + 'Lage', + 'Lambert', + 'Lars', + 'Lasse', + 'Laurent', + 'Laurentius', + 'Lauri', + 'Laurits', + 'Lauritz', + 'Lavrans', + 'Leander', + 'Lech', + 'Leidulf', + 'Leidulv', + 'Leif', + 'Leik', + 'Leiv', + 'Lennart', + 'Leo', + 'Leon', + 'Leonard', + 'Leonhard', + 'Leopold', + 'Levi', + 'Levord', + 'Lewis', + 'Liam', + 'Liban', + 'Lidvar', + 'Linus', + 'Livar', + 'Lloyd', + 'Lodvar', + 'Lodve', + 'Loke', + 'Lorents', + 'Lorentz', + 'Lothar', + 'Louis', + 'Lucas', + 'Ludolf', + 'Ludvig', + 'Ludvik', + 'Lukas', + 'Lyder', + 'Maciej', + 'Mads', + 'Magnar', + 'Magne', + 'Magnus', + 'Mahad', + 'Mahamed', + 'Majid', + 'Malcolm', + 'Malfred', + 'Malte', + 'Malthe', + 'Malvin', + 'Manfred', + 'Manuel', + 'Marc', + 'Marcel', + 'Marco', + 'Marcus', + 'Marenius', + 'Margido', + 'Marius', + 'Mark', + 'Markus', + 'Martin', + 'Martinius', + 'Martinus', + 'Marvin', + 'Mathias', + 'Matias', + 'Mats', + 'Matteus', + 'Mattias', + 'Mattis', + 'Maurice', + 'Maurits', + 'Mauritz', + 'Max', + 'Maximilian', + 'Mehmet', + 'Melkior', + 'Melvin', + 'Michael', + 'Michel', + 'Mikael', + 'Mikkel', + 'Mikkjel', + 'Milan', + 'Milo', + 'Mindor', + 'Minh', + 'Miroslaw', + 'Mirsad', + 'Mirza', + 'Moa', + 'Modolv', + 'Modulf', + 'Mogens', + 'Mohammad', + 'Mohamoud', + 'Mons', + 'Morgan', + 'Morits', + 'Moritz', + 'Morris', + 'Morten', + 'Mostafa', + 'Muhamed', + 'Muhammad', + 'Muhammed', + 'Murat', + 'Mustafa', + 'Narve', + 'Nasir', + 'Nathaniel', + 'Neil', + 'Neri', + 'Ngoc', + 'Nicholas', + 'Niclas', + 'Nicolai', + 'Nicolas', + 'Niels', + 'Nikolai', + 'Nikolas', + 'Nikolaus', + 'Nils', + 'Njål', + 'Noa', + 'Noah', + 'Noman', + 'Noralf', + 'Norbert', + 'Nordahl', + 'Norma', + 'Norman', + 'Normann', + 'Norodd', + 'Norvald', + 'Notto', + 'Nup', + 'Odd', + 'Oddbjørn', + 'Oddgeir', + 'Oddleif', + 'Oddmund', + 'Oddvar', + 'Oddvin', + 'Odin', + 'Ola', + 'Olaf', + 'Olai', + 'Olav', + 'Ole', + 'Oleg', + 'Oliver', + 'Oluf', + 'Olve', + 'Omar', + 'Ommund', + 'Oscar', + 'Oskar', + 'Osman', + 'Osmund', + 'Osvald', + 'Ottar', + 'Otto', + 'Ove', + 'Pablo', + 'Palle', + 'Palmer', + 'Patrick', + 'Patrik', + 'Paul', + 'Paulus', + 'Peder', + 'Pelle', + 'Per', + 'Perry', + 'Peter', + 'Petrus', + 'Petter', + 'Philip', + 'Piotr', + 'Poul', + 'Povel', + 'Preben', + 'Paal', + 'Pål', + 'Quoc', + 'Rachid', + 'Radoslaw', + 'Rafael', + 'Ragnar', + 'Ragnvald', + 'Raimond', + 'Rainer', + 'Ralf', + 'Ralph', + 'Randolf', + 'Randulf', + 'Rashid', + 'Rasmus', + 'Ravn', + 'Raymond', + 'Rayner', + 'Reidar', + 'Reidulf', + 'Reidulv', + 'Reier', + 'Reimar', + 'Rein', + 'Reinert', + 'Reinhard', + 'Reinhold', + 'Reiulf', + 'Remi', + 'Remy', + 'René', + 'Reza', + 'Richard', + 'Rikard', + 'Rino', + 'Roald', + 'Roar', + 'Robert', + 'Robin', + 'Rodney', + 'Roger', + 'Roland', + 'Rolf', + 'Rolv', + 'Roman', + 'Romund', + 'Ronald', + 'Ronnie', + 'Ronny', + 'Roy', + 'Ruben', + 'Rudi', + 'Rudolf', + 'Runar', + 'Rune', + 'Ryan', + 'Rådmund', + 'Sabah', + 'Said', + 'Sainab', + 'Sakarias', + 'Salah', + 'Salam', + 'Salmund', + 'Salomon', + 'Salve', + 'Sam', + 'Samir', + 'Samson', + 'Samuel', + 'Sander', + 'Scott', + 'Sean', + 'Sebastian', + 'Sebjørn', + 'Selmar', + 'Selmer', + 'Sergio', + 'Serkan', + 'Seveld', + 'Severin', + 'Sevrin', + 'Shahid', + 'Sigbjørn', + 'Sigfred', + 'Sigmund', + 'Sigurd', + 'Sigvald', + 'Sigvard', + 'Sigvart', + 'Sigve', + 'Silias', + 'Simen', + 'Simon', + 'Sindre', + 'Sivert', + 'Sjur', + 'Skage', + 'Skjalg', + 'Skjold', + 'Skule', + 'Slawomir', + 'Snorre', + 'Sofus', + 'Sondre', + 'Stanislaw', + 'Stanley', + 'Stefan', + 'Steffen', + 'Stein', + 'Steinar', + 'Steinbjørn', + 'Steingrim', + 'Steinkjell', + 'Steinulv', + 'Sten', + 'Stephan', + 'Steve', + 'Steven', + 'Stian', + 'Stig', + 'Storm', + 'Sture', + 'Sturla', + 'Sturle', + 'Styrk', + 'Stål', + 'Ståle', + 'Sune', + 'Svale', + 'Svein', + 'Sveinar', + 'Sveinulf', + 'Sveinung', + 'Sven', + 'Svend', + 'Sverre', + 'Syed', + 'Sylfest', + 'Sylvester', + 'Synne', + 'Syver', + 'Syvert', + 'Sæbjørn', + 'Sølve', + 'Søren', + 'Saad', + 'Såmund', + 'Tadeusz', + 'Tage', + 'Tahir', + 'Tallak', + 'Talleiv', + 'Tan', + 'Tarald', + 'Tariq', + 'Tarje', + 'Tarjei', + 'Ted', + 'Tedd', + 'Teddy', + 'Teis', + 'Tellef', + 'Tengel', + 'Teo', + 'Teodor', + 'Terje', + 'Terjei', + 'Terkel', + 'Thai', + 'Thanh', + 'Theis', + 'Theo', + 'Theodor', + 'Thien', + 'Thom', + 'Thomas', + 'Thor', + 'Thoralf', + 'Thorbjørn', + 'Thord', + 'Thore', + 'Thorkild', + 'Thorleif', + 'Thormod', + 'Thorolf', + 'Thorstein', + 'Thorvald', + 'Tidemann', + 'Tim', + 'Timothy', + 'Tinius', + 'Tinus', + 'Tjerand', + 'Tobben', + 'Tobias', + 'Toivo', + 'Tollak', + 'Tollef', + 'Tolleif', + 'Tolleiv', + 'Tom', + 'Tomas', + 'Tommy', + 'Tony', + 'Tor', + 'Toralf', + 'Torben', + 'Torbjørn', + 'Tord', + 'Tore', + 'Torfinn', + 'Torgard', + 'Torgeir', + 'Torger', + 'Torgil', + 'Torgils', + 'Torgny', + 'Torgrim', + 'Torje', + 'Torjus', + 'Torkel', + 'Torkil', + 'Torkild', + 'Torkjel', + 'Torleif', + 'Torleik', + 'Tormod', + 'Tormund', + 'Torodd', + 'Torolf', + 'Torolv', + 'Torry', + 'Torstein', + 'Torsten', + 'Torvald', + 'Tov', + 'Trang', + 'Tristan', + 'Tron', + 'Trond', + 'Troy', + 'Truls', + 'Trygg', + 'Trygve', + 'Trym', + 'Tuan', + 'Ture', + 'Tønnes', + 'Tørres', + 'Ulf', + 'Ulrik', + 'Ulv', + 'Ulvar', + 'Ulvgeir', + 'Umar', + 'Une', + 'Uno', + 'Usman', + 'Vagn', + 'Valborg', + 'Valdemar', + 'Valentin', + 'Valter', + 'Vebjørn', + 'Vegar', + 'Vegard', + 'Vegeir', + 'Vemund', + 'Verner', + 'Vetle', + 'Victor', + 'Vidar', + 'Vidkunn', + 'Viet', + 'Vigbjørn', + 'Viggo', + 'Vigleik', + 'Vigulv', + 'Viking', + 'Viktor', + 'Vilfred', + 'Vilgot', + 'Vilhelm', + 'Viljar', + 'Villads', + 'Villum', + 'Villy', + 'Vincent', + 'Vinjar', + 'Vladimir', + 'Vladislav', + 'Vrål', + 'Waldemar', + 'Waleed', + 'Walid', + 'Walter', + 'Wayne', + 'Werner', + 'Wictor', + 'Widar', + 'Wieslaw', + 'Wiggo', + 'Wiktor', + 'Wilfred', + 'Wilhelm', + 'William', + 'Willy', + 'Wilmar', + 'Wojciech', + 'Wolfgang', + 'Wollert', + 'Yasin', + 'Yasir', + 'Yngvar', + 'Yngve', + 'Yonas', + 'Younes', + 'Yousef', + 'Yousuf', + 'Yrjan', + 'Zahid', + 'Zakaria', + 'Zbigniew', + 'Zdzislaw', + 'Zoran', + 'Zygmunt', + 'Øistein', + 'Øivind', + 'Ørjan', + 'Ørjar', + 'Ørn', + 'Ørnulf', + 'Ørnulv', + 'Ørvar', + 'Østen', + 'Øyolv', + 'Øystein', + 'Øyvind', + 'Ådne', + 'Aage', + 'Åge', + 'Aake', + 'Åke', + 'Åmund', + 'Åne', + 'Ånen', + 'Ånon', + 'Ånund', + 'Aaron', + 'Åskjell', + 'Åsleif', + 'Åsleik', + 'Åsleiv', + 'Åsmund', + 'Aasmund', + 'Åsulv', + 'Åsvald', + 'Åvar', + ]; - /** - * @var array Norwegian common last names (200 first from the link) - * - * @see http://www.ssb.no/befolkning/statistikker/navn/aar/2015-01-27?fane=tabell&sort=nummer&tabell=216066 - */ - protected static $lastName = [ - 'Aas', 'Aase', 'Aasen', 'Abrahamsen', 'Ahmed', 'Ali', 'Amundsen', 'Andersen', 'Andersson', 'Andreassen', - 'Andresen', 'Antonsen', 'Arnesen', 'Aune', 'Bakke', 'Bakken', 'Berg', 'Berge', 'Berger', 'Berntsen', - 'Birkeland', 'Bjerke', 'Bjørnstad', 'Borge', 'Borgen', 'Breivik', 'Brekke', 'Bråten', 'Bråthen', 'Bye', 'Bø', - 'Bøe', 'Carlsen', 'Christensen', 'Christiansen', 'Dahl', 'Dahle', 'Dale', 'Dalen', 'Danielsen', 'Edvardsen', - 'Egeland', 'Eide', 'Eikeland', 'Eilertsen', 'Eliassen', 'Ellingsen', 'Engebretsen', 'Engen', 'Enger', 'Eriksen', - 'Evensen', 'Fjeld', 'Foss', 'Fosse', 'Fossum', 'Fredriksen', 'Gabrielsen', 'Gjerde', 'Gulbrandsen', 'Gundersen', - 'Gustavsen', 'Haaland', 'Haga', 'Hagen', 'Halvorsen', 'Hammer', 'Hamre', 'Hansen', 'Hanssen', 'Hassan', 'Haug', - 'Hauge', 'Haugen', 'Haugland', 'Helgesen', 'Helland', 'Helle', 'Henriksen', 'Hermansen', 'Hoel', 'Hoff', - 'Holen', 'Holm', 'Holmen', 'Hovland', 'Håland', 'Ingebrigtsen', 'Isaksen', 'Iversen', 'Jacobsen', 'Jakobsen', - 'Jansen', 'Jensen', 'Jenssen', 'Johannesen', 'Johannessen', 'Johansen', 'Johansson', 'Johnsen', 'Jonassen', - 'Jørgensen', 'Karlsen', 'Khan', 'Knudsen', 'Knutsen', 'Kolstad', 'Kristensen', 'Kristiansen', 'Kristoffersen', - 'Kvam', 'Kvamme', 'Langeland', 'Larsen', 'Lie', 'Lien', 'Lorentzen', 'Ludvigsen', 'Lund', 'Lunde', 'Løken', - 'Madsen', 'Magnussen', 'Martinsen', 'Mathisen', 'Mikalsen', 'Mikkelsen', 'Moe', 'Moen', 'Mohamed', 'Monsen', - 'Mortensen', 'Myhre', 'Myklebust', 'Møller', 'Nguyen', 'Nielsen', 'Nikolaisen', 'Nilsen', 'Nilssen', 'Nordby', - 'Nygaard', 'Nygård', 'Næss', 'Olsen', 'Ottesen', 'Paulsen', 'Pedersen', 'Petersen', 'Pettersen', 'Rasmussen', - 'Ruud', 'Rønning', 'Rønningen', 'Samuelsen', 'Sand', 'Sandberg', 'Sande', 'Sandnes', 'Sandvik', 'Simonsen', - 'Sivertsen', 'Sletten', 'Solbakken', 'Solberg', 'Solheim', 'Solli', 'Solvang', 'Steen', 'Stene', 'Stokke', - 'Strand', 'Strøm', 'Sunde', 'Sveen', 'Svendsen', 'Syversen', 'Sæther', 'Sætre', 'Sørensen', 'Sørlie', 'Tangen', - 'Teigen', 'Thomassen', 'Thoresen', 'Thorsen', 'Tollefsen', 'Torgersen', 'Torp', 'Tran', 'Tveit', 'Vik', 'Viken', - 'Wang', 'Wiik', 'Wilhelmsen', 'Wold', 'Ødegaard', 'Ødegård', 'Øien', - ]; + /** + * @var array Norwegian common last names (200 first from the link) + * + * @see http://www.ssb.no/befolkning/statistikker/navn/aar/2015-01-27?fane=tabell&sort=nummer&tabell=216066 + */ + protected static $lastName = [ + 'Aas', + 'Aase', + 'Aasen', + 'Abrahamsen', + 'Ahmed', + 'Ali', + 'Amundsen', + 'Andersen', + 'Andersson', + 'Andreassen', + 'Andresen', + 'Antonsen', + 'Arnesen', + 'Aune', + 'Bakke', + 'Bakken', + 'Berg', + 'Berge', + 'Berger', + 'Berntsen', + 'Birkeland', + 'Bjerke', + 'Bjørnstad', + 'Borge', + 'Borgen', + 'Breivik', + 'Brekke', + 'Bråten', + 'Bråthen', + 'Bye', + 'Bø', + 'Bøe', + 'Carlsen', + 'Christensen', + 'Christiansen', + 'Dahl', + 'Dahle', + 'Dale', + 'Dalen', + 'Danielsen', + 'Edvardsen', + 'Egeland', + 'Eide', + 'Eikeland', + 'Eilertsen', + 'Eliassen', + 'Ellingsen', + 'Engebretsen', + 'Engen', + 'Enger', + 'Eriksen', + 'Evensen', + 'Fjeld', + 'Foss', + 'Fosse', + 'Fossum', + 'Fredriksen', + 'Gabrielsen', + 'Gjerde', + 'Gulbrandsen', + 'Gundersen', + 'Gustavsen', + 'Haaland', + 'Haga', + 'Hagen', + 'Halvorsen', + 'Hammer', + 'Hamre', + 'Hansen', + 'Hanssen', + 'Hassan', + 'Haug', + 'Hauge', + 'Haugen', + 'Haugland', + 'Helgesen', + 'Helland', + 'Helle', + 'Henriksen', + 'Hermansen', + 'Hoel', + 'Hoff', + 'Holen', + 'Holm', + 'Holmen', + 'Hovland', + 'Håland', + 'Ingebrigtsen', + 'Isaksen', + 'Iversen', + 'Jacobsen', + 'Jakobsen', + 'Jansen', + 'Jensen', + 'Jenssen', + 'Johannesen', + 'Johannessen', + 'Johansen', + 'Johansson', + 'Johnsen', + 'Jonassen', + 'Jørgensen', + 'Karlsen', + 'Khan', + 'Knudsen', + 'Knutsen', + 'Kolstad', + 'Kristensen', + 'Kristiansen', + 'Kristoffersen', + 'Kvam', + 'Kvamme', + 'Langeland', + 'Larsen', + 'Lie', + 'Lien', + 'Lorentzen', + 'Ludvigsen', + 'Lund', + 'Lunde', + 'Løken', + 'Madsen', + 'Magnussen', + 'Martinsen', + 'Mathisen', + 'Mikalsen', + 'Mikkelsen', + 'Moe', + 'Moen', + 'Mohamed', + 'Monsen', + 'Mortensen', + 'Myhre', + 'Myklebust', + 'Møller', + 'Nguyen', + 'Nielsen', + 'Nikolaisen', + 'Nilsen', + 'Nilssen', + 'Nordby', + 'Nygaard', + 'Nygård', + 'Næss', + 'Olsen', + 'Ottesen', + 'Paulsen', + 'Pedersen', + 'Petersen', + 'Pettersen', + 'Rasmussen', + 'Ruud', + 'Rønning', + 'Rønningen', + 'Samuelsen', + 'Sand', + 'Sandberg', + 'Sande', + 'Sandnes', + 'Sandvik', + 'Simonsen', + 'Sivertsen', + 'Sletten', + 'Solbakken', + 'Solberg', + 'Solheim', + 'Solli', + 'Solvang', + 'Steen', + 'Stene', + 'Stokke', + 'Strand', + 'Strøm', + 'Sunde', + 'Sveen', + 'Svendsen', + 'Syversen', + 'Sæther', + 'Sætre', + 'Sørensen', + 'Sørlie', + 'Tangen', + 'Teigen', + 'Thomassen', + 'Thoresen', + 'Thorsen', + 'Tollefsen', + 'Torgersen', + 'Torp', + 'Tran', + 'Tveit', + 'Vik', + 'Viken', + 'Wang', + 'Wiik', + 'Wilhelmsen', + 'Wold', + 'Ødegaard', + 'Ødegård', + 'Øien', + ]; - /** - * National Personal Identity number (personnummer) - * - * @see https://no.wikipedia.org/wiki/Personnummer - * - * @param \DateTime $birthdate - * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE - * - * @return string on format DDMMYY##### - */ - public function personalIdentityNumber(\DateTime $birthdate = null, $gender = null) - { - if (!$birthdate) { - $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); - } - $datePart = $birthdate->format('dmy'); + /** + * National Personal Identity number (personnummer) + * + * @see https://no.wikipedia.org/wiki/Personnummer + * + * @param \DateTime $birthdate + * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE + * + * @return string on format DDMMYY##### + */ + public function personalIdentityNumber( \DateTime $birthdate = null, $gender = null ) { + if ( ! $birthdate ) { + $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); + } + $datePart = $birthdate->format( 'dmy' ); - /** - * @todo These number should be random based on birth year - * - * @see http://no.wikipedia.org/wiki/F%C3%B8dselsnummer - */ - $randomDigits = (string) static::numerify('##'); + /** + * @todo These number should be random based on birth year + * + * @see http://no.wikipedia.org/wiki/F%C3%B8dselsnummer + */ + $randomDigits = (string) static::numerify( '##' ); - switch ($gender) { - case static::GENDER_MALE: - $genderDigit = static::randomElement([1, 3, 5, 7, 9]); + switch ( $gender ) { + case static::GENDER_MALE: + $genderDigit = static::randomElement( [ 1, 3, 5, 7, 9 ] ); - break; + break; - case static::GENDER_FEMALE: - $genderDigit = static::randomElement([0, 2, 4, 6, 8]); + case static::GENDER_FEMALE: + $genderDigit = static::randomElement( [ 0, 2, 4, 6, 8 ] ); - break; + break; - default: - $genderDigit = (string) static::numerify('#'); - } + default: + $genderDigit = (string) static::numerify( '#' ); + } - $digits = $datePart . $randomDigits . $genderDigit; + $digits = $datePart . $randomDigits . $genderDigit; - /** - * @todo Calculate modulo 11 of $digits - * - * @see http://no.wikipedia.org/wiki/F%C3%B8dselsnummer - */ - $checksum = (string) static::numerify('##'); + /** + * @todo Calculate modulo 11 of $digits + * + * @see http://no.wikipedia.org/wiki/F%C3%B8dselsnummer + */ + $checksum = (string) static::numerify( '##' ); - return $digits . $checksum; - } + return $digits . $checksum; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/PhoneNumber.php index 4767db4..c6f9e8f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nb_NO/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nb_NO/PhoneNumber.php @@ -2,40 +2,38 @@ namespace Faker\Provider\nb_NO; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array Norwegian phone number formats - */ - protected static $formats = [ - '+47#########', - '+47 ## ## ## ##', - '## ## ## ##', - '## ## ## ##', - '########', - '########', - '9## ## ###', - '4## ## ###', - '9#######', - '4#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array Norwegian phone number formats + */ + protected static $formats = [ + '+47#########', + '+47 ## ## ## ##', + '## ## ## ##', + '## ## ## ##', + '########', + '########', + '9## ## ###', + '4## ## ###', + '9#######', + '4#######', + ]; - /** - * @var array Norweign mobile number formats - */ - protected static $mobileFormats = [ - '+474#######', - '+479#######', - '9## ## ###', - '4## ## ###', - '9#######', - '4#######', - ]; + /** + * @var array Norweign mobile number formats + */ + protected static $mobileFormats = [ + '+474#######', + '+479#######', + '9## ## ###', + '4## ## ###', + '9#######', + '4#######', + ]; - public function mobileNumber() - { - $format = static::randomElement(static::$mobileFormats); + public function mobileNumber() { + $format = static::randomElement( static::$mobileFormats ); - return self::numerify($this->generator->parse($format)); - } + return self::numerify( $this->generator->parse( $format ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Address.php index 59b31de..513b3bb 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Address.php @@ -2,130 +2,1099 @@ namespace Faker\Provider\ne_NP; -class Address extends \Faker\Provider\Address -{ - protected static $wardNumber = ['##', '#']; - protected static $streetSuffix = [ - 'bagh', 'bazaar', 'besi', 'chowk', 'gaun', 'kot', 'mandir', 'marg', 'nagar', 'sahar', 'sthan', 'tar', - ]; +class Address extends \Faker\Provider\Address { + protected static $wardNumber = [ '##', '#' ]; + protected static $streetSuffix = [ + 'bagh', + 'bazaar', + 'besi', + 'chowk', + 'gaun', + 'kot', + 'mandir', + 'marg', + 'nagar', + 'sahar', + 'sthan', + 'tar', + ]; - protected static $postcode = ['#####']; + protected static $postcode = [ '#####' ]; - /** - * @see http://en.wikipedia.org/wiki/List_of_districts_of_Nepal - */ - protected static $district = [ - 'Achham', 'Arghakhanchi', - 'Baglung', 'Baitadi', 'Bajhang', 'Bajura', 'Banke', 'Bara', 'Bardiya', 'Bhaktapur', 'Bhojpur', - 'Chitwan', - 'Dadeldhura', 'Dailekh', 'Dang Deukhuri', 'Darchula', 'Dhading', 'Dhankuta', 'Dhanusa', 'Dolakha', 'Dolpa', 'Doti', - 'Eastern Rukum', - 'Gorkha', 'Gulmi', - 'Humla', - 'Ilam', - 'Jajarkot', 'Jhapa', 'Jumla', - 'Kailali', 'Kalikot', 'Kanchanpur', 'Kapilvastu', 'Kaski', 'Kathmandu', 'Kavrepalanchok', 'Khotang', - 'Lalitpur', 'Lamjung', - 'Mahottari', 'Makwanpur', 'Manang', 'Morang', 'Mugu', 'Mustang', 'Myagdi', - 'Nawalpur', 'Nuwakot', - 'Okhaldhunga', - 'Palpa', 'Panchthar', 'Parasi', 'Parbat', 'Parsa', 'Pyuthan', - 'Ramechhap', 'Rasuwa', 'Rautahat', 'Rolpa', 'Rupandehi', - 'Salyan', 'Sankhuwasabha', 'Saptari', 'Sarlahi', 'Sindhuli', 'Sindhupalchok', 'Siraha', 'Solukhumbu', 'Sunsari', 'Surkhet', 'Syangja', - 'Tanahu', 'Taplejung', 'Terhathum', - 'Udayapur', - 'Western Rukum', - ]; + /** + * @see http://en.wikipedia.org/wiki/List_of_districts_of_Nepal + */ + protected static $district = [ + 'Achham', + 'Arghakhanchi', + 'Baglung', + 'Baitadi', + 'Bajhang', + 'Bajura', + 'Banke', + 'Bara', + 'Bardiya', + 'Bhaktapur', + 'Bhojpur', + 'Chitwan', + 'Dadeldhura', + 'Dailekh', + 'Dang Deukhuri', + 'Darchula', + 'Dhading', + 'Dhankuta', + 'Dhanusa', + 'Dolakha', + 'Dolpa', + 'Doti', + 'Eastern Rukum', + 'Gorkha', + 'Gulmi', + 'Humla', + 'Ilam', + 'Jajarkot', + 'Jhapa', + 'Jumla', + 'Kailali', + 'Kalikot', + 'Kanchanpur', + 'Kapilvastu', + 'Kaski', + 'Kathmandu', + 'Kavrepalanchok', + 'Khotang', + 'Lalitpur', + 'Lamjung', + 'Mahottari', + 'Makwanpur', + 'Manang', + 'Morang', + 'Mugu', + 'Mustang', + 'Myagdi', + 'Nawalpur', + 'Nuwakot', + 'Okhaldhunga', + 'Palpa', + 'Panchthar', + 'Parasi', + 'Parbat', + 'Parsa', + 'Pyuthan', + 'Ramechhap', + 'Rasuwa', + 'Rautahat', + 'Rolpa', + 'Rupandehi', + 'Salyan', + 'Sankhuwasabha', + 'Saptari', + 'Sarlahi', + 'Sindhuli', + 'Sindhupalchok', + 'Siraha', + 'Solukhumbu', + 'Sunsari', + 'Surkhet', + 'Syangja', + 'Tanahu', + 'Taplejung', + 'Terhathum', + 'Udayapur', + 'Western Rukum', + ]; - /** - * @see http://www.fallingrain.com/world/NP/ - */ - protected static $cityName = [ - 'Achham', 'Aiselukharka', 'Amardaha', 'Amariya', 'Amlekhganj', 'Amraia', 'Andia', 'Andruli', 'Angbung', 'Arghkot', 'Arughatbazaar', 'Asaina', 'Ataria', 'Atrauli', 'Aulgurta', - 'Bachhuwa', 'Badirpatti', 'Bagar', 'Bagarchhap', 'Baglungbazaar', 'Bahadurganj', 'Bahrabise', 'Bahsi', 'Baijnathpurwa', 'Baindoli', 'Bairia', 'Baitadi', 'Bajhang', 'Bajura', 'Bakarkot', 'Balapur', 'Baldenggarhi', 'Balkot', 'Balma', 'Bandipur', 'Banepa', 'Banepabazaar', 'Baneshore', 'Banghi', 'Banke', 'Bansangu', 'Barbatta', 'Bardiya', 'Barhamjia', 'Basbeti', 'Batarbazaar', 'Bathala', 'Battar', 'Baudha', 'Baudhatinchule', 'Baugachia', 'Beding', 'Belahia', 'Belgaon', 'Belwa', 'Beni', 'Benighat', 'Berhampuri', 'Besisahar', 'Beteni', 'Bethari', 'Betrwati', 'Bhadgaon', 'Bhadrapur', 'Bhagaura', 'Bhagwanpur', 'Bhainsah', 'Bhainse', 'Bhainsedobhn', 'Bhairahawa', 'Bhajni', 'Bhaktapur', 'Bhandar', 'Bharatpur', 'Bhartbs', 'Bhata', 'Bhataulia', 'Bhawanipur', 'Bhikhnatdjori', 'Bhiknathor', 'Bhimkothi', 'Bhimphedi', 'Bhingrigaon', 'Bhitania', 'Bhojpur', 'Bholi', 'Bhopatpur', 'Bhowa', 'Bhujauli', 'Bhurchaur', 'Bhurkia', 'Bijulpura', 'Bilauri', 'Binayakgaon', 'Biprat', 'Biratnagar', 'Birendranagar', 'Birgunj', 'Birkot', 'Birta', 'Bishunpura', 'Bithara', 'Bogri', 'Boradandi', 'Bramhadeumandi', 'Budanilkantha', 'Budhabare', 'Bungmati', 'Burili', 'Burthum', 'Burtibang', 'Butwal', - 'Captainganj', 'Chainpur', 'Chaitya', 'Champapur', 'Chandragadhi', 'Changrang', 'Chapagaun', 'Charikot', 'Chaturale', 'Chaubisho', 'Chaukle', 'Chaukun', 'Chaunrikharka', 'Chautara', 'Chautha', 'Chepang', 'Chepti', 'Chepuwa', 'Chhapia', 'Chhapre', 'Chharkabhot', 'Chhibro', 'Chhintapu', 'Chhokang', 'Chhrkbhotgaon', 'Chhukgaon', 'Chhule', 'Chilankha', 'Chilha', 'Chilkhaya', 'Chisapani', 'Chisapanigadhi', 'Chiybri', 'Chobhar', 'Cholpa', 'Chong', 'Choutar', 'Chuchekanda', 'Chukhung', 'Chumikgyatsa', 'Chunemari', 'Chyabari', 'Chyamtang', 'Chyangthapu', 'Colonelbari', - 'Daban', 'Dabhung', 'Dadeldhura', 'Dahawa', 'Dailekh', 'Dakhakot', 'Dakshnkli', 'Daliwa', 'Dall', 'Dalphu', 'Daman', 'Damdwali', 'Dandakharka', 'Dang', 'Dangarmarwa', 'Daregaunra', 'Daura', 'Debichaur', 'Debikot', 'Dekhatbhuli', 'Deomoro', 'Deoraha', 'Deurali', 'Dhabi', 'Dhadinbesi', 'Dhakela', 'Dhalkebar', 'Dhamaura', 'Dhangadhi', 'Dhankuta', 'Dhankutabazaar', 'Dharamnagar', 'Dharampur', 'Dharan', 'Dharnbzr', 'Dharot', 'Dharsing', 'Dhita', 'Dhuli', 'Dhulikhel', 'Dhunche', 'Dhungrebas', 'Dhurjanna', 'Dhurkot', 'Diktel', 'Diktelbazaar', 'Dillikot', 'Dingboche', 'Dingla', 'Dipayal', 'Doglng', 'Dolakha', 'Dolalghat', 'Dorpattan', 'Doti', 'Dugtha', 'Dullu', 'Dumja', 'Dumn', 'Dumrchaur', 'Dumuhn', 'Dunai', 'Dunglang', 'Durgaon', 'Durgoli', - 'Fatehpur', - 'Gadhi', 'Gadriya', 'Gaighat', 'Gaindaknda', 'Gairagaon', 'Gairigaun', 'Galba', 'Galwa', 'Galwagaun', 'Gamgadhi', 'Gamphathang', 'Garenkhuti', 'Gaur', 'Geta', 'Ghachak', 'Ghanpokhara', 'Ghilinggaon', 'Ghoghda', 'Ghorahi', 'Ghra', 'Ghunsa', 'Ghunthang', 'Giri', 'Girma', 'Godavari', 'Gogangaon', 'Gogn', 'Golagowar', 'Golapala', 'Golgaur', 'Gongrali', 'Goplpur', 'Gorkha', 'Gosainkunda', 'Gotam', 'Gotamsiyala', 'Gothi', 'Gour', 'Guani', 'Gudel', 'Guleriya', 'Gulmikot', 'Gumbung', 'Gumsha', 'Gunhna', 'Gurja', 'Gurjakhana', 'Guthi', - 'Hajminia', 'Halji', 'Handrung', 'Hangsari', 'Hanumannagar', 'Haraincha', 'Hardiachauki', 'Haria', 'Hariharpurgadhi', 'Haripur', 'Harrebarre', 'Hasta', 'Hatia', 'Hatranga', 'Helambu', 'Hetauda', 'Hetaudabazaar', 'Hilajug', - 'Ilam', 'Inarwa', 'Ismakot', 'Itahari', - 'Jagat', 'Jain', 'Jajarkot', 'Jaleswar', 'Jalkundi', 'Jalthal', 'Jamuna', 'Janakpur', 'Jantrakhani', 'Jawalakhel', 'Jhapa', 'Jhikabasti', 'Jhunga', 'Jhuwani', 'Jibu', 'Jiri', 'Jiwadanda', 'Jogkuti', 'Jomsom', 'Joriapani', 'Joshpur', 'Jumla', 'Junbesi', 'Juribela', - 'Kagbeni', 'Kailali', 'Kakani', 'Kalaiya', 'Kalikot', 'Kalimati', 'Kampughat', 'Kamsin', 'Kanchanpur', 'Kanouli', 'Kantipur', 'Kapilvastu', 'Kapurkot', 'Karelung', 'Kasba', 'Kaski', 'Kaspa', 'Kathmandu', 'Katle', 'Katti', 'Katunje', 'Kehami', 'Kermi', 'Khadkagaun', 'Khadreha', 'Khaireni', 'Khalte', 'Khanchikot', 'Khandbari', 'Khangsar', 'Khanjpur', 'Kharang', 'Kharchyun', 'Khargauli', 'Kharka', 'Khinchit', 'Khmchn', 'Khngra', 'Khnskot', 'Khokna', 'Khotng', 'Khrp', 'Khumaltar', 'Khumjung', 'Khunza', 'Khurpa', 'Kiratichhap', 'Kodari', 'Kodudhunga', 'Kohalpur', 'Koilbas', 'Koropani', 'Kothari', 'Kritipur', 'Kuiyahi', 'Kulekhani', 'Kumargaon', 'Kumbher', 'Kunchha', 'Kuseri', 'Kusma', 'Kuthanawa', 'Kutharpekot', - 'Labsibot', 'Lahan', 'Lakarpata', 'Lakkar', 'Lalitpur', 'Lamabagar', 'Lamji', 'Lamjung', 'Lammela', 'Lamobagargola', 'Lamodihi', 'Lampakha', 'Lamri', 'Langtang', 'Larkaiya', 'Lekhparajuli', 'Lete', 'Lahonak', 'Lildanda', 'Lilbhitti', 'Lilikot', 'Limbudin', 'Limbuwan', 'Lindandavillage', 'Liping', 'Liwang', 'Liwangaon', 'Lobuche', 'Lokondo', 'Lomanthang', 'Lubhu', 'Lukla', 'Lumbini', 'Lumbinibagh', 'Lumsal', 'Lumsum', 'Lumsumkhani', 'Lunak', 'Lungthung', 'Lunishera', 'Lurigaon', - 'Mahakali', 'Mahankal', 'Maharajaganj', 'Mahdevtar', 'Mahendranagar', 'Majari', 'Majhgaon', 'Makaising', 'Makwanpurgadhi', 'Malangwa', 'Malimchigaon', 'Manakot', 'Manang', 'Manangbhot', 'Manebhaniyang', 'Mangalpur', 'Mangle', 'Mangri', 'Manhari', 'Manikpur', 'Maniramkanda', 'Mankali', 'Manmaiju', 'Martadi', 'Meghauli', 'Melekheti', 'Melung', 'Mingbo', 'Mohami', 'Motipur', 'Mughla', 'Muglaha', 'Muglin', 'Mugu', 'Muktinath', 'Munchi', 'Munge', 'Munigaun', 'Musikot', 'Mustang', - 'Nagaa', 'Nagarjun', 'Nagarkot', 'Namai', 'Namchebazaar', 'Namdegoan', 'Namrek', 'Nandpur', 'Nangraon', 'Naraingarh', 'Narayangadh', 'Narayanghat', 'Narcheng', 'Nargaon', 'Naubise', 'Nauche', 'Nauranga', 'Nayagaon', 'Nepalgunj', 'Nepaltar', 'Nijgadh', 'Nuwakot', - 'Odarapur', 'Okhaldhunga', 'Okhaldhungabazaar', 'Olangchukgola', 'Oligaon', - 'Pachgachhiya', 'Pachi', 'Pachkaria', 'Pachuwarghat', 'Padmi', 'Pahritol', 'Paklihawa', 'Pali', 'Palung', 'Palungsikarkot', 'Panauti', 'Panautivillage', 'Panbari', 'Panchkhal', 'Pangboche', 'Pangthok', 'Panighat', 'Para', 'Parabice', 'Parasi', 'Partpur', 'Pasauli', 'Pashupatinth', 'Pasupati', 'Patan', 'Patansundhara', 'Pathalaiya', 'Patharkot', 'Patia', 'Patibhamyang', 'Patlahara', 'Phalamesangu', 'Phaplu', 'Pharping', 'Phembu', 'Phidim', 'Phijorgaon', 'Phopagaon', 'Phorcha', 'Phorse', 'Phugaon', 'Phugru', 'Phulbari', 'Phulwri', 'Phung', 'Phungnangtar', 'Pipalkot', 'Pipra', 'Pokhara', 'Pratappur', 'Pudamigaon', 'Pulanto', 'Purtighat', 'Putalikhet', 'Pyuthan', - 'Rajapur', 'Rajbiraj', 'Ramdighat', 'Ramdikbana', 'Ramechhap', 'Ramgarh', 'Ramnagar', 'Rampur', 'Ranbirta', 'Rangeli', 'Ranipauwa', 'Rara', 'Rasi', 'Raskot', 'Rasnadu', 'Rasnaduvillage', 'Rasuwa', 'Rasuwagadhi', 'Rear', 'Rehara', 'Rekcha', 'Ridi', 'Rimi', 'Riribazaar', 'Ririkot', 'Romandey', 'Rukumkot', 'Rumalgaon', 'Rumjatar', 'Rupandehi', - 'Saipal', 'Sakha', 'Salleri', 'Salyan', 'Salyangaon', 'Samargaon', 'Samde', 'Sanam', 'Sangdah', 'Sangu', 'Sangutar', 'Sankhu', 'Sarswati', 'Sasaiya', 'Saukatia', 'Semri', 'Setibesi', 'Shibganj', 'Shibkhola', 'Shimi', 'Shivanagar', 'Shringa', 'Siddharthanagar', 'Sidhniaghat', 'Sikha', 'Sikpasorkhani', 'Siktaghat', 'Silgadhi', 'Silgadhidoti', 'Siliguri', 'Silkot', 'Simengaon', 'Simikot', 'Simra', 'Sindhuli', 'Sindhuligadhi', 'Siraha', 'Sirsia', 'Sisaghatbazaar', 'Sisaria', 'Sisbani', 'Sisghat', 'Sitalpati', 'Sitapur', 'Siurigaon', 'Sorukot', 'Sorung', 'Sripur', 'Subkone', 'Sugarkhal', 'Sukadhik', 'Sukhar', 'Sukhchauri', 'Sunauli', 'Sundarijal', 'Sundarpur', 'Sunwal', 'Surkhet', 'Swargadwari', 'Syabru', 'Syabrubesi', 'Syangja', - 'Tamghas', 'Tamsipur', 'Tanahun', 'Tandi', 'Tange', 'Tanje', 'Tansen', 'Taplejung', 'Tarakot', 'Tarenggaon', 'Tatopani', 'Taulia', 'Taulihawa', 'Teghari', 'Tehrathum', 'Telok', 'Telpani', 'Tempthng', 'Thabng', 'Thakle', 'Thalara', 'Thami', 'Thammu', 'Thankot', 'Thapagaon', 'Thargumtha', 'Thimi', 'Thonje', 'Thothung', 'Thukla', 'Thulobeshi', 'Thuloptl', 'Thumshe', 'Thyangboche', 'Tibrikot', 'Tigri', 'Tikabhairab', 'Tikapur', 'Tikoli', 'Tilaurkot', 'Tiling', 'Tilkot', 'Tingjegaon', 'Tinkar', 'Titahari', 'Tokha', 'Tokna', 'Toli', 'Topkegola', 'Topla', 'Tribeni', 'Tribenighat', 'Trislibzr', 'Trisuli', 'Tsarang', 'Tukotigaon', 'Tukucha', 'Tulsi', 'Tulsipur', 'Tumlingtar', - 'Udaypur', 'Udaypurgadhi', 'Umari', 'Uppardangadhi', 'Uwagaon', - 'Waling', 'Walungchunggola', 'Wapsakhani', - 'Yala', 'Yalbang', 'Yamphodin', 'Yrsa', - ]; + /** + * @see http://www.fallingrain.com/world/NP/ + */ + protected static $cityName = [ + 'Achham', + 'Aiselukharka', + 'Amardaha', + 'Amariya', + 'Amlekhganj', + 'Amraia', + 'Andia', + 'Andruli', + 'Angbung', + 'Arghkot', + 'Arughatbazaar', + 'Asaina', + 'Ataria', + 'Atrauli', + 'Aulgurta', + 'Bachhuwa', + 'Badirpatti', + 'Bagar', + 'Bagarchhap', + 'Baglungbazaar', + 'Bahadurganj', + 'Bahrabise', + 'Bahsi', + 'Baijnathpurwa', + 'Baindoli', + 'Bairia', + 'Baitadi', + 'Bajhang', + 'Bajura', + 'Bakarkot', + 'Balapur', + 'Baldenggarhi', + 'Balkot', + 'Balma', + 'Bandipur', + 'Banepa', + 'Banepabazaar', + 'Baneshore', + 'Banghi', + 'Banke', + 'Bansangu', + 'Barbatta', + 'Bardiya', + 'Barhamjia', + 'Basbeti', + 'Batarbazaar', + 'Bathala', + 'Battar', + 'Baudha', + 'Baudhatinchule', + 'Baugachia', + 'Beding', + 'Belahia', + 'Belgaon', + 'Belwa', + 'Beni', + 'Benighat', + 'Berhampuri', + 'Besisahar', + 'Beteni', + 'Bethari', + 'Betrwati', + 'Bhadgaon', + 'Bhadrapur', + 'Bhagaura', + 'Bhagwanpur', + 'Bhainsah', + 'Bhainse', + 'Bhainsedobhn', + 'Bhairahawa', + 'Bhajni', + 'Bhaktapur', + 'Bhandar', + 'Bharatpur', + 'Bhartbs', + 'Bhata', + 'Bhataulia', + 'Bhawanipur', + 'Bhikhnatdjori', + 'Bhiknathor', + 'Bhimkothi', + 'Bhimphedi', + 'Bhingrigaon', + 'Bhitania', + 'Bhojpur', + 'Bholi', + 'Bhopatpur', + 'Bhowa', + 'Bhujauli', + 'Bhurchaur', + 'Bhurkia', + 'Bijulpura', + 'Bilauri', + 'Binayakgaon', + 'Biprat', + 'Biratnagar', + 'Birendranagar', + 'Birgunj', + 'Birkot', + 'Birta', + 'Bishunpura', + 'Bithara', + 'Bogri', + 'Boradandi', + 'Bramhadeumandi', + 'Budanilkantha', + 'Budhabare', + 'Bungmati', + 'Burili', + 'Burthum', + 'Burtibang', + 'Butwal', + 'Captainganj', + 'Chainpur', + 'Chaitya', + 'Champapur', + 'Chandragadhi', + 'Changrang', + 'Chapagaun', + 'Charikot', + 'Chaturale', + 'Chaubisho', + 'Chaukle', + 'Chaukun', + 'Chaunrikharka', + 'Chautara', + 'Chautha', + 'Chepang', + 'Chepti', + 'Chepuwa', + 'Chhapia', + 'Chhapre', + 'Chharkabhot', + 'Chhibro', + 'Chhintapu', + 'Chhokang', + 'Chhrkbhotgaon', + 'Chhukgaon', + 'Chhule', + 'Chilankha', + 'Chilha', + 'Chilkhaya', + 'Chisapani', + 'Chisapanigadhi', + 'Chiybri', + 'Chobhar', + 'Cholpa', + 'Chong', + 'Choutar', + 'Chuchekanda', + 'Chukhung', + 'Chumikgyatsa', + 'Chunemari', + 'Chyabari', + 'Chyamtang', + 'Chyangthapu', + 'Colonelbari', + 'Daban', + 'Dabhung', + 'Dadeldhura', + 'Dahawa', + 'Dailekh', + 'Dakhakot', + 'Dakshnkli', + 'Daliwa', + 'Dall', + 'Dalphu', + 'Daman', + 'Damdwali', + 'Dandakharka', + 'Dang', + 'Dangarmarwa', + 'Daregaunra', + 'Daura', + 'Debichaur', + 'Debikot', + 'Dekhatbhuli', + 'Deomoro', + 'Deoraha', + 'Deurali', + 'Dhabi', + 'Dhadinbesi', + 'Dhakela', + 'Dhalkebar', + 'Dhamaura', + 'Dhangadhi', + 'Dhankuta', + 'Dhankutabazaar', + 'Dharamnagar', + 'Dharampur', + 'Dharan', + 'Dharnbzr', + 'Dharot', + 'Dharsing', + 'Dhita', + 'Dhuli', + 'Dhulikhel', + 'Dhunche', + 'Dhungrebas', + 'Dhurjanna', + 'Dhurkot', + 'Diktel', + 'Diktelbazaar', + 'Dillikot', + 'Dingboche', + 'Dingla', + 'Dipayal', + 'Doglng', + 'Dolakha', + 'Dolalghat', + 'Dorpattan', + 'Doti', + 'Dugtha', + 'Dullu', + 'Dumja', + 'Dumn', + 'Dumrchaur', + 'Dumuhn', + 'Dunai', + 'Dunglang', + 'Durgaon', + 'Durgoli', + 'Fatehpur', + 'Gadhi', + 'Gadriya', + 'Gaighat', + 'Gaindaknda', + 'Gairagaon', + 'Gairigaun', + 'Galba', + 'Galwa', + 'Galwagaun', + 'Gamgadhi', + 'Gamphathang', + 'Garenkhuti', + 'Gaur', + 'Geta', + 'Ghachak', + 'Ghanpokhara', + 'Ghilinggaon', + 'Ghoghda', + 'Ghorahi', + 'Ghra', + 'Ghunsa', + 'Ghunthang', + 'Giri', + 'Girma', + 'Godavari', + 'Gogangaon', + 'Gogn', + 'Golagowar', + 'Golapala', + 'Golgaur', + 'Gongrali', + 'Goplpur', + 'Gorkha', + 'Gosainkunda', + 'Gotam', + 'Gotamsiyala', + 'Gothi', + 'Gour', + 'Guani', + 'Gudel', + 'Guleriya', + 'Gulmikot', + 'Gumbung', + 'Gumsha', + 'Gunhna', + 'Gurja', + 'Gurjakhana', + 'Guthi', + 'Hajminia', + 'Halji', + 'Handrung', + 'Hangsari', + 'Hanumannagar', + 'Haraincha', + 'Hardiachauki', + 'Haria', + 'Hariharpurgadhi', + 'Haripur', + 'Harrebarre', + 'Hasta', + 'Hatia', + 'Hatranga', + 'Helambu', + 'Hetauda', + 'Hetaudabazaar', + 'Hilajug', + 'Ilam', + 'Inarwa', + 'Ismakot', + 'Itahari', + 'Jagat', + 'Jain', + 'Jajarkot', + 'Jaleswar', + 'Jalkundi', + 'Jalthal', + 'Jamuna', + 'Janakpur', + 'Jantrakhani', + 'Jawalakhel', + 'Jhapa', + 'Jhikabasti', + 'Jhunga', + 'Jhuwani', + 'Jibu', + 'Jiri', + 'Jiwadanda', + 'Jogkuti', + 'Jomsom', + 'Joriapani', + 'Joshpur', + 'Jumla', + 'Junbesi', + 'Juribela', + 'Kagbeni', + 'Kailali', + 'Kakani', + 'Kalaiya', + 'Kalikot', + 'Kalimati', + 'Kampughat', + 'Kamsin', + 'Kanchanpur', + 'Kanouli', + 'Kantipur', + 'Kapilvastu', + 'Kapurkot', + 'Karelung', + 'Kasba', + 'Kaski', + 'Kaspa', + 'Kathmandu', + 'Katle', + 'Katti', + 'Katunje', + 'Kehami', + 'Kermi', + 'Khadkagaun', + 'Khadreha', + 'Khaireni', + 'Khalte', + 'Khanchikot', + 'Khandbari', + 'Khangsar', + 'Khanjpur', + 'Kharang', + 'Kharchyun', + 'Khargauli', + 'Kharka', + 'Khinchit', + 'Khmchn', + 'Khngra', + 'Khnskot', + 'Khokna', + 'Khotng', + 'Khrp', + 'Khumaltar', + 'Khumjung', + 'Khunza', + 'Khurpa', + 'Kiratichhap', + 'Kodari', + 'Kodudhunga', + 'Kohalpur', + 'Koilbas', + 'Koropani', + 'Kothari', + 'Kritipur', + 'Kuiyahi', + 'Kulekhani', + 'Kumargaon', + 'Kumbher', + 'Kunchha', + 'Kuseri', + 'Kusma', + 'Kuthanawa', + 'Kutharpekot', + 'Labsibot', + 'Lahan', + 'Lakarpata', + 'Lakkar', + 'Lalitpur', + 'Lamabagar', + 'Lamji', + 'Lamjung', + 'Lammela', + 'Lamobagargola', + 'Lamodihi', + 'Lampakha', + 'Lamri', + 'Langtang', + 'Larkaiya', + 'Lekhparajuli', + 'Lete', + 'Lahonak', + 'Lildanda', + 'Lilbhitti', + 'Lilikot', + 'Limbudin', + 'Limbuwan', + 'Lindandavillage', + 'Liping', + 'Liwang', + 'Liwangaon', + 'Lobuche', + 'Lokondo', + 'Lomanthang', + 'Lubhu', + 'Lukla', + 'Lumbini', + 'Lumbinibagh', + 'Lumsal', + 'Lumsum', + 'Lumsumkhani', + 'Lunak', + 'Lungthung', + 'Lunishera', + 'Lurigaon', + 'Mahakali', + 'Mahankal', + 'Maharajaganj', + 'Mahdevtar', + 'Mahendranagar', + 'Majari', + 'Majhgaon', + 'Makaising', + 'Makwanpurgadhi', + 'Malangwa', + 'Malimchigaon', + 'Manakot', + 'Manang', + 'Manangbhot', + 'Manebhaniyang', + 'Mangalpur', + 'Mangle', + 'Mangri', + 'Manhari', + 'Manikpur', + 'Maniramkanda', + 'Mankali', + 'Manmaiju', + 'Martadi', + 'Meghauli', + 'Melekheti', + 'Melung', + 'Mingbo', + 'Mohami', + 'Motipur', + 'Mughla', + 'Muglaha', + 'Muglin', + 'Mugu', + 'Muktinath', + 'Munchi', + 'Munge', + 'Munigaun', + 'Musikot', + 'Mustang', + 'Nagaa', + 'Nagarjun', + 'Nagarkot', + 'Namai', + 'Namchebazaar', + 'Namdegoan', + 'Namrek', + 'Nandpur', + 'Nangraon', + 'Naraingarh', + 'Narayangadh', + 'Narayanghat', + 'Narcheng', + 'Nargaon', + 'Naubise', + 'Nauche', + 'Nauranga', + 'Nayagaon', + 'Nepalgunj', + 'Nepaltar', + 'Nijgadh', + 'Nuwakot', + 'Odarapur', + 'Okhaldhunga', + 'Okhaldhungabazaar', + 'Olangchukgola', + 'Oligaon', + 'Pachgachhiya', + 'Pachi', + 'Pachkaria', + 'Pachuwarghat', + 'Padmi', + 'Pahritol', + 'Paklihawa', + 'Pali', + 'Palung', + 'Palungsikarkot', + 'Panauti', + 'Panautivillage', + 'Panbari', + 'Panchkhal', + 'Pangboche', + 'Pangthok', + 'Panighat', + 'Para', + 'Parabice', + 'Parasi', + 'Partpur', + 'Pasauli', + 'Pashupatinth', + 'Pasupati', + 'Patan', + 'Patansundhara', + 'Pathalaiya', + 'Patharkot', + 'Patia', + 'Patibhamyang', + 'Patlahara', + 'Phalamesangu', + 'Phaplu', + 'Pharping', + 'Phembu', + 'Phidim', + 'Phijorgaon', + 'Phopagaon', + 'Phorcha', + 'Phorse', + 'Phugaon', + 'Phugru', + 'Phulbari', + 'Phulwri', + 'Phung', + 'Phungnangtar', + 'Pipalkot', + 'Pipra', + 'Pokhara', + 'Pratappur', + 'Pudamigaon', + 'Pulanto', + 'Purtighat', + 'Putalikhet', + 'Pyuthan', + 'Rajapur', + 'Rajbiraj', + 'Ramdighat', + 'Ramdikbana', + 'Ramechhap', + 'Ramgarh', + 'Ramnagar', + 'Rampur', + 'Ranbirta', + 'Rangeli', + 'Ranipauwa', + 'Rara', + 'Rasi', + 'Raskot', + 'Rasnadu', + 'Rasnaduvillage', + 'Rasuwa', + 'Rasuwagadhi', + 'Rear', + 'Rehara', + 'Rekcha', + 'Ridi', + 'Rimi', + 'Riribazaar', + 'Ririkot', + 'Romandey', + 'Rukumkot', + 'Rumalgaon', + 'Rumjatar', + 'Rupandehi', + 'Saipal', + 'Sakha', + 'Salleri', + 'Salyan', + 'Salyangaon', + 'Samargaon', + 'Samde', + 'Sanam', + 'Sangdah', + 'Sangu', + 'Sangutar', + 'Sankhu', + 'Sarswati', + 'Sasaiya', + 'Saukatia', + 'Semri', + 'Setibesi', + 'Shibganj', + 'Shibkhola', + 'Shimi', + 'Shivanagar', + 'Shringa', + 'Siddharthanagar', + 'Sidhniaghat', + 'Sikha', + 'Sikpasorkhani', + 'Siktaghat', + 'Silgadhi', + 'Silgadhidoti', + 'Siliguri', + 'Silkot', + 'Simengaon', + 'Simikot', + 'Simra', + 'Sindhuli', + 'Sindhuligadhi', + 'Siraha', + 'Sirsia', + 'Sisaghatbazaar', + 'Sisaria', + 'Sisbani', + 'Sisghat', + 'Sitalpati', + 'Sitapur', + 'Siurigaon', + 'Sorukot', + 'Sorung', + 'Sripur', + 'Subkone', + 'Sugarkhal', + 'Sukadhik', + 'Sukhar', + 'Sukhchauri', + 'Sunauli', + 'Sundarijal', + 'Sundarpur', + 'Sunwal', + 'Surkhet', + 'Swargadwari', + 'Syabru', + 'Syabrubesi', + 'Syangja', + 'Tamghas', + 'Tamsipur', + 'Tanahun', + 'Tandi', + 'Tange', + 'Tanje', + 'Tansen', + 'Taplejung', + 'Tarakot', + 'Tarenggaon', + 'Tatopani', + 'Taulia', + 'Taulihawa', + 'Teghari', + 'Tehrathum', + 'Telok', + 'Telpani', + 'Tempthng', + 'Thabng', + 'Thakle', + 'Thalara', + 'Thami', + 'Thammu', + 'Thankot', + 'Thapagaon', + 'Thargumtha', + 'Thimi', + 'Thonje', + 'Thothung', + 'Thukla', + 'Thulobeshi', + 'Thuloptl', + 'Thumshe', + 'Thyangboche', + 'Tibrikot', + 'Tigri', + 'Tikabhairab', + 'Tikapur', + 'Tikoli', + 'Tilaurkot', + 'Tiling', + 'Tilkot', + 'Tingjegaon', + 'Tinkar', + 'Titahari', + 'Tokha', + 'Tokna', + 'Toli', + 'Topkegola', + 'Topla', + 'Tribeni', + 'Tribenighat', + 'Trislibzr', + 'Trisuli', + 'Tsarang', + 'Tukotigaon', + 'Tukucha', + 'Tulsi', + 'Tulsipur', + 'Tumlingtar', + 'Udaypur', + 'Udaypurgadhi', + 'Umari', + 'Uppardangadhi', + 'Uwagaon', + 'Waling', + 'Walungchunggola', + 'Wapsakhani', + 'Yala', + 'Yalbang', + 'Yamphodin', + 'Yrsa', + ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}}{{streetSuffix}}', - '{{lastName}}{{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}', - ]; - protected static $addressFormats = [ - '{{city}}-{{wardNumber}}, {{streetAddress}}, {{district}} {{postcode}}', - ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}}{{streetSuffix}}', + '{{lastName}}{{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}', + ]; + protected static $addressFormats = [ + '{{city}}-{{wardNumber}}, {{streetAddress}}, {{district}} {{postcode}}', + ]; - /** - * @example 'Kalaiya' - */ - public static function cityName() - { - return static::randomElement(static::$cityName); - } + /** + * @example 'Kalaiya' + */ + public static function cityName() { + return static::randomElement( static::$cityName ); + } - /** - * @example '5' - */ - public static function wardNumber() - { - return static::numerify(static::randomElement(static::$wardNumber)); - } + /** + * @example '5' + */ + public static function wardNumber() { + return static::numerify( static::randomElement( static::$wardNumber ) ); + } - /** - * @example 'Bara' - */ - public static function district() - { - return static::randomElement(static::$district); - } + /** + * @example 'Bara' + */ + public static function district() { + return static::randomElement( static::$district ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Internet.php index 74580c1..e7e951e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Internet.php @@ -2,31 +2,30 @@ namespace Faker\Provider\ne_NP; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com']; - protected static $tld = ['com', 'com', 'com', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com' ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org' ]; - protected static $emailFormats = [ - '{{userName}}@{{domainName}}', - '{{userName}}@{{domainName}}', - '{{userName}}@{{freeEmailDomain}}', - '{{userName}}@{{domainName}}.np', - '{{userName}}@{{domainName}}.np', - '{{userName}}@{{domainName}}.np', - ]; + protected static $emailFormats = [ + '{{userName}}@{{domainName}}', + '{{userName}}@{{domainName}}', + '{{userName}}@{{freeEmailDomain}}', + '{{userName}}@{{domainName}}.np', + '{{userName}}@{{domainName}}.np', + '{{userName}}@{{domainName}}.np', + ]; - protected static $urlFormats = [ - 'http://www.{{domainName}}.np/', - 'http://www.{{domainName}}.np/', - 'http://{{domainName}}.np/', - 'http://{{domainName}}.np/', - 'http://www.{{domainName}}.np/{{slug}}', - 'http://www.{{domainName}}.np/{{slug}}.html', - 'http://{{domainName}}.np/{{slug}}', - 'http://{{domainName}}.np/{{slug}}', - 'http://{{domainName}}/{{slug}}.html', - 'http://www.{{domainName}}/', - 'http://{{domainName}}/', - ]; + protected static $urlFormats = [ + 'http://www.{{domainName}}.np/', + 'http://www.{{domainName}}.np/', + 'http://{{domainName}}.np/', + 'http://{{domainName}}.np/', + 'http://www.{{domainName}}.np/{{slug}}', + 'http://www.{{domainName}}.np/{{slug}}.html', + 'http://{{domainName}}.np/{{slug}}', + 'http://{{domainName}}.np/{{slug}}', + 'http://{{domainName}}/{{slug}}.html', + 'http://www.{{domainName}}/', + 'http://{{domainName}}/', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Payment.php index 0bd9bdd..9e4331e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Payment.php @@ -2,315 +2,307 @@ namespace Faker\Provider\ne_NP; -class Payment extends \Faker\Provider\Payment -{ - /** - * List of commercial banks sorted in alphabetical order. - * - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal - * - * @var string[] - */ - protected static $commercialBanks = [ - 'Agricultural Development Bank', - 'Bank Of Kathmandu', - 'Century Commercial Bank', - 'Citizens Bank International', - 'Civil Bank', - 'Everest Bank', - 'Global IME Bank', - 'Himalayan Bank', - 'Kumari Bank', - 'Laxmi Bank', - 'Machhapuchchhre Bank', - 'Mega Bank Nepal', - 'Nabil Bank', - 'Nepal Bangladesh Bank', - 'Nepal Bank', - 'Nepal Credit & Commerce Bank', - 'Nepal Investment Bank', - 'Nepal SBI Bank', - 'NIC ASIA Bank', - 'NMB Bank', - 'Prabhu Bank', - 'Prime Commercial Bank', - 'Rastriya Banijya Bank', - 'Sanima Bank', - 'Siddhartha Bank', - 'Standard Chartered Bank Nepal', - 'Sunrise Bank', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * List of commercial banks sorted in alphabetical order. + * + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal + * + * @var string[] + */ + protected static $commercialBanks = [ + 'Agricultural Development Bank', + 'Bank Of Kathmandu', + 'Century Commercial Bank', + 'Citizens Bank International', + 'Civil Bank', + 'Everest Bank', + 'Global IME Bank', + 'Himalayan Bank', + 'Kumari Bank', + 'Laxmi Bank', + 'Machhapuchchhre Bank', + 'Mega Bank Nepal', + 'Nabil Bank', + 'Nepal Bangladesh Bank', + 'Nepal Bank', + 'Nepal Credit & Commerce Bank', + 'Nepal Investment Bank', + 'Nepal SBI Bank', + 'NIC ASIA Bank', + 'NMB Bank', + 'Prabhu Bank', + 'Prime Commercial Bank', + 'Rastriya Banijya Bank', + 'Sanima Bank', + 'Siddhartha Bank', + 'Standard Chartered Bank Nepal', + 'Sunrise Bank', + ]; - /** - * List of development banks sorted in alphabetical order. - * - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal - * - * @var string[] - */ - protected static $developmentBanks = [ - 'Corporate Development Bank', - 'Excel Development Bank', - 'Garima Bikas Bank', - 'Green Development Bank', - 'Jyoti Bikas Bank', - 'Kamana Sewa Bikash Bank', - 'Karnali Development Bank', - 'Lumbini Bikas Bank', - 'Mahalaxmi Bikas Bank', - 'Miteri Development Bank', - 'Muktinath Bikas Bank', - 'Narayani Development Bank', - 'Nepal Infrastructure Bank', - 'Sahara Bikas Bank', - 'Salapa Bikas Bank', - 'Saptakoshi Development Bank', - 'Shangrila Development Bank', - 'Shine Resunga Development Bank', - 'Sindhu Bikas Bank', - ]; + /** + * List of development banks sorted in alphabetical order. + * + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal + * + * @var string[] + */ + protected static $developmentBanks = [ + 'Corporate Development Bank', + 'Excel Development Bank', + 'Garima Bikas Bank', + 'Green Development Bank', + 'Jyoti Bikas Bank', + 'Kamana Sewa Bikash Bank', + 'Karnali Development Bank', + 'Lumbini Bikas Bank', + 'Mahalaxmi Bikas Bank', + 'Miteri Development Bank', + 'Muktinath Bikas Bank', + 'Narayani Development Bank', + 'Nepal Infrastructure Bank', + 'Sahara Bikas Bank', + 'Salapa Bikas Bank', + 'Saptakoshi Development Bank', + 'Shangrila Development Bank', + 'Shine Resunga Development Bank', + 'Sindhu Bikas Bank', + ]; - /** - * List of finance companies sorted in alphabetical order. - * - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal - * - * @var string[] - */ - protected static $financeCompanies = [ - 'Best Finance Company', - 'Capital Merchant Banking & Finance', - 'Central Finance', - 'Goodwill Finance Company', - 'Guheshwori Merchant Banking & Finance', - 'Gurkhas Finance', - 'ICFC Finance', - 'Janaki Finance Company', - 'Manjushree Finance', - 'Multipurpose Finance Company', - 'Nepal Finance', - 'Nepal Share Markets', - 'Pokhara Finance', - 'Progressive Finance', - 'Reliance Finance', - 'Samriddhi Finance Company', - 'Shree Investment Finance Company', - ]; + /** + * List of finance companies sorted in alphabetical order. + * + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal + * + * @var string[] + */ + protected static $financeCompanies = [ + 'Best Finance Company', + 'Capital Merchant Banking & Finance', + 'Central Finance', + 'Goodwill Finance Company', + 'Guheshwori Merchant Banking & Finance', + 'Gurkhas Finance', + 'ICFC Finance', + 'Janaki Finance Company', + 'Manjushree Finance', + 'Multipurpose Finance Company', + 'Nepal Finance', + 'Nepal Share Markets', + 'Pokhara Finance', + 'Progressive Finance', + 'Reliance Finance', + 'Samriddhi Finance Company', + 'Shree Investment Finance Company', + ]; - /** - * List of microfinance companies sorted in alphabetical order. - * - * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal - * - * @var string[] - */ - protected static $microFinances = [ - 'Aatmanirbhar', - 'Adarsha', - 'Adhikhola', - 'Arambha Chautari', - 'Asha', - 'Aviyan', - 'BPW', - 'Buddha Jyoti', - 'Chhimek', - 'Civil', - 'CYC Nepal', - 'Deprosc', - 'Deurali', - 'Dhaulagiri', - 'First Microfinance', - 'Forward Microfinance', - 'Ganapati', - 'Ghodighoda', - 'Global IME', - 'Grameen Bikas', - 'Gurans', - 'Infinity', - 'Jalpa Samudayik', - 'Janautthan Samudayik', - 'Jeevan Bikas', - 'Kalika', - 'Khaptad', - 'Kisan', - 'Laxmi', - 'Mahila', - 'Mahuli', - 'Manakamana Smart', - 'Manushi', - 'Meromicrofinance', - 'Mirmire', - 'Mithila', - 'NADEP', - 'National Microfinance', - 'Naya Sarathi', - 'Nepal Sewa', - 'Nerude', - 'NESDO Samriddha', - 'NIC Asia', - 'Nirdhan Utthan', - 'NMB', - 'Rastra Utthan', - 'RMDC', - 'RSDC', - 'Sabaiko', - 'Sadhana', - 'Samaj', - 'Samata Gharelu', - 'Samudayik', - 'Sana Kisan Bikas', - 'Shrijanshil', - 'Summit', - 'Super', - 'Support', - 'Suryodaya', - 'Swabalamban', - 'Swabhiman', - 'Swastik', - 'Sworojagar', - 'Unique Nepal', - 'Unnati Sahakarya', - 'Upakar', - 'Vijaya', - 'WEAN', - 'Womi', - ]; + /** + * List of microfinance companies sorted in alphabetical order. + * + * @see https://en.wikipedia.org/wiki/List_of_banks_in_Nepal + * + * @var string[] + */ + protected static $microFinances = [ + 'Aatmanirbhar', + 'Adarsha', + 'Adhikhola', + 'Arambha Chautari', + 'Asha', + 'Aviyan', + 'BPW', + 'Buddha Jyoti', + 'Chhimek', + 'Civil', + 'CYC Nepal', + 'Deprosc', + 'Deurali', + 'Dhaulagiri', + 'First Microfinance', + 'Forward Microfinance', + 'Ganapati', + 'Ghodighoda', + 'Global IME', + 'Grameen Bikas', + 'Gurans', + 'Infinity', + 'Jalpa Samudayik', + 'Janautthan Samudayik', + 'Jeevan Bikas', + 'Kalika', + 'Khaptad', + 'Kisan', + 'Laxmi', + 'Mahila', + 'Mahuli', + 'Manakamana Smart', + 'Manushi', + 'Meromicrofinance', + 'Mirmire', + 'Mithila', + 'NADEP', + 'National Microfinance', + 'Naya Sarathi', + 'Nepal Sewa', + 'Nerude', + 'NESDO Samriddha', + 'NIC Asia', + 'Nirdhan Utthan', + 'NMB', + 'Rastra Utthan', + 'RMDC', + 'RSDC', + 'Sabaiko', + 'Sadhana', + 'Samaj', + 'Samata Gharelu', + 'Samudayik', + 'Sana Kisan Bikas', + 'Shrijanshil', + 'Summit', + 'Super', + 'Support', + 'Suryodaya', + 'Swabalamban', + 'Swabhiman', + 'Swastik', + 'Sworojagar', + 'Unique Nepal', + 'Unnati Sahakarya', + 'Upakar', + 'Vijaya', + 'WEAN', + 'Womi', + ]; - /** - * List of digital wallets sorted in alphabetical order. - * - * @see https://www.nrb.org.np/bank-list/ - * - * @var string[] - */ - protected static $digitalWallets = [ - 'CellPay', - 'CG Pay', - 'Chito Paisa', - 'DigiPay', - 'dPaisa', - 'EnetPay', - 'eSewa', - 'Fonepay', - 'GME Pay', - 'iCash', - 'IME Pay', - 'Ipay', - 'Khalti', - 'Kurakani Pay', - 'Lenden', - 'Mobalet', - 'MOCO', - 'Mohar', - 'Moru', - 'N-Cash', - 'Namaste Pay', - 'PayTime', - 'PayWell', - 'PrabhuPAY', - 'QPay', - 'SajiloPay', - 'WePay', - ]; + /** + * List of digital wallets sorted in alphabetical order. + * + * @see https://www.nrb.org.np/bank-list/ + * + * @var string[] + */ + protected static $digitalWallets = [ + 'CellPay', + 'CG Pay', + 'Chito Paisa', + 'DigiPay', + 'dPaisa', + 'EnetPay', + 'eSewa', + 'Fonepay', + 'GME Pay', + 'iCash', + 'IME Pay', + 'Ipay', + 'Khalti', + 'Kurakani Pay', + 'Lenden', + 'Mobalet', + 'MOCO', + 'Mohar', + 'Moru', + 'N-Cash', + 'Namaste Pay', + 'PayTime', + 'PayWell', + 'PrabhuPAY', + 'QPay', + 'SajiloPay', + 'WePay', + ]; - /** - * List of Swift Codes in alphabetical order. - * - * @see https://www.theswiftcodes.com/nepal/ - * - * @var string[] - */ - protected static $swiftCodes = [ - 'ADBLNPKA', - 'BOKLNPKA', - 'CCBNNPKA', - 'CIVLNPKA', - 'CTZNNPKA', - 'EVBLNPKA', - 'GLBBNPKA', - 'HIMANPKA', - 'KMBLNPKA', - 'LXBLNPKA', - 'MBLNNPKA', - 'MBNLNPKA', - 'NARBNPKA', - 'NBOCNPKA', - 'NBOCNPKANRD', - 'NEBLNPKA', - 'NIBLNPKT', - 'NICENPKA', - 'NMBBNPKA', - 'NPBBNPKA', - 'NRBLNPKA', - 'NRBLNPKAFED', - 'NSBINPKA', - 'NSBINPKA001', - 'PCBLNPKA', - 'PRVUNPKA', - 'RBBANPKA', - 'SCBLNPKA', - 'SIDDNPKA', - 'SNMANPKA', - 'SRBLNPKA', - ]; + /** + * List of Swift Codes in alphabetical order. + * + * @see https://www.theswiftcodes.com/nepal/ + * + * @var string[] + */ + protected static $swiftCodes = [ + 'ADBLNPKA', + 'BOKLNPKA', + 'CCBNNPKA', + 'CIVLNPKA', + 'CTZNNPKA', + 'EVBLNPKA', + 'GLBBNPKA', + 'HIMANPKA', + 'KMBLNPKA', + 'LXBLNPKA', + 'MBLNNPKA', + 'MBNLNPKA', + 'NARBNPKA', + 'NBOCNPKA', + 'NBOCNPKANRD', + 'NEBLNPKA', + 'NIBLNPKT', + 'NICENPKA', + 'NMBBNPKA', + 'NPBBNPKA', + 'NRBLNPKA', + 'NRBLNPKAFED', + 'NSBINPKA', + 'NSBINPKA001', + 'PCBLNPKA', + 'PRVUNPKA', + 'RBBANPKA', + 'SCBLNPKA', + 'SIDDNPKA', + 'SNMANPKA', + 'SRBLNPKA', + ]; - /** - * @example 'Agricultural Development Bank' - */ - public function commercialBank(): string - { - return static::randomElement(static::$commercialBanks); - } + /** + * @example 'Agricultural Development Bank' + */ + public function commercialBank(): string { + return static::randomElement( static::$commercialBanks ); + } - /** - * @example 'Nepal Infrastructure Bank' - */ - public function developmentBank(): string - { - return static::randomElement(static::$developmentBanks); - } + /** + * @example 'Nepal Infrastructure Bank' + */ + public function developmentBank(): string { + return static::randomElement( static::$developmentBanks ); + } - /** - * @example 'Gurkhas Finance' - */ - public function financeCompany(): string - { - return static::randomElement(static::$financeCompanies); - } + /** + * @example 'Gurkhas Finance' + */ + public function financeCompany(): string { + return static::randomElement( static::$financeCompanies ); + } - /** - * @example 'Adarsha Laghubitta Bittiya Sanstha' - */ - public function microFinance(): string - { - $suffix = ' Laghubitta Bittiya Sanstha'; + /** + * @example 'Adarsha Laghubitta Bittiya Sanstha' + */ + public function microFinance(): string { + $suffix = ' Laghubitta Bittiya Sanstha'; - return static::randomElement(static::$microFinances) . $suffix; - } + return static::randomElement( static::$microFinances ) . $suffix; + } - /** - * @example 'Khalti' - */ - public function digitalWallet(): string - { - return static::randomElement(static::$digitalWallets); - } + /** + * @example 'Khalti' + */ + public function digitalWallet(): string { + return static::randomElement( static::$digitalWallets ); + } - /** - * @example 'ADBLNPKA' - */ - public function swiftCode(): string - { - return static::randomElement(static::$swiftCodes); - } + /** + * @example 'ADBLNPKA' + */ + public function swiftCode(): string { + return static::randomElement( static::$swiftCodes ); + } - /** - * @example '00454689832792' or 'S49646367883667' - */ - public function bankAccountNumber(): string - { - $format = self::randomElement(['[A-Z][1-9]{8,19}', '[0]{2}[1-9]{7,18}']); + /** + * @example '00454689832792' or 'S49646367883667' + */ + public function bankAccountNumber(): string { + $format = self::randomElement( [ '[A-Z][1-9]{8,19}', '[0]{2}[1-9]{7,18}' ] ); - return static::regexify($format); - } + return static::regexify( $format ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Person.php index 613b370..51494c3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/Person.php @@ -2,120 +2,656 @@ namespace Faker\Provider\ne_NP; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{middleNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{middleNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + ]; - protected static $firstNameMale = [ - 'Aadarsh', 'Aadesh', 'Aaditya', 'Aakash', 'Aanand', 'Abud', 'Achyut', 'Ajay', 'Ajit', 'Akhil', 'Akshar', 'Akshay', 'Amar', 'Amir', 'Amit', 'Amod', 'Amrit', 'Amulya', 'Ananta', 'Angel', 'Angikar', 'Anil', 'Ankit', 'Ankur', 'Anmol', 'Anshu', 'Anuj', 'Arjun', 'Arun', 'Ashish', 'Ashok', 'Ashutosh', 'Atal', 'Avinash', 'Ayush', - 'Babish', 'Badal', 'Badri', 'Baibhav', 'Bhagwam', 'Bhakti', 'Bhanu', 'Bibek', 'Bicky', 'Bidur', 'Bidwan', 'Bikal', 'Bikash', 'Bikesh', 'Bikram', 'Bimal', 'Binamra', 'Binay', 'Bipin', 'Biplav', 'Bipul', 'Biraj', 'Birendra', 'Bishal', 'Bisu', 'Biswas', 'Brijesh', 'Buddha', - 'Chaitanya', 'Chandan', 'Chandra', 'Chirag', - 'Darpan', 'Deep', 'Deepak', 'Dev', 'Dhairya', 'Dharma', 'Dharmendra', 'Dhiren', 'Diwakar', 'Diwash', - 'Eklavya', - 'Gajendra', 'Gaurav', 'Girish', 'Gokul', 'Gopal', 'Govinda', 'Grija', 'Gyanraj', - 'Hans', 'Hardik', 'Hari', 'Harsa', 'Hemant', 'Himal', 'Hitesh', 'Hridaya', - 'Ishwar', - 'Jitendra', 'Jivan', - 'Kabindra', 'Kailash', 'Kalyan', 'Kamal', 'Kamod', 'Kapil', 'Karan', 'Karna', 'Khagendra', 'Kishor', 'Kris', 'Krishna', 'Krisus', 'Kuber', - 'Lakshman', 'Lalit', 'Lava', 'Lochan', 'Lokesh', - 'Madhav', 'Madhukar', 'Madhur', 'Mandeep', 'Manish', 'Manjul', 'Manoj', 'Milan', 'Mohit', 'Mridul', - 'Nabin', 'Nakul', 'Narayan', 'Narendra', 'Naresh', 'Neil', 'Nerain', 'Nirajan', 'Nirmal', 'Nirupam', 'Nischal', 'Nishad', 'Nishant', 'Nutan', - 'Om', - 'Paras', 'Parikshit', 'Parimal', 'Pawan', 'Piyush', 'Prabal', 'Prabesh', 'Prabhat', 'Prabin', 'Prajwal', 'Prakash', 'Pramesh', 'Pramod', 'Pranaya', 'Pranil', 'Prasanna', 'Prashant', 'Prasun', 'Pratap', 'Pratik', 'Prayag', 'Prianshu', 'Prithivi', 'Purna', 'Pushkar', - 'Raghab', 'Rahul', 'Rajan', 'Rajesh', 'Rakesh', 'Ramesh', 'Ranjan', 'Ranjit', 'Ricky', 'Rijan', 'Rishab', 'Rishikesh', 'Rohan', 'Rohit', 'Roshan', - 'Sabin', 'Sachit', 'Safal', 'Sahaj', 'Sahan', 'Sajal', 'Sakar', 'Samir', 'Sanchit', 'Sandesh', 'Sanjay', 'Sanjeev', 'Sankalpa', 'Santosh', 'Sarad', 'Saroj', 'Sashi', 'Saumya', 'Sevak', 'Shailesh', 'Shakti', 'Shamundra', 'Shantanu', 'Shashank', 'Shashwat', 'Shekar', 'Shyam', 'Siddhartha', 'Sitaram', 'Sohan', 'Sohil', 'Soviet', 'Spandan', 'Subal', 'Subham', 'Subodh', 'Sudan', 'Sudhir', 'Sudin', 'Sudip', 'Sujan', 'Sujit', 'Sukanta', 'Sumel', 'Sunil', 'Suraj', 'Surendra', 'Surya', 'Sushant', 'Sushil', 'Suyash', 'Suyog', 'Swagat', 'Swapnil', 'Swarup', - 'Tej', 'Tilak', 'Tirtha', 'Trailokya', 'Trilochan', - 'Udit', 'Ujjwal', 'Umesh', 'Uttam', - 'Yogendra', 'Yogesh', 'Yuvaraj', - ]; + protected static $firstNameMale = [ + 'Aadarsh', + 'Aadesh', + 'Aaditya', + 'Aakash', + 'Aanand', + 'Abud', + 'Achyut', + 'Ajay', + 'Ajit', + 'Akhil', + 'Akshar', + 'Akshay', + 'Amar', + 'Amir', + 'Amit', + 'Amod', + 'Amrit', + 'Amulya', + 'Ananta', + 'Angel', + 'Angikar', + 'Anil', + 'Ankit', + 'Ankur', + 'Anmol', + 'Anshu', + 'Anuj', + 'Arjun', + 'Arun', + 'Ashish', + 'Ashok', + 'Ashutosh', + 'Atal', + 'Avinash', + 'Ayush', + 'Babish', + 'Badal', + 'Badri', + 'Baibhav', + 'Bhagwam', + 'Bhakti', + 'Bhanu', + 'Bibek', + 'Bicky', + 'Bidur', + 'Bidwan', + 'Bikal', + 'Bikash', + 'Bikesh', + 'Bikram', + 'Bimal', + 'Binamra', + 'Binay', + 'Bipin', + 'Biplav', + 'Bipul', + 'Biraj', + 'Birendra', + 'Bishal', + 'Bisu', + 'Biswas', + 'Brijesh', + 'Buddha', + 'Chaitanya', + 'Chandan', + 'Chandra', + 'Chirag', + 'Darpan', + 'Deep', + 'Deepak', + 'Dev', + 'Dhairya', + 'Dharma', + 'Dharmendra', + 'Dhiren', + 'Diwakar', + 'Diwash', + 'Eklavya', + 'Gajendra', + 'Gaurav', + 'Girish', + 'Gokul', + 'Gopal', + 'Govinda', + 'Grija', + 'Gyanraj', + 'Hans', + 'Hardik', + 'Hari', + 'Harsa', + 'Hemant', + 'Himal', + 'Hitesh', + 'Hridaya', + 'Ishwar', + 'Jitendra', + 'Jivan', + 'Kabindra', + 'Kailash', + 'Kalyan', + 'Kamal', + 'Kamod', + 'Kapil', + 'Karan', + 'Karna', + 'Khagendra', + 'Kishor', + 'Kris', + 'Krishna', + 'Krisus', + 'Kuber', + 'Lakshman', + 'Lalit', + 'Lava', + 'Lochan', + 'Lokesh', + 'Madhav', + 'Madhukar', + 'Madhur', + 'Mandeep', + 'Manish', + 'Manjul', + 'Manoj', + 'Milan', + 'Mohit', + 'Mridul', + 'Nabin', + 'Nakul', + 'Narayan', + 'Narendra', + 'Naresh', + 'Neil', + 'Nerain', + 'Nirajan', + 'Nirmal', + 'Nirupam', + 'Nischal', + 'Nishad', + 'Nishant', + 'Nutan', + 'Om', + 'Paras', + 'Parikshit', + 'Parimal', + 'Pawan', + 'Piyush', + 'Prabal', + 'Prabesh', + 'Prabhat', + 'Prabin', + 'Prajwal', + 'Prakash', + 'Pramesh', + 'Pramod', + 'Pranaya', + 'Pranil', + 'Prasanna', + 'Prashant', + 'Prasun', + 'Pratap', + 'Pratik', + 'Prayag', + 'Prianshu', + 'Prithivi', + 'Purna', + 'Pushkar', + 'Raghab', + 'Rahul', + 'Rajan', + 'Rajesh', + 'Rakesh', + 'Ramesh', + 'Ranjan', + 'Ranjit', + 'Ricky', + 'Rijan', + 'Rishab', + 'Rishikesh', + 'Rohan', + 'Rohit', + 'Roshan', + 'Sabin', + 'Sachit', + 'Safal', + 'Sahaj', + 'Sahan', + 'Sajal', + 'Sakar', + 'Samir', + 'Sanchit', + 'Sandesh', + 'Sanjay', + 'Sanjeev', + 'Sankalpa', + 'Santosh', + 'Sarad', + 'Saroj', + 'Sashi', + 'Saumya', + 'Sevak', + 'Shailesh', + 'Shakti', + 'Shamundra', + 'Shantanu', + 'Shashank', + 'Shashwat', + 'Shekar', + 'Shyam', + 'Siddhartha', + 'Sitaram', + 'Sohan', + 'Sohil', + 'Soviet', + 'Spandan', + 'Subal', + 'Subham', + 'Subodh', + 'Sudan', + 'Sudhir', + 'Sudin', + 'Sudip', + 'Sujan', + 'Sujit', + 'Sukanta', + 'Sumel', + 'Sunil', + 'Suraj', + 'Surendra', + 'Surya', + 'Sushant', + 'Sushil', + 'Suyash', + 'Suyog', + 'Swagat', + 'Swapnil', + 'Swarup', + 'Tej', + 'Tilak', + 'Tirtha', + 'Trailokya', + 'Trilochan', + 'Udit', + 'Ujjwal', + 'Umesh', + 'Uttam', + 'Yogendra', + 'Yogesh', + 'Yuvaraj', + ]; - protected static $firstNameFemale = [ - 'Aakansha', 'Aanchal', 'Aarati', 'Aashika', 'Aayusha', 'Alisha', 'Ambika', 'Amrita', 'Anamika', 'Anita', 'Anjali', 'Anjana', 'Anjela', 'Anju', 'Ankita', 'Ansu', 'Anu', 'Anupa', 'Anushree', 'Anuska', 'Apeksha', 'Archana', 'Arpita', 'Aruna', 'Asha', - 'Bandita', 'Barsa', 'Bhawana', 'Bimala', 'Bina', 'Bindu', 'Binita', 'Bipana', - 'Chadani', 'Chameli', 'Champa', 'Chandana', - 'Damini', 'Deepa', 'Deepti', 'Depika', 'Dibya', 'Diksha', 'Dilmaya', 'Dipshika', 'Durga', - 'Ganga', 'Garima', 'Gauri', 'Gita', 'Goma', 'Grishma', - 'Harsika', 'Hema', 'Himani', - 'Isha', 'Ishika', 'Ishwari', - 'Jamuna', 'Janaki', 'Januka', 'Jiya', 'Junu', - 'Kabita', 'Karuna', 'Kaushika', 'Khusbhu', 'Komal', 'Kopila', 'Kripa', 'Kriti', 'Kritika', 'Kshitz', 'Kumud', 'Kusum', - 'Lalita', 'Lata', 'Laxmi', 'Lina', 'Luna', - 'Madhavi', 'Madhuri', 'Mamata', 'Manila', 'Manita', 'Manjita', 'Manju', 'Maya', 'Mayabati', 'Mayushi', 'Menka', 'Menuka', 'Mina', 'Mira', 'Motiva', 'Mukti', 'Muna', - 'Nabina', 'Namrata', 'Nandani', 'Nilam', 'Nira', 'Nirmali', 'Nisha', 'Nishita', - 'Pallavi', 'Parijat', 'Pavitra', 'Pinky', 'Prabha', 'Prabina', 'Prabriti', 'Prakriti', 'Pramila', 'Prapti', 'Pratiksha', 'Pratima', 'Preeti', 'Prekshya', 'Prenana', 'Priya', 'Priyanka', 'Puja', 'Punam', 'Purnima', 'Puspa', - 'Rabina', 'Radha', 'Radhika', 'Raksha', 'Rama', 'Ramita', 'Rampyari', 'Rani', 'Ranjana', 'Ranju', 'Rashmi', 'Rejina', 'Rekha', 'Renu', 'Renuka', 'Reshami', 'Riddhi', 'Rina', 'Ritu', 'Roshni', 'Rupa', - 'Sabina', 'Sabita', 'Sacheta', 'Sachita', 'Sadhana', 'Safala', 'Sagina', 'Sahana', 'Saileja', 'Sajala', 'Sakshi', 'Sakuntala', 'Samjhana', 'Sampada', 'Samridhi', 'Sangita', 'Sanjana', 'Sanskriti', 'Santoshi', 'Sarala', 'Saraswati', 'Sarina', 'Sarita', 'Sarmila', 'Sarupa', 'Saubhagya', 'Shanti', 'Shasikala', 'Shova', 'Shraddha', 'Shreya', 'Shrija', 'Shristi', 'Shriya', 'Shusila', 'Simran', 'Sita', 'Smriti', 'Sneha', 'Soni', 'Srijana', 'Subheksha', 'Sujata', 'Sukriti', 'Sulochana', 'Sumi', 'Sumnima', 'Sunila', 'Surakshya', 'Susma', 'Susmita', 'Suyesha', 'Swechchha', - 'Tara', 'Tulsi', - 'Uma', 'Urbasi', 'Urmila', 'Usha', - 'Vandana', - 'Yami', 'Yasodha', 'Yushma', - ]; + protected static $firstNameFemale = [ + 'Aakansha', + 'Aanchal', + 'Aarati', + 'Aashika', + 'Aayusha', + 'Alisha', + 'Ambika', + 'Amrita', + 'Anamika', + 'Anita', + 'Anjali', + 'Anjana', + 'Anjela', + 'Anju', + 'Ankita', + 'Ansu', + 'Anu', + 'Anupa', + 'Anushree', + 'Anuska', + 'Apeksha', + 'Archana', + 'Arpita', + 'Aruna', + 'Asha', + 'Bandita', + 'Barsa', + 'Bhawana', + 'Bimala', + 'Bina', + 'Bindu', + 'Binita', + 'Bipana', + 'Chadani', + 'Chameli', + 'Champa', + 'Chandana', + 'Damini', + 'Deepa', + 'Deepti', + 'Depika', + 'Dibya', + 'Diksha', + 'Dilmaya', + 'Dipshika', + 'Durga', + 'Ganga', + 'Garima', + 'Gauri', + 'Gita', + 'Goma', + 'Grishma', + 'Harsika', + 'Hema', + 'Himani', + 'Isha', + 'Ishika', + 'Ishwari', + 'Jamuna', + 'Janaki', + 'Januka', + 'Jiya', + 'Junu', + 'Kabita', + 'Karuna', + 'Kaushika', + 'Khusbhu', + 'Komal', + 'Kopila', + 'Kripa', + 'Kriti', + 'Kritika', + 'Kshitz', + 'Kumud', + 'Kusum', + 'Lalita', + 'Lata', + 'Laxmi', + 'Lina', + 'Luna', + 'Madhavi', + 'Madhuri', + 'Mamata', + 'Manila', + 'Manita', + 'Manjita', + 'Manju', + 'Maya', + 'Mayabati', + 'Mayushi', + 'Menka', + 'Menuka', + 'Mina', + 'Mira', + 'Motiva', + 'Mukti', + 'Muna', + 'Nabina', + 'Namrata', + 'Nandani', + 'Nilam', + 'Nira', + 'Nirmali', + 'Nisha', + 'Nishita', + 'Pallavi', + 'Parijat', + 'Pavitra', + 'Pinky', + 'Prabha', + 'Prabina', + 'Prabriti', + 'Prakriti', + 'Pramila', + 'Prapti', + 'Pratiksha', + 'Pratima', + 'Preeti', + 'Prekshya', + 'Prenana', + 'Priya', + 'Priyanka', + 'Puja', + 'Punam', + 'Purnima', + 'Puspa', + 'Rabina', + 'Radha', + 'Radhika', + 'Raksha', + 'Rama', + 'Ramita', + 'Rampyari', + 'Rani', + 'Ranjana', + 'Ranju', + 'Rashmi', + 'Rejina', + 'Rekha', + 'Renu', + 'Renuka', + 'Reshami', + 'Riddhi', + 'Rina', + 'Ritu', + 'Roshni', + 'Rupa', + 'Sabina', + 'Sabita', + 'Sacheta', + 'Sachita', + 'Sadhana', + 'Safala', + 'Sagina', + 'Sahana', + 'Saileja', + 'Sajala', + 'Sakshi', + 'Sakuntala', + 'Samjhana', + 'Sampada', + 'Samridhi', + 'Sangita', + 'Sanjana', + 'Sanskriti', + 'Santoshi', + 'Sarala', + 'Saraswati', + 'Sarina', + 'Sarita', + 'Sarmila', + 'Sarupa', + 'Saubhagya', + 'Shanti', + 'Shasikala', + 'Shova', + 'Shraddha', + 'Shreya', + 'Shrija', + 'Shristi', + 'Shriya', + 'Shusila', + 'Simran', + 'Sita', + 'Smriti', + 'Sneha', + 'Soni', + 'Srijana', + 'Subheksha', + 'Sujata', + 'Sukriti', + 'Sulochana', + 'Sumi', + 'Sumnima', + 'Sunila', + 'Surakshya', + 'Susma', + 'Susmita', + 'Suyesha', + 'Swechchha', + 'Tara', + 'Tulsi', + 'Uma', + 'Urbasi', + 'Urmila', + 'Usha', + 'Vandana', + 'Yami', + 'Yasodha', + 'Yushma', + ]; - protected static $lastName = [ - 'Acharya', 'Adhikari', 'Agarwal', 'Amatya', 'Aryal', - 'Baidya', 'Bajracharya', 'Balami', 'Banepali', 'Baniya', 'Banjade', 'Baral', 'Basnet', 'Bastakoti', 'Bastola', 'Basyal', 'Belbase', 'Bhandari', 'Bhatta', 'Bhattarai', 'Bhusal', 'Bijukchhe', 'Bisht', 'Bohara', 'Budathoki', 'Byanjankar', - 'Chalise', 'Chamling', 'Chapagain', 'Chaudhary', 'Chhetri', - 'Dahal', 'Dangol', 'Dawadi', 'Devkota', 'Dhakal', 'Dhamla', 'Dhaubhadel', 'Dhungel', - 'Gauchan', 'Gautam', 'Ghale', 'Ghimire', 'Giri', 'Golchha', 'Gurung', 'Gyalzen', 'Gyawali', - 'Hamal', 'Himanshu', 'Humagain', - 'Jha', 'Joshi', - 'Kafle', 'Kandel', 'Kansakar', 'Karki', 'Karmacharya', 'Karna', 'Katwal', 'Kayastha', 'KC', 'Khadka', 'Khadgee', 'Khan', 'Khanal', 'Kharel', 'Khatiwada', 'Khatri', 'Khawas', 'Koirala', - 'Lama', 'Lamichhane', 'Lamsal', 'Lawoti', 'Ligal', 'Limbu', 'Lohani', - 'Magar', 'Maharjan', 'Mainali', 'Malakar', 'Maleku', 'Manandhar', 'Marhatta', 'Mishra', - 'Nakarmi', 'Napit', 'Nemkul', 'Nepal', 'Neupane', 'Niroula', - 'Ojha', - 'Pachhai', 'Pahari', 'Pandey', 'Pangeni', 'Panta', 'Parajuli', 'Pathak', 'Paudel', 'Pokhrel', 'Pradhan', 'Prajapati', 'Puri', - 'Rai', 'Raimajhi', 'Rana', 'Ranabhat', 'Rasali', 'Rauniyar', 'Rawat', 'Regmi', 'Rijal', 'Rimal', 'Rinpoche', - 'Sarraf', 'Shah', 'Shahi', 'Shakya', 'Sharma', 'Sherpa', 'Shrestha', 'Silwal', 'Simkhada', 'Singh', 'Sitoula', 'Subedi', - 'Tamang', 'Tamrakar', 'Thakur', 'Thapa', 'Thapa Magar', 'Thuladhar', 'Thule', 'Tuladhar', - 'Upadhyaya', - 'Veswakar', - 'Wagle', - 'Yadav', - ]; + protected static $lastName = [ + 'Acharya', + 'Adhikari', + 'Agarwal', + 'Amatya', + 'Aryal', + 'Baidya', + 'Bajracharya', + 'Balami', + 'Banepali', + 'Baniya', + 'Banjade', + 'Baral', + 'Basnet', + 'Bastakoti', + 'Bastola', + 'Basyal', + 'Belbase', + 'Bhandari', + 'Bhatta', + 'Bhattarai', + 'Bhusal', + 'Bijukchhe', + 'Bisht', + 'Bohara', + 'Budathoki', + 'Byanjankar', + 'Chalise', + 'Chamling', + 'Chapagain', + 'Chaudhary', + 'Chhetri', + 'Dahal', + 'Dangol', + 'Dawadi', + 'Devkota', + 'Dhakal', + 'Dhamla', + 'Dhaubhadel', + 'Dhungel', + 'Gauchan', + 'Gautam', + 'Ghale', + 'Ghimire', + 'Giri', + 'Golchha', + 'Gurung', + 'Gyalzen', + 'Gyawali', + 'Hamal', + 'Himanshu', + 'Humagain', + 'Jha', + 'Joshi', + 'Kafle', + 'Kandel', + 'Kansakar', + 'Karki', + 'Karmacharya', + 'Karna', + 'Katwal', + 'Kayastha', + 'KC', + 'Khadka', + 'Khadgee', + 'Khan', + 'Khanal', + 'Kharel', + 'Khatiwada', + 'Khatri', + 'Khawas', + 'Koirala', + 'Lama', + 'Lamichhane', + 'Lamsal', + 'Lawoti', + 'Ligal', + 'Limbu', + 'Lohani', + 'Magar', + 'Maharjan', + 'Mainali', + 'Malakar', + 'Maleku', + 'Manandhar', + 'Marhatta', + 'Mishra', + 'Nakarmi', + 'Napit', + 'Nemkul', + 'Nepal', + 'Neupane', + 'Niroula', + 'Ojha', + 'Pachhai', + 'Pahari', + 'Pandey', + 'Pangeni', + 'Panta', + 'Parajuli', + 'Pathak', + 'Paudel', + 'Pokhrel', + 'Pradhan', + 'Prajapati', + 'Puri', + 'Rai', + 'Raimajhi', + 'Rana', + 'Ranabhat', + 'Rasali', + 'Rauniyar', + 'Rawat', + 'Regmi', + 'Rijal', + 'Rimal', + 'Rinpoche', + 'Sarraf', + 'Shah', + 'Shahi', + 'Shakya', + 'Sharma', + 'Sherpa', + 'Shrestha', + 'Silwal', + 'Simkhada', + 'Singh', + 'Sitoula', + 'Subedi', + 'Tamang', + 'Tamrakar', + 'Thakur', + 'Thapa', + 'Thapa Magar', + 'Thuladhar', + 'Thule', + 'Tuladhar', + 'Upadhyaya', + 'Veswakar', + 'Wagle', + 'Yadav', + ]; - private static $middleNameMale = ['Bahadur', 'Dev', 'Kumar', 'Man', 'Mani', 'Nath', 'Prasad', 'Raj', 'Ratna']; - private static $middleNameFemale = ['Devi', 'Kumari']; + private static $middleNameMale = [ 'Bahadur', 'Dev', 'Kumar', 'Man', 'Mani', 'Nath', 'Prasad', 'Raj', 'Ratna' ]; + private static $middleNameFemale = [ 'Devi', 'Kumari' ]; - /** - * @example 'Bahadur' - */ - public static function middleNameMale() - { - return static::randomElement(static::$middleNameMale); - } + /** + * @example 'Bahadur' + */ + public static function middleNameMale() { + return static::randomElement( static::$middleNameMale ); + } - /** - * @example 'Devi' - */ - public static function middleNameFemale() - { - return static::randomElement(static::$middleNameFemale); - } + /** + * @example 'Devi' + */ + public static function middleNameFemale() { + return static::randomElement( static::$middleNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/PhoneNumber.php index 322fcb5..2d3e1af 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ne_NP/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ne_NP/PhoneNumber.php @@ -2,18 +2,17 @@ namespace Faker\Provider\ne_NP; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '01-4######', - '01-5######', - '01-6######', - '9841######', - '9849######', - '98510#####', - '9803######', - '9808######', - '9813######', - '9818######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '01-4######', + '01-5######', + '01-6######', + '9841######', + '9849######', + '98510#####', + '9803######', + '9808######', + '9813######', + '9818######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Address.php index 849b307..d41a76a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Address.php @@ -2,123 +2,608 @@ namespace Faker\Provider\nl_BE; -class Address extends \Faker\Provider\Address -{ - protected static $postcodes = [ - '2970', '3700', '7510', '9420', '8511', '3800', '9300', '9880', '3200', '8700', '8211', '2630', '4557', - '4280', '3930', '5590', '5362', '4219', '6280', '9991', '8660', '1790', '9051', '5544', '4317', '5310', - '6250', '5070', '3570', '5550', '4432', '1652', '8690', '4540', '6680', '6953', '4770', '6997', '7750', - '5300', '1070', '6150', '4821', '4031', '7387', '5537', '6721', '6890', '4430', '5500', '5520', '4520', - '4160', '7640', '2000', '2018', '2020', '2030', '2040', '2050', '2060', '2099', '7910', '8570', '9200', - '9400', '5170', '7811', '4990', '1390', '8850', '2370', '4601', '6700', '7181', '5060', '6870', '3665', - '9404', '9890', '7040', '1730', '8310', '1007', '9960', '6860', '3460', '5330', '9800', '7800', '6791', - '3404', '3384', '6717', '7941', '6790', '7972', '4880', '5660', '6880', '7382', '6706', '1367', '5580', - '8630', '8580', '4260', '3271', '4340', '4400', '6900', '4630', '4920', '3128', '9310', '2387', '4837', - '6464', '6460', '5555', '7730', '5377', '7380', '1470', '5190', '9860', '2490', '6951', '6500', '4671', - '5570', '7534', '5370', '6940', '7971', '4983', '4690', '9968', '7830', '6600', '3870', '4651', '7130', - '7331', '7870', '7604', '1401', '9520', '8531', '9150', '4052', '6980', '1320', '6594', '7532', '3960', - ]; +class Address extends \Faker\Provider\Address { + protected static $postcodes = [ + '2970', + '3700', + '7510', + '9420', + '8511', + '3800', + '9300', + '9880', + '3200', + '8700', + '8211', + '2630', + '4557', + '4280', + '3930', + '5590', + '5362', + '4219', + '6280', + '9991', + '8660', + '1790', + '9051', + '5544', + '4317', + '5310', + '6250', + '5070', + '3570', + '5550', + '4432', + '1652', + '8690', + '4540', + '6680', + '6953', + '4770', + '6997', + '7750', + '5300', + '1070', + '6150', + '4821', + '4031', + '7387', + '5537', + '6721', + '6890', + '4430', + '5500', + '5520', + '4520', + '4160', + '7640', + '2000', + '2018', + '2020', + '2030', + '2040', + '2050', + '2060', + '2099', + '7910', + '8570', + '9200', + '9400', + '5170', + '7811', + '4990', + '1390', + '8850', + '2370', + '4601', + '6700', + '7181', + '5060', + '6870', + '3665', + '9404', + '9890', + '7040', + '1730', + '8310', + '1007', + '9960', + '6860', + '3460', + '5330', + '9800', + '7800', + '6791', + '3404', + '3384', + '6717', + '7941', + '6790', + '7972', + '4880', + '5660', + '6880', + '7382', + '6706', + '1367', + '5580', + '8630', + '8580', + '4260', + '3271', + '4340', + '4400', + '6900', + '4630', + '4920', + '3128', + '9310', + '2387', + '4837', + '6464', + '6460', + '5555', + '7730', + '5377', + '7380', + '1470', + '5190', + '9860', + '2490', + '6951', + '6500', + '4671', + '5570', + '7534', + '5370', + '6940', + '7971', + '4983', + '4690', + '9968', + '7830', + '6600', + '3870', + '4651', + '7130', + '7331', + '7870', + '7604', + '1401', + '9520', + '8531', + '9150', + '4052', + '6980', + '1320', + '6594', + '7532', + '3960', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $streetNameFormats = ['{{lastName}}{{streetSuffix}}']; + protected static $streetNameFormats = [ '{{lastName}}{{streetSuffix}}' ]; - protected static $cityFormats = ['{{cityName}}']; + protected static $cityFormats = [ '{{cityName}}' ]; - protected static $addressFormats = [ - "{{streetAddress}}\n {{postcode}} {{city}}", - ]; + protected static $addressFormats = [ + "{{streetAddress}}\n {{postcode}} {{city}}", + ]; - protected static $streetSuffix = [ - 'baan', 'boulevard', 'dreef', 'hof', 'laan', 'pad', 'ring', 'singel', 'steeg', 'straat', 'weg', - ]; + protected static $streetSuffix = [ + 'baan', + 'boulevard', + 'dreef', + 'hof', + 'laan', + 'pad', + 'ring', + 'singel', + 'steeg', + 'straat', + 'weg', + ]; - /** - * Export of BAG (http://bag.vrom.nl/) - * last updated 2012/11/09 - * - * @var array - */ - protected static $cityNames = [ - 'Aalst', 'Aarlen', 'Aarschot', 'Aat', 'Andenne', 'Antoing', 'Antwerpen', 'Bastenaken', 'Beringen', - 'Beaumont', 'Beauraing', 'Bergen', 'Bilzen', 'Binche', 'Blankenberge', 'Borgloon', 'Borgworm', 'Bouillon', - 'Bree', 'Brugge', 'Brussel', 'Charleroi', 'Châtelet', 'Chièvres', 'Chimay', 'Chiny', 'Ciney', 'Couvin', - 'Damme', 'Deinze', 'Dendermonde', 'Diest', 'Diksmuide', 'Dilsen-Stokkem', 'Dinant', 'Doornik', 'Durbuy', - 'Edingen', 'Eeklo', 'Eupen', 'Fleurus', 'Florenville', 'Fontaine-l\'Evêque', 'Fosses-la-Ville', 'Geel', - 'Geldenaken', 'Gembloers', 'Genepiën', 'Genk', 'Gent', 'Geraardsbergen', 'Gistel', '\'s-Gravenbrakel', - 'Halen', 'Halle', 'Hamont-Achel', 'Hannuit', 'Harelbeke', 'Hasselt', 'Herentals', 'Herk-de-Stad', 'Herstal', - 'Herve', 'Hoei', 'Hoogstraten', 'Houffalize', 'Ieper', 'Izegem', 'Komen-Waasten', 'Kortrijk', 'La Louvière', - 'La Roche-en-Ardenne', 'Landen', 'Le Rœulx', 'Lessen', 'Leuze-en-Hainaut', 'Leuven', 'Lier', 'Limburg', - 'Lo-Reninge', 'Lokeren', 'Lommel', 'Luik', 'Maaseik', 'Malmedy', 'Marche-en-Famenne', 'Mechelen', 'Menen', - 'Mesen', 'Moeskroen', 'Mortsel', 'Namen', 'Neufchâteau', 'Nieuwpoort', 'Nijvel', 'Ninove', 'Oostende', - 'Ottignies', 'Oudenaarde', 'Oudenburg', 'Peer', 'Péruwelz', 'Philippeville', 'Poperinge', 'Rochefort', - 'Roeselare', 'Ronse', 'Saint-Ghislain', 'Saint-Hubert', 'Sankt Vith', 'Scherpenheuvel-Zichem', 'Seraing', - 'Sint-Niklaas', 'Sint-Truiden', 'Spa', 'Stavelot', 'Thuin', 'Tielt', 'Tienen', 'Tongeren', 'Torhout', - 'Turnhout', 'Verviers', 'Veurne', 'Vilvoorde', 'Virton', 'Walcourt', 'Waregem', 'Waver', 'Wervik', 'Wezet', - 'Zinnik', 'Zottegem', 'Zoutleeuw', - ]; + /** + * Export of BAG (http://bag.vrom.nl/) + * last updated 2012/11/09 + * + * @var array + */ + protected static $cityNames = [ + 'Aalst', + 'Aarlen', + 'Aarschot', + 'Aat', + 'Andenne', + 'Antoing', + 'Antwerpen', + 'Bastenaken', + 'Beringen', + 'Beaumont', + 'Beauraing', + 'Bergen', + 'Bilzen', + 'Binche', + 'Blankenberge', + 'Borgloon', + 'Borgworm', + 'Bouillon', + 'Bree', + 'Brugge', + 'Brussel', + 'Charleroi', + 'Châtelet', + 'Chièvres', + 'Chimay', + 'Chiny', + 'Ciney', + 'Couvin', + 'Damme', + 'Deinze', + 'Dendermonde', + 'Diest', + 'Diksmuide', + 'Dilsen-Stokkem', + 'Dinant', + 'Doornik', + 'Durbuy', + 'Edingen', + 'Eeklo', + 'Eupen', + 'Fleurus', + 'Florenville', + 'Fontaine-l\'Evêque', + 'Fosses-la-Ville', + 'Geel', + 'Geldenaken', + 'Gembloers', + 'Genepiën', + 'Genk', + 'Gent', + 'Geraardsbergen', + 'Gistel', + '\'s-Gravenbrakel', + 'Halen', + 'Halle', + 'Hamont-Achel', + 'Hannuit', + 'Harelbeke', + 'Hasselt', + 'Herentals', + 'Herk-de-Stad', + 'Herstal', + 'Herve', + 'Hoei', + 'Hoogstraten', + 'Houffalize', + 'Ieper', + 'Izegem', + 'Komen-Waasten', + 'Kortrijk', + 'La Louvière', + 'La Roche-en-Ardenne', + 'Landen', + 'Le Rœulx', + 'Lessen', + 'Leuze-en-Hainaut', + 'Leuven', + 'Lier', + 'Limburg', + 'Lo-Reninge', + 'Lokeren', + 'Lommel', + 'Luik', + 'Maaseik', + 'Malmedy', + 'Marche-en-Famenne', + 'Mechelen', + 'Menen', + 'Mesen', + 'Moeskroen', + 'Mortsel', + 'Namen', + 'Neufchâteau', + 'Nieuwpoort', + 'Nijvel', + 'Ninove', + 'Oostende', + 'Ottignies', + 'Oudenaarde', + 'Oudenburg', + 'Peer', + 'Péruwelz', + 'Philippeville', + 'Poperinge', + 'Rochefort', + 'Roeselare', + 'Ronse', + 'Saint-Ghislain', + 'Saint-Hubert', + 'Sankt Vith', + 'Scherpenheuvel-Zichem', + 'Seraing', + 'Sint-Niklaas', + 'Sint-Truiden', + 'Spa', + 'Stavelot', + 'Thuin', + 'Tielt', + 'Tienen', + 'Tongeren', + 'Torhout', + 'Turnhout', + 'Verviers', + 'Veurne', + 'Vilvoorde', + 'Virton', + 'Walcourt', + 'Waregem', + 'Waver', + 'Wervik', + 'Wezet', + 'Zinnik', + 'Zottegem', + 'Zoutleeuw', + ]; - protected static $state = [ - 'Antwerpen', 'Limburg', 'Oost-Vlaanderen', 'Vlaams-Brabant', 'West-Vlaanderen', - 'Henegouwen', 'Luik', 'Luxemburg', 'Namen', 'Waals-Brabant', - ]; + protected static $state = [ + 'Antwerpen', + 'Limburg', + 'Oost-Vlaanderen', + 'Vlaams-Brabant', + 'West-Vlaanderen', + 'Henegouwen', + 'Luik', + 'Luxemburg', + 'Namen', + 'Waals-Brabant', + ]; - protected static $country = [ - 'Afghanistan', 'Albanië', 'Algerije', 'Amerikaans-Samoa', 'Andorra', 'Angola', 'Amerikaanse Virgineilanden', - 'Anguilla', 'Antartica', 'Antigua en Barbuda', 'Argentinië', 'Armenië', 'Aruba', 'Australië', 'Azerbeidzjan', - 'Bahamas', 'Bahrein', 'Bangladesh', 'Barbados', 'België', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', - 'Bosnië-Herzegovina', 'Botswana', 'Bouvet Eiland (Bouvetoya)', 'Brazilië', 'Britse Maagdeneilanden', - 'Brunei Darussalam', 'Bulgarije', 'Burkina Faso', 'Burundi', 'Cambodja', 'Canada', - 'Centraal-Afrikaanse Republiek', 'Chili', 'China', 'Christmaseiland', 'Cocoseilanden', 'Colombia', 'Comoren', - 'Congo', 'Cookeilanden', 'Costa Rica', 'Cuba', 'Cyprus', 'Denemarken', 'Djibouti', 'Dominica', - 'Dominicaanse Republiek', 'Duitsland', 'Ecuador', 'Egypte', 'El salvador', 'Equatoriaal-Guinea', 'Eritrea', - 'Estland', 'Ethiopië', 'Faroe Eilanden', 'Falklandeilanden', 'Fiji', 'Finland', 'Frankrijk', 'Frans-Guyana', - 'Frans-Polynesië', 'Franse Zuidelijke en Antarctische Gebieden', 'Gabon', 'Gambia', 'Georgië', 'Ghana', - 'Gibraltar', 'Griekenland', 'Groenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinee', - 'Guinee-Bissau', 'Guyana', 'Haïti', 'Heard en McDonaldeilanden', 'Honduras', 'Hong Kong', 'Hongarije', - 'IJsland', 'India', 'Indonesië', 'Iran', 'Irak', 'Ierland', 'Man', 'Israel', 'Ivoorkust', 'Italië', 'Jamaica', - 'Japan', 'Jersey', 'Jordanië', 'Jemen', 'Kazachstan', 'Kenia', - 'Kleinere afgelegen eilanden van de Verenigde staten', 'Kiribati', 'Korea', 'Koeweit', 'Kirgizië', 'Kameroen', - 'Kaapverdië', 'Kaaimaneilanden', 'Kroatië', 'Laos', 'Letland', 'Libanon', 'Lesotho', 'Liberia', 'Libië', - 'Liechtenstein', 'Litouwen', 'Luxemburg', 'Macau', 'Macedonië', 'Madagascar', 'Malawi', 'Maleisië', 'Maldiven', - 'Mali', 'Malta', 'Marshalleilanden', 'Martinique', 'Mauritus', 'Mauritania', 'Mayotte', 'Mexico', 'Micronesië', - 'Moldavië', 'Monaco', 'Mongolië', 'Montenegro', 'Monsterrat', 'Marokko', 'Mozambique', 'Myanmar', 'Namibië', - 'Nauru', 'Nepal', 'Nederlandse Antillen', 'Nederland', 'Nieuw-Caledonië', 'Nieuw-Zeeland', 'Nicaragua', - 'Niger', 'Nigeria', 'Niue', 'Norfolk', 'Noordelijke Marianen', 'Noorwegen', 'Oman', 'Oostenrijk', 'Oeganda', - 'Oekraïne', 'Oezbakistan', 'Pakistan', 'Palau', 'Palestina', 'Panama', 'Papoea-Nieuw-Guinea', 'Paraguay', - 'Peru', 'Filipijnen', 'Pitcairneilanden', 'Polen', 'Portugal', 'Puerto Rico', 'Qatar', 'Réunion', 'Roemenië', - 'Rusland', 'Rwanda', 'Rwanda', 'Sint-Bartholomeus', 'Sint-Helena', 'Saint Kitts en Nevis', 'Saint Lucia', - 'Sint Maarten', 'Saint-Pierre en Miquelon', 'Saint Vincent en de Grenadines', 'Samoa', 'San Marino', - 'Sao Toma en Principe', 'Saoedi-Arabië', 'Senegal', 'Servië', 'Seychellen', 'Sierra Leone', 'Singapore', - 'Slovenië', 'Salomonseilanden', 'Somalië', 'Spanje', 'Sri Lanka', 'Soedan', 'Suriname', - 'Spitsbergen en Jan Mayen', 'Swaziland', 'Zweden', 'Zwitserland', 'Syrië', 'Taiwan', 'Tadzjikistan', - 'Tanzania', 'Thailand', 'Tsjaad', 'Timor-Leste', 'Togo', 'Tokelau-eilanden', 'Tonga', 'Trinidad en Trobago', - 'Tunesië', 'Turkije', 'Turkmenistan', 'Turks- en Caicoseilanden', 'Tuvalu', 'Tsjechische Republiek', - 'Uruguay', 'Vanuatu', 'Venezuela', 'Verenigde Arabische Emiraten', 'Verenigd Koninkrijk', - 'Verenigde Staten van Amerika', 'Vaticaanstad', 'Vietnam', 'Wallis en Futuna', 'Westerlijke Shara', - 'Wit-Rusland', 'Zambia', 'Zuid-Afrika', 'Zuid-Georgia en de Zuidelijke Sandwicheilanden', 'Zimbabwe', - ]; + protected static $country = [ + 'Afghanistan', + 'Albanië', + 'Algerije', + 'Amerikaans-Samoa', + 'Andorra', + 'Angola', + 'Amerikaanse Virgineilanden', + 'Anguilla', + 'Antartica', + 'Antigua en Barbuda', + 'Argentinië', + 'Armenië', + 'Aruba', + 'Australië', + 'Azerbeidzjan', + 'Bahamas', + 'Bahrein', + 'Bangladesh', + 'Barbados', + 'België', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnië-Herzegovina', + 'Botswana', + 'Bouvet Eiland (Bouvetoya)', + 'Brazilië', + 'Britse Maagdeneilanden', + 'Brunei Darussalam', + 'Bulgarije', + 'Burkina Faso', + 'Burundi', + 'Cambodja', + 'Canada', + 'Centraal-Afrikaanse Republiek', + 'Chili', + 'China', + 'Christmaseiland', + 'Cocoseilanden', + 'Colombia', + 'Comoren', + 'Congo', + 'Cookeilanden', + 'Costa Rica', + 'Cuba', + 'Cyprus', + 'Denemarken', + 'Djibouti', + 'Dominica', + 'Dominicaanse Republiek', + 'Duitsland', + 'Ecuador', + 'Egypte', + 'El salvador', + 'Equatoriaal-Guinea', + 'Eritrea', + 'Estland', + 'Ethiopië', + 'Faroe Eilanden', + 'Falklandeilanden', + 'Fiji', + 'Finland', + 'Frankrijk', + 'Frans-Guyana', + 'Frans-Polynesië', + 'Franse Zuidelijke en Antarctische Gebieden', + 'Gabon', + 'Gambia', + 'Georgië', + 'Ghana', + 'Gibraltar', + 'Griekenland', + 'Groenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinee', + 'Guinee-Bissau', + 'Guyana', + 'Haïti', + 'Heard en McDonaldeilanden', + 'Honduras', + 'Hong Kong', + 'Hongarije', + 'IJsland', + 'India', + 'Indonesië', + 'Iran', + 'Irak', + 'Ierland', + 'Man', + 'Israel', + 'Ivoorkust', + 'Italië', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordanië', + 'Jemen', + 'Kazachstan', + 'Kenia', + 'Kleinere afgelegen eilanden van de Verenigde staten', + 'Kiribati', + 'Korea', + 'Koeweit', + 'Kirgizië', + 'Kameroen', + 'Kaapverdië', + 'Kaaimaneilanden', + 'Kroatië', + 'Laos', + 'Letland', + 'Libanon', + 'Lesotho', + 'Liberia', + 'Libië', + 'Liechtenstein', + 'Litouwen', + 'Luxemburg', + 'Macau', + 'Macedonië', + 'Madagascar', + 'Malawi', + 'Maleisië', + 'Maldiven', + 'Mali', + 'Malta', + 'Marshalleilanden', + 'Martinique', + 'Mauritus', + 'Mauritania', + 'Mayotte', + 'Mexico', + 'Micronesië', + 'Moldavië', + 'Monaco', + 'Mongolië', + 'Montenegro', + 'Monsterrat', + 'Marokko', + 'Mozambique', + 'Myanmar', + 'Namibië', + 'Nauru', + 'Nepal', + 'Nederlandse Antillen', + 'Nederland', + 'Nieuw-Caledonië', + 'Nieuw-Zeeland', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk', + 'Noordelijke Marianen', + 'Noorwegen', + 'Oman', + 'Oostenrijk', + 'Oeganda', + 'Oekraïne', + 'Oezbakistan', + 'Pakistan', + 'Palau', + 'Palestina', + 'Panama', + 'Papoea-Nieuw-Guinea', + 'Paraguay', + 'Peru', + 'Filipijnen', + 'Pitcairneilanden', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Réunion', + 'Roemenië', + 'Rusland', + 'Rwanda', + 'Rwanda', + 'Sint-Bartholomeus', + 'Sint-Helena', + 'Saint Kitts en Nevis', + 'Saint Lucia', + 'Sint Maarten', + 'Saint-Pierre en Miquelon', + 'Saint Vincent en de Grenadines', + 'Samoa', + 'San Marino', + 'Sao Toma en Principe', + 'Saoedi-Arabië', + 'Senegal', + 'Servië', + 'Seychellen', + 'Sierra Leone', + 'Singapore', + 'Slovenië', + 'Salomonseilanden', + 'Somalië', + 'Spanje', + 'Sri Lanka', + 'Soedan', + 'Suriname', + 'Spitsbergen en Jan Mayen', + 'Swaziland', + 'Zweden', + 'Zwitserland', + 'Syrië', + 'Taiwan', + 'Tadzjikistan', + 'Tanzania', + 'Thailand', + 'Tsjaad', + 'Timor-Leste', + 'Togo', + 'Tokelau-eilanden', + 'Tonga', + 'Trinidad en Trobago', + 'Tunesië', + 'Turkije', + 'Turkmenistan', + 'Turks- en Caicoseilanden', + 'Tuvalu', + 'Tsjechische Republiek', + 'Uruguay', + 'Vanuatu', + 'Venezuela', + 'Verenigde Arabische Emiraten', + 'Verenigd Koninkrijk', + 'Verenigde Staten van Amerika', + 'Vaticaanstad', + 'Vietnam', + 'Wallis en Futuna', + 'Westerlijke Shara', + 'Wit-Rusland', + 'Zambia', + 'Zuid-Afrika', + 'Zuid-Georgia en de Zuidelijke Sandwicheilanden', + 'Zimbabwe', + ]; - public static function postcode() - { - return static::randomElement(static::$postcodes); - } + public static function postcode() { + return static::randomElement( static::$postcodes ); + } - /** - * @example 'Gelderland' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Gelderland' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @see parent - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } + /** + * @see parent + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Company.php index 3f125d8..b26ca8b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Company.php @@ -2,12 +2,24 @@ namespace Faker\Provider\nl_BE; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}', + ]; - protected static $companySuffix = ['VZW', 'Comm.V', 'VOF', 'BVBA', 'EBVBA', 'ESV', 'NV', 'Comm.VA', 'CVOA', 'CVBA', '& Zonen', '& Zn']; + protected static $companySuffix = [ + 'VZW', + 'Comm.V', + 'VOF', + 'BVBA', + 'EBVBA', + 'ESV', + 'NV', + 'Comm.VA', + 'CVOA', + 'CVBA', + '& Zonen', + '& Zn' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Internet.php index 17d84cf..4927e49 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\nl_BE; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'yahoo.com', 'advalvas.be']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'be', 'be', 'be']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'hotmail.com', 'yahoo.com', 'advalvas.be' ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'be', 'be', 'be' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Payment.php index e825340..4d410e1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Payment.php @@ -2,48 +2,45 @@ namespace Faker\Provider\nl_BE; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN). - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'BE', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN). + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'BE', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * Value Added Tax (VAT). - * - * @example 'BE0123456789', ('spaced') 'BE 0123456789' - * - * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 - * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm - * @see http://en.wikipedia.org/wiki/VAT_identification_number - * - * @param bool $spacedNationalPrefix - * - * @return string VAT Number - */ - public static function vat($spacedNationalPrefix = true) - { - $prefix = $spacedNationalPrefix ? 'BE ' : 'BE'; + /** + * Value Added Tax (VAT). + * + * @param bool $spacedNationalPrefix + * + * @return string VAT Number + * @see http://www.iecomputersystems.com/ordering/eu_vat_numbers.htm + * @see http://en.wikipedia.org/wiki/VAT_identification_number + * + * @example 'BE0123456789', ('spaced') 'BE 0123456789' + * + * @see http://ec.europa.eu/taxation_customs/vies/faq.html?locale=en#item_11 + */ + public static function vat( $spacedNationalPrefix = true ) { + $prefix = $spacedNationalPrefix ? 'BE ' : 'BE'; - // Generate 7 numbers of vat. - $firstSeven = self::randomNumber(7, true); + // Generate 7 numbers of vat. + $firstSeven = self::randomNumber( 7, true ); - // Generate checksum for number - $checksum = 97 - fmod($firstSeven, 97); + // Generate checksum for number + $checksum = 97 - fmod( $firstSeven, 97 ); - // '0' + 7 numbers + checksum - return sprintf('%s0%s%02d', $prefix, $firstSeven, $checksum); - } + // '0' + 7 numbers + checksum + return sprintf( '%s0%s%02d', $prefix, $firstSeven, $checksum ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Person.php index f4a60f9..20fb430 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Person.php @@ -4,105 +4,465 @@ use Faker\Provider\DateTime; -class Person extends \Faker\Provider\Person -{ - protected static $firstNameMale = [ - 'Aaron', 'Adam', 'Adrien', 'Alessio', 'Alexander', 'Alexandre', 'Alexis', - 'Antoine', 'Arne', 'Arthur', 'Axel', 'Ayoub', 'Baptiste', 'Benjamin', - 'Clément', 'Daan', 'David', 'Diego', 'Dylan', 'Elias', 'Emiel', 'Emile', - 'Enzo', 'Ethan', 'Ferre', 'Finn', 'Florian', 'Gabriel', 'Gilles', 'Guillaume', - 'Hamza', 'Hugo', 'Ilias', 'Janne', 'Jarne', 'Jasper', 'Jelle', 'Jonas', - 'Jules', 'Julien', 'Kato', 'Kobe', 'Lander', 'Lars', 'Leon', 'Liam', 'Linde', - 'Loïc', 'Louis', 'Lowie', 'Luca', 'Lucas', 'Lukas', 'Martin', 'Mathéo', - 'Mathias', 'Mathis', 'Mathys', 'Mats', 'Matteo', 'Mauro', 'Maxim', 'Maxime', - 'Mehdi', 'Milan', 'Mohamed', 'Mohammed', 'Nathan', 'Nicolas', 'Niels', - 'Noah', 'Noé', 'Nolan', 'Nore', 'Quinten', 'Raphaël', 'Rayan', 'Robbe', - 'Robin', 'Romain', 'Ruben', 'Rune', 'Sacha', 'Sam', 'Samuel', 'Sander', - 'Seppe', 'Simon', 'Stan', 'Théo', 'Thomas', 'Tibo', 'Tom', 'Tristan', 'Tuur', - 'Vic', 'Victor', 'Vince', 'Warre', 'Xander', 'Yanis', - ]; +class Person extends \Faker\Provider\Person { + protected static $firstNameMale = [ + 'Aaron', + 'Adam', + 'Adrien', + 'Alessio', + 'Alexander', + 'Alexandre', + 'Alexis', + 'Antoine', + 'Arne', + 'Arthur', + 'Axel', + 'Ayoub', + 'Baptiste', + 'Benjamin', + 'Clément', + 'Daan', + 'David', + 'Diego', + 'Dylan', + 'Elias', + 'Emiel', + 'Emile', + 'Enzo', + 'Ethan', + 'Ferre', + 'Finn', + 'Florian', + 'Gabriel', + 'Gilles', + 'Guillaume', + 'Hamza', + 'Hugo', + 'Ilias', + 'Janne', + 'Jarne', + 'Jasper', + 'Jelle', + 'Jonas', + 'Jules', + 'Julien', + 'Kato', + 'Kobe', + 'Lander', + 'Lars', + 'Leon', + 'Liam', + 'Linde', + 'Loïc', + 'Louis', + 'Lowie', + 'Luca', + 'Lucas', + 'Lukas', + 'Martin', + 'Mathéo', + 'Mathias', + 'Mathis', + 'Mathys', + 'Mats', + 'Matteo', + 'Mauro', + 'Maxim', + 'Maxime', + 'Mehdi', + 'Milan', + 'Mohamed', + 'Mohammed', + 'Nathan', + 'Nicolas', + 'Niels', + 'Noah', + 'Noé', + 'Nolan', + 'Nore', + 'Quinten', + 'Raphaël', + 'Rayan', + 'Robbe', + 'Robin', + 'Romain', + 'Ruben', + 'Rune', + 'Sacha', + 'Sam', + 'Samuel', + 'Sander', + 'Seppe', + 'Simon', + 'Stan', + 'Théo', + 'Thomas', + 'Tibo', + 'Tom', + 'Tristan', + 'Tuur', + 'Vic', + 'Victor', + 'Vince', + 'Warre', + 'Xander', + 'Yanis', + ]; - protected static $firstNameFemale = [ - 'Alexia', 'Alice', 'Alicia', 'Alyssa', 'Amber', 'Amélie', 'Amy', 'Anaïs', - 'Anna', 'Anouk', 'Axelle', 'Aya', 'Bo', 'Camille', 'Célia', 'Charlotte', - 'Chiara', 'Chloé', 'Clara', 'Clémence', 'Elena', 'Elias', 'Eline', 'Elisa', - 'Elise', 'Ella', 'Eloïse', 'Emilie', 'Emma', 'Estelle', 'Eva', 'Febe', - 'Femke', 'Fien', 'Fleur', 'Giulia', 'Hajar', 'Hanne', 'Helena', 'Ines', - 'Inès', 'Jade', 'Jana', 'Jeanne', 'Julia', 'Julie', 'Juliette', 'Kaat', - 'Lana', 'Lara', 'Laura', 'Laure', 'Léa', 'Lena', 'Lien', 'Lilou', 'Lily', - 'Lina', 'Lisa', 'Lise', 'Lola', 'Lore', 'Lotte', 'Louise', 'Luna', 'Maëlle', - 'Malak', 'Manon', 'Margaux', 'Margot', 'Marie', 'Marion', 'Maya', 'Merel', - 'Mila', 'Nina', 'Noa', 'Noémie', 'Noor', 'Nora', 'Océane', 'Olivia', 'Pauline', - 'Rania', 'Robin', 'Romane', 'Roos', 'Salma', 'Sara', 'Sarah', 'Senne', - 'Siebe', 'Sofia', 'Tess', 'Victoria', 'Wout', 'Yana', 'Yasmine', 'Zoé', 'Zoë', - ]; + protected static $firstNameFemale = [ + 'Alexia', + 'Alice', + 'Alicia', + 'Alyssa', + 'Amber', + 'Amélie', + 'Amy', + 'Anaïs', + 'Anna', + 'Anouk', + 'Axelle', + 'Aya', + 'Bo', + 'Camille', + 'Célia', + 'Charlotte', + 'Chiara', + 'Chloé', + 'Clara', + 'Clémence', + 'Elena', + 'Elias', + 'Eline', + 'Elisa', + 'Elise', + 'Ella', + 'Eloïse', + 'Emilie', + 'Emma', + 'Estelle', + 'Eva', + 'Febe', + 'Femke', + 'Fien', + 'Fleur', + 'Giulia', + 'Hajar', + 'Hanne', + 'Helena', + 'Ines', + 'Inès', + 'Jade', + 'Jana', + 'Jeanne', + 'Julia', + 'Julie', + 'Juliette', + 'Kaat', + 'Lana', + 'Lara', + 'Laura', + 'Laure', + 'Léa', + 'Lena', + 'Lien', + 'Lilou', + 'Lily', + 'Lina', + 'Lisa', + 'Lise', + 'Lola', + 'Lore', + 'Lotte', + 'Louise', + 'Luna', + 'Maëlle', + 'Malak', + 'Manon', + 'Margaux', + 'Margot', + 'Marie', + 'Marion', + 'Maya', + 'Merel', + 'Mila', + 'Nina', + 'Noa', + 'Noémie', + 'Noor', + 'Nora', + 'Océane', + 'Olivia', + 'Pauline', + 'Rania', + 'Robin', + 'Romane', + 'Roos', + 'Salma', + 'Sara', + 'Sarah', + 'Senne', + 'Siebe', + 'Sofia', + 'Tess', + 'Victoria', + 'Wout', + 'Yana', + 'Yasmine', + 'Zoé', + 'Zoë', + ]; - protected static $lastName = [ - 'Adam', 'Aerts', 'Amrani', 'André', 'Antoine', 'Baert', 'Bah', 'Barry', - 'Bastin', 'Bauwens', 'Benali', 'Bernard', 'Bertrand', 'Bodart', 'Bogaert', - 'Bogaerts', 'Borremans', 'Bosmans', 'Boulanger', 'Bourgeois', 'Brasseur', - 'Carlier', 'Celik', 'Ceulemans', 'Charlier', 'Christiaens', 'Claes', - 'Claessens', 'Claeys', 'Collard', 'Collignon', 'Collin', 'Cools', 'Coppens', - 'Cornelis', 'Cornet', 'Cuvelier', 'Daems', 'De Backer', 'De Clercq', 'De Cock', - 'De Coninck', 'De Coster', 'De Greef', 'De Groote', 'De Meyer', 'De Pauw', - 'De Ridder', 'De Smedt', 'De Smet', 'De Vos', 'De Wilde', 'De Winter', - 'Declercq', 'Delfosse', 'Delhaye', 'Delvaux', 'Demir', 'Denis', 'Deprez', - 'Descamps', 'Desmedt', 'Desmet', 'Dethier', 'Devos', 'Diallo', 'Dierckx', - 'Dogan', 'Dubois', 'Dumont', 'Dupont', 'El Amrani', 'Etienne', 'Evrard', - 'Fontaine', 'François', 'Geerts', 'Georges', 'Gérard', 'Gielen', 'Gilles', - 'Gillet', 'Gilson', 'Goethals', 'Goffin', 'Goossens', 'Grégoire', 'Guillaume', - 'Hajji', 'Hardy', 'Hendrickx', 'Henry', 'Herman', 'Hermans', 'Heylen', - 'Heymans', 'Hubert', 'Jacob', 'Jacobs', 'Jacques', 'Jacquet', 'Jansen', - 'Janssen', 'Janssens', 'Kaya', 'Lacroix', 'Lambert', 'Lambrechts', 'Laurent', - 'Lauwers', 'Lebrun', 'Leclercq', 'Lecocq', 'Lecomte', 'Lefebvre', 'Lefèvre', - 'Legrand', 'Lejeune', 'Lemaire', 'Lemmens', 'Lenaerts', 'Léonard', 'Leroy', - 'Libert', 'Lievens', 'Louis', 'Luyten', 'Maes', 'Mahieu', 'Marchal', 'Maréchal', - 'Martens', 'Martin', 'Massart', 'Masson', 'Mathieu', 'Meert', 'Mertens', - 'Messaoudi', 'Meunier', 'Michaux', 'Michel', 'Michiels', 'Moens', 'Moreau', - 'Nguyen', 'Nicolas', 'Nijs', 'Noël', 'Parmentier', 'Pauwels', 'Peeters', - 'Petit', 'Pierre', 'Pieters', 'Piette', 'Piron', 'Pirotte', 'Poncelet', - 'Raes', 'Remy', 'Renard', 'Robert', 'Roels', 'Roland', 'Rousseau', 'Sahin', - 'Saidi', 'Schmitz', 'Segers', 'Servais', 'Simon', 'Simons', 'Smet', 'Smets', - 'Somers', 'Stevens', 'Thijs', 'Thiry', 'Thomas', 'Thys', 'Timmermans', - 'Toussaint', 'Tran', 'Urbain', 'Van Acker', 'Van Damme', 'Van de Velde', - 'Van den Bossche', 'Van den Broeck', 'Van Dyck', 'Van Hecke', 'Van Hoof', - 'Vandamme', 'Vandenberghe', 'Verbeeck', 'Verbeke', 'Verbruggen', 'Vercammen', - 'Verhaegen', 'Verhaeghe', 'Verhelst', 'Verheyen', 'Verhoeven', 'Verlinden', - 'Vermeersch', 'Vermeiren', 'Vermeulen', 'Verschueren', 'Verstraete', 'Verstraeten', - 'Vervoort', 'Wauters', 'Willems', 'Wouters', 'Wuyts', 'Yildirim', 'Yilmaz', - ]; + protected static $lastName = [ + 'Adam', + 'Aerts', + 'Amrani', + 'André', + 'Antoine', + 'Baert', + 'Bah', + 'Barry', + 'Bastin', + 'Bauwens', + 'Benali', + 'Bernard', + 'Bertrand', + 'Bodart', + 'Bogaert', + 'Bogaerts', + 'Borremans', + 'Bosmans', + 'Boulanger', + 'Bourgeois', + 'Brasseur', + 'Carlier', + 'Celik', + 'Ceulemans', + 'Charlier', + 'Christiaens', + 'Claes', + 'Claessens', + 'Claeys', + 'Collard', + 'Collignon', + 'Collin', + 'Cools', + 'Coppens', + 'Cornelis', + 'Cornet', + 'Cuvelier', + 'Daems', + 'De Backer', + 'De Clercq', + 'De Cock', + 'De Coninck', + 'De Coster', + 'De Greef', + 'De Groote', + 'De Meyer', + 'De Pauw', + 'De Ridder', + 'De Smedt', + 'De Smet', + 'De Vos', + 'De Wilde', + 'De Winter', + 'Declercq', + 'Delfosse', + 'Delhaye', + 'Delvaux', + 'Demir', + 'Denis', + 'Deprez', + 'Descamps', + 'Desmedt', + 'Desmet', + 'Dethier', + 'Devos', + 'Diallo', + 'Dierckx', + 'Dogan', + 'Dubois', + 'Dumont', + 'Dupont', + 'El Amrani', + 'Etienne', + 'Evrard', + 'Fontaine', + 'François', + 'Geerts', + 'Georges', + 'Gérard', + 'Gielen', + 'Gilles', + 'Gillet', + 'Gilson', + 'Goethals', + 'Goffin', + 'Goossens', + 'Grégoire', + 'Guillaume', + 'Hajji', + 'Hardy', + 'Hendrickx', + 'Henry', + 'Herman', + 'Hermans', + 'Heylen', + 'Heymans', + 'Hubert', + 'Jacob', + 'Jacobs', + 'Jacques', + 'Jacquet', + 'Jansen', + 'Janssen', + 'Janssens', + 'Kaya', + 'Lacroix', + 'Lambert', + 'Lambrechts', + 'Laurent', + 'Lauwers', + 'Lebrun', + 'Leclercq', + 'Lecocq', + 'Lecomte', + 'Lefebvre', + 'Lefèvre', + 'Legrand', + 'Lejeune', + 'Lemaire', + 'Lemmens', + 'Lenaerts', + 'Léonard', + 'Leroy', + 'Libert', + 'Lievens', + 'Louis', + 'Luyten', + 'Maes', + 'Mahieu', + 'Marchal', + 'Maréchal', + 'Martens', + 'Martin', + 'Massart', + 'Masson', + 'Mathieu', + 'Meert', + 'Mertens', + 'Messaoudi', + 'Meunier', + 'Michaux', + 'Michel', + 'Michiels', + 'Moens', + 'Moreau', + 'Nguyen', + 'Nicolas', + 'Nijs', + 'Noël', + 'Parmentier', + 'Pauwels', + 'Peeters', + 'Petit', + 'Pierre', + 'Pieters', + 'Piette', + 'Piron', + 'Pirotte', + 'Poncelet', + 'Raes', + 'Remy', + 'Renard', + 'Robert', + 'Roels', + 'Roland', + 'Rousseau', + 'Sahin', + 'Saidi', + 'Schmitz', + 'Segers', + 'Servais', + 'Simon', + 'Simons', + 'Smet', + 'Smets', + 'Somers', + 'Stevens', + 'Thijs', + 'Thiry', + 'Thomas', + 'Thys', + 'Timmermans', + 'Toussaint', + 'Tran', + 'Urbain', + 'Van Acker', + 'Van Damme', + 'Van de Velde', + 'Van den Bossche', + 'Van den Broeck', + 'Van Dyck', + 'Van Hecke', + 'Van Hoof', + 'Vandamme', + 'Vandenberghe', + 'Verbeeck', + 'Verbeke', + 'Verbruggen', + 'Vercammen', + 'Verhaegen', + 'Verhaeghe', + 'Verhelst', + 'Verheyen', + 'Verhoeven', + 'Verlinden', + 'Vermeersch', + 'Vermeiren', + 'Vermeulen', + 'Verschueren', + 'Verstraete', + 'Verstraeten', + 'Vervoort', + 'Wauters', + 'Willems', + 'Wouters', + 'Wuyts', + 'Yildirim', + 'Yilmaz', + ]; - /** - * Belgian Rijksregister numbers are used to identify each citizen, - * it consists of three parts, the person's day of birth, in the - * format 'ymd', followed by a number between 1 and 997, odd for - * males, even for females. The last part is used to check if it's - * a valid number. - * - * @see https://nl.wikipedia.org/wiki/Rijksregisternummer - * - * @param string|null $gender 'male', 'female' or null for any - * - * @return string - */ - public static function rrn($gender = null) - { - $middle = self::numberBetween(1, 997); + /** + * Belgian Rijksregister numbers are used to identify each citizen, + * it consists of three parts, the person's day of birth, in the + * format 'ymd', followed by a number between 1 and 997, odd for + * males, even for females. The last part is used to check if it's + * a valid number. + * + * @see https://nl.wikipedia.org/wiki/Rijksregisternummer + * + * @param string|null $gender 'male', 'female' or null for any + * + * @return string + */ + public static function rrn( $gender = null ) { + $middle = self::numberBetween( 1, 997 ); - if ($gender === static::GENDER_MALE) { - $middle = $middle % 2 === 1 ? $middle : $middle + 1; - } elseif ($gender === static::GENDER_FEMALE) { - $middle = $middle % 2 === 0 ? $middle : $middle + 1; - } - $middle = sprintf('%03d', $middle); + if ( $gender === static::GENDER_MALE ) { + $middle = $middle % 2 === 1 ? $middle : $middle + 1; + } elseif ( $gender === static::GENDER_FEMALE ) { + $middle = $middle % 2 === 0 ? $middle : $middle + 1; + } + $middle = sprintf( '%03d', $middle ); - $date = DateTime::dateTimeThisCentury(); - $dob = sprintf('%06d', $date->format('ymd')); - $help = $date->format('Y') >= 2000 ? 2 : null; + $date = DateTime::dateTimeThisCentury(); + $dob = sprintf( '%06d', $date->format( 'ymd' ) ); + $help = $date->format( 'Y' ) >= 2000 ? 2 : null; - $check = (int) ($help . $dob . $middle); - $rest = sprintf('%02d', 97 - ($check % 97)); + $check = (int) ( $help . $dob . $middle ); + $rest = sprintf( '%02d', 97 - ( $check % 97 ) ); - return $dob . $middle . $rest; - } + return $dob . $middle . $rest; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/PhoneNumber.php index 9e4a391..441734f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/PhoneNumber.php @@ -2,19 +2,18 @@ namespace Faker\Provider\nl_BE; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+32(0)########', - '+32(0)### ######', - '+32(0)# #######', - '0#########', - '0### ######', - '0### ### ###', - '0### ## ## ##', - '0## ######', - '0## ## ## ##', - '0# #######', - '0# ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+32(0)########', + '+32(0)### ######', + '+32(0)# #######', + '0#########', + '0### ######', + '0### ### ###', + '0### ## ## ##', + '0## ######', + '0## ## ## ##', + '0# #######', + '0# ### ## ##', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Text.php b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Text.php index de129b8..97fb711 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_BE/Text.php @@ -2,33 +2,32 @@ namespace Faker\Provider\nl_BE; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of De legende en de heldhaftige, vroolijke en - * roemrijke daden van Uilenspiegel en Lamme Goedzak in Vlaanderenland en elders, by Charles de Coster - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org/license - * - * - * Title: De legende en de heldhaftige, vroolijke en roemrijke daden - * van Uilenspiegel en Lamme Goedzak in Vlaanderenland en elders - * - * Author: Charles de Coster - * - * Release Date: July 3, 2005 [EBook #11208] - * [Last updated: March 14, 2015] - * - * Language: Dutch - * - * @see http://www.gutenberg.org/cache/epub/11208/pg11208.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of De legende en de heldhaftige, vroolijke en + * roemrijke daden van Uilenspiegel en Lamme Goedzak in Vlaanderenland en elders, by Charles de Coster + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org/license + * + * + * Title: De legende en de heldhaftige, vroolijke en roemrijke daden + * van Uilenspiegel en Lamme Goedzak in Vlaanderenland en elders + * + * Author: Charles de Coster + * + * Release Date: July 3, 2005 [EBook #11208] + * [Last updated: March 14, 2015] + * + * Language: Dutch + * + * @see http://www.gutenberg.org/cache/epub/11208/pg11208.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' De legende en de heldhaftige, vroolijke en roemrijke daden van Uilenspiegel en Lamme Goedzak diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Address.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Address.php index e256ae1..5820214 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Address.php @@ -2,152 +2,3212 @@ namespace Faker\Provider\nl_NL; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%', '%#', '%##', '%###', '%-?', '%#-?', '%?', '%#?', '%-#', '%#-##']; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%', '%#', '%##', '%###', '%-?', '%#-?', '%?', '%#?', '%-#', '%#-##' ]; - protected static $postcodes = [ - '1013PT', '1015GZ', '1053GS', '1058EG', '1060PM', '1068NE', '1072NL', '1073SK', '1074JA', '1078NH', '1111LW', - '1121JC', '1141RP', '1141VM', '1161TC', '1183CH', '1187RK', '1188LP', '1271KZ', '1312SG', '1323CW', '1325EZ', - '1333EJ', '1334DP', '1339VJ', '1351AC', '1352AC', '1354LM', '1356AC', '1391RX', '1406MZ', '1411JM', '1435GS', - '1443CK', '1444TM', '1448VB', '1505WL', '1509GP', '1531CZ', '1531KA', '1561ZV', '1602EP', '1606BS', '1619KB', - '1674PG', '1689BJ', '1702LB', '1761GN', '1775BR', '1782SK', '1788WE', '1862BK', '1901CT', '1911CH', '1949AN', - '1951MS', '1962PL', '1972DA', '2015HA', '2022RM', '2171XJ', '2231BB', '2231DG', '2231NZ', '2242PK', '2245VZ', - '2261BH', '2262EA', '2264BK', '2264TS', '2266AA', '2274GD', '2316XD', '2332KV', '2333CW', '2403CG', '2512VH', - '2516XJ', '2518ER', '2521SZ', '2531BH', '2544KR', '2562VH', '2564CJ', '2595BK', '2597PL', '2613DC', '2622DX', - '2623HS', '2631VK', '2671LD', '2675EE', '2685VZ', '2771JD', '2801JS', '2802ED', '2803ZN', '2841AK', '2903XH', - '2905PN', '2908KA', '2922AG', '2935RD', '2951JC', '3015XB', '3021WL', '3026RC', '3034VE', '3035CE', '3044AB', - '3054XL', '3055AK', '3068DL', '3069HH', '3073DW', '3075AH', '3132CS', '3135EX', '3143KB', '3145CN', '3202AN', - '3208LB', '3209BE', '3222CK', '3223VD', '3232TN', '3235NS', '3241BG', '3247CN', '3252CJ', '3255SC', '3274LD', - '3312CV', '3317HR', '3319BN', '3319RG', '3351RJ', '3411AK', '3439LB', '3511PL', '3513GS', '3514CR', '3515GC', - '3527EJ', '3551GH', '3572KA', '3573AL', '3608VJ', '3628AC', '3704MK', '3731EP', '3739JJ', '3741ZC', '3771RK', - '3824HR', '3843BB', '3871GE', '3882CG', '3892BA', '3904NB', '3981KE', '3985SG', '4011KH', '4021EB', '4103XV', - '4131NE', '4142WE', '4201BS', '4209SE', '4261ZC', '4283HA', '4307LC', '4334HG', '4337VE', '4371EN', '4382JC', - '4382NC', '4385AS', '4401CA', '4401CG', '4521BW', '4553NG', '4581CA', '4614BD', '4614GX', '4698BG', '4702HJ', - '4703LB', '4706CN', '4707WJ', '4735AS', '4793CM', '4797HE', '4811SH', '4814NJ', '4815CJ', '4835GG', '4871DD', - '4921PK', '5011HS', '5013BE', '5061NA', '5103KD', '5105AC', '5111XN', '5126NT', '5126WR', '5151LR', '5151RZ', - '5152VB', '5171GH', '5223BK', '5231PS', '5268GE', '5298AL', '5301HE', '5403NJ', '5469AT', '5481NC', '5482XE', - '5575CS', '5611LP', '5644KR', '5645KR', '5651LX', '5654AX', '5684CP', '5712BR', '5751LD', '5753RJ', '5754GE', - '5912SP', '6019CW', '6021BT', '6021KJ', '6049BL', '6085EX', '6097DG', '6097ZH', '6118BW', '6163KG', '6164GP', - '6165XE', '6222BT', '6222VD', '6222VJ', '6226WC', '6365BJ', '6411ND', '6415BX', '6417BV', '6461JD', '6524SR', - '6534XT', '6538CX', '6538RV', '6541AD', '6581BZ', '6584AM', '6605DP', '6621KN', '6651KG', '6655AE', '6671DV', - '6673DB', '6716ND', '6741BR', '6822JL', '6823JD', '6871ZM', '6905SG', '6915TT', '6922EG', '6942LX', '6952ET', - '6961XV', '6971GW', '7009CN', '7011JD', '7051JB', '7121LZ', '7136LH', '7261CN', '7273PP', '7311AL', '7312DG', - '7314BK', '7315CW', '7323KB', '7361TD', '7391CZ', '7391SG', '7411VR', '7425EB', '7441GB', '7442CW', '7442GX', - '7481DX', '7481SL', '7544XD', '7557VC', '7558GR', '7574PG', '7606XL', '7607RE', '7615RD', '7622VX', '7627SE', - '7642EN', '7645AL', '7678RM', '7681ZA', '7707RL', '7722LG', '7722XJ', '7761AJ', '7825VC', '7833JJ', '7906NK', - '7942JG', '7957DD', '7981BC', '8061BA', '8075AT', '8121HA', '8121SB', '8141HR', '8152BA', '8171JC', '8181VZ', - '8226HJ', '8231DH', '8231JL', '8252HG', '8262EA', '8265GX', '8302AR', '8321KC', '8322EH', '8421PG', '8431MC', - '8446CM', '8472DA', '8502CA', '8521DE', '8573WP', '8602XV', '8605AV', '8606XZ', '8701EG', '8701ZE', '8711EJ', - '8802VB', '8861KZ', '8862AC', '8933EK', '9057LC', '9061AS', '9073LK', '9164LC', '9201TM', '9203PZ', '9269SV', - '9269SZ', '9289ZH', '9354VD', '9401MA', '9406BM', '9431GV', '9501AM', '9502CX', '9642EA', '9651AR', '9675LR', - '9712LJ', '9742GT', '9745EH', '9751TA', '9751TS', '9752BK', '9752GE', '9801TA', '9901EH', '9991EG', '9999XK', - ]; + protected static $postcodes = [ + '1013PT', + '1015GZ', + '1053GS', + '1058EG', + '1060PM', + '1068NE', + '1072NL', + '1073SK', + '1074JA', + '1078NH', + '1111LW', + '1121JC', + '1141RP', + '1141VM', + '1161TC', + '1183CH', + '1187RK', + '1188LP', + '1271KZ', + '1312SG', + '1323CW', + '1325EZ', + '1333EJ', + '1334DP', + '1339VJ', + '1351AC', + '1352AC', + '1354LM', + '1356AC', + '1391RX', + '1406MZ', + '1411JM', + '1435GS', + '1443CK', + '1444TM', + '1448VB', + '1505WL', + '1509GP', + '1531CZ', + '1531KA', + '1561ZV', + '1602EP', + '1606BS', + '1619KB', + '1674PG', + '1689BJ', + '1702LB', + '1761GN', + '1775BR', + '1782SK', + '1788WE', + '1862BK', + '1901CT', + '1911CH', + '1949AN', + '1951MS', + '1962PL', + '1972DA', + '2015HA', + '2022RM', + '2171XJ', + '2231BB', + '2231DG', + '2231NZ', + '2242PK', + '2245VZ', + '2261BH', + '2262EA', + '2264BK', + '2264TS', + '2266AA', + '2274GD', + '2316XD', + '2332KV', + '2333CW', + '2403CG', + '2512VH', + '2516XJ', + '2518ER', + '2521SZ', + '2531BH', + '2544KR', + '2562VH', + '2564CJ', + '2595BK', + '2597PL', + '2613DC', + '2622DX', + '2623HS', + '2631VK', + '2671LD', + '2675EE', + '2685VZ', + '2771JD', + '2801JS', + '2802ED', + '2803ZN', + '2841AK', + '2903XH', + '2905PN', + '2908KA', + '2922AG', + '2935RD', + '2951JC', + '3015XB', + '3021WL', + '3026RC', + '3034VE', + '3035CE', + '3044AB', + '3054XL', + '3055AK', + '3068DL', + '3069HH', + '3073DW', + '3075AH', + '3132CS', + '3135EX', + '3143KB', + '3145CN', + '3202AN', + '3208LB', + '3209BE', + '3222CK', + '3223VD', + '3232TN', + '3235NS', + '3241BG', + '3247CN', + '3252CJ', + '3255SC', + '3274LD', + '3312CV', + '3317HR', + '3319BN', + '3319RG', + '3351RJ', + '3411AK', + '3439LB', + '3511PL', + '3513GS', + '3514CR', + '3515GC', + '3527EJ', + '3551GH', + '3572KA', + '3573AL', + '3608VJ', + '3628AC', + '3704MK', + '3731EP', + '3739JJ', + '3741ZC', + '3771RK', + '3824HR', + '3843BB', + '3871GE', + '3882CG', + '3892BA', + '3904NB', + '3981KE', + '3985SG', + '4011KH', + '4021EB', + '4103XV', + '4131NE', + '4142WE', + '4201BS', + '4209SE', + '4261ZC', + '4283HA', + '4307LC', + '4334HG', + '4337VE', + '4371EN', + '4382JC', + '4382NC', + '4385AS', + '4401CA', + '4401CG', + '4521BW', + '4553NG', + '4581CA', + '4614BD', + '4614GX', + '4698BG', + '4702HJ', + '4703LB', + '4706CN', + '4707WJ', + '4735AS', + '4793CM', + '4797HE', + '4811SH', + '4814NJ', + '4815CJ', + '4835GG', + '4871DD', + '4921PK', + '5011HS', + '5013BE', + '5061NA', + '5103KD', + '5105AC', + '5111XN', + '5126NT', + '5126WR', + '5151LR', + '5151RZ', + '5152VB', + '5171GH', + '5223BK', + '5231PS', + '5268GE', + '5298AL', + '5301HE', + '5403NJ', + '5469AT', + '5481NC', + '5482XE', + '5575CS', + '5611LP', + '5644KR', + '5645KR', + '5651LX', + '5654AX', + '5684CP', + '5712BR', + '5751LD', + '5753RJ', + '5754GE', + '5912SP', + '6019CW', + '6021BT', + '6021KJ', + '6049BL', + '6085EX', + '6097DG', + '6097ZH', + '6118BW', + '6163KG', + '6164GP', + '6165XE', + '6222BT', + '6222VD', + '6222VJ', + '6226WC', + '6365BJ', + '6411ND', + '6415BX', + '6417BV', + '6461JD', + '6524SR', + '6534XT', + '6538CX', + '6538RV', + '6541AD', + '6581BZ', + '6584AM', + '6605DP', + '6621KN', + '6651KG', + '6655AE', + '6671DV', + '6673DB', + '6716ND', + '6741BR', + '6822JL', + '6823JD', + '6871ZM', + '6905SG', + '6915TT', + '6922EG', + '6942LX', + '6952ET', + '6961XV', + '6971GW', + '7009CN', + '7011JD', + '7051JB', + '7121LZ', + '7136LH', + '7261CN', + '7273PP', + '7311AL', + '7312DG', + '7314BK', + '7315CW', + '7323KB', + '7361TD', + '7391CZ', + '7391SG', + '7411VR', + '7425EB', + '7441GB', + '7442CW', + '7442GX', + '7481DX', + '7481SL', + '7544XD', + '7557VC', + '7558GR', + '7574PG', + '7606XL', + '7607RE', + '7615RD', + '7622VX', + '7627SE', + '7642EN', + '7645AL', + '7678RM', + '7681ZA', + '7707RL', + '7722LG', + '7722XJ', + '7761AJ', + '7825VC', + '7833JJ', + '7906NK', + '7942JG', + '7957DD', + '7981BC', + '8061BA', + '8075AT', + '8121HA', + '8121SB', + '8141HR', + '8152BA', + '8171JC', + '8181VZ', + '8226HJ', + '8231DH', + '8231JL', + '8252HG', + '8262EA', + '8265GX', + '8302AR', + '8321KC', + '8322EH', + '8421PG', + '8431MC', + '8446CM', + '8472DA', + '8502CA', + '8521DE', + '8573WP', + '8602XV', + '8605AV', + '8606XZ', + '8701EG', + '8701ZE', + '8711EJ', + '8802VB', + '8861KZ', + '8862AC', + '8933EK', + '9057LC', + '9061AS', + '9073LK', + '9164LC', + '9201TM', + '9203PZ', + '9269SV', + '9269SZ', + '9289ZH', + '9354VD', + '9401MA', + '9406BM', + '9431GV', + '9501AM', + '9502CX', + '9642EA', + '9651AR', + '9675LR', + '9712LJ', + '9742GT', + '9745EH', + '9751TA', + '9751TS', + '9752BK', + '9752GE', + '9801TA', + '9901EH', + '9991EG', + '9999XK', + ]; - protected static $streetNameFormats = ['{{lastName}}{{streetSuffix}}']; + protected static $streetNameFormats = [ '{{lastName}}{{streetSuffix}}' ]; - protected static $streetAddressFormats = ['{{streetName}} {{buildingNumber}}']; + protected static $streetAddressFormats = [ '{{streetName}} {{buildingNumber}}' ]; - protected static $cityFormats = ['{{cityName}}']; + protected static $cityFormats = [ '{{cityName}}' ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - protected static $streetSuffix = [ - 'baan', 'boulevard', 'dreef', 'hof', 'laan', 'pad', 'ring', 'singel', 'steeg', 'straat', 'weg', - ]; + protected static $streetSuffix = [ + 'baan', + 'boulevard', + 'dreef', + 'hof', + 'laan', + 'pad', + 'ring', + 'singel', + 'steeg', + 'straat', + 'weg', + ]; - /** - * Export of BAG (http://bag.vrom.nl/) - * last updated 2012/11/09 - * - * @var array - */ - protected static $cityNames = [ - "'s Gravenmoer", "'s-Graveland", "'s-Gravendeel", "'s-Gravenhage", "'s-Gravenpolder", "'s-Gravenzande", "'s-Heer Abtskerke", "'s-Heer Arendskerke", "'s-Heer Hendrikskinderen", "'s-Heerenberg", "'s-Heerenbroek", "'s-Heerenhoek", "'s-Hertogenbosch", "'t Goy", "'t Haantje", "'t Harde", "'t Loo Oldebroek", "'t Veld", "'t Waar", "'t Zand", "'t Zandt", '2e Valthermond', - 'Aadorp', 'Aagtekerke', 'Aalden', 'Aalsmeer', 'Aalsmeerderbrug', 'Aalst', 'Aalsum', 'Aalten', 'Aardenburg', 'Aarlanderveen', 'Aarle-Rixtel', 'Aartswoud', 'Abbega', 'Abbekerk', 'Abbenbroek', 'Abbenes', 'Abcoude', 'Achlum', 'Achterveld', 'Achterveld', 'Achthuizen', 'Achtmaal', 'Acquoy', 'Adorp', 'Aduard', 'Aerdenhout', 'Aerdt', 'Afferden L', 'Afferden', 'Agelo', 'Akersloot', 'Akkrum', 'Akmarijp', 'Albergen', 'Alblasserdam', 'Alde Leie', 'Aldeboarn', 'Aldtsjerk', 'Alem', 'Alkmaar', 'Allingawier', 'Almelo', 'Almen', 'Almere', 'Almkerk', 'Alphen aan den Rijn', 'Alphen', 'Alphen', 'Alteveer gem Hoogeveen', 'Alteveer', 'Alteveer', 'Alteveer', 'Altforst', 'Ambt Delden', 'Ameide', 'Amen', 'America', 'Amerongen', 'Amersfoort', 'Ammerstol', 'Ammerzoden', 'Amstelhoek', 'Amstelveen', 'Amstenrade', 'Amsterdam Zuidoost', 'Amsterdam', 'Andel', 'Andelst', 'Anderen', 'Andijk', 'Ane', 'Anerveen', 'Anevelde', 'Angeren', 'Angerlo', 'Anjum', 'Ankeveen', 'Anloo', 'Anna Paulowna', 'Annen', 'Annerveenschekanaal', 'Ansen', 'Ansen', 'Apeldoorn', 'Apeldoorn', 'Appelscha', 'Appeltern', 'Appingedam', 'Arcen', 'Arkel', 'Arnemuiden', 'Arnhem', 'Arum', 'Asch', 'Asperen', 'Assen', 'Assendelft', 'Asten', 'Augsbuurt', 'Augustinusga', 'Austerlitz', 'Avenhorn', 'Axel', 'Azewijn', - 'Baaiduinen', 'Baaium', 'Baak', 'Baambrugge', 'Baard', 'Baarland', 'Baarle-Nassau', 'Baarlo', 'Baarlo', 'Baarn', 'Baars', 'Babberich', 'Babyloniënbroek', 'Bad Nieuweschans', 'Badhoevedorp', 'Baexem', 'Baflo', 'Bakel', 'Bakhuizen', 'Bakkeveen', 'Balgoij', 'Balinge', 'Balk', 'Balkbrug', 'Balloo', 'Balloërveld', 'Ballum', 'Baneheide', 'Banholt', 'Bant', 'Bantega', 'Barchem', 'Barendrecht', 'Barger-Compascuum', 'Barneveld', 'Barsingerhorn', 'Basse', 'Batenburg', 'Bathmen', 'Bavel AC', 'Bavel', 'Bears', 'Bedum', 'Beegden', 'Beek en Donk', 'Beek', 'Beek', 'Beek', 'Beekbergen', 'Beemte Broekland', 'Beers NB', 'Beerta', 'Beerze', 'Beerzerveld', 'Beesd', 'Beesel', 'Beets', 'Beetsterzwaag', 'Beilen', 'Beinsdorp', 'Belfeld', 'Bellingwolde', 'Belt-Schutsloot', 'Beltrum', 'Bemelen', 'Bemmel', 'Beneden-Leeuwen', 'Bennebroek', 'Bennekom', 'Benneveld', 'Benningbroek', 'Benschop', 'Bentelo', 'Benthuizen', 'Bentveld', 'Berg en Dal', 'Berg en Dal', 'Berg en Terblijt', 'Bergambacht', 'Bergeijk', 'Bergen (NH)', 'Bergen L', 'Bergen aan Zee', 'Bergen op Zoom', 'Bergentheim', 'Bergharen', 'Berghem', 'Bergschenhoek', 'Beringe', 'Berkel en Rodenrijs', 'Berkel-Enschot', 'Berkenwoude', 'Berkhout', 'Berlicum', 'Berltsum', 'Bern', 'Best', 'Beugen', 'Beuningen Gld', 'Beuningen', 'Beusichem', 'Beutenaken', 'Beverwijk', 'Biddinghuizen', 'Bierum', 'Biervliet', 'Biervliet', 'Biest-Houtakker', 'Biezenmortel', 'Biggekerke', 'Bilthoven', 'Bingelrade', 'Bitgum', 'Bitgummole', 'Bladel', 'Blankenham', 'Blaricum', 'Blauwestad', 'Blauwhuis', 'Bleiswijk', 'Blesdijke', 'Bleskensgraaf ca', 'Blessum', 'Blije', 'Blijham', 'Blitterswijck', 'Bloemendaal', 'Blokker', 'Blokzijl', 'Boazum', 'Bocholtz', 'Bodegraven', 'Boekel', 'Boelenslaan', 'Boer', 'Boerakker', 'Boerakker', 'Boesingheliede', 'Boijl', 'Boksum', 'Bolsward', 'Bontebok', 'Boornbergum', 'Boornzwaag', 'Borculo', 'Borger', 'Borgercompagnie', 'Borgercompagnie', 'Borgsweer', 'Born', 'Borne', 'Bornerbroek', 'Bornwird', 'Borssele', 'Bosch en Duin', 'Boschoord', 'Boskoop', 'Bosschenhoofd', 'Botlek Rotterdam', 'Bourtange', 'Boven-Leeuwen', 'Bovenkarspel', 'Bovensmilde', 'Boxmeer', 'Boxtel', 'Braamt', 'Brakel', 'Brandwijk', 'Brantgum', 'Breda', 'Bredevoort', 'Breedenbroek', 'Breezand', 'Breezanddijk', 'Breskens', 'Breukelen', 'Breukeleveen', 'Brielle', 'Briltil', 'Britsum', 'Britswert', 'Broek in Waterland', 'Broek op Langedijk', 'Broek', 'Broekhuizen', 'Broekhuizen', 'Broekhuizenvorst', 'Broekland', 'Bronkhorst', 'Bronneger', 'Bronnegerveen', 'Brouwershaven', 'Bruchem', 'Brucht', 'Bruchterveld', 'Bruinehaar', 'Bruinisse', 'Brummen', 'Brunssum', 'Bruntinge', 'Buchten', 'Budel', 'Budel-Dorplein', 'Budel-Schoot', 'Buggenum', 'Buinen', 'Buinerveen', 'Buitenkaag', 'Buitenpost', 'Bunde', 'Bunne', 'Bunnik', 'Bunschoten-Spakenburg', 'Burdaard', 'Buren', 'Buren', 'Burgerbrug', 'Burgerveen', 'Burgh-Haamstede', 'Burgum', 'Burgwerd', 'Burum', 'Bussum', 'Buurmalsen', 'Buurmalsen', - 'Cadier en Keer', 'Cadzand', 'Callantsoog', 'Capelle aan den IJssel', 'Castelre', 'Castenray', 'Casteren', 'Castricum', 'Chaam', 'Clinge', 'Coevorden', 'Colijnsplaat', 'Collendoorn', 'Colmschate', 'Cornwerd', 'Cothen', 'Creil', 'Cromvoirt', 'Cruquius', 'Cuijk', 'Culemborg', - 'Daarle', 'Daarlerveen', 'Dalem', 'Dalen', 'Dalerpeel', 'Dalerveen', 'Dalfsen', 'Dalmsholte', 'Darp', 'De Bilt', 'De Blesse', 'De Bult', 'De Cocksdorp', 'De Falom', 'De Glind', 'De Goorn', 'De Groeve', 'De Heen', 'De Heurne', 'De Hoeve', 'De Kiel', 'De Klomp', 'De Knipe', 'De Koog', 'De Krim', 'De Kwakel', 'De Lier', 'De Meern', 'De Moer', 'De Mortel', 'De Pol', 'De Punt', 'De Rijp', 'De Rips', 'De Schiphorst', 'De Steeg', 'De Tike', 'De Veenhoop', 'De Waal', 'De Weere', 'De Westereen', 'De Wilgen', 'De Wilp', 'De Zilk', 'Dearsum', 'Dedemsvaart', 'Dedgum', 'Deelen', 'Deest', 'Deil', 'Deinum', 'Delden', 'Delfgauw', 'Delfstrahuizen', 'Delft', 'Delfzijl', 'Delwijnen', 'Demen', 'Den Andel', 'Den Bommel', 'Den Burg', 'Den Dolder', 'Den Dungen', 'Den Ham', 'Den Ham', 'Den Helder', 'Den Hoorn', 'Den Hoorn', 'Den Horn', 'Den Hout', 'Den Ilp', 'Den Oever', 'Den Velde', 'Denekamp', 'Deurne', 'Deurningen', 'Deurningen', 'Deursen-Dennenburg', 'Deurze', 'Deventer', 'Didam', 'Dieden', 'Diemen', 'Diepenheim', 'Diepenveen', 'Dieren', 'Diessen', 'Diever', 'Dieverbrug', 'Diffelen', 'Dijken', 'Dinteloord', 'Dinxperlo', 'Diphoorn', 'Dirkshorn', 'Dirksland', 'Dodewaard', 'Doenrade', 'Doesburg', 'Doetinchem', 'Doeveren', 'Doezum', 'Dokkum', 'Doldersum', 'Domburg', 'Donderen', 'Dongen', 'Dongjum', 'Doniaga', 'Donkerbroek', 'Doorn', 'Doornenburg', 'Doornspijk', 'Doorwerth', 'Dordrecht', 'Dorst', 'Drachten', 'Drachten-Azeven', 'Drachtstercompagnie', 'Dreischor', 'Drempt', 'Dreumel', 'Driebergen-Rijsenburg', 'Drieborg', 'Driebruggen', 'Driehuis NH', 'Driehuizen', 'Driel', 'Driewegen', 'Driezum', 'Drijber', 'Drimmelen', 'Drogeham', 'Drogteropslagen', 'Drongelen', 'Dronryp', 'Dronten', 'Drouwen', 'Drouwenermond', 'Drouwenerveen', 'Drunen', 'Druten', 'Duiven', 'Duivendrecht', 'Duizel', 'Dussen', 'Dwingeloo', - 'Eagum', 'Easterein', 'Easterlittens', 'Eastermar', 'Easterwierrum', 'Echt', 'Echteld', 'Echten', 'Echten', 'Echtenerbrug', 'Eck en Wiel', 'Eckelrade', 'Edam', 'Ede', 'Ederveen', 'Ee', 'Eede', 'Eefde', 'Eelde', 'Eelderwolde', 'Eemdijk', 'Eemnes', 'Eemshaven', 'Een', 'Een-West', 'Eenrum', 'Eenum', 'Eerbeek', 'Eersel', 'Ees', 'Eesergroen', 'Eeserveen', 'Eesterga', 'Eesveen', 'Eethen', 'Eext', 'Eexterveen', 'Eexterveenschekanaal', 'Eexterzandvoort', 'Egchel', 'Egmond aan Zee', 'Egmond aan den Hoef', 'Egmond-Binnen', 'Eibergen', 'Eijsden', 'Eindhoven', 'Einighausen', 'Ekehaar', 'Elahuizen', 'Elburg', 'Eldersloo', 'Eleveld', 'Elim', 'Elkenrade', 'Ell', 'Ellecom', 'Ellemeet', 'Ellertshaar', 'Ellewoutsdijk', 'Elp', 'Elsendorp', 'Elshout', 'Elsloo', 'Elsloo', 'Elspeet', 'Elst Ut', 'Elst', 'Emmeloord', 'Emmen', 'Emmer-Compascuum', 'Empe', 'Emst', 'Engwierum', 'Enkhuizen', 'Ens', 'Enschede', 'Enspijk', 'Enter', 'Enumatil', 'Epe', 'Epen', 'Eppenhuizen', 'Epse', 'Erica', 'Erichem', 'Erlecom', 'Erm', 'Ermelo', 'Erp', 'Esbeek', 'Esch', 'Escharen', 'Espel', 'Est', 'Etten', 'Etten-Leur', 'Europoort Rotterdam', 'Eursinge', 'Eursinge', 'Everdingen', 'Evertsoord', 'Ewijk', 'Exloo', 'Exloërveen', 'Exmorra', 'Eygelshoven', 'Eys', 'Ezinge', - 'Farmsum', 'Feanwâlden', 'Feerwerd', 'Feinsum', 'Ferwert', 'Ferwoude', 'Fijnaart', 'Finsterwolde', 'Firdgum', 'Fleringen', 'Fluitenberg', 'Fochteloo', 'Follega', 'Folsgare', 'Formerum', 'Foudgum', 'Foxhol', 'Foxwolde', 'Franeker', 'Frederiksoord', 'Friens', 'Frieschepalen', 'Froombosch', - 'Gaanderen', 'Gaast', 'Gaastmeer', 'Galder', 'Gameren', 'Gapinge', 'Garderen', 'Garmerwolde', 'Garminge', 'Garnwerd', 'Garrelsweer', 'Garsthuizen', 'Garyp', 'Gassel', 'Gasselte', 'Gasselternijveen', 'Gasselternijveenschemond', 'Gastel', 'Gasteren', 'Gauw', 'Geelbroek', 'Geerdijk', 'Geersdijk', 'Geertruidenberg', 'Geervliet', 'Gees', 'Geesbrug', 'Geesteren', 'Geesteren', 'Geeuwenbrug', 'Geffen', 'Geijsteren', 'Geldermalsen', 'Gelderswoude', 'Geldrop', 'Geleen', 'Gellicum', 'Gelselaar', 'Gemert', 'Gemonde', 'Genderen', 'Gendringen', 'Gendt', 'Genemuiden', 'Gennep', 'Gerkesklooster', 'Gersloot', 'Geulle', 'Giesbeek', 'Giessen', 'Giessenburg', 'Gieten', 'Gieterveen', 'Giethmen', 'Giethoorn', 'Gilze', 'Ginnum', 'Glane', 'Glimmen', 'Godlinze', 'Goedereede', 'Goes', 'Goingarijp', 'Goirle', 'Goor', 'Gorinchem', 'Gorredijk', 'Gorssel', 'Gouda', 'Gouderak', 'Goudriaan', 'Goudswaard', 'Goutum', 'Goënga', 'Goëngahuizen', 'Graauw', 'Grafhorst', 'Graft', 'Gramsbergen', 'Grashoek', 'Grathem', 'Grave', 'Greonterp', 'Grevenbicht', 'Griendtsveen', 'Grijpskerk', 'Grijpskerke', 'Groede', 'Groenekan', 'Groeningen', 'Groenlo', 'Groesbeek', 'Groessen', 'Groet', 'Grolloo', 'Groningen', 'Gronsveld', 'Groot-Ammers', 'Grootebroek', 'Grootegast', 'Grootschermer', 'Grou', 'Grubbenvorst', 'Gulpen', 'Guttecoven', 'Gytsjerk', - 'Haaften', 'Haaksbergen', 'Haalderen', 'Haaren', 'Haarle', 'Haarle', 'Haarlem', 'Haarlemmerliede', 'Haarlo', 'Haarsteeg', 'Haarzuilens', 'Haastrecht', 'Haelen', 'Hagestein', 'Haghorst', 'Haler', 'Halfweg', 'Hall', 'Halle', 'Hallum', 'Halsteren', 'Handel', 'Hank', 'Hansweert', 'Hantum', 'Hantumeruitburen', 'Hantumhuizen', 'Hapert', 'Haps', 'Harbrinkhoek', 'Hardenberg', 'Harderwijk', 'Hardinxveld-Giessendam', 'Haren Gn', 'Haren', 'Harfsen', 'Harich', 'Haringhuizen', 'Harkema', 'Harkstede', 'Harlingen', 'Harmelen', 'Harreveld', 'Harskamp', 'Hartwerd', 'Haskerdijken', 'Haskerhorne', 'Hasselt', 'Hattem', 'Hattemerbroek', 'Haule', 'Haulerwijk', 'Hauwert', 'Havelte', 'Havelterberg', 'Hazerswoude-Dorp', 'Hazerswoude-Rijndijk', 'Hedel', 'Hedikhuizen', 'Hee', 'Heeg', 'Heel', 'Heelsum', 'Heelweg', 'Heemserveen', 'Heemskerk', 'Heemstede', 'Heenvliet', 'Heerde', 'Heerenveen', 'Heerewaarden', 'Heerhugowaard', 'Heerjansdam', 'Heerle', 'Heerlen', 'Heesbeen', 'Heesch', 'Heesselt', 'Heeswijk-Dinther', 'Heeten', 'Heeze', 'Hegebeintum', 'Hegelsom', 'Hei- en Boeicop', 'Heibloem', 'Heide', 'Heijen', 'Heijenrath', 'Heijningen', 'Heikant', 'Heilig Landstichting', 'Heiligerlee', 'Heiloo', 'Heinenoord', 'Heinkenszand', 'Heino', 'Hekelingen', 'Hekendorp', 'Helden', 'Helenaveen', 'Hellendoorn', 'Hellevoetsluis', 'Hellouw', 'Hellum', 'Helmond', 'Helvoirt', 'Hem', 'Hemelum', 'Hemmen', 'Hempens', 'Hemrik', 'Hendrik-Ido-Ambacht', 'Hengelo (Gld)', 'Hengelo', 'Hengevelde', 'Hengstdijk', 'Hensbroek', 'Herbaijum', 'Herkenbosch', 'Herkingen', 'Hernen', 'Herpen', 'Herpt', 'Herten', 'Hertme', 'Herveld', 'Herwen', 'Herwijnen', 'Heteren', 'Heukelom', 'Heukelum', 'Heumen', 'Heusden', 'Heusden', 'Heveadorp', 'Heythuysen', 'Hezingen', 'Hiaure', 'Hichtum', 'Hidaard', 'Hierden', 'Hieslum', 'Hijken', 'Hijum', 'Hilaard', 'Hillegom', 'Hilvarenbeek', 'Hilversum', 'Hindeloopen', 'Hinnaard', 'Hippolytushoef', 'Hitzum', 'Hobrede', 'Hoedekenskerke', 'Hoek van Holland', 'Hoek', 'Hoenderloo', 'Hoenderloo', 'Hoensbroek', 'Hoenzadriel', 'Hoevelaken', 'Hoeven', 'Hoge Hexel', 'Hollandsche Rading', 'Hollandscheveld', 'Hollum', 'Holsloot', 'Holten', 'Holthees', 'Holtheme', 'Holthone', 'Holtum', 'Holwerd', 'Holwierde', 'Hommerts', 'Homoet', 'Honselersdijk', 'Hoofddorp', 'Hoofdplaat', 'Hoog Soeren', 'Hoog-Keppel', 'Hoogblokland', 'Hooge Mierde', 'Hooge Zwaluwe', 'Hoogeloon', 'Hoogenweg', 'Hoogerheide', 'Hoogersmilde', 'Hoogersmilde', 'Hoogeveen', 'Hoogezand', 'Hooghalen', 'Hoogkarspel', 'Hoogland', 'Hooglanderveen', 'Hoogmade', 'Hoogvliet Rotterdam', 'Hoogwoud', 'Hoorn', 'Hoorn', 'Hoornaar', 'Hoornsterzwaag', 'Horn', 'Hornhuizen', 'Horssen', 'Horst', 'Houten', 'Houtigehage', 'Houwerzijl', 'Huijbergen', 'Huis ter Heide', 'Huis ter Heide', 'Huisduinen', 'Huisseling', 'Huissen', 'Huizen', 'Huizinge', 'Hulsberg', 'Hulsel', 'Hulshorst', 'Hulst', 'Hulten', 'Hummelo', 'Hunsel', 'Hurdegaryp', 'Hurwenen', 'Húns', - 'IJhorst', 'IJlst', 'IJmuiden', 'IJsselham', 'IJsselmuiden', 'IJsselstein', 'IJzendijke', 'IJzendoorn', 'Idaerd', 'Idsegahuizum', 'Idskenhuizen', 'Idzega', 'Iens', 'Ilpendam', 'Indijk', 'Ingber', 'Ingelum', 'Ingen', 'It Heidenskip', 'Itens', 'Ittervoort', 'Jaarsveld', 'Jabeek', 'Jannum', 'Jellum', 'Jelsum', 'Jirnsum', 'Jislum', 'Jisp', 'Jistrum', 'Jonkerslân', 'Jonkersvaart', 'Joppe', 'Jorwert', 'Joure', 'Jouswier', 'Jubbega', 'Julianadorp', 'Jutrijp', - 'Kaag', 'Kaard', 'Kaatsheuvel', 'Kalenberg', 'Kallenkote', 'Kamerik', 'Kampen', 'Kamperland', 'Kamperveen', 'Kantens', 'Kapel Avezaath', 'Kapel-Avezaath', 'Kapelle', 'Kapellebrug', 'Katlijk', 'Kats', 'Kattendijke', 'Katwijk NB', 'Katwijk', 'Katwoude', 'Kedichem', 'Keent', 'Keijenborg', 'Kekerdom', 'Kelpen-Oler', 'Kerk Avezaath', 'Kerk-Avezaath', 'Kerkdriel', 'Kerkenveld', 'Kerkrade', 'Kerkwerve', 'Kerkwijk', 'Kessel', 'Kesteren', 'Kiel-Windeweer', 'Kilder', 'Kimswerd', 'Kinderdijk', 'Kinnum', 'Klaaswaal', 'Klarenbeek', 'Klarenbeek', 'Klazienaveen', 'Klazienaveen-Noord', 'Klein Zundert', 'Klijndijk', 'Klimmen', 'Kloetinge', 'Kloetinge', 'Klooster Lidlum', 'Kloosterburen', 'Kloosterhaar', 'Kloosterhaar', 'Kloosterzande', 'Klundert', 'Knegsel', 'Koarnjum', 'Kockengen', 'Koedijk', 'Koedijk', 'Koekange', 'Koewacht', 'Kolderwolde', 'Kolham', 'Kolhorn', 'Kollum', 'Kollumerpomp', 'Kollumerzwaag', 'Kommerzijl', 'Koningsbosch', 'Koningslust', 'Koog aan de Zaan', 'Koolwijk', 'Kootstertille', 'Kootwijk', 'Kootwijkerbroek', 'Kornhorn', 'Kornwerderzand', 'Kortehemmen', 'Kortenhoef', 'Kortgene', 'Koudekerk aan den Rijn', 'Koudekerke', 'Koudum', 'Koufurderrige', 'Krabbendijke', 'Kraggenburg', 'Kreileroord', 'Krewerd', 'Krimpen aan de Lek', 'Krimpen aan den IJssel', 'Kring van Dorth', 'Krommenie', 'Kronenberg', 'Kropswolde', 'Kruiningen', 'Kruisland', 'Kudelstaart', 'Kuinre', 'Kuitaart', 'Kwadendamme', 'Kwadijk', 'Kwintsheul', 'Kûbaard', - 'Laag Zuthem', 'Laag-Keppel', 'Laag-Soeren', 'Lage Mierde', 'Lage Vuursche', 'Lage Zwaluwe', 'Lageland', 'Lambertschaag', 'Lamswaarde', 'Landerum', 'Landgraaf', 'Landhorst', 'Landsmeer', 'Langbroek', 'Langedijke', 'Langelille', 'Langelo', 'Langenboom', 'Langerak', 'Langeveen', 'Langeweg', 'Langezwaag', 'Langweer', 'Laren', 'Laren', 'Lathum', 'Lattrop-Breklenkamp', 'Lauwersoog', 'Lauwerzijl', 'Ledeacker', 'Leek', 'Leende', 'Leens', 'Leerbroek', 'Leerdam', 'Leermens', 'Leersum', 'Leeuwarden', 'Leeuwarden', 'Legemeer', 'Leiden', 'Leiderdorp', 'Leidschendam', 'Leimuiden', 'Leimuiden', 'Leimuiderbrug', 'Lekkerkerk', 'Lekkum', 'Lellens', 'Lelystad', 'Lemele', 'Lemelerveld', 'Lemiers', 'Lemmer', 'Lengel', 'Lent', 'Leons', 'Lepelstraat', 'Lettelbert', 'Lettele', 'Leunen', 'Leur', 'Leusden', 'Leuth', 'Leutingewolde', 'Leuvenheim', 'Leveroy', 'Lewedorp', 'Lexmond', 'Lichtaard', 'Lichtenvoorde', 'Liempde', 'Lienden', 'Lierderholthuis', 'Lieren', 'Lierop', 'Lies', 'Lieshout', 'Liessel', 'Lievelde', 'Lieveren', 'Lijnden', 'Limbricht', 'Limmen', 'Linde', 'Linden', 'Linne', 'Linschoten', 'Lioessens', 'Lippenhuizen', 'Lisse', 'Lisserbroek', 'Lith', 'Lithoijen', 'Lobith', 'Lochem', 'Loenen aan de Vecht', 'Loenen', 'Loenersloot', 'Loerbeek', 'Lollum', 'Lomm', 'Longerhouw', 'Loo Gld', 'Loo Gld', 'Loon op Zand', 'Loon', 'Loosbroek', 'Loosdrecht', 'Loozen', 'Lopik', 'Lopikerkapel', 'Loppersum', 'Losdorp', 'Losser', 'Lottum', 'Loënga', 'Lucaswolde', 'Luddeweer', 'Luinjeberd', 'Lunteren', 'Lutjebroek', 'Lutjegast', 'Lutjewinkel', 'Luttelgeest', 'Lutten', 'Luttenberg', 'Luxwoude', 'Luyksgestel', 'Lytsewierrum', - 'Maarheeze', 'Maarn', 'Maarsbergen', 'Maarssen', 'Maartensdijk', 'Maasbommel', 'Maasbracht', 'Maasbree', 'Maasdam', 'Maasdijk', 'Maashees', 'Maasland', 'Maassluis', 'Maastricht', 'Maastricht-Airport', 'Maasvlakte Rotterdam', 'Macharen', 'Made', 'Makkinga', 'Makkum', 'Malden', 'Mander', 'Manderveen', 'Mantgum', 'Mantinge', 'Maren-Kessel', 'Margraten', 'Maria Hoop', 'Mariahout', 'Mariaparochie', 'Marijenkampen', 'Mariënberg', 'Mariënheem', 'Mariënvelde', 'Markelo', 'Marken', 'Markenbinnen', 'Marknesse', 'Marle', 'Marrum', 'Marsum', 'Marum', 'Marwijksoord', 'Mastenbroek', 'Mastenbroek', 'Matsloot', 'Maurik', 'Mechelen', 'Medemblik', 'Meeden', 'Meedhuizen', 'Meerkerk', 'Meerlo', 'Meerssen', 'Meerstad', 'Meeuwen', 'Megchelen', 'Megen', 'Meijel', 'Melderslo', 'Melick', 'Meliskerke', 'Melissant', 'Menaam', 'Mensingeweer', 'Meppel', 'Meppen', 'Merkelbeek', 'Merselo', 'Meteren', 'Meterik', 'Metslawier', 'Mheer', 'Middelaar', 'Middelburg', 'Middelharnis', 'Middelie', 'Middelstum', 'Middenbeemster', 'Middenmeer', 'Midlaren', 'Midlum', 'Midsland', 'Midwolda', 'Midwolde', 'Midwoud', 'Miedum', 'Mierlo', 'Mijdrecht', 'Mijnsheerenland', 'Mildam', 'Milheeze', 'Mill', 'Millingen aan de Rijn', 'Milsbeek', 'Minnertsga', 'Mirns', 'Moddergat', 'Moerdijk', 'Moergestel', 'Moerkapelle', 'Moerstraten', 'Molenaarsgraaf', 'Molenhoek', 'Molenschot', 'Molkwerum', 'Monnickendam', 'Monster', 'Montfoort', 'Montfort', 'Mook', 'Mookhoek', 'Moordrecht', 'Moorveld', 'Morra', 'Muiden', 'Muiderberg', 'Munnekeburen', 'Munnekezijl', 'Munstergeleen', 'Muntendam', 'Mussel', 'Musselkanaal', 'Mûnein', - 'Naaldwijk', 'Naarden', 'Nagele', 'Nederasselt', 'Nederhemert', 'Nederhorst den Berg', 'Nederland', 'Nederweert', 'Nederweert-Eind', 'Neede', 'Neer', 'Neerijnen', 'Neeritter', 'Neerkant', 'Neerlangel', 'Neerloon', 'Nes (Ameland)', 'Nes (Boornsterhem)', 'Nes (Dongeradeel)', 'Netersel', 'Netterden', 'Niawier', 'Nibbixwoud', 'Niebert', 'Niehove', 'Niekerk', 'Niekerk', 'Nietap', 'Nieuw Annerveen', 'Nieuw Beerta', 'Nieuw Heeten', 'Nieuw Namen', 'Nieuw Scheemda', 'Nieuw- en Sint Joosland', 'Nieuw-Amsterdam', 'Nieuw-Balinge', 'Nieuw-Beijerland', 'Nieuw-Buinen', 'Nieuw-Dordrecht', 'Nieuw-Lekkerland', 'Nieuw-Roden', 'Nieuw-Schoonebeek', 'Nieuw-Vennep', 'Nieuw-Vossemeer', 'Nieuw-Weerdinge', 'Nieuwaal', 'Nieuwdorp', 'Nieuwe Niedorp', 'Nieuwe Pekela', 'Nieuwe Wetering', 'Nieuwe-Tonge', 'Nieuwebrug', 'Nieuwediep', 'Nieuwegein', 'Nieuwehorne', 'Nieuwendijk', 'Nieuwer Ter Aa', 'Nieuwerbrug aan den Rijn', 'Nieuwerkerk aan den IJssel', 'Nieuwerkerk', 'Nieuweroord', 'Nieuweroord', 'Nieuwersluis', 'Nieuweschoot', 'Nieuwkoop', 'Nieuwkuijk', 'Nieuwland', 'Nieuwlande Coevorden', 'Nieuwlande', 'Nieuwleusen', 'Nieuwolda', 'Nieuwpoort', 'Nieuwstadt', 'Nieuwveen', 'Nieuwvliet', 'Niezijl', 'Niftrik', 'Nigtevecht', 'Nij Altoenae', 'Nij Beets', 'Nijbroek', 'Nijeberkoop', 'Nijega', 'Nijehaske', 'Nijeholtpade', 'Nijeholtwolde', 'Nijelamer', 'Nijemirdum', 'Nijensleek', 'Nijetrijne', 'Nijeveen', 'Nijhuizum', 'Nijkerk', 'Nijkerkerveen', 'Nijland', 'Nijlande', 'Nijmegen', 'Nijverdal', 'Nispen', 'Nisse', 'Nistelrode', 'Noardburgum', 'Nooitgedacht', 'Noorbeek', 'Noord-Scharwoude', 'Noord-Sleen', 'Noordbeemster', 'Noordbroek', 'Noordeinde Gld', 'Noordeinde', 'Noordeloos', 'Noorden', 'Noordgouwe', 'Noordhoek', 'Noordhorn', 'Noordlaren', 'Noordscheschut', 'Noordwelle', 'Noordwijk', 'Noordwijk', 'Noordwijkerhout', 'Noordwolde', 'Noordwolde', 'Nootdorp', 'Norg', 'Notter', 'Nuenen', 'Nuis', 'Nuland', 'Numansdorp', 'Nunhem', 'Nunspeet', 'Nuth', 'Nutter', - 'Obbicht', 'Obdam', 'Ochten', 'Odijk', 'Odiliapeel', 'Odoorn', 'Odoornerveen', 'Oeffelt', 'Oegstgeest', 'Oene', 'Oentsjerk', 'Offingawier', 'Ohé en Laak', 'Oijen', 'Oirlo', 'Oirsbeek', 'Oirschot', 'Oisterwijk', 'Okkenbroek', 'Olburgen', 'Oldeberkoop', 'Oldebroek', 'Oldeholtpade', 'Oldeholtwolde', 'Oldehove', 'Oldekerk', 'Oldelamer', 'Oldemarkt', 'Oldenzaal', 'Oldenzijl', 'Oldeouwer', 'Oldetrijne', 'Olst', 'Olterterp', 'Ommel', 'Ommen', 'Ommeren', 'Onderdendam', 'Onna', 'Onnen', 'Onstwedde', 'Ooij', 'Ooltgensplaat', 'Oost West en Middelbeers', 'Oost-Graftdijk', 'Oost-Souburg', 'Oostburg', 'Oostdijk', 'Oosteind', 'Oosterbeek', 'Oosterbierum', 'Oosterblokker', 'Oosterend', 'Oosterend', 'Oosterhesselen', 'Oosterhout', 'Oosterhout', 'Oosterland', 'Oosterleek', 'Oosternieland', 'Oosternijkerk', 'Oosterstreek', 'Oosterwijk', 'Oosterwijtwerd', 'Oosterwolde Gld', 'Oosterwolde', 'Oosterzee', 'Oosthem', 'Oosthuizen', 'Oostkapelle', 'Oostknollendam', 'Oostrum', 'Oostrum', 'Oostvoorne', 'Oostwold', 'Oostwold', 'Oostwoud', 'Oostzaan', 'Ootmarsum', 'Opeinde', 'Opende', 'Ophemert', 'Opheusden', 'Opijnen', 'Oploo', 'Opmeer', 'Oppenhuizen', 'Opperdoes', 'Oranje', 'Oranjewoud', 'Orvelte', 'Ospel', 'Oss', 'Ossendrecht', 'Ossenisse', 'Ossenwaard', 'Ossenzijl', 'Oterleek', 'Otterlo', 'Ottersum', 'Ottoland', 'Oud Ade', 'Oud Annerveen', 'Oud Gastel', 'Oud Ootmarsum', 'Oud Zuilen', 'Oud-Alblas', 'Oud-Beijerland', 'Oud-Vossemeer', 'Ouddorp', 'Oude Meer', 'Oude Niedorp', 'Oude Pekela', 'Oude Wetering', 'Oude Willem', 'Oude-Tonge', 'Oudebildtzijl', 'Oudega', 'Oudega', 'Oudega', 'Oudehaske', 'Oudehorne', 'Oudelande', 'Oudemirdum', 'Oudemolen', 'Oudemolen', 'Oudenbosch', 'Oudendijk', 'Oudenhoorn', 'Ouderkerk aan de Amstel', 'Ouderkerk aan den IJssel', 'Oudeschans', 'Oudeschild', 'Oudeschip', 'Oudeschoot', 'Oudesluis', 'Oudewater', 'Oudezijl', 'Oudheusden', 'Oudkarspel', 'Oudkarspel', 'Oudorp', 'Oudwoude', 'Ouwerkerk', 'Ouwster-Nijega', 'Ouwsterhaule', 'Overasselt', 'Overberg', 'Overdinkel', 'Overlangel', 'Overloon', 'Overschild', 'Overslag', 'Overveen', 'Ovezande', - 'Paasloo', 'Paesens', 'Pannerden', 'Panningen', 'Papekop', 'Papendrecht', 'Papenhoven', 'Papenvoort', 'Parrega', 'Paterswolde', 'Peest', 'Peins', 'Peize', 'Peperga', 'Pernis Rotterdam', 'Persingen', 'Pesse', 'Pesse', 'Petten', 'Philippine', 'Piaam', 'Piershil', 'Pieterburen', 'Pietersbierum', 'Pieterzijl', 'Pijnacker', 'Pingjum', 'Plasmolen', 'Poederoijen', 'Poeldijk', 'Polsbroek', 'Poortugaal', 'Poortvliet', 'Poppenwier', 'Posterholt', 'Prinsenbeek', 'Puiflijk', 'Punthorst', 'Purmer', 'Purmer', 'Purmerend', 'Purmerland', 'Puth', 'Putte', 'Putten', 'Puttershoek', - 'Raalte', 'Raamsdonk', 'Raamsdonksveer', 'Raard', 'Radewijk', 'Radio Kootwijk', 'Raerd', 'Randwijk', 'Ransdaal', 'Rasquert', 'Ravenstein', 'Ravenswaaij', 'Ravenswoud', 'Readtsjerk', 'Reahûs', 'Reduzum', 'Reek', 'Reeuwijk', 'Reijmerstok', 'Reitsum', 'Rekken', 'Renesse', 'Renkum', 'Renswoude', 'Ressen', 'Retranchement', 'Reusel', 'Reutum', 'Reuver', 'Rha', 'Rheden', 'Rhee', 'Rheeze', 'Rheezerveen', 'Rhenen', 'Rhenoy', 'Rhoon', 'Ridderkerk', 'Ried', 'Riel', 'Rien', 'Riethoven', 'Rietmolen', 'Rijen', 'Rijkevoort', 'Rijkevoort-De Walsert', 'Rijnsaterwoude', 'Rijnsburg', 'Rijpwetering', 'Rijpwetering', 'Rijs', 'Rijsbergen', 'Rijsenhout', 'Rijssen', 'Rijswijk (GLD)', 'Rijswijk (NB)', 'Rijswijk', 'Rilland', 'Rinsumageast', 'Ritthem', 'Rockanje', 'Roden', 'Roderesch', 'Roderwolde', 'Roelofarendsveen', 'Roermond', 'Rogat', 'Roggel', 'Rohel', 'Rolde', 'Roodeschool', 'Roosendaal', 'Roosteren', 'Rosmalen', 'Rossum', 'Rossum', 'Roswinkel', 'Rotstergaast', 'Rotsterhaule', 'Rotterdam', 'Rotterdam-Albrandswaard', 'Rottevalle', 'Rottum', 'Rottum', 'Rouveen', 'Rozenburg', 'Rozenburg', 'Rozendaal', 'Rucphen', 'Ruigahuizen', 'Ruinen', 'Ruinen', 'Ruinerwold', 'Rumpt', 'Rutten', 'Ruurlo', 'Ryptsjerk', - 'Saaksum', 'Saasveld', 'Saaxumhuizen', 'Sambeek', 'Sandfirden', 'Santpoort-Noord', 'Santpoort-Zuid', 'Sappemeer', 'Sas van Gent', 'Sassenheim', 'Sauwerd', 'Schagen', 'Schagerbrug', 'Schaijk', 'Schalkhaar', 'Schalkwijk', 'Schalsum', 'Schardam', 'Scharendijke', 'Scharmer', 'Scharnegoutum', 'Scharsterbrug', 'Scharwoude', 'Scheemda', 'Scheerwolde', 'Schellinkhout', 'Schelluinen', 'Schermerhorn', 'Scherpenisse', 'Scherpenzeel', 'Scherpenzeel', 'Schettens', 'Scheulder', 'Schiedam', 'Schiermonnikoog', 'Schijf', 'Schijndel', 'Schildwolde', 'Schimmert', 'Schin op Geul', 'Schinnen', 'Schinveld', 'Schipborg', 'Schiphol', 'Schiphol-Rijk', 'Schipluiden', 'Schokland', 'Schoondijke', 'Schoonebeek', 'Schoonhoven', 'Schoonloo', 'Schoonoord', 'Schoonrewoerd', 'Schoorl', 'Schore', 'Schouwerzijl', 'Schraard', 'Schuinesloot', 'Sebaldeburen', 'Sellingen', 'Serooskerke', 'Serooskerke', 'Sevenum', 'Sexbierum', 'Sibculo', 'Sibculo', 'Sibrandabuorren', 'Sibrandahûs', 'Siddeburen', 'Siebengewald', 'Siegerswoude', 'Sijbekarspel', 'Silvolde', 'Simonshaven', 'Simpelveld', 'Sinderen', 'Sint Agatha', 'Sint Annen', 'Sint Anthonis', 'Sint Geertruid', 'Sint Hubert', 'Sint Jansklooster', 'Sint Jansteen', 'Sint Joost', 'Sint Kruis', 'Sint Maarten', 'Sint Maartensbrug', 'Sint Maartensvlotbrug', 'Sint Nicolaasga', 'Sint Odiliënberg', 'Sint Pancras', 'Sint Philipsland', 'Sint-Annaland', 'Sint-Maartensdijk', 'Sint-Michielsgestel', 'Sint-Oedenrode', 'Sintjohannesga', 'Sirjansland', 'Sittard', 'Skingen', 'Slagharen', 'Slappeterp', 'Sleen', 'Sleeuwijk', 'Slenaken', 'Sliedrecht', 'Slijk-Ewijk', 'Slijkenburg', 'Slochteren', 'Slootdorp', 'Sloten', 'Sluis', 'Sluiskil', 'Smakt', 'Smalle Ee', 'Smallebrugge', 'Smilde', 'Smilde', 'Snakkerburen', 'Sneek', 'Snelrewaard', 'Snikzwaag', 'Soerendonk', 'Soest', 'Soesterberg', 'Someren', 'Sommelsdijk', 'Son en Breugel', 'Son', 'Sondel', 'Sonnega', 'Spaarndam gem. Haarlem', 'Spaarndam', 'Spanbroek', 'Spanga', 'Spankeren', 'Spannum', 'Spaubeek', 'Spier', 'Spier', 'Spierdijk', 'Spijk Gn', 'Spijk', 'Spijk', 'Spijkenisse', 'Spijkerboor', 'Spijkerboor', 'Sprang-Capelle', 'Sprundel', 'Spui', 'St. Willebrord', 'St.-Annaparochie', 'St.-Jacobiparochie', "Stad aan 't Haringvliet", 'Stadskanaal', 'Stampersgat', 'Standdaarbuiten', 'Staphorst', 'Starnmeer', 'Startenhuizen', 'Startenhuizen', 'Stavenisse', 'Stavoren', 'Stedum', 'Steenbergen', 'Steenbergen', 'Steendam', 'Steenderen', 'Steenenkamer', 'Steensel', 'Steenwijk', 'Steenwijkerwold', 'Stegeren', 'Steggerda', 'Stein', 'Stellendam', 'Sterksel', 'Stevensbeek', 'Stevensweert', 'Steyl', 'Stieltjeskanaal', 'Stiens', 'Stitswerd', 'Stokkum', 'Stolwijk', 'Stompetoren', 'Stoutenburg Noord', 'Stoutenburg', 'Stramproy', 'Streefkerk', 'Striep', 'Strijbeek', 'Strijen', 'Strijensas', 'Stroe', 'Stroobos', 'Stuifzand', 'Stuifzand', 'Sumar', 'Surhuisterveen', 'Surhuizum', 'Susteren', 'Suwâld', 'Swalmen', 'Sweikhuizen', 'Swichum', 'Swifterbant', 'Swolgen', - 'Taarlo', 'Teeffelen', 'Teerns', 'Tegelen', 'Ten Boer', 'Ten Post', 'Ter Aar', 'Ter Aard', 'Ter Apel', 'Ter Apelkanaal', 'Ter Heijde', 'Ter Idzard', 'Terband', 'Terborg', 'Terheijden', 'Terherne', 'Terhole', 'Terkaple', 'Termunten', 'Termunterzijl', 'Ternaard', 'Terneuzen', 'Teroele', 'Terschuur', 'Tersoal', 'Terwispel', 'Terwolde', 'Teteringen', 'Teuge', 'Thesinge', 'Tholen', 'Thorn', 'Tiel', 'Tiendeveen', 'Tiendeveen', 'Tienhoven', 'Tienhoven', 'Tienray', 'Tijnje', 'Tilburg', 'Tilligte', 'Tinallinge', 'Tinte', 'Tirns', 'Tjalhuizum', 'Tjalleberd', 'Tjerkgaast', 'Tjerkwerd', 'Tjuchem', 'Tolbert', 'Toldijk', 'Tolkamer', 'Tollebeek', 'Tonden', 'Toornwerd', 'Tricht', 'Triemen', 'Tripscompagnie', 'Tubbergen', 'Tuil', 'Tuitjenhorn', 'Tuk', "Tull en 't Waal", 'Twello', 'Twijzel', 'Twijzelerheide', 'Twisk', 'Tynaarlo', 'Tytsjerk', 'Tzum', 'Tzummarum', - 'Ubbena', 'Ubbergen', 'Uddel', 'Uden', 'Udenhout', 'Uffelte', 'Ugchelen', 'Uitdam', 'Uitgeest', 'Uithoorn', 'Uithuizen', 'Uithuizermeeden', 'Uitwellingerga', 'Uitwijk', 'Ulestraten', 'Ulft', 'Ulicoten', 'Ulrum', 'Ulvenhout AC', 'Ulvenhout', 'Ureterp', 'Urk', 'Urmond', 'Ursem gem. S', 'Ursem', 'Usquert', 'Utrecht', - 'Vaals', 'Vaassen', 'Valburg', 'Valkenburg', 'Valkenburg', 'Valkenswaard', 'Valthe', 'Valthermond', 'Varik', 'Varsselder', 'Varsseveld', 'Vasse', 'Veelerveen', 'Veen', 'Veendam', 'Veenendaal', 'Veenhuizen', 'Veeningen', 'Veenklooster', 'Veenoord', 'Veere', 'Veessen', 'Vegelinsoord', 'Veghel', 'Velddriel', 'Velden', 'Veldhoven', 'Velp', 'Velp', 'Velsen-Noord', 'Velsen-Zuid', 'Velserbroek', 'Ven-Zelderheide', 'Venebrugge', 'Venhorst', 'Venhuizen', 'Venlo', 'Venray', 'Vessem', 'Vethuizen', 'Veulen', 'Vianen NB', 'Vianen', 'Vierakker', 'Vierhouten', 'Vierhuizen', 'Vierlingsbeek', 'Vierpolders', 'Vijfhuizen', 'Vijlen', 'Vilsteren', 'Vinkega', 'Vinkel', 'Vinkel', 'Vinkenbuurt', 'Vinkeveen', 'Visvliet', 'Vlaardingen', 'Vlagtwedde', 'Vledder', 'Vledderveen', 'Vledderveen', 'Vleuten', 'Vlieland', 'Vlierden', 'Vlijmen', 'Vlissingen', 'Vlist', 'Vlodrop', 'Voerendaal', 'Vogelenzang', 'Vogelwaarde', 'Volendam', 'Volkel', 'Vollenhove', 'Vondelingenplaat Rotterdam', 'Voorburg', 'Voorhout', 'Voorschoten', 'Voorst', 'Voorst', 'Voorthuizen', 'Vorchten', 'Vorden', 'Vorstenbosch', 'Vortum-Mullem', 'Vragender', 'Vredenheim', 'Vredepeel', 'Vreeland', 'Vries', 'Vriescheloo', 'Vriezenveen', 'Vroomshoop', 'Vrouwenakker', 'Vrouwenparochie', 'Vrouwenpolder', 'Vught', 'Vuren', - 'Waaksens', 'Waal', 'Waalre', 'Waalwijk', 'Waarde', 'Waardenburg', 'Waarder', 'Waardhuizen', 'Waarland', 'Waaxens', 'Wachtum', 'Waddinxveen', 'Wadenoijen', 'Wagenberg', 'Wagenborgen', 'Wageningen', 'Walem', 'Walsoorden', 'Wamel', 'Wanneperveen', 'Wanroij', 'Wanssum', 'Wapenveld', 'Wapse', 'Wapserveen', 'Warder', 'Warffum', 'Warfhuizen', 'Warfstermolen', 'Warmenhuizen', 'Warmond', 'Warns', 'Warnsveld', 'Warstiens', 'Warten', 'Waskemeer', 'Waspik', 'Wassenaar', 'Wateren', 'Watergang', 'Waterhuizen', 'Wateringen', 'Waterlandkerkje', 'Waverveen', 'Wedde', 'Weerselo', 'Weert', 'Weesp', 'Wehe-den Hoorn', 'Wehl', 'Weidum', 'Weiteveen', 'Wekerom', 'Well L', 'Well', 'Wellerlooi', 'Welsum', 'Wemeldinge', 'Wenum Wiesel', 'Wenum Wiesel', 'Wergea', 'Werkendam', 'Werkhoven', 'Wernhout', 'Wervershoof', 'Wesepe', 'Wessem', 'West-Graftdijk', 'West-Terschelling', 'Westbeemster', 'Westbroek', 'Westdorp', 'Westdorpe', 'Westendorp', 'Westerbeek', 'Westerbork', 'Westerbroek', 'Westeremden', 'Westergeest', 'Westerhaar-Vriezenveensewijk', 'Westerhoven', 'Westerland', 'Westerlee', 'Westernieland', 'Westervelde', 'Westervoort', 'Westerwijtwerd', 'Westhem', 'Westhoek', 'Westkapelle', 'Westknollendam', 'Westmaas', 'Westwoud', 'Westzaan', 'Wetering', 'Weteringbrug', 'Wetsens', 'Wetsinge', 'Weurt', 'Wezep', 'Wezup', 'Wezuperbrug', 'Wichmond', 'Wier', 'Wierden', 'Wieringerwaard', 'Wieringerwerf', 'Wierum', 'Wijchen', 'Wijckel', 'Wijdenes', 'Wijdewormer', 'Wijhe', 'Wijk aan Zee', 'Wijk bij Duurstede', 'Wijk en Aalburg', 'Wijlre', 'Wijnaldum', 'Wijnandsrade', 'Wijnbergen', 'Wijngaarden', 'Wijnjewoude', 'Wijster', 'Wilbertoord', 'Wildervank', 'Wilhelminadorp', 'Wilhelminaoord', 'Willemsoord', 'Willemstad', 'Wilnis', 'Wilp', 'Wilsum', 'Winde', 'Windraak', 'Winkel', 'Winneweer', 'Winschoten', 'Winssen', 'Winsum', 'Winsum', 'Wintelre', 'Winterswijk Brinkheurne', 'Winterswijk Corle', 'Winterswijk Henxel', 'Winterswijk Huppel', 'Winterswijk Kotten', 'Winterswijk Meddo', 'Winterswijk Miste', 'Winterswijk Ratum', 'Winterswijk Woold', 'Winterswijk', 'Wirdum Gn', 'Wirdum', 'Wissenkerke', 'Witharen', 'Witmarsum', 'Witte Paarden', 'Wittelte', 'Wittem', 'Witteveen', 'Wiuwert', 'Wjelsryp', 'Woensdrecht', 'Woerden', 'Woerdense Verlaat', 'Wognum', 'Woldendorp', 'Wolfheze', 'Wolphaartsdijk', 'Wolsum', 'Woltersum', 'Wolvega', 'Wommels', 'Wons', 'Workum', 'Wormer', 'Wormerveer', 'Woubrugge', 'Woudbloem', 'Woudenberg', 'Woudrichem', 'Woudsend', 'Wouw', 'Wouwse Plantage', 'Wyns', 'Wytgaard', 'Wâlterswâld', 'Wânswert', - 'Yde', 'Yerseke', 'Ypecolsga', 'Ysbrechtum', 'Ysselsteyn', - 'Zaamslag', 'Zaandam', 'Zaandijk', 'Zalk', 'Zaltbommel', 'Zandberg', 'Zandeweer', 'Zandhuizen', 'Zandpol', 'Zandvoort', 'Zeddam', 'Zeegse', 'Zeeland', 'Zeerijp', 'Zeewolde', 'Zegge', 'Zegveld', 'Zeijen', 'Zeijerveen', 'Zeijerveld', 'Zeist', 'Zelhem', 'Zenderen', 'Zennewijnen', 'Zennewijnen', 'Zetten', 'Zevenaar', 'Zevenbergen', 'Zevenbergschen Hoek', 'Zevenbergschen Hoek', 'Zevenhoven', 'Zevenhuizen', 'Zevenhuizen', 'Zierikzee', 'Zieuwent', 'Zijderveld', 'Zijdewind', 'Zijldijk', 'Zoelen', 'Zoelmond', 'Zoetermeer', 'Zoeterwoude', 'Zonnemaire', 'Zorgvlied', 'Zoutelande', 'Zoutkamp', 'Zuid-Beijerland', 'Zuid-Scharwoude', 'Zuidbroek', 'Zuiddorpe', 'Zuidermeer', 'Zuiderwoude', 'Zuidhorn', 'Zuidlaarderveen', 'Zuidland', 'Zuidlaren', 'Zuidoostbeemster', 'Zuidschermer', 'Zuidveen', 'Zuidveld', 'Zuidvelde', 'Zuidwolde', 'Zuidwolde', 'Zuidzande', 'Zuilichem', 'Zuna', 'Zundert', 'Zurich', 'Zutphen', 'Zuurdijk', 'Zwaag', 'Zwaagdijk-Oost', 'Zwaagdijk-West', 'Zwaanshoek', 'Zwagerbosch', 'Zwammerdam', 'Zwanenburg', 'Zwartebroek', 'Zwartemeer', 'Zwartewaal', 'Zwartsluis', 'Zweeloo', 'Zweins', 'Zwiggelte', 'Zwijndrecht', 'Zwinderen', 'Zwolle', 'de Hoef', 'de Lutte', 'de Wijk', 'de Woude', - ]; + /** + * Export of BAG (http://bag.vrom.nl/) + * last updated 2012/11/09 + * + * @var array + */ + protected static $cityNames = [ + "'s Gravenmoer", + "'s-Graveland", + "'s-Gravendeel", + "'s-Gravenhage", + "'s-Gravenpolder", + "'s-Gravenzande", + "'s-Heer Abtskerke", + "'s-Heer Arendskerke", + "'s-Heer Hendrikskinderen", + "'s-Heerenberg", + "'s-Heerenbroek", + "'s-Heerenhoek", + "'s-Hertogenbosch", + "'t Goy", + "'t Haantje", + "'t Harde", + "'t Loo Oldebroek", + "'t Veld", + "'t Waar", + "'t Zand", + "'t Zandt", + '2e Valthermond', + 'Aadorp', + 'Aagtekerke', + 'Aalden', + 'Aalsmeer', + 'Aalsmeerderbrug', + 'Aalst', + 'Aalsum', + 'Aalten', + 'Aardenburg', + 'Aarlanderveen', + 'Aarle-Rixtel', + 'Aartswoud', + 'Abbega', + 'Abbekerk', + 'Abbenbroek', + 'Abbenes', + 'Abcoude', + 'Achlum', + 'Achterveld', + 'Achterveld', + 'Achthuizen', + 'Achtmaal', + 'Acquoy', + 'Adorp', + 'Aduard', + 'Aerdenhout', + 'Aerdt', + 'Afferden L', + 'Afferden', + 'Agelo', + 'Akersloot', + 'Akkrum', + 'Akmarijp', + 'Albergen', + 'Alblasserdam', + 'Alde Leie', + 'Aldeboarn', + 'Aldtsjerk', + 'Alem', + 'Alkmaar', + 'Allingawier', + 'Almelo', + 'Almen', + 'Almere', + 'Almkerk', + 'Alphen aan den Rijn', + 'Alphen', + 'Alphen', + 'Alteveer gem Hoogeveen', + 'Alteveer', + 'Alteveer', + 'Alteveer', + 'Altforst', + 'Ambt Delden', + 'Ameide', + 'Amen', + 'America', + 'Amerongen', + 'Amersfoort', + 'Ammerstol', + 'Ammerzoden', + 'Amstelhoek', + 'Amstelveen', + 'Amstenrade', + 'Amsterdam Zuidoost', + 'Amsterdam', + 'Andel', + 'Andelst', + 'Anderen', + 'Andijk', + 'Ane', + 'Anerveen', + 'Anevelde', + 'Angeren', + 'Angerlo', + 'Anjum', + 'Ankeveen', + 'Anloo', + 'Anna Paulowna', + 'Annen', + 'Annerveenschekanaal', + 'Ansen', + 'Ansen', + 'Apeldoorn', + 'Apeldoorn', + 'Appelscha', + 'Appeltern', + 'Appingedam', + 'Arcen', + 'Arkel', + 'Arnemuiden', + 'Arnhem', + 'Arum', + 'Asch', + 'Asperen', + 'Assen', + 'Assendelft', + 'Asten', + 'Augsbuurt', + 'Augustinusga', + 'Austerlitz', + 'Avenhorn', + 'Axel', + 'Azewijn', + 'Baaiduinen', + 'Baaium', + 'Baak', + 'Baambrugge', + 'Baard', + 'Baarland', + 'Baarle-Nassau', + 'Baarlo', + 'Baarlo', + 'Baarn', + 'Baars', + 'Babberich', + 'Babyloniënbroek', + 'Bad Nieuweschans', + 'Badhoevedorp', + 'Baexem', + 'Baflo', + 'Bakel', + 'Bakhuizen', + 'Bakkeveen', + 'Balgoij', + 'Balinge', + 'Balk', + 'Balkbrug', + 'Balloo', + 'Balloërveld', + 'Ballum', + 'Baneheide', + 'Banholt', + 'Bant', + 'Bantega', + 'Barchem', + 'Barendrecht', + 'Barger-Compascuum', + 'Barneveld', + 'Barsingerhorn', + 'Basse', + 'Batenburg', + 'Bathmen', + 'Bavel AC', + 'Bavel', + 'Bears', + 'Bedum', + 'Beegden', + 'Beek en Donk', + 'Beek', + 'Beek', + 'Beek', + 'Beekbergen', + 'Beemte Broekland', + 'Beers NB', + 'Beerta', + 'Beerze', + 'Beerzerveld', + 'Beesd', + 'Beesel', + 'Beets', + 'Beetsterzwaag', + 'Beilen', + 'Beinsdorp', + 'Belfeld', + 'Bellingwolde', + 'Belt-Schutsloot', + 'Beltrum', + 'Bemelen', + 'Bemmel', + 'Beneden-Leeuwen', + 'Bennebroek', + 'Bennekom', + 'Benneveld', + 'Benningbroek', + 'Benschop', + 'Bentelo', + 'Benthuizen', + 'Bentveld', + 'Berg en Dal', + 'Berg en Dal', + 'Berg en Terblijt', + 'Bergambacht', + 'Bergeijk', + 'Bergen (NH)', + 'Bergen L', + 'Bergen aan Zee', + 'Bergen op Zoom', + 'Bergentheim', + 'Bergharen', + 'Berghem', + 'Bergschenhoek', + 'Beringe', + 'Berkel en Rodenrijs', + 'Berkel-Enschot', + 'Berkenwoude', + 'Berkhout', + 'Berlicum', + 'Berltsum', + 'Bern', + 'Best', + 'Beugen', + 'Beuningen Gld', + 'Beuningen', + 'Beusichem', + 'Beutenaken', + 'Beverwijk', + 'Biddinghuizen', + 'Bierum', + 'Biervliet', + 'Biervliet', + 'Biest-Houtakker', + 'Biezenmortel', + 'Biggekerke', + 'Bilthoven', + 'Bingelrade', + 'Bitgum', + 'Bitgummole', + 'Bladel', + 'Blankenham', + 'Blaricum', + 'Blauwestad', + 'Blauwhuis', + 'Bleiswijk', + 'Blesdijke', + 'Bleskensgraaf ca', + 'Blessum', + 'Blije', + 'Blijham', + 'Blitterswijck', + 'Bloemendaal', + 'Blokker', + 'Blokzijl', + 'Boazum', + 'Bocholtz', + 'Bodegraven', + 'Boekel', + 'Boelenslaan', + 'Boer', + 'Boerakker', + 'Boerakker', + 'Boesingheliede', + 'Boijl', + 'Boksum', + 'Bolsward', + 'Bontebok', + 'Boornbergum', + 'Boornzwaag', + 'Borculo', + 'Borger', + 'Borgercompagnie', + 'Borgercompagnie', + 'Borgsweer', + 'Born', + 'Borne', + 'Bornerbroek', + 'Bornwird', + 'Borssele', + 'Bosch en Duin', + 'Boschoord', + 'Boskoop', + 'Bosschenhoofd', + 'Botlek Rotterdam', + 'Bourtange', + 'Boven-Leeuwen', + 'Bovenkarspel', + 'Bovensmilde', + 'Boxmeer', + 'Boxtel', + 'Braamt', + 'Brakel', + 'Brandwijk', + 'Brantgum', + 'Breda', + 'Bredevoort', + 'Breedenbroek', + 'Breezand', + 'Breezanddijk', + 'Breskens', + 'Breukelen', + 'Breukeleveen', + 'Brielle', + 'Briltil', + 'Britsum', + 'Britswert', + 'Broek in Waterland', + 'Broek op Langedijk', + 'Broek', + 'Broekhuizen', + 'Broekhuizen', + 'Broekhuizenvorst', + 'Broekland', + 'Bronkhorst', + 'Bronneger', + 'Bronnegerveen', + 'Brouwershaven', + 'Bruchem', + 'Brucht', + 'Bruchterveld', + 'Bruinehaar', + 'Bruinisse', + 'Brummen', + 'Brunssum', + 'Bruntinge', + 'Buchten', + 'Budel', + 'Budel-Dorplein', + 'Budel-Schoot', + 'Buggenum', + 'Buinen', + 'Buinerveen', + 'Buitenkaag', + 'Buitenpost', + 'Bunde', + 'Bunne', + 'Bunnik', + 'Bunschoten-Spakenburg', + 'Burdaard', + 'Buren', + 'Buren', + 'Burgerbrug', + 'Burgerveen', + 'Burgh-Haamstede', + 'Burgum', + 'Burgwerd', + 'Burum', + 'Bussum', + 'Buurmalsen', + 'Buurmalsen', + 'Cadier en Keer', + 'Cadzand', + 'Callantsoog', + 'Capelle aan den IJssel', + 'Castelre', + 'Castenray', + 'Casteren', + 'Castricum', + 'Chaam', + 'Clinge', + 'Coevorden', + 'Colijnsplaat', + 'Collendoorn', + 'Colmschate', + 'Cornwerd', + 'Cothen', + 'Creil', + 'Cromvoirt', + 'Cruquius', + 'Cuijk', + 'Culemborg', + 'Daarle', + 'Daarlerveen', + 'Dalem', + 'Dalen', + 'Dalerpeel', + 'Dalerveen', + 'Dalfsen', + 'Dalmsholte', + 'Darp', + 'De Bilt', + 'De Blesse', + 'De Bult', + 'De Cocksdorp', + 'De Falom', + 'De Glind', + 'De Goorn', + 'De Groeve', + 'De Heen', + 'De Heurne', + 'De Hoeve', + 'De Kiel', + 'De Klomp', + 'De Knipe', + 'De Koog', + 'De Krim', + 'De Kwakel', + 'De Lier', + 'De Meern', + 'De Moer', + 'De Mortel', + 'De Pol', + 'De Punt', + 'De Rijp', + 'De Rips', + 'De Schiphorst', + 'De Steeg', + 'De Tike', + 'De Veenhoop', + 'De Waal', + 'De Weere', + 'De Westereen', + 'De Wilgen', + 'De Wilp', + 'De Zilk', + 'Dearsum', + 'Dedemsvaart', + 'Dedgum', + 'Deelen', + 'Deest', + 'Deil', + 'Deinum', + 'Delden', + 'Delfgauw', + 'Delfstrahuizen', + 'Delft', + 'Delfzijl', + 'Delwijnen', + 'Demen', + 'Den Andel', + 'Den Bommel', + 'Den Burg', + 'Den Dolder', + 'Den Dungen', + 'Den Ham', + 'Den Ham', + 'Den Helder', + 'Den Hoorn', + 'Den Hoorn', + 'Den Horn', + 'Den Hout', + 'Den Ilp', + 'Den Oever', + 'Den Velde', + 'Denekamp', + 'Deurne', + 'Deurningen', + 'Deurningen', + 'Deursen-Dennenburg', + 'Deurze', + 'Deventer', + 'Didam', + 'Dieden', + 'Diemen', + 'Diepenheim', + 'Diepenveen', + 'Dieren', + 'Diessen', + 'Diever', + 'Dieverbrug', + 'Diffelen', + 'Dijken', + 'Dinteloord', + 'Dinxperlo', + 'Diphoorn', + 'Dirkshorn', + 'Dirksland', + 'Dodewaard', + 'Doenrade', + 'Doesburg', + 'Doetinchem', + 'Doeveren', + 'Doezum', + 'Dokkum', + 'Doldersum', + 'Domburg', + 'Donderen', + 'Dongen', + 'Dongjum', + 'Doniaga', + 'Donkerbroek', + 'Doorn', + 'Doornenburg', + 'Doornspijk', + 'Doorwerth', + 'Dordrecht', + 'Dorst', + 'Drachten', + 'Drachten-Azeven', + 'Drachtstercompagnie', + 'Dreischor', + 'Drempt', + 'Dreumel', + 'Driebergen-Rijsenburg', + 'Drieborg', + 'Driebruggen', + 'Driehuis NH', + 'Driehuizen', + 'Driel', + 'Driewegen', + 'Driezum', + 'Drijber', + 'Drimmelen', + 'Drogeham', + 'Drogteropslagen', + 'Drongelen', + 'Dronryp', + 'Dronten', + 'Drouwen', + 'Drouwenermond', + 'Drouwenerveen', + 'Drunen', + 'Druten', + 'Duiven', + 'Duivendrecht', + 'Duizel', + 'Dussen', + 'Dwingeloo', + 'Eagum', + 'Easterein', + 'Easterlittens', + 'Eastermar', + 'Easterwierrum', + 'Echt', + 'Echteld', + 'Echten', + 'Echten', + 'Echtenerbrug', + 'Eck en Wiel', + 'Eckelrade', + 'Edam', + 'Ede', + 'Ederveen', + 'Ee', + 'Eede', + 'Eefde', + 'Eelde', + 'Eelderwolde', + 'Eemdijk', + 'Eemnes', + 'Eemshaven', + 'Een', + 'Een-West', + 'Eenrum', + 'Eenum', + 'Eerbeek', + 'Eersel', + 'Ees', + 'Eesergroen', + 'Eeserveen', + 'Eesterga', + 'Eesveen', + 'Eethen', + 'Eext', + 'Eexterveen', + 'Eexterveenschekanaal', + 'Eexterzandvoort', + 'Egchel', + 'Egmond aan Zee', + 'Egmond aan den Hoef', + 'Egmond-Binnen', + 'Eibergen', + 'Eijsden', + 'Eindhoven', + 'Einighausen', + 'Ekehaar', + 'Elahuizen', + 'Elburg', + 'Eldersloo', + 'Eleveld', + 'Elim', + 'Elkenrade', + 'Ell', + 'Ellecom', + 'Ellemeet', + 'Ellertshaar', + 'Ellewoutsdijk', + 'Elp', + 'Elsendorp', + 'Elshout', + 'Elsloo', + 'Elsloo', + 'Elspeet', + 'Elst Ut', + 'Elst', + 'Emmeloord', + 'Emmen', + 'Emmer-Compascuum', + 'Empe', + 'Emst', + 'Engwierum', + 'Enkhuizen', + 'Ens', + 'Enschede', + 'Enspijk', + 'Enter', + 'Enumatil', + 'Epe', + 'Epen', + 'Eppenhuizen', + 'Epse', + 'Erica', + 'Erichem', + 'Erlecom', + 'Erm', + 'Ermelo', + 'Erp', + 'Esbeek', + 'Esch', + 'Escharen', + 'Espel', + 'Est', + 'Etten', + 'Etten-Leur', + 'Europoort Rotterdam', + 'Eursinge', + 'Eursinge', + 'Everdingen', + 'Evertsoord', + 'Ewijk', + 'Exloo', + 'Exloërveen', + 'Exmorra', + 'Eygelshoven', + 'Eys', + 'Ezinge', + 'Farmsum', + 'Feanwâlden', + 'Feerwerd', + 'Feinsum', + 'Ferwert', + 'Ferwoude', + 'Fijnaart', + 'Finsterwolde', + 'Firdgum', + 'Fleringen', + 'Fluitenberg', + 'Fochteloo', + 'Follega', + 'Folsgare', + 'Formerum', + 'Foudgum', + 'Foxhol', + 'Foxwolde', + 'Franeker', + 'Frederiksoord', + 'Friens', + 'Frieschepalen', + 'Froombosch', + 'Gaanderen', + 'Gaast', + 'Gaastmeer', + 'Galder', + 'Gameren', + 'Gapinge', + 'Garderen', + 'Garmerwolde', + 'Garminge', + 'Garnwerd', + 'Garrelsweer', + 'Garsthuizen', + 'Garyp', + 'Gassel', + 'Gasselte', + 'Gasselternijveen', + 'Gasselternijveenschemond', + 'Gastel', + 'Gasteren', + 'Gauw', + 'Geelbroek', + 'Geerdijk', + 'Geersdijk', + 'Geertruidenberg', + 'Geervliet', + 'Gees', + 'Geesbrug', + 'Geesteren', + 'Geesteren', + 'Geeuwenbrug', + 'Geffen', + 'Geijsteren', + 'Geldermalsen', + 'Gelderswoude', + 'Geldrop', + 'Geleen', + 'Gellicum', + 'Gelselaar', + 'Gemert', + 'Gemonde', + 'Genderen', + 'Gendringen', + 'Gendt', + 'Genemuiden', + 'Gennep', + 'Gerkesklooster', + 'Gersloot', + 'Geulle', + 'Giesbeek', + 'Giessen', + 'Giessenburg', + 'Gieten', + 'Gieterveen', + 'Giethmen', + 'Giethoorn', + 'Gilze', + 'Ginnum', + 'Glane', + 'Glimmen', + 'Godlinze', + 'Goedereede', + 'Goes', + 'Goingarijp', + 'Goirle', + 'Goor', + 'Gorinchem', + 'Gorredijk', + 'Gorssel', + 'Gouda', + 'Gouderak', + 'Goudriaan', + 'Goudswaard', + 'Goutum', + 'Goënga', + 'Goëngahuizen', + 'Graauw', + 'Grafhorst', + 'Graft', + 'Gramsbergen', + 'Grashoek', + 'Grathem', + 'Grave', + 'Greonterp', + 'Grevenbicht', + 'Griendtsveen', + 'Grijpskerk', + 'Grijpskerke', + 'Groede', + 'Groenekan', + 'Groeningen', + 'Groenlo', + 'Groesbeek', + 'Groessen', + 'Groet', + 'Grolloo', + 'Groningen', + 'Gronsveld', + 'Groot-Ammers', + 'Grootebroek', + 'Grootegast', + 'Grootschermer', + 'Grou', + 'Grubbenvorst', + 'Gulpen', + 'Guttecoven', + 'Gytsjerk', + 'Haaften', + 'Haaksbergen', + 'Haalderen', + 'Haaren', + 'Haarle', + 'Haarle', + 'Haarlem', + 'Haarlemmerliede', + 'Haarlo', + 'Haarsteeg', + 'Haarzuilens', + 'Haastrecht', + 'Haelen', + 'Hagestein', + 'Haghorst', + 'Haler', + 'Halfweg', + 'Hall', + 'Halle', + 'Hallum', + 'Halsteren', + 'Handel', + 'Hank', + 'Hansweert', + 'Hantum', + 'Hantumeruitburen', + 'Hantumhuizen', + 'Hapert', + 'Haps', + 'Harbrinkhoek', + 'Hardenberg', + 'Harderwijk', + 'Hardinxveld-Giessendam', + 'Haren Gn', + 'Haren', + 'Harfsen', + 'Harich', + 'Haringhuizen', + 'Harkema', + 'Harkstede', + 'Harlingen', + 'Harmelen', + 'Harreveld', + 'Harskamp', + 'Hartwerd', + 'Haskerdijken', + 'Haskerhorne', + 'Hasselt', + 'Hattem', + 'Hattemerbroek', + 'Haule', + 'Haulerwijk', + 'Hauwert', + 'Havelte', + 'Havelterberg', + 'Hazerswoude-Dorp', + 'Hazerswoude-Rijndijk', + 'Hedel', + 'Hedikhuizen', + 'Hee', + 'Heeg', + 'Heel', + 'Heelsum', + 'Heelweg', + 'Heemserveen', + 'Heemskerk', + 'Heemstede', + 'Heenvliet', + 'Heerde', + 'Heerenveen', + 'Heerewaarden', + 'Heerhugowaard', + 'Heerjansdam', + 'Heerle', + 'Heerlen', + 'Heesbeen', + 'Heesch', + 'Heesselt', + 'Heeswijk-Dinther', + 'Heeten', + 'Heeze', + 'Hegebeintum', + 'Hegelsom', + 'Hei- en Boeicop', + 'Heibloem', + 'Heide', + 'Heijen', + 'Heijenrath', + 'Heijningen', + 'Heikant', + 'Heilig Landstichting', + 'Heiligerlee', + 'Heiloo', + 'Heinenoord', + 'Heinkenszand', + 'Heino', + 'Hekelingen', + 'Hekendorp', + 'Helden', + 'Helenaveen', + 'Hellendoorn', + 'Hellevoetsluis', + 'Hellouw', + 'Hellum', + 'Helmond', + 'Helvoirt', + 'Hem', + 'Hemelum', + 'Hemmen', + 'Hempens', + 'Hemrik', + 'Hendrik-Ido-Ambacht', + 'Hengelo (Gld)', + 'Hengelo', + 'Hengevelde', + 'Hengstdijk', + 'Hensbroek', + 'Herbaijum', + 'Herkenbosch', + 'Herkingen', + 'Hernen', + 'Herpen', + 'Herpt', + 'Herten', + 'Hertme', + 'Herveld', + 'Herwen', + 'Herwijnen', + 'Heteren', + 'Heukelom', + 'Heukelum', + 'Heumen', + 'Heusden', + 'Heusden', + 'Heveadorp', + 'Heythuysen', + 'Hezingen', + 'Hiaure', + 'Hichtum', + 'Hidaard', + 'Hierden', + 'Hieslum', + 'Hijken', + 'Hijum', + 'Hilaard', + 'Hillegom', + 'Hilvarenbeek', + 'Hilversum', + 'Hindeloopen', + 'Hinnaard', + 'Hippolytushoef', + 'Hitzum', + 'Hobrede', + 'Hoedekenskerke', + 'Hoek van Holland', + 'Hoek', + 'Hoenderloo', + 'Hoenderloo', + 'Hoensbroek', + 'Hoenzadriel', + 'Hoevelaken', + 'Hoeven', + 'Hoge Hexel', + 'Hollandsche Rading', + 'Hollandscheveld', + 'Hollum', + 'Holsloot', + 'Holten', + 'Holthees', + 'Holtheme', + 'Holthone', + 'Holtum', + 'Holwerd', + 'Holwierde', + 'Hommerts', + 'Homoet', + 'Honselersdijk', + 'Hoofddorp', + 'Hoofdplaat', + 'Hoog Soeren', + 'Hoog-Keppel', + 'Hoogblokland', + 'Hooge Mierde', + 'Hooge Zwaluwe', + 'Hoogeloon', + 'Hoogenweg', + 'Hoogerheide', + 'Hoogersmilde', + 'Hoogersmilde', + 'Hoogeveen', + 'Hoogezand', + 'Hooghalen', + 'Hoogkarspel', + 'Hoogland', + 'Hooglanderveen', + 'Hoogmade', + 'Hoogvliet Rotterdam', + 'Hoogwoud', + 'Hoorn', + 'Hoorn', + 'Hoornaar', + 'Hoornsterzwaag', + 'Horn', + 'Hornhuizen', + 'Horssen', + 'Horst', + 'Houten', + 'Houtigehage', + 'Houwerzijl', + 'Huijbergen', + 'Huis ter Heide', + 'Huis ter Heide', + 'Huisduinen', + 'Huisseling', + 'Huissen', + 'Huizen', + 'Huizinge', + 'Hulsberg', + 'Hulsel', + 'Hulshorst', + 'Hulst', + 'Hulten', + 'Hummelo', + 'Hunsel', + 'Hurdegaryp', + 'Hurwenen', + 'Húns', + 'IJhorst', + 'IJlst', + 'IJmuiden', + 'IJsselham', + 'IJsselmuiden', + 'IJsselstein', + 'IJzendijke', + 'IJzendoorn', + 'Idaerd', + 'Idsegahuizum', + 'Idskenhuizen', + 'Idzega', + 'Iens', + 'Ilpendam', + 'Indijk', + 'Ingber', + 'Ingelum', + 'Ingen', + 'It Heidenskip', + 'Itens', + 'Ittervoort', + 'Jaarsveld', + 'Jabeek', + 'Jannum', + 'Jellum', + 'Jelsum', + 'Jirnsum', + 'Jislum', + 'Jisp', + 'Jistrum', + 'Jonkerslân', + 'Jonkersvaart', + 'Joppe', + 'Jorwert', + 'Joure', + 'Jouswier', + 'Jubbega', + 'Julianadorp', + 'Jutrijp', + 'Kaag', + 'Kaard', + 'Kaatsheuvel', + 'Kalenberg', + 'Kallenkote', + 'Kamerik', + 'Kampen', + 'Kamperland', + 'Kamperveen', + 'Kantens', + 'Kapel Avezaath', + 'Kapel-Avezaath', + 'Kapelle', + 'Kapellebrug', + 'Katlijk', + 'Kats', + 'Kattendijke', + 'Katwijk NB', + 'Katwijk', + 'Katwoude', + 'Kedichem', + 'Keent', + 'Keijenborg', + 'Kekerdom', + 'Kelpen-Oler', + 'Kerk Avezaath', + 'Kerk-Avezaath', + 'Kerkdriel', + 'Kerkenveld', + 'Kerkrade', + 'Kerkwerve', + 'Kerkwijk', + 'Kessel', + 'Kesteren', + 'Kiel-Windeweer', + 'Kilder', + 'Kimswerd', + 'Kinderdijk', + 'Kinnum', + 'Klaaswaal', + 'Klarenbeek', + 'Klarenbeek', + 'Klazienaveen', + 'Klazienaveen-Noord', + 'Klein Zundert', + 'Klijndijk', + 'Klimmen', + 'Kloetinge', + 'Kloetinge', + 'Klooster Lidlum', + 'Kloosterburen', + 'Kloosterhaar', + 'Kloosterhaar', + 'Kloosterzande', + 'Klundert', + 'Knegsel', + 'Koarnjum', + 'Kockengen', + 'Koedijk', + 'Koedijk', + 'Koekange', + 'Koewacht', + 'Kolderwolde', + 'Kolham', + 'Kolhorn', + 'Kollum', + 'Kollumerpomp', + 'Kollumerzwaag', + 'Kommerzijl', + 'Koningsbosch', + 'Koningslust', + 'Koog aan de Zaan', + 'Koolwijk', + 'Kootstertille', + 'Kootwijk', + 'Kootwijkerbroek', + 'Kornhorn', + 'Kornwerderzand', + 'Kortehemmen', + 'Kortenhoef', + 'Kortgene', + 'Koudekerk aan den Rijn', + 'Koudekerke', + 'Koudum', + 'Koufurderrige', + 'Krabbendijke', + 'Kraggenburg', + 'Kreileroord', + 'Krewerd', + 'Krimpen aan de Lek', + 'Krimpen aan den IJssel', + 'Kring van Dorth', + 'Krommenie', + 'Kronenberg', + 'Kropswolde', + 'Kruiningen', + 'Kruisland', + 'Kudelstaart', + 'Kuinre', + 'Kuitaart', + 'Kwadendamme', + 'Kwadijk', + 'Kwintsheul', + 'Kûbaard', + 'Laag Zuthem', + 'Laag-Keppel', + 'Laag-Soeren', + 'Lage Mierde', + 'Lage Vuursche', + 'Lage Zwaluwe', + 'Lageland', + 'Lambertschaag', + 'Lamswaarde', + 'Landerum', + 'Landgraaf', + 'Landhorst', + 'Landsmeer', + 'Langbroek', + 'Langedijke', + 'Langelille', + 'Langelo', + 'Langenboom', + 'Langerak', + 'Langeveen', + 'Langeweg', + 'Langezwaag', + 'Langweer', + 'Laren', + 'Laren', + 'Lathum', + 'Lattrop-Breklenkamp', + 'Lauwersoog', + 'Lauwerzijl', + 'Ledeacker', + 'Leek', + 'Leende', + 'Leens', + 'Leerbroek', + 'Leerdam', + 'Leermens', + 'Leersum', + 'Leeuwarden', + 'Leeuwarden', + 'Legemeer', + 'Leiden', + 'Leiderdorp', + 'Leidschendam', + 'Leimuiden', + 'Leimuiden', + 'Leimuiderbrug', + 'Lekkerkerk', + 'Lekkum', + 'Lellens', + 'Lelystad', + 'Lemele', + 'Lemelerveld', + 'Lemiers', + 'Lemmer', + 'Lengel', + 'Lent', + 'Leons', + 'Lepelstraat', + 'Lettelbert', + 'Lettele', + 'Leunen', + 'Leur', + 'Leusden', + 'Leuth', + 'Leutingewolde', + 'Leuvenheim', + 'Leveroy', + 'Lewedorp', + 'Lexmond', + 'Lichtaard', + 'Lichtenvoorde', + 'Liempde', + 'Lienden', + 'Lierderholthuis', + 'Lieren', + 'Lierop', + 'Lies', + 'Lieshout', + 'Liessel', + 'Lievelde', + 'Lieveren', + 'Lijnden', + 'Limbricht', + 'Limmen', + 'Linde', + 'Linden', + 'Linne', + 'Linschoten', + 'Lioessens', + 'Lippenhuizen', + 'Lisse', + 'Lisserbroek', + 'Lith', + 'Lithoijen', + 'Lobith', + 'Lochem', + 'Loenen aan de Vecht', + 'Loenen', + 'Loenersloot', + 'Loerbeek', + 'Lollum', + 'Lomm', + 'Longerhouw', + 'Loo Gld', + 'Loo Gld', + 'Loon op Zand', + 'Loon', + 'Loosbroek', + 'Loosdrecht', + 'Loozen', + 'Lopik', + 'Lopikerkapel', + 'Loppersum', + 'Losdorp', + 'Losser', + 'Lottum', + 'Loënga', + 'Lucaswolde', + 'Luddeweer', + 'Luinjeberd', + 'Lunteren', + 'Lutjebroek', + 'Lutjegast', + 'Lutjewinkel', + 'Luttelgeest', + 'Lutten', + 'Luttenberg', + 'Luxwoude', + 'Luyksgestel', + 'Lytsewierrum', + 'Maarheeze', + 'Maarn', + 'Maarsbergen', + 'Maarssen', + 'Maartensdijk', + 'Maasbommel', + 'Maasbracht', + 'Maasbree', + 'Maasdam', + 'Maasdijk', + 'Maashees', + 'Maasland', + 'Maassluis', + 'Maastricht', + 'Maastricht-Airport', + 'Maasvlakte Rotterdam', + 'Macharen', + 'Made', + 'Makkinga', + 'Makkum', + 'Malden', + 'Mander', + 'Manderveen', + 'Mantgum', + 'Mantinge', + 'Maren-Kessel', + 'Margraten', + 'Maria Hoop', + 'Mariahout', + 'Mariaparochie', + 'Marijenkampen', + 'Mariënberg', + 'Mariënheem', + 'Mariënvelde', + 'Markelo', + 'Marken', + 'Markenbinnen', + 'Marknesse', + 'Marle', + 'Marrum', + 'Marsum', + 'Marum', + 'Marwijksoord', + 'Mastenbroek', + 'Mastenbroek', + 'Matsloot', + 'Maurik', + 'Mechelen', + 'Medemblik', + 'Meeden', + 'Meedhuizen', + 'Meerkerk', + 'Meerlo', + 'Meerssen', + 'Meerstad', + 'Meeuwen', + 'Megchelen', + 'Megen', + 'Meijel', + 'Melderslo', + 'Melick', + 'Meliskerke', + 'Melissant', + 'Menaam', + 'Mensingeweer', + 'Meppel', + 'Meppen', + 'Merkelbeek', + 'Merselo', + 'Meteren', + 'Meterik', + 'Metslawier', + 'Mheer', + 'Middelaar', + 'Middelburg', + 'Middelharnis', + 'Middelie', + 'Middelstum', + 'Middenbeemster', + 'Middenmeer', + 'Midlaren', + 'Midlum', + 'Midsland', + 'Midwolda', + 'Midwolde', + 'Midwoud', + 'Miedum', + 'Mierlo', + 'Mijdrecht', + 'Mijnsheerenland', + 'Mildam', + 'Milheeze', + 'Mill', + 'Millingen aan de Rijn', + 'Milsbeek', + 'Minnertsga', + 'Mirns', + 'Moddergat', + 'Moerdijk', + 'Moergestel', + 'Moerkapelle', + 'Moerstraten', + 'Molenaarsgraaf', + 'Molenhoek', + 'Molenschot', + 'Molkwerum', + 'Monnickendam', + 'Monster', + 'Montfoort', + 'Montfort', + 'Mook', + 'Mookhoek', + 'Moordrecht', + 'Moorveld', + 'Morra', + 'Muiden', + 'Muiderberg', + 'Munnekeburen', + 'Munnekezijl', + 'Munstergeleen', + 'Muntendam', + 'Mussel', + 'Musselkanaal', + 'Mûnein', + 'Naaldwijk', + 'Naarden', + 'Nagele', + 'Nederasselt', + 'Nederhemert', + 'Nederhorst den Berg', + 'Nederland', + 'Nederweert', + 'Nederweert-Eind', + 'Neede', + 'Neer', + 'Neerijnen', + 'Neeritter', + 'Neerkant', + 'Neerlangel', + 'Neerloon', + 'Nes (Ameland)', + 'Nes (Boornsterhem)', + 'Nes (Dongeradeel)', + 'Netersel', + 'Netterden', + 'Niawier', + 'Nibbixwoud', + 'Niebert', + 'Niehove', + 'Niekerk', + 'Niekerk', + 'Nietap', + 'Nieuw Annerveen', + 'Nieuw Beerta', + 'Nieuw Heeten', + 'Nieuw Namen', + 'Nieuw Scheemda', + 'Nieuw- en Sint Joosland', + 'Nieuw-Amsterdam', + 'Nieuw-Balinge', + 'Nieuw-Beijerland', + 'Nieuw-Buinen', + 'Nieuw-Dordrecht', + 'Nieuw-Lekkerland', + 'Nieuw-Roden', + 'Nieuw-Schoonebeek', + 'Nieuw-Vennep', + 'Nieuw-Vossemeer', + 'Nieuw-Weerdinge', + 'Nieuwaal', + 'Nieuwdorp', + 'Nieuwe Niedorp', + 'Nieuwe Pekela', + 'Nieuwe Wetering', + 'Nieuwe-Tonge', + 'Nieuwebrug', + 'Nieuwediep', + 'Nieuwegein', + 'Nieuwehorne', + 'Nieuwendijk', + 'Nieuwer Ter Aa', + 'Nieuwerbrug aan den Rijn', + 'Nieuwerkerk aan den IJssel', + 'Nieuwerkerk', + 'Nieuweroord', + 'Nieuweroord', + 'Nieuwersluis', + 'Nieuweschoot', + 'Nieuwkoop', + 'Nieuwkuijk', + 'Nieuwland', + 'Nieuwlande Coevorden', + 'Nieuwlande', + 'Nieuwleusen', + 'Nieuwolda', + 'Nieuwpoort', + 'Nieuwstadt', + 'Nieuwveen', + 'Nieuwvliet', + 'Niezijl', + 'Niftrik', + 'Nigtevecht', + 'Nij Altoenae', + 'Nij Beets', + 'Nijbroek', + 'Nijeberkoop', + 'Nijega', + 'Nijehaske', + 'Nijeholtpade', + 'Nijeholtwolde', + 'Nijelamer', + 'Nijemirdum', + 'Nijensleek', + 'Nijetrijne', + 'Nijeveen', + 'Nijhuizum', + 'Nijkerk', + 'Nijkerkerveen', + 'Nijland', + 'Nijlande', + 'Nijmegen', + 'Nijverdal', + 'Nispen', + 'Nisse', + 'Nistelrode', + 'Noardburgum', + 'Nooitgedacht', + 'Noorbeek', + 'Noord-Scharwoude', + 'Noord-Sleen', + 'Noordbeemster', + 'Noordbroek', + 'Noordeinde Gld', + 'Noordeinde', + 'Noordeloos', + 'Noorden', + 'Noordgouwe', + 'Noordhoek', + 'Noordhorn', + 'Noordlaren', + 'Noordscheschut', + 'Noordwelle', + 'Noordwijk', + 'Noordwijk', + 'Noordwijkerhout', + 'Noordwolde', + 'Noordwolde', + 'Nootdorp', + 'Norg', + 'Notter', + 'Nuenen', + 'Nuis', + 'Nuland', + 'Numansdorp', + 'Nunhem', + 'Nunspeet', + 'Nuth', + 'Nutter', + 'Obbicht', + 'Obdam', + 'Ochten', + 'Odijk', + 'Odiliapeel', + 'Odoorn', + 'Odoornerveen', + 'Oeffelt', + 'Oegstgeest', + 'Oene', + 'Oentsjerk', + 'Offingawier', + 'Ohé en Laak', + 'Oijen', + 'Oirlo', + 'Oirsbeek', + 'Oirschot', + 'Oisterwijk', + 'Okkenbroek', + 'Olburgen', + 'Oldeberkoop', + 'Oldebroek', + 'Oldeholtpade', + 'Oldeholtwolde', + 'Oldehove', + 'Oldekerk', + 'Oldelamer', + 'Oldemarkt', + 'Oldenzaal', + 'Oldenzijl', + 'Oldeouwer', + 'Oldetrijne', + 'Olst', + 'Olterterp', + 'Ommel', + 'Ommen', + 'Ommeren', + 'Onderdendam', + 'Onna', + 'Onnen', + 'Onstwedde', + 'Ooij', + 'Ooltgensplaat', + 'Oost West en Middelbeers', + 'Oost-Graftdijk', + 'Oost-Souburg', + 'Oostburg', + 'Oostdijk', + 'Oosteind', + 'Oosterbeek', + 'Oosterbierum', + 'Oosterblokker', + 'Oosterend', + 'Oosterend', + 'Oosterhesselen', + 'Oosterhout', + 'Oosterhout', + 'Oosterland', + 'Oosterleek', + 'Oosternieland', + 'Oosternijkerk', + 'Oosterstreek', + 'Oosterwijk', + 'Oosterwijtwerd', + 'Oosterwolde Gld', + 'Oosterwolde', + 'Oosterzee', + 'Oosthem', + 'Oosthuizen', + 'Oostkapelle', + 'Oostknollendam', + 'Oostrum', + 'Oostrum', + 'Oostvoorne', + 'Oostwold', + 'Oostwold', + 'Oostwoud', + 'Oostzaan', + 'Ootmarsum', + 'Opeinde', + 'Opende', + 'Ophemert', + 'Opheusden', + 'Opijnen', + 'Oploo', + 'Opmeer', + 'Oppenhuizen', + 'Opperdoes', + 'Oranje', + 'Oranjewoud', + 'Orvelte', + 'Ospel', + 'Oss', + 'Ossendrecht', + 'Ossenisse', + 'Ossenwaard', + 'Ossenzijl', + 'Oterleek', + 'Otterlo', + 'Ottersum', + 'Ottoland', + 'Oud Ade', + 'Oud Annerveen', + 'Oud Gastel', + 'Oud Ootmarsum', + 'Oud Zuilen', + 'Oud-Alblas', + 'Oud-Beijerland', + 'Oud-Vossemeer', + 'Ouddorp', + 'Oude Meer', + 'Oude Niedorp', + 'Oude Pekela', + 'Oude Wetering', + 'Oude Willem', + 'Oude-Tonge', + 'Oudebildtzijl', + 'Oudega', + 'Oudega', + 'Oudega', + 'Oudehaske', + 'Oudehorne', + 'Oudelande', + 'Oudemirdum', + 'Oudemolen', + 'Oudemolen', + 'Oudenbosch', + 'Oudendijk', + 'Oudenhoorn', + 'Ouderkerk aan de Amstel', + 'Ouderkerk aan den IJssel', + 'Oudeschans', + 'Oudeschild', + 'Oudeschip', + 'Oudeschoot', + 'Oudesluis', + 'Oudewater', + 'Oudezijl', + 'Oudheusden', + 'Oudkarspel', + 'Oudkarspel', + 'Oudorp', + 'Oudwoude', + 'Ouwerkerk', + 'Ouwster-Nijega', + 'Ouwsterhaule', + 'Overasselt', + 'Overberg', + 'Overdinkel', + 'Overlangel', + 'Overloon', + 'Overschild', + 'Overslag', + 'Overveen', + 'Ovezande', + 'Paasloo', + 'Paesens', + 'Pannerden', + 'Panningen', + 'Papekop', + 'Papendrecht', + 'Papenhoven', + 'Papenvoort', + 'Parrega', + 'Paterswolde', + 'Peest', + 'Peins', + 'Peize', + 'Peperga', + 'Pernis Rotterdam', + 'Persingen', + 'Pesse', + 'Pesse', + 'Petten', + 'Philippine', + 'Piaam', + 'Piershil', + 'Pieterburen', + 'Pietersbierum', + 'Pieterzijl', + 'Pijnacker', + 'Pingjum', + 'Plasmolen', + 'Poederoijen', + 'Poeldijk', + 'Polsbroek', + 'Poortugaal', + 'Poortvliet', + 'Poppenwier', + 'Posterholt', + 'Prinsenbeek', + 'Puiflijk', + 'Punthorst', + 'Purmer', + 'Purmer', + 'Purmerend', + 'Purmerland', + 'Puth', + 'Putte', + 'Putten', + 'Puttershoek', + 'Raalte', + 'Raamsdonk', + 'Raamsdonksveer', + 'Raard', + 'Radewijk', + 'Radio Kootwijk', + 'Raerd', + 'Randwijk', + 'Ransdaal', + 'Rasquert', + 'Ravenstein', + 'Ravenswaaij', + 'Ravenswoud', + 'Readtsjerk', + 'Reahûs', + 'Reduzum', + 'Reek', + 'Reeuwijk', + 'Reijmerstok', + 'Reitsum', + 'Rekken', + 'Renesse', + 'Renkum', + 'Renswoude', + 'Ressen', + 'Retranchement', + 'Reusel', + 'Reutum', + 'Reuver', + 'Rha', + 'Rheden', + 'Rhee', + 'Rheeze', + 'Rheezerveen', + 'Rhenen', + 'Rhenoy', + 'Rhoon', + 'Ridderkerk', + 'Ried', + 'Riel', + 'Rien', + 'Riethoven', + 'Rietmolen', + 'Rijen', + 'Rijkevoort', + 'Rijkevoort-De Walsert', + 'Rijnsaterwoude', + 'Rijnsburg', + 'Rijpwetering', + 'Rijpwetering', + 'Rijs', + 'Rijsbergen', + 'Rijsenhout', + 'Rijssen', + 'Rijswijk (GLD)', + 'Rijswijk (NB)', + 'Rijswijk', + 'Rilland', + 'Rinsumageast', + 'Ritthem', + 'Rockanje', + 'Roden', + 'Roderesch', + 'Roderwolde', + 'Roelofarendsveen', + 'Roermond', + 'Rogat', + 'Roggel', + 'Rohel', + 'Rolde', + 'Roodeschool', + 'Roosendaal', + 'Roosteren', + 'Rosmalen', + 'Rossum', + 'Rossum', + 'Roswinkel', + 'Rotstergaast', + 'Rotsterhaule', + 'Rotterdam', + 'Rotterdam-Albrandswaard', + 'Rottevalle', + 'Rottum', + 'Rottum', + 'Rouveen', + 'Rozenburg', + 'Rozenburg', + 'Rozendaal', + 'Rucphen', + 'Ruigahuizen', + 'Ruinen', + 'Ruinen', + 'Ruinerwold', + 'Rumpt', + 'Rutten', + 'Ruurlo', + 'Ryptsjerk', + 'Saaksum', + 'Saasveld', + 'Saaxumhuizen', + 'Sambeek', + 'Sandfirden', + 'Santpoort-Noord', + 'Santpoort-Zuid', + 'Sappemeer', + 'Sas van Gent', + 'Sassenheim', + 'Sauwerd', + 'Schagen', + 'Schagerbrug', + 'Schaijk', + 'Schalkhaar', + 'Schalkwijk', + 'Schalsum', + 'Schardam', + 'Scharendijke', + 'Scharmer', + 'Scharnegoutum', + 'Scharsterbrug', + 'Scharwoude', + 'Scheemda', + 'Scheerwolde', + 'Schellinkhout', + 'Schelluinen', + 'Schermerhorn', + 'Scherpenisse', + 'Scherpenzeel', + 'Scherpenzeel', + 'Schettens', + 'Scheulder', + 'Schiedam', + 'Schiermonnikoog', + 'Schijf', + 'Schijndel', + 'Schildwolde', + 'Schimmert', + 'Schin op Geul', + 'Schinnen', + 'Schinveld', + 'Schipborg', + 'Schiphol', + 'Schiphol-Rijk', + 'Schipluiden', + 'Schokland', + 'Schoondijke', + 'Schoonebeek', + 'Schoonhoven', + 'Schoonloo', + 'Schoonoord', + 'Schoonrewoerd', + 'Schoorl', + 'Schore', + 'Schouwerzijl', + 'Schraard', + 'Schuinesloot', + 'Sebaldeburen', + 'Sellingen', + 'Serooskerke', + 'Serooskerke', + 'Sevenum', + 'Sexbierum', + 'Sibculo', + 'Sibculo', + 'Sibrandabuorren', + 'Sibrandahûs', + 'Siddeburen', + 'Siebengewald', + 'Siegerswoude', + 'Sijbekarspel', + 'Silvolde', + 'Simonshaven', + 'Simpelveld', + 'Sinderen', + 'Sint Agatha', + 'Sint Annen', + 'Sint Anthonis', + 'Sint Geertruid', + 'Sint Hubert', + 'Sint Jansklooster', + 'Sint Jansteen', + 'Sint Joost', + 'Sint Kruis', + 'Sint Maarten', + 'Sint Maartensbrug', + 'Sint Maartensvlotbrug', + 'Sint Nicolaasga', + 'Sint Odiliënberg', + 'Sint Pancras', + 'Sint Philipsland', + 'Sint-Annaland', + 'Sint-Maartensdijk', + 'Sint-Michielsgestel', + 'Sint-Oedenrode', + 'Sintjohannesga', + 'Sirjansland', + 'Sittard', + 'Skingen', + 'Slagharen', + 'Slappeterp', + 'Sleen', + 'Sleeuwijk', + 'Slenaken', + 'Sliedrecht', + 'Slijk-Ewijk', + 'Slijkenburg', + 'Slochteren', + 'Slootdorp', + 'Sloten', + 'Sluis', + 'Sluiskil', + 'Smakt', + 'Smalle Ee', + 'Smallebrugge', + 'Smilde', + 'Smilde', + 'Snakkerburen', + 'Sneek', + 'Snelrewaard', + 'Snikzwaag', + 'Soerendonk', + 'Soest', + 'Soesterberg', + 'Someren', + 'Sommelsdijk', + 'Son en Breugel', + 'Son', + 'Sondel', + 'Sonnega', + 'Spaarndam gem. Haarlem', + 'Spaarndam', + 'Spanbroek', + 'Spanga', + 'Spankeren', + 'Spannum', + 'Spaubeek', + 'Spier', + 'Spier', + 'Spierdijk', + 'Spijk Gn', + 'Spijk', + 'Spijk', + 'Spijkenisse', + 'Spijkerboor', + 'Spijkerboor', + 'Sprang-Capelle', + 'Sprundel', + 'Spui', + 'St. Willebrord', + 'St.-Annaparochie', + 'St.-Jacobiparochie', + "Stad aan 't Haringvliet", + 'Stadskanaal', + 'Stampersgat', + 'Standdaarbuiten', + 'Staphorst', + 'Starnmeer', + 'Startenhuizen', + 'Startenhuizen', + 'Stavenisse', + 'Stavoren', + 'Stedum', + 'Steenbergen', + 'Steenbergen', + 'Steendam', + 'Steenderen', + 'Steenenkamer', + 'Steensel', + 'Steenwijk', + 'Steenwijkerwold', + 'Stegeren', + 'Steggerda', + 'Stein', + 'Stellendam', + 'Sterksel', + 'Stevensbeek', + 'Stevensweert', + 'Steyl', + 'Stieltjeskanaal', + 'Stiens', + 'Stitswerd', + 'Stokkum', + 'Stolwijk', + 'Stompetoren', + 'Stoutenburg Noord', + 'Stoutenburg', + 'Stramproy', + 'Streefkerk', + 'Striep', + 'Strijbeek', + 'Strijen', + 'Strijensas', + 'Stroe', + 'Stroobos', + 'Stuifzand', + 'Stuifzand', + 'Sumar', + 'Surhuisterveen', + 'Surhuizum', + 'Susteren', + 'Suwâld', + 'Swalmen', + 'Sweikhuizen', + 'Swichum', + 'Swifterbant', + 'Swolgen', + 'Taarlo', + 'Teeffelen', + 'Teerns', + 'Tegelen', + 'Ten Boer', + 'Ten Post', + 'Ter Aar', + 'Ter Aard', + 'Ter Apel', + 'Ter Apelkanaal', + 'Ter Heijde', + 'Ter Idzard', + 'Terband', + 'Terborg', + 'Terheijden', + 'Terherne', + 'Terhole', + 'Terkaple', + 'Termunten', + 'Termunterzijl', + 'Ternaard', + 'Terneuzen', + 'Teroele', + 'Terschuur', + 'Tersoal', + 'Terwispel', + 'Terwolde', + 'Teteringen', + 'Teuge', + 'Thesinge', + 'Tholen', + 'Thorn', + 'Tiel', + 'Tiendeveen', + 'Tiendeveen', + 'Tienhoven', + 'Tienhoven', + 'Tienray', + 'Tijnje', + 'Tilburg', + 'Tilligte', + 'Tinallinge', + 'Tinte', + 'Tirns', + 'Tjalhuizum', + 'Tjalleberd', + 'Tjerkgaast', + 'Tjerkwerd', + 'Tjuchem', + 'Tolbert', + 'Toldijk', + 'Tolkamer', + 'Tollebeek', + 'Tonden', + 'Toornwerd', + 'Tricht', + 'Triemen', + 'Tripscompagnie', + 'Tubbergen', + 'Tuil', + 'Tuitjenhorn', + 'Tuk', + "Tull en 't Waal", + 'Twello', + 'Twijzel', + 'Twijzelerheide', + 'Twisk', + 'Tynaarlo', + 'Tytsjerk', + 'Tzum', + 'Tzummarum', + 'Ubbena', + 'Ubbergen', + 'Uddel', + 'Uden', + 'Udenhout', + 'Uffelte', + 'Ugchelen', + 'Uitdam', + 'Uitgeest', + 'Uithoorn', + 'Uithuizen', + 'Uithuizermeeden', + 'Uitwellingerga', + 'Uitwijk', + 'Ulestraten', + 'Ulft', + 'Ulicoten', + 'Ulrum', + 'Ulvenhout AC', + 'Ulvenhout', + 'Ureterp', + 'Urk', + 'Urmond', + 'Ursem gem. S', + 'Ursem', + 'Usquert', + 'Utrecht', + 'Vaals', + 'Vaassen', + 'Valburg', + 'Valkenburg', + 'Valkenburg', + 'Valkenswaard', + 'Valthe', + 'Valthermond', + 'Varik', + 'Varsselder', + 'Varsseveld', + 'Vasse', + 'Veelerveen', + 'Veen', + 'Veendam', + 'Veenendaal', + 'Veenhuizen', + 'Veeningen', + 'Veenklooster', + 'Veenoord', + 'Veere', + 'Veessen', + 'Vegelinsoord', + 'Veghel', + 'Velddriel', + 'Velden', + 'Veldhoven', + 'Velp', + 'Velp', + 'Velsen-Noord', + 'Velsen-Zuid', + 'Velserbroek', + 'Ven-Zelderheide', + 'Venebrugge', + 'Venhorst', + 'Venhuizen', + 'Venlo', + 'Venray', + 'Vessem', + 'Vethuizen', + 'Veulen', + 'Vianen NB', + 'Vianen', + 'Vierakker', + 'Vierhouten', + 'Vierhuizen', + 'Vierlingsbeek', + 'Vierpolders', + 'Vijfhuizen', + 'Vijlen', + 'Vilsteren', + 'Vinkega', + 'Vinkel', + 'Vinkel', + 'Vinkenbuurt', + 'Vinkeveen', + 'Visvliet', + 'Vlaardingen', + 'Vlagtwedde', + 'Vledder', + 'Vledderveen', + 'Vledderveen', + 'Vleuten', + 'Vlieland', + 'Vlierden', + 'Vlijmen', + 'Vlissingen', + 'Vlist', + 'Vlodrop', + 'Voerendaal', + 'Vogelenzang', + 'Vogelwaarde', + 'Volendam', + 'Volkel', + 'Vollenhove', + 'Vondelingenplaat Rotterdam', + 'Voorburg', + 'Voorhout', + 'Voorschoten', + 'Voorst', + 'Voorst', + 'Voorthuizen', + 'Vorchten', + 'Vorden', + 'Vorstenbosch', + 'Vortum-Mullem', + 'Vragender', + 'Vredenheim', + 'Vredepeel', + 'Vreeland', + 'Vries', + 'Vriescheloo', + 'Vriezenveen', + 'Vroomshoop', + 'Vrouwenakker', + 'Vrouwenparochie', + 'Vrouwenpolder', + 'Vught', + 'Vuren', + 'Waaksens', + 'Waal', + 'Waalre', + 'Waalwijk', + 'Waarde', + 'Waardenburg', + 'Waarder', + 'Waardhuizen', + 'Waarland', + 'Waaxens', + 'Wachtum', + 'Waddinxveen', + 'Wadenoijen', + 'Wagenberg', + 'Wagenborgen', + 'Wageningen', + 'Walem', + 'Walsoorden', + 'Wamel', + 'Wanneperveen', + 'Wanroij', + 'Wanssum', + 'Wapenveld', + 'Wapse', + 'Wapserveen', + 'Warder', + 'Warffum', + 'Warfhuizen', + 'Warfstermolen', + 'Warmenhuizen', + 'Warmond', + 'Warns', + 'Warnsveld', + 'Warstiens', + 'Warten', + 'Waskemeer', + 'Waspik', + 'Wassenaar', + 'Wateren', + 'Watergang', + 'Waterhuizen', + 'Wateringen', + 'Waterlandkerkje', + 'Waverveen', + 'Wedde', + 'Weerselo', + 'Weert', + 'Weesp', + 'Wehe-den Hoorn', + 'Wehl', + 'Weidum', + 'Weiteveen', + 'Wekerom', + 'Well L', + 'Well', + 'Wellerlooi', + 'Welsum', + 'Wemeldinge', + 'Wenum Wiesel', + 'Wenum Wiesel', + 'Wergea', + 'Werkendam', + 'Werkhoven', + 'Wernhout', + 'Wervershoof', + 'Wesepe', + 'Wessem', + 'West-Graftdijk', + 'West-Terschelling', + 'Westbeemster', + 'Westbroek', + 'Westdorp', + 'Westdorpe', + 'Westendorp', + 'Westerbeek', + 'Westerbork', + 'Westerbroek', + 'Westeremden', + 'Westergeest', + 'Westerhaar-Vriezenveensewijk', + 'Westerhoven', + 'Westerland', + 'Westerlee', + 'Westernieland', + 'Westervelde', + 'Westervoort', + 'Westerwijtwerd', + 'Westhem', + 'Westhoek', + 'Westkapelle', + 'Westknollendam', + 'Westmaas', + 'Westwoud', + 'Westzaan', + 'Wetering', + 'Weteringbrug', + 'Wetsens', + 'Wetsinge', + 'Weurt', + 'Wezep', + 'Wezup', + 'Wezuperbrug', + 'Wichmond', + 'Wier', + 'Wierden', + 'Wieringerwaard', + 'Wieringerwerf', + 'Wierum', + 'Wijchen', + 'Wijckel', + 'Wijdenes', + 'Wijdewormer', + 'Wijhe', + 'Wijk aan Zee', + 'Wijk bij Duurstede', + 'Wijk en Aalburg', + 'Wijlre', + 'Wijnaldum', + 'Wijnandsrade', + 'Wijnbergen', + 'Wijngaarden', + 'Wijnjewoude', + 'Wijster', + 'Wilbertoord', + 'Wildervank', + 'Wilhelminadorp', + 'Wilhelminaoord', + 'Willemsoord', + 'Willemstad', + 'Wilnis', + 'Wilp', + 'Wilsum', + 'Winde', + 'Windraak', + 'Winkel', + 'Winneweer', + 'Winschoten', + 'Winssen', + 'Winsum', + 'Winsum', + 'Wintelre', + 'Winterswijk Brinkheurne', + 'Winterswijk Corle', + 'Winterswijk Henxel', + 'Winterswijk Huppel', + 'Winterswijk Kotten', + 'Winterswijk Meddo', + 'Winterswijk Miste', + 'Winterswijk Ratum', + 'Winterswijk Woold', + 'Winterswijk', + 'Wirdum Gn', + 'Wirdum', + 'Wissenkerke', + 'Witharen', + 'Witmarsum', + 'Witte Paarden', + 'Wittelte', + 'Wittem', + 'Witteveen', + 'Wiuwert', + 'Wjelsryp', + 'Woensdrecht', + 'Woerden', + 'Woerdense Verlaat', + 'Wognum', + 'Woldendorp', + 'Wolfheze', + 'Wolphaartsdijk', + 'Wolsum', + 'Woltersum', + 'Wolvega', + 'Wommels', + 'Wons', + 'Workum', + 'Wormer', + 'Wormerveer', + 'Woubrugge', + 'Woudbloem', + 'Woudenberg', + 'Woudrichem', + 'Woudsend', + 'Wouw', + 'Wouwse Plantage', + 'Wyns', + 'Wytgaard', + 'Wâlterswâld', + 'Wânswert', + 'Yde', + 'Yerseke', + 'Ypecolsga', + 'Ysbrechtum', + 'Ysselsteyn', + 'Zaamslag', + 'Zaandam', + 'Zaandijk', + 'Zalk', + 'Zaltbommel', + 'Zandberg', + 'Zandeweer', + 'Zandhuizen', + 'Zandpol', + 'Zandvoort', + 'Zeddam', + 'Zeegse', + 'Zeeland', + 'Zeerijp', + 'Zeewolde', + 'Zegge', + 'Zegveld', + 'Zeijen', + 'Zeijerveen', + 'Zeijerveld', + 'Zeist', + 'Zelhem', + 'Zenderen', + 'Zennewijnen', + 'Zennewijnen', + 'Zetten', + 'Zevenaar', + 'Zevenbergen', + 'Zevenbergschen Hoek', + 'Zevenbergschen Hoek', + 'Zevenhoven', + 'Zevenhuizen', + 'Zevenhuizen', + 'Zierikzee', + 'Zieuwent', + 'Zijderveld', + 'Zijdewind', + 'Zijldijk', + 'Zoelen', + 'Zoelmond', + 'Zoetermeer', + 'Zoeterwoude', + 'Zonnemaire', + 'Zorgvlied', + 'Zoutelande', + 'Zoutkamp', + 'Zuid-Beijerland', + 'Zuid-Scharwoude', + 'Zuidbroek', + 'Zuiddorpe', + 'Zuidermeer', + 'Zuiderwoude', + 'Zuidhorn', + 'Zuidlaarderveen', + 'Zuidland', + 'Zuidlaren', + 'Zuidoostbeemster', + 'Zuidschermer', + 'Zuidveen', + 'Zuidveld', + 'Zuidvelde', + 'Zuidwolde', + 'Zuidwolde', + 'Zuidzande', + 'Zuilichem', + 'Zuna', + 'Zundert', + 'Zurich', + 'Zutphen', + 'Zuurdijk', + 'Zwaag', + 'Zwaagdijk-Oost', + 'Zwaagdijk-West', + 'Zwaanshoek', + 'Zwagerbosch', + 'Zwammerdam', + 'Zwanenburg', + 'Zwartebroek', + 'Zwartemeer', + 'Zwartewaal', + 'Zwartsluis', + 'Zweeloo', + 'Zweins', + 'Zwiggelte', + 'Zwijndrecht', + 'Zwinderen', + 'Zwolle', + 'de Hoef', + 'de Lutte', + 'de Wijk', + 'de Woude', + ]; - protected static $state = [ - 'Drenthe', 'Gelderland', 'Groningen', 'Flevoland', 'Friesland', 'Noord-Brabant', 'Noord-Holland', 'Overijssel', 'Limburg', 'Utrecht', 'Zeeland', 'Zuid-Holland', - ]; + protected static $state = [ + 'Drenthe', + 'Gelderland', + 'Groningen', + 'Flevoland', + 'Friesland', + 'Noord-Brabant', + 'Noord-Holland', + 'Overijssel', + 'Limburg', + 'Utrecht', + 'Zeeland', + 'Zuid-Holland', + ]; - protected static $country = [ - 'Afghanistan', 'Albanië', 'Algerije', 'Amerikaans-Samoa', 'Andorra', 'Angola', 'Amerikaanse Virgineilanden', 'Anguilla', 'Antartica', 'Antigua en Barbuda', 'Argentinië', 'Armenië', 'Aruba', 'Australië', 'Azerbeidzjan', - 'Bahamas', 'Bahrein', 'Bangladesh', 'Barbados', 'België', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnië-Herzegovina', 'Botswana', 'Bouvet Eiland (Bouvetøya)', 'Brazilië', 'Britse Maagdeneilanden', 'Brunei Darussalam', 'Bulgarije', 'Burkina Faso', 'Burundi', - 'Cambodja', 'Canada', 'Centraal-Afrikaanse Republiek', 'Chili', 'China', 'Christmaseiland', 'Cocoseilanden', 'Colombia', 'Comoren', 'Congo', 'Cookeilanden', 'Costa Rica', 'Cuba', 'Cyprus', - 'Denemarken', 'Djibouti', 'Dominica', 'Dominicaanse Republiek', 'Duitsland', - 'Ecuador', 'Egypte', 'El salvador', 'Equatoriaal-Guinea', 'Eritrea', 'Estland', 'Ethiopië', - 'Faroe Eilanden', 'Falklandeilanden', 'Fiji', 'Finland', 'Frankrijk', 'Frans-Guyana', 'Frans-Polynesië', 'Franse Zuidelijke en Antarctische Gebieden', - 'Gabon', 'Gambia', 'Georgië', 'Ghana', 'Gibraltar', 'Griekenland', 'Groenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinee', 'Guinee-Bissau', 'Guyana', - 'Haïti', 'Heard en McDonaldeilanden', 'Honduras', 'Hong Kong', 'Hongarije', - 'IJsland', 'India', 'Indonesië', 'Iran', 'Irak', 'Ierland', 'Man', 'Israel', 'Ivoorkust', 'Italië', - 'Jamaica', 'Japan', 'Jersey', 'Jordanië', 'Jemen', - 'Kazachstan', 'Kenia', 'Kleinere afgelegen eilanden van de Verenigde Staten', 'Kiribati', 'Korea', 'Koeweit', 'Kirgizië', 'Kameroen', 'Kaapverdië', 'Kaaimaneilanden', 'Kroatië', - 'Laos', 'Letland', 'Libanon', 'Lesotho', 'Liberia', 'Libië', 'Liechtenstein', 'Litouwen', 'Luxemburg', - 'Macau', 'Macedonië', 'Madagascar', 'Malawi', 'Maleisië', 'Maldiven', 'Mali', 'Malta', 'Marshalleilanden', 'Martinique', 'Mauritus', 'Mauritania', 'Mayotte', 'Mexico', 'Micronesië', 'Moldavië', 'Monaco', 'Mongolië', 'Montenegro', 'Monsterrat', 'Marokko', 'Mozambique', 'Myanmar', - 'Namibië', 'Nauru', 'Nepal', 'Nederlandse Antillen', 'Nederland', 'Nieuw-Caledonië', 'Nieuw-Zeeland', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk', 'Noordelijke Marianen', 'Noorwegen', - 'Oman', 'Oostenrijk', 'Oeganda', 'Oekraïne', 'Oezbakistan', - 'Pakistan', 'Palau', 'Palestina', 'Panama', 'Papoea-Nieuw-Guinea', 'Paraguay', 'Peru', 'Filipijnen', 'Pitcairneilanden', 'Polen', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Réunion', 'Romania', 'Rusland', 'Rwanda', - 'Sint-Bartholomeus', 'Sint-Helena', 'Saint Kitts en Nevis', 'Saint Lucia', 'Sint Maarten', 'Saint-Pierre en Miquelon', 'Saint Vincent en de Grenadines', 'Samoa', 'San Marino', 'Sao Tomé en Principe', 'Saoedi-Arabië', 'Senegal', 'Servië', 'Seychellen', 'Sierra Leone', 'Singapore', 'Slovenië', 'Salomonseilanden', 'Somalië', 'Spanje', 'Sri Lanka', 'Soedan', 'Suriname', 'Spitsbergen en Jan Mayen', 'Swaziland', 'Zweden', 'Zwitserland', 'Syrië', - 'Taiwan', 'Tadzjikistan', 'Tanzania', 'Thailand', 'Tsjaad', 'Timor-Leste', 'Togo', 'Tokelau-eilanden', 'Tonga', 'Trinidad en Trobago', 'Tunesië', 'Turkije', 'Turkmenistan', 'Turks- en Caicoseilanden', 'Tuvalu', 'Tsjechische Republiek', - 'Uruguay', - 'Vanuatu', 'Venezuela', 'Verenigde Arabische Emiraten', 'Verenigd Koninkrijk', 'Verenigde Staten van Amerika', 'Vaticaanstad', 'Vietnam', - 'Wallis en Futuna', 'Westerlijke Shara', 'Wit-Rusland', - 'Zambia', 'Zuid-Afrika', 'Zuid-Georgia en de Zuidelijke Sandwicheilanden', 'Zimbabwe', - ]; + protected static $country = [ + 'Afghanistan', + 'Albanië', + 'Algerije', + 'Amerikaans-Samoa', + 'Andorra', + 'Angola', + 'Amerikaanse Virgineilanden', + 'Anguilla', + 'Antartica', + 'Antigua en Barbuda', + 'Argentinië', + 'Armenië', + 'Aruba', + 'Australië', + 'Azerbeidzjan', + 'Bahamas', + 'Bahrein', + 'Bangladesh', + 'Barbados', + 'België', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnië-Herzegovina', + 'Botswana', + 'Bouvet Eiland (Bouvetøya)', + 'Brazilië', + 'Britse Maagdeneilanden', + 'Brunei Darussalam', + 'Bulgarije', + 'Burkina Faso', + 'Burundi', + 'Cambodja', + 'Canada', + 'Centraal-Afrikaanse Republiek', + 'Chili', + 'China', + 'Christmaseiland', + 'Cocoseilanden', + 'Colombia', + 'Comoren', + 'Congo', + 'Cookeilanden', + 'Costa Rica', + 'Cuba', + 'Cyprus', + 'Denemarken', + 'Djibouti', + 'Dominica', + 'Dominicaanse Republiek', + 'Duitsland', + 'Ecuador', + 'Egypte', + 'El salvador', + 'Equatoriaal-Guinea', + 'Eritrea', + 'Estland', + 'Ethiopië', + 'Faroe Eilanden', + 'Falklandeilanden', + 'Fiji', + 'Finland', + 'Frankrijk', + 'Frans-Guyana', + 'Frans-Polynesië', + 'Franse Zuidelijke en Antarctische Gebieden', + 'Gabon', + 'Gambia', + 'Georgië', + 'Ghana', + 'Gibraltar', + 'Griekenland', + 'Groenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinee', + 'Guinee-Bissau', + 'Guyana', + 'Haïti', + 'Heard en McDonaldeilanden', + 'Honduras', + 'Hong Kong', + 'Hongarije', + 'IJsland', + 'India', + 'Indonesië', + 'Iran', + 'Irak', + 'Ierland', + 'Man', + 'Israel', + 'Ivoorkust', + 'Italië', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordanië', + 'Jemen', + 'Kazachstan', + 'Kenia', + 'Kleinere afgelegen eilanden van de Verenigde Staten', + 'Kiribati', + 'Korea', + 'Koeweit', + 'Kirgizië', + 'Kameroen', + 'Kaapverdië', + 'Kaaimaneilanden', + 'Kroatië', + 'Laos', + 'Letland', + 'Libanon', + 'Lesotho', + 'Liberia', + 'Libië', + 'Liechtenstein', + 'Litouwen', + 'Luxemburg', + 'Macau', + 'Macedonië', + 'Madagascar', + 'Malawi', + 'Maleisië', + 'Maldiven', + 'Mali', + 'Malta', + 'Marshalleilanden', + 'Martinique', + 'Mauritus', + 'Mauritania', + 'Mayotte', + 'Mexico', + 'Micronesië', + 'Moldavië', + 'Monaco', + 'Mongolië', + 'Montenegro', + 'Monsterrat', + 'Marokko', + 'Mozambique', + 'Myanmar', + 'Namibië', + 'Nauru', + 'Nepal', + 'Nederlandse Antillen', + 'Nederland', + 'Nieuw-Caledonië', + 'Nieuw-Zeeland', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk', + 'Noordelijke Marianen', + 'Noorwegen', + 'Oman', + 'Oostenrijk', + 'Oeganda', + 'Oekraïne', + 'Oezbakistan', + 'Pakistan', + 'Palau', + 'Palestina', + 'Panama', + 'Papoea-Nieuw-Guinea', + 'Paraguay', + 'Peru', + 'Filipijnen', + 'Pitcairneilanden', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Réunion', + 'Romania', + 'Rusland', + 'Rwanda', + 'Sint-Bartholomeus', + 'Sint-Helena', + 'Saint Kitts en Nevis', + 'Saint Lucia', + 'Sint Maarten', + 'Saint-Pierre en Miquelon', + 'Saint Vincent en de Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tomé en Principe', + 'Saoedi-Arabië', + 'Senegal', + 'Servië', + 'Seychellen', + 'Sierra Leone', + 'Singapore', + 'Slovenië', + 'Salomonseilanden', + 'Somalië', + 'Spanje', + 'Sri Lanka', + 'Soedan', + 'Suriname', + 'Spitsbergen en Jan Mayen', + 'Swaziland', + 'Zweden', + 'Zwitserland', + 'Syrië', + 'Taiwan', + 'Tadzjikistan', + 'Tanzania', + 'Thailand', + 'Tsjaad', + 'Timor-Leste', + 'Togo', + 'Tokelau-eilanden', + 'Tonga', + 'Trinidad en Trobago', + 'Tunesië', + 'Turkije', + 'Turkmenistan', + 'Turks- en Caicoseilanden', + 'Tuvalu', + 'Tsjechische Republiek', + 'Uruguay', + 'Vanuatu', + 'Venezuela', + 'Verenigde Arabische Emiraten', + 'Verenigd Koninkrijk', + 'Verenigde Staten van Amerika', + 'Vaticaanstad', + 'Vietnam', + 'Wallis en Futuna', + 'Westerlijke Shara', + 'Wit-Rusland', + 'Zambia', + 'Zuid-Afrika', + 'Zuid-Georgia en de Zuidelijke Sandwicheilanden', + 'Zimbabwe', + ]; - /** - * @see parent - */ - public static function buildingNumber() - { - return static::bothify(static::randomElement(static::$buildingNumber)); - } + /** + * @see parent + */ + public static function buildingNumber() { + return static::bothify( static::randomElement( static::$buildingNumber ) ); + } - /** - * @example 'Gelderland' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Gelderland' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @see parent - */ - public function cityName() - { - return static::randomElement(static::$cityNames); - } + /** + * @see parent + */ + public function cityName() { + return static::randomElement( static::$cityNames ); + } - public static function postcode() - { - return static::randomElement(static::$postcodes); - } + public static function postcode() { + return static::randomElement( static::$postcodes ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Color.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Color.php index 38ebea6..1e2a7b2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Color.php @@ -2,35 +2,134 @@ namespace Faker\Provider\nl_NL; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'zwart', 'kastanjebruin', 'donkergroen', 'marine', 'olijfgroen', - 'purper', 'groenblauw', 'limoen', 'blauw', 'zilver', - 'grijs', 'geel', 'fuchsia', 'cyaan', 'wit', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'zwart', + 'kastanjebruin', + 'donkergroen', + 'marine', + 'olijfgroen', + 'purper', + 'groenblauw', + 'limoen', + 'blauw', + 'zilver', + 'grijs', + 'geel', + 'fuchsia', + 'cyaan', + 'wit', + ]; - protected static $allColorNames = [ - 'Cyaan', 'Aquamarijn', 'Aquamarijn', 'Ultramarijn', 'Beige', - 'Zwart', 'Blauw', 'Blauwviolet', 'Bruin', 'Groen', 'Chocoladebruin', - 'Koraal', 'Korenbloemblauw', 'Vermiljoen', 'Cyaan', 'Donkerblauw', - 'Donkercyaan', 'Donkergrijs', 'Donkergroen', 'Donkergrijs', - 'Donkerkaki', 'Donkermagenta', 'Donkerolijfgroen', 'Donkeroranje', - 'Donkerrood', 'Donkerzalm', 'Donkerzeegroen', 'Donkerleigrijs', - 'Donkerleigrijs', 'Donkerturkoois', 'Donkerviolet', 'Dieproze', - 'Diep hemelsblauw', 'Vuurvaste baksteen', 'Fluweelwit', 'Bosgroen', - 'Fuchsia', 'Goud', 'Grijs', 'Donkergroen', 'Groengeel', 'Grijs', - 'Acaciaroze', 'Indisch rood', 'Indigo', 'Ivoor', 'Kaki', 'Lavendel', - 'Grasgroen', 'Lichtblauw', 'Lichtkoraal', 'Lichtcyaan', 'Lichtgrijs', - 'Lichtgroen', 'Lichtgrijs', 'Lichtroze', 'Lichtzalm', 'Lichtzeegroen', - 'Lichthemelsblauw', 'Lichtleigrijs', 'Lichtleigrijs', 'Staalblauw', - 'Lichtgeel', 'Limoen', 'Limoengroen', 'Linnen', 'Magenta', 'Kastanjebruin', - 'Middenblauw', 'Midlentegroen', 'Middenvioletrood', 'Midnachtsblauw', - 'Mint', 'Marine', 'Kant', 'Olijfgroen', 'Oranje', 'Oranjerood', 'Oranjerood', - 'Orchidee', 'Bleekgroen', 'Lichtturkoois', 'Roze', 'Pruim', 'Purper', - 'Rood', 'Koningsblauw', 'Zalm', 'Zandbruin', 'Zeegroen', 'Schelp', 'Sienna', - 'Zilver', 'Hemelsblauw', 'Leigrijs', 'Leigrijs', 'Sneeuwwit', 'Lentegroen', - 'Donkerstaalblauw', 'Groenblauw', 'Distel', 'Tomaat', 'Transparant', 'Turkoois', - 'Violet', 'Wit', 'Rookwit', 'Geel', 'Groengeel', - ]; + protected static $allColorNames = [ + 'Cyaan', + 'Aquamarijn', + 'Aquamarijn', + 'Ultramarijn', + 'Beige', + 'Zwart', + 'Blauw', + 'Blauwviolet', + 'Bruin', + 'Groen', + 'Chocoladebruin', + 'Koraal', + 'Korenbloemblauw', + 'Vermiljoen', + 'Cyaan', + 'Donkerblauw', + 'Donkercyaan', + 'Donkergrijs', + 'Donkergroen', + 'Donkergrijs', + 'Donkerkaki', + 'Donkermagenta', + 'Donkerolijfgroen', + 'Donkeroranje', + 'Donkerrood', + 'Donkerzalm', + 'Donkerzeegroen', + 'Donkerleigrijs', + 'Donkerleigrijs', + 'Donkerturkoois', + 'Donkerviolet', + 'Dieproze', + 'Diep hemelsblauw', + 'Vuurvaste baksteen', + 'Fluweelwit', + 'Bosgroen', + 'Fuchsia', + 'Goud', + 'Grijs', + 'Donkergroen', + 'Groengeel', + 'Grijs', + 'Acaciaroze', + 'Indisch rood', + 'Indigo', + 'Ivoor', + 'Kaki', + 'Lavendel', + 'Grasgroen', + 'Lichtblauw', + 'Lichtkoraal', + 'Lichtcyaan', + 'Lichtgrijs', + 'Lichtgroen', + 'Lichtgrijs', + 'Lichtroze', + 'Lichtzalm', + 'Lichtzeegroen', + 'Lichthemelsblauw', + 'Lichtleigrijs', + 'Lichtleigrijs', + 'Staalblauw', + 'Lichtgeel', + 'Limoen', + 'Limoengroen', + 'Linnen', + 'Magenta', + 'Kastanjebruin', + 'Middenblauw', + 'Midlentegroen', + 'Middenvioletrood', + 'Midnachtsblauw', + 'Mint', + 'Marine', + 'Kant', + 'Olijfgroen', + 'Oranje', + 'Oranjerood', + 'Oranjerood', + 'Orchidee', + 'Bleekgroen', + 'Lichtturkoois', + 'Roze', + 'Pruim', + 'Purper', + 'Rood', + 'Koningsblauw', + 'Zalm', + 'Zandbruin', + 'Zeegroen', + 'Schelp', + 'Sienna', + 'Zilver', + 'Hemelsblauw', + 'Leigrijs', + 'Leigrijs', + 'Sneeuwwit', + 'Lentegroen', + 'Donkerstaalblauw', + 'Groenblauw', + 'Distel', + 'Tomaat', + 'Transparant', + 'Turkoois', + 'Violet', + 'Wit', + 'Rookwit', + 'Geel', + 'Groengeel', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Company.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Company.php index 04e7f6b..dc89d6e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Company.php @@ -4,119 +4,1410 @@ use Faker\Provider\Miscellaneous; -class Company extends \Faker\Provider\Company -{ - /** - * @see https://nl.wikipedia.org/wiki/Lijst_van_beroepen - */ - protected static $jobTitleFormat = [ - 'Aankondiger', 'Acceptant', 'Accountant', 'Accountmanager', 'Acrobaat', 'Acteur', 'Activiteitenbegeleider', 'Actuaris', 'Acupuncturist', 'Adjudant', 'Administrateur', 'Advertentiezetter', 'Adviseur', 'Advocaat', 'Agent', 'Agrariër', 'Akoepedist', 'Akoesticus', 'Alchemist', 'Allergoloog', 'Altist', 'Amanuensis', 'Ambtenaar', 'Ambulancebegeleider', 'Ambulancechauffeur', 'Ambulanceverpleegkundige', 'Analist', 'Anatoom', 'Andragoog', 'Androloog', 'Anesthesist', 'Anesthesiemedewerker', 'Animeermeisje', 'Antiquaar', 'Antiquair', 'Apotheker', 'Apothekersassistent', 'Applicatieontwikkelaar', 'Arbeidsanalist', 'Arbeidsbemiddelaar', 'Arbeidsdeskundige', 'Arbeidsfysioloog', 'Arbeidsgeneesheer', 'Arbeidshygiënist', 'Archeoloog', 'Architect', 'Archivaris', 'Archivist', 'Arrangeur', 'Artdirector', 'Artiest', 'Arts', 'Assuradeur', 'Astrofysicus', 'Astroloog', 'Astronaut', 'Astronoom', 'Audioloog', 'Audiometrist', 'Audiotherapeut', 'Auditor', 'Autohandelaar', 'Automonteur', 'Autoplaatwerker', 'Autospuiter', - 'Bacterioloog', 'Badmeester', 'Baggermachinist', 'Baggermolenarbeider', 'Baker', 'Bakker', 'Baliemedewerker', 'Balletdanser', 'Ballroomdanser', 'Bandagist', 'Bandenmonteur', 'Bankbediende', 'Bankdirecteur', 'Banketbakker', 'Bankmakelaar', 'Bankwerker', 'Barbediende', 'Barhouder', 'Barman', 'Basketballer', 'Bassist', 'Beademingsassistent', 'Bedienaar', 'Bediener', 'Bedrijfsbrandweer', 'Bedrijfseconoom', 'Bedrijfshoofd', 'Bedrijfsjurist', 'Bedrijfskassier', 'Bedrijfskundige', 'Bedrijfsleermeester', 'Bedrijfsleider', 'Bedrijfsorganisatiedeskundige', 'Bedrijfspolitieagent', 'Bedrijfsrecherche', 'Bedrijfsverpleegkundige', 'Beeldapparatuurbediener', 'Beeldhouwer', 'Beenhouwer', 'Begeleider', 'Begrafenispersoneel', 'Begrotingscalculator', 'Behanger', 'Beheerder', 'Beiaardier', 'Bejaardenverzorgende', 'Belastingambtenaar', 'Belastingconsulent', 'Beleidsambtenaar', 'Beleidsmedewerker', 'Belichter', 'Bergingsduiker', 'Beroepskeuzeadviseur', 'Beroepsmilitair', 'Beroepssporter', 'Bestekschrijver', 'Besteksorteerder', 'Bestekzoeker', 'Bestuurder', 'Bestuurskundige', 'Betonmolenbaas', 'Betontimmerman', 'Betonstaalvlechter', 'Betonwerker', 'Beul', 'Beveiligingsapparatuur', 'Beveiligingsbeambte', 'Bewaarder', 'Bewaker', 'Bewegingstherapeut', 'Bezorger', 'Bibliothecaris', 'Bibliotheekassistent', 'Bierbrouwer', 'Bijenkorfvlechter', 'Bijenkweker', 'Bijkantoorhouder', 'Binderijpersoneel', 'Binnenhuisarchitect', 'Biochemicus', 'Biograaf', 'Bioloog', 'Bioscoopoperateur', 'Bitumineerder', 'Bloemist', 'Bloemkweker', 'Bloemschikker', 'Bloemsierkunstenaar', 'Bode', 'Boekbinder', 'Boekhouder', 'Boekillustrator', 'Boer', 'Bontkleermaker', 'Bontsnijder', 'Bookmaker', 'Boomchirurg', 'Boomkweker', 'Boomverzorger', 'Boordwerktuigkundige', 'Boormachinist', 'Boorpersoneel', 'Bootsman', 'Bosbaas', 'Bosbouwkundige', 'Boswachter', 'Botenbouwer', 'Bouwcalculator', 'Bouwhistoricus', 'Bouwkundig tekenaar', 'Bouwliftbediener', 'Bouwpromotor', 'Bouwopzichter', 'Bouwvakker', 'Bouwvaktimmerman', 'Brandmeester', 'Brandveiligheidsdeskundige', 'Brandwacht', 'Brandweerman', 'Brandweercommandant', 'Brandweeronderofficier', 'Breimachinesteller', 'Bromfietshersteller', 'Bronboorder', 'Buffetbediende', 'Buikspreker', 'Buitenbandenvulkaniseur', 'Buitendienstmedewerker', 'Burgemeester', 'Buschauffeur', 'Budgetcoach', 'Butler', - 'Cabaretier', 'Caféhouder', 'Cafetariamedewerker', 'Caissière', 'Calculator', 'Callgirl', 'Cameraman', 'Cardioloog', 'Cargadoor', 'Carrosseriebouwer', 'Cartograaf', 'Cellist', 'Chauffeur', 'Chef', 'Chemicus', 'Chiropodist', 'Chirurg', 'Chocolademaker', 'Chocolatier', 'Choreograaf', 'Cilindermaker', 'Cineast', 'Cipier', 'Circusartiest', 'Circusdirecteur', 'Civiel ingenieur', 'Classicus', 'Clown', 'Coach', 'Codeur', 'Collationist', 'Colporteur', 'Columnist', 'Combinatiefunctionaris', 'Commentator', 'Commissaris', 'Commissionair', 'Completeerder', 'Compliance officer', 'Componist', 'Computeroperator', 'Computerprogrammeur', 'Conciërge', 'Conducteur', 'Conservator', 'Constructeur', 'Constructiebankwerker', 'Constructiesamenbouwer', 'Constructieschilder', 'Consulent', 'Contactlensspecialist', 'Controleur', 'Controller', 'Coördinator', 'Copywriter', 'Counselor', 'Corrector', 'Correpetitor', 'Correspondent', 'Creatief therapeut', 'Crècheleidster', 'Criminoloog', 'Criticus', 'Croupeur', 'Croupier', 'Cultuurtechnicus', 'Curator', 'Cursuscoördinator', 'Cursusleider', - 'Dakdekker', 'Dakpannenvormer', 'Danser', 'Dansleraar', 'Database administrator', 'Debitant', 'Decaan', 'Declarant', 'Decoratieschilder', 'Decorschilder', 'Degelpersdrukker', 'Dekkledenmaker', 'Dekpersoneel', 'Delfstoffenbewerker', 'Demonstrateur', 'Dermatoloog', 'Deskundige', 'Detailhandelaar', 'Detective', 'Deurenzetter', 'Deurwaarder', 'Dichter', 'Dieetkok', 'Dienstbode', 'Dienstleider', 'Diepdrukgraveur', 'Dierenarts', 'Dierenartsassistent', 'Dierenasielhouder', 'Dierentrainer', 'Dierenverzorger', 'Diëtist', 'Diplomaat', 'Directeur', 'Directieassistent', 'Directiesecretaresse', 'Dirigent', 'Diskjockey', 'Districtschef', 'Districtsverpleegkundige', 'Docent', 'Documentalist', 'Documentencontroleur', 'Dokmeester', 'Doktersassistent', 'Dominee', 'Doodgraver', 'Douaneambtenaar', 'Dozenmaker', 'Draaier', 'Dramadocent', 'Dramatherapeut', 'Drogist', 'Drukker', 'Drukkerijbinder', 'Drukwerkvoorbereiders', 'Drummer', 'Duiker', - 'Econoom', 'Ecotechnisch manager', 'Edelmetaalbewerker', 'Edelsmid', 'Editor', 'EDP-auditor', 'Egyptoloog', 'Eindredacteur', 'Elektricien', 'Elektromonteur', 'Elektronicamonteur', 'Elektronicus', 'Elektrotechnicus', 'Encyclopedist', 'Enquêteur', 'Ergonoom', 'Ergotherapeut', 'Ertskundige', 'Essayeur', 'Essayist', 'Etaleur', 'Etnograaf', 'Etnoloog', 'Etymoloog', 'Evangelist', 'Examinator', 'Expediteur', 'Explantatiemedewerker', - 'Fabrikant', 'Facilitair Manager', 'Facturist', 'Farmacoloog', 'Fietsenmaker', 'Fijnbankwerker', 'Filiaalhouder', 'Filmer', 'Filmregisseur', 'Filosoof', 'Filterreiniger', 'Financieel analist', 'Fluitenbouwer', 'Fotograaf', 'Fotograveur', 'Fotolaborant', 'Fotolaboratoriumbediende', 'Fotolithograaf', 'Fotoredacteur', 'Framebouwer', 'Frezer', 'Fruitteler', 'Fysicus', 'Fysioloog', 'Fysiotherapeut', - 'Galvaniseur', 'Game Designer', 'Garagehouder', 'Garderobejuffrouw', 'Garnalenpeller', 'Gasleidinglegger', 'Gastvrouw', 'Gecommitteerde', 'Gedeputeerde', 'Gemeentesecretaris', 'Geneeskundige', 'Generaal', 'Geodeet', 'Geograaf', 'Geoloog', 'Gerant', 'Gerechtsdeurwaarder', 'Gereedschapsmaker', 'Gereedschapssmid', 'Geschiedkundige', 'Gevangenbewaarder', 'Gezaghebber', 'Gezagvoerder', 'Gezondheidsbegeleider', 'Gezondheidsfysicus', 'Gezondheidstechnicus', 'Gidsenschrijver', 'Gieterijtechnicus', 'Gietmachinebediener', 'Gigolo', 'Gipsverbandmeester', 'Gitarist', 'Glasblazer', 'Glasgraveur', 'Glasslijper', 'Glaszetter', 'Glazenhaler', 'Glazenmaker', 'Glazenwasser', 'Goochelaar', 'Goudsmid', 'Goudzoeker', 'Grafdelver', 'Graficus', 'Grafisch ontwerper', 'Grafoloog', 'Graveur', 'Griendwerker', 'Griffier', 'Grimeur', 'Groenteteler', 'Groepsleider', 'Groepsvervoer', 'Grondsteward', 'Grondstewardess', 'Grondwerker', 'Groothandelaar', 'Gymleraar', 'Gynaecoloog', - 'Handelaar', 'Handelscorrespondent', 'Handwever', 'Havenarbeider', 'Havenmeester', 'Heemraad', 'Heftruckchauffeur', 'Heibaas', 'Heier', 'Heilpedagoog', 'Heilsoldaat', 'Helpdeskmedewerker', 'Herbergier', 'Hijsmachinist', 'Historicus', 'Hoefsmid', 'Hoekman', 'Hofmeester', 'Homeopaat', 'Hondenfokker', 'Hondentoiletteerder', 'Hondentrimmer', 'Hoofd', 'Hoofdambtenaar', 'Hoofdcontroleur', 'Hoofdredacteur', 'Hoofduitvoerder', 'Hoofdverpleegkundige', 'Hoofdwerktuigkundige', 'Hoogleraar', 'Hoornist', 'Hoorspelregisseur', 'Horlogemaker', 'Hostess', 'Hotelier', 'Hotelmanager', 'Hotelportier', 'Houtbewerker', 'Houtmodelmaker', 'Houtsnijder', 'Houtvester', 'Houtwarensamensteller', 'Hovenier', 'Huidtherapeut', 'Huisarts', 'Huisbaas', 'Huisbewaarder', 'Huishoudhulp', 'Huishoudster', 'Huisschilder', 'Hulparbeider', 'Hulpautomonteur', 'Hulpkok', 'Hulpverkoper', 'Huurmoordenaar', 'Hydroloog', - 'IJscoman', 'IJzervlechter', 'Illusionist', 'Illustrator', 'Imam', 'Imker', 'Importeur', 'Impresario', 'Industrieel ontwerper', 'Ingenieur', 'Inkoper', 'Inrijger', 'Inseminator', 'Inspecteur', 'Installateur', 'Instructeur', 'Instrumentalist', 'Instrumentmaker', 'Interieurarchitect', 'Interieurverzorger', 'Interne accountant', 'Internist', - 'Jachtopzichter', 'Jager', 'Jongleur', 'Journalist', 'Justitieel Aanklager', 'Juwelier', 'Judoleraar', - 'Kaartenzetter', 'Kaasmaker', 'Kabelsplitser', 'Kabelwerker', 'Kanaalmeester', 'Kantonnier', 'Kantoorhulp', 'Kapitein', 'Kapper', 'Kappershulp', 'Kardinaal', 'Karteerder', 'Kartonnagewerker', 'Kassamedewerker', 'Kassier', 'Kelner', 'Keizer', 'Keramist', 'Kermisexploitant', 'Kernmaker', 'Kerstman', 'Ketelmetselaar', 'Keukenassistent', 'Keukenknecht', 'Keurder', 'Keuringsambtenaar', 'Keurmeester', 'Kinderverzorgende', 'Kleermaker', 'Kleidelver', 'Kleinhandelaar', 'Klerk', 'Kleuterleider', 'Klokkenmaker', 'Klompenmaker', 'Kloosterling', 'Kno-arts', 'Koerier', 'Koetsier', 'Kok', 'Komiek', 'Kompel', 'Kooiker', 'Kooiman', 'Koordirigent', 'Koperslager', 'Kostendeskundige', 'Koster', 'Kostprijscalculator', 'Kozijnenmaker', 'Kraamverzorgende', 'Kraamhulp', 'Kraanmachinist', 'Kredietanalist', 'Kredietbeoordelaar', 'Kruidendokter', 'Kruier', 'Kuiper', 'Kunstcriticus', 'Kunstenaar', 'Kunstschilder', 'Kustlichtwachter', 'Kwitantieloper', - 'Laadschopbestuurder', 'Laborant', 'Laboratoriumbediende', 'Lader', 'Ladingmeester', 'Lakei', 'Landarbeider', 'Landbouwer', 'Landbouwkundige', 'Landbouwmachinebestuurder', 'Landbouwmilieubeheer', 'Landbouwwerktuigenhersteller', 'Landmeetkundige', 'Landmeettechnicus', 'Landmeter', 'Landschapsarchitect', 'Landschapsbeheer', 'Lasinspecteur', 'Lasser', 'Lastechnicus', 'Lector', 'Ledertechnoloog', 'Lederwarenmaker', 'Leerbewerker', 'Leerkracht', 'Leeuwentemmer', 'Legionair', 'Leidekker', 'Leidinggevende', 'Leraar', 'Letterkundige', 'Leurder', 'Lichtdrukker', 'Lichtmatroos', 'Lijstenmaker', 'Linktrainer', 'Literator', 'Literatuurcriticus', 'Literatuuronderzoeker', 'Logopedist', 'Logotherapeut', 'Lokettist', 'Longfunctieassistent', 'Loodgieter', 'Loods', 'Loodschef', 'Loonadministrateur', 'Loopbaancoach', 'Losser', 'Luchtverkeersleider', - 'Maatnemer', 'Maatschappelijk medewerker', 'Maatschappelijk werker', 'Maatschoenmaker', 'Machine vouwer', 'Machinebankwerker', 'Machinebediende', 'Machinesteller', 'Manegehouder', 'Machinist', 'Magazijnbediende', 'Magazijnbeheerder', 'Magazijnknecht', 'Magnetiseur', 'Makelaar', 'Managementassistent', 'Manager', 'Mandenmaker', 'Mannequin', 'Manueel therapeut', 'Marconist', 'Marinier', 'Maritiem Officier', 'Marechaussee', 'Marketingadviseur', 'Marketingassistent', 'Marktkoopman', 'Masseur', 'Mathematicus', 'Matroos', 'Mattenmaker', 'Medewerker', 'Mediatrainer', 'Meester restauratiestukadoor', 'Meettechnicus', 'Melkboer', 'Metaalbewerker', 'Metaalbrander', 'Metaalbuiger', 'Metaalfrezer', 'Metaalgieter', 'Metaalkundige', 'Meteoroloog', 'Meteropnemer', 'Metselaar', 'Meubelbeeldhouwer', 'Meubelmaker', 'Meubelstoffeerder', 'Meubelstoffennaaister', 'Meubeltekenaar', 'Mijnbouwkundige', 'Middenstander', 'Mijnwerker', 'Milieudeskundige', 'Milieuhygiënist', 'Militair', 'Mimespeler', 'Min', 'Mineralenbewerker', 'Minister', 'Minister-president', 'Model', 'Modelmaker', 'Modelnaaister', 'Molenaar', 'Modeontwerper', 'Mondhygiënist', 'Monnik', 'Monteur', 'Mosselman', 'Motordemonteur', 'Motordrijver', 'Motormonteur', 'Mouldroomtechnicus', 'Munter', 'Muntmeester', 'Museumconservator', 'Museumgids', 'Museumhouder', 'Museummedewerker', 'Musicus', 'Muziekinstrumentenmaker', 'Muziekprogrammeur', - 'Naaister', 'Nachtwaker', 'Nagelstyliste', 'Nasynchronisatieregisseur', 'Natuurkundeleraar', 'Natuurkundige', 'Natuurwetenschapper', 'Navigator', 'Neonatoloog', 'Nettenboeter', 'Netwerkbeheerder', 'Neurochirurg', 'Neuroloog', 'Neurofysioloog', 'Nieuwslezer', 'Nijverheidsconsulent', 'Nko-arts', 'Nopster', 'Notaris', 'Nucleair geneeskundige', - 'Ober', 'Oberkelner', 'Objectleider', 'Oceanoloog', 'Octrooigemachtigde', 'Officier', 'Officier van justitie', 'Olieslager', 'Omroeper', 'Omsteller', 'Oncoloog', 'Onderhoudsloodgieter', 'Onderhoudsman', 'Onderhoudsmedewerker', 'Onderhoudsmonteur', 'Ondernemer', 'Onderofficier', 'Ondersteunende', 'Onderwaterwerker', 'Onderwijsassistent', 'Onderwijstechnicus', 'Onderwijzer', 'Onderzoeker', 'Onderzoeker in opleiding', 'Ontdekkingsreiziger', 'Ontmijner', 'Ontvlekker', 'Ontwerper', 'Oogarts', 'Operateur', 'Operatieassistent', 'Operational auditor', 'Operator', 'Opkoper', 'Opperman', 'Opsporingsambtenaar', 'Opsporingsingenieur', 'Opticien', 'Optometrist', 'Opvoedingsconsulent', 'Opvoedingsvoorlichter', 'Opzichter', 'Organist', 'Organizer', 'Ornitholoog', 'Orthodontist', 'Orthopedagoog', 'Orthopeed', 'Orthoptist', 'ORL-arts', 'Osteopaat', 'Ouvreuse', 'Ovenman', - 'Paardenfokker', 'Pakhuischef', 'Paleontoloog', 'Palfrenier', 'Pandjesbaas', 'Papierschepper', 'Papiervernisser', 'Parkeerwachter', 'Parketvloerenlegger', 'Parketwacht', 'Pastoor', 'Paswerker', 'Patholoog', 'Patholoog-anatoom', 'Patissier', 'Patroonmaker', 'Patroontekenaar', 'Pedagoog', 'Pedicure', 'Perronopzichter', 'Perser', 'Personeelsfunctionaris', 'Peuterwerker', 'Pianist', 'Pianostemmer', 'Piccolo', 'Pijpfitter', 'Pikeur', 'Piloot', 'Plaatwerker', 'Planner', 'Plantenteeltdeskundige', 'Plantsoenmedewerker', 'Plasticvormer', 'Pleitbezorger', 'Poelier', 'Poepruimer', 'Poetser', 'Podiatrist', 'Podoloog', 'Poffertjesbakker', 'Polisopmaker', 'Politicus', 'Politieagent', 'Politiecommissaris', 'Politie-inspecteur', 'Politiek analist', 'Pontschipper', 'Porder', 'Portier', 'Portretfotograaf', 'Postbediende', 'Postbesteller', 'Postbode', 'Postcommandant', 'Postexpediteur', 'Postsorteerder', 'Pottenbakker', 'Predikant', 'Premier', 'Presentator', 'President', 'Priester', 'Probleemanalist', 'Procesmanager', 'Procesoperator', 'Procureur', 'Procureur des Konings', 'Producer', 'Productenmaker', 'Productensorteerder', 'Productiebegeleider', 'Productieleider', 'Productiemedewerker', 'Productieplanner', 'Professor', 'Professioneel worstelaar', 'Programmamaker', 'Programmeur', 'Projectadviseur', 'Projectleider', 'Projectmanager', 'Projectontwikkelaar', 'Promovendus', 'Pruikenmaker', 'Psychiater', 'Psychologisch assistent', 'Psycholoog', 'Psychotherapeut', 'Psychomotorisch kindertherapeut', 'Purser', 'Putjesschepper', - 'Quarantaine-beambte', 'Quizmaster', 'Quantity surveyor', - 'Raadsman', 'Radarwaarnemer', 'Radiotherapeutisch laborant', 'Radiograaf', 'Radiolaborant', 'Radiotechnicus', 'Radiotelegrafist', 'Rangeerder', 'Recensent', 'Receptionist', 'Recherchekundige', 'Rechercheur', 'Rechtbanktekenaar', 'Rechter', 'Reclame-ontwerper', 'Reclameacquisiteur', 'Reclamedeskundige', 'Reclametekenaar', 'Redacteur', 'Redactiechef', 'Regisseur', 'Registeraccountant', 'Reiniger', 'Reinigingsdienstarbeider', 'Reisleider', 'Reisprogrammeur', 'Reisverkoper', 'Rekenaar', 'Rekwisietenmaker', 'Rentmeester', 'Reparateur', 'Ridder', 'Repetitor', 'Reproductietekenaar', 'Restauranthouder', 'Rietmeubelmaker', 'Rietwerker', 'Rijtuigspuiter', 'Rijwielhersteller', 'Rolluikentimmerman', 'Rondvaartgids', 'Röntgenoloog', 'Ruimtevaarder', - 'Samensteller', 'Saunahouder', 'Scenarioschrijver', 'Schaaldierenkweker', 'Schaaldierenpeller', 'Schaapherder', 'Schadecorrespondent', 'Schadetaxateur', 'Schakelbordwachter', 'Schaker', 'Schapenscheerder', 'Scharensliep', 'Scheepskapitein', 'Scheepskok', 'Scheepspurser', 'Scheepsschilder', 'Scheepstimmerman', 'Scheidsrechter', 'Scheikundige', 'Schillenboer', 'Schipper', 'Schoenfabrieksarbeider', 'Schoenhersteller', 'Schoenmaker', 'Schoolbegeleider', 'Schooldecaan', 'Schooldirecteur', 'Schoolinspecteur', 'Schoonheidsmasseur', 'Schoonheidsspecialiste', 'Schoonmaker', 'Schoorsteenveger', 'Schotter', 'Schrijftolk', 'Schrijver', 'Schuurder', 'Secretaresse', 'Secretariaatsmedewerker', 'Secretaris', 'Seismoloog', 'Seizoenarbeider', 'Seksuoloog', 'Selecteur', 'Sergeant', 'Seroloog', 'Serveerster', 'Setdresser', 'Sigarenmaker', 'Sinoloog', 'Sjorder', 'Sjouwer', 'Slachter', 'Slager', 'Slagwerker', 'Slijter', 'Sloper', 'Sluiswachter', 'Smeerder', 'Smelter', 'Smid', 'Snackbarbediende', 'Snackbarhouder', 'Snijder', 'Sociotherapeut', 'Softwareontwikkelaar', 'Soldaat', 'Soldeerder', 'Sommelier', 'Sondeerder', 'Songwriter', 'Souschef', 'Spoeler', 'Souffleur', 'Specialist', 'Spelersmakelaar', 'Speltherapeut', 'Spindoppenmonteur', 'Spion', 'Sportinstructeur', 'Stadsomroeper', 'Stadstimmerman', 'Stanser', 'Stationschef', 'Statisticus', 'Stedenbouwkundige', 'Steenbewerker', 'Steenfabrikant', 'Steenhouwer', 'Steenzetter', 'Steigerbouwer', 'Steigermaker', 'Stenotypist', 'Stereotypeur', 'Sterilisatieassistent', 'Stewardess', 'Stoelenmatter', 'Stoffeerder', 'Storingsmonteur', 'Straatverkoper', 'Strandjutter', 'Stratenmaker', 'Stripper', 'Stucwerker', 'Stukadoor', 'Stuurman', 'Stuwadoor', 'Stylist', 'Stypengalvaniseur', 'Surinamist', 'Systeemanalist', 'Systeembeheerder', 'Systeemontwerper', 'Systeemprogrammeur', - 'Takelaar', 'Tandarts', 'Tandartsassistente', 'Tandtechnicus', 'Tapper', 'Taxichauffeur', 'Taxidermist', 'Technicus', 'Technisch Oogheelkundig Assistent', 'Technisch tekenaar', 'Tegelzetter', 'Tekenaar', 'Tekstschrijver', 'Telecommunicatiemonteur', 'Telefoniste', 'Telegrafist', 'Televisieregisseur', 'Televisietechnicus', 'Telexist', 'Tennisser', 'Terrazzovloerenlegger', 'Terreinchef', 'Tester', 'Textieldrukker', 'Textiellaborant', 'Textielopmaker', 'Textielproductenmaker', 'Theateragent', 'Theatertechnicus', 'Therapeut', 'Timmerman', 'Tingieter', 'Toetsenist', 'Tolk', 'Toneelfigurant', 'Toneelmeester', 'Toneelregisseur', 'Toneelschrijver', 'Toneelspeler', 'Torenkraanmonteur', 'Totalisatormedewerker', 'Touringcarchauffeur', 'Touwslager', 'Traceur', 'Trainingsacteur', 'Traiteur', 'Trambestuurder', 'Transportplanner', 'Treinbestuurder', 'Treinconducteur', 'Treindienstleider', 'Treinduwer', 'Treinmachinist', 'Trekkerchauffeur', 'Tuiger', 'Tuinarchitect', 'Tuinder', 'Tuinman', 'Typiste', - 'Uitgever', 'Uitsmijter', 'Uitvaartbegeleider', 'Uitvinder', 'Uitvoerder', 'Uroloog', 'Uurwerkmaker', - 'Vakkenvuller', 'Valet', 'Veearts', 'Veehouder', 'Veeverloskundige', 'Veiligheidsbeambte', 'Veilinghouder', 'Verfspuiter', 'Vergaderstenograaf', 'Verhuizer', 'Verhuurder', 'Verkeersdienstsimulator', 'Verkeersinspecteur', 'Verkeerskundige', 'Verkeersleider', 'Verkeersonderzoeker', 'Verkeersplanoloog', 'Verkoopchef', 'Verkoopstyliste', 'Verkoper', 'Verloskundige', 'Verpleeghulp', 'Verpleegkundige', 'Verslaggever', 'Verspaner', 'Vertaler', 'Vertegenwoordiger', 'Vervoer', 'Vervoersinspecteur', 'Verwarmingsinstallateur', 'Verwarmingsmonteur', 'Verzekeringsagent', 'Verzekeringsdeskundige', 'Verzekeringsinspecteur', 'Verzorgende', 'Vicaris', 'Videoclipregisseur', 'Videojockey', 'Vioolbouwer', 'Violist', 'Vinoloog', 'Viroloog', 'Visagiste', 'Visfileerder', 'Visser', 'Vj', 'Vleeswarenmaker', 'Vlieger', 'Vliegtuigplaatwerker', 'Vliegtuigtimmerman', 'Vloerlegger', 'Voedingsmiddelentechnoloog', 'Voedingsvoorlichter', 'Voeger', 'Voertuigbekleder', 'Voetballer', 'Volder of Voller', 'Voorganger', 'Voorlichter', 'Voorlichtingsfunctionaris', 'Voorraadadministrateur', 'Voorzitter', 'Vormende', 'Vormenmaker', 'Vormer', 'Vormgever', 'Vrachtwagenchauffeur', 'Vuilnisman', 'Vulkanoloog', 'Vuurspuwer', 'Vuurtorenwachter', 'Vroedvrouw', - 'Waard', 'Waardijn', 'Waarzegger', 'Wachtcommandant', 'Wachter', 'Wachtmeester', 'Wagenmaker', 'Wasser', 'Wasserettehouder', 'Waterbouwkundige', 'Webdesigner', 'Weefmachinesteller', 'Weerkundige', 'Weerpresentator', 'Wegenbouwarbeider', 'Wegenbouwmachinist', 'Wegmarkeerder', 'Werkleider-dokmeester', 'Werktuigbouwkundige', 'Werktuigkundige', 'Werkvoorbereider', 'Wethouder', 'Wijkmeester', 'Wijnboer', 'Winkelbediende', 'Winkelier', 'Wiskundige', 'Wisselkassier', 'Wisselmaker', 'Woonbegeleider', - 'Xylofonist', - 'Yogaleraar', - 'Zaakwaarnemer', 'Zakenman', 'Zanger', 'Zeefdrukker', 'Zeeman', 'Zeepzieder', 'Zeilmaker', 'Zelfstandig ondernemer', 'Zetter', 'Ziekenhuisapotheker', 'Ziekenhuishygiënist', 'Ziekenverzorgende', 'Zilversmid', 'Zweminstructeur', 'Zoöloog', - ]; - - protected static $companySuffix = [ - 'VOF', 'CV', 'LLP', 'BV', 'NV', 'IBC', 'CSL', 'EESV', 'SE', 'CV', 'Stichting', '& Zonen', '& Zn', - ]; - - protected static $product = [ - 'Keuken', 'Media', 'Meubel', 'Sanitair', 'Elektronica', 'Schoenen', - 'Zorg', 'Muziek', 'Audio', 'Televisie', 'Pasta', 'Lunch', 'Boeken', 'Cadeau', 'Kunst', 'Tuin', 'Klus', - 'Video', 'Sieraden', 'Kook', 'Woon', 'Pizza', 'Mode', 'Haar', 'Kleding', 'Antiek', 'Interieur', 'Gadget', - 'Foto', 'Computer', 'Witgoed', 'Bruingoed', 'Broeken', 'Pakken', 'Maatpak', 'Fietsen', 'Speelgoed', - 'Barbecue', 'Sport', 'Fitness', 'Brillen', 'Bakkers', 'Drank', 'Zuivel', 'Pret', 'Vis', 'Wijn', 'Salade', - 'Terras', 'Borrel', 'Dieren', 'Aquaria', 'Verf', 'Behang', 'Tegel', 'Badkamer', 'Decoratie', - ]; - - protected static $type = [ - 'Markt', 'Kampioen', 'Expert', 'Concurrent', 'Shop', 'Expert', 'Magazijn', - 'Dump', 'Store', 'Studio', 'Boulevard', 'Fabriek', 'Groep', 'Huis', 'Salon', 'Vakhuis', 'Winkel', 'Gigant', - 'Reus', 'Plaza', 'Park', 'Tuin', - ]; - - protected static $store = [ - 'Boekhandel', 'Super', 'Tabakzaak', 'Schoenmaker', 'Kaashandel', 'Slagerij', - 'Smederij', 'Bakkerij', 'Bierbrouwer', 'Kapperszaak', 'Groenteboer', 'Bioboer', 'Fietsenmaker', 'Opticien', - 'Café', 'Garage', - ]; - - /** - * @example 'Fietsenmaker Zijlemans' - * - * @return string - */ - public function company() - { - $determinator = self::numberBetween(0, 2); - - switch ($determinator) { - case 0: - $companyName = static::randomElement(static::$product) . ' ' . static::randomElement(static::$type); - - break; - - case 1: - $companyName = static::randomElement(static::$product) . strtolower(static::randomElement(static::$type)); - - break; - - case 2: - $companyName = static::randomElement(static::$store) . ' ' . $this->generator->lastName(); - - break; - } - - if (Miscellaneous::boolean()) { - return $companyName . ' ' . static::randomElement(static::$companySuffix); - } - - return $companyName; - } - - /** - * Belasting Toegevoegde Waarde (BTW) = VAT - * - * @example 'NL123456789B01' - * - * @see https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer - * - * @return string VAT Number - */ - public static function vat() - { - return sprintf('%s%d%s%d', 'NL', self::randomNumber(9, true), 'B', self::randomNumber(2, true)); - } - - /** - * Alias dutch vat number format - * - * @return string - */ - public static function btw() - { - return self::vat(); - } +class Company extends \Faker\Provider\Company { + /** + * @see https://nl.wikipedia.org/wiki/Lijst_van_beroepen + */ + protected static $jobTitleFormat = [ + 'Aankondiger', + 'Acceptant', + 'Accountant', + 'Accountmanager', + 'Acrobaat', + 'Acteur', + 'Activiteitenbegeleider', + 'Actuaris', + 'Acupuncturist', + 'Adjudant', + 'Administrateur', + 'Advertentiezetter', + 'Adviseur', + 'Advocaat', + 'Agent', + 'Agrariër', + 'Akoepedist', + 'Akoesticus', + 'Alchemist', + 'Allergoloog', + 'Altist', + 'Amanuensis', + 'Ambtenaar', + 'Ambulancebegeleider', + 'Ambulancechauffeur', + 'Ambulanceverpleegkundige', + 'Analist', + 'Anatoom', + 'Andragoog', + 'Androloog', + 'Anesthesist', + 'Anesthesiemedewerker', + 'Animeermeisje', + 'Antiquaar', + 'Antiquair', + 'Apotheker', + 'Apothekersassistent', + 'Applicatieontwikkelaar', + 'Arbeidsanalist', + 'Arbeidsbemiddelaar', + 'Arbeidsdeskundige', + 'Arbeidsfysioloog', + 'Arbeidsgeneesheer', + 'Arbeidshygiënist', + 'Archeoloog', + 'Architect', + 'Archivaris', + 'Archivist', + 'Arrangeur', + 'Artdirector', + 'Artiest', + 'Arts', + 'Assuradeur', + 'Astrofysicus', + 'Astroloog', + 'Astronaut', + 'Astronoom', + 'Audioloog', + 'Audiometrist', + 'Audiotherapeut', + 'Auditor', + 'Autohandelaar', + 'Automonteur', + 'Autoplaatwerker', + 'Autospuiter', + 'Bacterioloog', + 'Badmeester', + 'Baggermachinist', + 'Baggermolenarbeider', + 'Baker', + 'Bakker', + 'Baliemedewerker', + 'Balletdanser', + 'Ballroomdanser', + 'Bandagist', + 'Bandenmonteur', + 'Bankbediende', + 'Bankdirecteur', + 'Banketbakker', + 'Bankmakelaar', + 'Bankwerker', + 'Barbediende', + 'Barhouder', + 'Barman', + 'Basketballer', + 'Bassist', + 'Beademingsassistent', + 'Bedienaar', + 'Bediener', + 'Bedrijfsbrandweer', + 'Bedrijfseconoom', + 'Bedrijfshoofd', + 'Bedrijfsjurist', + 'Bedrijfskassier', + 'Bedrijfskundige', + 'Bedrijfsleermeester', + 'Bedrijfsleider', + 'Bedrijfsorganisatiedeskundige', + 'Bedrijfspolitieagent', + 'Bedrijfsrecherche', + 'Bedrijfsverpleegkundige', + 'Beeldapparatuurbediener', + 'Beeldhouwer', + 'Beenhouwer', + 'Begeleider', + 'Begrafenispersoneel', + 'Begrotingscalculator', + 'Behanger', + 'Beheerder', + 'Beiaardier', + 'Bejaardenverzorgende', + 'Belastingambtenaar', + 'Belastingconsulent', + 'Beleidsambtenaar', + 'Beleidsmedewerker', + 'Belichter', + 'Bergingsduiker', + 'Beroepskeuzeadviseur', + 'Beroepsmilitair', + 'Beroepssporter', + 'Bestekschrijver', + 'Besteksorteerder', + 'Bestekzoeker', + 'Bestuurder', + 'Bestuurskundige', + 'Betonmolenbaas', + 'Betontimmerman', + 'Betonstaalvlechter', + 'Betonwerker', + 'Beul', + 'Beveiligingsapparatuur', + 'Beveiligingsbeambte', + 'Bewaarder', + 'Bewaker', + 'Bewegingstherapeut', + 'Bezorger', + 'Bibliothecaris', + 'Bibliotheekassistent', + 'Bierbrouwer', + 'Bijenkorfvlechter', + 'Bijenkweker', + 'Bijkantoorhouder', + 'Binderijpersoneel', + 'Binnenhuisarchitect', + 'Biochemicus', + 'Biograaf', + 'Bioloog', + 'Bioscoopoperateur', + 'Bitumineerder', + 'Bloemist', + 'Bloemkweker', + 'Bloemschikker', + 'Bloemsierkunstenaar', + 'Bode', + 'Boekbinder', + 'Boekhouder', + 'Boekillustrator', + 'Boer', + 'Bontkleermaker', + 'Bontsnijder', + 'Bookmaker', + 'Boomchirurg', + 'Boomkweker', + 'Boomverzorger', + 'Boordwerktuigkundige', + 'Boormachinist', + 'Boorpersoneel', + 'Bootsman', + 'Bosbaas', + 'Bosbouwkundige', + 'Boswachter', + 'Botenbouwer', + 'Bouwcalculator', + 'Bouwhistoricus', + 'Bouwkundig tekenaar', + 'Bouwliftbediener', + 'Bouwpromotor', + 'Bouwopzichter', + 'Bouwvakker', + 'Bouwvaktimmerman', + 'Brandmeester', + 'Brandveiligheidsdeskundige', + 'Brandwacht', + 'Brandweerman', + 'Brandweercommandant', + 'Brandweeronderofficier', + 'Breimachinesteller', + 'Bromfietshersteller', + 'Bronboorder', + 'Buffetbediende', + 'Buikspreker', + 'Buitenbandenvulkaniseur', + 'Buitendienstmedewerker', + 'Burgemeester', + 'Buschauffeur', + 'Budgetcoach', + 'Butler', + 'Cabaretier', + 'Caféhouder', + 'Cafetariamedewerker', + 'Caissière', + 'Calculator', + 'Callgirl', + 'Cameraman', + 'Cardioloog', + 'Cargadoor', + 'Carrosseriebouwer', + 'Cartograaf', + 'Cellist', + 'Chauffeur', + 'Chef', + 'Chemicus', + 'Chiropodist', + 'Chirurg', + 'Chocolademaker', + 'Chocolatier', + 'Choreograaf', + 'Cilindermaker', + 'Cineast', + 'Cipier', + 'Circusartiest', + 'Circusdirecteur', + 'Civiel ingenieur', + 'Classicus', + 'Clown', + 'Coach', + 'Codeur', + 'Collationist', + 'Colporteur', + 'Columnist', + 'Combinatiefunctionaris', + 'Commentator', + 'Commissaris', + 'Commissionair', + 'Completeerder', + 'Compliance officer', + 'Componist', + 'Computeroperator', + 'Computerprogrammeur', + 'Conciërge', + 'Conducteur', + 'Conservator', + 'Constructeur', + 'Constructiebankwerker', + 'Constructiesamenbouwer', + 'Constructieschilder', + 'Consulent', + 'Contactlensspecialist', + 'Controleur', + 'Controller', + 'Coördinator', + 'Copywriter', + 'Counselor', + 'Corrector', + 'Correpetitor', + 'Correspondent', + 'Creatief therapeut', + 'Crècheleidster', + 'Criminoloog', + 'Criticus', + 'Croupeur', + 'Croupier', + 'Cultuurtechnicus', + 'Curator', + 'Cursuscoördinator', + 'Cursusleider', + 'Dakdekker', + 'Dakpannenvormer', + 'Danser', + 'Dansleraar', + 'Database administrator', + 'Debitant', + 'Decaan', + 'Declarant', + 'Decoratieschilder', + 'Decorschilder', + 'Degelpersdrukker', + 'Dekkledenmaker', + 'Dekpersoneel', + 'Delfstoffenbewerker', + 'Demonstrateur', + 'Dermatoloog', + 'Deskundige', + 'Detailhandelaar', + 'Detective', + 'Deurenzetter', + 'Deurwaarder', + 'Dichter', + 'Dieetkok', + 'Dienstbode', + 'Dienstleider', + 'Diepdrukgraveur', + 'Dierenarts', + 'Dierenartsassistent', + 'Dierenasielhouder', + 'Dierentrainer', + 'Dierenverzorger', + 'Diëtist', + 'Diplomaat', + 'Directeur', + 'Directieassistent', + 'Directiesecretaresse', + 'Dirigent', + 'Diskjockey', + 'Districtschef', + 'Districtsverpleegkundige', + 'Docent', + 'Documentalist', + 'Documentencontroleur', + 'Dokmeester', + 'Doktersassistent', + 'Dominee', + 'Doodgraver', + 'Douaneambtenaar', + 'Dozenmaker', + 'Draaier', + 'Dramadocent', + 'Dramatherapeut', + 'Drogist', + 'Drukker', + 'Drukkerijbinder', + 'Drukwerkvoorbereiders', + 'Drummer', + 'Duiker', + 'Econoom', + 'Ecotechnisch manager', + 'Edelmetaalbewerker', + 'Edelsmid', + 'Editor', + 'EDP-auditor', + 'Egyptoloog', + 'Eindredacteur', + 'Elektricien', + 'Elektromonteur', + 'Elektronicamonteur', + 'Elektronicus', + 'Elektrotechnicus', + 'Encyclopedist', + 'Enquêteur', + 'Ergonoom', + 'Ergotherapeut', + 'Ertskundige', + 'Essayeur', + 'Essayist', + 'Etaleur', + 'Etnograaf', + 'Etnoloog', + 'Etymoloog', + 'Evangelist', + 'Examinator', + 'Expediteur', + 'Explantatiemedewerker', + 'Fabrikant', + 'Facilitair Manager', + 'Facturist', + 'Farmacoloog', + 'Fietsenmaker', + 'Fijnbankwerker', + 'Filiaalhouder', + 'Filmer', + 'Filmregisseur', + 'Filosoof', + 'Filterreiniger', + 'Financieel analist', + 'Fluitenbouwer', + 'Fotograaf', + 'Fotograveur', + 'Fotolaborant', + 'Fotolaboratoriumbediende', + 'Fotolithograaf', + 'Fotoredacteur', + 'Framebouwer', + 'Frezer', + 'Fruitteler', + 'Fysicus', + 'Fysioloog', + 'Fysiotherapeut', + 'Galvaniseur', + 'Game Designer', + 'Garagehouder', + 'Garderobejuffrouw', + 'Garnalenpeller', + 'Gasleidinglegger', + 'Gastvrouw', + 'Gecommitteerde', + 'Gedeputeerde', + 'Gemeentesecretaris', + 'Geneeskundige', + 'Generaal', + 'Geodeet', + 'Geograaf', + 'Geoloog', + 'Gerant', + 'Gerechtsdeurwaarder', + 'Gereedschapsmaker', + 'Gereedschapssmid', + 'Geschiedkundige', + 'Gevangenbewaarder', + 'Gezaghebber', + 'Gezagvoerder', + 'Gezondheidsbegeleider', + 'Gezondheidsfysicus', + 'Gezondheidstechnicus', + 'Gidsenschrijver', + 'Gieterijtechnicus', + 'Gietmachinebediener', + 'Gigolo', + 'Gipsverbandmeester', + 'Gitarist', + 'Glasblazer', + 'Glasgraveur', + 'Glasslijper', + 'Glaszetter', + 'Glazenhaler', + 'Glazenmaker', + 'Glazenwasser', + 'Goochelaar', + 'Goudsmid', + 'Goudzoeker', + 'Grafdelver', + 'Graficus', + 'Grafisch ontwerper', + 'Grafoloog', + 'Graveur', + 'Griendwerker', + 'Griffier', + 'Grimeur', + 'Groenteteler', + 'Groepsleider', + 'Groepsvervoer', + 'Grondsteward', + 'Grondstewardess', + 'Grondwerker', + 'Groothandelaar', + 'Gymleraar', + 'Gynaecoloog', + 'Handelaar', + 'Handelscorrespondent', + 'Handwever', + 'Havenarbeider', + 'Havenmeester', + 'Heemraad', + 'Heftruckchauffeur', + 'Heibaas', + 'Heier', + 'Heilpedagoog', + 'Heilsoldaat', + 'Helpdeskmedewerker', + 'Herbergier', + 'Hijsmachinist', + 'Historicus', + 'Hoefsmid', + 'Hoekman', + 'Hofmeester', + 'Homeopaat', + 'Hondenfokker', + 'Hondentoiletteerder', + 'Hondentrimmer', + 'Hoofd', + 'Hoofdambtenaar', + 'Hoofdcontroleur', + 'Hoofdredacteur', + 'Hoofduitvoerder', + 'Hoofdverpleegkundige', + 'Hoofdwerktuigkundige', + 'Hoogleraar', + 'Hoornist', + 'Hoorspelregisseur', + 'Horlogemaker', + 'Hostess', + 'Hotelier', + 'Hotelmanager', + 'Hotelportier', + 'Houtbewerker', + 'Houtmodelmaker', + 'Houtsnijder', + 'Houtvester', + 'Houtwarensamensteller', + 'Hovenier', + 'Huidtherapeut', + 'Huisarts', + 'Huisbaas', + 'Huisbewaarder', + 'Huishoudhulp', + 'Huishoudster', + 'Huisschilder', + 'Hulparbeider', + 'Hulpautomonteur', + 'Hulpkok', + 'Hulpverkoper', + 'Huurmoordenaar', + 'Hydroloog', + 'IJscoman', + 'IJzervlechter', + 'Illusionist', + 'Illustrator', + 'Imam', + 'Imker', + 'Importeur', + 'Impresario', + 'Industrieel ontwerper', + 'Ingenieur', + 'Inkoper', + 'Inrijger', + 'Inseminator', + 'Inspecteur', + 'Installateur', + 'Instructeur', + 'Instrumentalist', + 'Instrumentmaker', + 'Interieurarchitect', + 'Interieurverzorger', + 'Interne accountant', + 'Internist', + 'Jachtopzichter', + 'Jager', + 'Jongleur', + 'Journalist', + 'Justitieel Aanklager', + 'Juwelier', + 'Judoleraar', + 'Kaartenzetter', + 'Kaasmaker', + 'Kabelsplitser', + 'Kabelwerker', + 'Kanaalmeester', + 'Kantonnier', + 'Kantoorhulp', + 'Kapitein', + 'Kapper', + 'Kappershulp', + 'Kardinaal', + 'Karteerder', + 'Kartonnagewerker', + 'Kassamedewerker', + 'Kassier', + 'Kelner', + 'Keizer', + 'Keramist', + 'Kermisexploitant', + 'Kernmaker', + 'Kerstman', + 'Ketelmetselaar', + 'Keukenassistent', + 'Keukenknecht', + 'Keurder', + 'Keuringsambtenaar', + 'Keurmeester', + 'Kinderverzorgende', + 'Kleermaker', + 'Kleidelver', + 'Kleinhandelaar', + 'Klerk', + 'Kleuterleider', + 'Klokkenmaker', + 'Klompenmaker', + 'Kloosterling', + 'Kno-arts', + 'Koerier', + 'Koetsier', + 'Kok', + 'Komiek', + 'Kompel', + 'Kooiker', + 'Kooiman', + 'Koordirigent', + 'Koperslager', + 'Kostendeskundige', + 'Koster', + 'Kostprijscalculator', + 'Kozijnenmaker', + 'Kraamverzorgende', + 'Kraamhulp', + 'Kraanmachinist', + 'Kredietanalist', + 'Kredietbeoordelaar', + 'Kruidendokter', + 'Kruier', + 'Kuiper', + 'Kunstcriticus', + 'Kunstenaar', + 'Kunstschilder', + 'Kustlichtwachter', + 'Kwitantieloper', + 'Laadschopbestuurder', + 'Laborant', + 'Laboratoriumbediende', + 'Lader', + 'Ladingmeester', + 'Lakei', + 'Landarbeider', + 'Landbouwer', + 'Landbouwkundige', + 'Landbouwmachinebestuurder', + 'Landbouwmilieubeheer', + 'Landbouwwerktuigenhersteller', + 'Landmeetkundige', + 'Landmeettechnicus', + 'Landmeter', + 'Landschapsarchitect', + 'Landschapsbeheer', + 'Lasinspecteur', + 'Lasser', + 'Lastechnicus', + 'Lector', + 'Ledertechnoloog', + 'Lederwarenmaker', + 'Leerbewerker', + 'Leerkracht', + 'Leeuwentemmer', + 'Legionair', + 'Leidekker', + 'Leidinggevende', + 'Leraar', + 'Letterkundige', + 'Leurder', + 'Lichtdrukker', + 'Lichtmatroos', + 'Lijstenmaker', + 'Linktrainer', + 'Literator', + 'Literatuurcriticus', + 'Literatuuronderzoeker', + 'Logopedist', + 'Logotherapeut', + 'Lokettist', + 'Longfunctieassistent', + 'Loodgieter', + 'Loods', + 'Loodschef', + 'Loonadministrateur', + 'Loopbaancoach', + 'Losser', + 'Luchtverkeersleider', + 'Maatnemer', + 'Maatschappelijk medewerker', + 'Maatschappelijk werker', + 'Maatschoenmaker', + 'Machine vouwer', + 'Machinebankwerker', + 'Machinebediende', + 'Machinesteller', + 'Manegehouder', + 'Machinist', + 'Magazijnbediende', + 'Magazijnbeheerder', + 'Magazijnknecht', + 'Magnetiseur', + 'Makelaar', + 'Managementassistent', + 'Manager', + 'Mandenmaker', + 'Mannequin', + 'Manueel therapeut', + 'Marconist', + 'Marinier', + 'Maritiem Officier', + 'Marechaussee', + 'Marketingadviseur', + 'Marketingassistent', + 'Marktkoopman', + 'Masseur', + 'Mathematicus', + 'Matroos', + 'Mattenmaker', + 'Medewerker', + 'Mediatrainer', + 'Meester restauratiestukadoor', + 'Meettechnicus', + 'Melkboer', + 'Metaalbewerker', + 'Metaalbrander', + 'Metaalbuiger', + 'Metaalfrezer', + 'Metaalgieter', + 'Metaalkundige', + 'Meteoroloog', + 'Meteropnemer', + 'Metselaar', + 'Meubelbeeldhouwer', + 'Meubelmaker', + 'Meubelstoffeerder', + 'Meubelstoffennaaister', + 'Meubeltekenaar', + 'Mijnbouwkundige', + 'Middenstander', + 'Mijnwerker', + 'Milieudeskundige', + 'Milieuhygiënist', + 'Militair', + 'Mimespeler', + 'Min', + 'Mineralenbewerker', + 'Minister', + 'Minister-president', + 'Model', + 'Modelmaker', + 'Modelnaaister', + 'Molenaar', + 'Modeontwerper', + 'Mondhygiënist', + 'Monnik', + 'Monteur', + 'Mosselman', + 'Motordemonteur', + 'Motordrijver', + 'Motormonteur', + 'Mouldroomtechnicus', + 'Munter', + 'Muntmeester', + 'Museumconservator', + 'Museumgids', + 'Museumhouder', + 'Museummedewerker', + 'Musicus', + 'Muziekinstrumentenmaker', + 'Muziekprogrammeur', + 'Naaister', + 'Nachtwaker', + 'Nagelstyliste', + 'Nasynchronisatieregisseur', + 'Natuurkundeleraar', + 'Natuurkundige', + 'Natuurwetenschapper', + 'Navigator', + 'Neonatoloog', + 'Nettenboeter', + 'Netwerkbeheerder', + 'Neurochirurg', + 'Neuroloog', + 'Neurofysioloog', + 'Nieuwslezer', + 'Nijverheidsconsulent', + 'Nko-arts', + 'Nopster', + 'Notaris', + 'Nucleair geneeskundige', + 'Ober', + 'Oberkelner', + 'Objectleider', + 'Oceanoloog', + 'Octrooigemachtigde', + 'Officier', + 'Officier van justitie', + 'Olieslager', + 'Omroeper', + 'Omsteller', + 'Oncoloog', + 'Onderhoudsloodgieter', + 'Onderhoudsman', + 'Onderhoudsmedewerker', + 'Onderhoudsmonteur', + 'Ondernemer', + 'Onderofficier', + 'Ondersteunende', + 'Onderwaterwerker', + 'Onderwijsassistent', + 'Onderwijstechnicus', + 'Onderwijzer', + 'Onderzoeker', + 'Onderzoeker in opleiding', + 'Ontdekkingsreiziger', + 'Ontmijner', + 'Ontvlekker', + 'Ontwerper', + 'Oogarts', + 'Operateur', + 'Operatieassistent', + 'Operational auditor', + 'Operator', + 'Opkoper', + 'Opperman', + 'Opsporingsambtenaar', + 'Opsporingsingenieur', + 'Opticien', + 'Optometrist', + 'Opvoedingsconsulent', + 'Opvoedingsvoorlichter', + 'Opzichter', + 'Organist', + 'Organizer', + 'Ornitholoog', + 'Orthodontist', + 'Orthopedagoog', + 'Orthopeed', + 'Orthoptist', + 'ORL-arts', + 'Osteopaat', + 'Ouvreuse', + 'Ovenman', + 'Paardenfokker', + 'Pakhuischef', + 'Paleontoloog', + 'Palfrenier', + 'Pandjesbaas', + 'Papierschepper', + 'Papiervernisser', + 'Parkeerwachter', + 'Parketvloerenlegger', + 'Parketwacht', + 'Pastoor', + 'Paswerker', + 'Patholoog', + 'Patholoog-anatoom', + 'Patissier', + 'Patroonmaker', + 'Patroontekenaar', + 'Pedagoog', + 'Pedicure', + 'Perronopzichter', + 'Perser', + 'Personeelsfunctionaris', + 'Peuterwerker', + 'Pianist', + 'Pianostemmer', + 'Piccolo', + 'Pijpfitter', + 'Pikeur', + 'Piloot', + 'Plaatwerker', + 'Planner', + 'Plantenteeltdeskundige', + 'Plantsoenmedewerker', + 'Plasticvormer', + 'Pleitbezorger', + 'Poelier', + 'Poepruimer', + 'Poetser', + 'Podiatrist', + 'Podoloog', + 'Poffertjesbakker', + 'Polisopmaker', + 'Politicus', + 'Politieagent', + 'Politiecommissaris', + 'Politie-inspecteur', + 'Politiek analist', + 'Pontschipper', + 'Porder', + 'Portier', + 'Portretfotograaf', + 'Postbediende', + 'Postbesteller', + 'Postbode', + 'Postcommandant', + 'Postexpediteur', + 'Postsorteerder', + 'Pottenbakker', + 'Predikant', + 'Premier', + 'Presentator', + 'President', + 'Priester', + 'Probleemanalist', + 'Procesmanager', + 'Procesoperator', + 'Procureur', + 'Procureur des Konings', + 'Producer', + 'Productenmaker', + 'Productensorteerder', + 'Productiebegeleider', + 'Productieleider', + 'Productiemedewerker', + 'Productieplanner', + 'Professor', + 'Professioneel worstelaar', + 'Programmamaker', + 'Programmeur', + 'Projectadviseur', + 'Projectleider', + 'Projectmanager', + 'Projectontwikkelaar', + 'Promovendus', + 'Pruikenmaker', + 'Psychiater', + 'Psychologisch assistent', + 'Psycholoog', + 'Psychotherapeut', + 'Psychomotorisch kindertherapeut', + 'Purser', + 'Putjesschepper', + 'Quarantaine-beambte', + 'Quizmaster', + 'Quantity surveyor', + 'Raadsman', + 'Radarwaarnemer', + 'Radiotherapeutisch laborant', + 'Radiograaf', + 'Radiolaborant', + 'Radiotechnicus', + 'Radiotelegrafist', + 'Rangeerder', + 'Recensent', + 'Receptionist', + 'Recherchekundige', + 'Rechercheur', + 'Rechtbanktekenaar', + 'Rechter', + 'Reclame-ontwerper', + 'Reclameacquisiteur', + 'Reclamedeskundige', + 'Reclametekenaar', + 'Redacteur', + 'Redactiechef', + 'Regisseur', + 'Registeraccountant', + 'Reiniger', + 'Reinigingsdienstarbeider', + 'Reisleider', + 'Reisprogrammeur', + 'Reisverkoper', + 'Rekenaar', + 'Rekwisietenmaker', + 'Rentmeester', + 'Reparateur', + 'Ridder', + 'Repetitor', + 'Reproductietekenaar', + 'Restauranthouder', + 'Rietmeubelmaker', + 'Rietwerker', + 'Rijtuigspuiter', + 'Rijwielhersteller', + 'Rolluikentimmerman', + 'Rondvaartgids', + 'Röntgenoloog', + 'Ruimtevaarder', + 'Samensteller', + 'Saunahouder', + 'Scenarioschrijver', + 'Schaaldierenkweker', + 'Schaaldierenpeller', + 'Schaapherder', + 'Schadecorrespondent', + 'Schadetaxateur', + 'Schakelbordwachter', + 'Schaker', + 'Schapenscheerder', + 'Scharensliep', + 'Scheepskapitein', + 'Scheepskok', + 'Scheepspurser', + 'Scheepsschilder', + 'Scheepstimmerman', + 'Scheidsrechter', + 'Scheikundige', + 'Schillenboer', + 'Schipper', + 'Schoenfabrieksarbeider', + 'Schoenhersteller', + 'Schoenmaker', + 'Schoolbegeleider', + 'Schooldecaan', + 'Schooldirecteur', + 'Schoolinspecteur', + 'Schoonheidsmasseur', + 'Schoonheidsspecialiste', + 'Schoonmaker', + 'Schoorsteenveger', + 'Schotter', + 'Schrijftolk', + 'Schrijver', + 'Schuurder', + 'Secretaresse', + 'Secretariaatsmedewerker', + 'Secretaris', + 'Seismoloog', + 'Seizoenarbeider', + 'Seksuoloog', + 'Selecteur', + 'Sergeant', + 'Seroloog', + 'Serveerster', + 'Setdresser', + 'Sigarenmaker', + 'Sinoloog', + 'Sjorder', + 'Sjouwer', + 'Slachter', + 'Slager', + 'Slagwerker', + 'Slijter', + 'Sloper', + 'Sluiswachter', + 'Smeerder', + 'Smelter', + 'Smid', + 'Snackbarbediende', + 'Snackbarhouder', + 'Snijder', + 'Sociotherapeut', + 'Softwareontwikkelaar', + 'Soldaat', + 'Soldeerder', + 'Sommelier', + 'Sondeerder', + 'Songwriter', + 'Souschef', + 'Spoeler', + 'Souffleur', + 'Specialist', + 'Spelersmakelaar', + 'Speltherapeut', + 'Spindoppenmonteur', + 'Spion', + 'Sportinstructeur', + 'Stadsomroeper', + 'Stadstimmerman', + 'Stanser', + 'Stationschef', + 'Statisticus', + 'Stedenbouwkundige', + 'Steenbewerker', + 'Steenfabrikant', + 'Steenhouwer', + 'Steenzetter', + 'Steigerbouwer', + 'Steigermaker', + 'Stenotypist', + 'Stereotypeur', + 'Sterilisatieassistent', + 'Stewardess', + 'Stoelenmatter', + 'Stoffeerder', + 'Storingsmonteur', + 'Straatverkoper', + 'Strandjutter', + 'Stratenmaker', + 'Stripper', + 'Stucwerker', + 'Stukadoor', + 'Stuurman', + 'Stuwadoor', + 'Stylist', + 'Stypengalvaniseur', + 'Surinamist', + 'Systeemanalist', + 'Systeembeheerder', + 'Systeemontwerper', + 'Systeemprogrammeur', + 'Takelaar', + 'Tandarts', + 'Tandartsassistente', + 'Tandtechnicus', + 'Tapper', + 'Taxichauffeur', + 'Taxidermist', + 'Technicus', + 'Technisch Oogheelkundig Assistent', + 'Technisch tekenaar', + 'Tegelzetter', + 'Tekenaar', + 'Tekstschrijver', + 'Telecommunicatiemonteur', + 'Telefoniste', + 'Telegrafist', + 'Televisieregisseur', + 'Televisietechnicus', + 'Telexist', + 'Tennisser', + 'Terrazzovloerenlegger', + 'Terreinchef', + 'Tester', + 'Textieldrukker', + 'Textiellaborant', + 'Textielopmaker', + 'Textielproductenmaker', + 'Theateragent', + 'Theatertechnicus', + 'Therapeut', + 'Timmerman', + 'Tingieter', + 'Toetsenist', + 'Tolk', + 'Toneelfigurant', + 'Toneelmeester', + 'Toneelregisseur', + 'Toneelschrijver', + 'Toneelspeler', + 'Torenkraanmonteur', + 'Totalisatormedewerker', + 'Touringcarchauffeur', + 'Touwslager', + 'Traceur', + 'Trainingsacteur', + 'Traiteur', + 'Trambestuurder', + 'Transportplanner', + 'Treinbestuurder', + 'Treinconducteur', + 'Treindienstleider', + 'Treinduwer', + 'Treinmachinist', + 'Trekkerchauffeur', + 'Tuiger', + 'Tuinarchitect', + 'Tuinder', + 'Tuinman', + 'Typiste', + 'Uitgever', + 'Uitsmijter', + 'Uitvaartbegeleider', + 'Uitvinder', + 'Uitvoerder', + 'Uroloog', + 'Uurwerkmaker', + 'Vakkenvuller', + 'Valet', + 'Veearts', + 'Veehouder', + 'Veeverloskundige', + 'Veiligheidsbeambte', + 'Veilinghouder', + 'Verfspuiter', + 'Vergaderstenograaf', + 'Verhuizer', + 'Verhuurder', + 'Verkeersdienstsimulator', + 'Verkeersinspecteur', + 'Verkeerskundige', + 'Verkeersleider', + 'Verkeersonderzoeker', + 'Verkeersplanoloog', + 'Verkoopchef', + 'Verkoopstyliste', + 'Verkoper', + 'Verloskundige', + 'Verpleeghulp', + 'Verpleegkundige', + 'Verslaggever', + 'Verspaner', + 'Vertaler', + 'Vertegenwoordiger', + 'Vervoer', + 'Vervoersinspecteur', + 'Verwarmingsinstallateur', + 'Verwarmingsmonteur', + 'Verzekeringsagent', + 'Verzekeringsdeskundige', + 'Verzekeringsinspecteur', + 'Verzorgende', + 'Vicaris', + 'Videoclipregisseur', + 'Videojockey', + 'Vioolbouwer', + 'Violist', + 'Vinoloog', + 'Viroloog', + 'Visagiste', + 'Visfileerder', + 'Visser', + 'Vj', + 'Vleeswarenmaker', + 'Vlieger', + 'Vliegtuigplaatwerker', + 'Vliegtuigtimmerman', + 'Vloerlegger', + 'Voedingsmiddelentechnoloog', + 'Voedingsvoorlichter', + 'Voeger', + 'Voertuigbekleder', + 'Voetballer', + 'Volder of Voller', + 'Voorganger', + 'Voorlichter', + 'Voorlichtingsfunctionaris', + 'Voorraadadministrateur', + 'Voorzitter', + 'Vormende', + 'Vormenmaker', + 'Vormer', + 'Vormgever', + 'Vrachtwagenchauffeur', + 'Vuilnisman', + 'Vulkanoloog', + 'Vuurspuwer', + 'Vuurtorenwachter', + 'Vroedvrouw', + 'Waard', + 'Waardijn', + 'Waarzegger', + 'Wachtcommandant', + 'Wachter', + 'Wachtmeester', + 'Wagenmaker', + 'Wasser', + 'Wasserettehouder', + 'Waterbouwkundige', + 'Webdesigner', + 'Weefmachinesteller', + 'Weerkundige', + 'Weerpresentator', + 'Wegenbouwarbeider', + 'Wegenbouwmachinist', + 'Wegmarkeerder', + 'Werkleider-dokmeester', + 'Werktuigbouwkundige', + 'Werktuigkundige', + 'Werkvoorbereider', + 'Wethouder', + 'Wijkmeester', + 'Wijnboer', + 'Winkelbediende', + 'Winkelier', + 'Wiskundige', + 'Wisselkassier', + 'Wisselmaker', + 'Woonbegeleider', + 'Xylofonist', + 'Yogaleraar', + 'Zaakwaarnemer', + 'Zakenman', + 'Zanger', + 'Zeefdrukker', + 'Zeeman', + 'Zeepzieder', + 'Zeilmaker', + 'Zelfstandig ondernemer', + 'Zetter', + 'Ziekenhuisapotheker', + 'Ziekenhuishygiënist', + 'Ziekenverzorgende', + 'Zilversmid', + 'Zweminstructeur', + 'Zoöloog', + ]; + + protected static $companySuffix = [ + 'VOF', + 'CV', + 'LLP', + 'BV', + 'NV', + 'IBC', + 'CSL', + 'EESV', + 'SE', + 'CV', + 'Stichting', + '& Zonen', + '& Zn', + ]; + + protected static $product = [ + 'Keuken', + 'Media', + 'Meubel', + 'Sanitair', + 'Elektronica', + 'Schoenen', + 'Zorg', + 'Muziek', + 'Audio', + 'Televisie', + 'Pasta', + 'Lunch', + 'Boeken', + 'Cadeau', + 'Kunst', + 'Tuin', + 'Klus', + 'Video', + 'Sieraden', + 'Kook', + 'Woon', + 'Pizza', + 'Mode', + 'Haar', + 'Kleding', + 'Antiek', + 'Interieur', + 'Gadget', + 'Foto', + 'Computer', + 'Witgoed', + 'Bruingoed', + 'Broeken', + 'Pakken', + 'Maatpak', + 'Fietsen', + 'Speelgoed', + 'Barbecue', + 'Sport', + 'Fitness', + 'Brillen', + 'Bakkers', + 'Drank', + 'Zuivel', + 'Pret', + 'Vis', + 'Wijn', + 'Salade', + 'Terras', + 'Borrel', + 'Dieren', + 'Aquaria', + 'Verf', + 'Behang', + 'Tegel', + 'Badkamer', + 'Decoratie', + ]; + + protected static $type = [ + 'Markt', + 'Kampioen', + 'Expert', + 'Concurrent', + 'Shop', + 'Expert', + 'Magazijn', + 'Dump', + 'Store', + 'Studio', + 'Boulevard', + 'Fabriek', + 'Groep', + 'Huis', + 'Salon', + 'Vakhuis', + 'Winkel', + 'Gigant', + 'Reus', + 'Plaza', + 'Park', + 'Tuin', + ]; + + protected static $store = [ + 'Boekhandel', + 'Super', + 'Tabakzaak', + 'Schoenmaker', + 'Kaashandel', + 'Slagerij', + 'Smederij', + 'Bakkerij', + 'Bierbrouwer', + 'Kapperszaak', + 'Groenteboer', + 'Bioboer', + 'Fietsenmaker', + 'Opticien', + 'Café', + 'Garage', + ]; + + /** + * @return string + * @example 'Fietsenmaker Zijlemans' + * + */ + public function company() { + $determinator = self::numberBetween( 0, 2 ); + + switch ( $determinator ) { + case 0: + $companyName = static::randomElement( static::$product ) . ' ' . static::randomElement( static::$type ); + + break; + + case 1: + $companyName = static::randomElement( static::$product ) . strtolower( static::randomElement( static::$type ) ); + + break; + + case 2: + $companyName = static::randomElement( static::$store ) . ' ' . $this->generator->lastName(); + + break; + } + + if ( Miscellaneous::boolean() ) { + return $companyName . ' ' . static::randomElement( static::$companySuffix ); + } + + return $companyName; + } + + /** + * Belasting Toegevoegde Waarde (BTW) = VAT + * + * @return string VAT Number + * @see https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer + * + * @example 'NL123456789B01' + * + */ + public static function vat() { + return sprintf( '%s%d%s%d', 'NL', self::randomNumber( 9, true ), 'B', self::randomNumber( 2, true ) ); + } + + /** + * Alias dutch vat number format + * + * @return string + */ + public static function btw() { + return self::vat(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Internet.php index bf30e79..fe8f1e3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\nl_NL; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.nl', 'live.nl', 'yahoo.nl']; - protected static $tld = ['com', 'com', 'com', 'net', 'org', 'nl', 'nl', 'nl']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'hotmail.nl', 'live.nl', 'yahoo.nl' ]; + protected static $tld = [ 'com', 'com', 'com', 'net', 'org', 'nl', 'nl', 'nl' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Payment.php index 67964fe..20ddced 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\nl_NL; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'NL', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'NL', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Person.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Person.php index 30ef843..77aa13a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Person.php @@ -2,352 +2,2077 @@ namespace Faker\Provider\nl_NL; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{title}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{title}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{title}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{title}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{title}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{title}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{title}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{title}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - protected static $title = [ - 'mr.', 'dr.', 'ir.', 'drs', 'bacc.', 'kand.', 'dr.h.c.', 'prof.', 'ds.', 'ing.', 'bc.', - ]; + protected static $title = [ + 'mr.', + 'dr.', + 'ir.', + 'drs', + 'bacc.', + 'kand.', + 'dr.h.c.', + 'prof.', + 'ds.', + 'ing.', + 'bc.', + ]; - protected static $suffix = [ - 'BA', 'Bsc', 'LLB', 'LLM', 'MA', 'Msc', 'MPhil', 'D', 'PhD', 'AD', 'B', 'M', - ]; + protected static $suffix = [ + 'BA', + 'Bsc', + 'LLB', + 'LLM', + 'MA', + 'Msc', + 'MPhil', + 'D', + 'PhD', + 'AD', + 'B', + 'M', + ]; - protected static $prefix = ["'s", "'t", 'a', 'aan', "aan 't", 'aan de', 'aan den', 'aan der', 'aan het', - 'aan t', 'af', 'al', 'am', 'am de', 'auf', 'auf dem', 'auf den', 'auf der', 'auf ter', 'aus', "aus 'm", - 'aus dem', 'aus den', 'aus der', 'aus m', 'ben', 'bij', "bij 't", 'bij de', 'bij den', 'bij het', 'bij t', - 'bin', 'boven d', "boven d'", 'd', "d'", 'da', 'dal', 'dal’', 'dalla', 'das', 'de', 'de die', 'de die le', - 'de l', 'de l’', 'de la', 'de las', 'de le', 'de van der', 'deca', 'degli', 'dei', 'del', 'della', 'den', - 'der', 'des', 'di', 'die le', 'do', 'don', 'dos', 'du', 'el', 'het', 'i', 'im', 'in', "in 't", 'in de', 'in den', - 'in der', 'in het', 'in t', 'l', 'l’', 'la', 'las', 'le', 'les', 'lo', 'los', 'of', 'onder', "onder 't", - 'onder de', 'onder den', 'onder het', 'onder t', 'op', "op 't", 'op de', 'op den', 'op der', 'op gen', 'op het', - 'op t', 'op ten', 'over', "over 't", 'over de', 'over den', 'over het', 'over t', 's', "s'", 't', 'te', 'ten', - 'ter', 'tho', 'thoe', 'thor', 'to', 'toe', 'tot', 'uijt', "uijt 't", 'uijt de', 'uijt den', 'uijt te de', - 'uijt ten', 'uit', "uit 't", 'uit de', 'uit den', 'uit het', 'uit t', 'uit te de', 'uit ten', 'unter', 'van', - "van 't", 'van De', 'van de', 'van de l', "van de l'", 'van den', 'van der', 'van gen', 'van het', 'van la', - 'van t', 'van ter', 'van van de', 'ver', 'vom', 'von', "von 't", 'von dem', 'von den', 'von der', 'von t', 'voor', - "voor 't", 'voor de', 'voor den', "voor in 't", 'voor in t', 'vor', 'vor der', 'zu', 'zum', 'zur', - ]; + protected static $prefix = [ + "'s", + "'t", + 'a', + 'aan', + "aan 't", + 'aan de', + 'aan den', + 'aan der', + 'aan het', + 'aan t', + 'af', + 'al', + 'am', + 'am de', + 'auf', + 'auf dem', + 'auf den', + 'auf der', + 'auf ter', + 'aus', + "aus 'm", + 'aus dem', + 'aus den', + 'aus der', + 'aus m', + 'ben', + 'bij', + "bij 't", + 'bij de', + 'bij den', + 'bij het', + 'bij t', + 'bin', + 'boven d', + "boven d'", + 'd', + "d'", + 'da', + 'dal', + 'dal’', + 'dalla', + 'das', + 'de', + 'de die', + 'de die le', + 'de l', + 'de l’', + 'de la', + 'de las', + 'de le', + 'de van der', + 'deca', + 'degli', + 'dei', + 'del', + 'della', + 'den', + 'der', + 'des', + 'di', + 'die le', + 'do', + 'don', + 'dos', + 'du', + 'el', + 'het', + 'i', + 'im', + 'in', + "in 't", + 'in de', + 'in den', + 'in der', + 'in het', + 'in t', + 'l', + 'l’', + 'la', + 'las', + 'le', + 'les', + 'lo', + 'los', + 'of', + 'onder', + "onder 't", + 'onder de', + 'onder den', + 'onder het', + 'onder t', + 'op', + "op 't", + 'op de', + 'op den', + 'op der', + 'op gen', + 'op het', + 'op t', + 'op ten', + 'over', + "over 't", + 'over de', + 'over den', + 'over het', + 'over t', + 's', + "s'", + 't', + 'te', + 'ten', + 'ter', + 'tho', + 'thoe', + 'thor', + 'to', + 'toe', + 'tot', + 'uijt', + "uijt 't", + 'uijt de', + 'uijt den', + 'uijt te de', + 'uijt ten', + 'uit', + "uit 't", + 'uit de', + 'uit den', + 'uit het', + 'uit t', + 'uit te de', + 'uit ten', + 'unter', + 'van', + "van 't", + 'van De', + 'van de', + 'van de l', + "van de l'", + 'van den', + 'van der', + 'van gen', + 'van het', + 'van la', + 'van t', + 'van ter', + 'van van de', + 'ver', + 'vom', + 'von', + "von 't", + 'von dem', + 'von den', + 'von der', + 'von t', + 'voor', + "voor 't", + 'voor de', + 'voor den', + "voor in 't", + 'voor in t', + 'vor', + 'vor der', + 'zu', + 'zum', + 'zur', + ]; - protected static $commonDutchLastNames = [ - 'de Jong', 'Jansen', 'de Vries', 'van de Berg', 'van den Berg', 'van der Berg', 'van Dijk', 'Bakker', 'Janssen', - 'Visser', 'Smit', 'Meijer', 'Meyer', 'de Boer', 'Mulder', 'de Groot', 'Bos', 'Vos', 'Peters', 'Hendriks', - 'van Leeuwen', 'Dekker', 'Brouwer', 'de Wit', 'Dijkstra', 'Smits', 'de Graaf', 'van der Meer', 'van der Linden', - 'Kok', 'Jacobs', 'de Haan', 'Vermeulen', 'van den Heuvel', 'van de Veen', 'van der Veen', 'van den Broek', - 'de Bruijn', 'de Bruyn', 'de Bruin', 'van der Heijden', 'van der Heyden', 'Schouten', 'van Beek', 'Willems', - 'van Vliet', 'van de Ven', 'van der Ven', 'Hoekstra', 'Maas', 'Verhoeven', 'Koster', 'van Dam', 'van de Wal', - 'van der Wal', 'Prins', 'Blom', 'Huisman', 'Peeters', 'de Jonge', 'Kuipers', 'van Veen', 'Post', 'Kuiper', - 'Veenstra', 'Kramer', 'van de Brink', 'van den Brink', 'Scholten', 'van Wijk', 'Postma', 'Martens', 'Vink', - 'de Ruiter', 'Timmermans', 'Groen', 'Gerritsen', 'Jonker', 'van Loon', 'Boer', 'van de Velde', 'van den Velde', - 'van der Velde', 'van de Velden', 'van den Velden', 'van der Velden', 'Willemsen', 'Smeets', 'de Lange', - 'de Vos', 'Bosch', 'van Dongen', 'Schipper', 'de Koning', 'van der Laan', 'Koning', 'Driessen', 'van Doorn', - 'Hermans', 'Evers', 'van den Bosch', 'van der Meulen', 'Hofman', 'Bosman', 'Wolters', 'Sanders', - 'van der Horst', 'Mol', 'Kuijpers', 'Molenaar', 'van de Pol', 'van den Pol', 'van der Pol', 'de Leeuw', - 'Verbeek', - ]; + protected static $commonDutchLastNames = [ + 'de Jong', + 'Jansen', + 'de Vries', + 'van de Berg', + 'van den Berg', + 'van der Berg', + 'van Dijk', + 'Bakker', + 'Janssen', + 'Visser', + 'Smit', + 'Meijer', + 'Meyer', + 'de Boer', + 'Mulder', + 'de Groot', + 'Bos', + 'Vos', + 'Peters', + 'Hendriks', + 'van Leeuwen', + 'Dekker', + 'Brouwer', + 'de Wit', + 'Dijkstra', + 'Smits', + 'de Graaf', + 'van der Meer', + 'van der Linden', + 'Kok', + 'Jacobs', + 'de Haan', + 'Vermeulen', + 'van den Heuvel', + 'van de Veen', + 'van der Veen', + 'van den Broek', + 'de Bruijn', + 'de Bruyn', + 'de Bruin', + 'van der Heijden', + 'van der Heyden', + 'Schouten', + 'van Beek', + 'Willems', + 'van Vliet', + 'van de Ven', + 'van der Ven', + 'Hoekstra', + 'Maas', + 'Verhoeven', + 'Koster', + 'van Dam', + 'van de Wal', + 'van der Wal', + 'Prins', + 'Blom', + 'Huisman', + 'Peeters', + 'de Jonge', + 'Kuipers', + 'van Veen', + 'Post', + 'Kuiper', + 'Veenstra', + 'Kramer', + 'van de Brink', + 'van den Brink', + 'Scholten', + 'van Wijk', + 'Postma', + 'Martens', + 'Vink', + 'de Ruiter', + 'Timmermans', + 'Groen', + 'Gerritsen', + 'Jonker', + 'van Loon', + 'Boer', + 'van de Velde', + 'van den Velde', + 'van der Velde', + 'van de Velden', + 'van den Velden', + 'van der Velden', + 'Willemsen', + 'Smeets', + 'de Lange', + 'de Vos', + 'Bosch', + 'van Dongen', + 'Schipper', + 'de Koning', + 'van der Laan', + 'Koning', + 'Driessen', + 'van Doorn', + 'Hermans', + 'Evers', + 'van den Bosch', + 'van der Meulen', + 'Hofman', + 'Bosman', + 'Wolters', + 'Sanders', + 'van der Horst', + 'Mol', + 'Kuijpers', + 'Molenaar', + 'van de Pol', + 'van den Pol', + 'van der Pol', + 'de Leeuw', + 'Verbeek', + ]; - protected static $dutchLastNames = [ - 'Aalts', 'Aarden', 'Aarts', 'Adelaar', 'Adriaansen', 'Adriaensdr', 'Adriaense', 'Adryaens', 'Aeije', - 'Aelftrud van Wessex', 'Aertsz', 'van Alenburg', 'van Allemanië', 'Alpaidis', 'Amalrada', 'van Amstel', - 'Ansems', 'Appelman', 'Arens', 'Arent', 'Ariens', 'Ariens Ansems', 'van Arkel', 'Arnold', 'van Arnsberg', - 'Arts', 'Aschman', 'van den Assem', 'van Asten', 'van der Avoirt', 'Bökenkamp', 'van Baalen', 'Backer', - 'de Backer', 'Barents', 'Bartels', 'Bastiaanse', 'Bastiaense', 'Bave', 'van Beaumont', 'Becht', - 'van Beeck Beeckmans', 'van Beeck', 'van Beek', 'Beekman', 'de Beer', 'Beernink', 'van Beieren', 'Beijring', - 'Bekbergen', 'Bellemans', 'Belpere', 'van Bentheim', 'Beourgeois', 'Berends', 'Berendse', 'van den Berg', - 'van Bergen', 'van den Bergh', 'van Berkel', 'van Berkum', 'Bernaards', 'van Bernicia', 'Bertho', 'Bezemer', - 'Bierstraten', 'van de Biesenbos', 'van de Biezenbos', 'Bijlsma', 'Billung', 'Blaak', 'Blees', 'Bleijenberg', - 'Blewanus', 'Bloemendaal', 'Blokland', 'Blom', 'Blonk', 'de Bock', 'Boddaugh', 'Boer', 'de Boer', 'Boers', - 'Boeser', 'Boetet', 'Bolkesteijn', 'de Bont', 'Booden', 'Boogaerts', 'Borman', 'Bos', 'Bosch', 'Boudewijns', - 'Bouhuizen', 'van Boulogne', 'Bourgondië, van', 'Bouthoorn', 'Bouwhuisen', 'van Boven', 'van Bovene', - 'van Bovenen', 'van den Brand', 'Brandon', 'Brands', 'Brandt', 'van Brenen', 'Bresé', 'Bresse', 'van Breugel', - 'Breugelensis', 'van Breukeleveen', 'van Breukelveen', 'le Briel', 'Briere', 'Brievingh', 'van den Brink', - 'van der Brink', 'Brisee', 'Brizee', 'Broeckx', 'Broeders', 'Broek', 'van den Broek', 'Broekhoven', 'Broeshart', - 'Bronder', 'Brouwer', 'van Bruchem', 'Bruggeman', 'Brugman', 'de Bruijn', 'Bruijne van der Veen', 'de Bruin', - 'Brumleve', 'van Brunswijk', 'Bruynzeels', 'Bud', 'Buijs', 'van Bunschoten', 'Butselaar', 'van Buuren', - 'den Buytelaar', 'Cadefau', 'Cammel', 'Cant', 'Carnotte', 'Charon', 'Chevresson', 'Chotzen', 'Chrodtrud', - 'Claassen', 'Claesdr', 'Claesner', 'van Clootwijck', 'Coenen', 'Coolen', 'Coret', 'Coret-Coredo', - 'Coreth von und zu Coredo und Starkenberg', 'Cornelisse', 'Cornelissen', 'Cornelisz', 'van den Corput', - 'Corstiaens', 'Cosman', 'van de Coterlet', 'Courtier', 'van Cuijck', 'van Daal', 'Dachgelder', 'Dachgeldt', - 'Dachgelt', 'van Dagsburg', 'van Dalem', 'van Dam', 'van de Darnau', 'David', 'Dekker', 'Demmendaal', - 'Dennenberg', 'die Bont', 'Diesbergen', 'van Dijk', 'Dijkman', 'van Dillen', 'Dircken', 'Dirksen', 'Dirven', - 'Doesburg', 'van Dokkum', 'van Dommelen', 'van Dongen', 'van Dooren', 'Doorhof', 'Doornhem', 'Dorsman', - 'Doyle', 'Draaisma', 'van Drenthe', 'Dries', 'Drysdale', 'Dubois', 'van Duivenvoorde', 'Duivenvoorden', - 'van Duvenvoirde', 'van Duyvenvoorde', 'die Bont', 'die Pelser', 'die Witte', 'van Eck', 'Eckhardt', 'Eelman', - 'Eerden', 'van de Eerenbeemt', 'van den Eerenbeemt', 'van Egisheim', 'Ehlert', 'Eijkelboom', 'van den Eijssel', - 'Elberts', 'Elbertse', 'Ellis', 'Elsemulder', 'Elsenaar', 'van de Elzas', 'van Embden', 'van Emmelen', 'Emmen', - 'van Engeland', 'van Engelen', 'Engels', 'van Enschot', 'Erhout', 'Ernst', 'van \'t Erve', 'van Es', 'van Este', - 'Estey', 'van Evelingen', 'Everde', 'Everts', 'Fechant', 'Feenstra', 'Feltzer', 'Ferran', 'Fiere', - 'van der Flaas', 'de la Fleche', 'Flink', 'le Floch', 'van Formbach', 'Fortuyn', 'François', 'Françoise', - 'Frankhuizen', 'Fredriks', 'Fremie', 'Frerichs', 'Freshour', 'Friehus', 'Furda', 'Galenzone', 'Galijn', - 'le Gallen', 'Garret', 'van Gastel', 'van Geenen', 'Geerling', 'Geerts', 'Geertsen', 'van Geest', 'van Geffen', - 'Geldens', 'van Gelder', 'Gellemeyer', 'Gemen', 'van Gemert', 'Geneart', 'Genefaas', 'van Gent', - 'Gepa van Bourgondië', 'Gerrits', 'Gerritse', 'Gervais', 'Ghoerle', 'van Ghoerle', 'van Gils', 'van Ginkel', - 'van Ginneke', 'Giselmeyer', 'Glasses', 'Gnodde', 'Goderts', 'Godfrey van Alemannië', 'Goedhart', 'van Goerle', - 'van Gorp', 'Goudriaan', 'Govarts', 'Goyaerts van Waderle', 'de Graaf', 'de Gratie', '\'s Gravensande', - 'van de Greef', 'Greij', 'van Grinsven', 'Groenendaal', 'Groenestein', 'Grondel', 'van Grondelle', 'de Groot', - 'Groote', 'de Grote', 'Gruijl', 'de Gruijl', 'de Gruijter', 'de Gruil', 'de Grunt', 'de Gruson', 'le Guellec', - 'Guit', 'le Gulcher', 'Höning', 'Haack', 'den Haag', 'van Haarlem', 'de Haas', 'van Haeften', 'Haengreve', - 'van Hagen', 'Hagendoorn', 'Hak', 'Hakker', 'van Ham', 'van Hamaland', 'Haneberg', 'Hanegraaff', 'Haring', - 'Haselaar', 'van Haspengouw', 'Hazenveld', 'de Heer', 'Heere', 'Heerkens', - 'Heerschop', 'Hehl', 'van der Heiden', 'van der Heijden', 'Heijman', 'Heijmans', 'Heijmen', 'Heinrichs', - 'Hekker', 'Hellevoort', 'Helmerhorst', 'van Hemert', 'Hemma', 'Hendricks', 'Hendriks', - 'Hendrikse', 'van Henegouwen', 'van den Henst', 'Heribert van Laon', "d' Heripon", - 'Hermans', 'van Herstal', 'van Heusden', 'Hexspoor', 'Heymans', 'Heyne', 'Hoedemakers', 'van den Hoek', 'Hoeks', - 'Hoelen', 'Hoes', 'van Hoevel en van Zwindrecht', 'van der Hoeven', 'van Holland', 'Hollander', 'Holthuis', - 'Hondeveld', 'Honing', 'de Hoog', 'Hoogers', 'de Hoogh', 'Hoppenbrouwer', 'Horrocks', 'van der Horst', - 'van Hostaden', 'Houdijk', "van 't Houteveen", 'Huberts', 'Huel', 'Huijben', 'Huijbrechts', 'Huijs', - 'Huijzing', 'Huisman', 'Huls', 'Hulshouts', 'Hulskes', 'Hulst', 'van Hulten', 'Huurdeman', 'van het Heerenveen', - 'Jaceps', 'Jacobi', 'Jacobs', 'Jacquot', 'de Jager', 'Jans', 'Jansdr', 'Janse', 'Jansen', 'Jansen', 'Jansse', - 'Janssen', 'Janssens', 'Jasper dr', 'Jdotte', 'Jeggij', 'Jekel', 'Jerusalem', 'Jochems', - 'Jones', 'de Jong', 'Jonkman', 'Joosten', 'Jorlink', 'Jorissen', 'van Jumiège', 'Jurrijens', 'Köster', - 'van der Kaay', 'de Kale', 'Kallen', 'Kalman', 'Kamp', 'Kamper', 'Karels', 'Kas', 'van Kasteelen', 'Kathagen', - 'Keijser', 'de Keijser', 'Keijzer', 'de Keijzer', 'Keltenie', 'van Kempen', 'Kerkhof', 'Ketel', 'Ketting', - 'der Kijnder', 'van der Kint', 'Kirpenstein', 'Kisman', 'van Klaarwater', 'van de Klashorst', 'Kleibrink', - 'Kleijse', 'Klein', 'van der Klein', 'Klerks', 'Kleybrink', 'van der Klijn', 'Klomp Jan', 'Kloppert', 'Knoers', - 'Knuf', 'Koeman', 'Kof', 'Kok', 'de Kok', 'Kolen', 'Kolster', 'de Koning', 'Konings', 'van de Kooij', 'Koret', - 'Korsman', 'Korstman', 'Kort', 'de Korte', 'Kortman', 'Kosten', 'Koster', 'Krabbe', 'Kremer', 'Kriens', - 'Kronenberg', 'Kruns', 'van Kuijc van Malsen', 'van Kuijc', 'Kuijpers', 'Kuilenburg', 'Kuit', 'Kunen', - 'van Kusen', 'Kwaadland', 'van Laar', 'van der Laar', 'van Laarhoven', 'van der Laarse', 'Labado', 'Laffray', - 'Lafleur', 'Lage', 'Lagerweij', 'Lambers', 'Lambregt', 'Lamore', 'Lamotte', 'van Landen', 'Langevoort', - 'Lankle', 'Lansink', 'van Laon', 'Lathrope', 'Latier', 'Le Grand', 'Le Marec', 'van der Lede', 'van der Leek', - 'van de Leemput', 'Leene', 'van Leeuwen', 'Leguit', 'Lelijveld', 'Lemmens', 'Lensen', 'Lether', 'van Leuven', - 'Levesque', 'van Liendert', 'Lieshout', 'Ligtvoet', 'Lijn', 'van Limburg', 'Lind', 'van der Linden', - 'Linschoten', 'Lips', 'Loep', 'Lommert', 'Lonen', 'van der Loo', 'van Loon', 'Loreal', 'Lorreijn', 'Louws', - 'Luboch', 'le Luc', 'Lucas', 'van Lucel', 'van Luin', 'van Luinenburg', 'Luitgardis van Neustrië', 'Luster', - 'Lutterveld', 'van Luxemburg', 'van Luyssel', 'van Maaren', 'Maas', 'van Maasgouw', 'Maaswinkel', - 'van der Maath', 'van der Maes', 'Mahieu', 'Mallien', 'de Man', 'Mangel', 'Manne', 'Mansveld', 'Mansvelt', - 'Marceron', 'Marchal', 'Marchand', 'de Marduras', 'van Mare', 'Martel', 'Martens', 'Massa', 'van der Mast', - 'le Matelot', 'Mater', 'Mathieu', 'Mathol', 'Mathurin', 'Matthews', 'Meeres', 'Meeusen', 'Meijer', 'Meis', - 'Melet', 'Mens', 'Mercks', 'Merckx', 'Merkx', 'van Metz', 'Meyer', 'Michiels', 'Michielsen', 'Middelkoop', - 'Mijsberg', 'van Mil', 'Miltenburg', 'Miner', 'van Mispelen', 'Moenen', 'Moensendijk', 'Moet', 'Mol', 'de Mol', - 'Molegraaf', 'Molen', 'Momberg', 'van Mook', 'Mosley', 'Mudden', 'Muijs', 'Mulder', 'Mulders', 'Muller', - 'van Munster', 'van Nederlotharingen', 'Nedermeijer', 'Nek', 'van Nes', 'Neuteboom', 'Neuzerling', 'Niermann', - 'van den Nieuwenhuijsen', 'Nieuwstraten', 'Nihoe', 'Nijman', 'de Nijs', 'van Nimwegen', 'Nollee', - 'van Noordeloos', 'Noordijk', 'van de Noordmark', 'van Noort', 'van der Noot', 'van Northeim', 'van Nus', - 'van den Nuwenhijsen', 'van den Nuwenhuijzen', 'van den Nuwenhuysen', 'van den Nyeuwenhuysen', 'van Ochten', - 'Oda', 'Oemencs', 'Oennen', 'van den Oever', 'van Oirschot', 'van Olst', 'Olthof', 'Olykan', 'van Ommeren', - 'Ooms', 'van Ooste', 'van Oosten', 'van Oostendorp', 'Oosterhek', 'Oosterhout', 'Oostveen', 'van Ooyen', - 'Opmans', 'van Opper-Lotharingen', 'van Orleans', 'Osterhoudt', 'Otte', 'Otto', 'Oude Heer', 'van Oudewater', - 'Ouwel', 'Ouwerkerk', 'Overdijk', 'Overeem', 'Oversteeg', 'Paillet', 'Palman', 'van Parijs', 'Pasman', - 'Passchiers', 'Pastoors', 'de Pauw', 'Pauwels', 'van de Pavert', 'Perck', 'Perkins', 'Peronne', 'Perrono', - 'Persijn', 'Peterse', 'Phillipsen', 'Pierson', 'Pieters', 'Pieters van der Maes', 'Pison', 'de Plantard', - 'van de Plas', 'van der Plas', 'van der Ploeg', 'van der Pluijm', 'Poncelet', 'Ponci', 'Pons', 'van Poppel', - 'Post', 'Potters', 'van der Pouw', 'van Praagh', 'Pratt', 'Prinsen', 'Puig', 'Rackham', 'Rademaker', 'Ramaker', - 'Recer', 'Recers', 'de Reede', 'Rehorst', 'Reijers', 'Reimes', 'Rek', 'Remmers', 'van Rheineck', 'Ridder', - 'Riem', 'van Riet', "van 't Riet", 'Rietveld', 'Rijcken', 'Rijks', 'Rijn', 'van Rijnsbergen', 'Rijntjes', - 'van Rijthoven', 'Rippey', 'Risma', 'Robbrechts Bruijne', 'Roessink', 'van Roijen', 'Romijn', 'de Roo', - 'Roodesteijn', 'van Rooij', 'Room', 'de Roos', 'Roose', 'Roosenboom', 'van Rossum', 'Rotteveel', 'Roukes', - 'Rousselet', 'Rouwenhorst', 'Rouwhorst', 'Rubben', 'Ruijs', 'Rutten', 'van Saksen', 'Salet', 'van Salm', - 'van Salmen', 'Sam', 'van der Sande', 'Sanders', 'van Santen', 'Sarneel', 'Sas', 'Saxo', 'Scardino', 'Schagen', - 'Schakelaar', 'Scharroo', 'Schatteleijn', 'Scheer', 'Scheffers', 'Schellekens', 'Schelvis', 'Schenk', - 'Schenkel', 'Scherms', 'van Schevinghuizen', 'Schiffer', 'Schilt', 'Schokman', 'Scholten', 'Schotte', 'Schrant', - 'Schrik', 'Schroeff', 'van der Schuijt', 'Schulten', 'Schuurmans', 'Schuylenborch', 'Schwartsbach', - 'van Schweinfurt', 'Scuylenborchs', 'Segerszoen', 'Serra', 'Sestig', 'Shupe', 'Simonis', 'Simons', 'Sire', - 'Sitters', 'Slaetsdochter', 'Slagmolen', 'Slingerland', 'van der Sloot', 'van der Smeede', 'Smit', 'de Smit', - 'Smith', 'Smits', 'van Soest', 'Soos', 'Spaan', 'van der Spaendonc', 'van der Spaendonck', 'Spanhaak', - 'Speijer', 'Spier', 'Spies', 'Spiker', 'Spreeuw', 'van Spreeuwel', 'van Spreuwel', 'Sprong', 'Spruit', 'Spruyt', - 'van der Stael de Jonge', 'van der Stael', 'Stamrood', 'Stange', 'van der Steen', 'Steenbakkers', 'Steenbeek', - 'Steinmeiern', 'Sterkman', 'Stettyn', 'Stichter', 'Stinis', 'Stoffel', 'Stoffelsz', 'Stook', 'van Straaten', - 'van Stralen', 'van der Strigt', 'de Strigter', 'Strijker', 'Strik', 'Stuivenberg', 'Suijker', 'van Suinvorde', - 'van Susa', 'de Swart', 'Symons', 'Takkelenburg', 'Tammerijn', 'Tamsma', 'Terry', 'den Teuling', 'Teunissen', - 'Texier', 'Thatcher', 'The Elder', 'Thomas', 'Thout', 'Tielemans', 'Tillmanno', 'Timmerman', 'Timmermans', - 'Tins', 'Tirie', 'Totwiller', 'van Tours', 'van Tuijl', 'Tuithof', 'Uittenbosch', 'Ulrich', - 'Uphaus', 'Uphuis', 'Uphus', 'VI', 'Vaessen', 'Vallenduuk', 'Van Bragt', 'Vandenbergh', - 'Vastenhouw', 'Veenendaal', 'Vegt', 'van der Veiver', 'Velderman', 'van Velthoven', 'Veltman', 'van Velzen', - 'van de Ven', 'van Venrooy', 'Verbeeck', 'Verbeek', 'Verboom', 'Verbruggen', 'Verda', 'van Verdun', 'Vergeer', - 'Verhaar', 'Verhagen', 'Verharen', 'Verheij', 'Verheuvel', 'Verhoeven', 'Verkade', 'van Vermandois', - 'Vermeulen', 'Verschuere', 'Verschut', 'Versluijs', 'Vertoor', 'Vertooren', 'Vervoort', 'Verwoert', 'Vial', - 'Vierdag', 'Vignon', 'van Vlaanderen', 'Volcke', 'van Voorhout', 'van Voorst', 'Voortman', 'Vos', 'Vrancken', - 'de Vries', 'de Vroege', 'de Vrome', 'ter Waarbeek', 'Waardeloo', 'van Waas', 'Wagenvoort', 'van Wallaert', - 'Walsteijn', 'Walter', 'van Wassenaar', 'van de Water', 'Weeldenburg', 'Weerdenburg', - 'Weijland', 'Weijters', 'van Wel', "van 't Wel", 'Welf', 'Wendt', 'Wensen', 'de Werd', 'Werdes', - 'van Wessex', 'Westerbeek', 'Westerburg', 'Westermann', - 'van Westfalen', 'van de Weterink', 'Wever', 'Weyland', 'Weylant', 'van Wickerode', 'van de Wiel', 'Wigman', - 'Wijland', 'van Wijland', 'Wilcken', 'Wildschut', 'Willems', 'Willems van Lier', 'Willemsen', 'Wilmont', - 'Wilson', 'Winnrich', 'Winters', 'Wipstrik', 'de Wit', 'van den Wittenboer', 'Wolffel', - 'Wolfswinkel', 'Wolters', 'Wolzak', 'Wooning', 'Woudenberg', 'Wouters', 'Wouters van Eijndhoven', 'Woutersz', - 'Wright', 'Wunderink', 'Wutke', 'Zaal', 'Zeemans', 'Zeldenrust', 'Zevenboom', 'van der Zijl', 'Zijlemans', - 'Zijlmans', 'Zuidweg', 'Zuijdveld', 'van Zwaben', 'Zwart', 'Zwijsen', - ]; + protected static $dutchLastNames = [ + 'Aalts', + 'Aarden', + 'Aarts', + 'Adelaar', + 'Adriaansen', + 'Adriaensdr', + 'Adriaense', + 'Adryaens', + 'Aeije', + 'Aelftrud van Wessex', + 'Aertsz', + 'van Alenburg', + 'van Allemanië', + 'Alpaidis', + 'Amalrada', + 'van Amstel', + 'Ansems', + 'Appelman', + 'Arens', + 'Arent', + 'Ariens', + 'Ariens Ansems', + 'van Arkel', + 'Arnold', + 'van Arnsberg', + 'Arts', + 'Aschman', + 'van den Assem', + 'van Asten', + 'van der Avoirt', + 'Bökenkamp', + 'van Baalen', + 'Backer', + 'de Backer', + 'Barents', + 'Bartels', + 'Bastiaanse', + 'Bastiaense', + 'Bave', + 'van Beaumont', + 'Becht', + 'van Beeck Beeckmans', + 'van Beeck', + 'van Beek', + 'Beekman', + 'de Beer', + 'Beernink', + 'van Beieren', + 'Beijring', + 'Bekbergen', + 'Bellemans', + 'Belpere', + 'van Bentheim', + 'Beourgeois', + 'Berends', + 'Berendse', + 'van den Berg', + 'van Bergen', + 'van den Bergh', + 'van Berkel', + 'van Berkum', + 'Bernaards', + 'van Bernicia', + 'Bertho', + 'Bezemer', + 'Bierstraten', + 'van de Biesenbos', + 'van de Biezenbos', + 'Bijlsma', + 'Billung', + 'Blaak', + 'Blees', + 'Bleijenberg', + 'Blewanus', + 'Bloemendaal', + 'Blokland', + 'Blom', + 'Blonk', + 'de Bock', + 'Boddaugh', + 'Boer', + 'de Boer', + 'Boers', + 'Boeser', + 'Boetet', + 'Bolkesteijn', + 'de Bont', + 'Booden', + 'Boogaerts', + 'Borman', + 'Bos', + 'Bosch', + 'Boudewijns', + 'Bouhuizen', + 'van Boulogne', + 'Bourgondië, van', + 'Bouthoorn', + 'Bouwhuisen', + 'van Boven', + 'van Bovene', + 'van Bovenen', + 'van den Brand', + 'Brandon', + 'Brands', + 'Brandt', + 'van Brenen', + 'Bresé', + 'Bresse', + 'van Breugel', + 'Breugelensis', + 'van Breukeleveen', + 'van Breukelveen', + 'le Briel', + 'Briere', + 'Brievingh', + 'van den Brink', + 'van der Brink', + 'Brisee', + 'Brizee', + 'Broeckx', + 'Broeders', + 'Broek', + 'van den Broek', + 'Broekhoven', + 'Broeshart', + 'Bronder', + 'Brouwer', + 'van Bruchem', + 'Bruggeman', + 'Brugman', + 'de Bruijn', + 'Bruijne van der Veen', + 'de Bruin', + 'Brumleve', + 'van Brunswijk', + 'Bruynzeels', + 'Bud', + 'Buijs', + 'van Bunschoten', + 'Butselaar', + 'van Buuren', + 'den Buytelaar', + 'Cadefau', + 'Cammel', + 'Cant', + 'Carnotte', + 'Charon', + 'Chevresson', + 'Chotzen', + 'Chrodtrud', + 'Claassen', + 'Claesdr', + 'Claesner', + 'van Clootwijck', + 'Coenen', + 'Coolen', + 'Coret', + 'Coret-Coredo', + 'Coreth von und zu Coredo und Starkenberg', + 'Cornelisse', + 'Cornelissen', + 'Cornelisz', + 'van den Corput', + 'Corstiaens', + 'Cosman', + 'van de Coterlet', + 'Courtier', + 'van Cuijck', + 'van Daal', + 'Dachgelder', + 'Dachgeldt', + 'Dachgelt', + 'van Dagsburg', + 'van Dalem', + 'van Dam', + 'van de Darnau', + 'David', + 'Dekker', + 'Demmendaal', + 'Dennenberg', + 'die Bont', + 'Diesbergen', + 'van Dijk', + 'Dijkman', + 'van Dillen', + 'Dircken', + 'Dirksen', + 'Dirven', + 'Doesburg', + 'van Dokkum', + 'van Dommelen', + 'van Dongen', + 'van Dooren', + 'Doorhof', + 'Doornhem', + 'Dorsman', + 'Doyle', + 'Draaisma', + 'van Drenthe', + 'Dries', + 'Drysdale', + 'Dubois', + 'van Duivenvoorde', + 'Duivenvoorden', + 'van Duvenvoirde', + 'van Duyvenvoorde', + 'die Bont', + 'die Pelser', + 'die Witte', + 'van Eck', + 'Eckhardt', + 'Eelman', + 'Eerden', + 'van de Eerenbeemt', + 'van den Eerenbeemt', + 'van Egisheim', + 'Ehlert', + 'Eijkelboom', + 'van den Eijssel', + 'Elberts', + 'Elbertse', + 'Ellis', + 'Elsemulder', + 'Elsenaar', + 'van de Elzas', + 'van Embden', + 'van Emmelen', + 'Emmen', + 'van Engeland', + 'van Engelen', + 'Engels', + 'van Enschot', + 'Erhout', + 'Ernst', + 'van \'t Erve', + 'van Es', + 'van Este', + 'Estey', + 'van Evelingen', + 'Everde', + 'Everts', + 'Fechant', + 'Feenstra', + 'Feltzer', + 'Ferran', + 'Fiere', + 'van der Flaas', + 'de la Fleche', + 'Flink', + 'le Floch', + 'van Formbach', + 'Fortuyn', + 'François', + 'Françoise', + 'Frankhuizen', + 'Fredriks', + 'Fremie', + 'Frerichs', + 'Freshour', + 'Friehus', + 'Furda', + 'Galenzone', + 'Galijn', + 'le Gallen', + 'Garret', + 'van Gastel', + 'van Geenen', + 'Geerling', + 'Geerts', + 'Geertsen', + 'van Geest', + 'van Geffen', + 'Geldens', + 'van Gelder', + 'Gellemeyer', + 'Gemen', + 'van Gemert', + 'Geneart', + 'Genefaas', + 'van Gent', + 'Gepa van Bourgondië', + 'Gerrits', + 'Gerritse', + 'Gervais', + 'Ghoerle', + 'van Ghoerle', + 'van Gils', + 'van Ginkel', + 'van Ginneke', + 'Giselmeyer', + 'Glasses', + 'Gnodde', + 'Goderts', + 'Godfrey van Alemannië', + 'Goedhart', + 'van Goerle', + 'van Gorp', + 'Goudriaan', + 'Govarts', + 'Goyaerts van Waderle', + 'de Graaf', + 'de Gratie', + '\'s Gravensande', + 'van de Greef', + 'Greij', + 'van Grinsven', + 'Groenendaal', + 'Groenestein', + 'Grondel', + 'van Grondelle', + 'de Groot', + 'Groote', + 'de Grote', + 'Gruijl', + 'de Gruijl', + 'de Gruijter', + 'de Gruil', + 'de Grunt', + 'de Gruson', + 'le Guellec', + 'Guit', + 'le Gulcher', + 'Höning', + 'Haack', + 'den Haag', + 'van Haarlem', + 'de Haas', + 'van Haeften', + 'Haengreve', + 'van Hagen', + 'Hagendoorn', + 'Hak', + 'Hakker', + 'van Ham', + 'van Hamaland', + 'Haneberg', + 'Hanegraaff', + 'Haring', + 'Haselaar', + 'van Haspengouw', + 'Hazenveld', + 'de Heer', + 'Heere', + 'Heerkens', + 'Heerschop', + 'Hehl', + 'van der Heiden', + 'van der Heijden', + 'Heijman', + 'Heijmans', + 'Heijmen', + 'Heinrichs', + 'Hekker', + 'Hellevoort', + 'Helmerhorst', + 'van Hemert', + 'Hemma', + 'Hendricks', + 'Hendriks', + 'Hendrikse', + 'van Henegouwen', + 'van den Henst', + 'Heribert van Laon', + "d' Heripon", + 'Hermans', + 'van Herstal', + 'van Heusden', + 'Hexspoor', + 'Heymans', + 'Heyne', + 'Hoedemakers', + 'van den Hoek', + 'Hoeks', + 'Hoelen', + 'Hoes', + 'van Hoevel en van Zwindrecht', + 'van der Hoeven', + 'van Holland', + 'Hollander', + 'Holthuis', + 'Hondeveld', + 'Honing', + 'de Hoog', + 'Hoogers', + 'de Hoogh', + 'Hoppenbrouwer', + 'Horrocks', + 'van der Horst', + 'van Hostaden', + 'Houdijk', + "van 't Houteveen", + 'Huberts', + 'Huel', + 'Huijben', + 'Huijbrechts', + 'Huijs', + 'Huijzing', + 'Huisman', + 'Huls', + 'Hulshouts', + 'Hulskes', + 'Hulst', + 'van Hulten', + 'Huurdeman', + 'van het Heerenveen', + 'Jaceps', + 'Jacobi', + 'Jacobs', + 'Jacquot', + 'de Jager', + 'Jans', + 'Jansdr', + 'Janse', + 'Jansen', + 'Jansen', + 'Jansse', + 'Janssen', + 'Janssens', + 'Jasper dr', + 'Jdotte', + 'Jeggij', + 'Jekel', + 'Jerusalem', + 'Jochems', + 'Jones', + 'de Jong', + 'Jonkman', + 'Joosten', + 'Jorlink', + 'Jorissen', + 'van Jumiège', + 'Jurrijens', + 'Köster', + 'van der Kaay', + 'de Kale', + 'Kallen', + 'Kalman', + 'Kamp', + 'Kamper', + 'Karels', + 'Kas', + 'van Kasteelen', + 'Kathagen', + 'Keijser', + 'de Keijser', + 'Keijzer', + 'de Keijzer', + 'Keltenie', + 'van Kempen', + 'Kerkhof', + 'Ketel', + 'Ketting', + 'der Kijnder', + 'van der Kint', + 'Kirpenstein', + 'Kisman', + 'van Klaarwater', + 'van de Klashorst', + 'Kleibrink', + 'Kleijse', + 'Klein', + 'van der Klein', + 'Klerks', + 'Kleybrink', + 'van der Klijn', + 'Klomp Jan', + 'Kloppert', + 'Knoers', + 'Knuf', + 'Koeman', + 'Kof', + 'Kok', + 'de Kok', + 'Kolen', + 'Kolster', + 'de Koning', + 'Konings', + 'van de Kooij', + 'Koret', + 'Korsman', + 'Korstman', + 'Kort', + 'de Korte', + 'Kortman', + 'Kosten', + 'Koster', + 'Krabbe', + 'Kremer', + 'Kriens', + 'Kronenberg', + 'Kruns', + 'van Kuijc van Malsen', + 'van Kuijc', + 'Kuijpers', + 'Kuilenburg', + 'Kuit', + 'Kunen', + 'van Kusen', + 'Kwaadland', + 'van Laar', + 'van der Laar', + 'van Laarhoven', + 'van der Laarse', + 'Labado', + 'Laffray', + 'Lafleur', + 'Lage', + 'Lagerweij', + 'Lambers', + 'Lambregt', + 'Lamore', + 'Lamotte', + 'van Landen', + 'Langevoort', + 'Lankle', + 'Lansink', + 'van Laon', + 'Lathrope', + 'Latier', + 'Le Grand', + 'Le Marec', + 'van der Lede', + 'van der Leek', + 'van de Leemput', + 'Leene', + 'van Leeuwen', + 'Leguit', + 'Lelijveld', + 'Lemmens', + 'Lensen', + 'Lether', + 'van Leuven', + 'Levesque', + 'van Liendert', + 'Lieshout', + 'Ligtvoet', + 'Lijn', + 'van Limburg', + 'Lind', + 'van der Linden', + 'Linschoten', + 'Lips', + 'Loep', + 'Lommert', + 'Lonen', + 'van der Loo', + 'van Loon', + 'Loreal', + 'Lorreijn', + 'Louws', + 'Luboch', + 'le Luc', + 'Lucas', + 'van Lucel', + 'van Luin', + 'van Luinenburg', + 'Luitgardis van Neustrië', + 'Luster', + 'Lutterveld', + 'van Luxemburg', + 'van Luyssel', + 'van Maaren', + 'Maas', + 'van Maasgouw', + 'Maaswinkel', + 'van der Maath', + 'van der Maes', + 'Mahieu', + 'Mallien', + 'de Man', + 'Mangel', + 'Manne', + 'Mansveld', + 'Mansvelt', + 'Marceron', + 'Marchal', + 'Marchand', + 'de Marduras', + 'van Mare', + 'Martel', + 'Martens', + 'Massa', + 'van der Mast', + 'le Matelot', + 'Mater', + 'Mathieu', + 'Mathol', + 'Mathurin', + 'Matthews', + 'Meeres', + 'Meeusen', + 'Meijer', + 'Meis', + 'Melet', + 'Mens', + 'Mercks', + 'Merckx', + 'Merkx', + 'van Metz', + 'Meyer', + 'Michiels', + 'Michielsen', + 'Middelkoop', + 'Mijsberg', + 'van Mil', + 'Miltenburg', + 'Miner', + 'van Mispelen', + 'Moenen', + 'Moensendijk', + 'Moet', + 'Mol', + 'de Mol', + 'Molegraaf', + 'Molen', + 'Momberg', + 'van Mook', + 'Mosley', + 'Mudden', + 'Muijs', + 'Mulder', + 'Mulders', + 'Muller', + 'van Munster', + 'van Nederlotharingen', + 'Nedermeijer', + 'Nek', + 'van Nes', + 'Neuteboom', + 'Neuzerling', + 'Niermann', + 'van den Nieuwenhuijsen', + 'Nieuwstraten', + 'Nihoe', + 'Nijman', + 'de Nijs', + 'van Nimwegen', + 'Nollee', + 'van Noordeloos', + 'Noordijk', + 'van de Noordmark', + 'van Noort', + 'van der Noot', + 'van Northeim', + 'van Nus', + 'van den Nuwenhijsen', + 'van den Nuwenhuijzen', + 'van den Nuwenhuysen', + 'van den Nyeuwenhuysen', + 'van Ochten', + 'Oda', + 'Oemencs', + 'Oennen', + 'van den Oever', + 'van Oirschot', + 'van Olst', + 'Olthof', + 'Olykan', + 'van Ommeren', + 'Ooms', + 'van Ooste', + 'van Oosten', + 'van Oostendorp', + 'Oosterhek', + 'Oosterhout', + 'Oostveen', + 'van Ooyen', + 'Opmans', + 'van Opper-Lotharingen', + 'van Orleans', + 'Osterhoudt', + 'Otte', + 'Otto', + 'Oude Heer', + 'van Oudewater', + 'Ouwel', + 'Ouwerkerk', + 'Overdijk', + 'Overeem', + 'Oversteeg', + 'Paillet', + 'Palman', + 'van Parijs', + 'Pasman', + 'Passchiers', + 'Pastoors', + 'de Pauw', + 'Pauwels', + 'van de Pavert', + 'Perck', + 'Perkins', + 'Peronne', + 'Perrono', + 'Persijn', + 'Peterse', + 'Phillipsen', + 'Pierson', + 'Pieters', + 'Pieters van der Maes', + 'Pison', + 'de Plantard', + 'van de Plas', + 'van der Plas', + 'van der Ploeg', + 'van der Pluijm', + 'Poncelet', + 'Ponci', + 'Pons', + 'van Poppel', + 'Post', + 'Potters', + 'van der Pouw', + 'van Praagh', + 'Pratt', + 'Prinsen', + 'Puig', + 'Rackham', + 'Rademaker', + 'Ramaker', + 'Recer', + 'Recers', + 'de Reede', + 'Rehorst', + 'Reijers', + 'Reimes', + 'Rek', + 'Remmers', + 'van Rheineck', + 'Ridder', + 'Riem', + 'van Riet', + "van 't Riet", + 'Rietveld', + 'Rijcken', + 'Rijks', + 'Rijn', + 'van Rijnsbergen', + 'Rijntjes', + 'van Rijthoven', + 'Rippey', + 'Risma', + 'Robbrechts Bruijne', + 'Roessink', + 'van Roijen', + 'Romijn', + 'de Roo', + 'Roodesteijn', + 'van Rooij', + 'Room', + 'de Roos', + 'Roose', + 'Roosenboom', + 'van Rossum', + 'Rotteveel', + 'Roukes', + 'Rousselet', + 'Rouwenhorst', + 'Rouwhorst', + 'Rubben', + 'Ruijs', + 'Rutten', + 'van Saksen', + 'Salet', + 'van Salm', + 'van Salmen', + 'Sam', + 'van der Sande', + 'Sanders', + 'van Santen', + 'Sarneel', + 'Sas', + 'Saxo', + 'Scardino', + 'Schagen', + 'Schakelaar', + 'Scharroo', + 'Schatteleijn', + 'Scheer', + 'Scheffers', + 'Schellekens', + 'Schelvis', + 'Schenk', + 'Schenkel', + 'Scherms', + 'van Schevinghuizen', + 'Schiffer', + 'Schilt', + 'Schokman', + 'Scholten', + 'Schotte', + 'Schrant', + 'Schrik', + 'Schroeff', + 'van der Schuijt', + 'Schulten', + 'Schuurmans', + 'Schuylenborch', + 'Schwartsbach', + 'van Schweinfurt', + 'Scuylenborchs', + 'Segerszoen', + 'Serra', + 'Sestig', + 'Shupe', + 'Simonis', + 'Simons', + 'Sire', + 'Sitters', + 'Slaetsdochter', + 'Slagmolen', + 'Slingerland', + 'van der Sloot', + 'van der Smeede', + 'Smit', + 'de Smit', + 'Smith', + 'Smits', + 'van Soest', + 'Soos', + 'Spaan', + 'van der Spaendonc', + 'van der Spaendonck', + 'Spanhaak', + 'Speijer', + 'Spier', + 'Spies', + 'Spiker', + 'Spreeuw', + 'van Spreeuwel', + 'van Spreuwel', + 'Sprong', + 'Spruit', + 'Spruyt', + 'van der Stael de Jonge', + 'van der Stael', + 'Stamrood', + 'Stange', + 'van der Steen', + 'Steenbakkers', + 'Steenbeek', + 'Steinmeiern', + 'Sterkman', + 'Stettyn', + 'Stichter', + 'Stinis', + 'Stoffel', + 'Stoffelsz', + 'Stook', + 'van Straaten', + 'van Stralen', + 'van der Strigt', + 'de Strigter', + 'Strijker', + 'Strik', + 'Stuivenberg', + 'Suijker', + 'van Suinvorde', + 'van Susa', + 'de Swart', + 'Symons', + 'Takkelenburg', + 'Tammerijn', + 'Tamsma', + 'Terry', + 'den Teuling', + 'Teunissen', + 'Texier', + 'Thatcher', + 'The Elder', + 'Thomas', + 'Thout', + 'Tielemans', + 'Tillmanno', + 'Timmerman', + 'Timmermans', + 'Tins', + 'Tirie', + 'Totwiller', + 'van Tours', + 'van Tuijl', + 'Tuithof', + 'Uittenbosch', + 'Ulrich', + 'Uphaus', + 'Uphuis', + 'Uphus', + 'VI', + 'Vaessen', + 'Vallenduuk', + 'Van Bragt', + 'Vandenbergh', + 'Vastenhouw', + 'Veenendaal', + 'Vegt', + 'van der Veiver', + 'Velderman', + 'van Velthoven', + 'Veltman', + 'van Velzen', + 'van de Ven', + 'van Venrooy', + 'Verbeeck', + 'Verbeek', + 'Verboom', + 'Verbruggen', + 'Verda', + 'van Verdun', + 'Vergeer', + 'Verhaar', + 'Verhagen', + 'Verharen', + 'Verheij', + 'Verheuvel', + 'Verhoeven', + 'Verkade', + 'van Vermandois', + 'Vermeulen', + 'Verschuere', + 'Verschut', + 'Versluijs', + 'Vertoor', + 'Vertooren', + 'Vervoort', + 'Verwoert', + 'Vial', + 'Vierdag', + 'Vignon', + 'van Vlaanderen', + 'Volcke', + 'van Voorhout', + 'van Voorst', + 'Voortman', + 'Vos', + 'Vrancken', + 'de Vries', + 'de Vroege', + 'de Vrome', + 'ter Waarbeek', + 'Waardeloo', + 'van Waas', + 'Wagenvoort', + 'van Wallaert', + 'Walsteijn', + 'Walter', + 'van Wassenaar', + 'van de Water', + 'Weeldenburg', + 'Weerdenburg', + 'Weijland', + 'Weijters', + 'van Wel', + "van 't Wel", + 'Welf', + 'Wendt', + 'Wensen', + 'de Werd', + 'Werdes', + 'van Wessex', + 'Westerbeek', + 'Westerburg', + 'Westermann', + 'van Westfalen', + 'van de Weterink', + 'Wever', + 'Weyland', + 'Weylant', + 'van Wickerode', + 'van de Wiel', + 'Wigman', + 'Wijland', + 'van Wijland', + 'Wilcken', + 'Wildschut', + 'Willems', + 'Willems van Lier', + 'Willemsen', + 'Wilmont', + 'Wilson', + 'Winnrich', + 'Winters', + 'Wipstrik', + 'de Wit', + 'van den Wittenboer', + 'Wolffel', + 'Wolfswinkel', + 'Wolters', + 'Wolzak', + 'Wooning', + 'Woudenberg', + 'Wouters', + 'Wouters van Eijndhoven', + 'Woutersz', + 'Wright', + 'Wunderink', + 'Wutke', + 'Zaal', + 'Zeemans', + 'Zeldenrust', + 'Zevenboom', + 'van der Zijl', + 'Zijlemans', + 'Zijlmans', + 'Zuidweg', + 'Zuijdveld', + 'van Zwaben', + 'Zwart', + 'Zwijsen', + ]; - protected static $commonForeignLastNames = [ - 'Yilmaz', 'Nguyen', 'Ali', 'Mohamed', 'Yildiz', 'Yildirim', 'Öztürk', 'Demir', 'Hassan', 'Şahin', 'Aydin', - 'Özdemir', 'Çelik', 'Kiliç', 'Arslan', 'Dogan', 'Tran', 'Abdi', 'Aslan', 'Hussein', 'Koç', 'Özcan', 'Hussain', - 'Kurt', 'Pham', 'Autar', 'Polat', 'Korkmaz', 'Le', 'Çetin', 'Koçak', 'Said', 'Ünal', 'Bulut', 'Ramautar', - 'Simsek', 'Ismail', 'Ramcharan', 'Mahabier', 'Kalloe', 'Zhang', 'Özkan', 'Sahin', 'Farah', 'Mohammad', 'Yüksel', - 'Demirci', 'Kanhai', 'Çakir', 'Karaca', 'Can', 'Keskin', 'dos Santos', 'Uzun', 'Winklaar', 'Sardjoe', 'Lopes', - 'Erdoğan', 'Loukili', 'Tekin', 'Ramlal', 'Yavuz', 'Sambo', 'Coşkun', 'Yalçin', 'Biharie', 'Köse', 'Dogan', - 'Aktaş', 'Avci', 'Uysal', 'Badal', 'Bozkurt', 'Ramos', 'Moussaoui', 'Akin', 'Özer', 'Malik', 'Sital', - 'El Idrissi', 'Aziz', 'Demirel', 'Henriquez', 'Janga', 'Hooi', 'Geerman', 'Güler', 'Aksoy', 'Soekhoe', 'Turan', - 'Güneş', 'Narain', 'Ahmadi', 'Esajas', 'Zhou', 'Tahiri', 'Çiçek', 'Mohan', 'Cicilia', 'Mangal', - ]; + protected static $commonForeignLastNames = [ + 'Yilmaz', + 'Nguyen', + 'Ali', + 'Mohamed', + 'Yildiz', + 'Yildirim', + 'Öztürk', + 'Demir', + 'Hassan', + 'Şahin', + 'Aydin', + 'Özdemir', + 'Çelik', + 'Kiliç', + 'Arslan', + 'Dogan', + 'Tran', + 'Abdi', + 'Aslan', + 'Hussein', + 'Koç', + 'Özcan', + 'Hussain', + 'Kurt', + 'Pham', + 'Autar', + 'Polat', + 'Korkmaz', + 'Le', + 'Çetin', + 'Koçak', + 'Said', + 'Ünal', + 'Bulut', + 'Ramautar', + 'Simsek', + 'Ismail', + 'Ramcharan', + 'Mahabier', + 'Kalloe', + 'Zhang', + 'Özkan', + 'Sahin', + 'Farah', + 'Mohammad', + 'Yüksel', + 'Demirci', + 'Kanhai', + 'Çakir', + 'Karaca', + 'Can', + 'Keskin', + 'dos Santos', + 'Uzun', + 'Winklaar', + 'Sardjoe', + 'Lopes', + 'Erdoğan', + 'Loukili', + 'Tekin', + 'Ramlal', + 'Yavuz', + 'Sambo', + 'Coşkun', + 'Yalçin', + 'Biharie', + 'Köse', + 'Dogan', + 'Aktaş', + 'Avci', + 'Uysal', + 'Badal', + 'Bozkurt', + 'Ramos', + 'Moussaoui', + 'Akin', + 'Özer', + 'Malik', + 'Sital', + 'El Idrissi', + 'Aziz', + 'Demirel', + 'Henriquez', + 'Janga', + 'Hooi', + 'Geerman', + 'Güler', + 'Aksoy', + 'Soekhoe', + 'Turan', + 'Güneş', + 'Narain', + 'Ahmadi', + 'Esajas', + 'Zhou', + 'Tahiri', + 'Çiçek', + 'Mohan', + 'Cicilia', + 'Mangal', + ]; - protected static $longLastNames = [ - 'Albinus genaamd Weiss von Weissenlöw', "van Bol'es Rijnbende", 'Doris Bin Sijlvanus', - 'Douglas tot Springwoodpark', 'Dubbeldemuts van der Sluys', 'Duhme auf der Heide sive Heydahrens', - 'Elsjan of Wipper', "de la Fontaine und d'Harnoncourt Unverzagt", 'Franse Storm', 'von Frijtag Drabbe Künzel', - 'Gansneb genaamd Tengnagel tot Bonkenhave', 'Grinwis Plaat Stuitjes', "von Heinrich d'Omóróvicza", - 'van Hugenpoth tot den Berenclauw', 'Jansz Muskus te Pasque', 'Kijk in de Vegte', 'Kleine Pier', 'Koning Knol', - 'Martena van Burmania Vegilin van Claerbergen', 'Paspoort van Grijpskerke en Poppendamme', - 'de Pruyssenaere de la Woestijne', 'Rahajoe genaamd en geschreven ten Kate', 'de la Rive Box', - 'Spiegelmaker Spanjaard', 'Spring in ‘t Veld', 'Vos Specht', 'Vroeg in de Wei', 'Zowran von Ranzow', - 'Zuérius Boxhorn van Miggrode', 'Zum Vörde Sive Vörding', - ]; + protected static $longLastNames = [ + 'Albinus genaamd Weiss von Weissenlöw', + "van Bol'es Rijnbende", + 'Doris Bin Sijlvanus', + 'Douglas tot Springwoodpark', + 'Dubbeldemuts van der Sluys', + 'Duhme auf der Heide sive Heydahrens', + 'Elsjan of Wipper', + "de la Fontaine und d'Harnoncourt Unverzagt", + 'Franse Storm', + 'von Frijtag Drabbe Künzel', + 'Gansneb genaamd Tengnagel tot Bonkenhave', + 'Grinwis Plaat Stuitjes', + "von Heinrich d'Omóróvicza", + 'van Hugenpoth tot den Berenclauw', + 'Jansz Muskus te Pasque', + 'Kijk in de Vegte', + 'Kleine Pier', + 'Koning Knol', + 'Martena van Burmania Vegilin van Claerbergen', + 'Paspoort van Grijpskerke en Poppendamme', + 'de Pruyssenaere de la Woestijne', + 'Rahajoe genaamd en geschreven ten Kate', + 'de la Rive Box', + 'Spiegelmaker Spanjaard', + 'Spring in ‘t Veld', + 'Vos Specht', + 'Vroeg in de Wei', + 'Zowran von Ranzow', + 'Zuérius Boxhorn van Miggrode', + 'Zum Vörde Sive Vörding', + ]; - protected static $firstNameFemale = [ - 'Emma', 'Sophie', 'Julia', 'Anna', 'Lisa', 'Isa', 'Eva', 'Saar', 'Lotte', 'Tess', 'Lynn', 'Fleur', 'Sara', - 'Lieke', 'Noa', 'Fenna', 'Sarah', 'Mila', 'Sanne', 'Roos', 'Elin', 'Zoë', 'Evi', 'Maud', 'Jasmijn', 'Femke', - 'Nina', 'Anne', 'Noor', 'Amy', 'Sofie', 'Olivia', 'Feline', 'Liv', 'Esmee', 'Nora', 'Iris', 'Lina', 'Luna', - 'Naomi', 'Elise', 'Amber', 'Yara', 'Charlotte', 'Lana', 'Milou', 'Isabel', 'Isabella', 'Eline', 'Floor', 'Lara', - 'Anouk', 'Fenne', 'Vera', 'Nikki', 'Loïs', 'Liz', 'Maria', 'Tessa', 'Jill', 'Laura', 'Puck', 'Sophia', 'Hannah', - 'Evy', 'Lizzy', 'Fay', 'Veerle', 'Bente', 'Nienke', 'Linde', 'Romy', 'Senna', 'Isis', 'Bo', 'Sterre', 'Benthe', - 'Lauren', 'Julie', 'Norah', 'Merel', 'Ilse', 'Marit', 'Nova', 'Rosalie', 'Lena', 'Fiene', 'Lise', 'Demi', - 'Johanna', 'Suze', 'Vajèn', 'Ella', 'Mirthe', 'Lola', 'Indy', 'Emily', 'Kiki', 'Sofia', 'Isabelle', 'Myrthe', - 'Yfke', 'Jade', 'Cato', 'Lize', 'Danique', 'Guusje', 'Elisa', 'Esmée', 'Elena', 'Rosa', 'Suus', 'Fien', 'Britt', - 'Quinty', 'Robin', 'Hanna', 'Elisabeth', 'Silke', 'Pien', 'Amira', 'Elize', 'Faye', 'Hailey', 'Madelief', 'Aya', - 'Louise', 'Meike', 'Elif', 'Jaylinn', 'Daphne', 'Lily', 'Liza', 'Juul', 'Lieve', 'Valerie', 'Josephine', 'Mara', - 'Sam', 'Kate', 'Jolie', 'Phileine', 'Ise', 'Amélie', 'Cornelia', 'Dewi', 'Livia', 'Stella', 'Mia', 'Noortje', - 'Ashley', 'Janne', 'Alicia', 'Ivy', 'Janna', 'Nynke', 'Kaylee', 'Lisanne', 'Azra', 'Maartje', 'Megan', 'Jet', - 'Victoria', 'Kayleigh', 'Floortje', 'Chloë', 'Pleun', 'Alyssa', 'Jennifer', 'Mare', 'Renske', 'Aimée', - 'Juliette', 'Kim', 'Fem', 'Mette', 'Dina', 'Tara', 'Michelle', 'Esther', 'Jenna', 'Lot', 'Elizabeth', 'Merle', - 'Dana', 'Eliza', 'Karlijn', 'Bibi', 'Melissa', 'Yasmin', 'Annabel', 'Carlijn', 'Imke', 'Evie', 'Fabiënne', - 'Linn', 'Zeynep', 'Kyra', 'Aylin', 'Zara', 'Lois', 'Zoey', 'Ceylin', 'Chloé', 'Joëlle', 'Joy', 'Noëlle', - 'Féline', 'Yasmine', 'Evelien', 'Ize', 'Mirte', 'Ninthe', 'Ecrin', 'Kyara', 'Maya', 'Nisa', 'Leah', 'Maryam', - 'Angelina', 'Catharina', 'Lindsey', 'Loes', 'Yinthe', 'Sienna', 'Adriana', 'Esila', 'Jente', 'Lizz', 'Lucy', - 'Nadine', 'Selina', 'Fatima', 'Maaike', 'Aaliyah', 'Amina', 'Inaya', 'Selena', 'Frederique', 'Pippa', 'Puk', - 'Sylvie', 'Annemijn', 'Helena', 'Jayda', 'Nadia', 'Amelia', 'Jinthe', 'Jolijn', 'Maja', 'Tirza', - ]; + protected static $firstNameFemale = [ + 'Emma', + 'Sophie', + 'Julia', + 'Anna', + 'Lisa', + 'Isa', + 'Eva', + 'Saar', + 'Lotte', + 'Tess', + 'Lynn', + 'Fleur', + 'Sara', + 'Lieke', + 'Noa', + 'Fenna', + 'Sarah', + 'Mila', + 'Sanne', + 'Roos', + 'Elin', + 'Zoë', + 'Evi', + 'Maud', + 'Jasmijn', + 'Femke', + 'Nina', + 'Anne', + 'Noor', + 'Amy', + 'Sofie', + 'Olivia', + 'Feline', + 'Liv', + 'Esmee', + 'Nora', + 'Iris', + 'Lina', + 'Luna', + 'Naomi', + 'Elise', + 'Amber', + 'Yara', + 'Charlotte', + 'Lana', + 'Milou', + 'Isabel', + 'Isabella', + 'Eline', + 'Floor', + 'Lara', + 'Anouk', + 'Fenne', + 'Vera', + 'Nikki', + 'Loïs', + 'Liz', + 'Maria', + 'Tessa', + 'Jill', + 'Laura', + 'Puck', + 'Sophia', + 'Hannah', + 'Evy', + 'Lizzy', + 'Fay', + 'Veerle', + 'Bente', + 'Nienke', + 'Linde', + 'Romy', + 'Senna', + 'Isis', + 'Bo', + 'Sterre', + 'Benthe', + 'Lauren', + 'Julie', + 'Norah', + 'Merel', + 'Ilse', + 'Marit', + 'Nova', + 'Rosalie', + 'Lena', + 'Fiene', + 'Lise', + 'Demi', + 'Johanna', + 'Suze', + 'Vajèn', + 'Ella', + 'Mirthe', + 'Lola', + 'Indy', + 'Emily', + 'Kiki', + 'Sofia', + 'Isabelle', + 'Myrthe', + 'Yfke', + 'Jade', + 'Cato', + 'Lize', + 'Danique', + 'Guusje', + 'Elisa', + 'Esmée', + 'Elena', + 'Rosa', + 'Suus', + 'Fien', + 'Britt', + 'Quinty', + 'Robin', + 'Hanna', + 'Elisabeth', + 'Silke', + 'Pien', + 'Amira', + 'Elize', + 'Faye', + 'Hailey', + 'Madelief', + 'Aya', + 'Louise', + 'Meike', + 'Elif', + 'Jaylinn', + 'Daphne', + 'Lily', + 'Liza', + 'Juul', + 'Lieve', + 'Valerie', + 'Josephine', + 'Mara', + 'Sam', + 'Kate', + 'Jolie', + 'Phileine', + 'Ise', + 'Amélie', + 'Cornelia', + 'Dewi', + 'Livia', + 'Stella', + 'Mia', + 'Noortje', + 'Ashley', + 'Janne', + 'Alicia', + 'Ivy', + 'Janna', + 'Nynke', + 'Kaylee', + 'Lisanne', + 'Azra', + 'Maartje', + 'Megan', + 'Jet', + 'Victoria', + 'Kayleigh', + 'Floortje', + 'Chloë', + 'Pleun', + 'Alyssa', + 'Jennifer', + 'Mare', + 'Renske', + 'Aimée', + 'Juliette', + 'Kim', + 'Fem', + 'Mette', + 'Dina', + 'Tara', + 'Michelle', + 'Esther', + 'Jenna', + 'Lot', + 'Elizabeth', + 'Merle', + 'Dana', + 'Eliza', + 'Karlijn', + 'Bibi', + 'Melissa', + 'Yasmin', + 'Annabel', + 'Carlijn', + 'Imke', + 'Evie', + 'Fabiënne', + 'Linn', + 'Zeynep', + 'Kyra', + 'Aylin', + 'Zara', + 'Lois', + 'Zoey', + 'Ceylin', + 'Chloé', + 'Joëlle', + 'Joy', + 'Noëlle', + 'Féline', + 'Yasmine', + 'Evelien', + 'Ize', + 'Mirte', + 'Ninthe', + 'Ecrin', + 'Kyara', + 'Maya', + 'Nisa', + 'Leah', + 'Maryam', + 'Angelina', + 'Catharina', + 'Lindsey', + 'Loes', + 'Yinthe', + 'Sienna', + 'Adriana', + 'Esila', + 'Jente', + 'Lizz', + 'Lucy', + 'Nadine', + 'Selina', + 'Fatima', + 'Maaike', + 'Aaliyah', + 'Amina', + 'Inaya', + 'Selena', + 'Frederique', + 'Pippa', + 'Puk', + 'Sylvie', + 'Annemijn', + 'Helena', + 'Jayda', + 'Nadia', + 'Amelia', + 'Jinthe', + 'Jolijn', + 'Maja', + 'Tirza', + ]; - protected static $firstNameMale = [ - 'Daan', 'Bram', 'Sem', 'Lucas', 'Milan', 'Levi', 'Luuk', 'Thijs', 'Jayden', 'Tim', 'Finn', 'Stijn', 'Thomas', - 'Lars', 'Ruben', 'Jesse', 'Noah', 'Julian', 'Max', 'Liam', 'Mees', 'Sam', 'Sven', 'Gijs', 'Luca', 'Teun', - 'Tijn', 'Siem', 'Mats', 'Jens', 'Benjamin', 'Adam', 'Ryan', 'Jan', 'Floris', 'David', 'Olivier', 'Cas', 'Tygo', - 'Dylan', 'Ties', 'Tom', 'Pepijn', 'Daniël', 'Hugo', 'Thijmen', 'Dean', 'Boaz', 'Jasper', 'Nick', 'Willem', - 'Roan', 'Dex', 'Niels', 'Guus', 'Stan', 'Koen', 'Mohamed', 'Joep', 'Johannes', 'Jurre', 'Pim', 'Niek', 'Robin', - 'Bas', 'Rayan', 'Damian', 'Jelle', 'Noud', 'Pieter', 'Vince', 'Dani', 'Joris', 'Jason', 'Timo', 'Mick', - 'Quinten', 'Joshua', 'Simon', 'Tobias', 'Kyan', 'Hidde', 'Mohammed', 'Jack', 'Quinn', 'Rens', 'Samuel', - 'Alexander', 'Hendrik', 'Xavi', 'Joey', 'Fabian', 'Justin', 'Keano', 'Cornelis', 'Fedde', 'Casper', 'Morris', - 'Mike', 'Nathan', 'Jacob', 'Mika', 'Owen', 'Abel', 'Emir', 'Sepp', 'Twan', 'Aiden', 'Jonathan', 'Muhammed', - 'Job', 'Mason', 'Stef', 'Chris', 'Gerrit', 'Jesper', 'Lukas', 'Valentijn', 'Melle', 'Wessel', 'Jip', 'Luc', - 'Rick', 'Sil', 'Loek', 'Dylano', 'Florian', 'Kevin', 'Jort', 'Julius', 'Daniel', 'Maarten', 'Matthijs', 'Jamie', - 'Jelte', 'Tycho', 'Amir', 'Boris', 'Thijn', 'Sep', 'Wout', 'Sjoerd', 'Joël', 'Aron', 'Bart', 'James', 'Kai', - 'Lorenzo', 'Raf', 'Lenn', 'Marijn', 'Sebastiaan', 'Senn', 'Jim', 'Brent', 'Rafael', 'Tijs', 'Imran', 'Nout', - 'Thom', 'Aaron', 'Dirk', 'Oscar', 'Jay', 'Ravi', 'Ali', 'Sami', 'Kian', 'Wouter', 'Giovanni', 'Ian', 'Laurens', - 'Leon', 'Milo', 'Kay', 'Alex', 'Amin', 'Jayson', 'Berat', 'Jules', 'Sander', 'Seth', 'Ben', 'Jonas', 'Jordy', - 'Mathijs', 'Colin', 'Tijmen', 'Marinus', 'Wesley', 'Yusuf', 'Maurits', 'Bjorn', 'Bryan', 'Joost', 'Riley', - 'Victor', 'Felix', 'Ibrahim', 'Luka', 'Bastiaan', 'Hamza', 'Mark', 'Arthur', 'Bradley', 'Dave', 'Rowan', - 'Collin', 'Luke', 'Merijn', 'Vigo', 'Beau', 'Bilal', 'Jorn', 'Vincent', 'Matthias', 'Ayden', 'Maxim', 'Yassin', - 'Dion', 'Jake', 'Kyano', 'Kick', 'Mustafa', 'Michael', 'Youssef', 'Elias', 'Naud', 'Senna', 'Brian', 'Jari', - 'Mehmet', 'Micha', 'Stefan', 'Arie', 'Duuk', 'Zakaria', 'Ayoub', 'Faas', 'Olaf', 'Tristan', 'Mads', 'Berend', - 'Mart', 'Sten', 'Ivan', 'Philip', 'Giel', 'Lex', 'Rik', 'Tyler', - ]; + protected static $firstNameMale = [ + 'Daan', + 'Bram', + 'Sem', + 'Lucas', + 'Milan', + 'Levi', + 'Luuk', + 'Thijs', + 'Jayden', + 'Tim', + 'Finn', + 'Stijn', + 'Thomas', + 'Lars', + 'Ruben', + 'Jesse', + 'Noah', + 'Julian', + 'Max', + 'Liam', + 'Mees', + 'Sam', + 'Sven', + 'Gijs', + 'Luca', + 'Teun', + 'Tijn', + 'Siem', + 'Mats', + 'Jens', + 'Benjamin', + 'Adam', + 'Ryan', + 'Jan', + 'Floris', + 'David', + 'Olivier', + 'Cas', + 'Tygo', + 'Dylan', + 'Ties', + 'Tom', + 'Pepijn', + 'Daniël', + 'Hugo', + 'Thijmen', + 'Dean', + 'Boaz', + 'Jasper', + 'Nick', + 'Willem', + 'Roan', + 'Dex', + 'Niels', + 'Guus', + 'Stan', + 'Koen', + 'Mohamed', + 'Joep', + 'Johannes', + 'Jurre', + 'Pim', + 'Niek', + 'Robin', + 'Bas', + 'Rayan', + 'Damian', + 'Jelle', + 'Noud', + 'Pieter', + 'Vince', + 'Dani', + 'Joris', + 'Jason', + 'Timo', + 'Mick', + 'Quinten', + 'Joshua', + 'Simon', + 'Tobias', + 'Kyan', + 'Hidde', + 'Mohammed', + 'Jack', + 'Quinn', + 'Rens', + 'Samuel', + 'Alexander', + 'Hendrik', + 'Xavi', + 'Joey', + 'Fabian', + 'Justin', + 'Keano', + 'Cornelis', + 'Fedde', + 'Casper', + 'Morris', + 'Mike', + 'Nathan', + 'Jacob', + 'Mika', + 'Owen', + 'Abel', + 'Emir', + 'Sepp', + 'Twan', + 'Aiden', + 'Jonathan', + 'Muhammed', + 'Job', + 'Mason', + 'Stef', + 'Chris', + 'Gerrit', + 'Jesper', + 'Lukas', + 'Valentijn', + 'Melle', + 'Wessel', + 'Jip', + 'Luc', + 'Rick', + 'Sil', + 'Loek', + 'Dylano', + 'Florian', + 'Kevin', + 'Jort', + 'Julius', + 'Daniel', + 'Maarten', + 'Matthijs', + 'Jamie', + 'Jelte', + 'Tycho', + 'Amir', + 'Boris', + 'Thijn', + 'Sep', + 'Wout', + 'Sjoerd', + 'Joël', + 'Aron', + 'Bart', + 'James', + 'Kai', + 'Lorenzo', + 'Raf', + 'Lenn', + 'Marijn', + 'Sebastiaan', + 'Senn', + 'Jim', + 'Brent', + 'Rafael', + 'Tijs', + 'Imran', + 'Nout', + 'Thom', + 'Aaron', + 'Dirk', + 'Oscar', + 'Jay', + 'Ravi', + 'Ali', + 'Sami', + 'Kian', + 'Wouter', + 'Giovanni', + 'Ian', + 'Laurens', + 'Leon', + 'Milo', + 'Kay', + 'Alex', + 'Amin', + 'Jayson', + 'Berat', + 'Jules', + 'Sander', + 'Seth', + 'Ben', + 'Jonas', + 'Jordy', + 'Mathijs', + 'Colin', + 'Tijmen', + 'Marinus', + 'Wesley', + 'Yusuf', + 'Maurits', + 'Bjorn', + 'Bryan', + 'Joost', + 'Riley', + 'Victor', + 'Felix', + 'Ibrahim', + 'Luka', + 'Bastiaan', + 'Hamza', + 'Mark', + 'Arthur', + 'Bradley', + 'Dave', + 'Rowan', + 'Collin', + 'Luke', + 'Merijn', + 'Vigo', + 'Beau', + 'Bilal', + 'Jorn', + 'Vincent', + 'Matthias', + 'Ayden', + 'Maxim', + 'Yassin', + 'Dion', + 'Jake', + 'Kyano', + 'Kick', + 'Mustafa', + 'Michael', + 'Youssef', + 'Elias', + 'Naud', + 'Senna', + 'Brian', + 'Jari', + 'Mehmet', + 'Micha', + 'Stefan', + 'Arie', + 'Duuk', + 'Zakaria', + 'Ayoub', + 'Faas', + 'Olaf', + 'Tristan', + 'Mads', + 'Berend', + 'Mart', + 'Sten', + 'Ivan', + 'Philip', + 'Giel', + 'Lex', + 'Rik', + 'Tyler', + ]; - /** - * @example 'Doe' - */ - public function lastName() - { - $determinator = self::numberBetween(0, 25); + /** + * @example 'Doe' + */ + public function lastName() { + $determinator = self::numberBetween( 0, 25 ); - if ($determinator === 0) { - $lastName = static::randomElement(static::$longLastNames); - } elseif ($determinator <= 10) { - $lastName = static::randomElement(static::$commonDutchLastNames); - } elseif ($determinator <= 15) { - $lastName = static::randomElement(static::$commonForeignLastNames); - } else { - $lastName = static::randomElement(static::$dutchLastNames); - } + if ( $determinator === 0 ) { + $lastName = static::randomElement( static::$longLastNames ); + } elseif ( $determinator <= 10 ) { + $lastName = static::randomElement( static::$commonDutchLastNames ); + } elseif ( $determinator <= 15 ) { + $lastName = static::randomElement( static::$commonForeignLastNames ); + } else { + $lastName = static::randomElement( static::$dutchLastNames ); + } - return $lastName; - } + return $lastName; + } - public function title($gender = null) - { - return static::randomElement(static::$title); - } + public function title( $gender = null ) { + return static::randomElement( static::$title ); + } - /** - * replaced by specific unisex dutch title - */ - public static function titleMale() - { - return static::randomElement(static::$title); - } + /** + * replaced by specific unisex dutch title + */ + public static function titleMale() { + return static::randomElement( static::$title ); + } - /** - * replaced by specific unisex dutch title - */ - public static function titleFemale() - { - return static::randomElement(static::$title); - } + /** + * replaced by specific unisex dutch title + */ + public static function titleFemale() { + return static::randomElement( static::$title ); + } - /** - * @example 'BA' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'BA' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * @example 'van der' - */ - public static function prefix() - { - return static::randomElement(static::$prefix); - } + /** + * @example 'van der' + */ + public static function prefix() { + return static::randomElement( static::$prefix ); + } - /** - * @see https://nl.wikipedia.org/wiki/Burgerservicenummer#11-proef - * - * @return string - */ - public function idNumber() - { - $nr = []; - $nr[] = 0; + /** + * @see https://nl.wikipedia.org/wiki/Burgerservicenummer#11-proef + * + * @return string + */ + public function idNumber() { + $nr = []; + $nr[] = 0; - while (count($nr) < 8) { - $nr[] = static::randomDigit(); - } - $nr[] = self::numberBetween(0, 6); + while ( count( $nr ) < 8 ) { + $nr[] = static::randomDigit(); + } + $nr[] = self::numberBetween( 0, 6 ); - if ($nr[7] == 0 && $nr[8] == 0) { - $nr[7] = 0; - } + if ( $nr[7] == 0 && $nr[8] == 0 ) { + $nr[7] = 0; + } - $bsn = (9 * $nr[8]) + (8 * $nr[7]) + (7 * $nr[6]) + (6 * $nr[5]) + (5 * $nr[4]) + (4 * $nr[3]) + (3 * $nr[2]) + (2 * $nr[1]); - $nr[0] = floor($bsn - floor($bsn / 11) * 11); + $bsn = ( 9 * $nr[8] ) + ( 8 * $nr[7] ) + ( 7 * $nr[6] ) + ( 6 * $nr[5] ) + ( 5 * $nr[4] ) + ( 4 * $nr[3] ) + ( 3 * $nr[2] ) + ( 2 * $nr[1] ); + $nr[0] = floor( $bsn - floor( $bsn / 11 ) * 11 ); - if ($nr[0] > 9) { - if ($nr[1] > 0) { - $nr[0] = 8; - --$nr[1]; - } else { - $nr[0] = 1; - ++$nr[1]; - } - } + if ( $nr[0] > 9 ) { + if ( $nr[1] > 0 ) { + $nr[0] = 8; + -- $nr[1]; + } else { + $nr[0] = 1; + ++ $nr[1]; + } + } - return implode('', array_reverse($nr)); - } + return implode( '', array_reverse( $nr ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/PhoneNumber.php index 5d4163a..be9d1a4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/PhoneNumber.php @@ -2,38 +2,37 @@ namespace Faker\Provider\nl_NL; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '06 ########', - '06-########', - '+316-########', - '+31(0)6-########', - '+316 ########', - '+31(0)6 ########', - '01# #######', - '(01#) #######', - '+311# #######', - '02# #######', - '(02#) #######', - '+312# #######', - '03# #######', - '(03#) #######', - '+313# #######', - '04# #######', - '(04#) #######', - '+314# #######', - '05# #######', - '(05#) #######', - '+315# #######', - '07# #######', - '(07#) #######', - '+317# #######', - '0800 ######', - '+31800 ######', - '088 #######', - '+3188 #######', - '0900 ######', - '+31900 ######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '06 ########', + '06-########', + '+316-########', + '+31(0)6-########', + '+316 ########', + '+31(0)6 ########', + '01# #######', + '(01#) #######', + '+311# #######', + '02# #######', + '(02#) #######', + '+312# #######', + '03# #######', + '(03#) #######', + '+313# #######', + '04# #######', + '(04#) #######', + '+314# #######', + '05# #######', + '(05#) #######', + '+315# #######', + '07# #######', + '(07#) #######', + '+317# #######', + '0800 ######', + '+31800 ######', + '088 #######', + '+3188 #######', + '0900 ######', + '+31900 ######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Text.php b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Text.php index 5002c81..eed9a87 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/nl_NL/Text.php @@ -2,48 +2,47 @@ namespace Faker\Provider\nl_NL; -class Text extends \Faker\Provider\Text -{ - /** - * Project Gutenberg's Dichtertje - De Uitvreter - Titaantjes, by Nescio - * - * This eBook is for the use of anyone anywhere at no cost and with - * almost no restrictions whatsoever. You may copy it, give it away or - * re-use it under the terms of the Project Gutenberg License included - * with this eBook or online at www.gutenberg.org - * - * Title: Dichtertje - De Uitvreter - Titaantjes - * - * Author: Nescio - * - * Release Date: August 17, 2009 [EBook #29719] - * - * Language: Dutch - * - * *** START OF THIS PROJECT GUTENBERG EBOOK DICHTERTJE - DE UITVRETER *** - * - * Produced by Mark C. Orton and the Online Distributed - * Proofreading Team at http://www.pgdp.net/ - * - * Nescio - * - * Dichtertje - * - * De Uitvreter - * - * Titaantjes - * - * J. H. de Bois - Haarlem. - * - * "Dichtertje" is hier voor het eerst gepubliceerd. - * "De Uitvreter" verscheen in "De Gids" van Januari - * 1911. "Titaantjes" in "Groot-Nederland" van Juni 1915. - * - * @see http://www.gutenberg.org/cache/epub/29719/pg29719.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * Project Gutenberg's Dichtertje - De Uitvreter - Titaantjes, by Nescio + * + * This eBook is for the use of anyone anywhere at no cost and with + * almost no restrictions whatsoever. You may copy it, give it away or + * re-use it under the terms of the Project Gutenberg License included + * with this eBook or online at www.gutenberg.org + * + * Title: Dichtertje - De Uitvreter - Titaantjes + * + * Author: Nescio + * + * Release Date: August 17, 2009 [EBook #29719] + * + * Language: Dutch + * + * *** START OF THIS PROJECT GUTENBERG EBOOK DICHTERTJE - DE UITVRETER *** + * + * Produced by Mark C. Orton and the Online Distributed + * Proofreading Team at http://www.pgdp.net/ + * + * Nescio + * + * Dichtertje + * + * De Uitvreter + * + * Titaantjes + * + * J. H. de Bois - Haarlem. + * + * "Dichtertje" is hier voor het eerst gepubliceerd. + * "De Uitvreter" verscheen in "De Gids" van Januari + * 1911. "Titaantjes" in "Groot-Nederland" van Juni 1915. + * + * @see http://www.gutenberg.org/cache/epub/29719/pg29719.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' DICHTERTJE. In 't derde oorlogsjaar. diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Address.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Address.php index ca42cb8..c032abf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Address.php @@ -2,212 +2,1062 @@ namespace Faker\Provider\pl_PL; -class Address extends \Faker\Provider\Address -{ - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - '{{streetAddress}}, {{postcode}} {{city}}', - ]; +class Address extends \Faker\Provider\Address { + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + '{{streetAddress}}, {{postcode}} {{city}}', + ]; - protected static $buildingNumber = ['##A', '%#', '##A/%#', '%#/%#']; - protected static $postcode = ['##-###']; - /** - * @var array full list of Polish voivodeship - */ - protected static $state = [ - 'dolnośląskie', 'kujawsko-pomorskie', 'lubelskie', 'lubuskie', 'łódzkie', 'małopolskie', 'mazowieckie', - 'opolskie', 'podkarpackie', 'podlaskie', 'pomorskie', 'śląskie', 'świętokrzyskie', 'warmińsko-mazurskie', - 'wielkopolskie', 'zachodniopomorskie', - ]; - /** - * @var array Countries in Polish - * - * @see http://ksng.gugik.gov.pl/english/files/dictionary.pdf - */ - protected static $country = [ - 'Afganistan', 'Albania', 'Algieria', 'Andora', 'Angola', 'Antigua i Barbuda', 'Arabia Saudyjska', 'Argentyna', - 'Armenia', 'Australia', 'Austria', 'Azerbejdżan', 'Bahamy', 'Bahrajn', 'Bangladesz', 'Barbados', 'Belgia', - 'Belize', 'Benin', 'Bhutan', 'Białoruś', 'Birma', 'Boliwia', 'Bośnia i Hercegowina', 'Botswana', 'Brazylia', - 'Brunei', 'Bułgaria', 'Burkina Faso', 'Burundi', 'Chile', 'Chiny', 'Chorwacja', 'Cypr', 'Czad', 'Czarnogóra', - 'Czechy', 'Dania', 'Demokratyczna Republika Konga', 'Dominika', 'Dominikana', 'Dżibuti', 'Egipt', 'Ekwador', - 'Erytrea', 'Estonia', 'Etiopia', 'Fidżi', 'Filipiny', 'Finlandia', 'Francja', 'Gabon', 'Gambia', 'Ghana', - 'Grecja', 'Grenada', 'Gruzja', 'Gujana', 'Gwatemala', 'Gwinea', 'Gwinea Bissau', 'Gwinea Równikowa', 'Haiti', - 'Hiszpania', 'Holandia', 'Honduras', 'Indie', 'Indonezja', 'Irak', 'Iran', 'Irlandia', 'Islandia', 'Izrael', - 'Jamajka', 'Japonia', 'Jemen', 'Jordania', 'Kambodża', 'Kamerun', 'Kanada', 'Katar', 'Kazachstan', 'Kenia', - 'Kirgistan', 'Kiribati', 'Kolumbia', 'Komory', 'Kongo', 'Korea Południowa', 'Korea Północna', 'Kostaryka', - 'Kuba', 'Kuwejt', 'Laos', 'Lesotho', 'Liban', 'Liberia', 'Libia', 'Liechtenstein', 'Litwa', 'Luksemburg', - 'Łotwa', 'Macedonia Północna', 'Madagaskar', 'Malawi', 'Malediwy', 'Malezja', 'Mali', 'Malta', 'Maroko', 'Mauretania', - 'Mauritius', 'Meksyk', 'Mikronezja', 'Mołdawia', 'Monako', 'Mongolia', 'Mozambik', 'Namibia', 'Nauru', 'Nepal', - 'Niemcy', 'Niger', 'Nigeria', 'Nikaragua', 'Norwegia', 'Nowa Zelandia', 'Oman', 'Pakistan', 'Palau', 'Panama', - 'Papua-Nowa Gwinea', 'Paragwaj', 'Peru', 'Polska', 'Portugalia', 'Republika Południowej Afryki', - 'Republika Środkowoafrykańska', 'Republika Zielonego Przylądka', 'Rosja', 'Rumunia', 'Rwanda', - 'Saint Kitts i Nevis', 'Saint Lucia', 'Saint Vincent i Grenadyny', 'Salwador', 'Samoa', 'San Marino', 'Senegal', - 'Serbia', 'Seszele', 'Sierra Leone', 'Singapur', 'Słowacja', 'Słowenia', 'Somalia', 'Sri Lanka', - 'Stany Zjednoczone', 'Suazi', 'Sudan', 'Surinam', 'Syria', 'Szwajcaria', 'Szwecja', 'Tadżykistan', 'Tajlandia', - 'Tanzania', 'Timor Wschodni', 'Togo', 'Tonga', 'Trynidad i Tobago', 'Tunezja', 'Turcja', 'Turkmenistan', - 'Tuvalu', 'Uganda', 'Ukraina', 'Urugwaj', 'Uzbekistan', 'Vanuatu', 'Watykan', 'Wenezuela', 'Węgry', - 'Wielka Brytania', 'Wietnam', 'Włochy', 'Wybrzeże Kości Słoniowej', 'Wyspy Marshalla', 'Wyspy Salomona', - 'Wyspy Świętego Tomasza i Książęca', 'Zambia', 'Zimbabwe', 'Zjednoczone Emiraty Arabskie', - ]; - /** - * @var array 250 Polish cities with biggest number of streets. Extracted from data issued by the official - * public postal service of Poland. - * - * @see http://www.poczta-polska.pl/ - */ - protected static $city = [ - 'Babienica', 'Bartoszyce', 'Bełchatów', 'Bezrzecze', 'Będzin', 'Biała Podlaska', 'Białystok', - 'Bielawa', 'Bielsko-Biała', 'Bieruń', 'Bochnia', 'Bogaczów', 'Bogatynia', 'Boguszów-Gorce', 'Bolesławiec', - 'Braniewo', 'Brodnica', 'Brzeg', 'Busko-Zdrój', 'Bydgoszcz', 'Bytom', 'Chełm', 'Chojnice', 'Chorzów', - 'Chrzanów', 'Ciechanów', 'Cieszyn', 'Czaplinek', 'Czarna Woda', 'Czechowice-Dziedzice', 'Czeladź', - 'Czerwionka-Leszczyny', 'Częstochowa', 'Darłowo', 'Dąbrowa Górnicza', 'Dębica', 'Dębogórze', - 'Dzierżoniów', 'Elbląg', 'Ełk', 'Franciszków', 'Gdańsk', 'Gdynia', 'Giżycko', 'Gliwice', 'Głogów', - 'Gniezno', 'Gołubie', 'Gorlice', 'Gorzów Wielkopolski', 'Grodzisk Mazowiecki', 'Grudziądz', 'Ilkowice', - 'Iława', 'Inowrocław', 'Jadowniki', 'Jarosław', 'Jaroszowa Wola', 'Jasło', 'Jastarnia', 'Jastrzębie', - 'Jastrzębie-Zdrój', 'Jawor', 'Jaworzno', 'Jelcz-Laskowice', 'Jelenia Góra', 'Jemielnica', 'Jeziorna', - 'Józefów', 'Kalisz', 'Kamienica Królewska', 'Kamieniec Ząbkowicki', 'Kamień', 'Katowice', 'Kędzierzyn-Koźle', - 'Kętrzyn', 'Kielce', 'Kluczbork', 'Kłobuck', 'Kłodzko', 'Knurów', 'Kolonowskie', 'Koło', 'Kołobrzeg', - 'Konin', 'Konstancin-Jeziorna', 'Koszalin', 'Koszwały', 'Kościan', 'Kościerzyna', 'Kozienice', - 'Kraków', 'Krapkowice', 'Kraśnik', 'Krępiec', 'Krosno', 'Krotoszyn', 'Kutno', 'Kuźnica Masłońska', - 'Kwidzyn', 'Legionowo', 'Legnica', 'Leszno', 'Lębork', 'Lędziny', 'Lidzbark Warmiński', 'Lubartów', - 'Lubin', 'Lublin', 'Lubliniec', 'Lubojenka', 'Luboń', 'Ławy', 'Łaziska Górne', 'Łęczna', 'Łomianki', - 'Łomża', 'Łoś', 'Łowicz', 'Łódź', 'Magdalenka', 'Malbork', 'Marylka', 'Mielec', 'Mikołów', - 'Mokrzyska', 'Mysłowice', 'Myszków', 'Nowa Ruda', 'Nowa Sól', 'Nowe Kramsko', 'Nowy Dwór Mazowiecki', - 'Nowy Sącz', 'Nowy Targ', 'Nysa', 'Olkusz', 'Olsztyn', 'Opole', 'Orzesze', 'Osówiec', 'Ostrołęka', - 'Ostrowiec Świętokrzyski', 'Ostróda', 'Ostrów Mazowiecka', 'Ostrów Wielkopolski', 'Ostrzeszów', - 'Oświęcim', 'Otwock', 'Pabianice', 'Pawłowice', 'Pęcice', 'Piaseczno', 'Piekary Śląskie', 'Pieszyce', - 'Pilchowo', 'Piła', 'Piotrków Trybunalski', 'Pisz', 'Płazów', 'Płock', 'Police', 'Postęp', 'Poznań', - 'Pruszcz Gdański', 'Pruszków', 'Przemyśl', 'Przędzel', 'Pszczyna', 'Puławy', 'Pułtusk', 'Racibórz', - 'Radom', 'Radomsko', 'Ruda Śląska', 'Rumia', 'Rybnik', 'Rynarzewo', 'Rzeszów', 'Sandomierz', 'Sanok', - 'Siedlce', 'Siemianowice Śląskie', 'Sieradz', 'Skalbmierz', 'Skarżysko-Kamienna', 'Skierniewice', - 'Słupsk', 'Sochaczew', 'Sopot', 'Sosnowiec', 'Stalowa Wola', 'Starachowice', 'Stargard', - 'Starogard Gdański', 'Studzienice', 'Sulejówek', 'Suwałki', 'Swarzędz', 'Szczawin', 'Szczecin', - 'Szczecinek', 'Szczytno', 'Szówsko', 'Szteklin', 'Szwecja', 'Śrem', 'Świdnica', 'Świdnik', 'Świdwin', - 'Świebodzice', 'Świebodzin', 'Świecie', 'Świętochłowice', 'Świnoujście', 'Tarnobrzeg', 'Tarnowskie Góry', - 'Tarnów', 'Tczew', 'Tomaszów Mazowiecki', 'Toruń', 'Trzebiatów', 'Turek', 'Tychy', 'Ustka', 'Wałbrzych', - 'Warszawa', 'Wągrowiec', 'Wejherowo', 'Wilkowice', 'Władysławowo', 'Włocławek', 'Wodzisław Śląski', - 'Wola Kiedrzyńska', 'Wrocław', 'Września', 'Wyszków', 'Zabrze', 'Zakopane', 'Zamość', 'Zawiercie', - 'Ząbki', 'Zborowskie', 'Zduńska Wola', 'Zgierz', 'Zgorzelec', 'Zielona Góra', 'Żary', 'Żory', - 'Żyrardów', 'Żywiec', - ]; - /** - * @var array 549 most common Polish street names. Extracted from data issued by the official public - * postal service of Poland. - * - * @see http://www.poczta-polska.pl/ - */ - protected static $street = [ - '1 Maja', '3 Maja', '11 Listopada', 'Agrestowa', 'Akacjowa', 'Andersa Władysława', 'Armii Krajowej', - 'Asnyka Adama', 'Astrów', 'Azaliowa', 'Baczyńskiego Krzysztofa Kamila', 'Bałtycka', - 'Barlickiego Norberta', 'Batalionów Chłopskich', 'Batorego Stefana', 'Bema Józefa', - 'Bema Józefa', 'Beskidzka', 'Białostocka', 'Bielska', 'Bieszczadzka', 'Błękitna', - 'Boczna', 'Bogusławskiego Wojciecha', 'Bohaterów Westerplatte', 'Bolesława Chrobrego', - 'Bolesława Krzywoustego', 'Borowa', 'Botaniczna', 'Bracka', 'Bratków', 'Broniewskiego Władysława', - 'Brzechwy Jana', 'Brzoskwiniowa', 'Brzozowa', 'Budowlanych', 'Bukowa', 'Bursztynowa', - 'Bydgoska', 'Bytomska', 'Cedrowa', 'Cegielniana', 'Ceglana', 'Chabrowa', 'Chełmońskiego Józefa', - 'Chłodna', 'Chłopska', 'Chmielna', 'Chopina Fryderyka', 'Chorzowska', 'Chrobrego Bolesława', - 'Ciasna', 'Cicha', 'Cieszyńska', 'Cisowa', 'Cmentarna', 'Curie-Skłodowskiej Marii', - 'Czarnieckiego Stefana', 'Czereśniowa', 'Częstochowska', 'Czwartaków', 'Daleka', 'Daszyńskiego Ignacego', - 'Dąbrowskiego Jana Henryka', 'Dąbrowskiego Jarosława', 'Dąbrowskiego Jarosława', - 'Dąbrowskiej Marii', 'Dąbrowszczaków', 'Dąbrówki', 'Dębowa', 'Diamentowa', 'Długa', - 'Długosza Jana', 'Dmowskiego Romana', 'Dobra', 'Dolna', 'Dożynkowa', 'Drzymały Michała', - 'Dubois Stanisława', 'Dworcowa', 'Dworska', 'Działkowa', 'Energetyków', 'Fabryczna', - 'Fałata Juliana', 'Fiołkowa', 'Folwarczna', 'Franciszkańska', 'Francuska', 'Fredry Aleksandra', - 'Gagarina Jurija', 'Gajowa', 'Gałczyńskiego Konstantego Ildefonsa', 'Gdańska', 'Gdyńska', - 'Gliwicka', 'Głogowa', 'Głogowska', 'Głowackiego Bartosza', 'Główna', 'Gminna', 'Gnieźnieńska', - 'Gojawiczyńskiej Poli', 'Gołębia', 'Gościnna', 'Górna', 'Górnicza', 'Górnośląska', - 'Grabowa', 'Graniczna', 'Granitowa', 'Grochowska', 'Grodzka', 'Grota-Roweckiego Stefana', - 'Grottgera Artura', 'Grójecka', 'Grunwaldzka', 'Grzybowa', 'Hallera Józefa', 'Handlowa', - 'Harcerska', 'Hetmańska', 'Hoża', 'Husarska', 'Hutnicza', 'Inżynierska', 'Iwaszkiewicza Jarosława', - 'Jagiellońska', 'Jagiellońskie Os.', 'Jagiełły Władysława', 'Jagodowa', 'Jałowcowa', - 'Jana Pawła II', 'Jana Pawła II Al.', 'Jaracza Stefana', 'Jarzębinowa', 'Jaskółcza', - 'Jasna', 'Jastrzębia', 'Jaśminowa', 'Jaworowa', 'Jerozolimskie Al.', 'Jesienna', 'Jesionowa', - 'Jeżynowa', 'Jodłowa', 'Kalinowa', 'Kaliska', 'Kamienna', 'Karłowicza Mieczysława', - 'Karpacka', 'Kartuska', 'Kasprowicza Jana', 'Kasprzaka Marcina', 'Kasztanowa', 'Kaszubska', - 'Katowicka', 'Kazimierza Wielkiego', 'Kielecka', 'Kilińskiego Jana', 'Kleeberga Franciszka', - 'Klonowa', 'Kłosowa', 'Kochanowskiego Jana', 'Kolberga Oskara', 'Kolejowa', 'Kolorowa', - 'Kołłątaja Hugo', 'Kołłątaja Hugona', 'Kołobrzeska', 'Konarskiego Stanisława', - 'Konopnickiej Marii', 'Konstytucji 3 Maja', 'Konwaliowa', 'Kopalniana', 'Kopernika Mikołaja', - 'Koralowa', 'Korczaka Janusza', 'Korfantego Wojciecha', 'Kosmonautów', 'Kossaka Juliusza', - 'Kosynierów', 'Koszalińska', 'Koszykowa', 'Kościelna', 'Kościuszki Tadeusza', 'Kościuszki Tadeusza Pl.', - 'Kowalska', 'Krakowska', 'Krańcowa', 'Krasickiego Ignacego', 'Krasińskiego Zygmunta', - 'Kraszewskiego Józefa Ignacego', 'Kresowa', 'Kręta', 'Królewska', 'Królowej Jadwigi', - 'Krótka', 'Krucza', 'Kruczkowskiego Leona', 'Krzywa', 'Księżycowa', 'Kujawska', 'Kusocińskiego Janusza', - 'Kwiatkowskiego Eugeniusza', 'Kwiatowa', 'Lawendowa', 'Lazurowa', 'Lechicka', 'Legionów', - 'Legnicka', 'Lelewela Joachima', 'Leszczynowa', 'Leśmiana Bolesława', 'Leśna', 'Letnia', - 'Ligonia Juliusza', 'Liliowa', 'Limanowskiego Bolesława', 'Lipowa', 'Lisia', 'Litewska', - 'Lompy Józefa', 'Lotnicza', 'Lotników', 'Lubelska', 'Ludowa', 'Lwowska', 'Łabędzia', - 'Łagiewnicka', 'Łanowa', 'Łączna', 'Łąkowa', 'Łokietka Władysława', 'Łomżyńska', - 'Łowicka', 'Łódzka', 'Łukasiewicza Ignacego', 'Łużycka', 'Maczka Stanisława', - 'Magazynowa', 'Majowa', 'Makowa', 'Makuszyńskiego Kornela', 'Malczewskiego Jacka', 'Malinowa', - 'Mała', 'Małachowskiego Stanisława', 'Małopolska', 'Marszałkowska', 'Matejki Jana', - 'Mazowiecka', 'Mazurska', 'Miarki Karola', 'Mickiewicza Adama', 'Miedziana', 'Mieszka I', - 'Miła', 'Miodowa', 'Młynarska', 'Młyńska', 'Modlińska', 'Modra', 'Modrzejewskiej Heleny', - 'Modrzewiowa', 'Mokra', 'Moniuszki Stanisława', 'Morcinka Gustawa', 'Morelowa', 'Morska', - 'Mostowa', 'Myśliwska', 'Nadbrzeżna', 'Nadrzeczna', 'Nałkowskiej Zofii', 'Narutowicza Gabriela', - 'Niecała', 'Niedziałkowskiego Mieczysława', 'Niemcewicza Juliana Ursyna', 'Niepodległości', - 'Niepodległości Al.', 'Niska', 'Norwida Cypriana Kamila', 'Nowa', 'Nowowiejska', 'Nowowiejskiego Feliksa', - 'Nowy Świat', 'Obrońców Westerplatte', 'Odrodzenia', 'Odrzańska', 'Ogrodowa', 'Okopowa', - 'Okólna', 'Okrężna', 'Okrzei Stefana', 'Okulickiego Leopolda', 'Olchowa', 'Olimpijska', - 'Olsztyńska', 'Opolska', 'Orkana Władysława', 'Orla', 'Orzechowa', 'Orzeszkowej Elizy', - 'Osiedlowa', 'Oświęcimska', 'Owocowa', 'Paderewskiego Ignacego', 'Parkowa', 'Partyzantów', - 'Patriotów', 'Pawia', 'Perłowa', 'Piaskowa', 'Piastowska', 'Piastowskie Os.', 'Piekarska', - 'Piękna', 'Piłsudskiego Józefa', 'Piłsudskiego Józefa', 'Piłsudskiego Józefa Al.', - 'Piotrkowska', 'Piwna', 'Plater Emilii', 'Plebiscytowa', 'Płocka', 'Pocztowa', 'Podchorążych', - 'Podgórna', 'Podhalańska', 'Podleśna', 'Podmiejska', 'Podwale', 'Pogodna', 'Pokoju', - 'Pola Wincentego', 'Polna', 'Południowa', 'Pomorska', 'Poniatowskiego Józefa', 'Poniatowskiego Józefa', - 'Popiełuszki Jerzego', 'Poprzeczna', 'Portowa', 'Porzeczkowa', 'Powstańców', 'Powstańców Śląskich', - 'Powstańców Wielkopolskich', 'Poziomkowa', 'Poznańska', 'Północna', 'Promienna', - 'Prosta', 'Prusa Bolesława', 'Przechodnia', 'Przemysłowa', 'Przybyszewskiego Stanisława', - 'Przyjaźni', 'Pszenna', 'Ptasia', 'Pułaskiego Kazimierza', 'Pułaskiego Kazimierza', - 'Puławska', 'Puszkina Aleksandra', 'Racławicka', 'Radomska', 'Radosna', 'Rataja Macieja', - 'Reja Mikołaja', 'Rejtana Tadeusza', 'Reymonta Władysława', 'Reymonta Władysława Stanisława', - 'Robotnicza', 'Rodzinna', 'Rolna', 'Rolnicza', 'Równa', 'Różana', 'Rubinowa', 'Rumiankowa', - 'Rybacka', 'Rybna', 'Rybnicka', 'Rycerska', 'Rynek', 'Rynek Rynek', 'Rzeczna', 'Rzemieślnicza', - 'Sadowa', 'Sandomierska', 'Saperów', 'Sawickiej Hanki', 'Sądowa', 'Sąsiedzka', 'Senatorska', - 'Siemiradzkiego Henryka', 'Sienkiewicza Henryka', 'Sienna', 'Siewna', 'Sikorskiego Władysława', - 'Sikorskiego Władysława', 'Skargi Piotra', 'Skargi Piotra', 'Składowa', 'Skłodowskiej-Curie Marii', - 'Skośna', 'Skrajna', 'Słoneczna', 'Słonecznikowa', 'Słowackiego Juliusza', 'Słowiańska', - 'Słowicza', 'Sobieskiego Jana', 'Sobieskiego Jana III', 'Sokola', 'Solidarności Al.', - 'Solna', 'Solskiego Ludwika', 'Sosnowa', 'Sowia', 'Sowińskiego Józefa', 'Spacerowa', - 'Spokojna', 'Sportowa', 'Spółdzielcza', 'Srebrna', 'Staffa Leopolda', 'Stalowa', 'Staromiejska', - 'Starowiejska', 'Staszica Stanisława', 'Stawowa', 'Stolarska', 'Strażacka', 'Stroma', - 'Struga Andrzeja', 'Strumykowa', 'Strzelecka', 'Studzienna', 'Stwosza Wita', 'Sucha', - 'Sucharskiego Henryka', 'Szafirowa', 'Szarych Szeregów', 'Szczecińska', 'Szczęśliwa', - 'Szeroka', 'Szewska', 'Szkolna', 'Szmaragdowa', 'Szpitalna', 'Szymanowskiego Karola', - 'Ściegiennego Piotra', 'Śląska', 'Średnia', 'Środkowa', 'Świdnicka', 'Świerkowa', - 'Świętojańska', 'Świętokrzyska', 'Targowa', 'Tatrzańska', 'Tęczowa', 'Topolowa', - 'Torowa', 'Toruńska', 'Towarowa', 'Traugutta Romualda', 'Truskawkowa', 'Tulipanowa', - 'Tulipanów', 'Turkusowa', 'Turystyczna', 'Tuwima Juliana', 'Tylna', 'Tysiąclecia', 'Ułańska', - 'Urocza', 'Wałowa', 'Wandy', 'Wańkowicza Melchiora', 'Wapienna', 'Warmińska', 'Warszawska', - 'Waryńskiego Ludwika', 'Wąska', 'Wczasowa', 'Wesoła', 'Węglowa', 'Widok', 'Wiejska', - 'Wielkopolska', 'Wieniawskiego Henryka', 'Wierzbowa', 'Wilcza', 'Wileńska', 'Willowa', - 'Wiosenna', 'Wiśniowa', 'Witosa Wincentego', 'Władysława IV', 'Wodna', 'Wojska Polskiego', - 'Wojska Polskiego Al.', 'Wolności', 'Wolności Pl.', 'Wolska', 'Wołodyjowskiego Michała', - 'Wrocławska', 'Wronia', 'Wróblewskiego Walerego', 'Wrzosowa', 'Wschodnia', 'Wspólna', - 'Wybickiego Józefa', 'Wysoka', 'Wyspiańskiego Stanisława', 'Wyszyńskiego Stefana', - 'Wyzwolenia', 'Wyzwolenia Al.', 'Zachodnia', 'Zacisze', 'Zajęcza', 'Zakątek', 'Zakopiańska', - 'Zamenhofa Ludwika', 'Zamkowa', 'Zapolskiej Gabrieli', 'Zbożowa', 'Zdrojowa', 'Zgierska', - 'Zielna', 'Zielona', 'Złota', 'Zwierzyniecka', 'Zwycięstwa', 'Źródlana', 'Żabia', - 'Żeglarska', 'Żelazna', 'Żeromskiego Stefana', 'Żniwna', 'Żołnierska', 'Żółkiewskiego Stanisława', - 'Żurawia', 'Żwirki Franciszka i Wigury Stanisława', 'Żwirki i Wigury', 'Żwirowa', - 'Żytnia', - ]; + protected static $buildingNumber = [ '##A', '%#', '##A/%#', '%#/%#' ]; + protected static $postcode = [ '##-###' ]; + /** + * @var array full list of Polish voivodeship + */ + protected static $state = [ + 'dolnośląskie', + 'kujawsko-pomorskie', + 'lubelskie', + 'lubuskie', + 'łódzkie', + 'małopolskie', + 'mazowieckie', + 'opolskie', + 'podkarpackie', + 'podlaskie', + 'pomorskie', + 'śląskie', + 'świętokrzyskie', + 'warmińsko-mazurskie', + 'wielkopolskie', + 'zachodniopomorskie', + ]; + /** + * @var array Countries in Polish + * + * @see http://ksng.gugik.gov.pl/english/files/dictionary.pdf + */ + protected static $country = [ + 'Afganistan', + 'Albania', + 'Algieria', + 'Andora', + 'Angola', + 'Antigua i Barbuda', + 'Arabia Saudyjska', + 'Argentyna', + 'Armenia', + 'Australia', + 'Austria', + 'Azerbejdżan', + 'Bahamy', + 'Bahrajn', + 'Bangladesz', + 'Barbados', + 'Belgia', + 'Belize', + 'Benin', + 'Bhutan', + 'Białoruś', + 'Birma', + 'Boliwia', + 'Bośnia i Hercegowina', + 'Botswana', + 'Brazylia', + 'Brunei', + 'Bułgaria', + 'Burkina Faso', + 'Burundi', + 'Chile', + 'Chiny', + 'Chorwacja', + 'Cypr', + 'Czad', + 'Czarnogóra', + 'Czechy', + 'Dania', + 'Demokratyczna Republika Konga', + 'Dominika', + 'Dominikana', + 'Dżibuti', + 'Egipt', + 'Ekwador', + 'Erytrea', + 'Estonia', + 'Etiopia', + 'Fidżi', + 'Filipiny', + 'Finlandia', + 'Francja', + 'Gabon', + 'Gambia', + 'Ghana', + 'Grecja', + 'Grenada', + 'Gruzja', + 'Gujana', + 'Gwatemala', + 'Gwinea', + 'Gwinea Bissau', + 'Gwinea Równikowa', + 'Haiti', + 'Hiszpania', + 'Holandia', + 'Honduras', + 'Indie', + 'Indonezja', + 'Irak', + 'Iran', + 'Irlandia', + 'Islandia', + 'Izrael', + 'Jamajka', + 'Japonia', + 'Jemen', + 'Jordania', + 'Kambodża', + 'Kamerun', + 'Kanada', + 'Katar', + 'Kazachstan', + 'Kenia', + 'Kirgistan', + 'Kiribati', + 'Kolumbia', + 'Komory', + 'Kongo', + 'Korea Południowa', + 'Korea Północna', + 'Kostaryka', + 'Kuba', + 'Kuwejt', + 'Laos', + 'Lesotho', + 'Liban', + 'Liberia', + 'Libia', + 'Liechtenstein', + 'Litwa', + 'Luksemburg', + 'Łotwa', + 'Macedonia Północna', + 'Madagaskar', + 'Malawi', + 'Malediwy', + 'Malezja', + 'Mali', + 'Malta', + 'Maroko', + 'Mauretania', + 'Mauritius', + 'Meksyk', + 'Mikronezja', + 'Mołdawia', + 'Monako', + 'Mongolia', + 'Mozambik', + 'Namibia', + 'Nauru', + 'Nepal', + 'Niemcy', + 'Niger', + 'Nigeria', + 'Nikaragua', + 'Norwegia', + 'Nowa Zelandia', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua-Nowa Gwinea', + 'Paragwaj', + 'Peru', + 'Polska', + 'Portugalia', + 'Republika Południowej Afryki', + 'Republika Środkowoafrykańska', + 'Republika Zielonego Przylądka', + 'Rosja', + 'Rumunia', + 'Rwanda', + 'Saint Kitts i Nevis', + 'Saint Lucia', + 'Saint Vincent i Grenadyny', + 'Salwador', + 'Samoa', + 'San Marino', + 'Senegal', + 'Serbia', + 'Seszele', + 'Sierra Leone', + 'Singapur', + 'Słowacja', + 'Słowenia', + 'Somalia', + 'Sri Lanka', + 'Stany Zjednoczone', + 'Suazi', + 'Sudan', + 'Surinam', + 'Syria', + 'Szwajcaria', + 'Szwecja', + 'Tadżykistan', + 'Tajlandia', + 'Tanzania', + 'Timor Wschodni', + 'Togo', + 'Tonga', + 'Trynidad i Tobago', + 'Tunezja', + 'Turcja', + 'Turkmenistan', + 'Tuvalu', + 'Uganda', + 'Ukraina', + 'Urugwaj', + 'Uzbekistan', + 'Vanuatu', + 'Watykan', + 'Wenezuela', + 'Węgry', + 'Wielka Brytania', + 'Wietnam', + 'Włochy', + 'Wybrzeże Kości Słoniowej', + 'Wyspy Marshalla', + 'Wyspy Salomona', + 'Wyspy Świętego Tomasza i Książęca', + 'Zambia', + 'Zimbabwe', + 'Zjednoczone Emiraty Arabskie', + ]; + /** + * @var array 250 Polish cities with biggest number of streets. Extracted from data issued by the official + * public postal service of Poland. + * + * @see http://www.poczta-polska.pl/ + */ + protected static $city = [ + 'Babienica', + 'Bartoszyce', + 'Bełchatów', + 'Bezrzecze', + 'Będzin', + 'Biała Podlaska', + 'Białystok', + 'Bielawa', + 'Bielsko-Biała', + 'Bieruń', + 'Bochnia', + 'Bogaczów', + 'Bogatynia', + 'Boguszów-Gorce', + 'Bolesławiec', + 'Braniewo', + 'Brodnica', + 'Brzeg', + 'Busko-Zdrój', + 'Bydgoszcz', + 'Bytom', + 'Chełm', + 'Chojnice', + 'Chorzów', + 'Chrzanów', + 'Ciechanów', + 'Cieszyn', + 'Czaplinek', + 'Czarna Woda', + 'Czechowice-Dziedzice', + 'Czeladź', + 'Czerwionka-Leszczyny', + 'Częstochowa', + 'Darłowo', + 'Dąbrowa Górnicza', + 'Dębica', + 'Dębogórze', + 'Dzierżoniów', + 'Elbląg', + 'Ełk', + 'Franciszków', + 'Gdańsk', + 'Gdynia', + 'Giżycko', + 'Gliwice', + 'Głogów', + 'Gniezno', + 'Gołubie', + 'Gorlice', + 'Gorzów Wielkopolski', + 'Grodzisk Mazowiecki', + 'Grudziądz', + 'Ilkowice', + 'Iława', + 'Inowrocław', + 'Jadowniki', + 'Jarosław', + 'Jaroszowa Wola', + 'Jasło', + 'Jastarnia', + 'Jastrzębie', + 'Jastrzębie-Zdrój', + 'Jawor', + 'Jaworzno', + 'Jelcz-Laskowice', + 'Jelenia Góra', + 'Jemielnica', + 'Jeziorna', + 'Józefów', + 'Kalisz', + 'Kamienica Królewska', + 'Kamieniec Ząbkowicki', + 'Kamień', + 'Katowice', + 'Kędzierzyn-Koźle', + 'Kętrzyn', + 'Kielce', + 'Kluczbork', + 'Kłobuck', + 'Kłodzko', + 'Knurów', + 'Kolonowskie', + 'Koło', + 'Kołobrzeg', + 'Konin', + 'Konstancin-Jeziorna', + 'Koszalin', + 'Koszwały', + 'Kościan', + 'Kościerzyna', + 'Kozienice', + 'Kraków', + 'Krapkowice', + 'Kraśnik', + 'Krępiec', + 'Krosno', + 'Krotoszyn', + 'Kutno', + 'Kuźnica Masłońska', + 'Kwidzyn', + 'Legionowo', + 'Legnica', + 'Leszno', + 'Lębork', + 'Lędziny', + 'Lidzbark Warmiński', + 'Lubartów', + 'Lubin', + 'Lublin', + 'Lubliniec', + 'Lubojenka', + 'Luboń', + 'Ławy', + 'Łaziska Górne', + 'Łęczna', + 'Łomianki', + 'Łomża', + 'Łoś', + 'Łowicz', + 'Łódź', + 'Magdalenka', + 'Malbork', + 'Marylka', + 'Mielec', + 'Mikołów', + 'Mokrzyska', + 'Mysłowice', + 'Myszków', + 'Nowa Ruda', + 'Nowa Sól', + 'Nowe Kramsko', + 'Nowy Dwór Mazowiecki', + 'Nowy Sącz', + 'Nowy Targ', + 'Nysa', + 'Olkusz', + 'Olsztyn', + 'Opole', + 'Orzesze', + 'Osówiec', + 'Ostrołęka', + 'Ostrowiec Świętokrzyski', + 'Ostróda', + 'Ostrów Mazowiecka', + 'Ostrów Wielkopolski', + 'Ostrzeszów', + 'Oświęcim', + 'Otwock', + 'Pabianice', + 'Pawłowice', + 'Pęcice', + 'Piaseczno', + 'Piekary Śląskie', + 'Pieszyce', + 'Pilchowo', + 'Piła', + 'Piotrków Trybunalski', + 'Pisz', + 'Płazów', + 'Płock', + 'Police', + 'Postęp', + 'Poznań', + 'Pruszcz Gdański', + 'Pruszków', + 'Przemyśl', + 'Przędzel', + 'Pszczyna', + 'Puławy', + 'Pułtusk', + 'Racibórz', + 'Radom', + 'Radomsko', + 'Ruda Śląska', + 'Rumia', + 'Rybnik', + 'Rynarzewo', + 'Rzeszów', + 'Sandomierz', + 'Sanok', + 'Siedlce', + 'Siemianowice Śląskie', + 'Sieradz', + 'Skalbmierz', + 'Skarżysko-Kamienna', + 'Skierniewice', + 'Słupsk', + 'Sochaczew', + 'Sopot', + 'Sosnowiec', + 'Stalowa Wola', + 'Starachowice', + 'Stargard', + 'Starogard Gdański', + 'Studzienice', + 'Sulejówek', + 'Suwałki', + 'Swarzędz', + 'Szczawin', + 'Szczecin', + 'Szczecinek', + 'Szczytno', + 'Szówsko', + 'Szteklin', + 'Szwecja', + 'Śrem', + 'Świdnica', + 'Świdnik', + 'Świdwin', + 'Świebodzice', + 'Świebodzin', + 'Świecie', + 'Świętochłowice', + 'Świnoujście', + 'Tarnobrzeg', + 'Tarnowskie Góry', + 'Tarnów', + 'Tczew', + 'Tomaszów Mazowiecki', + 'Toruń', + 'Trzebiatów', + 'Turek', + 'Tychy', + 'Ustka', + 'Wałbrzych', + 'Warszawa', + 'Wągrowiec', + 'Wejherowo', + 'Wilkowice', + 'Władysławowo', + 'Włocławek', + 'Wodzisław Śląski', + 'Wola Kiedrzyńska', + 'Wrocław', + 'Września', + 'Wyszków', + 'Zabrze', + 'Zakopane', + 'Zamość', + 'Zawiercie', + 'Ząbki', + 'Zborowskie', + 'Zduńska Wola', + 'Zgierz', + 'Zgorzelec', + 'Zielona Góra', + 'Żary', + 'Żory', + 'Żyrardów', + 'Żywiec', + ]; + /** + * @var array 549 most common Polish street names. Extracted from data issued by the official public + * postal service of Poland. + * + * @see http://www.poczta-polska.pl/ + */ + protected static $street = [ + '1 Maja', + '3 Maja', + '11 Listopada', + 'Agrestowa', + 'Akacjowa', + 'Andersa Władysława', + 'Armii Krajowej', + 'Asnyka Adama', + 'Astrów', + 'Azaliowa', + 'Baczyńskiego Krzysztofa Kamila', + 'Bałtycka', + 'Barlickiego Norberta', + 'Batalionów Chłopskich', + 'Batorego Stefana', + 'Bema Józefa', + 'Bema Józefa', + 'Beskidzka', + 'Białostocka', + 'Bielska', + 'Bieszczadzka', + 'Błękitna', + 'Boczna', + 'Bogusławskiego Wojciecha', + 'Bohaterów Westerplatte', + 'Bolesława Chrobrego', + 'Bolesława Krzywoustego', + 'Borowa', + 'Botaniczna', + 'Bracka', + 'Bratków', + 'Broniewskiego Władysława', + 'Brzechwy Jana', + 'Brzoskwiniowa', + 'Brzozowa', + 'Budowlanych', + 'Bukowa', + 'Bursztynowa', + 'Bydgoska', + 'Bytomska', + 'Cedrowa', + 'Cegielniana', + 'Ceglana', + 'Chabrowa', + 'Chełmońskiego Józefa', + 'Chłodna', + 'Chłopska', + 'Chmielna', + 'Chopina Fryderyka', + 'Chorzowska', + 'Chrobrego Bolesława', + 'Ciasna', + 'Cicha', + 'Cieszyńska', + 'Cisowa', + 'Cmentarna', + 'Curie-Skłodowskiej Marii', + 'Czarnieckiego Stefana', + 'Czereśniowa', + 'Częstochowska', + 'Czwartaków', + 'Daleka', + 'Daszyńskiego Ignacego', + 'Dąbrowskiego Jana Henryka', + 'Dąbrowskiego Jarosława', + 'Dąbrowskiego Jarosława', + 'Dąbrowskiej Marii', + 'Dąbrowszczaków', + 'Dąbrówki', + 'Dębowa', + 'Diamentowa', + 'Długa', + 'Długosza Jana', + 'Dmowskiego Romana', + 'Dobra', + 'Dolna', + 'Dożynkowa', + 'Drzymały Michała', + 'Dubois Stanisława', + 'Dworcowa', + 'Dworska', + 'Działkowa', + 'Energetyków', + 'Fabryczna', + 'Fałata Juliana', + 'Fiołkowa', + 'Folwarczna', + 'Franciszkańska', + 'Francuska', + 'Fredry Aleksandra', + 'Gagarina Jurija', + 'Gajowa', + 'Gałczyńskiego Konstantego Ildefonsa', + 'Gdańska', + 'Gdyńska', + 'Gliwicka', + 'Głogowa', + 'Głogowska', + 'Głowackiego Bartosza', + 'Główna', + 'Gminna', + 'Gnieźnieńska', + 'Gojawiczyńskiej Poli', + 'Gołębia', + 'Gościnna', + 'Górna', + 'Górnicza', + 'Górnośląska', + 'Grabowa', + 'Graniczna', + 'Granitowa', + 'Grochowska', + 'Grodzka', + 'Grota-Roweckiego Stefana', + 'Grottgera Artura', + 'Grójecka', + 'Grunwaldzka', + 'Grzybowa', + 'Hallera Józefa', + 'Handlowa', + 'Harcerska', + 'Hetmańska', + 'Hoża', + 'Husarska', + 'Hutnicza', + 'Inżynierska', + 'Iwaszkiewicza Jarosława', + 'Jagiellońska', + 'Jagiellońskie Os.', + 'Jagiełły Władysława', + 'Jagodowa', + 'Jałowcowa', + 'Jana Pawła II', + 'Jana Pawła II Al.', + 'Jaracza Stefana', + 'Jarzębinowa', + 'Jaskółcza', + 'Jasna', + 'Jastrzębia', + 'Jaśminowa', + 'Jaworowa', + 'Jerozolimskie Al.', + 'Jesienna', + 'Jesionowa', + 'Jeżynowa', + 'Jodłowa', + 'Kalinowa', + 'Kaliska', + 'Kamienna', + 'Karłowicza Mieczysława', + 'Karpacka', + 'Kartuska', + 'Kasprowicza Jana', + 'Kasprzaka Marcina', + 'Kasztanowa', + 'Kaszubska', + 'Katowicka', + 'Kazimierza Wielkiego', + 'Kielecka', + 'Kilińskiego Jana', + 'Kleeberga Franciszka', + 'Klonowa', + 'Kłosowa', + 'Kochanowskiego Jana', + 'Kolberga Oskara', + 'Kolejowa', + 'Kolorowa', + 'Kołłątaja Hugo', + 'Kołłątaja Hugona', + 'Kołobrzeska', + 'Konarskiego Stanisława', + 'Konopnickiej Marii', + 'Konstytucji 3 Maja', + 'Konwaliowa', + 'Kopalniana', + 'Kopernika Mikołaja', + 'Koralowa', + 'Korczaka Janusza', + 'Korfantego Wojciecha', + 'Kosmonautów', + 'Kossaka Juliusza', + 'Kosynierów', + 'Koszalińska', + 'Koszykowa', + 'Kościelna', + 'Kościuszki Tadeusza', + 'Kościuszki Tadeusza Pl.', + 'Kowalska', + 'Krakowska', + 'Krańcowa', + 'Krasickiego Ignacego', + 'Krasińskiego Zygmunta', + 'Kraszewskiego Józefa Ignacego', + 'Kresowa', + 'Kręta', + 'Królewska', + 'Królowej Jadwigi', + 'Krótka', + 'Krucza', + 'Kruczkowskiego Leona', + 'Krzywa', + 'Księżycowa', + 'Kujawska', + 'Kusocińskiego Janusza', + 'Kwiatkowskiego Eugeniusza', + 'Kwiatowa', + 'Lawendowa', + 'Lazurowa', + 'Lechicka', + 'Legionów', + 'Legnicka', + 'Lelewela Joachima', + 'Leszczynowa', + 'Leśmiana Bolesława', + 'Leśna', + 'Letnia', + 'Ligonia Juliusza', + 'Liliowa', + 'Limanowskiego Bolesława', + 'Lipowa', + 'Lisia', + 'Litewska', + 'Lompy Józefa', + 'Lotnicza', + 'Lotników', + 'Lubelska', + 'Ludowa', + 'Lwowska', + 'Łabędzia', + 'Łagiewnicka', + 'Łanowa', + 'Łączna', + 'Łąkowa', + 'Łokietka Władysława', + 'Łomżyńska', + 'Łowicka', + 'Łódzka', + 'Łukasiewicza Ignacego', + 'Łużycka', + 'Maczka Stanisława', + 'Magazynowa', + 'Majowa', + 'Makowa', + 'Makuszyńskiego Kornela', + 'Malczewskiego Jacka', + 'Malinowa', + 'Mała', + 'Małachowskiego Stanisława', + 'Małopolska', + 'Marszałkowska', + 'Matejki Jana', + 'Mazowiecka', + 'Mazurska', + 'Miarki Karola', + 'Mickiewicza Adama', + 'Miedziana', + 'Mieszka I', + 'Miła', + 'Miodowa', + 'Młynarska', + 'Młyńska', + 'Modlińska', + 'Modra', + 'Modrzejewskiej Heleny', + 'Modrzewiowa', + 'Mokra', + 'Moniuszki Stanisława', + 'Morcinka Gustawa', + 'Morelowa', + 'Morska', + 'Mostowa', + 'Myśliwska', + 'Nadbrzeżna', + 'Nadrzeczna', + 'Nałkowskiej Zofii', + 'Narutowicza Gabriela', + 'Niecała', + 'Niedziałkowskiego Mieczysława', + 'Niemcewicza Juliana Ursyna', + 'Niepodległości', + 'Niepodległości Al.', + 'Niska', + 'Norwida Cypriana Kamila', + 'Nowa', + 'Nowowiejska', + 'Nowowiejskiego Feliksa', + 'Nowy Świat', + 'Obrońców Westerplatte', + 'Odrodzenia', + 'Odrzańska', + 'Ogrodowa', + 'Okopowa', + 'Okólna', + 'Okrężna', + 'Okrzei Stefana', + 'Okulickiego Leopolda', + 'Olchowa', + 'Olimpijska', + 'Olsztyńska', + 'Opolska', + 'Orkana Władysława', + 'Orla', + 'Orzechowa', + 'Orzeszkowej Elizy', + 'Osiedlowa', + 'Oświęcimska', + 'Owocowa', + 'Paderewskiego Ignacego', + 'Parkowa', + 'Partyzantów', + 'Patriotów', + 'Pawia', + 'Perłowa', + 'Piaskowa', + 'Piastowska', + 'Piastowskie Os.', + 'Piekarska', + 'Piękna', + 'Piłsudskiego Józefa', + 'Piłsudskiego Józefa', + 'Piłsudskiego Józefa Al.', + 'Piotrkowska', + 'Piwna', + 'Plater Emilii', + 'Plebiscytowa', + 'Płocka', + 'Pocztowa', + 'Podchorążych', + 'Podgórna', + 'Podhalańska', + 'Podleśna', + 'Podmiejska', + 'Podwale', + 'Pogodna', + 'Pokoju', + 'Pola Wincentego', + 'Polna', + 'Południowa', + 'Pomorska', + 'Poniatowskiego Józefa', + 'Poniatowskiego Józefa', + 'Popiełuszki Jerzego', + 'Poprzeczna', + 'Portowa', + 'Porzeczkowa', + 'Powstańców', + 'Powstańców Śląskich', + 'Powstańców Wielkopolskich', + 'Poziomkowa', + 'Poznańska', + 'Północna', + 'Promienna', + 'Prosta', + 'Prusa Bolesława', + 'Przechodnia', + 'Przemysłowa', + 'Przybyszewskiego Stanisława', + 'Przyjaźni', + 'Pszenna', + 'Ptasia', + 'Pułaskiego Kazimierza', + 'Pułaskiego Kazimierza', + 'Puławska', + 'Puszkina Aleksandra', + 'Racławicka', + 'Radomska', + 'Radosna', + 'Rataja Macieja', + 'Reja Mikołaja', + 'Rejtana Tadeusza', + 'Reymonta Władysława', + 'Reymonta Władysława Stanisława', + 'Robotnicza', + 'Rodzinna', + 'Rolna', + 'Rolnicza', + 'Równa', + 'Różana', + 'Rubinowa', + 'Rumiankowa', + 'Rybacka', + 'Rybna', + 'Rybnicka', + 'Rycerska', + 'Rynek', + 'Rynek Rynek', + 'Rzeczna', + 'Rzemieślnicza', + 'Sadowa', + 'Sandomierska', + 'Saperów', + 'Sawickiej Hanki', + 'Sądowa', + 'Sąsiedzka', + 'Senatorska', + 'Siemiradzkiego Henryka', + 'Sienkiewicza Henryka', + 'Sienna', + 'Siewna', + 'Sikorskiego Władysława', + 'Sikorskiego Władysława', + 'Skargi Piotra', + 'Skargi Piotra', + 'Składowa', + 'Skłodowskiej-Curie Marii', + 'Skośna', + 'Skrajna', + 'Słoneczna', + 'Słonecznikowa', + 'Słowackiego Juliusza', + 'Słowiańska', + 'Słowicza', + 'Sobieskiego Jana', + 'Sobieskiego Jana III', + 'Sokola', + 'Solidarności Al.', + 'Solna', + 'Solskiego Ludwika', + 'Sosnowa', + 'Sowia', + 'Sowińskiego Józefa', + 'Spacerowa', + 'Spokojna', + 'Sportowa', + 'Spółdzielcza', + 'Srebrna', + 'Staffa Leopolda', + 'Stalowa', + 'Staromiejska', + 'Starowiejska', + 'Staszica Stanisława', + 'Stawowa', + 'Stolarska', + 'Strażacka', + 'Stroma', + 'Struga Andrzeja', + 'Strumykowa', + 'Strzelecka', + 'Studzienna', + 'Stwosza Wita', + 'Sucha', + 'Sucharskiego Henryka', + 'Szafirowa', + 'Szarych Szeregów', + 'Szczecińska', + 'Szczęśliwa', + 'Szeroka', + 'Szewska', + 'Szkolna', + 'Szmaragdowa', + 'Szpitalna', + 'Szymanowskiego Karola', + 'Ściegiennego Piotra', + 'Śląska', + 'Średnia', + 'Środkowa', + 'Świdnicka', + 'Świerkowa', + 'Świętojańska', + 'Świętokrzyska', + 'Targowa', + 'Tatrzańska', + 'Tęczowa', + 'Topolowa', + 'Torowa', + 'Toruńska', + 'Towarowa', + 'Traugutta Romualda', + 'Truskawkowa', + 'Tulipanowa', + 'Tulipanów', + 'Turkusowa', + 'Turystyczna', + 'Tuwima Juliana', + 'Tylna', + 'Tysiąclecia', + 'Ułańska', + 'Urocza', + 'Wałowa', + 'Wandy', + 'Wańkowicza Melchiora', + 'Wapienna', + 'Warmińska', + 'Warszawska', + 'Waryńskiego Ludwika', + 'Wąska', + 'Wczasowa', + 'Wesoła', + 'Węglowa', + 'Widok', + 'Wiejska', + 'Wielkopolska', + 'Wieniawskiego Henryka', + 'Wierzbowa', + 'Wilcza', + 'Wileńska', + 'Willowa', + 'Wiosenna', + 'Wiśniowa', + 'Witosa Wincentego', + 'Władysława IV', + 'Wodna', + 'Wojska Polskiego', + 'Wojska Polskiego Al.', + 'Wolności', + 'Wolności Pl.', + 'Wolska', + 'Wołodyjowskiego Michała', + 'Wrocławska', + 'Wronia', + 'Wróblewskiego Walerego', + 'Wrzosowa', + 'Wschodnia', + 'Wspólna', + 'Wybickiego Józefa', + 'Wysoka', + 'Wyspiańskiego Stanisława', + 'Wyszyńskiego Stefana', + 'Wyzwolenia', + 'Wyzwolenia Al.', + 'Zachodnia', + 'Zacisze', + 'Zajęcza', + 'Zakątek', + 'Zakopiańska', + 'Zamenhofa Ludwika', + 'Zamkowa', + 'Zapolskiej Gabrieli', + 'Zbożowa', + 'Zdrojowa', + 'Zgierska', + 'Zielna', + 'Zielona', + 'Złota', + 'Zwierzyniecka', + 'Zwycięstwa', + 'Źródlana', + 'Żabia', + 'Żeglarska', + 'Żelazna', + 'Żeromskiego Stefana', + 'Żniwna', + 'Żołnierska', + 'Żółkiewskiego Stanisława', + 'Żurawia', + 'Żwirki Franciszka i Wigury Stanisława', + 'Żwirki i Wigury', + 'Żwirowa', + 'Żytnia', + ]; - public function city() - { - return static::randomElement(static::$city); - } + public function city() { + return static::randomElement( static::$city ); + } - public function streetName() - { - return static::randomElement(static::$street); - } + public function streetName() { + return static::randomElement( static::$street ); + } - public function state() - { - return static::randomElement(static::$state); - } + public function state() { + return static::randomElement( static::$state ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Color.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Color.php index afc161a..865a6a2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Color.php @@ -2,39 +2,198 @@ namespace Faker\Provider\pl_PL; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'czarny', 'brązowy', 'zielony', 'granatowy', 'oliwkowy', - 'fioletowy', 'morski', 'limonkowy', 'niebieski', 'srebrny', - 'szary', 'żółty', 'fuksja', 'cyjanowy', 'biały', 'czerwony', - 'różowy', 'pomarańczowy', 'purpurowy', 'złoty', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'czarny', + 'brązowy', + 'zielony', + 'granatowy', + 'oliwkowy', + 'fioletowy', + 'morski', + 'limonkowy', + 'niebieski', + 'srebrny', + 'szary', + 'żółty', + 'fuksja', + 'cyjanowy', + 'biały', + 'czerwony', + 'różowy', + 'pomarańczowy', + 'purpurowy', + 'złoty', + ]; - protected static $allColorNames = [ - 'akwamaryna', 'alabastrowy', 'amarantowy', 'ametystowy', 'antracytowy', - 'atramentowy', 'bahama yellow', 'bananowy', 'beżowy', 'biały', 'biskupi', - 'bordo', 'brzoskwiniowy', 'brązowy', 'brunatny', 'buraczkowy', 'burgund', - 'bursztynowy', 'bury', 'butelkowy', 'błękitny', 'ceglasty', 'chabrowy', - 'chamois', 'cielisty', 'ciemnozielony', 'cyjan', 'cyklamen', 'cynamonowy', - 'cynobrowy', 'cytrynowy', 'czarny', 'czekoladowy', 'czerwony', 'ecru', 'feldgrau', - 'fioletowy', 'fiołkowy', 'fokstrot', 'fluoroscencyjny', 'fuksja', 'gliniasty', - 'gołębi', 'grafitowy', 'granatowy', 'groszkowy', 'gruszkowy', 'heban', 'herbaciany', - 'indygo', 'izabelowy', 'jagodowy', 'jaśminowy', 'kakaowy', 'kanarkowy', 'kardynalski', - 'karmazynowy', 'karminowy', 'kasztanowy', 'kawowy', 'khaki', 'kobaltowy', 'koniakowy', - 'koralowy', 'kość słoniowa', 'kraplak', 'kremowy', 'krwisty', 'kukurydziany', 'lawendowy', - 'lapis-lazuli', 'lazurowy', 'leszczynowy', 'lila', 'lila róż', 'liliowy', - 'lagunowy', 'łososiowy', 'magenta', 'mahoń', 'majtkowy', 'makowy', 'malachitowy', - 'malinowy', 'marchewkowy', 'marengo', 'marmurkowaty', 'maślany', 'miedziany', 'miętowy', - 'minia', 'miodowy', 'mleczny', 'modrakowy', 'modry', 'morelowy', 'morski', 'mysi', 'mosiądzowy', - 'niebieski', 'oberżynowy', 'ochra', 'oliwkowy', 'ołowiany', 'oranż', 'orzechowy', 'palisander', - 'papieski', 'papuzi', 'patynowy', 'pąsowy', 'perłowy', 'piaskowy', 'pistacjowy', 'piwny', - 'platynowy', 'płowy', 'pomarańczowy', 'popielaty', 'porcelanowy', 'poziomkowy', 'ptasi', - 'purpurowy', 'rdzawy', 'rezedowy', 'róż indyjski', 'róż pompejański', 'róż wenecki', 'różowy', 'rubinowy', - 'rudy', 'sadza angielska', 'seledynowy', 'sepia', 'siarkowy', 'siny', 'siwy', 'sjena palona', - 'słomkowy', 'smolisty', 'spiżowy', 'srebrny', 'stalowy', 'stare złoto', 'szafirowy', 'szafranowy', - 'szary', 'szkarłatny', 'szmaragdowy', 'śliwkowy', 'tabaczkowy', 'tango', 'trawiasty', 'truskawkowy', - 'turkusowy', 'tycjan', 'ugier', 'ultramaryna', 'umbra', 'winny', 'wiśniowy', 'woskowy', 'wrzosowy', - 'zielony', 'ziemisty', 'złocisty', 'złoty', 'żółty', - ]; + protected static $allColorNames = [ + 'akwamaryna', + 'alabastrowy', + 'amarantowy', + 'ametystowy', + 'antracytowy', + 'atramentowy', + 'bahama yellow', + 'bananowy', + 'beżowy', + 'biały', + 'biskupi', + 'bordo', + 'brzoskwiniowy', + 'brązowy', + 'brunatny', + 'buraczkowy', + 'burgund', + 'bursztynowy', + 'bury', + 'butelkowy', + 'błękitny', + 'ceglasty', + 'chabrowy', + 'chamois', + 'cielisty', + 'ciemnozielony', + 'cyjan', + 'cyklamen', + 'cynamonowy', + 'cynobrowy', + 'cytrynowy', + 'czarny', + 'czekoladowy', + 'czerwony', + 'ecru', + 'feldgrau', + 'fioletowy', + 'fiołkowy', + 'fokstrot', + 'fluoroscencyjny', + 'fuksja', + 'gliniasty', + 'gołębi', + 'grafitowy', + 'granatowy', + 'groszkowy', + 'gruszkowy', + 'heban', + 'herbaciany', + 'indygo', + 'izabelowy', + 'jagodowy', + 'jaśminowy', + 'kakaowy', + 'kanarkowy', + 'kardynalski', + 'karmazynowy', + 'karminowy', + 'kasztanowy', + 'kawowy', + 'khaki', + 'kobaltowy', + 'koniakowy', + 'koralowy', + 'kość słoniowa', + 'kraplak', + 'kremowy', + 'krwisty', + 'kukurydziany', + 'lawendowy', + 'lapis-lazuli', + 'lazurowy', + 'leszczynowy', + 'lila', + 'lila róż', + 'liliowy', + 'lagunowy', + 'łososiowy', + 'magenta', + 'mahoń', + 'majtkowy', + 'makowy', + 'malachitowy', + 'malinowy', + 'marchewkowy', + 'marengo', + 'marmurkowaty', + 'maślany', + 'miedziany', + 'miętowy', + 'minia', + 'miodowy', + 'mleczny', + 'modrakowy', + 'modry', + 'morelowy', + 'morski', + 'mysi', + 'mosiądzowy', + 'niebieski', + 'oberżynowy', + 'ochra', + 'oliwkowy', + 'ołowiany', + 'oranż', + 'orzechowy', + 'palisander', + 'papieski', + 'papuzi', + 'patynowy', + 'pąsowy', + 'perłowy', + 'piaskowy', + 'pistacjowy', + 'piwny', + 'platynowy', + 'płowy', + 'pomarańczowy', + 'popielaty', + 'porcelanowy', + 'poziomkowy', + 'ptasi', + 'purpurowy', + 'rdzawy', + 'rezedowy', + 'róż indyjski', + 'róż pompejański', + 'róż wenecki', + 'różowy', + 'rubinowy', + 'rudy', + 'sadza angielska', + 'seledynowy', + 'sepia', + 'siarkowy', + 'siny', + 'siwy', + 'sjena palona', + 'słomkowy', + 'smolisty', + 'spiżowy', + 'srebrny', + 'stalowy', + 'stare złoto', + 'szafirowy', + 'szafranowy', + 'szary', + 'szkarłatny', + 'szmaragdowy', + 'śliwkowy', + 'tabaczkowy', + 'tango', + 'trawiasty', + 'truskawkowy', + 'turkusowy', + 'tycjan', + 'ugier', + 'ultramaryna', + 'umbra', + 'winny', + 'wiśniowy', + 'woskowy', + 'wrzosowy', + 'zielony', + 'ziemisty', + 'złocisty', + 'złoty', + 'żółty', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Company.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Company.php index 1643009..92ca5e3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Company.php @@ -2,89 +2,95 @@ namespace Faker\Provider\pl_PL; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}}', - '{{lastName}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{companyPrefix}} {{lastName}}', - '{{lastName}}-{{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}}', + '{{lastName}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{companyPrefix}} {{lastName}}', + '{{lastName}}-{{lastName}}', + ]; - protected static $companySuffix = ['S.A.', 'i syn', 'sp. z o.o.', 'sp. j.', 'sp. p.', 'sp. k.', 'S.K.A', 's. c.', 'P.P.O.F']; + protected static $companySuffix = [ + 'S.A.', + 'i syn', + 'sp. z o.o.', + 'sp. j.', + 'sp. p.', + 'sp. k.', + 'S.K.A', + 's. c.', + 'P.P.O.F' + ]; - protected static $companyPrefix = ['Grupa', 'Fundacja', 'Stowarzyszenie', 'Spółdzielnia']; + protected static $companyPrefix = [ 'Grupa', 'Fundacja', 'Stowarzyszenie', 'Spółdzielnia' ]; - /** - * @example 'Grupa' - */ - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + /** + * @example 'Grupa' + */ + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - /** - * Register of the National Economy - * - * @see http://pl.wikipedia.org/wiki/REGON - * - * @return string 9 digit number - */ - public static function regon() - { - $weights = [8, 9, 2, 3, 4, 5, 6, 7]; - $regionNumber = self::numberBetween(0, 49) * 2 + 1; - $result = [(int) ($regionNumber / 10), $regionNumber % 10]; + /** + * Register of the National Economy + * + * @see http://pl.wikipedia.org/wiki/REGON + * + * @return string 9 digit number + */ + public static function regon() { + $weights = [ 8, 9, 2, 3, 4, 5, 6, 7 ]; + $regionNumber = self::numberBetween( 0, 49 ) * 2 + 1; + $result = [ (int) ( $regionNumber / 10 ), $regionNumber % 10 ]; - for ($i = 2, $size = count($weights); $i < $size; ++$i) { - $result[$i] = static::randomDigit(); - } - $checksum = 0; + for ( $i = 2, $size = count( $weights ); $i < $size; ++ $i ) { + $result[ $i ] = static::randomDigit(); + } + $checksum = 0; - for ($i = 0, $size = count($result); $i < $size; ++$i) { - $checksum += $weights[$i] * $result[$i]; - } - $checksum %= 11; + for ( $i = 0, $size = count( $result ); $i < $size; ++ $i ) { + $checksum += $weights[ $i ] * $result[ $i ]; + } + $checksum %= 11; - if ($checksum == 10) { - $checksum = 0; - } - $result[] = $checksum; + if ( $checksum == 10 ) { + $checksum = 0; + } + $result[] = $checksum; - return implode('', $result); - } + return implode( '', $result ); + } - /** - * Register of the National Economy, local entity number - * - * @see http://pl.wikipedia.org/wiki/REGON - * - * @return string 14 digit number - */ - public static function regonLocal() - { - $weights = [2, 4, 8, 5, 0, 9, 7, 3, 6, 1, 2, 4, 8]; - $result = str_split(static::regon()); + /** + * Register of the National Economy, local entity number + * + * @see http://pl.wikipedia.org/wiki/REGON + * + * @return string 14 digit number + */ + public static function regonLocal() { + $weights = [ 2, 4, 8, 5, 0, 9, 7, 3, 6, 1, 2, 4, 8 ]; + $result = str_split( static::regon() ); - for ($i = count($result), $size = count($weights); $i < $size; ++$i) { - $result[$i] = static::randomDigit(); - } - $checksum = 0; + for ( $i = count( $result ), $size = count( $weights ); $i < $size; ++ $i ) { + $result[ $i ] = static::randomDigit(); + } + $checksum = 0; - for ($i = 0, $size = count($result); $i < $size; ++$i) { - $checksum += $weights[$i] * $result[$i]; - } - $checksum %= 11; + for ( $i = 0, $size = count( $result ); $i < $size; ++ $i ) { + $checksum += $weights[ $i ] * $result[ $i ]; + } + $checksum %= 11; - if ($checksum == 10) { - $checksum = 0; - } - $result[] = $checksum; + if ( $checksum == 10 ) { + $checksum = 0; + } + $result[] = $checksum; - return implode('', $result); - } + return implode( '', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Internet.php index 661e4b0..e9af701 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\pl_PL; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'wp.pl', 'onet.pl', 'interia.pl', 'gazeta.pl']; - protected static $tld = ['pl', 'pl', 'pl', 'pl', 'pl', 'pl', 'com', 'info', 'net', 'org', 'com.pl', 'com.pl']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'wp.pl', 'onet.pl', 'interia.pl', 'gazeta.pl' ]; + protected static $tld = [ 'pl', 'pl', 'pl', 'pl', 'pl', 'pl', 'com', 'info', 'net', 'org', 'com.pl', 'com.pl' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/LicensePlate.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/LicensePlate.php index d59c93d..d13aea5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/LicensePlate.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/LicensePlate.php @@ -9,534 +9,573 @@ * {@link} http://prawo.sejm.gov.pl/isap.nsf/DocDetails.xsp?id=WDU20170002355 * {@link} https://pl.wikipedia.org/wiki/Tablice_rejestracyjne_w_Polsce#Tablice_standardowe */ -class LicensePlate extends Base -{ - /** - * @var array list of Polish voivodeships and respective vehicle registration number prefixes. - */ - protected static $voivodeships = [ - 'dolnośląskie' => 'D', - 'kujawsko-pomorskie' => 'C', - 'lubelskie' => 'L', - 'lubuskie' => 'F', - 'łódzkie' => 'E', - 'małopolskie' => 'K', - 'mazowieckie' => 'W', - 'opolskie' => 'O', - 'podkarpackie' => 'R', - 'podlaskie' => 'B', - 'pomorskie' => 'G', - 'śląskie' => 'S', - 'świętokrzyskie' => 'T', - 'warmińsko-mazurskie' => 'N', - 'wielkopolskie' => 'P', - 'zachodniopomorskie' => 'Z', - ]; +class LicensePlate extends Base { + /** + * @var array list of Polish voivodeships and respective vehicle registration number prefixes. + */ + protected static $voivodeships = [ + 'dolnośląskie' => 'D', + 'kujawsko-pomorskie' => 'C', + 'lubelskie' => 'L', + 'lubuskie' => 'F', + 'łódzkie' => 'E', + 'małopolskie' => 'K', + 'mazowieckie' => 'W', + 'opolskie' => 'O', + 'podkarpackie' => 'R', + 'podlaskie' => 'B', + 'pomorskie' => 'G', + 'śląskie' => 'S', + 'świętokrzyskie' => 'T', + 'warmińsko-mazurskie' => 'N', + 'wielkopolskie' => 'P', + 'zachodniopomorskie' => 'Z', + ]; - /** - * @var array list of special vehicle registration number prefixes. - */ - protected static $specials = [ - 'army' => 'U', - 'services' => 'H', - ]; + /** + * @var array list of special vehicle registration number prefixes. + */ + protected static $specials = [ + 'army' => 'U', + 'services' => 'H', + ]; - /** - * @var array list of Polish counties and respective vehicle registration number prefixes. - */ - protected static $counties = [ - 'D' => [ - 'Jelenia Góra' => ['J'], - 'Legnica' => ['L'], - 'Wałbrzych' => ['B'], - 'Wrocław' => ['W', 'X'], - 'bolesławiecki' => ['BL'], - 'dzierżoniowski' => ['DZ'], - 'głogowski' => ['GL'], - 'górowski' => ['GR'], - 'jaworski' => ['JA'], - 'jeleniogórski' => ['JE'], - 'kamiennogórski' => ['KA'], - 'kłodzki' => ['KL'], - 'legnicki' => ['LE'], - 'lubański' => ['LB'], - 'lubiński' => ['LU'], - 'lwówecki' => ['LW'], - 'milicki' => ['MI'], - 'oleśnicki' => ['OL'], - 'oławski' => ['OA'], - 'polkowicki' => ['PL'], - 'strzeliński' => ['ST'], - 'średzki' => ['SR'], - 'świdnicki' => ['SW'], - 'trzebnicki' => ['TR'], - 'wałbrzyski' => ['BA'], - 'wołowski' => ['WL'], - 'wrocławski' => ['WR'], - 'ząbkowicki' => ['ZA'], - 'zgorzelecki' => ['ZG'], - 'złotoryjski' => ['ZL'], - ], - 'C' => [ - 'Bydgoszcz' => ['B'], - 'Grudziądz' => ['G'], - 'Toruń' => ['T'], - 'Włocławek' => ['W'], - 'aleksandrowski' => ['AL'], - 'brodnicki' => ['BR'], - 'bydgoski' => ['BY'], - 'chełmiński' => ['CH'], - 'golubsko-dobrzyński' => ['GD'], - 'grudziądzki' => ['GR'], - 'inowrocławski' => ['IN'], - 'lipnowski' => ['LI'], - 'mogileński' => ['MG'], - 'nakielski' => ['NA'], - 'radziejowski' => ['RA'], - 'rypiński' => ['RY'], - 'sępoleński' => ['SE'], - 'świecki' => ['SW'], - 'toruński' => ['TR'], - 'tucholski' => ['TU'], - 'wąbrzeski' => ['WA'], - 'włocławski' => ['WL'], - 'żniński' => ['ZN'], - ], - 'L' => [ - 'Biała Podlaska' => ['B'], - 'Chełm' => ['C'], - 'Lublin' => ['U'], - 'Zamość' => ['Z'], - 'bialski' => ['BI'], - 'biłgorajski' => ['BL'], - 'chełmski' => ['CH'], - 'hrubieszowski' => ['HR'], - 'janowski' => ['JA'], - 'krasnostawski' => ['KS'], - 'kraśnicki' => ['KR'], - 'lubartowski' => ['LB'], - 'lubelski' => ['UB'], - 'łęczyński' => ['LE'], - 'łukowski' => ['LU'], - 'opolski' => ['OP'], - 'parczewski' => ['PA'], - 'puławski' => ['PU'], - 'radzyński' => ['RA'], - 'rycki' => ['RY'], - 'świdnicki' => ['SW'], - 'tomaszowski' => ['TM'], - 'włodawski' => ['WL'], - 'zamojski' => ['ZA'], - ], - 'F' => [ - 'Gorzów Wielkopolski' => ['G'], - 'Zielona Góra' => ['Z'], - 'gorzowski' => ['GW'], - 'krośnieński' => ['KR'], - 'międzyrzecki' => ['MI'], - 'nowosolski' => ['NW'], - 'słubicki' => ['SL'], - 'strzelecko-drezdenecki' => ['SD'], - 'sulęciński' => ['SU'], - 'świebodziński' => ['SW'], - 'wschowski' => ['WS'], - 'zielonogórski' => ['ZI'], - 'żagański' => ['ZG'], - 'żarski' => ['ZA'], - ], - 'E' => [ - 'Łódź' => ['L'], - 'Piotrków Trybunalski' => ['P'], - 'Skierniewice' => ['S'], - 'brzeziński' => ['BR'], - 'bełchatowski' => ['BE'], - 'kutnowski' => ['KU'], - 'łaski' => ['LA'], - 'łęczycki' => ['LE'], - 'łowicki' => ['LC'], - 'łódzki wschodni' => ['LW'], - 'opoczyński' => ['OP'], - 'pabianicki' => ['PA'], - 'pajęczański' => ['PJ'], - 'piotrkowski' => ['PI'], - 'poddębicki' => ['PD'], - 'radomszczański' => ['RA'], - 'rawski' => ['RW'], - 'sieradzki' => ['SI'], - 'skierniewicki' => ['SK'], - 'tomaszowski' => ['TM'], - 'wieluński' => ['WI'], - 'wieruszowski' => ['WE'], - 'zduńskowolski' => ['ZD'], - 'zgierski' => ['ZG'], - ], - 'K' => [ - 'Kraków' => ['R'], - 'Nowy Sącz' => ['N'], - 'Tarnów' => ['T'], - 'bocheński' => ['BA', 'BC'], - 'brzeski' => ['BR'], - 'chrzanowski' => ['CH'], - 'dąbrowski' => ['DA'], - 'gorlicki' => ['GR'], - 'krakowski' => ['RA'], - 'limanowski' => ['LI'], - 'miechowski' => ['MI'], - 'myślenicki' => ['MY'], - 'nowosądecki' => ['NS'], - 'nowotarski' => ['NT'], - 'olkuski' => ['OL'], - 'oświęcimski' => ['OS'], - 'proszowicki' => ['PR'], - 'suski' => ['SU'], - 'tarnowski' => ['TA'], - 'tatrzański' => ['TT'], - 'wadowicki' => ['WA'], - 'wielicki' => ['WI'], - ], - 'W' => [ - 'Ostrołęka' => ['O'], - 'Płock' => ['P'], - 'Radom' => ['R'], - 'Siedlce' => ['S'], - 'białobrzeski' => ['BR'], - 'ciechanowski' => ['CI'], - 'garwoliński' => ['G'], - 'gostyniński' => ['GS'], - 'grodziski' => ['GM'], - 'grójecki' => ['GR'], - 'kozienicki' => ['KZ'], - 'legionowski' => ['L'], - 'lipski' => ['LI'], - 'łosicki' => ['LS'], - 'makowski' => ['MA'], - 'miński' => ['M'], - 'mławski' => ['ML'], - 'nowodworski' => ['ND'], - 'ostrołęcki' => ['OS'], - 'ostrowski' => ['OR'], - 'otwocki' => ['OT'], - 'piaseczyński' => ['PA', 'PI'], - 'płocki' => ['PL'], - 'płoński' => ['PN'], - 'pruszkowski' => ['PP', 'PR', 'PS'], - 'przasnyski' => ['PZ'], - 'przysuski' => ['PY'], - 'pułtuski' => ['PU'], - 'radomski' => ['RA'], - 'siedlecki' => ['SI'], - 'sierpecki' => ['SE'], - 'sochaczewski' => ['SC'], - 'sokołowski' => ['SK'], - 'szydłowiecki' => ['SZ'], - 'warszawski' => ['A', 'B', 'D', 'E', 'F', 'H', 'I', 'J', 'K', 'N', 'T', 'U', 'W', 'X', 'Y'], - 'warszawski zachodni' => ['Z'], - 'węgrowski' => ['WE'], - 'wołomiński' => ['WL', 'V'], - 'wyszkowski' => ['WY'], - 'zwoleński' => ['ZW'], - 'żuromiński' => ['ZU'], - 'żyrardowski' => ['ZY'], - ], - 'O' => [ - 'Opole' => ['P'], - 'brzeski' => ['B'], - 'głubczycki' => ['GL'], - 'kędzierzyńsko-kozielski' => ['K'], - 'kluczborski' => ['KL'], - 'krapkowicki' => ['KR'], - 'namysłowski' => ['NA'], - 'nyski' => ['NY'], - 'oleski' => ['OL'], - 'opolski' => ['PO'], - 'prudnicki' => ['PR'], - 'strzelecki' => ['ST'], - ], - 'R' => [ - 'Krosno' => ['K'], - 'Przemyśl' => ['P'], - 'Rzeszów' => ['Z'], - 'Tarnobrzeg' => ['T'], - 'bieszczadzki' => ['BI'], - 'brzozowski' => ['BR'], - 'dębicki' => ['DE'], - 'jarosławski' => ['JA'], - 'jasielski' => ['JS'], - 'kolbuszowski' => ['KL'], - 'krośnieński' => ['KR'], - 'leski' => ['LS'], - 'leżajski' => ['LE'], - 'lubaczowski' => ['LU'], - 'łańcucki' => ['LA'], - 'mielecki' => ['MI'], - 'niżański' => ['NI'], - 'przemyski' => ['PR'], - 'przeworski' => ['PZ'], - 'ropczycko-sędziszowski' => ['RS'], - 'rzeszowski' => ['ZE'], - 'sanocki' => ['SA'], - 'stalowowolski' => ['ST'], - 'strzyżowski' => ['SR'], - 'tarnobrzeski' => ['TA'], - ], - 'B' => [ - 'Białystok' => ['I'], - 'Łomża' => ['L'], - 'Suwałki' => ['S'], - 'augustowski' => ['AU'], - 'białostocki' => ['IA'], - 'bielski' => ['BI'], - 'grajewski' => ['GR'], - 'hajnowski' => ['HA'], - 'kolneński' => ['KL'], - 'łomżyński' => ['LM'], - 'moniecki' => ['MN'], - 'sejneński' => ['SE'], - 'siemiatycki' => ['SI'], - 'sokólski' => ['SK'], - 'suwalski' => ['SU'], - 'wysokomazowiecki' => ['WM'], - 'zambrowski' => ['ZA'], - ], - 'G' => [ - 'Gdańsk' => ['D'], - 'Gdynia' => ['A'], - 'Słupsk' => ['S'], - 'Sopot' => ['SP'], - 'bytowski' => ['BY'], - 'chojnicki' => ['CH'], - 'człuchowski' => ['CZ'], - 'gdański' => ['DA'], - 'kartuski' => ['KY', 'KA'], - 'kościerski' => ['KS'], - 'kwidzyński' => ['KW'], - 'lęborski' => ['LE'], - 'malborski' => ['MB'], - 'nowodworski' => ['ND'], - 'pucki' => ['PU'], - 'słupski' => ['SL'], - 'starogardzki' => ['ST'], - 'sztumski' => ['SZ'], - 'tczewski' => ['TC'], - 'wejherowski' => ['WE', 'WO'], - ], - 'S' => [ - 'Bielsko-Biała' => ['B'], - 'Bytom' => ['Y'], - 'Chorzów' => ['H'], - 'Częstochowa' => ['C'], - 'Dąbrowa Górnicza' => ['D'], - 'Gliwice' => ['G'], - 'Jastrzębie-Zdrój' => ['JZ'], - 'Jaworzno' => ['J'], - 'Katowice' => ['K'], - 'Mysłowice' => ['M'], - 'Piekary Śląskie' => ['PI'], - 'Ruda Śląska,' => ['L', 'RS'], - 'Rybnik' => ['R'], - 'Siemianowice Śląskie' => ['I'], - 'Sosnowiec' => ['O'], - 'Świętochłowice' => ['W'], - 'Tychy' => ['T'], - 'Zabrze' => ['Z'], - 'Żory' => ['ZO'], - 'będziński' => ['BE'], - 'bielski' => ['BI'], - 'cieszyński' => ['CN', 'CI'], - 'częstochowski' => ['CZ'], - 'gliwicki' => ['GL'], - 'kłobucki' => ['KL'], - 'lubliniecki' => ['LU'], - 'mikołowski' => ['MI'], - 'myszkowski' => ['MY'], - 'pszczyński' => ['PS'], - 'raciborski' => ['RC'], - 'rybnicki' => ['RB'], - 'tarnogórski' => ['TA'], - 'bieruńsko - lędziński' => ['BL'], - 'wodzisławski' => ['WD', 'WZ'], - 'zawierciański' => ['ZA'], - 'żywiecki' => ['ZY'], - ], - 'T' => [ - 'Kielce' => ['K'], - 'buski' => ['BU'], - 'jędrzejowski' => ['JE'], - 'kazimierski' => ['KA'], - 'kielecki' => ['KI'], - 'konecki' => ['KN'], - 'opatowski' => ['OP'], - 'ostrowiecki' => ['OS'], - 'pińczowski' => ['PI'], - 'sandomierski' => ['SA'], - 'skarżyski' => ['SK'], - 'starachowicki' => ['ST'], - 'staszowski' => ['SZ'], - 'włoszczowski' => ['LW'], - ], - 'N' => [ - 'Elbląg' => ['E'], - 'Olsztyn' => ['O'], - 'bartoszycki' => ['BA'], - 'braniewski' => ['BR'], - 'działdowski' => ['DZ'], - 'elbląski' => ['EB'], - 'ełcki' => ['EL'], - 'giżycki' => ['GI'], - 'iławski' => ['IL'], - 'kętrzyński' => ['KE'], - 'lidzbarski' => ['LI'], - 'mrągowski' => ['MR'], - 'nidzicki' => ['NI'], - 'nowomiejski' => ['NM'], - 'olecki' => ['OE'], - 'gołdapski' => ['GO'], - 'olsztyński' => ['OL'], - 'ostródzki' => ['OS'], - 'piski' => ['PI'], - 'szczycieński' => ['SZ'], - 'węgorzewski' => ['WE'], - ], - 'P' => [ - 'Kalisz' => ['A', 'K'], - 'Konin' => ['KO', 'N'], - 'Leszno' => ['L'], - 'Poznań' => ['O', 'Y'], - 'chodzieski' => ['CH'], - 'czarnkowsko-trzcianecki' => ['CT'], - 'gnieźnieński' => ['GN'], - 'gostyński' => ['GS'], - 'grodziski' => ['GO'], - 'jarociński' => ['JA'], - 'kaliski' => ['KA'], - 'kępiński' => ['KE'], - 'kolski' => ['KL'], - 'koniński' => ['KN'], - 'kościański' => ['KS'], - 'krotoszyński' => ['KR'], - 'leszczyński' => ['LE'], - 'międzychodzki' => ['MI'], - 'nowotomyski' => ['NT'], - 'obornicki' => ['OB'], - 'ostrowski' => ['OS'], - 'ostrzeszowski' => ['OT'], - 'pilski' => ['P'], - 'pleszewski' => ['PL'], - 'poznański' => ['OZ', 'Z'], - 'rawicki' => ['RA'], - 'słupecki' => ['SL'], - 'szamotulski' => ['SZ'], - 'średzki' => ['SR'], - 'śremski' => ['SE'], - 'turecki' => ['TU'], - 'wągrowiecki' => ['WA'], - 'wolsztyński' => ['WL'], - 'wrzesiński' => ['WR'], - 'złotowski' => ['ZL'], - ], - 'Z' => [ - 'Koszalin' => ['K'], - 'Szczecin' => ['S', 'Z'], - 'Świnoujście' => ['SW'], - 'białogardzki' => ['BI'], - 'choszczeński' => ['CH'], - 'drawski' => ['DR'], - 'goleniowski' => ['GL'], - 'gryficki' => ['GY'], - 'gryfiński' => ['GR'], - 'kamieński' => ['KA'], - 'kołobrzeski' => ['KL'], - 'koszaliński' => ['KO'], - 'łobeski' => ['LO'], - 'myśliborski' => ['MY'], - 'policki' => ['PL'], - 'pyrzycki' => ['PY'], - 'sławieński' => ['SL'], - 'stargardzki' => ['ST'], - 'szczecinecki' => ['SZ'], - 'świdwiński' => ['SD'], - 'wałecki' => ['WA'], - ], - 'U' => [ - 'Siły Zbrojne Rzeczypospolitej Polskiej' => ['A', 'B', 'C', 'D', 'E', 'G', 'I', 'J', 'K', 'L'], - ], - 'H' => [ - 'Centralne Biuro Antykorupcyjne' => ['A'], - 'Służba Ochrony Państwa' => ['BA', 'BB', 'BE', 'BF', 'BG'], - 'Służba Celno-Skarbowa' => ['CA', 'CB', 'CC', 'CD', 'CE', 'CF', 'CG', 'CH', 'CJ', 'CK', 'CL', 'CM', 'CN', 'CO', 'CP', 'CR'], - 'Agencja Bezpieczeństwa Wewnętrznego' => ['K'], - 'Agencja Wywiadu' => ['K'], - 'Służba Kontrwywiadu Wojskowego' => ['M'], - 'Służba Wywiadu Wojskowego' => ['M'], - 'Policja' => ['PA', 'PB', 'PC', 'PD', 'PE', 'PF', 'PG', 'PH', 'PJ', 'PK', 'PL', 'PL', 'PL', 'PL', 'PL', 'PM', 'PN', 'PP', 'PS', 'PT', 'PU', 'PW', 'PZ'], - 'Straż Graniczna' => ['WA', 'WK'], - ], - ]; + /** + * @var array list of Polish counties and respective vehicle registration number prefixes. + */ + protected static $counties = [ + 'D' => [ + 'Jelenia Góra' => [ 'J' ], + 'Legnica' => [ 'L' ], + 'Wałbrzych' => [ 'B' ], + 'Wrocław' => [ 'W', 'X' ], + 'bolesławiecki' => [ 'BL' ], + 'dzierżoniowski' => [ 'DZ' ], + 'głogowski' => [ 'GL' ], + 'górowski' => [ 'GR' ], + 'jaworski' => [ 'JA' ], + 'jeleniogórski' => [ 'JE' ], + 'kamiennogórski' => [ 'KA' ], + 'kłodzki' => [ 'KL' ], + 'legnicki' => [ 'LE' ], + 'lubański' => [ 'LB' ], + 'lubiński' => [ 'LU' ], + 'lwówecki' => [ 'LW' ], + 'milicki' => [ 'MI' ], + 'oleśnicki' => [ 'OL' ], + 'oławski' => [ 'OA' ], + 'polkowicki' => [ 'PL' ], + 'strzeliński' => [ 'ST' ], + 'średzki' => [ 'SR' ], + 'świdnicki' => [ 'SW' ], + 'trzebnicki' => [ 'TR' ], + 'wałbrzyski' => [ 'BA' ], + 'wołowski' => [ 'WL' ], + 'wrocławski' => [ 'WR' ], + 'ząbkowicki' => [ 'ZA' ], + 'zgorzelecki' => [ 'ZG' ], + 'złotoryjski' => [ 'ZL' ], + ], + 'C' => [ + 'Bydgoszcz' => [ 'B' ], + 'Grudziądz' => [ 'G' ], + 'Toruń' => [ 'T' ], + 'Włocławek' => [ 'W' ], + 'aleksandrowski' => [ 'AL' ], + 'brodnicki' => [ 'BR' ], + 'bydgoski' => [ 'BY' ], + 'chełmiński' => [ 'CH' ], + 'golubsko-dobrzyński' => [ 'GD' ], + 'grudziądzki' => [ 'GR' ], + 'inowrocławski' => [ 'IN' ], + 'lipnowski' => [ 'LI' ], + 'mogileński' => [ 'MG' ], + 'nakielski' => [ 'NA' ], + 'radziejowski' => [ 'RA' ], + 'rypiński' => [ 'RY' ], + 'sępoleński' => [ 'SE' ], + 'świecki' => [ 'SW' ], + 'toruński' => [ 'TR' ], + 'tucholski' => [ 'TU' ], + 'wąbrzeski' => [ 'WA' ], + 'włocławski' => [ 'WL' ], + 'żniński' => [ 'ZN' ], + ], + 'L' => [ + 'Biała Podlaska' => [ 'B' ], + 'Chełm' => [ 'C' ], + 'Lublin' => [ 'U' ], + 'Zamość' => [ 'Z' ], + 'bialski' => [ 'BI' ], + 'biłgorajski' => [ 'BL' ], + 'chełmski' => [ 'CH' ], + 'hrubieszowski' => [ 'HR' ], + 'janowski' => [ 'JA' ], + 'krasnostawski' => [ 'KS' ], + 'kraśnicki' => [ 'KR' ], + 'lubartowski' => [ 'LB' ], + 'lubelski' => [ 'UB' ], + 'łęczyński' => [ 'LE' ], + 'łukowski' => [ 'LU' ], + 'opolski' => [ 'OP' ], + 'parczewski' => [ 'PA' ], + 'puławski' => [ 'PU' ], + 'radzyński' => [ 'RA' ], + 'rycki' => [ 'RY' ], + 'świdnicki' => [ 'SW' ], + 'tomaszowski' => [ 'TM' ], + 'włodawski' => [ 'WL' ], + 'zamojski' => [ 'ZA' ], + ], + 'F' => [ + 'Gorzów Wielkopolski' => [ 'G' ], + 'Zielona Góra' => [ 'Z' ], + 'gorzowski' => [ 'GW' ], + 'krośnieński' => [ 'KR' ], + 'międzyrzecki' => [ 'MI' ], + 'nowosolski' => [ 'NW' ], + 'słubicki' => [ 'SL' ], + 'strzelecko-drezdenecki' => [ 'SD' ], + 'sulęciński' => [ 'SU' ], + 'świebodziński' => [ 'SW' ], + 'wschowski' => [ 'WS' ], + 'zielonogórski' => [ 'ZI' ], + 'żagański' => [ 'ZG' ], + 'żarski' => [ 'ZA' ], + ], + 'E' => [ + 'Łódź' => [ 'L' ], + 'Piotrków Trybunalski' => [ 'P' ], + 'Skierniewice' => [ 'S' ], + 'brzeziński' => [ 'BR' ], + 'bełchatowski' => [ 'BE' ], + 'kutnowski' => [ 'KU' ], + 'łaski' => [ 'LA' ], + 'łęczycki' => [ 'LE' ], + 'łowicki' => [ 'LC' ], + 'łódzki wschodni' => [ 'LW' ], + 'opoczyński' => [ 'OP' ], + 'pabianicki' => [ 'PA' ], + 'pajęczański' => [ 'PJ' ], + 'piotrkowski' => [ 'PI' ], + 'poddębicki' => [ 'PD' ], + 'radomszczański' => [ 'RA' ], + 'rawski' => [ 'RW' ], + 'sieradzki' => [ 'SI' ], + 'skierniewicki' => [ 'SK' ], + 'tomaszowski' => [ 'TM' ], + 'wieluński' => [ 'WI' ], + 'wieruszowski' => [ 'WE' ], + 'zduńskowolski' => [ 'ZD' ], + 'zgierski' => [ 'ZG' ], + ], + 'K' => [ + 'Kraków' => [ 'R' ], + 'Nowy Sącz' => [ 'N' ], + 'Tarnów' => [ 'T' ], + 'bocheński' => [ 'BA', 'BC' ], + 'brzeski' => [ 'BR' ], + 'chrzanowski' => [ 'CH' ], + 'dąbrowski' => [ 'DA' ], + 'gorlicki' => [ 'GR' ], + 'krakowski' => [ 'RA' ], + 'limanowski' => [ 'LI' ], + 'miechowski' => [ 'MI' ], + 'myślenicki' => [ 'MY' ], + 'nowosądecki' => [ 'NS' ], + 'nowotarski' => [ 'NT' ], + 'olkuski' => [ 'OL' ], + 'oświęcimski' => [ 'OS' ], + 'proszowicki' => [ 'PR' ], + 'suski' => [ 'SU' ], + 'tarnowski' => [ 'TA' ], + 'tatrzański' => [ 'TT' ], + 'wadowicki' => [ 'WA' ], + 'wielicki' => [ 'WI' ], + ], + 'W' => [ + 'Ostrołęka' => [ 'O' ], + 'Płock' => [ 'P' ], + 'Radom' => [ 'R' ], + 'Siedlce' => [ 'S' ], + 'białobrzeski' => [ 'BR' ], + 'ciechanowski' => [ 'CI' ], + 'garwoliński' => [ 'G' ], + 'gostyniński' => [ 'GS' ], + 'grodziski' => [ 'GM' ], + 'grójecki' => [ 'GR' ], + 'kozienicki' => [ 'KZ' ], + 'legionowski' => [ 'L' ], + 'lipski' => [ 'LI' ], + 'łosicki' => [ 'LS' ], + 'makowski' => [ 'MA' ], + 'miński' => [ 'M' ], + 'mławski' => [ 'ML' ], + 'nowodworski' => [ 'ND' ], + 'ostrołęcki' => [ 'OS' ], + 'ostrowski' => [ 'OR' ], + 'otwocki' => [ 'OT' ], + 'piaseczyński' => [ 'PA', 'PI' ], + 'płocki' => [ 'PL' ], + 'płoński' => [ 'PN' ], + 'pruszkowski' => [ 'PP', 'PR', 'PS' ], + 'przasnyski' => [ 'PZ' ], + 'przysuski' => [ 'PY' ], + 'pułtuski' => [ 'PU' ], + 'radomski' => [ 'RA' ], + 'siedlecki' => [ 'SI' ], + 'sierpecki' => [ 'SE' ], + 'sochaczewski' => [ 'SC' ], + 'sokołowski' => [ 'SK' ], + 'szydłowiecki' => [ 'SZ' ], + 'warszawski' => [ 'A', 'B', 'D', 'E', 'F', 'H', 'I', 'J', 'K', 'N', 'T', 'U', 'W', 'X', 'Y' ], + 'warszawski zachodni' => [ 'Z' ], + 'węgrowski' => [ 'WE' ], + 'wołomiński' => [ 'WL', 'V' ], + 'wyszkowski' => [ 'WY' ], + 'zwoleński' => [ 'ZW' ], + 'żuromiński' => [ 'ZU' ], + 'żyrardowski' => [ 'ZY' ], + ], + 'O' => [ + 'Opole' => [ 'P' ], + 'brzeski' => [ 'B' ], + 'głubczycki' => [ 'GL' ], + 'kędzierzyńsko-kozielski' => [ 'K' ], + 'kluczborski' => [ 'KL' ], + 'krapkowicki' => [ 'KR' ], + 'namysłowski' => [ 'NA' ], + 'nyski' => [ 'NY' ], + 'oleski' => [ 'OL' ], + 'opolski' => [ 'PO' ], + 'prudnicki' => [ 'PR' ], + 'strzelecki' => [ 'ST' ], + ], + 'R' => [ + 'Krosno' => [ 'K' ], + 'Przemyśl' => [ 'P' ], + 'Rzeszów' => [ 'Z' ], + 'Tarnobrzeg' => [ 'T' ], + 'bieszczadzki' => [ 'BI' ], + 'brzozowski' => [ 'BR' ], + 'dębicki' => [ 'DE' ], + 'jarosławski' => [ 'JA' ], + 'jasielski' => [ 'JS' ], + 'kolbuszowski' => [ 'KL' ], + 'krośnieński' => [ 'KR' ], + 'leski' => [ 'LS' ], + 'leżajski' => [ 'LE' ], + 'lubaczowski' => [ 'LU' ], + 'łańcucki' => [ 'LA' ], + 'mielecki' => [ 'MI' ], + 'niżański' => [ 'NI' ], + 'przemyski' => [ 'PR' ], + 'przeworski' => [ 'PZ' ], + 'ropczycko-sędziszowski' => [ 'RS' ], + 'rzeszowski' => [ 'ZE' ], + 'sanocki' => [ 'SA' ], + 'stalowowolski' => [ 'ST' ], + 'strzyżowski' => [ 'SR' ], + 'tarnobrzeski' => [ 'TA' ], + ], + 'B' => [ + 'Białystok' => [ 'I' ], + 'Łomża' => [ 'L' ], + 'Suwałki' => [ 'S' ], + 'augustowski' => [ 'AU' ], + 'białostocki' => [ 'IA' ], + 'bielski' => [ 'BI' ], + 'grajewski' => [ 'GR' ], + 'hajnowski' => [ 'HA' ], + 'kolneński' => [ 'KL' ], + 'łomżyński' => [ 'LM' ], + 'moniecki' => [ 'MN' ], + 'sejneński' => [ 'SE' ], + 'siemiatycki' => [ 'SI' ], + 'sokólski' => [ 'SK' ], + 'suwalski' => [ 'SU' ], + 'wysokomazowiecki' => [ 'WM' ], + 'zambrowski' => [ 'ZA' ], + ], + 'G' => [ + 'Gdańsk' => [ 'D' ], + 'Gdynia' => [ 'A' ], + 'Słupsk' => [ 'S' ], + 'Sopot' => [ 'SP' ], + 'bytowski' => [ 'BY' ], + 'chojnicki' => [ 'CH' ], + 'człuchowski' => [ 'CZ' ], + 'gdański' => [ 'DA' ], + 'kartuski' => [ 'KY', 'KA' ], + 'kościerski' => [ 'KS' ], + 'kwidzyński' => [ 'KW' ], + 'lęborski' => [ 'LE' ], + 'malborski' => [ 'MB' ], + 'nowodworski' => [ 'ND' ], + 'pucki' => [ 'PU' ], + 'słupski' => [ 'SL' ], + 'starogardzki' => [ 'ST' ], + 'sztumski' => [ 'SZ' ], + 'tczewski' => [ 'TC' ], + 'wejherowski' => [ 'WE', 'WO' ], + ], + 'S' => [ + 'Bielsko-Biała' => [ 'B' ], + 'Bytom' => [ 'Y' ], + 'Chorzów' => [ 'H' ], + 'Częstochowa' => [ 'C' ], + 'Dąbrowa Górnicza' => [ 'D' ], + 'Gliwice' => [ 'G' ], + 'Jastrzębie-Zdrój' => [ 'JZ' ], + 'Jaworzno' => [ 'J' ], + 'Katowice' => [ 'K' ], + 'Mysłowice' => [ 'M' ], + 'Piekary Śląskie' => [ 'PI' ], + 'Ruda Śląska,' => [ 'L', 'RS' ], + 'Rybnik' => [ 'R' ], + 'Siemianowice Śląskie' => [ 'I' ], + 'Sosnowiec' => [ 'O' ], + 'Świętochłowice' => [ 'W' ], + 'Tychy' => [ 'T' ], + 'Zabrze' => [ 'Z' ], + 'Żory' => [ 'ZO' ], + 'będziński' => [ 'BE' ], + 'bielski' => [ 'BI' ], + 'cieszyński' => [ 'CN', 'CI' ], + 'częstochowski' => [ 'CZ' ], + 'gliwicki' => [ 'GL' ], + 'kłobucki' => [ 'KL' ], + 'lubliniecki' => [ 'LU' ], + 'mikołowski' => [ 'MI' ], + 'myszkowski' => [ 'MY' ], + 'pszczyński' => [ 'PS' ], + 'raciborski' => [ 'RC' ], + 'rybnicki' => [ 'RB' ], + 'tarnogórski' => [ 'TA' ], + 'bieruńsko - lędziński' => [ 'BL' ], + 'wodzisławski' => [ 'WD', 'WZ' ], + 'zawierciański' => [ 'ZA' ], + 'żywiecki' => [ 'ZY' ], + ], + 'T' => [ + 'Kielce' => [ 'K' ], + 'buski' => [ 'BU' ], + 'jędrzejowski' => [ 'JE' ], + 'kazimierski' => [ 'KA' ], + 'kielecki' => [ 'KI' ], + 'konecki' => [ 'KN' ], + 'opatowski' => [ 'OP' ], + 'ostrowiecki' => [ 'OS' ], + 'pińczowski' => [ 'PI' ], + 'sandomierski' => [ 'SA' ], + 'skarżyski' => [ 'SK' ], + 'starachowicki' => [ 'ST' ], + 'staszowski' => [ 'SZ' ], + 'włoszczowski' => [ 'LW' ], + ], + 'N' => [ + 'Elbląg' => [ 'E' ], + 'Olsztyn' => [ 'O' ], + 'bartoszycki' => [ 'BA' ], + 'braniewski' => [ 'BR' ], + 'działdowski' => [ 'DZ' ], + 'elbląski' => [ 'EB' ], + 'ełcki' => [ 'EL' ], + 'giżycki' => [ 'GI' ], + 'iławski' => [ 'IL' ], + 'kętrzyński' => [ 'KE' ], + 'lidzbarski' => [ 'LI' ], + 'mrągowski' => [ 'MR' ], + 'nidzicki' => [ 'NI' ], + 'nowomiejski' => [ 'NM' ], + 'olecki' => [ 'OE' ], + 'gołdapski' => [ 'GO' ], + 'olsztyński' => [ 'OL' ], + 'ostródzki' => [ 'OS' ], + 'piski' => [ 'PI' ], + 'szczycieński' => [ 'SZ' ], + 'węgorzewski' => [ 'WE' ], + ], + 'P' => [ + 'Kalisz' => [ 'A', 'K' ], + 'Konin' => [ 'KO', 'N' ], + 'Leszno' => [ 'L' ], + 'Poznań' => [ 'O', 'Y' ], + 'chodzieski' => [ 'CH' ], + 'czarnkowsko-trzcianecki' => [ 'CT' ], + 'gnieźnieński' => [ 'GN' ], + 'gostyński' => [ 'GS' ], + 'grodziski' => [ 'GO' ], + 'jarociński' => [ 'JA' ], + 'kaliski' => [ 'KA' ], + 'kępiński' => [ 'KE' ], + 'kolski' => [ 'KL' ], + 'koniński' => [ 'KN' ], + 'kościański' => [ 'KS' ], + 'krotoszyński' => [ 'KR' ], + 'leszczyński' => [ 'LE' ], + 'międzychodzki' => [ 'MI' ], + 'nowotomyski' => [ 'NT' ], + 'obornicki' => [ 'OB' ], + 'ostrowski' => [ 'OS' ], + 'ostrzeszowski' => [ 'OT' ], + 'pilski' => [ 'P' ], + 'pleszewski' => [ 'PL' ], + 'poznański' => [ 'OZ', 'Z' ], + 'rawicki' => [ 'RA' ], + 'słupecki' => [ 'SL' ], + 'szamotulski' => [ 'SZ' ], + 'średzki' => [ 'SR' ], + 'śremski' => [ 'SE' ], + 'turecki' => [ 'TU' ], + 'wągrowiecki' => [ 'WA' ], + 'wolsztyński' => [ 'WL' ], + 'wrzesiński' => [ 'WR' ], + 'złotowski' => [ 'ZL' ], + ], + 'Z' => [ + 'Koszalin' => [ 'K' ], + 'Szczecin' => [ 'S', 'Z' ], + 'Świnoujście' => [ 'SW' ], + 'białogardzki' => [ 'BI' ], + 'choszczeński' => [ 'CH' ], + 'drawski' => [ 'DR' ], + 'goleniowski' => [ 'GL' ], + 'gryficki' => [ 'GY' ], + 'gryfiński' => [ 'GR' ], + 'kamieński' => [ 'KA' ], + 'kołobrzeski' => [ 'KL' ], + 'koszaliński' => [ 'KO' ], + 'łobeski' => [ 'LO' ], + 'myśliborski' => [ 'MY' ], + 'policki' => [ 'PL' ], + 'pyrzycki' => [ 'PY' ], + 'sławieński' => [ 'SL' ], + 'stargardzki' => [ 'ST' ], + 'szczecinecki' => [ 'SZ' ], + 'świdwiński' => [ 'SD' ], + 'wałecki' => [ 'WA' ], + ], + 'U' => [ + 'Siły Zbrojne Rzeczypospolitej Polskiej' => [ 'A', 'B', 'C', 'D', 'E', 'G', 'I', 'J', 'K', 'L' ], + ], + 'H' => [ + 'Centralne Biuro Antykorupcyjne' => [ 'A' ], + 'Służba Ochrony Państwa' => [ 'BA', 'BB', 'BE', 'BF', 'BG' ], + 'Służba Celno-Skarbowa' => [ + 'CA', + 'CB', + 'CC', + 'CD', + 'CE', + 'CF', + 'CG', + 'CH', + 'CJ', + 'CK', + 'CL', + 'CM', + 'CN', + 'CO', + 'CP', + 'CR' + ], + 'Agencja Bezpieczeństwa Wewnętrznego' => [ 'K' ], + 'Agencja Wywiadu' => [ 'K' ], + 'Służba Kontrwywiadu Wojskowego' => [ 'M' ], + 'Służba Wywiadu Wojskowego' => [ 'M' ], + 'Policja' => [ + 'PA', + 'PB', + 'PC', + 'PD', + 'PE', + 'PF', + 'PG', + 'PH', + 'PJ', + 'PK', + 'PL', + 'PL', + 'PL', + 'PL', + 'PL', + 'PM', + 'PN', + 'PP', + 'PS', + 'PT', + 'PU', + 'PW', + 'PZ' + ], + 'Straż Graniczna' => [ 'WA', 'WK' ], + ], + ]; - /** - * @var array list of regex expressions matching Polish license plate suffixess when county code is 1 character long. - */ - protected static $plateSuffixesGroup1 = [ - '\d{5}', - '\d{4}[A-PR-Z]', - '\d{3}[A-PR-Z]{2}', - '[1-9][A-PR-Z]\d{3}', - '[1-9][A-PR-Z]{2}\d{2}', - ]; + /** + * @var array list of regex expressions matching Polish license plate suffixess when county code is 1 character long. + */ + protected static $plateSuffixesGroup1 = [ + '\d{5}', + '\d{4}[A-PR-Z]', + '\d{3}[A-PR-Z]{2}', + '[1-9][A-PR-Z]\d{3}', + '[1-9][A-PR-Z]{2}\d{2}', + ]; - /** - * @var array list of regex expressions matching Polish license plate suffixess when county code is 2 characters long. - */ - protected static $plateSuffixesGroup2 = [ - '[A-PR-Z]\d{3}', - '\d{2}[A-PR-Z]{2}', - '[1-9][A-PR-Z]\d{2}', - '\d{2}[A-PR-Z][1-9]', - '[1-9][A-PR-Z]{2}[1-9]', - '[A-PR-Z]{2}\d{2}', - '\d{5}', - '\d{4}[A-PR-Z]', - '\d{3}[A-PR-Z]{2}', - '[A-PR-Z]\d{2}[A-PR-Z]', - '[A-PR-Z][1-9][A-PR-Z]{2}', - ]; + /** + * @var array list of regex expressions matching Polish license plate suffixess when county code is 2 characters long. + */ + protected static $plateSuffixesGroup2 = [ + '[A-PR-Z]\d{3}', + '\d{2}[A-PR-Z]{2}', + '[1-9][A-PR-Z]\d{2}', + '\d{2}[A-PR-Z][1-9]', + '[1-9][A-PR-Z]{2}[1-9]', + '[A-PR-Z]{2}\d{2}', + '\d{5}', + '\d{4}[A-PR-Z]', + '\d{3}[A-PR-Z]{2}', + '[A-PR-Z]\d{2}[A-PR-Z]', + '[A-PR-Z][1-9][A-PR-Z]{2}', + ]; - /** - * Generates random license plate. - * - * @param bool $special whether special license plates should be included - * @param array|null $voivodeships list of voivodeships license plate should be generated from - * @param array|null $counties list of counties license plate should be generated from - */ - public static function licensePlate( - bool $special = false, - ?array $voivodeships = null, - ?array $counties = null - ): string { - $voivodeshipsAvailable = static::$voivodeships + ($special ? static::$specials : []); - $voivodeshipCode = static::selectRandomArea($voivodeshipsAvailable, $voivodeships); + /** + * Generates random license plate. + * + * @param bool $special whether special license plates should be included + * @param array|null $voivodeships list of voivodeships license plate should be generated from + * @param array|null $counties list of counties license plate should be generated from + */ + public static function licensePlate( + bool $special = false, + ?array $voivodeships = null, + ?array $counties = null + ): string { + $voivodeshipsAvailable = static::$voivodeships + ( $special ? static::$specials : [] ); + $voivodeshipCode = static::selectRandomArea( $voivodeshipsAvailable, $voivodeships ); - $countiesAvailable = static::$counties[$voivodeshipCode]; - $countySelected = self::selectRandomArea($countiesAvailable, $counties); + $countiesAvailable = static::$counties[ $voivodeshipCode ]; + $countySelected = self::selectRandomArea( $countiesAvailable, $counties ); - $countyCode = static::randomElement($countySelected); + $countyCode = static::randomElement( $countySelected ); - $suffix = static::regexify(static::randomElement(strlen($countyCode) === 1 ? static::$plateSuffixesGroup1 : static::$plateSuffixesGroup2)); + $suffix = static::regexify( static::randomElement( strlen( $countyCode ) === 1 ? static::$plateSuffixesGroup1 : static::$plateSuffixesGroup2 ) ); - return "{$voivodeshipCode}{$countyCode} {$suffix}"; - } + return "{$voivodeshipCode}{$countyCode} {$suffix}"; + } - /** - * Selects random area from the list of available and requested. - */ - protected static function selectRandomArea(array $available, ?array $requested) - { - $requested = array_intersect(array_keys($available), $requested ?? []); + /** + * Selects random area from the list of available and requested. + */ + protected static function selectRandomArea( array $available, ?array $requested ) { + $requested = array_intersect( array_keys( $available ), $requested ?? [] ); - if (empty($requested)) { - $requested = array_keys($available); - } + if ( empty( $requested ) ) { + $requested = array_keys( $available ); + } - return $available[static::randomElement($requested)]; - } + return $available[ static::randomElement( $requested ) ]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Payment.php index f2a6030..49eb11d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Payment.php @@ -2,119 +2,115 @@ namespace Faker\Provider\pl_PL; -class Payment extends \Faker\Provider\Payment -{ - /** - * @var array list of Polish banks, source: https://ewib.nbp.pl/ - */ - protected static $banks = [ - '101' => 'Narodowy Bank Polski', - '102' => 'Powszechna Kasa Oszczędności Bank Polski Spółka Akcyjna', - '103' => 'Bank Handlowy w Warszawie Spółka Akcyjna', - '105' => 'ING Bank Śląski Spółka Akcyjna', - '106' => 'Bank BPH Spółka Akcyjna', - '109' => 'Santander Bank Polska Spółka Akcyjna', - '113' => 'Bank Gospodarstwa Krajowego', - '114' => 'mBank Spółka Akcyjna', - '116' => 'Bank Millennium Spółka Akcyjna', - '122' => 'Bank Handlowo-Kredytowy Spółka Akcyjna w Katowicach w likwidacji', - '124' => 'Bank Polska Kasa Opieki Spółka Akcyjna', - '132' => 'Bank Pocztowy Spółka Akcyjna', - '154' => 'Bank Ochrony Środowiska Spółka Akcyjna', - '158' => 'Mercedes-Benz Bank Polska Spółka Akcyjna', - '161' => 'SGB-Bank Spółka Akcyjna', - '168' => 'PLUS BANK Spółka Akcyjna', - '184' => 'Société Générale Spółka Akcyjna Oddział w Polsce', - '187' => 'Nest Bank Spółka Akcyjna', - '189' => 'Pekao Bank Hipoteczny Spółka Akcyjna', - '191' => 'Deutsche Bank Polska Spółka Akcyjna', - '193' => 'BANK POLSKIEJ SPÓŁDZIELCZOŚCI SPÓŁKA AKCYJNA', - '194' => 'Credit Agricole Bank Polska Spółka Akcyjna', - '195' => 'Idea Bank Spółka Akcyjna', - '203' => 'BNP Paribas Bank Polska Spółka Akcyjna', - '212' => 'Santander Consumer Bank Spółka Akcyjna', - '215' => 'mBank Hipoteczny Spółka Akcyjna', - '216' => 'Toyota Bank Polska Spółka Akcyjna', - '219' => 'DNB Bank Polska Spółka Akcyjna', - '224' => 'Banque PSA Finance Spółka Akcyjna Oddział w Polsce', - '225' => 'Svenska Handelsbanken AB Spółka Akcyjna Oddział w Polsce', - '235' => 'BNP Paribas S.A. Oddział w Polsce ', - '236' => 'Danske Bank A/S Spółka Akcyjna Oddział w Polsce', - '237' => 'Skandinaviska Enskilda Banken AB (Spółka Akcyjna) - Oddział w Polsce', - '239' => 'CAIXABANK, S.A. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE', - '241' => 'Elavon Financial Services Designated Activity Company (Spółka z O.O. o Wyznaczonym Przedmiocie Działalności) Oddział w Polsce', - '243' => 'BNP Paribas Securities Services Spółka Komandytowo - Akcyjna Oddział w Polsce', - '247' => 'HAITONG BANK, S.A. Spółka Akcyjna Oddział w Polsce', - '248' => 'Getin Noble Bank Spółka Akcyjna', - '249' => 'Alior Bank Spółka Akcyjna', - '251' => 'Aareal Bank Aktiengesellschaft (Spółka Akcyjna) - Oddział w Polsce', - '254' => 'Citibank Europe plc (Publiczna Spółka Akcyjna) Oddział w Polsce', - '255' => 'Ikano Bank AB (publ) Spółka Akcyjna Oddział w Polsce', - '256' => 'Nordea Bank Abp Spółka Akcyjna Oddział w Polsce', - '258' => 'J.P. Morgan Europe Limited Spółka z ograniczoną odpowiedzialnością Oddział w Polsce', - '260' => 'Bank of China (Luxembourg) S.A. Spółka Akcyjna Oddział w Polsce', - '262' => 'Industrial and Commercial Bank of China (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', - '264' => 'RCI Banque Spółka Akcyjna Oddział w Polsce', - '265' => 'EUROCLEAR Bank SA/NV (Spółka Akcyjna) - Oddział w Polsce', - '266' => 'Intesa Sanpaolo S.p.A. Spółka Akcyjna Oddział w Polsce', - '267' => 'Western Union International Bank GmbH, Sp. z o.o. Oddział w Polsce', - '269' => 'PKO Bank Hipoteczny Spółka Akcyjna', - '270' => 'TF BANK AB (Spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', - '271' => 'FCE Bank Spółka Akcyjna Oddział w Polsce', - '272' => 'AS Inbank Spółka Akcyjna - Oddział w Polsce', - '273' => 'China Construction Bank (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', - '274' => 'MUFG Bank (Europe) N.V. S.A. Oddział w Polsce', - '275' => 'John Deere Bank S.A. Spółka Akcyjna Oddział w Polsce ', - '277' => 'Volkswagen Bank GmbH Spółka z ograniczoną odpowiedzialnością Oddział w Polsce', - '278' => 'ING Bank Hipoteczny Spółka Akcyjna', - '279' => 'Raiffeisen Bank International AG (Spółka Akcyjna) Oddział w Polsce', - '280' => 'HSBC France (Spółka Akcyjna) Oddział w Polsce', - '281' => 'Goldman Sachs Bank Europe SE Spółka Europejska Oddział w Polsce', - '283' => 'J.P. Morgan AG (Spółka Akcyjna) Oddział w Polsce', - '284' => 'UBS Europe SE (Spółka Europejska) Oddział w Polsce', - '285' => 'Banca Farmafactoring S.p.A. Spółka Akcyjna Oddział w Polsce', - '286' => 'FCA Bank S.p.A. Spółka Akcyjna Oddział w Polsce', - '287' => 'Bank Nowy BFG Spółka Akcyjna', - '288' => 'ALLFUNDS BANK S.A.U. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @var array list of Polish banks, source: https://ewib.nbp.pl/ + */ + protected static $banks = [ + '101' => 'Narodowy Bank Polski', + '102' => 'Powszechna Kasa Oszczędności Bank Polski Spółka Akcyjna', + '103' => 'Bank Handlowy w Warszawie Spółka Akcyjna', + '105' => 'ING Bank Śląski Spółka Akcyjna', + '106' => 'Bank BPH Spółka Akcyjna', + '109' => 'Santander Bank Polska Spółka Akcyjna', + '113' => 'Bank Gospodarstwa Krajowego', + '114' => 'mBank Spółka Akcyjna', + '116' => 'Bank Millennium Spółka Akcyjna', + '122' => 'Bank Handlowo-Kredytowy Spółka Akcyjna w Katowicach w likwidacji', + '124' => 'Bank Polska Kasa Opieki Spółka Akcyjna', + '132' => 'Bank Pocztowy Spółka Akcyjna', + '154' => 'Bank Ochrony Środowiska Spółka Akcyjna', + '158' => 'Mercedes-Benz Bank Polska Spółka Akcyjna', + '161' => 'SGB-Bank Spółka Akcyjna', + '168' => 'PLUS BANK Spółka Akcyjna', + '184' => 'Société Générale Spółka Akcyjna Oddział w Polsce', + '187' => 'Nest Bank Spółka Akcyjna', + '189' => 'Pekao Bank Hipoteczny Spółka Akcyjna', + '191' => 'Deutsche Bank Polska Spółka Akcyjna', + '193' => 'BANK POLSKIEJ SPÓŁDZIELCZOŚCI SPÓŁKA AKCYJNA', + '194' => 'Credit Agricole Bank Polska Spółka Akcyjna', + '195' => 'Idea Bank Spółka Akcyjna', + '203' => 'BNP Paribas Bank Polska Spółka Akcyjna', + '212' => 'Santander Consumer Bank Spółka Akcyjna', + '215' => 'mBank Hipoteczny Spółka Akcyjna', + '216' => 'Toyota Bank Polska Spółka Akcyjna', + '219' => 'DNB Bank Polska Spółka Akcyjna', + '224' => 'Banque PSA Finance Spółka Akcyjna Oddział w Polsce', + '225' => 'Svenska Handelsbanken AB Spółka Akcyjna Oddział w Polsce', + '235' => 'BNP Paribas S.A. Oddział w Polsce ', + '236' => 'Danske Bank A/S Spółka Akcyjna Oddział w Polsce', + '237' => 'Skandinaviska Enskilda Banken AB (Spółka Akcyjna) - Oddział w Polsce', + '239' => 'CAIXABANK, S.A. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE', + '241' => 'Elavon Financial Services Designated Activity Company (Spółka z O.O. o Wyznaczonym Przedmiocie Działalności) Oddział w Polsce', + '243' => 'BNP Paribas Securities Services Spółka Komandytowo - Akcyjna Oddział w Polsce', + '247' => 'HAITONG BANK, S.A. Spółka Akcyjna Oddział w Polsce', + '248' => 'Getin Noble Bank Spółka Akcyjna', + '249' => 'Alior Bank Spółka Akcyjna', + '251' => 'Aareal Bank Aktiengesellschaft (Spółka Akcyjna) - Oddział w Polsce', + '254' => 'Citibank Europe plc (Publiczna Spółka Akcyjna) Oddział w Polsce', + '255' => 'Ikano Bank AB (publ) Spółka Akcyjna Oddział w Polsce', + '256' => 'Nordea Bank Abp Spółka Akcyjna Oddział w Polsce', + '258' => 'J.P. Morgan Europe Limited Spółka z ograniczoną odpowiedzialnością Oddział w Polsce', + '260' => 'Bank of China (Luxembourg) S.A. Spółka Akcyjna Oddział w Polsce', + '262' => 'Industrial and Commercial Bank of China (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', + '264' => 'RCI Banque Spółka Akcyjna Oddział w Polsce', + '265' => 'EUROCLEAR Bank SA/NV (Spółka Akcyjna) - Oddział w Polsce', + '266' => 'Intesa Sanpaolo S.p.A. Spółka Akcyjna Oddział w Polsce', + '267' => 'Western Union International Bank GmbH, Sp. z o.o. Oddział w Polsce', + '269' => 'PKO Bank Hipoteczny Spółka Akcyjna', + '270' => 'TF BANK AB (Spółka z ograniczoną odpowiedzialnością) Oddział w Polsce', + '271' => 'FCE Bank Spółka Akcyjna Oddział w Polsce', + '272' => 'AS Inbank Spółka Akcyjna - Oddział w Polsce', + '273' => 'China Construction Bank (Europe) S.A. (Spółka Akcyjna) Oddział w Polsce', + '274' => 'MUFG Bank (Europe) N.V. S.A. Oddział w Polsce', + '275' => 'John Deere Bank S.A. Spółka Akcyjna Oddział w Polsce ', + '277' => 'Volkswagen Bank GmbH Spółka z ograniczoną odpowiedzialnością Oddział w Polsce', + '278' => 'ING Bank Hipoteczny Spółka Akcyjna', + '279' => 'Raiffeisen Bank International AG (Spółka Akcyjna) Oddział w Polsce', + '280' => 'HSBC France (Spółka Akcyjna) Oddział w Polsce', + '281' => 'Goldman Sachs Bank Europe SE Spółka Europejska Oddział w Polsce', + '283' => 'J.P. Morgan AG (Spółka Akcyjna) Oddział w Polsce', + '284' => 'UBS Europe SE (Spółka Europejska) Oddział w Polsce', + '285' => 'Banca Farmafactoring S.p.A. Spółka Akcyjna Oddział w Polsce', + '286' => 'FCA Bank S.p.A. Spółka Akcyjna Oddział w Polsce', + '287' => 'Bank Nowy BFG Spółka Akcyjna', + '288' => 'ALLFUNDS BANK S.A.U. (SPÓŁKA AKCYJNA) ODDZIAŁ W POLSCE', + ]; - /** - * @example 'Euro Bank SA' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Euro Bank SA' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'PL', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'PL', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - protected static function addBankCodeChecksum($iban, $countryCode = 'PL') - { - if ($countryCode != 'PL' || strlen($iban) <= 8) { - return $iban; - } - $checksum = 0; - $weights = [7, 1, 3, 9, 7, 1, 3]; + protected static function addBankCodeChecksum( $iban, $countryCode = 'PL' ) { + if ( $countryCode != 'PL' || strlen( $iban ) <= 8 ) { + return $iban; + } + $checksum = 0; + $weights = [ 7, 1, 3, 9, 7, 1, 3 ]; - for ($i = 0; $i < 7; ++$i) { - $checksum += $weights[$i] * (int) $iban[$i]; - } - $checksum = $checksum % 10; + for ( $i = 0; $i < 7; ++ $i ) { + $checksum += $weights[ $i ] * (int) $iban[ $i ]; + } + $checksum = $checksum % 10; - return substr($iban, 0, 7) . $checksum . substr($iban, 8); - } + return substr( $iban, 0, 7 ) . $checksum . substr( $iban, 8 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Person.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Person.php index 6d7312d..988becc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Person.php @@ -7,237 +7,608 @@ * * @see https://msw.gov.pl/pl/sprawy-obywatelskie/ewidencja-ludnosci-dowo/statystyki-imion-i-nazw */ -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; - - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{title}} {{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{title}} {{title}} {{firstNameMale}} {{lastNameMale}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{title}} {{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{title}} {{title}} {{firstNameFemale}} {{lastNameFemale}}', - ]; - - protected static $firstNameMale = [ - 'Adam', 'Adrian', 'Alan', 'Albert', 'Aleks', 'Aleksander', 'Alex', 'Andrzej', 'Antoni', 'Arkadiusz', 'Artur', - 'Bartek', 'Błażej', 'Borys', 'Bruno', 'Cezary', 'Cyprian', 'Damian', 'Daniel', 'Dariusz', 'Dawid', 'Dominik', - 'Emil', 'Ernest', 'Eryk', 'Fabian', 'Filip', 'Franciszek', 'Fryderyk', 'Gabriel', 'Grzegorz', 'Gustaw', 'Hubert', - 'Ignacy', 'Igor', 'Iwo', 'Jacek', 'Jakub', 'Jan', 'Jeremi', 'Jerzy', 'Jędrzej', 'Józef', 'Julian', 'Juliusz', - 'Kacper', 'Kajetan', 'Kamil', 'Karol', 'Kazimierz', 'Konrad', 'Konstanty', 'Kornel', 'Krystian', 'Krzysztof', 'Ksawery', - 'Leon', 'Leonard', 'Łukasz', 'Maciej', 'Maks', 'Maksymilian', 'Marcel', 'Marcin', 'Marek', 'Mariusz', 'Mateusz', 'Maurycy', - 'Michał', 'Mieszko', 'Mikołaj', 'Miłosz', 'Natan', 'Nataniel', 'Nikodem', 'Norbert', 'Olaf', 'Olgierd', 'Oliwier', 'Oskar', - 'Patryk', 'Paweł', 'Piotr', 'Przemysław', 'Radosław', 'Rafał', 'Robert', 'Ryszard', 'Sebastian', 'Stanisław', 'Stefan', 'Szymon', - 'Tadeusz', 'Tomasz', 'Tymon', 'Tymoteusz', 'Wiktor', 'Witold', 'Wojciech', - ]; - - protected static $firstNameFemale = [ - 'Ada', 'Adrianna', 'Agata', 'Agnieszka', 'Aleksandra', 'Alicja', 'Amelia', 'Anastazja', 'Angelika', 'Aniela', 'Anita', - 'Anna', 'Anna', 'Antonina', 'Apolonia', 'Aurelia', 'Barbara', 'Bianka', 'Blanka', 'Dagmara', 'Daria', 'Dominika', 'Dorota', - 'Eliza', 'Elżbieta', 'Emilia', 'Ewa', 'Ewelina', 'Gabriela', 'Hanna', 'Helena', 'Ida', 'Iga', 'Inga', 'Izabela', - 'Jagoda', 'Janina', 'Joanna', 'Julia', 'Julianna', 'Julita', 'Justyna', 'Kaja', 'Kalina', 'Kamila', 'Karina', 'Karolina', - 'Katarzyna', 'Kinga', 'Klara', 'Klaudia', 'Kornelia', 'Krystyna', 'Laura', 'Lena', 'Lidia', 'Liliana', 'Liwia', 'Łucja', - 'Magdalena', 'Maja', 'Malwina', 'Małgorzata', 'Marcelina', 'Maria', 'Marianna', 'Marika', 'Marta', 'Martyna', 'Matylda', - 'Melania', 'Michalina', 'Milena', 'Monika', 'Nadia', 'Natalia', 'Natasza', 'Nela', 'Nicole', 'Nikola', 'Nina', - 'Olga', 'Oliwia', 'Patrycja', 'Paulina', 'Pola', 'Roksana', 'Rozalia', 'Róża', 'Sandra', 'Sara', 'Sonia', 'Sylwia', - 'Tola', 'Urszula', 'Weronika', 'Wiktoria', 'Zofia', 'Zuzanna', - ]; - - protected static $lastNameMale = [ - 'Adamczyk', 'Adamski', 'Andrzejewski', 'Baran', 'Baranowski', 'Bąk', 'Błaszczyk', 'Borkowski', 'Borowski', 'Brzeziński', - 'Chmielewski', 'Cieślak', 'Czarnecki', 'Czerwiński', 'Dąbrowski', 'Duda', 'Dudek', 'Gajewski', 'Głowacki', 'Górski', 'Grabowski', - 'Jabłoński', 'Jakubowski', 'Jankowski', 'Jasiński', 'Jaworski', 'Kaczmarczyk', 'Kaczmarek', 'Kalinowski', 'Kamiński', 'Kaźmierczak', - 'Kołodziej', 'Konieczny', 'Kowalczyk', 'Kowalski', 'Kozłowski', 'Krajewski', 'Krawczyk', 'Król', 'Krupa', 'Kubiak', 'Kucharski', 'Kwiatkowski', - 'Laskowski', 'Lewandowski', 'Lis', 'Maciejewski', 'Majewski', 'Makowski', 'Malinowski', 'Marciniak', 'Mazur', 'Mazurek', 'Michalak', - 'Michalski', 'Mróz', 'Nowak', 'Nowakowski', 'Nowicki', 'Olszewski', 'Ostrowski', 'Pawlak', 'Pawłowski', 'Pietrzak', 'Piotrowski', 'Przybylski', - 'Rutkowski', 'Sadowski', 'Sawicki', 'Sikora', 'Sikorski', 'Sobczak', 'Sokołowski', 'Stępień', 'Szczepański', 'Szewczyk', 'Szulc', 'Szymański', 'Szymczak', - 'Tomaszewski', 'Urbański', 'Walczak', 'Wasilewski', 'Wieczorek', 'Wilk', 'Wiśniewski', 'Witkowski', 'Włodarczyk', 'Wojciechowski', - 'Woźniak', 'Wójcik', 'Wróbel', 'Wróblewski', 'Wysocki', 'Zając', 'Zakrzewski', 'Zalewski', 'Zawadzki', 'Zieliński', 'Ziółkowski', - ]; - - protected static $lastNameFemale = [ - 'Adamczyk', 'Adamska', 'Andrzejewska', 'Baran', 'Baranowska', 'Bąk', 'Błaszczyk', 'Borkowska', 'Borowska', 'Brzezińska', - 'Chmielewska', 'Cieślak', 'Czarnecka', 'Czerwińska', 'Dąbrowska', 'Duda', 'Dudek', 'Gajewska', 'Głowacka', 'Górecka', 'Górska', 'Grabowska', - 'Jabłońska', 'Jakubowska', 'Jankowska', 'Jasińska', 'Jaworska', 'Kaczmarczyk', 'Kaczmarek', 'Kalinowska', 'Kamińska', 'Kaźmierczak', - 'Kołodziej', 'Kowalczyk', 'Kowalska', 'Kozłowska', 'Krajewska', 'Krawczyk', 'Król', 'Krupa', 'Kubiak', 'Kucharska', 'Kwiatkowska', - 'Laskowska', 'Lewandowska', 'Lis', 'Maciejewska', 'Majewska', 'Makowska', 'Malinowska', 'Marciniak', 'Mazur', 'Mazurek', 'Michalak', - 'Michalska', 'Mróz', 'Nowak', 'Nowakowska', 'Nowicka', 'Olszewska', 'Ostrowska', 'Pawlak', 'Pawłowska', 'Pietrzak', 'Piotrowska', 'Przybylska', - 'Rutkowska', 'Sadowska', 'Sawicka', 'Sikora', 'Sikorska', 'Sobczak', 'Sokołowska', 'Stępień', 'Szczepańska', 'Szewczyk', 'Szulc', 'Szymańska', 'Szymczak', - 'Tomaszewska', 'Urbańska', 'Walczak', 'Wasilewska', 'Wieczorek', 'Wilk', 'Wiśniewska', 'Witkowska', 'Włodarczyk', 'Wojciechowska', - 'Woźniak', 'Wójcik', 'Wróbel', 'Wróblewska', 'Wysocka', 'Zając', 'Zakrzewska', 'Zalewska', 'Zawadzka', 'Zielińska', 'Ziółkowska', - ]; - - /** - * Unisex academic degree - * - * @var string[] - */ - protected static $title = ['mgr', 'inż.', 'dr', 'doc.']; - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Adamczyk' - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } - - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } - - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } - - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } - - public function title($gender = null) - { - return static::randomElement(static::$title); - } - - /** - * replaced by specific unisex Polish title - */ - public static function titleMale() - { - return static::randomElement(static::$title); - } - - /** - * replaced by specific unisex Polish title - */ - public static function titleFemale() - { - return static::randomElement(static::$title); - } - - /** - * PESEL - Universal Electronic System for Registration of the Population - * - * @see http://en.wikipedia.org/wiki/PESEL - * - * @param DateTime $birthdate - * @param string $sex M for male or F for female - * - * @return string 11 digit number, like 44051401358 - */ - public static function pesel($birthdate = null, $sex = null) - { - if ($birthdate === null) { - $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); - } - - $weights = [1, 3, 7, 9, 1, 3, 7, 9, 1, 3]; - $length = count($weights); - - $fullYear = (int) $birthdate->format('Y'); - $year = (int) $birthdate->format('y'); - $month = $birthdate->format('m') + (((int) ($fullYear / 100) - 14) % 5) * 20; - $day = $birthdate->format('d'); - - $result = [(int) ($year / 10), $year % 10, (int) ($month / 10), $month % 10, (int) ($day / 10), $day % 10]; - - for ($i = 6; $i < $length; ++$i) { - $result[$i] = static::randomDigit(); - } - - $result[$length - 1] |= 1; - - if ($sex == 'F') { - $result[$length - 1] -= 1; - } - - $checksum = 0; - - for ($i = 0; $i < $length; ++$i) { - $checksum += $weights[$i] * $result[$i]; - } - $checksum = (10 - ($checksum % 10)) % 10; - $result[] = $checksum; - - return implode('', $result); - } - - /** - * National Identity Card number - * - * @see http://en.wikipedia.org/wiki/Polish_National_Identity_Card - * - * @return string 3 letters and 6 digits, like ABA300000 - */ - public static function personalIdentityNumber() - { - $range = str_split('ABCDEFGHIJKLMNPRSTUVWXYZ'); - $low = ['A', static::randomElement($range), static::randomElement($range)]; - $high = [static::randomDigit(), static::randomDigit(), static::randomDigit(), static::randomDigit(), static::randomDigit()]; - $weights = [7, 3, 1, 7, 3, 1, 7, 3]; - $checksum = 0; - - for ($i = 0, $size = count($low); $i < $size; ++$i) { - $checksum += $weights[$i] * (ord($low[$i]) - 55); - } - - for ($i = 0, $size = count($high); $i < $size; ++$i) { - $checksum += $weights[$i + 3] * $high[$i]; - } - $checksum %= 10; - - return implode('', $low) . $checksum . implode('', $high); - } - - /** - * Taxpayer Identification Number (NIP in Polish) - * - * @see http://en.wikipedia.org/wiki/PESEL#Other_identifiers - * @see http://pl.wikipedia.org/wiki/NIP - * - * @return string 10 digit number - */ - public static function taxpayerIdentificationNumber() - { - $weights = [6, 5, 7, 2, 3, 4, 5, 6, 7]; - $result = []; - - do { - $result = [ - static::randomDigitNotNull(), static::randomDigitNotNull(), static::randomDigitNotNull(), - static::randomDigit(), static::randomDigit(), static::randomDigit(), - static::randomDigit(), static::randomDigit(), static::randomDigit(), - ]; - $checksum = 0; - - for ($i = 0, $size = count($result); $i < $size; ++$i) { - $checksum += $weights[$i] * $result[$i]; - } - $checksum %= 11; - } while ($checksum == 10); - $result[] = $checksum; - - return implode('', $result); - } +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; + + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{title}} {{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{title}} {{title}} {{firstNameMale}} {{lastNameMale}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{title}} {{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{title}} {{title}} {{firstNameFemale}} {{lastNameFemale}}', + ]; + + protected static $firstNameMale = [ + 'Adam', + 'Adrian', + 'Alan', + 'Albert', + 'Aleks', + 'Aleksander', + 'Alex', + 'Andrzej', + 'Antoni', + 'Arkadiusz', + 'Artur', + 'Bartek', + 'Błażej', + 'Borys', + 'Bruno', + 'Cezary', + 'Cyprian', + 'Damian', + 'Daniel', + 'Dariusz', + 'Dawid', + 'Dominik', + 'Emil', + 'Ernest', + 'Eryk', + 'Fabian', + 'Filip', + 'Franciszek', + 'Fryderyk', + 'Gabriel', + 'Grzegorz', + 'Gustaw', + 'Hubert', + 'Ignacy', + 'Igor', + 'Iwo', + 'Jacek', + 'Jakub', + 'Jan', + 'Jeremi', + 'Jerzy', + 'Jędrzej', + 'Józef', + 'Julian', + 'Juliusz', + 'Kacper', + 'Kajetan', + 'Kamil', + 'Karol', + 'Kazimierz', + 'Konrad', + 'Konstanty', + 'Kornel', + 'Krystian', + 'Krzysztof', + 'Ksawery', + 'Leon', + 'Leonard', + 'Łukasz', + 'Maciej', + 'Maks', + 'Maksymilian', + 'Marcel', + 'Marcin', + 'Marek', + 'Mariusz', + 'Mateusz', + 'Maurycy', + 'Michał', + 'Mieszko', + 'Mikołaj', + 'Miłosz', + 'Natan', + 'Nataniel', + 'Nikodem', + 'Norbert', + 'Olaf', + 'Olgierd', + 'Oliwier', + 'Oskar', + 'Patryk', + 'Paweł', + 'Piotr', + 'Przemysław', + 'Radosław', + 'Rafał', + 'Robert', + 'Ryszard', + 'Sebastian', + 'Stanisław', + 'Stefan', + 'Szymon', + 'Tadeusz', + 'Tomasz', + 'Tymon', + 'Tymoteusz', + 'Wiktor', + 'Witold', + 'Wojciech', + ]; + + protected static $firstNameFemale = [ + 'Ada', + 'Adrianna', + 'Agata', + 'Agnieszka', + 'Aleksandra', + 'Alicja', + 'Amelia', + 'Anastazja', + 'Angelika', + 'Aniela', + 'Anita', + 'Anna', + 'Anna', + 'Antonina', + 'Apolonia', + 'Aurelia', + 'Barbara', + 'Bianka', + 'Blanka', + 'Dagmara', + 'Daria', + 'Dominika', + 'Dorota', + 'Eliza', + 'Elżbieta', + 'Emilia', + 'Ewa', + 'Ewelina', + 'Gabriela', + 'Hanna', + 'Helena', + 'Ida', + 'Iga', + 'Inga', + 'Izabela', + 'Jagoda', + 'Janina', + 'Joanna', + 'Julia', + 'Julianna', + 'Julita', + 'Justyna', + 'Kaja', + 'Kalina', + 'Kamila', + 'Karina', + 'Karolina', + 'Katarzyna', + 'Kinga', + 'Klara', + 'Klaudia', + 'Kornelia', + 'Krystyna', + 'Laura', + 'Lena', + 'Lidia', + 'Liliana', + 'Liwia', + 'Łucja', + 'Magdalena', + 'Maja', + 'Malwina', + 'Małgorzata', + 'Marcelina', + 'Maria', + 'Marianna', + 'Marika', + 'Marta', + 'Martyna', + 'Matylda', + 'Melania', + 'Michalina', + 'Milena', + 'Monika', + 'Nadia', + 'Natalia', + 'Natasza', + 'Nela', + 'Nicole', + 'Nikola', + 'Nina', + 'Olga', + 'Oliwia', + 'Patrycja', + 'Paulina', + 'Pola', + 'Roksana', + 'Rozalia', + 'Róża', + 'Sandra', + 'Sara', + 'Sonia', + 'Sylwia', + 'Tola', + 'Urszula', + 'Weronika', + 'Wiktoria', + 'Zofia', + 'Zuzanna', + ]; + + protected static $lastNameMale = [ + 'Adamczyk', + 'Adamski', + 'Andrzejewski', + 'Baran', + 'Baranowski', + 'Bąk', + 'Błaszczyk', + 'Borkowski', + 'Borowski', + 'Brzeziński', + 'Chmielewski', + 'Cieślak', + 'Czarnecki', + 'Czerwiński', + 'Dąbrowski', + 'Duda', + 'Dudek', + 'Gajewski', + 'Głowacki', + 'Górski', + 'Grabowski', + 'Jabłoński', + 'Jakubowski', + 'Jankowski', + 'Jasiński', + 'Jaworski', + 'Kaczmarczyk', + 'Kaczmarek', + 'Kalinowski', + 'Kamiński', + 'Kaźmierczak', + 'Kołodziej', + 'Konieczny', + 'Kowalczyk', + 'Kowalski', + 'Kozłowski', + 'Krajewski', + 'Krawczyk', + 'Król', + 'Krupa', + 'Kubiak', + 'Kucharski', + 'Kwiatkowski', + 'Laskowski', + 'Lewandowski', + 'Lis', + 'Maciejewski', + 'Majewski', + 'Makowski', + 'Malinowski', + 'Marciniak', + 'Mazur', + 'Mazurek', + 'Michalak', + 'Michalski', + 'Mróz', + 'Nowak', + 'Nowakowski', + 'Nowicki', + 'Olszewski', + 'Ostrowski', + 'Pawlak', + 'Pawłowski', + 'Pietrzak', + 'Piotrowski', + 'Przybylski', + 'Rutkowski', + 'Sadowski', + 'Sawicki', + 'Sikora', + 'Sikorski', + 'Sobczak', + 'Sokołowski', + 'Stępień', + 'Szczepański', + 'Szewczyk', + 'Szulc', + 'Szymański', + 'Szymczak', + 'Tomaszewski', + 'Urbański', + 'Walczak', + 'Wasilewski', + 'Wieczorek', + 'Wilk', + 'Wiśniewski', + 'Witkowski', + 'Włodarczyk', + 'Wojciechowski', + 'Woźniak', + 'Wójcik', + 'Wróbel', + 'Wróblewski', + 'Wysocki', + 'Zając', + 'Zakrzewski', + 'Zalewski', + 'Zawadzki', + 'Zieliński', + 'Ziółkowski', + ]; + + protected static $lastNameFemale = [ + 'Adamczyk', + 'Adamska', + 'Andrzejewska', + 'Baran', + 'Baranowska', + 'Bąk', + 'Błaszczyk', + 'Borkowska', + 'Borowska', + 'Brzezińska', + 'Chmielewska', + 'Cieślak', + 'Czarnecka', + 'Czerwińska', + 'Dąbrowska', + 'Duda', + 'Dudek', + 'Gajewska', + 'Głowacka', + 'Górecka', + 'Górska', + 'Grabowska', + 'Jabłońska', + 'Jakubowska', + 'Jankowska', + 'Jasińska', + 'Jaworska', + 'Kaczmarczyk', + 'Kaczmarek', + 'Kalinowska', + 'Kamińska', + 'Kaźmierczak', + 'Kołodziej', + 'Kowalczyk', + 'Kowalska', + 'Kozłowska', + 'Krajewska', + 'Krawczyk', + 'Król', + 'Krupa', + 'Kubiak', + 'Kucharska', + 'Kwiatkowska', + 'Laskowska', + 'Lewandowska', + 'Lis', + 'Maciejewska', + 'Majewska', + 'Makowska', + 'Malinowska', + 'Marciniak', + 'Mazur', + 'Mazurek', + 'Michalak', + 'Michalska', + 'Mróz', + 'Nowak', + 'Nowakowska', + 'Nowicka', + 'Olszewska', + 'Ostrowska', + 'Pawlak', + 'Pawłowska', + 'Pietrzak', + 'Piotrowska', + 'Przybylska', + 'Rutkowska', + 'Sadowska', + 'Sawicka', + 'Sikora', + 'Sikorska', + 'Sobczak', + 'Sokołowska', + 'Stępień', + 'Szczepańska', + 'Szewczyk', + 'Szulc', + 'Szymańska', + 'Szymczak', + 'Tomaszewska', + 'Urbańska', + 'Walczak', + 'Wasilewska', + 'Wieczorek', + 'Wilk', + 'Wiśniewska', + 'Witkowska', + 'Włodarczyk', + 'Wojciechowska', + 'Woźniak', + 'Wójcik', + 'Wróbel', + 'Wróblewska', + 'Wysocka', + 'Zając', + 'Zakrzewska', + 'Zalewska', + 'Zawadzka', + 'Zielińska', + 'Ziółkowska', + ]; + + /** + * Unisex academic degree + * + * @var string[] + */ + protected static $title = [ 'mgr', 'inż.', 'dr', 'doc.' ]; + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Adamczyk' + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } + + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } + + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } + + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } + + public function title( $gender = null ) { + return static::randomElement( static::$title ); + } + + /** + * replaced by specific unisex Polish title + */ + public static function titleMale() { + return static::randomElement( static::$title ); + } + + /** + * replaced by specific unisex Polish title + */ + public static function titleFemale() { + return static::randomElement( static::$title ); + } + + /** + * PESEL - Universal Electronic System for Registration of the Population + * + * @see http://en.wikipedia.org/wiki/PESEL + * + * @param DateTime $birthdate + * @param string $sex M for male or F for female + * + * @return string 11 digit number, like 44051401358 + */ + public static function pesel( $birthdate = null, $sex = null ) { + if ( $birthdate === null ) { + $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); + } + + $weights = [ 1, 3, 7, 9, 1, 3, 7, 9, 1, 3 ]; + $length = count( $weights ); + + $fullYear = (int) $birthdate->format( 'Y' ); + $year = (int) $birthdate->format( 'y' ); + $month = $birthdate->format( 'm' ) + ( ( (int) ( $fullYear / 100 ) - 14 ) % 5 ) * 20; + $day = $birthdate->format( 'd' ); + + $result = [ + (int) ( $year / 10 ), + $year % 10, + (int) ( $month / 10 ), + $month % 10, + (int) ( $day / 10 ), + $day % 10 + ]; + + for ( $i = 6; $i < $length; ++ $i ) { + $result[ $i ] = static::randomDigit(); + } + + $result[ $length - 1 ] |= 1; + + if ( $sex == 'F' ) { + $result[ $length - 1 ] -= 1; + } + + $checksum = 0; + + for ( $i = 0; $i < $length; ++ $i ) { + $checksum += $weights[ $i ] * $result[ $i ]; + } + $checksum = ( 10 - ( $checksum % 10 ) ) % 10; + $result[] = $checksum; + + return implode( '', $result ); + } + + /** + * National Identity Card number + * + * @see http://en.wikipedia.org/wiki/Polish_National_Identity_Card + * + * @return string 3 letters and 6 digits, like ABA300000 + */ + public static function personalIdentityNumber() { + $range = str_split( 'ABCDEFGHIJKLMNPRSTUVWXYZ' ); + $low = [ 'A', static::randomElement( $range ), static::randomElement( $range ) ]; + $high = [ + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit() + ]; + $weights = [ 7, 3, 1, 7, 3, 1, 7, 3 ]; + $checksum = 0; + + for ( $i = 0, $size = count( $low ); $i < $size; ++ $i ) { + $checksum += $weights[ $i ] * ( ord( $low[ $i ] ) - 55 ); + } + + for ( $i = 0, $size = count( $high ); $i < $size; ++ $i ) { + $checksum += $weights[ $i + 3 ] * $high[ $i ]; + } + $checksum %= 10; + + return implode( '', $low ) . $checksum . implode( '', $high ); + } + + /** + * Taxpayer Identification Number (NIP in Polish) + * + * @see http://en.wikipedia.org/wiki/PESEL#Other_identifiers + * @see http://pl.wikipedia.org/wiki/NIP + * + * @return string 10 digit number + */ + public static function taxpayerIdentificationNumber() { + $weights = [ 6, 5, 7, 2, 3, 4, 5, 6, 7 ]; + $result = []; + + do { + $result = [ + static::randomDigitNotNull(), + static::randomDigitNotNull(), + static::randomDigitNotNull(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + static::randomDigit(), + ]; + $checksum = 0; + + for ( $i = 0, $size = count( $result ); $i < $size; ++ $i ) { + $checksum += $weights[ $i ] * $result[ $i ]; + } + $checksum %= 11; + } while ( $checksum == 10 ); + $result[] = $checksum; + + return implode( '', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/PhoneNumber.php index d421539..c4dd76e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/PhoneNumber.php @@ -2,17 +2,16 @@ namespace Faker\Provider\pl_PL; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+48 ## ### ## ##', - '0048 ## ### ## ##', - '### ### ###', - '+48 ### ### ###', - '0048 ### ### ###', - '#########', - '(##) ### ## ##', - '+48(##)#######', - '0048(##)#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+48 ## ### ## ##', + '0048 ## ### ## ##', + '### ### ###', + '+48 ### ### ###', + '0048 ### ### ###', + '#########', + '(##) ### ## ##', + '+48(##)#######', + '0048(##)#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Text.php b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Text.php index b0408c8..4bb1bd2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pl_PL/Text.php @@ -2,73 +2,72 @@ namespace Faker\Provider\pl_PL; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Sklepy cynamonowe, by Bruno Schulz - * - * Copyright laws are changing all over the world. Be sure to check the - * copyright laws for your country before downloading or redistributing - * this or any other Project Gutenberg eBook. - * - * This header should be the first thing seen when viewing this Project - * Gutenberg file. Please do not remove it. Do not change or edit the - * header without written permission. - * - * Please read the "legal small print," and other information about the - * eBook and Project Gutenberg at the bottom of this file. Included is - * important information about your specific rights and restrictions in - * how the file may be used. You can also find out about how to make a - * donation to Project Gutenberg, and how to get involved. - * - * - * **Welcome To The World of Free Plain Vanilla Electronic Texts** - * - * **eBooks Readable By Both Humans and By Computers, Since 1971** - * - * *****These eBooks Were Prepared By Thousands of Volunteers!***** - * - * - * Title: Sklepy cynamonowe - * - * Author: Bruno Schulz - * - * Release Date: May, 2005 [EBook #8119] - * [Yes, we are more than one year ahead of schedule] - * [This file was first posted on June 16, 2003] - * - * Edition: 10 - * - * Language: Polish - * - * Character set encoding: Codepage 1250 - * - * *** START OF THE PROJECT GUTENBERG EBOOK SKLEPY CYNAMONOWE *** - * - * - * - * - * Produced by Pawel Sobkowiak - Scanned and proofread by - * Polska Biblioteka Internetowa - * - * - * - * - * BRUNO SCHULZ SKLEPY CYNAMONOWE - * - * - * Spis tresci: - * - * SIERPIEŃ NAWIEDZENIE PTAKI MANEKINY TRAKTAT O MANEKINACH ALBO WTÓRA - * KSIĘGA RODZAJU TRAKTAT O MANEKINACH Ciąg dalszy TRAKTAT O MANEKINACH - * Dokończenie NEMROD PAN PAN KAROL SKLEPY CYNAMONOWE ULICA KROKODYLI - * KARAKONY WICHURA NOC WIELKIEGO SEZONU - * - * @see http://www.gutenberg.org/cache/epub/8119/pg8119.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Sklepy cynamonowe, by Bruno Schulz + * + * Copyright laws are changing all over the world. Be sure to check the + * copyright laws for your country before downloading or redistributing + * this or any other Project Gutenberg eBook. + * + * This header should be the first thing seen when viewing this Project + * Gutenberg file. Please do not remove it. Do not change or edit the + * header without written permission. + * + * Please read the "legal small print," and other information about the + * eBook and Project Gutenberg at the bottom of this file. Included is + * important information about your specific rights and restrictions in + * how the file may be used. You can also find out about how to make a + * donation to Project Gutenberg, and how to get involved. + * + * + * **Welcome To The World of Free Plain Vanilla Electronic Texts** + * + * **eBooks Readable By Both Humans and By Computers, Since 1971** + * + * *****These eBooks Were Prepared By Thousands of Volunteers!***** + * + * + * Title: Sklepy cynamonowe + * + * Author: Bruno Schulz + * + * Release Date: May, 2005 [EBook #8119] + * [Yes, we are more than one year ahead of schedule] + * [This file was first posted on June 16, 2003] + * + * Edition: 10 + * + * Language: Polish + * + * Character set encoding: Codepage 1250 + * + * *** START OF THE PROJECT GUTENBERG EBOOK SKLEPY CYNAMONOWE *** + * + * + * + * + * Produced by Pawel Sobkowiak - Scanned and proofread by + * Polska Biblioteka Internetowa + * + * + * + * + * BRUNO SCHULZ SKLEPY CYNAMONOWE + * + * + * Spis tresci: + * + * SIERPIEŃ NAWIEDZENIE PTAKI MANEKINY TRAKTAT O MANEKINACH ALBO WTÓRA + * KSIĘGA RODZAJU TRAKTAT O MANEKINACH Ciąg dalszy TRAKTAT O MANEKINACH + * Dokończenie NEMROD PAN PAN KAROL SKLEPY CYNAMONOWE ULICA KROKODYLI + * KARAKONY WICHURA NOC WIELKIEGO SEZONU + * + * @see http://www.gutenberg.org/cache/epub/8119/pg8119.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' SIERPIEŃ 1 W lipcu ojciec mój wyjeżdżał do wód i zostawiał mnie z matką i @@ -2544,324 +2543,324 @@ class Text extends \Faker\Provider\Text piersi, od której ziarna nabierały blasku i gorąca. Kot mył się w EOT; - /* - End of the Project Gutenberg EBook of Sklepy cynamonowe, by Bruno Schulz - - *** END OF THE PROJECT GUTENBERG EBOOK SKLEPY CYNAMONOWE *** - - This file should be named sklep10.txt or sklep10.zip - Corrected EDITIONS of our eBooks get a new NUMBER, sklep11.txt - VERSIONS based on separate sources get new LETTER, sklep10a.txt - - Produced by Pawel Sobkowiak - Scanned and proofread by - Polska Biblioteka Internetowa - - Project Gutenberg eBooks are often created from several printed - editions, all of which are confirmed as Public Domain in the US - unless a copyright notice is included. Thus, we usually do not - keep eBooks in compliance with any particular paper edition. - - We are now trying to release all our eBooks one year in advance - of the official release dates, leaving time for better editing. - Please be encouraged to tell us about any error or corrections, - even years after the official publication date. - - Please note neither this listing nor its contents are final til - midnight of the last day of the month of any such announcement. - The official release date of all Project Gutenberg eBooks is at - Midnight, Central Time, of the last day of the stated month. A - preliminary version may often be posted for suggestion, comment - and editing by those who wish to do so. - - Most people start at our Web sites at: - http://gutenberg.net or - http://promo.net/pg - - These Web sites include award-winning information about Project - Gutenberg, including how to donate, how to help produce our new - eBooks, and how to subscribe to our email newsletter (free!). - - Those of you who want to download any eBook before announcement - can get to them as follows, and just download by date. This is - also a good way to get them instantly upon announcement, as the - indexes our cataloguers produce obviously take a while after an - announcement goes out in the Project Gutenberg Newsletter. - - http://www.ibiblio.org/gutenberg/etext03 or - ftp://ftp.ibiblio.org/pub/docs/books/gutenberg/etext03 - - Or /etext02, 01, 00, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91 or 90 - - Just search by the first five letters of the filename you want, - as it appears in our Newsletters. - - Information about Project Gutenberg (one page) + /* + End of the Project Gutenberg EBook of Sklepy cynamonowe, by Bruno Schulz + + *** END OF THE PROJECT GUTENBERG EBOOK SKLEPY CYNAMONOWE *** + + This file should be named sklep10.txt or sklep10.zip + Corrected EDITIONS of our eBooks get a new NUMBER, sklep11.txt + VERSIONS based on separate sources get new LETTER, sklep10a.txt + + Produced by Pawel Sobkowiak - Scanned and proofread by + Polska Biblioteka Internetowa + + Project Gutenberg eBooks are often created from several printed + editions, all of which are confirmed as Public Domain in the US + unless a copyright notice is included. Thus, we usually do not + keep eBooks in compliance with any particular paper edition. + + We are now trying to release all our eBooks one year in advance + of the official release dates, leaving time for better editing. + Please be encouraged to tell us about any error or corrections, + even years after the official publication date. + + Please note neither this listing nor its contents are final til + midnight of the last day of the month of any such announcement. + The official release date of all Project Gutenberg eBooks is at + Midnight, Central Time, of the last day of the stated month. A + preliminary version may often be posted for suggestion, comment + and editing by those who wish to do so. + + Most people start at our Web sites at: + http://gutenberg.net or + http://promo.net/pg + + These Web sites include award-winning information about Project + Gutenberg, including how to donate, how to help produce our new + eBooks, and how to subscribe to our email newsletter (free!). + + Those of you who want to download any eBook before announcement + can get to them as follows, and just download by date. This is + also a good way to get them instantly upon announcement, as the + indexes our cataloguers produce obviously take a while after an + announcement goes out in the Project Gutenberg Newsletter. + + http://www.ibiblio.org/gutenberg/etext03 or + ftp://ftp.ibiblio.org/pub/docs/books/gutenberg/etext03 + + Or /etext02, 01, 00, 99, 98, 97, 96, 95, 94, 93, 92, 92, 91 or 90 + + Just search by the first five letters of the filename you want, + as it appears in our Newsletters. + + Information about Project Gutenberg (one page) - We produce about two million dollars for each hour we work. The - time it takes us, a rather conservative estimate, is fifty hours - to get any eBook selected, entered, proofread, edited, copyright - searched and analyzed, the copyright letters written, etc. Our - projected audience is one hundred million readers. If the value - per text is nominally estimated at one dollar then we produce $2 - million dollars per hour in 2002 as we release over 100 new text - files per month: 1240 more eBooks in 2001 for a total of 4000+ - We are already on our way to trying for 2000 more eBooks in 2002 - If they reach just 1-2% of the world's population then the total - will reach over half a trillion eBooks given away by year's end. + We produce about two million dollars for each hour we work. The + time it takes us, a rather conservative estimate, is fifty hours + to get any eBook selected, entered, proofread, edited, copyright + searched and analyzed, the copyright letters written, etc. Our + projected audience is one hundred million readers. If the value + per text is nominally estimated at one dollar then we produce $2 + million dollars per hour in 2002 as we release over 100 new text + files per month: 1240 more eBooks in 2001 for a total of 4000+ + We are already on our way to trying for 2000 more eBooks in 2002 + If they reach just 1-2% of the world's population then the total + will reach over half a trillion eBooks given away by year's end. - The Goal of Project Gutenberg is to Give Away 1 Trillion eBooks! - This is ten thousand titles each to one hundred million readers, - which is only about 4% of the present number of computer users. + The Goal of Project Gutenberg is to Give Away 1 Trillion eBooks! + This is ten thousand titles each to one hundred million readers, + which is only about 4% of the present number of computer users. - Here is the briefest record of our progress (* means estimated): + Here is the briefest record of our progress (* means estimated): - eBooks Year Month + eBooks Year Month - 1 1971 July - 10 1991 January - 100 1994 January - 1000 1997 August - 1500 1998 October - 2000 1999 December - 2500 2000 December - 3000 2001 November - 4000 2001 October/November - 6000 2002 December* - 9000 2003 November* - 10000 2004 January* + 1 1971 July + 10 1991 January + 100 1994 January + 1000 1997 August + 1500 1998 October + 2000 1999 December + 2500 2000 December + 3000 2001 November + 4000 2001 October/November + 6000 2002 December* + 9000 2003 November* + 10000 2004 January* - The Project Gutenberg Literary Archive Foundation has been created - to secure a future for Project Gutenberg into the next millennium. + The Project Gutenberg Literary Archive Foundation has been created + to secure a future for Project Gutenberg into the next millennium. - We need your donations more than ever! - - As of February, 2002, contributions are being solicited from people - and organizations in: Alabama, Alaska, Arkansas, Connecticut, - Delaware, District of Columbia, Florida, Georgia, Hawaii, Illinois, - Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Massachusetts, - Michigan, Mississippi, Missouri, Montana, Nebraska, Nevada, New - Hampshire, New Jersey, New Mexico, New York, North Carolina, Ohio, - Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South - Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West - Virginia, Wisconsin, and Wyoming. - - We have filed in all 50 states now, but these are the only ones - that have responded. - - As the requirements for other states are met, additions to this list - will be made and fund raising will begin in the additional states. - Please feel free to ask to check the status of your state. - - In answer to various questions we have received on this: - - We are constantly working on finishing the paperwork to legally - request donations in all 50 states. If your state is not listed and - you would like to know if we have added it since the list you have, - just ask. - - While we cannot solicit donations from people in states where we are - not yet registered, we know of no prohibition against accepting - donations from donors in these states who approach us with an offer to - donate. - - International donations are accepted, but we don't know ANYTHING about - how to make them tax-deductible, or even if they CAN be made - deductible, and don't have the staff to handle it even if there are - ways. - - Donations by check or money order may be sent to: - - Project Gutenberg Literary Archive Foundation - PMB 113 - 1739 University Ave. - Oxford, MS 38655-4109 - - Contact us if you want to arrange for a wire transfer or payment - method other than by check or money order. - - The Project Gutenberg Literary Archive Foundation has been approved by - the US Internal Revenue Service as a 501(c)(3) organization with EIN - [Employee Identification Number] 64-622154. Donations are - tax-deductible to the maximum extent permitted by law. As fund-raising - requirements for other states are met, additions to this list will be - made and fund-raising will begin in the additional states. - - We need your donations more than ever! - - You can get up to date donation information online at: - - http://www.gutenberg.net/donation.html - - *** - - If you can't reach Project Gutenberg, - you can always email directly to: - - Michael S. Hart - - Prof. Hart will answer or forward your message. - - We would prefer to send you information by email. - - - **The Legal Small Print** - - - (Three Pages) - - ***START**THE SMALL PRINT!**FOR PUBLIC DOMAIN EBOOKS**START*** - Why is this "Small Print!" statement here? You know: lawyers. - They tell us you might sue us if there is something wrong with - your copy of this eBook, even if you got it for free from - someone other than us, and even if what's wrong is not our - fault. So, among other things, this "Small Print!" statement - disclaims most of our liability to you. It also tells you how - you may distribute copies of this eBook if you want to. - - *BEFORE!* YOU USE OR READ THIS EBOOK - By using or reading any part of this PROJECT GUTENBERG-tm - eBook, you indicate that you understand, agree to and accept - this "Small Print!" statement. If you do not, you can receive - a refund of the money (if any) you paid for this eBook by - sending a request within 30 days of receiving it to the person - you got it from. If you received this eBook on a physical - medium (such as a disk), you must return it with your request. - - ABOUT PROJECT GUTENBERG-TM EBOOKS - This PROJECT GUTENBERG-tm eBook, like most PROJECT GUTENBERG-tm eBooks, - is a "public domain" work distributed by Professor Michael S. Hart - through the Project Gutenberg Association (the "Project"). - Among other things, this means that no one owns a United States copyright - on or for this work, so the Project (and you!) can copy and - distribute it in the United States without permission and - without paying copyright royalties. Special rules, set forth - below, apply if you wish to copy and distribute this eBook - under the "PROJECT GUTENBERG" trademark. - - Please do not use the "PROJECT GUTENBERG" trademark to market - any commercial products without permission. - - To create these eBooks, the Project expends considerable - efforts to identify, transcribe and proofread public domain - works. Despite these efforts, the Project's eBooks and any - medium they may be on may contain "Defects". Among other - things, Defects may take the form of incomplete, inaccurate or - corrupt data, transcription errors, a copyright or other - intellectual property infringement, a defective or damaged - disk or other eBook medium, a computer virus, or computer - codes that damage or cannot be read by your equipment. - - LIMITED WARRANTY; DISCLAIMER OF DAMAGES - But for the "Right of Replacement or Refund" described below, - [1] Michael Hart and the Foundation (and any other party you may - receive this eBook from as a PROJECT GUTENBERG-tm eBook) disclaims - all liability to you for damages, costs and expenses, including - legal fees, and [2] YOU HAVE NO REMEDIES FOR NEGLIGENCE OR - UNDER STRICT LIABILITY, OR FOR BREACH OF WARRANTY OR CONTRACT, - INCLUDING BUT NOT LIMITED TO INDIRECT, CONSEQUENTIAL, PUNITIVE - OR INCIDENTAL DAMAGES, EVEN IF YOU GIVE NOTICE OF THE - POSSIBILITY OF SUCH DAMAGES. - - If you discover a Defect in this eBook within 90 days of - receiving it, you can receive a refund of the money (if any) - you paid for it by sending an explanatory note within that - time to the person you received it from. If you received it - on a physical medium, you must return it with your note, and - such person may choose to alternatively give you a replacement - copy. If you received it electronically, such person may - choose to alternatively give you a second opportunity to - receive it electronically. - - THIS EBOOK IS OTHERWISE PROVIDED TO YOU "AS-IS". NO OTHER - WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, ARE MADE TO YOU AS - TO THE EBOOK OR ANY MEDIUM IT MAY BE ON, INCLUDING BUT NOT - LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A - PARTICULAR PURPOSE. - - Some states do not allow disclaimers of implied warranties or - the exclusion or limitation of consequential damages, so the - above disclaimers and exclusions may not apply to you, and you - may have other legal rights. - - INDEMNITY - You will indemnify and hold Michael Hart, the Foundation, - and its trustees and agents, and any volunteers associated - with the production and distribution of Project Gutenberg-tm - texts harmless, from all liability, cost and expense, including - legal fees, that arise directly or indirectly from any of the - following that you do or cause: [1] distribution of this eBook, - [2] alteration, modification, or addition to the eBook, - or [3] any Defect. - - DISTRIBUTION UNDER "PROJECT GUTENBERG-tm" - You may distribute copies of this eBook electronically, or by - disk, book or any other medium if you either delete this - "Small Print!" and all other references to Project Gutenberg, - or: - - [1] Only give exact copies of it. Among other things, this - requires that you do not remove, alter or modify the - eBook or this "small print!" statement. You may however, - if you wish, distribute this eBook in machine readable - binary, compressed, mark-up, or proprietary form, - including any form resulting from conversion by word - processing or hypertext software, but only so long as - *EITHER*: - - [*] The eBook, when displayed, is clearly readable, and - does *not* contain characters other than those - intended by the author of the work, although tilde - (~), asterisk (*) and underline (_) characters may - be used to convey punctuation intended by the - author, and additional characters may be used to - indicate hypertext links; OR - - [*] The eBook may be readily converted by the reader at - no expense into plain ASCII, EBCDIC or equivalent - form by the program that displays the eBook (as is - the case, for instance, with most word processors); - OR - - [*] You provide, or agree to also provide on request at - no additional cost, fee or expense, a copy of the - eBook in its original plain ASCII form (or in EBCDIC - or other equivalent proprietary form). - - [2] Honor the eBook refund and replacement provisions of this - "Small Print!" statement. - - [3] Pay a trademark license fee to the Foundation of 20% of the - gross profits you derive calculated using the method you - already use to calculate your applicable taxes. If you - don't derive profits, no royalty is due. Royalties are - payable to "Project Gutenberg Literary Archive Foundation" - the 60 days following each date you prepare (or were - legally required to prepare) your annual (or equivalent - periodic) tax return. Please contact us beforehand to - let us know your plans and to work out the details. - - WHAT IF YOU *WANT* TO SEND MONEY EVEN IF YOU DON'T HAVE TO? - Project Gutenberg is dedicated to increasing the number of - public domain and licensed works that can be freely distributed - in machine readable form. - - The Project gratefully accepts contributions of money, time, - public domain materials, or royalty free copyright licenses. - Money should be paid to the: - "Project Gutenberg Literary Archive Foundation." - - If you are interested in contributing scanning equipment or - software or other items, please contact Michael Hart at: - hart@pobox.com - - [Portions of this eBook's header and trailer may be reprinted only - when distributed free of all fees. Copyright (C) 2001, 2002 by - Michael S. Hart. Project Gutenberg is a TradeMark and may not be - used in any sales of Project Gutenberg eBooks or other materials be - they hardware or software or any other related product without - express permission.] - - *END THE SMALL PRINT! FOR PUBLIC DOMAIN EBOOKS*Ver.02/11/02*END* - - */ + We need your donations more than ever! + + As of February, 2002, contributions are being solicited from people + and organizations in: Alabama, Alaska, Arkansas, Connecticut, + Delaware, District of Columbia, Florida, Georgia, Hawaii, Illinois, + Indiana, Iowa, Kansas, Kentucky, Louisiana, Maine, Massachusetts, + Michigan, Mississippi, Missouri, Montana, Nebraska, Nevada, New + Hampshire, New Jersey, New Mexico, New York, North Carolina, Ohio, + Oklahoma, Oregon, Pennsylvania, Rhode Island, South Carolina, South + Dakota, Tennessee, Texas, Utah, Vermont, Virginia, Washington, West + Virginia, Wisconsin, and Wyoming. + + We have filed in all 50 states now, but these are the only ones + that have responded. + + As the requirements for other states are met, additions to this list + will be made and fund raising will begin in the additional states. + Please feel free to ask to check the status of your state. + + In answer to various questions we have received on this: + + We are constantly working on finishing the paperwork to legally + request donations in all 50 states. If your state is not listed and + you would like to know if we have added it since the list you have, + just ask. + + While we cannot solicit donations from people in states where we are + not yet registered, we know of no prohibition against accepting + donations from donors in these states who approach us with an offer to + donate. + + International donations are accepted, but we don't know ANYTHING about + how to make them tax-deductible, or even if they CAN be made + deductible, and don't have the staff to handle it even if there are + ways. + + Donations by check or money order may be sent to: + + Project Gutenberg Literary Archive Foundation + PMB 113 + 1739 University Ave. + Oxford, MS 38655-4109 + + Contact us if you want to arrange for a wire transfer or payment + method other than by check or money order. + + The Project Gutenberg Literary Archive Foundation has been approved by + the US Internal Revenue Service as a 501(c)(3) organization with EIN + [Employee Identification Number] 64-622154. Donations are + tax-deductible to the maximum extent permitted by law. As fund-raising + requirements for other states are met, additions to this list will be + made and fund-raising will begin in the additional states. + + We need your donations more than ever! + + You can get up to date donation information online at: + + http://www.gutenberg.net/donation.html + + *** + + If you can't reach Project Gutenberg, + you can always email directly to: + + Michael S. Hart + + Prof. Hart will answer or forward your message. + + We would prefer to send you information by email. + + + **The Legal Small Print** + + + (Three Pages) + + ***START**THE SMALL PRINT!**FOR PUBLIC DOMAIN EBOOKS**START*** + Why is this "Small Print!" statement here? You know: lawyers. + They tell us you might sue us if there is something wrong with + your copy of this eBook, even if you got it for free from + someone other than us, and even if what's wrong is not our + fault. So, among other things, this "Small Print!" statement + disclaims most of our liability to you. It also tells you how + you may distribute copies of this eBook if you want to. + + *BEFORE!* YOU USE OR READ THIS EBOOK + By using or reading any part of this PROJECT GUTENBERG-tm + eBook, you indicate that you understand, agree to and accept + this "Small Print!" statement. If you do not, you can receive + a refund of the money (if any) you paid for this eBook by + sending a request within 30 days of receiving it to the person + you got it from. If you received this eBook on a physical + medium (such as a disk), you must return it with your request. + + ABOUT PROJECT GUTENBERG-TM EBOOKS + This PROJECT GUTENBERG-tm eBook, like most PROJECT GUTENBERG-tm eBooks, + is a "public domain" work distributed by Professor Michael S. Hart + through the Project Gutenberg Association (the "Project"). + Among other things, this means that no one owns a United States copyright + on or for this work, so the Project (and you!) can copy and + distribute it in the United States without permission and + without paying copyright royalties. Special rules, set forth + below, apply if you wish to copy and distribute this eBook + under the "PROJECT GUTENBERG" trademark. + + Please do not use the "PROJECT GUTENBERG" trademark to market + any commercial products without permission. + + To create these eBooks, the Project expends considerable + efforts to identify, transcribe and proofread public domain + works. Despite these efforts, the Project's eBooks and any + medium they may be on may contain "Defects". Among other + things, Defects may take the form of incomplete, inaccurate or + corrupt data, transcription errors, a copyright or other + intellectual property infringement, a defective or damaged + disk or other eBook medium, a computer virus, or computer + codes that damage or cannot be read by your equipment. + + LIMITED WARRANTY; DISCLAIMER OF DAMAGES + But for the "Right of Replacement or Refund" described below, + [1] Michael Hart and the Foundation (and any other party you may + receive this eBook from as a PROJECT GUTENBERG-tm eBook) disclaims + all liability to you for damages, costs and expenses, including + legal fees, and [2] YOU HAVE NO REMEDIES FOR NEGLIGENCE OR + UNDER STRICT LIABILITY, OR FOR BREACH OF WARRANTY OR CONTRACT, + INCLUDING BUT NOT LIMITED TO INDIRECT, CONSEQUENTIAL, PUNITIVE + OR INCIDENTAL DAMAGES, EVEN IF YOU GIVE NOTICE OF THE + POSSIBILITY OF SUCH DAMAGES. + + If you discover a Defect in this eBook within 90 days of + receiving it, you can receive a refund of the money (if any) + you paid for it by sending an explanatory note within that + time to the person you received it from. If you received it + on a physical medium, you must return it with your note, and + such person may choose to alternatively give you a replacement + copy. If you received it electronically, such person may + choose to alternatively give you a second opportunity to + receive it electronically. + + THIS EBOOK IS OTHERWISE PROVIDED TO YOU "AS-IS". NO OTHER + WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, ARE MADE TO YOU AS + TO THE EBOOK OR ANY MEDIUM IT MAY BE ON, INCLUDING BUT NOT + LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A + PARTICULAR PURPOSE. + + Some states do not allow disclaimers of implied warranties or + the exclusion or limitation of consequential damages, so the + above disclaimers and exclusions may not apply to you, and you + may have other legal rights. + + INDEMNITY + You will indemnify and hold Michael Hart, the Foundation, + and its trustees and agents, and any volunteers associated + with the production and distribution of Project Gutenberg-tm + texts harmless, from all liability, cost and expense, including + legal fees, that arise directly or indirectly from any of the + following that you do or cause: [1] distribution of this eBook, + [2] alteration, modification, or addition to the eBook, + or [3] any Defect. + + DISTRIBUTION UNDER "PROJECT GUTENBERG-tm" + You may distribute copies of this eBook electronically, or by + disk, book or any other medium if you either delete this + "Small Print!" and all other references to Project Gutenberg, + or: + + [1] Only give exact copies of it. Among other things, this + requires that you do not remove, alter or modify the + eBook or this "small print!" statement. You may however, + if you wish, distribute this eBook in machine readable + binary, compressed, mark-up, or proprietary form, + including any form resulting from conversion by word + processing or hypertext software, but only so long as + *EITHER*: + + [*] The eBook, when displayed, is clearly readable, and + does *not* contain characters other than those + intended by the author of the work, although tilde + (~), asterisk (*) and underline (_) characters may + be used to convey punctuation intended by the + author, and additional characters may be used to + indicate hypertext links; OR + + [*] The eBook may be readily converted by the reader at + no expense into plain ASCII, EBCDIC or equivalent + form by the program that displays the eBook (as is + the case, for instance, with most word processors); + OR + + [*] You provide, or agree to also provide on request at + no additional cost, fee or expense, a copy of the + eBook in its original plain ASCII form (or in EBCDIC + or other equivalent proprietary form). + + [2] Honor the eBook refund and replacement provisions of this + "Small Print!" statement. + + [3] Pay a trademark license fee to the Foundation of 20% of the + gross profits you derive calculated using the method you + already use to calculate your applicable taxes. If you + don't derive profits, no royalty is due. Royalties are + payable to "Project Gutenberg Literary Archive Foundation" + the 60 days following each date you prepare (or were + legally required to prepare) your annual (or equivalent + periodic) tax return. Please contact us beforehand to + let us know your plans and to work out the details. + + WHAT IF YOU *WANT* TO SEND MONEY EVEN IF YOU DON'T HAVE TO? + Project Gutenberg is dedicated to increasing the number of + public domain and licensed works that can be freely distributed + in machine readable form. + + The Project gratefully accepts contributions of money, time, + public domain materials, or royalty free copyright licenses. + Money should be paid to the: + "Project Gutenberg Literary Archive Foundation." + + If you are interested in contributing scanning equipment or + software or other items, please contact Michael Hart at: + hart@pobox.com + + [Portions of this eBook's header and trailer may be reprinted only + when distributed free of all fees. Copyright (C) 2001, 2002 by + Michael S. Hart. Project Gutenberg is a TradeMark and may not be + used in any sales of Project Gutenberg eBooks or other materials be + they hardware or software or any other related product without + express permission.] + + *END THE SMALL PRINT! FOR PUBLIC DOMAIN EBOOKS*Ver.02/11/02*END* + + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Address.php index 10bdd57..004ab2b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Address.php @@ -2,153 +2,369 @@ namespace Faker\Provider\pt_BR; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['São', 'Porto', 'Vila', 'Santa']; - protected static $citySuffix = ['do Norte', 'do Leste', 'do Sul', 'd\'Oeste']; - protected static $streetPrefix = [ - 'Av.', 'Avenida', 'R.', 'Rua', 'Travessa', 'Largo', - ]; - protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%']; - protected static $postcode = ['#####-###']; - protected static $state = [ - 'Acre', 'Alagoas', 'Amapá', 'Amazonas', 'Bahia', 'Ceará', - 'Distrito Federal', 'Espírito Santo', 'Goiás', 'Maranhão', - 'Mato Grosso', 'Mato Grosso do Sul', 'Minas Gerais', 'Pará', 'Paraíba', - 'Paraná', 'Pernambuco', 'Piauí', 'Rio de Janeiro', - 'Rio Grande do Norte', 'Rio Grande do Sul', 'Rondônia', 'Roraima', - 'Santa Catarina', 'São Paulo', 'Sergipe', 'Tocantins', - ]; - protected static $stateAbbr = [ - 'AC', 'AL', 'AP', 'AM', 'BA', 'CE', 'DF', 'ES', 'GO', 'MA', 'MT', 'MS', - 'MG', 'PA', 'PB', 'PR', 'PE', 'PI', 'RJ', 'RN', 'RS', 'RO', 'RR', 'SC', - 'SP', 'SE', 'TO', - ]; - protected static $region = [ - 'Centro-Oeste', 'Nordeste', 'Norte', 'Sudeste', 'Sul', - ]; - protected static $regionAbbr = [ - 'CO', 'N', 'NE', 'SE', 'S', - ]; - protected static $country = [ - 'Afeganistão', 'África do Sul', 'Albânia', 'Alemanha', 'Andorra', - 'Angola', 'Antigua e Barbuda', 'Arabia Saudita', 'Argélia', - 'Argentina', 'Armênia', 'Austrália', 'Áustria', 'Azerbaijão', - 'Bahamas', 'Bangladesh', 'Barbados', 'Barein', 'Belize', 'Benin', - 'Bielorrússia', 'Birmânia', 'Bolívia', 'Bósnia e Herzegovina', - 'Botsuana', 'Brasil', 'Brunei', 'Bulgária', 'Burkina Faso', - 'Burundi', 'Butão', 'Bélgica', 'Cabo Verde', 'Camboja', 'Camarões', - 'Canadá', 'Cazaquistão', 'Chad', 'Chile', 'China', 'Chipre', - 'Colômbia', 'Comoras', 'Congo', 'Coréia do Norte', 'Coréia do Sul', - 'Costa Rica', 'Costa do Marfim', 'Croácia', 'Cuba', 'Dinamarca', - 'Djibouti', 'Domênica', 'Equador', 'Egito', 'El Salvador', - 'Emirados Árabes Unidos', 'Eritrea', 'Eslováquia', 'Eslovênia', - 'Espanha', 'Estados Unidos da América', 'Estônia', 'Etiópia', - 'Filipinas', 'Finlândia', 'Fiji', 'França', 'Gabão', 'Gâmbia', - 'Georgia', 'Gana', 'Granada', 'Grécia', 'Guatemala', - 'Guiné Equatorial', 'Guiné Bissau', 'Guiana', 'Haiti', 'Honduras', - 'Hungria', 'Índia', 'Indonésia', 'Iraque', 'Irlanda', 'Irã', - 'Islândia', 'Ilhas Marshall', 'Ilhas Maurício', 'Ilhas Salomão', - 'Ilhas Samoa', 'Israel', 'Itália', 'Jamaica', 'Japão', 'Jordânia', - 'Kiribati', 'Kwait', 'Laos', 'Lesoto', 'Letônia', 'Libéria', 'Líbia', - 'Liechtenstein', 'Lituânia', 'Luxemburgo', 'Líbano', 'Macedônia', - 'Madagascar', 'Malásia', 'Malauí', 'Maldivas', 'Mali', 'Malta', - 'Marrocos', 'Mauritânia', 'Micronésia', 'Moldávia', 'Mongólia', - 'Montenegro', 'Moçambique', 'México', 'Mônaco', 'Namíbia', 'Nauru', - 'Nepal', 'Nicarágua', 'Nigéria', 'Noruega', 'Nova Guiné', - 'Nova Zelândia', 'Níger', 'Omã', 'Qatar', 'Quênia', 'Quirguistão', - 'Paquistão', 'Palaos', 'Panamá', 'Papua Nova Guiné', 'Paraguai', - 'Países Baixos', 'Peru', 'Polônia', 'Portugal', 'Reino Unido', - 'Reino Unido da Grã Bretanha e Irlanda do Norte', - 'República Centroafricana', 'República Checa', - 'República Democrática do Congo', 'República Dominicana', 'Ruanda', - 'Romênia', 'Rússia', 'San Cristõvao e Neves', 'San Marino', - 'São Vicente e as Granadinas', 'Santa Luzia', 'São Tomé e Príncipe', - 'Senegal', 'Sérvia', 'Seychelles', 'Serra Leoa', 'Singapura', 'Síria', - 'Somália', 'Sri Lanka', 'Suazilândia', 'Sudão', 'Suécia', 'Suiça', - 'Suriname', 'Tailândia', 'Tanzânia', 'Tajiquistão', 'Timor Leste', - 'Togo', 'Tonga', 'Trinidad e Tobago', 'Turcomenistão', 'Turquia', - 'Tuvalu', 'Tunísia', 'Ucrânia', 'Uganda', 'Uruguai', 'Uzbequistão', - 'Vaticano', 'Vanuatu', 'Venezuela', 'Vietnã', 'Yemen', 'Zâmbia', - 'Zimbábue', - ]; - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}} {{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}} {{citySuffix}}', - '{{lastName}} {{citySuffix}}', - ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{firstName}}', - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} {{firstName}} {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}}, {{buildingNumber}}', - '{{streetName}}, {{buildingNumber}}. {{secondaryAddress}}', - ]; - protected static $addressFormats = [ - "{{postcode}}, {{streetAddress}}\n{{city}} - {{stateAbbr}}", - ]; - protected static $secondaryAddressFormats = [ - 'Bloco A', 'Bloco B', 'Bloco C', 'Bc. # Ap. ##', 'Bc. ## Ap. ##', - '#º Andar', '##º Andar', '###º Andar', 'Apto #', 'Apto ##', 'Apto ###', - 'Apto ####', 'F', 'Fundos', 'Anexo', - ]; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'São', 'Porto', 'Vila', 'Santa' ]; + protected static $citySuffix = [ 'do Norte', 'do Leste', 'do Sul', 'd\'Oeste' ]; + protected static $streetPrefix = [ + 'Av.', + 'Avenida', + 'R.', + 'Rua', + 'Travessa', + 'Largo', + ]; + protected static $buildingNumber = [ '%####', '%###', '%##', '%#', '%' ]; + protected static $postcode = [ '#####-###' ]; + protected static $state = [ + 'Acre', + 'Alagoas', + 'Amapá', + 'Amazonas', + 'Bahia', + 'Ceará', + 'Distrito Federal', + 'Espírito Santo', + 'Goiás', + 'Maranhão', + 'Mato Grosso', + 'Mato Grosso do Sul', + 'Minas Gerais', + 'Pará', + 'Paraíba', + 'Paraná', + 'Pernambuco', + 'Piauí', + 'Rio de Janeiro', + 'Rio Grande do Norte', + 'Rio Grande do Sul', + 'Rondônia', + 'Roraima', + 'Santa Catarina', + 'São Paulo', + 'Sergipe', + 'Tocantins', + ]; + protected static $stateAbbr = [ + 'AC', + 'AL', + 'AP', + 'AM', + 'BA', + 'CE', + 'DF', + 'ES', + 'GO', + 'MA', + 'MT', + 'MS', + 'MG', + 'PA', + 'PB', + 'PR', + 'PE', + 'PI', + 'RJ', + 'RN', + 'RS', + 'RO', + 'RR', + 'SC', + 'SP', + 'SE', + 'TO', + ]; + protected static $region = [ + 'Centro-Oeste', + 'Nordeste', + 'Norte', + 'Sudeste', + 'Sul', + ]; + protected static $regionAbbr = [ + 'CO', + 'N', + 'NE', + 'SE', + 'S', + ]; + protected static $country = [ + 'Afeganistão', + 'África do Sul', + 'Albânia', + 'Alemanha', + 'Andorra', + 'Angola', + 'Antigua e Barbuda', + 'Arabia Saudita', + 'Argélia', + 'Argentina', + 'Armênia', + 'Austrália', + 'Áustria', + 'Azerbaijão', + 'Bahamas', + 'Bangladesh', + 'Barbados', + 'Barein', + 'Belize', + 'Benin', + 'Bielorrússia', + 'Birmânia', + 'Bolívia', + 'Bósnia e Herzegovina', + 'Botsuana', + 'Brasil', + 'Brunei', + 'Bulgária', + 'Burkina Faso', + 'Burundi', + 'Butão', + 'Bélgica', + 'Cabo Verde', + 'Camboja', + 'Camarões', + 'Canadá', + 'Cazaquistão', + 'Chad', + 'Chile', + 'China', + 'Chipre', + 'Colômbia', + 'Comoras', + 'Congo', + 'Coréia do Norte', + 'Coréia do Sul', + 'Costa Rica', + 'Costa do Marfim', + 'Croácia', + 'Cuba', + 'Dinamarca', + 'Djibouti', + 'Domênica', + 'Equador', + 'Egito', + 'El Salvador', + 'Emirados Árabes Unidos', + 'Eritrea', + 'Eslováquia', + 'Eslovênia', + 'Espanha', + 'Estados Unidos da América', + 'Estônia', + 'Etiópia', + 'Filipinas', + 'Finlândia', + 'Fiji', + 'França', + 'Gabão', + 'Gâmbia', + 'Georgia', + 'Gana', + 'Granada', + 'Grécia', + 'Guatemala', + 'Guiné Equatorial', + 'Guiné Bissau', + 'Guiana', + 'Haiti', + 'Honduras', + 'Hungria', + 'Índia', + 'Indonésia', + 'Iraque', + 'Irlanda', + 'Irã', + 'Islândia', + 'Ilhas Marshall', + 'Ilhas Maurício', + 'Ilhas Salomão', + 'Ilhas Samoa', + 'Israel', + 'Itália', + 'Jamaica', + 'Japão', + 'Jordânia', + 'Kiribati', + 'Kwait', + 'Laos', + 'Lesoto', + 'Letônia', + 'Libéria', + 'Líbia', + 'Liechtenstein', + 'Lituânia', + 'Luxemburgo', + 'Líbano', + 'Macedônia', + 'Madagascar', + 'Malásia', + 'Malauí', + 'Maldivas', + 'Mali', + 'Malta', + 'Marrocos', + 'Mauritânia', + 'Micronésia', + 'Moldávia', + 'Mongólia', + 'Montenegro', + 'Moçambique', + 'México', + 'Mônaco', + 'Namíbia', + 'Nauru', + 'Nepal', + 'Nicarágua', + 'Nigéria', + 'Noruega', + 'Nova Guiné', + 'Nova Zelândia', + 'Níger', + 'Omã', + 'Qatar', + 'Quênia', + 'Quirguistão', + 'Paquistão', + 'Palaos', + 'Panamá', + 'Papua Nova Guiné', + 'Paraguai', + 'Países Baixos', + 'Peru', + 'Polônia', + 'Portugal', + 'Reino Unido', + 'Reino Unido da Grã Bretanha e Irlanda do Norte', + 'República Centroafricana', + 'República Checa', + 'República Democrática do Congo', + 'República Dominicana', + 'Ruanda', + 'Romênia', + 'Rússia', + 'San Cristõvao e Neves', + 'San Marino', + 'São Vicente e as Granadinas', + 'Santa Luzia', + 'São Tomé e Príncipe', + 'Senegal', + 'Sérvia', + 'Seychelles', + 'Serra Leoa', + 'Singapura', + 'Síria', + 'Somália', + 'Sri Lanka', + 'Suazilândia', + 'Sudão', + 'Suécia', + 'Suiça', + 'Suriname', + 'Tailândia', + 'Tanzânia', + 'Tajiquistão', + 'Timor Leste', + 'Togo', + 'Tonga', + 'Trinidad e Tobago', + 'Turcomenistão', + 'Turquia', + 'Tuvalu', + 'Tunísia', + 'Ucrânia', + 'Uganda', + 'Uruguai', + 'Uzbequistão', + 'Vaticano', + 'Vanuatu', + 'Venezuela', + 'Vietnã', + 'Yemen', + 'Zâmbia', + 'Zimbábue', + ]; + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}} {{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}} {{citySuffix}}', + '{{lastName}} {{citySuffix}}', + ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{firstName}}', + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} {{firstName}} {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}}, {{buildingNumber}}', + '{{streetName}}, {{buildingNumber}}. {{secondaryAddress}}', + ]; + protected static $addressFormats = [ + "{{postcode}}, {{streetAddress}}\n{{city}} - {{stateAbbr}}", + ]; + protected static $secondaryAddressFormats = [ + 'Bloco A', + 'Bloco B', + 'Bloco C', + 'Bc. # Ap. ##', + 'Bc. ## Ap. ##', + '#º Andar', + '##º Andar', + '###º Andar', + 'Apto #', + 'Apto ##', + 'Apto ###', + 'Apto ####', + 'F', + 'Fundos', + 'Anexo', + ]; - /** - * @example 'Avenida' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Avenida' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'São' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + /** + * @example 'São' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - /** - * @example '6º Andar' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '6º Andar' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @example 'Brasília' - */ - public static function state() - { - return static::randomElement(static::$state); - } + /** + * @example 'Brasília' + */ + public static function state() { + return static::randomElement( static::$state ); + } - /** - * @example 'DF' - */ - public static function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } + /** + * @example 'DF' + */ + public static function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } - /** - * @example 'Nordeste' - */ - public static function region() - { - return static::randomElement(static::$region); - } + /** + * @example 'Nordeste' + */ + public static function region() { + return static::randomElement( static::$region ); + } - /** - * @example 'NE' - */ - public static function regionAbbr() - { - return static::randomElement(static::$regionAbbr); - } + /** + * @example 'NE' + */ + public static function regionAbbr() { + return static::randomElement( static::$regionAbbr ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Company.php index 721f056..5a3b283 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Company.php @@ -4,33 +4,31 @@ require_once 'check_digit.php'; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}} e {{lastName}}', - '{{lastName}} e {{lastName}} {{companySuffix}}', - '{{lastName}} Comercial Ltda.', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}} e {{lastName}}', + '{{lastName}} e {{lastName}} {{companySuffix}}', + '{{lastName}} Comercial Ltda.', + ]; - protected static $companySuffix = ['e Filhos', 'e Associados', 'Ltda.', 'S.A.']; + protected static $companySuffix = [ 'e Filhos', 'e Associados', 'Ltda.', 'S.A.' ]; - /** - * A random CNPJ number. - * - * @see http://en.wikipedia.org/wiki/CNPJ - * - * @param bool $formatted If the number should have dots/slashes/dashes or not. - * - * @return string - */ - public function cnpj($formatted = true) - { - $n = $this->generator->numerify('########0001'); - $n .= check_digit($n); - $n .= check_digit($n); + /** + * A random CNPJ number. + * + * @see http://en.wikipedia.org/wiki/CNPJ + * + * @param bool $formatted If the number should have dots/slashes/dashes or not. + * + * @return string + */ + public function cnpj( $formatted = true ) { + $n = $this->generator->numerify( '########0001' ); + $n .= check_digit( $n ); + $n .= check_digit( $n ); - return $formatted ? vsprintf('%d%d.%d%d%d.%d%d%d/%d%d%d%d-%d%d', str_split($n)) : $n; - } + return $formatted ? vsprintf( '%d%d.%d%d%d.%d%d%d/%d%d%d%d-%d%d', str_split( $n ) ) : $n; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Internet.php index fc68ae6..af152a6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Internet.php @@ -2,8 +2,15 @@ namespace Faker\Provider\pt_BR; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'uol.com.br', 'terra.com.br', 'ig.com.br', 'r7.com']; - protected static $tld = ['com', 'com', 'com.br', 'com.br', 'net', 'net.br', 'br', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + 'uol.com.br', + 'terra.com.br', + 'ig.com.br', + 'r7.com' + ]; + protected static $tld = [ 'com', 'com', 'com.br', 'com.br', 'net', 'net.br', 'br', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Payment.php index a399a94..54a9c97 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Payment.php @@ -2,147 +2,156 @@ namespace Faker\Provider\pt_BR; -class Payment extends \Faker\Provider\Payment -{ - protected static $cardVendors = [ - 'Visa', 'Visa', 'Visa', 'Visa', 'Visa', - 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', 'MasterCard', - 'American Express', 'Discover Card', 'Diners', 'Elo', 'Hipercard', - ]; +class Payment extends \Faker\Provider\Payment { + protected static $cardVendors = [ + 'Visa', + 'Visa', + 'Visa', + 'Visa', + 'Visa', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'MasterCard', + 'American Express', + 'Discover Card', + 'Diners', + 'Elo', + 'Hipercard', + ]; - // see https://gist.github.com/erikhenrique/5931368 / http://pt.stackoverflow.com/q/3715/26461 - protected static $cardParams = [ - 'Visa' => [ - '4##############', - ], - 'MasterCard' => [ - '5##############', - ], - 'American Express' => [ - '34############', - '37############', - ], - 'Discover Card' => [ - '6011###########', - '622############', - '64#############', - '65#############', - ], - 'Diners' => [ - '301############', - '301##########', - '305############', - '305##########', - '36#############', - '36###########', - '38#############', - '38###########', - ], - 'Elo' => [ - '636368#########', - '438935#########', - '504175#########', - '451416#########', - '636297#########', - '5067###########', - '4576###########', - '4011###########', - ], - 'Hipercard' => [ - '38#############', - '60#############', - ], - 'Aura' => [ - '50#############', - ], - ]; + // see https://gist.github.com/erikhenrique/5931368 / http://pt.stackoverflow.com/q/3715/26461 + protected static $cardParams = [ + 'Visa' => [ + '4##############', + ], + 'MasterCard' => [ + '5##############', + ], + 'American Express' => [ + '34############', + '37############', + ], + 'Discover Card' => [ + '6011###########', + '622############', + '64#############', + '65#############', + ], + 'Diners' => [ + '301############', + '301##########', + '305############', + '305##########', + '36#############', + '36###########', + '38#############', + '38###########', + ], + 'Elo' => [ + '636368#########', + '438935#########', + '504175#########', + '451416#########', + '636297#########', + '5067###########', + '4576###########', + '4011###########', + ], + 'Hipercard' => [ + '38#############', + '60#############', + ], + 'Aura' => [ + '50#############', + ], + ]; - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'BR', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'BR', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } - /** - * @see list of Brazilians banks (2018-02-15), source: https://pt.wikipedia.org/wiki/Lista_de_bancos_do_Brasil - */ - protected static $banks = [ - 'BADESUL Desenvolvimento S.A. – Agência de Fomento/RS', - 'Banco Central do Brasil', - 'Banco da Amazônia', - 'Banco de Brasília', - 'Banco de Desenvolvimento de Minas Gerais', - 'Banco de Desenvolvimento do Espírito Santo', - 'Banco de Desenvolvimento do Paraná', - 'Banco do Brasil', - 'Banco do Estado de Sergipe Banese Estadual', - 'Banco do Estado do Espírito Santo Banestes', - 'Banco do Estado do Pará', - 'Banco do Estado do Rio Grande do Sul', - 'Banco do Nordeste do Brasil', - 'Banco Nacional de Desenvolvimento Econômico e Social', - 'Banco Regional de Desenvolvimento do Extremo Sul', - 'Caixa Econômica Federal', - 'Banco ABN Amro S.A.', - 'Banco Alfa', - 'Banco Banif', - 'Banco BBM', - 'Banco BMG', - 'Banco Bonsucesso', - 'Banco BTG Pactual', - 'Banco Cacique', - 'Banco Caixa Geral - Brasil', - 'Banco Citibank', - 'Banco Credibel', - 'Banco Credit Suisse', - 'Góis Monteiro & Co', - 'Banco Fator', - 'Banco Fibra', - 'Agibank', - 'Banco Guanabara', - 'Banco Industrial do Brasil', - 'Banco Industrial e Comercial', - 'Banco Indusval', - 'Banco Inter', - 'Banco Itaú BBA', - 'Banco ItaúBank', - 'Banco Itaucred Financiamentos', - 'Banco Mercantil do Brasil', - 'Banco Modal Modal', - 'Banco Morada', - 'Banco Pan', - 'Banco Paulista', - 'Banco Pine', - 'Banco Renner', - 'Banco Ribeirão Preto', - 'Banco Safra', - 'Banco Santander', - 'Banco Sofisa', - 'Banco Topázio', - 'Banco Votorantim', - 'Bradesco Bradesco', - 'Itaú Unibanco', - 'Banco Original', - 'Banco Neon', - 'Nu Pagamentos S.A', - 'XP Investimentos Corretora de Câmbio Títulos e Valores Mobiliários S.A', - ]; + /** + * @see list of Brazilians banks (2018-02-15), source: https://pt.wikipedia.org/wiki/Lista_de_bancos_do_Brasil + */ + protected static $banks = [ + 'BADESUL Desenvolvimento S.A. – Agência de Fomento/RS', + 'Banco Central do Brasil', + 'Banco da Amazônia', + 'Banco de Brasília', + 'Banco de Desenvolvimento de Minas Gerais', + 'Banco de Desenvolvimento do Espírito Santo', + 'Banco de Desenvolvimento do Paraná', + 'Banco do Brasil', + 'Banco do Estado de Sergipe Banese Estadual', + 'Banco do Estado do Espírito Santo Banestes', + 'Banco do Estado do Pará', + 'Banco do Estado do Rio Grande do Sul', + 'Banco do Nordeste do Brasil', + 'Banco Nacional de Desenvolvimento Econômico e Social', + 'Banco Regional de Desenvolvimento do Extremo Sul', + 'Caixa Econômica Federal', + 'Banco ABN Amro S.A.', + 'Banco Alfa', + 'Banco Banif', + 'Banco BBM', + 'Banco BMG', + 'Banco Bonsucesso', + 'Banco BTG Pactual', + 'Banco Cacique', + 'Banco Caixa Geral - Brasil', + 'Banco Citibank', + 'Banco Credibel', + 'Banco Credit Suisse', + 'Góis Monteiro & Co', + 'Banco Fator', + 'Banco Fibra', + 'Agibank', + 'Banco Guanabara', + 'Banco Industrial do Brasil', + 'Banco Industrial e Comercial', + 'Banco Indusval', + 'Banco Inter', + 'Banco Itaú BBA', + 'Banco ItaúBank', + 'Banco Itaucred Financiamentos', + 'Banco Mercantil do Brasil', + 'Banco Modal Modal', + 'Banco Morada', + 'Banco Pan', + 'Banco Paulista', + 'Banco Pine', + 'Banco Renner', + 'Banco Ribeirão Preto', + 'Banco Safra', + 'Banco Santander', + 'Banco Sofisa', + 'Banco Topázio', + 'Banco Votorantim', + 'Bradesco Bradesco', + 'Itaú Unibanco', + 'Banco Original', + 'Banco Neon', + 'Nu Pagamentos S.A', + 'XP Investimentos Corretora de Câmbio Títulos e Valores Mobiliários S.A', + ]; - /** - * @example 'Banco Neon' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Banco Neon' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php index 6331e7b..b15b408 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Person.php @@ -4,156 +4,735 @@ require_once 'check_digit.php'; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - '{{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + '{{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - '{{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + '{{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{suffix}}', + ]; - protected static $firstNameMale = [ - 'Aaron', 'Adriano', 'Adriel', 'Afonso', 'Agostinho', 'Alan', 'Alessandro', 'Alexandre', 'Allan', 'Alonso', - 'Anderson', 'Andres', 'André', 'Antônio', 'Arthur', 'Artur', 'Augusto', 'Benedito', 'Benjamin', 'Benício', - 'Bernardo', 'Breno', 'Bruno', 'Caio', 'Camilo', 'Carlos', 'Cauan', 'Cezar', 'Christian', 'Christopher', - 'Cláudio', 'Cléber', 'Cristian', 'Cristiano', 'Cristóvão', 'César', 'Daniel', 'Danilo', 'Dante', 'Davi', - 'David', 'Deivid', 'Demian', 'Dener', 'Denis', 'Diego', 'Diogo', 'Edilson', 'Edson', 'Eduardo', 'Elias', - 'Emanuel', 'Emerson', 'Emiliano', 'Emílio', 'Enzo', 'Eric', 'Erik', 'Estêvão', 'Evandro', 'Everton', 'Fabiano', - 'Fabrício', 'Felipe', 'Fernando', 'Filipe', 'Flávio', 'Francisco', 'Franco', 'Fábio', 'Gabriel', 'Gael', 'Gean', - 'George', 'Gian', 'Gilberto', 'Giovane', 'Guilherme', 'Gustavo', 'Heitor', 'Henrique', 'Hernani', 'Horácio', - 'Hugo', 'Ian', 'Igor', 'Inácio', 'Isaac', 'Ivan', 'James', 'Jean', 'Jefferson', 'Jerônimo', 'Joaquim', - 'Joaquin', 'Jonas', 'Jorge', 'Josué', 'José', 'João', 'Juan', 'Juliano', 'Jácomo', 'Júlio', 'Kauan', 'Kevin', - 'Kléber', 'Leandro', 'Leo', 'Leonardo', 'Lorenzo', 'Luan', 'Lucas', 'Luciano', 'Lucio', 'Luis', 'Luiz', - 'Maicon', 'Manuel', 'Marcelo', 'Marco', 'Marcos', 'Martinho', 'Mateus', 'Matheus', 'Matias', 'Mauro', - 'Maurício', 'Maximiano', 'Michael', 'Miguel', 'Moisés', 'Murilo', 'Márcio', 'Mário', 'Máximo', 'Natal', 'Natan', - 'Nelson', 'Nero', 'Nicolas', 'Noel', 'Otávio', 'Pablo', 'Paulo', 'Pedro', 'Rafael', 'Raphael', 'Reinaldo', - 'Renan', 'Renato', 'Ricardo', 'Richard', 'Roberto', 'Robson', 'Rodolfo', 'Rodrigo', 'Rogério', 'Ronaldo', - 'Samuel', 'Sandro', 'Santiago', 'Saulo', 'Sebastião', 'Sergio', 'Simon', 'Simão', 'Sérgio', 'Teobaldo', - 'Thales', 'Thiago', 'Thomas', 'Théo', 'Tiago', 'Tomás', 'Téo', 'Valentin', 'Vicente', 'Victor', 'Vinícius', - 'Vitor', 'Wagner', 'Walter', 'Wellington', 'Wesley', 'William', 'Willian', 'Wilson', 'Yuri', 'Ziraldo', 'Ícaro', - 'Ítalo', - ]; + protected static $firstNameMale = [ + 'Aaron', + 'Adriano', + 'Adriel', + 'Afonso', + 'Agostinho', + 'Alan', + 'Alessandro', + 'Alexandre', + 'Allan', + 'Alonso', + 'Anderson', + 'Andres', + 'André', + 'Antônio', + 'Arthur', + 'Artur', + 'Augusto', + 'Benedito', + 'Benjamin', + 'Benício', + 'Bernardo', + 'Breno', + 'Bruno', + 'Caio', + 'Camilo', + 'Carlos', + 'Cauan', + 'Cezar', + 'Christian', + 'Christopher', + 'Cláudio', + 'Cléber', + 'Cristian', + 'Cristiano', + 'Cristóvão', + 'César', + 'Daniel', + 'Danilo', + 'Dante', + 'Davi', + 'David', + 'Deivid', + 'Demian', + 'Dener', + 'Denis', + 'Diego', + 'Diogo', + 'Edilson', + 'Edson', + 'Eduardo', + 'Elias', + 'Emanuel', + 'Emerson', + 'Emiliano', + 'Emílio', + 'Enzo', + 'Eric', + 'Erik', + 'Estêvão', + 'Evandro', + 'Everton', + 'Fabiano', + 'Fabrício', + 'Felipe', + 'Fernando', + 'Filipe', + 'Flávio', + 'Francisco', + 'Franco', + 'Fábio', + 'Gabriel', + 'Gael', + 'Gean', + 'George', + 'Gian', + 'Gilberto', + 'Giovane', + 'Guilherme', + 'Gustavo', + 'Heitor', + 'Henrique', + 'Hernani', + 'Horácio', + 'Hugo', + 'Ian', + 'Igor', + 'Inácio', + 'Isaac', + 'Ivan', + 'James', + 'Jean', + 'Jefferson', + 'Jerônimo', + 'Joaquim', + 'Joaquin', + 'Jonas', + 'Jorge', + 'Josué', + 'José', + 'João', + 'Juan', + 'Juliano', + 'Jácomo', + 'Júlio', + 'Kauan', + 'Kevin', + 'Kléber', + 'Leandro', + 'Leo', + 'Leonardo', + 'Lorenzo', + 'Luan', + 'Lucas', + 'Luciano', + 'Lucio', + 'Luis', + 'Luiz', + 'Maicon', + 'Manuel', + 'Marcelo', + 'Marco', + 'Marcos', + 'Martinho', + 'Mateus', + 'Matheus', + 'Matias', + 'Mauro', + 'Maurício', + 'Maximiano', + 'Michael', + 'Miguel', + 'Moisés', + 'Murilo', + 'Márcio', + 'Mário', + 'Máximo', + 'Natal', + 'Natan', + 'Nelson', + 'Nero', + 'Nicolas', + 'Noel', + 'Otávio', + 'Pablo', + 'Paulo', + 'Pedro', + 'Rafael', + 'Raphael', + 'Reinaldo', + 'Renan', + 'Renato', + 'Ricardo', + 'Richard', + 'Roberto', + 'Robson', + 'Rodolfo', + 'Rodrigo', + 'Rogério', + 'Ronaldo', + 'Samuel', + 'Sandro', + 'Santiago', + 'Saulo', + 'Sebastião', + 'Sergio', + 'Simon', + 'Simão', + 'Sérgio', + 'Teobaldo', + 'Thales', + 'Thiago', + 'Thomas', + 'Théo', + 'Tiago', + 'Tomás', + 'Téo', + 'Valentin', + 'Vicente', + 'Victor', + 'Vinícius', + 'Vitor', + 'Wagner', + 'Walter', + 'Wellington', + 'Wesley', + 'William', + 'Willian', + 'Wilson', + 'Yuri', + 'Ziraldo', + 'Ícaro', + 'Ítalo', + ]; - protected static $firstNameFemale = [ - 'Abgail', 'Adriana', 'Adriele', 'Agatha', 'Agustina', 'Alana', 'Alessandra', 'Alexa', 'Alice', 'Aline', - 'Allison', 'Alma', 'Alícia', 'Amanda', 'Amélia', 'Ana', 'Analu', 'Andressa', 'Andréa', 'Andréia', 'Angélica', - 'Anita', 'Antonella', 'Antonieta', 'Aparecida', 'Ariana', 'Ariane', 'Aurora', 'Ayla', 'Beatriz', 'Bella', - 'Betina', 'Bia', 'Bianca', 'Bruna', 'Bárbara', 'Camila', 'Carla', 'Carol', 'Carolina', 'Caroline', 'Catarina', - 'Cecília', 'Clara', 'Clarice', 'Cláudia', 'Constância', 'Cristiana', 'Cristina', 'Cynthia', 'Cíntia', 'Daiana', - 'Daiane', 'Daniela', 'Daniele', 'Daniella', 'Danielle', 'Dayana', 'Dayane', 'Denise', 'Diana', 'Dirce', - 'Débora', 'Eduarda', 'Elaine', 'Eliane', 'Elis', 'Elisa', 'Elizabeth', 'Ellen', 'Eloah', 'Eloá', 'Emanuelly', - 'Emilly', 'Emily', 'Emília', 'Estela', 'Ester', 'Esther', 'Eunice', 'Eva', 'Fabiana', 'Fernanda', 'Flor', - 'Flávia', 'Franciele', 'Fátima', 'Gabi', 'Gabriela', 'Gabrielle', 'Gabrielly', 'Giovana', 'Giovanna', 'Gisela', - 'Gisele', 'Graziela', 'Helena', 'Heloise', 'Heloísa', 'Hortência', 'Hosana', 'Iasmin', 'Ingrid', 'Irene', - 'Isabel', 'Isabella', 'Isabelly', 'Isadora', 'Isis', 'Ivana', 'Janaina', 'Jaqueline', 'Jasmin', 'Jennifer', - 'Joana', 'Josefina', 'Joyce', 'Juliana', 'Juliane', 'Julieta', 'Jéssica', 'Júlia', 'Kamila', 'Karen', 'Karina', - 'Karine', 'Katherine', 'Kelly', 'Ketlin', 'Késia', 'Laiane', 'Lara', 'Larissa', 'Laura', 'Lavínia', 'Laís', - 'Letícia', 'Lia', 'Lidiane', 'Lilian', 'Liz', 'Lorena', 'Louise', 'Luana', 'Luara', 'Luciana', 'Luiza', 'Luna', - 'Luzia', 'Luísa', 'Léia', 'Lívia', 'Lúcia', 'Madalena', 'Maiara', 'Maitê', 'Malena', 'Malu', 'Manoela', - 'Manuela', 'Maraisa', 'Mari', 'Maria', 'Mariah', 'Mariana', 'Marina', 'Marisa', 'Marta', 'Mary', 'Marília', - 'Maya', 'Mayara', 'Maísa', 'Mel', 'Melina', 'Melinda', 'Melissa', 'Mia', 'Micaela', 'Michele', 'Michelle', - 'Mila', 'Milena', 'Milene', 'Miranda', 'Mirela', 'Mirella', 'Miriam', 'Márcia', 'Mônica', 'Naiara', 'Naomi', - 'Nathalia', 'Natália', 'Nayara', 'Nicole', 'Noa', 'Noelí', 'Noemi', 'Norma', 'Nádia', 'Ohana', 'Olga', 'Olívia', - 'Ornela', 'Paloma', 'Paola', 'Patrícia', 'Paula', 'Paulina', 'Pietra', 'Poliana', 'Priscila', 'Pâmela', - 'Pérola', 'Rafaela', 'Raissa', 'Raquel', 'Rayane', 'Raysa', 'Rebeca', 'Regiane', 'Regina', 'Renata', 'Roberta', - 'Rosana', 'Ruth', 'Sabrina', 'Samanta', 'Samara', 'Sandra', 'Sara', 'Sarah', 'Sheila', 'Silvana', 'Simone', - 'Sofia', 'Sophia', 'Sophie', 'Stefany', 'Stella', 'Stephanie', 'Stephany', 'Suelen', 'Sueli', 'Suellen', - 'Suzana', 'Sônia', 'Tainara', 'Talita', 'Tatiana', 'Tatiane', 'Taís', 'Tessália', 'Thalia', 'Thalissa', - 'Thalita', 'Thaís', 'Tábata', 'Tâmara', 'Valentina', 'Valéria', 'Vanessa', 'Verônica', 'Violeta', 'Vitória', - 'Viviane', 'Yasmin', 'Yohanna', - ]; + protected static $firstNameFemale = [ + 'Abgail', + 'Adriana', + 'Adriele', + 'Agatha', + 'Agustina', + 'Alana', + 'Alessandra', + 'Alexa', + 'Alice', + 'Aline', + 'Allison', + 'Alma', + 'Alícia', + 'Amanda', + 'Amélia', + 'Ana', + 'Analu', + 'Andressa', + 'Andréa', + 'Andréia', + 'Angélica', + 'Anita', + 'Antonella', + 'Antonieta', + 'Aparecida', + 'Ariana', + 'Ariane', + 'Aurora', + 'Ayla', + 'Beatriz', + 'Bella', + 'Betina', + 'Bia', + 'Bianca', + 'Bruna', + 'Bárbara', + 'Camila', + 'Carla', + 'Carol', + 'Carolina', + 'Caroline', + 'Catarina', + 'Cecília', + 'Clara', + 'Clarice', + 'Cláudia', + 'Constância', + 'Cristiana', + 'Cristina', + 'Cynthia', + 'Cíntia', + 'Daiana', + 'Daiane', + 'Daniela', + 'Daniele', + 'Daniella', + 'Danielle', + 'Dayana', + 'Dayane', + 'Denise', + 'Diana', + 'Dirce', + 'Débora', + 'Eduarda', + 'Elaine', + 'Eliane', + 'Elis', + 'Elisa', + 'Elizabeth', + 'Ellen', + 'Eloah', + 'Eloá', + 'Emanuelly', + 'Emilly', + 'Emily', + 'Emília', + 'Estela', + 'Ester', + 'Esther', + 'Eunice', + 'Eva', + 'Fabiana', + 'Fernanda', + 'Flor', + 'Flávia', + 'Franciele', + 'Fátima', + 'Gabi', + 'Gabriela', + 'Gabrielle', + 'Gabrielly', + 'Giovana', + 'Giovanna', + 'Gisela', + 'Gisele', + 'Graziela', + 'Helena', + 'Heloise', + 'Heloísa', + 'Hortência', + 'Hosana', + 'Iasmin', + 'Ingrid', + 'Irene', + 'Isabel', + 'Isabella', + 'Isabelly', + 'Isadora', + 'Isis', + 'Ivana', + 'Janaina', + 'Jaqueline', + 'Jasmin', + 'Jennifer', + 'Joana', + 'Josefina', + 'Joyce', + 'Juliana', + 'Juliane', + 'Julieta', + 'Jéssica', + 'Júlia', + 'Kamila', + 'Karen', + 'Karina', + 'Karine', + 'Katherine', + 'Kelly', + 'Ketlin', + 'Késia', + 'Laiane', + 'Lara', + 'Larissa', + 'Laura', + 'Lavínia', + 'Laís', + 'Letícia', + 'Lia', + 'Lidiane', + 'Lilian', + 'Liz', + 'Lorena', + 'Louise', + 'Luana', + 'Luara', + 'Luciana', + 'Luiza', + 'Luna', + 'Luzia', + 'Luísa', + 'Léia', + 'Lívia', + 'Lúcia', + 'Madalena', + 'Maiara', + 'Maitê', + 'Malena', + 'Malu', + 'Manoela', + 'Manuela', + 'Maraisa', + 'Mari', + 'Maria', + 'Mariah', + 'Mariana', + 'Marina', + 'Marisa', + 'Marta', + 'Mary', + 'Marília', + 'Maya', + 'Mayara', + 'Maísa', + 'Mel', + 'Melina', + 'Melinda', + 'Melissa', + 'Mia', + 'Micaela', + 'Michele', + 'Michelle', + 'Mila', + 'Milena', + 'Milene', + 'Miranda', + 'Mirela', + 'Mirella', + 'Miriam', + 'Márcia', + 'Mônica', + 'Naiara', + 'Naomi', + 'Nathalia', + 'Natália', + 'Nayara', + 'Nicole', + 'Noa', + 'Noelí', + 'Noemi', + 'Norma', + 'Nádia', + 'Ohana', + 'Olga', + 'Olívia', + 'Ornela', + 'Paloma', + 'Paola', + 'Patrícia', + 'Paula', + 'Paulina', + 'Pietra', + 'Poliana', + 'Priscila', + 'Pâmela', + 'Pérola', + 'Rafaela', + 'Raissa', + 'Raquel', + 'Rayane', + 'Raysa', + 'Rebeca', + 'Regiane', + 'Regina', + 'Renata', + 'Roberta', + 'Rosana', + 'Ruth', + 'Sabrina', + 'Samanta', + 'Samara', + 'Sandra', + 'Sara', + 'Sarah', + 'Sheila', + 'Silvana', + 'Simone', + 'Sofia', + 'Sophia', + 'Sophie', + 'Stefany', + 'Stella', + 'Stephanie', + 'Stephany', + 'Suelen', + 'Sueli', + 'Suellen', + 'Suzana', + 'Sônia', + 'Tainara', + 'Talita', + 'Tatiana', + 'Tatiane', + 'Taís', + 'Tessália', + 'Thalia', + 'Thalissa', + 'Thalita', + 'Thaís', + 'Tábata', + 'Tâmara', + 'Valentina', + 'Valéria', + 'Vanessa', + 'Verônica', + 'Violeta', + 'Vitória', + 'Viviane', + 'Yasmin', + 'Yohanna', + ]; - protected static $lastName = [ - 'Abreu', 'Aguiar', 'Alcantara', 'Alves', 'Amaral', 'Aragão', 'Aranda', 'Arruda', 'Ávila', 'Assunção', 'Azevedo', - 'Balestero', 'Barreto', 'Barros', 'Batista', 'Beltrão', 'Benez', 'Benites', 'Bezerra', 'Bittencourt', 'Bonilha', - 'Branco', 'Brito', 'Burgos', 'Caldeira', 'Camacho', 'Campos', 'Carmona', 'Carrara', 'Carvalho', 'Casanova', - 'Cervantes', 'Chaves', 'Colaço', 'Cordeiro', 'Corona', 'Correia', 'Cortês', 'Cruz', 'D\'ávila', 'Delatorre', - 'Delgado', 'Delvalle', 'Deverso', 'Dias', 'Dominato', 'Domingues', 'Duarte', 'Escobar', 'Espinoza', 'Esteves', - 'Estrada', 'Faria', 'Faro', 'Feliciano', 'Ferminiano', 'Fernandes', 'Ferraz', 'Ferreira', 'Ferreira', 'Fidalgo', - 'Flores', 'Fonseca', 'Fontes', 'Franco', 'Furtado', 'Galhardo', 'Galindo', 'Galvão', 'Garcia', 'Gil', 'Godói', - 'Gomes', 'Gonçalves', 'Grego', 'Guerra', 'Gusmão', 'Jimenes', 'Leal', 'Leon', 'Lira', 'Lourenço', 'Lovato', - 'Lozano', 'Lutero', 'Madeira', 'Maia', 'Maldonado', 'Marin', 'Marinho', 'Marques', 'Martines', 'Marés', - 'Mascarenhas', 'Matias', 'Matos', 'Medina', 'Meireles', 'Mendes', 'Mendonça', 'Molina', 'Montenegro', 'Neves', - 'Oliveira', 'Ortega', 'Ortiz', 'Pacheco', 'Padilha', 'Padrão', 'Paes', 'Paz', 'Pedrosa', 'Pena', 'Pereira', - 'Perez', 'Pontes', 'Prado', 'Queirós', 'Queirós', 'Quintana', 'Quintana', 'Ramires', 'Ramos', 'Rangel', 'Reis', - 'Rezende', 'Rico', 'Rios', 'Rivera', 'Rocha', 'Rodrigues', 'Romero', 'Roque', 'Rosa', 'Saito', 'Salas', - 'Salazar', 'Sales', 'Salgado', 'Sanches', 'Sandoval', 'Santacruz', 'Santana', 'Santiago', 'Santos', 'Saraiva', - 'Sepúlveda', 'Serna', 'Serra', 'Serrano', 'Soares', 'Solano', 'Soto', 'Souza', 'Tamoio', 'Teles', 'Toledo', - 'Torres', 'Uchoa', 'Urias', 'Valdez', 'Vale', 'Valente', 'Valentin', 'Valência', 'Vasques', 'Vega', 'Velasques', - 'Verdara', 'Verdugo', 'Vieira', 'Vila', 'Zamana', 'Zambrano', 'Zaragoça', 'da Cruz', 'da Rosa', 'da Silva', - 'das Dores', 'das Neves', 'de Aguiar', 'de Arruda', 'de Freitas', 'de Oliveira', 'de Souza', - ]; + protected static $lastName = [ + 'Abreu', + 'Aguiar', + 'Alcantara', + 'Alves', + 'Amaral', + 'Aragão', + 'Aranda', + 'Arruda', + 'Ávila', + 'Assunção', + 'Azevedo', + 'Balestero', + 'Barreto', + 'Barros', + 'Batista', + 'Beltrão', + 'Benez', + 'Benites', + 'Bezerra', + 'Bittencourt', + 'Bonilha', + 'Branco', + 'Brito', + 'Burgos', + 'Caldeira', + 'Camacho', + 'Campos', + 'Carmona', + 'Carrara', + 'Carvalho', + 'Casanova', + 'Cervantes', + 'Chaves', + 'Colaço', + 'Cordeiro', + 'Corona', + 'Correia', + 'Cortês', + 'Cruz', + 'D\'ávila', + 'Delatorre', + 'Delgado', + 'Delvalle', + 'Deverso', + 'Dias', + 'Dominato', + 'Domingues', + 'Duarte', + 'Escobar', + 'Espinoza', + 'Esteves', + 'Estrada', + 'Faria', + 'Faro', + 'Feliciano', + 'Ferminiano', + 'Fernandes', + 'Ferraz', + 'Ferreira', + 'Ferreira', + 'Fidalgo', + 'Flores', + 'Fonseca', + 'Fontes', + 'Franco', + 'Furtado', + 'Galhardo', + 'Galindo', + 'Galvão', + 'Garcia', + 'Gil', + 'Godói', + 'Gomes', + 'Gonçalves', + 'Grego', + 'Guerra', + 'Gusmão', + 'Jimenes', + 'Leal', + 'Leon', + 'Lira', + 'Lourenço', + 'Lovato', + 'Lozano', + 'Lutero', + 'Madeira', + 'Maia', + 'Maldonado', + 'Marin', + 'Marinho', + 'Marques', + 'Martines', + 'Marés', + 'Mascarenhas', + 'Matias', + 'Matos', + 'Medina', + 'Meireles', + 'Mendes', + 'Mendonça', + 'Molina', + 'Montenegro', + 'Neves', + 'Oliveira', + 'Ortega', + 'Ortiz', + 'Pacheco', + 'Padilha', + 'Padrão', + 'Paes', + 'Paz', + 'Pedrosa', + 'Pena', + 'Pereira', + 'Perez', + 'Pontes', + 'Prado', + 'Queirós', + 'Queirós', + 'Quintana', + 'Quintana', + 'Ramires', + 'Ramos', + 'Rangel', + 'Reis', + 'Rezende', + 'Rico', + 'Rios', + 'Rivera', + 'Rocha', + 'Rodrigues', + 'Romero', + 'Roque', + 'Rosa', + 'Saito', + 'Salas', + 'Salazar', + 'Sales', + 'Salgado', + 'Sanches', + 'Sandoval', + 'Santacruz', + 'Santana', + 'Santiago', + 'Santos', + 'Saraiva', + 'Sepúlveda', + 'Serna', + 'Serra', + 'Serrano', + 'Soares', + 'Solano', + 'Soto', + 'Souza', + 'Tamoio', + 'Teles', + 'Toledo', + 'Torres', + 'Uchoa', + 'Urias', + 'Valdez', + 'Vale', + 'Valente', + 'Valentin', + 'Valência', + 'Vasques', + 'Vega', + 'Velasques', + 'Verdara', + 'Verdugo', + 'Vieira', + 'Vila', + 'Zamana', + 'Zambrano', + 'Zaragoça', + 'da Cruz', + 'da Rosa', + 'da Silva', + 'das Dores', + 'das Neves', + 'de Aguiar', + 'de Arruda', + 'de Freitas', + 'de Oliveira', + 'de Souza', + ]; - protected static $titleMale = ['Sr.', 'Dr.']; + protected static $titleMale = [ 'Sr.', 'Dr.' ]; - protected static $titleFemale = ['Sra.', 'Srta.', 'Dr.']; + protected static $titleFemale = [ 'Sra.', 'Srta.', 'Dr.' ]; - protected static $suffix = ['Filho', 'Neto', 'Sobrinho', 'Jr.']; + protected static $suffix = [ 'Filho', 'Neto', 'Sobrinho', 'Jr.' ]; - /** - * @example 'Jr.' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'Jr.' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * A random CPF number. - * - * @see http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas - * - * @param bool $formatted If the number should have dots/dashes or not. - * - * @return string - */ - public function cpf($formatted = true) - { - $n = $this->generator->numerify('#########'); - $n .= check_digit($n); - $n .= check_digit($n); + /** + * A random CPF number. + * + * @see http://en.wikipedia.org/wiki/Cadastro_de_Pessoas_F%C3%ADsicas + * + * @param bool $formatted If the number should have dots/dashes or not. + * + * @return string + */ + public function cpf( $formatted = true ) { + $n = $this->generator->numerify( '#########' ); + $n .= check_digit( $n ); + $n .= check_digit( $n ); - return $formatted ? vsprintf('%d%d%d.%d%d%d.%d%d%d-%d%d', str_split($n)) : $n; - } + return $formatted ? vsprintf( '%d%d%d.%d%d%d.%d%d%d-%d%d', str_split( $n ) ) : $n; + } - /** - * A random RG number, following Sao Paulo state's rules. - * - * @see http://pt.wikipedia.org/wiki/C%C3%A9dula_de_identidade - * - * @param bool $formatted If the number should have dots/dashes or not. - * - * @return string - */ - public function rg($formatted = true) - { - $n = $this->generator->numerify('########'); - $n .= check_digit($n); + /** + * A random RG number, following Sao Paulo state's rules. + * + * @see http://pt.wikipedia.org/wiki/C%C3%A9dula_de_identidade + * + * @param bool $formatted If the number should have dots/dashes or not. + * + * @return string + */ + public function rg( $formatted = true ) { + $n = $this->generator->numerify( '########' ); + $n .= check_digit( $n ); - return $formatted ? vsprintf('%d%d.%d%d%d.%d%d%d-%s', str_split($n)) : $n; - } + return $formatted ? vsprintf( '%d%d.%d%d%d.%d%d%d-%s', str_split( $n ) ) : $n; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/PhoneNumber.php index 6717def..b5b4e62 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/PhoneNumber.php @@ -2,149 +2,200 @@ namespace Faker\Provider\pt_BR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $landlineFormats = ['2###-####', '3###-####', '4###-####']; - - /** - * Since december 2016 all mobile phone numbers in brazil begin with 9 and landlines 2, 3 or 4. - * - * @see http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?org.apache.struts.taglib.html.TOKEN=9594e1d11fbc996d52bda44e608bb744&codItemCanal=1794&pastaSelecionada=2984 - */ - protected static $cellphoneFormats = ['9####-####']; - - /** - * Generates a 2-digit area code not composed by zeroes. - * - * @see http://www.anatel.gov.br/legislacao/resolucoes/16-2001/383-resolucao-263. - * - * @return string - */ - public static function areaCode() - { - $areaCodes = [ - '11', '12', '13', '14', '15', '16', '17', '18', '19', '21', '22', '24', - '27', '28', '31', '32', '33', '34', '35', '37', '38', '41', '42', '43', - '44', '45', '46', '47', '48', '49', '51', '53', '54', '55', '61', '62', - '63', '64', '65', '66', '67', '68', '69', '71', '73', '74', '75', '77', - '79', '81', '82', '83', '84', '85', '86', '87', '88', '89', '91', '92', - '93', '94', '95', '96', '97', '98', '99', - ]; - - return self::randomElement($areaCodes); - } - - /** - * Generates a 9-digit cellphone number without formatting characters. - * - * @param bool $formatted [def: true] If it should return a formatted number or not. - * - * @return string - */ - public static function cellphone($formatted = true) - { - $number = static::numerify(static::randomElement(static::$cellphoneFormats)); - - if (!$formatted) { - $number = strtr($number, ['-' => '']); - } - - return $number; - } - - /** - * Generates an 9-digit landline number without formatting characters. - * - * @param bool $formatted [def: true] If it should return a formatted number or not. - * - * @return string - */ - public static function landline($formatted = true) - { - $number = static::numerify(static::randomElement(static::$landlineFormats)); - - if (!$formatted) { - $number = strtr($number, ['-' => '']); - } - - return $number; - } - - /** - * Randomizes between cellphone and landline numbers. - * - * @param bool $formatted [def: true] If it should return a formatted number or not. - */ - public static function phone($formatted = true) - { - $options = static::randomElement([ - ['cellphone', false], - ['cellphone', true], - ['landline', null], - ]); - - return call_user_func("static::{$options[0]}", $formatted, $options[1]); - } - - /** - * Generates a complete phone number. - * - * @param string $type [def: landline] One of "landline" or "cellphone". Defaults to "landline" on invalid values. - * @param bool $formatted [def: true] If the number should be formatted or not. - * - * @return string - */ - protected static function anyPhoneNumber($type, $formatted = true) - { - $area = static::areaCode(); - $number = ($type == 'cellphone') ? - static::cellphone($formatted) : - static::landline($formatted); - - return $formatted ? "($area) $number" : $area . $number; - } - - /** - * Concatenates {@link areaCode} and {@link cellphone} into a national cellphone number. - * - * @param bool $formatted [def: true] If it should return a formatted number or not. - * - * @return string - */ - public static function cellphoneNumber($formatted = true) - { - return static::anyPhoneNumber('cellphone', $formatted); - } - - /** - * Concatenates {@link areaCode} and {@link landline} into a national landline number. - * - * @param bool $formatted [def: true] If it should return a formatted number or not. - * - * @return string - */ - public static function landlineNumber($formatted = true) - { - return static::anyPhoneNumber('landline', $formatted); - } - - /** - * Randomizes between complete cellphone and landline numbers. - */ - public function phoneNumber() - { - $method = static::randomElement(['cellphoneNumber', 'landlineNumber']); - - return call_user_func("static::$method", true); - } - - /** - * Randomizes between complete cellphone and landline numbers, cleared from formatting symbols. - */ - public static function phoneNumberCleared() - { - $method = static::randomElement(['cellphoneNumber', 'landlineNumber']); - - return call_user_func("static::$method", false); - } +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $landlineFormats = [ '2###-####', '3###-####', '4###-####' ]; + + /** + * Since december 2016 all mobile phone numbers in brazil begin with 9 and landlines 2, 3 or 4. + * + * @see http://www.anatel.gov.br/Portal/exibirPortalPaginaEspecial.do?org.apache.struts.taglib.html.TOKEN=9594e1d11fbc996d52bda44e608bb744&codItemCanal=1794&pastaSelecionada=2984 + */ + protected static $cellphoneFormats = [ '9####-####' ]; + + /** + * Generates a 2-digit area code not composed by zeroes. + * + * @see http://www.anatel.gov.br/legislacao/resolucoes/16-2001/383-resolucao-263. + * + * @return string + */ + public static function areaCode() { + $areaCodes = [ + '11', + '12', + '13', + '14', + '15', + '16', + '17', + '18', + '19', + '21', + '22', + '24', + '27', + '28', + '31', + '32', + '33', + '34', + '35', + '37', + '38', + '41', + '42', + '43', + '44', + '45', + '46', + '47', + '48', + '49', + '51', + '53', + '54', + '55', + '61', + '62', + '63', + '64', + '65', + '66', + '67', + '68', + '69', + '71', + '73', + '74', + '75', + '77', + '79', + '81', + '82', + '83', + '84', + '85', + '86', + '87', + '88', + '89', + '91', + '92', + '93', + '94', + '95', + '96', + '97', + '98', + '99', + ]; + + return self::randomElement( $areaCodes ); + } + + /** + * Generates a 9-digit cellphone number without formatting characters. + * + * @param bool $formatted [def: true] If it should return a formatted number or not. + * + * @return string + */ + public static function cellphone( $formatted = true ) { + $number = static::numerify( static::randomElement( static::$cellphoneFormats ) ); + + if ( ! $formatted ) { + $number = strtr( $number, [ '-' => '' ] ); + } + + return $number; + } + + /** + * Generates an 9-digit landline number without formatting characters. + * + * @param bool $formatted [def: true] If it should return a formatted number or not. + * + * @return string + */ + public static function landline( $formatted = true ) { + $number = static::numerify( static::randomElement( static::$landlineFormats ) ); + + if ( ! $formatted ) { + $number = strtr( $number, [ '-' => '' ] ); + } + + return $number; + } + + /** + * Randomizes between cellphone and landline numbers. + * + * @param bool $formatted [def: true] If it should return a formatted number or not. + */ + public static function phone( $formatted = true ) { + $options = static::randomElement( [ + [ 'cellphone', false ], + [ 'cellphone', true ], + [ 'landline', null ], + ] ); + + return call_user_func( "static::{$options[0]}", $formatted, $options[1] ); + } + + /** + * Generates a complete phone number. + * + * @param string $type [def: landline] One of "landline" or "cellphone". Defaults to "landline" on invalid values. + * @param bool $formatted [def: true] If the number should be formatted or not. + * + * @return string + */ + protected static function anyPhoneNumber( $type, $formatted = true ) { + $area = static::areaCode(); + $number = ( $type == 'cellphone' ) ? + static::cellphone( $formatted ) : + static::landline( $formatted ); + + return $formatted ? "($area) $number" : $area . $number; + } + + /** + * Concatenates {@link areaCode} and {@link cellphone} into a national cellphone number. + * + * @param bool $formatted [def: true] If it should return a formatted number or not. + * + * @return string + */ + public static function cellphoneNumber( $formatted = true ) { + return static::anyPhoneNumber( 'cellphone', $formatted ); + } + + /** + * Concatenates {@link areaCode} and {@link landline} into a national landline number. + * + * @param bool $formatted [def: true] If it should return a formatted number or not. + * + * @return string + */ + public static function landlineNumber( $formatted = true ) { + return static::anyPhoneNumber( 'landline', $formatted ); + } + + /** + * Randomizes between complete cellphone and landline numbers. + */ + public function phoneNumber() { + $method = static::randomElement( [ 'cellphoneNumber', 'landlineNumber' ] ); + + return call_user_func( "static::$method", true ); + } + + /** + * Randomizes between complete cellphone and landline numbers, cleared from formatting symbols. + */ + public static function phoneNumberCleared() { + $method = static::randomElement( [ 'cellphoneNumber', 'landlineNumber' ] ); + + return call_user_func( "static::$method", false ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Text.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Text.php index d177c87..ce2dd75 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/Text.php @@ -2,57 +2,56 @@ namespace Faker\Provider\pt_BR; -class Text extends \Faker\Provider\Text -{ - /** - * The Project Gutenberg EBook of Dom Casmurro, by Machado de Assis - * - * This eBook is for the use of anyone anywhere in the United States and most - * other parts of the world at no cost and with almost no restrictions - * whatsoever. You may copy it, give it away or re-use it under the terms of - * the Project Gutenberg License included with this eBook or online at - * www.gutenberg.org. If you are not located in the United States, you'll have - * to check the laws of the country where you are located before using this ebook. - * - * Title: Dom Casmurro - * - * Author: Machado de Assis - * - * Release Date: October 15, 2017 [EBook #55752] - * - * Language: Portuguese - * - * *** START OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO *** - * - * Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free - * Literature (online soon in an extended version,also linking - * to free sources for education worldwide ... MOOC's, - * educational materials,...) (Images generously made available - * by the Bibliotheca Nacional Digital Brasil.) - * - * DOM CASMURRO - * - * POR - * - * MACHADO DE ASSIS - * - * DA ACADEMIA BRAZILEIRA - * - * H. GARNIER, LIVREIRO-EDITOR - * - * RUA MOREIRA CEZAR, 71 - * - * RIO DE JANEIRO - * - * 6, RUE DES SAINTS-PÈRES, 6 - * - * PARIZ - * - * @see https://www.gutenberg.org/cache/epub/55752/pg55752.txt - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * The Project Gutenberg EBook of Dom Casmurro, by Machado de Assis + * + * This eBook is for the use of anyone anywhere in the United States and most + * other parts of the world at no cost and with almost no restrictions + * whatsoever. You may copy it, give it away or re-use it under the terms of + * the Project Gutenberg License included with this eBook or online at + * www.gutenberg.org. If you are not located in the United States, you'll have + * to check the laws of the country where you are located before using this ebook. + * + * Title: Dom Casmurro + * + * Author: Machado de Assis + * + * Release Date: October 15, 2017 [EBook #55752] + * + * Language: Portuguese + * + * *** START OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO *** + * + * Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free + * Literature (online soon in an extended version,also linking + * to free sources for education worldwide ... MOOC's, + * educational materials,...) (Images generously made available + * by the Bibliotheca Nacional Digital Brasil.) + * + * DOM CASMURRO + * + * POR + * + * MACHADO DE ASSIS + * + * DA ACADEMIA BRAZILEIRA + * + * H. GARNIER, LIVREIRO-EDITOR + * + * RUA MOREIRA CEZAR, 71 + * + * RIO DE JANEIRO + * + * 6, RUE DES SAINTS-PÈRES, 6 + * + * PARIZ + * + * @see https://www.gutenberg.org/cache/epub/55752/pg55752.txt + * + * @var string + */ + protected static $baseText = <<<'EOT' I Do titulo. @@ -3056,372 +3055,372 @@ classico e figuras antigas em pinturas americanas. O mais é tambem EOT; - /* - End of the Project Gutenberg EBook of Dom Casmurro, by Machado de Assis - - *** END OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO *** - - ***** This file should be named 55752-8.txt or 55752-8.zip ***** - This and all associated files of various formats will be found in: - http://www.gutenberg.org/5/5/7/5/55752/ - - Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free - Literature (online soon in an extended version,also linking - to free sources for education worldwide ... MOOC's, - educational materials,...) (Images generously made available - by the Bibliotheca Nacional Digital Brasil.) - - Updated editions will replace the previous one--the old editions will - be renamed. - - Creating the works from print editions not protected by U.S. copyright - law means that no one owns a United States copyright in these works, - so the Foundation (and you!) can copy and distribute it in the United - States without permission and without paying copyright - royalties. Special rules, set forth in the General Terms of Use part - of this license, apply to copying and distributing Project - Gutenberg-tm electronic works to protect the PROJECT GUTENBERG-tm - concept and trademark. Project Gutenberg is a registered trademark, - and may not be used if you charge for the eBooks, unless you receive - specific permission. If you do not charge anything for copies of this - eBook, complying with the rules is very easy. You may use this eBook - for nearly any purpose such as creation of derivative works, reports, - performances and research. They may be modified and printed and given - away--you may do practically ANYTHING in the United States with eBooks - not protected by U.S. copyright law. Redistribution is subject to the - trademark license, especially commercial redistribution. - - START: FULL LICENSE - - THE FULL PROJECT GUTENBERG LICENSE - PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK - - To protect the Project Gutenberg-tm mission of promoting the free - distribution of electronic works, by using or distributing this work - (or any other work associated in any way with the phrase "Project - Gutenberg"), you agree to comply with all the terms of the Full - Project Gutenberg-tm License available with this file or online at - www.gutenberg.org/license. - - Section 1. General Terms of Use and Redistributing Project - Gutenberg-tm electronic works - - 1.A. By reading or using any part of this Project Gutenberg-tm - electronic work, you indicate that you have read, understand, agree to - and accept all the terms of this license and intellectual property - (trademark/copyright) agreement. If you do not agree to abide by all - the terms of this agreement, you must cease using and return or - destroy all copies of Project Gutenberg-tm electronic works in your - possession. If you paid a fee for obtaining a copy of or access to a - Project Gutenberg-tm electronic work and you do not agree to be bound - by the terms of this agreement, you may obtain a refund from the - person or entity to whom you paid the fee as set forth in paragraph - 1.E.8. - - 1.B. "Project Gutenberg" is a registered trademark. It may only be - used on or associated in any way with an electronic work by people who - agree to be bound by the terms of this agreement. There are a few - things that you can do with most Project Gutenberg-tm electronic works - even without complying with the full terms of this agreement. See - paragraph 1.C below. There are a lot of things you can do with Project - Gutenberg-tm electronic works if you follow the terms of this - agreement and help preserve free future access to Project Gutenberg-tm - electronic works. See paragraph 1.E below. - - 1.C. The Project Gutenberg Literary Archive Foundation ("the - Foundation" or PGLAF), owns a compilation copyright in the collection - of Project Gutenberg-tm electronic works. Nearly all the individual - works in the collection are in the public domain in the United - States. If an individual work is unprotected by copyright law in the - United States and you are located in the United States, we do not - claim a right to prevent you from copying, distributing, performing, - displaying or creating derivative works based on the work as long as - all references to Project Gutenberg are removed. Of course, we hope - that you will support the Project Gutenberg-tm mission of promoting - free access to electronic works by freely sharing Project Gutenberg-tm - works in compliance with the terms of this agreement for keeping the - Project Gutenberg-tm name associated with the work. You can easily - comply with the terms of this agreement by keeping this work in the - same format with its attached full Project Gutenberg-tm License when - you share it without charge with others. - - 1.D. The copyright laws of the place where you are located also govern - what you can do with this work. Copyright laws in most countries are - in a constant state of change. If you are outside the United States, - check the laws of your country in addition to the terms of this - agreement before downloading, copying, displaying, performing, - distributing or creating derivative works based on this work or any - other Project Gutenberg-tm work. The Foundation makes no - representations concerning the copyright status of any work in any - country outside the United States. - - 1.E. Unless you have removed all references to Project Gutenberg: - - 1.E.1. The following sentence, with active links to, or other - immediate access to, the full Project Gutenberg-tm License must appear - prominently whenever any copy of a Project Gutenberg-tm work (any work - on which the phrase "Project Gutenberg" appears, or with which the - phrase "Project Gutenberg" is associated) is accessed, displayed, - performed, viewed, copied or distributed: - - This eBook is for the use of anyone anywhere in the United States and - most other parts of the world at no cost and with almost no - restrictions whatsoever. You may copy it, give it away or re-use it - under the terms of the Project Gutenberg License included with this - eBook or online at www.gutenberg.org. If you are not located in the - United States, you'll have to check the laws of the country where you - are located before using this ebook. - - 1.E.2. If an individual Project Gutenberg-tm electronic work is - derived from texts not protected by U.S. copyright law (does not - contain a notice indicating that it is posted with permission of the - copyright holder), the work can be copied and distributed to anyone in - the United States without paying any fees or charges. If you are - redistributing or providing access to a work with the phrase "Project - Gutenberg" associated with or appearing on the work, you must comply - either with the requirements of paragraphs 1.E.1 through 1.E.7 or - obtain permission for the use of the work and the Project Gutenberg-tm - trademark as set forth in paragraphs 1.E.8 or 1.E.9. - - 1.E.3. If an individual Project Gutenberg-tm electronic work is posted - with the permission of the copyright holder, your use and distribution - must comply with both paragraphs 1.E.1 through 1.E.7 and any - additional terms imposed by the copyright holder. Additional terms - will be linked to the Project Gutenberg-tm License for all works - posted with the permission of the copyright holder found at the - beginning of this work. - - 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm - License terms from this work, or any files containing a part of this - work or any other work associated with Project Gutenberg-tm. - - 1.E.5. Do not copy, display, perform, distribute or redistribute this - electronic work, or any part of this electronic work, without - prominently displaying the sentence set forth in paragraph 1.E.1 with - active links or immediate access to the full terms of the Project - Gutenberg-tm License. - - 1.E.6. You may convert to and distribute this work in any binary, - compressed, marked up, nonproprietary or proprietary form, including - any word processing or hypertext form. However, if you provide access - to or distribute copies of a Project Gutenberg-tm work in a format - other than "Plain Vanilla ASCII" or other format used in the official - version posted on the official Project Gutenberg-tm web site - (www.gutenberg.org), you must, at no additional cost, fee or expense - to the user, provide a copy, a means of exporting a copy, or a means - of obtaining a copy upon request, of the work in its original "Plain - Vanilla ASCII" or other form. Any alternate format must include the - full Project Gutenberg-tm License as specified in paragraph 1.E.1. - - 1.E.7. Do not charge a fee for access to, viewing, displaying, - performing, copying or distributing any Project Gutenberg-tm works - unless you comply with paragraph 1.E.8 or 1.E.9. - - 1.E.8. You may charge a reasonable fee for copies of or providing - access to or distributing Project Gutenberg-tm electronic works - provided that - - * You pay a royalty fee of 20% of the gross profits you derive from - the use of Project Gutenberg-tm works calculated using the method - you already use to calculate your applicable taxes. The fee is owed - to the owner of the Project Gutenberg-tm trademark, but he has - agreed to donate royalties under this paragraph to the Project - Gutenberg Literary Archive Foundation. Royalty payments must be paid - within 60 days following each date on which you prepare (or are - legally required to prepare) your periodic tax returns. Royalty - payments should be clearly marked as such and sent to the Project - Gutenberg Literary Archive Foundation at the address specified in - Section 4, "Information about donations to the Project Gutenberg - Literary Archive Foundation." - - * You provide a full refund of any money paid by a user who notifies - you in writing (or by e-mail) within 30 days of receipt that s/he - does not agree to the terms of the full Project Gutenberg-tm - License. You must require such a user to return or destroy all - copies of the works possessed in a physical medium and discontinue - all use of and all access to other copies of Project Gutenberg-tm - works. - - * You provide, in accordance with paragraph 1.F.3, a full refund of - any money paid for a work or a replacement copy, if a defect in the - electronic work is discovered and reported to you within 90 days of - receipt of the work. - - * You comply with all other terms of this agreement for free - distribution of Project Gutenberg-tm works. - - 1.E.9. If you wish to charge a fee or distribute a Project - Gutenberg-tm electronic work or group of works on different terms than - are set forth in this agreement, you must obtain permission in writing - from both the Project Gutenberg Literary Archive Foundation and The - Project Gutenberg Trademark LLC, the owner of the Project Gutenberg-tm - trademark. Contact the Foundation as set forth in Section 3 below. - - 1.F. - - 1.F.1. Project Gutenberg volunteers and employees expend considerable - effort to identify, do copyright research on, transcribe and proofread - works not protected by U.S. copyright law in creating the Project - Gutenberg-tm collection. Despite these efforts, Project Gutenberg-tm - electronic works, and the medium on which they may be stored, may - contain "Defects," such as, but not limited to, incomplete, inaccurate - or corrupt data, transcription errors, a copyright or other - intellectual property infringement, a defective or damaged disk or - other medium, a computer virus, or computer codes that damage or - cannot be read by your equipment. - - 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right - of Replacement or Refund" described in paragraph 1.F.3, the Project - Gutenberg Literary Archive Foundation, the owner of the Project - Gutenberg-tm trademark, and any other party distributing a Project - Gutenberg-tm electronic work under this agreement, disclaim all - liability to you for damages, costs and expenses, including legal - fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT - LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE - PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE FOUNDATION, THE - TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE - LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR - INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH - DAMAGE. - - 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a - defect in this electronic work within 90 days of receiving it, you can - receive a refund of the money (if any) you paid for it by sending a - written explanation to the person you received the work from. If you - received the work on a physical medium, you must return the medium - with your written explanation. The person or entity that provided you - with the defective work may elect to provide a replacement copy in - lieu of a refund. If you received the work electronically, the person - or entity providing it to you may choose to give you a second - opportunity to receive the work electronically in lieu of a refund. If - the second copy is also defective, you may demand a refund in writing - without further opportunities to fix the problem. - - 1.F.4. Except for the limited right of replacement or refund set forth - in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO - OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT - LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. - - 1.F.5. Some states do not allow disclaimers of certain implied - warranties or the exclusion or limitation of certain types of - damages. If any disclaimer or limitation set forth in this agreement - violates the law of the state applicable to this agreement, the - agreement shall be interpreted to make the maximum disclaimer or - limitation permitted by the applicable state law. The invalidity or - unenforceability of any provision of this agreement shall not void the - remaining provisions. - - 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the - trademark owner, any agent or employee of the Foundation, anyone - providing copies of Project Gutenberg-tm electronic works in - accordance with this agreement, and any volunteers associated with the - production, promotion and distribution of Project Gutenberg-tm - electronic works, harmless from all liability, costs and expenses, - including legal fees, that arise directly or indirectly from any of - the following which you do or cause to occur: (a) distribution of this - or any Project Gutenberg-tm work, (b) alteration, modification, or - additions or deletions to any Project Gutenberg-tm work, and (c) any - Defect you cause. - - Section 2. Information about the Mission of Project Gutenberg-tm - - Project Gutenberg-tm is synonymous with the free distribution of - electronic works in formats readable by the widest variety of - computers including obsolete, old, middle-aged and new computers. It - exists because of the efforts of hundreds of volunteers and donations - from people in all walks of life. - - Volunteers and financial support to provide volunteers with the - assistance they need are critical to reaching Project Gutenberg-tm's - goals and ensuring that the Project Gutenberg-tm collection will - remain freely available for generations to come. In 2001, the Project - Gutenberg Literary Archive Foundation was created to provide a secure - and permanent future for Project Gutenberg-tm and future - generations. To learn more about the Project Gutenberg Literary - Archive Foundation and how your efforts and donations can help, see - Sections 3 and 4 and the Foundation information page at - www.gutenberg.org - - - - Section 3. Information about the Project Gutenberg Literary Archive Foundation - - The Project Gutenberg Literary Archive Foundation is a non profit - 501(c)(3) educational corporation organized under the laws of the - state of Mississippi and granted tax exempt status by the Internal - Revenue Service. The Foundation's EIN or federal tax identification - number is 64-6221541. Contributions to the Project Gutenberg Literary - Archive Foundation are tax deductible to the full extent permitted by - U.S. federal laws and your state's laws. - - The Foundation's principal office is in Fairbanks, Alaska, with the - mailing address: PO Box 750175, Fairbanks, AK 99775, but its - volunteers and employees are scattered throughout numerous - locations. Its business office is located at 809 North 1500 West, Salt - Lake City, UT 84116, (801) 596-1887. Email contact links and up to - date contact information can be found at the Foundation's web site and - official page at www.gutenberg.org/contact - - For additional contact information: - - Dr. Gregory B. Newby - Chief Executive and Director - gbnewby@pglaf.org - - Section 4. Information about Donations to the Project Gutenberg - Literary Archive Foundation - - Project Gutenberg-tm depends upon and cannot survive without wide - spread public support and donations to carry out its mission of - increasing the number of public domain and licensed works that can be - freely distributed in machine readable form accessible by the widest - array of equipment including outdated equipment. Many small donations - ($1 to $5,000) are particularly important to maintaining tax exempt - status with the IRS. - - The Foundation is committed to complying with the laws regulating - charities and charitable donations in all 50 states of the United - States. Compliance requirements are not uniform and it takes a - considerable effort, much paperwork and many fees to meet and keep up - with these requirements. We do not solicit donations in locations - where we have not received written confirmation of compliance. To SEND - DONATIONS or determine the status of compliance for any particular - state visit www.gutenberg.org/donate - - While we cannot and do not solicit contributions from states where we - have not met the solicitation requirements, we know of no prohibition - against accepting unsolicited donations from donors in such states who - approach us with offers to donate. - - International donations are gratefully accepted, but we cannot make - any statements concerning tax treatment of donations received from - outside the United States. U.S. laws alone swamp our small staff. - - Please check the Project Gutenberg Web pages for current donation - methods and addresses. Donations are accepted in a number of other - ways including checks, online payments and credit card donations. To - donate, please visit: www.gutenberg.org/donate - - Section 5. General Information About Project Gutenberg-tm electronic works. - - Professor Michael S. Hart was the originator of the Project - Gutenberg-tm concept of a library of electronic works that could be - freely shared with anyone. For forty years, he produced and - distributed Project Gutenberg-tm eBooks with only a loose network of - volunteer support. - - Project Gutenberg-tm eBooks are often created from several printed - editions, all of which are confirmed as not protected by copyright in - the U.S. unless a copyright notice is included. Thus, we do not - necessarily keep eBooks in compliance with any particular paper - edition. - - Most people start at our Web site which has the main PG search - facility: www.gutenberg.org - - This Web site includes information about Project Gutenberg-tm, - including how to make donations to the Project Gutenberg Literary - Archive Foundation, how to help produce our new eBooks, and how to - subscribe to our email newsletter to hear about new eBooks. - */ + /* + End of the Project Gutenberg EBook of Dom Casmurro, by Machado de Assis + + *** END OF THIS PROJECT GUTENBERG EBOOK DOM CASMURRO *** + + ***** This file should be named 55752-8.txt or 55752-8.zip ***** + This and all associated files of various formats will be found in: + http://www.gutenberg.org/5/5/7/5/55752/ + + Produced by Laura Natal Rodriguez & Marc D'Hooghe at Free + Literature (online soon in an extended version,also linking + to free sources for education worldwide ... MOOC's, + educational materials,...) (Images generously made available + by the Bibliotheca Nacional Digital Brasil.) + + Updated editions will replace the previous one--the old editions will + be renamed. + + Creating the works from print editions not protected by U.S. copyright + law means that no one owns a United States copyright in these works, + so the Foundation (and you!) can copy and distribute it in the United + States without permission and without paying copyright + royalties. Special rules, set forth in the General Terms of Use part + of this license, apply to copying and distributing Project + Gutenberg-tm electronic works to protect the PROJECT GUTENBERG-tm + concept and trademark. Project Gutenberg is a registered trademark, + and may not be used if you charge for the eBooks, unless you receive + specific permission. If you do not charge anything for copies of this + eBook, complying with the rules is very easy. You may use this eBook + for nearly any purpose such as creation of derivative works, reports, + performances and research. They may be modified and printed and given + away--you may do practically ANYTHING in the United States with eBooks + not protected by U.S. copyright law. Redistribution is subject to the + trademark license, especially commercial redistribution. + + START: FULL LICENSE + + THE FULL PROJECT GUTENBERG LICENSE + PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK + + To protect the Project Gutenberg-tm mission of promoting the free + distribution of electronic works, by using or distributing this work + (or any other work associated in any way with the phrase "Project + Gutenberg"), you agree to comply with all the terms of the Full + Project Gutenberg-tm License available with this file or online at + www.gutenberg.org/license. + + Section 1. General Terms of Use and Redistributing Project + Gutenberg-tm electronic works + + 1.A. By reading or using any part of this Project Gutenberg-tm + electronic work, you indicate that you have read, understand, agree to + and accept all the terms of this license and intellectual property + (trademark/copyright) agreement. If you do not agree to abide by all + the terms of this agreement, you must cease using and return or + destroy all copies of Project Gutenberg-tm electronic works in your + possession. If you paid a fee for obtaining a copy of or access to a + Project Gutenberg-tm electronic work and you do not agree to be bound + by the terms of this agreement, you may obtain a refund from the + person or entity to whom you paid the fee as set forth in paragraph + 1.E.8. + + 1.B. "Project Gutenberg" is a registered trademark. It may only be + used on or associated in any way with an electronic work by people who + agree to be bound by the terms of this agreement. There are a few + things that you can do with most Project Gutenberg-tm electronic works + even without complying with the full terms of this agreement. See + paragraph 1.C below. There are a lot of things you can do with Project + Gutenberg-tm electronic works if you follow the terms of this + agreement and help preserve free future access to Project Gutenberg-tm + electronic works. See paragraph 1.E below. + + 1.C. The Project Gutenberg Literary Archive Foundation ("the + Foundation" or PGLAF), owns a compilation copyright in the collection + of Project Gutenberg-tm electronic works. Nearly all the individual + works in the collection are in the public domain in the United + States. If an individual work is unprotected by copyright law in the + United States and you are located in the United States, we do not + claim a right to prevent you from copying, distributing, performing, + displaying or creating derivative works based on the work as long as + all references to Project Gutenberg are removed. Of course, we hope + that you will support the Project Gutenberg-tm mission of promoting + free access to electronic works by freely sharing Project Gutenberg-tm + works in compliance with the terms of this agreement for keeping the + Project Gutenberg-tm name associated with the work. You can easily + comply with the terms of this agreement by keeping this work in the + same format with its attached full Project Gutenberg-tm License when + you share it without charge with others. + + 1.D. The copyright laws of the place where you are located also govern + what you can do with this work. Copyright laws in most countries are + in a constant state of change. If you are outside the United States, + check the laws of your country in addition to the terms of this + agreement before downloading, copying, displaying, performing, + distributing or creating derivative works based on this work or any + other Project Gutenberg-tm work. The Foundation makes no + representations concerning the copyright status of any work in any + country outside the United States. + + 1.E. Unless you have removed all references to Project Gutenberg: + + 1.E.1. The following sentence, with active links to, or other + immediate access to, the full Project Gutenberg-tm License must appear + prominently whenever any copy of a Project Gutenberg-tm work (any work + on which the phrase "Project Gutenberg" appears, or with which the + phrase "Project Gutenberg" is associated) is accessed, displayed, + performed, viewed, copied or distributed: + + This eBook is for the use of anyone anywhere in the United States and + most other parts of the world at no cost and with almost no + restrictions whatsoever. You may copy it, give it away or re-use it + under the terms of the Project Gutenberg License included with this + eBook or online at www.gutenberg.org. If you are not located in the + United States, you'll have to check the laws of the country where you + are located before using this ebook. + + 1.E.2. If an individual Project Gutenberg-tm electronic work is + derived from texts not protected by U.S. copyright law (does not + contain a notice indicating that it is posted with permission of the + copyright holder), the work can be copied and distributed to anyone in + the United States without paying any fees or charges. If you are + redistributing or providing access to a work with the phrase "Project + Gutenberg" associated with or appearing on the work, you must comply + either with the requirements of paragraphs 1.E.1 through 1.E.7 or + obtain permission for the use of the work and the Project Gutenberg-tm + trademark as set forth in paragraphs 1.E.8 or 1.E.9. + + 1.E.3. If an individual Project Gutenberg-tm electronic work is posted + with the permission of the copyright holder, your use and distribution + must comply with both paragraphs 1.E.1 through 1.E.7 and any + additional terms imposed by the copyright holder. Additional terms + will be linked to the Project Gutenberg-tm License for all works + posted with the permission of the copyright holder found at the + beginning of this work. + + 1.E.4. Do not unlink or detach or remove the full Project Gutenberg-tm + License terms from this work, or any files containing a part of this + work or any other work associated with Project Gutenberg-tm. + + 1.E.5. Do not copy, display, perform, distribute or redistribute this + electronic work, or any part of this electronic work, without + prominently displaying the sentence set forth in paragraph 1.E.1 with + active links or immediate access to the full terms of the Project + Gutenberg-tm License. + + 1.E.6. You may convert to and distribute this work in any binary, + compressed, marked up, nonproprietary or proprietary form, including + any word processing or hypertext form. However, if you provide access + to or distribute copies of a Project Gutenberg-tm work in a format + other than "Plain Vanilla ASCII" or other format used in the official + version posted on the official Project Gutenberg-tm web site + (www.gutenberg.org), you must, at no additional cost, fee or expense + to the user, provide a copy, a means of exporting a copy, or a means + of obtaining a copy upon request, of the work in its original "Plain + Vanilla ASCII" or other form. Any alternate format must include the + full Project Gutenberg-tm License as specified in paragraph 1.E.1. + + 1.E.7. Do not charge a fee for access to, viewing, displaying, + performing, copying or distributing any Project Gutenberg-tm works + unless you comply with paragraph 1.E.8 or 1.E.9. + + 1.E.8. You may charge a reasonable fee for copies of or providing + access to or distributing Project Gutenberg-tm electronic works + provided that + + * You pay a royalty fee of 20% of the gross profits you derive from + the use of Project Gutenberg-tm works calculated using the method + you already use to calculate your applicable taxes. The fee is owed + to the owner of the Project Gutenberg-tm trademark, but he has + agreed to donate royalties under this paragraph to the Project + Gutenberg Literary Archive Foundation. Royalty payments must be paid + within 60 days following each date on which you prepare (or are + legally required to prepare) your periodic tax returns. Royalty + payments should be clearly marked as such and sent to the Project + Gutenberg Literary Archive Foundation at the address specified in + Section 4, "Information about donations to the Project Gutenberg + Literary Archive Foundation." + + * You provide a full refund of any money paid by a user who notifies + you in writing (or by e-mail) within 30 days of receipt that s/he + does not agree to the terms of the full Project Gutenberg-tm + License. You must require such a user to return or destroy all + copies of the works possessed in a physical medium and discontinue + all use of and all access to other copies of Project Gutenberg-tm + works. + + * You provide, in accordance with paragraph 1.F.3, a full refund of + any money paid for a work or a replacement copy, if a defect in the + electronic work is discovered and reported to you within 90 days of + receipt of the work. + + * You comply with all other terms of this agreement for free + distribution of Project Gutenberg-tm works. + + 1.E.9. If you wish to charge a fee or distribute a Project + Gutenberg-tm electronic work or group of works on different terms than + are set forth in this agreement, you must obtain permission in writing + from both the Project Gutenberg Literary Archive Foundation and The + Project Gutenberg Trademark LLC, the owner of the Project Gutenberg-tm + trademark. Contact the Foundation as set forth in Section 3 below. + + 1.F. + + 1.F.1. Project Gutenberg volunteers and employees expend considerable + effort to identify, do copyright research on, transcribe and proofread + works not protected by U.S. copyright law in creating the Project + Gutenberg-tm collection. Despite these efforts, Project Gutenberg-tm + electronic works, and the medium on which they may be stored, may + contain "Defects," such as, but not limited to, incomplete, inaccurate + or corrupt data, transcription errors, a copyright or other + intellectual property infringement, a defective or damaged disk or + other medium, a computer virus, or computer codes that damage or + cannot be read by your equipment. + + 1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for the "Right + of Replacement or Refund" described in paragraph 1.F.3, the Project + Gutenberg Literary Archive Foundation, the owner of the Project + Gutenberg-tm trademark, and any other party distributing a Project + Gutenberg-tm electronic work under this agreement, disclaim all + liability to you for damages, costs and expenses, including legal + fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR NEGLIGENCE, STRICT + LIABILITY, BREACH OF WARRANTY OR BREACH OF CONTRACT EXCEPT THOSE + PROVIDED IN PARAGRAPH 1.F.3. YOU AGREE THAT THE FOUNDATION, THE + TRADEMARK OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL NOT BE + LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE OR + INCIDENTAL DAMAGES EVEN IF YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH + DAMAGE. + + 1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you discover a + defect in this electronic work within 90 days of receiving it, you can + receive a refund of the money (if any) you paid for it by sending a + written explanation to the person you received the work from. If you + received the work on a physical medium, you must return the medium + with your written explanation. The person or entity that provided you + with the defective work may elect to provide a replacement copy in + lieu of a refund. If you received the work electronically, the person + or entity providing it to you may choose to give you a second + opportunity to receive the work electronically in lieu of a refund. If + the second copy is also defective, you may demand a refund in writing + without further opportunities to fix the problem. + + 1.F.4. Except for the limited right of replacement or refund set forth + in paragraph 1.F.3, this work is provided to you 'AS-IS', WITH NO + OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT + LIMITED TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. + + 1.F.5. Some states do not allow disclaimers of certain implied + warranties or the exclusion or limitation of certain types of + damages. If any disclaimer or limitation set forth in this agreement + violates the law of the state applicable to this agreement, the + agreement shall be interpreted to make the maximum disclaimer or + limitation permitted by the applicable state law. The invalidity or + unenforceability of any provision of this agreement shall not void the + remaining provisions. + + 1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation, the + trademark owner, any agent or employee of the Foundation, anyone + providing copies of Project Gutenberg-tm electronic works in + accordance with this agreement, and any volunteers associated with the + production, promotion and distribution of Project Gutenberg-tm + electronic works, harmless from all liability, costs and expenses, + including legal fees, that arise directly or indirectly from any of + the following which you do or cause to occur: (a) distribution of this + or any Project Gutenberg-tm work, (b) alteration, modification, or + additions or deletions to any Project Gutenberg-tm work, and (c) any + Defect you cause. + + Section 2. Information about the Mission of Project Gutenberg-tm + + Project Gutenberg-tm is synonymous with the free distribution of + electronic works in formats readable by the widest variety of + computers including obsolete, old, middle-aged and new computers. It + exists because of the efforts of hundreds of volunteers and donations + from people in all walks of life. + + Volunteers and financial support to provide volunteers with the + assistance they need are critical to reaching Project Gutenberg-tm's + goals and ensuring that the Project Gutenberg-tm collection will + remain freely available for generations to come. In 2001, the Project + Gutenberg Literary Archive Foundation was created to provide a secure + and permanent future for Project Gutenberg-tm and future + generations. To learn more about the Project Gutenberg Literary + Archive Foundation and how your efforts and donations can help, see + Sections 3 and 4 and the Foundation information page at + www.gutenberg.org + + + + Section 3. Information about the Project Gutenberg Literary Archive Foundation + + The Project Gutenberg Literary Archive Foundation is a non profit + 501(c)(3) educational corporation organized under the laws of the + state of Mississippi and granted tax exempt status by the Internal + Revenue Service. The Foundation's EIN or federal tax identification + number is 64-6221541. Contributions to the Project Gutenberg Literary + Archive Foundation are tax deductible to the full extent permitted by + U.S. federal laws and your state's laws. + + The Foundation's principal office is in Fairbanks, Alaska, with the + mailing address: PO Box 750175, Fairbanks, AK 99775, but its + volunteers and employees are scattered throughout numerous + locations. Its business office is located at 809 North 1500 West, Salt + Lake City, UT 84116, (801) 596-1887. Email contact links and up to + date contact information can be found at the Foundation's web site and + official page at www.gutenberg.org/contact + + For additional contact information: + + Dr. Gregory B. Newby + Chief Executive and Director + gbnewby@pglaf.org + + Section 4. Information about Donations to the Project Gutenberg + Literary Archive Foundation + + Project Gutenberg-tm depends upon and cannot survive without wide + spread public support and donations to carry out its mission of + increasing the number of public domain and licensed works that can be + freely distributed in machine readable form accessible by the widest + array of equipment including outdated equipment. Many small donations + ($1 to $5,000) are particularly important to maintaining tax exempt + status with the IRS. + + The Foundation is committed to complying with the laws regulating + charities and charitable donations in all 50 states of the United + States. Compliance requirements are not uniform and it takes a + considerable effort, much paperwork and many fees to meet and keep up + with these requirements. We do not solicit donations in locations + where we have not received written confirmation of compliance. To SEND + DONATIONS or determine the status of compliance for any particular + state visit www.gutenberg.org/donate + + While we cannot and do not solicit contributions from states where we + have not met the solicitation requirements, we know of no prohibition + against accepting unsolicited donations from donors in such states who + approach us with offers to donate. + + International donations are gratefully accepted, but we cannot make + any statements concerning tax treatment of donations received from + outside the United States. U.S. laws alone swamp our small staff. + + Please check the Project Gutenberg Web pages for current donation + methods and addresses. Donations are accepted in a number of other + ways including checks, online payments and credit card donations. To + donate, please visit: www.gutenberg.org/donate + + Section 5. General Information About Project Gutenberg-tm electronic works. + + Professor Michael S. Hart was the originator of the Project + Gutenberg-tm concept of a library of electronic works that could be + freely shared with anyone. For forty years, he produced and + distributed Project Gutenberg-tm eBooks with only a loose network of + volunteer support. + + Project Gutenberg-tm eBooks are often created from several printed + editions, all of which are confirmed as not protected by copyright in + the U.S. unless a copyright notice is included. Thus, we do not + necessarily keep eBooks in compliance with any particular paper + edition. + + Most people start at our Web site which has the main PG search + facility: www.gutenberg.org + + This Web site includes information about Project Gutenberg-tm, + including how to make donations to the Project Gutenberg Literary + Archive Foundation, how to help produce our new eBooks, and how to + subscribe to our email newsletter to hear about new eBooks. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/check_digit.php b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/check_digit.php index 35f9de8..ed48f0c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_BR/check_digit.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_BR/check_digit.php @@ -13,27 +13,26 @@ * * @return int */ -function check_digit($numbers) -{ - $numbers = (string) $numbers; - $length = strlen($numbers); - $second_algorithm = $length >= 12; - $verifier = 0; +function check_digit( $numbers ) { + $numbers = (string) $numbers; + $length = strlen( $numbers ); + $second_algorithm = $length >= 12; + $verifier = 0; - for ($i = 1; $i <= $length; ++$i) { - if (!$second_algorithm) { - $multiplier = $i + 1; - } else { - $multiplier = ($i >= 9) ? $i - 7 : $i + 1; - } - $verifier += $numbers[$length - $i] * $multiplier; - } + for ( $i = 1; $i <= $length; ++ $i ) { + if ( ! $second_algorithm ) { + $multiplier = $i + 1; + } else { + $multiplier = ( $i >= 9 ) ? $i - 7 : $i + 1; + } + $verifier += $numbers[ $length - $i ] * $multiplier; + } - $verifier = 11 - ($verifier % 11); + $verifier = 11 - ( $verifier % 11 ); - if ($verifier >= 10) { - $verifier = 0; - } + if ( $verifier >= 10 ) { + $verifier = 0; + } - return $verifier; + return $verifier; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Address.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Address.php index 0d3f850..e886540 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Address.php @@ -2,129 +2,420 @@ namespace Faker\Provider\pt_PT; -class Address extends \Faker\Provider\Address -{ - protected static $streetPrefix = ['Av.', 'Avenida', 'R.', 'Rua', 'Tv.', 'Travessa', 'Lg.', 'Largo']; +class Address extends \Faker\Provider\Address { + protected static $streetPrefix = [ 'Av.', 'Avenida', 'R.', 'Rua', 'Tv.', 'Travessa', 'Lg.', 'Largo' ]; - protected static $streetNameFormats = [ - '{{streetPrefix}} {{lastName}}', - '{{streetPrefix}} {{firstName}} {{lastName}}', - '{{streetPrefix}} St. {{firstName}} {{lastName}}', - '{{streetPrefix}} São. {{firstName}}', - '{{streetPrefix}} de {{lastName}}', - ]; + protected static $streetNameFormats = [ + '{{streetPrefix}} {{lastName}}', + '{{streetPrefix}} {{firstName}} {{lastName}}', + '{{streetPrefix}} St. {{firstName}} {{lastName}}', + '{{streetPrefix}} São. {{firstName}}', + '{{streetPrefix}} de {{lastName}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}}', - '{{streetName}}, {{buildingNumber}}', - '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}}', + '{{streetName}}, {{buildingNumber}}', + '{{streetName}}, {{buildingNumber}}, {{secondaryAddress}}', + ]; - /** - * @see http://www.univ-ab.pt/PINTAC/carta_normas.htm address example in letters * - */ - protected static $addressFormats = [ - '{{streetAddress}} {{postcode}} {{city}}', - ]; + /** + * @see http://www.univ-ab.pt/PINTAC/carta_normas.htm address example in letters * + */ + protected static $addressFormats = [ + '{{streetAddress}} {{postcode}} {{city}}', + ]; - /** - * @see http://www.mapadeportugal.net/indicecidades.asp * - */ - private static $cities = [ - 'Abrantes', 'Agualva-Cacém', 'Águeda', 'Albufeira', 'Alcácer do Sal', 'Alcobaça', 'Almada', 'Almeirim', 'Alverca do Ribatejo', 'Amadora', 'Amarante', 'Amora', 'Anadia', 'Angra do Heroísmo', 'Aveiro', 'Barcelos', 'Barreiro', - 'Beja', 'Braga', 'Bragança', 'Caldas da Rainha', 'Camara de Lobos', 'Cantanhede', 'Cartaxo', 'Castelo Branco', 'Chaves', 'Coimbra', 'Covilhã', 'Elvas', 'Entroncamento', 'Ermesinde', 'Esmoriz', 'Espinho', 'Esposende', 'Estarreja', - 'Estremoz', 'Évora', 'Fafe', 'Faro', 'Fátima', 'Felgueiras', 'Fiães', 'Figueira da Foz', 'Freamunde', 'Funchal', 'Fundão', 'Gafanha da Nazaré', 'Gondomar', 'Gouveia', 'Guarda', 'Guimarães', 'Horta', 'Ílhavo', 'Lagoa', 'Lagos', 'Lamego', - 'Leiria', 'Lisboa', 'Lixa', 'Loulé', 'Loures', 'Lourosa', 'Macedo de Cavaleiros', 'Machico', 'Maia', 'Mangualde', 'Marco de Canaveses', 'Marinha Grande', - 'Matosinhos', 'Mealhada', 'Miranda do Douro', 'Mirandela', 'Montemor-o-Novo', 'Montijo', 'Moura', 'Odivelas', 'Olhão da Restauração', 'Oliveira de Azeméis', 'Oliveira do Hospital', 'Ourém', 'Ovar', 'Paços de Ferreira', - 'Paredes', 'Penafiel', 'Peniche', 'Peso da Régua', 'Pinhel', 'Pombal', 'Ponta Delgada', 'Ponte de Sor', 'Portalegre', 'Portimão', 'Porto', 'Porto Santo', 'Póvoa de Santa Iria', 'Póvoa de Varzim', 'Quarteira', 'Queluz', 'Ribeira Grande', 'Rio Maior', - 'Rio Tinto', 'Sacavém', 'Santa Comba Dão', 'Santa Cruz', 'Santa Maria da Feira', 'Santana', 'Santarém', 'Santiago do Cacém', 'Santo Tirso', - 'São João da Madeira', 'São Mamede de Infesta', 'Seia', 'Seixal', 'Setúbal', 'Silves', 'Sines', 'Tarouca', 'Tavira', 'Tomar', 'Tondela', 'Torres Novas', 'Torres Vedras', 'Valbom', 'Vale de Cambra', 'Valongo', 'Valpaços', 'Vendas Novas', - 'Viana do Castelo', 'Vila do Conde', 'Vila Franca de Xira', 'Vila Nova de Famalicão', 'Vila Nova de Foz Côa', 'Vila Nova de Gaia', 'Vila Praia da Vitória', 'Vila Real', 'Vila Real de Santo António', 'Viseu', 'Vizela', - ]; + /** + * @see http://www.mapadeportugal.net/indicecidades.asp * + */ + private static $cities = [ + 'Abrantes', + 'Agualva-Cacém', + 'Águeda', + 'Albufeira', + 'Alcácer do Sal', + 'Alcobaça', + 'Almada', + 'Almeirim', + 'Alverca do Ribatejo', + 'Amadora', + 'Amarante', + 'Amora', + 'Anadia', + 'Angra do Heroísmo', + 'Aveiro', + 'Barcelos', + 'Barreiro', + 'Beja', + 'Braga', + 'Bragança', + 'Caldas da Rainha', + 'Camara de Lobos', + 'Cantanhede', + 'Cartaxo', + 'Castelo Branco', + 'Chaves', + 'Coimbra', + 'Covilhã', + 'Elvas', + 'Entroncamento', + 'Ermesinde', + 'Esmoriz', + 'Espinho', + 'Esposende', + 'Estarreja', + 'Estremoz', + 'Évora', + 'Fafe', + 'Faro', + 'Fátima', + 'Felgueiras', + 'Fiães', + 'Figueira da Foz', + 'Freamunde', + 'Funchal', + 'Fundão', + 'Gafanha da Nazaré', + 'Gondomar', + 'Gouveia', + 'Guarda', + 'Guimarães', + 'Horta', + 'Ílhavo', + 'Lagoa', + 'Lagos', + 'Lamego', + 'Leiria', + 'Lisboa', + 'Lixa', + 'Loulé', + 'Loures', + 'Lourosa', + 'Macedo de Cavaleiros', + 'Machico', + 'Maia', + 'Mangualde', + 'Marco de Canaveses', + 'Marinha Grande', + 'Matosinhos', + 'Mealhada', + 'Miranda do Douro', + 'Mirandela', + 'Montemor-o-Novo', + 'Montijo', + 'Moura', + 'Odivelas', + 'Olhão da Restauração', + 'Oliveira de Azeméis', + 'Oliveira do Hospital', + 'Ourém', + 'Ovar', + 'Paços de Ferreira', + 'Paredes', + 'Penafiel', + 'Peniche', + 'Peso da Régua', + 'Pinhel', + 'Pombal', + 'Ponta Delgada', + 'Ponte de Sor', + 'Portalegre', + 'Portimão', + 'Porto', + 'Porto Santo', + 'Póvoa de Santa Iria', + 'Póvoa de Varzim', + 'Quarteira', + 'Queluz', + 'Ribeira Grande', + 'Rio Maior', + 'Rio Tinto', + 'Sacavém', + 'Santa Comba Dão', + 'Santa Cruz', + 'Santa Maria da Feira', + 'Santana', + 'Santarém', + 'Santiago do Cacém', + 'Santo Tirso', + 'São João da Madeira', + 'São Mamede de Infesta', + 'Seia', + 'Seixal', + 'Setúbal', + 'Silves', + 'Sines', + 'Tarouca', + 'Tavira', + 'Tomar', + 'Tondela', + 'Torres Novas', + 'Torres Vedras', + 'Valbom', + 'Vale de Cambra', + 'Valongo', + 'Valpaços', + 'Vendas Novas', + 'Viana do Castelo', + 'Vila do Conde', + 'Vila Franca de Xira', + 'Vila Nova de Famalicão', + 'Vila Nova de Foz Côa', + 'Vila Nova de Gaia', + 'Vila Praia da Vitória', + 'Vila Real', + 'Vila Real de Santo António', + 'Viseu', + 'Vizela', + ]; - protected static $postcode = [ - '%##0-###', '%##0', - '%##1-###', '%##1', - '%##4-###', '%##4', - '%##5-###', '%##5', - '%##9-###', '%##9', - ]; + protected static $postcode = [ + '%##0-###', + '%##0', + '%##1-###', + '%##1', + '%##4-###', + '%##4', + '%##5-###', + '%##5', + '%##9-###', + '%##9', + ]; - protected static $buildingNumber = ['nº %', 'nº %%', 'nº %%%', '%', '%#', '%##']; + protected static $buildingNumber = [ 'nº %', 'nº %%', 'nº %%%', '%', '%#', '%##' ]; - protected static $secondaryAddressFormats = [ - 'Bloco %', 'Bl. %', - '%º Dir.', '%#º Dir.', '%º Dr.', '%#º Dr.', - '%º Esq.', '%#º Esq.', '%º Eq.', '%#º Eq.', - ]; + protected static $secondaryAddressFormats = [ + 'Bloco %', + 'Bl. %', + '%º Dir.', + '%#º Dir.', + '%º Dr.', + '%#º Dr.', + '%º Esq.', + '%#º Esq.', + '%º Eq.', + '%#º Eq.', + ]; - /** - * @example '6º Dir.' - */ - public static function secondaryAddress() - { - return static::numerify(static::randomElement(static::$secondaryAddressFormats)); - } + /** + * @example '6º Dir.' + */ + public static function secondaryAddress() { + return static::numerify( static::randomElement( static::$secondaryAddressFormats ) ); + } - /** - * @see http://www.indexmundi.com/pt/ * - */ - protected static $country = [ - 'Afeganistão', 'África do Sul', 'Albânia', 'Alemanha', 'Andorra', - 'Angola', 'Antigua e Barbuda', 'Arabia Saudita', 'Argélia', - 'Argentina', 'Armênia', 'Austrália', 'Áustria', 'Azerbaijão', - 'Bahamas', 'Bangladesh', 'Barbados', 'Barein', 'Belize', 'Benin', - 'Bielorrússia', 'Birmânia', 'Bolívia', 'Bósnia e Herzegovina', - 'Botsuana', 'Brasil', 'Brunei', 'Bulgária', 'Burkina Faso', - 'Burundi', 'Butão', 'Bélgica', 'Cabo Verde', 'Camboja', 'Camarões', - 'Canadá', 'Cazaquistão', 'Chad', 'Chile', 'China', 'Chipre', - 'Colômbia', 'Comoras', 'Congo', 'Coréia do Norte', 'Coréia do Sul', - 'Costa Rica', 'Costa do Marfim', 'Croácia', 'Cuba', 'Dinamarca', - 'Djibouti', 'Domênica', 'Equador', 'Egito', 'El Salvador', - 'Emirados Árabes Unidos', 'Eritrea', 'Eslováquia', 'Eslovênia', - 'Espanha', 'Estados Unidos da América', 'Estónia', 'Etiópia', - 'Filipinas', 'Finlândia', 'Fiji', 'França', 'Gabão', 'Gâmbia', - 'Georgia', 'Gana', 'Granada', 'Grécia', 'Guatemala', - 'Guiné Equatorial', 'Guiné Bissau', 'Guiana', 'Haiti', 'Honduras', - 'Hungria', 'Índia', 'Indonésia', 'Iraque', 'Irlanda', 'Irã', - 'Islândia', 'Ilhas Marshall', 'Ilhas Maurício', 'Ilhas Salomão', - 'Ilhas Samoa', 'Israel', 'Itália', 'Jamaica', 'Japão', 'Jordânia', - 'Kiribati', 'Kwait', 'Laos', 'Lesoto', 'Letónia', 'Libéria', 'Líbia', - 'Liechtenstein', 'Lituânia', 'Luxemburgo', 'Líbano', 'Macedónia', - 'Madagascar', 'Malásia', 'Malauí', 'Maldivas', 'Mali', 'Malta', - 'Marrocos', 'Mauritânia', 'Micronésia', 'Moldávia', 'Mongólia', - 'Montenegro', 'Moçambique', 'México', 'Mónaco', 'Namíbia', 'Nauru', - 'Nepal', 'Nicarágua', 'Nigéria', 'Noruega', 'Nova Guiné', - 'Nova Zelândia', 'Níger', 'Omã', 'Qatar', 'Quênia', 'Quirguistão', - 'Paquistão', 'Palaos', 'Panamá', 'Papua Nova Guiné', 'Paraguai', - 'Países Baixos', 'Peru', 'Polónia', 'Portugal', 'Reino Unido', - 'Reino Unido da Grã Bretanha e Irlanda do Norte', - 'República Centroafricana', 'República Checa', - 'República Democrática do Congo', 'República Dominicana', 'Ruanda', - 'Romênia', 'Rússia', 'São Cristovão e Neves', 'San Marino', - 'São Vicente e as Granadinas', 'Santa Luzia', 'São Tomé e Príncipe', - 'Senegal', 'Sérvia', 'Seychelles', 'Serra Leoa', 'Singapura', 'Síria', - 'Somália', 'Sri Lanka', 'Suazilândia', 'Sudão', 'Suécia', 'Suiça', - 'Suriname', 'Tailândia', 'Tanzânia', 'Tajiquistão', 'Timor Leste', - 'Togo', 'Tonga', 'Trinidad e Tobago', 'Turcomenistão', 'Turquia', - 'Tuvalu', 'Tunísia', 'Ucrânia', 'Uganda', 'Uruguai', 'Uzbequistão', - 'Vaticano', 'Vanuatu', 'Venezuela', 'Vietnã', 'Yemen', 'Zâmbia', - 'Zimbábue', - ]; + /** + * @see http://www.indexmundi.com/pt/ * + */ + protected static $country = [ + 'Afeganistão', + 'África do Sul', + 'Albânia', + 'Alemanha', + 'Andorra', + 'Angola', + 'Antigua e Barbuda', + 'Arabia Saudita', + 'Argélia', + 'Argentina', + 'Armênia', + 'Austrália', + 'Áustria', + 'Azerbaijão', + 'Bahamas', + 'Bangladesh', + 'Barbados', + 'Barein', + 'Belize', + 'Benin', + 'Bielorrússia', + 'Birmânia', + 'Bolívia', + 'Bósnia e Herzegovina', + 'Botsuana', + 'Brasil', + 'Brunei', + 'Bulgária', + 'Burkina Faso', + 'Burundi', + 'Butão', + 'Bélgica', + 'Cabo Verde', + 'Camboja', + 'Camarões', + 'Canadá', + 'Cazaquistão', + 'Chad', + 'Chile', + 'China', + 'Chipre', + 'Colômbia', + 'Comoras', + 'Congo', + 'Coréia do Norte', + 'Coréia do Sul', + 'Costa Rica', + 'Costa do Marfim', + 'Croácia', + 'Cuba', + 'Dinamarca', + 'Djibouti', + 'Domênica', + 'Equador', + 'Egito', + 'El Salvador', + 'Emirados Árabes Unidos', + 'Eritrea', + 'Eslováquia', + 'Eslovênia', + 'Espanha', + 'Estados Unidos da América', + 'Estónia', + 'Etiópia', + 'Filipinas', + 'Finlândia', + 'Fiji', + 'França', + 'Gabão', + 'Gâmbia', + 'Georgia', + 'Gana', + 'Granada', + 'Grécia', + 'Guatemala', + 'Guiné Equatorial', + 'Guiné Bissau', + 'Guiana', + 'Haiti', + 'Honduras', + 'Hungria', + 'Índia', + 'Indonésia', + 'Iraque', + 'Irlanda', + 'Irã', + 'Islândia', + 'Ilhas Marshall', + 'Ilhas Maurício', + 'Ilhas Salomão', + 'Ilhas Samoa', + 'Israel', + 'Itália', + 'Jamaica', + 'Japão', + 'Jordânia', + 'Kiribati', + 'Kwait', + 'Laos', + 'Lesoto', + 'Letónia', + 'Libéria', + 'Líbia', + 'Liechtenstein', + 'Lituânia', + 'Luxemburgo', + 'Líbano', + 'Macedónia', + 'Madagascar', + 'Malásia', + 'Malauí', + 'Maldivas', + 'Mali', + 'Malta', + 'Marrocos', + 'Mauritânia', + 'Micronésia', + 'Moldávia', + 'Mongólia', + 'Montenegro', + 'Moçambique', + 'México', + 'Mónaco', + 'Namíbia', + 'Nauru', + 'Nepal', + 'Nicarágua', + 'Nigéria', + 'Noruega', + 'Nova Guiné', + 'Nova Zelândia', + 'Níger', + 'Omã', + 'Qatar', + 'Quênia', + 'Quirguistão', + 'Paquistão', + 'Palaos', + 'Panamá', + 'Papua Nova Guiné', + 'Paraguai', + 'Países Baixos', + 'Peru', + 'Polónia', + 'Portugal', + 'Reino Unido', + 'Reino Unido da Grã Bretanha e Irlanda do Norte', + 'República Centroafricana', + 'República Checa', + 'República Democrática do Congo', + 'República Dominicana', + 'Ruanda', + 'Romênia', + 'Rússia', + 'São Cristovão e Neves', + 'San Marino', + 'São Vicente e as Granadinas', + 'Santa Luzia', + 'São Tomé e Príncipe', + 'Senegal', + 'Sérvia', + 'Seychelles', + 'Serra Leoa', + 'Singapura', + 'Síria', + 'Somália', + 'Sri Lanka', + 'Suazilândia', + 'Sudão', + 'Suécia', + 'Suiça', + 'Suriname', + 'Tailândia', + 'Tanzânia', + 'Tajiquistão', + 'Timor Leste', + 'Togo', + 'Tonga', + 'Trinidad e Tobago', + 'Turcomenistão', + 'Turquia', + 'Tuvalu', + 'Tunísia', + 'Ucrânia', + 'Uganda', + 'Uruguai', + 'Uzbequistão', + 'Vaticano', + 'Vanuatu', + 'Venezuela', + 'Vietnã', + 'Yemen', + 'Zâmbia', + 'Zimbábue', + ]; - /** - * @example 'Avenida' ' Rua' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + /** + * @example 'Avenida' ' Rua' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } - /** - * @example 'Aveiro' 'Oliveira de Azeméis' - */ - public function city() - { - return static::randomElement(static::$cities); - } + /** + * @example 'Aveiro' 'Oliveira de Azeméis' + */ + public function city() { + return static::randomElement( static::$cities ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Company.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Company.php index b3df81e..2a1c6a4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Company.php @@ -2,15 +2,14 @@ namespace Faker\Provider\pt_PT; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{lastName}}', - '{{lastName}} e {{lastName}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - 'Grupo {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{lastName}}', + '{{lastName}} e {{lastName}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + 'Grupo {{lastName}} {{companySuffix}}', + ]; - protected static $companySuffix = ['e Filhos', 'e Associados', 'Lda.', 'S.A.']; + protected static $companySuffix = [ 'e Filhos', 'e Associados', 'Lda.', 'S.A.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Internet.php index e78274e..02a44f1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\pt_PT; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'hotmail.com', 'sapo.pt', 'clix.pt', 'mail.pt']; - protected static $tld = ['com', 'com', 'pt', 'pt', 'net', 'org', 'eu']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ 'gmail.com', 'yahoo.com', 'hotmail.com', 'sapo.pt', 'clix.pt', 'mail.pt' ]; + protected static $tld = [ 'com', 'com', 'pt', 'pt', 'net', 'org', 'eu' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Payment.php index 3b45c3d..7e2ada0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\pt_PT; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'PT', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'PT', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Person.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Person.php index 53ba6d5..ef751b5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/Person.php @@ -2,146 +2,408 @@ namespace Faker\Provider\pt_PT; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{lastName}} de {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} de {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} de {{lastName}}', - '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{lastName}} de {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} de {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} de {{lastName}}', + '{{firstNameMale}} {{firstNameMale}} {{lastName}} {{lastName}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} de {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} de {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} de {{lastName}}', - '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} de {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} de {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} de {{lastName}}', + '{{firstNameFemale}} {{firstNameFemale}} {{lastName}} {{lastName}} {{lastName}}', + ]; - /** - * @see http://goo.gl/v6bScG document with all pt abreviations * - */ - protected static $titleMale = ['Sr.', 'Dr.', 'Exmo.', 'Eng.', 'Eng.º', 'Ex.', 'Exº']; - protected static $titleFemale = ['Sra.', 'Dra.', 'Exma', 'Eng.ª', 'Exª']; + /** + * @see http://goo.gl/v6bScG document with all pt abreviations * + */ + protected static $titleMale = [ 'Sr.', 'Dr.', 'Exmo.', 'Eng.', 'Eng.º', 'Ex.', 'Exº' ]; + protected static $titleFemale = [ 'Sra.', 'Dra.', 'Exma', 'Eng.ª', 'Exª' ]; - protected static $firstEightDigitsFormat = [ - '1#######', - '2#######', - '3#######', - '45######', - '5#######', - '6#######', - '70######', - '71######', - '72######', - '77######', - '79######', - '8#######', - '90######', - '98######', - '99######', - ]; + protected static $firstEightDigitsFormat = [ + '1#######', + '2#######', + '3#######', + '45######', + '5#######', + '6#######', + '70######', + '71######', + '72######', + '77######', + '79######', + '8#######', + '90######', + '98######', + '99######', + ]; - /** - * Taxpayer Identification Number (NIF in Portugal) - * - * @see http://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal - * - * @return string 9 digit number - */ - public static function taxpayerIdentificationNumber() - { - $firstEightDigits = static::numerify(static::randomElement(static::$firstEightDigitsFormat)); - $lastDigit = static::dvCalcMod11($firstEightDigits); + /** + * Taxpayer Identification Number (NIF in Portugal) + * + * @see http://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal + * + * @return string 9 digit number + */ + public static function taxpayerIdentificationNumber() { + $firstEightDigits = static::numerify( static::randomElement( static::$firstEightDigitsFormat ) ); + $lastDigit = static::dvCalcMod11( $firstEightDigits ); - return $firstEightDigits . $lastDigit; - } + return $firstEightDigits . $lastDigit; + } - /** - * Generate module - * - * @see http://pt.wikipedia.org/wiki/D%C3%ADgito_verificador - * - * @param string $number number - * - * @return int - */ - public static function dvCalcMod11($number) - { - $base = 9; - $sum = 0; - $factor = 2; + /** + * Generate module + * + * @see http://pt.wikipedia.org/wiki/D%C3%ADgito_verificador + * + * @param string $number number + * + * @return int + */ + public static function dvCalcMod11( $number ) { + $base = 9; + $sum = 0; + $factor = 2; - for ($i = strlen($number); $i > 0; --$i) { - $numbers[$i] = substr($number, $i - 1, 1); - $partial[$i] = $numbers[$i] * $factor; - $sum += $partial[$i]; + for ( $i = strlen( $number ); $i > 0; -- $i ) { + $numbers[ $i ] = substr( $number, $i - 1, 1 ); + $partial[ $i ] = $numbers[ $i ] * $factor; + $sum += $partial[ $i ]; - if ($factor == $base) { - $factor = 1; - } - ++$factor; - } - $res = $sum % 11; + if ( $factor == $base ) { + $factor = 1; + } + ++ $factor; + } + $res = $sum % 11; - if ($res == 0 || $res == 1) { - $digit = 0; - } else { - $digit = 11 - $res; - } + if ( $res == 0 || $res == 1 ) { + $digit = 0; + } else { + $digit = 11 - $res; + } - return $digit; - } + return $digit; + } - /** - * @see http://nomesportugueses.blogspot.pt/2012/01/lista-dos-cem-nomes-mais-usados-em.html - */ - protected static $firstNameMale = [ - 'Rodrigo', 'João', 'Martim', 'Afonso', 'Tomás', 'Gonçalo', 'Francisco', 'Tiago', - 'Diogo', 'Guilherme', 'Pedro', 'Miguel', 'Rafael', 'Gabriel', 'Santiago', 'Dinis', - 'David', 'Duarte', 'José', 'Simão', 'Daniel', 'Lucas', 'Gustavo', 'André', 'Denis', - 'Salvador', 'António', 'Vasco', 'Henrique', 'Lourenço', 'Manuel', 'Eduardo', 'Bernardo', - 'Leandro', 'Luís', 'Diego', 'Leonardo', 'Alexandre', 'Rúben', 'Mateus', 'Ricardo', - 'Vicente', 'Filipe', 'Bruno', 'Nuno', 'Carlos', 'Rui', 'Hugo', 'Samuel', 'Álvaro', - 'Matias', 'Fábio', 'Ivo', 'Paulo', 'Jorge', 'Xavier', 'Marco', 'Isaac', 'Raúl', 'Benjamim', - 'Renato', 'Artur', 'Mário', 'Frederico', 'Cristiano', 'Ivan', 'Sérgio', 'Micael', - 'Vítor', 'Edgar', 'Kevin', 'Joaquim', 'Igor', 'Ângelo', 'Enzo', 'Valentim', 'Flávio', - 'Joel', 'Fernando', 'Sebastião', 'Tomé', 'César', 'Cláudio', 'Nelson', 'Lisandro', 'Jaime', - 'Gil', 'Mauro', 'Sandro', 'Hélder', 'Matheus', 'William', 'Gaspar', 'Márcio', - 'Martinho', 'Emanuel', 'Marcos', 'Telmo', 'Davi', 'Wilson', - ]; + /** + * @see http://nomesportugueses.blogspot.pt/2012/01/lista-dos-cem-nomes-mais-usados-em.html + */ + protected static $firstNameMale = [ + 'Rodrigo', + 'João', + 'Martim', + 'Afonso', + 'Tomás', + 'Gonçalo', + 'Francisco', + 'Tiago', + 'Diogo', + 'Guilherme', + 'Pedro', + 'Miguel', + 'Rafael', + 'Gabriel', + 'Santiago', + 'Dinis', + 'David', + 'Duarte', + 'José', + 'Simão', + 'Daniel', + 'Lucas', + 'Gustavo', + 'André', + 'Denis', + 'Salvador', + 'António', + 'Vasco', + 'Henrique', + 'Lourenço', + 'Manuel', + 'Eduardo', + 'Bernardo', + 'Leandro', + 'Luís', + 'Diego', + 'Leonardo', + 'Alexandre', + 'Rúben', + 'Mateus', + 'Ricardo', + 'Vicente', + 'Filipe', + 'Bruno', + 'Nuno', + 'Carlos', + 'Rui', + 'Hugo', + 'Samuel', + 'Álvaro', + 'Matias', + 'Fábio', + 'Ivo', + 'Paulo', + 'Jorge', + 'Xavier', + 'Marco', + 'Isaac', + 'Raúl', + 'Benjamim', + 'Renato', + 'Artur', + 'Mário', + 'Frederico', + 'Cristiano', + 'Ivan', + 'Sérgio', + 'Micael', + 'Vítor', + 'Edgar', + 'Kevin', + 'Joaquim', + 'Igor', + 'Ângelo', + 'Enzo', + 'Valentim', + 'Flávio', + 'Joel', + 'Fernando', + 'Sebastião', + 'Tomé', + 'César', + 'Cláudio', + 'Nelson', + 'Lisandro', + 'Jaime', + 'Gil', + 'Mauro', + 'Sandro', + 'Hélder', + 'Matheus', + 'William', + 'Gaspar', + 'Márcio', + 'Martinho', + 'Emanuel', + 'Marcos', + 'Telmo', + 'Davi', + 'Wilson', + ]; - protected static $firstNameFemale = [ - 'Maria', 'Leonor', 'Matilde', 'Mariana', 'Ana', 'Beatriz', 'Inês', 'Lara', 'Carolina', 'Margarida', - 'Joana', 'Sofia', 'Diana', 'Francisca', 'Laura', 'Sara', 'Madalena', 'Rita', 'Mafalda', 'Catarina', - 'Luana', 'Marta', 'Íris', 'Alice', 'Bianca', 'Constança', 'Gabriela', 'Eva', 'Clara', 'Bruna', 'Daniela', - 'Iara', 'Filipa', 'Vitória', 'Ariana', 'Letícia', 'Bárbara', 'Camila', 'Rafaela', 'Carlota', 'Yara', - 'Núria', 'Raquel', 'Ema', 'Helena', 'Benedita', 'Érica', 'Isabel', 'Nicole', 'Lia', 'Alícia', 'Mara', - 'Jéssica', 'Soraia', 'Júlia', 'Luna', 'Victória', 'Luísa', 'Teresa', 'Miriam', 'Adriana', 'Melissa', - 'Andreia', 'Juliana', 'Alexandra', 'Yasmin', 'Tatiana', 'Leticia', 'Luciana', 'Eduarda', 'Cláudia', - 'Débora', 'Fabiana', 'Renata', 'Kyara', 'Kelly', 'Irina', 'Mélanie', 'Nádia', 'Cristiana', 'Liliana', - 'Patrícia', 'Vera', 'Doriana', 'Ângela', 'Mia', 'Erica', 'Mónica', 'Isabela', 'Salomé', 'Cátia', - 'Verónica', 'Violeta', 'Lorena', 'Érika', 'Vanessa', 'Iris', 'Anna', 'Viviane', 'Rebeca', 'Neuza', - ]; + protected static $firstNameFemale = [ + 'Maria', + 'Leonor', + 'Matilde', + 'Mariana', + 'Ana', + 'Beatriz', + 'Inês', + 'Lara', + 'Carolina', + 'Margarida', + 'Joana', + 'Sofia', + 'Diana', + 'Francisca', + 'Laura', + 'Sara', + 'Madalena', + 'Rita', + 'Mafalda', + 'Catarina', + 'Luana', + 'Marta', + 'Íris', + 'Alice', + 'Bianca', + 'Constança', + 'Gabriela', + 'Eva', + 'Clara', + 'Bruna', + 'Daniela', + 'Iara', + 'Filipa', + 'Vitória', + 'Ariana', + 'Letícia', + 'Bárbara', + 'Camila', + 'Rafaela', + 'Carlota', + 'Yara', + 'Núria', + 'Raquel', + 'Ema', + 'Helena', + 'Benedita', + 'Érica', + 'Isabel', + 'Nicole', + 'Lia', + 'Alícia', + 'Mara', + 'Jéssica', + 'Soraia', + 'Júlia', + 'Luna', + 'Victória', + 'Luísa', + 'Teresa', + 'Miriam', + 'Adriana', + 'Melissa', + 'Andreia', + 'Juliana', + 'Alexandra', + 'Yasmin', + 'Tatiana', + 'Leticia', + 'Luciana', + 'Eduarda', + 'Cláudia', + 'Débora', + 'Fabiana', + 'Renata', + 'Kyara', + 'Kelly', + 'Irina', + 'Mélanie', + 'Nádia', + 'Cristiana', + 'Liliana', + 'Patrícia', + 'Vera', + 'Doriana', + 'Ângela', + 'Mia', + 'Erica', + 'Mónica', + 'Isabela', + 'Salomé', + 'Cátia', + 'Verónica', + 'Violeta', + 'Lorena', + 'Érika', + 'Vanessa', + 'Iris', + 'Anna', + 'Viviane', + 'Rebeca', + 'Neuza', + ]; - protected static $lastName = [ - 'Abreu', 'Almeida', 'Alves', 'Amaral', 'Amorim', 'Andrade', 'Anjos', 'Antunes', 'Araújo', 'Assunção', - 'Azevedo', 'Baptista', 'Barbosa', 'Barros', 'Batista', 'Borges', 'Branco', 'Brito', 'Campos', 'Cardoso', - 'Carneiro', 'Carvalho', 'Castro', 'Coelho', 'Correia', 'Costa', 'Cruz', 'Cunha', 'Domingues', 'Esteves', - 'Faria', 'Fernandes', 'Ferreira', 'Figueiredo', 'Fonseca', 'Freitas', 'Garcia', 'Gaspar', 'Gomes', - 'Gonçalves', 'Guerreiro', 'Henriques', 'Jesus', 'Leal', 'Leite', 'Lima', 'Lopes', 'Loureiro', 'Lourenço', - 'Macedo', 'Machado', 'Magalhães', 'Maia', 'Marques', 'Martins', 'Matias', 'Matos', 'Melo', 'Mendes', - 'Miranda', 'Monteiro', 'Morais', 'Moreira', 'Mota', 'Moura', 'Nascimento', 'Neto', 'Neves', 'Nogueira', - 'Nunes', 'Oliveira', 'Pacheco', 'Paiva', 'Pereira', 'Pinheiro', 'Pinho', 'Pinto', 'Pires', 'Ramos', - 'Reis', 'Ribeiro', 'Rocha', 'Rodrigues', 'Santos', 'Silva', 'Simões', 'Soares', 'Sousa', - 'Sá', 'Tavares', 'Teixeira', 'Torres', 'Valente', 'Vaz', 'Vicente', 'Vieira', - ]; + protected static $lastName = [ + 'Abreu', + 'Almeida', + 'Alves', + 'Amaral', + 'Amorim', + 'Andrade', + 'Anjos', + 'Antunes', + 'Araújo', + 'Assunção', + 'Azevedo', + 'Baptista', + 'Barbosa', + 'Barros', + 'Batista', + 'Borges', + 'Branco', + 'Brito', + 'Campos', + 'Cardoso', + 'Carneiro', + 'Carvalho', + 'Castro', + 'Coelho', + 'Correia', + 'Costa', + 'Cruz', + 'Cunha', + 'Domingues', + 'Esteves', + 'Faria', + 'Fernandes', + 'Ferreira', + 'Figueiredo', + 'Fonseca', + 'Freitas', + 'Garcia', + 'Gaspar', + 'Gomes', + 'Gonçalves', + 'Guerreiro', + 'Henriques', + 'Jesus', + 'Leal', + 'Leite', + 'Lima', + 'Lopes', + 'Loureiro', + 'Lourenço', + 'Macedo', + 'Machado', + 'Magalhães', + 'Maia', + 'Marques', + 'Martins', + 'Matias', + 'Matos', + 'Melo', + 'Mendes', + 'Miranda', + 'Monteiro', + 'Morais', + 'Moreira', + 'Mota', + 'Moura', + 'Nascimento', + 'Neto', + 'Neves', + 'Nogueira', + 'Nunes', + 'Oliveira', + 'Pacheco', + 'Paiva', + 'Pereira', + 'Pinheiro', + 'Pinho', + 'Pinto', + 'Pires', + 'Ramos', + 'Reis', + 'Ribeiro', + 'Rocha', + 'Rodrigues', + 'Santos', + 'Silva', + 'Simões', + 'Soares', + 'Sousa', + 'Sá', + 'Tavares', + 'Teixeira', + 'Torres', + 'Valente', + 'Vaz', + 'Vicente', + 'Vieira', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/PhoneNumber.php index 948ba94..29a62c6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/pt_PT/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/pt_PT/PhoneNumber.php @@ -2,49 +2,47 @@ namespace Faker\Provider\pt_PT; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @see http://en.wikipedia.org/wiki/Telephone_numbers_in_Portugal - */ - protected static $formats = [ - '+351 91#######', - '+351 92#######', - '+351 93#######', - '+351 96#######', - '+351 21#######', - '+351 22#######', - '+351 23#######', - '+351 24#######', - '+351 25#######', - '+351 26#######', - '+351 27#######', - '+351 28#######', - '+351 29#######', - '91#######', - '92#######', - '93#######', - '96#######', - '21#######', - '22#######', - '23#######', - '24#######', - '25#######', - '26#######', - '27#######', - '28#######', - '29#######', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @see http://en.wikipedia.org/wiki/Telephone_numbers_in_Portugal + */ + protected static $formats = [ + '+351 91#######', + '+351 92#######', + '+351 93#######', + '+351 96#######', + '+351 21#######', + '+351 22#######', + '+351 23#######', + '+351 24#######', + '+351 25#######', + '+351 26#######', + '+351 27#######', + '+351 28#######', + '+351 29#######', + '91#######', + '92#######', + '93#######', + '96#######', + '21#######', + '22#######', + '23#######', + '24#######', + '25#######', + '26#######', + '27#######', + '28#######', + '29#######', + ]; - protected static $mobileNumberPrefixes = [ - '91#######', - '92#######', - '93#######', - '96#######', - ]; + protected static $mobileNumberPrefixes = [ + '91#######', + '92#######', + '93#######', + '96#######', + ]; - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileNumberPrefixes)); - } + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileNumberPrefixes ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Address.php index 377b926..10a98be 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Address.php @@ -2,124 +2,390 @@ namespace Faker\Provider\ro_MD; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '%/#', '#A', '#B']; - protected static $apartmentNumber = ['#', '##']; - protected static $floor = ['#', '##']; - protected static $block = ['#', '##', 'A', 'B', 'C', 'D']; - protected static $blockSegment = ['A', 'B', 'C', 'D']; - - protected static $streetPrefix = [ - 'Str.', 'B-dul.', 'Aleea', 'Calea', 'P-ța', 'Str-la', - ]; - - // random selection of seemingly frequently used streets and naming categories - protected static $streetPlainName = [ - // historical events - 'Eroilor', 'Independenței', 'Lenin', 'Unirii', '31 August 1989', 'Sovietului', - // historical people - 'Mihai Viteazul', 'Mircea cel Bătrân', 'Mitropolitul Varlaam', 'Traian', 'Decebal', 'Alexandru cel Bun', 'Alexandri V.', 'Arhangelul Mihail', - // national and international people names - 'Veronica Micle', 'Ion Creangă', 'Mihai Eminescu', 'B. P. Hașdeu', - // nature-related - 'Cireșilor', 'Frasinului', 'Salcâmilor', 'Brăduțului', 'Frunzișului', 'Castanilor', 'Mesteacănului', 'Florilor', 'Pădurii', 'Piersicului', 'Trandafirilor', - // work-related - 'Croitorilor', 'Meșterilor', 'Zidarilor', 'Păcurari', 'Muncii', 'Învățătorului', - // geography related - 'Chisinau', 'Paris', - ]; - - protected static $postcode = ['####']; - - // http://ro.wikipedia.org/wiki/Lista_ora%C8%99elor_din_Republica_Moldova - protected static $cityNames = [ - 'Chișinău', 'Tiraspol', 'Bălți', 'Tighina', 'Râbnița', 'Cahul', 'Ungheni', 'Soroca', - 'Orhei', 'Dubăsari', 'Comrat', 'Ceadâr-Lunga', 'Strășeni', 'Căușeni', 'Drochia', 'Slobozia', - 'Edineț', 'Vulcănești', 'Durlești', 'Hâncești', 'Ialoveni', 'Fălești', 'Călărași', 'Codru', - 'Taraclia', 'Florești', 'Cimișlia', 'Sângerei', 'Dnestrovsc', 'Nisporeni', 'Grigoriopol', - 'Basarabeasca', 'Râșcani', 'Glodeni', 'Camenca', 'Rezina', 'Leova', 'Cricova', 'Dondușeni', - 'Ocnița', 'Briceni', 'Otaci', 'Anenii Noi', 'Ștefan Vodă', 'Cupcini', 'Sângera', 'Criuleni', - 'Telenești', 'Șoldănești', 'Tvardița', 'Lipcani', 'Vadul lui Vodă', 'Iargara', 'Căinari', - 'Cantemir', 'Vatra', 'Biruința', 'Crasnoe', 'Cornești', 'Costești', 'Mărculești', 'Ghindești', - 'Tiraspolul Nou', 'Frunză', 'Bucovăț', 'Maiac', - ]; - - // http://ro.wikipedia.org/wiki/Lista_statelor_lumii#Lista_statelor_lumii - protected static $country = [ - 'Afganistan', 'Africa de Sud', 'Albania', 'Algeria', 'Andorra', 'Angola', 'Antigua și Barbuda', 'Arabia Saudită', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaidjan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgia', 'Belize', 'Benin', 'Bhutan', 'Birmania', 'Bolivia', 'Bosnia și Herțegovina', 'Botswana', 'Brazilia', 'Brunei', 'Bulgaria', - 'Burkina Faso', 'Burundi', 'Cambodgia', 'Camerun', 'Canada', 'Capul Verde', 'Cehia', 'Republica Centrafricană', 'Chile', 'Republica Populară Chineză', 'Ciad', 'Cipru', 'Columbia', 'Comore', - 'Republica Democrată Congo', 'Republica Congo', 'Coreea de Nord', 'Coreea de Sud', 'Costa Rica', 'Coasta de Fildeș', 'Croația', 'Cuba', 'Danemarca', 'Djibouti', 'Dominica', - 'Republica Dominicană', 'Ecuador', 'Egipt', 'El Salvador', 'Elveția', 'Emiratele Arabe Unite', 'Eritreea', 'Estonia', 'Etiopia', 'Fiji', 'Filipine', 'Finlanda', 'Franța', 'Gabon', 'Gambia', - 'Georgia', 'Germania', 'Ghana', 'Grecia', 'Grenada', 'Guatemala', 'Guineea', 'Guineea-Bissau', 'Guineea Ecuatorială', 'Guyana', 'Haiti', 'Honduras', - 'India', 'Indonezia', 'Iordania', 'Irak', 'Iran', 'Republica Irlanda', 'Islanda', 'Israel', 'Italia', 'Jamaica', 'Japonia', 'Kazahstan', 'Kenya', 'Kirghizstan', 'Kiribati', 'Kuweit', - 'Laos', 'Lesotho', 'Letonia', 'Liban', 'Liberia', 'Libia', 'Liechtenstein', 'Lituania', 'Luxemburg', 'Republica Macedonia', 'Madagascar', 'Malawi', 'Malaezia', 'Maldive', 'Mali', 'Malta', - 'Maroc', 'Insulele Marshall', 'Mauritania', 'Mauritius', 'Mexic', 'Statele Federate ale Microneziei', 'Republica Moldova', 'Monaco', 'Mongolia', 'Mozambic', 'Muntenegru', 'Namibia', 'Nauru', - 'Nepal', 'Nicaragua', 'Niger', 'Nigeria', 'Norvegia', 'Noua Zeelandă', 'Olanda', 'Oman', 'Pakistan', 'Palau', 'Panama', 'Papua Noua Guinee', 'Paraguay', 'Peru', 'Polonia', 'Portugalia', - 'Qatar', 'Regatul Unit', 'România', 'Rusia', 'Rwanda', 'Samoa', 'San Marino', 'São Tomé și Príncipe', 'São Tomé e Príncipe', 'Senegal', 'Serbia', 'Seychelles', 'Sfânta Lucia', - 'Sfântul Cristofor și Nevis', 'Saint Vincent and the Grenadines', 'Sierra Leone', 'Singapore', 'Siria', 'Slovacia', 'Slovenia', 'Insulele Solomon', 'Somalia', 'Spania', 'Sri Lanka', - 'Statele Unite ale Americii', 'Sudan', 'Sudanul de Sud', 'Suedia', 'Surinam', 'Swaziland', 'Tadjikistan', 'Tanzania', 'Thailanda', 'Timorul de Est', 'Togo', 'Tonga', 'Trinidad-Tobago', - 'Tunisia', 'Turcia', 'Turkmenistan', 'Tuvalu', 'Ucraina', 'Uganda', 'Ungaria', 'Uruguay', 'Uzbekistan', 'Vanuatu', 'Vatican', 'Venezuela', 'Vietnam', 'Yemen', 'Zambia', 'Zimbabwe', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - 'Mun. {{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{streetPlainName}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, ap. {{apartmentNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, et. {{floor}}, ap. {{apartmentNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, sc. {{blockSegment}}, et. {{floor}}, ap. {{apartmentNumber}}', - ]; - - protected static $addressFormats = [ - '{{streetAddress}}, {{city}}, CP {{postcode}}', - ]; - - public function cityName() - { - return static::randomElement(static::$cityNames); - } - - public static function block() - { - return static::numerify(static::randomElement(static::$block)); - } - - public function blockSegment() - { - return static::randomElement(static::$blockSegment); - } - - public static function floor() - { - return static::numerify(static::randomElement(static::$floor)); - } - - public static function apartmentNumber() - { - return static::numerify(static::randomElement(static::$apartmentNumber)); - } - - public function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'Independenței' - */ - public function streetPlainName() - { - return static::randomElement(static::$streetPlainName); - } +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '%/#', '#A', '#B' ]; + protected static $apartmentNumber = [ '#', '##' ]; + protected static $floor = [ '#', '##' ]; + protected static $block = [ '#', '##', 'A', 'B', 'C', 'D' ]; + protected static $blockSegment = [ 'A', 'B', 'C', 'D' ]; + + protected static $streetPrefix = [ + 'Str.', + 'B-dul.', + 'Aleea', + 'Calea', + 'P-ța', + 'Str-la', + ]; + + // random selection of seemingly frequently used streets and naming categories + protected static $streetPlainName = [ + // historical events + 'Eroilor', + 'Independenței', + 'Lenin', + 'Unirii', + '31 August 1989', + 'Sovietului', + // historical people + 'Mihai Viteazul', + 'Mircea cel Bătrân', + 'Mitropolitul Varlaam', + 'Traian', + 'Decebal', + 'Alexandru cel Bun', + 'Alexandri V.', + 'Arhangelul Mihail', + // national and international people names + 'Veronica Micle', + 'Ion Creangă', + 'Mihai Eminescu', + 'B. P. Hașdeu', + // nature-related + 'Cireșilor', + 'Frasinului', + 'Salcâmilor', + 'Brăduțului', + 'Frunzișului', + 'Castanilor', + 'Mesteacănului', + 'Florilor', + 'Pădurii', + 'Piersicului', + 'Trandafirilor', + // work-related + 'Croitorilor', + 'Meșterilor', + 'Zidarilor', + 'Păcurari', + 'Muncii', + 'Învățătorului', + // geography related + 'Chisinau', + 'Paris', + ]; + + protected static $postcode = [ '####' ]; + + // http://ro.wikipedia.org/wiki/Lista_ora%C8%99elor_din_Republica_Moldova + protected static $cityNames = [ + 'Chișinău', + 'Tiraspol', + 'Bălți', + 'Tighina', + 'Râbnița', + 'Cahul', + 'Ungheni', + 'Soroca', + 'Orhei', + 'Dubăsari', + 'Comrat', + 'Ceadâr-Lunga', + 'Strășeni', + 'Căușeni', + 'Drochia', + 'Slobozia', + 'Edineț', + 'Vulcănești', + 'Durlești', + 'Hâncești', + 'Ialoveni', + 'Fălești', + 'Călărași', + 'Codru', + 'Taraclia', + 'Florești', + 'Cimișlia', + 'Sângerei', + 'Dnestrovsc', + 'Nisporeni', + 'Grigoriopol', + 'Basarabeasca', + 'Râșcani', + 'Glodeni', + 'Camenca', + 'Rezina', + 'Leova', + 'Cricova', + 'Dondușeni', + 'Ocnița', + 'Briceni', + 'Otaci', + 'Anenii Noi', + 'Ștefan Vodă', + 'Cupcini', + 'Sângera', + 'Criuleni', + 'Telenești', + 'Șoldănești', + 'Tvardița', + 'Lipcani', + 'Vadul lui Vodă', + 'Iargara', + 'Căinari', + 'Cantemir', + 'Vatra', + 'Biruința', + 'Crasnoe', + 'Cornești', + 'Costești', + 'Mărculești', + 'Ghindești', + 'Tiraspolul Nou', + 'Frunză', + 'Bucovăț', + 'Maiac', + ]; + + // http://ro.wikipedia.org/wiki/Lista_statelor_lumii#Lista_statelor_lumii + protected static $country = [ + 'Afganistan', + 'Africa de Sud', + 'Albania', + 'Algeria', + 'Andorra', + 'Angola', + 'Antigua și Barbuda', + 'Arabia Saudită', + 'Argentina', + 'Armenia', + 'Australia', + 'Austria', + 'Azerbaidjan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgia', + 'Belize', + 'Benin', + 'Bhutan', + 'Birmania', + 'Bolivia', + 'Bosnia și Herțegovina', + 'Botswana', + 'Brazilia', + 'Brunei', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodgia', + 'Camerun', + 'Canada', + 'Capul Verde', + 'Cehia', + 'Republica Centrafricană', + 'Chile', + 'Republica Populară Chineză', + 'Ciad', + 'Cipru', + 'Columbia', + 'Comore', + 'Republica Democrată Congo', + 'Republica Congo', + 'Coreea de Nord', + 'Coreea de Sud', + 'Costa Rica', + 'Coasta de Fildeș', + 'Croația', + 'Cuba', + 'Danemarca', + 'Djibouti', + 'Dominica', + 'Republica Dominicană', + 'Ecuador', + 'Egipt', + 'El Salvador', + 'Elveția', + 'Emiratele Arabe Unite', + 'Eritreea', + 'Estonia', + 'Etiopia', + 'Fiji', + 'Filipine', + 'Finlanda', + 'Franța', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germania', + 'Ghana', + 'Grecia', + 'Grenada', + 'Guatemala', + 'Guineea', + 'Guineea-Bissau', + 'Guineea Ecuatorială', + 'Guyana', + 'Haiti', + 'Honduras', + 'India', + 'Indonezia', + 'Iordania', + 'Irak', + 'Iran', + 'Republica Irlanda', + 'Islanda', + 'Israel', + 'Italia', + 'Jamaica', + 'Japonia', + 'Kazahstan', + 'Kenya', + 'Kirghizstan', + 'Kiribati', + 'Kuweit', + 'Laos', + 'Lesotho', + 'Letonia', + 'Liban', + 'Liberia', + 'Libia', + 'Liechtenstein', + 'Lituania', + 'Luxemburg', + 'Republica Macedonia', + 'Madagascar', + 'Malawi', + 'Malaezia', + 'Maldive', + 'Mali', + 'Malta', + 'Maroc', + 'Insulele Marshall', + 'Mauritania', + 'Mauritius', + 'Mexic', + 'Statele Federate ale Microneziei', + 'Republica Moldova', + 'Monaco', + 'Mongolia', + 'Mozambic', + 'Muntenegru', + 'Namibia', + 'Nauru', + 'Nepal', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Norvegia', + 'Noua Zeelandă', + 'Olanda', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua Noua Guinee', + 'Paraguay', + 'Peru', + 'Polonia', + 'Portugalia', + 'Qatar', + 'Regatul Unit', + 'România', + 'Rusia', + 'Rwanda', + 'Samoa', + 'San Marino', + 'São Tomé și Príncipe', + 'São Tomé e Príncipe', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sfânta Lucia', + 'Sfântul Cristofor și Nevis', + 'Saint Vincent and the Grenadines', + 'Sierra Leone', + 'Singapore', + 'Siria', + 'Slovacia', + 'Slovenia', + 'Insulele Solomon', + 'Somalia', + 'Spania', + 'Sri Lanka', + 'Statele Unite ale Americii', + 'Sudan', + 'Sudanul de Sud', + 'Suedia', + 'Surinam', + 'Swaziland', + 'Tadjikistan', + 'Tanzania', + 'Thailanda', + 'Timorul de Est', + 'Togo', + 'Tonga', + 'Trinidad-Tobago', + 'Tunisia', + 'Turcia', + 'Turkmenistan', + 'Tuvalu', + 'Ucraina', + 'Uganda', + 'Ungaria', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Vatican', + 'Venezuela', + 'Vietnam', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + 'Mun. {{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{streetPlainName}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, ap. {{apartmentNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, et. {{floor}}, ap. {{apartmentNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, sc. {{blockSegment}}, et. {{floor}}, ap. {{apartmentNumber}}', + ]; + + protected static $addressFormats = [ + '{{streetAddress}}, {{city}}, CP {{postcode}}', + ]; + + public function cityName() { + return static::randomElement( static::$cityNames ); + } + + public static function block() { + return static::numerify( static::randomElement( static::$block ) ); + } + + public function blockSegment() { + return static::randomElement( static::$blockSegment ); + } + + public static function floor() { + return static::numerify( static::randomElement( static::$floor ) ); + } + + public static function apartmentNumber() { + return static::numerify( static::randomElement( static::$apartmentNumber ) ); + } + + public function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'Independenței' + */ + public function streetPlainName() { + return static::randomElement( static::$streetPlainName ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Payment.php index 826e818..1767af0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\ro_MD; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'MD', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'MD', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Person.php index 3e2e278..e4c1c6f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Person.php @@ -2,90 +2,1009 @@ namespace Faker\Provider\ro_MD; -class Person extends \Faker\Provider\Person -{ - // http://en.wikipedia.org/wiki/Romanian_name, prefixes are for more formal purposes - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + // http://en.wikipedia.org/wiki/Romanian_name, prefixes are for more formal purposes + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; - //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine - protected static $firstNameFemale = [ - 'Ada', 'Adela', 'Adelaida', 'Adelina', 'Adina', 'Adriana', 'Agata', 'Aglaia', 'Agripina', 'Aida', 'Alberta', 'Albertina', 'Alexandra', 'Alexandrina', 'Alida', 'Alina', 'Alice', 'Alis', 'Alma', - 'Amalia', 'Amelia', 'Amanda', 'Ana', 'Anabela', 'Anaida', 'Anamaria', 'Anastasia', 'Anca', 'Ancuța', 'Anda', 'Andra', 'Andrada', 'Andreea', 'Anemona', 'Aneta', 'Angela', 'Anghelina', 'Anica', - 'Anișoara', 'Antoaneta', 'Antonia', 'Antonela', 'Anuța', 'Ariadna', 'Ariana', 'Arina', 'Aristița', 'Artemisa', 'Astrid', 'Atena', 'Augustina', 'Aura', 'Aurelia', 'Aureliana', 'Aurica', 'Aurora', - 'Beatrice', 'Betina', 'Bianca', 'Blanduzia', 'Bogdana', 'Brândușa', 'Camelia', 'Carina', 'Carla', 'Carmen', 'Carmina', 'Carolina', 'Casandra', 'Casiana', 'Caterina', 'Catinca', 'Catrina', 'Catrinel', - 'Cătălina', 'Cecilia', 'Celia', 'Cerasela', 'Cezara', 'Cipriana', 'Clara', 'Clarisa', 'Claudia', 'Clementina', 'Cleopatra', 'Codrina', 'Codruța', 'Constantina', 'Constanța', 'Consuela', 'Coralia', - 'Corina', 'Cornelia', 'Cosmina', 'Crenguța', 'Crina', 'Cristina', 'Daciana', 'Dafina', 'Daiana', 'Dalia', 'Dana', 'Daniela', 'Daria', 'Dariana', 'Delia', 'Demetra', 'Denisa', 'Despina', 'Diana', - 'Dida', 'Didina', 'Dimitrina', 'Dina', 'Dochia', 'Doina', 'Domnica', 'Dora', 'Doriana', 'Dorina', 'Dorli', 'Draga', 'Dumitra', 'Dumitrana', 'Ecaterina', 'Eftimia', 'Elena', 'Eleonora', 'Eliana', - 'Elisabeta', 'Elisaveta', 'Eliza', 'Elodia', 'Elvira', 'Emilia', 'Emanuela', 'Erica', 'Estera', 'Eufrosina', 'Eugenia', 'Eusebia', 'Eva', 'Evanghelina', 'Evelina', 'Fabia', 'Fabiana', 'Felicia', - 'Filofteia', 'Fiona', 'Flavia', 'Floare', 'Floarea', 'Flora', 'Floriana', 'Florica', 'Florina', 'Florentina', 'Florența', 'Francesca', 'Frusina', 'Gabriela', 'Geanina', 'Gențiana', 'Georgeta', - 'Georgia', 'Georgiana', 'Geta', 'Gherghina', 'Gianina', 'Gina', 'Giorgiana', 'Grațiana', 'Grațiela', 'Hortensia', 'Henrieta', 'Heracleea', 'Iasmina', 'Ica', 'Ileana', 'Ilinca', 'Ilona', 'Ina', - 'Ioana', 'Ioanina', 'Iolanda', 'Ionela', 'Ionelia', 'Iosefina', 'Irina', 'Iridenta', 'Iris', 'Isabela', 'Iulia', 'Iuliana', 'Iustina', 'Ivona', 'Izabela', 'Jana', 'Janeta', 'Janina', 'Jasmina', - 'Jeana', 'Julia', 'Julieta', 'Larisa', 'Laura', 'Laurenția', 'Lavinia', 'Lăcrămioara', 'Leana', 'Lelia', 'Leontina', 'Leopoldina', 'Letiția', 'Lia', 'Liana', 'Lidia', 'Ligia', 'Lili', 'Liliana', - 'Lioara', 'Livia', 'Loredana', 'Lorelei', 'Lorena', 'Luana', 'Lucia', 'Luciana', 'Lucreția', 'Ludovica', 'Ludmila', 'Luiza', 'Luminița', 'Magdalena', 'Maia', 'Manuela', 'Mara', 'Marcela', 'Marga', - 'Margareta', 'Marcheta', 'Maria', 'Mariana', 'Maricica', 'Marilena', 'Marina', 'Marinela', 'Marioara', 'Marta', 'Matilda', 'Malvina', 'Mădălina', 'Mălina', 'Mărioara', 'Măriuca', 'Melania', 'Melina', - 'Mihaela', 'Milena', 'Mina', 'Minodora', 'Mioara', 'Mirabela', 'Mirela', 'Mirona', 'Miruna', 'Mona', 'Monalisa', 'Monica', 'Nadia', 'Narcisa', 'Natalia', 'Natașa', 'Noemi', 'Nicoleta', 'Niculina', - 'Nidia', 'Nora', 'Norica', 'Oana', 'Octavia', 'Octaviana', 'Ofelia', 'Olga', 'Olimpia', 'Olivia', 'Ortansa', 'Otilia', 'Ozana', 'Pamela', 'Paraschiva', 'Paula', 'Paulica', 'Paulina', 'Patricia', - 'Petronela', 'Petruța', 'Pompilia', 'Profira', 'Rada', 'Rafila', 'Raluca', 'Ramona', 'Rebeca', 'Renata', 'Rica', 'Roberta', 'Robertina', 'Rodica', 'Romanița', 'Romina', 'Roza', 'Rozalia', 'Roxana', - 'Roxelana', 'Ruxanda', 'Ruxandra', 'Sabina', 'Sabrina', 'Safta', 'Salomea', 'Sanda', 'Saveta', 'Savina', 'Sânziana', 'Semenica', 'Severina', 'Sidonia', 'Silvia', 'Silvana', 'Silviana', - 'Simina', 'Simona', 'Smaranda', 'Sofia', 'Sonia', 'Sorana', 'Sorina', 'Speranța', 'Stana', 'Stanca', 'Stela', 'Steliana', 'Steluța', 'Suzana', 'Svetlana', 'Ștefana', 'Ștefania', 'Tamara', 'Tania', - 'Tatiana', 'Teea', 'Teodora', 'Teodosia', 'Teona', 'Tiberia', 'Timea', 'Tinca', 'Tincuța', 'Tudora', 'Tudorița', 'Tudosia', 'Valentina', 'Valeria', 'Vanesa', 'Varvara', 'Vasilica', 'Venera', 'Vera', - 'Veronica', 'Veta', 'Vicenția', 'Victoria', 'Violeta', 'Viorela', 'Viorica', 'Virginia', 'Viviana', 'Voichița', 'Xenia', 'Zaharia', 'Zamfira', 'Zaraza', 'Zenobia', 'Zenovia', 'Zina', 'Zoe', - ]; + //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine + protected static $firstNameFemale = [ + 'Ada', + 'Adela', + 'Adelaida', + 'Adelina', + 'Adina', + 'Adriana', + 'Agata', + 'Aglaia', + 'Agripina', + 'Aida', + 'Alberta', + 'Albertina', + 'Alexandra', + 'Alexandrina', + 'Alida', + 'Alina', + 'Alice', + 'Alis', + 'Alma', + 'Amalia', + 'Amelia', + 'Amanda', + 'Ana', + 'Anabela', + 'Anaida', + 'Anamaria', + 'Anastasia', + 'Anca', + 'Ancuța', + 'Anda', + 'Andra', + 'Andrada', + 'Andreea', + 'Anemona', + 'Aneta', + 'Angela', + 'Anghelina', + 'Anica', + 'Anișoara', + 'Antoaneta', + 'Antonia', + 'Antonela', + 'Anuța', + 'Ariadna', + 'Ariana', + 'Arina', + 'Aristița', + 'Artemisa', + 'Astrid', + 'Atena', + 'Augustina', + 'Aura', + 'Aurelia', + 'Aureliana', + 'Aurica', + 'Aurora', + 'Beatrice', + 'Betina', + 'Bianca', + 'Blanduzia', + 'Bogdana', + 'Brândușa', + 'Camelia', + 'Carina', + 'Carla', + 'Carmen', + 'Carmina', + 'Carolina', + 'Casandra', + 'Casiana', + 'Caterina', + 'Catinca', + 'Catrina', + 'Catrinel', + 'Cătălina', + 'Cecilia', + 'Celia', + 'Cerasela', + 'Cezara', + 'Cipriana', + 'Clara', + 'Clarisa', + 'Claudia', + 'Clementina', + 'Cleopatra', + 'Codrina', + 'Codruța', + 'Constantina', + 'Constanța', + 'Consuela', + 'Coralia', + 'Corina', + 'Cornelia', + 'Cosmina', + 'Crenguța', + 'Crina', + 'Cristina', + 'Daciana', + 'Dafina', + 'Daiana', + 'Dalia', + 'Dana', + 'Daniela', + 'Daria', + 'Dariana', + 'Delia', + 'Demetra', + 'Denisa', + 'Despina', + 'Diana', + 'Dida', + 'Didina', + 'Dimitrina', + 'Dina', + 'Dochia', + 'Doina', + 'Domnica', + 'Dora', + 'Doriana', + 'Dorina', + 'Dorli', + 'Draga', + 'Dumitra', + 'Dumitrana', + 'Ecaterina', + 'Eftimia', + 'Elena', + 'Eleonora', + 'Eliana', + 'Elisabeta', + 'Elisaveta', + 'Eliza', + 'Elodia', + 'Elvira', + 'Emilia', + 'Emanuela', + 'Erica', + 'Estera', + 'Eufrosina', + 'Eugenia', + 'Eusebia', + 'Eva', + 'Evanghelina', + 'Evelina', + 'Fabia', + 'Fabiana', + 'Felicia', + 'Filofteia', + 'Fiona', + 'Flavia', + 'Floare', + 'Floarea', + 'Flora', + 'Floriana', + 'Florica', + 'Florina', + 'Florentina', + 'Florența', + 'Francesca', + 'Frusina', + 'Gabriela', + 'Geanina', + 'Gențiana', + 'Georgeta', + 'Georgia', + 'Georgiana', + 'Geta', + 'Gherghina', + 'Gianina', + 'Gina', + 'Giorgiana', + 'Grațiana', + 'Grațiela', + 'Hortensia', + 'Henrieta', + 'Heracleea', + 'Iasmina', + 'Ica', + 'Ileana', + 'Ilinca', + 'Ilona', + 'Ina', + 'Ioana', + 'Ioanina', + 'Iolanda', + 'Ionela', + 'Ionelia', + 'Iosefina', + 'Irina', + 'Iridenta', + 'Iris', + 'Isabela', + 'Iulia', + 'Iuliana', + 'Iustina', + 'Ivona', + 'Izabela', + 'Jana', + 'Janeta', + 'Janina', + 'Jasmina', + 'Jeana', + 'Julia', + 'Julieta', + 'Larisa', + 'Laura', + 'Laurenția', + 'Lavinia', + 'Lăcrămioara', + 'Leana', + 'Lelia', + 'Leontina', + 'Leopoldina', + 'Letiția', + 'Lia', + 'Liana', + 'Lidia', + 'Ligia', + 'Lili', + 'Liliana', + 'Lioara', + 'Livia', + 'Loredana', + 'Lorelei', + 'Lorena', + 'Luana', + 'Lucia', + 'Luciana', + 'Lucreția', + 'Ludovica', + 'Ludmila', + 'Luiza', + 'Luminița', + 'Magdalena', + 'Maia', + 'Manuela', + 'Mara', + 'Marcela', + 'Marga', + 'Margareta', + 'Marcheta', + 'Maria', + 'Mariana', + 'Maricica', + 'Marilena', + 'Marina', + 'Marinela', + 'Marioara', + 'Marta', + 'Matilda', + 'Malvina', + 'Mădălina', + 'Mălina', + 'Mărioara', + 'Măriuca', + 'Melania', + 'Melina', + 'Mihaela', + 'Milena', + 'Mina', + 'Minodora', + 'Mioara', + 'Mirabela', + 'Mirela', + 'Mirona', + 'Miruna', + 'Mona', + 'Monalisa', + 'Monica', + 'Nadia', + 'Narcisa', + 'Natalia', + 'Natașa', + 'Noemi', + 'Nicoleta', + 'Niculina', + 'Nidia', + 'Nora', + 'Norica', + 'Oana', + 'Octavia', + 'Octaviana', + 'Ofelia', + 'Olga', + 'Olimpia', + 'Olivia', + 'Ortansa', + 'Otilia', + 'Ozana', + 'Pamela', + 'Paraschiva', + 'Paula', + 'Paulica', + 'Paulina', + 'Patricia', + 'Petronela', + 'Petruța', + 'Pompilia', + 'Profira', + 'Rada', + 'Rafila', + 'Raluca', + 'Ramona', + 'Rebeca', + 'Renata', + 'Rica', + 'Roberta', + 'Robertina', + 'Rodica', + 'Romanița', + 'Romina', + 'Roza', + 'Rozalia', + 'Roxana', + 'Roxelana', + 'Ruxanda', + 'Ruxandra', + 'Sabina', + 'Sabrina', + 'Safta', + 'Salomea', + 'Sanda', + 'Saveta', + 'Savina', + 'Sânziana', + 'Semenica', + 'Severina', + 'Sidonia', + 'Silvia', + 'Silvana', + 'Silviana', + 'Simina', + 'Simona', + 'Smaranda', + 'Sofia', + 'Sonia', + 'Sorana', + 'Sorina', + 'Speranța', + 'Stana', + 'Stanca', + 'Stela', + 'Steliana', + 'Steluța', + 'Suzana', + 'Svetlana', + 'Ștefana', + 'Ștefania', + 'Tamara', + 'Tania', + 'Tatiana', + 'Teea', + 'Teodora', + 'Teodosia', + 'Teona', + 'Tiberia', + 'Timea', + 'Tinca', + 'Tincuța', + 'Tudora', + 'Tudorița', + 'Tudosia', + 'Valentina', + 'Valeria', + 'Vanesa', + 'Varvara', + 'Vasilica', + 'Venera', + 'Vera', + 'Veronica', + 'Veta', + 'Vicenția', + 'Victoria', + 'Violeta', + 'Viorela', + 'Viorica', + 'Virginia', + 'Viviana', + 'Voichița', + 'Xenia', + 'Zaharia', + 'Zamfira', + 'Zaraza', + 'Zenobia', + 'Zenovia', + 'Zina', + 'Zoe', + ]; - //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine - protected static $firstNameMale = [ - 'Achim', 'Adam', 'Adelin', 'Adonis', 'Adrian', 'Adi', 'Agnos', 'Albert', 'Alex', 'Alexandru', 'Alexe', 'Aleodor', 'Alin', 'Alistar', 'Amedeu', 'Amza', 'Anatolie', 'Andrei', 'Angel', 'Anghel', 'Antim', - 'Anton', 'Antonie', 'Antoniu', 'Arian', 'Aristide', 'Arsenie', 'Augustin', 'Aurel', 'Aurelian', 'Aurică', 'Avram', 'Axinte', 'Barbu', 'Bartolomeu', 'Basarab', 'Bănel', 'Bebe', 'Beniamin', 'Benone', - 'Bernard', 'Bogdan', 'Brăduț', 'Bucur', 'Caius', 'Camil', 'Cantemir', 'Carol', 'Casian', 'Cazimir', 'Călin', 'Cătălin', 'Cedrin', 'Cezar', 'Ciprian', 'Claudiu', 'Codin', 'Codrin', 'Codruț', 'Cornel', - 'Corneliu', 'Corvin', 'Constantin', 'Cosmin', 'Costache', 'Costel', 'Costin', 'Crin', 'Cristea', 'Cristian', 'Cristobal', 'Cristofor', 'Dacian', 'Damian', 'Dan', 'Daniel', 'Darius', 'David', - 'Decebal', 'Denis', 'Dinu', 'Dominic', 'Dorel', 'Dorian', 'Dorin', 'Dorinel', 'Doru', 'Dragoș', 'Ducu', 'Dumitru', 'Edgar', 'Edmond', 'Eduard', 'Eftimie', 'Emil', 'Emilian', 'Emanoil', 'Emanuel', - 'Emanuil', 'Eremia', 'Eric', 'Ernest', 'Eugen', 'Eusebiu', 'Eustațiu', 'Fabian', 'Felix', 'Filip', 'Fiodor', 'Flaviu', 'Florea', 'Florentin', 'Florian', 'Florin', 'Francisc', 'Frederic', - 'Gabi', 'Gabriel', 'Gelu', 'George', 'Georgel', 'Georgian', 'Ghenadie', 'Gheorghe', 'Gheorghiță', 'Ghiță', 'Gică', 'Gicu', 'Giorgian', 'Grațian', 'Gregorian', 'Grigore', - 'Haralamb', 'Haralambie', 'Horațiu', 'Horea', 'Horia', 'Iacob', 'Iancu', 'Ianis', 'Ieremia', 'Ilarie', 'Ilarion', 'Ilie', 'Inocențiu', 'Ioan', 'Ion', 'Ionel', 'Ionică', 'Ionuț', 'Iosif', 'Irinel', - 'Iulian', 'Iuliu', 'Iurie', 'Iustin', 'Iustinian', 'Ivan', 'Jan', 'Jean', 'Jenel', 'Ladislau', 'Lascăr', 'Laurențiu', 'Laurian', 'Lazăr', 'Leonard', 'Leontin', 'Lică', 'Liviu', 'Lorin', 'Luca', - 'Lucențiu', 'Lucian', 'Lucrețiu', 'Ludovic', 'Manole', 'Marcel', 'Marcu', 'Marian', 'Marin', 'Marius', 'Martin', 'Matei', 'Maxim', 'Maximilian', 'Mădălin', 'Mihai', 'Mihail', 'Mihnea', 'Mircea', - 'Miron', 'Mitică', 'Mitruț', 'Mugur', 'Mugurel', 'Nae', 'Narcis', 'Nechifor', 'Nelu', 'Nichifor', 'Nicoară', 'Nicodim', 'Nicolae', 'Nicolaie', 'Nicu', 'Nicuță', 'Niculiță', 'Nicușor', 'Norbert', - 'Norman', 'Octav', 'Octavian', 'Octaviu', 'Olimpian', 'Olimpiu', 'Oliviu', 'Ovidiu', 'Pamfil', 'Panait', 'Panagachie', 'Paul', 'Pavel', 'Pătru', 'Petre', 'Petrică', 'Petrișor', 'Petru', 'Petruț', - 'Pompiliu', 'Radu', 'Rafael', 'Rareș', 'Raul', 'Răducu', 'Răzvan', 'Relu', 'Remus', 'Robert', 'Romeo', 'Romulus', 'Sabin', 'Sandu', 'Sava', 'Sebastian', 'Sergiu', 'Sever', 'Severin', 'Silvian', - 'Silviu', 'Simi', 'Simion', 'Sinică', 'Sorin', 'Stan', 'Stancu', 'Stelian', 'Sandu', 'Șerban', 'Ștefan', 'Teodor', 'Teofil', 'Teohari', 'Theodor', 'Tiberiu', 'Timotei', 'Titus', 'Todor', 'Toma', - 'Traian', 'Tudor', 'Valentin', 'Valeriu', 'Valter', 'Vasile', 'Vasilică', 'Veniamin', 'Vicențiu', 'Victor', 'Vincențiu', 'Viorel', 'Visarion', 'Vlad', 'Vladimir', 'Vlaicu', 'Voicu', 'Zamfir', 'Zeno', - ]; + //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine + protected static $firstNameMale = [ + 'Achim', + 'Adam', + 'Adelin', + 'Adonis', + 'Adrian', + 'Adi', + 'Agnos', + 'Albert', + 'Alex', + 'Alexandru', + 'Alexe', + 'Aleodor', + 'Alin', + 'Alistar', + 'Amedeu', + 'Amza', + 'Anatolie', + 'Andrei', + 'Angel', + 'Anghel', + 'Antim', + 'Anton', + 'Antonie', + 'Antoniu', + 'Arian', + 'Aristide', + 'Arsenie', + 'Augustin', + 'Aurel', + 'Aurelian', + 'Aurică', + 'Avram', + 'Axinte', + 'Barbu', + 'Bartolomeu', + 'Basarab', + 'Bănel', + 'Bebe', + 'Beniamin', + 'Benone', + 'Bernard', + 'Bogdan', + 'Brăduț', + 'Bucur', + 'Caius', + 'Camil', + 'Cantemir', + 'Carol', + 'Casian', + 'Cazimir', + 'Călin', + 'Cătălin', + 'Cedrin', + 'Cezar', + 'Ciprian', + 'Claudiu', + 'Codin', + 'Codrin', + 'Codruț', + 'Cornel', + 'Corneliu', + 'Corvin', + 'Constantin', + 'Cosmin', + 'Costache', + 'Costel', + 'Costin', + 'Crin', + 'Cristea', + 'Cristian', + 'Cristobal', + 'Cristofor', + 'Dacian', + 'Damian', + 'Dan', + 'Daniel', + 'Darius', + 'David', + 'Decebal', + 'Denis', + 'Dinu', + 'Dominic', + 'Dorel', + 'Dorian', + 'Dorin', + 'Dorinel', + 'Doru', + 'Dragoș', + 'Ducu', + 'Dumitru', + 'Edgar', + 'Edmond', + 'Eduard', + 'Eftimie', + 'Emil', + 'Emilian', + 'Emanoil', + 'Emanuel', + 'Emanuil', + 'Eremia', + 'Eric', + 'Ernest', + 'Eugen', + 'Eusebiu', + 'Eustațiu', + 'Fabian', + 'Felix', + 'Filip', + 'Fiodor', + 'Flaviu', + 'Florea', + 'Florentin', + 'Florian', + 'Florin', + 'Francisc', + 'Frederic', + 'Gabi', + 'Gabriel', + 'Gelu', + 'George', + 'Georgel', + 'Georgian', + 'Ghenadie', + 'Gheorghe', + 'Gheorghiță', + 'Ghiță', + 'Gică', + 'Gicu', + 'Giorgian', + 'Grațian', + 'Gregorian', + 'Grigore', + 'Haralamb', + 'Haralambie', + 'Horațiu', + 'Horea', + 'Horia', + 'Iacob', + 'Iancu', + 'Ianis', + 'Ieremia', + 'Ilarie', + 'Ilarion', + 'Ilie', + 'Inocențiu', + 'Ioan', + 'Ion', + 'Ionel', + 'Ionică', + 'Ionuț', + 'Iosif', + 'Irinel', + 'Iulian', + 'Iuliu', + 'Iurie', + 'Iustin', + 'Iustinian', + 'Ivan', + 'Jan', + 'Jean', + 'Jenel', + 'Ladislau', + 'Lascăr', + 'Laurențiu', + 'Laurian', + 'Lazăr', + 'Leonard', + 'Leontin', + 'Lică', + 'Liviu', + 'Lorin', + 'Luca', + 'Lucențiu', + 'Lucian', + 'Lucrețiu', + 'Ludovic', + 'Manole', + 'Marcel', + 'Marcu', + 'Marian', + 'Marin', + 'Marius', + 'Martin', + 'Matei', + 'Maxim', + 'Maximilian', + 'Mădălin', + 'Mihai', + 'Mihail', + 'Mihnea', + 'Mircea', + 'Miron', + 'Mitică', + 'Mitruț', + 'Mugur', + 'Mugurel', + 'Nae', + 'Narcis', + 'Nechifor', + 'Nelu', + 'Nichifor', + 'Nicoară', + 'Nicodim', + 'Nicolae', + 'Nicolaie', + 'Nicu', + 'Nicuță', + 'Niculiță', + 'Nicușor', + 'Norbert', + 'Norman', + 'Octav', + 'Octavian', + 'Octaviu', + 'Olimpian', + 'Olimpiu', + 'Oliviu', + 'Ovidiu', + 'Pamfil', + 'Panait', + 'Panagachie', + 'Paul', + 'Pavel', + 'Pătru', + 'Petre', + 'Petrică', + 'Petrișor', + 'Petru', + 'Petruț', + 'Pompiliu', + 'Radu', + 'Rafael', + 'Rareș', + 'Raul', + 'Răducu', + 'Răzvan', + 'Relu', + 'Remus', + 'Robert', + 'Romeo', + 'Romulus', + 'Sabin', + 'Sandu', + 'Sava', + 'Sebastian', + 'Sergiu', + 'Sever', + 'Severin', + 'Silvian', + 'Silviu', + 'Simi', + 'Simion', + 'Sinică', + 'Sorin', + 'Stan', + 'Stancu', + 'Stelian', + 'Sandu', + 'Șerban', + 'Ștefan', + 'Teodor', + 'Teofil', + 'Teohari', + 'Theodor', + 'Tiberiu', + 'Timotei', + 'Titus', + 'Todor', + 'Toma', + 'Traian', + 'Tudor', + 'Valentin', + 'Valeriu', + 'Valter', + 'Vasile', + 'Vasilică', + 'Veniamin', + 'Vicențiu', + 'Victor', + 'Vincențiu', + 'Viorel', + 'Visarion', + 'Vlad', + 'Vladimir', + 'Vlaicu', + 'Voicu', + 'Zamfir', + 'Zeno', + ]; - //courtesy of Florin LIPAN, at nume.ottomotor.ro - protected static $lastName = [ - 'Achim', 'Adam', 'Albu', 'Aldea', 'Alexa', 'Alexandrescu', 'Alexandru', 'Alexe', 'Andrei', 'Anghel', 'Antal', 'Anton', 'Apostol', 'Ardelean', 'Ardeleanu', 'Avram', - 'Baciu', 'Badea', 'Balan', 'Balint', 'Banica', 'Banu', 'Barbu', 'Barbulescu', 'Bejan', 'Biro', 'Blaga', 'Boboc', 'Bodea', 'Bogdan', 'Bota', 'Botezatu', 'Bratu', 'Bucur', 'Buda', 'Bunea', 'Burlacu', - 'Calin', 'Catana', 'Cazacu', 'Chiriac', 'Chirila', 'Chirita', 'Chis', 'Chivu', 'Ciobanu', 'Ciocan', 'Cojocaru', 'Coman', 'Constantin', 'Constantinescu', 'Cornea', 'Cosma', 'Costache', - 'Costea', 'Costin', 'Covaci', 'Cozma', 'Craciun', 'Cretu', 'Crisan', 'Cristea', 'Cristescu', 'Croitoru', 'Cucu', - 'Damian', 'Dan', 'Danciu', 'Danila', 'Dascalu', 'David', 'Diaconescu', 'Diaconu', 'Dima', 'Dinca', 'Dinu', 'Dobre', 'Dobrescu', 'Dogaru', 'Dragan', 'Draghici', - 'Dragoi', 'Dragomir', 'Dumitrache', 'Dumitrascu', 'Dumitrescu', 'Dumitriu', 'Dumitru', 'Duta', - 'Enache', 'Ene', 'Farcas', 'Filimon', 'Filip', 'Florea', 'Florescu', 'Fodor', 'Fratila', - 'Gabor', 'Gal', 'Ganea', 'Gavrila', 'Georgescu', 'Gheorghe', 'Gheorghita', 'Gheorghiu', 'Gherman', 'Ghita', 'Giurgiu', 'Grecu', 'Grigoras', 'Grigore', 'Grigorescu', 'Grosu', 'Groza', - 'Horvath', 'Iacob', 'Iancu', 'Ichim', 'Ignat', 'Ilie', 'Iliescu', 'Ion', 'Ionescu', 'Ionita', 'Iordache', 'Iorga', 'Iosif', 'Irimia', 'Ispas', 'Istrate', 'Ivan', 'Ivascu', - 'Kiss', 'Kovacs', 'Lazar', 'Luca', 'Lungu', 'Lupu', 'Macovei', 'Maftei', 'Man', 'Manea', 'Manolache', 'Manole', 'Marcu', 'Marginean', 'Marian', 'Marin', 'Marinescu', 'Martin', 'Mateescu', - 'Matei', 'Maxim', 'Mazilu', 'Micu', 'Mihai', 'Mihaila', 'Mihailescu', 'Mihalache', 'Mihalcea', 'Milea', 'Militaru', 'Mircea', 'Mirea', 'Miron', 'Miu', 'Mocanu', 'Moga', 'Moise', 'Moldovan', - 'Moldoveanu', 'Molnar', 'Morar', 'Moraru', 'Muntean', 'Munteanu', 'Muresan', 'Musat', 'Nagy', 'Nastase', 'Neacsu', 'Neagoe', 'Neagu', 'Neamtu', 'Nechita', 'Necula', 'Nedelcu', - 'Negoita', 'Negrea', 'Negru', 'Nemes', 'Nica', 'Nicoara', 'Nicolae', 'Nicolescu', 'Niculae', 'Niculescu', 'Nistor', 'Nita', 'Nitu', - 'Oancea', 'Olariu', 'Olaru', 'Oltean', 'Olteanu', 'Oprea', 'Opris', 'Paduraru', 'Pana', 'Panait', 'Paraschiv', 'Parvu', 'Pasca', 'Pascu', 'Patrascu', 'Paun', 'Pavel', 'Petcu', 'Peter', - 'Petre', 'Petrea', 'Petrescu', 'Pintea', 'Pintilie', 'Pirvu', 'Pop', 'Popa', 'Popescu', 'Popovici', 'Preda', 'Prodan', 'Puiu', 'Radoi', 'Radu', 'Radulescu', 'Roman', 'Rosca', 'Rosu', - 'Rotaru', 'Rus', 'Rusu', 'Sabau', 'Sandor', 'Sandu', 'Sarbu', 'Sava', 'Savu', 'Serban', 'Sima', 'Simion', 'Simionescu', 'Simon', 'Sirbu', 'Soare', 'Solomon', 'Staicu', 'Stan', - 'Stanciu', 'Stancu', 'Stanescu', 'Stefan', 'Stefanescu', 'Stoian', 'Stoica', 'Stroe', 'Suciu', 'Szabo', 'Szasz', 'Szekely', 'Tamas', 'Tanase', 'Tataru', 'Teodorescu', 'Toader', - 'Toma', 'Tomescu', 'Toth', 'Trandafir', 'Trif', 'Trifan', 'Tudor', 'Tudorache', 'Tudose', 'Turcu', 'Ungureanu', 'Ursu', 'Vaduva', 'Varga', 'Vasile', 'Vasilescu', 'Vasiliu', 'Veres', - 'Vintila', 'Visan', 'Vlad', 'Voicu', 'Voinea', 'Zaharia', 'Zamfir', - ]; + //courtesy of Florin LIPAN, at nume.ottomotor.ro + protected static $lastName = [ + 'Achim', + 'Adam', + 'Albu', + 'Aldea', + 'Alexa', + 'Alexandrescu', + 'Alexandru', + 'Alexe', + 'Andrei', + 'Anghel', + 'Antal', + 'Anton', + 'Apostol', + 'Ardelean', + 'Ardeleanu', + 'Avram', + 'Baciu', + 'Badea', + 'Balan', + 'Balint', + 'Banica', + 'Banu', + 'Barbu', + 'Barbulescu', + 'Bejan', + 'Biro', + 'Blaga', + 'Boboc', + 'Bodea', + 'Bogdan', + 'Bota', + 'Botezatu', + 'Bratu', + 'Bucur', + 'Buda', + 'Bunea', + 'Burlacu', + 'Calin', + 'Catana', + 'Cazacu', + 'Chiriac', + 'Chirila', + 'Chirita', + 'Chis', + 'Chivu', + 'Ciobanu', + 'Ciocan', + 'Cojocaru', + 'Coman', + 'Constantin', + 'Constantinescu', + 'Cornea', + 'Cosma', + 'Costache', + 'Costea', + 'Costin', + 'Covaci', + 'Cozma', + 'Craciun', + 'Cretu', + 'Crisan', + 'Cristea', + 'Cristescu', + 'Croitoru', + 'Cucu', + 'Damian', + 'Dan', + 'Danciu', + 'Danila', + 'Dascalu', + 'David', + 'Diaconescu', + 'Diaconu', + 'Dima', + 'Dinca', + 'Dinu', + 'Dobre', + 'Dobrescu', + 'Dogaru', + 'Dragan', + 'Draghici', + 'Dragoi', + 'Dragomir', + 'Dumitrache', + 'Dumitrascu', + 'Dumitrescu', + 'Dumitriu', + 'Dumitru', + 'Duta', + 'Enache', + 'Ene', + 'Farcas', + 'Filimon', + 'Filip', + 'Florea', + 'Florescu', + 'Fodor', + 'Fratila', + 'Gabor', + 'Gal', + 'Ganea', + 'Gavrila', + 'Georgescu', + 'Gheorghe', + 'Gheorghita', + 'Gheorghiu', + 'Gherman', + 'Ghita', + 'Giurgiu', + 'Grecu', + 'Grigoras', + 'Grigore', + 'Grigorescu', + 'Grosu', + 'Groza', + 'Horvath', + 'Iacob', + 'Iancu', + 'Ichim', + 'Ignat', + 'Ilie', + 'Iliescu', + 'Ion', + 'Ionescu', + 'Ionita', + 'Iordache', + 'Iorga', + 'Iosif', + 'Irimia', + 'Ispas', + 'Istrate', + 'Ivan', + 'Ivascu', + 'Kiss', + 'Kovacs', + 'Lazar', + 'Luca', + 'Lungu', + 'Lupu', + 'Macovei', + 'Maftei', + 'Man', + 'Manea', + 'Manolache', + 'Manole', + 'Marcu', + 'Marginean', + 'Marian', + 'Marin', + 'Marinescu', + 'Martin', + 'Mateescu', + 'Matei', + 'Maxim', + 'Mazilu', + 'Micu', + 'Mihai', + 'Mihaila', + 'Mihailescu', + 'Mihalache', + 'Mihalcea', + 'Milea', + 'Militaru', + 'Mircea', + 'Mirea', + 'Miron', + 'Miu', + 'Mocanu', + 'Moga', + 'Moise', + 'Moldovan', + 'Moldoveanu', + 'Molnar', + 'Morar', + 'Moraru', + 'Muntean', + 'Munteanu', + 'Muresan', + 'Musat', + 'Nagy', + 'Nastase', + 'Neacsu', + 'Neagoe', + 'Neagu', + 'Neamtu', + 'Nechita', + 'Necula', + 'Nedelcu', + 'Negoita', + 'Negrea', + 'Negru', + 'Nemes', + 'Nica', + 'Nicoara', + 'Nicolae', + 'Nicolescu', + 'Niculae', + 'Niculescu', + 'Nistor', + 'Nita', + 'Nitu', + 'Oancea', + 'Olariu', + 'Olaru', + 'Oltean', + 'Olteanu', + 'Oprea', + 'Opris', + 'Paduraru', + 'Pana', + 'Panait', + 'Paraschiv', + 'Parvu', + 'Pasca', + 'Pascu', + 'Patrascu', + 'Paun', + 'Pavel', + 'Petcu', + 'Peter', + 'Petre', + 'Petrea', + 'Petrescu', + 'Pintea', + 'Pintilie', + 'Pirvu', + 'Pop', + 'Popa', + 'Popescu', + 'Popovici', + 'Preda', + 'Prodan', + 'Puiu', + 'Radoi', + 'Radu', + 'Radulescu', + 'Roman', + 'Rosca', + 'Rosu', + 'Rotaru', + 'Rus', + 'Rusu', + 'Sabau', + 'Sandor', + 'Sandu', + 'Sarbu', + 'Sava', + 'Savu', + 'Serban', + 'Sima', + 'Simion', + 'Simionescu', + 'Simon', + 'Sirbu', + 'Soare', + 'Solomon', + 'Staicu', + 'Stan', + 'Stanciu', + 'Stancu', + 'Stanescu', + 'Stefan', + 'Stefanescu', + 'Stoian', + 'Stoica', + 'Stroe', + 'Suciu', + 'Szabo', + 'Szasz', + 'Szekely', + 'Tamas', + 'Tanase', + 'Tataru', + 'Teodorescu', + 'Toader', + 'Toma', + 'Tomescu', + 'Toth', + 'Trandafir', + 'Trif', + 'Trifan', + 'Tudor', + 'Tudorache', + 'Tudose', + 'Turcu', + 'Ungureanu', + 'Ursu', + 'Vaduva', + 'Varga', + 'Vasile', + 'Vasilescu', + 'Vasiliu', + 'Veres', + 'Vintila', + 'Visan', + 'Vlad', + 'Voicu', + 'Voinea', + 'Zaharia', + 'Zamfir', + ]; - protected static $titleMale = ['dl.', 'ing.', 'dr.']; - protected static $titleFemale = ['d-na.', 'd-șoara', 'ing.', 'dr.']; + protected static $titleMale = [ 'dl.', 'ing.', 'dr.' ]; + protected static $titleFemale = [ 'd-na.', 'd-șoara', 'ing.', 'dr.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/PhoneNumber.php index 0c01463..ee2b925 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/PhoneNumber.php @@ -2,32 +2,31 @@ namespace Faker\Provider\ro_MD; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - 'a## # ## ##', - '(022) ### ###', - '+373 60 ### ###', - '+373 65 0## ###', - '+373 67 ### ###', - '+373 68 ### ###', - '+373 69 ### ###', - '+373 78 ### ###', - '+373 79 ### ###', - '+373 77 4## ###', - '+373 77 7## ###', - '+373 77 8## ###', - '+373 77 9## ###', - '(373) 60 ### ###', - '(373) 65 0## ###', - '(373) 67 ### ###', - '(373) 68 ### ###', - '(373) 69 ### ###', - '(373) 78 ### ###', - '(373) 79 ### ###', - '(373) 77 4## ###', - '(373) 77 7## ###', - '(373) 77 8## ###', - '(373) 77 9## ###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + 'a## # ## ##', + '(022) ### ###', + '+373 60 ### ###', + '+373 65 0## ###', + '+373 67 ### ###', + '+373 68 ### ###', + '+373 69 ### ###', + '+373 78 ### ###', + '+373 79 ### ###', + '+373 77 4## ###', + '+373 77 7## ###', + '+373 77 8## ###', + '+373 77 9## ###', + '(373) 60 ### ###', + '(373) 65 0## ###', + '(373) 67 ### ###', + '(373) 68 ### ###', + '(373) 69 ### ###', + '(373) 78 ### ###', + '(373) 79 ### ###', + '(373) 77 4## ###', + '(373) 77 7## ###', + '(373) 77 8## ###', + '(373) 77 9## ###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Text.php index 39e0f64..dfc869a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_MD/Text.php @@ -2,31 +2,30 @@ namespace Faker\Provider\ro_MD; -class Text extends \Faker\Provider\Text -{ - /** - * From ro.wikisource.org - * - * Acest text este disponibil sub licența Creative Commons cu atribuire - * și distribuire în condiții identice; pot exista și clauze suplimentare. - * Vedeți detalii la Termenii de utilizare. - * - * - * Title: Povestea lui Harap-Alb - * - * Author: Ion Creangă - * - * Posting Date: February 6, 2005 - * [Last updated: December 13, 2016] - * - * Language: Romanian - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see https://ro.wikisource.org/wiki/Povestea_lui_Harap-Alb - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * From ro.wikisource.org + * + * Acest text este disponibil sub licența Creative Commons cu atribuire + * și distribuire în condiții identice; pot exista și clauze suplimentare. + * Vedeți detalii la Termenii de utilizare. + * + * + * Title: Povestea lui Harap-Alb + * + * Author: Ion Creangă + * + * Posting Date: February 6, 2005 + * [Last updated: December 13, 2016] + * + * Language: Romanian + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see https://ro.wikisource.org/wiki/Povestea_lui_Harap-Alb + * + * @var string + */ + protected static $baseText = <<<'EOT' Amu cică era odată într-o țară un crai, care avea trei feciori. Și craiul acela mai avea un frate mai mare, care era împărat într-o altă țară, mai depărtată. Și împăratul, fratele craiului, @@ -2119,347 +2118,347 @@ class Text extends \Faker\Provider\Text mănâncă, iară cine nu, se uită și rabdă. EOT; - /* - *** START: FULL LICENSE *** - - Creative Commons Legal Code - - Attribution-ShareAlike 3.0 Unported - - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR - DAMAGES RESULTING FROM ITS USE. License - - THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS - CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS - PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE - WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS - PROHIBITED. - - BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND - AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS - LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU - THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH - TERMS AND CONDITIONS. - - 1. Definitions - - "Adaptation" means a work based upon the Work, or upon the Work and - other pre-existing works, such as a translation, adaptation, - derivative work, arrangement of music or other alterations of a - literary or artistic work, or phonogram or performance and includes - cinematographic adaptations or any other form in which the Work may be - recast, transformed, or adapted including in any form recognizably - derived from the original, except that a work that constitutes a - Collection will not be considered an Adaptation for the purpose of - this License. For the avoidance of doubt, where the Work is a musical - work, performance or phonogram, the synchronization of the Work in - timed-relation with a moving image ("synching") will be considered an - Adaptation for the purpose of this License. "Collection" means a - collection of literary or artistic works, such as encyclopedias and - anthologies, or performances, phonograms or broadcasts, or other works - or subject matter other than works listed in Section 1(f) below, - which, by reason of the selection and arrangement of their contents, - constitute intellectual creations, in which the Work is included in - its entirety in unmodified form along with one or more other - contributions, each constituting separate and independent works in - themselves, which together are assembled into a collective whole. A - work that constitutes a Collection will not be considered an - Adaptation (as defined below) for the purposes of this License. - "Creative Commons Compatible License" means a license that is listed - at http://creativecommons.org/compatiblelicenses that has been - approved by Creative Commons as being essentially equivalent to this - License, including, at a minimum, because that license: (i) contains - terms that have the same purpose, meaning and effect as the License - Elements of this License; and, (ii) explicitly permits the relicensing - of adaptations of works made available under that license under this - License or a Creative Commons jurisdiction license with the same - License Elements as this License. "Distribute" means to make available - to the public the original and copies of the Work or Adaptation, as - appropriate, through sale or other transfer of ownership. "License - Elements" means the following high-level license attributes as - selected by Licensor and indicated in the title of this License: - Attribution, ShareAlike. "Licensor" means the individual, individuals, - entity or entities that offer(s) the Work under the terms of this - License. "Original Author" means, in the case of a literary or - artistic work, the individual, individuals, entity or entities who - created the Work or if no individual or entity can be identified, the - publisher; and in addition (i) in the case of a performance the - actors, singers, musicians, dancers, and other persons who act, sing, - deliver, declaim, play in, interpret or otherwise perform literary or - artistic works or expressions of folklore; (ii) in the case of a - phonogram the producer being the person or legal entity who first - fixes the sounds of a performance or other sounds; and, (iii) in the - case of broadcasts, the organization that transmits the broadcast. - "Work" means the literary and/or artistic work offered under the terms - of this License including without limitation any production in the - literary, scientific and artistic domain, whatever may be the mode or - form of its expression including digital form, such as a book, - pamphlet and other writing; a lecture, address, sermon or other work - of the same nature; a dramatic or dramatico-musical work; a - choreographic work or entertainment in dumb show; a musical - composition with or without words; a cinematographic work to which are - assimilated works expressed by a process analogous to cinematography; - a work of drawing, painting, architecture, sculpture, engraving or - lithography; a photographic work to which are assimilated works - expressed by a process analogous to photography; a work of applied - art; an illustration, map, plan, sketch or three-dimensional work - relative to geography, topography, architecture or science; a - performance; a broadcast; a phonogram; a compilation of data to the - extent it is protected as a copyrightable work; or a work performed by - a variety or circus performer to the extent it is not otherwise - considered a literary or artistic work. "You" means an individual or - entity exercising rights under this License who has not previously - violated the terms of this License with respect to the Work, or who - has received express permission from the Licensor to exercise rights - under this License despite a previous violation. "Publicly Perform" - means to perform public recitations of the Work and to communicate to - the public those public recitations, by any means or process, - including by wire or wireless means or public digital performances; to - make available to the public Works in such a way that members of the - public may access these Works from a place and at a place individually - chosen by them; to perform the Work to the public by any means or - process and the communication to the public of the performances of the - Work, including by public digital performance; to broadcast and - rebroadcast the Work by any means including signs, sounds or images. - "Reproduce" means to make copies of the Work by any means including - without limitation by sound or visual recordings and the right of - fixation and reproducing fixations of the Work, including storage of a - protected performance or phonogram in digital form or other electronic - medium. 2. Fair Dealing Rights. Nothing in this License is intended to - reduce, limit, or restrict any uses free from copyright or rights - arising from limitations or exceptions that are provided for in - connection with the copyright protection under copyright law or other - applicable laws. - - 3. License Grant. Subject to the terms and conditions of this License, - Licensor hereby grants You a worldwide, royalty-free, non-exclusive, - perpetual (for the duration of the applicable copyright) license to - exercise the rights in the Work as stated below: - - to Reproduce the Work, to incorporate the Work into one or more - Collections, and to Reproduce the Work as incorporated in the - Collections; to create and Reproduce Adaptations provided that any - such Adaptation, including any translation in any medium, takes - reasonable steps to clearly label, demarcate or otherwise identify - that changes were made to the original Work. For example, a - translation could be marked "The original work was translated from - English to Spanish," or a modification could indicate "The original - work has been modified."; to Distribute and Publicly Perform the Work - including as incorporated in Collections; and, to Distribute and - Publicly Perform Adaptations. For the avoidance of doubt: - - Non-waivable Compulsory License Schemes. In those jurisdictions in - which the right to collect royalties through any statutory or - compulsory licensing scheme cannot be waived, the Licensor reserves - the exclusive right to collect such royalties for any exercise by You - of the rights granted under this License; Waivable Compulsory License - Schemes. In those jurisdictions in which the right to collect - royalties through any statutory or compulsory licensing scheme can be - waived, the Licensor waives the exclusive right to collect such - royalties for any exercise by You of the rights granted under this - License; and, Voluntary License Schemes. The Licensor waives the right - to collect royalties, whether individually or, in the event that the - Licensor is a member of a collecting society that administers - voluntary licensing schemes, via that society, from any exercise by - You of the rights granted under this License. The above rights may be - exercised in all media and formats whether now known or hereafter - devised. The above rights include the right to make such modifications - as are technically necessary to exercise the rights in other media and - formats. Subject to Section 8(f), all rights not expressly granted by - Licensor are hereby reserved. - - 4. Restrictions. The license granted in Section 3 above is expressly - made subject to and limited by the following restrictions: - - You may Distribute or Publicly Perform the Work only under the terms - of this License. You must include a copy of, or the Uniform Resource - Identifier (URI) for, this License with every copy of the Work You - Distribute or Publicly Perform. You may not offer or impose any terms - on the Work that restrict the terms of this License or the ability of - the recipient of the Work to exercise the rights granted to that - recipient under the terms of the License. You may not sublicense the - Work. You must keep intact all notices that refer to this License and - to the disclaimer of warranties with every copy of the Work You - Distribute or Publicly Perform. When You Distribute or Publicly - Perform the Work, You may not impose any effective technological - measures on the Work that restrict the ability of a recipient of the - Work from You to exercise the rights granted to that recipient under - the terms of the License. This Section 4(a) applies to the Work as - incorporated in a Collection, but this does not require the Collection - apart from the Work itself to be made subject to the terms of this - License. If You create a Collection, upon notice from any Licensor You - must, to the extent practicable, remove from the Collection any credit - as required by Section 4(c), as requested. If You create an - Adaptation, upon notice from any Licensor You must, to the extent - practicable, remove from the Adaptation any credit as required by - Section 4(c), as requested. You may Distribute or Publicly Perform an - Adaptation only under the terms of: (i) this License; (ii) a later - version of this License with the same License Elements as this - License; (iii) a Creative Commons jurisdiction license (either this or - a later license version) that contains the same License Elements as - this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative - Commons Compatible License. If you license the Adaptation under one of - the licenses mentioned in (iv), you must comply with the terms of that - license. If you license the Adaptation under the terms of any of the - licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), - you must comply with the terms of the Applicable License generally and - the following provisions: (I) You must include a copy of, or the URI - for, the Applicable License with every copy of each Adaptation You - Distribute or Publicly Perform; (II) You may not offer or impose any - terms on the Adaptation that restrict the terms of the Applicable - License or the ability of the recipient of the Adaptation to exercise - the rights granted to that recipient under the terms of the Applicable - License; (III) You must keep intact all notices that refer to the - Applicable License and to the disclaimer of warranties with every copy - of the Work as included in the Adaptation You Distribute or Publicly - Perform; (IV) when You Distribute or Publicly Perform the Adaptation, - You may not impose any effective technological measures on the - Adaptation that restrict the ability of a recipient of the Adaptation - from You to exercise the rights granted to that recipient under the - terms of the Applicable License. This Section 4(b) applies to the - Adaptation as incorporated in a Collection, but this does not require - the Collection apart from the Adaptation itself to be made subject to - the terms of the Applicable License. If You Distribute, or Publicly - Perform the Work or any Adaptations or Collections, You must, unless a - request has been made pursuant to Section 4(a), keep intact all - copyright notices for the Work and provide, reasonable to the medium - or means You are utilizing: (i) the name of the Original Author (or - pseudonym, if applicable) if supplied, and/or if the Original Author - and/or Licensor designate another party or parties (e.g., a sponsor - institute, publishing entity, journal) for attribution ("Attribution - Parties") in Licensor's copyright notice, terms of service or by other - reasonable means, the name of such party or parties; (ii) the title of - the Work if supplied; (iii) to the extent reasonably practicable, the - URI, if any, that Licensor specifies to be associated with the Work, - unless such URI does not refer to the copyright notice or licensing - information for the Work; and (iv) , consistent with Ssection 3(b), in - the case of an Adaptation, a credit identifying the use of the Work in - the Adaptation (e.g., "French translation of the Work by Original - Author," or "Screenplay based on original Work by Original Author"). - The credit required by this Section 4(c) may be implemented in any - reasonable manner; provided, however, that in the case of a Adaptation - or Collection, at a minimum such credit will appear, if a credit for - all contributing authors of the Adaptation or Collection appears, then - as part of these credits and in a manner at least as prominent as the - credits for the other contributing authors. For the avoidance of - doubt, You may only use the credit required by this Section for the - purpose of attribution in the manner set out above and, by exercising - Your rights under this License, You may not implicitly or explicitly - assert or imply any connection with, sponsorship or endorsement by the - Original Author, Licensor and/or Attribution Parties, as appropriate, - of You or Your use of the Work, without the separate, express prior - written permission of the Original Author, Licensor and/or Attribution - Parties. Except as otherwise agreed in writing by the Licensor or as - may be otherwise permitted by applicable law, if You Reproduce, - Distribute or Publicly Perform the Work either by itself or as part of - any Adaptations or Collections, You must not distort, mutilate, modify - or take other derogatory action in relation to the Work which would be - prejudicial to the Original Author's honor or reputation. Licensor - agrees that in those jurisdictions (e.g. Japan), in which any exercise - of the right granted in Section 3(b) of this License (the right to - make Adaptations) would be deemed to be a distortion, mutilation, - modification or other derogatory action prejudicial to the Original - Author's honor and reputation, the Licensor will waive or not assert, - as appropriate, this Section, to the fullest extent permitted by the - applicable national law, to enable You to reasonably exercise Your - right under Section 3(b) of this License (right to make Adaptations) - but not otherwise. 5. Representations, Warranties and Disclaimer - - UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, - LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR - WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, - STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF - TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, - NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, - OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. - SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, - SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - - 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY - APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY - LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR - EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, - EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - 7. Termination - - This License and the rights granted hereunder will terminate - automatically upon any breach by You of the terms of this License. - Individuals or entities who have received Adaptations or Collections - from You under this License, however, will not have their licenses - terminated provided such individuals or entities remain in full - compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will - survive any termination of this License. Subject to the above terms - and conditions, the license granted here is perpetual (for the - duration of the applicable copyright in the Work). Notwithstanding the - above, Licensor reserves the right to release the Work under different - license terms or to stop distributing the Work at any time; provided, - however that any such election will not serve to withdraw this License - (or any other license that has been, or is required to be, granted - under the terms of this License), and this License will continue in - full force and effect unless terminated as stated above. 8. - Miscellaneous - - Each time You Distribute or Publicly Perform the Work or a Collection, - the Licensor offers to the recipient a license to the Work on the same - terms and conditions as the license granted to You under this License. - Each time You Distribute or Publicly Perform an Adaptation, Licensor - offers to the recipient a license to the original Work on the same - terms and conditions as the license granted to You under this License. - If any provision of this License is invalid or unenforceable under - applicable law, it shall not affect the validity or enforceability of - the remainder of the terms of this License, and without further action - by the parties to this agreement, such provision shall be reformed to - the minimum extent necessary to make such provision valid and - enforceable. No term or provision of this License shall be deemed - waived and no breach consented to unless such waiver or consent shall - be in writing and signed by the party to be charged with such waiver - or consent. This License constitutes the entire agreement between the - parties with respect to the Work licensed here. There are no - understandings, agreements or representations with respect to the Work - not specified here. Licensor shall not be bound by any additional - provisions that may appear in any communication from You. This License - may not be modified without the mutual written agreement of the - Licensor and You. The rights granted under, and the subject matter - referenced, in this License were drafted utilizing the terminology of - the Berne Convention for the Protection of Literary and Artistic Works - (as amended on September 28, 1979), the Rome Convention of 1961, the - WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms - Treaty of 1996 and the Universal Copyright Convention (as revised on - July 24, 1971). These rights and subject matter take effect in the - relevant jurisdiction in which the License terms are sought to be - enforced according to the corresponding provisions of the - implementation of those treaty provisions in the applicable national - law. If the standard suite of rights granted under applicable - copyright law includes additional rights not granted under this - License, such additional rights are deemed to be included in the - License; this License is not intended to restrict the license of any - rights under applicable law. Creative Commons Notice - - Creative Commons is not a party to this License, and makes no warranty - whatsoever in connection with the Work. Creative Commons will not be - liable to You or any party on any legal theory for any damages - whatsoever, including without limitation any general, special, - incidental or consequential damages arising in connection to this - license. Notwithstanding the foregoing two (2) sentences, if Creative - Commons has expressly identified itself as the Licensor hereunder, it - shall have all rights and obligations of Licensor. - - Except for the limited purpose of indicating to the public that the - Work is licensed under the CCPL, Creative Commons does not authorize - the use by either party of the trademark "Creative Commons" or any - related trademark or logo of Creative Commons without the prior - written consent of Creative Commons. Any permitted use will be in - compliance with Creative Commons' then-current trademark usage - guidelines, as may be published on its website or otherwise made - available upon request from time to time. For the avoidance of doubt, - this trademark restriction does not form part of the License. - - Creative Commons may be contacted at http://creativecommons.org/. - */ + /* + *** START: FULL LICENSE *** + + Creative Commons Legal Code + + Attribution-ShareAlike 3.0 Unported + + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. License + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. "Collection" means a + collection of literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, or other works + or subject matter other than works listed in Section 1(f) below, + which, by reason of the selection and arrangement of their contents, + constitute intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this License. + "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been + approved by Creative Commons as being essentially equivalent to this + License, including, at a minimum, because that license: (i) contains + terms that have the same purpose, meaning and effect as the License + Elements of this License; and, (ii) explicitly permits the relicensing + of adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same + License Elements as this License. "Distribute" means to make available + to the public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. "License + Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a performance the + actors, singers, musicians, dancers, and other persons who act, sing, + deliver, declaim, play in, interpret or otherwise perform literary or + artistic works or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, (iii) in the + case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. "You" means an individual or + entity exercising rights under this License who has not previously + violated the terms of this License with respect to the Work, or who + has received express permission from the Licensor to exercise rights + under this License despite a previous violation. "Publicly Perform" + means to perform public recitations of the Work and to communicate to + the public those public recitations, by any means or process, + including by wire or wireless means or public digital performances; to + make available to the public Works in such a way that members of the + public may access these Works from a place and at a place individually + chosen by them; to perform the Work to the public by any means or + process and the communication to the public of the performances of the + Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise identify + that changes were made to the original Work. For example, a + translation could be marked "The original work was translated from + English to Spanish," or a modification could indicate "The original + work has been modified."; to Distribute and Publicly Perform the Work + including as incorporated in Collections; and, to Distribute and + Publicly Perform Adaptations. For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; Waivable Compulsory License + Schemes. In those jurisdictions in which the right to collect + royalties through any statutory or compulsory licensing scheme can be + waived, the Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted under this + License; and, Voluntary License Schemes. The Licensor waives the right + to collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise by + You of the rights granted under this License. The above rights may be + exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications + as are technically necessary to exercise the rights in other media and + formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(c), as requested. You may Distribute or Publicly Perform an + Adaptation only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as this + License; (iii) a Creative Commons jurisdiction license (either this or + a later license version) that contains the same License Elements as + this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative + Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that + license. If you license the Adaptation under the terms of any of the + licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. If You Distribute, or Publicly + Perform the Work or any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep intact all + copyright notices for the Work and provide, reasonable to the medium + or means You are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution + Parties") in Licensor's copyright notice, terms of service or by other + reasonable means, the name of such party or parties; (ii) the title of + the Work if supplied; (iii) to the extent reasonably practicable, the + URI, if any, that Licensor specifies to be associated with the Work, + unless such URI does not refer to the copyright notice or licensing + information for the Work; and (iv) , consistent with Ssection 3(b), in + the case of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of + doubt, You may only use the credit required by this Section for the + purpose of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement by the + Original Author, Licensor and/or Attribution Parties, as appropriate, + of You or Your use of the Work, without the separate, express prior + written permission of the Original Author, Licensor and/or Attribution + Parties. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as part of + any Adaptations or Collections, You must not distort, mutilate, modify + or take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms + and conditions, the license granted here is perpetual (for the + duration of the applicable copyright in the Work). Notwithstanding the + above, Licensor reserves the right to release the Work under different + license terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this License + (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in + full force and effect unless terminated as stated above. 8. + Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such waiver + or consent. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to the Work + not specified here. Licensor shall not be bound by any additional + provisions that may appear in any communication from You. This License + may not be modified without the mutual written agreement of the + Licensor and You. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the terminology of + the Berne Convention for the Protection of Literary and Artistic Works + (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as revised on + July 24, 1971). These rights and subject matter take effect in the + relevant jurisdiction in which the License terms are sought to be + enforced according to the corresponding provisions of the + implementation of those treaty provisions in the applicable national + law. If the standard suite of rights granted under applicable + copyright law includes additional rights not granted under this + License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of the License. + + Creative Commons may be contacted at http://creativecommons.org/. + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Address.php index 9fb8259..a569757 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Address.php @@ -2,152 +2,705 @@ namespace Faker\Provider\ro_RO; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%', '%/#', '#A', '#B']; - protected static $apartmentNumber = ['#', '##']; - protected static $floor = ['#', '##']; - protected static $block = ['#', '##', 'A', 'B', 'C', 'D']; - protected static $blockSegment = ['A', 'B', 'C', 'D']; - - protected static $streetPrefix = [ - 'Str.', 'B-dul.', 'Aleea', 'Splaiul', 'Calea', 'P-ța', - ]; - - // random selection of seemingly frequently used streets and naming categories - protected static $streetPlainName = [ - // historical events - 'Eroilor', 'Independenței', 'Memorandumului', 'Unirii', '1 Decembrie', - // historical people - 'Mihai Viteazul', 'Mircea cel Bătrân', 'Vlad Țepeș', 'Traian', 'Decebal', 'Horea', 'Cloșca', 'Crișan', - // national and international people names - 'Louis Pasteur', 'Albert Einstein', 'Franklin Delano Rosevelt', 'J.J Rousseau', 'Petrache Poenaru', 'Henri Coandă', 'Constantin Brâncuși', 'Aurel Vlaicu', 'Ion Creangă', 'Mihai Eminescu', - // nature-related - 'Cireșilor', 'Frasinului', 'Salcâmilor', 'Brăduțului', 'Frunzișului', 'Castanilor', 'Mesteacănului', 'Florilor', 'Pădurii', 'Piersicului', - // work-related - 'Croitorilor', 'Meșterilor', 'Zidarilor', 'Păcurari', 'Muncii', 'Învățătorului', - // geography related - 'Jiului', 'Bega', 'Someș', 'Făget', 'Sinaia', 'Herculane', 'Padiș', - ]; - - protected static $postcode = ['######']; - - // from http://ro.wikipedia.org/wiki/Lista_ora%C8%99elor_din_Rom%C3%A2nia#Lista_alfabetic.C4.83_a_ora.C8.99elor_din_Rom.C3.A2nia_.28inclusiv_municipii.29 - protected static $cityNames = [ - 'Abrud', 'Adjud', 'Agnita', 'Aiud', 'Alba Iulia', 'Aleșd', 'Alexandria', 'Amara', 'Anina', 'Aninoasa', 'Arad', 'Ardud', 'Avrig', 'Azuga', 'Babadag', 'Băbeni', 'Bacău', 'Baia de Aramă', - 'Baia de Arieș', 'Baia Mare', 'Baia Sprie', 'Băicoi', 'Băile Govora', 'Băile Herculane', 'Băile Olănești', 'Băile Tușnad', 'Băilești', 'Bălan', 'Bălcești', 'Balș', 'Băneasa', 'Baraolt', - 'Bârlad', 'Bechet', 'Beclean', 'Beiuș', 'Berbești', 'Berești', 'Bicaz', 'Bistrița', 'Blaj', 'Bocșa', 'Boldești-Scăeni', 'Bolintin-Vale', 'Borșa', 'Borsec', 'Botoșani', 'Brad', 'Bragadiru', - 'Brăila', 'Brașov', 'Breaza', 'Brezoi', 'Broșteni', 'Bucecea', 'București', 'Budești', 'Buftea', 'Buhuși', 'Bumbești-Jiu', 'Bușteni', 'Buzău', 'Buziaș', 'Cajvana', 'Calafat', 'Călan', - 'Călărași', 'Călimănești', 'Câmpeni', 'Câmpia Turzii', 'Câmpina', 'Câmpulung Moldovenesc', 'Câmpulung', 'Caracal', 'Caransebeș', 'Carei', 'Cavnic', 'Căzănești', 'Cehu Silvaniei', - 'Cernavodă', 'Chișineu-Criș', 'Chitila', 'Ciacova', 'Cisnădie', 'Cluj-Napoca', 'Codlea', 'Comănești', 'Comarnic', 'Constanța', 'Copșa Mică', 'Corabia', 'Costești', 'Covasna', 'Craiova', - 'Cristuru Secuiesc', 'Cugir', 'Curtea de Argeș', 'Curtici', 'Dăbuleni', 'Darabani', 'Dărmănești', 'Dej', 'Deta', 'Deva', 'Dolhasca', 'Dorohoi', 'Drăgănești-Olt', 'Drăgășani', 'Dragomirești', - 'Drobeta-Turnu Severin', 'Dumbrăveni', 'Eforie', 'Făgăraș', 'Făget', 'Fălticeni', 'Făurei', 'Fetești', 'Fieni', 'Fierbinți-Târg', 'Filiași', 'Flămânzi', 'Focșani', 'Frasin', 'Fundulea', - 'Găești', 'Galați', 'Gătaia', 'Geoagiu', 'Gheorgheni', 'Gherla', 'Ghimbav', 'Giurgiu', 'Gura Humorului', 'Hârlău', 'Hârșova', 'Hațeg', 'Horezu', 'Huedin', 'Hunedoara', 'Huși', 'Ianca', - 'Iași', 'Iernut', 'Ineu', 'Însurăței', 'Întorsura Buzăului', 'Isaccea', 'Jibou', 'Jimbolia', 'Lehliu Gară', 'Lipova', 'Liteni', 'Livada', 'Luduș', 'Lugoj', 'Lupeni', 'Măcin', 'Măgurele', - 'Mangalia', 'Mărășești', 'Marghita', 'Medgidia', 'Mediaș', 'Miercurea Ciuc', 'Miercurea Nirajului', 'Miercurea Sibiului', 'Mihăilești', 'Milișăuți', 'Mioveni', 'Mizil', 'Moinești', - 'Moldova Nouă', 'Moreni', 'Motru', 'Murfatlar', 'Murgeni', 'Nădlac', 'Năsăud', 'Năvodari', 'Negrești', 'Negrești-Oaș', 'Negru Vodă', 'Nehoiu', 'Novaci', 'Nucet', 'Ocna Mureș', - 'Ocna Sibiului', 'Ocnele Mari', 'Odobești', 'Odorheiu Secuiesc', 'Oltenița', 'Onești', 'Oradea', 'Orăștie', 'Oravița', 'Orșova', 'Oțelu Roșu', 'Otopeni', 'Ovidiu', 'Panciu', 'Pâncota', - 'Pantelimon', 'Pașcani', 'Pătârlagele', 'Pecica', 'Petrila', 'Petroșani', 'Piatra Neamț', 'Piatra-Olt', 'Pitești', 'Ploiești', 'Plopeni', 'Podu Iloaiei', 'Pogoanele', 'Popești-Leordeni', - 'Potcoava', 'Predeal', 'Pucioasa', 'Răcari', 'Rădăuți', 'Râmnicu Sărat', 'Râșnov', 'Recaș', 'Reghin', 'Reșița', 'Roman', 'Roșiorii de Vede', 'Rovinari', 'Roznov', 'Rupea', 'Săcele', - 'Săcueni', 'Salcea', 'Săliște', 'Săliștea de Sus', 'Salonta', 'Sângeorgiu de Pădure', 'Sângeorz-Băi', 'Sânnicolau Mare', 'Sântana', 'Sărmașu', 'Satu Mare', 'Săveni', 'Scornicești', - 'Sebeș', 'Sebiș', 'Segarcea', 'Seini', 'Sfântu Gheorghe', 'Sibiu', 'Sighetu Marmației', 'Sighișoara', 'Simeria', 'Șimleu Silvaniei', 'Sinaia', 'Siret', 'Slănic', 'Slănic-Moldova', - 'Slatina', 'Slobozia', 'Solca', 'Șomcuta Mare', 'Sovata', 'Ștefănești, Argeș', 'Ștefănești, Botoșani', 'Ștei', 'Strehaia', 'Suceava', 'Sulina', 'Tălmaciu', 'Țăndărei', 'Târgoviște', - 'Târgu Bujor', 'Târgu Cărbunești', 'Târgu Frumos', 'Târgu Jiu', 'Târgu Lăpuș', 'Târgu Mureș', 'Târgu Neamț', 'Târgu Ocna', 'Târgu Secuiesc', 'Târnăveni', 'Tășnad', 'Tăuții-Măgherăuș', - 'Techirghiol', 'Tecuci', 'Teiuș', 'Țicleni', 'Timișoara', 'Tismana', 'Titu', 'Toplița', 'Topoloveni', 'Tulcea', 'Turceni', 'Turda', 'Turnu Măgurele', 'Ulmeni', 'Ungheni', 'Uricani', - 'Urlați', 'Urziceni', 'Valea lui Mihai', 'Vălenii de Munte', 'Vânju Mare', 'Vașcău', 'Vaslui', 'Vatra Dornei', 'Vicovu de Sus', 'Victoria', 'Videle', 'Vișeu de Sus', 'Vlăhița', 'Voluntari', - 'Vulcan', 'Zalău', 'Zărnești', 'Zimnicea', 'Zlatna', - ]; - - // http://en.wikipedia.org/wiki/Counties_of_Romania#Current_list - protected static $counties = [ - 'Alba', 'Arad', 'Argeș', 'Bacău', 'Bihor', 'Bistrița Năsăud', 'Botoșani', 'Brăila', 'Brașov', 'București', 'Buzău', 'Călărași', 'Caraș-Severin', 'Cluj', 'Constanța', 'Covasna', 'Dâmbovița', - 'Dolj', 'Galați', 'Giurgiu', 'Gorj', 'Harghita', 'Hunedoara', 'Ialomița', 'Iași', 'Ilfov', 'Maramureț', 'Mehedinți', 'Mureș', 'Neamț', 'Olt', 'Prahova', 'Sălaj', 'Satu Mare', 'Sibiu', - 'Suceava', 'Teleorman', 'Timiș', 'Tulcea', 'Vâlcea', 'Vaslui', 'Vrancea', - ]; - - // http://ro.wikipedia.org/wiki/Lista_statelor_lumii#Lista_statelor_lumii - protected static $country = [ - 'Afganistan', 'Africa de Sud', 'Albania', 'Algeria', 'Andorra', 'Angola', 'Antigua și Barbuda', 'Arabia Saudită', 'Argentina', 'Armenia', 'Australia', 'Austria', 'Azerbaidjan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgia', 'Belize', 'Benin', 'Bhutan', 'Birmania', 'Bolivia', 'Bosnia și Herțegovina', 'Botswana', 'Brazilia', 'Brunei', 'Bulgaria', - 'Burkina Faso', 'Burundi', 'Cambodgia', 'Camerun', 'Canada', 'Capul Verde', 'Cehia', 'Republica Centrafricană', 'Chile', 'Republica Populară Chineză', 'Ciad', 'Cipru', 'Columbia', 'Comore', - 'Republica Democrată Congo', 'Republica Congo', 'Coreea de Nord', 'Coreea de Sud', 'Costa Rica', 'Coasta de Fildeș', 'Croația', 'Cuba', 'Danemarca', 'Djibouti', 'Dominica', - 'Republica Dominicană', 'Ecuador', 'Egipt', 'El Salvador', 'Elveția', 'Emiratele Arabe Unite', 'Eritreea', 'Estonia', 'Etiopia', 'Fiji', 'Filipine', 'Finlanda', 'Franța', 'Gabon', 'Gambia', - 'Georgia', 'Germania', 'Ghana', 'Grecia', 'Grenada', 'Guatemala', 'Guineea', 'Guineea-Bissau', 'Guineea Ecuatorială', 'Guyana', 'Haiti', 'Honduras', - 'India', 'Indonezia', 'Iordania', 'Irak', 'Iran', 'Republica Irlanda', 'Islanda', 'Israel', 'Italia', 'Jamaica', 'Japonia', 'Kazahstan', 'Kenya', 'Kirghizstan', 'Kiribati', 'Kuweit', - 'Laos', 'Lesotho', 'Letonia', 'Liban', 'Liberia', 'Libia', 'Liechtenstein', 'Lituania', 'Luxemburg', 'Republica Macedonia', 'Madagascar', 'Malawi', 'Malaezia', 'Maldive', 'Mali', 'Malta', - 'Maroc', 'Insulele Marshall', 'Mauritania', 'Mauritius', 'Mexic', 'Statele Federate ale Microneziei', 'Republica Moldova', 'Monaco', 'Mongolia', 'Mozambic', 'Muntenegru', 'Namibia', 'Nauru', - 'Nepal', 'Nicaragua', 'Niger', 'Nigeria', 'Norvegia', 'Noua Zeelandă', 'Olanda', 'Oman', 'Pakistan', 'Palau', 'Panama', 'Papua Noua Guinee', 'Paraguay', 'Peru', 'Polonia', 'Portugalia', - 'Qatar', 'Regatul Unit', 'România', 'Rusia', 'Rwanda', 'Samoa', 'San Marino', 'São Tomé și Príncipe', 'São Tomé e Príncipe', 'Senegal', 'Serbia', 'Seychelles', 'Sfânta Lucia', - 'Sfântul Cristofor și Nevis', 'Saint Vincent and the Grenadines', 'Sierra Leone', 'Singapore', 'Siria', 'Slovacia', 'Slovenia', 'Insulele Solomon', 'Somalia', 'Spania', 'Sri Lanka', - 'Statele Unite ale Americii', 'Sudan', 'Sudanul de Sud', 'Suedia', 'Surinam', 'Swaziland', 'Tadjikistan', 'Tanzania', 'Thailanda', 'Timorul de Est', 'Togo', 'Tonga', 'Trinidad-Tobago', - 'Tunisia', 'Turcia', 'Turkmenistan', 'Tuvalu', 'Ucraina', 'Uganda', 'Ungaria', 'Uruguay', 'Uzbekistan', 'Vanuatu', 'Vatican', 'Venezuela', 'Vietnam', 'Yemen', 'Zambia', 'Zimbabwe', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - 'Mun. {{cityName}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{streetPlainName}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} {{buildingNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, ap. {{apartmentNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, et. {{floor}}, ap. {{apartmentNumber}}', - '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, sc. {{blockSegment}}, et. {{floor}}, ap. {{apartmentNumber}}', - ]; - - protected static $addressFormats = [ - '{{streetAddress}}, {{city}}, {{county}}, CP {{postcode}}', - ]; - - public function cityName() - { - return static::randomElement(static::$cityNames); - } - - public static function block() - { - return static::numerify(static::randomElement(static::$block)); - } - - public function blockSegment() - { - return static::randomElement(static::$blockSegment); - } - - public static function floor() - { - return static::numerify(static::randomElement(static::$floor)); - } - - public static function apartmentNumber() - { - return static::numerify(static::randomElement(static::$apartmentNumber)); - } - - public function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'Independenței' - */ - public function streetPlainName() - { - return static::randomElement(static::$streetPlainName); - } - - /** - * @example 'Cluj' - */ - public function county() - { - return static::randomElement(static::$counties); - } +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%', '%/#', '#A', '#B' ]; + protected static $apartmentNumber = [ '#', '##' ]; + protected static $floor = [ '#', '##' ]; + protected static $block = [ '#', '##', 'A', 'B', 'C', 'D' ]; + protected static $blockSegment = [ 'A', 'B', 'C', 'D' ]; + + protected static $streetPrefix = [ + 'Str.', + 'B-dul.', + 'Aleea', + 'Splaiul', + 'Calea', + 'P-ța', + ]; + + // random selection of seemingly frequently used streets and naming categories + protected static $streetPlainName = [ + // historical events + 'Eroilor', + 'Independenței', + 'Memorandumului', + 'Unirii', + '1 Decembrie', + // historical people + 'Mihai Viteazul', + 'Mircea cel Bătrân', + 'Vlad Țepeș', + 'Traian', + 'Decebal', + 'Horea', + 'Cloșca', + 'Crișan', + // national and international people names + 'Louis Pasteur', + 'Albert Einstein', + 'Franklin Delano Rosevelt', + 'J.J Rousseau', + 'Petrache Poenaru', + 'Henri Coandă', + 'Constantin Brâncuși', + 'Aurel Vlaicu', + 'Ion Creangă', + 'Mihai Eminescu', + // nature-related + 'Cireșilor', + 'Frasinului', + 'Salcâmilor', + 'Brăduțului', + 'Frunzișului', + 'Castanilor', + 'Mesteacănului', + 'Florilor', + 'Pădurii', + 'Piersicului', + // work-related + 'Croitorilor', + 'Meșterilor', + 'Zidarilor', + 'Păcurari', + 'Muncii', + 'Învățătorului', + // geography related + 'Jiului', + 'Bega', + 'Someș', + 'Făget', + 'Sinaia', + 'Herculane', + 'Padiș', + ]; + + protected static $postcode = [ '######' ]; + + // from http://ro.wikipedia.org/wiki/Lista_ora%C8%99elor_din_Rom%C3%A2nia#Lista_alfabetic.C4.83_a_ora.C8.99elor_din_Rom.C3.A2nia_.28inclusiv_municipii.29 + protected static $cityNames = [ + 'Abrud', + 'Adjud', + 'Agnita', + 'Aiud', + 'Alba Iulia', + 'Aleșd', + 'Alexandria', + 'Amara', + 'Anina', + 'Aninoasa', + 'Arad', + 'Ardud', + 'Avrig', + 'Azuga', + 'Babadag', + 'Băbeni', + 'Bacău', + 'Baia de Aramă', + 'Baia de Arieș', + 'Baia Mare', + 'Baia Sprie', + 'Băicoi', + 'Băile Govora', + 'Băile Herculane', + 'Băile Olănești', + 'Băile Tușnad', + 'Băilești', + 'Bălan', + 'Bălcești', + 'Balș', + 'Băneasa', + 'Baraolt', + 'Bârlad', + 'Bechet', + 'Beclean', + 'Beiuș', + 'Berbești', + 'Berești', + 'Bicaz', + 'Bistrița', + 'Blaj', + 'Bocșa', + 'Boldești-Scăeni', + 'Bolintin-Vale', + 'Borșa', + 'Borsec', + 'Botoșani', + 'Brad', + 'Bragadiru', + 'Brăila', + 'Brașov', + 'Breaza', + 'Brezoi', + 'Broșteni', + 'Bucecea', + 'București', + 'Budești', + 'Buftea', + 'Buhuși', + 'Bumbești-Jiu', + 'Bușteni', + 'Buzău', + 'Buziaș', + 'Cajvana', + 'Calafat', + 'Călan', + 'Călărași', + 'Călimănești', + 'Câmpeni', + 'Câmpia Turzii', + 'Câmpina', + 'Câmpulung Moldovenesc', + 'Câmpulung', + 'Caracal', + 'Caransebeș', + 'Carei', + 'Cavnic', + 'Căzănești', + 'Cehu Silvaniei', + 'Cernavodă', + 'Chișineu-Criș', + 'Chitila', + 'Ciacova', + 'Cisnădie', + 'Cluj-Napoca', + 'Codlea', + 'Comănești', + 'Comarnic', + 'Constanța', + 'Copșa Mică', + 'Corabia', + 'Costești', + 'Covasna', + 'Craiova', + 'Cristuru Secuiesc', + 'Cugir', + 'Curtea de Argeș', + 'Curtici', + 'Dăbuleni', + 'Darabani', + 'Dărmănești', + 'Dej', + 'Deta', + 'Deva', + 'Dolhasca', + 'Dorohoi', + 'Drăgănești-Olt', + 'Drăgășani', + 'Dragomirești', + 'Drobeta-Turnu Severin', + 'Dumbrăveni', + 'Eforie', + 'Făgăraș', + 'Făget', + 'Fălticeni', + 'Făurei', + 'Fetești', + 'Fieni', + 'Fierbinți-Târg', + 'Filiași', + 'Flămânzi', + 'Focșani', + 'Frasin', + 'Fundulea', + 'Găești', + 'Galați', + 'Gătaia', + 'Geoagiu', + 'Gheorgheni', + 'Gherla', + 'Ghimbav', + 'Giurgiu', + 'Gura Humorului', + 'Hârlău', + 'Hârșova', + 'Hațeg', + 'Horezu', + 'Huedin', + 'Hunedoara', + 'Huși', + 'Ianca', + 'Iași', + 'Iernut', + 'Ineu', + 'Însurăței', + 'Întorsura Buzăului', + 'Isaccea', + 'Jibou', + 'Jimbolia', + 'Lehliu Gară', + 'Lipova', + 'Liteni', + 'Livada', + 'Luduș', + 'Lugoj', + 'Lupeni', + 'Măcin', + 'Măgurele', + 'Mangalia', + 'Mărășești', + 'Marghita', + 'Medgidia', + 'Mediaș', + 'Miercurea Ciuc', + 'Miercurea Nirajului', + 'Miercurea Sibiului', + 'Mihăilești', + 'Milișăuți', + 'Mioveni', + 'Mizil', + 'Moinești', + 'Moldova Nouă', + 'Moreni', + 'Motru', + 'Murfatlar', + 'Murgeni', + 'Nădlac', + 'Năsăud', + 'Năvodari', + 'Negrești', + 'Negrești-Oaș', + 'Negru Vodă', + 'Nehoiu', + 'Novaci', + 'Nucet', + 'Ocna Mureș', + 'Ocna Sibiului', + 'Ocnele Mari', + 'Odobești', + 'Odorheiu Secuiesc', + 'Oltenița', + 'Onești', + 'Oradea', + 'Orăștie', + 'Oravița', + 'Orșova', + 'Oțelu Roșu', + 'Otopeni', + 'Ovidiu', + 'Panciu', + 'Pâncota', + 'Pantelimon', + 'Pașcani', + 'Pătârlagele', + 'Pecica', + 'Petrila', + 'Petroșani', + 'Piatra Neamț', + 'Piatra-Olt', + 'Pitești', + 'Ploiești', + 'Plopeni', + 'Podu Iloaiei', + 'Pogoanele', + 'Popești-Leordeni', + 'Potcoava', + 'Predeal', + 'Pucioasa', + 'Răcari', + 'Rădăuți', + 'Râmnicu Sărat', + 'Râșnov', + 'Recaș', + 'Reghin', + 'Reșița', + 'Roman', + 'Roșiorii de Vede', + 'Rovinari', + 'Roznov', + 'Rupea', + 'Săcele', + 'Săcueni', + 'Salcea', + 'Săliște', + 'Săliștea de Sus', + 'Salonta', + 'Sângeorgiu de Pădure', + 'Sângeorz-Băi', + 'Sânnicolau Mare', + 'Sântana', + 'Sărmașu', + 'Satu Mare', + 'Săveni', + 'Scornicești', + 'Sebeș', + 'Sebiș', + 'Segarcea', + 'Seini', + 'Sfântu Gheorghe', + 'Sibiu', + 'Sighetu Marmației', + 'Sighișoara', + 'Simeria', + 'Șimleu Silvaniei', + 'Sinaia', + 'Siret', + 'Slănic', + 'Slănic-Moldova', + 'Slatina', + 'Slobozia', + 'Solca', + 'Șomcuta Mare', + 'Sovata', + 'Ștefănești, Argeș', + 'Ștefănești, Botoșani', + 'Ștei', + 'Strehaia', + 'Suceava', + 'Sulina', + 'Tălmaciu', + 'Țăndărei', + 'Târgoviște', + 'Târgu Bujor', + 'Târgu Cărbunești', + 'Târgu Frumos', + 'Târgu Jiu', + 'Târgu Lăpuș', + 'Târgu Mureș', + 'Târgu Neamț', + 'Târgu Ocna', + 'Târgu Secuiesc', + 'Târnăveni', + 'Tășnad', + 'Tăuții-Măgherăuș', + 'Techirghiol', + 'Tecuci', + 'Teiuș', + 'Țicleni', + 'Timișoara', + 'Tismana', + 'Titu', + 'Toplița', + 'Topoloveni', + 'Tulcea', + 'Turceni', + 'Turda', + 'Turnu Măgurele', + 'Ulmeni', + 'Ungheni', + 'Uricani', + 'Urlați', + 'Urziceni', + 'Valea lui Mihai', + 'Vălenii de Munte', + 'Vânju Mare', + 'Vașcău', + 'Vaslui', + 'Vatra Dornei', + 'Vicovu de Sus', + 'Victoria', + 'Videle', + 'Vișeu de Sus', + 'Vlăhița', + 'Voluntari', + 'Vulcan', + 'Zalău', + 'Zărnești', + 'Zimnicea', + 'Zlatna', + ]; + + // http://en.wikipedia.org/wiki/Counties_of_Romania#Current_list + protected static $counties = [ + 'Alba', + 'Arad', + 'Argeș', + 'Bacău', + 'Bihor', + 'Bistrița Năsăud', + 'Botoșani', + 'Brăila', + 'Brașov', + 'București', + 'Buzău', + 'Călărași', + 'Caraș-Severin', + 'Cluj', + 'Constanța', + 'Covasna', + 'Dâmbovița', + 'Dolj', + 'Galați', + 'Giurgiu', + 'Gorj', + 'Harghita', + 'Hunedoara', + 'Ialomița', + 'Iași', + 'Ilfov', + 'Maramureț', + 'Mehedinți', + 'Mureș', + 'Neamț', + 'Olt', + 'Prahova', + 'Sălaj', + 'Satu Mare', + 'Sibiu', + 'Suceava', + 'Teleorman', + 'Timiș', + 'Tulcea', + 'Vâlcea', + 'Vaslui', + 'Vrancea', + ]; + + // http://ro.wikipedia.org/wiki/Lista_statelor_lumii#Lista_statelor_lumii + protected static $country = [ + 'Afganistan', + 'Africa de Sud', + 'Albania', + 'Algeria', + 'Andorra', + 'Angola', + 'Antigua și Barbuda', + 'Arabia Saudită', + 'Argentina', + 'Armenia', + 'Australia', + 'Austria', + 'Azerbaidjan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgia', + 'Belize', + 'Benin', + 'Bhutan', + 'Birmania', + 'Bolivia', + 'Bosnia și Herțegovina', + 'Botswana', + 'Brazilia', + 'Brunei', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodgia', + 'Camerun', + 'Canada', + 'Capul Verde', + 'Cehia', + 'Republica Centrafricană', + 'Chile', + 'Republica Populară Chineză', + 'Ciad', + 'Cipru', + 'Columbia', + 'Comore', + 'Republica Democrată Congo', + 'Republica Congo', + 'Coreea de Nord', + 'Coreea de Sud', + 'Costa Rica', + 'Coasta de Fildeș', + 'Croația', + 'Cuba', + 'Danemarca', + 'Djibouti', + 'Dominica', + 'Republica Dominicană', + 'Ecuador', + 'Egipt', + 'El Salvador', + 'Elveția', + 'Emiratele Arabe Unite', + 'Eritreea', + 'Estonia', + 'Etiopia', + 'Fiji', + 'Filipine', + 'Finlanda', + 'Franța', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germania', + 'Ghana', + 'Grecia', + 'Grenada', + 'Guatemala', + 'Guineea', + 'Guineea-Bissau', + 'Guineea Ecuatorială', + 'Guyana', + 'Haiti', + 'Honduras', + 'India', + 'Indonezia', + 'Iordania', + 'Irak', + 'Iran', + 'Republica Irlanda', + 'Islanda', + 'Israel', + 'Italia', + 'Jamaica', + 'Japonia', + 'Kazahstan', + 'Kenya', + 'Kirghizstan', + 'Kiribati', + 'Kuweit', + 'Laos', + 'Lesotho', + 'Letonia', + 'Liban', + 'Liberia', + 'Libia', + 'Liechtenstein', + 'Lituania', + 'Luxemburg', + 'Republica Macedonia', + 'Madagascar', + 'Malawi', + 'Malaezia', + 'Maldive', + 'Mali', + 'Malta', + 'Maroc', + 'Insulele Marshall', + 'Mauritania', + 'Mauritius', + 'Mexic', + 'Statele Federate ale Microneziei', + 'Republica Moldova', + 'Monaco', + 'Mongolia', + 'Mozambic', + 'Muntenegru', + 'Namibia', + 'Nauru', + 'Nepal', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Norvegia', + 'Noua Zeelandă', + 'Olanda', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua Noua Guinee', + 'Paraguay', + 'Peru', + 'Polonia', + 'Portugalia', + 'Qatar', + 'Regatul Unit', + 'România', + 'Rusia', + 'Rwanda', + 'Samoa', + 'San Marino', + 'São Tomé și Príncipe', + 'São Tomé e Príncipe', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sfânta Lucia', + 'Sfântul Cristofor și Nevis', + 'Saint Vincent and the Grenadines', + 'Sierra Leone', + 'Singapore', + 'Siria', + 'Slovacia', + 'Slovenia', + 'Insulele Solomon', + 'Somalia', + 'Spania', + 'Sri Lanka', + 'Statele Unite ale Americii', + 'Sudan', + 'Sudanul de Sud', + 'Suedia', + 'Surinam', + 'Swaziland', + 'Tadjikistan', + 'Tanzania', + 'Thailanda', + 'Timorul de Est', + 'Togo', + 'Tonga', + 'Trinidad-Tobago', + 'Tunisia', + 'Turcia', + 'Turkmenistan', + 'Tuvalu', + 'Ucraina', + 'Uganda', + 'Ungaria', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Vatican', + 'Venezuela', + 'Vietnam', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + 'Mun. {{cityName}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{streetPlainName}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} {{buildingNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, ap. {{apartmentNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, et. {{floor}}, ap. {{apartmentNumber}}', + '{{streetName}} nr. {{buildingNumber}}, bl. {{block}}, sc. {{blockSegment}}, et. {{floor}}, ap. {{apartmentNumber}}', + ]; + + protected static $addressFormats = [ + '{{streetAddress}}, {{city}}, {{county}}, CP {{postcode}}', + ]; + + public function cityName() { + return static::randomElement( static::$cityNames ); + } + + public static function block() { + return static::numerify( static::randomElement( static::$block ) ); + } + + public function blockSegment() { + return static::randomElement( static::$blockSegment ); + } + + public static function floor() { + return static::numerify( static::randomElement( static::$floor ) ); + } + + public static function apartmentNumber() { + return static::numerify( static::randomElement( static::$apartmentNumber ) ); + } + + public function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'Independenței' + */ + public function streetPlainName() { + return static::randomElement( static::$streetPlainName ); + } + + /** + * @example 'Cluj' + */ + public function county() { + return static::randomElement( static::$counties ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Payment.php index 5363785..4a5e04d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\ro_RO; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'RO', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'RO', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Person.php index d8ef51d..c06e487 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Person.php @@ -2,249 +2,1203 @@ namespace Faker\Provider\ro_RO; -class Person extends \Faker\Provider\Person -{ - // http://en.wikipedia.org/wiki/Romanian_name, prefixes are for more formal purposes - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine - protected static $firstNameFemale = [ - 'Ada', 'Adela', 'Adelaida', 'Adelina', 'Adina', 'Adriana', 'Agata', 'Aglaia', 'Agripina', 'Aida', 'Alberta', 'Albertina', 'Alexandra', 'Alexandrina', 'Alida', 'Alina', 'Alice', 'Alis', 'Alma', - 'Amalia', 'Amelia', 'Amanda', 'Ana', 'Anabela', 'Anaida', 'Anamaria', 'Anastasia', 'Anca', 'Ancuța', 'Anda', 'Andra', 'Andrada', 'Andreea', 'Anemona', 'Aneta', 'Angela', 'Anghelina', 'Anica', - 'Anișoara', 'Antoaneta', 'Antonia', 'Antonela', 'Anuța', 'Ariadna', 'Ariana', 'Arina', 'Aristița', 'Artemisa', 'Astrid', 'Atena', 'Augustina', 'Aura', 'Aurelia', 'Aureliana', 'Aurica', 'Aurora', - 'Beatrice', 'Betina', 'Bianca', 'Blanduzia', 'Bogdana', 'Brândușa', 'Camelia', 'Carina', 'Carla', 'Carmen', 'Carmina', 'Carolina', 'Casandra', 'Casiana', 'Caterina', 'Catinca', 'Catrina', 'Catrinel', - 'Cătălina', 'Cecilia', 'Celia', 'Cerasela', 'Cezara', 'Cipriana', 'Clara', 'Clarisa', 'Claudia', 'Clementina', 'Cleopatra', 'Codrina', 'Codruța', 'Constantina', 'Constanța', 'Consuela', 'Coralia', - 'Corina', 'Cornelia', 'Cosmina', 'Crenguța', 'Crina', 'Cristina', 'Daciana', 'Dafina', 'Daiana', 'Dalia', 'Dana', 'Daniela', 'Daria', 'Dariana', 'Delia', 'Demetra', 'Denisa', 'Despina', 'Diana', - 'Dida', 'Didina', 'Dimitrina', 'Dina', 'Dochia', 'Doina', 'Domnica', 'Dora', 'Doriana', 'Dorina', 'Dorli', 'Draga', 'Dumitra', 'Dumitrana', 'Ecaterina', 'Eftimia', 'Elena', 'Eleonora', 'Eliana', - 'Elisabeta', 'Elisaveta', 'Eliza', 'Elodia', 'Elvira', 'Emilia', 'Emanuela', 'Erica', 'Estera', 'Eufrosina', 'Eugenia', 'Eusebia', 'Eva', 'Evanghelina', 'Evelina', 'Fabia', 'Fabiana', 'Felicia', - 'Filofteia', 'Fiona', 'Flavia', 'Floare', 'Floarea', 'Flora', 'Floriana', 'Florica', 'Florina', 'Florentina', 'Florența', 'Francesca', 'Frusina', 'Gabriela', 'Geanina', 'Gențiana', 'Georgeta', - 'Georgia', 'Georgiana', 'Geta', 'Gherghina', 'Gianina', 'Gina', 'Giorgiana', 'Grațiana', 'Grațiela', 'Hortensia', 'Henrieta', 'Heracleea', 'Iasmina', 'Ica', 'Ileana', 'Ilinca', 'Ilona', 'Ina', - 'Ioana', 'Ioanina', 'Iolanda', 'Ionela', 'Ionelia', 'Iosefina', 'Irina', 'Iridenta', 'Iris', 'Isabela', 'Iulia', 'Iuliana', 'Iustina', 'Ivona', 'Izabela', 'Jana', 'Janeta', 'Janina', 'Jasmina', - 'Jeana', 'Julia', 'Julieta', 'Larisa', 'Laura', 'Laurenția', 'Lavinia', 'Lăcrămioara', 'Leana', 'Lelia', 'Leontina', 'Leopoldina', 'Letiția', 'Lia', 'Liana', 'Lidia', 'Ligia', 'Lili', 'Liliana', - 'Lioara', 'Livia', 'Loredana', 'Lorelei', 'Lorena', 'Luana', 'Lucia', 'Luciana', 'Lucreția', 'Ludovica', 'Ludmila', 'Luiza', 'Luminița', 'Magdalena', 'Maia', 'Manuela', 'Mara', 'Marcela', 'Marga', - 'Margareta', 'Marcheta', 'Maria', 'Mariana', 'Maricica', 'Marilena', 'Marina', 'Marinela', 'Marioara', 'Marta', 'Matilda', 'Malvina', 'Mădălina', 'Mălina', 'Mărioara', 'Măriuca', 'Melania', 'Melina', - 'Mihaela', 'Milena', 'Mina', 'Minodora', 'Mioara', 'Mirabela', 'Mirela', 'Mirona', 'Miruna', 'Mona', 'Monalisa', 'Monica', 'Nadia', 'Narcisa', 'Natalia', 'Natașa', 'Noemi', 'Nicoleta', 'Niculina', - 'Nidia', 'Nora', 'Norica', 'Oana', 'Octavia', 'Octaviana', 'Ofelia', 'Olga', 'Olimpia', 'Olivia', 'Ortansa', 'Otilia', 'Ozana', 'Pamela', 'Paraschiva', 'Paula', 'Paulica', 'Paulina', 'Patricia', - 'Petronela', 'Petruța', 'Pompilia', 'Profira', 'Rada', 'Rafila', 'Raluca', 'Ramona', 'Rebeca', 'Renata', 'Rica', 'Roberta', 'Robertina', 'Rodica', 'Romanița', 'Romina', 'Roza', 'Rozalia', 'Roxana', - 'Roxelana', 'Ruxanda', 'Ruxandra', 'Sabina', 'Sabrina', 'Safta', 'Salomea', 'Sanda', 'Saveta', 'Savina', 'Sânziana', 'Semenica', 'Severina', 'Sidonia', 'Silvia', 'Silvana', 'Silviana', - 'Simina', 'Simona', 'Smaranda', 'Sofia', 'Sonia', 'Sorana', 'Sorina', 'Speranța', 'Stana', 'Stanca', 'Stela', 'Steliana', 'Steluța', 'Suzana', 'Svetlana', 'Ștefana', 'Ștefania', 'Tamara', 'Tania', - 'Tatiana', 'Teea', 'Teodora', 'Teodosia', 'Teona', 'Tiberia', 'Timea', 'Tinca', 'Tincuța', 'Tudora', 'Tudorița', 'Tudosia', 'Valentina', 'Valeria', 'Vanesa', 'Varvara', 'Vasilica', 'Venera', 'Vera', - 'Veronica', 'Veta', 'Vicenția', 'Victoria', 'Violeta', 'Viorela', 'Viorica', 'Virginia', 'Viviana', 'Voichița', 'Xenia', 'Zaharia', 'Zamfira', 'Zaraza', 'Zenobia', 'Zenovia', 'Zina', 'Zoe', - ]; - - //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine - protected static $firstNameMale = [ - 'Achim', 'Adam', 'Adelin', 'Adonis', 'Adrian', 'Adi', 'Agnos', 'Albert', 'Alex', 'Alexandru', 'Alexe', 'Aleodor', 'Alin', 'Alistar', 'Amedeu', 'Amza', 'Anatolie', 'Andrei', 'Angel', 'Anghel', 'Antim', - 'Anton', 'Antonie', 'Antoniu', 'Arian', 'Aristide', 'Arsenie', 'Augustin', 'Aurel', 'Aurelian', 'Aurică', 'Avram', 'Axinte', 'Barbu', 'Bartolomeu', 'Basarab', 'Bănel', 'Bebe', 'Beniamin', 'Benone', - 'Bernard', 'Bogdan', 'Brăduț', 'Bucur', 'Caius', 'Camil', 'Cantemir', 'Carol', 'Casian', 'Cazimir', 'Călin', 'Cătălin', 'Cedrin', 'Cezar', 'Ciprian', 'Claudiu', 'Codin', 'Codrin', 'Codruț', 'Cornel', - 'Corneliu', 'Corvin', 'Constantin', 'Cosmin', 'Costache', 'Costel', 'Costin', 'Crin', 'Cristea', 'Cristian', 'Cristobal', 'Cristofor', 'Dacian', 'Damian', 'Dan', 'Daniel', 'Darius', 'David', - 'Decebal', 'Denis', 'Dinu', 'Dominic', 'Dorel', 'Dorian', 'Dorin', 'Dorinel', 'Doru', 'Dragoș', 'Ducu', 'Dumitru', 'Edgar', 'Edmond', 'Eduard', 'Eftimie', 'Emil', 'Emilian', 'Emanoil', 'Emanuel', - 'Emanuil', 'Eremia', 'Eric', 'Ernest', 'Eugen', 'Eusebiu', 'Eustațiu', 'Fabian', 'Felix', 'Filip', 'Fiodor', 'Flaviu', 'Florea', 'Florentin', 'Florian', 'Florin', 'Francisc', 'Frederic', - 'Gabi', 'Gabriel', 'Gelu', 'George', 'Georgel', 'Georgian', 'Ghenadie', 'Gheorghe', 'Gheorghiță', 'Ghiță', 'Gică', 'Gicu', 'Giorgian', 'Grațian', 'Gregorian', 'Grigore', - 'Haralamb', 'Haralambie', 'Horațiu', 'Horea', 'Horia', 'Iacob', 'Iancu', 'Ianis', 'Ieremia', 'Ilarie', 'Ilarion', 'Ilie', 'Inocențiu', 'Ioan', 'Ion', 'Ionel', 'Ionică', 'Ionuț', 'Iosif', 'Irinel', - 'Iulian', 'Iuliu', 'Iurie', 'Iustin', 'Iustinian', 'Ivan', 'Jan', 'Jean', 'Jenel', 'Ladislau', 'Lascăr', 'Laurențiu', 'Laurian', 'Lazăr', 'Leonard', 'Leontin', 'Lică', 'Liviu', 'Lorin', 'Luca', - 'Lucențiu', 'Lucian', 'Lucrețiu', 'Ludovic', 'Manole', 'Marcel', 'Marcu', 'Marian', 'Marin', 'Marius', 'Martin', 'Matei', 'Maxim', 'Maximilian', 'Mădălin', 'Mihai', 'Mihail', 'Mihnea', 'Mircea', - 'Miron', 'Mitică', 'Mitruț', 'Mugur', 'Mugurel', 'Nae', 'Narcis', 'Nechifor', 'Nelu', 'Nichifor', 'Nicoară', 'Nicodim', 'Nicolae', 'Nicolaie', 'Nicu', 'Nicuță', 'Niculiță', 'Nicușor', 'Norbert', - 'Norman', 'Octav', 'Octavian', 'Octaviu', 'Olimpian', 'Olimpiu', 'Oliviu', 'Ovidiu', 'Pamfil', 'Panait', 'Panagachie', 'Paul', 'Pavel', 'Pătru', 'Petre', 'Petrică', 'Petrișor', 'Petru', 'Petruț', - 'Pompiliu', 'Radu', 'Rafael', 'Rareș', 'Raul', 'Răducu', 'Răzvan', 'Relu', 'Remus', 'Robert', 'Romeo', 'Romulus', 'Sabin', 'Sandu', 'Sava', 'Sebastian', 'Sergiu', 'Sever', 'Severin', 'Silvian', - 'Silviu', 'Simi', 'Simion', 'Sinică', 'Sorin', 'Stan', 'Stancu', 'Stelian', 'Sandu', 'Șerban', 'Ștefan', 'Teodor', 'Teofil', 'Teohari', 'Theodor', 'Tiberiu', 'Timotei', 'Titus', 'Todor', 'Toma', - 'Traian', 'Tudor', 'Valentin', 'Valeriu', 'Valter', 'Vasile', 'Vasilică', 'Veniamin', 'Vicențiu', 'Victor', 'Vincențiu', 'Viorel', 'Visarion', 'Vlad', 'Vladimir', 'Vlaicu', 'Voicu', 'Zamfir', 'Zeno', - ]; - - //courtesy of Florin LIPAN, at nume.ottomotor.ro - protected static $lastName = [ - 'Achim', 'Adam', 'Albu', 'Aldea', 'Alexa', 'Alexandrescu', 'Alexandru', 'Alexe', 'Andrei', 'Anghel', 'Antal', 'Anton', 'Apostol', 'Ardelean', 'Ardeleanu', 'Avram', - 'Baciu', 'Badea', 'Balan', 'Balint', 'Banica', 'Banu', 'Barbu', 'Barbulescu', 'Bejan', 'Biro', 'Blaga', 'Boboc', 'Bodea', 'Bogdan', 'Bota', 'Botezatu', 'Bratu', 'Bucur', 'Buda', 'Bunea', 'Burlacu', - 'Calin', 'Catana', 'Cazacu', 'Chiriac', 'Chirila', 'Chirita', 'Chis', 'Chivu', 'Ciobanu', 'Ciocan', 'Cojocaru', 'Coman', 'Constantin', 'Constantinescu', 'Cornea', 'Cosma', 'Costache', - 'Costea', 'Costin', 'Covaci', 'Cozma', 'Craciun', 'Cretu', 'Crisan', 'Cristea', 'Cristescu', 'Croitoru', 'Cucu', - 'Damian', 'Dan', 'Danciu', 'Danila', 'Dascalu', 'David', 'Diaconescu', 'Diaconu', 'Dima', 'Dinca', 'Dinu', 'Dobre', 'Dobrescu', 'Dogaru', 'Dragan', 'Draghici', - 'Dragoi', 'Dragomir', 'Dumitrache', 'Dumitrascu', 'Dumitrescu', 'Dumitriu', 'Dumitru', 'Duta', - 'Enache', 'Ene', 'Farcas', 'Filimon', 'Filip', 'Florea', 'Florescu', 'Fodor', 'Fratila', - 'Gabor', 'Gal', 'Ganea', 'Gavrila', 'Georgescu', 'Gheorghe', 'Gheorghita', 'Gheorghiu', 'Gherman', 'Ghita', 'Giurgiu', 'Grecu', 'Grigoras', 'Grigore', 'Grigorescu', 'Grosu', 'Groza', - 'Horvath', 'Iacob', 'Iancu', 'Ichim', 'Ignat', 'Ilie', 'Iliescu', 'Ion', 'Ionescu', 'Ionita', 'Iordache', 'Iorga', 'Iosif', 'Irimia', 'Ispas', 'Istrate', 'Ivan', 'Ivascu', - 'Kiss', 'Kovacs', 'Lazar', 'Luca', 'Lungu', 'Lupu', 'Macovei', 'Maftei', 'Man', 'Manea', 'Manolache', 'Manole', 'Marcu', 'Marginean', 'Marian', 'Marin', 'Marinescu', 'Martin', 'Mateescu', - 'Matei', 'Maxim', 'Mazilu', 'Micu', 'Mihai', 'Mihaila', 'Mihailescu', 'Mihalache', 'Mihalcea', 'Milea', 'Militaru', 'Mircea', 'Mirea', 'Miron', 'Miu', 'Mocanu', 'Moga', 'Moise', 'Moldovan', - 'Moldoveanu', 'Molnar', 'Morar', 'Moraru', 'Muntean', 'Munteanu', 'Muresan', 'Musat', 'Nagy', 'Nastase', 'Neacsu', 'Neagoe', 'Neagu', 'Neamtu', 'Nechita', 'Necula', 'Nedelcu', - 'Negoita', 'Negrea', 'Negru', 'Nemes', 'Nica', 'Nicoara', 'Nicolae', 'Nicolescu', 'Niculae', 'Niculescu', 'Nistor', 'Nita', 'Nitu', - 'Oancea', 'Olariu', 'Olaru', 'Oltean', 'Olteanu', 'Oprea', 'Opris', 'Paduraru', 'Pana', 'Panait', 'Paraschiv', 'Parvu', 'Pasca', 'Pascu', 'Patrascu', 'Paun', 'Pavel', 'Petcu', 'Peter', - 'Petre', 'Petrea', 'Petrescu', 'Pintea', 'Pintilie', 'Pirvu', 'Pop', 'Popa', 'Popescu', 'Popovici', 'Preda', 'Prodan', 'Puiu', 'Radoi', 'Radu', 'Radulescu', 'Roman', 'Rosca', 'Rosu', - 'Rotaru', 'Rus', 'Rusu', 'Sabau', 'Sandor', 'Sandu', 'Sarbu', 'Sava', 'Savu', 'Serban', 'Sima', 'Simion', 'Simionescu', 'Simon', 'Sirbu', 'Soare', 'Solomon', 'Staicu', 'Stan', - 'Stanciu', 'Stancu', 'Stanescu', 'Stefan', 'Stefanescu', 'Stoian', 'Stoica', 'Stroe', 'Suciu', 'Szabo', 'Szasz', 'Szekely', 'Tamas', 'Tanase', 'Tataru', 'Teodorescu', 'Toader', - 'Toma', 'Tomescu', 'Toth', 'Trandafir', 'Trif', 'Trifan', 'Tudor', 'Tudorache', 'Tudose', 'Turcu', 'Ungureanu', 'Ursu', 'Vaduva', 'Varga', 'Vasile', 'Vasilescu', 'Vasiliu', 'Veres', - 'Vintila', 'Visan', 'Vlad', 'Voicu', 'Voinea', 'Zaharia', 'Zamfir', - ]; - - protected static $titleMale = ['dl.', 'ing.', 'dr.']; - protected static $titleFemale = ['d-na.', 'd-șoara', 'ing.', 'dr.']; - - protected static $cnpCountyCodes = [ - 'AB' => '01', 'AR' => '02', 'AG' => '03', 'B' => '40', 'BC' => '04', 'BH' => '05', - 'BN' => '06', 'BT' => '07', 'BV' => '08', 'BR' => '09', 'BZ' => '10', 'CS' => '11', - 'CL' => '51', 'CJ' => '12', 'CT' => '13', 'CV' => '14', 'DB' => '15', 'DJ' => '16', - 'GL' => '17', 'GR' => '52', 'GJ' => '18', 'HR' => '19', 'HD' => '20', 'IL' => '21', - 'IS' => '22', 'IF' => '23', 'MM' => '24', 'MH' => '25', 'MS' => '26', 'NT' => '27', - 'OT' => '28', 'PH' => '29', 'SM' => '30', 'SJ' => '31', 'SB' => '32', 'SV' => '33', - 'TR' => '34', 'TM' => '35', 'TL' => '36', 'VS' => '37', 'VL' => '38', 'VN' => '39', - - 'B1' => '41', 'B2' => '42', 'B3' => '43', 'B4' => '44', 'B5' => '45', 'B6' => '46', - ]; - - /** - * Personal Numerical Code (CNP) - * - * @see http://ro.wikipedia.org/wiki/Cod_numeric_personal - * - * @example 1111111111118 - * - * @param string|null $gender Person::GENDER_MALE or Person::GENDER_FEMALE - * @param string|null $dateOfBirth (1800-2099) 'Y-m-d', 'Y-m', 'Y' I.E. '1981-06-16', '2085-03', '1900' - * @param string|null $county county code where the CNP was issued - * @param bool|null $isResident flag if the person resides in Romania - * - * @return string 13 digits CNP code - */ - public function cnp($gender = null, $dateOfBirth = null, $county = null, $isResident = true) - { - $genders = [Person::GENDER_MALE, Person::GENDER_FEMALE]; - - if (empty($gender)) { - $gender = static::randomElement($genders); - } elseif (!in_array($gender, $genders, false)) { - throw new \InvalidArgumentException("Gender must be '{Person::GENDER_MALE}' or '{Person::GENDER_FEMALE}'"); - } - - $date = $this->getDateOfBirth($dateOfBirth); - - if (null === $county) { - $countyCode = static::randomElement(array_values(static::$cnpCountyCodes)); - } elseif (!array_key_exists($county, static::$cnpCountyCodes)) { - throw new \InvalidArgumentException("Invalid county code '{$county}' received"); - } else { - $countyCode = static::$cnpCountyCodes[$county]; - } - - $cnp = (string) $this->getGenderDigit($date, $gender, $isResident) - . $date->format('ymd') - . $countyCode - . static::numerify('##%') - ; - - $checksum = $this->getChecksumDigit($cnp); - - return $cnp . $checksum; - } - - /** - * @param string|null $dateOfBirth - * - * @return \DateTime - */ - protected function getDateOfBirth($dateOfBirth) - { - if (empty($dateOfBirth)) { - $dateOfBirthParts = [self::numberBetween(1800, 2099)]; - } else { - $dateOfBirthParts = explode('-', $dateOfBirth); - } - $baseDate = \Faker\Provider\DateTime::dateTimeBetween("first day of January {$dateOfBirthParts[0]}", "last day of December {$dateOfBirthParts[0]}"); - - switch (count($dateOfBirthParts)) { - case 1: - $dateOfBirthParts[] = $baseDate->format('m'); - //don't break, we need the day also - // no break - case 2: - $dateOfBirthParts[] = $baseDate->format('d'); - //don't break, next line will - // no break - case 3: - break; - - default: - throw new \InvalidArgumentException("Invalid date of birth - must be null or in the 'Y-m-d', 'Y-m', 'Y' format"); - } - - if ($dateOfBirthParts[0] < 1800 || $dateOfBirthParts[0] > 2099) { - throw new \InvalidArgumentException("Invalid date of birth - year must be between 1800 and 2099, '{$dateOfBirthParts[0]}' received"); - } - - $dateOfBirthFinal = implode('-', $dateOfBirthParts); - $date = \DateTime::createFromFormat('Y-m-d', $dateOfBirthFinal); - //a full (invalid) date might have been supplied, check if it converts - if ($date->format('Y-m-d') !== $dateOfBirthFinal) { - throw new \InvalidArgumentException("Invalid date of birth - '{$date->format('Y-m-d')}' generated based on '{$dateOfBirth}' received"); - } - - return $date; - } - - /** - * https://ro.wikipedia.org/wiki/Cod_numeric_personal#S - * - * @param bool $isResident - * @param string $gender - * - * @return int - */ - protected static function getGenderDigit(\DateTime $dateOfBirth, $gender, $isResident) - { - if (!$isResident) { - return 9; - } - - if ($dateOfBirth->format('Y') < 1900) { - if ($gender == Person::GENDER_MALE) { - return 3; - } - - return 4; - } - - if ($dateOfBirth->format('Y') < 2000) { - if ($gender == Person::GENDER_MALE) { - return 1; - } - - return 2; - } - - if ($gender == Person::GENDER_MALE) { - return 5; - } - - return 6; - } - - /** - * Calculates a checksum for the Personal Numerical Code (CNP). - * - * @param string $value 12 digit CNP - * - * @return int checksum digit - */ - protected function getChecksumDigit($value) - { - $checkNumber = 279146358279; - - $checksum = 0; - - foreach (range(0, 11) as $digit) { - $checksum += (int) substr($value, $digit, 1) * (int) substr($checkNumber, $digit, 1); - } - $checksum = $checksum % 11; - - return $checksum == 10 ? 1 : $checksum; - } +class Person extends \Faker\Provider\Person { + // http://en.wikipedia.org/wiki/Romanian_name, prefixes are for more formal purposes + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine + protected static $firstNameFemale = [ + 'Ada', + 'Adela', + 'Adelaida', + 'Adelina', + 'Adina', + 'Adriana', + 'Agata', + 'Aglaia', + 'Agripina', + 'Aida', + 'Alberta', + 'Albertina', + 'Alexandra', + 'Alexandrina', + 'Alida', + 'Alina', + 'Alice', + 'Alis', + 'Alma', + 'Amalia', + 'Amelia', + 'Amanda', + 'Ana', + 'Anabela', + 'Anaida', + 'Anamaria', + 'Anastasia', + 'Anca', + 'Ancuța', + 'Anda', + 'Andra', + 'Andrada', + 'Andreea', + 'Anemona', + 'Aneta', + 'Angela', + 'Anghelina', + 'Anica', + 'Anișoara', + 'Antoaneta', + 'Antonia', + 'Antonela', + 'Anuța', + 'Ariadna', + 'Ariana', + 'Arina', + 'Aristița', + 'Artemisa', + 'Astrid', + 'Atena', + 'Augustina', + 'Aura', + 'Aurelia', + 'Aureliana', + 'Aurica', + 'Aurora', + 'Beatrice', + 'Betina', + 'Bianca', + 'Blanduzia', + 'Bogdana', + 'Brândușa', + 'Camelia', + 'Carina', + 'Carla', + 'Carmen', + 'Carmina', + 'Carolina', + 'Casandra', + 'Casiana', + 'Caterina', + 'Catinca', + 'Catrina', + 'Catrinel', + 'Cătălina', + 'Cecilia', + 'Celia', + 'Cerasela', + 'Cezara', + 'Cipriana', + 'Clara', + 'Clarisa', + 'Claudia', + 'Clementina', + 'Cleopatra', + 'Codrina', + 'Codruța', + 'Constantina', + 'Constanța', + 'Consuela', + 'Coralia', + 'Corina', + 'Cornelia', + 'Cosmina', + 'Crenguța', + 'Crina', + 'Cristina', + 'Daciana', + 'Dafina', + 'Daiana', + 'Dalia', + 'Dana', + 'Daniela', + 'Daria', + 'Dariana', + 'Delia', + 'Demetra', + 'Denisa', + 'Despina', + 'Diana', + 'Dida', + 'Didina', + 'Dimitrina', + 'Dina', + 'Dochia', + 'Doina', + 'Domnica', + 'Dora', + 'Doriana', + 'Dorina', + 'Dorli', + 'Draga', + 'Dumitra', + 'Dumitrana', + 'Ecaterina', + 'Eftimia', + 'Elena', + 'Eleonora', + 'Eliana', + 'Elisabeta', + 'Elisaveta', + 'Eliza', + 'Elodia', + 'Elvira', + 'Emilia', + 'Emanuela', + 'Erica', + 'Estera', + 'Eufrosina', + 'Eugenia', + 'Eusebia', + 'Eva', + 'Evanghelina', + 'Evelina', + 'Fabia', + 'Fabiana', + 'Felicia', + 'Filofteia', + 'Fiona', + 'Flavia', + 'Floare', + 'Floarea', + 'Flora', + 'Floriana', + 'Florica', + 'Florina', + 'Florentina', + 'Florența', + 'Francesca', + 'Frusina', + 'Gabriela', + 'Geanina', + 'Gențiana', + 'Georgeta', + 'Georgia', + 'Georgiana', + 'Geta', + 'Gherghina', + 'Gianina', + 'Gina', + 'Giorgiana', + 'Grațiana', + 'Grațiela', + 'Hortensia', + 'Henrieta', + 'Heracleea', + 'Iasmina', + 'Ica', + 'Ileana', + 'Ilinca', + 'Ilona', + 'Ina', + 'Ioana', + 'Ioanina', + 'Iolanda', + 'Ionela', + 'Ionelia', + 'Iosefina', + 'Irina', + 'Iridenta', + 'Iris', + 'Isabela', + 'Iulia', + 'Iuliana', + 'Iustina', + 'Ivona', + 'Izabela', + 'Jana', + 'Janeta', + 'Janina', + 'Jasmina', + 'Jeana', + 'Julia', + 'Julieta', + 'Larisa', + 'Laura', + 'Laurenția', + 'Lavinia', + 'Lăcrămioara', + 'Leana', + 'Lelia', + 'Leontina', + 'Leopoldina', + 'Letiția', + 'Lia', + 'Liana', + 'Lidia', + 'Ligia', + 'Lili', + 'Liliana', + 'Lioara', + 'Livia', + 'Loredana', + 'Lorelei', + 'Lorena', + 'Luana', + 'Lucia', + 'Luciana', + 'Lucreția', + 'Ludovica', + 'Ludmila', + 'Luiza', + 'Luminița', + 'Magdalena', + 'Maia', + 'Manuela', + 'Mara', + 'Marcela', + 'Marga', + 'Margareta', + 'Marcheta', + 'Maria', + 'Mariana', + 'Maricica', + 'Marilena', + 'Marina', + 'Marinela', + 'Marioara', + 'Marta', + 'Matilda', + 'Malvina', + 'Mădălina', + 'Mălina', + 'Mărioara', + 'Măriuca', + 'Melania', + 'Melina', + 'Mihaela', + 'Milena', + 'Mina', + 'Minodora', + 'Mioara', + 'Mirabela', + 'Mirela', + 'Mirona', + 'Miruna', + 'Mona', + 'Monalisa', + 'Monica', + 'Nadia', + 'Narcisa', + 'Natalia', + 'Natașa', + 'Noemi', + 'Nicoleta', + 'Niculina', + 'Nidia', + 'Nora', + 'Norica', + 'Oana', + 'Octavia', + 'Octaviana', + 'Ofelia', + 'Olga', + 'Olimpia', + 'Olivia', + 'Ortansa', + 'Otilia', + 'Ozana', + 'Pamela', + 'Paraschiva', + 'Paula', + 'Paulica', + 'Paulina', + 'Patricia', + 'Petronela', + 'Petruța', + 'Pompilia', + 'Profira', + 'Rada', + 'Rafila', + 'Raluca', + 'Ramona', + 'Rebeca', + 'Renata', + 'Rica', + 'Roberta', + 'Robertina', + 'Rodica', + 'Romanița', + 'Romina', + 'Roza', + 'Rozalia', + 'Roxana', + 'Roxelana', + 'Ruxanda', + 'Ruxandra', + 'Sabina', + 'Sabrina', + 'Safta', + 'Salomea', + 'Sanda', + 'Saveta', + 'Savina', + 'Sânziana', + 'Semenica', + 'Severina', + 'Sidonia', + 'Silvia', + 'Silvana', + 'Silviana', + 'Simina', + 'Simona', + 'Smaranda', + 'Sofia', + 'Sonia', + 'Sorana', + 'Sorina', + 'Speranța', + 'Stana', + 'Stanca', + 'Stela', + 'Steliana', + 'Steluța', + 'Suzana', + 'Svetlana', + 'Ștefana', + 'Ștefania', + 'Tamara', + 'Tania', + 'Tatiana', + 'Teea', + 'Teodora', + 'Teodosia', + 'Teona', + 'Tiberia', + 'Timea', + 'Tinca', + 'Tincuța', + 'Tudora', + 'Tudorița', + 'Tudosia', + 'Valentina', + 'Valeria', + 'Vanesa', + 'Varvara', + 'Vasilica', + 'Venera', + 'Vera', + 'Veronica', + 'Veta', + 'Vicenția', + 'Victoria', + 'Violeta', + 'Viorela', + 'Viorica', + 'Virginia', + 'Viviana', + 'Voichița', + 'Xenia', + 'Zaharia', + 'Zamfira', + 'Zaraza', + 'Zenobia', + 'Zenovia', + 'Zina', + 'Zoe', + ]; + + //http://ro.wikipedia.org/wiki/List%C4%83_de_prenume_rom%C3%A2ne%C8%99ti#Feminine + protected static $firstNameMale = [ + 'Achim', + 'Adam', + 'Adelin', + 'Adonis', + 'Adrian', + 'Adi', + 'Agnos', + 'Albert', + 'Alex', + 'Alexandru', + 'Alexe', + 'Aleodor', + 'Alin', + 'Alistar', + 'Amedeu', + 'Amza', + 'Anatolie', + 'Andrei', + 'Angel', + 'Anghel', + 'Antim', + 'Anton', + 'Antonie', + 'Antoniu', + 'Arian', + 'Aristide', + 'Arsenie', + 'Augustin', + 'Aurel', + 'Aurelian', + 'Aurică', + 'Avram', + 'Axinte', + 'Barbu', + 'Bartolomeu', + 'Basarab', + 'Bănel', + 'Bebe', + 'Beniamin', + 'Benone', + 'Bernard', + 'Bogdan', + 'Brăduț', + 'Bucur', + 'Caius', + 'Camil', + 'Cantemir', + 'Carol', + 'Casian', + 'Cazimir', + 'Călin', + 'Cătălin', + 'Cedrin', + 'Cezar', + 'Ciprian', + 'Claudiu', + 'Codin', + 'Codrin', + 'Codruț', + 'Cornel', + 'Corneliu', + 'Corvin', + 'Constantin', + 'Cosmin', + 'Costache', + 'Costel', + 'Costin', + 'Crin', + 'Cristea', + 'Cristian', + 'Cristobal', + 'Cristofor', + 'Dacian', + 'Damian', + 'Dan', + 'Daniel', + 'Darius', + 'David', + 'Decebal', + 'Denis', + 'Dinu', + 'Dominic', + 'Dorel', + 'Dorian', + 'Dorin', + 'Dorinel', + 'Doru', + 'Dragoș', + 'Ducu', + 'Dumitru', + 'Edgar', + 'Edmond', + 'Eduard', + 'Eftimie', + 'Emil', + 'Emilian', + 'Emanoil', + 'Emanuel', + 'Emanuil', + 'Eremia', + 'Eric', + 'Ernest', + 'Eugen', + 'Eusebiu', + 'Eustațiu', + 'Fabian', + 'Felix', + 'Filip', + 'Fiodor', + 'Flaviu', + 'Florea', + 'Florentin', + 'Florian', + 'Florin', + 'Francisc', + 'Frederic', + 'Gabi', + 'Gabriel', + 'Gelu', + 'George', + 'Georgel', + 'Georgian', + 'Ghenadie', + 'Gheorghe', + 'Gheorghiță', + 'Ghiță', + 'Gică', + 'Gicu', + 'Giorgian', + 'Grațian', + 'Gregorian', + 'Grigore', + 'Haralamb', + 'Haralambie', + 'Horațiu', + 'Horea', + 'Horia', + 'Iacob', + 'Iancu', + 'Ianis', + 'Ieremia', + 'Ilarie', + 'Ilarion', + 'Ilie', + 'Inocențiu', + 'Ioan', + 'Ion', + 'Ionel', + 'Ionică', + 'Ionuț', + 'Iosif', + 'Irinel', + 'Iulian', + 'Iuliu', + 'Iurie', + 'Iustin', + 'Iustinian', + 'Ivan', + 'Jan', + 'Jean', + 'Jenel', + 'Ladislau', + 'Lascăr', + 'Laurențiu', + 'Laurian', + 'Lazăr', + 'Leonard', + 'Leontin', + 'Lică', + 'Liviu', + 'Lorin', + 'Luca', + 'Lucențiu', + 'Lucian', + 'Lucrețiu', + 'Ludovic', + 'Manole', + 'Marcel', + 'Marcu', + 'Marian', + 'Marin', + 'Marius', + 'Martin', + 'Matei', + 'Maxim', + 'Maximilian', + 'Mădălin', + 'Mihai', + 'Mihail', + 'Mihnea', + 'Mircea', + 'Miron', + 'Mitică', + 'Mitruț', + 'Mugur', + 'Mugurel', + 'Nae', + 'Narcis', + 'Nechifor', + 'Nelu', + 'Nichifor', + 'Nicoară', + 'Nicodim', + 'Nicolae', + 'Nicolaie', + 'Nicu', + 'Nicuță', + 'Niculiță', + 'Nicușor', + 'Norbert', + 'Norman', + 'Octav', + 'Octavian', + 'Octaviu', + 'Olimpian', + 'Olimpiu', + 'Oliviu', + 'Ovidiu', + 'Pamfil', + 'Panait', + 'Panagachie', + 'Paul', + 'Pavel', + 'Pătru', + 'Petre', + 'Petrică', + 'Petrișor', + 'Petru', + 'Petruț', + 'Pompiliu', + 'Radu', + 'Rafael', + 'Rareș', + 'Raul', + 'Răducu', + 'Răzvan', + 'Relu', + 'Remus', + 'Robert', + 'Romeo', + 'Romulus', + 'Sabin', + 'Sandu', + 'Sava', + 'Sebastian', + 'Sergiu', + 'Sever', + 'Severin', + 'Silvian', + 'Silviu', + 'Simi', + 'Simion', + 'Sinică', + 'Sorin', + 'Stan', + 'Stancu', + 'Stelian', + 'Sandu', + 'Șerban', + 'Ștefan', + 'Teodor', + 'Teofil', + 'Teohari', + 'Theodor', + 'Tiberiu', + 'Timotei', + 'Titus', + 'Todor', + 'Toma', + 'Traian', + 'Tudor', + 'Valentin', + 'Valeriu', + 'Valter', + 'Vasile', + 'Vasilică', + 'Veniamin', + 'Vicențiu', + 'Victor', + 'Vincențiu', + 'Viorel', + 'Visarion', + 'Vlad', + 'Vladimir', + 'Vlaicu', + 'Voicu', + 'Zamfir', + 'Zeno', + ]; + + //courtesy of Florin LIPAN, at nume.ottomotor.ro + protected static $lastName = [ + 'Achim', + 'Adam', + 'Albu', + 'Aldea', + 'Alexa', + 'Alexandrescu', + 'Alexandru', + 'Alexe', + 'Andrei', + 'Anghel', + 'Antal', + 'Anton', + 'Apostol', + 'Ardelean', + 'Ardeleanu', + 'Avram', + 'Baciu', + 'Badea', + 'Balan', + 'Balint', + 'Banica', + 'Banu', + 'Barbu', + 'Barbulescu', + 'Bejan', + 'Biro', + 'Blaga', + 'Boboc', + 'Bodea', + 'Bogdan', + 'Bota', + 'Botezatu', + 'Bratu', + 'Bucur', + 'Buda', + 'Bunea', + 'Burlacu', + 'Calin', + 'Catana', + 'Cazacu', + 'Chiriac', + 'Chirila', + 'Chirita', + 'Chis', + 'Chivu', + 'Ciobanu', + 'Ciocan', + 'Cojocaru', + 'Coman', + 'Constantin', + 'Constantinescu', + 'Cornea', + 'Cosma', + 'Costache', + 'Costea', + 'Costin', + 'Covaci', + 'Cozma', + 'Craciun', + 'Cretu', + 'Crisan', + 'Cristea', + 'Cristescu', + 'Croitoru', + 'Cucu', + 'Damian', + 'Dan', + 'Danciu', + 'Danila', + 'Dascalu', + 'David', + 'Diaconescu', + 'Diaconu', + 'Dima', + 'Dinca', + 'Dinu', + 'Dobre', + 'Dobrescu', + 'Dogaru', + 'Dragan', + 'Draghici', + 'Dragoi', + 'Dragomir', + 'Dumitrache', + 'Dumitrascu', + 'Dumitrescu', + 'Dumitriu', + 'Dumitru', + 'Duta', + 'Enache', + 'Ene', + 'Farcas', + 'Filimon', + 'Filip', + 'Florea', + 'Florescu', + 'Fodor', + 'Fratila', + 'Gabor', + 'Gal', + 'Ganea', + 'Gavrila', + 'Georgescu', + 'Gheorghe', + 'Gheorghita', + 'Gheorghiu', + 'Gherman', + 'Ghita', + 'Giurgiu', + 'Grecu', + 'Grigoras', + 'Grigore', + 'Grigorescu', + 'Grosu', + 'Groza', + 'Horvath', + 'Iacob', + 'Iancu', + 'Ichim', + 'Ignat', + 'Ilie', + 'Iliescu', + 'Ion', + 'Ionescu', + 'Ionita', + 'Iordache', + 'Iorga', + 'Iosif', + 'Irimia', + 'Ispas', + 'Istrate', + 'Ivan', + 'Ivascu', + 'Kiss', + 'Kovacs', + 'Lazar', + 'Luca', + 'Lungu', + 'Lupu', + 'Macovei', + 'Maftei', + 'Man', + 'Manea', + 'Manolache', + 'Manole', + 'Marcu', + 'Marginean', + 'Marian', + 'Marin', + 'Marinescu', + 'Martin', + 'Mateescu', + 'Matei', + 'Maxim', + 'Mazilu', + 'Micu', + 'Mihai', + 'Mihaila', + 'Mihailescu', + 'Mihalache', + 'Mihalcea', + 'Milea', + 'Militaru', + 'Mircea', + 'Mirea', + 'Miron', + 'Miu', + 'Mocanu', + 'Moga', + 'Moise', + 'Moldovan', + 'Moldoveanu', + 'Molnar', + 'Morar', + 'Moraru', + 'Muntean', + 'Munteanu', + 'Muresan', + 'Musat', + 'Nagy', + 'Nastase', + 'Neacsu', + 'Neagoe', + 'Neagu', + 'Neamtu', + 'Nechita', + 'Necula', + 'Nedelcu', + 'Negoita', + 'Negrea', + 'Negru', + 'Nemes', + 'Nica', + 'Nicoara', + 'Nicolae', + 'Nicolescu', + 'Niculae', + 'Niculescu', + 'Nistor', + 'Nita', + 'Nitu', + 'Oancea', + 'Olariu', + 'Olaru', + 'Oltean', + 'Olteanu', + 'Oprea', + 'Opris', + 'Paduraru', + 'Pana', + 'Panait', + 'Paraschiv', + 'Parvu', + 'Pasca', + 'Pascu', + 'Patrascu', + 'Paun', + 'Pavel', + 'Petcu', + 'Peter', + 'Petre', + 'Petrea', + 'Petrescu', + 'Pintea', + 'Pintilie', + 'Pirvu', + 'Pop', + 'Popa', + 'Popescu', + 'Popovici', + 'Preda', + 'Prodan', + 'Puiu', + 'Radoi', + 'Radu', + 'Radulescu', + 'Roman', + 'Rosca', + 'Rosu', + 'Rotaru', + 'Rus', + 'Rusu', + 'Sabau', + 'Sandor', + 'Sandu', + 'Sarbu', + 'Sava', + 'Savu', + 'Serban', + 'Sima', + 'Simion', + 'Simionescu', + 'Simon', + 'Sirbu', + 'Soare', + 'Solomon', + 'Staicu', + 'Stan', + 'Stanciu', + 'Stancu', + 'Stanescu', + 'Stefan', + 'Stefanescu', + 'Stoian', + 'Stoica', + 'Stroe', + 'Suciu', + 'Szabo', + 'Szasz', + 'Szekely', + 'Tamas', + 'Tanase', + 'Tataru', + 'Teodorescu', + 'Toader', + 'Toma', + 'Tomescu', + 'Toth', + 'Trandafir', + 'Trif', + 'Trifan', + 'Tudor', + 'Tudorache', + 'Tudose', + 'Turcu', + 'Ungureanu', + 'Ursu', + 'Vaduva', + 'Varga', + 'Vasile', + 'Vasilescu', + 'Vasiliu', + 'Veres', + 'Vintila', + 'Visan', + 'Vlad', + 'Voicu', + 'Voinea', + 'Zaharia', + 'Zamfir', + ]; + + protected static $titleMale = [ 'dl.', 'ing.', 'dr.' ]; + protected static $titleFemale = [ 'd-na.', 'd-șoara', 'ing.', 'dr.' ]; + + protected static $cnpCountyCodes = [ + 'AB' => '01', + 'AR' => '02', + 'AG' => '03', + 'B' => '40', + 'BC' => '04', + 'BH' => '05', + 'BN' => '06', + 'BT' => '07', + 'BV' => '08', + 'BR' => '09', + 'BZ' => '10', + 'CS' => '11', + 'CL' => '51', + 'CJ' => '12', + 'CT' => '13', + 'CV' => '14', + 'DB' => '15', + 'DJ' => '16', + 'GL' => '17', + 'GR' => '52', + 'GJ' => '18', + 'HR' => '19', + 'HD' => '20', + 'IL' => '21', + 'IS' => '22', + 'IF' => '23', + 'MM' => '24', + 'MH' => '25', + 'MS' => '26', + 'NT' => '27', + 'OT' => '28', + 'PH' => '29', + 'SM' => '30', + 'SJ' => '31', + 'SB' => '32', + 'SV' => '33', + 'TR' => '34', + 'TM' => '35', + 'TL' => '36', + 'VS' => '37', + 'VL' => '38', + 'VN' => '39', + + 'B1' => '41', + 'B2' => '42', + 'B3' => '43', + 'B4' => '44', + 'B5' => '45', + 'B6' => '46', + ]; + + /** + * Personal Numerical Code (CNP) + * + * @see http://ro.wikipedia.org/wiki/Cod_numeric_personal + * + * @example 1111111111118 + * + * @param string|null $gender Person::GENDER_MALE or Person::GENDER_FEMALE + * @param string|null $dateOfBirth (1800-2099) 'Y-m-d', 'Y-m', 'Y' I.E. '1981-06-16', '2085-03', '1900' + * @param string|null $county county code where the CNP was issued + * @param bool|null $isResident flag if the person resides in Romania + * + * @return string 13 digits CNP code + */ + public function cnp( $gender = null, $dateOfBirth = null, $county = null, $isResident = true ) { + $genders = [ Person::GENDER_MALE, Person::GENDER_FEMALE ]; + + if ( empty( $gender ) ) { + $gender = static::randomElement( $genders ); + } elseif ( ! in_array( $gender, $genders, false ) ) { + throw new \InvalidArgumentException( "Gender must be '{Person::GENDER_MALE}' or '{Person::GENDER_FEMALE}'" ); + } + + $date = $this->getDateOfBirth( $dateOfBirth ); + + if ( null === $county ) { + $countyCode = static::randomElement( array_values( static::$cnpCountyCodes ) ); + } elseif ( ! array_key_exists( $county, static::$cnpCountyCodes ) ) { + throw new \InvalidArgumentException( "Invalid county code '{$county}' received" ); + } else { + $countyCode = static::$cnpCountyCodes[ $county ]; + } + + $cnp = (string) $this->getGenderDigit( $date, $gender, $isResident ) + . $date->format( 'ymd' ) + . $countyCode + . static::numerify( '##%' ); + + $checksum = $this->getChecksumDigit( $cnp ); + + return $cnp . $checksum; + } + + /** + * @param string|null $dateOfBirth + * + * @return \DateTime + */ + protected function getDateOfBirth( $dateOfBirth ) { + if ( empty( $dateOfBirth ) ) { + $dateOfBirthParts = [ self::numberBetween( 1800, 2099 ) ]; + } else { + $dateOfBirthParts = explode( '-', $dateOfBirth ); + } + $baseDate = \Faker\Provider\DateTime::dateTimeBetween( "first day of January {$dateOfBirthParts[0]}", "last day of December {$dateOfBirthParts[0]}" ); + + switch ( count( $dateOfBirthParts ) ) { + case 1: + $dateOfBirthParts[] = $baseDate->format( 'm' ); + //don't break, we need the day also + // no break + case 2: + $dateOfBirthParts[] = $baseDate->format( 'd' ); + //don't break, next line will + // no break + case 3: + break; + + default: + throw new \InvalidArgumentException( "Invalid date of birth - must be null or in the 'Y-m-d', 'Y-m', 'Y' format" ); + } + + if ( $dateOfBirthParts[0] < 1800 || $dateOfBirthParts[0] > 2099 ) { + throw new \InvalidArgumentException( "Invalid date of birth - year must be between 1800 and 2099, '{$dateOfBirthParts[0]}' received" ); + } + + $dateOfBirthFinal = implode( '-', $dateOfBirthParts ); + $date = \DateTime::createFromFormat( 'Y-m-d', $dateOfBirthFinal ); + //a full (invalid) date might have been supplied, check if it converts + if ( $date->format( 'Y-m-d' ) !== $dateOfBirthFinal ) { + throw new \InvalidArgumentException( "Invalid date of birth - '{$date->format('Y-m-d')}' generated based on '{$dateOfBirth}' received" ); + } + + return $date; + } + + /** + * https://ro.wikipedia.org/wiki/Cod_numeric_personal#S + * + * @param bool $isResident + * @param string $gender + * + * @return int + */ + protected static function getGenderDigit( \DateTime $dateOfBirth, $gender, $isResident ) { + if ( ! $isResident ) { + return 9; + } + + if ( $dateOfBirth->format( 'Y' ) < 1900 ) { + if ( $gender == Person::GENDER_MALE ) { + return 3; + } + + return 4; + } + + if ( $dateOfBirth->format( 'Y' ) < 2000 ) { + if ( $gender == Person::GENDER_MALE ) { + return 1; + } + + return 2; + } + + if ( $gender == Person::GENDER_MALE ) { + return 5; + } + + return 6; + } + + /** + * Calculates a checksum for the Personal Numerical Code (CNP). + * + * @param string $value 12 digit CNP + * + * @return int checksum digit + */ + protected function getChecksumDigit( $value ) { + $checkNumber = 279146358279; + + $checksum = 0; + + foreach ( range( 0, 11 ) as $digit ) { + $checksum += (int) substr( $value, $digit, 1 ) * (int) substr( $checkNumber, $digit, 1 ); + } + $checksum = $checksum % 11; + + return $checksum == 10 ? 1 : $checksum; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/PhoneNumber.php index 01c5859..1ef0a8e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/PhoneNumber.php @@ -2,61 +2,57 @@ namespace Faker\Provider\ro_RO; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $normalFormats = [ - 'landline' => [ - '021#######', // Bucharest - '023#######', - '024#######', - '025#######', - '026#######', - '027#######', // non-geographic - '031#######', // Bucharest - '033#######', - '034#######', - '035#######', - '036#######', - '037#######', // non-geographic - ], - 'mobile' => [ - '07########', - ], - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $normalFormats = [ + 'landline' => [ + '021#######', // Bucharest + '023#######', + '024#######', + '025#######', + '026#######', + '027#######', // non-geographic + '031#######', // Bucharest + '033#######', + '034#######', + '035#######', + '036#######', + '037#######', // non-geographic + ], + 'mobile' => [ + '07########', + ], + ]; - protected static $specialFormats = [ - 'toll-free' => [ - '0800######', - '0801######', // shared-cost numbers - '0802######', // personal numbering - '0806######', // virtual cards - '0807######', // pre-paid cards - '0870######', // internet dial-up - ], - 'premium-rate' => [ - '0900######', - '0903######', // financial information - '0906######', // adult entertainment - ], - ]; + protected static $specialFormats = [ + 'toll-free' => [ + '0800######', + '0801######', // shared-cost numbers + '0802######', // personal numbering + '0806######', // virtual cards + '0807######', // pre-paid cards + '0870######', // internet dial-up + ], + 'premium-rate' => [ + '0900######', + '0903######', // financial information + '0906######', // adult entertainment + ], + ]; - /** - * @see http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania#Last_years - */ - public function phoneNumber() - { - $type = static::randomElement(array_keys(static::$normalFormats)); + /** + * @see http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania#Last_years + */ + public function phoneNumber() { + $type = static::randomElement( array_keys( static::$normalFormats ) ); - return static::numerify(static::randomElement(static::$normalFormats[$type])); - } + return static::numerify( static::randomElement( static::$normalFormats[ $type ] ) ); + } - public static function tollFreePhoneNumber() - { - return static::numerify(static::randomElement(static::$specialFormats['toll-free'])); - } + public static function tollFreePhoneNumber() { + return static::numerify( static::randomElement( static::$specialFormats['toll-free'] ) ); + } - public static function premiumRatePhoneNumber() - { - return static::numerify(static::randomElement(static::$specialFormats['premium-rate'])); - } + public static function premiumRatePhoneNumber() { + return static::numerify( static::randomElement( static::$specialFormats['premium-rate'] ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Text.php index 1e40597..4d79a96 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ro_RO/Text.php @@ -2,20 +2,19 @@ namespace Faker\Provider\ro_RO; -class Text extends \Faker\Provider\Text -{ - /** - * Title: Neghiniţă - * Author: Barbu Ştefănescu Delavrancea - * - * Language: Romanian - * - * @see https://creativecommons.org/licenses/by-sa/3.0/deed.en - * @see https://ro.wikisource.org/wiki/Neghini%C8%9B%C4%83 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * Title: Neghiniţă + * Author: Barbu Ştefănescu Delavrancea + * + * Language: Romanian + * + * @see https://creativecommons.org/licenses/by-sa/3.0/deed.en + * @see https://ro.wikisource.org/wiki/Neghini%C8%9B%C4%83 + * + * @var string + */ + protected static $baseText = <<<'EOT' A fost odată o babă, bătrână, bătrână. Abia zărea de bătrână ce era. Şi mâinile îi umblau la ciorap, iar în gândul ei se ruga la Dumnezeu s-o dăruiască cu un copil, că n-avea decât pe unchiaşul ei. Şi unchiaşul, ba la pădure, ba la arie, ba la târg, iar baba sta singură cuc, că toată ziulica i-ar fi ţiuit tăcerea în fundul urechilor dacă n-ar fi strănutat şi n-ar fi tuşit câteodată. Ba uneori, ca să-şi mai ţie de urât, tot ea vorbea şi tot ea răspundea. Şi râdea ea de ea, ca şi cum ar fi râs ea de altcineva, înşirând ochiurile pe cârlige. - Ei, ei, ce n-ar plăti un flăcău la bătrâneţile noastre! diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Address.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Address.php index 7f2ba69..bc79f60 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Address.php @@ -2,138 +2,439 @@ namespace Faker\Provider\ru_RU; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['город']; - - protected static $regionSuffix = ['область']; - protected static $streetPrefix = [ - 'пер.', 'ул.', 'пр.', 'шоссе', 'пл.', 'бульвар', - 'въезд', 'спуск', 'проезд', 'наб.', - ]; - - protected static $buildingNumber = ['%#']; - protected static $postcode = ['######']; - - /** - * @see https://ru.wikipedia.org/wiki/Общероссийский_классификатор_стран_мира#Список_стран_согласно_Классификатору - */ - protected static $country = [ - 'Абхазия', 'Австралия', 'Австрия', 'Азербайджан', 'Албания', 'Алжир', 'Американское Самоа', 'Ангилья', 'Ангола', 'Андорра', 'Антарктида', 'Антигуа и Барбуда', 'Аргентина', 'Армения', 'Аруба', 'Афганистан', - 'Багамы', 'Бангладеш', 'Барбадос', 'Бахрейн', 'Беларусь', 'Белиз', 'Бельгия', 'Бенин', 'Бермуды', 'Болгария', 'Боливия', 'Бонэйр, Синт-Эстатиус и Саба', 'Босния и Герцеговина', 'Ботсвана', 'Бразилия', 'Британская Территория в Индийском Океане', 'Британские Виргинские Острова', 'Бруней', 'Буркина-Фасо', 'Бурунди', 'Бутан', - 'Вануату', 'Ватикан', 'Венгрия', 'Венесуэла', 'Великобритания', 'Виргинские Острова Соединённых Штатов', 'Вьетнам', - 'Габон', 'Гаити', 'Гайана', 'Гамбия', 'Гана', 'Гваделупа', 'Гватемала', 'Гвинея', 'Гвинея-Бисау', 'Германия', 'Гернси', 'Гибралтар', 'Гондурас', 'Гонконг', 'Гренада', 'Гренландия', 'Греция', 'Грузия', 'Гуам', - 'Дания', 'Демократическая Республика Конго', 'Джерси', 'Джибути', 'Доминика', 'Доминиканская Республика', - 'Египет', - 'Замбия', 'Западная Сахара', 'Зимбабве', - 'Израиль', 'Индия', 'Индонезия', 'Иордания', 'Ирак', 'Иран', 'Ирландия', 'Исландия', 'Испания', 'Италия', - 'Йемен', - 'Кабо-Верде', 'Казахстан', 'Камбоджа', 'Камерун', 'Канада', 'Катар', 'Кения', 'Кипр', 'Киргизия', 'Кирибати', 'Китай', 'Кокосовые острова', 'Колумбия', 'Коморы', 'Конго', 'Корейская Народно-Демократическая Республика', 'Корея', 'Коста-Рика', 'Кот-д\'Ивуар', 'Куба', 'Кувейт', 'Кюрасао', - 'Лаос', 'Латвия', 'Лесото', 'Либерия', 'Ливан', 'Ливия', 'Литва', 'Лихтенштейн', 'Люксембург', - 'Маврикий', 'Мавритания', 'Мадагаскар', 'Майотта', 'Макао', 'Малави', 'Малайзия', 'Мали', 'Малые Тихоокеанские Отдаленные Острова Соединенных Штатов', 'Мальдивы', 'Мальта', 'Марокко', 'Мартиника', 'Маршалловы Острова', 'Мексика', 'Микронезия', 'Мозамбик', 'Молдова', 'Монако', 'Монголия', 'Монтсеррат', 'Мьянма', - 'Намибия', 'Науру', 'Непал', 'Нигер', 'Нигерия', 'Нидерланды', 'Никарагуа', 'Ниуэ', 'Новая Зеландия', 'Новая Каледония', 'Норвегия', - 'Объединенные Арабские Эмираты', 'Оман', 'Острова Кайман', 'Острова Кука', 'Острова Теркс и Кайкос', 'Остров Буве', 'Остров Мэн', 'Остров Норфолк', 'Остров Рождества', 'Остров Херд и Острова Макдональд', - 'Пакистан', 'Палау', 'Палестина', 'Панама', 'Папуа-Новая Гвинея', 'Парагвай', 'Перу', 'Питкерн', 'Польша', 'Португалия', 'Пуэрто-Рико', - 'Республика Македония', 'Реюньон', 'Россия', 'Руанда', 'Румыния', - 'Самоа', 'Сан-Марино', 'Сан-Томе и Принсипи', 'Саудовская Аравия', 'Свазиленд', 'Святая Елена, Остров Вознесения, Тристан-да-кунья', 'Северные Марианские Острова', 'Сейшелы', 'Сен-Бартелеми', 'Сен-Мартен', 'Сенегал', 'Сент-Винсент и Гренадины', 'Сент-Китс и Невис', 'Сент-Люсия', 'Сент-Пьер и Микелон', 'Сербия', 'Сингапур', 'Сирийская Арабская Республика', 'Словакия', 'Словения', 'Соединенные Штаты Америки', 'Соломоновы Острова', 'Сомали', 'Судан', 'Суринам', 'Сьерра-Леоне', - 'Таджикистан', 'Таиланд', 'Тайвань', 'Танзания', 'Тимор-лесте', 'Того', 'Токелау', 'Тонга', 'Тринидад и Тобаго', 'Тувалу', 'Тунис', 'Туркмения', 'Турция', - 'Уганда', 'Узбекистан', 'Украина', 'Уоллис и Футуна', 'Уругвай', - 'Фарерские острова', 'Фиджи', 'Филиппины', 'Финляндия', 'Фолклендские острова', 'Франция', 'Французская Гвиана', 'Французская Полинезия', 'Французские Южные Территории', - 'Хорватия', - 'Центрально-Африканская Республика', - 'Чад', 'Черногория', 'Чехия', 'Чили', - 'Швейцария', 'Швеция', 'Шпицберген и Ян-Майен', 'Шри-Ланка', - 'Эквадор', 'Экваториальная Гвинея', 'Эландские Острова', 'Эль-Сальвадор', 'Эритрея', 'Эстония', 'Эфиопия', - 'Южная Африка', 'Южная Джорджия и Южные Сандвичевы Острова', 'Южная Осетия', 'Южный Судан', - 'Ямайка', 'Япония', - ]; - - protected static $region = [ - 'Амурская', 'Архангельская', 'Астраханская', 'Белгородская', 'Брянская', - 'Владимирская', 'Волгоградская', 'Вологодская', 'Воронежская', 'Ивановская', - 'Иркутская', 'Калининградская', 'Калужская', 'Кемеровская', 'Кировская', - 'Костромская', 'Курганская', 'Курская', 'Ленинградская', 'Липецкая', - 'Магаданская', 'Московская', 'Мурманская', 'Нижегородская', 'Новгородская', - 'Новосибирская', 'Омская', 'Оренбургская', 'Орловская', 'Пензенская', - 'Псковская', 'Ростовская', 'Рязанская', 'Самарская', 'Саратовская', - 'Сахалинская', 'Свердловская', 'Смоленская', 'Тамбовская', 'Тверская', - 'Томская', 'Тульская', 'Тюменская', 'Ульяновская', 'Челябинская', - 'Читинская', 'Ярославская', - ]; - - protected static $city = [ - 'Балашиха', 'Видное', 'Волоколамск', 'Воскресенск', 'Дмитров', - 'Домодедово', 'Дорохово', 'Егорьевск', 'Зарайск', 'Истра', - 'Кашира', 'Клин', 'Коломна', 'Красногорск', 'Лотошино', - 'Луховицы', 'Люберцы', 'Можайск', 'Москва', 'Мытищи', - 'Наро-Фоминск', 'Ногинск', 'Одинцово', 'Озёры', 'Орехово-Зуево', - 'Павловский Посад', 'Подольск', 'Пушкино', 'Раменское', 'Сергиев Посад', - 'Серебряные Пруды', 'Серпухов', 'Солнечногорск', 'Ступино', 'Талдом', - 'Чехов', 'Шатура', 'Шаховская', 'Щёлково', - ]; - - protected static $street = [ - 'Косиора', 'Ладыгина', 'Ленина', 'Ломоносова', 'Домодедовская', 'Гоголя', '1905 года', 'Чехова', 'Сталина', - 'Космонавтов', 'Гагарина', 'Славы', 'Бухарестская', 'Будапештсткая', 'Балканская', - ]; - - protected static $addressFormats = [ - '{{postcode}}, {{region}} {{regionSuffix}}, {{cityPrefix}} {{city}}, {{streetPrefix}} {{street}}, {{buildingNumber}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetPrefix}} {{street}}, {{buildingNumber}}', - ]; - - public static function buildingNumber() - { - return static::numerify(static::randomElement(static::$buildingNumber)); - } - - public function address() - { - $format = static::randomElement(static::$addressFormats); - - return $this->generator->parse($format); - } - - public static function country() - { - return static::randomElement(static::$country); - } - - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } - - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } - - public static function region() - { - return static::randomElement(static::$region); - } - - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - public function city() - { - return static::randomElement(static::$city); - } - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'город' ]; + + protected static $regionSuffix = [ 'область' ]; + protected static $streetPrefix = [ + 'пер.', + 'ул.', + 'пр.', + 'шоссе', + 'пл.', + 'бульвар', + 'въезд', + 'спуск', + 'проезд', + 'наб.', + ]; + + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ '######' ]; + + /** + * @see https://ru.wikipedia.org/wiki/Общероссийский_классификатор_стран_мира#Список_стран_согласно_Классификатору + */ + protected static $country = [ + 'Абхазия', + 'Австралия', + 'Австрия', + 'Азербайджан', + 'Албания', + 'Алжир', + 'Американское Самоа', + 'Ангилья', + 'Ангола', + 'Андорра', + 'Антарктида', + 'Антигуа и Барбуда', + 'Аргентина', + 'Армения', + 'Аруба', + 'Афганистан', + 'Багамы', + 'Бангладеш', + 'Барбадос', + 'Бахрейн', + 'Беларусь', + 'Белиз', + 'Бельгия', + 'Бенин', + 'Бермуды', + 'Болгария', + 'Боливия', + 'Бонэйр, Синт-Эстатиус и Саба', + 'Босния и Герцеговина', + 'Ботсвана', + 'Бразилия', + 'Британская Территория в Индийском Океане', + 'Британские Виргинские Острова', + 'Бруней', + 'Буркина-Фасо', + 'Бурунди', + 'Бутан', + 'Вануату', + 'Ватикан', + 'Венгрия', + 'Венесуэла', + 'Великобритания', + 'Виргинские Острова Соединённых Штатов', + 'Вьетнам', + 'Габон', + 'Гаити', + 'Гайана', + 'Гамбия', + 'Гана', + 'Гваделупа', + 'Гватемала', + 'Гвинея', + 'Гвинея-Бисау', + 'Германия', + 'Гернси', + 'Гибралтар', + 'Гондурас', + 'Гонконг', + 'Гренада', + 'Гренландия', + 'Греция', + 'Грузия', + 'Гуам', + 'Дания', + 'Демократическая Республика Конго', + 'Джерси', + 'Джибути', + 'Доминика', + 'Доминиканская Республика', + 'Египет', + 'Замбия', + 'Западная Сахара', + 'Зимбабве', + 'Израиль', + 'Индия', + 'Индонезия', + 'Иордания', + 'Ирак', + 'Иран', + 'Ирландия', + 'Исландия', + 'Испания', + 'Италия', + 'Йемен', + 'Кабо-Верде', + 'Казахстан', + 'Камбоджа', + 'Камерун', + 'Канада', + 'Катар', + 'Кения', + 'Кипр', + 'Киргизия', + 'Кирибати', + 'Китай', + 'Кокосовые острова', + 'Колумбия', + 'Коморы', + 'Конго', + 'Корейская Народно-Демократическая Республика', + 'Корея', + 'Коста-Рика', + 'Кот-д\'Ивуар', + 'Куба', + 'Кувейт', + 'Кюрасао', + 'Лаос', + 'Латвия', + 'Лесото', + 'Либерия', + 'Ливан', + 'Ливия', + 'Литва', + 'Лихтенштейн', + 'Люксембург', + 'Маврикий', + 'Мавритания', + 'Мадагаскар', + 'Майотта', + 'Макао', + 'Малави', + 'Малайзия', + 'Мали', + 'Малые Тихоокеанские Отдаленные Острова Соединенных Штатов', + 'Мальдивы', + 'Мальта', + 'Марокко', + 'Мартиника', + 'Маршалловы Острова', + 'Мексика', + 'Микронезия', + 'Мозамбик', + 'Молдова', + 'Монако', + 'Монголия', + 'Монтсеррат', + 'Мьянма', + 'Намибия', + 'Науру', + 'Непал', + 'Нигер', + 'Нигерия', + 'Нидерланды', + 'Никарагуа', + 'Ниуэ', + 'Новая Зеландия', + 'Новая Каледония', + 'Норвегия', + 'Объединенные Арабские Эмираты', + 'Оман', + 'Острова Кайман', + 'Острова Кука', + 'Острова Теркс и Кайкос', + 'Остров Буве', + 'Остров Мэн', + 'Остров Норфолк', + 'Остров Рождества', + 'Остров Херд и Острова Макдональд', + 'Пакистан', + 'Палау', + 'Палестина', + 'Панама', + 'Папуа-Новая Гвинея', + 'Парагвай', + 'Перу', + 'Питкерн', + 'Польша', + 'Португалия', + 'Пуэрто-Рико', + 'Республика Македония', + 'Реюньон', + 'Россия', + 'Руанда', + 'Румыния', + 'Самоа', + 'Сан-Марино', + 'Сан-Томе и Принсипи', + 'Саудовская Аравия', + 'Свазиленд', + 'Святая Елена, Остров Вознесения, Тристан-да-кунья', + 'Северные Марианские Острова', + 'Сейшелы', + 'Сен-Бартелеми', + 'Сен-Мартен', + 'Сенегал', + 'Сент-Винсент и Гренадины', + 'Сент-Китс и Невис', + 'Сент-Люсия', + 'Сент-Пьер и Микелон', + 'Сербия', + 'Сингапур', + 'Сирийская Арабская Республика', + 'Словакия', + 'Словения', + 'Соединенные Штаты Америки', + 'Соломоновы Острова', + 'Сомали', + 'Судан', + 'Суринам', + 'Сьерра-Леоне', + 'Таджикистан', + 'Таиланд', + 'Тайвань', + 'Танзания', + 'Тимор-лесте', + 'Того', + 'Токелау', + 'Тонга', + 'Тринидад и Тобаго', + 'Тувалу', + 'Тунис', + 'Туркмения', + 'Турция', + 'Уганда', + 'Узбекистан', + 'Украина', + 'Уоллис и Футуна', + 'Уругвай', + 'Фарерские острова', + 'Фиджи', + 'Филиппины', + 'Финляндия', + 'Фолклендские острова', + 'Франция', + 'Французская Гвиана', + 'Французская Полинезия', + 'Французские Южные Территории', + 'Хорватия', + 'Центрально-Африканская Республика', + 'Чад', + 'Черногория', + 'Чехия', + 'Чили', + 'Швейцария', + 'Швеция', + 'Шпицберген и Ян-Майен', + 'Шри-Ланка', + 'Эквадор', + 'Экваториальная Гвинея', + 'Эландские Острова', + 'Эль-Сальвадор', + 'Эритрея', + 'Эстония', + 'Эфиопия', + 'Южная Африка', + 'Южная Джорджия и Южные Сандвичевы Острова', + 'Южная Осетия', + 'Южный Судан', + 'Ямайка', + 'Япония', + ]; + + protected static $region = [ + 'Амурская', + 'Архангельская', + 'Астраханская', + 'Белгородская', + 'Брянская', + 'Владимирская', + 'Волгоградская', + 'Вологодская', + 'Воронежская', + 'Ивановская', + 'Иркутская', + 'Калининградская', + 'Калужская', + 'Кемеровская', + 'Кировская', + 'Костромская', + 'Курганская', + 'Курская', + 'Ленинградская', + 'Липецкая', + 'Магаданская', + 'Московская', + 'Мурманская', + 'Нижегородская', + 'Новгородская', + 'Новосибирская', + 'Омская', + 'Оренбургская', + 'Орловская', + 'Пензенская', + 'Псковская', + 'Ростовская', + 'Рязанская', + 'Самарская', + 'Саратовская', + 'Сахалинская', + 'Свердловская', + 'Смоленская', + 'Тамбовская', + 'Тверская', + 'Томская', + 'Тульская', + 'Тюменская', + 'Ульяновская', + 'Челябинская', + 'Читинская', + 'Ярославская', + ]; + + protected static $city = [ + 'Балашиха', + 'Видное', + 'Волоколамск', + 'Воскресенск', + 'Дмитров', + 'Домодедово', + 'Дорохово', + 'Егорьевск', + 'Зарайск', + 'Истра', + 'Кашира', + 'Клин', + 'Коломна', + 'Красногорск', + 'Лотошино', + 'Луховицы', + 'Люберцы', + 'Можайск', + 'Москва', + 'Мытищи', + 'Наро-Фоминск', + 'Ногинск', + 'Одинцово', + 'Озёры', + 'Орехово-Зуево', + 'Павловский Посад', + 'Подольск', + 'Пушкино', + 'Раменское', + 'Сергиев Посад', + 'Серебряные Пруды', + 'Серпухов', + 'Солнечногорск', + 'Ступино', + 'Талдом', + 'Чехов', + 'Шатура', + 'Шаховская', + 'Щёлково', + ]; + + protected static $street = [ + 'Косиора', + 'Ладыгина', + 'Ленина', + 'Ломоносова', + 'Домодедовская', + 'Гоголя', + '1905 года', + 'Чехова', + 'Сталина', + 'Космонавтов', + 'Гагарина', + 'Славы', + 'Бухарестская', + 'Будапештсткая', + 'Балканская', + ]; + + protected static $addressFormats = [ + '{{postcode}}, {{region}} {{regionSuffix}}, {{cityPrefix}} {{city}}, {{streetPrefix}} {{street}}, {{buildingNumber}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetPrefix}} {{street}}, {{buildingNumber}}', + ]; + + public static function buildingNumber() { + return static::numerify( static::randomElement( static::$buildingNumber ) ); + } + + public function address() { + $format = static::randomElement( static::$addressFormats ); + + return $this->generator->parse( $format ); + } + + public static function country() { + return static::randomElement( static::$country ); + } + + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } + + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } + + public static function region() { + return static::randomElement( static::$region ); + } + + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + public function city() { + return static::randomElement( static::$city ); + } + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Color.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Color.php index d31d120..8178ee9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Color.php @@ -2,22 +2,82 @@ namespace Faker\Provider\ru_RU; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'черный', 'темно-бордовый', 'зеленый', 'темно-синий', 'оливковый', - 'фиолетовый', 'зеленовато-голубой', 'синий', 'серебро', - 'серый', 'желтый', 'фуксия', 'цвет морской волны', 'белый', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'черный', + 'темно-бордовый', + 'зеленый', + 'темно-синий', + 'оливковый', + 'фиолетовый', + 'зеленовато-голубой', + 'синий', + 'серебро', + 'серый', + 'желтый', + 'фуксия', + 'цвет морской волны', + 'белый', + ]; - protected static $allColorNames = [ - 'Военно-воздушный синий', 'Синяя Элис', 'Ализариновый красный', 'Миндаль Крайола', 'Амарантовый', 'Янтарный', - 'Американская роза', 'Аметистовый', 'Матовый белый', 'Античный белый', 'Яблочно-зеленый', 'Спаржа', - 'Цвет морской волны', 'Аквамариновый', 'Армейский зелёный', 'Мышьяковый', 'Лазурный', 'Бежевый', - 'Бистр', 'Горькая радость', 'Чёрный', 'Белокурый', 'Синий', 'Вода пляжа Бонди', 'Латунный', 'Ярко-зелёный', - 'Сиена жжёная', 'Хаки', 'Кардинал', 'Морковный', 'Лазурный', 'Каштановый', 'Шоколадный', 'Коричный', - 'Кобальт синий', 'Кремовый', 'Циан', 'Индиго', 'Фуксия', 'Кирпичный', 'Льняной', 'Золотой', 'Зелёный', - 'Индиго', 'Нефритовый', 'Сиреневый', 'Охра', 'Панг', 'Берлинская лазурь', 'Красновато-коричневый', - 'Сангрия', 'Сепия', 'Болотный', 'Тициановый', 'Чертополох', 'Глициния', 'Вино', 'Циннвальдит', - ]; + protected static $allColorNames = [ + 'Военно-воздушный синий', + 'Синяя Элис', + 'Ализариновый красный', + 'Миндаль Крайола', + 'Амарантовый', + 'Янтарный', + 'Американская роза', + 'Аметистовый', + 'Матовый белый', + 'Античный белый', + 'Яблочно-зеленый', + 'Спаржа', + 'Цвет морской волны', + 'Аквамариновый', + 'Армейский зелёный', + 'Мышьяковый', + 'Лазурный', + 'Бежевый', + 'Бистр', + 'Горькая радость', + 'Чёрный', + 'Белокурый', + 'Синий', + 'Вода пляжа Бонди', + 'Латунный', + 'Ярко-зелёный', + 'Сиена жжёная', + 'Хаки', + 'Кардинал', + 'Морковный', + 'Лазурный', + 'Каштановый', + 'Шоколадный', + 'Коричный', + 'Кобальт синий', + 'Кремовый', + 'Циан', + 'Индиго', + 'Фуксия', + 'Кирпичный', + 'Льняной', + 'Золотой', + 'Зелёный', + 'Индиго', + 'Нефритовый', + 'Сиреневый', + 'Охра', + 'Панг', + 'Берлинская лазурь', + 'Красновато-коричневый', + 'Сангрия', + 'Сепия', + 'Болотный', + 'Тициановый', + 'Чертополох', + 'Глициния', + 'Вино', + 'Циннвальдит', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Company.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Company.php index 9f5d572..721c322 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Company.php @@ -2,177 +2,581 @@ namespace Faker\Provider\ru_RU; -class Company extends \Faker\Provider\Company -{ - protected static $companyNameFormats = [ - '{{companyPrefix}} {{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}', - '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', - ]; - - protected static $companyPrefixes = [ - 'ООО', 'ЗАО', 'ООО Компания', 'ОАО', 'ОАО', 'ПАО', 'МКК', 'МФО', - ]; - - protected static $companyNameSuffixes = [ - 'Маш', 'Наладка', 'Экспедиция', 'Пром', 'Комплекс', 'Машина', 'Снос', '-М', 'Лизинг', 'Траст', 'Снаб', - '-H', 'Трест', 'Банк', 'Опт', 'Проф', 'Сбыт', 'Центр', - ]; - /** - * @note Words and parts of words that usually used in company names - */ - protected static $companyElements = [ - 'ЖелДор', 'Гараж', 'Цемент', 'Асбоцемент', 'Строй', 'Лифт', 'Креп', 'Авто', 'Теле', 'Транс', 'Алмаз', 'Метиз', - 'Мотор', 'Рос', 'Тяж', 'Тех', 'Сантех', 'Урал', 'Башкир', 'Тверь', 'Казань', 'Обл', 'Бух', 'Хоз', 'Электро', - 'Текстиль', 'Восток', 'Орион', 'Юпитер', 'Финанс', 'Микро', 'Радио', 'Мобайл', 'Дизайн', 'Метал', 'Нефть', - 'Телеком', 'Инфо', 'Сервис', 'Софт', 'IT', 'Рыб', 'Глав', 'Вектор', 'Рем', 'Гор', 'Газ', 'Монтаж', 'Мор', - 'Реч', 'Флот', 'Cиб', 'Каз', 'Инж', 'Вод', 'Пив', 'Хмель', 'Мяс', 'Томск', 'Омск', 'Север', 'Лен', - ]; - - protected static $catchPhraseWords = [ - [ - 'Адаптивная', 'Дополнительно', 'Улучшить', 'Ассимилировали', 'Автоматическая', 'Сбалансированный', 'Бизнес-ориентированных', 'Централизации', 'Клонировать', 'Совместимость', 'Настраивается', 'Кросс-группа', 'Кросс-платформы', 'Клиентоориентированного', 'Децентрализации', 'Де-инженерии', 'Передал', 'Оцифровки', 'Распространяться', 'Разное', 'Габаритами', 'Расширения', 'Предприятия', 'Эргономичность', 'Эксклюзив', 'Расширенный', 'Очного', 'Целенаправленный', 'Фронтовые', 'Полностью настраиваемый', 'Функции', 'Основной', 'Будущее', 'Низовые', 'Горизонтальной', 'Реализовано', 'Инновационных', 'Интегрированный', 'Интуитивно', 'Обратная', 'Управлять', 'Обязательно', 'Наблюдение', 'Многоканальной', 'Многосторонний', 'Многослойная', 'Многоуровневые', 'Сеть', 'Объектно-ориентированный', 'Открытая архитектура', 'Открытое', 'Оперативная', 'Оптимизация', 'Дополнительно', 'Органический', 'Организованная', 'Стойкость', 'Постоянный', 'Постепенно', 'Полярности', 'Превентивный', 'Инициативный', 'Прибыльных', 'Глубокий', 'Программируемый', 'Прогрессивный', 'Ключ', 'Ориентированные на качество', 'Реактивная', 'Реорганизации', 'Повторно контекст', 'Модернизированной', 'Снижается', 'Копирования', 'Размер', 'Надежный', 'Бесшовные', 'Обеспеченный', 'Собственной активации', 'Запрашиваемого', 'Автономный', 'Упорядочить', 'Переключение', 'Синхронизированы', 'Синергетический', 'Согласования', 'Командный', 'Общий', 'Тройной буферизацией', 'Универсальный', 'Размера', 'Комплектация', 'Пользователя', 'Удобный', 'Универсальный', 'Виртуальный', 'Фантазер', - ], - [ - '24часа', '24/7', '3-го поколения', '4-го поколения', '5-го поколения', '6-го поколения', 'активация', 'анализ', 'ассиметричный', 'асинхронный', 'ориентированныйнаориентацию', 'фон', 'мониторинг пропускной способности', 'двунаправленный', 'раздвоенный', 'итоговый', 'ясное мышление', 'управляемый клиентом', 'клиент-сервер', 'связный', 'составной', 'контекстно-зависимый', 'контентно-ориентированный', 'выделенный', 'управляемый спросом', 'дидактический', 'направленный', 'дискретный', 'динамический', 'экоцентричный', 'уполномочивающий', 'охватывающий', 'четный', 'исполнительный', 'явный', 'отказоустойчивый', 'передний план', 'свежее мышление', 'полный диапазон', 'глобальный', 'включенный в сетку', 'эвристический', 'высокоуровневый', 'целостный', 'однородный', 'человеческий ресурс', 'гибридный', 'эффективный', 'инкрементальный', 'нематериальный', 'интерактивный', 'промежуточный', 'ведущий', 'локальный', 'логистический', 'развернутый', 'методический', 'критический', 'мобильный', 'модульный', 'мотивирующий', 'мультимедиа', 'мультисостояние', 'многозадачность', 'национальный', 'основанныйнапотребностях', 'нейтральный', 'следующее поколение', 'энергонезависимый', 'объектно-ориентированный', 'оптимальный', 'оптимизирующий', 'радикальный', 'в реальном времени', 'взаимный', 'региональный', 'отзывчивый', 'масштабируемый', 'вторичный', 'ориентированный на решение', 'стабильный', 'статический', 'систематический', 'системный', 'материальный', 'третичный', 'переходный', 'равномерный', 'восходящий тренд', 'ориентированный на пользователя', 'добавленная стоимость', 'веб-поддержка', 'хорошо модулированный', 'нулевое администрирование', 'нулевой дефект', 'нулевая терпимость', - ], - [ - 'способности', 'открыть', 'адаптер', 'алгоритм', 'альянс', 'анализатор', 'приложения', 'подходить', 'архитектура', 'архив', 'время', 'отношение', 'тест', 'блокчейн', 'возможность', 'емкость', 'вызов', 'цепи', 'сотрудничество', 'сложность', 'понятие', 'конгломерат', 'случай', 'ядро', 'база данных', 'хранилищ данных', 'определение', 'эмуляция', 'кодировка', 'шифрования', 'экстранет', 'прошивки', 'гибкости', 'фокус-групповых', 'прогноз', 'раму', 'основы', 'функция', 'функциональные возможности', 'групповой', 'оборудование', 'число', 'иерархия', 'хаб', 'реализация', 'инфопосредников', 'инфраструктура', 'инициатива', 'монтаж', 'интерфейс', 'интранет', 'базы знаний', 'плечо', 'матрицы', 'матрица', 'методика', 'промежуточного', 'миграции', 'модель', 'модератор', 'контроль', 'мораторий', 'нейронные сети', 'согласование', 'парадигмы', 'параллельность', 'политика', 'портал', 'товара', 'производительности', 'проект', 'прогноз', 'протокол', 'сервис-бюро', 'программное обеспечение', 'решение', 'стандартизации', 'стратегия', 'структура', 'успех', 'надстройка', 'поддержка', 'синергия', 'команду', 'производительности', 'время', 'набор', 'загрузки', 'сайт', 'работников', - ], - ]; - - /** - * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:%D0%9F%D1%80%D0%BE%D1%84%D0%B5%D1%81%D1%81%D0%B8%D0%B8 - * - * @note Randomly took from this list - some jobs titles for each letter - */ - protected static $jobTitleFormat = [ - 'Абразивоструйщик', 'Автоинструктор', 'Администратор', 'Арт-директор', 'Архивист', 'Бариста', 'Бармен', - 'Бестиарий (гладиатор)', 'Бизнес-аналитик', 'Бухгалтер', 'Ветеринар', 'Водитель', 'Водолаз', 'Геймдизайнер', - 'Герольд', 'Гитарный мастер', 'Горный проводник', 'Детектив', 'Диджей', 'Диктор', 'Дипломат', 'Егерь', 'Жокей', - 'Зубной техник', 'Интеллектуал', 'Информационный работник', 'Кассир', 'Ковбой', 'Креативный директор', 'Критик', - 'Крупье', 'Лесоруб', 'Лингвист', 'Машинист', 'Менеджер', 'Музыкант', 'Научный сотрудник', 'Офис-менеджер', - 'Печник', 'Пианист', 'Писатель', 'Продюсер', 'Промоутер', 'Психолог', 'Радист', 'Редактор', 'Садовник', - 'Системный аналитик', 'Стилист', 'Столяр', 'Сторож', 'Телефонистка', 'Телохранитель', 'Технический писатель', - 'Учёный', 'Физик', 'Финансовый советник', 'Фотограф', 'Фрезеровщик', 'Художник', 'Чабан', 'Штурман', - 'Экономист', 'Электромонтёр', - ]; - - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; - - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } - - return implode(' ', $result); - } - - /** - * @example 'ООО АсбестЦементМонтаж' - */ - public function company() - { - $format = static::randomElement(static::$companyNameFormats); - - return $this->generator->parse($format); - } - - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefixes); - } - - public static function companyNameElement() - { - return static::randomElement(static::$companyElements); - } - - public static function companyNameSuffix() - { - return static::randomElement(static::$companyNameSuffixes); - } - - /** - * Generates a Russian Taxpayer Personal Identification Number - * - * @param string $area_code - * - * @return string - * - * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10()} instead - * @see \Faker\Provider\ru_RU\Company::inn10() - */ - public static function inn($area_code = '') - { - return self::inn10($area_code); - } - - /** - * Generates a Russian Taxpayer Personal Identification Number - * - * @param string $area_code - * - * @return string - */ - public static function inn10($area_code = '') - { - if ($area_code === '' || (int) $area_code === 0) { - //Simple generation code for areas in Russian without check for valid - $area_code = self::numberBetween(1, 91); - } else { - $area_code = (int) $area_code; - } - $area_code = str_pad($area_code, 2, '0', STR_PAD_LEFT); - $inn_base = $area_code . static::numerify('#######'); - - return $inn_base . self::inn10Checksum($inn_base); - } - - public static function kpp($inn = '') - { - if ($inn === '' || strlen($inn) < 4) { - $inn = self::inn10(); - } - - return substr($inn, 0, 4) . '01001'; - } - - /** - * Generates INN Checksum - * - * @see https://ru.wikipedia.org/wiki/%D0%98%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80_%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%89%D0%B8%D0%BA%D0%B0 - * - * @param string $inn - * - * @return string Checksum (one digit) - */ - public static function inn10Checksum($inn) - { - $multipliers = [2, 4, 10, 3, 5, 9, 4, 6, 8]; - $sum = 0; - - for ($i = 0; $i < 9; ++$i) { - $sum += (int) $inn[$i] * $multipliers[$i]; - } - - return (string) (($sum % 11) % 10); - } - - /** - * Checks whether an INN has a valid checksum - * - * @param string $inn - * - * @return bool - */ - public static function inn10IsValid($inn) - { - return strlen($inn) === 10 && self::inn10Checksum($inn) === $inn[9]; - } +class Company extends \Faker\Provider\Company { + protected static $companyNameFormats = [ + '{{companyPrefix}} {{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}', + '{{companyPrefix}} {{companyNameElement}}{{companyNameElement}}{{companyNameElement}}{{companyNameSuffix}}', + ]; + + protected static $companyPrefixes = [ + 'ООО', + 'ЗАО', + 'ООО Компания', + 'ОАО', + 'ОАО', + 'ПАО', + 'МКК', + 'МФО', + ]; + + protected static $companyNameSuffixes = [ + 'Маш', + 'Наладка', + 'Экспедиция', + 'Пром', + 'Комплекс', + 'Машина', + 'Снос', + '-М', + 'Лизинг', + 'Траст', + 'Снаб', + '-H', + 'Трест', + 'Банк', + 'Опт', + 'Проф', + 'Сбыт', + 'Центр', + ]; + /** + * @note Words and parts of words that usually used in company names + */ + protected static $companyElements = [ + 'ЖелДор', + 'Гараж', + 'Цемент', + 'Асбоцемент', + 'Строй', + 'Лифт', + 'Креп', + 'Авто', + 'Теле', + 'Транс', + 'Алмаз', + 'Метиз', + 'Мотор', + 'Рос', + 'Тяж', + 'Тех', + 'Сантех', + 'Урал', + 'Башкир', + 'Тверь', + 'Казань', + 'Обл', + 'Бух', + 'Хоз', + 'Электро', + 'Текстиль', + 'Восток', + 'Орион', + 'Юпитер', + 'Финанс', + 'Микро', + 'Радио', + 'Мобайл', + 'Дизайн', + 'Метал', + 'Нефть', + 'Телеком', + 'Инфо', + 'Сервис', + 'Софт', + 'IT', + 'Рыб', + 'Глав', + 'Вектор', + 'Рем', + 'Гор', + 'Газ', + 'Монтаж', + 'Мор', + 'Реч', + 'Флот', + 'Cиб', + 'Каз', + 'Инж', + 'Вод', + 'Пив', + 'Хмель', + 'Мяс', + 'Томск', + 'Омск', + 'Север', + 'Лен', + ]; + + protected static $catchPhraseWords = [ + [ + 'Адаптивная', + 'Дополнительно', + 'Улучшить', + 'Ассимилировали', + 'Автоматическая', + 'Сбалансированный', + 'Бизнес-ориентированных', + 'Централизации', + 'Клонировать', + 'Совместимость', + 'Настраивается', + 'Кросс-группа', + 'Кросс-платформы', + 'Клиентоориентированного', + 'Децентрализации', + 'Де-инженерии', + 'Передал', + 'Оцифровки', + 'Распространяться', + 'Разное', + 'Габаритами', + 'Расширения', + 'Предприятия', + 'Эргономичность', + 'Эксклюзив', + 'Расширенный', + 'Очного', + 'Целенаправленный', + 'Фронтовые', + 'Полностью настраиваемый', + 'Функции', + 'Основной', + 'Будущее', + 'Низовые', + 'Горизонтальной', + 'Реализовано', + 'Инновационных', + 'Интегрированный', + 'Интуитивно', + 'Обратная', + 'Управлять', + 'Обязательно', + 'Наблюдение', + 'Многоканальной', + 'Многосторонний', + 'Многослойная', + 'Многоуровневые', + 'Сеть', + 'Объектно-ориентированный', + 'Открытая архитектура', + 'Открытое', + 'Оперативная', + 'Оптимизация', + 'Дополнительно', + 'Органический', + 'Организованная', + 'Стойкость', + 'Постоянный', + 'Постепенно', + 'Полярности', + 'Превентивный', + 'Инициативный', + 'Прибыльных', + 'Глубокий', + 'Программируемый', + 'Прогрессивный', + 'Ключ', + 'Ориентированные на качество', + 'Реактивная', + 'Реорганизации', + 'Повторно контекст', + 'Модернизированной', + 'Снижается', + 'Копирования', + 'Размер', + 'Надежный', + 'Бесшовные', + 'Обеспеченный', + 'Собственной активации', + 'Запрашиваемого', + 'Автономный', + 'Упорядочить', + 'Переключение', + 'Синхронизированы', + 'Синергетический', + 'Согласования', + 'Командный', + 'Общий', + 'Тройной буферизацией', + 'Универсальный', + 'Размера', + 'Комплектация', + 'Пользователя', + 'Удобный', + 'Универсальный', + 'Виртуальный', + 'Фантазер', + ], + [ + '24часа', + '24/7', + '3-го поколения', + '4-го поколения', + '5-го поколения', + '6-го поколения', + 'активация', + 'анализ', + 'ассиметричный', + 'асинхронный', + 'ориентированныйнаориентацию', + 'фон', + 'мониторинг пропускной способности', + 'двунаправленный', + 'раздвоенный', + 'итоговый', + 'ясное мышление', + 'управляемый клиентом', + 'клиент-сервер', + 'связный', + 'составной', + 'контекстно-зависимый', + 'контентно-ориентированный', + 'выделенный', + 'управляемый спросом', + 'дидактический', + 'направленный', + 'дискретный', + 'динамический', + 'экоцентричный', + 'уполномочивающий', + 'охватывающий', + 'четный', + 'исполнительный', + 'явный', + 'отказоустойчивый', + 'передний план', + 'свежее мышление', + 'полный диапазон', + 'глобальный', + 'включенный в сетку', + 'эвристический', + 'высокоуровневый', + 'целостный', + 'однородный', + 'человеческий ресурс', + 'гибридный', + 'эффективный', + 'инкрементальный', + 'нематериальный', + 'интерактивный', + 'промежуточный', + 'ведущий', + 'локальный', + 'логистический', + 'развернутый', + 'методический', + 'критический', + 'мобильный', + 'модульный', + 'мотивирующий', + 'мультимедиа', + 'мультисостояние', + 'многозадачность', + 'национальный', + 'основанныйнапотребностях', + 'нейтральный', + 'следующее поколение', + 'энергонезависимый', + 'объектно-ориентированный', + 'оптимальный', + 'оптимизирующий', + 'радикальный', + 'в реальном времени', + 'взаимный', + 'региональный', + 'отзывчивый', + 'масштабируемый', + 'вторичный', + 'ориентированный на решение', + 'стабильный', + 'статический', + 'систематический', + 'системный', + 'материальный', + 'третичный', + 'переходный', + 'равномерный', + 'восходящий тренд', + 'ориентированный на пользователя', + 'добавленная стоимость', + 'веб-поддержка', + 'хорошо модулированный', + 'нулевое администрирование', + 'нулевой дефект', + 'нулевая терпимость', + ], + [ + 'способности', + 'открыть', + 'адаптер', + 'алгоритм', + 'альянс', + 'анализатор', + 'приложения', + 'подходить', + 'архитектура', + 'архив', + 'время', + 'отношение', + 'тест', + 'блокчейн', + 'возможность', + 'емкость', + 'вызов', + 'цепи', + 'сотрудничество', + 'сложность', + 'понятие', + 'конгломерат', + 'случай', + 'ядро', + 'база данных', + 'хранилищ данных', + 'определение', + 'эмуляция', + 'кодировка', + 'шифрования', + 'экстранет', + 'прошивки', + 'гибкости', + 'фокус-групповых', + 'прогноз', + 'раму', + 'основы', + 'функция', + 'функциональные возможности', + 'групповой', + 'оборудование', + 'число', + 'иерархия', + 'хаб', + 'реализация', + 'инфопосредников', + 'инфраструктура', + 'инициатива', + 'монтаж', + 'интерфейс', + 'интранет', + 'базы знаний', + 'плечо', + 'матрицы', + 'матрица', + 'методика', + 'промежуточного', + 'миграции', + 'модель', + 'модератор', + 'контроль', + 'мораторий', + 'нейронные сети', + 'согласование', + 'парадигмы', + 'параллельность', + 'политика', + 'портал', + 'товара', + 'производительности', + 'проект', + 'прогноз', + 'протокол', + 'сервис-бюро', + 'программное обеспечение', + 'решение', + 'стандартизации', + 'стратегия', + 'структура', + 'успех', + 'надстройка', + 'поддержка', + 'синергия', + 'команду', + 'производительности', + 'время', + 'набор', + 'загрузки', + 'сайт', + 'работников', + ], + ]; + + /** + * @see https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0%BE%D1%80%D0%B8%D1%8F:%D0%9F%D1%80%D0%BE%D1%84%D0%B5%D1%81%D1%81%D0%B8%D0%B8 + * + * @note Randomly took from this list - some jobs titles for each letter + */ + protected static $jobTitleFormat = [ + 'Абразивоструйщик', + 'Автоинструктор', + 'Администратор', + 'Арт-директор', + 'Архивист', + 'Бариста', + 'Бармен', + 'Бестиарий (гладиатор)', + 'Бизнес-аналитик', + 'Бухгалтер', + 'Ветеринар', + 'Водитель', + 'Водолаз', + 'Геймдизайнер', + 'Герольд', + 'Гитарный мастер', + 'Горный проводник', + 'Детектив', + 'Диджей', + 'Диктор', + 'Дипломат', + 'Егерь', + 'Жокей', + 'Зубной техник', + 'Интеллектуал', + 'Информационный работник', + 'Кассир', + 'Ковбой', + 'Креативный директор', + 'Критик', + 'Крупье', + 'Лесоруб', + 'Лингвист', + 'Машинист', + 'Менеджер', + 'Музыкант', + 'Научный сотрудник', + 'Офис-менеджер', + 'Печник', + 'Пианист', + 'Писатель', + 'Продюсер', + 'Промоутер', + 'Психолог', + 'Радист', + 'Редактор', + 'Садовник', + 'Системный аналитик', + 'Стилист', + 'Столяр', + 'Сторож', + 'Телефонистка', + 'Телохранитель', + 'Технический писатель', + 'Учёный', + 'Физик', + 'Финансовый советник', + 'Фотограф', + 'Фрезеровщик', + 'Художник', + 'Чабан', + 'Штурман', + 'Экономист', + 'Электромонтёр', + ]; + + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; + + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } + + return implode( ' ', $result ); + } + + /** + * @example 'ООО АсбестЦементМонтаж' + */ + public function company() { + $format = static::randomElement( static::$companyNameFormats ); + + return $this->generator->parse( $format ); + } + + public static function companyPrefix() { + return static::randomElement( static::$companyPrefixes ); + } + + public static function companyNameElement() { + return static::randomElement( static::$companyElements ); + } + + public static function companyNameSuffix() { + return static::randomElement( static::$companyNameSuffixes ); + } + + /** + * Generates a Russian Taxpayer Personal Identification Number + * + * @param string $area_code + * + * @return string + * + * @deprecated use {@link \Faker\Provider\ru_RU\Company::inn10()} instead + * @see \Faker\Provider\ru_RU\Company::inn10() + */ + public static function inn( $area_code = '' ) { + return self::inn10( $area_code ); + } + + /** + * Generates a Russian Taxpayer Personal Identification Number + * + * @param string $area_code + * + * @return string + */ + public static function inn10( $area_code = '' ) { + if ( $area_code === '' || (int) $area_code === 0 ) { + //Simple generation code for areas in Russian without check for valid + $area_code = self::numberBetween( 1, 91 ); + } else { + $area_code = (int) $area_code; + } + $area_code = str_pad( $area_code, 2, '0', STR_PAD_LEFT ); + $inn_base = $area_code . static::numerify( '#######' ); + + return $inn_base . self::inn10Checksum( $inn_base ); + } + + public static function kpp( $inn = '' ) { + if ( $inn === '' || strlen( $inn ) < 4 ) { + $inn = self::inn10(); + } + + return substr( $inn, 0, 4 ) . '01001'; + } + + /** + * Generates INN Checksum + * + * @see https://ru.wikipedia.org/wiki/%D0%98%D0%B4%D0%B5%D0%BD%D1%82%D0%B8%D1%84%D0%B8%D0%BA%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BD%D0%BE%D0%BC%D0%B5%D1%80_%D0%BD%D0%B0%D0%BB%D0%BE%D0%B3%D0%BE%D0%BF%D0%BB%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D1%89%D0%B8%D0%BA%D0%B0 + * + * @param string $inn + * + * @return string Checksum (one digit) + */ + public static function inn10Checksum( $inn ) { + $multipliers = [ 2, 4, 10, 3, 5, 9, 4, 6, 8 ]; + $sum = 0; + + for ( $i = 0; $i < 9; ++ $i ) { + $sum += (int) $inn[ $i ] * $multipliers[ $i ]; + } + + return (string) ( ( $sum % 11 ) % 10 ); + } + + /** + * Checks whether an INN has a valid checksum + * + * @param string $inn + * + * @return bool + */ + public static function inn10IsValid( $inn ) { + return strlen( $inn ) === 10 && self::inn10Checksum( $inn ) === $inn[9]; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Internet.php index 195ef5f..4f79725 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Internet.php @@ -2,8 +2,18 @@ namespace Faker\Provider\ru_RU; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['yandex.ru', 'ya.ru', 'narod.ru', 'gmail.com', 'mail.ru', 'list.ru', 'bk.ru', 'inbox.ru', 'rambler.ru', 'hotmail.com']; - protected static $tld = ['com', 'com', 'net', 'org', 'ru', 'ru', 'ru', 'ru']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'yandex.ru', + 'ya.ru', + 'narod.ru', + 'gmail.com', + 'mail.ru', + 'list.ru', + 'bk.ru', + 'inbox.ru', + 'rambler.ru', + 'hotmail.com' + ]; + protected static $tld = [ 'com', 'com', 'net', 'org', 'ru', 'ru', 'ru', 'ru' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Payment.php index 1d53428..e72ae6c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Payment.php @@ -2,811 +2,809 @@ namespace Faker\Provider\ru_RU; -class Payment extends \Faker\Provider\Payment -{ - /** - * @see list of Russian banks (2015-04-04), source: http://www.banki.ru/banks/ - * - * @example "cat *.html | grep 'b-cb-list__name' | iconv --f windows-1251 --t utf-8 | grep -o '>.*<' | \ - * sed -r 's/—//' | sed -r 's/[\<\>]//g' | sed -r "s/(^|$)/'/g" | sed -r 's/$/,/' | sed -r 's/\&(laquo|raquo);/"/g' | \ - * sed -r 's/\s+/ /g'" - */ - protected static $banks = [ - 'Новый Промышленный Банк', - 'Новый Символ', - 'Нокссбанк', - 'Ноосфера', - 'Нордеа Банк', - 'Нота-Банк', - 'НС Банк', - 'НСТ-Банк', - 'Нэклис-Банк', - 'Образование', - 'Объединенный Банк Промышленных Инвестиций', - 'Объединенный Банк Республики', - 'Объединенный Капитал', - 'Объединенный Кредитный Банк', - 'Объединенный Кредитный Банк Московский филиал', - 'Объединенный Национальный Банк', - 'Объединенный Резервный Банк', - 'Океан Банк', - 'ОЛМА-Банк', - 'Онего', - 'Оней Банк', - 'ОПМ-Банк', - 'Оргбанк', - 'Оренбург', - 'ОТП Банк', - 'ОФК Банк', - 'Охабанк', - 'Первобанк', - 'Первомайский', - 'Первоуральскбанк', - 'Первый Дортрансбанк', - 'Первый Инвестиционный банк', - 'Первый Клиентский Банк', - 'Первый Чешско-Российский Банк', - 'Пересвет', - 'Пермь', - 'Петербургский Социальный Коммерческий Банк', - 'Петрокоммерц', - 'ПИР Банк', - 'Платина', - 'Плато-Банк', - 'Плюс Банк', - 'Пойдем!', - 'Почтобанк', - 'Прайм Финанс', - 'Преодоление', - 'Приморье', - 'Примсоцбанк', - 'Примтеркомбанк', - 'Прио-Внешторгбанк', - 'Приобье', - 'Приполярный', - 'Приско Капитал Банк', - 'Пробизнесбанк', - 'Проинвестбанк', - 'Прокоммерцбанк', - 'Проминвестбанк', - 'Промрегионбанк', - 'Промсвязьбанк', - 'Промсвязьинвестбанк', - 'Промсельхозбанк', - 'Промтрансбанк', - 'Промышленно-Финансовое Сотрудничество', - 'Промэнергобанк', - 'Профессионал Банк', - 'Профит Банк', - 'Прохладный', - 'Пульс Столицы', - 'Радиотехбанк', - 'Развитие', - 'Развитие-Столица', - 'Райффайзенбанк', - 'Расчетно-Кредитный Банк', - 'Расчетный Дом', - 'РБА', - 'Региональный Банк Развития', - 'Региональный Банк Сбережений', - 'Региональный Коммерческий Банк', - 'Региональный Кредит', - 'Регионфинансбанк', - 'Регнум', - 'Резерв', - 'Ренессанс', - 'Ренессанс Кредит', - 'Рента-Банк', - 'РЕСО Кредит', - 'Республиканский Кредитный Альянс', - 'Ресурс-Траст', - 'Риабанк', - 'Риал-Кредит', - 'Ринвестбанк', - 'Ринвестбанк Московский офис', - 'РИТ-Банк', - 'РН Банк', - 'Росавтобанк', - 'Росбанк', - 'Росбизнесбанк', - 'Росгосстрах Банк', - 'Росдорбанк', - 'РосЕвроБанк', - 'РосинтерБанк', - 'Роспромбанк', - 'Россельхозбанк', - 'Российская Финансовая Корпорация', - 'Российский Капитал', - 'Российский Кредит', - 'Российский Национальный Коммерческий Банк', - 'Россита-Банк', - 'Россия', - 'Рост Банк', - 'Ростфинанс', - 'Росэксимбанк', - 'Росэнергобанк', - 'Роял Кредит Банк', - 'РСКБ', - 'РТС-Банк', - 'РУБанк', - 'Рублев', - 'Руна-Банк', - 'Рунэтбанк', - 'Рускобанк', - 'Руснарбанк', - 'Русский Банк Сбережений', - 'Русский Ипотечный Банк', - 'Русский Международный Банк', - 'Русский Национальный Банк', - 'Русский Стандарт', - 'Русский Торговый Банк', - 'Русский Трастовый Банк', - 'Русский Финансовый Альянс', - 'Русский Элитарный Банк', - 'Русславбанк', - 'Руссобанк', - 'Русстройбанк', - 'Русфинанс Банк', - 'Русь', - 'РусьРегионБанк', - 'Русьуниверсалбанк', - 'РусЮгбанк', - 'РФИ Банк', - 'Саммит Банк', - 'Санкт-Петербургский Банк Инвестиций', - 'Саратов', - 'Саровбизнесбанк', - 'Сбербанк России', - 'Связной Банк', - 'Связь-Банк', - 'СДМ-Банк', - 'Севастопольский Морской банк', - 'Северный Кредит', - 'Северный Народный Банк', - 'Северо-Восточный Альянс', - 'Северо-Западный 1 Альянс Банк', - 'Северстройбанк', - 'Севзапинвестпромбанк', - 'Сельмашбанк', - 'Сервис-Резерв', - 'Сетелем Банк', - 'СИАБ', - 'Сибирский Банк Реконструкции и Развития', - 'Сибнефтебанк', - 'Сибсоцбанк', - 'Сибэс', - 'Сибэс Московский офис', - 'Синергия', - 'Синко-Банк', - 'Система', - 'Сити Инвест Банк', - 'Ситибанк', - 'СКА-Банк', - 'СКБ-Банк', - 'Славия', - 'Славянбанк', - 'Славянский Кредит', - 'Смартбанк', - 'СМБ-Банк', - 'Смолевич', - 'СМП Банк', - 'Снежинский', - 'Собинбанк', - 'Соверен Банк', - 'Советский', - 'Совкомбанк', - 'Современные Стандарты Бизнеса', - 'Содружество', - 'Соколовский', - 'Солид Банк', - 'Солидарность (Москва)', - 'Солидарность (Самара)', - 'Социнвестбанк', - 'Социнвестбанк Московский филиал', - 'Социум-Банк', - 'Союз', - 'Союзный', - 'Спецстройбанк', - 'Спиритбанк', - 'Спурт Банк', - 'Спутник', - 'Ставропольпромстройбанк', - 'Сталь Банк', - 'Стандарт-Кредит', - 'Стар Альянс', - 'СтарБанк', - 'Старооскольский Агропромбанк', - 'Старый Кремль', - 'Стелла-Банк', - 'Столичный Кредит', - 'Стратегия', - 'Строительно-Коммерческий Банк', - 'Стройлесбанк', - 'Сумитомо Мицуи', - 'Сургутнефтегазбанк', - 'СЭБ Банк', - 'Таатта', - 'Таврический', - 'Таганрогбанк', - 'Тагилбанк', - 'Тайдон', - 'Тайм Банк', - 'Тальменка-Банк', - 'Тальменка-Банк Московский филиал', - 'Тамбовкредитпромбанк', - 'Татагропромбанк', - 'Татсоцбанк', - 'Татфондбанк', - 'Таурус Банк', - 'ТверьУниверсалБанк', - 'Тексбанк', - 'Темпбанк', - 'Тендер-Банк', - 'Терра', - 'Тетраполис', - 'Тимер Банк', - 'Тинькофф Банк', - 'Тихоокеанский Внешторгбанк', - 'Тойота Банк', - 'Тольяттихимбанк', - 'Томскпромстройбанк', - 'Торгово-Промышленный Банк Китая', - 'Торговый Городской Банк', - 'Торжокуниверсалбанк', - 'Транскапиталбанк', - 'Транснациональный Банк', - 'Транспортный', - 'Трансстройбанк', - 'Траст Капитал Банк', - 'Тройка-Д Банк', - 'Тульский Промышленник', - 'Тульский Промышленник Московский офис', - 'Тульский Расчетный Центр', - 'Турбобанк', - 'Тусар', - 'ТЭМБР-Банк', - 'ТЭСТ', - 'Углеметбанк', - 'Уздан', - 'Унифин', - 'Унифондбанк', - 'Уралкапиталбанк', - 'Уралприватбанк', - 'Уралпромбанк', - 'Уралсиб', - 'Уралтрансбанк', - 'Уралфинанс', - 'Уральский Банк Реконструкции и Развития', - 'Уральский Межрегиональный Банк', - 'Уральский Финансовый Дом', - 'Ури Банк', - 'Уссури', - 'ФДБ', - 'ФИА-Банк', - 'Финам Банк', - 'Финанс Бизнес Банк', - 'Финансово-Промышленный Капитал', - 'Финансовый Капитал', - 'Финансовый Стандарт', - 'Финарс Банк', - 'Финпромбанк (ФПБ Банк)', - 'Финтрастбанк', - 'ФК Открытие (бывш. НОМОС-Банк)', - 'Флора-Москва', - 'Фольксваген Банк Рус', - 'Фондсервисбанк', - 'Фора-Банк', - 'Форбанк', - 'Форус Банк', - 'Форштадт', - 'Фьючер', - 'Хакасский Муниципальный Банк', - 'Ханты-Мансийский банк Открытие', - 'Химик', - 'Хлынов', - 'Хованский', - 'Холдинвестбанк', - 'Холмск', - 'Хоум Кредит Банк', - 'Центр-инвест', - 'Центрально-Азиатский', - 'Центрально-Европейский Банк', - 'Центркомбанк', - 'ЦентроКредит', - 'Церих', - 'Чайна Констракшн', - 'Чайнасельхозбанк', - 'Челиндбанк', - 'Челябинвестбанк', - 'Черноморский банк развития и реконструкции', - 'Чувашкредитпромбанк', - 'Эйч-Эс-Би-Си Банк (HSBC)', - 'Эко-Инвест', - 'Экономбанк', - 'Экономикс-Банк', - 'Экси-Банк', - 'Эксперт Банк', - 'Экспобанк', - 'Экспресс-Волга', - 'Экспресс-Кредит', - 'Эл Банк', - 'Элита', - 'Эльбин', - 'Энергобанк', - 'Энергомашбанк', - 'Энерготрансбанк', - 'Эно', - 'Энтузиастбанк', - 'Эргобанк', - 'Ю Би Эс Банк', - 'ЮГ-Инвестбанк', - 'Югра', - 'Южный Региональный Банк', - 'ЮМК', - 'Юниаструм Банк', - 'ЮниКредит Банк', - 'Юнистрим', - 'Япы Креди Банк Москва', - 'ЯР-Банк', - 'Яринтербанк', - 'Ярославич', - 'K2 Банк', - 'АББ', - 'Абсолют Банк', - 'Авангард', - 'Аверс', - 'Автоградбанк', - 'АвтоКредитБанк', - 'Автоторгбанк', - 'Агроинкомбанк', - 'Агропромкредит', - 'Агророс', - 'Агросоюз', - 'Адамон Банк', - 'Адамон Банк Московский филиал', - 'Аделантбанк', - 'Адмиралтейский', - 'Азиатско-Тихоокеанский Банк', - 'Азимут', - 'Азия Банк', - 'Азия-Инвест Банк', - 'Ай-Си-Ай-Си-Ай Банк (ICICI)', - 'Айви Банк', - 'АйМаниБанк', - 'Ак Барс', - 'Акибанк', - 'Аккобанк', - 'Акрополь', - 'Аксонбанк', - 'Актив Банк', - 'АктивКапитал Банк', - 'АктивКапитал Банк Московский филиал', - 'АктивКапитал Банк Санкт-Петербургский филиал', - 'Акцент', - 'Акцепт', - 'Акция', - 'Алданзолотобанк', - 'Александровский', - 'Алеф-Банк', - 'Алжан', - 'Алмазэргиэнбанк', - 'АлтайБизнес-Банк', - 'Алтайкапиталбанк', - 'Алтынбанк', - 'Альба Альянс', - 'Альта-Банк', - 'Альтернатива', - 'Альфа-Банк', - 'АМБ Банк', - 'Америкэн Экспресс Банк', - 'Анелик РУ', - 'Анкор Банк', - 'Анталбанк', - 'Апабанк', - 'Аресбанк', - 'Арзамас', - 'Арксбанк', - 'Арсенал', - 'Аспект', - 'Ассоциация', - 'БайкалБанк', - 'БайкалИнвестБанк', - 'Байкалкредобанк', - 'Балаково-Банк', - 'Балтийский Банк', - 'Балтика', - 'Балтинвестбанк', - 'Банк "Акцент" Московский филиал', - 'Банк "МБА-Москва"', - 'Банк "Санкт-Петербург"', - 'Банк АВБ', - 'Банк БКФ', - 'Банк БФА', - 'Банк БЦК-Москва', - 'Банк Город', - 'Банк Жилищного Финансирования', - 'Банк Инноваций и Развития', - 'Банк Интеза', - 'Банк ИТБ', - 'Банк Казани', - 'Банк Китая (Элос)', - 'Банк Кредит Свисс', - 'Банк МБФИ', - 'Банк Москвы', - 'Банк на Красных Воротах', - 'Банк Оранжевый (бывш. Промсервисбанк)', - 'Банк оф Токио-Мицубиси', - 'Банк Премьер Кредит', - 'Банк ПСА Финанс Рус', - 'Банк Развития Технологий', - 'Банк Расчетов и Сбережений', - 'Банк Раунд', - 'Банк РСИ', - 'Банк Сберегательно-кредитного сервиса', - 'Банк СГБ', - 'Банк Торгового Финансирования', - 'Банк Финсервис', - 'Банк Экономический Союз', - 'Банкирский Дом', - 'Банкхаус Эрбе', - 'Башкомснаббанк', - 'Башпромбанк', - 'ББР Банк', - 'Белгородсоцбанк', - 'Бенифит-Банк', - 'Берейт', - 'Бест Эффортс Банк', - 'Бизнес для Бизнеса', - 'Бинбанк', - 'БИНБАНК кредитные карты', - 'Бинбанк Мурманск', - 'БКС Инвестиционный Банк', - 'БМВ Банк', - 'БНП Париба Банк', - 'Богородский', - 'Богородский Муниципальный Банк', - 'Братский АНКБ', - 'БСТ-Банк', - 'Булгар Банк', - 'Бум-Банк', - 'Бумеранг', - 'БФГ-Кредит', - 'БыстроБанк', - 'Вакобанк', - 'Вега-Банк', - 'Век', - 'Великие Луки Банк', - 'Венец', - 'Верхневолжский', - 'Верхневолжский Крымский филиал', - 'Верхневолжский Московский филиал', - 'Верхневолжский Невский филиал', - 'Верхневолжский Таврический филиал', - 'Верхневолжский Ярославский филиал', - 'Веста', - 'Вестинтербанк', - 'Взаимодействие', - 'Викинг', - 'Витабанк', - 'Витязь', - 'Вкабанк', - 'Владбизнесбанк', - 'Владпромбанк', - 'Внешпромбанк', - 'Внешфинбанк', - 'Внешэкономбанк', - 'Военно-Промышленный Банк', - 'Возрождение', - 'Вокбанк', - 'Вологдабанк', - 'Вологжанин', - 'Воронеж', - 'Восточно-Европейский Трастовый Банк', - 'Восточный Экспресс Банк', - 'ВостСибтранскомбанк', - 'ВРБ Москва', - 'Всероссийский Банк Развития Регионов', - 'ВТБ', - 'ВТБ 24', - 'ВУЗ-Банк', - 'Выборг-Банк', - 'Выборг-Банк Московский филиал', - 'Вэлтон Банк', - 'Вятич', - 'Вятка-Банк', - 'Гагаринский', - 'Газбанк', - 'Газнефтьбанк', - 'Газпромбанк', - 'Газстройбанк', - 'Газтрансбанк', - 'Газэнергобанк', - 'Ганзакомбанк', - 'Гарант-Инвест', - 'Гаранти Банк Москва', - 'Геленджик-Банк', - 'Генбанк', - 'Геобанк', - 'Гефест', - 'Глобус', - 'Глобэкс', - 'Голдман Сакс Банк', - 'Горбанк', - 'ГПБ-Ипотека', - 'Гранд Инвест Банк', - 'Гринкомбанк', - 'Гринфилдбанк', - 'Грис-Банк', - 'Гута-Банк', - 'Далена', - 'Далетбанк', - 'Далта-Банк', - 'Дальневосточный Банк', - 'Данске Банк', - 'Девон-Кредит', - 'ДельтаКредит', - 'Денизбанк Москва', - 'Держава', - 'Дж. П. Морган Банк', - 'Джаст Банк', - 'Джей энд Ти Банк', - 'Дил-Банк', - 'Динамичные Системы', - 'Дойче Банк', - 'Долинск', - 'Дом-Банк', - 'Дон-Тексбанк', - 'Донкомбанк', - 'Донхлеббанк', - 'Дорис Банк', - 'Дружба', - 'ЕАТП Банк', - 'Евразийский Банк', - 'Евроазиатский Инвестиционный Банк', - 'ЕвроАксис Банк', - 'Евроальянс', - 'Еврокапитал-Альянс', - 'Еврокоммерц', - 'Еврокредит', - 'Евромет', - 'Европейский Стандарт', - 'Европлан Банк', - 'ЕвроситиБанк', - 'Еврофинанс Моснарбанк', - 'Единственный', - 'Единый Строительный Банк', - 'Екатеринбург', - 'Екатерининский', - 'Енисей', - 'Енисейский Объединенный Банк', - 'Ермак', - 'Живаго-Банк', - 'Жилкредит', - 'Жилстройбанк', - 'Запсибкомбанк', - 'Заречье', - 'Заубер Банк', - 'Земкомбанк', - 'Земский Банк', - 'Зенит', - 'Зенит Сочи', - 'Зернобанк', - 'Зираат Банк', - 'Златкомбанк', - 'И.Д.Е.А. Банк', - 'Иваново', - 'Идеалбанк', - 'Ижкомбанк', - 'ИК Банк', - 'Икано Банк', - 'Инбанк', - 'Инвест-Экобанк', - 'Инвестиционный Банк Кубани', - 'Инвестиционный Республиканский Банк', - 'Инвестиционный Союз', - 'Инвесткапиталбанк', - 'Инвестсоцбанк', - 'Инвестторгбанк', - 'ИНГ Банк', - 'Индустриальный Сберегательный Банк', - 'Инкаробанк', - 'Интерактивный Банк', - 'Интеркоммерц Банк', - 'Интеркоопбанк', - 'Интеркредит', - 'Интернациональный Торговый Банк', - 'Интерпрогрессбанк', - 'Интерпромбанк', - 'Интехбанк', - 'Информпрогресс', - 'Ипозембанк', - 'ИпоТек Банк', - 'Иронбанк', - 'ИРС', - 'Итуруп', - 'Ишбанк', - 'Йошкар-Ола', - 'Калуга', - 'Камский Горизонт', - 'Камский Коммерческий Банк', - 'Камчаткомагропромбанк', - 'Канский', - 'Капитал', - 'Капиталбанк', - 'Кедр', - 'Кемсоцинбанк', - 'Кетовский Коммерческий Банк', - 'Киви Банк', - 'Классик Эконом Банк', - 'Клиентский', - 'Кольцо Урала', - 'Коммерцбанк (Евразия)', - 'Коммерческий Банк Развития', - 'Коммерческий Индо Банк', - 'Консервативный Коммерческий Банк', - 'Констанс-Банк', - 'Континенталь', - 'Конфидэнс Банк', - 'Кор', - 'Кореа Эксчендж Банк Рус', - 'Королевский Банк Шотландии', - 'Космос', - 'Костромаселькомбанк', - 'Кошелев-Банк', - 'Крайинвестбанк', - 'Кранбанк', - 'Креди Агриколь КИБ', - 'Кредит Европа Банк', - 'Кредит Урал Банк', - 'Кредит Экспресс', - 'Кредит-Москва', - 'Кредитинвест', - 'Кредо Финанс', - 'Кредпромбанк', - 'Кремлевский', - 'Крокус-Банк', - 'Крона-Банк', - 'Кросна-Банк', - 'Кроссинвестбанк', - 'Крыловский', - 'КС Банк', - 'Кубанский Универсальный Банк', - 'Кубань Кредит', - 'Кубаньторгбанк', - 'Кузбассхимбанк', - 'Кузнецкбизнесбанк', - 'Кузнецкий', - 'Кузнецкий Мост', - 'Курган', - 'Курскпромбанк', - 'Лада-Кредит', - 'Лайтбанк', - 'Ланта-Банк', - 'Левобережный', - 'Легион', - 'Леноблбанк', - 'Лесбанк', - 'Лето Банк', - 'Липецккомбанк', - 'Логос', - 'Локо-Банк', - 'Лэнд-Банк', - 'М2М Прайвет Банк', - 'Майкопбанк', - 'Майский', - 'МАК-Банк', - 'Максима', - 'Максимум', - 'МАСТ-Банк', - 'Мастер-Капитал', - 'МВС Банк', - 'МДМ Банк', - 'Мегаполис', - 'Международный Акционерный Банк', - 'Международный Банк Развития', - 'Международный Банк Санкт-Петербурга (МБСП)', - 'Международный Коммерческий Банк', - 'Международный Расчетный Банк', - 'Международный Строительный Банк', - 'Международный Финансовый Клуб', - 'Межотраслевая Банковская Корпорация', - 'Межрегиональный Банк Реконструкции', - 'Межрегиональный Клиринговый Банк', - 'Межрегиональный Почтовый Банк', - 'Межрегиональный промышленно-строительный банк', - 'Межрегионбанк', - 'Межтопэнергобанк', - 'Межтрастбанк', - 'Мерседес-Бенц Банк Рус', - 'Металлинвестбанк', - 'Металлург', - 'Меткомбанк (Каменск-Уральский)', - 'Меткомбанк (Череповец)', - 'Метробанк', - 'Метрополь', - 'Мидзухо Банк', - 'Мико-Банк', - 'Милбанк', - 'Миллениум Банк', - 'Мир Бизнес Банк', - 'Мираф-Банк', - 'Мираф-Банк Московский филиал', - 'Миръ', - 'Михайловский ПЖСБ', - 'Морган Стэнли Банк', - 'Морской Банк', - 'Мосводоканалбанк', - 'Москва', - 'Москва-Сити', - 'Московский Вексельный Банк', - 'Московский Индустриальный Банк', - 'Московский Коммерческий Банк', - 'Московский Кредитный Банк', - 'Московский Национальный Инвестиционный Банк', - 'Московский Нефтехимический Банк', - 'Московский Областной Банк', - 'Московско-Парижский Банк', - 'Московское Ипотечное Агентство', - 'Москоммерцбанк', - 'Мосстройэкономбанк (М Банк)', - 'Мострансбанк', - 'Мосуралбанк', - 'МС Банк Рус', - 'МСП Банк', - 'МТИ-Банк', - 'МТС Банк', - 'Муниципальный Камчатпрофитбанк', - 'Мурманский Социальный Коммерческий Банк', - 'МФБанк', - 'Н-Банк', - 'Нальчик', - 'Наратбанк', - 'Народный Банк', - 'Народный Банк Республики Тыва', - 'Народный Доверительный Банк', - 'Народный Земельно-Промышленный Банк', - 'Народный Инвестиционный Банк', - 'Натиксис Банк', - 'Нацинвестпромбанк', - 'Национальная Факторинговая Компания', - 'Национальный Банк "Траст"', - 'Национальный Банк Взаимного Кредита', - 'Национальный Банк Сбережений', - 'Национальный Залоговый Банк', - 'Национальный Клиринговый Банк', - 'Национальный Клиринговый Центр', - 'Национальный Корпоративный Банк', - 'Национальный Резервный Банк', - 'Национальный Стандарт', - 'Наш Дом', - 'НБД-Банк', - 'НБК-Банк', - 'Невастройинвест', - 'Невский Банк', - 'Нейва', - 'Нерюнгрибанк', - 'Нефтепромбанк', - 'Нефтяной Альянс', - 'Нижневолжский Коммерческий Банк', - 'Нико-Банк', - 'НК Банк', - 'НоваховКапиталБанк', - 'Новация', - 'Новикомбанк', - 'Новобанк', - 'Новое Время', - 'Новокиб', - 'Новопокровский', - 'Новый Век', - 'Новый Кредитный Союз', - 'Новый Московский Банк', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @see list of Russian banks (2015-04-04), source: http://www.banki.ru/banks/ + * + * @example "cat *.html | grep 'b-cb-list__name' | iconv --f windows-1251 --t utf-8 | grep -o '>.*<' | \ + * sed -r 's/—//' | sed -r 's/[\<\>]//g' | sed -r "s/(^|$)/'/g" | sed -r 's/$/,/' | sed -r 's/\&(laquo|raquo);/"/g' | \ + * sed -r 's/\s+/ /g'" + */ + protected static $banks = [ + 'Новый Промышленный Банк', + 'Новый Символ', + 'Нокссбанк', + 'Ноосфера', + 'Нордеа Банк', + 'Нота-Банк', + 'НС Банк', + 'НСТ-Банк', + 'Нэклис-Банк', + 'Образование', + 'Объединенный Банк Промышленных Инвестиций', + 'Объединенный Банк Республики', + 'Объединенный Капитал', + 'Объединенный Кредитный Банк', + 'Объединенный Кредитный Банк Московский филиал', + 'Объединенный Национальный Банк', + 'Объединенный Резервный Банк', + 'Океан Банк', + 'ОЛМА-Банк', + 'Онего', + 'Оней Банк', + 'ОПМ-Банк', + 'Оргбанк', + 'Оренбург', + 'ОТП Банк', + 'ОФК Банк', + 'Охабанк', + 'Первобанк', + 'Первомайский', + 'Первоуральскбанк', + 'Первый Дортрансбанк', + 'Первый Инвестиционный банк', + 'Первый Клиентский Банк', + 'Первый Чешско-Российский Банк', + 'Пересвет', + 'Пермь', + 'Петербургский Социальный Коммерческий Банк', + 'Петрокоммерц', + 'ПИР Банк', + 'Платина', + 'Плато-Банк', + 'Плюс Банк', + 'Пойдем!', + 'Почтобанк', + 'Прайм Финанс', + 'Преодоление', + 'Приморье', + 'Примсоцбанк', + 'Примтеркомбанк', + 'Прио-Внешторгбанк', + 'Приобье', + 'Приполярный', + 'Приско Капитал Банк', + 'Пробизнесбанк', + 'Проинвестбанк', + 'Прокоммерцбанк', + 'Проминвестбанк', + 'Промрегионбанк', + 'Промсвязьбанк', + 'Промсвязьинвестбанк', + 'Промсельхозбанк', + 'Промтрансбанк', + 'Промышленно-Финансовое Сотрудничество', + 'Промэнергобанк', + 'Профессионал Банк', + 'Профит Банк', + 'Прохладный', + 'Пульс Столицы', + 'Радиотехбанк', + 'Развитие', + 'Развитие-Столица', + 'Райффайзенбанк', + 'Расчетно-Кредитный Банк', + 'Расчетный Дом', + 'РБА', + 'Региональный Банк Развития', + 'Региональный Банк Сбережений', + 'Региональный Коммерческий Банк', + 'Региональный Кредит', + 'Регионфинансбанк', + 'Регнум', + 'Резерв', + 'Ренессанс', + 'Ренессанс Кредит', + 'Рента-Банк', + 'РЕСО Кредит', + 'Республиканский Кредитный Альянс', + 'Ресурс-Траст', + 'Риабанк', + 'Риал-Кредит', + 'Ринвестбанк', + 'Ринвестбанк Московский офис', + 'РИТ-Банк', + 'РН Банк', + 'Росавтобанк', + 'Росбанк', + 'Росбизнесбанк', + 'Росгосстрах Банк', + 'Росдорбанк', + 'РосЕвроБанк', + 'РосинтерБанк', + 'Роспромбанк', + 'Россельхозбанк', + 'Российская Финансовая Корпорация', + 'Российский Капитал', + 'Российский Кредит', + 'Российский Национальный Коммерческий Банк', + 'Россита-Банк', + 'Россия', + 'Рост Банк', + 'Ростфинанс', + 'Росэксимбанк', + 'Росэнергобанк', + 'Роял Кредит Банк', + 'РСКБ', + 'РТС-Банк', + 'РУБанк', + 'Рублев', + 'Руна-Банк', + 'Рунэтбанк', + 'Рускобанк', + 'Руснарбанк', + 'Русский Банк Сбережений', + 'Русский Ипотечный Банк', + 'Русский Международный Банк', + 'Русский Национальный Банк', + 'Русский Стандарт', + 'Русский Торговый Банк', + 'Русский Трастовый Банк', + 'Русский Финансовый Альянс', + 'Русский Элитарный Банк', + 'Русславбанк', + 'Руссобанк', + 'Русстройбанк', + 'Русфинанс Банк', + 'Русь', + 'РусьРегионБанк', + 'Русьуниверсалбанк', + 'РусЮгбанк', + 'РФИ Банк', + 'Саммит Банк', + 'Санкт-Петербургский Банк Инвестиций', + 'Саратов', + 'Саровбизнесбанк', + 'Сбербанк России', + 'Связной Банк', + 'Связь-Банк', + 'СДМ-Банк', + 'Севастопольский Морской банк', + 'Северный Кредит', + 'Северный Народный Банк', + 'Северо-Восточный Альянс', + 'Северо-Западный 1 Альянс Банк', + 'Северстройбанк', + 'Севзапинвестпромбанк', + 'Сельмашбанк', + 'Сервис-Резерв', + 'Сетелем Банк', + 'СИАБ', + 'Сибирский Банк Реконструкции и Развития', + 'Сибнефтебанк', + 'Сибсоцбанк', + 'Сибэс', + 'Сибэс Московский офис', + 'Синергия', + 'Синко-Банк', + 'Система', + 'Сити Инвест Банк', + 'Ситибанк', + 'СКА-Банк', + 'СКБ-Банк', + 'Славия', + 'Славянбанк', + 'Славянский Кредит', + 'Смартбанк', + 'СМБ-Банк', + 'Смолевич', + 'СМП Банк', + 'Снежинский', + 'Собинбанк', + 'Соверен Банк', + 'Советский', + 'Совкомбанк', + 'Современные Стандарты Бизнеса', + 'Содружество', + 'Соколовский', + 'Солид Банк', + 'Солидарность (Москва)', + 'Солидарность (Самара)', + 'Социнвестбанк', + 'Социнвестбанк Московский филиал', + 'Социум-Банк', + 'Союз', + 'Союзный', + 'Спецстройбанк', + 'Спиритбанк', + 'Спурт Банк', + 'Спутник', + 'Ставропольпромстройбанк', + 'Сталь Банк', + 'Стандарт-Кредит', + 'Стар Альянс', + 'СтарБанк', + 'Старооскольский Агропромбанк', + 'Старый Кремль', + 'Стелла-Банк', + 'Столичный Кредит', + 'Стратегия', + 'Строительно-Коммерческий Банк', + 'Стройлесбанк', + 'Сумитомо Мицуи', + 'Сургутнефтегазбанк', + 'СЭБ Банк', + 'Таатта', + 'Таврический', + 'Таганрогбанк', + 'Тагилбанк', + 'Тайдон', + 'Тайм Банк', + 'Тальменка-Банк', + 'Тальменка-Банк Московский филиал', + 'Тамбовкредитпромбанк', + 'Татагропромбанк', + 'Татсоцбанк', + 'Татфондбанк', + 'Таурус Банк', + 'ТверьУниверсалБанк', + 'Тексбанк', + 'Темпбанк', + 'Тендер-Банк', + 'Терра', + 'Тетраполис', + 'Тимер Банк', + 'Тинькофф Банк', + 'Тихоокеанский Внешторгбанк', + 'Тойота Банк', + 'Тольяттихимбанк', + 'Томскпромстройбанк', + 'Торгово-Промышленный Банк Китая', + 'Торговый Городской Банк', + 'Торжокуниверсалбанк', + 'Транскапиталбанк', + 'Транснациональный Банк', + 'Транспортный', + 'Трансстройбанк', + 'Траст Капитал Банк', + 'Тройка-Д Банк', + 'Тульский Промышленник', + 'Тульский Промышленник Московский офис', + 'Тульский Расчетный Центр', + 'Турбобанк', + 'Тусар', + 'ТЭМБР-Банк', + 'ТЭСТ', + 'Углеметбанк', + 'Уздан', + 'Унифин', + 'Унифондбанк', + 'Уралкапиталбанк', + 'Уралприватбанк', + 'Уралпромбанк', + 'Уралсиб', + 'Уралтрансбанк', + 'Уралфинанс', + 'Уральский Банк Реконструкции и Развития', + 'Уральский Межрегиональный Банк', + 'Уральский Финансовый Дом', + 'Ури Банк', + 'Уссури', + 'ФДБ', + 'ФИА-Банк', + 'Финам Банк', + 'Финанс Бизнес Банк', + 'Финансово-Промышленный Капитал', + 'Финансовый Капитал', + 'Финансовый Стандарт', + 'Финарс Банк', + 'Финпромбанк (ФПБ Банк)', + 'Финтрастбанк', + 'ФК Открытие (бывш. НОМОС-Банк)', + 'Флора-Москва', + 'Фольксваген Банк Рус', + 'Фондсервисбанк', + 'Фора-Банк', + 'Форбанк', + 'Форус Банк', + 'Форштадт', + 'Фьючер', + 'Хакасский Муниципальный Банк', + 'Ханты-Мансийский банк Открытие', + 'Химик', + 'Хлынов', + 'Хованский', + 'Холдинвестбанк', + 'Холмск', + 'Хоум Кредит Банк', + 'Центр-инвест', + 'Центрально-Азиатский', + 'Центрально-Европейский Банк', + 'Центркомбанк', + 'ЦентроКредит', + 'Церих', + 'Чайна Констракшн', + 'Чайнасельхозбанк', + 'Челиндбанк', + 'Челябинвестбанк', + 'Черноморский банк развития и реконструкции', + 'Чувашкредитпромбанк', + 'Эйч-Эс-Би-Си Банк (HSBC)', + 'Эко-Инвест', + 'Экономбанк', + 'Экономикс-Банк', + 'Экси-Банк', + 'Эксперт Банк', + 'Экспобанк', + 'Экспресс-Волга', + 'Экспресс-Кредит', + 'Эл Банк', + 'Элита', + 'Эльбин', + 'Энергобанк', + 'Энергомашбанк', + 'Энерготрансбанк', + 'Эно', + 'Энтузиастбанк', + 'Эргобанк', + 'Ю Би Эс Банк', + 'ЮГ-Инвестбанк', + 'Югра', + 'Южный Региональный Банк', + 'ЮМК', + 'Юниаструм Банк', + 'ЮниКредит Банк', + 'Юнистрим', + 'Япы Креди Банк Москва', + 'ЯР-Банк', + 'Яринтербанк', + 'Ярославич', + 'K2 Банк', + 'АББ', + 'Абсолют Банк', + 'Авангард', + 'Аверс', + 'Автоградбанк', + 'АвтоКредитБанк', + 'Автоторгбанк', + 'Агроинкомбанк', + 'Агропромкредит', + 'Агророс', + 'Агросоюз', + 'Адамон Банк', + 'Адамон Банк Московский филиал', + 'Аделантбанк', + 'Адмиралтейский', + 'Азиатско-Тихоокеанский Банк', + 'Азимут', + 'Азия Банк', + 'Азия-Инвест Банк', + 'Ай-Си-Ай-Си-Ай Банк (ICICI)', + 'Айви Банк', + 'АйМаниБанк', + 'Ак Барс', + 'Акибанк', + 'Аккобанк', + 'Акрополь', + 'Аксонбанк', + 'Актив Банк', + 'АктивКапитал Банк', + 'АктивКапитал Банк Московский филиал', + 'АктивКапитал Банк Санкт-Петербургский филиал', + 'Акцент', + 'Акцепт', + 'Акция', + 'Алданзолотобанк', + 'Александровский', + 'Алеф-Банк', + 'Алжан', + 'Алмазэргиэнбанк', + 'АлтайБизнес-Банк', + 'Алтайкапиталбанк', + 'Алтынбанк', + 'Альба Альянс', + 'Альта-Банк', + 'Альтернатива', + 'Альфа-Банк', + 'АМБ Банк', + 'Америкэн Экспресс Банк', + 'Анелик РУ', + 'Анкор Банк', + 'Анталбанк', + 'Апабанк', + 'Аресбанк', + 'Арзамас', + 'Арксбанк', + 'Арсенал', + 'Аспект', + 'Ассоциация', + 'БайкалБанк', + 'БайкалИнвестБанк', + 'Байкалкредобанк', + 'Балаково-Банк', + 'Балтийский Банк', + 'Балтика', + 'Балтинвестбанк', + 'Банк "Акцент" Московский филиал', + 'Банк "МБА-Москва"', + 'Банк "Санкт-Петербург"', + 'Банк АВБ', + 'Банк БКФ', + 'Банк БФА', + 'Банк БЦК-Москва', + 'Банк Город', + 'Банк Жилищного Финансирования', + 'Банк Инноваций и Развития', + 'Банк Интеза', + 'Банк ИТБ', + 'Банк Казани', + 'Банк Китая (Элос)', + 'Банк Кредит Свисс', + 'Банк МБФИ', + 'Банк Москвы', + 'Банк на Красных Воротах', + 'Банк Оранжевый (бывш. Промсервисбанк)', + 'Банк оф Токио-Мицубиси', + 'Банк Премьер Кредит', + 'Банк ПСА Финанс Рус', + 'Банк Развития Технологий', + 'Банк Расчетов и Сбережений', + 'Банк Раунд', + 'Банк РСИ', + 'Банк Сберегательно-кредитного сервиса', + 'Банк СГБ', + 'Банк Торгового Финансирования', + 'Банк Финсервис', + 'Банк Экономический Союз', + 'Банкирский Дом', + 'Банкхаус Эрбе', + 'Башкомснаббанк', + 'Башпромбанк', + 'ББР Банк', + 'Белгородсоцбанк', + 'Бенифит-Банк', + 'Берейт', + 'Бест Эффортс Банк', + 'Бизнес для Бизнеса', + 'Бинбанк', + 'БИНБАНК кредитные карты', + 'Бинбанк Мурманск', + 'БКС Инвестиционный Банк', + 'БМВ Банк', + 'БНП Париба Банк', + 'Богородский', + 'Богородский Муниципальный Банк', + 'Братский АНКБ', + 'БСТ-Банк', + 'Булгар Банк', + 'Бум-Банк', + 'Бумеранг', + 'БФГ-Кредит', + 'БыстроБанк', + 'Вакобанк', + 'Вега-Банк', + 'Век', + 'Великие Луки Банк', + 'Венец', + 'Верхневолжский', + 'Верхневолжский Крымский филиал', + 'Верхневолжский Московский филиал', + 'Верхневолжский Невский филиал', + 'Верхневолжский Таврический филиал', + 'Верхневолжский Ярославский филиал', + 'Веста', + 'Вестинтербанк', + 'Взаимодействие', + 'Викинг', + 'Витабанк', + 'Витязь', + 'Вкабанк', + 'Владбизнесбанк', + 'Владпромбанк', + 'Внешпромбанк', + 'Внешфинбанк', + 'Внешэкономбанк', + 'Военно-Промышленный Банк', + 'Возрождение', + 'Вокбанк', + 'Вологдабанк', + 'Вологжанин', + 'Воронеж', + 'Восточно-Европейский Трастовый Банк', + 'Восточный Экспресс Банк', + 'ВостСибтранскомбанк', + 'ВРБ Москва', + 'Всероссийский Банк Развития Регионов', + 'ВТБ', + 'ВТБ 24', + 'ВУЗ-Банк', + 'Выборг-Банк', + 'Выборг-Банк Московский филиал', + 'Вэлтон Банк', + 'Вятич', + 'Вятка-Банк', + 'Гагаринский', + 'Газбанк', + 'Газнефтьбанк', + 'Газпромбанк', + 'Газстройбанк', + 'Газтрансбанк', + 'Газэнергобанк', + 'Ганзакомбанк', + 'Гарант-Инвест', + 'Гаранти Банк Москва', + 'Геленджик-Банк', + 'Генбанк', + 'Геобанк', + 'Гефест', + 'Глобус', + 'Глобэкс', + 'Голдман Сакс Банк', + 'Горбанк', + 'ГПБ-Ипотека', + 'Гранд Инвест Банк', + 'Гринкомбанк', + 'Гринфилдбанк', + 'Грис-Банк', + 'Гута-Банк', + 'Далена', + 'Далетбанк', + 'Далта-Банк', + 'Дальневосточный Банк', + 'Данске Банк', + 'Девон-Кредит', + 'ДельтаКредит', + 'Денизбанк Москва', + 'Держава', + 'Дж. П. Морган Банк', + 'Джаст Банк', + 'Джей энд Ти Банк', + 'Дил-Банк', + 'Динамичные Системы', + 'Дойче Банк', + 'Долинск', + 'Дом-Банк', + 'Дон-Тексбанк', + 'Донкомбанк', + 'Донхлеббанк', + 'Дорис Банк', + 'Дружба', + 'ЕАТП Банк', + 'Евразийский Банк', + 'Евроазиатский Инвестиционный Банк', + 'ЕвроАксис Банк', + 'Евроальянс', + 'Еврокапитал-Альянс', + 'Еврокоммерц', + 'Еврокредит', + 'Евромет', + 'Европейский Стандарт', + 'Европлан Банк', + 'ЕвроситиБанк', + 'Еврофинанс Моснарбанк', + 'Единственный', + 'Единый Строительный Банк', + 'Екатеринбург', + 'Екатерининский', + 'Енисей', + 'Енисейский Объединенный Банк', + 'Ермак', + 'Живаго-Банк', + 'Жилкредит', + 'Жилстройбанк', + 'Запсибкомбанк', + 'Заречье', + 'Заубер Банк', + 'Земкомбанк', + 'Земский Банк', + 'Зенит', + 'Зенит Сочи', + 'Зернобанк', + 'Зираат Банк', + 'Златкомбанк', + 'И.Д.Е.А. Банк', + 'Иваново', + 'Идеалбанк', + 'Ижкомбанк', + 'ИК Банк', + 'Икано Банк', + 'Инбанк', + 'Инвест-Экобанк', + 'Инвестиционный Банк Кубани', + 'Инвестиционный Республиканский Банк', + 'Инвестиционный Союз', + 'Инвесткапиталбанк', + 'Инвестсоцбанк', + 'Инвестторгбанк', + 'ИНГ Банк', + 'Индустриальный Сберегательный Банк', + 'Инкаробанк', + 'Интерактивный Банк', + 'Интеркоммерц Банк', + 'Интеркоопбанк', + 'Интеркредит', + 'Интернациональный Торговый Банк', + 'Интерпрогрессбанк', + 'Интерпромбанк', + 'Интехбанк', + 'Информпрогресс', + 'Ипозембанк', + 'ИпоТек Банк', + 'Иронбанк', + 'ИРС', + 'Итуруп', + 'Ишбанк', + 'Йошкар-Ола', + 'Калуга', + 'Камский Горизонт', + 'Камский Коммерческий Банк', + 'Камчаткомагропромбанк', + 'Канский', + 'Капитал', + 'Капиталбанк', + 'Кедр', + 'Кемсоцинбанк', + 'Кетовский Коммерческий Банк', + 'Киви Банк', + 'Классик Эконом Банк', + 'Клиентский', + 'Кольцо Урала', + 'Коммерцбанк (Евразия)', + 'Коммерческий Банк Развития', + 'Коммерческий Индо Банк', + 'Консервативный Коммерческий Банк', + 'Констанс-Банк', + 'Континенталь', + 'Конфидэнс Банк', + 'Кор', + 'Кореа Эксчендж Банк Рус', + 'Королевский Банк Шотландии', + 'Космос', + 'Костромаселькомбанк', + 'Кошелев-Банк', + 'Крайинвестбанк', + 'Кранбанк', + 'Креди Агриколь КИБ', + 'Кредит Европа Банк', + 'Кредит Урал Банк', + 'Кредит Экспресс', + 'Кредит-Москва', + 'Кредитинвест', + 'Кредо Финанс', + 'Кредпромбанк', + 'Кремлевский', + 'Крокус-Банк', + 'Крона-Банк', + 'Кросна-Банк', + 'Кроссинвестбанк', + 'Крыловский', + 'КС Банк', + 'Кубанский Универсальный Банк', + 'Кубань Кредит', + 'Кубаньторгбанк', + 'Кузбассхимбанк', + 'Кузнецкбизнесбанк', + 'Кузнецкий', + 'Кузнецкий Мост', + 'Курган', + 'Курскпромбанк', + 'Лада-Кредит', + 'Лайтбанк', + 'Ланта-Банк', + 'Левобережный', + 'Легион', + 'Леноблбанк', + 'Лесбанк', + 'Лето Банк', + 'Липецккомбанк', + 'Логос', + 'Локо-Банк', + 'Лэнд-Банк', + 'М2М Прайвет Банк', + 'Майкопбанк', + 'Майский', + 'МАК-Банк', + 'Максима', + 'Максимум', + 'МАСТ-Банк', + 'Мастер-Капитал', + 'МВС Банк', + 'МДМ Банк', + 'Мегаполис', + 'Международный Акционерный Банк', + 'Международный Банк Развития', + 'Международный Банк Санкт-Петербурга (МБСП)', + 'Международный Коммерческий Банк', + 'Международный Расчетный Банк', + 'Международный Строительный Банк', + 'Международный Финансовый Клуб', + 'Межотраслевая Банковская Корпорация', + 'Межрегиональный Банк Реконструкции', + 'Межрегиональный Клиринговый Банк', + 'Межрегиональный Почтовый Банк', + 'Межрегиональный промышленно-строительный банк', + 'Межрегионбанк', + 'Межтопэнергобанк', + 'Межтрастбанк', + 'Мерседес-Бенц Банк Рус', + 'Металлинвестбанк', + 'Металлург', + 'Меткомбанк (Каменск-Уральский)', + 'Меткомбанк (Череповец)', + 'Метробанк', + 'Метрополь', + 'Мидзухо Банк', + 'Мико-Банк', + 'Милбанк', + 'Миллениум Банк', + 'Мир Бизнес Банк', + 'Мираф-Банк', + 'Мираф-Банк Московский филиал', + 'Миръ', + 'Михайловский ПЖСБ', + 'Морган Стэнли Банк', + 'Морской Банк', + 'Мосводоканалбанк', + 'Москва', + 'Москва-Сити', + 'Московский Вексельный Банк', + 'Московский Индустриальный Банк', + 'Московский Коммерческий Банк', + 'Московский Кредитный Банк', + 'Московский Национальный Инвестиционный Банк', + 'Московский Нефтехимический Банк', + 'Московский Областной Банк', + 'Московско-Парижский Банк', + 'Московское Ипотечное Агентство', + 'Москоммерцбанк', + 'Мосстройэкономбанк (М Банк)', + 'Мострансбанк', + 'Мосуралбанк', + 'МС Банк Рус', + 'МСП Банк', + 'МТИ-Банк', + 'МТС Банк', + 'Муниципальный Камчатпрофитбанк', + 'Мурманский Социальный Коммерческий Банк', + 'МФБанк', + 'Н-Банк', + 'Нальчик', + 'Наратбанк', + 'Народный Банк', + 'Народный Банк Республики Тыва', + 'Народный Доверительный Банк', + 'Народный Земельно-Промышленный Банк', + 'Народный Инвестиционный Банк', + 'Натиксис Банк', + 'Нацинвестпромбанк', + 'Национальная Факторинговая Компания', + 'Национальный Банк "Траст"', + 'Национальный Банк Взаимного Кредита', + 'Национальный Банк Сбережений', + 'Национальный Залоговый Банк', + 'Национальный Клиринговый Банк', + 'Национальный Клиринговый Центр', + 'Национальный Корпоративный Банк', + 'Национальный Резервный Банк', + 'Национальный Стандарт', + 'Наш Дом', + 'НБД-Банк', + 'НБК-Банк', + 'Невастройинвест', + 'Невский Банк', + 'Нейва', + 'Нерюнгрибанк', + 'Нефтепромбанк', + 'Нефтяной Альянс', + 'Нижневолжский Коммерческий Банк', + 'Нико-Банк', + 'НК Банк', + 'НоваховКапиталБанк', + 'Новация', + 'Новикомбанк', + 'Новобанк', + 'Новое Время', + 'Новокиб', + 'Новопокровский', + 'Новый Век', + 'Новый Кредитный Союз', + 'Новый Московский Банк', + ]; - /** - * @example 'Новый Московский Банк' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Новый Московский Банк' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Person.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Person.php index 95ec806..701c962 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Person.php @@ -2,179 +2,608 @@ namespace Faker\Provider\ru_RU; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{lastName}} {{firstNameMale}} {{middleNameMale}}', - ]; - - /** - * This provider uses wikipedia's 250 top russian last names - * That list of MALE last names could be safely extended to FEMALE list just by adding 'a' letter at the end - */ - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}а', - '{{lastName}}а {{firstNameFemale}} {{middleNameFemale}}', - ]; - - /** - * {@link} http://ru.wikipedia.org/wiki/%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%BE%D0%B5_%D0%BB%D0%B8%D1%87%D0%BD%D0%BE%D0%B5_%D0%B8%D0%BC%D1%8F - * {@link} http://masterrussian.com/aa031701a.shtml - */ - protected static $firstNameMale = [ - 'Абрам', 'Август', 'Адам', 'Адриан', 'Аким', 'Александр', 'Алексей', 'Альберт', 'Ананий', 'Анатолий', 'Андрей', 'Антон', 'Антонин', - 'Аполлон', 'Аркадий', 'Арсений', 'Артемий', 'Артур', 'Артём', 'Афанасий', 'Богдан', 'Болеслав', 'Борис', 'Бронислав', 'Вадим', - 'Валентин', 'Валериан', 'Валерий', 'Василий', 'Вениамин', 'Викентий', 'Виктор', 'Виль', 'Виталий', 'Витольд', 'Влад', 'Владимир', - 'Владислав', 'Владлен', 'Всеволод', 'Вячеслав', 'Гавриил', 'Гарри', 'Геннадий', 'Георгий', 'Герасим', 'Герман', 'Глеб', 'Гордей', - 'Григорий', 'Давид', 'Дан', 'Даниил', 'Данила', 'Денис', 'Дмитрий', 'Добрыня', 'Донат', 'Евгений', 'Егор', 'Ефим', - 'Захар', 'Иван', 'Игнат', 'Игнатий', 'Игорь', 'Илларион', 'Илья', 'Иммануил', 'Иннокентий', 'Иосиф', 'Ираклий', 'Кирилл', - 'Клим', 'Константин', 'Кузьма', 'Лаврентий', 'Лев', 'Леонид', 'Макар', 'Максим', 'Марат', 'Марк', 'Матвей', 'Милан', - 'Мирослав', 'Михаил', 'Назар', 'Нестор', 'Никита', 'Никодим', 'Николай', 'Олег', 'Павел', 'Платон', 'Прохор', 'Пётр', - 'Радислав', 'Рафаил', 'Роберт', 'Родион', 'Роман', 'Ростислав', 'Руслан', 'Сава', 'Савва', 'Святослав', 'Семён', 'Сергей', - 'Спартак', 'Станислав', 'Степан', 'Стефан', 'Тарас', 'Тимофей', 'Тимур', 'Тит', 'Трофим', 'Феликс', 'Филипп', 'Фёдор', - 'Эдуард', 'Эрик', 'Юлиан', 'Юлий', 'Юрий', 'Яков', 'Ян', 'Ярослав', 'Милан', - ]; - - /** - * {@link} http://masterrussian.com/aa031001a.shtml - */ - protected static $firstNameFemale = [ - 'Александра', 'Алина', 'Алиса', 'Алла', 'Альбина', 'Алёна', 'Анастасия', 'Анжелика', 'Анна', 'Антонина', 'Анфиса', 'Валентина', 'Валерия', - 'Варвара', 'Василиса', 'Вера', 'Вероника', 'Виктория', 'Владлена', 'Галина', 'Дарья', 'Диана', 'Дина', 'Доминика', 'Ева', - 'Евгения', 'Екатерина', 'Елена', 'Елизавета', 'Жанна', 'Зинаида', 'Злата', 'Зоя', 'Изабелла', 'Изольда', 'Инга', 'Инесса', - 'Инна', 'Ирина', 'Искра', 'Капитолина', 'Клавдия', 'Клара', 'Клементина', 'Кристина', 'Ксения', 'Лада', 'Лариса', 'Лидия', - 'Лилия', 'Любовь', 'Людмила', 'Люся', 'Майя', 'Мальвина', 'Маргарита', 'Марина', 'Мария', 'Марта', 'Надежда', 'Наталья', - 'Нелли', 'Ника', 'Нина', 'Нонна', 'Оксана', 'Олеся', 'Ольга', 'Полина', 'Рада', 'Раиса', 'Регина', 'Рената', - 'Розалина', 'Светлана', 'Софья', 'София', 'Таисия', 'Тамара', 'Татьяна', 'Ульяна', 'Фаина', 'Федосья', 'Флорентина', 'Эльвира', 'Эмилия', - 'Эмма', 'Юлия', 'Яна', 'Ярослава', - ]; - - protected static $middleNameMale = [ - 'Александрович', 'Алексеевич', 'Андреевич', 'Дмитриевич', 'Евгеньевич', - 'Сергеевич', 'Иванович', 'Фёдорович', 'Львович', 'Романович', 'Владимирович', - 'Борисович', 'Максимович', - ]; - - protected static $middleNameFemale = [ - 'Александровна', 'Алексеевна', 'Андреевна', 'Дмитриевна', 'Евгеньевна', - 'Сергеевна', 'Ивановна', 'Фёдоровна', 'Львовна', 'Романовна', 'Владимировна', - 'Борисовна', 'Максимовна', - ]; - - /** - * {@link} http://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BE%D0%B1%D1%89%D0%B5%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D1%85_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D0%B9 - */ - protected static $lastName = [ - 'Смирнов', 'Иванов', 'Кузнецов', 'Соколов', 'Попов', 'Лебедев', 'Козлов', - 'Новиков', 'Морозов', 'Петров', 'Волков', 'Соловьёв', 'Васильев', 'Зайцев', - 'Павлов', 'Семёнов', 'Голубев', 'Виноградов', 'Богданов', 'Воробьёв', - 'Фёдоров', 'Михайлов', 'Беляев', 'Тарасов', 'Белов', 'Комаров', 'Орлов', - 'Киселёв', 'Макаров', 'Андреев', 'Ковалёв', 'Ильин', 'Гусев', 'Титов', - 'Кузьмин', 'Кудрявцев', 'Баранов', 'Куликов', 'Алексеев', 'Степанов', - 'Яковлев', 'Сорокин', 'Сергеев', 'Романов', 'Захаров', 'Борисов', 'Королёв', - 'Герасимов', 'Пономарёв', 'Григорьев', 'Лазарев', 'Медведев', 'Ершов', - 'Никитин', 'Соболев', 'Рябов', 'Поляков', 'Цветков', 'Данилов', 'Жуков', - 'Фролов', 'Журавлёв', 'Николаев', 'Крылов', 'Максимов', 'Сидоров', 'Осипов', - 'Белоусов', 'Федотов', 'Дорофеев', 'Егоров', 'Матвеев', 'Бобров', 'Дмитриев', - 'Калинин', 'Анисимов', 'Петухов', 'Антонов', 'Тимофеев', 'Никифоров', - 'Веселов', 'Филиппов', 'Марков', 'Большаков', 'Суханов', 'Миронов', 'Ширяев', - 'Александров', 'Коновалов', 'Шестаков', 'Казаков', 'Ефимов', 'Денисов', - 'Громов', 'Фомин', 'Давыдов', 'Мельников', 'Щербаков', 'Блинов', 'Колесников', - 'Карпов', 'Афанасьев', 'Власов', 'Маслов', 'Исаков', 'Тихонов', 'Аксёнов', - 'Гаврилов', 'Родионов', 'Котов', 'Горбунов', 'Кудряшов', 'Быков', 'Зуев', - 'Третьяков', 'Савельев', 'Панов', 'Рыбаков', 'Суворов', 'Абрамов', 'Воронов', - 'Мухин', 'Архипов', 'Трофимов', 'Мартынов', 'Емельянов', 'Горшков', 'Чернов', - 'Овчинников', 'Селезнёв', 'Панфилов', 'Копылов', 'Михеев', 'Галкин', 'Назаров', - 'Лобанов', 'Лукин', 'Беляков', 'Потапов', 'Некрасов', 'Хохлов', 'Жданов', - 'Наумов', 'Шилов', 'Воронцов', 'Ермаков', 'Дроздов', 'Игнатьев', 'Савин', - 'Логинов', 'Сафонов', 'Капустин', 'Кириллов', 'Моисеев', 'Елисеев', 'Кошелев', - 'Костин', 'Горбачёв', 'Орехов', 'Ефремов', 'Исаев', 'Евдокимов', 'Калашников', - 'Кабанов', 'Носков', 'Юдин', 'Кулагин', 'Лапин', 'Прохоров', 'Нестеров', - 'Харитонов', 'Агафонов', 'Муравьёв', 'Ларионов', 'Федосеев', 'Зимин', 'Пахомов', - 'Шубин', 'Игнатов', 'Филатов', 'Крюков', 'Рогов', 'Кулаков', 'Терентьев', - 'Молчанов', 'Владимиров', 'Артемьев', 'Гурьев', 'Зиновьев', 'Гришин', 'Кононов', - 'Дементьев', 'Ситников', 'Симонов', 'Мишин', 'Фадеев', 'Комиссаров', 'Мамонтов', - 'Носов', 'Гуляев', 'Шаров', 'Устинов', 'Вишняков', 'Евсеев', 'Лаврентьев', - 'Брагин', 'Константинов', 'Корнилов', 'Авдеев', 'Зыков', 'Бирюков', 'Шарапов', - 'Никонов', 'Щукин', 'Дьячков', 'Одинцов', 'Сазонов', 'Якушев', 'Красильников', - 'Гордеев', 'Самойлов', 'Князев', 'Беспалов', 'Уваров', 'Шашков', 'Бобылёв', - 'Доронин', 'Белозёров', 'Рожков', 'Самсонов', 'Мясников', 'Лихачёв', 'Буров', - 'Сысоев', 'Фомичёв', 'Русаков', 'Стрелков', 'Гущин', 'Тетерин', 'Колобов', - 'Субботин', 'Фокин', 'Блохин', 'Селиверстов', 'Пестов', 'Кондратьев', 'Силин', - 'Меркушев', 'Лыткин', 'Туров', - ]; - - protected static $lastNameSuffix = ['а', '']; - - /** - * Return male middle name - * - * @example 'Иванович' - * - * @return string Middle name - */ - public function middleNameMale() - { - return static::randomElement(static::$middleNameMale); - } - - /** - * Return female middle name - * - * @example 'Ивановна' - * - * @return string Middle name - */ - public function middleNameFemale() - { - return static::randomElement(static::$middleNameFemale); - } - - /** - * Return middle name for the specified gender. - * - * @param string|null $gender A gender the middle name should be generated - * for. If the argument is skipped a random gender will be used. - * - * @return string Middle name - */ - public function middleName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return $this->middleNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return $this->middleNameFemale(); - } - - return $this->middleName(static::randomElement([ - static::GENDER_MALE, - static::GENDER_FEMALE, - ])); - } - - /** - * Return last name for the specified gender. - * - * @param string|null $gender A gender of the last name should be generated - * for. If the argument is skipped a random gender will be used. - * - * @return string Last name - */ - public function lastName($gender = null) - { - $lastName = static::randomElement(static::$lastName); - - if (static::GENDER_FEMALE === $gender) { - return $lastName . 'а'; - } - - if (static::GENDER_MALE === $gender) { - return $lastName; - } - - return $lastName . static::randomElement(static::$lastNameSuffix); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{lastName}} {{firstNameMale}} {{middleNameMale}}', + ]; + + /** + * This provider uses wikipedia's 250 top russian last names + * That list of MALE last names could be safely extended to FEMALE list just by adding 'a' letter at the end + */ + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}а', + '{{lastName}}а {{firstNameFemale}} {{middleNameFemale}}', + ]; + + /** + * {@link} http://ru.wikipedia.org/wiki/%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%BE%D0%B5_%D0%BB%D0%B8%D1%87%D0%BD%D0%BE%D0%B5_%D0%B8%D0%BC%D1%8F + * {@link} http://masterrussian.com/aa031701a.shtml + */ + protected static $firstNameMale = [ + 'Абрам', + 'Август', + 'Адам', + 'Адриан', + 'Аким', + 'Александр', + 'Алексей', + 'Альберт', + 'Ананий', + 'Анатолий', + 'Андрей', + 'Антон', + 'Антонин', + 'Аполлон', + 'Аркадий', + 'Арсений', + 'Артемий', + 'Артур', + 'Артём', + 'Афанасий', + 'Богдан', + 'Болеслав', + 'Борис', + 'Бронислав', + 'Вадим', + 'Валентин', + 'Валериан', + 'Валерий', + 'Василий', + 'Вениамин', + 'Викентий', + 'Виктор', + 'Виль', + 'Виталий', + 'Витольд', + 'Влад', + 'Владимир', + 'Владислав', + 'Владлен', + 'Всеволод', + 'Вячеслав', + 'Гавриил', + 'Гарри', + 'Геннадий', + 'Георгий', + 'Герасим', + 'Герман', + 'Глеб', + 'Гордей', + 'Григорий', + 'Давид', + 'Дан', + 'Даниил', + 'Данила', + 'Денис', + 'Дмитрий', + 'Добрыня', + 'Донат', + 'Евгений', + 'Егор', + 'Ефим', + 'Захар', + 'Иван', + 'Игнат', + 'Игнатий', + 'Игорь', + 'Илларион', + 'Илья', + 'Иммануил', + 'Иннокентий', + 'Иосиф', + 'Ираклий', + 'Кирилл', + 'Клим', + 'Константин', + 'Кузьма', + 'Лаврентий', + 'Лев', + 'Леонид', + 'Макар', + 'Максим', + 'Марат', + 'Марк', + 'Матвей', + 'Милан', + 'Мирослав', + 'Михаил', + 'Назар', + 'Нестор', + 'Никита', + 'Никодим', + 'Николай', + 'Олег', + 'Павел', + 'Платон', + 'Прохор', + 'Пётр', + 'Радислав', + 'Рафаил', + 'Роберт', + 'Родион', + 'Роман', + 'Ростислав', + 'Руслан', + 'Сава', + 'Савва', + 'Святослав', + 'Семён', + 'Сергей', + 'Спартак', + 'Станислав', + 'Степан', + 'Стефан', + 'Тарас', + 'Тимофей', + 'Тимур', + 'Тит', + 'Трофим', + 'Феликс', + 'Филипп', + 'Фёдор', + 'Эдуард', + 'Эрик', + 'Юлиан', + 'Юлий', + 'Юрий', + 'Яков', + 'Ян', + 'Ярослав', + 'Милан', + ]; + + /** + * {@link} http://masterrussian.com/aa031001a.shtml + */ + protected static $firstNameFemale = [ + 'Александра', + 'Алина', + 'Алиса', + 'Алла', + 'Альбина', + 'Алёна', + 'Анастасия', + 'Анжелика', + 'Анна', + 'Антонина', + 'Анфиса', + 'Валентина', + 'Валерия', + 'Варвара', + 'Василиса', + 'Вера', + 'Вероника', + 'Виктория', + 'Владлена', + 'Галина', + 'Дарья', + 'Диана', + 'Дина', + 'Доминика', + 'Ева', + 'Евгения', + 'Екатерина', + 'Елена', + 'Елизавета', + 'Жанна', + 'Зинаида', + 'Злата', + 'Зоя', + 'Изабелла', + 'Изольда', + 'Инга', + 'Инесса', + 'Инна', + 'Ирина', + 'Искра', + 'Капитолина', + 'Клавдия', + 'Клара', + 'Клементина', + 'Кристина', + 'Ксения', + 'Лада', + 'Лариса', + 'Лидия', + 'Лилия', + 'Любовь', + 'Людмила', + 'Люся', + 'Майя', + 'Мальвина', + 'Маргарита', + 'Марина', + 'Мария', + 'Марта', + 'Надежда', + 'Наталья', + 'Нелли', + 'Ника', + 'Нина', + 'Нонна', + 'Оксана', + 'Олеся', + 'Ольга', + 'Полина', + 'Рада', + 'Раиса', + 'Регина', + 'Рената', + 'Розалина', + 'Светлана', + 'Софья', + 'София', + 'Таисия', + 'Тамара', + 'Татьяна', + 'Ульяна', + 'Фаина', + 'Федосья', + 'Флорентина', + 'Эльвира', + 'Эмилия', + 'Эмма', + 'Юлия', + 'Яна', + 'Ярослава', + ]; + + protected static $middleNameMale = [ + 'Александрович', + 'Алексеевич', + 'Андреевич', + 'Дмитриевич', + 'Евгеньевич', + 'Сергеевич', + 'Иванович', + 'Фёдорович', + 'Львович', + 'Романович', + 'Владимирович', + 'Борисович', + 'Максимович', + ]; + + protected static $middleNameFemale = [ + 'Александровна', + 'Алексеевна', + 'Андреевна', + 'Дмитриевна', + 'Евгеньевна', + 'Сергеевна', + 'Ивановна', + 'Фёдоровна', + 'Львовна', + 'Романовна', + 'Владимировна', + 'Борисовна', + 'Максимовна', + ]; + + /** + * {@link} http://ru.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BE%D0%B1%D1%89%D0%B5%D1%80%D1%83%D1%81%D1%81%D0%BA%D0%B8%D1%85_%D1%84%D0%B0%D0%BC%D0%B8%D0%BB%D0%B8%D0%B9 + */ + protected static $lastName = [ + 'Смирнов', + 'Иванов', + 'Кузнецов', + 'Соколов', + 'Попов', + 'Лебедев', + 'Козлов', + 'Новиков', + 'Морозов', + 'Петров', + 'Волков', + 'Соловьёв', + 'Васильев', + 'Зайцев', + 'Павлов', + 'Семёнов', + 'Голубев', + 'Виноградов', + 'Богданов', + 'Воробьёв', + 'Фёдоров', + 'Михайлов', + 'Беляев', + 'Тарасов', + 'Белов', + 'Комаров', + 'Орлов', + 'Киселёв', + 'Макаров', + 'Андреев', + 'Ковалёв', + 'Ильин', + 'Гусев', + 'Титов', + 'Кузьмин', + 'Кудрявцев', + 'Баранов', + 'Куликов', + 'Алексеев', + 'Степанов', + 'Яковлев', + 'Сорокин', + 'Сергеев', + 'Романов', + 'Захаров', + 'Борисов', + 'Королёв', + 'Герасимов', + 'Пономарёв', + 'Григорьев', + 'Лазарев', + 'Медведев', + 'Ершов', + 'Никитин', + 'Соболев', + 'Рябов', + 'Поляков', + 'Цветков', + 'Данилов', + 'Жуков', + 'Фролов', + 'Журавлёв', + 'Николаев', + 'Крылов', + 'Максимов', + 'Сидоров', + 'Осипов', + 'Белоусов', + 'Федотов', + 'Дорофеев', + 'Егоров', + 'Матвеев', + 'Бобров', + 'Дмитриев', + 'Калинин', + 'Анисимов', + 'Петухов', + 'Антонов', + 'Тимофеев', + 'Никифоров', + 'Веселов', + 'Филиппов', + 'Марков', + 'Большаков', + 'Суханов', + 'Миронов', + 'Ширяев', + 'Александров', + 'Коновалов', + 'Шестаков', + 'Казаков', + 'Ефимов', + 'Денисов', + 'Громов', + 'Фомин', + 'Давыдов', + 'Мельников', + 'Щербаков', + 'Блинов', + 'Колесников', + 'Карпов', + 'Афанасьев', + 'Власов', + 'Маслов', + 'Исаков', + 'Тихонов', + 'Аксёнов', + 'Гаврилов', + 'Родионов', + 'Котов', + 'Горбунов', + 'Кудряшов', + 'Быков', + 'Зуев', + 'Третьяков', + 'Савельев', + 'Панов', + 'Рыбаков', + 'Суворов', + 'Абрамов', + 'Воронов', + 'Мухин', + 'Архипов', + 'Трофимов', + 'Мартынов', + 'Емельянов', + 'Горшков', + 'Чернов', + 'Овчинников', + 'Селезнёв', + 'Панфилов', + 'Копылов', + 'Михеев', + 'Галкин', + 'Назаров', + 'Лобанов', + 'Лукин', + 'Беляков', + 'Потапов', + 'Некрасов', + 'Хохлов', + 'Жданов', + 'Наумов', + 'Шилов', + 'Воронцов', + 'Ермаков', + 'Дроздов', + 'Игнатьев', + 'Савин', + 'Логинов', + 'Сафонов', + 'Капустин', + 'Кириллов', + 'Моисеев', + 'Елисеев', + 'Кошелев', + 'Костин', + 'Горбачёв', + 'Орехов', + 'Ефремов', + 'Исаев', + 'Евдокимов', + 'Калашников', + 'Кабанов', + 'Носков', + 'Юдин', + 'Кулагин', + 'Лапин', + 'Прохоров', + 'Нестеров', + 'Харитонов', + 'Агафонов', + 'Муравьёв', + 'Ларионов', + 'Федосеев', + 'Зимин', + 'Пахомов', + 'Шубин', + 'Игнатов', + 'Филатов', + 'Крюков', + 'Рогов', + 'Кулаков', + 'Терентьев', + 'Молчанов', + 'Владимиров', + 'Артемьев', + 'Гурьев', + 'Зиновьев', + 'Гришин', + 'Кононов', + 'Дементьев', + 'Ситников', + 'Симонов', + 'Мишин', + 'Фадеев', + 'Комиссаров', + 'Мамонтов', + 'Носов', + 'Гуляев', + 'Шаров', + 'Устинов', + 'Вишняков', + 'Евсеев', + 'Лаврентьев', + 'Брагин', + 'Константинов', + 'Корнилов', + 'Авдеев', + 'Зыков', + 'Бирюков', + 'Шарапов', + 'Никонов', + 'Щукин', + 'Дьячков', + 'Одинцов', + 'Сазонов', + 'Якушев', + 'Красильников', + 'Гордеев', + 'Самойлов', + 'Князев', + 'Беспалов', + 'Уваров', + 'Шашков', + 'Бобылёв', + 'Доронин', + 'Белозёров', + 'Рожков', + 'Самсонов', + 'Мясников', + 'Лихачёв', + 'Буров', + 'Сысоев', + 'Фомичёв', + 'Русаков', + 'Стрелков', + 'Гущин', + 'Тетерин', + 'Колобов', + 'Субботин', + 'Фокин', + 'Блохин', + 'Селиверстов', + 'Пестов', + 'Кондратьев', + 'Силин', + 'Меркушев', + 'Лыткин', + 'Туров', + ]; + + protected static $lastNameSuffix = [ 'а', '' ]; + + /** + * Return male middle name + * + * @return string Middle name + * @example 'Иванович' + * + */ + public function middleNameMale() { + return static::randomElement( static::$middleNameMale ); + } + + /** + * Return female middle name + * + * @return string Middle name + * @example 'Ивановна' + * + */ + public function middleNameFemale() { + return static::randomElement( static::$middleNameFemale ); + } + + /** + * Return middle name for the specified gender. + * + * @param string|null $gender A gender the middle name should be generated + * for. If the argument is skipped a random gender will be used. + * + * @return string Middle name + */ + public function middleName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return $this->middleNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return $this->middleNameFemale(); + } + + return $this->middleName( static::randomElement( [ + static::GENDER_MALE, + static::GENDER_FEMALE, + ] ) ); + } + + /** + * Return last name for the specified gender. + * + * @param string|null $gender A gender of the last name should be generated + * for. If the argument is skipped a random gender will be used. + * + * @return string Last name + */ + public function lastName( $gender = null ) { + $lastName = static::randomElement( static::$lastName ); + + if ( static::GENDER_FEMALE === $gender ) { + return $lastName . 'а'; + } + + if ( static::GENDER_MALE === $gender ) { + return $lastName; + } + + return $lastName . static::randomElement( static::$lastNameSuffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/PhoneNumber.php index 06f6337..8f3ef89 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/PhoneNumber.php @@ -2,13 +2,12 @@ namespace Faker\Provider\ru_RU; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '(812) ###-##-##', - '(495) ###-####', - '+7 (922) ###-####', - '(35222) ##-####', - '8-800-###-####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '(812) ###-##-##', + '(495) ###-####', + '+7 (922) ###-####', + '(35222) ##-####', + '8-800-###-####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Text.php b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Text.php index 1402e9b..93bcffe 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/ru_RU/Text.php @@ -2,38 +2,36 @@ namespace Faker\Provider\ru_RU; -class Text extends \Faker\Provider\Text -{ - public function realText($maxNbChars = 200, $indexSize = 2) - { - $realText = parent::realText($maxNbChars, $indexSize); - - return iconv('UTF-8', 'UTF-8//IGNORE', $realText); - } - - /** - * From ru.wikisource.org - * - * Текст доступен по лицензии Creative Commons Attribution-ShareAlike, - * в отдельных случаях могут действовать дополнительные условия. - * Подробнее см. Условия использования. - * - * - * Title: Мертвые души - * - * Author: Гоголь Николай - * - * Posting Date: May 20, 2008 - * [Last updated: August 2, 2012] - * - * Language: Russian - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see http://ru.wikisource.org/wiki/%D0%9C%D1%91%D1%80%D1%82%D0%B2%D1%8B%D0%B5_%D0%B4%D1%83%D1%88%D0%B8_(%D0%93%D0%BE%D0%B3%D0%BE%D0%BB%D1%8C)/%D0%A2%D0%BE%D0%BC_I/%D0%93%D0%BB%D0%B0%D0%B2%D0%B0_I - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + public function realText( $maxNbChars = 200, $indexSize = 2 ) { + $realText = parent::realText( $maxNbChars, $indexSize ); + + return iconv( 'UTF-8', 'UTF-8//IGNORE', $realText ); + } + + /** + * From ru.wikisource.org + * + * Текст доступен по лицензии Creative Commons Attribution-ShareAlike, + * в отдельных случаях могут действовать дополнительные условия. + * Подробнее см. Условия использования. + * + * + * Title: Мертвые души + * + * Author: Гоголь Николай + * + * Posting Date: May 20, 2008 + * [Last updated: August 2, 2012] + * + * Language: Russian + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see http://ru.wikisource.org/wiki/%D0%9C%D1%91%D1%80%D1%82%D0%B2%D1%8B%D0%B5_%D0%B4%D1%83%D1%88%D0%B8_(%D0%93%D0%BE%D0%B3%D0%BE%D0%BB%D1%8C)/%D0%A2%D0%BE%D0%BC_I/%D0%93%D0%BB%D0%B0%D0%B2%D0%B0_I + * + * @var string + */ + protected static $baseText = <<<'EOT' Глава первая @@ -4204,348 +4202,348 @@ public function realText($maxNbChars = 200, $indexSize = 2) EOT; - /* - *** START: FULL LICENSE *** - - Creative Commons Legal Code - - Attribution-ShareAlike 3.0 Unported - - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR - DAMAGES RESULTING FROM ITS USE. License - - THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS - CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS - PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE - WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS - PROHIBITED. - - BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND - AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS - LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU - THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH - TERMS AND CONDITIONS. - - 1. Definitions - - "Adaptation" means a work based upon the Work, or upon the Work and - other pre-existing works, such as a translation, adaptation, - derivative work, arrangement of music or other alterations of a - literary or artistic work, or phonogram or performance and includes - cinematographic adaptations or any other form in which the Work may be - recast, transformed, or adapted including in any form recognizably - derived from the original, except that a work that constitutes a - Collection will not be considered an Adaptation for the purpose of - this License. For the avoidance of doubt, where the Work is a musical - work, performance or phonogram, the synchronization of the Work in - timed-relation with a moving image ("synching") will be considered an - Adaptation for the purpose of this License. "Collection" means a - collection of literary or artistic works, such as encyclopedias and - anthologies, or performances, phonograms or broadcasts, or other works - or subject matter other than works listed in Section 1(f) below, - which, by reason of the selection and arrangement of their contents, - constitute intellectual creations, in which the Work is included in - its entirety in unmodified form along with one or more other - contributions, each constituting separate and independent works in - themselves, which together are assembled into a collective whole. A - work that constitutes a Collection will not be considered an - Adaptation (as defined below) for the purposes of this License. - "Creative Commons Compatible License" means a license that is listed - at http://creativecommons.org/compatiblelicenses that has been - approved by Creative Commons as being essentially equivalent to this - License, including, at a minimum, because that license: (i) contains - terms that have the same purpose, meaning and effect as the License - Elements of this License; and, (ii) explicitly permits the relicensing - of adaptations of works made available under that license under this - License or a Creative Commons jurisdiction license with the same - License Elements as this License. "Distribute" means to make available - to the public the original and copies of the Work or Adaptation, as - appropriate, through sale or other transfer of ownership. "License - Elements" means the following high-level license attributes as - selected by Licensor and indicated in the title of this License: - Attribution, ShareAlike. "Licensor" means the individual, individuals, - entity or entities that offer(s) the Work under the terms of this - License. "Original Author" means, in the case of a literary or - artistic work, the individual, individuals, entity or entities who - created the Work or if no individual or entity can be identified, the - publisher; and in addition (i) in the case of a performance the - actors, singers, musicians, dancers, and other persons who act, sing, - deliver, declaim, play in, interpret or otherwise perform literary or - artistic works or expressions of folklore; (ii) in the case of a - phonogram the producer being the person or legal entity who first - fixes the sounds of a performance or other sounds; and, (iii) in the - case of broadcasts, the organization that transmits the broadcast. - "Work" means the literary and/or artistic work offered under the terms - of this License including without limitation any production in the - literary, scientific and artistic domain, whatever may be the mode or - form of its expression including digital form, such as a book, - pamphlet and other writing; a lecture, address, sermon or other work - of the same nature; a dramatic or dramatico-musical work; a - choreographic work or entertainment in dumb show; a musical - composition with or without words; a cinematographic work to which are - assimilated works expressed by a process analogous to cinematography; - a work of drawing, painting, architecture, sculpture, engraving or - lithography; a photographic work to which are assimilated works - expressed by a process analogous to photography; a work of applied - art; an illustration, map, plan, sketch or three-dimensional work - relative to geography, topography, architecture or science; a - performance; a broadcast; a phonogram; a compilation of data to the - extent it is protected as a copyrightable work; or a work performed by - a variety or circus performer to the extent it is not otherwise - considered a literary or artistic work. "You" means an individual or - entity exercising rights under this License who has not previously - violated the terms of this License with respect to the Work, or who - has received express permission from the Licensor to exercise rights - under this License despite a previous violation. "Publicly Perform" - means to perform public recitations of the Work and to communicate to - the public those public recitations, by any means or process, - including by wire or wireless means or public digital performances; to - make available to the public Works in such a way that members of the - public may access these Works from a place and at a place individually - chosen by them; to perform the Work to the public by any means or - process and the communication to the public of the performances of the - Work, including by public digital performance; to broadcast and - rebroadcast the Work by any means including signs, sounds or images. - "Reproduce" means to make copies of the Work by any means including - without limitation by sound or visual recordings and the right of - fixation and reproducing fixations of the Work, including storage of a - protected performance or phonogram in digital form or other electronic - medium. 2. Fair Dealing Rights. Nothing in this License is intended to - reduce, limit, or restrict any uses free from copyright or rights - arising from limitations or exceptions that are provided for in - connection with the copyright protection under copyright law or other - applicable laws. - - 3. License Grant. Subject to the terms and conditions of this License, - Licensor hereby grants You a worldwide, royalty-free, non-exclusive, - perpetual (for the duration of the applicable copyright) license to - exercise the rights in the Work as stated below: - - to Reproduce the Work, to incorporate the Work into one or more - Collections, and to Reproduce the Work as incorporated in the - Collections; to create and Reproduce Adaptations provided that any - such Adaptation, including any translation in any medium, takes - reasonable steps to clearly label, demarcate or otherwise identify - that changes were made to the original Work. For example, a - translation could be marked "The original work was translated from - English to Spanish," or a modification could indicate "The original - work has been modified."; to Distribute and Publicly Perform the Work - including as incorporated in Collections; and, to Distribute and - Publicly Perform Adaptations. For the avoidance of doubt: - - Non-waivable Compulsory License Schemes. In those jurisdictions in - which the right to collect royalties through any statutory or - compulsory licensing scheme cannot be waived, the Licensor reserves - the exclusive right to collect such royalties for any exercise by You - of the rights granted under this License; Waivable Compulsory License - Schemes. In those jurisdictions in which the right to collect - royalties through any statutory or compulsory licensing scheme can be - waived, the Licensor waives the exclusive right to collect such - royalties for any exercise by You of the rights granted under this - License; and, Voluntary License Schemes. The Licensor waives the right - to collect royalties, whether individually or, in the event that the - Licensor is a member of a collecting society that administers - voluntary licensing schemes, via that society, from any exercise by - You of the rights granted under this License. The above rights may be - exercised in all media and formats whether now known or hereafter - devised. The above rights include the right to make such modifications - as are technically necessary to exercise the rights in other media and - formats. Subject to Section 8(f), all rights not expressly granted by - Licensor are hereby reserved. - - 4. Restrictions. The license granted in Section 3 above is expressly - made subject to and limited by the following restrictions: - - You may Distribute or Publicly Perform the Work only under the terms - of this License. You must include a copy of, or the Uniform Resource - Identifier (URI) for, this License with every copy of the Work You - Distribute or Publicly Perform. You may not offer or impose any terms - on the Work that restrict the terms of this License or the ability of - the recipient of the Work to exercise the rights granted to that - recipient under the terms of the License. You may not sublicense the - Work. You must keep intact all notices that refer to this License and - to the disclaimer of warranties with every copy of the Work You - Distribute or Publicly Perform. When You Distribute or Publicly - Perform the Work, You may not impose any effective technological - measures on the Work that restrict the ability of a recipient of the - Work from You to exercise the rights granted to that recipient under - the terms of the License. This Section 4(a) applies to the Work as - incorporated in a Collection, but this does not require the Collection - apart from the Work itself to be made subject to the terms of this - License. If You create a Collection, upon notice from any Licensor You - must, to the extent practicable, remove from the Collection any credit - as required by Section 4(c), as requested. If You create an - Adaptation, upon notice from any Licensor You must, to the extent - practicable, remove from the Adaptation any credit as required by - Section 4(c), as requested. You may Distribute or Publicly Perform an - Adaptation only under the terms of: (i) this License; (ii) a later - version of this License with the same License Elements as this - License; (iii) a Creative Commons jurisdiction license (either this or - a later license version) that contains the same License Elements as - this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative - Commons Compatible License. If you license the Adaptation under one of - the licenses mentioned in (iv), you must comply with the terms of that - license. If you license the Adaptation under the terms of any of the - licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), - you must comply with the terms of the Applicable License generally and - the following provisions: (I) You must include a copy of, or the URI - for, the Applicable License with every copy of each Adaptation You - Distribute or Publicly Perform; (II) You may not offer or impose any - terms on the Adaptation that restrict the terms of the Applicable - License or the ability of the recipient of the Adaptation to exercise - the rights granted to that recipient under the terms of the Applicable - License; (III) You must keep intact all notices that refer to the - Applicable License and to the disclaimer of warranties with every copy - of the Work as included in the Adaptation You Distribute or Publicly - Perform; (IV) when You Distribute or Publicly Perform the Adaptation, - You may not impose any effective technological measures on the - Adaptation that restrict the ability of a recipient of the Adaptation - from You to exercise the rights granted to that recipient under the - terms of the Applicable License. This Section 4(b) applies to the - Adaptation as incorporated in a Collection, but this does not require - the Collection apart from the Adaptation itself to be made subject to - the terms of the Applicable License. If You Distribute, or Publicly - Perform the Work or any Adaptations or Collections, You must, unless a - request has been made pursuant to Section 4(a), keep intact all - copyright notices for the Work and provide, reasonable to the medium - or means You are utilizing: (i) the name of the Original Author (or - pseudonym, if applicable) if supplied, and/or if the Original Author - and/or Licensor designate another party or parties (e.g., a sponsor - institute, publishing entity, journal) for attribution ("Attribution - Parties") in Licensor's copyright notice, terms of service or by other - reasonable means, the name of such party or parties; (ii) the title of - the Work if supplied; (iii) to the extent reasonably practicable, the - URI, if any, that Licensor specifies to be associated with the Work, - unless such URI does not refer to the copyright notice or licensing - information for the Work; and (iv) , consistent with Ssection 3(b), in - the case of an Adaptation, a credit identifying the use of the Work in - the Adaptation (e.g., "French translation of the Work by Original - Author," or "Screenplay based on original Work by Original Author"). - The credit required by this Section 4(c) may be implemented in any - reasonable manner; provided, however, that in the case of a Adaptation - or Collection, at a minimum such credit will appear, if a credit for - all contributing authors of the Adaptation or Collection appears, then - as part of these credits and in a manner at least as prominent as the - credits for the other contributing authors. For the avoidance of - doubt, You may only use the credit required by this Section for the - purpose of attribution in the manner set out above and, by exercising - Your rights under this License, You may not implicitly or explicitly - assert or imply any connection with, sponsorship or endorsement by the - Original Author, Licensor and/or Attribution Parties, as appropriate, - of You or Your use of the Work, without the separate, express prior - written permission of the Original Author, Licensor and/or Attribution - Parties. Except as otherwise agreed in writing by the Licensor or as - may be otherwise permitted by applicable law, if You Reproduce, - Distribute or Publicly Perform the Work either by itself or as part of - any Adaptations or Collections, You must not distort, mutilate, modify - or take other derogatory action in relation to the Work which would be - prejudicial to the Original Author's honor or reputation. Licensor - agrees that in those jurisdictions (e.g. Japan), in which any exercise - of the right granted in Section 3(b) of this License (the right to - make Adaptations) would be deemed to be a distortion, mutilation, - modification or other derogatory action prejudicial to the Original - Author's honor and reputation, the Licensor will waive or not assert, - as appropriate, this Section, to the fullest extent permitted by the - applicable national law, to enable You to reasonably exercise Your - right under Section 3(b) of this License (right to make Adaptations) - but not otherwise. 5. Representations, Warranties and Disclaimer - - UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, - LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR - WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, - STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF - TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, - NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, - OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. - SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, - SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - - 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY - APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY - LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR - EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, - EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - 7. Termination - - This License and the rights granted hereunder will terminate - automatically upon any breach by You of the terms of this License. - Individuals or entities who have received Adaptations or Collections - from You under this License, however, will not have their licenses - terminated provided such individuals or entities remain in full - compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will - survive any termination of this License. Subject to the above terms - and conditions, the license granted here is perpetual (for the - duration of the applicable copyright in the Work). Notwithstanding the - above, Licensor reserves the right to release the Work under different - license terms or to stop distributing the Work at any time; provided, - however that any such election will not serve to withdraw this License - (or any other license that has been, or is required to be, granted - under the terms of this License), and this License will continue in - full force and effect unless terminated as stated above. 8. - Miscellaneous - - Each time You Distribute or Publicly Perform the Work or a Collection, - the Licensor offers to the recipient a license to the Work on the same - terms and conditions as the license granted to You under this License. - Each time You Distribute or Publicly Perform an Adaptation, Licensor - offers to the recipient a license to the original Work on the same - terms and conditions as the license granted to You under this License. - If any provision of this License is invalid or unenforceable under - applicable law, it shall not affect the validity or enforceability of - the remainder of the terms of this License, and without further action - by the parties to this agreement, such provision shall be reformed to - the minimum extent necessary to make such provision valid and - enforceable. No term or provision of this License shall be deemed - waived and no breach consented to unless such waiver or consent shall - be in writing and signed by the party to be charged with such waiver - or consent. This License constitutes the entire agreement between the - parties with respect to the Work licensed here. There are no - understandings, agreements or representations with respect to the Work - not specified here. Licensor shall not be bound by any additional - provisions that may appear in any communication from You. This License - may not be modified without the mutual written agreement of the - Licensor and You. The rights granted under, and the subject matter - referenced, in this License were drafted utilizing the terminology of - the Berne Convention for the Protection of Literary and Artistic Works - (as amended on September 28, 1979), the Rome Convention of 1961, the - WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms - Treaty of 1996 and the Universal Copyright Convention (as revised on - July 24, 1971). These rights and subject matter take effect in the - relevant jurisdiction in which the License terms are sought to be - enforced according to the corresponding provisions of the - implementation of those treaty provisions in the applicable national - law. If the standard suite of rights granted under applicable - copyright law includes additional rights not granted under this - License, such additional rights are deemed to be included in the - License; this License is not intended to restrict the license of any - rights under applicable law. Creative Commons Notice - - Creative Commons is not a party to this License, and makes no warranty - whatsoever in connection with the Work. Creative Commons will not be - liable to You or any party on any legal theory for any damages - whatsoever, including without limitation any general, special, - incidental or consequential damages arising in connection to this - license. Notwithstanding the foregoing two (2) sentences, if Creative - Commons has expressly identified itself as the Licensor hereunder, it - shall have all rights and obligations of Licensor. - - Except for the limited purpose of indicating to the public that the - Work is licensed under the CCPL, Creative Commons does not authorize - the use by either party of the trademark "Creative Commons" or any - related trademark or logo of Creative Commons without the prior - written consent of Creative Commons. Any permitted use will be in - compliance with Creative Commons' then-current trademark usage - guidelines, as may be published on its website or otherwise made - available upon request from time to time. For the avoidance of doubt, - this trademark restriction does not form part of the License. - - Creative Commons may be contacted at http://creativecommons.org/. - - */ + /* + *** START: FULL LICENSE *** + + Creative Commons Legal Code + + Attribution-ShareAlike 3.0 Unported + + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. License + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. "Collection" means a + collection of literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, or other works + or subject matter other than works listed in Section 1(f) below, + which, by reason of the selection and arrangement of their contents, + constitute intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this License. + "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been + approved by Creative Commons as being essentially equivalent to this + License, including, at a minimum, because that license: (i) contains + terms that have the same purpose, meaning and effect as the License + Elements of this License; and, (ii) explicitly permits the relicensing + of adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same + License Elements as this License. "Distribute" means to make available + to the public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. "License + Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a performance the + actors, singers, musicians, dancers, and other persons who act, sing, + deliver, declaim, play in, interpret or otherwise perform literary or + artistic works or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, (iii) in the + case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. "You" means an individual or + entity exercising rights under this License who has not previously + violated the terms of this License with respect to the Work, or who + has received express permission from the Licensor to exercise rights + under this License despite a previous violation. "Publicly Perform" + means to perform public recitations of the Work and to communicate to + the public those public recitations, by any means or process, + including by wire or wireless means or public digital performances; to + make available to the public Works in such a way that members of the + public may access these Works from a place and at a place individually + chosen by them; to perform the Work to the public by any means or + process and the communication to the public of the performances of the + Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise identify + that changes were made to the original Work. For example, a + translation could be marked "The original work was translated from + English to Spanish," or a modification could indicate "The original + work has been modified."; to Distribute and Publicly Perform the Work + including as incorporated in Collections; and, to Distribute and + Publicly Perform Adaptations. For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; Waivable Compulsory License + Schemes. In those jurisdictions in which the right to collect + royalties through any statutory or compulsory licensing scheme can be + waived, the Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted under this + License; and, Voluntary License Schemes. The Licensor waives the right + to collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise by + You of the rights granted under this License. The above rights may be + exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications + as are technically necessary to exercise the rights in other media and + formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(c), as requested. You may Distribute or Publicly Perform an + Adaptation only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as this + License; (iii) a Creative Commons jurisdiction license (either this or + a later license version) that contains the same License Elements as + this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative + Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that + license. If you license the Adaptation under the terms of any of the + licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. If You Distribute, or Publicly + Perform the Work or any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep intact all + copyright notices for the Work and provide, reasonable to the medium + or means You are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution + Parties") in Licensor's copyright notice, terms of service or by other + reasonable means, the name of such party or parties; (ii) the title of + the Work if supplied; (iii) to the extent reasonably practicable, the + URI, if any, that Licensor specifies to be associated with the Work, + unless such URI does not refer to the copyright notice or licensing + information for the Work; and (iv) , consistent with Ssection 3(b), in + the case of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of + doubt, You may only use the credit required by this Section for the + purpose of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement by the + Original Author, Licensor and/or Attribution Parties, as appropriate, + of You or Your use of the Work, without the separate, express prior + written permission of the Original Author, Licensor and/or Attribution + Parties. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as part of + any Adaptations or Collections, You must not distort, mutilate, modify + or take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms + and conditions, the license granted here is perpetual (for the + duration of the applicable copyright in the Work). Notwithstanding the + above, Licensor reserves the right to release the Work under different + license terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this License + (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in + full force and effect unless terminated as stated above. 8. + Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such waiver + or consent. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to the Work + not specified here. Licensor shall not be bound by any additional + provisions that may appear in any communication from You. This License + may not be modified without the mutual written agreement of the + Licensor and You. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the terminology of + the Berne Convention for the Protection of Literary and Artistic Works + (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as revised on + July 24, 1971). These rights and subject matter take effect in the + relevant jurisdiction in which the License terms are sought to be + enforced according to the corresponding provisions of the + implementation of those treaty provisions in the applicable national + law. If the standard suite of rights granted under applicable + copyright law includes additional rights not granted under this + License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of the License. + + Creative Commons may be contacted at http://creativecommons.org/. + + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Address.php index c47ecd7..bc58e34 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Address.php @@ -2,342 +2,3339 @@ namespace Faker\Provider\sk_SK; -class Address extends \Faker\Provider\Address -{ - protected static $cityName = [ - 'Ábelová', 'Abovce', 'Abrahám', 'Abrahámovce', 'Abrahámovce', 'Abramová', 'Abranovce', 'Adamovské Kochanovce', 'Adidovce', 'Alekšince', - 'Andovce', 'Andrejová', 'Ardanovce', 'Ardovo', 'Arnutovce', 'Báb', 'Babie', 'Babín', 'Babiná', 'Babindol', 'Babinec', 'Bacúch', 'Bacúrov', - 'Báč', 'Bačka', 'Bačkov', 'Bačkovík', 'Bádice', 'Badín', 'Baďan', 'Báhoň', 'Bajany', 'Bajč', 'Bajerov', 'Bajerovce', 'Bajka', 'Bajtava', - 'Baka', 'Baláže', 'Baldovce', 'Balog nad Ipľom', 'Baloň', 'Banka', 'Bánov', 'Bánovce nad Bebravou', 'Bánovce nad Ondavou', 'Banská Belá', - 'Banská Bystrica', 'Banská Štiavnica', 'Banské', 'Banský Studenec', 'Baňa', 'Bara', 'Barca', 'Bardejov', 'Bardoňovo', 'Bartošova Lehôtka', - 'Bartošovce', 'Baška', 'Baškovce', 'Baškovce', 'Bašovce', 'Batizovce', 'Bátka', 'Bátorová', 'Bátorove Kosihy', 'Bátovce', 'Beckov', - 'Beharovce', 'Becherov', 'Belá', 'Belá', 'Belá-Dulice', 'Belá nad Cirochou', 'Beladice', 'Belejovce', 'Belín', 'Belina', 'Belince', - 'Bellova Ves', 'Beloveža', 'Beluj', 'Beluša', 'Belža', 'Beniakovce', 'Benice', 'Benkovce', 'Beňadiková', 'Beňadikovce', 'Beňadovo', - 'Beňatina', 'Beňuš', 'Bernolákovo', 'Bertotovce', 'Beša', 'Beša', 'Bešeňov', 'Bešeňová', 'Betlanovce', 'Betliar', 'Bežovce', 'Bidovce', - 'Biel', 'Bielovce', 'Biely Kostol', 'Bijacovce', 'Bílkove Humence', 'Bíňa', 'Bíňovce', 'Biskupice', 'Biskupová', 'Bitarová', 'Blahová', - 'Blatná na Ostrove', 'Blatná Polianka', 'Blatné', 'Blatné Remety', 'Blatné Revištia', 'Blatnica', 'Blažice', 'Blažovce', 'Blesovce', - 'Blhovce', 'Bobot', 'Bobrov', 'Bobrovček', 'Bobrovec', 'Bobrovník', 'Bočiar', 'Bodíky', 'Bodiná', 'Bodorová', 'Bodovce', 'Bodružal', - 'Bodza', 'Bodzianske Lúky', 'Bogliarka', 'Bohdanovce', 'Bohdanovce nad Trnavou', 'Boheľov', 'Bohunice', 'Bohunice', 'Bohúňovo', 'Bojná', - 'Bojnice', 'Bojničky', 'Boldog', 'Boleráz', 'Bolešov', 'Boliarov', 'Boľ', 'Boľkovce', 'Borcová', 'Borčany', 'Borčice', 'Borinka', 'Borová', - 'Borovce', 'Borský Mikuláš', 'Borský Svätý Jur', 'Borša', 'Bory', 'Bošáca', 'Bošany', 'Bottovo', 'Boťany', 'Bôrka', 'Bracovce', 'Branč', - 'Branovo', 'Bratislava', 'Braväcovo', 'Brdárka', 'Brehov', 'Brehy', 'Brekov', 'Brestov', 'Brestov', 'Brestov nad Laborcom', 'Brestovany', - 'Brestovec', 'Brestovec', 'Bretejovce', 'Bretka', 'Breza', 'Brezany', 'Brezina', 'Breziny', 'Breznica', 'Breznička', 'Breznička', 'Brezno', - 'Brezolupy', 'Brezov', 'Brezová pod Bradlom', 'Brezovec', 'Brezovica', 'Brezovica', 'Brezovička', 'Brezovka', 'Brežany', 'Brhlovce', - 'Brieštie', 'Brodské', 'Brodzany', 'Brunovce', 'Brusnica', 'Brusník', 'Brusno', 'Brutovce', 'Bruty', 'Brvnište', 'Brzotín', 'Buclovany', - 'Búč', 'Bučany', 'Budča', 'Budikovany', 'Budimír', 'Budiná', 'Budince', 'Budiš', 'Budkovce', 'Budmerice', 'Buglovce', 'Buková', 'Bukovce', - 'Bukovec', 'Bukovec', 'Bukovina', 'Bulhary', 'Bunetice', 'Bunkovce', 'Bušince', 'Bušovce', 'Buzica', 'Buzitka', 'Bystrá', 'Bystrá', - 'Bystrany', 'Bystré', 'Bystričany', 'Bystrička', 'Byšta', 'Bytča', 'Bzenica', 'Bzenov', 'Bzince pod Javorinou', 'Bziny', 'Bzovík', - 'Bzovská Lehôtka', 'Bžany', 'Cabaj-Čápor', 'Cabov', 'Cakov', 'Cejkov', 'Cernina', 'Cerová', 'Cerovo', 'Cestice', 'Cífer', 'Cigeľ', - 'Cigeľka', 'Cigla', 'Cimenná', 'Cinobaňa', 'Čab', 'Čabalovce', 'Čabiny', 'Čabradský Vrbovok', 'Čadca', 'Čachtice', 'Čajkov', 'Čaka', - 'Čakajovce', 'Čakanovce', 'Čakanovce', 'Čakany', 'Čaklov', 'Čalovec', 'Čamovce', 'Čaňa', 'Čaradice', 'Čáry', 'Častá', 'Častkov', - 'Častkovce', 'Čata', 'Čataj', 'Čavoj', 'Čebovce', 'Čečehov', 'Čečejovce', 'Čechy', 'Čechynce', 'Čekovce', 'Čeláre', 'Čelkova Lehota', - 'Čelovce', 'Čelovce', 'Čeľadice', 'Čeľadince', 'Čeľovce', 'Čenkovce', 'Čerenčany', 'Čereňany', 'Čerhov', 'Čerín', 'Čermany', 'Černík', - 'Černina', 'Černochov', 'Čertižné', 'Červená Voda', 'Červenica', 'Červenica pri Sabinove', 'Červeník', 'Červený Hrádok', 'Červený Kameň', - 'Červený Kláštor', 'Červeňany', 'České Brezovo', 'Čičarovce', 'Čičava', 'Čičmany', 'Číčov', 'Čierna', 'Čierna Lehota', 'Čierna Lehota', - 'Čierna nad Tisou', 'Čierna Voda', 'Čierne', 'Čierne Kľačany', 'Čierne nad Topľou', 'Čierne Pole', 'Čierny Balog', 'Čierny Brod', - 'Čierny Potok', 'Čifáre', 'Čiližská Radvaň', 'Čimhová', 'Čirč', 'Číž', 'Čižatice', 'Čoltovo', 'Čremošné', 'Čučma', 'Čukalovce', - 'Dačov Lom', 'Daletice', 'Danišovce', 'Dargov', 'Davidov', 'Debraď', 'Dedačov', 'Dedina Mládeže', 'Dedinka', 'Dedinky', 'Dechtice', - 'Dekýš', 'Demandice', 'Demänovská Dolina', 'Demjata', 'Detrík', 'Detva', 'Detvianska Huta', 'Devičany', 'Devičie', 'Dežerice', - 'Diaková', 'Diakovce', 'Diviacka Nová Ves', 'Diviaky nad Nitricou', 'Divín', 'Divina', 'Divinka', 'Dlhá', 'Dlhá nad Kysucou', - 'Dlhá nad Oravou', 'Dlhá nad Váhom', 'Dlhá Ves', 'Dlhé Klčovo', 'Dlhé nad Cirochou', 'Dlhé Pole', 'Dlhé Stráže', 'Dlhoňa', 'Dlžín', - 'Dobrá', 'Dobrá Niva', 'Dobrá Voda', 'Dobroč', 'Dobrohošť', 'Dobroslava', 'Dobšiná', 'Dohňany', 'Dojč', 'Dolinka', 'Dolná Breznica', - 'Dolná Krupá', 'Dolná Lehota', 'Dolná Mariková', 'Dolná Mičiná', 'Dolná Poruba', 'Dolná Seč', 'Dolná Streda', 'Dolná Strehová', - 'Dolná Súča', 'Dolná Tižina', 'Dolná Trnávka', 'Dolná Ves', 'Dolná Ždaňa', 'Dolné Dubové', 'Dolné Kočkovce', 'Dolné Lefantovce', - 'Dolné Lovčice', 'Dolné Mladonice', 'Dolné Naštice', 'Dolné Obdokovce', 'Dolné Orešany', 'Dolné Otrokovce', 'Dolné Plachtince', - 'Dolné Saliby', 'Dolné Semerovce', 'Dolné Srnie', 'Dolné Strháre', 'Dolné Trhovište', 'Dolné Vestenice', 'Dolné Zahorany', - 'Dolné Zelenice', 'Dolný Badín', 'Dolný Bar', 'Dolný Harmanec', 'Dolný Hričov', 'Dolný Chotár', 'Dolný Kalník', 'Dolný Kubín', - 'Dolný Lieskov', 'Dolný Lopašov', 'Dolný Ohaj', 'Dolný Pial', 'Dolný Štál', 'Dolný Vadičov', 'Doľany', 'Doľany', 'Domadice', - 'Domaníky', 'Domaniža', 'Domaňovce', 'Donovaly', 'Drábsko', 'Drahňov', 'Drahovce', 'Dravce', 'Dražice', 'Dražkovce', 'Drážovce', - 'Drienčany', 'Drienica', 'Drienov', 'Drienovec', 'Drienovo', 'Drienovská Nová Ves', 'Drietoma', 'Drnava', 'Drňa', 'Družstevná pri Hornáde', - 'Drženice', 'Držkovce', 'Dubinné', 'Dubnica nad Váhom', 'Dubnička', 'Dubník', 'Dubno', 'Dubodiel', 'Dubová', 'Dubová', 'Dubovany', - 'Dubovce', 'Dubové', 'Dubové', 'Dubovec', 'Dubovica', 'Dúbrava', 'Dúbrava', 'Dúbrava', 'Dúbravica', 'Dúbravka', 'Dúbravy', 'Ducové', - 'Dudince', 'Dukovce', 'Dulov', 'Dulova Ves', 'Dulovce', 'Dulovo', 'Dunajská Lužná', 'Dunajov', 'Dunajská Streda', 'Dunajský Klátov', - 'Duplín', 'Dvorany nad Nitrou', 'Dvorec', 'Dvorianky', 'Dvorníky', 'Dvorníky-Včeláre', 'Dvory nad Žitavou', 'Ďačov', 'Ďanová', - 'Ďapalovce', 'Ďubákovo', 'Ďurčiná', 'Ďurďoš', 'Ďurďošík', 'Ďurďové', 'Ďurkov', 'Ďurková', 'Ďurkovce', 'Egreš', 'Fačkov', 'Falkušovce', - 'Farná', 'Fekišovce', 'Figa', 'Fijaš', 'Fiľakovo', 'Fiľakovské Kováče', 'Fintice', 'Folkušová', 'Forbasy', 'Frička', 'Fričkovce', - 'Fričovce', 'Fulianka', 'Gabčíkovo', 'Gaboltov', 'Gajary', 'Galanta', 'Galovany', 'Gánovce', 'Gáň', 'Gbelce', 'Gbely', 'Gbeľany', - 'Geča', 'Gelnica', 'Gemer', 'Gemerček', 'Gemerská Hôrka', 'Gemerská Panica', 'Gemerská Poloma', 'Gemerská Ves', 'Gemerské Dechtáre', - 'Gemerské Michalovce', 'Gemerské Teplice', 'Gemerský Jablonec', 'Gemerský Sad', 'Geraltov', 'Gerlachov', 'Gerlachov', 'Giglovce', - 'Giraltovce', 'Girovce', 'Glabušovce', 'Gočaltovo', 'Gočovo', 'Golianovo', 'Gortva', 'Gôtovany', 'Granč-Petrovce', 'Gregorova Vieska', - 'Gregorovce', 'Gribov', 'Gruzovce', 'Gyňov', 'Habovka', 'Habura', 'Hačava', 'Háj', 'Háj', 'Hajná Nová Ves', 'Hajnáčka', 'Hájske', - 'Hajtovka', 'Haláčovce', 'Halič', 'Haligovce', 'Haluzice', 'Hamuliakovo', 'Handlová', 'Hanigovce', 'Haniska', 'Haniska', 'Hanková', - 'Hankovce', 'Hankovce', 'Hanušovce nad Topľou', 'Harakovce', 'Harhaj', 'Harichovce', 'Harmanec', 'Hatalov', 'Hatné', 'Havaj', 'Havka', - 'Havranec', 'Hažín', 'Hažín nad Cirochou', 'Hažlín', 'Helcmanovce', 'Heľpa', 'Henckovce', 'Henclová', 'Hencovce', 'Hendrichovce', - 'Herľany', 'Hermanovce', 'Hermanovce nad Topľou', 'Hertník', 'Hervartov', 'Hiadeľ', 'Hincovce', 'Hladovka', 'Hlboké', 'Hlboké nad Váhom', - 'Hliník nad Hronom', 'Hlinné', 'Hlivištia', 'Hlohovec', 'Hniezdne', 'Hnilčík', 'Hnilec', 'Hnojné', 'Hnúšťa', 'Hodejov', 'Hodejovec', - 'Hodkovce', 'Hodruša-Hámre', 'Hokovce', 'Holčíkovce', 'Holiare', 'Holice', 'Holíč', 'Holiša', 'Holumnica', 'Honce', 'Hontianska Vrbica', - 'Hontianske Moravce', 'Hontianske Nemce', 'Hontianske Tesáre', 'Hontianske Trsťany', 'Horná Breznica', 'Horná Kráľová', 'Horná Krupá', - 'Horná Lehota', 'Horná Lehota', 'Horná Mariková', 'Horná Mičiná', 'Horná Poruba', 'Horná Potôň', 'Horná Seč', 'Horná Streda', - 'Horná Strehová', 'Horná Súča', 'Horná Štubňa', 'Horná Ves', 'Horná Ves', 'Horná Ždaňa', 'Horné Dubové', 'Horné Hámre', 'Horné Chlebany', - 'Horné Lefantovce', 'Horné Mladonice', 'Horné Mýto', 'Horné Naštice', 'Horné Obdokovce', 'Horné Orešany', 'Horné Otrokovce', - 'Horné Plachtince', 'Horné Pršany', 'Horné Saliby', 'Horné Semerovce', 'Horné Srnie', 'Horné Strháre', 'Horné Štitáre', 'Horné Trhovište', - 'Horné Turovce', 'Horné Vestenice', 'Horné Zahorany', 'Horné Zelenice', 'Horný Badín', 'Horný Bar', 'Horný Hričov', 'Horný Kalník', - 'Horný Lieskov', 'Horný Pial', 'Horný Tisovník', 'Horný Vadičov', 'Horňa', 'Horňany', 'Horovce', 'Horovce', 'Hoste', 'Hostice', - 'Hostie', 'Hostišovce', 'Hostovice', 'Hosťová', 'Hosťovce', 'Hosťovce', 'Hozelec', 'Hôrka', 'Hôrka nad Váhom', 'Hôrky', 'Hrabičov', - 'Hrabkov', 'Hrabová Roztoka', 'Hrabovčík', 'Hrabovec', 'Hrabovec nad Laborcom', 'Hrabovka', 'Hrabské', 'Hrabušice', 'Hradisko', - 'Hradište', 'Hradište', 'Hradište pod Vrátnom', 'Hrádok', 'Hrachovište', 'Hrachovo', 'Hraničné', 'Hranovnica', 'Hraň', 'Hrašné', - 'Hrašovík', 'Hrčeľ', 'Hrhov', 'Hriadky', 'Hričovské Podhradie', 'Hriňová', 'Hrišovce', 'Hrkovce', 'Hrlica', 'Hrnčiarovce nad Parnou', - 'Hrnčiarska Ves', 'Hrnčiarske Zalužany', 'Hrochoť', 'Hromoš', 'Hronec', 'Hronovce', 'Hronsek', 'Hronská Breznica', 'Hronská Dúbrava', - 'Hronské Kľačany', 'Hronské Kosihy', 'Hronský Beňadik', 'Hrubá Borša', 'Hruboňovo', 'Hrubov', 'Hrubý Šúr', 'Hrušov', 'Hrušov', - 'Hrušovany', 'Hrušovo', 'Hruštín', 'Hubice', 'Hubina', 'Hubošovce', 'Hubová', 'Hubovo', 'Hucín', 'Hudcovce', 'Hul', 'Humenné', - 'Huncovce', 'Hunkovce', 'Hurbanova Ves', 'Hurbanovo', 'Husák', 'Husiná', 'Hutka', 'Huty', 'Hviezdoslavov', 'Hvozdnica', 'Hybe', - 'Hýľov', 'Chanava', 'Chlebnice', 'Chlmec', 'Chľaba', 'Chmeľnica', 'Chmeľov', 'Chmeľová', 'Chmeľovec', 'Chminianska Nová Ves', - 'Chminianske Jakubovany', 'Chmiňany', 'Choča', 'Chocholná-Velčice', 'Choňkovce', 'Chorvátsky Grob', 'Chorváty', 'Chotča', 'Chotín', - 'Chrabrany', 'Chrámec', 'Chrastince', 'Chrastné', 'Chrasť nad Hornádom', 'Chrenovec-Brusno', 'Chropov', 'Chrťany', 'Chtelnica', - 'Chudá Lehota', 'Chvalová', 'Chvojnica', 'Chvojnica', 'Chynorany', 'Chyžné', 'Igram', 'Ihľany', 'Ihráč', 'Ilava', 'Iliašovce', 'Ilija', - 'Imeľ', 'Inovce', 'Iňa', 'Iňačovce', 'Ipeľské Predmostie', 'Ipeľské Úľany', 'Ipeľský Sokolec', 'Istebné', 'Ivachnová', 'Ivančiná', - 'Ivanice', 'Ivanka pri Dunaji', 'Ivanka pri Nitre', 'Ivanovce', 'Iža', 'Ižipovce', 'Ižkovce', 'Jablonec', 'Jablonica', 'Jablonka', - 'Jablonov', 'Jablonov nad Turňou', 'Jablonové', 'Jablonové', 'Jabloň', 'Jabloňovce', 'Jacovce', 'Jahodná', 'Jaklovce', 'Jakovany', - 'Jakubany', 'Jakubov', 'Jakubova Voľa', 'Jakubovany', 'Jakubovany', 'Jakušovce', 'Jalová', 'Jalovec', 'Jalovec', 'Jalšové', 'Jalšovík', - 'Jamník', 'Jamník', 'Janice', 'Janík', 'Janíky', 'Jankovce', 'Janov', 'Janova Lehota', 'Janovce', 'Jánovce', 'Jánovce', 'Janovík', - 'Jarabá', 'Jarabina', 'Jarok', 'Jarovnice', 'Jasenica', 'Jasenie', 'Jasenov', 'Jasenov', 'Jasenová', 'Jasenovce', 'Jasenové', 'Jasenovo', - 'Jaslovské Bohunice', 'Jasov', 'Jasová', 'Jastrabá', 'Jastrabie nad Topľou', 'Jastrabie pri Michalovciach', 'Jatov', 'Javorina', - 'Jazernica', 'Jedlinka', 'Jedľové Kostoľany', 'Jelenec', 'Jelka', 'Jelšava', 'Jelšovce', 'Jelšovec', 'Jenkovce', 'Jesenské', 'Jesenské', - 'Jestice', 'Ješkova Ves', 'Jezersko', 'Jovice', 'Jovsa', 'Jur nad Hronom', 'Jurkova Voľa', 'Jurová', 'Jurské', 'Juskova Voľa', 'Kačanov', - 'Kajal', 'Kalameny', 'Kalinkovo', 'Kalinov', 'Kalinovo', 'Kalná nad Hronom', 'Kalná Roztoka', 'Kálnica', 'Kalnište', 'Kalonda', 'Kalša', - 'Kaloša', 'Kaluža', 'Kaľamenová', 'Kaľava', 'Kamanová', 'Kamenec pod Vtáčnikom', 'Kamenica', 'Kamenica nad Cirochou', 'Kamenica nad Hronom', - 'Kameničany', 'Kameničná', 'Kamenín', 'Kamenná Poruba', 'Kamenná Poruba', 'Kamenné Kosihy', 'Kamenný Most', 'Kameňany', 'Kamienka', - 'Kamienka', 'Kanianka', 'Kapince', 'Kapišová', 'Kaplna', 'Kapušany', 'Kapušianske Kľačany', 'Karlová', 'Karná', 'Kašov', 'Kátlovce', - 'Kátov', 'Kazimír', 'Kecerovce', 'Kecerovský Lipovec', 'Kečkovce', 'Kečovo', 'Kechnec', 'Kendice', 'Kesovce', 'Keť', 'Kežmarok', 'Kiarov', - 'Kladzany', 'Klasov', 'Kláštor pod Znievom', 'Klátova Nová Ves', 'Klčov', 'Klenov', 'Klenová', 'Klenovec', 'Kleňany', 'Klieština', 'Klin', - 'Klin nad Bodrogom', 'Klížska Nemá', 'Klokoč', 'Klokočov', 'Klokočov', 'Klubina', 'Kluknava', 'Kľačany', 'Kľače', 'Kľačno', 'Kľak', - 'Kľúčovec', 'Kľušov', 'Kmeťovo', 'Kobeliarovo', 'Kobylnice', 'Kobyly', 'Koceľovce', 'Kociha', 'Kocurany', 'Kočín-Lančár', 'Kočovce', - 'Kochanovce', 'Kochanovce', 'Kojatice', 'Kojšov', 'Kokava nad Rimavicou', 'Kokošovce', 'Kokšov-Bakša', 'Kolačkov', 'Kolačno', 'Koláre', - 'Kolárovice', 'Kolárovo', 'Kolbasov', 'Kolbovce', 'Kolibabovce', 'Kolinovce', 'Kolíňany', 'Kolonica', 'Kolta', 'Komárany', 'Komárno', - 'Komárov', 'Komárovce', 'Komjatice', 'Komjatná', 'Komoča', 'Koniarovce', 'Konrádovce', 'Konská', 'Konská', 'Koňuš', 'Kopčany', 'Kopernica', - 'Koplotovce', 'Koprivnica', 'Kordíky', 'Korejovce', 'Korňa', 'Koromľa', 'Korunková', 'Korytárky', 'Korytné', 'Kosihovce', - 'Kosihy nad Ipľom', 'Kosorín', 'Kostolec', 'Kostolište', 'Kostolná pri Dunaji', 'Kostolná Ves', 'Kostolná-Záriečie', 'Kostolné', - 'Kostolné Kračany', 'Kostoľany nad Hornádom', 'Kostoľany pod Tribečom', 'Koš', 'Košariská', 'Košarovce', 'Košeca', 'Košecké Podhradie', - 'Košice', 'Košická Belá', 'Košická Polianka', 'Košické Oľšany', 'Košický Klečenov', 'Koškovce', 'Košolná', 'Košúty', 'Košťany nad Turcom', - 'Kotešová', 'Kotmanová', 'Kotrčiná Lúčka', 'Kováčová', 'Kováčová', 'Kováčovce', 'Koválov', 'Koválovec', 'Kovarce', 'Kozárovce', 'Kozelník', - 'Kozí Vrbovok', 'Kožany', 'Kožuchov', 'Kožuchovce', 'Kračúnovce', 'Krahule', 'Krajná Bystrá', 'Krajná Poľana', 'Krajná Porúbka', 'Krajné', - 'Krajné Čierno', 'Krakovany', 'Králiky', 'Kráľ', 'Kráľov Brod', 'Kráľova Lehota', 'Kráľová nad Váhom', 'Kráľová pri Senci', 'Kraľovany', - 'Kráľovce', 'Kráľovce-Krnišov', 'Kráľovičove Kračany', 'Kráľovský Chlmec', 'Kraskovo', 'Krásna Lúka', 'Krásna Ves', 'Krásno', - 'Krásno nad Kysucou', 'Krásnohorská Dlhá Lúka', 'Krásnohorské Podhradie', 'Krásnovce', 'Krásny Brod', 'Krasňany', 'Kravany', 'Kravany', - 'Kravany nad Dunajom', 'Krčava', 'Kremná', 'Kremnica', 'Kremnické Bane', 'Kristy', 'Krišľovce', 'Krišovská Liesková', 'Krivá', 'Krivany', - 'Kriváň', 'Krivé', 'Krivoklát', 'Krivosúd-Bodovka', 'Kríže', 'Krížová Ves', 'Krížovany', 'Križovany nad Dudváhom', 'Krná', 'Krnča', - 'Krokava', 'Krompachy', 'Krpeľany', 'Krškany', 'Krtovce', 'Kručov', 'Krupina', 'Krušetnica', 'Krušinec', 'Krušovce', 'Kružlov', 'Kružlová', - 'Kružná', 'Kružno', 'Kšinná', 'Kubáňovo', 'Kučín', 'Kučín', 'Kuchyňa', 'Kuklov', 'Kuková', 'Kukučínov', 'Kunerad', 'Kunešov', - 'Kunova Teplica', 'Kuraľany', 'Kurima', 'Kurimany', 'Kurimka', 'Kurov', 'Kusín', 'Kútniky', 'Kúty', 'Kuzmice', 'Kuzmice', 'Kvačany', - 'Kvačany', 'Kvakovce', 'Kvašov', 'Kvetoslavov', 'Kyjatice', 'Kyjov', 'Kynceľová', 'Kysak', 'Kyselica', 'Kysta', 'Kysucké Nové Mesto', - 'Kysucký Lieskovec', 'Láb', 'Lackov', 'Lacková', 'Lackovce', 'Lada', 'Ladce', 'Ladice', 'Ladmovce', 'Ladomerská Vieska', 'Ladomirov', - 'Ladomirová', 'Ladzany', 'Lakšárska Nová Ves', 'Lascov', 'Laskár', 'Lastomír', 'Lastovce', 'Laškovce', 'Látky', 'Lazany', 'Lazisko', - 'Lazy pod Makytou', 'Lažany', 'Lednica', 'Lednické Rovne', 'Legnava', 'Lehnice', 'Lehota', 'Lehota nad Rimavicou', 'Lehota pod Vtáčnikom', - 'Lehôtka', 'Lehôtka pod Brehmi', 'Lechnica', 'Lekárovce', 'Leles', 'Leľa', 'Lemešany', 'Lenartov', 'Lenartovce', 'Lendak', 'Lenka', - 'Lentvora', 'Leopoldov', 'Lesenice', 'Lesíček', 'Lesné', 'Lesnica', 'Leštiny', 'Lešť (vojenský obvod)', 'Letanovce', 'Letničie', - 'Leváre', 'Levice', 'Levkuška', 'Levoča', 'Ležiachov', 'Libichava', 'Licince', 'Ličartovce', 'Liesek', 'Lieskovany', 'Lieskovec', - 'Lieskovec', 'Liešno', 'Liešťany', 'Lietava', 'Lietavská Lúčka', 'Lietavská Svinná-Babkov', 'Likavka', 'Limbach', 'Lipany', 'Lipník', - 'Lipníky', 'Lipová', 'Lipová', 'Lipovany', 'Lipovce', 'Lipové', 'Lipovec', 'Lipovec', 'Lipovník', 'Lipovník', 'Liptovská Anna', - 'Liptovská Kokava', 'Liptovská Lúžna', 'Liptovská Osada', 'Liptovská Porúbka', 'Liptovská Sielnica', 'Liptovská Štiavnica', - 'Liptovská Teplá', 'Liptovská Teplička', 'Liptovské Beharovce', 'Liptovské Kľačany', 'Liptovské Matiašovce', 'Liptovské Revúce', - 'Liptovské Sliače', 'Liptovský Hrádok', 'Liptovský Ján', 'Liptovský Michal', 'Liptovský Mikuláš', 'Liptovský Ondrej', 'Liptovský Peter', - 'Liptovský Trnovec', 'Lisková', 'Lišov', 'Litava', 'Litmanová', 'Livina', 'Livinské Opatovce', 'Livov', 'Livovská Huta', 'Lodno', - 'Lok', 'Lokca', 'Lom nad Rimavicou', 'Lomná', 'Lomné', 'Lomnička', 'Lontov', 'Lopašov', 'Lopúchov', 'Lopušné Pažite', 'Lošonec', - 'Lovce', 'Lovča', 'Lovčica-Trubín', 'Lovinobaňa', 'Lozorno', 'Ložín', 'Lubeník', 'Lubina', 'Lúč na Ostrove', 'Lučatín', 'Lučenec', - 'Lúčina', 'Lučivná', 'Lúčka', 'Lúčka', 'Lúčka', 'Lúčka', 'Lúčky', 'Lúčky', 'Lúčky', 'Lúčnica nad Žitavou', 'Ludanice', 'Ludrová', - 'Luhyňa', 'Lúka', 'Lukačovce', 'Lukáčovce', 'Lukavica', 'Lukavica', 'Lukov', 'Lukovištia', 'Lúky', 'Lula', 'Lupoč', 'Lutila', 'Lutiše', - 'Lužany', 'Lužany pri Topli', 'Lužianky', 'Lysá pod Makytou', 'Lysica', 'Ľubá', 'Ľubela', 'Ľubica', 'Ľubietová', 'Ľubiša', 'Ľubochňa', - 'Ľuboreč', 'Ľuboriečka', 'Ľubotice', 'Ľubotín', 'Ľubovec', 'Ľudovítová', 'Ľutina', 'Ľutov', 'Macov', 'Mad', 'Madunice', 'Magnezitovce', - 'Machulince', 'Majcichov', 'Majere', 'Majerovce', 'Makov', 'Makovce', 'Malá Čalomija', 'Malá Čausa', 'Malá Čierna', 'Malá Domaša', - 'Malá Franková', 'Malá Hradná', 'Malá Ida', 'Malá Lehota', 'Malá Lodina', 'Malá Mača', 'Malá nad Hronom', 'Malá Poľana', 'Malá Tŕňa', - 'Malacky', 'Malachov', 'Málaš', 'Malatiná', 'Malatíny', 'Malcov', 'Malčice', 'Malé Borové', 'Malé Dvorníky', 'Malé Chyndice', - 'Malé Hoste', 'Malé Kosihy', 'Malé Kozmálovce', 'Malé Kršteňany', 'Malé Lednice', 'Malé Leváre', 'Malé Ludince', 'Malé Ozorovce', - 'Malé Raškovce', 'Malé Ripňany', 'Malé Straciny', 'Malé Trakany', 'Malé Uherce', 'Malé Vozokany', 'Malé Zálužie', 'Malé Zlievce', - 'Málinec', 'Malinová', 'Malinovo', 'Malužiná', 'Malý Cetín', 'Malý Čepčín', 'Malý Horeš', 'Malý Kamenec', 'Malý Krtíš', 'Malý Lapáš', - 'Malý Lipník', 'Malý Slavkov', 'Malý Slivník', 'Malý Šariš', 'Malženice', 'Mankovce', 'Maňa', 'Marcelová', 'Margecany', 'Marhaň', - 'Marianka', 'Markovce', 'Markuška', 'Markušovce', 'Maršová-Rašov', 'Martin', 'Martin nad Žitavou', 'Martinček', 'Martinová', 'Martovce', - 'Mašková', 'Maškovce', 'Matejovce nad Hornádom', 'Matiaška', 'Matiašovce', 'Matovce', 'Matúškovo', 'Matysová', 'Maťovské Vojkovce', - 'Medovarce', 'Medvedie', 'Medveďov', 'Medzany', 'Medzev', 'Medzianky', 'Medzibrod', 'Medzibrodie nad Oravou', 'Medzilaborce', - 'Melčice-Lieskové', 'Melek', 'Meliata', 'Mengusovce', 'Merašice', 'Merník', 'Mestečko', 'Mestisko', 'Mičakovce', 'Mierovo', 'Miezgovce', - 'Michajlov', 'Michal na Ostrove', 'Michal nad Žitavou', 'Michalková', 'Michalok', 'Michalová', 'Michalovce', 'Michaľany', 'Miklušovce', - 'Miková', 'Mikulášová', 'Mikušovce', 'Mikušovce', 'Milhosť', 'Miloslavov', 'Milpoš', 'Miňovce', 'Mirkovce', 'Miroľa', 'Mládzovo', - 'Mlynárovce', 'Mlynčeky', 'Mlynica', 'Mlynky', 'Mníchova Lehota', 'Mníšek nad Hnilcom', 'Mníšek nad Popradom', 'Moča', 'Močenok', - 'Močiar', 'Modra', 'Modra nad Cirochou', 'Modrany', 'Modrová', 'Modrovka', 'Modrý Kameň', 'Mojmírovce', 'Mojš', 'Mojtín', 'Mojzesovo', - 'Mokrá Lúka', 'Mokrance', 'Mokroluh', 'Mokrý Háj', 'Moldava nad Bodvou', 'Moravany', 'Moravany nad Váhom', 'Moravské Lieskové', - 'Moravský Svätý Ján', 'Most pri Bratislave', 'Mostová', 'Moškovec', 'Mošovce', 'Moštenica', 'Mošurov', 'Motešice', 'Motyčky', 'Môlča', - 'Mrázovce', 'Mučín', 'Mudroňovo', 'Mudrovce', 'Muľa', 'Muráň', 'Muránska Dlhá Lúka', 'Muránska Huta', 'Muránska Lehota', - 'Muránska Zdychava', 'Mútne', 'Mužla', 'Myjava', 'Myslina', 'Mýtna', 'Mýtne Ludany', 'Mýto pod Ďumbierom', 'Nacina Ves', 'Nadlice', - 'Naháč', 'Nálepkovo', 'Námestovo', 'Nána', 'Nandraž', 'Necpaly', 'Nedanovce', 'Nedašovce', 'Neded', 'Nededza', 'Nedožery-Brezany', - 'Nechválova Polianka', 'Nemce', 'Nemcovce', 'Nemcovce', 'Nemčice', 'Nemčiňany', 'Nemecká', 'Nemečky', 'Nemešany', 'Nemšová', 'Nenince', - 'Neporadza', 'Neporadza', 'Nesvady', 'Nesluša', 'Neverice', 'Nevidzany', 'Nevidzany', 'Nevoľné', 'Nezbudská Lúčka', 'Nimnica', 'Nitra', - 'Nitra nad Ipľom', 'Nitrianska Blatnica', 'Nitrianska Streda', 'Nitrianske Hrnčiarovce', 'Nitrianske Pravno', 'Nitrianske Rudno', - 'Nitrianske Sučany', 'Nitrica', 'Nižná', 'Nižná', 'Nižná Boca', 'Nižná Hutka', 'Nižná Jablonka', 'Nižná Jedľová', 'Nižná Kamenica', - 'Nižná Myšľa', 'Nižná Olšava', 'Nižná Pisaná', 'Nižná Polianka', 'Nižná Rybnica', 'Nižná Sitnica', 'Nižná Slaná', 'Nižná Voľa', - 'Nižné Ladičkovce', 'Nižné Nemecké', 'Nižné Repaše', 'Nižné Ružbachy', 'Nižný Čaj', 'Nižný Hrabovec', 'Nižný Hrušov', 'Nižný Klátov', - 'Nižný Komárnik', 'Nižný Kručov', 'Nižný Lánec', 'Nižný Mirošov', 'Nižný Orlík', 'Nižný Skálnik', 'Nižný Slavkov', 'Nižný Tvarožec', - 'Nižný Žipov', 'Nolčovo', 'Norovce', 'Nová Baňa', 'Nová Bašta', 'Nová Bošáca', 'Nová Bystrica', 'Nová Dedina', 'Nová Dedinka', - 'Nová Dubnica', 'Nová Kelča', 'Nová Lehota', 'Nová Lesná', 'Nová Ľubovňa', 'Nová Polhora', 'Nová Polianka', 'Nová Sedlica', 'Nová Ves', - 'Nová Ves nad Váhom', 'Nová Ves nad Žitavou', 'Nová Vieska', 'Nováčany', 'Nováky', 'Nové Hony', 'Nové Mesto nad Váhom', 'Nové Sady', - 'Nové Zámky', 'Novosad', 'Novoť', 'Nový Ruskov', 'Nový Salaš', 'Nový Svet', 'Nový Tekov', 'Nový Život', 'Nýrovce', 'Ňagov', 'Ňárad', - 'Obeckov', 'Obid', 'Obišovce', 'Oborín', 'Obručné', 'Obyce', 'Očkov', 'Očová', 'Odorín', 'Ohrady', 'Ohradzany', 'Ochodnica', 'Ochtiná', - 'Okoč', 'Okoličná na Ostrove', 'Okrúhle', 'Okružná', 'Olcnava', 'Olejníkov', 'Olešná', 'Olováry', 'Olšovany', 'Oľdza', 'Oľka', 'Oľšavce', - 'Oľšavica', 'Oľšavka', 'Oľšavka', 'Oľšinkov', 'Oľšov', 'Omastiná', 'Omšenie', 'Ondavka', 'Ondavské Matiašovce', 'Ondrašovce', 'Ondrašová', - 'Ondrejovce', 'Opátka', 'Opatovce', 'Opatovce nad Nitrou', 'Opatovská Nová Ves', 'Opava', 'Opiná', 'Opoj', 'Oponice', 'Oravce', 'Orávka', - 'Oravská Jasenica', 'Oravská Lesná', 'Oravská Polhora', 'Oravská Poruba', 'Oravský Biely Potok', 'Oravský Podzámok', 'Ordzovany', 'Orechová', - 'Orechová Potôň', 'Oravské Veselé', 'Oreské', 'Oreské', 'Orešany', 'Orlov', 'Orovnica', 'Ortuťová', 'Osádka', 'Osadné', 'Osikov', 'Oslany', - 'Osrblie', 'Ostrá Lúka', 'Ostratice', 'Ostrov', 'Ostrov', 'Ostrovany', 'Ostrý Grúň', 'Osturňa', 'Osuské', 'Oščadnica', 'Otrhánky', 'Otročok', - 'Ovčiarsko', 'Ovčie', 'Ozdín', 'Ožďany', 'Pača', 'Padáň', 'Padarovce', 'Pakostov', 'Palárikovo', 'Palín', 'Palota', 'Panické Dravce', - 'Paňa', 'Paňovce', 'Papín', 'Papradno', 'Parchovany', 'Parihuzovce', 'Párnica', 'Partizánska Ľupča', 'Partizánske', 'Pastovce', 'Pastuchov', - 'Pašková', 'Paština Závada', 'Pata', 'Pataš', 'Patince', 'Pavčina Lehota', 'Pavlice', 'Pavlová', 'Pavlova Ves', 'Pavlovce', 'Pavlovce', - 'Pavlovce nad Uhom', 'Pavľany', 'Pažiť', 'Pčoliné', 'Pečenice', 'Pečeňady', 'Pečeňany', 'Pečovská Nová Ves', 'Peder', 'Perín-Chym', - 'Pernek', 'Petkovce', 'Petrikovce', 'Petrová', 'Petrova Lehota', 'Petrova Ves', 'Petrovany', 'Petrovce', 'Petrovce', 'Petrovce', - 'Petrovce nad Laborcom', 'Petrovice', 'Petrovo', 'Pezinok', 'Piešťany', 'Pichne', 'Píla', 'Píla', 'Píla', 'Pinciná', 'Pinkovce', - 'Piskorovce', 'Pitelová', 'Plášťovce', 'Plavé Vozokany', 'Plavecké Podhradie', 'Plavecký Mikuláš', 'Plavecký Peter', 'Plavecký Štvrtok', - 'Plaveč', 'Plavnica', 'Plechotice', 'Pleš', 'Plešivec', 'Plevník-Drienové', 'Pliešovce', 'Ploské', 'Ploské', 'Pobedim', 'Počarová', - 'Počúvadlo', 'Podbiel', 'Podbranč', 'Podbrezová', 'Podhájska', 'Podhorany', 'Podhorany', 'Podhorany', 'Podhorie', 'Podhorie', 'Podhoroď', - 'Podhradie', 'Podhradie', 'Podhradie', 'Podhradík', 'Podkonice', 'Podkriváň', 'Podkylava', 'Podlužany', 'Podlužany', 'Podolie', - 'Podolínec', 'Podrečany', 'Podskalie', 'Podtureň', 'Podvysoká', 'Podzámčok', 'Pohorelá', 'Pohranice', 'Pohronská Polhora', - 'Pohronský Bukovec', 'Pohronský Ruskov', 'Pochabany', 'Pokryváč', 'Poliakovce', 'Polianka', 'Polichno', 'Polina', 'Poloma', 'Polomka', - 'Poltár', 'Poluvsie', 'Poľanovce', 'Poľany', 'Poľný Kesov', 'Pongrácovce', 'Poniky', 'Poprad', 'Poproč', 'Poproč', 'Popudinské Močidľany', - 'Poráč', 'Poriadie', 'Porostov', 'Poruba', 'Poruba pod Vihorlatom', 'Porúbka', 'Porúbka', 'Porúbka', 'Porúbka', 'Poša', 'Potok', - 'Potok', 'Potoky', 'Potôčky', 'Potônske Lúky', 'Potvorice', 'Považany', 'Považská Bystrica', 'Povina', 'Povoda', 'Povrazník', 'Pozba', - 'Pozdišovce', 'Pôtor', 'Praha', 'Prakovce', 'Prašice', 'Prašník', 'Pravenec', 'Pravica', 'Pravotice', 'Práznovce', 'Prečín', 'Predajná', - 'Predmier', 'Prenčov', 'Preseľany', 'Prestavlky', 'Prešov', 'Príbelce', 'Pribeník', 'Pribeta', 'Pribiš', 'Príbovce', 'Pribylina', - 'Priechod', 'Priekopa', 'Priepasné', 'Prietrž', 'Prietržka', 'Prievaly', 'Prievidza', 'Prihradzany', 'Príkra', 'Príslop', 'Prituľany', - 'Proč', 'Prochot', 'Prosačov', 'Prosiek', 'Prša', 'Pruské', 'Prusy', 'Pružina', 'Pstriná', 'Ptičie', 'Ptrukša', 'Pucov', 'Púchov', - 'Pukanec', 'Pusté Čemerné', 'Pusté Pole', 'Pusté Sady', 'Pusté Úľany', 'Pušovce', 'Rabča', 'Rabčice', 'Rad', 'Radatice', 'Radava', - 'Radimov', 'Radnovce', 'Radobica', 'Radoľa', 'Radoma', 'Radošina', 'Radošovce', 'Radošovce', 'Radôstka', 'Radvanovce', - 'Radvaň nad Dunajom', 'Radvaň nad Laborcom', 'Radzovce', 'Rafajovce', 'Rajčany', 'Rajec', 'Rajecká Lesná', 'Rajecké Teplice', - 'Rákoš', 'Rákoš', 'Raková', 'Rakovčík', 'Rakovec nad Ondavou', 'Rakovice', 'Rakovnica', 'Rakovo', 'Rakša', 'Rakúsy', 'Rakytník', - 'Rankovce', 'Rapovce', 'Raslavice', 'Rastislavice', 'Rašice', 'Ratka', 'Ratková', 'Ratkovce', 'Ratkovo', 'Ratkovská Lehota', - 'Ratkovská Suchá', 'Ratkovské Bystré', 'Ratnovce', 'Ratvaj', 'Ráztočno', 'Ráztoka', 'Ražňany', 'Reca', 'Regetovka', 'Rejdová', - 'Reľov', 'Remeniny', 'Remetské Hámre', 'Renčišov', 'Repejov', 'Repište', 'Rešica', 'Rešov', 'Revúca', 'Revúcka Lehota', 'Riečka', - 'Riečka', 'Richnava', 'Richvald', 'Rimavská Baňa', 'Rimavská Seč', 'Rimavská Sobota', 'Rimavské Brezovo', 'Rimavské Janovce', - 'Rimavské Zalužany', 'Rišňovce', 'Rohov', 'Rohovce', 'Rohožník', 'Rohožník', 'Rochovce', 'Rokycany', 'Rokytov', 'Rokytov pri Humennom', - 'Rokytovce', 'Rosina', 'Roškovce', 'Roštár', 'Rovensko', 'Rovinka', 'Rovné', 'Rovné', 'Rovné', 'Rovňany', 'Rozhanovce', 'Rozložná', - 'Roztoky', 'Rožkovany', 'Rožňava', 'Rožňavské Bystré', 'Rúbaň', 'Rudina', 'Rudinka', 'Rudinská', 'Rudlov', 'Rudná', 'Rudnianska Lehota', - 'Rudník', 'Rudník', 'Rudno', 'Rudno nad Hronom', 'Rudňany', 'Rumanová', 'Rumince', 'Runina', 'Ruská', 'Ruská Bystrá', 'Ruská Kajňa', - 'Ruská Nová Ves', 'Ruská Poruba', 'Ruská Volová', 'Ruská Voľa', 'Ruská Voľa nad Popradom', 'Ruskov', 'Ruskovce', 'Ruskovce', - 'Ruský Hrabovec', 'Ruský Potok', 'Ružiná', 'Ružindol', 'Ružomberok', 'Rybany', 'Rybky', 'Rybník', 'Rybník', 'Rykynčice', 'Sabinov', - 'Sačurov', 'Sedlice', 'Sádočné', 'Sady nad Torysou', 'Salka', 'Santovka', 'Sap', 'Sása', 'Sása', 'Sasinkovo', 'Sazdice', 'Sebedín-Bečov', - 'Sebedražie', 'Sebechleby', 'Seč', 'Sečianky', 'Sečovce', 'Sečovská Polianka', 'Sedliacka Dubová', 'Sedliská', 'Sedmerovec', 'Sejkov', - 'Sekule', 'Selce', 'Selce', 'Selce', 'Selec', 'Selice', 'Seľany', 'Semerovo', 'Senec', 'Seniakovce', 'Senica', 'Senné', 'Senné', 'Senohrad', - 'Seňa', 'Sereď', 'Sielnica', 'Sihelné', 'Sihla', 'Sikenica', 'Sikenička', 'Siladice', 'Silica', 'Silická Brezová', 'Silická Jablonica', - 'Sirk', 'Sirník', 'Skačany', 'Skalica', 'Skalité', 'Skalka nad Váhom', 'Skároš', 'Skerešovo', 'Sklabiná', 'Sklabinský Podzámok', - 'Sklabiňa', 'Sklené', 'Sklené Teplice', 'Skrabské', 'Skýcov', 'Sládkovičovo', 'Slančík', 'Slanec', 'Slanská Huta', 'Slanské Nové Mesto', - 'Slaská', 'Slatina', 'Slatina nad Bebravou', 'Slatinka nad Bebravou', 'Slatinské Lazy', 'Slatvina', 'Slavec', 'Slavkovce', 'Slavnica', - 'Slavoška', 'Slavošovce', 'Slepčany', 'Sliač', 'Sliepkovce', 'Slizké', 'Slivník', 'Slopná', 'Slovany', 'Slovenská Kajňa', 'Slovenská Ľupča', - 'Slovenská Nová Ves', 'Slovenská Ves', 'Slovenská Volová', 'Slovenské Ďarmoty', 'Slovenské Kľačany', 'Slovenské Krivé', - 'Slovenské Nové Mesto', 'Slovenské Pravno', 'Slovenský Grob', 'Slovinky', 'Sľažany', 'Smilno', 'Smižany', 'Smolenice', 'Smolinské', - 'Smolnícka Huta', 'Smolník', 'Smrdáky', 'Smrečany', 'Snakov', 'Snežnica', 'Snina', 'Socovce', 'Soblahov', 'Soboš', 'Sobotište', - 'Sobrance', 'Sokolce', 'Sokolovce', 'Sokoľ', 'Sokoľany', 'Solčany', 'Solčianky', 'Sološnica', 'Soľ', 'Soľnička', 'Soľník', 'Somotor', - 'Sopkovce', 'Spišská Belá', 'Spišská Nová Ves', 'Spišská Stará Ves', 'Spišská Teplica', 'Spišské Bystré', 'Spišské Hanušovce', - 'Spišské Podhradie', 'Spišské Tomášovce', 'Spišské Vlachy', 'Spišský Hrhov', 'Spišský Hrušov', 'Spišský Štiavnik', 'Spišský Štvrtok', - 'Stakčín', 'Stakčínska Roztoka', 'Stanča', 'Stankovany', 'Stankovce', 'Stará Bašta', 'Stará Bystrica', 'Stará Halič', 'Stará Huta', - 'Stará Kremnička', 'Stará Lehota', 'Stará Lesná', 'Stará Ľubovňa', 'Stará Myjava', 'Stará Turá', 'Stará Voda', 'Staré', 'Staré Hory', - 'Starina', 'Starý Hrádok', 'Starý Tekov', 'Staškov', 'Staškovce', 'Stebnícka Huta', 'Stebník', 'Stožok', 'Stráne pod Tatrami', 'Stránska', - 'Stránske', 'Stráňany', 'Stráňavy', 'Stratená', 'Stráža', 'Strážne', 'Strážske', 'Strečno', 'Streda nad Bodrogom', 'Stredné Plachtince', - 'Strekov', 'Strelníky', 'Stretava', 'Stretavka', 'Streženice', 'Strihovce', 'Stročín', 'Stropkov', 'Studená', 'Studenec', 'Studienka', - 'Stuľany', 'Stupava', 'Stupné', 'Sučany', 'Sudince', 'Súdovce', 'Suchá Dolina', 'Suchá Hora', 'Suchá nad Parnou', 'Sucháň', 'Suché', - 'Suché Brezovo', 'Suchohrad', 'Sukov', 'Sulín', 'Súlovce', 'Súľov-Hradná', 'Sušany', 'Sútor', 'Svätá Mária', 'Svätoplukovo', 'Svätuš', - 'Svätuše', 'Svätý Anton', 'Svätý Jur', 'Svätý Kríž', 'Svätý Peter', 'Svederník', 'Sverepec', 'Sveržov', 'Svetlice', 'Svidnička', 'Svidník', - 'Svinia', 'Svinica', 'Svinice', 'Svinná', 'Svit', 'Svodín', 'Svrbice', 'Svrčinovec', 'Šahy', 'Šajdíkove Humence', 'Šalgovce', 'Šalgočka', - 'Šalov', 'Šaľa', 'Šambron', 'Šamorín', 'Šamudovce', 'Šandal', 'Šarbov', 'Šarišská Poruba', 'Šarišská Trstená', 'Šarišské Bohdanovce', - 'Šarišské Čierne', 'Šarišské Dravce', 'Šarišské Jastrabie', 'Šarišské Michaľany', 'Šarišské Sokolovce', 'Šarišský Štiavnik', 'Šarkan', - 'Šarovce', 'Šašová', 'Šaštín-Stráže', 'Šávoľ', 'Šelpice', 'Šemetkovce', 'Šemša', 'Šenkvice', 'Šiatorská Bukovinka', 'Šiba', 'Šíd', - 'Šimonovce', 'Šindliar', 'Šintava', 'Šípkov', 'Šípkové', 'Širákov', 'Širkovce', 'Široké', 'Šišov', 'Šivetice', 'Šmigovec', 'Šoltýska', - 'Šoporňa', 'Špačince', 'Špania Dolina', 'Španie Pole', 'Šrobárová', 'Štefanov', 'Štefanov nad Oravou', 'Štefanová', 'Štefanovce', - 'Štefanovce', 'Štefanovičová', 'Štefurov', 'Šterusy', 'Štiavnické Bane', 'Štiavnička', 'Štiavnik', 'Štitáre', 'Štítnik', 'Štós', 'Štôla', - 'Štrba', 'Štrkovec', 'Štúrovo', 'Štvrtok', 'Štvrtok na Ostrove', 'Šuja', 'Šuľa', 'Šumiac', 'Šuňava', 'Šurany', 'Šurianky', 'Šurice', - 'Šúrovce', 'Šútovo', 'Šútovce', 'Švábovce', 'Švedlár', 'Švošov', 'Tachty', 'Tajná', 'Tajov', 'Tarnov', 'Tatranská Javorina', 'Tašuľa', - 'Tehla', 'Tekolďany', 'Tekovská Breznica', 'Tekovské Lužany', 'Tekovské Nemce', 'Tekovský Hrádok', 'Telgárt', 'Telince', 'Temeš', - 'Teplička', 'Teplička nad Váhom', 'Tepličky', 'Teplý Vrch', 'Terany', 'Terchová', 'Teriakovce', 'Terňa', 'Tesáre', 'Tesárske Mlyňany', - 'Tešedíkovo', 'Tibava', 'Tichý Potok', 'Timoradza', 'Tisinec', 'Tisovec', 'Tlmače', 'Točnica', 'Tokajík', 'Tomášikovo', 'Tomášov', - 'Tomášovce', 'Tomášovce', 'Topoľa', 'Topoľčany', 'Topoľčianky', 'Topoľnica', 'Topoľníky', 'Topoľovka', 'Toporec', 'Tornaľa', 'Torysa', - 'Torysky', 'Tovarné', 'Tovarnianska Polianka', 'Tovarníky', 'Tôň', 'Trakovice', 'Trávnica', 'Trávnik', 'Trebatice', 'Trebejov', - 'Trebeľovce', 'Trebichava', 'Trebišov', 'Trebostovo', 'Trebušovce', 'Trenč', 'Trenčianska Teplá', 'Trenčianska Turná', - 'Trenčianske Bohuslavice', 'Trenčianske Jastrabie', 'Trenčianske Mitice', 'Trenčianske Stankovce', 'Trenčianske Teplice', 'Trenčín', - 'Trhová Hradská', 'Trhovište', 'Trnava', 'Trnavá Hora', 'Trnava pri Laborci', 'Trnávka', 'Trnávka', 'Trnkov', 'Trnovec', - 'Trnovec nad Váhom', 'Trnovo', 'Tročany', 'Trpín', 'Trstená', 'Trstená na Ostrove', 'Trstené', 'Trstené pri Hornáde', 'Trstice', - 'Trstín', 'Trsťany', 'Tŕnie', 'Tuhár', 'Tuhrina', 'Tuchyňa', 'Tulčík', 'Tupá', 'Turá', 'Turany', 'Turany nad Ondavou', 'Turcovce', - 'Turček', 'Turčianky', 'Turčianska Štiavnička', 'Turčianske Jaseno', 'Turčianske Kľačany', 'Turčianske Teplice', 'Turčiansky Ďur', - 'Turčiansky Peter', 'Turčok', 'Turecká', 'Tureň', 'Turie', 'Turík', 'Turnianska Nová Ves', 'Turňa nad Bodvou', 'Turová', 'Turzovka', - 'Tušice', 'Tušická Nová Ves', 'Tužina', 'Tvarožná', 'Tvrdomestice', 'Tvrdošín', 'Tvrdošovce', 'Ťapešovo', 'Ubľa', 'Úbrež', 'Udavské', - 'Udiča', 'Údol', 'Uhliská', 'Úhorná', 'Uhorská Ves', 'Uhorské', 'Uhrovec', 'Uhrovské Podhradie', 'Ulič', 'Uličské Krivé', 'Uloža', - 'Úľany nad Žitavou', 'Unín', 'Uňatín', 'Urmince', 'Utekáč', 'Uzovce', 'Uzovská Panica', 'Uzovské Pekľany', 'Uzovský Šalgov', 'Vaďovce', - 'Vagrinec', 'Váhovce', 'Vajkovce', 'Valaliky', 'Valaská', 'Valaská Belá', 'Valaská Dubová', 'Valaškovce (vojenský obvod)', 'Valča', - 'Valentovce', 'Valice', 'Valkovce', 'Vaľkovňa', 'Vaniškovce', 'Vápeník', 'Varadka', 'Varechovce', 'Varhaňovce', 'Varín', 'Vasiľov', - 'Vavrečka', 'Vavrinec', 'Vavrišovo', 'Važec', 'Včelince', 'Večelkov', 'Vechec', 'Velčice', 'Veličná', 'Velušovce', 'Veľaty', - 'Veľká Čalomija', 'Veľká Čausa', 'Veľká Čierna', 'Veľká Dolina', 'Veľká Franková', 'Veľká Hradná', 'Veľká Ida', 'Veľká Lehota', - 'Veľká Lesná', 'Veľká Lodina', 'Veľká Lomnica', 'Veľká Lúka', 'Veľká Mača', 'Veľká nad Ipľom', 'Veľká Paka', 'Veľká Tŕňa', - 'Veľká Ves', 'Veľká Ves nad Ipľom', 'Veľké Bierovce', 'Veľké Blahovo', 'Veľké Borové', 'Veľké Dravce', 'Veľké Držkovce', 'Veľké Dvorany', - 'Veľké Dvorníky', 'Veľké Hoste', 'Veľké Chlievany', 'Veľké Chyndice', 'Veľké Kapušany', 'Veľké Kosihy', 'Veľké Kostoľany', - 'Veľké Kozmálovce', 'Veľké Kršteňany', 'Veľké Leváre', 'Veľké Lovce', 'Veľké Ludince', 'Veľké Orvište', 'Veľké Ozorovce', - 'Veľké Pole', 'Veľké Raškovce', 'Veľké Revištia', 'Veľké Ripňany', 'Veľké Rovné', 'Veľké Slemence', 'Veľké Straciny', - 'Veľké Teriakovce', 'Veľké Trakany', 'Veľké Turovce', 'Veľké Uherce', 'Veľké Úľany', 'Veľké Vozokany', - 'Veľké Zálužie', 'Veľké Zlievce', 'Veľkrop', 'Veľký Biel', 'Veľký Blh', 'Veľký Cetín', 'Veľký Čepčín', 'Veľký Ďur', 'Veľký Folkmar', - 'Veľký Grob', 'Veľký Horeš', 'Veľký Kamenec', 'Veľký Klíž', 'Veľký Krtíš', 'Veľký Kýr', 'Veľký Lapáš', 'Veľký Lipník', 'Veľký Lom', - 'Veľký Meder', 'Veľký Slavkov', 'Veľký Slivník', 'Veľký Šariš', 'Veľopolie', 'Vernár', 'Veselé', 'Veterná Poruba', 'Vidiná', 'Vieska', - 'Vieska', 'Vieska nad Žitavou', 'Vígľaš', 'Vígľašská Huta-Kalinka', 'Vikartovce', 'Vinica', 'Viničky', 'Viničné', 'Vinné', 'Vinodol', - 'Vinohrady nad Váhom', 'Vinosady', 'Virt', 'Vislanka', 'Vislava', 'Visolaje', 'Višňov', 'Višňové', 'Višňové', 'Vištuk', 'Vitanová', - 'Vítkovce', 'Víťaz', 'Víťazovce', 'Vlača', 'Vladiča', 'Vlachovo', 'Vlachy', 'Vlčany', 'Vlčkovce', 'Vlkanová', 'Vlkas', 'Vlková', - 'Vlkovce', 'Vlky', 'Voderady', 'Vojany', 'Vojčice', 'Vojka', 'Vojka nad Dunajom', 'Vojkovce', 'Vojnatina', 'Vojňany', 'Vojtovce', - 'Volica', 'Volkovce', 'Voľa', 'Voznica', 'Vozokany', 'Vozokany', 'Vráble', 'Vrádište', 'Vrakúň', 'Vranov nad Topľou', 'Vrbnica', - 'Vrbov', 'Vrbovce', 'Vrbová nad Váhom', 'Vrbové', 'Vrbovka', 'Vrchteplá', 'Vrícko', 'Vršatské Podhradie', 'Vrútky', 'Vtáčkovce', - 'Výborná', 'Výčapy-Opatovce', 'Vydrany', 'Vydrná', 'Vydrník', 'Vyhne', 'Východná', 'Výrava', 'Vysočany', 'Vysoká', 'Vysoká', - 'Vysoká nad Kysucou', 'Vysoká nad Uhom', 'Vysoká pri Morave', 'Vysoké Tatry', 'Vyškovce', 'Vyškovce nad Ipľom', 'Vyšná Boca', - 'Vyšná Hutka', 'Vyšná Jablonka', 'Vyšná Jedľová', 'Vyšná Kamenica', 'Vyšná Myšľa', 'Vyšná Olšava', 'Vyšná Pisaná', 'Vyšná Polianka', - 'Vyšná Rybnica', 'Vyšná Sitnica', 'Vyšná Slaná', 'Vyšná Šebastová', 'Vyšná Voľa', 'Vyšné Ladičkovce', 'Vyšné nad Hronom', 'Vyšné Nemecké', - 'Vyšné Remety', 'Vyšné Repaše', 'Vyšné Ružbachy', 'Vyšné Valice', 'Vyšný Čaj', 'Vyšný Hrabovec', 'Vyšný Hrušov', 'Vyšný Kazimír', - 'Vyšný Klátov', 'Vyšný Komárnik', 'Vyšný Kručov', 'Vyšný Kubín', 'Vyšný Medzev', 'Vyšný Mirošov', 'Vyšný Orlík', 'Vyšný Skálnik', - 'Vyšný Slavkov', 'Vyšný Tvarožec', 'Vyšný Žipov', 'Zábiedovo', 'Záborie', 'Záborské', 'Zádiel', 'Zádor', 'Záhor', 'Záhorce', 'Záhorie', - 'Záhorská Ves', 'Záhradné', 'Zacharovce', 'Zákamenné', 'Zákopčie', 'Zalaba', 'Zálesie', 'Zálesie', 'Zalužice', 'Zamarovce', 'Zámutov', - 'Záriečie', 'Záskalie', 'Zatín', 'Závada', 'Závada', 'Závada', 'Závadka', 'Závadka', 'Závadka', 'Zavar', 'Závažná Poruba', 'Závod', - 'Zázrivá', 'Zbehňov', 'Zbehy', 'Zboj', 'Zbojné', 'Zborov', 'Zborov nad Bystricou', 'Zbrojníky', 'Zbudská Belá', 'Zbudské Dlhé', 'Zbudza', - 'Zbyňov', 'Zeleneč', 'Zemianska Olča', 'Zemianske Kostoľany', 'Zemianske Podhradie', 'Zemianske Sady', 'Zemiansky Vrbovok', 'Zemné', - 'Zemplín', 'Zemplínska Nová Ves', 'Zemplínska Široká', 'Zemplínska Teplica', 'Zemplínske Hámre', 'Zemplínske Hradište', - 'Zemplínske Jastrabie', 'Zemplínske Kopčany', 'Zemplínsky Branč', 'Zlatá Baňa', 'Zlatá Idka', 'Zlaté', 'Zlaté Klasy', 'Zlaté Moravce', - 'Zlatná na Ostrove', 'Zlatník', 'Zlatníky', 'Zlatno', 'Zlatno', 'Zliechov', 'Zohor', 'Zombor', 'Zubák', 'Zuberec', 'Zubné', - 'Zubrohlava', 'Zvolen', 'Zvolenská Slatina', 'Zvončín', 'Žabokreky', 'Žabokreky nad Nitrou', 'Žakarovce', 'Žakovce', 'Žalobín', - 'Žarnov', 'Žarnovica', 'Žaškov', 'Žbince', 'Ždaňa', 'Ždiar', 'Žehňa', 'Žehra', 'Železná Breznica', 'Železník', 'Želiezovce', - 'Želmanovce', 'Želovce', 'Žemberovce', 'Žemliare', 'Žiar', 'Žiar', 'Žiar nad Hronom', 'Žibritov', 'Žihárec', 'Žikava', 'Žilina', - 'Žíp', 'Žipov', 'Žirany', 'Žitavany', 'Žitavce', 'Žitná-Radiša', 'Žlkovce', 'Župčany', 'Župkov', - ]; +class Address extends \Faker\Provider\Address { + protected static $cityName = [ + 'Ábelová', + 'Abovce', + 'Abrahám', + 'Abrahámovce', + 'Abrahámovce', + 'Abramová', + 'Abranovce', + 'Adamovské Kochanovce', + 'Adidovce', + 'Alekšince', + 'Andovce', + 'Andrejová', + 'Ardanovce', + 'Ardovo', + 'Arnutovce', + 'Báb', + 'Babie', + 'Babín', + 'Babiná', + 'Babindol', + 'Babinec', + 'Bacúch', + 'Bacúrov', + 'Báč', + 'Bačka', + 'Bačkov', + 'Bačkovík', + 'Bádice', + 'Badín', + 'Baďan', + 'Báhoň', + 'Bajany', + 'Bajč', + 'Bajerov', + 'Bajerovce', + 'Bajka', + 'Bajtava', + 'Baka', + 'Baláže', + 'Baldovce', + 'Balog nad Ipľom', + 'Baloň', + 'Banka', + 'Bánov', + 'Bánovce nad Bebravou', + 'Bánovce nad Ondavou', + 'Banská Belá', + 'Banská Bystrica', + 'Banská Štiavnica', + 'Banské', + 'Banský Studenec', + 'Baňa', + 'Bara', + 'Barca', + 'Bardejov', + 'Bardoňovo', + 'Bartošova Lehôtka', + 'Bartošovce', + 'Baška', + 'Baškovce', + 'Baškovce', + 'Bašovce', + 'Batizovce', + 'Bátka', + 'Bátorová', + 'Bátorove Kosihy', + 'Bátovce', + 'Beckov', + 'Beharovce', + 'Becherov', + 'Belá', + 'Belá', + 'Belá-Dulice', + 'Belá nad Cirochou', + 'Beladice', + 'Belejovce', + 'Belín', + 'Belina', + 'Belince', + 'Bellova Ves', + 'Beloveža', + 'Beluj', + 'Beluša', + 'Belža', + 'Beniakovce', + 'Benice', + 'Benkovce', + 'Beňadiková', + 'Beňadikovce', + 'Beňadovo', + 'Beňatina', + 'Beňuš', + 'Bernolákovo', + 'Bertotovce', + 'Beša', + 'Beša', + 'Bešeňov', + 'Bešeňová', + 'Betlanovce', + 'Betliar', + 'Bežovce', + 'Bidovce', + 'Biel', + 'Bielovce', + 'Biely Kostol', + 'Bijacovce', + 'Bílkove Humence', + 'Bíňa', + 'Bíňovce', + 'Biskupice', + 'Biskupová', + 'Bitarová', + 'Blahová', + 'Blatná na Ostrove', + 'Blatná Polianka', + 'Blatné', + 'Blatné Remety', + 'Blatné Revištia', + 'Blatnica', + 'Blažice', + 'Blažovce', + 'Blesovce', + 'Blhovce', + 'Bobot', + 'Bobrov', + 'Bobrovček', + 'Bobrovec', + 'Bobrovník', + 'Bočiar', + 'Bodíky', + 'Bodiná', + 'Bodorová', + 'Bodovce', + 'Bodružal', + 'Bodza', + 'Bodzianske Lúky', + 'Bogliarka', + 'Bohdanovce', + 'Bohdanovce nad Trnavou', + 'Boheľov', + 'Bohunice', + 'Bohunice', + 'Bohúňovo', + 'Bojná', + 'Bojnice', + 'Bojničky', + 'Boldog', + 'Boleráz', + 'Bolešov', + 'Boliarov', + 'Boľ', + 'Boľkovce', + 'Borcová', + 'Borčany', + 'Borčice', + 'Borinka', + 'Borová', + 'Borovce', + 'Borský Mikuláš', + 'Borský Svätý Jur', + 'Borša', + 'Bory', + 'Bošáca', + 'Bošany', + 'Bottovo', + 'Boťany', + 'Bôrka', + 'Bracovce', + 'Branč', + 'Branovo', + 'Bratislava', + 'Braväcovo', + 'Brdárka', + 'Brehov', + 'Brehy', + 'Brekov', + 'Brestov', + 'Brestov', + 'Brestov nad Laborcom', + 'Brestovany', + 'Brestovec', + 'Brestovec', + 'Bretejovce', + 'Bretka', + 'Breza', + 'Brezany', + 'Brezina', + 'Breziny', + 'Breznica', + 'Breznička', + 'Breznička', + 'Brezno', + 'Brezolupy', + 'Brezov', + 'Brezová pod Bradlom', + 'Brezovec', + 'Brezovica', + 'Brezovica', + 'Brezovička', + 'Brezovka', + 'Brežany', + 'Brhlovce', + 'Brieštie', + 'Brodské', + 'Brodzany', + 'Brunovce', + 'Brusnica', + 'Brusník', + 'Brusno', + 'Brutovce', + 'Bruty', + 'Brvnište', + 'Brzotín', + 'Buclovany', + 'Búč', + 'Bučany', + 'Budča', + 'Budikovany', + 'Budimír', + 'Budiná', + 'Budince', + 'Budiš', + 'Budkovce', + 'Budmerice', + 'Buglovce', + 'Buková', + 'Bukovce', + 'Bukovec', + 'Bukovec', + 'Bukovina', + 'Bulhary', + 'Bunetice', + 'Bunkovce', + 'Bušince', + 'Bušovce', + 'Buzica', + 'Buzitka', + 'Bystrá', + 'Bystrá', + 'Bystrany', + 'Bystré', + 'Bystričany', + 'Bystrička', + 'Byšta', + 'Bytča', + 'Bzenica', + 'Bzenov', + 'Bzince pod Javorinou', + 'Bziny', + 'Bzovík', + 'Bzovská Lehôtka', + 'Bžany', + 'Cabaj-Čápor', + 'Cabov', + 'Cakov', + 'Cejkov', + 'Cernina', + 'Cerová', + 'Cerovo', + 'Cestice', + 'Cífer', + 'Cigeľ', + 'Cigeľka', + 'Cigla', + 'Cimenná', + 'Cinobaňa', + 'Čab', + 'Čabalovce', + 'Čabiny', + 'Čabradský Vrbovok', + 'Čadca', + 'Čachtice', + 'Čajkov', + 'Čaka', + 'Čakajovce', + 'Čakanovce', + 'Čakanovce', + 'Čakany', + 'Čaklov', + 'Čalovec', + 'Čamovce', + 'Čaňa', + 'Čaradice', + 'Čáry', + 'Častá', + 'Častkov', + 'Častkovce', + 'Čata', + 'Čataj', + 'Čavoj', + 'Čebovce', + 'Čečehov', + 'Čečejovce', + 'Čechy', + 'Čechynce', + 'Čekovce', + 'Čeláre', + 'Čelkova Lehota', + 'Čelovce', + 'Čelovce', + 'Čeľadice', + 'Čeľadince', + 'Čeľovce', + 'Čenkovce', + 'Čerenčany', + 'Čereňany', + 'Čerhov', + 'Čerín', + 'Čermany', + 'Černík', + 'Černina', + 'Černochov', + 'Čertižné', + 'Červená Voda', + 'Červenica', + 'Červenica pri Sabinove', + 'Červeník', + 'Červený Hrádok', + 'Červený Kameň', + 'Červený Kláštor', + 'Červeňany', + 'České Brezovo', + 'Čičarovce', + 'Čičava', + 'Čičmany', + 'Číčov', + 'Čierna', + 'Čierna Lehota', + 'Čierna Lehota', + 'Čierna nad Tisou', + 'Čierna Voda', + 'Čierne', + 'Čierne Kľačany', + 'Čierne nad Topľou', + 'Čierne Pole', + 'Čierny Balog', + 'Čierny Brod', + 'Čierny Potok', + 'Čifáre', + 'Čiližská Radvaň', + 'Čimhová', + 'Čirč', + 'Číž', + 'Čižatice', + 'Čoltovo', + 'Čremošné', + 'Čučma', + 'Čukalovce', + 'Dačov Lom', + 'Daletice', + 'Danišovce', + 'Dargov', + 'Davidov', + 'Debraď', + 'Dedačov', + 'Dedina Mládeže', + 'Dedinka', + 'Dedinky', + 'Dechtice', + 'Dekýš', + 'Demandice', + 'Demänovská Dolina', + 'Demjata', + 'Detrík', + 'Detva', + 'Detvianska Huta', + 'Devičany', + 'Devičie', + 'Dežerice', + 'Diaková', + 'Diakovce', + 'Diviacka Nová Ves', + 'Diviaky nad Nitricou', + 'Divín', + 'Divina', + 'Divinka', + 'Dlhá', + 'Dlhá nad Kysucou', + 'Dlhá nad Oravou', + 'Dlhá nad Váhom', + 'Dlhá Ves', + 'Dlhé Klčovo', + 'Dlhé nad Cirochou', + 'Dlhé Pole', + 'Dlhé Stráže', + 'Dlhoňa', + 'Dlžín', + 'Dobrá', + 'Dobrá Niva', + 'Dobrá Voda', + 'Dobroč', + 'Dobrohošť', + 'Dobroslava', + 'Dobšiná', + 'Dohňany', + 'Dojč', + 'Dolinka', + 'Dolná Breznica', + 'Dolná Krupá', + 'Dolná Lehota', + 'Dolná Mariková', + 'Dolná Mičiná', + 'Dolná Poruba', + 'Dolná Seč', + 'Dolná Streda', + 'Dolná Strehová', + 'Dolná Súča', + 'Dolná Tižina', + 'Dolná Trnávka', + 'Dolná Ves', + 'Dolná Ždaňa', + 'Dolné Dubové', + 'Dolné Kočkovce', + 'Dolné Lefantovce', + 'Dolné Lovčice', + 'Dolné Mladonice', + 'Dolné Naštice', + 'Dolné Obdokovce', + 'Dolné Orešany', + 'Dolné Otrokovce', + 'Dolné Plachtince', + 'Dolné Saliby', + 'Dolné Semerovce', + 'Dolné Srnie', + 'Dolné Strháre', + 'Dolné Trhovište', + 'Dolné Vestenice', + 'Dolné Zahorany', + 'Dolné Zelenice', + 'Dolný Badín', + 'Dolný Bar', + 'Dolný Harmanec', + 'Dolný Hričov', + 'Dolný Chotár', + 'Dolný Kalník', + 'Dolný Kubín', + 'Dolný Lieskov', + 'Dolný Lopašov', + 'Dolný Ohaj', + 'Dolný Pial', + 'Dolný Štál', + 'Dolný Vadičov', + 'Doľany', + 'Doľany', + 'Domadice', + 'Domaníky', + 'Domaniža', + 'Domaňovce', + 'Donovaly', + 'Drábsko', + 'Drahňov', + 'Drahovce', + 'Dravce', + 'Dražice', + 'Dražkovce', + 'Drážovce', + 'Drienčany', + 'Drienica', + 'Drienov', + 'Drienovec', + 'Drienovo', + 'Drienovská Nová Ves', + 'Drietoma', + 'Drnava', + 'Drňa', + 'Družstevná pri Hornáde', + 'Drženice', + 'Držkovce', + 'Dubinné', + 'Dubnica nad Váhom', + 'Dubnička', + 'Dubník', + 'Dubno', + 'Dubodiel', + 'Dubová', + 'Dubová', + 'Dubovany', + 'Dubovce', + 'Dubové', + 'Dubové', + 'Dubovec', + 'Dubovica', + 'Dúbrava', + 'Dúbrava', + 'Dúbrava', + 'Dúbravica', + 'Dúbravka', + 'Dúbravy', + 'Ducové', + 'Dudince', + 'Dukovce', + 'Dulov', + 'Dulova Ves', + 'Dulovce', + 'Dulovo', + 'Dunajská Lužná', + 'Dunajov', + 'Dunajská Streda', + 'Dunajský Klátov', + 'Duplín', + 'Dvorany nad Nitrou', + 'Dvorec', + 'Dvorianky', + 'Dvorníky', + 'Dvorníky-Včeláre', + 'Dvory nad Žitavou', + 'Ďačov', + 'Ďanová', + 'Ďapalovce', + 'Ďubákovo', + 'Ďurčiná', + 'Ďurďoš', + 'Ďurďošík', + 'Ďurďové', + 'Ďurkov', + 'Ďurková', + 'Ďurkovce', + 'Egreš', + 'Fačkov', + 'Falkušovce', + 'Farná', + 'Fekišovce', + 'Figa', + 'Fijaš', + 'Fiľakovo', + 'Fiľakovské Kováče', + 'Fintice', + 'Folkušová', + 'Forbasy', + 'Frička', + 'Fričkovce', + 'Fričovce', + 'Fulianka', + 'Gabčíkovo', + 'Gaboltov', + 'Gajary', + 'Galanta', + 'Galovany', + 'Gánovce', + 'Gáň', + 'Gbelce', + 'Gbely', + 'Gbeľany', + 'Geča', + 'Gelnica', + 'Gemer', + 'Gemerček', + 'Gemerská Hôrka', + 'Gemerská Panica', + 'Gemerská Poloma', + 'Gemerská Ves', + 'Gemerské Dechtáre', + 'Gemerské Michalovce', + 'Gemerské Teplice', + 'Gemerský Jablonec', + 'Gemerský Sad', + 'Geraltov', + 'Gerlachov', + 'Gerlachov', + 'Giglovce', + 'Giraltovce', + 'Girovce', + 'Glabušovce', + 'Gočaltovo', + 'Gočovo', + 'Golianovo', + 'Gortva', + 'Gôtovany', + 'Granč-Petrovce', + 'Gregorova Vieska', + 'Gregorovce', + 'Gribov', + 'Gruzovce', + 'Gyňov', + 'Habovka', + 'Habura', + 'Hačava', + 'Háj', + 'Háj', + 'Hajná Nová Ves', + 'Hajnáčka', + 'Hájske', + 'Hajtovka', + 'Haláčovce', + 'Halič', + 'Haligovce', + 'Haluzice', + 'Hamuliakovo', + 'Handlová', + 'Hanigovce', + 'Haniska', + 'Haniska', + 'Hanková', + 'Hankovce', + 'Hankovce', + 'Hanušovce nad Topľou', + 'Harakovce', + 'Harhaj', + 'Harichovce', + 'Harmanec', + 'Hatalov', + 'Hatné', + 'Havaj', + 'Havka', + 'Havranec', + 'Hažín', + 'Hažín nad Cirochou', + 'Hažlín', + 'Helcmanovce', + 'Heľpa', + 'Henckovce', + 'Henclová', + 'Hencovce', + 'Hendrichovce', + 'Herľany', + 'Hermanovce', + 'Hermanovce nad Topľou', + 'Hertník', + 'Hervartov', + 'Hiadeľ', + 'Hincovce', + 'Hladovka', + 'Hlboké', + 'Hlboké nad Váhom', + 'Hliník nad Hronom', + 'Hlinné', + 'Hlivištia', + 'Hlohovec', + 'Hniezdne', + 'Hnilčík', + 'Hnilec', + 'Hnojné', + 'Hnúšťa', + 'Hodejov', + 'Hodejovec', + 'Hodkovce', + 'Hodruša-Hámre', + 'Hokovce', + 'Holčíkovce', + 'Holiare', + 'Holice', + 'Holíč', + 'Holiša', + 'Holumnica', + 'Honce', + 'Hontianska Vrbica', + 'Hontianske Moravce', + 'Hontianske Nemce', + 'Hontianske Tesáre', + 'Hontianske Trsťany', + 'Horná Breznica', + 'Horná Kráľová', + 'Horná Krupá', + 'Horná Lehota', + 'Horná Lehota', + 'Horná Mariková', + 'Horná Mičiná', + 'Horná Poruba', + 'Horná Potôň', + 'Horná Seč', + 'Horná Streda', + 'Horná Strehová', + 'Horná Súča', + 'Horná Štubňa', + 'Horná Ves', + 'Horná Ves', + 'Horná Ždaňa', + 'Horné Dubové', + 'Horné Hámre', + 'Horné Chlebany', + 'Horné Lefantovce', + 'Horné Mladonice', + 'Horné Mýto', + 'Horné Naštice', + 'Horné Obdokovce', + 'Horné Orešany', + 'Horné Otrokovce', + 'Horné Plachtince', + 'Horné Pršany', + 'Horné Saliby', + 'Horné Semerovce', + 'Horné Srnie', + 'Horné Strháre', + 'Horné Štitáre', + 'Horné Trhovište', + 'Horné Turovce', + 'Horné Vestenice', + 'Horné Zahorany', + 'Horné Zelenice', + 'Horný Badín', + 'Horný Bar', + 'Horný Hričov', + 'Horný Kalník', + 'Horný Lieskov', + 'Horný Pial', + 'Horný Tisovník', + 'Horný Vadičov', + 'Horňa', + 'Horňany', + 'Horovce', + 'Horovce', + 'Hoste', + 'Hostice', + 'Hostie', + 'Hostišovce', + 'Hostovice', + 'Hosťová', + 'Hosťovce', + 'Hosťovce', + 'Hozelec', + 'Hôrka', + 'Hôrka nad Váhom', + 'Hôrky', + 'Hrabičov', + 'Hrabkov', + 'Hrabová Roztoka', + 'Hrabovčík', + 'Hrabovec', + 'Hrabovec nad Laborcom', + 'Hrabovka', + 'Hrabské', + 'Hrabušice', + 'Hradisko', + 'Hradište', + 'Hradište', + 'Hradište pod Vrátnom', + 'Hrádok', + 'Hrachovište', + 'Hrachovo', + 'Hraničné', + 'Hranovnica', + 'Hraň', + 'Hrašné', + 'Hrašovík', + 'Hrčeľ', + 'Hrhov', + 'Hriadky', + 'Hričovské Podhradie', + 'Hriňová', + 'Hrišovce', + 'Hrkovce', + 'Hrlica', + 'Hrnčiarovce nad Parnou', + 'Hrnčiarska Ves', + 'Hrnčiarske Zalužany', + 'Hrochoť', + 'Hromoš', + 'Hronec', + 'Hronovce', + 'Hronsek', + 'Hronská Breznica', + 'Hronská Dúbrava', + 'Hronské Kľačany', + 'Hronské Kosihy', + 'Hronský Beňadik', + 'Hrubá Borša', + 'Hruboňovo', + 'Hrubov', + 'Hrubý Šúr', + 'Hrušov', + 'Hrušov', + 'Hrušovany', + 'Hrušovo', + 'Hruštín', + 'Hubice', + 'Hubina', + 'Hubošovce', + 'Hubová', + 'Hubovo', + 'Hucín', + 'Hudcovce', + 'Hul', + 'Humenné', + 'Huncovce', + 'Hunkovce', + 'Hurbanova Ves', + 'Hurbanovo', + 'Husák', + 'Husiná', + 'Hutka', + 'Huty', + 'Hviezdoslavov', + 'Hvozdnica', + 'Hybe', + 'Hýľov', + 'Chanava', + 'Chlebnice', + 'Chlmec', + 'Chľaba', + 'Chmeľnica', + 'Chmeľov', + 'Chmeľová', + 'Chmeľovec', + 'Chminianska Nová Ves', + 'Chminianske Jakubovany', + 'Chmiňany', + 'Choča', + 'Chocholná-Velčice', + 'Choňkovce', + 'Chorvátsky Grob', + 'Chorváty', + 'Chotča', + 'Chotín', + 'Chrabrany', + 'Chrámec', + 'Chrastince', + 'Chrastné', + 'Chrasť nad Hornádom', + 'Chrenovec-Brusno', + 'Chropov', + 'Chrťany', + 'Chtelnica', + 'Chudá Lehota', + 'Chvalová', + 'Chvojnica', + 'Chvojnica', + 'Chynorany', + 'Chyžné', + 'Igram', + 'Ihľany', + 'Ihráč', + 'Ilava', + 'Iliašovce', + 'Ilija', + 'Imeľ', + 'Inovce', + 'Iňa', + 'Iňačovce', + 'Ipeľské Predmostie', + 'Ipeľské Úľany', + 'Ipeľský Sokolec', + 'Istebné', + 'Ivachnová', + 'Ivančiná', + 'Ivanice', + 'Ivanka pri Dunaji', + 'Ivanka pri Nitre', + 'Ivanovce', + 'Iža', + 'Ižipovce', + 'Ižkovce', + 'Jablonec', + 'Jablonica', + 'Jablonka', + 'Jablonov', + 'Jablonov nad Turňou', + 'Jablonové', + 'Jablonové', + 'Jabloň', + 'Jabloňovce', + 'Jacovce', + 'Jahodná', + 'Jaklovce', + 'Jakovany', + 'Jakubany', + 'Jakubov', + 'Jakubova Voľa', + 'Jakubovany', + 'Jakubovany', + 'Jakušovce', + 'Jalová', + 'Jalovec', + 'Jalovec', + 'Jalšové', + 'Jalšovík', + 'Jamník', + 'Jamník', + 'Janice', + 'Janík', + 'Janíky', + 'Jankovce', + 'Janov', + 'Janova Lehota', + 'Janovce', + 'Jánovce', + 'Jánovce', + 'Janovík', + 'Jarabá', + 'Jarabina', + 'Jarok', + 'Jarovnice', + 'Jasenica', + 'Jasenie', + 'Jasenov', + 'Jasenov', + 'Jasenová', + 'Jasenovce', + 'Jasenové', + 'Jasenovo', + 'Jaslovské Bohunice', + 'Jasov', + 'Jasová', + 'Jastrabá', + 'Jastrabie nad Topľou', + 'Jastrabie pri Michalovciach', + 'Jatov', + 'Javorina', + 'Jazernica', + 'Jedlinka', + 'Jedľové Kostoľany', + 'Jelenec', + 'Jelka', + 'Jelšava', + 'Jelšovce', + 'Jelšovec', + 'Jenkovce', + 'Jesenské', + 'Jesenské', + 'Jestice', + 'Ješkova Ves', + 'Jezersko', + 'Jovice', + 'Jovsa', + 'Jur nad Hronom', + 'Jurkova Voľa', + 'Jurová', + 'Jurské', + 'Juskova Voľa', + 'Kačanov', + 'Kajal', + 'Kalameny', + 'Kalinkovo', + 'Kalinov', + 'Kalinovo', + 'Kalná nad Hronom', + 'Kalná Roztoka', + 'Kálnica', + 'Kalnište', + 'Kalonda', + 'Kalša', + 'Kaloša', + 'Kaluža', + 'Kaľamenová', + 'Kaľava', + 'Kamanová', + 'Kamenec pod Vtáčnikom', + 'Kamenica', + 'Kamenica nad Cirochou', + 'Kamenica nad Hronom', + 'Kameničany', + 'Kameničná', + 'Kamenín', + 'Kamenná Poruba', + 'Kamenná Poruba', + 'Kamenné Kosihy', + 'Kamenný Most', + 'Kameňany', + 'Kamienka', + 'Kamienka', + 'Kanianka', + 'Kapince', + 'Kapišová', + 'Kaplna', + 'Kapušany', + 'Kapušianske Kľačany', + 'Karlová', + 'Karná', + 'Kašov', + 'Kátlovce', + 'Kátov', + 'Kazimír', + 'Kecerovce', + 'Kecerovský Lipovec', + 'Kečkovce', + 'Kečovo', + 'Kechnec', + 'Kendice', + 'Kesovce', + 'Keť', + 'Kežmarok', + 'Kiarov', + 'Kladzany', + 'Klasov', + 'Kláštor pod Znievom', + 'Klátova Nová Ves', + 'Klčov', + 'Klenov', + 'Klenová', + 'Klenovec', + 'Kleňany', + 'Klieština', + 'Klin', + 'Klin nad Bodrogom', + 'Klížska Nemá', + 'Klokoč', + 'Klokočov', + 'Klokočov', + 'Klubina', + 'Kluknava', + 'Kľačany', + 'Kľače', + 'Kľačno', + 'Kľak', + 'Kľúčovec', + 'Kľušov', + 'Kmeťovo', + 'Kobeliarovo', + 'Kobylnice', + 'Kobyly', + 'Koceľovce', + 'Kociha', + 'Kocurany', + 'Kočín-Lančár', + 'Kočovce', + 'Kochanovce', + 'Kochanovce', + 'Kojatice', + 'Kojšov', + 'Kokava nad Rimavicou', + 'Kokošovce', + 'Kokšov-Bakša', + 'Kolačkov', + 'Kolačno', + 'Koláre', + 'Kolárovice', + 'Kolárovo', + 'Kolbasov', + 'Kolbovce', + 'Kolibabovce', + 'Kolinovce', + 'Kolíňany', + 'Kolonica', + 'Kolta', + 'Komárany', + 'Komárno', + 'Komárov', + 'Komárovce', + 'Komjatice', + 'Komjatná', + 'Komoča', + 'Koniarovce', + 'Konrádovce', + 'Konská', + 'Konská', + 'Koňuš', + 'Kopčany', + 'Kopernica', + 'Koplotovce', + 'Koprivnica', + 'Kordíky', + 'Korejovce', + 'Korňa', + 'Koromľa', + 'Korunková', + 'Korytárky', + 'Korytné', + 'Kosihovce', + 'Kosihy nad Ipľom', + 'Kosorín', + 'Kostolec', + 'Kostolište', + 'Kostolná pri Dunaji', + 'Kostolná Ves', + 'Kostolná-Záriečie', + 'Kostolné', + 'Kostolné Kračany', + 'Kostoľany nad Hornádom', + 'Kostoľany pod Tribečom', + 'Koš', + 'Košariská', + 'Košarovce', + 'Košeca', + 'Košecké Podhradie', + 'Košice', + 'Košická Belá', + 'Košická Polianka', + 'Košické Oľšany', + 'Košický Klečenov', + 'Koškovce', + 'Košolná', + 'Košúty', + 'Košťany nad Turcom', + 'Kotešová', + 'Kotmanová', + 'Kotrčiná Lúčka', + 'Kováčová', + 'Kováčová', + 'Kováčovce', + 'Koválov', + 'Koválovec', + 'Kovarce', + 'Kozárovce', + 'Kozelník', + 'Kozí Vrbovok', + 'Kožany', + 'Kožuchov', + 'Kožuchovce', + 'Kračúnovce', + 'Krahule', + 'Krajná Bystrá', + 'Krajná Poľana', + 'Krajná Porúbka', + 'Krajné', + 'Krajné Čierno', + 'Krakovany', + 'Králiky', + 'Kráľ', + 'Kráľov Brod', + 'Kráľova Lehota', + 'Kráľová nad Váhom', + 'Kráľová pri Senci', + 'Kraľovany', + 'Kráľovce', + 'Kráľovce-Krnišov', + 'Kráľovičove Kračany', + 'Kráľovský Chlmec', + 'Kraskovo', + 'Krásna Lúka', + 'Krásna Ves', + 'Krásno', + 'Krásno nad Kysucou', + 'Krásnohorská Dlhá Lúka', + 'Krásnohorské Podhradie', + 'Krásnovce', + 'Krásny Brod', + 'Krasňany', + 'Kravany', + 'Kravany', + 'Kravany nad Dunajom', + 'Krčava', + 'Kremná', + 'Kremnica', + 'Kremnické Bane', + 'Kristy', + 'Krišľovce', + 'Krišovská Liesková', + 'Krivá', + 'Krivany', + 'Kriváň', + 'Krivé', + 'Krivoklát', + 'Krivosúd-Bodovka', + 'Kríže', + 'Krížová Ves', + 'Krížovany', + 'Križovany nad Dudváhom', + 'Krná', + 'Krnča', + 'Krokava', + 'Krompachy', + 'Krpeľany', + 'Krškany', + 'Krtovce', + 'Kručov', + 'Krupina', + 'Krušetnica', + 'Krušinec', + 'Krušovce', + 'Kružlov', + 'Kružlová', + 'Kružná', + 'Kružno', + 'Kšinná', + 'Kubáňovo', + 'Kučín', + 'Kučín', + 'Kuchyňa', + 'Kuklov', + 'Kuková', + 'Kukučínov', + 'Kunerad', + 'Kunešov', + 'Kunova Teplica', + 'Kuraľany', + 'Kurima', + 'Kurimany', + 'Kurimka', + 'Kurov', + 'Kusín', + 'Kútniky', + 'Kúty', + 'Kuzmice', + 'Kuzmice', + 'Kvačany', + 'Kvačany', + 'Kvakovce', + 'Kvašov', + 'Kvetoslavov', + 'Kyjatice', + 'Kyjov', + 'Kynceľová', + 'Kysak', + 'Kyselica', + 'Kysta', + 'Kysucké Nové Mesto', + 'Kysucký Lieskovec', + 'Láb', + 'Lackov', + 'Lacková', + 'Lackovce', + 'Lada', + 'Ladce', + 'Ladice', + 'Ladmovce', + 'Ladomerská Vieska', + 'Ladomirov', + 'Ladomirová', + 'Ladzany', + 'Lakšárska Nová Ves', + 'Lascov', + 'Laskár', + 'Lastomír', + 'Lastovce', + 'Laškovce', + 'Látky', + 'Lazany', + 'Lazisko', + 'Lazy pod Makytou', + 'Lažany', + 'Lednica', + 'Lednické Rovne', + 'Legnava', + 'Lehnice', + 'Lehota', + 'Lehota nad Rimavicou', + 'Lehota pod Vtáčnikom', + 'Lehôtka', + 'Lehôtka pod Brehmi', + 'Lechnica', + 'Lekárovce', + 'Leles', + 'Leľa', + 'Lemešany', + 'Lenartov', + 'Lenartovce', + 'Lendak', + 'Lenka', + 'Lentvora', + 'Leopoldov', + 'Lesenice', + 'Lesíček', + 'Lesné', + 'Lesnica', + 'Leštiny', + 'Lešť (vojenský obvod)', + 'Letanovce', + 'Letničie', + 'Leváre', + 'Levice', + 'Levkuška', + 'Levoča', + 'Ležiachov', + 'Libichava', + 'Licince', + 'Ličartovce', + 'Liesek', + 'Lieskovany', + 'Lieskovec', + 'Lieskovec', + 'Liešno', + 'Liešťany', + 'Lietava', + 'Lietavská Lúčka', + 'Lietavská Svinná-Babkov', + 'Likavka', + 'Limbach', + 'Lipany', + 'Lipník', + 'Lipníky', + 'Lipová', + 'Lipová', + 'Lipovany', + 'Lipovce', + 'Lipové', + 'Lipovec', + 'Lipovec', + 'Lipovník', + 'Lipovník', + 'Liptovská Anna', + 'Liptovská Kokava', + 'Liptovská Lúžna', + 'Liptovská Osada', + 'Liptovská Porúbka', + 'Liptovská Sielnica', + 'Liptovská Štiavnica', + 'Liptovská Teplá', + 'Liptovská Teplička', + 'Liptovské Beharovce', + 'Liptovské Kľačany', + 'Liptovské Matiašovce', + 'Liptovské Revúce', + 'Liptovské Sliače', + 'Liptovský Hrádok', + 'Liptovský Ján', + 'Liptovský Michal', + 'Liptovský Mikuláš', + 'Liptovský Ondrej', + 'Liptovský Peter', + 'Liptovský Trnovec', + 'Lisková', + 'Lišov', + 'Litava', + 'Litmanová', + 'Livina', + 'Livinské Opatovce', + 'Livov', + 'Livovská Huta', + 'Lodno', + 'Lok', + 'Lokca', + 'Lom nad Rimavicou', + 'Lomná', + 'Lomné', + 'Lomnička', + 'Lontov', + 'Lopašov', + 'Lopúchov', + 'Lopušné Pažite', + 'Lošonec', + 'Lovce', + 'Lovča', + 'Lovčica-Trubín', + 'Lovinobaňa', + 'Lozorno', + 'Ložín', + 'Lubeník', + 'Lubina', + 'Lúč na Ostrove', + 'Lučatín', + 'Lučenec', + 'Lúčina', + 'Lučivná', + 'Lúčka', + 'Lúčka', + 'Lúčka', + 'Lúčka', + 'Lúčky', + 'Lúčky', + 'Lúčky', + 'Lúčnica nad Žitavou', + 'Ludanice', + 'Ludrová', + 'Luhyňa', + 'Lúka', + 'Lukačovce', + 'Lukáčovce', + 'Lukavica', + 'Lukavica', + 'Lukov', + 'Lukovištia', + 'Lúky', + 'Lula', + 'Lupoč', + 'Lutila', + 'Lutiše', + 'Lužany', + 'Lužany pri Topli', + 'Lužianky', + 'Lysá pod Makytou', + 'Lysica', + 'Ľubá', + 'Ľubela', + 'Ľubica', + 'Ľubietová', + 'Ľubiša', + 'Ľubochňa', + 'Ľuboreč', + 'Ľuboriečka', + 'Ľubotice', + 'Ľubotín', + 'Ľubovec', + 'Ľudovítová', + 'Ľutina', + 'Ľutov', + 'Macov', + 'Mad', + 'Madunice', + 'Magnezitovce', + 'Machulince', + 'Majcichov', + 'Majere', + 'Majerovce', + 'Makov', + 'Makovce', + 'Malá Čalomija', + 'Malá Čausa', + 'Malá Čierna', + 'Malá Domaša', + 'Malá Franková', + 'Malá Hradná', + 'Malá Ida', + 'Malá Lehota', + 'Malá Lodina', + 'Malá Mača', + 'Malá nad Hronom', + 'Malá Poľana', + 'Malá Tŕňa', + 'Malacky', + 'Malachov', + 'Málaš', + 'Malatiná', + 'Malatíny', + 'Malcov', + 'Malčice', + 'Malé Borové', + 'Malé Dvorníky', + 'Malé Chyndice', + 'Malé Hoste', + 'Malé Kosihy', + 'Malé Kozmálovce', + 'Malé Kršteňany', + 'Malé Lednice', + 'Malé Leváre', + 'Malé Ludince', + 'Malé Ozorovce', + 'Malé Raškovce', + 'Malé Ripňany', + 'Malé Straciny', + 'Malé Trakany', + 'Malé Uherce', + 'Malé Vozokany', + 'Malé Zálužie', + 'Malé Zlievce', + 'Málinec', + 'Malinová', + 'Malinovo', + 'Malužiná', + 'Malý Cetín', + 'Malý Čepčín', + 'Malý Horeš', + 'Malý Kamenec', + 'Malý Krtíš', + 'Malý Lapáš', + 'Malý Lipník', + 'Malý Slavkov', + 'Malý Slivník', + 'Malý Šariš', + 'Malženice', + 'Mankovce', + 'Maňa', + 'Marcelová', + 'Margecany', + 'Marhaň', + 'Marianka', + 'Markovce', + 'Markuška', + 'Markušovce', + 'Maršová-Rašov', + 'Martin', + 'Martin nad Žitavou', + 'Martinček', + 'Martinová', + 'Martovce', + 'Mašková', + 'Maškovce', + 'Matejovce nad Hornádom', + 'Matiaška', + 'Matiašovce', + 'Matovce', + 'Matúškovo', + 'Matysová', + 'Maťovské Vojkovce', + 'Medovarce', + 'Medvedie', + 'Medveďov', + 'Medzany', + 'Medzev', + 'Medzianky', + 'Medzibrod', + 'Medzibrodie nad Oravou', + 'Medzilaborce', + 'Melčice-Lieskové', + 'Melek', + 'Meliata', + 'Mengusovce', + 'Merašice', + 'Merník', + 'Mestečko', + 'Mestisko', + 'Mičakovce', + 'Mierovo', + 'Miezgovce', + 'Michajlov', + 'Michal na Ostrove', + 'Michal nad Žitavou', + 'Michalková', + 'Michalok', + 'Michalová', + 'Michalovce', + 'Michaľany', + 'Miklušovce', + 'Miková', + 'Mikulášová', + 'Mikušovce', + 'Mikušovce', + 'Milhosť', + 'Miloslavov', + 'Milpoš', + 'Miňovce', + 'Mirkovce', + 'Miroľa', + 'Mládzovo', + 'Mlynárovce', + 'Mlynčeky', + 'Mlynica', + 'Mlynky', + 'Mníchova Lehota', + 'Mníšek nad Hnilcom', + 'Mníšek nad Popradom', + 'Moča', + 'Močenok', + 'Močiar', + 'Modra', + 'Modra nad Cirochou', + 'Modrany', + 'Modrová', + 'Modrovka', + 'Modrý Kameň', + 'Mojmírovce', + 'Mojš', + 'Mojtín', + 'Mojzesovo', + 'Mokrá Lúka', + 'Mokrance', + 'Mokroluh', + 'Mokrý Háj', + 'Moldava nad Bodvou', + 'Moravany', + 'Moravany nad Váhom', + 'Moravské Lieskové', + 'Moravský Svätý Ján', + 'Most pri Bratislave', + 'Mostová', + 'Moškovec', + 'Mošovce', + 'Moštenica', + 'Mošurov', + 'Motešice', + 'Motyčky', + 'Môlča', + 'Mrázovce', + 'Mučín', + 'Mudroňovo', + 'Mudrovce', + 'Muľa', + 'Muráň', + 'Muránska Dlhá Lúka', + 'Muránska Huta', + 'Muránska Lehota', + 'Muránska Zdychava', + 'Mútne', + 'Mužla', + 'Myjava', + 'Myslina', + 'Mýtna', + 'Mýtne Ludany', + 'Mýto pod Ďumbierom', + 'Nacina Ves', + 'Nadlice', + 'Naháč', + 'Nálepkovo', + 'Námestovo', + 'Nána', + 'Nandraž', + 'Necpaly', + 'Nedanovce', + 'Nedašovce', + 'Neded', + 'Nededza', + 'Nedožery-Brezany', + 'Nechválova Polianka', + 'Nemce', + 'Nemcovce', + 'Nemcovce', + 'Nemčice', + 'Nemčiňany', + 'Nemecká', + 'Nemečky', + 'Nemešany', + 'Nemšová', + 'Nenince', + 'Neporadza', + 'Neporadza', + 'Nesvady', + 'Nesluša', + 'Neverice', + 'Nevidzany', + 'Nevidzany', + 'Nevoľné', + 'Nezbudská Lúčka', + 'Nimnica', + 'Nitra', + 'Nitra nad Ipľom', + 'Nitrianska Blatnica', + 'Nitrianska Streda', + 'Nitrianske Hrnčiarovce', + 'Nitrianske Pravno', + 'Nitrianske Rudno', + 'Nitrianske Sučany', + 'Nitrica', + 'Nižná', + 'Nižná', + 'Nižná Boca', + 'Nižná Hutka', + 'Nižná Jablonka', + 'Nižná Jedľová', + 'Nižná Kamenica', + 'Nižná Myšľa', + 'Nižná Olšava', + 'Nižná Pisaná', + 'Nižná Polianka', + 'Nižná Rybnica', + 'Nižná Sitnica', + 'Nižná Slaná', + 'Nižná Voľa', + 'Nižné Ladičkovce', + 'Nižné Nemecké', + 'Nižné Repaše', + 'Nižné Ružbachy', + 'Nižný Čaj', + 'Nižný Hrabovec', + 'Nižný Hrušov', + 'Nižný Klátov', + 'Nižný Komárnik', + 'Nižný Kručov', + 'Nižný Lánec', + 'Nižný Mirošov', + 'Nižný Orlík', + 'Nižný Skálnik', + 'Nižný Slavkov', + 'Nižný Tvarožec', + 'Nižný Žipov', + 'Nolčovo', + 'Norovce', + 'Nová Baňa', + 'Nová Bašta', + 'Nová Bošáca', + 'Nová Bystrica', + 'Nová Dedina', + 'Nová Dedinka', + 'Nová Dubnica', + 'Nová Kelča', + 'Nová Lehota', + 'Nová Lesná', + 'Nová Ľubovňa', + 'Nová Polhora', + 'Nová Polianka', + 'Nová Sedlica', + 'Nová Ves', + 'Nová Ves nad Váhom', + 'Nová Ves nad Žitavou', + 'Nová Vieska', + 'Nováčany', + 'Nováky', + 'Nové Hony', + 'Nové Mesto nad Váhom', + 'Nové Sady', + 'Nové Zámky', + 'Novosad', + 'Novoť', + 'Nový Ruskov', + 'Nový Salaš', + 'Nový Svet', + 'Nový Tekov', + 'Nový Život', + 'Nýrovce', + 'Ňagov', + 'Ňárad', + 'Obeckov', + 'Obid', + 'Obišovce', + 'Oborín', + 'Obručné', + 'Obyce', + 'Očkov', + 'Očová', + 'Odorín', + 'Ohrady', + 'Ohradzany', + 'Ochodnica', + 'Ochtiná', + 'Okoč', + 'Okoličná na Ostrove', + 'Okrúhle', + 'Okružná', + 'Olcnava', + 'Olejníkov', + 'Olešná', + 'Olováry', + 'Olšovany', + 'Oľdza', + 'Oľka', + 'Oľšavce', + 'Oľšavica', + 'Oľšavka', + 'Oľšavka', + 'Oľšinkov', + 'Oľšov', + 'Omastiná', + 'Omšenie', + 'Ondavka', + 'Ondavské Matiašovce', + 'Ondrašovce', + 'Ondrašová', + 'Ondrejovce', + 'Opátka', + 'Opatovce', + 'Opatovce nad Nitrou', + 'Opatovská Nová Ves', + 'Opava', + 'Opiná', + 'Opoj', + 'Oponice', + 'Oravce', + 'Orávka', + 'Oravská Jasenica', + 'Oravská Lesná', + 'Oravská Polhora', + 'Oravská Poruba', + 'Oravský Biely Potok', + 'Oravský Podzámok', + 'Ordzovany', + 'Orechová', + 'Orechová Potôň', + 'Oravské Veselé', + 'Oreské', + 'Oreské', + 'Orešany', + 'Orlov', + 'Orovnica', + 'Ortuťová', + 'Osádka', + 'Osadné', + 'Osikov', + 'Oslany', + 'Osrblie', + 'Ostrá Lúka', + 'Ostratice', + 'Ostrov', + 'Ostrov', + 'Ostrovany', + 'Ostrý Grúň', + 'Osturňa', + 'Osuské', + 'Oščadnica', + 'Otrhánky', + 'Otročok', + 'Ovčiarsko', + 'Ovčie', + 'Ozdín', + 'Ožďany', + 'Pača', + 'Padáň', + 'Padarovce', + 'Pakostov', + 'Palárikovo', + 'Palín', + 'Palota', + 'Panické Dravce', + 'Paňa', + 'Paňovce', + 'Papín', + 'Papradno', + 'Parchovany', + 'Parihuzovce', + 'Párnica', + 'Partizánska Ľupča', + 'Partizánske', + 'Pastovce', + 'Pastuchov', + 'Pašková', + 'Paština Závada', + 'Pata', + 'Pataš', + 'Patince', + 'Pavčina Lehota', + 'Pavlice', + 'Pavlová', + 'Pavlova Ves', + 'Pavlovce', + 'Pavlovce', + 'Pavlovce nad Uhom', + 'Pavľany', + 'Pažiť', + 'Pčoliné', + 'Pečenice', + 'Pečeňady', + 'Pečeňany', + 'Pečovská Nová Ves', + 'Peder', + 'Perín-Chym', + 'Pernek', + 'Petkovce', + 'Petrikovce', + 'Petrová', + 'Petrova Lehota', + 'Petrova Ves', + 'Petrovany', + 'Petrovce', + 'Petrovce', + 'Petrovce', + 'Petrovce nad Laborcom', + 'Petrovice', + 'Petrovo', + 'Pezinok', + 'Piešťany', + 'Pichne', + 'Píla', + 'Píla', + 'Píla', + 'Pinciná', + 'Pinkovce', + 'Piskorovce', + 'Pitelová', + 'Plášťovce', + 'Plavé Vozokany', + 'Plavecké Podhradie', + 'Plavecký Mikuláš', + 'Plavecký Peter', + 'Plavecký Štvrtok', + 'Plaveč', + 'Plavnica', + 'Plechotice', + 'Pleš', + 'Plešivec', + 'Plevník-Drienové', + 'Pliešovce', + 'Ploské', + 'Ploské', + 'Pobedim', + 'Počarová', + 'Počúvadlo', + 'Podbiel', + 'Podbranč', + 'Podbrezová', + 'Podhájska', + 'Podhorany', + 'Podhorany', + 'Podhorany', + 'Podhorie', + 'Podhorie', + 'Podhoroď', + 'Podhradie', + 'Podhradie', + 'Podhradie', + 'Podhradík', + 'Podkonice', + 'Podkriváň', + 'Podkylava', + 'Podlužany', + 'Podlužany', + 'Podolie', + 'Podolínec', + 'Podrečany', + 'Podskalie', + 'Podtureň', + 'Podvysoká', + 'Podzámčok', + 'Pohorelá', + 'Pohranice', + 'Pohronská Polhora', + 'Pohronský Bukovec', + 'Pohronský Ruskov', + 'Pochabany', + 'Pokryváč', + 'Poliakovce', + 'Polianka', + 'Polichno', + 'Polina', + 'Poloma', + 'Polomka', + 'Poltár', + 'Poluvsie', + 'Poľanovce', + 'Poľany', + 'Poľný Kesov', + 'Pongrácovce', + 'Poniky', + 'Poprad', + 'Poproč', + 'Poproč', + 'Popudinské Močidľany', + 'Poráč', + 'Poriadie', + 'Porostov', + 'Poruba', + 'Poruba pod Vihorlatom', + 'Porúbka', + 'Porúbka', + 'Porúbka', + 'Porúbka', + 'Poša', + 'Potok', + 'Potok', + 'Potoky', + 'Potôčky', + 'Potônske Lúky', + 'Potvorice', + 'Považany', + 'Považská Bystrica', + 'Povina', + 'Povoda', + 'Povrazník', + 'Pozba', + 'Pozdišovce', + 'Pôtor', + 'Praha', + 'Prakovce', + 'Prašice', + 'Prašník', + 'Pravenec', + 'Pravica', + 'Pravotice', + 'Práznovce', + 'Prečín', + 'Predajná', + 'Predmier', + 'Prenčov', + 'Preseľany', + 'Prestavlky', + 'Prešov', + 'Príbelce', + 'Pribeník', + 'Pribeta', + 'Pribiš', + 'Príbovce', + 'Pribylina', + 'Priechod', + 'Priekopa', + 'Priepasné', + 'Prietrž', + 'Prietržka', + 'Prievaly', + 'Prievidza', + 'Prihradzany', + 'Príkra', + 'Príslop', + 'Prituľany', + 'Proč', + 'Prochot', + 'Prosačov', + 'Prosiek', + 'Prša', + 'Pruské', + 'Prusy', + 'Pružina', + 'Pstriná', + 'Ptičie', + 'Ptrukša', + 'Pucov', + 'Púchov', + 'Pukanec', + 'Pusté Čemerné', + 'Pusté Pole', + 'Pusté Sady', + 'Pusté Úľany', + 'Pušovce', + 'Rabča', + 'Rabčice', + 'Rad', + 'Radatice', + 'Radava', + 'Radimov', + 'Radnovce', + 'Radobica', + 'Radoľa', + 'Radoma', + 'Radošina', + 'Radošovce', + 'Radošovce', + 'Radôstka', + 'Radvanovce', + 'Radvaň nad Dunajom', + 'Radvaň nad Laborcom', + 'Radzovce', + 'Rafajovce', + 'Rajčany', + 'Rajec', + 'Rajecká Lesná', + 'Rajecké Teplice', + 'Rákoš', + 'Rákoš', + 'Raková', + 'Rakovčík', + 'Rakovec nad Ondavou', + 'Rakovice', + 'Rakovnica', + 'Rakovo', + 'Rakša', + 'Rakúsy', + 'Rakytník', + 'Rankovce', + 'Rapovce', + 'Raslavice', + 'Rastislavice', + 'Rašice', + 'Ratka', + 'Ratková', + 'Ratkovce', + 'Ratkovo', + 'Ratkovská Lehota', + 'Ratkovská Suchá', + 'Ratkovské Bystré', + 'Ratnovce', + 'Ratvaj', + 'Ráztočno', + 'Ráztoka', + 'Ražňany', + 'Reca', + 'Regetovka', + 'Rejdová', + 'Reľov', + 'Remeniny', + 'Remetské Hámre', + 'Renčišov', + 'Repejov', + 'Repište', + 'Rešica', + 'Rešov', + 'Revúca', + 'Revúcka Lehota', + 'Riečka', + 'Riečka', + 'Richnava', + 'Richvald', + 'Rimavská Baňa', + 'Rimavská Seč', + 'Rimavská Sobota', + 'Rimavské Brezovo', + 'Rimavské Janovce', + 'Rimavské Zalužany', + 'Rišňovce', + 'Rohov', + 'Rohovce', + 'Rohožník', + 'Rohožník', + 'Rochovce', + 'Rokycany', + 'Rokytov', + 'Rokytov pri Humennom', + 'Rokytovce', + 'Rosina', + 'Roškovce', + 'Roštár', + 'Rovensko', + 'Rovinka', + 'Rovné', + 'Rovné', + 'Rovné', + 'Rovňany', + 'Rozhanovce', + 'Rozložná', + 'Roztoky', + 'Rožkovany', + 'Rožňava', + 'Rožňavské Bystré', + 'Rúbaň', + 'Rudina', + 'Rudinka', + 'Rudinská', + 'Rudlov', + 'Rudná', + 'Rudnianska Lehota', + 'Rudník', + 'Rudník', + 'Rudno', + 'Rudno nad Hronom', + 'Rudňany', + 'Rumanová', + 'Rumince', + 'Runina', + 'Ruská', + 'Ruská Bystrá', + 'Ruská Kajňa', + 'Ruská Nová Ves', + 'Ruská Poruba', + 'Ruská Volová', + 'Ruská Voľa', + 'Ruská Voľa nad Popradom', + 'Ruskov', + 'Ruskovce', + 'Ruskovce', + 'Ruský Hrabovec', + 'Ruský Potok', + 'Ružiná', + 'Ružindol', + 'Ružomberok', + 'Rybany', + 'Rybky', + 'Rybník', + 'Rybník', + 'Rykynčice', + 'Sabinov', + 'Sačurov', + 'Sedlice', + 'Sádočné', + 'Sady nad Torysou', + 'Salka', + 'Santovka', + 'Sap', + 'Sása', + 'Sása', + 'Sasinkovo', + 'Sazdice', + 'Sebedín-Bečov', + 'Sebedražie', + 'Sebechleby', + 'Seč', + 'Sečianky', + 'Sečovce', + 'Sečovská Polianka', + 'Sedliacka Dubová', + 'Sedliská', + 'Sedmerovec', + 'Sejkov', + 'Sekule', + 'Selce', + 'Selce', + 'Selce', + 'Selec', + 'Selice', + 'Seľany', + 'Semerovo', + 'Senec', + 'Seniakovce', + 'Senica', + 'Senné', + 'Senné', + 'Senohrad', + 'Seňa', + 'Sereď', + 'Sielnica', + 'Sihelné', + 'Sihla', + 'Sikenica', + 'Sikenička', + 'Siladice', + 'Silica', + 'Silická Brezová', + 'Silická Jablonica', + 'Sirk', + 'Sirník', + 'Skačany', + 'Skalica', + 'Skalité', + 'Skalka nad Váhom', + 'Skároš', + 'Skerešovo', + 'Sklabiná', + 'Sklabinský Podzámok', + 'Sklabiňa', + 'Sklené', + 'Sklené Teplice', + 'Skrabské', + 'Skýcov', + 'Sládkovičovo', + 'Slančík', + 'Slanec', + 'Slanská Huta', + 'Slanské Nové Mesto', + 'Slaská', + 'Slatina', + 'Slatina nad Bebravou', + 'Slatinka nad Bebravou', + 'Slatinské Lazy', + 'Slatvina', + 'Slavec', + 'Slavkovce', + 'Slavnica', + 'Slavoška', + 'Slavošovce', + 'Slepčany', + 'Sliač', + 'Sliepkovce', + 'Slizké', + 'Slivník', + 'Slopná', + 'Slovany', + 'Slovenská Kajňa', + 'Slovenská Ľupča', + 'Slovenská Nová Ves', + 'Slovenská Ves', + 'Slovenská Volová', + 'Slovenské Ďarmoty', + 'Slovenské Kľačany', + 'Slovenské Krivé', + 'Slovenské Nové Mesto', + 'Slovenské Pravno', + 'Slovenský Grob', + 'Slovinky', + 'Sľažany', + 'Smilno', + 'Smižany', + 'Smolenice', + 'Smolinské', + 'Smolnícka Huta', + 'Smolník', + 'Smrdáky', + 'Smrečany', + 'Snakov', + 'Snežnica', + 'Snina', + 'Socovce', + 'Soblahov', + 'Soboš', + 'Sobotište', + 'Sobrance', + 'Sokolce', + 'Sokolovce', + 'Sokoľ', + 'Sokoľany', + 'Solčany', + 'Solčianky', + 'Sološnica', + 'Soľ', + 'Soľnička', + 'Soľník', + 'Somotor', + 'Sopkovce', + 'Spišská Belá', + 'Spišská Nová Ves', + 'Spišská Stará Ves', + 'Spišská Teplica', + 'Spišské Bystré', + 'Spišské Hanušovce', + 'Spišské Podhradie', + 'Spišské Tomášovce', + 'Spišské Vlachy', + 'Spišský Hrhov', + 'Spišský Hrušov', + 'Spišský Štiavnik', + 'Spišský Štvrtok', + 'Stakčín', + 'Stakčínska Roztoka', + 'Stanča', + 'Stankovany', + 'Stankovce', + 'Stará Bašta', + 'Stará Bystrica', + 'Stará Halič', + 'Stará Huta', + 'Stará Kremnička', + 'Stará Lehota', + 'Stará Lesná', + 'Stará Ľubovňa', + 'Stará Myjava', + 'Stará Turá', + 'Stará Voda', + 'Staré', + 'Staré Hory', + 'Starina', + 'Starý Hrádok', + 'Starý Tekov', + 'Staškov', + 'Staškovce', + 'Stebnícka Huta', + 'Stebník', + 'Stožok', + 'Stráne pod Tatrami', + 'Stránska', + 'Stránske', + 'Stráňany', + 'Stráňavy', + 'Stratená', + 'Stráža', + 'Strážne', + 'Strážske', + 'Strečno', + 'Streda nad Bodrogom', + 'Stredné Plachtince', + 'Strekov', + 'Strelníky', + 'Stretava', + 'Stretavka', + 'Streženice', + 'Strihovce', + 'Stročín', + 'Stropkov', + 'Studená', + 'Studenec', + 'Studienka', + 'Stuľany', + 'Stupava', + 'Stupné', + 'Sučany', + 'Sudince', + 'Súdovce', + 'Suchá Dolina', + 'Suchá Hora', + 'Suchá nad Parnou', + 'Sucháň', + 'Suché', + 'Suché Brezovo', + 'Suchohrad', + 'Sukov', + 'Sulín', + 'Súlovce', + 'Súľov-Hradná', + 'Sušany', + 'Sútor', + 'Svätá Mária', + 'Svätoplukovo', + 'Svätuš', + 'Svätuše', + 'Svätý Anton', + 'Svätý Jur', + 'Svätý Kríž', + 'Svätý Peter', + 'Svederník', + 'Sverepec', + 'Sveržov', + 'Svetlice', + 'Svidnička', + 'Svidník', + 'Svinia', + 'Svinica', + 'Svinice', + 'Svinná', + 'Svit', + 'Svodín', + 'Svrbice', + 'Svrčinovec', + 'Šahy', + 'Šajdíkove Humence', + 'Šalgovce', + 'Šalgočka', + 'Šalov', + 'Šaľa', + 'Šambron', + 'Šamorín', + 'Šamudovce', + 'Šandal', + 'Šarbov', + 'Šarišská Poruba', + 'Šarišská Trstená', + 'Šarišské Bohdanovce', + 'Šarišské Čierne', + 'Šarišské Dravce', + 'Šarišské Jastrabie', + 'Šarišské Michaľany', + 'Šarišské Sokolovce', + 'Šarišský Štiavnik', + 'Šarkan', + 'Šarovce', + 'Šašová', + 'Šaštín-Stráže', + 'Šávoľ', + 'Šelpice', + 'Šemetkovce', + 'Šemša', + 'Šenkvice', + 'Šiatorská Bukovinka', + 'Šiba', + 'Šíd', + 'Šimonovce', + 'Šindliar', + 'Šintava', + 'Šípkov', + 'Šípkové', + 'Širákov', + 'Širkovce', + 'Široké', + 'Šišov', + 'Šivetice', + 'Šmigovec', + 'Šoltýska', + 'Šoporňa', + 'Špačince', + 'Špania Dolina', + 'Španie Pole', + 'Šrobárová', + 'Štefanov', + 'Štefanov nad Oravou', + 'Štefanová', + 'Štefanovce', + 'Štefanovce', + 'Štefanovičová', + 'Štefurov', + 'Šterusy', + 'Štiavnické Bane', + 'Štiavnička', + 'Štiavnik', + 'Štitáre', + 'Štítnik', + 'Štós', + 'Štôla', + 'Štrba', + 'Štrkovec', + 'Štúrovo', + 'Štvrtok', + 'Štvrtok na Ostrove', + 'Šuja', + 'Šuľa', + 'Šumiac', + 'Šuňava', + 'Šurany', + 'Šurianky', + 'Šurice', + 'Šúrovce', + 'Šútovo', + 'Šútovce', + 'Švábovce', + 'Švedlár', + 'Švošov', + 'Tachty', + 'Tajná', + 'Tajov', + 'Tarnov', + 'Tatranská Javorina', + 'Tašuľa', + 'Tehla', + 'Tekolďany', + 'Tekovská Breznica', + 'Tekovské Lužany', + 'Tekovské Nemce', + 'Tekovský Hrádok', + 'Telgárt', + 'Telince', + 'Temeš', + 'Teplička', + 'Teplička nad Váhom', + 'Tepličky', + 'Teplý Vrch', + 'Terany', + 'Terchová', + 'Teriakovce', + 'Terňa', + 'Tesáre', + 'Tesárske Mlyňany', + 'Tešedíkovo', + 'Tibava', + 'Tichý Potok', + 'Timoradza', + 'Tisinec', + 'Tisovec', + 'Tlmače', + 'Točnica', + 'Tokajík', + 'Tomášikovo', + 'Tomášov', + 'Tomášovce', + 'Tomášovce', + 'Topoľa', + 'Topoľčany', + 'Topoľčianky', + 'Topoľnica', + 'Topoľníky', + 'Topoľovka', + 'Toporec', + 'Tornaľa', + 'Torysa', + 'Torysky', + 'Tovarné', + 'Tovarnianska Polianka', + 'Tovarníky', + 'Tôň', + 'Trakovice', + 'Trávnica', + 'Trávnik', + 'Trebatice', + 'Trebejov', + 'Trebeľovce', + 'Trebichava', + 'Trebišov', + 'Trebostovo', + 'Trebušovce', + 'Trenč', + 'Trenčianska Teplá', + 'Trenčianska Turná', + 'Trenčianske Bohuslavice', + 'Trenčianske Jastrabie', + 'Trenčianske Mitice', + 'Trenčianske Stankovce', + 'Trenčianske Teplice', + 'Trenčín', + 'Trhová Hradská', + 'Trhovište', + 'Trnava', + 'Trnavá Hora', + 'Trnava pri Laborci', + 'Trnávka', + 'Trnávka', + 'Trnkov', + 'Trnovec', + 'Trnovec nad Váhom', + 'Trnovo', + 'Tročany', + 'Trpín', + 'Trstená', + 'Trstená na Ostrove', + 'Trstené', + 'Trstené pri Hornáde', + 'Trstice', + 'Trstín', + 'Trsťany', + 'Tŕnie', + 'Tuhár', + 'Tuhrina', + 'Tuchyňa', + 'Tulčík', + 'Tupá', + 'Turá', + 'Turany', + 'Turany nad Ondavou', + 'Turcovce', + 'Turček', + 'Turčianky', + 'Turčianska Štiavnička', + 'Turčianske Jaseno', + 'Turčianske Kľačany', + 'Turčianske Teplice', + 'Turčiansky Ďur', + 'Turčiansky Peter', + 'Turčok', + 'Turecká', + 'Tureň', + 'Turie', + 'Turík', + 'Turnianska Nová Ves', + 'Turňa nad Bodvou', + 'Turová', + 'Turzovka', + 'Tušice', + 'Tušická Nová Ves', + 'Tužina', + 'Tvarožná', + 'Tvrdomestice', + 'Tvrdošín', + 'Tvrdošovce', + 'Ťapešovo', + 'Ubľa', + 'Úbrež', + 'Udavské', + 'Udiča', + 'Údol', + 'Uhliská', + 'Úhorná', + 'Uhorská Ves', + 'Uhorské', + 'Uhrovec', + 'Uhrovské Podhradie', + 'Ulič', + 'Uličské Krivé', + 'Uloža', + 'Úľany nad Žitavou', + 'Unín', + 'Uňatín', + 'Urmince', + 'Utekáč', + 'Uzovce', + 'Uzovská Panica', + 'Uzovské Pekľany', + 'Uzovský Šalgov', + 'Vaďovce', + 'Vagrinec', + 'Váhovce', + 'Vajkovce', + 'Valaliky', + 'Valaská', + 'Valaská Belá', + 'Valaská Dubová', + 'Valaškovce (vojenský obvod)', + 'Valča', + 'Valentovce', + 'Valice', + 'Valkovce', + 'Vaľkovňa', + 'Vaniškovce', + 'Vápeník', + 'Varadka', + 'Varechovce', + 'Varhaňovce', + 'Varín', + 'Vasiľov', + 'Vavrečka', + 'Vavrinec', + 'Vavrišovo', + 'Važec', + 'Včelince', + 'Večelkov', + 'Vechec', + 'Velčice', + 'Veličná', + 'Velušovce', + 'Veľaty', + 'Veľká Čalomija', + 'Veľká Čausa', + 'Veľká Čierna', + 'Veľká Dolina', + 'Veľká Franková', + 'Veľká Hradná', + 'Veľká Ida', + 'Veľká Lehota', + 'Veľká Lesná', + 'Veľká Lodina', + 'Veľká Lomnica', + 'Veľká Lúka', + 'Veľká Mača', + 'Veľká nad Ipľom', + 'Veľká Paka', + 'Veľká Tŕňa', + 'Veľká Ves', + 'Veľká Ves nad Ipľom', + 'Veľké Bierovce', + 'Veľké Blahovo', + 'Veľké Borové', + 'Veľké Dravce', + 'Veľké Držkovce', + 'Veľké Dvorany', + 'Veľké Dvorníky', + 'Veľké Hoste', + 'Veľké Chlievany', + 'Veľké Chyndice', + 'Veľké Kapušany', + 'Veľké Kosihy', + 'Veľké Kostoľany', + 'Veľké Kozmálovce', + 'Veľké Kršteňany', + 'Veľké Leváre', + 'Veľké Lovce', + 'Veľké Ludince', + 'Veľké Orvište', + 'Veľké Ozorovce', + 'Veľké Pole', + 'Veľké Raškovce', + 'Veľké Revištia', + 'Veľké Ripňany', + 'Veľké Rovné', + 'Veľké Slemence', + 'Veľké Straciny', + 'Veľké Teriakovce', + 'Veľké Trakany', + 'Veľké Turovce', + 'Veľké Uherce', + 'Veľké Úľany', + 'Veľké Vozokany', + 'Veľké Zálužie', + 'Veľké Zlievce', + 'Veľkrop', + 'Veľký Biel', + 'Veľký Blh', + 'Veľký Cetín', + 'Veľký Čepčín', + 'Veľký Ďur', + 'Veľký Folkmar', + 'Veľký Grob', + 'Veľký Horeš', + 'Veľký Kamenec', + 'Veľký Klíž', + 'Veľký Krtíš', + 'Veľký Kýr', + 'Veľký Lapáš', + 'Veľký Lipník', + 'Veľký Lom', + 'Veľký Meder', + 'Veľký Slavkov', + 'Veľký Slivník', + 'Veľký Šariš', + 'Veľopolie', + 'Vernár', + 'Veselé', + 'Veterná Poruba', + 'Vidiná', + 'Vieska', + 'Vieska', + 'Vieska nad Žitavou', + 'Vígľaš', + 'Vígľašská Huta-Kalinka', + 'Vikartovce', + 'Vinica', + 'Viničky', + 'Viničné', + 'Vinné', + 'Vinodol', + 'Vinohrady nad Váhom', + 'Vinosady', + 'Virt', + 'Vislanka', + 'Vislava', + 'Visolaje', + 'Višňov', + 'Višňové', + 'Višňové', + 'Vištuk', + 'Vitanová', + 'Vítkovce', + 'Víťaz', + 'Víťazovce', + 'Vlača', + 'Vladiča', + 'Vlachovo', + 'Vlachy', + 'Vlčany', + 'Vlčkovce', + 'Vlkanová', + 'Vlkas', + 'Vlková', + 'Vlkovce', + 'Vlky', + 'Voderady', + 'Vojany', + 'Vojčice', + 'Vojka', + 'Vojka nad Dunajom', + 'Vojkovce', + 'Vojnatina', + 'Vojňany', + 'Vojtovce', + 'Volica', + 'Volkovce', + 'Voľa', + 'Voznica', + 'Vozokany', + 'Vozokany', + 'Vráble', + 'Vrádište', + 'Vrakúň', + 'Vranov nad Topľou', + 'Vrbnica', + 'Vrbov', + 'Vrbovce', + 'Vrbová nad Váhom', + 'Vrbové', + 'Vrbovka', + 'Vrchteplá', + 'Vrícko', + 'Vršatské Podhradie', + 'Vrútky', + 'Vtáčkovce', + 'Výborná', + 'Výčapy-Opatovce', + 'Vydrany', + 'Vydrná', + 'Vydrník', + 'Vyhne', + 'Východná', + 'Výrava', + 'Vysočany', + 'Vysoká', + 'Vysoká', + 'Vysoká nad Kysucou', + 'Vysoká nad Uhom', + 'Vysoká pri Morave', + 'Vysoké Tatry', + 'Vyškovce', + 'Vyškovce nad Ipľom', + 'Vyšná Boca', + 'Vyšná Hutka', + 'Vyšná Jablonka', + 'Vyšná Jedľová', + 'Vyšná Kamenica', + 'Vyšná Myšľa', + 'Vyšná Olšava', + 'Vyšná Pisaná', + 'Vyšná Polianka', + 'Vyšná Rybnica', + 'Vyšná Sitnica', + 'Vyšná Slaná', + 'Vyšná Šebastová', + 'Vyšná Voľa', + 'Vyšné Ladičkovce', + 'Vyšné nad Hronom', + 'Vyšné Nemecké', + 'Vyšné Remety', + 'Vyšné Repaše', + 'Vyšné Ružbachy', + 'Vyšné Valice', + 'Vyšný Čaj', + 'Vyšný Hrabovec', + 'Vyšný Hrušov', + 'Vyšný Kazimír', + 'Vyšný Klátov', + 'Vyšný Komárnik', + 'Vyšný Kručov', + 'Vyšný Kubín', + 'Vyšný Medzev', + 'Vyšný Mirošov', + 'Vyšný Orlík', + 'Vyšný Skálnik', + 'Vyšný Slavkov', + 'Vyšný Tvarožec', + 'Vyšný Žipov', + 'Zábiedovo', + 'Záborie', + 'Záborské', + 'Zádiel', + 'Zádor', + 'Záhor', + 'Záhorce', + 'Záhorie', + 'Záhorská Ves', + 'Záhradné', + 'Zacharovce', + 'Zákamenné', + 'Zákopčie', + 'Zalaba', + 'Zálesie', + 'Zálesie', + 'Zalužice', + 'Zamarovce', + 'Zámutov', + 'Záriečie', + 'Záskalie', + 'Zatín', + 'Závada', + 'Závada', + 'Závada', + 'Závadka', + 'Závadka', + 'Závadka', + 'Zavar', + 'Závažná Poruba', + 'Závod', + 'Zázrivá', + 'Zbehňov', + 'Zbehy', + 'Zboj', + 'Zbojné', + 'Zborov', + 'Zborov nad Bystricou', + 'Zbrojníky', + 'Zbudská Belá', + 'Zbudské Dlhé', + 'Zbudza', + 'Zbyňov', + 'Zeleneč', + 'Zemianska Olča', + 'Zemianske Kostoľany', + 'Zemianske Podhradie', + 'Zemianske Sady', + 'Zemiansky Vrbovok', + 'Zemné', + 'Zemplín', + 'Zemplínska Nová Ves', + 'Zemplínska Široká', + 'Zemplínska Teplica', + 'Zemplínske Hámre', + 'Zemplínske Hradište', + 'Zemplínske Jastrabie', + 'Zemplínske Kopčany', + 'Zemplínsky Branč', + 'Zlatá Baňa', + 'Zlatá Idka', + 'Zlaté', + 'Zlaté Klasy', + 'Zlaté Moravce', + 'Zlatná na Ostrove', + 'Zlatník', + 'Zlatníky', + 'Zlatno', + 'Zlatno', + 'Zliechov', + 'Zohor', + 'Zombor', + 'Zubák', + 'Zuberec', + 'Zubné', + 'Zubrohlava', + 'Zvolen', + 'Zvolenská Slatina', + 'Zvončín', + 'Žabokreky', + 'Žabokreky nad Nitrou', + 'Žakarovce', + 'Žakovce', + 'Žalobín', + 'Žarnov', + 'Žarnovica', + 'Žaškov', + 'Žbince', + 'Ždaňa', + 'Ždiar', + 'Žehňa', + 'Žehra', + 'Železná Breznica', + 'Železník', + 'Želiezovce', + 'Želmanovce', + 'Želovce', + 'Žemberovce', + 'Žemliare', + 'Žiar', + 'Žiar', + 'Žiar nad Hronom', + 'Žibritov', + 'Žihárec', + 'Žikava', + 'Žilina', + 'Žíp', + 'Žipov', + 'Žirany', + 'Žitavany', + 'Žitavce', + 'Žitná-Radiša', + 'Žlkovce', + 'Župčany', + 'Župkov', + ]; - protected static $buildingNumber = ['%####', '%###', '%##']; - protected static $streetSuffix = [ - 'Alley', 'Avenue', 'Branch', 'Bridge', 'Brook', 'Brooks', 'Burg', 'Burgs', 'Bypass', 'Camp', 'Canyon', 'Cape', 'Causeway', 'Center', 'Centers', 'Circle', 'Circles', 'Cliff', 'Cliffs', 'Club', 'Common', 'Corner', 'Corners', 'Course', 'Court', 'Courts', 'Cove', 'Coves', 'Creek', 'Crescent', 'Crest', 'Crossing', 'Crossroad', 'Curve', 'Dale', 'Dam', 'Divide', 'Drive', 'Drive', 'Drives', 'Estate', 'Estates', 'Expressway', 'Extension', 'Extensions', 'Fall', 'Falls', 'Ferry', 'Field', 'Fields', 'Flat', 'Flats', 'Ford', 'Fords', 'Forest', 'Forge', 'Forges', 'Fork', 'Forks', 'Fort', 'Freeway', 'Garden', 'Gardens', 'Gateway', 'Glen', 'Glens', 'Green', 'Greens', 'Grove', 'Groves', 'Harbor', 'Harbors', 'Haven', 'Heights', 'Highway', 'Hill', 'Hills', 'Hollow', 'Inlet', 'Inlet', 'Island', 'Island', 'Islands', 'Islands', 'Isle', 'Isle', 'Junction', 'Junctions', 'Key', 'Keys', 'Knoll', 'Knolls', 'Lake', 'Lakes', 'Land', 'Landing', 'Lane', 'Light', 'Lights', 'Loaf', 'Lock', 'Locks', 'Locks', 'Lodge', 'Lodge', 'Loop', 'Mall', 'Manor', 'Manors', 'Meadow', 'Meadows', 'Mews', 'Mill', 'Mills', 'Mission', 'Mission', 'Motorway', 'Mount', 'Mountain', 'Mountain', 'Mountains', 'Mountains', 'Neck', 'Orchard', 'Oval', 'Overpass', 'Park', 'Parks', 'Parkway', 'Parkways', 'Pass', 'Passage', 'Path', 'Pike', 'Pine', 'Pines', 'Place', 'Plain', 'Plains', 'Plains', 'Plaza', 'Plaza', 'Point', 'Points', 'Port', 'Port', 'Ports', 'Ports', 'Prairie', 'Prairie', 'Radial', 'Ramp', 'Ranch', 'Rapid', 'Rapids', 'Rest', 'Ridge', 'Ridges', 'River', 'Road', 'Road', 'Roads', 'Roads', 'Route', 'Row', 'Rue', 'Run', 'Shoal', 'Shoals', 'Shore', 'Shores', 'Skyway', 'Spring', 'Springs', 'Springs', 'Spur', 'Spurs', 'Square', 'Square', 'Squares', 'Squares', 'Station', 'Station', 'Stravenue', 'Stravenue', 'Stream', 'Stream', 'Street', 'Street', 'Streets', 'Summit', 'Summit', 'Terrace', 'Throughway', 'Trace', 'Track', 'Trafficway', 'Trail', 'Trail', 'Tunnel', 'Tunnel', 'Turnpike', 'Turnpike', 'Underpass', 'Union', 'Unions', 'Valley', 'Valleys', 'Via', 'Viaduct', 'View', 'Views', 'Village', 'Village', 'Villages', 'Ville', 'Vista', 'Vista', 'Walk', 'Walks', 'Wall', 'Way', 'Ways', 'Well', 'Wells', - ]; - protected static $postcode = ['### ##']; + protected static $buildingNumber = [ '%####', '%###', '%##' ]; + protected static $streetSuffix = [ + 'Alley', + 'Avenue', + 'Branch', + 'Bridge', + 'Brook', + 'Brooks', + 'Burg', + 'Burgs', + 'Bypass', + 'Camp', + 'Canyon', + 'Cape', + 'Causeway', + 'Center', + 'Centers', + 'Circle', + 'Circles', + 'Cliff', + 'Cliffs', + 'Club', + 'Common', + 'Corner', + 'Corners', + 'Course', + 'Court', + 'Courts', + 'Cove', + 'Coves', + 'Creek', + 'Crescent', + 'Crest', + 'Crossing', + 'Crossroad', + 'Curve', + 'Dale', + 'Dam', + 'Divide', + 'Drive', + 'Drive', + 'Drives', + 'Estate', + 'Estates', + 'Expressway', + 'Extension', + 'Extensions', + 'Fall', + 'Falls', + 'Ferry', + 'Field', + 'Fields', + 'Flat', + 'Flats', + 'Ford', + 'Fords', + 'Forest', + 'Forge', + 'Forges', + 'Fork', + 'Forks', + 'Fort', + 'Freeway', + 'Garden', + 'Gardens', + 'Gateway', + 'Glen', + 'Glens', + 'Green', + 'Greens', + 'Grove', + 'Groves', + 'Harbor', + 'Harbors', + 'Haven', + 'Heights', + 'Highway', + 'Hill', + 'Hills', + 'Hollow', + 'Inlet', + 'Inlet', + 'Island', + 'Island', + 'Islands', + 'Islands', + 'Isle', + 'Isle', + 'Junction', + 'Junctions', + 'Key', + 'Keys', + 'Knoll', + 'Knolls', + 'Lake', + 'Lakes', + 'Land', + 'Landing', + 'Lane', + 'Light', + 'Lights', + 'Loaf', + 'Lock', + 'Locks', + 'Locks', + 'Lodge', + 'Lodge', + 'Loop', + 'Mall', + 'Manor', + 'Manors', + 'Meadow', + 'Meadows', + 'Mews', + 'Mill', + 'Mills', + 'Mission', + 'Mission', + 'Motorway', + 'Mount', + 'Mountain', + 'Mountain', + 'Mountains', + 'Mountains', + 'Neck', + 'Orchard', + 'Oval', + 'Overpass', + 'Park', + 'Parks', + 'Parkway', + 'Parkways', + 'Pass', + 'Passage', + 'Path', + 'Pike', + 'Pine', + 'Pines', + 'Place', + 'Plain', + 'Plains', + 'Plains', + 'Plaza', + 'Plaza', + 'Point', + 'Points', + 'Port', + 'Port', + 'Ports', + 'Ports', + 'Prairie', + 'Prairie', + 'Radial', + 'Ramp', + 'Ranch', + 'Rapid', + 'Rapids', + 'Rest', + 'Ridge', + 'Ridges', + 'River', + 'Road', + 'Road', + 'Roads', + 'Roads', + 'Route', + 'Row', + 'Rue', + 'Run', + 'Shoal', + 'Shoals', + 'Shore', + 'Shores', + 'Skyway', + 'Spring', + 'Springs', + 'Springs', + 'Spur', + 'Spurs', + 'Square', + 'Square', + 'Squares', + 'Squares', + 'Station', + 'Station', + 'Stravenue', + 'Stravenue', + 'Stream', + 'Stream', + 'Street', + 'Street', + 'Streets', + 'Summit', + 'Summit', + 'Terrace', + 'Throughway', + 'Trace', + 'Track', + 'Trafficway', + 'Trail', + 'Trail', + 'Tunnel', + 'Tunnel', + 'Turnpike', + 'Turnpike', + 'Underpass', + 'Union', + 'Unions', + 'Valley', + 'Valleys', + 'Via', + 'Viaduct', + 'View', + 'Views', + 'Village', + 'Village', + 'Villages', + 'Ville', + 'Vista', + 'Vista', + 'Walk', + 'Walks', + 'Wall', + 'Way', + 'Ways', + 'Well', + 'Wells', + ]; + protected static $postcode = [ '### ##' ]; - protected static $country = [ - 'Afganistan', 'Albánsko', 'Alžírsko', 'Andorra', 'Angola', 'Antigua a Barbuda', 'Argentína', 'Arménsko', 'Austrália', 'Azerbajdžan', - 'Bahamy', 'Bahrajn', 'Bangladéš', 'Barbados', 'Belgicko', 'Belize', 'Benin', 'Bhután', 'Bielorusko', 'Bolívia', 'Bosna a Hercegovina', - 'Botswana', 'Brazília', 'Brunej', 'Bulharsko', 'Burkina', 'Burundi', 'Cyprus', 'Čad', 'Česko', 'Čierna Hora', 'Čile', 'Čína', 'Dánsko', - 'Dominika', 'Dominikánska republika', 'Džibutsko', 'Egypt', 'Ekvádor', 'Eritrea', 'Estónsko', 'Etiópia', 'Fidži', 'Filipíny', 'Fínsko', - 'Francúzsko', 'Gabon', 'Gambia', 'Ghana', 'Grécko', 'Grenada', 'Gruzínsko', 'Guatemala', 'Guinea', 'Guinea-Bissau', 'Guyana', 'Haiti', - 'Holandsko', 'Honduras', 'Chorvátsko', 'India', 'Indonézia', 'Irak', 'Irán', 'Írsko', 'Island', 'Izrael', 'Jamajka', 'Japonsko', 'Jemen', - 'Jordánsko', 'Južná Afrika', 'Južný Sudán', 'Kambodža', 'Kamerun', 'Kanada', 'Kapverdy', 'Katar', 'Kazachstan', 'Keňa', 'Kirgizsko', - 'Kiribati', 'Kolumbia', 'Komory', 'Kongo', 'Konžská demokratická republika', 'Kórejská ľudovodemokratická republika', 'Kórejská republika', - 'Kostarika', 'Kuba', 'Kuvajt', 'Laos', 'Lesotho', 'Libanon', 'Libéria', 'Líbya', 'Lichtenštajnsko', 'Litva', 'Lotyšsko', 'Luxembursko', - 'Macedónsko', 'Madagaskar', 'Maďarsko', 'Malajzia', 'Malawi', 'Maldivy', 'Mali', 'Malta', 'Maroko', 'Marshallove ostrovy', 'Maurícius', - 'Mauritánia', 'Mexiko', 'Mikronézia', 'Mjanmarsko', 'Moldavsko', 'Monako', 'Mongolsko', 'Mozambik', 'Namíbia', 'Nemecko', 'Nepál', 'Niger', - 'Nigéria', 'Nikaragua', 'Nórsko', 'Nový Zéland', 'Omán', 'Pakistan', 'Palau', 'Palestína', 'Panama', 'Papua-Nová Guinea', 'Paraguaj', 'Peru', - 'Pobrežie Slonoviny', 'Poľsko', 'Portugalsko', 'Rakúsko', 'Rovníková Guinea', 'Rumunsko', 'Rusko', 'Rwanda', 'Salvádor', 'Samoa', - 'San Maríno', 'Saudská Arábia', 'Senegal', 'Seychely', 'Sierra Leone', 'Singapur', 'Slovinsko', 'Somálsko', 'Spojené arabské emiráty', - 'Spojené kráľovstvo', 'Spojené štáty', 'Srbsko', 'Srí Lanka', 'Stredoafrická republika', 'Sudán', 'Surinam', 'Svätá Lucia', - 'Svätý Krištof a Nevis', 'Svätý Tomáš a Princov ostrov', 'Svätý Vincent a Grenadíny', 'Svazijsko', 'Sýria', 'Šalamúnove ostrovy', - 'Španielsko', 'Švajčiarsko', 'Švédsko', 'Tadžikistan', 'Taliansko', 'Tanzánia', 'Thajsko', 'Togo', 'Tonga', 'Trinidad a Tobago', - 'Tunisko', 'Turecko', 'Turkménsko', 'Tuvalu', 'Uganda', 'Ukrajina', 'Uruguaj', 'Uzbekistan', 'Vanuatu', 'Vatikán', 'Venezuela', 'Vietnam', - 'Východný Timor', 'Zambia', 'Zimbabwe', 'Zvrchovaný vojenský špitálsky rád sv. Jána Jeruzalemského z Ródu a Malty', - ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; - protected static $streetNameFormats = [ - '{{firstName}} {{streetSuffix}}', - '{{lastName}} {{streetSuffix}}', - ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $country = [ + 'Afganistan', + 'Albánsko', + 'Alžírsko', + 'Andorra', + 'Angola', + 'Antigua a Barbuda', + 'Argentína', + 'Arménsko', + 'Austrália', + 'Azerbajdžan', + 'Bahamy', + 'Bahrajn', + 'Bangladéš', + 'Barbados', + 'Belgicko', + 'Belize', + 'Benin', + 'Bhután', + 'Bielorusko', + 'Bolívia', + 'Bosna a Hercegovina', + 'Botswana', + 'Brazília', + 'Brunej', + 'Bulharsko', + 'Burkina', + 'Burundi', + 'Cyprus', + 'Čad', + 'Česko', + 'Čierna Hora', + 'Čile', + 'Čína', + 'Dánsko', + 'Dominika', + 'Dominikánska republika', + 'Džibutsko', + 'Egypt', + 'Ekvádor', + 'Eritrea', + 'Estónsko', + 'Etiópia', + 'Fidži', + 'Filipíny', + 'Fínsko', + 'Francúzsko', + 'Gabon', + 'Gambia', + 'Ghana', + 'Grécko', + 'Grenada', + 'Gruzínsko', + 'Guatemala', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Holandsko', + 'Honduras', + 'Chorvátsko', + 'India', + 'Indonézia', + 'Irak', + 'Irán', + 'Írsko', + 'Island', + 'Izrael', + 'Jamajka', + 'Japonsko', + 'Jemen', + 'Jordánsko', + 'Južná Afrika', + 'Južný Sudán', + 'Kambodža', + 'Kamerun', + 'Kanada', + 'Kapverdy', + 'Katar', + 'Kazachstan', + 'Keňa', + 'Kirgizsko', + 'Kiribati', + 'Kolumbia', + 'Komory', + 'Kongo', + 'Konžská demokratická republika', + 'Kórejská ľudovodemokratická republika', + 'Kórejská republika', + 'Kostarika', + 'Kuba', + 'Kuvajt', + 'Laos', + 'Lesotho', + 'Libanon', + 'Libéria', + 'Líbya', + 'Lichtenštajnsko', + 'Litva', + 'Lotyšsko', + 'Luxembursko', + 'Macedónsko', + 'Madagaskar', + 'Maďarsko', + 'Malajzia', + 'Malawi', + 'Maldivy', + 'Mali', + 'Malta', + 'Maroko', + 'Marshallove ostrovy', + 'Maurícius', + 'Mauritánia', + 'Mexiko', + 'Mikronézia', + 'Mjanmarsko', + 'Moldavsko', + 'Monako', + 'Mongolsko', + 'Mozambik', + 'Namíbia', + 'Nemecko', + 'Nepál', + 'Niger', + 'Nigéria', + 'Nikaragua', + 'Nórsko', + 'Nový Zéland', + 'Omán', + 'Pakistan', + 'Palau', + 'Palestína', + 'Panama', + 'Papua-Nová Guinea', + 'Paraguaj', + 'Peru', + 'Pobrežie Slonoviny', + 'Poľsko', + 'Portugalsko', + 'Rakúsko', + 'Rovníková Guinea', + 'Rumunsko', + 'Rusko', + 'Rwanda', + 'Salvádor', + 'Samoa', + 'San Maríno', + 'Saudská Arábia', + 'Senegal', + 'Seychely', + 'Sierra Leone', + 'Singapur', + 'Slovinsko', + 'Somálsko', + 'Spojené arabské emiráty', + 'Spojené kráľovstvo', + 'Spojené štáty', + 'Srbsko', + 'Srí Lanka', + 'Stredoafrická republika', + 'Sudán', + 'Surinam', + 'Svätá Lucia', + 'Svätý Krištof a Nevis', + 'Svätý Tomáš a Princov ostrov', + 'Svätý Vincent a Grenadíny', + 'Svazijsko', + 'Sýria', + 'Šalamúnove ostrovy', + 'Španielsko', + 'Švajčiarsko', + 'Švédsko', + 'Tadžikistan', + 'Taliansko', + 'Tanzánia', + 'Thajsko', + 'Togo', + 'Tonga', + 'Trinidad a Tobago', + 'Tunisko', + 'Turecko', + 'Turkménsko', + 'Tuvalu', + 'Uganda', + 'Ukrajina', + 'Uruguaj', + 'Uzbekistan', + 'Vanuatu', + 'Vatikán', + 'Venezuela', + 'Vietnam', + 'Východný Timor', + 'Zambia', + 'Zimbabwe', + 'Zvrchovaný vojenský špitálsky rád sv. Jána Jeruzalemského z Ródu a Malty', + ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; + protected static $streetNameFormats = [ + '{{firstName}} {{streetSuffix}}', + '{{lastName}} {{streetSuffix}}', + ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $addressFormats = [ - '{{streetAddress}}\n {{postcode}}\n {{city}}', - ]; + protected static $addressFormats = [ + '{{streetAddress}}\n {{postcode}}\n {{city}}', + ]; - public static function cityName() - { - return static::randomElement(static::$cityName); - } + public static function cityName() { + return static::randomElement( static::$cityName ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Company.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Company.php index 11b9e5b..f1d187d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Company.php @@ -2,65 +2,455 @@ namespace Faker\Provider\sk_SK; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}-{{lastName}}', - '{{lastName}}, {{lastName}} and {{lastName}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}-{{lastName}}', + '{{lastName}}, {{lastName}} and {{lastName}}', + ]; - protected static $catchPhraseWords = [ - [ - 'Adaptívne', 'Automatické', 'Vyvážené', 'Obchodný-sústredený', 'centralizované', 'Cloned', 'kompatibilné', 'nastaviteľný', 'Cross-group', 'Cross-platform', 'zákazníka zamerané', 'Prispôsobiteľné', 'Decentralizované', 'De-inžinierstva', 'prenesenú', 'Digitálne', 'distribuované', 'Rôzne', 'Down veľkosti', 'Rozšírený', 'Celopodnikové ', ' Ergonomická', 'Expanded', 'Rozšírené', 'Plne konfigurovateľné', 'Funkcia na báze', 'Základný', 'Perspektívne', 'inovatívne', 'integrované', 'Intuitívne', 'Inverzný', 'Povinne monitorovaná', 'Multi-prešitia', 'multi-laterálne', 'Viacvrstvová', 'Viacvrstvová', 'Sieťová', 'Objektovo založená', 'Open-architektúru', 'Open-source', 'Operatívny', 'Optimalizované', 'Voliteľný', 'Organické', 'Organizovaná', 'Trvalé', 'Polarizované', 'Preventívne', 'Aktívne', 'Na zisk zameraná', 'Hlboká', 'programovateľný', 'progresívne', 'verejného kľúča', 'kvalita zamerané', 'reaktívne', 'Rekonštruované', 'Znížená', 'Právo veľké', 'robustné', 'Bezpečné', 'Jednoduchšie', 'Prepínanie', 'Synchronizované', 'synergický', 'spojil', 'tím-orientovaná', 'Univerzálne', 'Užívateľsky prívetivý', 'Univerzálne', 'Virtuálne', 'Vizionárske', - ], - [ - 'kontrola', 'analýzu', 'asymetrický', 'asynchrónne', 'prístup orientovaný', 'pozadí', 'na šírku pásma, monitorovať', 'obojsmerná', 'rozštiepené', 'jasne myslenie', 'klient-driven', 'klient-server', 'koherentné', 'súdržnosti', 'kompozitné', 'kontextový', 'kontextovo založená', 'obsah na báze', 'oddaný', 'dopytom', 'učebný', 'riadiace', 'diskrétne', 'dynamická', 'posilnenie', 'zahŕňajúci', 'manažér', 'explicitné', 'vyžaruje', 'odolné proti chybám', 'popredia', 'čerstvé myslenia', 'Globálne', 'heuristický', 'homogénna', 'ľudských zdrojov', 'hybridný', 'pôsobivých', 'čiastkové', 'nehmotnej', 'interaktívny', 'stredné', 'miestna', 'logistické', 'maximálny', 'metodickú', 'kritické', 'mobil', 'modulárny', 'motivuje', 'multimediálny', 'multi-štát', 'multi-tasking', 'národný', 'založená na skutočných potrebách', 'neutrálny', 'objektovo orientovaný', 'optimálnu', 'optimalizácia', 'radikálne', 'v reálnom čase', 'vzájomná', 'regionálne', 'citlivý', 'škálovateľné', 'stredné', 'zameriavalo na hľadanie riešenia', 'stabilný', 'statické', 'systematické', 'systémové', 'systém-hodný', 'hmotná', 'terciárny', 'prechodné', 'jednotný', 'pridaná hodnota', 'dobre modulovaný', - ], - [ - 'schopnosť', 'prístup', 'algoritmus', 'aliancie', 'analyzátor', 'aplikácie', 'prístup', 'architektúra', 'archív', 'pole', 'postoj', 'referenčné', 'schopnosť', 'kapacita', 'výzva', 'okruh', 'spolupráca', 'zložitosť', 'koncept', 'konglomerát', 'pohotovostný', 'jadro', 'databáza', 'sklad dát', 'definície', 'emulácia', 'kódovanie', 'šifrovanie', 'extranet', 'firmware', 'flexibilita', 'počasia', 'rám', 'rámec', 'funkcie', 'funkcie', 'hardware', 'help-desk', 'hierarchie', 'húb', 'vykonávanie', 'infraštruktúra', 'iniciatíva', 'inštalácia', 'rozhranie', 'encyklopédia', 'pákový efekt', 'metodika', 'migrácia', 'model', 'moderátor', 'kontrola', 'moratórium', 'neurónové-siete', 'paradigma', 'paralelné', 'politika', 'portál', 'produkt', 'produktivita', 'projekt', 'projekcie', 'protokol', 'služba', 'softvér', 'riešenie', 'normalizácie', 'stratégia', 'štruktúra', 'úspech', 'nadstavba', 'pomoc', 'synergia', 'priepustnosť', 'časovom horizonte', 'sadu nástrojov', 'využitie', 'web', 'pracovná sila', - ], - ]; + protected static $catchPhraseWords = [ + [ + 'Adaptívne', + 'Automatické', + 'Vyvážené', + 'Obchodný-sústredený', + 'centralizované', + 'Cloned', + 'kompatibilné', + 'nastaviteľný', + 'Cross-group', + 'Cross-platform', + 'zákazníka zamerané', + 'Prispôsobiteľné', + 'Decentralizované', + 'De-inžinierstva', + 'prenesenú', + 'Digitálne', + 'distribuované', + 'Rôzne', + 'Down veľkosti', + 'Rozšírený', + 'Celopodnikové ', + ' Ergonomická', + 'Expanded', + 'Rozšírené', + 'Plne konfigurovateľné', + 'Funkcia na báze', + 'Základný', + 'Perspektívne', + 'inovatívne', + 'integrované', + 'Intuitívne', + 'Inverzný', + 'Povinne monitorovaná', + 'Multi-prešitia', + 'multi-laterálne', + 'Viacvrstvová', + 'Viacvrstvová', + 'Sieťová', + 'Objektovo založená', + 'Open-architektúru', + 'Open-source', + 'Operatívny', + 'Optimalizované', + 'Voliteľný', + 'Organické', + 'Organizovaná', + 'Trvalé', + 'Polarizované', + 'Preventívne', + 'Aktívne', + 'Na zisk zameraná', + 'Hlboká', + 'programovateľný', + 'progresívne', + 'verejného kľúča', + 'kvalita zamerané', + 'reaktívne', + 'Rekonštruované', + 'Znížená', + 'Právo veľké', + 'robustné', + 'Bezpečné', + 'Jednoduchšie', + 'Prepínanie', + 'Synchronizované', + 'synergický', + 'spojil', + 'tím-orientovaná', + 'Univerzálne', + 'Užívateľsky prívetivý', + 'Univerzálne', + 'Virtuálne', + 'Vizionárske', + ], + [ + 'kontrola', + 'analýzu', + 'asymetrický', + 'asynchrónne', + 'prístup orientovaný', + 'pozadí', + 'na šírku pásma, monitorovať', + 'obojsmerná', + 'rozštiepené', + 'jasne myslenie', + 'klient-driven', + 'klient-server', + 'koherentné', + 'súdržnosti', + 'kompozitné', + 'kontextový', + 'kontextovo založená', + 'obsah na báze', + 'oddaný', + 'dopytom', + 'učebný', + 'riadiace', + 'diskrétne', + 'dynamická', + 'posilnenie', + 'zahŕňajúci', + 'manažér', + 'explicitné', + 'vyžaruje', + 'odolné proti chybám', + 'popredia', + 'čerstvé myslenia', + 'Globálne', + 'heuristický', + 'homogénna', + 'ľudských zdrojov', + 'hybridný', + 'pôsobivých', + 'čiastkové', + 'nehmotnej', + 'interaktívny', + 'stredné', + 'miestna', + 'logistické', + 'maximálny', + 'metodickú', + 'kritické', + 'mobil', + 'modulárny', + 'motivuje', + 'multimediálny', + 'multi-štát', + 'multi-tasking', + 'národný', + 'založená na skutočných potrebách', + 'neutrálny', + 'objektovo orientovaný', + 'optimálnu', + 'optimalizácia', + 'radikálne', + 'v reálnom čase', + 'vzájomná', + 'regionálne', + 'citlivý', + 'škálovateľné', + 'stredné', + 'zameriavalo na hľadanie riešenia', + 'stabilný', + 'statické', + 'systematické', + 'systémové', + 'systém-hodný', + 'hmotná', + 'terciárny', + 'prechodné', + 'jednotný', + 'pridaná hodnota', + 'dobre modulovaný', + ], + [ + 'schopnosť', + 'prístup', + 'algoritmus', + 'aliancie', + 'analyzátor', + 'aplikácie', + 'prístup', + 'architektúra', + 'archív', + 'pole', + 'postoj', + 'referenčné', + 'schopnosť', + 'kapacita', + 'výzva', + 'okruh', + 'spolupráca', + 'zložitosť', + 'koncept', + 'konglomerát', + 'pohotovostný', + 'jadro', + 'databáza', + 'sklad dát', + 'definície', + 'emulácia', + 'kódovanie', + 'šifrovanie', + 'extranet', + 'firmware', + 'flexibilita', + 'počasia', + 'rám', + 'rámec', + 'funkcie', + 'funkcie', + 'hardware', + 'help-desk', + 'hierarchie', + 'húb', + 'vykonávanie', + 'infraštruktúra', + 'iniciatíva', + 'inštalácia', + 'rozhranie', + 'encyklopédia', + 'pákový efekt', + 'metodika', + 'migrácia', + 'model', + 'moderátor', + 'kontrola', + 'moratórium', + 'neurónové-siete', + 'paradigma', + 'paralelné', + 'politika', + 'portál', + 'produkt', + 'produktivita', + 'projekt', + 'projekcie', + 'protokol', + 'služba', + 'softvér', + 'riešenie', + 'normalizácie', + 'stratégia', + 'štruktúra', + 'úspech', + 'nadstavba', + 'pomoc', + 'synergia', + 'priepustnosť', + 'časovom horizonte', + 'sadu nástrojov', + 'využitie', + 'web', + 'pracovná sila', + ], + ]; - protected static $bsWords = [ - [ - 'implement', 'utilize', 'integrate', 'streamline', 'optimize', 'evolve', 'transform', 'embrace', 'enable', 'orchestrate', 'leverage', 'reinvent', 'aggregate', 'architect', 'enhance', 'incentivize', 'morph', 'empower', 'envisioneer', 'monetize', 'harness', 'facilitate', 'seize', 'disintermediate', 'synergize', 'strategize', 'deploy', 'brand', 'grow', 'target', 'syndicate', 'synthesize', 'deliver', 'mesh', 'incubate', 'engage', 'maximize', 'benchmark', 'expedite', 'reintermediate', 'whiteboard', 'visualize', 'repurpose', 'innovate', 'scale', 'unleash', 'drive', 'extend', 'engineer', 'revolutionize', 'generate', 'exploit', 'transition', 'e-enable', 'iterate', 'cultivate', 'matrix', 'productize', 'redefine', 'recontextualize', - ], - [ - 'clicks-and-mortar', 'value-added', 'vertical', 'proactive', 'robust', 'revolutionary', 'scalable', 'leading-edge', 'innovative', 'intuitive', 'strategic', 'e-business', 'mission-critical', 'sticky', 'one-to-one', '24/7', 'end-to-end', 'global', 'B2B', 'B2C', 'granular', 'frictionless', 'virtual', 'viral', 'dynamic', '24/365', 'best-of-breed', 'killer', 'magnetic', 'bleeding-edge', 'web-enabled', 'interactive', 'dot-com', 'sexy', 'back-end', 'real-time', 'efficient', 'front-end', 'distributed', 'seamless', 'extensible', 'turn-key', 'world-class', 'open-source', 'cross-platform', 'cross-media', 'synergistic', 'bricks-and-clicks', 'out-of-the-box', 'enterprise', 'integrated', 'impactful', 'wireless', 'transparent', 'next-generation', 'cutting-edge', 'user-centric', 'visionary', 'customized', 'ubiquitous', 'plug-and-play', 'collaborative', 'compelling', 'holistic', 'rich', - ], - [ - 'synergies', 'web-readiness', 'paradigms', 'markets', 'partnerships', 'infrastructures', 'platforms', 'initiatives', 'channels', 'eyeballs', 'communities', 'ROI', 'solutions', 'e-tailers', 'e-services', 'action-items', 'portals', 'niches', 'technologies', 'content', 'vortals', 'supply-chains', 'convergence', 'relationships', 'architectures', 'interfaces', 'e-markets', 'e-commerce', 'systems', 'bandwidth', 'infomediaries', 'models', 'mindshare', 'deliverables', 'users', 'schemas', 'networks', 'applications', 'metrics', 'e-business', 'functionalities', 'experiences', 'webservices', 'methodologies', - ], - ]; + protected static $bsWords = [ + [ + 'implement', + 'utilize', + 'integrate', + 'streamline', + 'optimize', + 'evolve', + 'transform', + 'embrace', + 'enable', + 'orchestrate', + 'leverage', + 'reinvent', + 'aggregate', + 'architect', + 'enhance', + 'incentivize', + 'morph', + 'empower', + 'envisioneer', + 'monetize', + 'harness', + 'facilitate', + 'seize', + 'disintermediate', + 'synergize', + 'strategize', + 'deploy', + 'brand', + 'grow', + 'target', + 'syndicate', + 'synthesize', + 'deliver', + 'mesh', + 'incubate', + 'engage', + 'maximize', + 'benchmark', + 'expedite', + 'reintermediate', + 'whiteboard', + 'visualize', + 'repurpose', + 'innovate', + 'scale', + 'unleash', + 'drive', + 'extend', + 'engineer', + 'revolutionize', + 'generate', + 'exploit', + 'transition', + 'e-enable', + 'iterate', + 'cultivate', + 'matrix', + 'productize', + 'redefine', + 'recontextualize', + ], + [ + 'clicks-and-mortar', + 'value-added', + 'vertical', + 'proactive', + 'robust', + 'revolutionary', + 'scalable', + 'leading-edge', + 'innovative', + 'intuitive', + 'strategic', + 'e-business', + 'mission-critical', + 'sticky', + 'one-to-one', + '24/7', + 'end-to-end', + 'global', + 'B2B', + 'B2C', + 'granular', + 'frictionless', + 'virtual', + 'viral', + 'dynamic', + '24/365', + 'best-of-breed', + 'killer', + 'magnetic', + 'bleeding-edge', + 'web-enabled', + 'interactive', + 'dot-com', + 'sexy', + 'back-end', + 'real-time', + 'efficient', + 'front-end', + 'distributed', + 'seamless', + 'extensible', + 'turn-key', + 'world-class', + 'open-source', + 'cross-platform', + 'cross-media', + 'synergistic', + 'bricks-and-clicks', + 'out-of-the-box', + 'enterprise', + 'integrated', + 'impactful', + 'wireless', + 'transparent', + 'next-generation', + 'cutting-edge', + 'user-centric', + 'visionary', + 'customized', + 'ubiquitous', + 'plug-and-play', + 'collaborative', + 'compelling', + 'holistic', + 'rich', + ], + [ + 'synergies', + 'web-readiness', + 'paradigms', + 'markets', + 'partnerships', + 'infrastructures', + 'platforms', + 'initiatives', + 'channels', + 'eyeballs', + 'communities', + 'ROI', + 'solutions', + 'e-tailers', + 'e-services', + 'action-items', + 'portals', + 'niches', + 'technologies', + 'content', + 'vortals', + 'supply-chains', + 'convergence', + 'relationships', + 'architectures', + 'interfaces', + 'e-markets', + 'e-commerce', + 'systems', + 'bandwidth', + 'infomediaries', + 'models', + 'mindshare', + 'deliverables', + 'users', + 'schemas', + 'networks', + 'applications', + 'metrics', + 'e-business', + 'functionalities', + 'experiences', + 'webservices', + 'methodologies', + ], + ]; - protected static $companySuffix = ['s.r.o.', 'a.s.', 'v.o.s.']; + protected static $companySuffix = [ 's.r.o.', 'a.s.', 'v.o.s.' ]; - /** - * @example 'Robust full-range hub' - */ - public function catchPhrase() - { - $result = []; + /** + * @example 'Robust full-range hub' + */ + public function catchPhrase() { + $result = []; - foreach (static::$catchPhraseWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$catchPhraseWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } - /** - * @example 'integrate extensible convergence' - */ - public function bs() - { - $result = []; + /** + * @example 'integrate extensible convergence' + */ + public function bs() { + $result = []; - foreach (static::$bsWords as &$word) { - $result[] = static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result[] = static::randomElement( $word ); + } - return implode(' ', $result); - } + return implode( ' ', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Internet.php index 6e63c21..e4ef03c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Internet.php @@ -2,8 +2,15 @@ namespace Faker\Provider\sk_SK; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'yahoo.com', 'zoznam.sk', 'atlas.sk', 'centrum.sk', 'azet.sk', 'post.sk']; - protected static $tld = ['sk', 'sk', 'sk', 'sk', 'sk', 'sk', 'eu', 'com', 'info', 'net', 'org']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'zoznam.sk', + 'atlas.sk', + 'centrum.sk', + 'azet.sk', + 'post.sk' + ]; + protected static $tld = [ 'sk', 'sk', 'sk', 'sk', 'sk', 'sk', 'eu', 'com', 'info', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Payment.php index a837206..013ae6b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sk_SK; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'SK', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'SK', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Person.php index 583759b..c66f01f 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/Person.php @@ -2,170 +2,881 @@ namespace Faker\Provider\sk_SK; -class Person extends \Faker\Provider\Person -{ - protected static $lastNameFormat = [ - '{{lastNameMale}}', - '{{lastNameFemale}}', - ]; - - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{firstNameMale}} {{lastNameMale}}', - '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', - '{{titleMale}} {{firstNameMale}} {{lastNameMale}} {{suffix}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{firstNameFemale}} {{lastNameFemale}}', - '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', - '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}} {{suffix}}', - ]; - - protected static $firstNameMale = [ - 'Drahoslav', 'Severín', 'Alexej', 'Ernest', 'Rastislav', 'Radovan', 'Dobroslav', 'Dalibor', 'Vincent', 'Miloš', 'Timotej', 'Gejza', 'Bohuš', - 'Alfonz', 'Gašpar', 'Emil', 'Erik', 'Blažej', 'Zdenko', 'Dezider', 'Arpád', 'Valentín', 'Pravoslav', 'Jaromír', 'Roman', 'Matej', 'Frederik', - 'Viktor', 'Alexander', 'Radomír', 'Albín', 'Bohumil', 'Kazimír', 'Fridrich', 'Radoslav', 'Tomáš', 'Alan', 'Branislav', 'Bruno', 'Gregor', - 'Vlastimil', 'Boleslav', 'Eduard', 'Jozef', 'Víťazoslav', 'Blahoslav', 'Beňadik', 'Adrián', 'Gabriel', 'Marián', 'Emanuel', 'Miroslav', - 'Benjamín', 'Hugo', 'Richard', 'Izidor', 'Zoltán', 'Albert', 'Igor', 'Július', 'Aleš', 'Fedor', 'Rudolf', 'Valér', 'Marcel', 'Ervín', - 'Slavomír', 'Vojtech', 'Juraj', 'Marek', 'Jaroslav', 'Žigmund', 'Florián', 'Roland', 'Pankrác', 'Servác', 'Bonifác', 'Svetozár', 'Bernard', - 'Júlia', 'Urban', 'Dušan', 'Viliam', 'Ferdinand', 'Norbert', 'Róbert', 'Medard', 'Zlatko', 'Anton', 'Vasil', 'Vít', 'Vratislav', - 'Alfréd', 'Alojz', 'Ján', 'Tadeáš', 'Ladislav', 'Peter', 'Pavol', 'Miloslav', 'Prokop', 'Cyril', 'Metod', 'Patrik', 'Oliver', 'Ivan', - 'Kamil', 'Henrich', 'Drahomír', 'Bohuslav', 'Iľja', 'Daniel', 'Vladimír', 'Jakub', 'Krištof', 'Ignác', 'Gustáv', 'Jerguš', 'Dominik', - 'Oskar', 'Vavrinec', 'Ľubomír', 'Mojmír', 'Leonard', 'Tichomír', 'Filip', 'Bartolomej', 'Ľudovít', 'Samuel', 'Augustín', 'Belo', 'Oleg', - 'Bystrík', 'Ctibor', 'Ľudomil', 'Konštantín', 'Ľuboslav', 'Matúš', 'Móric', 'Ľuboš', 'Ľubor', 'Vladislav', 'Cyprián', 'Václav', 'Michal', - 'Jarolím', 'Arnold', 'Levoslav', 'František', 'Dionýz', 'Maximilián', 'Koloman', 'Boris', 'Lukáš', 'Kristián', 'Vendelín', 'Sergej', - 'Aurel', 'Demeter', 'Denis', 'Hubert', 'Karol', 'Imrich', 'René', 'Bohumír', 'Teodor', 'Tibor', 'Maroš', 'Martin', 'Svätopluk', 'Stanislav', - 'Leopold', 'Eugen', 'Félix', 'Klement', 'Kornel', 'Milan', 'Vratko', 'Ondrej', 'Andrej', 'Edmund', 'Oldrich', 'Oto', 'Mikuláš', 'Ambróz', - 'Radúz', 'Bohdan', 'Adam', 'Štefan', 'Dávid', 'Silvester', - - ]; - - protected static $firstNameFemale = [ - 'Alexandra', 'Karina', 'Daniela', 'Andrea', 'Antónia', 'Bohuslava', 'Dáša', 'Malvína', 'Kristína', 'Nataša', 'Bohdana', 'Drahomíra', - 'Sára', 'Zora', 'Tamara', 'Ema', 'Tatiana', 'Erika', 'Veronika', 'Agáta', 'Dorota', 'Vanda', 'Zoja', 'Gabriela', 'Perla', 'Ida', 'Liana', - 'Miloslava', 'Vlasta', 'Lívia', 'Eleonóra', 'Etela', 'Romana', 'Zlatica', 'Anežka', 'Bohumila', 'Františka', 'Angela', 'Matilda', - 'Svetlana', 'Ľubica', 'Alena', 'Soňa', 'Vieroslava', 'Zita', 'Miroslava', 'Irena', 'Milena', 'Estera', 'Justína', 'Dana', 'Danica', - 'Jela', 'Jaroslava', 'Jarmila', 'Lea', 'Anastázia', 'Galina', 'Lesana', 'Hermína', 'Monika', 'Ingrida', 'Viktória', 'Blažena', 'Žofia', - 'Sofia', 'Gizela', 'Viola', 'Gertrúda', 'Zina', 'Júlia', 'Juliana', 'Želmíra', 'Ela', 'Vanesa', 'Iveta', 'Vilma', 'Petronela', 'Žaneta', - 'Xénia', 'Karolína', 'Lenka', 'Laura', 'Stanislava', 'Margaréta', 'Dobroslava', 'Blanka', 'Valéria', 'Paulína', 'Sidónia', 'Adriána', - 'Beáta', 'Petra', 'Melánia', 'Diana', 'Berta', 'Patrícia', 'Lujza', 'Amália', 'Milota', 'Nina', 'Margita', 'Kamila', 'Dušana', 'Magdaléna', - 'Oľga', 'Anna', 'Hana', 'Božena', 'Marta', 'Libuša', 'Božidara', 'Dominika', 'Hortenzia', 'Jozefína', 'Štefánia', 'Ľubomíra', 'Zuzana', - 'Darina', 'Marcela', 'Milica', 'Elena', 'Helena', 'Lýdia', 'Anabela', 'Jana', 'Silvia', 'Nikola', 'Ružena', 'Nora', 'Drahoslava', 'Linda', - 'Melinda', 'Rebeka', 'Rozália', 'Regína', 'Alica', 'Marianna', 'Miriama', 'Martina', 'Mária', 'Jolana', 'Ľudomila', 'Ľudmila', 'Olympia', - 'Eugénia', 'Ľuboslava', 'Zdenka', 'Edita', 'Michaela', 'Stela', 'Viera', 'Natália', 'Eliška', 'Brigita', 'Valentína', 'Terézia', 'Vladimíra', - 'Hedviga', 'Uršuľa', 'Alojza', 'Kvetoslava', 'Sabína', 'Dobromila', 'Klára', 'Simona', 'Aurélia', 'Denisa', 'Renáta', 'Irma', 'Agnesa', - 'Klaudia', 'Alžbeta', 'Elvíra', 'Cecília', 'Emília', 'Katarína', 'Henrieta', 'Bibiána', 'Barbora', 'Marína', 'Izabela', 'Hilda', 'Otília', - 'Lucia', 'Branislava', 'Bronislava', 'Ivica', 'Albína', 'Kornélia', 'Sláva', 'Slávka', 'Judita', 'Dagmara', 'Adela', 'Nadežda', 'Eva', - 'Filoména', 'Ivana', 'Milada', - - ]; - - protected static $lastNameMale = [ - 'Sloboda', 'Novotný', 'Kučera', 'Veselý', 'Horák', 'Marek', 'Pokorný', 'Král', 'Růžička', 'Zeman', 'Kolár', 'Urban', 'Bartoš', 'Vlček', - 'Polák', 'Kopecký', 'Konečný', 'Malý', 'Holub', 'Abrahám', 'Adam', 'Adamec', 'Almáši', 'Anderle', 'Antal', 'Babka', 'Bahna', 'Bahno', - 'Bajnok', 'Balaša', 'Balog', 'Balogh', 'Baláž', 'Baran', 'Baranka', 'Bartovič', 'Bartoš', 'Bača', 'Beck', 'Beihofner', 'Bella', 'Beran', - 'Bernolák', 'Beňo', 'Bicek', 'Bielik', 'Biringer', 'Blaho', 'Bondra', 'Bosák', 'Boška', 'Brezina', 'Bugár', 'Buš', 'Chalupka', 'Chudík', - 'Cyprich', 'Cíger', 'Dacej', 'Danko', 'Debnár', 'Dej', 'Dekýš', 'Doležal', 'Dostál', 'Dočolomanský', 'Drajna', 'Droppa', 'Dubovský', - 'Dudek', 'Dula', 'Dulla', 'Dusík', 'Dvonč', 'Dzurjanin', 'Dávid', 'Fabian', 'Fabián', 'Fajnor', 'Farkašovský', 'Feldek', 'Fico', 'Filc', - 'Filip', 'Finka', 'Ftorek', 'Galis', 'Gallo', 'Gašpar', 'Gašparovič', 'Gocník', 'Golonka', 'Greguš', 'Grznár', 'Hablák', 'Habšuda', - 'Haluška', 'Halák', 'Hanko', 'Hanzal', 'Hanzel', 'Hanzel', 'Haščák', 'Heretik', 'Hečko', 'Hlaváček', 'Hlinka', 'Hochschorner', - 'Holub', 'Holuby', 'Horváth', 'Hossa', 'Hraško', 'Hric', 'Hrmo', 'Hrušovský', 'Huba', 'Hudáček', 'Hála', 'Ihnačák', 'Janoška', 'Jantošovič', - 'Janík', 'Jonata', 'Jurina', 'Jurík', 'Jáni', 'Jánošík', 'Kaliský', 'Karul', 'Karvaš', 'Keníž', 'Klapka', 'Klaus', 'Kolník', - 'Konstantinidis', 'Korec', 'Kostrec', 'Kováč', 'Kováčik', 'Koza', 'Kubík', 'Kučera', 'Labuda', 'Langoš', 'Lepšík', 'Lexa', 'Lintner', - 'Lubina', 'Lukáč', 'Lupták', 'Líška', 'Majeský', 'Malachovský', 'Malíšek', 'Marián', 'Masaryk', 'Maslo', 'Matiaško', 'Medveď', 'Menyhért', - 'Mečiar', 'Mečíř', 'Mikloško', 'Mikulík', 'Mikuš', 'Mikúš', 'Mišík', 'Mojžiš', 'Mokroš', 'Molnár', 'Moravčík', 'Musil', 'Mydlo', 'Nagy', - 'Nemec', 'Neruda', 'Nezval', 'Nitra', 'Novák', 'Nábělek', 'Němec', 'Obšut', 'Otčenáš', 'Pauko', 'Pavlikovský', 'Pavúk', 'Pašek', 'Paška', - 'Paško', 'Pelikán', 'Petrovický', 'Petruška', 'Plch', 'Podhradská', 'Podkonický', 'Poliak', 'Procházka', 'Puskás', 'Puškáš', 'Raši', - 'Repiský', 'Riszdorfer', 'Romančík', 'Rozenberg', 'Rus', 'Ružička', 'Rúfus', 'Růžička', 'Samson', 'Sedliak', 'Senko', 'Sidor', 'Sklenka', - 'Skutecký', 'Slašťan', 'Sloboda', 'Slobodník', 'Slota', 'Slovák', 'Smrek', 'Stodola', 'Straka', 'Szabó', 'Sámel', 'Sýkora', 'Tatar', - 'Tatarka', 'Tatár', 'Tatárka', 'Timko', 'Tiso', 'Tomeček', 'Truben', 'Turčok', 'Tóth', 'Uram', 'Urblík', 'Vajcík', 'Valent', 'Valuška', - 'Varga', 'Vašíček', 'Vesel', 'Vico', 'Višňovský', 'Vydarený', 'Weiss', 'Zima', 'Zimka', 'Zipser', 'Zátopek', 'Zúbrik', 'Čaplovič', - 'Čarnogurský', 'Čierny', 'Ďaďo', 'Ďurica', 'Ďuriš', 'Šimonovič', 'Škriniar', 'Šouc', 'Šoustal', 'Štefan', 'Štefanka', 'Šulc', 'Šurka', - 'Švehla', 'Šťastný', - - ]; - - protected static $lastNameFemale = [ - 'Slobodová', 'Novotná', 'Čierna', 'Kučerová', 'Veselá', 'Krajčíová', 'Nemcová', 'Králová', 'Růžičková', 'Fialová', 'Zemanová', - 'Kolárová', 'Kováčová', 'Vlčková', 'Poláková', 'Kopecká', 'Šimková', 'Konečná', 'Malá', 'Holubová', 'Staneková', 'Šťastná', - 'Vargová', 'Tóthová', 'Horváthová', 'Balážová', 'Szabová', 'Molnárová', 'Balogová', 'Lukáčová', 'Vícenová', 'Ringlóciová', 'Popovičová', - 'Hulmanová', 'Zelenayová', 'Fingerlandová', 'Králiková', 'Kapustová', 'Hantuchová', 'Holéczyová', 'Butvínová', 'Oslejová', 'Radičová', 'Sárová', - 'Sobotková', 'Kažimírová', 'Plšková', 'Jakubová', 'Šindlerová', 'Ondrejková', 'Slobodníková', 'Sadloňová', 'Černá', 'Nosková', - 'Virčíková', 'Taliánová', 'Čuntalová', 'Oťapková', 'Zuzulová', 'Godolová', 'Gonová', 'Jančová', 'Kocúrová', 'Svobodová', 'Oravcová', 'Muráriková', - 'Holubová', 'Kubáňová', 'Ondrišová', 'Šoltisová', 'Molnárová', 'Rezníčková', 'Dubníčková', 'Karolčíková', 'Máliková', 'Malíková', 'Litajová', - 'Kolrusová', 'Košíková', 'Kušnírová', 'Kravjarová', 'Hotová', 'Hajzerová', 'Ferjenčíková', 'Senková', 'Adamcová', 'Pirošová', 'Šimonová', - 'Finková', 'Hrdá', 'Murčová', - ]; - - protected static $title = [ - 'Bc.', 'Ing.', 'MUDr.', 'MVDr.', 'Mgr.', 'JUDr.', 'PhDr.', 'RNDr.', 'doc.', 'Dr.', 'BcA.', 'ICDr.', 'Ing.', 'Ing. arch.', 'JUDr.', - 'Mgr. art.', 'MSDr.', 'PaedDr.', 'PharmDr.', 'PhDr.', 'PhMr.', 'RNDr.', 'RSDr.', 'ThDr.', 'ThLic.', 'prof.', 'Dr. h. c.', - ]; - - private static $suffix = [ - 'CSc.', 'DrSc.', 'DSc.', 'Ph.D.', 'Th.D.', - ]; - - public function title($gender = null) - { - return static::titleMale(); - } - - /** - * replaced by specific unisex slovakian title - */ - public static function titleMale() - { - return static::randomElement(static::$title); - } - - /** - * replaced by specific unisex slovakian title - */ - public static function titleFemale() - { - return static::titleMale(); - } - - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Novotný' - */ - public function lastName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::lastNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::lastNameFemale(); - } - - return $this->generator->parse(static::randomElement(static::$lastNameFormat)); - } - - public static function lastNameMale() - { - return static::randomElement(static::$lastNameMale); - } - - public static function lastNameFemale() - { - return static::randomElement(static::$lastNameFemale); - } - - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } +class Person extends \Faker\Provider\Person { + protected static $lastNameFormat = [ + '{{lastNameMale}}', + '{{lastNameFemale}}', + ]; + + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{firstNameMale}} {{lastNameMale}}', + '{{titleMale}} {{firstNameMale}} {{lastNameMale}}', + '{{titleMale}} {{firstNameMale}} {{lastNameMale}} {{suffix}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{firstNameFemale}} {{lastNameFemale}}', + '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}}', + '{{titleFemale}} {{firstNameFemale}} {{lastNameFemale}} {{suffix}}', + ]; + + protected static $firstNameMale = [ + 'Drahoslav', + 'Severín', + 'Alexej', + 'Ernest', + 'Rastislav', + 'Radovan', + 'Dobroslav', + 'Dalibor', + 'Vincent', + 'Miloš', + 'Timotej', + 'Gejza', + 'Bohuš', + 'Alfonz', + 'Gašpar', + 'Emil', + 'Erik', + 'Blažej', + 'Zdenko', + 'Dezider', + 'Arpád', + 'Valentín', + 'Pravoslav', + 'Jaromír', + 'Roman', + 'Matej', + 'Frederik', + 'Viktor', + 'Alexander', + 'Radomír', + 'Albín', + 'Bohumil', + 'Kazimír', + 'Fridrich', + 'Radoslav', + 'Tomáš', + 'Alan', + 'Branislav', + 'Bruno', + 'Gregor', + 'Vlastimil', + 'Boleslav', + 'Eduard', + 'Jozef', + 'Víťazoslav', + 'Blahoslav', + 'Beňadik', + 'Adrián', + 'Gabriel', + 'Marián', + 'Emanuel', + 'Miroslav', + 'Benjamín', + 'Hugo', + 'Richard', + 'Izidor', + 'Zoltán', + 'Albert', + 'Igor', + 'Július', + 'Aleš', + 'Fedor', + 'Rudolf', + 'Valér', + 'Marcel', + 'Ervín', + 'Slavomír', + 'Vojtech', + 'Juraj', + 'Marek', + 'Jaroslav', + 'Žigmund', + 'Florián', + 'Roland', + 'Pankrác', + 'Servác', + 'Bonifác', + 'Svetozár', + 'Bernard', + 'Júlia', + 'Urban', + 'Dušan', + 'Viliam', + 'Ferdinand', + 'Norbert', + 'Róbert', + 'Medard', + 'Zlatko', + 'Anton', + 'Vasil', + 'Vít', + 'Vratislav', + 'Alfréd', + 'Alojz', + 'Ján', + 'Tadeáš', + 'Ladislav', + 'Peter', + 'Pavol', + 'Miloslav', + 'Prokop', + 'Cyril', + 'Metod', + 'Patrik', + 'Oliver', + 'Ivan', + 'Kamil', + 'Henrich', + 'Drahomír', + 'Bohuslav', + 'Iľja', + 'Daniel', + 'Vladimír', + 'Jakub', + 'Krištof', + 'Ignác', + 'Gustáv', + 'Jerguš', + 'Dominik', + 'Oskar', + 'Vavrinec', + 'Ľubomír', + 'Mojmír', + 'Leonard', + 'Tichomír', + 'Filip', + 'Bartolomej', + 'Ľudovít', + 'Samuel', + 'Augustín', + 'Belo', + 'Oleg', + 'Bystrík', + 'Ctibor', + 'Ľudomil', + 'Konštantín', + 'Ľuboslav', + 'Matúš', + 'Móric', + 'Ľuboš', + 'Ľubor', + 'Vladislav', + 'Cyprián', + 'Václav', + 'Michal', + 'Jarolím', + 'Arnold', + 'Levoslav', + 'František', + 'Dionýz', + 'Maximilián', + 'Koloman', + 'Boris', + 'Lukáš', + 'Kristián', + 'Vendelín', + 'Sergej', + 'Aurel', + 'Demeter', + 'Denis', + 'Hubert', + 'Karol', + 'Imrich', + 'René', + 'Bohumír', + 'Teodor', + 'Tibor', + 'Maroš', + 'Martin', + 'Svätopluk', + 'Stanislav', + 'Leopold', + 'Eugen', + 'Félix', + 'Klement', + 'Kornel', + 'Milan', + 'Vratko', + 'Ondrej', + 'Andrej', + 'Edmund', + 'Oldrich', + 'Oto', + 'Mikuláš', + 'Ambróz', + 'Radúz', + 'Bohdan', + 'Adam', + 'Štefan', + 'Dávid', + 'Silvester', + + ]; + + protected static $firstNameFemale = [ + 'Alexandra', + 'Karina', + 'Daniela', + 'Andrea', + 'Antónia', + 'Bohuslava', + 'Dáša', + 'Malvína', + 'Kristína', + 'Nataša', + 'Bohdana', + 'Drahomíra', + 'Sára', + 'Zora', + 'Tamara', + 'Ema', + 'Tatiana', + 'Erika', + 'Veronika', + 'Agáta', + 'Dorota', + 'Vanda', + 'Zoja', + 'Gabriela', + 'Perla', + 'Ida', + 'Liana', + 'Miloslava', + 'Vlasta', + 'Lívia', + 'Eleonóra', + 'Etela', + 'Romana', + 'Zlatica', + 'Anežka', + 'Bohumila', + 'Františka', + 'Angela', + 'Matilda', + 'Svetlana', + 'Ľubica', + 'Alena', + 'Soňa', + 'Vieroslava', + 'Zita', + 'Miroslava', + 'Irena', + 'Milena', + 'Estera', + 'Justína', + 'Dana', + 'Danica', + 'Jela', + 'Jaroslava', + 'Jarmila', + 'Lea', + 'Anastázia', + 'Galina', + 'Lesana', + 'Hermína', + 'Monika', + 'Ingrida', + 'Viktória', + 'Blažena', + 'Žofia', + 'Sofia', + 'Gizela', + 'Viola', + 'Gertrúda', + 'Zina', + 'Júlia', + 'Juliana', + 'Želmíra', + 'Ela', + 'Vanesa', + 'Iveta', + 'Vilma', + 'Petronela', + 'Žaneta', + 'Xénia', + 'Karolína', + 'Lenka', + 'Laura', + 'Stanislava', + 'Margaréta', + 'Dobroslava', + 'Blanka', + 'Valéria', + 'Paulína', + 'Sidónia', + 'Adriána', + 'Beáta', + 'Petra', + 'Melánia', + 'Diana', + 'Berta', + 'Patrícia', + 'Lujza', + 'Amália', + 'Milota', + 'Nina', + 'Margita', + 'Kamila', + 'Dušana', + 'Magdaléna', + 'Oľga', + 'Anna', + 'Hana', + 'Božena', + 'Marta', + 'Libuša', + 'Božidara', + 'Dominika', + 'Hortenzia', + 'Jozefína', + 'Štefánia', + 'Ľubomíra', + 'Zuzana', + 'Darina', + 'Marcela', + 'Milica', + 'Elena', + 'Helena', + 'Lýdia', + 'Anabela', + 'Jana', + 'Silvia', + 'Nikola', + 'Ružena', + 'Nora', + 'Drahoslava', + 'Linda', + 'Melinda', + 'Rebeka', + 'Rozália', + 'Regína', + 'Alica', + 'Marianna', + 'Miriama', + 'Martina', + 'Mária', + 'Jolana', + 'Ľudomila', + 'Ľudmila', + 'Olympia', + 'Eugénia', + 'Ľuboslava', + 'Zdenka', + 'Edita', + 'Michaela', + 'Stela', + 'Viera', + 'Natália', + 'Eliška', + 'Brigita', + 'Valentína', + 'Terézia', + 'Vladimíra', + 'Hedviga', + 'Uršuľa', + 'Alojza', + 'Kvetoslava', + 'Sabína', + 'Dobromila', + 'Klára', + 'Simona', + 'Aurélia', + 'Denisa', + 'Renáta', + 'Irma', + 'Agnesa', + 'Klaudia', + 'Alžbeta', + 'Elvíra', + 'Cecília', + 'Emília', + 'Katarína', + 'Henrieta', + 'Bibiána', + 'Barbora', + 'Marína', + 'Izabela', + 'Hilda', + 'Otília', + 'Lucia', + 'Branislava', + 'Bronislava', + 'Ivica', + 'Albína', + 'Kornélia', + 'Sláva', + 'Slávka', + 'Judita', + 'Dagmara', + 'Adela', + 'Nadežda', + 'Eva', + 'Filoména', + 'Ivana', + 'Milada', + + ]; + + protected static $lastNameMale = [ + 'Sloboda', + 'Novotný', + 'Kučera', + 'Veselý', + 'Horák', + 'Marek', + 'Pokorný', + 'Král', + 'Růžička', + 'Zeman', + 'Kolár', + 'Urban', + 'Bartoš', + 'Vlček', + 'Polák', + 'Kopecký', + 'Konečný', + 'Malý', + 'Holub', + 'Abrahám', + 'Adam', + 'Adamec', + 'Almáši', + 'Anderle', + 'Antal', + 'Babka', + 'Bahna', + 'Bahno', + 'Bajnok', + 'Balaša', + 'Balog', + 'Balogh', + 'Baláž', + 'Baran', + 'Baranka', + 'Bartovič', + 'Bartoš', + 'Bača', + 'Beck', + 'Beihofner', + 'Bella', + 'Beran', + 'Bernolák', + 'Beňo', + 'Bicek', + 'Bielik', + 'Biringer', + 'Blaho', + 'Bondra', + 'Bosák', + 'Boška', + 'Brezina', + 'Bugár', + 'Buš', + 'Chalupka', + 'Chudík', + 'Cyprich', + 'Cíger', + 'Dacej', + 'Danko', + 'Debnár', + 'Dej', + 'Dekýš', + 'Doležal', + 'Dostál', + 'Dočolomanský', + 'Drajna', + 'Droppa', + 'Dubovský', + 'Dudek', + 'Dula', + 'Dulla', + 'Dusík', + 'Dvonč', + 'Dzurjanin', + 'Dávid', + 'Fabian', + 'Fabián', + 'Fajnor', + 'Farkašovský', + 'Feldek', + 'Fico', + 'Filc', + 'Filip', + 'Finka', + 'Ftorek', + 'Galis', + 'Gallo', + 'Gašpar', + 'Gašparovič', + 'Gocník', + 'Golonka', + 'Greguš', + 'Grznár', + 'Hablák', + 'Habšuda', + 'Haluška', + 'Halák', + 'Hanko', + 'Hanzal', + 'Hanzel', + 'Hanzel', + 'Haščák', + 'Heretik', + 'Hečko', + 'Hlaváček', + 'Hlinka', + 'Hochschorner', + 'Holub', + 'Holuby', + 'Horváth', + 'Hossa', + 'Hraško', + 'Hric', + 'Hrmo', + 'Hrušovský', + 'Huba', + 'Hudáček', + 'Hála', + 'Ihnačák', + 'Janoška', + 'Jantošovič', + 'Janík', + 'Jonata', + 'Jurina', + 'Jurík', + 'Jáni', + 'Jánošík', + 'Kaliský', + 'Karul', + 'Karvaš', + 'Keníž', + 'Klapka', + 'Klaus', + 'Kolník', + 'Konstantinidis', + 'Korec', + 'Kostrec', + 'Kováč', + 'Kováčik', + 'Koza', + 'Kubík', + 'Kučera', + 'Labuda', + 'Langoš', + 'Lepšík', + 'Lexa', + 'Lintner', + 'Lubina', + 'Lukáč', + 'Lupták', + 'Líška', + 'Majeský', + 'Malachovský', + 'Malíšek', + 'Marián', + 'Masaryk', + 'Maslo', + 'Matiaško', + 'Medveď', + 'Menyhért', + 'Mečiar', + 'Mečíř', + 'Mikloško', + 'Mikulík', + 'Mikuš', + 'Mikúš', + 'Mišík', + 'Mojžiš', + 'Mokroš', + 'Molnár', + 'Moravčík', + 'Musil', + 'Mydlo', + 'Nagy', + 'Nemec', + 'Neruda', + 'Nezval', + 'Nitra', + 'Novák', + 'Nábělek', + 'Němec', + 'Obšut', + 'Otčenáš', + 'Pauko', + 'Pavlikovský', + 'Pavúk', + 'Pašek', + 'Paška', + 'Paško', + 'Pelikán', + 'Petrovický', + 'Petruška', + 'Plch', + 'Podhradská', + 'Podkonický', + 'Poliak', + 'Procházka', + 'Puskás', + 'Puškáš', + 'Raši', + 'Repiský', + 'Riszdorfer', + 'Romančík', + 'Rozenberg', + 'Rus', + 'Ružička', + 'Rúfus', + 'Růžička', + 'Samson', + 'Sedliak', + 'Senko', + 'Sidor', + 'Sklenka', + 'Skutecký', + 'Slašťan', + 'Sloboda', + 'Slobodník', + 'Slota', + 'Slovák', + 'Smrek', + 'Stodola', + 'Straka', + 'Szabó', + 'Sámel', + 'Sýkora', + 'Tatar', + 'Tatarka', + 'Tatár', + 'Tatárka', + 'Timko', + 'Tiso', + 'Tomeček', + 'Truben', + 'Turčok', + 'Tóth', + 'Uram', + 'Urblík', + 'Vajcík', + 'Valent', + 'Valuška', + 'Varga', + 'Vašíček', + 'Vesel', + 'Vico', + 'Višňovský', + 'Vydarený', + 'Weiss', + 'Zima', + 'Zimka', + 'Zipser', + 'Zátopek', + 'Zúbrik', + 'Čaplovič', + 'Čarnogurský', + 'Čierny', + 'Ďaďo', + 'Ďurica', + 'Ďuriš', + 'Šimonovič', + 'Škriniar', + 'Šouc', + 'Šoustal', + 'Štefan', + 'Štefanka', + 'Šulc', + 'Šurka', + 'Švehla', + 'Šťastný', + + ]; + + protected static $lastNameFemale = [ + 'Slobodová', + 'Novotná', + 'Čierna', + 'Kučerová', + 'Veselá', + 'Krajčíová', + 'Nemcová', + 'Králová', + 'Růžičková', + 'Fialová', + 'Zemanová', + 'Kolárová', + 'Kováčová', + 'Vlčková', + 'Poláková', + 'Kopecká', + 'Šimková', + 'Konečná', + 'Malá', + 'Holubová', + 'Staneková', + 'Šťastná', + 'Vargová', + 'Tóthová', + 'Horváthová', + 'Balážová', + 'Szabová', + 'Molnárová', + 'Balogová', + 'Lukáčová', + 'Vícenová', + 'Ringlóciová', + 'Popovičová', + 'Hulmanová', + 'Zelenayová', + 'Fingerlandová', + 'Králiková', + 'Kapustová', + 'Hantuchová', + 'Holéczyová', + 'Butvínová', + 'Oslejová', + 'Radičová', + 'Sárová', + 'Sobotková', + 'Kažimírová', + 'Plšková', + 'Jakubová', + 'Šindlerová', + 'Ondrejková', + 'Slobodníková', + 'Sadloňová', + 'Černá', + 'Nosková', + 'Virčíková', + 'Taliánová', + 'Čuntalová', + 'Oťapková', + 'Zuzulová', + 'Godolová', + 'Gonová', + 'Jančová', + 'Kocúrová', + 'Svobodová', + 'Oravcová', + 'Muráriková', + 'Holubová', + 'Kubáňová', + 'Ondrišová', + 'Šoltisová', + 'Molnárová', + 'Rezníčková', + 'Dubníčková', + 'Karolčíková', + 'Máliková', + 'Malíková', + 'Litajová', + 'Kolrusová', + 'Košíková', + 'Kušnírová', + 'Kravjarová', + 'Hotová', + 'Hajzerová', + 'Ferjenčíková', + 'Senková', + 'Adamcová', + 'Pirošová', + 'Šimonová', + 'Finková', + 'Hrdá', + 'Murčová', + ]; + + protected static $title = [ + 'Bc.', + 'Ing.', + 'MUDr.', + 'MVDr.', + 'Mgr.', + 'JUDr.', + 'PhDr.', + 'RNDr.', + 'doc.', + 'Dr.', + 'BcA.', + 'ICDr.', + 'Ing.', + 'Ing. arch.', + 'JUDr.', + 'Mgr. art.', + 'MSDr.', + 'PaedDr.', + 'PharmDr.', + 'PhDr.', + 'PhMr.', + 'RNDr.', + 'RSDr.', + 'ThDr.', + 'ThLic.', + 'prof.', + 'Dr. h. c.', + ]; + + private static $suffix = [ + 'CSc.', + 'DrSc.', + 'DSc.', + 'Ph.D.', + 'Th.D.', + ]; + + public function title( $gender = null ) { + return static::titleMale(); + } + + /** + * replaced by specific unisex slovakian title + */ + public static function titleMale() { + return static::randomElement( static::$title ); + } + + /** + * replaced by specific unisex slovakian title + */ + public static function titleFemale() { + return static::titleMale(); + } + + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Novotný' + */ + public function lastName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::lastNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::lastNameFemale(); + } + + return $this->generator->parse( static::randomElement( static::$lastNameFormat ) ); + } + + public static function lastNameMale() { + return static::randomElement( static::$lastNameMale ); + } + + public static function lastNameFemale() { + return static::randomElement( static::$lastNameFemale ); + } + + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/PhoneNumber.php index bd195e4..52756aa 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sk_SK/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sk_SK/PhoneNumber.php @@ -2,14 +2,13 @@ namespace Faker\Provider\sk_SK; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+421 ### ### ###', - '00421 ### ### ###', - '#### ### ###', - '00421#########', - '+421#########', - '########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+421 ### ### ###', + '00421 ### ### ###', + '#### ### ###', + '00421#########', + '+421#########', + '########', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Address.php index e84a6ff..06aa5a2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Address.php @@ -2,105 +2,524 @@ namespace Faker\Provider\sl_SI; -class Address extends \Faker\Provider\Address -{ - /** - * @see http://www.rtvslo.si/strani/abecedni-seznam-obcin/3103 - */ - protected static $city = [ - 'Ajdovščina', 'Apače', 'Beltinci', 'Benedikt', 'Bistrica ob Sotli', 'Bled', 'Bloke', 'Bohinj', 'Borovnica', 'Bovec', - 'Braslovče', 'Brda', 'Brezovica', 'Brežice', 'Cankova', 'Celje', 'Cerklje na Gorenjskem', 'Cerknica', 'Cerkno', - 'Cerkvenjak', 'Cirkulane', 'Destrnik', 'Divača', 'Dobje', 'Dobrepolje', 'Dobrna', 'Dobrova - Polhov Gradec', 'Dobrovnik', - 'Dol pri Ljubljani', 'Dolenjske Toplice', 'Domžale', 'Dornava', 'Dravograd', 'Duplek', 'Gorenja vas - Poljane', - 'Gorišnica', 'Gorje', 'Gornja Radgona', 'Gornji Grad', 'Gornji Petrovci', 'Grad', 'Grosuplje', 'Hajdina', 'Hodoš', - 'Horjul', 'Hoče - Slivnica', 'Hrastnik', 'Hrpelje - Kozina', 'Idrija', 'Ig', 'Ilirska Bistrica', 'Ivančna Gorica', - 'Izola', 'Jesenice', 'Jezersko', 'Juršinci', 'Kamnik', 'Kanal ob Soči', 'Kidričevo', 'Kobarid', 'Kobilje', 'Komen', - 'Komenda', 'Koper', 'Kostanjevica na Krki', 'Kostel', 'Kozje', 'Kočevje', 'Kranj', 'Kranjska Gora', 'Križevci', 'Krško', - 'Kungota', 'Kuzma', 'Laško', 'Lenart', 'Lendava', 'Litija', 'Ljubljana', 'Ljubno', 'Ljutomer', 'Log - Dragomer', 'Logatec', - 'Lovrenc na Pohorju', 'Loška Dolina', 'Loški Potok', 'Lukovica', 'Luče', 'Majšperk', 'Makole', 'Maribor', 'Markovci', - 'Medvode', 'Mengeš', 'Metlika', 'Mežica', 'Miklavž na Dravskem polju', 'Miren - Kostanjevica', 'Mirna Peč', 'Mislinja', - 'Mokronog - Trebelno', 'Moravske Toplice', 'Moravče', 'Mozirje', 'Murska Sobota', 'Muta', 'Naklo', 'Nazarje', 'Nova Gorica', - 'Novo mesto', 'Odranci', 'Oplotnica', 'Ormož', 'Osilnica', 'Pesnica', 'Piran', 'Pivka', 'Podlehnik', 'Podvelka', - 'Podčetrtek', 'Poljčane', 'Polzela', 'Postojna', 'Prebold', 'Preddvor', 'Prevalje', 'Ptuj', 'Puconci', 'Radenci', 'Radeče', - 'Radlje ob Dravi', 'Radovljica', 'Ravne na Koroškem', 'Razkrižje', 'Rače - Fram', 'Renče - Vogrsko', 'Rečica ob Savinji', - 'Ribnica na Pohorju', 'Ribnica', 'Rogatec', 'Rogaška Slatina', 'Rogašovci', 'Ruše', 'Selnica ob Dravi', 'Semič', 'Sevnica', - 'Sežana', 'Slovenj Gradec', 'Slovenska Bistrica', 'Slovenske Konjice', 'Sodražica', 'Solčava', 'Središče ob Dravi', 'Starše', - 'Straža', 'Sveta Ana', 'Sveta Trojica v Slovenskih goricah', 'Sveti Andraž v Slovenskih goricah', 'Sveti Jurij ob Ščavnici', - 'Sveti Jurij v Slovenskih goricah', 'Sveti Tomaž', 'Tabor', 'Tišina', 'Tolmin', 'Trbovlje', 'Trebnje', 'Trnovska vas', - 'Trzin', 'Tržič', 'Turnišče', 'Velenje', 'Velika Polana', 'Velike Lašče', 'Veržej', 'Videm', 'Vipava', 'Vitanje', 'Vodice', - 'Vojnik', 'Vransko', 'Vrhnika', 'Vuzenica', 'Zagorje ob Savi', 'Zavrč', 'Zreče', 'Črenšovci', 'Črna na Koroškem', 'Črnomelj', - 'Šalovci', 'Šempeter - Vrtojba', 'Šentilj', 'Šentjernej', 'Šentjur', 'Šentrupert', 'Šenčur', 'Škocjan', 'Škofja Loka', - 'Škofljica', 'Šmarje pri Jelšah', 'Šmarješke Toplice', 'Šmartno ob Paki', 'Šmartno pri Litiji', 'Šoštanj', 'Štore', 'Žalec', - 'Železniki', 'Žetale', 'Žiri', 'Žirovnica', 'Žužemberk', - ]; +class Address extends \Faker\Provider\Address { + /** + * @see http://www.rtvslo.si/strani/abecedni-seznam-obcin/3103 + */ + protected static $city = [ + 'Ajdovščina', + 'Apače', + 'Beltinci', + 'Benedikt', + 'Bistrica ob Sotli', + 'Bled', + 'Bloke', + 'Bohinj', + 'Borovnica', + 'Bovec', + 'Braslovče', + 'Brda', + 'Brezovica', + 'Brežice', + 'Cankova', + 'Celje', + 'Cerklje na Gorenjskem', + 'Cerknica', + 'Cerkno', + 'Cerkvenjak', + 'Cirkulane', + 'Destrnik', + 'Divača', + 'Dobje', + 'Dobrepolje', + 'Dobrna', + 'Dobrova - Polhov Gradec', + 'Dobrovnik', + 'Dol pri Ljubljani', + 'Dolenjske Toplice', + 'Domžale', + 'Dornava', + 'Dravograd', + 'Duplek', + 'Gorenja vas - Poljane', + 'Gorišnica', + 'Gorje', + 'Gornja Radgona', + 'Gornji Grad', + 'Gornji Petrovci', + 'Grad', + 'Grosuplje', + 'Hajdina', + 'Hodoš', + 'Horjul', + 'Hoče - Slivnica', + 'Hrastnik', + 'Hrpelje - Kozina', + 'Idrija', + 'Ig', + 'Ilirska Bistrica', + 'Ivančna Gorica', + 'Izola', + 'Jesenice', + 'Jezersko', + 'Juršinci', + 'Kamnik', + 'Kanal ob Soči', + 'Kidričevo', + 'Kobarid', + 'Kobilje', + 'Komen', + 'Komenda', + 'Koper', + 'Kostanjevica na Krki', + 'Kostel', + 'Kozje', + 'Kočevje', + 'Kranj', + 'Kranjska Gora', + 'Križevci', + 'Krško', + 'Kungota', + 'Kuzma', + 'Laško', + 'Lenart', + 'Lendava', + 'Litija', + 'Ljubljana', + 'Ljubno', + 'Ljutomer', + 'Log - Dragomer', + 'Logatec', + 'Lovrenc na Pohorju', + 'Loška Dolina', + 'Loški Potok', + 'Lukovica', + 'Luče', + 'Majšperk', + 'Makole', + 'Maribor', + 'Markovci', + 'Medvode', + 'Mengeš', + 'Metlika', + 'Mežica', + 'Miklavž na Dravskem polju', + 'Miren - Kostanjevica', + 'Mirna Peč', + 'Mislinja', + 'Mokronog - Trebelno', + 'Moravske Toplice', + 'Moravče', + 'Mozirje', + 'Murska Sobota', + 'Muta', + 'Naklo', + 'Nazarje', + 'Nova Gorica', + 'Novo mesto', + 'Odranci', + 'Oplotnica', + 'Ormož', + 'Osilnica', + 'Pesnica', + 'Piran', + 'Pivka', + 'Podlehnik', + 'Podvelka', + 'Podčetrtek', + 'Poljčane', + 'Polzela', + 'Postojna', + 'Prebold', + 'Preddvor', + 'Prevalje', + 'Ptuj', + 'Puconci', + 'Radenci', + 'Radeče', + 'Radlje ob Dravi', + 'Radovljica', + 'Ravne na Koroškem', + 'Razkrižje', + 'Rače - Fram', + 'Renče - Vogrsko', + 'Rečica ob Savinji', + 'Ribnica na Pohorju', + 'Ribnica', + 'Rogatec', + 'Rogaška Slatina', + 'Rogašovci', + 'Ruše', + 'Selnica ob Dravi', + 'Semič', + 'Sevnica', + 'Sežana', + 'Slovenj Gradec', + 'Slovenska Bistrica', + 'Slovenske Konjice', + 'Sodražica', + 'Solčava', + 'Središče ob Dravi', + 'Starše', + 'Straža', + 'Sveta Ana', + 'Sveta Trojica v Slovenskih goricah', + 'Sveti Andraž v Slovenskih goricah', + 'Sveti Jurij ob Ščavnici', + 'Sveti Jurij v Slovenskih goricah', + 'Sveti Tomaž', + 'Tabor', + 'Tišina', + 'Tolmin', + 'Trbovlje', + 'Trebnje', + 'Trnovska vas', + 'Trzin', + 'Tržič', + 'Turnišče', + 'Velenje', + 'Velika Polana', + 'Velike Lašče', + 'Veržej', + 'Videm', + 'Vipava', + 'Vitanje', + 'Vodice', + 'Vojnik', + 'Vransko', + 'Vrhnika', + 'Vuzenica', + 'Zagorje ob Savi', + 'Zavrč', + 'Zreče', + 'Črenšovci', + 'Črna na Koroškem', + 'Črnomelj', + 'Šalovci', + 'Šempeter - Vrtojba', + 'Šentilj', + 'Šentjernej', + 'Šentjur', + 'Šentrupert', + 'Šenčur', + 'Škocjan', + 'Škofja Loka', + 'Škofljica', + 'Šmarje pri Jelšah', + 'Šmarješke Toplice', + 'Šmartno ob Paki', + 'Šmartno pri Litiji', + 'Šoštanj', + 'Štore', + 'Žalec', + 'Železniki', + 'Žetale', + 'Žiri', + 'Žirovnica', + 'Žužemberk', + ]; - protected static $buildingNumber = ['%##', '%#', '%#', '%#', '%#', '%']; + protected static $buildingNumber = [ '%##', '%#', '%#', '%#', '%#', '%' ]; - protected static $postcode = ['###0']; + protected static $postcode = [ '###0' ]; - /** - * Most common street names in Slovenia - * - * @see http://www.stat.si/krajevnaimena/pregledi_ulice_najpogostejse.asp - * @see http://www.stat.si/KrajevnaImena/pregledi_naselja_najpogostejsa.asp - */ - protected static $street = [ - 'Šolska ulica', 'Prešernova ulica', 'Cankarjeva ulica', 'Vrtna ulica', 'Gregorčičeva ulica', 'Kajuhova ulica', 'Prečna ulica', - 'Levstikova ulica', 'Trubarjeva ulica', 'Mladinska ulica', 'Gubčeva ulica', 'Ljubljanska cesta', 'Partizanska ulica', 'Maistrova ulica', - 'Rožna ulica', 'Bevkova ulica', 'Jurčičeva ulica', 'Župančičeva ulica', 'Kolodvorska ulica', 'Partizanska cesta', 'Gasilska ulica', - 'Kidričeva ulica', 'Aškerčeva ulica', 'Kratka ulica', 'Nova ulica', 'Obrtniška ulica', 'Tomšičeva ulica', 'Cvetlična ulica', - 'Mariborska cesta', 'Ob potoku', 'Trg svobode', 'Ulica talcev', 'Kettejeva ulica', 'Kosovelova ulica', 'Finžgarjeva ulica', 'Ob gozdu', - 'Stara cesta', 'Vegova ulica', 'Prežihova ulica', 'Sončna ulica', + /** + * Most common street names in Slovenia + * + * @see http://www.stat.si/krajevnaimena/pregledi_ulice_najpogostejse.asp + * @see http://www.stat.si/KrajevnaImena/pregledi_naselja_najpogostejsa.asp + */ + protected static $street = [ + 'Šolska ulica', + 'Prešernova ulica', + 'Cankarjeva ulica', + 'Vrtna ulica', + 'Gregorčičeva ulica', + 'Kajuhova ulica', + 'Prečna ulica', + 'Levstikova ulica', + 'Trubarjeva ulica', + 'Mladinska ulica', + 'Gubčeva ulica', + 'Ljubljanska cesta', + 'Partizanska ulica', + 'Maistrova ulica', + 'Rožna ulica', + 'Bevkova ulica', + 'Jurčičeva ulica', + 'Župančičeva ulica', + 'Kolodvorska ulica', + 'Partizanska cesta', + 'Gasilska ulica', + 'Kidričeva ulica', + 'Aškerčeva ulica', + 'Kratka ulica', + 'Nova ulica', + 'Obrtniška ulica', + 'Tomšičeva ulica', + 'Cvetlična ulica', + 'Mariborska cesta', + 'Ob potoku', + 'Trg svobode', + 'Ulica talcev', + 'Kettejeva ulica', + 'Kosovelova ulica', + 'Finžgarjeva ulica', + 'Ob gozdu', + 'Stara cesta', + 'Vegova ulica', + 'Prežihova ulica', + 'Sončna ulica', - 'Gradišče', 'Pristava', 'Brezje', 'Dolenja vas', 'Potok', 'Ravne', - 'Brdo', 'Dobrava', 'Draga', 'Javorje', 'Kal', 'Laze', 'Log', 'Planina', 'Podkraj', 'Selce', 'Trnovec', 'Bistrica', 'Gorenja vas', - 'Gorica', 'Lipa', 'Nova vas', 'Podgora', 'Podgorje', 'Podgrad', 'Ponikve', 'Sela', 'Selo', 'Škocjan', 'Vrh', - ]; + 'Gradišče', + 'Pristava', + 'Brezje', + 'Dolenja vas', + 'Potok', + 'Ravne', + 'Brdo', + 'Dobrava', + 'Draga', + 'Javorje', + 'Kal', + 'Laze', + 'Log', + 'Planina', + 'Podkraj', + 'Selce', + 'Trnovec', + 'Bistrica', + 'Gorenja vas', + 'Gorica', + 'Lipa', + 'Nova vas', + 'Podgora', + 'Podgorje', + 'Podgrad', + 'Ponikve', + 'Sela', + 'Selo', + 'Škocjan', + 'Vrh', + ]; - /** - * @see http://sl.wikipedia.org/wiki/Seznam_suverenih_držav - */ - protected static $country = [ - 'Afganistan', 'Albanija', 'Alžirija', 'Andora', 'Angola', 'Antigva in Barbuda', 'Argentina', 'Armenija', 'Avstralija', 'Avstrija', - 'Azerbajdžan', 'Bahami', 'Bahrajn', 'Bangladeš', 'Barbados', 'Belgija', 'Belize', 'Belorusija', 'Benin', 'Bocvana', 'Bolgarija', - 'Bolivija', 'Bosna in Hercegovina', 'Brazilija', 'Brunej', 'Burkina Faso', 'Burundi', 'Butan', 'Ciper', 'Čad', 'Češka', 'Čile', - 'Črna gora', 'Danska', 'Dominika', 'Dominikanska republika', 'Džibuti', 'Egipt', 'Ekvador', 'Ekvatorialna Gvineja', 'Eritreja', - 'Estonija', 'Etiopija', 'Fidži', 'Filipini', 'Finska', 'Francija', 'Gabon', 'Gambija', 'Gana', 'Grčija', 'Grenada', 'Gruzija', - 'Gvajana', 'Gvatemala', 'Gvineja', 'Gvineja Bissau', 'Haiti', 'Honduras', 'Hrvaška', 'Indija', 'Indonezija', 'Irak', 'Iran', 'Irska', - 'Islandija', 'Italija', 'Izrael', 'Jamajka', 'Japonska', 'Jemen', 'Jordanija', 'Južna Afrika', 'Južna Koreja', 'Kambodža', 'Kamerun', - 'Kanada', 'Katar', 'Kazahstan', 'Kenija', 'Kirgizistan', 'Kiribati', 'Kitajska', 'Kolumbija', 'Komori', 'Kongo', 'Demokratična republika Kongo', - 'Kostarika', 'Kuba', 'Kuvajt', 'Laos', 'Latvija', 'Lesoto', 'Libanon', 'Liberija', 'Libija', 'Lihtenštajn', 'Litva', 'Luksemburg', 'Madagaskar', - 'Madžarska', 'Makedonija', 'Malavi', 'Maldivi', 'Malezija', 'Mali', 'Malta', 'Maroko', 'Marshallovi otoki', 'Mauritius', 'Mavretanija', 'Mehika', - 'Mikronezija', 'Mjanmar', 'Moldavija', 'Monako', 'Mongolija', 'Mozambik', 'Namibija', 'Nauru', 'Nemčija', 'Nepal', 'Niger', 'Nigerija', - 'Nikaragva', 'Nizozemska', 'Norveška', 'Nova Zelandija', 'Oman', 'Pakistan', 'Palau', 'Panama', 'Papua Nova Gvineja', 'Paragvaj', 'Peru', - 'Poljska', 'Portugalska', 'Romunija', 'Ruanda', 'Rusija', 'Saint Kitts in Nevis', 'Saint Lucia', 'Saint Vincent in Grenadine', - 'Salomonovi otoki', 'Salvador', 'San Marino', 'Sao Tome in Principe', 'Saudova Arabija', 'Sejšeli', 'Senegal', 'Severna Koreja', 'Sierra Leone', - 'Singapur', 'Sirija', 'Slonokoščena obala', 'Slovaška', 'Slovenija', 'Somalija', 'Srbija', 'Srednjeafriška republika', 'Sudan', 'Surinam', - 'Svazi', 'Španija', 'Šrilanka', 'Švedska', 'Švica', 'Tadžikistan', 'Tajska', 'Tajvan', 'Tanzanija', 'Togo', 'Tonga', 'Trinidad in Tobago', - 'Tunizija', 'Turčija', 'Turkmenistan', 'Tuvalu', 'Uganda', 'Ukrajina', 'Urugvaj', 'Uzbekistan', 'Vanuatu', 'Vatikan', 'Velika Britanija', - 'Venezuela', 'Vietnam', 'Vzhodni Timor', 'Zahodna Samoa', 'Zambija', 'Združene države Amerike', 'Združeni arabski emirati', - 'Zelenortski otoki', 'Zimbabve', - ]; + /** + * @see http://sl.wikipedia.org/wiki/Seznam_suverenih_držav + */ + protected static $country = [ + 'Afganistan', + 'Albanija', + 'Alžirija', + 'Andora', + 'Angola', + 'Antigva in Barbuda', + 'Argentina', + 'Armenija', + 'Avstralija', + 'Avstrija', + 'Azerbajdžan', + 'Bahami', + 'Bahrajn', + 'Bangladeš', + 'Barbados', + 'Belgija', + 'Belize', + 'Belorusija', + 'Benin', + 'Bocvana', + 'Bolgarija', + 'Bolivija', + 'Bosna in Hercegovina', + 'Brazilija', + 'Brunej', + 'Burkina Faso', + 'Burundi', + 'Butan', + 'Ciper', + 'Čad', + 'Češka', + 'Čile', + 'Črna gora', + 'Danska', + 'Dominika', + 'Dominikanska republika', + 'Džibuti', + 'Egipt', + 'Ekvador', + 'Ekvatorialna Gvineja', + 'Eritreja', + 'Estonija', + 'Etiopija', + 'Fidži', + 'Filipini', + 'Finska', + 'Francija', + 'Gabon', + 'Gambija', + 'Gana', + 'Grčija', + 'Grenada', + 'Gruzija', + 'Gvajana', + 'Gvatemala', + 'Gvineja', + 'Gvineja Bissau', + 'Haiti', + 'Honduras', + 'Hrvaška', + 'Indija', + 'Indonezija', + 'Irak', + 'Iran', + 'Irska', + 'Islandija', + 'Italija', + 'Izrael', + 'Jamajka', + 'Japonska', + 'Jemen', + 'Jordanija', + 'Južna Afrika', + 'Južna Koreja', + 'Kambodža', + 'Kamerun', + 'Kanada', + 'Katar', + 'Kazahstan', + 'Kenija', + 'Kirgizistan', + 'Kiribati', + 'Kitajska', + 'Kolumbija', + 'Komori', + 'Kongo', + 'Demokratična republika Kongo', + 'Kostarika', + 'Kuba', + 'Kuvajt', + 'Laos', + 'Latvija', + 'Lesoto', + 'Libanon', + 'Liberija', + 'Libija', + 'Lihtenštajn', + 'Litva', + 'Luksemburg', + 'Madagaskar', + 'Madžarska', + 'Makedonija', + 'Malavi', + 'Maldivi', + 'Malezija', + 'Mali', + 'Malta', + 'Maroko', + 'Marshallovi otoki', + 'Mauritius', + 'Mavretanija', + 'Mehika', + 'Mikronezija', + 'Mjanmar', + 'Moldavija', + 'Monako', + 'Mongolija', + 'Mozambik', + 'Namibija', + 'Nauru', + 'Nemčija', + 'Nepal', + 'Niger', + 'Nigerija', + 'Nikaragva', + 'Nizozemska', + 'Norveška', + 'Nova Zelandija', + 'Oman', + 'Pakistan', + 'Palau', + 'Panama', + 'Papua Nova Gvineja', + 'Paragvaj', + 'Peru', + 'Poljska', + 'Portugalska', + 'Romunija', + 'Ruanda', + 'Rusija', + 'Saint Kitts in Nevis', + 'Saint Lucia', + 'Saint Vincent in Grenadine', + 'Salomonovi otoki', + 'Salvador', + 'San Marino', + 'Sao Tome in Principe', + 'Saudova Arabija', + 'Sejšeli', + 'Senegal', + 'Severna Koreja', + 'Sierra Leone', + 'Singapur', + 'Sirija', + 'Slonokoščena obala', + 'Slovaška', + 'Slovenija', + 'Somalija', + 'Srbija', + 'Srednjeafriška republika', + 'Sudan', + 'Surinam', + 'Svazi', + 'Španija', + 'Šrilanka', + 'Švedska', + 'Švica', + 'Tadžikistan', + 'Tajska', + 'Tajvan', + 'Tanzanija', + 'Togo', + 'Tonga', + 'Trinidad in Tobago', + 'Tunizija', + 'Turčija', + 'Turkmenistan', + 'Tuvalu', + 'Uganda', + 'Ukrajina', + 'Urugvaj', + 'Uzbekistan', + 'Vanuatu', + 'Vatikan', + 'Velika Britanija', + 'Venezuela', + 'Vietnam', + 'Vzhodni Timor', + 'Zahodna Samoa', + 'Zambija', + 'Združene države Amerike', + 'Združeni arabski emirati', + 'Zelenortski otoki', + 'Zimbabve', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; - protected static $addressFormats = [ - '{{streetAddress}}\n {{postcode}}\n {{cityName}}', - ]; + protected static $addressFormats = [ + '{{streetAddress}}\n {{postcode}}\n {{cityName}}', + ]; - public static function cityName() - { - return static::randomElement(static::$city); - } + public static function cityName() { + return static::randomElement( static::$city ); + } - public function streetName() - { - return static::randomElement(static::$street); - } + public function streetName() { + return static::randomElement( static::$street ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Company.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Company.php index ef73521..ea95a0d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Company.php @@ -2,13 +2,12 @@ namespace Faker\Provider\sl_SI; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{firstName}} {{lastName}} s.p.', - '{{lastName}} {{companySuffix}}', - '{{lastName}}, {{lastName}} in {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{firstName}} {{lastName}} s.p.', + '{{lastName}} {{companySuffix}}', + '{{lastName}}, {{lastName}} in {{lastName}} {{companySuffix}}', + ]; - protected static $companySuffix = ['d.o.o.', 'd.d.', 'k.d.', 'k.d.d.', 'd.n.o.', 'so.p.']; + protected static $companySuffix = [ 'd.o.o.', 'd.d.', 'k.d.', 'k.d.d.', 'd.n.o.', 'so.p.' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Internet.php index 319fa42..1e31eb4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Internet.php @@ -2,9 +2,16 @@ namespace Faker\Provider\sl_SI; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'gmail.com', 'gmail.com', 'hotmail.com', 'yahoo.com', 'siol.net', 't-2.net']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'gmail.com', + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'siol.net', + 't-2.net' + ]; - protected static $tld = ['si', 'si', 'si', 'si', 'eu', 'com', 'info', 'net', 'org']; + protected static $tld = [ 'si', 'si', 'si', 'si', 'eu', 'com', 'info', 'net', 'org' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Payment.php index fe655a6..406debc 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sl_SI; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'SI', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'SI', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Person.php index 20a2946..ee35d18 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/Person.php @@ -2,148 +2,754 @@ namespace Faker\Provider\sl_SI; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{title}} {{firstNameMale}} {{lastName}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{title}} {{firstNameMale}} {{lastName}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{title}} {{firstNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{title}} {{firstNameFemale}} {{lastName}}', + ]; - /** - * @see http://www.stat.si/imena_top_imena_spol.asp?r=True - * @see http://www.stat.si/doc/vsebina/05/imena/TOPIMENA_SI.xlsx - */ - protected static $firstNameMale = [ - 'Adam', 'Albert', 'Albin', 'Aleks', 'Aleksandar', 'Aleksander', 'Aleksej', 'Alen', - 'Alex', 'Aleš', 'Aljaž', 'Aljoša', 'Alojz', 'Alojzij', 'Andraž', 'Andrej', 'Anej', 'Anton', - 'Anže', 'Avgust', 'Ažbe', 'Benjamin', 'Bernard', 'Bine', 'Blaž', 'Bogdan', 'Bogomir', - 'Bojan', 'Bor', 'Boris', 'Borut', 'Boštjan', 'Božidar', 'Branko', 'Brin', 'Bruno', 'Ciril', - 'Cvetko', 'Damijan', 'Damir', 'Damjan', 'Daniel', 'Danijel', 'Danilo', 'Darko', 'David', - 'Davor', 'Davorin', 'Dejan', 'Denis', 'Domen', 'Dominik', 'Dragan', 'Drago', 'Dušan', - 'Edin', 'Edvard', 'Elvis', 'Emil', 'Enej', 'Erazem', 'Erik', 'Ernest', 'Ervin', - 'Ferdinand', 'Filip', 'Franc', 'Franci', 'Franjo', 'Frančišek', 'Gaber', 'Gabriel', 'Gal', - 'Gašper', 'Goran', 'Gorazd', 'Grega', 'Gregor', 'Hasan', 'Ian', 'Ignac', 'Igor', 'Ivan', - 'Ivo', 'Izak', 'Izidor', 'Iztok', 'Jaka', 'Jakob', 'Jan', 'Janez', 'Jani', 'Janko', - 'Jasmin', 'Jaša', 'Jernej', 'Jon', 'Josip', 'Joško', 'Jošt', 'Jože', 'Jožef', 'Jure', - 'Jurij', 'Karel', 'Karl', 'Kevin', 'Klemen', 'Kristijan', 'Kristjan', 'Ladislav', 'Lan', - 'Lenart', 'Leon', 'Leopold', 'Liam', 'Lovro', 'Ludvik', 'Luka', 'Lukas', 'Mai', 'Maj', - 'Maks', 'Maksimiljan', 'Marcel', 'Marijan', 'Mario', 'Marjan', 'Mark', 'Marko', 'Martin', - 'Matej', 'Matevž', 'Matic', 'Matija', 'Matjaž', 'Max', 'Metod', 'Miha', 'Mihael', 'Milan', - 'Miloš', 'Miran', 'Mirko', 'Miro', 'Miroslav', 'Mirsad', 'Mitja', 'Mladen', 'Nace', 'Nal', - 'Nejc', 'Nenad', 'Nik', 'Niko', 'Nikola', 'Nikolaj', 'Nino', 'Oskar', 'Ožbej', 'Patrik', - 'Pavel', 'Petar', 'Peter', 'Primož', 'Rado', 'Radovan', 'Rafael', 'Rajko', 'Renato', - 'Rene', 'Robert', 'Rok', 'Roman', 'Rudi', 'Rudolf', 'Samir', 'Samo', 'Sandi', 'Saša', - 'Sašo', 'Sebastijan', 'Sebastjan', 'Senad', 'Sergej', 'Silvester', 'Silvo', 'Simon', - 'Slavko', 'Slobodan', 'Srečko', 'Stanislav', 'Stanko', 'Staš', 'Stjepan', 'Stojan', 'Svit', - 'Tadej', 'Tai', 'Taj', 'Tarik', 'Teo', 'Tevž', 'Tian', 'Tilen', 'Tim', 'Timotej', 'Tine', - 'Tjaš', 'Tomaž', 'Tomislav', 'Tristan', 'Urban', 'Uroš', 'Val', 'Valentin', 'Valter', - 'Vid', 'Viktor', 'Viljem', 'Vincenc', 'Vinko', 'Vito', 'Vladimir', 'Vlado', 'Vojko', - 'Zdenko', 'Zdravko', 'Zlatko', 'Zoran', 'Zvonko', 'Štefan', 'Žak', 'Žan', 'Željko', 'Žiga', - ]; + /** + * @see http://www.stat.si/imena_top_imena_spol.asp?r=True + * @see http://www.stat.si/doc/vsebina/05/imena/TOPIMENA_SI.xlsx + */ + protected static $firstNameMale = [ + 'Adam', + 'Albert', + 'Albin', + 'Aleks', + 'Aleksandar', + 'Aleksander', + 'Aleksej', + 'Alen', + 'Alex', + 'Aleš', + 'Aljaž', + 'Aljoša', + 'Alojz', + 'Alojzij', + 'Andraž', + 'Andrej', + 'Anej', + 'Anton', + 'Anže', + 'Avgust', + 'Ažbe', + 'Benjamin', + 'Bernard', + 'Bine', + 'Blaž', + 'Bogdan', + 'Bogomir', + 'Bojan', + 'Bor', + 'Boris', + 'Borut', + 'Boštjan', + 'Božidar', + 'Branko', + 'Brin', + 'Bruno', + 'Ciril', + 'Cvetko', + 'Damijan', + 'Damir', + 'Damjan', + 'Daniel', + 'Danijel', + 'Danilo', + 'Darko', + 'David', + 'Davor', + 'Davorin', + 'Dejan', + 'Denis', + 'Domen', + 'Dominik', + 'Dragan', + 'Drago', + 'Dušan', + 'Edin', + 'Edvard', + 'Elvis', + 'Emil', + 'Enej', + 'Erazem', + 'Erik', + 'Ernest', + 'Ervin', + 'Ferdinand', + 'Filip', + 'Franc', + 'Franci', + 'Franjo', + 'Frančišek', + 'Gaber', + 'Gabriel', + 'Gal', + 'Gašper', + 'Goran', + 'Gorazd', + 'Grega', + 'Gregor', + 'Hasan', + 'Ian', + 'Ignac', + 'Igor', + 'Ivan', + 'Ivo', + 'Izak', + 'Izidor', + 'Iztok', + 'Jaka', + 'Jakob', + 'Jan', + 'Janez', + 'Jani', + 'Janko', + 'Jasmin', + 'Jaša', + 'Jernej', + 'Jon', + 'Josip', + 'Joško', + 'Jošt', + 'Jože', + 'Jožef', + 'Jure', + 'Jurij', + 'Karel', + 'Karl', + 'Kevin', + 'Klemen', + 'Kristijan', + 'Kristjan', + 'Ladislav', + 'Lan', + 'Lenart', + 'Leon', + 'Leopold', + 'Liam', + 'Lovro', + 'Ludvik', + 'Luka', + 'Lukas', + 'Mai', + 'Maj', + 'Maks', + 'Maksimiljan', + 'Marcel', + 'Marijan', + 'Mario', + 'Marjan', + 'Mark', + 'Marko', + 'Martin', + 'Matej', + 'Matevž', + 'Matic', + 'Matija', + 'Matjaž', + 'Max', + 'Metod', + 'Miha', + 'Mihael', + 'Milan', + 'Miloš', + 'Miran', + 'Mirko', + 'Miro', + 'Miroslav', + 'Mirsad', + 'Mitja', + 'Mladen', + 'Nace', + 'Nal', + 'Nejc', + 'Nenad', + 'Nik', + 'Niko', + 'Nikola', + 'Nikolaj', + 'Nino', + 'Oskar', + 'Ožbej', + 'Patrik', + 'Pavel', + 'Petar', + 'Peter', + 'Primož', + 'Rado', + 'Radovan', + 'Rafael', + 'Rajko', + 'Renato', + 'Rene', + 'Robert', + 'Rok', + 'Roman', + 'Rudi', + 'Rudolf', + 'Samir', + 'Samo', + 'Sandi', + 'Saša', + 'Sašo', + 'Sebastijan', + 'Sebastjan', + 'Senad', + 'Sergej', + 'Silvester', + 'Silvo', + 'Simon', + 'Slavko', + 'Slobodan', + 'Srečko', + 'Stanislav', + 'Stanko', + 'Staš', + 'Stjepan', + 'Stojan', + 'Svit', + 'Tadej', + 'Tai', + 'Taj', + 'Tarik', + 'Teo', + 'Tevž', + 'Tian', + 'Tilen', + 'Tim', + 'Timotej', + 'Tine', + 'Tjaš', + 'Tomaž', + 'Tomislav', + 'Tristan', + 'Urban', + 'Uroš', + 'Val', + 'Valentin', + 'Valter', + 'Vid', + 'Viktor', + 'Viljem', + 'Vincenc', + 'Vinko', + 'Vito', + 'Vladimir', + 'Vlado', + 'Vojko', + 'Zdenko', + 'Zdravko', + 'Zlatko', + 'Zoran', + 'Zvonko', + 'Štefan', + 'Žak', + 'Žan', + 'Željko', + 'Žiga', + ]; - /** - * @see http://www.stat.si/imena_top_imena_spol.asp?r=True - * @see http://www.stat.si/doc/vsebina/05/imena/TOPIMENA_SI.xlsx - */ - protected static $firstNameFemale = [ - 'Ajda', 'Ajla', 'Albina', 'Aleksandra', 'Alenka', 'Alina', 'Alja', 'Alojzija', 'Amalija', - 'Ana Marija', 'Ana', 'Andreja', 'Andrejka', 'Aneja', 'Angela', 'Anica', 'Anika', 'Anita', - 'Anja', 'Anka', 'Antonija', 'Barbara', 'Bernarda', 'Blanka', 'Bojana', 'Branka', 'Breda', - 'Brigita', 'Brina', 'Cecilija', 'Cvetka', 'Damjana', 'Danica', 'Daniela', 'Danijela', - 'Darinka', 'Darja', 'Daša', 'Doroteja', 'Dragica', 'Dušanka', 'Ela', 'Elena', 'Elizabeta', - 'Ella', 'Ema', 'Emilija', 'Erika', 'Erna', 'Eva', 'Frančiška', 'Gabrijela', 'Gaja', - 'Gloria', 'Gordana', 'Hana', 'Hedvika', 'Helena', 'Hermina', 'Ida', 'Ines', 'Inja', - 'Irena', 'Iris', 'Irma', 'Iva', 'Ivana', 'Ivanka', 'Ivica', 'Iza', 'Izabela', 'Jana', - 'Janja', 'Jasmina', 'Jasna', 'Jelena', 'Jelka', 'Jerca', 'Jerneja', 'Jolanda', 'Jožefa', - 'Jožica', 'Julia', 'Julija', 'Julijana', 'Justina', 'Kaja', 'Karin', 'Karmen', 'Karolina', - 'Katarina', 'Katja', 'Kiara', 'Kim', 'Klara', 'Klavdija', 'Kristina', 'Ksenija', 'Lana', - 'Lara', 'Larisa', 'Laura', 'Lea', 'Leja', 'Lejla', 'Lia', 'Lidija', 'Lili', 'Lilijana', - 'Liljana', 'Lina', 'Liza', 'Ljubica', 'Ljudmila', 'Loti', 'Lucija', 'Luna', 'Magda', - 'Magdalena', 'Maja', 'Majda', 'Manca', 'Marica', 'Marija', 'Marijana', 'Marina', 'Marinka', - 'Marjana', 'Marjanca', 'Marjeta', 'Marjetka', 'Marta', 'Martina', 'Maruša', 'Mateja', - 'Matilda', 'Maša', 'Melita', 'Meta', 'Metka', 'Mia', 'Mihaela', 'Mija', 'Mila', 'Milena', - 'Milica', 'Milka', 'Mira', 'Mirjam', 'Mirjana', 'Miroslava', 'Mojca', 'Monika', 'Nada', - 'Nadja', 'Naja', 'Nastja', 'Natalija', 'Nataša', 'Neja', 'Neli', 'Nevenka', 'Neža', 'Nika', - 'Nikolina', 'Nina', 'Nives', 'Nuša', 'Olga', 'Patricija', 'Pavla', 'Petra', 'Pia', 'Pika', - 'Polona', 'Polonca', 'Rebeka', 'Renata', 'Romana', 'Rozalija', 'Sabina', 'Sandra', 'Sanja', - 'Sara', 'Saša', 'Silva', 'Simona', 'Slavica', 'Slavka', 'Sofia', 'Sofija', 'Sonja', - 'Stanislava', 'Stanka', 'Stela', 'Suzana', 'Tadeja', 'Taja', 'Tajda', 'Tamara', 'Tanja', - 'Tara', 'Tatjana', 'Tea', 'Teja', 'Terezija', 'Tia', 'Tiana', 'Tija', 'Tina', 'Tinkara', - 'Tisa', 'Tjaša', 'Ula', 'Urša', 'Urška', 'Valentina', 'Valerija', 'Vanja', 'Vera', - 'Veronika', 'Vesna', 'Vida', 'Viktorija', 'Vita', 'Vlasta', 'Zala', 'Zara', 'Zarja', - 'Zdenka', 'Zlatka', 'Zofija', 'Zoja', 'Zora', 'Zvonka', 'Špela', 'Štefanija', 'Štefka', - 'Žana', 'Živa', - ]; + /** + * @see http://www.stat.si/imena_top_imena_spol.asp?r=True + * @see http://www.stat.si/doc/vsebina/05/imena/TOPIMENA_SI.xlsx + */ + protected static $firstNameFemale = [ + 'Ajda', + 'Ajla', + 'Albina', + 'Aleksandra', + 'Alenka', + 'Alina', + 'Alja', + 'Alojzija', + 'Amalija', + 'Ana Marija', + 'Ana', + 'Andreja', + 'Andrejka', + 'Aneja', + 'Angela', + 'Anica', + 'Anika', + 'Anita', + 'Anja', + 'Anka', + 'Antonija', + 'Barbara', + 'Bernarda', + 'Blanka', + 'Bojana', + 'Branka', + 'Breda', + 'Brigita', + 'Brina', + 'Cecilija', + 'Cvetka', + 'Damjana', + 'Danica', + 'Daniela', + 'Danijela', + 'Darinka', + 'Darja', + 'Daša', + 'Doroteja', + 'Dragica', + 'Dušanka', + 'Ela', + 'Elena', + 'Elizabeta', + 'Ella', + 'Ema', + 'Emilija', + 'Erika', + 'Erna', + 'Eva', + 'Frančiška', + 'Gabrijela', + 'Gaja', + 'Gloria', + 'Gordana', + 'Hana', + 'Hedvika', + 'Helena', + 'Hermina', + 'Ida', + 'Ines', + 'Inja', + 'Irena', + 'Iris', + 'Irma', + 'Iva', + 'Ivana', + 'Ivanka', + 'Ivica', + 'Iza', + 'Izabela', + 'Jana', + 'Janja', + 'Jasmina', + 'Jasna', + 'Jelena', + 'Jelka', + 'Jerca', + 'Jerneja', + 'Jolanda', + 'Jožefa', + 'Jožica', + 'Julia', + 'Julija', + 'Julijana', + 'Justina', + 'Kaja', + 'Karin', + 'Karmen', + 'Karolina', + 'Katarina', + 'Katja', + 'Kiara', + 'Kim', + 'Klara', + 'Klavdija', + 'Kristina', + 'Ksenija', + 'Lana', + 'Lara', + 'Larisa', + 'Laura', + 'Lea', + 'Leja', + 'Lejla', + 'Lia', + 'Lidija', + 'Lili', + 'Lilijana', + 'Liljana', + 'Lina', + 'Liza', + 'Ljubica', + 'Ljudmila', + 'Loti', + 'Lucija', + 'Luna', + 'Magda', + 'Magdalena', + 'Maja', + 'Majda', + 'Manca', + 'Marica', + 'Marija', + 'Marijana', + 'Marina', + 'Marinka', + 'Marjana', + 'Marjanca', + 'Marjeta', + 'Marjetka', + 'Marta', + 'Martina', + 'Maruša', + 'Mateja', + 'Matilda', + 'Maša', + 'Melita', + 'Meta', + 'Metka', + 'Mia', + 'Mihaela', + 'Mija', + 'Mila', + 'Milena', + 'Milica', + 'Milka', + 'Mira', + 'Mirjam', + 'Mirjana', + 'Miroslava', + 'Mojca', + 'Monika', + 'Nada', + 'Nadja', + 'Naja', + 'Nastja', + 'Natalija', + 'Nataša', + 'Neja', + 'Neli', + 'Nevenka', + 'Neža', + 'Nika', + 'Nikolina', + 'Nina', + 'Nives', + 'Nuša', + 'Olga', + 'Patricija', + 'Pavla', + 'Petra', + 'Pia', + 'Pika', + 'Polona', + 'Polonca', + 'Rebeka', + 'Renata', + 'Romana', + 'Rozalija', + 'Sabina', + 'Sandra', + 'Sanja', + 'Sara', + 'Saša', + 'Silva', + 'Simona', + 'Slavica', + 'Slavka', + 'Sofia', + 'Sofija', + 'Sonja', + 'Stanislava', + 'Stanka', + 'Stela', + 'Suzana', + 'Tadeja', + 'Taja', + 'Tajda', + 'Tamara', + 'Tanja', + 'Tara', + 'Tatjana', + 'Tea', + 'Teja', + 'Terezija', + 'Tia', + 'Tiana', + 'Tija', + 'Tina', + 'Tinkara', + 'Tisa', + 'Tjaša', + 'Ula', + 'Urša', + 'Urška', + 'Valentina', + 'Valerija', + 'Vanja', + 'Vera', + 'Veronika', + 'Vesna', + 'Vida', + 'Viktorija', + 'Vita', + 'Vlasta', + 'Zala', + 'Zara', + 'Zarja', + 'Zdenka', + 'Zlatka', + 'Zofija', + 'Zoja', + 'Zora', + 'Zvonka', + 'Špela', + 'Štefanija', + 'Štefka', + 'Žana', + 'Živa', + ]; - /** - * @see http://www.stat.si/imena_top_priimki.asp?r=True - */ - protected static $lastName = [ - 'Ambrožič', 'Babič', 'Bajc', 'Bergant', 'Bevc', 'Bezjak', 'Bizjak', 'Blatnik', 'Blažič', - 'Bogataj', 'Božič', 'Bregar', 'Breznik', 'Bukovec', 'Cerar', 'Cvetko', 'Debeljak', - 'Demšar', 'Dolenc', 'Dolinar', 'Dolinšek', 'Erjavec', 'Eržen', 'Filipič', 'Fras', 'Furlan', - 'Gajšek', 'Godec', 'Golob', 'Gomboc', 'Gorenc', 'Gorjup', 'Gregorič', 'Hafner', 'Hodžić', - 'Horvat', 'Hozjan', 'Hočevar', 'Hren', 'Hribar', 'Hribernik', 'Hrovat', 'Humar', 'Ilić', - 'Ivančič', 'Jamnik', 'Janežič', 'Jarc', 'Javornik', 'Jazbec', 'Jelen', 'Jenko', 'Jereb', - 'Jerič', 'Jerman', 'Jovanović', 'Jug', 'Kalan', 'Kastelic', 'Kaučič', 'Kavčič', - 'Klemenčič', 'Knez', 'Kobal', 'Kocjančič', 'Kodrič', 'Kokalj', 'Kokol', 'Kolar', 'Kolarič', - 'Kolenc', 'Koren', 'Korošec', 'Kos', 'Kosi', 'Kotnik', 'Kovač', 'Kovačević', 'Kovačič', - 'Kočevar', 'Košir', 'Koželj', 'Krajnc', 'Kralj', 'Kramar', 'Kramberger', 'Kranjc', - 'Kranjec', 'Kristan', 'Krivec', 'Kuhar', 'Kumer', 'Lah', 'Lavrič', 'Lazar', 'Leban', - 'Lebar', 'Lesjak', 'Leskovar', 'Lešnik', 'Likar', 'Logar', 'Majcen', 'Marković', - 'Markovič', 'Marolt', 'Mavrič', 'Maček', 'Medved', 'Meglič', 'Mihelič', 'Miklavčič', - 'Mlakar', 'Mlinar', 'Mlinarič', 'Mohorič', 'Močnik', 'Mrak', 'Nemec', 'Nikolić', 'Novak', - 'Oblak', 'Pavlin', 'Pavlič', 'Perko', 'Petek', 'Petrič', 'Petrović', 'Petrovič', 'Pečnik', - 'Pintar', 'Pintarič', 'Pirc', 'Pirnat', 'Podgoršek', 'Pogačar', 'Pogačnik', 'Popović', - 'Potočnik', 'Povše', 'Primožič', 'Pušnik', 'Rajh', 'Ramšak', 'Resnik', 'Ribič', 'Rozman', - 'Rožič', 'Rožman', 'Rupnik', 'Rus', 'Rutar', 'Savić', 'Sever', 'Simonič', 'Sitar', 'Skok', - 'Smrekar', 'Stopar', 'Sušnik', 'Tavčar', 'Tomažič', 'Tomšič', 'Toplak', 'Tratnik', 'Trček', - 'Turk', 'Uršič', 'Vidic', 'Vidmar', 'Vidovič', 'Vodopivec', 'Volk', 'Vovk', 'Zadravec', - 'Zajc', 'Zakrajšek', 'Zalar', 'Zalokar', 'Založnik', 'Zemljič', 'Zorko', 'Zorman', 'Zupan', - 'Zupanc', 'Zupančič', 'Zver', 'Čeh', 'Černe', 'Čuk', 'Šinkovec', 'Škof', 'Šmid', - 'Štrukelj', 'Šuštar', 'Žagar', 'Železnik', 'Žibert', 'Žižek', 'Žnidaršič', - ]; + /** + * @see http://www.stat.si/imena_top_priimki.asp?r=True + */ + protected static $lastName = [ + 'Ambrožič', + 'Babič', + 'Bajc', + 'Bergant', + 'Bevc', + 'Bezjak', + 'Bizjak', + 'Blatnik', + 'Blažič', + 'Bogataj', + 'Božič', + 'Bregar', + 'Breznik', + 'Bukovec', + 'Cerar', + 'Cvetko', + 'Debeljak', + 'Demšar', + 'Dolenc', + 'Dolinar', + 'Dolinšek', + 'Erjavec', + 'Eržen', + 'Filipič', + 'Fras', + 'Furlan', + 'Gajšek', + 'Godec', + 'Golob', + 'Gomboc', + 'Gorenc', + 'Gorjup', + 'Gregorič', + 'Hafner', + 'Hodžić', + 'Horvat', + 'Hozjan', + 'Hočevar', + 'Hren', + 'Hribar', + 'Hribernik', + 'Hrovat', + 'Humar', + 'Ilić', + 'Ivančič', + 'Jamnik', + 'Janežič', + 'Jarc', + 'Javornik', + 'Jazbec', + 'Jelen', + 'Jenko', + 'Jereb', + 'Jerič', + 'Jerman', + 'Jovanović', + 'Jug', + 'Kalan', + 'Kastelic', + 'Kaučič', + 'Kavčič', + 'Klemenčič', + 'Knez', + 'Kobal', + 'Kocjančič', + 'Kodrič', + 'Kokalj', + 'Kokol', + 'Kolar', + 'Kolarič', + 'Kolenc', + 'Koren', + 'Korošec', + 'Kos', + 'Kosi', + 'Kotnik', + 'Kovač', + 'Kovačević', + 'Kovačič', + 'Kočevar', + 'Košir', + 'Koželj', + 'Krajnc', + 'Kralj', + 'Kramar', + 'Kramberger', + 'Kranjc', + 'Kranjec', + 'Kristan', + 'Krivec', + 'Kuhar', + 'Kumer', + 'Lah', + 'Lavrič', + 'Lazar', + 'Leban', + 'Lebar', + 'Lesjak', + 'Leskovar', + 'Lešnik', + 'Likar', + 'Logar', + 'Majcen', + 'Marković', + 'Markovič', + 'Marolt', + 'Mavrič', + 'Maček', + 'Medved', + 'Meglič', + 'Mihelič', + 'Miklavčič', + 'Mlakar', + 'Mlinar', + 'Mlinarič', + 'Mohorič', + 'Močnik', + 'Mrak', + 'Nemec', + 'Nikolić', + 'Novak', + 'Oblak', + 'Pavlin', + 'Pavlič', + 'Perko', + 'Petek', + 'Petrič', + 'Petrović', + 'Petrovič', + 'Pečnik', + 'Pintar', + 'Pintarič', + 'Pirc', + 'Pirnat', + 'Podgoršek', + 'Pogačar', + 'Pogačnik', + 'Popović', + 'Potočnik', + 'Povše', + 'Primožič', + 'Pušnik', + 'Rajh', + 'Ramšak', + 'Resnik', + 'Ribič', + 'Rozman', + 'Rožič', + 'Rožman', + 'Rupnik', + 'Rus', + 'Rutar', + 'Savić', + 'Sever', + 'Simonič', + 'Sitar', + 'Skok', + 'Smrekar', + 'Stopar', + 'Sušnik', + 'Tavčar', + 'Tomažič', + 'Tomšič', + 'Toplak', + 'Tratnik', + 'Trček', + 'Turk', + 'Uršič', + 'Vidic', + 'Vidmar', + 'Vidovič', + 'Vodopivec', + 'Volk', + 'Vovk', + 'Zadravec', + 'Zajc', + 'Zakrajšek', + 'Zalar', + 'Zalokar', + 'Založnik', + 'Zemljič', + 'Zorko', + 'Zorman', + 'Zupan', + 'Zupanc', + 'Zupančič', + 'Zver', + 'Čeh', + 'Černe', + 'Čuk', + 'Šinkovec', + 'Škof', + 'Šmid', + 'Štrukelj', + 'Šuštar', + 'Žagar', + 'Železnik', + 'Žibert', + 'Žižek', + 'Žnidaršič', + ]; - protected static $title = [ - 'dr.', 'mag.', 'inž.', 'univ. dipl.', 'dipl.', 'univ. dipl. inž.', 'dipl. inž.', 'prof.', 'akad.', 'dr. med.', 'spec.', - ]; + protected static $title = [ + 'dr.', + 'mag.', + 'inž.', + 'univ. dipl.', + 'dipl.', + 'univ. dipl. inž.', + 'dipl. inž.', + 'prof.', + 'akad.', + 'dr. med.', + 'spec.', + ]; - /** - * replaced by specific unisex slovenian title - */ - public function title($gender = null) - { - return static::randomElement(static::$title); - } + /** + * replaced by specific unisex slovenian title + */ + public function title( $gender = null ) { + return static::randomElement( static::$title ); + } - /** - * @param string|null $gender 'male', 'female' or null for any - * - * @example 'Novak' - */ - public function lastName($gender = null) - { - return static::randomElement(static::$lastName); - } + /** + * @param string|null $gender 'male', 'female' or null for any + * + * @example 'Novak' + */ + public function lastName( $gender = null ) { + return static::randomElement( static::$lastName ); + } - public static function lastNameMale() - { - return static::lastName(); - } + public static function lastNameMale() { + return static::lastName(); + } - public static function lastNameFemale() - { - return static::lastName(); - } + public static function lastNameFemale() { + return static::lastName(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/PhoneNumber.php index 11e553e..2e2428c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sl_SI/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sl_SI/PhoneNumber.php @@ -2,17 +2,16 @@ namespace Faker\Provider\sl_SI; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+386 ## ### ###', - '00386 ## ### ###', - '0## ### ###', - '00386########', - '+386########', - '0########', - '+386 # ### ####', - '00386 # ### ####', - '0# ### ####', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+386 ## ### ###', + '00386 ## ### ###', + '0## ### ###', + '00386########', + '+386########', + '0########', + '+386 # ### ####', + '00386 # ### ####', + '0# ### ####', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Address.php index d2fb7be..8356bf3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Address.php @@ -2,57 +2,334 @@ namespace Faker\Provider\sr_Cyrl_RS; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####']; - - protected static $streetPrefix = [ - 'Булевар', - ]; - - protected static $street = [ - 'Краља Милана', 'Цара Душана', 'Николе Тесле', 'Михајла Пупина', 'Николе Пашића', - ]; - - protected static $streetNameFormats = [ - '{{street}}', - '{{streetPrefix}} {{street}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - /** - * @see http://sr.wikipedia.org/wiki/%D0%93%D1%80%D0%B0%D0%B4%D0%BE%D0%B2%D0%B8_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 - */ - protected static $cityNames = [ - 'Београд', 'Ваљево', 'Врање', 'Зајечар', 'Зрењанин', 'Јагодина', 'Крагујевац', 'Краљево', 'Крушевац', 'Лесковац', 'Лозница', 'Ниш', 'Нови Пазар', 'Нови Сад', 'Панчево', 'Пожаревац', 'Приштина', 'Смедерево', 'Сомбор', 'Сремска Митровица', 'Суботица', 'Ужице', 'Чачак', 'Шабац', - ]; - - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Cyrl/country.php - */ - protected static $country = [ - 'Острво Асенсион', 'Андора', 'Уједињени Арапски Емирати', 'Авганистан', 'Антигве и Барбуда', 'Ангвила', 'Албанија', 'Арменија', 'Холандски Антили', 'Ангола', 'Антарктик', 'Аргентина', 'Америчка Самоа', 'Аустрија', 'Аустралија', 'Аруба', 'Аландска острва', 'Азербејџан', 'Босна и Херцеговина', 'Барбадос', 'Бангладеш', 'Белгија', 'Буркина Фасо', 'Бугарска', 'Бахреин', 'Бурунди', 'Бенин', 'Свети Бартоломеј', 'Бермуда', 'Брунеј', 'Боливија', 'Бразил', 'Бахами', 'Бутан', 'Буве Острва', 'Боцвана', 'Белорусија', 'Белизе', 'Канада', 'Кокос (Келинг) Острва', 'Конго - Киншаса', 'Централно Афричка Република', 'Конго - Бразавил', 'Швајцарска', 'Обала Слоноваче', 'Кукова Острва', 'Чиле', 'Камерун', 'Кина', 'Колумбија', 'Острво Клипертон', 'Костарика', 'Србија и Црна Гора', 'Куба', 'Капе Верде', 'Божићна острва', 'Кипар', 'Чешка', 'Немачка', 'Дијего Гарсија', 'Џибути', 'Данска', 'Доминика', 'Доминиканска Република', 'Алжир', 'Сеута и Мелиља', 'Еквадор', 'Естонија', 'Египат', 'Западна Сахара', 'Еритреја', 'Шпанија', 'Етиопија', 'Европска Унија', 'Финска', 'Фиџи', 'Фолкландска Острва', 'Микронезија', 'Фарска Острва', 'Француска', 'Габон', 'Велика Британија', 'Гренада', 'Грузија', 'Француска Гвајана', 'Гурнси', 'Гана', 'Гибралтар', 'Гренланд', 'Гамбија', 'Гвинеја', 'Гваделупе', 'Екваторијална Гвинеја', 'Грчка', 'Јужна Џорџија и Јужна Сендвич Острва', 'Гватемала', 'Гуам', 'Гвинеја-Бисао', 'Гвајана', 'Хонг Конг С. А. Р. Кина', 'Херд и Мекдоналд Острва', 'Хондурас', 'Хрватска', 'Хаити', 'Мађарска', 'Канарска острва', 'Индонезија', 'Ирска', 'Израел', 'Острво Ман', 'Индија', 'Британска територија у Индијском океану', 'Ирак', 'Иран', 'Исланд', 'Италија', 'Џерси', 'Јамајка', 'Јордан', 'Јапан', 'Кенија', 'Киргизстан', 'Камбоџа', 'Кирибати', 'Коморска Острва', 'Сент Китс и Невис', 'Северна Кореја', 'Јужна Кореја', 'Кувајт', 'Кајманска Острва', 'Казахстан', 'Лаос', 'Либан', 'Сент Луција', 'Лихтенштајн', 'Шри Ланка', 'Либерија', 'Лесото', 'Литванија', 'Луксембург', 'Летонија', 'Либија', 'Мароко', 'Монако', 'Молдавија', 'Црна Гора', 'Сент Мартин', 'Мадагаскар', 'Маршалска Острва', 'Македонија', 'Мали', 'Мијанмар [Бурма]', 'Монголија', 'Макао С. А. Р. Кина', 'Северна Маријанска Острва', 'Мартиник', 'Мауританија', 'Монсерат', 'Малта', 'Маурицијус', 'Малдиви', 'Малави', 'Мексико', 'Малезија', 'Мозамбик', 'Намибија', 'Нова Каледонија', 'Нигер', 'Норфолк Острво', 'Нигерија', 'Никарагва', 'Холандија', 'Норвешка', 'Непал', 'Науру', 'Ниуе', 'Нови Зеланд', 'Оман', 'Панама', 'Перу', 'Француска Полинезија', 'Папуа Нова Гвинеја', 'Филипини', 'Пакистан', 'Пољска', 'Сен Пјер и Микелон', 'Питкерн', 'Порто Рико', 'Палестинске територије', 'Португал', 'Палау', 'Парагвај', 'Катар', 'Остала океанија', 'Реинион', 'Румунија', 'Србија', 'Русија', 'Руанда', 'Саудијска Арабија', 'Соломонска Острва', 'Сејшели', 'Судан', 'Шведска', 'Сингапур', 'Света Јелена', 'Словенија', 'Свалбард и Јанмајен Острва', 'Словачка', 'Сијера Леоне', 'Сан Марино', 'Сенегал', 'Сомалија', 'Суринам', 'Сао Томе и Принципе', 'Салвадор', 'Сирија', 'Свазиленд', 'Тристан да Куња', 'Туркс и Кајкос Острва', 'Чад', 'Француске Јужне Територије', 'Того', 'Тајланд', 'Таџикистан', 'Токелау', 'Источни Тимор', 'Туркменистан', 'Тунис', 'Тонга', 'Турска', 'Тринидад и Тобаго', 'Тувалу', 'Тајван', 'Танзанија', 'Украјина', 'Уганда', 'Мања удаљена острва САД', 'Сједињене Америчке Државе', 'Уругвај', 'Узбекистан', 'Ватикан', 'Сент Винсент и Гренадини', 'Венецуела', 'Британска Девичанска Острва', 'С.А.Д. Девичанска Острва', 'Вијетнам', 'Вануату', 'Валис и Футуна Острва', 'Самоа', 'Јемен', 'Мајоте', 'Јужноафричка Република', 'Замбија', 'Зимбабве', - ]; - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } - - public function cityName() - { - return static::randomElement(static::$cityNames); - } +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####' ]; + + protected static $streetPrefix = [ + 'Булевар', + ]; + + protected static $street = [ + 'Краља Милана', + 'Цара Душана', + 'Николе Тесле', + 'Михајла Пупина', + 'Николе Пашића', + ]; + + protected static $streetNameFormats = [ + '{{street}}', + '{{streetPrefix}} {{street}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + /** + * @see http://sr.wikipedia.org/wiki/%D0%93%D1%80%D0%B0%D0%B4%D0%BE%D0%B2%D0%B8_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 + */ + protected static $cityNames = [ + 'Београд', + 'Ваљево', + 'Врање', + 'Зајечар', + 'Зрењанин', + 'Јагодина', + 'Крагујевац', + 'Краљево', + 'Крушевац', + 'Лесковац', + 'Лозница', + 'Ниш', + 'Нови Пазар', + 'Нови Сад', + 'Панчево', + 'Пожаревац', + 'Приштина', + 'Смедерево', + 'Сомбор', + 'Сремска Митровица', + 'Суботица', + 'Ужице', + 'Чачак', + 'Шабац', + ]; + + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Cyrl/country.php + */ + protected static $country = [ + 'Острво Асенсион', + 'Андора', + 'Уједињени Арапски Емирати', + 'Авганистан', + 'Антигве и Барбуда', + 'Ангвила', + 'Албанија', + 'Арменија', + 'Холандски Антили', + 'Ангола', + 'Антарктик', + 'Аргентина', + 'Америчка Самоа', + 'Аустрија', + 'Аустралија', + 'Аруба', + 'Аландска острва', + 'Азербејџан', + 'Босна и Херцеговина', + 'Барбадос', + 'Бангладеш', + 'Белгија', + 'Буркина Фасо', + 'Бугарска', + 'Бахреин', + 'Бурунди', + 'Бенин', + 'Свети Бартоломеј', + 'Бермуда', + 'Брунеј', + 'Боливија', + 'Бразил', + 'Бахами', + 'Бутан', + 'Буве Острва', + 'Боцвана', + 'Белорусија', + 'Белизе', + 'Канада', + 'Кокос (Келинг) Острва', + 'Конго - Киншаса', + 'Централно Афричка Република', + 'Конго - Бразавил', + 'Швајцарска', + 'Обала Слоноваче', + 'Кукова Острва', + 'Чиле', + 'Камерун', + 'Кина', + 'Колумбија', + 'Острво Клипертон', + 'Костарика', + 'Србија и Црна Гора', + 'Куба', + 'Капе Верде', + 'Божићна острва', + 'Кипар', + 'Чешка', + 'Немачка', + 'Дијего Гарсија', + 'Џибути', + 'Данска', + 'Доминика', + 'Доминиканска Република', + 'Алжир', + 'Сеута и Мелиља', + 'Еквадор', + 'Естонија', + 'Египат', + 'Западна Сахара', + 'Еритреја', + 'Шпанија', + 'Етиопија', + 'Европска Унија', + 'Финска', + 'Фиџи', + 'Фолкландска Острва', + 'Микронезија', + 'Фарска Острва', + 'Француска', + 'Габон', + 'Велика Британија', + 'Гренада', + 'Грузија', + 'Француска Гвајана', + 'Гурнси', + 'Гана', + 'Гибралтар', + 'Гренланд', + 'Гамбија', + 'Гвинеја', + 'Гваделупе', + 'Екваторијална Гвинеја', + 'Грчка', + 'Јужна Џорџија и Јужна Сендвич Острва', + 'Гватемала', + 'Гуам', + 'Гвинеја-Бисао', + 'Гвајана', + 'Хонг Конг С. А. Р. Кина', + 'Херд и Мекдоналд Острва', + 'Хондурас', + 'Хрватска', + 'Хаити', + 'Мађарска', + 'Канарска острва', + 'Индонезија', + 'Ирска', + 'Израел', + 'Острво Ман', + 'Индија', + 'Британска територија у Индијском океану', + 'Ирак', + 'Иран', + 'Исланд', + 'Италија', + 'Џерси', + 'Јамајка', + 'Јордан', + 'Јапан', + 'Кенија', + 'Киргизстан', + 'Камбоџа', + 'Кирибати', + 'Коморска Острва', + 'Сент Китс и Невис', + 'Северна Кореја', + 'Јужна Кореја', + 'Кувајт', + 'Кајманска Острва', + 'Казахстан', + 'Лаос', + 'Либан', + 'Сент Луција', + 'Лихтенштајн', + 'Шри Ланка', + 'Либерија', + 'Лесото', + 'Литванија', + 'Луксембург', + 'Летонија', + 'Либија', + 'Мароко', + 'Монако', + 'Молдавија', + 'Црна Гора', + 'Сент Мартин', + 'Мадагаскар', + 'Маршалска Острва', + 'Македонија', + 'Мали', + 'Мијанмар [Бурма]', + 'Монголија', + 'Макао С. А. Р. Кина', + 'Северна Маријанска Острва', + 'Мартиник', + 'Мауританија', + 'Монсерат', + 'Малта', + 'Маурицијус', + 'Малдиви', + 'Малави', + 'Мексико', + 'Малезија', + 'Мозамбик', + 'Намибија', + 'Нова Каледонија', + 'Нигер', + 'Норфолк Острво', + 'Нигерија', + 'Никарагва', + 'Холандија', + 'Норвешка', + 'Непал', + 'Науру', + 'Ниуе', + 'Нови Зеланд', + 'Оман', + 'Панама', + 'Перу', + 'Француска Полинезија', + 'Папуа Нова Гвинеја', + 'Филипини', + 'Пакистан', + 'Пољска', + 'Сен Пјер и Микелон', + 'Питкерн', + 'Порто Рико', + 'Палестинске територије', + 'Португал', + 'Палау', + 'Парагвај', + 'Катар', + 'Остала океанија', + 'Реинион', + 'Румунија', + 'Србија', + 'Русија', + 'Руанда', + 'Саудијска Арабија', + 'Соломонска Острва', + 'Сејшели', + 'Судан', + 'Шведска', + 'Сингапур', + 'Света Јелена', + 'Словенија', + 'Свалбард и Јанмајен Острва', + 'Словачка', + 'Сијера Леоне', + 'Сан Марино', + 'Сенегал', + 'Сомалија', + 'Суринам', + 'Сао Томе и Принципе', + 'Салвадор', + 'Сирија', + 'Свазиленд', + 'Тристан да Куња', + 'Туркс и Кајкос Острва', + 'Чад', + 'Француске Јужне Територије', + 'Того', + 'Тајланд', + 'Таџикистан', + 'Токелау', + 'Источни Тимор', + 'Туркменистан', + 'Тунис', + 'Тонга', + 'Турска', + 'Тринидад и Тобаго', + 'Тувалу', + 'Тајван', + 'Танзанија', + 'Украјина', + 'Уганда', + 'Мања удаљена острва САД', + 'Сједињене Америчке Државе', + 'Уругвај', + 'Узбекистан', + 'Ватикан', + 'Сент Винсент и Гренадини', + 'Венецуела', + 'Британска Девичанска Острва', + 'С.А.Д. Девичанска Острва', + 'Вијетнам', + 'Вануату', + 'Валис и Футуна Острва', + 'Самоа', + 'Јемен', + 'Мајоте', + 'Јужноафричка Република', + 'Замбија', + 'Зимбабве', + ]; + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } + + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Payment.php index 212fb5c..42bc19e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sr_Cyrl_RS; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'RS', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Person.php index 91a4695..587d35e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Cyrl_RS/Person.php @@ -2,241 +2,4547 @@ namespace Faker\Provider\sr_Cyrl_RS; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 - */ - protected static $firstNameMale = [ - 'Александар', 'Бобан', 'Бранислав', 'Владимир', 'Владислав', 'Горан', 'Далибор', 'Данило', 'Дејан', 'Драган', 'Душан', 'Живко', 'Зоран', - 'Иван', 'Иво', 'Константин', 'Лука', 'Максим', 'Мартин', 'Милан', 'Милко', 'Милош', 'Мирослав', 'Миша', 'Раде', - 'Саша', 'Слободан', 'Срђан', 'Станислав', 'Филип', - // below are unknown gender firstnames - 'Ђенадије', 'Ђоко', 'Ђорђе', 'Ђорђије', 'Ђорђо', 'Ђука', 'Ђукан', 'Ђура', 'Ђурашин', 'Ђурађ', 'Ђурисав', 'Ђурисава', 'Ђурица', - 'Ђурко', 'Ђуро', 'Ђурђа', 'Ђурђе', 'Ђурђевка', 'Ђурђица', 'Ђурђија', 'Јаблан', 'Јаворка', 'Јаворко', 'Јагода', 'Јагодинка', - 'Јагош', 'Јадранка', 'Јадранко', 'Јаков', 'Јакша', 'Јана', 'Јандре', 'Јандрија', 'Јанићије', 'Јанко', 'Јановка', 'Јанча', - 'Јарослав', 'Јасен', 'Јасенко', 'Јасмина', 'Јасминка', 'Јасна', 'Јања', 'Јевдокија', 'Јеврем', 'Јевросима', 'Јевта', 'Јевтан', - 'Јевтимије', 'Јевто', 'Језда', 'Јездимир', 'Јека', 'Јела', 'Јелача', 'Јелашин', 'Јелен', 'Јелена', 'Јеленка', 'Јеленко', - 'Јелисава', 'Јелисавета', 'Јелисавка', 'Јелисије', 'Јелица', 'Јелка', 'Јеремија', 'Јерко', 'Јеротије', 'Јефимија', 'Јеша', 'Јова', - 'Јован', 'Јованка', 'Јовица', 'Јовиша', 'Јовка', 'Јовко', 'Јово', 'Јоко', 'Јоксим', 'Јоргованка', 'Јордан', 'Јорданка', - 'Јосиф', 'Југомир', 'Југослав', 'Југољуб', 'Јулија', 'Јулијан', 'Јулијана', 'Јулка', 'Јуноша', 'Јуриша', 'Јустин', 'Љепава', - 'Љепосава', 'Љиља', 'Љиљан', 'Љиљана', 'Љуба', 'Љубан', 'Љубен', 'Љубенко', 'Љубивоје', 'Љубинка', 'Љубинко', 'Љубисав', - 'Љубислав', 'Љубица', 'Љубиша', 'Љубо', 'Љубобрат', 'Љубодраг', 'Љубомир', 'Љубомирка', 'Љубосава', 'Љубоја', 'Љубоје', 'Љупка', - 'Његомир', 'Његомирка', 'Његослава', 'Његош', 'Ћерана', 'Ћира', 'Ћирило', 'Ћирко', 'Ћиро', 'Ћирјак', 'Авакум', 'Аврам', - 'Агница', 'Агнија', 'Адам', 'Аделина', 'Аксентије', 'Алекса', 'Александрон', 'Алексеј', 'Алексија', 'Алексије', 'Алимпије', 'Ана', - 'Анастасија', 'Анда', 'Андреј', 'Андреја', 'Андрија', 'Андријана', 'Андријаш', 'Аница', 'Анка', 'Анкица', 'Антоније', 'Анђа', - 'Анђела', 'Анђелија', 'Анђелка', 'Анђелко', 'Аранђел', 'Арса', 'Арсен', 'Арсеније', 'Арсо', 'Атанасије', 'Атанацко', 'Аћим', - 'Балша', 'Бане', 'Батрић', 'Бајко', 'Бајо', 'Бајчета', 'Берисав', 'Берислав', 'Бериша', 'Берко', 'Бисенија', 'Бисерка', - 'Бисерко', 'Биљан', 'Благица', 'Благиња', 'Благомир', 'Благота', 'Благојa', 'Благоје', 'Блажа', 'Блажен', 'Блаженка', 'Блажо', - 'Блашко', 'Богдан', 'Богдана', 'Богданка', 'Богељ', 'Богиша', 'Богић', 'Богобој', 'Богосав', 'Богослав', 'Богоје', 'Богољуб', - 'Божа', 'Божана', 'Божидар', 'Божидарка', 'Божин', 'Божинка', 'Божица', 'Божићко', 'Божо', 'Боин', 'Боица', 'Бора', - 'Боривој', 'Боривоје', 'Борис', 'Борисав', 'Борислав', 'Борислава', 'Бориславка', 'Бориша', 'Борка', 'Борко', 'Боро', 'Бороје', - 'Борјана', 'Борјанка', 'Боса', 'Босиљка', 'Бошко', 'Бојан', 'Бојана', 'Бојко', 'Бојо', 'Бојчета', 'Бранивој', 'Бранивоје', - 'Бранимир', 'Бранислава', 'Бранка', 'Бранкица', 'Бранко', 'Брано', 'Братимир', 'Братислав', 'Братислава', 'Братован', 'Братољуб', 'Брајан', - 'Брајица', 'Брнча', 'Будимир', 'Будимирка', 'Будимка', 'Будисав', 'Будислав', 'Валерија', 'Варвара', 'Васа', 'Василија', 'Василије', - 'Василка', 'Васиљ', 'Васиљка', 'Васко', 'Васкрсија', 'Васкрсије', 'Васо', 'Васоје', 'Вајо', 'Вања', 'Векослав', 'Велибор', - 'Велиборка', 'Велизар', 'Велимир', 'Велинка', 'Велисав', 'Велисава', 'Величко', 'Велиша', 'Вера', 'Веран', 'Верица', 'Верка', - 'Вероника', 'Верослава', 'Верољуб', 'Весела', 'Веселин', 'Веселинка', 'Веско', 'Весна', 'Вељко', 'Вид', 'Вида', 'Видак', - 'Видан', 'Видач', 'Виден', 'Видосав', 'Видосава', 'Видоја', 'Видоје', 'Видојка', 'Видојко', 'Виктор', 'Викторија', 'Вилотије', - 'Виолета', 'Витка', 'Витко', 'Витомир', 'Витомирка', 'Вишеслав', 'Вишеслава', 'Вишња', 'Вићан', 'Вићентије', 'Владан', 'Владана', - 'Владанка', 'Владе', 'Владета', 'Владимирка', 'Владисав', 'Владислава', 'Владица', 'Владо', 'Владоје', 'Владун', 'Влаислав', 'Власије', - 'Власта', 'Властимир', 'Властимирка', 'Влатка', 'Влатко', 'Влашко', 'Влајко', 'Воица', 'Војдраг', 'Војимир', 'Војин', 'Војислав', - 'Војислава', 'Војка', 'Војкан', 'Војко', 'Вранеш', 'Вугдраг', 'Вузман', 'Вуило', 'Вуин', 'Вуица', 'Вук', 'Вукадин', - 'Вукало', 'Вукан', 'Вукана', 'Вукас', 'Вукац', 'Вукач', 'Вукашин', 'Вукајло', 'Вукаљ', 'Вукеља', 'Вукица', 'Вукић', - 'Вукман', 'Вукмир', 'Вукмира', 'Вукмиљ', 'Вуко', 'Вуковоје', 'Вукола', 'Вукоман', 'Вукомир', 'Вукосав', 'Вукосава', 'Вукослав', - 'Вукота', 'Вукоје', 'Вукојица', 'Вуксан', 'Вукша', 'Вуле', 'Вулета', 'Вунко', 'Вуча', 'Вучан', 'Вучен', 'Вучета', - 'Вучина', 'Вучић', 'Вучко', 'Вујадин', 'Вујадинка', 'Вујак', 'Вујан', 'Вујана', 'Вујета', 'Вујка', 'Вујко', 'Вујо', - 'Вујчета', 'Вујчин', 'Вјекослав', 'Гавра', 'Гаврила', 'Гаврилка', 'Гаврило', 'Гача', 'Гаја', 'Гајин', 'Гајо', 'Гвозден', - 'Гвозденија', 'Гвозденко', 'Генадије', 'Георгина', 'Георгије', 'Герасим', 'Герман', 'Глигорије', 'Глиша', 'Глишо', 'Годеч', 'Годомир', - 'Голуб', 'Горана', 'Горанка', 'Гордан', 'Гордана', 'Горица', 'Горчин', 'Горјана', 'Госпава', 'Гостимир', 'Гостољуб', 'Гојко', - 'Градета', 'Градимир', 'Градиша', 'Гргур', 'Грдан', 'Григорије', 'Гријак', 'Грозда', 'Гроздан', 'Гроздана', 'Грубан', 'Грубац', - 'Грубач', 'Грубета', 'Грубеша', 'Грубиша', 'Груја', 'Грујица', 'Грујо', 'Дабижив', 'Дабиша', 'Дабо', 'Давид', 'Даворка', - 'Далиборка', 'Дамјан', 'Дамјанка', 'Дамљан', 'Дамљанка', 'Дана', 'Дане', 'Даница', 'Данијел', 'Данка', 'Данко', 'Данојла', - 'Данчул', 'Дара', 'Даринка', 'Дарио', 'Дарије', 'Даријо', 'Дарко', 'Дарјан', 'Дафина', 'Даша', 'Дева', 'Деса', - 'Десанка', 'Десимир', 'Деспина', 'Деспиња', 'Деспот', 'Дејана', 'Дивна', 'Дикосава', 'Димитрије', 'Димчо', 'Дмитар', 'Дмитра', - 'Добрашин', 'Добривој', 'Добривоје', 'Добрила', 'Добрило', 'Добринка', 'Добринко', 'Добрица', 'Добрија', 'Добровук', 'Добросав', 'Доброслав', - 'Докна', 'Доко', 'Доротеј', 'Доротеја', 'Доситеј', 'Достана', 'Дојчило', 'Дојчин', 'Драга', 'Драгаш', 'Драгица', 'Драгиша', - 'Драгија', 'Драгиња', 'Драгић', 'Драго', 'Драгобрат', 'Драгован', 'Драгоман', 'Драгомир', 'Драгомира', 'Драгорад', 'Драгосав', 'Драгослав', - 'Драгослава', 'Драгош', 'Драгоја', 'Драгоје', 'Драгојла', 'Драгојло', 'Драгољуб', 'Драгутин', 'Дража', 'Дражета', 'Дражо', 'Драило', - 'Дракша', 'Драшко', 'Дрена', 'Дренка', 'Дрина', 'Дринка', 'Дубравац', 'Дубравка', 'Дубравко', 'Дука', 'Дукадин', 'Душанка', - 'Душица', 'Душка', 'Душко', 'Дујак', 'Дуња', 'Ева', 'Евгенија', 'Евгеније', 'Евдокија', 'Евица', 'Емил', 'Емилија', - 'Емилијан', 'Емилије', 'Ерак', 'Жаклина', 'Жанка', 'Жарко', 'Желимир', 'Желимирка', 'Жељана', 'Жељка', 'Жељко', 'Жива', - 'Живадин', 'Живадинка', 'Живан', 'Живана', 'Живанка', 'Живанко', 'Живица', 'Живка', 'Живодарка', 'Живомир', 'Живорад', 'Живоратка', - 'Живослава', 'Живославка', 'Живота', 'Живојин', 'Живољуб', 'Жика', 'Жикица', 'Житомир', 'Завида', 'Завиша', 'Зага', 'Загорка', - 'Зарија', 'Зарије', 'Захарије', 'Звездан', 'Звездана', 'Звездодраг', 'Звездослав', 'Звонимир', 'Звонка', 'Звонко', 'Звјездан', 'Звјездана', - 'Здравиша', 'Здравко', 'Злата', 'Златан', 'Златана', 'Златибор', 'Златица', 'Златија', 'Златко', 'Златомир', 'Златомирка', 'Златосав', - 'Златоје', 'Зора', 'Зорана', 'Зорислава', 'Зорица', 'Зорка', 'Зринка', 'Зринко', 'Ива', 'Иваниш', 'Иванка', 'Ивица', - 'Ивка', 'Ивко', 'Ивона', 'Игор', 'Игњат', 'Игњатије', 'Иконија', 'Илинка', 'Илија', 'Исаило', 'Исаија', 'Исак', - 'Исидор', 'Исидора', 'Кадивка', 'Кажимир', 'Казимир', 'Казимира', 'Каменко', 'Касија', 'Ката', 'Катарина', 'Катица', 'Кипријан', - 'Кирило', 'Кована', 'Ковина', 'Ковиљка', 'Ковиљко', 'Козма', 'Кокан', 'Комнен', 'Комненија', 'Корнелије', 'Косана', 'Косара', - 'Косовка', 'Коста', 'Костадин', 'Костадинка', 'Коча', 'Коштана', 'Којадин', 'Којадинка', 'Којчин', 'Крагуј', 'Краисава', 'Красимир', - 'Красоје', 'Крајислав', 'Крајчин', 'Крсман', 'Крсманија', 'Крста', 'Крстан', 'Крстана', 'Крстивоје', 'Крстина', 'Крсто', 'Крунислав', - 'Крунослава', 'Ксенија', 'Кузман', 'Кумодраг', 'Лабуд', 'Лаза', 'Лазар', 'Лазо', 'Лака', 'Лакета', 'Лако', 'Лале', - 'Лана', 'Лара', 'Латинка', 'Лежимир', 'Лела', 'Лена', 'Ленка', 'Леонида', 'Леонора', 'Лепа', 'Лепомир', 'Лепосава', - 'Лепослав', 'Лепоје', 'Лидија', 'Лиза', 'Лила', 'Лилијана', 'Лозан', 'Луна', 'Луча', 'Лучија', 'Лујо', 'Маврен', - 'Малета', 'Малеш', 'Малина', 'Малинка', 'Манда', 'Мандуша', 'Мане', 'Манојло', 'Мара', 'Маринка', 'Маринко', 'Марица', - 'Марко', 'Марта', 'Марјан', 'Матеј', 'Матеја', 'Матија', 'Матијаш', 'Мато', 'Машан', 'Машко', 'Маја', 'Мајда', - 'Медак', 'Мила', 'Миладин', 'Миладија', 'Милак', 'Милана', 'Миланка', 'Миланко', 'Милат', 'Милаш', 'Милашин', 'Миле', - 'Милева', 'Милен', 'Миленко', 'Милентије', 'Милеса', 'Милета', 'Милеш', 'Миливој', 'Миливоје', 'Милин', 'Милина', 'Милинко', - 'Милисав', 'Милисава', 'Милисавка', 'Милија', 'Милијан', 'Милијана', 'Милијаш', 'Милић', 'Милка', 'Милкица', 'Мило', 'Милован', - 'Миломир', 'Милорад', 'Милосав', 'Милосава', 'Милосавка', 'Милоја', 'Милоје', 'Милојица', 'Милојка', 'Милојко', 'Милтен', 'Милука', - 'Милун', 'Милунка', 'Милутин', 'Милуш', 'Милуша', 'Миодраг', 'Миомир', 'Миомирка', 'Мира', 'Мирен', 'Мирка', 'Мирко', - 'Миро', 'Миросав', 'Миросава', 'Мирољуб', 'Мирчета', 'Мирјана', 'Митар', 'Митра', 'Михаило', 'Михајло', 'Мишко', 'Мишо', - 'Мишљен', 'Мија', 'Мијаило', 'Мијак', 'Мијан', 'Мијана', 'Мијат', 'Мијо', 'Мијобрат', 'Мијушко', 'Миљ', 'Миља', - 'Миљан', 'Миљен', 'Миљка', 'Миљко', 'Миљојко', 'Миљурко', 'Мића', 'Мићан', 'Мићо', 'Младен', 'Млађан', 'Млађен', - 'Момир', 'Момчило', 'Мојсило', 'Мркша', 'Мрђан', 'Мрђен', 'Нада', 'Надежда', 'Надица', 'Наталија', 'Наум', 'Нађа', - 'Најда', 'Најдан', 'Небојша', 'Невен', 'Невена', 'Невенка', 'Невенко', 'Негован', 'Негомир', 'Неда', 'Недељка', 'Недељко', - 'Немања', 'Ненад', 'Нестор', 'Нешко', 'Неђељка', 'Неђељко', 'Никашин', 'Никодим', 'Никодије', 'Никола', 'Николета', 'Николија', - 'Никша', 'Нина', 'Нинко', 'Нино', 'Нинослав', 'Нишава', 'Нићифор', 'Новак', 'Новица', 'Новиша', 'Новка', 'Новко', - 'Ново', 'Обрад', 'Обрадин', 'Обрадинка', 'Обрен', 'Обренија', 'Обренко', 'Обретен', 'Огњан', 'Огњана', 'Огњен', 'Озрен', - 'Озриша', 'Олга', 'Оливер', 'Оливера', 'Остоја', 'Оља', 'Пава', 'Павија', 'Павић', 'Павко', 'Павле', 'Павлија', - 'Павлић', 'Пантелија', 'Паун', 'Пауна', 'Пелагија', 'Пера', 'Перица', 'Периша', 'Перо', 'Перса', 'Персида', 'Перун', - 'Перунко', 'Петак', 'Петар', 'Петко', 'Петош', 'Петоје', 'Петра', 'Петрашин', 'Петрија', 'Петроније', 'Пејак', 'Пејо', - 'Плавша', 'Познан', 'Познана', 'Првослав', 'Предраг', 'Прерад', 'Прибић', 'Продан', 'Продана', 'Прокопије', 'Пунан', 'Пуниша', - 'Пуреш', 'Пурко', 'Пуро', 'Рада', 'Радак', 'Радан', 'Радана', 'Радас', 'Радашин', 'Раден', 'Раденко', 'Радета', - 'Радивој', 'Радивоје', 'Радин', 'Радинка', 'Радинко', 'Радисав', 'Радица', 'Радич', 'Радиша', 'Радман', 'Радмила', 'Радмило', - 'Радна', 'Радоба', 'Радобуд', 'Радован', 'Радовац', 'Радоман', 'Радомир', 'Радосав', 'Радослав', 'Радослава', 'Радота', 'Радош', - 'Радоја', 'Радоје', 'Радојица', 'Радојка', 'Радојко', 'Радојло', 'Радоња', 'Радука', 'Радукан', 'Радул', 'Радула', 'Радулин', - 'Радун', 'Радунка', 'Радусин', 'Раин', 'Раица', 'Раич', 'Раичко', 'Рален', 'Ралета', 'Ранисав', 'Ранка', 'Ранко', - 'Раосав', 'Растислав', 'Растко', 'Ратибор', 'Ратко', 'Ратомир', 'Рафаило', 'Рацко', 'Рачета', 'Рашко', 'Рађен', 'Рајак', - 'Рајан', 'Рајка', 'Рајко', 'Рајна', 'Рајчета', 'Рекула', 'Ресан', 'Реља', 'Риста', 'Ристан', 'Ристивоје', 'Ристо', - 'Родољуб', 'Роксанда', 'Роса', 'Ружа', 'Ружица', 'Сава', 'Савка', 'Савко', 'Саво', 'Саздана', 'Самуило', 'Сандра', - 'Сара', 'Сања', 'Светибор', 'Светислав', 'Светислава', 'Светозар', 'Светолик', 'Светомир', 'Светорад', 'Светољуб', 'Свјетлана', 'Секана', - 'Секула', 'Селак', 'Сима', 'Симана', 'Симеон', 'Симеун', 'Симеуна', 'Симка', 'Симо', 'Симон', 'Симонида', 'Синиша', - 'Синђа', 'Синђел', 'Скоросав', 'Скоросава', 'Славен', 'Славенко', 'Славица', 'Славиша', 'Славка', 'Славко', 'Славна', 'Славо', - 'Славомир', 'Славојка', 'Славољуб', 'Славуј', 'Сладоје', 'Слађан', 'Слађана', 'Слободанка', 'Смиља', 'Смиљан', 'Смиљана', 'Смиљка', - 'Смиљко', 'Смољан', 'Смољана', 'Смољка', 'Снежана', 'Сока', 'Соко', 'Софија', 'Спасенија', 'Спасоја', 'Спасоје', 'Спиридон', - 'Споменка', 'Србислав', 'Србијанка', 'Србослав', 'Србољуб', 'Срдан', 'Средоја', 'Средоје', 'Сретен', 'Сретко', 'Срећан', 'Срећко', - 'Срђа', 'Стака', 'Стамена', 'Стаменка', 'Стаменко', 'Стана', 'Станава', 'Станача', 'Станимир', 'Станисав', 'Станисава', 'Станислава', - 'Станица', 'Станиша', 'Станија', 'Станка', 'Станко', 'Станоја', 'Станоје', 'Станојка', 'Станојко', 'Станојла', 'Станојло', 'Сташа', - 'Стајка', 'Стеван', 'Стевица', 'Стево', 'Степан', 'Стефан', 'Стоин', 'Стоисава', 'Стоић', 'Стоја', 'Стојадин', 'Стојак', - 'Стојан', 'Стојана', 'Стојанка', 'Стојка', 'Стојко', 'Стојмен', 'Стојна', 'Стојша', 'Страиња', 'Страхиња', 'Стјепан', 'Сузана', - 'Сњежана', 'Тадеј', 'Тадија', 'Танасије', 'Танацко', 'Танкоса', 'Танкосава', 'Тара', 'Татомир', 'Татјана', 'Тајана', 'Твртко', - 'Теа', 'Теодор', 'Теодосије', 'Теофил', 'Тешан', 'Тимотије', 'Тихомир', 'Тијана', 'Тодор', 'Тодора', 'Тома', 'Томанија', - 'Томаш', 'Томислав', 'Томица', 'Томо', 'Топлица', 'Трајан', 'Трајко', 'Тривун', 'Трипко', 'Трипун', 'Трифун', 'Трпко', - 'Убавка', 'Угљеша', 'Умиљен', 'Уна', 'Урош', 'Утешен', 'Утјешен', 'Фема', 'Хвалимир', 'Хвалислав', 'Хранимир', 'Хранислав', - 'Хранислава', 'Храниша', 'Храстимир', 'Христијан', 'Христослав', 'Цвета', 'Цветин', 'Цветко', 'Цветош', 'Цветоје', 'Цвејан', 'Цвико', - 'Цвијан', 'Цвијета', 'Цвијетин', 'Цвјетко', 'Цвјетош', 'Цвјетоје', 'Цурко', 'Чарна', 'Часлав', 'Чедомир', 'Чубрило', 'Шакота', - 'Шале', 'Шана', 'Шуменко', 'Шутан', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 + */ + protected static $firstNameMale = [ + 'Александар', + 'Бобан', + 'Бранислав', + 'Владимир', + 'Владислав', + 'Горан', + 'Далибор', + 'Данило', + 'Дејан', + 'Драган', + 'Душан', + 'Живко', + 'Зоран', + 'Иван', + 'Иво', + 'Константин', + 'Лука', + 'Максим', + 'Мартин', + 'Милан', + 'Милко', + 'Милош', + 'Мирослав', + 'Миша', + 'Раде', + 'Саша', + 'Слободан', + 'Срђан', + 'Станислав', + 'Филип', + // below are unknown gender firstnames + 'Ђенадије', + 'Ђоко', + 'Ђорђе', + 'Ђорђије', + 'Ђорђо', + 'Ђука', + 'Ђукан', + 'Ђура', + 'Ђурашин', + 'Ђурађ', + 'Ђурисав', + 'Ђурисава', + 'Ђурица', + 'Ђурко', + 'Ђуро', + 'Ђурђа', + 'Ђурђе', + 'Ђурђевка', + 'Ђурђица', + 'Ђурђија', + 'Јаблан', + 'Јаворка', + 'Јаворко', + 'Јагода', + 'Јагодинка', + 'Јагош', + 'Јадранка', + 'Јадранко', + 'Јаков', + 'Јакша', + 'Јана', + 'Јандре', + 'Јандрија', + 'Јанићије', + 'Јанко', + 'Јановка', + 'Јанча', + 'Јарослав', + 'Јасен', + 'Јасенко', + 'Јасмина', + 'Јасминка', + 'Јасна', + 'Јања', + 'Јевдокија', + 'Јеврем', + 'Јевросима', + 'Јевта', + 'Јевтан', + 'Јевтимије', + 'Јевто', + 'Језда', + 'Јездимир', + 'Јека', + 'Јела', + 'Јелача', + 'Јелашин', + 'Јелен', + 'Јелена', + 'Јеленка', + 'Јеленко', + 'Јелисава', + 'Јелисавета', + 'Јелисавка', + 'Јелисије', + 'Јелица', + 'Јелка', + 'Јеремија', + 'Јерко', + 'Јеротије', + 'Јефимија', + 'Јеша', + 'Јова', + 'Јован', + 'Јованка', + 'Јовица', + 'Јовиша', + 'Јовка', + 'Јовко', + 'Јово', + 'Јоко', + 'Јоксим', + 'Јоргованка', + 'Јордан', + 'Јорданка', + 'Јосиф', + 'Југомир', + 'Југослав', + 'Југољуб', + 'Јулија', + 'Јулијан', + 'Јулијана', + 'Јулка', + 'Јуноша', + 'Јуриша', + 'Јустин', + 'Љепава', + 'Љепосава', + 'Љиља', + 'Љиљан', + 'Љиљана', + 'Љуба', + 'Љубан', + 'Љубен', + 'Љубенко', + 'Љубивоје', + 'Љубинка', + 'Љубинко', + 'Љубисав', + 'Љубислав', + 'Љубица', + 'Љубиша', + 'Љубо', + 'Љубобрат', + 'Љубодраг', + 'Љубомир', + 'Љубомирка', + 'Љубосава', + 'Љубоја', + 'Љубоје', + 'Љупка', + 'Његомир', + 'Његомирка', + 'Његослава', + 'Његош', + 'Ћерана', + 'Ћира', + 'Ћирило', + 'Ћирко', + 'Ћиро', + 'Ћирјак', + 'Авакум', + 'Аврам', + 'Агница', + 'Агнија', + 'Адам', + 'Аделина', + 'Аксентије', + 'Алекса', + 'Александрон', + 'Алексеј', + 'Алексија', + 'Алексије', + 'Алимпије', + 'Ана', + 'Анастасија', + 'Анда', + 'Андреј', + 'Андреја', + 'Андрија', + 'Андријана', + 'Андријаш', + 'Аница', + 'Анка', + 'Анкица', + 'Антоније', + 'Анђа', + 'Анђела', + 'Анђелија', + 'Анђелка', + 'Анђелко', + 'Аранђел', + 'Арса', + 'Арсен', + 'Арсеније', + 'Арсо', + 'Атанасије', + 'Атанацко', + 'Аћим', + 'Балша', + 'Бане', + 'Батрић', + 'Бајко', + 'Бајо', + 'Бајчета', + 'Берисав', + 'Берислав', + 'Бериша', + 'Берко', + 'Бисенија', + 'Бисерка', + 'Бисерко', + 'Биљан', + 'Благица', + 'Благиња', + 'Благомир', + 'Благота', + 'Благојa', + 'Благоје', + 'Блажа', + 'Блажен', + 'Блаженка', + 'Блажо', + 'Блашко', + 'Богдан', + 'Богдана', + 'Богданка', + 'Богељ', + 'Богиша', + 'Богић', + 'Богобој', + 'Богосав', + 'Богослав', + 'Богоје', + 'Богољуб', + 'Божа', + 'Божана', + 'Божидар', + 'Божидарка', + 'Божин', + 'Божинка', + 'Божица', + 'Божићко', + 'Божо', + 'Боин', + 'Боица', + 'Бора', + 'Боривој', + 'Боривоје', + 'Борис', + 'Борисав', + 'Борислав', + 'Борислава', + 'Бориславка', + 'Бориша', + 'Борка', + 'Борко', + 'Боро', + 'Бороје', + 'Борјана', + 'Борјанка', + 'Боса', + 'Босиљка', + 'Бошко', + 'Бојан', + 'Бојана', + 'Бојко', + 'Бојо', + 'Бојчета', + 'Бранивој', + 'Бранивоје', + 'Бранимир', + 'Бранислава', + 'Бранка', + 'Бранкица', + 'Бранко', + 'Брано', + 'Братимир', + 'Братислав', + 'Братислава', + 'Братован', + 'Братољуб', + 'Брајан', + 'Брајица', + 'Брнча', + 'Будимир', + 'Будимирка', + 'Будимка', + 'Будисав', + 'Будислав', + 'Валерија', + 'Варвара', + 'Васа', + 'Василија', + 'Василије', + 'Василка', + 'Васиљ', + 'Васиљка', + 'Васко', + 'Васкрсија', + 'Васкрсије', + 'Васо', + 'Васоје', + 'Вајо', + 'Вања', + 'Векослав', + 'Велибор', + 'Велиборка', + 'Велизар', + 'Велимир', + 'Велинка', + 'Велисав', + 'Велисава', + 'Величко', + 'Велиша', + 'Вера', + 'Веран', + 'Верица', + 'Верка', + 'Вероника', + 'Верослава', + 'Верољуб', + 'Весела', + 'Веселин', + 'Веселинка', + 'Веско', + 'Весна', + 'Вељко', + 'Вид', + 'Вида', + 'Видак', + 'Видан', + 'Видач', + 'Виден', + 'Видосав', + 'Видосава', + 'Видоја', + 'Видоје', + 'Видојка', + 'Видојко', + 'Виктор', + 'Викторија', + 'Вилотије', + 'Виолета', + 'Витка', + 'Витко', + 'Витомир', + 'Витомирка', + 'Вишеслав', + 'Вишеслава', + 'Вишња', + 'Вићан', + 'Вићентије', + 'Владан', + 'Владана', + 'Владанка', + 'Владе', + 'Владета', + 'Владимирка', + 'Владисав', + 'Владислава', + 'Владица', + 'Владо', + 'Владоје', + 'Владун', + 'Влаислав', + 'Власије', + 'Власта', + 'Властимир', + 'Властимирка', + 'Влатка', + 'Влатко', + 'Влашко', + 'Влајко', + 'Воица', + 'Војдраг', + 'Војимир', + 'Војин', + 'Војислав', + 'Војислава', + 'Војка', + 'Војкан', + 'Војко', + 'Вранеш', + 'Вугдраг', + 'Вузман', + 'Вуило', + 'Вуин', + 'Вуица', + 'Вук', + 'Вукадин', + 'Вукало', + 'Вукан', + 'Вукана', + 'Вукас', + 'Вукац', + 'Вукач', + 'Вукашин', + 'Вукајло', + 'Вукаљ', + 'Вукеља', + 'Вукица', + 'Вукић', + 'Вукман', + 'Вукмир', + 'Вукмира', + 'Вукмиљ', + 'Вуко', + 'Вуковоје', + 'Вукола', + 'Вукоман', + 'Вукомир', + 'Вукосав', + 'Вукосава', + 'Вукослав', + 'Вукота', + 'Вукоје', + 'Вукојица', + 'Вуксан', + 'Вукша', + 'Вуле', + 'Вулета', + 'Вунко', + 'Вуча', + 'Вучан', + 'Вучен', + 'Вучета', + 'Вучина', + 'Вучић', + 'Вучко', + 'Вујадин', + 'Вујадинка', + 'Вујак', + 'Вујан', + 'Вујана', + 'Вујета', + 'Вујка', + 'Вујко', + 'Вујо', + 'Вујчета', + 'Вујчин', + 'Вјекослав', + 'Гавра', + 'Гаврила', + 'Гаврилка', + 'Гаврило', + 'Гача', + 'Гаја', + 'Гајин', + 'Гајо', + 'Гвозден', + 'Гвозденија', + 'Гвозденко', + 'Генадије', + 'Георгина', + 'Георгије', + 'Герасим', + 'Герман', + 'Глигорије', + 'Глиша', + 'Глишо', + 'Годеч', + 'Годомир', + 'Голуб', + 'Горана', + 'Горанка', + 'Гордан', + 'Гордана', + 'Горица', + 'Горчин', + 'Горјана', + 'Госпава', + 'Гостимир', + 'Гостољуб', + 'Гојко', + 'Градета', + 'Градимир', + 'Градиша', + 'Гргур', + 'Грдан', + 'Григорије', + 'Гријак', + 'Грозда', + 'Гроздан', + 'Гроздана', + 'Грубан', + 'Грубац', + 'Грубач', + 'Грубета', + 'Грубеша', + 'Грубиша', + 'Груја', + 'Грујица', + 'Грујо', + 'Дабижив', + 'Дабиша', + 'Дабо', + 'Давид', + 'Даворка', + 'Далиборка', + 'Дамјан', + 'Дамјанка', + 'Дамљан', + 'Дамљанка', + 'Дана', + 'Дане', + 'Даница', + 'Данијел', + 'Данка', + 'Данко', + 'Данојла', + 'Данчул', + 'Дара', + 'Даринка', + 'Дарио', + 'Дарије', + 'Даријо', + 'Дарко', + 'Дарјан', + 'Дафина', + 'Даша', + 'Дева', + 'Деса', + 'Десанка', + 'Десимир', + 'Деспина', + 'Деспиња', + 'Деспот', + 'Дејана', + 'Дивна', + 'Дикосава', + 'Димитрије', + 'Димчо', + 'Дмитар', + 'Дмитра', + 'Добрашин', + 'Добривој', + 'Добривоје', + 'Добрила', + 'Добрило', + 'Добринка', + 'Добринко', + 'Добрица', + 'Добрија', + 'Добровук', + 'Добросав', + 'Доброслав', + 'Докна', + 'Доко', + 'Доротеј', + 'Доротеја', + 'Доситеј', + 'Достана', + 'Дојчило', + 'Дојчин', + 'Драга', + 'Драгаш', + 'Драгица', + 'Драгиша', + 'Драгија', + 'Драгиња', + 'Драгић', + 'Драго', + 'Драгобрат', + 'Драгован', + 'Драгоман', + 'Драгомир', + 'Драгомира', + 'Драгорад', + 'Драгосав', + 'Драгослав', + 'Драгослава', + 'Драгош', + 'Драгоја', + 'Драгоје', + 'Драгојла', + 'Драгојло', + 'Драгољуб', + 'Драгутин', + 'Дража', + 'Дражета', + 'Дражо', + 'Драило', + 'Дракша', + 'Драшко', + 'Дрена', + 'Дренка', + 'Дрина', + 'Дринка', + 'Дубравац', + 'Дубравка', + 'Дубравко', + 'Дука', + 'Дукадин', + 'Душанка', + 'Душица', + 'Душка', + 'Душко', + 'Дујак', + 'Дуња', + 'Ева', + 'Евгенија', + 'Евгеније', + 'Евдокија', + 'Евица', + 'Емил', + 'Емилија', + 'Емилијан', + 'Емилије', + 'Ерак', + 'Жаклина', + 'Жанка', + 'Жарко', + 'Желимир', + 'Желимирка', + 'Жељана', + 'Жељка', + 'Жељко', + 'Жива', + 'Живадин', + 'Живадинка', + 'Живан', + 'Живана', + 'Живанка', + 'Живанко', + 'Живица', + 'Живка', + 'Живодарка', + 'Живомир', + 'Живорад', + 'Живоратка', + 'Живослава', + 'Живославка', + 'Живота', + 'Живојин', + 'Живољуб', + 'Жика', + 'Жикица', + 'Житомир', + 'Завида', + 'Завиша', + 'Зага', + 'Загорка', + 'Зарија', + 'Зарије', + 'Захарије', + 'Звездан', + 'Звездана', + 'Звездодраг', + 'Звездослав', + 'Звонимир', + 'Звонка', + 'Звонко', + 'Звјездан', + 'Звјездана', + 'Здравиша', + 'Здравко', + 'Злата', + 'Златан', + 'Златана', + 'Златибор', + 'Златица', + 'Златија', + 'Златко', + 'Златомир', + 'Златомирка', + 'Златосав', + 'Златоје', + 'Зора', + 'Зорана', + 'Зорислава', + 'Зорица', + 'Зорка', + 'Зринка', + 'Зринко', + 'Ива', + 'Иваниш', + 'Иванка', + 'Ивица', + 'Ивка', + 'Ивко', + 'Ивона', + 'Игор', + 'Игњат', + 'Игњатије', + 'Иконија', + 'Илинка', + 'Илија', + 'Исаило', + 'Исаија', + 'Исак', + 'Исидор', + 'Исидора', + 'Кадивка', + 'Кажимир', + 'Казимир', + 'Казимира', + 'Каменко', + 'Касија', + 'Ката', + 'Катарина', + 'Катица', + 'Кипријан', + 'Кирило', + 'Кована', + 'Ковина', + 'Ковиљка', + 'Ковиљко', + 'Козма', + 'Кокан', + 'Комнен', + 'Комненија', + 'Корнелије', + 'Косана', + 'Косара', + 'Косовка', + 'Коста', + 'Костадин', + 'Костадинка', + 'Коча', + 'Коштана', + 'Којадин', + 'Којадинка', + 'Којчин', + 'Крагуј', + 'Краисава', + 'Красимир', + 'Красоје', + 'Крајислав', + 'Крајчин', + 'Крсман', + 'Крсманија', + 'Крста', + 'Крстан', + 'Крстана', + 'Крстивоје', + 'Крстина', + 'Крсто', + 'Крунислав', + 'Крунослава', + 'Ксенија', + 'Кузман', + 'Кумодраг', + 'Лабуд', + 'Лаза', + 'Лазар', + 'Лазо', + 'Лака', + 'Лакета', + 'Лако', + 'Лале', + 'Лана', + 'Лара', + 'Латинка', + 'Лежимир', + 'Лела', + 'Лена', + 'Ленка', + 'Леонида', + 'Леонора', + 'Лепа', + 'Лепомир', + 'Лепосава', + 'Лепослав', + 'Лепоје', + 'Лидија', + 'Лиза', + 'Лила', + 'Лилијана', + 'Лозан', + 'Луна', + 'Луча', + 'Лучија', + 'Лујо', + 'Маврен', + 'Малета', + 'Малеш', + 'Малина', + 'Малинка', + 'Манда', + 'Мандуша', + 'Мане', + 'Манојло', + 'Мара', + 'Маринка', + 'Маринко', + 'Марица', + 'Марко', + 'Марта', + 'Марјан', + 'Матеј', + 'Матеја', + 'Матија', + 'Матијаш', + 'Мато', + 'Машан', + 'Машко', + 'Маја', + 'Мајда', + 'Медак', + 'Мила', + 'Миладин', + 'Миладија', + 'Милак', + 'Милана', + 'Миланка', + 'Миланко', + 'Милат', + 'Милаш', + 'Милашин', + 'Миле', + 'Милева', + 'Милен', + 'Миленко', + 'Милентије', + 'Милеса', + 'Милета', + 'Милеш', + 'Миливој', + 'Миливоје', + 'Милин', + 'Милина', + 'Милинко', + 'Милисав', + 'Милисава', + 'Милисавка', + 'Милија', + 'Милијан', + 'Милијана', + 'Милијаш', + 'Милић', + 'Милка', + 'Милкица', + 'Мило', + 'Милован', + 'Миломир', + 'Милорад', + 'Милосав', + 'Милосава', + 'Милосавка', + 'Милоја', + 'Милоје', + 'Милојица', + 'Милојка', + 'Милојко', + 'Милтен', + 'Милука', + 'Милун', + 'Милунка', + 'Милутин', + 'Милуш', + 'Милуша', + 'Миодраг', + 'Миомир', + 'Миомирка', + 'Мира', + 'Мирен', + 'Мирка', + 'Мирко', + 'Миро', + 'Миросав', + 'Миросава', + 'Мирољуб', + 'Мирчета', + 'Мирјана', + 'Митар', + 'Митра', + 'Михаило', + 'Михајло', + 'Мишко', + 'Мишо', + 'Мишљен', + 'Мија', + 'Мијаило', + 'Мијак', + 'Мијан', + 'Мијана', + 'Мијат', + 'Мијо', + 'Мијобрат', + 'Мијушко', + 'Миљ', + 'Миља', + 'Миљан', + 'Миљен', + 'Миљка', + 'Миљко', + 'Миљојко', + 'Миљурко', + 'Мића', + 'Мићан', + 'Мићо', + 'Младен', + 'Млађан', + 'Млађен', + 'Момир', + 'Момчило', + 'Мојсило', + 'Мркша', + 'Мрђан', + 'Мрђен', + 'Нада', + 'Надежда', + 'Надица', + 'Наталија', + 'Наум', + 'Нађа', + 'Најда', + 'Најдан', + 'Небојша', + 'Невен', + 'Невена', + 'Невенка', + 'Невенко', + 'Негован', + 'Негомир', + 'Неда', + 'Недељка', + 'Недељко', + 'Немања', + 'Ненад', + 'Нестор', + 'Нешко', + 'Неђељка', + 'Неђељко', + 'Никашин', + 'Никодим', + 'Никодије', + 'Никола', + 'Николета', + 'Николија', + 'Никша', + 'Нина', + 'Нинко', + 'Нино', + 'Нинослав', + 'Нишава', + 'Нићифор', + 'Новак', + 'Новица', + 'Новиша', + 'Новка', + 'Новко', + 'Ново', + 'Обрад', + 'Обрадин', + 'Обрадинка', + 'Обрен', + 'Обренија', + 'Обренко', + 'Обретен', + 'Огњан', + 'Огњана', + 'Огњен', + 'Озрен', + 'Озриша', + 'Олга', + 'Оливер', + 'Оливера', + 'Остоја', + 'Оља', + 'Пава', + 'Павија', + 'Павић', + 'Павко', + 'Павле', + 'Павлија', + 'Павлић', + 'Пантелија', + 'Паун', + 'Пауна', + 'Пелагија', + 'Пера', + 'Перица', + 'Периша', + 'Перо', + 'Перса', + 'Персида', + 'Перун', + 'Перунко', + 'Петак', + 'Петар', + 'Петко', + 'Петош', + 'Петоје', + 'Петра', + 'Петрашин', + 'Петрија', + 'Петроније', + 'Пејак', + 'Пејо', + 'Плавша', + 'Познан', + 'Познана', + 'Првослав', + 'Предраг', + 'Прерад', + 'Прибић', + 'Продан', + 'Продана', + 'Прокопије', + 'Пунан', + 'Пуниша', + 'Пуреш', + 'Пурко', + 'Пуро', + 'Рада', + 'Радак', + 'Радан', + 'Радана', + 'Радас', + 'Радашин', + 'Раден', + 'Раденко', + 'Радета', + 'Радивој', + 'Радивоје', + 'Радин', + 'Радинка', + 'Радинко', + 'Радисав', + 'Радица', + 'Радич', + 'Радиша', + 'Радман', + 'Радмила', + 'Радмило', + 'Радна', + 'Радоба', + 'Радобуд', + 'Радован', + 'Радовац', + 'Радоман', + 'Радомир', + 'Радосав', + 'Радослав', + 'Радослава', + 'Радота', + 'Радош', + 'Радоја', + 'Радоје', + 'Радојица', + 'Радојка', + 'Радојко', + 'Радојло', + 'Радоња', + 'Радука', + 'Радукан', + 'Радул', + 'Радула', + 'Радулин', + 'Радун', + 'Радунка', + 'Радусин', + 'Раин', + 'Раица', + 'Раич', + 'Раичко', + 'Рален', + 'Ралета', + 'Ранисав', + 'Ранка', + 'Ранко', + 'Раосав', + 'Растислав', + 'Растко', + 'Ратибор', + 'Ратко', + 'Ратомир', + 'Рафаило', + 'Рацко', + 'Рачета', + 'Рашко', + 'Рађен', + 'Рајак', + 'Рајан', + 'Рајка', + 'Рајко', + 'Рајна', + 'Рајчета', + 'Рекула', + 'Ресан', + 'Реља', + 'Риста', + 'Ристан', + 'Ристивоје', + 'Ристо', + 'Родољуб', + 'Роксанда', + 'Роса', + 'Ружа', + 'Ружица', + 'Сава', + 'Савка', + 'Савко', + 'Саво', + 'Саздана', + 'Самуило', + 'Сандра', + 'Сара', + 'Сања', + 'Светибор', + 'Светислав', + 'Светислава', + 'Светозар', + 'Светолик', + 'Светомир', + 'Светорад', + 'Светољуб', + 'Свјетлана', + 'Секана', + 'Секула', + 'Селак', + 'Сима', + 'Симана', + 'Симеон', + 'Симеун', + 'Симеуна', + 'Симка', + 'Симо', + 'Симон', + 'Симонида', + 'Синиша', + 'Синђа', + 'Синђел', + 'Скоросав', + 'Скоросава', + 'Славен', + 'Славенко', + 'Славица', + 'Славиша', + 'Славка', + 'Славко', + 'Славна', + 'Славо', + 'Славомир', + 'Славојка', + 'Славољуб', + 'Славуј', + 'Сладоје', + 'Слађан', + 'Слађана', + 'Слободанка', + 'Смиља', + 'Смиљан', + 'Смиљана', + 'Смиљка', + 'Смиљко', + 'Смољан', + 'Смољана', + 'Смољка', + 'Снежана', + 'Сока', + 'Соко', + 'Софија', + 'Спасенија', + 'Спасоја', + 'Спасоје', + 'Спиридон', + 'Споменка', + 'Србислав', + 'Србијанка', + 'Србослав', + 'Србољуб', + 'Срдан', + 'Средоја', + 'Средоје', + 'Сретен', + 'Сретко', + 'Срећан', + 'Срећко', + 'Срђа', + 'Стака', + 'Стамена', + 'Стаменка', + 'Стаменко', + 'Стана', + 'Станава', + 'Станача', + 'Станимир', + 'Станисав', + 'Станисава', + 'Станислава', + 'Станица', + 'Станиша', + 'Станија', + 'Станка', + 'Станко', + 'Станоја', + 'Станоје', + 'Станојка', + 'Станојко', + 'Станојла', + 'Станојло', + 'Сташа', + 'Стајка', + 'Стеван', + 'Стевица', + 'Стево', + 'Степан', + 'Стефан', + 'Стоин', + 'Стоисава', + 'Стоић', + 'Стоја', + 'Стојадин', + 'Стојак', + 'Стојан', + 'Стојана', + 'Стојанка', + 'Стојка', + 'Стојко', + 'Стојмен', + 'Стојна', + 'Стојша', + 'Страиња', + 'Страхиња', + 'Стјепан', + 'Сузана', + 'Сњежана', + 'Тадеј', + 'Тадија', + 'Танасије', + 'Танацко', + 'Танкоса', + 'Танкосава', + 'Тара', + 'Татомир', + 'Татјана', + 'Тајана', + 'Твртко', + 'Теа', + 'Теодор', + 'Теодосије', + 'Теофил', + 'Тешан', + 'Тимотије', + 'Тихомир', + 'Тијана', + 'Тодор', + 'Тодора', + 'Тома', + 'Томанија', + 'Томаш', + 'Томислав', + 'Томица', + 'Томо', + 'Топлица', + 'Трајан', + 'Трајко', + 'Тривун', + 'Трипко', + 'Трипун', + 'Трифун', + 'Трпко', + 'Убавка', + 'Угљеша', + 'Умиљен', + 'Уна', + 'Урош', + 'Утешен', + 'Утјешен', + 'Фема', + 'Хвалимир', + 'Хвалислав', + 'Хранимир', + 'Хранислав', + 'Хранислава', + 'Храниша', + 'Храстимир', + 'Христијан', + 'Христослав', + 'Цвета', + 'Цветин', + 'Цветко', + 'Цветош', + 'Цветоје', + 'Цвејан', + 'Цвико', + 'Цвијан', + 'Цвијета', + 'Цвијетин', + 'Цвјетко', + 'Цвјетош', + 'Цвјетоје', + 'Цурко', + 'Чарна', + 'Часлав', + 'Чедомир', + 'Чубрило', + 'Шакота', + 'Шале', + 'Шана', + 'Шуменко', + 'Шутан', + ]; - protected static $firstNameFemale = [ - 'Јована', 'Александра', 'Ангелина', 'Антонина', 'Биљана', 'Влада', 'Драгана', 'Екатерина', 'Елена', 'Здравка', 'Златка', 'Ивана', 'Ирена', - 'Ирина', 'Кристина', 'Лола', 'Марина', 'Марија', 'Маша', 'Милена', 'Милица', 'Мирослава', 'Миљана', 'Наташа', 'Светлана', - 'Соња', 'Тамара', 'Тања', 'Теодора', - // below are unknown gender firstnames - 'Ђенадије', 'Ђоко', 'Ђорђе', 'Ђорђије', 'Ђорђо', 'Ђука', 'Ђукан', 'Ђура', 'Ђурашин', 'Ђурађ', 'Ђурисав', 'Ђурисава', 'Ђурица', - 'Ђурко', 'Ђуро', 'Ђурђа', 'Ђурђе', 'Ђурђевка', 'Ђурђица', 'Ђурђија', 'Јаблан', 'Јаворка', 'Јаворко', 'Јагода', 'Јагодинка', - 'Јагош', 'Јадранка', 'Јадранко', 'Јаков', 'Јакша', 'Јана', 'Јандре', 'Јандрија', 'Јанићије', 'Јанко', 'Јановка', 'Јанча', - 'Јарослав', 'Јасен', 'Јасенко', 'Јасмина', 'Јасминка', 'Јасна', 'Јања', 'Јевдокија', 'Јеврем', 'Јевросима', 'Јевта', 'Јевтан', - 'Јевтимије', 'Јевто', 'Језда', 'Јездимир', 'Јека', 'Јела', 'Јелача', 'Јелашин', 'Јелен', 'Јелена', 'Јеленка', 'Јеленко', - 'Јелисава', 'Јелисавета', 'Јелисавка', 'Јелисије', 'Јелица', 'Јелка', 'Јеремија', 'Јерко', 'Јеротије', 'Јефимија', 'Јеша', 'Јова', - 'Јован', 'Јованка', 'Јовица', 'Јовиша', 'Јовка', 'Јовко', 'Јово', 'Јоко', 'Јоксим', 'Јоргованка', 'Јордан', 'Јорданка', - 'Јосиф', 'Југомир', 'Југослав', 'Југољуб', 'Јулија', 'Јулијан', 'Јулијана', 'Јулка', 'Јуноша', 'Јуриша', 'Јустин', 'Љепава', - 'Љепосава', 'Љиља', 'Љиљан', 'Љиљана', 'Љуба', 'Љубан', 'Љубен', 'Љубенко', 'Љубивоје', 'Љубинка', 'Љубинко', 'Љубисав', - 'Љубислав', 'Љубица', 'Љубиша', 'Љубо', 'Љубобрат', 'Љубодраг', 'Љубомир', 'Љубомирка', 'Љубосава', 'Љубоја', 'Љубоје', 'Љупка', - 'Његомир', 'Његомирка', 'Његослава', 'Његош', 'Ћерана', 'Ћира', 'Ћирило', 'Ћирко', 'Ћиро', 'Ћирјак', 'Авакум', 'Аврам', - 'Агница', 'Агнија', 'Адам', 'Аделина', 'Аксентије', 'Алекса', 'Александрон', 'Алексеј', 'Алексија', 'Алексије', 'Алимпије', 'Ана', - 'Анастасија', 'Анда', 'Андреј', 'Андреја', 'Андрија', 'Андријана', 'Андријаш', 'Аница', 'Анка', 'Анкица', 'Антоније', 'Анђа', - 'Анђела', 'Анђелија', 'Анђелка', 'Анђелко', 'Аранђел', 'Арса', 'Арсен', 'Арсеније', 'Арсо', 'Атанасије', 'Атанацко', 'Аћим', - 'Балша', 'Бане', 'Батрић', 'Бајко', 'Бајо', 'Бајчета', 'Берисав', 'Берислав', 'Бериша', 'Берко', 'Бисенија', 'Бисерка', - 'Бисерко', 'Биљан', 'Благица', 'Благиња', 'Благомир', 'Благота', 'Благојa', 'Благоје', 'Блажа', 'Блажен', 'Блаженка', 'Блажо', - 'Блашко', 'Богдан', 'Богдана', 'Богданка', 'Богељ', 'Богиша', 'Богић', 'Богобој', 'Богосав', 'Богослав', 'Богоје', 'Богољуб', - 'Божа', 'Божана', 'Божидар', 'Божидарка', 'Божин', 'Божинка', 'Божица', 'Божићко', 'Божо', 'Боин', 'Боица', 'Бора', - 'Боривој', 'Боривоје', 'Борис', 'Борисав', 'Борислав', 'Борислава', 'Бориславка', 'Бориша', 'Борка', 'Борко', 'Боро', 'Бороје', - 'Борјана', 'Борјанка', 'Боса', 'Босиљка', 'Бошко', 'Бојан', 'Бојана', 'Бојко', 'Бојо', 'Бојчета', 'Бранивој', 'Бранивоје', - 'Бранимир', 'Бранислава', 'Бранка', 'Бранкица', 'Бранко', 'Брано', 'Братимир', 'Братислав', 'Братислава', 'Братован', 'Братољуб', 'Брајан', - 'Брајица', 'Брнча', 'Будимир', 'Будимирка', 'Будимка', 'Будисав', 'Будислав', 'Валерија', 'Варвара', 'Васа', 'Василија', 'Василије', - 'Василка', 'Васиљ', 'Васиљка', 'Васко', 'Васкрсија', 'Васкрсије', 'Васо', 'Васоје', 'Вајо', 'Вања', 'Векослав', 'Велибор', - 'Велиборка', 'Велизар', 'Велимир', 'Велинка', 'Велисав', 'Велисава', 'Величко', 'Велиша', 'Вера', 'Веран', 'Верица', 'Верка', - 'Вероника', 'Верослава', 'Верољуб', 'Весела', 'Веселин', 'Веселинка', 'Веско', 'Весна', 'Вељко', 'Вид', 'Вида', 'Видак', - 'Видан', 'Видач', 'Виден', 'Видосав', 'Видосава', 'Видоја', 'Видоје', 'Видојка', 'Видојко', 'Виктор', 'Викторија', 'Вилотије', - 'Виолета', 'Витка', 'Витко', 'Витомир', 'Витомирка', 'Вишеслав', 'Вишеслава', 'Вишња', 'Вићан', 'Вићентије', 'Владан', 'Владана', - 'Владанка', 'Владе', 'Владета', 'Владимирка', 'Владисав', 'Владислава', 'Владица', 'Владо', 'Владоје', 'Владун', 'Влаислав', 'Власије', - 'Власта', 'Властимир', 'Властимирка', 'Влатка', 'Влатко', 'Влашко', 'Влајко', 'Воица', 'Војдраг', 'Војимир', 'Војин', 'Војислав', - 'Војислава', 'Војка', 'Војкан', 'Војко', 'Вранеш', 'Вугдраг', 'Вузман', 'Вуило', 'Вуин', 'Вуица', 'Вук', 'Вукадин', - 'Вукало', 'Вукан', 'Вукана', 'Вукас', 'Вукац', 'Вукач', 'Вукашин', 'Вукајло', 'Вукаљ', 'Вукеља', 'Вукица', 'Вукић', - 'Вукман', 'Вукмир', 'Вукмира', 'Вукмиљ', 'Вуко', 'Вуковоје', 'Вукола', 'Вукоман', 'Вукомир', 'Вукосав', 'Вукосава', 'Вукослав', - 'Вукота', 'Вукоје', 'Вукојица', 'Вуксан', 'Вукша', 'Вуле', 'Вулета', 'Вунко', 'Вуча', 'Вучан', 'Вучен', 'Вучета', - 'Вучина', 'Вучић', 'Вучко', 'Вујадин', 'Вујадинка', 'Вујак', 'Вујан', 'Вујана', 'Вујета', 'Вујка', 'Вујко', 'Вујо', - 'Вујчета', 'Вујчин', 'Вјекослав', 'Гавра', 'Гаврила', 'Гаврилка', 'Гаврило', 'Гача', 'Гаја', 'Гајин', 'Гајо', 'Гвозден', - 'Гвозденија', 'Гвозденко', 'Генадије', 'Георгина', 'Георгије', 'Герасим', 'Герман', 'Глигорије', 'Глиша', 'Глишо', 'Годеч', 'Годомир', - 'Голуб', 'Горана', 'Горанка', 'Гордан', 'Гордана', 'Горица', 'Горчин', 'Горјана', 'Госпава', 'Гостимир', 'Гостољуб', 'Гојко', - 'Градета', 'Градимир', 'Градиша', 'Гргур', 'Грдан', 'Григорије', 'Гријак', 'Грозда', 'Гроздан', 'Гроздана', 'Грубан', 'Грубац', - 'Грубач', 'Грубета', 'Грубеша', 'Грубиша', 'Груја', 'Грујица', 'Грујо', 'Дабижив', 'Дабиша', 'Дабо', 'Давид', 'Даворка', - 'Далиборка', 'Дамјан', 'Дамјанка', 'Дамљан', 'Дамљанка', 'Дана', 'Дане', 'Даница', 'Данијел', 'Данка', 'Данко', 'Данојла', - 'Данчул', 'Дара', 'Даринка', 'Дарио', 'Дарије', 'Даријо', 'Дарко', 'Дарјан', 'Дафина', 'Даша', 'Дева', 'Деса', - 'Десанка', 'Десимир', 'Деспина', 'Деспиња', 'Деспот', 'Дејана', 'Дивна', 'Дикосава', 'Димитрије', 'Димчо', 'Дмитар', 'Дмитра', - 'Добрашин', 'Добривој', 'Добривоје', 'Добрила', 'Добрило', 'Добринка', 'Добринко', 'Добрица', 'Добрија', 'Добровук', 'Добросав', 'Доброслав', - 'Докна', 'Доко', 'Доротеј', 'Доротеја', 'Доситеј', 'Достана', 'Дојчило', 'Дојчин', 'Драга', 'Драгаш', 'Драгица', 'Драгиша', - 'Драгија', 'Драгиња', 'Драгић', 'Драго', 'Драгобрат', 'Драгован', 'Драгоман', 'Драгомир', 'Драгомира', 'Драгорад', 'Драгосав', 'Драгослав', - 'Драгослава', 'Драгош', 'Драгоја', 'Драгоје', 'Драгојла', 'Драгојло', 'Драгољуб', 'Драгутин', 'Дража', 'Дражета', 'Дражо', 'Драило', - 'Дракша', 'Драшко', 'Дрена', 'Дренка', 'Дрина', 'Дринка', 'Дубравац', 'Дубравка', 'Дубравко', 'Дука', 'Дукадин', 'Душанка', - 'Душица', 'Душка', 'Душко', 'Дујак', 'Дуња', 'Ева', 'Евгенија', 'Евгеније', 'Евдокија', 'Евица', 'Емил', 'Емилија', - 'Емилијан', 'Емилије', 'Ерак', 'Жаклина', 'Жанка', 'Жарко', 'Желимир', 'Желимирка', 'Жељана', 'Жељка', 'Жељко', 'Жива', - 'Живадин', 'Живадинка', 'Живан', 'Живана', 'Живанка', 'Живанко', 'Живица', 'Живка', 'Живодарка', 'Живомир', 'Живорад', 'Живоратка', - 'Живослава', 'Живославка', 'Живота', 'Живојин', 'Живољуб', 'Жика', 'Жикица', 'Житомир', 'Завида', 'Завиша', 'Зага', 'Загорка', - 'Зарија', 'Зарије', 'Захарије', 'Звездан', 'Звездана', 'Звездодраг', 'Звездослав', 'Звонимир', 'Звонка', 'Звонко', 'Звјездан', 'Звјездана', - 'Здравиша', 'Здравко', 'Злата', 'Златан', 'Златана', 'Златибор', 'Златица', 'Златија', 'Златко', 'Златомир', 'Златомирка', 'Златосав', - 'Златоје', 'Зора', 'Зорана', 'Зорислава', 'Зорица', 'Зорка', 'Зринка', 'Зринко', 'Ива', 'Иваниш', 'Иванка', 'Ивица', - 'Ивка', 'Ивко', 'Ивона', 'Игор', 'Игњат', 'Игњатије', 'Иконија', 'Илинка', 'Илија', 'Исаило', 'Исаија', 'Исак', - 'Исидор', 'Исидора', 'Кадивка', 'Кажимир', 'Казимир', 'Казимира', 'Каменко', 'Касија', 'Ката', 'Катарина', 'Катица', 'Кипријан', - 'Кирило', 'Кована', 'Ковина', 'Ковиљка', 'Ковиљко', 'Козма', 'Кокан', 'Комнен', 'Комненија', 'Корнелије', 'Косана', 'Косара', - 'Косовка', 'Коста', 'Костадин', 'Костадинка', 'Коча', 'Коштана', 'Којадин', 'Којадинка', 'Којчин', 'Крагуј', 'Краисава', 'Красимир', - 'Красоје', 'Крајислав', 'Крајчин', 'Крсман', 'Крсманија', 'Крста', 'Крстан', 'Крстана', 'Крстивоје', 'Крстина', 'Крсто', 'Крунислав', - 'Крунослава', 'Ксенија', 'Кузман', 'Кумодраг', 'Лабуд', 'Лаза', 'Лазар', 'Лазо', 'Лака', 'Лакета', 'Лако', 'Лале', - 'Лана', 'Лара', 'Латинка', 'Лежимир', 'Лела', 'Лена', 'Ленка', 'Леонида', 'Леонора', 'Лепа', 'Лепомир', 'Лепосава', - 'Лепослав', 'Лепоје', 'Лидија', 'Лиза', 'Лила', 'Лилијана', 'Лозан', 'Луна', 'Луча', 'Лучија', 'Лујо', 'Маврен', - 'Малета', 'Малеш', 'Малина', 'Малинка', 'Манда', 'Мандуша', 'Мане', 'Манојло', 'Мара', 'Маринка', 'Маринко', 'Марица', - 'Марко', 'Марта', 'Марјан', 'Матеј', 'Матеја', 'Матија', 'Матијаш', 'Мато', 'Машан', 'Машко', 'Маја', 'Мајда', - 'Медак', 'Мила', 'Миладин', 'Миладија', 'Милак', 'Милана', 'Миланка', 'Миланко', 'Милат', 'Милаш', 'Милашин', 'Миле', - 'Милева', 'Милен', 'Миленко', 'Милентије', 'Милеса', 'Милета', 'Милеш', 'Миливој', 'Миливоје', 'Милин', 'Милина', 'Милинко', - 'Милисав', 'Милисава', 'Милисавка', 'Милија', 'Милијан', 'Милијана', 'Милијаш', 'Милић', 'Милка', 'Милкица', 'Мило', 'Милован', - 'Миломир', 'Милорад', 'Милосав', 'Милосава', 'Милосавка', 'Милоја', 'Милоје', 'Милојица', 'Милојка', 'Милојко', 'Милтен', 'Милука', - 'Милун', 'Милунка', 'Милутин', 'Милуш', 'Милуша', 'Миодраг', 'Миомир', 'Миомирка', 'Мира', 'Мирен', 'Мирка', 'Мирко', - 'Миро', 'Миросав', 'Миросава', 'Мирољуб', 'Мирчета', 'Мирјана', 'Митар', 'Митра', 'Михаило', 'Михајло', 'Мишко', 'Мишо', - 'Мишљен', 'Мија', 'Мијаило', 'Мијак', 'Мијан', 'Мијана', 'Мијат', 'Мијо', 'Мијобрат', 'Мијушко', 'Миљ', 'Миља', - 'Миљан', 'Миљен', 'Миљка', 'Миљко', 'Миљојко', 'Миљурко', 'Мића', 'Мићан', 'Мићо', 'Младен', 'Млађан', 'Млађен', - 'Момир', 'Момчило', 'Мојсило', 'Мркша', 'Мрђан', 'Мрђен', 'Нада', 'Надежда', 'Надица', 'Наталија', 'Наум', 'Нађа', - 'Најда', 'Најдан', 'Небојша', 'Невен', 'Невена', 'Невенка', 'Невенко', 'Негован', 'Негомир', 'Неда', 'Недељка', 'Недељко', - 'Немања', 'Ненад', 'Нестор', 'Нешко', 'Неђељка', 'Неђељко', 'Никашин', 'Никодим', 'Никодије', 'Никола', 'Николета', 'Николија', - 'Никша', 'Нина', 'Нинко', 'Нино', 'Нинослав', 'Нишава', 'Нићифор', 'Новак', 'Новица', 'Новиша', 'Новка', 'Новко', - 'Ново', 'Обрад', 'Обрадин', 'Обрадинка', 'Обрен', 'Обренија', 'Обренко', 'Обретен', 'Огњан', 'Огњана', 'Огњен', 'Озрен', - 'Озриша', 'Олга', 'Оливер', 'Оливера', 'Остоја', 'Оља', 'Пава', 'Павија', 'Павић', 'Павко', 'Павле', 'Павлија', - 'Павлић', 'Пантелија', 'Паун', 'Пауна', 'Пелагија', 'Пера', 'Перица', 'Периша', 'Перо', 'Перса', 'Персида', 'Перун', - 'Перунко', 'Петак', 'Петар', 'Петко', 'Петош', 'Петоје', 'Петра', 'Петрашин', 'Петрија', 'Петроније', 'Пејак', 'Пејо', - 'Плавша', 'Познан', 'Познана', 'Првослав', 'Предраг', 'Прерад', 'Прибић', 'Продан', 'Продана', 'Прокопије', 'Пунан', 'Пуниша', - 'Пуреш', 'Пурко', 'Пуро', 'Рада', 'Радак', 'Радан', 'Радана', 'Радас', 'Радашин', 'Раден', 'Раденко', 'Радета', - 'Радивој', 'Радивоје', 'Радин', 'Радинка', 'Радинко', 'Радисав', 'Радица', 'Радич', 'Радиша', 'Радман', 'Радмила', 'Радмило', - 'Радна', 'Радоба', 'Радобуд', 'Радован', 'Радовац', 'Радоман', 'Радомир', 'Радосав', 'Радослав', 'Радослава', 'Радота', 'Радош', - 'Радоја', 'Радоје', 'Радојица', 'Радојка', 'Радојко', 'Радојло', 'Радоња', 'Радука', 'Радукан', 'Радул', 'Радула', 'Радулин', - 'Радун', 'Радунка', 'Радусин', 'Раин', 'Раица', 'Раич', 'Раичко', 'Рален', 'Ралета', 'Ранисав', 'Ранка', 'Ранко', - 'Раосав', 'Растислав', 'Растко', 'Ратибор', 'Ратко', 'Ратомир', 'Рафаило', 'Рацко', 'Рачета', 'Рашко', 'Рађен', 'Рајак', - 'Рајан', 'Рајка', 'Рајко', 'Рајна', 'Рајчета', 'Рекула', 'Ресан', 'Реља', 'Риста', 'Ристан', 'Ристивоје', 'Ристо', - 'Родољуб', 'Роксанда', 'Роса', 'Ружа', 'Ружица', 'Сава', 'Савка', 'Савко', 'Саво', 'Саздана', 'Самуило', 'Сандра', - 'Сара', 'Сања', 'Светибор', 'Светислав', 'Светислава', 'Светозар', 'Светолик', 'Светомир', 'Светорад', 'Светољуб', 'Свјетлана', 'Секана', - 'Секула', 'Селак', 'Сима', 'Симана', 'Симеон', 'Симеун', 'Симеуна', 'Симка', 'Симо', 'Симон', 'Симонида', 'Синиша', - 'Синђа', 'Синђел', 'Скоросав', 'Скоросава', 'Славен', 'Славенко', 'Славица', 'Славиша', 'Славка', 'Славко', 'Славна', 'Славо', - 'Славомир', 'Славојка', 'Славољуб', 'Славуј', 'Сладоје', 'Слађан', 'Слађана', 'Слободанка', 'Смиља', 'Смиљан', 'Смиљана', 'Смиљка', - 'Смиљко', 'Смољан', 'Смољана', 'Смољка', 'Снежана', 'Сока', 'Соко', 'Софија', 'Спасенија', 'Спасоја', 'Спасоје', 'Спиридон', - 'Споменка', 'Србислав', 'Србијанка', 'Србослав', 'Србољуб', 'Срдан', 'Средоја', 'Средоје', 'Сретен', 'Сретко', 'Срећан', 'Срећко', - 'Срђа', 'Стака', 'Стамена', 'Стаменка', 'Стаменко', 'Стана', 'Станава', 'Станача', 'Станимир', 'Станисав', 'Станисава', 'Станислава', - 'Станица', 'Станиша', 'Станија', 'Станка', 'Станко', 'Станоја', 'Станоје', 'Станојка', 'Станојко', 'Станојла', 'Станојло', 'Сташа', - 'Стајка', 'Стеван', 'Стевица', 'Стево', 'Степан', 'Стефан', 'Стоин', 'Стоисава', 'Стоић', 'Стоја', 'Стојадин', 'Стојак', - 'Стојан', 'Стојана', 'Стојанка', 'Стојка', 'Стојко', 'Стојмен', 'Стојна', 'Стојша', 'Страиња', 'Страхиња', 'Стјепан', 'Сузана', - 'Сњежана', 'Тадеј', 'Тадија', 'Танасије', 'Танацко', 'Танкоса', 'Танкосава', 'Тара', 'Татомир', 'Татјана', 'Тајана', 'Твртко', - 'Теа', 'Теодор', 'Теодосије', 'Теофил', 'Тешан', 'Тимотије', 'Тихомир', 'Тијана', 'Тодор', 'Тодора', 'Тома', 'Томанија', - 'Томаш', 'Томислав', 'Томица', 'Томо', 'Топлица', 'Трајан', 'Трајко', 'Тривун', 'Трипко', 'Трипун', 'Трифун', 'Трпко', - 'Убавка', 'Угљеша', 'Умиљен', 'Уна', 'Урош', 'Утешен', 'Утјешен', 'Фема', 'Хвалимир', 'Хвалислав', 'Хранимир', 'Хранислав', - 'Хранислава', 'Храниша', 'Храстимир', 'Христијан', 'Христослав', 'Цвета', 'Цветин', 'Цветко', 'Цветош', 'Цветоје', 'Цвејан', 'Цвико', - 'Цвијан', 'Цвијета', 'Цвијетин', 'Цвјетко', 'Цвјетош', 'Цвјетоје', 'Цурко', 'Чарна', 'Часлав', 'Чедомир', 'Чубрило', 'Шакота', - 'Шале', 'Шана', 'Шуменко', 'Шутан', - ]; + protected static $firstNameFemale = [ + 'Јована', + 'Александра', + 'Ангелина', + 'Антонина', + 'Биљана', + 'Влада', + 'Драгана', + 'Екатерина', + 'Елена', + 'Здравка', + 'Златка', + 'Ивана', + 'Ирена', + 'Ирина', + 'Кристина', + 'Лола', + 'Марина', + 'Марија', + 'Маша', + 'Милена', + 'Милица', + 'Мирослава', + 'Миљана', + 'Наташа', + 'Светлана', + 'Соња', + 'Тамара', + 'Тања', + 'Теодора', + // below are unknown gender firstnames + 'Ђенадије', + 'Ђоко', + 'Ђорђе', + 'Ђорђије', + 'Ђорђо', + 'Ђука', + 'Ђукан', + 'Ђура', + 'Ђурашин', + 'Ђурађ', + 'Ђурисав', + 'Ђурисава', + 'Ђурица', + 'Ђурко', + 'Ђуро', + 'Ђурђа', + 'Ђурђе', + 'Ђурђевка', + 'Ђурђица', + 'Ђурђија', + 'Јаблан', + 'Јаворка', + 'Јаворко', + 'Јагода', + 'Јагодинка', + 'Јагош', + 'Јадранка', + 'Јадранко', + 'Јаков', + 'Јакша', + 'Јана', + 'Јандре', + 'Јандрија', + 'Јанићије', + 'Јанко', + 'Јановка', + 'Јанча', + 'Јарослав', + 'Јасен', + 'Јасенко', + 'Јасмина', + 'Јасминка', + 'Јасна', + 'Јања', + 'Јевдокија', + 'Јеврем', + 'Јевросима', + 'Јевта', + 'Јевтан', + 'Јевтимије', + 'Јевто', + 'Језда', + 'Јездимир', + 'Јека', + 'Јела', + 'Јелача', + 'Јелашин', + 'Јелен', + 'Јелена', + 'Јеленка', + 'Јеленко', + 'Јелисава', + 'Јелисавета', + 'Јелисавка', + 'Јелисије', + 'Јелица', + 'Јелка', + 'Јеремија', + 'Јерко', + 'Јеротије', + 'Јефимија', + 'Јеша', + 'Јова', + 'Јован', + 'Јованка', + 'Јовица', + 'Јовиша', + 'Јовка', + 'Јовко', + 'Јово', + 'Јоко', + 'Јоксим', + 'Јоргованка', + 'Јордан', + 'Јорданка', + 'Јосиф', + 'Југомир', + 'Југослав', + 'Југољуб', + 'Јулија', + 'Јулијан', + 'Јулијана', + 'Јулка', + 'Јуноша', + 'Јуриша', + 'Јустин', + 'Љепава', + 'Љепосава', + 'Љиља', + 'Љиљан', + 'Љиљана', + 'Љуба', + 'Љубан', + 'Љубен', + 'Љубенко', + 'Љубивоје', + 'Љубинка', + 'Љубинко', + 'Љубисав', + 'Љубислав', + 'Љубица', + 'Љубиша', + 'Љубо', + 'Љубобрат', + 'Љубодраг', + 'Љубомир', + 'Љубомирка', + 'Љубосава', + 'Љубоја', + 'Љубоје', + 'Љупка', + 'Његомир', + 'Његомирка', + 'Његослава', + 'Његош', + 'Ћерана', + 'Ћира', + 'Ћирило', + 'Ћирко', + 'Ћиро', + 'Ћирјак', + 'Авакум', + 'Аврам', + 'Агница', + 'Агнија', + 'Адам', + 'Аделина', + 'Аксентије', + 'Алекса', + 'Александрон', + 'Алексеј', + 'Алексија', + 'Алексије', + 'Алимпије', + 'Ана', + 'Анастасија', + 'Анда', + 'Андреј', + 'Андреја', + 'Андрија', + 'Андријана', + 'Андријаш', + 'Аница', + 'Анка', + 'Анкица', + 'Антоније', + 'Анђа', + 'Анђела', + 'Анђелија', + 'Анђелка', + 'Анђелко', + 'Аранђел', + 'Арса', + 'Арсен', + 'Арсеније', + 'Арсо', + 'Атанасије', + 'Атанацко', + 'Аћим', + 'Балша', + 'Бане', + 'Батрић', + 'Бајко', + 'Бајо', + 'Бајчета', + 'Берисав', + 'Берислав', + 'Бериша', + 'Берко', + 'Бисенија', + 'Бисерка', + 'Бисерко', + 'Биљан', + 'Благица', + 'Благиња', + 'Благомир', + 'Благота', + 'Благојa', + 'Благоје', + 'Блажа', + 'Блажен', + 'Блаженка', + 'Блажо', + 'Блашко', + 'Богдан', + 'Богдана', + 'Богданка', + 'Богељ', + 'Богиша', + 'Богић', + 'Богобој', + 'Богосав', + 'Богослав', + 'Богоје', + 'Богољуб', + 'Божа', + 'Божана', + 'Божидар', + 'Божидарка', + 'Божин', + 'Божинка', + 'Божица', + 'Божићко', + 'Божо', + 'Боин', + 'Боица', + 'Бора', + 'Боривој', + 'Боривоје', + 'Борис', + 'Борисав', + 'Борислав', + 'Борислава', + 'Бориславка', + 'Бориша', + 'Борка', + 'Борко', + 'Боро', + 'Бороје', + 'Борјана', + 'Борјанка', + 'Боса', + 'Босиљка', + 'Бошко', + 'Бојан', + 'Бојана', + 'Бојко', + 'Бојо', + 'Бојчета', + 'Бранивој', + 'Бранивоје', + 'Бранимир', + 'Бранислава', + 'Бранка', + 'Бранкица', + 'Бранко', + 'Брано', + 'Братимир', + 'Братислав', + 'Братислава', + 'Братован', + 'Братољуб', + 'Брајан', + 'Брајица', + 'Брнча', + 'Будимир', + 'Будимирка', + 'Будимка', + 'Будисав', + 'Будислав', + 'Валерија', + 'Варвара', + 'Васа', + 'Василија', + 'Василије', + 'Василка', + 'Васиљ', + 'Васиљка', + 'Васко', + 'Васкрсија', + 'Васкрсије', + 'Васо', + 'Васоје', + 'Вајо', + 'Вања', + 'Векослав', + 'Велибор', + 'Велиборка', + 'Велизар', + 'Велимир', + 'Велинка', + 'Велисав', + 'Велисава', + 'Величко', + 'Велиша', + 'Вера', + 'Веран', + 'Верица', + 'Верка', + 'Вероника', + 'Верослава', + 'Верољуб', + 'Весела', + 'Веселин', + 'Веселинка', + 'Веско', + 'Весна', + 'Вељко', + 'Вид', + 'Вида', + 'Видак', + 'Видан', + 'Видач', + 'Виден', + 'Видосав', + 'Видосава', + 'Видоја', + 'Видоје', + 'Видојка', + 'Видојко', + 'Виктор', + 'Викторија', + 'Вилотије', + 'Виолета', + 'Витка', + 'Витко', + 'Витомир', + 'Витомирка', + 'Вишеслав', + 'Вишеслава', + 'Вишња', + 'Вићан', + 'Вићентије', + 'Владан', + 'Владана', + 'Владанка', + 'Владе', + 'Владета', + 'Владимирка', + 'Владисав', + 'Владислава', + 'Владица', + 'Владо', + 'Владоје', + 'Владун', + 'Влаислав', + 'Власије', + 'Власта', + 'Властимир', + 'Властимирка', + 'Влатка', + 'Влатко', + 'Влашко', + 'Влајко', + 'Воица', + 'Војдраг', + 'Војимир', + 'Војин', + 'Војислав', + 'Војислава', + 'Војка', + 'Војкан', + 'Војко', + 'Вранеш', + 'Вугдраг', + 'Вузман', + 'Вуило', + 'Вуин', + 'Вуица', + 'Вук', + 'Вукадин', + 'Вукало', + 'Вукан', + 'Вукана', + 'Вукас', + 'Вукац', + 'Вукач', + 'Вукашин', + 'Вукајло', + 'Вукаљ', + 'Вукеља', + 'Вукица', + 'Вукић', + 'Вукман', + 'Вукмир', + 'Вукмира', + 'Вукмиљ', + 'Вуко', + 'Вуковоје', + 'Вукола', + 'Вукоман', + 'Вукомир', + 'Вукосав', + 'Вукосава', + 'Вукослав', + 'Вукота', + 'Вукоје', + 'Вукојица', + 'Вуксан', + 'Вукша', + 'Вуле', + 'Вулета', + 'Вунко', + 'Вуча', + 'Вучан', + 'Вучен', + 'Вучета', + 'Вучина', + 'Вучић', + 'Вучко', + 'Вујадин', + 'Вујадинка', + 'Вујак', + 'Вујан', + 'Вујана', + 'Вујета', + 'Вујка', + 'Вујко', + 'Вујо', + 'Вујчета', + 'Вујчин', + 'Вјекослав', + 'Гавра', + 'Гаврила', + 'Гаврилка', + 'Гаврило', + 'Гача', + 'Гаја', + 'Гајин', + 'Гајо', + 'Гвозден', + 'Гвозденија', + 'Гвозденко', + 'Генадије', + 'Георгина', + 'Георгије', + 'Герасим', + 'Герман', + 'Глигорије', + 'Глиша', + 'Глишо', + 'Годеч', + 'Годомир', + 'Голуб', + 'Горана', + 'Горанка', + 'Гордан', + 'Гордана', + 'Горица', + 'Горчин', + 'Горјана', + 'Госпава', + 'Гостимир', + 'Гостољуб', + 'Гојко', + 'Градета', + 'Градимир', + 'Градиша', + 'Гргур', + 'Грдан', + 'Григорије', + 'Гријак', + 'Грозда', + 'Гроздан', + 'Гроздана', + 'Грубан', + 'Грубац', + 'Грубач', + 'Грубета', + 'Грубеша', + 'Грубиша', + 'Груја', + 'Грујица', + 'Грујо', + 'Дабижив', + 'Дабиша', + 'Дабо', + 'Давид', + 'Даворка', + 'Далиборка', + 'Дамјан', + 'Дамјанка', + 'Дамљан', + 'Дамљанка', + 'Дана', + 'Дане', + 'Даница', + 'Данијел', + 'Данка', + 'Данко', + 'Данојла', + 'Данчул', + 'Дара', + 'Даринка', + 'Дарио', + 'Дарије', + 'Даријо', + 'Дарко', + 'Дарјан', + 'Дафина', + 'Даша', + 'Дева', + 'Деса', + 'Десанка', + 'Десимир', + 'Деспина', + 'Деспиња', + 'Деспот', + 'Дејана', + 'Дивна', + 'Дикосава', + 'Димитрије', + 'Димчо', + 'Дмитар', + 'Дмитра', + 'Добрашин', + 'Добривој', + 'Добривоје', + 'Добрила', + 'Добрило', + 'Добринка', + 'Добринко', + 'Добрица', + 'Добрија', + 'Добровук', + 'Добросав', + 'Доброслав', + 'Докна', + 'Доко', + 'Доротеј', + 'Доротеја', + 'Доситеј', + 'Достана', + 'Дојчило', + 'Дојчин', + 'Драга', + 'Драгаш', + 'Драгица', + 'Драгиша', + 'Драгија', + 'Драгиња', + 'Драгић', + 'Драго', + 'Драгобрат', + 'Драгован', + 'Драгоман', + 'Драгомир', + 'Драгомира', + 'Драгорад', + 'Драгосав', + 'Драгослав', + 'Драгослава', + 'Драгош', + 'Драгоја', + 'Драгоје', + 'Драгојла', + 'Драгојло', + 'Драгољуб', + 'Драгутин', + 'Дража', + 'Дражета', + 'Дражо', + 'Драило', + 'Дракша', + 'Драшко', + 'Дрена', + 'Дренка', + 'Дрина', + 'Дринка', + 'Дубравац', + 'Дубравка', + 'Дубравко', + 'Дука', + 'Дукадин', + 'Душанка', + 'Душица', + 'Душка', + 'Душко', + 'Дујак', + 'Дуња', + 'Ева', + 'Евгенија', + 'Евгеније', + 'Евдокија', + 'Евица', + 'Емил', + 'Емилија', + 'Емилијан', + 'Емилије', + 'Ерак', + 'Жаклина', + 'Жанка', + 'Жарко', + 'Желимир', + 'Желимирка', + 'Жељана', + 'Жељка', + 'Жељко', + 'Жива', + 'Живадин', + 'Живадинка', + 'Живан', + 'Живана', + 'Живанка', + 'Живанко', + 'Живица', + 'Живка', + 'Живодарка', + 'Живомир', + 'Живорад', + 'Живоратка', + 'Живослава', + 'Живославка', + 'Живота', + 'Живојин', + 'Живољуб', + 'Жика', + 'Жикица', + 'Житомир', + 'Завида', + 'Завиша', + 'Зага', + 'Загорка', + 'Зарија', + 'Зарије', + 'Захарије', + 'Звездан', + 'Звездана', + 'Звездодраг', + 'Звездослав', + 'Звонимир', + 'Звонка', + 'Звонко', + 'Звјездан', + 'Звјездана', + 'Здравиша', + 'Здравко', + 'Злата', + 'Златан', + 'Златана', + 'Златибор', + 'Златица', + 'Златија', + 'Златко', + 'Златомир', + 'Златомирка', + 'Златосав', + 'Златоје', + 'Зора', + 'Зорана', + 'Зорислава', + 'Зорица', + 'Зорка', + 'Зринка', + 'Зринко', + 'Ива', + 'Иваниш', + 'Иванка', + 'Ивица', + 'Ивка', + 'Ивко', + 'Ивона', + 'Игор', + 'Игњат', + 'Игњатије', + 'Иконија', + 'Илинка', + 'Илија', + 'Исаило', + 'Исаија', + 'Исак', + 'Исидор', + 'Исидора', + 'Кадивка', + 'Кажимир', + 'Казимир', + 'Казимира', + 'Каменко', + 'Касија', + 'Ката', + 'Катарина', + 'Катица', + 'Кипријан', + 'Кирило', + 'Кована', + 'Ковина', + 'Ковиљка', + 'Ковиљко', + 'Козма', + 'Кокан', + 'Комнен', + 'Комненија', + 'Корнелије', + 'Косана', + 'Косара', + 'Косовка', + 'Коста', + 'Костадин', + 'Костадинка', + 'Коча', + 'Коштана', + 'Којадин', + 'Којадинка', + 'Којчин', + 'Крагуј', + 'Краисава', + 'Красимир', + 'Красоје', + 'Крајислав', + 'Крајчин', + 'Крсман', + 'Крсманија', + 'Крста', + 'Крстан', + 'Крстана', + 'Крстивоје', + 'Крстина', + 'Крсто', + 'Крунислав', + 'Крунослава', + 'Ксенија', + 'Кузман', + 'Кумодраг', + 'Лабуд', + 'Лаза', + 'Лазар', + 'Лазо', + 'Лака', + 'Лакета', + 'Лако', + 'Лале', + 'Лана', + 'Лара', + 'Латинка', + 'Лежимир', + 'Лела', + 'Лена', + 'Ленка', + 'Леонида', + 'Леонора', + 'Лепа', + 'Лепомир', + 'Лепосава', + 'Лепослав', + 'Лепоје', + 'Лидија', + 'Лиза', + 'Лила', + 'Лилијана', + 'Лозан', + 'Луна', + 'Луча', + 'Лучија', + 'Лујо', + 'Маврен', + 'Малета', + 'Малеш', + 'Малина', + 'Малинка', + 'Манда', + 'Мандуша', + 'Мане', + 'Манојло', + 'Мара', + 'Маринка', + 'Маринко', + 'Марица', + 'Марко', + 'Марта', + 'Марјан', + 'Матеј', + 'Матеја', + 'Матија', + 'Матијаш', + 'Мато', + 'Машан', + 'Машко', + 'Маја', + 'Мајда', + 'Медак', + 'Мила', + 'Миладин', + 'Миладија', + 'Милак', + 'Милана', + 'Миланка', + 'Миланко', + 'Милат', + 'Милаш', + 'Милашин', + 'Миле', + 'Милева', + 'Милен', + 'Миленко', + 'Милентије', + 'Милеса', + 'Милета', + 'Милеш', + 'Миливој', + 'Миливоје', + 'Милин', + 'Милина', + 'Милинко', + 'Милисав', + 'Милисава', + 'Милисавка', + 'Милија', + 'Милијан', + 'Милијана', + 'Милијаш', + 'Милић', + 'Милка', + 'Милкица', + 'Мило', + 'Милован', + 'Миломир', + 'Милорад', + 'Милосав', + 'Милосава', + 'Милосавка', + 'Милоја', + 'Милоје', + 'Милојица', + 'Милојка', + 'Милојко', + 'Милтен', + 'Милука', + 'Милун', + 'Милунка', + 'Милутин', + 'Милуш', + 'Милуша', + 'Миодраг', + 'Миомир', + 'Миомирка', + 'Мира', + 'Мирен', + 'Мирка', + 'Мирко', + 'Миро', + 'Миросав', + 'Миросава', + 'Мирољуб', + 'Мирчета', + 'Мирјана', + 'Митар', + 'Митра', + 'Михаило', + 'Михајло', + 'Мишко', + 'Мишо', + 'Мишљен', + 'Мија', + 'Мијаило', + 'Мијак', + 'Мијан', + 'Мијана', + 'Мијат', + 'Мијо', + 'Мијобрат', + 'Мијушко', + 'Миљ', + 'Миља', + 'Миљан', + 'Миљен', + 'Миљка', + 'Миљко', + 'Миљојко', + 'Миљурко', + 'Мића', + 'Мићан', + 'Мићо', + 'Младен', + 'Млађан', + 'Млађен', + 'Момир', + 'Момчило', + 'Мојсило', + 'Мркша', + 'Мрђан', + 'Мрђен', + 'Нада', + 'Надежда', + 'Надица', + 'Наталија', + 'Наум', + 'Нађа', + 'Најда', + 'Најдан', + 'Небојша', + 'Невен', + 'Невена', + 'Невенка', + 'Невенко', + 'Негован', + 'Негомир', + 'Неда', + 'Недељка', + 'Недељко', + 'Немања', + 'Ненад', + 'Нестор', + 'Нешко', + 'Неђељка', + 'Неђељко', + 'Никашин', + 'Никодим', + 'Никодије', + 'Никола', + 'Николета', + 'Николија', + 'Никша', + 'Нина', + 'Нинко', + 'Нино', + 'Нинослав', + 'Нишава', + 'Нићифор', + 'Новак', + 'Новица', + 'Новиша', + 'Новка', + 'Новко', + 'Ново', + 'Обрад', + 'Обрадин', + 'Обрадинка', + 'Обрен', + 'Обренија', + 'Обренко', + 'Обретен', + 'Огњан', + 'Огњана', + 'Огњен', + 'Озрен', + 'Озриша', + 'Олга', + 'Оливер', + 'Оливера', + 'Остоја', + 'Оља', + 'Пава', + 'Павија', + 'Павић', + 'Павко', + 'Павле', + 'Павлија', + 'Павлић', + 'Пантелија', + 'Паун', + 'Пауна', + 'Пелагија', + 'Пера', + 'Перица', + 'Периша', + 'Перо', + 'Перса', + 'Персида', + 'Перун', + 'Перунко', + 'Петак', + 'Петар', + 'Петко', + 'Петош', + 'Петоје', + 'Петра', + 'Петрашин', + 'Петрија', + 'Петроније', + 'Пејак', + 'Пејо', + 'Плавша', + 'Познан', + 'Познана', + 'Првослав', + 'Предраг', + 'Прерад', + 'Прибић', + 'Продан', + 'Продана', + 'Прокопије', + 'Пунан', + 'Пуниша', + 'Пуреш', + 'Пурко', + 'Пуро', + 'Рада', + 'Радак', + 'Радан', + 'Радана', + 'Радас', + 'Радашин', + 'Раден', + 'Раденко', + 'Радета', + 'Радивој', + 'Радивоје', + 'Радин', + 'Радинка', + 'Радинко', + 'Радисав', + 'Радица', + 'Радич', + 'Радиша', + 'Радман', + 'Радмила', + 'Радмило', + 'Радна', + 'Радоба', + 'Радобуд', + 'Радован', + 'Радовац', + 'Радоман', + 'Радомир', + 'Радосав', + 'Радослав', + 'Радослава', + 'Радота', + 'Радош', + 'Радоја', + 'Радоје', + 'Радојица', + 'Радојка', + 'Радојко', + 'Радојло', + 'Радоња', + 'Радука', + 'Радукан', + 'Радул', + 'Радула', + 'Радулин', + 'Радун', + 'Радунка', + 'Радусин', + 'Раин', + 'Раица', + 'Раич', + 'Раичко', + 'Рален', + 'Ралета', + 'Ранисав', + 'Ранка', + 'Ранко', + 'Раосав', + 'Растислав', + 'Растко', + 'Ратибор', + 'Ратко', + 'Ратомир', + 'Рафаило', + 'Рацко', + 'Рачета', + 'Рашко', + 'Рађен', + 'Рајак', + 'Рајан', + 'Рајка', + 'Рајко', + 'Рајна', + 'Рајчета', + 'Рекула', + 'Ресан', + 'Реља', + 'Риста', + 'Ристан', + 'Ристивоје', + 'Ристо', + 'Родољуб', + 'Роксанда', + 'Роса', + 'Ружа', + 'Ружица', + 'Сава', + 'Савка', + 'Савко', + 'Саво', + 'Саздана', + 'Самуило', + 'Сандра', + 'Сара', + 'Сања', + 'Светибор', + 'Светислав', + 'Светислава', + 'Светозар', + 'Светолик', + 'Светомир', + 'Светорад', + 'Светољуб', + 'Свјетлана', + 'Секана', + 'Секула', + 'Селак', + 'Сима', + 'Симана', + 'Симеон', + 'Симеун', + 'Симеуна', + 'Симка', + 'Симо', + 'Симон', + 'Симонида', + 'Синиша', + 'Синђа', + 'Синђел', + 'Скоросав', + 'Скоросава', + 'Славен', + 'Славенко', + 'Славица', + 'Славиша', + 'Славка', + 'Славко', + 'Славна', + 'Славо', + 'Славомир', + 'Славојка', + 'Славољуб', + 'Славуј', + 'Сладоје', + 'Слађан', + 'Слађана', + 'Слободанка', + 'Смиља', + 'Смиљан', + 'Смиљана', + 'Смиљка', + 'Смиљко', + 'Смољан', + 'Смољана', + 'Смољка', + 'Снежана', + 'Сока', + 'Соко', + 'Софија', + 'Спасенија', + 'Спасоја', + 'Спасоје', + 'Спиридон', + 'Споменка', + 'Србислав', + 'Србијанка', + 'Србослав', + 'Србољуб', + 'Срдан', + 'Средоја', + 'Средоје', + 'Сретен', + 'Сретко', + 'Срећан', + 'Срећко', + 'Срђа', + 'Стака', + 'Стамена', + 'Стаменка', + 'Стаменко', + 'Стана', + 'Станава', + 'Станача', + 'Станимир', + 'Станисав', + 'Станисава', + 'Станислава', + 'Станица', + 'Станиша', + 'Станија', + 'Станка', + 'Станко', + 'Станоја', + 'Станоје', + 'Станојка', + 'Станојко', + 'Станојла', + 'Станојло', + 'Сташа', + 'Стајка', + 'Стеван', + 'Стевица', + 'Стево', + 'Степан', + 'Стефан', + 'Стоин', + 'Стоисава', + 'Стоић', + 'Стоја', + 'Стојадин', + 'Стојак', + 'Стојан', + 'Стојана', + 'Стојанка', + 'Стојка', + 'Стојко', + 'Стојмен', + 'Стојна', + 'Стојша', + 'Страиња', + 'Страхиња', + 'Стјепан', + 'Сузана', + 'Сњежана', + 'Тадеј', + 'Тадија', + 'Танасије', + 'Танацко', + 'Танкоса', + 'Танкосава', + 'Тара', + 'Татомир', + 'Татјана', + 'Тајана', + 'Твртко', + 'Теа', + 'Теодор', + 'Теодосије', + 'Теофил', + 'Тешан', + 'Тимотије', + 'Тихомир', + 'Тијана', + 'Тодор', + 'Тодора', + 'Тома', + 'Томанија', + 'Томаш', + 'Томислав', + 'Томица', + 'Томо', + 'Топлица', + 'Трајан', + 'Трајко', + 'Тривун', + 'Трипко', + 'Трипун', + 'Трифун', + 'Трпко', + 'Убавка', + 'Угљеша', + 'Умиљен', + 'Уна', + 'Урош', + 'Утешен', + 'Утјешен', + 'Фема', + 'Хвалимир', + 'Хвалислав', + 'Хранимир', + 'Хранислав', + 'Хранислава', + 'Храниша', + 'Храстимир', + 'Христијан', + 'Христослав', + 'Цвета', + 'Цветин', + 'Цветко', + 'Цветош', + 'Цветоје', + 'Цвејан', + 'Цвико', + 'Цвијан', + 'Цвијета', + 'Цвијетин', + 'Цвјетко', + 'Цвјетош', + 'Цвјетоје', + 'Цурко', + 'Чарна', + 'Часлав', + 'Чедомир', + 'Чубрило', + 'Шакота', + 'Шале', + 'Шана', + 'Шуменко', + 'Шутан', + ]; - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B - */ - protected static $lastName = [ - 'Абаџић', 'Абдулић', 'Абрамић', 'Авалић', 'Авдулић', 'Аврић', 'Агуридић', 'Адамић', 'Азарић', 'Ајдачић', 'Ајдучић', 'Аксентић', 'Аксић', 'Алавантић', 'Аладић', 'Аларгић', 'Албијанић', 'Александрић', 'Алексендрић', 'Алексић', 'Алимпић', 'Аличић', 'Аљанчић', 'Амиџић', 'Ананић', 'Андић', 'Андрејић', 'Андријанић', 'Андрић', 'Андробић', 'Анђелић', 'Анђић', 'Анђушић', 'Анић', 'Аничић', 'Анкић', 'Анојчић', 'Анокић', 'Антић', 'Антонић', 'Анушић', 'Апелић', 'Апић', 'Арамбашић', 'Ардалић', 'Арсенић', 'Арсић', 'Атлагић', 'Аћимић', 'Аћић', 'Ацић', 'Ачић', 'Аџић', 'Ашкрабић', 'Ашћерић', 'Бабарогић', 'Бабић', 'Баварчић', 'Бавељић', 'Бадрић', 'Бајагић', 'Бајандић', 'Бајић', 'Бајичић', 'Бајкић', 'Бајчетић', 'Бајчић', 'Бакић', 'Балетић', 'Балотић', 'Балтић', 'Балшић', 'Банзић', 'Банић', 'Бантулић', 'Бањалић', 'Баралић', 'Барић', 'Баришић', 'Барошевчић', 'Басарић', 'Бастајић', 'Басташић', 'Батавељић', 'Батинић', 'Батножић', 'Баћић', 'Бацетић', 'Бачић', 'Бачкулић', 'Башић', 'Баштић', 'Бебић', 'Бегенишић', 'Бежанић', 'Бекчић', 'Беланчић', 'Белић', 'Белогрлић', 'Белодедић', 'Белонић', 'Бељић', 'Бендић', 'Берилажић', 'Берић', 'Беседић', 'Бесједић', 'Биберчић', 'Биберџић', 'Бибић', 'Бижић', 'Бизетић', 'Бизумић', 'Бијанић', 'Бијелић', 'Бијелонић', 'Билибајкић', 'Билић', 'Билкић', 'Биљић', 'Биљурић', 'Бинић', 'Биришић', 'Бисенић', 'Бисерић', 'Бисерчић', 'Бисић', 'Бјекић', 'Бјелетић', 'Бјелинић', 'Бјелић', 'Бјеличић', 'Бјелкић', 'Бјеловитић', 'Бјелогрлић', 'Бјелонић', 'Бјелотомић', 'Благић', 'Благотић', 'Блажарић', 'Блажетић', 'Блажић', 'Блатешић', 'Блендић', 'Блесић', 'Блечић', 'Блешић', 'Боберић', 'Бобић', 'Бобушић', 'Богатић', 'Богданић', 'Богетић', 'Богић', 'Богичић', 'Бодирогић', 'Бодирожић', 'Бодић', 'Бодрожић', 'Божанић', 'Божикић', 'Божић', 'Божичић', 'Бојадић', 'Бојанић', 'Бојић', 'Бојичић', 'Бојкић', 'Бојчетић', 'Бојчић', 'Боканић', 'Бокоњић', 'Болић', 'Болтић', 'Бољанић', 'Бонтић', 'Бонџић', 'Бонџулић', 'Борикић', 'Борић', 'Боричић', 'Боришић', 'Борјанић', 'Борокић', 'Боротић', 'Борчић', 'Босанчић', 'Босиљкић', 'Босиљчић', 'Босиорчић', 'Босиочић', 'Босић', 'Боснић', 'Боторић', 'Боцић', 'Боцокић', 'Бошњачић', 'Боштрунић', 'Брадарић', 'Брадић', 'Брадоњић', 'Брајић', 'Бралетић', 'Бралић', 'Бралушић', 'Бранчић', 'Братић', 'Братоножић', 'Брашић', 'Брдарић', 'Брежанчић', 'Брезић', 'Брекић', 'Брзић', 'Брисић', 'Брканлић', 'Бркић', 'Брндушић', 'Бродалић', 'Бродић', 'Броћић', 'Бруић', 'Брујић', 'Брукић', 'Бубић', 'Бубоњић', 'Бугарчић', 'Будалић', 'Будимкић', 'Будимчић', 'Будинчић', 'Будић', 'Будишић', 'Буднић', 'Будурић', 'Бузаретић', 'Бујагић', 'Бујандрић', 'Бујић', 'Бујишић', 'Бујуклић', 'Буказић', 'Буквић', 'Букелић', 'Буковчић', 'Букоњић', 'Букумирић', 'Букушић', 'Булајић', 'Булић', 'Буљубашић', 'Буљугић', 'Бумбић', 'Бунарџић', 'Бунић', 'Бунчић', 'Бургић', 'Бурић', 'Бурлић', 'Бусанчић', 'Буцкић', 'Бучић', 'Бушетић', 'Бушић', 'Вагић', 'Вагурић', 'Вајић', 'Вајкарић', 'Вакичић', 'Ванушић', 'Варагић', 'Вараклић', 'Вардалић', 'Варјачић', 'Варничић', 'Васелић', 'Василић', 'Васић', 'Вашалић', 'Векић', 'Велетић', 'Великић', 'Величић', 'Велишић', 'Вељанчић', 'Вељић', 'Вемић', 'Вербић', 'Вербункић', 'Вергић', 'Верић', 'Веркић', 'Веселић', 'Веселичић', 'Весић', 'Веснић', 'Видарић', 'Видачић', 'Видеканић', 'Видић', 'Вилендечић', 'Вилотић', 'Винокић', 'Винчић', 'Виорикић', 'Витакић', 'Витолић', 'Вићентић', 'Вишић', 'Владетић', 'Владић', 'Владичић', 'Владушић', 'Влајић', 'Влајнић', 'Влајчић', 'Влакетић', 'Власинић', 'Власоњић', 'Властић', 'Влачић', 'Влашкалић', 'Војичић', 'Војкић', 'Војчић', 'Воргић', 'Воркапић', 'Воћкић', 'Воштинић', 'Воштић', 'Вранић', 'Вранчић', 'Вратоњић', 'Врачарић', 'Врекић', 'Врећић', 'Врзић', 'Вртунић', 'Вругић', 'Вујанић', 'Вујанушић', 'Вујачић', 'Вујетић', 'Вујинић', 'Вујисић', 'Вујић', 'Вујичић', 'Вујнић', 'Вујчетић', 'Вуканић', 'Вукелић', 'Вукић', 'Вукоичић', 'Вукојичић', 'Вукојчић', 'Вуколић', 'Вукоманчић', 'Вукосавић', 'Вукотић', 'Вукшић', 'Вулетић', 'Вулешић', 'Вуликић', 'Вулић', 'Вулишић', 'Вуцелић', 'Вучелић', 'Вучендић', 'Вученић', 'Вучетић', 'Вучинић', 'Вучић', 'Гаварић', 'Гавранић', 'Гавранчић', 'Гаврић', 'Гагић', 'Гагричић', 'Гајанић', 'Гајетић', 'Гајић', 'Гајичић', 'Гајтанић', 'Галетић', 'Галић', 'Галонић', 'Галоњић', 'Гамбелић', 'Гарачић', 'Гардић', 'Гарић', 'Гаротић', 'Гатарић', 'Гачић', 'Гаџић', 'Гашић', 'Гвозденић', 'Гвоздић', 'Гвоић', 'Гвојић', 'Генчић', 'Герзић', 'Гиздавић', 'Гилић', 'Главендекић', 'Главинић', 'Главонић', 'Главоњић', 'Главчић', 'Гламочић', 'Гледић', 'Глежнић', 'Глибетић', 'Глигић', 'Глигорић', 'Глигурић', 'Глинтић', 'Глишић', 'Глогињић', 'Гломазић', 'Глувајић', 'Глумичић', 'Гмизић', 'Гњатић', 'Гобељић', 'Гогић', 'Гојгић', 'Гонцић', 'Горанић', 'Горанчић', 'Горданић', 'Гордић', 'Гороњић', 'Госпавић', 'Гостић', 'Гостојић', 'Гоцић', 'Гошњић', 'Грабић', 'Грабовчић', 'Градић', 'Грамић', 'Грандић', 'Гранолић', 'Гранулић', 'Граонић', 'Грашић', 'Грбић', 'Гречић', 'Гркинић', 'Грозданић', 'Гроздић', 'Гроканић', 'Громилић', 'Грубачић', 'Грубетић', 'Грубешић', 'Грубић', 'Грубишић', 'Грубјешић', 'Грубљешић', 'Грубнић', 'Гружанић', 'Грујанић', 'Грујић', 'Грујичић', 'Грумић', 'Губеринић', 'Гудурић', 'Гужвић', 'Гујаничић', 'Гурешић', 'Гуцонић', 'Гуџулић', 'Гушић', 'Дабарчић', 'Дабетић', 'Дабић', 'Давинић', 'Дајић', 'Дајлић', 'Дамјанић', 'Дангић', 'Дангубић', 'Даничић', 'Данојлић', 'Дардић', 'Дафунић', 'Дачић', 'Двокић', 'Дворанчић', 'Дворнић', 'Дебелногић', 'Девеџић', 'Дедић', 'Дејанић', 'Делић', 'Демић', 'Демоњић', 'Денић', 'Денкић', 'Денчић', 'Дерајић', 'Деретић', 'Дерикоњић', 'Дероњић', 'Десанчић', 'Деспенић', 'Деспинић', 'Деспић', 'Деурић', 'Дешић', 'Дивић', 'Дивнић', 'Дивчић', 'Дикић', 'Диклић', 'Дикосавић', 'Диманић', 'Димитрић', 'Димић', 'Димкић', 'Димчић', 'Динић', 'Динкић', 'Динчић', 'Дискић', 'Дичић', 'Добранић', 'Добратић', 'Добрић', 'Добричић', 'Довијанић', 'Доганџић', 'Догањић', 'Додић', 'Докић', 'Докнић', 'Долинић', 'Дончић', 'Доронтић', 'Достанић', 'Достић', 'Достичић', 'Дотлић', 'Дравић', 'Драганић', 'Драгинчић', 'Драгић', 'Драгишић', 'Драгољић', 'Драгоњић', 'Драгославић', 'Драготић', 'Драгушић', 'Дражић', 'Драјић', 'Дракулић', 'Драмлић', 'Дрангић', 'Драшкић', 'Дрезгић', 'Дрекић', 'Дренић', 'Дринић', 'Дринчић', 'Дружетић', 'Друлић', 'Дрчелић', 'Дубајић', 'Дубачкић', 'Дубоњић', 'Дугалић', 'Дугић', 'Дугоњић', 'Дудић', 'Дукић', 'Думањић', 'Думељић', 'Думитрикић', 'Думнић', 'Думонић', 'Дунчић', 'Дуњић', 'Дуроњић', 'Дучић', 'Душанић', 'Ђајић', 'Ђакушић', 'Ђапић', 'Ђекић', 'Ђелић', 'Ђелкапић', 'Ђенадић', 'Ђенисић', 'Ђенић', 'Ђерић', 'Ђикић', 'Ђинђић', 'Ђокић', 'Ђорђић', 'Ђорић', 'Ђузић', 'Ђујић', 'Ђукарић', 'Ђукелић', 'Ђукетић', 'Ђукић', 'Ђукнић', 'Ђурагић', 'Ђуракић', 'Ђурђић', 'Ђуретић', 'Ђурић', 'Ђуричић', 'Ђуришић', 'Ђуркић', 'Ђусић', 'Евђенић', 'Егарић', 'Егерић', 'Егић', 'Екмечић', 'Екмеџић', 'Ергић', 'Еремић', 'Ерић', 'Ерлетић', 'Ерчић', 'Жагрић', 'Жарић', 'Жаркић', 'Жепинић', 'Жеравић', 'Жеравчић', 'Жерајић', 'Жестић', 'Живанић', 'Живанкић', 'Живић', 'Животић', 'Жигић', 'Жижић', 'Жикелић', 'Жикић', 'Жилетић', 'Жилић', 'Жмирић', 'Жмукић', 'Жмурић', 'Жугић', 'Жунић', 'Жутић', 'Жутобрадић', 'Забурнић', 'Завишић', 'Загорчић', 'Закић', 'Запукић', 'Зарадић', 'Зарић', 'Затежић', 'Захарић', 'Збиљић', 'Звекић', 'Звиздић', 'Здравић', 'Здујић', 'Зебић', 'Зекавичић', 'Зекић', 'Зелић', 'Зимоњић', 'Зинаић', 'Зинајић', 'Зисић', 'Зјајић', 'Зјалић', 'Зјачић', 'Златић', 'Зличић', 'Зловарић', 'Зојкић', 'Зокић', 'Золотић', 'Зорбић', 'Зорић', 'Зоричић', 'Зоркић', 'Зракић', 'Зрилић', 'Зрнић', 'Зубић', 'Зурнић', 'Ибрић', 'Иванић', 'Ивантић', 'Иванчић', 'Ивезић', 'Иветић', 'Ивић', 'Ивичић', 'Ивуцић', 'Игић', 'Игњатић', 'Игњић', 'Ијачић', 'Икић', 'Иконић', 'Илибашић', 'Илијић', 'Иликић', 'Илинчић', 'Илисић', 'Илић', 'Иличић', 'Илкић', 'Инђић', 'Ирић', 'Ичелић', 'Јабланчић', 'Јаворић', 'Јагличић', 'Јагодић', 'Јакић', 'Јакишић', 'Јаконић', 'Јакшић', 'Јалић', 'Јандрић', 'Јаникић', 'Јанић', 'Јаничић', 'Јанкелић', 'Јанкић', 'Јанојкић', 'Јанчић', 'Јанчурић', 'Јањић', 'Јањушић', 'Јарић', 'Јаснић', 'Јашић', 'Јевдоксић', 'Јевђенић', 'Јеверичић', 'Јевић', 'Јеврић', 'Јевтић', 'Јегдић', 'Јездић', 'Језеркић', 'Јелачић', 'Јелашић', 'Јеленић', 'Јелесић', 'Јеликић', 'Јелисавчић', 'Јелисић', 'Јелић', 'Јеличић', 'Јелушић', 'Јенић', 'Јергић', 'Јеремић', 'Јеринић', 'Јеринкић', 'Јеросимић', 'Јеротић', 'Јерчић', 'Јесретић', 'Јестротић', 'Јефтенић', 'Јефтић', 'Јечменић', 'Јешић', 'Јовакарић', 'Јовандић', 'Јованетић', 'Јованић', 'Јованкић', 'Јованчић', 'Јоваџић', 'Јовелић', 'Јовељић', 'Јоветић', 'Јовешић', 'Јовикић', 'Јовић', 'Јовичић', 'Јовишић', 'Јовкић', 'Јовонић', 'Јовчић', 'Јозић', 'Јојић', 'Јојчић', 'Јокић', 'Јокичић', 'Јоксић', 'Јолић', 'Јоникић', 'Јонић', 'Јоничић', 'Јонкић', 'Јонтић', 'Јончић', 'Јоргић', 'Јоргонић', 'Јосић', 'Јоцић', 'Јузбашић', 'Јукић', 'Јунгић', 'Јуришић', 'Јушкић', 'Кавалић', 'Кајганић', 'Калабић', 'Калајић', 'Калајџић', 'Календић', 'Каленић', 'Калинић', 'Камперелић', 'Кандић', 'Канлић', 'Кањерић', 'Каравидић', 'Карагић', 'Карајчић', 'Караклајић', 'Каралеић', 'Каралејић', 'Каралић', 'Карапанџић', 'Каратошић', 'Караулић', 'Караџић', 'Карић', 'Каришић', 'Карличић', 'Катанић', 'Катић', 'Каћурић', 'Качаниклић', 'Кашерић', 'Квргић', 'Кендришић', 'Кентрић', 'Кепић', 'Кесић', 'Кечкић', 'Кијачић', 'Кимчетић', 'Киселчић', 'Китанић', 'Китић', 'Китоњић', 'Кичић', 'Клевернић', 'Клепић', 'Клинић', 'Клипић', 'Клисарић', 'Клисурић', 'Кличарић', 'Кљајић', 'Кљакић', 'Кнежић', 'Кованушић', 'Кованџић', 'Коварбашић', 'Ковачић', 'Ковинић', 'Ковинчић', 'Ковјанић', 'Ковјенић', 'Ковљенић', 'Козић', 'Којанић', 'Којић', 'Којичић', 'Којчић', 'Којунџић', 'Колавчић', 'Коларић', 'Колачарић', 'Количић', 'Колунџић', 'Кољанчић', 'Комадинић', 'Комарчић', 'Комленић', 'Комненић', 'Кондић', 'Контић', 'Концулић', 'Коњикушић', 'Кораксић', 'Кордић', 'Коругић', 'Коружић', 'Косанић', 'Косић', 'Коснић', 'Косорић', 'Костић', 'Котарлић', 'Котлајић', 'Кочић', 'Коџопељић', 'Кошарић', 'Кошпић', 'Кошутић', 'Краварушић', 'Кравић', 'Крагић', 'Краинчанић', 'Крантић', 'Красавчић', 'Красић', 'Крезић', 'Крејић', 'Кремић', 'Кремоњић', 'Крестић', 'Кривошић', 'Кркељић', 'Кркић', 'Кркобабић', 'Крнетић', 'Крњајић', 'Крњеушић', 'Кромпић', 'Кротић', 'Крпић', 'Крсманић', 'Крсмић', 'Крстајић', 'Крстеканић', 'Крстинић', 'Крстић', 'Крстичић', 'Крстонић', 'Крстоношић', 'Кртинић', 'Крунић', 'Крушкоњић', 'Кршић', 'Кувељић', 'Кудрић', 'Кузмић', 'Кујавић', 'Кујачић', 'Кујунџић', 'Кукрић', 'Кулезић', 'Кулизић', 'Кулишић', 'Кулунџић', 'Куљанчић', 'Куљић', 'Кумрић', 'Курељушић', 'Курилић', 'Курсулић', 'Куруцић', 'Курчубић', 'Кусонић', 'Кусоњић', 'Кустурић', 'Кутлачић', 'Кутлешић', 'Кушић', 'Кушљић', 'Лаботић', 'Лаврнић', 'Лажетић', 'Лазендић', 'Лазетић', 'Лазић', 'Лазичић', 'Лазукић', 'Лајшић', 'Лакетић', 'Лакић', 'Лалић', 'Ламбић', 'Лапчић', 'Ластић', 'Латинчић', 'Лебурић', 'Лежаић', 'Лежајић', 'Леканић', 'Лекић', 'Лемаић', 'Лемајић', 'Лепосавић', 'Лесендрић', 'Лечић', 'Лештарић', 'Лијескић', 'Ликодрић', 'Ликушић', 'Лилић', 'Липовчић', 'Лисичић', 'Лишанчић', 'Ловрић', 'Лозанић', 'Лојаничић', 'Лолић', 'Ломић', 'Лопандић', 'Лубардић', 'Лубинић', 'Лубурић', 'Лугоњић', 'Лужаић', 'Лужајић', 'Лукајић', 'Лукачић', 'Лукендић', 'Лукић', 'Лукичић', 'Лунић', 'Луткић', 'Лучић', 'Љамић', 'Љеганушић', 'Љотић', 'Љубанић', 'Љубић', 'Љубичић', 'Љубишић', 'Љушић', 'Љушкић', 'Маглић', 'Мајкић', 'Макарић', 'Макивић', 'Макрагић', 'Максић', 'Малавразић', 'Малбашић', 'Маленчић', 'Малетић', 'Малешић', 'Малинић', 'Малишић', 'Малобабић', 'Малушић', 'Маљугић', 'Маљчић', 'Мандарић', 'Мандинић', 'Мандић', 'Мандушић', 'Манић', 'Манчић', 'Мањенчић', 'Маравић', 'Маринчић', 'Марић', 'Маричић', 'Маркагић', 'Маркелић', 'Маркељић', 'Маркулић', 'Мародић', 'Мартић', 'Марунић', 'Марункић', 'Марушић', 'Марчетић', 'Марчић', 'Масалушић', 'Масларић', 'Маслић', 'Масловарић', 'Матаругић', 'Матејић', 'Матерић', 'Матић', 'Матичић', 'Матушић', 'Маћешић', 'Маћић', 'Мачић', 'Мачкић', 'Мачужић', 'Машић', 'Медић', 'Медурић', 'Мектић', 'Месулић', 'Мијалчић', 'Мијанић', 'Мијачић', 'Мијић', 'Мијуцић', 'Микарић', 'Микелић', 'Микетић', 'Микић', 'Микичић', 'Микоњић', 'Микулић', 'Миладић', 'Милакић', 'Милачић', 'Милекић', 'Миленић', 'Милетић', 'Милеуснић', 'Милешић', 'Милијић', 'Миликић', 'Миликшић', 'Милинић', 'Милинчић', 'Милисавић', 'Миличић', 'Милић', 'Милишић', 'Милкић', 'Милоичић', 'Милојић', 'Милојичић', 'Милојкић', 'Милојчић', 'Милотић', 'Милунић', 'Милушић', 'Милчић', 'Миљанић', 'Миндић', 'Минић', 'Минчић', 'Миовчић', 'Миоданић', 'Мионић', 'Миражић', 'Мирић', 'Мирјанић', 'Миркић', 'Миросавић', 'Мирчетић', 'Мирчић', 'Мисојчић', 'Митић', 'Митранић', 'Митреканић', 'Митрић', 'Митрушић', 'Мићић', 'Михаљчић', 'Михољчић', 'Мишељић', 'Мишић', 'Мишкић', 'Мишурић', 'Младић', 'Млаџић', 'Мојсић', 'Мокрић', 'Момић', 'Морачић', 'Моретић', 'Мороквашић', 'Мотичић', 'Мракић', 'Мрачић', 'Мрдић', 'Мркић', 'Мркоњић', 'Мркушић', 'Мркшић', 'Мудринић', 'Мудрић', 'Мунишић', 'Мурганић', 'Мутавџић', 'Мутибарић', 'Мучибабић', 'Мушикић', 'Навалушић', 'Наградић', 'Нагулић', 'Надашкић', 'Најдић', 'Најкић', 'Накаламић', 'Накић', 'Наранчић', 'Наранџић', 'Настасић', 'Настић', 'Небригић', 'Невајдић', 'Невенић', 'Негоицић', 'Нединић', 'Недић', 'Некић', 'Немањић', 'Ненадић', 'Ненић', 'Неоричић', 'Нешић', 'Никезић', 'Никетић', 'Никитић', 'Николетић', 'Николешић', 'Николић', 'Николчић', 'Никшић', 'Нинић', 'Нинчић', 'Ничић', 'Нишавић', 'Нишић', 'Новалушић', 'Новарлић', 'Новачикић', 'Новић', 'Новичић', 'Новчић', 'Ножинић', 'Нојкић', 'Његић', 'Његрић', 'Њежић', 'Обренић', 'Одавић', 'Озимић', 'Ојданић', 'Ојкић', 'Окетић', 'Околић', 'Окулић', 'Оларић', 'Олић', 'Олујић', 'Ољачић', 'Опалић', 'Опарушић', 'Опачић', 'Оприкић', 'Опрић', 'Оприцић', 'Ораовчић', 'Орландић', 'Орлић', 'Осмајлић', 'Остојић', 'Оцокољић', 'Оџић', 'Павић', 'Павичић', 'Павлекић', 'Павличић', 'Павчић', 'Падић', 'Пајагић', 'Пајић', 'Пајичић', 'Пајкић', 'Пајтић', 'Палалић', 'Палангетић', 'Палигорић', 'Палић', 'Панинчић', 'Панић', 'Панишић', 'Пантелић', 'Пантић', 'Панчић', 'Панџић', 'Папић', 'Папрић', 'Папулић', 'Параментић', 'Параушић', 'Париводић', 'Парлић', 'Паројчић', 'Патрногић', 'Паунић', 'Пашић', 'Пејић', 'Пејичић', 'Пејушић', 'Пејчић', 'Пелагић', 'Пендић', 'Пенезић', 'Пенчић', 'Пепић', 'Перенић', 'Перић', 'Перичић', 'Перишић', 'Перјаничић', 'Перкић', 'Перотић', 'Перуничић', 'Перчић', 'Петканић', 'Петрикић', 'Петрић', 'Петричић', 'Петронић', 'Петрушић', 'Пеулић', 'Пецић', 'Печеничић', 'Пешић', 'Пикић', 'Пилиндавић', 'Пиљагић', 'Пиперчић', 'Пириватрић', 'Пирић', 'Писарић', 'Питулић', 'Пјанић', 'Пјевић', 'Плавић', 'Плавкић', 'Плављанић', 'Плавшић', 'Плазинић', 'Планинчић', 'Планић', 'Платанић', 'Плачић', 'Племић', 'Плескоњић', 'Плећић', 'Плинтић', 'Плиснић', 'Плоскић', 'Плочић', 'Пљакић', 'Пљеваљчић', 'Побулић', 'Подинић', 'Подрашчић', 'Подрић', 'Познанић', 'Познић', 'Појкић', 'Полић', 'Поломчић', 'Полугић', 'Поњавић', 'Поп Лазић', 'Попадић', 'Попарић', 'Попчић', 'Потребић', 'Поштић', 'Правдић', 'Пражић', 'Предић', 'Прекић', 'Прелић', 'Прендић', 'Прешић', 'Пржић', 'Прибић', 'Прибишић', 'Пригодић', 'Пријић', 'Прикић', 'Пришић', 'Проданић', 'Прокић', 'Прокопић', 'Пролић', 'Протић', 'Прошић', 'Пругинић', 'Прунић', 'Пршендић', 'Пуалић', 'Пувалић', 'Пувачић', 'Пударић', 'Пунишић', 'Пурешић', 'Пурић', 'Пуришић', 'Пуслојић', 'Пушељић', 'Равилић', 'Раданчић', 'Радељић', 'Радетић', 'Радешић', 'Радивојшић', 'Радикић', 'Радисавић', 'Радић', 'Радичић', 'Радишић', 'Раднић', 'Радоичић', 'Радојичић', 'Радојкић', 'Радојчић', 'Радонић', 'Радоњић', 'Радосавкић', 'Радотић', 'Радукић', 'Радулић', 'Радуљчић', 'Радуцић', 'Радушић', 'Разуменић', 'Раилић', 'Раичић', 'Рајачић', 'Рајић', 'Рајичић', 'Рајлић', 'Рајчетић', 'Рајчић', 'Рајшић', 'Ракезић', 'Ракетић', 'Ракинић', 'Ракитић', 'Ракић', 'Раконић', 'Ралетић', 'Ралић', 'Раљић', 'Рамић', 'Ранђић', 'Ранисавић', 'Ранкић', 'Ранчић', 'Раонић', 'Рапаић', 'Рапајић', 'Расулић', 'Раткелић', 'Раулић', 'Рацић', 'Рачић', 'Рашетић', 'Рашић', 'Рашљић', 'Регодић', 'Регулић', 'Рекалић', 'Рељић', 'Реметић', 'Рендулић', 'Репашић', 'Ресимић', 'Реџић', 'Рибарић', 'Рибошкић', 'Риђошић', 'Ризнић', 'Ринчић', 'Рисимић', 'Ристанић', 'Ристић', 'Рмандић', 'Рнић', 'Рогић', 'Роглић', 'Рогоњић', 'Рогулић', 'Родић', 'Розгић', 'Роквић', 'Рокнић', 'Роксандић', 'Роксић', 'Рољић', 'Романић', 'Ромић', 'Росић', 'Рошкић', 'Рувидић', 'Рудић', 'Рудоњић', 'Ружић', 'Ружичић', 'Ружојчић', 'Руменић', 'Рундић', 'Руњајић', 'Русалић', 'Рутешић', 'Рутонић', 'Рушкић', 'Сабљић', 'Савандић', 'Саватић', 'Савелић', 'Савељић', 'Савић', 'Савичић', 'Савкић', 'Савурдић', 'Савчић', 'Салатић', 'Самарџић', 'Сандић', 'Сапардић', 'Сарамандић', 'Сарић', 'Сатарић', 'Светличић', 'Свиларић', 'Својић', 'Секанић', 'Секулић', 'Селенић', 'Сендрић', 'Сенић', 'Сеничић', 'Сентић', 'Сетенчић', 'Сибинкић', 'Сибинчић', 'Сикимић', 'Симанић', 'Симендић', 'Симетић', 'Симић', 'Симурдић', 'Синђелић', 'Синђић', 'Синкић', 'Ситничић', 'Сјеничић', 'Скакић', 'Скелић', 'Скенџић', 'Скерлић', 'Скокић', 'Скочајић', 'Скочић', 'Скробић', 'Скулић', 'Славић', 'Славнић', 'Сладић', 'Словић', 'Смилић', 'Смиљанић', 'Смиљић', 'Смиљкић', 'Смољанић', 'Смрекић', 'Соврлић', 'Совтић', 'Сојкић', 'Сокић', 'Сокнић', 'Солдатић', 'Сорајић', 'Соскић', 'Софијанић', 'Софранић', 'Софренић', 'Софронић', 'Спаић', 'Спакић', 'Спарић', 'Спасенић', 'Спасић', 'Спенчић', 'Сперлић', 'Спирић', 'Спремић', 'Спужић', 'Средић', 'Сретић', 'Ставрић', 'Стајић', 'Стајкић', 'Стајчић', 'Стајшић', 'Стакић', 'Стакушић', 'Стаматић', 'Стамболић', 'Стаменић', 'Стаменчић', 'Станарчић', 'Станетић', 'Станикић', 'Станисавић', 'Станић', 'Станичић', 'Станишић', 'Станкић', 'Становчић', 'Станојчић', 'Станушић', 'Станчетић', 'Станчић', 'Сташић', 'Стевандић', 'Стеванетић', 'Стеванић', 'Стевелић', 'Стевић', 'Стевчић', 'Стегић', 'Стегњаић', 'Стегњајић', 'Стекић', 'Стељић', 'Степандић', 'Степанић', 'Степић', 'Стијачић', 'Стијепић', 'Стикић', 'Стјепић', 'Стожинић', 'Стојанић', 'Стојанкић', 'Стојанчић', 'Стојачић', 'Стојић', 'Стојичић', 'Стојкић', 'Стојнић', 'Стојчић', 'Стојшић', 'Стоканић', 'Стокић', 'Столић', 'Стопарић', 'Стопић', 'Стошић', 'Страјнић', 'Страхинић', 'Страхињић', 'Стринић', 'Суботић', 'Сувајџић', 'Суменић', 'Сунарић', 'Сурлић', 'Суручић', 'Тадић', 'Тајсић', 'Таминџић', 'Танасић', 'Танић', 'Танкосић', 'Танчић', 'Тарабић', 'Тасић', 'Татишић', 'Тврдишић', 'Теодосић', 'Тепић', 'Тепшић', 'Терзић', 'Теслић', 'Тешанић', 'Тешанкић', 'Тешендић', 'Тешинић', 'Тешић', 'Тијанић', 'Тимилић', 'Тимотић', 'Тирић', 'Тирнанић', 'Тмушић', 'Товаришић', 'Тодић', 'Тодорић', 'Тодосић', 'Тојић', 'Токалић', 'Тољагић', 'Томанић', 'Томецић', 'Томинчић', 'Томић', 'Томичић', 'Томоњић', 'Томчић', 'Тонтић', 'Тончић', 'Топић', 'Топличић', 'Тополић', 'Тоскић', 'Тошанић', 'Тошић', 'Траворић', 'Трапарић', 'Тренчић', 'Тривалић', 'Тривић', 'Тривунић', 'Тривунчић', 'Тријић', 'Трикић', 'Триндић', 'Трипић', 'Трифуњагић', 'Тришић', 'Трмчић', 'Трнинић', 'Трнић', 'Трошић', 'Трубајић', 'Трудић', 'Трујић', 'Трујкић', 'Тубоњић', 'Тукелић', 'Тумарић', 'Тупајић', 'Турајлић', 'Турнић', 'Турудић', 'Турунчић', 'Тутић', 'Туторић', 'Тутулић', 'Туфегџић', 'Туцић', 'Ћајић', 'Ћалић', 'Ћатић', 'Ћебић', 'Ћелић', 'Ћеранић', 'Ћипранић', 'Ћирић', 'Ћирјанић', 'Ћојбашић', 'Ћопић', 'Ћорић', 'Ћосић', 'Ћуић', 'Ћујић', 'Ћупић', 'Ћурдић', 'Ћурић', 'Ћурчић', 'Ћушић', 'Убавић', 'Убавкић', 'Увалић', 'Уверић', 'Угљешић', 'Угринић', 'Угринчић', 'Угричић', 'Удовичић', 'Удовчић', 'Умељић', 'Уметић', 'Умиљендић', 'Уршикић', 'Устић', 'Утвић', 'Ушендић', 'Фаркић', 'Фатић', 'Фемић', 'Филипић', 'Фотирић', 'Фотић', 'Фртунић', 'Хаџи Антић', 'Хаџи Јованчић', 'Хаџи Николић', 'Хаџи Ристић', 'Хаџи Танчић', 'Хаџић', 'Хинић', 'Христић', 'Цајић', 'Цакић', 'Царић', 'Царичић', 'Цвејић', 'Цветић', 'Цвијетић', 'Цвијић', 'Цвикић', 'Цвишић', 'Ценић', 'Ценкић', 'Цивишић', 'Циврић', 'Циглић', 'Циклушић', 'Цицварић', 'Цмиљанић', 'Цмолић', 'Цонић', 'Црновчић', 'Цуканић', 'Цукић', 'Цупарић', 'Чабрић', 'Чавић', 'Чајић', 'Чаленић', 'Чалић', 'Чамагић', 'Чантрић', 'Чапрњић', 'Чарапић', 'Чарнић', 'Чвокић', 'Чворић', 'Челекетић', 'Чемерикић', 'Чечарић', 'Чивчић', 'Чикарић', 'Чикић', 'Чиплић', 'Чипчић', 'Чичић', 'Чковрић', 'Чобелић', 'Чобељић', 'Човић', 'Чојић', 'Чојчић', 'Чоланић', 'Чолић', 'Чомић', 'Чонкић', 'Чоњагић', 'Чорбић', 'Чотрић', 'Чочурић', 'Чубрић', 'Чудић', 'Чукарић', 'Чукић', 'Чумић', 'Чупељић', 'Чуперкић', 'Чупић', 'Чутурић', 'Џаврић', 'Џајић', 'Џамбић', 'Џаџић', 'Џелебџић', 'Џикић', 'Џинић', 'Џодић', 'Џомбић', 'Џомић', 'Џонић', 'Шакић', 'Шакотић', 'Шалинић', 'Шаматић', 'Шантић', 'Шапић', 'Шапонић', 'Шапоњић', 'Шапурић', 'Шаранчић', 'Шарић', 'Шаркић', 'Шароњић', 'Шашић', 'Швабић', 'Шеварлић', 'Шевић', 'Шевкушић', 'Шестић', 'Шибалић', 'Шијакињић', 'Шијачић', 'Шиканић', 'Шикањић', 'Шимшић', 'Шипетић', 'Шишић', 'Шкобић', 'Шкодрић', 'Шкондрић', 'Шкорић', 'Шкрбић', 'Шкребић', 'Шкулић', 'Шкундрић', 'Шљапић', 'Шљивић', 'Шљукић', 'Шмигић', 'Шобајић', 'Шобачић', 'Шоргић', 'Шошкић', 'Шпирић', 'Штакић', 'Штулић', 'Шубакић', 'Шубарић', 'Шубић', 'Шулеић', 'Шулејић', 'Шулетић', 'Шулкић', 'Шулубурић', 'Шуљагић', 'Шуматић', 'Шундерић', 'Шункић', 'Шуњеварић', 'Шутуљић', 'Шушић', 'Шушулић', - ]; + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B + */ + protected static $lastName = [ + 'Абаџић', + 'Абдулић', + 'Абрамић', + 'Авалић', + 'Авдулић', + 'Аврић', + 'Агуридић', + 'Адамић', + 'Азарић', + 'Ајдачић', + 'Ајдучић', + 'Аксентић', + 'Аксић', + 'Алавантић', + 'Аладић', + 'Аларгић', + 'Албијанић', + 'Александрић', + 'Алексендрић', + 'Алексић', + 'Алимпић', + 'Аличић', + 'Аљанчић', + 'Амиџић', + 'Ананић', + 'Андић', + 'Андрејић', + 'Андријанић', + 'Андрић', + 'Андробић', + 'Анђелић', + 'Анђић', + 'Анђушић', + 'Анић', + 'Аничић', + 'Анкић', + 'Анојчић', + 'Анокић', + 'Антић', + 'Антонић', + 'Анушић', + 'Апелић', + 'Апић', + 'Арамбашић', + 'Ардалић', + 'Арсенић', + 'Арсић', + 'Атлагић', + 'Аћимић', + 'Аћић', + 'Ацић', + 'Ачић', + 'Аџић', + 'Ашкрабић', + 'Ашћерић', + 'Бабарогић', + 'Бабић', + 'Баварчић', + 'Бавељић', + 'Бадрић', + 'Бајагић', + 'Бајандић', + 'Бајић', + 'Бајичић', + 'Бајкић', + 'Бајчетић', + 'Бајчић', + 'Бакић', + 'Балетић', + 'Балотић', + 'Балтић', + 'Балшић', + 'Банзић', + 'Банић', + 'Бантулић', + 'Бањалић', + 'Баралић', + 'Барић', + 'Баришић', + 'Барошевчић', + 'Басарић', + 'Бастајић', + 'Басташић', + 'Батавељић', + 'Батинић', + 'Батножић', + 'Баћић', + 'Бацетић', + 'Бачић', + 'Бачкулић', + 'Башић', + 'Баштић', + 'Бебић', + 'Бегенишић', + 'Бежанић', + 'Бекчић', + 'Беланчић', + 'Белић', + 'Белогрлић', + 'Белодедић', + 'Белонић', + 'Бељић', + 'Бендић', + 'Берилажић', + 'Берић', + 'Беседић', + 'Бесједић', + 'Биберчић', + 'Биберџић', + 'Бибић', + 'Бижић', + 'Бизетић', + 'Бизумић', + 'Бијанић', + 'Бијелић', + 'Бијелонић', + 'Билибајкић', + 'Билић', + 'Билкић', + 'Биљић', + 'Биљурић', + 'Бинић', + 'Биришић', + 'Бисенић', + 'Бисерић', + 'Бисерчић', + 'Бисић', + 'Бјекић', + 'Бјелетић', + 'Бјелинић', + 'Бјелић', + 'Бјеличић', + 'Бјелкић', + 'Бјеловитић', + 'Бјелогрлић', + 'Бјелонић', + 'Бјелотомић', + 'Благић', + 'Благотић', + 'Блажарић', + 'Блажетић', + 'Блажић', + 'Блатешић', + 'Блендић', + 'Блесић', + 'Блечић', + 'Блешић', + 'Боберић', + 'Бобић', + 'Бобушић', + 'Богатић', + 'Богданић', + 'Богетић', + 'Богић', + 'Богичић', + 'Бодирогић', + 'Бодирожић', + 'Бодић', + 'Бодрожић', + 'Божанић', + 'Божикић', + 'Божић', + 'Божичић', + 'Бојадић', + 'Бојанић', + 'Бојић', + 'Бојичић', + 'Бојкић', + 'Бојчетић', + 'Бојчић', + 'Боканић', + 'Бокоњић', + 'Болић', + 'Болтић', + 'Бољанић', + 'Бонтић', + 'Бонџић', + 'Бонџулић', + 'Борикић', + 'Борић', + 'Боричић', + 'Боришић', + 'Борјанић', + 'Борокић', + 'Боротић', + 'Борчић', + 'Босанчић', + 'Босиљкић', + 'Босиљчић', + 'Босиорчић', + 'Босиочић', + 'Босић', + 'Боснић', + 'Боторић', + 'Боцић', + 'Боцокић', + 'Бошњачић', + 'Боштрунић', + 'Брадарић', + 'Брадић', + 'Брадоњић', + 'Брајић', + 'Бралетић', + 'Бралић', + 'Бралушић', + 'Бранчић', + 'Братић', + 'Братоножић', + 'Брашић', + 'Брдарић', + 'Брежанчић', + 'Брезић', + 'Брекић', + 'Брзић', + 'Брисић', + 'Брканлић', + 'Бркић', + 'Брндушић', + 'Бродалић', + 'Бродић', + 'Броћић', + 'Бруић', + 'Брујић', + 'Брукић', + 'Бубић', + 'Бубоњић', + 'Бугарчић', + 'Будалић', + 'Будимкић', + 'Будимчић', + 'Будинчић', + 'Будић', + 'Будишић', + 'Буднић', + 'Будурић', + 'Бузаретић', + 'Бујагић', + 'Бујандрић', + 'Бујић', + 'Бујишић', + 'Бујуклић', + 'Буказић', + 'Буквић', + 'Букелић', + 'Буковчић', + 'Букоњић', + 'Букумирић', + 'Букушић', + 'Булајић', + 'Булић', + 'Буљубашић', + 'Буљугић', + 'Бумбић', + 'Бунарџић', + 'Бунић', + 'Бунчић', + 'Бургић', + 'Бурић', + 'Бурлић', + 'Бусанчић', + 'Буцкић', + 'Бучић', + 'Бушетић', + 'Бушић', + 'Вагић', + 'Вагурић', + 'Вајић', + 'Вајкарић', + 'Вакичић', + 'Ванушић', + 'Варагић', + 'Вараклић', + 'Вардалић', + 'Варјачић', + 'Варничић', + 'Васелић', + 'Василић', + 'Васић', + 'Вашалић', + 'Векић', + 'Велетић', + 'Великић', + 'Величић', + 'Велишић', + 'Вељанчић', + 'Вељић', + 'Вемић', + 'Вербић', + 'Вербункић', + 'Вергић', + 'Верић', + 'Веркић', + 'Веселић', + 'Веселичић', + 'Весић', + 'Веснић', + 'Видарић', + 'Видачић', + 'Видеканић', + 'Видић', + 'Вилендечић', + 'Вилотић', + 'Винокић', + 'Винчић', + 'Виорикић', + 'Витакић', + 'Витолић', + 'Вићентић', + 'Вишић', + 'Владетић', + 'Владић', + 'Владичић', + 'Владушић', + 'Влајић', + 'Влајнић', + 'Влајчић', + 'Влакетић', + 'Власинић', + 'Власоњић', + 'Властић', + 'Влачић', + 'Влашкалић', + 'Војичић', + 'Војкић', + 'Војчић', + 'Воргић', + 'Воркапић', + 'Воћкић', + 'Воштинић', + 'Воштић', + 'Вранић', + 'Вранчић', + 'Вратоњић', + 'Врачарић', + 'Врекић', + 'Врећић', + 'Врзић', + 'Вртунић', + 'Вругић', + 'Вујанић', + 'Вујанушић', + 'Вујачић', + 'Вујетић', + 'Вујинић', + 'Вујисић', + 'Вујић', + 'Вујичић', + 'Вујнић', + 'Вујчетић', + 'Вуканић', + 'Вукелић', + 'Вукић', + 'Вукоичић', + 'Вукојичић', + 'Вукојчић', + 'Вуколић', + 'Вукоманчић', + 'Вукосавић', + 'Вукотић', + 'Вукшић', + 'Вулетић', + 'Вулешић', + 'Вуликић', + 'Вулић', + 'Вулишић', + 'Вуцелић', + 'Вучелић', + 'Вучендић', + 'Вученић', + 'Вучетић', + 'Вучинић', + 'Вучић', + 'Гаварић', + 'Гавранић', + 'Гавранчић', + 'Гаврић', + 'Гагић', + 'Гагричић', + 'Гајанић', + 'Гајетић', + 'Гајић', + 'Гајичић', + 'Гајтанић', + 'Галетић', + 'Галић', + 'Галонић', + 'Галоњић', + 'Гамбелић', + 'Гарачић', + 'Гардић', + 'Гарић', + 'Гаротић', + 'Гатарић', + 'Гачић', + 'Гаџић', + 'Гашић', + 'Гвозденић', + 'Гвоздић', + 'Гвоић', + 'Гвојић', + 'Генчић', + 'Герзић', + 'Гиздавић', + 'Гилић', + 'Главендекић', + 'Главинић', + 'Главонић', + 'Главоњић', + 'Главчић', + 'Гламочић', + 'Гледић', + 'Глежнић', + 'Глибетић', + 'Глигић', + 'Глигорић', + 'Глигурић', + 'Глинтић', + 'Глишић', + 'Глогињић', + 'Гломазић', + 'Глувајић', + 'Глумичић', + 'Гмизић', + 'Гњатић', + 'Гобељић', + 'Гогић', + 'Гојгић', + 'Гонцић', + 'Горанић', + 'Горанчић', + 'Горданић', + 'Гордић', + 'Гороњић', + 'Госпавић', + 'Гостић', + 'Гостојић', + 'Гоцић', + 'Гошњић', + 'Грабић', + 'Грабовчић', + 'Градић', + 'Грамић', + 'Грандић', + 'Гранолић', + 'Гранулић', + 'Граонић', + 'Грашић', + 'Грбић', + 'Гречић', + 'Гркинић', + 'Грозданић', + 'Гроздић', + 'Гроканић', + 'Громилић', + 'Грубачић', + 'Грубетић', + 'Грубешић', + 'Грубић', + 'Грубишић', + 'Грубјешић', + 'Грубљешић', + 'Грубнић', + 'Гружанић', + 'Грујанић', + 'Грујић', + 'Грујичић', + 'Грумић', + 'Губеринић', + 'Гудурић', + 'Гужвић', + 'Гујаничић', + 'Гурешић', + 'Гуцонић', + 'Гуџулић', + 'Гушић', + 'Дабарчић', + 'Дабетић', + 'Дабић', + 'Давинић', + 'Дајић', + 'Дајлић', + 'Дамјанић', + 'Дангић', + 'Дангубић', + 'Даничић', + 'Данојлић', + 'Дардић', + 'Дафунић', + 'Дачић', + 'Двокић', + 'Дворанчић', + 'Дворнић', + 'Дебелногић', + 'Девеџић', + 'Дедић', + 'Дејанић', + 'Делић', + 'Демић', + 'Демоњић', + 'Денић', + 'Денкић', + 'Денчић', + 'Дерајић', + 'Деретић', + 'Дерикоњић', + 'Дероњић', + 'Десанчић', + 'Деспенић', + 'Деспинић', + 'Деспић', + 'Деурић', + 'Дешић', + 'Дивић', + 'Дивнић', + 'Дивчић', + 'Дикић', + 'Диклић', + 'Дикосавић', + 'Диманић', + 'Димитрић', + 'Димић', + 'Димкић', + 'Димчић', + 'Динић', + 'Динкић', + 'Динчић', + 'Дискић', + 'Дичић', + 'Добранић', + 'Добратић', + 'Добрић', + 'Добричић', + 'Довијанић', + 'Доганџић', + 'Догањић', + 'Додић', + 'Докић', + 'Докнић', + 'Долинић', + 'Дончић', + 'Доронтић', + 'Достанић', + 'Достић', + 'Достичић', + 'Дотлић', + 'Дравић', + 'Драганић', + 'Драгинчић', + 'Драгић', + 'Драгишић', + 'Драгољић', + 'Драгоњић', + 'Драгославић', + 'Драготић', + 'Драгушић', + 'Дражић', + 'Драјић', + 'Дракулић', + 'Драмлић', + 'Дрангић', + 'Драшкић', + 'Дрезгић', + 'Дрекић', + 'Дренић', + 'Дринић', + 'Дринчић', + 'Дружетић', + 'Друлић', + 'Дрчелић', + 'Дубајић', + 'Дубачкић', + 'Дубоњић', + 'Дугалић', + 'Дугић', + 'Дугоњић', + 'Дудић', + 'Дукић', + 'Думањић', + 'Думељић', + 'Думитрикић', + 'Думнић', + 'Думонић', + 'Дунчић', + 'Дуњић', + 'Дуроњић', + 'Дучић', + 'Душанић', + 'Ђајић', + 'Ђакушић', + 'Ђапић', + 'Ђекић', + 'Ђелић', + 'Ђелкапић', + 'Ђенадић', + 'Ђенисић', + 'Ђенић', + 'Ђерић', + 'Ђикић', + 'Ђинђић', + 'Ђокић', + 'Ђорђић', + 'Ђорић', + 'Ђузић', + 'Ђујић', + 'Ђукарић', + 'Ђукелић', + 'Ђукетић', + 'Ђукић', + 'Ђукнић', + 'Ђурагић', + 'Ђуракић', + 'Ђурђић', + 'Ђуретић', + 'Ђурић', + 'Ђуричић', + 'Ђуришић', + 'Ђуркић', + 'Ђусић', + 'Евђенић', + 'Егарић', + 'Егерић', + 'Егић', + 'Екмечић', + 'Екмеџић', + 'Ергић', + 'Еремић', + 'Ерић', + 'Ерлетић', + 'Ерчић', + 'Жагрић', + 'Жарић', + 'Жаркић', + 'Жепинић', + 'Жеравић', + 'Жеравчић', + 'Жерајић', + 'Жестић', + 'Живанић', + 'Живанкић', + 'Живић', + 'Животић', + 'Жигић', + 'Жижић', + 'Жикелић', + 'Жикић', + 'Жилетић', + 'Жилић', + 'Жмирић', + 'Жмукић', + 'Жмурић', + 'Жугић', + 'Жунић', + 'Жутић', + 'Жутобрадић', + 'Забурнић', + 'Завишић', + 'Загорчић', + 'Закић', + 'Запукић', + 'Зарадић', + 'Зарић', + 'Затежић', + 'Захарић', + 'Збиљић', + 'Звекић', + 'Звиздић', + 'Здравић', + 'Здујић', + 'Зебић', + 'Зекавичић', + 'Зекић', + 'Зелић', + 'Зимоњић', + 'Зинаић', + 'Зинајић', + 'Зисић', + 'Зјајић', + 'Зјалић', + 'Зјачић', + 'Златић', + 'Зличић', + 'Зловарић', + 'Зојкић', + 'Зокић', + 'Золотић', + 'Зорбић', + 'Зорић', + 'Зоричић', + 'Зоркић', + 'Зракић', + 'Зрилић', + 'Зрнић', + 'Зубић', + 'Зурнић', + 'Ибрић', + 'Иванић', + 'Ивантић', + 'Иванчић', + 'Ивезић', + 'Иветић', + 'Ивић', + 'Ивичић', + 'Ивуцић', + 'Игић', + 'Игњатић', + 'Игњић', + 'Ијачић', + 'Икић', + 'Иконић', + 'Илибашић', + 'Илијић', + 'Иликић', + 'Илинчић', + 'Илисић', + 'Илић', + 'Иличић', + 'Илкић', + 'Инђић', + 'Ирић', + 'Ичелић', + 'Јабланчић', + 'Јаворић', + 'Јагличић', + 'Јагодић', + 'Јакић', + 'Јакишић', + 'Јаконић', + 'Јакшић', + 'Јалић', + 'Јандрић', + 'Јаникић', + 'Јанић', + 'Јаничић', + 'Јанкелић', + 'Јанкић', + 'Јанојкић', + 'Јанчић', + 'Јанчурић', + 'Јањић', + 'Јањушић', + 'Јарић', + 'Јаснић', + 'Јашић', + 'Јевдоксић', + 'Јевђенић', + 'Јеверичић', + 'Јевић', + 'Јеврић', + 'Јевтић', + 'Јегдић', + 'Јездић', + 'Језеркић', + 'Јелачић', + 'Јелашић', + 'Јеленић', + 'Јелесић', + 'Јеликић', + 'Јелисавчић', + 'Јелисић', + 'Јелић', + 'Јеличић', + 'Јелушић', + 'Јенић', + 'Јергић', + 'Јеремић', + 'Јеринић', + 'Јеринкић', + 'Јеросимић', + 'Јеротић', + 'Јерчић', + 'Јесретић', + 'Јестротић', + 'Јефтенић', + 'Јефтић', + 'Јечменић', + 'Јешић', + 'Јовакарић', + 'Јовандић', + 'Јованетић', + 'Јованић', + 'Јованкић', + 'Јованчић', + 'Јоваџић', + 'Јовелић', + 'Јовељић', + 'Јоветић', + 'Јовешић', + 'Јовикић', + 'Јовић', + 'Јовичић', + 'Јовишић', + 'Јовкић', + 'Јовонић', + 'Јовчић', + 'Јозић', + 'Јојић', + 'Јојчић', + 'Јокић', + 'Јокичић', + 'Јоксић', + 'Јолић', + 'Јоникић', + 'Јонић', + 'Јоничић', + 'Јонкић', + 'Јонтић', + 'Јончић', + 'Јоргић', + 'Јоргонић', + 'Јосић', + 'Јоцић', + 'Јузбашић', + 'Јукић', + 'Јунгић', + 'Јуришић', + 'Јушкић', + 'Кавалић', + 'Кајганић', + 'Калабић', + 'Калајић', + 'Калајџић', + 'Календић', + 'Каленић', + 'Калинић', + 'Камперелић', + 'Кандић', + 'Канлић', + 'Кањерић', + 'Каравидић', + 'Карагић', + 'Карајчић', + 'Караклајић', + 'Каралеић', + 'Каралејић', + 'Каралић', + 'Карапанџић', + 'Каратошић', + 'Караулић', + 'Караџић', + 'Карић', + 'Каришић', + 'Карличић', + 'Катанић', + 'Катић', + 'Каћурић', + 'Качаниклић', + 'Кашерић', + 'Квргић', + 'Кендришић', + 'Кентрић', + 'Кепић', + 'Кесић', + 'Кечкић', + 'Кијачић', + 'Кимчетић', + 'Киселчић', + 'Китанић', + 'Китић', + 'Китоњић', + 'Кичић', + 'Клевернић', + 'Клепић', + 'Клинић', + 'Клипић', + 'Клисарић', + 'Клисурић', + 'Кличарић', + 'Кљајић', + 'Кљакић', + 'Кнежић', + 'Кованушић', + 'Кованџић', + 'Коварбашић', + 'Ковачић', + 'Ковинић', + 'Ковинчић', + 'Ковјанић', + 'Ковјенић', + 'Ковљенић', + 'Козић', + 'Којанић', + 'Којић', + 'Којичић', + 'Којчић', + 'Којунџић', + 'Колавчић', + 'Коларић', + 'Колачарић', + 'Количић', + 'Колунџић', + 'Кољанчић', + 'Комадинић', + 'Комарчић', + 'Комленић', + 'Комненић', + 'Кондић', + 'Контић', + 'Концулић', + 'Коњикушић', + 'Кораксић', + 'Кордић', + 'Коругић', + 'Коружић', + 'Косанић', + 'Косић', + 'Коснић', + 'Косорић', + 'Костић', + 'Котарлић', + 'Котлајић', + 'Кочић', + 'Коџопељић', + 'Кошарић', + 'Кошпић', + 'Кошутић', + 'Краварушић', + 'Кравић', + 'Крагић', + 'Краинчанић', + 'Крантић', + 'Красавчић', + 'Красић', + 'Крезић', + 'Крејић', + 'Кремић', + 'Кремоњић', + 'Крестић', + 'Кривошић', + 'Кркељић', + 'Кркић', + 'Кркобабић', + 'Крнетић', + 'Крњајић', + 'Крњеушић', + 'Кромпић', + 'Кротић', + 'Крпић', + 'Крсманић', + 'Крсмић', + 'Крстајић', + 'Крстеканић', + 'Крстинић', + 'Крстић', + 'Крстичић', + 'Крстонић', + 'Крстоношић', + 'Кртинић', + 'Крунић', + 'Крушкоњић', + 'Кршић', + 'Кувељић', + 'Кудрић', + 'Кузмић', + 'Кујавић', + 'Кујачић', + 'Кујунџић', + 'Кукрић', + 'Кулезић', + 'Кулизић', + 'Кулишић', + 'Кулунџић', + 'Куљанчић', + 'Куљић', + 'Кумрић', + 'Курељушић', + 'Курилић', + 'Курсулић', + 'Куруцић', + 'Курчубић', + 'Кусонић', + 'Кусоњић', + 'Кустурић', + 'Кутлачић', + 'Кутлешић', + 'Кушић', + 'Кушљић', + 'Лаботић', + 'Лаврнић', + 'Лажетић', + 'Лазендић', + 'Лазетић', + 'Лазић', + 'Лазичић', + 'Лазукић', + 'Лајшић', + 'Лакетић', + 'Лакић', + 'Лалић', + 'Ламбић', + 'Лапчић', + 'Ластић', + 'Латинчић', + 'Лебурић', + 'Лежаић', + 'Лежајић', + 'Леканић', + 'Лекић', + 'Лемаић', + 'Лемајић', + 'Лепосавић', + 'Лесендрић', + 'Лечић', + 'Лештарић', + 'Лијескић', + 'Ликодрић', + 'Ликушић', + 'Лилић', + 'Липовчић', + 'Лисичић', + 'Лишанчић', + 'Ловрић', + 'Лозанић', + 'Лојаничић', + 'Лолић', + 'Ломић', + 'Лопандић', + 'Лубардић', + 'Лубинић', + 'Лубурић', + 'Лугоњић', + 'Лужаић', + 'Лужајић', + 'Лукајић', + 'Лукачић', + 'Лукендић', + 'Лукић', + 'Лукичић', + 'Лунић', + 'Луткић', + 'Лучић', + 'Љамић', + 'Љеганушић', + 'Љотић', + 'Љубанић', + 'Љубић', + 'Љубичић', + 'Љубишић', + 'Љушић', + 'Љушкић', + 'Маглић', + 'Мајкић', + 'Макарић', + 'Макивић', + 'Макрагић', + 'Максић', + 'Малавразић', + 'Малбашић', + 'Маленчић', + 'Малетић', + 'Малешић', + 'Малинић', + 'Малишић', + 'Малобабић', + 'Малушић', + 'Маљугић', + 'Маљчић', + 'Мандарић', + 'Мандинић', + 'Мандић', + 'Мандушић', + 'Манић', + 'Манчић', + 'Мањенчић', + 'Маравић', + 'Маринчић', + 'Марић', + 'Маричић', + 'Маркагић', + 'Маркелић', + 'Маркељић', + 'Маркулић', + 'Мародић', + 'Мартић', + 'Марунић', + 'Марункић', + 'Марушић', + 'Марчетић', + 'Марчић', + 'Масалушић', + 'Масларић', + 'Маслић', + 'Масловарић', + 'Матаругић', + 'Матејић', + 'Матерић', + 'Матић', + 'Матичић', + 'Матушић', + 'Маћешић', + 'Маћић', + 'Мачић', + 'Мачкић', + 'Мачужић', + 'Машић', + 'Медић', + 'Медурић', + 'Мектић', + 'Месулић', + 'Мијалчић', + 'Мијанић', + 'Мијачић', + 'Мијић', + 'Мијуцић', + 'Микарић', + 'Микелић', + 'Микетић', + 'Микић', + 'Микичић', + 'Микоњић', + 'Микулић', + 'Миладић', + 'Милакић', + 'Милачић', + 'Милекић', + 'Миленић', + 'Милетић', + 'Милеуснић', + 'Милешић', + 'Милијић', + 'Миликић', + 'Миликшић', + 'Милинић', + 'Милинчић', + 'Милисавић', + 'Миличић', + 'Милић', + 'Милишић', + 'Милкић', + 'Милоичић', + 'Милојић', + 'Милојичић', + 'Милојкић', + 'Милојчић', + 'Милотић', + 'Милунић', + 'Милушић', + 'Милчић', + 'Миљанић', + 'Миндић', + 'Минић', + 'Минчић', + 'Миовчић', + 'Миоданић', + 'Мионић', + 'Миражић', + 'Мирић', + 'Мирјанић', + 'Миркић', + 'Миросавић', + 'Мирчетић', + 'Мирчић', + 'Мисојчић', + 'Митић', + 'Митранић', + 'Митреканић', + 'Митрић', + 'Митрушић', + 'Мићић', + 'Михаљчић', + 'Михољчић', + 'Мишељић', + 'Мишић', + 'Мишкић', + 'Мишурић', + 'Младић', + 'Млаџић', + 'Мојсић', + 'Мокрић', + 'Момић', + 'Морачић', + 'Моретић', + 'Мороквашић', + 'Мотичић', + 'Мракић', + 'Мрачић', + 'Мрдић', + 'Мркић', + 'Мркоњић', + 'Мркушић', + 'Мркшић', + 'Мудринић', + 'Мудрић', + 'Мунишић', + 'Мурганић', + 'Мутавџић', + 'Мутибарић', + 'Мучибабић', + 'Мушикић', + 'Навалушић', + 'Наградић', + 'Нагулић', + 'Надашкић', + 'Најдић', + 'Најкић', + 'Накаламић', + 'Накић', + 'Наранчић', + 'Наранџић', + 'Настасић', + 'Настић', + 'Небригић', + 'Невајдић', + 'Невенић', + 'Негоицић', + 'Нединић', + 'Недић', + 'Некић', + 'Немањић', + 'Ненадић', + 'Ненић', + 'Неоричић', + 'Нешић', + 'Никезић', + 'Никетић', + 'Никитић', + 'Николетић', + 'Николешић', + 'Николић', + 'Николчић', + 'Никшић', + 'Нинић', + 'Нинчић', + 'Ничић', + 'Нишавић', + 'Нишић', + 'Новалушић', + 'Новарлић', + 'Новачикић', + 'Новић', + 'Новичић', + 'Новчић', + 'Ножинић', + 'Нојкић', + 'Његић', + 'Његрић', + 'Њежић', + 'Обренић', + 'Одавић', + 'Озимић', + 'Ојданић', + 'Ојкић', + 'Окетић', + 'Околић', + 'Окулић', + 'Оларић', + 'Олић', + 'Олујић', + 'Ољачић', + 'Опалић', + 'Опарушић', + 'Опачић', + 'Оприкић', + 'Опрић', + 'Оприцић', + 'Ораовчић', + 'Орландић', + 'Орлић', + 'Осмајлић', + 'Остојић', + 'Оцокољић', + 'Оџић', + 'Павић', + 'Павичић', + 'Павлекић', + 'Павличић', + 'Павчић', + 'Падић', + 'Пајагић', + 'Пајић', + 'Пајичић', + 'Пајкић', + 'Пајтић', + 'Палалић', + 'Палангетић', + 'Палигорић', + 'Палић', + 'Панинчић', + 'Панић', + 'Панишић', + 'Пантелић', + 'Пантић', + 'Панчић', + 'Панџић', + 'Папић', + 'Папрић', + 'Папулић', + 'Параментић', + 'Параушић', + 'Париводић', + 'Парлић', + 'Паројчић', + 'Патрногић', + 'Паунић', + 'Пашић', + 'Пејић', + 'Пејичић', + 'Пејушић', + 'Пејчић', + 'Пелагић', + 'Пендић', + 'Пенезић', + 'Пенчић', + 'Пепић', + 'Перенић', + 'Перић', + 'Перичић', + 'Перишић', + 'Перјаничић', + 'Перкић', + 'Перотић', + 'Перуничић', + 'Перчић', + 'Петканић', + 'Петрикић', + 'Петрић', + 'Петричић', + 'Петронић', + 'Петрушић', + 'Пеулић', + 'Пецић', + 'Печеничић', + 'Пешић', + 'Пикић', + 'Пилиндавић', + 'Пиљагић', + 'Пиперчић', + 'Пириватрић', + 'Пирић', + 'Писарић', + 'Питулић', + 'Пјанић', + 'Пјевић', + 'Плавић', + 'Плавкић', + 'Плављанић', + 'Плавшић', + 'Плазинић', + 'Планинчић', + 'Планић', + 'Платанић', + 'Плачић', + 'Племић', + 'Плескоњић', + 'Плећић', + 'Плинтић', + 'Плиснић', + 'Плоскић', + 'Плочић', + 'Пљакић', + 'Пљеваљчић', + 'Побулић', + 'Подинић', + 'Подрашчић', + 'Подрић', + 'Познанић', + 'Познић', + 'Појкић', + 'Полић', + 'Поломчић', + 'Полугић', + 'Поњавић', + 'Поп Лазић', + 'Попадић', + 'Попарић', + 'Попчић', + 'Потребић', + 'Поштић', + 'Правдић', + 'Пражић', + 'Предић', + 'Прекић', + 'Прелић', + 'Прендић', + 'Прешић', + 'Пржић', + 'Прибић', + 'Прибишић', + 'Пригодић', + 'Пријић', + 'Прикић', + 'Пришић', + 'Проданић', + 'Прокић', + 'Прокопић', + 'Пролић', + 'Протић', + 'Прошић', + 'Пругинић', + 'Прунић', + 'Пршендић', + 'Пуалић', + 'Пувалић', + 'Пувачић', + 'Пударић', + 'Пунишић', + 'Пурешић', + 'Пурић', + 'Пуришић', + 'Пуслојић', + 'Пушељић', + 'Равилић', + 'Раданчић', + 'Радељић', + 'Радетић', + 'Радешић', + 'Радивојшић', + 'Радикић', + 'Радисавић', + 'Радић', + 'Радичић', + 'Радишић', + 'Раднић', + 'Радоичић', + 'Радојичић', + 'Радојкић', + 'Радојчић', + 'Радонић', + 'Радоњић', + 'Радосавкић', + 'Радотић', + 'Радукић', + 'Радулић', + 'Радуљчић', + 'Радуцић', + 'Радушић', + 'Разуменић', + 'Раилић', + 'Раичић', + 'Рајачић', + 'Рајић', + 'Рајичић', + 'Рајлић', + 'Рајчетић', + 'Рајчић', + 'Рајшић', + 'Ракезић', + 'Ракетић', + 'Ракинић', + 'Ракитић', + 'Ракић', + 'Раконић', + 'Ралетић', + 'Ралић', + 'Раљић', + 'Рамић', + 'Ранђић', + 'Ранисавић', + 'Ранкић', + 'Ранчић', + 'Раонић', + 'Рапаић', + 'Рапајић', + 'Расулић', + 'Раткелић', + 'Раулић', + 'Рацић', + 'Рачић', + 'Рашетић', + 'Рашић', + 'Рашљић', + 'Регодић', + 'Регулић', + 'Рекалић', + 'Рељић', + 'Реметић', + 'Рендулић', + 'Репашић', + 'Ресимић', + 'Реџић', + 'Рибарић', + 'Рибошкић', + 'Риђошић', + 'Ризнић', + 'Ринчић', + 'Рисимић', + 'Ристанић', + 'Ристић', + 'Рмандић', + 'Рнић', + 'Рогић', + 'Роглић', + 'Рогоњић', + 'Рогулић', + 'Родић', + 'Розгић', + 'Роквић', + 'Рокнић', + 'Роксандић', + 'Роксић', + 'Рољић', + 'Романић', + 'Ромић', + 'Росић', + 'Рошкић', + 'Рувидић', + 'Рудић', + 'Рудоњић', + 'Ружић', + 'Ружичић', + 'Ружојчић', + 'Руменић', + 'Рундић', + 'Руњајић', + 'Русалић', + 'Рутешић', + 'Рутонић', + 'Рушкић', + 'Сабљић', + 'Савандић', + 'Саватић', + 'Савелић', + 'Савељић', + 'Савић', + 'Савичић', + 'Савкић', + 'Савурдић', + 'Савчић', + 'Салатић', + 'Самарџић', + 'Сандић', + 'Сапардић', + 'Сарамандић', + 'Сарић', + 'Сатарић', + 'Светличић', + 'Свиларић', + 'Својић', + 'Секанић', + 'Секулић', + 'Селенић', + 'Сендрић', + 'Сенић', + 'Сеничић', + 'Сентић', + 'Сетенчић', + 'Сибинкић', + 'Сибинчић', + 'Сикимић', + 'Симанић', + 'Симендић', + 'Симетић', + 'Симић', + 'Симурдић', + 'Синђелић', + 'Синђић', + 'Синкић', + 'Ситничић', + 'Сјеничић', + 'Скакић', + 'Скелић', + 'Скенџић', + 'Скерлић', + 'Скокић', + 'Скочајић', + 'Скочић', + 'Скробић', + 'Скулић', + 'Славић', + 'Славнић', + 'Сладић', + 'Словић', + 'Смилић', + 'Смиљанић', + 'Смиљић', + 'Смиљкић', + 'Смољанић', + 'Смрекић', + 'Соврлић', + 'Совтић', + 'Сојкић', + 'Сокић', + 'Сокнић', + 'Солдатић', + 'Сорајић', + 'Соскић', + 'Софијанић', + 'Софранић', + 'Софренић', + 'Софронић', + 'Спаић', + 'Спакић', + 'Спарић', + 'Спасенић', + 'Спасић', + 'Спенчић', + 'Сперлић', + 'Спирић', + 'Спремић', + 'Спужић', + 'Средић', + 'Сретић', + 'Ставрић', + 'Стајић', + 'Стајкић', + 'Стајчић', + 'Стајшић', + 'Стакић', + 'Стакушић', + 'Стаматић', + 'Стамболић', + 'Стаменић', + 'Стаменчић', + 'Станарчић', + 'Станетић', + 'Станикић', + 'Станисавић', + 'Станић', + 'Станичић', + 'Станишић', + 'Станкић', + 'Становчић', + 'Станојчић', + 'Станушић', + 'Станчетић', + 'Станчић', + 'Сташић', + 'Стевандић', + 'Стеванетић', + 'Стеванић', + 'Стевелић', + 'Стевић', + 'Стевчић', + 'Стегић', + 'Стегњаић', + 'Стегњајић', + 'Стекић', + 'Стељић', + 'Степандић', + 'Степанић', + 'Степић', + 'Стијачић', + 'Стијепић', + 'Стикић', + 'Стјепић', + 'Стожинић', + 'Стојанић', + 'Стојанкић', + 'Стојанчић', + 'Стојачић', + 'Стојић', + 'Стојичић', + 'Стојкић', + 'Стојнић', + 'Стојчић', + 'Стојшић', + 'Стоканић', + 'Стокић', + 'Столић', + 'Стопарић', + 'Стопић', + 'Стошић', + 'Страјнић', + 'Страхинић', + 'Страхињић', + 'Стринић', + 'Суботић', + 'Сувајџић', + 'Суменић', + 'Сунарић', + 'Сурлић', + 'Суручић', + 'Тадић', + 'Тајсић', + 'Таминџић', + 'Танасић', + 'Танић', + 'Танкосић', + 'Танчић', + 'Тарабић', + 'Тасић', + 'Татишић', + 'Тврдишић', + 'Теодосић', + 'Тепић', + 'Тепшић', + 'Терзић', + 'Теслић', + 'Тешанић', + 'Тешанкић', + 'Тешендић', + 'Тешинић', + 'Тешић', + 'Тијанић', + 'Тимилић', + 'Тимотић', + 'Тирић', + 'Тирнанић', + 'Тмушић', + 'Товаришић', + 'Тодић', + 'Тодорић', + 'Тодосић', + 'Тојић', + 'Токалић', + 'Тољагић', + 'Томанић', + 'Томецић', + 'Томинчић', + 'Томић', + 'Томичић', + 'Томоњић', + 'Томчић', + 'Тонтић', + 'Тончић', + 'Топић', + 'Топличић', + 'Тополић', + 'Тоскић', + 'Тошанић', + 'Тошић', + 'Траворић', + 'Трапарић', + 'Тренчић', + 'Тривалић', + 'Тривић', + 'Тривунић', + 'Тривунчић', + 'Тријић', + 'Трикић', + 'Триндић', + 'Трипић', + 'Трифуњагић', + 'Тришић', + 'Трмчић', + 'Трнинић', + 'Трнић', + 'Трошић', + 'Трубајић', + 'Трудић', + 'Трујић', + 'Трујкић', + 'Тубоњић', + 'Тукелић', + 'Тумарић', + 'Тупајић', + 'Турајлић', + 'Турнић', + 'Турудић', + 'Турунчић', + 'Тутић', + 'Туторић', + 'Тутулић', + 'Туфегџић', + 'Туцић', + 'Ћајић', + 'Ћалић', + 'Ћатић', + 'Ћебић', + 'Ћелић', + 'Ћеранић', + 'Ћипранић', + 'Ћирић', + 'Ћирјанић', + 'Ћојбашић', + 'Ћопић', + 'Ћорић', + 'Ћосић', + 'Ћуић', + 'Ћујић', + 'Ћупић', + 'Ћурдић', + 'Ћурић', + 'Ћурчић', + 'Ћушић', + 'Убавић', + 'Убавкић', + 'Увалић', + 'Уверић', + 'Угљешић', + 'Угринић', + 'Угринчић', + 'Угричић', + 'Удовичић', + 'Удовчић', + 'Умељић', + 'Уметић', + 'Умиљендић', + 'Уршикић', + 'Устић', + 'Утвић', + 'Ушендић', + 'Фаркић', + 'Фатић', + 'Фемић', + 'Филипић', + 'Фотирић', + 'Фотић', + 'Фртунић', + 'Хаџи Антић', + 'Хаџи Јованчић', + 'Хаџи Николић', + 'Хаџи Ристић', + 'Хаџи Танчић', + 'Хаџић', + 'Хинић', + 'Христић', + 'Цајић', + 'Цакић', + 'Царић', + 'Царичић', + 'Цвејић', + 'Цветић', + 'Цвијетић', + 'Цвијић', + 'Цвикић', + 'Цвишић', + 'Ценић', + 'Ценкић', + 'Цивишић', + 'Циврић', + 'Циглић', + 'Циклушић', + 'Цицварић', + 'Цмиљанић', + 'Цмолић', + 'Цонић', + 'Црновчић', + 'Цуканић', + 'Цукић', + 'Цупарић', + 'Чабрић', + 'Чавић', + 'Чајић', + 'Чаленић', + 'Чалић', + 'Чамагић', + 'Чантрић', + 'Чапрњић', + 'Чарапић', + 'Чарнић', + 'Чвокић', + 'Чворић', + 'Челекетић', + 'Чемерикић', + 'Чечарић', + 'Чивчић', + 'Чикарић', + 'Чикић', + 'Чиплић', + 'Чипчић', + 'Чичић', + 'Чковрић', + 'Чобелић', + 'Чобељић', + 'Човић', + 'Чојић', + 'Чојчић', + 'Чоланић', + 'Чолић', + 'Чомић', + 'Чонкић', + 'Чоњагић', + 'Чорбић', + 'Чотрић', + 'Чочурић', + 'Чубрић', + 'Чудић', + 'Чукарић', + 'Чукић', + 'Чумић', + 'Чупељић', + 'Чуперкић', + 'Чупић', + 'Чутурић', + 'Џаврић', + 'Џајић', + 'Џамбић', + 'Џаџић', + 'Џелебџић', + 'Џикић', + 'Џинић', + 'Џодић', + 'Џомбић', + 'Џомић', + 'Џонић', + 'Шакић', + 'Шакотић', + 'Шалинић', + 'Шаматић', + 'Шантић', + 'Шапић', + 'Шапонић', + 'Шапоњић', + 'Шапурић', + 'Шаранчић', + 'Шарић', + 'Шаркић', + 'Шароњић', + 'Шашић', + 'Швабић', + 'Шеварлић', + 'Шевић', + 'Шевкушић', + 'Шестић', + 'Шибалић', + 'Шијакињић', + 'Шијачић', + 'Шиканић', + 'Шикањић', + 'Шимшић', + 'Шипетић', + 'Шишић', + 'Шкобић', + 'Шкодрић', + 'Шкондрић', + 'Шкорић', + 'Шкрбић', + 'Шкребић', + 'Шкулић', + 'Шкундрић', + 'Шљапић', + 'Шљивић', + 'Шљукић', + 'Шмигић', + 'Шобајић', + 'Шобачић', + 'Шоргић', + 'Шошкић', + 'Шпирић', + 'Штакић', + 'Штулић', + 'Шубакић', + 'Шубарић', + 'Шубић', + 'Шулеић', + 'Шулејић', + 'Шулетић', + 'Шулкић', + 'Шулубурић', + 'Шуљагић', + 'Шуматић', + 'Шундерић', + 'Шункић', + 'Шуњеварић', + 'Шутуљић', + 'Шушић', + 'Шушулић', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Address.php index b3892b0..a19b826 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Address.php @@ -2,57 +2,334 @@ namespace Faker\Provider\sr_Latn_RS; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####']; - - protected static $streetPrefix = [ - 'Bulevar', - ]; - - protected static $street = [ - 'Kralja Milana', 'Cara Dušana', 'Nikole Tesle', 'Mihajla Pupina', 'Nikole Pašića', - ]; - - protected static $streetNameFormats = [ - '{{street}}', - '{{streetPrefix}} {{street}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - /** - * @see http://sr.wikipedia.org/sr-el/%D0%93%D1%80%D0%B0%D0%B4_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 - */ - protected static $cityNames = [ - 'Beograd', 'Valjevo', 'Vranje', 'Zaječar', 'Zrenjanin', 'Jagodina', 'Kragujevac', 'Kraljevo', 'Kruševac', 'Leskovac', 'Loznica', 'Niš', 'Novi Pazar', 'Novi Sad', 'Pančevo', 'Požarevac', 'Priština', 'Smederevo', 'Sombor', 'Sremska Mitrovica', 'Subotica', 'Užice', 'Čačak', 'Šabac', - ]; - - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php - */ - protected static $country = [ - 'Ostrvo Asension', 'Andora', 'Ujedinjeni Arapski Emirati', 'Avganistan', 'Antigva i Barbuda', 'Angvila', 'Albanija', 'Armenija', 'Holandski Antili', 'Angola', 'Antarktika', 'Argentina', 'Američka Samoa', 'Austrija', 'Australija', 'Aruba', 'Alandska ostrva', 'Azerbejdžan', 'Bosna i Hercegovina', 'Barbados', 'Bangladeš', 'Belgija', 'Burkina Faso', 'Bugarska', 'Bahrein', 'Burundi', 'Benin', 'Sv. Bartolomej', 'Bermuda', 'Brunej', 'Bolivija', 'Brazil', 'Bahami', 'Butan', 'Buve Ostrva', 'Bocvana', 'Belorusija', 'Belise', 'Kanada', 'Kokos (Keling) Ostrva', 'Demokratska Republika Kongo', 'Centralno Afrička Republika', 'Kongo', 'Švajcarska', 'Obala Slonovače', 'Kukova Ostrva', 'Čile', 'Kamerun', 'Kina', 'Kolumbija', 'Ostrvo Kliperton', 'Kostarika', 'Srbija i Crna Gora', 'Kuba', 'Kape Verde', 'Božićna Ostrva', 'Kipar', 'Češka', 'Nemačka', 'Dijego Garsija', 'Džibuti', 'Danska', 'Dominika', 'Dominikanska Republika', 'Alžir', 'Seuta i Melilja', 'Ekvador', 'Estonija', 'Egipat', 'Zapadna Sahara', 'Eritreja', 'Španija', 'Etiopija', 'Evropska unija', 'Finska', 'Fidži', 'Folklandska Ostrva', 'Mikronezija', 'Farska Ostrva', 'Francuska', 'Gabon', 'Velika Britanija', 'Grenada', 'Gruzija', 'Francuska Gvajana', 'Gurnsi', 'Gana', 'Gibraltar', 'Grenland', 'Gambija', 'Gvineja', 'Gvadelupe', 'Ekvatorijalna Gvineja', 'Grčka', 'Južna Džordžija i Južna Sendvič Ostrva', 'Gvatemala', 'Guam', 'Gvineja-Bisao', 'Gvajana', 'Hong Kong (S. A. R. Kina)', 'Herd i Mekdonald Ostrva', 'Honduras', 'Hrvatska', 'Haiti', 'Mađarska', 'Kanarska ostrva', 'Indonezija', 'Irska', 'Izrael', 'Ostrvo Man', 'Indija', 'Britansko Indijska Okeanska Teritorija', 'Irak', 'Iran', 'Island', 'Italija', 'Džersi', 'Jamajka', 'Jordan', 'Japan', 'Kenija', 'Kirgizstan', 'Kambodža', 'Kiribati', 'Komorska Ostrva', 'Sent Kits i Nevis', 'Severna Koreja', 'Južna Koreja', 'Kuvajt', 'Kajmanska Ostrva', 'Kazahstan', 'Laos', 'Liban', 'Sent Lucija', 'Lihtenštajn', 'Šri Lanka', 'Liberija', 'Lesoto', 'Litvanija', 'Luksemburg', 'Letonija', 'Libija', 'Maroko', 'Monako', 'Moldavija', 'Crna Gora', 'Sv. Martin', 'Madagaskar', 'Maršalska Ostrva', 'Makedonija', 'Mali', 'Mijanmar', 'Mongolija', 'Makao (S. A. R. Kina)', 'Severna Marijanska Ostrva', 'Martinik', 'Mauritanija', 'Monserat', 'Malta', 'Mauricius', 'Maldivi', 'Malavi', 'Meksiko', 'Malezija', 'Mozambik', 'Namibija', 'Nova Kaledonija', 'Niger', 'Norfolk Ostrvo', 'Nigerija', 'Nikaragva', 'Holandija', 'Norveška', 'Nepal', 'Nauru', 'Niue', 'Novi Zeland', 'Oman', 'Panama', 'Peru', 'Francuska Polinezija', 'Papua Nova Gvineja', 'Filipini', 'Pakistan', 'Poljska', 'Sen Pjer i Mikelon', 'Pitcairn', 'Porto Riko', 'Palestinska Teritorija', 'Portugal', 'Palau', 'Paragvaj', 'Katar', 'Ostala okeanija', 'Rejunion', 'Rumunija', 'Srbija', 'Rusija', 'Ruanda', 'Saudijska Arabija', 'Solomonska Ostrva', 'Sejšeli', 'Sudan', 'Švedska', 'Singapur', 'Sveta Jelena', 'Slovenija', 'Svalbard i Janmajen Ostrva', 'Slovačka', 'Sijera Leone', 'San Marino', 'Senegal', 'Somalija', 'Surinam', 'Sao Tome i Principe', 'Salvador', 'Sirija', 'Svazilend', 'Tristan da Kunja', 'Turks i Kajkos Ostrva', 'Čad', 'Francuske Južne Teritorije', 'Togo', 'Tajland', 'Tadžikistan', 'Tokelau', 'Istočni Timor', 'Turkmenistan', 'Tunis', 'Tonga', 'Turska', 'Trinidad i Tobago', 'Tuvalu', 'Tajvan', 'Tanzanija', 'Ukrajina', 'Uganda', 'Manja Udaljena Ostrva SAD', 'Sjedinjene Američke Države', 'Urugvaj', 'Uzbekistan', 'Vatikan', 'Sent Vinsent i Grenadini', 'Venecuela', 'Britanska Devičanska Ostrva', 'S.A.D. Devičanska Ostrva', 'Vijetnam', 'Vanuatu', 'Valis i Futuna Ostrva', 'Samoa', 'Jemen', 'Majote', 'Južnoafrička Republika', 'Zambija', 'Zimbabve', - ]; - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } - - public function cityName() - { - return static::randomElement(static::$cityNames); - } +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####' ]; + + protected static $streetPrefix = [ + 'Bulevar', + ]; + + protected static $street = [ + 'Kralja Milana', + 'Cara Dušana', + 'Nikole Tesle', + 'Mihajla Pupina', + 'Nikole Pašića', + ]; + + protected static $streetNameFormats = [ + '{{street}}', + '{{streetPrefix}} {{street}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + /** + * @see http://sr.wikipedia.org/sr-el/%D0%93%D1%80%D0%B0%D0%B4_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 + */ + protected static $cityNames = [ + 'Beograd', + 'Valjevo', + 'Vranje', + 'Zaječar', + 'Zrenjanin', + 'Jagodina', + 'Kragujevac', + 'Kraljevo', + 'Kruševac', + 'Leskovac', + 'Loznica', + 'Niš', + 'Novi Pazar', + 'Novi Sad', + 'Pančevo', + 'Požarevac', + 'Priština', + 'Smederevo', + 'Sombor', + 'Sremska Mitrovica', + 'Subotica', + 'Užice', + 'Čačak', + 'Šabac', + ]; + + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Latn/country.php + */ + protected static $country = [ + 'Ostrvo Asension', + 'Andora', + 'Ujedinjeni Arapski Emirati', + 'Avganistan', + 'Antigva i Barbuda', + 'Angvila', + 'Albanija', + 'Armenija', + 'Holandski Antili', + 'Angola', + 'Antarktika', + 'Argentina', + 'Američka Samoa', + 'Austrija', + 'Australija', + 'Aruba', + 'Alandska ostrva', + 'Azerbejdžan', + 'Bosna i Hercegovina', + 'Barbados', + 'Bangladeš', + 'Belgija', + 'Burkina Faso', + 'Bugarska', + 'Bahrein', + 'Burundi', + 'Benin', + 'Sv. Bartolomej', + 'Bermuda', + 'Brunej', + 'Bolivija', + 'Brazil', + 'Bahami', + 'Butan', + 'Buve Ostrva', + 'Bocvana', + 'Belorusija', + 'Belise', + 'Kanada', + 'Kokos (Keling) Ostrva', + 'Demokratska Republika Kongo', + 'Centralno Afrička Republika', + 'Kongo', + 'Švajcarska', + 'Obala Slonovače', + 'Kukova Ostrva', + 'Čile', + 'Kamerun', + 'Kina', + 'Kolumbija', + 'Ostrvo Kliperton', + 'Kostarika', + 'Srbija i Crna Gora', + 'Kuba', + 'Kape Verde', + 'Božićna Ostrva', + 'Kipar', + 'Češka', + 'Nemačka', + 'Dijego Garsija', + 'Džibuti', + 'Danska', + 'Dominika', + 'Dominikanska Republika', + 'Alžir', + 'Seuta i Melilja', + 'Ekvador', + 'Estonija', + 'Egipat', + 'Zapadna Sahara', + 'Eritreja', + 'Španija', + 'Etiopija', + 'Evropska unija', + 'Finska', + 'Fidži', + 'Folklandska Ostrva', + 'Mikronezija', + 'Farska Ostrva', + 'Francuska', + 'Gabon', + 'Velika Britanija', + 'Grenada', + 'Gruzija', + 'Francuska Gvajana', + 'Gurnsi', + 'Gana', + 'Gibraltar', + 'Grenland', + 'Gambija', + 'Gvineja', + 'Gvadelupe', + 'Ekvatorijalna Gvineja', + 'Grčka', + 'Južna Džordžija i Južna Sendvič Ostrva', + 'Gvatemala', + 'Guam', + 'Gvineja-Bisao', + 'Gvajana', + 'Hong Kong (S. A. R. Kina)', + 'Herd i Mekdonald Ostrva', + 'Honduras', + 'Hrvatska', + 'Haiti', + 'Mađarska', + 'Kanarska ostrva', + 'Indonezija', + 'Irska', + 'Izrael', + 'Ostrvo Man', + 'Indija', + 'Britansko Indijska Okeanska Teritorija', + 'Irak', + 'Iran', + 'Island', + 'Italija', + 'Džersi', + 'Jamajka', + 'Jordan', + 'Japan', + 'Kenija', + 'Kirgizstan', + 'Kambodža', + 'Kiribati', + 'Komorska Ostrva', + 'Sent Kits i Nevis', + 'Severna Koreja', + 'Južna Koreja', + 'Kuvajt', + 'Kajmanska Ostrva', + 'Kazahstan', + 'Laos', + 'Liban', + 'Sent Lucija', + 'Lihtenštajn', + 'Šri Lanka', + 'Liberija', + 'Lesoto', + 'Litvanija', + 'Luksemburg', + 'Letonija', + 'Libija', + 'Maroko', + 'Monako', + 'Moldavija', + 'Crna Gora', + 'Sv. Martin', + 'Madagaskar', + 'Maršalska Ostrva', + 'Makedonija', + 'Mali', + 'Mijanmar', + 'Mongolija', + 'Makao (S. A. R. Kina)', + 'Severna Marijanska Ostrva', + 'Martinik', + 'Mauritanija', + 'Monserat', + 'Malta', + 'Mauricius', + 'Maldivi', + 'Malavi', + 'Meksiko', + 'Malezija', + 'Mozambik', + 'Namibija', + 'Nova Kaledonija', + 'Niger', + 'Norfolk Ostrvo', + 'Nigerija', + 'Nikaragva', + 'Holandija', + 'Norveška', + 'Nepal', + 'Nauru', + 'Niue', + 'Novi Zeland', + 'Oman', + 'Panama', + 'Peru', + 'Francuska Polinezija', + 'Papua Nova Gvineja', + 'Filipini', + 'Pakistan', + 'Poljska', + 'Sen Pjer i Mikelon', + 'Pitcairn', + 'Porto Riko', + 'Palestinska Teritorija', + 'Portugal', + 'Palau', + 'Paragvaj', + 'Katar', + 'Ostala okeanija', + 'Rejunion', + 'Rumunija', + 'Srbija', + 'Rusija', + 'Ruanda', + 'Saudijska Arabija', + 'Solomonska Ostrva', + 'Sejšeli', + 'Sudan', + 'Švedska', + 'Singapur', + 'Sveta Jelena', + 'Slovenija', + 'Svalbard i Janmajen Ostrva', + 'Slovačka', + 'Sijera Leone', + 'San Marino', + 'Senegal', + 'Somalija', + 'Surinam', + 'Sao Tome i Principe', + 'Salvador', + 'Sirija', + 'Svazilend', + 'Tristan da Kunja', + 'Turks i Kajkos Ostrva', + 'Čad', + 'Francuske Južne Teritorije', + 'Togo', + 'Tajland', + 'Tadžikistan', + 'Tokelau', + 'Istočni Timor', + 'Turkmenistan', + 'Tunis', + 'Tonga', + 'Turska', + 'Trinidad i Tobago', + 'Tuvalu', + 'Tajvan', + 'Tanzanija', + 'Ukrajina', + 'Uganda', + 'Manja Udaljena Ostrva SAD', + 'Sjedinjene Američke Države', + 'Urugvaj', + 'Uzbekistan', + 'Vatikan', + 'Sent Vinsent i Grenadini', + 'Venecuela', + 'Britanska Devičanska Ostrva', + 'S.A.D. Devičanska Ostrva', + 'Vijetnam', + 'Vanuatu', + 'Valis i Futuna Ostrva', + 'Samoa', + 'Jemen', + 'Majote', + 'Južnoafrička Republika', + 'Zambija', + 'Zimbabve', + ]; + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } + + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Payment.php index ed88246..23c0fb6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sr_Latn_RS; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'RS', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Person.php index 23faa4b..22a4c4d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_Latn_RS/Person.php @@ -2,212 +2,4201 @@ namespace Faker\Provider\sr_Latn_RS; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 - */ - protected static $firstNameMale = [ - 'Adam', 'Aleksa', 'Aleksandar', 'Aleksej', 'Andrej', 'Andrija', 'Antonije', 'Arsen', 'Balša', 'Bane', 'Berko', 'Blagoja', 'Blaža', - 'Boban', 'Bogdan', 'Bojan', 'Bojo', 'Bora', 'Boris', 'Borislav', 'Borivoj', 'Boško', 'Božidar', 'Božo', 'Brajan', - 'Branislav', 'Branko', 'Brano', 'Dalibor', 'Damjan', 'Dane', 'Danijel', 'Danilo', 'Danko', 'Dario', 'Darko', 'David', - 'Dejan', 'Dragan', 'Drago', 'Dragomir', 'Dragoš', 'Dubravko', 'Dušan', 'Duško', 'Emil', 'Filip', 'German', 'Gojko', - 'Goran', 'Gordan', 'Grgur', 'Igor', 'Ilija', 'Isak', 'Ivan', 'Ivica', 'Ivo', 'Jadranko', 'Jakov', 'Jandre', - 'Janko', 'Jaroslav', 'Jasen', 'Jerko', 'Joko', 'Jordan', 'Jova', 'Jovan', 'Jovica', 'Jovo', 'Justin', 'Konstantin', - 'Kosta', 'Kostadin', 'Lazar', 'Luka', 'Luča', 'Maksim', 'Maleš', 'Marinko', 'Marjan', 'Marko', 'Martin', 'Matej', - 'Matija', 'Mato', 'Maša', 'Mihailo', 'Mihajlo', 'Mijo', 'Miladin', 'Milan', 'Milen', 'Milenko', 'Mileš', 'Milija', - 'Miljan', 'Milko', 'Milo', 'Miloje', 'Milorad', 'Miloš', 'Miodrag', 'Miomir', 'Mirko', 'Miro', 'Miroslav', 'Mićo', - 'Miško', 'Mladen', 'Nebojša', 'Nemanja', 'Nenad', 'Nestor', 'Neven', 'Nikola', 'Nino', 'Novak', 'Novo', 'Ognjen', - 'Oliver', 'Ozren', 'Perica', 'Pero', 'Petar', 'Petko', 'Predrag', 'Rade', 'Raden', 'Radenko', 'Radin', 'Radmilo', - 'Radomir', 'Radoslav', 'Radovan', 'Rajan', 'Rajko', 'Ranko', 'Rastislav', 'Resan', 'Risto', 'Sava', 'Saša', 'Simeon', - 'Simo', 'Simon', 'Siniša', 'Slaviša', 'Slavko', 'Slavoljub', 'Slavomir', 'Slobodan', 'Spasoje', 'Srećko', 'Stanimir', 'Stanislav', - 'Stanko', 'Stanoje', 'Stefan', 'Stepan', 'Stevan', 'Stevo', 'Stjepan', 'Strahinja', 'Svetislav', 'Tadej', 'Teodor', 'Tihomir', - 'Todor', 'Tomaš', 'Tomica', 'Tomislav', 'Tomo', 'Trpko', 'Uroš', 'Vasko', 'Velibor', 'Velimir', 'Veselin', 'Viktor', - 'Vlada', 'Vladan', 'Vladimir', 'Vladislav', 'Vlado', 'Vlastimir', 'Vlatko', 'Vuk', 'Vukan', 'Zdravko', 'Zlatko', 'Zoran', - 'Zvonimir', 'Zvonko', 'Ćirilo', 'Ćiro', 'Želimir', 'Željko', - // below are unknown gender firstnames - 'Agnica', 'Agnija', 'Aksentije', 'Aleksandron', 'Aleksija', 'Aleksije', 'Alimpije', 'Anastasija', 'Andrijaš', 'Ankica', 'Anđa', 'Anđela', 'Anđelija', - 'Anđelka', 'Anđelko', 'Aranđel', 'Arsa', 'Arsenije', 'Arso', 'Atanacko', 'Atanasije', 'Avakum', 'Avram', 'Aćim', 'Bajko', - 'Bajo', 'Bajčeta', 'Batrić', 'Berisav', 'Berislav', 'Beriša', 'Biljan', 'Bisenija', 'Biserka', 'Biserko', 'Blagica', 'Blaginja', - 'Blagoje', 'Blagomir', 'Blagota', 'Blaško', 'Blažen', 'Blaženka', 'Blažo', 'Bogdana', 'Bogelj', 'Bogić', 'Bogiša', 'Bogoboj', - 'Bogoje', 'Bogoljub', 'Bogosav', 'Bogoslav', 'Boica', 'Boin', 'Bojko', 'Bojčeta', 'Borisav', 'Borislava', 'Borislavka', 'Borivoje', - 'Boriša', 'Borjanka', 'Borka', 'Borko', 'Boro', 'Boroje', 'Bosa', 'Bosiljka', 'Boža', 'Božana', 'Božica', 'Božidarka', - 'Božin', 'Božinka', 'Božićko', 'Brajica', 'Branimir', 'Branislava', 'Branivoj', 'Branivoje', 'Bratimir', 'Bratislav', 'Bratislava', 'Bratoljub', - 'Bratovan', 'Brnča', 'Budimir', 'Budimirka', 'Budimka', 'Budisav', 'Budislav', 'Curko', 'Cvejan', 'Cveta', 'Cvetin', 'Cvetko', - 'Cvetoje', 'Cvetoš', 'Cvijan', 'Cvijeta', 'Cvijetin', 'Cviko', 'Cvjetko', 'Cvjetoje', 'Cvjetoš', 'Dabiša', 'Dabiživ', 'Dabo', - 'Daliborka', 'Damjanka', 'Damljan', 'Damljanka', 'Danojla', 'Dančul', 'Darije', 'Darijo', 'Darinka', 'Darjan', 'Desanka', 'Desimir', - 'Despinja', 'Despot', 'Dikosava', 'Dimitrije', 'Dimčo', 'Divna', 'Dmitar', 'Dmitra', 'Dobrašin', 'Dobrica', 'Dobrija', 'Dobrila', - 'Dobrilo', 'Dobrinka', 'Dobrinko', 'Dobrivoj', 'Dobrivoje', 'Dobrosav', 'Dobroslav', 'Dobrovuk', 'Dojčilo', 'Dojčin', 'Dokna', 'Doko', - 'Dorotej', 'Doroteja', 'Dositej', 'Dostana', 'Draga', 'Dragaš', 'Dragija', 'Draginja', 'Dragić', 'Dragiša', 'Dragobrat', 'Dragoja', - 'Dragoje', 'Dragojla', 'Dragojlo', 'Dragoljub', 'Dragoman', 'Dragomira', 'Dragorad', 'Dragosav', 'Dragoslav', 'Dragoslava', 'Dragovan', 'Dragutin', - 'Drailo', 'Drakša', 'Draško', 'Draža', 'Dražeta', 'Dražo', 'Drena', 'Drenka', 'Drinka', 'Dubravac', 'Dubravka', 'Dujak', - 'Dukadin', 'Emilijan', 'Emilije', 'Erak', 'Evdokija', 'Evgenije', 'Fema', 'Gaja', 'Gajin', 'Gajo', 'Gavra', 'Gavrila', - 'Gavrilka', 'Gavrilo', 'Gača', 'Genadije', 'Georgije', 'Gerasim', 'Gligorije', 'Gliša', 'Glišo', 'Godeč', 'Godomir', 'Golub', - 'Goranka', 'Gorica', 'Gorjana', 'Gorčin', 'Gospava', 'Gostimir', 'Gostoljub', 'Gradeta', 'Gradimir', 'Gradiša', 'Grdan', 'Grigorije', - 'Grijak', 'Grozda', 'Grozdan', 'Grozdana', 'Grubac', 'Gruban', 'Grubač', 'Grubeta', 'Grubeša', 'Grubiša', 'Gruja', 'Grujica', - 'Grujo', 'Gvozden', 'Gvozdenija', 'Gvozdenko', 'Hranimir', 'Hranislav', 'Hranislava', 'Hraniša', 'Hrastimir', 'Hristijan', 'Hristoslav', 'Hvalimir', - 'Hvalislav', 'Ignjat', 'Ignjatije', 'Ikonija', 'Ilinka', 'Isaija', 'Isailo', 'Isidor', 'Ivaniš', 'Ivko', 'Jablan', 'Jagodinka', - 'Jagoš', 'Jakša', 'Jandrija', 'Janićije', 'Janovka', 'Jasenko', 'Javorka', 'Javorko', 'Jefimija', 'Jela', 'Jelača', 'Jelašin', - 'Jelen', 'Jelenka', 'Jelenko', 'Jelica', 'Jelisava', 'Jelisavka', 'Jelisije', 'Jeremija', 'Jerotije', 'Jevdokija', 'Jevrem', 'Jevrosima', - 'Jevta', 'Jevtan', 'Jevtimije', 'Jevto', 'Jezda', 'Jezdimir', 'Joksim', 'Jorgovanka', 'Josif', 'Joviša', 'Jovka', 'Jovko', - 'Jugoljub', 'Jugomir', 'Jugoslav', 'Julijan', 'Julka', 'Junoša', 'Juriša', 'Kadivka', 'Kamenko', 'Kasija', 'Kazimir', 'Kazimira', - 'Kažimir', 'Kiprijan', 'Kirilo', 'Kojadin', 'Kojadinka', 'Kojčin', 'Kokan', 'Komnen', 'Komnenija', 'Kornelije', 'Kosana', 'Kosara', - 'Kosovka', 'Kostadinka', 'Kovana', 'Koviljka', 'Koviljko', 'Kovina', 'Kozma', 'Koča', 'Koštana', 'Kraguj', 'Kraisava', 'Krajislav', - 'Krajčin', 'Krasimir', 'Krasoje', 'Krsman', 'Krsmanija', 'Krsta', 'Krstan', 'Krstana', 'Krstina', 'Krstivoje', 'Krsto', 'Krunislav', - 'Krunoslava', 'Ksenija', 'Kumodrag', 'Kuzman', 'Labud', 'Laka', 'Laketa', 'Lako', 'Latinka', 'Laza', 'Leonida', 'Lepa', - 'Lepoje', 'Lepomir', 'Leposava', 'Leposlav', 'Ležimir', 'Ljepava', 'Ljeposava', 'Ljilja', 'Ljiljan', 'Ljuban', 'Ljuben', 'Ljubenko', - 'Ljubinko', 'Ljubisav', 'Ljubislav', 'Ljubivoje', 'Ljubiša', 'Ljubo', 'Ljubobrat', 'Ljubodrag', 'Ljuboja', 'Ljuboje', 'Ljubomir', 'Ljubomirka', - 'Ljubosava', 'Lozan', 'Lujo', 'Manduša', 'Manojlo', 'Matijaš', 'Mavren', 'Mašan', 'Maško', 'Medak', 'Mijailo', 'Mijak', - 'Mijan', 'Mijana', 'Mijat', 'Mijobrat', 'Mijuško', 'Miladija', 'Milak', 'Milanko', 'Milat', 'Milaš', 'Milašin', 'Milentije', - 'Milesa', 'Mileta', 'Mileva', 'Milijan', 'Milijaš', 'Milina', 'Milinko', 'Milisav', 'Milisava', 'Milisavka', 'Milivoj', 'Milivoje', - 'Milić', 'Milj', 'Miljen', 'Miljka', 'Miljko', 'Miljojko', 'Miljurko', 'Milkica', 'Miloja', 'Milojica', 'Milojka', 'Milojko', - 'Milomir', 'Milosav', 'Milosava', 'Milosavka', 'Milovan', 'Milten', 'Miluka', 'Milun', 'Milunka', 'Milutin', 'Miluš', 'Miluša', - 'Miomirka', 'Miroljub', 'Mirosav', 'Mirosava', 'Mirčeta', 'Mitar', 'Mićan', 'Mišljen', 'Mlađan', 'Mlađen', 'Mojsilo', 'Momir', - 'Momčilo', 'Mrkša', 'Mrđan', 'Mrđen', 'Nadica', 'Najdan', 'Naum', 'Nedeljka', 'Nedeljko', 'Negomir', 'Negovan', 'Nevenko', - 'Neđeljka', 'Neđeljko', 'Neško', 'Nikašin', 'Nikodije', 'Nikodim', 'Nikolija', 'Nikša', 'Ninko', 'Ninoslav', 'Nićifor', 'Nišava', - 'Njegomir', 'Njegomirka', 'Njegoslava', 'Njegoš', 'Novica', 'Noviša', 'Novka', 'Novko', 'Obrad', 'Obradin', 'Obradinka', 'Obren', - 'Obrenija', 'Obrenko', 'Obreten', 'Ognjan', 'Ognjana', 'Olja', 'Ostoja', 'Ozriša', 'Pantelija', 'Paun', 'Pauna', 'Pava', - 'Pavija', 'Pavić', 'Pavko', 'Pavle', 'Pavlija', 'Pavlić', 'Pejak', 'Pejo', 'Pelagija', 'Pera', 'Periša', 'Persida', - 'Perun', 'Perunko', 'Petak', 'Petoje', 'Petoš', 'Petrašin', 'Petrija', 'Petronije', 'Plavša', 'Poznan', 'Poznana', 'Prerad', - 'Pribić', 'Prodan', 'Prodana', 'Prokopije', 'Prvoslav', 'Punan', 'Puniša', 'Pureš', 'Purko', 'Puro', 'Racko', 'Radak', - 'Radan', 'Radana', 'Radas', 'Radašin', 'Radeta', 'Radica', 'Radinka', 'Radinko', 'Radisav', 'Radivoj', 'Radivoje', 'Radič', - 'Radiša', 'Radman', 'Radna', 'Radoba', 'Radobud', 'Radoja', 'Radoje', 'Radojica', 'Radojko', 'Radojlo', 'Radoman', 'Radonja', - 'Radosav', 'Radoslava', 'Radota', 'Radovac', 'Radoš', 'Raduka', 'Radukan', 'Radul', 'Radula', 'Radulin', 'Radun', 'Radunka', - 'Radusin', 'Rafailo', 'Raica', 'Raič', 'Raičko', 'Rajak', 'Rajka', 'Rajna', 'Rajčeta', 'Ralen', 'Raleta', 'Ranisav', - 'Ranka', 'Raosav', 'Rastko', 'Ratibor', 'Ratko', 'Ratomir', 'Račeta', 'Rađen', 'Raško', 'Rekula', 'Relja', 'Rista', - 'Ristan', 'Ristivoje', 'Rodoljub', 'Roksanda', 'Samuilo', 'Savka', 'Savko', 'Savo', 'Sazdana', 'Sekana', 'Sekula', 'Selak', - 'Simana', 'Simeun', 'Simeuna', 'Simka', 'Simonida', 'Sinđa', 'Sinđel', 'Skorosav', 'Skorosava', 'Sladoje', 'Slaven', 'Slavenko', - 'Slavna', 'Slavo', 'Slavojka', 'Slavuj', 'Slađan', 'Slađana', 'Slobodanka', 'Smilja', 'Smiljan', 'Smiljana', 'Smiljka', 'Smiljko', - 'Smoljan', 'Smoljana', 'Smoljka', 'Soka', 'Soko', 'Spasenija', 'Spasoja', 'Spiridon', 'Spomenka', 'Srbijanka', 'Srbislav', 'Srboljub', - 'Srboslav', 'Srdan', 'Sredoja', 'Sredoje', 'Sreten', 'Sretko', 'Srećan', 'Srđa', 'Srđan', 'Stajka', 'Staka', 'Stamena', - 'Stamenka', 'Stamenko', 'Stanava', 'Stanača', 'Stanica', 'Stanija', 'Stanisav', 'Stanisava', 'Staniša', 'Stanoja', 'Stanojka', 'Stanojko', - 'Stanojla', 'Stanojlo', 'Staša', 'Stevica', 'Stoin', 'Stoisava', 'Stoić', 'Stoja', 'Stojadin', 'Stojak', 'Stojan', 'Stojana', - 'Stojanka', 'Stojka', 'Stojko', 'Stojmen', 'Stojna', 'Stojša', 'Strainja', 'Svetibor', 'Svetislava', 'Svetolik', 'Svetoljub', 'Svetomir', - 'Svetorad', 'Svetozar', 'Svjetlana', 'Tadija', 'Tanacko', 'Tanasije', 'Tankosa', 'Tankosava', 'Tatomir', 'Teodosije', 'Teofil', 'Tešan', - 'Timotije', 'Todora', 'Toma', 'Tomanija', 'Toplica', 'Trajan', 'Trajko', 'Trifun', 'Tripko', 'Tripun', 'Trivun', 'Tvrtko', - 'Ubavka', 'Uglješa', 'Umiljen', 'Utešen', 'Utješen', 'Vajo', 'Vasilija', 'Vasilije', 'Vasilj', 'Vasiljka', 'Vaskrsija', 'Vaskrsije', - 'Vasoje', 'Vekoslav', 'Veliborka', 'Velinka', 'Velisav', 'Velisava', 'Velizar', 'Veličko', 'Veljko', 'Veran', 'Veroljub', 'Veroslava', - 'Veselinka', 'Vesko', 'Vid', 'Vidak', 'Vidan', 'Vidač', 'Viden', 'Vidoja', 'Vidoje', 'Vidojka', 'Vidojko', 'Vidosav', - 'Vidosava', 'Vilotije', 'Vitka', 'Vitko', 'Vitomir', 'Vitomirka', 'Vićan', 'Vićentije', 'Višeslav', 'Višeslava', 'Vjekoslav', 'Vladana', - 'Vlade', 'Vladeta', 'Vladica', 'Vladimirka', 'Vladisav', 'Vladislava', 'Vladoje', 'Vladun', 'Vlaislav', 'Vlajko', 'Vlasije', 'Vlastimirka', - 'Vlatka', 'Vlaško', 'Voica', 'Vojdrag', 'Vojimir', 'Vojin', 'Vojislav', 'Vojislava', 'Vojka', 'Vojkan', 'Vojko', 'Vraneš', - 'Vugdrag', 'Vuica', 'Vuilo', 'Vuin', 'Vujadin', 'Vujadinka', 'Vujak', 'Vujan', 'Vujana', 'Vujeta', 'Vujka', 'Vujko', - 'Vujo', 'Vujčeta', 'Vujčin', 'Vukac', 'Vukadin', 'Vukajlo', 'Vukalj', 'Vukalo', 'Vukana', 'Vukas', 'Vukač', 'Vukašin', - 'Vukelja', 'Vukica', 'Vukić', 'Vukman', 'Vukmilj', 'Vukmir', 'Vukmira', 'Vuko', 'Vukoje', 'Vukojica', 'Vukola', 'Vukoman', - 'Vukomir', 'Vukosav', 'Vukosava', 'Vukoslav', 'Vukota', 'Vukovoje', 'Vuksan', 'Vukša', 'Vule', 'Vuleta', 'Vunko', 'Vuzman', - 'Vuča', 'Vučan', 'Vučen', 'Vučeta', 'Vučina', 'Vučić', 'Vučko', 'Zagorka', 'Zaharije', 'Zarija', 'Zarije', 'Zavida', - 'Zaviša', 'Zdraviša', 'Zlata', 'Zlatan', 'Zlatana', 'Zlatibor', 'Zlatica', 'Zlatija', 'Zlatoje', 'Zlatomir', 'Zlatomirka', 'Zlatosav', - 'Zorislava', 'Zorka', 'Zrinka', 'Zrinko', 'Zvezdan', 'Zvezdana', 'Zvezdodrag', 'Zvezdoslav', 'Zvjezdan', 'Zvjezdana', 'Zvonka', 'Ćerana', - 'Ćirjak', 'Ćirko', 'Čarna', 'Časlav', 'Čedomir', 'Čubrilo', 'Đenadije', 'Đoko', 'Đorđe', 'Đorđije', 'Đorđo', 'Đuka', - 'Đukan', 'Đura', 'Đurađ', 'Đurašin', 'Đurica', 'Đurisav', 'Đurisava', 'Đurko', 'Đuro', 'Đurđe', 'Đurđevka', 'Đurđica', - 'Đurđija', 'Šakota', 'Šale', 'Šumenko', 'Šutan', 'Žanka', 'Žarko', 'Želimirka', 'Željana', 'Žika', 'Žikica', 'Žitomir', - 'Živadin', 'Živadinka', 'Živan', 'Živana', 'Živanka', 'Živanko', 'Živica', 'Živka', 'Živko', 'Živodarka', 'Živojin', 'Živoljub', - 'Živomir', 'Živorad', 'Živoratka', 'Živoslava', 'Živoslavka', 'Života', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 + */ + protected static $firstNameMale = [ + 'Adam', + 'Aleksa', + 'Aleksandar', + 'Aleksej', + 'Andrej', + 'Andrija', + 'Antonije', + 'Arsen', + 'Balša', + 'Bane', + 'Berko', + 'Blagoja', + 'Blaža', + 'Boban', + 'Bogdan', + 'Bojan', + 'Bojo', + 'Bora', + 'Boris', + 'Borislav', + 'Borivoj', + 'Boško', + 'Božidar', + 'Božo', + 'Brajan', + 'Branislav', + 'Branko', + 'Brano', + 'Dalibor', + 'Damjan', + 'Dane', + 'Danijel', + 'Danilo', + 'Danko', + 'Dario', + 'Darko', + 'David', + 'Dejan', + 'Dragan', + 'Drago', + 'Dragomir', + 'Dragoš', + 'Dubravko', + 'Dušan', + 'Duško', + 'Emil', + 'Filip', + 'German', + 'Gojko', + 'Goran', + 'Gordan', + 'Grgur', + 'Igor', + 'Ilija', + 'Isak', + 'Ivan', + 'Ivica', + 'Ivo', + 'Jadranko', + 'Jakov', + 'Jandre', + 'Janko', + 'Jaroslav', + 'Jasen', + 'Jerko', + 'Joko', + 'Jordan', + 'Jova', + 'Jovan', + 'Jovica', + 'Jovo', + 'Justin', + 'Konstantin', + 'Kosta', + 'Kostadin', + 'Lazar', + 'Luka', + 'Luča', + 'Maksim', + 'Maleš', + 'Marinko', + 'Marjan', + 'Marko', + 'Martin', + 'Matej', + 'Matija', + 'Mato', + 'Maša', + 'Mihailo', + 'Mihajlo', + 'Mijo', + 'Miladin', + 'Milan', + 'Milen', + 'Milenko', + 'Mileš', + 'Milija', + 'Miljan', + 'Milko', + 'Milo', + 'Miloje', + 'Milorad', + 'Miloš', + 'Miodrag', + 'Miomir', + 'Mirko', + 'Miro', + 'Miroslav', + 'Mićo', + 'Miško', + 'Mladen', + 'Nebojša', + 'Nemanja', + 'Nenad', + 'Nestor', + 'Neven', + 'Nikola', + 'Nino', + 'Novak', + 'Novo', + 'Ognjen', + 'Oliver', + 'Ozren', + 'Perica', + 'Pero', + 'Petar', + 'Petko', + 'Predrag', + 'Rade', + 'Raden', + 'Radenko', + 'Radin', + 'Radmilo', + 'Radomir', + 'Radoslav', + 'Radovan', + 'Rajan', + 'Rajko', + 'Ranko', + 'Rastislav', + 'Resan', + 'Risto', + 'Sava', + 'Saša', + 'Simeon', + 'Simo', + 'Simon', + 'Siniša', + 'Slaviša', + 'Slavko', + 'Slavoljub', + 'Slavomir', + 'Slobodan', + 'Spasoje', + 'Srećko', + 'Stanimir', + 'Stanislav', + 'Stanko', + 'Stanoje', + 'Stefan', + 'Stepan', + 'Stevan', + 'Stevo', + 'Stjepan', + 'Strahinja', + 'Svetislav', + 'Tadej', + 'Teodor', + 'Tihomir', + 'Todor', + 'Tomaš', + 'Tomica', + 'Tomislav', + 'Tomo', + 'Trpko', + 'Uroš', + 'Vasko', + 'Velibor', + 'Velimir', + 'Veselin', + 'Viktor', + 'Vlada', + 'Vladan', + 'Vladimir', + 'Vladislav', + 'Vlado', + 'Vlastimir', + 'Vlatko', + 'Vuk', + 'Vukan', + 'Zdravko', + 'Zlatko', + 'Zoran', + 'Zvonimir', + 'Zvonko', + 'Ćirilo', + 'Ćiro', + 'Želimir', + 'Željko', + // below are unknown gender firstnames + 'Agnica', + 'Agnija', + 'Aksentije', + 'Aleksandron', + 'Aleksija', + 'Aleksije', + 'Alimpije', + 'Anastasija', + 'Andrijaš', + 'Ankica', + 'Anđa', + 'Anđela', + 'Anđelija', + 'Anđelka', + 'Anđelko', + 'Aranđel', + 'Arsa', + 'Arsenije', + 'Arso', + 'Atanacko', + 'Atanasije', + 'Avakum', + 'Avram', + 'Aćim', + 'Bajko', + 'Bajo', + 'Bajčeta', + 'Batrić', + 'Berisav', + 'Berislav', + 'Beriša', + 'Biljan', + 'Bisenija', + 'Biserka', + 'Biserko', + 'Blagica', + 'Blaginja', + 'Blagoje', + 'Blagomir', + 'Blagota', + 'Blaško', + 'Blažen', + 'Blaženka', + 'Blažo', + 'Bogdana', + 'Bogelj', + 'Bogić', + 'Bogiša', + 'Bogoboj', + 'Bogoje', + 'Bogoljub', + 'Bogosav', + 'Bogoslav', + 'Boica', + 'Boin', + 'Bojko', + 'Bojčeta', + 'Borisav', + 'Borislava', + 'Borislavka', + 'Borivoje', + 'Boriša', + 'Borjanka', + 'Borka', + 'Borko', + 'Boro', + 'Boroje', + 'Bosa', + 'Bosiljka', + 'Boža', + 'Božana', + 'Božica', + 'Božidarka', + 'Božin', + 'Božinka', + 'Božićko', + 'Brajica', + 'Branimir', + 'Branislava', + 'Branivoj', + 'Branivoje', + 'Bratimir', + 'Bratislav', + 'Bratislava', + 'Bratoljub', + 'Bratovan', + 'Brnča', + 'Budimir', + 'Budimirka', + 'Budimka', + 'Budisav', + 'Budislav', + 'Curko', + 'Cvejan', + 'Cveta', + 'Cvetin', + 'Cvetko', + 'Cvetoje', + 'Cvetoš', + 'Cvijan', + 'Cvijeta', + 'Cvijetin', + 'Cviko', + 'Cvjetko', + 'Cvjetoje', + 'Cvjetoš', + 'Dabiša', + 'Dabiživ', + 'Dabo', + 'Daliborka', + 'Damjanka', + 'Damljan', + 'Damljanka', + 'Danojla', + 'Dančul', + 'Darije', + 'Darijo', + 'Darinka', + 'Darjan', + 'Desanka', + 'Desimir', + 'Despinja', + 'Despot', + 'Dikosava', + 'Dimitrije', + 'Dimčo', + 'Divna', + 'Dmitar', + 'Dmitra', + 'Dobrašin', + 'Dobrica', + 'Dobrija', + 'Dobrila', + 'Dobrilo', + 'Dobrinka', + 'Dobrinko', + 'Dobrivoj', + 'Dobrivoje', + 'Dobrosav', + 'Dobroslav', + 'Dobrovuk', + 'Dojčilo', + 'Dojčin', + 'Dokna', + 'Doko', + 'Dorotej', + 'Doroteja', + 'Dositej', + 'Dostana', + 'Draga', + 'Dragaš', + 'Dragija', + 'Draginja', + 'Dragić', + 'Dragiša', + 'Dragobrat', + 'Dragoja', + 'Dragoje', + 'Dragojla', + 'Dragojlo', + 'Dragoljub', + 'Dragoman', + 'Dragomira', + 'Dragorad', + 'Dragosav', + 'Dragoslav', + 'Dragoslava', + 'Dragovan', + 'Dragutin', + 'Drailo', + 'Drakša', + 'Draško', + 'Draža', + 'Dražeta', + 'Dražo', + 'Drena', + 'Drenka', + 'Drinka', + 'Dubravac', + 'Dubravka', + 'Dujak', + 'Dukadin', + 'Emilijan', + 'Emilije', + 'Erak', + 'Evdokija', + 'Evgenije', + 'Fema', + 'Gaja', + 'Gajin', + 'Gajo', + 'Gavra', + 'Gavrila', + 'Gavrilka', + 'Gavrilo', + 'Gača', + 'Genadije', + 'Georgije', + 'Gerasim', + 'Gligorije', + 'Gliša', + 'Glišo', + 'Godeč', + 'Godomir', + 'Golub', + 'Goranka', + 'Gorica', + 'Gorjana', + 'Gorčin', + 'Gospava', + 'Gostimir', + 'Gostoljub', + 'Gradeta', + 'Gradimir', + 'Gradiša', + 'Grdan', + 'Grigorije', + 'Grijak', + 'Grozda', + 'Grozdan', + 'Grozdana', + 'Grubac', + 'Gruban', + 'Grubač', + 'Grubeta', + 'Grubeša', + 'Grubiša', + 'Gruja', + 'Grujica', + 'Grujo', + 'Gvozden', + 'Gvozdenija', + 'Gvozdenko', + 'Hranimir', + 'Hranislav', + 'Hranislava', + 'Hraniša', + 'Hrastimir', + 'Hristijan', + 'Hristoslav', + 'Hvalimir', + 'Hvalislav', + 'Ignjat', + 'Ignjatije', + 'Ikonija', + 'Ilinka', + 'Isaija', + 'Isailo', + 'Isidor', + 'Ivaniš', + 'Ivko', + 'Jablan', + 'Jagodinka', + 'Jagoš', + 'Jakša', + 'Jandrija', + 'Janićije', + 'Janovka', + 'Jasenko', + 'Javorka', + 'Javorko', + 'Jefimija', + 'Jela', + 'Jelača', + 'Jelašin', + 'Jelen', + 'Jelenka', + 'Jelenko', + 'Jelica', + 'Jelisava', + 'Jelisavka', + 'Jelisije', + 'Jeremija', + 'Jerotije', + 'Jevdokija', + 'Jevrem', + 'Jevrosima', + 'Jevta', + 'Jevtan', + 'Jevtimije', + 'Jevto', + 'Jezda', + 'Jezdimir', + 'Joksim', + 'Jorgovanka', + 'Josif', + 'Joviša', + 'Jovka', + 'Jovko', + 'Jugoljub', + 'Jugomir', + 'Jugoslav', + 'Julijan', + 'Julka', + 'Junoša', + 'Juriša', + 'Kadivka', + 'Kamenko', + 'Kasija', + 'Kazimir', + 'Kazimira', + 'Kažimir', + 'Kiprijan', + 'Kirilo', + 'Kojadin', + 'Kojadinka', + 'Kojčin', + 'Kokan', + 'Komnen', + 'Komnenija', + 'Kornelije', + 'Kosana', + 'Kosara', + 'Kosovka', + 'Kostadinka', + 'Kovana', + 'Koviljka', + 'Koviljko', + 'Kovina', + 'Kozma', + 'Koča', + 'Koštana', + 'Kraguj', + 'Kraisava', + 'Krajislav', + 'Krajčin', + 'Krasimir', + 'Krasoje', + 'Krsman', + 'Krsmanija', + 'Krsta', + 'Krstan', + 'Krstana', + 'Krstina', + 'Krstivoje', + 'Krsto', + 'Krunislav', + 'Krunoslava', + 'Ksenija', + 'Kumodrag', + 'Kuzman', + 'Labud', + 'Laka', + 'Laketa', + 'Lako', + 'Latinka', + 'Laza', + 'Leonida', + 'Lepa', + 'Lepoje', + 'Lepomir', + 'Leposava', + 'Leposlav', + 'Ležimir', + 'Ljepava', + 'Ljeposava', + 'Ljilja', + 'Ljiljan', + 'Ljuban', + 'Ljuben', + 'Ljubenko', + 'Ljubinko', + 'Ljubisav', + 'Ljubislav', + 'Ljubivoje', + 'Ljubiša', + 'Ljubo', + 'Ljubobrat', + 'Ljubodrag', + 'Ljuboja', + 'Ljuboje', + 'Ljubomir', + 'Ljubomirka', + 'Ljubosava', + 'Lozan', + 'Lujo', + 'Manduša', + 'Manojlo', + 'Matijaš', + 'Mavren', + 'Mašan', + 'Maško', + 'Medak', + 'Mijailo', + 'Mijak', + 'Mijan', + 'Mijana', + 'Mijat', + 'Mijobrat', + 'Mijuško', + 'Miladija', + 'Milak', + 'Milanko', + 'Milat', + 'Milaš', + 'Milašin', + 'Milentije', + 'Milesa', + 'Mileta', + 'Mileva', + 'Milijan', + 'Milijaš', + 'Milina', + 'Milinko', + 'Milisav', + 'Milisava', + 'Milisavka', + 'Milivoj', + 'Milivoje', + 'Milić', + 'Milj', + 'Miljen', + 'Miljka', + 'Miljko', + 'Miljojko', + 'Miljurko', + 'Milkica', + 'Miloja', + 'Milojica', + 'Milojka', + 'Milojko', + 'Milomir', + 'Milosav', + 'Milosava', + 'Milosavka', + 'Milovan', + 'Milten', + 'Miluka', + 'Milun', + 'Milunka', + 'Milutin', + 'Miluš', + 'Miluša', + 'Miomirka', + 'Miroljub', + 'Mirosav', + 'Mirosava', + 'Mirčeta', + 'Mitar', + 'Mićan', + 'Mišljen', + 'Mlađan', + 'Mlađen', + 'Mojsilo', + 'Momir', + 'Momčilo', + 'Mrkša', + 'Mrđan', + 'Mrđen', + 'Nadica', + 'Najdan', + 'Naum', + 'Nedeljka', + 'Nedeljko', + 'Negomir', + 'Negovan', + 'Nevenko', + 'Neđeljka', + 'Neđeljko', + 'Neško', + 'Nikašin', + 'Nikodije', + 'Nikodim', + 'Nikolija', + 'Nikša', + 'Ninko', + 'Ninoslav', + 'Nićifor', + 'Nišava', + 'Njegomir', + 'Njegomirka', + 'Njegoslava', + 'Njegoš', + 'Novica', + 'Noviša', + 'Novka', + 'Novko', + 'Obrad', + 'Obradin', + 'Obradinka', + 'Obren', + 'Obrenija', + 'Obrenko', + 'Obreten', + 'Ognjan', + 'Ognjana', + 'Olja', + 'Ostoja', + 'Ozriša', + 'Pantelija', + 'Paun', + 'Pauna', + 'Pava', + 'Pavija', + 'Pavić', + 'Pavko', + 'Pavle', + 'Pavlija', + 'Pavlić', + 'Pejak', + 'Pejo', + 'Pelagija', + 'Pera', + 'Periša', + 'Persida', + 'Perun', + 'Perunko', + 'Petak', + 'Petoje', + 'Petoš', + 'Petrašin', + 'Petrija', + 'Petronije', + 'Plavša', + 'Poznan', + 'Poznana', + 'Prerad', + 'Pribić', + 'Prodan', + 'Prodana', + 'Prokopije', + 'Prvoslav', + 'Punan', + 'Puniša', + 'Pureš', + 'Purko', + 'Puro', + 'Racko', + 'Radak', + 'Radan', + 'Radana', + 'Radas', + 'Radašin', + 'Radeta', + 'Radica', + 'Radinka', + 'Radinko', + 'Radisav', + 'Radivoj', + 'Radivoje', + 'Radič', + 'Radiša', + 'Radman', + 'Radna', + 'Radoba', + 'Radobud', + 'Radoja', + 'Radoje', + 'Radojica', + 'Radojko', + 'Radojlo', + 'Radoman', + 'Radonja', + 'Radosav', + 'Radoslava', + 'Radota', + 'Radovac', + 'Radoš', + 'Raduka', + 'Radukan', + 'Radul', + 'Radula', + 'Radulin', + 'Radun', + 'Radunka', + 'Radusin', + 'Rafailo', + 'Raica', + 'Raič', + 'Raičko', + 'Rajak', + 'Rajka', + 'Rajna', + 'Rajčeta', + 'Ralen', + 'Raleta', + 'Ranisav', + 'Ranka', + 'Raosav', + 'Rastko', + 'Ratibor', + 'Ratko', + 'Ratomir', + 'Račeta', + 'Rađen', + 'Raško', + 'Rekula', + 'Relja', + 'Rista', + 'Ristan', + 'Ristivoje', + 'Rodoljub', + 'Roksanda', + 'Samuilo', + 'Savka', + 'Savko', + 'Savo', + 'Sazdana', + 'Sekana', + 'Sekula', + 'Selak', + 'Simana', + 'Simeun', + 'Simeuna', + 'Simka', + 'Simonida', + 'Sinđa', + 'Sinđel', + 'Skorosav', + 'Skorosava', + 'Sladoje', + 'Slaven', + 'Slavenko', + 'Slavna', + 'Slavo', + 'Slavojka', + 'Slavuj', + 'Slađan', + 'Slađana', + 'Slobodanka', + 'Smilja', + 'Smiljan', + 'Smiljana', + 'Smiljka', + 'Smiljko', + 'Smoljan', + 'Smoljana', + 'Smoljka', + 'Soka', + 'Soko', + 'Spasenija', + 'Spasoja', + 'Spiridon', + 'Spomenka', + 'Srbijanka', + 'Srbislav', + 'Srboljub', + 'Srboslav', + 'Srdan', + 'Sredoja', + 'Sredoje', + 'Sreten', + 'Sretko', + 'Srećan', + 'Srđa', + 'Srđan', + 'Stajka', + 'Staka', + 'Stamena', + 'Stamenka', + 'Stamenko', + 'Stanava', + 'Stanača', + 'Stanica', + 'Stanija', + 'Stanisav', + 'Stanisava', + 'Staniša', + 'Stanoja', + 'Stanojka', + 'Stanojko', + 'Stanojla', + 'Stanojlo', + 'Staša', + 'Stevica', + 'Stoin', + 'Stoisava', + 'Stoić', + 'Stoja', + 'Stojadin', + 'Stojak', + 'Stojan', + 'Stojana', + 'Stojanka', + 'Stojka', + 'Stojko', + 'Stojmen', + 'Stojna', + 'Stojša', + 'Strainja', + 'Svetibor', + 'Svetislava', + 'Svetolik', + 'Svetoljub', + 'Svetomir', + 'Svetorad', + 'Svetozar', + 'Svjetlana', + 'Tadija', + 'Tanacko', + 'Tanasije', + 'Tankosa', + 'Tankosava', + 'Tatomir', + 'Teodosije', + 'Teofil', + 'Tešan', + 'Timotije', + 'Todora', + 'Toma', + 'Tomanija', + 'Toplica', + 'Trajan', + 'Trajko', + 'Trifun', + 'Tripko', + 'Tripun', + 'Trivun', + 'Tvrtko', + 'Ubavka', + 'Uglješa', + 'Umiljen', + 'Utešen', + 'Utješen', + 'Vajo', + 'Vasilija', + 'Vasilije', + 'Vasilj', + 'Vasiljka', + 'Vaskrsija', + 'Vaskrsije', + 'Vasoje', + 'Vekoslav', + 'Veliborka', + 'Velinka', + 'Velisav', + 'Velisava', + 'Velizar', + 'Veličko', + 'Veljko', + 'Veran', + 'Veroljub', + 'Veroslava', + 'Veselinka', + 'Vesko', + 'Vid', + 'Vidak', + 'Vidan', + 'Vidač', + 'Viden', + 'Vidoja', + 'Vidoje', + 'Vidojka', + 'Vidojko', + 'Vidosav', + 'Vidosava', + 'Vilotije', + 'Vitka', + 'Vitko', + 'Vitomir', + 'Vitomirka', + 'Vićan', + 'Vićentije', + 'Višeslav', + 'Višeslava', + 'Vjekoslav', + 'Vladana', + 'Vlade', + 'Vladeta', + 'Vladica', + 'Vladimirka', + 'Vladisav', + 'Vladislava', + 'Vladoje', + 'Vladun', + 'Vlaislav', + 'Vlajko', + 'Vlasije', + 'Vlastimirka', + 'Vlatka', + 'Vlaško', + 'Voica', + 'Vojdrag', + 'Vojimir', + 'Vojin', + 'Vojislav', + 'Vojislava', + 'Vojka', + 'Vojkan', + 'Vojko', + 'Vraneš', + 'Vugdrag', + 'Vuica', + 'Vuilo', + 'Vuin', + 'Vujadin', + 'Vujadinka', + 'Vujak', + 'Vujan', + 'Vujana', + 'Vujeta', + 'Vujka', + 'Vujko', + 'Vujo', + 'Vujčeta', + 'Vujčin', + 'Vukac', + 'Vukadin', + 'Vukajlo', + 'Vukalj', + 'Vukalo', + 'Vukana', + 'Vukas', + 'Vukač', + 'Vukašin', + 'Vukelja', + 'Vukica', + 'Vukić', + 'Vukman', + 'Vukmilj', + 'Vukmir', + 'Vukmira', + 'Vuko', + 'Vukoje', + 'Vukojica', + 'Vukola', + 'Vukoman', + 'Vukomir', + 'Vukosav', + 'Vukosava', + 'Vukoslav', + 'Vukota', + 'Vukovoje', + 'Vuksan', + 'Vukša', + 'Vule', + 'Vuleta', + 'Vunko', + 'Vuzman', + 'Vuča', + 'Vučan', + 'Vučen', + 'Vučeta', + 'Vučina', + 'Vučić', + 'Vučko', + 'Zagorka', + 'Zaharije', + 'Zarija', + 'Zarije', + 'Zavida', + 'Zaviša', + 'Zdraviša', + 'Zlata', + 'Zlatan', + 'Zlatana', + 'Zlatibor', + 'Zlatica', + 'Zlatija', + 'Zlatoje', + 'Zlatomir', + 'Zlatomirka', + 'Zlatosav', + 'Zorislava', + 'Zorka', + 'Zrinka', + 'Zrinko', + 'Zvezdan', + 'Zvezdana', + 'Zvezdodrag', + 'Zvezdoslav', + 'Zvjezdan', + 'Zvjezdana', + 'Zvonka', + 'Ćerana', + 'Ćirjak', + 'Ćirko', + 'Čarna', + 'Časlav', + 'Čedomir', + 'Čubrilo', + 'Đenadije', + 'Đoko', + 'Đorđe', + 'Đorđije', + 'Đorđo', + 'Đuka', + 'Đukan', + 'Đura', + 'Đurađ', + 'Đurašin', + 'Đurica', + 'Đurisav', + 'Đurisava', + 'Đurko', + 'Đuro', + 'Đurđe', + 'Đurđevka', + 'Đurđica', + 'Đurđija', + 'Šakota', + 'Šale', + 'Šumenko', + 'Šutan', + 'Žanka', + 'Žarko', + 'Želimirka', + 'Željana', + 'Žika', + 'Žikica', + 'Žitomir', + 'Živadin', + 'Živadinka', + 'Živan', + 'Živana', + 'Živanka', + 'Živanko', + 'Živica', + 'Živka', + 'Živko', + 'Živodarka', + 'Živojin', + 'Živoljub', + 'Živomir', + 'Živorad', + 'Živoratka', + 'Živoslava', + 'Živoslavka', + 'Života', + ]; - protected static $firstNameFemale = [ - 'Adelina', 'Aleksandra', 'Ana', 'Anda', 'Andreja', 'Andrijana', 'Angelina', 'Anica', 'Anka', 'Antonina', 'Biljana', 'Bogdanka', 'Bojana', - 'Borjana', 'Branka', 'Brankica', 'Dafina', 'Dana', 'Danica', 'Danka', 'Dara', 'Davorka', 'Daša', 'Dejana', 'Desa', - 'Despina', 'Deva', 'Dragana', 'Dragica', 'Drina', 'Duka', 'Dunja', 'Dušanka', 'Dušica', 'Duška', 'Ekaterina', 'Elena', - 'Emilija', 'Eva', 'Evgenija', 'Evica', 'Georgina', 'Gorana', 'Gordana', 'Irena', 'Irina', 'Isidora', 'Iva', 'Ivana', - 'Ivanka', 'Ivka', 'Ivona', 'Jadranka', 'Jagoda', 'Jana', 'Janja', 'Janča', 'Jasmina', 'Jasminka', 'Jasna', 'Jeka', - 'Jelena', 'Jelisaveta', 'Jelka', 'Ješa', 'Jordanka', 'Jovana', 'Jovanka', 'Julija', 'Julijana', 'Kata', 'Katarina', 'Katica', - 'Kristina', 'Lale', 'Lana', 'Lara', 'Lazo', 'Lela', 'Lena', 'Lenka', 'Leonora', 'Lidija', 'Lila', 'Lilijana', - 'Liza', 'Ljiljana', 'Ljuba', 'Ljubica', 'Ljubinka', 'Ljupka', 'Lola', 'Luna', 'Lučija', 'Maja', 'Majda', 'Maleta', - 'Malina', 'Malinka', 'Manda', 'Mane', 'Mara', 'Marica', 'Marija', 'Marina', 'Marinka', 'Marta', 'Mateja', 'Mija', - 'Mila', 'Milana', 'Milanka', 'Mile', 'Milena', 'Milica', 'Milijana', 'Milin', 'Milja', 'Miljana', 'Milka', 'Mira', - 'Miren', 'Mirjana', 'Mirka', 'Miroslava', 'Mitra', 'Mića', 'Miša', 'Mišo', 'Nada', 'Nadežda', 'Najda', 'Natalija', - 'Nataša', 'Nađa', 'Neda', 'Nevena', 'Nevenka', 'Nikoleta', 'Nina', 'Olga', 'Olivera', 'Persa', 'Petra', 'Rada', - 'Radmila', 'Radojka', 'Rain', 'Rosa', 'Ruža', 'Ružica', 'Sandra', 'Sanja', 'Sara', 'Sima', 'Slavica', 'Slavka', - 'Snežana', 'Snježana', 'Sofija', 'Sonja', 'Stana', 'Stanislava', 'Stanka', 'Suzana', 'Svetlana', 'Tajana', 'Tamara', 'Tanja', - 'Tara', 'Tatjana', 'Tea', 'Teodora', 'Tijana', 'Una', 'Valerija', 'Vanja', 'Varvara', 'Vasa', 'Vasilka', 'Vaso', - 'Veliša', 'Vera', 'Verica', 'Verka', 'Veronika', 'Vesela', 'Vesna', 'Vida', 'Viktorija', 'Violeta', 'Višnja', 'Vladanka', - 'Vlasta', 'Zaga', 'Zdravka', 'Zlatka', 'Zora', 'Zorana', 'Zorica', 'Ćira', 'Đurđa', 'Šana', 'Žaklina', 'Željka', - 'Živa', - // below are unknown gender firstnames - 'Agnica', 'Agnija', 'Aksentije', 'Aleksandron', 'Aleksija', 'Aleksije', 'Alimpije', 'Anastasija', 'Andrijaš', 'Ankica', 'Anđa', 'Anđela', 'Anđelija', - 'Anđelka', 'Anđelko', 'Aranđel', 'Arsa', 'Arsenije', 'Arso', 'Atanacko', 'Atanasije', 'Avakum', 'Avram', 'Aćim', 'Bajko', - 'Bajo', 'Bajčeta', 'Batrić', 'Berisav', 'Berislav', 'Beriša', 'Biljan', 'Bisenija', 'Biserka', 'Biserko', 'Blagica', 'Blaginja', - 'Blagoje', 'Blagomir', 'Blagota', 'Blaško', 'Blažen', 'Blaženka', 'Blažo', 'Bogdana', 'Bogelj', 'Bogić', 'Bogiša', 'Bogoboj', - 'Bogoje', 'Bogoljub', 'Bogosav', 'Bogoslav', 'Boica', 'Boin', 'Bojko', 'Bojčeta', 'Borisav', 'Borislava', 'Borislavka', 'Borivoje', - 'Boriša', 'Borjanka', 'Borka', 'Borko', 'Boro', 'Boroje', 'Bosa', 'Bosiljka', 'Boža', 'Božana', 'Božica', 'Božidarka', - 'Božin', 'Božinka', 'Božićko', 'Brajica', 'Branimir', 'Branislava', 'Branivoj', 'Branivoje', 'Bratimir', 'Bratislav', 'Bratislava', 'Bratoljub', - 'Bratovan', 'Brnča', 'Budimir', 'Budimirka', 'Budimka', 'Budisav', 'Budislav', 'Curko', 'Cvejan', 'Cveta', 'Cvetin', 'Cvetko', - 'Cvetoje', 'Cvetoš', 'Cvijan', 'Cvijeta', 'Cvijetin', 'Cviko', 'Cvjetko', 'Cvjetoje', 'Cvjetoš', 'Dabiša', 'Dabiživ', 'Dabo', - 'Daliborka', 'Damjanka', 'Damljan', 'Damljanka', 'Danojla', 'Dančul', 'Darije', 'Darijo', 'Darinka', 'Darjan', 'Desanka', 'Desimir', - 'Despinja', 'Despot', 'Dikosava', 'Dimitrije', 'Dimčo', 'Divna', 'Dmitar', 'Dmitra', 'Dobrašin', 'Dobrica', 'Dobrija', 'Dobrila', - 'Dobrilo', 'Dobrinka', 'Dobrinko', 'Dobrivoj', 'Dobrivoje', 'Dobrosav', 'Dobroslav', 'Dobrovuk', 'Dojčilo', 'Dojčin', 'Dokna', 'Doko', - 'Dorotej', 'Doroteja', 'Dositej', 'Dostana', 'Draga', 'Dragaš', 'Dragija', 'Draginja', 'Dragić', 'Dragiša', 'Dragobrat', 'Dragoja', - 'Dragoje', 'Dragojla', 'Dragojlo', 'Dragoljub', 'Dragoman', 'Dragomira', 'Dragorad', 'Dragosav', 'Dragoslav', 'Dragoslava', 'Dragovan', 'Dragutin', - 'Drailo', 'Drakša', 'Draško', 'Draža', 'Dražeta', 'Dražo', 'Drena', 'Drenka', 'Drinka', 'Dubravac', 'Dubravka', 'Dujak', - 'Dukadin', 'Emilijan', 'Emilije', 'Erak', 'Evdokija', 'Evgenije', 'Fema', 'Gaja', 'Gajin', 'Gajo', 'Gavra', 'Gavrila', - 'Gavrilka', 'Gavrilo', 'Gača', 'Genadije', 'Georgije', 'Gerasim', 'Gligorije', 'Gliša', 'Glišo', 'Godeč', 'Godomir', 'Golub', - 'Goranka', 'Gorica', 'Gorjana', 'Gorčin', 'Gospava', 'Gostimir', 'Gostoljub', 'Gradeta', 'Gradimir', 'Gradiša', 'Grdan', 'Grigorije', - 'Grijak', 'Grozda', 'Grozdan', 'Grozdana', 'Grubac', 'Gruban', 'Grubač', 'Grubeta', 'Grubeša', 'Grubiša', 'Gruja', 'Grujica', - 'Grujo', 'Gvozden', 'Gvozdenija', 'Gvozdenko', 'Hranimir', 'Hranislav', 'Hranislava', 'Hraniša', 'Hrastimir', 'Hristijan', 'Hristoslav', 'Hvalimir', - 'Hvalislav', 'Ignjat', 'Ignjatije', 'Ikonija', 'Ilinka', 'Isaija', 'Isailo', 'Isidor', 'Ivaniš', 'Ivko', 'Jablan', 'Jagodinka', - 'Jagoš', 'Jakša', 'Jandrija', 'Janićije', 'Janovka', 'Jasenko', 'Javorka', 'Javorko', 'Jefimija', 'Jela', 'Jelača', 'Jelašin', - 'Jelen', 'Jelenka', 'Jelenko', 'Jelica', 'Jelisava', 'Jelisavka', 'Jelisije', 'Jeremija', 'Jerotije', 'Jevdokija', 'Jevrem', 'Jevrosima', - 'Jevta', 'Jevtan', 'Jevtimije', 'Jevto', 'Jezda', 'Jezdimir', 'Joksim', 'Jorgovanka', 'Josif', 'Joviša', 'Jovka', 'Jovko', - 'Jugoljub', 'Jugomir', 'Jugoslav', 'Julijan', 'Julka', 'Junoša', 'Juriša', 'Kadivka', 'Kamenko', 'Kasija', 'Kazimir', 'Kazimira', - 'Kažimir', 'Kiprijan', 'Kirilo', 'Kojadin', 'Kojadinka', 'Kojčin', 'Kokan', 'Komnen', 'Komnenija', 'Kornelije', 'Kosana', 'Kosara', - 'Kosovka', 'Kostadinka', 'Kovana', 'Koviljka', 'Koviljko', 'Kovina', 'Kozma', 'Koča', 'Koštana', 'Kraguj', 'Kraisava', 'Krajislav', - 'Krajčin', 'Krasimir', 'Krasoje', 'Krsman', 'Krsmanija', 'Krsta', 'Krstan', 'Krstana', 'Krstina', 'Krstivoje', 'Krsto', 'Krunislav', - 'Krunoslava', 'Ksenija', 'Kumodrag', 'Kuzman', 'Labud', 'Laka', 'Laketa', 'Lako', 'Latinka', 'Laza', 'Leonida', 'Lepa', - 'Lepoje', 'Lepomir', 'Leposava', 'Leposlav', 'Ležimir', 'Ljepava', 'Ljeposava', 'Ljilja', 'Ljiljan', 'Ljuban', 'Ljuben', 'Ljubenko', - 'Ljubinko', 'Ljubisav', 'Ljubislav', 'Ljubivoje', 'Ljubiša', 'Ljubo', 'Ljubobrat', 'Ljubodrag', 'Ljuboja', 'Ljuboje', 'Ljubomir', 'Ljubomirka', - 'Ljubosava', 'Lozan', 'Lujo', 'Manduša', 'Manojlo', 'Matijaš', 'Mavren', 'Mašan', 'Maško', 'Medak', 'Mijailo', 'Mijak', - 'Mijan', 'Mijana', 'Mijat', 'Mijobrat', 'Mijuško', 'Miladija', 'Milak', 'Milanko', 'Milat', 'Milaš', 'Milašin', 'Milentije', - 'Milesa', 'Mileta', 'Mileva', 'Milijan', 'Milijaš', 'Milina', 'Milinko', 'Milisav', 'Milisava', 'Milisavka', 'Milivoj', 'Milivoje', - 'Milić', 'Milj', 'Miljen', 'Miljka', 'Miljko', 'Miljojko', 'Miljurko', 'Milkica', 'Miloja', 'Milojica', 'Milojka', 'Milojko', - 'Milomir', 'Milosav', 'Milosava', 'Milosavka', 'Milovan', 'Milten', 'Miluka', 'Milun', 'Milunka', 'Milutin', 'Miluš', 'Miluša', - 'Miomirka', 'Miroljub', 'Mirosav', 'Mirosava', 'Mirčeta', 'Mitar', 'Mićan', 'Mišljen', 'Mlađan', 'Mlađen', 'Mojsilo', 'Momir', - 'Momčilo', 'Mrkša', 'Mrđan', 'Mrđen', 'Nadica', 'Najdan', 'Naum', 'Nedeljka', 'Nedeljko', 'Negomir', 'Negovan', 'Nevenko', - 'Neđeljka', 'Neđeljko', 'Neško', 'Nikašin', 'Nikodije', 'Nikodim', 'Nikolija', 'Nikša', 'Ninko', 'Ninoslav', 'Nićifor', 'Nišava', - 'Njegomir', 'Njegomirka', 'Njegoslava', 'Njegoš', 'Novica', 'Noviša', 'Novka', 'Novko', 'Obrad', 'Obradin', 'Obradinka', 'Obren', - 'Obrenija', 'Obrenko', 'Obreten', 'Ognjan', 'Ognjana', 'Olja', 'Ostoja', 'Ozriša', 'Pantelija', 'Paun', 'Pauna', 'Pava', - 'Pavija', 'Pavić', 'Pavko', 'Pavle', 'Pavlija', 'Pavlić', 'Pejak', 'Pejo', 'Pelagija', 'Pera', 'Periša', 'Persida', - 'Perun', 'Perunko', 'Petak', 'Petoje', 'Petoš', 'Petrašin', 'Petrija', 'Petronije', 'Plavša', 'Poznan', 'Poznana', 'Prerad', - 'Pribić', 'Prodan', 'Prodana', 'Prokopije', 'Prvoslav', 'Punan', 'Puniša', 'Pureš', 'Purko', 'Puro', 'Racko', 'Radak', - 'Radan', 'Radana', 'Radas', 'Radašin', 'Radeta', 'Radica', 'Radinka', 'Radinko', 'Radisav', 'Radivoj', 'Radivoje', 'Radič', - 'Radiša', 'Radman', 'Radna', 'Radoba', 'Radobud', 'Radoja', 'Radoje', 'Radojica', 'Radojko', 'Radojlo', 'Radoman', 'Radonja', - 'Radosav', 'Radoslava', 'Radota', 'Radovac', 'Radoš', 'Raduka', 'Radukan', 'Radul', 'Radula', 'Radulin', 'Radun', 'Radunka', - 'Radusin', 'Rafailo', 'Raica', 'Raič', 'Raičko', 'Rajak', 'Rajka', 'Rajna', 'Rajčeta', 'Ralen', 'Raleta', 'Ranisav', - 'Ranka', 'Raosav', 'Rastko', 'Ratibor', 'Ratko', 'Ratomir', 'Račeta', 'Rađen', 'Raško', 'Rekula', 'Relja', 'Rista', - 'Ristan', 'Ristivoje', 'Rodoljub', 'Roksanda', 'Samuilo', 'Savka', 'Savko', 'Savo', 'Sazdana', 'Sekana', 'Sekula', 'Selak', - 'Simana', 'Simeun', 'Simeuna', 'Simka', 'Simonida', 'Sinđa', 'Sinđel', 'Skorosav', 'Skorosava', 'Sladoje', 'Slaven', 'Slavenko', - 'Slavna', 'Slavo', 'Slavojka', 'Slavuj', 'Slađan', 'Slađana', 'Slobodanka', 'Smilja', 'Smiljan', 'Smiljana', 'Smiljka', 'Smiljko', - 'Smoljan', 'Smoljana', 'Smoljka', 'Soka', 'Soko', 'Spasenija', 'Spasoja', 'Spiridon', 'Spomenka', 'Srbijanka', 'Srbislav', 'Srboljub', - 'Srboslav', 'Srdan', 'Sredoja', 'Sredoje', 'Sreten', 'Sretko', 'Srećan', 'Srđa', 'Srđan', 'Stajka', 'Staka', 'Stamena', - 'Stamenka', 'Stamenko', 'Stanava', 'Stanača', 'Stanica', 'Stanija', 'Stanisav', 'Stanisava', 'Staniša', 'Stanoja', 'Stanojka', 'Stanojko', - 'Stanojla', 'Stanojlo', 'Staša', 'Stevica', 'Stoin', 'Stoisava', 'Stoić', 'Stoja', 'Stojadin', 'Stojak', 'Stojan', 'Stojana', - 'Stojanka', 'Stojka', 'Stojko', 'Stojmen', 'Stojna', 'Stojša', 'Strainja', 'Svetibor', 'Svetislava', 'Svetolik', 'Svetoljub', 'Svetomir', - 'Svetorad', 'Svetozar', 'Svjetlana', 'Tadija', 'Tanacko', 'Tanasije', 'Tankosa', 'Tankosava', 'Tatomir', 'Teodosije', 'Teofil', 'Tešan', - 'Timotije', 'Todora', 'Toma', 'Tomanija', 'Toplica', 'Trajan', 'Trajko', 'Trifun', 'Tripko', 'Tripun', 'Trivun', 'Tvrtko', - 'Ubavka', 'Uglješa', 'Umiljen', 'Utešen', 'Utješen', 'Vajo', 'Vasilija', 'Vasilije', 'Vasilj', 'Vasiljka', 'Vaskrsija', 'Vaskrsije', - 'Vasoje', 'Vekoslav', 'Veliborka', 'Velinka', 'Velisav', 'Velisava', 'Velizar', 'Veličko', 'Veljko', 'Veran', 'Veroljub', 'Veroslava', - 'Veselinka', 'Vesko', 'Vid', 'Vidak', 'Vidan', 'Vidač', 'Viden', 'Vidoja', 'Vidoje', 'Vidojka', 'Vidojko', 'Vidosav', - 'Vidosava', 'Vilotije', 'Vitka', 'Vitko', 'Vitomir', 'Vitomirka', 'Vićan', 'Vićentije', 'Višeslav', 'Višeslava', 'Vjekoslav', 'Vladana', - 'Vlade', 'Vladeta', 'Vladica', 'Vladimirka', 'Vladisav', 'Vladislava', 'Vladoje', 'Vladun', 'Vlaislav', 'Vlajko', 'Vlasije', 'Vlastimirka', - 'Vlatka', 'Vlaško', 'Voica', 'Vojdrag', 'Vojimir', 'Vojin', 'Vojislav', 'Vojislava', 'Vojka', 'Vojkan', 'Vojko', 'Vraneš', - 'Vugdrag', 'Vuica', 'Vuilo', 'Vuin', 'Vujadin', 'Vujadinka', 'Vujak', 'Vujan', 'Vujana', 'Vujeta', 'Vujka', 'Vujko', - 'Vujo', 'Vujčeta', 'Vujčin', 'Vukac', 'Vukadin', 'Vukajlo', 'Vukalj', 'Vukalo', 'Vukana', 'Vukas', 'Vukač', 'Vukašin', - 'Vukelja', 'Vukica', 'Vukić', 'Vukman', 'Vukmilj', 'Vukmir', 'Vukmira', 'Vuko', 'Vukoje', 'Vukojica', 'Vukola', 'Vukoman', - 'Vukomir', 'Vukosav', 'Vukosava', 'Vukoslav', 'Vukota', 'Vukovoje', 'Vuksan', 'Vukša', 'Vule', 'Vuleta', 'Vunko', 'Vuzman', - 'Vuča', 'Vučan', 'Vučen', 'Vučeta', 'Vučina', 'Vučić', 'Vučko', 'Zagorka', 'Zaharije', 'Zarija', 'Zarije', 'Zavida', - 'Zaviša', 'Zdraviša', 'Zlata', 'Zlatan', 'Zlatana', 'Zlatibor', 'Zlatica', 'Zlatija', 'Zlatoje', 'Zlatomir', 'Zlatomirka', 'Zlatosav', - 'Zorislava', 'Zorka', 'Zrinka', 'Zrinko', 'Zvezdan', 'Zvezdana', 'Zvezdodrag', 'Zvezdoslav', 'Zvjezdan', 'Zvjezdana', 'Zvonka', 'Ćerana', - 'Ćirjak', 'Ćirko', 'Čarna', 'Časlav', 'Čedomir', 'Čubrilo', 'Đenadije', 'Đoko', 'Đorđe', 'Đorđije', 'Đorđo', 'Đuka', - 'Đukan', 'Đura', 'Đurađ', 'Đurašin', 'Đurica', 'Đurisav', 'Đurisava', 'Đurko', 'Đuro', 'Đurđe', 'Đurđevka', 'Đurđica', - 'Đurđija', 'Šakota', 'Šale', 'Šumenko', 'Šutan', 'Žanka', 'Žarko', 'Želimirka', 'Željana', 'Žika', 'Žikica', 'Žitomir', - 'Živadin', 'Živadinka', 'Živan', 'Živana', 'Živanka', 'Živanko', 'Živica', 'Živka', 'Živko', 'Živodarka', 'Živojin', 'Živoljub', - 'Živomir', 'Živorad', 'Živoratka', 'Živoslava', 'Živoslavka', 'Života', - ]; + protected static $firstNameFemale = [ + 'Adelina', + 'Aleksandra', + 'Ana', + 'Anda', + 'Andreja', + 'Andrijana', + 'Angelina', + 'Anica', + 'Anka', + 'Antonina', + 'Biljana', + 'Bogdanka', + 'Bojana', + 'Borjana', + 'Branka', + 'Brankica', + 'Dafina', + 'Dana', + 'Danica', + 'Danka', + 'Dara', + 'Davorka', + 'Daša', + 'Dejana', + 'Desa', + 'Despina', + 'Deva', + 'Dragana', + 'Dragica', + 'Drina', + 'Duka', + 'Dunja', + 'Dušanka', + 'Dušica', + 'Duška', + 'Ekaterina', + 'Elena', + 'Emilija', + 'Eva', + 'Evgenija', + 'Evica', + 'Georgina', + 'Gorana', + 'Gordana', + 'Irena', + 'Irina', + 'Isidora', + 'Iva', + 'Ivana', + 'Ivanka', + 'Ivka', + 'Ivona', + 'Jadranka', + 'Jagoda', + 'Jana', + 'Janja', + 'Janča', + 'Jasmina', + 'Jasminka', + 'Jasna', + 'Jeka', + 'Jelena', + 'Jelisaveta', + 'Jelka', + 'Ješa', + 'Jordanka', + 'Jovana', + 'Jovanka', + 'Julija', + 'Julijana', + 'Kata', + 'Katarina', + 'Katica', + 'Kristina', + 'Lale', + 'Lana', + 'Lara', + 'Lazo', + 'Lela', + 'Lena', + 'Lenka', + 'Leonora', + 'Lidija', + 'Lila', + 'Lilijana', + 'Liza', + 'Ljiljana', + 'Ljuba', + 'Ljubica', + 'Ljubinka', + 'Ljupka', + 'Lola', + 'Luna', + 'Lučija', + 'Maja', + 'Majda', + 'Maleta', + 'Malina', + 'Malinka', + 'Manda', + 'Mane', + 'Mara', + 'Marica', + 'Marija', + 'Marina', + 'Marinka', + 'Marta', + 'Mateja', + 'Mija', + 'Mila', + 'Milana', + 'Milanka', + 'Mile', + 'Milena', + 'Milica', + 'Milijana', + 'Milin', + 'Milja', + 'Miljana', + 'Milka', + 'Mira', + 'Miren', + 'Mirjana', + 'Mirka', + 'Miroslava', + 'Mitra', + 'Mića', + 'Miša', + 'Mišo', + 'Nada', + 'Nadežda', + 'Najda', + 'Natalija', + 'Nataša', + 'Nađa', + 'Neda', + 'Nevena', + 'Nevenka', + 'Nikoleta', + 'Nina', + 'Olga', + 'Olivera', + 'Persa', + 'Petra', + 'Rada', + 'Radmila', + 'Radojka', + 'Rain', + 'Rosa', + 'Ruža', + 'Ružica', + 'Sandra', + 'Sanja', + 'Sara', + 'Sima', + 'Slavica', + 'Slavka', + 'Snežana', + 'Snježana', + 'Sofija', + 'Sonja', + 'Stana', + 'Stanislava', + 'Stanka', + 'Suzana', + 'Svetlana', + 'Tajana', + 'Tamara', + 'Tanja', + 'Tara', + 'Tatjana', + 'Tea', + 'Teodora', + 'Tijana', + 'Una', + 'Valerija', + 'Vanja', + 'Varvara', + 'Vasa', + 'Vasilka', + 'Vaso', + 'Veliša', + 'Vera', + 'Verica', + 'Verka', + 'Veronika', + 'Vesela', + 'Vesna', + 'Vida', + 'Viktorija', + 'Violeta', + 'Višnja', + 'Vladanka', + 'Vlasta', + 'Zaga', + 'Zdravka', + 'Zlatka', + 'Zora', + 'Zorana', + 'Zorica', + 'Ćira', + 'Đurđa', + 'Šana', + 'Žaklina', + 'Željka', + 'Živa', + // below are unknown gender firstnames + 'Agnica', + 'Agnija', + 'Aksentije', + 'Aleksandron', + 'Aleksija', + 'Aleksije', + 'Alimpije', + 'Anastasija', + 'Andrijaš', + 'Ankica', + 'Anđa', + 'Anđela', + 'Anđelija', + 'Anđelka', + 'Anđelko', + 'Aranđel', + 'Arsa', + 'Arsenije', + 'Arso', + 'Atanacko', + 'Atanasije', + 'Avakum', + 'Avram', + 'Aćim', + 'Bajko', + 'Bajo', + 'Bajčeta', + 'Batrić', + 'Berisav', + 'Berislav', + 'Beriša', + 'Biljan', + 'Bisenija', + 'Biserka', + 'Biserko', + 'Blagica', + 'Blaginja', + 'Blagoje', + 'Blagomir', + 'Blagota', + 'Blaško', + 'Blažen', + 'Blaženka', + 'Blažo', + 'Bogdana', + 'Bogelj', + 'Bogić', + 'Bogiša', + 'Bogoboj', + 'Bogoje', + 'Bogoljub', + 'Bogosav', + 'Bogoslav', + 'Boica', + 'Boin', + 'Bojko', + 'Bojčeta', + 'Borisav', + 'Borislava', + 'Borislavka', + 'Borivoje', + 'Boriša', + 'Borjanka', + 'Borka', + 'Borko', + 'Boro', + 'Boroje', + 'Bosa', + 'Bosiljka', + 'Boža', + 'Božana', + 'Božica', + 'Božidarka', + 'Božin', + 'Božinka', + 'Božićko', + 'Brajica', + 'Branimir', + 'Branislava', + 'Branivoj', + 'Branivoje', + 'Bratimir', + 'Bratislav', + 'Bratislava', + 'Bratoljub', + 'Bratovan', + 'Brnča', + 'Budimir', + 'Budimirka', + 'Budimka', + 'Budisav', + 'Budislav', + 'Curko', + 'Cvejan', + 'Cveta', + 'Cvetin', + 'Cvetko', + 'Cvetoje', + 'Cvetoš', + 'Cvijan', + 'Cvijeta', + 'Cvijetin', + 'Cviko', + 'Cvjetko', + 'Cvjetoje', + 'Cvjetoš', + 'Dabiša', + 'Dabiživ', + 'Dabo', + 'Daliborka', + 'Damjanka', + 'Damljan', + 'Damljanka', + 'Danojla', + 'Dančul', + 'Darije', + 'Darijo', + 'Darinka', + 'Darjan', + 'Desanka', + 'Desimir', + 'Despinja', + 'Despot', + 'Dikosava', + 'Dimitrije', + 'Dimčo', + 'Divna', + 'Dmitar', + 'Dmitra', + 'Dobrašin', + 'Dobrica', + 'Dobrija', + 'Dobrila', + 'Dobrilo', + 'Dobrinka', + 'Dobrinko', + 'Dobrivoj', + 'Dobrivoje', + 'Dobrosav', + 'Dobroslav', + 'Dobrovuk', + 'Dojčilo', + 'Dojčin', + 'Dokna', + 'Doko', + 'Dorotej', + 'Doroteja', + 'Dositej', + 'Dostana', + 'Draga', + 'Dragaš', + 'Dragija', + 'Draginja', + 'Dragić', + 'Dragiša', + 'Dragobrat', + 'Dragoja', + 'Dragoje', + 'Dragojla', + 'Dragojlo', + 'Dragoljub', + 'Dragoman', + 'Dragomira', + 'Dragorad', + 'Dragosav', + 'Dragoslav', + 'Dragoslava', + 'Dragovan', + 'Dragutin', + 'Drailo', + 'Drakša', + 'Draško', + 'Draža', + 'Dražeta', + 'Dražo', + 'Drena', + 'Drenka', + 'Drinka', + 'Dubravac', + 'Dubravka', + 'Dujak', + 'Dukadin', + 'Emilijan', + 'Emilije', + 'Erak', + 'Evdokija', + 'Evgenije', + 'Fema', + 'Gaja', + 'Gajin', + 'Gajo', + 'Gavra', + 'Gavrila', + 'Gavrilka', + 'Gavrilo', + 'Gača', + 'Genadije', + 'Georgije', + 'Gerasim', + 'Gligorije', + 'Gliša', + 'Glišo', + 'Godeč', + 'Godomir', + 'Golub', + 'Goranka', + 'Gorica', + 'Gorjana', + 'Gorčin', + 'Gospava', + 'Gostimir', + 'Gostoljub', + 'Gradeta', + 'Gradimir', + 'Gradiša', + 'Grdan', + 'Grigorije', + 'Grijak', + 'Grozda', + 'Grozdan', + 'Grozdana', + 'Grubac', + 'Gruban', + 'Grubač', + 'Grubeta', + 'Grubeša', + 'Grubiša', + 'Gruja', + 'Grujica', + 'Grujo', + 'Gvozden', + 'Gvozdenija', + 'Gvozdenko', + 'Hranimir', + 'Hranislav', + 'Hranislava', + 'Hraniša', + 'Hrastimir', + 'Hristijan', + 'Hristoslav', + 'Hvalimir', + 'Hvalislav', + 'Ignjat', + 'Ignjatije', + 'Ikonija', + 'Ilinka', + 'Isaija', + 'Isailo', + 'Isidor', + 'Ivaniš', + 'Ivko', + 'Jablan', + 'Jagodinka', + 'Jagoš', + 'Jakša', + 'Jandrija', + 'Janićije', + 'Janovka', + 'Jasenko', + 'Javorka', + 'Javorko', + 'Jefimija', + 'Jela', + 'Jelača', + 'Jelašin', + 'Jelen', + 'Jelenka', + 'Jelenko', + 'Jelica', + 'Jelisava', + 'Jelisavka', + 'Jelisije', + 'Jeremija', + 'Jerotije', + 'Jevdokija', + 'Jevrem', + 'Jevrosima', + 'Jevta', + 'Jevtan', + 'Jevtimije', + 'Jevto', + 'Jezda', + 'Jezdimir', + 'Joksim', + 'Jorgovanka', + 'Josif', + 'Joviša', + 'Jovka', + 'Jovko', + 'Jugoljub', + 'Jugomir', + 'Jugoslav', + 'Julijan', + 'Julka', + 'Junoša', + 'Juriša', + 'Kadivka', + 'Kamenko', + 'Kasija', + 'Kazimir', + 'Kazimira', + 'Kažimir', + 'Kiprijan', + 'Kirilo', + 'Kojadin', + 'Kojadinka', + 'Kojčin', + 'Kokan', + 'Komnen', + 'Komnenija', + 'Kornelije', + 'Kosana', + 'Kosara', + 'Kosovka', + 'Kostadinka', + 'Kovana', + 'Koviljka', + 'Koviljko', + 'Kovina', + 'Kozma', + 'Koča', + 'Koštana', + 'Kraguj', + 'Kraisava', + 'Krajislav', + 'Krajčin', + 'Krasimir', + 'Krasoje', + 'Krsman', + 'Krsmanija', + 'Krsta', + 'Krstan', + 'Krstana', + 'Krstina', + 'Krstivoje', + 'Krsto', + 'Krunislav', + 'Krunoslava', + 'Ksenija', + 'Kumodrag', + 'Kuzman', + 'Labud', + 'Laka', + 'Laketa', + 'Lako', + 'Latinka', + 'Laza', + 'Leonida', + 'Lepa', + 'Lepoje', + 'Lepomir', + 'Leposava', + 'Leposlav', + 'Ležimir', + 'Ljepava', + 'Ljeposava', + 'Ljilja', + 'Ljiljan', + 'Ljuban', + 'Ljuben', + 'Ljubenko', + 'Ljubinko', + 'Ljubisav', + 'Ljubislav', + 'Ljubivoje', + 'Ljubiša', + 'Ljubo', + 'Ljubobrat', + 'Ljubodrag', + 'Ljuboja', + 'Ljuboje', + 'Ljubomir', + 'Ljubomirka', + 'Ljubosava', + 'Lozan', + 'Lujo', + 'Manduša', + 'Manojlo', + 'Matijaš', + 'Mavren', + 'Mašan', + 'Maško', + 'Medak', + 'Mijailo', + 'Mijak', + 'Mijan', + 'Mijana', + 'Mijat', + 'Mijobrat', + 'Mijuško', + 'Miladija', + 'Milak', + 'Milanko', + 'Milat', + 'Milaš', + 'Milašin', + 'Milentije', + 'Milesa', + 'Mileta', + 'Mileva', + 'Milijan', + 'Milijaš', + 'Milina', + 'Milinko', + 'Milisav', + 'Milisava', + 'Milisavka', + 'Milivoj', + 'Milivoje', + 'Milić', + 'Milj', + 'Miljen', + 'Miljka', + 'Miljko', + 'Miljojko', + 'Miljurko', + 'Milkica', + 'Miloja', + 'Milojica', + 'Milojka', + 'Milojko', + 'Milomir', + 'Milosav', + 'Milosava', + 'Milosavka', + 'Milovan', + 'Milten', + 'Miluka', + 'Milun', + 'Milunka', + 'Milutin', + 'Miluš', + 'Miluša', + 'Miomirka', + 'Miroljub', + 'Mirosav', + 'Mirosava', + 'Mirčeta', + 'Mitar', + 'Mićan', + 'Mišljen', + 'Mlađan', + 'Mlađen', + 'Mojsilo', + 'Momir', + 'Momčilo', + 'Mrkša', + 'Mrđan', + 'Mrđen', + 'Nadica', + 'Najdan', + 'Naum', + 'Nedeljka', + 'Nedeljko', + 'Negomir', + 'Negovan', + 'Nevenko', + 'Neđeljka', + 'Neđeljko', + 'Neško', + 'Nikašin', + 'Nikodije', + 'Nikodim', + 'Nikolija', + 'Nikša', + 'Ninko', + 'Ninoslav', + 'Nićifor', + 'Nišava', + 'Njegomir', + 'Njegomirka', + 'Njegoslava', + 'Njegoš', + 'Novica', + 'Noviša', + 'Novka', + 'Novko', + 'Obrad', + 'Obradin', + 'Obradinka', + 'Obren', + 'Obrenija', + 'Obrenko', + 'Obreten', + 'Ognjan', + 'Ognjana', + 'Olja', + 'Ostoja', + 'Ozriša', + 'Pantelija', + 'Paun', + 'Pauna', + 'Pava', + 'Pavija', + 'Pavić', + 'Pavko', + 'Pavle', + 'Pavlija', + 'Pavlić', + 'Pejak', + 'Pejo', + 'Pelagija', + 'Pera', + 'Periša', + 'Persida', + 'Perun', + 'Perunko', + 'Petak', + 'Petoje', + 'Petoš', + 'Petrašin', + 'Petrija', + 'Petronije', + 'Plavša', + 'Poznan', + 'Poznana', + 'Prerad', + 'Pribić', + 'Prodan', + 'Prodana', + 'Prokopije', + 'Prvoslav', + 'Punan', + 'Puniša', + 'Pureš', + 'Purko', + 'Puro', + 'Racko', + 'Radak', + 'Radan', + 'Radana', + 'Radas', + 'Radašin', + 'Radeta', + 'Radica', + 'Radinka', + 'Radinko', + 'Radisav', + 'Radivoj', + 'Radivoje', + 'Radič', + 'Radiša', + 'Radman', + 'Radna', + 'Radoba', + 'Radobud', + 'Radoja', + 'Radoje', + 'Radojica', + 'Radojko', + 'Radojlo', + 'Radoman', + 'Radonja', + 'Radosav', + 'Radoslava', + 'Radota', + 'Radovac', + 'Radoš', + 'Raduka', + 'Radukan', + 'Radul', + 'Radula', + 'Radulin', + 'Radun', + 'Radunka', + 'Radusin', + 'Rafailo', + 'Raica', + 'Raič', + 'Raičko', + 'Rajak', + 'Rajka', + 'Rajna', + 'Rajčeta', + 'Ralen', + 'Raleta', + 'Ranisav', + 'Ranka', + 'Raosav', + 'Rastko', + 'Ratibor', + 'Ratko', + 'Ratomir', + 'Račeta', + 'Rađen', + 'Raško', + 'Rekula', + 'Relja', + 'Rista', + 'Ristan', + 'Ristivoje', + 'Rodoljub', + 'Roksanda', + 'Samuilo', + 'Savka', + 'Savko', + 'Savo', + 'Sazdana', + 'Sekana', + 'Sekula', + 'Selak', + 'Simana', + 'Simeun', + 'Simeuna', + 'Simka', + 'Simonida', + 'Sinđa', + 'Sinđel', + 'Skorosav', + 'Skorosava', + 'Sladoje', + 'Slaven', + 'Slavenko', + 'Slavna', + 'Slavo', + 'Slavojka', + 'Slavuj', + 'Slađan', + 'Slađana', + 'Slobodanka', + 'Smilja', + 'Smiljan', + 'Smiljana', + 'Smiljka', + 'Smiljko', + 'Smoljan', + 'Smoljana', + 'Smoljka', + 'Soka', + 'Soko', + 'Spasenija', + 'Spasoja', + 'Spiridon', + 'Spomenka', + 'Srbijanka', + 'Srbislav', + 'Srboljub', + 'Srboslav', + 'Srdan', + 'Sredoja', + 'Sredoje', + 'Sreten', + 'Sretko', + 'Srećan', + 'Srđa', + 'Srđan', + 'Stajka', + 'Staka', + 'Stamena', + 'Stamenka', + 'Stamenko', + 'Stanava', + 'Stanača', + 'Stanica', + 'Stanija', + 'Stanisav', + 'Stanisava', + 'Staniša', + 'Stanoja', + 'Stanojka', + 'Stanojko', + 'Stanojla', + 'Stanojlo', + 'Staša', + 'Stevica', + 'Stoin', + 'Stoisava', + 'Stoić', + 'Stoja', + 'Stojadin', + 'Stojak', + 'Stojan', + 'Stojana', + 'Stojanka', + 'Stojka', + 'Stojko', + 'Stojmen', + 'Stojna', + 'Stojša', + 'Strainja', + 'Svetibor', + 'Svetislava', + 'Svetolik', + 'Svetoljub', + 'Svetomir', + 'Svetorad', + 'Svetozar', + 'Svjetlana', + 'Tadija', + 'Tanacko', + 'Tanasije', + 'Tankosa', + 'Tankosava', + 'Tatomir', + 'Teodosije', + 'Teofil', + 'Tešan', + 'Timotije', + 'Todora', + 'Toma', + 'Tomanija', + 'Toplica', + 'Trajan', + 'Trajko', + 'Trifun', + 'Tripko', + 'Tripun', + 'Trivun', + 'Tvrtko', + 'Ubavka', + 'Uglješa', + 'Umiljen', + 'Utešen', + 'Utješen', + 'Vajo', + 'Vasilija', + 'Vasilije', + 'Vasilj', + 'Vasiljka', + 'Vaskrsija', + 'Vaskrsije', + 'Vasoje', + 'Vekoslav', + 'Veliborka', + 'Velinka', + 'Velisav', + 'Velisava', + 'Velizar', + 'Veličko', + 'Veljko', + 'Veran', + 'Veroljub', + 'Veroslava', + 'Veselinka', + 'Vesko', + 'Vid', + 'Vidak', + 'Vidan', + 'Vidač', + 'Viden', + 'Vidoja', + 'Vidoje', + 'Vidojka', + 'Vidojko', + 'Vidosav', + 'Vidosava', + 'Vilotije', + 'Vitka', + 'Vitko', + 'Vitomir', + 'Vitomirka', + 'Vićan', + 'Vićentije', + 'Višeslav', + 'Višeslava', + 'Vjekoslav', + 'Vladana', + 'Vlade', + 'Vladeta', + 'Vladica', + 'Vladimirka', + 'Vladisav', + 'Vladislava', + 'Vladoje', + 'Vladun', + 'Vlaislav', + 'Vlajko', + 'Vlasije', + 'Vlastimirka', + 'Vlatka', + 'Vlaško', + 'Voica', + 'Vojdrag', + 'Vojimir', + 'Vojin', + 'Vojislav', + 'Vojislava', + 'Vojka', + 'Vojkan', + 'Vojko', + 'Vraneš', + 'Vugdrag', + 'Vuica', + 'Vuilo', + 'Vuin', + 'Vujadin', + 'Vujadinka', + 'Vujak', + 'Vujan', + 'Vujana', + 'Vujeta', + 'Vujka', + 'Vujko', + 'Vujo', + 'Vujčeta', + 'Vujčin', + 'Vukac', + 'Vukadin', + 'Vukajlo', + 'Vukalj', + 'Vukalo', + 'Vukana', + 'Vukas', + 'Vukač', + 'Vukašin', + 'Vukelja', + 'Vukica', + 'Vukić', + 'Vukman', + 'Vukmilj', + 'Vukmir', + 'Vukmira', + 'Vuko', + 'Vukoje', + 'Vukojica', + 'Vukola', + 'Vukoman', + 'Vukomir', + 'Vukosav', + 'Vukosava', + 'Vukoslav', + 'Vukota', + 'Vukovoje', + 'Vuksan', + 'Vukša', + 'Vule', + 'Vuleta', + 'Vunko', + 'Vuzman', + 'Vuča', + 'Vučan', + 'Vučen', + 'Vučeta', + 'Vučina', + 'Vučić', + 'Vučko', + 'Zagorka', + 'Zaharije', + 'Zarija', + 'Zarije', + 'Zavida', + 'Zaviša', + 'Zdraviša', + 'Zlata', + 'Zlatan', + 'Zlatana', + 'Zlatibor', + 'Zlatica', + 'Zlatija', + 'Zlatoje', + 'Zlatomir', + 'Zlatomirka', + 'Zlatosav', + 'Zorislava', + 'Zorka', + 'Zrinka', + 'Zrinko', + 'Zvezdan', + 'Zvezdana', + 'Zvezdodrag', + 'Zvezdoslav', + 'Zvjezdan', + 'Zvjezdana', + 'Zvonka', + 'Ćerana', + 'Ćirjak', + 'Ćirko', + 'Čarna', + 'Časlav', + 'Čedomir', + 'Čubrilo', + 'Đenadije', + 'Đoko', + 'Đorđe', + 'Đorđije', + 'Đorđo', + 'Đuka', + 'Đukan', + 'Đura', + 'Đurađ', + 'Đurašin', + 'Đurica', + 'Đurisav', + 'Đurisava', + 'Đurko', + 'Đuro', + 'Đurđe', + 'Đurđevka', + 'Đurđica', + 'Đurđija', + 'Šakota', + 'Šale', + 'Šumenko', + 'Šutan', + 'Žanka', + 'Žarko', + 'Želimirka', + 'Željana', + 'Žika', + 'Žikica', + 'Žitomir', + 'Živadin', + 'Živadinka', + 'Živan', + 'Živana', + 'Živanka', + 'Živanko', + 'Živica', + 'Živka', + 'Živko', + 'Živodarka', + 'Živojin', + 'Živoljub', + 'Živomir', + 'Živorad', + 'Živoratka', + 'Živoslava', + 'Živoslavka', + 'Života', + ]; - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B - */ - protected static $lastName = [ - 'Abadžić', 'Abdulić', 'Abramić', 'Avalić', 'Avdulić', 'Avrić', 'Aguridić', 'Adamić', 'Azarić', 'Ajdačić', 'Ajdučić', 'Aksentić', 'Aksić', 'Alavantić', 'Aladić', 'Alargić', 'Albijanić', 'Aleksandrić', 'Aleksendrić', 'Aleksić', 'Alimpić', 'Aličić', 'Aljančić', 'Amidžić', 'Ananić', 'Andić', 'Andrejić', 'Andrijanić', 'Andrić', 'Androbić', 'Anđelić', 'Anđić', 'Anđušić', 'Anić', 'Aničić', 'Ankić', 'Anojčić', 'Anokić', 'Antić', 'Antonić', 'Anušić', 'Apelić', 'Apić', 'Arambašić', 'Ardalić', 'Arsenić', 'Arsić', 'Atlagić', 'Aćimić', 'Aćić', 'Acić', 'Ačić', 'Adžić', 'Aškrabić', 'Ašćerić', 'Babarogić', 'Babić', 'Bavarčić', 'Baveljić', 'Badrić', 'Bajagić', 'Bajandić', 'Bajić', 'Bajičić', 'Bajkić', 'Bajčetić', 'Bajčić', 'Bakić', 'Baletić', 'Balotić', 'Baltić', 'Balšić', 'Banzić', 'Banić', 'Bantulić', 'Banjalić', 'Baralić', 'Barić', 'Barišić', 'Baroševčić', 'Basarić', 'Bastajić', 'Bastašić', 'Bataveljić', 'Batinić', 'Batnožić', 'Baćić', 'Bacetić', 'Bačić', 'Bačkulić', 'Bašić', 'Baštić', 'Bebić', 'Begenišić', 'Bežanić', 'Bekčić', 'Belančić', 'Belić', 'Belogrlić', 'Belodedić', 'Belonić', 'Beljić', 'Bendić', 'Berilažić', 'Berić', 'Besedić', 'Besjedić', 'Biberčić', 'Biberdžić', 'Bibić', 'Bižić', 'Bizetić', 'Bizumić', 'Bijanić', 'Bijelić', 'Bijelonić', 'Bilibajkić', 'Bilić', 'Bilkić', 'Biljić', 'Biljurić', 'Binić', 'Birišić', 'Bisenić', 'Biserić', 'Biserčić', 'Bisić', 'Bjekić', 'Bjeletić', 'Bjelinić', 'Bjelić', 'Bjeličić', 'Bjelkić', 'Bjelovitić', 'Bjelogrlić', 'Bjelonić', 'Bjelotomić', 'Blagić', 'Blagotić', 'Blažarić', 'Blažetić', 'Blažić', 'Blatešić', 'Blendić', 'Blesić', 'Blečić', 'Blešić', 'Boberić', 'Bobić', 'Bobušić', 'Bogatić', 'Bogdanić', 'Bogetić', 'Bogić', 'Bogičić', 'Bodirogić', 'Bodirožić', 'Bodić', 'Bodrožić', 'Božanić', 'Božikić', 'Božić', 'Božičić', 'Bojadić', 'Bojanić', 'Bojić', 'Bojičić', 'Bojkić', 'Bojčetić', 'Bojčić', 'Bokanić', 'Bokonjić', 'Bolić', 'Boltić', 'Boljanić', 'Bontić', 'Bondžić', 'Bondžulić', 'Borikić', 'Borić', 'Boričić', 'Borišić', 'Borjanić', 'Borokić', 'Borotić', 'Borčić', 'Bosančić', 'Bosiljkić', 'Bosiljčić', 'Bosiorčić', 'Bosiočić', 'Bosić', 'Bosnić', 'Botorić', 'Bocić', 'Bocokić', 'Bošnjačić', 'Boštrunić', 'Bradarić', 'Bradić', 'Bradonjić', 'Brajić', 'Braletić', 'Bralić', 'Bralušić', 'Brančić', 'Bratić', 'Bratonožić', 'Brašić', 'Brdarić', 'Brežančić', 'Brezić', 'Brekić', 'Brzić', 'Brisić', 'Brkanlić', 'Brkić', 'Brndušić', 'Brodalić', 'Brodić', 'Broćić', 'Bruić', 'Brujić', 'Brukić', 'Bubić', 'Bubonjić', 'Bugarčić', 'Budalić', 'Budimkić', 'Budimčić', 'Budinčić', 'Budić', 'Budišić', 'Budnić', 'Budurić', 'Buzaretić', 'Bujagić', 'Bujandrić', 'Bujić', 'Bujišić', 'Bujuklić', 'Bukazić', 'Bukvić', 'Bukelić', 'Bukovčić', 'Bukonjić', 'Bukumirić', 'Bukušić', 'Bulajić', 'Bulić', 'Buljubašić', 'Buljugić', 'Bumbić', 'Bunardžić', 'Bunić', 'Bunčić', 'Burgić', 'Burić', 'Burlić', 'Busančić', 'Buckić', 'Bučić', 'Bušetić', 'Bušić', 'Vagić', 'Vagurić', 'Vajić', 'Vajkarić', 'Vakičić', 'Vanušić', 'Varagić', 'Varaklić', 'Vardalić', 'Varjačić', 'Varničić', 'Vaselić', 'Vasilić', 'Vasić', 'Vašalić', 'Vekić', 'Veletić', 'Velikić', 'Veličić', 'Velišić', 'Veljančić', 'Veljić', 'Vemić', 'Verbić', 'Verbunkić', 'Vergić', 'Verić', 'Verkić', 'Veselić', 'Veseličić', 'Vesić', 'Vesnić', 'Vidarić', 'Vidačić', 'Videkanić', 'Vidić', 'Vilendečić', 'Vilotić', 'Vinokić', 'Vinčić', 'Viorikić', 'Vitakić', 'Vitolić', 'Vićentić', 'Višić', 'Vladetić', 'Vladić', 'Vladičić', 'Vladušić', 'Vlajić', 'Vlajnić', 'Vlajčić', 'Vlaketić', 'Vlasinić', 'Vlasonjić', 'Vlastić', 'Vlačić', 'Vlaškalić', 'Vojičić', 'Vojkić', 'Vojčić', 'Vorgić', 'Vorkapić', 'Voćkić', 'Voštinić', 'Voštić', 'Vranić', 'Vrančić', 'Vratonjić', 'Vračarić', 'Vrekić', 'Vrećić', 'Vrzić', 'Vrtunić', 'Vrugić', 'Vujanić', 'Vujanušić', 'Vujačić', 'Vujetić', 'Vujinić', 'Vujisić', 'Vujić', 'Vujičić', 'Vujnić', 'Vujčetić', 'Vukanić', 'Vukelić', 'Vukić', 'Vukoičić', 'Vukojičić', 'Vukojčić', 'Vukolić', 'Vukomančić', 'Vukosavić', 'Vukotić', 'Vukšić', 'Vuletić', 'Vulešić', 'Vulikić', 'Vulić', 'Vulišić', 'Vucelić', 'Vučelić', 'Vučendić', 'Vučenić', 'Vučetić', 'Vučinić', 'Vučić', 'Gavarić', 'Gavranić', 'Gavrančić', 'Gavrić', 'Gagić', 'Gagričić', 'Gajanić', 'Gajetić', 'Gajić', 'Gajičić', 'Gajtanić', 'Galetić', 'Galić', 'Galonić', 'Galonjić', 'Gambelić', 'Garačić', 'Gardić', 'Garić', 'Garotić', 'Gatarić', 'Gačić', 'Gadžić', 'Gašić', 'Gvozdenić', 'Gvozdić', 'Gvoić', 'Gvojić', 'Genčić', 'Gerzić', 'Gizdavić', 'Gilić', 'Glavendekić', 'Glavinić', 'Glavonić', 'Glavonjić', 'Glavčić', 'Glamočić', 'Gledić', 'Gležnić', 'Glibetić', 'Gligić', 'Gligorić', 'Gligurić', 'Glintić', 'Glišić', 'Gloginjić', 'Glomazić', 'Gluvajić', 'Glumičić', 'Gmizić', 'Gnjatić', 'Gobeljić', 'Gogić', 'Gojgić', 'Goncić', 'Goranić', 'Gorančić', 'Gordanić', 'Gordić', 'Goronjić', 'Gospavić', 'Gostić', 'Gostojić', 'Gocić', 'Gošnjić', 'Grabić', 'Grabovčić', 'Gradić', 'Gramić', 'Grandić', 'Granolić', 'Granulić', 'Graonić', 'Grašić', 'Grbić', 'Grečić', 'Grkinić', 'Grozdanić', 'Grozdić', 'Grokanić', 'Gromilić', 'Grubačić', 'Grubetić', 'Grubešić', 'Grubić', 'Grubišić', 'Grubješić', 'Grublješić', 'Grubnić', 'Gružanić', 'Grujanić', 'Grujić', 'Grujičić', 'Grumić', 'Guberinić', 'Gudurić', 'Gužvić', 'Gujaničić', 'Gurešić', 'Guconić', 'Gudžulić', 'Gušić', 'Dabarčić', 'Dabetić', 'Dabić', 'Davinić', 'Dajić', 'Dajlić', 'Damjanić', 'Dangić', 'Dangubić', 'Daničić', 'Danojlić', 'Dardić', 'Dafunić', 'Dačić', 'Dvokić', 'Dvorančić', 'Dvornić', 'Debelnogić', 'Devedžić', 'Dedić', 'Dejanić', 'Delić', 'Demić', 'Demonjić', 'Denić', 'Denkić', 'Denčić', 'Derajić', 'Deretić', 'Derikonjić', 'Deronjić', 'Desančić', 'Despenić', 'Despinić', 'Despić', 'Deurić', 'Dešić', 'Divić', 'Divnić', 'Divčić', 'Dikić', 'Diklić', 'Dikosavić', 'Dimanić', 'Dimitrić', 'Dimić', 'Dimkić', 'Dimčić', 'Dinić', 'Dinkić', 'Dinčić', 'Diskić', 'Dičić', 'Dobranić', 'Dobratić', 'Dobrić', 'Dobričić', 'Dovijanić', 'Dogandžić', 'Doganjić', 'Dodić', 'Dokić', 'Doknić', 'Dolinić', 'Dončić', 'Dorontić', 'Dostanić', 'Dostić', 'Dostičić', 'Dotlić', 'Dravić', 'Draganić', 'Draginčić', 'Dragić', 'Dragišić', 'Dragoljić', 'Dragonjić', 'Dragoslavić', 'Dragotić', 'Dragušić', 'Dražić', 'Drajić', 'Drakulić', 'Dramlić', 'Drangić', 'Draškić', 'Drezgić', 'Drekić', 'Drenić', 'Drinić', 'Drinčić', 'Družetić', 'Drulić', 'Drčelić', 'Dubajić', 'Dubačkić', 'Dubonjić', 'Dugalić', 'Dugić', 'Dugonjić', 'Dudić', 'Dukić', 'Dumanjić', 'Dumeljić', 'Dumitrikić', 'Dumnić', 'Dumonić', 'Dunčić', 'Dunjić', 'Duronjić', 'Dučić', 'Dušanić', 'Đajić', 'Đakušić', 'Đapić', 'Đekić', 'Đelić', 'Đelkapić', 'Đenadić', 'Đenisić', 'Đenić', 'Đerić', 'Đikić', 'Đinđić', 'Đokić', 'Đorđić', 'Đorić', 'Đuzić', 'Đujić', 'Đukarić', 'Đukelić', 'Đuketić', 'Đukić', 'Đuknić', 'Đuragić', 'Đurakić', 'Đurđić', 'Đuretić', 'Đurić', 'Đuričić', 'Đurišić', 'Đurkić', 'Đusić', 'Evđenić', 'Egarić', 'Egerić', 'Egić', 'Ekmečić', 'Ekmedžić', 'Ergić', 'Eremić', 'Erić', 'Erletić', 'Erčić', 'Žagrić', 'Žarić', 'Žarkić', 'Žepinić', 'Žeravić', 'Žeravčić', 'Žerajić', 'Žestić', 'Živanić', 'Živankić', 'Živić', 'Životić', 'Žigić', 'Žižić', 'Žikelić', 'Žikić', 'Žiletić', 'Žilić', 'Žmirić', 'Žmukić', 'Žmurić', 'Žugić', 'Žunić', 'Žutić', 'Žutobradić', 'Zaburnić', 'Zavišić', 'Zagorčić', 'Zakić', 'Zapukić', 'Zaradić', 'Zarić', 'Zatežić', 'Zaharić', 'Zbiljić', 'Zvekić', 'Zvizdić', 'Zdravić', 'Zdujić', 'Zebić', 'Zekavičić', 'Zekić', 'Zelić', 'Zimonjić', 'Zinaić', 'Zinajić', 'Zisić', 'Zjajić', 'Zjalić', 'Zjačić', 'Zlatić', 'Zličić', 'Zlovarić', 'Zojkić', 'Zokić', 'Zolotić', 'Zorbić', 'Zorić', 'Zoričić', 'Zorkić', 'Zrakić', 'Zrilić', 'Zrnić', 'Zubić', 'Zurnić', 'Ibrić', 'Ivanić', 'Ivantić', 'Ivančić', 'Ivezić', 'Ivetić', 'Ivić', 'Ivičić', 'Ivucić', 'Igić', 'Ignjatić', 'Ignjić', 'Ijačić', 'Ikić', 'Ikonić', 'Ilibašić', 'Ilijić', 'Ilikić', 'Ilinčić', 'Ilisić', 'Ilić', 'Iličić', 'Ilkić', 'Inđić', 'Irić', 'Ičelić', 'Jablančić', 'Javorić', 'Jagličić', 'Jagodić', 'Jakić', 'Jakišić', 'Jakonić', 'Jakšić', 'Jalić', 'Jandrić', 'Janikić', 'Janić', 'Janičić', 'Jankelić', 'Jankić', 'Janojkić', 'Jančić', 'Jančurić', 'Janjić', 'Janjušić', 'Jarić', 'Jasnić', 'Jašić', 'Jevdoksić', 'Jevđenić', 'Jeveričić', 'Jević', 'Jevrić', 'Jevtić', 'Jegdić', 'Jezdić', 'Jezerkić', 'Jelačić', 'Jelašić', 'Jelenić', 'Jelesić', 'Jelikić', 'Jelisavčić', 'Jelisić', 'Jelić', 'Jeličić', 'Jelušić', 'Jenić', 'Jergić', 'Jeremić', 'Jerinić', 'Jerinkić', 'Jerosimić', 'Jerotić', 'Jerčić', 'Jesretić', 'Jestrotić', 'Jeftenić', 'Jeftić', 'Ječmenić', 'Ješić', 'Jovakarić', 'Jovandić', 'Jovanetić', 'Jovanić', 'Jovankić', 'Jovančić', 'Jovadžić', 'Jovelić', 'Joveljić', 'Jovetić', 'Jovešić', 'Jovikić', 'Jović', 'Jovičić', 'Jovišić', 'Jovkić', 'Jovonić', 'Jovčić', 'Jozić', 'Jojić', 'Jojčić', 'Jokić', 'Jokičić', 'Joksić', 'Jolić', 'Jonikić', 'Jonić', 'Joničić', 'Jonkić', 'Jontić', 'Jončić', 'Jorgić', 'Jorgonić', 'Josić', 'Jocić', 'Juzbašić', 'Jukić', 'Jungić', 'Jurišić', 'Juškić', 'Kavalić', 'Kajganić', 'Kalabić', 'Kalajić', 'Kalajdžić', 'Kalendić', 'Kalenić', 'Kalinić', 'Kamperelić', 'Kandić', 'Kanlić', 'Kanjerić', 'Karavidić', 'Karagić', 'Karajčić', 'Karaklajić', 'Karaleić', 'Karalejić', 'Karalić', 'Karapandžić', 'Karatošić', 'Karaulić', 'Karadžić', 'Karić', 'Karišić', 'Karličić', 'Katanić', 'Katić', 'Kaćurić', 'Kačaniklić', 'Kašerić', 'Kvrgić', 'Kendrišić', 'Kentrić', 'Kepić', 'Kesić', 'Kečkić', 'Kijačić', 'Kimčetić', 'Kiselčić', 'Kitanić', 'Kitić', 'Kitonjić', 'Kičić', 'Klevernić', 'Klepić', 'Klinić', 'Klipić', 'Klisarić', 'Klisurić', 'Kličarić', 'Kljajić', 'Kljakić', 'Knežić', 'Kovanušić', 'Kovandžić', 'Kovarbašić', 'Kovačić', 'Kovinić', 'Kovinčić', 'Kovjanić', 'Kovjenić', 'Kovljenić', 'Kozić', 'Kojanić', 'Kojić', 'Kojičić', 'Kojčić', 'Kojundžić', 'Kolavčić', 'Kolarić', 'Kolačarić', 'Količić', 'Kolundžić', 'Koljančić', 'Komadinić', 'Komarčić', 'Komlenić', 'Komnenić', 'Kondić', 'Kontić', 'Konculić', 'Konjikušić', 'Koraksić', 'Kordić', 'Korugić', 'Koružić', 'Kosanić', 'Kosić', 'Kosnić', 'Kosorić', 'Kostić', 'Kotarlić', 'Kotlajić', 'Kočić', 'Kodžopeljić', 'Košarić', 'Košpić', 'Košutić', 'Kravarušić', 'Kravić', 'Kragić', 'Krainčanić', 'Krantić', 'Krasavčić', 'Krasić', 'Krezić', 'Krejić', 'Kremić', 'Kremonjić', 'Krestić', 'Krivošić', 'Krkeljić', 'Krkić', 'Krkobabić', 'Krnetić', 'Krnjajić', 'Krnjeušić', 'Krompić', 'Krotić', 'Krpić', 'Krsmanić', 'Krsmić', 'Krstajić', 'Krstekanić', 'Krstinić', 'Krstić', 'Krstičić', 'Krstonić', 'Krstonošić', 'Krtinić', 'Krunić', 'Kruškonjić', 'Kršić', 'Kuveljić', 'Kudrić', 'Kuzmić', 'Kujavić', 'Kujačić', 'Kujundžić', 'Kukrić', 'Kulezić', 'Kulizić', 'Kulišić', 'Kulundžić', 'Kuljančić', 'Kuljić', 'Kumrić', 'Kureljušić', 'Kurilić', 'Kursulić', 'Kurucić', 'Kurčubić', 'Kusonić', 'Kusonjić', 'Kusturić', 'Kutlačić', 'Kutlešić', 'Kušić', 'Kušljić', 'Labotić', 'Lavrnić', 'Lažetić', 'Lazendić', 'Lazetić', 'Lazić', 'Lazičić', 'Lazukić', 'Lajšić', 'Laketić', 'Lakić', 'Lalić', 'Lambić', 'Lapčić', 'Lastić', 'Latinčić', 'Leburić', 'Ležaić', 'Ležajić', 'Lekanić', 'Lekić', 'Lemaić', 'Lemajić', 'Leposavić', 'Lesendrić', 'Lečić', 'Leštarić', 'Lijeskić', 'Likodrić', 'Likušić', 'Lilić', 'Lipovčić', 'Lisičić', 'Lišančić', 'Lovrić', 'Lozanić', 'Lojaničić', 'Lolić', 'Lomić', 'Lopandić', 'Lubardić', 'Lubinić', 'Luburić', 'Lugonjić', 'Lužaić', 'Lužajić', 'Lukajić', 'Lukačić', 'Lukendić', 'Lukić', 'Lukičić', 'Lunić', 'Lutkić', 'Lučić', 'Ljamić', 'Ljeganušić', 'Ljotić', 'Ljubanić', 'Ljubić', 'Ljubičić', 'Ljubišić', 'Ljušić', 'Ljuškić', 'Maglić', 'Majkić', 'Makarić', 'Makivić', 'Makragić', 'Maksić', 'Malavrazić', 'Malbašić', 'Malenčić', 'Maletić', 'Malešić', 'Malinić', 'Mališić', 'Malobabić', 'Malušić', 'Maljugić', 'Maljčić', 'Mandarić', 'Mandinić', 'Mandić', 'Mandušić', 'Manić', 'Mančić', 'Manjenčić', 'Maravić', 'Marinčić', 'Marić', 'Maričić', 'Markagić', 'Markelić', 'Markeljić', 'Markulić', 'Marodić', 'Martić', 'Marunić', 'Marunkić', 'Marušić', 'Marčetić', 'Marčić', 'Masalušić', 'Maslarić', 'Maslić', 'Maslovarić', 'Matarugić', 'Matejić', 'Materić', 'Matić', 'Matičić', 'Matušić', 'Maćešić', 'Maćić', 'Mačić', 'Mačkić', 'Mačužić', 'Mašić', 'Medić', 'Medurić', 'Mektić', 'Mesulić', 'Mijalčić', 'Mijanić', 'Mijačić', 'Mijić', 'Mijucić', 'Mikarić', 'Mikelić', 'Miketić', 'Mikić', 'Mikičić', 'Mikonjić', 'Mikulić', 'Miladić', 'Milakić', 'Milačić', 'Milekić', 'Milenić', 'Miletić', 'Mileusnić', 'Milešić', 'Milijić', 'Milikić', 'Milikšić', 'Milinić', 'Milinčić', 'Milisavić', 'Miličić', 'Milić', 'Milišić', 'Milkić', 'Miloičić', 'Milojić', 'Milojičić', 'Milojkić', 'Milojčić', 'Milotić', 'Milunić', 'Milušić', 'Milčić', 'Miljanić', 'Mindić', 'Minić', 'Minčić', 'Miovčić', 'Miodanić', 'Mionić', 'Miražić', 'Mirić', 'Mirjanić', 'Mirkić', 'Mirosavić', 'Mirčetić', 'Mirčić', 'Misojčić', 'Mitić', 'Mitranić', 'Mitrekanić', 'Mitrić', 'Mitrušić', 'Mićić', 'Mihaljčić', 'Miholjčić', 'Mišeljić', 'Mišić', 'Miškić', 'Mišurić', 'Mladić', 'Mladžić', 'Mojsić', 'Mokrić', 'Momić', 'Moračić', 'Moretić', 'Morokvašić', 'Motičić', 'Mrakić', 'Mračić', 'Mrdić', 'Mrkić', 'Mrkonjić', 'Mrkušić', 'Mrkšić', 'Mudrinić', 'Mudrić', 'Munišić', 'Murganić', 'Mutavdžić', 'Mutibarić', 'Mučibabić', 'Mušikić', 'Navalušić', 'Nagradić', 'Nagulić', 'Nadaškić', 'Najdić', 'Najkić', 'Nakalamić', 'Nakić', 'Narančić', 'Narandžić', 'Nastasić', 'Nastić', 'Nebrigić', 'Nevajdić', 'Nevenić', 'Negoicić', 'Nedinić', 'Nedić', 'Nekić', 'Nemanjić', 'Nenadić', 'Nenić', 'Neoričić', 'Nešić', 'Nikezić', 'Niketić', 'Nikitić', 'Nikoletić', 'Nikolešić', 'Nikolić', 'Nikolčić', 'Nikšić', 'Ninić', 'Ninčić', 'Ničić', 'Nišavić', 'Nišić', 'Novalušić', 'Novarlić', 'Novačikić', 'Nović', 'Novičić', 'Novčić', 'Nožinić', 'Nojkić', 'Njegić', 'Njegrić', 'Nježić', 'Obrenić', 'Odavić', 'Ozimić', 'Ojdanić', 'Ojkić', 'Oketić', 'Okolić', 'Okulić', 'Olarić', 'Olić', 'Olujić', 'Oljačić', 'Opalić', 'Oparušić', 'Opačić', 'Oprikić', 'Oprić', 'Opricić', 'Oraovčić', 'Orlandić', 'Orlić', 'Osmajlić', 'Ostojić', 'Ocokoljić', 'Odžić', 'Pavić', 'Pavičić', 'Pavlekić', 'Pavličić', 'Pavčić', 'Padić', 'Pajagić', 'Pajić', 'Pajičić', 'Pajkić', 'Pajtić', 'Palalić', 'Palangetić', 'Paligorić', 'Palić', 'Paninčić', 'Panić', 'Panišić', 'Pantelić', 'Pantić', 'Pančić', 'Pandžić', 'Papić', 'Paprić', 'Papulić', 'Paramentić', 'Paraušić', 'Parivodić', 'Parlić', 'Parojčić', 'Patrnogić', 'Paunić', 'Pašić', 'Pejić', 'Pejičić', 'Pejušić', 'Pejčić', 'Pelagić', 'Pendić', 'Penezić', 'Penčić', 'Pepić', 'Perenić', 'Perić', 'Peričić', 'Perišić', 'Perjaničić', 'Perkić', 'Perotić', 'Peruničić', 'Perčić', 'Petkanić', 'Petrikić', 'Petrić', 'Petričić', 'Petronić', 'Petrušić', 'Peulić', 'Pecić', 'Pečeničić', 'Pešić', 'Pikić', 'Pilindavić', 'Piljagić', 'Piperčić', 'Pirivatrić', 'Pirić', 'Pisarić', 'Pitulić', 'Pjanić', 'Pjević', 'Plavić', 'Plavkić', 'Plavljanić', 'Plavšić', 'Plazinić', 'Planinčić', 'Planić', 'Platanić', 'Plačić', 'Plemić', 'Pleskonjić', 'Plećić', 'Plintić', 'Plisnić', 'Ploskić', 'Pločić', 'Pljakić', 'Pljevaljčić', 'Pobulić', 'Podinić', 'Podraščić', 'Podrić', 'Poznanić', 'Poznić', 'Pojkić', 'Polić', 'Polomčić', 'Polugić', 'Ponjavić', 'Pop Lazić', 'Popadić', 'Poparić', 'Popčić', 'Potrebić', 'Poštić', 'Pravdić', 'Pražić', 'Predić', 'Prekić', 'Prelić', 'Prendić', 'Prešić', 'Pržić', 'Pribić', 'Pribišić', 'Prigodić', 'Prijić', 'Prikić', 'Prišić', 'Prodanić', 'Prokić', 'Prokopić', 'Prolić', 'Protić', 'Prošić', 'Pruginić', 'Prunić', 'Pršendić', 'Pualić', 'Puvalić', 'Puvačić', 'Pudarić', 'Punišić', 'Purešić', 'Purić', 'Purišić', 'Puslojić', 'Pušeljić', 'Ravilić', 'Radančić', 'Radeljić', 'Radetić', 'Radešić', 'Radivojšić', 'Radikić', 'Radisavić', 'Radić', 'Radičić', 'Radišić', 'Radnić', 'Radoičić', 'Radojičić', 'Radojkić', 'Radojčić', 'Radonić', 'Radonjić', 'Radosavkić', 'Radotić', 'Radukić', 'Radulić', 'Raduljčić', 'Raducić', 'Radušić', 'Razumenić', 'Railić', 'Raičić', 'Rajačić', 'Rajić', 'Rajičić', 'Rajlić', 'Rajčetić', 'Rajčić', 'Rajšić', 'Rakezić', 'Raketić', 'Rakinić', 'Rakitić', 'Rakić', 'Rakonić', 'Raletić', 'Ralić', 'Raljić', 'Ramić', 'Ranđić', 'Ranisavić', 'Rankić', 'Rančić', 'Raonić', 'Rapaić', 'Rapajić', 'Rasulić', 'Ratkelić', 'Raulić', 'Racić', 'Račić', 'Rašetić', 'Rašić', 'Rašljić', 'Regodić', 'Regulić', 'Rekalić', 'Reljić', 'Remetić', 'Rendulić', 'Repašić', 'Resimić', 'Redžić', 'Ribarić', 'Riboškić', 'Riđošić', 'Riznić', 'Rinčić', 'Risimić', 'Ristanić', 'Ristić', 'Rmandić', 'Rnić', 'Rogić', 'Roglić', 'Rogonjić', 'Rogulić', 'Rodić', 'Rozgić', 'Rokvić', 'Roknić', 'Roksandić', 'Roksić', 'Roljić', 'Romanić', 'Romić', 'Rosić', 'Roškić', 'Ruvidić', 'Rudić', 'Rudonjić', 'Ružić', 'Ružičić', 'Ružojčić', 'Rumenić', 'Rundić', 'Runjajić', 'Rusalić', 'Rutešić', 'Rutonić', 'Ruškić', 'Sabljić', 'Savandić', 'Savatić', 'Savelić', 'Saveljić', 'Savić', 'Savičić', 'Savkić', 'Savurdić', 'Savčić', 'Salatić', 'Samardžić', 'Sandić', 'Sapardić', 'Saramandić', 'Sarić', 'Satarić', 'Svetličić', 'Svilarić', 'Svojić', 'Sekanić', 'Sekulić', 'Selenić', 'Sendrić', 'Senić', 'Seničić', 'Sentić', 'Setenčić', 'Sibinkić', 'Sibinčić', 'Sikimić', 'Simanić', 'Simendić', 'Simetić', 'Simić', 'Simurdić', 'Sinđelić', 'Sinđić', 'Sinkić', 'Sitničić', 'Sjeničić', 'Skakić', 'Skelić', 'Skendžić', 'Skerlić', 'Skokić', 'Skočajić', 'Skočić', 'Skrobić', 'Skulić', 'Slavić', 'Slavnić', 'Sladić', 'Slović', 'Smilić', 'Smiljanić', 'Smiljić', 'Smiljkić', 'Smoljanić', 'Smrekić', 'Sovrlić', 'Sovtić', 'Sojkić', 'Sokić', 'Soknić', 'Soldatić', 'Sorajić', 'Soskić', 'Sofijanić', 'Sofranić', 'Sofrenić', 'Sofronić', 'Spaić', 'Spakić', 'Sparić', 'Spasenić', 'Spasić', 'Spenčić', 'Sperlić', 'Spirić', 'Spremić', 'Spužić', 'Sredić', 'Sretić', 'Stavrić', 'Stajić', 'Stajkić', 'Stajčić', 'Stajšić', 'Stakić', 'Stakušić', 'Stamatić', 'Stambolić', 'Stamenić', 'Stamenčić', 'Stanarčić', 'Stanetić', 'Stanikić', 'Stanisavić', 'Stanić', 'Staničić', 'Stanišić', 'Stankić', 'Stanovčić', 'Stanojčić', 'Stanušić', 'Stančetić', 'Stančić', 'Stašić', 'Stevandić', 'Stevanetić', 'Stevanić', 'Stevelić', 'Stević', 'Stevčić', 'Stegić', 'Stegnjaić', 'Stegnjajić', 'Stekić', 'Steljić', 'Stepandić', 'Stepanić', 'Stepić', 'Stijačić', 'Stijepić', 'Stikić', 'Stjepić', 'Stožinić', 'Stojanić', 'Stojankić', 'Stojančić', 'Stojačić', 'Stojić', 'Stojičić', 'Stojkić', 'Stojnić', 'Stojčić', 'Stojšić', 'Stokanić', 'Stokić', 'Stolić', 'Stoparić', 'Stopić', 'Stošić', 'Strajnić', 'Strahinić', 'Strahinjić', 'Strinić', 'Subotić', 'Suvajdžić', 'Sumenić', 'Sunarić', 'Surlić', 'Suručić', 'Tadić', 'Tajsić', 'Tamindžić', 'Tanasić', 'Tanić', 'Tankosić', 'Tančić', 'Tarabić', 'Tasić', 'Tatišić', 'Tvrdišić', 'Teodosić', 'Tepić', 'Tepšić', 'Terzić', 'Teslić', 'Tešanić', 'Tešankić', 'Tešendić', 'Tešinić', 'Tešić', 'Tijanić', 'Timilić', 'Timotić', 'Tirić', 'Tirnanić', 'Tmušić', 'Tovarišić', 'Todić', 'Todorić', 'Todosić', 'Tojić', 'Tokalić', 'Toljagić', 'Tomanić', 'Tomecić', 'Tominčić', 'Tomić', 'Tomičić', 'Tomonjić', 'Tomčić', 'Tontić', 'Tončić', 'Topić', 'Topličić', 'Topolić', 'Toskić', 'Tošanić', 'Tošić', 'Travorić', 'Traparić', 'Trenčić', 'Trivalić', 'Trivić', 'Trivunić', 'Trivunčić', 'Trijić', 'Trikić', 'Trindić', 'Tripić', 'Trifunjagić', 'Trišić', 'Trmčić', 'Trninić', 'Trnić', 'Trošić', 'Trubajić', 'Trudić', 'Trujić', 'Trujkić', 'Tubonjić', 'Tukelić', 'Tumarić', 'Tupajić', 'Turajlić', 'Turnić', 'Turudić', 'Turunčić', 'Tutić', 'Tutorić', 'Tutulić', 'Tufegdžić', 'Tucić', 'Ćajić', 'Ćalić', 'Ćatić', 'Ćebić', 'Ćelić', 'Ćeranić', 'Ćipranić', 'Ćirić', 'Ćirjanić', 'Ćojbašić', 'Ćopić', 'Ćorić', 'Ćosić', 'Ćuić', 'Ćujić', 'Ćupić', 'Ćurdić', 'Ćurić', 'Ćurčić', 'Ćušić', 'Ubavić', 'Ubavkić', 'Uvalić', 'Uverić', 'Uglješić', 'Ugrinić', 'Ugrinčić', 'Ugričić', 'Udovičić', 'Udovčić', 'Umeljić', 'Umetić', 'Umiljendić', 'Uršikić', 'Ustić', 'Utvić', 'Ušendić', 'Farkić', 'Fatić', 'Femić', 'Filipić', 'Fotirić', 'Fotić', 'Frtunić', 'Hadži Antić', 'Hadži Jovančić', 'Hadži Nikolić', 'Hadži Ristić', 'Hadži Tančić', 'Hadžić', 'Hinić', 'Hristić', 'Cajić', 'Cakić', 'Carić', 'Caričić', 'Cvejić', 'Cvetić', 'Cvijetić', 'Cvijić', 'Cvikić', 'Cvišić', 'Cenić', 'Cenkić', 'Civišić', 'Civrić', 'Ciglić', 'Ciklušić', 'Cicvarić', 'Cmiljanić', 'Cmolić', 'Conić', 'Crnovčić', 'Cukanić', 'Cukić', 'Cuparić', 'Čabrić', 'Čavić', 'Čajić', 'Čalenić', 'Čalić', 'Čamagić', 'Čantrić', 'Čaprnjić', 'Čarapić', 'Čarnić', 'Čvokić', 'Čvorić', 'Čeleketić', 'Čemerikić', 'Čečarić', 'Čivčić', 'Čikarić', 'Čikić', 'Čiplić', 'Čipčić', 'Čičić', 'Čkovrić', 'Čobelić', 'Čobeljić', 'Čović', 'Čojić', 'Čojčić', 'Čolanić', 'Čolić', 'Čomić', 'Čonkić', 'Čonjagić', 'Čorbić', 'Čotrić', 'Čočurić', 'Čubrić', 'Čudić', 'Čukarić', 'Čukić', 'Čumić', 'Čupeljić', 'Čuperkić', 'Čupić', 'Čuturić', 'Džavrić', 'Džajić', 'Džambić', 'Džadžić', 'Dželebdžić', 'Džikić', 'Džinić', 'Džodić', 'Džombić', 'Džomić', 'Džonić', 'Šakić', 'Šakotić', 'Šalinić', 'Šamatić', 'Šantić', 'Šapić', 'Šaponić', 'Šaponjić', 'Šapurić', 'Šarančić', 'Šarić', 'Šarkić', 'Šaronjić', 'Šašić', 'Švabić', 'Ševarlić', 'Šević', 'Ševkušić', 'Šestić', 'Šibalić', 'Šijakinjić', 'Šijačić', 'Šikanić', 'Šikanjić', 'Šimšić', 'Šipetić', 'Šišić', 'Škobić', 'Škodrić', 'Škondrić', 'Škorić', 'Škrbić', 'Škrebić', 'Škulić', 'Škundrić', 'Šljapić', 'Šljivić', 'Šljukić', 'Šmigić', 'Šobajić', 'Šobačić', 'Šorgić', 'Šoškić', 'Špirić', 'Štakić', 'Štulić', 'Šubakić', 'Šubarić', 'Šubić', 'Šuleić', 'Šulejić', 'Šuletić', 'Šulkić', 'Šuluburić', 'Šuljagić', 'Šumatić', 'Šunderić', 'Šunkić', 'Šunjevarić', 'Šutuljić', 'Šušić', 'Šušulić', - ]; + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B + */ + protected static $lastName = [ + 'Abadžić', + 'Abdulić', + 'Abramić', + 'Avalić', + 'Avdulić', + 'Avrić', + 'Aguridić', + 'Adamić', + 'Azarić', + 'Ajdačić', + 'Ajdučić', + 'Aksentić', + 'Aksić', + 'Alavantić', + 'Aladić', + 'Alargić', + 'Albijanić', + 'Aleksandrić', + 'Aleksendrić', + 'Aleksić', + 'Alimpić', + 'Aličić', + 'Aljančić', + 'Amidžić', + 'Ananić', + 'Andić', + 'Andrejić', + 'Andrijanić', + 'Andrić', + 'Androbić', + 'Anđelić', + 'Anđić', + 'Anđušić', + 'Anić', + 'Aničić', + 'Ankić', + 'Anojčić', + 'Anokić', + 'Antić', + 'Antonić', + 'Anušić', + 'Apelić', + 'Apić', + 'Arambašić', + 'Ardalić', + 'Arsenić', + 'Arsić', + 'Atlagić', + 'Aćimić', + 'Aćić', + 'Acić', + 'Ačić', + 'Adžić', + 'Aškrabić', + 'Ašćerić', + 'Babarogić', + 'Babić', + 'Bavarčić', + 'Baveljić', + 'Badrić', + 'Bajagić', + 'Bajandić', + 'Bajić', + 'Bajičić', + 'Bajkić', + 'Bajčetić', + 'Bajčić', + 'Bakić', + 'Baletić', + 'Balotić', + 'Baltić', + 'Balšić', + 'Banzić', + 'Banić', + 'Bantulić', + 'Banjalić', + 'Baralić', + 'Barić', + 'Barišić', + 'Baroševčić', + 'Basarić', + 'Bastajić', + 'Bastašić', + 'Bataveljić', + 'Batinić', + 'Batnožić', + 'Baćić', + 'Bacetić', + 'Bačić', + 'Bačkulić', + 'Bašić', + 'Baštić', + 'Bebić', + 'Begenišić', + 'Bežanić', + 'Bekčić', + 'Belančić', + 'Belić', + 'Belogrlić', + 'Belodedić', + 'Belonić', + 'Beljić', + 'Bendić', + 'Berilažić', + 'Berić', + 'Besedić', + 'Besjedić', + 'Biberčić', + 'Biberdžić', + 'Bibić', + 'Bižić', + 'Bizetić', + 'Bizumić', + 'Bijanić', + 'Bijelić', + 'Bijelonić', + 'Bilibajkić', + 'Bilić', + 'Bilkić', + 'Biljić', + 'Biljurić', + 'Binić', + 'Birišić', + 'Bisenić', + 'Biserić', + 'Biserčić', + 'Bisić', + 'Bjekić', + 'Bjeletić', + 'Bjelinić', + 'Bjelić', + 'Bjeličić', + 'Bjelkić', + 'Bjelovitić', + 'Bjelogrlić', + 'Bjelonić', + 'Bjelotomić', + 'Blagić', + 'Blagotić', + 'Blažarić', + 'Blažetić', + 'Blažić', + 'Blatešić', + 'Blendić', + 'Blesić', + 'Blečić', + 'Blešić', + 'Boberić', + 'Bobić', + 'Bobušić', + 'Bogatić', + 'Bogdanić', + 'Bogetić', + 'Bogić', + 'Bogičić', + 'Bodirogić', + 'Bodirožić', + 'Bodić', + 'Bodrožić', + 'Božanić', + 'Božikić', + 'Božić', + 'Božičić', + 'Bojadić', + 'Bojanić', + 'Bojić', + 'Bojičić', + 'Bojkić', + 'Bojčetić', + 'Bojčić', + 'Bokanić', + 'Bokonjić', + 'Bolić', + 'Boltić', + 'Boljanić', + 'Bontić', + 'Bondžić', + 'Bondžulić', + 'Borikić', + 'Borić', + 'Boričić', + 'Borišić', + 'Borjanić', + 'Borokić', + 'Borotić', + 'Borčić', + 'Bosančić', + 'Bosiljkić', + 'Bosiljčić', + 'Bosiorčić', + 'Bosiočić', + 'Bosić', + 'Bosnić', + 'Botorić', + 'Bocić', + 'Bocokić', + 'Bošnjačić', + 'Boštrunić', + 'Bradarić', + 'Bradić', + 'Bradonjić', + 'Brajić', + 'Braletić', + 'Bralić', + 'Bralušić', + 'Brančić', + 'Bratić', + 'Bratonožić', + 'Brašić', + 'Brdarić', + 'Brežančić', + 'Brezić', + 'Brekić', + 'Brzić', + 'Brisić', + 'Brkanlić', + 'Brkić', + 'Brndušić', + 'Brodalić', + 'Brodić', + 'Broćić', + 'Bruić', + 'Brujić', + 'Brukić', + 'Bubić', + 'Bubonjić', + 'Bugarčić', + 'Budalić', + 'Budimkić', + 'Budimčić', + 'Budinčić', + 'Budić', + 'Budišić', + 'Budnić', + 'Budurić', + 'Buzaretić', + 'Bujagić', + 'Bujandrić', + 'Bujić', + 'Bujišić', + 'Bujuklić', + 'Bukazić', + 'Bukvić', + 'Bukelić', + 'Bukovčić', + 'Bukonjić', + 'Bukumirić', + 'Bukušić', + 'Bulajić', + 'Bulić', + 'Buljubašić', + 'Buljugić', + 'Bumbić', + 'Bunardžić', + 'Bunić', + 'Bunčić', + 'Burgić', + 'Burić', + 'Burlić', + 'Busančić', + 'Buckić', + 'Bučić', + 'Bušetić', + 'Bušić', + 'Vagić', + 'Vagurić', + 'Vajić', + 'Vajkarić', + 'Vakičić', + 'Vanušić', + 'Varagić', + 'Varaklić', + 'Vardalić', + 'Varjačić', + 'Varničić', + 'Vaselić', + 'Vasilić', + 'Vasić', + 'Vašalić', + 'Vekić', + 'Veletić', + 'Velikić', + 'Veličić', + 'Velišić', + 'Veljančić', + 'Veljić', + 'Vemić', + 'Verbić', + 'Verbunkić', + 'Vergić', + 'Verić', + 'Verkić', + 'Veselić', + 'Veseličić', + 'Vesić', + 'Vesnić', + 'Vidarić', + 'Vidačić', + 'Videkanić', + 'Vidić', + 'Vilendečić', + 'Vilotić', + 'Vinokić', + 'Vinčić', + 'Viorikić', + 'Vitakić', + 'Vitolić', + 'Vićentić', + 'Višić', + 'Vladetić', + 'Vladić', + 'Vladičić', + 'Vladušić', + 'Vlajić', + 'Vlajnić', + 'Vlajčić', + 'Vlaketić', + 'Vlasinić', + 'Vlasonjić', + 'Vlastić', + 'Vlačić', + 'Vlaškalić', + 'Vojičić', + 'Vojkić', + 'Vojčić', + 'Vorgić', + 'Vorkapić', + 'Voćkić', + 'Voštinić', + 'Voštić', + 'Vranić', + 'Vrančić', + 'Vratonjić', + 'Vračarić', + 'Vrekić', + 'Vrećić', + 'Vrzić', + 'Vrtunić', + 'Vrugić', + 'Vujanić', + 'Vujanušić', + 'Vujačić', + 'Vujetić', + 'Vujinić', + 'Vujisić', + 'Vujić', + 'Vujičić', + 'Vujnić', + 'Vujčetić', + 'Vukanić', + 'Vukelić', + 'Vukić', + 'Vukoičić', + 'Vukojičić', + 'Vukojčić', + 'Vukolić', + 'Vukomančić', + 'Vukosavić', + 'Vukotić', + 'Vukšić', + 'Vuletić', + 'Vulešić', + 'Vulikić', + 'Vulić', + 'Vulišić', + 'Vucelić', + 'Vučelić', + 'Vučendić', + 'Vučenić', + 'Vučetić', + 'Vučinić', + 'Vučić', + 'Gavarić', + 'Gavranić', + 'Gavrančić', + 'Gavrić', + 'Gagić', + 'Gagričić', + 'Gajanić', + 'Gajetić', + 'Gajić', + 'Gajičić', + 'Gajtanić', + 'Galetić', + 'Galić', + 'Galonić', + 'Galonjić', + 'Gambelić', + 'Garačić', + 'Gardić', + 'Garić', + 'Garotić', + 'Gatarić', + 'Gačić', + 'Gadžić', + 'Gašić', + 'Gvozdenić', + 'Gvozdić', + 'Gvoić', + 'Gvojić', + 'Genčić', + 'Gerzić', + 'Gizdavić', + 'Gilić', + 'Glavendekić', + 'Glavinić', + 'Glavonić', + 'Glavonjić', + 'Glavčić', + 'Glamočić', + 'Gledić', + 'Gležnić', + 'Glibetić', + 'Gligić', + 'Gligorić', + 'Gligurić', + 'Glintić', + 'Glišić', + 'Gloginjić', + 'Glomazić', + 'Gluvajić', + 'Glumičić', + 'Gmizić', + 'Gnjatić', + 'Gobeljić', + 'Gogić', + 'Gojgić', + 'Goncić', + 'Goranić', + 'Gorančić', + 'Gordanić', + 'Gordić', + 'Goronjić', + 'Gospavić', + 'Gostić', + 'Gostojić', + 'Gocić', + 'Gošnjić', + 'Grabić', + 'Grabovčić', + 'Gradić', + 'Gramić', + 'Grandić', + 'Granolić', + 'Granulić', + 'Graonić', + 'Grašić', + 'Grbić', + 'Grečić', + 'Grkinić', + 'Grozdanić', + 'Grozdić', + 'Grokanić', + 'Gromilić', + 'Grubačić', + 'Grubetić', + 'Grubešić', + 'Grubić', + 'Grubišić', + 'Grubješić', + 'Grublješić', + 'Grubnić', + 'Gružanić', + 'Grujanić', + 'Grujić', + 'Grujičić', + 'Grumić', + 'Guberinić', + 'Gudurić', + 'Gužvić', + 'Gujaničić', + 'Gurešić', + 'Guconić', + 'Gudžulić', + 'Gušić', + 'Dabarčić', + 'Dabetić', + 'Dabić', + 'Davinić', + 'Dajić', + 'Dajlić', + 'Damjanić', + 'Dangić', + 'Dangubić', + 'Daničić', + 'Danojlić', + 'Dardić', + 'Dafunić', + 'Dačić', + 'Dvokić', + 'Dvorančić', + 'Dvornić', + 'Debelnogić', + 'Devedžić', + 'Dedić', + 'Dejanić', + 'Delić', + 'Demić', + 'Demonjić', + 'Denić', + 'Denkić', + 'Denčić', + 'Derajić', + 'Deretić', + 'Derikonjić', + 'Deronjić', + 'Desančić', + 'Despenić', + 'Despinić', + 'Despić', + 'Deurić', + 'Dešić', + 'Divić', + 'Divnić', + 'Divčić', + 'Dikić', + 'Diklić', + 'Dikosavić', + 'Dimanić', + 'Dimitrić', + 'Dimić', + 'Dimkić', + 'Dimčić', + 'Dinić', + 'Dinkić', + 'Dinčić', + 'Diskić', + 'Dičić', + 'Dobranić', + 'Dobratić', + 'Dobrić', + 'Dobričić', + 'Dovijanić', + 'Dogandžić', + 'Doganjić', + 'Dodić', + 'Dokić', + 'Doknić', + 'Dolinić', + 'Dončić', + 'Dorontić', + 'Dostanić', + 'Dostić', + 'Dostičić', + 'Dotlić', + 'Dravić', + 'Draganić', + 'Draginčić', + 'Dragić', + 'Dragišić', + 'Dragoljić', + 'Dragonjić', + 'Dragoslavić', + 'Dragotić', + 'Dragušić', + 'Dražić', + 'Drajić', + 'Drakulić', + 'Dramlić', + 'Drangić', + 'Draškić', + 'Drezgić', + 'Drekić', + 'Drenić', + 'Drinić', + 'Drinčić', + 'Družetić', + 'Drulić', + 'Drčelić', + 'Dubajić', + 'Dubačkić', + 'Dubonjić', + 'Dugalić', + 'Dugić', + 'Dugonjić', + 'Dudić', + 'Dukić', + 'Dumanjić', + 'Dumeljić', + 'Dumitrikić', + 'Dumnić', + 'Dumonić', + 'Dunčić', + 'Dunjić', + 'Duronjić', + 'Dučić', + 'Dušanić', + 'Đajić', + 'Đakušić', + 'Đapić', + 'Đekić', + 'Đelić', + 'Đelkapić', + 'Đenadić', + 'Đenisić', + 'Đenić', + 'Đerić', + 'Đikić', + 'Đinđić', + 'Đokić', + 'Đorđić', + 'Đorić', + 'Đuzić', + 'Đujić', + 'Đukarić', + 'Đukelić', + 'Đuketić', + 'Đukić', + 'Đuknić', + 'Đuragić', + 'Đurakić', + 'Đurđić', + 'Đuretić', + 'Đurić', + 'Đuričić', + 'Đurišić', + 'Đurkić', + 'Đusić', + 'Evđenić', + 'Egarić', + 'Egerić', + 'Egić', + 'Ekmečić', + 'Ekmedžić', + 'Ergić', + 'Eremić', + 'Erić', + 'Erletić', + 'Erčić', + 'Žagrić', + 'Žarić', + 'Žarkić', + 'Žepinić', + 'Žeravić', + 'Žeravčić', + 'Žerajić', + 'Žestić', + 'Živanić', + 'Živankić', + 'Živić', + 'Životić', + 'Žigić', + 'Žižić', + 'Žikelić', + 'Žikić', + 'Žiletić', + 'Žilić', + 'Žmirić', + 'Žmukić', + 'Žmurić', + 'Žugić', + 'Žunić', + 'Žutić', + 'Žutobradić', + 'Zaburnić', + 'Zavišić', + 'Zagorčić', + 'Zakić', + 'Zapukić', + 'Zaradić', + 'Zarić', + 'Zatežić', + 'Zaharić', + 'Zbiljić', + 'Zvekić', + 'Zvizdić', + 'Zdravić', + 'Zdujić', + 'Zebić', + 'Zekavičić', + 'Zekić', + 'Zelić', + 'Zimonjić', + 'Zinaić', + 'Zinajić', + 'Zisić', + 'Zjajić', + 'Zjalić', + 'Zjačić', + 'Zlatić', + 'Zličić', + 'Zlovarić', + 'Zojkić', + 'Zokić', + 'Zolotić', + 'Zorbić', + 'Zorić', + 'Zoričić', + 'Zorkić', + 'Zrakić', + 'Zrilić', + 'Zrnić', + 'Zubić', + 'Zurnić', + 'Ibrić', + 'Ivanić', + 'Ivantić', + 'Ivančić', + 'Ivezić', + 'Ivetić', + 'Ivić', + 'Ivičić', + 'Ivucić', + 'Igić', + 'Ignjatić', + 'Ignjić', + 'Ijačić', + 'Ikić', + 'Ikonić', + 'Ilibašić', + 'Ilijić', + 'Ilikić', + 'Ilinčić', + 'Ilisić', + 'Ilić', + 'Iličić', + 'Ilkić', + 'Inđić', + 'Irić', + 'Ičelić', + 'Jablančić', + 'Javorić', + 'Jagličić', + 'Jagodić', + 'Jakić', + 'Jakišić', + 'Jakonić', + 'Jakšić', + 'Jalić', + 'Jandrić', + 'Janikić', + 'Janić', + 'Janičić', + 'Jankelić', + 'Jankić', + 'Janojkić', + 'Jančić', + 'Jančurić', + 'Janjić', + 'Janjušić', + 'Jarić', + 'Jasnić', + 'Jašić', + 'Jevdoksić', + 'Jevđenić', + 'Jeveričić', + 'Jević', + 'Jevrić', + 'Jevtić', + 'Jegdić', + 'Jezdić', + 'Jezerkić', + 'Jelačić', + 'Jelašić', + 'Jelenić', + 'Jelesić', + 'Jelikić', + 'Jelisavčić', + 'Jelisić', + 'Jelić', + 'Jeličić', + 'Jelušić', + 'Jenić', + 'Jergić', + 'Jeremić', + 'Jerinić', + 'Jerinkić', + 'Jerosimić', + 'Jerotić', + 'Jerčić', + 'Jesretić', + 'Jestrotić', + 'Jeftenić', + 'Jeftić', + 'Ječmenić', + 'Ješić', + 'Jovakarić', + 'Jovandić', + 'Jovanetić', + 'Jovanić', + 'Jovankić', + 'Jovančić', + 'Jovadžić', + 'Jovelić', + 'Joveljić', + 'Jovetić', + 'Jovešić', + 'Jovikić', + 'Jović', + 'Jovičić', + 'Jovišić', + 'Jovkić', + 'Jovonić', + 'Jovčić', + 'Jozić', + 'Jojić', + 'Jojčić', + 'Jokić', + 'Jokičić', + 'Joksić', + 'Jolić', + 'Jonikić', + 'Jonić', + 'Joničić', + 'Jonkić', + 'Jontić', + 'Jončić', + 'Jorgić', + 'Jorgonić', + 'Josić', + 'Jocić', + 'Juzbašić', + 'Jukić', + 'Jungić', + 'Jurišić', + 'Juškić', + 'Kavalić', + 'Kajganić', + 'Kalabić', + 'Kalajić', + 'Kalajdžić', + 'Kalendić', + 'Kalenić', + 'Kalinić', + 'Kamperelić', + 'Kandić', + 'Kanlić', + 'Kanjerić', + 'Karavidić', + 'Karagić', + 'Karajčić', + 'Karaklajić', + 'Karaleić', + 'Karalejić', + 'Karalić', + 'Karapandžić', + 'Karatošić', + 'Karaulić', + 'Karadžić', + 'Karić', + 'Karišić', + 'Karličić', + 'Katanić', + 'Katić', + 'Kaćurić', + 'Kačaniklić', + 'Kašerić', + 'Kvrgić', + 'Kendrišić', + 'Kentrić', + 'Kepić', + 'Kesić', + 'Kečkić', + 'Kijačić', + 'Kimčetić', + 'Kiselčić', + 'Kitanić', + 'Kitić', + 'Kitonjić', + 'Kičić', + 'Klevernić', + 'Klepić', + 'Klinić', + 'Klipić', + 'Klisarić', + 'Klisurić', + 'Kličarić', + 'Kljajić', + 'Kljakić', + 'Knežić', + 'Kovanušić', + 'Kovandžić', + 'Kovarbašić', + 'Kovačić', + 'Kovinić', + 'Kovinčić', + 'Kovjanić', + 'Kovjenić', + 'Kovljenić', + 'Kozić', + 'Kojanić', + 'Kojić', + 'Kojičić', + 'Kojčić', + 'Kojundžić', + 'Kolavčić', + 'Kolarić', + 'Kolačarić', + 'Količić', + 'Kolundžić', + 'Koljančić', + 'Komadinić', + 'Komarčić', + 'Komlenić', + 'Komnenić', + 'Kondić', + 'Kontić', + 'Konculić', + 'Konjikušić', + 'Koraksić', + 'Kordić', + 'Korugić', + 'Koružić', + 'Kosanić', + 'Kosić', + 'Kosnić', + 'Kosorić', + 'Kostić', + 'Kotarlić', + 'Kotlajić', + 'Kočić', + 'Kodžopeljić', + 'Košarić', + 'Košpić', + 'Košutić', + 'Kravarušić', + 'Kravić', + 'Kragić', + 'Krainčanić', + 'Krantić', + 'Krasavčić', + 'Krasić', + 'Krezić', + 'Krejić', + 'Kremić', + 'Kremonjić', + 'Krestić', + 'Krivošić', + 'Krkeljić', + 'Krkić', + 'Krkobabić', + 'Krnetić', + 'Krnjajić', + 'Krnjeušić', + 'Krompić', + 'Krotić', + 'Krpić', + 'Krsmanić', + 'Krsmić', + 'Krstajić', + 'Krstekanić', + 'Krstinić', + 'Krstić', + 'Krstičić', + 'Krstonić', + 'Krstonošić', + 'Krtinić', + 'Krunić', + 'Kruškonjić', + 'Kršić', + 'Kuveljić', + 'Kudrić', + 'Kuzmić', + 'Kujavić', + 'Kujačić', + 'Kujundžić', + 'Kukrić', + 'Kulezić', + 'Kulizić', + 'Kulišić', + 'Kulundžić', + 'Kuljančić', + 'Kuljić', + 'Kumrić', + 'Kureljušić', + 'Kurilić', + 'Kursulić', + 'Kurucić', + 'Kurčubić', + 'Kusonić', + 'Kusonjić', + 'Kusturić', + 'Kutlačić', + 'Kutlešić', + 'Kušić', + 'Kušljić', + 'Labotić', + 'Lavrnić', + 'Lažetić', + 'Lazendić', + 'Lazetić', + 'Lazić', + 'Lazičić', + 'Lazukić', + 'Lajšić', + 'Laketić', + 'Lakić', + 'Lalić', + 'Lambić', + 'Lapčić', + 'Lastić', + 'Latinčić', + 'Leburić', + 'Ležaić', + 'Ležajić', + 'Lekanić', + 'Lekić', + 'Lemaić', + 'Lemajić', + 'Leposavić', + 'Lesendrić', + 'Lečić', + 'Leštarić', + 'Lijeskić', + 'Likodrić', + 'Likušić', + 'Lilić', + 'Lipovčić', + 'Lisičić', + 'Lišančić', + 'Lovrić', + 'Lozanić', + 'Lojaničić', + 'Lolić', + 'Lomić', + 'Lopandić', + 'Lubardić', + 'Lubinić', + 'Luburić', + 'Lugonjić', + 'Lužaić', + 'Lužajić', + 'Lukajić', + 'Lukačić', + 'Lukendić', + 'Lukić', + 'Lukičić', + 'Lunić', + 'Lutkić', + 'Lučić', + 'Ljamić', + 'Ljeganušić', + 'Ljotić', + 'Ljubanić', + 'Ljubić', + 'Ljubičić', + 'Ljubišić', + 'Ljušić', + 'Ljuškić', + 'Maglić', + 'Majkić', + 'Makarić', + 'Makivić', + 'Makragić', + 'Maksić', + 'Malavrazić', + 'Malbašić', + 'Malenčić', + 'Maletić', + 'Malešić', + 'Malinić', + 'Mališić', + 'Malobabić', + 'Malušić', + 'Maljugić', + 'Maljčić', + 'Mandarić', + 'Mandinić', + 'Mandić', + 'Mandušić', + 'Manić', + 'Mančić', + 'Manjenčić', + 'Maravić', + 'Marinčić', + 'Marić', + 'Maričić', + 'Markagić', + 'Markelić', + 'Markeljić', + 'Markulić', + 'Marodić', + 'Martić', + 'Marunić', + 'Marunkić', + 'Marušić', + 'Marčetić', + 'Marčić', + 'Masalušić', + 'Maslarić', + 'Maslić', + 'Maslovarić', + 'Matarugić', + 'Matejić', + 'Materić', + 'Matić', + 'Matičić', + 'Matušić', + 'Maćešić', + 'Maćić', + 'Mačić', + 'Mačkić', + 'Mačužić', + 'Mašić', + 'Medić', + 'Medurić', + 'Mektić', + 'Mesulić', + 'Mijalčić', + 'Mijanić', + 'Mijačić', + 'Mijić', + 'Mijucić', + 'Mikarić', + 'Mikelić', + 'Miketić', + 'Mikić', + 'Mikičić', + 'Mikonjić', + 'Mikulić', + 'Miladić', + 'Milakić', + 'Milačić', + 'Milekić', + 'Milenić', + 'Miletić', + 'Mileusnić', + 'Milešić', + 'Milijić', + 'Milikić', + 'Milikšić', + 'Milinić', + 'Milinčić', + 'Milisavić', + 'Miličić', + 'Milić', + 'Milišić', + 'Milkić', + 'Miloičić', + 'Milojić', + 'Milojičić', + 'Milojkić', + 'Milojčić', + 'Milotić', + 'Milunić', + 'Milušić', + 'Milčić', + 'Miljanić', + 'Mindić', + 'Minić', + 'Minčić', + 'Miovčić', + 'Miodanić', + 'Mionić', + 'Miražić', + 'Mirić', + 'Mirjanić', + 'Mirkić', + 'Mirosavić', + 'Mirčetić', + 'Mirčić', + 'Misojčić', + 'Mitić', + 'Mitranić', + 'Mitrekanić', + 'Mitrić', + 'Mitrušić', + 'Mićić', + 'Mihaljčić', + 'Miholjčić', + 'Mišeljić', + 'Mišić', + 'Miškić', + 'Mišurić', + 'Mladić', + 'Mladžić', + 'Mojsić', + 'Mokrić', + 'Momić', + 'Moračić', + 'Moretić', + 'Morokvašić', + 'Motičić', + 'Mrakić', + 'Mračić', + 'Mrdić', + 'Mrkić', + 'Mrkonjić', + 'Mrkušić', + 'Mrkšić', + 'Mudrinić', + 'Mudrić', + 'Munišić', + 'Murganić', + 'Mutavdžić', + 'Mutibarić', + 'Mučibabić', + 'Mušikić', + 'Navalušić', + 'Nagradić', + 'Nagulić', + 'Nadaškić', + 'Najdić', + 'Najkić', + 'Nakalamić', + 'Nakić', + 'Narančić', + 'Narandžić', + 'Nastasić', + 'Nastić', + 'Nebrigić', + 'Nevajdić', + 'Nevenić', + 'Negoicić', + 'Nedinić', + 'Nedić', + 'Nekić', + 'Nemanjić', + 'Nenadić', + 'Nenić', + 'Neoričić', + 'Nešić', + 'Nikezić', + 'Niketić', + 'Nikitić', + 'Nikoletić', + 'Nikolešić', + 'Nikolić', + 'Nikolčić', + 'Nikšić', + 'Ninić', + 'Ninčić', + 'Ničić', + 'Nišavić', + 'Nišić', + 'Novalušić', + 'Novarlić', + 'Novačikić', + 'Nović', + 'Novičić', + 'Novčić', + 'Nožinić', + 'Nojkić', + 'Njegić', + 'Njegrić', + 'Nježić', + 'Obrenić', + 'Odavić', + 'Ozimić', + 'Ojdanić', + 'Ojkić', + 'Oketić', + 'Okolić', + 'Okulić', + 'Olarić', + 'Olić', + 'Olujić', + 'Oljačić', + 'Opalić', + 'Oparušić', + 'Opačić', + 'Oprikić', + 'Oprić', + 'Opricić', + 'Oraovčić', + 'Orlandić', + 'Orlić', + 'Osmajlić', + 'Ostojić', + 'Ocokoljić', + 'Odžić', + 'Pavić', + 'Pavičić', + 'Pavlekić', + 'Pavličić', + 'Pavčić', + 'Padić', + 'Pajagić', + 'Pajić', + 'Pajičić', + 'Pajkić', + 'Pajtić', + 'Palalić', + 'Palangetić', + 'Paligorić', + 'Palić', + 'Paninčić', + 'Panić', + 'Panišić', + 'Pantelić', + 'Pantić', + 'Pančić', + 'Pandžić', + 'Papić', + 'Paprić', + 'Papulić', + 'Paramentić', + 'Paraušić', + 'Parivodić', + 'Parlić', + 'Parojčić', + 'Patrnogić', + 'Paunić', + 'Pašić', + 'Pejić', + 'Pejičić', + 'Pejušić', + 'Pejčić', + 'Pelagić', + 'Pendić', + 'Penezić', + 'Penčić', + 'Pepić', + 'Perenić', + 'Perić', + 'Peričić', + 'Perišić', + 'Perjaničić', + 'Perkić', + 'Perotić', + 'Peruničić', + 'Perčić', + 'Petkanić', + 'Petrikić', + 'Petrić', + 'Petričić', + 'Petronić', + 'Petrušić', + 'Peulić', + 'Pecić', + 'Pečeničić', + 'Pešić', + 'Pikić', + 'Pilindavić', + 'Piljagić', + 'Piperčić', + 'Pirivatrić', + 'Pirić', + 'Pisarić', + 'Pitulić', + 'Pjanić', + 'Pjević', + 'Plavić', + 'Plavkić', + 'Plavljanić', + 'Plavšić', + 'Plazinić', + 'Planinčić', + 'Planić', + 'Platanić', + 'Plačić', + 'Plemić', + 'Pleskonjić', + 'Plećić', + 'Plintić', + 'Plisnić', + 'Ploskić', + 'Pločić', + 'Pljakić', + 'Pljevaljčić', + 'Pobulić', + 'Podinić', + 'Podraščić', + 'Podrić', + 'Poznanić', + 'Poznić', + 'Pojkić', + 'Polić', + 'Polomčić', + 'Polugić', + 'Ponjavić', + 'Pop Lazić', + 'Popadić', + 'Poparić', + 'Popčić', + 'Potrebić', + 'Poštić', + 'Pravdić', + 'Pražić', + 'Predić', + 'Prekić', + 'Prelić', + 'Prendić', + 'Prešić', + 'Pržić', + 'Pribić', + 'Pribišić', + 'Prigodić', + 'Prijić', + 'Prikić', + 'Prišić', + 'Prodanić', + 'Prokić', + 'Prokopić', + 'Prolić', + 'Protić', + 'Prošić', + 'Pruginić', + 'Prunić', + 'Pršendić', + 'Pualić', + 'Puvalić', + 'Puvačić', + 'Pudarić', + 'Punišić', + 'Purešić', + 'Purić', + 'Purišić', + 'Puslojić', + 'Pušeljić', + 'Ravilić', + 'Radančić', + 'Radeljić', + 'Radetić', + 'Radešić', + 'Radivojšić', + 'Radikić', + 'Radisavić', + 'Radić', + 'Radičić', + 'Radišić', + 'Radnić', + 'Radoičić', + 'Radojičić', + 'Radojkić', + 'Radojčić', + 'Radonić', + 'Radonjić', + 'Radosavkić', + 'Radotić', + 'Radukić', + 'Radulić', + 'Raduljčić', + 'Raducić', + 'Radušić', + 'Razumenić', + 'Railić', + 'Raičić', + 'Rajačić', + 'Rajić', + 'Rajičić', + 'Rajlić', + 'Rajčetić', + 'Rajčić', + 'Rajšić', + 'Rakezić', + 'Raketić', + 'Rakinić', + 'Rakitić', + 'Rakić', + 'Rakonić', + 'Raletić', + 'Ralić', + 'Raljić', + 'Ramić', + 'Ranđić', + 'Ranisavić', + 'Rankić', + 'Rančić', + 'Raonić', + 'Rapaić', + 'Rapajić', + 'Rasulić', + 'Ratkelić', + 'Raulić', + 'Racić', + 'Račić', + 'Rašetić', + 'Rašić', + 'Rašljić', + 'Regodić', + 'Regulić', + 'Rekalić', + 'Reljić', + 'Remetić', + 'Rendulić', + 'Repašić', + 'Resimić', + 'Redžić', + 'Ribarić', + 'Riboškić', + 'Riđošić', + 'Riznić', + 'Rinčić', + 'Risimić', + 'Ristanić', + 'Ristić', + 'Rmandić', + 'Rnić', + 'Rogić', + 'Roglić', + 'Rogonjić', + 'Rogulić', + 'Rodić', + 'Rozgić', + 'Rokvić', + 'Roknić', + 'Roksandić', + 'Roksić', + 'Roljić', + 'Romanić', + 'Romić', + 'Rosić', + 'Roškić', + 'Ruvidić', + 'Rudić', + 'Rudonjić', + 'Ružić', + 'Ružičić', + 'Ružojčić', + 'Rumenić', + 'Rundić', + 'Runjajić', + 'Rusalić', + 'Rutešić', + 'Rutonić', + 'Ruškić', + 'Sabljić', + 'Savandić', + 'Savatić', + 'Savelić', + 'Saveljić', + 'Savić', + 'Savičić', + 'Savkić', + 'Savurdić', + 'Savčić', + 'Salatić', + 'Samardžić', + 'Sandić', + 'Sapardić', + 'Saramandić', + 'Sarić', + 'Satarić', + 'Svetličić', + 'Svilarić', + 'Svojić', + 'Sekanić', + 'Sekulić', + 'Selenić', + 'Sendrić', + 'Senić', + 'Seničić', + 'Sentić', + 'Setenčić', + 'Sibinkić', + 'Sibinčić', + 'Sikimić', + 'Simanić', + 'Simendić', + 'Simetić', + 'Simić', + 'Simurdić', + 'Sinđelić', + 'Sinđić', + 'Sinkić', + 'Sitničić', + 'Sjeničić', + 'Skakić', + 'Skelić', + 'Skendžić', + 'Skerlić', + 'Skokić', + 'Skočajić', + 'Skočić', + 'Skrobić', + 'Skulić', + 'Slavić', + 'Slavnić', + 'Sladić', + 'Slović', + 'Smilić', + 'Smiljanić', + 'Smiljić', + 'Smiljkić', + 'Smoljanić', + 'Smrekić', + 'Sovrlić', + 'Sovtić', + 'Sojkić', + 'Sokić', + 'Soknić', + 'Soldatić', + 'Sorajić', + 'Soskić', + 'Sofijanić', + 'Sofranić', + 'Sofrenić', + 'Sofronić', + 'Spaić', + 'Spakić', + 'Sparić', + 'Spasenić', + 'Spasić', + 'Spenčić', + 'Sperlić', + 'Spirić', + 'Spremić', + 'Spužić', + 'Sredić', + 'Sretić', + 'Stavrić', + 'Stajić', + 'Stajkić', + 'Stajčić', + 'Stajšić', + 'Stakić', + 'Stakušić', + 'Stamatić', + 'Stambolić', + 'Stamenić', + 'Stamenčić', + 'Stanarčić', + 'Stanetić', + 'Stanikić', + 'Stanisavić', + 'Stanić', + 'Staničić', + 'Stanišić', + 'Stankić', + 'Stanovčić', + 'Stanojčić', + 'Stanušić', + 'Stančetić', + 'Stančić', + 'Stašić', + 'Stevandić', + 'Stevanetić', + 'Stevanić', + 'Stevelić', + 'Stević', + 'Stevčić', + 'Stegić', + 'Stegnjaić', + 'Stegnjajić', + 'Stekić', + 'Steljić', + 'Stepandić', + 'Stepanić', + 'Stepić', + 'Stijačić', + 'Stijepić', + 'Stikić', + 'Stjepić', + 'Stožinić', + 'Stojanić', + 'Stojankić', + 'Stojančić', + 'Stojačić', + 'Stojić', + 'Stojičić', + 'Stojkić', + 'Stojnić', + 'Stojčić', + 'Stojšić', + 'Stokanić', + 'Stokić', + 'Stolić', + 'Stoparić', + 'Stopić', + 'Stošić', + 'Strajnić', + 'Strahinić', + 'Strahinjić', + 'Strinić', + 'Subotić', + 'Suvajdžić', + 'Sumenić', + 'Sunarić', + 'Surlić', + 'Suručić', + 'Tadić', + 'Tajsić', + 'Tamindžić', + 'Tanasić', + 'Tanić', + 'Tankosić', + 'Tančić', + 'Tarabić', + 'Tasić', + 'Tatišić', + 'Tvrdišić', + 'Teodosić', + 'Tepić', + 'Tepšić', + 'Terzić', + 'Teslić', + 'Tešanić', + 'Tešankić', + 'Tešendić', + 'Tešinić', + 'Tešić', + 'Tijanić', + 'Timilić', + 'Timotić', + 'Tirić', + 'Tirnanić', + 'Tmušić', + 'Tovarišić', + 'Todić', + 'Todorić', + 'Todosić', + 'Tojić', + 'Tokalić', + 'Toljagić', + 'Tomanić', + 'Tomecić', + 'Tominčić', + 'Tomić', + 'Tomičić', + 'Tomonjić', + 'Tomčić', + 'Tontić', + 'Tončić', + 'Topić', + 'Topličić', + 'Topolić', + 'Toskić', + 'Tošanić', + 'Tošić', + 'Travorić', + 'Traparić', + 'Trenčić', + 'Trivalić', + 'Trivić', + 'Trivunić', + 'Trivunčić', + 'Trijić', + 'Trikić', + 'Trindić', + 'Tripić', + 'Trifunjagić', + 'Trišić', + 'Trmčić', + 'Trninić', + 'Trnić', + 'Trošić', + 'Trubajić', + 'Trudić', + 'Trujić', + 'Trujkić', + 'Tubonjić', + 'Tukelić', + 'Tumarić', + 'Tupajić', + 'Turajlić', + 'Turnić', + 'Turudić', + 'Turunčić', + 'Tutić', + 'Tutorić', + 'Tutulić', + 'Tufegdžić', + 'Tucić', + 'Ćajić', + 'Ćalić', + 'Ćatić', + 'Ćebić', + 'Ćelić', + 'Ćeranić', + 'Ćipranić', + 'Ćirić', + 'Ćirjanić', + 'Ćojbašić', + 'Ćopić', + 'Ćorić', + 'Ćosić', + 'Ćuić', + 'Ćujić', + 'Ćupić', + 'Ćurdić', + 'Ćurić', + 'Ćurčić', + 'Ćušić', + 'Ubavić', + 'Ubavkić', + 'Uvalić', + 'Uverić', + 'Uglješić', + 'Ugrinić', + 'Ugrinčić', + 'Ugričić', + 'Udovičić', + 'Udovčić', + 'Umeljić', + 'Umetić', + 'Umiljendić', + 'Uršikić', + 'Ustić', + 'Utvić', + 'Ušendić', + 'Farkić', + 'Fatić', + 'Femić', + 'Filipić', + 'Fotirić', + 'Fotić', + 'Frtunić', + 'Hadži Antić', + 'Hadži Jovančić', + 'Hadži Nikolić', + 'Hadži Ristić', + 'Hadži Tančić', + 'Hadžić', + 'Hinić', + 'Hristić', + 'Cajić', + 'Cakić', + 'Carić', + 'Caričić', + 'Cvejić', + 'Cvetić', + 'Cvijetić', + 'Cvijić', + 'Cvikić', + 'Cvišić', + 'Cenić', + 'Cenkić', + 'Civišić', + 'Civrić', + 'Ciglić', + 'Ciklušić', + 'Cicvarić', + 'Cmiljanić', + 'Cmolić', + 'Conić', + 'Crnovčić', + 'Cukanić', + 'Cukić', + 'Cuparić', + 'Čabrić', + 'Čavić', + 'Čajić', + 'Čalenić', + 'Čalić', + 'Čamagić', + 'Čantrić', + 'Čaprnjić', + 'Čarapić', + 'Čarnić', + 'Čvokić', + 'Čvorić', + 'Čeleketić', + 'Čemerikić', + 'Čečarić', + 'Čivčić', + 'Čikarić', + 'Čikić', + 'Čiplić', + 'Čipčić', + 'Čičić', + 'Čkovrić', + 'Čobelić', + 'Čobeljić', + 'Čović', + 'Čojić', + 'Čojčić', + 'Čolanić', + 'Čolić', + 'Čomić', + 'Čonkić', + 'Čonjagić', + 'Čorbić', + 'Čotrić', + 'Čočurić', + 'Čubrić', + 'Čudić', + 'Čukarić', + 'Čukić', + 'Čumić', + 'Čupeljić', + 'Čuperkić', + 'Čupić', + 'Čuturić', + 'Džavrić', + 'Džajić', + 'Džambić', + 'Džadžić', + 'Dželebdžić', + 'Džikić', + 'Džinić', + 'Džodić', + 'Džombić', + 'Džomić', + 'Džonić', + 'Šakić', + 'Šakotić', + 'Šalinić', + 'Šamatić', + 'Šantić', + 'Šapić', + 'Šaponić', + 'Šaponjić', + 'Šapurić', + 'Šarančić', + 'Šarić', + 'Šarkić', + 'Šaronjić', + 'Šašić', + 'Švabić', + 'Ševarlić', + 'Šević', + 'Ševkušić', + 'Šestić', + 'Šibalić', + 'Šijakinjić', + 'Šijačić', + 'Šikanić', + 'Šikanjić', + 'Šimšić', + 'Šipetić', + 'Šišić', + 'Škobić', + 'Škodrić', + 'Škondrić', + 'Škorić', + 'Škrbić', + 'Škrebić', + 'Škulić', + 'Škundrić', + 'Šljapić', + 'Šljivić', + 'Šljukić', + 'Šmigić', + 'Šobajić', + 'Šobačić', + 'Šorgić', + 'Šoškić', + 'Špirić', + 'Štakić', + 'Štulić', + 'Šubakić', + 'Šubarić', + 'Šubić', + 'Šuleić', + 'Šulejić', + 'Šuletić', + 'Šulkić', + 'Šuluburić', + 'Šuljagić', + 'Šumatić', + 'Šunderić', + 'Šunkić', + 'Šunjevarić', + 'Šutuljić', + 'Šušić', + 'Šušulić', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Address.php index 849357c..2bd9378 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Address.php @@ -2,57 +2,334 @@ namespace Faker\Provider\sr_RS; -class Address extends \Faker\Provider\Address -{ - protected static $postcode = ['#####']; - - protected static $streetPrefix = [ - 'Булевар', - ]; - - protected static $street = [ - 'Краља Милана', 'Цара Душана', 'Николе Тесле', 'Михајла Пупина', 'Николе Пашића', - ]; - - protected static $streetNameFormats = [ - '{{street}}', - '{{streetPrefix}} {{street}}', - ]; - - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - /** - * @see http://sr.wikipedia.org/wiki/%D0%93%D1%80%D0%B0%D0%B4%D0%BE%D0%B2%D0%B8_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 - */ - protected static $cityNames = [ - 'Београд', 'Ваљево', 'Врање', 'Зајечар', 'Зрењанин', 'Јагодина', 'Крагујевац', 'Краљево', 'Крушевац', 'Лесковац', 'Лозница', 'Ниш', 'Нови Пазар', 'Нови Сад', 'Панчево', 'Пожаревац', 'Приштина', 'Смедерево', 'Сомбор', 'Сремска Митровица', 'Суботица', 'Ужице', 'Чачак', 'Шабац', - ]; - - /** - * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Cyrl/country.php - */ - protected static $country = [ - 'Острво Асенсион', 'Андора', 'Уједињени Арапски Емирати', 'Авганистан', 'Антигве и Барбуда', 'Ангвила', 'Албанија', 'Арменија', 'Холандски Антили', 'Ангола', 'Антарктик', 'Аргентина', 'Америчка Самоа', 'Аустрија', 'Аустралија', 'Аруба', 'Аландска острва', 'Азербејџан', 'Босна и Херцеговина', 'Барбадос', 'Бангладеш', 'Белгија', 'Буркина Фасо', 'Бугарска', 'Бахреин', 'Бурунди', 'Бенин', 'Свети Бартоломеј', 'Бермуда', 'Брунеј', 'Боливија', 'Бразил', 'Бахами', 'Бутан', 'Буве Острва', 'Боцвана', 'Белорусија', 'Белизе', 'Канада', 'Кокос (Келинг) Острва', 'Конго - Киншаса', 'Централно Афричка Република', 'Конго - Бразавил', 'Швајцарска', 'Обала Слоноваче', 'Кукова Острва', 'Чиле', 'Камерун', 'Кина', 'Колумбија', 'Острво Клипертон', 'Костарика', 'Србија и Црна Гора', 'Куба', 'Капе Верде', 'Божићна острва', 'Кипар', 'Чешка', 'Немачка', 'Дијего Гарсија', 'Џибути', 'Данска', 'Доминика', 'Доминиканска Република', 'Алжир', 'Сеута и Мелиља', 'Еквадор', 'Естонија', 'Египат', 'Западна Сахара', 'Еритреја', 'Шпанија', 'Етиопија', 'Европска Унија', 'Финска', 'Фиџи', 'Фолкландска Острва', 'Микронезија', 'Фарска Острва', 'Француска', 'Габон', 'Велика Британија', 'Гренада', 'Грузија', 'Француска Гвајана', 'Гурнси', 'Гана', 'Гибралтар', 'Гренланд', 'Гамбија', 'Гвинеја', 'Гваделупе', 'Екваторијална Гвинеја', 'Грчка', 'Јужна Џорџија и Јужна Сендвич Острва', 'Гватемала', 'Гуам', 'Гвинеја-Бисао', 'Гвајана', 'Хонг Конг С. А. Р. Кина', 'Херд и Мекдоналд Острва', 'Хондурас', 'Хрватска', 'Хаити', 'Мађарска', 'Канарска острва', 'Индонезија', 'Ирска', 'Израел', 'Острво Ман', 'Индија', 'Британска територија у Индијском океану', 'Ирак', 'Иран', 'Исланд', 'Италија', 'Џерси', 'Јамајка', 'Јордан', 'Јапан', 'Кенија', 'Киргизстан', 'Камбоџа', 'Кирибати', 'Коморска Острва', 'Сент Китс и Невис', 'Северна Кореја', 'Јужна Кореја', 'Кувајт', 'Кајманска Острва', 'Казахстан', 'Лаос', 'Либан', 'Сент Луција', 'Лихтенштајн', 'Шри Ланка', 'Либерија', 'Лесото', 'Литванија', 'Луксембург', 'Летонија', 'Либија', 'Мароко', 'Монако', 'Молдавија', 'Црна Гора', 'Сент Мартин', 'Мадагаскар', 'Маршалска Острва', 'Македонија', 'Мали', 'Мијанмар [Бурма]', 'Монголија', 'Макао С. А. Р. Кина', 'Северна Маријанска Острва', 'Мартиник', 'Мауританија', 'Монсерат', 'Малта', 'Маурицијус', 'Малдиви', 'Малави', 'Мексико', 'Малезија', 'Мозамбик', 'Намибија', 'Нова Каледонија', 'Нигер', 'Норфолк Острво', 'Нигерија', 'Никарагва', 'Холандија', 'Норвешка', 'Непал', 'Науру', 'Ниуе', 'Нови Зеланд', 'Оман', 'Панама', 'Перу', 'Француска Полинезија', 'Папуа Нова Гвинеја', 'Филипини', 'Пакистан', 'Пољска', 'Сен Пјер и Микелон', 'Питкерн', 'Порто Рико', 'Палестинске територије', 'Португал', 'Палау', 'Парагвај', 'Катар', 'Остала океанија', 'Реинион', 'Румунија', 'Србија', 'Русија', 'Руанда', 'Саудијска Арабија', 'Соломонска Острва', 'Сејшели', 'Судан', 'Шведска', 'Сингапур', 'Света Јелена', 'Словенија', 'Свалбард и Јанмајен Острва', 'Словачка', 'Сијера Леоне', 'Сан Марино', 'Сенегал', 'Сомалија', 'Суринам', 'Сао Томе и Принципе', 'Салвадор', 'Сирија', 'Свазиленд', 'Тристан да Куња', 'Туркс и Кајкос Острва', 'Чад', 'Француске Јужне Територије', 'Того', 'Тајланд', 'Таџикистан', 'Токелау', 'Источни Тимор', 'Туркменистан', 'Тунис', 'Тонга', 'Турска', 'Тринидад и Тобаго', 'Тувалу', 'Тајван', 'Танзанија', 'Украјина', 'Уганда', 'Мања удаљена острва САД', 'Сједињене Америчке Државе', 'Уругвај', 'Узбекистан', 'Ватикан', 'Сент Винсент и Гренадини', 'Венецуела', 'Британска Девичанска Острва', 'С.А.Д. Девичанска Острва', 'Вијетнам', 'Вануату', 'Валис и Футуна Острва', 'Самоа', 'Јемен', 'Мајоте', 'Јужноафричка Република', 'Замбија', 'Зимбабве', - ]; - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - public static function street() - { - return static::randomElement(static::$street); - } - - public function cityName() - { - return static::randomElement(static::$cityNames); - } +class Address extends \Faker\Provider\Address { + protected static $postcode = [ '#####' ]; + + protected static $streetPrefix = [ + 'Булевар', + ]; + + protected static $street = [ + 'Краља Милана', + 'Цара Душана', + 'Николе Тесле', + 'Михајла Пупина', + 'Николе Пашића', + ]; + + protected static $streetNameFormats = [ + '{{street}}', + '{{streetPrefix}} {{street}}', + ]; + + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + /** + * @see http://sr.wikipedia.org/wiki/%D0%93%D1%80%D0%B0%D0%B4%D0%BE%D0%B2%D0%B8_%D1%83_%D0%A1%D1%80%D0%B1%D0%B8%D1%98%D0%B8 + */ + protected static $cityNames = [ + 'Београд', + 'Ваљево', + 'Врање', + 'Зајечар', + 'Зрењанин', + 'Јагодина', + 'Крагујевац', + 'Краљево', + 'Крушевац', + 'Лесковац', + 'Лозница', + 'Ниш', + 'Нови Пазар', + 'Нови Сад', + 'Панчево', + 'Пожаревац', + 'Приштина', + 'Смедерево', + 'Сомбор', + 'Сремска Митровица', + 'Суботица', + 'Ужице', + 'Чачак', + 'Шабац', + ]; + + /** + * @see https://github.com/umpirsky/country-list/blob/master/country/cldr/sr_Cyrl/country.php + */ + protected static $country = [ + 'Острво Асенсион', + 'Андора', + 'Уједињени Арапски Емирати', + 'Авганистан', + 'Антигве и Барбуда', + 'Ангвила', + 'Албанија', + 'Арменија', + 'Холандски Антили', + 'Ангола', + 'Антарктик', + 'Аргентина', + 'Америчка Самоа', + 'Аустрија', + 'Аустралија', + 'Аруба', + 'Аландска острва', + 'Азербејџан', + 'Босна и Херцеговина', + 'Барбадос', + 'Бангладеш', + 'Белгија', + 'Буркина Фасо', + 'Бугарска', + 'Бахреин', + 'Бурунди', + 'Бенин', + 'Свети Бартоломеј', + 'Бермуда', + 'Брунеј', + 'Боливија', + 'Бразил', + 'Бахами', + 'Бутан', + 'Буве Острва', + 'Боцвана', + 'Белорусија', + 'Белизе', + 'Канада', + 'Кокос (Келинг) Острва', + 'Конго - Киншаса', + 'Централно Афричка Република', + 'Конго - Бразавил', + 'Швајцарска', + 'Обала Слоноваче', + 'Кукова Острва', + 'Чиле', + 'Камерун', + 'Кина', + 'Колумбија', + 'Острво Клипертон', + 'Костарика', + 'Србија и Црна Гора', + 'Куба', + 'Капе Верде', + 'Божићна острва', + 'Кипар', + 'Чешка', + 'Немачка', + 'Дијего Гарсија', + 'Џибути', + 'Данска', + 'Доминика', + 'Доминиканска Република', + 'Алжир', + 'Сеута и Мелиља', + 'Еквадор', + 'Естонија', + 'Египат', + 'Западна Сахара', + 'Еритреја', + 'Шпанија', + 'Етиопија', + 'Европска Унија', + 'Финска', + 'Фиџи', + 'Фолкландска Острва', + 'Микронезија', + 'Фарска Острва', + 'Француска', + 'Габон', + 'Велика Британија', + 'Гренада', + 'Грузија', + 'Француска Гвајана', + 'Гурнси', + 'Гана', + 'Гибралтар', + 'Гренланд', + 'Гамбија', + 'Гвинеја', + 'Гваделупе', + 'Екваторијална Гвинеја', + 'Грчка', + 'Јужна Џорџија и Јужна Сендвич Острва', + 'Гватемала', + 'Гуам', + 'Гвинеја-Бисао', + 'Гвајана', + 'Хонг Конг С. А. Р. Кина', + 'Херд и Мекдоналд Острва', + 'Хондурас', + 'Хрватска', + 'Хаити', + 'Мађарска', + 'Канарска острва', + 'Индонезија', + 'Ирска', + 'Израел', + 'Острво Ман', + 'Индија', + 'Британска територија у Индијском океану', + 'Ирак', + 'Иран', + 'Исланд', + 'Италија', + 'Џерси', + 'Јамајка', + 'Јордан', + 'Јапан', + 'Кенија', + 'Киргизстан', + 'Камбоџа', + 'Кирибати', + 'Коморска Острва', + 'Сент Китс и Невис', + 'Северна Кореја', + 'Јужна Кореја', + 'Кувајт', + 'Кајманска Острва', + 'Казахстан', + 'Лаос', + 'Либан', + 'Сент Луција', + 'Лихтенштајн', + 'Шри Ланка', + 'Либерија', + 'Лесото', + 'Литванија', + 'Луксембург', + 'Летонија', + 'Либија', + 'Мароко', + 'Монако', + 'Молдавија', + 'Црна Гора', + 'Сент Мартин', + 'Мадагаскар', + 'Маршалска Острва', + 'Македонија', + 'Мали', + 'Мијанмар [Бурма]', + 'Монголија', + 'Макао С. А. Р. Кина', + 'Северна Маријанска Острва', + 'Мартиник', + 'Мауританија', + 'Монсерат', + 'Малта', + 'Маурицијус', + 'Малдиви', + 'Малави', + 'Мексико', + 'Малезија', + 'Мозамбик', + 'Намибија', + 'Нова Каледонија', + 'Нигер', + 'Норфолк Острво', + 'Нигерија', + 'Никарагва', + 'Холандија', + 'Норвешка', + 'Непал', + 'Науру', + 'Ниуе', + 'Нови Зеланд', + 'Оман', + 'Панама', + 'Перу', + 'Француска Полинезија', + 'Папуа Нова Гвинеја', + 'Филипини', + 'Пакистан', + 'Пољска', + 'Сен Пјер и Микелон', + 'Питкерн', + 'Порто Рико', + 'Палестинске територије', + 'Португал', + 'Палау', + 'Парагвај', + 'Катар', + 'Остала океанија', + 'Реинион', + 'Румунија', + 'Србија', + 'Русија', + 'Руанда', + 'Саудијска Арабија', + 'Соломонска Острва', + 'Сејшели', + 'Судан', + 'Шведска', + 'Сингапур', + 'Света Јелена', + 'Словенија', + 'Свалбард и Јанмајен Острва', + 'Словачка', + 'Сијера Леоне', + 'Сан Марино', + 'Сенегал', + 'Сомалија', + 'Суринам', + 'Сао Томе и Принципе', + 'Салвадор', + 'Сирија', + 'Свазиленд', + 'Тристан да Куња', + 'Туркс и Кајкос Острва', + 'Чад', + 'Француске Јужне Територије', + 'Того', + 'Тајланд', + 'Таџикистан', + 'Токелау', + 'Источни Тимор', + 'Туркменистан', + 'Тунис', + 'Тонга', + 'Турска', + 'Тринидад и Тобаго', + 'Тувалу', + 'Тајван', + 'Танзанија', + 'Украјина', + 'Уганда', + 'Мања удаљена острва САД', + 'Сједињене Америчке Државе', + 'Уругвај', + 'Узбекистан', + 'Ватикан', + 'Сент Винсент и Гренадини', + 'Венецуела', + 'Британска Девичанска Острва', + 'С.А.Д. Девичанска Острва', + 'Вијетнам', + 'Вануату', + 'Валис и Футуна Острва', + 'Самоа', + 'Јемен', + 'Мајоте', + 'Јужноафричка Република', + 'Замбија', + 'Зимбабве', + ]; + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + public static function street() { + return static::randomElement( static::$street ); + } + + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Payment.php index b4332e2..e5ad4fa 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sr_RS; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'RS', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Person.php index 558ef42..50e4e68 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sr_RS/Person.php @@ -2,142 +2,3274 @@ namespace Faker\Provider\sr_RS; -class Person extends \Faker\Provider\Person -{ - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 - */ - protected static $firstNameMale = [ - 'Александар', 'Бобан', 'Бранислав', 'Владимир', 'Владислав', 'Горан', 'Далибор', 'Данило', 'Дејан', 'Драган', 'Душан', - 'Живко', 'Зоран', 'Иван', 'Иво', 'Константин', 'Лука', 'Максим', 'Мартин', 'Милан', 'Милко', 'Милош', 'Мирослав', 'Миша', - 'Раде', 'Саша', 'Слободан', 'Срђан', 'Станислав', 'Филип', 'Ђенадије', 'Ђоко', 'Ђорђе', 'Ђорђије', 'Ђорђо', 'Ђукан', - 'Ђура', 'Ђурашин', 'Ђурађ', 'Ђурисав', 'Ђурица', 'Ђурко', 'Ђуро', 'Ђурђе', 'Јаблан', 'Јаворко', 'Јагош', 'Јадранко', - 'Јаков', 'Јакша', 'Јандре', 'Јандрија', 'Јанићије', 'Јанко', 'Јанча', 'Јарослав', 'Јасен', 'Јасенко', 'Јеврем', 'Јевта', - 'Јевтан', 'Јевтимије', 'Јевто', 'Језда', 'Јездимир', 'Јелашин', 'Јелен', 'Јеленко', 'Јелисије', 'Јеремија', 'Јерко', - 'Јеротије', 'Јеша', 'Јова', 'Јован', 'Јовица', 'Јовиша', 'Јовко', 'Јово', 'Јоко', 'Јоксим', 'Јордан', 'Јосиф', 'Југомир', - 'Југослав', 'Југољуб', 'Јулијан', 'Јуноша', 'Јуриша', 'Јустин', 'Љиљан', 'Љубан', 'Љубен', 'Љубенко', 'Љубивоје', - 'Љубинко', 'Љубисав', 'Љубислав', 'Љубиша', 'Љубо', 'Љубобрат', 'Љубодраг', 'Љубомир', 'Љубоја', 'Љубоје', 'Његомир', - 'Његош', 'Ћира', 'Ћирило', 'Ћирко', 'Ћиро', 'Ћирјак', 'Авакум', 'Аврам', 'Адам', 'Аксентије', 'Алекса', 'Александрон', - 'Алексеј', 'Алексије', 'Алимпије', 'Андреј', 'Андреја', 'Андрија', 'Андријаш', 'Антоније', 'Анђелко', 'Аранђел', 'Арса', - 'Арсен', 'Арсеније', 'Арсо', 'Атанасије', 'Атанацко', 'Аћим', 'Балша', 'Бане', 'Батрић', 'Бајко', 'Бајо', 'Бајчета', - 'Берисав', 'Берислав', 'Бериша', 'Берко', 'Бисерко', 'Биљан', 'Благомир', 'Благота', 'Благојa', 'Благоје', 'Блажа', - 'Блажен', 'Блажо', 'Блашко', 'Богдан', 'Богељ', 'Богиша', 'Богић', 'Богобој', 'Богосав', 'Богослав', 'Богоје', 'Богољуб', - 'Божа', 'Божидар', 'Божин', 'Божићко', 'Божо', 'Боин', 'Боица', 'Бора', 'Боривој', 'Боривоје', 'Борис', 'Борисав', - 'Борислав', 'Бориша', 'Борко', 'Боро', 'Бороје', 'Бошко', 'Бојан', 'Бојко', 'Бојо', 'Бојчета', 'Бранивој', 'Бранивоје', - 'Бранимир', 'Братован', 'Братољуб', 'Брајан', 'Брајица', 'Брнча', 'Будимир', 'Бранко', 'Брано', 'Братимир', 'Братислав', - 'Будисав', 'Будислав', 'Васа', 'Василије', 'Васиљ', 'Васко', 'Васкрсије', 'Васо', 'Васоје', 'Вајо', 'Векослав', 'Велибор', - 'Велизар', 'Велимир', 'Величко', 'Велиша', 'Веран', 'Велисав', 'Верољуб', 'Веселин', 'Веско', 'Вељко', 'Вид', 'Видак', - 'Видан', 'Видач', 'Виден', 'Видосав', 'Видоја', 'Видоје', 'Видојко', 'Виктор', 'Вилотије', 'Витко', 'Витомир', 'Вишеслав', - 'Вићан', 'Вићентије', 'Владан', 'Владе', 'Владета', 'Владисав', 'Владица', 'Владо', 'Владоје', 'Владун', 'Влаислав', - 'Власије', 'Власта', 'Властимир', 'Влатко', 'Влашко', 'Влајко', 'Воица', 'Војдраг', 'Војимир', 'Војин', 'Војислав', - 'Војкан', 'Војко', 'Вранеш', 'Вугдраг', 'Вузман', 'Вуило', 'Вуин', 'Вуица', 'Вук', 'Вукадин', 'Вукало', 'Вукан', 'Вукас', - 'Вукац', 'Вукач', 'Вукашин', 'Вукајло', 'Вукаљ', 'Вукеља', 'Вукић', 'Вукман', 'Вукмир', 'Вукмиљ', 'Вуко', 'Вуковоје', - 'Вукола', 'Вукоман', 'Вукомир', 'Вукосав', 'Вукослав', 'Вукота', 'Вукоје', 'Вукојица', 'Вуксан', 'Вукша', 'Вуле', - 'Вулета', 'Вунко', 'Вуча', 'Вучан', 'Вучен', 'Вучета', 'Вучина', 'Вучић', 'Вучко', 'Вујадин', 'Вујак', 'Вујан', 'Вујета', - 'Вујко', 'Вујо', 'Вујчета', 'Вујчин', 'Вјекослав', 'Гавра', 'Гаврило', 'Гача', 'Гаја', 'Гајин', 'Гајо', 'Гвозден', - 'Гвозденко', 'Генадије', 'Георгије', 'Герасим', 'Герман', 'Глигорије', 'Глиша', 'Глишо', 'Годеч', 'Годомир', 'Голуб', - 'Гордан', 'Горчин', 'Гостимир', 'Гостољуб', 'Гојко', 'Градета', 'Градимир', 'Грубан', 'Грубац', 'Градиша', 'Гргур', - 'Грдан', 'Григорије', 'Гријак', 'Грубач', 'Грубета', 'Грубеша', 'Грубиша', 'Груја', 'Грујица', 'Грујо', 'Дабижив', - 'Дабиша', 'Дабо', 'Давид', 'Дамјан', 'Дамљан', 'Дане', 'Данијел', 'Данко', 'Данчул', 'Дарио', 'Дарије', 'Даријо', - 'Дарко', 'Дарјан', 'Десимир', 'Деспот', 'Димитрије', 'Димчо', 'Дмитар', 'Добрашин', 'Добривој', 'Добривоје', 'Добрило', - 'Добринко', 'Добрица', 'Добровук', 'Добросав', 'Доброслав', 'Доко', 'Доротеј', 'Доситеј', 'Дојчило', 'Дојчин', 'Драгаш', - 'Драгиша', 'Драгић', 'Драго', 'Драгобрат', 'Драгован', 'Драгоман', 'Драгомир', 'Драгорад', 'Драгосав', 'Драгослав', - 'Драгош', 'Драгоје', 'Драгојло', 'Драгољуб', 'Драгутин', 'Дража', 'Дражета', 'Дражо', 'Драило', 'Дракша', 'Драшко', - 'Дубравац', 'Дубравко', 'Дука', 'Дукадин', 'Душко', 'Дујак', 'Евгеније', 'Емил', 'Емилијан', 'Емилије', 'Ерак', - 'Жарко', 'Желимир', 'Жељко', 'Жива', 'Живадин', 'Живан', 'Живанко', 'Живомир', 'Живорад', 'Живота', 'Живојин', - 'Живољуб', 'Жика', 'Жикица', 'Житомир', 'Завида', 'Завиша', 'Звездодраг', 'Звездослав', 'Звонимир', 'Звонко', - 'Звјездан', 'Здравиша', 'Здравко', 'Златан', 'Златибор', 'Златко', 'Златомир', 'Златосав', 'Златоје', 'Зринко', - 'Иваниш', 'Ивица', 'Ивко', 'Игор', 'Игњат', 'Игњатије', 'Илија', 'Исаило', 'Исаија', 'Исак', 'Исидор', 'Кажимир', - 'Казимир', 'Каменко', 'Кипријан', 'Кирило', 'Ковиљко', 'Козма', 'Кокан', 'Комнен', 'Корнелије', 'Коста', 'Костадин', - 'Коча', 'Којадин', 'Којчин', 'Крагуј', 'Красимир', 'Красоје', 'Крајислав', 'Крајчин', 'Крсман', 'Крста', 'Крстан', - 'Крстивоје', 'Крсто', 'Крунислав', 'Кузман', 'Кумодраг', 'Лабуд', 'Лаза', 'Лазар', 'Лазо', 'Лакета', 'Лако', 'Лале', - 'Лежимир', 'Леонида', 'Лепомир', 'Лепослав', 'Лепоје', 'Лозан', 'Луча', 'Лујо', 'Маврен', 'Малета', 'Малеш', - 'Мандуша', 'Мане', 'Манојло', 'Маринко', 'Марко', 'Марјан', 'Матеј', 'Матеја', 'Матија', 'Матијаш', 'Мато', - 'Машан', 'Машко', 'Медак', 'Миладин', 'Милак', 'Миланко', 'Милат', 'Милаш', 'Милашин', 'Миле', 'Милен', 'Миленко', - 'Милентије', 'Милеса', 'Милета', 'Милеш', 'Миливој', 'Миливоје', 'Милин', 'Милинко', 'Милисав', 'Милија', - 'Милијан', 'Милијаш', 'Милић', 'Мило', 'Милован', 'Миломир', 'Милорад', 'Милосав', 'Милоја', 'Милоје', 'Милојица', - 'Милојко', 'Милтен', 'Милун', 'Милутин', 'Милуш', 'Милуша', 'Миодраг', 'Миомир', 'Мирен', 'Мирко', 'Миро', - 'Миросав', 'Мирољуб', 'Мирчета', 'Митар', 'Михаило', 'Михајло', 'Мишко', 'Мишо', 'Мишљен', 'Мија', 'Мијаило', - 'Мијак', 'Мијан', 'Мијат', 'Мијо', 'Мијобрат', 'Мијушко', 'Миљ', 'Миљан', 'Миљен', 'Миљко', 'Миљојко', 'Миљурко', - 'Мића', 'Мићан', 'Мићо', 'Младен', 'Млађан', 'Млађен', 'Момир', 'Момчило', 'Мојсило', 'Мркша', 'Мрђан', 'Мрђен', - 'Наум', 'Најдан', 'Небојша', 'Невен', 'Невенко', 'Негован', 'Негомир', 'Недељко', 'Немања', 'Ненад', 'Нестор', - 'Нешко', 'Неђељко', 'Никашин', 'Никодим', 'Никодије', 'Никола', 'Никша', 'Нинко', 'Нино', 'Нинослав', 'Нићифор', - 'Новак', 'Новица', 'Новиша', 'Новко', 'Ново', 'Обрад', 'Обрадин', 'Обрен', 'Обренко', 'Обретен', 'Огњан', 'Огњен', - 'Озрен', 'Озриша', 'Оливер', 'Остоја', 'Павић', 'Павко', 'Павле', 'Павлић', 'Пантелија', 'Паун', 'Пера', 'Перица', - 'Периша', 'Перо', 'Перун', 'Перунко', 'Петак', 'Петар', 'Петко', 'Петош', 'Петоје', 'Петрашин', 'Петроније', - 'Пејак', 'Пејо', 'Плавша', 'Познан', 'Првослав', 'Предраг', 'Прерад', 'Прибић', 'Продан', 'Прокопије', 'Пунан', - 'Пуниша', 'Пуреш', 'Пурко', 'Пуро', 'Радак', 'Радан', 'Радас', 'Радашин', 'Раден', 'Раденко', 'Радета', 'Радивој', - 'Радивоје', 'Радин', 'Радинко', 'Радисав', 'Радич', 'Радиша', 'Радман', 'Радмило', 'Радобуд', 'Радован', 'Радовац', - 'Радоман', 'Радомир', 'Радосав', 'Радослав', 'Радош', 'Радоја', 'Радоје', 'Радојица', 'Радојко', 'Радојло', 'Радоња', - 'Радука', 'Радукан', 'Радул', 'Радулин', 'Радун', 'Радусин', 'Раин', 'Раица', 'Раич', 'Раичко', 'Рален', 'Ралета', - 'Ранисав', 'Ранко', 'Раосав', 'Растислав', 'Растко', 'Ратибор', 'Ратко', 'Ратомир', 'Рафаило', 'Рацко', 'Рачета', - 'Рашко', 'Рађен', 'Рајак', 'Рајан', 'Рајко', 'Рајчета', 'Рекула', 'Ресан', 'Реља', 'Риста', 'Ристан', 'Ристивоје', - 'Ристо', 'Родољуб', 'Сава', 'Савко', 'Саво', 'Самуило', 'Светибор', 'Светислав', 'Светозар', 'Светолик', 'Светомир', - 'Светорад', 'Светољуб', 'Секула', 'Селак', 'Сима', 'Симеон', 'Симеун', 'Симо', 'Симон', 'Синиша', 'Синђа', 'Синђел', - 'Скоросав', 'Славен', 'Славенко', 'Славиша', 'Славко', 'Славо', 'Славомир', 'Славољуб', 'Славуј', 'Сладоје', 'Слађан', - 'Смиљан', 'Смиљко', 'Смољан', 'Соко', 'Спасоја', 'Спасоје', 'Спиридон', 'Србислав', 'Србослав', 'Србољуб', 'Срдан', - 'Средоја', 'Средоје', 'Сретен', 'Сретко', 'Срећан', 'Срећко', 'Срђа', 'Стаменко', 'Станача', 'Станимир', 'Станисав', - 'Станисава', 'Станиша', 'Станко', 'Станоја', 'Станоје', 'Станојко', 'Станојло', 'Стеван', 'Стевица', 'Стево', 'Степан', - 'Стефан', 'Стоин', 'Стоић', 'Стојадин', 'Стојак', 'Стојан', 'Стојко', 'Стојмен', 'Стојша', 'Страиња', 'Страхиња', - 'Стјепан', 'Тадеј', 'Тадија', 'Танасије', 'Танацко', 'Татомир', 'Твртко', 'Теодор', 'Теодосије', 'Теофил', 'Тешан', - 'Тимотије', 'Тихомир', 'Тодор', 'Тома', 'Томаш', 'Томислав', 'Томица', 'Томо', 'Топлица', 'Трајан', 'Трајко', 'Тривун', - 'Трипко', 'Трипун', 'Трифун', 'Трпко', 'Угљеша', 'Умиљен', 'Урош', 'Утешен', 'Утјешен', 'Хвалимир', 'Хвалислав', - 'Хранимир', 'Хранислав', 'Храниша', 'Храстимир', 'Христијан', 'Христослав', 'Цветин', 'Цветко', 'Цветош', 'Цветоје', - 'Цвејан', 'Цвико', 'Цвијан', 'Цвијета', 'Цвијетин', 'Цвјетко', 'Цвјетош', 'Цвјетоје', 'Цурко', 'Часлав', 'Чедомир', - 'Чубрило', 'Шакота', 'Шале', 'Шуменко', 'Шутан', - ]; +class Person extends \Faker\Provider\Person { + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 + */ + protected static $firstNameMale = [ + 'Александар', + 'Бобан', + 'Бранислав', + 'Владимир', + 'Владислав', + 'Горан', + 'Далибор', + 'Данило', + 'Дејан', + 'Драган', + 'Душан', + 'Живко', + 'Зоран', + 'Иван', + 'Иво', + 'Константин', + 'Лука', + 'Максим', + 'Мартин', + 'Милан', + 'Милко', + 'Милош', + 'Мирослав', + 'Миша', + 'Раде', + 'Саша', + 'Слободан', + 'Срђан', + 'Станислав', + 'Филип', + 'Ђенадије', + 'Ђоко', + 'Ђорђе', + 'Ђорђије', + 'Ђорђо', + 'Ђукан', + 'Ђура', + 'Ђурашин', + 'Ђурађ', + 'Ђурисав', + 'Ђурица', + 'Ђурко', + 'Ђуро', + 'Ђурђе', + 'Јаблан', + 'Јаворко', + 'Јагош', + 'Јадранко', + 'Јаков', + 'Јакша', + 'Јандре', + 'Јандрија', + 'Јанићије', + 'Јанко', + 'Јанча', + 'Јарослав', + 'Јасен', + 'Јасенко', + 'Јеврем', + 'Јевта', + 'Јевтан', + 'Јевтимије', + 'Јевто', + 'Језда', + 'Јездимир', + 'Јелашин', + 'Јелен', + 'Јеленко', + 'Јелисије', + 'Јеремија', + 'Јерко', + 'Јеротије', + 'Јеша', + 'Јова', + 'Јован', + 'Јовица', + 'Јовиша', + 'Јовко', + 'Јово', + 'Јоко', + 'Јоксим', + 'Јордан', + 'Јосиф', + 'Југомир', + 'Југослав', + 'Југољуб', + 'Јулијан', + 'Јуноша', + 'Јуриша', + 'Јустин', + 'Љиљан', + 'Љубан', + 'Љубен', + 'Љубенко', + 'Љубивоје', + 'Љубинко', + 'Љубисав', + 'Љубислав', + 'Љубиша', + 'Љубо', + 'Љубобрат', + 'Љубодраг', + 'Љубомир', + 'Љубоја', + 'Љубоје', + 'Његомир', + 'Његош', + 'Ћира', + 'Ћирило', + 'Ћирко', + 'Ћиро', + 'Ћирјак', + 'Авакум', + 'Аврам', + 'Адам', + 'Аксентије', + 'Алекса', + 'Александрон', + 'Алексеј', + 'Алексије', + 'Алимпије', + 'Андреј', + 'Андреја', + 'Андрија', + 'Андријаш', + 'Антоније', + 'Анђелко', + 'Аранђел', + 'Арса', + 'Арсен', + 'Арсеније', + 'Арсо', + 'Атанасије', + 'Атанацко', + 'Аћим', + 'Балша', + 'Бане', + 'Батрић', + 'Бајко', + 'Бајо', + 'Бајчета', + 'Берисав', + 'Берислав', + 'Бериша', + 'Берко', + 'Бисерко', + 'Биљан', + 'Благомир', + 'Благота', + 'Благојa', + 'Благоје', + 'Блажа', + 'Блажен', + 'Блажо', + 'Блашко', + 'Богдан', + 'Богељ', + 'Богиша', + 'Богић', + 'Богобој', + 'Богосав', + 'Богослав', + 'Богоје', + 'Богољуб', + 'Божа', + 'Божидар', + 'Божин', + 'Божићко', + 'Божо', + 'Боин', + 'Боица', + 'Бора', + 'Боривој', + 'Боривоје', + 'Борис', + 'Борисав', + 'Борислав', + 'Бориша', + 'Борко', + 'Боро', + 'Бороје', + 'Бошко', + 'Бојан', + 'Бојко', + 'Бојо', + 'Бојчета', + 'Бранивој', + 'Бранивоје', + 'Бранимир', + 'Братован', + 'Братољуб', + 'Брајан', + 'Брајица', + 'Брнча', + 'Будимир', + 'Бранко', + 'Брано', + 'Братимир', + 'Братислав', + 'Будисав', + 'Будислав', + 'Васа', + 'Василије', + 'Васиљ', + 'Васко', + 'Васкрсије', + 'Васо', + 'Васоје', + 'Вајо', + 'Векослав', + 'Велибор', + 'Велизар', + 'Велимир', + 'Величко', + 'Велиша', + 'Веран', + 'Велисав', + 'Верољуб', + 'Веселин', + 'Веско', + 'Вељко', + 'Вид', + 'Видак', + 'Видан', + 'Видач', + 'Виден', + 'Видосав', + 'Видоја', + 'Видоје', + 'Видојко', + 'Виктор', + 'Вилотије', + 'Витко', + 'Витомир', + 'Вишеслав', + 'Вићан', + 'Вићентије', + 'Владан', + 'Владе', + 'Владета', + 'Владисав', + 'Владица', + 'Владо', + 'Владоје', + 'Владун', + 'Влаислав', + 'Власије', + 'Власта', + 'Властимир', + 'Влатко', + 'Влашко', + 'Влајко', + 'Воица', + 'Војдраг', + 'Војимир', + 'Војин', + 'Војислав', + 'Војкан', + 'Војко', + 'Вранеш', + 'Вугдраг', + 'Вузман', + 'Вуило', + 'Вуин', + 'Вуица', + 'Вук', + 'Вукадин', + 'Вукало', + 'Вукан', + 'Вукас', + 'Вукац', + 'Вукач', + 'Вукашин', + 'Вукајло', + 'Вукаљ', + 'Вукеља', + 'Вукић', + 'Вукман', + 'Вукмир', + 'Вукмиљ', + 'Вуко', + 'Вуковоје', + 'Вукола', + 'Вукоман', + 'Вукомир', + 'Вукосав', + 'Вукослав', + 'Вукота', + 'Вукоје', + 'Вукојица', + 'Вуксан', + 'Вукша', + 'Вуле', + 'Вулета', + 'Вунко', + 'Вуча', + 'Вучан', + 'Вучен', + 'Вучета', + 'Вучина', + 'Вучић', + 'Вучко', + 'Вујадин', + 'Вујак', + 'Вујан', + 'Вујета', + 'Вујко', + 'Вујо', + 'Вујчета', + 'Вујчин', + 'Вјекослав', + 'Гавра', + 'Гаврило', + 'Гача', + 'Гаја', + 'Гајин', + 'Гајо', + 'Гвозден', + 'Гвозденко', + 'Генадије', + 'Георгије', + 'Герасим', + 'Герман', + 'Глигорије', + 'Глиша', + 'Глишо', + 'Годеч', + 'Годомир', + 'Голуб', + 'Гордан', + 'Горчин', + 'Гостимир', + 'Гостољуб', + 'Гојко', + 'Градета', + 'Градимир', + 'Грубан', + 'Грубац', + 'Градиша', + 'Гргур', + 'Грдан', + 'Григорије', + 'Гријак', + 'Грубач', + 'Грубета', + 'Грубеша', + 'Грубиша', + 'Груја', + 'Грујица', + 'Грујо', + 'Дабижив', + 'Дабиша', + 'Дабо', + 'Давид', + 'Дамјан', + 'Дамљан', + 'Дане', + 'Данијел', + 'Данко', + 'Данчул', + 'Дарио', + 'Дарије', + 'Даријо', + 'Дарко', + 'Дарјан', + 'Десимир', + 'Деспот', + 'Димитрије', + 'Димчо', + 'Дмитар', + 'Добрашин', + 'Добривој', + 'Добривоје', + 'Добрило', + 'Добринко', + 'Добрица', + 'Добровук', + 'Добросав', + 'Доброслав', + 'Доко', + 'Доротеј', + 'Доситеј', + 'Дојчило', + 'Дојчин', + 'Драгаш', + 'Драгиша', + 'Драгић', + 'Драго', + 'Драгобрат', + 'Драгован', + 'Драгоман', + 'Драгомир', + 'Драгорад', + 'Драгосав', + 'Драгослав', + 'Драгош', + 'Драгоје', + 'Драгојло', + 'Драгољуб', + 'Драгутин', + 'Дража', + 'Дражета', + 'Дражо', + 'Драило', + 'Дракша', + 'Драшко', + 'Дубравац', + 'Дубравко', + 'Дука', + 'Дукадин', + 'Душко', + 'Дујак', + 'Евгеније', + 'Емил', + 'Емилијан', + 'Емилије', + 'Ерак', + 'Жарко', + 'Желимир', + 'Жељко', + 'Жива', + 'Живадин', + 'Живан', + 'Живанко', + 'Живомир', + 'Живорад', + 'Живота', + 'Живојин', + 'Живољуб', + 'Жика', + 'Жикица', + 'Житомир', + 'Завида', + 'Завиша', + 'Звездодраг', + 'Звездослав', + 'Звонимир', + 'Звонко', + 'Звјездан', + 'Здравиша', + 'Здравко', + 'Златан', + 'Златибор', + 'Златко', + 'Златомир', + 'Златосав', + 'Златоје', + 'Зринко', + 'Иваниш', + 'Ивица', + 'Ивко', + 'Игор', + 'Игњат', + 'Игњатије', + 'Илија', + 'Исаило', + 'Исаија', + 'Исак', + 'Исидор', + 'Кажимир', + 'Казимир', + 'Каменко', + 'Кипријан', + 'Кирило', + 'Ковиљко', + 'Козма', + 'Кокан', + 'Комнен', + 'Корнелије', + 'Коста', + 'Костадин', + 'Коча', + 'Којадин', + 'Којчин', + 'Крагуј', + 'Красимир', + 'Красоје', + 'Крајислав', + 'Крајчин', + 'Крсман', + 'Крста', + 'Крстан', + 'Крстивоје', + 'Крсто', + 'Крунислав', + 'Кузман', + 'Кумодраг', + 'Лабуд', + 'Лаза', + 'Лазар', + 'Лазо', + 'Лакета', + 'Лако', + 'Лале', + 'Лежимир', + 'Леонида', + 'Лепомир', + 'Лепослав', + 'Лепоје', + 'Лозан', + 'Луча', + 'Лујо', + 'Маврен', + 'Малета', + 'Малеш', + 'Мандуша', + 'Мане', + 'Манојло', + 'Маринко', + 'Марко', + 'Марјан', + 'Матеј', + 'Матеја', + 'Матија', + 'Матијаш', + 'Мато', + 'Машан', + 'Машко', + 'Медак', + 'Миладин', + 'Милак', + 'Миланко', + 'Милат', + 'Милаш', + 'Милашин', + 'Миле', + 'Милен', + 'Миленко', + 'Милентије', + 'Милеса', + 'Милета', + 'Милеш', + 'Миливој', + 'Миливоје', + 'Милин', + 'Милинко', + 'Милисав', + 'Милија', + 'Милијан', + 'Милијаш', + 'Милић', + 'Мило', + 'Милован', + 'Миломир', + 'Милорад', + 'Милосав', + 'Милоја', + 'Милоје', + 'Милојица', + 'Милојко', + 'Милтен', + 'Милун', + 'Милутин', + 'Милуш', + 'Милуша', + 'Миодраг', + 'Миомир', + 'Мирен', + 'Мирко', + 'Миро', + 'Миросав', + 'Мирољуб', + 'Мирчета', + 'Митар', + 'Михаило', + 'Михајло', + 'Мишко', + 'Мишо', + 'Мишљен', + 'Мија', + 'Мијаило', + 'Мијак', + 'Мијан', + 'Мијат', + 'Мијо', + 'Мијобрат', + 'Мијушко', + 'Миљ', + 'Миљан', + 'Миљен', + 'Миљко', + 'Миљојко', + 'Миљурко', + 'Мића', + 'Мићан', + 'Мићо', + 'Младен', + 'Млађан', + 'Млађен', + 'Момир', + 'Момчило', + 'Мојсило', + 'Мркша', + 'Мрђан', + 'Мрђен', + 'Наум', + 'Најдан', + 'Небојша', + 'Невен', + 'Невенко', + 'Негован', + 'Негомир', + 'Недељко', + 'Немања', + 'Ненад', + 'Нестор', + 'Нешко', + 'Неђељко', + 'Никашин', + 'Никодим', + 'Никодије', + 'Никола', + 'Никша', + 'Нинко', + 'Нино', + 'Нинослав', + 'Нићифор', + 'Новак', + 'Новица', + 'Новиша', + 'Новко', + 'Ново', + 'Обрад', + 'Обрадин', + 'Обрен', + 'Обренко', + 'Обретен', + 'Огњан', + 'Огњен', + 'Озрен', + 'Озриша', + 'Оливер', + 'Остоја', + 'Павић', + 'Павко', + 'Павле', + 'Павлић', + 'Пантелија', + 'Паун', + 'Пера', + 'Перица', + 'Периша', + 'Перо', + 'Перун', + 'Перунко', + 'Петак', + 'Петар', + 'Петко', + 'Петош', + 'Петоје', + 'Петрашин', + 'Петроније', + 'Пејак', + 'Пејо', + 'Плавша', + 'Познан', + 'Првослав', + 'Предраг', + 'Прерад', + 'Прибић', + 'Продан', + 'Прокопије', + 'Пунан', + 'Пуниша', + 'Пуреш', + 'Пурко', + 'Пуро', + 'Радак', + 'Радан', + 'Радас', + 'Радашин', + 'Раден', + 'Раденко', + 'Радета', + 'Радивој', + 'Радивоје', + 'Радин', + 'Радинко', + 'Радисав', + 'Радич', + 'Радиша', + 'Радман', + 'Радмило', + 'Радобуд', + 'Радован', + 'Радовац', + 'Радоман', + 'Радомир', + 'Радосав', + 'Радослав', + 'Радош', + 'Радоја', + 'Радоје', + 'Радојица', + 'Радојко', + 'Радојло', + 'Радоња', + 'Радука', + 'Радукан', + 'Радул', + 'Радулин', + 'Радун', + 'Радусин', + 'Раин', + 'Раица', + 'Раич', + 'Раичко', + 'Рален', + 'Ралета', + 'Ранисав', + 'Ранко', + 'Раосав', + 'Растислав', + 'Растко', + 'Ратибор', + 'Ратко', + 'Ратомир', + 'Рафаило', + 'Рацко', + 'Рачета', + 'Рашко', + 'Рађен', + 'Рајак', + 'Рајан', + 'Рајко', + 'Рајчета', + 'Рекула', + 'Ресан', + 'Реља', + 'Риста', + 'Ристан', + 'Ристивоје', + 'Ристо', + 'Родољуб', + 'Сава', + 'Савко', + 'Саво', + 'Самуило', + 'Светибор', + 'Светислав', + 'Светозар', + 'Светолик', + 'Светомир', + 'Светорад', + 'Светољуб', + 'Секула', + 'Селак', + 'Сима', + 'Симеон', + 'Симеун', + 'Симо', + 'Симон', + 'Синиша', + 'Синђа', + 'Синђел', + 'Скоросав', + 'Славен', + 'Славенко', + 'Славиша', + 'Славко', + 'Славо', + 'Славомир', + 'Славољуб', + 'Славуј', + 'Сладоје', + 'Слађан', + 'Смиљан', + 'Смиљко', + 'Смољан', + 'Соко', + 'Спасоја', + 'Спасоје', + 'Спиридон', + 'Србислав', + 'Србослав', + 'Србољуб', + 'Срдан', + 'Средоја', + 'Средоје', + 'Сретен', + 'Сретко', + 'Срећан', + 'Срећко', + 'Срђа', + 'Стаменко', + 'Станача', + 'Станимир', + 'Станисав', + 'Станисава', + 'Станиша', + 'Станко', + 'Станоја', + 'Станоје', + 'Станојко', + 'Станојло', + 'Стеван', + 'Стевица', + 'Стево', + 'Степан', + 'Стефан', + 'Стоин', + 'Стоић', + 'Стојадин', + 'Стојак', + 'Стојан', + 'Стојко', + 'Стојмен', + 'Стојша', + 'Страиња', + 'Страхиња', + 'Стјепан', + 'Тадеј', + 'Тадија', + 'Танасије', + 'Танацко', + 'Татомир', + 'Твртко', + 'Теодор', + 'Теодосије', + 'Теофил', + 'Тешан', + 'Тимотије', + 'Тихомир', + 'Тодор', + 'Тома', + 'Томаш', + 'Томислав', + 'Томица', + 'Томо', + 'Топлица', + 'Трајан', + 'Трајко', + 'Тривун', + 'Трипко', + 'Трипун', + 'Трифун', + 'Трпко', + 'Угљеша', + 'Умиљен', + 'Урош', + 'Утешен', + 'Утјешен', + 'Хвалимир', + 'Хвалислав', + 'Хранимир', + 'Хранислав', + 'Храниша', + 'Храстимир', + 'Христијан', + 'Христослав', + 'Цветин', + 'Цветко', + 'Цветош', + 'Цветоје', + 'Цвејан', + 'Цвико', + 'Цвијан', + 'Цвијета', + 'Цвијетин', + 'Цвјетко', + 'Цвјетош', + 'Цвјетоје', + 'Цурко', + 'Часлав', + 'Чедомир', + 'Чубрило', + 'Шакота', + 'Шале', + 'Шуменко', + 'Шутан', + ]; - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 - */ - protected static $firstNameFemale = [ - 'Јована', 'Александра', 'Ангелина', 'Антонина', 'Биљана', 'Влада', 'Драгана', 'Екатерина', 'Елена', 'Здравка', 'Златка', - 'Ивана', 'Ирена', 'Ирина', 'Кристина', 'Лола', 'Марина', 'Марија', 'Маша', 'Милена', 'Милица', 'Мирослава', 'Миљана', - 'Наташа', 'Светлана', 'Соња', 'Тамара', 'Тања', 'Теодора', 'Ђурисава', 'Ђурђа', 'Ђурђевка', 'Ђурђица', 'Ђурђија', - 'Јаворка', 'Јагода', 'Јагодинка', 'Јадранка', 'Јана', 'Јановка', 'Јасмина', 'Јасминка', 'Јасна', 'Јања', 'Јевдокија', - 'Јевросима', 'Јека', 'Јела', 'Јелача', 'Јелена', 'Јеленка', 'Јелисава', 'Јелисавета', 'Јелисавка', 'Јелица', 'Јелка', - 'Јефимија', 'Јованка', 'Јовка', 'Јоргованка', 'Јорданка', 'Јулија', 'Јулијана', 'Јулка', 'Љепава', 'Љепосава', 'Љиља', - 'Љиљана', 'Љуба', 'Љубинка', 'Љубица', 'Љубомирка', 'Љубосава', 'Љупка', 'Његомирка', 'Његослава', 'Ћерана', 'Агница', - 'Агнија', 'Аделина', 'Алексија', 'Ана', 'Анастасија', 'Анда', 'Андријана', 'Аница', 'Анка', 'Анкица', 'Анђа', 'Анђела', - 'Анђелија', 'Анђелка', 'Бисенија', 'Бисерка', 'Благица', 'Благиња', 'Блаженка', 'Богдана', 'Богданка', 'Божана', - 'Божидарка', 'Божинка', 'Божица', 'Борислава', 'Бориславка', 'Борка', 'Борјана', 'Борјанка', 'Боса', 'Босиљка', - 'Бојана', 'Бранислава', 'Бранка', 'Бранкица', 'Братислава', 'Будимирка', 'Будимка', 'Валерија', 'Варвара', 'Василија', - 'Василка', 'Васиљка', 'Васкрсија', 'Вања', 'Велиборка', 'Велинка', 'Велисава', 'Вера', 'Верица', 'Верка', 'Вероника', - 'Верослава', 'Весела', 'Веселинка', 'Весна', 'Вида', 'Видосава', 'Видојка', 'Викторија', 'Виолета', 'Витка', - 'Витомирка', 'Вишеслава', 'Вишња', 'Владана', 'Владанка', 'Владимирка', 'Владислава', 'Властимирка', 'Влатка', - 'Војислава', 'Војка', 'Вукана', 'Вукица', 'Вукмира', 'Вукосава', 'Вујадинка', 'Вујана', 'Вујка', 'Гаврила', 'Гаврилка', - 'Гвозденија', 'Георгина', 'Горана', 'Горанка', 'Гордана', 'Горица', 'Горјана', 'Госпава', 'Грозда', 'Гроздан', 'Гроздана', - 'Даворка', 'Далиборка', 'Дамјанка', 'Дамљанка', 'Дана', 'Даница', 'Данка', 'Данојла', 'Дара', 'Даринка', 'Дафина', 'Даша', - 'Дева', 'Деса', 'Десанка', 'Деспина', 'Деспиња', 'Дејана', 'Дивна', 'Дикосава', 'Дмитра', 'Добрила', 'Добринка', - 'Добрија', 'Докна', 'Доротеја', 'Достана', 'Драга', 'Драгица', 'Драгија', 'Драгиња', 'Драгомира', 'Драгослава', - 'Драгоја', 'Драгојла', 'Дрена', 'Дренка', 'Дрина', 'Дринка', 'Дубравка', 'Душанка', 'Душица', 'Душка', 'Дуња', 'Ева', - 'Евгенија', 'Евдокија', 'Евица', 'Емилија', 'Жаклина', 'Жанка', 'Желимирка', 'Жељана', 'Жељка', 'Живадинка', 'Живана', - 'Живанка', 'Живица', 'Живка', 'Живодарка', 'Живоратка', 'Живослава', 'Живославка', 'Зага', 'Загорка', 'Звездана', - 'Звонка', 'Звјездана', 'Злата', 'Златана', 'Златица', 'Златија', 'Златомирка', 'Зора', 'Зорана', 'Зорислава', - 'Зорица', 'Зорка', 'Зринка', 'Ива', 'Иванка', 'Ивка', 'Ивона', 'Иконија', 'Илинка', 'Исидора', 'Кадивка', 'Казимира', - 'Касија', 'Ката', 'Катарина', 'Катица', 'Кована', 'Ковина', 'Ковиљка', 'Комненија', 'Косана', 'Косара', 'Косовка', - 'Костадинка', 'Коштана', 'Којадинка', 'Краисава', 'Крсманија', 'Крстана', 'Крстина', 'Крунослава', 'Ксенија', - 'Лана', 'Лара', 'Латинка', 'Лела', 'Лена', 'Ленка', 'Леонора', 'Лепа', 'Лепосава', 'Лидија', 'Лиза', 'Лила', - 'Лилијана', 'Луна', 'Лучија', 'Малина', 'Малинка', 'Манда', 'Мара', 'Маринка', 'Марица', 'Марта', 'Маја', - 'Мајда', 'Мила', 'Миладија', 'Милана', 'Миланка', 'Милева', 'Милина', 'Милисава', 'Милисавка', 'Милијана', 'Милка', - 'Милкица', 'Милосава', 'Милосавка', 'Милојка', 'Милунка', 'Миомирка', 'Мира', 'Мирка', 'Миросава', 'Мирјана', - 'Митра', 'Мијана', 'Миља', 'Миљка', 'Нада', 'Надежда', 'Надица', 'Наталија', 'Нађа', 'Најда', 'Невена', 'Невенка', - 'Неда', 'Недељка', 'Неђељка', 'Николета', 'Николија', 'Нина', 'Нишава', 'Новка', 'Обрадинка', 'Обренија', 'Огњана', - 'Олга', 'Оливера', 'Оља', 'Павлија', 'Пауна', 'Пелагија', 'Перса', 'Персида', 'Петра', 'Петрија', 'Познана', 'Продана', - 'Рада', 'Радана', 'Радинка', 'Радица', 'Радмила', 'Радна', 'Радоба', 'Радослава', 'Радота', 'Радојка', 'Радула', - 'Радунка', 'Ранка', 'Рајка', 'Рајна', 'Роксанда', 'Роса', 'Ружа', 'Ружица', 'Савка', 'Саздана', 'Сандра', 'Сара', - 'Сања', 'Светислава', 'Свјетлана', 'Секана', 'Симана', 'Симеуна', 'Симка', 'Симонида', 'Скоросава', 'Славица', - 'Славка', 'Славна', 'Славојка', 'Слађана', 'Слободанка', 'Смиља', 'Смиљана', 'Смиљка', 'Смољана', 'Смољка', - 'Снежана', 'Сока', 'Софија', 'Спасенија', 'Споменка', 'Србијанка', 'Стака', 'Стамена', 'Стаменка', 'Стана', - 'Станава', 'Станислава', 'Станица', 'Станија', 'Станка', 'Станојка', 'Станојла', 'Сташа', 'Стајка', 'Стоисава', - 'Стоја', 'Стојана', 'Стојанка', 'Стојка', 'Стојна', 'Сузана', 'Сњежана', 'Танкоса', 'Танкосава', 'Тара', 'Татјана', - 'Тајана', 'Теа', 'Тијана', 'Тодора', 'Томанија', 'Убавка', 'Уна', 'Фема', 'Хранислава', 'Цвета', 'Чарна', 'Шана', - ]; + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0 + */ + protected static $firstNameFemale = [ + 'Јована', + 'Александра', + 'Ангелина', + 'Антонина', + 'Биљана', + 'Влада', + 'Драгана', + 'Екатерина', + 'Елена', + 'Здравка', + 'Златка', + 'Ивана', + 'Ирена', + 'Ирина', + 'Кристина', + 'Лола', + 'Марина', + 'Марија', + 'Маша', + 'Милена', + 'Милица', + 'Мирослава', + 'Миљана', + 'Наташа', + 'Светлана', + 'Соња', + 'Тамара', + 'Тања', + 'Теодора', + 'Ђурисава', + 'Ђурђа', + 'Ђурђевка', + 'Ђурђица', + 'Ђурђија', + 'Јаворка', + 'Јагода', + 'Јагодинка', + 'Јадранка', + 'Јана', + 'Јановка', + 'Јасмина', + 'Јасминка', + 'Јасна', + 'Јања', + 'Јевдокија', + 'Јевросима', + 'Јека', + 'Јела', + 'Јелача', + 'Јелена', + 'Јеленка', + 'Јелисава', + 'Јелисавета', + 'Јелисавка', + 'Јелица', + 'Јелка', + 'Јефимија', + 'Јованка', + 'Јовка', + 'Јоргованка', + 'Јорданка', + 'Јулија', + 'Јулијана', + 'Јулка', + 'Љепава', + 'Љепосава', + 'Љиља', + 'Љиљана', + 'Љуба', + 'Љубинка', + 'Љубица', + 'Љубомирка', + 'Љубосава', + 'Љупка', + 'Његомирка', + 'Његослава', + 'Ћерана', + 'Агница', + 'Агнија', + 'Аделина', + 'Алексија', + 'Ана', + 'Анастасија', + 'Анда', + 'Андријана', + 'Аница', + 'Анка', + 'Анкица', + 'Анђа', + 'Анђела', + 'Анђелија', + 'Анђелка', + 'Бисенија', + 'Бисерка', + 'Благица', + 'Благиња', + 'Блаженка', + 'Богдана', + 'Богданка', + 'Божана', + 'Божидарка', + 'Божинка', + 'Божица', + 'Борислава', + 'Бориславка', + 'Борка', + 'Борјана', + 'Борјанка', + 'Боса', + 'Босиљка', + 'Бојана', + 'Бранислава', + 'Бранка', + 'Бранкица', + 'Братислава', + 'Будимирка', + 'Будимка', + 'Валерија', + 'Варвара', + 'Василија', + 'Василка', + 'Васиљка', + 'Васкрсија', + 'Вања', + 'Велиборка', + 'Велинка', + 'Велисава', + 'Вера', + 'Верица', + 'Верка', + 'Вероника', + 'Верослава', + 'Весела', + 'Веселинка', + 'Весна', + 'Вида', + 'Видосава', + 'Видојка', + 'Викторија', + 'Виолета', + 'Витка', + 'Витомирка', + 'Вишеслава', + 'Вишња', + 'Владана', + 'Владанка', + 'Владимирка', + 'Владислава', + 'Властимирка', + 'Влатка', + 'Војислава', + 'Војка', + 'Вукана', + 'Вукица', + 'Вукмира', + 'Вукосава', + 'Вујадинка', + 'Вујана', + 'Вујка', + 'Гаврила', + 'Гаврилка', + 'Гвозденија', + 'Георгина', + 'Горана', + 'Горанка', + 'Гордана', + 'Горица', + 'Горјана', + 'Госпава', + 'Грозда', + 'Гроздан', + 'Гроздана', + 'Даворка', + 'Далиборка', + 'Дамјанка', + 'Дамљанка', + 'Дана', + 'Даница', + 'Данка', + 'Данојла', + 'Дара', + 'Даринка', + 'Дафина', + 'Даша', + 'Дева', + 'Деса', + 'Десанка', + 'Деспина', + 'Деспиња', + 'Дејана', + 'Дивна', + 'Дикосава', + 'Дмитра', + 'Добрила', + 'Добринка', + 'Добрија', + 'Докна', + 'Доротеја', + 'Достана', + 'Драга', + 'Драгица', + 'Драгија', + 'Драгиња', + 'Драгомира', + 'Драгослава', + 'Драгоја', + 'Драгојла', + 'Дрена', + 'Дренка', + 'Дрина', + 'Дринка', + 'Дубравка', + 'Душанка', + 'Душица', + 'Душка', + 'Дуња', + 'Ева', + 'Евгенија', + 'Евдокија', + 'Евица', + 'Емилија', + 'Жаклина', + 'Жанка', + 'Желимирка', + 'Жељана', + 'Жељка', + 'Живадинка', + 'Живана', + 'Живанка', + 'Живица', + 'Живка', + 'Живодарка', + 'Живоратка', + 'Живослава', + 'Живославка', + 'Зага', + 'Загорка', + 'Звездана', + 'Звонка', + 'Звјездана', + 'Злата', + 'Златана', + 'Златица', + 'Златија', + 'Златомирка', + 'Зора', + 'Зорана', + 'Зорислава', + 'Зорица', + 'Зорка', + 'Зринка', + 'Ива', + 'Иванка', + 'Ивка', + 'Ивона', + 'Иконија', + 'Илинка', + 'Исидора', + 'Кадивка', + 'Казимира', + 'Касија', + 'Ката', + 'Катарина', + 'Катица', + 'Кована', + 'Ковина', + 'Ковиљка', + 'Комненија', + 'Косана', + 'Косара', + 'Косовка', + 'Костадинка', + 'Коштана', + 'Којадинка', + 'Краисава', + 'Крсманија', + 'Крстана', + 'Крстина', + 'Крунослава', + 'Ксенија', + 'Лана', + 'Лара', + 'Латинка', + 'Лела', + 'Лена', + 'Ленка', + 'Леонора', + 'Лепа', + 'Лепосава', + 'Лидија', + 'Лиза', + 'Лила', + 'Лилијана', + 'Луна', + 'Лучија', + 'Малина', + 'Малинка', + 'Манда', + 'Мара', + 'Маринка', + 'Марица', + 'Марта', + 'Маја', + 'Мајда', + 'Мила', + 'Миладија', + 'Милана', + 'Миланка', + 'Милева', + 'Милина', + 'Милисава', + 'Милисавка', + 'Милијана', + 'Милка', + 'Милкица', + 'Милосава', + 'Милосавка', + 'Милојка', + 'Милунка', + 'Миомирка', + 'Мира', + 'Мирка', + 'Миросава', + 'Мирјана', + 'Митра', + 'Мијана', + 'Миља', + 'Миљка', + 'Нада', + 'Надежда', + 'Надица', + 'Наталија', + 'Нађа', + 'Најда', + 'Невена', + 'Невенка', + 'Неда', + 'Недељка', + 'Неђељка', + 'Николета', + 'Николија', + 'Нина', + 'Нишава', + 'Новка', + 'Обрадинка', + 'Обренија', + 'Огњана', + 'Олга', + 'Оливера', + 'Оља', + 'Павлија', + 'Пауна', + 'Пелагија', + 'Перса', + 'Персида', + 'Петра', + 'Петрија', + 'Познана', + 'Продана', + 'Рада', + 'Радана', + 'Радинка', + 'Радица', + 'Радмила', + 'Радна', + 'Радоба', + 'Радослава', + 'Радота', + 'Радојка', + 'Радула', + 'Радунка', + 'Ранка', + 'Рајка', + 'Рајна', + 'Роксанда', + 'Роса', + 'Ружа', + 'Ружица', + 'Савка', + 'Саздана', + 'Сандра', + 'Сара', + 'Сања', + 'Светислава', + 'Свјетлана', + 'Секана', + 'Симана', + 'Симеуна', + 'Симка', + 'Симонида', + 'Скоросава', + 'Славица', + 'Славка', + 'Славна', + 'Славојка', + 'Слађана', + 'Слободанка', + 'Смиља', + 'Смиљана', + 'Смиљка', + 'Смољана', + 'Смољка', + 'Снежана', + 'Сока', + 'Софија', + 'Спасенија', + 'Споменка', + 'Србијанка', + 'Стака', + 'Стамена', + 'Стаменка', + 'Стана', + 'Станава', + 'Станислава', + 'Станица', + 'Станија', + 'Станка', + 'Станојка', + 'Станојла', + 'Сташа', + 'Стајка', + 'Стоисава', + 'Стоја', + 'Стојана', + 'Стојанка', + 'Стојка', + 'Стојна', + 'Сузана', + 'Сњежана', + 'Танкоса', + 'Танкосава', + 'Тара', + 'Татјана', + 'Тајана', + 'Теа', + 'Тијана', + 'Тодора', + 'Томанија', + 'Убавка', + 'Уна', + 'Фема', + 'Хранислава', + 'Цвета', + 'Чарна', + 'Шана', + ]; - /** - * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B - */ - protected static $lastName = [ - 'Абаџић', 'Абдулић', 'Абрамић', 'Авалић', 'Авдулић', 'Аврић', 'Агуридић', 'Адамић', 'Азарић', 'Ајдачић', 'Ајдучић', 'Аксентић', 'Аксић', 'Алавантић', 'Аладић', 'Аларгић', 'Албијанић', 'Александрић', 'Алексендрић', 'Алексић', 'Алимпић', 'Аличић', 'Аљанчић', 'Амиџић', 'Ананић', 'Андић', 'Андрејић', 'Андријанић', 'Андрић', 'Андробић', 'Анђелић', 'Анђић', 'Анђушић', 'Анић', 'Аничић', 'Анкић', 'Анојчић', 'Анокић', 'Антић', 'Антонић', 'Анушић', 'Апелић', 'Апић', 'Арамбашић', 'Ардалић', 'Арсенић', 'Арсић', 'Атлагић', 'Аћимић', 'Аћић', 'Ацић', 'Ачић', 'Аџић', 'Ашкрабић', 'Ашћерић', 'Бабарогић', 'Бабић', 'Баварчић', 'Бавељић', 'Бадрић', 'Бајагић', 'Бајандић', 'Бајић', 'Бајичић', 'Бајкић', 'Бајчетић', 'Бајчић', 'Бакић', 'Балетић', 'Балотић', 'Балтић', 'Балшић', 'Банзић', 'Банић', 'Бантулић', 'Бањалић', 'Баралић', 'Барић', 'Баришић', 'Барошевчић', 'Басарић', 'Бастајић', 'Басташић', 'Батавељић', 'Батинић', 'Батножић', 'Баћић', 'Бацетић', 'Бачић', 'Бачкулић', 'Башић', 'Баштић', 'Бебић', 'Бегенишић', 'Бежанић', 'Бекчић', 'Беланчић', 'Белић', 'Белогрлић', 'Белодедић', 'Белонић', 'Бељић', 'Бендић', 'Берилажић', 'Берић', 'Беседић', 'Бесједић', 'Биберчић', 'Биберџић', 'Бибић', 'Бижић', 'Бизетић', 'Бизумић', 'Бијанић', 'Бијелић', 'Бијелонић', 'Билибајкић', 'Билић', 'Билкић', 'Биљић', 'Биљурић', 'Бинић', 'Биришић', 'Бисенић', 'Бисерић', 'Бисерчић', 'Бисић', 'Бјекић', 'Бјелетић', 'Бјелинић', 'Бјелић', 'Бјеличић', 'Бјелкић', 'Бјеловитић', 'Бјелогрлић', 'Бјелонић', 'Бјелотомић', 'Благић', 'Благотић', 'Блажарић', 'Блажетић', 'Блажић', 'Блатешић', 'Блендић', 'Блесић', 'Блечић', 'Блешић', 'Боберић', 'Бобић', 'Бобушић', 'Богатић', 'Богданић', 'Богетић', 'Богић', 'Богичић', 'Бодирогић', 'Бодирожић', 'Бодић', 'Бодрожић', 'Божанић', 'Божикић', 'Божић', 'Божичић', 'Бојадић', 'Бојанић', 'Бојић', 'Бојичић', 'Бојкић', 'Бојчетић', 'Бојчић', 'Боканић', 'Бокоњић', 'Болић', 'Болтић', 'Бољанић', 'Бонтић', 'Бонџић', 'Бонџулић', 'Борикић', 'Борић', 'Боричић', 'Боришић', 'Борјанић', 'Борокић', 'Боротић', 'Борчић', 'Босанчић', 'Босиљкић', 'Босиљчић', 'Босиорчић', 'Босиочић', 'Босић', 'Боснић', 'Боторић', 'Боцић', 'Боцокић', 'Бошњачић', 'Боштрунић', 'Брадарић', 'Брадић', 'Брадоњић', 'Брајић', 'Бралетић', 'Бралић', 'Бралушић', 'Бранчић', 'Братић', 'Братоножић', 'Брашић', 'Брдарић', 'Брежанчић', 'Брезић', 'Брекић', 'Брзић', 'Брисић', 'Брканлић', 'Бркић', 'Брндушић', 'Бродалић', 'Бродић', 'Броћић', 'Бруић', 'Брујић', 'Брукић', 'Бубић', 'Бубоњић', 'Бугарчић', 'Будалић', 'Будимкић', 'Будимчић', 'Будинчић', 'Будић', 'Будишић', 'Буднић', 'Будурић', 'Бузаретић', 'Бујагић', 'Бујандрић', 'Бујић', 'Бујишић', 'Бујуклић', 'Буказић', 'Буквић', 'Букелић', 'Буковчић', 'Букоњић', 'Букумирић', 'Букушић', 'Булајић', 'Булић', 'Буљубашић', 'Буљугић', 'Бумбић', 'Бунарџић', 'Бунић', 'Бунчић', 'Бургић', 'Бурић', 'Бурлић', 'Бусанчић', 'Буцкић', 'Бучић', 'Бушетић', 'Бушић', 'Вагић', 'Вагурић', 'Вајић', 'Вајкарић', 'Вакичић', 'Ванушић', 'Варагић', 'Вараклић', 'Вардалић', 'Варјачић', 'Варничић', 'Васелић', 'Василић', 'Васић', 'Вашалић', 'Векић', 'Велетић', 'Великић', 'Величић', 'Велишић', 'Вељанчић', 'Вељић', 'Вемић', 'Вербић', 'Вербункић', 'Вергић', 'Верић', 'Веркић', 'Веселић', 'Веселичић', 'Весић', 'Веснић', 'Видарић', 'Видачић', 'Видеканић', 'Видић', 'Вилендечић', 'Вилотић', 'Винокић', 'Винчић', 'Виорикић', 'Витакић', 'Витолић', 'Вићентић', 'Вишић', 'Владетић', 'Владић', 'Владичић', 'Владушић', 'Влајић', 'Влајнић', 'Влајчић', 'Влакетић', 'Власинић', 'Власоњић', 'Властић', 'Влачић', 'Влашкалић', 'Војичић', 'Војкић', 'Војчић', 'Воргић', 'Воркапић', 'Воћкић', 'Воштинић', 'Воштић', 'Вранић', 'Вранчић', 'Вратоњић', 'Врачарић', 'Врекић', 'Врећић', 'Врзић', 'Вртунић', 'Вругић', 'Вујанић', 'Вујанушић', 'Вујачић', 'Вујетић', 'Вујинић', 'Вујисић', 'Вујић', 'Вујичић', 'Вујнић', 'Вујчетић', 'Вуканић', 'Вукелић', 'Вукић', 'Вукоичић', 'Вукојичић', 'Вукојчић', 'Вуколић', 'Вукоманчић', 'Вукосавић', 'Вукотић', 'Вукшић', 'Вулетић', 'Вулешић', 'Вуликић', 'Вулић', 'Вулишић', 'Вуцелић', 'Вучелић', 'Вучендић', 'Вученић', 'Вучетић', 'Вучинић', 'Вучић', 'Гаварић', 'Гавранић', 'Гавранчић', 'Гаврић', 'Гагић', 'Гагричић', 'Гајанић', 'Гајетић', 'Гајић', 'Гајичић', 'Гајтанић', 'Галетић', 'Галић', 'Галонић', 'Галоњић', 'Гамбелић', 'Гарачић', 'Гардић', 'Гарић', 'Гаротић', 'Гатарић', 'Гачић', 'Гаџић', 'Гашић', 'Гвозденић', 'Гвоздић', 'Гвоић', 'Гвојић', 'Генчић', 'Герзић', 'Гиздавић', 'Гилић', 'Главендекић', 'Главинић', 'Главонић', 'Главоњић', 'Главчић', 'Гламочић', 'Гледић', 'Глежнић', 'Глибетић', 'Глигић', 'Глигорић', 'Глигурић', 'Глинтић', 'Глишић', 'Глогињић', 'Гломазић', 'Глувајић', 'Глумичић', 'Гмизић', 'Гњатић', 'Гобељић', 'Гогић', 'Гојгић', 'Гонцић', 'Горанић', 'Горанчић', 'Горданић', 'Гордић', 'Гороњић', 'Госпавић', 'Гостић', 'Гостојић', 'Гоцић', 'Гошњић', 'Грабић', 'Грабовчић', 'Градић', 'Грамић', 'Грандић', 'Гранолић', 'Гранулић', 'Граонић', 'Грашић', 'Грбић', 'Гречић', 'Гркинић', 'Грозданић', 'Гроздић', 'Гроканић', 'Громилић', 'Грубачић', 'Грубетић', 'Грубешић', 'Грубић', 'Грубишић', 'Грубјешић', 'Грубљешић', 'Грубнић', 'Гружанић', 'Грујанић', 'Грујић', 'Грујичић', 'Грумић', 'Губеринић', 'Гудурић', 'Гужвић', 'Гујаничић', 'Гурешић', 'Гуцонић', 'Гуџулић', 'Гушић', 'Дабарчић', 'Дабетић', 'Дабић', 'Давинић', 'Дајић', 'Дајлић', 'Дамјанић', 'Дангић', 'Дангубић', 'Даничић', 'Данојлић', 'Дардић', 'Дафунић', 'Дачић', 'Двокић', 'Дворанчић', 'Дворнић', 'Дебелногић', 'Девеџић', 'Дедић', 'Дејанић', 'Делић', 'Демић', 'Демоњић', 'Денић', 'Денкић', 'Денчић', 'Дерајић', 'Деретић', 'Дерикоњић', 'Дероњић', 'Десанчић', 'Деспенић', 'Деспинић', 'Деспић', 'Деурић', 'Дешић', 'Дивић', 'Дивнић', 'Дивчић', 'Дикић', 'Диклић', 'Дикосавић', 'Диманић', 'Димитрић', 'Димић', 'Димкић', 'Димчић', 'Динић', 'Динкић', 'Динчић', 'Дискић', 'Дичић', 'Добранић', 'Добратић', 'Добрић', 'Добричић', 'Довијанић', 'Доганџић', 'Догањић', 'Додић', 'Докић', 'Докнић', 'Долинић', 'Дончић', 'Доронтић', 'Достанић', 'Достић', 'Достичић', 'Дотлић', 'Дравић', 'Драганић', 'Драгинчић', 'Драгић', 'Драгишић', 'Драгољић', 'Драгоњић', 'Драгославић', 'Драготић', 'Драгушић', 'Дражић', 'Драјић', 'Дракулић', 'Драмлић', 'Дрангић', 'Драшкић', 'Дрезгић', 'Дрекић', 'Дренић', 'Дринић', 'Дринчић', 'Дружетић', 'Друлић', 'Дрчелић', 'Дубајић', 'Дубачкић', 'Дубоњић', 'Дугалић', 'Дугић', 'Дугоњић', 'Дудић', 'Дукић', 'Думањић', 'Думељић', 'Думитрикић', 'Думнић', 'Думонић', 'Дунчић', 'Дуњић', 'Дуроњић', 'Дучић', 'Душанић', 'Ђајић', 'Ђакушић', 'Ђапић', 'Ђекић', 'Ђелић', 'Ђелкапић', 'Ђенадић', 'Ђенисић', 'Ђенић', 'Ђерић', 'Ђикић', 'Ђинђић', 'Ђокић', 'Ђорђић', 'Ђорић', 'Ђузић', 'Ђујић', 'Ђукарић', 'Ђукелић', 'Ђукетић', 'Ђукић', 'Ђукнић', 'Ђурагић', 'Ђуракић', 'Ђурђић', 'Ђуретић', 'Ђурић', 'Ђуричић', 'Ђуришић', 'Ђуркић', 'Ђусић', 'Евђенић', 'Егарић', 'Егерић', 'Егић', 'Екмечић', 'Екмеџић', 'Ергић', 'Еремић', 'Ерић', 'Ерлетић', 'Ерчић', 'Жагрић', 'Жарић', 'Жаркић', 'Жепинић', 'Жеравић', 'Жеравчић', 'Жерајић', 'Жестић', 'Живанић', 'Живанкић', 'Живић', 'Животић', 'Жигић', 'Жижић', 'Жикелић', 'Жикић', 'Жилетић', 'Жилић', 'Жмирић', 'Жмукић', 'Жмурић', 'Жугић', 'Жунић', 'Жутић', 'Жутобрадић', 'Забурнић', 'Завишић', 'Загорчић', 'Закић', 'Запукић', 'Зарадић', 'Зарић', 'Затежић', 'Захарић', 'Збиљић', 'Звекић', 'Звиздић', 'Здравић', 'Здујић', 'Зебић', 'Зекавичић', 'Зекић', 'Зелић', 'Зимоњић', 'Зинаић', 'Зинајић', 'Зисић', 'Зјајић', 'Зјалић', 'Зјачић', 'Златић', 'Зличић', 'Зловарић', 'Зојкић', 'Зокић', 'Золотић', 'Зорбић', 'Зорић', 'Зоричић', 'Зоркић', 'Зракић', 'Зрилић', 'Зрнић', 'Зубић', 'Зурнић', 'Ибрић', 'Иванић', 'Ивантић', 'Иванчић', 'Ивезић', 'Иветић', 'Ивић', 'Ивичић', 'Ивуцић', 'Игић', 'Игњатић', 'Игњић', 'Ијачић', 'Икић', 'Иконић', 'Илибашић', 'Илијић', 'Иликић', 'Илинчић', 'Илисић', 'Илић', 'Иличић', 'Илкић', 'Инђић', 'Ирић', 'Ичелић', 'Јабланчић', 'Јаворић', 'Јагличић', 'Јагодић', 'Јакић', 'Јакишић', 'Јаконић', 'Јакшић', 'Јалић', 'Јандрић', 'Јаникић', 'Јанић', 'Јаничић', 'Јанкелић', 'Јанкић', 'Јанојкић', 'Јанчић', 'Јанчурић', 'Јањић', 'Јањушић', 'Јарић', 'Јаснић', 'Јашић', 'Јевдоксић', 'Јевђенић', 'Јеверичић', 'Јевић', 'Јеврић', 'Јевтић', 'Јегдић', 'Јездић', 'Језеркић', 'Јелачић', 'Јелашић', 'Јеленић', 'Јелесић', 'Јеликић', 'Јелисавчић', 'Јелисић', 'Јелић', 'Јеличић', 'Јелушић', 'Јенић', 'Јергић', 'Јеремић', 'Јеринић', 'Јеринкић', 'Јеросимић', 'Јеротић', 'Јерчић', 'Јесретић', 'Јестротић', 'Јефтенић', 'Јефтић', 'Јечменић', 'Јешић', 'Јовакарић', 'Јовандић', 'Јованетић', 'Јованић', 'Јованкић', 'Јованчић', 'Јоваџић', 'Јовелић', 'Јовељић', 'Јоветић', 'Јовешић', 'Јовикић', 'Јовић', 'Јовичић', 'Јовишић', 'Јовкић', 'Јовонић', 'Јовчић', 'Јозић', 'Јојић', 'Јојчић', 'Јокић', 'Јокичић', 'Јоксић', 'Јолић', 'Јоникић', 'Јонић', 'Јоничић', 'Јонкић', 'Јонтић', 'Јончић', 'Јоргић', 'Јоргонић', 'Јосић', 'Јоцић', 'Јузбашић', 'Јукић', 'Јунгић', 'Јуришић', 'Јушкић', 'Кавалић', 'Кајганић', 'Калабић', 'Калајић', 'Калајџић', 'Календић', 'Каленић', 'Калинић', 'Камперелић', 'Кандић', 'Канлић', 'Кањерић', 'Каравидић', 'Карагић', 'Карајчић', 'Караклајић', 'Каралеић', 'Каралејић', 'Каралић', 'Карапанџић', 'Каратошић', 'Караулић', 'Караџић', 'Карић', 'Каришић', 'Карличић', 'Катанић', 'Катић', 'Каћурић', 'Качаниклић', 'Кашерић', 'Квргић', 'Кендришић', 'Кентрић', 'Кепић', 'Кесић', 'Кечкић', 'Кијачић', 'Кимчетић', 'Киселчић', 'Китанић', 'Китић', 'Китоњић', 'Кичић', 'Клевернић', 'Клепић', 'Клинић', 'Клипић', 'Клисарић', 'Клисурић', 'Кличарић', 'Кљајић', 'Кљакић', 'Кнежић', 'Кованушић', 'Кованџић', 'Коварбашић', 'Ковачић', 'Ковинић', 'Ковинчић', 'Ковјанић', 'Ковјенић', 'Ковљенић', 'Козић', 'Којанић', 'Којић', 'Којичић', 'Којчић', 'Којунџић', 'Колавчић', 'Коларић', 'Колачарић', 'Количић', 'Колунџић', 'Кољанчић', 'Комадинић', 'Комарчић', 'Комленић', 'Комненић', 'Кондић', 'Контић', 'Концулић', 'Коњикушић', 'Кораксић', 'Кордић', 'Коругић', 'Коружић', 'Косанић', 'Косић', 'Коснић', 'Косорић', 'Костић', 'Котарлић', 'Котлајић', 'Кочић', 'Коџопељић', 'Кошарић', 'Кошпић', 'Кошутић', 'Краварушић', 'Кравић', 'Крагић', 'Краинчанић', 'Крантић', 'Красавчић', 'Красић', 'Крезић', 'Крејић', 'Кремић', 'Кремоњић', 'Крестић', 'Кривошић', 'Кркељић', 'Кркић', 'Кркобабић', 'Крнетић', 'Крњајић', 'Крњеушић', 'Кромпић', 'Кротић', 'Крпић', 'Крсманић', 'Крсмић', 'Крстајић', 'Крстеканић', 'Крстинић', 'Крстић', 'Крстичић', 'Крстонић', 'Крстоношић', 'Кртинић', 'Крунић', 'Крушкоњић', 'Кршић', 'Кувељић', 'Кудрић', 'Кузмић', 'Кујавић', 'Кујачић', 'Кујунџић', 'Кукрић', 'Кулезић', 'Кулизић', 'Кулишић', 'Кулунџић', 'Куљанчић', 'Куљић', 'Кумрић', 'Курељушић', 'Курилић', 'Курсулић', 'Куруцић', 'Курчубић', 'Кусонић', 'Кусоњић', 'Кустурић', 'Кутлачић', 'Кутлешић', 'Кушић', 'Кушљић', 'Лаботић', 'Лаврнић', 'Лажетић', 'Лазендић', 'Лазетић', 'Лазић', 'Лазичић', 'Лазукић', 'Лајшић', 'Лакетић', 'Лакић', 'Лалић', 'Ламбић', 'Лапчић', 'Ластић', 'Латинчић', 'Лебурић', 'Лежаић', 'Лежајић', 'Леканић', 'Лекић', 'Лемаић', 'Лемајић', 'Лепосавић', 'Лесендрић', 'Лечић', 'Лештарић', 'Лијескић', 'Ликодрић', 'Ликушић', 'Лилић', 'Липовчић', 'Лисичић', 'Лишанчић', 'Ловрић', 'Лозанић', 'Лојаничић', 'Лолић', 'Ломић', 'Лопандић', 'Лубардић', 'Лубинић', 'Лубурић', 'Лугоњић', 'Лужаић', 'Лужајић', 'Лукајић', 'Лукачић', 'Лукендић', 'Лукић', 'Лукичић', 'Лунић', 'Луткић', 'Лучић', 'Љамић', 'Љеганушић', 'Љотић', 'Љубанић', 'Љубић', 'Љубичић', 'Љубишић', 'Љушић', 'Љушкић', 'Маглић', 'Мајкић', 'Макарић', 'Макивић', 'Макрагић', 'Максић', 'Малавразић', 'Малбашић', 'Маленчић', 'Малетић', 'Малешић', 'Малинић', 'Малишић', 'Малобабић', 'Малушић', 'Маљугић', 'Маљчић', 'Мандарић', 'Мандинић', 'Мандић', 'Мандушић', 'Манић', 'Манчић', 'Мањенчић', 'Маравић', 'Маринчић', 'Марић', 'Маричић', 'Маркагић', 'Маркелић', 'Маркељић', 'Маркулић', 'Мародић', 'Мартић', 'Марунић', 'Марункић', 'Марушић', 'Марчетић', 'Марчић', 'Масалушић', 'Масларић', 'Маслић', 'Масловарић', 'Матаругић', 'Матејић', 'Матерић', 'Матић', 'Матичић', 'Матушић', 'Маћешић', 'Маћић', 'Мачић', 'Мачкић', 'Мачужић', 'Машић', 'Медић', 'Медурић', 'Мектић', 'Месулић', 'Мијалчић', 'Мијанић', 'Мијачић', 'Мијић', 'Мијуцић', 'Микарић', 'Микелић', 'Микетић', 'Микић', 'Микичић', 'Микоњић', 'Микулић', 'Миладић', 'Милакић', 'Милачић', 'Милекић', 'Миленић', 'Милетић', 'Милеуснић', 'Милешић', 'Милијић', 'Миликић', 'Миликшић', 'Милинић', 'Милинчић', 'Милисавић', 'Миличић', 'Милић', 'Милишић', 'Милкић', 'Милоичић', 'Милојић', 'Милојичић', 'Милојкић', 'Милојчић', 'Милотић', 'Милунић', 'Милушић', 'Милчић', 'Миљанић', 'Миндић', 'Минић', 'Минчић', 'Миовчић', 'Миоданић', 'Мионић', 'Миражић', 'Мирић', 'Мирјанић', 'Миркић', 'Миросавић', 'Мирчетић', 'Мирчић', 'Мисојчић', 'Митић', 'Митранић', 'Митреканић', 'Митрић', 'Митрушић', 'Мићић', 'Михаљчић', 'Михољчић', 'Мишељић', 'Мишић', 'Мишкић', 'Мишурић', 'Младић', 'Млаџић', 'Мојсић', 'Мокрић', 'Момић', 'Морачић', 'Моретић', 'Мороквашић', 'Мотичић', 'Мракић', 'Мрачић', 'Мрдић', 'Мркић', 'Мркоњић', 'Мркушић', 'Мркшић', 'Мудринић', 'Мудрић', 'Мунишић', 'Мурганић', 'Мутавџић', 'Мутибарић', 'Мучибабић', 'Мушикић', 'Навалушић', 'Наградић', 'Нагулић', 'Надашкић', 'Најдић', 'Најкић', 'Накаламић', 'Накић', 'Наранчић', 'Наранџић', 'Настасић', 'Настић', 'Небригић', 'Невајдић', 'Невенић', 'Негоицић', 'Нединић', 'Недић', 'Некић', 'Немањић', 'Ненадић', 'Ненић', 'Неоричић', 'Нешић', 'Никезић', 'Никетић', 'Никитић', 'Николетић', 'Николешић', 'Николић', 'Николчић', 'Никшић', 'Нинић', 'Нинчић', 'Ничић', 'Нишавић', 'Нишић', 'Новалушић', 'Новарлић', 'Новачикић', 'Новић', 'Новичић', 'Новчић', 'Ножинић', 'Нојкић', 'Његић', 'Његрић', 'Њежић', 'Обренић', 'Одавић', 'Озимић', 'Ојданић', 'Ојкић', 'Окетић', 'Околић', 'Окулић', 'Оларић', 'Олић', 'Олујић', 'Ољачић', 'Опалић', 'Опарушић', 'Опачић', 'Оприкић', 'Опрић', 'Оприцић', 'Ораовчић', 'Орландић', 'Орлић', 'Осмајлић', 'Остојић', 'Оцокољић', 'Оџић', 'Павић', 'Павичић', 'Павлекић', 'Павличић', 'Павчић', 'Падић', 'Пајагић', 'Пајић', 'Пајичић', 'Пајкић', 'Пајтић', 'Палалић', 'Палангетић', 'Палигорић', 'Палић', 'Панинчић', 'Панић', 'Панишић', 'Пантелић', 'Пантић', 'Панчић', 'Панџић', 'Папић', 'Папрић', 'Папулић', 'Параментић', 'Параушић', 'Париводић', 'Парлић', 'Паројчић', 'Патрногић', 'Паунић', 'Пашић', 'Пејић', 'Пејичић', 'Пејушић', 'Пејчић', 'Пелагић', 'Пендић', 'Пенезић', 'Пенчић', 'Пепић', 'Перенић', 'Перић', 'Перичић', 'Перишић', 'Перјаничић', 'Перкић', 'Перотић', 'Перуничић', 'Перчић', 'Петканић', 'Петрикић', 'Петрић', 'Петричић', 'Петронић', 'Петрушић', 'Пеулић', 'Пецић', 'Печеничић', 'Пешић', 'Пикић', 'Пилиндавић', 'Пиљагић', 'Пиперчић', 'Пириватрић', 'Пирић', 'Писарић', 'Питулић', 'Пјанић', 'Пјевић', 'Плавић', 'Плавкић', 'Плављанић', 'Плавшић', 'Плазинић', 'Планинчић', 'Планић', 'Платанић', 'Плачић', 'Племић', 'Плескоњић', 'Плећић', 'Плинтић', 'Плиснић', 'Плоскић', 'Плочић', 'Пљакић', 'Пљеваљчић', 'Побулић', 'Подинић', 'Подрашчић', 'Подрић', 'Познанић', 'Познић', 'Појкић', 'Полић', 'Поломчић', 'Полугић', 'Поњавић', 'Поп Лазић', 'Попадић', 'Попарић', 'Попчић', 'Потребић', 'Поштић', 'Правдић', 'Пражић', 'Предић', 'Прекић', 'Прелић', 'Прендић', 'Прешић', 'Пржић', 'Прибић', 'Прибишић', 'Пригодић', 'Пријић', 'Прикић', 'Пришић', 'Проданић', 'Прокић', 'Прокопић', 'Пролић', 'Протић', 'Прошић', 'Пругинић', 'Прунић', 'Пршендић', 'Пуалић', 'Пувалић', 'Пувачић', 'Пударић', 'Пунишић', 'Пурешић', 'Пурић', 'Пуришић', 'Пуслојић', 'Пушељић', 'Равилић', 'Раданчић', 'Радељић', 'Радетић', 'Радешић', 'Радивојшић', 'Радикић', 'Радисавић', 'Радић', 'Радичић', 'Радишић', 'Раднић', 'Радоичић', 'Радојичић', 'Радојкић', 'Радојчић', 'Радонић', 'Радоњић', 'Радосавкић', 'Радотић', 'Радукић', 'Радулић', 'Радуљчић', 'Радуцић', 'Радушић', 'Разуменић', 'Раилић', 'Раичић', 'Рајачић', 'Рајић', 'Рајичић', 'Рајлић', 'Рајчетић', 'Рајчић', 'Рајшић', 'Ракезић', 'Ракетић', 'Ракинић', 'Ракитић', 'Ракић', 'Раконић', 'Ралетић', 'Ралић', 'Раљић', 'Рамић', 'Ранђић', 'Ранисавић', 'Ранкић', 'Ранчић', 'Раонић', 'Рапаић', 'Рапајић', 'Расулић', 'Раткелић', 'Раулић', 'Рацић', 'Рачић', 'Рашетић', 'Рашић', 'Рашљић', 'Регодић', 'Регулић', 'Рекалић', 'Рељић', 'Реметић', 'Рендулић', 'Репашић', 'Ресимић', 'Реџић', 'Рибарић', 'Рибошкић', 'Риђошић', 'Ризнић', 'Ринчић', 'Рисимић', 'Ристанић', 'Ристић', 'Рмандић', 'Рнић', 'Рогић', 'Роглић', 'Рогоњић', 'Рогулић', 'Родић', 'Розгић', 'Роквић', 'Рокнић', 'Роксандић', 'Роксић', 'Рољић', 'Романић', 'Ромић', 'Росић', 'Рошкић', 'Рувидић', 'Рудић', 'Рудоњић', 'Ружић', 'Ружичић', 'Ружојчић', 'Руменић', 'Рундић', 'Руњајић', 'Русалић', 'Рутешић', 'Рутонић', 'Рушкић', 'Сабљић', 'Савандић', 'Саватић', 'Савелић', 'Савељић', 'Савић', 'Савичић', 'Савкић', 'Савурдић', 'Савчић', 'Салатић', 'Самарџић', 'Сандић', 'Сапардић', 'Сарамандић', 'Сарић', 'Сатарић', 'Светличић', 'Свиларић', 'Својић', 'Секанић', 'Секулић', 'Селенић', 'Сендрић', 'Сенић', 'Сеничић', 'Сентић', 'Сетенчић', 'Сибинкић', 'Сибинчић', 'Сикимић', 'Симанић', 'Симендић', 'Симетић', 'Симић', 'Симурдић', 'Синђелић', 'Синђић', 'Синкић', 'Ситничић', 'Сјеничић', 'Скакић', 'Скелић', 'Скенџић', 'Скерлић', 'Скокић', 'Скочајић', 'Скочић', 'Скробић', 'Скулић', 'Славић', 'Славнић', 'Сладић', 'Словић', 'Смилић', 'Смиљанић', 'Смиљић', 'Смиљкић', 'Смољанић', 'Смрекић', 'Соврлић', 'Совтић', 'Сојкић', 'Сокић', 'Сокнић', 'Солдатић', 'Сорајић', 'Соскић', 'Софијанић', 'Софранић', 'Софренић', 'Софронић', 'Спаић', 'Спакић', 'Спарић', 'Спасенић', 'Спасић', 'Спенчић', 'Сперлић', 'Спирић', 'Спремић', 'Спужић', 'Средић', 'Сретић', 'Ставрић', 'Стајић', 'Стајкић', 'Стајчић', 'Стајшић', 'Стакић', 'Стакушић', 'Стаматић', 'Стамболић', 'Стаменић', 'Стаменчић', 'Станарчић', 'Станетић', 'Станикић', 'Станисавић', 'Станић', 'Станичић', 'Станишић', 'Станкић', 'Становчић', 'Станојчић', 'Станушић', 'Станчетић', 'Станчић', 'Сташић', 'Стевандић', 'Стеванетић', 'Стеванић', 'Стевелић', 'Стевић', 'Стевчић', 'Стегић', 'Стегњаић', 'Стегњајић', 'Стекић', 'Стељић', 'Степандић', 'Степанић', 'Степић', 'Стијачић', 'Стијепић', 'Стикић', 'Стјепић', 'Стожинић', 'Стојанић', 'Стојанкић', 'Стојанчић', 'Стојачић', 'Стојић', 'Стојичић', 'Стојкић', 'Стојнић', 'Стојчић', 'Стојшић', 'Стоканић', 'Стокић', 'Столић', 'Стопарић', 'Стопић', 'Стошић', 'Страјнић', 'Страхинић', 'Страхињић', 'Стринић', 'Суботић', 'Сувајџић', 'Суменић', 'Сунарић', 'Сурлић', 'Суручић', 'Тадић', 'Тајсић', 'Таминџић', 'Танасић', 'Танић', 'Танкосић', 'Танчић', 'Тарабић', 'Тасић', 'Татишић', 'Тврдишић', 'Теодосић', 'Тепић', 'Тепшић', 'Терзић', 'Теслић', 'Тешанић', 'Тешанкић', 'Тешендић', 'Тешинић', 'Тешић', 'Тијанић', 'Тимилић', 'Тимотић', 'Тирић', 'Тирнанић', 'Тмушић', 'Товаришић', 'Тодић', 'Тодорић', 'Тодосић', 'Тојић', 'Токалић', 'Тољагић', 'Томанић', 'Томецић', 'Томинчић', 'Томић', 'Томичић', 'Томоњић', 'Томчић', 'Тонтић', 'Тончић', 'Топић', 'Топличић', 'Тополић', 'Тоскић', 'Тошанић', 'Тошић', 'Траворић', 'Трапарић', 'Тренчић', 'Тривалић', 'Тривић', 'Тривунић', 'Тривунчић', 'Тријић', 'Трикић', 'Триндић', 'Трипић', 'Трифуњагић', 'Тришић', 'Трмчић', 'Трнинић', 'Трнић', 'Трошић', 'Трубајић', 'Трудић', 'Трујић', 'Трујкић', 'Тубоњић', 'Тукелић', 'Тумарић', 'Тупајић', 'Турајлић', 'Турнић', 'Турудић', 'Турунчић', 'Тутић', 'Туторић', 'Тутулић', 'Туфегџић', 'Туцић', 'Ћајић', 'Ћалић', 'Ћатић', 'Ћебић', 'Ћелић', 'Ћеранић', 'Ћипранић', 'Ћирић', 'Ћирјанић', 'Ћојбашић', 'Ћопић', 'Ћорић', 'Ћосић', 'Ћуић', 'Ћујић', 'Ћупић', 'Ћурдић', 'Ћурић', 'Ћурчић', 'Ћушић', 'Убавић', 'Убавкић', 'Увалић', 'Уверић', 'Угљешић', 'Угринић', 'Угринчић', 'Угричић', 'Удовичић', 'Удовчић', 'Умељић', 'Уметић', 'Умиљендић', 'Уршикић', 'Устић', 'Утвић', 'Ушендић', 'Фаркић', 'Фатић', 'Фемић', 'Филипић', 'Фотирић', 'Фотић', 'Фртунић', 'Хаџи Антић', 'Хаџи Јованчић', 'Хаџи Николић', 'Хаџи Ристић', 'Хаџи Танчић', 'Хаџић', 'Хинић', 'Христић', 'Цајић', 'Цакић', 'Царић', 'Царичић', 'Цвејић', 'Цветић', 'Цвијетић', 'Цвијић', 'Цвикић', 'Цвишић', 'Ценић', 'Ценкић', 'Цивишић', 'Циврић', 'Циглић', 'Циклушић', 'Цицварић', 'Цмиљанић', 'Цмолић', 'Цонић', 'Црновчић', 'Цуканић', 'Цукић', 'Цупарић', 'Чабрић', 'Чавић', 'Чајић', 'Чаленић', 'Чалић', 'Чамагић', 'Чантрић', 'Чапрњић', 'Чарапић', 'Чарнић', 'Чвокић', 'Чворић', 'Челекетић', 'Чемерикић', 'Чечарић', 'Чивчић', 'Чикарић', 'Чикић', 'Чиплић', 'Чипчић', 'Чичић', 'Чковрић', 'Чобелић', 'Чобељић', 'Човић', 'Чојић', 'Чојчић', 'Чоланић', 'Чолић', 'Чомић', 'Чонкић', 'Чоњагић', 'Чорбић', 'Чотрић', 'Чочурић', 'Чубрић', 'Чудић', 'Чукарић', 'Чукић', 'Чумић', 'Чупељић', 'Чуперкић', 'Чупић', 'Чутурић', 'Џаврић', 'Џајић', 'Џамбић', 'Џаџић', 'Џелебџић', 'Џикић', 'Џинић', 'Џодић', 'Џомбић', 'Џомић', 'Џонић', 'Шакић', 'Шакотић', 'Шалинић', 'Шаматић', 'Шантић', 'Шапић', 'Шапонић', 'Шапоњић', 'Шапурић', 'Шаранчић', 'Шарић', 'Шаркић', 'Шароњић', 'Шашић', 'Швабић', 'Шеварлић', 'Шевић', 'Шевкушић', 'Шестић', 'Шибалић', 'Шијакињић', 'Шијачић', 'Шиканић', 'Шикањић', 'Шимшић', 'Шипетић', 'Шишић', 'Шкобић', 'Шкодрић', 'Шкондрић', 'Шкорић', 'Шкрбић', 'Шкребић', 'Шкулић', 'Шкундрић', 'Шљапић', 'Шљивић', 'Шљукић', 'Шмигић', 'Шобајић', 'Шобачић', 'Шоргић', 'Шошкић', 'Шпирић', 'Штакић', 'Штулић', 'Шубакић', 'Шубарић', 'Шубић', 'Шулеић', 'Шулејић', 'Шулетић', 'Шулкић', 'Шулубурић', 'Шуљагић', 'Шуматић', 'Шундерић', 'Шункић', 'Шуњеварић', 'Шутуљић', 'Шушић', 'Шушулић', - ]; + /** + * @see http://sr.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%B0%D0%BA_%D1%81%D1%80%D0%BF%D1%81%D0%BA%D0%B8%D1%85_%D0%BF%D1%80%D0%B5%D0%B7%D0%B8%D0%BC%D0%B5%D0%BD%D0%B0_%D1%81%D0%B0_%D0%BD%D0%B0%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%BE%D0%BC_-%D0%B8%D1%9B + */ + protected static $lastName = [ + 'Абаџић', + 'Абдулић', + 'Абрамић', + 'Авалић', + 'Авдулић', + 'Аврић', + 'Агуридић', + 'Адамић', + 'Азарић', + 'Ајдачић', + 'Ајдучић', + 'Аксентић', + 'Аксић', + 'Алавантић', + 'Аладић', + 'Аларгић', + 'Албијанић', + 'Александрић', + 'Алексендрић', + 'Алексић', + 'Алимпић', + 'Аличић', + 'Аљанчић', + 'Амиџић', + 'Ананић', + 'Андић', + 'Андрејић', + 'Андријанић', + 'Андрић', + 'Андробић', + 'Анђелић', + 'Анђић', + 'Анђушић', + 'Анић', + 'Аничић', + 'Анкић', + 'Анојчић', + 'Анокић', + 'Антић', + 'Антонић', + 'Анушић', + 'Апелић', + 'Апић', + 'Арамбашић', + 'Ардалић', + 'Арсенић', + 'Арсић', + 'Атлагић', + 'Аћимић', + 'Аћић', + 'Ацић', + 'Ачић', + 'Аџић', + 'Ашкрабић', + 'Ашћерић', + 'Бабарогић', + 'Бабић', + 'Баварчић', + 'Бавељић', + 'Бадрић', + 'Бајагић', + 'Бајандић', + 'Бајић', + 'Бајичић', + 'Бајкић', + 'Бајчетић', + 'Бајчић', + 'Бакић', + 'Балетић', + 'Балотић', + 'Балтић', + 'Балшић', + 'Банзић', + 'Банић', + 'Бантулић', + 'Бањалић', + 'Баралић', + 'Барић', + 'Баришић', + 'Барошевчић', + 'Басарић', + 'Бастајић', + 'Басташић', + 'Батавељић', + 'Батинић', + 'Батножић', + 'Баћић', + 'Бацетић', + 'Бачић', + 'Бачкулић', + 'Башић', + 'Баштић', + 'Бебић', + 'Бегенишић', + 'Бежанић', + 'Бекчић', + 'Беланчић', + 'Белић', + 'Белогрлић', + 'Белодедић', + 'Белонић', + 'Бељић', + 'Бендић', + 'Берилажић', + 'Берић', + 'Беседић', + 'Бесједић', + 'Биберчић', + 'Биберџић', + 'Бибић', + 'Бижић', + 'Бизетић', + 'Бизумић', + 'Бијанић', + 'Бијелић', + 'Бијелонић', + 'Билибајкић', + 'Билић', + 'Билкић', + 'Биљић', + 'Биљурић', + 'Бинић', + 'Биришић', + 'Бисенић', + 'Бисерић', + 'Бисерчић', + 'Бисић', + 'Бјекић', + 'Бјелетић', + 'Бјелинић', + 'Бјелић', + 'Бјеличић', + 'Бјелкић', + 'Бјеловитић', + 'Бјелогрлић', + 'Бјелонић', + 'Бјелотомић', + 'Благић', + 'Благотић', + 'Блажарић', + 'Блажетић', + 'Блажић', + 'Блатешић', + 'Блендић', + 'Блесић', + 'Блечић', + 'Блешић', + 'Боберић', + 'Бобић', + 'Бобушић', + 'Богатић', + 'Богданић', + 'Богетић', + 'Богић', + 'Богичић', + 'Бодирогић', + 'Бодирожић', + 'Бодић', + 'Бодрожић', + 'Божанић', + 'Божикић', + 'Божић', + 'Божичић', + 'Бојадић', + 'Бојанић', + 'Бојић', + 'Бојичић', + 'Бојкић', + 'Бојчетић', + 'Бојчић', + 'Боканић', + 'Бокоњић', + 'Болић', + 'Болтић', + 'Бољанић', + 'Бонтић', + 'Бонџић', + 'Бонџулић', + 'Борикић', + 'Борић', + 'Боричић', + 'Боришић', + 'Борјанић', + 'Борокић', + 'Боротић', + 'Борчић', + 'Босанчић', + 'Босиљкић', + 'Босиљчић', + 'Босиорчић', + 'Босиочић', + 'Босић', + 'Боснић', + 'Боторић', + 'Боцић', + 'Боцокић', + 'Бошњачић', + 'Боштрунић', + 'Брадарић', + 'Брадић', + 'Брадоњић', + 'Брајић', + 'Бралетић', + 'Бралић', + 'Бралушић', + 'Бранчић', + 'Братић', + 'Братоножић', + 'Брашић', + 'Брдарић', + 'Брежанчић', + 'Брезић', + 'Брекић', + 'Брзић', + 'Брисић', + 'Брканлић', + 'Бркић', + 'Брндушић', + 'Бродалић', + 'Бродић', + 'Броћић', + 'Бруић', + 'Брујић', + 'Брукић', + 'Бубић', + 'Бубоњић', + 'Бугарчић', + 'Будалић', + 'Будимкић', + 'Будимчић', + 'Будинчић', + 'Будић', + 'Будишић', + 'Буднић', + 'Будурић', + 'Бузаретић', + 'Бујагић', + 'Бујандрић', + 'Бујић', + 'Бујишић', + 'Бујуклић', + 'Буказић', + 'Буквић', + 'Букелић', + 'Буковчић', + 'Букоњић', + 'Букумирић', + 'Букушић', + 'Булајић', + 'Булић', + 'Буљубашић', + 'Буљугић', + 'Бумбић', + 'Бунарџић', + 'Бунић', + 'Бунчић', + 'Бургић', + 'Бурић', + 'Бурлић', + 'Бусанчић', + 'Буцкић', + 'Бучић', + 'Бушетић', + 'Бушић', + 'Вагић', + 'Вагурић', + 'Вајић', + 'Вајкарић', + 'Вакичић', + 'Ванушић', + 'Варагић', + 'Вараклић', + 'Вардалић', + 'Варјачић', + 'Варничић', + 'Васелић', + 'Василић', + 'Васић', + 'Вашалић', + 'Векић', + 'Велетић', + 'Великић', + 'Величић', + 'Велишић', + 'Вељанчић', + 'Вељић', + 'Вемић', + 'Вербић', + 'Вербункић', + 'Вергић', + 'Верић', + 'Веркић', + 'Веселић', + 'Веселичић', + 'Весић', + 'Веснић', + 'Видарић', + 'Видачић', + 'Видеканић', + 'Видић', + 'Вилендечић', + 'Вилотић', + 'Винокић', + 'Винчић', + 'Виорикић', + 'Витакић', + 'Витолић', + 'Вићентић', + 'Вишић', + 'Владетић', + 'Владић', + 'Владичић', + 'Владушић', + 'Влајић', + 'Влајнић', + 'Влајчић', + 'Влакетић', + 'Власинић', + 'Власоњић', + 'Властић', + 'Влачић', + 'Влашкалић', + 'Војичић', + 'Војкић', + 'Војчић', + 'Воргић', + 'Воркапић', + 'Воћкић', + 'Воштинић', + 'Воштић', + 'Вранић', + 'Вранчић', + 'Вратоњић', + 'Врачарић', + 'Врекић', + 'Врећић', + 'Врзић', + 'Вртунић', + 'Вругић', + 'Вујанић', + 'Вујанушић', + 'Вујачић', + 'Вујетић', + 'Вујинић', + 'Вујисић', + 'Вујић', + 'Вујичић', + 'Вујнић', + 'Вујчетић', + 'Вуканић', + 'Вукелић', + 'Вукић', + 'Вукоичић', + 'Вукојичић', + 'Вукојчић', + 'Вуколић', + 'Вукоманчић', + 'Вукосавић', + 'Вукотић', + 'Вукшић', + 'Вулетић', + 'Вулешић', + 'Вуликић', + 'Вулић', + 'Вулишић', + 'Вуцелић', + 'Вучелић', + 'Вучендић', + 'Вученић', + 'Вучетић', + 'Вучинић', + 'Вучић', + 'Гаварић', + 'Гавранић', + 'Гавранчић', + 'Гаврић', + 'Гагић', + 'Гагричић', + 'Гајанић', + 'Гајетић', + 'Гајић', + 'Гајичић', + 'Гајтанић', + 'Галетић', + 'Галић', + 'Галонић', + 'Галоњић', + 'Гамбелић', + 'Гарачић', + 'Гардић', + 'Гарић', + 'Гаротић', + 'Гатарић', + 'Гачић', + 'Гаџић', + 'Гашић', + 'Гвозденић', + 'Гвоздић', + 'Гвоић', + 'Гвојић', + 'Генчић', + 'Герзић', + 'Гиздавић', + 'Гилић', + 'Главендекић', + 'Главинић', + 'Главонић', + 'Главоњић', + 'Главчић', + 'Гламочић', + 'Гледић', + 'Глежнић', + 'Глибетић', + 'Глигић', + 'Глигорић', + 'Глигурић', + 'Глинтић', + 'Глишић', + 'Глогињић', + 'Гломазић', + 'Глувајић', + 'Глумичић', + 'Гмизић', + 'Гњатић', + 'Гобељић', + 'Гогић', + 'Гојгић', + 'Гонцић', + 'Горанић', + 'Горанчић', + 'Горданић', + 'Гордић', + 'Гороњић', + 'Госпавић', + 'Гостић', + 'Гостојић', + 'Гоцић', + 'Гошњић', + 'Грабић', + 'Грабовчић', + 'Градић', + 'Грамић', + 'Грандић', + 'Гранолић', + 'Гранулић', + 'Граонић', + 'Грашић', + 'Грбић', + 'Гречић', + 'Гркинић', + 'Грозданић', + 'Гроздић', + 'Гроканић', + 'Громилић', + 'Грубачић', + 'Грубетић', + 'Грубешић', + 'Грубић', + 'Грубишић', + 'Грубјешић', + 'Грубљешић', + 'Грубнић', + 'Гружанић', + 'Грујанић', + 'Грујић', + 'Грујичић', + 'Грумић', + 'Губеринић', + 'Гудурић', + 'Гужвић', + 'Гујаничић', + 'Гурешић', + 'Гуцонић', + 'Гуџулић', + 'Гушић', + 'Дабарчић', + 'Дабетић', + 'Дабић', + 'Давинић', + 'Дајић', + 'Дајлић', + 'Дамјанић', + 'Дангић', + 'Дангубић', + 'Даничић', + 'Данојлић', + 'Дардић', + 'Дафунић', + 'Дачић', + 'Двокић', + 'Дворанчић', + 'Дворнић', + 'Дебелногић', + 'Девеџић', + 'Дедић', + 'Дејанић', + 'Делић', + 'Демић', + 'Демоњић', + 'Денић', + 'Денкић', + 'Денчић', + 'Дерајић', + 'Деретић', + 'Дерикоњић', + 'Дероњић', + 'Десанчић', + 'Деспенић', + 'Деспинић', + 'Деспић', + 'Деурић', + 'Дешић', + 'Дивић', + 'Дивнић', + 'Дивчић', + 'Дикић', + 'Диклић', + 'Дикосавић', + 'Диманић', + 'Димитрић', + 'Димић', + 'Димкић', + 'Димчић', + 'Динић', + 'Динкић', + 'Динчић', + 'Дискић', + 'Дичић', + 'Добранић', + 'Добратић', + 'Добрић', + 'Добричић', + 'Довијанић', + 'Доганџић', + 'Догањић', + 'Додић', + 'Докић', + 'Докнић', + 'Долинић', + 'Дончић', + 'Доронтић', + 'Достанић', + 'Достић', + 'Достичић', + 'Дотлић', + 'Дравић', + 'Драганић', + 'Драгинчић', + 'Драгић', + 'Драгишић', + 'Драгољић', + 'Драгоњић', + 'Драгославић', + 'Драготић', + 'Драгушић', + 'Дражић', + 'Драјић', + 'Дракулић', + 'Драмлић', + 'Дрангић', + 'Драшкић', + 'Дрезгић', + 'Дрекић', + 'Дренић', + 'Дринић', + 'Дринчић', + 'Дружетић', + 'Друлић', + 'Дрчелић', + 'Дубајић', + 'Дубачкић', + 'Дубоњић', + 'Дугалић', + 'Дугић', + 'Дугоњић', + 'Дудић', + 'Дукић', + 'Думањић', + 'Думељић', + 'Думитрикић', + 'Думнић', + 'Думонић', + 'Дунчић', + 'Дуњић', + 'Дуроњић', + 'Дучић', + 'Душанић', + 'Ђајић', + 'Ђакушић', + 'Ђапић', + 'Ђекић', + 'Ђелић', + 'Ђелкапић', + 'Ђенадић', + 'Ђенисић', + 'Ђенић', + 'Ђерић', + 'Ђикић', + 'Ђинђић', + 'Ђокић', + 'Ђорђић', + 'Ђорић', + 'Ђузић', + 'Ђујић', + 'Ђукарић', + 'Ђукелић', + 'Ђукетић', + 'Ђукић', + 'Ђукнић', + 'Ђурагић', + 'Ђуракић', + 'Ђурђић', + 'Ђуретић', + 'Ђурић', + 'Ђуричић', + 'Ђуришић', + 'Ђуркић', + 'Ђусић', + 'Евђенић', + 'Егарић', + 'Егерић', + 'Егић', + 'Екмечић', + 'Екмеџић', + 'Ергић', + 'Еремић', + 'Ерић', + 'Ерлетић', + 'Ерчић', + 'Жагрић', + 'Жарић', + 'Жаркић', + 'Жепинић', + 'Жеравић', + 'Жеравчић', + 'Жерајић', + 'Жестић', + 'Живанић', + 'Живанкић', + 'Живић', + 'Животић', + 'Жигић', + 'Жижић', + 'Жикелић', + 'Жикић', + 'Жилетић', + 'Жилић', + 'Жмирић', + 'Жмукић', + 'Жмурић', + 'Жугић', + 'Жунић', + 'Жутић', + 'Жутобрадић', + 'Забурнић', + 'Завишић', + 'Загорчић', + 'Закић', + 'Запукић', + 'Зарадић', + 'Зарић', + 'Затежић', + 'Захарић', + 'Збиљић', + 'Звекић', + 'Звиздић', + 'Здравић', + 'Здујић', + 'Зебић', + 'Зекавичић', + 'Зекић', + 'Зелић', + 'Зимоњић', + 'Зинаић', + 'Зинајић', + 'Зисић', + 'Зјајић', + 'Зјалић', + 'Зјачић', + 'Златић', + 'Зличић', + 'Зловарић', + 'Зојкић', + 'Зокић', + 'Золотић', + 'Зорбић', + 'Зорић', + 'Зоричић', + 'Зоркић', + 'Зракић', + 'Зрилић', + 'Зрнић', + 'Зубић', + 'Зурнић', + 'Ибрић', + 'Иванић', + 'Ивантић', + 'Иванчић', + 'Ивезић', + 'Иветић', + 'Ивић', + 'Ивичић', + 'Ивуцић', + 'Игић', + 'Игњатић', + 'Игњић', + 'Ијачић', + 'Икић', + 'Иконић', + 'Илибашић', + 'Илијић', + 'Иликић', + 'Илинчић', + 'Илисић', + 'Илић', + 'Иличић', + 'Илкић', + 'Инђић', + 'Ирић', + 'Ичелић', + 'Јабланчић', + 'Јаворић', + 'Јагличић', + 'Јагодић', + 'Јакић', + 'Јакишић', + 'Јаконић', + 'Јакшић', + 'Јалић', + 'Јандрић', + 'Јаникић', + 'Јанић', + 'Јаничић', + 'Јанкелић', + 'Јанкић', + 'Јанојкић', + 'Јанчић', + 'Јанчурић', + 'Јањић', + 'Јањушић', + 'Јарић', + 'Јаснић', + 'Јашић', + 'Јевдоксић', + 'Јевђенић', + 'Јеверичић', + 'Јевић', + 'Јеврић', + 'Јевтић', + 'Јегдић', + 'Јездић', + 'Језеркић', + 'Јелачић', + 'Јелашић', + 'Јеленић', + 'Јелесић', + 'Јеликић', + 'Јелисавчић', + 'Јелисић', + 'Јелић', + 'Јеличић', + 'Јелушић', + 'Јенић', + 'Јергић', + 'Јеремић', + 'Јеринић', + 'Јеринкић', + 'Јеросимић', + 'Јеротић', + 'Јерчић', + 'Јесретић', + 'Јестротић', + 'Јефтенић', + 'Јефтић', + 'Јечменић', + 'Јешић', + 'Јовакарић', + 'Јовандић', + 'Јованетић', + 'Јованић', + 'Јованкић', + 'Јованчић', + 'Јоваџић', + 'Јовелић', + 'Јовељић', + 'Јоветић', + 'Јовешић', + 'Јовикић', + 'Јовић', + 'Јовичић', + 'Јовишић', + 'Јовкић', + 'Јовонић', + 'Јовчић', + 'Јозић', + 'Јојић', + 'Јојчић', + 'Јокић', + 'Јокичић', + 'Јоксић', + 'Јолић', + 'Јоникић', + 'Јонић', + 'Јоничић', + 'Јонкић', + 'Јонтић', + 'Јончић', + 'Јоргић', + 'Јоргонић', + 'Јосић', + 'Јоцић', + 'Јузбашић', + 'Јукић', + 'Јунгић', + 'Јуришић', + 'Јушкић', + 'Кавалић', + 'Кајганић', + 'Калабић', + 'Калајић', + 'Калајџић', + 'Календић', + 'Каленић', + 'Калинић', + 'Камперелић', + 'Кандић', + 'Канлић', + 'Кањерић', + 'Каравидић', + 'Карагић', + 'Карајчић', + 'Караклајић', + 'Каралеић', + 'Каралејић', + 'Каралић', + 'Карапанџић', + 'Каратошић', + 'Караулић', + 'Караџић', + 'Карић', + 'Каришић', + 'Карличић', + 'Катанић', + 'Катић', + 'Каћурић', + 'Качаниклић', + 'Кашерић', + 'Квргић', + 'Кендришић', + 'Кентрић', + 'Кепић', + 'Кесић', + 'Кечкић', + 'Кијачић', + 'Кимчетић', + 'Киселчић', + 'Китанић', + 'Китић', + 'Китоњић', + 'Кичић', + 'Клевернић', + 'Клепић', + 'Клинић', + 'Клипић', + 'Клисарић', + 'Клисурић', + 'Кличарић', + 'Кљајић', + 'Кљакић', + 'Кнежић', + 'Кованушић', + 'Кованџић', + 'Коварбашић', + 'Ковачић', + 'Ковинић', + 'Ковинчић', + 'Ковјанић', + 'Ковјенић', + 'Ковљенић', + 'Козић', + 'Којанић', + 'Којић', + 'Којичић', + 'Којчић', + 'Којунџић', + 'Колавчић', + 'Коларић', + 'Колачарић', + 'Количић', + 'Колунџић', + 'Кољанчић', + 'Комадинић', + 'Комарчић', + 'Комленић', + 'Комненић', + 'Кондић', + 'Контић', + 'Концулић', + 'Коњикушић', + 'Кораксић', + 'Кордић', + 'Коругић', + 'Коружић', + 'Косанић', + 'Косић', + 'Коснић', + 'Косорић', + 'Костић', + 'Котарлић', + 'Котлајић', + 'Кочић', + 'Коџопељић', + 'Кошарић', + 'Кошпић', + 'Кошутић', + 'Краварушић', + 'Кравић', + 'Крагић', + 'Краинчанић', + 'Крантић', + 'Красавчић', + 'Красић', + 'Крезић', + 'Крејић', + 'Кремић', + 'Кремоњић', + 'Крестић', + 'Кривошић', + 'Кркељић', + 'Кркић', + 'Кркобабић', + 'Крнетић', + 'Крњајић', + 'Крњеушић', + 'Кромпић', + 'Кротић', + 'Крпић', + 'Крсманић', + 'Крсмић', + 'Крстајић', + 'Крстеканић', + 'Крстинић', + 'Крстић', + 'Крстичић', + 'Крстонић', + 'Крстоношић', + 'Кртинић', + 'Крунић', + 'Крушкоњић', + 'Кршић', + 'Кувељић', + 'Кудрић', + 'Кузмић', + 'Кујавић', + 'Кујачић', + 'Кујунџић', + 'Кукрић', + 'Кулезић', + 'Кулизић', + 'Кулишић', + 'Кулунџић', + 'Куљанчић', + 'Куљић', + 'Кумрић', + 'Курељушић', + 'Курилић', + 'Курсулић', + 'Куруцић', + 'Курчубић', + 'Кусонић', + 'Кусоњић', + 'Кустурић', + 'Кутлачић', + 'Кутлешић', + 'Кушић', + 'Кушљић', + 'Лаботић', + 'Лаврнић', + 'Лажетић', + 'Лазендић', + 'Лазетић', + 'Лазић', + 'Лазичић', + 'Лазукић', + 'Лајшић', + 'Лакетић', + 'Лакић', + 'Лалић', + 'Ламбић', + 'Лапчић', + 'Ластић', + 'Латинчић', + 'Лебурић', + 'Лежаић', + 'Лежајић', + 'Леканић', + 'Лекић', + 'Лемаић', + 'Лемајић', + 'Лепосавић', + 'Лесендрић', + 'Лечић', + 'Лештарић', + 'Лијескић', + 'Ликодрић', + 'Ликушић', + 'Лилић', + 'Липовчић', + 'Лисичић', + 'Лишанчић', + 'Ловрић', + 'Лозанић', + 'Лојаничић', + 'Лолић', + 'Ломић', + 'Лопандић', + 'Лубардић', + 'Лубинић', + 'Лубурић', + 'Лугоњић', + 'Лужаић', + 'Лужајић', + 'Лукајић', + 'Лукачић', + 'Лукендић', + 'Лукић', + 'Лукичић', + 'Лунић', + 'Луткић', + 'Лучић', + 'Љамић', + 'Љеганушић', + 'Љотић', + 'Љубанић', + 'Љубић', + 'Љубичић', + 'Љубишић', + 'Љушић', + 'Љушкић', + 'Маглић', + 'Мајкић', + 'Макарић', + 'Макивић', + 'Макрагић', + 'Максић', + 'Малавразић', + 'Малбашић', + 'Маленчић', + 'Малетић', + 'Малешић', + 'Малинић', + 'Малишић', + 'Малобабић', + 'Малушић', + 'Маљугић', + 'Маљчић', + 'Мандарић', + 'Мандинић', + 'Мандић', + 'Мандушић', + 'Манић', + 'Манчић', + 'Мањенчић', + 'Маравић', + 'Маринчић', + 'Марић', + 'Маричић', + 'Маркагић', + 'Маркелић', + 'Маркељић', + 'Маркулић', + 'Мародић', + 'Мартић', + 'Марунић', + 'Марункић', + 'Марушић', + 'Марчетић', + 'Марчић', + 'Масалушић', + 'Масларић', + 'Маслић', + 'Масловарић', + 'Матаругић', + 'Матејић', + 'Матерић', + 'Матић', + 'Матичић', + 'Матушић', + 'Маћешић', + 'Маћић', + 'Мачић', + 'Мачкић', + 'Мачужић', + 'Машић', + 'Медић', + 'Медурић', + 'Мектић', + 'Месулић', + 'Мијалчић', + 'Мијанић', + 'Мијачић', + 'Мијић', + 'Мијуцић', + 'Микарић', + 'Микелић', + 'Микетић', + 'Микић', + 'Микичић', + 'Микоњић', + 'Микулић', + 'Миладић', + 'Милакић', + 'Милачић', + 'Милекић', + 'Миленић', + 'Милетић', + 'Милеуснић', + 'Милешић', + 'Милијић', + 'Миликић', + 'Миликшић', + 'Милинић', + 'Милинчић', + 'Милисавић', + 'Миличић', + 'Милић', + 'Милишић', + 'Милкић', + 'Милоичић', + 'Милојић', + 'Милојичић', + 'Милојкић', + 'Милојчић', + 'Милотић', + 'Милунић', + 'Милушић', + 'Милчић', + 'Миљанић', + 'Миндић', + 'Минић', + 'Минчић', + 'Миовчић', + 'Миоданић', + 'Мионић', + 'Миражић', + 'Мирић', + 'Мирјанић', + 'Миркић', + 'Миросавић', + 'Мирчетић', + 'Мирчић', + 'Мисојчић', + 'Митић', + 'Митранић', + 'Митреканић', + 'Митрић', + 'Митрушић', + 'Мићић', + 'Михаљчић', + 'Михољчић', + 'Мишељић', + 'Мишић', + 'Мишкић', + 'Мишурић', + 'Младић', + 'Млаџић', + 'Мојсић', + 'Мокрић', + 'Момић', + 'Морачић', + 'Моретић', + 'Мороквашић', + 'Мотичић', + 'Мракић', + 'Мрачић', + 'Мрдић', + 'Мркић', + 'Мркоњић', + 'Мркушић', + 'Мркшић', + 'Мудринић', + 'Мудрић', + 'Мунишић', + 'Мурганић', + 'Мутавџић', + 'Мутибарић', + 'Мучибабић', + 'Мушикић', + 'Навалушић', + 'Наградић', + 'Нагулић', + 'Надашкић', + 'Најдић', + 'Најкић', + 'Накаламић', + 'Накић', + 'Наранчић', + 'Наранџић', + 'Настасић', + 'Настић', + 'Небригић', + 'Невајдић', + 'Невенић', + 'Негоицић', + 'Нединић', + 'Недић', + 'Некић', + 'Немањић', + 'Ненадић', + 'Ненић', + 'Неоричић', + 'Нешић', + 'Никезић', + 'Никетић', + 'Никитић', + 'Николетић', + 'Николешић', + 'Николић', + 'Николчић', + 'Никшић', + 'Нинић', + 'Нинчић', + 'Ничић', + 'Нишавић', + 'Нишић', + 'Новалушић', + 'Новарлић', + 'Новачикић', + 'Новић', + 'Новичић', + 'Новчић', + 'Ножинић', + 'Нојкић', + 'Његић', + 'Његрић', + 'Њежић', + 'Обренић', + 'Одавић', + 'Озимић', + 'Ојданић', + 'Ојкић', + 'Окетић', + 'Околић', + 'Окулић', + 'Оларић', + 'Олић', + 'Олујић', + 'Ољачић', + 'Опалић', + 'Опарушић', + 'Опачић', + 'Оприкић', + 'Опрић', + 'Оприцић', + 'Ораовчић', + 'Орландић', + 'Орлић', + 'Осмајлић', + 'Остојић', + 'Оцокољић', + 'Оџић', + 'Павић', + 'Павичић', + 'Павлекић', + 'Павличић', + 'Павчић', + 'Падић', + 'Пајагић', + 'Пајић', + 'Пајичић', + 'Пајкић', + 'Пајтић', + 'Палалић', + 'Палангетић', + 'Палигорић', + 'Палић', + 'Панинчић', + 'Панић', + 'Панишић', + 'Пантелић', + 'Пантић', + 'Панчић', + 'Панџић', + 'Папић', + 'Папрић', + 'Папулић', + 'Параментић', + 'Параушић', + 'Париводић', + 'Парлић', + 'Паројчић', + 'Патрногић', + 'Паунић', + 'Пашић', + 'Пејић', + 'Пејичић', + 'Пејушић', + 'Пејчић', + 'Пелагић', + 'Пендић', + 'Пенезић', + 'Пенчић', + 'Пепић', + 'Перенић', + 'Перић', + 'Перичић', + 'Перишић', + 'Перјаничић', + 'Перкић', + 'Перотић', + 'Перуничић', + 'Перчић', + 'Петканић', + 'Петрикић', + 'Петрић', + 'Петричић', + 'Петронић', + 'Петрушић', + 'Пеулић', + 'Пецић', + 'Печеничић', + 'Пешић', + 'Пикић', + 'Пилиндавић', + 'Пиљагић', + 'Пиперчић', + 'Пириватрић', + 'Пирић', + 'Писарић', + 'Питулић', + 'Пјанић', + 'Пјевић', + 'Плавић', + 'Плавкић', + 'Плављанић', + 'Плавшић', + 'Плазинић', + 'Планинчић', + 'Планић', + 'Платанић', + 'Плачић', + 'Племић', + 'Плескоњић', + 'Плећић', + 'Плинтић', + 'Плиснић', + 'Плоскић', + 'Плочић', + 'Пљакић', + 'Пљеваљчић', + 'Побулић', + 'Подинић', + 'Подрашчић', + 'Подрић', + 'Познанић', + 'Познић', + 'Појкић', + 'Полић', + 'Поломчић', + 'Полугић', + 'Поњавић', + 'Поп Лазић', + 'Попадић', + 'Попарић', + 'Попчић', + 'Потребић', + 'Поштић', + 'Правдић', + 'Пражић', + 'Предић', + 'Прекић', + 'Прелић', + 'Прендић', + 'Прешић', + 'Пржић', + 'Прибић', + 'Прибишић', + 'Пригодић', + 'Пријић', + 'Прикић', + 'Пришић', + 'Проданић', + 'Прокић', + 'Прокопић', + 'Пролић', + 'Протић', + 'Прошић', + 'Пругинић', + 'Прунић', + 'Пршендић', + 'Пуалић', + 'Пувалић', + 'Пувачић', + 'Пударић', + 'Пунишић', + 'Пурешић', + 'Пурић', + 'Пуришић', + 'Пуслојић', + 'Пушељић', + 'Равилић', + 'Раданчић', + 'Радељић', + 'Радетић', + 'Радешић', + 'Радивојшић', + 'Радикић', + 'Радисавић', + 'Радић', + 'Радичић', + 'Радишић', + 'Раднић', + 'Радоичић', + 'Радојичић', + 'Радојкић', + 'Радојчић', + 'Радонић', + 'Радоњић', + 'Радосавкић', + 'Радотић', + 'Радукић', + 'Радулић', + 'Радуљчић', + 'Радуцић', + 'Радушић', + 'Разуменић', + 'Раилић', + 'Раичић', + 'Рајачић', + 'Рајић', + 'Рајичић', + 'Рајлић', + 'Рајчетић', + 'Рајчић', + 'Рајшић', + 'Ракезић', + 'Ракетић', + 'Ракинић', + 'Ракитић', + 'Ракић', + 'Раконић', + 'Ралетић', + 'Ралић', + 'Раљић', + 'Рамић', + 'Ранђић', + 'Ранисавић', + 'Ранкић', + 'Ранчић', + 'Раонић', + 'Рапаић', + 'Рапајић', + 'Расулић', + 'Раткелић', + 'Раулић', + 'Рацић', + 'Рачић', + 'Рашетић', + 'Рашић', + 'Рашљић', + 'Регодић', + 'Регулић', + 'Рекалић', + 'Рељић', + 'Реметић', + 'Рендулић', + 'Репашић', + 'Ресимић', + 'Реџић', + 'Рибарић', + 'Рибошкић', + 'Риђошић', + 'Ризнић', + 'Ринчић', + 'Рисимић', + 'Ристанић', + 'Ристић', + 'Рмандић', + 'Рнић', + 'Рогић', + 'Роглић', + 'Рогоњић', + 'Рогулић', + 'Родић', + 'Розгић', + 'Роквић', + 'Рокнић', + 'Роксандић', + 'Роксић', + 'Рољић', + 'Романић', + 'Ромић', + 'Росић', + 'Рошкић', + 'Рувидић', + 'Рудић', + 'Рудоњић', + 'Ружић', + 'Ружичић', + 'Ружојчић', + 'Руменић', + 'Рундић', + 'Руњајић', + 'Русалић', + 'Рутешић', + 'Рутонић', + 'Рушкић', + 'Сабљић', + 'Савандић', + 'Саватић', + 'Савелић', + 'Савељић', + 'Савић', + 'Савичић', + 'Савкић', + 'Савурдић', + 'Савчић', + 'Салатић', + 'Самарџић', + 'Сандић', + 'Сапардић', + 'Сарамандић', + 'Сарић', + 'Сатарић', + 'Светличић', + 'Свиларић', + 'Својић', + 'Секанић', + 'Секулић', + 'Селенић', + 'Сендрић', + 'Сенић', + 'Сеничић', + 'Сентић', + 'Сетенчић', + 'Сибинкић', + 'Сибинчић', + 'Сикимић', + 'Симанић', + 'Симендић', + 'Симетић', + 'Симић', + 'Симурдић', + 'Синђелић', + 'Синђић', + 'Синкић', + 'Ситничић', + 'Сјеничић', + 'Скакић', + 'Скелић', + 'Скенџић', + 'Скерлић', + 'Скокић', + 'Скочајић', + 'Скочић', + 'Скробић', + 'Скулић', + 'Славић', + 'Славнић', + 'Сладић', + 'Словић', + 'Смилић', + 'Смиљанић', + 'Смиљић', + 'Смиљкић', + 'Смољанић', + 'Смрекић', + 'Соврлић', + 'Совтић', + 'Сојкић', + 'Сокић', + 'Сокнић', + 'Солдатић', + 'Сорајић', + 'Соскић', + 'Софијанић', + 'Софранић', + 'Софренић', + 'Софронић', + 'Спаић', + 'Спакић', + 'Спарић', + 'Спасенић', + 'Спасић', + 'Спенчић', + 'Сперлић', + 'Спирић', + 'Спремић', + 'Спужић', + 'Средић', + 'Сретић', + 'Ставрић', + 'Стајић', + 'Стајкић', + 'Стајчић', + 'Стајшић', + 'Стакић', + 'Стакушић', + 'Стаматић', + 'Стамболић', + 'Стаменић', + 'Стаменчић', + 'Станарчић', + 'Станетић', + 'Станикић', + 'Станисавић', + 'Станић', + 'Станичић', + 'Станишић', + 'Станкић', + 'Становчић', + 'Станојчић', + 'Станушић', + 'Станчетић', + 'Станчић', + 'Сташић', + 'Стевандић', + 'Стеванетић', + 'Стеванић', + 'Стевелић', + 'Стевић', + 'Стевчић', + 'Стегић', + 'Стегњаић', + 'Стегњајић', + 'Стекић', + 'Стељић', + 'Степандић', + 'Степанић', + 'Степић', + 'Стијачић', + 'Стијепић', + 'Стикић', + 'Стјепић', + 'Стожинић', + 'Стојанић', + 'Стојанкић', + 'Стојанчић', + 'Стојачић', + 'Стојић', + 'Стојичић', + 'Стојкић', + 'Стојнић', + 'Стојчић', + 'Стојшић', + 'Стоканић', + 'Стокић', + 'Столић', + 'Стопарић', + 'Стопић', + 'Стошић', + 'Страјнић', + 'Страхинић', + 'Страхињић', + 'Стринић', + 'Суботић', + 'Сувајџић', + 'Суменић', + 'Сунарић', + 'Сурлић', + 'Суручић', + 'Тадић', + 'Тајсић', + 'Таминџић', + 'Танасић', + 'Танић', + 'Танкосић', + 'Танчић', + 'Тарабић', + 'Тасић', + 'Татишић', + 'Тврдишић', + 'Теодосић', + 'Тепић', + 'Тепшић', + 'Терзић', + 'Теслић', + 'Тешанић', + 'Тешанкић', + 'Тешендић', + 'Тешинић', + 'Тешић', + 'Тијанић', + 'Тимилић', + 'Тимотић', + 'Тирић', + 'Тирнанић', + 'Тмушић', + 'Товаришић', + 'Тодић', + 'Тодорић', + 'Тодосић', + 'Тојић', + 'Токалић', + 'Тољагић', + 'Томанић', + 'Томецић', + 'Томинчић', + 'Томић', + 'Томичић', + 'Томоњић', + 'Томчић', + 'Тонтић', + 'Тончић', + 'Топић', + 'Топличић', + 'Тополић', + 'Тоскић', + 'Тошанић', + 'Тошић', + 'Траворић', + 'Трапарић', + 'Тренчић', + 'Тривалић', + 'Тривић', + 'Тривунић', + 'Тривунчић', + 'Тријић', + 'Трикић', + 'Триндић', + 'Трипић', + 'Трифуњагић', + 'Тришић', + 'Трмчић', + 'Трнинић', + 'Трнић', + 'Трошић', + 'Трубајић', + 'Трудић', + 'Трујић', + 'Трујкић', + 'Тубоњић', + 'Тукелић', + 'Тумарић', + 'Тупајић', + 'Турајлић', + 'Турнић', + 'Турудић', + 'Турунчић', + 'Тутић', + 'Туторић', + 'Тутулић', + 'Туфегџић', + 'Туцић', + 'Ћајић', + 'Ћалић', + 'Ћатић', + 'Ћебић', + 'Ћелић', + 'Ћеранић', + 'Ћипранић', + 'Ћирић', + 'Ћирјанић', + 'Ћојбашић', + 'Ћопић', + 'Ћорић', + 'Ћосић', + 'Ћуић', + 'Ћујић', + 'Ћупић', + 'Ћурдић', + 'Ћурић', + 'Ћурчић', + 'Ћушић', + 'Убавић', + 'Убавкић', + 'Увалић', + 'Уверић', + 'Угљешић', + 'Угринић', + 'Угринчић', + 'Угричић', + 'Удовичић', + 'Удовчић', + 'Умељић', + 'Уметић', + 'Умиљендић', + 'Уршикић', + 'Устић', + 'Утвић', + 'Ушендић', + 'Фаркић', + 'Фатић', + 'Фемић', + 'Филипић', + 'Фотирић', + 'Фотић', + 'Фртунић', + 'Хаџи Антић', + 'Хаџи Јованчић', + 'Хаџи Николић', + 'Хаџи Ристић', + 'Хаџи Танчић', + 'Хаџић', + 'Хинић', + 'Христић', + 'Цајић', + 'Цакић', + 'Царић', + 'Царичић', + 'Цвејић', + 'Цветић', + 'Цвијетић', + 'Цвијић', + 'Цвикић', + 'Цвишић', + 'Ценић', + 'Ценкић', + 'Цивишић', + 'Циврић', + 'Циглић', + 'Циклушић', + 'Цицварић', + 'Цмиљанић', + 'Цмолић', + 'Цонић', + 'Црновчић', + 'Цуканић', + 'Цукић', + 'Цупарић', + 'Чабрић', + 'Чавић', + 'Чајић', + 'Чаленић', + 'Чалић', + 'Чамагић', + 'Чантрић', + 'Чапрњић', + 'Чарапић', + 'Чарнић', + 'Чвокић', + 'Чворић', + 'Челекетић', + 'Чемерикић', + 'Чечарић', + 'Чивчић', + 'Чикарић', + 'Чикић', + 'Чиплић', + 'Чипчић', + 'Чичић', + 'Чковрић', + 'Чобелић', + 'Чобељић', + 'Човић', + 'Чојић', + 'Чојчић', + 'Чоланић', + 'Чолић', + 'Чомић', + 'Чонкић', + 'Чоњагић', + 'Чорбић', + 'Чотрић', + 'Чочурић', + 'Чубрић', + 'Чудић', + 'Чукарић', + 'Чукић', + 'Чумић', + 'Чупељић', + 'Чуперкић', + 'Чупић', + 'Чутурић', + 'Џаврић', + 'Џајић', + 'Џамбић', + 'Џаџић', + 'Џелебџић', + 'Џикић', + 'Џинић', + 'Џодић', + 'Џомбић', + 'Џомић', + 'Џонић', + 'Шакић', + 'Шакотић', + 'Шалинић', + 'Шаматић', + 'Шантић', + 'Шапић', + 'Шапонић', + 'Шапоњић', + 'Шапурић', + 'Шаранчић', + 'Шарић', + 'Шаркић', + 'Шароњић', + 'Шашић', + 'Швабић', + 'Шеварлић', + 'Шевић', + 'Шевкушић', + 'Шестић', + 'Шибалић', + 'Шијакињић', + 'Шијачић', + 'Шиканић', + 'Шикањић', + 'Шимшић', + 'Шипетић', + 'Шишић', + 'Шкобић', + 'Шкодрић', + 'Шкондрић', + 'Шкорић', + 'Шкрбић', + 'Шкребић', + 'Шкулић', + 'Шкундрић', + 'Шљапић', + 'Шљивић', + 'Шљукић', + 'Шмигић', + 'Шобајић', + 'Шобачић', + 'Шоргић', + 'Шошкић', + 'Шпирић', + 'Штакић', + 'Штулић', + 'Шубакић', + 'Шубарић', + 'Шубић', + 'Шулеић', + 'Шулејић', + 'Шулетић', + 'Шулкић', + 'Шулубурић', + 'Шуљагић', + 'Шуматић', + 'Шундерић', + 'Шункић', + 'Шуњеварић', + 'Шутуљић', + 'Шушић', + 'Шушулић', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Address.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Address.php index 2ce4aab..e3fa0f7 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Address.php @@ -2,150 +2,2314 @@ namespace Faker\Provider\sv_SE; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%###', '%##', '%#', '%#?', '%', '%?']; - - protected static $streetPrefix = [ - 'Stor', 'Små', 'Lill', 'Sjö', 'Kungs', 'Drottning', 'Hamn', 'Brunns', 'Linné', 'Vasa', 'Ring', 'Freds', - ]; - - protected static $streetSuffix = [ - 'vägen', 'gatan', 'gränd', 'stigen', 'backen', 'liden', - ]; - - protected static $streetSuffixWord = [ - 'Allé', 'Gata', 'Väg', 'Backe', - ]; - - protected static $postcode = ['%####', '%## ##']; - - /** - * @var array Swedish city names - * - * @see http://sv.wikipedia.org/wiki/Lista_%C3%B6ver_Sveriges_t%C3%A4torter - */ - protected static $cityNames = [ - 'Abbekås', 'Abborrberget', 'Agunnaryd', 'Alberga', 'Alby', 'Alfta', 'Algutsrum', 'Alingsås', 'Allerum', 'Almunge', 'Alsike', 'Alstad', 'Alster', 'Alsterbro', 'Alstermo', 'Alunda', 'Alvesta', 'Alvhem', 'Alvik', 'Alvik', 'Ambjörby', 'Ambjörnarp', 'Ammenäs', 'Andalen', 'Anderslöv', 'Anderstorp', 'Aneby', 'Angelstad', 'Angered', 'Ankarsrum', 'Ankarsvik', 'Anneberg', 'Anneberg', 'Annelund', 'Annelöv', 'Antnäs', 'Aplared', 'Arboga', 'Arbrå', 'Ardala', 'Arentorp', 'Arild', 'Arjeplog', 'Arkelstorp', 'Arnäsvall', 'Arnö', 'Arontorp', 'Arvidsjaur', 'Arvika', 'Aröd och Timmervik', 'Askeby', 'Askersby', 'Askersund', 'Asmundtorp', 'Asperö', 'Aspås', 'Avan', 'Avesta', 'Axvall', - 'Backa', 'Backaryd', 'Backberg', 'Backe', 'Baggetorp', 'Ballingslöv', 'Balsby', 'Bammarboda', 'Bankekind', 'Bankeryd', 'Bara', 'Barkarö', 'Barsebäck', 'Barsebäckshamn', 'Bastuträsk', 'Beddingestrand', 'Benareby', 'Bengtsfors', 'Bengtsheden', 'Bensbyn', 'Berg', 'Berg', 'Berg', 'Berga', 'Bergagård', 'Bergby', 'Bergeforsen', 'Berghem', 'Bergkvara', 'Bergnäset', 'Bergsbyn', 'Bergshammar', 'Bergshamra', 'Bergsjö', 'Bergströmshusen', 'Bergsviken', 'Bergvik', 'Bestorp', 'Bettna', 'Bie', 'Billdal', 'Billeberga', 'Billesholm', 'Billinge', 'Billingsfors', 'Billsta', 'Bjurholm', 'Bjursås', 'Bjuv', 'Bjärnum', 'Bjärred', 'Bjärsjölagård', 'Bjästa', 'Björbo', 'Björboholm', 'Björke', 'Björketorp', 'Björklinge', 'Björkvik', 'Björkviken', 'Björkö', 'Björköby', 'Björlanda', 'Björna', 'Björneborg', 'Björnlunda', 'Björnänge', 'Björnö', 'Björnömalmen och Klacknäset', 'Björsäter', 'Blackstalund', 'Bleket', 'Blentarp', 'Blidsberg', 'Blikstorp', 'Blombacka', 'Blomstermåla', 'Blåsmark', 'Blötberget', 'Bockara', 'Boda', 'Bodafors', 'Boden', 'Boholmarna', 'Boliden', 'Bollebygd', 'Bollnäs', 'Bollstabruk', 'Bonäs', 'Boo', 'Bor', 'Borensberg', 'Borggård', 'Borgholm', 'Borgstena', 'Borlänge', 'Borrby', 'Borås', 'Bosnäs', 'Botsmark', 'Bottnaryd', 'Bovallstrand', 'Boxholm', 'Brantevik', 'Brastad', 'Brattås', 'Braås', 'Bredared', 'Bredaryd', 'Bredbyn', 'Bredsand', 'Bredviken', 'Brevik', 'Brevikshalvön', 'Bro', 'Broaryd', 'Broby', 'Brokind', 'Bromölla', 'Brottby', 'Brunflo', 'Brunn', 'Brunna', 'Brunnsberg', 'Bruzaholm', 'Brålanda', 'Bräcke', 'Bräkne-Hoby', 'Brändön', 'Brännland', 'Brännö', 'Brösarp', 'Bua', 'Buerås', 'Bullmark', 'Bunkeflostrand', 'Bureå', 'Burgsvik', 'Burlövs egnahem', 'Burseryd', 'Burträsk', 'Buskhyttan', 'Butbro', 'Bygdeå', 'Bygdsiljum', 'Byske', 'Bålsta', 'Bårslöv', 'Båstad', 'Båtskärsnäs', 'Bäckaskog', 'Bäckebo', 'Bäckefors', 'Bäckhammar', 'Bälgviken', 'Bälinge', 'Bälinge', 'Bärby', 'Bäsna', 'Böle', 'Bönan', - 'Charlottenberg', - 'Dalarö', 'Dalby', 'Dals Långed', 'Dals Rostock', 'Dalsjöfors', 'Dalstorp', 'Dalum', 'Danholn', 'Dannemora', 'Dannike', 'Degeberga', 'Degerfors', 'Degerhamn', 'Deje', 'Delary', 'Delsbo', 'Dingersjö', 'Dingle', 'Dingtuna', 'Diseröd', 'Diö', 'Djulö kvarn', 'Djura', 'Djurmo', 'Djurås', 'Djurö', 'Docksta', 'Domsten', 'Donsö', 'Dorotea', 'Drag', 'Drottningholm', 'Drängsmark', 'Dunö', 'Duved', 'Duvesjön', 'Dvärsätt', 'Dyvelsten', 'Dösjebro', - 'Ed', 'Eda glasbruk', 'Edane', 'Edsbro', 'Edsbruk', 'Edsbyn', 'Edsvalla', 'Eggby', 'Ekeby', 'Ekeby', 'Ekeby', 'Ekeby', 'Ekeby-Almby', 'Ekedalen', 'Ekenässjön', 'Ekerö', 'Ekerö sommarstad', 'Eket', 'Ekshärad', 'Eksjö', 'Eksund', 'Ekängen', 'Eldsberga', 'Ellös', 'Emmaboda', 'Emmaljunga', 'Emsfors', 'Emtunga', 'Eneryda', 'Enhagen-Ekbacken', 'Enköping', 'Ensjön', 'Enstaberga', 'Enviken', 'Enånger', 'Eriksmåla', 'Eringsboda', 'Ersmark', 'Ersmark', 'Ersnäs', 'Eskilsby och Snugga', 'Eskilstuna', 'Eslöv', 'Essvik', 'Evertsberg', 'Everöd', - 'Fagerhult', 'Fagersanna', 'Fagersta', 'Fagerås', 'Falerum', 'Falkenberg', 'Falköping', 'Falla', 'Falun', 'Fanbyn', 'Fellingsbro', 'Fengersfors', 'Figeholm', 'Filipstad', 'Filsbäck', 'Finja', 'Finkarby', 'Finnerödja', 'Finspång', 'Finsta', 'Fiskebäckskil', 'Fisksätra', 'Fjugesta', 'Fjälkinge', 'Fjällbacka', 'Fjärdhundra', 'Fjärås kyrkby', 'Flen', 'Flisby', 'Fliseryd', 'Floby', 'Floda', 'Floda', 'Flurkmark', 'Flygsfors', 'Flyinge', 'Flädie', 'Fornåsa', 'Fors', 'Forsbacka', 'Forsby', 'Forserum', 'Forshaga', 'Forsheda', 'Forssjö', 'Forsvik', 'Fotö', 'Fredrika', 'Fredriksberg', 'Fredriksdal', 'Fridafors', 'Fridlevstad', 'Friggesund', 'Frillesås', 'Frinnaryd', 'Fristad', 'Fritsla', 'Frufällan', 'Frånö', 'Främmestad', 'Frändefors', 'Fränsta', 'Frödinge', 'Frösakull', 'Frövi', 'Funäsdalen', 'Furuby', 'Furudal', 'Furulund', 'Furusjö', 'Furuvik', 'Fyllinge', 'Fågelfors', 'Fågelmara', 'Fågelsta', 'Fågelvikshöjden', 'Fårbo', 'Fårösund', 'Färgelanda', 'Färila', 'Färjestaden', 'Färlöv', 'Färnäs', 'Föllinge', 'Förslöv', - 'Gagnef', 'Gamleby', 'Gammelgården', 'Gammelstad', 'Gantofta', 'Garpenberg', 'Garphyttan', 'Geijersholm', 'Gemla', 'Genarp', 'Genevad', 'Gessie villastad', 'Gesunda', 'Getinge', 'Gideå', 'Gimmersta', 'Gimo', 'Gimåt', 'Gislaved', 'Gistad', 'Gladö kvarn', 'Glanshammar', 'Glemmingebro', 'Glimåkra', 'Glommen', 'Glommersträsk', 'Glumslöv', 'Gnarp', 'Gnesta', 'Gnosjö', 'Godegård', 'Gonäs', 'Gottne', 'Grangärde', 'Granö', 'Graversfors', 'Grebbestad', 'Grebo', 'Grevie', 'Grevie och Beden', 'Grillby', 'Grimslöv', 'Grimstorp', 'Grimsås', 'Gripenberg', 'Grisslehamn', 'Grums', 'Grundsund', 'Grycksbo', 'Grytgöl', 'Grythyttan', 'Gråbo', 'Gräfsnäs', 'Grängesberg', 'Gränna', 'Gränum', 'Grästorp', 'Grödby', 'Gualöv', 'Gubbo', 'Gudhem', 'Gullbrandstorp', 'Gullbranna', 'Gulleråsen', 'Gullringen', 'Gullspång', 'Gundal och Högås', 'Gunnarskog', 'Gunnarstorp', 'Gunnebo', 'Gunsta', 'Gusselby', 'Gustavsberg', 'Gustavsberg', 'Gusum', 'Gyttorp', 'Gånghester', 'Gårdby', 'Gårdskär', 'Gårdstånga', 'Gåvsta', 'Gäddede', 'Gällivare', 'Gällstad', 'Gällö', 'Gängletorp', 'Gärds Köpinge', 'Gärsnäs', 'Gävle', 'Göta', 'Göteborg', 'Götene', 'Götlunda', - 'Habo', 'Hackås', 'Haga', 'Hagby', 'Hagbyhöjden', 'Hagfors', 'Hagge', 'Hagryd-Dala', 'Hakkas', 'Halla Heberg', 'Hallabro', 'Hallen', 'Hallerna', 'Hallsberg', 'Hallstahammar', 'Hallstavik', 'Halltorp', 'Halmstad', 'Halvarsgårdarna', 'Hamburgsund', 'Hammar', 'Hammar', 'Hammarby', 'Hammarslund', 'Hammarstrand', 'Hammenhög', 'Hammerdal', 'Hampetorp', 'Hamrångefjärden', 'Hanaskog', 'Haparanda', 'Harads', 'Harbo', 'Hargshamn', 'Harlösa', 'Harmånger', 'Harplinge', 'Hassela', 'Hasselfors', 'Hasslarp', 'Hasslö', 'Hasslöv', 'Havdhem', 'Haverdal', 'Heberg', 'Heby', 'Hedared', 'Hede', 'Hedekas', 'Hedemora', 'Hedenäset', 'Hedeskoga', 'Hedesunda', 'Hedvigsberg', 'Helsingborg', 'Hemavan/Bierke', 'Hemmesta', 'Hemmingsmark', 'Hemse', 'Henån', 'Herrestad', 'Herrljunga', 'Herräng', 'Herstadberg', 'Hestra', 'Hestra', 'Hillared', 'Hillerstorp', 'Himle', 'Hindås', 'Hishult', 'Hissjön', 'Hittarp', 'Hjo', 'Hjorted', 'Hjortkvarn', 'Hjortsberga', 'Hjuvik', 'Hjälm', 'Hjälmared', 'Hjälmared', 'Hjältevad', 'Hjärnarp', 'Hjärsås', 'Hjärtum', 'Hjärup', 'Hofors', 'Hofterup', 'Hogstad', 'Hogstorp', 'Hok', 'Holm', 'Holmeja', 'Holmsjö', 'Holmsund', 'Holsbybrunn', 'Holsljunga', 'Horda', 'Horn', 'Horndal', 'Horred', 'Hortlax', 'Hoting', 'Hova', 'Hovid', 'Hovmantorp', 'Hovsta', 'Huaröd', 'Hudiksvall', 'Hult', 'Hultafors', 'Hultsfred', 'Hulu', 'Hummelsta', 'Hunnebostrand', 'Hurva', 'Husby', 'Husum', 'Hybo', 'Hyllinge', 'Hyltebruk', 'Hyssna', 'Håbo-Tibble kyrkby', 'Håga', 'Håksberg', 'Hållsta', 'Hålsjö', 'Hånger', 'Häggeby och Vreta', 'Häggenås', 'Häljarp', 'Hällabrottet', 'Hällaryd', 'Hällberga', 'Hällbybrunn', 'Hällefors', 'Hälleforsnäs', 'Hällekis', 'Hällestad', 'Hällesåker', 'Hällevadsholm', 'Hällevik', 'Hälleviksstrand', 'Hällingsjö', 'Hällnäs', 'Hälsö', 'Härad', 'Häradsbygden', 'Härnösand', 'Härryda', 'Härslöv', 'Hässleholm', 'Hästhagen', 'Hästholmen', 'Hästveda', 'Höganäs', 'Högboda', 'Högsby', 'Högsjö', 'Högsäter', 'Höja', 'Hökerum', 'Hökåsen', 'Hököpinge', 'Höllviken', 'Hölö', 'Hönö', 'Hörby', 'Hörnefors', 'Hörvik', 'Höviksnäs', 'Höör', - 'Idala', 'Idkerberget', 'Idre', 'Igelfors', 'Igelstorp', 'Iggesund', 'Ilsbo', 'Immeln', 'Indal', 'Ingared', 'Ingaröstrand', 'Ingatorp', 'Ingelstad', 'Ingelsträde', 'Innertavle', 'Insjön', 'Irsta', - 'Johannedal', 'Johannesudd', 'Johannishus', 'Johansfors', 'Jokkmokk', 'Jonsered', 'Jonslund', 'Jonstorp', 'Jordbro', 'Jukkasjärvi', 'Jung', 'Juniskär', 'Junosuando', 'Junsele', 'Juoksengi', 'Jursla', 'Jäderfors', 'Jädraås', 'Jämjö', 'Jämshög', 'Jämtön', 'Järbo', 'Järlåsa', 'Järna', 'Järna', 'Järnforsen', 'Järpen', 'Järpås', 'Järvsö', 'Jättendal', 'Jävre', 'Jönköping', 'Jönåker', 'Jörlanda', 'Jörn', 'Jössefors', - 'Kalix', 'Kallax', 'Kallinge', 'Kalmar', 'Kalvsund', 'Kangos', 'Karby', 'Kareby', 'Karesuando', 'Karlholmsbruk', 'Karlsborg', 'Karlsborg', 'Karlshamn', 'Karlskoga', 'Karlskrona', 'Karlstad', 'Karlsvik', 'Karungi', 'Karups sommarby', 'Kastlösa', 'Katrinedal', 'Katrineholm', 'Kattarp', 'Kaxholmen', 'Kebal', 'Kil', 'Kil', 'Kilafors', 'Killeberg', 'Kilsmo', 'Kimstad', 'Kinna', 'Kinnared', 'Kinnarp', 'Kinnarumma', 'Kiruna', 'Kisa', 'Kivik', 'Kjulaås', 'Klagstorp', 'Klevshult', 'Klingsta och Allsta', 'Klintehamn', 'Klippan', 'Klippans bruk', 'Klockestrand', 'Klockrike', 'Klågerup', 'Klädesholmen', 'Kläppa', 'Klässbol', 'Klöverträsk', 'Klövsjö', 'Knislinge', 'Knivsta', 'Knutby', 'Knäred', 'Kode', 'Kolbäck', 'Kolsva', 'Konga', 'Kopparberg', 'Kopparmora', 'Koppom', 'Korpilombolo', 'Korsberga', 'Korsberga', 'Korsträsk', 'Koskullskulle', 'Kosta', 'Kovland', 'Kramfors', 'Kristdala', 'Kristianstad', 'Kristineberg', 'Kristinehamn', 'Kristvallabrunn', 'Krokek', 'Krokom', 'Krägga', 'Kulltorp', 'Kullö', 'Kumla', 'Kumla kyrkby', 'Kummelnäs', 'Kungsbacka', 'Kungsberga', 'Kungsgården', 'Kungshamn', 'Kungshult', 'Kungsängen', 'Kungsäter', 'Kungsör', 'Kungälv', 'Kurland', 'Kusmark', 'Kuttainen', 'Kvibille', 'Kvicksund', 'Kvidinge', 'Kvillsfors', 'Kvisljungeby', 'Kvissleby', 'Kvänum', 'Kvärlöv', 'Kyrkheddinge', 'Kyrkhult', 'Kyrksten', 'Kåge', 'Kågeröd', 'Kåhög', 'Kållekärr', 'Kållered', 'Kånna', 'Kårsta', 'Kälarne', 'Källby', 'Källö-Knippla', 'Kärda', 'Kärna', 'Kärsta och Bredsdal', 'Kättilsmåla', 'Kättilstorp', 'Kävlinge', 'Köping', 'Köpingebro', 'Köpingsvik', 'Köpmanholmen', - 'Lagan', 'Laholm', 'Lammhult', 'Landeryd', 'Landfjärden', 'Landsbro', 'Landskrona', 'Landvetter', 'Lanesund och Överby', 'Lanna', 'Lanna', 'Latorpsbruk', 'Laxvik', 'Laxå', 'Lekeryd', 'Leksand', 'Lenhovda', 'Lerdala', 'Lerkil', 'Lerum', 'Lesjöfors', 'Lessebo', 'Liatorp', 'Lidatorp och Klövsta', 'Liden', 'Lidhult', 'Lidingö', 'Lidköping', 'Lilla Edet', 'Lilla Harrie', 'Lilla Stenby', 'Lilla Tjärby', 'Lillhaga', 'Lillhärdal', 'Lillkyrka', 'Lillpite', 'Lima', 'Limedsforsen', 'Limmared', 'Linderöd', 'Lindesberg', 'Lindholmen', 'Lindome', 'Lindsdal', 'Lindö', 'Lingbo', 'Linghed', 'Linghem', 'Linköping', 'Linneryd', 'Listerby', 'Lit', 'Ljugarn', 'Ljung', 'Ljunga', 'Ljungaverk', 'Ljungby', 'Ljungbyhed', 'Ljungbyholm', 'Ljunghusen', 'Ljungsarp', 'Ljungsbro', 'Ljungskile', 'Ljungstorp och Jägersbo', 'Ljusdal', 'Ljusfallshammar', 'Ljusne', 'Loftahammar', 'Lomma', 'Los', 'Lotorp', 'Lottefors', 'Lucksta', 'Ludvigsborg', 'Ludvika', 'Lugnet och Skälsmara', 'Lugnvik', 'Lugnås', 'Luleå', 'Lund', 'Lund', 'Lunde', 'Lundsbrunn', 'Lunnarp', 'Lurudden', 'Lycksele', 'Lyrestad', 'Lysekil', 'Lysvik', 'Långasjö', 'Långsele', 'Långshyttan', 'Långvik', 'Långviksmon', 'Långås', 'Låssby', 'Läby', 'Läckeby', 'Länghem', 'Länna', 'Lärbro', 'Löberöd', 'Löddeköpinge', 'Löderup', 'Lödöse', 'Löftaskog', 'Lögdeå', 'Lönsboda', 'Lörby', 'Löttorp', 'Löwenströmska lasarettet', 'Lövestad', 'Lövstalöt', 'Lövånger', - 'Madängsholm', 'Mala', 'Malmberget', 'Malmbäck', 'Malmköping', 'Malmslätt', 'Malmö', 'Maln', 'Malung', 'Malungsfors', 'Malå', 'Mantorp', 'Marbäck', 'Margretetorp', 'Mariannelund', 'Marieby', 'Mariedal', 'Mariefred', 'Marieholm', 'Marielund', 'Marielund', 'Mariestad', 'Markaryd', 'Marma', 'Marmaskogen', 'Marmaverken', 'Marmorbyn', 'Marstrand', 'Matfors', 'Medle', 'Medåker', 'Mehedeby', 'Mellansel', 'Mellbystrand', 'Mellerud', 'Mellösa', 'Merlänna', 'Misterhult', 'Mjällby', 'Mjällom', 'Mjöbäck', 'Mjöhult', 'Mjölby', 'Mjönäs', 'Mockfjärd', 'Mogata', 'Mohed', 'Moheda', 'Moholm', 'Moliden', 'Molkom', 'Mollösund', 'Mora', 'Mora', 'Morgongåva', 'Morjärv', 'Morup', 'Moskosel', 'Motala', 'Mullhyttan', 'Mullsjö', 'Munga', 'Munka-Ljungby', 'Munkedal', 'Munkfors', 'Munktorp', 'Muskö', 'Myckle', 'Myggenäs', 'Myresjö', 'Myrviken', 'Mysingsö', 'Mysterna', 'Målerås', 'Målilla', 'Målsryd', 'Månkarbo', 'Måttsund', 'Märsta', 'Möklinta', 'Mölle', 'Mölltorp', 'Mölnbo', 'Mölnlycke', 'Mönsterås', 'Mörarp', 'Mörbylånga', 'Mörlunda', 'Mörrum', 'Mörsil', 'Mörtnäs', - 'Naglarby och Enbacka', 'Nedansjö', 'Nedre Gärdsjö', 'Nikkala', 'Nissafors', 'Nitta', 'Njurundabommen', 'Njutånger', 'Nogersund', 'Nolvik', 'Nora', 'Norberg', 'Nordanö', 'Nordingrå', 'Nordkroken', 'Nordmaling', 'Nordmark', 'Nore', 'Norje', 'Norr Amsberg', 'Norra Bro', 'Norra Lagnö', 'Norra Riksten', 'Norra Rörum', 'Norra Visby', 'Norra Åsum', 'Norrfjärden', 'Norr-Hede', 'Norrhult-Klavreström', 'Norrköping', 'Norrlandet', 'Norrskedika', 'Norrsundet', 'Norrtälje', 'Norrö', 'Norsesund', 'Norsholm', 'Norsjö', 'Nossebro', 'Nusnäs', 'Nya Långenäs', 'Nyborg', 'Nybro', 'Nybrostrand', 'Nygård', 'Nygårds hagar', 'Nyhammar', 'Nykil', 'Nykroppa', 'Nykvarn', 'Nykyrka', 'Nyköping', 'Nyland', 'Nymölla', 'Nynäshamn', 'Nås', 'Nälden', 'Näs bruk', 'Nässjö', 'Näsum', 'Näsviken', 'Näsviken', 'Näsåker', 'Nättraby', 'Nävekvarn', 'Nävragöl', 'Nöbbele', 'Nödinge-Nol', - 'Obbola', 'Ockelbo', 'Odensbacken', 'Odensberg', 'Odensjö', 'Oleby', 'Olofstorp', 'Olofström', 'Olsfors', 'Olshammar', 'Olstorp', 'Onsala', 'Onslunda', 'Ope', 'Optand', 'Ormanäs och Stanstorp', 'Ornäs', 'Orrefors', 'Orrviken', 'Orsa', 'Osby', 'Osbyholm', 'Oskar-Fredriksborg', 'Oskarshamn', 'Oskarström', 'Ostvik', 'Otterbäcken', 'Ovanåker', 'Ovesholm', 'Oxelösund', 'Oxie', - 'Pajala', 'Parksidan', 'Pauliström', 'Persberg', 'Persbo', 'Pershagen', 'Perstorp', 'Persön', 'Pilgrimstad', 'Piperskärr', 'Piteå', 'Porjus', 'Pukavik', 'Påarp', 'Pålsboda', 'Påläng', 'Påryd', 'Påskallavik', - 'Rabbalshede', 'Raksta', 'Ramdala', 'Ramnäs', 'Ramsberg', 'Ramsele', 'Ramstalund', 'Ramvik', 'Ransta', 'Rappestad', 'Reftele', 'Rejmyre', 'Rengsjö', 'Repbäcken', 'Resarö', 'Revingeby', 'Riala', 'Riddarhyttan', 'Rimbo', 'Rimforsa', 'Ringarum', 'Ringsegård', 'Rinkaby', 'Rinkabyholm', 'Risögrund', 'Rixö', 'Robertsfors', 'Rockhammar', 'Rockneby', 'Roknäs', 'Rolfhamre och Måga', 'Rolfs', 'Rolfstorp', 'Roma kyrkby (Lövsta)', 'Roma (Romakloster)', 'Ronneby', 'Ronnebyhamn', 'Rosenfors', 'Rosenlund', 'Rosersberg', 'Rossön', 'Rosvik', 'Rot', 'Roteberg', 'Rottne', 'Rottneros', 'Ruda', 'Rundvik', 'Runemo', 'Runhällen', 'Runtuna', 'Rusksele', 'Rutvik', 'Rya', 'Ryd', 'Rydaholm', 'Rydal', 'Rydbo', 'Rydboholm', 'Rydebäck', 'Rydsgård', 'Rydsnäs', 'Rydöbruk', 'Ryssby', 'Råby', 'Råda', 'Råneå', 'Rångedala', 'Rånnaväg', 'Rånäs', 'Rälla', 'Rängs sand', 'Ränneslöv', 'Rättarboda', 'Rättvik', 'Rävemåla', 'Rävlanda', 'Röbäck', 'Röda holme', 'Rödbo', 'Rödeby', 'Röfors', 'Röke', 'Rönneshytta', 'Rönnäng', 'Rörvik', 'Rörö', 'Röstånga', - 'Sala', 'Salbohed', 'Saleby', 'Saltsjöbaden', 'Saltvik', 'Sandared', 'Sandarne', 'Sandhem', 'Sandhult', 'Sandskogen', 'Sandslån', 'Sandviken', 'Sandviken', 'Sangis', 'Sankt Olof', 'Sannahed', 'Saxdalen', 'Saxtorpsskogen', 'Segersta', 'Segersäng', 'Segmon', 'Selja', 'Sennan', 'Seskarö', 'Sexdrega', 'Sibbhult', 'Sibble', 'Sibo', 'Sidensjö', 'Sifferbo', 'Sigtuna', 'Siljansnäs', 'Silverdalen', 'Simlångsdalen', 'Simonstorp', 'Simris', 'Simrishamn', 'Sjuhalla', 'Sjulsmark', 'Sjunnen', 'Sjuntorp', 'Sjöberg', 'Sjöbo', 'Sjöbo sommarby och Svansjö sommarby', 'Sjödiken', 'Sjögestad', 'Sjömarken', 'Sjörröd', 'Sjösa', 'Sjötorp', 'Sjövik', 'Skagersvik', 'Skanör med Falsterbo', 'Skara', 'Skattkärr', 'Skattungbyn', 'Skavkulla och Skillingenäs', 'Skebobruk', 'Skeda udde', 'Skedala', 'Skede', 'Skedvi kyrkby', 'Skee', 'Skegrie', 'Skelleftehamn', 'Skellefteå', 'Skepparkroken', 'Skepplanda', 'Skeppsdalsström', 'Skeppshult', 'Skillingaryd', 'Skillinge', 'Skinnskatteberg', 'Skivarp', 'Skoby', 'Skog', 'Skoghall', 'Skogsby', 'Skogstorp', 'Skogstorp', 'Skottorp', 'Skottsund', 'Skrea', 'Skreanäs', 'Skriketorp', 'Skruv', 'Skultorp', 'Skultuna', 'Skummeslövsstrand', 'Skumparp', 'Skurup', 'Skutskär', 'Skyttorp', 'Skånes-Fagerhult', 'Skåpafors', 'Skåre', 'Skällinge', 'Skänninge', 'Skärblacka', 'Skärgårdsstad', 'Skärhamn', 'Skärplinge', 'Skärstad', 'Sköldinge', 'Sköllersta', 'Skölsta', 'Skövde', 'Slaka', 'Slite', 'Slottsbron', 'Slottsskogen', 'Slöinge', 'Smedby', 'Smedjebacken', 'Smedstorp', 'Smygehamn', 'Smålandsstenar', 'Smögen', 'Snöveltorp', 'Solberga', 'Solberga', 'Sollebrunn', 'Sollefteå', 'Sollerön', 'Solsidan', 'Solvarbo', 'Sommen', 'Sonstorp', 'Sorsele', 'Sorunda', 'Sparreholm', 'Spjutsbygd', 'Spångsholm', 'Staffanstorp', 'Stallarholmen', 'Stamsjö', 'Starrkärr och Näs', 'Stava', 'Stavreviken', 'Stavsjö', 'Stavsnäs', 'Stehag', 'Stenared', 'Stenhamra', 'Steninge', 'Stensele', 'Stensjön', 'Stenstorp', 'Stensund och Krymla', 'Stenungsund', 'Stenungsön', 'Sticklinge udde', 'Stidsvig', 'Stigen', 'Stigtomta', 'Stjärnhov', 'Stoby', 'Stocka', 'Stockamöllan', 'Stockaryd', 'Stockholm', 'Stockvik', 'Stora Bugärde', 'Stora Dyrön', 'Stora Herrestad', 'Stora Höga', 'Stora Levene', 'Stora Mellby', 'Stora Mellösa', 'Stora Vika', 'Storebro', 'Storfors', 'Storuman', 'Storvik', 'Storvreta', 'Storå', 'Strandhugget', 'Strandnorum', 'Striberg', 'Strålsnäs', 'Strångsjö', 'Stråssa', 'Strängnäs', 'Strömma', 'Strömsbruk', 'Strömsfors', 'Strömsholm', 'Strömsnäsbruk', 'Strömstad', 'Strömsund', 'Strövelstorp', 'Stugun', 'Sturefors', 'Sturkö', 'Styrsö', 'Stånga', 'Stångby', 'Ställdalen', 'Stöcke', 'Stöcksjö', 'Stöde', 'Stöllet', 'Stöpen', 'Sulvik', 'Sund', 'Sundborn', 'Sundby', 'Sundbyholm', 'Sundhultsbrunn', 'Sundsbruk', 'Sundsvall', 'Sunnansjö', 'Sunne', 'Sunnemo', 'Sunningen', 'Surahammar', 'Surte', 'Svalsta', 'Svalöv', 'Svanberga', 'Svanesund', 'Svanskog', 'Svanvik', 'Svappavaara', 'Svartbyn', 'Svarte', 'Svartvik', 'Svartå', 'Svedala', 'Sveg', 'Svenljunga', 'Svensbyn', 'Svenshögen', 'Svenstavik', 'Svenstorp', 'Svinninge', 'Svängsta', 'Svärdsjö', 'Svärtinge', 'Sya', 'Sysslebäck', 'Sågmyra', 'Säffle', 'Sälen', 'Sälgsjön', 'Särna', 'Särö', 'Säter', 'Sätila', 'Sätofta', 'Sätra brunn', 'Sävar', 'Sävast', 'Säve', 'Sävja', 'Sävsjö', 'Söderala', 'Söderby', 'Söderby-Karl', 'Söderbärke', 'Söderfors', 'Söderhamn', 'Söderköping', 'Söderskogen', 'Södersvik', 'Södertälje', 'Söderåkra', 'Södra Bergsbyn och Stackgrönnan', 'Södra Klagshamn', 'Södra Näs', 'Södra Sandby', 'Södra Sunderbyn', 'Södra Vi', 'Södra Vrams fälad', 'Sölvesborg', 'Sörfors', 'Sörforsa', 'Sörmjöle', 'Sörstafors', 'Sörvik', 'Söråker', 'Sösdala', 'Sövde', 'Sövestad', - 'Taberg', 'Tahult', 'Tallvik', 'Tallåsen', 'Tandsbyn', 'Tanumshede', 'Tavelsjö', 'Teckomatorp', 'Tenhult', 'Tibro', 'Tidaholm', 'Tidan', 'Tidö-Lindö', 'Tierp', 'Tillberga', 'Timmele', 'Timmernabben', 'Timmersdala', 'Timrå', 'Timsfors', 'Tingsryd', 'Tingstäde', 'Tjautjas/Cavccas', 'Tjuvkil', 'Tjällmo', 'Tjörnarp', 'Toarp', 'Tobo', 'Tofta', 'Toftbyn', 'Tollarp', 'Tollered', 'Tomelilla', 'Torarp', 'Torbjörntorp', 'Torekov', 'Torestorp', 'Torhamn', 'Tormestorp', 'Torna Hällestad', 'Torpsbruk', 'Torpshammar', 'Torreby', 'Torsby', 'Torsby', 'Torsebro', 'Torshälla', 'Torshälla huvud', 'Torsåker', 'Torsång', 'Torsås', 'Tortuna', 'Torup', 'Tosseryd', 'Totebo', 'Totra', 'Tranemo', 'Tranholmen', 'Transtrand', 'Tranås', 'Traryd', 'Trekanten', 'Trelleborg', 'Trollhättan', 'Trosa', 'Trulsegården', 'Trångsviken', 'Tråvad', 'Trädet', 'Träslövsläge', 'Trödje', 'Trönninge', 'Trönninge', 'Tulebo', 'Tumba', 'Tumbo', 'Tumlehed', 'Tun', 'Tuna', 'Tuna', 'Tunadal', 'Tunnerstad', 'Tureholm', 'Tving', 'Tvååker', 'Tvärskog', 'Tvärålund', 'Tygelsjö', 'Tylösand', 'Tyringe', 'Tystberga', 'Tågarp', 'Tånga och Rögle', 'Tångaberg', 'Täby', 'Täfteå', 'Täljö', 'Tällberg', 'Tärnaby', 'Tärnsjö', 'Tävelsås', 'Töcksfors', 'Töllsjö', 'Töre', 'Töreboda', 'Törestorp', 'Tösse', - 'Ucklum', 'Uddebo', 'Uddeholm', 'Uddevalla', 'Uddheden', 'Ullared', 'Ullatti', 'Ullervad', 'Ullånger', 'Ulricehamn', 'Ulrika', 'Ulvkälla', 'Ulvåker', 'Umeå', 'Unbyn', 'Undenäs', 'Undersåker', 'Unnaryd', 'Upphärad', 'Upplanda', 'Upplands Väsby', 'Uppsala', 'Urshult', 'Ursviken', 'Utansjö', 'Utby', 'Utvälinge', - 'Vad', 'Vadstena', 'Vaggeryd', 'Vagnhärad', 'Valbo', 'Valdemarsvik', 'Valje', 'Valla', 'Vallargärdet', 'Vallberga', 'Vallda', 'Vallentuna', 'Vallsta', 'Vallvik', 'Vallåkra', 'Valskog', 'Vankiva', 'Vannsätter', 'Vansbro', 'Vansö kyrkby', 'Vaplan', 'Vara', 'Varberg', 'Varekil', 'Vargön', 'Varnhem', 'Vartofta', 'Vassbäck', 'Vassmolösa', 'Vattholma', 'Vattjom', 'Vattnäs', 'Vattubrinken', 'Vaxholm', 'Veberöd', 'Veddige', 'Vedevåg', 'Vedum', 'Vegby', 'Veinge', 'Vejbystrand', 'Velanda', 'Vellinge', 'Vemdalen', 'Vena', 'Venjan', 'Vessigebro', 'Vetlanda', 'Vi', 'Vibble', 'Viby', 'Vickleby', 'Vidja', 'Vidsel', 'Vidöåsen', 'Vik', 'Vika', 'Vikarbyn', 'Viken', 'Vikingstad', 'Vikmanshyttan', 'Viksjöfors', 'Viksäter', 'Vilhelmina', 'Villshärad', 'Vilshult', 'Vimmerby', 'Vinberg', 'Vinbergs kyrkby', 'Vindeln', 'Vingåker', 'Vinninga', 'Vinnö', 'Vinslöv', 'Vintrie', 'Vintrosa', 'Vinäs', 'Virsbo', 'Virserum', 'Visby', 'Viskafors', 'Vislanda', 'Vissefjärda', 'Vistträsk', 'Vitaby', 'Vittangi', 'Vittaryd', 'Vittinge', 'Vittjärv', 'Vittsjö', 'Vittskövle', 'Vollsjö', 'Vrena', 'Vretstorp', 'Vrigstad', 'Vrångö', 'Vuollerim', 'Vålberg', 'Våmhus', 'Vånga', 'Vårdsätra', 'Vårgårda', 'Vårsta', 'Våxtorp', 'Väckelsång', 'Väderstad', 'Väggarp', 'Väjern', 'Väländan', 'Vänersborg', 'Väne-Åsaka', 'Vänge', 'Vännäs', 'Vännäsby', 'Väring', 'Värmdö-Evlinge', 'Värmlandsbro', 'Värnamo', 'Värsås', 'Väröbacka', 'Väse', 'Väskinde', 'Västanvik', 'Västerberg', 'Västerby', 'Västerfärnebo', 'Västerhaninge', 'Västerhejde', 'Västerhus', 'Västerljung', 'Västerlösa', 'Västermyckeläng', 'Västervik', 'Västerås', 'Västibyn', 'Västra Bispgården', 'Västra Bodarna', 'Västra Hagen', 'Västra Husby', 'Västra Ingelstad', 'Västra Karaby', 'Västra Karup', 'Västra Klagstorp', 'Västra Tommarp', 'Västra Ämtervik', 'Växjö', - 'Yngsjö', 'Ysby', 'Ystad', 'Ytterhogdal', 'Ytternäs och Vreta', 'Yttersjö', 'Ytterån', - 'Zinkgruvan', - 'Åby', 'Åby', 'Åbyggeby', 'Åbytorp', 'Åhus', 'Åkarp', 'Åkers styckebruk', 'Åkersberga', 'Ålberga', 'Åled', 'Ålem', 'Åmmeberg', 'Åmot', 'Åmotfors', 'Åmsele', 'Åmynnet', 'Åmål', 'Ånge', 'Ånäset', 'Åre', 'Årjäng', 'Årstad', 'Årsunda', 'Åryd', 'Åryd', 'Ås', 'Ås', 'Åsa', 'Åsarne', 'Åsarp', 'Åsbro', 'Åsby', 'Åseda', 'Åsele', 'Åselstad', 'Åsen', 'Åsenhöga', 'Åsensbruk', 'Åshammar', 'Åsljunga', 'Åstol', 'Åstorp', 'Återvall', 'Åtorp', 'Åtvidaberg', - 'Älandsbro', 'Älgarås', 'Älghult', 'Älmhult', 'Älmsta', 'Älta', 'Älvdalen', 'Älvkarleby', 'Älvnäs', 'Älvsbyn', 'Älvsered', 'Älvängen', 'Äng', 'Änge', 'Ängelholm', 'Ängsholmen', 'Ängsvik', 'Äppelbo', 'Ärla', 'Äsköping', 'Äspered', 'Äsperöd', 'Ätran', - 'Öbonäs', 'Öckerö', 'Ödeborg', 'Ödeshög', 'Ödsmål', 'Ödåkra', 'Öggestorp', 'Öjersjö', 'Ölmanäs', 'Ölmbrotorp', 'Ölme', 'Ölmstad', 'Ölsta', 'Önneköp', 'Önnestad', 'Örbyhus', 'Örebro', 'Öregrund', 'Örkelljunga', 'Örnsköldsvik', 'Örserum', 'Örsjö', 'Örslösa', 'Örsundsbro', 'Örtagården', 'Örtofta', 'Örviken', 'Ösmo', 'Östadkulle', 'Östansjö', 'Östavall', 'Österbybruk', 'Österbymo', 'Österforse', 'Österfärnebo', 'Österhagen och Bergliden', 'Österslöv', 'Österstad', 'Östersund', 'Östervåla', 'Östhammar', 'Östhamra', 'Östmark', 'Östnor', 'Östorp och Ådran', 'Östra Bispgården', 'Östra Frölunda', 'Östra Grevie', 'Östra Husby', 'Östra Kallfors', 'Östra Karup', 'Östra Ljungby', 'Östra Ryd', 'Östra Sönnarslöv', 'Östra Tommarp', 'Östra Ånneröd', 'Östraby', 'Överboda', 'Överhörnäs', 'Överkalix', 'Överlida', 'Övertorneå', 'Överum', 'Övre Soppero', 'Övre Svartlå', 'Öxabäck', 'Öxeryd', - ]; - - protected static $cityFormats = [ - '{{cityName}}', - ]; - - protected static $state = []; - - protected static $stateAbbr = []; - - protected static $country = [ - 'Afghanistan', 'Albanien', 'Algeriet', 'Amerikanska Jungfruöarna', 'Amerikanska Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarktis', 'Antigua och Barbuda', 'Argentina', 'Armenien', 'Aruba', 'Australien', 'Azerbajdzjan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belgien', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnien och Hercegovina', 'Botswana', 'Bouvetön', 'Brasilien', 'Brittiska Indiska oceanöarna', 'Brittiska Jungfruöarna', 'Brunei', 'Bulgarien', 'Burkina Faso', 'Burundi', - 'Caymanöarna', 'Centralafrikanska republiken', 'Chile', 'Colombia', 'Cooköarna', 'Costa Rica', 'Cypern', - 'Danmark', 'Djibouti', 'Dominica', 'Dominikanska republiken', - 'Ecuador', 'Egypten', 'Ekvatorialguinea', 'El Salvador', 'Elfenbenskusten', 'Eritrea', 'Estland', 'Etiopien', - 'Falklandsöarna', 'Fiji', 'Filippinerna', 'Finland', 'Frankrike', 'Franska Guyana', 'Franska Polynesien', 'Franska Sydterritorierna', 'Färöarna', 'Förenade Arabemiraten', - 'Gabon', 'Gambia', 'Georgien', 'Ghana', 'Gibraltar', 'Grekland', 'Grenada', 'Grönland', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard- och McDonaldöarna', 'Honduras', 'Hongkong (S.A.R. Kina)', - 'Indien', 'Indonesien', 'Irak', 'Iran', 'Irland', 'Island', 'Isle of Man', 'Israel', 'Italien', - 'Jamaica', 'Japan', 'Jemen', 'Jersey', 'Jordanien', 'Julön', - 'Kambodja', 'Kamerun', 'Kanada', 'Kap Verde', 'Kazakstan', 'Kenya', 'Kina', 'Kirgizistan', 'Kiribati', 'Kokosöarna', 'Komorerna', 'Kongo-Brazzaville', 'Kongo-Kinshasa', 'Kroatien', 'Kuba', 'Kuwait', - 'Laos', 'Lesotho', 'Lettland', 'Libanon', 'Liberia', 'Libyen', 'Liechtenstein', 'Litauen', 'Luxemburg', - 'Macao (S.A.R. Kina)', 'Madagaskar', 'Makedonien', 'Malawi', 'Malaysia', 'Maldiverna', 'Mali', 'Malta', 'Marocko', 'Marshallöarna', 'Martinique', 'Mauretanien', 'Mauritius', 'Mayotte', 'Mexiko', 'Mikronesien', 'Moldavien', 'Monaco', 'Mongoliet', 'Montenegro', 'Montserrat', 'Moçambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nederländerna', 'Nederländska Antillerna', 'Nepal', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Nordkorea', 'Nordmarianerna', 'Norfolkön', 'Norge', 'Nya Kaledonien', 'Nya Zeeland', - 'Oman', - 'Pakistan', 'Palau', 'Palestinska territoriet', 'Panama', 'Papua Nya Guinea', 'Paraguay', 'Peru', 'Pitcairn', 'Polen', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Rumänien', 'Rwanda', 'Ryssland', 'Réunion', - 'S:t Barthélemy', 'S:t Helena', 'S:t Kitts och Nevis', 'S:t Lucia', 'S:t Martin', 'S:t Pierre och Miquelon', 'S:t Vincent och Grenadinerna', 'Salomonöarna', 'Samoa', 'San Marino', 'Saudiarabien', 'Schweiz', 'Senegal', 'Serbien', 'Serbien och Montenegro', 'Seychellerna', 'Sierra Leone', 'Singapore', 'Slovakien', 'Slovenien', 'Somalia', 'Spanien', 'Sri Lanka', 'Storbritannien', 'Sudan', 'Surinam', 'Svalbard och Jan Mayen', 'Sverige', 'Swaziland', 'Sydafrika', 'Sydgeorgien och Södra Sandwichöarna', 'Sydkorea', 'Syrien', 'São Tomé och Príncipe', - 'Tadzjikistan', 'Taiwan', 'Tanzania', 'Tchad', 'Thailand', 'Tjeckien', 'Togo', 'Tokelau', 'Tonga', 'Trinidad och Tobago', 'Tunisien', 'Turkiet', 'Turkmenistan', 'Turks- och Caicosöarna', 'Tuvalu', 'Tyskland', - 'USA', 'USA:s yttre öar', 'Uganda', 'Ukraina', 'Ungern', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Vatikanstaten', 'Venezuela', 'Vietnam', 'Vitryssland', 'Västsahara', 'Wallis- och Futunaöarna', - 'Zambia', 'Zimbabwe', - 'Åland', - 'Österrike', 'Östtimor', - ]; - - /** - * @var array Swedish street name formats - */ - protected static $streetNameFormats = [ - '{{lastName}}{{streetSuffix}}', - '{{lastName}}{{streetSuffix}}', - '{{firstName}}{{streetSuffix}}', - '{{firstName}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{streetPrefix}}{{streetSuffix}}', - '{{lastName}} {{streetSuffixWord}}', - ]; - - /** - * @var array Swedish street address formats - */ - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - - /** - * @var array Swedish address formats - */ - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; - - /** - * Randomly return a real city name - * - * @return string - */ - public static function cityName() - { - return static::randomElement(static::$cityNames); - } - - public static function streetSuffixWord() - { - return static::randomElement(static::$streetSuffixWord); - } - - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * Randomly return a building number. - * - * @return string - */ - public static function buildingNumber() - { - return static::toUpper(static::bothify(static::randomElement(static::$buildingNumber))); - } +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%###', '%##', '%#', '%#?', '%', '%?' ]; + + protected static $streetPrefix = [ + 'Stor', + 'Små', + 'Lill', + 'Sjö', + 'Kungs', + 'Drottning', + 'Hamn', + 'Brunns', + 'Linné', + 'Vasa', + 'Ring', + 'Freds', + ]; + + protected static $streetSuffix = [ + 'vägen', + 'gatan', + 'gränd', + 'stigen', + 'backen', + 'liden', + ]; + + protected static $streetSuffixWord = [ + 'Allé', + 'Gata', + 'Väg', + 'Backe', + ]; + + protected static $postcode = [ '%####', '%## ##' ]; + + /** + * @var array Swedish city names + * + * @see http://sv.wikipedia.org/wiki/Lista_%C3%B6ver_Sveriges_t%C3%A4torter + */ + protected static $cityNames = [ + 'Abbekås', + 'Abborrberget', + 'Agunnaryd', + 'Alberga', + 'Alby', + 'Alfta', + 'Algutsrum', + 'Alingsås', + 'Allerum', + 'Almunge', + 'Alsike', + 'Alstad', + 'Alster', + 'Alsterbro', + 'Alstermo', + 'Alunda', + 'Alvesta', + 'Alvhem', + 'Alvik', + 'Alvik', + 'Ambjörby', + 'Ambjörnarp', + 'Ammenäs', + 'Andalen', + 'Anderslöv', + 'Anderstorp', + 'Aneby', + 'Angelstad', + 'Angered', + 'Ankarsrum', + 'Ankarsvik', + 'Anneberg', + 'Anneberg', + 'Annelund', + 'Annelöv', + 'Antnäs', + 'Aplared', + 'Arboga', + 'Arbrå', + 'Ardala', + 'Arentorp', + 'Arild', + 'Arjeplog', + 'Arkelstorp', + 'Arnäsvall', + 'Arnö', + 'Arontorp', + 'Arvidsjaur', + 'Arvika', + 'Aröd och Timmervik', + 'Askeby', + 'Askersby', + 'Askersund', + 'Asmundtorp', + 'Asperö', + 'Aspås', + 'Avan', + 'Avesta', + 'Axvall', + 'Backa', + 'Backaryd', + 'Backberg', + 'Backe', + 'Baggetorp', + 'Ballingslöv', + 'Balsby', + 'Bammarboda', + 'Bankekind', + 'Bankeryd', + 'Bara', + 'Barkarö', + 'Barsebäck', + 'Barsebäckshamn', + 'Bastuträsk', + 'Beddingestrand', + 'Benareby', + 'Bengtsfors', + 'Bengtsheden', + 'Bensbyn', + 'Berg', + 'Berg', + 'Berg', + 'Berga', + 'Bergagård', + 'Bergby', + 'Bergeforsen', + 'Berghem', + 'Bergkvara', + 'Bergnäset', + 'Bergsbyn', + 'Bergshammar', + 'Bergshamra', + 'Bergsjö', + 'Bergströmshusen', + 'Bergsviken', + 'Bergvik', + 'Bestorp', + 'Bettna', + 'Bie', + 'Billdal', + 'Billeberga', + 'Billesholm', + 'Billinge', + 'Billingsfors', + 'Billsta', + 'Bjurholm', + 'Bjursås', + 'Bjuv', + 'Bjärnum', + 'Bjärred', + 'Bjärsjölagård', + 'Bjästa', + 'Björbo', + 'Björboholm', + 'Björke', + 'Björketorp', + 'Björklinge', + 'Björkvik', + 'Björkviken', + 'Björkö', + 'Björköby', + 'Björlanda', + 'Björna', + 'Björneborg', + 'Björnlunda', + 'Björnänge', + 'Björnö', + 'Björnömalmen och Klacknäset', + 'Björsäter', + 'Blackstalund', + 'Bleket', + 'Blentarp', + 'Blidsberg', + 'Blikstorp', + 'Blombacka', + 'Blomstermåla', + 'Blåsmark', + 'Blötberget', + 'Bockara', + 'Boda', + 'Bodafors', + 'Boden', + 'Boholmarna', + 'Boliden', + 'Bollebygd', + 'Bollnäs', + 'Bollstabruk', + 'Bonäs', + 'Boo', + 'Bor', + 'Borensberg', + 'Borggård', + 'Borgholm', + 'Borgstena', + 'Borlänge', + 'Borrby', + 'Borås', + 'Bosnäs', + 'Botsmark', + 'Bottnaryd', + 'Bovallstrand', + 'Boxholm', + 'Brantevik', + 'Brastad', + 'Brattås', + 'Braås', + 'Bredared', + 'Bredaryd', + 'Bredbyn', + 'Bredsand', + 'Bredviken', + 'Brevik', + 'Brevikshalvön', + 'Bro', + 'Broaryd', + 'Broby', + 'Brokind', + 'Bromölla', + 'Brottby', + 'Brunflo', + 'Brunn', + 'Brunna', + 'Brunnsberg', + 'Bruzaholm', + 'Brålanda', + 'Bräcke', + 'Bräkne-Hoby', + 'Brändön', + 'Brännland', + 'Brännö', + 'Brösarp', + 'Bua', + 'Buerås', + 'Bullmark', + 'Bunkeflostrand', + 'Bureå', + 'Burgsvik', + 'Burlövs egnahem', + 'Burseryd', + 'Burträsk', + 'Buskhyttan', + 'Butbro', + 'Bygdeå', + 'Bygdsiljum', + 'Byske', + 'Bålsta', + 'Bårslöv', + 'Båstad', + 'Båtskärsnäs', + 'Bäckaskog', + 'Bäckebo', + 'Bäckefors', + 'Bäckhammar', + 'Bälgviken', + 'Bälinge', + 'Bälinge', + 'Bärby', + 'Bäsna', + 'Böle', + 'Bönan', + 'Charlottenberg', + 'Dalarö', + 'Dalby', + 'Dals Långed', + 'Dals Rostock', + 'Dalsjöfors', + 'Dalstorp', + 'Dalum', + 'Danholn', + 'Dannemora', + 'Dannike', + 'Degeberga', + 'Degerfors', + 'Degerhamn', + 'Deje', + 'Delary', + 'Delsbo', + 'Dingersjö', + 'Dingle', + 'Dingtuna', + 'Diseröd', + 'Diö', + 'Djulö kvarn', + 'Djura', + 'Djurmo', + 'Djurås', + 'Djurö', + 'Docksta', + 'Domsten', + 'Donsö', + 'Dorotea', + 'Drag', + 'Drottningholm', + 'Drängsmark', + 'Dunö', + 'Duved', + 'Duvesjön', + 'Dvärsätt', + 'Dyvelsten', + 'Dösjebro', + 'Ed', + 'Eda glasbruk', + 'Edane', + 'Edsbro', + 'Edsbruk', + 'Edsbyn', + 'Edsvalla', + 'Eggby', + 'Ekeby', + 'Ekeby', + 'Ekeby', + 'Ekeby', + 'Ekeby-Almby', + 'Ekedalen', + 'Ekenässjön', + 'Ekerö', + 'Ekerö sommarstad', + 'Eket', + 'Ekshärad', + 'Eksjö', + 'Eksund', + 'Ekängen', + 'Eldsberga', + 'Ellös', + 'Emmaboda', + 'Emmaljunga', + 'Emsfors', + 'Emtunga', + 'Eneryda', + 'Enhagen-Ekbacken', + 'Enköping', + 'Ensjön', + 'Enstaberga', + 'Enviken', + 'Enånger', + 'Eriksmåla', + 'Eringsboda', + 'Ersmark', + 'Ersmark', + 'Ersnäs', + 'Eskilsby och Snugga', + 'Eskilstuna', + 'Eslöv', + 'Essvik', + 'Evertsberg', + 'Everöd', + 'Fagerhult', + 'Fagersanna', + 'Fagersta', + 'Fagerås', + 'Falerum', + 'Falkenberg', + 'Falköping', + 'Falla', + 'Falun', + 'Fanbyn', + 'Fellingsbro', + 'Fengersfors', + 'Figeholm', + 'Filipstad', + 'Filsbäck', + 'Finja', + 'Finkarby', + 'Finnerödja', + 'Finspång', + 'Finsta', + 'Fiskebäckskil', + 'Fisksätra', + 'Fjugesta', + 'Fjälkinge', + 'Fjällbacka', + 'Fjärdhundra', + 'Fjärås kyrkby', + 'Flen', + 'Flisby', + 'Fliseryd', + 'Floby', + 'Floda', + 'Floda', + 'Flurkmark', + 'Flygsfors', + 'Flyinge', + 'Flädie', + 'Fornåsa', + 'Fors', + 'Forsbacka', + 'Forsby', + 'Forserum', + 'Forshaga', + 'Forsheda', + 'Forssjö', + 'Forsvik', + 'Fotö', + 'Fredrika', + 'Fredriksberg', + 'Fredriksdal', + 'Fridafors', + 'Fridlevstad', + 'Friggesund', + 'Frillesås', + 'Frinnaryd', + 'Fristad', + 'Fritsla', + 'Frufällan', + 'Frånö', + 'Främmestad', + 'Frändefors', + 'Fränsta', + 'Frödinge', + 'Frösakull', + 'Frövi', + 'Funäsdalen', + 'Furuby', + 'Furudal', + 'Furulund', + 'Furusjö', + 'Furuvik', + 'Fyllinge', + 'Fågelfors', + 'Fågelmara', + 'Fågelsta', + 'Fågelvikshöjden', + 'Fårbo', + 'Fårösund', + 'Färgelanda', + 'Färila', + 'Färjestaden', + 'Färlöv', + 'Färnäs', + 'Föllinge', + 'Förslöv', + 'Gagnef', + 'Gamleby', + 'Gammelgården', + 'Gammelstad', + 'Gantofta', + 'Garpenberg', + 'Garphyttan', + 'Geijersholm', + 'Gemla', + 'Genarp', + 'Genevad', + 'Gessie villastad', + 'Gesunda', + 'Getinge', + 'Gideå', + 'Gimmersta', + 'Gimo', + 'Gimåt', + 'Gislaved', + 'Gistad', + 'Gladö kvarn', + 'Glanshammar', + 'Glemmingebro', + 'Glimåkra', + 'Glommen', + 'Glommersträsk', + 'Glumslöv', + 'Gnarp', + 'Gnesta', + 'Gnosjö', + 'Godegård', + 'Gonäs', + 'Gottne', + 'Grangärde', + 'Granö', + 'Graversfors', + 'Grebbestad', + 'Grebo', + 'Grevie', + 'Grevie och Beden', + 'Grillby', + 'Grimslöv', + 'Grimstorp', + 'Grimsås', + 'Gripenberg', + 'Grisslehamn', + 'Grums', + 'Grundsund', + 'Grycksbo', + 'Grytgöl', + 'Grythyttan', + 'Gråbo', + 'Gräfsnäs', + 'Grängesberg', + 'Gränna', + 'Gränum', + 'Grästorp', + 'Grödby', + 'Gualöv', + 'Gubbo', + 'Gudhem', + 'Gullbrandstorp', + 'Gullbranna', + 'Gulleråsen', + 'Gullringen', + 'Gullspång', + 'Gundal och Högås', + 'Gunnarskog', + 'Gunnarstorp', + 'Gunnebo', + 'Gunsta', + 'Gusselby', + 'Gustavsberg', + 'Gustavsberg', + 'Gusum', + 'Gyttorp', + 'Gånghester', + 'Gårdby', + 'Gårdskär', + 'Gårdstånga', + 'Gåvsta', + 'Gäddede', + 'Gällivare', + 'Gällstad', + 'Gällö', + 'Gängletorp', + 'Gärds Köpinge', + 'Gärsnäs', + 'Gävle', + 'Göta', + 'Göteborg', + 'Götene', + 'Götlunda', + 'Habo', + 'Hackås', + 'Haga', + 'Hagby', + 'Hagbyhöjden', + 'Hagfors', + 'Hagge', + 'Hagryd-Dala', + 'Hakkas', + 'Halla Heberg', + 'Hallabro', + 'Hallen', + 'Hallerna', + 'Hallsberg', + 'Hallstahammar', + 'Hallstavik', + 'Halltorp', + 'Halmstad', + 'Halvarsgårdarna', + 'Hamburgsund', + 'Hammar', + 'Hammar', + 'Hammarby', + 'Hammarslund', + 'Hammarstrand', + 'Hammenhög', + 'Hammerdal', + 'Hampetorp', + 'Hamrångefjärden', + 'Hanaskog', + 'Haparanda', + 'Harads', + 'Harbo', + 'Hargshamn', + 'Harlösa', + 'Harmånger', + 'Harplinge', + 'Hassela', + 'Hasselfors', + 'Hasslarp', + 'Hasslö', + 'Hasslöv', + 'Havdhem', + 'Haverdal', + 'Heberg', + 'Heby', + 'Hedared', + 'Hede', + 'Hedekas', + 'Hedemora', + 'Hedenäset', + 'Hedeskoga', + 'Hedesunda', + 'Hedvigsberg', + 'Helsingborg', + 'Hemavan/Bierke', + 'Hemmesta', + 'Hemmingsmark', + 'Hemse', + 'Henån', + 'Herrestad', + 'Herrljunga', + 'Herräng', + 'Herstadberg', + 'Hestra', + 'Hestra', + 'Hillared', + 'Hillerstorp', + 'Himle', + 'Hindås', + 'Hishult', + 'Hissjön', + 'Hittarp', + 'Hjo', + 'Hjorted', + 'Hjortkvarn', + 'Hjortsberga', + 'Hjuvik', + 'Hjälm', + 'Hjälmared', + 'Hjälmared', + 'Hjältevad', + 'Hjärnarp', + 'Hjärsås', + 'Hjärtum', + 'Hjärup', + 'Hofors', + 'Hofterup', + 'Hogstad', + 'Hogstorp', + 'Hok', + 'Holm', + 'Holmeja', + 'Holmsjö', + 'Holmsund', + 'Holsbybrunn', + 'Holsljunga', + 'Horda', + 'Horn', + 'Horndal', + 'Horred', + 'Hortlax', + 'Hoting', + 'Hova', + 'Hovid', + 'Hovmantorp', + 'Hovsta', + 'Huaröd', + 'Hudiksvall', + 'Hult', + 'Hultafors', + 'Hultsfred', + 'Hulu', + 'Hummelsta', + 'Hunnebostrand', + 'Hurva', + 'Husby', + 'Husum', + 'Hybo', + 'Hyllinge', + 'Hyltebruk', + 'Hyssna', + 'Håbo-Tibble kyrkby', + 'Håga', + 'Håksberg', + 'Hållsta', + 'Hålsjö', + 'Hånger', + 'Häggeby och Vreta', + 'Häggenås', + 'Häljarp', + 'Hällabrottet', + 'Hällaryd', + 'Hällberga', + 'Hällbybrunn', + 'Hällefors', + 'Hälleforsnäs', + 'Hällekis', + 'Hällestad', + 'Hällesåker', + 'Hällevadsholm', + 'Hällevik', + 'Hälleviksstrand', + 'Hällingsjö', + 'Hällnäs', + 'Hälsö', + 'Härad', + 'Häradsbygden', + 'Härnösand', + 'Härryda', + 'Härslöv', + 'Hässleholm', + 'Hästhagen', + 'Hästholmen', + 'Hästveda', + 'Höganäs', + 'Högboda', + 'Högsby', + 'Högsjö', + 'Högsäter', + 'Höja', + 'Hökerum', + 'Hökåsen', + 'Hököpinge', + 'Höllviken', + 'Hölö', + 'Hönö', + 'Hörby', + 'Hörnefors', + 'Hörvik', + 'Höviksnäs', + 'Höör', + 'Idala', + 'Idkerberget', + 'Idre', + 'Igelfors', + 'Igelstorp', + 'Iggesund', + 'Ilsbo', + 'Immeln', + 'Indal', + 'Ingared', + 'Ingaröstrand', + 'Ingatorp', + 'Ingelstad', + 'Ingelsträde', + 'Innertavle', + 'Insjön', + 'Irsta', + 'Johannedal', + 'Johannesudd', + 'Johannishus', + 'Johansfors', + 'Jokkmokk', + 'Jonsered', + 'Jonslund', + 'Jonstorp', + 'Jordbro', + 'Jukkasjärvi', + 'Jung', + 'Juniskär', + 'Junosuando', + 'Junsele', + 'Juoksengi', + 'Jursla', + 'Jäderfors', + 'Jädraås', + 'Jämjö', + 'Jämshög', + 'Jämtön', + 'Järbo', + 'Järlåsa', + 'Järna', + 'Järna', + 'Järnforsen', + 'Järpen', + 'Järpås', + 'Järvsö', + 'Jättendal', + 'Jävre', + 'Jönköping', + 'Jönåker', + 'Jörlanda', + 'Jörn', + 'Jössefors', + 'Kalix', + 'Kallax', + 'Kallinge', + 'Kalmar', + 'Kalvsund', + 'Kangos', + 'Karby', + 'Kareby', + 'Karesuando', + 'Karlholmsbruk', + 'Karlsborg', + 'Karlsborg', + 'Karlshamn', + 'Karlskoga', + 'Karlskrona', + 'Karlstad', + 'Karlsvik', + 'Karungi', + 'Karups sommarby', + 'Kastlösa', + 'Katrinedal', + 'Katrineholm', + 'Kattarp', + 'Kaxholmen', + 'Kebal', + 'Kil', + 'Kil', + 'Kilafors', + 'Killeberg', + 'Kilsmo', + 'Kimstad', + 'Kinna', + 'Kinnared', + 'Kinnarp', + 'Kinnarumma', + 'Kiruna', + 'Kisa', + 'Kivik', + 'Kjulaås', + 'Klagstorp', + 'Klevshult', + 'Klingsta och Allsta', + 'Klintehamn', + 'Klippan', + 'Klippans bruk', + 'Klockestrand', + 'Klockrike', + 'Klågerup', + 'Klädesholmen', + 'Kläppa', + 'Klässbol', + 'Klöverträsk', + 'Klövsjö', + 'Knislinge', + 'Knivsta', + 'Knutby', + 'Knäred', + 'Kode', + 'Kolbäck', + 'Kolsva', + 'Konga', + 'Kopparberg', + 'Kopparmora', + 'Koppom', + 'Korpilombolo', + 'Korsberga', + 'Korsberga', + 'Korsträsk', + 'Koskullskulle', + 'Kosta', + 'Kovland', + 'Kramfors', + 'Kristdala', + 'Kristianstad', + 'Kristineberg', + 'Kristinehamn', + 'Kristvallabrunn', + 'Krokek', + 'Krokom', + 'Krägga', + 'Kulltorp', + 'Kullö', + 'Kumla', + 'Kumla kyrkby', + 'Kummelnäs', + 'Kungsbacka', + 'Kungsberga', + 'Kungsgården', + 'Kungshamn', + 'Kungshult', + 'Kungsängen', + 'Kungsäter', + 'Kungsör', + 'Kungälv', + 'Kurland', + 'Kusmark', + 'Kuttainen', + 'Kvibille', + 'Kvicksund', + 'Kvidinge', + 'Kvillsfors', + 'Kvisljungeby', + 'Kvissleby', + 'Kvänum', + 'Kvärlöv', + 'Kyrkheddinge', + 'Kyrkhult', + 'Kyrksten', + 'Kåge', + 'Kågeröd', + 'Kåhög', + 'Kållekärr', + 'Kållered', + 'Kånna', + 'Kårsta', + 'Kälarne', + 'Källby', + 'Källö-Knippla', + 'Kärda', + 'Kärna', + 'Kärsta och Bredsdal', + 'Kättilsmåla', + 'Kättilstorp', + 'Kävlinge', + 'Köping', + 'Köpingebro', + 'Köpingsvik', + 'Köpmanholmen', + 'Lagan', + 'Laholm', + 'Lammhult', + 'Landeryd', + 'Landfjärden', + 'Landsbro', + 'Landskrona', + 'Landvetter', + 'Lanesund och Överby', + 'Lanna', + 'Lanna', + 'Latorpsbruk', + 'Laxvik', + 'Laxå', + 'Lekeryd', + 'Leksand', + 'Lenhovda', + 'Lerdala', + 'Lerkil', + 'Lerum', + 'Lesjöfors', + 'Lessebo', + 'Liatorp', + 'Lidatorp och Klövsta', + 'Liden', + 'Lidhult', + 'Lidingö', + 'Lidköping', + 'Lilla Edet', + 'Lilla Harrie', + 'Lilla Stenby', + 'Lilla Tjärby', + 'Lillhaga', + 'Lillhärdal', + 'Lillkyrka', + 'Lillpite', + 'Lima', + 'Limedsforsen', + 'Limmared', + 'Linderöd', + 'Lindesberg', + 'Lindholmen', + 'Lindome', + 'Lindsdal', + 'Lindö', + 'Lingbo', + 'Linghed', + 'Linghem', + 'Linköping', + 'Linneryd', + 'Listerby', + 'Lit', + 'Ljugarn', + 'Ljung', + 'Ljunga', + 'Ljungaverk', + 'Ljungby', + 'Ljungbyhed', + 'Ljungbyholm', + 'Ljunghusen', + 'Ljungsarp', + 'Ljungsbro', + 'Ljungskile', + 'Ljungstorp och Jägersbo', + 'Ljusdal', + 'Ljusfallshammar', + 'Ljusne', + 'Loftahammar', + 'Lomma', + 'Los', + 'Lotorp', + 'Lottefors', + 'Lucksta', + 'Ludvigsborg', + 'Ludvika', + 'Lugnet och Skälsmara', + 'Lugnvik', + 'Lugnås', + 'Luleå', + 'Lund', + 'Lund', + 'Lunde', + 'Lundsbrunn', + 'Lunnarp', + 'Lurudden', + 'Lycksele', + 'Lyrestad', + 'Lysekil', + 'Lysvik', + 'Långasjö', + 'Långsele', + 'Långshyttan', + 'Långvik', + 'Långviksmon', + 'Långås', + 'Låssby', + 'Läby', + 'Läckeby', + 'Länghem', + 'Länna', + 'Lärbro', + 'Löberöd', + 'Löddeköpinge', + 'Löderup', + 'Lödöse', + 'Löftaskog', + 'Lögdeå', + 'Lönsboda', + 'Lörby', + 'Löttorp', + 'Löwenströmska lasarettet', + 'Lövestad', + 'Lövstalöt', + 'Lövånger', + 'Madängsholm', + 'Mala', + 'Malmberget', + 'Malmbäck', + 'Malmköping', + 'Malmslätt', + 'Malmö', + 'Maln', + 'Malung', + 'Malungsfors', + 'Malå', + 'Mantorp', + 'Marbäck', + 'Margretetorp', + 'Mariannelund', + 'Marieby', + 'Mariedal', + 'Mariefred', + 'Marieholm', + 'Marielund', + 'Marielund', + 'Mariestad', + 'Markaryd', + 'Marma', + 'Marmaskogen', + 'Marmaverken', + 'Marmorbyn', + 'Marstrand', + 'Matfors', + 'Medle', + 'Medåker', + 'Mehedeby', + 'Mellansel', + 'Mellbystrand', + 'Mellerud', + 'Mellösa', + 'Merlänna', + 'Misterhult', + 'Mjällby', + 'Mjällom', + 'Mjöbäck', + 'Mjöhult', + 'Mjölby', + 'Mjönäs', + 'Mockfjärd', + 'Mogata', + 'Mohed', + 'Moheda', + 'Moholm', + 'Moliden', + 'Molkom', + 'Mollösund', + 'Mora', + 'Mora', + 'Morgongåva', + 'Morjärv', + 'Morup', + 'Moskosel', + 'Motala', + 'Mullhyttan', + 'Mullsjö', + 'Munga', + 'Munka-Ljungby', + 'Munkedal', + 'Munkfors', + 'Munktorp', + 'Muskö', + 'Myckle', + 'Myggenäs', + 'Myresjö', + 'Myrviken', + 'Mysingsö', + 'Mysterna', + 'Målerås', + 'Målilla', + 'Målsryd', + 'Månkarbo', + 'Måttsund', + 'Märsta', + 'Möklinta', + 'Mölle', + 'Mölltorp', + 'Mölnbo', + 'Mölnlycke', + 'Mönsterås', + 'Mörarp', + 'Mörbylånga', + 'Mörlunda', + 'Mörrum', + 'Mörsil', + 'Mörtnäs', + 'Naglarby och Enbacka', + 'Nedansjö', + 'Nedre Gärdsjö', + 'Nikkala', + 'Nissafors', + 'Nitta', + 'Njurundabommen', + 'Njutånger', + 'Nogersund', + 'Nolvik', + 'Nora', + 'Norberg', + 'Nordanö', + 'Nordingrå', + 'Nordkroken', + 'Nordmaling', + 'Nordmark', + 'Nore', + 'Norje', + 'Norr Amsberg', + 'Norra Bro', + 'Norra Lagnö', + 'Norra Riksten', + 'Norra Rörum', + 'Norra Visby', + 'Norra Åsum', + 'Norrfjärden', + 'Norr-Hede', + 'Norrhult-Klavreström', + 'Norrköping', + 'Norrlandet', + 'Norrskedika', + 'Norrsundet', + 'Norrtälje', + 'Norrö', + 'Norsesund', + 'Norsholm', + 'Norsjö', + 'Nossebro', + 'Nusnäs', + 'Nya Långenäs', + 'Nyborg', + 'Nybro', + 'Nybrostrand', + 'Nygård', + 'Nygårds hagar', + 'Nyhammar', + 'Nykil', + 'Nykroppa', + 'Nykvarn', + 'Nykyrka', + 'Nyköping', + 'Nyland', + 'Nymölla', + 'Nynäshamn', + 'Nås', + 'Nälden', + 'Näs bruk', + 'Nässjö', + 'Näsum', + 'Näsviken', + 'Näsviken', + 'Näsåker', + 'Nättraby', + 'Nävekvarn', + 'Nävragöl', + 'Nöbbele', + 'Nödinge-Nol', + 'Obbola', + 'Ockelbo', + 'Odensbacken', + 'Odensberg', + 'Odensjö', + 'Oleby', + 'Olofstorp', + 'Olofström', + 'Olsfors', + 'Olshammar', + 'Olstorp', + 'Onsala', + 'Onslunda', + 'Ope', + 'Optand', + 'Ormanäs och Stanstorp', + 'Ornäs', + 'Orrefors', + 'Orrviken', + 'Orsa', + 'Osby', + 'Osbyholm', + 'Oskar-Fredriksborg', + 'Oskarshamn', + 'Oskarström', + 'Ostvik', + 'Otterbäcken', + 'Ovanåker', + 'Ovesholm', + 'Oxelösund', + 'Oxie', + 'Pajala', + 'Parksidan', + 'Pauliström', + 'Persberg', + 'Persbo', + 'Pershagen', + 'Perstorp', + 'Persön', + 'Pilgrimstad', + 'Piperskärr', + 'Piteå', + 'Porjus', + 'Pukavik', + 'Påarp', + 'Pålsboda', + 'Påläng', + 'Påryd', + 'Påskallavik', + 'Rabbalshede', + 'Raksta', + 'Ramdala', + 'Ramnäs', + 'Ramsberg', + 'Ramsele', + 'Ramstalund', + 'Ramvik', + 'Ransta', + 'Rappestad', + 'Reftele', + 'Rejmyre', + 'Rengsjö', + 'Repbäcken', + 'Resarö', + 'Revingeby', + 'Riala', + 'Riddarhyttan', + 'Rimbo', + 'Rimforsa', + 'Ringarum', + 'Ringsegård', + 'Rinkaby', + 'Rinkabyholm', + 'Risögrund', + 'Rixö', + 'Robertsfors', + 'Rockhammar', + 'Rockneby', + 'Roknäs', + 'Rolfhamre och Måga', + 'Rolfs', + 'Rolfstorp', + 'Roma kyrkby (Lövsta)', + 'Roma (Romakloster)', + 'Ronneby', + 'Ronnebyhamn', + 'Rosenfors', + 'Rosenlund', + 'Rosersberg', + 'Rossön', + 'Rosvik', + 'Rot', + 'Roteberg', + 'Rottne', + 'Rottneros', + 'Ruda', + 'Rundvik', + 'Runemo', + 'Runhällen', + 'Runtuna', + 'Rusksele', + 'Rutvik', + 'Rya', + 'Ryd', + 'Rydaholm', + 'Rydal', + 'Rydbo', + 'Rydboholm', + 'Rydebäck', + 'Rydsgård', + 'Rydsnäs', + 'Rydöbruk', + 'Ryssby', + 'Råby', + 'Råda', + 'Råneå', + 'Rångedala', + 'Rånnaväg', + 'Rånäs', + 'Rälla', + 'Rängs sand', + 'Ränneslöv', + 'Rättarboda', + 'Rättvik', + 'Rävemåla', + 'Rävlanda', + 'Röbäck', + 'Röda holme', + 'Rödbo', + 'Rödeby', + 'Röfors', + 'Röke', + 'Rönneshytta', + 'Rönnäng', + 'Rörvik', + 'Rörö', + 'Röstånga', + 'Sala', + 'Salbohed', + 'Saleby', + 'Saltsjöbaden', + 'Saltvik', + 'Sandared', + 'Sandarne', + 'Sandhem', + 'Sandhult', + 'Sandskogen', + 'Sandslån', + 'Sandviken', + 'Sandviken', + 'Sangis', + 'Sankt Olof', + 'Sannahed', + 'Saxdalen', + 'Saxtorpsskogen', + 'Segersta', + 'Segersäng', + 'Segmon', + 'Selja', + 'Sennan', + 'Seskarö', + 'Sexdrega', + 'Sibbhult', + 'Sibble', + 'Sibo', + 'Sidensjö', + 'Sifferbo', + 'Sigtuna', + 'Siljansnäs', + 'Silverdalen', + 'Simlångsdalen', + 'Simonstorp', + 'Simris', + 'Simrishamn', + 'Sjuhalla', + 'Sjulsmark', + 'Sjunnen', + 'Sjuntorp', + 'Sjöberg', + 'Sjöbo', + 'Sjöbo sommarby och Svansjö sommarby', + 'Sjödiken', + 'Sjögestad', + 'Sjömarken', + 'Sjörröd', + 'Sjösa', + 'Sjötorp', + 'Sjövik', + 'Skagersvik', + 'Skanör med Falsterbo', + 'Skara', + 'Skattkärr', + 'Skattungbyn', + 'Skavkulla och Skillingenäs', + 'Skebobruk', + 'Skeda udde', + 'Skedala', + 'Skede', + 'Skedvi kyrkby', + 'Skee', + 'Skegrie', + 'Skelleftehamn', + 'Skellefteå', + 'Skepparkroken', + 'Skepplanda', + 'Skeppsdalsström', + 'Skeppshult', + 'Skillingaryd', + 'Skillinge', + 'Skinnskatteberg', + 'Skivarp', + 'Skoby', + 'Skog', + 'Skoghall', + 'Skogsby', + 'Skogstorp', + 'Skogstorp', + 'Skottorp', + 'Skottsund', + 'Skrea', + 'Skreanäs', + 'Skriketorp', + 'Skruv', + 'Skultorp', + 'Skultuna', + 'Skummeslövsstrand', + 'Skumparp', + 'Skurup', + 'Skutskär', + 'Skyttorp', + 'Skånes-Fagerhult', + 'Skåpafors', + 'Skåre', + 'Skällinge', + 'Skänninge', + 'Skärblacka', + 'Skärgårdsstad', + 'Skärhamn', + 'Skärplinge', + 'Skärstad', + 'Sköldinge', + 'Sköllersta', + 'Skölsta', + 'Skövde', + 'Slaka', + 'Slite', + 'Slottsbron', + 'Slottsskogen', + 'Slöinge', + 'Smedby', + 'Smedjebacken', + 'Smedstorp', + 'Smygehamn', + 'Smålandsstenar', + 'Smögen', + 'Snöveltorp', + 'Solberga', + 'Solberga', + 'Sollebrunn', + 'Sollefteå', + 'Sollerön', + 'Solsidan', + 'Solvarbo', + 'Sommen', + 'Sonstorp', + 'Sorsele', + 'Sorunda', + 'Sparreholm', + 'Spjutsbygd', + 'Spångsholm', + 'Staffanstorp', + 'Stallarholmen', + 'Stamsjö', + 'Starrkärr och Näs', + 'Stava', + 'Stavreviken', + 'Stavsjö', + 'Stavsnäs', + 'Stehag', + 'Stenared', + 'Stenhamra', + 'Steninge', + 'Stensele', + 'Stensjön', + 'Stenstorp', + 'Stensund och Krymla', + 'Stenungsund', + 'Stenungsön', + 'Sticklinge udde', + 'Stidsvig', + 'Stigen', + 'Stigtomta', + 'Stjärnhov', + 'Stoby', + 'Stocka', + 'Stockamöllan', + 'Stockaryd', + 'Stockholm', + 'Stockvik', + 'Stora Bugärde', + 'Stora Dyrön', + 'Stora Herrestad', + 'Stora Höga', + 'Stora Levene', + 'Stora Mellby', + 'Stora Mellösa', + 'Stora Vika', + 'Storebro', + 'Storfors', + 'Storuman', + 'Storvik', + 'Storvreta', + 'Storå', + 'Strandhugget', + 'Strandnorum', + 'Striberg', + 'Strålsnäs', + 'Strångsjö', + 'Stråssa', + 'Strängnäs', + 'Strömma', + 'Strömsbruk', + 'Strömsfors', + 'Strömsholm', + 'Strömsnäsbruk', + 'Strömstad', + 'Strömsund', + 'Strövelstorp', + 'Stugun', + 'Sturefors', + 'Sturkö', + 'Styrsö', + 'Stånga', + 'Stångby', + 'Ställdalen', + 'Stöcke', + 'Stöcksjö', + 'Stöde', + 'Stöllet', + 'Stöpen', + 'Sulvik', + 'Sund', + 'Sundborn', + 'Sundby', + 'Sundbyholm', + 'Sundhultsbrunn', + 'Sundsbruk', + 'Sundsvall', + 'Sunnansjö', + 'Sunne', + 'Sunnemo', + 'Sunningen', + 'Surahammar', + 'Surte', + 'Svalsta', + 'Svalöv', + 'Svanberga', + 'Svanesund', + 'Svanskog', + 'Svanvik', + 'Svappavaara', + 'Svartbyn', + 'Svarte', + 'Svartvik', + 'Svartå', + 'Svedala', + 'Sveg', + 'Svenljunga', + 'Svensbyn', + 'Svenshögen', + 'Svenstavik', + 'Svenstorp', + 'Svinninge', + 'Svängsta', + 'Svärdsjö', + 'Svärtinge', + 'Sya', + 'Sysslebäck', + 'Sågmyra', + 'Säffle', + 'Sälen', + 'Sälgsjön', + 'Särna', + 'Särö', + 'Säter', + 'Sätila', + 'Sätofta', + 'Sätra brunn', + 'Sävar', + 'Sävast', + 'Säve', + 'Sävja', + 'Sävsjö', + 'Söderala', + 'Söderby', + 'Söderby-Karl', + 'Söderbärke', + 'Söderfors', + 'Söderhamn', + 'Söderköping', + 'Söderskogen', + 'Södersvik', + 'Södertälje', + 'Söderåkra', + 'Södra Bergsbyn och Stackgrönnan', + 'Södra Klagshamn', + 'Södra Näs', + 'Södra Sandby', + 'Södra Sunderbyn', + 'Södra Vi', + 'Södra Vrams fälad', + 'Sölvesborg', + 'Sörfors', + 'Sörforsa', + 'Sörmjöle', + 'Sörstafors', + 'Sörvik', + 'Söråker', + 'Sösdala', + 'Sövde', + 'Sövestad', + 'Taberg', + 'Tahult', + 'Tallvik', + 'Tallåsen', + 'Tandsbyn', + 'Tanumshede', + 'Tavelsjö', + 'Teckomatorp', + 'Tenhult', + 'Tibro', + 'Tidaholm', + 'Tidan', + 'Tidö-Lindö', + 'Tierp', + 'Tillberga', + 'Timmele', + 'Timmernabben', + 'Timmersdala', + 'Timrå', + 'Timsfors', + 'Tingsryd', + 'Tingstäde', + 'Tjautjas/Cavccas', + 'Tjuvkil', + 'Tjällmo', + 'Tjörnarp', + 'Toarp', + 'Tobo', + 'Tofta', + 'Toftbyn', + 'Tollarp', + 'Tollered', + 'Tomelilla', + 'Torarp', + 'Torbjörntorp', + 'Torekov', + 'Torestorp', + 'Torhamn', + 'Tormestorp', + 'Torna Hällestad', + 'Torpsbruk', + 'Torpshammar', + 'Torreby', + 'Torsby', + 'Torsby', + 'Torsebro', + 'Torshälla', + 'Torshälla huvud', + 'Torsåker', + 'Torsång', + 'Torsås', + 'Tortuna', + 'Torup', + 'Tosseryd', + 'Totebo', + 'Totra', + 'Tranemo', + 'Tranholmen', + 'Transtrand', + 'Tranås', + 'Traryd', + 'Trekanten', + 'Trelleborg', + 'Trollhättan', + 'Trosa', + 'Trulsegården', + 'Trångsviken', + 'Tråvad', + 'Trädet', + 'Träslövsläge', + 'Trödje', + 'Trönninge', + 'Trönninge', + 'Tulebo', + 'Tumba', + 'Tumbo', + 'Tumlehed', + 'Tun', + 'Tuna', + 'Tuna', + 'Tunadal', + 'Tunnerstad', + 'Tureholm', + 'Tving', + 'Tvååker', + 'Tvärskog', + 'Tvärålund', + 'Tygelsjö', + 'Tylösand', + 'Tyringe', + 'Tystberga', + 'Tågarp', + 'Tånga och Rögle', + 'Tångaberg', + 'Täby', + 'Täfteå', + 'Täljö', + 'Tällberg', + 'Tärnaby', + 'Tärnsjö', + 'Tävelsås', + 'Töcksfors', + 'Töllsjö', + 'Töre', + 'Töreboda', + 'Törestorp', + 'Tösse', + 'Ucklum', + 'Uddebo', + 'Uddeholm', + 'Uddevalla', + 'Uddheden', + 'Ullared', + 'Ullatti', + 'Ullervad', + 'Ullånger', + 'Ulricehamn', + 'Ulrika', + 'Ulvkälla', + 'Ulvåker', + 'Umeå', + 'Unbyn', + 'Undenäs', + 'Undersåker', + 'Unnaryd', + 'Upphärad', + 'Upplanda', + 'Upplands Väsby', + 'Uppsala', + 'Urshult', + 'Ursviken', + 'Utansjö', + 'Utby', + 'Utvälinge', + 'Vad', + 'Vadstena', + 'Vaggeryd', + 'Vagnhärad', + 'Valbo', + 'Valdemarsvik', + 'Valje', + 'Valla', + 'Vallargärdet', + 'Vallberga', + 'Vallda', + 'Vallentuna', + 'Vallsta', + 'Vallvik', + 'Vallåkra', + 'Valskog', + 'Vankiva', + 'Vannsätter', + 'Vansbro', + 'Vansö kyrkby', + 'Vaplan', + 'Vara', + 'Varberg', + 'Varekil', + 'Vargön', + 'Varnhem', + 'Vartofta', + 'Vassbäck', + 'Vassmolösa', + 'Vattholma', + 'Vattjom', + 'Vattnäs', + 'Vattubrinken', + 'Vaxholm', + 'Veberöd', + 'Veddige', + 'Vedevåg', + 'Vedum', + 'Vegby', + 'Veinge', + 'Vejbystrand', + 'Velanda', + 'Vellinge', + 'Vemdalen', + 'Vena', + 'Venjan', + 'Vessigebro', + 'Vetlanda', + 'Vi', + 'Vibble', + 'Viby', + 'Vickleby', + 'Vidja', + 'Vidsel', + 'Vidöåsen', + 'Vik', + 'Vika', + 'Vikarbyn', + 'Viken', + 'Vikingstad', + 'Vikmanshyttan', + 'Viksjöfors', + 'Viksäter', + 'Vilhelmina', + 'Villshärad', + 'Vilshult', + 'Vimmerby', + 'Vinberg', + 'Vinbergs kyrkby', + 'Vindeln', + 'Vingåker', + 'Vinninga', + 'Vinnö', + 'Vinslöv', + 'Vintrie', + 'Vintrosa', + 'Vinäs', + 'Virsbo', + 'Virserum', + 'Visby', + 'Viskafors', + 'Vislanda', + 'Vissefjärda', + 'Vistträsk', + 'Vitaby', + 'Vittangi', + 'Vittaryd', + 'Vittinge', + 'Vittjärv', + 'Vittsjö', + 'Vittskövle', + 'Vollsjö', + 'Vrena', + 'Vretstorp', + 'Vrigstad', + 'Vrångö', + 'Vuollerim', + 'Vålberg', + 'Våmhus', + 'Vånga', + 'Vårdsätra', + 'Vårgårda', + 'Vårsta', + 'Våxtorp', + 'Väckelsång', + 'Väderstad', + 'Väggarp', + 'Väjern', + 'Väländan', + 'Vänersborg', + 'Väne-Åsaka', + 'Vänge', + 'Vännäs', + 'Vännäsby', + 'Väring', + 'Värmdö-Evlinge', + 'Värmlandsbro', + 'Värnamo', + 'Värsås', + 'Väröbacka', + 'Väse', + 'Väskinde', + 'Västanvik', + 'Västerberg', + 'Västerby', + 'Västerfärnebo', + 'Västerhaninge', + 'Västerhejde', + 'Västerhus', + 'Västerljung', + 'Västerlösa', + 'Västermyckeläng', + 'Västervik', + 'Västerås', + 'Västibyn', + 'Västra Bispgården', + 'Västra Bodarna', + 'Västra Hagen', + 'Västra Husby', + 'Västra Ingelstad', + 'Västra Karaby', + 'Västra Karup', + 'Västra Klagstorp', + 'Västra Tommarp', + 'Västra Ämtervik', + 'Växjö', + 'Yngsjö', + 'Ysby', + 'Ystad', + 'Ytterhogdal', + 'Ytternäs och Vreta', + 'Yttersjö', + 'Ytterån', + 'Zinkgruvan', + 'Åby', + 'Åby', + 'Åbyggeby', + 'Åbytorp', + 'Åhus', + 'Åkarp', + 'Åkers styckebruk', + 'Åkersberga', + 'Ålberga', + 'Åled', + 'Ålem', + 'Åmmeberg', + 'Åmot', + 'Åmotfors', + 'Åmsele', + 'Åmynnet', + 'Åmål', + 'Ånge', + 'Ånäset', + 'Åre', + 'Årjäng', + 'Årstad', + 'Årsunda', + 'Åryd', + 'Åryd', + 'Ås', + 'Ås', + 'Åsa', + 'Åsarne', + 'Åsarp', + 'Åsbro', + 'Åsby', + 'Åseda', + 'Åsele', + 'Åselstad', + 'Åsen', + 'Åsenhöga', + 'Åsensbruk', + 'Åshammar', + 'Åsljunga', + 'Åstol', + 'Åstorp', + 'Återvall', + 'Åtorp', + 'Åtvidaberg', + 'Älandsbro', + 'Älgarås', + 'Älghult', + 'Älmhult', + 'Älmsta', + 'Älta', + 'Älvdalen', + 'Älvkarleby', + 'Älvnäs', + 'Älvsbyn', + 'Älvsered', + 'Älvängen', + 'Äng', + 'Änge', + 'Ängelholm', + 'Ängsholmen', + 'Ängsvik', + 'Äppelbo', + 'Ärla', + 'Äsköping', + 'Äspered', + 'Äsperöd', + 'Ätran', + 'Öbonäs', + 'Öckerö', + 'Ödeborg', + 'Ödeshög', + 'Ödsmål', + 'Ödåkra', + 'Öggestorp', + 'Öjersjö', + 'Ölmanäs', + 'Ölmbrotorp', + 'Ölme', + 'Ölmstad', + 'Ölsta', + 'Önneköp', + 'Önnestad', + 'Örbyhus', + 'Örebro', + 'Öregrund', + 'Örkelljunga', + 'Örnsköldsvik', + 'Örserum', + 'Örsjö', + 'Örslösa', + 'Örsundsbro', + 'Örtagården', + 'Örtofta', + 'Örviken', + 'Ösmo', + 'Östadkulle', + 'Östansjö', + 'Östavall', + 'Österbybruk', + 'Österbymo', + 'Österforse', + 'Österfärnebo', + 'Österhagen och Bergliden', + 'Österslöv', + 'Österstad', + 'Östersund', + 'Östervåla', + 'Östhammar', + 'Östhamra', + 'Östmark', + 'Östnor', + 'Östorp och Ådran', + 'Östra Bispgården', + 'Östra Frölunda', + 'Östra Grevie', + 'Östra Husby', + 'Östra Kallfors', + 'Östra Karup', + 'Östra Ljungby', + 'Östra Ryd', + 'Östra Sönnarslöv', + 'Östra Tommarp', + 'Östra Ånneröd', + 'Östraby', + 'Överboda', + 'Överhörnäs', + 'Överkalix', + 'Överlida', + 'Övertorneå', + 'Överum', + 'Övre Soppero', + 'Övre Svartlå', + 'Öxabäck', + 'Öxeryd', + ]; + + protected static $cityFormats = [ + '{{cityName}}', + ]; + + protected static $state = []; + + protected static $stateAbbr = []; + + protected static $country = [ + 'Afghanistan', + 'Albanien', + 'Algeriet', + 'Amerikanska Jungfruöarna', + 'Amerikanska Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarktis', + 'Antigua och Barbuda', + 'Argentina', + 'Armenien', + 'Aruba', + 'Australien', + 'Azerbajdzjan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belgien', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnien och Hercegovina', + 'Botswana', + 'Bouvetön', + 'Brasilien', + 'Brittiska Indiska oceanöarna', + 'Brittiska Jungfruöarna', + 'Brunei', + 'Bulgarien', + 'Burkina Faso', + 'Burundi', + 'Caymanöarna', + 'Centralafrikanska republiken', + 'Chile', + 'Colombia', + 'Cooköarna', + 'Costa Rica', + 'Cypern', + 'Danmark', + 'Djibouti', + 'Dominica', + 'Dominikanska republiken', + 'Ecuador', + 'Egypten', + 'Ekvatorialguinea', + 'El Salvador', + 'Elfenbenskusten', + 'Eritrea', + 'Estland', + 'Etiopien', + 'Falklandsöarna', + 'Fiji', + 'Filippinerna', + 'Finland', + 'Frankrike', + 'Franska Guyana', + 'Franska Polynesien', + 'Franska Sydterritorierna', + 'Färöarna', + 'Förenade Arabemiraten', + 'Gabon', + 'Gambia', + 'Georgien', + 'Ghana', + 'Gibraltar', + 'Grekland', + 'Grenada', + 'Grönland', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard- och McDonaldöarna', + 'Honduras', + 'Hongkong (S.A.R. Kina)', + 'Indien', + 'Indonesien', + 'Irak', + 'Iran', + 'Irland', + 'Island', + 'Isle of Man', + 'Israel', + 'Italien', + 'Jamaica', + 'Japan', + 'Jemen', + 'Jersey', + 'Jordanien', + 'Julön', + 'Kambodja', + 'Kamerun', + 'Kanada', + 'Kap Verde', + 'Kazakstan', + 'Kenya', + 'Kina', + 'Kirgizistan', + 'Kiribati', + 'Kokosöarna', + 'Komorerna', + 'Kongo-Brazzaville', + 'Kongo-Kinshasa', + 'Kroatien', + 'Kuba', + 'Kuwait', + 'Laos', + 'Lesotho', + 'Lettland', + 'Libanon', + 'Liberia', + 'Libyen', + 'Liechtenstein', + 'Litauen', + 'Luxemburg', + 'Macao (S.A.R. Kina)', + 'Madagaskar', + 'Makedonien', + 'Malawi', + 'Malaysia', + 'Maldiverna', + 'Mali', + 'Malta', + 'Marocko', + 'Marshallöarna', + 'Martinique', + 'Mauretanien', + 'Mauritius', + 'Mayotte', + 'Mexiko', + 'Mikronesien', + 'Moldavien', + 'Monaco', + 'Mongoliet', + 'Montenegro', + 'Montserrat', + 'Moçambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nederländerna', + 'Nederländska Antillerna', + 'Nepal', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Nordkorea', + 'Nordmarianerna', + 'Norfolkön', + 'Norge', + 'Nya Kaledonien', + 'Nya Zeeland', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinska territoriet', + 'Panama', + 'Papua Nya Guinea', + 'Paraguay', + 'Peru', + 'Pitcairn', + 'Polen', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Rumänien', + 'Rwanda', + 'Ryssland', + 'Réunion', + 'S:t Barthélemy', + 'S:t Helena', + 'S:t Kitts och Nevis', + 'S:t Lucia', + 'S:t Martin', + 'S:t Pierre och Miquelon', + 'S:t Vincent och Grenadinerna', + 'Salomonöarna', + 'Samoa', + 'San Marino', + 'Saudiarabien', + 'Schweiz', + 'Senegal', + 'Serbien', + 'Serbien och Montenegro', + 'Seychellerna', + 'Sierra Leone', + 'Singapore', + 'Slovakien', + 'Slovenien', + 'Somalia', + 'Spanien', + 'Sri Lanka', + 'Storbritannien', + 'Sudan', + 'Surinam', + 'Svalbard och Jan Mayen', + 'Sverige', + 'Swaziland', + 'Sydafrika', + 'Sydgeorgien och Södra Sandwichöarna', + 'Sydkorea', + 'Syrien', + 'São Tomé och Príncipe', + 'Tadzjikistan', + 'Taiwan', + 'Tanzania', + 'Tchad', + 'Thailand', + 'Tjeckien', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad och Tobago', + 'Tunisien', + 'Turkiet', + 'Turkmenistan', + 'Turks- och Caicosöarna', + 'Tuvalu', + 'Tyskland', + 'USA', + 'USA:s yttre öar', + 'Uganda', + 'Ukraina', + 'Ungern', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Vatikanstaten', + 'Venezuela', + 'Vietnam', + 'Vitryssland', + 'Västsahara', + 'Wallis- och Futunaöarna', + 'Zambia', + 'Zimbabwe', + 'Åland', + 'Österrike', + 'Östtimor', + ]; + + /** + * @var array Swedish street name formats + */ + protected static $streetNameFormats = [ + '{{lastName}}{{streetSuffix}}', + '{{lastName}}{{streetSuffix}}', + '{{firstName}}{{streetSuffix}}', + '{{firstName}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{streetPrefix}}{{streetSuffix}}', + '{{lastName}} {{streetSuffixWord}}', + ]; + + /** + * @var array Swedish street address formats + */ + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + + /** + * @var array Swedish address formats + */ + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; + + /** + * Randomly return a real city name + * + * @return string + */ + public static function cityName() { + return static::randomElement( static::$cityNames ); + } + + public static function streetSuffixWord() { + return static::randomElement( static::$streetSuffixWord ); + } + + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * Randomly return a building number. + * + * @return string + */ + public static function buildingNumber() { + return static::toUpper( static::bothify( static::randomElement( static::$buildingNumber ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Company.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Company.php index 76358cb..e22e57c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Company.php @@ -2,25 +2,46 @@ namespace Faker\Provider\sv_SE; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{lastName}} {{companySuffix}}', - '{{firstName}} {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}} {{companySuffix}}', - '{{lastName}} & {{lastName}}', - '{{lastName}} och {{lastName}}', - '{{lastName}} och {{lastName}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{lastName}} {{companySuffix}}', + '{{firstName}} {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}} {{companySuffix}}', + '{{lastName}} & {{lastName}}', + '{{lastName}} och {{lastName}}', + '{{lastName}} och {{lastName}} {{companySuffix}}', + ]; - protected static $companySuffix = ['AB', 'HB']; + protected static $companySuffix = [ 'AB', 'HB' ]; - protected static $jobTitles = ['Automationsingenjör', 'Bagare', 'Digital Designer', 'Ekonom', 'Ekonomichef', 'Elektronikingenjör', 'Försäljare', 'Försäljningschef', 'Innovationsdirektör', 'Investeringsdirektör', 'Journalist', 'Kock', 'Kulturstrateg', 'Läkare', 'Lokförare', 'Mäklare', 'Programmerare', 'Projektledare', 'Sjuksköterska', 'Utvecklare', 'UX Designer', 'Webbutvecklare']; + protected static $jobTitles = [ + 'Automationsingenjör', + 'Bagare', + 'Digital Designer', + 'Ekonom', + 'Ekonomichef', + 'Elektronikingenjör', + 'Försäljare', + 'Försäljningschef', + 'Innovationsdirektör', + 'Investeringsdirektör', + 'Journalist', + 'Kock', + 'Kulturstrateg', + 'Läkare', + 'Lokförare', + 'Mäklare', + 'Programmerare', + 'Projektledare', + 'Sjuksköterska', + 'Utvecklare', + 'UX Designer', + 'Webbutvecklare' + ]; - public function jobTitle() - { - return static::randomElement(static::$jobTitles); - } + public function jobTitle() { + return static::randomElement( static::$jobTitles ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Municipality.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Municipality.php index 35f2eb2..44609ae 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Municipality.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Municipality.php @@ -4,24 +4,313 @@ use Faker\Provider\Base; -class Municipality extends Base -{ - /** - * This provider uses wikipedia's ”List of municipalities of Sweden” - * - * @see https://en.wikipedia.org/wiki/List_of_municipalities_of_Sweden - */ - private static $municipalities = ['Ale kommun', 'Alingsås kommun', 'Alvesta kommun', 'Aneby kommun', 'Arboga kommun', 'Arjeplogs kommun', 'Arvidsjaurs kommun', 'Arvika kommun', 'Askersunds kommun', 'Avesta kommun', 'Bengtsfors kommun', 'Bergs kommun', 'Bjurholms kommun', 'Bjuvs kommun', 'Bodens kommun', 'Bollebygds kommun', 'Bollnäs kommun', 'Borgholms kommun', 'Borlänge kommun', 'Borås stad', 'Botkyrka kommun', 'Boxholms kommun', 'Bromölla kommun', 'Bräcke kommun', 'Burlövs kommun', 'Båstads kommun', 'Dals-Eds kommun', 'Danderyds kommun', 'Degerfors kommun', 'Dorotea kommun', 'Eda kommun', 'Ekerö kommun', 'Eksjö kommun', 'Emmaboda kommun', 'Enköpings kommun', 'Eskilstuna kommun', 'Eslövs kommun', 'Essunga kommun', 'Fagersta kommun', 'Falkenbergs kommun', 'Falköpings kommun', 'Falu kommun', 'Filipstads kommun', 'Finspångs kommun', 'Flens kommun', 'Forshaga kommun', 'Färgelanda kommun', 'Gagnefs kommun', 'Gislaveds kommun', 'Gnesta kommun', 'Gnosjö kommun', 'Region Gotland', 'Grums kommun', 'Grästorps kommun', 'Gullspångs kommun', 'Gällivare kommun', 'Gävle kommun', 'Göteborgs stad', 'Götene kommun', 'Habo kommun', 'Hagfors kommun', 'Hallsbergs kommun', 'Hallstahammars kommun', 'Halmstads kommun', 'Hammarö kommun', 'Haninge kommun', 'Haparanda stad', 'Heby kommun', 'Hedemora kommun', 'Helsingborgs stad', 'Herrljunga kommun', 'Hjo kommun', 'Hofors kommun', 'Huddinge kommun', 'Hudiksvalls kommun', 'Hultsfreds kommun', 'Hylte kommun', 'Håbo kommun', 'Hällefors kommun', 'Härjedalens kommun', 'Härnösands kommun', 'Härryda kommun', 'Hässleholms kommun', 'Höganäs kommun', 'Högsby kommun', 'Hörby kommun', 'Höörs kommun', 'Jokkmokks kommun', 'Järfälla kommun', 'Jönköpings kommun', 'Kalix kommun', 'Kalmar kommun', 'Karlsborgs kommun', 'Karlshamns kommun', 'Karlskoga kommun', 'Karlskrona kommun', 'Karlstads kommun', 'Katrineholms kommun', 'Kils kommun', 'Kinda kommun', 'Kiruna kommun', 'Klippans kommun', 'Knivsta kommun', 'Kramfors kommun', 'Kristianstads kommun', 'Kristinehamns kommun', 'Krokoms kommun', 'Kumla kommun', 'Kungsbacka kommun', 'Kungsörs kommun', 'Kungälvs kommun', 'Kävlinge kommun', 'Köpings kommun', 'Laholms kommun', 'Landskrona stad', 'Laxå kommun', 'Lekebergs kommun', 'Leksands kommun', 'Lerums kommun', 'Lessebo kommun', 'Lidingö stad', 'Lidköpings kommun', 'Lilla Edets kommun', 'Lindesbergs kommun', 'Linköpings kommun', 'Ljungby kommun', 'Ljusdals kommun', 'Ljusnarsbergs kommun', 'Lomma kommun', 'Ludvika kommun', 'Luleå kommun', 'Lunds kommun', 'Lycksele kommun', 'Lysekils kommun', 'Malmö stad', 'Malung-Sälens kommun', 'Malå kommun', 'Mariestads kommun', 'Markaryds kommun', 'Marks kommun', 'Melleruds kommun', 'Mjölby kommun', 'Mora kommun', 'Motala kommun', 'Mullsjö kommun', 'Munkedals kommun', 'Munkfors kommun', 'Mölndals stad', 'Mönsterås kommun', 'Mörbylånga kommun', 'Nacka kommun', 'Nora kommun', 'Norbergs kommun', 'Nordanstigs kommun', 'Nordmalings kommun', 'Norrköpings kommun', 'Norrtälje kommun', 'Norsjö kommun', 'Nybro kommun', 'Nykvarns kommun', 'Nyköpings kommun', 'Nynäshamns kommun', 'Nässjö kommun', 'Ockelbo kommun', 'Olofströms kommun', 'Orsa kommun', 'Orust kommun', 'Osby kommun', 'Oskarshamns kommun', 'Ovanåkers kommun', 'Oxelösunds kommun', 'Pajala kommun', 'Partille kommun', 'Perstorps kommun', 'Piteå kommun', 'Ragunda kommun', 'Robertsfors kommun', 'Ronneby kommun', 'Rättviks kommun', 'Sala kommun', 'Salems kommun', 'Sandvikens kommun', 'Sigtuna kommun', 'Simrishamns kommun', 'Sjöbo kommun', 'Skara kommun', 'Skellefteå kommun', 'Skinnskattebergs kommun', 'Skurups kommun', 'Skövde kommun', 'Smedjebackens kommun', 'Sollefteå kommun', 'Sollentuna kommun', 'Solna stad', 'Sorsele kommun', 'Sotenäs kommun', 'Staffanstorps kommun', 'Stenungsunds kommun', 'Stockholms stad', 'Storfors kommun', 'Storumans kommun', 'Strängnäs kommun', 'Strömstads kommun', 'Strömsunds kommun', 'Sundbybergs stad', 'Sundsvalls kommun', 'Sunne kommun', 'Surahammars kommun', 'Svalövs kommun', 'Svedala kommun', 'Svenljunga kommun', 'Säffle kommun', 'Säters kommun', 'Sävsjö kommun', 'Söderhamns kommun', 'Söderköpings kommun', 'Södertälje kommun', 'Sölvesborgs kommun', 'Tanums kommun', 'Tibro kommun', 'Tidaholms kommun', 'Tierps kommun', 'Timrå kommun', 'Tingsryds kommun', 'Tjörns kommun', 'Tomelilla kommun', 'Torsby kommun', 'Torsås kommun', 'Tranemo kommun', 'Tranås kommun', 'Trelleborgs kommun', 'Trollhättans stad', 'Trosa kommun', 'Tyresö kommun', 'Täby kommun', 'Töreboda kommun', 'Uddevalla kommun', 'Ulricehamns kommun', 'Umeå kommun', 'Upplands Väsby kommun', 'Upplands-Bro kommun', 'Uppsala kommun', 'Uppvidinge kommun', 'Vadstena kommun', 'Vaggeryds kommun', 'Valdemarsviks kommun', 'Vallentuna kommun', 'Vansbro kommun', 'Vara kommun', 'Varbergs kommun', 'Vaxholms stad', 'Vellinge kommun', 'Vetlanda kommun', 'Vilhelmina kommun', 'Vimmerby kommun', 'Vindelns kommun', 'Vingåkers kommun', 'Vårgårda kommun', 'Vänersborgs kommun', 'Vännäs kommun', 'Värmdö kommun', 'Värnamo kommun', 'Västerviks kommun', 'Västerås stad', 'Växjö kommun', 'Ydre kommun', 'Ystads kommun', 'Åmåls kommun', 'Ånge kommun', 'Åre kommun', 'Årjängs kommun', 'Åsele kommun', 'Åstorps kommun', 'Åtvidabergs kommun', 'Älmhults kommun', 'Älvdalens kommun', 'Älvkarleby kommun', 'Älvsbyns kommun', 'Ängelholms kommun', 'Öckerö kommun', 'Ödeshögs kommun', 'Örebro kommun', 'Örkelljunga kommun', 'Örnsköldsviks kommun', 'Östersunds kommun', 'Österåkers kommun', 'Östhammars kommun', 'Östra Göinge kommun', 'Överkalix kommun', 'Övertorneå kommun']; +class Municipality extends Base { + /** + * This provider uses wikipedia's ”List of municipalities of Sweden” + * + * @see https://en.wikipedia.org/wiki/List_of_municipalities_of_Sweden + */ + private static $municipalities = [ + 'Ale kommun', + 'Alingsås kommun', + 'Alvesta kommun', + 'Aneby kommun', + 'Arboga kommun', + 'Arjeplogs kommun', + 'Arvidsjaurs kommun', + 'Arvika kommun', + 'Askersunds kommun', + 'Avesta kommun', + 'Bengtsfors kommun', + 'Bergs kommun', + 'Bjurholms kommun', + 'Bjuvs kommun', + 'Bodens kommun', + 'Bollebygds kommun', + 'Bollnäs kommun', + 'Borgholms kommun', + 'Borlänge kommun', + 'Borås stad', + 'Botkyrka kommun', + 'Boxholms kommun', + 'Bromölla kommun', + 'Bräcke kommun', + 'Burlövs kommun', + 'Båstads kommun', + 'Dals-Eds kommun', + 'Danderyds kommun', + 'Degerfors kommun', + 'Dorotea kommun', + 'Eda kommun', + 'Ekerö kommun', + 'Eksjö kommun', + 'Emmaboda kommun', + 'Enköpings kommun', + 'Eskilstuna kommun', + 'Eslövs kommun', + 'Essunga kommun', + 'Fagersta kommun', + 'Falkenbergs kommun', + 'Falköpings kommun', + 'Falu kommun', + 'Filipstads kommun', + 'Finspångs kommun', + 'Flens kommun', + 'Forshaga kommun', + 'Färgelanda kommun', + 'Gagnefs kommun', + 'Gislaveds kommun', + 'Gnesta kommun', + 'Gnosjö kommun', + 'Region Gotland', + 'Grums kommun', + 'Grästorps kommun', + 'Gullspångs kommun', + 'Gällivare kommun', + 'Gävle kommun', + 'Göteborgs stad', + 'Götene kommun', + 'Habo kommun', + 'Hagfors kommun', + 'Hallsbergs kommun', + 'Hallstahammars kommun', + 'Halmstads kommun', + 'Hammarö kommun', + 'Haninge kommun', + 'Haparanda stad', + 'Heby kommun', + 'Hedemora kommun', + 'Helsingborgs stad', + 'Herrljunga kommun', + 'Hjo kommun', + 'Hofors kommun', + 'Huddinge kommun', + 'Hudiksvalls kommun', + 'Hultsfreds kommun', + 'Hylte kommun', + 'Håbo kommun', + 'Hällefors kommun', + 'Härjedalens kommun', + 'Härnösands kommun', + 'Härryda kommun', + 'Hässleholms kommun', + 'Höganäs kommun', + 'Högsby kommun', + 'Hörby kommun', + 'Höörs kommun', + 'Jokkmokks kommun', + 'Järfälla kommun', + 'Jönköpings kommun', + 'Kalix kommun', + 'Kalmar kommun', + 'Karlsborgs kommun', + 'Karlshamns kommun', + 'Karlskoga kommun', + 'Karlskrona kommun', + 'Karlstads kommun', + 'Katrineholms kommun', + 'Kils kommun', + 'Kinda kommun', + 'Kiruna kommun', + 'Klippans kommun', + 'Knivsta kommun', + 'Kramfors kommun', + 'Kristianstads kommun', + 'Kristinehamns kommun', + 'Krokoms kommun', + 'Kumla kommun', + 'Kungsbacka kommun', + 'Kungsörs kommun', + 'Kungälvs kommun', + 'Kävlinge kommun', + 'Köpings kommun', + 'Laholms kommun', + 'Landskrona stad', + 'Laxå kommun', + 'Lekebergs kommun', + 'Leksands kommun', + 'Lerums kommun', + 'Lessebo kommun', + 'Lidingö stad', + 'Lidköpings kommun', + 'Lilla Edets kommun', + 'Lindesbergs kommun', + 'Linköpings kommun', + 'Ljungby kommun', + 'Ljusdals kommun', + 'Ljusnarsbergs kommun', + 'Lomma kommun', + 'Ludvika kommun', + 'Luleå kommun', + 'Lunds kommun', + 'Lycksele kommun', + 'Lysekils kommun', + 'Malmö stad', + 'Malung-Sälens kommun', + 'Malå kommun', + 'Mariestads kommun', + 'Markaryds kommun', + 'Marks kommun', + 'Melleruds kommun', + 'Mjölby kommun', + 'Mora kommun', + 'Motala kommun', + 'Mullsjö kommun', + 'Munkedals kommun', + 'Munkfors kommun', + 'Mölndals stad', + 'Mönsterås kommun', + 'Mörbylånga kommun', + 'Nacka kommun', + 'Nora kommun', + 'Norbergs kommun', + 'Nordanstigs kommun', + 'Nordmalings kommun', + 'Norrköpings kommun', + 'Norrtälje kommun', + 'Norsjö kommun', + 'Nybro kommun', + 'Nykvarns kommun', + 'Nyköpings kommun', + 'Nynäshamns kommun', + 'Nässjö kommun', + 'Ockelbo kommun', + 'Olofströms kommun', + 'Orsa kommun', + 'Orust kommun', + 'Osby kommun', + 'Oskarshamns kommun', + 'Ovanåkers kommun', + 'Oxelösunds kommun', + 'Pajala kommun', + 'Partille kommun', + 'Perstorps kommun', + 'Piteå kommun', + 'Ragunda kommun', + 'Robertsfors kommun', + 'Ronneby kommun', + 'Rättviks kommun', + 'Sala kommun', + 'Salems kommun', + 'Sandvikens kommun', + 'Sigtuna kommun', + 'Simrishamns kommun', + 'Sjöbo kommun', + 'Skara kommun', + 'Skellefteå kommun', + 'Skinnskattebergs kommun', + 'Skurups kommun', + 'Skövde kommun', + 'Smedjebackens kommun', + 'Sollefteå kommun', + 'Sollentuna kommun', + 'Solna stad', + 'Sorsele kommun', + 'Sotenäs kommun', + 'Staffanstorps kommun', + 'Stenungsunds kommun', + 'Stockholms stad', + 'Storfors kommun', + 'Storumans kommun', + 'Strängnäs kommun', + 'Strömstads kommun', + 'Strömsunds kommun', + 'Sundbybergs stad', + 'Sundsvalls kommun', + 'Sunne kommun', + 'Surahammars kommun', + 'Svalövs kommun', + 'Svedala kommun', + 'Svenljunga kommun', + 'Säffle kommun', + 'Säters kommun', + 'Sävsjö kommun', + 'Söderhamns kommun', + 'Söderköpings kommun', + 'Södertälje kommun', + 'Sölvesborgs kommun', + 'Tanums kommun', + 'Tibro kommun', + 'Tidaholms kommun', + 'Tierps kommun', + 'Timrå kommun', + 'Tingsryds kommun', + 'Tjörns kommun', + 'Tomelilla kommun', + 'Torsby kommun', + 'Torsås kommun', + 'Tranemo kommun', + 'Tranås kommun', + 'Trelleborgs kommun', + 'Trollhättans stad', + 'Trosa kommun', + 'Tyresö kommun', + 'Täby kommun', + 'Töreboda kommun', + 'Uddevalla kommun', + 'Ulricehamns kommun', + 'Umeå kommun', + 'Upplands Väsby kommun', + 'Upplands-Bro kommun', + 'Uppsala kommun', + 'Uppvidinge kommun', + 'Vadstena kommun', + 'Vaggeryds kommun', + 'Valdemarsviks kommun', + 'Vallentuna kommun', + 'Vansbro kommun', + 'Vara kommun', + 'Varbergs kommun', + 'Vaxholms stad', + 'Vellinge kommun', + 'Vetlanda kommun', + 'Vilhelmina kommun', + 'Vimmerby kommun', + 'Vindelns kommun', + 'Vingåkers kommun', + 'Vårgårda kommun', + 'Vänersborgs kommun', + 'Vännäs kommun', + 'Värmdö kommun', + 'Värnamo kommun', + 'Västerviks kommun', + 'Västerås stad', + 'Växjö kommun', + 'Ydre kommun', + 'Ystads kommun', + 'Åmåls kommun', + 'Ånge kommun', + 'Åre kommun', + 'Årjängs kommun', + 'Åsele kommun', + 'Åstorps kommun', + 'Åtvidabergs kommun', + 'Älmhults kommun', + 'Älvdalens kommun', + 'Älvkarleby kommun', + 'Älvsbyns kommun', + 'Ängelholms kommun', + 'Öckerö kommun', + 'Ödeshögs kommun', + 'Örebro kommun', + 'Örkelljunga kommun', + 'Örnsköldsviks kommun', + 'Östersunds kommun', + 'Österåkers kommun', + 'Östhammars kommun', + 'Östra Göinge kommun', + 'Överkalix kommun', + 'Övertorneå kommun' + ]; - /** - * Swedish municipality - * - * @see https://en.wikipedia.org/wiki/Municipality - * - * @return string - */ - public function municipality() - { - return static::randomElement(static::$municipalities); - } + /** + * Swedish municipality + * + * @see https://en.wikipedia.org/wiki/Municipality + * + * @return string + */ + public function municipality() { + return static::randomElement( static::$municipalities ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Payment.php index bbcff4e..d88d731 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\sv_SE; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'SE', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'SE', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Person.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Person.php index a98f087..3c65b8a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/Person.php @@ -4,168 +4,1188 @@ use Faker\Calculator\Luhn; -class Person extends \Faker\Provider\Person -{ - protected static $formats = [ - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}', - '{{firstName}} {{lastName}} {{lastName}}', - '{{firstName}} {{lastName}}-{{lastName}}', - '{{firstName}} {{firstName}} {{lastName}}-{{lastName}}', - ]; - - /** - * @var array Swedish female first names - * - * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml - */ - protected static $firstNameFemale = [ - - 'Ada', 'Adela', 'Adele', 'Adéle', 'Adelia', 'Adina', 'Adolfina', 'Agda', 'Agnes', 'Agneta', 'Aina', 'Aino', 'Albertina', 'Alexandra', 'Alfhild', 'Alfrida', 'Alice', 'Alida', 'Ally', 'Alma', 'Alva', 'Amalia', 'Amanda', 'Andrea', 'Anette', 'Angela', 'Anita', 'Anja', 'Ann', 'Anna', 'Anna-Carin', 'Anna-Greta', 'Anna-Karin', 'Anna-Lena', 'Anna-Lisa', 'Anna-Maria', 'Anna-Stina', 'Anne', 'Anneli', 'Annelie', 'Annette', 'Anne-Charlotte', 'Anne-Marie', 'Anni', 'Annica', 'Annie', 'Annika', 'Annikki', 'Anny', 'Ann-Britt', 'Ann-Charlott', 'Ann-Charlotte', 'Ann-Christin', 'Ann-Christine', 'Ann-Katrin', 'Ann-Kristin', 'Ann-Louise', 'Ann-Margret', 'Ann-Mari', 'Ann-Marie', 'Ann-Sofi', 'Ann-Sofie', 'Antonia', 'Arvida', 'Asta', 'Astrid', 'Augusta', 'Aurora', 'Axelia', 'Axelina', - 'Barbro', 'Beata', 'Beatrice', 'Beda', 'Berit', 'Bernhardina', 'Berta', 'Betty', 'Birgit', 'Birgitta', 'Blenda', 'Bodil', 'Boel', 'Borghild', 'Brita', 'Britt', 'Britta', 'Britt-Inger', 'Britt-Louise', 'Britt-Mari', 'Britt-Marie', - 'Camilla', 'Carin', 'Carina', 'Carita', 'Carola', 'Carolina', 'Caroline', 'Catarina', 'Catharina', 'Cathrine', 'Catrin', 'Cecilia', 'Charlott', 'Charlotta', 'Charlotte', 'Christel', 'Christin', 'Christina', 'Christine', 'Clara', 'Clary', 'Constance', 'Cristina', - 'Daga', 'Dagmar', 'Dagny', 'Daisy', 'Davida', 'Desideria', 'Desirée', 'Diana', 'Disa', 'Dora', 'Doris', 'Dorotea', - 'Ebba', 'Edit', 'Edith', 'Edla', 'Eira', 'Eivor', 'Ejvor', 'Elaine', 'Eleonor', 'Eleonora', 'Elfrida', 'Elida', 'Elin', 'Elina', 'Elinor', 'Elisabet', 'Elisabeth', 'Elise', 'Ella', 'Ellen', 'Ellinor', 'Elly', 'Elma', 'Elna', 'Elsa', 'Else', 'Else-Marie', 'Elsi', 'Elsie', 'Elsy', 'Elvi', 'Elvira', 'Elvy', 'Emelia', 'Emerentia', 'Emilia', 'Emma', 'Emmy', 'Erika', 'Erna', 'Ester', 'Estrid', 'Ethel', 'Eufemia', 'Eugenia', 'Eva', 'Eva-Britt', 'Eva-Lena', 'Eva-Lotta', 'Eva-Marie', 'Evelina', 'Evelyn', 'Evy', 'Ewa', - 'Fanny', 'Florence', 'Fredrika', 'Frida', 'Frideborg', - 'Gabriella', 'Gerd', 'Gerda', 'Gertie', 'Gertrud', 'Gisela', 'Greta', 'Gudrun', 'Gull', 'Gullan', 'Gullbritt', 'Gulli', 'Gullvi', 'Gully', 'Gull-Britt', 'Gun', 'Gunborg', 'Gunbritt', 'Gunda', 'Gunhild', 'Gunilla', 'Gunn', 'Gunnel', 'Gunni', 'Gunvor', 'Gun-Britt', 'Gurli', 'Gustava', 'Gärd', 'Görel', 'Göta', - 'Hanna', 'Harriet', 'Hedvig', 'Helen', 'Helén', 'Helena', 'Helene', 'Heléne', 'Helfrid', 'Helga', 'Helmi', 'Helny', 'Henny', 'Henrietta', 'Henriette', 'Herta', 'Hilda', 'Hildegard', 'Hildur', 'Hillevi', 'Hilma', 'Hjördis', 'Hulda', - 'Ida', 'Ines', 'Inez', 'Inga', 'Ingalill', 'Inga-Britt', 'Inga-Lena', 'Inga-Lill', 'Inga-Lisa', 'Inga-Maj', 'Ingbritt', 'Ingeborg', 'Ingegerd', 'Ingegärd', 'Ingela', 'Inger', 'Ingrid', 'Ingvor', 'Ing-Britt', 'Ing-Mari', 'Ing-Marie', 'Iréne', 'Irene', 'Iris', 'Irma', 'Isabella', - 'Jane', 'Janet', 'Jeanette', 'Jenny', 'Jessica', 'Johanna', 'Josefina', 'Judit', 'Judith', 'Julia', 'Juliana', 'Justina', - 'Kaarina', 'Kajsa', 'Karin', 'Karina', 'Karla', 'Karola', 'Karolina', 'Katarina', 'Katharina', 'Katrin', 'Katrina', 'Kersti', 'Kerstin', 'Klara', 'Konstantia', 'Kornelia', 'Kristin', 'Kristina', 'Kristine', - 'Laila', 'Laura', 'Leila', 'Lena', 'Leontina', 'Liisa', 'Lilian', 'Lill', 'Lillemor', 'Lillian', 'Lilly', 'Linda', 'Linnéa', 'Linnea', 'Lisa', 'Lisbet', 'Lisbeth', 'Liselott', 'Liselotte', 'Lise-Lott', 'Lise-Lotte', 'Lizzie', 'Lola', 'Louise', 'Lovisa', 'Lucia', 'Lydia', - 'Madeleine', 'Madelene', 'Magda', 'Magdalena', 'Magnhild', 'Maj', 'Maja', 'Majbritt', 'Majken', 'Majlis', 'Majvor', 'Maj-Britt', 'Maj-Lis', 'Malin', 'Malvina', 'Margaret', 'Margareta', 'Margareth', 'Margaretha', 'Margit', 'Margita', 'Margot', 'Margret', 'Margreta', 'Mari', 'Maria', 'Mariana', 'Mariann', 'Marianne', 'Marie', 'Mariette', 'Marie-Louise', 'Marika', 'Marina', 'Marion', 'Marit', 'Marita', 'Mari-Ann', 'Marja', 'Marjatta', 'Marlene', 'Marta', 'Martha', 'Martina', 'Mary', 'Mathilda', 'Matilda', 'Maud', 'May', 'Mia', 'Mildred', 'Mimmi', 'Mirjam', 'Mona', 'Monica', 'Monika', 'Märit', 'Märta', 'Märtha', - 'Naemi', 'Naima', 'Nancy', 'Nanna', 'Nanny', 'Natalia', 'Nelly', 'Nina', 'Nora', - 'Olga', 'Olivia', 'Ottilia', - 'Paula', 'Paulina', 'Pauline', 'Pernilla', 'Petra', 'Petronella', 'Pia', - 'Ragna', 'Ragnhild', 'Rakel', 'Rebecka', 'Regina', 'Renée', 'Rigmor', 'Rita', 'Rosa', 'Rose', 'Rose-Marie', 'Rosita', 'Ros-Mari', 'Ros-Marie', 'Runa', 'Rut', 'Ruth', - 'Sabina', 'Saga', 'Sally', 'Sara', 'Selma', 'Serafia', 'Sibylla', 'Sigbritt', 'Signe', 'Signhild', 'Sigrid', 'Siri', 'Siv', 'Sofi', 'Sofia', 'Sofie', 'Solbritt', 'Solveig', 'Solvig', 'Sonja', 'Stina', 'Susann', 'Susanna', 'Susanne', 'Suzanne', 'Svea', 'Sylvia', 'Synnöve', 'Syster', - 'Tea', 'Tekla', 'Terese', 'Teresia', 'Therése', 'Therese', 'Theresia', 'Thyra', 'Tina', 'Tora', 'Torborg', 'Tove', 'Tyra', - 'Ulla', 'Ulla-Britt', 'Ulla-Britta', 'Ulrica', 'Ulrika', 'Ursula', - 'Valborg', 'Vanja', 'Vega', 'Vendela', 'Vendla', 'Vera', 'Veronica', 'Veronika', 'Victoria', 'Viktoria', 'Vilhelmina', 'Vilma', 'Viola', 'Virginia', 'Vivan', 'Viveca', 'Viveka', 'Vivi', 'Vivian', 'Viviann', 'Vivianne', 'Vivi-Ann', 'Vivi-Anne', - 'Wilhelmina', - 'Ylva', 'Yvonne', - 'Åsa', 'Åse', - ]; - - /** - * @var array Swedish male first names - * - * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml - */ - protected static $firstNameMale = [ - 'Abraham', 'Adam', 'Adrian', 'Agaton', 'Agne', 'Albert', 'Albin', 'Aldor', 'Alex', 'Alexander', 'Alexis', 'Alexius', 'Alf', 'Alfons', 'Alfred', 'Algot', 'Allan', 'Alrik', 'Alvar', 'Alve', 'Amandus', 'Anders', 'André', 'Andreas', 'Anselm', 'Anshelm', 'Antero', 'Anton', 'Antonius', 'Arne', 'Arnold', 'Aron', 'Arthur', 'Artur', 'Arvid', 'Assar', 'Astor', 'August', 'Augustin', 'Axel', - 'Bengt', 'Bengt-Göran', 'Bengt-Olof', 'Bengt-Åke', 'Benny', 'Berndt', 'Berne', 'Bernhard', 'Bernt', 'Bert', 'Berth', 'Berthold', 'Bertil', 'Bill', 'Billy', 'Birger', 'Bjarne', 'Björn', 'Bo', 'Boris', 'Bror', 'Bruno', 'Brynolf', 'Börje', - 'Carl', 'Carl-Axel', 'Carl-Erik', 'Carl-Gustaf', 'Carl-Gustav', 'Carl-Johan', 'Charles', 'Christer', 'Christian', 'Claes', 'Claes-Göran', 'Clarence', 'Clas', 'Conny', 'Crister', 'Curt', - 'Dag', 'Dan', 'Daniel', 'David', 'Dennis', 'Dick', 'Donald', 'Douglas', - 'Ebbe', 'Eddie', 'Eddy', 'Edgar', 'Edmund', 'Edvard', 'Edvin', 'Efraim', 'Egon', 'Eilert', 'Einar', 'Eje', 'Ejnar', 'Elias', 'Elis', 'Ellert', 'Elmer', 'Elof', 'Elon', 'Elov', 'Elving', 'Elvir', 'Emanuel', 'Emil', 'Enar', 'Engelbert', 'Engelbrekt', 'Enok', 'Erhard', 'Eric', 'Erik', 'Erland', 'Erling', 'Ernfrid', 'Ernst', 'Esbjörn', 'Eskil', 'Eugén', 'Eugen', 'Evald', 'Eve', 'Evert', - 'Fabian', 'Felix', 'Ferdinand', 'Filip', 'Fingal', 'Finn', 'Folke', 'Frank', 'Frans', 'Franz', 'Fred', 'Fredrik', 'Fridolf', 'Friedrich', 'Fritiof', 'Fritjof', 'Frits', 'Fritz', - 'Gabriel', 'Georg', 'George', 'Gerhard', 'Gert', 'Gideon', 'Gilbert', 'Gillis', 'Glenn', 'Gottfrid', 'Gotthard', 'Greger', 'Gudmund', 'Gunder', 'Gunnar', 'Gustaf', 'Gustav', 'Göran', 'Görgen', 'Gösta', 'Göte', - 'Hadar', 'Halvar', 'Halvard', 'Hans', 'Hans-Erik', 'Hans-Olof', 'Hans-Åke', 'Harald', 'Hardy', 'Harry', 'Hartvig', 'Hasse', 'Heinrich', 'Heinz', 'Helge', 'Helmer', 'Henning', 'Henric', 'Henrik', 'Henry', 'Herbert', 'Heribert', 'Herman', 'Hilbert', 'Hilding', 'Hilmer', 'Hjalmar', 'Holger', 'Holmfrid', 'Hubert', 'Hugo', 'Håkan', - 'Inge', 'Ingemar', 'Ingmar', 'Ingvald', 'Ingvar', 'Isak', 'Isidor', 'Ivan', 'Ivar', - 'Jack', 'Jacob', 'Jakob', 'James', 'Jan', 'Janne', 'Jan-Eric', 'Jan-Erik', 'Jan-Olof', 'Jan-Olov', 'Jan-Ove', 'Jan-Åke', 'Jarl', 'Jean', 'Jens', 'Jerker', 'Jerry', 'Jesper', 'Jim', 'Jimmy', 'Joachim', 'Joacim', 'Joakim', 'Joel', 'Johan', 'Johannes', 'John', 'Johnny', 'Johny', 'Jon', 'Jonas', 'Jonny', 'Josef', 'Juhani', 'Julius', 'Justus', 'Jöns', 'Jörgen', - 'Kai', 'Kaj', 'Kalevi', 'Karl', 'Karl-Axel', 'Karl-Erik', 'Karl-Gunnar', 'Karl-Gustaf', 'Karl-Gustav', 'Karl-Johan', 'Kennert', 'Kennet', 'Kenneth', 'Kenny', 'Kent', 'Kenth', 'Kjell', 'Kjell-Åke', 'Klas', 'Knut', 'Konrad', 'Konstantin', 'Krister', 'Kristian', 'Kristoffer', 'Kurt', 'Kåre', - 'Lage', 'Lambert', 'Lars', 'Lars-Eric', 'Lars-Erik', 'Lars-Gunnar', 'Lars-Göran', 'Lars-Olof', 'Lars-Olov', 'Lars-Ove', 'Lars-Åke', 'Laurentius', 'Leander', 'Leif', 'Lennart', 'Leo', 'Leon', 'Leonard', 'Leopold', 'Levi', 'Levin', 'Linné', 'Linus', 'Lorentz', 'Louis', 'Ludvig', - 'Magni', 'Magnus', 'Malkolm', 'Malte', 'Manfred', 'Manne', 'Marcus', 'Markus', 'Martin', 'Mathias', 'Mats', 'Matti', 'Mattias', 'Matts', 'Maurits', 'Mauritz', 'Max', 'Melker', 'Micael', 'Michael', 'Mickael', 'Mikael', 'Morgan', 'Måns', 'Mårten', - 'Napoleon', 'Natanael', 'Nicklas', 'Niclas', 'Niklas', 'Nikolaus', 'Nils', 'Nils-Erik', 'Nore', - 'Odd', 'Ola', 'Olaus', 'Olav', 'Olavi', 'Ole', 'Oliver', 'Olle', 'Olof', 'Olov', 'Orvar', 'Oscar', 'Oskar', 'Ossian', 'Osvald', 'Otto', 'Ove', 'Owe', - 'Patric', 'Patrick', 'Patrik', 'Paul', 'Peder', 'Per', 'Percy', 'Per-Anders', 'Per-Arne', 'Per-Erik', 'Per-Ola', 'Per-Olof', 'Per-Olov', 'Per-Åke', 'Peter', 'Petrus', 'Petter', 'Pierre', 'Pontus', 'Pär', - 'Ragnar', 'Ragnvald', 'Ralf', 'Ralph', 'Raymond', 'Reidar', 'Reine', 'Reinhold', 'Reino', 'Richard', 'Rickard', 'Rikard', 'Robert', 'Roger', 'Roine', 'Roland', 'Rolf', 'Ronald', 'Ronnie', 'Ronny', 'Roy', 'Ruben', 'Rudolf', 'Runar', 'Rune', 'Runo', 'Rutger', - 'Salomon', 'Sam', 'Samuel', 'Sanfrid', 'Sebastian', 'Set', 'Seth', 'Seved', 'Severin', 'Sigfrid', 'Sigmund', 'Signar', 'Sigurd', 'Sigvard', 'Simon', 'Sivert', 'Sixten', 'Sonny', 'Staffan', 'Stanley', 'Stefan', 'Stellan', 'Sten', 'Stephan', 'Steve', 'Stig', 'Sture', 'Sune', 'Svante', 'Sven', 'Sven-Erik', 'Sven-Olof', 'Sven-Olov', 'Sven-Åke', 'Sverker', 'Sölve', 'Sören', - 'Tage', 'Ted', 'Teodor', 'Theodor', 'Thomas', 'Thor', 'Thorbjörn', 'Thord', 'Thore', 'Thorsten', 'Thorvald', 'Thure', 'Tobias', 'Toivo', 'Tom', 'Tomas', 'Tommy', 'Tonny', 'Tony', 'Tor', 'Torbjörn', 'Tord', 'Tore', 'Torgny', 'Torkel', 'Torsten', 'Torvald', 'Tryggve', 'Ture', 'Tyko', - 'Ulf', 'Ulrik', 'Uno', 'Urban', - 'Valdemar', 'Valentin', 'Valfrid', 'Vallentin', 'Valter', 'Veine', 'Verner', 'Victor', 'Vidar', 'Viggo', 'Viking', 'Viktor', 'Vilgot', 'Vilhelm', 'Villiam', 'Villy', 'Vincent', 'Vitalis', - 'Waldemar', 'Walter', 'Werner', 'Wilhelm', 'William', 'Willy', - 'Yngve', - 'Åke', - 'Örjan', 'Östen', - ]; - - /** - * @var array Swedish common last names - * - * @see http://www.scb.se/sv_/Hitta-statistik/Statistik-efter-amne/Befolkning/Amnesovergripande-statistik/Namnstatistik/30898/2012A01x/Samtliga-folkbokforda--Efternamn-topplistor/Efternamn-topp-100/ - */ - protected static $lastName = [ - - 'Abrahamsson', 'Andersson', 'Andreasson', 'Arvidsson', 'Axelsson', - 'Bengtsson', 'Berg', 'Berggren', 'Berglund', 'Bergman', 'Bergqvist', 'Bergström', 'Björk', 'Björklund', 'Blom', 'Blomqvist', - 'Claesson', - 'Dahlberg', 'Danielsson', - 'Engström', 'Ek', 'Eklund', 'Ekström', 'Eliasson', 'Eriksson', - 'Falk', 'Forsberg', 'Fransson', 'Fredriksson', - 'Gunnarsson', 'Gustafsson', - 'Hansen', 'Hansson', 'Hedlund', 'Hellström', 'Henriksson', 'Hermansson', 'Holm', 'Holmberg', 'Holmgren', 'Holmqvist', 'Håkansson', - 'Isaksson', 'Ivarsson', - 'Jakobsson', 'Jansson', 'Johansson', 'Jonasson', 'Jonsson', 'Jönsson', - 'Karlsson', - 'Larsson', 'Lind', 'Lindberg', 'Lindgren', 'Lindholm', 'Lindqvist', 'Lindström', 'Lund', 'Lundberg', 'Lundgren', 'Lundin', 'Lundqvist', 'Lundström', 'Löfgren', - 'Magnusson', 'Martinsson', 'Mattsson', 'Månsson', 'Mårtensson', - 'Nilsson', 'Norberg', 'Nordin', 'Nordström', 'Nyberg', 'Nyström', - 'Olofsson', 'Olsson', - 'Persson', 'Pettersson', 'Pålsson', - 'Samuelsson', 'Sandberg', 'Sandström', 'Sjöberg', 'Sjögren', 'Ström', 'Strömberg', 'Sundberg', 'Sundqvist', 'Sundström', 'Svensson', 'Söderberg', - 'Viklund', - 'Wallin', 'Wikström', - 'Åberg', 'Åkesson', 'Åström', - 'Öberg', - ]; - - /** - * National Personal Identity number (personnummer) - * - * @see http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) - * - * @param \DateTime $birthdate - * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE - * - * @return string on format XXXXXX-XXXX - */ - public function personalIdentityNumber(\DateTime $birthdate = null, $gender = null) - { - if (!$birthdate) { - $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); - } - $datePart = $birthdate->format('ymd'); - $randomDigits = $this->getBirthNumber($gender); - - $checksum = Luhn::computeCheckDigit($datePart . $randomDigits); - - return $datePart . '-' . $randomDigits . $checksum; - } - - /** - * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE - * - * @return string of three digits - */ - protected function getBirthNumber($gender = null) - { - if ($gender && $gender === static::GENDER_MALE) { - return (string) static::numerify('##') . static::randomElement([1, 3, 5, 7, 9]); - } - - $zeroCheck = static function ($callback) { - do { - $randomDigits = $callback(); - } while ($randomDigits === '000'); - - return $randomDigits; - }; - - if ($gender && $gender === static::GENDER_FEMALE) { - return $zeroCheck(static function () { - return (string) static::numerify('##') . static::randomElement([0, 2, 4, 6, 8]); - }); - } - - return $zeroCheck(static function () { - return (string) static::numerify('###'); - }); - } +class Person extends \Faker\Provider\Person { + protected static $formats = [ + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}', + '{{firstName}} {{lastName}} {{lastName}}', + '{{firstName}} {{lastName}}-{{lastName}}', + '{{firstName}} {{firstName}} {{lastName}}-{{lastName}}', + ]; + + /** + * @var array Swedish female first names + * + * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml + */ + protected static $firstNameFemale = [ + + 'Ada', + 'Adela', + 'Adele', + 'Adéle', + 'Adelia', + 'Adina', + 'Adolfina', + 'Agda', + 'Agnes', + 'Agneta', + 'Aina', + 'Aino', + 'Albertina', + 'Alexandra', + 'Alfhild', + 'Alfrida', + 'Alice', + 'Alida', + 'Ally', + 'Alma', + 'Alva', + 'Amalia', + 'Amanda', + 'Andrea', + 'Anette', + 'Angela', + 'Anita', + 'Anja', + 'Ann', + 'Anna', + 'Anna-Carin', + 'Anna-Greta', + 'Anna-Karin', + 'Anna-Lena', + 'Anna-Lisa', + 'Anna-Maria', + 'Anna-Stina', + 'Anne', + 'Anneli', + 'Annelie', + 'Annette', + 'Anne-Charlotte', + 'Anne-Marie', + 'Anni', + 'Annica', + 'Annie', + 'Annika', + 'Annikki', + 'Anny', + 'Ann-Britt', + 'Ann-Charlott', + 'Ann-Charlotte', + 'Ann-Christin', + 'Ann-Christine', + 'Ann-Katrin', + 'Ann-Kristin', + 'Ann-Louise', + 'Ann-Margret', + 'Ann-Mari', + 'Ann-Marie', + 'Ann-Sofi', + 'Ann-Sofie', + 'Antonia', + 'Arvida', + 'Asta', + 'Astrid', + 'Augusta', + 'Aurora', + 'Axelia', + 'Axelina', + 'Barbro', + 'Beata', + 'Beatrice', + 'Beda', + 'Berit', + 'Bernhardina', + 'Berta', + 'Betty', + 'Birgit', + 'Birgitta', + 'Blenda', + 'Bodil', + 'Boel', + 'Borghild', + 'Brita', + 'Britt', + 'Britta', + 'Britt-Inger', + 'Britt-Louise', + 'Britt-Mari', + 'Britt-Marie', + 'Camilla', + 'Carin', + 'Carina', + 'Carita', + 'Carola', + 'Carolina', + 'Caroline', + 'Catarina', + 'Catharina', + 'Cathrine', + 'Catrin', + 'Cecilia', + 'Charlott', + 'Charlotta', + 'Charlotte', + 'Christel', + 'Christin', + 'Christina', + 'Christine', + 'Clara', + 'Clary', + 'Constance', + 'Cristina', + 'Daga', + 'Dagmar', + 'Dagny', + 'Daisy', + 'Davida', + 'Desideria', + 'Desirée', + 'Diana', + 'Disa', + 'Dora', + 'Doris', + 'Dorotea', + 'Ebba', + 'Edit', + 'Edith', + 'Edla', + 'Eira', + 'Eivor', + 'Ejvor', + 'Elaine', + 'Eleonor', + 'Eleonora', + 'Elfrida', + 'Elida', + 'Elin', + 'Elina', + 'Elinor', + 'Elisabet', + 'Elisabeth', + 'Elise', + 'Ella', + 'Ellen', + 'Ellinor', + 'Elly', + 'Elma', + 'Elna', + 'Elsa', + 'Else', + 'Else-Marie', + 'Elsi', + 'Elsie', + 'Elsy', + 'Elvi', + 'Elvira', + 'Elvy', + 'Emelia', + 'Emerentia', + 'Emilia', + 'Emma', + 'Emmy', + 'Erika', + 'Erna', + 'Ester', + 'Estrid', + 'Ethel', + 'Eufemia', + 'Eugenia', + 'Eva', + 'Eva-Britt', + 'Eva-Lena', + 'Eva-Lotta', + 'Eva-Marie', + 'Evelina', + 'Evelyn', + 'Evy', + 'Ewa', + 'Fanny', + 'Florence', + 'Fredrika', + 'Frida', + 'Frideborg', + 'Gabriella', + 'Gerd', + 'Gerda', + 'Gertie', + 'Gertrud', + 'Gisela', + 'Greta', + 'Gudrun', + 'Gull', + 'Gullan', + 'Gullbritt', + 'Gulli', + 'Gullvi', + 'Gully', + 'Gull-Britt', + 'Gun', + 'Gunborg', + 'Gunbritt', + 'Gunda', + 'Gunhild', + 'Gunilla', + 'Gunn', + 'Gunnel', + 'Gunni', + 'Gunvor', + 'Gun-Britt', + 'Gurli', + 'Gustava', + 'Gärd', + 'Görel', + 'Göta', + 'Hanna', + 'Harriet', + 'Hedvig', + 'Helen', + 'Helén', + 'Helena', + 'Helene', + 'Heléne', + 'Helfrid', + 'Helga', + 'Helmi', + 'Helny', + 'Henny', + 'Henrietta', + 'Henriette', + 'Herta', + 'Hilda', + 'Hildegard', + 'Hildur', + 'Hillevi', + 'Hilma', + 'Hjördis', + 'Hulda', + 'Ida', + 'Ines', + 'Inez', + 'Inga', + 'Ingalill', + 'Inga-Britt', + 'Inga-Lena', + 'Inga-Lill', + 'Inga-Lisa', + 'Inga-Maj', + 'Ingbritt', + 'Ingeborg', + 'Ingegerd', + 'Ingegärd', + 'Ingela', + 'Inger', + 'Ingrid', + 'Ingvor', + 'Ing-Britt', + 'Ing-Mari', + 'Ing-Marie', + 'Iréne', + 'Irene', + 'Iris', + 'Irma', + 'Isabella', + 'Jane', + 'Janet', + 'Jeanette', + 'Jenny', + 'Jessica', + 'Johanna', + 'Josefina', + 'Judit', + 'Judith', + 'Julia', + 'Juliana', + 'Justina', + 'Kaarina', + 'Kajsa', + 'Karin', + 'Karina', + 'Karla', + 'Karola', + 'Karolina', + 'Katarina', + 'Katharina', + 'Katrin', + 'Katrina', + 'Kersti', + 'Kerstin', + 'Klara', + 'Konstantia', + 'Kornelia', + 'Kristin', + 'Kristina', + 'Kristine', + 'Laila', + 'Laura', + 'Leila', + 'Lena', + 'Leontina', + 'Liisa', + 'Lilian', + 'Lill', + 'Lillemor', + 'Lillian', + 'Lilly', + 'Linda', + 'Linnéa', + 'Linnea', + 'Lisa', + 'Lisbet', + 'Lisbeth', + 'Liselott', + 'Liselotte', + 'Lise-Lott', + 'Lise-Lotte', + 'Lizzie', + 'Lola', + 'Louise', + 'Lovisa', + 'Lucia', + 'Lydia', + 'Madeleine', + 'Madelene', + 'Magda', + 'Magdalena', + 'Magnhild', + 'Maj', + 'Maja', + 'Majbritt', + 'Majken', + 'Majlis', + 'Majvor', + 'Maj-Britt', + 'Maj-Lis', + 'Malin', + 'Malvina', + 'Margaret', + 'Margareta', + 'Margareth', + 'Margaretha', + 'Margit', + 'Margita', + 'Margot', + 'Margret', + 'Margreta', + 'Mari', + 'Maria', + 'Mariana', + 'Mariann', + 'Marianne', + 'Marie', + 'Mariette', + 'Marie-Louise', + 'Marika', + 'Marina', + 'Marion', + 'Marit', + 'Marita', + 'Mari-Ann', + 'Marja', + 'Marjatta', + 'Marlene', + 'Marta', + 'Martha', + 'Martina', + 'Mary', + 'Mathilda', + 'Matilda', + 'Maud', + 'May', + 'Mia', + 'Mildred', + 'Mimmi', + 'Mirjam', + 'Mona', + 'Monica', + 'Monika', + 'Märit', + 'Märta', + 'Märtha', + 'Naemi', + 'Naima', + 'Nancy', + 'Nanna', + 'Nanny', + 'Natalia', + 'Nelly', + 'Nina', + 'Nora', + 'Olga', + 'Olivia', + 'Ottilia', + 'Paula', + 'Paulina', + 'Pauline', + 'Pernilla', + 'Petra', + 'Petronella', + 'Pia', + 'Ragna', + 'Ragnhild', + 'Rakel', + 'Rebecka', + 'Regina', + 'Renée', + 'Rigmor', + 'Rita', + 'Rosa', + 'Rose', + 'Rose-Marie', + 'Rosita', + 'Ros-Mari', + 'Ros-Marie', + 'Runa', + 'Rut', + 'Ruth', + 'Sabina', + 'Saga', + 'Sally', + 'Sara', + 'Selma', + 'Serafia', + 'Sibylla', + 'Sigbritt', + 'Signe', + 'Signhild', + 'Sigrid', + 'Siri', + 'Siv', + 'Sofi', + 'Sofia', + 'Sofie', + 'Solbritt', + 'Solveig', + 'Solvig', + 'Sonja', + 'Stina', + 'Susann', + 'Susanna', + 'Susanne', + 'Suzanne', + 'Svea', + 'Sylvia', + 'Synnöve', + 'Syster', + 'Tea', + 'Tekla', + 'Terese', + 'Teresia', + 'Therése', + 'Therese', + 'Theresia', + 'Thyra', + 'Tina', + 'Tora', + 'Torborg', + 'Tove', + 'Tyra', + 'Ulla', + 'Ulla-Britt', + 'Ulla-Britta', + 'Ulrica', + 'Ulrika', + 'Ursula', + 'Valborg', + 'Vanja', + 'Vega', + 'Vendela', + 'Vendla', + 'Vera', + 'Veronica', + 'Veronika', + 'Victoria', + 'Viktoria', + 'Vilhelmina', + 'Vilma', + 'Viola', + 'Virginia', + 'Vivan', + 'Viveca', + 'Viveka', + 'Vivi', + 'Vivian', + 'Viviann', + 'Vivianne', + 'Vivi-Ann', + 'Vivi-Anne', + 'Wilhelmina', + 'Ylva', + 'Yvonne', + 'Åsa', + 'Åse', + ]; + + /** + * @var array Swedish male first names + * + * @see http://spraakbanken.gu.se/statistik/lbfnamnalf.phtml + */ + protected static $firstNameMale = [ + 'Abraham', + 'Adam', + 'Adrian', + 'Agaton', + 'Agne', + 'Albert', + 'Albin', + 'Aldor', + 'Alex', + 'Alexander', + 'Alexis', + 'Alexius', + 'Alf', + 'Alfons', + 'Alfred', + 'Algot', + 'Allan', + 'Alrik', + 'Alvar', + 'Alve', + 'Amandus', + 'Anders', + 'André', + 'Andreas', + 'Anselm', + 'Anshelm', + 'Antero', + 'Anton', + 'Antonius', + 'Arne', + 'Arnold', + 'Aron', + 'Arthur', + 'Artur', + 'Arvid', + 'Assar', + 'Astor', + 'August', + 'Augustin', + 'Axel', + 'Bengt', + 'Bengt-Göran', + 'Bengt-Olof', + 'Bengt-Åke', + 'Benny', + 'Berndt', + 'Berne', + 'Bernhard', + 'Bernt', + 'Bert', + 'Berth', + 'Berthold', + 'Bertil', + 'Bill', + 'Billy', + 'Birger', + 'Bjarne', + 'Björn', + 'Bo', + 'Boris', + 'Bror', + 'Bruno', + 'Brynolf', + 'Börje', + 'Carl', + 'Carl-Axel', + 'Carl-Erik', + 'Carl-Gustaf', + 'Carl-Gustav', + 'Carl-Johan', + 'Charles', + 'Christer', + 'Christian', + 'Claes', + 'Claes-Göran', + 'Clarence', + 'Clas', + 'Conny', + 'Crister', + 'Curt', + 'Dag', + 'Dan', + 'Daniel', + 'David', + 'Dennis', + 'Dick', + 'Donald', + 'Douglas', + 'Ebbe', + 'Eddie', + 'Eddy', + 'Edgar', + 'Edmund', + 'Edvard', + 'Edvin', + 'Efraim', + 'Egon', + 'Eilert', + 'Einar', + 'Eje', + 'Ejnar', + 'Elias', + 'Elis', + 'Ellert', + 'Elmer', + 'Elof', + 'Elon', + 'Elov', + 'Elving', + 'Elvir', + 'Emanuel', + 'Emil', + 'Enar', + 'Engelbert', + 'Engelbrekt', + 'Enok', + 'Erhard', + 'Eric', + 'Erik', + 'Erland', + 'Erling', + 'Ernfrid', + 'Ernst', + 'Esbjörn', + 'Eskil', + 'Eugén', + 'Eugen', + 'Evald', + 'Eve', + 'Evert', + 'Fabian', + 'Felix', + 'Ferdinand', + 'Filip', + 'Fingal', + 'Finn', + 'Folke', + 'Frank', + 'Frans', + 'Franz', + 'Fred', + 'Fredrik', + 'Fridolf', + 'Friedrich', + 'Fritiof', + 'Fritjof', + 'Frits', + 'Fritz', + 'Gabriel', + 'Georg', + 'George', + 'Gerhard', + 'Gert', + 'Gideon', + 'Gilbert', + 'Gillis', + 'Glenn', + 'Gottfrid', + 'Gotthard', + 'Greger', + 'Gudmund', + 'Gunder', + 'Gunnar', + 'Gustaf', + 'Gustav', + 'Göran', + 'Görgen', + 'Gösta', + 'Göte', + 'Hadar', + 'Halvar', + 'Halvard', + 'Hans', + 'Hans-Erik', + 'Hans-Olof', + 'Hans-Åke', + 'Harald', + 'Hardy', + 'Harry', + 'Hartvig', + 'Hasse', + 'Heinrich', + 'Heinz', + 'Helge', + 'Helmer', + 'Henning', + 'Henric', + 'Henrik', + 'Henry', + 'Herbert', + 'Heribert', + 'Herman', + 'Hilbert', + 'Hilding', + 'Hilmer', + 'Hjalmar', + 'Holger', + 'Holmfrid', + 'Hubert', + 'Hugo', + 'Håkan', + 'Inge', + 'Ingemar', + 'Ingmar', + 'Ingvald', + 'Ingvar', + 'Isak', + 'Isidor', + 'Ivan', + 'Ivar', + 'Jack', + 'Jacob', + 'Jakob', + 'James', + 'Jan', + 'Janne', + 'Jan-Eric', + 'Jan-Erik', + 'Jan-Olof', + 'Jan-Olov', + 'Jan-Ove', + 'Jan-Åke', + 'Jarl', + 'Jean', + 'Jens', + 'Jerker', + 'Jerry', + 'Jesper', + 'Jim', + 'Jimmy', + 'Joachim', + 'Joacim', + 'Joakim', + 'Joel', + 'Johan', + 'Johannes', + 'John', + 'Johnny', + 'Johny', + 'Jon', + 'Jonas', + 'Jonny', + 'Josef', + 'Juhani', + 'Julius', + 'Justus', + 'Jöns', + 'Jörgen', + 'Kai', + 'Kaj', + 'Kalevi', + 'Karl', + 'Karl-Axel', + 'Karl-Erik', + 'Karl-Gunnar', + 'Karl-Gustaf', + 'Karl-Gustav', + 'Karl-Johan', + 'Kennert', + 'Kennet', + 'Kenneth', + 'Kenny', + 'Kent', + 'Kenth', + 'Kjell', + 'Kjell-Åke', + 'Klas', + 'Knut', + 'Konrad', + 'Konstantin', + 'Krister', + 'Kristian', + 'Kristoffer', + 'Kurt', + 'Kåre', + 'Lage', + 'Lambert', + 'Lars', + 'Lars-Eric', + 'Lars-Erik', + 'Lars-Gunnar', + 'Lars-Göran', + 'Lars-Olof', + 'Lars-Olov', + 'Lars-Ove', + 'Lars-Åke', + 'Laurentius', + 'Leander', + 'Leif', + 'Lennart', + 'Leo', + 'Leon', + 'Leonard', + 'Leopold', + 'Levi', + 'Levin', + 'Linné', + 'Linus', + 'Lorentz', + 'Louis', + 'Ludvig', + 'Magni', + 'Magnus', + 'Malkolm', + 'Malte', + 'Manfred', + 'Manne', + 'Marcus', + 'Markus', + 'Martin', + 'Mathias', + 'Mats', + 'Matti', + 'Mattias', + 'Matts', + 'Maurits', + 'Mauritz', + 'Max', + 'Melker', + 'Micael', + 'Michael', + 'Mickael', + 'Mikael', + 'Morgan', + 'Måns', + 'Mårten', + 'Napoleon', + 'Natanael', + 'Nicklas', + 'Niclas', + 'Niklas', + 'Nikolaus', + 'Nils', + 'Nils-Erik', + 'Nore', + 'Odd', + 'Ola', + 'Olaus', + 'Olav', + 'Olavi', + 'Ole', + 'Oliver', + 'Olle', + 'Olof', + 'Olov', + 'Orvar', + 'Oscar', + 'Oskar', + 'Ossian', + 'Osvald', + 'Otto', + 'Ove', + 'Owe', + 'Patric', + 'Patrick', + 'Patrik', + 'Paul', + 'Peder', + 'Per', + 'Percy', + 'Per-Anders', + 'Per-Arne', + 'Per-Erik', + 'Per-Ola', + 'Per-Olof', + 'Per-Olov', + 'Per-Åke', + 'Peter', + 'Petrus', + 'Petter', + 'Pierre', + 'Pontus', + 'Pär', + 'Ragnar', + 'Ragnvald', + 'Ralf', + 'Ralph', + 'Raymond', + 'Reidar', + 'Reine', + 'Reinhold', + 'Reino', + 'Richard', + 'Rickard', + 'Rikard', + 'Robert', + 'Roger', + 'Roine', + 'Roland', + 'Rolf', + 'Ronald', + 'Ronnie', + 'Ronny', + 'Roy', + 'Ruben', + 'Rudolf', + 'Runar', + 'Rune', + 'Runo', + 'Rutger', + 'Salomon', + 'Sam', + 'Samuel', + 'Sanfrid', + 'Sebastian', + 'Set', + 'Seth', + 'Seved', + 'Severin', + 'Sigfrid', + 'Sigmund', + 'Signar', + 'Sigurd', + 'Sigvard', + 'Simon', + 'Sivert', + 'Sixten', + 'Sonny', + 'Staffan', + 'Stanley', + 'Stefan', + 'Stellan', + 'Sten', + 'Stephan', + 'Steve', + 'Stig', + 'Sture', + 'Sune', + 'Svante', + 'Sven', + 'Sven-Erik', + 'Sven-Olof', + 'Sven-Olov', + 'Sven-Åke', + 'Sverker', + 'Sölve', + 'Sören', + 'Tage', + 'Ted', + 'Teodor', + 'Theodor', + 'Thomas', + 'Thor', + 'Thorbjörn', + 'Thord', + 'Thore', + 'Thorsten', + 'Thorvald', + 'Thure', + 'Tobias', + 'Toivo', + 'Tom', + 'Tomas', + 'Tommy', + 'Tonny', + 'Tony', + 'Tor', + 'Torbjörn', + 'Tord', + 'Tore', + 'Torgny', + 'Torkel', + 'Torsten', + 'Torvald', + 'Tryggve', + 'Ture', + 'Tyko', + 'Ulf', + 'Ulrik', + 'Uno', + 'Urban', + 'Valdemar', + 'Valentin', + 'Valfrid', + 'Vallentin', + 'Valter', + 'Veine', + 'Verner', + 'Victor', + 'Vidar', + 'Viggo', + 'Viking', + 'Viktor', + 'Vilgot', + 'Vilhelm', + 'Villiam', + 'Villy', + 'Vincent', + 'Vitalis', + 'Waldemar', + 'Walter', + 'Werner', + 'Wilhelm', + 'William', + 'Willy', + 'Yngve', + 'Åke', + 'Örjan', + 'Östen', + ]; + + /** + * @var array Swedish common last names + * + * @see http://www.scb.se/sv_/Hitta-statistik/Statistik-efter-amne/Befolkning/Amnesovergripande-statistik/Namnstatistik/30898/2012A01x/Samtliga-folkbokforda--Efternamn-topplistor/Efternamn-topp-100/ + */ + protected static $lastName = [ + + 'Abrahamsson', + 'Andersson', + 'Andreasson', + 'Arvidsson', + 'Axelsson', + 'Bengtsson', + 'Berg', + 'Berggren', + 'Berglund', + 'Bergman', + 'Bergqvist', + 'Bergström', + 'Björk', + 'Björklund', + 'Blom', + 'Blomqvist', + 'Claesson', + 'Dahlberg', + 'Danielsson', + 'Engström', + 'Ek', + 'Eklund', + 'Ekström', + 'Eliasson', + 'Eriksson', + 'Falk', + 'Forsberg', + 'Fransson', + 'Fredriksson', + 'Gunnarsson', + 'Gustafsson', + 'Hansen', + 'Hansson', + 'Hedlund', + 'Hellström', + 'Henriksson', + 'Hermansson', + 'Holm', + 'Holmberg', + 'Holmgren', + 'Holmqvist', + 'Håkansson', + 'Isaksson', + 'Ivarsson', + 'Jakobsson', + 'Jansson', + 'Johansson', + 'Jonasson', + 'Jonsson', + 'Jönsson', + 'Karlsson', + 'Larsson', + 'Lind', + 'Lindberg', + 'Lindgren', + 'Lindholm', + 'Lindqvist', + 'Lindström', + 'Lund', + 'Lundberg', + 'Lundgren', + 'Lundin', + 'Lundqvist', + 'Lundström', + 'Löfgren', + 'Magnusson', + 'Martinsson', + 'Mattsson', + 'Månsson', + 'Mårtensson', + 'Nilsson', + 'Norberg', + 'Nordin', + 'Nordström', + 'Nyberg', + 'Nyström', + 'Olofsson', + 'Olsson', + 'Persson', + 'Pettersson', + 'Pålsson', + 'Samuelsson', + 'Sandberg', + 'Sandström', + 'Sjöberg', + 'Sjögren', + 'Ström', + 'Strömberg', + 'Sundberg', + 'Sundqvist', + 'Sundström', + 'Svensson', + 'Söderberg', + 'Viklund', + 'Wallin', + 'Wikström', + 'Åberg', + 'Åkesson', + 'Åström', + 'Öberg', + ]; + + /** + * National Personal Identity number (personnummer) + * + * @see http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) + * + * @param \DateTime $birthdate + * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE + * + * @return string on format XXXXXX-XXXX + */ + public function personalIdentityNumber( \DateTime $birthdate = null, $gender = null ) { + if ( ! $birthdate ) { + $birthdate = \Faker\Provider\DateTime::dateTimeThisCentury(); + } + $datePart = $birthdate->format( 'ymd' ); + $randomDigits = $this->getBirthNumber( $gender ); + + $checksum = Luhn::computeCheckDigit( $datePart . $randomDigits ); + + return $datePart . '-' . $randomDigits . $checksum; + } + + /** + * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE + * + * @return string of three digits + */ + protected function getBirthNumber( $gender = null ) { + if ( $gender && $gender === static::GENDER_MALE ) { + return (string) static::numerify( '##' ) . static::randomElement( [ 1, 3, 5, 7, 9 ] ); + } + + $zeroCheck = static function ( $callback ) { + do { + $randomDigits = $callback(); + } while ( $randomDigits === '000' ); + + return $randomDigits; + }; + + if ( $gender && $gender === static::GENDER_FEMALE ) { + return $zeroCheck( static function () { + return (string) static::numerify( '##' ) . static::randomElement( [ 0, 2, 4, 6, 8 ] ); + } ); + } + + return $zeroCheck( static function () { + return (string) static::numerify( '###' ); + } ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/PhoneNumber.php index 2d5c588..3df3c0d 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/sv_SE/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/sv_SE/PhoneNumber.php @@ -5,60 +5,58 @@ /** * @see https://www.pts.se/sv/bransch/telefoni/nummer-och-adressering/telefoninummerplanen/telefonnummers-struktur/ */ -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array Swedish phone number formats - */ - protected static $formats = [ - '08-### ### ##', - '0%#-### ## ##', - '0%########', - '+46 (0)%## ### ###', - '+46(0)%########', - '+46 %## ### ###', - '+46%########', +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array Swedish phone number formats + */ + protected static $formats = [ + '08-### ### ##', + '0%#-### ## ##', + '0%########', + '+46 (0)%## ### ###', + '+46(0)%########', + '+46 %## ### ###', + '+46%########', - '08-### ## ##', - '0%#-## ## ##', - '0%##-### ##', - '0%#######', - '+46 (0)8 ### ## ##', - '+46 (0)%# ## ## ##', - '+46 (0)%## ### ##', - '+46 (0)%#######', - '+46(0)%#######', - '+46%#######', + '08-### ## ##', + '0%#-## ## ##', + '0%##-### ##', + '0%#######', + '+46 (0)8 ### ## ##', + '+46 (0)%# ## ## ##', + '+46 (0)%## ### ##', + '+46 (0)%#######', + '+46(0)%#######', + '+46%#######', - '08-## ## ##', - '0%#-### ###', - '0%#######', - '+46 (0)%######', - '+46(0)%######', - '+46%######', - ]; + '08-## ## ##', + '0%#-### ###', + '0%#######', + '+46 (0)%######', + '+46(0)%######', + '+46%######', + ]; - /** - * @var array Swedish mobile number formats - */ - protected static array $mobileFormats = [ - '+467########', - '+46(0)7########', - '+46 (0)7## ## ## ##', - '+46 (0)7## ### ###', - '07## ## ## ##', - '07## ### ###', - '07##-## ## ##', - '07##-### ###', - '07# ### ## ##', - '07#-### ## ##', - '07#-#######', - ]; + /** + * @var array Swedish mobile number formats + */ + protected static array $mobileFormats = [ + '+467########', + '+46(0)7########', + '+46 (0)7## ## ## ##', + '+46 (0)7## ### ###', + '07## ## ## ##', + '07## ### ###', + '07##-## ## ##', + '07##-### ###', + '07# ### ## ##', + '07#-### ## ##', + '07#-#######', + ]; - public function mobileNumber(): string - { - $format = static::randomElement(static::$mobileFormats); + public function mobileNumber(): string { + $format = static::randomElement( static::$mobileFormats ); - return self::numerify($this->generator->parse($format)); - } + return self::numerify( $this->generator->parse( $format ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Address.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Address.php index 4918281..7ac3520 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Address.php @@ -2,140 +2,815 @@ namespace Faker\Provider\th_TH; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = [ - 'เมือง', 'หมู่บ้าน', 'ท่า', - ]; - - protected static $citySuffix = [ - 'เหนือ', 'ใต้', 'บุรี', - ]; - - protected static $buildingNumber = [ - '#####', '####', '###', '##', '##/###', - ]; - - protected static $streetPrefix = [ - 'ซอย', 'ถนน', 'สะพาน', 'วงเวียน', 'แยก', - ]; - - protected static $streetSuffix = [ - 'กรุงเกษม', 'กรุงเทพกรีฑา', 'กรุงเทพ-นนทบุรี', 'กรุงธนบุรี', 'กรุงแมน', 'กล้วยน้ำไทตัดใหม่', 'กลันตัน', 'กะออม', 'กระออม', 'กัลปพฤกษ์', 'กัลยาณไมตรี', 'กาญจนาภิเษก', 'กำนันแม้น', 'กำแพงเพชร', 'กำแพงเพชร 1', 'กำแพงเพชร 2', 'กำแพงเพชร 3', 'กำแพงเพชร 4', 'กำแพงเพชร 5', 'กำแพงเพชร 6', 'กำแพงเพชร 7', 'กิ่งแก้ว', 'กิจพานิช', 'เกษมราษฎร์', 'แก้ว', 'แก้วเงินทอง', 'โกสุมรวมใจ', 'ไกรสีห์', - 'ขวัญ', 'ขาว', 'ข้าวสาร', 'ข้าวหลาม', 'ขุมทอง-ลำต้อยติ่ง', 'เขียวไข่กา', - 'ครุใน', 'คลองเก้า', 'คลองถมวัดพิเรนทร์', 'คลองถมวัดสระเกศ', 'คลองถมวัดโสมนัส', 'คลองลำเจียก', 'คลองลำปัก', 'คลองสิบ-คลองสิบสี่', 'คอนแวนต์', 'คุ้มเกล้า', 'คู้บอน', 'คู้-คลองสิบ', 'เคหะร่มเกล้า', - 'งามวงศ์วาน', 'จตุโชติ', 'จรัญสนิทวงศ์', 'จรัสเมือง', 'จรัสเวียง', 'จรูญเวียง', 'จอมทอง', 'จอมทองบูรณะ', 'จักรพงษ์', 'จักรพรรดิพงษ์', 'จักรเพชร', 'จักรวรรดิ', 'จันทน์', 'จันทน์เก่า', 'จันทรุเบกษา', 'จารุเมือง', 'จึงเจริญพาณิชย์', 'เจริญกรุง', 'เจริญนคร', 'เจริญพัฒนา', 'เจริญเมือง', 'เจริญรัถ', 'เจริญราษฎร์', 'เจริญเวียง', 'เจ้าคำรพ', 'เจ้าคำรบ', 'เจ้าคุณทหาร', 'เจ้าพระยาสยาม', 'เจ้าฟ้า', 'แจ้งวัฒนะ', - 'ฉลองกรุง', 'ฉิมพลี', 'เฉลิมเขต 1', 'เฉลิมเขต 2', 'เฉลิมเขต 3', 'เฉลิมเขต 4', 'เฉลิมพงษ์', 'เฉลิมพระเกียรติ ร.9', 'แฉล้มนิมิตร', - 'ชักพระ', 'ชัยพฤกษ์', 'ช่างอากาศอุทิศ', 'ชิดลม', 'เชตุพน', 'เชิดวุฒากาศ', 'เชียงใหม่', 'เชื้อเพลิง', 'เชื่อมคลองมอญ', 'เชื่อมสัมพันธ์', 'โชคชัย 4', - 'ณ ระนอง', - 'ดวงพิทักษ์', 'ดาวข่าง', 'ดำรงรักษ์', 'ดินแดง', 'ดินแดง 1', 'ดินสอ', 'ดิสมาร์ค', 'เดชะตุงคะ', 'เดโช', - 'ตรีเพชร', 'ตรีมิตร', 'ตะนาว', 'ตานี', 'ตีทอง', 'เตชะวณิช', - 'ทรงวาด', 'ทรงสวัสดิ์', 'ทรงเสริม', 'ทรัพย์', 'ทรัพย์สิน', 'ทวีวัฒนา', 'ทวีวัฒนา-กาญจนาภิเษก', 'ทหาร', 'ทหารอากาศอุทิศ', 'ทับยาว', 'ท่าเกษม', 'ท่าข้าม', 'ทางรถไฟสายเก่าปากน้ำ', 'ท่าดินแดง', 'ท้ายวัง', 'ทุ่งมังกร', 'เทศบาลนฤมาณ', 'เทศบาลนิมิตใต้', 'เทศบาลนิมิตเหนือ', 'เทศบาลรังรักษ์ใต้', 'เทศบาลรังรักษ์เหนือ', 'เทศบาลรังสรรใต้', 'เทศบาลรังสรรเหนือ', 'เทศบาลรังสฤษดิ์ใต้', 'เทศบาลรังสฤษดิ์เหนือ', 'เทศบาลสงเคราะห์', 'เทอดดำริ', 'เทอดไท', 'เทิดราชัน', 'เทียมร่วมมิตร', 'ไทยรามัญ', - 'ธนิยะ', - 'นครไชยศรี', 'นครปฐม', 'นครราชสีมา', 'นครลุง', 'นครสวรรค์', 'นนทรี', 'นราธิวาสราชนครินทร์', 'นเรศ', 'นวมินทร์', 'นวลจันทร์', 'นักกีฬาแหลมทอง', 'นาคนิวาส', 'นาคราช', 'นางลิ้นจี่', 'นาวงประชาพัฒนา', 'นิคมมักกะสัน', 'นิมิตใหม่', 'นิลเหมนิยม', 'นี้จงสวัสดิ์', - 'บรมราชชนนี', 'บรรทัดทอง', 'บริพัตร', 'บวรนิเวศน์', 'บางกระดี่', 'บางขุนเทียน', 'บางขุนเทียน-ชายทะเล', 'บางขุนนนท์', 'บางแค', 'บางเชือกหนัง', 'บางนา-ตราด', 'บางบอน 1', 'บางบอน 2', 'บางบอน 3', 'บางบอน 4', 'บางบอน 5', 'บางบอนสายเดิม', 'บางไผ่', 'บางพรม', 'บางระมาด', 'บางแวก', 'บ้านหม้อ', 'บำรุงเมือง', 'บึงขวาง', 'บุญศิริ', 'บุรีภิรมย์', 'บูรณศาสตร์', 'บูรพา', 'แบนชะโด', 'แบรสต์', - 'ประชาชื่น', 'ประชาทร', 'ประชาธิปก', 'ประชาธิปไตย', 'ประชาพัฒนา', 'ประชาร่วมใจ', 'ประชาราษฎร์ สาย 1', 'ประชาราษฎร์ สาย 2', 'ประชาราษฎร์บำเพ็ญ', 'ประชาสงเคราะห์', 'ประชาสำราญ', 'ประชาสุข', 'ประชาอุทิศ', 'ประดิพัทธิ์', 'ประดิษฐ์มนูธรรม', 'ประมวญ', 'ประเสริฐมนูกิจ', 'ปรินายก', 'ปั้น', 'ปากน้ำกระโจมทอง', 'ปากน้ำฝั่งเหนือ', 'แปลงนาม', - 'ผดุงด้าว', 'ผดุงพันธ์', - 'พญาไท', 'พญาไม้', 'พรหมราษฎร์', 'พระจันทร์', 'พระพิทักษ์', 'พระพิพิธ', 'พระยาสุเรนทร์', 'พระราม 1', 'พระราม 2', 'พระราม 3', 'พระราม 4', 'พระราม 5', 'พระราม 6', 'พระราม 9', 'พระสุเมรุ', 'พระอาทิตย์', 'พรานนก', 'พลับพลาไชย', 'พ่วงศิริ', 'พหลโยธิน', 'พะเนียง', 'พัฒน์พงศ์', 'พัฒนา', 'พัฒนาการ', 'พัฒนาชนบท', 'พัฒนาชนบท 2', 'พัฒนาชนบท 3', 'พัฒนาชนบท 4', 'พาณิชยการธนบุรี', 'พาดสาย', 'พาหุรัด', 'พิชัย', 'พิบูลสงคราม', 'พิษณุโลก', 'พีรพงษ์', 'พุทธบูชา', 'พุทธมณฑล สาย 1', 'พุทธมณฑล สาย 2', 'พุทธมณฑล สาย 3', 'เพชรเกษม', 'เพชรบุรี', 'เพชรพระราม', 'เพชรอุทัย', 'เพลินจิต', 'เพาะพานิชย์', 'เพิ่มสิน', 'แพร่งนรา', 'แพร่งภูธร', 'แพร่งสรรพศาสตร์', 'โพธิ์แก้ว', - 'เฟื่องนคร', - 'ภาณุรังษี', 'ภุชงค์', 'โภคี', - 'มหรรณพ', 'มหาจักร', 'มหาไชย', 'มหานคร', 'มหาพฤฒาราม', 'มหาราช', 'มหาเศรษฐ์', 'มเหสักข์', 'มไหสวรรย์', 'มอเตอร์เวย์', 'มังกร', 'มาเจริญ', 'มิตรพันธ์', 'มิตรภาพไทย-จีน', 'มิตรไมตรี', 'มิตรไมตรี 1', 'มิตรไมตรี 2', 'มิตรไมตรี 3', 'มีนพัฒนา', 'แมนไท', 'ไมตรีจิต', - 'ยมราชสุขุม', 'ยังพัธนา', 'ยานนาวา', 'ยี่สิบสองกรกฎาคม 1', 'ยี่สิบสองกรกฎาคม 2', 'ยี่สิบสองกรกฎาคม 3', 'ยี่สิบสองกรกฎาคม 4', 'ยี่สิบสองกรกฎาคม 5', 'ยุคล 1', 'ยุคล 2', 'เย็นจิต', 'เย็นอากาศ', 'เยาวพานิชย์', 'เยาวราช', 'แยกสวนสยาม', 'โยธา', 'โยธา 1', 'โยธินพัฒนา', 'โยธี', - 'ร่มเกล้า', 'ร่วมจิตต์', 'ร่วมพัฒนา', 'รองเมือง', 'ระนอง 1', 'ระนอง 2', 'รัชดาภิเษก', 'รัชดา-รามอินทรา', 'รัชมงคลประสาธน์', 'รางน้ำ', 'ราชดำเนินกลาง', 'ราชดำเนินนอก', 'ราชดำเนินใน', 'ราชดำริ', 'ราชบพิธ', 'ราชปรารภ', 'ราชพฤกษ์', 'ราชมนตรี', 'ราชวงศ์', 'ราชวิถี', 'ราชินี', 'รามคำแหง', 'รามคำแหง 2', 'รามบุตรี', 'รามอินทรา', 'ราษฎร์นิมิตร', 'ราษฎร์บูรณะ', 'ราษฎร์พัฒนา', 'ราษฎร์ร่วมใจ', 'ราษฎร์รัฐพัฒนา', 'ราษฎร์อุทิศ', 'ริมคลองประปาฝั่งขวา', 'ริมคลองประปาฝั่งซ้าย', 'รุ่งประชา', - 'ลงท่า', 'ลาซาล', 'ลาซาล-แบริ่ง', 'ลาดกระบัง', 'ลาดปลาเค้า', 'ลาดพร้าว', 'ลาดพร้าววังหิน', 'ลาดหญ้า', 'ลำไทร', 'ลำพูนไชย', 'ลำมะเขือขื่น', 'ลิขิต', 'ลูกหลวง', 'เลียบคลองเนินทราย', 'เลียบคลองบางพรม', 'เลียบคลองปทุม', 'เลียบคลองผดุงกรุงเกษม', 'เลียบคลองพิทยาลงกรณ์', 'เลียบคลองภาษีเจริญฝั่งใต้', 'เลียบคลองภาษีเจริญฝั่งเหนือ', 'เลียบคลองมอญ', 'เลียบคลองลำกอไผ่', 'เลียบคลองสอง', 'เลียบคลองสิบสามฝั่งตะวันตก', 'เลียบคลองสิบสามฝั่งตะวันออก', 'เลียบทะเลสาบ', 'เลียบวารี', - 'วงศ์สว่าง', 'วรจักร', 'วังเจ้าสาย', 'วังเดิม', 'วังหลัง', 'วัชรพล', 'วัฒนธรรม', 'วัดเวฬุวนาราม', 'วัดสุขใจ', 'วัดใหม่เจริญราษฎร์', 'วิทยุ', 'วิบูลย์สาธุกิจ', 'วิบูลย์สาธุกิจ', 'วิวัฒน์เวียง', 'วิสุทธิกษัตริย์', 'วุฒากาศ', - 'ศรีธรรมาธิราช', 'ศรีนครินทร์', 'ศรีบูรพา', 'ศรีวรา', 'ศรีเวียง', 'ศรีอยุธยา', 'ศาลาแดง', 'ศาลาธรรมสพน์', 'ศิริเกษม', 'ศิริพงษ์', 'ศุภมิตร', 'เศรษฐศิริ', 'เศรษฐศิริ 2', 'สกุลดี', - 'สตรีวิทยา 2', 'สนามไชย', 'สมเด็จเจ้าพระยา', 'สมเด็จพระเจ้าตากสิน', 'สมเด็จพระปิ่นเกล้า', 'สรงประภา', 'สรณคมน์', 'สรรพาวุธ', 'สราญรมย์', 'สวนผัก', 'สวนพลู', 'สวนสยาม', 'สวนอ้อยซอยกลาง', 'สวรรคโลก', 'สวัสดิการ 1', 'สวัสดิการ 2', 'สวัสดิการ 3', 'สว่าง', 'สะแกงาม', 'สะพานพุทธ', 'สังคมสงเคราะห์', 'สังคโลก', 'สังฆประชา', 'สังฆสันติสุข', 'สันติภาพ', 'สาทรใต้', 'สาทรเหนือ', 'สาธุประดิษฐ์', 'สามวา', 'สามเสน', 'สายไหม', 'สารสิน', 'สารีบุตร', 'สารีบุตร-ทับยาว', 'สาลีรัฐวิภาค', 'สิบสามห้าง', 'สิรินธร', 'สี่พระยา', 'สีลม', 'สีหบุรานุกิจ', 'สุขสวัสดิ์', 'สุขาภิบาล 2', 'สุขาภิบาล 5', 'สุขาภิบาลบางระมาด', 'สุขุมวิท', 'สุโขทัย', 'สุคนธสวัสดิ์', 'สุคันธาราม', 'สุดประเสริฐ', 'สุทธาวาส', 'สุทธิสารวินิจฉัย', 'สุนทรโกษา', 'สุพรรณ', 'สุรวงศ์', 'สุรศักดิ์', 'สุวินทวงศ์', 'สุเหร่าคลองหนึ่ง', 'เสนานิคม 1', 'เสรีไทย', 'เสือป่า', 'แสนเกษม', 'แสมดำ', - 'หทัยมิตร', 'หทัยราษฎร์', 'หนองแขม-วัดศรีนวล', 'หนองระแหง', 'หน้าพระธาตุ', 'หน้าพระลาน', 'หน้าหับเผย', 'หม่อมเจ้าสง่างาม สุประดิษฐ์', 'หมู่บ้านเศรษฐกิจ', 'หลวง', 'หลวงพรตพิทยพยัต', 'หลวงแพ่ง', 'หลักเมือง', 'หลังสวน', 'หลานหลวง', 'หอวัง', 'หัวหมาก', - 'อนันตนาค', 'อนามัยงามเจริญ', 'อนุวงศ์', 'อยู่เย็น', 'อยู่วิทยา', 'อรุณอมรินทร์', 'อโศก-ดินแดง', 'อโศกมนตรี', 'อ่อนนุช', 'อังรีดูนังต์', 'อัศวพิเชษฐ์', 'อัษฎางค์', 'อัสสัมชัญ', 'อาจณรงค์', 'อำนวยสงคราม', 'อินทรพิทักษ์', 'อินทราวาส', 'อิสรภาพ', 'อุณากรรณ', 'อุดมสุข', 'อุทยาน', 'อู่ทองนอก', 'อู่ทองใน', 'เอกชัย', - '60 พรรษามหาราชินี', - ]; - - protected static $postcode = ['#####']; - - /** - * @var array Thai province names - * - * @see https://th.wikipedia.org/wiki/%E0%B8%88%E0%B8%B1%E0%B8%87%E0%B8%AB%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B9%83%E0%B8%99%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8%E0%B9%84%E0%B8%97%E0%B8%A2 - */ - protected static $province = [ - 'กระบี่', 'กรุงเทพมหานคร', 'กาญจนบุรี', 'กาฬสินธุ์', 'กำแพงเพชร', 'ขอนแก่น', - 'จันทบุรี', 'ฉะเชิงเทรา', 'ชลบุรี', 'ชัยนาท', 'ชัยภูมิ', 'ชุมพร', - 'ตรัง', 'ตราด', 'ตาก', 'นครนายก', 'นครปฐม', 'นครพนม', 'นครราชสีมา', - 'นครศรีธรรมราช', 'นครสวรรค์', 'นนทบุรี', 'นราธิวาส', 'น่าน', - 'บึงกาฬ', 'บุรีรัมย์', 'ปทุมธานี', 'ประจวบคีรีขันธ์', 'ปราจีนบุรี', 'ปัตตานี', - 'พระนครศรีอยุธยา', 'พะเยา', 'พังงา', 'พัทลุง', 'พิจิตร', 'พิษณุโลก', 'ภูเก็ต', - 'มหาสารคาม', 'มุกดาหาร', 'ยะลา', 'ยโสธร', 'ระนอง', 'ระยอง', 'ราชบุรี', 'ร้อยเอ็ด', - 'ลพบุรี', 'ลำปาง', 'ลำพูน', 'ศรีสะเกษ', 'สกลนคร', 'สงขลา', 'สตูล', 'สมุทรปราการ', 'สมุทรสงคราม', - 'สมุทรสาคร', 'สระบุรี', 'สระแก้ว', 'สิงห์บุรี', 'สุพรรณบุรี', 'สุราษฎร์ธานี', 'สุรินทร์', 'สุโขทัย', - 'หนองคาย', 'หนองบัวลำภู', 'อำนาจเจริญ', 'อุดรธานี', 'อุตรดิตถ์', 'อุทัยธานี', 'อุบลราชธานี', 'อ่างทอง', - 'เชียงราย', 'เชียงใหม่', 'เพชรบุรี', 'เพชรบูรณ์', 'เลย', 'แพร่', 'แม่ฮ่องสอน', - ]; - - /** - * @var array Country names in Thai - * - * @see https://th.wikipedia.org/wiki/%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8_%E0%B8%94%E0%B8%B4%E0%B8%99%E0%B9%81%E0%B8%94%E0%B8%99_%E0%B9%81%E0%B8%A5%E0%B8%B0%E0%B9%80%E0%B8%A1%E0%B8%B7%E0%B8%AD%E0%B8%87%E0%B8%AB%E0%B8%A5%E0%B8%A7%E0%B8%87 - */ - protected static $country = [ - 'กรีซ', 'กัมพูชา', 'กัวเตมาลา', 'กาตาร์', 'คอซอวอ', 'คาซัคสถาน', 'คิริบาส', 'คิวบา', 'คีร์กีซสถาน', 'คูเวต', - 'จอร์เจีย', 'จอร์แดน', 'จาเมกา', 'จีน', 'ชิลี', 'ซานมารีโน', 'ซามัว', 'ซาอุดีอาระเบีย', 'ซีเรีย', 'ซูรินาม', - 'ญี่ปุ่น', 'ดอมินีกา', 'ตรินิแดดและโตเบโก', 'ตองกา', 'ติมอร์-เลสเต', 'ตุรกี', 'ตูวาลู', 'ทาจิกิสถาน', - 'นครรัฐวาติกัน', 'นอร์เวย์', 'นาอูรู', 'นิการากัว', 'นิวซีแลนด์', 'บราซิล', 'บรูไนดารุสซาลาม', 'บอสเนียและเฮอร์เซโกวีนา', - 'บังกลาเทศ', 'บัลแกเรีย', 'บาร์เบโดส', 'บาห์เรน', 'บาฮามาส', 'ปากีสถาน', 'ปานามา', 'ปาปัวนิวกินี', 'ปารากวัย', 'ปาเลา', - 'ฝรั่งเศส', 'พม่า', 'ฟิจิ', 'ฟินแลนด์', 'ฟิลิปปินส์', 'ภูฏาน', 'มองโกเลีย', 'มอนเตเนโกร', 'มอลตา', 'มอลโดวา', 'มัลดีฟส์', 'มาเลเซีย', - 'ยูเครน', 'รัสเซีย', 'ลักเซมเบิร์ก', 'ลัตเวีย', 'ลาว', 'ลิกเตนสไตน์', 'ลิทัวเนีย', 'ศรีลังกา', - 'สวิตเซอร์แลนด์', 'สวีเดน', 'สหรัฐอาหรับเอมิเรตส์', 'สหรัฐอเมริกา', 'สหราชอาณาจักร', 'สาธารณรัฐมาซิโดเนีย', 'สาธารณรัฐเช็ก', 'สาธารณรัฐโดมินิกัน', - 'สิงคโปร์', 'สเปน', 'สโลวาเกีย', 'สโลวีเนีย', 'หมู่เกาะมาร์แชลล์', 'หมู่เกาะโซโลมอน', - 'ออสเตรีย', 'ออสเตรเลีย', 'อันดอร์รา', 'อัฟกานิสถาน', 'อาร์มีเนีย', 'อาร์เจนตินา', 'อาเซอร์ไบจาน', - 'อิตาลี', 'อินเดีย', 'อินโดนีเซีย', 'อิรัก', 'อิสราเอล', 'อิหร่าน', 'อุซเบกิสถาน', 'อุรุกวัย', 'ฮอนดูรัส', 'ฮังการี', - 'เกรเนดา', 'เกาหลีเหนือ', 'เกาหลีใต้', 'เซนต์คิตส์และเนวิส', 'เซนต์ลูเซีย', 'เซนต์วินเซนต์และเกรนาดีนส์', 'เซอร์เบีย', - 'เดนมาร์ก', 'เติร์กเมนิสถาน', 'เนปาล', 'เนเธอร์แลนด์', 'เบลารุส', 'เบลีซ', 'เบลเยียม', 'เปรู', 'เม็กซิโก', - 'เยอรมนี', 'เยเมน', 'เลบานอน', 'เวียดนาม', 'เวเนซุเอลา', 'เอกวาดอร์', 'เอลซัลวาดอร์', 'เอสโตเนีย', 'เฮติ', 'แคนาดา', - 'แอนติกาและบาร์บูดา', 'แอลเบเนีย', 'โครเอเชีย', 'โคลอมเบีย', 'โบลิเวีย', 'โปรตุเกส', 'โปแลนด์', 'โมนาโก', 'โรมาเนีย', - 'โอมาน', 'ไซปรัส', 'ไทย', 'ไมโครนีเซีย', 'ไอซ์แลนด์', 'ไอร์แลนด์', - ]; - - protected static $cityFormats = [ - '{{cityPrefix}} {{firstName}}{{citySuffix}}', - '{{cityPrefix}} {{firstName}}', - '{{firstName}}{{citySuffix}}', - '{{lastName}}{{citySuffix}}', - ]; - - protected static $streetNameFormats = [ - '{{streetPrefix}} {{streetSuffix}}', - ]; - - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - ]; - - protected static $addressFormats = [ - "{{streetAddress}}\n{{city}}, {{postcode}}", - ]; - - /** - * @example 'เมือง' - */ - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } - - /** - * @example 'ถนน' - */ - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } - - /** - * @example 'กรุงเทพมหานคร' - */ - public static function province() - { - return static::randomElement(static::$province); - } +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ + 'เมือง', + 'หมู่บ้าน', + 'ท่า', + ]; + + protected static $citySuffix = [ + 'เหนือ', + 'ใต้', + 'บุรี', + ]; + + protected static $buildingNumber = [ + '#####', + '####', + '###', + '##', + '##/###', + ]; + + protected static $streetPrefix = [ + 'ซอย', + 'ถนน', + 'สะพาน', + 'วงเวียน', + 'แยก', + ]; + + protected static $streetSuffix = [ + 'กรุงเกษม', + 'กรุงเทพกรีฑา', + 'กรุงเทพ-นนทบุรี', + 'กรุงธนบุรี', + 'กรุงแมน', + 'กล้วยน้ำไทตัดใหม่', + 'กลันตัน', + 'กะออม', + 'กระออม', + 'กัลปพฤกษ์', + 'กัลยาณไมตรี', + 'กาญจนาภิเษก', + 'กำนันแม้น', + 'กำแพงเพชร', + 'กำแพงเพชร 1', + 'กำแพงเพชร 2', + 'กำแพงเพชร 3', + 'กำแพงเพชร 4', + 'กำแพงเพชร 5', + 'กำแพงเพชร 6', + 'กำแพงเพชร 7', + 'กิ่งแก้ว', + 'กิจพานิช', + 'เกษมราษฎร์', + 'แก้ว', + 'แก้วเงินทอง', + 'โกสุมรวมใจ', + 'ไกรสีห์', + 'ขวัญ', + 'ขาว', + 'ข้าวสาร', + 'ข้าวหลาม', + 'ขุมทอง-ลำต้อยติ่ง', + 'เขียวไข่กา', + 'ครุใน', + 'คลองเก้า', + 'คลองถมวัดพิเรนทร์', + 'คลองถมวัดสระเกศ', + 'คลองถมวัดโสมนัส', + 'คลองลำเจียก', + 'คลองลำปัก', + 'คลองสิบ-คลองสิบสี่', + 'คอนแวนต์', + 'คุ้มเกล้า', + 'คู้บอน', + 'คู้-คลองสิบ', + 'เคหะร่มเกล้า', + 'งามวงศ์วาน', + 'จตุโชติ', + 'จรัญสนิทวงศ์', + 'จรัสเมือง', + 'จรัสเวียง', + 'จรูญเวียง', + 'จอมทอง', + 'จอมทองบูรณะ', + 'จักรพงษ์', + 'จักรพรรดิพงษ์', + 'จักรเพชร', + 'จักรวรรดิ', + 'จันทน์', + 'จันทน์เก่า', + 'จันทรุเบกษา', + 'จารุเมือง', + 'จึงเจริญพาณิชย์', + 'เจริญกรุง', + 'เจริญนคร', + 'เจริญพัฒนา', + 'เจริญเมือง', + 'เจริญรัถ', + 'เจริญราษฎร์', + 'เจริญเวียง', + 'เจ้าคำรพ', + 'เจ้าคำรบ', + 'เจ้าคุณทหาร', + 'เจ้าพระยาสยาม', + 'เจ้าฟ้า', + 'แจ้งวัฒนะ', + 'ฉลองกรุง', + 'ฉิมพลี', + 'เฉลิมเขต 1', + 'เฉลิมเขต 2', + 'เฉลิมเขต 3', + 'เฉลิมเขต 4', + 'เฉลิมพงษ์', + 'เฉลิมพระเกียรติ ร.9', + 'แฉล้มนิมิตร', + 'ชักพระ', + 'ชัยพฤกษ์', + 'ช่างอากาศอุทิศ', + 'ชิดลม', + 'เชตุพน', + 'เชิดวุฒากาศ', + 'เชียงใหม่', + 'เชื้อเพลิง', + 'เชื่อมคลองมอญ', + 'เชื่อมสัมพันธ์', + 'โชคชัย 4', + 'ณ ระนอง', + 'ดวงพิทักษ์', + 'ดาวข่าง', + 'ดำรงรักษ์', + 'ดินแดง', + 'ดินแดง 1', + 'ดินสอ', + 'ดิสมาร์ค', + 'เดชะตุงคะ', + 'เดโช', + 'ตรีเพชร', + 'ตรีมิตร', + 'ตะนาว', + 'ตานี', + 'ตีทอง', + 'เตชะวณิช', + 'ทรงวาด', + 'ทรงสวัสดิ์', + 'ทรงเสริม', + 'ทรัพย์', + 'ทรัพย์สิน', + 'ทวีวัฒนา', + 'ทวีวัฒนา-กาญจนาภิเษก', + 'ทหาร', + 'ทหารอากาศอุทิศ', + 'ทับยาว', + 'ท่าเกษม', + 'ท่าข้าม', + 'ทางรถไฟสายเก่าปากน้ำ', + 'ท่าดินแดง', + 'ท้ายวัง', + 'ทุ่งมังกร', + 'เทศบาลนฤมาณ', + 'เทศบาลนิมิตใต้', + 'เทศบาลนิมิตเหนือ', + 'เทศบาลรังรักษ์ใต้', + 'เทศบาลรังรักษ์เหนือ', + 'เทศบาลรังสรรใต้', + 'เทศบาลรังสรรเหนือ', + 'เทศบาลรังสฤษดิ์ใต้', + 'เทศบาลรังสฤษดิ์เหนือ', + 'เทศบาลสงเคราะห์', + 'เทอดดำริ', + 'เทอดไท', + 'เทิดราชัน', + 'เทียมร่วมมิตร', + 'ไทยรามัญ', + 'ธนิยะ', + 'นครไชยศรี', + 'นครปฐม', + 'นครราชสีมา', + 'นครลุง', + 'นครสวรรค์', + 'นนทรี', + 'นราธิวาสราชนครินทร์', + 'นเรศ', + 'นวมินทร์', + 'นวลจันทร์', + 'นักกีฬาแหลมทอง', + 'นาคนิวาส', + 'นาคราช', + 'นางลิ้นจี่', + 'นาวงประชาพัฒนา', + 'นิคมมักกะสัน', + 'นิมิตใหม่', + 'นิลเหมนิยม', + 'นี้จงสวัสดิ์', + 'บรมราชชนนี', + 'บรรทัดทอง', + 'บริพัตร', + 'บวรนิเวศน์', + 'บางกระดี่', + 'บางขุนเทียน', + 'บางขุนเทียน-ชายทะเล', + 'บางขุนนนท์', + 'บางแค', + 'บางเชือกหนัง', + 'บางนา-ตราด', + 'บางบอน 1', + 'บางบอน 2', + 'บางบอน 3', + 'บางบอน 4', + 'บางบอน 5', + 'บางบอนสายเดิม', + 'บางไผ่', + 'บางพรม', + 'บางระมาด', + 'บางแวก', + 'บ้านหม้อ', + 'บำรุงเมือง', + 'บึงขวาง', + 'บุญศิริ', + 'บุรีภิรมย์', + 'บูรณศาสตร์', + 'บูรพา', + 'แบนชะโด', + 'แบรสต์', + 'ประชาชื่น', + 'ประชาทร', + 'ประชาธิปก', + 'ประชาธิปไตย', + 'ประชาพัฒนา', + 'ประชาร่วมใจ', + 'ประชาราษฎร์ สาย 1', + 'ประชาราษฎร์ สาย 2', + 'ประชาราษฎร์บำเพ็ญ', + 'ประชาสงเคราะห์', + 'ประชาสำราญ', + 'ประชาสุข', + 'ประชาอุทิศ', + 'ประดิพัทธิ์', + 'ประดิษฐ์มนูธรรม', + 'ประมวญ', + 'ประเสริฐมนูกิจ', + 'ปรินายก', + 'ปั้น', + 'ปากน้ำกระโจมทอง', + 'ปากน้ำฝั่งเหนือ', + 'แปลงนาม', + 'ผดุงด้าว', + 'ผดุงพันธ์', + 'พญาไท', + 'พญาไม้', + 'พรหมราษฎร์', + 'พระจันทร์', + 'พระพิทักษ์', + 'พระพิพิธ', + 'พระยาสุเรนทร์', + 'พระราม 1', + 'พระราม 2', + 'พระราม 3', + 'พระราม 4', + 'พระราม 5', + 'พระราม 6', + 'พระราม 9', + 'พระสุเมรุ', + 'พระอาทิตย์', + 'พรานนก', + 'พลับพลาไชย', + 'พ่วงศิริ', + 'พหลโยธิน', + 'พะเนียง', + 'พัฒน์พงศ์', + 'พัฒนา', + 'พัฒนาการ', + 'พัฒนาชนบท', + 'พัฒนาชนบท 2', + 'พัฒนาชนบท 3', + 'พัฒนาชนบท 4', + 'พาณิชยการธนบุรี', + 'พาดสาย', + 'พาหุรัด', + 'พิชัย', + 'พิบูลสงคราม', + 'พิษณุโลก', + 'พีรพงษ์', + 'พุทธบูชา', + 'พุทธมณฑล สาย 1', + 'พุทธมณฑล สาย 2', + 'พุทธมณฑล สาย 3', + 'เพชรเกษม', + 'เพชรบุรี', + 'เพชรพระราม', + 'เพชรอุทัย', + 'เพลินจิต', + 'เพาะพานิชย์', + 'เพิ่มสิน', + 'แพร่งนรา', + 'แพร่งภูธร', + 'แพร่งสรรพศาสตร์', + 'โพธิ์แก้ว', + 'เฟื่องนคร', + 'ภาณุรังษี', + 'ภุชงค์', + 'โภคี', + 'มหรรณพ', + 'มหาจักร', + 'มหาไชย', + 'มหานคร', + 'มหาพฤฒาราม', + 'มหาราช', + 'มหาเศรษฐ์', + 'มเหสักข์', + 'มไหสวรรย์', + 'มอเตอร์เวย์', + 'มังกร', + 'มาเจริญ', + 'มิตรพันธ์', + 'มิตรภาพไทย-จีน', + 'มิตรไมตรี', + 'มิตรไมตรี 1', + 'มิตรไมตรี 2', + 'มิตรไมตรี 3', + 'มีนพัฒนา', + 'แมนไท', + 'ไมตรีจิต', + 'ยมราชสุขุม', + 'ยังพัธนา', + 'ยานนาวา', + 'ยี่สิบสองกรกฎาคม 1', + 'ยี่สิบสองกรกฎาคม 2', + 'ยี่สิบสองกรกฎาคม 3', + 'ยี่สิบสองกรกฎาคม 4', + 'ยี่สิบสองกรกฎาคม 5', + 'ยุคล 1', + 'ยุคล 2', + 'เย็นจิต', + 'เย็นอากาศ', + 'เยาวพานิชย์', + 'เยาวราช', + 'แยกสวนสยาม', + 'โยธา', + 'โยธา 1', + 'โยธินพัฒนา', + 'โยธี', + 'ร่มเกล้า', + 'ร่วมจิตต์', + 'ร่วมพัฒนา', + 'รองเมือง', + 'ระนอง 1', + 'ระนอง 2', + 'รัชดาภิเษก', + 'รัชดา-รามอินทรา', + 'รัชมงคลประสาธน์', + 'รางน้ำ', + 'ราชดำเนินกลาง', + 'ราชดำเนินนอก', + 'ราชดำเนินใน', + 'ราชดำริ', + 'ราชบพิธ', + 'ราชปรารภ', + 'ราชพฤกษ์', + 'ราชมนตรี', + 'ราชวงศ์', + 'ราชวิถี', + 'ราชินี', + 'รามคำแหง', + 'รามคำแหง 2', + 'รามบุตรี', + 'รามอินทรา', + 'ราษฎร์นิมิตร', + 'ราษฎร์บูรณะ', + 'ราษฎร์พัฒนา', + 'ราษฎร์ร่วมใจ', + 'ราษฎร์รัฐพัฒนา', + 'ราษฎร์อุทิศ', + 'ริมคลองประปาฝั่งขวา', + 'ริมคลองประปาฝั่งซ้าย', + 'รุ่งประชา', + 'ลงท่า', + 'ลาซาล', + 'ลาซาล-แบริ่ง', + 'ลาดกระบัง', + 'ลาดปลาเค้า', + 'ลาดพร้าว', + 'ลาดพร้าววังหิน', + 'ลาดหญ้า', + 'ลำไทร', + 'ลำพูนไชย', + 'ลำมะเขือขื่น', + 'ลิขิต', + 'ลูกหลวง', + 'เลียบคลองเนินทราย', + 'เลียบคลองบางพรม', + 'เลียบคลองปทุม', + 'เลียบคลองผดุงกรุงเกษม', + 'เลียบคลองพิทยาลงกรณ์', + 'เลียบคลองภาษีเจริญฝั่งใต้', + 'เลียบคลองภาษีเจริญฝั่งเหนือ', + 'เลียบคลองมอญ', + 'เลียบคลองลำกอไผ่', + 'เลียบคลองสอง', + 'เลียบคลองสิบสามฝั่งตะวันตก', + 'เลียบคลองสิบสามฝั่งตะวันออก', + 'เลียบทะเลสาบ', + 'เลียบวารี', + 'วงศ์สว่าง', + 'วรจักร', + 'วังเจ้าสาย', + 'วังเดิม', + 'วังหลัง', + 'วัชรพล', + 'วัฒนธรรม', + 'วัดเวฬุวนาราม', + 'วัดสุขใจ', + 'วัดใหม่เจริญราษฎร์', + 'วิทยุ', + 'วิบูลย์สาธุกิจ', + 'วิบูลย์สาธุกิจ', + 'วิวัฒน์เวียง', + 'วิสุทธิกษัตริย์', + 'วุฒากาศ', + 'ศรีธรรมาธิราช', + 'ศรีนครินทร์', + 'ศรีบูรพา', + 'ศรีวรา', + 'ศรีเวียง', + 'ศรีอยุธยา', + 'ศาลาแดง', + 'ศาลาธรรมสพน์', + 'ศิริเกษม', + 'ศิริพงษ์', + 'ศุภมิตร', + 'เศรษฐศิริ', + 'เศรษฐศิริ 2', + 'สกุลดี', + 'สตรีวิทยา 2', + 'สนามไชย', + 'สมเด็จเจ้าพระยา', + 'สมเด็จพระเจ้าตากสิน', + 'สมเด็จพระปิ่นเกล้า', + 'สรงประภา', + 'สรณคมน์', + 'สรรพาวุธ', + 'สราญรมย์', + 'สวนผัก', + 'สวนพลู', + 'สวนสยาม', + 'สวนอ้อยซอยกลาง', + 'สวรรคโลก', + 'สวัสดิการ 1', + 'สวัสดิการ 2', + 'สวัสดิการ 3', + 'สว่าง', + 'สะแกงาม', + 'สะพานพุทธ', + 'สังคมสงเคราะห์', + 'สังคโลก', + 'สังฆประชา', + 'สังฆสันติสุข', + 'สันติภาพ', + 'สาทรใต้', + 'สาทรเหนือ', + 'สาธุประดิษฐ์', + 'สามวา', + 'สามเสน', + 'สายไหม', + 'สารสิน', + 'สารีบุตร', + 'สารีบุตร-ทับยาว', + 'สาลีรัฐวิภาค', + 'สิบสามห้าง', + 'สิรินธร', + 'สี่พระยา', + 'สีลม', + 'สีหบุรานุกิจ', + 'สุขสวัสดิ์', + 'สุขาภิบาล 2', + 'สุขาภิบาล 5', + 'สุขาภิบาลบางระมาด', + 'สุขุมวิท', + 'สุโขทัย', + 'สุคนธสวัสดิ์', + 'สุคันธาราม', + 'สุดประเสริฐ', + 'สุทธาวาส', + 'สุทธิสารวินิจฉัย', + 'สุนทรโกษา', + 'สุพรรณ', + 'สุรวงศ์', + 'สุรศักดิ์', + 'สุวินทวงศ์', + 'สุเหร่าคลองหนึ่ง', + 'เสนานิคม 1', + 'เสรีไทย', + 'เสือป่า', + 'แสนเกษม', + 'แสมดำ', + 'หทัยมิตร', + 'หทัยราษฎร์', + 'หนองแขม-วัดศรีนวล', + 'หนองระแหง', + 'หน้าพระธาตุ', + 'หน้าพระลาน', + 'หน้าหับเผย', + 'หม่อมเจ้าสง่างาม สุประดิษฐ์', + 'หมู่บ้านเศรษฐกิจ', + 'หลวง', + 'หลวงพรตพิทยพยัต', + 'หลวงแพ่ง', + 'หลักเมือง', + 'หลังสวน', + 'หลานหลวง', + 'หอวัง', + 'หัวหมาก', + 'อนันตนาค', + 'อนามัยงามเจริญ', + 'อนุวงศ์', + 'อยู่เย็น', + 'อยู่วิทยา', + 'อรุณอมรินทร์', + 'อโศก-ดินแดง', + 'อโศกมนตรี', + 'อ่อนนุช', + 'อังรีดูนังต์', + 'อัศวพิเชษฐ์', + 'อัษฎางค์', + 'อัสสัมชัญ', + 'อาจณรงค์', + 'อำนวยสงคราม', + 'อินทรพิทักษ์', + 'อินทราวาส', + 'อิสรภาพ', + 'อุณากรรณ', + 'อุดมสุข', + 'อุทยาน', + 'อู่ทองนอก', + 'อู่ทองใน', + 'เอกชัย', + '60 พรรษามหาราชินี', + ]; + + protected static $postcode = [ '#####' ]; + + /** + * @var array Thai province names + * + * @see https://th.wikipedia.org/wiki/%E0%B8%88%E0%B8%B1%E0%B8%87%E0%B8%AB%E0%B8%A7%E0%B8%B1%E0%B8%94%E0%B9%83%E0%B8%99%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8%E0%B9%84%E0%B8%97%E0%B8%A2 + */ + protected static $province = [ + 'กระบี่', + 'กรุงเทพมหานคร', + 'กาญจนบุรี', + 'กาฬสินธุ์', + 'กำแพงเพชร', + 'ขอนแก่น', + 'จันทบุรี', + 'ฉะเชิงเทรา', + 'ชลบุรี', + 'ชัยนาท', + 'ชัยภูมิ', + 'ชุมพร', + 'ตรัง', + 'ตราด', + 'ตาก', + 'นครนายก', + 'นครปฐม', + 'นครพนม', + 'นครราชสีมา', + 'นครศรีธรรมราช', + 'นครสวรรค์', + 'นนทบุรี', + 'นราธิวาส', + 'น่าน', + 'บึงกาฬ', + 'บุรีรัมย์', + 'ปทุมธานี', + 'ประจวบคีรีขันธ์', + 'ปราจีนบุรี', + 'ปัตตานี', + 'พระนครศรีอยุธยา', + 'พะเยา', + 'พังงา', + 'พัทลุง', + 'พิจิตร', + 'พิษณุโลก', + 'ภูเก็ต', + 'มหาสารคาม', + 'มุกดาหาร', + 'ยะลา', + 'ยโสธร', + 'ระนอง', + 'ระยอง', + 'ราชบุรี', + 'ร้อยเอ็ด', + 'ลพบุรี', + 'ลำปาง', + 'ลำพูน', + 'ศรีสะเกษ', + 'สกลนคร', + 'สงขลา', + 'สตูล', + 'สมุทรปราการ', + 'สมุทรสงคราม', + 'สมุทรสาคร', + 'สระบุรี', + 'สระแก้ว', + 'สิงห์บุรี', + 'สุพรรณบุรี', + 'สุราษฎร์ธานี', + 'สุรินทร์', + 'สุโขทัย', + 'หนองคาย', + 'หนองบัวลำภู', + 'อำนาจเจริญ', + 'อุดรธานี', + 'อุตรดิตถ์', + 'อุทัยธานี', + 'อุบลราชธานี', + 'อ่างทอง', + 'เชียงราย', + 'เชียงใหม่', + 'เพชรบุรี', + 'เพชรบูรณ์', + 'เลย', + 'แพร่', + 'แม่ฮ่องสอน', + ]; + + /** + * @var array Country names in Thai + * + * @see https://th.wikipedia.org/wiki/%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8_%E0%B8%94%E0%B8%B4%E0%B8%99%E0%B9%81%E0%B8%94%E0%B8%99_%E0%B9%81%E0%B8%A5%E0%B8%B0%E0%B9%80%E0%B8%A1%E0%B8%B7%E0%B8%AD%E0%B8%87%E0%B8%AB%E0%B8%A5%E0%B8%A7%E0%B8%87 + */ + protected static $country = [ + 'กรีซ', + 'กัมพูชา', + 'กัวเตมาลา', + 'กาตาร์', + 'คอซอวอ', + 'คาซัคสถาน', + 'คิริบาส', + 'คิวบา', + 'คีร์กีซสถาน', + 'คูเวต', + 'จอร์เจีย', + 'จอร์แดน', + 'จาเมกา', + 'จีน', + 'ชิลี', + 'ซานมารีโน', + 'ซามัว', + 'ซาอุดีอาระเบีย', + 'ซีเรีย', + 'ซูรินาม', + 'ญี่ปุ่น', + 'ดอมินีกา', + 'ตรินิแดดและโตเบโก', + 'ตองกา', + 'ติมอร์-เลสเต', + 'ตุรกี', + 'ตูวาลู', + 'ทาจิกิสถาน', + 'นครรัฐวาติกัน', + 'นอร์เวย์', + 'นาอูรู', + 'นิการากัว', + 'นิวซีแลนด์', + 'บราซิล', + 'บรูไนดารุสซาลาม', + 'บอสเนียและเฮอร์เซโกวีนา', + 'บังกลาเทศ', + 'บัลแกเรีย', + 'บาร์เบโดส', + 'บาห์เรน', + 'บาฮามาส', + 'ปากีสถาน', + 'ปานามา', + 'ปาปัวนิวกินี', + 'ปารากวัย', + 'ปาเลา', + 'ฝรั่งเศส', + 'พม่า', + 'ฟิจิ', + 'ฟินแลนด์', + 'ฟิลิปปินส์', + 'ภูฏาน', + 'มองโกเลีย', + 'มอนเตเนโกร', + 'มอลตา', + 'มอลโดวา', + 'มัลดีฟส์', + 'มาเลเซีย', + 'ยูเครน', + 'รัสเซีย', + 'ลักเซมเบิร์ก', + 'ลัตเวีย', + 'ลาว', + 'ลิกเตนสไตน์', + 'ลิทัวเนีย', + 'ศรีลังกา', + 'สวิตเซอร์แลนด์', + 'สวีเดน', + 'สหรัฐอาหรับเอมิเรตส์', + 'สหรัฐอเมริกา', + 'สหราชอาณาจักร', + 'สาธารณรัฐมาซิโดเนีย', + 'สาธารณรัฐเช็ก', + 'สาธารณรัฐโดมินิกัน', + 'สิงคโปร์', + 'สเปน', + 'สโลวาเกีย', + 'สโลวีเนีย', + 'หมู่เกาะมาร์แชลล์', + 'หมู่เกาะโซโลมอน', + 'ออสเตรีย', + 'ออสเตรเลีย', + 'อันดอร์รา', + 'อัฟกานิสถาน', + 'อาร์มีเนีย', + 'อาร์เจนตินา', + 'อาเซอร์ไบจาน', + 'อิตาลี', + 'อินเดีย', + 'อินโดนีเซีย', + 'อิรัก', + 'อิสราเอล', + 'อิหร่าน', + 'อุซเบกิสถาน', + 'อุรุกวัย', + 'ฮอนดูรัส', + 'ฮังการี', + 'เกรเนดา', + 'เกาหลีเหนือ', + 'เกาหลีใต้', + 'เซนต์คิตส์และเนวิส', + 'เซนต์ลูเซีย', + 'เซนต์วินเซนต์และเกรนาดีนส์', + 'เซอร์เบีย', + 'เดนมาร์ก', + 'เติร์กเมนิสถาน', + 'เนปาล', + 'เนเธอร์แลนด์', + 'เบลารุส', + 'เบลีซ', + 'เบลเยียม', + 'เปรู', + 'เม็กซิโก', + 'เยอรมนี', + 'เยเมน', + 'เลบานอน', + 'เวียดนาม', + 'เวเนซุเอลา', + 'เอกวาดอร์', + 'เอลซัลวาดอร์', + 'เอสโตเนีย', + 'เฮติ', + 'แคนาดา', + 'แอนติกาและบาร์บูดา', + 'แอลเบเนีย', + 'โครเอเชีย', + 'โคลอมเบีย', + 'โบลิเวีย', + 'โปรตุเกส', + 'โปแลนด์', + 'โมนาโก', + 'โรมาเนีย', + 'โอมาน', + 'ไซปรัส', + 'ไทย', + 'ไมโครนีเซีย', + 'ไอซ์แลนด์', + 'ไอร์แลนด์', + ]; + + protected static $cityFormats = [ + '{{cityPrefix}} {{firstName}}{{citySuffix}}', + '{{cityPrefix}} {{firstName}}', + '{{firstName}}{{citySuffix}}', + '{{lastName}}{{citySuffix}}', + ]; + + protected static $streetNameFormats = [ + '{{streetPrefix}} {{streetSuffix}}', + ]; + + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + ]; + + protected static $addressFormats = [ + "{{streetAddress}}\n{{city}}, {{postcode}}", + ]; + + /** + * @example 'เมือง' + */ + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } + + /** + * @example 'ถนน' + */ + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } + + /** + * @example 'กรุงเทพมหานคร' + */ + public static function province() { + return static::randomElement( static::$province ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Color.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Color.php index 21ea7a9..894ee2b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Color.php @@ -2,15 +2,42 @@ namespace Faker\Provider\th_TH; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'ขาว', 'ชมพู', 'ดำ', 'น้ำตาล', 'น้ำเงิน', 'ฟ้า', 'ม่วง', 'ส้ม', 'เขียว', 'เขียวอ่อน', 'เหลือง', 'แดง', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'ขาว', + 'ชมพู', + 'ดำ', + 'น้ำตาล', + 'น้ำเงิน', + 'ฟ้า', + 'ม่วง', + 'ส้ม', + 'เขียว', + 'เขียวอ่อน', + 'เหลือง', + 'แดง', + ]; - protected static $allColorNames = [ - 'กากี', 'ขาว', 'คราม', 'ชมพู', 'ดำ', 'ทอง', 'นาค', 'น้ำตาล', - 'น้ำเงิน', 'ฟ้า', 'ม่วง', 'ส้ม', 'เขียว', 'เขียวอ่อน', - 'เงิน', 'เทา', 'เหลือง', 'เหลืองอ่อน', 'แดง', '่ขี้ม้า', - ]; + protected static $allColorNames = [ + 'กากี', + 'ขาว', + 'คราม', + 'ชมพู', + 'ดำ', + 'ทอง', + 'นาค', + 'น้ำตาล', + 'น้ำเงิน', + 'ฟ้า', + 'ม่วง', + 'ส้ม', + 'เขียว', + 'เขียวอ่อน', + 'เงิน', + 'เทา', + 'เหลือง', + 'เหลืองอ่อน', + 'แดง', + '่ขี้ม้า', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Company.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Company.php index dfc6e50..06af789 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Company.php @@ -2,31 +2,62 @@ namespace Faker\Provider\th_TH; -class Company extends \Faker\Provider\Company -{ - protected static $slogans = [ - [ - 'เชื่อมต่อ', 'สรรสร้าง', 'เชื่อมโยง', 'ส่งเสริม', 'เปลี่ยน', 'ประสาน', 'พัฒนา', - ], - [ - 'ตลาด', 'อุตสาหกรรม', 'โครงสร้าง', 'เทคโนโลยี', 'เนื้อหา', 'สถาปัตยกรรม', 'ระบบ', 'ความคิด', 'ผู้ใช้', 'เครือข่าย', 'ประสบการณ์', - ], - [ - 'ที่แข็งแกร่ง', 'ที่มีคุณค่า', 'ที่สร้างสรรค์', '24 ชั่วโมง', 'อย่างสากล', 'สู่ผู้บริโภค', 'ที่น่าดึงดูด', 'อย่างมีประสิทธิภาพ', 'อย่างไร้รอยต่อ', 'อย่างไร้ที่ติ', 'ที่ปรับตัวได้', 'คุณภาพสากล', 'พร้อมใช้งาน', 'ที่มีความหมาย', 'ที่โปร่งใส', 'เพื่อการเปลี่ยนแปลง', 'สมัยใหม่', 'รูปแบบใหม่', - ], - ]; +class Company extends \Faker\Provider\Company { + protected static $slogans = [ + [ + 'เชื่อมต่อ', + 'สรรสร้าง', + 'เชื่อมโยง', + 'ส่งเสริม', + 'เปลี่ยน', + 'ประสาน', + 'พัฒนา', + ], + [ + 'ตลาด', + 'อุตสาหกรรม', + 'โครงสร้าง', + 'เทคโนโลยี', + 'เนื้อหา', + 'สถาปัตยกรรม', + 'ระบบ', + 'ความคิด', + 'ผู้ใช้', + 'เครือข่าย', + 'ประสบการณ์', + ], + [ + 'ที่แข็งแกร่ง', + 'ที่มีคุณค่า', + 'ที่สร้างสรรค์', + '24 ชั่วโมง', + 'อย่างสากล', + 'สู่ผู้บริโภค', + 'ที่น่าดึงดูด', + 'อย่างมีประสิทธิภาพ', + 'อย่างไร้รอยต่อ', + 'อย่างไร้ที่ติ', + 'ที่ปรับตัวได้', + 'คุณภาพสากล', + 'พร้อมใช้งาน', + 'ที่มีความหมาย', + 'ที่โปร่งใส', + 'เพื่อการเปลี่ยนแปลง', + 'สมัยใหม่', + 'รูปแบบใหม่', + ], + ]; - /** - * @example 'เชื่อมต่อตลาดที่แข็งแกร่ง' - */ - public function slogan() - { - $result = []; + /** + * @example 'เชื่อมต่อตลาดที่แข็งแกร่ง' + */ + public function slogan() { + $result = []; - foreach (static::$slogans as &$slogan) { - $result[] = static::randomElement($slogan); - } + foreach ( static::$slogans as &$slogan ) { + $result[] = static::randomElement( $slogan ); + } - return implode('', $result); - } + return implode( '', $result ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Internet.php index 1885425..219e50e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Internet.php @@ -2,7 +2,6 @@ namespace Faker\Provider\th_TH; -class Internet extends \Faker\Provider\Internet -{ - protected static $tld = ['com', 'th', 'co.th', 'or.th', 'go.th', 'in.th', 'ac.th', 'mi.th', 'net.th']; +class Internet extends \Faker\Provider\Internet { + protected static $tld = [ 'com', 'th', 'co.th', 'or.th', 'go.th', 'in.th', 'ac.th', 'mi.th', 'net.th' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Payment.php index b8f5d37..6748043 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Payment.php @@ -2,43 +2,41 @@ namespace Faker\Provider\th_TH; -class Payment extends \Faker\Provider\Payment -{ - /** - * @var array Thai bank names - * - * @see https://th.wikipedia.org/wiki/%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%98%E0%B8%99%E0%B8%B2%E0%B8%84%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%99%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8%E0%B9%84%E0%B8%97%E0%B8%A2 - */ - protected static $banks = [ - 'ธนาคารแห่งประเทศไทย', - 'ธนาคารกรุงเทพ', - 'ธนาคารกรุงศรีอยุธยา', - 'ธนาคารกสิกรไทย', - 'ธนาคารเกียรตินาคิน', - 'ธนาคารซีไอเอ็มบีไทย', - 'ธนาคารทหารไทย', - 'ธนาคารทิสโก้', - 'ธนาคารไทยพาณิชย์', - 'ธนาคารไทยเครดิตเพื่อรายย่อย', - 'ธนาคารธนชาต', - 'ธนาคารยูโอบี', - 'ธนาคารแลนด์ แอนด์ เฮาส์', - 'ธนาคารสแตนดาร์ดชาร์เตอร์ด (ไทย)', - 'ธนาคารกรุงไทย', - 'ธนาคารพัฒนาวิสาหกิจขนาดกลางและขนาดย่อมแห่งประเทศไทย', - 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', - 'ธนาคารเพื่อการส่งออกและนำเข้าแห่งประเทศไทย', - 'ธนาคารออมสิน', - 'ธนาคารอาคารสงเคราะห์', - 'ธนาคารอิสลามแห่งประเทศไทย', - 'ธนาคารไอซีบีซี (ไทย)', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @var array Thai bank names + * + * @see https://th.wikipedia.org/wiki/%E0%B8%A3%E0%B8%B2%E0%B8%A2%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%98%E0%B8%99%E0%B8%B2%E0%B8%84%E0%B8%B2%E0%B8%A3%E0%B9%83%E0%B8%99%E0%B8%9B%E0%B8%A3%E0%B8%B0%E0%B9%80%E0%B8%97%E0%B8%A8%E0%B9%84%E0%B8%97%E0%B8%A2 + */ + protected static $banks = [ + 'ธนาคารแห่งประเทศไทย', + 'ธนาคารกรุงเทพ', + 'ธนาคารกรุงศรีอยุธยา', + 'ธนาคารกสิกรไทย', + 'ธนาคารเกียรตินาคิน', + 'ธนาคารซีไอเอ็มบีไทย', + 'ธนาคารทหารไทย', + 'ธนาคารทิสโก้', + 'ธนาคารไทยพาณิชย์', + 'ธนาคารไทยเครดิตเพื่อรายย่อย', + 'ธนาคารธนชาต', + 'ธนาคารยูโอบี', + 'ธนาคารแลนด์ แอนด์ เฮาส์', + 'ธนาคารสแตนดาร์ดชาร์เตอร์ด (ไทย)', + 'ธนาคารกรุงไทย', + 'ธนาคารพัฒนาวิสาหกิจขนาดกลางและขนาดย่อมแห่งประเทศไทย', + 'ธนาคารเพื่อการเกษตรและสหกรณ์การเกษตร', + 'ธนาคารเพื่อการส่งออกและนำเข้าแห่งประเทศไทย', + 'ธนาคารออมสิน', + 'ธนาคารอาคารสงเคราะห์', + 'ธนาคารอิสลามแห่งประเทศไทย', + 'ธนาคารไอซีบีซี (ไทย)', + ]; - /** - * @example 'ธนาคารกสิกรไทย' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'ธนาคารกสิกรไทย' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Person.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Person.php index 5c42627..b24cbe4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/Person.php @@ -4,84 +4,709 @@ use Faker\Provider\Miscellaneous; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}} {{suffix}}', - '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}} {{suffix}}', + '{{titleMale}} {{firstNameMale}} {{lastName}} {{suffix}}', + ]; - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}} {{suffix}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', - ]; + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}} {{suffix}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}} {{suffix}}', + ]; - protected static $firstNameMale = [ - 'กฤต', 'กฤติพงศ์', 'กฤติเดช', 'กฤษฎา', 'กฤษฎิ์', 'กฤษณะ', 'กฤษณ์', 'กันตพงศ์', 'กันตภณ', 'กำจร', 'กิตติ', 'กิตติภณ', 'กิตติศักดิ์', 'ก้องภพ', 'คมกฤช', 'คมสันต์', 'ครรชิต', 'ครองฤทธิ์', 'คำรณ', 'คึกฤทธิ์', 'จตุภัทร', 'จรัล', 'จรูญ', 'จอมเดช', 'จาตุรนต์', 'จารุกิตติ์', 'จารุวัฒน์', - 'จารุวิทย์', 'จารุเดช', 'จิตรายุธ', 'จิรพัฒน์', 'จิรายุ', 'จิรายุทธ', 'จิรเดช', 'จิรโชติ', 'จีรยุทธ', 'จุมพล', 'ฉันทพล', 'ฉันทพัฒน์', 'ชนกันต์', 'ชนะศึก', 'ชัชชัย', 'ชัชวาลย์', 'ชัยณรงค์', 'ชัยนันท์', 'ชัยมงคล', 'ชัยวุฒิ', 'ชัยโรจน์', 'ชาญชัย', 'ชาญรบ', 'ชาตพล', 'ชานนท์', 'ชิษณุพงศ์', 'ชุติเดช', 'ฐิติพงศ์', 'ฐิติภัทร', 'ณรงค์', - 'ณรงค์กร', 'ณรงค์ชัย', 'ณรงค์ฤทธิ์', 'ณัฏฐกิตติ์', 'ณัฏฐชัย', 'ณัฏฐพล', 'ณัฐกฤต', 'ณัฐชนน', 'ณัฐพงศ์', 'ณัฐภูมิ', 'ณัฐฤกษ์', 'ณัฐวิโรจน์', 'ดนัย', 'ดนุเดช', 'ดลฤทธิ์', 'ดุลยศักดิ์', 'ตรีภพ', 'ติณณภพ', 'ต้นกล้า', 'ทรงกฤต', 'ทรงภพ', - 'ทรงวุฒิ', 'ทวีเดช', 'ทัดภูมิ', 'ทิฐิพล', 'ทินภัทร', 'ทีปกร', 'ธงชัย', 'ธนกร', 'ธนกฤต', 'ธนชาติ', 'ธนชิต', 'ธนภัทร', 'ธนภูมิ', 'ธนศักดิ์', 'ธนัชชัย', 'ธนาธิป', 'ธนเดช', 'ธนโชติ', 'ธรรมศักดิ์', 'ธวัชชัย', 'ธัญวิทย์', 'ธานินทร์', 'ธารินทร์', - 'ธิติ', 'ธีธัช', 'ธีรนัย', 'ธีรพล', 'ธเนศ', 'นพณัฐ', 'นพเดช', 'นรวุฒิ', 'นรสิงห์', 'นราธิป', 'นฤชิต', 'นันทภพ', 'บรรพต', 'บรรยงค์', 'บวรชัย', 'บวรพจน์', 'บวรวิทย์', 'บัณฑิต', 'บันลือศักดิ์', 'บัลลพ', 'บุญฤทธิ์', 'บุญส่ง', 'บุญโชค', 'บุรินทร์', - 'ปกรณ์', 'ปฏิพล', 'ปณต', 'ประชา', 'ประพจน์', 'ประเสริฐ', 'ปรัชญา', 'ปัญจพล', 'ปานศักดิ์', 'ปิติ', 'ปิติพงศ์', 'ปิยวัฒน์', 'ป้องเกียรติ', 'ผดุงศักดิ์', 'ผดุงเดช', 'พงศ์กฤต', 'พงศ์พัทธ์', 'พงศ์เดช', 'พลภัทร', 'พลวัต', 'พันธ์พงษ์', - 'พันเดช', 'พัลลภ', 'พาทิศ', 'พิพัฒน์', 'พิริยะศักดิ์', 'พิสิษฐ์', 'พิเชษฐ', 'พีรพล', 'พีรพัฒน์', 'พีรเทพ', 'พุฒิพงศ์', 'ภควัต', 'ภัคพล', 'ภัทร', 'ภัทรกร', 'ภากร', 'ภาคิน', 'ภาณุพงศ์', 'ภาณุภัทร', 'ภานุวัฒน์', - 'ภูมิ', 'ภูมิพัฒน์', 'ภูริช', 'ภูวดล', 'ภูวเดช', 'ภูสิทธิ', 'มงคล', 'มงคลชัย', 'มนภาส', 'มนุญศักดิ์', 'มานะ', 'ยุทธการ', 'ราเชน', 'วรพจน์', 'วรพล', 'วรวุฒิ', 'วรุตม์', 'วรเทพ', 'วรเมธ', 'วัชรพล', 'วัลลภ', - 'วิกรม', 'วิชาญ', 'วิทวัส', 'วิบูลย์', 'วิวัฒน์ชัย', 'วิโรจน์', 'วีรพล', 'วีรยุทธ', 'วีรเดช', 'วุฒิชัย', 'วุฒิชาติ', 'วุฒิเดช', 'ศักดา', 'ศุภกิจ', 'ศุภณัฐ', 'สมชาย', 'สมศักดิ์', 'สิทธินนท์', 'สิทธิเดช', 'สุกฤษฎิ์', 'สุทธินันท์', - 'สุทธิพงษ์', 'สุบรรณ', 'สุเมธ', 'อดิรุจ', 'อดิเทพ', 'อดุลย์', 'อติชาติ', 'อนันตชัย', 'อนุชิต', 'อนุทิศ', 'อนุพนธ์', 'อนุภัทร', 'อนุรักข์', 'อภิคม', 'อภิชาติ', 'อรรคพล', 'อรรณพ', 'อรรณวุฒิ', 'อัคคเดช', 'อัครชัย', 'อาชวิน', 'อาณัติ', 'อานนท์', 'อานันท์', 'อารักษ์', 'อิทธิชัย', 'อิทธิพัทธ์', 'เกริกไกร', - 'เจตน์', 'เจตพล', 'เจนศักดิ์', 'เจษฎา', 'เจิมศักดิ์', 'เชิดชาย', 'เด่นภูมิ', 'เตชภณ', 'เตชินท์', 'เป็นต่อ', 'เผชิญชัย', 'เผด็จ', 'เผ่าเทพ', 'เมธัส', 'เรวัติ', 'เรืองโรจน์', 'เสกข์', 'เหมรัชต์', 'เอกภพ', 'แสงโชติ', 'โกมุท', 'โกเมน', 'โกเมศ', 'โฆษิต', 'โพธิวัฒน์', 'โยธิต', 'โอภาส', 'โอฬาร', 'ไกรยุทธ์', 'ไชยวัฒน์', 'ไตรภพ', 'ไพศาล', - ]; + protected static $firstNameMale = [ + 'กฤต', + 'กฤติพงศ์', + 'กฤติเดช', + 'กฤษฎา', + 'กฤษฎิ์', + 'กฤษณะ', + 'กฤษณ์', + 'กันตพงศ์', + 'กันตภณ', + 'กำจร', + 'กิตติ', + 'กิตติภณ', + 'กิตติศักดิ์', + 'ก้องภพ', + 'คมกฤช', + 'คมสันต์', + 'ครรชิต', + 'ครองฤทธิ์', + 'คำรณ', + 'คึกฤทธิ์', + 'จตุภัทร', + 'จรัล', + 'จรูญ', + 'จอมเดช', + 'จาตุรนต์', + 'จารุกิตติ์', + 'จารุวัฒน์', + 'จารุวิทย์', + 'จารุเดช', + 'จิตรายุธ', + 'จิรพัฒน์', + 'จิรายุ', + 'จิรายุทธ', + 'จิรเดช', + 'จิรโชติ', + 'จีรยุทธ', + 'จุมพล', + 'ฉันทพล', + 'ฉันทพัฒน์', + 'ชนกันต์', + 'ชนะศึก', + 'ชัชชัย', + 'ชัชวาลย์', + 'ชัยณรงค์', + 'ชัยนันท์', + 'ชัยมงคล', + 'ชัยวุฒิ', + 'ชัยโรจน์', + 'ชาญชัย', + 'ชาญรบ', + 'ชาตพล', + 'ชานนท์', + 'ชิษณุพงศ์', + 'ชุติเดช', + 'ฐิติพงศ์', + 'ฐิติภัทร', + 'ณรงค์', + 'ณรงค์กร', + 'ณรงค์ชัย', + 'ณรงค์ฤทธิ์', + 'ณัฏฐกิตติ์', + 'ณัฏฐชัย', + 'ณัฏฐพล', + 'ณัฐกฤต', + 'ณัฐชนน', + 'ณัฐพงศ์', + 'ณัฐภูมิ', + 'ณัฐฤกษ์', + 'ณัฐวิโรจน์', + 'ดนัย', + 'ดนุเดช', + 'ดลฤทธิ์', + 'ดุลยศักดิ์', + 'ตรีภพ', + 'ติณณภพ', + 'ต้นกล้า', + 'ทรงกฤต', + 'ทรงภพ', + 'ทรงวุฒิ', + 'ทวีเดช', + 'ทัดภูมิ', + 'ทิฐิพล', + 'ทินภัทร', + 'ทีปกร', + 'ธงชัย', + 'ธนกร', + 'ธนกฤต', + 'ธนชาติ', + 'ธนชิต', + 'ธนภัทร', + 'ธนภูมิ', + 'ธนศักดิ์', + 'ธนัชชัย', + 'ธนาธิป', + 'ธนเดช', + 'ธนโชติ', + 'ธรรมศักดิ์', + 'ธวัชชัย', + 'ธัญวิทย์', + 'ธานินทร์', + 'ธารินทร์', + 'ธิติ', + 'ธีธัช', + 'ธีรนัย', + 'ธีรพล', + 'ธเนศ', + 'นพณัฐ', + 'นพเดช', + 'นรวุฒิ', + 'นรสิงห์', + 'นราธิป', + 'นฤชิต', + 'นันทภพ', + 'บรรพต', + 'บรรยงค์', + 'บวรชัย', + 'บวรพจน์', + 'บวรวิทย์', + 'บัณฑิต', + 'บันลือศักดิ์', + 'บัลลพ', + 'บุญฤทธิ์', + 'บุญส่ง', + 'บุญโชค', + 'บุรินทร์', + 'ปกรณ์', + 'ปฏิพล', + 'ปณต', + 'ประชา', + 'ประพจน์', + 'ประเสริฐ', + 'ปรัชญา', + 'ปัญจพล', + 'ปานศักดิ์', + 'ปิติ', + 'ปิติพงศ์', + 'ปิยวัฒน์', + 'ป้องเกียรติ', + 'ผดุงศักดิ์', + 'ผดุงเดช', + 'พงศ์กฤต', + 'พงศ์พัทธ์', + 'พงศ์เดช', + 'พลภัทร', + 'พลวัต', + 'พันธ์พงษ์', + 'พันเดช', + 'พัลลภ', + 'พาทิศ', + 'พิพัฒน์', + 'พิริยะศักดิ์', + 'พิสิษฐ์', + 'พิเชษฐ', + 'พีรพล', + 'พีรพัฒน์', + 'พีรเทพ', + 'พุฒิพงศ์', + 'ภควัต', + 'ภัคพล', + 'ภัทร', + 'ภัทรกร', + 'ภากร', + 'ภาคิน', + 'ภาณุพงศ์', + 'ภาณุภัทร', + 'ภานุวัฒน์', + 'ภูมิ', + 'ภูมิพัฒน์', + 'ภูริช', + 'ภูวดล', + 'ภูวเดช', + 'ภูสิทธิ', + 'มงคล', + 'มงคลชัย', + 'มนภาส', + 'มนุญศักดิ์', + 'มานะ', + 'ยุทธการ', + 'ราเชน', + 'วรพจน์', + 'วรพล', + 'วรวุฒิ', + 'วรุตม์', + 'วรเทพ', + 'วรเมธ', + 'วัชรพล', + 'วัลลภ', + 'วิกรม', + 'วิชาญ', + 'วิทวัส', + 'วิบูลย์', + 'วิวัฒน์ชัย', + 'วิโรจน์', + 'วีรพล', + 'วีรยุทธ', + 'วีรเดช', + 'วุฒิชัย', + 'วุฒิชาติ', + 'วุฒิเดช', + 'ศักดา', + 'ศุภกิจ', + 'ศุภณัฐ', + 'สมชาย', + 'สมศักดิ์', + 'สิทธินนท์', + 'สิทธิเดช', + 'สุกฤษฎิ์', + 'สุทธินันท์', + 'สุทธิพงษ์', + 'สุบรรณ', + 'สุเมธ', + 'อดิรุจ', + 'อดิเทพ', + 'อดุลย์', + 'อติชาติ', + 'อนันตชัย', + 'อนุชิต', + 'อนุทิศ', + 'อนุพนธ์', + 'อนุภัทร', + 'อนุรักข์', + 'อภิคม', + 'อภิชาติ', + 'อรรคพล', + 'อรรณพ', + 'อรรณวุฒิ', + 'อัคคเดช', + 'อัครชัย', + 'อาชวิน', + 'อาณัติ', + 'อานนท์', + 'อานันท์', + 'อารักษ์', + 'อิทธิชัย', + 'อิทธิพัทธ์', + 'เกริกไกร', + 'เจตน์', + 'เจตพล', + 'เจนศักดิ์', + 'เจษฎา', + 'เจิมศักดิ์', + 'เชิดชาย', + 'เด่นภูมิ', + 'เตชภณ', + 'เตชินท์', + 'เป็นต่อ', + 'เผชิญชัย', + 'เผด็จ', + 'เผ่าเทพ', + 'เมธัส', + 'เรวัติ', + 'เรืองโรจน์', + 'เสกข์', + 'เหมรัชต์', + 'เอกภพ', + 'แสงโชติ', + 'โกมุท', + 'โกเมน', + 'โกเมศ', + 'โฆษิต', + 'โพธิวัฒน์', + 'โยธิต', + 'โอภาส', + 'โอฬาร', + 'ไกรยุทธ์', + 'ไชยวัฒน์', + 'ไตรภพ', + 'ไพศาล', + ]; - protected static $firstNameFemale = [ - 'กชวรรณ', 'กนกกาญจน์', 'กนกทิพย์', 'กนกนุช', 'กนกพรรณ', 'กนกรัตน์', 'กนกวรรณ', 'กนกอร', 'กมลกานต์', 'กมลฉัตร', 'กมลชนก', 'กมลทิพย์', 'กมลรัตน์', 'กมลวรรณ', 'กมลา', 'กมลเนตร', 'กรกนก', 'กรกมล', 'กรรณิกา', 'กรรณิการ์', 'กรวรรณ', 'กรวิกา', 'กรวิภา', 'กรองกาญจน์', 'กรองแก้ว', 'กรุณา', 'กฤตยา', 'กวินทิพย์', 'กัลยรัตน์', 'กัลยา', - 'กัลยาณี', 'กัลยาณี', 'กานต์ธิดา', 'กิตติมา', 'กิรติกา', 'กิ่งกาญจน์', 'กิ่งแก้ว', 'กุสุมา', 'ขจีพรรณ', 'ขวัญจิรา', 'ขวัญตา', 'ขวัญทิพย์', 'ขวัญแก้ว', 'ครองพร', 'คะนึงจิต', 'คะนึงนิตย์', 'คำหยาด', 'จรรยา', 'จรัญพร', 'จรูญพรรณ', 'จันทนา', 'จันทนิภา', - 'จันทร์จิรา', 'จันทร์เพ็ญ', 'จารีรัตน์', 'จารุณี', 'จารุวรรณ', 'จิดาภา', 'จิตตนาถ', 'จิตติมา', 'จิตรลดา', 'จิตรานุช', 'จินดา', 'จินดาพรรณ', 'จินดารัตน์', 'จินตนา', 'จินตพร', 'จินตภา', 'จิรนาถ', 'จิรัชญา', 'จีรพรรณ', 'จุฑาทิพย์', - 'จุฑาภรณ์', 'จุฑามณี', 'จุฑารัตน์', 'จุไรรัตน์', 'จุไรวรรณ', 'ฉวีผ่อง', 'ฉัตราภรณ์', 'ชงโค', 'ชนกนันท์', 'ชนกนาถ', 'ชนนิภา', 'ชนิกานต์', 'ชนิดา', 'ชนิภา', 'ชมพูนุช', 'ชยาภา', 'ชลธิชา', 'ชลธิดา', 'ชลิตา', 'ชาลินี', 'ชิดชนก', 'ชุติกา', 'ชุติกาญจน์', - 'ชุติภา', 'ชุติมน', 'ชุติมา', 'ช่อทิพย์', 'ฐปนีย์', 'ฐาปนีย์', 'ฐิตาพร', 'ฐิตารีย์', 'ฐิติกร', 'ฐิติกาญจน์', 'ฐิติพร', 'ฐิติพรรณ', 'ฐิติภา', 'ฐิติมา', 'ณฐินี', 'ณฤดี', 'ณัชชา', 'ณัฏฐธิดา', 'ณัฏฐิกา', 'ณัฏฐินี', 'ณัฐกานต์', 'ณัฐชยา', 'ณัฐชา', 'ณัฐฐา', 'ณัฐวดี', - 'ณิชกานต์', 'ณิชมน', 'ณิชา', 'ณิชารีย์', 'ณีรนุช', 'ดลพร', 'ดวงแข', 'ดารณี', 'ดารินทร์', 'ดาวเรือง', 'ดุจดาว', 'ถวิกา', 'ถิรดา', 'ทองปลิว', 'ทัดดาว', 'ทิพนาถ', 'ทิพปภา', 'ทิพย์รัตน์', 'ธนพร', 'ธนัญญา', 'ธนิดา', 'ธัญชนก', 'ธัญญรัตน์', 'ธัญญา', 'ธัญทิพย์', - 'ธัญพร', 'ธัญพิมล', 'ธัญรัตน์', 'ธันยชนก', 'ธันยพร', 'ธารทิพย์', 'ธาริณี', 'ธิดารัตน์', 'ธิดาวรรณ', 'นงนุช', 'นภา', 'นภาพร', 'นภาพรรณ', 'นภาวรรณ', 'นรีรัตน์', 'นฤมล', 'นลิน', 'นันทฉัตร', 'นันทนา', 'นันทิกานต์', 'นันทิชา', 'นันทิตา', 'นันทินี', 'นาถสุดา', 'นิชา', - 'นิชาภา', 'นิรชา', 'บุณยนุช', 'บุณยพร', 'บุปผา', 'บุษบา', 'บุหลัน', 'ปฐมา', 'ปณิดา', 'ปนัดดา', 'ประกายแก้ว', 'ประภัสสร', 'ประภารัตน์', 'ประไพพรรณ', 'ปรางทิพย์', 'ปราญชลี', 'ปรียา', 'ปรียาดา', 'ปรียานุช', 'ปวันรัตน์', 'ปวีณอร', 'ปัญญารัตน์', - 'ปัทมา', 'ปัทมาพร', 'ปานชนก', 'ปาริฉัตร', 'ปิยธิดา', 'ปิยนุช', 'ปิยะพรรณ', 'ปิยะวรรณ', 'ปุณยภา', 'ผกาพรรณ', 'ผดุงพร', 'พรทิพา', 'พรนภา', 'พรประภา', 'พรพรรณ', 'พรพิมล', 'พรรณทิพย์', 'พรรนิภา', 'พรไพลิน', 'พวงผกา', 'พัชรมัย', 'พัชรีวรรณ', 'พิมพ์ผกา', 'พิมพ์พรรณ', 'พิมพ์อัปสร', 'พิมลภา', 'พิมลรัตน์', 'พิศมัย', - 'ภัทรธิดา', 'ภัทรลดา', 'ภัทรวรรณ', 'ภารวี', 'ภาวินี', 'มณีรัตน์', 'มัลลิกา', 'มาลินี', 'มินตรา', 'ยุพา', 'รติมา', 'รัชนี', 'รัตนประภา', 'รุจยา', 'รุจิราพร', 'ลดามณี', 'ลำดวน', 'วรกานต์', 'วรรณพร', 'วราภรณ์', 'วลัยพร', 'วลัยพรรณ', 'วลัยสมร', 'วลีรัตน์', 'วัชราภรณ์', - 'วันทนีย์', 'วิภาดา', 'วิมลรัตน์', 'วิไลรัตน์', 'วิไลวรรณ', 'วีณา', 'ศันสนีย์', 'สมพร', 'สมศรี', 'สมหญิง', 'สาวิตรี', 'สุนิสา', 'อภิรดี', 'อรจิรา', 'อรชร', 'อรณิชา', 'อรนุช', 'อรพรรณ', 'อรพิมพ์', 'อรพิมล', 'อลิน', 'อังคณา', 'อัจฉรา', 'อัจฉราพร', 'อัญชลิกา', 'อาภรณ์', 'อินตรา', 'อุไรวรรณ', 'เกตุมณี', - 'เกวลิน', 'เขมจิรา', 'เขมิกา', 'เครือวัลย์', 'เจนจิรา', 'เบญจพร', 'เบญจภรณ์', 'เบญจรัตน์', 'เบญจวรรณ', 'เพ็ญประภา', 'เพ็ญแข', 'เภตรา', 'เมธินี', 'เลอลักษณ์', 'เสาวรส', 'แก้วทิพย์', 'แสงจันทร์', 'โชติกา', 'ไฉววงศ์', 'ไปรยา', 'ไลลา', - 'ไอริณ', - ]; + protected static $firstNameFemale = [ + 'กชวรรณ', + 'กนกกาญจน์', + 'กนกทิพย์', + 'กนกนุช', + 'กนกพรรณ', + 'กนกรัตน์', + 'กนกวรรณ', + 'กนกอร', + 'กมลกานต์', + 'กมลฉัตร', + 'กมลชนก', + 'กมลทิพย์', + 'กมลรัตน์', + 'กมลวรรณ', + 'กมลา', + 'กมลเนตร', + 'กรกนก', + 'กรกมล', + 'กรรณิกา', + 'กรรณิการ์', + 'กรวรรณ', + 'กรวิกา', + 'กรวิภา', + 'กรองกาญจน์', + 'กรองแก้ว', + 'กรุณา', + 'กฤตยา', + 'กวินทิพย์', + 'กัลยรัตน์', + 'กัลยา', + 'กัลยาณี', + 'กัลยาณี', + 'กานต์ธิดา', + 'กิตติมา', + 'กิรติกา', + 'กิ่งกาญจน์', + 'กิ่งแก้ว', + 'กุสุมา', + 'ขจีพรรณ', + 'ขวัญจิรา', + 'ขวัญตา', + 'ขวัญทิพย์', + 'ขวัญแก้ว', + 'ครองพร', + 'คะนึงจิต', + 'คะนึงนิตย์', + 'คำหยาด', + 'จรรยา', + 'จรัญพร', + 'จรูญพรรณ', + 'จันทนา', + 'จันทนิภา', + 'จันทร์จิรา', + 'จันทร์เพ็ญ', + 'จารีรัตน์', + 'จารุณี', + 'จารุวรรณ', + 'จิดาภา', + 'จิตตนาถ', + 'จิตติมา', + 'จิตรลดา', + 'จิตรานุช', + 'จินดา', + 'จินดาพรรณ', + 'จินดารัตน์', + 'จินตนา', + 'จินตพร', + 'จินตภา', + 'จิรนาถ', + 'จิรัชญา', + 'จีรพรรณ', + 'จุฑาทิพย์', + 'จุฑาภรณ์', + 'จุฑามณี', + 'จุฑารัตน์', + 'จุไรรัตน์', + 'จุไรวรรณ', + 'ฉวีผ่อง', + 'ฉัตราภรณ์', + 'ชงโค', + 'ชนกนันท์', + 'ชนกนาถ', + 'ชนนิภา', + 'ชนิกานต์', + 'ชนิดา', + 'ชนิภา', + 'ชมพูนุช', + 'ชยาภา', + 'ชลธิชา', + 'ชลธิดา', + 'ชลิตา', + 'ชาลินี', + 'ชิดชนก', + 'ชุติกา', + 'ชุติกาญจน์', + 'ชุติภา', + 'ชุติมน', + 'ชุติมา', + 'ช่อทิพย์', + 'ฐปนีย์', + 'ฐาปนีย์', + 'ฐิตาพร', + 'ฐิตารีย์', + 'ฐิติกร', + 'ฐิติกาญจน์', + 'ฐิติพร', + 'ฐิติพรรณ', + 'ฐิติภา', + 'ฐิติมา', + 'ณฐินี', + 'ณฤดี', + 'ณัชชา', + 'ณัฏฐธิดา', + 'ณัฏฐิกา', + 'ณัฏฐินี', + 'ณัฐกานต์', + 'ณัฐชยา', + 'ณัฐชา', + 'ณัฐฐา', + 'ณัฐวดี', + 'ณิชกานต์', + 'ณิชมน', + 'ณิชา', + 'ณิชารีย์', + 'ณีรนุช', + 'ดลพร', + 'ดวงแข', + 'ดารณี', + 'ดารินทร์', + 'ดาวเรือง', + 'ดุจดาว', + 'ถวิกา', + 'ถิรดา', + 'ทองปลิว', + 'ทัดดาว', + 'ทิพนาถ', + 'ทิพปภา', + 'ทิพย์รัตน์', + 'ธนพร', + 'ธนัญญา', + 'ธนิดา', + 'ธัญชนก', + 'ธัญญรัตน์', + 'ธัญญา', + 'ธัญทิพย์', + 'ธัญพร', + 'ธัญพิมล', + 'ธัญรัตน์', + 'ธันยชนก', + 'ธันยพร', + 'ธารทิพย์', + 'ธาริณี', + 'ธิดารัตน์', + 'ธิดาวรรณ', + 'นงนุช', + 'นภา', + 'นภาพร', + 'นภาพรรณ', + 'นภาวรรณ', + 'นรีรัตน์', + 'นฤมล', + 'นลิน', + 'นันทฉัตร', + 'นันทนา', + 'นันทิกานต์', + 'นันทิชา', + 'นันทิตา', + 'นันทินี', + 'นาถสุดา', + 'นิชา', + 'นิชาภา', + 'นิรชา', + 'บุณยนุช', + 'บุณยพร', + 'บุปผา', + 'บุษบา', + 'บุหลัน', + 'ปฐมา', + 'ปณิดา', + 'ปนัดดา', + 'ประกายแก้ว', + 'ประภัสสร', + 'ประภารัตน์', + 'ประไพพรรณ', + 'ปรางทิพย์', + 'ปราญชลี', + 'ปรียา', + 'ปรียาดา', + 'ปรียานุช', + 'ปวันรัตน์', + 'ปวีณอร', + 'ปัญญารัตน์', + 'ปัทมา', + 'ปัทมาพร', + 'ปานชนก', + 'ปาริฉัตร', + 'ปิยธิดา', + 'ปิยนุช', + 'ปิยะพรรณ', + 'ปิยะวรรณ', + 'ปุณยภา', + 'ผกาพรรณ', + 'ผดุงพร', + 'พรทิพา', + 'พรนภา', + 'พรประภา', + 'พรพรรณ', + 'พรพิมล', + 'พรรณทิพย์', + 'พรรนิภา', + 'พรไพลิน', + 'พวงผกา', + 'พัชรมัย', + 'พัชรีวรรณ', + 'พิมพ์ผกา', + 'พิมพ์พรรณ', + 'พิมพ์อัปสร', + 'พิมลภา', + 'พิมลรัตน์', + 'พิศมัย', + 'ภัทรธิดา', + 'ภัทรลดา', + 'ภัทรวรรณ', + 'ภารวี', + 'ภาวินี', + 'มณีรัตน์', + 'มัลลิกา', + 'มาลินี', + 'มินตรา', + 'ยุพา', + 'รติมา', + 'รัชนี', + 'รัตนประภา', + 'รุจยา', + 'รุจิราพร', + 'ลดามณี', + 'ลำดวน', + 'วรกานต์', + 'วรรณพร', + 'วราภรณ์', + 'วลัยพร', + 'วลัยพรรณ', + 'วลัยสมร', + 'วลีรัตน์', + 'วัชราภรณ์', + 'วันทนีย์', + 'วิภาดา', + 'วิมลรัตน์', + 'วิไลรัตน์', + 'วิไลวรรณ', + 'วีณา', + 'ศันสนีย์', + 'สมพร', + 'สมศรี', + 'สมหญิง', + 'สาวิตรี', + 'สุนิสา', + 'อภิรดี', + 'อรจิรา', + 'อรชร', + 'อรณิชา', + 'อรนุช', + 'อรพรรณ', + 'อรพิมพ์', + 'อรพิมล', + 'อลิน', + 'อังคณา', + 'อัจฉรา', + 'อัจฉราพร', + 'อัญชลิกา', + 'อาภรณ์', + 'อินตรา', + 'อุไรวรรณ', + 'เกตุมณี', + 'เกวลิน', + 'เขมจิรา', + 'เขมิกา', + 'เครือวัลย์', + 'เจนจิรา', + 'เบญจพร', + 'เบญจภรณ์', + 'เบญจรัตน์', + 'เบญจวรรณ', + 'เพ็ญประภา', + 'เพ็ญแข', + 'เภตรา', + 'เมธินี', + 'เลอลักษณ์', + 'เสาวรส', + 'แก้วทิพย์', + 'แสงจันทร์', + 'โชติกา', + 'ไฉววงศ์', + 'ไปรยา', + 'ไลลา', + 'ไอริณ', + ]; - protected static $lastName = [ - 'กติยา', 'กมลานันท์', 'กล้านอนหงาย', 'กองการ', 'กางมุ้งคอย', 'กาญจนวิภู', 'กำธรเจริญ', 'กิจจานุรักษ์', 'กิตติธร', 'ครองจินดา', 'งามระลึก', 'จันทร์ประดับ', 'จิตประสงค์', 'จิตมานะ', 'จิตสะอาด', 'จิรามณี', 'จุฑาเทพ ณ อยุธยา', 'ชมชอบ', 'ชอบนอนหงาย', 'ดำรงลาวรรณ', 'ดิเรกวิทยา', 'ตะลุมพุก', 'ทวิพักตร์', 'ทองดี', 'ทองม่วง', 'นทีพิทักษ์', 'นิมิตนาม', - 'บาดตาสาว', 'บินทะลุบ้าน', 'บุญมั่น', 'ปรปักษ์เป็นจุล', 'ประจัญบาน', 'ประภาพร', 'ปืนครก', 'พงศ์พิทักษ์', 'พจน์จำเนียร', 'พรรณาราย', 'พิชัยรณรงค์', 'พิทักษ์ไทย', 'พึ่งสุข', 'พุ่มฉัตร', 'มณีน้อย', 'มนูญศักดิ์', 'มหานิยม', 'ยอดยาใจ', 'รอดคงรวย', 'รักธรรม', 'รักสำราญ', 'รัตนามิรา', 'รัตนเดชากร', 'รุจิอาภรณ์', 'วงศ์บันเทิง', 'วงศ์สินวิเศษ', - 'วรรณดำรง', 'วรเลิศรัตน์', 'วังชัยศรี', 'วาทะศรัทธา', 'วิทยเขตปภา', 'วิไลสักดิ์', 'ศรีเจริญ', 'ศิลามหาฤกษ์', 'ศิวาวงศ์', 'สมคำนึง', 'สมุทรเทวา', 'สันตติวงศ์', 'สันต์สิริศักดิ์', 'สัมพันธ์พงษ์', 'สำราญฤทธิ์', 'สุรบดินทร์', 'สูญสิ้นภัย', 'หงส์แก้ว', 'หนึ่งในยุทธจักร', 'หวังกระแทกคาง', 'อดุสาระดี', 'อัศวรัช', 'อัศวเรืองฤทธิ์', 'อาจฤทธิ์', 'เกตุอารี', - 'เกิดความสุข', 'เกิดงามพริ้ง', 'เก่งระดมยิง', 'เจนพานิชย์สกุล', 'เจริญเดช', 'เทพทัต', 'เทพสุวรรณ', 'เที่ยงธรรม', 'เบี้ยวสกุล', 'เหนือกาล', 'แก้วมณีงาม', 'แสนชล', 'โชคช่วย', 'ไชยวัฒนา', - ]; + protected static $lastName = [ + 'กติยา', + 'กมลานันท์', + 'กล้านอนหงาย', + 'กองการ', + 'กางมุ้งคอย', + 'กาญจนวิภู', + 'กำธรเจริญ', + 'กิจจานุรักษ์', + 'กิตติธร', + 'ครองจินดา', + 'งามระลึก', + 'จันทร์ประดับ', + 'จิตประสงค์', + 'จิตมานะ', + 'จิตสะอาด', + 'จิรามณี', + 'จุฑาเทพ ณ อยุธยา', + 'ชมชอบ', + 'ชอบนอนหงาย', + 'ดำรงลาวรรณ', + 'ดิเรกวิทยา', + 'ตะลุมพุก', + 'ทวิพักตร์', + 'ทองดี', + 'ทองม่วง', + 'นทีพิทักษ์', + 'นิมิตนาม', + 'บาดตาสาว', + 'บินทะลุบ้าน', + 'บุญมั่น', + 'ปรปักษ์เป็นจุล', + 'ประจัญบาน', + 'ประภาพร', + 'ปืนครก', + 'พงศ์พิทักษ์', + 'พจน์จำเนียร', + 'พรรณาราย', + 'พิชัยรณรงค์', + 'พิทักษ์ไทย', + 'พึ่งสุข', + 'พุ่มฉัตร', + 'มณีน้อย', + 'มนูญศักดิ์', + 'มหานิยม', + 'ยอดยาใจ', + 'รอดคงรวย', + 'รักธรรม', + 'รักสำราญ', + 'รัตนามิรา', + 'รัตนเดชากร', + 'รุจิอาภรณ์', + 'วงศ์บันเทิง', + 'วงศ์สินวิเศษ', + 'วรรณดำรง', + 'วรเลิศรัตน์', + 'วังชัยศรี', + 'วาทะศรัทธา', + 'วิทยเขตปภา', + 'วิไลสักดิ์', + 'ศรีเจริญ', + 'ศิลามหาฤกษ์', + 'ศิวาวงศ์', + 'สมคำนึง', + 'สมุทรเทวา', + 'สันตติวงศ์', + 'สันต์สิริศักดิ์', + 'สัมพันธ์พงษ์', + 'สำราญฤทธิ์', + 'สุรบดินทร์', + 'สูญสิ้นภัย', + 'หงส์แก้ว', + 'หนึ่งในยุทธจักร', + 'หวังกระแทกคาง', + 'อดุสาระดี', + 'อัศวรัช', + 'อัศวเรืองฤทธิ์', + 'อาจฤทธิ์', + 'เกตุอารี', + 'เกิดความสุข', + 'เกิดงามพริ้ง', + 'เก่งระดมยิง', + 'เจนพานิชย์สกุล', + 'เจริญเดช', + 'เทพทัต', + 'เทพสุวรรณ', + 'เที่ยงธรรม', + 'เบี้ยวสกุล', + 'เหนือกาล', + 'แก้วมณีงาม', + 'แสนชล', + 'โชคช่วย', + 'ไชยวัฒนา', + ]; - protected static $suffix = ['Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM']; + protected static $suffix = [ 'Jr.', 'Sr.', 'I', 'II', 'III', 'IV', 'V', 'MD', 'DDS', 'PhD', 'DVM' ]; - /** - * @example 'PhD' - */ - public static function suffix() - { - return static::randomElement(static::$suffix); - } + /** + * @example 'PhD' + */ + public static function suffix() { + return static::randomElement( static::$suffix ); + } - /** - * @example '123-45-6789' - */ - public static function ssn() - { - $area = Miscellaneous::boolean() ? self::numberBetween(1, 665) : self::numberBetween(667, 899); - $group = self::numberBetween(1, 99); - $serial = self::numberBetween(1, 9999); + /** + * @example '123-45-6789' + */ + public static function ssn() { + $area = Miscellaneous::boolean() ? self::numberBetween( 1, 665 ) : self::numberBetween( 667, 899 ); + $group = self::numberBetween( 1, 99 ); + $serial = self::numberBetween( 1, 9999 ); - return sprintf('%03d-%02d-%04d', $area, $group, $serial); - } + return sprintf( '%03d-%02d-%04d', $area, $group, $serial ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/th_TH/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/th_TH/PhoneNumber.php index 59dce4b..8828a47 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/th_TH/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/th_TH/PhoneNumber.php @@ -2,38 +2,36 @@ namespace Faker\Provider\th_TH; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @var array Thai phone number formats - * - * @see http://www4.sit.kmutt.ac.th/content/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%80%E0%B8%82%E0%B8%B5%E0%B8%A2%E0%B8%99%E0%B8%AB%E0%B8%A1%E0%B8%B2%E0%B8%A2%E0%B9%80%E0%B8%A5%E0%B8%82%E0%B9%82%E0%B8%97%E0%B8%A3%E0%B8%A8%E0%B8%B1%E0%B8%9E%E0%B8%97%E0%B9%8C%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B8%96%E0%B8%B9%E0%B8%81%E0%B8%95%E0%B9%89%E0%B8%AD%E0%B8%87 - */ - protected static $formats = [ - '0 #### ####', - '+66 #### ####', - '0########', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @var array Thai phone number formats + * + * @see http://www4.sit.kmutt.ac.th/content/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%80%E0%B8%82%E0%B8%B5%E0%B8%A2%E0%B8%99%E0%B8%AB%E0%B8%A1%E0%B8%B2%E0%B8%A2%E0%B9%80%E0%B8%A5%E0%B8%82%E0%B9%82%E0%B8%97%E0%B8%A3%E0%B8%A8%E0%B8%B1%E0%B8%9E%E0%B8%97%E0%B9%8C%E0%B9%83%E0%B8%AB%E0%B9%89%E0%B8%96%E0%B8%B9%E0%B8%81%E0%B8%95%E0%B9%89%E0%B8%AD%E0%B8%87 + */ + protected static $formats = [ + '0 #### ####', + '+66 #### ####', + '0########', + ]; - /** - * @var array Thai mobile phone number formats - */ - protected static $mobileFormats = [ - '08# ### ####', - '08 #### ####', - '09# ### ####', - '09 #### ####', - '06# ### ####', - '06 #### ####', - ]; + /** + * @var array Thai mobile phone number formats + */ + protected static $mobileFormats = [ + '08# ### ####', + '08 #### ####', + '09# ### ####', + '09 #### ####', + '06# ### ####', + '06 #### ####', + ]; - /** - * Returns a Thai mobile phone number - * - * @return string - */ - public static function mobileNumber() - { - return static::numerify(static::randomElement(static::$mobileFormats)); - } + /** + * Returns a Thai mobile phone number + * + * @return string + */ + public static function mobileNumber() { + return static::numerify( static::randomElement( static::$mobileFormats ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Address.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Address.php index 7abad26..b65dbd8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Address.php @@ -2,93 +2,228 @@ namespace Faker\Provider\tr_TR; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%##', '%#', '%']; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%##', '%#', '%' ]; - protected static $streetSuffix = [ - 'Sokak', 'Caddesi', 'Kavşağı', 'Durağı', 'İş Hanı', 'Mevkii', - ]; + protected static $streetSuffix = [ + 'Sokak', + 'Caddesi', + 'Kavşağı', + 'Durağı', + 'İş Hanı', + 'Mevkii', + ]; - protected static $postcode = ['#####']; + protected static $postcode = [ '#####' ]; - /** - * @var array Cities of Turkey, for future updates please use @see https://tr.wikipedia.org/wiki/T%C3%BCrkiye'nin_illeri - */ - protected static $cityNames = [ - 'Adana', 'Adıyaman', 'Afyonkarahisar', 'Ağrı', 'Aksaray', 'Amasya', 'Ankara', 'Antalya', 'Ardahan', 'Artvin', 'Aydın', - 'Balıkesir', 'Bartın', 'Batman', 'Bayburt', 'Bilecik', 'Bingöl', 'Bitlis', 'Bolu', 'Burdur', 'Bursa', - 'Çanakkale', 'Çankırı', 'Çorum', - 'Denizli', 'Diyarbakır', 'Düzce', - 'Edirne', 'Elazığ', 'Erzincan', 'Erzurum', 'Eskişehir', - 'Gaziantep', 'Giresun', 'Gümüşhane', - 'Hakkari', 'Hatay', - 'Iğdır', 'Isparta', 'İstanbul', 'İzmir', - 'Kahramanmaraş', 'Karabük', 'Karaman', 'Kars', 'Kastamonu', 'Kayseri', 'Kilis', - 'Kırıkkale', 'Kırklareli', 'Kırşehir', 'Kocaeli', 'Konya', 'Kütahya', - 'Malatya', 'Manisa', 'Mardin', 'Mersin', 'Muğla', 'Muş', - 'Nevşehir', 'Niğde', - 'Ordu', 'Osmaniye', - 'Rize', - 'Sakarya', 'Samsun', 'Şanlıurfa', 'Siirt', 'Sinop', 'Şırnak', 'Sivas', - 'Tekirdağ', 'Tokat', 'Trabzon', 'Tunceli', - 'Uşak', - 'Van', - 'Yalova', 'Yozgat', - 'Zonguldak', - ]; + /** + * @var array Cities of Turkey, for future updates please use @see https://tr.wikipedia.org/wiki/T%C3%BCrkiye'nin_illeri + */ + protected static $cityNames = [ + 'Adana', + 'Adıyaman', + 'Afyonkarahisar', + 'Ağrı', + 'Aksaray', + 'Amasya', + 'Ankara', + 'Antalya', + 'Ardahan', + 'Artvin', + 'Aydın', + 'Balıkesir', + 'Bartın', + 'Batman', + 'Bayburt', + 'Bilecik', + 'Bingöl', + 'Bitlis', + 'Bolu', + 'Burdur', + 'Bursa', + 'Çanakkale', + 'Çankırı', + 'Çorum', + 'Denizli', + 'Diyarbakır', + 'Düzce', + 'Edirne', + 'Elazığ', + 'Erzincan', + 'Erzurum', + 'Eskişehir', + 'Gaziantep', + 'Giresun', + 'Gümüşhane', + 'Hakkari', + 'Hatay', + 'Iğdır', + 'Isparta', + 'İstanbul', + 'İzmir', + 'Kahramanmaraş', + 'Karabük', + 'Karaman', + 'Kars', + 'Kastamonu', + 'Kayseri', + 'Kilis', + 'Kırıkkale', + 'Kırklareli', + 'Kırşehir', + 'Kocaeli', + 'Konya', + 'Kütahya', + 'Malatya', + 'Manisa', + 'Mardin', + 'Mersin', + 'Muğla', + 'Muş', + 'Nevşehir', + 'Niğde', + 'Ordu', + 'Osmaniye', + 'Rize', + 'Sakarya', + 'Samsun', + 'Şanlıurfa', + 'Siirt', + 'Sinop', + 'Şırnak', + 'Sivas', + 'Tekirdağ', + 'Tokat', + 'Trabzon', + 'Tunceli', + 'Uşak', + 'Van', + 'Yalova', + 'Yozgat', + 'Zonguldak', + ]; - /** - * @var array Countries in Turkish - * - * @see https://tr.wikipedia.org/wiki/%C3%9Clkeler_listesi - */ - protected static $country = [ - 'Almanya', 'Amerika Birleşik Devletleri', 'Arjantin', 'Arnavutluk', 'Avustralya', 'Avusturya', 'Azerbaycan', - 'Bahreyn', 'Belçika', 'Beyaz Rusya', 'Birleşik Arap Emirlikleri', 'Bosna-hersek', 'Brezilya', 'Bulgaristan', - 'Çek Cumhuriyeti', 'Cezayir', 'Çin Halk Cumhuriyeti', - 'Danimarka', 'Dominik Cumhuriyeti', - 'Endonezya', 'Ermenistan', 'Estonya', - 'Fas', 'Filipinler', 'Filistin', 'Finlandiya', 'Fransa', - 'Güney Afrika Cumhuriyeti', 'Güney Kore', 'Gürcistan', - 'Hindistan', 'Hırvatistan', 'Hollanda', - 'İngiltere', 'Irak', 'İran', 'İrlanda', 'İskoçya', 'İspanya', 'İsrail', 'İsveç', 'İsviçre', 'İtalya', - 'Jamaika', 'Japonya', - 'Kamboçya', 'Kanada', 'Karadağ', 'Kazakistan', 'Kıbrıs', 'Kırgızistan', 'Kosta Rika', 'Küba', 'Kuzey Kore', - 'Letonya', 'Libya', 'Litvanya', 'Lübnan', 'Lüksemburg', - 'Macaristan', 'Makedonya', 'Maldivler', 'Malta', 'Maurıtıus', 'Mısır', - 'Nepal', - 'Özbekistan', - 'Pakistan', 'Polonya', 'Portekiz', 'Romanya', - 'Rusya', - 'Sırbistan', 'Slovakya', 'Slovenya', - 'Sri Lanka', 'Sudan', 'Suriye', 'Suudi Arabistan', - 'Tacikistan', 'Tayland', 'Tayvan', 'Tunus', 'Türkiye', - 'Ukrayna', 'Umman', 'Ürdün', - 'Venezuela', 'Vietnam', - 'Yemen', 'Yeni Zelanda', 'Yeşil Burun', 'Yunanistan', - 'Zambiya', 'Zimbabve', - ]; + /** + * @var array Countries in Turkish + * + * @see https://tr.wikipedia.org/wiki/%C3%9Clkeler_listesi + */ + protected static $country = [ + 'Almanya', + 'Amerika Birleşik Devletleri', + 'Arjantin', + 'Arnavutluk', + 'Avustralya', + 'Avusturya', + 'Azerbaycan', + 'Bahreyn', + 'Belçika', + 'Beyaz Rusya', + 'Birleşik Arap Emirlikleri', + 'Bosna-hersek', + 'Brezilya', + 'Bulgaristan', + 'Çek Cumhuriyeti', + 'Cezayir', + 'Çin Halk Cumhuriyeti', + 'Danimarka', + 'Dominik Cumhuriyeti', + 'Endonezya', + 'Ermenistan', + 'Estonya', + 'Fas', + 'Filipinler', + 'Filistin', + 'Finlandiya', + 'Fransa', + 'Güney Afrika Cumhuriyeti', + 'Güney Kore', + 'Gürcistan', + 'Hindistan', + 'Hırvatistan', + 'Hollanda', + 'İngiltere', + 'Irak', + 'İran', + 'İrlanda', + 'İskoçya', + 'İspanya', + 'İsrail', + 'İsveç', + 'İsviçre', + 'İtalya', + 'Jamaika', + 'Japonya', + 'Kamboçya', + 'Kanada', + 'Karadağ', + 'Kazakistan', + 'Kıbrıs', + 'Kırgızistan', + 'Kosta Rika', + 'Küba', + 'Kuzey Kore', + 'Letonya', + 'Libya', + 'Litvanya', + 'Lübnan', + 'Lüksemburg', + 'Macaristan', + 'Makedonya', + 'Maldivler', + 'Malta', + 'Maurıtıus', + 'Mısır', + 'Nepal', + 'Özbekistan', + 'Pakistan', + 'Polonya', + 'Portekiz', + 'Romanya', + 'Rusya', + 'Sırbistan', + 'Slovakya', + 'Slovenya', + 'Sri Lanka', + 'Sudan', + 'Suriye', + 'Suudi Arabistan', + 'Tacikistan', + 'Tayland', + 'Tayvan', + 'Tunus', + 'Türkiye', + 'Ukrayna', + 'Umman', + 'Ürdün', + 'Venezuela', + 'Vietnam', + 'Yemen', + 'Yeni Zelanda', + 'Yeşil Burun', + 'Yunanistan', + 'Zambiya', + 'Zimbabve', + ]; - protected static $cityFormats = [ - '{{cityName}}', - ]; + protected static $cityFormats = [ + '{{cityName}}', + ]; - protected static $streetNameFormats = [ - '{{lastName}} {{streetSuffix}}', - '{{firstName}} {{streetSuffix}}', - '{{firstName}} {{streetSuffix}}', - ]; + protected static $streetNameFormats = [ + '{{lastName}} {{streetSuffix}}', + '{{firstName}} {{streetSuffix}}', + '{{firstName}} {{streetSuffix}}', + ]; - protected static $streetAddressFormats = [ - '{{streetName}} {{buildingNumber}}', - ]; - protected static $addressFormats = [ - "{{streetAddress}}\n{{postcode}} {{city}}", - ]; + protected static $streetAddressFormats = [ + '{{streetName}} {{buildingNumber}}', + ]; + protected static $addressFormats = [ + "{{streetAddress}}\n{{postcode}} {{city}}", + ]; - public function cityName() - { - return static::randomElement(static::$cityNames); - } + public function cityName() { + return static::randomElement( static::$cityNames ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Color.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Color.php index 658dda1..f0093c6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Color.php @@ -2,57 +2,226 @@ namespace Faker\Provider\tr_TR; -class Color extends \Faker\Provider\Color -{ - /** - * @see http://tr.wikipedia.org/wiki/Renkler_listesi - */ - protected static $safeColorNames = [ - 'siyah', 'kırmızı', 'sarı', 'mavi', 'turuncu', - 'yeşil', 'mor', 'gümüş', 'gri', 'pembe', - ]; +class Color extends \Faker\Provider\Color { + /** + * @see http://tr.wikipedia.org/wiki/Renkler_listesi + */ + protected static $safeColorNames = [ + 'siyah', + 'kırmızı', + 'sarı', + 'mavi', + 'turuncu', + 'yeşil', + 'mor', + 'gümüş', + 'gri', + 'pembe', + ]; - protected static $allColorNames = [ - 'Alev kırmızısı', 'Alice mavisi', 'Alizarin', 'Altunî', 'Ametist', 'Armut', - 'Akuamarin', 'Asker yeşili', 'Bakır', 'Barut', 'Bataklık yeşili', - 'Bebek mavisi', 'Bej', 'Beyaz', 'Bondi mavisi', 'Bordo', - 'Bronz', 'Buğday', 'Burgonya', 'Camgöbeği', 'Çam yeşili', 'Çay yeşili', - 'Çelik mavisi', 'Çikolata', 'Çivit', 'Deniz mavisi', 'Deniz yeşili', - 'Devedikeni', 'Eğrelti yeşili', 'Elektrik mavisi', 'Elektrik çivit', 'Elektrik lime', 'Elektrik mor', - 'Falu kırmızısı', 'Fildişi', 'Fransız gül', 'Galibarda', 'Gece mavisi', 'Gök mavisi', - 'Gri', 'Gri-kuşkonmaz', 'Gül', 'Gümüşi', 'Haki', 'Hardal', - 'Havuç', 'Horozibiği', 'İlkbahar yeşili', 'İslam yeşili', 'Kabak', 'Kahverengi', - 'Kahverengimsi gri', 'Kamuflâj yeşili', 'Karanfil pembesi', 'Karanfil', 'Kardinal', - 'Karolina mavisi', 'Kayısı', 'Kehribar', 'Kestane', - 'Keten', 'Kırmızı', 'Kırmızımsı kahverengi', 'Kırmızı-menekşe', 'Kiraz kırmızısı', - 'Kobalt', 'Kobalt mavisi', 'Koyu galibarda', 'Koyu haki', 'Koyu kahverengi', - 'Koyu kestane', 'Koyu kırmızı', 'Koyu kızıl kahverengi', 'Koyu leylak', 'Koyu magenta', - 'Koyu mandalina', 'Koyu mavi', 'Koyu menekşe', 'Koyu mercan', - 'Koyu mor', 'Koyu pastel yeşil', 'Koyu pembe', 'Koyu şeftali', 'Koyu turkuaz', - 'Koyu toz mavi', 'Koyu turkuaz', 'Koyu yeşil', 'Kösele', 'Krem', - 'Kum kahverengisi', 'Kuşkonmaz', 'Lacivert', 'Lacivert', - 'Lavanta', 'Lavanta mavisi', 'Lavender pembesi', 'Lavender greisi', - 'Lavender magenta', 'Lavanta pembesi', 'Lavanta mor', 'Lavanta gül', 'Limoni', 'Açık Limon', - 'Leylak', 'Lime', 'Mandalina', 'Malakit', 'Mavi', - 'Menekşe', 'Menekşe-patlıcan', 'Mısır', 'Mor', 'Morsalkım', - 'Nane yeşili', 'Nar', 'Navajo beyazı', 'Okul otobüsü sarısı', 'Parlak mor', - 'Pas', 'Pastel pembe', 'Pastel yeşili', 'Patlıcan', 'Pembe', - 'Pembe-turuncu', 'Peygamber çiçeği', 'Prusya mavisi', 'Safran', 'Safir', - 'Sarımsı kahverengi', 'Sarımsı pembe', 'Sarı', 'Sarı', - 'Siyahımsı koyu kahverengi', 'Soluk sarı', 'Şeftali', 'Şeftali-turuncu', 'Şeftali-sarı', - 'Tarçın', 'Teal', 'Toz mavi', 'Turkuaz', - 'Turuncumsu sarı', 'Turuncu', 'Turuncumsu sarı', 'Yeşil', 'Yeşil-sarı', 'Yonca yeşili', - 'Yosun yeşili', 'Zeytuni', 'Zümrüt yeşili', 'Yanık turuncu', 'Yanık Toprak', - 'Kardinal', 'Şarap', 'Celadon', 'Berrak mavi', - 'Gök mavisi', 'Gül', 'Mercan', 'Mercan Kırmızısı', 'Kıpkırmızı', 'Hile mavisi', - 'Altınımsı', 'Soytarı', 'Siğil otu', 'Holivod kırmızısı', 'Sıcak Magenta', - 'Sıcak pembe', 'Uluslararası Klein mavisi', 'Enternasyonal turuncu', 'Yeşim', 'Orta şarap', - 'Orta Mor', 'Dağ pembesi', 'Aşı boyası', 'Eski altın', 'Eski iplik', 'Eski Lavanta', - 'Eski gül', 'Zeytin Kahverengisi', 'Donuk turuncu', 'Papaya', - 'Periwinkle', 'Pers mavisi', 'Pers yeşili', 'Persian lacivert', 'Pers pembesi', - 'Persian kırmızısı', 'Pers gülü', 'Ham toprak', 'Kızıl yumurta mavisi', - 'Kraliyet mavisi', 'Kırmızı şarap', 'Kırmızı', 'Deniz kabuğu', 'Ayrık sarı', - 'Vurgun pembe', 'Salamura grisi', 'Tenné (Tawny)', 'Küçük kara', 'Lacivert', 'Viridian', - 'Zinnwaldite', - ]; + protected static $allColorNames = [ + 'Alev kırmızısı', + 'Alice mavisi', + 'Alizarin', + 'Altunî', + 'Ametist', + 'Armut', + 'Akuamarin', + 'Asker yeşili', + 'Bakır', + 'Barut', + 'Bataklık yeşili', + 'Bebek mavisi', + 'Bej', + 'Beyaz', + 'Bondi mavisi', + 'Bordo', + 'Bronz', + 'Buğday', + 'Burgonya', + 'Camgöbeği', + 'Çam yeşili', + 'Çay yeşili', + 'Çelik mavisi', + 'Çikolata', + 'Çivit', + 'Deniz mavisi', + 'Deniz yeşili', + 'Devedikeni', + 'Eğrelti yeşili', + 'Elektrik mavisi', + 'Elektrik çivit', + 'Elektrik lime', + 'Elektrik mor', + 'Falu kırmızısı', + 'Fildişi', + 'Fransız gül', + 'Galibarda', + 'Gece mavisi', + 'Gök mavisi', + 'Gri', + 'Gri-kuşkonmaz', + 'Gül', + 'Gümüşi', + 'Haki', + 'Hardal', + 'Havuç', + 'Horozibiği', + 'İlkbahar yeşili', + 'İslam yeşili', + 'Kabak', + 'Kahverengi', + 'Kahverengimsi gri', + 'Kamuflâj yeşili', + 'Karanfil pembesi', + 'Karanfil', + 'Kardinal', + 'Karolina mavisi', + 'Kayısı', + 'Kehribar', + 'Kestane', + 'Keten', + 'Kırmızı', + 'Kırmızımsı kahverengi', + 'Kırmızı-menekşe', + 'Kiraz kırmızısı', + 'Kobalt', + 'Kobalt mavisi', + 'Koyu galibarda', + 'Koyu haki', + 'Koyu kahverengi', + 'Koyu kestane', + 'Koyu kırmızı', + 'Koyu kızıl kahverengi', + 'Koyu leylak', + 'Koyu magenta', + 'Koyu mandalina', + 'Koyu mavi', + 'Koyu menekşe', + 'Koyu mercan', + 'Koyu mor', + 'Koyu pastel yeşil', + 'Koyu pembe', + 'Koyu şeftali', + 'Koyu turkuaz', + 'Koyu toz mavi', + 'Koyu turkuaz', + 'Koyu yeşil', + 'Kösele', + 'Krem', + 'Kum kahverengisi', + 'Kuşkonmaz', + 'Lacivert', + 'Lacivert', + 'Lavanta', + 'Lavanta mavisi', + 'Lavender pembesi', + 'Lavender greisi', + 'Lavender magenta', + 'Lavanta pembesi', + 'Lavanta mor', + 'Lavanta gül', + 'Limoni', + 'Açık Limon', + 'Leylak', + 'Lime', + 'Mandalina', + 'Malakit', + 'Mavi', + 'Menekşe', + 'Menekşe-patlıcan', + 'Mısır', + 'Mor', + 'Morsalkım', + 'Nane yeşili', + 'Nar', + 'Navajo beyazı', + 'Okul otobüsü sarısı', + 'Parlak mor', + 'Pas', + 'Pastel pembe', + 'Pastel yeşili', + 'Patlıcan', + 'Pembe', + 'Pembe-turuncu', + 'Peygamber çiçeği', + 'Prusya mavisi', + 'Safran', + 'Safir', + 'Sarımsı kahverengi', + 'Sarımsı pembe', + 'Sarı', + 'Sarı', + 'Siyahımsı koyu kahverengi', + 'Soluk sarı', + 'Şeftali', + 'Şeftali-turuncu', + 'Şeftali-sarı', + 'Tarçın', + 'Teal', + 'Toz mavi', + 'Turkuaz', + 'Turuncumsu sarı', + 'Turuncu', + 'Turuncumsu sarı', + 'Yeşil', + 'Yeşil-sarı', + 'Yonca yeşili', + 'Yosun yeşili', + 'Zeytuni', + 'Zümrüt yeşili', + 'Yanık turuncu', + 'Yanık Toprak', + 'Kardinal', + 'Şarap', + 'Celadon', + 'Berrak mavi', + 'Gök mavisi', + 'Gül', + 'Mercan', + 'Mercan Kırmızısı', + 'Kıpkırmızı', + 'Hile mavisi', + 'Altınımsı', + 'Soytarı', + 'Siğil otu', + 'Holivod kırmızısı', + 'Sıcak Magenta', + 'Sıcak pembe', + 'Uluslararası Klein mavisi', + 'Enternasyonal turuncu', + 'Yeşim', + 'Orta şarap', + 'Orta Mor', + 'Dağ pembesi', + 'Aşı boyası', + 'Eski altın', + 'Eski iplik', + 'Eski Lavanta', + 'Eski gül', + 'Zeytin Kahverengisi', + 'Donuk turuncu', + 'Papaya', + 'Periwinkle', + 'Pers mavisi', + 'Pers yeşili', + 'Persian lacivert', + 'Pers pembesi', + 'Persian kırmızısı', + 'Pers gülü', + 'Ham toprak', + 'Kızıl yumurta mavisi', + 'Kraliyet mavisi', + 'Kırmızı şarap', + 'Kırmızı', + 'Deniz kabuğu', + 'Ayrık sarı', + 'Vurgun pembe', + 'Salamura grisi', + 'Tenné (Tawny)', + 'Küçük kara', + 'Lacivert', + 'Viridian', + 'Zinnwaldite', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Company.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Company.php index e7b7892..084bf82 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Company.php @@ -2,99 +2,385 @@ namespace Faker\Provider\tr_TR; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{lastName}} {{companySuffix}}', - '{{lastName}}oğlu {{companySuffix}}', - '{{lastName}} {{lastName}} {{companySuffix}}', - '{{lastName}} {{companyField}} {{companySuffix}}', - '{{lastName}} {{companyField}} {{companySuffix}}', - '{{lastName}} {{companyField}} {{companySuffix}}', - '{{lastName}} {{lastName}} {{companyField}} {{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{lastName}} {{companySuffix}}', + '{{lastName}}oğlu {{companySuffix}}', + '{{lastName}} {{lastName}} {{companySuffix}}', + '{{lastName}} {{companyField}} {{companySuffix}}', + '{{lastName}} {{companyField}} {{companySuffix}}', + '{{lastName}} {{companyField}} {{companySuffix}}', + '{{lastName}} {{lastName}} {{companyField}} {{companySuffix}}', + ]; - protected static $companySuffix = ['A.Ş.', 'Ltd. Şti.']; + protected static $companySuffix = [ 'A.Ş.', 'Ltd. Şti.' ]; - protected static $companyField = [ - 'Akaryakıt', 'Beyaz Eşya', 'Bilgi İşlem', 'Bilgisayar', 'Bilişim Hizmetleri', - 'Biracılık ve Malt Sanayii', 'Cam Sanayii', 'Çimento', 'Demir ve Çelik', - 'Dış Ticaret', 'Eczacılık', 'Elektrik İletim', 'Elektrik Üretim', 'Elektronik', - 'Emlak', 'Enerji', 'Giyim', 'Gıda', 'Holding', 'Isıtma ve Soğutma Sistemleri', - 'İletişim Hizmetleri', 'İnşaat ve Sanayi', 'İthalat ve İhracat', 'Kimya', - 'Kurumsal Hizmetler', 'Lojistik', 'Madencilik', 'Makina', 'Mağazalar', 'Nakliyat', - 'Otomotiv', 'Pazarlama', 'Perakende Ticaret', 'Petrol', 'Petrolcülük', 'Sanayi', - 'Sağlık Hizmetleri', 'Servis ve Ticaret', 'Süt Ürünleri', 'Tarım Sanayi', - 'Tavukçuluk', 'Tekstil', 'Telekomünikasyon', 'Tersane ve Ulaşım Sanayi', - 'Ticaret', 'Ticaret ve Sanayi', 'Ticaret ve Taahhüt', 'Turizm', 'Yatırım', - ]; + protected static $companyField = [ + 'Akaryakıt', + 'Beyaz Eşya', + 'Bilgi İşlem', + 'Bilgisayar', + 'Bilişim Hizmetleri', + 'Biracılık ve Malt Sanayii', + 'Cam Sanayii', + 'Çimento', + 'Demir ve Çelik', + 'Dış Ticaret', + 'Eczacılık', + 'Elektrik İletim', + 'Elektrik Üretim', + 'Elektronik', + 'Emlak', + 'Enerji', + 'Giyim', + 'Gıda', + 'Holding', + 'Isıtma ve Soğutma Sistemleri', + 'İletişim Hizmetleri', + 'İnşaat ve Sanayi', + 'İthalat ve İhracat', + 'Kimya', + 'Kurumsal Hizmetler', + 'Lojistik', + 'Madencilik', + 'Makina', + 'Mağazalar', + 'Nakliyat', + 'Otomotiv', + 'Pazarlama', + 'Perakende Ticaret', + 'Petrol', + 'Petrolcülük', + 'Sanayi', + 'Sağlık Hizmetleri', + 'Servis ve Ticaret', + 'Süt Ürünleri', + 'Tarım Sanayi', + 'Tavukçuluk', + 'Tekstil', + 'Telekomünikasyon', + 'Tersane ve Ulaşım Sanayi', + 'Ticaret', + 'Ticaret ve Sanayi', + 'Ticaret ve Taahhüt', + 'Turizm', + 'Yatırım', + ]; - /** - * @see https://tr.wikipedia.org/wiki/Meslekler_listesi - * - * @note Randomly took 300 from this list - */ - protected static $jobTitleFormat = [ - 'Acil tıp teknisyeni', 'Agronomist', 'Aile hekimi', 'Aktar', 'Aktör', 'Aktüer', - 'Akustikçi', 'Albay', 'Ambarcı', 'Ambulans şoförü', 'Amiral', 'Analist', - 'Antika satıcısı', 'Araba tamircisi', 'Arabacı', 'Araştırmacı', 'Armatör', 'Artist', - 'Asker', 'Astrofizikçi', 'Astrolog', 'Astronom', 'Astronot', 'Atlet', 'Avukat', - 'Ayakkabı boyacısı', 'Ayakkabı tamircisi', 'Ayakçı', 'Ağ yöneticisi', 'Aşçıbaşı', - 'Bacacı', 'Badanacı', 'Baharatçı', 'Bahçe bitkileri uzmanı', 'Bakkal', 'Bakteriyolog', - 'Balon pilotu', 'Bankacı', 'Banker', 'Barmeyd', 'Başdümenci', 'Başpiskopos', - 'Başçavuş', 'Bebek Bakıcısı', 'Belediye başkanı', 'Belediye meclisi üyesi', 'Besteci', - 'Biletçi', 'Bilgi İşlemci', 'Bilgisayar mühendisi', 'Binicilik', 'Biyografi yazarı', - 'Bobinajcı', 'Borsacı', 'Boyacı', 'Bulaşıkçı', 'Börekçi', 'Çamaşırcı', 'Çantacı', - 'Çevik Kuvvet', 'Çevirmen', 'Çevre Mühendisi', 'Çevrebilimci', 'Çeyizci', - 'Çiftlik işletici', 'Çiftçi', 'Çinici', 'Çoban', 'Çırak', 'Dadı', 'Daktilograf', - 'Dalgıç', 'Dansöz', 'Dedektif', 'Derici', 'Değirmen işçisi', 'Değirmenci', 'Dilci', - 'Diplomat', 'Doktor', 'Dokumacı', 'Dondurmacı', 'Doğramacı', 'Dövizci', 'Döşemeci', - 'Elektrik mühendisi', 'Elektronik mühendisi', 'Elektronik ve Haberleşme mühendisi', - 'Embriyolog', 'Emniyet amiri', 'Emniyet genel müdürü', 'Ergonomist', 'Eskici', 'Falcı', - 'Fizikçi', 'Fizyoterapist', 'Fotoğrafçı', 'Fıçıcı', 'Galerici', 'Garson', - 'Gazete dağıtıcısı', 'Gazete satıcısı', 'Gazeteci', 'Gelir uzman yardımcısı', 'General', - 'Genetik mühendisi', 'Gezici vaiz', 'Gondolcu', 'Guru', 'Gökbilimci', 'Gözlükçü', - 'Güfteci', 'Gümrük uzmanı', 'Haham', 'Hakem', 'Halkbilimci', 'Hamal', 'Hamurkâr', - 'Hareket memuru', 'Hava trafikçisi', 'Havacı', 'Hayvan terbiyecisi', 'Hesap uzmanı', - 'Heykeltıraş', 'Hokkabaz', 'Irgat', 'İcra memuru', 'İllüzyonist', 'İmam', - 'İnsan kaynakları uzmanı', 'İplikçi', 'İthalatçı', 'İş ve uğraşı terapisti', 'İşaretçi', - 'Jimnastikçi', 'Jokey', 'Kabin görevlisi', 'Kabuk soyucusu', 'Kadın berberi', 'Kahveci', - 'Kalaycı', 'Kaplamacı', 'Kapı satıcısı', 'Kardinal', 'Kardiyolog', 'Karikatürist', - 'Kat görevlisi', 'Kaymakam', 'Kayıkçı', 'Kazıcı', 'Klarnetçi', 'Konserveci', - 'Konveyör operatörü', 'Koramiral', 'Korgeneral', 'Kozmolog', 'Kuaför', 'Kumaşçı', 'Kumcu', - 'Kuruyemişçi', 'Kurye', 'Kuyumcu', 'Kâğıtçı', 'Köpek eğiticisi', 'Köşe yazarı', 'Kürkçü', - 'Kırtasiyeci', 'Laborant', 'Laboratuar işçisi', 'Lahmacuncu', 'Lehimci', 'Levazımcı', - 'Lobici', 'Lokantacı', 'Lokman', 'Lostracı', 'Madenci', 'Makastar', 'Makine mühendisi', - 'Makine zabiti', 'Makyajcı', 'Mali hizmetler uzmanı', 'Manastır baş rahibesi', - 'Manifaturacı', 'Manikürcü', 'Masör', 'Matematikçi', 'Memur', 'Mermerci', - 'Meteoroloji uzmanı', 'Misyoner', 'Model', 'Modelci', 'Modelist', 'Montajcı', 'Montör', - 'Muallim', 'Muhafız', 'Mumyalayıcı', 'Müzik yönetmeni', 'Müşavir', 'Nalbant', 'Nalbur', - 'Oduncu', 'Orgcu', 'Ornitolog', 'Oto elektrikçisi', 'Oto lastik tamircisi', 'Oyuncakçı', - 'Oyuncu', 'Ön muhasebe yardımcı elemanı', 'Ön muhasebeci', 'Öğretim elemanı', - 'Öğretim görevlisi', 'Öğretim üyesi', 'Papaz', 'Paramedik', 'Pastörizör', 'Pencereci', - 'Perukçu', 'Peyzaj teknikeri', 'Peçeteci', 'Pideci', 'Pilot', 'Piyanist', 'Politikacı', - 'Pompacı', 'Psikolog', 'Radyolog', 'Radyoloji teknisyeni/teknikeri', 'Rejisör', - 'Reklamcı', 'Rektör', 'Rot balansçı', 'Saat tamircisi', 'Sanat yönetmeni', 'Saraç', 'Savcı', - 'Saz şairi', 'Sekreter', 'Ses teknisyeni', 'Sicil memuru', 'Sihirbaz', 'Sistem mühendisi', - 'Sosyal hizmet uzmanı', 'Sosyolog', 'Soğuk demirci', 'Stenograf', 'Stilist', - 'Sucu', 'Sunucu', 'Susuz araç yıkama', 'Sünnetçi', 'Sürveyan', 'Şapel papazı', - 'Şarkı sözü yazarı', 'Şehir Plancısı', 'Şekerci', 'Şimşirci', 'Şoför', 'Tahsildar', - 'Tarihçi', 'Tasarımcı', 'Taşlayıcı', 'Taşçı', 'Tekniker', 'Teknisyen', 'Teknoloji uzmanı', - 'Televizyon tamircisi', 'Terapist', 'Tesisatçı', 'Teşrifatçı', 'Tornacı', 'Tuğgeneral', - 'Ulaşım sorumlusu', 'Ustabaşı', 'Uydu antenci', 'Üst Düzey Yönetici', 'Ütücü', - 'Uzay bilimcisi', 'Vali', 'Veri hazırlama ve kontrol işletmeni', 'Veteriner hekim', - 'Veteriner sağlık teknikeri', 'Veznedar', 'Vinç operatörü', 'Vitrinci', 'Yarbay', - 'Yardımcı pilot', 'Yargıç', 'Yazar', 'Yazı işleri müdürü', 'Yazılım mühendisi', - 'Yer gösterici', 'Yol bekçisi', 'Yorgancı', 'Yoğurtçu', 'Yıkıcı', 'Zabıta', 'Zoolog', - ]; + /** + * @see https://tr.wikipedia.org/wiki/Meslekler_listesi + * + * @note Randomly took 300 from this list + */ + protected static $jobTitleFormat = [ + 'Acil tıp teknisyeni', + 'Agronomist', + 'Aile hekimi', + 'Aktar', + 'Aktör', + 'Aktüer', + 'Akustikçi', + 'Albay', + 'Ambarcı', + 'Ambulans şoförü', + 'Amiral', + 'Analist', + 'Antika satıcısı', + 'Araba tamircisi', + 'Arabacı', + 'Araştırmacı', + 'Armatör', + 'Artist', + 'Asker', + 'Astrofizikçi', + 'Astrolog', + 'Astronom', + 'Astronot', + 'Atlet', + 'Avukat', + 'Ayakkabı boyacısı', + 'Ayakkabı tamircisi', + 'Ayakçı', + 'Ağ yöneticisi', + 'Aşçıbaşı', + 'Bacacı', + 'Badanacı', + 'Baharatçı', + 'Bahçe bitkileri uzmanı', + 'Bakkal', + 'Bakteriyolog', + 'Balon pilotu', + 'Bankacı', + 'Banker', + 'Barmeyd', + 'Başdümenci', + 'Başpiskopos', + 'Başçavuş', + 'Bebek Bakıcısı', + 'Belediye başkanı', + 'Belediye meclisi üyesi', + 'Besteci', + 'Biletçi', + 'Bilgi İşlemci', + 'Bilgisayar mühendisi', + 'Binicilik', + 'Biyografi yazarı', + 'Bobinajcı', + 'Borsacı', + 'Boyacı', + 'Bulaşıkçı', + 'Börekçi', + 'Çamaşırcı', + 'Çantacı', + 'Çevik Kuvvet', + 'Çevirmen', + 'Çevre Mühendisi', + 'Çevrebilimci', + 'Çeyizci', + 'Çiftlik işletici', + 'Çiftçi', + 'Çinici', + 'Çoban', + 'Çırak', + 'Dadı', + 'Daktilograf', + 'Dalgıç', + 'Dansöz', + 'Dedektif', + 'Derici', + 'Değirmen işçisi', + 'Değirmenci', + 'Dilci', + 'Diplomat', + 'Doktor', + 'Dokumacı', + 'Dondurmacı', + 'Doğramacı', + 'Dövizci', + 'Döşemeci', + 'Elektrik mühendisi', + 'Elektronik mühendisi', + 'Elektronik ve Haberleşme mühendisi', + 'Embriyolog', + 'Emniyet amiri', + 'Emniyet genel müdürü', + 'Ergonomist', + 'Eskici', + 'Falcı', + 'Fizikçi', + 'Fizyoterapist', + 'Fotoğrafçı', + 'Fıçıcı', + 'Galerici', + 'Garson', + 'Gazete dağıtıcısı', + 'Gazete satıcısı', + 'Gazeteci', + 'Gelir uzman yardımcısı', + 'General', + 'Genetik mühendisi', + 'Gezici vaiz', + 'Gondolcu', + 'Guru', + 'Gökbilimci', + 'Gözlükçü', + 'Güfteci', + 'Gümrük uzmanı', + 'Haham', + 'Hakem', + 'Halkbilimci', + 'Hamal', + 'Hamurkâr', + 'Hareket memuru', + 'Hava trafikçisi', + 'Havacı', + 'Hayvan terbiyecisi', + 'Hesap uzmanı', + 'Heykeltıraş', + 'Hokkabaz', + 'Irgat', + 'İcra memuru', + 'İllüzyonist', + 'İmam', + 'İnsan kaynakları uzmanı', + 'İplikçi', + 'İthalatçı', + 'İş ve uğraşı terapisti', + 'İşaretçi', + 'Jimnastikçi', + 'Jokey', + 'Kabin görevlisi', + 'Kabuk soyucusu', + 'Kadın berberi', + 'Kahveci', + 'Kalaycı', + 'Kaplamacı', + 'Kapı satıcısı', + 'Kardinal', + 'Kardiyolog', + 'Karikatürist', + 'Kat görevlisi', + 'Kaymakam', + 'Kayıkçı', + 'Kazıcı', + 'Klarnetçi', + 'Konserveci', + 'Konveyör operatörü', + 'Koramiral', + 'Korgeneral', + 'Kozmolog', + 'Kuaför', + 'Kumaşçı', + 'Kumcu', + 'Kuruyemişçi', + 'Kurye', + 'Kuyumcu', + 'Kâğıtçı', + 'Köpek eğiticisi', + 'Köşe yazarı', + 'Kürkçü', + 'Kırtasiyeci', + 'Laborant', + 'Laboratuar işçisi', + 'Lahmacuncu', + 'Lehimci', + 'Levazımcı', + 'Lobici', + 'Lokantacı', + 'Lokman', + 'Lostracı', + 'Madenci', + 'Makastar', + 'Makine mühendisi', + 'Makine zabiti', + 'Makyajcı', + 'Mali hizmetler uzmanı', + 'Manastır baş rahibesi', + 'Manifaturacı', + 'Manikürcü', + 'Masör', + 'Matematikçi', + 'Memur', + 'Mermerci', + 'Meteoroloji uzmanı', + 'Misyoner', + 'Model', + 'Modelci', + 'Modelist', + 'Montajcı', + 'Montör', + 'Muallim', + 'Muhafız', + 'Mumyalayıcı', + 'Müzik yönetmeni', + 'Müşavir', + 'Nalbant', + 'Nalbur', + 'Oduncu', + 'Orgcu', + 'Ornitolog', + 'Oto elektrikçisi', + 'Oto lastik tamircisi', + 'Oyuncakçı', + 'Oyuncu', + 'Ön muhasebe yardımcı elemanı', + 'Ön muhasebeci', + 'Öğretim elemanı', + 'Öğretim görevlisi', + 'Öğretim üyesi', + 'Papaz', + 'Paramedik', + 'Pastörizör', + 'Pencereci', + 'Perukçu', + 'Peyzaj teknikeri', + 'Peçeteci', + 'Pideci', + 'Pilot', + 'Piyanist', + 'Politikacı', + 'Pompacı', + 'Psikolog', + 'Radyolog', + 'Radyoloji teknisyeni/teknikeri', + 'Rejisör', + 'Reklamcı', + 'Rektör', + 'Rot balansçı', + 'Saat tamircisi', + 'Sanat yönetmeni', + 'Saraç', + 'Savcı', + 'Saz şairi', + 'Sekreter', + 'Ses teknisyeni', + 'Sicil memuru', + 'Sihirbaz', + 'Sistem mühendisi', + 'Sosyal hizmet uzmanı', + 'Sosyolog', + 'Soğuk demirci', + 'Stenograf', + 'Stilist', + 'Sucu', + 'Sunucu', + 'Susuz araç yıkama', + 'Sünnetçi', + 'Sürveyan', + 'Şapel papazı', + 'Şarkı sözü yazarı', + 'Şehir Plancısı', + 'Şekerci', + 'Şimşirci', + 'Şoför', + 'Tahsildar', + 'Tarihçi', + 'Tasarımcı', + 'Taşlayıcı', + 'Taşçı', + 'Tekniker', + 'Teknisyen', + 'Teknoloji uzmanı', + 'Televizyon tamircisi', + 'Terapist', + 'Tesisatçı', + 'Teşrifatçı', + 'Tornacı', + 'Tuğgeneral', + 'Ulaşım sorumlusu', + 'Ustabaşı', + 'Uydu antenci', + 'Üst Düzey Yönetici', + 'Ütücü', + 'Uzay bilimcisi', + 'Vali', + 'Veri hazırlama ve kontrol işletmeni', + 'Veteriner hekim', + 'Veteriner sağlık teknikeri', + 'Veznedar', + 'Vinç operatörü', + 'Vitrinci', + 'Yarbay', + 'Yardımcı pilot', + 'Yargıç', + 'Yazar', + 'Yazı işleri müdürü', + 'Yazılım mühendisi', + 'Yer gösterici', + 'Yol bekçisi', + 'Yorgancı', + 'Yoğurtçu', + 'Yıkıcı', + 'Zabıta', + 'Zoolog', + ]; - /** - * Returns a random company field. - * - * @return string - */ - public static function companyField() - { - return static::randomElement(static::$companyField); - } + /** + * Returns a random company field. + * + * @return string + */ + public static function companyField() { + return static::randomElement( static::$companyField ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/DateTime.php index 692c15c..6e052c5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/DateTime.php @@ -2,47 +2,43 @@ namespace Faker\Provider\tr_TR; -class DateTime extends \Faker\Provider\DateTime -{ - public static function amPm($max = 'now') - { - return static::dateTime($max)->format('a') === 'am' ? 'öö' : 'ös'; - } +class DateTime extends \Faker\Provider\DateTime { + public static function amPm( $max = 'now' ) { + return static::dateTime( $max )->format( 'a' ) === 'am' ? 'öö' : 'ös'; + } - public static function dayOfWeek($max = 'now') - { - $map = [ - 'Sunday' => 'Pazar', - 'Monday' => 'Pazartesi', - 'Tuesday' => 'Salı', - 'Wednesday' => 'Çarşamba', - 'Thursday' => 'Perşembe', - 'Friday' => 'Cuma', - 'Saturday' => 'Cumartesi', - ]; - $week = static::dateTime($max)->format('l'); + public static function dayOfWeek( $max = 'now' ) { + $map = [ + 'Sunday' => 'Pazar', + 'Monday' => 'Pazartesi', + 'Tuesday' => 'Salı', + 'Wednesday' => 'Çarşamba', + 'Thursday' => 'Perşembe', + 'Friday' => 'Cuma', + 'Saturday' => 'Cumartesi', + ]; + $week = static::dateTime( $max )->format( 'l' ); - return $map[$week] ?? $week; - } + return $map[ $week ] ?? $week; + } - public static function monthName($max = 'now') - { - $map = [ - 'January' => 'Ocak', - 'February' => 'Şubat', - 'March' => 'Mart', - 'April' => 'Nisan', - 'May' => 'Mayıs', - 'June' => 'Haziran', - 'July' => 'Temmuz', - 'August' => 'Ağustos', - 'September' => 'Eylül', - 'October' => 'Ekim', - 'November' => 'Kasım', - 'December' => 'Aralık', - ]; - $month = static::dateTime($max)->format('F'); + public static function monthName( $max = 'now' ) { + $map = [ + 'January' => 'Ocak', + 'February' => 'Şubat', + 'March' => 'Mart', + 'April' => 'Nisan', + 'May' => 'Mayıs', + 'June' => 'Haziran', + 'July' => 'Temmuz', + 'August' => 'Ağustos', + 'September' => 'Eylül', + 'October' => 'Ekim', + 'November' => 'Kasım', + 'December' => 'Aralık', + ]; + $month = static::dateTime( $max )->format( 'F' ); - return $map[$month] ?? $month; - } + return $map[ $month ] ?? $month; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Internet.php index 9d82111..8e442c5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Internet.php @@ -2,8 +2,29 @@ namespace Faker\Provider\tr_TR; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = ['gmail.com', 'hotmail.com', 'yahoo.com', 'yandex.com.tr', 'mynet.com', 'turk.net', 'superposta.com']; - protected static $tld = ['com', 'com', 'com', 'com', 'com.tr', 'com.tr', 'info', 'net', 'org', 'org.tr', 'edu', 'edu.tr', 'edu.tr']; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'hotmail.com', + 'yahoo.com', + 'yandex.com.tr', + 'mynet.com', + 'turk.net', + 'superposta.com' + ]; + protected static $tld = [ + 'com', + 'com', + 'com', + 'com', + 'com.tr', + 'com.tr', + 'info', + 'net', + 'org', + 'org.tr', + 'edu', + 'edu.tr', + 'edu.tr' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Payment.php index ac4bd36..b8ac41b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Payment.php @@ -2,21 +2,19 @@ namespace Faker\Provider\tr_TR; -class Payment extends \Faker\Provider\Payment -{ - /** - * International Bank Account Number (IBAN) - * - * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number - * - * @param string $prefix for generating bank account number of a specific bank - * @param string $countryCode ISO 3166-1 alpha-2 country code - * @param int $length total length without country code and 2 check digits - * - * @return string - */ - public static function bankAccountNumber($prefix = '', $countryCode = 'TR', $length = null) - { - return static::iban($countryCode, $prefix, $length); - } +class Payment extends \Faker\Provider\Payment { + /** + * International Bank Account Number (IBAN) + * + * @see http://en.wikipedia.org/wiki/International_Bank_Account_Number + * + * @param string $prefix for generating bank account number of a specific bank + * @param string $countryCode ISO 3166-1 alpha-2 country code + * @param int $length total length without country code and 2 check digits + * + * @return string + */ + public static function bankAccountNumber( $prefix = '', $countryCode = 'TR', $length = null ) { + return static::iban( $countryCode, $prefix, $length ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Person.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Person.php index 461dc9a..5b14c24 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/Person.php @@ -2,158 +2,383 @@ namespace Faker\Provider\tr_TR; -class Person extends \Faker\Provider\Person -{ - /** - * @var array Turkish person name formats. - */ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{firstNameMale}} {{lastName}}', - '{{titleMale}} {{firstNameMale}} {{lastName}}', - ]; - - protected static $femaleNameFormats = [ - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{firstNameFemale}} {{lastName}}', - '{{titleFemale}} {{firstNameFemale}} {{lastName}}', - ]; - - /** - * @see http://www.guzelisimler.com/en_cok_aranan_erkek_isimleri.php - * - * @var array Turkish first names. - */ - protected static $firstNameMale = [ - 'Ahmet', 'Ali', 'Alp', 'Armağan', 'Atakan', 'Aşkın', 'Baran', 'Bartu', 'Berk', 'Berkay', 'Berke', 'Bora', 'Burak', 'Canberk', - 'Cem', 'Cihan', 'Deniz', 'Efe', 'Ege', 'Ege', 'Emir', 'Emirhan', 'Emre', 'Ferid', 'Göktürk', 'Görkem', 'Güney', - 'Kağan', 'Kerem', 'Koray', 'Kutay', 'Mert', 'Onur', 'Ogün', 'Polat', 'Rüzgar', 'Sarp', 'Serhan', 'Toprak', 'Tuna', - 'Türker', 'Utku', 'Yağız', 'Yiğit', 'Çınar', 'Derin', 'Meriç', 'Barlas', 'Dağhan', 'Doruk', 'Çağan', - ]; - - /** - * @see http://www.guzelisimler.com/en_cok_aranan_kiz_isimleri.php - * - * @var array Turkish first names. - */ - protected static $firstNameFemale = [ - 'Ada', 'Esma', 'Emel', 'Ebru', 'Şahnur', 'Ümran', 'Sinem', 'İrem', 'Rüya', 'Ece', 'Burcu', - ]; - - /** - * @see http://tr.wikipedia.org/wiki/Kategori:T%C3%BCrk%C3%A7e_soyadlar%C4%B1 - * - * @var array Turkish last names. - */ - protected static $lastName = [ - 'Abacı', 'Abadan', 'Aclan', 'Adal', 'Adan', 'Adıvar', 'Akal', 'Akan', 'Akar', 'Akay', - 'Akaydın', 'Akbulut', 'Akgül', 'Akışık', 'Akman', 'Akyürek', 'Akyüz', 'Akşit', 'Alnıaçık', - 'Alpuğan', 'Alyanak', 'Arıcan', 'Arslanoğlu', 'Atakol', 'Atan', 'Avan', 'Ayaydın', 'Aybar', - 'Aydan', 'Aykaç', 'Ayverdi', 'Ağaoğlu', 'Aşıkoğlu', 'Babacan', 'Babaoğlu', 'Bademci', - 'Bakırcıoğlu', 'Balaban', 'Balcı', 'Barbarosoğlu', 'Baturalp', 'Baykam', 'Başoğlu', 'Berberoğlu', - 'Beşerler', 'Beşok', 'Biçer', 'Bolatlı', 'Dalkıran', 'Dağdaş', 'Dağlaroğlu', 'Demirbaş', 'Demirel', - 'Denkel', 'Dizdar', 'Doğan', 'Durak', 'Durmaz', 'Duygulu', 'Düşenkalkar', 'Egeli', 'Ekici', 'Ekşioğlu', - 'Eliçin', 'Elmastaşoğlu', 'Elçiboğa', 'Erbay', 'Erberk', 'Erbulak', 'Erdoğan', 'Erez', 'Erginsoy', - 'Erkekli', 'Eronat', 'Ertepınar', 'Ertürk', 'Erçetin', 'Evliyaoğlu', 'Fahri', 'Gönültaş', 'Gümüşpala', - 'Günday', 'Gürmen', 'Ilıcalı', 'Kahveci', 'Kaplangı', 'Karabulut', 'Karaböcek', 'Karadaş', 'Karaduman', - 'Karaer', 'Kasapoğlu', 'Kavaklıoğlu', 'Kaya', 'Keseroğlu', 'Keçeci', 'Kılıççı', 'Kıraç', 'Kocabıyık', - 'Korol', 'Koyuncu', 'Koç', 'Koçoğlu', 'Koçyiğit', 'Kuday', 'Kulaksızoğlu', 'Kumcuoğlu', 'Kunt', - 'Kunter', 'Kurutluoğlu', 'Kutlay', 'Kuzucu', 'Körmükçü', 'Köybaşı', 'Köylüoğlu', 'Küçükler', 'Limoncuoğlu', - 'Mayhoş', 'Menemencioğlu', 'Mertoğlu', 'Nalbantoğlu', 'Nebioğlu', 'Numanoğlu', 'Okumuş', 'Okur', 'Oraloğlu', - 'Orbay', 'Ozansoy', 'Paksüt', 'Pekkan', 'Pektemek', 'Polat', 'Poyrazoğlu', 'Poçan', 'Sadıklar', 'Samancı', - 'Sandalcı', 'Sarıoğlu', 'Saygıner', 'Sepetçi', 'Sezek', 'Sinanoğlu', 'Solmaz', 'Sözeri', 'Süleymanoğlu', - 'Tahincioğlu', 'Tanrıkulu', 'Tazegül', 'Taşlı', 'Taşçı', 'Tekand', 'Tekelioğlu', 'Tokatlıoğlu', 'Tokgöz', - 'Topaloğlu', 'Topçuoğlu', 'Toraman', 'Tunaboylu', 'Tunçeri', 'Tuğlu', 'Tuğluk', 'Türkdoğan', 'Türkyılmaz', - 'Tütüncü', 'Tüzün', 'Uca', 'Uluhan', 'Velioğlu', 'Yalçın', 'Yazıcı', 'Yetkiner', 'Yeşilkaya', 'Yıldırım', - 'Yıldızoğlu', 'Yılmazer', 'Yorulmaz', 'Çamdalı', 'Çapanoğlu', 'Çatalbaş', 'Çağıran', 'Çetin', 'Çetiner', - 'Çevik', 'Çörekçi', 'Önür', 'Örge', 'Öymen', 'Özberk', 'Özbey', 'Özbir', 'Özdenak', 'Özdoğan', 'Özgörkey', - 'Özkara', 'Özkök', 'Öztonga', 'Öztuna', - ]; - - protected static $title = ['Doç. Dr.', 'Dr.', 'Prof. Dr.']; - - public function title($gender = null) - { - return static::titleMale(); - } - - /** - * replaced by specific unisex Turkish title - */ - public static function titleMale() - { - return static::randomElement(static::$title); - } - - /** - * replaced by specific unisex Turkish title - */ - public static function titleFemale() - { - return static::titleMale(); - } - - /** - * National Personal Identity number (tc kimlik no) - * - * @see https://en.wikipedia.org/wiki/Turkish_Identification_Number - * - * @return string on format XXXXXXXXXXX - */ - public function tcNo() - { - $randomDigits = static::numerify('#########'); - $checksum = self::tcNoChecksum($randomDigits); - - return $randomDigits . $checksum; - } - - /** - * Generates Turkish Identity Number Checksum - * Gets first 9 digit as prefix and calculates checksum - * - * @see https://en.wikipedia.org/wiki/Turkish_Identification_Number - * - * @param string $identityPrefix - * - * @return string Checksum (two digit) - */ - public static function tcNoChecksum($identityPrefix) - { - if (strlen((string) $identityPrefix) !== 9) { - throw new \InvalidArgumentException('Argument should be an integer and should be 9 digits.'); - } - - $oddSum = 0; - $evenSum = 0; - - $identityArray = array_map('intval', str_split($identityPrefix)); // Creates array from int - - foreach ($identityArray as $index => $digit) { - if ($index % 2 === 0) { - $evenSum += $digit; - } else { - $oddSum += $digit; - } - } - - $tenthDigit = (7 * $evenSum - $oddSum) % 10; - $eleventhDigit = ($evenSum + $oddSum + $tenthDigit) % 10; - - return $tenthDigit . $eleventhDigit; - } - - /** - * Checks whether a TCNo has a valid checksum - * - * @param string $tcNo - * - * @return bool - */ - public static function tcNoIsValid($tcNo) - { - return self::tcNoChecksum(substr($tcNo, 0, -2)) === substr($tcNo, -2, 2); - } +class Person extends \Faker\Provider\Person { + /** + * @var array Turkish person name formats. + */ + protected static $maleNameFormats = [ + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{firstNameMale}} {{lastName}}', + '{{titleMale}} {{firstNameMale}} {{lastName}}', + ]; + + protected static $femaleNameFormats = [ + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{firstNameFemale}} {{lastName}}', + '{{titleFemale}} {{firstNameFemale}} {{lastName}}', + ]; + + /** + * @see http://www.guzelisimler.com/en_cok_aranan_erkek_isimleri.php + * + * @var array Turkish first names. + */ + protected static $firstNameMale = [ + 'Ahmet', + 'Ali', + 'Alp', + 'Armağan', + 'Atakan', + 'Aşkın', + 'Baran', + 'Bartu', + 'Berk', + 'Berkay', + 'Berke', + 'Bora', + 'Burak', + 'Canberk', + 'Cem', + 'Cihan', + 'Deniz', + 'Efe', + 'Ege', + 'Ege', + 'Emir', + 'Emirhan', + 'Emre', + 'Ferid', + 'Göktürk', + 'Görkem', + 'Güney', + 'Kağan', + 'Kerem', + 'Koray', + 'Kutay', + 'Mert', + 'Onur', + 'Ogün', + 'Polat', + 'Rüzgar', + 'Sarp', + 'Serhan', + 'Toprak', + 'Tuna', + 'Türker', + 'Utku', + 'Yağız', + 'Yiğit', + 'Çınar', + 'Derin', + 'Meriç', + 'Barlas', + 'Dağhan', + 'Doruk', + 'Çağan', + ]; + + /** + * @see http://www.guzelisimler.com/en_cok_aranan_kiz_isimleri.php + * + * @var array Turkish first names. + */ + protected static $firstNameFemale = [ + 'Ada', + 'Esma', + 'Emel', + 'Ebru', + 'Şahnur', + 'Ümran', + 'Sinem', + 'İrem', + 'Rüya', + 'Ece', + 'Burcu', + ]; + + /** + * @see http://tr.wikipedia.org/wiki/Kategori:T%C3%BCrk%C3%A7e_soyadlar%C4%B1 + * + * @var array Turkish last names. + */ + protected static $lastName = [ + 'Abacı', + 'Abadan', + 'Aclan', + 'Adal', + 'Adan', + 'Adıvar', + 'Akal', + 'Akan', + 'Akar', + 'Akay', + 'Akaydın', + 'Akbulut', + 'Akgül', + 'Akışık', + 'Akman', + 'Akyürek', + 'Akyüz', + 'Akşit', + 'Alnıaçık', + 'Alpuğan', + 'Alyanak', + 'Arıcan', + 'Arslanoğlu', + 'Atakol', + 'Atan', + 'Avan', + 'Ayaydın', + 'Aybar', + 'Aydan', + 'Aykaç', + 'Ayverdi', + 'Ağaoğlu', + 'Aşıkoğlu', + 'Babacan', + 'Babaoğlu', + 'Bademci', + 'Bakırcıoğlu', + 'Balaban', + 'Balcı', + 'Barbarosoğlu', + 'Baturalp', + 'Baykam', + 'Başoğlu', + 'Berberoğlu', + 'Beşerler', + 'Beşok', + 'Biçer', + 'Bolatlı', + 'Dalkıran', + 'Dağdaş', + 'Dağlaroğlu', + 'Demirbaş', + 'Demirel', + 'Denkel', + 'Dizdar', + 'Doğan', + 'Durak', + 'Durmaz', + 'Duygulu', + 'Düşenkalkar', + 'Egeli', + 'Ekici', + 'Ekşioğlu', + 'Eliçin', + 'Elmastaşoğlu', + 'Elçiboğa', + 'Erbay', + 'Erberk', + 'Erbulak', + 'Erdoğan', + 'Erez', + 'Erginsoy', + 'Erkekli', + 'Eronat', + 'Ertepınar', + 'Ertürk', + 'Erçetin', + 'Evliyaoğlu', + 'Fahri', + 'Gönültaş', + 'Gümüşpala', + 'Günday', + 'Gürmen', + 'Ilıcalı', + 'Kahveci', + 'Kaplangı', + 'Karabulut', + 'Karaböcek', + 'Karadaş', + 'Karaduman', + 'Karaer', + 'Kasapoğlu', + 'Kavaklıoğlu', + 'Kaya', + 'Keseroğlu', + 'Keçeci', + 'Kılıççı', + 'Kıraç', + 'Kocabıyık', + 'Korol', + 'Koyuncu', + 'Koç', + 'Koçoğlu', + 'Koçyiğit', + 'Kuday', + 'Kulaksızoğlu', + 'Kumcuoğlu', + 'Kunt', + 'Kunter', + 'Kurutluoğlu', + 'Kutlay', + 'Kuzucu', + 'Körmükçü', + 'Köybaşı', + 'Köylüoğlu', + 'Küçükler', + 'Limoncuoğlu', + 'Mayhoş', + 'Menemencioğlu', + 'Mertoğlu', + 'Nalbantoğlu', + 'Nebioğlu', + 'Numanoğlu', + 'Okumuş', + 'Okur', + 'Oraloğlu', + 'Orbay', + 'Ozansoy', + 'Paksüt', + 'Pekkan', + 'Pektemek', + 'Polat', + 'Poyrazoğlu', + 'Poçan', + 'Sadıklar', + 'Samancı', + 'Sandalcı', + 'Sarıoğlu', + 'Saygıner', + 'Sepetçi', + 'Sezek', + 'Sinanoğlu', + 'Solmaz', + 'Sözeri', + 'Süleymanoğlu', + 'Tahincioğlu', + 'Tanrıkulu', + 'Tazegül', + 'Taşlı', + 'Taşçı', + 'Tekand', + 'Tekelioğlu', + 'Tokatlıoğlu', + 'Tokgöz', + 'Topaloğlu', + 'Topçuoğlu', + 'Toraman', + 'Tunaboylu', + 'Tunçeri', + 'Tuğlu', + 'Tuğluk', + 'Türkdoğan', + 'Türkyılmaz', + 'Tütüncü', + 'Tüzün', + 'Uca', + 'Uluhan', + 'Velioğlu', + 'Yalçın', + 'Yazıcı', + 'Yetkiner', + 'Yeşilkaya', + 'Yıldırım', + 'Yıldızoğlu', + 'Yılmazer', + 'Yorulmaz', + 'Çamdalı', + 'Çapanoğlu', + 'Çatalbaş', + 'Çağıran', + 'Çetin', + 'Çetiner', + 'Çevik', + 'Çörekçi', + 'Önür', + 'Örge', + 'Öymen', + 'Özberk', + 'Özbey', + 'Özbir', + 'Özdenak', + 'Özdoğan', + 'Özgörkey', + 'Özkara', + 'Özkök', + 'Öztonga', + 'Öztuna', + ]; + + protected static $title = [ 'Doç. Dr.', 'Dr.', 'Prof. Dr.' ]; + + public function title( $gender = null ) { + return static::titleMale(); + } + + /** + * replaced by specific unisex Turkish title + */ + public static function titleMale() { + return static::randomElement( static::$title ); + } + + /** + * replaced by specific unisex Turkish title + */ + public static function titleFemale() { + return static::titleMale(); + } + + /** + * National Personal Identity number (tc kimlik no) + * + * @see https://en.wikipedia.org/wiki/Turkish_Identification_Number + * + * @return string on format XXXXXXXXXXX + */ + public function tcNo() { + $randomDigits = static::numerify( '#########' ); + $checksum = self::tcNoChecksum( $randomDigits ); + + return $randomDigits . $checksum; + } + + /** + * Generates Turkish Identity Number Checksum + * Gets first 9 digit as prefix and calculates checksum + * + * @see https://en.wikipedia.org/wiki/Turkish_Identification_Number + * + * @param string $identityPrefix + * + * @return string Checksum (two digit) + */ + public static function tcNoChecksum( $identityPrefix ) { + if ( strlen( (string) $identityPrefix ) !== 9 ) { + throw new \InvalidArgumentException( 'Argument should be an integer and should be 9 digits.' ); + } + + $oddSum = 0; + $evenSum = 0; + + $identityArray = array_map( 'intval', str_split( $identityPrefix ) ); // Creates array from int + + foreach ( $identityArray as $index => $digit ) { + if ( $index % 2 === 0 ) { + $evenSum += $digit; + } else { + $oddSum += $digit; + } + } + + $tenthDigit = ( 7 * $evenSum - $oddSum ) % 10; + $eleventhDigit = ( $evenSum + $oddSum + $tenthDigit ) % 10; + + return $tenthDigit . $eleventhDigit; + } + + /** + * Checks whether a TCNo has a valid checksum + * + * @param string $tcNo + * + * @return bool + */ + public static function tcNoIsValid( $tcNo ) { + return self::tcNoChecksum( substr( $tcNo, 0, - 2 ) ) === substr( $tcNo, - 2, 2 ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/PhoneNumber.php index 3103c77..8fcb6fe 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/tr_TR/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/tr_TR/PhoneNumber.php @@ -2,185 +2,184 @@ namespace Faker\Provider\tr_TR; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * Mixed landline and mobile phone numbers valid for Turkey - * - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Turkey - * - * @var string[] - */ - protected static $formats = [ - '0212#######', - '0216#######', - '0222#######', - '0224#######', - '050########', - '053########', - '054########', - '055########', - '0 212 ### ## ##', - '0 216 ### ## ##', - '0 222 ### ## ##', - '0 224 ### ## ##', - '0 50# ### ## ##', - '0 53# ### ## ##', - '0 54# ### ## ##', - '0 55# ### ## ##', - '0 (212) ### ## ##', - '0 (216) ### ## ##', - '0 (222) ### ## ##', - '0 (224) ### ## ##', - '0 (50#) ### ## ##', - '0 (53#) ### ## ##', - '0 (54#) ### ## ##', - '0 (55#) ### ## ##', - '+90212#######', - '+90216#######', - '+90222#######', - '+90224#######', - '+9050########', - '+9053########', - '+9054########', - '+9055########', - '+90 212 ### ## ##', - '+90 216 ### ## ##', - '+90 222 ### ## ##', - '+90 224 ### ## ##', - '+90 50# ### ## ##', - '+90 53# ### ## ##', - '+90 54# ### ## ##', - '+90 55# ### ## ##', - '+90 (212) ### ## ##', - '+90 (216) ### ## ##', - '+90 (222) ### ## ##', - '+90 (224) ### ## ##', - '+90 (50#) ### ## ##', - '+90 (53#) ### ## ##', - '+90 (54#) ### ## ##', - '+90 (55#) ### ## ##', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * Mixed landline and mobile phone numbers valid for Turkey + * + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Turkey + * + * @var string[] + */ + protected static $formats = [ + '0212#######', + '0216#######', + '0222#######', + '0224#######', + '050########', + '053########', + '054########', + '055########', + '0 212 ### ## ##', + '0 216 ### ## ##', + '0 222 ### ## ##', + '0 224 ### ## ##', + '0 50# ### ## ##', + '0 53# ### ## ##', + '0 54# ### ## ##', + '0 55# ### ## ##', + '0 (212) ### ## ##', + '0 (216) ### ## ##', + '0 (222) ### ## ##', + '0 (224) ### ## ##', + '0 (50#) ### ## ##', + '0 (53#) ### ## ##', + '0 (54#) ### ## ##', + '0 (55#) ### ## ##', + '+90212#######', + '+90216#######', + '+90222#######', + '+90224#######', + '+9050########', + '+9053########', + '+9054########', + '+9055########', + '+90 212 ### ## ##', + '+90 216 ### ## ##', + '+90 222 ### ## ##', + '+90 224 ### ## ##', + '+90 50# ### ## ##', + '+90 53# ### ## ##', + '+90 54# ### ## ##', + '+90 55# ### ## ##', + '+90 (212) ### ## ##', + '+90 (216) ### ## ##', + '+90 (222) ### ## ##', + '+90 (224) ### ## ##', + '+90 (50#) ### ## ##', + '+90 (53#) ### ## ##', + '+90 (54#) ### ## ##', + '+90 (55#) ### ## ##', + ]; - /** - * Mixed landline and mobile phone numbers in E164 format valid for Turkey - * - * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Turkey - * - * @var string[] - */ - protected static $e164Formats = [ - '+90212#######', - '+90216#######', - '+90222#######', - '+90224#######', - '+90226#######', - '+90228#######', - '+90232#######', - '+90236#######', - '+90242#######', - '+90246#######', - '+90248#######', - '+90252#######', - '+90256#######', - '+90258#######', - '+90262#######', - '+90264#######', - '+90266#######', - '+90272#######', - '+90274#######', - '+90276#######', - '+90282#######', - '+90284#######', - '+90286#######', - '+90288#######', - '+90312#######', - '+90318#######', - '+90322#######', - '+90324#######', - '+90326#######', - '+90328#######', - '+90332#######', - '+90338#######', - '+90342#######', - '+90344#######', - '+90346#######', - '+90348#######', - '+90352#######', - '+90354#######', - '+90356#######', - '+90358#######', - '+90362#######', - '+90364#######', - '+90366#######', - '+90368#######', - '+90370#######', - '+90372#######', - '+90374#######', - '+90376#######', - '+90378#######', - '+90380#######', - '+90382#######', - '+90384#######', - '+90386#######', - '+90388#######', - '+90412#######', - '+90414#######', - '+90416#######', - '+90422#######', - '+90424#######', - '+90426#######', - '+90428#######', - '+90432#######', - '+90434#######', - '+90436#######', - '+90438#######', - '+90442#######', - '+90446#######', - '+90452#######', - '+90454#######', - '+90456#######', - '+90458#######', - '+90462#######', - '+90464#######', - '+90466#######', - '+90472#######', - '+90474#######', - '+90476#######', - '+90478#######', - '+90482#######', - '+90484#######', - '+90486#######', - '+90488#######', - '+90501#######', - '+90502#######', - '+90503#######', - '+90504#######', - '+90505#######', - '+90506#######', - '+90507#######', - '+90530#######', - '+90531#######', - '+90532#######', - '+90533#######', - '+90534#######', - '+90535#######', - '+90536#######', - '+90537#######', - '+90538#######', - '+90539#######', - '+90541#######', - '+90542#######', - '+90543#######', - '+90544#######', - '+90545#######', - '+90546#######', - '+90549#######', - '+90551#######', - '+90552#######', - '+90553#######', - '+90554#######', - '+90555#######', - '+90556#######', - ]; + /** + * Mixed landline and mobile phone numbers in E164 format valid for Turkey + * + * @see https://en.wikipedia.org/wiki/Telephone_numbers_in_Turkey + * + * @var string[] + */ + protected static $e164Formats = [ + '+90212#######', + '+90216#######', + '+90222#######', + '+90224#######', + '+90226#######', + '+90228#######', + '+90232#######', + '+90236#######', + '+90242#######', + '+90246#######', + '+90248#######', + '+90252#######', + '+90256#######', + '+90258#######', + '+90262#######', + '+90264#######', + '+90266#######', + '+90272#######', + '+90274#######', + '+90276#######', + '+90282#######', + '+90284#######', + '+90286#######', + '+90288#######', + '+90312#######', + '+90318#######', + '+90322#######', + '+90324#######', + '+90326#######', + '+90328#######', + '+90332#######', + '+90338#######', + '+90342#######', + '+90344#######', + '+90346#######', + '+90348#######', + '+90352#######', + '+90354#######', + '+90356#######', + '+90358#######', + '+90362#######', + '+90364#######', + '+90366#######', + '+90368#######', + '+90370#######', + '+90372#######', + '+90374#######', + '+90376#######', + '+90378#######', + '+90380#######', + '+90382#######', + '+90384#######', + '+90386#######', + '+90388#######', + '+90412#######', + '+90414#######', + '+90416#######', + '+90422#######', + '+90424#######', + '+90426#######', + '+90428#######', + '+90432#######', + '+90434#######', + '+90436#######', + '+90438#######', + '+90442#######', + '+90446#######', + '+90452#######', + '+90454#######', + '+90456#######', + '+90458#######', + '+90462#######', + '+90464#######', + '+90466#######', + '+90472#######', + '+90474#######', + '+90476#######', + '+90478#######', + '+90482#######', + '+90484#######', + '+90486#######', + '+90488#######', + '+90501#######', + '+90502#######', + '+90503#######', + '+90504#######', + '+90505#######', + '+90506#######', + '+90507#######', + '+90530#######', + '+90531#######', + '+90532#######', + '+90533#######', + '+90534#######', + '+90535#######', + '+90536#######', + '+90537#######', + '+90538#######', + '+90539#######', + '+90541#######', + '+90542#######', + '+90543#######', + '+90544#######', + '+90545#######', + '+90546#######', + '+90549#######', + '+90551#######', + '+90552#######', + '+90553#######', + '+90554#######', + '+90555#######', + '+90556#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Address.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Address.php index c53ecc3..7812876 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Address.php @@ -2,363 +2,355 @@ namespace Faker\Provider\uk_UA; -class Address extends \Faker\Provider\Address -{ - protected static $cityPrefix = ['місто']; - protected static $regionSuffix = ['область']; - protected static $streetPrefix = [ - 'вул.', 'пров.', 'пл.', 'просп.', - ]; - protected static $buildingNumber = ['%#']; - protected static $postcode = ['#####']; - protected static $country = [ - 'Афганістан', - 'Албанія', - 'Алжир', - 'Андорра', - 'Ангола', - 'Аргентина', - 'Вірменія', - 'Австралія', - 'Австрія', - 'Азербайджан', - 'Багамські острови', - 'Бахрейн', - 'Бангладеш', - 'Барбадос', - 'Білорусь', - 'Бельгія', - 'Беліз', - 'Бенін', - 'Бутан', - 'Болівія', - 'Боснія і Герцеговина', - 'Ботсвана', - 'Бразилія', - 'Бруней', - 'Болгарія', - 'Бурунді', - 'Камбоджа', - 'Камерун', - 'Канада', - 'Кабо-Верде', - 'Центрально-Африканська Республіка', - 'Чад', - 'Чилі', - 'Китай', - 'Колумбія', - 'Коморські острови', - 'Конго', - 'Конго, Демократична Республіка', - 'Коста-Ріка', - 'Хорватія', - 'Куба', - 'Кіпр', - 'Чеська республіка', - 'Данія', - 'Джибуті', - 'Домініка', - 'Домініканська Республіка', - 'східний Тимор', - 'Еквадор', - 'Єгипет', - 'Сальвадор', - 'Екваторіальна Гвінея', - 'Еритрея', - 'Естонія', - 'Ефіопія', - 'Фіджі', - 'Фінляндія', - 'Франція', - 'Габон', - 'Гамбія', - 'Грузія', - 'Німеччина', - 'Гана', - 'Греція', - 'Гренада', - 'Гватемала', - 'Гвінея', - 'Гвінея-Бісау', - 'Гайана', - 'Гаїті', - 'Гондурас', - 'Угорщина', - 'Ісландія', - 'Індія', - 'Індонезія', - 'Іран', - 'Ірак', - 'Ірландія', - 'Ізраїль', - 'Італія', - 'Ямайка', - 'Японія', - 'Йорданія', - 'Казахстан', - 'Кенія', - 'Кірібаті', - 'Північна Корея', - 'Південна Корея', - 'Косово', - 'Кувейт', - 'Киргизія', - 'Лаос', - 'Латвія', - 'Ліван', - 'Лесото', - 'Ліберія', - 'Лівія', - 'Ліхтенштейн', - 'Литва', - 'Люксембург', - 'Македонії', - 'Мадагаскар', - 'Малаві', - 'Малайзія', - 'Мальдіви', - 'Малі', - 'Мальта', - 'Маршаллові острови', - 'Мавританія', - 'Маврикій', - 'Мексика', - 'Мікронезія', - 'Молдова', - 'Монако', - 'Монголія', - 'Чорногорія', - 'Марокко', - 'Мозамбік', - 'М\'янма', - 'Намібія', - 'Науру', - 'Непал', - 'Нідерланди', - 'Нова Зеландія', - 'Нікарагуа', - 'Нігер', - 'Нігерія', - 'Норвегія', - 'Оман', - 'Пакистан', - 'Палау', - 'Панама', - 'Папуа-Нова Гвінея', - 'Парагвай', - 'Перу', - 'Філіппіни', - 'Польща', - 'Португалія', - 'Катар', - 'Румунія', - 'Російська Федерація', - 'Руанда', - 'Сент-Кітс і Невіс', - 'Сент-Люсія', - 'Сент-Вінсент і Гренадіни', - 'Самоа', - 'Саудівська Аравія', - 'Сенегал', - 'Сербія', - 'Сейшельські острови', - 'Сьєрра-Леоне', - 'Сінгапур', - 'Словаччина', - 'Словенія', - 'Соломонові острови', - 'Сомалі', - 'ПАР', - 'Іспанія', - 'Шрі Ланка', - 'Судан', - 'Сурінам', - 'Свазіленд', - 'Швеція', - 'Швейцарія', - 'Сирія', - 'Тайвань', - 'Таджикистан', - 'Танзанія', - 'Таїланд', - 'Того', - 'Тонга', - 'Тринідад і Тобаго', - 'Туніс', - 'Туреччина', - 'Туркменістан', - 'Тувалу', - 'Уганда', - 'Україна', - 'Об\'єднані Арабські Емірати', - 'Великобританія', - 'Сполучені Штати', - 'Уругвай', - 'Узбекистан', - 'Вануату', - 'Ватикан', - 'Венесуела', - 'В\'єтнам', - 'Ємен', - 'Замбія', - 'Зімбабве', - ]; +class Address extends \Faker\Provider\Address { + protected static $cityPrefix = [ 'місто' ]; + protected static $regionSuffix = [ 'область' ]; + protected static $streetPrefix = [ + 'вул.', + 'пров.', + 'пл.', + 'просп.', + ]; + protected static $buildingNumber = [ '%#' ]; + protected static $postcode = [ '#####' ]; + protected static $country = [ + 'Афганістан', + 'Албанія', + 'Алжир', + 'Андорра', + 'Ангола', + 'Аргентина', + 'Вірменія', + 'Австралія', + 'Австрія', + 'Азербайджан', + 'Багамські острови', + 'Бахрейн', + 'Бангладеш', + 'Барбадос', + 'Білорусь', + 'Бельгія', + 'Беліз', + 'Бенін', + 'Бутан', + 'Болівія', + 'Боснія і Герцеговина', + 'Ботсвана', + 'Бразилія', + 'Бруней', + 'Болгарія', + 'Бурунді', + 'Камбоджа', + 'Камерун', + 'Канада', + 'Кабо-Верде', + 'Центрально-Африканська Республіка', + 'Чад', + 'Чилі', + 'Китай', + 'Колумбія', + 'Коморські острови', + 'Конго', + 'Конго, Демократична Республіка', + 'Коста-Ріка', + 'Хорватія', + 'Куба', + 'Кіпр', + 'Чеська республіка', + 'Данія', + 'Джибуті', + 'Домініка', + 'Домініканська Республіка', + 'східний Тимор', + 'Еквадор', + 'Єгипет', + 'Сальвадор', + 'Екваторіальна Гвінея', + 'Еритрея', + 'Естонія', + 'Ефіопія', + 'Фіджі', + 'Фінляндія', + 'Франція', + 'Габон', + 'Гамбія', + 'Грузія', + 'Німеччина', + 'Гана', + 'Греція', + 'Гренада', + 'Гватемала', + 'Гвінея', + 'Гвінея-Бісау', + 'Гайана', + 'Гаїті', + 'Гондурас', + 'Угорщина', + 'Ісландія', + 'Індія', + 'Індонезія', + 'Іран', + 'Ірак', + 'Ірландія', + 'Ізраїль', + 'Італія', + 'Ямайка', + 'Японія', + 'Йорданія', + 'Казахстан', + 'Кенія', + 'Кірібаті', + 'Північна Корея', + 'Південна Корея', + 'Косово', + 'Кувейт', + 'Киргизія', + 'Лаос', + 'Латвія', + 'Ліван', + 'Лесото', + 'Ліберія', + 'Лівія', + 'Ліхтенштейн', + 'Литва', + 'Люксембург', + 'Македонії', + 'Мадагаскар', + 'Малаві', + 'Малайзія', + 'Мальдіви', + 'Малі', + 'Мальта', + 'Маршаллові острови', + 'Мавританія', + 'Маврикій', + 'Мексика', + 'Мікронезія', + 'Молдова', + 'Монако', + 'Монголія', + 'Чорногорія', + 'Марокко', + 'Мозамбік', + 'М\'янма', + 'Намібія', + 'Науру', + 'Непал', + 'Нідерланди', + 'Нова Зеландія', + 'Нікарагуа', + 'Нігер', + 'Нігерія', + 'Норвегія', + 'Оман', + 'Пакистан', + 'Палау', + 'Панама', + 'Папуа-Нова Гвінея', + 'Парагвай', + 'Перу', + 'Філіппіни', + 'Польща', + 'Португалія', + 'Катар', + 'Румунія', + 'Російська Федерація', + 'Руанда', + 'Сент-Кітс і Невіс', + 'Сент-Люсія', + 'Сент-Вінсент і Гренадіни', + 'Самоа', + 'Саудівська Аравія', + 'Сенегал', + 'Сербія', + 'Сейшельські острови', + 'Сьєрра-Леоне', + 'Сінгапур', + 'Словаччина', + 'Словенія', + 'Соломонові острови', + 'Сомалі', + 'ПАР', + 'Іспанія', + 'Шрі Ланка', + 'Судан', + 'Сурінам', + 'Свазіленд', + 'Швеція', + 'Швейцарія', + 'Сирія', + 'Тайвань', + 'Таджикистан', + 'Танзанія', + 'Таїланд', + 'Того', + 'Тонга', + 'Тринідад і Тобаго', + 'Туніс', + 'Туреччина', + 'Туркменістан', + 'Тувалу', + 'Уганда', + 'Україна', + 'Об\'єднані Арабські Емірати', + 'Великобританія', + 'Сполучені Штати', + 'Уругвай', + 'Узбекистан', + 'Вануату', + 'Ватикан', + 'Венесуела', + 'В\'єтнам', + 'Ємен', + 'Замбія', + 'Зімбабве', + ]; - protected static $region = [ - 'Вінницька', - 'Волинська', - 'Дніпропетровська', - 'Донецька', - 'Житомирська', - 'Закарпатська', - 'Запорізька', - 'Івано-Франківська', - 'Київська', - 'Кіровоградська', - 'Луганська', - 'Львівська', - 'Миколаївська', - 'Одеська', - 'Полтавська', - 'Рівненська', - 'Сумська', - 'Тернопільська', - 'Харківська', - 'Херсонська', - 'Хмельницька', - 'Черкаська', - 'Чернівецька', - 'Чернігівська', - ]; + protected static $region = [ + 'Вінницька', + 'Волинська', + 'Дніпропетровська', + 'Донецька', + 'Житомирська', + 'Закарпатська', + 'Запорізька', + 'Івано-Франківська', + 'Київська', + 'Кіровоградська', + 'Луганська', + 'Львівська', + 'Миколаївська', + 'Одеська', + 'Полтавська', + 'Рівненська', + 'Сумська', + 'Тернопільська', + 'Харківська', + 'Херсонська', + 'Хмельницька', + 'Черкаська', + 'Чернівецька', + 'Чернігівська', + ]; - protected static $city = [ - 'Вінниця', - 'Луцьк', - 'Дніпро', - 'Донецьк', - 'Житомир', - 'Ужгород', - 'Запоріжжя', - 'Івано-Франківськ', - 'Київ', - 'Кропивницький', - 'Луганськ', - 'Львів', - 'Миколаїв', - 'Одеса', - 'Полтава', - 'Рівне', - 'Суми', - 'Тернопіль', - 'Харків', - 'Херсон', - 'Хмельницький', - 'Черкаси', - 'Чернівці', - 'Чернігів', - ]; + protected static $city = [ + 'Вінниця', + 'Луцьк', + 'Дніпро', + 'Донецьк', + 'Житомир', + 'Ужгород', + 'Запоріжжя', + 'Івано-Франківськ', + 'Київ', + 'Кропивницький', + 'Луганськ', + 'Львів', + 'Миколаїв', + 'Одеса', + 'Полтава', + 'Рівне', + 'Суми', + 'Тернопіль', + 'Харків', + 'Херсон', + 'Хмельницький', + 'Черкаси', + 'Чернівці', + 'Чернігів', + ]; - /** - * @see list of Ukraine street (2017-08-08), source: http://ukrexport.gov.ua/ukr/useful_info/gov/ - */ - protected static $street = [ - 'Тараса Шевченка', - 'Лесі Українки', - 'Михайла Грушевського', - 'Урицького', - 'П. Орлика', - 'Хрещатик', - 'Артема', - 'Копиленка', - 'Різницька', - 'Лук’янівська', - 'Паторжинського', - 'Солом’янська', - 'Арсенальна', - 'Мельникова', - 'Володимирська', - 'Фізкультури', - 'Львівська', - 'Шота Руставелі', - 'Прорізна', - 'І. Франкa', - 'Б. Грінченка', - 'Інститутська', - 'Пирогова', - 'М. Коцюбинського', - 'Володимирська', - ]; + /** + * @see list of Ukraine street (2017-08-08), source: http://ukrexport.gov.ua/ukr/useful_info/gov/ + */ + protected static $street = [ + 'Тараса Шевченка', + 'Лесі Українки', + 'Михайла Грушевського', + 'Урицького', + 'П. Орлика', + 'Хрещатик', + 'Артема', + 'Копиленка', + 'Різницька', + 'Лук’янівська', + 'Паторжинського', + 'Солом’янська', + 'Арсенальна', + 'Мельникова', + 'Володимирська', + 'Фізкультури', + 'Львівська', + 'Шота Руставелі', + 'Прорізна', + 'І. Франкa', + 'Б. Грінченка', + 'Інститутська', + 'Пирогова', + 'М. Коцюбинського', + 'Володимирська', + ]; - protected static $addressFormats = [ - '{{postcode}}, {{cityAndRegion}}, {{streetPrefix}} {{streetName}}, {{buildingNumber}}', - ]; + protected static $addressFormats = [ + '{{postcode}}, {{cityAndRegion}}, {{streetPrefix}} {{streetName}}, {{buildingNumber}}', + ]; - protected static $streetAddressFormats = [ - '{{streetPrefix}} {{streetName}}, {{buildingNumber}}', - ]; + protected static $streetAddressFormats = [ + '{{streetPrefix}} {{streetName}}, {{buildingNumber}}', + ]; - public static function citySuffix() - { - // We don't use city suffix - return ''; - } + public static function citySuffix() { + // We don't use city suffix + return ''; + } - public static function streetSuffix() - { - // We don't use street suffix - return ''; - } + public static function streetSuffix() { + // We don't use street suffix + return ''; + } - public function streetName() - { - return static::randomElement(static::$street); - } + public function streetName() { + return static::randomElement( static::$street ); + } - public static function postcode() - { - return static::toUpper(static::bothify(static::randomElement(static::$postcode))); - } + public static function postcode() { + return static::toUpper( static::bothify( static::randomElement( static::$postcode ) ) ); + } - public static function regionSuffix() - { - return static::randomElement(static::$regionSuffix); - } + public static function regionSuffix() { + return static::randomElement( static::$regionSuffix ); + } - public static function region() - { - return static::randomElement(static::$region); - } + public static function region() { + return static::randomElement( static::$region ); + } - public static function cityPrefix() - { - return static::randomElement(static::$cityPrefix); - } + public static function cityPrefix() { + return static::randomElement( static::$cityPrefix ); + } - public function city() - { - return static::randomElement(static::$city); - } + public function city() { + return static::randomElement( static::$city ); + } - /** - * Get city and region together - * We need it because city and region must comply each other in Ukraine - * - * @example 'Закарпатська область, місто Ужгород' - * - * @return string - */ - public function cityAndRegion() - { - $regionAndCityNumber = self::numberBetween(0, count(static::$region) - 1); - $region = static::$region[$regionAndCityNumber]; - $city = static::$city[$regionAndCityNumber]; - $format = "$region {{regionSuffix}}, {{cityPrefix}} $city"; + /** + * Get city and region together + * We need it because city and region must comply each other in Ukraine + * + * @return string + * @example 'Закарпатська область, місто Ужгород' + * + */ + public function cityAndRegion() { + $regionAndCityNumber = self::numberBetween( 0, count( static::$region ) - 1 ); + $region = static::$region[ $regionAndCityNumber ]; + $city = static::$city[ $regionAndCityNumber ]; + $format = "$region {{regionSuffix}}, {{cityPrefix}} $city"; - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } - public static function streetPrefix() - { - return static::randomElement(static::$streetPrefix); - } + public static function streetPrefix() { + return static::randomElement( static::$streetPrefix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Color.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Color.php index 502161c..e909fbf 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Color.php @@ -2,22 +2,84 @@ namespace Faker\Provider\uk_UA; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'чорний', 'темно-бордовий', 'зелений', 'темно-синій', 'оливковий', - 'фіолетовий', 'помаранчевий', 'синій', 'червоний', - 'сірий', 'жовтий', 'блакитний', 'морська хвиля', 'білий', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'чорний', + 'темно-бордовий', + 'зелений', + 'темно-синій', + 'оливковий', + 'фіолетовий', + 'помаранчевий', + 'синій', + 'червоний', + 'сірий', + 'жовтий', + 'блакитний', + 'морська хвиля', + 'білий', + ]; - protected static $allColorNames = [ - 'Бурштиновий', 'Абрикосовий', 'Зелений армійський', 'Спаржевий', 'Амарантовий', 'Янтарний', - 'Ніжно-блакитний', 'Аметистовий', 'Матовий білий', 'Античний білий', 'Смарагдовий', 'Спаржа', - 'Захисний синій', 'Жовто-зелений', 'Сіра спаржа', 'Індиго', 'Лавандний', 'Хакі', 'Нефритовий', - 'Лайм', 'Гірчичний', 'Чорний', 'Малахітовий', 'Синій', 'Вода пляжа Бонді', 'Латуний', 'Пурпурний', - 'Орхідея', 'Блідо-брунатний', 'Зелена сосна', 'Гарбуз', 'Лазурний', 'Каштановий', 'Шоколадний', 'Умбра', - 'Кобальтовий', 'Кремовий', 'Циан', 'Іржавий', 'Фуксия', 'Шафрановий', 'Лляний', 'Золотий', 'Зелений', - 'Лимонний', 'Ліловий', 'Перський синій', 'Охра', 'Панг', 'Сливовий', 'Фіолетово-червоний', 'Сірий', - 'Багряний', 'Срібний', 'Болотний', 'Пшеничний', 'Пастельно-зелений', 'Умбра', 'Лососевий', 'Синя сталь', - ]; + protected static $allColorNames = [ + 'Бурштиновий', + 'Абрикосовий', + 'Зелений армійський', + 'Спаржевий', + 'Амарантовий', + 'Янтарний', + 'Ніжно-блакитний', + 'Аметистовий', + 'Матовий білий', + 'Античний білий', + 'Смарагдовий', + 'Спаржа', + 'Захисний синій', + 'Жовто-зелений', + 'Сіра спаржа', + 'Індиго', + 'Лавандний', + 'Хакі', + 'Нефритовий', + 'Лайм', + 'Гірчичний', + 'Чорний', + 'Малахітовий', + 'Синій', + 'Вода пляжа Бонді', + 'Латуний', + 'Пурпурний', + 'Орхідея', + 'Блідо-брунатний', + 'Зелена сосна', + 'Гарбуз', + 'Лазурний', + 'Каштановий', + 'Шоколадний', + 'Умбра', + 'Кобальтовий', + 'Кремовий', + 'Циан', + 'Іржавий', + 'Фуксия', + 'Шафрановий', + 'Лляний', + 'Золотий', + 'Зелений', + 'Лимонний', + 'Ліловий', + 'Перський синій', + 'Охра', + 'Панг', + 'Сливовий', + 'Фіолетово-червоний', + 'Сірий', + 'Багряний', + 'Срібний', + 'Болотний', + 'Пшеничний', + 'Пастельно-зелений', + 'Умбра', + 'Лососевий', + 'Синя сталь', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Company.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Company.php index dd6c4f1..a93e715 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Company.php @@ -2,73 +2,264 @@ namespace Faker\Provider\uk_UA; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyName}}', // Вектор - '{{companyPrefix}} "{{companyName}}"', // ТОВ "Інфоком" - '{{companyName}}-{{companySuffix}}', // Сервіс-Плюс - '{{companyPrefix}} "{{companyName}}-{{companySuffix}}"', // ПАТ "Альфа-Стиль" - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyName}}', // Вектор + '{{companyPrefix}} "{{companyName}}"', // ТОВ "Інфоком" + '{{companyName}}-{{companySuffix}}', // Сервіс-Плюс + '{{companyPrefix}} "{{companyName}}-{{companySuffix}}"', // ПАТ "Альфа-Стиль" + ]; - protected static $urlFormats = [ - '{{companyName}}', - '{{companyName}}-{{companySuffix}}', - ]; + protected static $urlFormats = [ + '{{companyName}}', + '{{companyName}}-{{companySuffix}}', + ]; - protected static $companyPrefix = ['ТОВ', 'ПП', 'ПАТ', 'ПрАТ']; - protected static $companySuffix = ['Сервіс', 'Плюс', 'Груп', 'Стиль', 'Дизайн']; + protected static $companyPrefix = [ 'ТОВ', 'ПП', 'ПАТ', 'ПрАТ' ]; + protected static $companySuffix = [ 'Сервіс', 'Плюс', 'Груп', 'Стиль', 'Дизайн' ]; - protected static $companyName = [ - 'Вектор', 'Едельвейс', 'Смарт', 'Альфа', 'Система', 'Універсал', - 'Інфоком', 'Макс', 'Планета', 'Вектор', 'Приват', 'Еко', 'Мега', - 'Мегамакс', 'Мульти', 'Майнер', - ]; + protected static $companyName = [ + 'Вектор', + 'Едельвейс', + 'Смарт', + 'Альфа', + 'Система', + 'Універсал', + 'Інфоком', + 'Макс', + 'Планета', + 'Вектор', + 'Приват', + 'Еко', + 'Мега', + 'Мегамакс', + 'Мульти', + 'Майнер', + ]; - /** - * @see list of Ukraine job title (2017-08-09), source: https://uk.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BF%D1%80%D0%BE%D1%84%D0%B5%D1%81%D1%96%D0%B9 - */ - protected static $jobTitleFormat = [ - 'Агроном', 'Адвокат', 'Актор', 'Акушер', 'Антрополог', 'Аптекар', 'Архітектор', 'Археолог', 'Астронавт', 'Астрофізик', 'Автослюсар', 'Агент', - 'Бариста', 'Бармен', 'Бібліограф', 'Біолог', 'Бізнесмен', 'Ботанік', 'Будівельник', 'Будник', 'Бухгалтер', 'Бібліотекар', - 'Вантажник', 'Ведучий', 'Ветеринар', 'Випробувач', 'Водій', 'Вчитель', 'Візажист', - 'Гардеробник', 'Географ', 'Геолог', 'Геофізик', 'Гицель', 'Гінеколог', 'Гірник', 'Гірничий інженер', 'Головний меркшейдер', 'Графік', 'Громадський діяч', - 'Ґрунтознавець', - 'Дантист', 'Державний службовець', 'Детектив', 'Дизайнер', 'Дипломат', 'Диригент', 'Ді-джей', 'Доморобітниця', 'Доцент', 'Драматург', - 'Економіст', 'Електрик', 'Електромонтер', 'Електромонтажник', 'Електрослюсар', 'Електротехнік', 'Епідеміолог', 'Етнограф', 'Еколог', - 'Євнух', 'Єгер', - 'Журналіст', 'Живописець', - 'Золотар', 'Зоолог', - 'Інженер комп’ютерної техніки', 'Інженер', 'Іконописець', 'Історик', 'Інспектор', 'Інструктор', - 'Каскадер', 'Клавішник', 'Клоун', 'Композитор', 'Консьєрж', 'Конструктор', 'Коуч', 'Краєзнавець', 'Криміналіст', 'Кушнір', 'Кіноактор', 'Кінокритик', 'Кінорежисер', 'Кур’єр', 'Кухар', 'Кінолог', 'Круп’є', - 'Лаборант', 'Льотчик', 'Лікар', 'Ліпник архітектурних деталей', 'Лісничий', 'Літературознавець', 'Логопед', 'Локсмайстер', 'Лор', - 'Математик', 'Машиніст', 'Медик', 'Менеджер', 'Мистецтвознавець', 'Мірошник', 'Мікробіолог', 'Мінералог', 'Мовознавець', 'Модельєр', 'Модельник', 'Музикант', 'Музикознавець', 'Музичний редактор', 'Маркетолог', 'М’ясник', 'Мікробіолог', - 'Намотувальник', 'Науковець', 'Няня', 'Нотаріус', 'Навідник-оператор', - 'Озеленювач', 'Окуліст', 'Онколог', 'Оператор', 'Організатор', 'Охоронець', 'Охоронник', - 'Паблік рилейшнз', 'Палеонтолог', 'Паралегал', 'Парфумер', 'Пасічник', 'Патологоанатом', 'Педагог', 'Пекар', 'Перекладач', 'Перукар', 'Петрограф', 'Письменник', 'Піаніст', 'Підприємець', 'Пілот', 'Правник', 'Прибиральник', 'Програміст', 'Провізор', 'Прокурор', 'Промисловець', 'Професор', 'Психолог', 'Політик', 'Публіцист', 'Продюсер', - 'Ревізор', 'Режисер', 'Різноробочий', 'Реабілітолог', 'Редактор', 'Реставратор', 'Ріелтор', - 'Сантехнік', 'Священик', 'Складальник', 'Скульптор', 'Соціолог', 'Співак', 'Спортсмен', 'Сценарист', 'Стрінгер', 'Стропальник', 'Стоматолог', 'Слідчий', 'Стиліст', 'Секретар', 'Стрілочник', 'Стюардеса', 'Суддя', 'Стиліст', - 'Таксист', 'Тамада', 'Танцівник', 'Тенісист', 'Терапевт', 'Ткач', 'Токар', 'Тракторист', - 'Фармацевт', 'Фермер', 'Фізик', 'Філолог', 'Фольклорист', 'Формувальник', 'Фотограф', 'Футболіст', 'Флорист', 'Фінансист', - 'Хірург', 'Хімік', 'Художник', 'Хореограф', 'Хормейстер', - 'Шериф', 'Швачка', 'Штукатур', - 'Ювелір', 'Юрист', - ]; + /** + * @see list of Ukraine job title (2017-08-09), source: https://uk.wikipedia.org/wiki/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%BF%D1%80%D0%BE%D1%84%D0%B5%D1%81%D1%96%D0%B9 + */ + protected static $jobTitleFormat = [ + 'Агроном', + 'Адвокат', + 'Актор', + 'Акушер', + 'Антрополог', + 'Аптекар', + 'Архітектор', + 'Археолог', + 'Астронавт', + 'Астрофізик', + 'Автослюсар', + 'Агент', + 'Бариста', + 'Бармен', + 'Бібліограф', + 'Біолог', + 'Бізнесмен', + 'Ботанік', + 'Будівельник', + 'Будник', + 'Бухгалтер', + 'Бібліотекар', + 'Вантажник', + 'Ведучий', + 'Ветеринар', + 'Випробувач', + 'Водій', + 'Вчитель', + 'Візажист', + 'Гардеробник', + 'Географ', + 'Геолог', + 'Геофізик', + 'Гицель', + 'Гінеколог', + 'Гірник', + 'Гірничий інженер', + 'Головний меркшейдер', + 'Графік', + 'Громадський діяч', + 'Ґрунтознавець', + 'Дантист', + 'Державний службовець', + 'Детектив', + 'Дизайнер', + 'Дипломат', + 'Диригент', + 'Ді-джей', + 'Доморобітниця', + 'Доцент', + 'Драматург', + 'Економіст', + 'Електрик', + 'Електромонтер', + 'Електромонтажник', + 'Електрослюсар', + 'Електротехнік', + 'Епідеміолог', + 'Етнограф', + 'Еколог', + 'Євнух', + 'Єгер', + 'Журналіст', + 'Живописець', + 'Золотар', + 'Зоолог', + 'Інженер комп’ютерної техніки', + 'Інженер', + 'Іконописець', + 'Історик', + 'Інспектор', + 'Інструктор', + 'Каскадер', + 'Клавішник', + 'Клоун', + 'Композитор', + 'Консьєрж', + 'Конструктор', + 'Коуч', + 'Краєзнавець', + 'Криміналіст', + 'Кушнір', + 'Кіноактор', + 'Кінокритик', + 'Кінорежисер', + 'Кур’єр', + 'Кухар', + 'Кінолог', + 'Круп’є', + 'Лаборант', + 'Льотчик', + 'Лікар', + 'Ліпник архітектурних деталей', + 'Лісничий', + 'Літературознавець', + 'Логопед', + 'Локсмайстер', + 'Лор', + 'Математик', + 'Машиніст', + 'Медик', + 'Менеджер', + 'Мистецтвознавець', + 'Мірошник', + 'Мікробіолог', + 'Мінералог', + 'Мовознавець', + 'Модельєр', + 'Модельник', + 'Музикант', + 'Музикознавець', + 'Музичний редактор', + 'Маркетолог', + 'М’ясник', + 'Мікробіолог', + 'Намотувальник', + 'Науковець', + 'Няня', + 'Нотаріус', + 'Навідник-оператор', + 'Озеленювач', + 'Окуліст', + 'Онколог', + 'Оператор', + 'Організатор', + 'Охоронець', + 'Охоронник', + 'Паблік рилейшнз', + 'Палеонтолог', + 'Паралегал', + 'Парфумер', + 'Пасічник', + 'Патологоанатом', + 'Педагог', + 'Пекар', + 'Перекладач', + 'Перукар', + 'Петрограф', + 'Письменник', + 'Піаніст', + 'Підприємець', + 'Пілот', + 'Правник', + 'Прибиральник', + 'Програміст', + 'Провізор', + 'Прокурор', + 'Промисловець', + 'Професор', + 'Психолог', + 'Політик', + 'Публіцист', + 'Продюсер', + 'Ревізор', + 'Режисер', + 'Різноробочий', + 'Реабілітолог', + 'Редактор', + 'Реставратор', + 'Ріелтор', + 'Сантехнік', + 'Священик', + 'Складальник', + 'Скульптор', + 'Соціолог', + 'Співак', + 'Спортсмен', + 'Сценарист', + 'Стрінгер', + 'Стропальник', + 'Стоматолог', + 'Слідчий', + 'Стиліст', + 'Секретар', + 'Стрілочник', + 'Стюардеса', + 'Суддя', + 'Стиліст', + 'Таксист', + 'Тамада', + 'Танцівник', + 'Тенісист', + 'Терапевт', + 'Ткач', + 'Токар', + 'Тракторист', + 'Фармацевт', + 'Фермер', + 'Фізик', + 'Філолог', + 'Фольклорист', + 'Формувальник', + 'Фотограф', + 'Футболіст', + 'Флорист', + 'Фінансист', + 'Хірург', + 'Хімік', + 'Художник', + 'Хореограф', + 'Хормейстер', + 'Шериф', + 'Швачка', + 'Штукатур', + 'Ювелір', + 'Юрист', + ]; - public function companyUrl() - { - $format = static::randomElement(static::$urlFormats); + public function companyUrl() { + $format = static::randomElement( static::$urlFormats ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - public static function companyName() - { - return static::randomElement(static::$companyName); - } + public static function companyName() { + return static::randomElement( static::$companyName ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Internet.php index 6119354..9e45db5 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Internet.php @@ -2,8 +2,7 @@ namespace Faker\Provider\uk_UA; -class Internet extends \Faker\Provider\Internet -{ - protected static $tld = ['ua', 'com.ua', 'org.ua', 'net.ua', 'com', 'net', 'org']; - protected static $freeEmailDomain = ['gmail.com', 'mail.ru', 'ukr.net', 'i.ua', 'rambler.ru']; +class Internet extends \Faker\Provider\Internet { + protected static $tld = [ 'ua', 'com.ua', 'org.ua', 'net.ua', 'com', 'net', 'org' ]; + protected static $freeEmailDomain = [ 'gmail.com', 'mail.ru', 'ukr.net', 'i.ua', 'rambler.ru' ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Payment.php index cff33ab..abfc33b 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Payment.php @@ -2,40 +2,106 @@ namespace Faker\Provider\uk_UA; -class Payment extends \Faker\Provider\Payment -{ - /** - * @see list of Ukraine banks (2017-11-08), source: https://uk.wikipedia.org/wiki/%D0%91%D0%B0%D0%BD%D0%BA%D0%B8_%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D0%B8 - */ - protected static $banks = [ - 'А-Банк', 'Авангард', 'Айбокс Банк', 'Акордбанк', 'Альпарі Банк', 'Альтбанк', 'Альфа-Банк', 'Альянс', 'Апекс-банк', 'Аркада', 'Асвіо Банк', - 'Банк 3/4', 'БМ Банк', 'Богуслав', 'БТА Банк', 'Вернум Банк', 'Восток', 'ВТБ', - 'VS Bank', - 'Гефест', 'Глобус', 'Грант', - 'DV Bank', 'Deutsche Bank', - 'Експрес-Банк', - 'Європромбанк', - 'Земельний капітал', - 'Ідея Банк', 'Інвестицій', 'ING', 'Індустріалбанк', - 'Комерційний Індустріальний Банк', 'Кліринговий', 'Комінвестбанк', 'Конкорд', 'Кредит Дніпро', 'Кредит Європа Банк', 'Кредит Оптима Банк', 'Кредитвест', 'Crédit Agricole', 'Кредобанк', 'Кристалбанк', - 'Львів', - 'Марфін банк', 'Мегабанк', 'МетаБанк', 'Міжнародний інвестиційний банк', 'Місто Банк', 'Мотор Банк', - 'Оксі Банк', 'OTP Bank', 'Ощадбанк', - 'Перший Інвестиційний Банк', 'Південний', 'Piraeus Bank', 'Полікомбанк', 'Полтава-банк', 'Портал', 'Правекс-Банк', 'Преміум', 'ПриватБанк', 'ПроКредит Банк', 'Промінвестбанк', 'ПУМБ', 'Промислово-фінансовий банк', - 'Радабанк', 'Райффайзен Аваль', 'РВС банк', 'Регіон-банк', 'Розрахунковий центр', - 'Сбербанк', 'SEB', 'Сітібанк', 'Січ', - 'Таскомбанк', 'Траст-Капітал', - 'Український Капітал', 'Український банк реконструкції та розвитку', 'Укрбудінвестбанк', 'Укргазбанк', 'Укрексімбанк', 'УкрСиббанк', 'Укрсоцбанк', 'Універсал Банк', - 'Фамільний', 'Фінансовий партнер', 'Forward Bank', - 'Центр', - 'Unex', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @see list of Ukraine banks (2017-11-08), source: https://uk.wikipedia.org/wiki/%D0%91%D0%B0%D0%BD%D0%BA%D0%B8_%D0%A3%D0%BA%D1%80%D0%B0%D1%97%D0%BD%D0%B8 + */ + protected static $banks = [ + 'А-Банк', + 'Авангард', + 'Айбокс Банк', + 'Акордбанк', + 'Альпарі Банк', + 'Альтбанк', + 'Альфа-Банк', + 'Альянс', + 'Апекс-банк', + 'Аркада', + 'Асвіо Банк', + 'Банк 3/4', + 'БМ Банк', + 'Богуслав', + 'БТА Банк', + 'Вернум Банк', + 'Восток', + 'ВТБ', + 'VS Bank', + 'Гефест', + 'Глобус', + 'Грант', + 'DV Bank', + 'Deutsche Bank', + 'Експрес-Банк', + 'Європромбанк', + 'Земельний капітал', + 'Ідея Банк', + 'Інвестицій', + 'ING', + 'Індустріалбанк', + 'Комерційний Індустріальний Банк', + 'Кліринговий', + 'Комінвестбанк', + 'Конкорд', + 'Кредит Дніпро', + 'Кредит Європа Банк', + 'Кредит Оптима Банк', + 'Кредитвест', + 'Crédit Agricole', + 'Кредобанк', + 'Кристалбанк', + 'Львів', + 'Марфін банк', + 'Мегабанк', + 'МетаБанк', + 'Міжнародний інвестиційний банк', + 'Місто Банк', + 'Мотор Банк', + 'Оксі Банк', + 'OTP Bank', + 'Ощадбанк', + 'Перший Інвестиційний Банк', + 'Південний', + 'Piraeus Bank', + 'Полікомбанк', + 'Полтава-банк', + 'Портал', + 'Правекс-Банк', + 'Преміум', + 'ПриватБанк', + 'ПроКредит Банк', + 'Промінвестбанк', + 'ПУМБ', + 'Промислово-фінансовий банк', + 'Радабанк', + 'Райффайзен Аваль', + 'РВС банк', + 'Регіон-банк', + 'Розрахунковий центр', + 'Сбербанк', + 'SEB', + 'Сітібанк', + 'Січ', + 'Таскомбанк', + 'Траст-Капітал', + 'Український Капітал', + 'Український банк реконструкції та розвитку', + 'Укрбудінвестбанк', + 'Укргазбанк', + 'Укрексімбанк', + 'УкрСиббанк', + 'Укрсоцбанк', + 'Універсал Банк', + 'Фамільний', + 'Фінансовий партнер', + 'Forward Bank', + 'Центр', + 'Unex', + ]; - /** - * @example 'Сітібанк' - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @example 'Сітібанк' + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Person.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Person.php index e63fd82..108c2d9 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Person.php @@ -2,100 +2,240 @@ namespace Faker\Provider\uk_UA; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{firstNameMale}} {{middleNameMale}} {{lastName}}', - '{{lastName}} {{firstNameMale}} {{middleNameMale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{firstNameMale}} {{middleNameMale}} {{lastName}}', + '{{lastName}} {{firstNameMale}} {{middleNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{lastName}} {{firstNameFemale}} {{middleNameFemale}}', - '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}', - ]; + protected static $femaleNameFormats = [ + '{{lastName}} {{firstNameFemale}} {{middleNameFemale}}', + '{{firstNameFemale}} {{middleNameFemale}} {{lastName}}', + ]; - protected static $firstNameMale = [ - 'Євген', 'Адам', 'Олександр', 'Олексій', 'Анатолій', 'Андрій', 'Антон', 'Артем', 'Артур', 'Борис', 'Вадим', 'Валентин', 'Валерій', - 'Василь', 'Віталій', 'Володимир', 'Владислав', 'Геннадій', 'Георгій', 'Григорій', 'Данил', 'Данило', 'Денис', 'Дмитро', - 'Євгеній', 'Іван', 'Ігор', 'Йосип', 'Кирил', 'Костянтин', 'Лев', 'Леонід', 'Максим', 'Мирослав', 'Михайло', 'Назар', - 'Микита', 'Микола', 'Олег', 'Павло', 'Роман', 'Руслан', 'Сергій', 'Станіслав', 'Тарас', 'Тимофій', 'Федір', - 'Юрій', 'Ярослав', 'Богдан', 'Болеслав', 'В\'ячеслав', 'Валерій', 'Всеволод', 'Віктор', 'Ілля', - ]; + protected static $firstNameMale = [ + 'Євген', + 'Адам', + 'Олександр', + 'Олексій', + 'Анатолій', + 'Андрій', + 'Антон', + 'Артем', + 'Артур', + 'Борис', + 'Вадим', + 'Валентин', + 'Валерій', + 'Василь', + 'Віталій', + 'Володимир', + 'Владислав', + 'Геннадій', + 'Георгій', + 'Григорій', + 'Данил', + 'Данило', + 'Денис', + 'Дмитро', + 'Євгеній', + 'Іван', + 'Ігор', + 'Йосип', + 'Кирил', + 'Костянтин', + 'Лев', + 'Леонід', + 'Максим', + 'Мирослав', + 'Михайло', + 'Назар', + 'Микита', + 'Микола', + 'Олег', + 'Павло', + 'Роман', + 'Руслан', + 'Сергій', + 'Станіслав', + 'Тарас', + 'Тимофій', + 'Федір', + 'Юрій', + 'Ярослав', + 'Богдан', + 'Болеслав', + 'В\'ячеслав', + 'Валерій', + 'Всеволод', + 'Віктор', + 'Ілля', + ]; - protected static $firstNameFemale = [ - 'Олександра', 'Олена', 'Алла', 'Анастасія', 'Анна', 'Валентина', 'Валерія', 'Віра', 'Вікторія', 'Галина', 'Дар\'я', 'Діана', 'Євгенія', - 'Катерина', 'Олена', 'Єлизавета', 'Інна', 'Ірина', 'Катерина', 'Кіра', 'Лариса', 'Любов', 'Людмила', 'Маргарита', 'Марина', - 'Марія', 'Надія', 'Наташа', 'Ніна', 'Оксана', 'Ольга', 'Поліна', 'Раїса', 'Світлана', 'Софія', 'Тамара', 'Тетяна', - 'Юлія', 'Ярослава', - ]; + protected static $firstNameFemale = [ + 'Олександра', + 'Олена', + 'Алла', + 'Анастасія', + 'Анна', + 'Валентина', + 'Валерія', + 'Віра', + 'Вікторія', + 'Галина', + 'Дар\'я', + 'Діана', + 'Євгенія', + 'Катерина', + 'Олена', + 'Єлизавета', + 'Інна', + 'Ірина', + 'Катерина', + 'Кіра', + 'Лариса', + 'Любов', + 'Людмила', + 'Маргарита', + 'Марина', + 'Марія', + 'Надія', + 'Наташа', + 'Ніна', + 'Оксана', + 'Ольга', + 'Поліна', + 'Раїса', + 'Світлана', + 'Софія', + 'Тамара', + 'Тетяна', + 'Юлія', + 'Ярослава', + ]; - protected static $middleNameMale = [ - 'Олександрович', 'Олексійович', 'Андрійович', 'Євгенович', 'Сергійович', 'Іванович', - 'Федорович', 'Тарасович', 'Васильович', 'Романович', 'Петрович', 'Миколайович', - 'Борисович', 'Йосипович', 'Михайлович', 'Валентинович', 'Янович', 'Анатолійович', - 'Євгенійович', 'Володимирович', - ]; + protected static $middleNameMale = [ + 'Олександрович', + 'Олексійович', + 'Андрійович', + 'Євгенович', + 'Сергійович', + 'Іванович', + 'Федорович', + 'Тарасович', + 'Васильович', + 'Романович', + 'Петрович', + 'Миколайович', + 'Борисович', + 'Йосипович', + 'Михайлович', + 'Валентинович', + 'Янович', + 'Анатолійович', + 'Євгенійович', + 'Володимирович', + ]; - protected static $middleNameFemale = [ - 'Олександрівна', 'Олексіївна', 'Андріївна', 'Євгенівна', 'Сергіївна', 'Іванівна', - 'Федорівна', 'Тарасівна', 'Василівна', 'Романівна', 'Петрівна', 'Миколаївна', - 'Борисівна', 'Йосипівна', 'Михайлівна', 'Валентинівна', 'Янівна', 'Анатоліївна', - 'Євгеніївна', 'Володимирівна', - ]; + protected static $middleNameFemale = [ + 'Олександрівна', + 'Олексіївна', + 'Андріївна', + 'Євгенівна', + 'Сергіївна', + 'Іванівна', + 'Федорівна', + 'Тарасівна', + 'Василівна', + 'Романівна', + 'Петрівна', + 'Миколаївна', + 'Борисівна', + 'Йосипівна', + 'Михайлівна', + 'Валентинівна', + 'Янівна', + 'Анатоліївна', + 'Євгеніївна', + 'Володимирівна', + ]; - protected static $lastName = [ - 'Антоненко', 'Василенко', 'Васильчук', 'Васильєв', 'Гнатюк', 'Дмитренко', - 'Захарчук', 'Іванченко', 'Микитюк', 'Павлюк', 'Панасюк', 'Петренко', 'Романченко', - 'Сергієнко', 'Середа', 'Таращук', 'Боднаренко', 'Броваренко', 'Броварчук', 'Кравченко', - 'Кравчук', 'Крамаренко', 'Крамарчук', 'Мельниченко', 'Мірошниченко', 'Шевченко', 'Шевчук', - 'Шинкаренко', 'Пономаренко', 'Пономарчук', 'Лисенко', - ]; + protected static $lastName = [ + 'Антоненко', + 'Василенко', + 'Васильчук', + 'Васильєв', + 'Гнатюк', + 'Дмитренко', + 'Захарчук', + 'Іванченко', + 'Микитюк', + 'Павлюк', + 'Панасюк', + 'Петренко', + 'Романченко', + 'Сергієнко', + 'Середа', + 'Таращук', + 'Боднаренко', + 'Броваренко', + 'Броварчук', + 'Кравченко', + 'Кравчук', + 'Крамаренко', + 'Крамарчук', + 'Мельниченко', + 'Мірошниченко', + 'Шевченко', + 'Шевчук', + 'Шинкаренко', + 'Пономаренко', + 'Пономарчук', + 'Лисенко', + ]; - /** - * Return male middle name - * - * @example 'Іванович' - * - * @return string Middle name - */ - public function middleNameMale() - { - return static::randomElement(static::$middleNameMale); - } + /** + * Return male middle name + * + * @return string Middle name + * @example 'Іванович' + * + */ + public function middleNameMale() { + return static::randomElement( static::$middleNameMale ); + } - /** - * Return female middle name - * - * @example 'Івановна' - * - * @return string Middle name - */ - public function middleNameFemale() - { - return static::randomElement(static::$middleNameFemale); - } + /** + * Return female middle name + * + * @return string Middle name + * @example 'Івановна' + * + */ + public function middleNameFemale() { + return static::randomElement( static::$middleNameFemale ); + } - /** - * Return middle name for the specified gender. - * - * @param string|null $gender A gender the middle name should be generated - * for. If the argument is skipped a random gender will be used. - * - * @return string Middle name - */ - public function middleName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return $this->middleNameMale(); - } + /** + * Return middle name for the specified gender. + * + * @param string|null $gender A gender the middle name should be generated + * for. If the argument is skipped a random gender will be used. + * + * @return string Middle name + */ + public function middleName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return $this->middleNameMale(); + } - if ($gender === static::GENDER_FEMALE) { - return $this->middleNameFemale(); - } + if ( $gender === static::GENDER_FEMALE ) { + return $this->middleNameFemale(); + } - return $this->middleName(static::randomElement([ - static::GENDER_MALE, - static::GENDER_FEMALE, - ])); - } + return $this->middleName( static::randomElement( [ + static::GENDER_MALE, + static::GENDER_FEMALE, + ] ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/PhoneNumber.php index 15b443f..d161b26 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/PhoneNumber.php @@ -2,71 +2,70 @@ namespace Faker\Provider\uk_UA; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - /** - * @see list of Ukraine mobile formats (2017-08-08), source: https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BB%D0%B5%D1%84%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BF%D0%BB%D0%B0%D0%BD_%D0%BD%D1%83%D0%BC%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8_%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%8B - */ - protected static $formats = [ +class PhoneNumber extends \Faker\Provider\PhoneNumber { + /** + * @see list of Ukraine mobile formats (2017-08-08), source: https://ru.wikipedia.org/wiki/%D0%A2%D0%B5%D0%BB%D0%B5%D1%84%D0%BE%D0%BD%D0%BD%D1%8B%D0%B9_%D0%BF%D0%BB%D0%B0%D0%BD_%D0%BD%D1%83%D0%BC%D0%B5%D1%80%D0%B0%D1%86%D0%B8%D0%B8_%D0%A3%D0%BA%D1%80%D0%B0%D0%B8%D0%BD%D1%8B + */ + protected static $formats = [ - // International format (mobile) - '+38050#######', - '+38066#######', - '+38068#######', - '+38096#######', - '+38067#######', - '+38091#######', - '+38092#######', - '+38093#######', - '+38094#######', - '+38095#######', - '+38096#######', - '+38097#######', - '+38098#######', - '+38063#######', - '+38099#######', + // International format (mobile) + '+38050#######', + '+38066#######', + '+38068#######', + '+38096#######', + '+38067#######', + '+38091#######', + '+38092#######', + '+38093#######', + '+38094#######', + '+38095#######', + '+38096#######', + '+38097#######', + '+38098#######', + '+38063#######', + '+38099#######', - // Internal country format (mobile) - '050#######', - '066#######', - '068#######', - '096#######', - '067#######', - '091#######', - '092#######', - '093#######', - '094#######', - '095#######', - '096#######', - '097#######', - '098#######', - '063#######', - '099#######', + // Internal country format (mobile) + '050#######', + '066#######', + '068#######', + '096#######', + '067#######', + '091#######', + '092#######', + '093#######', + '094#######', + '095#######', + '096#######', + '097#######', + '098#######', + '063#######', + '099#######', - // More generic formats - '+38(0##)#######', - '+38(0###)######', - '+38(0####)#####', - ]; + // More generic formats + '+38(0##)#######', + '+38(0###)######', + '+38(0####)#####', + ]; - /** - * @see Detailed numbering scheme. Source: https://www.itu.int/oth/T02020000DB/en - */ - protected static $e164Formats = [ - '+38050#######', - '+38066#######', - '+38068#######', - '+38096#######', - '+38067#######', - '+38091#######', - '+38092#######', - '+38093#######', - '+38094#######', - '+38095#######', - '+38096#######', - '+38097#######', - '+38098#######', - '+38063#######', - '+38099#######', - ]; + /** + * @see Detailed numbering scheme. Source: https://www.itu.int/oth/T02020000DB/en + */ + protected static $e164Formats = [ + '+38050#######', + '+38066#######', + '+38068#######', + '+38096#######', + '+38067#######', + '+38091#######', + '+38092#######', + '+38093#######', + '+38094#######', + '+38095#######', + '+38096#######', + '+38097#######', + '+38098#######', + '+38063#######', + '+38099#######', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Text.php b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Text.php index 758bd2a..8ff6eec 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/uk_UA/Text.php @@ -2,31 +2,30 @@ namespace Faker\Provider\uk_UA; -class Text extends \Faker\Provider\Text -{ - /** - * From uk.wikisource.org - * - * Текст доступний на умовах ліцензії Creative Commons Attribution/Share-Alike, - * також можуть діяти додаткові умови. Детальніше див. Умови використання. - * - * - * Title: Захар Беркут - * - * Author: Іван Франко - * - * Posting Date: July 19, 2007 - * Release Date: 1882 - * [Last updated: November 14, 2012] - * - * Language: Ukrainian - * - * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ - * @see http://uk.wikisource.org/wiki/%D0%97%D0%B0%D1%85%D0%B0%D1%80_%D0%91%D0%B5%D1%80%D0%BA%D1%83%D1%82 - * - * @var string - */ - protected static $baseText = <<<'EOT' +class Text extends \Faker\Provider\Text { + /** + * From uk.wikisource.org + * + * Текст доступний на умовах ліцензії Creative Commons Attribution/Share-Alike, + * також можуть діяти додаткові умови. Детальніше див. Умови використання. + * + * + * Title: Захар Беркут + * + * Author: Іван Франко + * + * Posting Date: July 19, 2007 + * Release Date: 1882 + * [Last updated: November 14, 2012] + * + * Language: Ukrainian + * + * @see https://wikimediafoundation.org/wiki/Terms_of_Use/ + * @see http://uk.wikisource.org/wiki/%D0%97%D0%B0%D1%85%D0%B0%D1%80_%D0%91%D0%B5%D1%80%D0%BA%D1%83%D1%82 + * + * @var string + */ + protected static $baseText = <<<'EOT' I @@ -4165,348 +4164,348 @@ class Text extends \Faker\Provider\Text EOT; - /* - *** START: FULL LICENSE *** - - Creative Commons Legal Code - - Attribution-ShareAlike 3.0 Unported - - - CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE - LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN - ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS - INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES - REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR - DAMAGES RESULTING FROM ITS USE. License - - THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS - CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS - PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE - WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS - PROHIBITED. - - BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND - AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS - LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU - THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH - TERMS AND CONDITIONS. - - 1. Definitions - - "Adaptation" means a work based upon the Work, or upon the Work and - other pre-existing works, such as a translation, adaptation, - derivative work, arrangement of music or other alterations of a - literary or artistic work, or phonogram or performance and includes - cinematographic adaptations or any other form in which the Work may be - recast, transformed, or adapted including in any form recognizably - derived from the original, except that a work that constitutes a - Collection will not be considered an Adaptation for the purpose of - this License. For the avoidance of doubt, where the Work is a musical - work, performance or phonogram, the synchronization of the Work in - timed-relation with a moving image ("synching") will be considered an - Adaptation for the purpose of this License. "Collection" means a - collection of literary or artistic works, such as encyclopedias and - anthologies, or performances, phonograms or broadcasts, or other works - or subject matter other than works listed in Section 1(f) below, - which, by reason of the selection and arrangement of their contents, - constitute intellectual creations, in which the Work is included in - its entirety in unmodified form along with one or more other - contributions, each constituting separate and independent works in - themselves, which together are assembled into a collective whole. A - work that constitutes a Collection will not be considered an - Adaptation (as defined below) for the purposes of this License. - "Creative Commons Compatible License" means a license that is listed - at http://creativecommons.org/compatiblelicenses that has been - approved by Creative Commons as being essentially equivalent to this - License, including, at a minimum, because that license: (i) contains - terms that have the same purpose, meaning and effect as the License - Elements of this License; and, (ii) explicitly permits the relicensing - of adaptations of works made available under that license under this - License or a Creative Commons jurisdiction license with the same - License Elements as this License. "Distribute" means to make available - to the public the original and copies of the Work or Adaptation, as - appropriate, through sale or other transfer of ownership. "License - Elements" means the following high-level license attributes as - selected by Licensor and indicated in the title of this License: - Attribution, ShareAlike. "Licensor" means the individual, individuals, - entity or entities that offer(s) the Work under the terms of this - License. "Original Author" means, in the case of a literary or - artistic work, the individual, individuals, entity or entities who - created the Work or if no individual or entity can be identified, the - publisher; and in addition (i) in the case of a performance the - actors, singers, musicians, dancers, and other persons who act, sing, - deliver, declaim, play in, interpret or otherwise perform literary or - artistic works or expressions of folklore; (ii) in the case of a - phonogram the producer being the person or legal entity who first - fixes the sounds of a performance or other sounds; and, (iii) in the - case of broadcasts, the organization that transmits the broadcast. - "Work" means the literary and/or artistic work offered under the terms - of this License including without limitation any production in the - literary, scientific and artistic domain, whatever may be the mode or - form of its expression including digital form, such as a book, - pamphlet and other writing; a lecture, address, sermon or other work - of the same nature; a dramatic or dramatico-musical work; a - choreographic work or entertainment in dumb show; a musical - composition with or without words; a cinematographic work to which are - assimilated works expressed by a process analogous to cinematography; - a work of drawing, painting, architecture, sculpture, engraving or - lithography; a photographic work to which are assimilated works - expressed by a process analogous to photography; a work of applied - art; an illustration, map, plan, sketch or three-dimensional work - relative to geography, topography, architecture or science; a - performance; a broadcast; a phonogram; a compilation of data to the - extent it is protected as a copyrightable work; or a work performed by - a variety or circus performer to the extent it is not otherwise - considered a literary or artistic work. "You" means an individual or - entity exercising rights under this License who has not previously - violated the terms of this License with respect to the Work, or who - has received express permission from the Licensor to exercise rights - under this License despite a previous violation. "Publicly Perform" - means to perform public recitations of the Work and to communicate to - the public those public recitations, by any means or process, - including by wire or wireless means or public digital performances; to - make available to the public Works in such a way that members of the - public may access these Works from a place and at a place individually - chosen by them; to perform the Work to the public by any means or - process and the communication to the public of the performances of the - Work, including by public digital performance; to broadcast and - rebroadcast the Work by any means including signs, sounds or images. - "Reproduce" means to make copies of the Work by any means including - without limitation by sound or visual recordings and the right of - fixation and reproducing fixations of the Work, including storage of a - protected performance or phonogram in digital form or other electronic - medium. 2. Fair Dealing Rights. Nothing in this License is intended to - reduce, limit, or restrict any uses free from copyright or rights - arising from limitations or exceptions that are provided for in - connection with the copyright protection under copyright law or other - applicable laws. - - 3. License Grant. Subject to the terms and conditions of this License, - Licensor hereby grants You a worldwide, royalty-free, non-exclusive, - perpetual (for the duration of the applicable copyright) license to - exercise the rights in the Work as stated below: - - to Reproduce the Work, to incorporate the Work into one or more - Collections, and to Reproduce the Work as incorporated in the - Collections; to create and Reproduce Adaptations provided that any - such Adaptation, including any translation in any medium, takes - reasonable steps to clearly label, demarcate or otherwise identify - that changes were made to the original Work. For example, a - translation could be marked "The original work was translated from - English to Spanish," or a modification could indicate "The original - work has been modified."; to Distribute and Publicly Perform the Work - including as incorporated in Collections; and, to Distribute and - Publicly Perform Adaptations. For the avoidance of doubt: - - Non-waivable Compulsory License Schemes. In those jurisdictions in - which the right to collect royalties through any statutory or - compulsory licensing scheme cannot be waived, the Licensor reserves - the exclusive right to collect such royalties for any exercise by You - of the rights granted under this License; Waivable Compulsory License - Schemes. In those jurisdictions in which the right to collect - royalties through any statutory or compulsory licensing scheme can be - waived, the Licensor waives the exclusive right to collect such - royalties for any exercise by You of the rights granted under this - License; and, Voluntary License Schemes. The Licensor waives the right - to collect royalties, whether individually or, in the event that the - Licensor is a member of a collecting society that administers - voluntary licensing schemes, via that society, from any exercise by - You of the rights granted under this License. The above rights may be - exercised in all media and formats whether now known or hereafter - devised. The above rights include the right to make such modifications - as are technically necessary to exercise the rights in other media and - formats. Subject to Section 8(f), all rights not expressly granted by - Licensor are hereby reserved. - - 4. Restrictions. The license granted in Section 3 above is expressly - made subject to and limited by the following restrictions: - - You may Distribute or Publicly Perform the Work only under the terms - of this License. You must include a copy of, or the Uniform Resource - Identifier (URI) for, this License with every copy of the Work You - Distribute or Publicly Perform. You may not offer or impose any terms - on the Work that restrict the terms of this License or the ability of - the recipient of the Work to exercise the rights granted to that - recipient under the terms of the License. You may not sublicense the - Work. You must keep intact all notices that refer to this License and - to the disclaimer of warranties with every copy of the Work You - Distribute or Publicly Perform. When You Distribute or Publicly - Perform the Work, You may not impose any effective technological - measures on the Work that restrict the ability of a recipient of the - Work from You to exercise the rights granted to that recipient under - the terms of the License. This Section 4(a) applies to the Work as - incorporated in a Collection, but this does not require the Collection - apart from the Work itself to be made subject to the terms of this - License. If You create a Collection, upon notice from any Licensor You - must, to the extent practicable, remove from the Collection any credit - as required by Section 4(c), as requested. If You create an - Adaptation, upon notice from any Licensor You must, to the extent - practicable, remove from the Adaptation any credit as required by - Section 4(c), as requested. You may Distribute or Publicly Perform an - Adaptation only under the terms of: (i) this License; (ii) a later - version of this License with the same License Elements as this - License; (iii) a Creative Commons jurisdiction license (either this or - a later license version) that contains the same License Elements as - this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative - Commons Compatible License. If you license the Adaptation under one of - the licenses mentioned in (iv), you must comply with the terms of that - license. If you license the Adaptation under the terms of any of the - licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), - you must comply with the terms of the Applicable License generally and - the following provisions: (I) You must include a copy of, or the URI - for, the Applicable License with every copy of each Adaptation You - Distribute or Publicly Perform; (II) You may not offer or impose any - terms on the Adaptation that restrict the terms of the Applicable - License or the ability of the recipient of the Adaptation to exercise - the rights granted to that recipient under the terms of the Applicable - License; (III) You must keep intact all notices that refer to the - Applicable License and to the disclaimer of warranties with every copy - of the Work as included in the Adaptation You Distribute or Publicly - Perform; (IV) when You Distribute or Publicly Perform the Adaptation, - You may not impose any effective technological measures on the - Adaptation that restrict the ability of a recipient of the Adaptation - from You to exercise the rights granted to that recipient under the - terms of the Applicable License. This Section 4(b) applies to the - Adaptation as incorporated in a Collection, but this does not require - the Collection apart from the Adaptation itself to be made subject to - the terms of the Applicable License. If You Distribute, or Publicly - Perform the Work or any Adaptations or Collections, You must, unless a - request has been made pursuant to Section 4(a), keep intact all - copyright notices for the Work and provide, reasonable to the medium - or means You are utilizing: (i) the name of the Original Author (or - pseudonym, if applicable) if supplied, and/or if the Original Author - and/or Licensor designate another party or parties (e.g., a sponsor - institute, publishing entity, journal) for attribution ("Attribution - Parties") in Licensor's copyright notice, terms of service or by other - reasonable means, the name of such party or parties; (ii) the title of - the Work if supplied; (iii) to the extent reasonably practicable, the - URI, if any, that Licensor specifies to be associated with the Work, - unless such URI does not refer to the copyright notice or licensing - information for the Work; and (iv) , consistent with Ssection 3(b), in - the case of an Adaptation, a credit identifying the use of the Work in - the Adaptation (e.g., "French translation of the Work by Original - Author," or "Screenplay based on original Work by Original Author"). - The credit required by this Section 4(c) may be implemented in any - reasonable manner; provided, however, that in the case of a Adaptation - or Collection, at a minimum such credit will appear, if a credit for - all contributing authors of the Adaptation or Collection appears, then - as part of these credits and in a manner at least as prominent as the - credits for the other contributing authors. For the avoidance of - doubt, You may only use the credit required by this Section for the - purpose of attribution in the manner set out above and, by exercising - Your rights under this License, You may not implicitly or explicitly - assert or imply any connection with, sponsorship or endorsement by the - Original Author, Licensor and/or Attribution Parties, as appropriate, - of You or Your use of the Work, without the separate, express prior - written permission of the Original Author, Licensor and/or Attribution - Parties. Except as otherwise agreed in writing by the Licensor or as - may be otherwise permitted by applicable law, if You Reproduce, - Distribute or Publicly Perform the Work either by itself or as part of - any Adaptations or Collections, You must not distort, mutilate, modify - or take other derogatory action in relation to the Work which would be - prejudicial to the Original Author's honor or reputation. Licensor - agrees that in those jurisdictions (e.g. Japan), in which any exercise - of the right granted in Section 3(b) of this License (the right to - make Adaptations) would be deemed to be a distortion, mutilation, - modification or other derogatory action prejudicial to the Original - Author's honor and reputation, the Licensor will waive or not assert, - as appropriate, this Section, to the fullest extent permitted by the - applicable national law, to enable You to reasonably exercise Your - right under Section 3(b) of this License (right to make Adaptations) - but not otherwise. 5. Representations, Warranties and Disclaimer - - UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, - LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR - WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, - STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF - TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, - NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, - OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. - SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, - SO SUCH EXCLUSION MAY NOT APPLY TO YOU. - - 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY - APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY - LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR - EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, - EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - - 7. Termination - - This License and the rights granted hereunder will terminate - automatically upon any breach by You of the terms of this License. - Individuals or entities who have received Adaptations or Collections - from You under this License, however, will not have their licenses - terminated provided such individuals or entities remain in full - compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will - survive any termination of this License. Subject to the above terms - and conditions, the license granted here is perpetual (for the - duration of the applicable copyright in the Work). Notwithstanding the - above, Licensor reserves the right to release the Work under different - license terms or to stop distributing the Work at any time; provided, - however that any such election will not serve to withdraw this License - (or any other license that has been, or is required to be, granted - under the terms of this License), and this License will continue in - full force and effect unless terminated as stated above. 8. - Miscellaneous - - Each time You Distribute or Publicly Perform the Work or a Collection, - the Licensor offers to the recipient a license to the Work on the same - terms and conditions as the license granted to You under this License. - Each time You Distribute or Publicly Perform an Adaptation, Licensor - offers to the recipient a license to the original Work on the same - terms and conditions as the license granted to You under this License. - If any provision of this License is invalid or unenforceable under - applicable law, it shall not affect the validity or enforceability of - the remainder of the terms of this License, and without further action - by the parties to this agreement, such provision shall be reformed to - the minimum extent necessary to make such provision valid and - enforceable. No term or provision of this License shall be deemed - waived and no breach consented to unless such waiver or consent shall - be in writing and signed by the party to be charged with such waiver - or consent. This License constitutes the entire agreement between the - parties with respect to the Work licensed here. There are no - understandings, agreements or representations with respect to the Work - not specified here. Licensor shall not be bound by any additional - provisions that may appear in any communication from You. This License - may not be modified without the mutual written agreement of the - Licensor and You. The rights granted under, and the subject matter - referenced, in this License were drafted utilizing the terminology of - the Berne Convention for the Protection of Literary and Artistic Works - (as amended on September 28, 1979), the Rome Convention of 1961, the - WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms - Treaty of 1996 and the Universal Copyright Convention (as revised on - July 24, 1971). These rights and subject matter take effect in the - relevant jurisdiction in which the License terms are sought to be - enforced according to the corresponding provisions of the - implementation of those treaty provisions in the applicable national - law. If the standard suite of rights granted under applicable - copyright law includes additional rights not granted under this - License, such additional rights are deemed to be included in the - License; this License is not intended to restrict the license of any - rights under applicable law. Creative Commons Notice - - Creative Commons is not a party to this License, and makes no warranty - whatsoever in connection with the Work. Creative Commons will not be - liable to You or any party on any legal theory for any damages - whatsoever, including without limitation any general, special, - incidental or consequential damages arising in connection to this - license. Notwithstanding the foregoing two (2) sentences, if Creative - Commons has expressly identified itself as the Licensor hereunder, it - shall have all rights and obligations of Licensor. - - Except for the limited purpose of indicating to the public that the - Work is licensed under the CCPL, Creative Commons does not authorize - the use by either party of the trademark "Creative Commons" or any - related trademark or logo of Creative Commons without the prior - written consent of Creative Commons. Any permitted use will be in - compliance with Creative Commons' then-current trademark usage - guidelines, as may be published on its website or otherwise made - available upon request from time to time. For the avoidance of doubt, - this trademark restriction does not form part of the License. - - Creative Commons may be contacted at http://creativecommons.org/. - - */ + /* + *** START: FULL LICENSE *** + + Creative Commons Legal Code + + Attribution-ShareAlike 3.0 Unported + + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR + DAMAGES RESULTING FROM ITS USE. License + + THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS + CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS + PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE + WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED. + + BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND + AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS + LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU + THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH + TERMS AND CONDITIONS. + + 1. Definitions + + "Adaptation" means a work based upon the Work, or upon the Work and + other pre-existing works, such as a translation, adaptation, + derivative work, arrangement of music or other alterations of a + literary or artistic work, or phonogram or performance and includes + cinematographic adaptations or any other form in which the Work may be + recast, transformed, or adapted including in any form recognizably + derived from the original, except that a work that constitutes a + Collection will not be considered an Adaptation for the purpose of + this License. For the avoidance of doubt, where the Work is a musical + work, performance or phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be considered an + Adaptation for the purpose of this License. "Collection" means a + collection of literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, or other works + or subject matter other than works listed in Section 1(f) below, + which, by reason of the selection and arrangement of their contents, + constitute intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more other + contributions, each constituting separate and independent works in + themselves, which together are assembled into a collective whole. A + work that constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this License. + "Creative Commons Compatible License" means a license that is listed + at http://creativecommons.org/compatiblelicenses that has been + approved by Creative Commons as being essentially equivalent to this + License, including, at a minimum, because that license: (i) contains + terms that have the same purpose, meaning and effect as the License + Elements of this License; and, (ii) explicitly permits the relicensing + of adaptations of works made available under that license under this + License or a Creative Commons jurisdiction license with the same + License Elements as this License. "Distribute" means to make available + to the public the original and copies of the Work or Adaptation, as + appropriate, through sale or other transfer of ownership. "License + Elements" means the following high-level license attributes as + selected by Licensor and indicated in the title of this License: + Attribution, ShareAlike. "Licensor" means the individual, individuals, + entity or entities that offer(s) the Work under the terms of this + License. "Original Author" means, in the case of a literary or + artistic work, the individual, individuals, entity or entities who + created the Work or if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a performance the + actors, singers, musicians, dancers, and other persons who act, sing, + deliver, declaim, play in, interpret or otherwise perform literary or + artistic works or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity who first + fixes the sounds of a performance or other sounds; and, (iii) in the + case of broadcasts, the organization that transmits the broadcast. + "Work" means the literary and/or artistic work offered under the terms + of this License including without limitation any production in the + literary, scientific and artistic domain, whatever may be the mode or + form of its expression including digital form, such as a book, + pamphlet and other writing; a lecture, address, sermon or other work + of the same nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a musical + composition with or without words; a cinematographic work to which are + assimilated works expressed by a process analogous to cinematography; + a work of drawing, painting, architecture, sculpture, engraving or + lithography; a photographic work to which are assimilated works + expressed by a process analogous to photography; a work of applied + art; an illustration, map, plan, sketch or three-dimensional work + relative to geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of data to the + extent it is protected as a copyrightable work; or a work performed by + a variety or circus performer to the extent it is not otherwise + considered a literary or artistic work. "You" means an individual or + entity exercising rights under this License who has not previously + violated the terms of this License with respect to the Work, or who + has received express permission from the Licensor to exercise rights + under this License despite a previous violation. "Publicly Perform" + means to perform public recitations of the Work and to communicate to + the public those public recitations, by any means or process, + including by wire or wireless means or public digital performances; to + make available to the public Works in such a way that members of the + public may access these Works from a place and at a place individually + chosen by them; to perform the Work to the public by any means or + process and the communication to the public of the performances of the + Work, including by public digital performance; to broadcast and + rebroadcast the Work by any means including signs, sounds or images. + "Reproduce" means to make copies of the Work by any means including + without limitation by sound or visual recordings and the right of + fixation and reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or other electronic + medium. 2. Fair Dealing Rights. Nothing in this License is intended to + reduce, limit, or restrict any uses free from copyright or rights + arising from limitations or exceptions that are provided for in + connection with the copyright protection under copyright law or other + applicable laws. + + 3. License Grant. Subject to the terms and conditions of this License, + Licensor hereby grants You a worldwide, royalty-free, non-exclusive, + perpetual (for the duration of the applicable copyright) license to + exercise the rights in the Work as stated below: + + to Reproduce the Work, to incorporate the Work into one or more + Collections, and to Reproduce the Work as incorporated in the + Collections; to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, takes + reasonable steps to clearly label, demarcate or otherwise identify + that changes were made to the original Work. For example, a + translation could be marked "The original work was translated from + English to Spanish," or a modification could indicate "The original + work has been modified."; to Distribute and Publicly Perform the Work + including as incorporated in Collections; and, to Distribute and + Publicly Perform Adaptations. For the avoidance of doubt: + + Non-waivable Compulsory License Schemes. In those jurisdictions in + which the right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the Licensor reserves + the exclusive right to collect such royalties for any exercise by You + of the rights granted under this License; Waivable Compulsory License + Schemes. In those jurisdictions in which the right to collect + royalties through any statutory or compulsory licensing scheme can be + waived, the Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights granted under this + License; and, Voluntary License Schemes. The Licensor waives the right + to collect royalties, whether individually or, in the event that the + Licensor is a member of a collecting society that administers + voluntary licensing schemes, via that society, from any exercise by + You of the rights granted under this License. The above rights may be + exercised in all media and formats whether now known or hereafter + devised. The above rights include the right to make such modifications + as are technically necessary to exercise the rights in other media and + formats. Subject to Section 8(f), all rights not expressly granted by + Licensor are hereby reserved. + + 4. Restrictions. The license granted in Section 3 above is expressly + made subject to and limited by the following restrictions: + + You may Distribute or Publicly Perform the Work only under the terms + of this License. You must include a copy of, or the Uniform Resource + Identifier (URI) for, this License with every copy of the Work You + Distribute or Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or the ability of + the recipient of the Work to exercise the rights granted to that + recipient under the terms of the License. You may not sublicense the + Work. You must keep intact all notices that refer to this License and + to the disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or Publicly + Perform the Work, You may not impose any effective technological + measures on the Work that restrict the ability of a recipient of the + Work from You to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to the Work as + incorporated in a Collection, but this does not require the Collection + apart from the Work itself to be made subject to the terms of this + License. If You create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the Collection any credit + as required by Section 4(c), as requested. If You create an + Adaptation, upon notice from any Licensor You must, to the extent + practicable, remove from the Adaptation any credit as required by + Section 4(c), as requested. You may Distribute or Publicly Perform an + Adaptation only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as this + License; (iii) a Creative Commons jurisdiction license (either this or + a later license version) that contains the same License Elements as + this License (e.g., Attribution-ShareAlike 3.0 US)); (iv) a Creative + Commons Compatible License. If you license the Adaptation under one of + the licenses mentioned in (iv), you must comply with the terms of that + license. If you license the Adaptation under the terms of any of the + licenses mentioned in (i), (ii) or (iii) (the "Applicable License"), + you must comply with the terms of the Applicable License generally and + the following provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each Adaptation You + Distribute or Publicly Perform; (II) You may not offer or impose any + terms on the Adaptation that restrict the terms of the Applicable + License or the ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of the Applicable + License; (III) You must keep intact all notices that refer to the + Applicable License and to the disclaimer of warranties with every copy + of the Work as included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the Adaptation, + You may not impose any effective technological measures on the + Adaptation that restrict the ability of a recipient of the Adaptation + from You to exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) applies to the + Adaptation as incorporated in a Collection, but this does not require + the Collection apart from the Adaptation itself to be made subject to + the terms of the Applicable License. If You Distribute, or Publicly + Perform the Work or any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep intact all + copyright notices for the Work and provide, reasonable to the medium + or means You are utilizing: (i) the name of the Original Author (or + pseudonym, if applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., a sponsor + institute, publishing entity, journal) for attribution ("Attribution + Parties") in Licensor's copyright notice, terms of service or by other + reasonable means, the name of such party or parties; (ii) the title of + the Work if supplied; (iii) to the extent reasonably practicable, the + URI, if any, that Licensor specifies to be associated with the Work, + unless such URI does not refer to the copyright notice or licensing + information for the Work; and (iv) , consistent with Ssection 3(b), in + the case of an Adaptation, a credit identifying the use of the Work in + the Adaptation (e.g., "French translation of the Work by Original + Author," or "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be implemented in any + reasonable manner; provided, however, that in the case of a Adaptation + or Collection, at a minimum such credit will appear, if a credit for + all contributing authors of the Adaptation or Collection appears, then + as part of these credits and in a manner at least as prominent as the + credits for the other contributing authors. For the avoidance of + doubt, You may only use the credit required by this Section for the + purpose of attribution in the manner set out above and, by exercising + Your rights under this License, You may not implicitly or explicitly + assert or imply any connection with, sponsorship or endorsement by the + Original Author, Licensor and/or Attribution Parties, as appropriate, + of You or Your use of the Work, without the separate, express prior + written permission of the Original Author, Licensor and/or Attribution + Parties. Except as otherwise agreed in writing by the Licensor or as + may be otherwise permitted by applicable law, if You Reproduce, + Distribute or Publicly Perform the Work either by itself or as part of + any Adaptations or Collections, You must not distort, mutilate, modify + or take other derogatory action in relation to the Work which would be + prejudicial to the Original Author's honor or reputation. Licensor + agrees that in those jurisdictions (e.g. Japan), in which any exercise + of the right granted in Section 3(b) of this License (the right to + make Adaptations) would be deemed to be a distortion, mutilation, + modification or other derogatory action prejudicial to the Original + Author's honor and reputation, the Licensor will waive or not assert, + as appropriate, this Section, to the fullest extent permitted by the + applicable national law, to enable You to reasonably exercise Your + right under Section 3(b) of this License (right to make Adaptations) + but not otherwise. 5. Representations, Warranties and Disclaimer + + UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, + LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR + WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, + STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF + TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, + NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, + OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, + SO SUCH EXCLUSION MAY NOT APPLY TO YOU. + + 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY + APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY + LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR + EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + + 7. Termination + + This License and the rights granted hereunder will terminate + automatically upon any breach by You of the terms of this License. + Individuals or entities who have received Adaptations or Collections + from You under this License, however, will not have their licenses + terminated provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will + survive any termination of this License. Subject to the above terms + and conditions, the license granted here is perpetual (for the + duration of the applicable copyright in the Work). Notwithstanding the + above, Licensor reserves the right to release the Work under different + license terms or to stop distributing the Work at any time; provided, + however that any such election will not serve to withdraw this License + (or any other license that has been, or is required to be, granted + under the terms of this License), and this License will continue in + full force and effect unless terminated as stated above. 8. + Miscellaneous + + Each time You Distribute or Publicly Perform the Work or a Collection, + the Licensor offers to the recipient a license to the Work on the same + terms and conditions as the license granted to You under this License. + Each time You Distribute or Publicly Perform an Adaptation, Licensor + offers to the recipient a license to the original Work on the same + terms and conditions as the license granted to You under this License. + If any provision of this License is invalid or unenforceable under + applicable law, it shall not affect the validity or enforceability of + the remainder of the terms of this License, and without further action + by the parties to this agreement, such provision shall be reformed to + the minimum extent necessary to make such provision valid and + enforceable. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or consent shall + be in writing and signed by the party to be charged with such waiver + or consent. This License constitutes the entire agreement between the + parties with respect to the Work licensed here. There are no + understandings, agreements or representations with respect to the Work + not specified here. Licensor shall not be bound by any additional + provisions that may appear in any communication from You. This License + may not be modified without the mutual written agreement of the + Licensor and You. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the terminology of + the Berne Convention for the Protection of Literary and Artistic Works + (as amended on September 28, 1979), the Rome Convention of 1961, the + WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as revised on + July 24, 1971). These rights and subject matter take effect in the + relevant jurisdiction in which the License terms are sought to be + enforced according to the corresponding provisions of the + implementation of those treaty provisions in the applicable national + law. If the standard suite of rights granted under applicable + copyright law includes additional rights not granted under this + License, such additional rights are deemed to be included in the + License; this License is not intended to restrict the license of any + rights under applicable law. Creative Commons Notice + + Creative Commons is not a party to this License, and makes no warranty + whatsoever in connection with the Work. Creative Commons will not be + liable to You or any party on any legal theory for any damages + whatsoever, including without limitation any general, special, + incidental or consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, if Creative + Commons has expressly identified itself as the Licensor hereunder, it + shall have all rights and obligations of Licensor. + + Except for the limited purpose of indicating to the public that the + Work is licensed under the CCPL, Creative Commons does not authorize + the use by either party of the trademark "Creative Commons" or any + related trademark or logo of Creative Commons without the prior + written consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark usage + guidelines, as may be published on its website or otherwise made + available upon request from time to time. For the avoidance of doubt, + this trademark restriction does not form part of the License. + + Creative Commons may be contacted at http://creativecommons.org/. + + */ } diff --git a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Address.php b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Address.php index 0970309..d5d8252 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Address.php @@ -2,169 +2,424 @@ namespace Faker\Provider\vi_VN; -class Address extends \Faker\Provider\Address -{ - protected static $buildingNumber = ['%###', '%##', '%#', '%']; - protected static $postcode = ['#####', '######', '#####-####']; - protected static $province = [ - 'An Giang', 'Bà Rịa - Vũng Tàu', - 'Bắc Giang', 'Bắc Kạn', 'Bạc Liêu', - 'Bắc Ninh', 'Bến Tre', 'Bình Định', - 'Bình Dương', 'Bình Phước', 'Bình Thuận', - 'Cà Mau', 'Cao Bằng', 'Đắk Lắk', - 'Đắk Nông', 'Điện Biên', 'Đồng Nai', - 'Đồng Tháp', 'Gia Lai', 'Hà Giang', - 'Hà Nam', 'Hà Tĩnh', 'Hải Dương', - 'Hậu Giang', 'Hòa Bình', 'Hưng Yên', - 'Khánh Hòa', 'Kiên Giang', 'Kon Tum', - 'Lai Châu', 'Lâm Đồng', 'Lạng Sơn', - 'Lào Cai', 'Long An', 'Nam Định', - 'Nghệ An', 'Ninh Bình', 'Ninh Thuận', - 'Phú Thọ', 'Quảng Bình', 'Quảng Nam', - 'Quảng Ngãi', 'Quảng Ninh', 'Quảng Trị', - 'Sóc Trăng', 'Sơn La', 'Tây Ninh', - 'Thái Bình', 'Thái Nguyên', 'Thanh Hóa', - 'Thừa Thiên Huế', 'Tiền Giang', 'Trà Vinh', - 'Tuyên Quang', 'Vĩnh Long', 'Vĩnh Phúc', - 'Yên Bái', 'Phú Yên', - ]; - protected static $city = [ - 'Cần Thơ', 'Đà Nẵng', 'Hải Phòng', 'Hà Nội', 'Hồ Chí Minh', - ]; - protected static $streetNameFormats = [ - 'Phố {{lastName}} {{middleName}} {{firstName}}', - 'Phố {{lastName}} {{middleName}} {{firstName}}', - 'Phố {{lastName}} {{middleName}} {{firstName}}', - 'Phố {{firstName}}', - 'Phố {{lastName}}', - ]; - protected static $streetAddressFormats = [ - '{{buildingNumber}} {{streetName}}', - ]; - protected static $hamletNameFormats = [ - '{{hamletPrefix}} {{middleName}} {{firstName}}', - '{{hamletPrefix}} {{lastName}} {{firstName}}', - '{{hamletPrefix}} {{firstName}} {{lastName}}', - '{{hamletPrefix}} {{middleName}} {{firstName}}', - '{{hamletPrefix}} {{lastName}} {{middleName}} {{firstName}}', - '{{hamletPrefix}} {{firstName}}', - '{{hamletPrefix}} {{lastName}}', - '{{hamletPrefix}} ##', - '{{hamletPrefix}} #', - ]; - protected static $hamletPrefix = [ - 'Thôn', 'Ấp', - ]; - protected static $wardNameFormats = [ - '{{hamletPrefix}} {{middleName}} {{firstName}}', - '{{hamletPrefix}} {{lastName}} {{firstName}}', - '{{wardPrefix}} {{firstName}} {{lastName}}', - '{{wardPrefix}} {{middleName}} {{firstName}}', - '{{wardPrefix}} {{lastName}} {{middleName}} {{firstName}}', - '{{wardPrefix}} {{firstName}}', - '{{wardPrefix}} {{lastName}}', - '{{wardPrefix}} ##', - '{{wardPrefix}} #', - ]; - protected static $wardPrefix = [ - 'Phường', 'Xã', - ]; - protected static $districtNameFormats = [ - '{{districtPrefix}} {{middleName}} {{firstName}}', - '{{districtPrefix}} {{lastName}} {{firstName}}', - '{{districtPrefix}} {{firstName}} {{lastName}}', - '{{districtPrefix}} {{middleName}} {{firstName}}', - '{{districtPrefix}} {{lastName}} {{middleName}} {{firstName}}', - '{{districtPrefix}} {{firstName}}', - '{{districtPrefix}} {{lastName}}', - '{{districtPrefix}} ##', - '{{districtPrefix}} #', - ]; - protected static $districtPrefix = [ - 'Quận', 'Huyện', - ]; - protected static $addressFormats = [ - "{{streetAddress}}, {{wardName}}, {{districtName}}\n{{city}}", - "{{streetAddress}}, {{wardName}}, {{districtName}}\n{{province}}", - "{{buildingNumber}}, {{hamletName}}, {{wardName}}, {{districtName}}\n{{province}}", - ]; - protected static $country = [ - 'Afghanistan', 'Albania', 'Algeria', 'American Samoa', 'Andorra', 'Angola', 'Anguilla', 'Antarctica (the territory South of 60 deg S)', 'Antigua and Barbuda', 'Argentina', 'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', - 'Bahamas', 'Bahrain', 'Bangladesh', 'Barbados', 'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', 'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', 'Bouvet Island (Bouvetoya)', 'Brazil', 'British Indian Ocean Territory (Chagos Archipelago)', 'British Virgin Islands', 'Brunei Darussalam', 'Bulgaria', 'Burkina Faso', 'Burundi', - 'Cambodia', 'Cameroon', 'Canada', 'Cape Verde', 'Cayman Islands', 'Central African Republic', 'Chad', 'Chile', 'China', 'Christmas Island', 'Cocos (Keeling) Islands', 'Colombia', 'Comoros', 'Congo', 'Cook Islands', 'Costa Rica', 'Cote d\'Ivoire', 'Croatia', 'Cuba', 'Cyprus', 'Czech Republic', - 'Denmark', 'Djibouti', 'Dominica', 'Dominican Republic', - 'Ecuador', 'Egypt', 'El Salvador', 'Equatorial Guinea', 'Eritrea', 'Estonia', 'Ethiopia', - 'Faroe Islands', 'Falkland Islands (Malvinas)', 'Fiji', 'Finland', 'France', 'French Guiana', 'French Polynesia', 'French Southern Territories', - 'Gabon', 'Gambia', 'Georgia', 'Germany', 'Ghana', 'Gibraltar', 'Greece', 'Greenland', 'Grenada', 'Guadeloupe', 'Guam', 'Guatemala', 'Guernsey', 'Guinea', 'Guinea-Bissau', 'Guyana', - 'Haiti', 'Heard Island and McDonald Islands', 'Holy See (Vatican City State)', 'Honduras', 'Hong Kong', 'Hungary', - 'Iceland', 'India', 'Indonesia', 'Iran', 'Iraq', 'Ireland', 'Isle of Man', 'Israel', 'Italy', - 'Jamaica', 'Japan', 'Jersey', 'Jordan', - 'Kazakhstan', 'Kenya', 'Kiribati', 'Korea', 'Korea', 'Kuwait', 'Kyrgyz Republic', - 'Lao People\'s Democratic Republic', 'Latvia', 'Lebanon', 'Lesotho', 'Liberia', 'Libyan Arab Jamahiriya', 'Liechtenstein', 'Lithuania', 'Luxembourg', - 'Macao', 'Macedonia', 'Madagascar', 'Malawi', 'Malaysia', 'Maldives', 'Mali', 'Malta', 'Marshall Islands', 'Martinique', 'Mauritania', 'Mauritius', 'Mayotte', 'Mexico', 'Micronesia', 'Moldova', 'Monaco', 'Mongolia', 'Montenegro', 'Montserrat', 'Morocco', 'Mozambique', 'Myanmar', - 'Namibia', 'Nauru', 'Nepal', 'Netherlands Antilles', 'Netherlands', 'New Caledonia', 'New Zealand', 'Nicaragua', 'Niger', 'Nigeria', 'Niue', 'Norfolk Island', 'Northern Mariana Islands', 'Norway', - 'Oman', - 'Pakistan', 'Palau', 'Palestinian Territories', 'Panama', 'Papua New Guinea', 'Paraguay', 'Peru', 'Philippines', 'Pitcairn Islands', 'Poland', 'Portugal', 'Puerto Rico', - 'Qatar', - 'Reunion', 'Romania', 'Russian Federation', 'Rwanda', - 'Saint Barthelemy', 'Saint Helena', 'Saint Kitts and Nevis', 'Saint Lucia', 'Saint Martin', 'Saint Pierre and Miquelon', 'Saint Vincent and the Grenadines', 'Samoa', 'San Marino', 'Sao Tome and Principe', 'Saudi Arabia', 'Senegal', 'Serbia', 'Seychelles', 'Sierra Leone', 'Singapore', 'Slovakia (Slovak Republic)', 'Slovenia', 'Solomon Islands', 'Somalia', 'South Africa', 'South Georgia and the South Sandwich Islands', 'Spain', 'Sri Lanka', 'Sudan', 'Suriname', 'Svalbard & Jan Mayen Islands', 'Swaziland', 'Sweden', 'Switzerland', 'Syrian Arab Republic', - 'Taiwan', 'Tajikistan', 'Tanzania', 'Thailand', 'Timor-Leste', 'Togo', 'Tokelau', 'Tonga', 'Trinidad and Tobago', 'Tunisia', 'Turkey', 'Turkmenistan', 'Turks and Caicos Islands', 'Tuvalu', - 'Uganda', 'Ukraine', 'United Arab Emirates', 'United Kingdom', 'United States of America', 'United States Minor Outlying Islands', 'United States Virgin Islands', 'Uruguay', 'Uzbekistan', - 'Vanuatu', 'Venezuela', 'Vietnam', - 'Wallis and Futuna', 'Western Sahara', - 'Yemen', - 'Zambia', 'Zimbabwe', - ]; +class Address extends \Faker\Provider\Address { + protected static $buildingNumber = [ '%###', '%##', '%#', '%' ]; + protected static $postcode = [ '#####', '######', '#####-####' ]; + protected static $province = [ + 'An Giang', + 'Bà Rịa - Vũng Tàu', + 'Bắc Giang', + 'Bắc Kạn', + 'Bạc Liêu', + 'Bắc Ninh', + 'Bến Tre', + 'Bình Định', + 'Bình Dương', + 'Bình Phước', + 'Bình Thuận', + 'Cà Mau', + 'Cao Bằng', + 'Đắk Lắk', + 'Đắk Nông', + 'Điện Biên', + 'Đồng Nai', + 'Đồng Tháp', + 'Gia Lai', + 'Hà Giang', + 'Hà Nam', + 'Hà Tĩnh', + 'Hải Dương', + 'Hậu Giang', + 'Hòa Bình', + 'Hưng Yên', + 'Khánh Hòa', + 'Kiên Giang', + 'Kon Tum', + 'Lai Châu', + 'Lâm Đồng', + 'Lạng Sơn', + 'Lào Cai', + 'Long An', + 'Nam Định', + 'Nghệ An', + 'Ninh Bình', + 'Ninh Thuận', + 'Phú Thọ', + 'Quảng Bình', + 'Quảng Nam', + 'Quảng Ngãi', + 'Quảng Ninh', + 'Quảng Trị', + 'Sóc Trăng', + 'Sơn La', + 'Tây Ninh', + 'Thái Bình', + 'Thái Nguyên', + 'Thanh Hóa', + 'Thừa Thiên Huế', + 'Tiền Giang', + 'Trà Vinh', + 'Tuyên Quang', + 'Vĩnh Long', + 'Vĩnh Phúc', + 'Yên Bái', + 'Phú Yên', + ]; + protected static $city = [ + 'Cần Thơ', + 'Đà Nẵng', + 'Hải Phòng', + 'Hà Nội', + 'Hồ Chí Minh', + ]; + protected static $streetNameFormats = [ + 'Phố {{lastName}} {{middleName}} {{firstName}}', + 'Phố {{lastName}} {{middleName}} {{firstName}}', + 'Phố {{lastName}} {{middleName}} {{firstName}}', + 'Phố {{firstName}}', + 'Phố {{lastName}}', + ]; + protected static $streetAddressFormats = [ + '{{buildingNumber}} {{streetName}}', + ]; + protected static $hamletNameFormats = [ + '{{hamletPrefix}} {{middleName}} {{firstName}}', + '{{hamletPrefix}} {{lastName}} {{firstName}}', + '{{hamletPrefix}} {{firstName}} {{lastName}}', + '{{hamletPrefix}} {{middleName}} {{firstName}}', + '{{hamletPrefix}} {{lastName}} {{middleName}} {{firstName}}', + '{{hamletPrefix}} {{firstName}}', + '{{hamletPrefix}} {{lastName}}', + '{{hamletPrefix}} ##', + '{{hamletPrefix}} #', + ]; + protected static $hamletPrefix = [ + 'Thôn', + 'Ấp', + ]; + protected static $wardNameFormats = [ + '{{hamletPrefix}} {{middleName}} {{firstName}}', + '{{hamletPrefix}} {{lastName}} {{firstName}}', + '{{wardPrefix}} {{firstName}} {{lastName}}', + '{{wardPrefix}} {{middleName}} {{firstName}}', + '{{wardPrefix}} {{lastName}} {{middleName}} {{firstName}}', + '{{wardPrefix}} {{firstName}}', + '{{wardPrefix}} {{lastName}}', + '{{wardPrefix}} ##', + '{{wardPrefix}} #', + ]; + protected static $wardPrefix = [ + 'Phường', + 'Xã', + ]; + protected static $districtNameFormats = [ + '{{districtPrefix}} {{middleName}} {{firstName}}', + '{{districtPrefix}} {{lastName}} {{firstName}}', + '{{districtPrefix}} {{firstName}} {{lastName}}', + '{{districtPrefix}} {{middleName}} {{firstName}}', + '{{districtPrefix}} {{lastName}} {{middleName}} {{firstName}}', + '{{districtPrefix}} {{firstName}}', + '{{districtPrefix}} {{lastName}}', + '{{districtPrefix}} ##', + '{{districtPrefix}} #', + ]; + protected static $districtPrefix = [ + 'Quận', + 'Huyện', + ]; + protected static $addressFormats = [ + "{{streetAddress}}, {{wardName}}, {{districtName}}\n{{city}}", + "{{streetAddress}}, {{wardName}}, {{districtName}}\n{{province}}", + "{{buildingNumber}}, {{hamletName}}, {{wardName}}, {{districtName}}\n{{province}}", + ]; + protected static $country = [ + 'Afghanistan', + 'Albania', + 'Algeria', + 'American Samoa', + 'Andorra', + 'Angola', + 'Anguilla', + 'Antarctica (the territory South of 60 deg S)', + 'Antigua and Barbuda', + 'Argentina', + 'Armenia', + 'Aruba', + 'Australia', + 'Austria', + 'Azerbaijan', + 'Bahamas', + 'Bahrain', + 'Bangladesh', + 'Barbados', + 'Belarus', + 'Belgium', + 'Belize', + 'Benin', + 'Bermuda', + 'Bhutan', + 'Bolivia', + 'Bosnia and Herzegovina', + 'Botswana', + 'Bouvet Island (Bouvetoya)', + 'Brazil', + 'British Indian Ocean Territory (Chagos Archipelago)', + 'British Virgin Islands', + 'Brunei Darussalam', + 'Bulgaria', + 'Burkina Faso', + 'Burundi', + 'Cambodia', + 'Cameroon', + 'Canada', + 'Cape Verde', + 'Cayman Islands', + 'Central African Republic', + 'Chad', + 'Chile', + 'China', + 'Christmas Island', + 'Cocos (Keeling) Islands', + 'Colombia', + 'Comoros', + 'Congo', + 'Cook Islands', + 'Costa Rica', + 'Cote d\'Ivoire', + 'Croatia', + 'Cuba', + 'Cyprus', + 'Czech Republic', + 'Denmark', + 'Djibouti', + 'Dominica', + 'Dominican Republic', + 'Ecuador', + 'Egypt', + 'El Salvador', + 'Equatorial Guinea', + 'Eritrea', + 'Estonia', + 'Ethiopia', + 'Faroe Islands', + 'Falkland Islands (Malvinas)', + 'Fiji', + 'Finland', + 'France', + 'French Guiana', + 'French Polynesia', + 'French Southern Territories', + 'Gabon', + 'Gambia', + 'Georgia', + 'Germany', + 'Ghana', + 'Gibraltar', + 'Greece', + 'Greenland', + 'Grenada', + 'Guadeloupe', + 'Guam', + 'Guatemala', + 'Guernsey', + 'Guinea', + 'Guinea-Bissau', + 'Guyana', + 'Haiti', + 'Heard Island and McDonald Islands', + 'Holy See (Vatican City State)', + 'Honduras', + 'Hong Kong', + 'Hungary', + 'Iceland', + 'India', + 'Indonesia', + 'Iran', + 'Iraq', + 'Ireland', + 'Isle of Man', + 'Israel', + 'Italy', + 'Jamaica', + 'Japan', + 'Jersey', + 'Jordan', + 'Kazakhstan', + 'Kenya', + 'Kiribati', + 'Korea', + 'Korea', + 'Kuwait', + 'Kyrgyz Republic', + 'Lao People\'s Democratic Republic', + 'Latvia', + 'Lebanon', + 'Lesotho', + 'Liberia', + 'Libyan Arab Jamahiriya', + 'Liechtenstein', + 'Lithuania', + 'Luxembourg', + 'Macao', + 'Macedonia', + 'Madagascar', + 'Malawi', + 'Malaysia', + 'Maldives', + 'Mali', + 'Malta', + 'Marshall Islands', + 'Martinique', + 'Mauritania', + 'Mauritius', + 'Mayotte', + 'Mexico', + 'Micronesia', + 'Moldova', + 'Monaco', + 'Mongolia', + 'Montenegro', + 'Montserrat', + 'Morocco', + 'Mozambique', + 'Myanmar', + 'Namibia', + 'Nauru', + 'Nepal', + 'Netherlands Antilles', + 'Netherlands', + 'New Caledonia', + 'New Zealand', + 'Nicaragua', + 'Niger', + 'Nigeria', + 'Niue', + 'Norfolk Island', + 'Northern Mariana Islands', + 'Norway', + 'Oman', + 'Pakistan', + 'Palau', + 'Palestinian Territories', + 'Panama', + 'Papua New Guinea', + 'Paraguay', + 'Peru', + 'Philippines', + 'Pitcairn Islands', + 'Poland', + 'Portugal', + 'Puerto Rico', + 'Qatar', + 'Reunion', + 'Romania', + 'Russian Federation', + 'Rwanda', + 'Saint Barthelemy', + 'Saint Helena', + 'Saint Kitts and Nevis', + 'Saint Lucia', + 'Saint Martin', + 'Saint Pierre and Miquelon', + 'Saint Vincent and the Grenadines', + 'Samoa', + 'San Marino', + 'Sao Tome and Principe', + 'Saudi Arabia', + 'Senegal', + 'Serbia', + 'Seychelles', + 'Sierra Leone', + 'Singapore', + 'Slovakia (Slovak Republic)', + 'Slovenia', + 'Solomon Islands', + 'Somalia', + 'South Africa', + 'South Georgia and the South Sandwich Islands', + 'Spain', + 'Sri Lanka', + 'Sudan', + 'Suriname', + 'Svalbard & Jan Mayen Islands', + 'Swaziland', + 'Sweden', + 'Switzerland', + 'Syrian Arab Republic', + 'Taiwan', + 'Tajikistan', + 'Tanzania', + 'Thailand', + 'Timor-Leste', + 'Togo', + 'Tokelau', + 'Tonga', + 'Trinidad and Tobago', + 'Tunisia', + 'Turkey', + 'Turkmenistan', + 'Turks and Caicos Islands', + 'Tuvalu', + 'Uganda', + 'Ukraine', + 'United Arab Emirates', + 'United Kingdom', + 'United States of America', + 'United States Minor Outlying Islands', + 'United States Virgin Islands', + 'Uruguay', + 'Uzbekistan', + 'Vanuatu', + 'Venezuela', + 'Vietnam', + 'Wallis and Futuna', + 'Western Sahara', + 'Yemen', + 'Zambia', + 'Zimbabwe', + ]; - public function hamletName() - { - $format = static::randomElement(static::$hamletNameFormats); + public function hamletName() { + $format = static::randomElement( static::$hamletNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - public function hamletPrefix() - { - return static::randomElement(static::$hamletPrefix); - } + public function hamletPrefix() { + return static::randomElement( static::$hamletPrefix ); + } - public function wardName() - { - $format = static::randomElement(static::$wardNameFormats); + public function wardName() { + $format = static::randomElement( static::$wardNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - public function wardPrefix() - { - return static::randomElement(static::$wardPrefix); - } + public function wardPrefix() { + return static::randomElement( static::$wardPrefix ); + } - public function districtName() - { - $format = static::randomElement(static::$districtNameFormats); + public function districtName() { + $format = static::randomElement( static::$districtNameFormats ); - return static::bothify($this->generator->parse($format)); - } + return static::bothify( $this->generator->parse( $format ) ); + } - public function districtPrefix() - { - return static::randomElement(static::$districtPrefix); - } + public function districtPrefix() { + return static::randomElement( static::$districtPrefix ); + } - /** - * @example 'Hà Nội' - */ - public function city() - { - return static::randomElement(static::$city); - } + /** + * @example 'Hà Nội' + */ + public function city() { + return static::randomElement( static::$city ); + } - /** - * @example 'Bắc Giang' - */ - public static function province() - { - return static::randomElement(static::$province); - } + /** + * @example 'Bắc Giang' + */ + public static function province() { + return static::randomElement( static::$province ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Color.php b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Color.php index df78855..ad427ee 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Color.php @@ -2,35 +2,82 @@ namespace Faker\Provider\vi_VN; -class Color extends \Faker\Provider\Color -{ - protected static $safeColorNames = [ - 'đen', 'xanh', 'ô liu', - 'tím ', 'vôi', 'xanh', 'bạc', - 'xám', 'vàng', 'trắng', - ]; +class Color extends \Faker\Provider\Color { + protected static $safeColorNames = [ + 'đen', + 'xanh', + 'ô liu', + 'tím ', + 'vôi', + 'xanh', + 'bạc', + 'xám', + 'vàng', + 'trắng', + ]; - protected static $allColorNames = [ - 'Hổ phách', 'Ametit', 'Xanh berin', - 'Xanh da trời', 'Be', 'Nâu sẫm', - 'Đen', 'Xanh lam', 'Nâu', - 'Da bò', 'Cam cháy', 'Hồng y', - 'Đỏ yên chi', 'Men ngọc', 'Anh đào', - 'Xanh hoàng hôn', 'Xanh nõn chuối', 'Xanh cô ban', - 'Đồng', 'San hô', 'Kem', - 'Đỏ thắm', 'Xanh lơ', 'Lục bảo', - 'Vàng kim loại', 'Xám', 'Xanh lá cây', - 'Vòi voi', 'Chàm', 'Ngọc thạch', - 'Kaki', 'Oải hương', 'Vàng chanh', - 'Hồng sẫm', 'Hạt dẻ', 'Cẩm quỳ', - 'Hoa cà', 'Lam sẫm', 'Ochre', - 'Ô liu', 'Da cam', 'Lan tím', - 'Lòng đào', 'Dừa cạn', 'Hồng', - 'Mận', 'Xanh thủy tinh', 'Hồng đất', - 'Tía', 'Đỏ', 'Cá hồi', - 'Đỏ tươi', 'Nâu đen', - 'Bạc', 'Nâu tanin', 'Mòng két', - 'Xanh Thổ', 'Đỏ son', 'Tím', - 'Xanh crôm', 'Trắng', 'Vàng', - ]; + protected static $allColorNames = [ + 'Hổ phách', + 'Ametit', + 'Xanh berin', + 'Xanh da trời', + 'Be', + 'Nâu sẫm', + 'Đen', + 'Xanh lam', + 'Nâu', + 'Da bò', + 'Cam cháy', + 'Hồng y', + 'Đỏ yên chi', + 'Men ngọc', + 'Anh đào', + 'Xanh hoàng hôn', + 'Xanh nõn chuối', + 'Xanh cô ban', + 'Đồng', + 'San hô', + 'Kem', + 'Đỏ thắm', + 'Xanh lơ', + 'Lục bảo', + 'Vàng kim loại', + 'Xám', + 'Xanh lá cây', + 'Vòi voi', + 'Chàm', + 'Ngọc thạch', + 'Kaki', + 'Oải hương', + 'Vàng chanh', + 'Hồng sẫm', + 'Hạt dẻ', + 'Cẩm quỳ', + 'Hoa cà', + 'Lam sẫm', + 'Ochre', + 'Ô liu', + 'Da cam', + 'Lan tím', + 'Lòng đào', + 'Dừa cạn', + 'Hồng', + 'Mận', + 'Xanh thủy tinh', + 'Hồng đất', + 'Tía', + 'Đỏ', + 'Cá hồi', + 'Đỏ tươi', + 'Nâu đen', + 'Bạc', + 'Nâu tanin', + 'Mòng két', + 'Xanh Thổ', + 'Đỏ son', + 'Tím', + 'Xanh crôm', + 'Trắng', + 'Vàng', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Internet.php index 2bfb15a..cad834e 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Internet.php @@ -2,7 +2,31 @@ namespace Faker\Provider\vi_VN; -class Internet extends \Faker\Provider\Internet -{ - protected static $tld = ['com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'vn', 'com.vn', 'biz.vn', 'edu.vn', 'gov.vn', 'net.vn', 'org.vn', 'int.vn', 'ac.vn', 'pro.vn', 'info.vn', 'health.vn', 'name.vn', 'mil.vn']; +class Internet extends \Faker\Provider\Internet { + protected static $tld = [ + 'com', + 'com', + 'com', + 'com', + 'com', + 'com', + 'biz', + 'info', + 'net', + 'org', + 'vn', + 'com.vn', + 'biz.vn', + 'edu.vn', + 'gov.vn', + 'net.vn', + 'org.vn', + 'int.vn', + 'ac.vn', + 'pro.vn', + 'info.vn', + 'health.vn', + 'name.vn', + 'mil.vn' + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Person.php b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Person.php index 99bb2fa..9aca101 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/Person.php @@ -2,185 +2,975 @@ namespace Faker\Provider\vi_VN; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{lastName}} {{firstNameMale}}', - '{{titleMale}}. {{lastName}} {{firstNameMale}}', - '{{lastName}} {{middleNameMale}} {{firstNameMale}}', - '{{titleMale}}. {{lastName}} {{middleNameMale}} {{firstNameMale}}', - ]; - - protected static $femaleNameFormats = [ - '{{lastName}} {{firstNameFemale}}', - '{{titleFemale}}. {{lastName}} {{firstNameFemale}}', - '{{lastName}} {{middleNameFemale}} {{firstNameFemale}}', - '{{titleFemale}}. {{lastName}} {{middleNameFemale}} {{firstNameFemale}}', - ]; - - protected static $middleNameFormat = [ - '{{firstNameMale}}', - '{{firstNameFemale}}', - ]; - - /** - * @see http://www.dattenhay.vn/1001-ten-cho-be-trai.htm - */ - protected static $firstNameMale = [ - 'An', 'Anh', - 'Bào', 'Bình', 'Bạch', 'Bảo', 'Bắc', 'Bằng', 'Bổng', 'Bửu', - 'Ca', 'Canh', 'Chiến', 'Chiểu', 'Châu', 'Chính', 'Chương', 'Chưởng', 'Chấn', 'Công', 'Cơ', 'Cương', 'Cường', 'Cảnh', 'Cần', 'Cẩn', - 'Danh', 'Di', 'Dinh', 'Diệp', 'Diệu', 'Du', 'Duy', 'Duệ', 'Dân', 'Dũng', 'Dương', 'Dụng', - 'Giang', 'Giác', 'Giáp', - 'Hiên', 'Hiếu', 'Hiền', 'Hiển', 'Hiệp', 'Hoa', 'Hoài', 'Hoàn', 'Hoàng', 'Hoán', 'Huy', 'Huynh', 'Huấn', 'Huỳnh', 'Hà', 'Hành', 'Hào', 'Hòa', 'Hùng', 'Hưng', 'Hạnh', 'Hải', 'Hảo', 'Hậu', 'Học', 'Hồng', 'Hội', 'Hợp', 'Hữu', 'Hỷ', - 'Kha', 'Khang', 'Khanh', 'Khiêm', 'Khiếu', 'Khoa', 'Khoát', 'Khánh', 'Khôi', 'Khương', 'Khải', 'Kim', 'Kiên', 'Kiếm', 'Kiện', 'Kiệt', 'Kính', 'Kỳ', 'Kỷ', - 'Lai', 'Lam', 'Linh', 'Liêm', 'Long', 'Luận', 'Luật', 'Lâm', 'Lân', 'Lý', 'Lĩnh', 'Lương', 'Lạc', 'Lập', 'Lễ', 'Lộ', 'Lộc', 'Lực', - 'Minh', 'Mạnh', 'Mẫn', 'Mỹ', - 'Nam', 'Nghiêm', 'Nghiệp', 'Nghĩa', 'Nghị', 'Nguyên', 'Ngân', 'Ngôn', 'Ngạn', 'Ngọc', 'Nhiên', 'Nhu', 'Nhuận', 'Nhân', 'Nhã', 'Nhượng', 'Nhạn', 'Nhật', 'Ninh', - 'Phi', 'Phong', 'Pháp', 'Phát', 'Phú', 'Phúc', 'Phương', 'Phước', 'Phụng', - 'Quang', 'Quyết', 'Quyền', 'Quân', 'Quý', 'Quảng', 'Quế', 'Quốc', 'Quỳnh', - 'Sang', 'Sinh', 'Siêu', 'Sáng', 'Sâm', 'Sĩ', 'Sơn', 'Sử', 'Sỹ', - 'Thanh', 'Thiên', 'Thiện', 'Thuận', 'Thành', 'Thái', 'Thông', 'Thúc', 'Thạc', 'Thạch', 'Thắng', 'Thể', 'Thịnh', 'Thọ', 'Thống', 'Thời', 'Thụy', 'Thủy', 'Thực', 'Tiến', 'Tiếp', 'Tiền', 'Tiển', 'Toàn', 'Toại', 'Toản', 'Trang', 'Triết', 'Triều', 'Triệu', 'Trung', 'Trác', 'Tráng', 'Trân', 'Trình', 'Trí', 'Trúc', 'Trường', 'Trưởng', 'Trạch', 'Trọng', 'Trụ', 'Trực', 'Tuyền', 'Tuấn', 'Tuệ', 'Tài', 'Tâm', 'Tân', 'Tín', 'Tùng', 'Tú', 'Tường', 'Tấn', 'Tụ', 'Từ', - 'Uy', - 'Vinh', 'Viên', 'Việt', 'Vu', 'Võ', 'Văn', 'Vĩ', 'Vĩnh', 'Vũ', 'Vương', 'Vượng', 'Vịnh', 'Vỹ', - 'Xuân', - 'Yên', - 'Án', 'Ân', - 'Đan', 'Điền', 'Điệp', 'Đoàn', 'Đình', 'Đôn', 'Đăng', 'Đại', 'Đạo', 'Đạt', 'Định', 'Đồng', 'Độ', 'Đức', 'Đức', - 'Ẩn', - ]; - - /** - * @see http://www.dattenhay.vn/1001-ten-cho-be-trai.htm - */ - protected static $middleNameMale = [ - 'An', 'Anh', - 'Bá', 'Bách', 'Bình', 'Bích', 'Bảo', 'Bằng', 'Bửu', 'Bữu', - 'Cao', 'Chiêu', 'Chiến', 'Chung', 'Chuẩn', 'Chánh', 'Chí', 'Chính', 'Chấn', 'Chế', 'Cát', 'Công', 'Cương', 'Cường', 'Cảnh', - 'Danh', 'Duy', 'Dân', 'Dũng', 'Dương', - 'Gia', 'Giang', - 'Hiếu', 'Hiền', 'Hiểu', 'Hiệp', 'Hoài', 'Hoàn', 'Hoàng', 'Huy', 'Huân', 'Hà', 'Hào', 'Hán', 'Hòa', 'Hùng', 'Hưng', 'Hướng', 'Hạnh', 'Hạo', 'Hải', 'Hồ', 'Hồng', 'Hữu', - 'Khai', 'Khang', 'Khoa', 'Khuyến', 'Khánh', 'Khôi', 'Khương', 'Khải', 'Khắc', 'Khởi', 'Kim', 'Kiên', 'Kiến', 'Kiệt', 'Kỳ', - 'Lam', 'Liên', 'Long', 'Lâm', 'Lương', 'Lạc', 'Lập', - 'Minh', 'Mạnh', 'Mộng', - 'Nam', 'Nghĩa', 'Nghị', 'Nguyên', 'Nguyễn', 'Ngọc', 'Nhân', 'Như', 'Nhất', 'Nhật', 'Niệm', - 'Phi', 'Phong', 'Phú', 'Phúc', 'Phương', 'Phước', 'Phượng', 'Phục', 'Phụng', - 'Quang', 'Quyết', 'Quân', 'Quý', 'Quảng', 'Quốc', - 'Song', 'Sĩ', 'Sơn', 'Sỹ', - 'Tài', 'Tạ', - 'Ân', - 'Đan', 'Đinh', 'Đoàn', 'Đình', 'Đông', 'Đăng', 'Đại', 'Đạt', 'Đắc', 'Định', 'Đồng', 'Đức', 'Đăng', 'Đức', - ]; - - /** - * @see http://www.dattenhay.vn/1001-ten-cho-be-gai.htm - */ - protected static $firstNameFemale = [ - 'An', 'Anh', - 'Bình', 'Bích', 'Băng', 'Bạch', 'Bảo', - 'Ca', 'Chi', 'Chinh', 'Chiêu', 'Chung', 'Châu', 'Cát', 'Cúc', 'Cương', 'Cầm', - 'Dao', 'Di', 'Diễm', 'Diệp', 'Diệu', 'Du', 'Dung', 'Duyên', 'Dân', 'Dương', - 'Giang', 'Giao', - 'Hiếu', 'Hiền', 'Hiệp', 'Hoa', 'Hoan', 'Hoài', 'Hoàn', 'Huyền', 'Huệ', 'Hà', 'Hân', 'Hòa', 'Hương', 'Hường', 'Hạ', 'Hạnh', 'Hải', 'Hảo', 'Hậu', 'Hằng', 'Hồng', 'Hợp', - 'Khai', 'Khanh', 'Khuyên', 'Khuê', 'Khánh', 'Khê', 'Khôi', 'Kim', 'Kiều', - 'Lam', 'Lan', 'Linh', 'Liên', 'Liễu', 'Loan', 'Ly', 'Lâm', 'Lý', 'Lễ', 'Lệ', 'Lộc', 'Lợi', - 'Mai', 'Mi', 'Minh', 'Miên', 'My', 'Mẫn', 'Mỹ', - 'Nga', 'Nghi', 'Nguyên', 'Nguyệt', 'Ngà', 'Ngân', 'Ngôn', 'Ngọc', 'Nhi', 'Nhiên', 'Nhung', 'Nhàn', 'Nhân', 'Nhã', 'Như', 'Nương', 'Nữ', - 'Oanh', - 'Phi', - 'Phong', 'Phúc', 'Phương', 'Phước', 'Phượng', 'Phụng', - 'Quyên', 'Quân', 'Quế', 'Quỳnh', - 'Sa', 'San', 'Sinh', 'Sương', - 'Thanh', 'Thảo', 'Thi', 'Thiên', 'Thiện', 'Thoa', 'Thoại', 'Thu', 'Thuần', 'Thuận', 'Thy', 'Thêu', 'Thùy', 'Thúy', 'Thơ', 'Thư', 'Thương', 'Thường', 'Thảo', 'Thắm', 'Thục', 'Thủy', 'Tiên', 'Trang', 'Trinh', 'Trung', 'Trà', 'Trâm', 'Trân', 'Trúc', 'Trầm', 'Tuyến', 'Tuyết', 'Tuyền', 'Tuệ', 'Ty', 'Tâm', 'Tú', - 'Uyên', 'Uyển', - 'Vi', 'Việt', - 'Vy', 'Vân', 'Vũ', 'Vọng', 'Vỹ', - 'Xuyến', 'Xuân', - 'Yên', 'Yến', - 'Ái', 'Ánh', 'Ân', - 'Đan', 'Điệp', 'Đoan', 'Đài', 'Đàn', 'Đào', 'Đình', 'Đường', 'Đan', - 'Ý', - ]; - - /** - * @see http://www.dattenhay.vn/1001-ten-cho-be-gai.htm - */ - protected static $middleNameFemale = [ - 'An', 'Anh', - 'Ban', 'Bích', 'Băng', 'Bạch', 'Bảo', 'Bội', - 'Cam', 'Chi', 'Chiêu', 'Cát', 'Cẩm', - 'Di', 'Diên', 'Diễm', 'Diệp', 'Diệu', 'Duy', 'Duyên', 'Dã', 'Dạ', - 'Gia', 'Giang', 'Giao', 'Giáng', - 'Hiếu', 'Hiền', 'Hiểu', 'Hoa', 'Hoài', 'Hoàn', 'Hoàng', 'Huyền', 'Huệ', 'Huỳnh', 'Hà', 'Hàm', 'Hương', 'Hạ', 'Hạc', 'Hạnh', 'Hải', 'Hảo', 'Hằng', 'Họa', 'Hồ', 'Hồng', - 'Khiết', 'Khuê', 'Khánh', 'Khúc', 'Khả', 'Khải', 'Kim', 'Kiết', 'Kiều', 'Kỳ', - 'Lam', 'Lan', 'Linh', 'Liên', 'Liễu', 'Loan', 'Ly', 'Lâm', 'Lê', 'Lưu', 'Lệ', 'Lộc', 'Lục', - 'Mai', 'Minh', 'Mậu', 'Mộc', 'Mộng', 'Mỹ', - 'Nghi', 'Nguyên', 'Nguyết', 'Nguyệt', 'Ngân', 'Ngọc', 'Nhan', 'Nhã', 'Như', 'Nhất', 'Nhật', - 'Oanh', - 'Phi', 'Phong', 'Phương', 'Phước', 'Phượng', 'Phụng', - 'Quế', 'Quỳnh', - 'Sao', 'Song', 'Sông', 'Sơn', 'Sương', - 'Thanh', 'Thi', 'Thiên', 'Thiếu', 'Thiều', 'Thiện', 'Thu', 'Thuần', 'Thy', 'Thái', 'Thùy', 'Thúy', 'Thơ', 'Thư', 'Thương', 'Thạch', 'Thảo', 'Thục', 'Thụy', 'Thủy', 'Tiên', 'Tiểu', 'Trang', 'Triều', 'Triệu', 'Trà', 'Trâm', 'Trân', 'Trúc', 'Trầm', 'Tuyết', 'Tuệ', 'Tâm', 'Tùng', 'Tùy', 'Tú', 'Túy', 'Tường', 'Tịnh', 'Tố', 'Từ', - 'Uyên', 'Uyển', - 'Vi', 'Việt', 'Vy', 'Vàng', 'Vành', 'Vân', 'Vũ', - 'Xuyến', 'Xuân', - 'Yên', 'Yến', - 'Ái', 'Ánh', - 'Đan', 'Đinh', 'Đoan', 'Đài', 'Đông', 'Đồng', 'Đan', 'Đoan', - 'Ý', - ]; - - /** - * @see http://vi.wikipedia.org/wiki/H%E1%BB%8D_ng%C6%B0%E1%BB%9Di_Vi%E1%BB%87t_Nam - */ - protected static $lastName = [ - 'An', 'Ánh', - 'Ân', 'Âu', 'Ấu', - 'Biện', 'Bàng', 'Bành', 'Bá', 'Bì', 'Bình', 'Bùi', 'Bạc', 'Bạch', 'Bảo', 'Bế', 'Bồ', 'Bửu', - 'Ca', 'Cam', 'Cao', 'Chiêm', 'Chu', 'Chung', 'Châu', 'Chương', 'Chế', 'Chử', 'Cung', 'Cái', 'Cát', 'Cù', 'Cấn', 'Cầm', 'Cổ', 'Cự', - 'Danh', 'Diêm', 'Diệp', 'Doãn', 'Dã', 'Dư', 'Dương', - 'Đan', 'Đàm', 'Đào', 'Đái', 'Đặng', 'Đậu', 'Đinh', 'Điền', 'Đoàn', 'Đôn', 'Đồng', 'Đổng', 'Đỗ', 'Đới', 'Đường', - 'Giang', 'Giao', 'Giáp', 'Giả', - 'Hoa', 'Hoàng', 'Huỳnh', 'Hy', 'Hà', 'Hàn', 'Hàng', 'Hán', 'Hình', 'Hùng', 'Hạ', 'Hồ', 'Hồng', 'Hứa', - 'Kha', 'Khoa', 'Khu', 'Khuất', 'Khâu', 'Khúc', 'Khưu', 'Khương', 'Khổng', 'Kim', 'Kiều', - 'La', 'Liễu', 'Lâm', 'Lã', 'Lê', 'Lò', 'Lô', 'Lý', 'Lư', 'Lưu', 'Lương', 'Lạc', 'Lại', 'Lều', 'Lỡ', 'Lục', 'Lữ', 'Lỳ', - 'Ma', 'Mai', 'Mang', 'Mâu', 'Mã', 'Mạc', 'Mạch', 'Mẫn', 'Mộc', - 'Nghiêm', 'Nghị', 'Nguyễn', 'Ngân', 'Ngô', 'Ngụy', 'Nhiệm', 'Nhâm', 'Nhậm', 'Nhữ', 'Ninh', 'Nông', - 'Ong', - 'Ông', - 'Phan', 'Phi', 'Phí', 'Phó', 'Phùng', 'Phương', 'Phạm', - 'Quách', 'Quản', - 'Sơn', 'Sử', - 'Thi', 'Thiều', 'Thào', 'Thái', 'Thân', 'Thôi', 'Thạch', 'Thập', 'Thịnh', 'Tiêu', 'Tiếp', 'Trang', 'Triệu', 'Trà', 'Trác', 'Trình', 'Trưng', 'Trương', 'Trần', 'Trịnh', 'Ty', 'Tào', 'Tòng', 'Tô', 'Tôn', 'Tông', 'Tăng', 'Tạ', 'Tống', 'Từ', - 'Ung', 'Uông', - 'Vi', 'Viên', 'Võ', 'Văn', 'Vũ', 'Vương', 'Vừ', 'Xa', - 'Yên', - ]; - - protected static $titleMale = ['Cụ', 'Ông', 'Bác', 'Chú', 'Anh', 'Em']; - - protected static $titleFemale = ['Cụ', 'Bà', 'Bác', 'Cô', 'Chị', 'Em']; - - public function middleName($gender = null) - { - if ($gender === static::GENDER_MALE) { - return static::middleNameMale(); - } - - if ($gender === static::GENDER_FEMALE) { - return static::middleNameFemale(); - } - - return $this->generator->parse(static::randomElement(static::$middleNameFormat)); - } - - public static function middleNameMale() - { - return static::randomElement(static::$middleNameMale); - } - - public static function middleNameFemale() - { - return static::randomElement(static::$middleNameFemale); - } +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{lastName}} {{firstNameMale}}', + '{{titleMale}}. {{lastName}} {{firstNameMale}}', + '{{lastName}} {{middleNameMale}} {{firstNameMale}}', + '{{titleMale}}. {{lastName}} {{middleNameMale}} {{firstNameMale}}', + ]; + + protected static $femaleNameFormats = [ + '{{lastName}} {{firstNameFemale}}', + '{{titleFemale}}. {{lastName}} {{firstNameFemale}}', + '{{lastName}} {{middleNameFemale}} {{firstNameFemale}}', + '{{titleFemale}}. {{lastName}} {{middleNameFemale}} {{firstNameFemale}}', + ]; + + protected static $middleNameFormat = [ + '{{firstNameMale}}', + '{{firstNameFemale}}', + ]; + + /** + * @see http://www.dattenhay.vn/1001-ten-cho-be-trai.htm + */ + protected static $firstNameMale = [ + 'An', + 'Anh', + 'Bào', + 'Bình', + 'Bạch', + 'Bảo', + 'Bắc', + 'Bằng', + 'Bổng', + 'Bửu', + 'Ca', + 'Canh', + 'Chiến', + 'Chiểu', + 'Châu', + 'Chính', + 'Chương', + 'Chưởng', + 'Chấn', + 'Công', + 'Cơ', + 'Cương', + 'Cường', + 'Cảnh', + 'Cần', + 'Cẩn', + 'Danh', + 'Di', + 'Dinh', + 'Diệp', + 'Diệu', + 'Du', + 'Duy', + 'Duệ', + 'Dân', + 'Dũng', + 'Dương', + 'Dụng', + 'Giang', + 'Giác', + 'Giáp', + 'Hiên', + 'Hiếu', + 'Hiền', + 'Hiển', + 'Hiệp', + 'Hoa', + 'Hoài', + 'Hoàn', + 'Hoàng', + 'Hoán', + 'Huy', + 'Huynh', + 'Huấn', + 'Huỳnh', + 'Hà', + 'Hành', + 'Hào', + 'Hòa', + 'Hùng', + 'Hưng', + 'Hạnh', + 'Hải', + 'Hảo', + 'Hậu', + 'Học', + 'Hồng', + 'Hội', + 'Hợp', + 'Hữu', + 'Hỷ', + 'Kha', + 'Khang', + 'Khanh', + 'Khiêm', + 'Khiếu', + 'Khoa', + 'Khoát', + 'Khánh', + 'Khôi', + 'Khương', + 'Khải', + 'Kim', + 'Kiên', + 'Kiếm', + 'Kiện', + 'Kiệt', + 'Kính', + 'Kỳ', + 'Kỷ', + 'Lai', + 'Lam', + 'Linh', + 'Liêm', + 'Long', + 'Luận', + 'Luật', + 'Lâm', + 'Lân', + 'Lý', + 'Lĩnh', + 'Lương', + 'Lạc', + 'Lập', + 'Lễ', + 'Lộ', + 'Lộc', + 'Lực', + 'Minh', + 'Mạnh', + 'Mẫn', + 'Mỹ', + 'Nam', + 'Nghiêm', + 'Nghiệp', + 'Nghĩa', + 'Nghị', + 'Nguyên', + 'Ngân', + 'Ngôn', + 'Ngạn', + 'Ngọc', + 'Nhiên', + 'Nhu', + 'Nhuận', + 'Nhân', + 'Nhã', + 'Nhượng', + 'Nhạn', + 'Nhật', + 'Ninh', + 'Phi', + 'Phong', + 'Pháp', + 'Phát', + 'Phú', + 'Phúc', + 'Phương', + 'Phước', + 'Phụng', + 'Quang', + 'Quyết', + 'Quyền', + 'Quân', + 'Quý', + 'Quảng', + 'Quế', + 'Quốc', + 'Quỳnh', + 'Sang', + 'Sinh', + 'Siêu', + 'Sáng', + 'Sâm', + 'Sĩ', + 'Sơn', + 'Sử', + 'Sỹ', + 'Thanh', + 'Thiên', + 'Thiện', + 'Thuận', + 'Thành', + 'Thái', + 'Thông', + 'Thúc', + 'Thạc', + 'Thạch', + 'Thắng', + 'Thể', + 'Thịnh', + 'Thọ', + 'Thống', + 'Thời', + 'Thụy', + 'Thủy', + 'Thực', + 'Tiến', + 'Tiếp', + 'Tiền', + 'Tiển', + 'Toàn', + 'Toại', + 'Toản', + 'Trang', + 'Triết', + 'Triều', + 'Triệu', + 'Trung', + 'Trác', + 'Tráng', + 'Trân', + 'Trình', + 'Trí', + 'Trúc', + 'Trường', + 'Trưởng', + 'Trạch', + 'Trọng', + 'Trụ', + 'Trực', + 'Tuyền', + 'Tuấn', + 'Tuệ', + 'Tài', + 'Tâm', + 'Tân', + 'Tín', + 'Tùng', + 'Tú', + 'Tường', + 'Tấn', + 'Tụ', + 'Từ', + 'Uy', + 'Vinh', + 'Viên', + 'Việt', + 'Vu', + 'Võ', + 'Văn', + 'Vĩ', + 'Vĩnh', + 'Vũ', + 'Vương', + 'Vượng', + 'Vịnh', + 'Vỹ', + 'Xuân', + 'Yên', + 'Án', + 'Ân', + 'Đan', + 'Điền', + 'Điệp', + 'Đoàn', + 'Đình', + 'Đôn', + 'Đăng', + 'Đại', + 'Đạo', + 'Đạt', + 'Định', + 'Đồng', + 'Độ', + 'Đức', + 'Đức', + 'Ẩn', + ]; + + /** + * @see http://www.dattenhay.vn/1001-ten-cho-be-trai.htm + */ + protected static $middleNameMale = [ + 'An', + 'Anh', + 'Bá', + 'Bách', + 'Bình', + 'Bích', + 'Bảo', + 'Bằng', + 'Bửu', + 'Bữu', + 'Cao', + 'Chiêu', + 'Chiến', + 'Chung', + 'Chuẩn', + 'Chánh', + 'Chí', + 'Chính', + 'Chấn', + 'Chế', + 'Cát', + 'Công', + 'Cương', + 'Cường', + 'Cảnh', + 'Danh', + 'Duy', + 'Dân', + 'Dũng', + 'Dương', + 'Gia', + 'Giang', + 'Hiếu', + 'Hiền', + 'Hiểu', + 'Hiệp', + 'Hoài', + 'Hoàn', + 'Hoàng', + 'Huy', + 'Huân', + 'Hà', + 'Hào', + 'Hán', + 'Hòa', + 'Hùng', + 'Hưng', + 'Hướng', + 'Hạnh', + 'Hạo', + 'Hải', + 'Hồ', + 'Hồng', + 'Hữu', + 'Khai', + 'Khang', + 'Khoa', + 'Khuyến', + 'Khánh', + 'Khôi', + 'Khương', + 'Khải', + 'Khắc', + 'Khởi', + 'Kim', + 'Kiên', + 'Kiến', + 'Kiệt', + 'Kỳ', + 'Lam', + 'Liên', + 'Long', + 'Lâm', + 'Lương', + 'Lạc', + 'Lập', + 'Minh', + 'Mạnh', + 'Mộng', + 'Nam', + 'Nghĩa', + 'Nghị', + 'Nguyên', + 'Nguyễn', + 'Ngọc', + 'Nhân', + 'Như', + 'Nhất', + 'Nhật', + 'Niệm', + 'Phi', + 'Phong', + 'Phú', + 'Phúc', + 'Phương', + 'Phước', + 'Phượng', + 'Phục', + 'Phụng', + 'Quang', + 'Quyết', + 'Quân', + 'Quý', + 'Quảng', + 'Quốc', + 'Song', + 'Sĩ', + 'Sơn', + 'Sỹ', + 'Tài', + 'Tạ', + 'Ân', + 'Đan', + 'Đinh', + 'Đoàn', + 'Đình', + 'Đông', + 'Đăng', + 'Đại', + 'Đạt', + 'Đắc', + 'Định', + 'Đồng', + 'Đức', + 'Đăng', + 'Đức', + ]; + + /** + * @see http://www.dattenhay.vn/1001-ten-cho-be-gai.htm + */ + protected static $firstNameFemale = [ + 'An', + 'Anh', + 'Bình', + 'Bích', + 'Băng', + 'Bạch', + 'Bảo', + 'Ca', + 'Chi', + 'Chinh', + 'Chiêu', + 'Chung', + 'Châu', + 'Cát', + 'Cúc', + 'Cương', + 'Cầm', + 'Dao', + 'Di', + 'Diễm', + 'Diệp', + 'Diệu', + 'Du', + 'Dung', + 'Duyên', + 'Dân', + 'Dương', + 'Giang', + 'Giao', + 'Hiếu', + 'Hiền', + 'Hiệp', + 'Hoa', + 'Hoan', + 'Hoài', + 'Hoàn', + 'Huyền', + 'Huệ', + 'Hà', + 'Hân', + 'Hòa', + 'Hương', + 'Hường', + 'Hạ', + 'Hạnh', + 'Hải', + 'Hảo', + 'Hậu', + 'Hằng', + 'Hồng', + 'Hợp', + 'Khai', + 'Khanh', + 'Khuyên', + 'Khuê', + 'Khánh', + 'Khê', + 'Khôi', + 'Kim', + 'Kiều', + 'Lam', + 'Lan', + 'Linh', + 'Liên', + 'Liễu', + 'Loan', + 'Ly', + 'Lâm', + 'Lý', + 'Lễ', + 'Lệ', + 'Lộc', + 'Lợi', + 'Mai', + 'Mi', + 'Minh', + 'Miên', + 'My', + 'Mẫn', + 'Mỹ', + 'Nga', + 'Nghi', + 'Nguyên', + 'Nguyệt', + 'Ngà', + 'Ngân', + 'Ngôn', + 'Ngọc', + 'Nhi', + 'Nhiên', + 'Nhung', + 'Nhàn', + 'Nhân', + 'Nhã', + 'Như', + 'Nương', + 'Nữ', + 'Oanh', + 'Phi', + 'Phong', + 'Phúc', + 'Phương', + 'Phước', + 'Phượng', + 'Phụng', + 'Quyên', + 'Quân', + 'Quế', + 'Quỳnh', + 'Sa', + 'San', + 'Sinh', + 'Sương', + 'Thanh', + 'Thảo', + 'Thi', + 'Thiên', + 'Thiện', + 'Thoa', + 'Thoại', + 'Thu', + 'Thuần', + 'Thuận', + 'Thy', + 'Thêu', + 'Thùy', + 'Thúy', + 'Thơ', + 'Thư', + 'Thương', + 'Thường', + 'Thảo', + 'Thắm', + 'Thục', + 'Thủy', + 'Tiên', + 'Trang', + 'Trinh', + 'Trung', + 'Trà', + 'Trâm', + 'Trân', + 'Trúc', + 'Trầm', + 'Tuyến', + 'Tuyết', + 'Tuyền', + 'Tuệ', + 'Ty', + 'Tâm', + 'Tú', + 'Uyên', + 'Uyển', + 'Vi', + 'Việt', + 'Vy', + 'Vân', + 'Vũ', + 'Vọng', + 'Vỹ', + 'Xuyến', + 'Xuân', + 'Yên', + 'Yến', + 'Ái', + 'Ánh', + 'Ân', + 'Đan', + 'Điệp', + 'Đoan', + 'Đài', + 'Đàn', + 'Đào', + 'Đình', + 'Đường', + 'Đan', + 'Ý', + ]; + + /** + * @see http://www.dattenhay.vn/1001-ten-cho-be-gai.htm + */ + protected static $middleNameFemale = [ + 'An', + 'Anh', + 'Ban', + 'Bích', + 'Băng', + 'Bạch', + 'Bảo', + 'Bội', + 'Cam', + 'Chi', + 'Chiêu', + 'Cát', + 'Cẩm', + 'Di', + 'Diên', + 'Diễm', + 'Diệp', + 'Diệu', + 'Duy', + 'Duyên', + 'Dã', + 'Dạ', + 'Gia', + 'Giang', + 'Giao', + 'Giáng', + 'Hiếu', + 'Hiền', + 'Hiểu', + 'Hoa', + 'Hoài', + 'Hoàn', + 'Hoàng', + 'Huyền', + 'Huệ', + 'Huỳnh', + 'Hà', + 'Hàm', + 'Hương', + 'Hạ', + 'Hạc', + 'Hạnh', + 'Hải', + 'Hảo', + 'Hằng', + 'Họa', + 'Hồ', + 'Hồng', + 'Khiết', + 'Khuê', + 'Khánh', + 'Khúc', + 'Khả', + 'Khải', + 'Kim', + 'Kiết', + 'Kiều', + 'Kỳ', + 'Lam', + 'Lan', + 'Linh', + 'Liên', + 'Liễu', + 'Loan', + 'Ly', + 'Lâm', + 'Lê', + 'Lưu', + 'Lệ', + 'Lộc', + 'Lục', + 'Mai', + 'Minh', + 'Mậu', + 'Mộc', + 'Mộng', + 'Mỹ', + 'Nghi', + 'Nguyên', + 'Nguyết', + 'Nguyệt', + 'Ngân', + 'Ngọc', + 'Nhan', + 'Nhã', + 'Như', + 'Nhất', + 'Nhật', + 'Oanh', + 'Phi', + 'Phong', + 'Phương', + 'Phước', + 'Phượng', + 'Phụng', + 'Quế', + 'Quỳnh', + 'Sao', + 'Song', + 'Sông', + 'Sơn', + 'Sương', + 'Thanh', + 'Thi', + 'Thiên', + 'Thiếu', + 'Thiều', + 'Thiện', + 'Thu', + 'Thuần', + 'Thy', + 'Thái', + 'Thùy', + 'Thúy', + 'Thơ', + 'Thư', + 'Thương', + 'Thạch', + 'Thảo', + 'Thục', + 'Thụy', + 'Thủy', + 'Tiên', + 'Tiểu', + 'Trang', + 'Triều', + 'Triệu', + 'Trà', + 'Trâm', + 'Trân', + 'Trúc', + 'Trầm', + 'Tuyết', + 'Tuệ', + 'Tâm', + 'Tùng', + 'Tùy', + 'Tú', + 'Túy', + 'Tường', + 'Tịnh', + 'Tố', + 'Từ', + 'Uyên', + 'Uyển', + 'Vi', + 'Việt', + 'Vy', + 'Vàng', + 'Vành', + 'Vân', + 'Vũ', + 'Xuyến', + 'Xuân', + 'Yên', + 'Yến', + 'Ái', + 'Ánh', + 'Đan', + 'Đinh', + 'Đoan', + 'Đài', + 'Đông', + 'Đồng', + 'Đan', + 'Đoan', + 'Ý', + ]; + + /** + * @see http://vi.wikipedia.org/wiki/H%E1%BB%8D_ng%C6%B0%E1%BB%9Di_Vi%E1%BB%87t_Nam + */ + protected static $lastName = [ + 'An', + 'Ánh', + 'Ân', + 'Âu', + 'Ấu', + 'Biện', + 'Bàng', + 'Bành', + 'Bá', + 'Bì', + 'Bình', + 'Bùi', + 'Bạc', + 'Bạch', + 'Bảo', + 'Bế', + 'Bồ', + 'Bửu', + 'Ca', + 'Cam', + 'Cao', + 'Chiêm', + 'Chu', + 'Chung', + 'Châu', + 'Chương', + 'Chế', + 'Chử', + 'Cung', + 'Cái', + 'Cát', + 'Cù', + 'Cấn', + 'Cầm', + 'Cổ', + 'Cự', + 'Danh', + 'Diêm', + 'Diệp', + 'Doãn', + 'Dã', + 'Dư', + 'Dương', + 'Đan', + 'Đàm', + 'Đào', + 'Đái', + 'Đặng', + 'Đậu', + 'Đinh', + 'Điền', + 'Đoàn', + 'Đôn', + 'Đồng', + 'Đổng', + 'Đỗ', + 'Đới', + 'Đường', + 'Giang', + 'Giao', + 'Giáp', + 'Giả', + 'Hoa', + 'Hoàng', + 'Huỳnh', + 'Hy', + 'Hà', + 'Hàn', + 'Hàng', + 'Hán', + 'Hình', + 'Hùng', + 'Hạ', + 'Hồ', + 'Hồng', + 'Hứa', + 'Kha', + 'Khoa', + 'Khu', + 'Khuất', + 'Khâu', + 'Khúc', + 'Khưu', + 'Khương', + 'Khổng', + 'Kim', + 'Kiều', + 'La', + 'Liễu', + 'Lâm', + 'Lã', + 'Lê', + 'Lò', + 'Lô', + 'Lý', + 'Lư', + 'Lưu', + 'Lương', + 'Lạc', + 'Lại', + 'Lều', + 'Lỡ', + 'Lục', + 'Lữ', + 'Lỳ', + 'Ma', + 'Mai', + 'Mang', + 'Mâu', + 'Mã', + 'Mạc', + 'Mạch', + 'Mẫn', + 'Mộc', + 'Nghiêm', + 'Nghị', + 'Nguyễn', + 'Ngân', + 'Ngô', + 'Ngụy', + 'Nhiệm', + 'Nhâm', + 'Nhậm', + 'Nhữ', + 'Ninh', + 'Nông', + 'Ong', + 'Ông', + 'Phan', + 'Phi', + 'Phí', + 'Phó', + 'Phùng', + 'Phương', + 'Phạm', + 'Quách', + 'Quản', + 'Sơn', + 'Sử', + 'Thi', + 'Thiều', + 'Thào', + 'Thái', + 'Thân', + 'Thôi', + 'Thạch', + 'Thập', + 'Thịnh', + 'Tiêu', + 'Tiếp', + 'Trang', + 'Triệu', + 'Trà', + 'Trác', + 'Trình', + 'Trưng', + 'Trương', + 'Trần', + 'Trịnh', + 'Ty', + 'Tào', + 'Tòng', + 'Tô', + 'Tôn', + 'Tông', + 'Tăng', + 'Tạ', + 'Tống', + 'Từ', + 'Ung', + 'Uông', + 'Vi', + 'Viên', + 'Võ', + 'Văn', + 'Vũ', + 'Vương', + 'Vừ', + 'Xa', + 'Yên', + ]; + + protected static $titleMale = [ 'Cụ', 'Ông', 'Bác', 'Chú', 'Anh', 'Em' ]; + + protected static $titleFemale = [ 'Cụ', 'Bà', 'Bác', 'Cô', 'Chị', 'Em' ]; + + public function middleName( $gender = null ) { + if ( $gender === static::GENDER_MALE ) { + return static::middleNameMale(); + } + + if ( $gender === static::GENDER_FEMALE ) { + return static::middleNameFemale(); + } + + return $this->generator->parse( static::randomElement( static::$middleNameFormat ) ); + } + + public static function middleNameMale() { + return static::randomElement( static::$middleNameMale ); + } + + public static function middleNameFemale() { + return static::randomElement( static::$middleNameFemale ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/PhoneNumber.php index a6f47f1..84a33e4 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/vi_VN/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/vi_VN/PhoneNumber.php @@ -2,60 +2,135 @@ namespace Faker\Provider\vi_VN; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $areaCodes = [ - 76, 281, 64, 781, 240, 241, - 75, 650, 56, 651, 62, 780, - 26, 710, 511, 500, 510, 230, - 61, 67, 59, 219, 351, 4, - 39, 320, 31, 711, 218, 321, - 8, 58, 77, 60, 231, 25, - 20, 63, 72, 350, 38, 30, - 68, 210, 57, 52, 510, 55, - 33, 53, 79, 22, 66, 36, - 280, 37, 54, 73, 74, 27, - 70, 211, 29, - // Mobile - 96, 97, 98, 162, 163, 164, 165, 166, 167, 168, 169, // Viettel - 91, 94, 123, 124, 125, 127, 129, // Vinaphone - 90, 93, 120, 121, 122, 126, 128, // Mobifone - 92, 186, 188, // Vietnamobile - 99, 199, // Gmobile - 95, // Sfone - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $areaCodes = [ + 76, + 281, + 64, + 781, + 240, + 241, + 75, + 650, + 56, + 651, + 62, + 780, + 26, + 710, + 511, + 500, + 510, + 230, + 61, + 67, + 59, + 219, + 351, + 4, + 39, + 320, + 31, + 711, + 218, + 321, + 8, + 58, + 77, + 60, + 231, + 25, + 20, + 63, + 72, + 350, + 38, + 30, + 68, + 210, + 57, + 52, + 510, + 55, + 33, + 53, + 79, + 22, + 66, + 36, + 280, + 37, + 54, + 73, + 74, + 27, + 70, + 211, + 29, + // Mobile + 96, + 97, + 98, + 162, + 163, + 164, + 165, + 166, + 167, + 168, + 169, // Viettel + 91, + 94, + 123, + 124, + 125, + 127, + 129, // Vinaphone + 90, + 93, + 120, + 121, + 122, + 126, + 128, // Mobifone + 92, + 186, + 188, // Vietnamobile + 99, + 199, // Gmobile + 95, // Sfone + ]; - protected static $formats = [ - '7' => [ - '0[a] ### ####', - '(0[a]) ### ####', - '0[a]-###-####', - '(0[a])###-####', - '84-[a]-###-####', - '(84)([a])###-####', - '+84-[a]-###-####', - ], - '8' => [ - '0[a] #### ####', - '(0[a]) #### ####', - '0[a]-####-####', - '(0[a])####-####', - '84-[a]-####-####', - '(84)([a])####-####', - '+84-[a]-####-####', - ], - ]; + protected static $formats = [ + '7' => [ + '0[a] ### ####', + '(0[a]) ### ####', + '0[a]-###-####', + '(0[a])###-####', + '84-[a]-###-####', + '(84)([a])###-####', + '+84-[a]-###-####', + ], + '8' => [ + '0[a] #### ####', + '(0[a]) #### ####', + '0[a]-####-####', + '(0[a])####-####', + '84-[a]-####-####', + '(84)([a])####-####', + '+84-[a]-####-####', + ], + ]; - public function phoneNumber() - { - $areaCode = static::randomElement(static::$areaCodes); - $areaCodeLength = strlen($areaCode); - $digits = 7; + public function phoneNumber() { + $areaCode = static::randomElement( static::$areaCodes ); + $areaCodeLength = strlen( $areaCode ); + $digits = 7; - if ($areaCodeLength < 2) { - $digits = 8; - } + if ( $areaCodeLength < 2 ) { + $digits = 8; + } - return static::numerify(str_replace('[a]', $areaCode, static::randomElement(static::$formats[$digits]))); - } + return static::numerify( str_replace( '[a]', $areaCode, static::randomElement( static::$formats[ $digits ] ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Address.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Address.php index d67e149..d4bb2a2 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Address.php @@ -2,147 +2,438 @@ namespace Faker\Provider\zh_CN; -class Address extends \Faker\Provider\Address -{ - protected static $cites = [ - '北京', '上海', '天津', '重庆', - '哈尔滨', '长春', '沈阳', '呼和浩特', - '石家庄', '乌鲁木齐', '兰州', '西宁', - '西安', '银川', '郑州', '济南', - '太原', '合肥', '武汉', '长沙', - '南京', '成都', '贵阳', '昆明', - '南宁', '拉萨', '杭州', '南昌', - '广州', '福州', '海口', - '香港', '澳门', - ]; +class Address extends \Faker\Provider\Address { + protected static $cites = [ + '北京', + '上海', + '天津', + '重庆', + '哈尔滨', + '长春', + '沈阳', + '呼和浩特', + '石家庄', + '乌鲁木齐', + '兰州', + '西宁', + '西安', + '银川', + '郑州', + '济南', + '太原', + '合肥', + '武汉', + '长沙', + '南京', + '成都', + '贵阳', + '昆明', + '南宁', + '拉萨', + '杭州', + '南昌', + '广州', + '福州', + '海口', + '香港', + '澳门', + ]; - protected static $states = [ - '北京市', '天津市', '河北省', '山西省', - '内蒙古自治区', '辽宁省', '吉林省', - '黑龙江省', '上海市', '江苏省', - '浙江省', '安徽省', '福建省', '江西省', - '山东省', '河南省', '湖北省', '湖南省', - '广东省', '广西壮族自治区', '海南省', - '重庆市', '四川省', '贵州省', '云南省', - '西藏自治区', '陕西省', '甘肃省', '青海省', - '宁夏回族自治区', '新疆维吾尔自治区', - '香港特别行政区', '澳门特别行政区', '台湾省', - ]; + protected static $states = [ + '北京市', + '天津市', + '河北省', + '山西省', + '内蒙古自治区', + '辽宁省', + '吉林省', + '黑龙江省', + '上海市', + '江苏省', + '浙江省', + '安徽省', + '福建省', + '江西省', + '山东省', + '河南省', + '湖北省', + '湖南省', + '广东省', + '广西壮族自治区', + '海南省', + '重庆市', + '四川省', + '贵州省', + '云南省', + '西藏自治区', + '陕西省', + '甘肃省', + '青海省', + '宁夏回族自治区', + '新疆维吾尔自治区', + '香港特别行政区', + '澳门特别行政区', + '台湾省', + ]; - protected static $stateAbbr = [ - '京', '皖', '渝', '闽', - '甘', '粤', '桂', '黔', - '琼', '冀', '豫', '黑', - '鄂', '湘', '吉', '苏', - '赣', '辽', '蒙', '宁', - '青', '鲁', '晋', '陕', - '沪', '川', '津', '藏', - '新', '滇', '浙', '港', - '澳', '台', - ]; + protected static $stateAbbr = [ + '京', + '皖', + '渝', + '闽', + '甘', + '粤', + '桂', + '黔', + '琼', + '冀', + '豫', + '黑', + '鄂', + '湘', + '吉', + '苏', + '赣', + '辽', + '蒙', + '宁', + '青', + '鲁', + '晋', + '陕', + '沪', + '川', + '津', + '藏', + '新', + '滇', + '浙', + '港', + '澳', + '台', + ]; - protected static $areas = [ - '西夏区', '永川区', '秀英区', '高港区', - '清城区', '兴山区', '锡山区', '清河区', - '龙潭区', '华龙区', '海陵区', '滨城区', - '东丽区', '高坪区', '沙湾区', '平山区', - '城北区', '海港区', '沙市区', '双滦区', - '长寿区', '山亭区', '南湖区', '浔阳区', - '南长区', '友好区', '安次区', '翔安区', - '沈河区', '魏都区', '西峰区', '萧山区', - '金平区', '沈北新区', '孝南区', '上街区', - '城东区', '牧野区', '大东区', '白云区', - '花溪区', '吉利区', '新城区', '怀柔区', - '六枝特区', '涪城区', '清浦区', '南溪区', - '淄川区', '高明区', '金水区', '中原区', - '高新开发区', '经济开发新区', '新区', - ]; + protected static $areas = [ + '西夏区', + '永川区', + '秀英区', + '高港区', + '清城区', + '兴山区', + '锡山区', + '清河区', + '龙潭区', + '华龙区', + '海陵区', + '滨城区', + '东丽区', + '高坪区', + '沙湾区', + '平山区', + '城北区', + '海港区', + '沙市区', + '双滦区', + '长寿区', + '山亭区', + '南湖区', + '浔阳区', + '南长区', + '友好区', + '安次区', + '翔安区', + '沈河区', + '魏都区', + '西峰区', + '萧山区', + '金平区', + '沈北新区', + '孝南区', + '上街区', + '城东区', + '牧野区', + '大东区', + '白云区', + '花溪区', + '吉利区', + '新城区', + '怀柔区', + '六枝特区', + '涪城区', + '清浦区', + '南溪区', + '淄川区', + '高明区', + '金水区', + '中原区', + '高新开发区', + '经济开发新区', + '新区', + ]; - protected static $country = [ - '阿富汗', '阿拉斯加', '阿尔巴尼亚', '阿尔及利亚', - '安道尔', '安哥拉', '安圭拉岛英', '安提瓜和巴布达', - '阿根廷', '亚美尼亚', '阿鲁巴岛', '阿森松', '澳大利亚', - '奥地利', '阿塞拜疆', '巴林', '孟加拉国', '巴巴多斯', - '白俄罗斯', '比利时', '伯利兹', '贝宁', '百慕大群岛', - '不丹', '玻利维亚', '波斯尼亚和黑塞哥维那', '博茨瓦纳', - '巴西', '保加利亚', '布基纳法索', '布隆迪', '喀麦隆', - '加拿大', '加那利群岛', '佛得角', '开曼群岛', '中非', - '乍得', '智利', '圣诞岛', '科科斯岛', '哥伦比亚', - '巴哈马国', '多米尼克国', '科摩罗', '刚果', '科克群岛', - '哥斯达黎加', '克罗地亚', '古巴', '塞浦路斯', '捷克', - '丹麦', '迪戈加西亚岛', '吉布提', '多米尼加共和国', - '厄瓜多尔', '埃及', '萨尔瓦多', '赤道几内亚', - '厄立特里亚', '爱沙尼亚', '埃塞俄比亚', '福克兰群岛', - '法罗群岛', '斐济', '芬兰', '法国', '法属圭亚那', - '法属波里尼西亚', '加蓬', '冈比亚', '格鲁吉亚', '德国', - '加纳', '直布罗陀', '希腊', '格陵兰岛', '格林纳达', - '瓜德罗普岛', '关岛', '危地马拉', '几内亚', '几内亚比绍', - '圭亚那', '海地', '夏威夷', '洪都拉斯', '匈牙利', '冰岛', - '印度', '印度尼西亚', '伊郎', '伊拉克', '爱尔兰', '以色列', - '意大利', '科特迪瓦', '牙买加', '日本', '约旦', '柬埔塞', - '哈萨克斯坦', '肯尼亚', '基里巴斯', '朝鲜', '韩国', '科威特', - '吉尔吉斯斯坦', '老挝', '拉脱维亚', '黎巴嫩', '莱索托', - '利比里亚', '利比亚', '列支敦士登', '立陶宛', '卢森堡', - '马其顿', '马达加斯加', '马拉维', '马来西亚', '马尔代夫', - '马里', '马耳他', '马里亚纳群岛', '马绍尔群岛', '马提尼克', - '毛里塔尼亚', '毛里求斯', '马约特岛', '墨西哥', '密克罗尼西亚', - '中途岛', '摩尔多瓦', '摩纳哥', '蒙古', '蒙特塞拉特岛', - '摩洛哥', '莫桑比克', '缅甸', '纳米比亚', '瑙鲁', '尼泊尔', - '荷兰', '荷属安的列斯群岛', '新喀里多尼亚群岛', '新西兰', - '尼加拉瓜', '尼日尔', '尼日利亚', '纽埃岛', '诺福克岛', - '挪威', '阿曼', '帕劳', '巴拿马', '巴布亚新几内亚', '巴拉圭', - '秘鲁', '菲律宾', '波兰', '葡萄牙', '巴基斯坦', '波多黎各', - '卡塔尔', '留尼汪岛', '罗马尼亚', '俄罗斯', '卢旺达', - '东萨摩亚', '西萨摩亚', '圣马力诺', '圣皮埃尔岛及密克隆岛', - '圣多美和普林西比', '沙特阿拉伯', '塞内加尔', '塞舌尔', - '新加坡', '斯洛伐克', '斯洛文尼亚', '所罗门群岛', '索马里', - '南非', '西班牙', '斯里兰卡', '圣克里斯托弗和尼维斯', - '圣赫勒拿', '圣卢西亚', '圣文森特岛', '苏丹', '苏里南', - '斯威士兰', '瑞典', '瑞士', '叙利亚', '塔吉克斯坦', '坦桑尼亚', - '泰国', '阿拉伯联合酋长国', '多哥', '托克劳群岛', '汤加', - '特立尼达和多巴哥', '突尼斯', '土耳其', '土库曼斯坦', - '特克斯和凯科斯群岛(', '图瓦卢', '美国', '乌干达', '乌克兰', - '英国', '乌拉圭', '乌兹别克斯坦', '瓦努阿图', '梵蒂冈', - '委内瑞拉', '越南', '维尔京群岛', '维尔京群岛和圣罗克伊', - '威克岛', '瓦里斯和富士那群岛', '西撒哈拉', '也门', '南斯拉夫', - '扎伊尔', '赞比亚', '桑给巴尔', '津巴布韦', '中华人民共和国', '中国', - ]; + protected static $country = [ + '阿富汗', + '阿拉斯加', + '阿尔巴尼亚', + '阿尔及利亚', + '安道尔', + '安哥拉', + '安圭拉岛英', + '安提瓜和巴布达', + '阿根廷', + '亚美尼亚', + '阿鲁巴岛', + '阿森松', + '澳大利亚', + '奥地利', + '阿塞拜疆', + '巴林', + '孟加拉国', + '巴巴多斯', + '白俄罗斯', + '比利时', + '伯利兹', + '贝宁', + '百慕大群岛', + '不丹', + '玻利维亚', + '波斯尼亚和黑塞哥维那', + '博茨瓦纳', + '巴西', + '保加利亚', + '布基纳法索', + '布隆迪', + '喀麦隆', + '加拿大', + '加那利群岛', + '佛得角', + '开曼群岛', + '中非', + '乍得', + '智利', + '圣诞岛', + '科科斯岛', + '哥伦比亚', + '巴哈马国', + '多米尼克国', + '科摩罗', + '刚果', + '科克群岛', + '哥斯达黎加', + '克罗地亚', + '古巴', + '塞浦路斯', + '捷克', + '丹麦', + '迪戈加西亚岛', + '吉布提', + '多米尼加共和国', + '厄瓜多尔', + '埃及', + '萨尔瓦多', + '赤道几内亚', + '厄立特里亚', + '爱沙尼亚', + '埃塞俄比亚', + '福克兰群岛', + '法罗群岛', + '斐济', + '芬兰', + '法国', + '法属圭亚那', + '法属波里尼西亚', + '加蓬', + '冈比亚', + '格鲁吉亚', + '德国', + '加纳', + '直布罗陀', + '希腊', + '格陵兰岛', + '格林纳达', + '瓜德罗普岛', + '关岛', + '危地马拉', + '几内亚', + '几内亚比绍', + '圭亚那', + '海地', + '夏威夷', + '洪都拉斯', + '匈牙利', + '冰岛', + '印度', + '印度尼西亚', + '伊郎', + '伊拉克', + '爱尔兰', + '以色列', + '意大利', + '科特迪瓦', + '牙买加', + '日本', + '约旦', + '柬埔塞', + '哈萨克斯坦', + '肯尼亚', + '基里巴斯', + '朝鲜', + '韩国', + '科威特', + '吉尔吉斯斯坦', + '老挝', + '拉脱维亚', + '黎巴嫩', + '莱索托', + '利比里亚', + '利比亚', + '列支敦士登', + '立陶宛', + '卢森堡', + '马其顿', + '马达加斯加', + '马拉维', + '马来西亚', + '马尔代夫', + '马里', + '马耳他', + '马里亚纳群岛', + '马绍尔群岛', + '马提尼克', + '毛里塔尼亚', + '毛里求斯', + '马约特岛', + '墨西哥', + '密克罗尼西亚', + '中途岛', + '摩尔多瓦', + '摩纳哥', + '蒙古', + '蒙特塞拉特岛', + '摩洛哥', + '莫桑比克', + '缅甸', + '纳米比亚', + '瑙鲁', + '尼泊尔', + '荷兰', + '荷属安的列斯群岛', + '新喀里多尼亚群岛', + '新西兰', + '尼加拉瓜', + '尼日尔', + '尼日利亚', + '纽埃岛', + '诺福克岛', + '挪威', + '阿曼', + '帕劳', + '巴拿马', + '巴布亚新几内亚', + '巴拉圭', + '秘鲁', + '菲律宾', + '波兰', + '葡萄牙', + '巴基斯坦', + '波多黎各', + '卡塔尔', + '留尼汪岛', + '罗马尼亚', + '俄罗斯', + '卢旺达', + '东萨摩亚', + '西萨摩亚', + '圣马力诺', + '圣皮埃尔岛及密克隆岛', + '圣多美和普林西比', + '沙特阿拉伯', + '塞内加尔', + '塞舌尔', + '新加坡', + '斯洛伐克', + '斯洛文尼亚', + '所罗门群岛', + '索马里', + '南非', + '西班牙', + '斯里兰卡', + '圣克里斯托弗和尼维斯', + '圣赫勒拿', + '圣卢西亚', + '圣文森特岛', + '苏丹', + '苏里南', + '斯威士兰', + '瑞典', + '瑞士', + '叙利亚', + '塔吉克斯坦', + '坦桑尼亚', + '泰国', + '阿拉伯联合酋长国', + '多哥', + '托克劳群岛', + '汤加', + '特立尼达和多巴哥', + '突尼斯', + '土耳其', + '土库曼斯坦', + '特克斯和凯科斯群岛(', + '图瓦卢', + '美国', + '乌干达', + '乌克兰', + '英国', + '乌拉圭', + '乌兹别克斯坦', + '瓦努阿图', + '梵蒂冈', + '委内瑞拉', + '越南', + '维尔京群岛', + '维尔京群岛和圣罗克伊', + '威克岛', + '瓦里斯和富士那群岛', + '西撒哈拉', + '也门', + '南斯拉夫', + '扎伊尔', + '赞比亚', + '桑给巴尔', + '津巴布韦', + '中华人民共和国', + '中国', + ]; - public function city() - { - return static::randomElement(static::$cites); - } + public function city() { + return static::randomElement( static::$cites ); + } - public function state() - { - return static::randomElement(static::$states); - } + public function state() { + return static::randomElement( static::$states ); + } - public function stateAbbr() - { - return static::randomElement(static::$stateAbbr); - } + public function stateAbbr() { + return static::randomElement( static::$stateAbbr ); + } - public static function area() - { - return static::randomElement(static::$areas); - } + public static function area() { + return static::randomElement( static::$areas ); + } - public static function country() - { - return static::randomElement(static::$country); - } + public static function country() { + return static::randomElement( static::$country ); + } - public function address() - { - return $this->city() . static::area(); - } + public function address() { + return $this->city() . static::area(); + } - public static function postcode() - { - $prefix = str_pad(self::numberBetween(1, 85), 2, 0, STR_PAD_LEFT); - $suffix = '00'; + public static function postcode() { + $prefix = str_pad( self::numberBetween( 1, 85 ), 2, 0, STR_PAD_LEFT ); + $suffix = '00'; - return $prefix . self::numberBetween(10, 88) . $suffix; - } + return $prefix . self::numberBetween( 10, 88 ) . $suffix; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Color.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Color.php index 254fd07..de150b8 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Color.php @@ -2,65 +2,270 @@ namespace Faker\Provider\zh_CN; -class Color extends \Faker\Provider\Color -{ - /** - * @see https://zh.wikipedia.org/zh-cn/%E9%A2%9C%E8%89%B2%E5%88%97%E8%A1%A8 - */ - protected static $safeColorNames = [ - '黑色', '粟色', '绿色', '藏青', '橄榄色', - '紫', '凫绿', '鲜绿色', '蓝色', '银色', - '灰色', '黄色', '品红', '水色', '白色', - ]; +class Color extends \Faker\Provider\Color { + /** + * @see https://zh.wikipedia.org/zh-cn/%E9%A2%9C%E8%89%B2%E5%88%97%E8%A1%A8 + */ + protected static $safeColorNames = [ + '黑色', + '粟色', + '绿色', + '藏青', + '橄榄色', + '紫', + '凫绿', + '鲜绿色', + '蓝色', + '银色', + '灰色', + '黄色', + '品红', + '水色', + '白色', + ]; - protected static $allColorNames = [ - '黑色', '昏灰', '灰色', '暗灰', '银色', '亮灰色', - '庚斯博罗灰', '白烟色', '白色', '雪色', '铁灰色', - '沙棕', '玫瑰褐', '亮珊瑚色', '印度红', '褐色', - '耐火砖红', '栗色', '暗红', '鲜红', '红色', '柿子橙', - '雾玫瑰色', '鲑红', '腥红', '蕃茄红', '暗鲑红', - '珊瑚红', '橙红', '亮鲑红', '朱红', '赭黄', '热带橙', - '驼色', '杏黄', '椰褐', '海贝色', '鞍褐', '巧克力色', - '燃橙', '阳橙', '粉扑桃色', '沙褐', '古铜色', '亚麻色', - '蜜橙', '秘鲁色', '乌贼墨色', '赭色', '陶坯黄', '橘色', - '暗橙', '古董白', '日晒色', '硬木色', '杏仁白', - '那瓦霍白', '万寿菊黄', '蕃木瓜色', '灰土色', - '卡其色', '鹿皮鞋色', '旧蕾丝色', '小麦色', '桃色', - '橙色', '花卉白', '金菊色', '暗金菊色', '咖啡色', - '茉莉黄', '琥珀色', '玉米丝色', '铬黄', '金色', - '柠檬绸色', '亮卡其色', '灰金菊色', '暗卡其色', - '含羞草黄', '奶油色', '象牙色', '米黄色', '亮黄', - '亮金菊黄', '香槟黄', '芥末黄', '月黄', '橄榄色', - '鲜黄', '黄色', '苔藓绿', '亮柠檬绿', '橄榄军服绿', - '黄绿', '暗橄榄绿', '苹果绿', '绿黄', '草绿', '草坪绿', - '查特酒绿', '叶绿', '嫩绿', '明绿', '钴绿', '蜜瓜绿', - '暗海绿', '亮绿', '灰绿', '常春藤绿', '森林绿', - '柠檬绿', '暗绿', '绿色', '鲜绿色', '孔雀石绿', - '薄荷绿', '青瓷绿', '碧绿', '绿松石绿', '铬绿', '苍色', - '海绿', '中海绿', '薄荷奶油色', '春绿', '孔雀绿', - '中春绿色', '中碧蓝色', '碧蓝色', '青蓝', '水蓝', - '绿松石蓝', '绿松石色', '亮海绿', '中绿松石色', - '亮青', '浅蓝', '灰绿松石色', '暗岩灰', '凫绿', '暗青', - '青色', '水色', '暗绿松石色', '军服蓝', '孔雀蓝', - '婴儿粉蓝', '浓蓝', '亮蓝', '灰蓝', '萨克斯蓝', - '深天蓝', '天蓝', '亮天蓝', '水手蓝', '普鲁士蓝', - '钢青色', '爱丽丝蓝', '岩灰', '亮岩灰', '道奇蓝', - '矿蓝', '湛蓝', '韦奇伍德瓷蓝', '亮钢蓝', '钴蓝', - '灰丁宁蓝', '矢车菊蓝', '鼠尾草蓝', '暗婴儿粉蓝', - '蓝宝石色', '国际奇连蓝', '蔚蓝', '品蓝', '暗矿蓝', - '极浓海蓝', '天青石蓝', '幽灵白', '薰衣草紫', - '长春花色', '午夜蓝', '藏青', '暗蓝', '中蓝', '蓝色', - '紫藤色', '暗岩蓝', '岩蓝', '中岩蓝', '木槿紫', - '紫丁香色', '中紫红', '紫水晶色', '浅灰紫红', - '缬草紫', '矿紫', '蓝紫', '紫罗兰色', '靛色', '暗兰紫', - '暗紫', '三色堇紫', '锦葵紫', '优品紫红', '中兰紫', - '淡紫丁香色', '蓟紫', '铁线莲紫', '梅红色', '亮紫', - '紫色', '暗洋红', '洋红', '品红', '兰紫', '浅珍珠红', - '陈玫红', '浅玫瑰红', '中青紫红', '洋玫瑰红', - '玫瑰红', '红宝石色', '山茶红', '深粉红', '火鹤红', - '浅珊瑚红', '暖粉红', '勃根第酒红', '尖晶石红', - '胭脂红', '浅粉红', '枢机红', '薰衣草紫红', '灰紫红', - '樱桃红', '浅鲑红', '绯红', '粉红', '亮粉红', '壳黄红', - '茜红', - ]; + protected static $allColorNames = [ + '黑色', + '昏灰', + '灰色', + '暗灰', + '银色', + '亮灰色', + '庚斯博罗灰', + '白烟色', + '白色', + '雪色', + '铁灰色', + '沙棕', + '玫瑰褐', + '亮珊瑚色', + '印度红', + '褐色', + '耐火砖红', + '栗色', + '暗红', + '鲜红', + '红色', + '柿子橙', + '雾玫瑰色', + '鲑红', + '腥红', + '蕃茄红', + '暗鲑红', + '珊瑚红', + '橙红', + '亮鲑红', + '朱红', + '赭黄', + '热带橙', + '驼色', + '杏黄', + '椰褐', + '海贝色', + '鞍褐', + '巧克力色', + '燃橙', + '阳橙', + '粉扑桃色', + '沙褐', + '古铜色', + '亚麻色', + '蜜橙', + '秘鲁色', + '乌贼墨色', + '赭色', + '陶坯黄', + '橘色', + '暗橙', + '古董白', + '日晒色', + '硬木色', + '杏仁白', + '那瓦霍白', + '万寿菊黄', + '蕃木瓜色', + '灰土色', + '卡其色', + '鹿皮鞋色', + '旧蕾丝色', + '小麦色', + '桃色', + '橙色', + '花卉白', + '金菊色', + '暗金菊色', + '咖啡色', + '茉莉黄', + '琥珀色', + '玉米丝色', + '铬黄', + '金色', + '柠檬绸色', + '亮卡其色', + '灰金菊色', + '暗卡其色', + '含羞草黄', + '奶油色', + '象牙色', + '米黄色', + '亮黄', + '亮金菊黄', + '香槟黄', + '芥末黄', + '月黄', + '橄榄色', + '鲜黄', + '黄色', + '苔藓绿', + '亮柠檬绿', + '橄榄军服绿', + '黄绿', + '暗橄榄绿', + '苹果绿', + '绿黄', + '草绿', + '草坪绿', + '查特酒绿', + '叶绿', + '嫩绿', + '明绿', + '钴绿', + '蜜瓜绿', + '暗海绿', + '亮绿', + '灰绿', + '常春藤绿', + '森林绿', + '柠檬绿', + '暗绿', + '绿色', + '鲜绿色', + '孔雀石绿', + '薄荷绿', + '青瓷绿', + '碧绿', + '绿松石绿', + '铬绿', + '苍色', + '海绿', + '中海绿', + '薄荷奶油色', + '春绿', + '孔雀绿', + '中春绿色', + '中碧蓝色', + '碧蓝色', + '青蓝', + '水蓝', + '绿松石蓝', + '绿松石色', + '亮海绿', + '中绿松石色', + '亮青', + '浅蓝', + '灰绿松石色', + '暗岩灰', + '凫绿', + '暗青', + '青色', + '水色', + '暗绿松石色', + '军服蓝', + '孔雀蓝', + '婴儿粉蓝', + '浓蓝', + '亮蓝', + '灰蓝', + '萨克斯蓝', + '深天蓝', + '天蓝', + '亮天蓝', + '水手蓝', + '普鲁士蓝', + '钢青色', + '爱丽丝蓝', + '岩灰', + '亮岩灰', + '道奇蓝', + '矿蓝', + '湛蓝', + '韦奇伍德瓷蓝', + '亮钢蓝', + '钴蓝', + '灰丁宁蓝', + '矢车菊蓝', + '鼠尾草蓝', + '暗婴儿粉蓝', + '蓝宝石色', + '国际奇连蓝', + '蔚蓝', + '品蓝', + '暗矿蓝', + '极浓海蓝', + '天青石蓝', + '幽灵白', + '薰衣草紫', + '长春花色', + '午夜蓝', + '藏青', + '暗蓝', + '中蓝', + '蓝色', + '紫藤色', + '暗岩蓝', + '岩蓝', + '中岩蓝', + '木槿紫', + '紫丁香色', + '中紫红', + '紫水晶色', + '浅灰紫红', + '缬草紫', + '矿紫', + '蓝紫', + '紫罗兰色', + '靛色', + '暗兰紫', + '暗紫', + '三色堇紫', + '锦葵紫', + '优品紫红', + '中兰紫', + '淡紫丁香色', + '蓟紫', + '铁线莲紫', + '梅红色', + '亮紫', + '紫色', + '暗洋红', + '洋红', + '品红', + '兰紫', + '浅珍珠红', + '陈玫红', + '浅玫瑰红', + '中青紫红', + '洋玫瑰红', + '玫瑰红', + '红宝石色', + '山茶红', + '深粉红', + '火鹤红', + '浅珊瑚红', + '暖粉红', + '勃根第酒红', + '尖晶石红', + '胭脂红', + '浅粉红', + '枢机红', + '薰衣草紫红', + '灰紫红', + '樱桃红', + '浅鲑红', + '绯红', + '粉红', + '亮粉红', + '壳黄红', + '茜红', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Company.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Company.php index d6ca17a..dff1ea0 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Company.php @@ -2,234 +2,296 @@ namespace Faker\Provider\zh_CN; -class Company extends \Faker\Provider\Company -{ - protected static $formats = [ - '{{companyPrefix}}{{companySuffix}}', - ]; +class Company extends \Faker\Provider\Company { + protected static $formats = [ + '{{companyPrefix}}{{companySuffix}}', + ]; - protected static $companyPrefix = [ - '超艺', '和泰', '九方', '鑫博腾飞', '戴硕电子', - '济南亿次元', '海创', '创联世纪', '凌云', '泰麒麟', - '彩虹', '兰金电子', '晖来计算机', '天益', '恒聪百汇', - '菊风公司', '惠派国际公司', '创汇', '思优', '时空盒数字', - '易动力', '飞海科技', '华泰通安', '盟新', '商软冠联', - '图龙信息', '易动力', '华远软件', '创亿', '时刻', - '开发区世创', '明腾', '良诺', '天开', '毕博诚', '快讯', - '凌颖信息', '黄石金承', '恩悌', '雨林木风计算机', - '双敏电子', '维旺明', '网新恒天', '数字100', '飞利信', - '立信电子', '联通时科', '中建创业', '新格林耐特', - '新宇龙信息', '浙大万朋', 'MBP软件', '昂歌信息', - '万迅电脑', '方正科技', '联软', '七喜', '南康', '银嘉', - '巨奥', '佳禾', '国讯', '信诚致远', '浦华众城', '迪摩', - '太极', '群英', '合联电子', '同兴万点', '襄樊地球村', - '精芯', '艾提科信', '昊嘉', '鸿睿思博', '四通', '富罳', - '商软冠联', '诺依曼软件', '东方峻景', '华成育卓', '趋势', - '维涛', '通际名联', - ]; + protected static $companyPrefix = [ + '超艺', + '和泰', + '九方', + '鑫博腾飞', + '戴硕电子', + '济南亿次元', + '海创', + '创联世纪', + '凌云', + '泰麒麟', + '彩虹', + '兰金电子', + '晖来计算机', + '天益', + '恒聪百汇', + '菊风公司', + '惠派国际公司', + '创汇', + '思优', + '时空盒数字', + '易动力', + '飞海科技', + '华泰通安', + '盟新', + '商软冠联', + '图龙信息', + '易动力', + '华远软件', + '创亿', + '时刻', + '开发区世创', + '明腾', + '良诺', + '天开', + '毕博诚', + '快讯', + '凌颖信息', + '黄石金承', + '恩悌', + '雨林木风计算机', + '双敏电子', + '维旺明', + '网新恒天', + '数字100', + '飞利信', + '立信电子', + '联通时科', + '中建创业', + '新格林耐特', + '新宇龙信息', + '浙大万朋', + 'MBP软件', + '昂歌信息', + '万迅电脑', + '方正科技', + '联软', + '七喜', + '南康', + '银嘉', + '巨奥', + '佳禾', + '国讯', + '信诚致远', + '浦华众城', + '迪摩', + '太极', + '群英', + '合联电子', + '同兴万点', + '襄樊地球村', + '精芯', + '艾提科信', + '昊嘉', + '鸿睿思博', + '四通', + '富罳', + '商软冠联', + '诺依曼软件', + '东方峻景', + '华成育卓', + '趋势', + '维涛', + '通际名联', + ]; - protected static $companySuffix = ['科技', '网络', '信息', '传媒']; + protected static $companySuffix = [ '科技', '网络', '信息', '传媒' ]; - /** - * @see blog.renren.com/share/223844062/2387611567 - * - * @var array - */ - protected static $catchPhrase = [ - '燕舞,燕舞,一曲歌来一片情。', - '康师傅方便面,好吃看得见。', - '不要太潇洒!', - '让一亿人先聪明起来。', - '共创美的前程,共度美的人生。', - '省优,部优,葛优?', - '喝孔府宴酒,做天下文章。', - '健康成就未来。', - '牙好,胃口就好,身体倍儿棒,吃嘛嘛香。', - '永远的绿色,永远的秦池。', - '坐红旗车,走中国路。', - '要想皮肤好,早晚用大宝。', - '孔府家酒,叫人想家。', - '补钙新观念,吸收是要害。', - '喝汇源果汁,走健康之路。', - '爱的就是你!', - '一种可以世袭的古典浪漫', - '实力创造价值', - '爱生活,爱拉芳!', - '人类失去联想,世界将会怎样?', - '做女人挺好!', - '世界在你眼中?', - '今天你有否亿唐?', - '只溶在口,不溶在手。', - '三千烦恼丝,健康新开始。', - '维维豆奶,欢乐开怀。', - '我们的光彩来自你的风采。', - '钻石恒久远,一颗永流传。', - '放我的真心在你的手心。', - '小身材,大味道。', - '牛奶香浓,丝般感受。', - '聆听并不代表沉默,有时安静也是一种力量。', - '滴滴香浓,意犹未尽。', - '水晶之恋,一生不变。', - '中国移动通信,沟通从心开始!', - '网易,网聚人的力量!', - '科技以人为本,诺基亚', - '我们一直在努力!', - '阳光总在风雨后', - '男人对西服的要求,就是女人对男人的要求', - '晚报,不晚报', - '原来生活可以更美的', - '明天的明天,你还会送我“水晶之恋”吗?', - '卫浴出出进进的快感', - '有家就有联合利华', - '减脂减肥,其实是一种生活态度', - '人头马一开,好事自然来。', - '假如五指一样长,怎能满足用户不同需求?', - '新飞广告做的好,不好新飞冰箱好', - '传奇品质,百年张裕', - '李宁:把出色留给自己', - '一旦拥有,别无选择', - '科技让你更轻松', - '情系中国结,联通四海心', - '海尔,中国造', - 'SOHU:足迹生活每一天', - '果冻我要喜之郎', - '国宝大熊猫,心纯天自高', - '世界因为不同', - '放低偏见,你会有出色发现!', - 'Just', - '创意似金,敬业如牛', - '不要让男人一手把握', - '如同情人的手', - '金窝银窝,不如自己的安乐窝。', - '没有什么大不了的', - '时间因我存在', - '只要有梦想', - '南方周末', - '时间改变一切', - '地球人都知道了', - '众里寻他千百度,想要几度就几度', - '您身边的银行,可信赖的银行', - '三叶钢琴:学琴的孩子不会变坏', - '柯达:串起生活每一刻', - '大众甲克虫汽车:想想还是小的好', - '一直被模拟,从未被超越', - '幸福生活', - '朗讯的创造力科技的原动力', - '事事因你而出色', - '运动之美,世界共享', - '鹤舞白沙', - '想知道“清嘴”的味道吗?', - '弹指一挥间,世界皆互联', - '更多选择、更多欢笑', - '方太,让家的感觉更好', - '世上仅此一件,今生与你结缘!', - '白里透红与众不同', - '没有蛀牙-佳洁士', - '有线的价值', - '享受快乐科技', - '四海一家的解决之道', - '娃哈哈纯净水:爱你等于爱自己', - '农民山泉:有点甜', - '博大精深,西门子', - '一切尽在把握', - '声声百思特,遥遥两相知', - '一呼天下应', - '让我们做得更好!', - '暖和亲情,金龙鱼的大家庭。', - '自然最健康,绿色好心情', - '支起网络世界', - '立邦漆:处处放光彩!', - 'fm365:真情互动!', - '庄重一生,吉祥一生。', - '人人都为礼品愁,我送北极海狗油。', - '假如说人生的离合是一场戏,那么百年的好合更是早有安排!', - '一品黄山天高云淡', - '上上下下的享受!', - '我是、我行、我素', - '让无力者有力,让悲观者前行', - '金利来—-男人的世界!', - '百衣百顺', - '聪明何必绝顶,慧根长留', - '水往高处流', - '大石化小,小石化了!', - '“闲”妻良母', - '“口服”,“心服”!', - '盛满青春的秘密!', - '三十六计走为上', - '为了她的节日,献上您纯金般的心!', - '用我们的钓线,你可以在鱼儿发现你之前先找到它', - '生活就是一场运动,喝下它。', - '选择维聚阿尔,已经表明你心明眼亮。', - '佳能,我们看得见你想表达什么。', - '天天都是春天', - '假如你不来,广告明星就是他', - '享受黑夜中偷拍的快感!', - '彩信发送动人一刻', - '灵感点亮生活!', - '聪明演绎,无处不在!', - '事业我一定争取,对你我从未放弃!', - '波导手机,手机中的战斗机', - '鄂尔多斯羊绒衫暖和全世界', - '洁婷245再大的动作也不要紧', - '做光明的牛,产光明的奶', - '假如你的汽车会游泳的话,请照直开,不必刹车。', - '永远要让驾驶执照比你自己先到期。', - '请记住,上帝并不是十全十美的,它给汽车预备了备件,而人没有。', - '小别意酸酸,欢聚心甜甜。', - '除钞票外,承印一切。', - '更多欢乐,更多选择', - '美由你做主', - '由我天地宽', - 'Sun是太阳,Java是月亮。', - '不断创新,因为专心', - '趁早下『斑』,请勿『痘』留。', - '请不要同刚刚走出本院的女人调情,她或许就是你的外祖母。', - '创新就是生活', - '有一个漂亮的地方,万科四季花城', - '建筑无限生活', - '臭名远扬,香飘万里', - '尝尝欢笑,经常麦当劳', - '深入成就深度', - '出色湖南,红网了然!', - '因为网络,地球如村!', - '一种质感', - '恒久期盼', - '繁荣民族文化', - '不信,死给你看!', - '天生的,强生的', - '雪津啤酒,真情的味道!', - '听世界,打天下', - '雅芳比女人更了解女人', - 'Sun是太阳,Java是月亮。', - '中国网通', - '无线你的无限', - '家有三洋,冬暖夏凉', - '倾诉冬日暖语', - '谁让我心动?', - '灵活,让篮球场不再是一个平面', - '别吻我,我怕修。', - '一呼四应!', - '无所不包!', - '当之无愧', - '以帽取人!', - '一毛不拔!', - '自讨苦吃!', - '成功与科技共辉映', - '没有最', - ]; + /** + * @see blog.renren.com/share/223844062/2387611567 + * + * @var array + */ + protected static $catchPhrase = [ + '燕舞,燕舞,一曲歌来一片情。', + '康师傅方便面,好吃看得见。', + '不要太潇洒!', + '让一亿人先聪明起来。', + '共创美的前程,共度美的人生。', + '省优,部优,葛优?', + '喝孔府宴酒,做天下文章。', + '健康成就未来。', + '牙好,胃口就好,身体倍儿棒,吃嘛嘛香。', + '永远的绿色,永远的秦池。', + '坐红旗车,走中国路。', + '要想皮肤好,早晚用大宝。', + '孔府家酒,叫人想家。', + '补钙新观念,吸收是要害。', + '喝汇源果汁,走健康之路。', + '爱的就是你!', + '一种可以世袭的古典浪漫', + '实力创造价值', + '爱生活,爱拉芳!', + '人类失去联想,世界将会怎样?', + '做女人挺好!', + '世界在你眼中?', + '今天你有否亿唐?', + '只溶在口,不溶在手。', + '三千烦恼丝,健康新开始。', + '维维豆奶,欢乐开怀。', + '我们的光彩来自你的风采。', + '钻石恒久远,一颗永流传。', + '放我的真心在你的手心。', + '小身材,大味道。', + '牛奶香浓,丝般感受。', + '聆听并不代表沉默,有时安静也是一种力量。', + '滴滴香浓,意犹未尽。', + '水晶之恋,一生不变。', + '中国移动通信,沟通从心开始!', + '网易,网聚人的力量!', + '科技以人为本,诺基亚', + '我们一直在努力!', + '阳光总在风雨后', + '男人对西服的要求,就是女人对男人的要求', + '晚报,不晚报', + '原来生活可以更美的', + '明天的明天,你还会送我“水晶之恋”吗?', + '卫浴出出进进的快感', + '有家就有联合利华', + '减脂减肥,其实是一种生活态度', + '人头马一开,好事自然来。', + '假如五指一样长,怎能满足用户不同需求?', + '新飞广告做的好,不好新飞冰箱好', + '传奇品质,百年张裕', + '李宁:把出色留给自己', + '一旦拥有,别无选择', + '科技让你更轻松', + '情系中国结,联通四海心', + '海尔,中国造', + 'SOHU:足迹生活每一天', + '果冻我要喜之郎', + '国宝大熊猫,心纯天自高', + '世界因为不同', + '放低偏见,你会有出色发现!', + 'Just', + '创意似金,敬业如牛', + '不要让男人一手把握', + '如同情人的手', + '金窝银窝,不如自己的安乐窝。', + '没有什么大不了的', + '时间因我存在', + '只要有梦想', + '南方周末', + '时间改变一切', + '地球人都知道了', + '众里寻他千百度,想要几度就几度', + '您身边的银行,可信赖的银行', + '三叶钢琴:学琴的孩子不会变坏', + '柯达:串起生活每一刻', + '大众甲克虫汽车:想想还是小的好', + '一直被模拟,从未被超越', + '幸福生活', + '朗讯的创造力科技的原动力', + '事事因你而出色', + '运动之美,世界共享', + '鹤舞白沙', + '想知道“清嘴”的味道吗?', + '弹指一挥间,世界皆互联', + '更多选择、更多欢笑', + '方太,让家的感觉更好', + '世上仅此一件,今生与你结缘!', + '白里透红与众不同', + '没有蛀牙-佳洁士', + '有线的价值', + '享受快乐科技', + '四海一家的解决之道', + '娃哈哈纯净水:爱你等于爱自己', + '农民山泉:有点甜', + '博大精深,西门子', + '一切尽在把握', + '声声百思特,遥遥两相知', + '一呼天下应', + '让我们做得更好!', + '暖和亲情,金龙鱼的大家庭。', + '自然最健康,绿色好心情', + '支起网络世界', + '立邦漆:处处放光彩!', + 'fm365:真情互动!', + '庄重一生,吉祥一生。', + '人人都为礼品愁,我送北极海狗油。', + '假如说人生的离合是一场戏,那么百年的好合更是早有安排!', + '一品黄山天高云淡', + '上上下下的享受!', + '我是、我行、我素', + '让无力者有力,让悲观者前行', + '金利来—-男人的世界!', + '百衣百顺', + '聪明何必绝顶,慧根长留', + '水往高处流', + '大石化小,小石化了!', + '“闲”妻良母', + '“口服”,“心服”!', + '盛满青春的秘密!', + '三十六计走为上', + '为了她的节日,献上您纯金般的心!', + '用我们的钓线,你可以在鱼儿发现你之前先找到它', + '生活就是一场运动,喝下它。', + '选择维聚阿尔,已经表明你心明眼亮。', + '佳能,我们看得见你想表达什么。', + '天天都是春天', + '假如你不来,广告明星就是他', + '享受黑夜中偷拍的快感!', + '彩信发送动人一刻', + '灵感点亮生活!', + '聪明演绎,无处不在!', + '事业我一定争取,对你我从未放弃!', + '波导手机,手机中的战斗机', + '鄂尔多斯羊绒衫暖和全世界', + '洁婷245再大的动作也不要紧', + '做光明的牛,产光明的奶', + '假如你的汽车会游泳的话,请照直开,不必刹车。', + '永远要让驾驶执照比你自己先到期。', + '请记住,上帝并不是十全十美的,它给汽车预备了备件,而人没有。', + '小别意酸酸,欢聚心甜甜。', + '除钞票外,承印一切。', + '更多欢乐,更多选择', + '美由你做主', + '由我天地宽', + 'Sun是太阳,Java是月亮。', + '不断创新,因为专心', + '趁早下『斑』,请勿『痘』留。', + '请不要同刚刚走出本院的女人调情,她或许就是你的外祖母。', + '创新就是生活', + '有一个漂亮的地方,万科四季花城', + '建筑无限生活', + '臭名远扬,香飘万里', + '尝尝欢笑,经常麦当劳', + '深入成就深度', + '出色湖南,红网了然!', + '因为网络,地球如村!', + '一种质感', + '恒久期盼', + '繁荣民族文化', + '不信,死给你看!', + '天生的,强生的', + '雪津啤酒,真情的味道!', + '听世界,打天下', + '雅芳比女人更了解女人', + 'Sun是太阳,Java是月亮。', + '中国网通', + '无线你的无限', + '家有三洋,冬暖夏凉', + '倾诉冬日暖语', + '谁让我心动?', + '灵活,让篮球场不再是一个平面', + '别吻我,我怕修。', + '一呼四应!', + '无所不包!', + '当之无愧', + '以帽取人!', + '一毛不拔!', + '自讨苦吃!', + '成功与科技共辉映', + '没有最', + ]; - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - public static function companySuffix() - { - return parent::companySuffix() . '有限公司'; - } + public static function companySuffix() { + return parent::companySuffix() . '有限公司'; + } - public function catchPhrase() - { - return static::randomElement(static::$catchPhrase); - } + public function catchPhrase() { + return static::randomElement( static::$catchPhrase ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/DateTime.php index c17774c..addd118 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/DateTime.php @@ -2,47 +2,43 @@ namespace Faker\Provider\zh_CN; -class DateTime extends \Faker\Provider\DateTime -{ - public static function amPm($max = 'now') - { - return static::dateTime($max)->format('a') === 'am' ? '上午' : '下午'; - } +class DateTime extends \Faker\Provider\DateTime { + public static function amPm( $max = 'now' ) { + return static::dateTime( $max )->format( 'a' ) === 'am' ? '上午' : '下午'; + } - public static function dayOfWeek($max = 'now') - { - $map = [ - 'Sunday' => '星期日', - 'Monday' => '星期一', - 'Tuesday' => '星期二', - 'Wednesday' => '星期三', - 'Thursday' => '星期四', - 'Friday' => '星期五', - 'Saturday' => '星期六', - ]; - $week = static::dateTime($max)->format('l'); + public static function dayOfWeek( $max = 'now' ) { + $map = [ + 'Sunday' => '星期日', + 'Monday' => '星期一', + 'Tuesday' => '星期二', + 'Wednesday' => '星期三', + 'Thursday' => '星期四', + 'Friday' => '星期五', + 'Saturday' => '星期六', + ]; + $week = static::dateTime( $max )->format( 'l' ); - return $map[$week] ?? $week; - } + return $map[ $week ] ?? $week; + } - public static function monthName($max = 'now') - { - $map = [ - 'January' => '一月', - 'February' => '二月', - 'March' => '三月', - 'April' => '四月', - 'May' => '五月', - 'June' => '六月', - 'July' => '七月', - 'August' => '八月', - 'September' => '九月', - 'October' => '十月', - 'November' => '十一月', - 'December' => '十二月', - ]; - $month = static::dateTime($max)->format('F'); + public static function monthName( $max = 'now' ) { + $map = [ + 'January' => '一月', + 'February' => '二月', + 'March' => '三月', + 'April' => '四月', + 'May' => '五月', + 'June' => '六月', + 'July' => '七月', + 'August' => '八月', + 'September' => '九月', + 'October' => '十月', + 'November' => '十一月', + 'December' => '十二月', + ]; + $month = static::dateTime( $max )->format( 'F' ); - return $map[$month] ?? $month; - } + return $map[ $month ] ?? $month; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Internet.php index e1a8796..dee68e6 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Internet.php @@ -2,23 +2,44 @@ namespace Faker\Provider\zh_CN; -class Internet extends \Faker\Provider\Internet -{ - protected static $freeEmailDomain = [ - 'gmail.com', 'yahoo.com', 'hotmail.com', '126.com', '163.com', 'qq.com', 'sohu.com', 'sina.com', - ]; - protected static $tld = [ - 'com', 'com', 'com', 'com', 'com', 'com', 'biz', 'info', 'net', 'org', 'cn', - 'com.cn', 'edu.cn', 'net.cn', 'biz.cn', 'gov.cn', 'org.cn', - ]; +class Internet extends \Faker\Provider\Internet { + protected static $freeEmailDomain = [ + 'gmail.com', + 'yahoo.com', + 'hotmail.com', + '126.com', + '163.com', + 'qq.com', + 'sohu.com', + 'sina.com', + ]; + protected static $tld = [ + 'com', + 'com', + 'com', + 'com', + 'com', + 'com', + 'biz', + 'info', + 'net', + 'org', + 'cn', + 'com.cn', + 'edu.cn', + 'net.cn', + 'biz.cn', + 'gov.cn', + 'org.cn', + ]; - protected static $userNameFormats = [ - '{{word}}.{{word}}', - '{{word}}_{{word}}', - '{{word}}##', - '?{{word}}', - ]; - protected static $emailFormats = [ - '{{userName}}@{{freeEmailDomain}}', - ]; + protected static $userNameFormats = [ + '{{word}}.{{word}}', + '{{word}}_{{word}}', + '{{word}}##', + '?{{word}}', + ]; + protected static $emailFormats = [ + '{{userName}}@{{freeEmailDomain}}', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Payment.php index 8f10d1b..24751c1 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Payment.php @@ -2,42 +2,40 @@ namespace Faker\Provider\zh_CN; -class Payment extends \Faker\Provider\Payment -{ - /** - * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E9%93%B6%E8%A1%8C%E5%88%97%E8%A1%A8 - * - * @var array - */ - protected static $banks = [ - '渤海银行', - '广发银行', - '国家开发银行', - '恒丰银行', - '华夏银行', - '交通银行', - '平安银行', - '上海浦东发展银行', - '兴业银行', - '招商银行', - '浙商银行', - '中国工商银行', - '中国光大银行', - '中国建设银行', - '中国民生银行', - '中国农业银行', - '中国银行', - '中国邮政储蓄银行', - '中信银行', - ]; +class Payment extends \Faker\Provider\Payment { + /** + * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9B%BD%E9%93%B6%E8%A1%8C%E5%88%97%E8%A1%A8 + * + * @var array + */ + protected static $banks = [ + '渤海银行', + '广发银行', + '国家开发银行', + '恒丰银行', + '华夏银行', + '交通银行', + '平安银行', + '上海浦东发展银行', + '兴业银行', + '招商银行', + '浙商银行', + '中国工商银行', + '中国光大银行', + '中国建设银行', + '中国民生银行', + '中国农业银行', + '中国银行', + '中国邮政储蓄银行', + '中信银行', + ]; - /** - * @example '中国建设银行' - * - * @return string - */ - public static function bank() - { - return static::randomElement(static::$banks); - } + /** + * @return string + * @example '中国建设银行' + * + */ + public static function bank() { + return static::randomElement( static::$banks ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Person.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Person.php index 2e22d52..eb4d48a 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/Person.php @@ -2,82 +2,531 @@ namespace Faker\Provider\zh_CN; -class Person extends \Faker\Provider\Person -{ - protected static $maleNameFormats = [ - '{{lastName}}{{firstNameMale}}', - ]; +class Person extends \Faker\Provider\Person { + protected static $maleNameFormats = [ + '{{lastName}}{{firstNameMale}}', + ]; - protected static $femaleNameFormats = [ - '{{lastName}}{{firstNameFemale}}', - ]; + protected static $femaleNameFormats = [ + '{{lastName}}{{firstNameFemale}}', + ]; - protected static $titleMale = ['先生', '医生', '老师', '教授', '律师', '经理']; + protected static $titleMale = [ '先生', '医生', '老师', '教授', '律师', '经理' ]; - protected static $titleFemale = ['女士', '小姐', '夫人', '太太', '医生', '老师', '教授', '律师', '经理']; + protected static $titleFemale = [ '女士', '小姐', '夫人', '太太', '医生', '老师', '教授', '律师', '经理' ]; - /** - * According to http://baike.baidu.com/view/6109935.htm, - * these are the top 300 lastnames from the 6th Chinese national census of population, - * containing 299 single-character surname and 1 double-character surname '欧阳', - * so you can get random names including double-character surname but not too many. - */ - protected static $lastName = [ - '李', '王', '张', '刘', '陈', '杨', '赵', '黄', '周', '吴', - '徐', '孙', '胡', '朱', '高', '林', '何', '郭', '马', '罗', - '梁', '宋', '郑', '谢', '韩', '唐', '冯', '于', '董', '萧', - '程', '曹', '袁', '邓', '许', '傅', '沉', '曾', '彭', '吕', - '苏', '卢', '蒋', '蔡', '贾', '丁', '林', '薛', '叶', '阎', - '余', '潘', '杜', '戴', '夏', '钟', '汪', '田', '任', '姜', - '范', '方', '石', '姚', '谭', '廖', '邹', '熊', '金', '陆', - '郝', '孔', '白', '崔', '康', '毛', '邱', '秦', '江', '史', - '顾', '侯', '邵', '孟', '龙', '万', '段', '雷', '钱', '汤', - '尹', '黎', '易', '常', '武', '乔', '贺', '赖', '龚', '文', - '庞', '樊', '兰', '殷', '施', '陶', '洪', '翟', '安', '颜', - '倪', '严', '牛', '温', '芦', '季', '俞', '章', '鲁', '葛', - '伍', '韦', '申', '尤', '毕', '聂', '丛', '焦', '向', '柳', - '邢', '路', '岳', '齐', '沿', '梅', '莫', '庄', '辛', '管', - '祝', '左', '涂', '谷', '祁', '时', '舒', '耿', '牟', '卜', - '路', '詹', '关', '苗', '凌', '费', '纪', '靳', '盛', '童', - '欧', '甄', '项', '曲', '成', '游', '阳', '裴', '席', '卫', - '查', '屈', '鲍', '位', '覃', '霍', '翁', '隋', '植', '甘', - '景', '薄', '单', '包', '司', '柏', '宁', '柯', '阮', '桂', - '闵', '欧阳', '解', '强', '柴', '华', '车', '冉', '房', '边', - '辜', '吉', '饶', '刁', '瞿', '戚', '丘', '古', '米', '池', - '滕', '晋', '苑', '邬', '臧', '畅', '宫', '来', '嵺', '苟', - '全', '褚', '廉', '简', '娄', '盖', '符', '奚', '木', '穆', - '党', '燕', '郎', '邸', '冀', '谈', '姬', '屠', '连', '郜', - '晏', '栾', '郁', '商', '蒙', '计', '喻', '揭', '窦', '迟', - '宇', '敖', '糜', '鄢', '冷', '卓', '花', '仇', '艾', '蓝', - '都', '巩', '稽', '井', '练', '仲', '乐', '虞', '卞', '封', - '竺', '冼', '原', '官', '衣', '楚', '佟', '栗', '匡', '宗', - '应', '台', '巫', '鞠', '僧', '桑', '荆', '谌', '银', '扬', - '明', '沙', '薄', '伏', '岑', '习', '胥', '保', '和', '蔺', - ]; + /** + * According to http://baike.baidu.com/view/6109935.htm, + * these are the top 300 lastnames from the 6th Chinese national census of population, + * containing 299 single-character surname and 1 double-character surname '欧阳', + * so you can get random names including double-character surname but not too many. + */ + protected static $lastName = [ + '李', + '王', + '张', + '刘', + '陈', + '杨', + '赵', + '黄', + '周', + '吴', + '徐', + '孙', + '胡', + '朱', + '高', + '林', + '何', + '郭', + '马', + '罗', + '梁', + '宋', + '郑', + '谢', + '韩', + '唐', + '冯', + '于', + '董', + '萧', + '程', + '曹', + '袁', + '邓', + '许', + '傅', + '沉', + '曾', + '彭', + '吕', + '苏', + '卢', + '蒋', + '蔡', + '贾', + '丁', + '林', + '薛', + '叶', + '阎', + '余', + '潘', + '杜', + '戴', + '夏', + '钟', + '汪', + '田', + '任', + '姜', + '范', + '方', + '石', + '姚', + '谭', + '廖', + '邹', + '熊', + '金', + '陆', + '郝', + '孔', + '白', + '崔', + '康', + '毛', + '邱', + '秦', + '江', + '史', + '顾', + '侯', + '邵', + '孟', + '龙', + '万', + '段', + '雷', + '钱', + '汤', + '尹', + '黎', + '易', + '常', + '武', + '乔', + '贺', + '赖', + '龚', + '文', + '庞', + '樊', + '兰', + '殷', + '施', + '陶', + '洪', + '翟', + '安', + '颜', + '倪', + '严', + '牛', + '温', + '芦', + '季', + '俞', + '章', + '鲁', + '葛', + '伍', + '韦', + '申', + '尤', + '毕', + '聂', + '丛', + '焦', + '向', + '柳', + '邢', + '路', + '岳', + '齐', + '沿', + '梅', + '莫', + '庄', + '辛', + '管', + '祝', + '左', + '涂', + '谷', + '祁', + '时', + '舒', + '耿', + '牟', + '卜', + '路', + '詹', + '关', + '苗', + '凌', + '费', + '纪', + '靳', + '盛', + '童', + '欧', + '甄', + '项', + '曲', + '成', + '游', + '阳', + '裴', + '席', + '卫', + '查', + '屈', + '鲍', + '位', + '覃', + '霍', + '翁', + '隋', + '植', + '甘', + '景', + '薄', + '单', + '包', + '司', + '柏', + '宁', + '柯', + '阮', + '桂', + '闵', + '欧阳', + '解', + '强', + '柴', + '华', + '车', + '冉', + '房', + '边', + '辜', + '吉', + '饶', + '刁', + '瞿', + '戚', + '丘', + '古', + '米', + '池', + '滕', + '晋', + '苑', + '邬', + '臧', + '畅', + '宫', + '来', + '嵺', + '苟', + '全', + '褚', + '廉', + '简', + '娄', + '盖', + '符', + '奚', + '木', + '穆', + '党', + '燕', + '郎', + '邸', + '冀', + '谈', + '姬', + '屠', + '连', + '郜', + '晏', + '栾', + '郁', + '商', + '蒙', + '计', + '喻', + '揭', + '窦', + '迟', + '宇', + '敖', + '糜', + '鄢', + '冷', + '卓', + '花', + '仇', + '艾', + '蓝', + '都', + '巩', + '稽', + '井', + '练', + '仲', + '乐', + '虞', + '卞', + '封', + '竺', + '冼', + '原', + '官', + '衣', + '楚', + '佟', + '栗', + '匡', + '宗', + '应', + '台', + '巫', + '鞠', + '僧', + '桑', + '荆', + '谌', + '银', + '扬', + '明', + '沙', + '薄', + '伏', + '岑', + '习', + '胥', + '保', + '和', + '蔺', + ]; - protected static $firstNameMale = [ - '伟', '强', '磊', '洋', '勇', '军', '杰', '涛', '超', '明', - '刚', '平', '辉', '鹏', '华', '飞', '鑫', '波', '斌', '宇', - '浩', '凯', '健', '俊', '帆', '帅', '旭', '宁', '龙', '林', - '欢', '阳', '建华', '亮', '成', '畅', '建', '峰', '建国', '建军', - '晨', '瑞', '志强', '兵', '雷', '东', '欣', '博', '彬', '坤', - '全安', '荣', '岩', '杨', '文', '利', '楠', '建平', '嘉俊', '晧', - '建明', '子安', '新华', '鹏程', '学明', '博涛', '捷', '文彬', '楼', '鹰', - '松', '伦', '超', '钟', '瑜', '振国', '洪', '毅', '昱然', '哲', - '翔', '翼', '祥', '国庆', '哲彦', '正诚', '正豪', '正平', '正业', '志诚', - '志新', '志勇', '志明', '志强', '志文', '致远', '智明', '智勇', '智敏', '智渊', - ]; + protected static $firstNameMale = [ + '伟', + '强', + '磊', + '洋', + '勇', + '军', + '杰', + '涛', + '超', + '明', + '刚', + '平', + '辉', + '鹏', + '华', + '飞', + '鑫', + '波', + '斌', + '宇', + '浩', + '凯', + '健', + '俊', + '帆', + '帅', + '旭', + '宁', + '龙', + '林', + '欢', + '阳', + '建华', + '亮', + '成', + '畅', + '建', + '峰', + '建国', + '建军', + '晨', + '瑞', + '志强', + '兵', + '雷', + '东', + '欣', + '博', + '彬', + '坤', + '全安', + '荣', + '岩', + '杨', + '文', + '利', + '楠', + '建平', + '嘉俊', + '晧', + '建明', + '子安', + '新华', + '鹏程', + '学明', + '博涛', + '捷', + '文彬', + '楼', + '鹰', + '松', + '伦', + '超', + '钟', + '瑜', + '振国', + '洪', + '毅', + '昱然', + '哲', + '翔', + '翼', + '祥', + '国庆', + '哲彦', + '正诚', + '正豪', + '正平', + '正业', + '志诚', + '志新', + '志勇', + '志明', + '志强', + '志文', + '致远', + '智明', + '智勇', + '智敏', + '智渊', + ]; - protected static $firstNameFemale = [ - '芳', '娜', '敏', '静', '敏静', '秀英', '丽', '洋', '艳', '娟', - '文娟', '君', '文君', '珺', '霞', '明霞', '秀兰', '燕', '芬', '桂芬', - '玲', '桂英', '丹', '萍', '华', '红', '玉兰', '桂兰', '英', '梅', - '莉', '秀珍', '雪', '依琳', '旭', '宁', '婷', '馨予', '玉珍', '凤英', - '晶', '欢', '玉英', '颖', '红梅', '佳', '倩', '琴', '兰英', '云', - '洁', '爱华', '淑珍', '春梅', '海燕', '晨', '冬梅', '秀荣', '瑞', '桂珍', - '莹', '秀云', '桂荣', '秀梅', '丽娟', '婷婷', '玉华', '琳', '雪梅', '淑兰', - '丽丽', '玉', '秀芳', '欣', '淑英', '桂芳', '丽华', '丹丹', '桂香', '淑华', - '秀华', '桂芝', '小红', '金凤', '文', '利', '楠', '红霞', '瑜', '桂花', - '璐', '凤兰', '腊梅', '瑶', '嘉', '怡', '冰冰', '玉梅', '慧', '婕', - ]; + protected static $firstNameFemale = [ + '芳', + '娜', + '敏', + '静', + '敏静', + '秀英', + '丽', + '洋', + '艳', + '娟', + '文娟', + '君', + '文君', + '珺', + '霞', + '明霞', + '秀兰', + '燕', + '芬', + '桂芬', + '玲', + '桂英', + '丹', + '萍', + '华', + '红', + '玉兰', + '桂兰', + '英', + '梅', + '莉', + '秀珍', + '雪', + '依琳', + '旭', + '宁', + '婷', + '馨予', + '玉珍', + '凤英', + '晶', + '欢', + '玉英', + '颖', + '红梅', + '佳', + '倩', + '琴', + '兰英', + '云', + '洁', + '爱华', + '淑珍', + '春梅', + '海燕', + '晨', + '冬梅', + '秀荣', + '瑞', + '桂珍', + '莹', + '秀云', + '桂荣', + '秀梅', + '丽娟', + '婷婷', + '玉华', + '琳', + '雪梅', + '淑兰', + '丽丽', + '玉', + '秀芳', + '欣', + '淑英', + '桂芳', + '丽华', + '丹丹', + '桂香', + '淑华', + '秀华', + '桂芝', + '小红', + '金凤', + '文', + '利', + '楠', + '红霞', + '瑜', + '桂花', + '璐', + '凤兰', + '腊梅', + '瑶', + '嘉', + '怡', + '冰冰', + '玉梅', + '慧', + '婕', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/PhoneNumber.php index 604fa0d..f5a0f26 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_CN/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_CN/PhoneNumber.php @@ -2,22 +2,60 @@ namespace Faker\Provider\zh_CN; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $operators = [ - 134, 135, 136, 137, 138, 139, 147, 150, 151, 152, 157, 158, 159, 1705, 178, 182, 183, 184, 187, 188, // China Mobile - 130, 131, 132, 145, 155, 156, 1707, 1708, 1709, 1718, 1719, 176, 185, 186, // China Unicom - 133, 153, 1700, 1701, 177, 180, 181, 189, // China Telecom - 170, 171, // virtual operators - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $operators = [ + 134, + 135, + 136, + 137, + 138, + 139, + 147, + 150, + 151, + 152, + 157, + 158, + 159, + 1705, + 178, + 182, + 183, + 184, + 187, + 188, // China Mobile + 130, + 131, + 132, + 145, + 155, + 156, + 1707, + 1708, + 1709, + 1718, + 1719, + 176, + 185, + 186, // China Unicom + 133, + 153, + 1700, + 1701, + 177, + 180, + 181, + 189, // China Telecom + 170, + 171, // virtual operators + ]; - protected static $formats = ['###########']; + protected static $formats = [ '###########' ]; - public function phoneNumber() - { - $operator = static::randomElement(static::$operators); - $format = static::randomElement(static::$formats); + public function phoneNumber() { + $operator = static::randomElement( static::$operators ); + $format = static::randomElement( static::$formats ); - return $operator . static::numerify(substr($format, 0, strlen($format) - strlen($operator))); - } + return $operator . static::numerify( substr( $format, 0, strlen( $format ) - strlen( $operator ) ) ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Address.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Address.php index a7ad6ca..1cb2358 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Address.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Address.php @@ -2,420 +2,1244 @@ namespace Faker\Provider\zh_TW; -class Address extends \Faker\Provider\Address -{ - protected static $streetNameFormats = [ - '{{street}}{{streetSuffix}}', - '{{street}}{{streetSuffix}}{{randomChineseNumber}}段', - ]; +class Address extends \Faker\Provider\Address { + protected static $streetNameFormats = [ + '{{street}}{{streetSuffix}}', + '{{street}}{{streetSuffix}}{{randomChineseNumber}}段', + ]; - protected static $streetAddressFormats = [ - '{{streetName}}{{randomNumber3}}號', - '{{streetName}}{{randomNumber3}}號{{randomNumber2}}樓', - '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}號', - '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}號{{randomNumber2}}樓', - '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}弄{{randomNumber3}}號', - '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}弄{{randomNumber3}}號{{randomNumber2}}樓', - ]; + protected static $streetAddressFormats = [ + '{{streetName}}{{randomNumber3}}號', + '{{streetName}}{{randomNumber3}}號{{randomNumber2}}樓', + '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}號', + '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}號{{randomNumber2}}樓', + '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}弄{{randomNumber3}}號', + '{{streetName}}{{randomNumber3}}巷{{randomNumber3}}弄{{randomNumber3}}號{{randomNumber2}}樓', + ]; - protected static $secondaryAddressSuffix = ['室', '房']; + protected static $secondaryAddressSuffix = [ '室', '房' ]; - protected static $addressFormats = [ - '{{postcode}} {{city}}{{streetAddress}}', - ]; + protected static $addressFormats = [ + '{{postcode}} {{city}}{{streetAddress}}', + ]; - protected static $streetSuffix = [ - '路', '街', - ]; + protected static $streetSuffix = [ + '路', + '街', + ]; - /** - * @see http://blog.davidou.org/archives/583 - */ - protected static $street = [ - '東英二', '大公十三', '美術南一', '漁港', - '德美', '福林', '榮安', '忠孝南', '新立', - '清壽', '豐偉', '華中三', '賴明', '樹仁二', - '文萊', '凱得', '克武', '豐盛', '府前四', - '昭德', '鳳仁', '富漁五', '炎峰街青年巷', - '北園', '衙國一', '五和', '南村', '大埔五', - '大有四', '太平', '瑞發', '大學二十八', - '吉興六', '赤東一', '大學二十三', '龍德', - '昌文', '天仁北', '賢好', '崇陽', '梅龍', - '羅厝大坵村九江', '福鎮', '天玉', '新北一', - '臥龍', '平生', '碇內', '衙國三', '慶豐九', - '富漁二', '公興', '坤成', '民富十六', - '光榮北', '赤崁東', '上麒麟', - '公館村東平', '安船', '豐興', '三角', - '豐裡二', '嘉豐九', '後協', '永樂南', - '冷水', '德陽', '水汴一', '工明一', - '環山九如', '永榮二', '清潭', - '土地公嶺', '武淵三', '文莊', '長億東三', - '舊城東', '大政', '玉興', '永春南', - '國盛八', '工業區二十四', '北一', '樂群二', - '東碇', '龍華南', '榮豐', '大豐', - '楓江', '觀光街八連', '保興二', - '安通二', '和順三', '彰濱東七', '麻園六', - '上樹村北寧', '香賓街得月巷', '光平', - '車子', '崇禮', '國慶', '阿玉', '中街', - '同心一', '縣政十六', '德正', '濱一', - '健行北', '大灣七', '大明', '三多五', - '富裕三', '園南三', '安樂四', '新安七', - '河南東四', '中坑', '明野', '秀峰', '溪心', - '掃叭頂一', '復興南', '果峰', '新興三', - '公安', '松智三', '國富二十八', '理想', - '文工十二', '大竹二', '名山六', '文華一', - '樹仁', '縣政六', '泰成', '河濱', '德吉', - '竹林', '富台東', '東泰二', '茶專二', - '海康', '廣安二', '軍福十八', '北文', - '新興海埔地五', '秀隆', '福德南', '重化', - '大安港', '東英三', '精明一', '寶強', - '泰昌五', '立功', '文明一', '福吉一', - '興竹', '德泉', '中正六', '工八', - '鹽埕巷三汴', '龍天', '功安一', '炎峰', - '路科一', '海明', '僑和', '松廉', '福豐南', - '南園', '孝順', '富強', '保定一', '瑪鋉頂', - '嘉興', '立德四', '中車', '陽東營區忠三', - '福中九', '東十二', '頂湖五', '法院前', - '西海', '士林', '北濱', '富農一', '厚北', - '全福', '平新一', '集鹿南', '吉利六', - '岩灣', '新基', '禾豐二', '東角', '青島一', - '勢林街馨園一巷', '福陽', '文南一', '涵碧', - '錦田', '國賢一', '北祥', '新成', - '光榮東', '三鶯', '大通一', '平菁', - '甘肅二', '古賀', '新北六', '大庄村田中', - '四分子', '文三一', '站前街鐵路南舍', - '新北二', '楓林十', '中北二', '北安三', - '中華南', '光華西', '寧夏東二', - '樹德', '八德中', '文館', '正英八', - '大公十七', '銅科南', '長壽三', '漢翔', - '太平十九', '宜平', '精武', '鼎金中', - '鎮原', '明義一', '新烏', '蘭洲街三疊溪', - '六家八', '南勢坑', '工業東六', '四平', - '甘肅', '永康', '雙十', - '大地', '中陽東', '立華', '維揚', '太原三', - '水源', '重立', '民主四', '南福', - '鎮國', '永勝', '新華', '柯林新', '南橋一', - '大公十四', '勝利七', '三和二', - '東庄', '文匯', '中新一', '松信一', - '寶君', '平安南', '文學', '大華五', - '行義', '百五', '草衙中', '嘉祥五', - '平等', '光美', '成功十六', '精誠三', - '水美', '文化十', '民權東', '大慶', - '源泉', '文成北', '大坪五', '光華六', - '玉清二', '龍鳳', '上山二', '西十四', - '文康', '崇德十二', '天泉一', '新庄', - '芝麻五', '中山西', '長春', '中一', - '八張二', '嘉安八', '成德九', '三村', - '忠孝東', '遼北', '徐州一', '徐州五', - '六張', '中西', '大平', '順興', '新展', - '南澳南', '吉利四', '久安二', '斗六五', - '登山', '貴林', '桐竹', '社斗', - '中樂', '山湖二', '長園二', '埤尾', '應化', - '水碓二', '嶺頂九分', '中和', '幸福五', - '長安東', '愛富二街厚生巷', '崇德三', - '甲樹', '篤信', '金龍二', '為隨東', - '明鳳五', '草湖村仁愛', '至平', '惟馨', - '濃公', '錫安', '中庄東', '保順', - '龍橋', '文二三', '通明', '東信', - '秀福', '光榮', '棒球三', '立達', - '長樂五', '永安', '瀋陽', '文宏一', - '斗苑', '新興二', '新五', '科雅六', - '青埔八', '永安東', '行忠', '梅亭東', - '保榮', '國富二十六', '自強九', '學進', - '線東', '中興二', '柯林七', '國盛三', - '平安', '重建', '臥龍', '松文', '花秀', - '太原四', '北門', '新生三', '花旗', - '大源十九', '光華十', '內江', '埔興', - '芝柏一', '府中', '乾興', '華廈', '長埤', - '新富', '山明', '城中五', '富裕十七', - '修明', '贊庄大仁', '三和', '科大一', - '光州一', '平等十二', '新寮一', '東林東', - '永新二', '頂橫', '東門', '石園', '寶深', - '長青', '金鋒一', '福壽', '連雲', - '自立二', '北辰一', '松三', '嘉朴', - '鎮新二', '莊敬', '中興十', '忠明七', - '福興八', '中心', '海口北', '工業三', - '大弘一', '親民', '芳樂', '赤崁南', '文開', - '五權西', '新興海埔地三', '華泰一', - '文澄', '中山西', '崇德二十九', - '內定七', '新基北', '南澳', '尚德', - '後港一', '西建', '力行五', '中央七', - '苓安', '裕隆', '布西', '鹽田', - '建國南', '順興', '朝奉', '賜安', - '崇德十八', '頂庄', '福營', '工業二十', - '徐州四', '鼎愛', '香檳二', '竹社', - '惠中一', '重仁', '德福', '同源', - '下莊新生', '廣明', '明仁一', '中正東', - '鳳尾', '濟南', '復華四', '新基南', - '潭工一', '學三', '龍善二', '六路七', - '環美', '建興三', '福錦', '永義九', - '和祥七', '漁港中一', '樹林六', '東信', - '壽福', '鳳楠', '五福六', '大源二十', - '南勢十', '中港三', '小坑', '勝利十五', - '老吸', '鎮新五', '名水', '蘇港', - '櫻城三', '裕孝三', '稻香五', '豐源', - '大功', '陜西', - ]; + /** + * @see http://blog.davidou.org/archives/583 + */ + protected static $street = [ + '東英二', + '大公十三', + '美術南一', + '漁港', + '德美', + '福林', + '榮安', + '忠孝南', + '新立', + '清壽', + '豐偉', + '華中三', + '賴明', + '樹仁二', + '文萊', + '凱得', + '克武', + '豐盛', + '府前四', + '昭德', + '鳳仁', + '富漁五', + '炎峰街青年巷', + '北園', + '衙國一', + '五和', + '南村', + '大埔五', + '大有四', + '太平', + '瑞發', + '大學二十八', + '吉興六', + '赤東一', + '大學二十三', + '龍德', + '昌文', + '天仁北', + '賢好', + '崇陽', + '梅龍', + '羅厝大坵村九江', + '福鎮', + '天玉', + '新北一', + '臥龍', + '平生', + '碇內', + '衙國三', + '慶豐九', + '富漁二', + '公興', + '坤成', + '民富十六', + '光榮北', + '赤崁東', + '上麒麟', + '公館村東平', + '安船', + '豐興', + '三角', + '豐裡二', + '嘉豐九', + '後協', + '永樂南', + '冷水', + '德陽', + '水汴一', + '工明一', + '環山九如', + '永榮二', + '清潭', + '土地公嶺', + '武淵三', + '文莊', + '長億東三', + '舊城東', + '大政', + '玉興', + '永春南', + '國盛八', + '工業區二十四', + '北一', + '樂群二', + '東碇', + '龍華南', + '榮豐', + '大豐', + '楓江', + '觀光街八連', + '保興二', + '安通二', + '和順三', + '彰濱東七', + '麻園六', + '上樹村北寧', + '香賓街得月巷', + '光平', + '車子', + '崇禮', + '國慶', + '阿玉', + '中街', + '同心一', + '縣政十六', + '德正', + '濱一', + '健行北', + '大灣七', + '大明', + '三多五', + '富裕三', + '園南三', + '安樂四', + '新安七', + '河南東四', + '中坑', + '明野', + '秀峰', + '溪心', + '掃叭頂一', + '復興南', + '果峰', + '新興三', + '公安', + '松智三', + '國富二十八', + '理想', + '文工十二', + '大竹二', + '名山六', + '文華一', + '樹仁', + '縣政六', + '泰成', + '河濱', + '德吉', + '竹林', + '富台東', + '東泰二', + '茶專二', + '海康', + '廣安二', + '軍福十八', + '北文', + '新興海埔地五', + '秀隆', + '福德南', + '重化', + '大安港', + '東英三', + '精明一', + '寶強', + '泰昌五', + '立功', + '文明一', + '福吉一', + '興竹', + '德泉', + '中正六', + '工八', + '鹽埕巷三汴', + '龍天', + '功安一', + '炎峰', + '路科一', + '海明', + '僑和', + '松廉', + '福豐南', + '南園', + '孝順', + '富強', + '保定一', + '瑪鋉頂', + '嘉興', + '立德四', + '中車', + '陽東營區忠三', + '福中九', + '東十二', + '頂湖五', + '法院前', + '西海', + '士林', + '北濱', + '富農一', + '厚北', + '全福', + '平新一', + '集鹿南', + '吉利六', + '岩灣', + '新基', + '禾豐二', + '東角', + '青島一', + '勢林街馨園一巷', + '福陽', + '文南一', + '涵碧', + '錦田', + '國賢一', + '北祥', + '新成', + '光榮東', + '三鶯', + '大通一', + '平菁', + '甘肅二', + '古賀', + '新北六', + '大庄村田中', + '四分子', + '文三一', + '站前街鐵路南舍', + '新北二', + '楓林十', + '中北二', + '北安三', + '中華南', + '光華西', + '寧夏東二', + '樹德', + '八德中', + '文館', + '正英八', + '大公十七', + '銅科南', + '長壽三', + '漢翔', + '太平十九', + '宜平', + '精武', + '鼎金中', + '鎮原', + '明義一', + '新烏', + '蘭洲街三疊溪', + '六家八', + '南勢坑', + '工業東六', + '四平', + '甘肅', + '永康', + '雙十', + '大地', + '中陽東', + '立華', + '維揚', + '太原三', + '水源', + '重立', + '民主四', + '南福', + '鎮國', + '永勝', + '新華', + '柯林新', + '南橋一', + '大公十四', + '勝利七', + '三和二', + '東庄', + '文匯', + '中新一', + '松信一', + '寶君', + '平安南', + '文學', + '大華五', + '行義', + '百五', + '草衙中', + '嘉祥五', + '平等', + '光美', + '成功十六', + '精誠三', + '水美', + '文化十', + '民權東', + '大慶', + '源泉', + '文成北', + '大坪五', + '光華六', + '玉清二', + '龍鳳', + '上山二', + '西十四', + '文康', + '崇德十二', + '天泉一', + '新庄', + '芝麻五', + '中山西', + '長春', + '中一', + '八張二', + '嘉安八', + '成德九', + '三村', + '忠孝東', + '遼北', + '徐州一', + '徐州五', + '六張', + '中西', + '大平', + '順興', + '新展', + '南澳南', + '吉利四', + '久安二', + '斗六五', + '登山', + '貴林', + '桐竹', + '社斗', + '中樂', + '山湖二', + '長園二', + '埤尾', + '應化', + '水碓二', + '嶺頂九分', + '中和', + '幸福五', + '長安東', + '愛富二街厚生巷', + '崇德三', + '甲樹', + '篤信', + '金龍二', + '為隨東', + '明鳳五', + '草湖村仁愛', + '至平', + '惟馨', + '濃公', + '錫安', + '中庄東', + '保順', + '龍橋', + '文二三', + '通明', + '東信', + '秀福', + '光榮', + '棒球三', + '立達', + '長樂五', + '永安', + '瀋陽', + '文宏一', + '斗苑', + '新興二', + '新五', + '科雅六', + '青埔八', + '永安東', + '行忠', + '梅亭東', + '保榮', + '國富二十六', + '自強九', + '學進', + '線東', + '中興二', + '柯林七', + '國盛三', + '平安', + '重建', + '臥龍', + '松文', + '花秀', + '太原四', + '北門', + '新生三', + '花旗', + '大源十九', + '光華十', + '內江', + '埔興', + '芝柏一', + '府中', + '乾興', + '華廈', + '長埤', + '新富', + '山明', + '城中五', + '富裕十七', + '修明', + '贊庄大仁', + '三和', + '科大一', + '光州一', + '平等十二', + '新寮一', + '東林東', + '永新二', + '頂橫', + '東門', + '石園', + '寶深', + '長青', + '金鋒一', + '福壽', + '連雲', + '自立二', + '北辰一', + '松三', + '嘉朴', + '鎮新二', + '莊敬', + '中興十', + '忠明七', + '福興八', + '中心', + '海口北', + '工業三', + '大弘一', + '親民', + '芳樂', + '赤崁南', + '文開', + '五權西', + '新興海埔地三', + '華泰一', + '文澄', + '中山西', + '崇德二十九', + '內定七', + '新基北', + '南澳', + '尚德', + '後港一', + '西建', + '力行五', + '中央七', + '苓安', + '裕隆', + '布西', + '鹽田', + '建國南', + '順興', + '朝奉', + '賜安', + '崇德十八', + '頂庄', + '福營', + '工業二十', + '徐州四', + '鼎愛', + '香檳二', + '竹社', + '惠中一', + '重仁', + '德福', + '同源', + '下莊新生', + '廣明', + '明仁一', + '中正東', + '鳳尾', + '濟南', + '復華四', + '新基南', + '潭工一', + '學三', + '龍善二', + '六路七', + '環美', + '建興三', + '福錦', + '永義九', + '和祥七', + '漁港中一', + '樹林六', + '東信', + '壽福', + '鳳楠', + '五福六', + '大源二十', + '南勢十', + '中港三', + '小坑', + '勝利十五', + '老吸', + '鎮新五', + '名水', + '蘇港', + '櫻城三', + '裕孝三', + '稻香五', + '豐源', + '大功', + '陜西', + ]; - /** - * @see http://zh.wikipedia.org/wiki/%E8%87%BA%E7%81%A3%E8%A1%8C%E6%94%BF%E5%8D%80%E5%8A%83 - */ - protected static $city = [ - '新北市' => [ - '板橋區', '三重區', '中和區', '永和區', - '新莊區', '新店區', '樹林區', '鶯歌區', - '三峽區', '淡水區', '汐止區', '瑞芳區', - '土城區', '蘆洲區', '五股區', '泰山區', - '林口區', '深坑區', '石碇區', '坪林區', - '三芝區', '石門區', '八里區', '平溪區', - '雙溪區', '貢寮區', '金山區', '萬里區', - '烏來區', - ], - '宜蘭縣' => [ - '宜蘭市', '羅東鎮', '蘇澳鎮', '頭城鎮', '礁溪鄉', - '壯圍鄉', '員山鄉', '冬山鄉', '五結鄉', '三星鄉', - '大同鄉', '南澳鄉', - ], - '桃園市' => [ - '桃園區', '中壢區', '大溪區', '楊梅區', '蘆竹區', - '大園區', '龜山區', '八德區', '龍潭區', '平鎮區', - '新屋區', '觀音區', '復興區', - ], - '新竹縣' => [ - '竹北市', '竹東鎮', '新埔鎮', '關西鎮', '湖口鄉', - '新豐鄉', '芎林鄉', '橫山鄉', '北埔鄉', '寶山鄉', - '峨眉鄉', '尖石鄉', '五峰鄉', - ], - '苗栗縣' => [ - '苗栗市', '苑裡鎮', '通霄鎮', '竹南鎮', '頭份鎮', - '後龍鎮', '卓蘭鎮', '大湖鄉', '公館鄉', '銅鑼鄉', - '南庄鄉', '頭屋鄉', '三義鄉', '西湖鄉', '造橋鄉', - '三灣鄉', '獅潭鄉', '泰安鄉', - ], - '臺中市' => [ - '豐原區', '東勢區', '大甲區', '清水區', '沙鹿區', - '梧棲區', '后里區', '神岡區', '潭子區', '大雅區', - '新社區', '石岡區', '外埔區', '大安區', '烏日區', - '大肚區', '龍井區', '霧峰區', '太平區', '大里區', - '和平區', '中區', '東區', '南區', '西區', '北區', - '西屯區', '南屯區', '北屯區', - ], - '彰化縣' => [ - '彰化市', '鹿港鎮', '和美鎮', '線西鄉', '伸港鄉', - '福興鄉', '秀水鄉', '花壇鄉', '芬園鄉', '員林鎮', - '溪湖鎮', '田中鎮', '大村鄉', '埔鹽鄉', '埔心鄉', - '永靖鄉', '社頭鄉', '二水鄉', '北斗鎮', '二林鎮', - '田尾鄉', '埤頭鄉', '芳苑鄉', '大城鄉', '竹塘鄉', - '溪州鄉', - ], - '南投縣' => [ - '南投市', '埔里鎮', '草屯鎮', '竹山鎮', '集集鎮', - '名間鄉', '鹿谷鄉', '中寮鄉', '魚池鄉', '國姓鄉', - '水里鄉', '信義鄉', '仁愛鄉', - ], - '雲林縣' => [ - '斗六市', '斗南鎮', '虎尾鎮', '西螺鎮', '土庫鎮', - '北港鎮', '古坑鄉', '大埤鄉', '莿桐鄉', '林內鄉', - '二崙鄉', '崙背鄉', '麥寮鄉', '東勢鄉', '褒忠鄉', - '臺西鄉', '元長鄉', '四湖鄉', '口湖鄉', '水林鄉', - ], - '嘉義縣' => [ - '太保市', '朴子市', '布袋鎮', '大林鎮', '民雄鄉', - '溪口鄉', '新港鄉', '六腳鄉', '東石鄉', '義竹鄉', - '鹿草鄉', '水上鄉', '中埔鄉', '竹崎鄉', '梅山鄉', - '番路鄉', '大埔鄉', '阿里山鄉', - ], - '臺南市' => [ - '新營區', '鹽水區', '白河區', '柳營區', '後壁區', - '東山區', '麻豆區', '下營區', '六甲區', '官田區', - '大內區', '佳里區', '學甲區', '西港區', '七股區', - '將軍區', '北門區', '新化區', '善化區', '新市區', - '安定區', '山上區', '玉井區', '楠西區', '南化區', - '左鎮區', '仁德區', '歸仁區', '關廟區', '龍崎區', - '永康區', '東區', '南區', '西區', '北區', '中區', - '安南區', '安平區', - ], - '高雄市' => [ - '鳳山區', '林園區', '大寮區', '大樹區', '大社區', - '仁武區', '鳥松區', '岡山區', '橋頭區', '燕巢區', - '田寮區', '阿蓮區', '路竹區', '湖內區', '茄萣區', - '永安區', '彌陀區', '梓官區', '旗山區', '美濃區', - '六龜區', '甲仙區', '杉林區', '內門區', '茂林區', - '桃源區', '三民區', '鹽埕區', '鼓山區', '左營區', - '楠梓區', '三民區', '新興區', '前金區', '苓雅區', - '前鎮區', '旗津區', '小港區', - ], - '屏東縣' => [ - '屏東市', '潮州鎮', '東港鎮', '恆春鎮', '萬丹鄉', - '長治鄉', '麟洛鄉', '九如鄉', '里港鄉', '鹽埔鄉', - '高樹鄉', '萬巒鄉', '內埔鄉', '竹田鄉', '新埤鄉', - '枋寮鄉', '新園鄉', '崁頂鄉', '林邊鄉', '南州鄉', - '佳冬鄉', '琉球鄉', '車城鄉', '滿州鄉', '枋山鄉', - '三地門鄉', '霧臺鄉', '瑪家鄉', '泰武鄉', '來義鄉', - '春日鄉', '獅子鄉', '牡丹鄉', - ], - '臺東縣' => [ - '臺東市', '成功鎮', '關山鎮', '卑南鄉', '鹿野鄉', - '池上鄉', '東河鄉', '長濱鄉', '太麻里鄉', '大武鄉', - '綠島鄉', '海端鄉', '延平鄉', '金峰鄉', '達仁鄉', - '蘭嶼鄉', - ], - '花蓮縣' => [ - '花蓮市', '鳳林鎮', '玉里鎮', '新城鄉', '吉安鄉', - '壽豐鄉', '光復鄉', '豐濱鄉', '瑞穗鄉', '富里鄉', - '秀林鄉', '萬榮鄉', '卓溪鄉', - ], - '澎湖縣' => [ - '馬公市', '湖西鄉', '白沙鄉', '西嶼鄉', '望安鄉', - '七美鄉', - ], - '基隆市' => [ - '中正區', '七堵區', '暖暖區', '仁愛區', '中山區', - '安樂區', '信義區', - ], - '新竹市' => [ - '東區', '北區', '香山區', - ], - '嘉義市' => [ - '東區', '西區', - ], - '臺北市' => [ - '松山區', '信義區', '大安區', '中山區', '中正區', - '大同區', '萬華區', '文山區', '南港區', '內湖區', - '士林區', '北投區', - ], - '連江縣' => [ - '南竿鄉', '北竿鄉', '莒光鄉', '東引鄉', - ], - '金門縣' => [ - '金城鎮', '金沙鎮', '金湖鎮', '金寧鄉', '烈嶼鄉', '烏坵鄉', - ], - ]; + /** + * @see http://zh.wikipedia.org/wiki/%E8%87%BA%E7%81%A3%E8%A1%8C%E6%94%BF%E5%8D%80%E5%8A%83 + */ + protected static $city = [ + '新北市' => [ + '板橋區', + '三重區', + '中和區', + '永和區', + '新莊區', + '新店區', + '樹林區', + '鶯歌區', + '三峽區', + '淡水區', + '汐止區', + '瑞芳區', + '土城區', + '蘆洲區', + '五股區', + '泰山區', + '林口區', + '深坑區', + '石碇區', + '坪林區', + '三芝區', + '石門區', + '八里區', + '平溪區', + '雙溪區', + '貢寮區', + '金山區', + '萬里區', + '烏來區', + ], + '宜蘭縣' => [ + '宜蘭市', + '羅東鎮', + '蘇澳鎮', + '頭城鎮', + '礁溪鄉', + '壯圍鄉', + '員山鄉', + '冬山鄉', + '五結鄉', + '三星鄉', + '大同鄉', + '南澳鄉', + ], + '桃園市' => [ + '桃園區', + '中壢區', + '大溪區', + '楊梅區', + '蘆竹區', + '大園區', + '龜山區', + '八德區', + '龍潭區', + '平鎮區', + '新屋區', + '觀音區', + '復興區', + ], + '新竹縣' => [ + '竹北市', + '竹東鎮', + '新埔鎮', + '關西鎮', + '湖口鄉', + '新豐鄉', + '芎林鄉', + '橫山鄉', + '北埔鄉', + '寶山鄉', + '峨眉鄉', + '尖石鄉', + '五峰鄉', + ], + '苗栗縣' => [ + '苗栗市', + '苑裡鎮', + '通霄鎮', + '竹南鎮', + '頭份鎮', + '後龍鎮', + '卓蘭鎮', + '大湖鄉', + '公館鄉', + '銅鑼鄉', + '南庄鄉', + '頭屋鄉', + '三義鄉', + '西湖鄉', + '造橋鄉', + '三灣鄉', + '獅潭鄉', + '泰安鄉', + ], + '臺中市' => [ + '豐原區', + '東勢區', + '大甲區', + '清水區', + '沙鹿區', + '梧棲區', + '后里區', + '神岡區', + '潭子區', + '大雅區', + '新社區', + '石岡區', + '外埔區', + '大安區', + '烏日區', + '大肚區', + '龍井區', + '霧峰區', + '太平區', + '大里區', + '和平區', + '中區', + '東區', + '南區', + '西區', + '北區', + '西屯區', + '南屯區', + '北屯區', + ], + '彰化縣' => [ + '彰化市', + '鹿港鎮', + '和美鎮', + '線西鄉', + '伸港鄉', + '福興鄉', + '秀水鄉', + '花壇鄉', + '芬園鄉', + '員林鎮', + '溪湖鎮', + '田中鎮', + '大村鄉', + '埔鹽鄉', + '埔心鄉', + '永靖鄉', + '社頭鄉', + '二水鄉', + '北斗鎮', + '二林鎮', + '田尾鄉', + '埤頭鄉', + '芳苑鄉', + '大城鄉', + '竹塘鄉', + '溪州鄉', + ], + '南投縣' => [ + '南投市', + '埔里鎮', + '草屯鎮', + '竹山鎮', + '集集鎮', + '名間鄉', + '鹿谷鄉', + '中寮鄉', + '魚池鄉', + '國姓鄉', + '水里鄉', + '信義鄉', + '仁愛鄉', + ], + '雲林縣' => [ + '斗六市', + '斗南鎮', + '虎尾鎮', + '西螺鎮', + '土庫鎮', + '北港鎮', + '古坑鄉', + '大埤鄉', + '莿桐鄉', + '林內鄉', + '二崙鄉', + '崙背鄉', + '麥寮鄉', + '東勢鄉', + '褒忠鄉', + '臺西鄉', + '元長鄉', + '四湖鄉', + '口湖鄉', + '水林鄉', + ], + '嘉義縣' => [ + '太保市', + '朴子市', + '布袋鎮', + '大林鎮', + '民雄鄉', + '溪口鄉', + '新港鄉', + '六腳鄉', + '東石鄉', + '義竹鄉', + '鹿草鄉', + '水上鄉', + '中埔鄉', + '竹崎鄉', + '梅山鄉', + '番路鄉', + '大埔鄉', + '阿里山鄉', + ], + '臺南市' => [ + '新營區', + '鹽水區', + '白河區', + '柳營區', + '後壁區', + '東山區', + '麻豆區', + '下營區', + '六甲區', + '官田區', + '大內區', + '佳里區', + '學甲區', + '西港區', + '七股區', + '將軍區', + '北門區', + '新化區', + '善化區', + '新市區', + '安定區', + '山上區', + '玉井區', + '楠西區', + '南化區', + '左鎮區', + '仁德區', + '歸仁區', + '關廟區', + '龍崎區', + '永康區', + '東區', + '南區', + '西區', + '北區', + '中區', + '安南區', + '安平區', + ], + '高雄市' => [ + '鳳山區', + '林園區', + '大寮區', + '大樹區', + '大社區', + '仁武區', + '鳥松區', + '岡山區', + '橋頭區', + '燕巢區', + '田寮區', + '阿蓮區', + '路竹區', + '湖內區', + '茄萣區', + '永安區', + '彌陀區', + '梓官區', + '旗山區', + '美濃區', + '六龜區', + '甲仙區', + '杉林區', + '內門區', + '茂林區', + '桃源區', + '三民區', + '鹽埕區', + '鼓山區', + '左營區', + '楠梓區', + '三民區', + '新興區', + '前金區', + '苓雅區', + '前鎮區', + '旗津區', + '小港區', + ], + '屏東縣' => [ + '屏東市', + '潮州鎮', + '東港鎮', + '恆春鎮', + '萬丹鄉', + '長治鄉', + '麟洛鄉', + '九如鄉', + '里港鄉', + '鹽埔鄉', + '高樹鄉', + '萬巒鄉', + '內埔鄉', + '竹田鄉', + '新埤鄉', + '枋寮鄉', + '新園鄉', + '崁頂鄉', + '林邊鄉', + '南州鄉', + '佳冬鄉', + '琉球鄉', + '車城鄉', + '滿州鄉', + '枋山鄉', + '三地門鄉', + '霧臺鄉', + '瑪家鄉', + '泰武鄉', + '來義鄉', + '春日鄉', + '獅子鄉', + '牡丹鄉', + ], + '臺東縣' => [ + '臺東市', + '成功鎮', + '關山鎮', + '卑南鄉', + '鹿野鄉', + '池上鄉', + '東河鄉', + '長濱鄉', + '太麻里鄉', + '大武鄉', + '綠島鄉', + '海端鄉', + '延平鄉', + '金峰鄉', + '達仁鄉', + '蘭嶼鄉', + ], + '花蓮縣' => [ + '花蓮市', + '鳳林鎮', + '玉里鎮', + '新城鄉', + '吉安鄉', + '壽豐鄉', + '光復鄉', + '豐濱鄉', + '瑞穗鄉', + '富里鄉', + '秀林鄉', + '萬榮鄉', + '卓溪鄉', + ], + '澎湖縣' => [ + '馬公市', + '湖西鄉', + '白沙鄉', + '西嶼鄉', + '望安鄉', + '七美鄉', + ], + '基隆市' => [ + '中正區', + '七堵區', + '暖暖區', + '仁愛區', + '中山區', + '安樂區', + '信義區', + ], + '新竹市' => [ + '東區', + '北區', + '香山區', + ], + '嘉義市' => [ + '東區', + '西區', + ], + '臺北市' => [ + '松山區', + '信義區', + '大安區', + '中山區', + '中正區', + '大同區', + '萬華區', + '文山區', + '南港區', + '內湖區', + '士林區', + '北投區', + ], + '連江縣' => [ + '南竿鄉', + '北竿鄉', + '莒光鄉', + '東引鄉', + ], + '金門縣' => [ + '金城鎮', + '金沙鎮', + '金湖鎮', + '金寧鄉', + '烈嶼鄉', + '烏坵鄉', + ], + ]; - /** - * @see http://terms.naer.edu.tw/download/287/ - */ - protected static $country = [ - '不丹', '中非', '丹麥', '伊朗', '冰島', '剛果', - '加彭', '北韓', '南非', '卡達', '印尼', '印度', - '古巴', '哥德', '埃及', '多哥', '寮國', '尼日', - '巴曼', '巴林', '巴紐', '巴西', '希臘', '帛琉', - '德國', '挪威', '捷克', '教廷', '斐濟', '日本', - '智利', '東加', '查德', '汶萊', '法國', '波蘭', - '波赫', '泰國', '海地', '瑞典', '瑞士', '祕魯', - '秘魯', '約旦', '紐埃', '緬甸', '美國', '聖尼', - '聖普', '肯亞', '芬蘭', '英國', '荷蘭', '葉門', - '蘇丹', '諾魯', '貝南', '越南', '迦彭', - '迦納', '阿曼', '阿聯', '韓國', '馬利', - '以色列', '以色利', '伊拉克', '俄羅斯', - '利比亞', '加拿大', '匈牙利', '南極洲', - '南蘇丹', '厄瓜多', '吉布地', '吐瓦魯', - '哈撒克', '哈薩克', '喀麥隆', '喬治亞', - '土庫曼', '土耳其', '塔吉克', '塞席爾', - '墨西哥', '大西洋', '奧地利', '孟加拉', - '安哥拉', '安地卡', '安道爾', '尚比亞', - '尼伯爾', '尼泊爾', '巴哈馬', '巴拉圭', - '巴拿馬', '巴貝多', '幾內亞', '愛爾蘭', - '所在國', '摩洛哥', '摩納哥', '敍利亞', - '敘利亞', '新加坡', '東帝汶', '柬埔寨', - '比利時', '波扎那', '波札那', '烏克蘭', - '烏干達', '烏拉圭', '牙買加', '獅子山', - '甘比亞', '盧安達', '盧森堡', '科威特', - '科索夫', '科索沃', '立陶宛', '紐西蘭', - '維德角', '義大利', '聖文森', '艾塞亞', - '菲律賓', '萬那杜', '葡萄牙', '蒲隆地', - '蓋亞納', '薩摩亞', '蘇利南', '西班牙', - '貝里斯', '賴索托', '辛巴威', '阿富汗', - '阿根廷', '馬其頓', '馬拉威', '馬爾他', - '黎巴嫩', '亞塞拜然', '亞美尼亞', '保加利亞', - '南斯拉夫', '厄利垂亞', '史瓦濟蘭', '吉爾吉斯', - '吉里巴斯', '哥倫比亞', '坦尚尼亞', '塞內加爾', - '塞内加爾', '塞爾維亞', '多明尼加', '多米尼克', - '奈及利亞', '委內瑞拉', '宏都拉斯', '尼加拉瓜', - '巴基斯坦', '庫克群島', '愛沙尼亞', '拉脫維亞', - '摩爾多瓦', '摩里西斯', '斯洛伐克', '斯里蘭卡', - '格瑞那達', '模里西斯', '波多黎各', '澳大利亞', - '烏茲別克', '玻利維亞', '瓜地馬拉', '白俄羅斯', - '突尼西亞', '納米比亞', '索馬利亞', '索馬尼亞', - '羅馬尼亞', '聖露西亞', '聖馬利諾', '莫三比克', - '莫三鼻克', '葛摩聯盟', '薩爾瓦多', '衣索比亞', - '西薩摩亞', '象牙海岸', '賴比瑞亞', '賽普勒斯', - '馬來西亞', '馬爾地夫', '克羅埃西亞', - '列支敦斯登', '哥斯大黎加', '布吉納法索', - '布吉那法索', '幾內亞比索', '幾內亞比紹', - '斯洛維尼亞', '索羅門群島', '茅利塔尼亞', - '蒙特內哥羅', '赤道幾內亞', '阿爾及利亞', - '阿爾及尼亞', '阿爾巴尼亞', '馬紹爾群島', - '馬達加斯加', '密克羅尼西亞', '沙烏地阿拉伯', - '千里達及托巴哥', - ]; + /** + * @see http://terms.naer.edu.tw/download/287/ + */ + protected static $country = [ + '不丹', + '中非', + '丹麥', + '伊朗', + '冰島', + '剛果', + '加彭', + '北韓', + '南非', + '卡達', + '印尼', + '印度', + '古巴', + '哥德', + '埃及', + '多哥', + '寮國', + '尼日', + '巴曼', + '巴林', + '巴紐', + '巴西', + '希臘', + '帛琉', + '德國', + '挪威', + '捷克', + '教廷', + '斐濟', + '日本', + '智利', + '東加', + '查德', + '汶萊', + '法國', + '波蘭', + '波赫', + '泰國', + '海地', + '瑞典', + '瑞士', + '祕魯', + '秘魯', + '約旦', + '紐埃', + '緬甸', + '美國', + '聖尼', + '聖普', + '肯亞', + '芬蘭', + '英國', + '荷蘭', + '葉門', + '蘇丹', + '諾魯', + '貝南', + '越南', + '迦彭', + '迦納', + '阿曼', + '阿聯', + '韓國', + '馬利', + '以色列', + '以色利', + '伊拉克', + '俄羅斯', + '利比亞', + '加拿大', + '匈牙利', + '南極洲', + '南蘇丹', + '厄瓜多', + '吉布地', + '吐瓦魯', + '哈撒克', + '哈薩克', + '喀麥隆', + '喬治亞', + '土庫曼', + '土耳其', + '塔吉克', + '塞席爾', + '墨西哥', + '大西洋', + '奧地利', + '孟加拉', + '安哥拉', + '安地卡', + '安道爾', + '尚比亞', + '尼伯爾', + '尼泊爾', + '巴哈馬', + '巴拉圭', + '巴拿馬', + '巴貝多', + '幾內亞', + '愛爾蘭', + '所在國', + '摩洛哥', + '摩納哥', + '敍利亞', + '敘利亞', + '新加坡', + '東帝汶', + '柬埔寨', + '比利時', + '波扎那', + '波札那', + '烏克蘭', + '烏干達', + '烏拉圭', + '牙買加', + '獅子山', + '甘比亞', + '盧安達', + '盧森堡', + '科威特', + '科索夫', + '科索沃', + '立陶宛', + '紐西蘭', + '維德角', + '義大利', + '聖文森', + '艾塞亞', + '菲律賓', + '萬那杜', + '葡萄牙', + '蒲隆地', + '蓋亞納', + '薩摩亞', + '蘇利南', + '西班牙', + '貝里斯', + '賴索托', + '辛巴威', + '阿富汗', + '阿根廷', + '馬其頓', + '馬拉威', + '馬爾他', + '黎巴嫩', + '亞塞拜然', + '亞美尼亞', + '保加利亞', + '南斯拉夫', + '厄利垂亞', + '史瓦濟蘭', + '吉爾吉斯', + '吉里巴斯', + '哥倫比亞', + '坦尚尼亞', + '塞內加爾', + '塞内加爾', + '塞爾維亞', + '多明尼加', + '多米尼克', + '奈及利亞', + '委內瑞拉', + '宏都拉斯', + '尼加拉瓜', + '巴基斯坦', + '庫克群島', + '愛沙尼亞', + '拉脫維亞', + '摩爾多瓦', + '摩里西斯', + '斯洛伐克', + '斯里蘭卡', + '格瑞那達', + '模里西斯', + '波多黎各', + '澳大利亞', + '烏茲別克', + '玻利維亞', + '瓜地馬拉', + '白俄羅斯', + '突尼西亞', + '納米比亞', + '索馬利亞', + '索馬尼亞', + '羅馬尼亞', + '聖露西亞', + '聖馬利諾', + '莫三比克', + '莫三鼻克', + '葛摩聯盟', + '薩爾瓦多', + '衣索比亞', + '西薩摩亞', + '象牙海岸', + '賴比瑞亞', + '賽普勒斯', + '馬來西亞', + '馬爾地夫', + '克羅埃西亞', + '列支敦斯登', + '哥斯大黎加', + '布吉納法索', + '布吉那法索', + '幾內亞比索', + '幾內亞比紹', + '斯洛維尼亞', + '索羅門群島', + '茅利塔尼亞', + '蒙特內哥羅', + '赤道幾內亞', + '阿爾及利亞', + '阿爾及尼亞', + '阿爾巴尼亞', + '馬紹爾群島', + '馬達加斯加', + '密克羅尼西亞', + '沙烏地阿拉伯', + '千里達及托巴哥', + ]; - protected static $postcode = ['###-##', '###']; + protected static $postcode = [ '###-##', '###' ]; - public function street() - { - return static::randomElement(static::$street); - } + public function street() { + return static::randomElement( static::$street ); + } - public static function randomChineseNumber() - { - $digits = [ - '', '一', '二', '三', '四', '五', '六', '七', '八', '九', - ]; + public static function randomChineseNumber() { + $digits = [ + '', + '一', + '二', + '三', + '四', + '五', + '六', + '七', + '八', + '九', + ]; - return $digits[static::randomDigitNotNull()]; - } + return $digits[ static::randomDigitNotNull() ]; + } - public static function randomNumber2() - { - return static::randomNumber(2) + 1; - } + public static function randomNumber2() { + return static::randomNumber( 2 ) + 1; + } - public static function randomNumber3() - { - return static::randomNumber(3) + 1; - } + public static function randomNumber3() { + return static::randomNumber( 3 ) + 1; + } - public static function localLatitude() - { - return static::randomFloat(6, 22, 25); - } + public static function localLatitude() { + return static::randomFloat( 6, 22, 25 ); + } - public static function localLongitude() - { - return static::randomFloat(6, 120, 122); - } + public static function localLongitude() { + return static::randomFloat( 6, 120, 122 ); + } - public function city() - { - $county = static::randomElement(array_keys(static::$city)); - $city = static::randomElement(static::$city[$county]); + public function city() { + $county = static::randomElement( array_keys( static::$city ) ); + $city = static::randomElement( static::$city[ $county ] ); - return $county . $city; - } + return $county . $city; + } - public function state() - { - return '臺灣省'; - } + public function state() { + return '臺灣省'; + } - public static function stateAbbr() - { - return '臺'; - } + public static function stateAbbr() { + return '臺'; + } - public static function cityPrefix() - { - return ''; - } + public static function cityPrefix() { + return ''; + } - public static function citySuffix() - { - return ''; - } + public static function citySuffix() { + return ''; + } - public static function secondaryAddress() - { - return (static::randomNumber(2) + 1) . static::randomElement(static::$secondaryAddressSuffix); - } + public static function secondaryAddress() { + return ( static::randomNumber( 2 ) + 1 ) . static::randomElement( static::$secondaryAddressSuffix ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Color.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Color.php index 19fa6d8..339e652 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Color.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Color.php @@ -2,65 +2,270 @@ namespace Faker\Provider\zh_TW; -class Color extends \Faker\Provider\Color -{ - /** - * @see http://zh.wikipedia.org/zh-tw/%E9%A2%9C%E8%89%B2%E5%88%97%E8%A1%A8 - */ - protected static $safeColorNames = [ - '黑色', '粟色', '綠色', '藏青', '橄欖色', - '紫', '鳧綠', '鮮綠色', '藍色', '銀色', - '灰色', '黃色', '品紅', '水色', '白色', - ]; +class Color extends \Faker\Provider\Color { + /** + * @see http://zh.wikipedia.org/zh-tw/%E9%A2%9C%E8%89%B2%E5%88%97%E8%A1%A8 + */ + protected static $safeColorNames = [ + '黑色', + '粟色', + '綠色', + '藏青', + '橄欖色', + '紫', + '鳧綠', + '鮮綠色', + '藍色', + '銀色', + '灰色', + '黃色', + '品紅', + '水色', + '白色', + ]; - protected static $allColorNames = [ - '黑色', '昏灰', '灰色', '暗灰', '銀色', '亮灰色', - '庚斯博羅灰', '白煙色', '白色', '雪色', '鐵灰色', - '沙棕', '玫瑰褐', '亮珊瑚色', '印度紅', '褐色', - '耐火磚紅', '栗色', '暗紅', '鮮紅', '紅色', '柿子橙', - '霧玫瑰色', '鮭紅', '腥紅', '蕃茄紅', '暗鮭紅', - '珊瑚紅', '橙紅', '亮鮭紅', '朱紅', '赭黃', '熱帶橙', - '駝色', '杏黃', '椰褐', '海貝色', '鞍褐', '巧克力色', - '燃橙', '陽橙', '粉撲桃色', '沙褐', '古銅色', '亞麻色', - '蜜橙', '秘魯色', '烏賊墨色', '赭色', '陶坯黃', '橘色', - '暗橙', '古董白', '日曬色', '硬木色', '杏仁白', - '那瓦霍白', '萬壽菊黃', '蕃木瓜色', '灰土色', - '卡其色', '鹿皮鞋色', '舊蕾絲色', '小麥色', '桃色', - '橙色', '花卉白', '金菊色', '暗金菊色', '咖啡色', - '茉莉黃', '琥珀色', '玉米絲色', '鉻黃', '金色', - '檸檬綢色', '亮卡其色', '灰金菊色', '暗卡其色', - '含羞草黃', '奶油色', '象牙色', '米黃色', '亮黃', - '亮金菊黃', '香檳黃', '芥末黃', '月黃', '橄欖色', - '鮮黃', '黃色', '苔蘚綠', '亮檸檬綠', '橄欖軍服綠', - '黃綠', '暗橄欖綠', '蘋果綠', '綠黃', '草綠', '草坪綠', - '查特酒綠', '葉綠', '嫩綠', '明綠', '鈷綠', '蜜瓜綠', - '暗海綠', '亮綠', '灰綠', '常春藤綠', '森林綠', - '檸檬綠', '暗綠', '綠色', '鮮綠色', '孔雀石綠', - '薄荷綠', '青瓷綠', '碧綠', '綠松石綠', '鉻綠', '蒼色', - '海綠', '中海綠', '薄荷奶油色', '春綠', '孔雀綠', - '中春綠色', '中碧藍色', '碧藍色', '青藍', '水藍', - '綠松石藍', '綠松石色', '亮海綠', '中綠松石色', - '亮青', '淺藍', '灰綠松石色', '暗岩灰', '鳧綠', '暗青', - '青色', '水色', '暗綠松石色', '軍服藍', '孔雀藍', - '嬰兒粉藍', '濃藍', '亮藍', '灰藍', '薩克斯藍', - '深天藍', '天藍', '亮天藍', '水手藍', '普魯士藍', - '鋼青色', '愛麗絲藍', '岩灰', '亮岩灰', '道奇藍', - '礦藍', '湛藍', '韋奇伍德瓷藍', '亮鋼藍', '鈷藍', - '灰丁寧藍', '矢車菊藍', '鼠尾草藍', '暗嬰兒粉藍', - '藍寶石色', '國際奇連藍', '蔚藍', '品藍', '暗礦藍', - '極濃海藍', '天青石藍', '幽靈白', '薰衣草紫', - '長春花色', '午夜藍', '藏青', '暗藍', '中藍', '藍色', - '紫藤色', '暗岩藍', '岩藍', '中岩藍', '木槿紫', - '紫丁香色', '中紫紅', '紫水晶色', '淺灰紫紅', - '纈草紫', '礦紫', '藍紫', '紫羅蘭色', '靛色', '暗蘭紫', - '暗紫', '三色堇紫', '錦葵紫', '優品紫紅', '中蘭紫', - '淡紫丁香色', '薊紫', '鐵線蓮紫', '梅紅色', '亮紫', - '紫色', '暗洋紅', '洋紅', '品紅', '蘭紫', '淺珍珠紅', - '陳玫紅', '淺玫瑰紅', '中青紫紅', '洋玫瑰紅', - '玫瑰紅', '紅寶石色', '山茶紅', '深粉紅', '火鶴紅', - '淺珊瑚紅', '暖粉紅', '勃艮第酒紅', '尖晶石紅', - '胭脂紅', '淺粉紅', '樞機紅', '薰衣草紫紅', '灰紫紅', - '櫻桃紅', '淺鮭紅', '緋紅', '粉紅', '亮粉紅', '殼黃紅', - '茜紅', - ]; + protected static $allColorNames = [ + '黑色', + '昏灰', + '灰色', + '暗灰', + '銀色', + '亮灰色', + '庚斯博羅灰', + '白煙色', + '白色', + '雪色', + '鐵灰色', + '沙棕', + '玫瑰褐', + '亮珊瑚色', + '印度紅', + '褐色', + '耐火磚紅', + '栗色', + '暗紅', + '鮮紅', + '紅色', + '柿子橙', + '霧玫瑰色', + '鮭紅', + '腥紅', + '蕃茄紅', + '暗鮭紅', + '珊瑚紅', + '橙紅', + '亮鮭紅', + '朱紅', + '赭黃', + '熱帶橙', + '駝色', + '杏黃', + '椰褐', + '海貝色', + '鞍褐', + '巧克力色', + '燃橙', + '陽橙', + '粉撲桃色', + '沙褐', + '古銅色', + '亞麻色', + '蜜橙', + '秘魯色', + '烏賊墨色', + '赭色', + '陶坯黃', + '橘色', + '暗橙', + '古董白', + '日曬色', + '硬木色', + '杏仁白', + '那瓦霍白', + '萬壽菊黃', + '蕃木瓜色', + '灰土色', + '卡其色', + '鹿皮鞋色', + '舊蕾絲色', + '小麥色', + '桃色', + '橙色', + '花卉白', + '金菊色', + '暗金菊色', + '咖啡色', + '茉莉黃', + '琥珀色', + '玉米絲色', + '鉻黃', + '金色', + '檸檬綢色', + '亮卡其色', + '灰金菊色', + '暗卡其色', + '含羞草黃', + '奶油色', + '象牙色', + '米黃色', + '亮黃', + '亮金菊黃', + '香檳黃', + '芥末黃', + '月黃', + '橄欖色', + '鮮黃', + '黃色', + '苔蘚綠', + '亮檸檬綠', + '橄欖軍服綠', + '黃綠', + '暗橄欖綠', + '蘋果綠', + '綠黃', + '草綠', + '草坪綠', + '查特酒綠', + '葉綠', + '嫩綠', + '明綠', + '鈷綠', + '蜜瓜綠', + '暗海綠', + '亮綠', + '灰綠', + '常春藤綠', + '森林綠', + '檸檬綠', + '暗綠', + '綠色', + '鮮綠色', + '孔雀石綠', + '薄荷綠', + '青瓷綠', + '碧綠', + '綠松石綠', + '鉻綠', + '蒼色', + '海綠', + '中海綠', + '薄荷奶油色', + '春綠', + '孔雀綠', + '中春綠色', + '中碧藍色', + '碧藍色', + '青藍', + '水藍', + '綠松石藍', + '綠松石色', + '亮海綠', + '中綠松石色', + '亮青', + '淺藍', + '灰綠松石色', + '暗岩灰', + '鳧綠', + '暗青', + '青色', + '水色', + '暗綠松石色', + '軍服藍', + '孔雀藍', + '嬰兒粉藍', + '濃藍', + '亮藍', + '灰藍', + '薩克斯藍', + '深天藍', + '天藍', + '亮天藍', + '水手藍', + '普魯士藍', + '鋼青色', + '愛麗絲藍', + '岩灰', + '亮岩灰', + '道奇藍', + '礦藍', + '湛藍', + '韋奇伍德瓷藍', + '亮鋼藍', + '鈷藍', + '灰丁寧藍', + '矢車菊藍', + '鼠尾草藍', + '暗嬰兒粉藍', + '藍寶石色', + '國際奇連藍', + '蔚藍', + '品藍', + '暗礦藍', + '極濃海藍', + '天青石藍', + '幽靈白', + '薰衣草紫', + '長春花色', + '午夜藍', + '藏青', + '暗藍', + '中藍', + '藍色', + '紫藤色', + '暗岩藍', + '岩藍', + '中岩藍', + '木槿紫', + '紫丁香色', + '中紫紅', + '紫水晶色', + '淺灰紫紅', + '纈草紫', + '礦紫', + '藍紫', + '紫羅蘭色', + '靛色', + '暗蘭紫', + '暗紫', + '三色堇紫', + '錦葵紫', + '優品紫紅', + '中蘭紫', + '淡紫丁香色', + '薊紫', + '鐵線蓮紫', + '梅紅色', + '亮紫', + '紫色', + '暗洋紅', + '洋紅', + '品紅', + '蘭紫', + '淺珍珠紅', + '陳玫紅', + '淺玫瑰紅', + '中青紫紅', + '洋玫瑰紅', + '玫瑰紅', + '紅寶石色', + '山茶紅', + '深粉紅', + '火鶴紅', + '淺珊瑚紅', + '暖粉紅', + '勃艮第酒紅', + '尖晶石紅', + '胭脂紅', + '淺粉紅', + '樞機紅', + '薰衣草紫紅', + '灰紫紅', + '櫻桃紅', + '淺鮭紅', + '緋紅', + '粉紅', + '亮粉紅', + '殼黃紅', + '茜紅', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Company.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Company.php index e356fb0..947336c 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Company.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Company.php @@ -2,267 +2,407 @@ namespace Faker\Provider\zh_TW; -class Company extends \Faker\Provider\Company -{ - protected static $companyEnSuffix = [ - 'Inc', 'and Sons', 'LLC', 'Group', 'PLC', 'Ltd', - ]; +class Company extends \Faker\Provider\Company { + protected static $companyEnSuffix = [ + 'Inc', + 'and Sons', + 'LLC', + 'Group', + 'PLC', + 'Ltd', + ]; - protected static $companyEnFormats = [ - '{{lastNameEn}} {{companyEnSuffix}}', - '{{lastNameEn}}-{{lastNameEn}}', - '{{lastNameEn}}, {{lastNameEn}} and {{lastNameEn}}', - ]; + protected static $companyEnFormats = [ + '{{lastNameEn}} {{companyEnSuffix}}', + '{{lastNameEn}}-{{lastNameEn}}', + '{{lastNameEn}}, {{lastNameEn}} and {{lastNameEn}}', + ]; - protected static $formats = [ - '{{companyPrefix}}{{companyModifier}}', - '{{companyPrefix}}{{companySuffix}}', - '{{companyPrefix}}{{companyModifier}}{{CompanySuffix}}', - ]; + protected static $formats = [ + '{{companyPrefix}}{{companyModifier}}', + '{{companyPrefix}}{{companySuffix}}', + '{{companyPrefix}}{{companyModifier}}{{CompanySuffix}}', + ]; - /** - * @see http://zh.wikipedia.org/zh-tw/Category:%E5%8F%B0%E7%81%A3%E5%85%AC%E5%8F%B8%E5%88%97%E8%A1%A8 - */ - protected static $companyPrefix = [ - '乾坤', '亞神', '光譜', '典選', '凱基', '前衛花園', - '創見', '友訊', '台達', '合勤', '喜瑪拉雅', '喬山', - '多利安', '大國', '大宇', '太陽', '太陽動力', '宏碁', - '宏達', '小白兔', '巨大', '巨室', '康師傅', '延伸', - '弘煜', '彎的', '擎天', '新亞洲', '旺旺', '昱泉', - '智冠', '未來', '松崗', '正新', '洧誠', '海蝶', - '添翼創越', '滾石', '王品', '當然', '相信', '睛水', - '研華', '福茂', '種子', '米樂士', '紅元素', '紅心辣椒', - '統一', '美利達', '美妙', '美樂帝', '群石', '老鷹', - '聯強', '芮河', '英特衛', '茂為', '華特', '華研', - '華碩', '華義', '角頭', '訊連', '豐華', '豪客', '豪記', - '貴族', '趨勢', '遊戲橘子', '野火樂集', '金革', - '銀魚', '阿爾發', '風和日麗', '風潮', '風雲', - ]; - protected static $companyModifier = [ - '科技', '電腦', '國際', '電子', '娛樂', '音樂', '唱片', - '證券', '集團', '企業', '機械', '工業', '文化', '汽車', - '百貨', '酒店', '數位', - ]; - protected static $companySuffix = [ - '公司', '有限公司', '股份有限公司', - ]; - /** - * @see https://zh-tw.facebook.com/notes/%E7%8E%A9%E5%BB%A3%E5%91%8Aplaying-with-advertising/%E5%9B%9E%E9%A1%A7%E8%87%BA%E7%81%A3%E6%AD%B7%E5%B1%86%E5%BB%A3%E5%91%8A%E9%87%91%E5%8F%A5%E7%8D%8E/294008963985215 - */ - protected static $catchPhrase = [ - 'Everything\'s ok', - 'Just call me be happy', - 'Keep Walking', - 'NOKIA相信科技始終來自於人性', - 'PayEasy,陪你Shopping一輩子', - 'Play不累', - 'The city never sleeps', - 'Trust me, you can make it!', - 'We are family', - 'We share', - 'You A.S.O beautiful', - '一人吃,兩人補', - '一定要幸福哦!', - '一把抵兩把,何需瑪麗亞?!', - '一次買好,就是頂好', - '一步一腳印,大家愛台灣', - '一段話,感動了一幅畫!', - '一點一點 累積更好的自己', - '三不五時,愛要及時', - '三餐老是在外,人人叫我老外!', - '不只辦公室,掌握更多事', - '不在乎天長地久,只在乎曾經擁有', - '不在辦公室,也能辦公事', - '不平凡的平凡大眾', - '不想分開 就永遠在一起吧', - '不該愛的,趁早換', - '不過~不過~,一定測不過', - '世事難料,安泰比較好', - '世事難料,對人要更好', - '世界上最重要的一部車是爸爸的肩膀', - '乎乾啦!', - '人生30財開始', - '什麼最青?', - '什麼都有,什麼都賣,什麼都不奇怪!', - '今天心情幾?', - '他傻瓜、你聰明', - '他捉得住我', - '你未必出類拔萃 但肯定與眾不同', - '你的愛,是孩子最好的示範', - '你講台語嘛也通', - '便宜一樣有好貨', - '係金A!', - '信任,帶來新幸福', - '信義房屋,信任,帶來新幸福', - '做你自己才叫乖,做你的乖乖!', - '做自己 自己做', - '傻瓜鏡片,聰明選擇', - 'お元気ですか?', - '全國電子 足感心ㄟ', - '全家就是你家', - '再忙,也要和你喝杯咖啡', - '別讓今天的應酬成為明天的負擔', - '到服裝店培養氣質,到書店展示服裝', - '化去心中那條線', - '原來我們這麼近', - '只有遠傳,沒有距離', - '只要有夢,你會紅', - '叫天天不印 Canon幫你印!', - '可憐的舊情人,看不到我的新內衣', - '台灣,加油!', - '合味才會呷意', - '啊!福氣啦!', - '喜歡嗎? 爸爸買給你!', - '嚕加嚕好呷', - '回家的感覺真好', - '因為你值得 L’ORE’AL', - '夏天好熱 愛要趁熱', - '多喝水沒事,沒事多喝水', - '夜深了,打個電話回家', - '天生超人氣,不該遭人棄', - '女人說好,才算頂好', - '好東西和好朋友分享', - '好的開喜就是成功的一半!', - '好身體,沒人敢惹你', - '好險,有南山!', - '孩子!我要你將來比我強!', - '學琴的孩子不會變壞', - '安全是回家唯一的路', - '小而美、小而冷、小而省', - '幸福怎能說不用', - '心,是人生最大的戰場', - '您真內行!', - '想像力是你的超能力', - '慈母心、豆腐心', - '我不認識你,但是我謝謝你!', - '我就是超愛 Send!', - '我的八分新摺學!', - '拍誰像誰,誰拍誰誰都得像誰', - '挺立,不只挺阮 也挺恁', - '捐血一袋,救人一命', - '撼動天下的力量', - '擋不住的感覺', - '整個城市就是我的咖啡館', - '最佳女主角換你做做看', - '有心最要緊', - '有書才會贏', - '有青才敢大聲', - '有點黏又不會太黏', - '期待下一次,不如靠自己', - '未來 就是現在', - '正反,反正都很正!', - '每一句話,都是思念', - '沒說出口的 保誠也聽得懂', - '現在的Nobody,未來的Somebody!', - '生命就該浪費在美好的事物上', - '用你想要的方式道別', - '用大金,省大金', - '用好心腸做好香腸', - '用愛打敗不景氣', - '用最愛 照顧最愛', - '留一盞燈給最後回家的人', - '百服寧、保護您', - '真感情就是最好的服務', - '知識使你更有魅力', - '碼碼都有獎', - '管他什麼垢,一瓶就夠', - '紅利點數也能當飯吃', - '紙有春風最溫柔', - '紙要Double A 萬事都OK!', - '給你好看', - '給我小心點兒', - '肝哪沒好,人生是黑白的!肝哪顧好,人生是彩色的!', - '肝苦誰人知', - '萬事皆可達,唯有情無價', - '認真的女人最美麗', - '贏甲嘸知人', - '路,是ESCAPE走出來的', - '這不是肯德基!', - '這個月不會來,下個月也不會來了,以後都不會來了', - '這是一定要的啦!', - '這種時機,無閒也是一種幸福', - '這種鬼地方都收得到', - '通往成功的路,總是在施工中', - '鑽石恆久遠,一顆永留傳', - '關心自己,也關心別人', - '關機是一種美德', - '陪妳Shopping 一輩子', - '雅芳比女人更瞭解女人', - '青菜底呷啦', - '靜得讓您耳根清靜', - '馬上就會好', - ]; + /** + * @see http://zh.wikipedia.org/zh-tw/Category:%E5%8F%B0%E7%81%A3%E5%85%AC%E5%8F%B8%E5%88%97%E8%A1%A8 + */ + protected static $companyPrefix = [ + '乾坤', + '亞神', + '光譜', + '典選', + '凱基', + '前衛花園', + '創見', + '友訊', + '台達', + '合勤', + '喜瑪拉雅', + '喬山', + '多利安', + '大國', + '大宇', + '太陽', + '太陽動力', + '宏碁', + '宏達', + '小白兔', + '巨大', + '巨室', + '康師傅', + '延伸', + '弘煜', + '彎的', + '擎天', + '新亞洲', + '旺旺', + '昱泉', + '智冠', + '未來', + '松崗', + '正新', + '洧誠', + '海蝶', + '添翼創越', + '滾石', + '王品', + '當然', + '相信', + '睛水', + '研華', + '福茂', + '種子', + '米樂士', + '紅元素', + '紅心辣椒', + '統一', + '美利達', + '美妙', + '美樂帝', + '群石', + '老鷹', + '聯強', + '芮河', + '英特衛', + '茂為', + '華特', + '華研', + '華碩', + '華義', + '角頭', + '訊連', + '豐華', + '豪客', + '豪記', + '貴族', + '趨勢', + '遊戲橘子', + '野火樂集', + '金革', + '銀魚', + '阿爾發', + '風和日麗', + '風潮', + '風雲', + ]; + protected static $companyModifier = [ + '科技', + '電腦', + '國際', + '電子', + '娛樂', + '音樂', + '唱片', + '證券', + '集團', + '企業', + '機械', + '工業', + '文化', + '汽車', + '百貨', + '酒店', + '數位', + ]; + protected static $companySuffix = [ + '公司', + '有限公司', + '股份有限公司', + ]; + /** + * @see https://zh-tw.facebook.com/notes/%E7%8E%A9%E5%BB%A3%E5%91%8Aplaying-with-advertising/%E5%9B%9E%E9%A1%A7%E8%87%BA%E7%81%A3%E6%AD%B7%E5%B1%86%E5%BB%A3%E5%91%8A%E9%87%91%E5%8F%A5%E7%8D%8E/294008963985215 + */ + protected static $catchPhrase = [ + 'Everything\'s ok', + 'Just call me be happy', + 'Keep Walking', + 'NOKIA相信科技始終來自於人性', + 'PayEasy,陪你Shopping一輩子', + 'Play不累', + 'The city never sleeps', + 'Trust me, you can make it!', + 'We are family', + 'We share', + 'You A.S.O beautiful', + '一人吃,兩人補', + '一定要幸福哦!', + '一把抵兩把,何需瑪麗亞?!', + '一次買好,就是頂好', + '一步一腳印,大家愛台灣', + '一段話,感動了一幅畫!', + '一點一點 累積更好的自己', + '三不五時,愛要及時', + '三餐老是在外,人人叫我老外!', + '不只辦公室,掌握更多事', + '不在乎天長地久,只在乎曾經擁有', + '不在辦公室,也能辦公事', + '不平凡的平凡大眾', + '不想分開 就永遠在一起吧', + '不該愛的,趁早換', + '不過~不過~,一定測不過', + '世事難料,安泰比較好', + '世事難料,對人要更好', + '世界上最重要的一部車是爸爸的肩膀', + '乎乾啦!', + '人生30財開始', + '什麼最青?', + '什麼都有,什麼都賣,什麼都不奇怪!', + '今天心情幾?', + '他傻瓜、你聰明', + '他捉得住我', + '你未必出類拔萃 但肯定與眾不同', + '你的愛,是孩子最好的示範', + '你講台語嘛也通', + '便宜一樣有好貨', + '係金A!', + '信任,帶來新幸福', + '信義房屋,信任,帶來新幸福', + '做你自己才叫乖,做你的乖乖!', + '做自己 自己做', + '傻瓜鏡片,聰明選擇', + 'お元気ですか?', + '全國電子 足感心ㄟ', + '全家就是你家', + '再忙,也要和你喝杯咖啡', + '別讓今天的應酬成為明天的負擔', + '到服裝店培養氣質,到書店展示服裝', + '化去心中那條線', + '原來我們這麼近', + '只有遠傳,沒有距離', + '只要有夢,你會紅', + '叫天天不印 Canon幫你印!', + '可憐的舊情人,看不到我的新內衣', + '台灣,加油!', + '合味才會呷意', + '啊!福氣啦!', + '喜歡嗎? 爸爸買給你!', + '嚕加嚕好呷', + '回家的感覺真好', + '因為你值得 L’ORE’AL', + '夏天好熱 愛要趁熱', + '多喝水沒事,沒事多喝水', + '夜深了,打個電話回家', + '天生超人氣,不該遭人棄', + '女人說好,才算頂好', + '好東西和好朋友分享', + '好的開喜就是成功的一半!', + '好身體,沒人敢惹你', + '好險,有南山!', + '孩子!我要你將來比我強!', + '學琴的孩子不會變壞', + '安全是回家唯一的路', + '小而美、小而冷、小而省', + '幸福怎能說不用', + '心,是人生最大的戰場', + '您真內行!', + '想像力是你的超能力', + '慈母心、豆腐心', + '我不認識你,但是我謝謝你!', + '我就是超愛 Send!', + '我的八分新摺學!', + '拍誰像誰,誰拍誰誰都得像誰', + '挺立,不只挺阮 也挺恁', + '捐血一袋,救人一命', + '撼動天下的力量', + '擋不住的感覺', + '整個城市就是我的咖啡館', + '最佳女主角換你做做看', + '有心最要緊', + '有書才會贏', + '有青才敢大聲', + '有點黏又不會太黏', + '期待下一次,不如靠自己', + '未來 就是現在', + '正反,反正都很正!', + '每一句話,都是思念', + '沒說出口的 保誠也聽得懂', + '現在的Nobody,未來的Somebody!', + '生命就該浪費在美好的事物上', + '用你想要的方式道別', + '用大金,省大金', + '用好心腸做好香腸', + '用愛打敗不景氣', + '用最愛 照顧最愛', + '留一盞燈給最後回家的人', + '百服寧、保護您', + '真感情就是最好的服務', + '知識使你更有魅力', + '碼碼都有獎', + '管他什麼垢,一瓶就夠', + '紅利點數也能當飯吃', + '紙有春風最溫柔', + '紙要Double A 萬事都OK!', + '給你好看', + '給我小心點兒', + '肝哪沒好,人生是黑白的!肝哪顧好,人生是彩色的!', + '肝苦誰人知', + '萬事皆可達,唯有情無價', + '認真的女人最美麗', + '贏甲嘸知人', + '路,是ESCAPE走出來的', + '這不是肯德基!', + '這個月不會來,下個月也不會來了,以後都不會來了', + '這是一定要的啦!', + '這種時機,無閒也是一種幸福', + '這種鬼地方都收得到', + '通往成功的路,總是在施工中', + '鑽石恆久遠,一顆永留傳', + '關心自己,也關心別人', + '關機是一種美德', + '陪妳Shopping 一輩子', + '雅芳比女人更瞭解女人', + '青菜底呷啦', + '靜得讓您耳根清靜', + '馬上就會好', + ]; - protected static $bsWords = [ - [ - '實現', '實作', '整合', '最佳化', - '革命', '轉變', '提昇', '啟用', '指揮', - '利用', '重現', '結合', '架構', '加強', - '集中', '變形', '強化', '推廣', '延伸', - '生產', '進化', '改善', '提高', '開發', - '創造', '專注', - ], [ - '加值', '縱向', '堅固', '全球', '在地', '領先', - '虛擬', '動態', '完全', '成熟', '穩定', '穩健', - '即時', '全年無休', '高效', '快速', '互動', - '世界級', '下一代', '新一代', '無線', '無限', - '豐富', '開源', '前端', '分散式', '無縫', '跨平臺', - ], - [ - '典範', '市場', '合作', '架構', '基礎平臺', '頻道', - '焦點', '方案', '解決方案', '社群', '科技', '技術', - '內容', '入口', '供應鍊', '介面', '系統', '頻寬', - '模型', '網路', '使用經驗', '評量', '方法', - ], - ]; + protected static $bsWords = [ + [ + '實現', + '實作', + '整合', + '最佳化', + '革命', + '轉變', + '提昇', + '啟用', + '指揮', + '利用', + '重現', + '結合', + '架構', + '加強', + '集中', + '變形', + '強化', + '推廣', + '延伸', + '生產', + '進化', + '改善', + '提高', + '開發', + '創造', + '專注', + ], + [ + '加值', + '縱向', + '堅固', + '全球', + '在地', + '領先', + '虛擬', + '動態', + '完全', + '成熟', + '穩定', + '穩健', + '即時', + '全年無休', + '高效', + '快速', + '互動', + '世界級', + '下一代', + '新一代', + '無線', + '無限', + '豐富', + '開源', + '前端', + '分散式', + '無縫', + '跨平臺', + ], + [ + '典範', + '市場', + '合作', + '架構', + '基礎平臺', + '頻道', + '焦點', + '方案', + '解決方案', + '社群', + '科技', + '技術', + '內容', + '入口', + '供應鍊', + '介面', + '系統', + '頻寬', + '模型', + '網路', + '使用經驗', + '評量', + '方法', + ], + ]; - public static function companyEnSuffix() - { - return static::randomElement(static::$companyEnSuffix); - } + public static function companyEnSuffix() { + return static::randomElement( static::$companyEnSuffix ); + } - public function companyEn() - { - $format = static::randomElement(static::$companyEnFormats); + public function companyEn() { + $format = static::randomElement( static::$companyEnFormats ); - return $this->generator->parse($format); - } + return $this->generator->parse( $format ); + } - public static function companyModifier() - { - return static::randomElement(static::$companyModifier); - } + public static function companyModifier() { + return static::randomElement( static::$companyModifier ); + } - public static function companyPrefix() - { - return static::randomElement(static::$companyPrefix); - } + public static function companyPrefix() { + return static::randomElement( static::$companyPrefix ); + } - public function catchPhrase() - { - return static::randomElement(static::$catchPhrase); - } + public function catchPhrase() { + return static::randomElement( static::$catchPhrase ); + } - public function bs() - { - $result = ''; + public function bs() { + $result = ''; - foreach (static::$bsWords as &$word) { - $result .= static::randomElement($word); - } + foreach ( static::$bsWords as &$word ) { + $result .= static::randomElement( $word ); + } - return $result; - } + return $result; + } - /** - * return standard VAT / Tax ID / Uniform Serial Number - * - * @example 28263822 - * - * @return int - */ - public function VAT() - { - return static::randomNumber(8, true); - } + /** + * return standard VAT / Tax ID / Uniform Serial Number + * + * @return int + * @example 28263822 + * + */ + public function VAT() { + return static::randomNumber( 8, true ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/DateTime.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/DateTime.php index 102a716..c97af44 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/DateTime.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/DateTime.php @@ -2,47 +2,43 @@ namespace Faker\Provider\zh_TW; -class DateTime extends \Faker\Provider\DateTime -{ - public static function amPm($max = 'now') - { - return static::dateTime($max)->format('a') === 'am' ? '上午' : '下午'; - } +class DateTime extends \Faker\Provider\DateTime { + public static function amPm( $max = 'now' ) { + return static::dateTime( $max )->format( 'a' ) === 'am' ? '上午' : '下午'; + } - public static function dayOfWeek($max = 'now') - { - $map = [ - 'Sunday' => '星期日', - 'Monday' => '星期一', - 'Tuesday' => '星期二', - 'Wednesday' => '星期三', - 'Thursday' => '星期四', - 'Friday' => '星期五', - 'Saturday' => '星期六', - ]; - $week = static::dateTime($max)->format('l'); + public static function dayOfWeek( $max = 'now' ) { + $map = [ + 'Sunday' => '星期日', + 'Monday' => '星期一', + 'Tuesday' => '星期二', + 'Wednesday' => '星期三', + 'Thursday' => '星期四', + 'Friday' => '星期五', + 'Saturday' => '星期六', + ]; + $week = static::dateTime( $max )->format( 'l' ); - return $map[$week] ?? $week; - } + return $map[ $week ] ?? $week; + } - public static function monthName($max = 'now') - { - $map = [ - 'January' => '一月', - 'February' => '二月', - 'March' => '三月', - 'April' => '四月', - 'May' => '五月', - 'June' => '六月', - 'July' => '七月', - 'August' => '八月', - 'September' => '九月', - 'October' => '十月', - 'November' => '十一月', - 'December' => '十二月', - ]; - $month = static::dateTime($max)->format('F'); + public static function monthName( $max = 'now' ) { + $map = [ + 'January' => '一月', + 'February' => '二月', + 'March' => '三月', + 'April' => '四月', + 'May' => '五月', + 'June' => '六月', + 'July' => '七月', + 'August' => '八月', + 'September' => '九月', + 'October' => '十月', + 'November' => '十一月', + 'December' => '十二月', + ]; + $month = static::dateTime( $max )->format( 'F' ); - return $map[$month] ?? $month; - } + return $map[ $month ] ?? $month; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Internet.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Internet.php index c3fb5ff..db337ae 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Internet.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Internet.php @@ -6,23 +6,20 @@ * @deprecated Use {@link \Faker\Provider\Internet} instead * @see \Faker\Provider\Internet */ -class Internet extends \Faker\Provider\Internet -{ - /** - * @deprecated Use {@link \Faker\Provider\Internet::userName()} instead - * @see \Faker\Provider\Internet::userName() - */ - public function userName() - { - return parent::userName(); - } +class Internet extends \Faker\Provider\Internet { + /** + * @deprecated Use {@link \Faker\Provider\Internet::userName()} instead + * @see \Faker\Provider\Internet::userName() + */ + public function userName() { + return parent::userName(); + } - /** - * @deprecated Use {@link \Faker\Provider\Internet::domainWord()} instead - * @see \Faker\Provider\Internet::domainWord() - */ - public function domainWord() - { - return parent::domainWord(); - } + /** + * @deprecated Use {@link \Faker\Provider\Internet::domainWord()} instead + * @see \Faker\Provider\Internet::domainWord() + */ + public function domainWord() { + return parent::domainWord(); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Payment.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Payment.php index a7f37a6..79ab584 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Payment.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Payment.php @@ -6,16 +6,14 @@ * @deprecated Use {@link \Faker\Provider\Payment} instead * @see \Faker\Provider\Payment */ -class Payment extends \Faker\Provider\Payment -{ - /** - * @return array - * - * @deprecated Use {@link \Faker\Provider\Payment::creditCardDetails()} instead - * @see \Faker\Provider\Payment::creditCardDetails() - */ - public function creditCardDetails($valid = true) - { - return parent::creditCardDetails($valid); - } +class Payment extends \Faker\Provider\Payment { + /** + * @return array + * + * @deprecated Use {@link \Faker\Provider\Payment::creditCardDetails()} instead + * @see \Faker\Provider\Payment::creditCardDetails() + */ + public function creditCardDetails( $valid = true ) { + return parent::creditCardDetails( $valid ); + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Person.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Person.php index cdfaff7..1c427d3 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Person.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Person.php @@ -2,200 +2,708 @@ namespace Faker\Provider\zh_TW; -class Person extends \Faker\Provider\Person -{ - /** - * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E8%BA%AB%E5%88%86%E8%AD%89 - */ - public static $idBirthplaceCode = [ - 'A' => 10, - 'B' => 11, - 'C' => 12, - 'D' => 13, - 'E' => 14, - 'F' => 15, - 'G' => 16, - 'H' => 17, - 'I' => 34, - 'J' => 18, - 'K' => 19, - 'M' => 21, - 'N' => 22, - 'O' => 35, - 'P' => 23, - 'Q' => 24, - 'T' => 27, - 'U' => 28, - 'V' => 29, - 'W' => 32, - 'X' => 30, - 'Z' => 33, - ]; - - /** - * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E8%BA%AB%E5%88%86%E8%AD%89 - */ - public static $idDigitValidator = [1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1]; - - protected static $maleNameFormats = [ - '{{lastName}}{{firstNameMale}}', - ]; - - protected static $femaleNameFormats = [ - '{{lastName}}{{firstNameFemale}}', - ]; - - protected static $titleMale = ['先生', '博士', '教授']; - protected static $titleFemale = ['小姐', '太太', '博士', '教授']; - - /** - * @see http://zh.wikipedia.org/wiki/%E7%99%BE%E5%AE%B6%E5%A7%93 - */ - protected static $lastName = [ - '趙', '錢', '孫', '李', '周', '吳', '鄭', '王', '馮', - '陳', '褚', '衛', '蔣', '沈', '韓', '楊', '朱', '秦', - '尤', '許', '何', '呂', '施', '張', '孔', '曹', '嚴', - '華', '金', '魏', '陶', '姜', '戚', '謝', '鄒', '喻', - '柏', '水', '竇', '章', '雲', '蘇', '潘', '葛', - '奚', '范', '彭', '郎', '魯', '韋', '昌', '馬', - '苗', '鳳', '花', '方', '俞', '任', '袁', '柳', - '酆', '鮑', '史', '唐', '費', '廉', '岑', '薛', - '雷', '賀', '倪', '湯', '滕', '殷', '羅', '畢', - '郝', '鄔', '安', '常', '樂', '于', '時', '傅', - '皮', '卞', '齊', '康', '伍', '余', '元', '卜', - '顧', '孟', '平', '黃', '和', '穆', '蕭', '尹', - '姚', '邵', '湛', '汪', '祁', '毛', '禹', '狄', - '米', '貝', '明', '臧', '計', '伏', '成', '戴', - '談', '宋', '茅', '龐', '熊', '紀', '舒', '屈', - '項', '祝', '董', '梁', '杜', '阮', '藍', '閔', - '席', '季', '麻', '強', '賈', '路', '婁', '危', - '江', '童', '顏', '郭', '梅', '盛', '林', '刁', - '鍾', '徐', '丘', '駱', '高', '夏', '蔡', '田', - '樊', '胡', '凌', '霍', '虞', '萬', '支', '柯', - '昝', '管', '盧', '莫', '經', '房', '裘', '繆', - '干', '解', '應', '宗', '丁', '宣', '賁', '鄧', - '郁', '單', '杭', '洪', '包', '諸', '左', '石', - '崔', '吉', '鈕', '龔', '程', '嵇', '邢', '滑', - '裴', '陸', '榮', '翁', '荀', '羊', '於', '惠', - '甄', '麴', '家', '封', '芮', '羿', '儲', '靳', - '汲', '邴', '糜', '松', '井', '段', '富', '巫', - '烏', '焦', '巴', '弓', '牧', '隗', '山', '谷', - '車', '侯', '宓', '蓬', '全', '郗', '班', '仰', - '秋', '仲', '伊', '宮', '甯', '仇', '欒', '暴', - '甘', '鈄', '厲', '戎', '祖', '武', '符', '劉', - '景', '詹', '束', '龍', '葉', '幸', '司', '韶', - '郜', '黎', '薊', '薄', '印', '宿', '白', '懷', - '蒲', '邰', '從', '鄂', '索', '咸', '籍', '賴', - '卓', '藺', '屠', '蒙', '池', '喬', '陰', '鬱', - '胥', '能', '蒼', '雙', '聞', '莘', '黨', '翟', - '譚', '貢', '勞', '逄', '姬', '申', '扶', '堵', - '冉', '宰', '酈', '雍', '郤', '璩', '桑', '桂', - '濮', '牛', '壽', '通', '邊', '扈', '燕', '冀', - '郟', '浦', '尚', '農', '溫', '別', '莊', '晏', - '柴', '瞿', '閻', '充', '慕', '連', '茹', '習', - '宦', '艾', '魚', '容', '向', '古', '易', '慎', - '戈', '廖', '庾', '終', '暨', '居', '衡', '步', - '都', '耿', '滿', '弘', '匡', '國', '文', '寇', - '廣', '祿', '闕', '東', '歐', '殳', '沃', '利', - '蔚', '越', '夔', '隆', '師', '鞏', '厙', '聶', - '晁', '勾', '敖', '融', '冷', '訾', '辛', '闞', - '那', '簡', '饒', '空', '曾', '毋', '沙', '乜', - '養', '鞠', '須', '豐', '巢', '關', '蒯', '相', - '查', '后', '荊', '紅', '游', '竺', '權', '逯', - '蓋', '益', '桓', '公', '万俟', '司馬', '上官', - '歐陽', '夏侯', '諸葛', '聞人', '東方', '赫連', - '皇甫', '尉遲', '公羊', '澹臺', '公冶', '宗政', - '濮陽', '淳于', '單于', '太叔', '申屠', '公孫', - '仲孫', '軒轅', '令狐', '鍾離', '宇文', '長孫', - '慕容', '鮮于', '閭丘', '司徒', '司空', '亓官', - '司寇', '仉', '督', '子車', '顓孫', '端木', '巫馬', - '公西', '漆雕', '樂正', '壤駟', '公良', '拓跋', - '夾谷', '宰父', '穀梁', '晉', '楚', '閆', '法', - '汝', '鄢', '涂', '欽', '段干', '百里', '東郭', - '南門', '呼延', '歸', '海', '羊舌', '微生', '岳', - '帥', '緱', '亢', '況', '後', '有', '琴', '梁丘', - '左丘', '東門', '西門', '商', '牟', '佘', '佴', - '伯', '賞', '南宮', '墨', '哈', '譙', '笪', '年', - '愛', '陽', '佟', '第五', '言', '福', - ]; - - /** - * @see http://technology.chtsai.org/namefreq/ - */ - protected static $characterMale = [ - '佳', '俊', '信', '偉', '傑', '冠', '君', '哲', - '嘉', '威', '宇', '安', '宏', '宗', '宜', '家', - '庭', '廷', '建', '彥', '心', '志', '思', '承', - '文', '柏', '樺', '瑋', '穎', '美', '翰', '華', - '詩', '豪', '賢', '軒', '銘', '霖', - ]; - - protected static $characterFemale = [ - '伶', '佩', '佳', '依', '儀', '冠', '君', '嘉', - '如', '娟', '婉', '婷', '安', '宜', '家', '庭', - '心', '思', '怡', '惠', '慧', '文', '欣', '涵', - '淑', '玲', '珊', '琪', '琬', '瑜', '穎', '筑', - '筱', '美', '芬', '芳', '華', '萍', '萱', '蓉', - '詩', '貞', '郁', '鈺', '雅', '雯', '靜', '馨', - ]; - - public static function randomName($pool, $n) - { - $name = ''; - - for ($i = 0; $i < $n; ++$i) { - $name .= static::randomElement($pool); - } - - return $name; - } - - public static function firstNameMale() - { - return static::randomName(static::$characterMale, self::numberBetween(1, 2)); - } - - public static function firstNameFemale() - { - return static::randomName(static::$characterFemale, self::numberBetween(1, 2)); - } - - public static function suffix() - { - return ''; - } - - /** - * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE - * - * @see https://en.wikipedia.org/wiki/National_Identification_Card_(Republic_of_China) - * - * @return string Length 10 alphanumeric characters, begins with 1 latin character (birthplace), - * 1 number (gender) and then 8 numbers (the last one is check digit). - */ - public function personalIdentityNumber($gender = null) - { - $birthPlace = self::randomKey(self::$idBirthplaceCode); - $birthPlaceCode = self::$idBirthplaceCode[$birthPlace]; - - $gender = ($gender != null) ? $gender : self::randomElement([self::GENDER_FEMALE, self::GENDER_MALE]); - $genderCode = ($gender === self::GENDER_MALE) ? 1 : 2; - - $randomNumberCode = self::randomNumber(7, true); - - $codes = str_split($birthPlaceCode . $genderCode . $randomNumberCode); - $total = 0; - - foreach ($codes as $key => $code) { - $total += $code * self::$idDigitValidator[$key]; - } - - $checkSumDigit = 10 - ($total % 10); - - if ($checkSumDigit == 10) { - $checkSumDigit = 0; - } - - return $birthPlace . $genderCode . $randomNumberCode . $checkSumDigit; - } +class Person extends \Faker\Provider\Person { + /** + * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E8%BA%AB%E5%88%86%E8%AD%89 + */ + public static $idBirthplaceCode = [ + 'A' => 10, + 'B' => 11, + 'C' => 12, + 'D' => 13, + 'E' => 14, + 'F' => 15, + 'G' => 16, + 'H' => 17, + 'I' => 34, + 'J' => 18, + 'K' => 19, + 'M' => 21, + 'N' => 22, + 'O' => 35, + 'P' => 23, + 'Q' => 24, + 'T' => 27, + 'U' => 28, + 'V' => 29, + 'W' => 32, + 'X' => 30, + 'Z' => 33, + ]; + + /** + * @see https://zh.wikipedia.org/wiki/%E4%B8%AD%E8%8F%AF%E6%B0%91%E5%9C%8B%E5%9C%8B%E6%B0%91%E8%BA%AB%E5%88%86%E8%AD%89 + */ + public static $idDigitValidator = [ 1, 9, 8, 7, 6, 5, 4, 3, 2, 1, 1 ]; + + protected static $maleNameFormats = [ + '{{lastName}}{{firstNameMale}}', + ]; + + protected static $femaleNameFormats = [ + '{{lastName}}{{firstNameFemale}}', + ]; + + protected static $titleMale = [ '先生', '博士', '教授' ]; + protected static $titleFemale = [ '小姐', '太太', '博士', '教授' ]; + + /** + * @see http://zh.wikipedia.org/wiki/%E7%99%BE%E5%AE%B6%E5%A7%93 + */ + protected static $lastName = [ + '趙', + '錢', + '孫', + '李', + '周', + '吳', + '鄭', + '王', + '馮', + '陳', + '褚', + '衛', + '蔣', + '沈', + '韓', + '楊', + '朱', + '秦', + '尤', + '許', + '何', + '呂', + '施', + '張', + '孔', + '曹', + '嚴', + '華', + '金', + '魏', + '陶', + '姜', + '戚', + '謝', + '鄒', + '喻', + '柏', + '水', + '竇', + '章', + '雲', + '蘇', + '潘', + '葛', + '奚', + '范', + '彭', + '郎', + '魯', + '韋', + '昌', + '馬', + '苗', + '鳳', + '花', + '方', + '俞', + '任', + '袁', + '柳', + '酆', + '鮑', + '史', + '唐', + '費', + '廉', + '岑', + '薛', + '雷', + '賀', + '倪', + '湯', + '滕', + '殷', + '羅', + '畢', + '郝', + '鄔', + '安', + '常', + '樂', + '于', + '時', + '傅', + '皮', + '卞', + '齊', + '康', + '伍', + '余', + '元', + '卜', + '顧', + '孟', + '平', + '黃', + '和', + '穆', + '蕭', + '尹', + '姚', + '邵', + '湛', + '汪', + '祁', + '毛', + '禹', + '狄', + '米', + '貝', + '明', + '臧', + '計', + '伏', + '成', + '戴', + '談', + '宋', + '茅', + '龐', + '熊', + '紀', + '舒', + '屈', + '項', + '祝', + '董', + '梁', + '杜', + '阮', + '藍', + '閔', + '席', + '季', + '麻', + '強', + '賈', + '路', + '婁', + '危', + '江', + '童', + '顏', + '郭', + '梅', + '盛', + '林', + '刁', + '鍾', + '徐', + '丘', + '駱', + '高', + '夏', + '蔡', + '田', + '樊', + '胡', + '凌', + '霍', + '虞', + '萬', + '支', + '柯', + '昝', + '管', + '盧', + '莫', + '經', + '房', + '裘', + '繆', + '干', + '解', + '應', + '宗', + '丁', + '宣', + '賁', + '鄧', + '郁', + '單', + '杭', + '洪', + '包', + '諸', + '左', + '石', + '崔', + '吉', + '鈕', + '龔', + '程', + '嵇', + '邢', + '滑', + '裴', + '陸', + '榮', + '翁', + '荀', + '羊', + '於', + '惠', + '甄', + '麴', + '家', + '封', + '芮', + '羿', + '儲', + '靳', + '汲', + '邴', + '糜', + '松', + '井', + '段', + '富', + '巫', + '烏', + '焦', + '巴', + '弓', + '牧', + '隗', + '山', + '谷', + '車', + '侯', + '宓', + '蓬', + '全', + '郗', + '班', + '仰', + '秋', + '仲', + '伊', + '宮', + '甯', + '仇', + '欒', + '暴', + '甘', + '鈄', + '厲', + '戎', + '祖', + '武', + '符', + '劉', + '景', + '詹', + '束', + '龍', + '葉', + '幸', + '司', + '韶', + '郜', + '黎', + '薊', + '薄', + '印', + '宿', + '白', + '懷', + '蒲', + '邰', + '從', + '鄂', + '索', + '咸', + '籍', + '賴', + '卓', + '藺', + '屠', + '蒙', + '池', + '喬', + '陰', + '鬱', + '胥', + '能', + '蒼', + '雙', + '聞', + '莘', + '黨', + '翟', + '譚', + '貢', + '勞', + '逄', + '姬', + '申', + '扶', + '堵', + '冉', + '宰', + '酈', + '雍', + '郤', + '璩', + '桑', + '桂', + '濮', + '牛', + '壽', + '通', + '邊', + '扈', + '燕', + '冀', + '郟', + '浦', + '尚', + '農', + '溫', + '別', + '莊', + '晏', + '柴', + '瞿', + '閻', + '充', + '慕', + '連', + '茹', + '習', + '宦', + '艾', + '魚', + '容', + '向', + '古', + '易', + '慎', + '戈', + '廖', + '庾', + '終', + '暨', + '居', + '衡', + '步', + '都', + '耿', + '滿', + '弘', + '匡', + '國', + '文', + '寇', + '廣', + '祿', + '闕', + '東', + '歐', + '殳', + '沃', + '利', + '蔚', + '越', + '夔', + '隆', + '師', + '鞏', + '厙', + '聶', + '晁', + '勾', + '敖', + '融', + '冷', + '訾', + '辛', + '闞', + '那', + '簡', + '饒', + '空', + '曾', + '毋', + '沙', + '乜', + '養', + '鞠', + '須', + '豐', + '巢', + '關', + '蒯', + '相', + '查', + '后', + '荊', + '紅', + '游', + '竺', + '權', + '逯', + '蓋', + '益', + '桓', + '公', + '万俟', + '司馬', + '上官', + '歐陽', + '夏侯', + '諸葛', + '聞人', + '東方', + '赫連', + '皇甫', + '尉遲', + '公羊', + '澹臺', + '公冶', + '宗政', + '濮陽', + '淳于', + '單于', + '太叔', + '申屠', + '公孫', + '仲孫', + '軒轅', + '令狐', + '鍾離', + '宇文', + '長孫', + '慕容', + '鮮于', + '閭丘', + '司徒', + '司空', + '亓官', + '司寇', + '仉', + '督', + '子車', + '顓孫', + '端木', + '巫馬', + '公西', + '漆雕', + '樂正', + '壤駟', + '公良', + '拓跋', + '夾谷', + '宰父', + '穀梁', + '晉', + '楚', + '閆', + '法', + '汝', + '鄢', + '涂', + '欽', + '段干', + '百里', + '東郭', + '南門', + '呼延', + '歸', + '海', + '羊舌', + '微生', + '岳', + '帥', + '緱', + '亢', + '況', + '後', + '有', + '琴', + '梁丘', + '左丘', + '東門', + '西門', + '商', + '牟', + '佘', + '佴', + '伯', + '賞', + '南宮', + '墨', + '哈', + '譙', + '笪', + '年', + '愛', + '陽', + '佟', + '第五', + '言', + '福', + ]; + + /** + * @see http://technology.chtsai.org/namefreq/ + */ + protected static $characterMale = [ + '佳', + '俊', + '信', + '偉', + '傑', + '冠', + '君', + '哲', + '嘉', + '威', + '宇', + '安', + '宏', + '宗', + '宜', + '家', + '庭', + '廷', + '建', + '彥', + '心', + '志', + '思', + '承', + '文', + '柏', + '樺', + '瑋', + '穎', + '美', + '翰', + '華', + '詩', + '豪', + '賢', + '軒', + '銘', + '霖', + ]; + + protected static $characterFemale = [ + '伶', + '佩', + '佳', + '依', + '儀', + '冠', + '君', + '嘉', + '如', + '娟', + '婉', + '婷', + '安', + '宜', + '家', + '庭', + '心', + '思', + '怡', + '惠', + '慧', + '文', + '欣', + '涵', + '淑', + '玲', + '珊', + '琪', + '琬', + '瑜', + '穎', + '筑', + '筱', + '美', + '芬', + '芳', + '華', + '萍', + '萱', + '蓉', + '詩', + '貞', + '郁', + '鈺', + '雅', + '雯', + '靜', + '馨', + ]; + + public static function randomName( $pool, $n ) { + $name = ''; + + for ( $i = 0; $i < $n; ++ $i ) { + $name .= static::randomElement( $pool ); + } + + return $name; + } + + public static function firstNameMale() { + return static::randomName( static::$characterMale, self::numberBetween( 1, 2 ) ); + } + + public static function firstNameFemale() { + return static::randomName( static::$characterFemale, self::numberBetween( 1, 2 ) ); + } + + public static function suffix() { + return ''; + } + + /** + * @param string $gender Person::GENDER_MALE || Person::GENDER_FEMALE + * + * @return string Length 10 alphanumeric characters, begins with 1 latin character (birthplace), + * 1 number (gender) and then 8 numbers (the last one is check digit). + * @see https://en.wikipedia.org/wiki/National_Identification_Card_(Republic_of_China) + * + */ + public function personalIdentityNumber( $gender = null ) { + $birthPlace = self::randomKey( self::$idBirthplaceCode ); + $birthPlaceCode = self::$idBirthplaceCode[ $birthPlace ]; + + $gender = ( $gender != null ) ? $gender : self::randomElement( [ self::GENDER_FEMALE, self::GENDER_MALE ] ); + $genderCode = ( $gender === self::GENDER_MALE ) ? 1 : 2; + + $randomNumberCode = self::randomNumber( 7, true ); + + $codes = str_split( $birthPlaceCode . $genderCode . $randomNumberCode ); + $total = 0; + + foreach ( $codes as $key => $code ) { + $total += $code * self::$idDigitValidator[ $key ]; + } + + $checkSumDigit = 10 - ( $total % 10 ); + + if ( $checkSumDigit == 10 ) { + $checkSumDigit = 0; + } + + return $birthPlace . $genderCode . $randomNumberCode . $checkSumDigit; + } } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/PhoneNumber.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/PhoneNumber.php index db9ac32..c8c2510 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/PhoneNumber.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/PhoneNumber.php @@ -2,18 +2,17 @@ namespace Faker\Provider\zh_TW; -class PhoneNumber extends \Faker\Provider\PhoneNumber -{ - protected static $formats = [ - '+8869########', - '+886-9##-###-###', - '09########', - '09##-###-###', - '(02)########', - '(02)####-####', - '(0#)#######', - '(0#)###-####', - '(0##)######', - '(0##)###-###', - ]; +class PhoneNumber extends \Faker\Provider\PhoneNumber { + protected static $formats = [ + '+8869########', + '+886-9##-###-###', + '09########', + '09##-###-###', + '(02)########', + '(02)####-####', + '(0#)#######', + '(0#)###-####', + '(0##)######', + '(0##)###-###', + ]; } diff --git a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Text.php b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Text.php index 34cc72d..9bea273 100644 --- a/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Text.php +++ b/lib/fakerphp/faker/src/Faker/Provider/zh_TW/Text.php @@ -2,28 +2,27 @@ namespace Faker\Provider\zh_TW; -class Text extends \Faker\Provider\Text -{ - protected static $separator = ''; - protected static $separatorLen = 0; +class Text extends \Faker\Provider\Text { + protected static $separator = ''; + protected static $separatorLen = 0; - /** - * All punctuation in $baseText: 、 。 「 」 『 』 ! ? ー , : ; - */ - protected static $notEndPunct = ['、', '「', '『', 'ー', ',', ':', ';']; - protected static $endPunct = ['。', '」', '』', '!', '?']; - protected static $notBeginPunct = ['、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';']; + /** + * All punctuation in $baseText: 、 。 「 」 『 』 ! ? ー , : ; + */ + protected static $notEndPunct = [ '、', '「', '『', 'ー', ',', ':', ';' ]; + protected static $endPunct = [ '。', '」', '』', '!', '?' ]; + protected static $notBeginPunct = [ '、', '。', '」', '』', '!', '?', 'ー', ',', ':', ';' ]; - /** - * Title: 吶喊 Call to Arms (1922) - * Author: 魯迅 Lu Xun - * Language: Traditional Chinese - * - * @see https://zh.wikisource.org/wiki/%E5%90%B6%E5%96%8A - * - * @var string - */ - protected static $baseText = <<<'EOT' + /** + * Title: 吶喊 Call to Arms (1922) + * Author: 魯迅 Lu Xun + * Language: Traditional Chinese + * + * @see https://zh.wikisource.org/wiki/%E5%90%B6%E5%96%8A + * + * @var string + */ + protected static $baseText = <<<'EOT' 我在年青時候也曾經做過許多夢,後來大半忘卻了,但自己也並不以爲可惜。所謂回憶者,雖說可以使人歡欣,有時也不免使人寂寞,使精神的絲縷還牽著已逝的寂寞的時光,又有什麼意味呢,而我偏苦于不能全忘卻,這不能全忘的一部分,到現在便成了《吶喊》的來由。 我有四年多,曾經常常,——幾乎是每天,出入于質鋪和藥店裏,年紀可是忘卻了,總之是藥店的櫃臺正和我一樣高,質鋪的是比我高一倍,我從一倍高的櫃臺外送上衣服或首飾去,在侮蔑裡接了錢,再到一樣高的櫃臺上給我久病的父親去買藥。回家之後,又須忙別的事了,因爲開方的醫生是最有名的,以此所用的藥引也奇特:冬天的蘆根,經霜三年的甘蔗,蟋蟀要原對的,結子的平地木,……多不是容易辦到的東西。然而我的父親終于日重一日的亡故了。 有誰從小康人家而墜入困頓的麼,我以爲在這途路中,大概可以看見世人的真面目;我要到N進K學堂去了,仿佛是想走異路,逃異地,去尋求別樣的人們。我的母親沒有法,辦了八元的川資,說是由我的自便;然而伊哭了,這正是情理中的事,因爲那時讀書應試是正路,所謂學洋務,社會上便以爲是一種走投無路的人,只得將靈魂賣給鬼子,要加倍的奚落而且排斥的,而況伊又看不見自己的兒子了。然而我也顧不得這些事,終于到N去進了K學堂了,在這學堂裏,我纔知道世上還有所謂格致,算學,地理,歷史,繪圖和體操。生理學並不教,但我們卻看到些木版的《全體新論》和《化學衛生論》之類了。我還記得先前的醫生的議論和方藥,和現在所知道的比較起來,便漸漸的悟得中醫不過是一種有意的或無意的騙子,同時又很起了對于被騙的病人和他的家族的同情;而且從譯出的歷史上,又知道了日本維新是大半發端于西方醫學的事實。 @@ -800,101 +799,96 @@ class Text extends \Faker\Provider\Text 至於輿論,在未莊是無異議,自然都說阿Q壞,被槍斃便是他的壞的證據:不壞又何至於被槍斃呢?而城裏的輿論卻不佳,他們多半不滿足,以為槍斃並無殺頭這般好看;而且那是怎樣的一個可笑的死囚呵,游了那麼久的街,竟沒有唱一句戲:他們白跟一趟了。 EOT; - protected static $encoding = 'UTF-8'; + protected static $encoding = 'UTF-8'; - protected static function explode($text) - { - $chars = []; + protected static function explode( $text ) { + $chars = []; - foreach (preg_split('//u', str_replace(PHP_EOL, '', $text)) as $char) { - if (!empty($char)) { - $chars[] = $char; - } - } + foreach ( preg_split( '//u', str_replace( PHP_EOL, '', $text ) ) as $char ) { + if ( ! empty( $char ) ) { + $chars[] = $char; + } + } - return $chars; - } + return $chars; + } - protected static function strlen($text) - { - return function_exists('mb_strlen') - ? mb_strlen($text, static::$encoding) - : count(static::explode($text)); - } + protected static function strlen( $text ) { + return function_exists( 'mb_strlen' ) + ? mb_strlen( $text, static::$encoding ) + : count( static::explode( $text ) ); + } - protected static function validStart($word) - { - return !in_array($word, static::$notBeginPunct, false); - } + protected static function validStart( $word ) { + return ! in_array( $word, static::$notBeginPunct, false ); + } - protected static function appendEnd($text) - { - $mbAvailable = extension_loaded('mbstring'); + protected static function appendEnd( $text ) { + $mbAvailable = extension_loaded( 'mbstring' ); - // extract the last char of $text - if ($mbAvailable) { - // in order to support php 5.3, third param use 1 instead of null - // https://secure.php.net/manual/en/function.mb-substr.php#refsect1-function.mb-substr-changelog - $last = mb_substr($text, mb_strlen($text, static::$encoding) - 1, 1, static::$encoding); - } else { - $chars = static::utf8Encoding($text); - $last = $chars[count($chars) - 1]; - } + // extract the last char of $text + if ( $mbAvailable ) { + // in order to support php 5.3, third param use 1 instead of null + // https://secure.php.net/manual/en/function.mb-substr.php#refsect1-function.mb-substr-changelog + $last = mb_substr( $text, mb_strlen( $text, static::$encoding ) - 1, 1, static::$encoding ); + } else { + $chars = static::utf8Encoding( $text ); + $last = $chars[ count( $chars ) - 1 ]; + } - // if the last char is a not-valid-end punctuation, remove it - if (in_array($last, static::$notEndPunct, false)) { - if ($mbAvailable) { - $text = mb_substr($text, 0, mb_strlen($text, static::$encoding) - 1, static::$encoding); - } else { - array_pop($chars); - $text = implode('', $chars); - } - } + // if the last char is a not-valid-end punctuation, remove it + if ( in_array( $last, static::$notEndPunct, false ) ) { + if ( $mbAvailable ) { + $text = mb_substr( $text, 0, mb_strlen( $text, static::$encoding ) - 1, static::$encoding ); + } else { + array_pop( $chars ); + $text = implode( '', $chars ); + } + } - // if the last char is not a valid punctuation, append a default one. - return in_array($last, static::$endPunct, false) ? $text : $text . '。'; - } + // if the last char is not a valid punctuation, append a default one. + return in_array( $last, static::$endPunct, false ) ? $text : $text . '。'; + } - /** - * Convert original string to utf-8 encoding. - * - * @param string $text - * - * @return array - */ - protected static function utf8Encoding($text) - { - $encoding = []; + /** + * Convert original string to utf-8 encoding. + * + * @param string $text + * + * @return array + */ + protected static function utf8Encoding( $text ) { + $encoding = []; - $chars = str_split($text); + $chars = str_split( $text ); - $countChars = count($chars); + $countChars = count( $chars ); - for ($i = 0; $i < $countChars; ++$i) { - $temp = $chars[$i]; + for ( $i = 0; $i < $countChars; ++ $i ) { + $temp = $chars[ $i ]; - $ord = ord($chars[$i]); + $ord = ord( $chars[ $i ] ); - switch (true) { - case $ord > 251: - $temp .= $chars[++$i]; - // no break - case $ord > 247: - $temp .= $chars[++$i]; - // no break - case $ord > 239: - $temp .= $chars[++$i]; - // no break - case $ord > 223: - $temp .= $chars[++$i]; - // no break - case $ord > 191: - $temp .= $chars[++$i]; - } + switch ( true ) { + case $ord > 251: + $temp .= $chars[ ++ $i ]; + // no break + case $ord > 247: + $temp .= $chars[ ++ $i ]; + // no break + case $ord > 239: + $temp .= $chars[ ++ $i ]; + // no break + case $ord > 223: + $temp .= $chars[ ++ $i ]; + // no break + case $ord > 191: + $temp .= $chars[ ++ $i ]; + } - $encoding[] = $temp; - } + $encoding[] = $temp; + } - return $encoding; - } + return $encoding; + } } diff --git a/lib/fakerphp/faker/src/Faker/UniqueGenerator.php b/lib/fakerphp/faker/src/Faker/UniqueGenerator.php index fef167b..cdd78a4 100644 --- a/lib/fakerphp/faker/src/Faker/UniqueGenerator.php +++ b/lib/fakerphp/faker/src/Faker/UniqueGenerator.php @@ -11,77 +11,72 @@ * * @mixin Generator */ -class UniqueGenerator -{ - protected $generator; - protected $maxRetries; +class UniqueGenerator { + protected $generator; + protected $maxRetries; - /** - * Maps from method names to a map with serialized result keys. - * - * @example [ - * 'phone' => ['0123' => null], - * 'city' => ['London' => null, 'Tokyo' => null], - * ] - * - * @var array> - */ - protected $uniques = []; + /** + * Maps from method names to a map with serialized result keys. + * + * @example [ + * 'phone' => ['0123' => null], + * 'city' => ['London' => null, 'Tokyo' => null], + * ] + * + * @var array> + */ + protected $uniques = []; - /** - * @param Extension|Generator $generator - * @param int $maxRetries - * @param array> $uniques - */ - public function __construct($generator, $maxRetries = 10000, &$uniques = []) - { - $this->generator = $generator; - $this->maxRetries = $maxRetries; - $this->uniques = &$uniques; - } + /** + * @param Extension|Generator $generator + * @param int $maxRetries + * @param array> $uniques + */ + public function __construct( $generator, $maxRetries = 10000, &$uniques = [] ) { + $this->generator = $generator; + $this->maxRetries = $maxRetries; + $this->uniques = &$uniques; + } - public function ext(string $id) - { - return new self($this->generator->ext($id), $this->maxRetries, $this->uniques); - } + public function ext( string $id ) { + return new self( $this->generator->ext( $id ), $this->maxRetries, $this->uniques ); + } - /** - * Catch and proxy all generator calls but return only unique values - * - * @param string $attribute - * - * @deprecated Use a method instead. - */ - public function __get($attribute) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute); + /** + * Catch and proxy all generator calls but return only unique values + * + * @param string $attribute + * + * @deprecated Use a method instead. + */ + public function __get( $attribute ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute ); - return $this->__call($attribute, []); - } + return $this->__call( $attribute, [] ); + } - /** - * Catch and proxy all generator calls with arguments but return only unique values - * - * @param string $name - * @param array $arguments - */ - public function __call($name, $arguments) - { - if (!isset($this->uniques[$name])) { - $this->uniques[$name] = []; - } - $i = 0; + /** + * Catch and proxy all generator calls with arguments but return only unique values + * + * @param string $name + * @param array $arguments + */ + public function __call( $name, $arguments ) { + if ( ! isset( $this->uniques[ $name ] ) ) { + $this->uniques[ $name ] = []; + } + $i = 0; - do { - $res = call_user_func_array([$this->generator, $name], $arguments); - ++$i; + do { + $res = call_user_func_array( [ $this->generator, $name ], $arguments ); + ++ $i; - if ($i > $this->maxRetries) { - throw new \OverflowException(sprintf('Maximum retries of %d reached without finding a unique value', $this->maxRetries)); - } - } while (array_key_exists(serialize($res), $this->uniques[$name])); - $this->uniques[$name][serialize($res)] = null; + if ( $i > $this->maxRetries ) { + throw new \OverflowException( sprintf( 'Maximum retries of %d reached without finding a unique value', $this->maxRetries ) ); + } + } while ( array_key_exists( serialize( $res ), $this->uniques[ $name ] ) ); + $this->uniques[ $name ][ serialize( $res ) ] = null; - return $res; - } + return $res; + } } diff --git a/lib/fakerphp/faker/src/Faker/ValidGenerator.php b/lib/fakerphp/faker/src/Faker/ValidGenerator.php index bf40945..e2d5f7c 100644 --- a/lib/fakerphp/faker/src/Faker/ValidGenerator.php +++ b/lib/fakerphp/faker/src/Faker/ValidGenerator.php @@ -10,69 +10,64 @@ * * @mixin Generator */ -class ValidGenerator -{ - protected $generator; - protected $validator; - protected $maxRetries; +class ValidGenerator { + protected $generator; + protected $validator; + protected $maxRetries; - /** - * @param Extension|Generator $generator - * @param callable|null $validator - * @param int $maxRetries - */ - public function __construct($generator, $validator = null, $maxRetries = 10000) - { - if (null === $validator) { - $validator = static function () { - return true; - }; - } elseif (!is_callable($validator)) { - throw new \InvalidArgumentException('valid() only accepts callables as first argument'); - } - $this->generator = $generator; - $this->validator = $validator; - $this->maxRetries = $maxRetries; - } + /** + * @param Extension|Generator $generator + * @param callable|null $validator + * @param int $maxRetries + */ + public function __construct( $generator, $validator = null, $maxRetries = 10000 ) { + if ( null === $validator ) { + $validator = static function () { + return true; + }; + } elseif ( ! is_callable( $validator ) ) { + throw new \InvalidArgumentException( 'valid() only accepts callables as first argument' ); + } + $this->generator = $generator; + $this->validator = $validator; + $this->maxRetries = $maxRetries; + } - public function ext(string $id) - { - return new self($this->generator->ext($id), $this->validator, $this->maxRetries); - } + public function ext( string $id ) { + return new self( $this->generator->ext( $id ), $this->validator, $this->maxRetries ); + } - /** - * Catch and proxy all generator calls but return only valid values - * - * @param string $attribute - * - * @deprecated Use a method instead. - */ - public function __get($attribute) - { - trigger_deprecation('fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute); + /** + * Catch and proxy all generator calls but return only valid values + * + * @param string $attribute + * + * @deprecated Use a method instead. + */ + public function __get( $attribute ) { + trigger_deprecation( 'fakerphp/faker', '1.14', 'Accessing property "%s" is deprecated, use "%s()" instead.', $attribute, $attribute ); - return $this->__call($attribute, []); - } + return $this->__call( $attribute, [] ); + } - /** - * Catch and proxy all generator calls with arguments but return only valid values - * - * @param string $name - * @param array $arguments - */ - public function __call($name, $arguments) - { - $i = 0; + /** + * Catch and proxy all generator calls with arguments but return only valid values + * + * @param string $name + * @param array $arguments + */ + public function __call( $name, $arguments ) { + $i = 0; - do { - $res = call_user_func_array([$this->generator, $name], $arguments); - ++$i; + do { + $res = call_user_func_array( [ $this->generator, $name ], $arguments ); + ++ $i; - if ($i > $this->maxRetries) { - throw new \OverflowException(sprintf('Maximum retries of %d reached without finding a valid value', $this->maxRetries)); - } - } while (!call_user_func($this->validator, $res)); + if ( $i > $this->maxRetries ) { + throw new \OverflowException( sprintf( 'Maximum retries of %d reached without finding a valid value', $this->maxRetries ) ); + } + } while ( ! call_user_func( $this->validator, $res ) ); - return $res; - } + return $res; + } } diff --git a/lib/fakerphp/faker/src/autoload.php b/lib/fakerphp/faker/src/autoload.php index a4dfa9e..702e05f 100644 --- a/lib/fakerphp/faker/src/autoload.php +++ b/lib/fakerphp/faker/src/autoload.php @@ -8,22 +8,22 @@ * Code inspired from the SplClassLoader RFC * @see https://wiki.php.net/rfc/splclassloader#example_implementation */ -spl_autoload_register(function ($className) { - $className = ltrim($className, '\\'); - $fileName = ''; +spl_autoload_register( function ( $className ) { + $className = ltrim( $className, '\\' ); + $fileName = ''; - if ($lastNsPos = strripos($className, '\\')) { - $namespace = substr($className, 0, $lastNsPos); - $className = substr($className, $lastNsPos + 1); - $fileName = str_replace('\\', DIRECTORY_SEPARATOR, $namespace) . DIRECTORY_SEPARATOR; - } - $fileName = __DIR__ . DIRECTORY_SEPARATOR . $fileName . $className . '.php'; + if ( $lastNsPos = strripos( $className, '\\' ) ) { + $namespace = substr( $className, 0, $lastNsPos ); + $className = substr( $className, $lastNsPos + 1 ); + $fileName = str_replace( '\\', DIRECTORY_SEPARATOR, $namespace ) . DIRECTORY_SEPARATOR; + } + $fileName = __DIR__ . DIRECTORY_SEPARATOR . $fileName . $className . '.php'; - if (file_exists($fileName)) { - require $fileName; + if ( file_exists( $fileName ) ) { + require $fileName; - return true; - } + return true; + } - return false; -}); + return false; +} ); diff --git a/lib/psr/container/src/ContainerExceptionInterface.php b/lib/psr/container/src/ContainerExceptionInterface.php index 0f213f2..91bd500 100644 --- a/lib/psr/container/src/ContainerExceptionInterface.php +++ b/lib/psr/container/src/ContainerExceptionInterface.php @@ -7,6 +7,5 @@ /** * Base interface representing a generic exception in a container. */ -interface ContainerExceptionInterface extends Throwable -{ +interface ContainerExceptionInterface extends Throwable { } diff --git a/lib/psr/container/src/ContainerInterface.php b/lib/psr/container/src/ContainerInterface.php index b2cad40..87f7f75 100644 --- a/lib/psr/container/src/ContainerInterface.php +++ b/lib/psr/container/src/ContainerInterface.php @@ -1,36 +1,35 @@ - */ - function trigger_deprecation(string $package, string $version, string $message, ...$args): void - { - @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED); - } +if ( ! function_exists( 'trigger_deprecation' ) ) { + /** + * Triggers a silenced deprecation notice. + * + * @param string $package The name of the Composer package that is triggering the deprecation + * @param string $version The version of the package that introduced the deprecation + * @param string $message The message of the deprecation + * @param mixed ...$args Values to insert in the message using printf() formatting + * + * @author Nicolas Grekas + */ + function trigger_deprecation( string $package, string $version, string $message, ...$args ): void { + @trigger_error( ( $package || $version ? "Since $package $version: " : '' ) . ( $args ? vsprintf( $message, $args ) : $message ), \E_USER_DEPRECATED ); + } } From a581f7301ad32ff481ca1db974439bffae14de08 Mon Sep 17 00:00:00 2001 From: Deepak3642 Date: Tue, 12 Mar 2024 10:17:08 +0600 Subject: [PATCH 5/7] credential error solved --- includes/PDUpdater.php | 201 ++++++++++++++++++++++------------------- 1 file changed, 109 insertions(+), 92 deletions(-) diff --git a/includes/PDUpdater.php b/includes/PDUpdater.php index 37ea310..5aa6378 100644 --- a/includes/PDUpdater.php +++ b/includes/PDUpdater.php @@ -2,7 +2,8 @@ namespace Cbx\Careertoolkit; -class PDUpdater { +class PDUpdater +{ private $file; private $plugin; private $basename; @@ -12,138 +13,152 @@ class PDUpdater { private $authorize_token; private $github_response; - public function __construct( $file ) { + public function __construct($file) + { $this->file = $file; - add_action( 'admin_init', [ $this, 'set_plugin_properties' ] ); + add_action('admin_init', [$this, 'set_plugin_properties']); return $this; }//end function __construct - public function set_plugin_properties() { - $this->plugin = get_plugin_data( $this->file ); - $this->basename = plugin_basename( $this->file ); - $this->active = is_plugin_active( $this->basename ); + public function set_plugin_properties() + { + $this->plugin = get_plugin_data($this->file); + $this->basename = plugin_basename($this->file); + $this->active = is_plugin_active($this->basename); }//end function set_plugin_properties - public function set_username( $username ) { + public function set_username($username) + { $this->username = $username; }//end function set_username - public function set_repository( $repository ) { + public function set_repository($repository) + { $this->repository = $repository; }//end function set_repository - public function authorize( $token ) { + public function authorize($token) + { $this->authorize_token = $token; }//end function authorize - private function get_repository_info() { - if ( is_null( $this->github_response ) ) { - $request_uri = sprintf( 'https://api.github.com/repos/%s/%s/releases', $this->username, $this->repository ); + private function get_repository_info() + { + if (is_null($this->github_response)) { + $request_uri = sprintf('https://api.github.com/repos/%s/%s/releases', $this->username, $this->repository); // Switch to HTTP Basic Authentication for GitHub API v3 $curl = curl_init(); - curl_setopt_array( $curl, [ - CURLOPT_URL => $request_uri, + curl_setopt_array($curl, [ + CURLOPT_URL => $request_uri, CURLOPT_RETURNTRANSFER => true, - CURLOPT_ENCODING => "", - CURLOPT_MAXREDIRS => 10, - CURLOPT_TIMEOUT => 0, + CURLOPT_ENCODING => "", + CURLOPT_MAXREDIRS => 10, + CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, - CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, - CURLOPT_CUSTOMREQUEST => "GET", - CURLOPT_HTTPHEADER => [ + CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, + CURLOPT_CUSTOMREQUEST => "GET", + CURLOPT_HTTPHEADER => [ "Authorization: token " . $this->authorize_token, "User-Agent: PDUpdater/1.2.3" ] - ] ); + ]); - $response = curl_exec( $curl ); + $response = curl_exec($curl); - curl_close( $curl ); + curl_close($curl); - $response = json_decode( $response, true ); + $response = json_decode($response, true); - if ( is_array( $response ) ) { - $response = current( $response ); + if (is_array($response)) { + $response = current($response); } - if ( $this->authorize_token ) { - $response['zipball_url'] = add_query_arg( 'access_token', $this->authorize_token, $response['zipball_url'] ); + if ($this->authorize_token && isset($response['zipball_url'])) { + $response['zipball_url'] = add_query_arg('access_token', $this->authorize_token, $response['zipball_url']); + $this->github_response = $response; } - - $this->github_response = $response; } }//end function get_repository_info - public function initialize() { - add_filter( 'pre_set_site_transient_update_plugins', [ $this, 'modify_transient' ], 10, 1 ); - add_filter( 'plugins_api', [ $this, 'plugin_popup' ], 10, 3 ); - add_filter( 'upgrader_post_install', [ $this, 'after_install' ], 10, 3 ); - add_filter( "http_request_args", [ $this, "addHeaders" ], 10, 3 ); + public function initialize() + { + add_filter('pre_set_site_transient_update_plugins', [$this, 'modify_transient'], 10, 1); + add_filter('plugins_api', [$this, 'plugin_popup'], 10, 3); + add_filter('upgrader_post_install', [$this, 'after_install'], 10, 3); + add_filter("http_request_args", [$this, "addHeaders"], 10, 3); }//end function initialize - public function modify_transient( $transient ) { - if ( property_exists( $transient, 'checked' ) ) { - if ( $checked = $transient->checked ) { + public function modify_transient($transient) + { + if (property_exists($transient, 'checked')) { + if ($checked = $transient->checked) { $this->get_repository_info(); - - $tag_name = str_replace( "v", "", $this->github_response['tag_name'] ); - $tag_name = str_replace( "V", "", $tag_name ); - $out_of_date = version_compare( $tag_name, $checked[ $this->basename ], 'gt' ); - - if ( $out_of_date ) { - $new_files = $this->github_response['zipball_url']; - $slug = current( explode( '/', $this->basename ) ); - - $plugin = [ - 'url' => $this->plugin['PluginURI'], - 'slug' => $slug, - 'package' => $new_files, - 'new_version' => $tag_name - ]; - - $transient->response[ $this->basename ] = (object) $plugin; + if (isset($this->github_response['tag_name'])) { + $tag_name = str_replace("v", "", $this->github_response['tag_name']); + $tag_name = str_replace("V", "", $tag_name); + $out_of_date = version_compare($tag_name, $checked[$this->basename], 'gt'); + + if ($out_of_date) { + $new_files = $this->github_response['zipball_url']; + $slug = current(explode('/', $this->basename)); + + $plugin = [ + 'url' => $this->plugin['PluginURI'], + 'slug' => $slug, + 'package' => $new_files, + 'new_version' => $tag_name + ]; + + $transient->response[$this->basename] = (object) $plugin; + } } + } } return $transient; }//end function modify_transient - public function plugin_popup( $result, $action, $args ) { - if ( $action !== 'plugin_information' ) { + public function plugin_popup($result, $action, $args) + { + if ($action !== 'plugin_information') { return false; } - if ( ! empty( $args->slug ) ) { - if ( $args->slug == current( explode( '/', $this->basename ) ) ) { + if (!empty($args->slug)) { + if ($args->slug == current(explode('/', $this->basename))) { $this->get_repository_info(); - $slug = current( explode( '/', $this->basename ) ); - - $tag_name = str_replace( "v", "", $this->github_response['tag_name'] ); - $tag_name = str_replace( "V", "", $tag_name ); - - $plugin = [ - 'name' => isset( $this->plugin['Name'] ) ? $this->plugin['Name'] : '', - 'slug' => $slug, - 'requires' => '5.3', - 'tested' => '5.4', - 'version' => $tag_name, - 'author' => $this->plugin['Author'], - 'author_profile' => $this->plugin['AuthorURI'], - 'last_updated' => $this->github_response['published_at'], - 'homepage' => $this->plugin['PluginURI'], - 'short_description' => isset( $this->plugin['Description'] ) ? $this->plugin['Description'] : '', - 'sections' => [ - 'Description' => isset( $this->plugin['Description'] ) ? $this->plugin['Description'] : '', - 'Updates' => isset( $this->github_response['body'] ) ? $this->github_response['body'] : '', - ], - 'download_link' => $this->github_response['zipball_url'] - ]; - - return (object) $plugin; + + if (isset($this->github_response['zipball_url'])) { + $slug = current(explode('/', $this->basename)); + + $tag_name = str_replace("v", "", $this->github_response['tag_name']); + $tag_name = str_replace("V", "", $tag_name); + + $plugin = [ + 'name' => isset($this->plugin['Name']) ? $this->plugin['Name'] : '', + 'slug' => $slug, + 'requires' => '5.3', + 'tested' => '5.4', + 'version' => $tag_name, + 'author' => $this->plugin['Author'], + 'author_profile' => $this->plugin['AuthorURI'], + 'last_updated' => $this->github_response['published_at'], + 'homepage' => $this->plugin['PluginURI'], + 'short_description' => isset($this->plugin['Description']) ? $this->plugin['Description'] : '', + 'sections' => [ + 'Description' => isset($this->plugin['Description']) ? $this->plugin['Description'] : '', + 'Updates' => isset($this->github_response['body']) ? $this->github_response['body'] : '', + ], + 'download_link' => $this->github_response['zipball_url'] + ]; + + return (object) $plugin; + } + } } @@ -159,15 +174,16 @@ public function plugin_popup( $result, $action, $args ) { * * @return mixed */ - public function after_install( $response, $hook_extra, $result ) { + public function after_install($response, $hook_extra, $result) + { global $wp_filesystem; - $install_directory = plugin_dir_path( $this->file ); - $wp_filesystem->move( $result['destination'], $install_directory ); + $install_directory = plugin_dir_path($this->file); + $wp_filesystem->move($result['destination'], $install_directory); $result['destination'] = $install_directory; - if ( $this->active ) { - activate_plugin( $this->basename ); + if ($this->active) { + activate_plugin($this->basename); } return $result; @@ -181,12 +197,13 @@ public function after_install( $response, $hook_extra, $result ) { * * @return mixed */ - public function addHeaders( $parsed_args, $url ) { - if ( empty( $parsed_args['headers'] ) ) { + public function addHeaders($parsed_args, $url) + { + if (empty($parsed_args['headers'])) { $parsed_args['headers'] = []; } - if ( strpos( $url, "https://api.github.com/repos/{$this->username}/{$this->repository}" ) !== false ) { + if (strpos($url, "https://api.github.com/repos/{$this->username}/{$this->repository}") !== false) { $parsed_args['headers']['Authorization'] = "token $this->authorize_token"; } From fd579acd70ac9a42a28b93ec2245f93f725d59b3 Mon Sep 17 00:00:00 2001 From: Deepak3642 Date: Wed, 13 Mar 2024 14:52:43 +0600 Subject: [PATCH 6/7] readme and license added --- LICENSE.txt | 21 ++++++++++++++++ README.md | 24 ++++++++++++------ README.txt | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 7 deletions(-) create mode 100644 LICENSE.txt create mode 100644 README.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..3ec5723 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 PhpSpreadsheet Authors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 00d8a91..9ad6ace 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ -cbxjob +CBX Career Dev Toolkit -All possible default params: +## Description +This plugin provides command line interface for creating dummy job and resume. -wp cbxjob-generate --total=100 --status=publish --is-remote=0 +# How to use: +## cbxjob +### All possible default params: ---is-featured=1 --is-filled=0 --user-id=1 --salary-unit=monthly --currency=USD +```` +wp cbxjob-generate --total=100 --status=publish --is-remote=0 --is-featured=1 --is-filled=0 --user-id=1 --salary-unit=monthly --currency=USD +```` total = number of jobs to be created. @@ -24,10 +29,11 @@ salary-unit =[yearly,monthly,yearly,daily] user-id = user ID -cbxresume - +## cbxresume +### All possible default params: +```` wp cbxjresume-generate --total=100 --user-id=1 --status=1 --privacy=public --is-primary=1 - +```` total = number of resume to be created. @@ -38,3 +44,7 @@ status = [0=draft, 1=publish, 2=unpublished, 3=pending, 4=flag] privacy= [public,private] is-primary= [0,1] + +## Licence + +[MIT](https://github.com/codeboxrcodehub/cbxcareertoolkit/blob/master/LICENSE.txt) diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..4b2f353 --- /dev/null +++ b/README.txt @@ -0,0 +1,72 @@ +=== CBX Taxonomy Library === +Contributors: codeboxr, manchumahara +Requires at least: 3.5 +Tested up to: 6.4.3 +Stable tag: 1.0.5 +License: MIT +License URI: https://github.com/codeboxrcodehub/cbxphpspreadsheet/blob/master/LICENSE.txt + +Open source PhpSpreadSheet php library released as wordpress plugin to use easily + +== Description == + +A pure [PHP library for reading and writing spreadsheet files](https://phpspreadsheet.readthedocs.io) + +From Codeboxr we wrapped the library as wordpress plugin to easy distribute as wordpress plugin. WordPress now doesn't allow this type library as +plugin but providing a large php package with plugin makes the plugin heavy and troublesome for updates. We hosted this in github so that user can download and later +update easily. + +Software requirements + +The following software is required to develop using PhpSpreadsheet: + + * PHP version 7.4 or newer + * PHP extension php_zip enabled + * PHP extension php_xml enabled + * PHP extension php_gd2 enabled (if not compiled in) + + +The plugin check php version, php_zip, php_xml and php_gd2 library compatible or installed or not, based on success it activated. + +How to use: + +` +if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ) ) { + //Include PHPExcel + require_once( CBXPHPSPREADSHEET_ROOT_PATH . 'lib/vendor/autoload.php' ); + + //now take instance + $objPHPExcel = new \PhpOffice\PhpSpreadsheet\Spreadsheet(); + + //do whatever you need to do +} +` + +== Installation == + +1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases) +2. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins) +3. After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress +4. This plugin doesn't load any library by default, it doesn't create extra folder or menu. + + +== Changelog == + += 1.0.5 = +* Dependency vendor packages updated to latest +* Github.com based updater + += 1.0.4 = +* Updated the phpspreadsheet package to latest V1.29.0 + += 1.0.3 = +* Updated the phpspreadsheet package to latest V1.21.0 + += 1.0.2 = +* Updated the phpspreadsheet package to latest V1.21.0 + += 1.0.1 = +* Updated the phpspreadsheet package to latest + += 1.0.0 = +* First public release From c8edf6113f761507b7099e882b0e5719c035eb8a Mon Sep 17 00:00:00 2001 From: Deepak3642 Date: Wed, 13 Mar 2024 15:02:02 +0600 Subject: [PATCH 7/7] readme and license updated --- README.md | 24 +++++++++++++++++------- README.txt | 8 ++++---- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 9ad6ace..e6d5bb8 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,25 @@ CBX Career Dev Toolkit ## Description + This plugin provides command line interface for creating dummy job and resume. -# How to use: +## Installation + +1. Download the latest zip from [here](https://github.com/codeboxrcodehub/cbxcareertoolkit/releases) +2. WordPress has clear documentation about [how to install a plugin.](https://codex.wordpress.org/Managing_Plugins) +3. After install activate the plugin "CBX Career Dev Toolkit Library" through the 'Plugins' menu in WordPress +4. This plugin doesn't load any library by default, it doesn't create extra folder or menu. + +# How to use: + ## cbxjob + ### All possible default params: -```` +``` wp cbxjob-generate --total=100 --status=publish --is-remote=0 --is-featured=1 --is-filled=0 --user-id=1 --salary-unit=monthly --currency=USD -```` - +``` total = number of jobs to be created. @@ -28,12 +37,13 @@ salary-unit =[yearly,monthly,yearly,daily] user-id = user ID - ## cbxresume + ### All possible default params: -```` + +``` wp cbxjresume-generate --total=100 --user-id=1 --status=1 --privacy=public --is-primary=1 -```` +``` total = number of resume to be created. diff --git a/README.txt b/README.txt index 4b2f353..b10427f 100644 --- a/README.txt +++ b/README.txt @@ -1,10 +1,10 @@ -=== CBX Taxonomy Library === +=== CBX Career Toolkit Library === Contributors: codeboxr, manchumahara Requires at least: 3.5 Tested up to: 6.4.3 -Stable tag: 1.0.5 +Stable tag: 1.0.0 License: MIT -License URI: https://github.com/codeboxrcodehub/cbxphpspreadsheet/blob/master/LICENSE.txt +License URI: https://github.com/codeboxrcodehub/cbxcareertoolkit/blob/master/LICENSE.txt Open source PhpSpreadSheet php library released as wordpress plugin to use easily @@ -44,7 +44,7 @@ if ( defined('CBXPHPSPREADSHEET_PLUGIN_NAME') && file_exists( CBXPHPSPREADSHEET_ == Installation == -1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxphpspreadsheet/releases) +1. Download the latest zip from here (https://github.com/codeboxrcodehub/cbxcareertoolkit/releases) 2. [WordPress has clear documentation about how to install a plugin].(https://codex.wordpress.org/Managing_Plugins) 3. After install activate the plugin "CBX PhpSpreadSheet Library" through the 'Plugins' menu in WordPress 4. This plugin doesn't load any library by default, it doesn't create extra folder or menu.