Open TomasDePomas opened 4 months ago
You have a proposal for something else? Thing is that is always opiniated in some sort.
You could always define your own provider foe this
You have a proposal for something else? Thing is that is always opiniated in some sort.
You could always define your own provider foe this
I completely agree with @TomasDePomas, it's not okay - I'm not sure if the text comes from another library but if not, I would suggest something like:
realText($maxNbChars = 200, $indexSize = 2, $textType = 'formal')
Being able to have a formal (or non-cursing...) text by default and being able to switch it if a non-formal text is allowed.
It is indeed from a public domain book I believe. Do you have suggestions for any public domain book we can use that is available in plain text?
Summary
The source for dutch realtext includes translations for gdamn and gdamned. Since we use the library to seed a acceptance that we wish to share with customers, this is not ok for us. For now the workaround is setting the locale to Flemish.
Versions
fakerphp/faker
Self-enclosed code snippet for reproduction
Expected output
Actual output