Conditions | 1 |
Paths | 1 |
Total Lines | 30 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
23 | private function mergeConfig($config = []) : array |
||
24 | { |
||
25 | return array_merge([ |
||
26 | 'api_key' => null, |
||
27 | 'notifier' => [ |
||
28 | 'name' => 'Honeybadger PHP', |
||
29 | 'url' => 'https://github.com/honeybadger-io/honeybadger-php', |
||
30 | 'version' => Honeybadger::VERSION, |
||
31 | ], |
||
32 | 'environment' => [ |
||
33 | 'filter' => [], |
||
34 | 'include' => [], |
||
35 | ], |
||
36 | 'request' => [ |
||
37 | 'filter' => [], |
||
38 | ], |
||
39 | 'version' => '', |
||
40 | 'hostname' => gethostname(), |
||
41 | 'project_root' => '', |
||
42 | 'environment_name' => 'production', |
||
43 | 'handlers' => [ |
||
44 | 'exception' => true, |
||
45 | 'error' => true, |
||
46 | ], |
||
47 | 'client' => [ |
||
48 | 'timeout' => 0, |
||
49 | 'proxy' => [], |
||
50 | ], |
||
51 | 'excluded_exceptions' => [], |
||
52 | ], $config); |
||
53 | } |
||
67 |