1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-04-21 16:01:56 +02:00

2632 Commits

Author SHA1 Message Date
Marco Vito Moscaritolo
7498146170 Improve vat ID generated for Italy to follow the official rules 2018-06-16 21:41:56 +02:00
Andrew
e8a95727ab update docs example 2018-06-15 09:01:39 -05:00
Enosh Yu
8b60d2bbb0 modified phone number format 2018-06-15 17:56:29 +09:00
Aykut Aras
76dac504db Merged conflicts at DateTimeTest.php 2018-06-15 09:34:06 +02:00
Francois Zaninotto
28e848bc07
Merge pull request #1482 from IonBazan/banks-update
update Polish bank list
2018-06-15 09:14:11 +02:00
Francois Zaninotto
7ba434d90a
Merge pull request #1465 from Saibamen/patch-1
Update Address.php
2018-06-14 23:18:20 +02:00
Andrew
2fd4670b9f add not about passthrough to readme 2018-06-14 15:50:18 -05:00
Francois Zaninotto
0db9c1e1be
Merge pull request #1470 from rossmitchell/change-doctrine-populator-callable-params
Update the parameters to check if the setter is callable
2018-06-14 16:57:14 +02:00
Francois Zaninotto
f6b417e909
Merge pull request #1507 from ntomka/patch-1
[hu_HU] Address: Fix unnecessary new line in string
2018-06-14 16:52:07 +02:00
Tamás Nagy
b70a0c8961
[hu_HU] Address: Fix unnecessary new line in string 2018-06-14 13:51:14 +02:00
Enosh Yu
06810ecf3a add phone numer format 2018-06-14 10:07:21 +09:00
Ross Mitchell
07df492980
Update the paramaters to check if the setter is callable 2018-06-13 21:32:11 +01:00
Francois Zaninotto
587b0abd60
Merge pull request #1439 from ppelgrims/fix-french-phone-numbers
Adds valid 08 number formats for fr_FR
2018-06-13 08:41:07 +02:00
ppelgrims
85d28b7f21 Test functionality seperately 2018-06-12 16:58:01 +02:00
ppelgrims
3239b04125 Add documentation 2018-06-12 16:57:43 +02:00
ppelgrims
502a5027f5 Merge remote-tracking branch 'upstream/master' 2018-06-12 16:52:28 +02:00
Francois Zaninotto
fd7cf3be61
Merge pull request #1497 from pelmered/master
Add fake-car provider link
2018-06-12 14:51:34 +02:00
Ion Bazan
e594162399 update Polish bank list 2018-06-12 14:51:10 +02:00
Francois Zaninotto
be40c81fa3
Merge pull request #1505 from ultreson/fr-ca-typo-fix
Fix typo in fr_CA Provider
2018-06-12 14:43:42 +02:00
Francois Zaninotto
63975b0e60
Merge pull request #1469 from rossmitchell/increase-max-date-in-unit-test
Push the max date far into the future so the test can pass
2018-06-12 14:42:59 +02:00
Alexi Tessier
91c7520756 fixed typo in BC - fr_CA 2018-06-08 18:50:39 -04:00
Peter Elmered
838618067d
Add pelmered/fake-car provider link 2018-05-29 11:07:59 +02:00
Andrew
acb1141a3b
create passthrough function
This allows the user to use Faker "modifier" methods with values that are not Faker providers.

For example, I would like to generate an encrypted random string, and use the following code to do so.

```php
$encryptedRandomString = encrypt(str_random(32));
```

Now I would like to make this an optional value, using the Faker modifiers, which I don't believe is current possible. With this new method, we can.

```php
$encryptedRandomString = $faker->optional()->passthrough(encrypt(str_random(32)));
```
2018-05-24 10:46:56 -05:00
Ross Mitchell
be8a0597cd
Push the max date far into the future so the test can pass 2018-04-18 21:46:48 +01:00
Adam Stachowicz
eddc8b7072
Update Address.php
Correct names. Cities cannot have commas
2018-04-14 18:23:27 +02:00
Aykut Aras
96126679ff Turkish identity number to person entity added. A new TCNo calculator added 2018-04-09 14:24:55 +03:00
Pavol Tanuska
7548933180 Some female surnames slipped to the men surnames set 2018-03-28 13:17:10 +02:00
Francois Zaninotto
65fbcca414
Merge pull request #1450 from vadimonus/kz_iin_fix
Fixing rare iin with 13-digits.
2018-03-15 17:58:08 +01:00
Francois Zaninotto
68c7e19a46
Merge pull request #1449 from Dartui/fix/polish-pesel
Fix Polish PESEL faker
2018-03-15 09:27:55 +01:00
Vadim Dvorovenko
5ff864f0f9 Fixing rare iin with 13-digits.
According to documentations, when both checksum returns 10, Individual Identification Number cannot be used.
Example of such bad iin: Birth - 1989-04-02, Male, Population - 1584
2018-03-15 15:26:25 +07:00
Krzysztof Grabania
cbdce8cc5e Fix for Travis PHP5.3 2018-03-14 13:44:59 +01:00
Krzysztof Grabania
0856c99597 Add polish PESEL tests 2018-03-14 13:32:11 +01:00
Krzysztof Grabania
49ac1fe865 Fix polish PESEL faker 2018-03-14 13:30:47 +01:00
Ayan Öztürk
cd1c29d7b7
Removed more unknown postcodes 2018-03-02 17:04:15 +00:00
Ayan Öztürk
ecd9d78d95
Removed unknown postcode
This postcode is unknown according to https://www.royalmail.com/find-a-postcode
2018-03-02 15:32:22 +00:00
ppelgrims
2047bb1a12 Adds valid 08 number formats 2018-03-01 10:44:30 +01:00
Slawa
e4315a0496
Taiwan ID. The initial letter must be capitalized p->P
Every citizen has a unique ID number. A valid National Identification number consists of one letter and nine-digits. The initial letter depends on the place of one's first household registration. 
https://en.wikipedia.org/wiki/National_Identification_Card_(Republic_of_China)
2018-02-26 10:30:05 +08:00
Diego Henicka
dabe7cf7a5 List of banks in Brazil added 2018-02-15 22:00:44 -02:00
Francois Zaninotto
5dce115914
Merge pull request #1320 from Stoffo/master
Add German Email Providers
2018-02-14 14:50:47 +01:00
Francois Zaninotto
f37aba0cef
Merge pull request #1422 from aalaap/add-youtube
Add YouTube provider link
2018-02-14 12:17:26 +01:00
Aalaap Ghag
af1a14978f
Add YouTube provider link
Add link to [aalaap/faker-youtube](https://github.com/aalaap/faker-youtube).
2018-02-09 13:48:05 +05:30
stoffo
44e3712da1 Fix datasource 2018-02-08 13:19:49 +01:00
Francois Zaninotto
c8db65327b
Merge pull request #1419 from TomzxForks/fixes/1418-datetime-return-types
Update PHPDoc of the DateTime provider.
2018-02-05 16:03:34 +01:00
Tom Rochette
7d33ad9ec4 Update PHPDoc of the DateTime provider. 2018-02-02 16:14:21 -05:00
Francois Zaninotto
d6e741d47d
Merge pull request #1412 from eaglewu/patch-1
Normalize name of variable
2018-02-02 14:37:27 +01:00
Jack Miras
6f37421539 Implementation of the function that generates Brazilian area codes fixed. (#1401)
* Fixing the implementation of the function that generates Brazilian area codes

* Fixing a problem with random element picking in the function areaCode at pt_BR/PhoneNumber.php class

* Improving the areaCode() function documentation and changing the way of how the area code is generated
2018-02-02 14:36:34 +01:00
Francois Zaninotto
e8afe1ee4b
Merge pull request #1403 from kenfai/malaysia_locale
added Malaysia [ms_MY] locale
2018-02-02 14:34:19 +01:00
Eagle
3fdc38e10c
Update Company.php 2018-01-29 19:20:57 +08:00
Francois Zaninotto
ab1549f2b3
Merge pull request #1408 from michal-borek/patch-1
Fix for Spot2 ORM EntityPopulator
2018-01-25 18:02:46 +01:00
Francois Zaninotto
55c1fcb7a4
Merge pull request #1411 from samoldenburg/patch-1
Added "blockchain" to en-us company provider catchPhrase method
2018-01-25 18:00:49 +01:00