Skip to content

Commit 2acb854

Browse files
committed
cleanup
1 parent 584342d commit 2acb854

2 files changed

Lines changed: 0 additions & 21 deletions

File tree

src/Options.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -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,

src/functions.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
* logger?: LoggerInterface|null,
4747
* max_breadcrumbs?: int,
4848
* max_request_body_size?: "none"|"never"|"small"|"medium"|"always",
49-
* max_value_length?: int,
5049
* org_id?: int|null,
5150
* prefixes?: array<string>,
5251
* profiles_sample_rate?: int|float|null,

0 commit comments

Comments
 (0)