Skip to content

Commit fafead6

Browse files
authored
Fix typo (#409)
1 parent 4b76e69 commit fafead6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ When writing code for Faker, you should know about these conventions / best prac
2020

2121
* Never use `rand()` in your provider. Faker utilizes the Mersenne Twister Randomizer, so use `mt_rand()` or any of the base generators (`randomNumber`, `randomElement`, etc.) instead.
2222
* If you add a new provider which embeds a lot of data (e.g. first names in a new language), please add a `@see` PHPDoc to the reference you used for this list (example [in the `en_US` locale](https://github.com/FakerPHP/Faker/blob/main/src/Faker/Provider/en_US/Text.php#L35)). This will ease future updates of the list and debates about the most relevant data for this provider.
23-
* If you add long list of random data, please split the list into several lines. This makes diffs easier to read, and facilitates core review.
23+
* If you add long list of random data, please split the list into several lines. This makes diffs easier to read, and facilitates code review.
2424
* If you add a new formatter, please document it in [the documentation](https://github.com/FakerPHP/fakerphp.github.io). Please add a line about the new formatter in the `@property` or `@method` PHPDoc entries in [Generator.php](https://github.com/FakerPHP/Faker/blob/main/src/Faker/Generator.php#L6-L118) to help IDEs with autocompletion.
2525
* If your new formatter is specific to a certain locale, document them in the respective [locale documentation](https://github.com/FakerPHP/fakerphp.github.io/tree/main/docs/locales).
2626
* Avoid changing existing sets of data. Some developers use Faker for seeding unit tests, changing the data makes their tests fail.

0 commit comments

Comments
 (0)