Ruin problems for risk processes with dependent phase-type claims