upd composer.json and run composer update
remove deprecated flash message, use flashBag instead
remove deprecated getEntityManager, use getManager instead
remove deprecated validator MaxLength, use length instead