1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-20 07:19:50 +01:00

656 Commits

Author SHA1 Message Date
Francois Zaninotto
98f400afc8 add doc about seeding with maximum timestamp using dateTime formatters 2014-03-21 18:22:03 +01:00
Francois Zaninotto
4ca3829d9d Fix coding standards (run php-cs-fixer) 2014-03-13 19:33:34 +01:00
Francois Zaninotto
3087b69d33 Fix coding standards on me_ME provider 2014-03-13 19:32:44 +01:00
Francois Zaninotto
82a4113124 Merge pull request #257 from ognjenm/master
Added ME (Montenegrian) localisation
2014-03-13 18:57:47 +01:00
Francois Zaninotto
4207ee3e51 Merge pull request #278 from nineinchnick/barcodes
add ean barcode provider
2014-03-11 16:45:40 +01:00
John Was
dd9ba3eb54 add phpdoc comments and updated readme.md 2014-03-11 16:27:17 +01:00
ognjen miletic
8999d60785 fix 2014-03-11 13:57:34 +01:00
ognjen miletic
52fb117db2 Separated male and female names 2014-03-11 13:40:36 +01:00
Francois Zaninotto
6504aec265 Merge pull request #274 from stefanosala/feature/fullpath
Added fullPath parameter to Image provider
2014-03-11 09:25:24 +01:00
Francois Zaninotto
126e846b76 Merge pull request #277 from nineinchnick/improve-pl-company
Improve pl company
2014-03-11 09:24:23 +01:00
Stefano Sala
4045951fb4 Updated docs for $fullPath Image provider parameter 2014-03-11 09:21:28 +01:00
Stefano Sala
c9dcc8a354 Added fullPath parameter to Image provider to be able to have just the filename 2014-03-11 09:19:28 +01:00
Francois Zaninotto
7f51ceeac3 Merge pull request #275 from nineinchnick/realText-pl
realText in pl_PL
2014-03-11 09:07:40 +01:00
John Was
86e8ad2c08 add ean barcode provider 2014-03-11 00:54:15 +01:00
John Was
6017a9c77a improve common company names pattern probability 2014-03-11 00:02:36 +01:00
John Was
0457ecb0cb improve polish company names 2014-03-11 00:00:19 +01:00
John Was
1e88eee0f4 added Polish text for realText generator
replace the text with one with more modern language
2014-03-10 22:49:58 +01:00
Francois Zaninotto
9933d3a056 Merge pull request #272 from csanquer/maximum_timestamp
add Maximum Timestamp option to get always same unix timestamp when using a fixed seed
2014-03-10 18:20:59 +01:00
Charles Sanquer
1a8feb646e add Maximum Timestamp option to get always same unix timestamp when using a fixed seed
fix and improve unit tests when setting endMaximumTimestamp

change static maximumEndTimestamp to an optional parameter $max in each
datetime methods

some improvements to DateTimeProvider max timestamp
2014-03-10 15:41:46 +01:00
Francois Zaninotto
d99a2df148 Merge pull request #270 from terite/remove-array-rand
Remove array_rand from use
2014-03-08 22:28:52 +01:00
David Stensland
9adde3415a Remove array_rand 2014-03-07 17:36:14 -05:00
Francois Zaninotto
5be755ad0f Merge pull request #266 from terite/randomElements
add Faker\Provider\Base::randomElements
2014-03-06 14:55:13 +01:00
David Stensland
6d2253cc56 Rewrite randomElement to use randomElements, and add test 2014-03-06 08:36:53 -05:00
David Stensland
a68fa66941 Lower randomElements defaults and add readme a note
Also tidied up the LengthException message, and made randomElements
just a tiny bit faster by moving the array lookup to after a unique
random value is chosen.
2014-03-06 07:55:25 -05:00
David Stensland
176507cc26 make randomElements ~12% faster 2014-03-05 13:36:24 -05:00
David Stensland
6d7f9f4495 optimize randomElements performance 2014-03-05 12:55:08 -05:00
David Stensland
cae91904b8 add Faker\Provider\Base::randomElements 2014-03-05 12:37:52 -05:00
Francois Zaninotto
a03cd76b1c Fix realText order limit 2014-03-05 15:56:02 +01:00
Francois Zaninotto
1800e885b5 Limit Markov chain order to 5
Higher orders produce about the same randomness.
2014-03-04 18:41:43 +01:00
Francois Zaninotto
eeb39d19eb Fix PHP 5.3 compatibility 2014-03-03 22:12:07 +01:00
Francois Zaninotto
64adc8d23a Merge pull request #264 from fzaninotto/french_realText
Add French realText provider
2014-03-03 22:08:19 +01:00
Francois Zaninotto
ad87ed4ea3 Add French realText provider
Also, fixed an utf8 bug in realText provider
2014-03-03 22:04:41 +01:00
Francois Zaninotto
ea67b69b01 Revert test file modified by mistake 2014-03-03 21:37:52 +01:00
Francois Zaninotto
6f1f649ccc Merge pull request #263 from fzaninotto/faster_realText
Refactor and speed up realText formatter bootstrap
2014-03-03 21:24:50 +01:00
Francois Zaninotto
55251a9bc2 Refactor and speed up realText formatter bootstrap
With English locale, bootstrap of realText passes from 5s to under 100ms
2014-03-03 21:21:43 +01:00
Francois Zaninotto
680b36daa4 Merge pull request #254 from TimWolla/advancedTextProvider
Add an advanced text generator based on markov chains.
2014-03-03 16:49:37 +01:00
Tim Düsterhus
4bdebac4db Fix tests for Text provider 2014-03-03 16:42:06 +01:00
Tim Düsterhus
8667c48846 Update Text provider with the latest suggestions 2014-03-03 14:29:45 +01:00
Francois Zaninotto
b4609564fd Merge pull request #262 from doenietzomoeilijk/master
Removed superfluous space
2014-03-03 12:15:53 +01:00
Max Roeleveld
6b96355973 Removed superfluous space 2014-02-28 17:22:22 +01:00
Francois Zaninotto
ec11415852 Merge pull request #260 from joshuajabbour/patch-1
Remove potentially offensive word from last name list
2014-02-28 09:26:43 +01:00
Joshua Jabbour
0a0ed16a8c Remove potentially offensive word from last name list.
Found it quite weird to have a company called "Jewess Group" in my fake data, and could see how this might be offensive to some.

I'm not sure if this is an actual real last name or not, but since the last name provider is used as the basis for other providers which might be lacking in context, maybe it should just be removed.
2014-02-27 15:57:28 -08:00
Tim Düsterhus
5582419392 Add Text provider to Factory 2014-02-27 22:02:19 +01:00
Tim Düsterhus
08069d4322 Improve documentation of the Text provider 2014-02-27 15:09:04 +01:00
ognjen miletic
ca14c7ba6b latitude and Longitude added 2014-02-26 11:23:00 +01:00
ognjen miletic
7c9a1dcdc6 - added new lines
- added missing data sources
- Fixed All Caps
2014-02-26 10:36:25 +01:00
Tim Düsterhus
84dd82ceed Fix typo in de_DE/Text locale 2014-02-25 00:23:11 +01:00
Tim Düsterhus
36c5974d98 Add de_DE locale for Text provider 2014-02-25 00:20:30 +01:00
Tim Düsterhus
8e1a337cb3 Fix several issues with markov chain Text provider 2014-02-25 00:20:12 +01:00
Francois Zaninotto
61a62d67ec Create CONTRIBUTING.md 2014-02-24 22:51:30 +01:00