sync with zendframework/zf2