Back to Php Cs Fixer

Rule set ``@DoctrineAnnotation``

doc/ruleSets/DoctrineAnnotation.rst

3.95.1970 B
Original Source

================================ Rule set @DoctrineAnnotation

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>_.

Rules

  • doctrine_annotation_array_assignment <./../rules/doctrine_annotation/doctrine_annotation_array_assignment.rst>_ with config:

    ['operator' => ':']

  • doctrine_annotation_braces <./../rules/doctrine_annotation/doctrine_annotation_braces.rst>_

  • doctrine_annotation_indentation <./../rules/doctrine_annotation/doctrine_annotation_indentation.rst>_

  • doctrine_annotation_spaces <./../rules/doctrine_annotation/doctrine_annotation_spaces.rst>_ with config:

    ['before_array_assignments_colon' => false]