1
0
mirror of https://github.com/fzaninotto/Faker.git synced 2025-03-20 23:39:51 +01:00

121 Commits

Author SHA1 Message Date
Francois Zaninotto
af23eb1ee7 move license to a standalone file 2011-10-25 22:54:09 +02:00
Francois Zaninotto
c852326dbd fix the autoloader 2011-10-25 22:49:57 +02:00
yohang
ccbf8553ac Added reference to the PSR-0 standard and the SplClassLoader RFC 2011-10-25 18:38:55 +02:00
yohang
65cad9868b Reverted require statements in standalone scripts 2011-10-25 16:57:44 +02:00
yohang
62c90723a8 Updated readme 2011-10-25 16:21:20 +02:00
yohang
8c1a26909c Updated readme 2011-10-25 16:20:27 +02:00
yohang
75e8ad03d5 Added small autoloader 2011-10-25 16:14:30 +02:00
yohang
add655eca7 Removed require statements 2011-10-25 16:12:09 +02:00
Francois Zaninotto
4319b37d54 Merge pull request #11 from willdurand/fix-notice-error
Fixed notice error if no entities
2011-10-25 03:08:31 -07:00
William DURAND
99fbd520ff Fixed notice error if no entities 2011-10-25 12:05:38 +02:00
Francois Zaninotto
47d7aa2894 Merge pull request #12 from willdurand/fix-no-connection-available
Throws an exception if no class found to get a connection
2011-10-25 02:51:41 -07:00
William DURAND
158bf98bec Throws an exception if no class found to get a connection 2011-10-25 10:55:13 +02:00
Francois Zaninotto
2729d3a0a1 disable instance pool to same memory on big inserts via Propel ORM 2011-10-24 13:02:23 +02:00
Francois Zaninotto
900e81aed6 fix division by zero in Propel ColumnTypeGuesser 2011-10-24 12:02:03 +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
c17355ea2e Add Propel ColumTypeGuesser 2011-10-23 22:17:18 +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
3f4f69afba Merge branch 'master' of github.com:fzaninotto/Faker 2011-10-21 21:43:39 +02:00
Francois Zaninotto
5750941580 syntax tweak in preg_replace_callback() 2011-10-19 14:00:58 +02:00
Francois Zaninotto
92048ce554 Document DateTime, add dateTimeAD() format for older dates 2011-10-19 14:00:28 +02:00
Francois Zaninotto
abf51cc63a rename name provider to person provider.
Closes #10.
2011-10-18 14:39:40 +02:00
Francois Zaninotto
1f4006ad5e Fix tabulations from previous commit 2011-10-17 23:25:14 +02:00
Francois Zaninotto
0ae2b06198 Merge pull request #9 from applestump/en_GB
en_GB localization
2011-10-17 14:22:53 -07:00
Matt Lody
7a1685ed77 Removed unnecessary files 2011-10-17 21:46:26 +01:00
Matt Lody
4c07fa0bb2 Added .co.uk domains to Internet provider 2011-10-17 21:35:45 +01:00
Matt Lody
3f500ff499 Changed address formatting to match en_GB locale 2011-10-17 21:25:00 +01:00
Matt Lody
853896dc7f Added ability for letter names in flats, such as 324a 2011-10-17 21:15:50 +01:00
Matt Lody
dc9e7ae8e6 Made building numbers more reasonable 2011-10-17 21:14:30 +01:00
Matt Lody
b2f2b931ae Fixed bug to make postcodes uppercase 2011-10-17 21:12:34 +01:00
Matt Lody
24533417c3 Added en_GB PhoneNumber provider 2011-10-17 20:57:51 +01:00
Matt Lody
52897b8b52 Added UK postcode formats - as per wikipedia definition 2011-10-17 20:44:33 +01:00
Matt Lody
5473a8f5af Removed references to states from Address class 2011-10-17 20:39:43 +01:00
Matt Lody
d934904056 Added UK counties 2011-10-17 20:38:07 +01:00
Matt Lody
cf73d81a87 Updated street suffixes 2011-10-17 20:25:20 +01:00
Matt Lody
4baf28adf7 Changed postcode() function to use bothify() instead of numerify() so that GB-style postcodes containing letters can be used 2011-10-17 20:19:41 +01:00
Matt Lody
edfc5302d8 Added initial en_GB files from en_US 2011-10-17 20:16:58 +01:00
Francois Zaninotto
47112d2edc we need help for localization 2011-10-17 14:47:11 +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
cade1ade9f Documentor now has better output for non-strings 2011-10-17 14:18:14 +02:00
Francois Zaninotto
6ab7ca0853 Document Miscellaneous provider 2011-10-17 14:17:33 +02:00
Francois Zaninotto
c9efa35efa Add miscellaneous provider (boolean, md5, sha1,...) 2011-10-17 14:16:35 +02:00
Francois Zaninotto
9a2c7246b7 Make documentation more explicit about DateTime outputs in DateTime formatter 2011-10-16 23:10:45 +02:00
Francois Zaninotto
06f934bd0a Update example to the latest text() capabilities 2011-10-16 23:06:54 +02:00
Francois Zaninotto
459123a8f3 Change lorem() formatter to text().
In most cases, the user needs to fill a field with a maximum number of characters and doesn t know how many paragraphs that represents
2011-10-16 23:06:21 +02:00
Francois Zaninotto
b8ea09347b Reorder documentation in the class order, which makes more sense 2011-10-16 23:05:01 +02:00