Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove space in class_alias #313

Merged
merged 2 commits into from
Jan 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## Unreleased


## 3.4.2 (2020-01-29)
- Remove space from classname used with `class_alias` (#313)

## 3.4.1 (2020-01-24)
- Fix issue due to usage of `class_alias` to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb)

Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/SubRequestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class_alias(RequestEvent::class, 'Sentry\SentryBundle\EventListener\UserContextR
}
} else {
if (! class_exists('Sentry\SentryBundle\EventListener\UserContextRequestEvent')) {
class_alias(GetResponseEvent::class, 'Sentry\SentryBundle\EventListener\UserCon textRequestEvent');
class_alias(GetResponseEvent::class, 'Sentry\SentryBundle\EventListener\UserContextRequestEvent');
}
}

Expand Down