File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,8 @@ public function getConfigTreeBuilder()
71
71
->defaultValue ($ defaultValues ->getExcludedExceptions ())
72
72
->scalarPrototype ()->end ()
73
73
->end ()
74
+ ->scalarNode ('http_proxy ' )
75
+ ->end ()
74
76
// TODO -- integrations
75
77
->scalarNode ('logger ' )
76
78
->end ()
Original file line number Diff line number Diff line change 11
11
12
12
class ConfigurationTest extends TestCase
13
13
{
14
- public const SUPPORTED_SENTRY_OPTIONS_COUNT = 18 ;
14
+ public const SUPPORTED_SENTRY_OPTIONS_COUNT = 19 ;
15
15
16
16
public function testDataProviderIsMappingTheRightNumberOfOptions (): void
17
17
{
@@ -91,6 +91,7 @@ public function optionValuesProvider(): array
91
91
['enable_compression ' , false ],
92
92
['environment ' , 'staging ' ],
93
93
['error_types ' , E_ALL ],
94
+ ['http_proxy ' , '1.2.3.4:5678 ' ],
94
95
['in_app_exclude ' , ['some/path ' ]],
95
96
['excluded_exceptions ' , [\Throwable::class]],
96
97
['logger ' , 'some-logger ' ],
@@ -132,6 +133,7 @@ public function invalidValuesProvider(): array
132
133
['enable_compression ' , 'string ' ],
133
134
['environment ' , '' ],
134
135
['error_types ' , []],
136
+ ['http_proxy ' , []],
135
137
['in_app_exclude ' , 'some/single/path ' ],
136
138
['excluded_exceptions ' , 'some-string ' ],
137
139
['logger ' , []],
You can’t perform that action at this time.
0 commit comments