[Fixed] Skipper crashing when missing ")" in annotation (Symfony & Doctrine, on Mac OS Sierra)

0 votes
asked Dec 20, 2016 in Solved by tommy (160 points)
recategorized Mar 17, 2017 by ludek.vodicka

I had this annotation in a file:

/**
     * @Assert\File(
     *     maxSize = "5M",
     *     mimeTypes = {"image/jpeg", "image/gif", "image/png", "image/tiff"},
     *     maxSizeMessage = "The maxmimum allowed file size is 5MB.",
     *     mimeTypesMessage = "Only the filetypes image are allowed."
     * 
     */

The end ")" was missing, and when exporting the skipper project, it crashed.

1 Answer

0 votes
answered Dec 20, 2016 by ludek.vodicka Skipper developer (140,450 points)

Thanks for info. Would be possible to send me a whole file? ([email protected]) ?

It's probably caused by missing ")" together with some following content.

Thank you

commented Jan 18, 2017 by tommy (160 points)

No problem, the file is sent.

...