File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Sentry \SentryBundle \DependencyInjection ;
4
4
5
- use Raven_Compat ;
6
5
use Sentry \SentryBundle \EventListener \ExceptionListener ;
7
6
use Sentry \SentryBundle \EventListener \SentryExceptionListenerInterface ;
8
7
use Sentry \SentryBundle \SentrySymfonyClient ;
@@ -58,7 +57,7 @@ public function getConfigTreeBuilder()
58
57
->scalarNode ('public_key ' )->defaultNull ()->end ()
59
58
->scalarNode ('project ' )->defaultValue (1 )->end ()
60
59
->booleanNode ('auto_log_stacks ' )->defaultFalse ()->end ()
61
- ->scalarNode ('name ' )->defaultValue (Raven_Compat:: gethostname () )->end ()
60
+ ->scalarNode ('name ' )->defaultNull ( )->end ()
62
61
->scalarNode ('site ' )->defaultNull ()->end ()
63
62
->arrayNode ('tags ' )
64
63
->prototype ('scalar ' )->end ()
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function test_that_configuration_uses_the_right_default_values()
45
45
$ this ->assertNull ($ options ['public_key ' ]);
46
46
$ this ->assertSame (1 , $ options ['project ' ]);
47
47
$ this ->assertFalse ($ options ['auto_log_stacks ' ]);
48
- $ this ->assertSame (\Raven_Compat:: gethostname (), $ options ['name ' ]);
48
+ $ this ->assertNull ( $ options ['name ' ]);
49
49
$ this ->assertNull ($ options ['site ' ]);
50
50
$ this ->assertSame ([], $ options ['tags ' ]);
51
51
$ this ->assertNull ($ options ['release ' ]);
You can’t perform that action at this time.
0 commit comments