Open
Description
make:entity
command fails with exception:
Message: "Syntax error, unexpected T_USE, expecting ';' on line 6" ["exception" => PhpParser\Error^ { …}
In case if related entity has a grouped use statements like:
use Doctrine\Common\Collections\{ArrayCollection, Collection};
While adding same ManyToOne
field works perfectly if I split that grouping in the target entity file.
Symfony 4.4.41. Maker bundle 1.39.0