composer 兼容性修改