Migrate to symfony 4 from symfony 3.4
You can follow the tuto made by Symfony, right here: https://symfony.com/doc/current/setup/upgrade_major.html (you already done that)
And then to update you project structure: https://symfony.com/doc/current/setup/flex.html#upgrade-to-flex