According to current version of the Sentry PHP documentation in the Filtering chapter is suggested to use before_send callback and catch unwanted exceptions by yourselves. There is a much easier way get around that.
Why we just can't add an option called excluded_exceptions that will filled with list of FQCNs (by the way this option is already implemented in the sentry-ruby repository):
Example:
sentry:
options:
excluded_exceptions:
- Symfony\Component\HttpKernel\Exception\NotFoundHttpException