File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,9 @@ public function getConfigTreeBuilder()
89
89
->integerNode ('max_breadcrumbs ' )
90
90
->min (1 )
91
91
->end ()
92
+ ->integerNode ('max_value_length ' )
93
+ ->min (1 )
94
+ ->end ()
92
95
->arrayNode ('prefixes ' )
93
96
->defaultValue ($ defaultValues ->getPrefixes ())
94
97
->prototype ('scalar ' )->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 = 21 ;
14
+ public const SUPPORTED_SENTRY_OPTIONS_COUNT = 22 ;
15
15
16
16
public function testDataProviderIsMappingTheRightNumberOfOptions (): void
17
17
{
@@ -98,6 +98,7 @@ public function optionValuesProvider(): array
98
98
['excluded_exceptions ' , [\Throwable::class]],
99
99
['logger ' , 'some-logger ' ],
100
100
['max_breadcrumbs ' , 15 ],
101
+ ['max_value_length ' , 1000 ],
101
102
['prefixes ' , ['some-string ' ]],
102
103
['project_root ' , '/some/dir ' ],
103
104
['release ' , 'abc0123 ' ],
@@ -149,6 +150,8 @@ public function invalidValuesProvider(): array
149
150
['logger ' , []],
150
151
['max_breadcrumbs ' , -1 ],
151
152
['max_breadcrumbs ' , 'string ' ],
153
+ ['max_value_length ' , -1 ],
154
+ ['max_value_length ' , []],
152
155
['prefixes ' , 'string ' ],
153
156
['project_root ' , []],
154
157
['release ' , []],
You can’t perform that action at this time.
0 commit comments