Years ago I broke T157488 / custom D557 in https://phabricator.wikimedia.org/project/manage/2552/#66318
Nobody realized so far anyway.
Found this by reading code diffs.
Should replace that brittle stuff with ->withPHIDs(array('PHID-PROJ-5xclne2kzgjcckhqfzsd')) # PHID of #events