Robert Reinhard
5a53cc02f4
Adding coding standards changes
2013-08-23 14:38:17 -07:00
Robert Reinhard
059ff45e36
Adding a chainable property that will randomly return NULL
2013-08-23 11:46:31 -07:00
Pascal Borreli
cf4a23db11
Fixed typos
2013-07-04 23:57:11 +01:00
Francois Zaninotto
b27d96a4e9
Fix coding standards (using php-cs-fixer)
2013-07-01 14:54:02 +02:00
Francois Zaninotto
5d660b794d
Merge pull request #143 from lsv/colors
...
Color provider
2013-07-01 05:49:36 -07:00
aRn0D
c23e499e83
Returns a random element from a passed indexed and associative array
2013-06-18 21:41:01 +02:00
lsv
e088a2e625
added rgbCssColor method
2013-06-17 01:35:10 +02:00
lsv
9ce3d44ea2
fixed unit test and changed arrays name to a better name
2013-06-17 01:29:06 +02:00
lsv
99024404da
Moved all color methods to a provider, and added
...
- safeHexColor
- safeColorName
- colorName
2013-06-17 01:22:10 +02:00
lsv
ec0566a352
removed a leftover variable on rgbColor
2013-06-17 00:25:48 +02:00
lsv
ecd58f0217
Added hexcolor, rgbcolor and rgbColorAsArray
...
Changed readme, with the 3 new methods
Added 3 new tests
2013-06-17 00:20:30 +02:00
Francois Zaninotto
585d999e87
Remove nl_NL unit test, which doesn't really test what the class does.
2013-06-09 19:20:07 +02:00
Francois Zaninotto
7b0f8cf831
Merge pull request #135 from Dynom/fixingnlNLPerson
...
Fixed the nl_NL Person provider.
2013-06-09 10:19:15 -07:00
Mark van der Velden
2050a80dca
Cleaning up and adding some documentation about the test procedure.
2013-05-20 20:50:11 +02:00
Mark van der Velden
ca49cc2c39
Added the common denominator test
2013-05-20 20:50:10 +02:00
Mark van der Velden
9ef7d03761
Fixing the test.
2013-05-18 17:39:10 +02:00
Mark van der Velden
fff49bb3ed
Fixed the nl_NL Person provider.
2013-05-18 17:30:43 +02:00
Mark van der Velden
2a8258728b
Removed all requires and added the autoload definition to composer.
2013-05-18 16:53:58 +02:00
Charles SANQUER
6e563b81cc
add Random Float method
2013-02-20 14:59:46 +01:00
Maik Penz
9870a9c926
Adjusted test to new seed range.
2013-02-05 21:33:15 +01:00
Maik Penz
965367c8c4
uuid provider and test
2013-02-05 17:13:54 +01:00
Francois Zaninotto
a3ae3c9a43
Fix broken unit tests by b502129bd10799c15eae4e991bdb44b6f6500d8b
...
Refs #97
2013-01-01 15:57:55 +01:00
Francois Zaninotto
3fccf09ae1
Fix warning in documentor
2013-01-01 15:51:54 +01:00
Alexandre Segura
91e87aa0e0
Company Provider for french locale now returns valid SIREN/SIRET codes which verify the Luhn algorithm.
...
Added PHPUnit constraint to assert that a string is a valid code.
2012-12-18 20:37:52 +01:00
Francois Zaninotto
7c26827802
Code cleanup
...
PAssed php-cs-fixer, fixed commas
2012-12-10 16:03:57 +01:00
toin0u
6bfc1a4e3b
Cleaned: whitespaces
2012-11-10 12:31:37 +01:00
Jordi Boggiano
9e8d2b5548
Add tests
2012-10-27 11:42:23 +02:00
Benjamin Laugueux
707cf049ad
Removed echo in UserAgentTest.
2012-09-14 17:57:58 +02:00
Benjamin Laugueux
ba39896acc
Added new UserAgent provider.
2012-09-14 17:53:16 +02:00
Geoffrey Brier
8827d8f0ef
Merge remote-tracking branch 'upstream/master'
2012-08-09 19:54:40 +02:00
Geoffrey Brier
a10417da99
Simplication of the catchPhrase formatter
2012-08-09 19:01:07 +02:00
Francois Zaninotto
f3d296e385
Update Lorem provider to remove WTF effect.
...
`Lorem::words()`, and `Lorem::sentences()` can now return an exact number of words or paragraphs thanks to a second parameter.
`Lorem::text()` now works for small number of characters by being smarter.
Closes #47 .
2012-07-10 16:43:46 +02:00
Geoffrey Brier
4d9caf2a7b
Added tests on company siret method (fr_FR)
2012-06-08 20:36:44 +02:00
Geoffrey Brier
e9a90aec0b
Improved unit tests
2012-05-31 11:06:04 +02:00
Geoffrey Brier
a3450aa96c
Fixed indentation (LoremTest)
2012-05-25 16:58:45 +02:00
Geoffrey Brier
3d5dc35491
Added tests
2012-05-25 16:44:39 +02:00
Francois Zaninotto
606ee1a981
Add test for not null digit generator
2012-04-14 21:25:47 +02:00
Francois Zaninotto
5cc1162da1
Add a way to test localized providers
2012-04-14 19:50:13 +02:00
Francois Zaninotto
73180ceac4
Fix Lorem::text() to take newlines into account.
...
Closes #28
2012-02-10 18:31:55 +01:00
Francois Zaninotto
cab6806cce
Explicit the use of the boolean() provider to vary the type of data generated
2011-10-30 13:26:51 +01:00
Francois Zaninotto
c852326dbd
fix the autoloader
2011-10-25 22:49:57 +02:00
yohang
65cad9868b
Reverted require statements in standalone scripts
2011-10-25 16:57:44 +02:00
yohang
add655eca7
Removed require statements
2011-10-25 16:12:09 +02:00
Francois Zaninotto
9287247053
Faker\Generator::addProvider()
now allows to override default formatters
2011-10-24 00:30:48 +02:00
Francois Zaninotto
1bf9752a74
make BaseProvider methods public, and therefore accessible as formatters
2011-10-24 00:19:35 +02:00
Francois Zaninotto
c584886afd
Document the new ORM feature
2011-10-23 23:03:22 +02:00
Francois Zaninotto
3ab8593d6e
Allow a Populator to specify a custom formatter for each entity columns
2011-10-23 21:40:53 +02:00
Francois Zaninotto
ec5d905c48
Refactor Propel ORM populator
2011-10-23 21:40:53 +02:00
Francois Zaninotto
844c782436
Simplify ORM populator
2011-10-23 21:40:53 +02:00
Francois Zaninotto
3e6def385c
testing ORM Faker
2011-10-23 21:40:53 +02:00