iOS has a similar issue with generating stack traces in the notifier, but there we ensure they are not marked as inProject rather than removing them. PHP may be different, but is just marking them as inProject = false viable? The issue is if there actually ever is an issue in the library nobody would know.