Skip to content

Commit

Permalink
Remove space in class_alias (#313)
Browse files Browse the repository at this point in the history
* Remove space in class_alias

* Update CHANGELOG.md
  • Loading branch information
starred-gijs committed Jan 29, 2020
1 parent 76faef8 commit afb01cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit afb01cc

Please sign in to comment.