The floor opens in the second phase, which leads to a curved ramp that allows you to fly up and hit him while not taking damage from the lasers. If you're stuck in the middle, roll into a laser in ball form, your velocity will carry over and you can roll through.