Skip to content

Commit 7cd3cf5

Browse files
committed
Allow raven.dsn with "null" value
See: getsentry/raven-php@62701ba
1 parent 1336694 commit 7cd3cf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ public function getConfigTreeBuilder()
263263
->thenInvalid('The token and user have to be specified to use a PushoverHandler')
264264
->end()
265265
->validate()
266-
->ifTrue(function($v) { return 'raven' === $v['type'] && !isset($v['dsn']); })
266+
->ifTrue(function($v) { return 'raven' === $v['type'] && !array_key_exists('dsn', $v); })
267267
->thenInvalid('The DSN has to be specified to use a RavenHandler')
268268
->end()
269269
->end()

0 commit comments

Comments
 (0)