Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Text Provider ensure text starts with an uppercase letter #527

Closed
Antonimo opened this issue Feb 28, 2015 · 4 comments
Closed

Text Provider ensure text starts with an uppercase letter #527

Antonimo opened this issue Feb 28, 2015 · 4 comments

Comments

@Antonimo
Copy link

Many Languages don't have capital/uppercase letters (like hebrew).
Also I think people that use Faker to fill random data don't really care about that.
I suggest make it optional, so we could do something like this:

class HebrewTextProvider extends \Faker\Provider\Text
{
    protected $ensureTextStartsWithUppercase = false;
@fzaninotto
Copy link
Owner

Great idea. Would you like to work on a PR for that?

@Antonimo
Copy link
Author

Antonimo commented Mar 2, 2015

just add an if!

@Antonimo
Copy link
Author

Antonimo commented Mar 2, 2015

#528

fzaninotto added a commit that referenced this issue Feb 23, 2016
Text Provider ensure text starts with an uppercase letter #527
@fzaninotto
Copy link
Owner

Fixed by #778

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants