You can install phpcs as a pear package which will list all these issues
for you if that helps


On Fri, Oct 18, 2013 at 11:47 AM, Miliooo <notifications@github.com> wrote:

> In EventListener/FlashListener.php:
>
> > +     * @throws \InvalidArgumentException
> > +     */
> > +    public function addSuccessFlash(Event $event)
> > +    {
> > +        $eventName = $event->getname();
> > +
> > +        if (!isset(self::$successMessages[$eventName])) {
> > +            throw new \InvalidArgumentException('This event does not correspond to a known flash message');
> > +        }
> > +
> > +        $this->session->getFlashBag()->add($this->key, $this->trans(self::$successMessages[$eventName]));
> > +    }
> > +
> > +    private function trans($message, array $params = array())
> > +    {
> > +       return $this->translator->trans($message, $params, 'FOSMessageBundle');
>
> Damn i'm starting to count them by hand till i fix my editor [image:
> :cry:]
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/FriendsOfSymfony/FOSMessageBundle/pull/183/files#r7052132>
> .
>