Home Documentation Download Pricing Buy Now

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

0 votes

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.

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

1 Answer

0 votes

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

answered Dec 20, 2016 by ludek.vodicka Skipper developer (140,530 points)

No problem, the file is sent.

...