Doctrine\ORM\Config::getAliasNamespaces doesn't exists

Replace Doctrine\ORM\Config::getAliasNamespaces by Doctrine\ORM\Config::getEntityNamespaces

probably search replace