carloscuesta / gitmoji

An emoji guide for your commit messages. 😜
https://gitmoji.dev
MIT License
15.63k stars 799 forks source link

🎭 for Faking things #1495

Closed JonPurvis closed 1 year ago

JonPurvis commented 1 year ago

Emoji symbol

🎭

Emoji code

:fake:

Emoji description

Adding/Modifying Fake data

Describe the use case of your emoji

For adding or modifying fake data for things like database seeing and testing, for example:

class UserFactory extends Factory
{
    public function definition()
    {
         return [
           'name' => $this->faker->name,
           'address' => $this->faker->address,
           'phone_number' => $this->faker->phoneNumber
        ]
    }
}

Whilst there's already one for Mocking, Faking is a different thing which I think warrants it's own Gitmoji! I'll let others decide though! 😄

Is this use case covered by an existing emoji?

No ❌

Does this emoji fall into the "how" or the "what" category?

Examples

🎭 Improve fake data for users

🎭 Add database seeder for countries

🎭 Update faker locale

Validations

JonPurvis commented 1 year ago

Okay, somehow I totally missed the 🌱 gitmoji 🤦 😆