Unverified Commit bc6ea16c authored by Pedro's avatar Pedro Committed by Luís Cobucci

Fix: Doctrine custom types now accepts anything but ')'

parent f4e0c5dd
......@@ -1093,7 +1093,7 @@ abstract class AbstractSchemaManager
*/
public function extractDoctrineTypeFromComment($comment, $currentType)
{
if (preg_match("(\(DC2Type:([a-zA-Z0-9_]+)\))", $comment, $match)) {
if (preg_match("(\(DC2Type:(((?!\)).)+)\))", $comment, $match)) {
$currentType = $match[1];
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment