Usage of goto is often seen as a typical code smell.
AFAICS there is currently no sniff to detect usage of goto and discourage/forbid it.
Is there any interest for a Generic.PHP.DiscourageGoto sniff to detect this ? I'd be happy to create a PR for this.