djoos / Symfony-coding-standard

Development repository for the Symfony coding standard
MIT License
402 stars 102 forks source link

annotation bug #88

Closed wickedOne closed 7 years ago

wickedOne commented 7 years ago

fixes a bug where a single annotation spans multiple lines.

    /**
     * @ORM\JoinTable(
     *     joinColumns={@ORM\JoinColumn(name="// ...,
     *     inverseJoinColumns={@ORM\JoinColumn(name="// ...
     * )
     *
     * @SER\Groups("// ...

or with annotations which are not aliased

    /**
     * @UniqueEntity(fields="email", message="user.email.duplicate")
     * @UniqueEntity(fields="username", message="user.username.duplicate")
     * // ...

should no longer trigger an error

djoos commented 7 years ago

Thanks @wickedOne!