@@ -698,24 +698,6 @@ public function setDefaultIntegrations(bool $enable): self
698698 return $ this ->updateOptions (['default_integrations ' => $ enable ]);
699699 }
700700
701- /**
702- * Gets the max length for values in the event payload.
703- */
704- public function getMaxValueLength (): int
705- {
706- return $ this ->options ['max_value_length ' ];
707- }
708-
709- /**
710- * Sets the max length for specific values in the event payload.
711- *
712- * @param int $maxValueLength The number of characters after which the values containing text will be truncated
713- */
714- public function setMaxValueLength (int $ maxValueLength ): self
715- {
716- return $ this ->updateOptions (['max_value_length ' => $ maxValueLength ]);
717- }
718-
719701 /**
720702 * Gets the http proxy setting.
721703 */
@@ -956,7 +938,6 @@ private function configureOptions(OptionsResolver $resolver): void
956938 $ resolver ->setAllowedTypes ('integrations ' , ['Sentry \\Integration \\IntegrationInterface[] ' , 'callable ' ]);
957939 $ resolver ->setAllowedTypes ('send_default_pii ' , 'bool ' );
958940 $ resolver ->setAllowedTypes ('default_integrations ' , 'bool ' );
959- $ resolver ->setAllowedTypes ('max_value_length ' , 'int ' );
960941 $ resolver ->setAllowedTypes ('transport ' , ['null ' , TransportInterface::class]);
961942 $ resolver ->setAllowedTypes ('http_client ' , ['null ' , HttpClientInterface::class]);
962943 $ resolver ->setAllowedTypes ('http_proxy ' , ['null ' , 'string ' ]);
@@ -1035,7 +1016,6 @@ private function configureOptions(OptionsResolver $resolver): void
10351016 'in_app_exclude ' => [],
10361017 'in_app_include ' => [],
10371018 'send_default_pii ' => false ,
1038- 'max_value_length ' => 1024 ,
10391019 'transport ' => null ,
10401020 'http_client ' => null ,
10411021 'http_proxy ' => null ,
0 commit comments