PHP notice when triggered event has no listeners