Skip to content

Commit

Permalink
Map http_proxy from config to options
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean85 committed Feb 25, 2019
1 parent 4cee5ec commit 9422e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/SentryExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ private function passConfigurationToOptions(ContainerBuilder $container, array $
'enable_compression',
'environment',
'excluded_exceptions',
'http_proxy',
'logger',
'max_breadcrumbs',
'prefixes',
Expand Down
1 change: 1 addition & 0 deletions test/DependencyInjection/SentryExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ public function optionsValueProvider(): array
['error_types', E_ALL & ~E_NOTICE],
['in_app_exclude', ['/some/path'], 'getInAppExcludedPaths'],
['excluded_exceptions', [\Throwable::class]],
['http_proxy', '1.2.3.4'],
['logger', 'sentry-logger'],
['max_breadcrumbs', 15],
['prefixes', ['/some/path/prefix/']],
Expand Down

0 comments on commit 9422e53

Please sign in to comment.