1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-20 15:29:48 +01:00

678 Commits

Author SHA1 Message Date
Stefano Sala
183d0bad97 Readme corrections for File provider 2014-04-14 08:25:00 +02:00
Stefano Sala
e976037f20 Check if source and target directories exist and using Uuid provider 2014-04-14 08:25:00 +02:00
Stefano Sala
b581de5dd1 Updated readme for fileCopy 2014-04-14 08:25:00 +02:00
Stefano Sala
4a919df3d2 Added fileCopy to File provider to simulate file upload 2014-04-14 08:24:59 +02:00
Francois Zaninotto
ef047cc3ea Fix test failing due to bad luck
Sometimes shit happens... The Romanian national identity card number
generator generated a non-exisiting date (02/29/98). Fixing the seed
solves the problem.
2014-04-13 22:31:02 +02:00
Francois Zaninotto
675fe90cce Merge pull request #273 from terite/psr2
Sniff PSR-2 as part of travis + fixes + PR 210
2014-04-13 22:04:49 +02:00
Francois Zaninotto
bfa502d889 Reorder documentation
* Move more common formatters first
* make it obvious that `realTest` outputs real text
* reduce the image formatters doc (the readme doesn't replace the phpDoc)
2014-04-13 21:38:56 +02:00
David Stensland
f4fc697af8 Allow more recent versions of PHPUnit 2014-04-07 01:27:54 -04:00
David Stensland
041cecffd6 psr-2 fixes 2014-04-07 01:27:54 -04:00
David Stensland
0b7de5c0e6 Add php_codesniffer and run before tests. run vendor PHPUnit, too 2014-04-07 01:27:54 -04:00
Lucas
73f0145585 Add PHPUnit 4.0.* to require-dev 2014-04-07 01:27:54 -04:00
Francois Zaninotto
a277bf23f9 Merge pull request #291 from cinan/patch-1
Fixing Internet provider for sk_SK locale
2014-04-04 10:07:01 +02:00
cinan
f43733a6ec Missing another letters containing diacritics
Letter 'ä' and 'Ä' were missing
2014-04-03 13:38:45 +02:00
cinan
c7efb35582 FIX: invalid email domain 2014-04-03 13:10:02 +02:00
cinan
123b248470 Missing some letters containing diacritics
Letter 'ľ' and 'Ľ' were missing
2014-04-03 13:07:31 +02:00
Francois Zaninotto
f607027269 Fix unit test due to fixed date 2014-04-01 22:16:52 +02:00
Francois Zaninotto
2fc67a37bd Merge pull request #290 from bjorntheart/bugfix/typo-in-tld
fix typo in en_ZA Internet provider
2014-04-01 17:09:42 +02:00
Bjorn Theart
40d8116e26 fix typo in en_ZA Internet provider 2014-04-01 11:07:36 +02:00
Francois Zaninotto
991e39d280 Merge pull request #289 from stof/patch-1
Fixed phpdoc for DateTime magic methods
2014-03-26 18:22:53 +01:00
Christophe Coevoet
08095b1a61 Fixed phpdoc for DateTime magic methods 2014-03-25 16:14:31 +01:00
Francois Zaninotto
392e191eba Merge pull request #286 from fzaninotto/seed_datetime_readme
add doc about seeding with maximum timestamp using dateTime formatters
2014-03-21 18:25:56 +01:00
Francois Zaninotto
3da8c930ed Fix code highlighting 2014-03-21 18:25:22 +01:00
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