DoctrineAnnotation.rst 968 B

12345678910111213141516171819
  1. ================================
  2. Rule set ``@DoctrineAnnotation``
  3. ================================
  4. Rules covering Doctrine annotations with configuration based on examples found in `Doctrine Annotation documentation <https://www.doctrine-project.org/projects/doctrine-annotations/en/latest/annotations.html>`_ and `Symfony documentation <https://symfony.com/doc/master/bundles/SensioFrameworkExtraBundle/annotations/routing.html>`_.
  5. Rules
  6. -----
  7. - `doctrine_annotation_array_assignment <./../rules/doctrine_annotation/doctrine_annotation_array_assignment.rst>`_ with config:
  8. ``['operator' => ':']``
  9. - `doctrine_annotation_braces <./../rules/doctrine_annotation/doctrine_annotation_braces.rst>`_
  10. - `doctrine_annotation_indentation <./../rules/doctrine_annotation/doctrine_annotation_indentation.rst>`_
  11. - `doctrine_annotation_spaces <./../rules/doctrine_annotation/doctrine_annotation_spaces.rst>`_ with config:
  12. ``['before_array_assignments_colon' => false]``