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
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
Francois Zaninotto
d971e45ad7
Change directory structure to comply with PSR-0.
...
Refs #7 .
2011-10-17 14:26:36 +02:00
Francois Zaninotto
06f934bd0a
Update example to the latest text() capabilities
2011-10-16 23:06:54 +02:00
Francois Zaninotto
70fb097d6b
Modify documentor to document arguments
2011-10-16 22:32:42 +02:00
Francois Zaninotto
278660f004
Introducing Internet provider.
...
Closes #1 .
2011-10-15 21:56:49 +02:00
Francois Zaninotto
226257de22
Refactor documentation, add seeding capabilities
2011-10-15 21:11:26 +02:00
Francois Zaninotto
cd9a008559
fix formatter list formatting (!)
2011-10-15 14:18:28 +02:00
Francois Zaninotto
ef74dae5d8
Document all formatters.
...
Closes #3 .
2011-10-15 14:13:20 +02:00
Francois Zaninotto
264d755644
add a documentor class to introspect generator capabilities
2011-10-15 14:02:17 +02:00
Francois Zaninotto
9ed3a255a7
Fix unit tests after previous refactoring
2011-10-15 13:29:33 +02:00
Francois Zaninotto
0e485bb1c5
move basic randomizer methods to BaseProvider
2011-10-15 13:21:13 +02:00
Francois Zaninotto
aa6f9386d9
Improved first contact with the library
2011-10-15 01:11:42 +02:00
Francois Zaninotto
1de1d8a39f
first commit
2011-10-15 00:49:26 +02:00