Skip to content

Commit afb01cc

Browse files
authored
Remove space in class_alias (#313)
* Remove space in class_alias * Update CHANGELOG.md
1 parent 76faef8 commit afb01cc

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Diff for: CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
## Unreleased
88

99

10+
## 3.4.2 (2020-01-29)
11+
- Remove space from classname used with `class_alias` (#313)
12+
1013
## 3.4.1 (2020-01-24)
1114
- Fix issue due to usage of `class_alias` to fix deprecations, which could break BC layers of third party packages (#309, thanks to @scheb)
1215

Diff for: src/EventListener/SubRequestListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class_alias(RequestEvent::class, 'Sentry\SentryBundle\EventListener\UserContextR
1414
}
1515
} else {
1616
if (! class_exists('Sentry\SentryBundle\EventListener\UserContextRequestEvent')) {
17-
class_alias(GetResponseEvent::class, 'Sentry\SentryBundle\EventListener\UserCon textRequestEvent');
17+
class_alias(GetResponseEvent::class, 'Sentry\SentryBundle\EventListener\UserContextRequestEvent');
1818
}
1919
}
2020

0 commit comments

Comments
 (0)