Skip to content

Commit

Permalink
Building numbers can not be 0, 00, 000 (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
krsriq authored Dec 4, 2020
1 parent 6c89a9f commit 2e1bc4c
Show file tree
Hide file tree
Showing 38 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion src/Faker/Provider/ar_JO/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class Address extends \Faker\Provider\Address
'وادي السير',
];

protected static $buildingNumber = ['#####', '####', '##'];
protected static $buildingNumber = ['%####', '%###', '%#'];

protected static $postcode = ['#####', '#####-####'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ar_SA/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Address extends \Faker\Provider\Address
'سكاكا', 'القريات', 'دومة الجندل', 'طبرجل'
];

protected static $buildingNumber = ['#####', '####', '##'];
protected static $buildingNumber = ['%####', '%###', '%#'];

protected static $postcode = ['#####', '#####-####'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/de_AT/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['###', '##', '#', '##[abc]', '#[abc]'];
protected static $buildingNumber = ['%##', '%#', '%', '##[abc]', '#[abc]'];

protected static $streetSuffixLong = [
'Gasse', 'Platz', 'Ring', 'Straße', 'Weg',
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/de_CH/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['###', '##', '#', '##[abc]', '#[abc]'];
protected static $buildingNumber = ['%##', '%#', '%', '##[abc]', '#[abc]'];

protected static $streetSuffixLong = [
'Gasse', 'Platz', 'Ring', 'Strasse', 'Weg', 'Allee'
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/el_CY/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Address extends \Faker\Provider\Address
protected static $streetAddressFormats = [
'{{streetName}}, {{buildingNumber}}',
];
protected static $buildingNumber = ['##', '#'];
protected static $buildingNumber = ['%#', '%'];
protected static $postcode = ['####'];
protected static $country = [
'Ανγκόλα', 'Αζερμπαϊτζάν', 'Αίγυπτος', 'Αιθιοπία', 'Αϊτή', 'Αλβανία', 'Αλγερία', 'Αργεντινή', 'Αρμενία', 'Αυστραλία', 'Αυστρία', 'Αφγανιστάν',
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/el_GR/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['###', '##', '#','###-###','##-##','#-#'];
protected static $buildingNumber = ['%##', '%#', '%','%##-###','%#-##','%-#'];
protected static $streetPrefix = [
'Όδος', 'Λεωφόρος'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_AU/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ 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'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_GB/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $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'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_NZ/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class Address extends \Faker\Provider\en_US\Address
* An array of en_NZ (New Zealand) building number formats
* @var array
*/
protected static $buildingNumber = ['#', '##', '###'];
protected static $buildingNumber = ['%', '%#', '%##'];

/**
* An array of en_NZ (New Zealand) street suffixes
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_PH/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Address extends \Faker\Provider\en_US\Address
'{{streetAddress}}, {{barangay}}, {{city}} {{postcode}} {{province}}', '{{streetAddress}}, {{municipality}} {{postcode}} {{province}}'
];

protected static $buildingNumber = ['##A', '##', '##A/##', '##/##'];
protected static $buildingNumber = ['##A', '%#', '##A/##', '%#/%#'];
protected static $postcode = ['####'];

//http://en.wikipedia.org/wiki/Provinces_of_the_Philippines
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/en_ZA/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $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',
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/es_AR/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%####', '%###', '%##', '%#', '%'];
protected static $streetSuffix = [''];
protected static $postcode = ['####', '#####'];
protected static $state = [
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/es_ES/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%##', '%#', '%'];
protected static $streetPrefix = [
'Calle', 'Avenida', 'Plaza', 'Paseo', 'Ronda', 'Travesía', 'Camino', 'Carrer', 'Avinguda', 'Plaça', 'Passeig', 'Travessera', 'Rúa', 'Praza', 'Ruela', 'Camiño'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/es_PE/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%####', '%###', '%##', '%#', '%'];
protected static $streetPrefix = ['Jr.', 'Av.', 'Cl.', 'Urb.' ];
protected static $streetSuffix = [''];
protected static $postcode = ['LIMA ##'];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/es_VE/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%##', '%#', '%'];
protected static $streetPrefix = [
'Calle', 'Avenida', 'Av.', 'Cl.', 'Carretera', 'Callejón', 'Vereda'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/fi_FI/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%###', '%##', '%#', '%'];
protected static $streetSuffix = [
'tie', 'kuja', 'polku', 'kierros', 'kulma', 'katu', 'kaarre', 'kaari', 'rinne', 'kaarto', 'haka', 'silta', 'rinne', 'töyry'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/fr_CA/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Address extends \Faker\Provider\fr_FR\Address
'{{cityPrefix}}{{firstName}}',
];

protected static $buildingNumber = ['#####', '####', '###', '##', '#'];
protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%'];

protected static $streetSuffix = [
'Autoroute', 'Avenue', 'Boulevard', 'Chemin', 'Route', 'Rue', 'Pont'
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/fr_CH/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\fr_FR\Address
{
protected static $buildingNumber = ['###', '##', '#', '#a', '#b', '#c'];
protected static $buildingNumber = ['%##', '%#', '%', '#a', '#b', '#c'];

protected static $streetPrefix = ['Rue', 'Rue', 'Chemin', 'Avenue', 'Boulevard', 'Place', 'Impasse'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/he_IL/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['#', '##', '###'];
protected static $buildingNumber = ['%', '%#', '%##'];
protected static $streetSuffix = [
'רחוב', 'שדרות', 'סמטאת',
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/hu_HU/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static function smallerCity()
return static::randomElement(static::$smallerCities);
}

protected static $buildingNumber = ['###', '##', '##', '#'];
protected static $buildingNumber = ['%##', '%#', '%#', '%'];

/**
* Coordinates inside the border of Hungary
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/hy_AM/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Address extends \Faker\Provider\Address
protected static $regionSuffix = ['մարզ'];
protected static $streetPrefix = ['փողոց'];

protected static $buildingNumber = ['##'];
protected static $buildingNumber = ['%#'];
protected static $postcode = ['00##'];
protected static $country = [
'Մոնակո','Սինգապուր','Վատիկան','Մալդիվներ',
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/it_CH/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\it_IT\Address
{
protected static $buildingNumber = ['###', '##', '#', '#a', '#b', '#c'];
protected static $buildingNumber = ['%##', '%#', '%', '#a', '#b', '#c'];

protected static $streetPrefix = ['Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/it_IT/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ 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 $buildingNumber = ['%##', '%#', '%'];
protected static $streetSuffix = [
'Piazza', 'Strada', 'Via', 'Borgo', 'Contrada', 'Rotonda', 'Incrocio'
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ka_GE/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Address extends \Faker\Provider\Address
'აღმართი', 'ხეივანი'
];

protected static $buildingNumber = ['##'];
protected static $buildingNumber = ['%#'];
protected static $postcode = ['####'];
protected static $country = [
'ავსტრალია', 'ავსტრია', 'ავღანეთი', 'აზერბაიჯანი', 'ალანდის კუნძულები', 'ალბანეთი',
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/kk_KZ/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Address extends \Faker\Provider\Address
'көшесі', 'даңғылы',
];

protected static $buildingNumber = ['###'];
protected static $buildingNumber = ['%##'];
protected static $postcode = ['0#####'];
// TODO list all country names in the world
protected static $country = [
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ko_KR/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class Address extends \Faker\Provider\Address
{
protected static $postcode = ['#####'];
protected static $buildingNumber = ['####', '###'];
protected static $buildingNumber = ['%###', '%##'];
protected static $metropolitanCity = [
'서울특별시', '부산광역시', '대구광역시', '인천광역시', '광주광역시', '대전광역시', '울산광역시',
];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/lt_LT/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Address extends \Faker\Provider\Address
'g.', 'gatvė', 'prospektas', 'alėja',
];

protected static $buildingNumber = ['##'];
protected static $buildingNumber = ['%#'];

protected static $postcode = ['LT-#####'];

Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/lv_LV/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Address extends \Faker\Provider\Address
'iela', 'bulvāris', 'skvērs', 'gāte',
];

protected static $buildingNumber = ['##'];
protected static $buildingNumber = ['%#'];
protected static $postcode = ['LV ####'];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/pl_PL/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Address extends \Faker\Provider\Address
'{{streetAddress}}, {{postcode}} {{city}}',
];

protected static $buildingNumber = ['##A', '##', '##A/##', '##/##'];
protected static $buildingNumber = ['##A', '%#', '##A/%#', '%#/%#'];
protected static $postcode = ['##-###'];
/**
* @var array full list of Polish voivodeship
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/pt_BR/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Address extends \Faker\Provider\Address
protected static $streetPrefix = [
'Av.', 'Avenida', 'R.', 'Rua', 'Travessa', 'Largo'
];
protected static $buildingNumber = ['#####', '####', '###', '##', '#'];
protected static $buildingNumber = ['%####', '%###', '%##', '%#', '%'];
protected static $postcode = ['#####-###'];
protected static $state = [
'Acre', 'Alagoas', 'Amapá', 'Amazonas', 'Bahia', 'Ceará',
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ro_MD/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['###', '##', '#', '#/#', '#A', '#B'];
protected static $buildingNumber = ['%##', '%#', '%', '%/#', '#A', '#B'];
protected static $apartmentNumber = ['#', '##'];
protected static $floor = ['#', '##'];
protected static $block = ['#', '##', 'A', 'B', 'C', 'D'];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ro_RO/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Address extends \Faker\Provider\Address
{
protected static $buildingNumber = ['###', '##', '#', '#/#', '#A', '#B'];
protected static $buildingNumber = ['%##', '%#', '%', '%/#', '#A', '#B'];
protected static $apartmentNumber = ['#', '##'];
protected static $floor = ['#', '##'];
protected static $block = ['#', '##', 'A', 'B', 'C', 'D'];
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/ru_RU/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Address extends \Faker\Provider\Address
'въезд', 'спуск', 'проезд', 'наб.',
];

protected static $buildingNumber = ['##'];
protected static $buildingNumber = ['%#'];
protected static $postcode = ['######'];

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Faker/Provider/sk_SK/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class Address extends \Faker\Provider\Address
'Žíp', 'Žipov', 'Žirany', 'Žitavany', 'Žitavce', 'Žitná-Radiša', 'Žlkovce', 'Župčany', 'Župkov'
];

protected static $buildingNumber = ['#####', '####', '###'];
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'
];
Expand Down
Loading

0 comments on commit 2e1bc4c

Please sign in to comment.