# Traits

Each applied trait should go on its own line, and the use keyword should be used for each of them.

This will result in clean diffs when traits are added or removed.

// Bad
class MyClass
{
    use TraitA, TraitB;
}

// Good
class MyClass
{
    use TraitA;
    use TraitB;
}

# Naming

Avoid using Trait suffix, if class has use statement this makes is obvious that file is a trait. Instead, use short, meaningful name to describe what that trait does.

Bad: UuidTrait or FileUploadTrait Good: GeneratesUuid or HandlesFileUploads