[composer] lower php version required. do not use is_a newer features.