======================= Rule ``ordered_traits`` ======================= Trait ``use`` statements must be sorted alphabetically. Warning ------- Using this rule is risky ~~~~~~~~~~~~~~~~~~~~~~~~ Risky when depending on order of the imports. Configuration ------------- ``case_sensitive`` ~~~~~~~~~~~~~~~~~~ Whether the sorting should be case sensitive. Allowed types: ``bool`` Default value: ``false`` Examples -------- Example #1 ~~~~~~~~~~ *Default* configuration. .. code-block:: diff --- Original +++ New true]``. .. code-block:: diff --- Original +++ New `_ - `@Symfony:risky <./../../ruleSets/SymfonyRisky.rst>`_