Jira issue originally created by user gnat:
When using the yaml mapping driver, it is possible (and in fact used by the yaml exporter) to have type: integer(X). doctrine never complains, however it always creates mysql int(11) fields regardless of the X. It should either cause an error at some point (like it does in the annotation driver according to romanb) or observe the X when creating the integer size.
Comment created by shurakai:
I think we should throw an error in that case and change the yaml exporter to observe this rule.
Roman, would that be okay? If so, I'll try to fix it before the next beta.
Comment created by romanb:
Yes, I guess that would be fine.
Comment created by @beberlei:
Issue was closed with resolution "Fixed"
Imported 1 attachments from Jira into https://gist.github.com/35c1dbf8b6ae1f4c9a06