https://github.com/gushphp/gush/pull/99/files#r11073069