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 22
33namespace Sentry \SentryBundle \DependencyInjection ;
44
5- use Raven_Compat ;
65use Sentry \SentryBundle \EventListener \ExceptionListener ;
76use Sentry \SentryBundle \EventListener \SentryExceptionListenerInterface ;
87use Sentry \SentryBundle \SentrySymfonyClient ;
@@ -58,7 +57,7 @@ public function getConfigTreeBuilder()
5857 ->scalarNode ('public_key ' )->defaultNull ()->end ()
5958 ->scalarNode ('project ' )->defaultValue (1 )->end ()
6059 ->booleanNode ('auto_log_stacks ' )->defaultFalse ()->end ()
61- ->scalarNode ('name ' )->defaultValue (Raven_Compat:: gethostname () )->end ()
60+ ->scalarNode ('name ' )->defaultNull ( )->end ()
6261 ->scalarNode ('site ' )->defaultNull ()->end ()
6362 ->arrayNode ('tags ' )
6463 ->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()
4545 $ this ->assertNull ($ options ['public_key ' ]);
4646 $ this ->assertSame (1 , $ options ['project ' ]);
4747 $ this ->assertFalse ($ options ['auto_log_stacks ' ]);
48- $ this ->assertSame (\Raven_Compat:: gethostname (), $ options ['name ' ]);
48+ $ this ->assertNull ( $ options ['name ' ]);
4949 $ this ->assertNull ($ options ['site ' ]);
5050 $ this ->assertSame ([], $ options ['tags ' ]);
5151 $ this ->assertNull ($ options ['release ' ]);
You can’t perform that action at this time.
0 commit comments