Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use extension system #723

Open
localheinz opened this issue Sep 4, 2023 · 2 comments
Open

Use extension system #723

localheinz opened this issue Sep 4, 2023 · 2 comments
Labels
enhancement New feature or request pinned
Projects
Milestone

Comments

@localheinz
Copy link
Member

As of the moment, an extension can be fetched from the container via an instance method ext(string $id):

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;
}

However, there are a lot of static methods on providers, which you can find by running

git grep 'public static function'

on current main, currently yielding (among others)

src/Faker/Provider/Address.php:31:    public static function citySuffix()
src/Faker/Provider/Address.php:41:    public static function streetSuffix()
src/Faker/Provider/Address.php:51:    public static function buildingNumber()
src/Faker/Provider/Address.php:97:    public static function postcode()
src/Faker/Provider/Address.php:119:    public static function country()
src/Faker/Provider/Address.php:134:    public static function latitude($min = -90, $max = 90)
src/Faker/Provider/Address.php:149:    public static function longitude($min = -180, $max = 180)
src/Faker/Provider/Address.php:159:    public static function localCoordinates()
src/Faker/Provider/Base.php:32:    public static function randomDigit()
src/Faker/Provider/Base.php:42:    public static function randomDigitNotNull()
src/Faker/Provider/Base.php:54:    public static function randomDigitNot($except)
src/Faker/Provider/Base.php:77:    public static function randomNumber($nbDigits = null, $strict = false)
src/Faker/Provider/Base.php:110:    public static function randomFloat($nbMaxDecimals = null, $min = 0, $max = null)
src/Faker/Provider/Base.php:143:    public static function numberBetween($int1 = 0, $int2 = 2147483647)
src/Faker/Provider/Base.php:154:    public static function passthrough($value)
src/Faker/Provider/Base.php:164:    public static function randomLetter()
src/Faker/Provider/Base.php:174:    public static function randomAscii()
src/Faker/Provider/Base.php:193:    public static function randomElements($array = ['a', 'b', 'c'], $count = 1, $allowDuplicates = false)
src/Faker/Provider/Base.php:263:    public static function randomElement($array = ['a', 'b', 'c'])
src/Faker/Provider/Base.php:300:    public static function randomKey($array = [])
src/Faker/Provider/Base.php:325:    public static function shuffle($arg = '')
src/Faker/Provider/Base.php:354:    public static function shuffleArray($array = [])
src/Faker/Provider/Base.php:397:    public static function shuffleString($string = '', $encoding = 'UTF-8')
src/Faker/Provider/Base.php:437:    public static function numerify($string = '###')
src/Faker/Provider/Base.php:478:    public static function lexify($string = '????')
src/Faker/Provider/Base.php:491:    public static function bothify($string = '## ??')
src/Faker/Provider/Base.php:509:    public static function asciify($string = '****')
src/Faker/Provider/Base.php:541:    public static function regexify($regex = '')
src/Faker/Provider/Base.php:613:    public static function toLower($string = '')
src/Faker/Provider/Base.php:626:    public static function toUpper($string = '')
src/Faker/Provider/Color.php:47:    public static function hexColor()
src/Faker/Provider/Color.php:57:    public static function safeHexColor()
src/Faker/Provider/Color.php:69:    public static function rgbColorAsArray()
src/Faker/Provider/Color.php:85:    public static function rgbColor()
src/Faker/Provider/Color.php:95:    public static function rgbCssColor()
src/Faker/Provider/Color.php:105:    public static function rgbaCssColor()
src/Faker/Provider/Color.php:115:    public static function safeColorName()
src/Faker/Provider/Color.php:125:    public static function colorName()
src/Faker/Provider/Color.php:135:    public static function hslColor()
src/Faker/Provider/Color.php:150:    public static function hslColorAsArray()
src/Faker/Provider/Company.php:34:    public static function companySuffix()
src/Faker/Provider/DateTime.php:38:    public static function unixTime($max = 'now')
src/Faker/Provider/DateTime.php:56:    public static function dateTime($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:77:    public static function dateTimeAD($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:96:    public static function iso8601($max = 'now')
src/Faker/Provider/DateTime.php:111:    public static function date($format = 'Y-m-d', $max = 'now')
src/Faker/Provider/DateTime.php:126:    public static function time($format = 'H:i:s', $max = 'now')
src/Faker/Provider/DateTime.php:146:    public static function dateTimeBetween($startDate = '-30 years', $endDate = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:179:    public static function dateTimeInInterval($date = '-30 years', $interval = '+5 days', $timezone = null)
src/Faker/Provider/DateTime.php:204:    public static function dateTimeThisCentury($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:217:    public static function dateTimeThisDecade($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:230:    public static function dateTimeThisYear($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:243:    public static function dateTimeThisMonth($max = 'now', $timezone = null)
src/Faker/Provider/DateTime.php:257:    public static function amPm($max = 'now')
src/Faker/Provider/DateTime.php:269:    public static function dayOfMonth($max = 'now')
src/Faker/Provider/DateTime.php:281:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/DateTime.php:293:    public static function month($max = 'now')
src/Faker/Provider/DateTime.php:305:    public static function monthName($max = 'now')
src/Faker/Provider/DateTime.php:317:    public static function year($max = 'now')
src/Faker/Provider/DateTime.php:327:    public static function century()
src/Faker/Provider/DateTime.php:337:    public static function timezone(string $countryCode = null)
src/Faker/Provider/DateTime.php:365:    public static function setDefaultTimezone($timezone = null)
src/Faker/Provider/DateTime.php:375:    public static function getDefaultTimezone()
src/Faker/Provider/File.php:548:    public static function mimeType()
src/Faker/Provider/File.php:560:    public static function fileExtension()
src/Faker/Provider/File.php:576:    public static function file($sourceDirectory = '/tmp', $targetDirectory = '/tmp', $fullPath = true)
src/Faker/Provider/Image.php:46:    public static function imageUrl(
src/Faker/Provider/Image.php:108:    public static function image(
src/Faker/Provider/Image.php:171:    public static function getFormats(): array
src/Faker/Provider/Image.php:182:    public static function getFormatConstants(): array
src/Faker/Provider/Internet.php:89:    public static function freeEmailDomain()
src/Faker/Provider/Internet.php:99:    final public static function safeEmailDomain()
src/Faker/Provider/Internet.php:250:    public static function localIpv4()
src/Faker/Provider/Internet.php:262:    public static function macAddress()
src/Faker/Provider/Lorem.php:52:    public static function word()
src/Faker/Provider/Lorem.php:67:    public static function words($nb = 3, $asText = false)
src/Faker/Provider/Lorem.php:89:    public static function sentence($nbWords = 6, $variableNbWords = true)
src/Faker/Provider/Lorem.php:115:    public static function sentences($nb = 3, $asText = false)
src/Faker/Provider/Lorem.php:137:    public static function paragraph($nbSentences = 3, $variableNbSentences = true)
src/Faker/Provider/Lorem.php:160:    public static function paragraphs($nb = 3, $asText = false)
src/Faker/Provider/Lorem.php:181:    public static function text($maxNbChars = 200)
src/Faker/Provider/Medical.php:14:    public static function bloodType(): string
src/Faker/Provider/Medical.php:22:    public static function bloodRh(): string
src/Faker/Provider/Miscellaneous.php:240:    public static function boolean($chanceOfGettingTrue = 50)
src/Faker/Provider/Miscellaneous.php:250:    public static function md5()
src/Faker/Provider/Miscellaneous.php:260:    public static function sha1()
src/Faker/Provider/Miscellaneous.php:270:    public static function sha256()
src/Faker/Provider/Miscellaneous.php:280:    public static function locale()
src/Faker/Provider/Miscellaneous.php:292:    public static function countryCode()
src/Faker/Provider/Miscellaneous.php:304:    public static function countryISOAlpha3()
src/Faker/Provider/Miscellaneous.php:314:    public static function languageCode()
src/Faker/Provider/Miscellaneous.php:326:    public static function currencyCode()
src/Faker/Provider/Miscellaneous.php:338:    public static function emoji()
src/Faker/Provider/Payment.php:147:    public static function creditCardType()
src/Faker/Provider/Payment.php:163:    public static function creditCardNumber($type = null, $formatted = false, $separator = '-')
src/Faker/Provider/Payment.php:241:    public static function iban($countryCode = null, $prefix = '', $length = null)
src/Faker/Provider/Payment.php:308:    public static function swiftBicNumber()
src/Faker/Provider/Person.php:85:    public static function firstNameMale()
src/Faker/Provider/Person.php:93:    public static function firstNameFemale()
src/Faker/Provider/Person.php:133:    public static function titleMale()
src/Faker/Provider/Person.php:143:    public static function titleFemale()
src/Faker/Provider/UserAgent.php:35:    public static function macProcessor()
src/Faker/Provider/UserAgent.php:45:    public static function linuxProcessor()
src/Faker/Provider/UserAgent.php:57:    public static function userAgent()
src/Faker/Provider/UserAgent.php:71:    public static function chrome()
src/Faker/Provider/UserAgent.php:91:    public static function msedge()
src/Faker/Provider/UserAgent.php:113:    public static function firefox()
src/Faker/Provider/UserAgent.php:133:    public static function safari()
src/Faker/Provider/UserAgent.php:164:    public static function opera()
src/Faker/Provider/UserAgent.php:181:    public static function internetExplorer()
src/Faker/Provider/UserAgent.php:189:    public static function windowsPlatformToken()
src/Faker/Provider/UserAgent.php:197:    public static function macPlatformToken()
src/Faker/Provider/UserAgent.php:205:    public static function iosMobileToken()
src/Faker/Provider/UserAgent.php:215:    public static function linuxPlatformToken()
src/Faker/Provider/Uuid.php:14:    public static function uuid()
src/Faker/Provider/ar_EG/Address.php:171:    public static function cityPrefix()
src/Faker/Provider/ar_EG/Address.php:179:    public static function cityName()
src/Faker/Provider/ar_EG/Address.php:187:    public static function streetPrefix()
src/Faker/Provider/ar_EG/Address.php:195:    public static function secondaryAddress()
src/Faker/Provider/ar_EG/Address.php:203:    public static function governorate()
src/Faker/Provider/ar_EG/Address.php:213:    public static function governorateId()
src/Faker/Provider/ar_EG/Company.php:69:    public static function companyTaxIdNumber()
src/Faker/Provider/ar_EG/Company.php:79:    public static function companyTradeRegisterNumber()
src/Faker/Provider/ar_EG/Internet.php:66:    public static function lastNameAscii()
src/Faker/Provider/ar_EG/Internet.php:71:    public static function firstNameAscii()
src/Faker/Provider/ar_EG/Person.php:75:    public static function prefix()
src/Faker/Provider/ar_EG/Person.php:87:    public static function nationalIdNumber($gender = null)
src/Faker/Provider/ar_JO/Address.php:108:    public static function cityPrefix()
src/Faker/Provider/ar_JO/Address.php:116:    public static function cityName()
src/Faker/Provider/ar_JO/Address.php:124:    public static function streetPrefix()
src/Faker/Provider/ar_JO/Address.php:132:    public static function secondaryAddress()
src/Faker/Provider/ar_JO/Address.php:140:    public static function state()
src/Faker/Provider/ar_JO/Address.php:148:    public static function stateAbbr()
src/Faker/Provider/ar_JO/Internet.php:28:    public static function lastNameAscii()
src/Faker/Provider/ar_JO/Internet.php:33:    public static function firstNameAscii()
src/Faker/Provider/ar_JO/Person.php:104:    public static function prefix()
src/Faker/Provider/ar_SA/Address.php:102:    public static function cityPrefix()
src/Faker/Provider/ar_SA/Address.php:110:    public static function cityName()
src/Faker/Provider/ar_SA/Address.php:118:    public static function streetPrefix()
src/Faker/Provider/ar_SA/Address.php:126:    public static function secondaryAddress()
src/Faker/Provider/ar_SA/Address.php:134:    public static function subdivision()
src/Faker/Provider/ar_SA/Address.php:142:    public static function governorate()
src/Faker/Provider/ar_SA/Company.php:72:    public static function companyIdNumber()
src/Faker/Provider/ar_SA/Internet.php:28:    public static function lastNameAscii()
src/Faker/Provider/ar_SA/Internet.php:33:    public static function firstNameAscii()
src/Faker/Provider/ar_SA/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'SA', $length = null)
src/Faker/Provider/ar_SA/Person.php:85:    public static function prefix()
src/Faker/Provider/ar_SA/Person.php:93:    public static function idNumber()
src/Faker/Provider/ar_SA/Person.php:105:    public static function nationalIdNumber()
src/Faker/Provider/ar_SA/Person.php:115:    public static function foreignerIdNumber()
src/Faker/Provider/bg_BG/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'BG', $length = null)
src/Faker/Provider/bg_BG/Payment.php:35:    public static function vat($spacedNationalPrefix = true)
src/Faker/Provider/bg_BG/Person.php:108:    public static function lastNameMale()
src/Faker/Provider/bg_BG/Person.php:113:    public static function lastNameFemale()
src/Faker/Provider/bn_BD/Address.php:291:    public static function cityPrefix()
src/Faker/Provider/bn_BD/Address.php:296:    public static function state()
src/Faker/Provider/bn_BD/Address.php:301:    public static function streetNumber()
src/Faker/Provider/bn_BD/Address.php:306:    public static function banglaStreetName()
src/Faker/Provider/bn_BD/Company.php:19:    public static function companyType()
src/Faker/Provider/bn_BD/Company.php:24:    public static function companyName()
src/Faker/Provider/bn_BD/Utils.php:7:    public static function getBanglaNumber($number)
src/Faker/Provider/cs_CZ/Address.php:132:    public static function region()
src/Faker/Provider/cs_CZ/DateTime.php:25:    public static function monthName($max = 'now')
src/Faker/Provider/cs_CZ/DateTime.php:30:    public static function monthNameGenitive($max = 'now')
src/Faker/Provider/cs_CZ/DateTime.php:35:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/cs_CZ/DateTime.php:47:    public static function dayOfMonth($max = 'now')
src/Faker/Provider/cs_CZ/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'CZ', $length = null)
src/Faker/Provider/cs_CZ/Person.php:480:    public static function birthNumberMale()
src/Faker/Provider/cs_CZ/Person.php:485:    public static function birthNumberFemale()
src/Faker/Provider/cs_CZ/Person.php:498:    public static function titleMale()
src/Faker/Provider/cs_CZ/Person.php:506:    public static function titleFemale()
src/Faker/Provider/cs_CZ/Person.php:529:    public static function lastNameMale()
src/Faker/Provider/cs_CZ/Person.php:534:    public static function lastNameFemale()
src/Faker/Provider/da_DK/Address.php:220:    public static function cityName()
src/Faker/Provider/da_DK/Address.php:230:    public static function streetSuffixWord()
src/Faker/Provider/da_DK/Address.php:240:    public static function buildingNumber()
src/Faker/Provider/da_DK/Address.php:250:    public static function buildingLevel()
src/Faker/Provider/da_DK/Address.php:260:    public static function buildingSide()
src/Faker/Provider/da_DK/Address.php:270:    public static function kommune()
src/Faker/Provider/da_DK/Address.php:280:    public static function region()
src/Faker/Provider/da_DK/Company.php:53:    public static function cvr()
src/Faker/Provider/da_DK/Company.php:63:    public static function p()
src/Faker/Provider/da_DK/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'DK', $length = null)
src/Faker/Provider/da_DK/Person.php:176:    public static function middleName()
src/Faker/Provider/da_DK/Person.php:189:    public static function cpr()
src/Faker/Provider/de_AT/Address.php:134:    public static function state()
src/Faker/Provider/de_AT/Address.php:139:    public static function buildingNumber()
src/Faker/Provider/de_AT/Payment.php:20:    public static function vat($spacedNationalPrefix = true)
src/Faker/Provider/de_AT/Payment.php:38:    public static function bankAccountNumber($prefix = '', $countryCode = 'AT', $length = null)
src/Faker/Provider/de_AT/Person.php:118:    public static function suffix()
src/Faker/Provider/de_AT/Person.php:130:    public static function ssn(\DateTime $birthdate = null)
src/Faker/Provider/de_CH/Address.php:164:    public static function canton()
src/Faker/Provider/de_CH/Address.php:174:    public static function cantonShort()
src/Faker/Provider/de_CH/Address.php:186:    public static function cantonName()
src/Faker/Provider/de_CH/Address.php:193:    public static function buildingNumber()
src/Faker/Provider/de_CH/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null)
src/Faker/Provider/de_CH/Person.php:101:    public static function ahv13()
src/Faker/Provider/de_CH/Person.php:115:    public static function avs13()
src/Faker/Provider/de_CH/PhoneNumber.php:43:    public static function mobileNumber()
src/Faker/Provider/de_DE/Address.php:117:    public static function state()
src/Faker/Provider/de_DE/Address.php:122:    public static function buildingNumber()
src/Faker/Provider/de_DE/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'DE', $length = null)
src/Faker/Provider/de_DE/Payment.php:56:    public static function bank()
src/Faker/Provider/de_DE/Person.php:128:    public static function suffix()
src/Faker/Provider/de_DE/PhoneNumber.php:92:    public static function areaCode()
src/Faker/Provider/de_DE/PhoneNumber.php:106:    public static function mobileCode()
src/Faker/Provider/el_CY/Address.php:51:    public static function streetPrefix()
src/Faker/Provider/el_CY/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'CY', $length = null)
src/Faker/Provider/el_CY/Payment.php:46:    public static function bank()
src/Faker/Provider/el_CY/PhoneNumber.php:28:    public static function mobileNumber()
src/Faker/Provider/el_GR/Address.php:49:    public static function streetPrefix()
src/Faker/Provider/el_GR/Address.php:57:    public static function prefecture()
src/Faker/Provider/el_GR/Company.php:70:    public static function doy()
src/Faker/Provider/el_GR/Company.php:80:    public static function object()
src/Faker/Provider/el_GR/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'GR', $length = null)
src/Faker/Provider/el_GR/Person.php:169:    public static function lastNameMale()
src/Faker/Provider/el_GR/Person.php:177:    public static function lastNameFemale()
src/Faker/Provider/el_GR/PhoneNumber.php:138:    public static function internationalCodePrefix()
src/Faker/Provider/el_GR/PhoneNumber.php:158:    public static function areaCode()
src/Faker/Provider/el_GR/PhoneNumber.php:196:    public static function mobileCode()
src/Faker/Provider/el_GR/PhoneNumber.php:221:    public static function mobilePhoneNumber()
src/Faker/Provider/el_GR/PhoneNumber.php:258:    public static function tollFreeNumber()
src/Faker/Provider/el_GR/PhoneNumber.php:274:    public static function sharedCostCode()
src/Faker/Provider/el_GR/PhoneNumber.php:303:    public static function premiumRateCode()
src/Faker/Provider/en_AU/Address.php:78:    public static function buildingLetter()
src/Faker/Provider/en_AU/Address.php:88:    public static function cityPrefix()
src/Faker/Provider/en_AU/Address.php:98:    public static function streetSuffix()
src/Faker/Provider/en_AU/Address.php:108:    public static function state()
src/Faker/Provider/en_AU/PhoneNumber.php:47:    public static function mobileNumber()
src/Faker/Provider/en_AU/PhoneNumber.php:52:    public static function areaCode()
src/Faker/Provider/en_CA/Address.php:37:    public static function province()
src/Faker/Provider/en_CA/Address.php:45:    public static function provinceAbbr()
src/Faker/Provider/en_CA/Address.php:55:    public static function randomPostcodeLetter()
src/Faker/Provider/en_CA/Address.php:63:    public static function postcode()
src/Faker/Provider/en_GB/Address.php:146:    public static function cityPrefix()
src/Faker/Provider/en_GB/Address.php:154:    public static function secondaryAddress()
src/Faker/Provider/en_GB/Address.php:162:    public static function county()
src/Faker/Provider/en_GB/Address.php:170:    public static function postcode()
src/Faker/Provider/en_GB/Company.php:21:    public static function vat(string $type = null): string
src/Faker/Provider/en_GB/Company.php:104:    public static function calculateModulus97(string $input, bool $use9755 = true): string
src/Faker/Provider/en_GB/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'GB', $length = null)
src/Faker/Provider/en_GB/PhoneNumber.php:45:    public static function mobileNumber()
src/Faker/Provider/en_HK/PhoneNumber.php:17:    public static function mobileNumber()
src/Faker/Provider/en_HK/PhoneNumber.php:27:    public static function landlineNumber()
src/Faker/Provider/en_HK/PhoneNumber.php:37:    public static function faxNumber()
src/Faker/Provider/en_IN/Address.php:176:    public static function state()
src/Faker/Provider/en_IN/Address.php:184:    public static function stateAbbr()
src/Faker/Provider/en_IN/PhoneNumber.php:33:    public static function mobileNumber()
src/Faker/Provider/en_NG/Address.php:82:    public static function county()
src/Faker/Provider/en_NG/Address.php:94:    public static function region()
src/Faker/Provider/en_NZ/Address.php:74:    public static function postcode()
src/Faker/Provider/en_NZ/Address.php:84:    public static function region()
src/Faker/Provider/en_NZ/PhoneNumber.php:68:    public static function mobileNumber()
src/Faker/Provider/en_NZ/PhoneNumber.php:78:    public static function tollFreeNumber()
src/Faker/Provider/en_NZ/PhoneNumber.php:88:    public static function areaCode()
src/Faker/Provider/en_NZ/PhoneNumber.php:98:    public static function beginningNumber()
src/Faker/Provider/en_PH/PhoneNumber.php:55:    public static function mobileNumber()
src/Faker/Provider/en_SG/Person.php:16:    public static function nric(?\DateTime $birthDate = null): string
src/Faker/Provider/en_SG/Person.php:28:    public static function fin(?\DateTime $issueDate = null): string
src/Faker/Provider/en_SG/Person.php:41:    public static function singaporeId(?\DateTime $issueDate = null, bool $foreigner = false): string
src/Faker/Provider/en_UG/Address.php:81:    public static function cityName()
src/Faker/Provider/en_UG/Address.php:89:    public static function district()
src/Faker/Provider/en_UG/Address.php:97:    public static function region()
src/Faker/Provider/en_UG/Person.php:124:    public static function lastNameMale()
src/Faker/Provider/en_UG/Person.php:129:    public static function lastNameFemale()
src/Faker/Provider/en_US/Address.php:69:    public static function cityPrefix()
src/Faker/Provider/en_US/Address.php:77:    public static function secondaryAddress()
src/Faker/Provider/en_US/Address.php:85:    public static function state()
src/Faker/Provider/en_US/Address.php:93:    public static function stateAbbr()
src/Faker/Provider/en_US/Company.php:112:    public static function ein()
src/Faker/Provider/en_US/Payment.php:28:    public static function calculateRoutingNumberChecksum($routing)
src/Faker/Provider/en_US/Person.php:117:    public static function suffix()
src/Faker/Provider/en_US/Person.php:125:    public static function ssn()
src/Faker/Provider/en_US/PhoneNumber.php:108:    public static function areaCode()
src/Faker/Provider/en_US/PhoneNumber.php:122:    public static function exchangeCode()
src/Faker/Provider/en_ZA/Address.php:42:    public static function cityPrefix()
src/Faker/Provider/en_ZA/Address.php:50:    public static function secondaryAddress()
src/Faker/Provider/en_ZA/Address.php:58:    public static function province()
src/Faker/Provider/en_ZA/Address.php:66:    public static function provinceAbbr()
src/Faker/Provider/en_ZA/PhoneNumber.php:36:    public static function areaCode()
src/Faker/Provider/en_ZA/PhoneNumber.php:73:    public static function cellphoneCode()
src/Faker/Provider/en_ZA/PhoneNumber.php:98:    public static function specialCode()
src/Faker/Provider/es_AR/Address.php:40:    public static function cityPrefix()
src/Faker/Provider/es_AR/Address.php:48:    public static function secondaryAddress()
src/Faker/Provider/es_AR/Address.php:56:    public static function state()
src/Faker/Provider/es_AR/Address.php:64:    public static function stateAbbr()
src/Faker/Provider/es_AR/Person.php:86:    public static function suffix()
src/Faker/Provider/es_ES/Address.php:65:    public static function streetPrefix()
src/Faker/Provider/es_ES/Address.php:73:    public static function cityPrefix()
src/Faker/Provider/es_ES/Address.php:81:    public static function secondaryAddress()
src/Faker/Provider/es_ES/Address.php:89:    public static function state()
src/Faker/Provider/es_ES/Address.php:97:    public static function community()
src/Faker/Provider/es_ES/Company.php:50:    public static function companyPrefix()
src/Faker/Provider/es_ES/Payment.php:20:    public static function bankAccountNumber($prefix = '', $countryCode = 'ES', $length = null)
src/Faker/Provider/es_ES/Payment.php:35:    public static function vat()
src/Faker/Provider/es_ES/Person.php:120:    public static function suffix()
src/Faker/Provider/es_ES/Person.php:132:    public static function dni()
src/Faker/Provider/es_ES/PhoneNumber.php:38:    public static function mobileNumber()
src/Faker/Provider/es_ES/PhoneNumber.php:43:    public static function tollFreeNumber()
src/Faker/Provider/es_PE/Address.php:37:    public static function cityPrefix()
src/Faker/Provider/es_PE/Address.php:45:    public static function streetPrefix()
src/Faker/Provider/es_PE/Address.php:53:    public static function secondaryAddress()
src/Faker/Provider/es_PE/Address.php:61:    public static function state()
src/Faker/Provider/es_PE/Company.php:82:    public static function ruc(bool $isNaturalPerson = false): string
src/Faker/Provider/es_PE/Person.php:86:    public static function suffix()
src/Faker/Provider/es_PE/Person.php:101:    public static function dni()
src/Faker/Provider/es_VE/Address.php:44:    public static function streetPrefix()
src/Faker/Provider/es_VE/Address.php:52:    public static function cityPrefix()
src/Faker/Provider/es_VE/Address.php:60:    public static function secondaryAddress()
src/Faker/Provider/es_VE/Address.php:68:    public static function state()
src/Faker/Provider/es_VE/Company.php:26:    public static function companyPrefix()
src/Faker/Provider/es_VE/Person.php:151:    public static function suffix()
src/Faker/Provider/fa_IR/Address.php:46:    public static function cityPrefix()
src/Faker/Provider/fa_IR/Address.php:54:    public static function cityName()
src/Faker/Provider/fa_IR/Address.php:62:    public static function streetPrefix()
src/Faker/Provider/fa_IR/Address.php:70:    public static function buildingNamePrefix()
src/Faker/Provider/fa_IR/Address.php:78:    public static function buildingNumberPrefix()
src/Faker/Provider/fa_IR/Address.php:96:    public static function postcodePrefix()
src/Faker/Provider/fa_IR/Company.php:36:    public static function companyPrefix()
src/Faker/Provider/fa_IR/Company.php:46:    public static function companyField()
src/Faker/Provider/fa_IR/Internet.php:75:    public static function lastNameAscii()
src/Faker/Provider/fa_IR/Internet.php:80:    public static function firstNameAscii()
src/Faker/Provider/fa_IR/Person.php:147:    public static function nationalCode()
src/Faker/Provider/fa_IR/PhoneNumber.php:72:    public static function mobileNumber()
src/Faker/Provider/fi_FI/Address.php:65:    public static function cityPrefix()
src/Faker/Provider/fi_FI/Address.php:73:    public static function secondaryAddress()
src/Faker/Provider/fi_FI/Address.php:81:    public static function state()
src/Faker/Provider/fi_FI/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'FI', $length = null)
src/Faker/Provider/fr_BE/Address.php:60:    public static function province()
src/Faker/Provider/fr_BE/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'BE', $length = null)
src/Faker/Provider/fr_BE/Payment.php:36:    public static function vat($spacedNationalPrefix = true)
src/Faker/Provider/fr_CA/Address.php:89:    public static function cityPrefix()
src/Faker/Provider/fr_CA/Address.php:97:    public static function citySuffix()
src/Faker/Provider/fr_CA/Address.php:105:    public static function secondaryAddress()
src/Faker/Provider/fr_CA/Address.php:113:    public static function state()
src/Faker/Provider/fr_CA/Address.php:121:    public static function stateAbbr()
src/Faker/Provider/fr_CH/Address.php:98:    public static function streetPrefix()
src/Faker/Provider/fr_CH/Address.php:122:    public static function canton()
src/Faker/Provider/fr_CH/Address.php:132:    public static function cantonShort()
src/Faker/Provider/fr_CH/Address.php:144:    public static function cantonName()
src/Faker/Provider/fr_CH/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null)
src/Faker/Provider/fr_CH/Person.php:101:    public static function avs13()
src/Faker/Provider/fr_CH/PhoneNumber.php:39:    public static function mobileNumber()
src/Faker/Provider/fr_FR/Address.php:87:    public static function secondaryAddress()
src/Faker/Provider/fr_FR/Address.php:95:    public static function streetPrefix()
src/Faker/Provider/fr_FR/Address.php:107:    public static function region()
src/Faker/Provider/fr_FR/Address.php:119:    public static function department()
src/Faker/Provider/fr_FR/Address.php:131:    public static function departmentName()
src/Faker/Provider/fr_FR/Address.php:145:    public static function departmentNumber()
src/Faker/Provider/fr_FR/Company.php:135:    public static function siren($formatted = true)
src/Faker/Provider/fr_FR/Payment.php:45:    public static function bankAccountNumber($prefix = '', $countryCode = 'FR', $length = null)
src/Faker/Provider/fr_FR/Person.php:66:    public static function prefix()
src/Faker/Provider/he_IL/Address.php:118:    public static function secondaryAddress()
src/Faker/Provider/he_IL/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'IL', $length = null)
src/Faker/Provider/hr_HR/Address.php:59:    public static function street()
src/Faker/Provider/hr_HR/Company.php:21:    public static function companyPrefix()
src/Faker/Provider/hr_HR/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'HR', $length = null)
src/Faker/Provider/hu_HU/Address.php:31:    public static function secondaryAddress()
src/Faker/Provider/hu_HU/Address.php:39:    public static function state()
src/Faker/Provider/hu_HU/Address.php:47:    public static function capital()
src/Faker/Provider/hu_HU/Address.php:55:    public static function bigCity()
src/Faker/Provider/hu_HU/Address.php:63:    public static function smallerCity()
src/Faker/Provider/hu_HU/Address.php:77:    public static function localCoordinates()
src/Faker/Provider/hu_HU/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'HU', $length = null)
src/Faker/Provider/hu_HU/Person.php:82:    public static function firstNameMaleNe()
src/Faker/Provider/hu_HU/Person.php:92:    public static function suffix()
src/Faker/Provider/hu_HU/Person.php:97:    public static function lastNameFemaleMarried()
src/Faker/Provider/hy_AM/Address.php:81:    public static function buildingNumber()
src/Faker/Provider/hy_AM/Address.php:93:    public static function country()
src/Faker/Provider/hy_AM/Address.php:98:    public static function postcode()
src/Faker/Provider/hy_AM/Address.php:103:    public static function regionSuffix()
src/Faker/Provider/hy_AM/Address.php:108:    public static function region()
src/Faker/Provider/hy_AM/Address.php:113:    public static function cityPrefix()
src/Faker/Provider/hy_AM/Address.php:128:    public static function street()
src/Faker/Provider/hy_AM/Person.php:106:    public static function suffix()
src/Faker/Provider/id_ID/Address.php:280:    public static function state()
src/Faker/Provider/id_ID/Address.php:288:    public static function stateAbbr()
src/Faker/Provider/id_ID/Address.php:293:    public static function streetPrefix()
src/Faker/Provider/id_ID/Address.php:298:    public static function cityName()
src/Faker/Provider/id_ID/Address.php:310:    public static function street()
src/Faker/Provider/id_ID/Address.php:315:    public static function buildingNumber()
src/Faker/Provider/id_ID/Company.php:50:    public static function companyPrefix()
src/Faker/Provider/id_ID/Company.php:60:    public static function companySuffix()
src/Faker/Provider/id_ID/Person.php:269:    public static function lastNameMale()
src/Faker/Provider/id_ID/Person.php:279:    public static function lastNameFemale()
src/Faker/Provider/id_ID/Person.php:289:    public static function suffix()
src/Faker/Provider/is_IS/Address.php:141:    public static function cityName()
src/Faker/Provider/is_IS/Address.php:151:    public static function streetPrefix()
src/Faker/Provider/is_IS/Address.php:161:    public static function buildingNumber()
src/Faker/Provider/is_IS/Address.php:171:    public static function region()
src/Faker/Provider/is_IS/Company.php:46:    public static function vsk()
src/Faker/Provider/is_IS/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'IS', $length = null)
src/Faker/Provider/is_IS/Person.php:51:    public static function middleName()
src/Faker/Provider/is_IS/Person.php:103:    public static function ssn()
src/Faker/Provider/it_CH/Address.php:97:    public static function streetPrefix()
src/Faker/Provider/it_CH/Address.php:121:    public static function canton()
src/Faker/Provider/it_CH/Address.php:131:    public static function cantonShort()
src/Faker/Provider/it_CH/Address.php:143:    public static function cantonName()
src/Faker/Provider/it_CH/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'CH', $length = null)
src/Faker/Provider/it_CH/Person.php:98:    public static function avs13()
src/Faker/Provider/it_CH/PhoneNumber.php:39:    public static function mobileNumber()
src/Faker/Provider/it_IT/Address.php:69:    public static function cityPrefix()
src/Faker/Provider/it_IT/Address.php:77:    public static function secondaryAddress()
src/Faker/Provider/it_IT/Address.php:85:    public static function state()
src/Faker/Provider/it_IT/Address.php:93:    public static function stateAbbr()
src/Faker/Provider/it_IT/Company.php:76:    public static function vat()
src/Faker/Provider/it_IT/Company.php:91:    public static function vatId()
src/Faker/Provider/it_IT/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'IT', $length = null)
src/Faker/Provider/it_IT/Person.php:84:    public static function suffix()
src/Faker/Provider/it_IT/Person.php:96:    public static function taxId()
src/Faker/Provider/ja_JP/Address.php:73:    public static function postcode1()
src/Faker/Provider/ja_JP/Address.php:81:    public static function postcode2()
src/Faker/Provider/ja_JP/Address.php:89:    public static function postcode()
src/Faker/Provider/ja_JP/Address.php:100:    public static function prefecture()
src/Faker/Provider/ja_JP/Address.php:108:    public static function ward()
src/Faker/Provider/ja_JP/Address.php:121:    public static function areaNumber()
src/Faker/Provider/ja_JP/Address.php:126:    public static function buildingNumber()
src/Faker/Provider/ja_JP/Company.php:13:    public static function companyPrefix()
src/Faker/Provider/ja_JP/Internet.php:66:    public static function lastNameAscii()
src/Faker/Provider/ja_JP/Internet.php:71:    public static function firstNameAscii()
src/Faker/Provider/ja_JP/Person.php:127:    public static function firstKanaNameMale()
src/Faker/Provider/ja_JP/Person.php:135:    public static function firstKanaNameFemale()
src/Faker/Provider/ja_JP/Person.php:143:    public static function lastKanaName()
src/Faker/Provider/ka_GE/Address.php:105:    public static function regionSuffix()
src/Faker/Provider/ka_GE/Address.php:110:    public static function region()
src/Faker/Provider/ka_GE/Address.php:115:    public static function regionGenitiveForm()
src/Faker/Provider/ka_GE/Address.php:120:    public static function cityName()
src/Faker/Provider/ka_GE/Address.php:125:    public static function cityPrefix()
src/Faker/Provider/ka_GE/Address.php:130:    public static function streetSuffix()
src/Faker/Provider/ka_GE/Address.php:135:    public static function street()
src/Faker/Provider/ka_GE/Company.php:39:    public static function companyPrefix()
src/Faker/Provider/ka_GE/Company.php:44:    public static function companyNameElement()
src/Faker/Provider/ka_GE/Company.php:49:    public static function companyNameSuffix()
src/Faker/Provider/ka_GE/DateTime.php:7:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/ka_GE/DateTime.php:23:    public static function monthName($max = 'now')
src/Faker/Provider/ka_GE/Payment.php:35:    public static function bank()
src/Faker/Provider/ka_GE/Payment.php:51:    public static function bankAccountNumber($prefix = '', $countryCode = 'GE', $length = null)
src/Faker/Provider/kk_KZ/Address.php:81:    public static function buildingNumber()
src/Faker/Provider/kk_KZ/Address.php:86:    public static function regionSuffix()
src/Faker/Provider/kk_KZ/Address.php:91:    public static function region()
src/Faker/Provider/kk_KZ/Address.php:101:    public static function street()
src/Faker/Provider/kk_KZ/Company.php:37:    public static function companyPrefix()
src/Faker/Provider/kk_KZ/Company.php:42:    public static function companyNameElement()
src/Faker/Provider/kk_KZ/Company.php:47:    public static function companyNameSuffix()
src/Faker/Provider/kk_KZ/Company.php:59:    public static function businessIdentificationNumber(\DateTime $registrationDate = null)
src/Faker/Provider/kk_KZ/Payment.php:15:    public static function bank()
src/Faker/Provider/kk_KZ/Payment.php:31:    public static function bankAccountNumber($prefix = '', $countryCode = 'KZ', $length = null)
src/Faker/Provider/kk_KZ/Person.php:214:    public static function individualIdentificationNumber(\DateTime $birthDate = null, $gender = self::GENDER_MALE)
src/Faker/Provider/kk_KZ/Person.php:238:    public static function checkSum($iinValue)
src/Faker/Provider/ko_KR/Address.php:68:    public static function province()
src/Faker/Provider/ko_KR/Company.php:22:    public static function companyPrefix()
src/Faker/Provider/ko_KR/Company.php:27:    public static function companySuffix()
src/Faker/Provider/ko_KR/Internet.php:59:    public static function lastNameAscii()
src/Faker/Provider/ko_KR/Internet.php:64:    public static function firstNameAscii()
src/Faker/Provider/lt_LT/Address.php:146:    public static function buildingNumber()
src/Faker/Provider/lt_LT/Address.php:158:    public static function country()
src/Faker/Provider/lt_LT/Address.php:163:    public static function postcode()
src/Faker/Provider/lt_LT/Address.php:168:    public static function regionSuffix()
src/Faker/Provider/lt_LT/Address.php:173:    public static function region()
src/Faker/Provider/lt_LT/Address.php:178:    public static function citySuffix()
src/Faker/Provider/lt_LT/Address.php:188:    public static function streetSuffix()
src/Faker/Provider/lt_LT/Address.php:193:    public static function street()
src/Faker/Provider/lt_LT/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'LT', $length = null)
src/Faker/Provider/lv_LV/Address.php:66:    public static function buildingNumber()
src/Faker/Provider/lv_LV/Address.php:78:    public static function country()
src/Faker/Provider/lv_LV/Address.php:83:    public static function postcode()
src/Faker/Provider/lv_LV/Address.php:88:    public static function regionSuffix()
src/Faker/Provider/lv_LV/Address.php:93:    public static function region()
src/Faker/Provider/lv_LV/Address.php:98:    public static function cityPrefix()
src/Faker/Provider/lv_LV/Address.php:108:    public static function streetPrefix()
src/Faker/Provider/lv_LV/Address.php:113:    public static function street()
src/Faker/Provider/lv_LV/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'LV', $length = null)
src/Faker/Provider/me_ME/Address.php:97:    public static function streetPrefix()
src/Faker/Provider/me_ME/Address.php:102:    public static function street()
src/Faker/Provider/me_ME/Address.php:112:    public static function localCoordinates()
src/Faker/Provider/me_ME/Company.php:40:    public static function companyType()
src/Faker/Provider/me_ME/Company.php:45:    public static function companyName()
src/Faker/Provider/me_ME/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'ME', $length = 18)
src/Faker/Provider/ms_MY/Address.php:503:    public static function buildingPrefix()
src/Faker/Provider/ms_MY/Address.php:515:    public static function buildingNumber()
src/Faker/Provider/ms_MY/Address.php:605:    public static function postcode($state = null)
src/Faker/Provider/ms_MY/Company.php:91:    public static function companyName()
src/Faker/Provider/ms_MY/Company.php:101:    public static function industry()
src/Faker/Provider/ms_MY/Miscellaneous.php:105:    public static function peninsularPrefix()
src/Faker/Provider/ms_MY/Miscellaneous.php:117:    public static function sarawakPrefix()
src/Faker/Provider/ms_MY/Miscellaneous.php:129:    public static function sabahPrefix()
src/Faker/Provider/ms_MY/Miscellaneous.php:141:    public static function specialPrefix()
src/Faker/Provider/ms_MY/Miscellaneous.php:153:    public static function validAlphabet()
src/Faker/Provider/ms_MY/Miscellaneous.php:165:    public static function numberSequence()
src/Faker/Provider/ms_MY/Payment.php:180:    public static function localBank()
src/Faker/Provider/ms_MY/Payment.php:192:    public static function foreignBank()
src/Faker/Provider/ms_MY/Payment.php:204:    public static function governmentBank()
src/Faker/Provider/ms_MY/Payment.php:216:    public static function insurance()
src/Faker/Provider/ms_MY/Payment.php:228:    public static function swiftCode()
src/Faker/Provider/ms_MY/Payment.php:240:    public static function currencySymbol()
src/Faker/Provider/ms_MY/Person.php:548:    public static function firstNameMaleMalay()
src/Faker/Provider/ms_MY/Person.php:560:    public static function firstNameFemaleMalay()
src/Faker/Provider/ms_MY/Person.php:584:    public static function muhammadName()
src/Faker/Provider/ms_MY/Person.php:596:    public static function nurName()
src/Faker/Provider/ms_MY/Person.php:608:    public static function haji()
src/Faker/Provider/ms_MY/Person.php:620:    public static function hajjah()
src/Faker/Provider/ms_MY/Person.php:632:    public static function titleMaleMalay()
src/Faker/Provider/ms_MY/Person.php:644:    public static function lastNameChinese()
src/Faker/Provider/ms_MY/Person.php:656:    public static function firstNameMaleChinese()
src/Faker/Provider/ms_MY/Person.php:668:    public static function firstNameFemaleChinese()
src/Faker/Provider/ms_MY/Person.php:680:    public static function firstNameMaleChristian()
src/Faker/Provider/ms_MY/Person.php:692:    public static function firstNameFemaleChristian()
src/Faker/Provider/ms_MY/Person.php:704:    public static function initialIndian()
src/Faker/Provider/ms_MY/Person.php:716:    public static function firstNameMaleIndian()
src/Faker/Provider/ms_MY/Person.php:728:    public static function firstNameFemaleIndian()
src/Faker/Provider/ms_MY/Person.php:740:    public static function lastNameIndian()
src/Faker/Provider/ms_MY/Person.php:775:    public static function myKadNumber($gender = null, $hyphen = false)
src/Faker/Provider/ms_MY/PhoneNumber.php:121:    public static function zeroOneOnePrefix()
src/Faker/Provider/ms_MY/PhoneNumber.php:133:    public static function zeroOneFourPrefix()
src/Faker/Provider/ms_MY/PhoneNumber.php:145:    public static function zeroOneFivePrefix()
src/Faker/Provider/ms_MY/PhoneNumber.php:209:    public static function countryCodePrefix($formatting = true)
src/Faker/Provider/nb_NO/Address.php:173:    public static function cityName()
src/Faker/Provider/nb_NO/Address.php:178:    public static function streetSuffixWord()
src/Faker/Provider/nb_NO/Address.php:183:    public static function streetPrefix()
src/Faker/Provider/nb_NO/Address.php:193:    public static function buildingNumber()
src/Faker/Provider/nb_NO/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'NO', $length = null)
src/Faker/Provider/ne_NP/Address.php:111:    public static function cityName()
src/Faker/Provider/ne_NP/Address.php:119:    public static function wardNumber()
src/Faker/Provider/ne_NP/Address.php:127:    public static function district()
src/Faker/Provider/ne_NP/Person.php:109:    public static function middleNameMale()
src/Faker/Provider/ne_NP/Person.php:117:    public static function middleNameFemale()
src/Faker/Provider/nl_BE/Address.php:104:    public static function postcode()
src/Faker/Provider/nl_BE/Address.php:112:    public static function state()
src/Faker/Provider/nl_BE/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'BE', $length = null)
src/Faker/Provider/nl_BE/Payment.php:36:    public static function vat($spacedNationalPrefix = true)
src/Faker/Provider/nl_BE/Person.php:88:    public static function rrn($gender = null)
src/Faker/Provider/nl_NL/Address.php:128:    public static function buildingNumber()
src/Faker/Provider/nl_NL/Address.php:136:    public static function state()
src/Faker/Provider/nl_NL/Address.php:149:    public static function postcode()
src/Faker/Provider/nl_NL/Company.php:108:    public static function vat()
src/Faker/Provider/nl_NL/Company.php:118:    public static function btw()
src/Faker/Provider/nl_NL/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'NL', $length = null)
src/Faker/Provider/nl_NL/Person.php:290:    public static function titleMale()
src/Faker/Provider/nl_NL/Person.php:298:    public static function titleFemale()
src/Faker/Provider/nl_NL/Person.php:306:    public static function suffix()
src/Faker/Provider/nl_NL/Person.php:314:    public static function prefix()
src/Faker/Provider/pl_PL/Company.php:25:    public static function companyPrefix()
src/Faker/Provider/pl_PL/Company.php:37:    public static function regon()
src/Faker/Provider/pl_PL/Company.php:68:    public static function regonLocal()
src/Faker/Provider/pl_PL/LicensePlate.php:511:    public static function licensePlate(
src/Faker/Provider/pl_PL/Payment.php:84:    public static function bank()
src/Faker/Provider/pl_PL/Payment.php:100:    public static function bankAccountNumber($prefix = '', $countryCode = 'PL', $length = null)
src/Faker/Provider/pl_PL/Person.php:108:    public static function lastNameMale()
src/Faker/Provider/pl_PL/Person.php:113:    public static function lastNameFemale()
src/Faker/Provider/pl_PL/Person.php:126:    public static function titleMale()
src/Faker/Provider/pl_PL/Person.php:134:    public static function titleFemale()
src/Faker/Provider/pl_PL/Person.php:149:    public static function pesel($birthdate = null, $sex = null)
src/Faker/Provider/pl_PL/Person.php:193:    public static function personalIdentityNumber()
src/Faker/Provider/pl_PL/Person.php:221:    public static function taxpayerIdentificationNumber()
src/Faker/Provider/pt_BR/Address.php:102:    public static function streetPrefix()
src/Faker/Provider/pt_BR/Address.php:110:    public static function cityPrefix()
src/Faker/Provider/pt_BR/Address.php:118:    public static function secondaryAddress()
src/Faker/Provider/pt_BR/Address.php:126:    public static function state()
src/Faker/Provider/pt_BR/Address.php:134:    public static function stateAbbr()
src/Faker/Provider/pt_BR/Address.php:142:    public static function region()
src/Faker/Provider/pt_BR/Address.php:150:    public static function regionAbbr()
src/Faker/Provider/pt_BR/Payment.php:71:    public static function bankAccountNumber($prefix = '', $countryCode = 'BR', $length = null)
src/Faker/Provider/pt_BR/Payment.php:144:    public static function bank()
src/Faker/Provider/pt_BR/Person.php:120:    public static function suffix()
src/Faker/Provider/pt_BR/PhoneNumber.php:23:    public static function areaCode()
src/Faker/Provider/pt_BR/PhoneNumber.php:44:    public static function cellphone($formatted = true)
src/Faker/Provider/pt_BR/PhoneNumber.php:62:    public static function landline($formatted = true)
src/Faker/Provider/pt_BR/PhoneNumber.php:78:    public static function phone($formatted = true)
src/Faker/Provider/pt_BR/PhoneNumber.php:114:    public static function cellphoneNumber($formatted = true)
src/Faker/Provider/pt_BR/PhoneNumber.php:126:    public static function landlineNumber($formatted = true)
src/Faker/Provider/pt_BR/PhoneNumber.php:144:    public static function phoneNumberCleared()
src/Faker/Provider/pt_PT/Address.php:64:    public static function secondaryAddress()
src/Faker/Provider/pt_PT/Address.php:118:    public static function streetPrefix()
src/Faker/Provider/pt_PT/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'PT', $length = null)
src/Faker/Provider/pt_PT/Person.php:60:    public static function taxpayerIdentificationNumber()
src/Faker/Provider/pt_PT/Person.php:77:    public static function dvCalcMod11($number)
src/Faker/Provider/pt_PT/PhoneNumber.php:46:    public static function mobileNumber()
src/Faker/Provider/ro_MD/Address.php:93:    public static function block()
src/Faker/Provider/ro_MD/Address.php:103:    public static function floor()
src/Faker/Provider/ro_MD/Address.php:108:    public static function apartmentNumber()
src/Faker/Provider/ro_MD/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'MD', $length = null)
src/Faker/Provider/ro_RO/Address.php:113:    public static function block()
src/Faker/Provider/ro_RO/Address.php:123:    public static function floor()
src/Faker/Provider/ro_RO/Address.php:128:    public static function apartmentNumber()
src/Faker/Provider/ro_RO/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'RO', $length = null)
src/Faker/Provider/ro_RO/PhoneNumber.php:53:    public static function tollFreePhoneNumber()
src/Faker/Provider/ro_RO/PhoneNumber.php:58:    public static function premiumRatePhoneNumber()
src/Faker/Provider/ru_RU/Address.php:88:    public static function buildingNumber()
src/Faker/Provider/ru_RU/Address.php:100:    public static function country()
src/Faker/Provider/ru_RU/Address.php:105:    public static function postcode()
src/Faker/Provider/ru_RU/Address.php:110:    public static function regionSuffix()
src/Faker/Provider/ru_RU/Address.php:115:    public static function region()
src/Faker/Provider/ru_RU/Address.php:120:    public static function cityPrefix()
src/Faker/Provider/ru_RU/Address.php:130:    public static function streetPrefix()
src/Faker/Provider/ru_RU/Address.php:135:    public static function street()
src/Faker/Provider/ru_RU/Company.php:86:    public static function companyPrefix()
src/Faker/Provider/ru_RU/Company.php:91:    public static function companyNameElement()
src/Faker/Provider/ru_RU/Company.php:96:    public static function companyNameSuffix()
src/Faker/Provider/ru_RU/Company.php:111:    public static function inn($area_code = '')
src/Faker/Provider/ru_RU/Company.php:123:    public static function inn10($area_code = '')
src/Faker/Provider/ru_RU/Company.php:137:    public static function kpp($inn = '')
src/Faker/Provider/ru_RU/Company.php:155:    public static function inn10Checksum($inn)
src/Faker/Provider/ru_RU/Company.php:174:    public static function inn10IsValid($inn)
src/Faker/Provider/ru_RU/Payment.php:808:    public static function bank()
src/Faker/Provider/sk_SK/Address.php:339:    public static function cityName()
src/Faker/Provider/sk_SK/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'SK', $length = null)
src/Faker/Provider/sk_SK/Person.php:123:    public static function titleMale()
src/Faker/Provider/sk_SK/Person.php:131:    public static function titleFemale()
src/Faker/Provider/sk_SK/Person.php:154:    public static function lastNameMale()
src/Faker/Provider/sk_SK/Person.php:159:    public static function lastNameFemale()
src/Faker/Provider/sk_SK/Person.php:167:    public static function suffix()
src/Faker/Provider/sl_SI/Address.php:97:    public static function cityName()
src/Faker/Provider/sl_SI/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'SI', $length = null)
src/Faker/Provider/sl_SI/Person.php:140:    public static function lastNameMale()
src/Faker/Provider/sl_SI/Person.php:145:    public static function lastNameFemale()
src/Faker/Provider/sr_Cyrl_RS/Address.php:44:    public static function streetPrefix()
src/Faker/Provider/sr_Cyrl_RS/Address.php:49:    public static function street()
src/Faker/Provider/sr_Cyrl_RS/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null)
src/Faker/Provider/sr_Latn_RS/Address.php:44:    public static function streetPrefix()
src/Faker/Provider/sr_Latn_RS/Address.php:49:    public static function street()
src/Faker/Provider/sr_Latn_RS/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null)
src/Faker/Provider/sr_RS/Address.php:44:    public static function streetPrefix()
src/Faker/Provider/sr_RS/Address.php:49:    public static function street()
src/Faker/Provider/sr_RS/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'RS', $length = null)
src/Faker/Provider/sv_SE/Address.php:127:    public static function cityName()
src/Faker/Provider/sv_SE/Address.php:132:    public static function streetSuffixWord()
src/Faker/Provider/sv_SE/Address.php:137:    public static function streetPrefix()
src/Faker/Provider/sv_SE/Address.php:147:    public static function buildingNumber()
src/Faker/Provider/sv_SE/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'SE', $length = null)
src/Faker/Provider/th_TH/Address.php:121:    public static function cityPrefix()
src/Faker/Provider/th_TH/Address.php:129:    public static function streetPrefix()
src/Faker/Provider/th_TH/Address.php:137:    public static function province()
src/Faker/Provider/th_TH/Payment.php:40:    public static function bank()
src/Faker/Provider/th_TH/Person.php:71:    public static function suffix()
src/Faker/Provider/th_TH/Person.php:79:    public static function ssn()
src/Faker/Provider/th_TH/PhoneNumber.php:35:    public static function mobileNumber()
src/Faker/Provider/tr_TR/Company.php:96:    public static function companyField()
src/Faker/Provider/tr_TR/DateTime.php:7:    public static function amPm($max = 'now')
src/Faker/Provider/tr_TR/DateTime.php:12:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/tr_TR/DateTime.php:28:    public static function monthName($max = 'now')
src/Faker/Provider/tr_TR/Payment.php:18:    public static function bankAccountNumber($prefix = '', $countryCode = 'TR', $length = null)
src/Faker/Provider/tr_TR/Person.php:85:    public static function titleMale()
src/Faker/Provider/tr_TR/Person.php:93:    public static function titleFemale()
src/Faker/Provider/tr_TR/Person.php:123:    public static function tcNoChecksum($identityPrefix)
src/Faker/Provider/tr_TR/Person.php:155:    public static function tcNoIsValid($tcNo)
src/Faker/Provider/uk_UA/Address.php:300:    public static function citySuffix()
src/Faker/Provider/uk_UA/Address.php:306:    public static function streetSuffix()
src/Faker/Provider/uk_UA/Address.php:317:    public static function postcode()
src/Faker/Provider/uk_UA/Address.php:322:    public static function regionSuffix()
src/Faker/Provider/uk_UA/Address.php:327:    public static function region()
src/Faker/Provider/uk_UA/Address.php:332:    public static function cityPrefix()
src/Faker/Provider/uk_UA/Address.php:360:    public static function streetPrefix()
src/Faker/Provider/uk_UA/Company.php:65:    public static function companyPrefix()
src/Faker/Provider/uk_UA/Company.php:70:    public static function companyName()
src/Faker/Provider/uk_UA/Payment.php:37:    public static function bank()
src/Faker/Provider/vi_VN/Address.php:166:    public static function province()
src/Faker/Provider/vi_VN/Person.php:177:    public static function middleNameMale()
src/Faker/Provider/vi_VN/Person.php:182:    public static function middleNameFemale()
src/Faker/Provider/zh_CN/Address.php:126:    public static function area()
src/Faker/Provider/zh_CN/Address.php:131:    public static function country()
src/Faker/Provider/zh_CN/Address.php:141:    public static function postcode()
src/Faker/Provider/zh_CN/Company.php:221:    public static function companyPrefix()
src/Faker/Provider/zh_CN/Company.php:226:    public static function companySuffix()
src/Faker/Provider/zh_CN/DateTime.php:7:    public static function amPm($max = 'now')
src/Faker/Provider/zh_CN/DateTime.php:12:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/zh_CN/DateTime.php:28:    public static function monthName($max = 'now')
src/Faker/Provider/zh_CN/Payment.php:39:    public static function bank()
src/Faker/Provider/zh_TW/Address.php:360:    public static function randomChineseNumber()
src/Faker/Provider/zh_TW/Address.php:369:    public static function randomNumber2()
src/Faker/Provider/zh_TW/Address.php:374:    public static function randomNumber3()
src/Faker/Provider/zh_TW/Address.php:379:    public static function localLatitude()
src/Faker/Provider/zh_TW/Address.php:384:    public static function localLongitude()
src/Faker/Provider/zh_TW/Address.php:402:    public static function stateAbbr()
src/Faker/Provider/zh_TW/Address.php:407:    public static function cityPrefix()
src/Faker/Provider/zh_TW/Address.php:412:    public static function citySuffix()
src/Faker/Provider/zh_TW/Address.php:417:    public static function secondaryAddress()
src/Faker/Provider/zh_TW/Company.php:219:    public static function companyEnSuffix()
src/Faker/Provider/zh_TW/Company.php:231:    public static function companyModifier()
src/Faker/Provider/zh_TW/Company.php:236:    public static function companyPrefix()
src/Faker/Provider/zh_TW/DateTime.php:7:    public static function amPm($max = 'now')
src/Faker/Provider/zh_TW/DateTime.php:12:    public static function dayOfWeek($max = 'now')
src/Faker/Provider/zh_TW/DateTime.php:28:    public static function monthName($max = 'now')
src/Faker/Provider/zh_TW/Person.php:142:    public static function randomName($pool, $n)
src/Faker/Provider/zh_TW/Person.php:153:    public static function firstNameMale()
src/Faker/Provider/zh_TW/Person.php:158:    public static function firstNameFemale()
src/Faker/Provider/zh_TW/Person.php:163:    public static function suffix()

As far as I can see, all of these methods need to become instance methods.

@localheinz localheinz added this to the 2.0.0 milestone Sep 4, 2023
@localheinz localheinz added the enhancement New feature or request label Sep 5, 2023
@pimjansen
Copy link

All other providers will be dropped. I think we only need to rebuild fakerphp/faker as being the current en_us locale which overall is default.

From there we can also publish an english package for the remaining and so on

@pimjansen pimjansen added this to To do in Version 2.0 via automation Sep 12, 2023
@stale
Copy link

stale bot commented Oct 15, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 1 week if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request pinned
Projects
Version 2.0
  
To do
Development

No branches or pull requests

2 participants